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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a6a1fa4453f1d738a6461880886fc7f27e2195d | 219 | py | Python | local_utils/segcomp_dataset_utils/__init__.py | Dudestin/bisenetv2-tensorflow | 0c9761a7d0fd6ac4bdb3abb7195d01caf22d4716 | [
"MIT"
] | 194 | 2020-05-11T06:55:10.000Z | 2022-03-31T12:39:41.000Z | local_utils/segcomp_dataset_utils/__init__.py | Dudestin/bisenetv2-tensorflow | 0c9761a7d0fd6ac4bdb3abb7195d01caf22d4716 | [
"MIT"
] | 48 | 2020-05-11T06:37:28.000Z | 2021-11-04T09:23:55.000Z | local_utils/segcomp_dataset_utils/__init__.py | Dudestin/bisenetv2-tensorflow | 0c9761a7d0fd6ac4bdb3abb7195d01caf22d4716 | [
"MIT"
] | 60 | 2020-05-11T08:30:59.000Z | 2022-02-28T06:59:27.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time : 2019/12/17 下午5:46
# @Author : MaybeShewill-CV
# @Site : https://github.com/MaybeShewill-CV/bisenetv2-tensorflow
# @File : __init__.py.py
# @IDE: PyCharm | 31.285714 | 68 | 0.639269 | 30 | 219 | 4.533333 | 0.9 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076503 | 0.164384 | 219 | 7 | 69 | 31.285714 | 0.666667 | 0.940639 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a8b0b440835ba59efc65f89312204d6f98f2f3d | 141 | py | Python | test/regression/features/lists/list_setitem.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 137 | 2015-02-13T21:03:23.000Z | 2021-11-24T03:53:55.000Z | test/regression/features/lists/list_setitem.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 4 | 2015-04-01T13:49:13.000Z | 2019-07-09T19:28:56.000Z | test/regression/features/lists/list_setitem.py | bjpop/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 8 | 2015-04-25T03:47:52.000Z | 2019-07-27T06:33:56.000Z | x = [0]
print(x)
x.__setitem__(0,1)
print(x)
x.__setitem__(0,2)
print(x)
x = [4,5,6]
x.__setitem__(1,7)
print(x)
x.__setitem__(2,8)
print(x)
| 11.75 | 18 | 0.652482 | 32 | 141 | 2.375 | 0.34375 | 0.394737 | 0.368421 | 0.552632 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.106383 | 141 | 11 | 19 | 12.818182 | 0.507937 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6a92da4e6f44c4b525f7897cf4404159126ad0ec | 122 | py | Python | mod1.py | chidanandpujar/Python_scripts | 0ee70e07ef4ab4d8c04955466ea9b305bdac0a53 | [
"Unlicense"
] | null | null | null | mod1.py | chidanandpujar/Python_scripts | 0ee70e07ef4ab4d8c04955466ea9b305bdac0a53 | [
"Unlicense"
] | null | null | null | mod1.py | chidanandpujar/Python_scripts | 0ee70e07ef4ab4d8c04955466ea9b305bdac0a53 | [
"Unlicense"
] | null | null | null | a=100
class A:
b=200
def fn(self,a=1):
print("fn in A")
def mfn():
print("Inside mfn")
print("Mod1")
| 12.2 | 24 | 0.52459 | 22 | 122 | 2.909091 | 0.636364 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0.286885 | 122 | 9 | 25 | 13.555556 | 0.643678 | 0 | 0 | 0 | 0 | 0 | 0.172131 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.375 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ae61d4db62c9cf67dcfaf1daf5c9549356d157d | 294 | py | Python | denorm/__init__.py | JaGallup/is-denorm | 33b3437d0d6deb09885b14733c005b3eacd9e8da | [
"Apache-2.0"
] | null | null | null | denorm/__init__.py | JaGallup/is-denorm | 33b3437d0d6deb09885b14733c005b3eacd9e8da | [
"Apache-2.0"
] | null | null | null | denorm/__init__.py | JaGallup/is-denorm | 33b3437d0d6deb09885b14733c005b3eacd9e8da | [
"Apache-2.0"
] | null | null | null | """
Icelandic de-normalizer Library
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-denorm is a denormalizer for Icelandic.
Basic usage:
>>> from denorm import denormalize
>>> denormalize("hvað er sjö hundruð og tuttugu deilt með fjórum")
"hvað er 720 / 4"
"""
from .denormalizer import denormalize
| 19.6 | 67 | 0.656463 | 35 | 294 | 5.514286 | 0.714286 | 0.176166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.156463 | 294 | 14 | 68 | 21 | 0.762097 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6ae8592a9f211b4e5a748de8825fb94fad111acd | 2,386 | py | Python | CPAC-CNN-GPU/cnn_torch.py | wyn430/CPAC-CNN | e60901129e7784a0aef29c8b89316b7da3e54609 | [
"MIT"
] | 2 | 2021-08-29T16:45:23.000Z | 2021-12-12T22:06:16.000Z | CPAC-CNN-GPU/cnn_torch.py | wyn430/CPAC-CNN | e60901129e7784a0aef29c8b89316b7da3e54609 | [
"MIT"
] | null | null | null | CPAC-CNN-GPU/cnn_torch.py | wyn430/CPAC-CNN | e60901129e7784a0aef29c8b89316b7da3e54609 | [
"MIT"
] | 2 | 2020-06-24T07:52:21.000Z | 2020-12-19T18:34:03.000Z | """
There are two models in this file, CPAC-CNN and CNN. The detailed model structure can be modified in this script.
"""
import torch
from torch import nn
import torch.nn.functional as F
import torch.optim as optim
from torch.autograd import Variable as V
import numpy as np
np.random.seed(48)
torch.manual_seed(48)
... | 40.440678 | 113 | 0.649204 | 385 | 2,386 | 3.8 | 0.202597 | 0.027341 | 0.024607 | 0.016405 | 0.708818 | 0.708818 | 0.708818 | 0.708818 | 0.678742 | 0.626794 | 0 | 0.038789 | 0.211232 | 2,386 | 59 | 114 | 40.440678 | 0.738576 | 0.144593 | 0 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.170732 | 0 | 0.365854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a7d7f9d45da47b459cb56f33f39fb01af030693 | 163 | py | Python | cyber_sdk/__init__.py | SaveTheAles/cyber.py | 69211d4f9e861e3c64990725a4a483d2cbee0be1 | [
"MIT"
] | null | null | null | cyber_sdk/__init__.py | SaveTheAles/cyber.py | 69211d4f9e861e3c64990725a4a483d2cbee0be1 | [
"MIT"
] | null | null | null | cyber_sdk/__init__.py | SaveTheAles/cyber.py | 69211d4f9e861e3c64990725a4a483d2cbee0be1 | [
"MIT"
] | null | null | null | """The Python SDK for Bostrom."""
# Set default logging to avoid NoHandler warnings
import logging
logging.getLogger(__name__).addHandler(logging.NullHandler())
| 23.285714 | 61 | 0.785276 | 20 | 163 | 6.2 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110429 | 163 | 6 | 62 | 27.166667 | 0.855172 | 0.466258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0a87bb5dd451d56952614c84b8e5c1a3a8007f07 | 78 | py | Python | scrawler.py | Samet-Aslan/shpockcrawler | 9cf67fce34b07b9d5b6e378550940db9d5b8fc92 | [
"MIT"
] | null | null | null | scrawler.py | Samet-Aslan/shpockcrawler | 9cf67fce34b07b9d5b6e378550940db9d5b8fc92 | [
"MIT"
] | null | null | null | scrawler.py | Samet-Aslan/shpockcrawler | 9cf67fce34b07b9d5b6e378550940db9d5b8fc92 | [
"MIT"
] | null | null | null | # Shpock Crawler
# Samet Aslan 2020
import functions
functions.startSearch()
| 13 | 23 | 0.794872 | 9 | 78 | 6.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.141026 | 78 | 5 | 24 | 15.6 | 0.865672 | 0.397436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0ab84bbc7db632acc3892ac51007052257c6a23f | 2,541 | py | Python | test/test_iindex.py | afourney/pyra | 245f9d4ce5db8810f4a2456afc64e7ba208484a1 | [
"BSD-2-Clause"
] | null | null | null | test/test_iindex.py | afourney/pyra | 245f9d4ce5db8810f4a2456afc64e7ba208484a1 | [
"BSD-2-Clause"
] | null | null | null | test/test_iindex.py | afourney/pyra | 245f9d4ce5db8810f4a2456afc64e7ba208484a1 | [
"BSD-2-Clause"
] | 1 | 2020-01-02T19:06:20.000Z | 2020-01-02T19:06:20.000Z | # Load what we actually need to run the tests
import unittest
from pyra.iindex import InvertedIndex, INF
class TestInvertedIndex(unittest.TestCase):
def setUp(self):
pass
def test_trivial_corpus(self):
corpus = "the quick brown fox jumps over the lazy dog and the brown dog runs away"
... | 59.093023 | 90 | 0.485242 | 259 | 2,541 | 4.752896 | 0.243243 | 0.341186 | 0.354996 | 0.272949 | 0.554021 | 0.447604 | 0.172218 | 0 | 0 | 0 | 0 | 0.034943 | 0.380559 | 2,541 | 42 | 91 | 60.5 | 0.747141 | 0.016922 | 0 | 0 | 0 | 0 | 0.060897 | 0 | 0 | 0 | 0 | 0 | 0.756757 | 1 | 0.054054 | false | 0.027027 | 0.054054 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ae396133813ac7d4e192e3b35a964bd9237c777 | 162 | py | Python | tests/test_webapps/filestotest/helpers_sample.py | KinSai1975/Menira.py | ca275ce244ee4804444e1827ba60010a55acc07c | [
"BSD-3-Clause"
] | 118 | 2015-01-04T06:55:14.000Z | 2022-01-14T08:32:41.000Z | tests/test_webapps/filestotest/helpers_sample.py | KinSai1975/Menira.py | ca275ce244ee4804444e1827ba60010a55acc07c | [
"BSD-3-Clause"
] | 21 | 2015-01-03T02:16:28.000Z | 2021-03-24T06:10:57.000Z | tests/test_webapps/filestotest/helpers_sample.py | KinSai1975/Menira.py | ca275ce244ee4804444e1827ba60010a55acc07c | [
"BSD-3-Clause"
] | 53 | 2015-01-04T03:21:08.000Z | 2021-08-04T20:52:01.000Z | """Helper functions
Consists of functions to typically be used within templates, but also
available to Controllers. This module is available to both as 'h'.
"""
| 27 | 69 | 0.771605 | 24 | 162 | 5.208333 | 0.833333 | 0.176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 162 | 5 | 70 | 32.4 | 0.919118 | 0.950617 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ae7458cf85b0593c5ef45b68df926d444a33d0f | 1,250 | py | Python | strongr/schedulerdomain/handler/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/schedulerdomain/handler/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/schedulerdomain/handler/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | from .schedulejobhandler import ScheduleJobHandler
from .runenqueuedjobshandler import RunEnqueuedJobsHandler
from .requestscheduledtaskshandler import RequestScheduledTasksHandler
from .requesttaskinfohandler import RequestTaskInfoHandler
from .findnodewithavailableresourceshandler import FindNodeWithAvailableResource... | 54.347826 | 88 | 0.912 | 88 | 1,250 | 12.954545 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0704 | 1,250 | 22 | 89 | 56.818182 | 0.981067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e40aaaa28810e84ad7bdf0c660f5588fb9e04510 | 346 | py | Python | dirtree/models.py | LOKESWARAN-ARULJOTHI/Git-tree-app | 4b240ff1471fa32eb4389a0d986bdfe1de3ff545 | [
"CC-BY-2.0"
] | null | null | null | dirtree/models.py | LOKESWARAN-ARULJOTHI/Git-tree-app | 4b240ff1471fa32eb4389a0d986bdfe1de3ff545 | [
"CC-BY-2.0"
] | null | null | null | dirtree/models.py | LOKESWARAN-ARULJOTHI/Git-tree-app | 4b240ff1471fa32eb4389a0d986bdfe1de3ff545 | [
"CC-BY-2.0"
] | null | null | null | from django.db import models
# Create your models here.
class Number_of_trees_generated(models.Model):
notg = models.IntegerField(default=0)
def __str__(self):
return f"{self.notg}"
class User_email(models.Model):
email = models.EmailField(blank=True,unique=True)
def __str__(self):... | 21.625 | 53 | 0.690751 | 46 | 346 | 4.934783 | 0.630435 | 0.096916 | 0.088106 | 0.140969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00365 | 0.208092 | 346 | 16 | 54 | 21.625 | 0.824818 | 0.069364 | 0 | 0.222222 | 1 | 0 | 0.034268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7c12e58dd9c5fe7a6146434c27cba454b9227b92 | 140 | py | Python | sumo_simulation/city_simulation/city_simulation/__init__.py | a-regal/tesis_pregrado | 501d3a137f305d53e8b4eaec7c4ba6f18d7b7706 | [
"MIT"
] | 1 | 2019-11-16T02:32:48.000Z | 2019-11-16T02:32:48.000Z | sumo_simulation/city_simulation/city_simulation/__init__.py | a-regal/tesis_pregrado | 501d3a137f305d53e8b4eaec7c4ba6f18d7b7706 | [
"MIT"
] | null | null | null | sumo_simulation/city_simulation/city_simulation/__init__.py | a-regal/tesis_pregrado | 501d3a137f305d53e8b4eaec7c4ba6f18d7b7706 | [
"MIT"
] | 1 | 2020-09-13T16:17:18.000Z | 2020-09-13T16:17:18.000Z | from gym.envs.registration import register
register(
id='city_simulation-v0',
entry_point='city_simulation.envs:CitySimulation',
)
| 20 | 54 | 0.771429 | 17 | 140 | 6.176471 | 0.764706 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.121429 | 140 | 6 | 55 | 23.333333 | 0.845528 | 0 | 0 | 0 | 0 | 0 | 0.378571 | 0.25 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c2aee3ee01d3e1e4185da7d3ae900b967f983f5 | 82 | py | Python | code/answer_2-1-42.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/answer_2-1-42.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/answer_2-1-42.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | N, X, T = map(int, input().split())
print(T*(N//X) if N % X == 0 else T*(N//X+1))
| 27.333333 | 45 | 0.487805 | 20 | 82 | 2 | 0.6 | 0.2 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.182927 | 82 | 2 | 46 | 41 | 0.567164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7c5f29798e914113590ce1865c50587f1da29562 | 151 | py | Python | tests/endtoend/blob_functions/get_blob_as_bytes/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/endtoend/blob_functions/get_blob_as_bytes/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/endtoend/blob_functions/get_blob_as_bytes/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | import azure.functions as azf
def main(req: azf.HttpRequest, file: bytes) -> str:
assert isinstance(file, bytes)
return file.decode('utf-8')
| 21.571429 | 51 | 0.701987 | 22 | 151 | 4.818182 | 0.818182 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.172185 | 151 | 6 | 52 | 25.166667 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.033113 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7c77ebe4cb27a5103ffc93d8845a02918eb95ac0 | 155 | py | Python | example/makepython/cpto.py | jeppeter/insertcode | 4dd8723b93463a39d1ddb32887529945122a5093 | [
"MIT"
] | null | null | null | example/makepython/cpto.py | jeppeter/insertcode | 4dd8723b93463a39d1ddb32887529945122a5093 | [
"MIT"
] | null | null | null | example/makepython/cpto.py | jeppeter/insertcode | 4dd8723b93463a39d1ddb32887529945122a5093 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
import sys
import shutil
def main():
if len(sys.argv[1:]) >= 2:
shutil.copy2(sys.argv[1],sys.argv[2])
return
main() | 14.090909 | 40 | 0.606452 | 26 | 155 | 3.615385 | 0.615385 | 0.223404 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04065 | 0.206452 | 155 | 11 | 41 | 14.090909 | 0.723577 | 0.135484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7c8cc4ff9999f945a94bada743fc0a2cc8e422e1 | 216 | py | Python | pybamm/models/full_battery_models/lead_acid/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | 1 | 2019-10-29T19:06:04.000Z | 2019-10-29T19:06:04.000Z | pybamm/models/full_battery_models/lead_acid/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/full_battery_models/lead_acid/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | null | null | null | #
# Root of the lead-acid models module.
#
from .base_lead_acid_model import BaseModel
from .loqs import LOQS
from .higher_order import BaseHigherOrderModel, FOQS, Composite, CompositeExtended
from .full import Full
| 27 | 82 | 0.814815 | 30 | 216 | 5.733333 | 0.666667 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 216 | 7 | 83 | 30.857143 | 0.914894 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ca4dd559a1f077b139b0d559d5b2ecae473d7cf | 43 | py | Python | fastscript/__init__.py | daviddemeij/fastscript | 96125fdbca57cfbdc2acbe05853d8a0a67a5ba39 | [
"Apache-2.0"
] | null | null | null | fastscript/__init__.py | daviddemeij/fastscript | 96125fdbca57cfbdc2acbe05853d8a0a67a5ba39 | [
"Apache-2.0"
] | null | null | null | fastscript/__init__.py | daviddemeij/fastscript | 96125fdbca57cfbdc2acbe05853d8a0a67a5ba39 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.1.5"
from .core import *
| 10.75 | 21 | 0.651163 | 7 | 43 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.186047 | 43 | 3 | 22 | 14.333333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7ca6419ee1ef40ab5d7ec8e6e14dbcb3301299f6 | 192 | py | Python | mouse-now.py | Guilehm/python | ce6f8b44623cc25e9b18b2dbf8e0528096f0de96 | [
"MIT"
] | null | null | null | mouse-now.py | Guilehm/python | ce6f8b44623cc25e9b18b2dbf8e0528096f0de96 | [
"MIT"
] | null | null | null | mouse-now.py | Guilehm/python | ce6f8b44623cc25e9b18b2dbf8e0528096f0de96 | [
"MIT"
] | null | null | null | import pyautogui
try:
while True:
x, y = pyautogui.position()
position_str = "X:" + str(x).rjust(4) + " Y:" + str(y).rjust(4)
print(position_str)
except:
pass
| 19.2 | 71 | 0.557292 | 26 | 192 | 4.038462 | 0.538462 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.286458 | 192 | 9 | 72 | 21.333333 | 0.751825 | 0 | 0 | 0 | 0 | 0 | 0.026042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 0.125 | 0.125 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7cb68a5ef33b883becbc095582fc0cb573cb5371 | 382 | py | Python | polymorphism/from_previous_lecture.py | Minkov/python-oop | db9651eef374c0e74c32cb6f2bf07c734cc1d051 | [
"MIT"
] | 3 | 2021-11-16T04:52:53.000Z | 2022-02-07T20:28:41.000Z | polymorphism/from_previous_lecture.py | Minkov/python-oop | db9651eef374c0e74c32cb6f2bf07c734cc1d051 | [
"MIT"
] | null | null | null | polymorphism/from_previous_lecture.py | Minkov/python-oop | db9651eef374c0e74c32cb6f2bf07c734cc1d051 | [
"MIT"
] | 1 | 2021-12-07T07:04:38.000Z | 2021-12-07T07:04:38.000Z | # Variant 1 - Best
class Parent:
_possible_drinks = ['beer', 'wine']
class Child(Parent):
_possible_drinks = ['beer', 'wine', 'vodka']
# Variant 2 - Ok
class Child2(Parent):
def __init__(self):
self._possible_drinks = super()._possible_drinks + ['vodka']
# Variant 3 - Wrong
class Child3(Parent... | 20.105263 | 68 | 0.662304 | 45 | 382 | 5.266667 | 0.466667 | 0.35443 | 0.337553 | 0.202532 | 0.236287 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016234 | 0.193717 | 382 | 18 | 69 | 21.222222 | 0.753247 | 0.128272 | 0 | 0 | 0 | 0 | 0.094225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7cc906c006f9fd901f5d6b8bea76fefd71c91e9f | 109 | py | Python | swappayoutubeexamplesite/swappashowcaseapp/apps.py | DeviNoles/swappa | 50d2ef2bccca3030e2f39cd991a163919d8a4e23 | [
"MIT"
] | 1 | 2020-03-24T06:36:51.000Z | 2020-03-24T06:36:51.000Z | swappayoutubeexamplesite/swappashowcaseapp/apps.py | DeviNoles/swappa | 50d2ef2bccca3030e2f39cd991a163919d8a4e23 | [
"MIT"
] | 5 | 2021-04-08T19:52:25.000Z | 2021-09-22T18:47:32.000Z | swappayoutubeexamplesite/swappashowcaseapp/apps.py | DeviNoles/swappa | 50d2ef2bccca3030e2f39cd991a163919d8a4e23 | [
"MIT"
] | 1 | 2021-10-31T15:16:31.000Z | 2021-10-31T15:16:31.000Z | from django.apps import AppConfig
class SwappashowcaseappConfig(AppConfig):
name = 'swappashowcaseapp'
| 18.166667 | 41 | 0.798165 | 10 | 109 | 8.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 42 | 21.8 | 0.925532 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6b0ed22cfa323a34b527abdaec6e5c0bcaceeee5 | 362 | py | Python | tests/install_tests/test_utils.py | yashasvimisra2798/cupy | ef3ce65dca455fdf2c7cb4d097fbda3328813d8a | [
"MIT"
] | 1 | 2021-05-16T11:52:30.000Z | 2021-05-16T11:52:30.000Z | tests/install_tests/test_utils.py | yashasvimisra2798/cupy | ef3ce65dca455fdf2c7cb4d097fbda3328813d8a | [
"MIT"
] | 8 | 2019-02-11T17:20:01.000Z | 2021-09-08T01:14:51.000Z | tests/install_tests/test_utils.py | yashasvimisra2798/cupy | ef3ce65dca455fdf2c7cb4d097fbda3328813d8a | [
"MIT"
] | 1 | 2021-01-08T14:16:53.000Z | 2021-01-08T14:16:53.000Z | import unittest
from . import _from_install_import
utils = _from_install_import('utils')
class TestPrintWarning(unittest.TestCase):
def test_print_warning(self):
utils.print_warning('This is a test.')
class TestSearchOnPath(unittest.TestCase):
def test_exec_not_found(self):
assert utils... | 19.052632 | 61 | 0.748619 | 48 | 362 | 5.3125 | 0.5625 | 0.086275 | 0.133333 | 0.172549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160221 | 362 | 18 | 62 | 20.111111 | 0.838816 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 0.222222 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6b41b79785f6afd51856fd3f720e2f5cd91413db | 114 | py | Python | recommendx/__init__.py | adrennhoff/recommendx | 855f6829761caee65bf286d2996138370112e8ff | [
"BSD-3-Clause"
] | null | null | null | recommendx/__init__.py | adrennhoff/recommendx | 855f6829761caee65bf286d2996138370112e8ff | [
"BSD-3-Clause"
] | null | null | null | recommendx/__init__.py | adrennhoff/recommendx | 855f6829761caee65bf286d2996138370112e8ff | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pandas as pd
from .reccode import RWR
from .timecode import RWT
__all__ = ['RWR','RWT'] | 19 | 25 | 0.745614 | 19 | 114 | 4.263158 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 114 | 6 | 26 | 19 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0.052174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
86100c85cb3ed76eac92ccb958b933552ceb137e | 168 | py | Python | log.py | sdobz/http-torrent | d7a141a659cec75f039ef21b1a3a030f05869281 | [
"MIT"
] | 1 | 2016-01-27T04:53:28.000Z | 2016-01-27T04:53:28.000Z | log.py | sdobz/http-torrent | d7a141a659cec75f039ef21b1a3a030f05869281 | [
"MIT"
] | null | null | null | log.py | sdobz/http-torrent | d7a141a659cec75f039ef21b1a3a030f05869281 | [
"MIT"
] | null | null | null | import logging
from logging import getLogger as get_logger
logging.basicConfig(
level=logging.DEBUG,
format='[%(levelname)s] (%(threadName)-10s) %(message)s'
) | 24 | 60 | 0.732143 | 21 | 168 | 5.809524 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.130952 | 168 | 7 | 61 | 24 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0.278107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
863ec91235f6b81d1545dd171eea4009ee2ed25a | 440 | py | Python | src/architectures/nmp/message_passing/__init__.py | isaachenrion/jets | 59aeba81788d0741af448192d9dfb764fb97cf8d | [
"BSD-3-Clause"
] | 9 | 2017-10-09T17:01:52.000Z | 2018-06-12T18:06:05.000Z | src/architectures/nmp/message_passing/__init__.py | isaachenrion/jets | 59aeba81788d0741af448192d9dfb764fb97cf8d | [
"BSD-3-Clause"
] | 31 | 2017-11-01T14:39:02.000Z | 2018-04-18T15:34:24.000Z | src/architectures/nmp/message_passing/__init__.py | isaachenrion/jets | 59aeba81788d0741af448192d9dfb764fb97cf8d | [
"BSD-3-Clause"
] | 10 | 2017-10-17T19:23:14.000Z | 2020-07-05T04:44:45.000Z | from .message_passing_layers import MP_LAYERS
#from .adjacency import construct_adjacency_matrix_layer
'''
This module implements the core message passing operations.
###adjacency.py <-- compute an adjacency matrix based on vertex data.
message_passing.py <-- run a single iteration of message passing.
message.py <-- ... | 36.666667 | 74 | 0.784091 | 64 | 440 | 5.265625 | 0.53125 | 0.166172 | 0.059347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134091 | 440 | 11 | 75 | 40 | 0.884514 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
86792cd7ad7f766997e36b062261a9ae0c66dded | 626 | py | Python | aula4/aula4.py | diegocolombo1989/Trabalho-Python | 4603117bebfb6e801c3289e108b4e8f29442ab6f | [
"MIT"
] | null | null | null | aula4/aula4.py | diegocolombo1989/Trabalho-Python | 4603117bebfb6e801c3289e108b4e8f29442ab6f | [
"MIT"
] | null | null | null | aula4/aula4.py | diegocolombo1989/Trabalho-Python | 4603117bebfb6e801c3289e108b4e8f29442ab6f | [
"MIT"
] | null | null | null | print('-'*40)
numero1 = int(input('Digite o numero 1:'))
numero2 = int(input('Digite o numero 2:'))
print('resultado soma dos numeros:')
resultado = numero1 + numero2
print(resultado)
('\n'*3)
print('resultado subtração dos numeros:')
resultado = numero1 - numero2
print(resultado)
('\n'*3)
print('resultado div... | 18.969697 | 45 | 0.688498 | 84 | 626 | 5.130952 | 0.309524 | 0.259861 | 0.220418 | 0.241299 | 0.645012 | 0.547564 | 0.547564 | 0.438515 | 0.438515 | 0.438515 | 0 | 0.04771 | 0.162939 | 626 | 33 | 46 | 18.969697 | 0.774809 | 0 | 0 | 0.391304 | 0 | 0 | 0.362041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
869051c5a363a72fed4d7914f62a83814c0b7ca1 | 182 | py | Python | jrdb/templates/MSA.py | hankehly/JRDB | ad470e867d204ea975f7b98b57881d72fcfb41c7 | [
"MIT"
] | 1 | 2022-02-19T14:44:34.000Z | 2022-02-19T14:44:34.000Z | jrdb/templates/MSA.py | hankehly/JRDB | ad470e867d204ea975f7b98b57881d72fcfb41c7 | [
"MIT"
] | null | null | null | jrdb/templates/MSA.py | hankehly/JRDB | ad470e867d204ea975f7b98b57881d72fcfb41c7 | [
"MIT"
] | 1 | 2022-02-19T14:46:40.000Z | 2022-02-19T14:46:40.000Z | from jrdb.templates.MZA import MZA
class MSA(MZA):
"""
JRDB抹消馬データ(MSA)
差分
http://www.jrdb.com/program/Msa/msa_doc.txt
"""
description = "JRDB抹消馬データ(MSA)"
| 14 | 47 | 0.620879 | 24 | 182 | 4.666667 | 0.666667 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 182 | 12 | 48 | 15.166667 | 0.8 | 0.346154 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
869c5cbb58a908cdd11d8219406f61db301494e0 | 132 | py | Python | modeling/dynamics/builtin/random_tst.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 23 | 2021-04-02T09:02:04.000Z | 2022-03-22T05:31:03.000Z | modeling/dynamics/builtin/random_tst.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 35 | 2021-04-12T09:41:05.000Z | 2022-03-26T13:32:46.000Z | modeling/dynamics/builtin/random_tst.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 16 | 2021-03-30T11:55:45.000Z | 2022-03-30T07:10:59.000Z | # conclusions:
# The builtin physics is very simple. It does not support joints and has little flexibility for different collisions. | 66 | 117 | 0.810606 | 19 | 132 | 5.631579 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 2 | 117 | 66 | 0.955357 | 0.969697 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86ba465dbadfd5291d4d7f6eec22ee84821b4056 | 162 | py | Python | docker/mlurlphishing/verify.py | tamarsix/dockerfiles | 3ad3d4fc3e7dd55ac823bb1c5ddd530829cf0f07 | [
"MIT"
] | null | null | null | docker/mlurlphishing/verify.py | tamarsix/dockerfiles | 3ad3d4fc3e7dd55ac823bb1c5ddd530829cf0f07 | [
"MIT"
] | null | null | null | docker/mlurlphishing/verify.py | tamarsix/dockerfiles | 3ad3d4fc3e7dd55ac823bb1c5ddd530829cf0f07 | [
"MIT"
] | null | null | null | import numpy as np
import pandas
import sklearn
from bs4 import BeautifulSoup
import cv2 as cv
import tldextract
import dill
import catboost
from PIL import Image | 18 | 29 | 0.845679 | 26 | 162 | 5.269231 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.154321 | 162 | 9 | 30 | 18 | 0.985401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
86bcb532ed51c6b1843ed22a561ca6db0f664b44 | 246 | py | Python | util.py | mabruckner/rsstastic | ae00deb9bf9276df5b41be9d95b221c13ba7bf7e | [
"MIT"
] | null | null | null | util.py | mabruckner/rsstastic | ae00deb9bf9276df5b41be9d95b221c13ba7bf7e | [
"MIT"
] | null | null | null | util.py | mabruckner/rsstastic | ae00deb9bf9276df5b41be9d95b221c13ba7bf7e | [
"MIT"
] | null | null | null | import base64
def b64_to_key(data):
return base64.urlsafe_b64decode(data).decode('ascii')
def key_to_b64(key):
return base64.urlsafe_b64encode(key.encode('ascii'))
def get_url(key):
return '/item/'+key_to_b64(key).decode('ascii')
| 20.5 | 57 | 0.727642 | 38 | 246 | 4.473684 | 0.447368 | 0.141176 | 0.223529 | 0.129412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.121951 | 246 | 11 | 58 | 22.363636 | 0.712963 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
86cd68b4bcbed8d6d1bac69e5fcbcdfc3fcee6b9 | 51 | py | Python | Algorithms/python/right_angle_pattern.py | QuantzLab/QuantzPythonMath | 07df4219574225633dfff8a4e2ddc01fddb2e68f | [
"CC0-1.0"
] | 2 | 2020-10-21T06:21:27.000Z | 2020-12-18T10:34:02.000Z | Algorithms/python/right_angle_pattern.py | QuantzLab/QuantzPythonMath | 07df4219574225633dfff8a4e2ddc01fddb2e68f | [
"CC0-1.0"
] | 2 | 2020-10-20T03:55:47.000Z | 2020-10-28T10:35:00.000Z | Algorithms/python/right_angle_pattern.py | QuantzLab/QuantzPythonMath | 07df4219574225633dfff8a4e2ddc01fddb2e68f | [
"CC0-1.0"
] | 1 | 2020-10-16T07:21:58.000Z | 2020-10-16T07:21:58.000Z | d = 1
while d < 4:
print("*" * d)
d += 1 | 12.75 | 19 | 0.333333 | 9 | 51 | 1.888889 | 0.555556 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.45098 | 51 | 4 | 20 | 12.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86dd228053d335617198e5263ff26dc1de1d2406 | 343 | py | Python | seller/admin.py | mrajeswarasai/CollegeMart | 34b4087e84fd753a4796ee1cdbd53d22f637f011 | [
"Apache-2.0"
] | null | null | null | seller/admin.py | mrajeswarasai/CollegeMart | 34b4087e84fd753a4796ee1cdbd53d22f637f011 | [
"Apache-2.0"
] | 3 | 2021-06-08T22:29:18.000Z | 2022-03-12T00:48:30.000Z | seller/admin.py | mrajeswarasai/CollegeMart | 34b4087e84fd753a4796ee1cdbd53d22f637f011 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Category, Products_Selling, Products_Leasing, commonNotification, Request_table
# Register your models here.
admin.site.register(Products_Selling)
admin.site.register(Category)
admin.site.register(Products_Leasing)
admin.site.register(commonNotification)
admin.site.r... | 38.111111 | 99 | 0.854227 | 43 | 343 | 6.674419 | 0.395349 | 0.156794 | 0.296167 | 0.174216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06414 | 343 | 8 | 100 | 42.875 | 0.894081 | 0.075802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86e2e55f059e34a064a7f1c3670d6a30ac96c6cc | 179 | py | Python | Python/Tests/TestData/AstAnalysis/ReturnValues.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | Python/Tests/TestData/AstAnalysis/ReturnValues.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/AstAnalysis/ReturnValues.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | def r_a(a, b):
return a
def r_b(a, b):
return b
def r_str():
return ''
def r_object():
return object()
class A:
def r_A(self):
return type(self)()
| 11.1875 | 27 | 0.541899 | 32 | 179 | 2.875 | 0.3125 | 0.217391 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.312849 | 179 | 15 | 28 | 11.933333 | 0.747967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
810eb8e96f7b42c622ab36547a6754db326a2d63 | 248 | py | Python | contact/serializers.py | omaralbeik/omaralbeik.com-api | 03ce663fe2b3c52363520437d0f5b09cfcb121db | [
"MIT"
] | null | null | null | contact/serializers.py | omaralbeik/omaralbeik.com-api | 03ce663fe2b3c52363520437d0f5b09cfcb121db | [
"MIT"
] | 1 | 2018-04-05T13:44:13.000Z | 2018-04-05T14:45:32.000Z | contact/serializers.py | omaralbeik/omaralbeik.com-api | 03ce663fe2b3c52363520437d0f5b09cfcb121db | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Message
class MessageSerializer(serializers.ModelSerializer):
class Meta:
model = Message
fields = ("name", "email", "phone", "country", "city", "subject", "message")
| 27.555556 | 84 | 0.693548 | 25 | 248 | 6.84 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185484 | 248 | 8 | 85 | 31 | 0.846535 | 0 | 0 | 0 | 0 | 0 | 0.157258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
81165b46e98e58d281946ad4238b5dde69c81a8d | 259 | py | Python | account_standard_report/models/res_currency.py | Chief0-0/Localizacion_ERP_V12 | f59e56564e29525f772b59db7fef7c7cde347336 | [
"Apache-2.0"
] | null | null | null | account_standard_report/models/res_currency.py | Chief0-0/Localizacion_ERP_V12 | f59e56564e29525f772b59db7fef7c7cde347336 | [
"Apache-2.0"
] | null | null | null | account_standard_report/models/res_currency.py | Chief0-0/Localizacion_ERP_V12 | f59e56564e29525f772b59db7fef7c7cde347336 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from openerp import models, fields
class ResCurrency(models.Model):
_inherit = 'res.currency'
excel_format = fields.Char(string='Excel format', default='_ * #,##0.00_) ;_ * - #,##0.00_) ;_ * "-"??_) ;_ @_ ', required=True)
| 25.9 | 132 | 0.606178 | 29 | 259 | 5.068966 | 0.793103 | 0.14966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03271 | 0.173745 | 259 | 9 | 133 | 28.777778 | 0.654206 | 0.081081 | 0 | 0 | 0 | 0.25 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8116a620e0b8ced773dff06e639403a6f630641f | 2,338 | py | Python | ckan/tests/legacy/lib/test_email_notifications.py | florianm/ckan | 1cfd98d591ac70b4eb81048bcd227b6c1354b1bf | [
"Apache-2.0"
] | 12 | 2015-08-28T16:59:07.000Z | 2020-03-08T01:39:30.000Z | ckan/tests/legacy/lib/test_email_notifications.py | florianm/ckan | 1cfd98d591ac70b4eb81048bcd227b6c1354b1bf | [
"Apache-2.0"
] | 13 | 2019-05-02T21:01:28.000Z | 2020-10-20T23:34:48.000Z | ckan/tests/legacy/lib/test_email_notifications.py | florianm/ckan | 1cfd98d591ac70b4eb81048bcd227b6c1354b1bf | [
"Apache-2.0"
] | 10 | 2015-05-08T04:33:20.000Z | 2020-03-03T15:17:58.000Z | '''Tests for the ckan.lib.email_notifications module.
Note that email_notifications is used by an action function, so most of the
tests for the module are done by testing the action function in
ckan.test.functional.api. This test module contains some additional unit tests.
'''
import datetime
import nose.tools
impo... | 49.744681 | 79 | 0.702737 | 304 | 2,338 | 5.236842 | 0.240132 | 0.203518 | 0.211055 | 0.228643 | 0.681533 | 0.659548 | 0.659548 | 0.609296 | 0.55402 | 0.55402 | 0 | 0.065831 | 0.181352 | 2,338 | 46 | 80 | 50.826087 | 0.765935 | 0.115911 | 0 | 0.342857 | 0 | 0 | 0.07188 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.028571 | true | 0 | 0.114286 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8119c07cac4a8a9fcdfc7223d5f1bb4a1e28c825 | 159 | py | Python | miniworld/repl/errors.py | miniworld-project/miniworld_core | c591bad232b78eae99e8f55cb1b907c1e228484b | [
"MIT"
] | 5 | 2019-05-11T14:57:15.000Z | 2021-07-05T00:35:25.000Z | miniworld/repl/errors.py | miniworld-project/miniworld_core | c591bad232b78eae99e8f55cb1b907c1e228484b | [
"MIT"
] | 27 | 2017-03-17T07:11:02.000Z | 2019-05-26T23:36:56.000Z | miniworld/repl/errors.py | miniworld-project/miniworld_core | c591bad232b78eae99e8f55cb1b907c1e228484b | [
"MIT"
] | 6 | 2017-05-03T12:11:33.000Z | 2020-04-03T11:44:27.000Z | from miniworld.errors import Base
class REPLError(Base):
pass
class REPLUnexpectedResult(REPLError):
pass
class REPLTimeout(REPLError):
pass
| 11.357143 | 38 | 0.742138 | 17 | 159 | 6.941176 | 0.588235 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194969 | 159 | 13 | 39 | 12.230769 | 0.921875 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
812234c94bced76272c9adad7846af89f52d9022 | 328 | py | Python | ExifRemover/CleanExif.py | altazur/exct | cf9939218bf236404c94a4d67258ee1fdf450819 | [
"MIT"
] | null | null | null | ExifRemover/CleanExif.py | altazur/exct | cf9939218bf236404c94a4d67258ee1fdf450819 | [
"MIT"
] | 2 | 2022-01-13T02:20:30.000Z | 2022-03-12T00:18:03.000Z | ExifRemover/CleanExif.py | altazur/exct | cf9939218bf236404c94a4d67258ee1fdf450819 | [
"MIT"
] | null | null | null | from PIL import Image
import os.path as path
def return_image_without_exif(image_file_input, image_file_output):
"""Takes an Image file as an argument and return image file without exif simply by resaving it"""
image = Image.open(image_file_input)
image.save(f"{image_file_output}/{path.basename(image.filen... | 41 | 101 | 0.77439 | 53 | 328 | 4.584906 | 0.509434 | 0.222222 | 0.115226 | 0.156379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137195 | 328 | 7 | 102 | 46.857143 | 0.858657 | 0.277439 | 0 | 0 | 0 | 0 | 0.220779 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
812314297f3630a5a8dda0c327868f57d0448549 | 35 | py | Python | hello_world.py | Vaishali3009/profiles-rest-api | 200524cf716aaf80ecebd38694fa9ff5ea27cf71 | [
"MIT"
] | null | null | null | hello_world.py | Vaishali3009/profiles-rest-api | 200524cf716aaf80ecebd38694fa9ff5ea27cf71 | [
"MIT"
] | null | null | null | hello_world.py | Vaishali3009/profiles-rest-api | 200524cf716aaf80ecebd38694fa9ff5ea27cf71 | [
"MIT"
] | null | null | null | print("hello")
a=9
b=10
print(a+b)
| 7 | 14 | 0.628571 | 9 | 35 | 2.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.114286 | 35 | 4 | 15 | 8.75 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
812cf23426ca275a638f0eddd39ea691ec55b088 | 89 | py | Python | meeting/apps.py | SlapBass/nx-portal | ee262079db1e5230a24ebbc205e44926f11f8da9 | [
"Apache-2.0"
] | 5 | 2019-10-04T04:46:44.000Z | 2019-10-09T10:02:01.000Z | meeting/apps.py | SlapBass/nx-portal | ee262079db1e5230a24ebbc205e44926f11f8da9 | [
"Apache-2.0"
] | 10 | 2020-02-12T00:37:45.000Z | 2022-03-03T21:58:40.000Z | meeting/apps.py | SlapBass/nx-portal | ee262079db1e5230a24ebbc205e44926f11f8da9 | [
"Apache-2.0"
] | 1 | 2020-06-19T13:26:08.000Z | 2020-06-19T13:26:08.000Z | from django.apps import AppConfig
class MeetingConfig(AppConfig):
name = 'meeting'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d49fe3b74021c561e38d3b698cb6d32df4e168a0 | 268 | py | Python | jobs/models.py | IamCharlesM/Portfolio | 145d06657cf47bbd1133e863ef9614e23e9ff65a | [
"MIT"
] | null | null | null | jobs/models.py | IamCharlesM/Portfolio | 145d06657cf47bbd1133e863ef9614e23e9ff65a | [
"MIT"
] | null | null | null | jobs/models.py | IamCharlesM/Portfolio | 145d06657cf47bbd1133e863ef9614e23e9ff65a | [
"MIT"
] | null | null | null | from django.db import models
class Job(models.Model):
image = models.ImageField(upload_to='images/')
summary = models.CharField(max_length=255)
title = models.CharField(max_length=100, default='Job Title')
def __str__(self):
return self.title | 29.777778 | 65 | 0.712687 | 36 | 268 | 5.111111 | 0.694444 | 0.163043 | 0.195652 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.171642 | 268 | 9 | 66 | 29.777778 | 0.801802 | 0 | 0 | 0 | 0 | 0 | 0.05948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
d4aaa18ccfd39047a41cc001c5cccac7a9f42c94 | 245 | py | Python | control/systems/main.py | WesleyAC/toybox | c8c26ed15c1133185cbd6dd38528fbc75a8a1d1f | [
"MIT"
] | 21 | 2017-08-21T15:29:34.000Z | 2021-08-05T15:50:11.000Z | control/systems/main.py | WesleyAC/toybox | c8c26ed15c1133185cbd6dd38528fbc75a8a1d1f | [
"MIT"
] | null | null | null | control/systems/main.py | WesleyAC/toybox | c8c26ed15c1133185cbd6dd38528fbc75a8a1d1f | [
"MIT"
] | 4 | 2017-10-02T22:10:55.000Z | 2022-02-03T23:49:54.000Z | import numpy as np
Kt = 1.41/89.0
Kv = 5840.0/3.0
G = 10.0
J = 4.0*(2.54**2.0)/2.0 # 4 kg on a 1 inch pully
R = 12.0/89.0
A = np.asarray([[0, 1],
[0, -(Kt*Kv)/((G**2)*J*R)]])
B = np.asarray([[0],
[Kt/(G*J*R)]])
| 18.846154 | 48 | 0.432653 | 58 | 245 | 1.827586 | 0.465517 | 0.056604 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218391 | 0.289796 | 245 | 12 | 49 | 20.416667 | 0.390805 | 0.089796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d4b5225baee327566f0dd703c3dede1af6b58cd5 | 727 | py | Python | individual-project/lab-src/code/controller.py | vampy/university | 9496cb63594dcf1cc2cec8650b8eee603f85fdab | [
"MIT"
] | 6 | 2015-06-22T19:43:13.000Z | 2019-07-15T18:08:41.000Z | individual-project/lab-src/code/controller.py | vampy/university | 9496cb63594dcf1cc2cec8650b8eee603f85fdab | [
"MIT"
] | null | null | null | individual-project/lab-src/code/controller.py | vampy/university | 9496cb63594dcf1cc2cec8650b8eee603f85fdab | [
"MIT"
] | 1 | 2015-09-26T09:01:54.000Z | 2015-09-26T09:01:54.000Z | #!/usr/bin/python
from repository import Repository
class Controller:
def __init__(self, repository):
if not isinstance(repository, Repository):
raise Exception("repository if not of type Repository")
self.repository = repository
def load_from_files(self):
self.repositor... | 25.068966 | 67 | 0.701513 | 91 | 727 | 5.274725 | 0.340659 | 0.233333 | 0.225 | 0.14375 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213205 | 727 | 29 | 68 | 25.068966 | 0.839161 | 0.022008 | 0 | 0 | 0 | 0 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0.222222 | 0.055556 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d4df39724f7b70d9b5011504f0760b3148376f66 | 122 | py | Python | wsgi.py | Lord-of-the-Galaxy/heroku-multi-account | 9f2d8f7455ed954cc25ed905a966a6326b4d2967 | [
"MIT"
] | 1 | 2020-06-02T10:42:23.000Z | 2020-06-02T10:42:23.000Z | wsgi.py | Lord-of-the-Galaxy/heroku-multi-account | 9f2d8f7455ed954cc25ed905a966a6326b4d2967 | [
"MIT"
] | null | null | null | wsgi.py | Lord-of-the-Galaxy/heroku-multi-account | 9f2d8f7455ed954cc25ed905a966a6326b4d2967 | [
"MIT"
] | null | null | null | from hma_slave import app
# You shouldn't need to modify anything here
if __name__=='__main__':
app.run(debug=True)
| 17.428571 | 44 | 0.737705 | 20 | 122 | 4.05 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172131 | 122 | 6 | 45 | 20.333333 | 0.80198 | 0.344262 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d4e25cdd5f64b9ba2eb7854e4136a0021d03a56f | 439 | py | Python | program/preprocess.py | donyori/2018ccf_bdci_inter_fund_correlation_prediction | 6e06a3e192e05ae1e9822111cf323eda3a61bf4e | [
"MIT"
] | null | null | null | program/preprocess.py | donyori/2018ccf_bdci_inter_fund_correlation_prediction | 6e06a3e192e05ae1e9822111cf323eda3a61bf4e | [
"MIT"
] | 1 | 2018-12-18T05:14:08.000Z | 2019-01-16T06:31:35.000Z | program/preprocess.py | donyori/2018ccf_bdci_inter_fund_correlation_prediction | 6e06a3e192e05ae1e9822111cf323eda3a61bf4e | [
"MIT"
] | null | null | null | from data.dataset_name import DATASET_NAME_TRAIN, DATASET_NAME_TEST, DATASET_NAME_PREDICT
from data.preprocess import preprocess_data
def _main():
print('Preprocess train data.')
preprocess_data(DATASET_NAME_TRAIN)
print('Preprocess test data.')
preprocess_data(DATASET_NAME_TEST)
print('Preprocess... | 25.823529 | 89 | 0.758542 | 55 | 439 | 5.563636 | 0.254545 | 0.251634 | 0.196078 | 0.245098 | 0.284314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150342 | 439 | 16 | 90 | 27.4375 | 0.820375 | 0 | 0 | 0 | 0 | 0 | 0.182232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0 | 0.166667 | 0 | 0.25 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d4ef2b74af165d6f79e1bdd946385a3eb5b783c8 | 216 | py | Python | colossus/apps/accounts/models.py | CreativeWurks/emailerpro | 5f8d668d1b98f5add8123794a1802b82381560eb | [
"MIT"
] | 372 | 2018-08-13T20:51:32.000Z | 2022-03-21T12:55:58.000Z | colossus/apps/accounts/models.py | CreativeWurks/emailerpro | 5f8d668d1b98f5add8123794a1802b82381560eb | [
"MIT"
] | 30 | 2018-08-13T19:34:17.000Z | 2022-03-20T21:28:49.000Z | colossus/apps/accounts/models.py | CreativeWurks/emailerpro | 5f8d668d1b98f5add8123794a1802b82381560eb | [
"MIT"
] | 117 | 2018-08-13T21:54:42.000Z | 2022-03-24T16:45:48.000Z | from django.contrib.auth.models import AbstractUser
from django.db import models
class User(AbstractUser):
timezone = models.CharField(max_length=50, blank=True)
class Meta:
db_table = 'auth_user'
| 21.6 | 58 | 0.740741 | 29 | 216 | 5.413793 | 0.655172 | 0.127389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.175926 | 216 | 9 | 59 | 24 | 0.870787 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
079c6119547bc4d86da2c3b98ba4a3066155a93d | 182 | py | Python | currencies/conf.py | CargobaseDev/django-currencies | ff722618ad5248da3b592c96c186cc93846796dc | [
"BSD-3-Clause"
] | 8 | 2015-06-07T02:25:23.000Z | 2020-10-06T05:19:59.000Z | currencies/conf.py | CargobaseDev/django-currencies | ff722618ad5248da3b592c96c186cc93846796dc | [
"BSD-3-Clause"
] | 1 | 2015-04-03T05:40:04.000Z | 2015-04-14T10:44:35.000Z | currencies/conf.py | CargobaseDev/django-currencies | ff722618ad5248da3b592c96c186cc93846796dc | [
"BSD-3-Clause"
] | 4 | 2017-09-23T09:02:51.000Z | 2021-06-25T05:21:12.000Z | # -*- coding: utf-8 -*-
from django.conf import settings
SESSION_PREFIX = getattr(settings, 'CURRENCY_SESSION_PREFIX', 'session')
SESSION_KEY = '%s:currency_code' % SESSION_PREFIX
| 26 | 72 | 0.747253 | 23 | 182 | 5.652174 | 0.652174 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.115385 | 182 | 6 | 73 | 30.333333 | 0.801242 | 0.115385 | 0 | 0 | 0 | 0 | 0.289308 | 0.144654 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
07d2fd3e92759421ef83a41ce768548db039d791 | 23 | py | Python | MyLibrary/version.py | lachlangrose/python_template | 9871a4ccd0e17fc87937a58e7753be54311eec9a | [
"MIT"
] | null | null | null | MyLibrary/version.py | lachlangrose/python_template | 9871a4ccd0e17fc87937a58e7753be54311eec9a | [
"MIT"
] | 16 | 2021-09-07T03:42:33.000Z | 2021-12-06T04:58:43.000Z | MyLibrary/version.py | lachlangrose/python_template | 9871a4ccd0e17fc87937a58e7753be54311eec9a | [
"MIT"
] | null | null | null | __version__ = "0.2.4"
| 7.666667 | 21 | 0.608696 | 4 | 23 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.173913 | 23 | 2 | 22 | 11.5 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
07d4741930620fe4ab65b3f98decfc31421848e4 | 156 | py | Python | config/email.py | briglass/PLAy | a78cfcf1201389f421bf393ff9c30c83a5a3ca4c | [
"BSD-3-Clause"
] | null | null | null | config/email.py | briglass/PLAy | a78cfcf1201389f421bf393ff9c30c83a5a3ca4c | [
"BSD-3-Clause"
] | null | null | null | config/email.py | briglass/PLAy | a78cfcf1201389f421bf393ff9c30c83a5a3ca4c | [
"BSD-3-Clause"
] | null | null | null | MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 465
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_USERNAME = 'playiq.com@gmail.com'
MAIL_PASSWORD = 'notplaynet'
| 22.285714 | 38 | 0.775641 | 25 | 156 | 4.52 | 0.64 | 0.141593 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.115385 | 156 | 6 | 39 | 26 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
07dbd8d2aaa4e44c6cbf3e35a4697082a9d44cb7 | 332 | py | Python | ObasiEmmanuel/Phase 1/Python Basic 1/Day 5 task/day5-one.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | ObasiEmmanuel/Phase 1/Python Basic 1/Day 5 task/day5-one.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | ObasiEmmanuel/Phase 1/Python Basic 1/Day 5 task/day5-one.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | def HCF (x,y):
if x > y:
d=[]
for i in range(1,y+1):
if y % i == 0 and x % i == 0:
d.append(i)
print(d[-1])
elif x < y:
d=[]
for i in range(1,x+1):
if y % i == 0 and x % i == 0:
d.append(i)
print(d[-1])
prin... | 22.133333 | 41 | 0.334337 | 58 | 332 | 1.913793 | 0.310345 | 0.072072 | 0.054054 | 0.108108 | 0.756757 | 0.756757 | 0.756757 | 0.756757 | 0.486486 | 0.486486 | 0 | 0.076471 | 0.487952 | 332 | 15 | 42 | 22.133333 | 0.576471 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.071429 | 0.214286 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
07e5d7905e87eceb1c013ca45d6ffd20a1d0a548 | 93 | py | Python | machida/lib/wallaroo/experimental/base_meta2.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 1,459 | 2017-09-16T13:13:15.000Z | 2020-10-05T06:19:50.000Z | machida/lib/wallaroo/experimental/base_meta2.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 1,413 | 2017-09-14T18:18:14.000Z | 2020-09-28T08:10:30.000Z | machida/lib/wallaroo/experimental/base_meta2.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 80 | 2017-09-27T23:16:23.000Z | 2020-06-02T09:18:53.000Z | from abc import ABCMeta, abstractmethod
class BaseMeta(object):
__metaclass__ = ABCMeta
| 18.6 | 39 | 0.784946 | 10 | 93 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 4 | 40 | 23.25 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6af953d4ffe276b03c893a5c60d28b64f8280ca7 | 232 | py | Python | rplanpy/metadata.py | unaisaralegui/rplanpy | eebdfde4e523c085e6309f5a35f2d2234806d898 | [
"MIT"
] | 1 | 2021-04-27T14:27:01.000Z | 2021-04-27T14:27:01.000Z | rplanpy/metadata.py | unaisaralegui/rplanpy | eebdfde4e523c085e6309f5a35f2d2234806d898 | [
"MIT"
] | null | null | null | rplanpy/metadata.py | unaisaralegui/rplanpy | eebdfde4e523c085e6309f5a35f2d2234806d898 | [
"MIT"
] | 1 | 2021-06-25T10:20:58.000Z | 2021-06-25T10:20:58.000Z | major, minor, patch = (0, 1, 1)
__version__ = f"{major}.{minor}.{patch}"
__author__ = "Unai Saralegui"
__email__ = "usaralegui@gmail.com"
__credits__ = ["Unai Saralegui"]
__maintainer__ = "Unai Saralegui"
__status__ = "Development"
| 29 | 40 | 0.719828 | 26 | 232 | 5.5 | 0.692308 | 0.272727 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.12069 | 232 | 7 | 41 | 33.142857 | 0.686275 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 0.099138 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed1ec1b2a698090a7f6269afe053d8d4c87d6ed6 | 10 | py | Python | random_number.py | MightySCollins/python-challenges | 1ad41a517e6320a73634862c3bd5c67b67955a69 | [
"MIT"
] | 1 | 2018-09-16T17:06:36.000Z | 2018-09-16T17:06:36.000Z | random_number.py | MightySCollins/python-challenges | 1ad41a517e6320a73634862c3bd5c67b67955a69 | [
"MIT"
] | null | null | null | random_number.py | MightySCollins/python-challenges | 1ad41a517e6320a73634862c3bd5c67b67955a69 | [
"MIT"
] | 1 | 2018-09-16T17:06:22.000Z | 2018-09-16T17:06:22.000Z | # SoonTM
| 5 | 9 | 0.6 | 1 | 10 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 10 | 1 | 10 | 10 | 0.857143 | 0.6 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed50c9750a4662baacc6ef7f040d50ab3665f04b | 95 | py | Python | blog/admin.py | Kesel/django | f3fc3617c4b39b18e54bfb4c2fc8940e40f8fa25 | [
"MIT"
] | null | null | null | blog/admin.py | Kesel/django | f3fc3617c4b39b18e54bfb4c2fc8940e40f8fa25 | [
"MIT"
] | null | null | null | blog/admin.py | Kesel/django | f3fc3617c4b39b18e54bfb4c2fc8940e40f8fa25 | [
"MIT"
] | null | null | null | from django.contrib import admin
from blog.models import Article
admin.site.register(Article)
| 19 | 32 | 0.831579 | 14 | 95 | 5.642857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 4 | 33 | 23.75 | 0.929412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed7b70b16a9db82a8cdb6661cbfbdd3ce782ab29 | 188 | py | Python | Python/Daily Challenges/String/Binary_or_not_String.py | Aditya8821/Python | 58c7ea8daf381256d8a45736832fb70f735757f7 | [
"MIT"
] | 2 | 2021-05-12T11:20:39.000Z | 2021-06-17T04:35:16.000Z | Python/Daily Challenges/String/Binary_or_not_String.py | Aditya8821/Python | 58c7ea8daf381256d8a45736832fb70f735757f7 | [
"MIT"
] | null | null | null | Python/Daily Challenges/String/Binary_or_not_String.py | Aditya8821/Python | 58c7ea8daf381256d8a45736832fb70f735757f7 | [
"MIT"
] | null | null | null | def binary_or_not(str):
binary="01"
return all([num in binary for num in str])
str="001021010001010"
if binary_or_not(str):
print("Binary")
else:
print("Not Binary") | 23.5 | 47 | 0.654255 | 29 | 188 | 4.103448 | 0.517241 | 0.134454 | 0.184874 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 0.212766 | 188 | 8 | 48 | 23.5 | 0.689189 | 0 | 0 | 0 | 0 | 0 | 0.181319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed85f6b025d515a5e32ce6332153a76f3bbe95bc | 224 | py | Python | Chapter11_Packages2/1_NewPackageStructure/tests/__init__.py | vtolle/AdvancedPython | 82c75e36fc4d6b6afc98e4d9dc0b72eaf525c434 | [
"MIT"
] | null | null | null | Chapter11_Packages2/1_NewPackageStructure/tests/__init__.py | vtolle/AdvancedPython | 82c75e36fc4d6b6afc98e4d9dc0b72eaf525c434 | [
"MIT"
] | null | null | null | Chapter11_Packages2/1_NewPackageStructure/tests/__init__.py | vtolle/AdvancedPython | 82c75e36fc4d6b6afc98e4d9dc0b72eaf525c434 | [
"MIT"
] | null | null | null | """Test code suite.
"""
import math
import unittest
from .test_computations import ComputationsTests
from .test_vector import VectorTests
def main_tests():
unittest.main()
if __name__ == '__main__':
main_tests()
| 14.933333 | 48 | 0.741071 | 27 | 224 | 5.703704 | 0.592593 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 224 | 14 | 49 | 16 | 0.819149 | 0.071429 | 0 | 0 | 0 | 0 | 0.039801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.5 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9c032a118c01b6854188b89b3c3d13b10d506a1f | 642 | py | Python | easycalculations/calc.py | Thatgenzgamer/easycalculations | 981458d3afcc70801de476e78bfc36601a3564d4 | [
"MIT"
] | null | null | null | easycalculations/calc.py | Thatgenzgamer/easycalculations | 981458d3afcc70801de476e78bfc36601a3564d4 | [
"MIT"
] | null | null | null | easycalculations/calc.py | Thatgenzgamer/easycalculations | 981458d3afcc70801de476e78bfc36601a3564d4 | [
"MIT"
] | null | null | null | class Calc:
def calc(opr, num1, num2):
if (opr.lower() == "+") or (opr.lower() == "sum") or (opr.lower() == "plus"):
print(num1 + num2)
elif (opr.lower() == "-") or (opr.lower() == 'subtract') or (opr.lower() == 'minus'):
print(num1 - num2)
elif (opr.lower() == "*") ... | 45.857143 | 95 | 0.462617 | 75 | 642 | 3.946667 | 0.28 | 0.324324 | 0.27027 | 0.175676 | 0.483108 | 0.35473 | 0.35473 | 0.35473 | 0.35473 | 0 | 0 | 0.026316 | 0.28972 | 642 | 13 | 96 | 49.384615 | 0.622807 | 0 | 0 | 0 | 0 | 0 | 0.105919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.166667 | 0.416667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9c0c22cf66e36c4214c66074adcc86a8b8fd6af3 | 105 | py | Python | Python 2 and 3/Medium/Compress the String/Compress the String.py | mhinzz/HackerRank | f0424288af011dcc13fd77b4fe252e56b0c8e37f | [
"MIT"
] | 1 | 2020-10-23T18:40:20.000Z | 2020-10-23T18:40:20.000Z | Python 2 and 3/Medium/Compress the String/Compress the String.py | mhinzz/HackerRank | f0424288af011dcc13fd77b4fe252e56b0c8e37f | [
"MIT"
] | null | null | null | Python 2 and 3/Medium/Compress the String/Compress the String.py | mhinzz/HackerRank | f0424288af011dcc13fd77b4fe252e56b0c8e37f | [
"MIT"
] | null | null | null | from itertools import groupby
if True:
print(*[(len(list(c)), int(k)) for k, c in groupby(input())])
| 26.25 | 65 | 0.647619 | 18 | 105 | 3.777778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 105 | 3 | 66 | 35 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9c450a0f30d212e1940b4f63e3d619549027d4e7 | 237 | py | Python | toontown/toon/DistributedNPCFlippyInToonHallAI.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 99 | 2019-11-02T22:25:00.000Z | 2022-02-03T03:48:00.000Z | toontown/toon/DistributedNPCFlippyInToonHallAI.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 42 | 2019-11-03T05:31:08.000Z | 2022-03-16T22:50:32.000Z | toontown/toon/DistributedNPCFlippyInToonHallAI.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 57 | 2019-11-03T07:47:37.000Z | 2022-03-22T00:41:49.000Z | from .DistributedNPCToonAI import *
class DistributedNPCFlippyInToonHallAI(DistributedNPCToonAI):
def __init__(self, air, npcId, questCallback = None, hq = 0):
DistributedNPCToonAI.__init__(self, air, npcId, questCallback)
| 33.857143 | 70 | 0.772152 | 21 | 237 | 8.333333 | 0.666667 | 0.091429 | 0.125714 | 0.182857 | 0.331429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004926 | 0.14346 | 237 | 6 | 71 | 39.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9c45a34cfa97ec0e54e1bc3be6efa291e4a12767 | 6,272 | py | Python | cohesity_management_sdk/models/privilege_id_enum.py | chandrashekar-cohesity/management-sdk-python | 9e6ec99e8a288005804b808c4e9b19fd204e3a8b | [
"Apache-2.0"
] | 1 | 2019-11-07T23:19:32.000Z | 2019-11-07T23:19:32.000Z | cohesity_management_sdk/models/privilege_id_enum.py | chandrashekar-cohesity/management-sdk-python | 9e6ec99e8a288005804b808c4e9b19fd204e3a8b | [
"Apache-2.0"
] | null | null | null | cohesity_management_sdk/models/privilege_id_enum.py | chandrashekar-cohesity/management-sdk-python | 9e6ec99e8a288005804b808c4e9b19fd204e3a8b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019 Cohesity Inc.
class PrivilegeIdEnum(object):
"""Implementation of the 'PrivilegeId' enum.
Specifies unique id for a privilege. This number must be unique when
creating a new privilege.
Type for unique privilege Id values.
All below enum values specify a va... | 31.676768 | 72 | 0.722417 | 472 | 6,272 | 9.599576 | 0.216102 | 0.105937 | 0.2516 | 0.304569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001016 | 0.215721 | 6,272 | 197 | 73 | 31.837563 | 0.920106 | 0.539222 | 0 | 0 | 0 | 0 | 0.366003 | 0.101072 | 0 | 0 | 0 | 0.304569 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9c4bc69b869e9334e64fb3b148c127249184ef09 | 60 | py | Python | Analyze_APK/GetMessage/__init__.py | AmandaLingJ/Anaylze-Features-of-APP | 4893cdbdac860b00008d335af1fec6025b449c1d | [
"Apache-2.0"
] | 1 | 2019-10-19T02:33:56.000Z | 2019-10-19T02:33:56.000Z | Analyze_APK/GetMessage/__init__.py | AmandaLingJ/Anaylze-Features-of-APP | 4893cdbdac860b00008d335af1fec6025b449c1d | [
"Apache-2.0"
] | null | null | null | Analyze_APK/GetMessage/__init__.py | AmandaLingJ/Anaylze-Features-of-APP | 4893cdbdac860b00008d335af1fec6025b449c1d | [
"Apache-2.0"
] | 1 | 2019-10-21T08:34:24.000Z | 2019-10-21T08:34:24.000Z | import os
from GetMessage.AboutMessage import Message
| 12 | 44 | 0.783333 | 7 | 60 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 4 | 45 | 15 | 0.979167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9c5948ff86cefbe938b8c8fb7873335fa1887bec | 87 | py | Python | learnedevolution/targets/covariance/covariance_target.py | realtwister/LearnedEvolution | 2ec49b50a49acae9693cfb05ac114dfbcc4aa337 | [
"MIT"
] | null | null | null | learnedevolution/targets/covariance/covariance_target.py | realtwister/LearnedEvolution | 2ec49b50a49acae9693cfb05ac114dfbcc4aa337 | [
"MIT"
] | null | null | null | learnedevolution/targets/covariance/covariance_target.py | realtwister/LearnedEvolution | 2ec49b50a49acae9693cfb05ac114dfbcc4aa337 | [
"MIT"
] | null | null | null | from ..target import Target;
class CovarianceTarget(Target):
_type = "covariance"
| 17.4 | 31 | 0.735632 | 9 | 87 | 7 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 4 | 32 | 21.75 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
92bf8d9ebb59933cb4672d4ece29b25f5d070a1e | 419 | py | Python | click_project/monkeypatch.py | hobeika/click-project | 216da0a3b3551cc06324c98f295c90176380f201 | [
"MIT"
] | null | null | null | click_project/monkeypatch.py | hobeika/click-project | 216da0a3b3551cc06324c98f295c90176380f201 | [
"MIT"
] | 1 | 2021-03-17T10:39:54.000Z | 2021-03-17T10:40:39.000Z | click_project/monkeypatch.py | hobeika/click-project | 216da0a3b3551cc06324c98f295c90176380f201 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
from click import Context
old_lookup_default = Context.lookup_default
def context_lookup_default(self, name):
if not hasattr(self, "click_project_default_catch"):
self.click_project_default_catch = set()
self.click_project_default_catch.add(name)
ret... | 22.052632 | 56 | 0.749403 | 58 | 419 | 5.086207 | 0.448276 | 0.264407 | 0.271186 | 0.233898 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002809 | 0.150358 | 419 | 18 | 57 | 23.277778 | 0.825843 | 0.097852 | 0 | 0 | 0 | 0 | 0.071809 | 0.071809 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92d37185b4d25339b132694f2cae7b200e571095 | 82,101 | pyp | Python | main-python-backend/pipeline/mi-offline.pyp | paulbaniqued/BCI-VR-Robot_Integration | 6a2466d8787997651f6f75270cf44d98baa93fcf | [
"BSD-4-Clause-UC"
] | null | null | null | main-python-backend/pipeline/mi-offline.pyp | paulbaniqued/BCI-VR-Robot_Integration | 6a2466d8787997651f6f75270cf44d98baa93fcf | [
"BSD-4-Clause-UC"
] | null | null | null | main-python-backend/pipeline/mi-offline.pyp | paulbaniqued/BCI-VR-Robot_Integration | 6a2466d8787997651f6f75270cf44d98baa93fcf | [
"BSD-4-Clause-UC"
] | null | null | null | <?xml version='1.0' encoding='utf-8'?>
<scheme description="This pipeline predicts imagined motor actions using neural oscillatory pattern classification. The main node of this pipeline is the Common Spatial Pattern (CSP) filter, which is used to retrieve the components or patterns in the signal that are most suitable ... | 42.605605 | 4,193 | 0.501711 | 5,125 | 82,101 | 7.939512 | 0.191024 | 0.077046 | 0.097592 | 0.06901 | 0.495601 | 0.470214 | 0.335512 | 0.305972 | 0.2826 | 0.268543 | 0 | 0.065123 | 0.391579 | 82,101 | 1,926 | 4,194 | 42.627726 | 0.749459 | 0 | 1 | 0.581516 | 0 | 0.000519 | 0.279656 | 0.060109 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.002077 | 0.003634 | null | null | 0.004154 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
130df3a7747d341b2f305e2053f88d4ccdc18e65 | 4,311 | py | Python | stacker/tests/test_lookups.py | GoodRx/stacker | 0cf1df67b4ae5aeda5845442c84905909101c238 | [
"BSD-2-Clause"
] | 1 | 2021-11-06T17:01:01.000Z | 2021-11-06T17:01:01.000Z | stacker/tests/test_lookups.py | GoodRx/stacker | 0cf1df67b4ae5aeda5845442c84905909101c238 | [
"BSD-2-Clause"
] | null | null | null | stacker/tests/test_lookups.py | GoodRx/stacker | 0cf1df67b4ae5aeda5845442c84905909101c238 | [
"BSD-2-Clause"
] | 1 | 2021-11-06T17:00:53.000Z | 2021-11-06T17:00:53.000Z | import unittest
from stacker.lookups import extract_lookups
class TestLookupExtraction(unittest.TestCase):
def test_no_lookups(self):
lookups = extract_lookups("value")
self.assertEqual(lookups, set())
def test_single_lookup_string(self):
lookups = extract_lookups("${output fakeStac... | 52.573171 | 329 | 0.734864 | 340 | 4,311 | 9.185294 | 0.208824 | 0.100865 | 0.069164 | 0.096061 | 0.838297 | 0.801153 | 0.714057 | 0.658662 | 0.643612 | 0.429715 | 0 | 0.059116 | 0.160288 | 4,311 | 81 | 330 | 53.222222 | 0.803591 | 0.006727 | 0 | 0.424242 | 0 | 0 | 0.461287 | 0.420819 | 0 | 0 | 0 | 0 | 0.318182 | 1 | 0.181818 | false | 0 | 0.030303 | 0 | 0.227273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1346233f45637a240358bc12d1960b79691ced42 | 84 | py | Python | index/apps.py | zhaoo/zhaooBlog | cc20315e2045ad4094b4b25dc0ca17992eb45a00 | [
"MIT"
] | 1 | 2022-03-03T16:51:03.000Z | 2022-03-03T16:51:03.000Z | index/apps.py | zhaoo/zhaooBlog | cc20315e2045ad4094b4b25dc0ca17992eb45a00 | [
"MIT"
] | null | null | null | index/apps.py | zhaoo/zhaooBlog | cc20315e2045ad4094b4b25dc0ca17992eb45a00 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class IndexConfig(AppConfig):
name = 'index'
| 16.8 | 33 | 0.75 | 10 | 84 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 4 | 34 | 21 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
136351ebee692bd9c83522986ff7e92a3df28c70 | 180 | py | Python | python/check_ml_device/check_torch_device.py | kierenAW/snippets_and_boilerplate_code | 806f75a0607c6a23dcc8c50d6abfbb5dc6a7e009 | [
"MIT"
] | 1 | 2020-02-26T22:21:24.000Z | 2020-02-26T22:21:24.000Z | python/check_ml_device/check_torch_device.py | kierenAW/snippets_and_boilerplate_code | 806f75a0607c6a23dcc8c50d6abfbb5dc6a7e009 | [
"MIT"
] | null | null | null | python/check_ml_device/check_torch_device.py | kierenAW/snippets_and_boilerplate_code | 806f75a0607c6a23dcc8c50d6abfbb5dc6a7e009 | [
"MIT"
] | null | null | null | print("Checking which device Torch is using....")
import torch
print("Is CUDA available?", torch.cuda.is_available())
print(torch.cuda.get_device_name(torch.cuda.current_device())) | 45 | 62 | 0.777778 | 27 | 180 | 5.037037 | 0.481481 | 0.198529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 180 | 4 | 62 | 45 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.320442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
13697a9275ef727f277913a26e999c41c32aadeb | 2,896 | py | Python | lBeaufifulSoup/resource.py | jieshenboy/jeckstockpick | 39219722a78212fa39eba860b2e945e45df58bff | [
"MIT"
] | 1 | 2018-03-24T10:03:27.000Z | 2018-03-24T10:03:27.000Z | lBeaufifulSoup/resource.py | jieshenboy/jeckstockpick | 39219722a78212fa39eba860b2e945e45df58bff | [
"MIT"
] | null | null | null | lBeaufifulSoup/resource.py | jieshenboy/jeckstockpick | 39219722a78212fa39eba860b2e945e45df58bff | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#-*- coding: utf-8 -*-
UserAgents = [
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; AcooBrowser; .NET CLR 1.1.4322; .NET CLR 2.0.50727)",
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Acoo Browser; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)",
"Mozil... | 27.846154 | 193 | 0.64779 | 612 | 2,896 | 3.062092 | 0.356209 | 0.054429 | 0.052828 | 0.025614 | 0.394344 | 0.265742 | 0.210245 | 0.1873 | 0.130736 | 0.115795 | 0 | 0.376869 | 0.122238 | 2,896 | 104 | 194 | 27.846154 | 0.360346 | 0.014157 | 0 | 0.032787 | 0 | 0.262295 | 0.882971 | 0.03679 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
138607496668e07a46b0811aa485f90af88dc300 | 250 | py | Python | src/gui/developerWindow.py | michael-stanin/Subtitles-Distributor | e4638d952235f96276729239596dc31d9ccc2ee1 | [
"MIT"
] | 1 | 2017-06-03T19:42:05.000Z | 2017-06-03T19:42:05.000Z | src/gui/developerWindow.py | michael-stanin/Subtitles-Distributor | e4638d952235f96276729239596dc31d9ccc2ee1 | [
"MIT"
] | null | null | null | src/gui/developerWindow.py | michael-stanin/Subtitles-Distributor | e4638d952235f96276729239596dc31d9ccc2ee1 | [
"MIT"
] | null | null | null | from .helpDialog import HelpDialog
from .ui.developerWindowUi import Ui_DeveloperWindow
class DeveloperWindow(HelpDialog, Ui_DeveloperWindow):
def __init__(self, *args, **kwargs):
super(DeveloperWindow, self).__init__(*args, **kwargs)
| 27.777778 | 62 | 0.768 | 26 | 250 | 7 | 0.5 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132 | 250 | 8 | 63 | 31.25 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1387a0a127c2bd81ee61ce4b8ccf08a1de02d6cc | 221 | py | Python | fabfile.py | dhruv-aggarwal/omnichannel | a39e6092b382572241629f9ee892f8bb6e10f4de | [
"MIT"
] | 2 | 2018-06-06T04:35:17.000Z | 2021-08-11T16:15:35.000Z | fabfile.py | dhruv-aggarwal/omnichannel | a39e6092b382572241629f9ee892f8bb6e10f4de | [
"MIT"
] | 1 | 2018-05-11T07:49:20.000Z | 2018-05-13T17:45:54.000Z | fabfile.py | dhruv-aggarwal/omnichannel | a39e6092b382572241629f9ee892f8bb6e10f4de | [
"MIT"
] | 1 | 2018-05-17T07:53:04.000Z | 2018-05-17T07:53:04.000Z | # from fabpolish import polish, sniff, info, local
# from fabpolish.contrib import (
# find_merge_conflict_leftovers, find_pep8_violations, fix_file_permission,
# python_code_analyzer, check_python_debug_info
# )
| 36.833333 | 79 | 0.79638 | 28 | 221 | 5.857143 | 0.785714 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.135747 | 221 | 5 | 80 | 44.2 | 0.853403 | 0.950226 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1399a7c5dfc980be51bb59a6438671f93ea30116 | 67 | py | Python | hello.py | dyrbrm/pynet-test | 78c600c35865810403ce6a4901635796fe22c65d | [
"Apache-2.0"
] | null | null | null | hello.py | dyrbrm/pynet-test | 78c600c35865810403ce6a4901635796fe22c65d | [
"Apache-2.0"
] | null | null | null | hello.py | dyrbrm/pynet-test | 78c600c35865810403ce6a4901635796fe22c65d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
for i in range(1):
print "Hello world!"
| 11.166667 | 23 | 0.626866 | 12 | 67 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.208955 | 67 | 5 | 24 | 13.4 | 0.773585 | 0.298507 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
13a00441693c4933c8684c388134787212b7b60d | 195 | py | Python | pages/forms.py | bineetgh/examday | c9dc1e3268237dbfff60df91c257b514ef4e0227 | [
"MIT"
] | null | null | null | pages/forms.py | bineetgh/examday | c9dc1e3268237dbfff60df91c257b514ef4e0227 | [
"MIT"
] | null | null | null | pages/forms.py | bineetgh/examday | c9dc1e3268237dbfff60df91c257b514ef4e0227 | [
"MIT"
] | null | null | null | from django import forms
from .models import Post
class PostCreationForm(forms.ModelForm):
class Meta:
model = Post
fields = ('exam', 'title', 'subtitle', 'content', 'url')
| 21.666667 | 64 | 0.651282 | 22 | 195 | 5.772727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225641 | 195 | 8 | 65 | 24.375 | 0.84106 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
13b708912bf22a449e7551a97fff687b0e4e19f3 | 23 | py | Python | t_eda_analysis/__init__.py | marvinmin/test_edapython | 3b759141acba56aea5f11aff45105c9be87aec3b | [
"MIT"
] | 41 | 2016-08-07T21:22:44.000Z | 2022-03-08T17:45:36.000Z | t_eda_analysis/__init__.py | marvinmin/test_edapython | 3b759141acba56aea5f11aff45105c9be87aec3b | [
"MIT"
] | 44 | 2021-02-26T19:15:19.000Z | 2021-03-20T00:07:51.000Z | t_eda_analysis/__init__.py | marvinmin/test_edapython | 3b759141acba56aea5f11aff45105c9be87aec3b | [
"MIT"
] | 16 | 2016-12-09T22:57:07.000Z | 2020-05-14T05:21:16.000Z | __version__ = '0.1.11'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
13cab9be46d37bd96f6993e4a1d2d8d231782db1 | 51,000 | py | Python | pandas/tests/tseries/offsets/test_yqm_offsets.py | gsyqax/pandas | cb35d8a938c9222d903482d2f66c62fece5a7aae | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"MIT-0",
"ECL-2.0",
"BSD-3-Clause"
] | 1 | 2020-04-26T22:11:21.000Z | 2020-04-26T22:11:21.000Z | pandas/tests/tseries/offsets/test_yqm_offsets.py | gsyqax/pandas | cb35d8a938c9222d903482d2f66c62fece5a7aae | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"MIT-0",
"ECL-2.0",
"BSD-3-Clause"
] | null | null | null | pandas/tests/tseries/offsets/test_yqm_offsets.py | gsyqax/pandas | cb35d8a938c9222d903482d2f66c62fece5a7aae | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"MIT-0",
"ECL-2.0",
"BSD-3-Clause"
] | null | null | null | """
Tests for Year, Quarter, and Month-based DateOffset subclasses
"""
from datetime import datetime
import pytest
import pandas as pd
from pandas import Timestamp
from pandas.tseries.offsets import (
BMonthBegin,
BMonthEnd,
BQuarterBegin,
BQuarterEnd,
BYearBegin,
BYearEnd,
MonthBegin,
... | 34.78854 | 76 | 0.506922 | 5,816 | 51,000 | 4.389615 | 0.031809 | 0.234548 | 0.075872 | 0.041676 | 0.870427 | 0.834391 | 0.79765 | 0.698786 | 0.582609 | 0.538386 | 0 | 0.19306 | 0.345627 | 51,000 | 1,465 | 77 | 34.812287 | 0.571929 | 0.011902 | 0 | 0.415228 | 0 | 0 | 0.012449 | 0.00131 | 0 | 0 | 0 | 0 | 0.05416 | 1 | 0.038462 | false | 0 | 0.005495 | 0 | 0.083203 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b915ac63e71e9e031c172100035dcc29d8c1b248 | 180 | py | Python | dpylint/checkers/basechecker.py | wasi-master/dpylint | 521db6085c1a4f981a59e5169acb50cfd04b89fd | [
"MIT"
] | 2 | 2021-08-10T16:43:34.000Z | 2022-03-14T08:41:12.000Z | dpylint/checkers/basechecker.py | wasi-master/dpylint | 521db6085c1a4f981a59e5169acb50cfd04b89fd | [
"MIT"
] | null | null | null | dpylint/checkers/basechecker.py | wasi-master/dpylint | 521db6085c1a4f981a59e5169acb50cfd04b89fd | [
"MIT"
] | null | null | null | import astroid
from pylint.checkers import BaseChecker
from pylint.interfaces import IAstroidChecker
class DiscordBaseChecker(BaseChecker):
__implements__ = IAstroidChecker
| 20 | 45 | 0.844444 | 17 | 180 | 8.705882 | 0.647059 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 180 | 8 | 46 | 22.5 | 0.936709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b93a6ae4cb36e3530132e41283fbf43476e724b3 | 111 | py | Python | readthestuff/__init__.py | playpauseandstop/readthestuff | 13024fef364cd6770326c48eb7806a6a9a75abb8 | [
"BSD-3-Clause"
] | 2 | 2015-10-27T07:23:19.000Z | 2015-11-05T16:50:04.000Z | readthestuff/__init__.py | playpauseandstop/readthestuff | 13024fef364cd6770326c48eb7806a6a9a75abb8 | [
"BSD-3-Clause"
] | null | null | null | readthestuff/__init__.py | playpauseandstop/readthestuff | 13024fef364cd6770326c48eb7806a6a9a75abb8 | [
"BSD-3-Clause"
] | null | null | null | """
============
readthestuff
============
Yet another Google Reader alternative built on top of Python.
"""
| 12.333333 | 61 | 0.567568 | 11 | 111 | 5.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 8 | 62 | 13.875 | 0.670213 | 0.90991 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b96bd25f85a2b0a985b147e15d0e58ef9ae18a24 | 153 | py | Python | Algoritimos/uri1019.py | mathspin/Algoritimos-py | 3a814dd924d9ee4c15ee4734170ed82f70e95479 | [
"MIT"
] | null | null | null | Algoritimos/uri1019.py | mathspin/Algoritimos-py | 3a814dd924d9ee4c15ee4734170ed82f70e95479 | [
"MIT"
] | null | null | null | Algoritimos/uri1019.py | mathspin/Algoritimos-py | 3a814dd924d9ee4c15ee4734170ed82f70e95479 | [
"MIT"
] | null | null | null | s = input("digite um valor em segundos: ")
h = int(int(s)/3600)
m = int((int(s)%3600)/60)
s = int((int(s)%3600)%60)
print (str(h)+":"+str(m)+":"+str(s))
| 25.5 | 42 | 0.562092 | 31 | 153 | 2.774194 | 0.451613 | 0.209302 | 0.244186 | 0.383721 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 0.124183 | 153 | 5 | 43 | 30.6 | 0.522388 | 0 | 0 | 0 | 0 | 0 | 0.202614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b97b428482bcf516996e391f3b4734f973e52b1d | 15 | py | Python | typewriter/annotations/tests/__init__.py | ezragoss/typewriter | 7d4e70864036190cc705dc22c465f838b522f3fe | [
"Apache-2.0"
] | 1,363 | 2017-11-13T23:46:52.000Z | 2022-03-31T17:23:58.000Z | typewriter/annotations/tests/__init__.py | ezragoss/typewriter | 7d4e70864036190cc705dc22c465f838b522f3fe | [
"Apache-2.0"
] | 91 | 2017-11-14T18:48:00.000Z | 2022-03-10T09:21:27.000Z | typewriter/annotations/tests/__init__.py | ezragoss/typewriter | 7d4e70864036190cc705dc22c465f838b522f3fe | [
"Apache-2.0"
] | 65 | 2017-11-16T05:38:02.000Z | 2022-02-11T15:38:21.000Z | # type: ignore
| 7.5 | 14 | 0.666667 | 2 | 15 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 1 | 15 | 15 | 0.833333 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9806e7bba2a089ec10d5b23d92d1e0683a7f091 | 61 | py | Python | src/helloworld.py | krzychb/readme-code-testing | 5ba816d64595fd04039db69047dc6d5bb3517f51 | [
"MIT"
] | null | null | null | src/helloworld.py | krzychb/readme-code-testing | 5ba816d64595fd04039db69047dc6d5bb3517f51 | [
"MIT"
] | null | null | null | src/helloworld.py | krzychb/readme-code-testing | 5ba816d64595fd04039db69047dc6d5bb3517f51 | [
"MIT"
] | null | null | null | def hello():
message = "v1.0.0 world"
return message
| 15.25 | 28 | 0.606557 | 9 | 61 | 4.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.262295 | 61 | 3 | 29 | 20.333333 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b9b77b94fa8d16d03628a356c57dde6fcfa91f8d | 539 | py | Python | tools/getcolor.py | cmhello/Material-Design-Avatars | a30e5fd168a7a9e149e3c28cb5cc2895cb5745b2 | [
"Apache-2.0"
] | 304 | 2015-04-30T03:45:47.000Z | 2022-03-01T16:17:55.000Z | tools/getcolor.py | cmhello/Material-Design-Avatars | a30e5fd168a7a9e149e3c28cb5cc2895cb5745b2 | [
"Apache-2.0"
] | 10 | 2015-04-30T07:26:24.000Z | 2019-01-02T13:06:50.000Z | tools/getcolor.py | cmhello/Material-Design-Avatars | a30e5fd168a7a9e149e3c28cb5cc2895cb5745b2 | [
"Apache-2.0"
] | 86 | 2015-05-01T06:32:32.000Z | 2020-12-11T12:35:17.000Z | #encoding=utf-8
from xml.dom import minidom
doc = minidom.parse("color.xml")
root = doc.documentElement
resources = root.getElementsByTagName("color")
for color in resources:
#print "0x"+color.childNodes[0].nodeValue.replace("#","")
print "array(",
print int("0x"+color.childNodes[0].nodeValue.replac... | 38.5 | 75 | 0.628942 | 69 | 539 | 4.913043 | 0.42029 | 0.082596 | 0.20059 | 0.212389 | 0.513274 | 0.513274 | 0.412979 | 0.412979 | 0.289086 | 0.289086 | 0 | 0.045553 | 0.144712 | 539 | 14 | 76 | 38.5 | 0.689805 | 0.128015 | 0 | 0.166667 | 0 | 0 | 0.072527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.583333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b9cce9415d41fa5e811592051a61e31fcc7b5674 | 238 | py | Python | rest_server/books/serializers.py | Air-t/bookstore-backend | b648f25d746b9f6fba3d8c7d7f45d8a8345b94be | [
"MIT"
] | null | null | null | rest_server/books/serializers.py | Air-t/bookstore-backend | b648f25d746b9f6fba3d8c7d7f45d8a8345b94be | [
"MIT"
] | null | null | null | rest_server/books/serializers.py | Air-t/bookstore-backend | b648f25d746b9f6fba3d8c7d7f45d8a8345b94be | [
"MIT"
] | null | null | null | from .models import Book
from rest_framework import serializers
class BookSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Book
fields = ("id", "author", "title", "isbn", "publisher", "genre")
| 26.444444 | 72 | 0.697479 | 24 | 238 | 6.875 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189076 | 238 | 8 | 73 | 29.75 | 0.854922 | 0 | 0 | 0 | 0 | 0 | 0.130252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b9e2fab4234308af87bf277b6f03180485948fd4 | 431 | py | Python | foodelivery/ext/config/__init__.py | araneto/foodelivery | 9c8c587307286d9f0b79206bf8464d8fff9073fa | [
"MIT"
] | null | null | null | foodelivery/ext/config/__init__.py | araneto/foodelivery | 9c8c587307286d9f0b79206bf8464d8fff9073fa | [
"MIT"
] | 1 | 2020-09-14T22:09:03.000Z | 2020-09-14T22:09:03.000Z | foodelivery/ext/config/__init__.py | araneto/foodelivery | 9c8c587307286d9f0b79206bf8464d8fff9073fa | [
"MIT"
] | null | null | null | def init_app(app):
app.config["SECRET_KEY"] = "passW0rd01"
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///foodelivery.db"
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
app.config["FLASK_ADMIN_SWATCH"] = "cerulean"
app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = False
if app.debug:
... | 43.1 | 70 | 0.714617 | 54 | 431 | 5.37037 | 0.555556 | 0.217241 | 0.144828 | 0.165517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.150812 | 431 | 9 | 71 | 47.888889 | 0.784153 | 0 | 0 | 0 | 0 | 0 | 0.482599 | 0.37587 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b9e854937fcf4de165bf8e2d59b5a553159c31c7 | 194 | py | Python | doges/serializers/role_serializer.py | Nunuzac/doges | fcd0343946bf0cb4f4a80bb910acea44dfa71b37 | [
"Apache-2.0"
] | null | null | null | doges/serializers/role_serializer.py | Nunuzac/doges | fcd0343946bf0cb4f4a80bb910acea44dfa71b37 | [
"Apache-2.0"
] | null | null | null | doges/serializers/role_serializer.py | Nunuzac/doges | fcd0343946bf0cb4f4a80bb910acea44dfa71b37 | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from doges.models import Role
class RoleSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Role
fields = ['id', 'name']
| 21.555556 | 61 | 0.752577 | 21 | 194 | 6.904762 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170103 | 194 | 8 | 62 | 24.25 | 0.900621 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b9f40ef2de3fd222559441bc2c6b9535e17570ea | 134 | py | Python | tests/__init__.py | geektutor/credo-python | 955b0c11af5bf170e2ba302a7857da49a330ce0b | [
"MIT"
] | 2 | 2022-03-07T21:10:00.000Z | 2022-03-13T12:38:06.000Z | tests/__init__.py | BdVade/credo-python | d9dc0cfb346fdfb6d389bb294ca7d0ea4cb15acf | [
"MIT"
] | null | null | null | tests/__init__.py | BdVade/credo-python | d9dc0cfb346fdfb6d389bb294ca7d0ea4cb15acf | [
"MIT"
] | null | null | null | SECRET_KEY = "sk_demo-dmq2ZsiZ23sKbgHBAZvRhQ25qBtnD1.7HWfBSGEZX-d"
PUBLIC_KEY = "pk_demo-fKq5DnKgI3ISchDxVEySOS4Z9X4hck.D1gJjoVG5p-d"
| 44.666667 | 66 | 0.865672 | 14 | 134 | 8 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 0.044776 | 134 | 2 | 67 | 67 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0.761194 | 0.761194 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9f58633ed3c365d97648336da2fccb1bea99586 | 19,157 | py | Python | modules/chempy/protein.py | markdoerr/pymol-open-source | b891b59ffaea812600648aa131ea2dbecd59a199 | [
"CNRI-Python"
] | null | null | null | modules/chempy/protein.py | markdoerr/pymol-open-source | b891b59ffaea812600648aa131ea2dbecd59a199 | [
"CNRI-Python"
] | null | null | null | modules/chempy/protein.py | markdoerr/pymol-open-source | b891b59ffaea812600648aa131ea2dbecd59a199 | [
"CNRI-Python"
] | null | null | null | #A* -------------------------------------------------------------------
#B* This file contains source code for the PyMOL computer program
#C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific.
#D* -------------------------------------------------------------------
#E* It is unlawful to modify or remove t... | 51.915989 | 116 | 0.352613 | 1,671 | 19,157 | 3.95392 | 0.143028 | 0.035417 | 0.015438 | 0.016346 | 0.739216 | 0.726502 | 0.696988 | 0.677161 | 0.647041 | 0.647041 | 0 | 0.011829 | 0.532234 | 19,157 | 368 | 117 | 52.057065 | 0.725477 | 0.12053 | 0 | 0.815534 | 0 | 0 | 0.035335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016181 | false | 0 | 0.029126 | 0 | 0.048544 | 0.012945 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 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 | 4 |
b9f82399bd13c1d0207096414c6576f4517afaf6 | 100 | py | Python | executors/python-django/sample/core/models.py | omaraboumrad/djanground | f153aabf68f8d500317d357ceaa558da61380b2a | [
"MIT"
] | 1 | 2017-11-25T20:22:14.000Z | 2017-11-25T20:22:14.000Z | executors/python-django/sample/core/models.py | omaraboumrad/dryorm | f153aabf68f8d500317d357ceaa558da61380b2a | [
"MIT"
] | 8 | 2017-11-26T21:57:16.000Z | 2017-12-26T08:53:17.000Z | executors/python-django/sample/core/models.py | omaraboumrad/djanground | f153aabf68f8d500317d357ceaa558da61380b2a | [
"MIT"
] | null | null | null | from django.db import models
class Question(models.Model):
name = models.TextField(null=True)
| 16.666667 | 38 | 0.75 | 14 | 100 | 5.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 39 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6a017025f8f0e30cc6bf48fcac31107e75e2940b | 3,099 | py | Python | Funny_Js_Crack/19-慕课网登陆破解/imooc.py | qqizai/Func_Js_Crack | 8cc8586107fecace4b71d0519cfbc760584171b1 | [
"MIT"
] | 18 | 2020-12-09T06:49:46.000Z | 2022-01-27T03:20:36.000Z | Funny_Js_Crack/19-慕课网登陆破解/imooc.py | sumerzhang/Func_Js_Crack | 8cc8586107fecace4b71d0519cfbc760584171b1 | [
"MIT"
] | null | null | null | Funny_Js_Crack/19-慕课网登陆破解/imooc.py | sumerzhang/Func_Js_Crack | 8cc8586107fecace4b71d0519cfbc760584171b1 | [
"MIT"
] | 9 | 2020-12-20T08:52:09.000Z | 2021-12-19T09:13:09.000Z | import execjs
import requests
def get_js_function(js_path, func_name, func_args):
'''
获取指定目录下的js代码, 并且指定js代码中函数的名字以及函数的参数。
:param js_path: js代码的位置
:param func_name: js代码中函数的名字
:param func_args: js代码中函数的参数
:return: 返回调用js函数的结果
'''
with open(js_path) as fp:
js = fp.read()
... | 45.573529 | 1,062 | 0.680542 | 418 | 3,099 | 4.956938 | 0.509569 | 0.027027 | 0.023166 | 0.03861 | 0.071429 | 0.042471 | 0.015444 | 0.015444 | 0 | 0 | 0 | 0.200077 | 0.158116 | 3,099 | 68 | 1,063 | 45.573529 | 0.594097 | 0.068732 | 0 | 0 | 0 | 0.045455 | 0.648983 | 0.398256 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.136364 | 0.045455 | 0 | 0.113636 | 0.022727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6a09db8130e206475f86639f4ebda4fe788235fd | 1,728 | py | Python | sdks/python/apache_beam/typehints/row_type.py | rehmanmuradali/beam | de8ff705145cbbc41bea7750a0a5d3553924ab3a | [
"Apache-2.0"
] | 1 | 2021-06-28T17:49:58.000Z | 2021-06-28T17:49:58.000Z | sdks/python/apache_beam/typehints/row_type.py | rehmanmuradali/beam | de8ff705145cbbc41bea7750a0a5d3553924ab3a | [
"Apache-2.0"
] | 9 | 2020-06-03T12:34:25.000Z | 2020-08-11T12:18:22.000Z | sdks/python/apache_beam/typehints/row_type.py | rehmanmuradali/beam | de8ff705145cbbc41bea7750a0a5d3553924ab3a | [
"Apache-2.0"
] | 1 | 2020-11-11T18:45:54.000Z | 2020-11-11T18:45:54.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not us... | 32 | 74 | 0.728588 | 247 | 1,728 | 4.927126 | 0.477733 | 0.049302 | 0.021364 | 0.026294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007102 | 0.185185 | 1,728 | 53 | 75 | 32.603774 | 0.857244 | 0.506366 | 0 | 0 | 0 | 0 | 0.016867 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 1 | 0.363636 | false | 0 | 0.136364 | 0.227273 | 0.863636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6a14bc88dbbdf32942a6544839e13e36df38a5a4 | 333 | py | Python | dev_up/models/utils/number_identifier.py | lordralinc/dev_up | e035afd386c8a16c574aaa7615c263f1c1369911 | [
"MIT"
] | 2 | 2021-01-10T15:44:41.000Z | 2021-01-10T15:59:48.000Z | dev_up/models/utils/number_identifier.py | lordralinc/dev_up | e035afd386c8a16c574aaa7615c263f1c1369911 | [
"MIT"
] | null | null | null | dev_up/models/utils/number_identifier.py | lordralinc/dev_up | e035afd386c8a16c574aaa7615c263f1c1369911 | [
"MIT"
] | 4 | 2021-01-10T15:45:19.000Z | 2021-03-05T20:09:57.000Z | from pydantic import BaseModel
class UtilsNumberIdentifierResponseGeo(BaseModel):
region: str
class UtilsNumberIdentifierResponse(BaseModel):
number: str
operator: str
operator_id: str
geo: UtilsNumberIdentifierResponseGeo
class UtilsNumberIdentifier(BaseModel):
response: UtilsNumberIdenti... | 19.588235 | 50 | 0.798799 | 26 | 333 | 10.192308 | 0.576923 | 0.083019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156156 | 333 | 16 | 51 | 20.8125 | 0.943061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6a1cf97386d34211a81e62092331222bcbf7e8fc | 52 | py | Python | test.py | schliffen/QuantResearch | 5df74a30c89151cf0019a4853d21a401ff0b8821 | [
"MIT"
] | null | null | null | test.py | schliffen/QuantResearch | 5df74a30c89151cf0019a4853d21a401ff0b8821 | [
"MIT"
] | null | null | null | test.py | schliffen/QuantResearch | 5df74a30c89151cf0019a4853d21a401ff0b8821 | [
"MIT"
] | null | null | null | #
#
#
import numpy as np
if __name__=='__main__':
| 6.5 | 24 | 0.634615 | 7 | 52 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 52 | 7 | 25 | 7.428571 | 0.609756 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6a2316efc93d7a185148b02a69ff4767e85bde60 | 231 | py | Python | crescent/functions/ref.py | mpolatcan/zepyhrus | 2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67 | [
"Apache-2.0"
] | 1 | 2020-03-26T19:20:03.000Z | 2020-03-26T19:20:03.000Z | crescent/functions/ref.py | mpolatcan/zepyhrus | 2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67 | [
"Apache-2.0"
] | null | null | null | crescent/functions/ref.py | mpolatcan/zepyhrus | 2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67 | [
"Apache-2.0"
] | null | null | null | from .fn import FnSingleValue
class Ref(FnSingleValue):
def __init__(self):
super(Ref, self).__init__(fn_name=Ref.__name__)
def Value(self, value: str):
return self._set_field(self.Value.__name__, value)
| 23.1 | 58 | 0.69697 | 31 | 231 | 4.580645 | 0.516129 | 0.126761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 231 | 9 | 59 | 25.666667 | 0.759358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e01ea800ab2285e98024ac692c88eac405df57cc | 3,783 | py | Python | networkx/algorithms/bipartite/__init__.py | LamprosYfantis/networkx | 4f957ad8abef63f0933dcc198468897fbcdabce2 | [
"BSD-3-Clause"
] | null | null | null | networkx/algorithms/bipartite/__init__.py | LamprosYfantis/networkx | 4f957ad8abef63f0933dcc198468897fbcdabce2 | [
"BSD-3-Clause"
] | null | null | null | networkx/algorithms/bipartite/__init__.py | LamprosYfantis/networkx | 4f957ad8abef63f0933dcc198468897fbcdabce2 | [
"BSD-3-Clause"
] | null | null | null | r""" This module provides functions and operations for bipartite
graphs. Bipartite graphs `B = (U, V, E)` have two node sets `U,V` and edges in
`E` that only connect nodes from opposite sets. It is common in the literature
to use an spatial analogy referring to the two node sets as top and bottom nodes.
The bipartite... | 42.988636 | 82 | 0.754956 | 614 | 3,783 | 4.617264 | 0.298046 | 0.08254 | 0.12381 | 0.120282 | 0.201764 | 0.043739 | 0.043739 | 0.025397 | 0 | 0 | 0 | 0.01153 | 0.151731 | 3,783 | 87 | 83 | 43.482759 | 0.871923 | 0.842189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.916667 | 0 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e02306c8bca73b51863ccbc9382ed1c8febcd572 | 68 | py | Python | Python/Topics/Escape sequences/Printing the path/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | Python/Topics/Escape sequences/Printing the path/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | null | null | null | Python/Topics/Escape sequences/Printing the path/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 1 | 2020-12-02T11:13:14.000Z | 2020-12-02T11:13:14.000Z | path = 'C:\\Users\\Public\\Desktop\\Temporary\\Newsletters'.lower()
| 34 | 67 | 0.705882 | 8 | 68 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 68 | 1 | 68 | 68 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0.735294 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e02371ddebd886ca53f97e92686e47b54ec775c2 | 261 | py | Python | apps/links/models.py | nmoeller/DjangoAngularJsWebsite | e77167f817171943eb4213b4101d93023e84058e | [
"MIT"
] | null | null | null | apps/links/models.py | nmoeller/DjangoAngularJsWebsite | e77167f817171943eb4213b4101d93023e84058e | [
"MIT"
] | 4 | 2020-06-05T17:34:55.000Z | 2021-09-07T23:47:10.000Z | apps/links/models.py | nmoeller/WebsiteWithDjangoAndAngular | 4310b1272a87161b9e70b2f5172afbc74570d7ff | [
"MIT"
] | null | null | null | from django.db import models
from ckeditor_uploader.fields import RichTextUploadingField
class Link(models.Model):
text = models.CharField(max_length=200)
link = models.CharField(max_length=200)
def __str__(self):
return self.text
| 18.642857 | 59 | 0.731801 | 33 | 261 | 5.575758 | 0.636364 | 0.108696 | 0.195652 | 0.26087 | 0.293478 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028436 | 0.191571 | 261 | 13 | 60 | 20.076923 | 0.843602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e02915cf701e1d7853e5f09b2f50e655272fb355 | 79 | py | Python | inept/__init__.py | StefanJMU/INEPT | 8af27b068c9e18e5b75204d7727c0d56ca2a8feb | [
"MIT"
] | null | null | null | inept/__init__.py | StefanJMU/INEPT | 8af27b068c9e18e5b75204d7727c0d56ca2a8feb | [
"MIT"
] | null | null | null | inept/__init__.py | StefanJMU/INEPT | 8af27b068c9e18e5b75204d7727c0d56ca2a8feb | [
"MIT"
] | null | null | null |
from ._inept import interval_partitioning
__all__ = ['interval_partitioning'] | 19.75 | 41 | 0.822785 | 8 | 79 | 7.25 | 0.75 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 4 | 42 | 19.75 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0.265823 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e0374bbd498641a2fa1c7cef52c5dfab8b317499 | 393 | py | Python | examples/sqlalchemy/booksapp/database/books.py | mwilliamson/python-graphlayer | d71d99c314aca07816ce6a1a7329d0d7fecdfb2f | [
"BSD-2-Clause"
] | 25 | 2019-03-11T16:48:52.000Z | 2021-05-02T03:23:20.000Z | examples/sqlalchemy/booksapp/database/books.py | mwilliamson/python-graphlayer | d71d99c314aca07816ce6a1a7329d0d7fecdfb2f | [
"BSD-2-Clause"
] | 9 | 2019-03-24T10:43:44.000Z | 2021-11-09T23:02:20.000Z | examples/sqlalchemy/booksapp/database/books.py | mwilliamson/python-graphlayer | d71d99c314aca07816ce6a1a7329d0d7fecdfb2f | [
"BSD-2-Clause"
] | 7 | 2018-12-30T17:52:07.000Z | 2021-05-02T03:23:35.000Z | import sqlalchemy
from .base import Base
class Book(Base):
__tablename__ = "book"
id = sqlalchemy.Column(sqlalchemy.Integer, primary_key=True)
title = sqlalchemy.Column(sqlalchemy.Unicode, nullable=False)
genre = sqlalchemy.Column(sqlalchemy.Unicode, nullable=False)
author_id = sqlalchemy.Column... | 30.230769 | 105 | 0.760814 | 45 | 393 | 6.511111 | 0.444444 | 0.21843 | 0.354949 | 0.191126 | 0.552901 | 0.313993 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132316 | 393 | 12 | 106 | 32.75 | 0.859238 | 0 | 0 | 0 | 0 | 0 | 0.033079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e07180470821bff8460bde88ff1f49eeb76c160f | 167 | py | Python | entmoot/optimizer/__init__.py | DavidWalz/entmoot-1 | 4fad534a569673c2254cae8e870b8bcd70fc6ccf | [
"BSD-3-Clause"
] | 27 | 2020-08-31T13:30:14.000Z | 2022-03-21T11:35:05.000Z | entmoot/optimizer/__init__.py | DavidWalz/entmoot-1 | 4fad534a569673c2254cae8e870b8bcd70fc6ccf | [
"BSD-3-Clause"
] | 2 | 2021-02-16T11:27:53.000Z | 2021-04-20T19:50:53.000Z | entmoot/optimizer/__init__.py | DavidWalz/entmoot-1 | 4fad534a569673c2254cae8e870b8bcd70fc6ccf | [
"BSD-3-Clause"
] | 6 | 2020-10-22T11:45:43.000Z | 2022-03-28T17:42:53.000Z | from .optimizer import Optimizer
from .entmoot_minimize import entmoot_minimize
from .entmootopti import EntmootOpti
__all__ = [
"Optimizer","entmoot_minimize"
]
| 20.875 | 46 | 0.802395 | 18 | 167 | 7.055556 | 0.388889 | 0.354331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131737 | 167 | 7 | 47 | 23.857143 | 0.875862 | 0 | 0 | 0 | 0 | 0 | 0.149701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0ed28aa43faa86af019bb0af2221f612ffe28618 | 241 | py | Python | plouflib/checksum.py | ravelsoft/ploufseo | 4f66286821d7d39219a2ee633a6f52b385023869 | [
"MIT"
] | 1 | 2020-12-09T06:29:12.000Z | 2020-12-09T06:29:12.000Z | plouflib/checksum.py | ravelsoft/ploufseo | 4f66286821d7d39219a2ee633a6f52b385023869 | [
"MIT"
] | null | null | null | plouflib/checksum.py | ravelsoft/ploufseo | 4f66286821d7d39219a2ee633a6f52b385023869 | [
"MIT"
] | 1 | 2020-12-09T06:29:14.000Z | 2020-12-09T06:29:14.000Z | import hashlib
class CheckSum:
def __init__(self,options):
self.options = options
def headers(self):
return ['Hash SHA1']
def process(self,request):
return [hashlib.sha1(request.HTML).hexdigest()]
| 18.538462 | 55 | 0.630705 | 27 | 241 | 5.481481 | 0.592593 | 0.148649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011173 | 0.257261 | 241 | 12 | 56 | 20.083333 | 0.815642 | 0 | 0 | 0 | 0 | 0 | 0.037344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0ee56d1c7c51e54b55e8978d94b25e3da6cc18dc | 27 | py | Python | data/studio21_generated/introductory/4598/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4598/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4598/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def calculate(n1, n2, o):
| 13.5 | 25 | 0.62963 | 5 | 27 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.185185 | 27 | 2 | 26 | 13.5 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
163df5ea39a647b0c36ed26f14512001fd9edf6e | 164 | py | Python | slrd/__init__.py | slro/slrd-backend | dc6029198d229c3df01f8d56a13cf7793b2fa927 | [
"Unlicense"
] | 2 | 2017-12-02T20:59:45.000Z | 2019-01-20T02:12:20.000Z | slrd/__init__.py | slro/slrd-backend | dc6029198d229c3df01f8d56a13cf7793b2fa927 | [
"Unlicense"
] | 4 | 2017-11-23T13:57:11.000Z | 2018-02-04T17:05:38.000Z | slrd/__init__.py | slro/slrd-backend | dc6029198d229c3df01f8d56a13cf7793b2fa927 | [
"Unlicense"
] | null | null | null | """."""
from flask import Flask
import logging
slrd = Flask(__name__)
from slrd.views import views
logging.getLogger(__name__).addHandler(logging.NullHandler())
| 16.4 | 61 | 0.768293 | 20 | 164 | 5.9 | 0.5 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 164 | 9 | 62 | 18.222222 | 0.808219 | 0.006098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
16605332597d0c0bb2829620e09f2712ef1a5bbf | 395 | py | Python | vns_web3/txpool.py | AMTcommunity/vns-web3.py | 9966be02be9f33c0341cf0abad59b7bf61e1ca92 | [
"MIT"
] | null | null | null | vns_web3/txpool.py | AMTcommunity/vns-web3.py | 9966be02be9f33c0341cf0abad59b7bf61e1ca92 | [
"MIT"
] | null | null | null | vns_web3/txpool.py | AMTcommunity/vns-web3.py | 9966be02be9f33c0341cf0abad59b7bf61e1ca92 | [
"MIT"
] | null | null | null | from vns_web3.module import (
Module,
)
class TxPool(Module):
@property
def content(self):
return self.web3.manager.request_blocking("txpool_content", [])
@property
def inspect(self):
return self.web3.manager.request_blocking("txpool_inspect", [])
@property
def status(sel... | 21.944444 | 71 | 0.668354 | 45 | 395 | 5.711111 | 0.377778 | 0.128405 | 0.163424 | 0.210117 | 0.536965 | 0.536965 | 0.536965 | 0.536965 | 0 | 0 | 0 | 0.01278 | 0.207595 | 395 | 17 | 72 | 23.235294 | 0.808307 | 0 | 0 | 0.230769 | 0 | 0 | 0.103797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.230769 | 0.615385 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.