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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72c513e601c5239356a8463c736d5b78ab39df34 | 3,866 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QStyleOption.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QStyleOption.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QStyleOption.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
class QStyleOption(__Shiboken.Object):
# no doc
def initFrom(self, *args, **kwargs): # real signature unk... | 48.325 | 105 | 0.755561 | 464 | 3,866 | 6.086207 | 0.209052 | 0.140227 | 0.276912 | 0.350567 | 0.633144 | 0.265935 | 0.220255 | 0.193343 | 0.148725 | 0.148725 | 0 | 0.003953 | 0.14925 | 3,866 | 79 | 106 | 48.936709 | 0.854667 | 0.167098 | 0 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0.075472 | 0.037736 | 0 | 0.90566 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
72ca16b82f0d24fc9dcf042ee8f0e729829630f2 | 919 | py | Python | github3/gists/comment.py | j2sol/github3.py | 1edaca378a11b5e03c9b472676912c4cacc3693a | [
"BSD-3-Clause"
] | null | null | null | github3/gists/comment.py | j2sol/github3.py | 1edaca378a11b5e03c9b472676912c4cacc3693a | [
"BSD-3-Clause"
] | null | null | null | github3/gists/comment.py | j2sol/github3.py | 1edaca378a11b5e03c9b472676912c4cacc3693a | [
"BSD-3-Clause"
] | 1 | 2019-01-02T09:58:57.000Z | 2019-01-02T09:58:57.000Z | # -*- coding: utf-8 -*-
"""
github3.gists.comment
---------------------
Module containing the logic for a GistComment
"""
from __future__ import unicode_literals
from ..models import BaseComment
from ..users import User
class GistComment(BaseComment):
"""This object represents a comment on a gist.
Two co... | 22.414634 | 70 | 0.626768 | 119 | 919 | 4.731092 | 0.605042 | 0.01421 | 0.021314 | 0.028419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018466 | 0.23395 | 919 | 40 | 71 | 22.975 | 0.78125 | 0.495103 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
72da43098b1b1268bf03584f64055835a99e0060 | 293 | py | Python | frappe/email/doctype/auto_email_report/test_auto_email_report.py | jsukrut/latest_lumajuan_frappe | 4d38ef0f548c6398a38a9d77ac678c9e829f32cf | [
"MIT"
] | null | null | null | frappe/email/doctype/auto_email_report/test_auto_email_report.py | jsukrut/latest_lumajuan_frappe | 4d38ef0f548c6398a38a9d77ac678c9e829f32cf | [
"MIT"
] | 7 | 2016-05-30T04:03:38.000Z | 2019-02-03T03:10:03.000Z | frappe/email/doctype/auto_email_report/test_auto_email_report.py | jsukrut/latest_lumajuan_frappe | 4d38ef0f548c6398a38a9d77ac678c9e829f32cf | [
"MIT"
] | 5 | 2015-07-22T04:52:43.000Z | 2016-10-07T01:51:21.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2015, Frappe Technologies and Contributors
# See license.txt
from __future__ import unicode_literals
import frappe
import unittest, json
# test_records = frappe.get_test_records('Auto Email Report')
class TestAutoEmailReport(unittest.TestCase):
pass | 24.416667 | 61 | 0.78157 | 37 | 293 | 5.972973 | 0.810811 | 0.099548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019531 | 0.12628 | 293 | 12 | 62 | 24.416667 | 0.84375 | 0.525597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
72f72ad8c7a551ba69cc68566dd886e9c91acd92 | 197 | py | Python | ingredients/serializers.py | jmhubbard/cocktail_api | 47c2cca699f02dc14af04b989beeee9855a797f0 | [
"Unlicense"
] | 1 | 2020-11-25T04:57:34.000Z | 2020-11-25T04:57:34.000Z | ingredients/serializers.py | jmhubbard/cocktail_api | 47c2cca699f02dc14af04b989beeee9855a797f0 | [
"Unlicense"
] | null | null | null | ingredients/serializers.py | jmhubbard/cocktail_api | 47c2cca699f02dc14af04b989beeee9855a797f0 | [
"Unlicense"
] | null | null | null | from rest_framework import serializers
from .models import Ingredient
class IngredientSerializer(serializers.ModelSerializer):
class Meta:
model = Ingredient
fields = '__all__' | 28.142857 | 56 | 0.756345 | 19 | 197 | 7.578947 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192893 | 197 | 7 | 57 | 28.142857 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0.035354 | 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 |
f40f4372f8a3eb971b2312c356dff9dd688f56eb | 916 | py | Python | py-pkg/tests/test_clients.py | paulokenza/uptasticsearch | 47108a0d75a9e4b9cb5260206dda13fe1c4a3f7e | [
"BSD-3-Clause"
] | 35 | 2017-06-29T03:23:12.000Z | 2019-04-02T14:02:12.000Z | py-pkg/tests/test_clients.py | paulokenza/uptasticsearch | 47108a0d75a9e4b9cb5260206dda13fe1c4a3f7e | [
"BSD-3-Clause"
] | 127 | 2017-07-13T05:09:32.000Z | 2019-05-26T01:16:38.000Z | py-pkg/tests/test_clients.py | paulokenza/uptasticsearch | 47108a0d75a9e4b9cb5260206dda13fe1c4a3f7e | [
"BSD-3-Clause"
] | 26 | 2017-07-11T21:58:01.000Z | 2018-10-25T00:58:26.000Z | """Integration Tests - test against each version of Elasticsearch
"""
import pytest
import json
import pandas as pd
from uptasticsearch.clients import Uptasticsearch1
from uptasticsearch.clients import Uptasticsearch2
from uptasticsearch.clients import Uptasticsearch5
from uptasticsearch.clients import Uptasticsearch6... | 26.941176 | 65 | 0.70524 | 101 | 916 | 6.316832 | 0.594059 | 0.197492 | 0.23511 | 0.291536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032394 | 0.224891 | 916 | 33 | 66 | 27.757576 | 0.866197 | 0.124454 | 0 | 0 | 0 | 0 | 0.04359 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.043478 | false | 0 | 0.434783 | 0 | 0.565217 | 0.043478 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f43e2436b5fb0ea792469028ff84d2b1786bb455 | 1,306 | py | Python | scripts/misc/config_abl_3dpush_alpha_asr.py | clvrai/mopa-pd | ac55f568149d8e79c28326bcd9b63336ed065a61 | [
"MIT"
] | 6 | 2021-11-04T01:38:17.000Z | 2022-02-20T11:42:42.000Z | scripts/misc/config_abl_3dpush_alpha_asr.py | clvrai/mopa-pd | ac55f568149d8e79c28326bcd9b63336ed065a61 | [
"MIT"
] | null | null | null | scripts/misc/config_abl_3dpush_alpha_asr.py | clvrai/mopa-pd | ac55f568149d8e79c28326bcd9b63336ed065a61 | [
"MIT"
] | 2 | 2021-11-29T14:15:48.000Z | 2021-12-18T15:10:05.000Z | filename_prefix = 'SawyerPush-Abl-Alpha-ASR'
xlabel = 'Environment steps (1.2M)'
ylabel = "Average Success Rate"
max_step = 1200000
max_y_axis_value = 1.0
legend = True
data_key = "train_ep/episode_success"
bc_y_value = 0
plot_labels = {
r'log($\alpha$): 0.5': ['abl._3DPush_ours_log_alpha_0.5_upbeat-serenity-599']... | 38.411765 | 83 | 0.617152 | 210 | 1,306 | 3.519048 | 0.371429 | 0.292287 | 0.219215 | 0.194858 | 0.32341 | 0.151556 | 0.092016 | 0.092016 | 0.092016 | 0.092016 | 0 | 0.087379 | 0.132466 | 1,306 | 34 | 84 | 38.411765 | 0.564872 | 0.239663 | 0 | 0 | 0 | 0 | 0.610942 | 0.341439 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f47299b849e6abcf7b739e4019122f8ade84c62b | 93 | py | Python | bokeh-app/scripts/__init__.py | ciaran-grant/bokeh-binder | d171a2aae64d190ff3ec0ca7dd110ccdb8913045 | [
"BSD-3-Clause"
] | null | null | null | bokeh-app/scripts/__init__.py | ciaran-grant/bokeh-binder | d171a2aae64d190ff3ec0ca7dd110ccdb8913045 | [
"BSD-3-Clause"
] | null | null | null | bokeh-app/scripts/__init__.py | ciaran-grant/bokeh-binder | d171a2aae64d190ff3ec0ca7dd110ccdb8913045 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu May 7 07:27:08 2020
@author: Ciaran
"""
| 11.625 | 36 | 0.516129 | 14 | 93 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0.27957 | 93 | 7 | 37 | 13.285714 | 0.537313 | 0.806452 | 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 |
f478ee7eb9568854b0f46a7be9626917010485bc | 1,296 | py | Python | stubs/3.2/zipfile.py | TimSimpsonR/mypy | 5e6fd6335e0662b0477e1d678269f33e6f4194ba | [
"PSF-2.0"
] | null | null | null | stubs/3.2/zipfile.py | TimSimpsonR/mypy | 5e6fd6335e0662b0477e1d678269f33e6f4194ba | [
"PSF-2.0"
] | null | null | null | stubs/3.2/zipfile.py | TimSimpsonR/mypy | 5e6fd6335e0662b0477e1d678269f33e6f4194ba | [
"PSF-2.0"
] | null | null | null | # TODO these are incomplete
from typing import overload, List, Undefined, Tuple, BinaryIO
ZIP_STORED = 0
ZIP_DEFLATED = 0
@overload
def is_zipfile(filename: str) -> bool: pass
@overload
def is_zipfile(filename: BinaryIO) -> bool: pass
class ZipInfo:
filename = ''
date_time = Undefined(Tuple[int, int, int, i... | 29.454545 | 65 | 0.612654 | 163 | 1,296 | 4.711656 | 0.337423 | 0.063802 | 0.078125 | 0.046875 | 0.421875 | 0.221354 | 0.151042 | 0.151042 | 0.151042 | 0.151042 | 0 | 0.008466 | 0.270833 | 1,296 | 43 | 66 | 30.139535 | 0.804233 | 0.01929 | 0 | 0.30303 | 0 | 0 | 0.007092 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 1 | 0.393939 | false | 0.393939 | 0.030303 | 0 | 0.606061 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f4800aebb90a11b9051bbbd64db058b5c9638294 | 376 | py | Python | src/study/190128_gen.py | jaeorin/Python | 366f84b96cfa0ae7dabf7fdfd48c18535997e2f4 | [
"MIT"
] | null | null | null | src/study/190128_gen.py | jaeorin/Python | 366f84b96cfa0ae7dabf7fdfd48c18535997e2f4 | [
"MIT"
] | null | null | null | src/study/190128_gen.py | jaeorin/Python | 366f84b96cfa0ae7dabf7fdfd48c18535997e2f4 | [
"MIT"
] | null | null | null | def iot_gen():
print("iot_gen 1")
yield 'a'
print("iot_gen 2")
print("iot_gen 2")
yield 'b'
print("iot_gen 3")
print("iot_gen 3")
print("iot_gen 3")
yield 'c'
print(next(iot_gen()))
print(next(iot_gen()))
print(next(iot_gen()))
gen = iot_gen()
print(next(gen))
print(next(gen))
pri... | 16.347826 | 40 | 0.603723 | 65 | 376 | 3.323077 | 0.230769 | 0.305556 | 0.305556 | 0.166667 | 0.555556 | 0.555556 | 0.555556 | 0.375 | 0 | 0 | 0 | 0.03 | 0.202128 | 376 | 22 | 41 | 17.090909 | 0.69 | 0 | 0 | 0.611111 | 0 | 0 | 0.151596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.055556 | 0.722222 | 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 |
be2e4081100947d4a550f297c485cea93002cabc | 60,898 | py | Python | trains/backend_api/services/v2_2/projects.py | doliveralg/trains | c99d3f36ba621153ff3c35859b8b6c946cdbc80b | [
"Apache-2.0"
] | 2 | 2021-07-30T13:42:46.000Z | 2021-11-17T11:01:45.000Z | trains/backend_api/services/v2_2/projects.py | doliveralg/trains | c99d3f36ba621153ff3c35859b8b6c946cdbc80b | [
"Apache-2.0"
] | 4 | 2020-09-26T00:55:57.000Z | 2022-02-10T01:18:20.000Z | trains/backend_api/services/v2_2/projects.py | doliveralg/trains | c99d3f36ba621153ff3c35859b8b6c946cdbc80b | [
"Apache-2.0"
] | 1 | 2019-08-19T04:17:15.000Z | 2019-08-19T04:17:15.000Z | """
projects service
Provides support for defining Projects containing Tasks, Models and Dataset Versions.
"""
from datetime import datetime
import six
from dateutil.parser import parse as parse_datetime
from ....backend_api.session import Request, Response, NonStrictDataModel, schema_property, StringEnum
class Mu... | 32.989166 | 262 | 0.543171 | 5,790 | 60,898 | 5.511399 | 0.045423 | 0.067688 | 0.044499 | 0.055623 | 0.77948 | 0.749209 | 0.721131 | 0.704115 | 0.658958 | 0.643258 | 0 | 0.00091 | 0.350094 | 60,898 | 1,845 | 263 | 33.007046 | 0.805372 | 0.097458 | 0 | 0.641791 | 0 | 0.006397 | 0.19402 | 0.018061 | 0 | 0 | 0 | 0 | 0.050462 | 1 | 0.098081 | false | 0 | 0.002843 | 0.042644 | 0.240227 | 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 |
be4137afe331f5a0fe0cbc2e51f8d32672087a38 | 315 | py | Python | data/signals.py | noirbizarre/pelican-data | 4be92437ea8aa40f604ae0fdc4d731ecc64f0e79 | [
"MIT"
] | 1 | 2020-03-17T21:34:26.000Z | 2020-03-17T21:34:26.000Z | data/signals.py | noirbizarre/pelican-data | 4be92437ea8aa40f604ae0fdc4d731ecc64f0e79 | [
"MIT"
] | 2 | 2020-03-17T21:35:15.000Z | 2022-03-13T01:04:54.000Z | data/signals.py | noirbizarre/pelican-data | 4be92437ea8aa40f604ae0fdc4d731ecc64f0e79 | [
"MIT"
] | null | null | null | from blinker import signal
data_generator_init = signal('data_generator_init')
data_generator_finalized = signal('data_generator_finalized')
data_writer_finalized = signal('data_writer_finalized')
data_generator_preread = signal('data_generator_preread')
data_generator_context = signal('data_generator_context')
| 35 | 61 | 0.853968 | 39 | 315 | 6.384615 | 0.282051 | 0.417671 | 0.381526 | 0.184739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 315 | 8 | 62 | 39.375 | 0.846939 | 0 | 0 | 0 | 0 | 0 | 0.342857 | 0.28254 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
be46f64ab983369f01986178aed14e039e0758da | 75 | py | Python | src/google_music_proto/musicmanager/constants.py | hedgepigdaniel/google-music-proto | 37fab538c7d6ca939736047e5137d46e0ff2f85f | [
"MIT"
] | 10 | 2018-10-20T01:06:10.000Z | 2021-10-05T12:05:36.000Z | src/google_music_proto/musicmanager/constants.py | hedgepigdaniel/google-music-proto | 37fab538c7d6ca939736047e5137d46e0ff2f85f | [
"MIT"
] | 11 | 2018-12-28T00:00:11.000Z | 2020-07-13T13:03:25.000Z | src/google_music_proto/musicmanager/constants.py | hedgepigdaniel/google-music-proto | 37fab538c7d6ca939736047e5137d46e0ff2f85f | [
"MIT"
] | 3 | 2019-05-15T17:58:33.000Z | 2020-08-17T13:53:41.000Z | __all__ = ['API_URL']
API_URL = 'https://android.clients.google.com/upsj'
| 18.75 | 51 | 0.706667 | 11 | 75 | 4.272727 | 0.818182 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 3 | 52 | 25 | 0.691176 | 0 | 0 | 0 | 0 | 0 | 0.613333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
be470142369cd319e31439260aa35482bfcbaa59 | 91 | py | Python | purchase/apps.py | kissops/ERPv | e5772f5e254d178bb29661d22401c9edcb6067ce | [
"MIT"
] | 2 | 2019-07-25T10:58:59.000Z | 2020-11-08T02:32:44.000Z | purchase/apps.py | kissops/ERPv-server | e5772f5e254d178bb29661d22401c9edcb6067ce | [
"MIT"
] | 21 | 2021-01-01T14:08:41.000Z | 2021-09-01T16:04:20.000Z | purchase/apps.py | kissops/ERPv-server | e5772f5e254d178bb29661d22401c9edcb6067ce | [
"MIT"
] | 1 | 2020-10-05T03:35:28.000Z | 2020-10-05T03:35:28.000Z | from django.apps import AppConfig
class PurchaseConfig(AppConfig):
name = "purchase"
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
be64336fe6d7b491ca24525d4bb71f44cb7492ef | 5,089 | py | Python | networkscanners/models.py | GMedian/archerysec | 9591fdb6b21ca56d77364d1433acbaff84437c7f | [
"BSD-3-Clause"
] | 1 | 2018-11-10T22:34:27.000Z | 2018-11-10T22:34:27.000Z | networkscanners/models.py | GMedian/archerysec | 9591fdb6b21ca56d77364d1433acbaff84437c7f | [
"BSD-3-Clause"
] | 8 | 2020-02-12T00:43:21.000Z | 2022-03-11T23:25:08.000Z | networkscanners/models.py | GMedian/archerysec | 9591fdb6b21ca56d77364d1433acbaff84437c7f | [
"BSD-3-Clause"
] | 1 | 2018-08-12T17:29:35.000Z | 2018-08-12T17:29:35.000Z | # -*- coding: utf-8 -*-
# _
# /\ | |
# / \ _ __ ___| |__ ___ _ __ _ _
# / /\ \ | '__/ __| '_ \ / _ \ '__| | | |
# / ____ \| | | (__| | | | __/ | | |_| |
#/_/ \_\_| \___|_| |_|\___|_| \__, |
# __/ |
# |... | 42.408333 | 70 | 0.704264 | 632 | 5,089 | 5.468354 | 0.169304 | 0.364583 | 0.46875 | 0.5625 | 0.732639 | 0.670428 | 0.438079 | 0.35706 | 0.332755 | 0.314815 | 0 | 0.002142 | 0.174298 | 5,089 | 120 | 71 | 42.408333 | 0.820324 | 0.075064 | 0 | 0.329897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030928 | 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 |
be911cdba75bbf9da0519aaf876628747580d1c5 | 168 | py | Python | calculos.py | tiagopariz/FaztCursoPythonParaPrincipiantes | 4a9e1c24baf4a60424791f5b80b18e89395839a1 | [
"MIT"
] | null | null | null | calculos.py | tiagopariz/FaztCursoPythonParaPrincipiantes | 4a9e1c24baf4a60424791f5b80b18e89395839a1 | [
"MIT"
] | null | null | null | calculos.py | tiagopariz/FaztCursoPythonParaPrincipiantes | 4a9e1c24baf4a60424791f5b80b18e89395839a1 | [
"MIT"
] | null | null | null | import matematica
matematica.add(1, 2)
matematica.subtract(1, 2)
from matematica import add
add(1, 2)
from matematica import add, subtract
subtract(1, 2)
add(1, 2) | 12.923077 | 36 | 0.744048 | 28 | 168 | 4.464286 | 0.25 | 0.08 | 0.12 | 0.256 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.06993 | 0.14881 | 168 | 13 | 37 | 12.923077 | 0.804196 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bea134192e6be0731226c8ce0884fd3efe181140 | 315 | py | Python | analysis/cec_python_library/cec2013/__init__.py | stevenjson/ALife2018-Lineage | 43ac2de8e9fa36dbbffda626cb4bc08780dc8e49 | [
"MIT"
] | 65 | 2016-04-07T10:53:45.000Z | 2022-03-21T00:48:32.000Z | analysis/cec_python_library/cec2013/__init__.py | stevenjson/ALife2018-Lineage | 43ac2de8e9fa36dbbffda626cb4bc08780dc8e49 | [
"MIT"
] | 5 | 2016-08-29T01:52:20.000Z | 2020-09-04T04:10:54.000Z | analysis/cec_python_library/cec2013/__init__.py | stevenjson/ALife2018-Lineage | 43ac2de8e9fa36dbbffda626cb4bc08780dc8e49 | [
"MIT"
] | 56 | 2015-08-08T04:24:05.000Z | 2022-02-28T08:43:11.000Z | ###############################################################################
# Version: 1.1
# Last modified on: 3 April, 2016
# Developers: Michael G. Epitropakis
# email: m_(DOT)_epitropakis_(AT)_lancaster_(DOT)_ac_(DOT)_uk
###############################################################################
| 45 | 79 | 0.352381 | 23 | 315 | 4.478261 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024306 | 0.085714 | 315 | 6 | 80 | 52.5 | 0.333333 | 0.460317 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
beaeb74afa35292fac7af82f13506c9f3d37db60 | 116 | py | Python | examples/ftplib.py | mikelolasagasti/bandit | 3dca7820158ea04668878186a29d34e81bbd7fe3 | [
"Apache-2.0"
] | 4,016 | 2018-04-26T13:01:54.000Z | 2022-03-31T15:57:41.000Z | examples/ftplib.py | lweslen/bandit | 2bd1ffaae1b83102af8587dcbeecd0b402dbec4e | [
"Apache-2.0"
] | 570 | 2018-04-26T10:07:41.000Z | 2022-03-29T18:55:09.000Z | examples/ftplib.py | lweslen/bandit | 2bd1ffaae1b83102af8587dcbeecd0b402dbec4e | [
"Apache-2.0"
] | 484 | 2018-04-26T09:59:46.000Z | 2022-03-31T18:00:50.000Z | from ftplib import FTP
ftp = FTP('ftp.debian.org')
ftp.login()
ftp.cwd('debian')
ftp.retrlines('LIST')
ftp.quit() | 12.888889 | 27 | 0.689655 | 19 | 116 | 4.210526 | 0.578947 | 0.225 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 116 | 9 | 28 | 12.888889 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
fe2385d81a80af74b3b37952cfb29d23f7f63ff5 | 1,282 | py | Python | encode.py | xiahualiu/AI-Cube | 5795306a2abde53d1000e71fa5b60e3c7532bfe6 | [
"MIT"
] | 1 | 2021-02-22T21:33:09.000Z | 2021-02-22T21:33:09.000Z | encode.py | xiahualiu/AI-Cube | 5795306a2abde53d1000e71fa5b60e3c7532bfe6 | [
"MIT"
] | null | null | null | encode.py | xiahualiu/AI-Cube | 5795306a2abde53d1000e71fa5b60e3c7532bfe6 | [
"MIT"
] | null | null | null | import numpy as np
def encode(state):
# This is the function that encode one single state
# We need to encode the [7,2] shaped state array into [1,168] shaped array
# befor we feed it to the RL network
#
# Input Size: 1 Input Type: cube.state (np.array.shape=[7,2])
... | 38.848485 | 103 | 0.593604 | 209 | 1,282 | 3.62201 | 0.272727 | 0.064729 | 0.129458 | 0.044914 | 0.815059 | 0.714663 | 0.529723 | 0.529723 | 0.529723 | 0.529723 | 0 | 0.063319 | 0.285491 | 1,282 | 33 | 104 | 38.848485 | 0.7631 | 0.50624 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fe26cd422d2daa21b30dbfb8685eab1cc0ad71f1 | 1,773 | py | Python | python/alchemy/examples/alchemy_language_v1.py | semplea/characters-meta | bf5a066b203648fec8658a76b79ddb3e5159b1ae | [
"MIT"
] | null | null | null | python/alchemy/examples/alchemy_language_v1.py | semplea/characters-meta | bf5a066b203648fec8658a76b79ddb3e5159b1ae | [
"MIT"
] | null | null | null | python/alchemy/examples/alchemy_language_v1.py | semplea/characters-meta | bf5a066b203648fec8658a76b79ddb3e5159b1ae | [
"MIT"
] | null | null | null | import json
from os.path import join, dirname
from watson_developer_cloud import AlchemyLanguageV1
alchemy_language = AlchemyLanguageV1(api_key='c851400276c1acbd020210847f8677e6d1577c26')
url = 'https://developer.ibm.com/watson/blog/2015/11/03/price-reduction-for-watson-personality-insights/'
print(json.dumps(alchem... | 63.321429 | 114 | 0.755781 | 246 | 1,773 | 5.329268 | 0.308943 | 0.20595 | 0.181541 | 0.272311 | 0.535469 | 0.491228 | 0.491228 | 0.436308 | 0.436308 | 0.147979 | 0 | 0.036196 | 0.080654 | 1,773 | 27 | 115 | 65.666667 | 0.768098 | 0.583756 | 0 | 0 | 0 | 0.111111 | 0.333795 | 0.055402 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
fe4cb3b9c7cad912d15766637cd5865a691507c9 | 657 | py | Python | tests/test_provider.py | ksu-is/spotify-downloader | 1a08703b8beff98540d6a7052d8393fe2c6fa551 | [
"MIT"
] | 6 | 2021-05-27T08:25:48.000Z | 2022-02-08T21:37:24.000Z | tests/test_provider.py | ksu-is/spotify-downloader | 1a08703b8beff98540d6a7052d8393fe2c6fa551 | [
"MIT"
] | null | null | null | tests/test_provider.py | ksu-is/spotify-downloader | 1a08703b8beff98540d6a7052d8393fe2c6fa551 | [
"MIT"
] | 1 | 2021-03-16T11:40:37.000Z | 2021-03-16T11:40:37.000Z | from spotdl.search.provider import _parse_duration
def test_parse_duration():
"""
Test the duration parsing
"""
assert _parse_duration("3:16") == float(196.0) # 3 min song
assert _parse_duration("20") == float(20.0) # 20 second song
assert _parse_duration("25:59") == float(1... | 43.8 | 75 | 0.625571 | 92 | 657 | 4.25 | 0.391304 | 0.332481 | 0.388747 | 0.117647 | 0.250639 | 0.132992 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.223744 | 657 | 15 | 76 | 43.8 | 0.666667 | 0.14003 | 0 | 0 | 0 | 0 | 0.067766 | 0 | 0 | 0 | 0 | 0 | 0.8 | 1 | 0.1 | true | 0 | 0.1 | 0 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe62f967664bafd322cfa82e9b1ae148d3a1f48a | 254 | py | Python | output/models/nist_data/atomic/duration/schema_instance/nistschema_sv_iv_atomic_duration_pattern_2_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/duration/schema_instance/nistschema_sv_iv_atomic_duration_pattern_2_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/duration/schema_instance/nistschema_sv_iv_atomic_duration_pattern_2_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.duration.schema_instance.nistschema_sv_iv_atomic_duration_pattern_2_xsd.nistschema_sv_iv_atomic_duration_pattern_2 import NistschemaSvIvAtomicDurationPattern2
__all__ = [
"NistschemaSvIvAtomicDurationPattern2",
]
| 42.333333 | 194 | 0.893701 | 28 | 254 | 7.428571 | 0.642857 | 0.201923 | 0.134615 | 0.192308 | 0.346154 | 0.346154 | 0.346154 | 0 | 0 | 0 | 0 | 0.016667 | 0.055118 | 254 | 5 | 195 | 50.8 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.141732 | 0.141732 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe7aae96ddfbe426af0215f6832659a1f80a4755 | 208 | py | Python | codeChef/practice/easy/decstr.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | codeChef/practice/easy/decstr.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | codeChef/practice/easy/decstr.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | for _ in xrange(int(raw_input())):
n = int(raw_input())
r = map(chr, (range(97, 123) * (n / 25)))
if n % 25 > 0:
r += map(chr, range(97, 98 + n % 25))
r.reverse()
print "".join(r)
| 26 | 45 | 0.480769 | 35 | 208 | 2.771429 | 0.571429 | 0.092784 | 0.226804 | 0.247423 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 0.298077 | 208 | 7 | 46 | 29.714286 | 0.554795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe8140c7a7ae5b1e761a51bf9bf84aac396bea70 | 79 | py | Python | sklearnModel.py | panthename/python | 03b56bb9d9eb477127cd7596bde965ab11af8bdf | [
"Apache-2.0"
] | null | null | null | sklearnModel.py | panthename/python | 03b56bb9d9eb477127cd7596bde965ab11af8bdf | [
"Apache-2.0"
] | null | null | null | sklearnModel.py | panthename/python | 03b56bb9d9eb477127cd7596bde965ab11af8bdf | [
"Apache-2.0"
] | null | null | null | from preprogress import get_dataset_XY
trainX,trainY,testX,testY,validX,validY | 26.333333 | 39 | 0.873418 | 12 | 79 | 5.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 79 | 3 | 39 | 26.333333 | 0.905405 | 0 | 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 |
fe864c535a838ee4e5c7d263c19d872b98b33e85 | 94 | py | Python | deduplipy/active_learning/__init__.py | koaning/deduplipy | bf6392af5d846c60083f9ac1d120a25281d13ceb | [
"MIT"
] | 51 | 2021-05-07T10:09:33.000Z | 2022-03-17T08:09:04.000Z | deduplipy/active_learning/__init__.py | koaning/deduplipy | bf6392af5d846c60083f9ac1d120a25281d13ceb | [
"MIT"
] | 7 | 2021-10-14T10:48:36.000Z | 2022-02-28T19:28:46.000Z | deduplipy/active_learning/__init__.py | koaning/deduplipy | bf6392af5d846c60083f9ac1d120a25281d13ceb | [
"MIT"
] | 7 | 2021-05-07T10:08:53.000Z | 2022-02-08T23:12:06.000Z | __all__ = ['ActiveStringMatchLearner']
from .active_learning import ActiveStringMatchLearner
| 23.5 | 53 | 0.851064 | 7 | 94 | 10.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 3 | 54 | 31.333333 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0.255319 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 |
fe8e74d65b47e2850573a19f573962754e17ed04 | 1,888 | py | Python | fuser/migrations/0013_auto_20210531_1129.py | Mustazur1234/Movement-Pass-Clone | c1d9805bdb3e0fe881b9631c594cacfe4009bd94 | [
"MIT"
] | 29 | 2021-06-01T20:38:00.000Z | 2021-09-14T05:02:07.000Z | fuser/migrations/0013_auto_20210531_1129.py | Mustazur1234/Movement-Pass-Clone | c1d9805bdb3e0fe881b9631c594cacfe4009bd94 | [
"MIT"
] | 1 | 2021-06-20T13:50:12.000Z | 2021-06-20T14:43:08.000Z | fuser/migrations/0013_auto_20210531_1129.py | Mustazur1234/Movement-Pass-Clone | c1d9805bdb3e0fe881b9631c594cacfe4009bd94 | [
"MIT"
] | 25 | 2021-06-03T13:29:47.000Z | 2021-08-31T16:04:43.000Z | # Generated by Django 3.1.5 on 2021-05-31 05:29
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('fuser', '0012_auto_20210531_1114'),
]
operations = [
migrations.RemoveField(
model_name='movementpassmodel',
name='district_... | 26.971429 | 63 | 0.538665 | 137 | 1,888 | 7.248175 | 0.364964 | 0.169184 | 0.209466 | 0.241692 | 0.43001 | 0.365559 | 0.118832 | 0 | 0 | 0 | 0 | 0.025389 | 0.353284 | 1,888 | 69 | 64 | 27.362319 | 0.787879 | 0.023835 | 0 | 0.587302 | 1 | 0 | 0.222162 | 0.012493 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.126984 | 0.015873 | 0 | 0.063492 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
fe91b684a0ddd2fe7627a892c62bedc730302f0c | 224 | py | Python | Mundo 1/Aula 8/EX020-Sorteando a Ordem da Lista.py | mandamg/Exercicios-de-Python-do-Curso-em-Video | 3f818c11c3c10213bebc1dfb6a740adee468ea3a | [
"MIT"
] | null | null | null | Mundo 1/Aula 8/EX020-Sorteando a Ordem da Lista.py | mandamg/Exercicios-de-Python-do-Curso-em-Video | 3f818c11c3c10213bebc1dfb6a740adee468ea3a | [
"MIT"
] | null | null | null | Mundo 1/Aula 8/EX020-Sorteando a Ordem da Lista.py | mandamg/Exercicios-de-Python-do-Curso-em-Video | 3f818c11c3c10213bebc1dfb6a740adee468ea3a | [
"MIT"
] | null | null | null | import random
n1= input('nome do aluno')
n2 = input('nome do aluno')
n3 = input('nome do aluno')
n4 = input('nome do aluno')
list = [n1, n2, n3, n4]
random.shuffle(list)
print('A ordem da lista de alunos será: ')
print(list) | 24.888889 | 42 | 0.678571 | 40 | 224 | 3.8 | 0.5 | 0.236842 | 0.289474 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.160714 | 224 | 9 | 43 | 24.888889 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.222222 | 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 |
fe91dba0fd04c86203e8b395785c7dbecd34ae6f | 238 | py | Python | backend/DjangoRestAuth/serializers.py | wutiancai/electron-vue-admin | 81528ea4a1a4dddf9fd6af28a104b6a1a0151169 | [
"MIT"
] | 2 | 2020-10-19T11:13:45.000Z | 2021-08-23T12:28:13.000Z | backend/DjangoRestAuth/serializers.py | wutiancai/electron-vue-admin | 81528ea4a1a4dddf9fd6af28a104b6a1a0151169 | [
"MIT"
] | null | null | null | backend/DjangoRestAuth/serializers.py | wutiancai/electron-vue-admin | 81528ea4a1a4dddf9fd6af28a104b6a1a0151169 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from DjangoRestAuth.models import Mods
# output serializer class for 'Mods' model
class ModSerializer(serializers.ModelSerializer):
class Meta:
model = Mods
fields = '__all__'
| 23.8 | 49 | 0.743697 | 26 | 238 | 6.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201681 | 238 | 9 | 50 | 26.444444 | 0.905263 | 0.172269 | 0 | 0 | 0 | 0 | 0.035897 | 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 |
22aaec7453febbb4ad32a6ccdad14f437d830504 | 144 | py | Python | build/scripts/overnight/python/test.py | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 133 | 2017-11-09T02:10:00.000Z | 2022-03-29T09:45:10.000Z | build/scripts/overnight/python/test.py | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 131 | 2017-11-07T14:48:43.000Z | 2022-03-13T15:30:47.000Z | build/scripts/overnight/python/test.py | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 94 | 2017-11-09T02:26:19.000Z | 2022-02-24T06:38:25.000Z | #!/usr/bin/python
import os
print "Content-Type: text/plain\n\n"
for key in os.environ.keys():
print "%30s %s \n" % (key,os.environ[key])
| 18 | 46 | 0.645833 | 26 | 144 | 3.576923 | 0.692308 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.152778 | 144 | 7 | 47 | 20.571429 | 0.745902 | 0.111111 | 0 | 0 | 0 | 0 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | 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 |
22b624ac639ed53ab8b4f0b6f2ab172646601c88 | 112 | py | Python | plugins/Example/Example.py | giruenf/GRIPy-3 | ea0f5175bbdd966ca2df956f4667a806d035e532 | [
"Apache-2.0"
] | null | null | null | plugins/Example/Example.py | giruenf/GRIPy-3 | ea0f5175bbdd966ca2df956f4667a806d035e532 | [
"Apache-2.0"
] | null | null | null | plugins/Example/Example.py | giruenf/GRIPy-3 | ea0f5175bbdd966ca2df956f4667a806d035e532 | [
"Apache-2.0"
] | null | null | null | from plugins import DefaultPlugin
class ExamplePlugin(DefaultPlugin):
def run(self):
print("oi")
| 14 | 35 | 0.696429 | 12 | 112 | 6.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 112 | 7 | 36 | 16 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
22b83757751349678f27b1483d5e824510cb202c | 84 | py | Python | Code/Python/__init__.py | MatuMikey/Project | 873e9b7cd1c1d4fe7c6fd922caf11046539debe7 | [
"MIT"
] | null | null | null | Code/Python/__init__.py | MatuMikey/Project | 873e9b7cd1c1d4fe7c6fd922caf11046539debe7 | [
"MIT"
] | null | null | null | Code/Python/__init__.py | MatuMikey/Project | 873e9b7cd1c1d4fe7c6fd922caf11046539debe7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Sep 16 15:58:22 2018
@author: user
"""
| 10.5 | 35 | 0.559524 | 14 | 84 | 3.357143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 0.214286 | 84 | 7 | 36 | 12 | 0.515152 | 0.869048 | 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 |
22caa254de386f225bed68d4ce21b54104443cc2 | 41 | py | Python | src/models/model.py | frenziek/pga_scraper | 7fb018d32a186eb4267663af276058c5831c7d67 | [
"MIT"
] | null | null | null | src/models/model.py | frenziek/pga_scraper | 7fb018d32a186eb4267663af276058c5831c7d67 | [
"MIT"
] | null | null | null | src/models/model.py | frenziek/pga_scraper | 7fb018d32a186eb4267663af276058c5831c7d67 | [
"MIT"
] | null | null | null | from pony.orm import *
db = Database()
| 8.2 | 22 | 0.658537 | 6 | 41 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 4 | 23 | 10.25 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
22f8bf34e2ff18b8b5d1ef853a15d08329c9a692 | 602 | py | Python | fbm/__init__.py | OSliusarenko/fbm | 049b56b8a15cd661d9c72048b14ba27c1bce0fb0 | [
"MIT"
] | null | null | null | fbm/__init__.py | OSliusarenko/fbm | 049b56b8a15cd661d9c72048b14ba27c1bce0fb0 | [
"MIT"
] | null | null | null | fbm/__init__.py | OSliusarenko/fbm | 049b56b8a15cd661d9c72048b14ba27c1bce0fb0 | [
"MIT"
] | null | null | null | # flake8: noqa
from .__version__ import __version__
from .__version__ import __description__
from .__version__ import __url__
from .__version__ import __title__
from .__version__ import __author__
from .__version__ import __author_email__
from .__version__ import __license__
from .__version__ import __copyright__
from ... | 21.5 | 43 | 0.752492 | 76 | 602 | 4.934211 | 0.25 | 0.264 | 0.408 | 0.122667 | 0.24 | 0.24 | 0.24 | 0 | 0 | 0 | 0 | 0.00202 | 0.177741 | 602 | 27 | 44 | 22.296296 | 0.755556 | 0.019934 | 0 | 0 | 0 | 0 | 0.039116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.64 | 0 | 0.64 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
22f99cacb1a7eef23dfc443ae45e2928f106acd1 | 2,387 | py | Python | src/hdx/freshness/testdata/dbtestdataset.py | mcarans/hdx-data-freshness | b378e68ba8f1f66aaea49fefb2b0cc209df45080 | [
"MIT"
] | null | null | null | src/hdx/freshness/testdata/dbtestdataset.py | mcarans/hdx-data-freshness | b378e68ba8f1f66aaea49fefb2b0cc209df45080 | [
"MIT"
] | null | null | null | src/hdx/freshness/testdata/dbtestdataset.py | mcarans/hdx-data-freshness | b378e68ba8f1f66aaea49fefb2b0cc209df45080 | [
"MIT"
] | null | null | null | """SQLAlchemy class representing DBTestDataset row. Holds test data for datasets with
the aim of mimicking what would come from HDX.
"""
from hdx.database import Base
from sqlalchemy import Boolean, Column, String
class DBTestDataset(Base):
"""
id = Column(String, primary_key=True)\
organization_id = Colu... | 41.877193 | 119 | 0.717218 | 280 | 2,387 | 5.921429 | 0.225 | 0.209891 | 0.168878 | 0.211098 | 0.683957 | 0.683957 | 0.634499 | 0.634499 | 0.634499 | 0.634499 | 0 | 0 | 0.175953 | 2,387 | 56 | 120 | 42.625 | 0.842908 | 0.396313 | 0 | 0 | 0 | 0 | 0.252391 | 0.228109 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.807692 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
22fa2e6ae60f47845b185b050fadbb54e8f0d243 | 83 | py | Python | src/masonite/demo_package/__init__.py | girardinsamuel/masonite-demo-package | 95c47c3cfed70862fd12023ef41240ac7a508ccd | [
"MIT"
] | null | null | null | src/masonite/demo_package/__init__.py | girardinsamuel/masonite-demo-package | 95c47c3cfed70862fd12023ef41240ac7a508ccd | [
"MIT"
] | 3 | 2021-10-30T13:58:32.000Z | 2022-03-07T11:15:42.000Z | src/masonite/demo_package/__init__.py | girardinsamuel/masonite-demo-package | 95c47c3cfed70862fd12023ef41240ac7a508ccd | [
"MIT"
] | null | null | null | # flake8: noqa F401
from .providers.DemoPackageProvider import DemoPackageProvider
| 27.666667 | 62 | 0.855422 | 8 | 83 | 8.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.096386 | 83 | 2 | 63 | 41.5 | 0.893333 | 0.204819 | 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 |
fe1e8be6a0c24aa2d0e31229c5f58a8978c6b832 | 183 | py | Python | 0x03-python-data_structures/dev/9-main.py | johncoleman83/bootcampschool-higher_level_programming | a83c3b7092cfe893c87e495f8d8eec9228c9b808 | [
"MIT"
] | null | null | null | 0x03-python-data_structures/dev/9-main.py | johncoleman83/bootcampschool-higher_level_programming | a83c3b7092cfe893c87e495f8d8eec9228c9b808 | [
"MIT"
] | null | null | null | 0x03-python-data_structures/dev/9-main.py | johncoleman83/bootcampschool-higher_level_programming | a83c3b7092cfe893c87e495f8d8eec9228c9b808 | [
"MIT"
] | 1 | 2020-09-25T17:54:36.000Z | 2020-09-25T17:54:36.000Z | #!/usr/bin/python3
max_integer = __import__('9-max_integer').max_integer
my_list = [1, 90, 2, 13, 34, 5, -13, 3]
max_value = max_integer(my_list)
print("Max: {}".format(max_value))
| 22.875 | 53 | 0.688525 | 32 | 183 | 3.5625 | 0.59375 | 0.350877 | 0.210526 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 0.114754 | 183 | 7 | 54 | 26.142857 | 0.617284 | 0.092896 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 |
a3cc7e956754e2324dc114917f323b305f721dd4 | 52 | py | Python | onepiece/__main__.py | wangyung/TencentComicBook | 570dfac19fc04b328209bc8e6821748559522e52 | [
"MIT"
] | 1 | 2019-04-09T13:09:15.000Z | 2019-04-09T13:09:15.000Z | onepiece/__main__.py | wangyung/TencentComicBook | 570dfac19fc04b328209bc8e6821748559522e52 | [
"MIT"
] | null | null | null | onepiece/__main__.py | wangyung/TencentComicBook | 570dfac19fc04b328209bc8e6821748559522e52 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .cli import main
main()
| 10.4 | 21 | 0.692308 | 9 | 52 | 4 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 4 | 22 | 13 | 0.818182 | 0.384615 | 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 |
a3dd1a8dd04a88e1af49e3e7a65561c36049f2f2 | 91 | py | Python | django_gotolong/dematsum/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 15 | 2019-12-06T16:19:45.000Z | 2021-08-20T13:22:22.000Z | django_gotolong/dematsum/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 14 | 2020-12-08T10:45:05.000Z | 2021-09-21T17:23:45.000Z | django_gotolong/dematsum/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 9 | 2020-01-01T03:04:29.000Z | 2021-04-18T08:42:30.000Z | from django.apps import AppConfig
class DematsumConfig(AppConfig):
name = 'dematsum'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
a3e1bf9b98737c6504ffdfdcb8fd29731b0ce414 | 12,493 | py | Python | sdk/python/pulumi_sysdig/user.py | Sysdig-Hackathon-Picasso/pulumi-sysdig | e25b655f6ad4a5f52678bc445be2d59f28f5bb4b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_sysdig/user.py | Sysdig-Hackathon-Picasso/pulumi-sysdig | e25b655f6ad4a5f52678bc445be2d59f28f5bb4b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_sysdig/user.py | Sysdig-Hackathon-Picasso/pulumi-sysdig | e25b655f6ad4a5f52678bc445be2d59f28f5bb4b | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-12-01T08:57:09.000Z | 2021-12-01T08:57:09.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 37.972644 | 134 | 0.613544 | 1,550 | 12,493 | 4.703226 | 0.098065 | 0.090535 | 0.103704 | 0.099588 | 0.777366 | 0.752538 | 0.722771 | 0.696845 | 0.689849 | 0.668587 | 0 | 0.001219 | 0.277756 | 12,493 | 328 | 135 | 38.088415 | 0.806716 | 0.269031 | 0 | 0.670157 | 1 | 0 | 0.079126 | 0.002614 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157068 | false | 0.005236 | 0.026178 | 0.010471 | 0.277487 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
430b57a36f264593e664e67adabb9a7630af6980 | 955 | py | Python | armulator/armv6/all_registers/vtcr.py | matan1008/armulator | 04d24dcec6ab42326018f5e09331e5b4738d6b52 | [
"MIT"
] | 16 | 2018-01-22T14:36:49.000Z | 2021-12-17T15:39:52.000Z | armulator/armv6/all_registers/vtcr.py | AhmedMounir/armulator | 04d24dcec6ab42326018f5e09331e5b4738d6b52 | [
"MIT"
] | 3 | 2019-02-19T17:51:47.000Z | 2022-03-31T20:45:21.000Z | armulator/armv6/all_registers/vtcr.py | AhmedMounir/armulator | 04d24dcec6ab42326018f5e09331e5b4738d6b52 | [
"MIT"
] | 4 | 2020-06-18T23:51:03.000Z | 2022-02-09T17:43:13.000Z | from armulator.armv6.all_registers.abstract_register import AbstractRegister
class VTCR(AbstractRegister):
"""
Virtualization Translation Control Register
"""
def __init__(self):
super(VTCR, self).__init__()
def set_sh0(self, sh0):
self.value[18:20] = sh0
def get_sh0(self):
... | 20.319149 | 76 | 0.608377 | 135 | 955 | 4.140741 | 0.274074 | 0.193202 | 0.150268 | 0.203936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093391 | 0.271204 | 955 | 46 | 77 | 20.76087 | 0.70977 | 0.045026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.464286 | false | 0 | 0.035714 | 0.214286 | 0.75 | 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 |
43361f67bff3ccf062302e763a5c85b9a61faf29 | 46 | py | Python | docs/docs/editing_wikidata/wikidata.py | UB-Mannheim/NFDI | a66d3bdbf967ea508f5281dec4595a6005fb8f21 | [
"MIT"
] | 1 | 2021-10-01T18:37:17.000Z | 2021-10-01T18:37:17.000Z | docs/docs/editing_wikidata/wikidata.py | UB-Mannheim/NFDI | a66d3bdbf967ea508f5281dec4595a6005fb8f21 | [
"MIT"
] | null | null | null | docs/docs/editing_wikidata/wikidata.py | UB-Mannheim/NFDI | a66d3bdbf967ea508f5281dec4595a6005fb8f21 | [
"MIT"
] | 1 | 2021-09-29T15:51:55.000Z | 2021-09-29T15:51:55.000Z | wduser = "" # username
wdpass = "" # password
| 15.333333 | 22 | 0.608696 | 4 | 46 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 23 | 23 | 0.777778 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
433ef699ae18f1435d1d1881581b98d018134dff | 2,951 | py | Python | ravem/indico_ravem/api.py | ThiefMaster/indico-plugins-cern | 0082a66dd21ac093c1a31316d12c338f52ffe2d0 | [
"MIT"
] | 4 | 2019-02-12T05:08:56.000Z | 2022-03-09T23:43:18.000Z | ravem/indico_ravem/api.py | ThiefMaster/indico-plugins-cern | 0082a66dd21ac093c1a31316d12c338f52ffe2d0 | [
"MIT"
] | 40 | 2017-11-08T15:08:50.000Z | 2022-03-28T15:09:51.000Z | ravem/indico_ravem/api.py | ThiefMaster/indico-plugins-cern | 0082a66dd21ac093c1a31316d12c338f52ffe2d0 | [
"MIT"
] | 15 | 2017-11-08T12:35:59.000Z | 2022-01-13T15:16:42.000Z | # This file is part of the CERN Indico plugins.
# Copyright (C) 2014 - 2021 CERN
#
# The CERN Indico plugins are free software; you can redistribute
# them and/or modify them under the terms of the MIT License; see
# the LICENSE file for more details.
from abc import ABCMeta, abstractmethod
from indico_ravem.util imp... | 37.35443 | 111 | 0.675025 | 410 | 2,951 | 4.7 | 0.285366 | 0.058121 | 0.029061 | 0.041515 | 0.586404 | 0.586404 | 0.556305 | 0.556305 | 0.52932 | 0.476388 | 0 | 0.004072 | 0.251101 | 2,951 | 78 | 112 | 37.833333 | 0.867873 | 0.514402 | 0 | 0.444444 | 0 | 0 | 0.095469 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0.111111 | 0.074074 | 0.111111 | 0.592593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
4341be406540f0273797ecec9186c36afda054dc | 297 | py | Python | pages/locators.py | edwlad/stepik-test-final | c6e46e1ace867b3d9bc8f74802d7f6e4591c2a52 | [
"MIT"
] | null | null | null | pages/locators.py | edwlad/stepik-test-final | c6e46e1ace867b3d9bc8f74802d7f6e4591c2a52 | [
"MIT"
] | null | null | null | pages/locators.py | edwlad/stepik-test-final | c6e46e1ace867b3d9bc8f74802d7f6e4591c2a52 | [
"MIT"
] | null | null | null | from selenium.webdriver.common.by import By
class MainPageLocators():
LOGIN_LINK = (By.CSS_SELECTOR, '#login_link')
class LoginPageLocators():
LOGIN_FORM = (By.CSS_SELECTOR, '#login_form')
REGISTER_FORM = (By.CSS_SELECTOR, '#register_form')
class ProductPageLocators():
pass
| 19.8 | 55 | 0.727273 | 35 | 297 | 5.914286 | 0.485714 | 0.072464 | 0.188406 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 297 | 14 | 56 | 21.214286 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 0.875 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
4348e354901b31b244568efe5c310e05cd045da6 | 28 | py | Python | esmvalcore/cmor/_fixes/cmip6/__init__.py | Peter9192/ESMValCore | febd96a39480cc837afbf4e1f5b0ef61571af76a | [
"Apache-2.0"
] | 26 | 2019-06-07T07:50:07.000Z | 2022-03-22T21:04:01.000Z | esmvalcore/cmor/_fixes/cmip6/__init__.py | Peter9192/ESMValCore | febd96a39480cc837afbf4e1f5b0ef61571af76a | [
"Apache-2.0"
] | 1,370 | 2019-06-06T09:03:07.000Z | 2022-03-31T04:37:20.000Z | esmvalcore/cmor/_fixes/cmip6/__init__.py | Peter9192/ESMValCore | febd96a39480cc837afbf4e1f5b0ef61571af76a | [
"Apache-2.0"
] | 26 | 2019-07-03T13:08:48.000Z | 2022-03-02T16:08:47.000Z | """Fixes for CMIP6 data."""
| 14 | 27 | 0.607143 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.142857 | 28 | 1 | 28 | 28 | 0.666667 | 0.75 | 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 |
4a29e6c7a4a2b7d4bdaa36b49bb1a5cd3898e0f6 | 176 | py | Python | dssm/__init__.py | luozhouyang/dssm | fedde30b79f96467a22568df083d2bd5d5b21a84 | [
"Apache-2.0"
] | 18 | 2019-06-24T02:32:54.000Z | 2022-01-12T09:31:55.000Z | dssm/__init__.py | luozhouyang/dssm | fedde30b79f96467a22568df083d2bd5d5b21a84 | [
"Apache-2.0"
] | 3 | 2020-11-13T18:37:25.000Z | 2022-02-10T00:29:43.000Z | dssm/__init__.py | luozhouyang/dssm | fedde30b79f96467a22568df083d2bd5d5b21a84 | [
"Apache-2.0"
] | 9 | 2019-10-31T03:22:32.000Z | 2022-03-07T05:49:41.000Z | from easylib.log import TimedRotatingLoggerInitializer
name = 'dssm'
initializer = TimedRotatingLoggerInitializer(name='dssm', path='/tmp/dssm.log')
initializer.initialize()
| 25.142857 | 79 | 0.806818 | 17 | 176 | 8.352941 | 0.647059 | 0.478873 | 0.535211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 176 | 6 | 80 | 29.333333 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
4a37e6c8c1e92f5f1cf5864c95af19626231a40c | 502 | py | Python | tests/test_import.py | rathnadeep/cbapi-python | 55375d8796a9d88d00bd16df13d71a2d8d76dd9c | [
"MIT"
] | 3 | 2019-01-23T19:11:33.000Z | 2022-02-25T02:06:51.000Z | tests/test_import.py | rathnadeep/cbapi-python | 55375d8796a9d88d00bd16df13d71a2d8d76dd9c | [
"MIT"
] | 1 | 2021-03-31T19:51:07.000Z | 2021-03-31T19:51:07.000Z | tests/test_import.py | jjfallete/cbapi-python | 8b92584edca5605cd94afa7656fd04c282b875b8 | [
"MIT"
] | 3 | 2019-03-12T23:01:28.000Z | 2021-07-23T03:57:22.000Z | import unittest
from nose.tools import assert_raises
from cbapi import CbEnterpriseProtectionAPI, CbEnterpriseResponseAPI
from cbapi.errors import CredentialError
class TestBasicImport(unittest.TestCase):
def setUp(self):
pass
def test_import(self):
pass
def test_cbep_credential_error(... | 23.904762 | 68 | 0.778884 | 51 | 502 | 7.470588 | 0.470588 | 0.094488 | 0.057743 | 0.07874 | 0.372703 | 0.372703 | 0.372703 | 0 | 0 | 0 | 0 | 0 | 0.171315 | 502 | 20 | 69 | 25.1 | 0.915865 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.307692 | false | 0.153846 | 0.461538 | 0 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
4a451cc7d23ed1fe9d92ae767884df32c7311fb6 | 293 | py | Python | server/inference_api/__init__.py | TreeinRandomForest/logo-detector | c957032b1fcbce32dfd55a3a21e2ace44ee0ee4b | [
"MIT"
] | 1 | 2021-03-25T17:09:40.000Z | 2021-03-25T17:09:40.000Z | server/inference_api/__init__.py | TreeinRandomForest/logo-detector | c957032b1fcbce32dfd55a3a21e2ace44ee0ee4b | [
"MIT"
] | 6 | 2021-03-10T09:57:47.000Z | 2022-03-12T00:21:00.000Z | server/inference_api/__init__.py | TreeinRandomForest/logo-detector | c957032b1fcbce32dfd55a3a21e2ace44ee0ee4b | [
"MIT"
] | 1 | 2020-04-06T14:20:31.000Z | 2020-04-06T14:20:31.000Z | from flask import Flask
from inference_api.config import Config
def create_app(app_name):
inference_api = Flask(app_name)
inference_api.config.from_object(Config)
from inference_api.v1 import v1
inference_api.register_blueprint(v1, url_prefix='')
return inference_api
| 20.928571 | 55 | 0.774744 | 42 | 293 | 5.119048 | 0.404762 | 0.334884 | 0.148837 | 0.176744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.16041 | 293 | 13 | 56 | 22.538462 | 0.861789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0.125 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4a6423a10f7b208bff075f5fd2eb5d9e056e544d | 289 | py | Python | ex5-6.py | yiyidhuang/PythonCrashCrouse2nd | 3512f9ab8fcf32c6145604a37e2a62feddf174d1 | [
"MIT"
] | null | null | null | ex5-6.py | yiyidhuang/PythonCrashCrouse2nd | 3512f9ab8fcf32c6145604a37e2a62feddf174d1 | [
"MIT"
] | null | null | null | ex5-6.py | yiyidhuang/PythonCrashCrouse2nd | 3512f9ab8fcf32c6145604a37e2a62feddf174d1 | [
"MIT"
] | null | null | null | age = 99
if age < 2:
print("This man is a baby.")
elif age < 4:
print("This man is child.")
elif age < 13:
print("This man is children.")
elif age < 20:
print("This man is teenagers.")
elif age < 65:
print("This man is adult.")
else:
print("This man is old man.")
| 19.266667 | 35 | 0.595156 | 50 | 289 | 3.44 | 0.42 | 0.313953 | 0.418605 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046729 | 0.259516 | 289 | 14 | 36 | 20.642857 | 0.757009 | 0 | 0 | 0 | 0 | 0 | 0.408305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.461538 | 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 |
4a775e3e7ce963800717e4cf8c375629e61f6aac | 13,353 | py | Python | test/regression/daily/chaincodeTests/envsetup/testYourChaincode.py | trust-tech/fabric | 1cdbfc04fc9d65b58b13718b78585dae48c1b69c | [
"Apache-2.0"
] | 1 | 2021-04-29T09:03:01.000Z | 2021-04-29T09:03:01.000Z | test/regression/daily/chaincodeTests/envsetup/testYourChaincode.py | trust-tech/fabric | 1cdbfc04fc9d65b58b13718b78585dae48c1b69c | [
"Apache-2.0"
] | null | null | null | test/regression/daily/chaincodeTests/envsetup/testYourChaincode.py | trust-tech/fabric | 1cdbfc04fc9d65b58b13718b78585dae48c1b69c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python2.7
import subprocess
import unittest
from subprocess import check_output
class ChaincodeAPI(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.CHANNEL_NAME = "channel"
cls.CHANNELS = '2'
cls.CHAINCODES = '1'
cls.ENDORSERS = '4'
check_output(["./... | 59.084071 | 206 | 0.709503 | 1,484 | 13,353 | 6.259434 | 0.143531 | 0.091721 | 0.058133 | 0.063301 | 0.805899 | 0.782861 | 0.760792 | 0.673808 | 0.55528 | 0.433954 | 0 | 0.035279 | 0.18273 | 13,353 | 225 | 207 | 59.346667 | 0.815908 | 0.09174 | 0 | 0.230303 | 0 | 0.006061 | 0.468166 | 0.156055 | 0 | 0 | 0 | 0 | 0.478788 | 1 | 0.09697 | false | 0.030303 | 0.018182 | 0 | 0.127273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a9ab0d3846e29c56b6317db67b519c5141841d6 | 367 | py | Python | venv-skin/lib/python3.6/site-packages/hashes/ops/md5.py | nobi1007/flask-apis | 9ae5d676be5fe7d0669415089bd032f43abda2d8 | [
"MIT"
] | null | null | null | venv-skin/lib/python3.6/site-packages/hashes/ops/md5.py | nobi1007/flask-apis | 9ae5d676be5fe7d0669415089bd032f43abda2d8 | [
"MIT"
] | 3 | 2020-06-03T08:09:39.000Z | 2021-04-30T21:17:43.000Z | venv-skin/lib/python3.6/site-packages/hashes/ops/md5.py | nobi1007/flask-apis | 9ae5d676be5fe7d0669415089bd032f43abda2d8 | [
"MIT"
] | null | null | null | '''
This module generates md5 hashes
'''
import hashlib
class Algorithm:
def __init__(self):
self.hash_type = "md5"
self.description = "This module generates md5 hashes"
def generate(self, cli_object):
hash_object = getattr(hashlib, "md5")()
hash_object.update(cli_object.pla... | 20.388889 | 61 | 0.66485 | 43 | 367 | 5.44186 | 0.534884 | 0.128205 | 0.162393 | 0.188034 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014235 | 0.234332 | 367 | 17 | 62 | 21.588235 | 0.818505 | 0.087193 | 0 | 0 | 1 | 0 | 0.116208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4ac97a314e9adcf12bac5c7b9f5e60f10a0ecb64 | 70 | py | Python | latam/norte/__init__.py | tacosdedatos/latam | 6baf6ed70a8bdb2e7de4e2bdb596bef85727301b | [
"BSD-3-Clause"
] | 4 | 2020-10-12T07:58:39.000Z | 2020-12-29T21:44:11.000Z | latam/norte/__init__.py | tacosdedatos/latam | 6baf6ed70a8bdb2e7de4e2bdb596bef85727301b | [
"BSD-3-Clause"
] | 126 | 2020-10-08T01:09:41.000Z | 2022-03-22T01:05:03.000Z | latam/norte/__init__.py | tacosdedatos/latam | 6baf6ed70a8bdb2e7de4e2bdb596bef85727301b | [
"BSD-3-Clause"
] | null | null | null | """Módulo con los paises de norteamérica."""
from .mexico import MEX
| 17.5 | 44 | 0.728571 | 10 | 70 | 5.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 3 | 45 | 23.333333 | 0.864407 | 0.542857 | 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 |
436dae7219dd647c9d68babe5df3c9f1e177f2a3 | 85 | py | Python | src/pathme/kegg/__init__.py | brucetony/PathMe | c7d758ff76f6787a4eb349b95f9c06bf1afb0754 | [
"Apache-2.0"
] | 12 | 2019-01-24T11:00:55.000Z | 2022-01-26T19:39:00.000Z | src/pathme/kegg/__init__.py | brucetony/PathMe | c7d758ff76f6787a4eb349b95f9c06bf1afb0754 | [
"Apache-2.0"
] | 17 | 2019-01-24T12:33:01.000Z | 2021-06-09T07:08:50.000Z | src/pathme/kegg/__init__.py | brucetony/PathMe | c7d758ff76f6787a4eb349b95f9c06bf1afb0754 | [
"Apache-2.0"
] | 2 | 2019-07-29T08:29:33.000Z | 2021-04-13T02:13:40.000Z | # -*- coding: utf-8 -*-
"""Part of the package dedicated to convert KEGG to BEL."""
| 21.25 | 59 | 0.623529 | 13 | 85 | 4.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.188235 | 85 | 3 | 60 | 28.333333 | 0.753623 | 0.894118 | 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 |
4377fa09f3205f039140c5e7d7982bbcfbdfa7b6 | 307 | py | Python | spiketag/base/SpkWav.py | aliddell/spiketag | f5600126c2c6c9be319e8b808d51ea33be843909 | [
"BSD-3-Clause"
] | 4 | 2018-04-23T18:08:39.000Z | 2020-03-10T19:06:28.000Z | spiketag/base/SpkWav.py | aliddell/spiketag | f5600126c2c6c9be319e8b808d51ea33be843909 | [
"BSD-3-Clause"
] | 69 | 2017-02-17T19:27:52.000Z | 2022-03-30T04:06:53.000Z | spiketag/base/SpkWav.py | aliddell/spiketag | f5600126c2c6c9be319e8b808d51ea33be843909 | [
"BSD-3-Clause"
] | 5 | 2017-02-01T16:11:32.000Z | 2021-02-05T20:10:43.000Z | import numpy as np
def get_spkwav(filename):
'''
spk_wav.bin
'''
spkwav = np.fromfile(filename, dtype=np.int32).reshape(-1, 20, 4)
return spkwav
def get_spkinfo(filename):
'''
spk.bin
'''
spkinfo = np.fromfile(filename, dtype=np.int32).reshape(-1,2)
return spkinfo | 20.466667 | 70 | 0.625407 | 42 | 307 | 4.5 | 0.5 | 0.063492 | 0.190476 | 0.243386 | 0.402116 | 0.402116 | 0.402116 | 0.402116 | 0 | 0 | 0 | 0.042194 | 0.228013 | 307 | 15 | 71 | 20.466667 | 0.755274 | 0.061889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
438a29db12e4dc8560c38b9a926ed1f269f8f753 | 142 | py | Python | apps/benefactor/admin.py | alejandrobolivar/sist_inv_coesbicop | 36a068f21adb28f1f711b540841786538dbf8411 | [
"CC0-1.0"
] | null | null | null | apps/benefactor/admin.py | alejandrobolivar/sist_inv_coesbicop | 36a068f21adb28f1f711b540841786538dbf8411 | [
"CC0-1.0"
] | null | null | null | apps/benefactor/admin.py | alejandrobolivar/sist_inv_coesbicop | 36a068f21adb28f1f711b540841786538dbf8411 | [
"CC0-1.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from apps.benefactor.models import Benefactor
admin.site.register(Benefactor) | 20.285714 | 45 | 0.823944 | 19 | 142 | 6.157895 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 7 | 46 | 20.285714 | 0.928571 | 0.183099 | 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 |
43a8f4aedc138f9d2e32e36adf2015082cf63afb | 216 | py | Python | api/serializers.py | pearlpandz/storyseller-api | 0db7bcb9be8b808e7dec62da180279ca720df312 | [
"MIT"
] | null | null | null | api/serializers.py | pearlpandz/storyseller-api | 0db7bcb9be8b808e7dec62da180279ca720df312 | [
"MIT"
] | null | null | null | api/serializers.py | pearlpandz/storyseller-api | 0db7bcb9be8b808e7dec62da180279ca720df312 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Story
class StorySerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Story
fields = ('name', 'description', 'file') | 27 | 62 | 0.726852 | 21 | 216 | 7.428571 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189815 | 216 | 8 | 63 | 27 | 0.891429 | 0 | 0 | 0 | 0 | 0 | 0.087558 | 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 |
43adac9c685db3a42693526afbb92d4b0a2acd4b | 101 | py | Python | a1_t5_1.py | Jimmyjtc001/assignment1 | 597f6c2e9803fe74bf2efba0ffaa00afba7bf1bc | [
"BSD-3-Clause"
] | null | null | null | a1_t5_1.py | Jimmyjtc001/assignment1 | 597f6c2e9803fe74bf2efba0ffaa00afba7bf1bc | [
"BSD-3-Clause"
] | null | null | null | a1_t5_1.py | Jimmyjtc001/assignment1 | 597f6c2e9803fe74bf2efba0ffaa00afba7bf1bc | [
"BSD-3-Clause"
] | null | null | null | import statistics
power_arr = [4, 5, 2, 6, 3, 7, 8, 9, 6, 5, 2]
print(statistics.median(power_arr))
| 20.2 | 45 | 0.653465 | 20 | 101 | 3.2 | 0.7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 0.168317 | 101 | 4 | 46 | 25.25 | 0.630952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
43b6809634ee083a16f272a55f21edef8b58c879 | 1,604 | py | Python | ugentlist.py | DW-yejing/ssq_analyzer | 2b8a021e39bd99fdd1a84727c0ea18f1a9f78da2 | [
"MIT"
] | null | null | null | ugentlist.py | DW-yejing/ssq_analyzer | 2b8a021e39bd99fdd1a84727c0ea18f1a9f78da2 | [
"MIT"
] | null | null | null | ugentlist.py | DW-yejing/ssq_analyzer | 2b8a021e39bd99fdd1a84727c0ea18f1a9f78da2 | [
"MIT"
] | null | null | null | #encoding: utf-8
userAgents=["Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)",
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Avant Browser)",
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)",
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0; SE 2.X Meta... | 76.380952 | 147 | 0.65586 | 326 | 1,604 | 3.214724 | 0.184049 | 0.030534 | 0.124046 | 0.199427 | 0.736641 | 0.701336 | 0.652672 | 0.590649 | 0.590649 | 0.490458 | 0 | 0.169151 | 0.163342 | 1,604 | 21 | 148 | 76.380952 | 0.611773 | 0.009352 | 0 | 0 | 0 | 0.75 | 0.898049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
43ca852d3abc658d52c40cbb96ca28a2c0908a47 | 11,782 | py | Python | tests/fetch/test_fetch_centos.py | AurelienLourot/charm-helpers | b5725ac546372e7d4004d15095f79cdd5e7da687 | [
"Apache-2.0"
] | 15 | 2017-09-20T13:37:10.000Z | 2021-11-03T13:31:15.000Z | tests/fetch/test_fetch_centos.py | AurelienLourot/charm-helpers | b5725ac546372e7d4004d15095f79cdd5e7da687 | [
"Apache-2.0"
] | 313 | 2017-09-15T13:22:58.000Z | 2022-02-25T17:55:01.000Z | tests/fetch/test_fetch_centos.py | AurelienLourot/charm-helpers | b5725ac546372e7d4004d15095f79cdd5e7da687 | [
"Apache-2.0"
] | 136 | 2017-09-19T13:37:33.000Z | 2022-03-29T11:08:00.000Z | import subprocess
import os
from tests.helpers import patch_open
from testtools import TestCase
from mock import (
patch,
MagicMock,
call,
)
from charmhelpers.fetch import centos as fetch
def getenv(update=None):
# return a copy of os.environ with update applied.
# this was necessary because some... | 37.28481 | 79 | 0.579698 | 1,277 | 11,782 | 5.119029 | 0.135474 | 0.059813 | 0.067309 | 0.0771 | 0.748508 | 0.727092 | 0.717913 | 0.700321 | 0.681811 | 0.64265 | 0 | 0.000601 | 0.293923 | 11,782 | 315 | 80 | 37.403175 | 0.785191 | 0.024189 | 0 | 0.558594 | 0 | 0 | 0.219163 | 0.09083 | 0 | 0 | 0 | 0 | 0.144531 | 1 | 0.101563 | false | 0.015625 | 0.054688 | 0 | 0.183594 | 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 |
78de34db1136d45b305fa61e25c62b02195ed359 | 168 | py | Python | Pcolors/shortcuts/__init__.py | rafalou38/Pcolors | a4dc57c57d6a142a23a8ce8bc422581028fc8abd | [
"MIT"
] | 1 | 2020-08-31T09:45:28.000Z | 2020-08-31T09:45:28.000Z | Pcolors/shortcuts/__init__.py | rafalou38/Pcolors | a4dc57c57d6a142a23a8ce8bc422581028fc8abd | [
"MIT"
] | null | null | null | Pcolors/shortcuts/__init__.py | rafalou38/Pcolors | a4dc57c57d6a142a23a8ce8bc422581028fc8abd | [
"MIT"
] | null | null | null | from . import dark, light, format
def to_bg(id):
"""
:param id: id of a color (light or dark)
:return: id of the color for background
"""
return str(int(id) + 10) | 21 | 41 | 0.654762 | 30 | 168 | 3.633333 | 0.7 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.208333 | 168 | 8 | 42 | 21 | 0.804511 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
78e568c23d66693f6d4dccd6af4353e23505e975 | 1,110 | py | Python | virtual/lib/python3.6/site-packages/pylint/test/functional/too_many_lines.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/too_many_lines.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/too_many_lines.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | # pylint: disable=missing-docstring
# -1: [too-many-lines]
__revision__ = 0
... | 1.09252 | 35 | 0.063964 | 14 | 1,110 | 4.785714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.923423 | 1,110 | 1,015 | 36 | 1.093596 | 0.741176 | 0.048649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
78e885ac77ec43e4441c5ab6f6155328418357e1 | 170 | py | Python | docs/examples/flags.py | jamezpolley/begins | 7dfac6f7c9f5cb04ee1f44993709895a4ea60d31 | [
"Apache-2.0"
] | 120 | 2015-03-11T19:36:57.000Z | 2021-03-28T05:02:34.000Z | docs/examples/flags.py | jamezpolley/begins | 7dfac6f7c9f5cb04ee1f44993709895a4ea60d31 | [
"Apache-2.0"
] | 22 | 2015-02-24T22:41:18.000Z | 2020-06-10T06:27:49.000Z | docs/examples/flags.py | jamezpolley/begins | 7dfac6f7c9f5cb04ee1f44993709895a4ea60d31 | [
"Apache-2.0"
] | 23 | 2015-05-22T12:56:24.000Z | 2020-05-29T01:34:03.000Z | from __future__ import print_function
import begin
@begin.start
def question(enabled=False, disabled=True):
print("enable:", enabled)
print("disable:", disabled)
| 24.285714 | 43 | 0.752941 | 21 | 170 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 170 | 6 | 44 | 28.333333 | 0.831081 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
6006724a6492df63f191ff7dbbf70fb78aa84cb7 | 94 | py | Python | C18/18-5/meal_plans/apps.py | Triple-Z/Python-Crash-Course | 7e59104420f6110e4d60668314264105534016ce | [
"MIT"
] | null | null | null | C18/18-5/meal_plans/apps.py | Triple-Z/Python-Crash-Course | 7e59104420f6110e4d60668314264105534016ce | [
"MIT"
] | null | null | null | C18/18-5/meal_plans/apps.py | Triple-Z/Python-Crash-Course | 7e59104420f6110e4d60668314264105534016ce | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MealPlansConfig(AppConfig):
name = 'meal_plans'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 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 |
601b0c0ad5658c76ee0211ddfaa42944b19788e1 | 770 | py | Python | bajra/engines/base.py | Spratiher9/Bajra | c668ab8879356cca7eff8b8e66f28bae34f8f6e6 | [
"Apache-2.0"
] | null | null | null | bajra/engines/base.py | Spratiher9/Bajra | c668ab8879356cca7eff8b8e66f28bae34f8f6e6 | [
"Apache-2.0"
] | null | null | null | bajra/engines/base.py | Spratiher9/Bajra | c668ab8879356cca7eff8b8e66f28bae34f8f6e6 | [
"Apache-2.0"
] | null | null | null | class EngineBase:
def __init__(self, *args, **kwargs):
raise NotImplementedError()
def connection(self, *args, **kwargs):
raise NotImplementedError()
def execute(self, query, params):
raise NotImplementedError()
def fetchone(self, query, params):
raise NotImplementedEr... | 23.333333 | 42 | 0.645455 | 69 | 770 | 7.144928 | 0.304348 | 0.535497 | 0.547667 | 0.162272 | 0.507099 | 0.507099 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258442 | 770 | 33 | 43 | 23.333333 | 0.863398 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.478261 | false | 0 | 0 | 0 | 0.521739 | 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 |
60205ffd5fb34b6dbb7ab14bf4636b69acf718e8 | 126 | py | Python | URI2765.py | rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3 | c7db434e2e6e40c2ca3bd56db0d04cf79f69de12 | [
"Apache-2.0"
] | 2 | 2020-07-21T18:01:37.000Z | 2021-11-29T01:08:14.000Z | URI2765.py | rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3 | c7db434e2e6e40c2ca3bd56db0d04cf79f69de12 | [
"Apache-2.0"
] | null | null | null | URI2765.py | rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3 | c7db434e2e6e40c2ca3bd56db0d04cf79f69de12 | [
"Apache-2.0"
] | null | null | null | C = 0
X = str(input(''))
for i in X:
if i == ',':
C = X.index(i)
break
print(X[:C])
print(X[C+1 : len(X)]) | 15.75 | 22 | 0.420635 | 25 | 126 | 2.12 | 0.56 | 0.226415 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.325397 | 126 | 8 | 23 | 15.75 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
6022311a821bc8f46b05c081cf1010a3543a253e | 106 | py | Python | Chapter 04 - Repetition Structures/Assignments/4.4 - Calculating a Running Total/51095.py | EllisBarnes00/COP-1000 | 8509e59e8a566c77295c714ddcb0f557c470358b | [
"Unlicense"
] | null | null | null | Chapter 04 - Repetition Structures/Assignments/4.4 - Calculating a Running Total/51095.py | EllisBarnes00/COP-1000 | 8509e59e8a566c77295c714ddcb0f557c470358b | [
"Unlicense"
] | 1 | 2021-06-07T03:55:29.000Z | 2021-06-07T03:56:47.000Z | Chapter 04 - Repetition Structures/Assignments/4.4 - Calculating a Running Total/51095.py | EllisBarnes00/COP-1000 | 8509e59e8a566c77295c714ddcb0f557c470358b | [
"Unlicense"
] | null | null | null | # given the variable profits, write a statment that
# increases its value by a factor of 10
profits *= 10 | 26.5 | 51 | 0.754717 | 18 | 106 | 4.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.198113 | 106 | 4 | 52 | 26.5 | 0.894118 | 0.820755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
602a36c3f114ef25b062d1f9963ae19bede0752f | 182 | py | Python | solutions/1st-operators/l1_a3.py | Jhynn/programming-concepts-and-logic | 0ffa71c6259296813d3951f21e8d0d69dd523545 | [
"CC-BY-4.0"
] | 4 | 2021-08-03T01:13:34.000Z | 2021-09-29T21:47:41.000Z | solutions/1st-operators/l1_a3.py | Jhynn/programming-concepts-and-logic | 0ffa71c6259296813d3951f21e8d0d69dd523545 | [
"CC-BY-4.0"
] | null | null | null | solutions/1st-operators/l1_a3.py | Jhynn/programming-concepts-and-logic | 0ffa71c6259296813d3951f21e8d0d69dd523545 | [
"CC-BY-4.0"
] | null | null | null | height = float(input('Type your height, please: '))
wheight = float(input('Type your wheight, please: '))
bmi = wheight / height ** 2
print(f'Your Body Mass Index ─ BMI is {bmi}')
| 26 | 53 | 0.67033 | 28 | 182 | 4.392857 | 0.571429 | 0.162602 | 0.227642 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.17033 | 182 | 6 | 54 | 30.333333 | 0.801325 | 0 | 0 | 0 | 0 | 0 | 0.483516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
602f2fe88cd6262602853e3d0eb2a443c5dd9fa7 | 188 | py | Python | hello.py | musegros/projectManagement | 6f556b232e8a5ca46b015d955b49e0b3bb9d0406 | [
"WTFPL"
] | null | null | null | hello.py | musegros/projectManagement | 6f556b232e8a5ca46b015d955b49e0b3bb9d0406 | [
"WTFPL"
] | null | null | null | hello.py | musegros/projectManagement | 6f556b232e8a5ca46b015d955b49e0b3bb9d0406 | [
"WTFPL"
] | null | null | null | import random
from flask import Flask
app = Flask(__name__)
def coin_toss( ):
return ['Heads', 'Tails'][random.randint(0,1)]
@app.route("/")
def hello():
return "Hello, World!"
| 15.666667 | 50 | 0.654255 | 26 | 188 | 4.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.170213 | 188 | 11 | 51 | 17.090909 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
6036750e70bbd7c7acef16f6c5b204c8c29c04b0 | 120 | py | Python | pbProj/__init__.py | samdmarshall/pbProj | bda50db74778097410b1d748227282961d25b4af | [
"BSD-3-Clause"
] | 9 | 2015-10-31T16:50:32.000Z | 2019-11-13T18:48:19.000Z | pbProj/__init__.py | samdmarshall/pbProj | bda50db74778097410b1d748227282961d25b4af | [
"BSD-3-Clause"
] | null | null | null | pbProj/__init__.py | samdmarshall/pbProj | bda50db74778097410b1d748227282961d25b4af | [
"BSD-3-Clause"
] | null | null | null | import sys
import os
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'pbPlist'))
import pbPlist | 30 | 84 | 0.783333 | 20 | 120 | 4.5 | 0.5 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058333 | 120 | 4 | 85 | 30 | 0.79646 | 0 | 0 | 0 | 0 | 0 | 0.057851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
605b856f47eb434d8ae087902d7dc4def7b42cde | 464 | py | Python | freerider/freeridersocial/admin.py | Katzesama/CMPUT404-project-socialdistribution | e8e7f5dc89cfbabb9eebfe09e55b382eac8a0520 | [
"Apache-2.0"
] | null | null | null | freerider/freeridersocial/admin.py | Katzesama/CMPUT404-project-socialdistribution | e8e7f5dc89cfbabb9eebfe09e55b382eac8a0520 | [
"Apache-2.0"
] | null | null | null | freerider/freeridersocial/admin.py | Katzesama/CMPUT404-project-socialdistribution | e8e7f5dc89cfbabb9eebfe09e55b382eac8a0520 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
from django.contrib.auth.models import User
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import User
# Register your models here.
admin.site.unregister(User)
admin.site.register(User, UserAdmin)
admin.site.register(Author)
admin.s... | 29 | 47 | 0.823276 | 66 | 464 | 5.787879 | 0.30303 | 0.188482 | 0.311518 | 0.164921 | 0.193717 | 0.193717 | 0.193717 | 0 | 0 | 0 | 0 | 0 | 0.075431 | 464 | 15 | 48 | 30.933333 | 0.890443 | 0.056034 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.384615 | 0 | 0.384615 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
607fd490e996c080d08fe5618b32284a7fac578e | 260 | py | Python | Curso Python/ex026.py | IgorEnricoFP/Curso-em-Video | 473f9f2450cd95243567682a7624d1e84e48b922 | [
"MIT"
] | null | null | null | Curso Python/ex026.py | IgorEnricoFP/Curso-em-Video | 473f9f2450cd95243567682a7624d1e84e48b922 | [
"MIT"
] | null | null | null | Curso Python/ex026.py | IgorEnricoFP/Curso-em-Video | 473f9f2450cd95243567682a7624d1e84e48b922 | [
"MIT"
] | null | null | null | frase = str(input('Digite uma frase: ')).strip().upper()
print(f'A letra A aparece {frase.count("A")} vezes na frase')
print(f'A primeira letra A apareceu na posição {(frase.find("A")+1)}')
print(f'A Última letra A apareceu na posição {(frase.rfind("A")+1)}')
| 52 | 70 | 0.680769 | 46 | 260 | 3.847826 | 0.478261 | 0.101695 | 0.118644 | 0.180791 | 0.316384 | 0.316384 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.115385 | 260 | 4 | 71 | 65 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0.723077 | 0.165385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
880d57ea0813aa368a8c70bba6abe8056929f77c | 129 | py | Python | server/athenian/api/models/persistentdata/__main__.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 9 | 2020-10-11T22:12:03.000Z | 2022-02-26T02:16:45.000Z | server/athenian/api/models/persistentdata/__main__.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 246 | 2019-12-05T06:37:30.000Z | 2022-03-29T10:00:07.000Z | server/athenian/api/models/persistentdata/__main__.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 5 | 2019-12-04T22:38:05.000Z | 2021-02-26T00:50:04.000Z | import sys
from athenian.api.models import migrate
if __name__ == "__main__":
exit(migrate("persistentdata", sys.argv[1]))
| 18.428571 | 48 | 0.728682 | 17 | 129 | 5.058824 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.139535 | 129 | 6 | 49 | 21.5 | 0.765766 | 0 | 0 | 0 | 0 | 0 | 0.170543 | 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 |
71608e8095fc54a1b408be4940b9fb19de14fc2d | 705 | py | Python | analytics/migrations/0008_add_count_indexes.py | TylerPham2000/zulip | 2e7aaba0dde5517b4a55cb0bd782f009be45e3ba | [
"Apache-2.0"
] | 17,004 | 2015-09-25T18:27:24.000Z | 2022-03-31T22:02:32.000Z | analytics/migrations/0008_add_count_indexes.py | TylerPham2000/zulip | 2e7aaba0dde5517b4a55cb0bd782f009be45e3ba | [
"Apache-2.0"
] | 20,344 | 2015-09-25T19:02:42.000Z | 2022-03-31T23:54:40.000Z | analytics/migrations/0008_add_count_indexes.py | TylerPham2000/zulip | 2e7aaba0dde5517b4a55cb0bd782f009be45e3ba | [
"Apache-2.0"
] | 7,271 | 2015-09-25T18:48:39.000Z | 2022-03-31T21:06:11.000Z | # Generated by Django 1.10.5 on 2017-02-01 22:28
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("zerver", "0050_userprofile_avatar_version"),
("analytics", "0007_remove_interval"),
]
operations = [
migrations.AlterIndexTogether(
... | 27.115385 | 63 | 0.58156 | 61 | 705 | 6.540984 | 0.655738 | 0.210526 | 0.240602 | 0.175439 | 0.343358 | 0.165414 | 0 | 0 | 0 | 0 | 0 | 0.047431 | 0.28227 | 705 | 25 | 64 | 28.2 | 0.741107 | 0.065248 | 0 | 0.4 | 1 | 0 | 0.234399 | 0.047184 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71638fabdb4a47d310dcc4175b60c1cfb80895af | 187 | py | Python | agenda/views.py | Centro-Reino-da-Mata/ISFU | aa0d2f8da68026dfffc27ca05dabbc95fe70f971 | [
"Apache-2.0"
] | null | null | null | agenda/views.py | Centro-Reino-da-Mata/ISFU | aa0d2f8da68026dfffc27ca05dabbc95fe70f971 | [
"Apache-2.0"
] | 2 | 2021-09-16T12:04:01.000Z | 2022-03-23T17:34:21.000Z | agenda/views.py | Centro-Reino-da-Mata/ISFU | aa0d2f8da68026dfffc27ca05dabbc95fe70f971 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.views.generic import ListView
from .models import Agenda
class AddAgenda(ListView):
model = Agenda
template_name = 'agenda.html'
| 20.777778 | 41 | 0.775401 | 24 | 187 | 6 | 0.666667 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160428 | 187 | 8 | 42 | 23.375 | 0.917197 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 |
7172543decdbe4da1607d7c8eef8089930f63a82 | 514 | py | Python | GPy/plotting/__init__.py | beckdaniel/GPy | 37e835aa36b18c32bc500684cc10dd2b74240e1f | [
"BSD-3-Clause"
] | null | null | null | GPy/plotting/__init__.py | beckdaniel/GPy | 37e835aa36b18c32bc500684cc10dd2b74240e1f | [
"BSD-3-Clause"
] | null | null | null | GPy/plotting/__init__.py | beckdaniel/GPy | 37e835aa36b18c32bc500684cc10dd2b74240e1f | [
"BSD-3-Clause"
] | 1 | 2020-02-21T02:40:18.000Z | 2020-02-21T02:40:18.000Z | # Copyright (c) 2014, GPy authors (see AUTHORS.txt).
# Licensed under the BSD 3-clause license (see LICENSE.txt)
try:
from . import matplot_dep
except (ImportError, NameError):
# Matplotlib not available
import warnings
warnings.warn(ImportWarning("Matplotlib not available, install newest version of Ma... | 46.727273 | 136 | 0.750973 | 63 | 514 | 6.031746 | 0.587302 | 0.102632 | 0.173684 | 0.184211 | 0.410526 | 0.410526 | 0.410526 | 0.410526 | 0.410526 | 0.410526 | 0 | 0.011494 | 0.153697 | 514 | 11 | 136 | 46.727273 | 0.862069 | 0.566148 | 0 | 0 | 0 | 0 | 0.344037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
71bf0283dfa91cedb4cac5fd65f9b09b5cc8c096 | 1,253 | py | Python | global_finprint/annotation/migrations/0065_dummy_column.py | GlobalFinPrint/global_finprint | 8a91ceaaed42aaa716d8c9f27518ba673ebf351c | [
"Apache-2.0"
] | null | null | null | global_finprint/annotation/migrations/0065_dummy_column.py | GlobalFinPrint/global_finprint | 8a91ceaaed42aaa716d8c9f27518ba673ebf351c | [
"Apache-2.0"
] | 6 | 2020-06-05T18:42:32.000Z | 2022-01-13T00:48:57.000Z | global_finprint/annotation/migrations/0065_dummy_column.py | GlobalFinPrint/global_finprint | 8a91ceaaed42aaa716d8c9f27518ba673ebf351c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-09-20 19:50
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('annotation', '0064_dummy_column'),
]
operations = [
migrations.AlterField(
... | 34.805556 | 127 | 0.561053 | 124 | 1,253 | 5.548387 | 0.443548 | 0.116279 | 0.145349 | 0.168605 | 0.723837 | 0.723837 | 0.523256 | 0.523256 | 0.523256 | 0.523256 | 0 | 0.026767 | 0.254589 | 1,253 | 35 | 128 | 35.8 | 0.70985 | 0.05427 | 0 | 0.714286 | 1 | 0 | 0.183587 | 0.038917 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71c0ee572f25caee8133c67542b9623e1387186c | 145 | py | Python | src/codekata/supermarket_pricing.py | mrshridhara/python_trials | 47f03833805d8016bcd70221111ce04297737d9a | [
"MIT"
] | 1 | 2021-10-30T13:12:48.000Z | 2021-10-30T13:12:48.000Z | src/codekata/supermarket_pricing.py | mrshridhara/python_trials | 47f03833805d8016bcd70221111ce04297737d9a | [
"MIT"
] | null | null | null | src/codekata/supermarket_pricing.py | mrshridhara/python_trials | 47f03833805d8016bcd70221111ce04297737d9a | [
"MIT"
] | null | null | null | """
http://codekata.com/kata/kata01-supermarket-pricing/
"""
def run():
raise NotImplementedError("This function is not yet implemented.")
| 18.125 | 70 | 0.717241 | 17 | 145 | 6.117647 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.124138 | 145 | 7 | 71 | 20.714286 | 0.80315 | 0.358621 | 0 | 0 | 0 | 0 | 0.435294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71e0bee9101db7464fd9aa387783ba56f1e27e69 | 64 | py | Python | cacbarcode/__init__.py | mgallig/smartcard-signin | 1928041442e5155894e56d02cfbbf6c5ba17245d | [
"MIT"
] | 1 | 2019-07-24T13:30:07.000Z | 2019-07-24T13:30:07.000Z | cacbarcode/__init__.py | mgallig/smartcard-signin | 1928041442e5155894e56d02cfbbf6c5ba17245d | [
"MIT"
] | 2 | 2019-07-11T03:26:35.000Z | 2019-07-12T02:58:34.000Z | cacbarcode/__init__.py | mgallig/smartcard-signin | 1928041442e5155894e56d02cfbbf6c5ba17245d | [
"MIT"
] | 2 | 2019-07-10T20:39:34.000Z | 2019-07-11T00:26:23.000Z | from .cacbarcode import CACBarcode, PDF417Barcode, Code39Barcode | 64 | 64 | 0.875 | 6 | 64 | 9.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0.078125 | 64 | 1 | 64 | 64 | 0.864407 | 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 |
e0962241f92628b0e7ff209d061b15b154ad729f | 858 | py | Python | src/ash/core/ashException.py | Rolando-Zarate/ash | 6672ec5d2931d39689e712fa476bbadb8733a739 | [
"MIT"
] | 40 | 2020-07-24T06:36:25.000Z | 2022-03-29T11:25:37.000Z | src/ash/core/ashException.py | Rolando-Zarate/ash | 6672ec5d2931d39689e712fa476bbadb8733a739 | [
"MIT"
] | 12 | 2020-12-22T02:56:05.000Z | 2022-02-18T17:59:16.000Z | src/ash/core/ashException.py | Rolando-Zarate/ash | 6672ec5d2931d39689e712fa476bbadb8733a739 | [
"MIT"
] | 3 | 2021-02-12T11:49:39.000Z | 2021-07-23T21:17:26.000Z | # ---------------------------------------------------------------------------------------------
# Copyright (c) Akash Nag. All rights reserved.
# Licensed under the MIT License. See LICENSE.md in the project root for license information.
# ------------------------------------------------------------------------------... | 31.777778 | 95 | 0.594406 | 96 | 858 | 4.9375 | 0.46875 | 0.168776 | 0.202532 | 0.084388 | 0.236287 | 0.236287 | 0.236287 | 0.236287 | 0.236287 | 0.236287 | 0 | 0 | 0.115385 | 858 | 26 | 96 | 33 | 0.624506 | 0.439394 | 0 | 0.4 | 0 | 0 | 0.069474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.133333 | 0.6 | 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 |
e0a0ca59f6984a59ce12991467c583828cbdc21e | 31,809 | py | Python | map_label_tool/py_proto/modules/perception/camera/lib/obstacle/tracker/omt/omt_pb2.py | freeclouds/OpenHDMap | b61c159fbdf4f50ae1d1650421596b28863f39be | [
"Apache-2.0"
] | null | null | null | map_label_tool/py_proto/modules/perception/camera/lib/obstacle/tracker/omt/omt_pb2.py | freeclouds/OpenHDMap | b61c159fbdf4f50ae1d1650421596b28863f39be | [
"Apache-2.0"
] | null | null | null | map_label_tool/py_proto/modules/perception/camera/lib/obstacle/tracker/omt/omt_pb2.py | freeclouds/OpenHDMap | b61c159fbdf4f50ae1d1650421596b28863f39be | [
"Apache-2.0"
] | 1 | 2021-05-26T08:42:11.000Z | 2021-05-26T08:42:11.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: modules/perception/camera/lib/obstacle/tracker/omt/omt.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
f... | 51.554295 | 3,967 | 0.746455 | 4,435 | 31,809 | 5.089741 | 0.074408 | 0.065565 | 0.065654 | 0.085279 | 0.766225 | 0.735923 | 0.725025 | 0.660524 | 0.615603 | 0.577991 | 0 | 0.05518 | 0.125468 | 31,809 | 616 | 3,968 | 51.637987 | 0.756273 | 0.018643 | 0 | 0.683305 | 1 | 0.005164 | 0.24319 | 0.213517 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010327 | 0 | 0.010327 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
460313ea7617ccef361a73b296544463d3919eca | 71 | py | Python | app/main/__init__.py | NickPTaylor/imbtools | 2874c0cdaea311c3559a3634c9f383d81fde8a06 | [
"MIT"
] | null | null | null | app/main/__init__.py | NickPTaylor/imbtools | 2874c0cdaea311c3559a3634c9f383d81fde8a06 | [
"MIT"
] | 8 | 2020-03-24T16:40:22.000Z | 2022-03-11T23:42:36.000Z | app/main/__init__.py | NickPTaylor/imbtools | 2874c0cdaea311c3559a3634c9f383d81fde8a06 | [
"MIT"
] | null | null | null | """
Blueprint for main content.
"""
from .routes import BP as MAIN_BP
| 11.833333 | 33 | 0.704225 | 11 | 71 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 5 | 34 | 14.2 | 0.844828 | 0.380282 | 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 |
460c2c74c426a5b31c563388767c31e670968fe7 | 166 | py | Python | Bitlock manager/Payload.py | jsangli3r/Bitlock | 8101a0e4446eec5d7bb2711bcf915a68c09e4191 | [
"MIT"
] | null | null | null | Bitlock manager/Payload.py | jsangli3r/Bitlock | 8101a0e4446eec5d7bb2711bcf915a68c09e4191 | [
"MIT"
] | null | null | null | Bitlock manager/Payload.py | jsangli3r/Bitlock | 8101a0e4446eec5d7bb2711bcf915a68c09e4191 | [
"MIT"
] | null | null | null | class Payload:
def __init__(self, website, username, password):
self.website = website
self.username = username
self.password = password
| 23.714286 | 52 | 0.650602 | 17 | 166 | 6.117647 | 0.470588 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271084 | 166 | 6 | 53 | 27.666667 | 0.859504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.4 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1cc3a8bdfde4d303fa57b73436b3629dc0fb17f4 | 2,460 | py | Python | tests/boardfarm_plugins/boardfarm_prplmesh/devices/prplmesh_base.py | SWRT-dev/easymesh | 12d902edde77599e074c0535f7256499b08f7494 | [
"BSD-3-Clause",
"BSD-2-Clause-Patent",
"MIT"
] | null | null | null | tests/boardfarm_plugins/boardfarm_prplmesh/devices/prplmesh_base.py | SWRT-dev/easymesh | 12d902edde77599e074c0535f7256499b08f7494 | [
"BSD-3-Clause",
"BSD-2-Clause-Patent",
"MIT"
] | null | null | null | tests/boardfarm_plugins/boardfarm_prplmesh/devices/prplmesh_base.py | SWRT-dev/easymesh | 12d902edde77599e074c0535f7256499b08f7494 | [
"BSD-3-Clause",
"BSD-2-Clause-Patent",
"MIT"
] | null | null | null | # SPDX-License-Identifier: BSD-2-Clause-Patent
# SPDX-FileCopyrightText: 2020 the prplMesh contributors (see AUTHORS.md)
# This code is subject to the terms of the BSD+Patent license.
# See LICENSE file for more details.
import pexpect
from typing import Dict
from boardfarm.devices import linux
from environment impor... | 29.285714 | 97 | 0.624797 | 301 | 2,460 | 5.049834 | 0.511628 | 0.036184 | 0.047368 | 0.052632 | 0.090789 | 0.052632 | 0.052632 | 0.052632 | 0 | 0 | 0 | 0.005666 | 0.28252 | 2,460 | 83 | 98 | 29.638554 | 0.855524 | 0.446341 | 0 | 0.129032 | 0 | 0 | 0.037767 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 1 | 0.225806 | false | 0.129032 | 0.129032 | 0 | 0.516129 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
1cd0cdeac91ff9089f9855295cd22aaa3b411ea3 | 87 | py | Python | egyszer/parsers.py | fogasl/egyszer | e82a5f92afe10b79b3b106dcb79a3ce2a67d09f2 | [
"BSD-3-Clause"
] | null | null | null | egyszer/parsers.py | fogasl/egyszer | e82a5f92afe10b79b3b106dcb79a3ce2a67d09f2 | [
"BSD-3-Clause"
] | null | null | null | egyszer/parsers.py | fogasl/egyszer | e82a5f92afe10b79b3b106dcb79a3ce2a67d09f2 | [
"BSD-3-Clause"
] | null | null | null | """Metadata and other parsers.
"""
class Parser:
def __init__(self):
pass
| 12.428571 | 30 | 0.609195 | 10 | 87 | 4.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264368 | 87 | 6 | 31 | 14.5 | 0.765625 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1ce15fe9975622b3f955ee2783bad087279f93ee | 145 | py | Python | utils/is-sorted.py | 9andresc/dena | 9315905c7e597344fa2c33773bf875cdaf38021f | [
"MIT"
] | null | null | null | utils/is-sorted.py | 9andresc/dena | 9315905c7e597344fa2c33773bf875cdaf38021f | [
"MIT"
] | 18 | 2019-01-24T21:19:11.000Z | 2019-02-08T19:25:49.000Z | utils/is-sorted.py | 9andresc/dsna | 9315905c7e597344fa2c33773bf875cdaf38021f | [
"MIT"
] | null | null | null | def is_sorted(items):
"""Checks whether the list is sorted or not"""
return all(items[i] <= items[i + 1] for i in range(len(items) - 1))
| 36.25 | 71 | 0.634483 | 26 | 145 | 3.5 | 0.692308 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.206897 | 145 | 3 | 72 | 48.333333 | 0.773913 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1ceeec1ef0eb82342141d80b583775dbefad90d0 | 127 | py | Python | django_odesk/auth/__init__.py | reputation/django-odesk | 1353ead0b0f37ba530787fdd46ac8e937fde4226 | [
"BSD-3-Clause"
] | null | null | null | django_odesk/auth/__init__.py | reputation/django-odesk | 1353ead0b0f37ba530787fdd46ac8e937fde4226 | [
"BSD-3-Clause"
] | 1 | 2020-02-21T16:05:04.000Z | 2020-02-21T16:05:04.000Z | django_odesk/auth/__init__.py | reputation/django-odesk | 1353ead0b0f37ba530787fdd46ac8e937fde4226 | [
"BSD-3-Clause"
] | 1 | 2019-09-01T09:25:16.000Z | 2019-09-01T09:25:16.000Z | ODESK_REDIRECT_SESSION_KEY = '_odesk_redirect_url'
ODESK_TOKEN_SESSION_KEY = '_odesk_api_token'
ENCRYPTION_KEY_NAME = 'oekey'
| 25.4 | 50 | 0.850394 | 18 | 127 | 5.222222 | 0.555556 | 0.276596 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07874 | 127 | 4 | 51 | 31.75 | 0.803419 | 0 | 0 | 0 | 0 | 0 | 0.314961 | 0 | 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 |
e82288423832809114e8f1e7262eb4bc3edfe598 | 134 | py | Python | tmake.py | tomken/tmake | ee4f2c709a3e021fb04427bd7ae72f99d2714176 | [
"MIT"
] | 2 | 2020-01-11T04:26:27.000Z | 2022-01-10T06:35:22.000Z | tmake.py | tomken/tmake | ee4f2c709a3e021fb04427bd7ae72f99d2714176 | [
"MIT"
] | null | null | null | tmake.py | tomken/tmake | ee4f2c709a3e021fb04427bd7ae72f99d2714176 | [
"MIT"
] | 1 | 2020-04-25T01:06:39.000Z | 2020-04-25T01:06:39.000Z | #!/usr/bin/python2
# -*- coding: UTF-8 -*-
import core
if __name__ == "__main__":
TMAKE_MAIN = core.Main()
TMAKE_MAIN.run()
| 14.888889 | 28 | 0.61194 | 18 | 134 | 4 | 0.722222 | 0.25 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.19403 | 134 | 8 | 29 | 16.75 | 0.648148 | 0.291045 | 0 | 0 | 0 | 0 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
e82cc026787ad3f4ea5d3f402fb78c6e968b4626 | 53 | py | Python | projects/authorization.py | RENCI-NRIG/notary-service | 5d519d925d011004aefd6a4acdfc8565f5b76a94 | [
"MIT"
] | 8 | 2019-05-27T23:00:18.000Z | 2022-03-01T11:10:39.000Z | projects/authorization.py | RENCI-NRIG/notary-service | f8b3ed91f9ea4e36ba007a3eaac7373905475a37 | [
"MIT"
] | 52 | 2018-10-12T18:59:43.000Z | 2022-03-28T21:16:35.000Z | projects/authorization.py | RENCI-NRIG/notary-service | 5d519d925d011004aefd6a4acdfc8565f5b76a94 | [
"MIT"
] | 1 | 2020-04-30T19:34:54.000Z | 2020-04-30T19:34:54.000Z | # placeholder for project based authorization checks
| 26.5 | 52 | 0.849057 | 6 | 53 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 1 | 53 | 53 | 0.978261 | 0.943396 | 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 |
1c1dc11c579b236ee029b61ce5590e1b1d238476 | 173 | py | Python | dropbox_app/__init__.py | manish001in/custom-zapier-cli | 00fe865b0ad0d06d4a18388011a1b1ff9f2c72a2 | [
"MIT"
] | null | null | null | dropbox_app/__init__.py | manish001in/custom-zapier-cli | 00fe865b0ad0d06d4a18388011a1b1ff9f2c72a2 | [
"MIT"
] | null | null | null | dropbox_app/__init__.py | manish001in/custom-zapier-cli | 00fe865b0ad0d06d4a18388011a1b1ff9f2c72a2 | [
"MIT"
] | null | null | null | from django.conf import settings
import os
DOWNLOADS_DIR = settings.BASE_DIR+'/downloads/dropbox_app/'
if not os.path.exists(DOWNLOADS_DIR):
os.makedirs(DOWNLOADS_DIR) | 24.714286 | 59 | 0.797688 | 26 | 173 | 5.115385 | 0.615385 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104046 | 173 | 7 | 60 | 24.714286 | 0.858065 | 0 | 0 | 0 | 0 | 0 | 0.132184 | 0.132184 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1c25288aa73f5f5426227115485c987c693844c3 | 3,234 | py | Python | test/find_exe.py | stormrust/wabtest | e7266f7576a70f4b50782a21dc3d0969ed7b0c26 | [
"Apache-2.0"
] | null | null | null | test/find_exe.py | stormrust/wabtest | e7266f7576a70f4b50782a21dc3d0969ed7b0c26 | [
"Apache-2.0"
] | null | null | null | test/find_exe.py | stormrust/wabtest | e7266f7576a70f4b50782a21dc3d0969ed7b0c26 | [
"Apache-2.0"
] | 2 | 2021-07-08T18:47:43.000Z | 2021-07-08T20:17:58.000Z | #!/usr/bin/env python3
#
# Copyright 2016 WebAssembly Community Group participants
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... | 28.368421 | 83 | 0.719233 | 383 | 3,234 | 6.028721 | 0.368146 | 0.067562 | 0.101343 | 0.166306 | 0.157644 | 0.064097 | 0.064097 | 0.064097 | 0.064097 | 0.064097 | 0 | 0.008949 | 0.170686 | 3,234 | 113 | 84 | 28.619469 | 0.851976 | 0.18522 | 0 | 0.1 | 0 | 0 | 0.145857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.05 | 0.233333 | 0.6 | 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 |
1c4191007d0a6c4b0419d38678ca62d430bd0f52 | 184 | py | Python | Scripts/django-admin.py | dragonrathony/zed_market | c73f17501608c8fe86692c3c4f6e03fc8ba03286 | [
"bzip2-1.0.6"
] | 1 | 2020-06-17T13:45:54.000Z | 2020-06-17T13:45:54.000Z | Scripts/django-admin.py | Honey4251996/zed_market | c73f17501608c8fe86692c3c4f6e03fc8ba03286 | [
"bzip2-1.0.6"
] | 11 | 2021-03-19T07:55:39.000Z | 2022-03-12T00:34:55.000Z | Scripts/django-admin.py | Honey4251996/zed_market | c73f17501608c8fe86692c3c4f6e03fc8ba03286 | [
"bzip2-1.0.6"
] | null | null | null | #!d:\projects\eric\python\django\zed-market\dev\zed-market\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 30.666667 | 77 | 0.788043 | 26 | 184 | 5.153846 | 0.769231 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081522 | 184 | 5 | 78 | 36.8 | 0.792899 | 0.413043 | 0 | 0 | 0 | 0 | 0.074766 | 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 |
1c494530de31aff8b8204b0ef28d50b5b3cad91c | 113 | py | Python | tcex/sessions/__init__.py | brikardtc/tcex | 78680f055f4259e31f0b4989a5695604108d9fdd | [
"Apache-2.0"
] | null | null | null | tcex/sessions/__init__.py | brikardtc/tcex | 78680f055f4259e31f0b4989a5695604108d9fdd | [
"Apache-2.0"
] | null | null | null | tcex/sessions/__init__.py | brikardtc/tcex | 78680f055f4259e31f0b4989a5695604108d9fdd | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Session module for TcEx Framework"""
# flake8: noqa
from .tc_session import TcSession
| 22.6 | 39 | 0.690265 | 15 | 113 | 5.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.150442 | 113 | 4 | 40 | 28.25 | 0.78125 | 0.610619 | 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 |
1c51b88e6ff165d752c3979486af2dc3c39b6205 | 230 | py | Python | src/data/descriptions/sample/params.py | dmitry-s-danilov/kaggle-house-prices-advanced-regression-techniques | ab5130ea6d5b1c7373a886b9289cf0fde4f7c27d | [
"MIT"
] | 1 | 2022-02-08T11:54:16.000Z | 2022-02-08T11:54:16.000Z | src/data/descriptions/sample/params.py | dmitry-s-danilov/kaggle-house-prices-advanced-regression-techniques | ab5130ea6d5b1c7373a886b9289cf0fde4f7c27d | [
"MIT"
] | null | null | null | src/data/descriptions/sample/params.py | dmitry-s-danilov/kaggle-house-prices-advanced-regression-techniques | ab5130ea6d5b1c7373a886b9289cf0fde4f7c27d | [
"MIT"
] | null | null | null | n = (3, 6, 3)
transformers = [
lambda _: _.transpose(),
lambda _: _.rename_axis(
mapper='variable',
axis='index',
),
lambda _: _.rename_axis(
mapper='id',
axis='columns',
),
]
| 15.333333 | 28 | 0.491304 | 21 | 230 | 5 | 0.619048 | 0.228571 | 0.304762 | 0.419048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0.33913 | 230 | 14 | 29 | 16.428571 | 0.671053 | 0 | 0 | 0.333333 | 0 | 0 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c55d7249f85744b96ff1315285cb69e7b5f1a0c | 10,792 | py | Python | src/compas/geometry/_core/angles.py | Sam-Bouten/compas | 011c7779ded9b69bb602568b470bb0443e336f62 | [
"MIT"
] | null | null | null | src/compas/geometry/_core/angles.py | Sam-Bouten/compas | 011c7779ded9b69bb602568b470bb0443e336f62 | [
"MIT"
] | null | null | null | src/compas/geometry/_core/angles.py | Sam-Bouten/compas | 011c7779ded9b69bb602568b470bb0443e336f62 | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
from math import pi
from math import degrees
from math import acos
from compas.geometry._core import subtract_vectors
from compas.geometry._core import subtract_vectors_xy
from compas.geometry._core import dot... | 26.98 | 100 | 0.600537 | 1,481 | 10,792 | 4.29372 | 0.087779 | 0.088064 | 0.074697 | 0.072338 | 0.823557 | 0.80044 | 0.750747 | 0.691461 | 0.679667 | 0.667872 | 0 | 0.013096 | 0.271219 | 10,792 | 399 | 101 | 27.047619 | 0.795423 | 0.654003 | 0 | 0.322222 | 0 | 0 | 0.064458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.144444 | 0 | 0.444444 | 0.011111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c7921d31387fd08d75da3ab52581f5fe52b0ebe | 82,391 | py | Python | src/gluonnlp/embedding/_constants.py | leezu/gluon-nlp | 19de74c2b03f22dde8311a0225b4571c2deef0e4 | [
"Apache-2.0"
] | 2,461 | 2018-04-25T03:47:22.000Z | 2022-03-31T03:58:48.000Z | src/gluonnlp/embedding/_constants.py | leezu/gluon-nlp | 19de74c2b03f22dde8311a0225b4571c2deef0e4 | [
"Apache-2.0"
] | 1,450 | 2018-04-25T16:14:25.000Z | 2022-02-24T21:02:57.000Z | src/gluonnlp/embedding/_constants.py | leezu/gluon-nlp | 19de74c2b03f22dde8311a0225b4571c2deef0e4 | [
"Apache-2.0"
] | 578 | 2018-04-25T04:55:18.000Z | 2022-03-16T03:01:45.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 82.144566 | 100 | 0.731087 | 7,272 | 82,391 | 8.275715 | 0.27104 | 0.026254 | 0.001994 | 0.001396 | 0.085874 | 0.085874 | 0.00339 | 0.00339 | 0.001396 | 0.001396 | 0 | 0.387648 | 0.089536 | 82,391 | 1,002 | 101 | 82.226547 | 0.414616 | 0.009649 | 0 | 0 | 0 | 0 | 0.781582 | 0.591838 | 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 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c8ab5f68f20497e5de88b64ae8b6622c5a4e737 | 300 | py | Python | rnc2rng/__init__.py | usfm-bible/rnc2rng | c70fbc1b11938af3e21ad275904e07d324b8ac08 | [
"MIT"
] | 14 | 2015-10-10T19:38:41.000Z | 2020-05-20T08:32:11.000Z | rnc2rng/__init__.py | usfm-bible/rnc2rng | c70fbc1b11938af3e21ad275904e07d324b8ac08 | [
"MIT"
] | 36 | 2015-10-07T09:09:44.000Z | 2022-01-05T07:24:29.000Z | rnc2rng/__init__.py | usfm-bible/rnc2rng | c70fbc1b11938af3e21ad275904e07d324b8ac08 | [
"MIT"
] | 14 | 2015-11-07T15:50:16.000Z | 2022-02-23T03:04:58.000Z | from . import parser, serializer
def load(f):
return parser.parse(f=f)
def loads(src):
return parser.parse(src)
def dump(root, f, indent=None):
f.write(serializer.XMLSerializer(indent).toxml(root))
def dumps(root, indent=None):
return serializer.XMLSerializer(indent).toxml(root)
| 21.428571 | 57 | 0.72 | 43 | 300 | 5.023256 | 0.44186 | 0.111111 | 0.157407 | 0.314815 | 0.351852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143333 | 300 | 13 | 58 | 23.076923 | 0.840467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.333333 | 0.888889 | 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 |
1c90057ae4623412784c237d656d9fbed354913b | 197 | py | Python | PiAlgo/reverse_tan.py | Page-David/PiPy | d857c61b54909b9a18b354a66fa3093c0905cd4a | [
"MIT"
] | 1 | 2017-01-25T09:06:01.000Z | 2017-01-25T09:06:01.000Z | PiAlgo/reverse_tan.py | Page-David/PiPy | d857c61b54909b9a18b354a66fa3093c0905cd4a | [
"MIT"
] | null | null | null | PiAlgo/reverse_tan.py | Page-David/PiPy | d857c61b54909b9a18b354a66fa3093c0905cd4a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from mpmath import *
def pi(digit):
mp.dps = digit
pi = 4*(12*atan(1/mpf('49')) + 32*atan(1/mpf('57')) - 5*atan(1/mpf('239')) + 12*atan(1/mpf('110443')))
return str(pi)
| 19.7 | 103 | 0.593909 | 38 | 197 | 3.078947 | 0.657895 | 0.17094 | 0.273504 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147929 | 0.142132 | 197 | 9 | 104 | 21.888889 | 0.544379 | 0.101523 | 0 | 0 | 0 | 0 | 0.074713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 1 | 0 | 0 | 4 |
98c1a4e0bf1ca244ff2da29d13721af56fcef9b7 | 2,322 | py | Python | setup.py | EricSalomaki/PhyloFisher | 982b0d1672d27c020021b5aea30def33d263a38d | [
"MIT"
] | null | null | null | setup.py | EricSalomaki/PhyloFisher | 982b0d1672d27c020021b5aea30def33d263a38d | [
"MIT"
] | null | null | null | setup.py | EricSalomaki/PhyloFisher | 982b0d1672d27c020021b5aea30def33d263a38d | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='phylofisher',
version='1.1.0',
packages=find_packages(),
scripts={'phylofisher/fisher.py',
'phylofisher/config.py',
'phylofisher/working_dataset_constructor.py',
'phylofisher/forest.py',
'phylof... | 43.811321 | 114 | 0.594746 | 224 | 2,322 | 6.004464 | 0.517857 | 0.260967 | 0.26171 | 0.040149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019964 | 0.288114 | 2,322 | 52 | 115 | 44.653846 | 0.793708 | 0 | 0 | 0 | 0 | 0 | 0.589578 | 0.443152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.019608 | 0 | 0.019608 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98d8df75b65a28c9f1c6df635648f223c1d99e63 | 75 | py | Python | puzzle/exceptions/__init__.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 24 | 2015-10-15T16:29:58.000Z | 2020-12-08T22:14:13.000Z | puzzle/exceptions/__init__.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 212 | 2015-10-08T14:28:36.000Z | 2020-04-29T22:44:10.000Z | puzzle/exceptions/__init__.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 11 | 2015-10-08T09:26:46.000Z | 2018-02-02T16:45:07.000Z | from __future__ import absolute_import
from .database import DatabaseError | 25 | 38 | 0.88 | 9 | 75 | 6.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 3 | 39 | 25 | 0.910448 | 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 |
98eddc9a2ecc867157b823f78548f3f78341bba7 | 20,038 | py | Python | models.py | justinlovelace/robust-kg-completion | 80b9b66217912502279ba87a31a7f67d4a909169 | [
"Apache-2.0"
] | 6 | 2021-06-19T02:15:21.000Z | 2022-01-20T17:03:42.000Z | models.py | justinlovelace/robust-kg-completion | 80b9b66217912502279ba87a31a7f67d4a909169 | [
"Apache-2.0"
] | 1 | 2021-07-08T06:59:13.000Z | 2021-07-08T07:14:57.000Z | models.py | justinlovelace/robust-kg-completion | 80b9b66217912502279ba87a31a7f67d4a909169 | [
"Apache-2.0"
] | 4 | 2021-06-19T02:15:24.000Z | 2022-03-28T18:51:53.000Z | import json
import torch
import math
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.parameter import Parameter
from torch.nn.init import xavier_normal_
import sys
from CONSTANTS import DATA_DIR
import os
import math
torch.backends.cudnn.deterministic = True
torch.backends.cudnn.enabled = True
cl... | 33.677311 | 153 | 0.619423 | 2,692 | 20,038 | 4.38893 | 0.069837 | 0.03047 | 0.070419 | 0.054168 | 0.82336 | 0.78942 | 0.717901 | 0.674989 | 0.645028 | 0.626492 | 0 | 0.019815 | 0.264597 | 20,038 | 594 | 154 | 33.734007 | 0.781963 | 0.026599 | 0 | 0.680272 | 0 | 0 | 0.00821 | 0.003797 | 0 | 0 | 0 | 0 | 0.002268 | 1 | 0.088435 | false | 0 | 0.024943 | 0.00907 | 0.185941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c71000ee5779d96776f1a95cff77032923be5a6b | 270 | py | Python | todoism/blueprints/home.py | zyitst/todosim2 | 963b6cb84f1c079b2846efe6869e1daaba0954c1 | [
"MIT"
] | null | null | null | todoism/blueprints/home.py | zyitst/todosim2 | 963b6cb84f1c079b2846efe6869e1daaba0954c1 | [
"MIT"
] | null | null | null | todoism/blueprints/home.py | zyitst/todosim2 | 963b6cb84f1c079b2846efe6869e1daaba0954c1 | [
"MIT"
] | null | null | null | from flask import render_template
from flask.blueprints import Blueprint
home_bp = Blueprint('home', __name__)
@home_bp.route('/')
def index():
return render_template('index.html')
@home_bp.route('/intro')
def intro():
return render_template('_intro.html')
| 18 | 41 | 0.733333 | 36 | 270 | 5.194444 | 0.444444 | 0.224599 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 270 | 14 | 42 | 19.285714 | 0.795745 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 0.666667 | 0.222222 | 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 |
c7140436e291b3c0f566eb88a643e355364a1344 | 196 | py | Python | Lib/site-packages/stripe/api_resources/balance.py | nemarugommula/ecommerce | 60185e79655fbaf0fcad9e877a886fe9eb3c4451 | [
"bzip2-1.0.6"
] | 29 | 2019-09-05T18:40:53.000Z | 2022-03-10T22:00:57.000Z | Lib/site-packages/stripe/api_resources/balance.py | nemarugommula/ecommerce | 60185e79655fbaf0fcad9e877a886fe9eb3c4451 | [
"bzip2-1.0.6"
] | 14 | 2020-10-03T07:24:50.000Z | 2021-04-11T14:45:31.000Z | Lib/site-packages/stripe/api_resources/balance.py | nemarugommula/ecommerce | 60185e79655fbaf0fcad9e877a886fe9eb3c4451 | [
"bzip2-1.0.6"
] | 20 | 2020-10-03T09:49:24.000Z | 2021-11-25T08:48:30.000Z | from __future__ import absolute_import, division, print_function
from stripe.api_resources.abstract import SingletonAPIResource
class Balance(SingletonAPIResource):
OBJECT_NAME = "balance"
| 24.5 | 64 | 0.836735 | 21 | 196 | 7.428571 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 196 | 7 | 65 | 28 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.