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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d99a20277c32bb1e28312f42ab6d732f38323169 | 241 | py | Python | quick_search/admin.py | naman1901/django-quick-search | 7b93554ed9fa4721e52372f9fd1a395d94cc04a7 | [
"MIT"
] | null | null | null | quick_search/admin.py | naman1901/django-quick-search | 7b93554ed9fa4721e52372f9fd1a395d94cc04a7 | [
"MIT"
] | 2 | 2020-02-11T23:28:22.000Z | 2020-06-05T19:27:40.000Z | quick_search/admin.py | HereWithoutPermission/django-quick-search | 7b93554ed9fa4721e52372f9fd1a395d94cc04a7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import SearchResult
# Register your models here.
class SearchResultAdmin(admin.ModelAdmin):
fields = ["query", "heading", "url", "text"]
admin.site.register(SearchResult, SearchResultAdmin) | 30.125 | 52 | 0.771784 | 27 | 241 | 6.888889 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116183 | 241 | 8 | 52 | 30.125 | 0.873239 | 0.107884 | 0 | 0 | 0 | 0 | 0.088785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d9a88e74a4ac032ae6e8218d9ec1ed42e6092d32 | 375 | py | Python | app/views/web/homestack.py | geudrik/hautomation | 0baae29e85cd68658a0f8578de2e36e42945053f | [
"MIT"
] | null | null | null | app/views/web/homestack.py | geudrik/hautomation | 0baae29e85cd68658a0f8578de2e36e42945053f | [
"MIT"
] | null | null | null | app/views/web/homestack.py | geudrik/hautomation | 0baae29e85cd68658a0f8578de2e36e42945053f | [
"MIT"
] | null | null | null | #! /usr/bin/env python2.7
# -*- coding: latin-1 -*-
from flask import Blueprint
from flask import current_app
from flask import render_template
from flask_login import login_required
homestack = Blueprint("homestack", __name__, url_prefix="/homestack")
@homestack.route("/", methods=["GET"])
@login_required
def hom... | 22.058824 | 69 | 0.749333 | 49 | 375 | 5.510204 | 0.591837 | 0.133333 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.12 | 375 | 16 | 70 | 23.4375 | 0.809091 | 0.128 | 0 | 0 | 0 | 0 | 0.129231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0.111111 | 0.666667 | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
d9b55a7ee025f94a0ef3f125fa9c30f974dd7d6e | 211 | py | Python | abc/abc165/abc165e.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | 1 | 2019-08-21T00:49:34.000Z | 2019-08-21T00:49:34.000Z | abc/abc165/abc165e.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | abc/abc165/abc165e.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | N, M = map(int, input().split())
for i in range(1, M + 1):
if i % 2 == 1:
j = (i - 1) // 2
print(1 + j, M + 1 - j)
else:
j = (i - 2) // 2
print(M + 2 + j, 2 * M + 1 - j)
| 21.1 | 39 | 0.336493 | 40 | 211 | 1.775 | 0.4 | 0.112676 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.445498 | 211 | 9 | 40 | 23.444444 | 0.495727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 1 | 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 | 3 |
d9b8d42e905cba910e6a30f7d6f38e82d05ab46c | 2,110 | py | Python | graphdb/transformer.py | muggat0n/graphdb | 56dfd5ef8a3321abc6a919faee47494bbe059080 | [
"MIT"
] | 2 | 2020-08-28T13:42:38.000Z | 2020-09-05T03:13:45.000Z | graphdb/transformer.py | muggat0n/graphdb | 56dfd5ef8a3321abc6a919faee47494bbe059080 | [
"MIT"
] | null | null | null | graphdb/transformer.py | muggat0n/graphdb | 56dfd5ef8a3321abc6a919faee47494bbe059080 | [
"MIT"
] | null | null | null | """
A query transformer is a function that accepts a program and returns a program, plus a priority level.
Higher priority transformers are placed closer to the front of the list. We’re ensuring is a function,
because we’re going to evaluate it later 31 .
We’ll assume there won’t be an enormous number of transformer ad... | 30.57971 | 120 | 0.627962 | 273 | 2,110 | 4.842491 | 0.47619 | 0.026475 | 0.016641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005799 | 0.264455 | 2,110 | 68 | 121 | 31.029412 | 0.845361 | 0.267299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d9b9563b7aae9c46b0fbd98073d96eeedfaec4aa | 91 | py | Python | Courses/1 month/2 week/day 6/Formula.py | emir-naiz/first_git_lesson | 1fecf712290f6da3ef03deff518870d91638eb69 | [
"MIT"
] | null | null | null | Courses/1 month/2 week/day 6/Formula.py | emir-naiz/first_git_lesson | 1fecf712290f6da3ef03deff518870d91638eb69 | [
"MIT"
] | null | null | null | Courses/1 month/2 week/day 6/Formula.py | emir-naiz/first_git_lesson | 1fecf712290f6da3ef03deff518870d91638eb69 | [
"MIT"
] | null | null | null | summary = 0
i = 0
while i < 5:
summary = summary + i
print(summary)
i = i + 1
| 11.375 | 25 | 0.516484 | 15 | 91 | 3.133333 | 0.466667 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0.373626 | 91 | 7 | 26 | 13 | 0.754386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 | 0 | 0 | 3 |
d9b9af3bd25b0d2f9357446b0ff43e3ab614b141 | 243 | py | Python | tests/image_saver/image_saver_7.py | Vicken-Ghoubiguian/Imtreat | 1f8e8406dc48af3b1e8e0c138a09aa1faee0b8a0 | [
"MIT"
] | null | null | null | tests/image_saver/image_saver_7.py | Vicken-Ghoubiguian/Imtreat | 1f8e8406dc48af3b1e8e0c138a09aa1faee0b8a0 | [
"MIT"
] | null | null | null | tests/image_saver/image_saver_7.py | Vicken-Ghoubiguian/Imtreat | 1f8e8406dc48af3b1e8e0c138a09aa1faee0b8a0 | [
"MIT"
] | null | null | null | import imtreat
img = imtreat.imageManagerClass.openImageFunction("../images/soleil.png", 0)
img = imtreat.definedModesClass.detailEnhanceFunction(img)
imtreat.imageManagerClass.saveImageFunction("/Téléchargements/", "image_1", ".png", img)
| 30.375 | 88 | 0.794239 | 23 | 243 | 8.347826 | 0.652174 | 0.15625 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008811 | 0.065844 | 243 | 7 | 89 | 34.714286 | 0.837004 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d9c389b63a2c9720abef56190237f31a2306da19 | 1,972 | py | Python | src/biotite/copyable.py | danijoo/biotite | 22072e64676e4e917236eac8493eed4c6a22cc33 | [
"BSD-3-Clause"
] | 208 | 2018-04-20T15:59:42.000Z | 2022-03-22T07:47:12.000Z | src/biotite/copyable.py | danielmuthama/biotite | cb238a8d8d7dc82b3bcea274d7d91d5c876badcd | [
"BSD-3-Clause"
] | 121 | 2017-11-15T14:52:07.000Z | 2022-03-30T16:31:41.000Z | src/biotite/copyable.py | danielmuthama/biotite | cb238a8d8d7dc82b3bcea274d7d91d5c876badcd | [
"BSD-3-Clause"
] | 49 | 2018-07-19T09:06:24.000Z | 2022-03-23T17:21:34.000Z | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
__name__ = "biotite"
__author__ = "Patrick Kunzmann"
__all__ = ["Copyable"]
import abc
class Copyable(metaclass=abc.ABCMeta):
"""
Base class for all obje... | 27.774648 | 70 | 0.59432 | 235 | 1,972 | 4.787234 | 0.421277 | 0.017778 | 0.017778 | 0.023111 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00076 | 0.333164 | 1,972 | 71 | 71 | 27.774648 | 0.854753 | 0.626775 | 0 | 0 | 0 | 0 | 0.077114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d9f1f15178cb9e26d9b4f91695b333a07eaa59d6 | 74,778 | py | Python | sqlova/model/nl2sql/wikisql_models.py | guotong1988/Rule-SQL | e826c0d659c8b35a72b64aa2b50d4d943fdd70f1 | [
"Apache-2.0"
] | 15 | 2019-07-25T12:13:31.000Z | 2020-10-17T13:42:58.000Z | sqlova/model/nl2sql/wikisql_models.py | guotong1988/Rule-SQL | e826c0d659c8b35a72b64aa2b50d4d943fdd70f1 | [
"Apache-2.0"
] | 1 | 2020-01-07T05:49:15.000Z | 2020-04-22T01:22:00.000Z | sqlova/model/nl2sql/wikisql_models.py | guotong1988/Rule-SQL | e826c0d659c8b35a72b64aa2b50d4d943fdd70f1 | [
"Apache-2.0"
] | 3 | 2019-10-01T09:14:35.000Z | 2020-07-18T08:39:48.000Z | # Copyright 2019-present NAVER Corp.
# Apache License v2.0
# Wonseok Hwang
import os, json
from copy import deepcopy
from matplotlib.pylab import *
import torch
import torch.nn as nn
import torch.nn.functional as F
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
from sqlova.utils.utils impor... | 39.419083 | 161 | 0.555163 | 10,973 | 74,778 | 3.441903 | 0.05313 | 0.039187 | 0.02187 | 0.018005 | 0.766522 | 0.732075 | 0.704671 | 0.683595 | 0.661115 | 0.641284 | 0 | 0.030277 | 0.333948 | 74,778 | 1,896 | 162 | 39.439873 | 0.728025 | 0.168378 | 0 | 0.597066 | 0 | 0 | 0.006951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035375 | false | 0.002588 | 0.006903 | 0 | 0.077653 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d9f32d2b9e677d6893c7269bf23bcedaa4e7f68a | 363 | py | Python | chia/components/sample_transformers/__init__.py | cabrust/chia | 3eaf815b261dc8a85d64fd698e0079515ec0dde9 | [
"BSD-3-Clause"
] | null | null | null | chia/components/sample_transformers/__init__.py | cabrust/chia | 3eaf815b261dc8a85d64fd698e0079515ec0dde9 | [
"BSD-3-Clause"
] | 2 | 2021-10-06T13:19:09.000Z | 2021-10-20T17:32:36.000Z | chia/components/sample_transformers/__init__.py | cabrust/chia | 3eaf815b261dc8a85d64fd698e0079515ec0dde9 | [
"BSD-3-Clause"
] | null | null | null | from chia import components
from chia.components.sample_transformers import identity
from chia.components.sample_transformers.sample_transformer import SampleTransformer
class SampleTransformerFactory(components.Factory):
name_to_class_mapping = {"identity": identity.IdentitySampleTransformer}
__all__ = ["Sampl... | 33 | 84 | 0.85124 | 34 | 363 | 8.794118 | 0.5 | 0.080268 | 0.120401 | 0.160535 | 0.240803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 363 | 10 | 85 | 36.3 | 0.897898 | 0 | 0 | 0 | 0 | 0 | 0.134986 | 0.066116 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d9f3cb72d610ec30e4ecf05d60ba2025dc849112 | 416 | py | Python | 3/3.6/add_guest.py | singi2016cn/python-scaffold | 274e508d1919da67e599aa73be139800c043bce4 | [
"MIT"
] | null | null | null | 3/3.6/add_guest.py | singi2016cn/python-scaffold | 274e508d1919da67e599aa73be139800c043bce4 | [
"MIT"
] | null | null | null | 3/3.6/add_guest.py | singi2016cn/python-scaffold | 274e508d1919da67e599aa73be139800c043bce4 | [
"MIT"
] | null | null | null | # 添加嘉宾
names = []
names.append('singi')
names.append('lily')
names.append('sam')
print('I find a big dining-table,I can invite more friends.')
names.insert(0, 'xiaoling')
names.insert(2, 'fangsi')
names.append('zhangqing')
greets = ',would you like to have dinner with me ?'
print(names[0]+greets)
print(names[1]+gre... | 20.8 | 61 | 0.711538 | 67 | 416 | 4.41791 | 0.537313 | 0.202703 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02139 | 0.100962 | 416 | 20 | 62 | 20.8 | 0.770053 | 0.009615 | 0 | 0 | 0 | 0 | 0.309002 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.466667 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
8a03248b6fead646cb68e7a6a935435de664969c | 14,492 | py | Python | anaconda-mode/0.1.13/jedi-0.15.1-py3.7.egg/jedi/evaluate/base_context.py | space-scl/emacs.d | 6285c38714023b72a023fe24cbcb5e4fcdcdb949 | [
"Apache-2.0"
] | 4 | 2019-07-26T11:32:22.000Z | 2019-09-11T05:34:59.000Z | anaconda-mode/0.1.13/jedi-0.15.1-py3.7.egg/jedi/evaluate/base_context.py | space-scl/emacs.d | 6285c38714023b72a023fe24cbcb5e4fcdcdb949 | [
"Apache-2.0"
] | 10 | 2020-05-11T20:29:28.000Z | 2022-01-13T01:41:27.000Z | anaconda-mode/0.1.13/jedi-0.15.1-py3.7.egg/jedi/evaluate/base_context.py | space-scl/emacs.d | 6285c38714023b72a023fe24cbcb5e4fcdcdb949 | [
"Apache-2.0"
] | 2 | 2019-08-28T14:57:54.000Z | 2019-11-26T16:18:30.000Z | """
Contexts are the "values" that Python would return. However Contexts are at the
same time also the "contexts" that a user is currently sitting in.
A ContextSet is typically used to specify the return of a function or any other
static analysis operation. In jedi there are always multiple returns and not
just one.
"... | 33.162471 | 94 | 0.637524 | 1,718 | 14,492 | 5.089639 | 0.185681 | 0.030878 | 0.021958 | 0.011436 | 0.237077 | 0.180009 | 0.141468 | 0.087374 | 0.064959 | 0.042543 | 0 | 0.001151 | 0.280638 | 14,492 | 436 | 95 | 33.238532 | 0.837602 | 0.110199 | 0 | 0.248322 | 0 | 0 | 0.045142 | 0.004025 | 0 | 0 | 0 | 0.006881 | 0.003356 | 1 | 0.204698 | false | 0.010067 | 0.067114 | 0.110738 | 0.526846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8a13575cd76b03c2660c0f973dca2598509c1205 | 34,179 | py | Python | sdk/lusid/models/lusid_instrument.py | rizwansaeed/lusid-sdk-python-preview | 52d092d6d4099b8526f0318f3fe1ddc0b943da6a | [
"MIT"
] | null | null | null | sdk/lusid/models/lusid_instrument.py | rizwansaeed/lusid-sdk-python-preview | 52d092d6d4099b8526f0318f3fe1ddc0b943da6a | [
"MIT"
] | null | null | null | sdk/lusid/models/lusid_instrument.py | rizwansaeed/lusid-sdk-python-preview | 52d092d6d4099b8526f0318f3fe1ddc0b943da6a | [
"MIT"
] | null | null | null | # coding: utf-8
"""
LUSID API
# Introduction This page documents the [LUSID APIs](https://www.lusid.com/api/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages : * [C#](https://gith... | 221.941558 | 28,647 | 0.692179 | 4,703 | 34,179 | 5.007229 | 0.218371 | 0.042465 | 0.019873 | 0.016009 | 0.145569 | 0.0989 | 0.070704 | 0.064759 | 0.055841 | 0.04565 | 0 | 0.053849 | 0.170339 | 34,179 | 153 | 28,648 | 223.392157 | 0.776598 | 0.875128 | 0 | 0.025641 | 0 | 0 | 0.205901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.038462 | 0 | 0.320513 | 0.025641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a1c71c22813d34b18261a3c040c83b4a288d938 | 1,272 | py | Python | caravan_search_engine/test/test_task.py | crest-cassia/caravan | 0a8e606e31d2d36a9379bdc00fafe55cf9144da6 | [
"MIT"
] | 4 | 2017-12-27T06:04:46.000Z | 2018-04-27T04:07:49.000Z | caravan_search_engine/test/test_task.py | crest-cassia/caravan | 0a8e606e31d2d36a9379bdc00fafe55cf9144da6 | [
"MIT"
] | null | null | null | caravan_search_engine/test/test_task.py | crest-cassia/caravan | 0a8e606e31d2d36a9379bdc00fafe55cf9144da6 | [
"MIT"
] | null | null | null | import unittest
from caravan.task import Task
from caravan.tables import Tables
class TestRun(unittest.TestCase):
def setUp(self):
self.t = Tables.get()
self.t.clear()
def test_task(self):
t = Task(1234, "echo hello world")
self.assertEqual(t.id(), 1234)
self.assertEqu... | 30.285714 | 63 | 0.589623 | 180 | 1,272 | 4.061111 | 0.305556 | 0.266758 | 0.19699 | 0.045144 | 0.361149 | 0.281806 | 0.281806 | 0.281806 | 0.155951 | 0.155951 | 0 | 0.044257 | 0.253931 | 1,272 | 41 | 64 | 31.02439 | 0.726027 | 0 | 0 | 0.121212 | 0 | 0 | 0.047956 | 0 | 0 | 0 | 0 | 0 | 0.424242 | 1 | 0.151515 | false | 0 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a2561d549e0edb64456facf130fd386d46356d5 | 96,782 | py | Python | .infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py | cvicens/lab-knative | ef98aa111e566c6d33fd72c61f9c0d93a2c05b2f | [
"Apache-2.0"
] | null | null | null | .infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py | cvicens/lab-knative | ef98aa111e566c6d33fd72c61f9c0d93a2c05b2f | [
"Apache-2.0"
] | null | null | null | .infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py | cvicens/lab-knative | ef98aa111e566c6d33fd72c61f9c0d93a2c05b2f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from ansible.module_utils.openshift_common import OpenShiftAnsibleModule, OpenShiftAnsibleException
DOCUMENTATION = '''
module: openshift_v1_build_config_list
short_description: OpenShift BuildConfigList
description:
- Retrieve a list of build_configs. List operations provide... | 50.486176 | 100 | 0.443027 | 8,403 | 96,782 | 5.076044 | 0.113293 | 0.030196 | 0.033408 | 0.022718 | 0.555352 | 0.53015 | 0.519435 | 0.514723 | 0.508909 | 0.496882 | 0 | 0.001486 | 0.527257 | 96,782 | 1,916 | 101 | 50.512526 | 0.930781 | 0.001333 | 0 | 0.706408 | 0 | 0.00105 | 0.994899 | 0.011547 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000525 | false | 0.006303 | 0.000525 | 0 | 0.00105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a6c803544f7e0d285bc37ff4aefd197349a5940 | 456 | py | Python | src/trw/reporting/__init__.py | civodlu/trw | b9a1cf045f61d6df9c65c014ef63b4048972dcdc | [
"MIT"
] | 3 | 2019-07-04T01:20:41.000Z | 2020-01-27T02:36:12.000Z | src/trw/reporting/__init__.py | civodlu/trw | b9a1cf045f61d6df9c65c014ef63b4048972dcdc | [
"MIT"
] | null | null | null | src/trw/reporting/__init__.py | civodlu/trw | b9a1cf045f61d6df9c65c014ef63b4048972dcdc | [
"MIT"
] | 2 | 2020-10-19T13:46:06.000Z | 2021-12-27T02:18:10.000Z | #from trw.utils import collect_hierarchical_module_name, collect_hierarchical_parameter_name, get_batch_n, to_value, \
# safe_lookup, len_batch
from .export import as_image_ui8, as_rgb_image, export_image, export_sample, export_as_image
from .table_sqlite import TableStream, SQLITE_TYPE_PATTERN, get_table_number_of_... | 65.142857 | 118 | 0.875 | 65 | 456 | 5.646154 | 0.6 | 0.103542 | 0.098093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002387 | 0.08114 | 456 | 6 | 119 | 76 | 0.873508 | 0.313596 | 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 | 0 | 0 | 0 | 3 |
8a6d637336ee5d703603ebc196b3672612c215ab | 1,976 | py | Python | src/learndash/api_resources/user.py | MarkMacDon/learndash-python | a3fbfc45567a524b80c732d735f2ae101119f2e4 | [
"MIT"
] | null | null | null | src/learndash/api_resources/user.py | MarkMacDon/learndash-python | a3fbfc45567a524b80c732d735f2ae101119f2e4 | [
"MIT"
] | 1 | 2021-05-06T19:01:24.000Z | 2021-05-06T19:01:24.000Z | src/learndash/api_resources/user.py | MarkMacDon/learndash-python | a3fbfc45567a524b80c732d735f2ae101119f2e4 | [
"MIT"
] | 2 | 2021-05-05T22:45:04.000Z | 2021-07-24T08:47:02.000Z | import learndash
from learndash.api_resources.abstract import ListableAPIResource
from learndash.api_resources.abstract import RetrievableAPIResource
from learndash.api_resources.abstract import UpdateableAPIResource
from learndash.api_resources.abstract import NestedAPIResource
from learndash.api_resources.typing imp... | 35.927273 | 113 | 0.802632 | 212 | 1,976 | 7.334906 | 0.240566 | 0.075241 | 0.092605 | 0.144695 | 0.457235 | 0.395498 | 0.123473 | 0.123473 | 0.123473 | 0.123473 | 0 | 0 | 0.136134 | 1,976 | 54 | 114 | 36.592593 | 0.910955 | 0.117915 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.3125 | 0.1875 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
8a80483513e593a3c49ee46795ac3b8d601f6b9a | 416 | py | Python | main/SimulationSettings/ScreenshotsSteppable/Simulation/screenshots_steppables.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/SimulationSettings/ScreenshotsSteppable/Simulation/screenshots_steppables.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/SimulationSettings/ScreenshotsSteppable/Simulation/screenshots_steppables.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | 1 | 2021-02-26T21:50:29.000Z | 2021-02-26T21:50:29.000Z | from cc3d.core.PySteppables import *
from cc3d import CompuCellSetup
from random import random
class ScreenshotSteppable(SteppableBasePy):
def __init__(self, frequency=10):
SteppableBasePy.__init__(self, frequency)
def step(self, mcs):
if mcs in [3, 5, 19,20, 23, 29, 31]:
self.req... | 27.733333 | 93 | 0.6875 | 52 | 416 | 5.211538 | 0.673077 | 0.059041 | 0.125461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055901 | 0.225962 | 416 | 15 | 94 | 27.733333 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.067146 | 0.067146 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8a894222f80aae1db1ccdaaadeb6288f55d6b62f | 267 | py | Python | compliance_suite/exceptions/user_config_exception.py | alextsaihi/rnaget-compliance-suite | a3accae431b9e4f7791dfa5ae867e70da2dd6278 | [
"Apache-2.0"
] | 1 | 2019-09-18T14:38:55.000Z | 2019-09-18T14:38:55.000Z | compliance_suite/exceptions/user_config_exception.py | alextsaihi/rnaget-compliance-suite | a3accae431b9e4f7791dfa5ae867e70da2dd6278 | [
"Apache-2.0"
] | 14 | 2019-05-24T18:55:23.000Z | 2022-02-25T16:56:28.000Z | compliance_suite/exceptions/user_config_exception.py | alextsaihi/rnaget-compliance-suite | a3accae431b9e4f7791dfa5ae867e70da2dd6278 | [
"Apache-2.0"
] | 8 | 2019-04-08T14:48:35.000Z | 2022-02-04T16:59:59.000Z | # -*- coding: utf-8 -*-
"""Module compliance_suite.exceptions.user_config_exception.py
This module contains class definition for user config file exceptions.
"""
class UserConfigException(Exception):
"""Exception for user config file-related errors"""
pass | 26.7 | 70 | 0.752809 | 32 | 267 | 6.1875 | 0.65625 | 0.151515 | 0.131313 | 0.171717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004348 | 0.138577 | 267 | 10 | 71 | 26.7 | 0.856522 | 0.749064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8a928ed1a44855a651b9670429234df930921f0a | 125 | py | Python | api/services/http.py | takos22/API-1 | 261ecd34648d610169caf27b3712256f757b100d | [
"MIT"
] | null | null | null | api/services/http.py | takos22/API-1 | 261ecd34648d610169caf27b3712256f757b100d | [
"MIT"
] | null | null | null | api/services/http.py | takos22/API-1 | 261ecd34648d610169caf27b3712256f757b100d | [
"MIT"
] | null | null | null | from aiohttp import ClientSession
from typing import Optional
session: Optional[ClientSession] = None
__all__ = (session,)
| 17.857143 | 39 | 0.8 | 14 | 125 | 6.857143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136 | 125 | 6 | 40 | 20.833333 | 0.888889 | 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 | 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 | 3 |
8aad8de20813d57dc973493fe2b63ad495089392 | 549 | py | Python | setup.py | swfrench/nginx-access-tailer | 5e060396ca749935c622e8e9c50b659b39e3675b | [
"BSD-3-Clause"
] | null | null | null | setup.py | swfrench/nginx-access-tailer | 5e060396ca749935c622e8e9c50b659b39e3675b | [
"BSD-3-Clause"
] | null | null | null | setup.py | swfrench/nginx-access-tailer | 5e060396ca749935c622e8e9c50b659b39e3675b | [
"BSD-3-Clause"
] | null | null | null | """TODO."""
from setuptools import setup
setup(
name='nginx-access-tailer',
version='0.1',
author='swfrench',
url='https://github.com/swfrench/nginx-tailer',
packages=['nginx_access_tailer',],
license='BSD three-clause license',
entry_points={
'console_scripts': ['nginx-access-tail... | 24.954545 | 87 | 0.626594 | 64 | 549 | 5.171875 | 0.6875 | 0.132931 | 0.205438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020316 | 0.193078 | 549 | 21 | 88 | 26.142857 | 0.726862 | 0.009107 | 0 | 0 | 0 | 0 | 0.483271 | 0.104089 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0 | true | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8ab7c4d71edafc2000970ee8f5e485db6a4fa978 | 872 | py | Python | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/s/super/super_with_arguments.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/s/super/super_with_arguments.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/s/super/super_with_arguments.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | class Foo:
pass
class Bar(Foo):
def __init__(self):
super(Bar, self).__init__() # [super-with-arguments]
class Baz(Foo):
def __init__(self):
super().__init__()
class Qux(Foo):
def __init__(self):
super(Bar, self).__init__()
class NotSuperCall(Foo):
def __init__(self)... | 24.222222 | 86 | 0.65711 | 113 | 872 | 4.557522 | 0.424779 | 0.058252 | 0.097087 | 0.135922 | 0.227184 | 0.116505 | 0.116505 | 0.116505 | 0 | 0 | 0 | 0 | 0.209862 | 872 | 35 | 87 | 24.914286 | 0.74746 | 0.369266 | 0 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.052632 | 0 | 0 | 0.631579 | 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 | 0 | 1 | 0 | 0 | 3 |
8abd39aa48321431318051d54854247571fa2704 | 311 | py | Python | betterloader/standard_transforms.py | BinItAI/BetterLoader | 29ebcc22b53db6417a4b14d95f0a1e7f5afe7af8 | [
"MIT"
] | 39 | 2020-08-11T09:58:08.000Z | 2022-02-24T19:22:42.000Z | betterloader/standard_transforms.py | BinItAI/BetterLoader | 29ebcc22b53db6417a4b14d95f0a1e7f5afe7af8 | [
"MIT"
] | 21 | 2020-08-11T09:58:46.000Z | 2021-05-10T12:50:12.000Z | betterloader/standard_transforms.py | BinItAI/BetterLoader | 29ebcc22b53db6417a4b14d95f0a1e7f5afe7af8 | [
"MIT"
] | 2 | 2020-10-29T14:51:01.000Z | 2021-01-08T09:40:34.000Z | import numpy as np
from torchvision import transforms
np.random.seed(1)
class TransformWhileSampling(object):
def __init__(self, transform):
self.transform = transform
def __call__(self, sample):
x1 = self.transform(sample)
x2 = self.transform(sample)
return x1, x2 | 19.4375 | 37 | 0.678457 | 37 | 311 | 5.486486 | 0.594595 | 0.256158 | 0.187192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021097 | 0.237942 | 311 | 16 | 38 | 19.4375 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
8aca0af3be9ee2ea88050772027c439546656c4a | 3,651 | py | Python | tests/test_EdiblesSpectrum.py | jancami/edibles | 51263b24c5e8aef786692011289b906a810ad2f7 | [
"MIT"
] | 8 | 2020-04-15T10:44:48.000Z | 2021-06-21T15:58:19.000Z | tests/test_EdiblesSpectrum.py | jancami/edibles | 51263b24c5e8aef786692011289b906a810ad2f7 | [
"MIT"
] | 100 | 2020-05-08T13:20:41.000Z | 2022-01-11T20:04:52.000Z | tests/test_EdiblesSpectrum.py | jancami/edibles | 51263b24c5e8aef786692011289b906a810ad2f7 | [
"MIT"
] | 8 | 2020-05-27T00:39:39.000Z | 2021-06-23T14:07:16.000Z | import astropy
import datetime
import numpy as np
from edibles.utils.edibles_spectrum import EdiblesSpectrum
def testEdiblesSpectrum(filename="tests/HD170740_w860_redl_20140915_O12.fits"):
# Spectrum information
sp = EdiblesSpectrum(filename=filename, fully_featured=True, noDATADIR=True)
assert isinstanc... | 34.443396 | 80 | 0.707751 | 565 | 3,651 | 4.424779 | 0.113274 | 0.2176 | 0.2448 | 0.15 | 0.6924 | 0.6832 | 0.6492 | 0.5884 | 0.5676 | 0.55 | 0 | 0.02084 | 0.172008 | 3,651 | 105 | 81 | 34.771429 | 0.806153 | 0.018077 | 0 | 0.573171 | 0 | 0 | 0.024029 | 0.021794 | 0 | 0 | 0 | 0 | 0.804878 | 1 | 0.012195 | false | 0 | 0.04878 | 0 | 0.060976 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76e2fbbb9481d029109c5c955ed7a3309fc9c83a | 117 | py | Python | extract.py | rmalav15/voice-data-extract | e021428afe2706cae0e5339e96bba7f8b033117d | [
"MIT"
] | null | null | null | extract.py | rmalav15/voice-data-extract | e021428afe2706cae0e5339e96bba7f8b033117d | [
"MIT"
] | null | null | null | extract.py | rmalav15/voice-data-extract | e021428afe2706cae0e5339e96bba7f8b033117d | [
"MIT"
] | null | null | null | from srtvoiceext import extract
if __name__ == '__main__':
ext = extract('video.mkv', 'subtitles.srt', 'outdir') | 29.25 | 57 | 0.700855 | 14 | 117 | 5.285714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 4 | 57 | 29.25 | 0.74 | 0 | 0 | 0 | 0 | 0 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
76e301801e70d562cc3a1d9777a610e89dc8d94b | 632 | py | Python | bacon/readonly_collections.py | aholkner/bacon | edf3810dcb211942d392a8637945871399b0650d | [
"MIT"
] | 37 | 2015-01-29T17:42:11.000Z | 2021-12-14T22:11:33.000Z | bacon/readonly_collections.py | aholkner/bacon | edf3810dcb211942d392a8637945871399b0650d | [
"MIT"
] | 3 | 2015-08-13T17:38:05.000Z | 2020-09-25T17:21:31.000Z | bacon/readonly_collections.py | aholkner/bacon | edf3810dcb211942d392a8637945871399b0650d | [
"MIT"
] | 7 | 2015-02-12T17:54:35.000Z | 2022-01-31T14:50:09.000Z | import collections
class ReadOnlyDict(collections.MutableMapping):
def __init__(self, store):
self.store = store
def __getitem__(self, key):
return self.store[key]
def __setitem__(self, key, value):
raise TypeError('Cannot modify ReadOnlyDict')
def __delitem__(self, ke... | 25.28 | 53 | 0.642405 | 70 | 632 | 5.342857 | 0.357143 | 0.168449 | 0.096257 | 0.139037 | 0.219251 | 0.219251 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253165 | 632 | 25 | 54 | 25.28 | 0.792373 | 0 | 0 | 0.111111 | 0 | 0 | 0.132701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.055556 | 0.277778 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0a0c72972354861b109e6305d555a377963ca24f | 63 | py | Python | python/testData/stubs/FullyQualifiedTypingNamedTuple.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/stubs/FullyQualifiedTypingNamedTuple.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/stubs/FullyQualifiedTypingNamedTuple.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import typing
nt = typing.NamedTuple("name", [("field", str)]) | 21 | 48 | 0.666667 | 8 | 63 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 3 | 48 | 21 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0a1e494933ae306f17bb20205df33acd66dcd6cb | 3,713 | py | Python | src/genotypes.py | k8lion/admmdarts | 4953e401cb74ba9f8da3ed0b9d4c5e88da9fc776 | [
"Apache-2.0"
] | null | null | null | src/genotypes.py | k8lion/admmdarts | 4953e401cb74ba9f8da3ed0b9d4c5e88da9fc776 | [
"Apache-2.0"
] | null | null | null | src/genotypes.py | k8lion/admmdarts | 4953e401cb74ba9f8da3ed0b9d4c5e88da9fc776 | [
"Apache-2.0"
] | null | null | null | from collections import namedtuple
Genotype = namedtuple('Genotype', 'normal normal_concat reduce reduce_concat')
PRIMITIVES = [
'none',
'max_pool_3x3',
'avg_pool_3x3',
'skip_connect',
'sep_conv_3x3',
'sep_conv_5x5',
'dil_conv_3x3',
'dil_conv_5x5'
]
CRBPRIMITIVES = [
'max_pool_3x3... | 34.700935 | 116 | 0.546458 | 543 | 3,713 | 3.3186 | 0.071823 | 0.170921 | 0.166482 | 0.091565 | 0.831299 | 0.772475 | 0.718091 | 0.54939 | 0.45283 | 0.398446 | 0 | 0.116984 | 0.235659 | 3,713 | 106 | 117 | 35.028302 | 0.51797 | 0 | 0 | 0.55102 | 0 | 0 | 0.395637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010204 | 0 | 0.010204 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a1ed95ecf3a94b0314f7b8f523edacf4c486e8a | 275 | py | Python | pyccel/ast/basic.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | pyccel/ast/basic.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | pyccel/ast/basic.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | from sympy.core.basic import Basic as sp_Basic
class Basic(sp_Basic):
"""Basic class for Pyccel AST."""
_fst = None
def set_fst(self, fst):
"""Sets the redbaron fst."""
self._fst = fst
@property
def fst(self):
return self._fst
| 18.333333 | 46 | 0.6 | 39 | 275 | 4.076923 | 0.538462 | 0.132075 | 0.125786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287273 | 275 | 14 | 47 | 19.642857 | 0.811224 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0a448d09286de882fe626777f47593a108a44caa | 628 | py | Python | test_app/models.py | alissonmuller/django-group-by | 645c36ad2c3ab1f4691de6fcc04fed8b5d7ef78d | [
"MIT"
] | 25 | 2016-09-29T15:25:16.000Z | 2021-09-19T14:20:58.000Z | test_app/models.py | alissonmuller/django-group-by | 645c36ad2c3ab1f4691de6fcc04fed8b5d7ef78d | [
"MIT"
] | 22 | 2016-05-29T00:14:47.000Z | 2019-06-08T13:24:21.000Z | test_app/models.py | alissonmuller/django-group-by | 645c36ad2c3ab1f4691de6fcc04fed8b5d7ef78d | [
"MIT"
] | 2 | 2018-09-24T07:28:39.000Z | 2019-02-12T14:09:18.000Z | from django.db import models
from .query import BookQuerySet
class Book(models.Model):
objects = BookQuerySet.as_manager()
title = models.CharField(max_length=50)
publication_date = models.DateTimeField()
author = models.ForeignKey('Author')
genres = models.ManyToManyField('Genre')
class Autho... | 23.259259 | 56 | 0.732484 | 77 | 628 | 5.883117 | 0.415584 | 0.165563 | 0.198676 | 0.264901 | 0.386313 | 0.271523 | 0.271523 | 0.271523 | 0 | 0 | 0 | 0.018832 | 0.154459 | 628 | 26 | 57 | 24.153846 | 0.834275 | 0 | 0 | 0.1875 | 0 | 0 | 0.02707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0a515a3d5abf09db1a4745bebd807a1a69030c04 | 219 | py | Python | Introductions/The Rust Programming Language/embed/bindings/embed.py | uqtimes/Rust-SampleCodes | f9d7a040d8198acd30bf3423e7c6cf52bc9c7b6e | [
"MIT"
] | null | null | null | Introductions/The Rust Programming Language/embed/bindings/embed.py | uqtimes/Rust-SampleCodes | f9d7a040d8198acd30bf3423e7c6cf52bc9c7b6e | [
"MIT"
] | null | null | null | Introductions/The Rust Programming Language/embed/bindings/embed.py | uqtimes/Rust-SampleCodes | f9d7a040d8198acd30bf3423e7c6cf52bc9c7b6e | [
"MIT"
] | null | null | null | # $ python embed.py
from ctypes import cdll
lib = cdll.LoadLibrary("../target/release/libembed.dylib") #=> for Mac
#lib = cdll.LoadLibrary("../target/release/libembed.so") #=> for Linux
lib.process()
print("done!")
| 19.909091 | 70 | 0.689498 | 29 | 219 | 5.206897 | 0.689655 | 0.092715 | 0.238411 | 0.317881 | 0.516556 | 0.516556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118721 | 219 | 10 | 71 | 21.9 | 0.782383 | 0.43379 | 0 | 0 | 0 | 0 | 0.310924 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a58933890bb698e85d3cfefe359ee1effd69d83 | 1,050 | py | Python | models/node.py | AlonsoReyes/t-intersection-graph | 68bab234cd6e334edcec27bfee3e019f08997945 | [
"MIT"
] | null | null | null | models/node.py | AlonsoReyes/t-intersection-graph | 68bab234cd6e334edcec27bfee3e019f08997945 | [
"MIT"
] | null | null | null | models/node.py | AlonsoReyes/t-intersection-graph | 68bab234cd6e334edcec27bfee3e019f08997945 | [
"MIT"
] | null | null | null |
class Node(object):
def __init__(self, name, follow_list, intention, lane):
self.name = name
self.follow_list = follow_list
self.intention = intention
self.lane = lane
def __eq__(self, other):
if isinstance(other, Node):
if self.name == other.get... | 26.25 | 99 | 0.591429 | 129 | 1,050 | 4.573643 | 0.162791 | 0.186441 | 0.118644 | 0.067797 | 0.122034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.320952 | 1,050 | 39 | 100 | 26.923077 | 0.827489 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.142857 | 0.607143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0a5f2c5e88f319fb43560833894661a1abbe9435 | 1,934 | py | Python | pcat2py/class/20bdcef0-5cc5-11e4-af55-00155d01fe08.py | phnomcobra/PCAT2PY | 937c3b365cdc5ac69b78f59070be0a21bdb53db0 | [
"MIT"
] | null | null | null | pcat2py/class/20bdcef0-5cc5-11e4-af55-00155d01fe08.py | phnomcobra/PCAT2PY | 937c3b365cdc5ac69b78f59070be0a21bdb53db0 | [
"MIT"
] | null | null | null | pcat2py/class/20bdcef0-5cc5-11e4-af55-00155d01fe08.py | phnomcobra/PCAT2PY | 937c3b365cdc5ac69b78f59070be0a21bdb53db0 | [
"MIT"
] | null | null | null | #!/usr/bin/python
################################################################################
# 20bdcef0-5cc5-11e4-af55-00155d01fe08
#
# Justin Dierking
# justindierking@hardbitsolutions.com
# phnomcobra@gmail.com
#
# 10/24/2014 Original Construction
################################################################... | 46.047619 | 320 | 0.682006 | 196 | 1,934 | 6.637755 | 0.397959 | 0.176787 | 0.230592 | 0.156802 | 0.635665 | 0.586472 | 0.586472 | 0.586472 | 0.513451 | 0.387394 | 0 | 0.027496 | 0.134953 | 1,934 | 41 | 321 | 47.170732 | 0.750149 | 0.122027 | 0 | 0.105263 | 0 | 0.105263 | 0.591088 | 0.484273 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a7052f7029ee061d74d603abefe9574ef7b3461 | 114 | py | Python | DLA/__main__.py | StanczakDominik/DLA | bf63592a5ac96ffef639e7a0c80d7d52ff776322 | [
"MIT"
] | null | null | null | DLA/__main__.py | StanczakDominik/DLA | bf63592a5ac96ffef639e7a0c80d7d52ff776322 | [
"MIT"
] | null | null | null | DLA/__main__.py | StanczakDominik/DLA | bf63592a5ac96ffef639e7a0c80d7d52ff776322 | [
"MIT"
] | null | null | null | from DLA import main_single
d = main_single(1, gotosize=[1e4, 5e4])
d.plot_particles()
d.plot_mass_distribution()
| 22.8 | 39 | 0.780702 | 19 | 114 | 4.421053 | 0.736842 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048544 | 0.096491 | 114 | 4 | 40 | 28.5 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
6a5f51cf2ae3a67fb99172b7bd4214f43d0d42bc | 269 | py | Python | python/ordenacao.py | valdirsjr/learning.data | a4b72dfd27f55f2f04120644b73232bf343f71e3 | [
"MIT"
] | null | null | null | python/ordenacao.py | valdirsjr/learning.data | a4b72dfd27f55f2f04120644b73232bf343f71e3 | [
"MIT"
] | null | null | null | python/ordenacao.py | valdirsjr/learning.data | a4b72dfd27f55f2f04120644b73232bf343f71e3 | [
"MIT"
] | null | null | null | numero1 = int(input("Digite o primeiro número: "))
numero2 = int(input("Digite o segundo número: "))
numero3 = int(input("Digite o terceiro número: "))
if (numero1 < numero2 and numero2 < numero3):
print("crescente")
else:
print("não está em ordem crescente") | 38.428571 | 50 | 0.69145 | 36 | 269 | 5.166667 | 0.555556 | 0.129032 | 0.225806 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.167286 | 269 | 7 | 51 | 38.428571 | 0.799107 | 0 | 0 | 0 | 0 | 0 | 0.418519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a60999063f76386f01b79b85ecc655ec0929c57 | 25,232 | py | Python | csld/phonon/head.py | jsyony37/csld | b0e6d5845d807174f24ca7b591bc164c608c99c8 | [
"MIT"
] | null | null | null | csld/phonon/head.py | jsyony37/csld | b0e6d5845d807174f24ca7b591bc164c608c99c8 | [
"MIT"
] | null | null | null | csld/phonon/head.py | jsyony37/csld | b0e6d5845d807174f24ca7b591bc164c608c99c8 | [
"MIT"
] | null | null | null | # to include all module here in order to cite
from numpy import *
from numpy.linalg import *
import string
import os
import scipy
import scipy.sparse
#import rwposcar
#import anaxdat
import math
#define touch file
def touch(file):#input string
if os.path.isfile(file):
os.system(str("rm"+" "+file))
... | 65.537662 | 12,884 | 0.507411 | 5,174 | 25,232 | 2.474295 | 0.128334 | 0.038432 | 0.03187 | 0.021872 | 0.645837 | 0.383065 | 0.345649 | 0.280191 | 0.259959 | 0.153648 | 0 | 0.372021 | 0.214965 | 25,232 | 384 | 12,885 | 65.708333 | 0.274283 | 0.044031 | 0 | 0.452229 | 0 | 0 | 0.029573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070064 | false | 0 | 0.022293 | 0 | 0.130573 | 0.095541 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a7d44f1e562967fd6fedbdfc2867ad65df6f217 | 2,163 | py | Python | yekpay/migrations/0014_auto_20181120_1453.py | maryam-afzp/django-yekpay | f7b9d7914035ea4f27238eba9e0c70227cc65046 | [
"MIT"
] | 3 | 2020-05-17T18:33:22.000Z | 2021-12-06T08:31:42.000Z | yekpay/migrations/0014_auto_20181120_1453.py | Glyphack/django-yekpay | 8c4a44853207be4ff0b1711c0524fb0201859b19 | [
"MIT"
] | null | null | null | yekpay/migrations/0014_auto_20181120_1453.py | Glyphack/django-yekpay | 8c4a44853207be4ff0b1711c0524fb0201859b19 | [
"MIT"
] | 4 | 2019-11-14T14:16:49.000Z | 2021-12-06T08:31:44.000Z | # Generated by Django 2.0.9 on 2018-11-20 11:23
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('yekpay', '0013_auto_2018... | 30.041667 | 121 | 0.57374 | 192 | 2,163 | 6.208333 | 0.369792 | 0.083054 | 0.184564 | 0.22651 | 0.446309 | 0.446309 | 0.375839 | 0.174497 | 0 | 0 | 0 | 0.02116 | 0.3227 | 2,163 | 71 | 122 | 30.464789 | 0.792491 | 0.020804 | 0 | 0.507692 | 1 | 0 | 0.186673 | 0.01087 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046154 | 0 | 0.092308 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a8199a221f44d9fef4df3ccc6d623b0243a377c | 1,058 | py | Python | tests/dummies.py | arvindmuralie77/gradsflow | d6ec5bc517dcf714cd4ecb91a7f702dce6bded3f | [
"Apache-2.0"
] | 253 | 2021-08-17T17:42:25.000Z | 2022-03-25T07:59:41.000Z | tests/dummies.py | arvindmuralie77/gradsflow | d6ec5bc517dcf714cd4ecb91a7f702dce6bded3f | [
"Apache-2.0"
] | 161 | 2021-08-17T16:28:08.000Z | 2022-03-27T02:36:45.000Z | tests/dummies.py | arvindmuralie77/gradsflow | d6ec5bc517dcf714cd4ecb91a7f702dce6bded3f | [
"Apache-2.0"
] | 35 | 2021-08-23T16:26:15.000Z | 2022-03-26T17:08:15.000Z | # Copyright (c) 2021 GradsFlow. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | 32.060606 | 75 | 0.697543 | 151 | 1,058 | 4.807947 | 0.615894 | 0.082645 | 0.035813 | 0.044077 | 0.146006 | 0.146006 | 0.146006 | 0.146006 | 0.146006 | 0.146006 | 0 | 0.016568 | 0.201323 | 1,058 | 32 | 76 | 33.0625 | 0.842604 | 0.548204 | 0 | 0.166667 | 0 | 0 | 0.082073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.25 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6a8c272cd22c6193695ebfa5fa34ff4d88d4565d | 579 | py | Python | src/solutions/part2/q104_max_bi_tree_depth.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | src/solutions/part2/q104_max_bi_tree_depth.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | src/solutions/part2/q104_max_bi_tree_depth.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | from src.base.solution import Solution
from src.tests.part2.q104_test_max_bi_tree_depth import MaxBiTreeDepthTestCases
class MaxBiTreeDepth(Solution):
def gen_test_cases(self):
return MaxBiTreeDepthTestCases()
def run_test(self, input):
return self.maxDepth(input)
def maxDepth(self, root... | 23.16 | 79 | 0.661485 | 70 | 579 | 5.228571 | 0.542857 | 0.098361 | 0.087432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0.238342 | 579 | 25 | 80 | 23.16 | 0.816327 | 0.055268 | 0 | 0 | 0 | 0 | 0.015504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6a921ec9df90e9d0bc4821cbf3d19c03f4f29792 | 1,882 | py | Python | scripts/common/frozendict.py | bopopescu/build | 4e95fd33456e552bfaf7d94f7d04b19273d1c534 | [
"BSD-3-Clause"
] | null | null | null | scripts/common/frozendict.py | bopopescu/build | 4e95fd33456e552bfaf7d94f7d04b19273d1c534 | [
"BSD-3-Clause"
] | null | null | null | scripts/common/frozendict.py | bopopescu/build | 4e95fd33456e552bfaf7d94f7d04b19273d1c534 | [
"BSD-3-Clause"
] | 1 | 2020-07-23T11:05:06.000Z | 2020-07-23T11:05:06.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Implements a frozen dictionary-like object"""
import collections
import copy
import common.memo as memo
class frozendict(collections.Mapping):
"""A f... | 26.507042 | 79 | 0.698193 | 266 | 1,882 | 4.736842 | 0.424812 | 0.044444 | 0.047619 | 0.019048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002653 | 0.198725 | 1,882 | 70 | 80 | 26.885714 | 0.832891 | 0.435175 | 0 | 0.058824 | 0 | 0 | 0.005988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.382353 | false | 0 | 0.088235 | 0.294118 | 0.852941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6aab26683b9b2a063b1ca8928d6b0655775e0f6b | 86,132 | py | Python | model/entity_quotes.py | tkuculo/QuoteKG | a7b7d323679624a9cd3805e866028fad0a5a5408 | [
"MIT"
] | null | null | null | model/entity_quotes.py | tkuculo/QuoteKG | a7b7d323679624a9cd3805e866028fad0a5a5408 | [
"MIT"
] | null | null | null | model/entity_quotes.py | tkuculo/QuoteKG | a7b7d323679624a9cd3805e866028fad0a5a5408 | [
"MIT"
] | null | null | null | #main_section > lines > line > text
#main_section > lines > line > sub_line > text
#main_section > sub_sections
#main_section > templates > type
#main_section > templates > empty_values
#main_section > templates > values
#main_section > templates > sub_templates
#main_section > title > line > text
from transformers.mod... | 337.772549 | 1,878 | 0.652603 | 12,537 | 86,132 | 4.613065 | 0.282683 | 0.002594 | 0.013141 | 0.002282 | 0.184649 | 0.164471 | 0.154459 | 0.144984 | 0.13518 | 0.125999 | 0 | 0.000253 | 0.127757 | 86,132 | 254 | 1,879 | 339.102362 | 0.745701 | 0.005074 | 0 | 0.202643 | 0 | 0.030837 | 0.688585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026432 | false | 0 | 0.013216 | 0 | 0.057269 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ab43a62d7fe9c3851fb93216f017948e9264012 | 4,665 | py | Python | vagrant/optraj.istic.univ-rennes1.fr/src/system/Assignment.py | gpierre42/optraj | 53beb81c669093b866a786f2c1df9c663bbd7224 | [
"Apache-2.0"
] | null | null | null | vagrant/optraj.istic.univ-rennes1.fr/src/system/Assignment.py | gpierre42/optraj | 53beb81c669093b866a786f2c1df9c663bbd7224 | [
"Apache-2.0"
] | null | null | null | vagrant/optraj.istic.univ-rennes1.fr/src/system/Assignment.py | gpierre42/optraj | 53beb81c669093b866a786f2c1df9c663bbd7224 | [
"Apache-2.0"
] | null | null | null | # coding=utf8
'''
Created on 29 Oct 2013
@author: Nicolas Poirey
'''
from Worker import Worker
from Phase import Phase
class Assignment(object):
'''
Classe Assignment définissant une affectation
attributs publics :
- num : l'id de l'affectation (int)
- worker : l'ouvrier de l'affectation (Wor... | 34.555556 | 1,463 | 0.520043 | 499 | 4,665 | 4.649299 | 0.304609 | 0.023707 | 0.030172 | 0.032328 | 0.197845 | 0.167672 | 0.123707 | 0.123707 | 0.123707 | 0.123707 | 0 | 0.032012 | 0.296892 | 4,665 | 134 | 1,464 | 34.813433 | 0.675305 | 0.552412 | 0 | 0.078947 | 0 | 0.026316 | 0.073407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.289474 | false | 0 | 0.052632 | 0 | 0.552632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6abef106632056c480a54511ff7725bfc1193a55 | 4,116 | py | Python | scripts/automation/trex_control_plane/interactive/trex/examples/stl/ndr_plugin.py | timgates42/trex-core | efe94752fcb2d0734c83d4877afe92a3dbf8eccd | [
"Apache-2.0"
] | 956 | 2015-06-24T15:04:55.000Z | 2022-03-30T06:25:04.000Z | scripts/automation/trex_control_plane/interactive/trex/examples/stl/ndr_plugin.py | angelyouyou/trex-core | fddf78584cae285d9298ef23f9f5c8725e16911e | [
"Apache-2.0"
] | 782 | 2015-09-20T15:19:00.000Z | 2022-03-31T23:52:05.000Z | scripts/automation/trex_control_plane/interactive/trex/examples/stl/ndr_plugin.py | angelyouyou/trex-core | fddf78584cae285d9298ef23f9f5c8725e16911e | [
"Apache-2.0"
] | 429 | 2015-06-27T19:34:21.000Z | 2022-03-23T11:02:51.000Z | import stl_path
class MyNDRPlugin():
def __init__(self):
pass
def pre_iteration(self, finding_max_rate, run_results=None, **kwargs):
""" Function ran before each iteration.
:parameters:
finding_max_rate: boolean
Indicates whether we are running ... | 35.482759 | 196 | 0.557337 | 486 | 4,116 | 4.58642 | 0.292181 | 0.017945 | 0.025123 | 0.052041 | 0.71153 | 0.71153 | 0.679228 | 0.64603 | 0.608345 | 0.57694 | 0 | 0.003259 | 0.403547 | 4,116 | 116 | 197 | 35.482759 | 0.904684 | 0.749028 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.181818 | 0.090909 | 0.090909 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6ac6979dc72c67c44ef423ebf8b3a34cc0b6d4cc | 539 | py | Python | gva/data/validator/is_valid_enum.py | gva-jjoyce/gva_data | cda990d0abb4b175025aaf16e75192bd9cc213af | [
"Apache-2.0"
] | null | null | null | gva/data/validator/is_valid_enum.py | gva-jjoyce/gva_data | cda990d0abb4b175025aaf16e75192bd9cc213af | [
"Apache-2.0"
] | 24 | 2020-12-24T12:21:42.000Z | 2021-01-28T14:22:38.000Z | gva/data/validator/is_valid_enum.py | gva-jjoyce/gva_data | cda990d0abb4b175025aaf16e75192bd9cc213af | [
"Apache-2.0"
] | null | null | null | """
Enumerator Test
"""
from typing import Any
class is_valid_enum():
"""
Test if a variable is on a list of valid values
"""
__slots__ = ('symbols')
def __init__(self, **kwargs):
"""
-> "type": "enum", "symbols": ["up", "down"]
symbols: list of allowed values (case sensit... | 22.458333 | 56 | 0.569573 | 65 | 539 | 4.446154 | 0.584615 | 0.103806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283859 | 539 | 24 | 57 | 22.458333 | 0.748705 | 0.293135 | 0 | 0 | 0 | 0 | 0.10061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6ac89300a5b9e4ad6f97864631998446abb69eb0 | 313 | py | Python | proto_3/ddq/topics/logics/topic.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | null | null | null | proto_3/ddq/topics/logics/topic.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | 6 | 2021-03-19T12:06:56.000Z | 2022-03-12T00:23:09.000Z | proto_3/ddq/topics/logics/topic.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | null | null | null | from typing import List
from ddq.taxonomy.reference import Reference
from ddq.topics.topic import Topic
class Logic(Topic):
def references(self) -> List[Reference]:
return [
Reference("Classical and Nonclassical Logics",
[("Eric", "Schechter")])
]
| 26.083333 | 59 | 0.610224 | 32 | 313 | 5.96875 | 0.65625 | 0.073298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29393 | 313 | 12 | 60 | 26.083333 | 0.864253 | 0 | 0 | 0 | 0 | 0 | 0.146497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
6ad38265801ddbc75fcce3bfaba00694854f353b | 690 | py | Python | PyGame/pygame1/tutorial1/startercode.py | hoppfull/Legacy-Python | 43f465bfdb76c91f2ac16aabb0783fdf5f459adb | [
"MIT"
] | null | null | null | PyGame/pygame1/tutorial1/startercode.py | hoppfull/Legacy-Python | 43f465bfdb76c91f2ac16aabb0783fdf5f459adb | [
"MIT"
] | null | null | null | PyGame/pygame1/tutorial1/startercode.py | hoppfull/Legacy-Python | 43f465bfdb76c91f2ac16aabb0783fdf5f459adb | [
"MIT"
] | null | null | null | from pygamehelper import *
from pygame import *
from pygame.locals import *
from vec2d import *
from random import uniform
import numpy as np
class Starter(PygameHelper):
def __init__(self):
self.w, self.h = 800, 600
PygameHelper.__init__(self, size=(self.w, self.h), fill=((0,0,0)))
d... | 22.258065 | 98 | 0.588406 | 90 | 690 | 4.422222 | 0.433333 | 0.100503 | 0.105528 | 0.128141 | 0.128141 | 0.128141 | 0.128141 | 0.128141 | 0 | 0 | 0 | 0.042857 | 0.289855 | 690 | 30 | 99 | 23 | 0.769388 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0.272727 | 0 | 0.590909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0a750b96f7d83d3d539bea6b3d201533cd437b4f | 832 | py | Python | redirink/insights/tests/test_models.py | Egor4ik325/redirink | 17ef85f48145ee6112f2fcbab60dcd9d65ba78bf | [
"MIT"
] | null | null | null | redirink/insights/tests/test_models.py | Egor4ik325/redirink | 17ef85f48145ee6112f2fcbab60dcd9d65ba78bf | [
"MIT"
] | null | null | null | redirink/insights/tests/test_models.py | Egor4ik325/redirink | 17ef85f48145ee6112f2fcbab60dcd9d65ba78bf | [
"MIT"
] | 1 | 2021-12-31T00:46:31.000Z | 2021-12-31T00:46:31.000Z | """Test insight model is working the way it should."""
import pytest
from django.core.exceptions import ValidationError
from django.db import DataError
from .factories import InsightFactory
pytestmark = pytest.mark.django_db
def test_create_new_fake_visitor_instance_using_factory(visitor):
pass
def test_creat... | 23.111111 | 65 | 0.796875 | 114 | 832 | 5.482456 | 0.464912 | 0.0672 | 0.0416 | 0.0512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002782 | 0.135817 | 832 | 35 | 66 | 23.771429 | 0.866481 | 0.098558 | 0 | 0.105263 | 0 | 0 | 0.013441 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.315789 | false | 0.105263 | 0.210526 | 0 | 0.526316 | 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 | 0 | 1 | 0 | 0 | 3 |
0a78179deb3bba9140ba6fad7537f792839802d1 | 826 | py | Python | compyle/api.py | nauaneed/compyle | 218c76de8aa684e1fb198072e40cb97a5e6845b3 | [
"BSD-3-Clause"
] | null | null | null | compyle/api.py | nauaneed/compyle | 218c76de8aa684e1fb198072e40cb97a5e6845b3 | [
"BSD-3-Clause"
] | null | null | null | compyle/api.py | nauaneed/compyle | 218c76de8aa684e1fb198072e40cb97a5e6845b3 | [
"BSD-3-Clause"
] | null | null | null | from .array import Array, wrap
from .ast_utils import (get_symbols, get_assigned,
get_unknown_names_and_calls, has_return, has_node)
from .config import get_config, set_config, use_config, Config
from .cython_generator import (
CythonGenerator, get_func_definition
)
from .ext_module import E... | 34.416667 | 77 | 0.77724 | 103 | 826 | 5.980583 | 0.553398 | 0.043831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002886 | 0.161017 | 826 | 23 | 78 | 35.913043 | 0.886003 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.521739 | 0 | 0.521739 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0a8392531b265c3630ab7efd862cf9bb543e8116 | 126 | py | Python | py_tdlib/constructors/get_chat_member.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/get_chat_member.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/get_chat_member.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Method
class getChatMember(Method):
chat_id = None # type: "int53"
user_id = None # type: "int32"
| 18 | 32 | 0.690476 | 17 | 126 | 5 | 0.764706 | 0.141176 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.190476 | 126 | 6 | 33 | 21 | 0.794118 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a8510d776fffba4b52eff1b8a24d1b7d723d4dd | 1,836 | py | Python | ooobuild/csslo/xml/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/csslo/xml/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/csslo/xml/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2022 :Barry-Thomas-Paul: Moss
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http: // www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | 57.375 | 130 | 0.827887 | 242 | 1,836 | 6.169421 | 0.417355 | 0.060281 | 0.090422 | 0.036169 | 0.091762 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007317 | 0.106754 | 1,836 | 31 | 131 | 59.225806 | 0.903049 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0a91aa29e60075c1d841a9fa42cfbeabf426976a | 2,225 | py | Python | timm/models/layers/__init__.py | kkahatapitiya/pytorch-image-models | 94f9d54ac22354f3cf7ada9a7304ac97143deb14 | [
"Apache-2.0"
] | null | null | null | timm/models/layers/__init__.py | kkahatapitiya/pytorch-image-models | 94f9d54ac22354f3cf7ada9a7304ac97143deb14 | [
"Apache-2.0"
] | null | null | null | timm/models/layers/__init__.py | kkahatapitiya/pytorch-image-models | 94f9d54ac22354f3cf7ada9a7304ac97143deb14 | [
"Apache-2.0"
] | null | null | null | from .activations import *
from .adaptive_avgmax_pool import \
adaptive_avgmax_pool2d, select_adaptive_pool2d, AdaptiveAvgMaxPool2d, SelectAdaptivePool2d
from .blur_pool import BlurPool2d
from .classifier import ClassifierHead, create_classifier
from .cond_conv2d import CondConv2d, get_condconv_initializer
from .co... | 54.268293 | 105 | 0.865169 | 288 | 2,225 | 6.368056 | 0.447917 | 0.019084 | 0.008724 | 0.015267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016377 | 0.094382 | 2,225 | 40 | 106 | 55.625 | 0.893797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.95 | 0 | 0.95 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0a94bf94b86f2d0bf5c868fffdac3fa72c685955 | 19,040 | py | Python | cfgov/ask_cfpb/tests/test_views.py | atuggle/cfgov-refresh | 5a9cfd92b460b9be7befb39f5845abf56857aeac | [
"CC0-1.0"
] | null | null | null | cfgov/ask_cfpb/tests/test_views.py | atuggle/cfgov-refresh | 5a9cfd92b460b9be7befb39f5845abf56857aeac | [
"CC0-1.0"
] | 1 | 2016-09-14T21:11:19.000Z | 2016-09-14T21:11:19.000Z | cfgov/ask_cfpb/tests/test_views.py | atuggle/cfgov-refresh | 5a9cfd92b460b9be7befb39f5845abf56857aeac | [
"CC0-1.0"
] | null | null | null | from __future__ import unicode_literals
import json
from django.apps import apps
from django.core.urlresolvers import NoReverseMatch, reverse
from django.http import Http404, HttpRequest, QueryDict
from django.test import TestCase, override_settings
from django.utils import timezone
from wagtail.wagtailcore.models i... | 37.628458 | 76 | 0.624475 | 2,101 | 19,040 | 5.383627 | 0.099952 | 0.05835 | 0.018036 | 0.019892 | 0.778888 | 0.736893 | 0.708956 | 0.688799 | 0.668376 | 0.636902 | 0 | 0.006301 | 0.266439 | 19,040 | 505 | 77 | 37.70297 | 0.803537 | 0 | 0 | 0.634146 | 0 | 0.004435 | 0.163603 | 0.07584 | 0 | 0 | 0 | 0 | 0.121951 | 1 | 0.068736 | false | 0.004435 | 0.04878 | 0 | 0.124169 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a96db7bc8255b1b1b651c9085fc3a06e4243461 | 1,753 | py | Python | mmtbx/regression/tls/tst_u_tls_vs_u_ens_03.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | mmtbx/regression/tls/tst_u_tls_vs_u_ens_03.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | mmtbx/regression/tls/tst_u_tls_vs_u_ens_03.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import division
from mmtbx.tls import tools
import math
import time
pdb_str_1 = """
CRYST1 10.000 10.000 10.000 90.00 90.00 90.00 P1
ATOM 1 CA THR A 6 0.000 0.000 0.000 1.00 0.00 C
ATOM 1 CA THR B 6 3.000 0.000 0.000 1.00 0.00 C
"""... | 34.372549 | 79 | 0.498003 | 369 | 1,753 | 2.257453 | 0.157182 | 0.086435 | 0.10084 | 0.096038 | 0.618247 | 0.617047 | 0.617047 | 0.617047 | 0.57623 | 0.57623 | 0 | 0.309359 | 0.3417 | 1,753 | 50 | 80 | 35.06 | 0.412478 | 0 | 0 | 0.272727 | 0 | 0.181818 | 0.507131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.068182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0aa458014e027a9ad777515ef9c0b45d42da4384 | 93 | py | Python | archiveis/__init__.py | palewire/archiveis | 11b2f1a4be4e7fbdcd52d874733cf20bc2d4f480 | [
"MIT"
] | 6 | 2021-11-09T11:00:56.000Z | 2022-01-14T03:44:52.000Z | archiveis/__init__.py | palewire/archiveis | 11b2f1a4be4e7fbdcd52d874733cf20bc2d4f480 | [
"MIT"
] | 4 | 2022-03-28T23:39:23.000Z | 2022-03-28T23:39:24.000Z | archiveis/__init__.py | palewire/archiveis | 11b2f1a4be4e7fbdcd52d874733cf20bc2d4f480 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .api import capture
__version__ = "0.0.7"
__all__ = ("capture",)
| 15.5 | 24 | 0.677419 | 14 | 93 | 3.928571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.139785 | 93 | 5 | 25 | 18.6 | 0.65 | 0.215054 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0aa514fa3ff45ce4defbd248dad8a995955378b1 | 188 | py | Python | edmundbotadder/cogs/webhook.py | thebeanogamer/edmund-botadder | 91e71ce572f3206b99e1f7a68d40bc37b947daf5 | [
"MIT"
] | null | null | null | edmundbotadder/cogs/webhook.py | thebeanogamer/edmund-botadder | 91e71ce572f3206b99e1f7a68d40bc37b947daf5 | [
"MIT"
] | null | null | null | edmundbotadder/cogs/webhook.py | thebeanogamer/edmund-botadder | 91e71ce572f3206b99e1f7a68d40bc37b947daf5 | [
"MIT"
] | null | null | null | from discord.ext.commands import Bot, Cog
class Webhook(Cog):
"""
Webhook functionality
"""
def __init__(self, bot: Bot):
self.bot = bot
def setup(bot):
bot.add_cog(Webhook(bot)) | 15.666667 | 41 | 0.696809 | 28 | 188 | 4.5 | 0.535714 | 0.142857 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 188 | 12 | 42 | 15.666667 | 0.797468 | 0.111702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0ab73f13b7fac0bb315926410cb3d00950f04053 | 114 | py | Python | classes/settings.py | johnyburd/glucometer | 075a48cff38e0570960fc2b8968bcb8b5ddd647f | [
"MIT"
] | 12 | 2016-11-02T09:15:32.000Z | 2021-04-08T18:42:01.000Z | classes/settings.py | johnyburd/glucometer | 075a48cff38e0570960fc2b8968bcb8b5ddd647f | [
"MIT"
] | null | null | null | classes/settings.py | johnyburd/glucometer | 075a48cff38e0570960fc2b8968bcb8b5ddd647f | [
"MIT"
] | 3 | 2018-10-18T15:59:57.000Z | 2021-01-20T21:03:48.000Z | def init():
global brightness
global calibration_mode
brightness = 500
calibration_mode = False
| 14.25 | 28 | 0.692982 | 12 | 114 | 6.416667 | 0.666667 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.263158 | 114 | 7 | 29 | 16.285714 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0abdfc5e117d17fbbf96aa6e5e9c1b706bacee2c | 95 | py | Python | interface/app/__init__.py | caglorithm/accel | 7fe5c13ea9559565c599633bdb3318c8fbc57088 | [
"MIT"
] | 31 | 2019-12-07T01:27:19.000Z | 2021-12-19T08:12:18.000Z | interface/app/__init__.py | caglorithm/accel | 7fe5c13ea9559565c599633bdb3318c8fbc57088 | [
"MIT"
] | null | null | null | interface/app/__init__.py | caglorithm/accel | 7fe5c13ea9559565c599633bdb3318c8fbc57088 | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__, static_folder='static')
from app import routes
| 15.833333 | 45 | 0.778947 | 14 | 95 | 4.928571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 5 | 46 | 19 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 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 | 0 | 0 | 0 | 3 |
0ac44ba5690cb44ecf9e208ad61f69b8762610fd | 634 | py | Python | tools/leetcode.112.Path Sum/leetcode.112.Path Sum.submission10.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | 4 | 2015-10-10T00:30:55.000Z | 2020-07-27T19:45:54.000Z | tools/leetcode.112.Path Sum/leetcode.112.Path Sum.submission10.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | tools/leetcode.112.Path Sum/leetcode.112.Path Sum.submission10.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | # Definition for a binary tree node.
# class TreeNode:
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution:
# @param {TreeNode} root
# @param {integer} sum
# @return {boolean}
def hasPathSum(self, root, sum):
if not root: ret... | 634 | 634 | 0.545741 | 83 | 634 | 4.120482 | 0.373494 | 0.061404 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.351735 | 634 | 1 | 634 | 634 | 0.832117 | 0.970032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0acd83639363e1e8109b480a9d0f9a0898831b8f | 54,720 | py | Python | tests/python/relay/test_op_level2.py | ravikumarvc/incubator-tvm | 9826947ffce0ed40e9d47a0db2abb033e394279e | [
"Apache-2.0"
] | 3 | 2021-02-23T22:06:01.000Z | 2021-09-30T09:59:17.000Z | tests/python/relay/test_op_level2.py | ravikumarvc/incubator-tvm | 9826947ffce0ed40e9d47a0db2abb033e394279e | [
"Apache-2.0"
] | 4 | 2021-03-30T11:59:59.000Z | 2022-03-12T00:40:23.000Z | tests/python/relay/test_op_level2.py | ravikumarvc/incubator-tvm | 9826947ffce0ed40e9d47a0db2abb033e394279e | [
"Apache-2.0"
] | 3 | 2021-07-20T07:40:15.000Z | 2021-08-03T08:39:17.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 43.052714 | 101 | 0.564126 | 7,620 | 54,720 | 3.899344 | 0.068766 | 0.019789 | 0.017871 | 0.019857 | 0.760374 | 0.72682 | 0.703396 | 0.686972 | 0.665803 | 0.645475 | 0 | 0.058336 | 0.286056 | 54,720 | 1,270 | 102 | 43.086614 | 0.70223 | 0.053162 | 0 | 0.574004 | 0 | 0.003795 | 0.049316 | 0.000967 | 0 | 0 | 0 | 0 | 0.085389 | 1 | 0.047438 | false | 0 | 0.00759 | 0 | 0.065465 | 0.000949 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 3 |
0ad33111935325f80d27dfada02fe97074254f24 | 2,206 | py | Python | qf_lib/containers/futures/future_contract.py | webclinic017/qf-lib | 96463876719bba8a76c8269cef76addf3a2d836d | [
"Apache-2.0"
] | 198 | 2019-08-16T15:09:23.000Z | 2022-03-30T12:44:00.000Z | qf_lib/containers/futures/future_contract.py | webclinic017/qf-lib | 96463876719bba8a76c8269cef76addf3a2d836d | [
"Apache-2.0"
] | 13 | 2021-01-07T10:15:19.000Z | 2022-03-29T13:01:47.000Z | qf_lib/containers/futures/future_contract.py | webclinic017/qf-lib | 96463876719bba8a76c8269cef76addf3a2d836d | [
"Apache-2.0"
] | 29 | 2019-08-16T15:21:28.000Z | 2022-02-23T09:53:49.000Z | # Copyright 2016-present CERN – European Organization for Nuclear Research
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2... | 38.701754 | 118 | 0.704442 | 287 | 2,206 | 5.324042 | 0.466899 | 0.036649 | 0.034031 | 0.044503 | 0.051702 | 0.037958 | 0.037958 | 0 | 0 | 0 | 0 | 0.005851 | 0.225295 | 2,206 | 56 | 119 | 39.392857 | 0.887654 | 0.582956 | 0 | 0 | 0 | 0 | 0.048349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.105263 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0ae277577c0d9cf0180a37747d11d8dcd292baa5 | 57 | py | Python | player.py | Drayux/Battlematus | 1709a15b58d9274b99ec36eff1a181014d155037 | [
"MIT"
] | null | null | null | player.py | Drayux/Battlematus | 1709a15b58d9274b99ec36eff1a181014d155037 | [
"MIT"
] | null | null | null | player.py | Drayux/Battlematus | 1709a15b58d9274b99ec36eff1a181014d155037 | [
"MIT"
] | null | null | null | # PLAYER
class player:
def __init__(self):
| 9.5 | 23 | 0.561404 | 6 | 57 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.350877 | 57 | 5 | 24 | 11.4 | 0.756757 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
0ae3d125da916faaaf9490284cbbfda3ebc0f150 | 1,735 | py | Python | soupy/approximations/taylor/backup/__init__.py | cpempire/soupy | 9f65e3329fa126619c893daa4cd80478d83f840c | [
"MIT"
] | 1 | 2021-12-07T15:22:23.000Z | 2021-12-07T15:22:23.000Z | soupy/approximations/taylor/backup/__init__.py | cpempire/soupy | 9f65e3329fa126619c893daa4cd80478d83f840c | [
"MIT"
] | null | null | null | soupy/approximations/taylor/backup/__init__.py | cpempire/soupy | 9f65e3329fa126619c893daa4cd80478d83f840c | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function
from .controlPDEProblem import ControlPDEProblem
from .controlPDEProblemMultiPDE import ControlPDEProblemMultiPDE
from .costFunctionalConstant import CostFunctionalConstant
from .costFunctionalConstantMultiPDE import CostFunctionalConstantMultiPDE
from .... | 42.317073 | 93 | 0.821326 | 200 | 1,735 | 7.09 | 0.545 | 0.019746 | 0.011284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.131412 | 1,735 | 41 | 94 | 42.317073 | 0.926344 | 0.630548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0afd820091335019ca4a87a89952513413136cc0 | 69 | py | Python | src/metarl/tf/plotter/__init__.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | 2 | 2020-03-15T14:35:15.000Z | 2021-02-15T16:38:00.000Z | src/metarl/tf/plotter/__init__.py | neurips2020submission11699/metarl | ae4825d21478fa1fd0aa6b116941ea40caa152a5 | [
"MIT"
] | null | null | null | src/metarl/tf/plotter/__init__.py | neurips2020submission11699/metarl | ae4825d21478fa1fd0aa6b116941ea40caa152a5 | [
"MIT"
] | 1 | 2020-02-24T03:04:23.000Z | 2020-02-24T03:04:23.000Z | from metarl.tf.plotter.plotter import Plotter
__all__ = ['Plotter']
| 17.25 | 45 | 0.768116 | 9 | 69 | 5.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 3 | 46 | 23 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7c159cac6567c00ed5a82a064ec8c65b30f68447 | 1,595 | py | Python | economist/migrations/0003_auto_20170406_1402.py | xingjianpan/news_reader_backend | c892e157460ef22720bfcbad5a7d2bfe9bcd4aa9 | [
"MIT"
] | 1 | 2017-11-01T02:12:24.000Z | 2017-11-01T02:12:24.000Z | economist/migrations/0003_auto_20170406_1402.py | xingjianpan/news_reader_backend | c892e157460ef22720bfcbad5a7d2bfe9bcd4aa9 | [
"MIT"
] | null | null | null | economist/migrations/0003_auto_20170406_1402.py | xingjianpan/news_reader_backend | c892e157460ef22720bfcbad5a7d2bfe9bcd4aa9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-04-06 06:02
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('economist', '0002_auto_20170406_1153'),
]
operations = [
migrations.AlterFi... | 28.482143 | 58 | 0.552978 | 145 | 1,595 | 5.958621 | 0.358621 | 0.185185 | 0.231481 | 0.268519 | 0.689815 | 0.628472 | 0.582176 | 0.568287 | 0.445602 | 0.445602 | 0 | 0.030812 | 0.328527 | 1,595 | 55 | 59 | 29 | 0.77591 | 0.042633 | 0 | 0.645833 | 1 | 0 | 0.103018 | 0.015092 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c16097e2ba8634058cfc608cf9a3d535fa94016 | 2,051 | py | Python | test/test_ethereum.py | coinplus-sa/coinplus-solo | e4f385a3d9eb7b72e14e397761fd9a113938917a | [
"MIT"
] | 1 | 2018-08-21T06:28:36.000Z | 2018-08-21T06:28:36.000Z | test/test_ethereum.py | coinplus-sa/coinplus-solo | e4f385a3d9eb7b72e14e397761fd9a113938917a | [
"MIT"
] | 1 | 2019-05-30T06:23:41.000Z | 2019-09-03T09:49:06.000Z | test/test_ethereum.py | coinplus-sa/coinplus-solo | e4f385a3d9eb7b72e14e397761fd9a113938917a | [
"MIT"
] | 1 | 2021-06-30T12:36:25.000Z | 2021-06-30T12:36:25.000Z | import unittest
from coinplus_solo_redeem.common import wif_export_bitcoin, compute_public_key_sec256k1, address_from_publickey_ethereum
class TestEthereum(unittest.TestCase):
"""test of the bitcoin conversion from private key to wif"""
def setUp(self):
self.test_add_vector = [("03cb3e5f30245658e1e3615... | 85.458333 | 149 | 0.741589 | 91 | 2,051 | 16.461538 | 0.648352 | 0.014686 | 0.026702 | 0.037383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.406231 | 0.201853 | 2,051 | 23 | 150 | 89.173913 | 0.508858 | 0.026329 | 0 | 0 | 0 | 0 | 0.542441 | 0.542441 | 0 | 0 | 0.210949 | 0 | 0.052632 | 1 | 0.105263 | false | 0 | 0.105263 | 0 | 0.263158 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c1ee1ca0bd0d4b48cc0fd831915fd050efb4c03 | 7,323 | py | Python | clients/kratos/python/test/test_v0alpha1_api.py | kolotaev/sdk | 0dda1becd70be8d7b9d678321ebe780c1ba00485 | [
"Apache-2.0"
] | null | null | null | clients/kratos/python/test/test_v0alpha1_api.py | kolotaev/sdk | 0dda1becd70be8d7b9d678321ebe780c1ba00485 | [
"Apache-2.0"
] | null | null | null | clients/kratos/python/test/test_v0alpha1_api.py | kolotaev/sdk | 0dda1becd70be8d7b9d678321ebe780c1ba00485 | [
"Apache-2.0"
] | null | null | null | """
Ory Kratos API
Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the admini... | 28.944664 | 446 | 0.677455 | 894 | 7,323 | 5.190157 | 0.138702 | 0.123276 | 0.075862 | 0.103448 | 0.721121 | 0.680172 | 0.618319 | 0.541164 | 0.400647 | 0.295905 | 0 | 0.021438 | 0.261095 | 7,323 | 252 | 447 | 29.059524 | 0.836075 | 0.509491 | 0 | 0.445946 | 0 | 0 | 0.002786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.459459 | false | 0.445946 | 0.040541 | 0 | 0.513514 | 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 | 0 | 1 | 0 | 0 | 3 |
7c29df3316dce7638b4588f6021b4bc59ffb4cfc | 151 | py | Python | base3_plus.py | Mhaiyang/iccv | 04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb | [
"MIT"
] | 2 | 2019-01-10T03:44:03.000Z | 2019-05-24T08:50:14.000Z | base3_plus.py | Mhaiyang/iccv | 04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb | [
"MIT"
] | null | null | null | base3_plus.py | Mhaiyang/iccv | 04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb | [
"MIT"
] | null | null | null | """
@Time : 201/21/19 10:47
@Author : TaylorMei
@Email : mhy845879017@gmail.com
@Project : iccv
@File : base3_plus.py
@Function:
""" | 15.1 | 34 | 0.596026 | 19 | 151 | 4.684211 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 0.245033 | 151 | 10 | 35 | 15.1 | 0.596491 | 0.887417 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c2c2ee21f857be97b79a37957d75b5c80b83234 | 421 | py | Python | docker/setup.py | sreynit02/RunestoneServer | 2d72fd1c26264a8d7d88e2bccfe9bfbb4d8b9a98 | [
"MIT"
] | null | null | null | docker/setup.py | sreynit02/RunestoneServer | 2d72fd1c26264a8d7d88e2bccfe9bfbb4d8b9a98 | [
"MIT"
] | null | null | null | docker/setup.py | sreynit02/RunestoneServer | 2d72fd1c26264a8d7d88e2bccfe9bfbb4d8b9a98 | [
"MIT"
] | null | null | null | # ******************************************************************
# |docname| - Provide `docker_tools.py` as the script `docker-tools`
# ******************************************************************
from setuptools import setup
setup(
name="runestone-docker-tools",
version="0.1",
install_requires=[... | 30.071429 | 68 | 0.444181 | 34 | 421 | 5.352941 | 0.735294 | 0.302198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005495 | 0.135392 | 421 | 13 | 69 | 32.384615 | 0.494505 | 0.475059 | 0 | 0 | 0 | 0 | 0.35023 | 0.101382 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c30b20fb26e70f99e3a1516c799910198cc11b1 | 17,421 | py | Python | mango/__init__.py | kronael/mango-explorer | 6292c089c2a3d1ff2cf0b50b815849451a50ec39 | [
"MIT"
] | null | null | null | mango/__init__.py | kronael/mango-explorer | 6292c089c2a3d1ff2cf0b50b815849451a50ec39 | [
"MIT"
] | null | null | null | mango/__init__.py | kronael/mango-explorer | 6292c089c2a3d1ff2cf0b50b815849451a50ec39 | [
"MIT"
] | null | null | null | # In --strict mode, mypy complains about imports unless they're done this way.
#
# It complains 'Module has no attribute ABC' or 'Module "mango" does not explicitly export
# attribute "XYZ"; implicit reexport disabled'. We could dial that back by using the
# --implicit-reexport parameter, but let's keep things strict.
... | 66.747126 | 126 | 0.89306 | 1,901 | 17,421 | 7.996844 | 0.192004 | 0.020984 | 0.027496 | 0.033746 | 0.160242 | 0.064465 | 0.045191 | 0.010854 | 0 | 0 | 0 | 0.002142 | 0.08903 | 17,421 | 260 | 127 | 67.003846 | 0.955766 | 0.03668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.995868 | 0 | 0.995868 | 0.004132 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7c31ff3f832fdd4d6ba0dc485287be931476d8a3 | 1,017 | py | Python | BB/bbObjects/items/bbTurret.py | mwaitzman/GOF2BountyBot | b66026228b752b07ac4734ca74b60730dbd74995 | [
"MIT"
] | null | null | null | BB/bbObjects/items/bbTurret.py | mwaitzman/GOF2BountyBot | b66026228b752b07ac4734ca74b60730dbd74995 | [
"MIT"
] | null | null | null | BB/bbObjects/items/bbTurret.py | mwaitzman/GOF2BountyBot | b66026228b752b07ac4734ca74b60730dbd74995 | [
"MIT"
] | null | null | null | from .bbItem import bbItem
from ...bbConfig import bbData
class bbTurret(bbItem):
dps = 0.0
def __init__(self, name, aliases, dps=0.0, value=0, wiki="", manufacturer="", icon="", emoji=""):
super(bbTurret, self).__init__(name, aliases, value=value, wiki=wiki, manufacturer=manufacturer, icon=icon, emoj... | 36.321429 | 145 | 0.66765 | 118 | 1,017 | 5.686441 | 0.271186 | 0.071535 | 0.09538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006031 | 0.184857 | 1,017 | 27 | 146 | 37.666667 | 0.803378 | 0 | 0 | 0 | 0 | 0 | 0.085546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7c42dc9f24c848eb5660235f34da5faf02dd1e33 | 2,192 | py | Python | signin/tests.py | pptnz/swa_team2 | 253ae83d73c00245d359574d6a16f4eba9830950 | [
"MIT"
] | null | null | null | signin/tests.py | pptnz/swa_team2 | 253ae83d73c00245d359574d6a16f4eba9830950 | [
"MIT"
] | 3 | 2018-06-07T17:18:16.000Z | 2021-06-10T20:19:27.000Z | signin/tests.py | pptnz/swa_team2 | 253ae83d73c00245d359574d6a16f4eba9830950 | [
"MIT"
] | 1 | 2018-06-25T23:52:57.000Z | 2018-06-25T23:52:57.000Z | import json
from django.test import TestCase
from django.contrib.auth.models import User
from .models import CustomUser
from django.apps import apps
from .apps import SigninConfig
class SignInTest(TestCase):
def setUp(self):
self.django_user = User.objects.create_user(username='testusername', password='t... | 39.142857 | 124 | 0.696624 | 252 | 2,192 | 5.876984 | 0.253968 | 0.047265 | 0.097232 | 0.103984 | 0.466577 | 0.411884 | 0.411884 | 0.351114 | 0.180959 | 0.081026 | 0 | 0.006583 | 0.168339 | 2,192 | 55 | 125 | 39.854545 | 0.805815 | 0.010037 | 0 | 0.219512 | 0 | 0 | 0.17297 | 0.012454 | 0 | 0 | 0 | 0.018182 | 0.268293 | 1 | 0.268293 | false | 0.170732 | 0.146341 | 0 | 0.439024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7c44dd7ee7dcb34a8c6b443486c1190c2f8b538a | 707 | py | Python | tree/list/BinaryNode.py | EliHar/BinaryTree-ADT | bf220eb8ccb04f6fee7d7a67ef7e9cd00cc6a4c1 | [
"MIT"
] | null | null | null | tree/list/BinaryNode.py | EliHar/BinaryTree-ADT | bf220eb8ccb04f6fee7d7a67ef7e9cd00cc6a4c1 | [
"MIT"
] | null | null | null | tree/list/BinaryNode.py | EliHar/BinaryTree-ADT | bf220eb8ccb04f6fee7d7a67ef7e9cd00cc6a4c1 | [
"MIT"
] | null | null | null | __author__ = 'Elias Haroun'
class BinaryNode(object):
def __init__(self, data, left, right):
self.data = data
self.left = left
self.right = right
def getData(self):
return self.data
def getLeft(self):
return self.left
def getRight(self):
return self.r... | 19.108108 | 52 | 0.589816 | 87 | 707 | 4.701149 | 0.298851 | 0.146699 | 0.171149 | 0.05868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308345 | 707 | 36 | 53 | 19.638889 | 0.836401 | 0 | 0 | 0.083333 | 0 | 0 | 0.016997 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0.25 | 0.708333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7c5bc0acf118170063960ef1b43392c65c34384f | 1,421 | py | Python | TM1py/Objects/ElementAttribute.py | damirishpreet/TM1py | 8482d0787fd5a9e5eb05a0288c41b75fc1fc93ac | [
"MIT"
] | 19 | 2016-03-04T19:21:40.000Z | 2021-12-10T02:39:51.000Z | TM1py/Objects/ElementAttribute.py | damirishpreet/TM1py | 8482d0787fd5a9e5eb05a0288c41b75fc1fc93ac | [
"MIT"
] | 11 | 2016-08-24T19:27:11.000Z | 2017-07-30T01:10:28.000Z | TM1py/Objects/ElementAttribute.py | damirishpreet/TM1py | 8482d0787fd5a9e5eb05a0288c41b75fc1fc93ac | [
"MIT"
] | 6 | 2016-08-03T19:28:45.000Z | 2017-01-30T12:25:05.000Z | # -*- coding: utf-8 -*-
import json
from TM1py.Objects.TM1Object import TM1Object
class ElementAttribute(TM1Object):
""" Abstraction of TM1 Element Attributes
"""
valid_types = ['NUMERIC', 'STRING', 'ALIAS']
def __init__(self, name, attribute_type):
self.name = name
self.attrib... | 25.375 | 75 | 0.655172 | 171 | 1,421 | 5.157895 | 0.304094 | 0.162132 | 0.102041 | 0.07483 | 0.068027 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.244194 | 1,421 | 55 | 76 | 25.836364 | 0.815642 | 0.049261 | 0 | 0.162162 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0 | 0.054054 | 0.189189 | 0.567568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7c7069a54d49756f83e36923521eba70ab74f6c7 | 139 | py | Python | demo/demo/accounts/urls.py | caravancoop/rest-auth-toolkit | 425bf293987f7128d9538f27a5eca7e47ba84217 | [
"MIT"
] | 1 | 2019-12-23T21:51:06.000Z | 2019-12-23T21:51:06.000Z | demo/demo/accounts/urls.py | caravancoop/rest-framework-auth-toolkit | 425bf293987f7128d9538f27a5eca7e47ba84217 | [
"MIT"
] | 127 | 2017-10-27T15:20:01.000Z | 2022-03-07T04:09:15.000Z | demo/demo/accounts/urls.py | caravancoop/rest-auth-toolkit | 425bf293987f7128d9538f27a5eca7e47ba84217 | [
"MIT"
] | 2 | 2018-01-03T16:22:51.000Z | 2019-12-23T21:51:54.000Z | from django.urls import path
from .views import ProfileView
urlpatterns = [
path('', ProfileView.as_view(), name='user-profile'),
]
| 15.444444 | 57 | 0.705036 | 17 | 139 | 5.705882 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 139 | 8 | 58 | 17.375 | 0.82906 | 0 | 0 | 0 | 0 | 0 | 0.086331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7c872854a67dcbee173ef18681a5116e43865d52 | 53,677 | py | Python | automl/google/cloud/automl_v1beta1/gapic/auto_ml_client.py | erikwebb/google-cloud-python | 288a878e9a07239015c78a193eca1cc15e926127 | [
"Apache-2.0"
] | 1 | 2019-04-16T08:13:06.000Z | 2019-04-16T08:13:06.000Z | automl/google/cloud/automl_v1beta1/gapic/auto_ml_client.py | erikwebb/google-cloud-python | 288a878e9a07239015c78a193eca1cc15e926127 | [
"Apache-2.0"
] | null | null | null | automl/google/cloud/automl_v1beta1/gapic/auto_ml_client.py | erikwebb/google-cloud-python | 288a878e9a07239015c78a193eca1cc15e926127 | [
"Apache-2.0"
] | 1 | 2020-11-15T11:44:36.000Z | 2020-11-15T11:44:36.000Z | # -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 42.198899 | 128 | 0.596512 | 5,778 | 53,677 | 5.388543 | 0.079439 | 0.03093 | 0.044676 | 0.02775 | 0.772571 | 0.754039 | 0.702425 | 0.681516 | 0.67005 | 0.623671 | 0 | 0.006476 | 0.321031 | 53,677 | 1,271 | 129 | 42.232101 | 0.847825 | 0.53535 | 0 | 0.488518 | 0 | 0 | 0.076699 | 0.018372 | 0 | 0 | 0 | 0.003147 | 0 | 1 | 0.041754 | false | 0 | 0.075157 | 0 | 0.164927 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cde0e155e222f52e34bae521e25a21b28caf52a | 550 | py | Python | Code/extract_method3.py | AbdullahNoori/CS-2.1-Trees-Sorting | 59ba182d60abe6171a3d7d64981f79ee192de3bb | [
"MIT"
] | null | null | null | Code/extract_method3.py | AbdullahNoori/CS-2.1-Trees-Sorting | 59ba182d60abe6171a3d7d64981f79ee192de3bb | [
"MIT"
] | null | null | null | Code/extract_method3.py | AbdullahNoori/CS-2.1-Trees-Sorting | 59ba182d60abe6171a3d7d64981f79ee192de3bb | [
"MIT"
] | null | null | null | # Written by Kamran Bigdely
# Example for Compose Methods: Extract Method.
import math
def get_distance(xc1=5, xc2=7.25, yc1=22, yc2=-4.84):
# Calculate the distance between the two circle
return math.sqrt((xc1-xc2)**2 + (yc1 - yc2)**2)
print('distance', get_distance())
# *** somewhere else in your progra... | 26.190476 | 88 | 0.670909 | 92 | 550 | 3.967391 | 0.630435 | 0.032877 | 0.076712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059341 | 0.172727 | 550 | 20 | 89 | 27.5 | 0.742857 | 0.432727 | 0 | 0 | 0 | 0 | 0.045752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7ce3f2fa9ab64a2e056aae0886c6829b2b5285e6 | 7,722 | py | Python | src/quart/local.py | Dunkledore/quart | 803c8678b083895f4ece35fccb6aca56e189ee0a | [
"MIT"
] | 3 | 2020-03-31T10:36:31.000Z | 2020-04-23T12:01:10.000Z | venv/lib/python3.9/site-packages/quart/local.py | ryanwwest/kademlia | e1e5b84db0a7710cf372663325041850802d55f1 | [
"MIT"
] | 6 | 2020-09-05T01:40:23.000Z | 2022-03-12T00:40:58.000Z | src/quart/local.py | ccns1/ccns11 | d6edfac34fbee06fe974cda007d24a088d31ad30 | [
"MIT"
] | 1 | 2020-09-05T00:19:03.000Z | 2020-09-05T00:19:03.000Z | from __future__ import annotations
import asyncio
import copy
from contextvars import ContextVar # noqa # contextvars not understood as stdlib
from typing import Any # noqa # contextvars not understood as stdlib
from typing import Callable, Dict, Optional
class TaskLocal:
"""An object local to the current task... | 41.740541 | 95 | 0.630536 | 1,009 | 7,722 | 4.22002 | 0.153617 | 0.145608 | 0.232973 | 0.207609 | 0.517849 | 0.463833 | 0.379286 | 0.318929 | 0.267262 | 0.242837 | 0 | 0.027759 | 0.248899 | 7,722 | 184 | 96 | 41.967391 | 0.706379 | 0.12445 | 0 | 0.210526 | 0 | 0 | 0.021687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118421 | false | 0 | 0.039474 | 0.006579 | 0.651316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7cfc7ea83eddae1dd85543f912c4d06746387bfa | 492 | py | Python | 30-39/35. final_class/final_class.py | dcragusa/PythonMorsels | 5f75b51a68769036e4004e9ccdada6b220124ab6 | [
"MIT"
] | 1 | 2021-11-30T05:03:24.000Z | 2021-11-30T05:03:24.000Z | 30-39/35. final_class/final_class.py | dcragusa/PythonMorsels | 5f75b51a68769036e4004e9ccdada6b220124ab6 | [
"MIT"
] | null | null | null | 30-39/35. final_class/final_class.py | dcragusa/PythonMorsels | 5f75b51a68769036e4004e9ccdada6b220124ab6 | [
"MIT"
] | 2 | 2021-04-18T05:26:43.000Z | 2021-11-28T18:46:43.000Z |
class Unsubclassable:
def __init_subclass__(cls, **kwargs):
raise TypeError('Unacceptable base type')
def prevent_subclassing():
raise TypeError('Unacceptable base type')
def final_class(cls):
setattr(cls, '__init_subclass__', prevent_subclassing)
return cls
class UnsubclassableType(type)... | 22.363636 | 60 | 0.693089 | 56 | 492 | 5.607143 | 0.428571 | 0.11465 | 0.165605 | 0.191083 | 0.579618 | 0.235669 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203252 | 492 | 21 | 61 | 23.428571 | 0.80102 | 0 | 0 | 0.153846 | 0 | 0 | 0.159184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7cfd39821c7ad2ac471f6e189d3999d3560e833a | 259 | py | Python | users/views.py | AnvarKhan/django-python | bd54e44deb290f43ea5982c2ca9f37cd6c946879 | [
"Apache-2.0"
] | 1 | 2022-02-05T15:07:25.000Z | 2022-02-05T15:07:25.000Z | users/views.py | AnvarKhan/django-python | bd54e44deb290f43ea5982c2ca9f37cd6c946879 | [
"Apache-2.0"
] | null | null | null | users/views.py | AnvarKhan/django-python | bd54e44deb290f43ea5982c2ca9f37cd6c946879 | [
"Apache-2.0"
] | null | null | null | from django.views.generic import CreateView
from django.urls import reverse_lazy
from .forms import CustomUserCreationForm
class SignUpView(CreateView):
form_class = CustomUserCreationForm
success_url = reverse_lazy('login')
template_name = 'signup.html'
| 28.777778 | 43 | 0.830116 | 31 | 259 | 6.774194 | 0.677419 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104247 | 259 | 8 | 44 | 32.375 | 0.905172 | 0 | 0 | 0 | 0 | 0 | 0.061776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6b0ff469900ccc9c854a18661fc7b7737ba3ac79 | 98 | py | Python | pi_control/server_stats/apps.py | mhozza/pi-control | 0dce821b4702519fedc3950270ee0091ed484ef6 | [
"MIT"
] | null | null | null | pi_control/server_stats/apps.py | mhozza/pi-control | 0dce821b4702519fedc3950270ee0091ed484ef6 | [
"MIT"
] | 10 | 2020-03-14T21:04:36.000Z | 2022-03-03T21:51:07.000Z | pi_control/server_stats/apps.py | mhozza/pi-control | 0dce821b4702519fedc3950270ee0091ed484ef6 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ServerStatsConfig(AppConfig):
name = "server_stats"
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 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 | 0 | 0 | 0 | 3 |
6b1e268c000917add1c1379d6ddcd9ab23f2b03b | 245 | py | Python | src/digibujogens/__main__.py | roaet/digibujogens | ab154edda69c091595902dd8b2e3fd273b2e7105 | [
"MIT"
] | null | null | null | src/digibujogens/__main__.py | roaet/digibujogens | ab154edda69c091595902dd8b2e3fd273b2e7105 | [
"MIT"
] | null | null | null | src/digibujogens/__main__.py | roaet/digibujogens | ab154edda69c091595902dd8b2e3fd273b2e7105 | [
"MIT"
] | null | null | null | """ Main application entry point.
python -m digibujogens ...
"""
def main():
""" Execute the application.
"""
raise NotImplementedError
# Make the script executable.
if __name__ == "__main__":
raise SystemExit(main())
| 14.411765 | 33 | 0.636735 | 24 | 245 | 6.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232653 | 245 | 16 | 34 | 15.3125 | 0.787234 | 0.481633 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b3ef77f1a082e51763d4a446e010e19a72af147 | 101 | py | Python | docs/source/tutorial/code/read_csv.py | HanSooLim/DIL-Project | 069fa7e35a2e1edfff30dc2540d9b87f5db95dde | [
"MIT",
"BSD-3-Clause"
] | 2 | 2021-10-16T15:08:05.000Z | 2021-10-16T15:59:57.000Z | docs/source/tutorial/code/read_csv.py | HanSooLim/DIL-Project | 069fa7e35a2e1edfff30dc2540d9b87f5db95dde | [
"MIT",
"BSD-3-Clause"
] | 8 | 2021-10-21T04:48:12.000Z | 2021-11-07T03:09:25.000Z | docs/source/tutorial/code/read_csv.py | HanSooLim/DIL-Project | 069fa7e35a2e1edfff30dc2540d9b87f5db95dde | [
"MIT",
"BSD-3-Clause"
] | 3 | 2021-05-02T13:39:14.000Z | 2021-05-31T14:05:56.000Z | import pandas
datas = pandas.read_csv("../../Sample/example_dataset.csv", index_col=0)
print(datas)
| 20.2 | 72 | 0.742574 | 15 | 101 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.079208 | 101 | 4 | 73 | 25.25 | 0.763441 | 0 | 0 | 0 | 0 | 0 | 0.316832 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
866300a7100ec622abdb52b3c5fac82349d29555 | 60 | py | Python | examples/web/handlers.py | nicoddemus/aioworkers | 4ab85064844dc28141833d1348989d8c891f3d7d | [
"Apache-2.0"
] | 45 | 2017-04-26T23:50:30.000Z | 2021-12-29T03:21:06.000Z | examples/web/handlers.py | nicoddemus/aioworkers | 4ab85064844dc28141833d1348989d8c891f3d7d | [
"Apache-2.0"
] | 63 | 2017-08-01T10:35:45.000Z | 2022-03-01T18:07:49.000Z | examples/web/handlers.py | nicoddemus/aioworkers | 4ab85064844dc28141833d1348989d8c891f3d7d | [
"Apache-2.0"
] | 6 | 2017-10-19T08:21:23.000Z | 2021-12-29T03:25:32.000Z |
async def handler(context):
return await context.data
| 12 | 29 | 0.733333 | 8 | 60 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 4 | 30 | 15 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86789c8feaa8d10751a8b27ad6e7fc323ebc39ff | 956 | py | Python | redmine/__init__.py | hugoseabra/redmine-task-generator | b5ce1764f1c7588a7c82b25f7dd4bf07d1c105cf | [
"MIT"
] | null | null | null | redmine/__init__.py | hugoseabra/redmine-task-generator | b5ce1764f1c7588a7c82b25f7dd4bf07d1c105cf | [
"MIT"
] | 4 | 2021-03-30T14:04:56.000Z | 2021-06-10T19:40:52.000Z | redmine/__init__.py | hugoseabra/redmine-task-generator | b5ce1764f1c7588a7c82b25f7dd4bf07d1c105cf | [
"MIT"
] | null | null | null | from django.conf import settings
from redminelib import Redmine as DefaultRedmine
from .validator import RedmineInstanceValidator
class Redmine(DefaultRedmine):
def __init__(self, url=None, key=None):
url = url or settings.REDMINE_BASE_URL
key = key or settings.REDMINE_API_KEY
super().__i... | 28.117647 | 62 | 0.696653 | 114 | 956 | 5.605263 | 0.315789 | 0.162754 | 0.089202 | 0.107981 | 0.090767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225941 | 956 | 33 | 63 | 28.969697 | 0.863514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.130435 | 0.130435 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
867af3eaf92e62e8468d18b191fba31f6c76639c | 2,836 | py | Python | utils/dsp.py | huchenxucs/WaveRNN | 6d5805d54b8a3db99aa190083b550236f2c15d28 | [
"MIT"
] | null | null | null | utils/dsp.py | huchenxucs/WaveRNN | 6d5805d54b8a3db99aa190083b550236f2c15d28 | [
"MIT"
] | null | null | null | utils/dsp.py | huchenxucs/WaveRNN | 6d5805d54b8a3db99aa190083b550236f2c15d28 | [
"MIT"
] | null | null | null | import math
import numpy as np
import librosa
from utils import hparams as hp
from scipy.signal import lfilter
import soundfile as sf
def label_2_float(x, bits):
return 2 * x / (2**bits - 1.) - 1.
def float_2_label(x, bits):
assert abs(x).max() <= 1.0
x = (x + 1.) * (2**bits - 1) / 2
return x.clip(0... | 23.831933 | 91 | 0.645275 | 498 | 2,836 | 3.516064 | 0.253012 | 0.015991 | 0.041119 | 0.031982 | 0.23301 | 0.151913 | 0.151913 | 0.151913 | 0.107367 | 0.083381 | 0 | 0.037828 | 0.207687 | 2,836 | 118 | 92 | 24.033898 | 0.741433 | 0.076164 | 0 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.014085 | 1 | 0.28169 | false | 0 | 0.084507 | 0.169014 | 0.633803 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
867bbaa4b747400e8e0dce95ef2502b3a1d6e3df | 188 | py | Python | app/helpers/geocode.py | Soumya117/finnazureflaskapp | 794f82596a329ff1a2e4dc23d49903a0ef474f95 | [
"MIT"
] | null | null | null | app/helpers/geocode.py | Soumya117/finnazureflaskapp | 794f82596a329ff1a2e4dc23d49903a0ef474f95 | [
"MIT"
] | 2 | 2021-03-31T20:43:02.000Z | 2021-12-13T20:13:40.000Z | app/helpers/geocode.py | Soumya117/finnparser | e89ff6e1a0c08b57a1b2f971d5f7bb888c2f4a05 | [
"MIT"
] | null | null | null | import googlemaps
gmaps = googlemaps.Client(key='google_key')
def get_markers(address):
geocode_result = gmaps.geocode(address)
return geocode_result[0]['geometry']['location']
| 20.888889 | 52 | 0.75 | 23 | 188 | 5.956522 | 0.695652 | 0.189781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.12234 | 188 | 8 | 53 | 23.5 | 0.824242 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8687c290ea5275e332a8f9c623d8f42da0525b01 | 244 | py | Python | mayan/apps/rest_api/exceptions.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2021-02-24T15:03:23.000Z | 2021-02-24T15:03:23.000Z | mayan/apps/rest_api/exceptions.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 10 | 2021-03-20T00:01:17.000Z | 2022-03-12T00:48:43.000Z | mayan/apps/rest_api/exceptions.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2020-08-09T09:06:59.000Z | 2020-08-09T09:06:59.000Z |
class APIError(Exception):
"""
Base exception for the API app
"""
pass
class APIResourcePatternError(APIError):
"""
Raised when an app tries to override an existing URL regular expression
pattern
"""
pass
| 16.266667 | 75 | 0.647541 | 27 | 244 | 5.851852 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278689 | 244 | 14 | 76 | 17.428571 | 0.897727 | 0.45082 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
868c6ea160dd2c056e7da123714e1987646a86cf | 9,215 | py | Python | ravem/tests/util_test.py | bpedersen2/indico-plugins-cern | c4f06d11d981c316fc8de2892758484deb58e2f5 | [
"MIT"
] | null | null | null | ravem/tests/util_test.py | bpedersen2/indico-plugins-cern | c4f06d11d981c316fc8de2892758484deb58e2f5 | [
"MIT"
] | null | null | null | ravem/tests/util_test.py | bpedersen2/indico-plugins-cern | c4f06d11d981c316fc8de2892758484deb58e2f5 | [
"MIT"
] | null | null | null | # This file is part of the CERN Indico plugins.
# Copyright (C) 2014 - 2022 CERN
#
# The CERN Indico plugins are free software; you can redistribute
# them and/or modify them under the terms of the MIT License; see
# the LICENSE file for more details.
from unittest.mock import MagicMock
import pytest
from requests.ex... | 39.549356 | 112 | 0.703527 | 1,191 | 9,215 | 5.22838 | 0.141058 | 0.048177 | 0.067448 | 0.088646 | 0.757668 | 0.740646 | 0.703549 | 0.652963 | 0.626947 | 0.611049 | 0 | 0.013493 | 0.139447 | 9,215 | 232 | 113 | 39.719828 | 0.771753 | 0.025936 | 0 | 0.551724 | 0 | 0 | 0.287769 | 0.052514 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
868e31d3b6d09c73dfd001c290d85e56d3f9bb45 | 672 | py | Python | app/http/middleware/LoadUserMiddleware.py | josephmancuso/masonite-forum | a91c7386f3e0b02b0ac71623eb295a7543cb60fd | [
"MIT"
] | 11 | 2018-07-08T17:44:28.000Z | 2020-03-02T10:45:37.000Z | app/http/middleware/LoadUserMiddleware.py | josephmancuso/masonite-forum | a91c7386f3e0b02b0ac71623eb295a7543cb60fd | [
"MIT"
] | 2 | 2018-07-21T07:49:09.000Z | 2019-05-29T14:34:42.000Z | app/http/middleware/LoadUserMiddleware.py | josephmancuso/masonite-forum | a91c7386f3e0b02b0ac71623eb295a7543cb60fd | [
"MIT"
] | 5 | 2018-07-12T02:36:14.000Z | 2020-04-05T21:10:30.000Z | ''' Load User Middleware'''
from masonite.facades.Auth import Auth
class LoadUserMiddleware:
''' Middleware class which loads the current user into the request '''
def __init__(self, Request):
''' Inject Any Dependencies From The Service Container '''
self.request = Request
def before(sel... | 29.217391 | 74 | 0.644345 | 80 | 672 | 5.325 | 0.4125 | 0.129108 | 0.051643 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254464 | 672 | 22 | 75 | 30.545455 | 0.850299 | 0.38244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.090909 | 0.090909 | 0 | 0.636364 | 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 | 0 | 1 | 0 | 0 | 3 |
869c4c6a792894e8eb7116f05f76e9950b851051 | 364 | py | Python | dbclient/__init__.py | dmoore247/db-migration | cc75d491d7dd7e9e24b5a35dd3d1080317b25520 | [
"Apache-2.0"
] | null | null | null | dbclient/__init__.py | dmoore247/db-migration | cc75d491d7dd7e9e24b5a35dd3d1080317b25520 | [
"Apache-2.0"
] | null | null | null | dbclient/__init__.py | dmoore247/db-migration | cc75d491d7dd7e9e24b5a35dd3d1080317b25520 | [
"Apache-2.0"
] | null | null | null | import json, requests, datetime
from cron_descriptor import get_description
from .dbclient import dbclient
from .JobsClient import JobsClient
from .ClustersClient import ClustersClient
from .WorkspaceClient import WorkspaceClient
from .ScimClient import ScimClient
from .LibraryClient import LibraryClient
from .HiveCli... | 30.333333 | 44 | 0.857143 | 41 | 364 | 7.560976 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112637 | 364 | 11 | 45 | 33.090909 | 0.959752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
869e772414d99f560741ba4d5f3b4440b61ae41b | 2,931 | py | Python | Ifc/IfcBase.py | gsimon75/IFC_parser | f9fbe2afa48795bbb502530bc9ab5c4db842e10f | [
"BSD-2-Clause"
] | 28 | 2019-12-02T11:41:14.000Z | 2022-03-02T22:53:24.000Z | Ifc/IfcBase.py | gsimon75/IFC_parser | f9fbe2afa48795bbb502530bc9ab5c4db842e10f | [
"BSD-2-Clause"
] | 4 | 2019-08-30T13:52:40.000Z | 2022-02-02T02:31:31.000Z | Ifc/IfcBase.py | gsimon75/IFC_parser | f9fbe2afa48795bbb502530bc9ab5c4db842e10f | [
"BSD-2-Clause"
] | 6 | 2020-07-11T22:35:07.000Z | 2022-03-18T15:12:46.000Z | from Ifc.ClassRegistry import ifc_class, ifc_abstract_class, ifc_fallback_class
@ifc_abstract_class
class IfcEntity:
"""
Generic IFC entity, only for subclassing from it
"""
def __init__(self, rtype, args):
"""
rtype: Resource type
args: Arguments in *reverse* order, so you can... | 21.23913 | 132 | 0.624701 | 369 | 2,931 | 4.674797 | 0.336043 | 0.063768 | 0.067826 | 0.064928 | 0.202899 | 0.057971 | 0.057971 | 0.057971 | 0.057971 | 0.057971 | 0 | 0.001842 | 0.258956 | 2,931 | 137 | 133 | 21.394161 | 0.792357 | 0.212214 | 0 | 0.448718 | 0 | 0 | 0.037341 | 0 | 0 | 0 | 0 | 0.007299 | 0 | 1 | 0.24359 | false | 0.102564 | 0.012821 | 0.141026 | 0.576923 | 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 | 0 | 0 | 0 | 3 |
86a6e60b85eb87efd2531834b58c525dde29390d | 21,322 | py | Python | school/views.py | pa-one-patel/college_managenment | be6f6dcac1f7e01f71d95f445e2118e8eec3fe3a | [
"MIT"
] | 1 | 2021-04-11T12:05:44.000Z | 2021-04-11T12:05:44.000Z | school/views.py | aliffauzi/schoolmanagement | 6a4477af01df148404d1ff2941f74accb5717b09 | [
"MIT"
] | 6 | 2021-03-19T04:10:49.000Z | 2021-09-22T19:06:14.000Z | school/views.py | aliffauzi/schoolmanagement | 6a4477af01df148404d1ff2941f74accb5717b09 | [
"MIT"
] | 1 | 2021-04-11T12:07:08.000Z | 2021-04-11T12:07:08.000Z | from django.shortcuts import render,redirect,reverse
from . import forms,models
from django.db.models import Sum
from django.contrib.auth.models import Group
from django.http import HttpResponseRedirect
from django.contrib.auth.decorators import login_required,user_passes_test
def home_view(request):
if request.us... | 33.211838 | 123 | 0.710909 | 2,513 | 21,322 | 5.859133 | 0.074015 | 0.031377 | 0.052907 | 0.069614 | 0.791972 | 0.760459 | 0.698452 | 0.652268 | 0.631214 | 0.609753 | 0 | 0.006424 | 0.167761 | 21,322 | 641 | 124 | 33.263651 | 0.823331 | 0.053231 | 0 | 0.612335 | 0 | 0 | 0.132256 | 0.063203 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099119 | false | 0.088106 | 0.013216 | 0.019824 | 0.262115 | 0.024229 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
86bcd2890d4f11513d628469a8efe8d1af2d7195 | 65 | py | Python | src/cicd_sim/artifact/__init__.py | Software-Natives-OSS/cicd_sim | 19452a5b06a6c6d99322c9b6777c501025e954f1 | [
"MIT"
] | null | null | null | src/cicd_sim/artifact/__init__.py | Software-Natives-OSS/cicd_sim | 19452a5b06a6c6d99322c9b6777c501025e954f1 | [
"MIT"
] | 8 | 2020-03-12T05:51:56.000Z | 2020-03-15T17:31:12.000Z | src/cicd_sim/artifact/__init__.py | Software-Natives-OSS/cicd_sim | 19452a5b06a6c6d99322c9b6777c501025e954f1 | [
"MIT"
] | null | null | null | from . artifactory import Artifactory
__all__ = ['Artifactory']
| 16.25 | 37 | 0.769231 | 6 | 65 | 7.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 3 | 38 | 21.666667 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
86c445a03cb1fedcfaa9af4175640a3d81afd9b9 | 8,505 | py | Python | reco_utils/recommender/deeprec/io/iterator.py | yutian-zhao/recommenders | 17b9c1280a79019dd91f50b3a7e66f25cb5004b1 | [
"MIT"
] | null | null | null | reco_utils/recommender/deeprec/io/iterator.py | yutian-zhao/recommenders | 17b9c1280a79019dd91f50b3a7e66f25cb5004b1 | [
"MIT"
] | null | null | null | reco_utils/recommender/deeprec/io/iterator.py | yutian-zhao/recommenders | 17b9c1280a79019dd91f50b3a7e66f25cb5004b1 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import numpy as np
# import tensorflow as tf
import abc
class BaseIterator(object):
@abc.abstractmethod
def parser_one_line(self, line):
pass
@abc.abstractmethod
def load_data_from_file(self, infile... | 38.310811 | 112 | 0.55485 | 1,020 | 8,505 | 4.387255 | 0.189216 | 0.068827 | 0.034413 | 0.017207 | 0.346369 | 0.312849 | 0.256313 | 0.136089 | 0.095419 | 0.052961 | 0 | 0.012467 | 0.330394 | 8,505 | 221 | 113 | 38.484163 | 0.77331 | 0.907937 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.266667 | 0.133333 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
86f2a90daa96d1b00a32e75d50fd040ca01ed705 | 172 | py | Python | pyconde/context_processors.py | EuroPython/djep | afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21 | [
"BSD-3-Clause"
] | 5 | 2015-01-02T14:33:14.000Z | 2021-08-03T10:19:07.000Z | pyconde/context_processors.py | EuroPython/djep | afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21 | [
"BSD-3-Clause"
] | null | null | null | pyconde/context_processors.py | EuroPython/djep | afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21 | [
"BSD-3-Clause"
] | 3 | 2015-08-30T09:45:03.000Z | 2017-04-08T12:15:22.000Z | from django.conf import settings
def less_settings(request):
return {
'use_dynamic_less_in_debug': getattr(settings, 'LESS_USE_DYNAMIC_IN_DEBUG', True)
}
| 21.5 | 89 | 0.732558 | 23 | 172 | 5.086957 | 0.652174 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180233 | 172 | 7 | 90 | 24.571429 | 0.829787 | 0 | 0 | 0 | 0 | 0 | 0.290698 | 0.290698 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
8109517cd2448992084aac4cf51be9ed93b5e56f | 467 | py | Python | greendoge/types/condition_with_args.py | grayfallstown/greendoge-blockchain | 31e325913374d694dc0859140d006a642e7f95ac | [
"Apache-2.0"
] | 44 | 2021-07-06T10:09:06.000Z | 2022-02-09T04:30:14.000Z | greendoge/types/condition_with_args.py | grayfallstown/greendoge-blockchain | 31e325913374d694dc0859140d006a642e7f95ac | [
"Apache-2.0"
] | 67 | 2021-07-06T11:57:18.000Z | 2022-02-02T16:14:15.000Z | greendoge/types/condition_with_args.py | grayfallstown/greendoge-blockchain | 31e325913374d694dc0859140d006a642e7f95ac | [
"Apache-2.0"
] | 16 | 2021-07-06T10:36:37.000Z | 2022-03-15T08:35:16.000Z | from dataclasses import dataclass
from typing import List
from greendoge.types.condition_opcodes import ConditionOpcode
from greendoge.util.streamable import Streamable, streamable
@dataclass(frozen=True)
@streamable
class ConditionWithArgs(Streamable):
"""
This structure is used to store parsed CLVM conditi... | 25.944444 | 83 | 0.770878 | 56 | 467 | 6.410714 | 0.660714 | 0.072423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.164882 | 467 | 17 | 84 | 27.470588 | 0.912821 | 0.286938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
810dcd1a1c119a6c004be66c020243fbafedf1ee | 5,229 | py | Python | boto3_type_annotations/boto3_type_annotations/guardduty/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/guardduty/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/guardduty/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from typing import Union
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import List
class Client(BaseClient):
def accept_invitation(self, DetectorId: str, InvitationId: str, MasterId:... | 35.331081 | 175 | 0.669344 | 632 | 5,229 | 5.420886 | 0.143987 | 0.091944 | 0.13164 | 0.083187 | 0.701985 | 0.627262 | 0.518973 | 0.444542 | 0.380035 | 0.265908 | 0 | 0 | 0.229681 | 5,229 | 147 | 176 | 35.571429 | 0.850546 | 0 | 0 | 0.46 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.46 | false | 0.46 | 0.07 | 0 | 0.54 | 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 | 0 | 1 | 0 | 0 | 3 |
810f24ca6e713fb7958aa28861ebd60291bab8c3 | 2,089 | bzl | Python | google/cloud/google_cloud_cpp_common_unit_tests.bzl | joezqren/google-cloud-cpp | 325d312b0a21569f3c57515aec7d91f3540d3b48 | [
"Apache-2.0"
] | null | null | null | google/cloud/google_cloud_cpp_common_unit_tests.bzl | joezqren/google-cloud-cpp | 325d312b0a21569f3c57515aec7d91f3540d3b48 | [
"Apache-2.0"
] | null | null | null | google/cloud/google_cloud_cpp_common_unit_tests.bzl | joezqren/google-cloud-cpp | 325d312b0a21569f3c57515aec7d91f3540d3b48 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 34.245902 | 79 | 0.727621 | 297 | 2,089 | 4.845118 | 0.464646 | 0.166782 | 0.233495 | 0.037526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007959 | 0.15797 | 2,089 | 60 | 80 | 34.816667 | 0.810119 | 0.326472 | 0 | 0 | 0 | 0 | 0.726748 | 0.603461 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
811134f08b2c67534a9093ee9d1a20f045af6b48 | 865 | py | Python | socialdistribution/app/templatetags/filters.py | CMPUT404-Project-Group/CMPUT404-Group-Project | e541cc609f260d7221fe0be8975c5b2444d74af0 | [
"W3C-20150513"
] | null | null | null | socialdistribution/app/templatetags/filters.py | CMPUT404-Project-Group/CMPUT404-Group-Project | e541cc609f260d7221fe0be8975c5b2444d74af0 | [
"W3C-20150513"
] | 44 | 2021-10-14T15:44:46.000Z | 2021-12-05T00:57:23.000Z | socialdistribution/app/templatetags/filters.py | CMPUT404-Project-Group/Social-Distribution-CMPUT404-Group-Project | e541cc609f260d7221fe0be8975c5b2444d74af0 | [
"W3C-20150513"
] | 1 | 2021-12-07T01:14:14.000Z | 2021-12-07T01:14:14.000Z | from django import template
from django.template.defaultfilters import stringfilter
from django.utils.safestring import SafeString
import markdown
import urllib
register = template.Library()
@register.filter
def strip_space(value):
return value.replace(' ', '')
@register.filter
@stringfilter
def commonmark(value... | 23.378378 | 76 | 0.721387 | 117 | 865 | 5.25641 | 0.418803 | 0.136585 | 0.078049 | 0.068293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0.144509 | 865 | 37 | 76 | 23.378378 | 0.825676 | 0.048555 | 0 | 0.111111 | 0 | 0 | 0.030941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.185185 | 0.148148 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
811e73ee0c3fc584081650f0224040703f26ea00 | 386 | py | Python | tabular/__init__.py | yamins81/tabular | 1caf091c8c395960a9ad7078f95158b533cc52dd | [
"MIT"
] | 6 | 2015-05-24T20:59:31.000Z | 2021-05-31T14:34:18.000Z | tabular/__init__.py | yamins81/tabular | 1caf091c8c395960a9ad7078f95158b533cc52dd | [
"MIT"
] | 3 | 2016-06-17T20:02:27.000Z | 2020-02-13T19:20:40.000Z | tabular/__init__.py | yamins81/tabular | 1caf091c8c395960a9ad7078f95158b533cc52dd | [
"MIT"
] | 8 | 2015-08-22T17:09:40.000Z | 2022-02-10T14:47:40.000Z | import io
import fast
import spreadsheet
import tab
import utils
import web
from io import *
from fast import *
from spreadsheet import *
from tab import *
from utils import *
from web import *
__all__ = []
__all__.extend(io.__all__)
__all__.extend(fast.__all__)
__all__.extend(spreadsheet.__all__)
__all__.extend(tab.... | 18.380952 | 35 | 0.795337 | 55 | 386 | 4.636364 | 0.181818 | 0.141176 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119171 | 386 | 21 | 36 | 18.380952 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.631579 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
812594dced1920626bd6e5484a03e5c3aa5dda9e | 1,943 | py | Python | ServerSide/models.py | Coullence/DRF_Percels-Couriers_API_V.0.0.2 | 906786115861b316f8ecf023c8af82f2dacff68e | [
"MIT"
] | null | null | null | ServerSide/models.py | Coullence/DRF_Percels-Couriers_API_V.0.0.2 | 906786115861b316f8ecf023c8af82f2dacff68e | [
"MIT"
] | null | null | null | ServerSide/models.py | Coullence/DRF_Percels-Couriers_API_V.0.0.2 | 906786115861b316f8ecf023c8af82f2dacff68e | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
# Station
class Stations(models.Model):
stationName = models.CharField(max_length=100)
stationLocation = models.CharField(max_length=100)
stationStaffId = models.CharField(max_length=100)
date = models.DateTimeField(auto_now_add=True)
d... | 32.932203 | 66 | 0.716933 | 218 | 1,943 | 6.188073 | 0.238532 | 0.160119 | 0.213491 | 0.409192 | 0.641957 | 0.306894 | 0.247591 | 0.247591 | 0.247591 | 0.247591 | 0 | 0.045948 | 0.193515 | 1,943 | 58 | 67 | 33.5 | 0.814933 | 0.029336 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.025 | 0.1 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.