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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fc473e035899e74ba37d13e6c82514e70923eb1f | 55 | py | Python | subjects/hello/hello.py | powerdev0510/pythonc | 1d28044aa9a8d05267ca427a63dd0e73cef225b7 | [
"Apache-2.0"
] | 405 | 2015-07-27T06:39:20.000Z | 2022-03-23T05:49:57.000Z | subjects/hello/hello.py | limkokhole/pytocs | ccd3aaf9e701ab205a7466080bb5989356f09ec3 | [
"Apache-2.0"
] | 73 | 2015-07-22T21:22:38.000Z | 2022-01-27T12:02:39.000Z | subjects/hello/hello.py | limkokhole/pytocs | ccd3aaf9e701ab205a7466080bb5989356f09ec3 | [
"Apache-2.0"
] | 160 | 2015-12-23T08:15:57.000Z | 2022-03-25T16:11:08.000Z | # Some code below
def hello():
print "Hello World"
| 13.75 | 23 | 0.654545 | 8 | 55 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 55 | 3 | 24 | 18.333333 | 0.857143 | 0.272727 | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fc54a2db0aa12eda4fb419a50f9ed25189b7bf4c | 93 | py | Python | config.py | mpslxz/icvae | 7a1c2aa795742096d9cd97178f6cadc0ed73511f | [
"MIT"
] | 2 | 2020-11-04T08:44:50.000Z | 2020-12-11T21:42:20.000Z | config.py | mpslxz/icvae | 7a1c2aa795742096d9cd97178f6cadc0ed73511f | [
"MIT"
] | 1 | 2020-05-07T15:26:50.000Z | 2020-05-07T15:26:50.000Z | config.py | mpslxz/icvae | 7a1c2aa795742096d9cd97178f6cadc0ed73511f | [
"MIT"
] | 1 | 2021-01-18T02:27:13.000Z | 2021-01-18T02:27:13.000Z | input_size = (1, 128, 128)
ORIG_SIZE = (480, 640)
RESIZE_TO = (input_size[1], input_size[2])
| 23.25 | 42 | 0.677419 | 17 | 93 | 3.411765 | 0.588235 | 0.465517 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.139785 | 93 | 3 | 43 | 31 | 0.5375 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fc588e5343a508c560ce19562308e8176c8460cd | 328 | py | Python | isw2-master/src/app/core/docente.py | marlanbar/academic-projects | bcdc8ca36b6984ab3f83c10b8a3ed45576ecfca1 | [
"MIT"
] | null | null | null | isw2-master/src/app/core/docente.py | marlanbar/academic-projects | bcdc8ca36b6984ab3f83c10b8a3ed45576ecfca1 | [
"MIT"
] | null | null | null | isw2-master/src/app/core/docente.py | marlanbar/academic-projects | bcdc8ca36b6984ab3f83c10b8a3ed45576ecfca1 | [
"MIT"
] | null | null | null | from .autoridad import Autoridad
class Docente(Autoridad):
#Colaboradores Internos
#nombre: String
def __init__(self, nombre):
self.nombre = nombre
def getNombre(self):
return self.nombre
def puedeVisualizarInfoDeCurso(self, unCurso):
return unCurso.getDocente() == self
def __str__(self):
return self... | 18.222222 | 47 | 0.756098 | 38 | 328 | 6.315789 | 0.473684 | 0.166667 | 0.116667 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152439 | 328 | 17 | 48 | 19.294118 | 0.863309 | 0.109756 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.3 | 0.9 | 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 |
fc61a3804be19dd5e60ad8ddb48ef88911f02ccb | 146 | py | Python | ramda/juxt.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/juxt.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/juxt.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | def juxt(functions, *args):
"""juxt applies a list of functions to a list of values"""
return lambda *args: [f(*args) for f in functions]
| 36.5 | 62 | 0.671233 | 24 | 146 | 4.083333 | 0.625 | 0.102041 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 146 | 3 | 63 | 48.666667 | 0.844828 | 0.356164 | 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 |
fc8654f0f12304f3a98d83d944ef7a8ef998012b | 93 | py | Python | commodity/apps.py | akliuxingyuan/CarSalesManage | c042daba6c9d397dec5196a5ebdaecc675b6bba0 | [
"Apache-2.0"
] | null | null | null | commodity/apps.py | akliuxingyuan/CarSalesManage | c042daba6c9d397dec5196a5ebdaecc675b6bba0 | [
"Apache-2.0"
] | null | null | null | commodity/apps.py | akliuxingyuan/CarSalesManage | c042daba6c9d397dec5196a5ebdaecc675b6bba0 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class CommodityConfig(AppConfig):
name = 'commodity'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 |
fc8e84185421ca8d2af4018f03c8d9101e2f1538 | 163 | py | Python | setup.py | pannal/systray | bf39df2d586e694574d7b020df1f9f92cb772d59 | [
"BSD-3-Clause"
] | null | null | null | setup.py | pannal/systray | bf39df2d586e694574d7b020df1f9f92cb772d59 | [
"BSD-3-Clause"
] | null | null | null | setup.py | pannal/systray | bf39df2d586e694574d7b020df1f9f92cb772d59 | [
"BSD-3-Clause"
] | null | null | null | # coding=utf-8
from setuptools import setup
from setuptools import find_packages
setup(
name="systray",
version="0.1.11",
packages=find_packages(),
) | 16.3 | 36 | 0.711656 | 22 | 163 | 5.181818 | 0.681818 | 0.245614 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.171779 | 163 | 10 | 37 | 16.3 | 0.807407 | 0.07362 | 0 | 0 | 0 | 0 | 0.086667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5df095b12d771e9593f3d39cddb2ea4930b613f4 | 67 | py | Python | PyMonthlyExpense/__init__.py | jepierre/python_apps | ce3350480aed9c091bb92281d13711337b40b2dd | [
"MIT"
] | null | null | null | PyMonthlyExpense/__init__.py | jepierre/python_apps | ce3350480aed9c091bb92281d13711337b40b2dd | [
"MIT"
] | null | null | null | PyMonthlyExpense/__init__.py | jepierre/python_apps | ce3350480aed9c091bb92281d13711337b40b2dd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
""""
Author: Jean Pierre
Last Edited:
"""
| 9.571429 | 23 | 0.537313 | 8 | 67 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.19403 | 67 | 6 | 24 | 11.166667 | 0.648148 | 0.850746 | 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 |
b90405e57c13bc1b848a3cc16621ec94c75ecd40 | 96 | py | Python | appointments/apps/common/__init__.py | marceloomens/appointments | c4adff97e391dce2f4f04c357c4a823b017aa820 | [
"MIT"
] | null | null | null | appointments/apps/common/__init__.py | marceloomens/appointments | c4adff97e391dce2f4f04c357c4a823b017aa820 | [
"MIT"
] | 2 | 2015-01-04T07:01:36.000Z | 2015-05-12T18:30:31.000Z | appointments/apps/common/__init__.py | marceloomens/appointments | c4adff97e391dce2f4f04c357c4a823b017aa820 | [
"MIT"
] | null | null | null | # Prepare for Django 1.7
default_app_config = 'appointments.apps.common.apps.AppointmentsConfig' | 48 | 71 | 0.833333 | 13 | 96 | 6 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.072917 | 96 | 2 | 71 | 48 | 0.853933 | 0.229167 | 0 | 0 | 0 | 0 | 0.657534 | 0.657534 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b90489456d963d04946cf879f80ee33c8cd97878 | 165 | py | Python | shop/tools.py | jhihwei/eshop | e9861e9a2ee084201ecd36bed628cf50e9dbeb7e | [
"Apache-2.0"
] | null | null | null | shop/tools.py | jhihwei/eshop | e9861e9a2ee084201ecd36bed628cf50e9dbeb7e | [
"Apache-2.0"
] | null | null | null | shop/tools.py | jhihwei/eshop | e9861e9a2ee084201ecd36bed628cf50e9dbeb7e | [
"Apache-2.0"
] | null | null | null | from orders.models import OrderItem
def get_product_string(order_item:OrderItem):
products = [i.product.name+"#" for i in order_item]
return "".join(products) | 33 | 55 | 0.757576 | 24 | 165 | 5.041667 | 0.75 | 0.14876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 165 | 5 | 56 | 33 | 0.840278 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b905837ffee694ddc434cd52e25e9cdba4984548 | 642 | py | Python | beaconServer/lib/__init__.py | progenetix/bycon | 0f81ee17d81d37b55ce492a84814e9e8a90042f6 | [
"CC0-1.0"
] | 4 | 2020-07-21T09:36:38.000Z | 2021-06-28T13:00:07.000Z | beaconServer/lib/__init__.py | progenetix/bycon | 0f81ee17d81d37b55ce492a84814e9e8a90042f6 | [
"CC0-1.0"
] | 4 | 2020-07-22T08:14:27.000Z | 2021-06-24T13:39:03.000Z | beaconServer/lib/__init__.py | progenetix/bycon | 0f81ee17d81d37b55ce492a84814e9e8a90042f6 | [
"CC0-1.0"
] | 2 | 2021-03-16T19:34:13.000Z | 2021-12-15T08:51:38.000Z | # __init__.py
from os import pardir, path
import sys
dir_path = path.dirname( path.abspath(__file__) )
sys.path.append( dir_path )
from cgi_utils import *
from datatable_utils import *
from handover_execution import *
from handover_generation import *
from interval_utils import *
from parse_filters import *
from pars... | 25.68 | 49 | 0.816199 | 89 | 642 | 5.58427 | 0.393258 | 0.321932 | 0.181087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135514 | 642 | 24 | 50 | 26.75 | 0.895496 | 0.017134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.904762 | 0 | 0.904762 | 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 |
f8e31c40d881fbabcfb690a06b56a31759a206af | 50 | py | Python | tests/__init__.py | hemna/aprsd-twitter-plugin | 06d36645860df9bf61dbe770300d22f172e554a4 | [
"MIT"
] | 2 | 2021-10-17T06:51:40.000Z | 2022-01-22T05:25:19.000Z | tests/__init__.py | hemna/aprsd-twitter-plugin | 06d36645860df9bf61dbe770300d22f172e554a4 | [
"MIT"
] | null | null | null | tests/__init__.py | hemna/aprsd-twitter-plugin | 06d36645860df9bf61dbe770300d22f172e554a4 | [
"MIT"
] | null | null | null | """Unit test package for aprsd_twitter_plugin."""
| 25 | 49 | 0.76 | 7 | 50 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 1 | 50 | 50 | 0.8 | 0.86 | 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 |
f8e57c21d51cb1556850f92d9151bdc9d7cb8e69 | 279 | py | Python | backend/tasker_business/admin.py | crowdbotics-apps/nsp-28646 | ebbe680474ccf7fbbffc996fb0d68795b0b65f3b | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/tasker_business/admin.py | crowdbotics-apps/nsp-28646 | ebbe680474ccf7fbbffc996fb0d68795b0b65f3b | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/tasker_business/admin.py | crowdbotics-apps/nsp-28646 | ebbe680474ccf7fbbffc996fb0d68795b0b65f3b | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.contrib import admin
from .models import TaskerSkill, BusinessPhoto, Timeslot, TaskerAvailability
admin.site.register(BusinessPhoto)
admin.site.register(Timeslot)
admin.site.register(TaskerSkill)
admin.site.register(TaskerAvailability)
# Register your models here.
| 27.9 | 76 | 0.83871 | 32 | 279 | 7.3125 | 0.4375 | 0.153846 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078853 | 279 | 9 | 77 | 31 | 0.910506 | 0.09319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f8efed0d4175037c0e7779cc04233ac4222f2680 | 60 | py | Python | scripts/random/throwaway_gen.py | oxalorg/dotfiles | f49258abcc1dbc17fbb5fb9548863fce75779a17 | [
"MIT"
] | 13 | 2016-12-07T23:35:02.000Z | 2021-05-18T14:48:46.000Z | scripts/random/throwaway_gen.py | oxalorg/dotfiles | f49258abcc1dbc17fbb5fb9548863fce75779a17 | [
"MIT"
] | 2 | 2017-08-15T16:29:24.000Z | 2020-04-10T06:36:19.000Z | scripts/random/throwaway_gen.py | oxalorg/dotfiles | f49258abcc1dbc17fbb5fb9548863fce75779a17 | [
"MIT"
] | 5 | 2017-01-23T22:36:44.000Z | 2021-11-02T20:44:45.000Z | import random
import os
username = ''.join(random.choice(
| 10 | 33 | 0.733333 | 8 | 60 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 5 | 34 | 12 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f8f67e9999301aa4558f77af0a41f51b493245d8 | 2,450 | py | Python | sap_hana/tests/metrics.py | jstoja/integrations-core | 704fa31f7db642c6df9e0969b3b2778fc6144fa7 | [
"BSD-3-Clause"
] | null | null | null | sap_hana/tests/metrics.py | jstoja/integrations-core | 704fa31f7db642c6df9e0969b3b2778fc6144fa7 | [
"BSD-3-Clause"
] | null | null | null | sap_hana/tests/metrics.py | jstoja/integrations-core | 704fa31f7db642c6df9e0969b3b2778fc6144fa7 | [
"BSD-3-Clause"
] | 1 | 2019-12-23T13:35:17.000Z | 2019-12-23T13:35:17.000Z | # (C) Datadog, Inc. 2019
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
STANDARD = [
'sap_hana.backup.latest',
'sap_hana.connection.idle',
'sap_hana.connection.open',
'sap_hana.connection.running',
'sap_hana.cpu.service.utilized',
'sap_hana.disk.free',
'sap... | 39.516129 | 63 | 0.72 | 341 | 2,450 | 4.982405 | 0.187683 | 0.230724 | 0.175986 | 0.223661 | 0.696881 | 0.327251 | 0.115362 | 0 | 0 | 0 | 0 | 0.002329 | 0.123673 | 2,450 | 61 | 64 | 40.163934 | 0.789008 | 0.040816 | 0 | 0 | 0 | 0 | 0.801364 | 0.771952 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d0450a0cc6a5ab9064a41ba088dcb2a8e874683 | 11,017 | py | Python | tests/test_nc_mt_scenario.py | lrzpellegrini/avalanche_pre_public | 522019a55ce08b92c1ec74b508a8ea6ae8751dfd | [
"MIT"
] | null | null | null | tests/test_nc_mt_scenario.py | lrzpellegrini/avalanche_pre_public | 522019a55ce08b92c1ec74b508a8ea6ae8751dfd | [
"MIT"
] | null | null | null | tests/test_nc_mt_scenario.py | lrzpellegrini/avalanche_pre_public | 522019a55ce08b92c1ec74b508a8ea6ae8751dfd | [
"MIT"
] | null | null | null | import unittest
from torchvision.datasets import MNIST
from avalanche.benchmarks.scenarios.new_classes import NCExperience
from avalanche.benchmarks.utils import AvalancheSubset
from avalanche.benchmarks.scenarios.new_classes.nc_utils import \
make_nc_transformation_subset
from avalanche.benchmarks import nc_scen... | 44.603239 | 85 | 0.679041 | 1,448 | 11,017 | 4.793508 | 0.07942 | 0.096528 | 0.089901 | 0.057485 | 0.837631 | 0.778274 | 0.74096 | 0.684772 | 0.634923 | 0.620228 | 0 | 0.019916 | 0.225197 | 11,017 | 246 | 86 | 44.784553 | 0.793229 | 0 | 0 | 0.384615 | 0 | 0 | 0.021149 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.046154 | false | 0 | 0.030769 | 0 | 0.082051 | 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 |
5d47fc05691ba61d7d8b85f8cb8a96c23b68b713 | 12,585 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/datapipeline/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/datapipeline/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/datapipeline/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from typing import List
from botocore.paginate import Paginator
class DescribeObjects(Paginator):
def paginate(self, pipelineId: str, objectIds: List, evaluateExpressions: bool = None, PaginationConfig: Dict = None) -> Dict:
"""
Creates an iterator that will paginate throug... | 48.590734 | 417 | 0.530393 | 1,217 | 12,585 | 5.474117 | 0.222679 | 0.009006 | 0.010808 | 0.012609 | 0.497298 | 0.482588 | 0.446563 | 0.438757 | 0.411738 | 0.379766 | 0 | 0.006503 | 0.376877 | 12,585 | 258 | 418 | 48.77907 | 0.843025 | 0.802463 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
5d557b0b379a48a61e9e913988c870b3d5e4b9cc | 145 | py | Python | venv/Lib/site-packages/cachetools/lru.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 4 | 2021-10-20T12:39:09.000Z | 2022-02-26T15:02:08.000Z | venv/Lib/site-packages/cachetools/lru.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | null | null | null | venv/Lib/site-packages/cachetools/lru.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1 | 2021-10-20T13:47:10.000Z | 2021-10-20T13:47:10.000Z | import warnings
from . import LRUCache
warnings.warn(
"cachetools.lru is deprecated, please use cachetools.LRUCache", DeprecationWarning
)
| 18.125 | 86 | 0.786207 | 16 | 145 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144828 | 145 | 7 | 87 | 20.714286 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
5d62eeb5205282733dfd2f4d86ae3510aa193736 | 267 | py | Python | utils/__init__.py | SCUT-BIP-Lab/SCUT-DHGA | 1a75998b4ddc09e21da9352e6a51bed0c39ddfb8 | [
"MIT"
] | 6 | 2020-10-06T07:43:33.000Z | 2022-03-21T00:12:27.000Z | utils/__init__.py | SCUT-BIP-Lab/SCUT-DHGA | 1a75998b4ddc09e21da9352e6a51bed0c39ddfb8 | [
"MIT"
] | null | null | null | utils/__init__.py | SCUT-BIP-Lab/SCUT-DHGA | 1a75998b4ddc09e21da9352e6a51bed0c39ddfb8 | [
"MIT"
] | 2 | 2021-12-23T11:37:15.000Z | 2021-12-24T02:24:13.000Z | '''
@Description: file content
@Date: 2019-11-25 16:32:06
@LastEditors: lxy
@LastEditTime: 2019-11-27 21:36:24
'''
from utils.CenterLoss import CenterLoss
from utils.transforms import RCropResize, CenterCrop, Random_gamma
from utils.calculate_eer import calculate_eer | 29.666667 | 66 | 0.801498 | 39 | 267 | 5.410256 | 0.717949 | 0.127962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116183 | 0.097378 | 267 | 9 | 67 | 29.666667 | 0.759336 | 0.397004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5d65605f692f90bf35e83a7c3dc362eede8d6926 | 11,769 | py | Python | SqltDAO/CodeGen01/SqlSyntax.py | soft9000/PyDAO | 1316bdf34b62187b7763c2c7dd0036837cdcc894 | [
"MIT"
] | 8 | 2018-03-10T05:33:58.000Z | 2019-01-25T08:32:27.000Z | SqltDAO/CodeGen01/SqlSyntax.py | soft9000/PyDAO | 1316bdf34b62187b7763c2c7dd0036837cdcc894 | [
"MIT"
] | null | null | null | SqltDAO/CodeGen01/SqlSyntax.py | soft9000/PyDAO | 1316bdf34b62187b7763c2c7dd0036837cdcc894 | [
"MIT"
] | 6 | 2018-10-15T17:07:28.000Z | 2019-02-03T21:49:54.000Z | # Author: Soft9000.com
# 2018/03/08: Class Created
# 2021/02/18: Adding DAO / Dict I/O usages.
import os
import sys
sys.path.insert(1, os.path.join(sys.path[0], '../..'))
from collections import OrderedDict
from SqltDAO.CodeGen01.OrderClass import OrderClass
from SqltDAO.CodeGen01.CodeLevel import CodeLevel
from Sqlt... | 40.304795 | 129 | 0.570057 | 1,411 | 11,769 | 4.706591 | 0.128278 | 0.243939 | 0.248457 | 0.331275 | 0.690408 | 0.641018 | 0.595091 | 0.568438 | 0.499473 | 0.439994 | 0 | 0.005903 | 0.265868 | 11,769 | 291 | 130 | 40.443299 | 0.762731 | 0.053021 | 0 | 0.581673 | 0 | 0 | 0.186542 | 0.024175 | 0 | 0 | 0 | 0 | 0.003984 | 1 | 0.027888 | false | 0.007968 | 0.067729 | 0 | 0.123506 | 0.438247 | 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 |
5d728d9cb2bf78574167e25d9374a6f4d0a8cc08 | 62 | py | Python | lib/smisk/test/mvc/__init__.py | rsms/smisk | f12a5606dfff49a15fa91448ff36652d60add4c0 | [
"MIT"
] | 4 | 2015-11-05T11:51:12.000Z | 2020-12-30T18:55:58.000Z | lib/smisk/test/mvc/__init__.py | rsms/smisk | f12a5606dfff49a15fa91448ff36652d60add4c0 | [
"MIT"
] | 5 | 2021-11-16T17:21:51.000Z | 2021-11-16T17:22:09.000Z | lib/smisk/test/mvc/__init__.py | rsms/smisk | f12a5606dfff49a15fa91448ff36652d60add4c0 | [
"MIT"
] | null | null | null | # encoding: utf-8
'''Tests regarding the smisk.mvc module
'''
| 15.5 | 39 | 0.693548 | 9 | 62 | 4.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.145161 | 62 | 3 | 40 | 20.666667 | 0.792453 | 0.854839 | 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 |
53aa881ffe973dc70355219e575de82555b51b03 | 171 | py | Python | server/config.py | christinali/SQLProject | d5fccc7c1f00f3a8c1444dc69a18c03663405703 | [
"MIT"
] | null | null | null | server/config.py | christinali/SQLProject | d5fccc7c1f00f3a8c1444dc69a18c03663405703 | [
"MIT"
] | null | null | null | server/config.py | christinali/SQLProject | d5fccc7c1f00f3a8c1444dc69a18c03663405703 | [
"MIT"
] | 1 | 2018-11-15T03:36:40.000Z | 2018-11-15T03:36:40.000Z | import getpass
print(getpass.getuser())
SQLALCHEMY_DATABASE_URI = 'postgresql://'+getpass.getuser()+':dbpasswd@localhost/bookbagging'
SQLALCHEMY_ECHO = True
DEBUG = True
| 24.428571 | 93 | 0.789474 | 19 | 171 | 6.947368 | 0.736842 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076023 | 171 | 6 | 94 | 28.5 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0.25731 | 0.181287 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.6 | 0.2 | 0 | 0.2 | 0.2 | 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 |
53da8e2289a19da70767dafecb131c741f8dc692 | 123 | py | Python | plusportals/__init__.py | StephenXie/PlusPortalsAPI | 1b47905b253bcf39865d2184c9ec76adfe78c9be | [
"MIT"
] | null | null | null | plusportals/__init__.py | StephenXie/PlusPortalsAPI | 1b47905b253bcf39865d2184c9ec76adfe78c9be | [
"MIT"
] | null | null | null | plusportals/__init__.py | StephenXie/PlusPortalsAPI | 1b47905b253bcf39865d2184c9ec76adfe78c9be | [
"MIT"
] | null | null | null | from .client import *
from .tracker import *
"""Unofficial, Reverse Engineered PlusPortals API."""
__version__ = '0.2.2' | 20.5 | 53 | 0.715447 | 15 | 123 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.146341 | 123 | 6 | 54 | 20.5 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
53e5ab4cad75e45fbe0fa1d4970c78ecab3b602f | 83 | py | Python | syncmanagerclient/legacy.py | Frie-man/syncmanager | f76e36f85ea68ab177a9ffd50dfff033ae0fc8f6 | [
"MIT"
] | null | null | null | syncmanagerclient/legacy.py | Frie-man/syncmanager | f76e36f85ea68ab177a9ffd50dfff033ae0fc8f6 | [
"MIT"
] | null | null | null | syncmanagerclient/legacy.py | Frie-man/syncmanager | f76e36f85ea68ab177a9ffd50dfff033ae0fc8f6 | [
"MIT"
] | null | null | null | from syncmanagerclient.main import legacy
if __name__ == '__main__':
legacy()
| 16.6 | 41 | 0.73494 | 9 | 83 | 5.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 4 | 42 | 20.75 | 0.768116 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 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 |
54c8b6682a541d2ea2332f1a594a56f0a040ebd7 | 5,970 | py | Python | src/bxcommon/messages/bloxroute/bloxroute_version_manager.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | null | null | null | src/bxcommon/messages/bloxroute/bloxroute_version_manager.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | null | null | null | src/bxcommon/messages/bloxroute/bloxroute_version_manager.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | null | null | null | from bxcommon import constants
from bxcommon.messages.bloxroute.bloxroute_message_factory import bloxroute_message_factory
from bxcommon.messages.bloxroute.bloxroute_message_type import BloxrouteMessageType
from bxcommon.messages.bloxroute.protocol_version import PROTOCOL_VERSION
from bxcommon.messages.bloxroute.v22 im... | 64.193548 | 104 | 0.856449 | 751 | 5,970 | 6.320905 | 0.095872 | 0.18201 | 0.256794 | 0.219928 | 0.338108 | 0.291974 | 0.028228 | 0.028228 | 0.019381 | 0 | 0 | 0.0554 | 0.10201 | 5,970 | 92 | 105 | 64.891304 | 0.830069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011494 | false | 0 | 0.436782 | 0 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
54d09fd91066f57876f2572f330815896aa0d7d7 | 224 | py | Python | scrubadub/detectors/credential.py | robclewley/scrubadub | 465b5d50e6fc6fb3b3dde49dac5c7d95305a3f0c | [
"MIT"
] | 3 | 2019-04-14T04:13:40.000Z | 2020-04-22T05:10:28.000Z | scrubadub/detectors/credential.py | robclewley/scrubadub | 465b5d50e6fc6fb3b3dde49dac5c7d95305a3f0c | [
"MIT"
] | 1 | 2018-01-26T17:39:54.000Z | 2018-01-26T17:39:54.000Z | scrubadub/detectors/credential.py | robclewley/scrubadub | 465b5d50e6fc6fb3b3dde49dac5c7d95305a3f0c | [
"MIT"
] | 3 | 2019-08-29T11:53:42.000Z | 2021-04-10T19:51:26.000Z |
from .base import RegexDetector
from ..filth import CredentialFilth
class CredentialDetector(RegexDetector):
"""Remove username/password combinations from dirty drity ``text``.
"""
filth_cls = CredentialFilth
| 22.4 | 71 | 0.754464 | 22 | 224 | 7.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 224 | 9 | 72 | 24.888889 | 0.893617 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 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 |
54d18c0078d0a835e70591dfcc816eb4b6b34759 | 8,753 | py | Python | tests/test_rfc2315.py | pysnmp/pyasn1-modules | 93f5699988fbb090be13aaa339498c128ba7dedb | [
"BSD-2-Clause"
] | null | null | null | tests/test_rfc2315.py | pysnmp/pyasn1-modules | 93f5699988fbb090be13aaa339498c128ba7dedb | [
"BSD-2-Clause"
] | null | null | null | tests/test_rfc2315.py | pysnmp/pyasn1-modules | 93f5699988fbb090be13aaa339498c128ba7dedb | [
"BSD-2-Clause"
] | null | null | null | #
# This file is part of pyasn1-modules software.
#
# Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pyasn1/license.html
#
import sys
import unittest
from pyasn1.codec.der.decoder import decode as der_decoder
from pyasn1.codec.der.encoder import encode as der_encoder
from pya... | 52.728916 | 86 | 0.930995 | 347 | 8,753 | 23.40634 | 0.608069 | 0.004925 | 0.003694 | 0.004432 | 0.45309 | 0.45309 | 0.45309 | 0.442009 | 0.428958 | 0.428958 | 0 | 0.099893 | 0.042728 | 8,753 | 165 | 87 | 53.048485 | 0.869435 | 0.021364 | 0 | 0.408451 | 0 | 0 | 0.849731 | 0.835242 | 0 | 1 | 0 | 0 | 0.042254 | 1 | 0.021127 | false | 0 | 0.035211 | 0 | 0.077465 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
54d6fb4bf6b48704d3dda2f2ea67c6a52102bffd | 100 | py | Python | luolearn/utils/__init__.py | luoshao23/ML_algorithm | 6e94fdd0718cd892118fd036c7c5851cf3e6d796 | [
"MIT"
] | 4 | 2017-06-19T06:33:38.000Z | 2019-01-31T12:07:12.000Z | luolearn/utils/__init__.py | luoshao23/ML_algorithm | 6e94fdd0718cd892118fd036c7c5851cf3e6d796 | [
"MIT"
] | null | null | null | luolearn/utils/__init__.py | luoshao23/ML_algorithm | 6e94fdd0718cd892118fd036c7c5851cf3e6d796 | [
"MIT"
] | 1 | 2017-12-06T08:41:06.000Z | 2017-12-06T08:41:06.000Z | from .validation import (check_consistent_length,
column_or_1d, check_X_y)
| 33.333333 | 49 | 0.64 | 12 | 100 | 4.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.31 | 100 | 2 | 50 | 50 | 0.826087 | 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 |
07141d2f1e443d7b2921fdb4214b3fbefb4b216d | 2,746 | py | Python | actor-linksprite-led-bar/led-bar.py | sahuyash/raspberrypi-examples | de5f20e6c20fe4eb713f34c7226c9d0d2249afc3 | [
"MIT"
] | 41 | 2015-06-08T13:15:11.000Z | 2022-01-20T21:16:32.000Z | actor-linksprite-led-bar/led-bar.py | sahuyash/raspberrypi-examples | de5f20e6c20fe4eb713f34c7226c9d0d2249afc3 | [
"MIT"
] | 16 | 2016-04-24T14:17:19.000Z | 2021-07-03T12:15:17.000Z | actor-linksprite-led-bar/led-bar.py | sahuyash/raspberrypi-examples | de5f20e6c20fe4eb713f34c7226c9d0d2249afc3 | [
"MIT"
] | 31 | 2016-04-24T13:03:36.000Z | 2021-12-07T17:03:25.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import RPi.GPIO as GPIO
import time
pd = 17 #DATA IN
pc = 18 #CLK IN
CmdMode = 0x0000 # Work on 8-bit mode
ON = 0x00ff # 8-bit 1 data
OFF = 0x0000 # 8-bit 0 data
def isBitSet(x, n):
return (x & n**2) != 0
def sendData(d):
clk = True
GPIO... | 18.065789 | 40 | 0.611071 | 663 | 2,746 | 2.524887 | 0.099548 | 0.260454 | 0.31362 | 0.32497 | 0.668459 | 0.627838 | 0.627838 | 0.627838 | 0.60454 | 0.60454 | 0 | 0.189836 | 0.132921 | 2,746 | 151 | 41 | 18.18543 | 0.51323 | 0.053897 | 0 | 0.537736 | 0 | 0 | 0.001933 | 0 | 0 | 0 | 0.006958 | 0 | 0 | 1 | 0.066038 | false | 0 | 0.028302 | 0.009434 | 0.103774 | 0.009434 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 4 |
0728caa2a53df7e66ea8d5d7ec8c33ead5f09773 | 55 | py | Python | code/vectormomentum/Code/Python/Libraries/__init__.py | ninamiolane/quicksilver | 1baf251360dadea0afa3daaa09942d9d2d7c71fb | [
"Apache-2.0"
] | 126 | 2017-04-06T03:19:03.000Z | 2022-03-08T07:44:09.000Z | code/vectormomentum/Code/Python/Libraries/__init__.py | ninamiolane/quicksilver | 1baf251360dadea0afa3daaa09942d9d2d7c71fb | [
"Apache-2.0"
] | 7 | 2017-09-22T01:46:04.000Z | 2021-04-29T07:22:44.000Z | code/vectormomentum/Code/Python/Libraries/__init__.py | ninamiolane/quicksilver | 1baf251360dadea0afa3daaa09942d9d2d7c71fb | [
"Apache-2.0"
] | 37 | 2017-04-03T17:14:44.000Z | 2022-03-09T16:00:03.000Z | #from CAvmHGMCommon import *
#from CAvmCommon import *
| 18.333333 | 28 | 0.781818 | 6 | 55 | 7.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 29 | 27.5 | 0.914894 | 0.927273 | 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 |
072f0411a62f4fb96ca8ea8a8bd5fd0fc289f592 | 92 | py | Python | __init__.py | gprasanthkumar/ML_Pipeline_Example | be866cfe9c1981452d490c8f2fc4ddb7a4f985f4 | [
"MIT"
] | 2 | 2021-09-16T15:45:03.000Z | 2022-01-13T04:12:16.000Z | __init__.py | gprasanthkumar/ML_Pipeline_Example | be866cfe9c1981452d490c8f2fc4ddb7a4f985f4 | [
"MIT"
] | 1 | 2022-03-20T12:09:05.000Z | 2022-03-20T12:09:05.000Z | __init__.py | gprasanthkumar/ML_Pipeline_Example | be866cfe9c1981452d490c8f2fc4ddb7a4f985f4 | [
"MIT"
] | 4 | 2021-09-16T00:56:27.000Z | 2022-01-13T04:12:36.000Z | # -*- coding: utf-8 -*-
"""
Created on Sat Jul 31 17:42:50 2021
@author: tan_k
"""
| 11.5 | 36 | 0.521739 | 15 | 92 | 3.133333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 0.271739 | 92 | 7 | 37 | 13.142857 | 0.507463 | 0.804348 | 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 |
0735fd4ec5b22ca3172f8f480a813c2a0d983f1f | 147 | py | Python | kanvas/ui/textbox.py | KevinBusuttil/kanvas | 7dca503b5a3cc5e401b6cb4d21c2c792c621452e | [
"MIT"
] | null | null | null | kanvas/ui/textbox.py | KevinBusuttil/kanvas | 7dca503b5a3cc5e401b6cb4d21c2c792c621452e | [
"MIT"
] | null | null | null | kanvas/ui/textbox.py | KevinBusuttil/kanvas | 7dca503b5a3cc5e401b6cb4d21c2c792c621452e | [
"MIT"
] | null | null | null | from .core import Widget
class Textbox(Widget):
def __init__(self) -> None:
super().__init__()
self.label = ''
pass | 21 | 33 | 0.564626 | 16 | 147 | 4.6875 | 0.8125 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.312925 | 147 | 7 | 34 | 21 | 0.742574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
074dec8cda101534b966e22b3203ff9b306a327a | 456 | py | Python | ex8.py | FelipeRossoni/infosatc-lp-avaliativo-02 | e73b8af363f334b21155917a317c6ccc8b6a73e7 | [
"MIT"
] | null | null | null | ex8.py | FelipeRossoni/infosatc-lp-avaliativo-02 | e73b8af363f334b21155917a317c6ccc8b6a73e7 | [
"MIT"
] | null | null | null | ex8.py | FelipeRossoni/infosatc-lp-avaliativo-02 | e73b8af363f334b21155917a317c6ccc8b6a73e7 | [
"MIT"
] | null | null | null | lista = ['Intel Core i9-9900KF.','Gigabyte B360M-Gaming 3','32GB DDR4 GDDR6','GeForce RTX 2080Ti','1TB de HD + 480GB de SSD','80PLUS 600W','Noctua NH-D15']
print('lista de todas as suas compras :', (lista))
print('Notamos que o preço da compra ultrapassou o orçamento limite definido pelo cliente, por isso, tomamos a li... | 76 | 193 | 0.734649 | 78 | 456 | 4.294872 | 0.730769 | 0.041791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.144737 | 456 | 6 | 194 | 76 | 0.782051 | 0 | 0 | 0 | 0 | 0.166667 | 0.772429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 4 |
0765ed45561a487fb4dae3f48a3783f6acab20cf | 4,802 | py | Python | snippets/EM/scratch01.py | michielkleinnijenhuis/EM | f46a9b11298919b359e80d9f23a7e824df1356cb | [
"Apache-2.0"
] | null | null | null | snippets/EM/scratch01.py | michielkleinnijenhuis/EM | f46a9b11298919b359e80d9f23a7e824df1356cb | [
"Apache-2.0"
] | null | null | null | snippets/EM/scratch01.py | michielkleinnijenhuis/EM | f46a9b11298919b359e80d9f23a7e824df1356cb | [
"Apache-2.0"
] | null | null | null | export PATH=/data/ndcn-fmrib-water-brain/ndcn0180/anaconda2/bin:$PATH
export CONDA_PATH="$(conda info --root)"
scriptdir="${HOME}/workspace/EM"
source activate root
f=m000_maskMM
f=m000_03000-04000_03000-04000_00030-00460
h5repack -v -f GZIP=4 $f.h5 ${f}_gzip.h5 &
cd ~/Library/Application\ Support/Blender/2.78/sc... | 44.462963 | 1,112 | 0.770304 | 838 | 4,802 | 4.192124 | 0.236277 | 0.011956 | 0.027327 | 0.036436 | 0.719044 | 0.701679 | 0.674352 | 0.630231 | 0.621691 | 0.621691 | 0 | 0.107095 | 0.066639 | 4,802 | 107 | 1,113 | 44.878505 | 0.676707 | 0.004373 | 0 | 0.4 | 0 | 0.1 | 0.315525 | 0.239053 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.057143 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4ae9feef306f3e9d441dfd3787b4eb1099481695 | 65 | py | Python | 2475.py | FelisCatusKR/Baekjoon_Python3 | d84dc9421fe956001864d138b6d6ec9ebd793edf | [
"MIT"
] | null | null | null | 2475.py | FelisCatusKR/Baekjoon_Python3 | d84dc9421fe956001864d138b6d6ec9ebd793edf | [
"MIT"
] | null | null | null | 2475.py | FelisCatusKR/Baekjoon_Python3 | d84dc9421fe956001864d138b6d6ec9ebd793edf | [
"MIT"
] | null | null | null | # 2475.py
print(sum([x*x for x in map(int,input().split())])%10) | 32.5 | 54 | 0.615385 | 15 | 65 | 2.733333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0.092308 | 65 | 2 | 54 | 32.5 | 0.576271 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 |
ab0754d608cfcdbbb26e2d9ac7fb7548ba256335 | 4,018 | py | Python | tests/unit/similarities/edit_sim/test_esim.py | suamin/nemex | 05d93c788bf1493a1f6da01e9eee03120da0f7d4 | [
"MIT"
] | 2 | 2021-03-24T12:12:55.000Z | 2021-05-02T11:48:47.000Z | tests/unit/similarities/edit_sim/test_esim.py | suamin/nemex | 05d93c788bf1493a1f6da01e9eee03120da0f7d4 | [
"MIT"
] | null | null | null | tests/unit/similarities/edit_sim/test_esim.py | suamin/nemex | 05d93c788bf1493a1f6da01e9eee03120da0f7d4 | [
"MIT"
] | 1 | 2021-05-16T17:44:08.000Z | 2021-05-16T17:44:08.000Z | import unittest
from nemex.similarities import EditSimilarity
class TestEditSimilarity(unittest.TestCase):
def setUp(self) -> None:
self.sim = EditSimilarity()
return None
def test_OST(self):
self.assertEqual(-2, self.sim.find_tau_min_overlap(1, 1, 0.2, 2))
self.assertEqual(... | 48.409639 | 78 | 0.655301 | 696 | 4,018 | 3.577586 | 0.099138 | 0.143373 | 0.176707 | 0.056225 | 0.883133 | 0.874699 | 0.704016 | 0.456627 | 0.403614 | 0.148996 | 0 | 0.088118 | 0.189398 | 4,018 | 82 | 79 | 49 | 0.676389 | 0 | 0 | 0.1 | 0 | 0 | 0.001991 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.1 | false | 0 | 0.028571 | 0.014286 | 0.242857 | 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 |
ab0a0b39faa5b8dee16b21f94738fba0320e239c | 96 | py | Python | assignment/sets/max_min_set.py | arc-arnob/256131 | 645437d7607f186967e0f84c80e6ca976f266622 | [
"Apache-2.0"
] | null | null | null | assignment/sets/max_min_set.py | arc-arnob/256131 | 645437d7607f186967e0f84c80e6ca976f266622 | [
"Apache-2.0"
] | 1 | 2021-04-17T02:47:03.000Z | 2021-04-17T02:47:03.000Z | assignment/sets/max_min_set.py | arc-arnob/256131 | 645437d7607f186967e0f84c80e6ca976f266622 | [
"Apache-2.0"
] | null | null | null | s = set(map(int, input().split()))
print(s)
print("max is: ",max(s))
print("min is: ",min(s))
| 13.714286 | 34 | 0.5625 | 18 | 96 | 3 | 0.555556 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 6 | 35 | 16 | 0.650602 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ab36310e71aab5b7fae4dae1f2ab0fda8f0edcf3 | 98 | py | Python | Python/Aula10/ExerciciosPython/ExerciciosElif/ComparandoNumeros.py | ekballo/Back-End | b252e3b2a16ce36486344823f14afa6691fde9bc | [
"MIT"
] | null | null | null | Python/Aula10/ExerciciosPython/ExerciciosElif/ComparandoNumeros.py | ekballo/Back-End | b252e3b2a16ce36486344823f14afa6691fde9bc | [
"MIT"
] | null | null | null | Python/Aula10/ExerciciosPython/ExerciciosElif/ComparandoNumeros.py | ekballo/Back-End | b252e3b2a16ce36486344823f14afa6691fde9bc | [
"MIT"
] | null | null | null | #Escreva um programa que leia dois números inteiros e compare-os. mostrando na tela uma mensagem:
| 49 | 97 | 0.806122 | 16 | 98 | 4.9375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 1 | 98 | 98 | 0.951807 | 0.979592 | 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 |
ab4c4b0b65f457b9b623585432e45a36adcb8951 | 24 | py | Python | fastai2/__init__.py | krishnakalyan3/fastai2 | 68f23a66d587011fee625ef1c01e2d104e3f24ce | [
"Apache-2.0"
] | null | null | null | fastai2/__init__.py | krishnakalyan3/fastai2 | 68f23a66d587011fee625ef1c01e2d104e3f24ce | [
"Apache-2.0"
] | null | null | null | fastai2/__init__.py | krishnakalyan3/fastai2 | 68f23a66d587011fee625ef1c01e2d104e3f24ce | [
"Apache-2.0"
] | null | null | null | __version__ = "0.0.25"
| 8 | 22 | 0.625 | 4 | 24 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 24 | 2 | 23 | 12 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ab613a58460daf70669d93d0d3ba053a77af6790 | 22,583 | py | Python | bromelia/messages.py | post-cyberlabs/bromelia | a21c6af591fa3ebe5335f2f34b13b60f03a48b55 | [
"MIT"
] | 25 | 2021-04-03T20:26:57.000Z | 2022-02-08T15:02:17.000Z | bromelia/messages.py | post-cyberlabs/bromelia | a21c6af591fa3ebe5335f2f34b13b60f03a48b55 | [
"MIT"
] | 8 | 2022-01-23T10:55:43.000Z | 2022-03-01T14:03:01.000Z | bromelia/messages.py | post-cyberlabs/bromelia | a21c6af591fa3ebe5335f2f34b13b60f03a48b55 | [
"MIT"
] | 3 | 2021-09-16T11:23:25.000Z | 2022-01-23T10:49:26.000Z | # -*- coding: utf-8 -*-
"""
bromelia.messages
~~~~~~~~~~~~~~~~~
This module contains the Diameter protocol base messages.
:copyright: (c) 2020-present Henrique Marques Ribeiro.
:license: MIT, see LICENSE for more details.
"""
import platform
import socket
from .avps import *
from .base import Di... | 35.396552 | 85 | 0.556259 | 1,958 | 22,583 | 6.129724 | 0.107763 | 0.045492 | 0.021663 | 0.037327 | 0.798867 | 0.792868 | 0.75729 | 0.69855 | 0.673721 | 0.64081 | 0 | 0.012359 | 0.362219 | 22,583 | 638 | 86 | 35.396552 | 0.82094 | 0.233273 | 0 | 0.854881 | 0 | 0 | 0.105673 | 0.007719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031662 | false | 0 | 0.015831 | 0 | 0.14248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
db4d967f97727f747037a4e8a241667be46b1839 | 328 | py | Python | Object Oriented Programming/Object Oriented Programming dossier/enterprise.py | severinhaller/einf-machinelearning | 4dfc8f1da0d81c5aa800d1459f81b72d1bf6dd9b | [
"MIT"
] | null | null | null | Object Oriented Programming/Object Oriented Programming dossier/enterprise.py | severinhaller/einf-machinelearning | 4dfc8f1da0d81c5aa800d1459f81b72d1bf6dd9b | [
"MIT"
] | null | null | null | Object Oriented Programming/Object Oriented Programming dossier/enterprise.py | severinhaller/einf-machinelearning | 4dfc8f1da0d81c5aa800d1459f81b72d1bf6dd9b | [
"MIT"
] | null | null | null | import main
crew_mitglied_1 = main.CrewMitglied()
crew_mitglied_1.nachname = "Quirk"
print(crew_mitglied_1.nachname)
crew_mitglied_4 = main.CrewMitglied()
crew_mitglied_4.nachname = "Quirky"
print(crew_mitglied_4.nachname)
print(main.CrewMitglied)
print(id(crew_mitglied_4.nachname))
print(crew_mitglied_4==crew_mitgli... | 21.866667 | 39 | 0.82622 | 48 | 328 | 5.270833 | 0.25 | 0.426877 | 0.256917 | 0.249012 | 0.205534 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029508 | 0.070122 | 328 | 14 | 40 | 23.428571 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.033742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.5 | 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 |
db52c02db8738abb9b9c3051c0fc021fbd700748 | 416 | py | Python | pyarm/agent/sigmoid.py | jeremiedecock/pyarm | c0561ded2087cf1f4a8f6552fd29fadd470b89e6 | [
"MIT"
] | 2 | 2015-06-08T13:01:37.000Z | 2018-08-13T06:54:38.000Z | pyarm/agent/sigmoid.py | jeremiedecock/pyarm | c0561ded2087cf1f4a8f6552fd29fadd470b89e6 | [
"MIT"
] | null | null | null | pyarm/agent/sigmoid.py | jeremiedecock/pyarm | c0561ded2087cf1f4a8f6552fd29fadd470b89e6 | [
"MIT"
] | 1 | 2018-12-05T13:47:50.000Z | 2018-12-05T13:47:50.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2010 Jérémie DECOCK (http://www.jdhp.org)
import math
class Agent:
def __init__(self):
pass
def get_commands(self, angles, velocities, time):
return (0.,
0.,
sigmoid(time, 3.),
0.,
0.,
... | 18.086957 | 57 | 0.461538 | 48 | 416 | 3.895833 | 0.6875 | 0.032086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 0.384615 | 416 | 22 | 58 | 18.909091 | 0.675781 | 0.185096 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.076923 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
db6b13ccae108da8f71cb5e3de20da09842bcbab | 818 | py | Python | software/multifluids_icferst/tests/swe_mms_p2p1_quadratic_drag/swe_mms_p2p1_quadratic_drag_tools.py | msc-acse/acse-9-independent-research-project-Wade003 | cfcba990d52ccf535171cf54c0a91b184db6f276 | [
"MIT"
] | 2 | 2020-05-11T02:39:46.000Z | 2020-05-11T03:08:38.000Z | software/multifluids_icferst/tests/swe_mms_p2p1_quadratic_drag/swe_mms_p2p1_quadratic_drag_tools.py | msc-acse/acse-9-independent-research-project-Wade003 | cfcba990d52ccf535171cf54c0a91b184db6f276 | [
"MIT"
] | null | null | null | software/multifluids_icferst/tests/swe_mms_p2p1_quadratic_drag/swe_mms_p2p1_quadratic_drag_tools.py | msc-acse/acse-9-independent-research-project-Wade003 | cfcba990d52ccf535171cf54c0a91b184db6f276 | [
"MIT"
] | 2 | 2020-05-21T22:50:19.000Z | 2020-10-28T17:16:31.000Z | from math import sin, cos, tanh, pi, sqrt
def u(x):
return cos(x[1])*sin(x[0])
def v(x):
return -cos(x[0])*sin(x[1])
def h(x):
return sin(x[0])*sin(x[1])
def forcing_u(x):
return cos(x[0])*cos(x[1])**2*sin(x[0]) + cos(x[0])*sin(x[0])*sin(x[1])**2 + 1.20*cos(x[1])*sin(x[0]) + 9.80*cos(x[0])*sin(x[1])... | 34.083333 | 251 | 0.52445 | 205 | 818 | 2.068293 | 0.112195 | 0.226415 | 0.141509 | 0.141509 | 0.683962 | 0.627358 | 0.375 | 0.334906 | 0.301887 | 0.226415 | 0 | 0.116343 | 0.117359 | 818 | 23 | 252 | 35.565217 | 0.470914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0.066667 | 0.466667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
db6eac597f5026a482cad8570e239c08cb9005e7 | 323 | py | Python | onmt/modules/__init__.py | DanSchum/NMTGMinor | ebcf33cc77b7c2bc73192f1975b99487db0ebc8a | [
"MIT"
] | 5 | 2020-05-25T01:11:51.000Z | 2021-02-18T08:55:43.000Z | onmt/modules/__init__.py | DanSchum/NMTGMinor | ebcf33cc77b7c2bc73192f1975b99487db0ebc8a | [
"MIT"
] | null | null | null | onmt/modules/__init__.py | DanSchum/NMTGMinor | ebcf33cc77b7c2bc73192f1975b99487db0ebc8a | [
"MIT"
] | null | null | null | from onmt.modules.GlobalAttention import GlobalAttention
from onmt.modules.ImageEncoder import ImageEncoder
from onmt.modules.BaseModel import Generator, NMTModel
from onmt.modules.StaticDropout import StaticDropout
# For flake8 compatibility.
__all__ = [GlobalAttention, ImageEncoder, Generator, NMTModel, StaticDropou... | 40.375 | 77 | 0.854489 | 34 | 323 | 8 | 0.411765 | 0.117647 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003401 | 0.089783 | 323 | 7 | 78 | 46.142857 | 0.921769 | 0.077399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
db7d90842b50dae7fc61ca03005b8d7633504f21 | 685 | py | Python | cmd_utils/cmd_exception.py | graze/pycmd-utils | f35700d88265424b7e514e5c82cbebae5e2f57a2 | [
"MIT"
] | null | null | null | cmd_utils/cmd_exception.py | graze/pycmd-utils | f35700d88265424b7e514e5c82cbebae5e2f57a2 | [
"MIT"
] | 1 | 2020-02-01T14:59:38.000Z | 2020-02-01T14:59:38.000Z | cmd_utils/cmd_exception.py | graze/pycmd-utils | f35700d88265424b7e514e5c82cbebae5e2f57a2 | [
"MIT"
] | null | null | null | """Exceptions for cmd_utils."""
class CommandException(Exception):
"""
Base Exception for cmd_utils exceptions.
Attributes:
exc - string message
return_code - return code of command
"""
def __init__(self, exc, return_code=None):
Exception.__init__(self)
... | 17.564103 | 61 | 0.635036 | 76 | 685 | 5.381579 | 0.460526 | 0.122249 | 0.05379 | 0.0978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271533 | 685 | 38 | 62 | 18.026316 | 0.819639 | 0.348905 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.153846 | 0 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
dbac5f0ca22ffd63ebc900acce8160e38e67afaf | 98 | py | Python | app/apps.py | nkmurli/vasuNKproj | 543f87d5ed2812d50b39867bca60c893a4d906d8 | [
"MIT"
] | null | null | null | app/apps.py | nkmurli/vasuNKproj | 543f87d5ed2812d50b39867bca60c893a4d906d8 | [
"MIT"
] | 7 | 2020-06-05T20:48:26.000Z | 2021-09-22T18:29:26.000Z | app/apps.py | nkmurli/vasuNKproj | 543f87d5ed2812d50b39867bca60c893a4d906d8 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class VasuappConfig(AppConfig):
name = 'vasuproj.vasuapp'
| 16.333333 | 33 | 0.765306 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 34 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 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 |
dbc3ad91e40143b7d3055df18427435cb788ddfe | 1,004 | py | Python | test_non-equivalent-colourings.py | jcgwt/foobar | 0eb13ea73c28456fde588acb0c1314ea5e413a21 | [
"CNRI-Python"
] | null | null | null | test_non-equivalent-colourings.py | jcgwt/foobar | 0eb13ea73c28456fde588acb0c1314ea5e413a21 | [
"CNRI-Python"
] | null | null | null | test_non-equivalent-colourings.py | jcgwt/foobar | 0eb13ea73c28456fde588acb0c1314ea5e413a21 | [
"CNRI-Python"
] | null | null | null | import unittest
import importlib
colourings = importlib.import_module('non-equivalent-colourings')
class TestCases(unittest.TestCase):
def test_solution(self):
self.assertEqual(colourings.solution(1,1,1),
1)
self.assertEqual(colourings.solution(10,10,1),
... | 47.809524 | 313 | 0.706175 | 64 | 1,004 | 10.921875 | 0.390625 | 0.107296 | 0.178827 | 0.236052 | 0.211731 | 0.211731 | 0 | 0 | 0 | 0 | 0 | 0.48906 | 0.226096 | 1,004 | 20 | 314 | 50.2 | 0.410553 | 0 | 0 | 0.117647 | 0 | 0 | 0.032869 | 0.0249 | 0 | 0 | 0 | 0 | 0.294118 | 1 | 0.058824 | false | 0 | 0.176471 | 0 | 0.294118 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dbcb3b0a8a8282ac263bf5393ea70cfe78b70565 | 113 | py | Python | test/normal_failure.py | praekeltfoundation/vaultkeeper-agent | 7b62b0e77b4ced618bb28ad466fa15b87d709ea9 | [
"BSD-3-Clause"
] | 7 | 2017-11-20T15:13:56.000Z | 2021-11-22T23:38:03.000Z | test/normal_failure.py | praekeltfoundation/vaultkeeper-agent | 7b62b0e77b4ced618bb28ad466fa15b87d709ea9 | [
"BSD-3-Clause"
] | 11 | 2017-08-31T09:00:51.000Z | 2018-02-09T10:17:48.000Z | test/normal_failure.py | praekeltfoundation/vaultkeeper-agent | 7b62b0e77b4ced618bb28ad466fa15b87d709ea9 | [
"BSD-3-Clause"
] | 2 | 2018-04-11T11:00:25.000Z | 2020-05-05T12:06:45.000Z | #!/usr/bin/python
import sys
import time
print('Subprocess started...')
time.sleep(1)
print('Oops!')
sys.exit(3)
| 14.125 | 30 | 0.707965 | 18 | 113 | 4.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.088496 | 113 | 7 | 31 | 16.142857 | 0.757282 | 0.141593 | 0 | 0 | 0 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
916eaab771a3b4ed5ee878bb1ab947ce58c15e20 | 341 | py | Python | src/dataset/__init__.py | lux-jwang/goodoos | 3b8f7778ea639d168218e2d0db5933bafab85fc9 | [
"MIT"
] | 1 | 2015-09-03T13:45:26.000Z | 2015-09-03T13:45:26.000Z | src/dataset/__init__.py | lux-jwang/goodoos | 3b8f7778ea639d168218e2d0db5933bafab85fc9 | [
"MIT"
] | null | null | null | src/dataset/__init__.py | lux-jwang/goodoos | 3b8f7778ea639d168218e2d0db5933bafab85fc9 | [
"MIT"
] | null | null | null | from datawasher import get_friends_data,get_user_item_matrix, \
get_reputation,get_user_item_matrix_sub, get_reputation, \
get_original_user_item_matrix,get_original_UI, \
get_friends_data_index,get_moive100k, \
get_twittermovie... | 56.833333 | 81 | 0.648094 | 38 | 341 | 5.184211 | 0.447368 | 0.121827 | 0.213198 | 0.172589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017021 | 0.31085 | 341 | 5 | 82 | 68.2 | 0.821277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
91792f8fb1fa936f053d886206b4d625e7c67b55 | 24,124 | py | Python | netbox/virtualization/tests/test_api.py | habalux/netbox | dd7249d2ef09a8f09139c228b8186683237ad3ee | [
"Apache-2.0"
] | 2 | 2019-03-11T12:34:06.000Z | 2021-04-22T12:55:04.000Z | netbox/virtualization/tests/test_api.py | habalux/netbox | dd7249d2ef09a8f09139c228b8186683237ad3ee | [
"Apache-2.0"
] | 2 | 2021-09-08T00:50:06.000Z | 2022-01-13T01:06:14.000Z | netbox/virtualization/tests/test_api.py | habalux/netbox | dd7249d2ef09a8f09139c228b8186683237ad3ee | [
"Apache-2.0"
] | 1 | 2021-05-11T07:10:44.000Z | 2021-05-11T07:10:44.000Z | from django.urls import reverse
from netaddr import IPNetwork
from rest_framework import status
from dcim.constants import IFACE_FF_VIRTUAL, IFACE_MODE_TAGGED
from dcim.models import Interface
from ipam.models import IPAddress, VLAN
from utilities.testing import APITestCase
from virtualization.models import Cluster, C... | 38.292063 | 114 | 0.623404 | 2,656 | 24,124 | 5.576054 | 0.055346 | 0.084065 | 0.046185 | 0.067454 | 0.820662 | 0.777448 | 0.72998 | 0.698042 | 0.684335 | 0.630993 | 0 | 0.018813 | 0.235409 | 24,124 | 629 | 115 | 38.352941 | 0.784115 | 0 | 0 | 0.490364 | 0 | 0 | 0.169665 | 0.055339 | 0 | 0 | 0 | 0 | 0.226981 | 1 | 0.092077 | false | 0 | 0.017131 | 0 | 0.119914 | 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 |
91abc0dbac4ab3bc9c9559c6c8dde28f641d97b6 | 3,733 | py | Python | openpyxl/utils/formulas.py | xinetzone/openpyxl | df1507591952e6b4f865957bafc4f69e44845b75 | [
"MIT"
] | null | null | null | openpyxl/utils/formulas.py | xinetzone/openpyxl | df1507591952e6b4f865957bafc4f69e44845b75 | [
"MIT"
] | null | null | null | openpyxl/utils/formulas.py | xinetzone/openpyxl | df1507591952e6b4f865957bafc4f69e44845b75 | [
"MIT"
] | null | null | null | # Copyright (c) 2010-2022 openpyxl
"""
List of builtin formulae
"""
FORMULAE = ("CUBEKPIMEMBER", "CUBEMEMBER", "CUBEMEMBERPROPERTY", "CUBERANKEDMEMBER", "CUBESET", "CUBESETCOUNT", "CUBEVALUE", "DAVERAGE", "DCOUNT", "DCOUNTA", "DGET", "DMAX", "DMIN", "DPRODUCT", "DSTDEV", "DSTDEVP", "DSUM", "DVAR", "DVARP", "DATE", "D... | 373.3 | 3,630 | 0.611305 | 373 | 3,733 | 6.117962 | 0.975871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010125 | 0.100455 | 3,733 | 9 | 3,631 | 414.777778 | 0.669446 | 0.015537 | 0 | 0 | 0 | 0 | 0.602945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
91ad5006688a620485d7a87108a47b13ee71c66f | 169 | py | Python | bert/train/utils/pad.py | public1024/BERT-pytorch | 50dd20816c7b33d863ddfd761de72859c7799c5e | [
"Unlicense"
] | 66 | 2018-10-30T16:17:43.000Z | 2022-03-18T13:13:01.000Z | bert/train/utils/pad.py | public1024/BERT-pytorch | 50dd20816c7b33d863ddfd761de72859c7799c5e | [
"Unlicense"
] | 4 | 2019-03-22T10:30:26.000Z | 2022-03-21T12:19:22.000Z | bert/train/utils/pad.py | public1024/BERT-pytorch | 50dd20816c7b33d863ddfd761de72859c7799c5e | [
"Unlicense"
] | 28 | 2018-11-01T09:06:27.000Z | 2022-03-11T04:56:10.000Z | from bert.preprocess import PAD_INDEX
def pad_masking(x):
# x: (batch_size, seq_len)
padded_positions = x == PAD_INDEX
return padded_positions.unsqueeze(1) | 24.142857 | 40 | 0.733728 | 25 | 169 | 4.68 | 0.72 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.177515 | 169 | 7 | 40 | 24.142857 | 0.834532 | 0.142012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 |
91addeb7ecdbf5ffb5543e60e03df7a521befc6b | 3,834 | py | Python | src/GUI_config.py | volovodenko/English | 860ae0f971909b9aa299c193ea7d0161c88d0b22 | [
"Apache-2.0"
] | 31 | 2015-02-11T16:10:52.000Z | 2021-08-31T12:39:05.000Z | src/GUI_config.py | volovodenko/English | 860ae0f971909b9aa299c193ea7d0161c88d0b22 | [
"Apache-2.0"
] | 5 | 2015-05-26T09:38:02.000Z | 2015-11-12T20:54:32.000Z | src/GUI_config.py | volovodenko/English | 860ae0f971909b9aa299c193ea7d0161c88d0b22 | [
"Apache-2.0"
] | 9 | 2015-03-18T08:23:51.000Z | 2022-01-05T05:51:04.000Z | # -*- coding: utf-8 -*-
from Tkinter import PhotoImage
clr_stat_frame = "#E9F6FE"
clr_word_frame = "#FFFFE0"
clr_answer_frame = "#E9F6FE"
clr_success = "#348000"
clr_error = "#FC0039"
clr_black = "#000000"
clr_stat = ["#7B7B00", "#007B00", "#7B7B7B"]
def edit_image():
img = PhotoImage(format="gif",
... | 62.852459 | 104 | 0.709963 | 151 | 3,834 | 17.927152 | 0.781457 | 0.008866 | 0.019948 | 0.026598 | 0.034355 | 0.034355 | 0 | 0 | 0 | 0 | 0 | 0.09596 | 0.225352 | 3,834 | 60 | 105 | 63.9 | 0.815488 | 0.005477 | 0 | 0.176471 | 0 | 0 | 0.666492 | 0.647599 | 0 | 1 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.019608 | 0 | 0.137255 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
91c32185ee553a88e1ff40f83a8a3bb5178233a6 | 258 | py | Python | students/k3342/practical_works/Shaidullina_Regina/simple_django_web_project/django_project_Shaidullina/project_first_app/admin.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 10 | 2020-03-20T09:06:12.000Z | 2021-07-27T13:06:02.000Z | students/k3342/practical_works/Shaidullina_Regina/simple_django_web_project/django_project_Shaidullina/project_first_app/admin.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 134 | 2020-03-23T09:47:48.000Z | 2022-03-12T01:05:19.000Z | students/k3342/practical_works/Shaidullina_Regina/simple_django_web_project/django_project_Shaidullina/project_first_app/admin.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 71 | 2020-03-20T12:45:56.000Z | 2021-10-31T19:22:25.000Z | from django.contrib import admin
from project_first_app.models import Owner, Car, Ownership, DriversLicense
# Register your models here.
admin.site.register(Owner)
admin.site.register(Car)
admin.site.register(Ownership)
admin.site.register(DriversLicense)
| 25.8 | 74 | 0.825581 | 35 | 258 | 6.028571 | 0.485714 | 0.170616 | 0.322275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085271 | 258 | 9 | 75 | 28.666667 | 0.894068 | 0.100775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
91c89b2dd49a8cdaaab40d8db26987314f7600e6 | 37,555 | py | Python | cardboard/cards/sets/saviors_of_kamigawa.py | Julian/cardboard | 6ab676d04b38bf9b0d0c4a849364159947b8ea7f | [
"MIT"
] | 5 | 2015-03-23T10:25:40.000Z | 2021-05-29T06:00:40.000Z | cardboard/cards/sets/saviors_of_kamigawa.py | Julian/cardboard | 6ab676d04b38bf9b0d0c4a849364159947b8ea7f | [
"MIT"
] | null | null | null | cardboard/cards/sets/saviors_of_kamigawa.py | Julian/cardboard | 6ab676d04b38bf9b0d0c4a849364159947b8ea7f | [
"MIT"
] | 1 | 2019-02-17T14:45:29.000Z | 2019-02-17T14:45:29.000Z | from cardboard import types
from cardboard.ability import (
AbilityNotImplemented, spell, activated, triggered, static
)
from cardboard.cards import card, common, keywords, match
@card("Hidetsugu's Second Rite")
def hidetsugus_second_rite(card, abilities):
def hidetsugus_second_rite():
return Ability... | 20.332972 | 88 | 0.73431 | 4,067 | 37,555 | 6.493484 | 0.094173 | 0.280132 | 0.102995 | 0.006059 | 0.436404 | 0.205385 | 0.126472 | 0.075732 | 0.049264 | 0.049264 | 0 | 0 | 0.193689 | 37,555 | 1,847 | 89 | 20.332972 | 0.872131 | 0 | 0 | 0.443086 | 0 | 0 | 0.078603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.417686 | false | 0 | 0.002822 | 0.257761 | 0.838194 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
91ca5a43e86875409a8c8d7ee26ca2d84b2cf503 | 118 | py | Python | drf_messages/__init__.py | SaadBazaz/drf-messages | 5c0d6fb13f7a845814556b4c251c7f1469396273 | [
"BSD-3-Clause"
] | null | null | null | drf_messages/__init__.py | SaadBazaz/drf-messages | 5c0d6fb13f7a845814556b4c251c7f1469396273 | [
"BSD-3-Clause"
] | null | null | null | drf_messages/__init__.py | SaadBazaz/drf-messages | 5c0d6fb13f7a845814556b4c251c7f1469396273 | [
"BSD-3-Clause"
] | null | null | null | import logging
logger = logging.getLogger("drf_messages")
default_app_config = "drf_messages.apps.DrfMessagesConfig"
| 23.6 | 58 | 0.830508 | 14 | 118 | 6.714286 | 0.785714 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076271 | 118 | 4 | 59 | 29.5 | 0.862385 | 0 | 0 | 0 | 0 | 0 | 0.398305 | 0.29661 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
91d0a8a21d04086687250b9f6e83c840924c3703 | 154 | py | Python | goodgames/friends/apps.py | mooshu1x2/goodgames | 346c996cf6b561fbcb36a8e6b4616fa0c16104db | [
"Apache-2.0"
] | null | null | null | goodgames/friends/apps.py | mooshu1x2/goodgames | 346c996cf6b561fbcb36a8e6b4616fa0c16104db | [
"Apache-2.0"
] | 6 | 2020-02-12T00:20:09.000Z | 2021-06-10T19:59:04.000Z | goodgames/friends/apps.py | michellebeard/goodgames | 346c996cf6b561fbcb36a8e6b4616fa0c16104db | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
class FriendsConfig(AppConfig):
name = 'friends'
| 17.111111 | 39 | 0.733766 | 18 | 154 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.162338 | 154 | 8 | 40 | 19.25 | 0.829457 | 0.136364 | 0 | 0 | 0 | 0 | 0.053435 | 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 |
53255f8f8ca86a94bc275c3b5d332be24441e55e | 32 | py | Python | io_scene_xray/anm/fmt.py | vika-sonne/blender-xray | a9b9b9e3c83500e5431ec9e692ed57aff63ea43c | [
"BSD-2-Clause"
] | 1 | 2021-02-14T11:52:25.000Z | 2021-02-14T11:52:25.000Z | io_scene_xray/anm/fmt.py | vika-sonne/blender-xray | a9b9b9e3c83500e5431ec9e692ed57aff63ea43c | [
"BSD-2-Clause"
] | null | null | null | io_scene_xray/anm/fmt.py | vika-sonne/blender-xray | a9b9b9e3c83500e5431ec9e692ed57aff63ea43c | [
"BSD-2-Clause"
] | 1 | 2021-06-30T15:52:46.000Z | 2021-06-30T15:52:46.000Z | class Chunks:
MAIN = 0x1100
| 10.666667 | 17 | 0.65625 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0.28125 | 32 | 2 | 18 | 16 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
53449a56489895838191639e5356a659765cf4c0 | 166 | py | Python | python/Alura/data science/numpy/operacoes_arrays.py | alifoliveira/rep-estudos | 73ffb7cfe77890f6cca8b5447db332f88454ef7e | [
"MIT"
] | null | null | null | python/Alura/data science/numpy/operacoes_arrays.py | alifoliveira/rep-estudos | 73ffb7cfe77890f6cca8b5447db332f88454ef7e | [
"MIT"
] | null | null | null | python/Alura/data science/numpy/operacoes_arrays.py | alifoliveira/rep-estudos | 73ffb7cfe77890f6cca8b5447db332f88454ef7e | [
"MIT"
] | null | null | null | import numpy as np
km2 = np.array([44410., 5712., 37123., 0., 25757.])
anos2 = np.array([2003, 1991, 1990, 2019, 2006])
idade = 2019 - anos2
km_media = km2 / idade
| 20.75 | 51 | 0.644578 | 27 | 166 | 3.925926 | 0.740741 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0.180723 | 166 | 7 | 52 | 23.714286 | 0.426471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
535577c44b512d6f563845194dedef3cf5444817 | 185 | py | Python | examples/basic/basic/urls.py | maxmzd/django-eventstream | 20c5bf68263505f3a4ae4abdc5df71e9790b992c | [
"MIT"
] | null | null | null | examples/basic/basic/urls.py | maxmzd/django-eventstream | 20c5bf68263505f3a4ae4abdc5df71e9790b992c | [
"MIT"
] | null | null | null | examples/basic/basic/urls.py | maxmzd/django-eventstream | 20c5bf68263505f3a4ae4abdc5df71e9790b992c | [
"MIT"
] | null | null | null | from django.conf.urls import include, url
import django_eventstream
from . import views
urlpatterns = [
url(r'^$', views.home),
url(r'^events/', include(django_eventstream.urls)),
]
| 20.555556 | 52 | 0.735135 | 25 | 185 | 5.36 | 0.52 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118919 | 185 | 8 | 53 | 23.125 | 0.822086 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 |
72702c5001f2a0083f7b408b465d7b66ed5f2055 | 9,880 | py | Python | py/model.py | katiehuang1221/onl_ds5_project_2 | dc9243d6bdc0c1952a761b2ed3e91a8548202b42 | [
"MIT"
] | null | null | null | py/model.py | katiehuang1221/onl_ds5_project_2 | dc9243d6bdc0c1952a761b2ed3e91a8548202b42 | [
"MIT"
] | 1 | 2021-01-20T02:34:07.000Z | 2021-01-20T02:34:07.000Z | py/model.py | katiehuang1221/onl_ds5_project_2 | dc9243d6bdc0c1952a761b2ed3e91a8548202b42 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
sns.set()
from sklearn.model_selection import train_test_split
from sklearn.model_selection import cross_val_score
from sklearn.linear_model import LinearRegression
from sklearn.preprocessing import StandardScaler, PolynomialF... | 34.911661 | 126 | 0.722672 | 1,624 | 9,880 | 4.052956 | 0.125616 | 0.043756 | 0.032817 | 0.02127 | 0.753266 | 0.731996 | 0.712701 | 0.70313 | 0.687177 | 0.661805 | 0 | 0.009373 | 0.179352 | 9,880 | 283 | 127 | 34.911661 | 0.802417 | 0.194636 | 0 | 0.481203 | 0 | 0 | 0.03464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037594 | false | 0 | 0.090226 | 0 | 0.165414 | 0.037594 | 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 |
727e72d54342b8ee2ba41b8b128dbb98a4df8dd5 | 423 | py | Python | tests/test_rotateWord.py | clara0/learn-python | ab6d6f3503314ae01442a777c453a383aafdd190 | [
"Apache-2.0"
] | null | null | null | tests/test_rotateWord.py | clara0/learn-python | ab6d6f3503314ae01442a777c453a383aafdd190 | [
"Apache-2.0"
] | 6 | 2020-08-08T16:58:01.000Z | 2020-09-03T02:01:45.000Z | tests/test_rotateWord.py | clara0/learn-python | ab6d6f3503314ae01442a777c453a383aafdd190 | [
"Apache-2.0"
] | 1 | 2020-07-24T20:29:41.000Z | 2020-07-24T20:29:41.000Z | import unittest
import rotate_word
class TestRotateWord(unittest.TestCase):
def test_rotateWord(self):
self.assertEqual(rotate_word.rotate('abc', 1), 'bcd')
self.assertEqual(rotate_word.rotate('abcz', 2), 'cdeb')
self.assertEqual(rotate_word.rotate('abc', 27), 'bcd')
self.assertEqu... | 35.25 | 63 | 0.676123 | 53 | 423 | 5.264151 | 0.377358 | 0.215054 | 0.376344 | 0.448029 | 0.641577 | 0.641577 | 0.397849 | 0.272401 | 0 | 0 | 0 | 0.016949 | 0.163121 | 423 | 11 | 64 | 38.454545 | 0.771186 | 0 | 0 | 0 | 0 | 0 | 0.07565 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72bf407a81e5ab6406aa86e7591b75d126b48e37 | 55 | py | Python | papertalk/wsgi.py | karissa/papertalk | 79d77383b1a6fb41e9fef8b9c4f619df97cc8a7c | [
"MIT"
] | null | null | null | papertalk/wsgi.py | karissa/papertalk | 79d77383b1a6fb41e9fef8b9c4f619df97cc8a7c | [
"MIT"
] | 2 | 2016-02-04T23:59:58.000Z | 2016-02-04T23:59:58.000Z | papertalk/wsgi.py | karissa/papertalk | 79d77383b1a6fb41e9fef8b9c4f619df97cc8a7c | [
"MIT"
] | null | null | null | from papertalk.server import make_app
app = make_app()
| 18.333333 | 37 | 0.8 | 9 | 55 | 4.666667 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 38 | 27.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
72d6dc7e6b5cdb80c359623ffb44a937de65c734 | 7,241 | py | Python | flask_dance/consumer/requests.py | kerryhatcher/flask-dance | db7ace28e92bb21cf59c79c284d3f30d615c8ec0 | [
"MIT"
] | 836 | 2015-01-11T23:01:58.000Z | 2022-03-28T07:32:52.000Z | flask_dance/consumer/requests.py | kerryhatcher/flask-dance | db7ace28e92bb21cf59c79c284d3f30d615c8ec0 | [
"MIT"
] | 353 | 2015-02-11T00:32:58.000Z | 2022-03-28T14:45:38.000Z | flask_dance/consumer/requests.py | kerryhatcher/flask-dance | db7ace28e92bb21cf59c79c284d3f30d615c8ec0 | [
"MIT"
] | 189 | 2015-03-10T15:04:29.000Z | 2022-03-16T21:49:11.000Z | from functools import wraps
from flask import redirect, url_for
from urlobject import URLObject
from requests_oauthlib import OAuth1Session as BaseOAuth1Session
from requests_oauthlib import OAuth2Session as BaseOAuth2Session
from oauthlib.common import to_unicode
from werkzeug.utils import cached_property
from flask_d... | 36.024876 | 88 | 0.639967 | 911 | 7,241 | 4.989023 | 0.190999 | 0.018482 | 0.014521 | 0.018482 | 0.763916 | 0.716392 | 0.70473 | 0.70473 | 0.686249 | 0.668427 | 0 | 0.004964 | 0.276619 | 7,241 | 200 | 89 | 36.205 | 0.862734 | 0.421903 | 0 | 0.59375 | 0 | 0 | 0.034575 | 0.014473 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.083333 | 0 | 0.5 | 0.104167 | 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 |
f4159c76e689c11110fa1a07c3472b6434617dd4 | 127 | py | Python | ib/ext/cfg/CommissionReport.py | LewisW/IbPy | eb6ec62a3c578c650e6b98e56a9b6ed2c0a28f0f | [
"BSD-3-Clause"
] | 1,260 | 2015-01-05T01:38:43.000Z | 2022-03-28T14:08:02.000Z | ib/ext/cfg/CommissionReport.py | LewisW/IbPy | eb6ec62a3c578c650e6b98e56a9b6ed2c0a28f0f | [
"BSD-3-Clause"
] | 46 | 2015-01-04T15:37:17.000Z | 2019-10-24T09:53:40.000Z | ib/ext/cfg/CommissionReport.py | LewisW/IbPy | eb6ec62a3c578c650e6b98e56a9b6ed2c0a28f0f | [
"BSD-3-Clause"
] | 521 | 2015-01-01T14:26:01.000Z | 2022-03-26T16:22:36.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""" ib.ext.cfg.CommissionReport -> config module for CommissionReport.java.
"""
| 21.166667 | 75 | 0.661417 | 16 | 127 | 5.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.125984 | 127 | 5 | 76 | 25.4 | 0.747748 | 0.897638 | 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 |
f41e0715afc707d6e7794854ebb7834b7493552e | 161 | py | Python | setup.py | hubertgabrys/ml313 | efb92cea1f030cd3e3628713c406aea225edb65c | [
"BSD-3-Clause"
] | 2 | 2021-12-25T13:50:42.000Z | 2022-01-29T23:02:54.000Z | setup.py | hubertgabrys/ml313 | efb92cea1f030cd3e3628713c406aea225edb65c | [
"BSD-3-Clause"
] | null | null | null | setup.py | hubertgabrys/ml313 | efb92cea1f030cd3e3628713c406aea225edb65c | [
"BSD-3-Clause"
] | 1 | 2021-03-24T15:53:16.000Z | 2021-03-24T15:53:16.000Z | from setuptools import setup, find_packages
setup(
name="ml313",
version="0.1.0dev",
packages=find_packages(),
license='BSD 3-Clause License'
)
| 17.888889 | 43 | 0.68323 | 21 | 161 | 5.142857 | 0.761905 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053435 | 0.186335 | 161 | 8 | 44 | 20.125 | 0.770992 | 0 | 0 | 0 | 0 | 0 | 0.204969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f4296f17fe6501f0e6b9390708cbf1764290e9a4 | 307 | py | Python | worldcup18/utils.py | tadeoos/worldcup | c167251c7a6131253a1ea1914a0e6e418e9f32a7 | [
"MIT"
] | 2 | 2018-06-16T04:05:39.000Z | 2018-06-18T12:20:37.000Z | worldcup18/utils.py | tadeoos/worldcup | c167251c7a6131253a1ea1914a0e6e418e9f32a7 | [
"MIT"
] | null | null | null | worldcup18/utils.py | tadeoos/worldcup | c167251c7a6131253a1ea1914a0e6e418e9f32a7 | [
"MIT"
] | null | null | null | # - *- coding: utf- 8 - *-
from __future__ import absolute_import
import dateutil.parser
from tzlocal import get_localzone
def iso_to_datetime(s):
return dateutil.parser.parse(s)
def get_nice_date(date):
return iso_to_datetime(date).astimezone(get_localzone()).strftime("%A, %d. %B %Y %I:%M%p")
| 23.615385 | 94 | 0.726384 | 47 | 307 | 4.468085 | 0.638298 | 0.133333 | 0.12381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003774 | 0.136808 | 307 | 12 | 95 | 25.583333 | 0.788679 | 0.078176 | 0 | 0 | 0 | 0 | 0.074733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
f42b19bbf7aa6d5edf9724e9924db9513ae83cf5 | 87 | py | Python | plugins/module_utils/__init__.py | cesarvr/keycloak-ansible-module | f0880e7f155b960e6641f6bd98226be027c33bef | [
"MIT"
] | null | null | null | plugins/module_utils/__init__.py | cesarvr/keycloak-ansible-module | f0880e7f155b960e6641f6bd98226be027c33bef | [
"MIT"
] | null | null | null | plugins/module_utils/__init__.py | cesarvr/keycloak-ansible-module | f0880e7f155b960e6641f6bd98226be027c33bef | [
"MIT"
] | null | null | null | from .ansible_rhsso import Action, AnsibleAction, AnsibleState, LoadResourcesFromFolder | 87 | 87 | 0.885057 | 8 | 87 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 87 | 1 | 87 | 87 | 0.938272 | 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 |
f42cc0b1de04eb6a24f6c95d772507c3f5241519 | 359 | py | Python | src/cqparts_fasteners/solidtypes/screw_drives/__init__.py | luzpaz/cqparts | 6bcc153c33ea1ac929102fe2e1a5418131af0c4e | [
"Apache-2.0"
] | 69 | 2018-10-29T06:42:14.000Z | 2022-03-18T09:20:11.000Z | src/cqparts_fasteners/solidtypes/screw_drives/__init__.py | luzpaz/cqparts | 6bcc153c33ea1ac929102fe2e1a5418131af0c4e | [
"Apache-2.0"
] | 112 | 2017-10-05T12:32:54.000Z | 2018-10-27T06:45:18.000Z | src/cqparts_fasteners/solidtypes/screw_drives/__init__.py | luzpaz/cqparts | 6bcc153c33ea1ac929102fe2e1a5418131af0c4e | [
"Apache-2.0"
] | 14 | 2018-11-16T12:13:02.000Z | 2022-03-15T22:32:34.000Z | __all__ = [
'ScrewDrive', 'register', 'find', 'search',
# Screw Drive types
'cruciform',
'hex',
'slotted',
'square',
'tamper_resistant',
]
from .base import ScrewDrive, register, find, search
# Screw Drive types
from . import cruciform
from . import hex
from . import slotted
from . import... | 17.95 | 52 | 0.665738 | 40 | 359 | 5.825 | 0.425 | 0.214592 | 0.188841 | 0.240343 | 0.369099 | 0.369099 | 0.369099 | 0 | 0 | 0 | 0 | 0 | 0.220056 | 359 | 19 | 53 | 18.894737 | 0.832143 | 0.097493 | 0 | 0 | 0 | 0 | 0.214953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
f4331bfc5fc1f79d9077844ee528065df82f90d1 | 61 | py | Python | src/breadcrumbs/models.py | daniel-werner/stelagifts | 809cb70f98a1ead3acbc2fd6aea99a87fdfd9435 | [
"MIT"
] | null | null | null | src/breadcrumbs/models.py | daniel-werner/stelagifts | 809cb70f98a1ead3acbc2fd6aea99a87fdfd9435 | [
"MIT"
] | null | null | null | src/breadcrumbs/models.py | daniel-werner/stelagifts | 809cb70f98a1ead3acbc2fd6aea99a87fdfd9435 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# just to be reconized as django app
| 20.333333 | 36 | 0.622951 | 10 | 61 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.213115 | 61 | 2 | 37 | 30.5 | 0.770833 | 0.918033 | 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 |
f43d607960f6b4d370ad11ed2e3a312a382a102f | 292 | py | Python | tests/test_int_case.py | barak/autograd | 4a693a2daac6435cb6bddf6b18bd918a46591a82 | [
"MIT"
] | 1 | 2015-03-21T18:29:29.000Z | 2015-03-21T18:29:29.000Z | tests/test_int_case.py | barak/autograd | 4a693a2daac6435cb6bddf6b18bd918a46591a82 | [
"MIT"
] | null | null | null | tests/test_int_case.py | barak/autograd | 4a693a2daac6435cb6bddf6b18bd918a46591a82 | [
"MIT"
] | null | null | null | from test_util import *
from autograd import grad
def test_int_case():
check_equivalent((lambda x:x*x)(2.0), 4.0)
check_equivalent((lambda x:x*x)(2) + 0.0, 4.0)
check_equivalent(grad(lambda x:x*x)(2.0), 4.0)
check_equivalent(grad(lambda x:x*x)(2) + 0.0, 4.0)
| 32.444444 | 54 | 0.626712 | 56 | 292 | 3.142857 | 0.285714 | 0.090909 | 0.181818 | 0.204545 | 0.693182 | 0.693182 | 0.693182 | 0.693182 | 0.607955 | 0.528409 | 0 | 0.077253 | 0.202055 | 292 | 8 | 55 | 36.5 | 0.678112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f470e8e362a0f0ec944836fef60ae6bb3f966a9e | 277 | py | Python | tests/pbraiders/pages/contacts/actions/__init__.py | pbraiders/pomponne-test-bdd | 7f2973936318221f54e65e0f8bd839cad7216fa4 | [
"MIT"
] | 1 | 2021-03-30T14:41:29.000Z | 2021-03-30T14:41:29.000Z | tests/pbraiders/pages/contacts/actions/__init__.py | pbraiders/pomponne-test-bdd | 7f2973936318221f54e65e0f8bd839cad7216fa4 | [
"MIT"
] | null | null | null | tests/pbraiders/pages/contacts/actions/__init__.py | pbraiders/pomponne-test-bdd | 7f2973936318221f54e65e0f8bd839cad7216fa4 | [
"MIT"
] | null | null | null | # coding=utf-8
from .abstract import ContactActionAbstract
from .contants import *
from .create import ContactCreateAction
from .delete import ContactDeleteAction
from .read import ContactReadAction
from .update import ContactUpdateAction
from .write import ContactWriteAction
| 30.777778 | 43 | 0.851986 | 30 | 277 | 7.866667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004049 | 0.108303 | 277 | 8 | 44 | 34.625 | 0.951417 | 0.043321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f486805d98c6fb1d2d407974526190631cc23120 | 291 | py | Python | crabageprediction/venv/Lib/site-packages/mpl_toolkits/axes_grid/anchored_artists.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 603 | 2020-12-23T13:49:32.000Z | 2022-03-31T23:38:03.000Z | venv/lib/python3.7/site-packages/mpl_toolkits/axes_grid/anchored_artists.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 387 | 2020-12-15T14:54:04.000Z | 2022-03-31T07:00:21.000Z | venv/lib/python3.7/site-packages/mpl_toolkits/axes_grid/anchored_artists.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 64 | 2018-04-25T08:51:57.000Z | 2022-01-29T14:13:57.000Z | from matplotlib.offsetbox import AnchoredOffsetbox, AuxTransformBox, VPacker,\
TextArea, AnchoredText, DrawingArea, AnnotationBbox
from mpl_toolkits.axes_grid1.anchored_artists import \
AnchoredDrawingArea, AnchoredAuxTransformBox, \
AnchoredEllipse, AnchoredSizeBar
| 41.571429 | 78 | 0.800687 | 23 | 291 | 10 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004032 | 0.147766 | 291 | 6 | 79 | 48.5 | 0.923387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
be35310eedef2271153ecab5a876c9b0e6fd8cc2 | 709 | py | Python | demo/cpython/mat.py | dyalab/amino | e3063ceeeed7d1a3d55fc0d3071c9aacb4466b22 | [
"BSD-3-Clause"
] | 32 | 2015-06-02T20:06:09.000Z | 2022-03-14T16:49:22.000Z | demo/cpython/mat.py | dyalab/amino | e3063ceeeed7d1a3d55fc0d3071c9aacb4466b22 | [
"BSD-3-Clause"
] | 28 | 2016-05-18T20:54:44.000Z | 2021-03-22T23:43:23.000Z | demo/cpython/mat.py | dyalab/amino | e3063ceeeed7d1a3d55fc0d3071c9aacb4466b22 | [
"BSD-3-Clause"
] | 20 | 2016-01-05T18:55:14.000Z | 2022-02-22T01:32:20.000Z | #!/usr/bin/env python
from amino import *
# v = DVec.create(2)
# v.copy_from([1,2])
# print v
print "Row"
A = DMat.row_matrix( [1,2],
[3,4] )
print A.col_vec(0)
print A.col_vec(1)
print A[0,0]
print A[1,0]
print A[0,1]
print A[1,1]
print A
print "Col"
A = DMat.col_matrix( [1,2],
... | 12.660714 | 34 | 0.520451 | 153 | 709 | 2.339869 | 0.20915 | 0.234637 | 0.117318 | 0.134078 | 0.413408 | 0.413408 | 0.413408 | 0.413408 | 0.413408 | 0.413408 | 0 | 0.103774 | 0.252468 | 709 | 55 | 35 | 12.890909 | 0.571698 | 0.414669 | 0 | 0.727273 | 0 | 0 | 0.022556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.045455 | null | null | 0.772727 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
be70c5e3b8f22d9cef664a91ce0318ddeee2b6b4 | 51 | py | Python | kickstarter/__init__.py | BrandonSmith710/kickstarter3 | ca968b3e5102a3109d649065271e213a4586184a | [
"MIT"
] | null | null | null | kickstarter/__init__.py | BrandonSmith710/kickstarter3 | ca968b3e5102a3109d649065271e213a4586184a | [
"MIT"
] | null | null | null | kickstarter/__init__.py | BrandonSmith710/kickstarter3 | ca968b3e5102a3109d649065271e213a4586184a | [
"MIT"
] | null | null | null | from .app import create_app
APP = create_app() | 12.75 | 28 | 0.705882 | 8 | 51 | 4.25 | 0.5 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 51 | 4 | 29 | 12.75 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
be71ac89755245dc0f02e0124b6e5b07d332503a | 160 | py | Python | models/setup.py | matt-rb/mobilenetv2_imagenet | 77f962df0ff3526dff00551a16cf4b7bbb476ca5 | [
"Apache-2.0"
] | null | null | null | models/setup.py | matt-rb/mobilenetv2_imagenet | 77f962df0ff3526dff00551a16cf4b7bbb476ca5 | [
"Apache-2.0"
] | null | null | null | models/setup.py | matt-rb/mobilenetv2_imagenet | 77f962df0ff3526dff00551a16cf4b7bbb476ca5 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 20 16:53:06 2019
@author: isip40
"""
from setuptools import setup
setup(name='imagenet')
| 16 | 35 | 0.66875 | 25 | 160 | 4.28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.15 | 160 | 9 | 36 | 17.777778 | 0.669118 | 0.6 | 0 | 0 | 0 | 0 | 0.145455 | 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 |
be72bbd53d803aa0c269d180022c5079e51b4512 | 147 | py | Python | media.py | MiguelTeixeiraUFPB/Python-M1 | 43f13efb09aa4c11c77f9362e8642f4f51832768 | [
"MIT"
] | null | null | null | media.py | MiguelTeixeiraUFPB/Python-M1 | 43f13efb09aa4c11c77f9362e8642f4f51832768 | [
"MIT"
] | null | null | null | media.py | MiguelTeixeiraUFPB/Python-M1 | 43f13efb09aa4c11c77f9362e8642f4f51832768 | [
"MIT"
] | null | null | null | nota1=float(input('digite sua primeira nota:'))
nota2=float(input('digite sua segunda nota'))
media=(nota1+nota2)/2
print('sua média é ', media)
| 21 | 47 | 0.721088 | 23 | 147 | 4.608696 | 0.608696 | 0.188679 | 0.301887 | 0.358491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038168 | 0.108844 | 147 | 6 | 48 | 24.5 | 0.770992 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 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 |
be9bc0402d282281d62c36577da8e7c43dc62b03 | 11,558 | py | Python | tests/integration/states/test_keystone.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 19 | 2016-01-29T14:37:52.000Z | 2022-03-30T18:08:01.000Z | tests/integration/states/test_keystone.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 223 | 2016-03-02T16:39:41.000Z | 2022-03-03T12:26:35.000Z | tests/integration/states/test_keystone.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 64 | 2016-02-04T19:45:26.000Z | 2021-12-15T02:02:31.000Z | # -*- coding: utf-8 -*-
"""
Tests for the Keystone states
"""
# Import python libs
from __future__ import absolute_import, print_function, unicode_literals
import logging
# Import Salt Testing libs
from tests.support.case import ModuleCase
from tests.support.helpers import destructiveTest
from tests.support.mixins i... | 33.994118 | 87 | 0.566274 | 1,089 | 11,558 | 5.794307 | 0.117539 | 0.070998 | 0.086212 | 0.126783 | 0.785895 | 0.755309 | 0.752456 | 0.745325 | 0.699842 | 0.643899 | 0 | 0.026165 | 0.292352 | 11,558 | 339 | 88 | 34.094395 | 0.745323 | 0.020505 | 0 | 0.604167 | 0 | 0 | 0.344699 | 0.181738 | 0 | 0 | 0 | 0 | 0.118056 | 1 | 0.010417 | false | 0.013889 | 0.027778 | 0 | 0.048611 | 0.003472 | 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 |
beb2ef2a1ad9cde45f3df03c2071d6ad6e885781 | 255 | py | Python | kumochan/core/kumo/htmlkumo.py | np-company/kumochan | 13150224c897dae13b8228b480f48bc190219df3 | [
"BSD-3-Clause"
] | null | null | null | kumochan/core/kumo/htmlkumo.py | np-company/kumochan | 13150224c897dae13b8228b480f48bc190219df3 | [
"BSD-3-Clause"
] | null | null | null | kumochan/core/kumo/htmlkumo.py | np-company/kumochan | 13150224c897dae13b8228b480f48bc190219df3 | [
"BSD-3-Clause"
] | null | null | null | from .kumo import Kumo
from kumochan.core.consts import AttributeChoices
from kumochan.core.query.query import Query
import requests
from bs4.element import Tag
from bs4 import BeautifulSoup
class HtmlKumo(Kumo):
async def fetch(self):
pass
| 21.25 | 49 | 0.784314 | 36 | 255 | 5.555556 | 0.555556 | 0.12 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00939 | 0.164706 | 255 | 11 | 50 | 23.181818 | 0.929577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.666667 | 0 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
fe1f7af46ef9ed3dbb9fe4a5e898c981411ccdad | 88 | py | Python | shopping_cart/api_app/apps.py | leonyu1010/creating-a-rest-api-with-django | 4e1f6e18578882b42737a8627b853fbe08ef8a70 | [
"MIT"
] | 8 | 2021-04-29T23:59:31.000Z | 2021-11-27T06:30:16.000Z | shopping_cart/api_app/apps.py | leonyu1010/creating-a-rest-api-with-django | 4e1f6e18578882b42737a8627b853fbe08ef8a70 | [
"MIT"
] | 11 | 2019-05-02T20:10:16.000Z | 2022-02-10T07:10:25.000Z | api_project/api_project/api_app/apps.py | ankushrasgon/profile-rest-api | 59a0d9a4852151d753e830f7d7141894c00b207c | [
"MIT"
] | 2 | 2020-11-04T03:05:23.000Z | 2020-11-05T08:14:14.000Z | from django.apps import AppConfig
class ApiAppConfig(AppConfig):
name = 'api_app'
| 14.666667 | 33 | 0.75 | 11 | 88 | 5.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 5 | 34 | 17.6 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 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 |
fe22c2485bb4ca80f48e29abdab992103d6ceae0 | 135 | py | Python | label_studio/tasks/mixins.py | mehdibenamorr/label-studio | 213252d360b028eb031ca127969fb35a897dc2b6 | [
"Apache-2.0"
] | 4 | 2022-01-22T14:59:22.000Z | 2022-02-23T18:52:36.000Z | label_studio/tasks/mixins.py | mehdibenamorr/label-studio | 213252d360b028eb031ca127969fb35a897dc2b6 | [
"Apache-2.0"
] | 100 | 2021-09-30T21:28:32.000Z | 2022-03-22T01:16:38.000Z | label_studio/tasks/mixins.py | mehdibenamorr/label-studio | 213252d360b028eb031ca127969fb35a897dc2b6 | [
"Apache-2.0"
] | 1 | 2021-11-18T17:01:46.000Z | 2021-11-18T17:01:46.000Z | class TaskMixin:
def _get_is_labeled_value(self):
n = self.completed_annotations.count()
return n >= self.overlap
| 22.5 | 46 | 0.674074 | 17 | 135 | 5.058824 | 0.823529 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237037 | 135 | 5 | 47 | 27 | 0.834951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fe243fbfb816c3e69b399dc6a7f472af15a34a80 | 31 | py | Python | marionette_tg/formats/__init__.py | kpdyer/marionette | bb40a334a18c82728eec01c9b56330bcb91a28da | [
"Apache-2.0"
] | 73 | 2015-05-22T20:07:32.000Z | 2015-11-12T15:09:00.000Z | marionette_tg/formats/__init__.py | kpdyer/marionette | bb40a334a18c82728eec01c9b56330bcb91a28da | [
"Apache-2.0"
] | 20 | 2015-04-14T03:40:41.000Z | 2015-10-02T00:57:28.000Z | marionette_tg/formats/__init__.py | kpdyer/marionette | bb40a334a18c82728eec01c9b56330bcb91a28da | [
"Apache-2.0"
] | 14 | 2015-04-29T18:10:42.000Z | 2015-11-03T00:36:29.000Z | ### marionette formats dir ###
| 15.5 | 30 | 0.645161 | 3 | 31 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.769231 | 0.709677 | 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 |
fe3d0d3b0498ff4cdda842ae79bff6770c7c3f0d | 79 | py | Python | backend/django/ws/apps.py | Matbj/elva | 021101944d4a93ba1171e3819146a3d8ab450816 | [
"MIT"
] | 2 | 2021-02-07T05:56:46.000Z | 2021-05-12T02:11:24.000Z | ws/apps.py | magdev/opds-proxy | 6e5afcdd9ef2fa8806b1f0b9245830f41c0e79fd | [
"MIT"
] | 1 | 2019-07-21T20:07:19.000Z | 2019-07-21T20:13:11.000Z | ws/apps.py | magdev/opds-proxy | 6e5afcdd9ef2fa8806b1f0b9245830f41c0e79fd | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WsConfig(AppConfig):
name = 'ws'
| 13.166667 | 33 | 0.721519 | 10 | 79 | 5.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 79 | 5 | 34 | 15.8 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 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 |
fe3f3fd302aaf03dff7bc35df7d5d12981fbaf9e | 751 | py | Python | django/week8/main/serializers.py | yrtby/Alotech-Fullstack-Bootcamp-Patika | e2fd775e2540b8d9698dcb7dc38f84a6d7912e8d | [
"MIT"
] | 1 | 2021-11-05T09:45:25.000Z | 2021-11-05T09:45:25.000Z | django/week8/main/serializers.py | yrtby/Alotech-Fullstack-Bootcamp-Patika | e2fd775e2540b8d9698dcb7dc38f84a6d7912e8d | [
"MIT"
] | null | null | null | django/week8/main/serializers.py | yrtby/Alotech-Fullstack-Bootcamp-Patika | e2fd775e2540b8d9698dcb7dc38f84a6d7912e8d | [
"MIT"
] | 3 | 2021-11-07T07:16:30.000Z | 2021-12-07T20:22:59.000Z | from django.contrib.auth.models import User
from main.models import Post, Comment, Like
from rest_framework import serializers
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ['url', 'username', 'email', 'is_staff']
class PostSerializer(serializers.H... | 31.291667 | 64 | 0.696405 | 73 | 751 | 7.09589 | 0.438356 | 0.285714 | 0.324324 | 0.355212 | 0.393822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197071 | 751 | 23 | 65 | 32.652174 | 0.859038 | 0 | 0 | 0.210526 | 0 | 0 | 0.11984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.578947 | 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 |
fe3ffe5938d3da9bbf868dab8ef9815cdd201617 | 2,328 | py | Python | SysPy_ver/funcs/_SysPyWarnings.py | evlog/SysPy | d1ee6e2ca60492d20339c0016a9c24d027170553 | [
"CNRI-Python"
] | 4 | 2017-12-28T14:00:16.000Z | 2021-01-21T08:53:14.000Z | SysPy_ver/funcs/_SysPyWarnings.py | evlog/SysPy | d1ee6e2ca60492d20339c0016a9c24d027170553 | [
"CNRI-Python"
] | 1 | 2018-07-31T16:27:00.000Z | 2018-07-31T16:27:37.000Z | SysPy_ver/funcs/_SysPyWarnings.py | evlog/SysPy | d1ee6e2ca60492d20339c0016a9c24d027170553 | [
"CNRI-Python"
] | 2 | 2015-10-12T09:13:13.000Z | 2020-01-06T12:22:55.000Z | """
*****************************************************************************
*
H E A D E R I N F O R M A T I O N *
*
****... | 45.647059 | 81 | 0.390464 | 219 | 2,328 | 4.146119 | 0.584475 | 0.006608 | 0.039648 | 0.062775 | 0.110132 | 0.110132 | 0.07489 | 0 | 0 | 0 | 0 | 0.010309 | 0.375 | 2,328 | 50 | 82 | 46.56 | 0.613746 | 0.918814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe592736b6c2312aa5c340e12635d78ae60a7269 | 114 | py | Python | getpaid/backends/paymill/forms.py | nielsonsantana/django-getpaid2 | 9b566cf96ca6736306a7aa825dad66714c5f4885 | [
"MIT"
] | 5 | 2017-05-29T09:14:10.000Z | 2017-05-29T15:29:24.000Z | getpaid/backends/paymill/forms.py | nielsonsantana/django-getpaid2 | 9b566cf96ca6736306a7aa825dad66714c5f4885 | [
"MIT"
] | null | null | null | getpaid/backends/paymill/forms.py | nielsonsantana/django-getpaid2 | 9b566cf96ca6736306a7aa825dad66714c5f4885 | [
"MIT"
] | 3 | 2018-06-13T15:46:21.000Z | 2020-05-11T19:24:43.000Z | from django import forms
class PaymillForm(forms.Form):
token = forms.CharField(widget=forms.HiddenInput())
| 19 | 55 | 0.763158 | 14 | 114 | 6.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 5 | 56 | 22.8 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe5b2343a1714a0066efa64489815f6ce9cccc88 | 1,013 | py | Python | rbcl/__init__.py | nthparty/rbcl | 6649d3cb1325209cad4e96ab3548cdc2cb9fa633 | [
"MIT"
] | 1 | 2021-11-05T18:27:48.000Z | 2021-11-05T18:27:48.000Z | rbcl/__init__.py | nthparty/rbcl | 6649d3cb1325209cad4e96ab3548cdc2cb9fa633 | [
"MIT"
] | 2 | 2021-04-27T18:04:43.000Z | 2021-09-21T20:29:00.000Z | rbcl/__init__.py | nthparty/rbcl | 6649d3cb1325209cad4e96ab3548cdc2cb9fa633 | [
"MIT"
] | 1 | 2021-11-30T17:03:01.000Z | 2021-11-30T17:03:01.000Z | """Allow users to use classes directly."""
from rbcl.rbcl import\
crypto_scalarmult_ristretto255,\
crypto_scalarmult_ristretto255_BYTES,\
crypto_scalarmult_ristretto255_SCALARBYTES,\
crypto_scalarmult_ristretto255_base,\
crypto_core_ristretto255_BYTES,\
crypto_core_ristretto255_HASHBYTES,\
c... | 38.961538 | 52 | 0.825271 | 108 | 1,013 | 7.046296 | 0.314815 | 0.22339 | 0.491459 | 0.29435 | 0.089356 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070866 | 0.122409 | 1,013 | 25 | 53 | 40.52 | 0.785152 | 0.035538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.041667 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe74fe766cac19e1356006c75cc7afed058936ea | 302 | py | Python | main.py | Samyc2002/Arithmetic-Formatter | c781fb87aa8b440be87fc047cf7e482c440c349c | [
"MIT"
] | null | null | null | main.py | Samyc2002/Arithmetic-Formatter | c781fb87aa8b440be87fc047cf7e482c440c349c | [
"MIT"
] | null | null | null | main.py | Samyc2002/Arithmetic-Formatter | c781fb87aa8b440be87fc047cf7e482c440c349c | [
"MIT"
] | null | null | null | # This entrypoint file to be used in development. Start by reading README.md
from arithmetic_arranger import arithmetic_arranger
from unittest import main
print(arithmetic_arranger(["32 + 698", "3801 - 2", "45 + 43", "123 + 49"]))
# Run unit tests automatically
main(module='test_module', exit=False) | 37.75 | 76 | 0.758278 | 44 | 302 | 5.113636 | 0.818182 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072797 | 0.135762 | 302 | 8 | 77 | 37.75 | 0.789272 | 0.34106 | 0 | 0 | 0 | 0 | 0.213198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fe78b3adc5d8b9a2884c4201286adeb63b033264 | 89 | py | Python | magasin/apps.py | kristoea/daljeweb | cfbce1d1c023c5d91c3e06ee7c92d8ac2831795a | [
"MIT"
] | null | null | null | magasin/apps.py | kristoea/daljeweb | cfbce1d1c023c5d91c3e06ee7c92d8ac2831795a | [
"MIT"
] | null | null | null | magasin/apps.py | kristoea/daljeweb | cfbce1d1c023c5d91c3e06ee7c92d8ac2831795a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MagasinConfig(AppConfig):
name = 'magasin'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe85f646e19788a5fb683a19f0a82ba85133bceb | 27,075 | py | Python | optimization/first_sdEta_mjj_optimization/loose_analysis_sdeta_2.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_2.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/loose_analysis_sdeta_2.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_2.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/loose_analysis_sdeta_2.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_2.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_2():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 139.561856 | 1,058 | 0.798633 | 4,091 | 27,075 | 5.107064 | 0.303593 | 0.052889 | 0.106256 | 0.012444 | 0.283157 | 0.278754 | 0.255684 | 0.25195 | 0.250132 | 0.249653 | 0 | 0.560079 | 0.060942 | 27,075 | 193 | 1,059 | 140.284974 | 0.261672 | 0.048643 | 0 | 0.185841 | 0 | 0.00885 | 0.039966 | 0.007775 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe8f0e0ce74d6712def14370f9a9f8d8a96fdd3a | 124 | py | Python | semvermanager/__main__.py | jdrumgoole/semver_manager | 55727989adbb6d8b74cbcec56206beef2c47417b | [
"Apache-2.0"
] | null | null | null | semvermanager/__main__.py | jdrumgoole/semver_manager | 55727989adbb6d8b74cbcec56206beef2c47417b | [
"Apache-2.0"
] | 6 | 2019-04-02T22:52:14.000Z | 2021-03-21T11:53:50.000Z | semvermanager/__main__.py | jdrumgoole/semver_manager | 55727989adbb6d8b74cbcec56206beef2c47417b | [
"Apache-2.0"
] | 1 | 2020-01-08T22:29:36.000Z | 2020-01-08T22:29:36.000Z | import sys
from semvermanager import main
if __name__ == "__main__":
main(sys.argv[1:]) # clip off the program name
| 15.5 | 51 | 0.701613 | 18 | 124 | 4.388889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.201613 | 124 | 7 | 52 | 17.714286 | 0.787879 | 0.201613 | 0 | 0 | 0 | 0 | 0.083333 | 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 |
fea23d9840333ad6fb446847ede7ef91e7a5eec4 | 50 | py | Python | gsom/applications/zoo_experiment/gsmote/comparison_testing/__init__.py | AathmanT/self-learning-algorithm | 64637a1b801d18b7648c575c84dad67bb3113e46 | [
"Apache-2.0"
] | 1 | 2020-01-28T04:11:52.000Z | 2020-01-28T04:11:52.000Z | gsom/applications/zoo_experiment/gsmote/comparison_testing/__init__.py | AathmanT/self-learning-algorithm | 64637a1b801d18b7648c575c84dad67bb3113e46 | [
"Apache-2.0"
] | null | null | null | gsom/applications/zoo_experiment/gsmote/comparison_testing/__init__.py | AathmanT/self-learning-algorithm | 64637a1b801d18b7648c575c84dad67bb3113e46 | [
"Apache-2.0"
] | 2 | 2020-02-15T01:25:30.000Z | 2020-02-15T16:14:13.000Z | # from .linear_regression import linear_training
| 16.666667 | 48 | 0.84 | 6 | 50 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 2 | 49 | 25 | 0.909091 | 0.92 | 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 |
227fb8df5a9d87e1449653729b80ddf6cd8d45dc | 2,320 | py | Python | backEnd/app/api/wechat/wechat.py | HenryYDJ/flaskAPI | 9947fbad1050d6ba29c29e365c561689ea3e22d8 | [
"MIT"
] | null | null | null | backEnd/app/api/wechat/wechat.py | HenryYDJ/flaskAPI | 9947fbad1050d6ba29c29e365c561689ea3e22d8 | [
"MIT"
] | 14 | 2022-03-27T13:34:58.000Z | 2022-03-31T14:37:19.000Z | backEnd/app/api/wechat/wechat.py | HenryYDJ/flaskAPI | 9947fbad1050d6ba29c29e365c561689ea3e22d8 | [
"MIT"
] | null | null | null | # from flask import jsonify, request
# from app.api import bluePrint
# from app import db
# from datetime import datetime
# from app.models import User
# import requests
# from config import Config
# # from WXBizDataCrypt import WXBizDataCrypt
# @bluePrint.route('\wechat\updateuserinfo', methods=['POST'])
# def wech... | 40.701754 | 560 | 0.75 | 240 | 2,320 | 7.166667 | 0.458333 | 0.016279 | 0.027907 | 0.031395 | 0.089535 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048057 | 0.156897 | 2,320 | 57 | 561 | 40.701754 | 0.831288 | 0.803017 | 0 | 0.222222 | 0 | 0 | 0.05679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0 | 0.555556 | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
228060ed7ec4f19ab6ba447ae1b72346c08c65bc | 46 | py | Python | cd_drive/__init__.py | josx/cd_drive | 889932ee82f536ee72bc9ba4eed534c1ccf383b2 | [
"MIT"
] | 1 | 2020-10-07T20:11:38.000Z | 2020-10-07T20:11:38.000Z | cd_drive/__init__.py | josx/cd_drive | 889932ee82f536ee72bc9ba4eed534c1ccf383b2 | [
"MIT"
] | null | null | null | cd_drive/__init__.py | josx/cd_drive | 889932ee82f536ee72bc9ba4eed534c1ccf383b2 | [
"MIT"
] | 1 | 2020-10-07T21:21:48.000Z | 2020-10-07T21:21:48.000Z | from .drive import Drive
__version__ = "0.1"
| 11.5 | 24 | 0.717391 | 7 | 46 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.173913 | 46 | 3 | 25 | 15.333333 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 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 |
2289b5e7dc9a50b6387b9676211e39e8ac079313 | 222 | py | Python | src/meltano/core/logging/__init__.py | dotmesh-io/meltano | 4616d44ded9dff4e9ad19a9004349e9baa16ddd5 | [
"MIT"
] | 4 | 2019-12-01T12:47:58.000Z | 2021-02-09T00:42:52.000Z | src/meltano/core/logging/__init__.py | dotmesh-io/meltano | 4616d44ded9dff4e9ad19a9004349e9baa16ddd5 | [
"MIT"
] | 38 | 2019-12-09T06:53:33.000Z | 2022-03-29T22:29:19.000Z | src/meltano/core/logging/__init__.py | dotmesh-io/meltano | 4616d44ded9dff4e9ad19a9004349e9baa16ddd5 | [
"MIT"
] | 1 | 2020-11-23T20:47:18.000Z | 2020-11-23T20:47:18.000Z | from .utils import (
setup_logging,
remove_ansi_escape_sequences,
capture_subprocess_output,
)
from .output_logger import OutputLogger
from .job_logging_service import JobLoggingService, MissingJobLogException
| 27.75 | 74 | 0.828829 | 24 | 222 | 7.291667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130631 | 222 | 7 | 75 | 31.714286 | 0.906736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 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 |
22bf101f8ac69cc6fd010255742e8755c35d9adc | 290 | py | Python | bchscript/errors.py | gandrewstone/bchscript | c73a69f259b4cfb71546903c736e4a94fd0680d7 | [
"MIT"
] | 7 | 2018-05-31T18:21:37.000Z | 2020-07-13T05:20:05.000Z | bchscript/errors.py | gandrewstone/bchscript | c73a69f259b4cfb71546903c736e4a94fd0680d7 | [
"MIT"
] | 1 | 2018-06-19T18:14:48.000Z | 2018-06-19T18:14:48.000Z | bchscript/errors.py | gandrewstone/bchscript | c73a69f259b4cfb71546903c736e4a94fd0680d7 | [
"MIT"
] | 4 | 2018-06-01T00:29:32.000Z | 2020-07-13T05:19:30.000Z |
class Error(Exception):
"""Base class for exceptions in this module."""
pass
class Parse(Error):
""" Error parsing the program"""
pass
class Output(Error):
""" Error parsing the program"""
pass
class Symbol(Error):
""" Error parsing the program"""
pass
| 16.111111 | 51 | 0.627586 | 35 | 290 | 5.2 | 0.457143 | 0.148352 | 0.28022 | 0.32967 | 0.565934 | 0.565934 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0.244828 | 290 | 17 | 52 | 17.058824 | 0.83105 | 0.410345 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
22d5f238f725030ac6d37dca2278aafa5f220bd9 | 119 | py | Python | tests/wasp1/AllAnswerSets/grounding_backjump_13.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/wasp1/AllAnswerSets/grounding_backjump_13.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/wasp1/AllAnswerSets/grounding_backjump_13.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
num(2).
node(a).
p(N) :- num(N), #count{Y:node(Y)} = N1, <=(N,N1).
"""
output = """
{node(a), num(2)}
"""
| 11.9 | 49 | 0.428571 | 21 | 119 | 2.428571 | 0.52381 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.168067 | 119 | 9 | 50 | 13.222222 | 0.474747 | 0 | 0 | 0.25 | 0 | 0.125 | 0.731092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
22dce824e3f9ea1558bba3a7c011c8a1ea89cec9 | 582 | py | Python | lib/JumpScale/sal/bind/base.py | Jumpscale/jumpscale_core8 | f80ac9b1ab99b833ee7adb17700dcf4ef35f3734 | [
"Apache-2.0"
] | 8 | 2016-04-14T14:04:57.000Z | 2020-06-09T00:24:34.000Z | lib/JumpScale/sal/bind/base.py | Jumpscale/jumpscale_core8 | f80ac9b1ab99b833ee7adb17700dcf4ef35f3734 | [
"Apache-2.0"
] | 418 | 2016-01-25T10:30:00.000Z | 2021-09-08T12:29:13.000Z | lib/JumpScale/sal/bind/base.py | Jumpscale/jumpscale_core8 | f80ac9b1ab99b833ee7adb17700dcf4ef35f3734 | [
"Apache-2.0"
] | 9 | 2016-04-21T07:21:17.000Z | 2022-01-24T10:35:54.000Z | class DNS:
def start(self):
raise NotImplemented()
def stop(self):
raise NotImplemented()
def restart(self):
raise NotImplemented()
def cleanCache(self):
raise NotImplemented()
def addRecord(self):
raise NotImplemented()
def deleteHost(self, host):
... | 18.1875 | 37 | 0.606529 | 55 | 582 | 6.418182 | 0.327273 | 0.538244 | 0.560907 | 0.515581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.300687 | 582 | 31 | 38 | 18.774194 | 0.867322 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | false | 0 | 0 | 0 | 0.52381 | 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 |
fe0853de26d5d19e70276f09cc6aabbf4ccf4bdc | 88 | py | Python | src/projectone/oficina/apps.py | krixapolinario/django-project-one | 621b7f91eef2f4da5e5096eb503b2f7dfe993295 | [
"MIT"
] | 1 | 2017-10-20T21:05:41.000Z | 2017-10-20T21:05:41.000Z | src/projectone/oficina/apps.py | krixapolinario/django-project-one | 621b7f91eef2f4da5e5096eb503b2f7dfe993295 | [
"MIT"
] | null | null | null | src/projectone/oficina/apps.py | krixapolinario/django-project-one | 621b7f91eef2f4da5e5096eb503b2f7dfe993295 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class OficinaConfig(AppConfig):
name = 'oficina'
| 17.6 | 33 | 0.761364 | 10 | 88 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 4 | 34 | 22 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 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 |
a3ca3f5ecdafe6a54c1bfb6b7539f53f3eae8baf | 1,678 | py | Python | tests/test_views.py | cromulus/check-list | 5e6d7f657ac14688dae181839d1bf38cedf6a232 | [
"MIT"
] | null | null | null | tests/test_views.py | cromulus/check-list | 5e6d7f657ac14688dae181839d1bf38cedf6a232 | [
"MIT"
] | null | null | null | tests/test_views.py | cromulus/check-list | 5e6d7f657ac14688dae181839d1bf38cedf6a232 | [
"MIT"
] | null | null | null |
from base import *
class ViewsTestCase(BaseTestCase):
def test_base(self):
self.expect_view_200('/')
def test_client_views(self):
self.expect_view_200('/receipt/1')
self.expect_view_200('/list/1/agreement')
def test_no_user_views(self):
""" For following views should redirect to /dashboard if user s... | 25.044776 | 75 | 0.716925 | 250 | 1,678 | 4.556 | 0.248 | 0.22827 | 0.233538 | 0.283582 | 0.337138 | 0.186128 | 0 | 0 | 0 | 0 | 0 | 0.06267 | 0.125149 | 1,678 | 66 | 76 | 25.424242 | 0.713215 | 0.187128 | 0 | 0.111111 | 0 | 0 | 0.243446 | 0.094382 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.083333 | 0.027778 | 0 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a3dac44cf87e1d3aa37eaea055dde3d05f105fef | 881 | py | Python | roman_numerals/2021-11-29/test.py | rbuchmeier/kata | aefd50ca9c8dd0daa04dcf1b6f4ec4eef7dd8f2f | [
"MIT"
] | null | null | null | roman_numerals/2021-11-29/test.py | rbuchmeier/kata | aefd50ca9c8dd0daa04dcf1b6f4ec4eef7dd8f2f | [
"MIT"
] | null | null | null | roman_numerals/2021-11-29/test.py | rbuchmeier/kata | aefd50ca9c8dd0daa04dcf1b6f4ec4eef7dd8f2f | [
"MIT"
] | null | null | null | import unittest
from main import *
class Test(unittest.TestCase):
def test_1(self):
self.assertEqual(1, 1)
class TestRomanNumerals(unittest.TestCase):
def test_roman_numeral(self):
self.assertEqual(roman_numeral(1), 'I')
self.assertEqual(roman_numeral(2), 'II')
self.assertEqual... | 35.24 | 61 | 0.673099 | 103 | 881 | 5.533981 | 0.349515 | 0.342105 | 0.421053 | 0.568421 | 0.170175 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036262 | 0.186152 | 881 | 24 | 62 | 36.708333 | 0.758717 | 0 | 0 | 0 | 0 | 0 | 0.074915 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.