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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24541322c517634f6ac995cad016fcc95ee9279c | 152 | py | Python | setup.py | Who23/nchook | b052d14ff364707e53988f47cbefd98e76127a8c | [
"MIT"
] | 10 | 2021-03-02T12:26:02.000Z | 2022-02-17T15:25:20.000Z | setup.py | Who23/nchook | b052d14ff364707e53988f47cbefd98e76127a8c | [
"MIT"
] | 1 | 2022-02-26T08:38:39.000Z | 2022-02-27T13:19:10.000Z | setup.py | Who23/nchook | b052d14ff364707e53988f47cbefd98e76127a8c | [
"MIT"
] | 1 | 2021-03-05T03:28:37.000Z | 2021-03-05T03:28:37.000Z | # setup.py for homwbrew to install, so it is extremely basic.
from setuptools import setup
setup(
name='nchook',
scripts=['nchook']
)
| 16.888889 | 61 | 0.657895 | 20 | 152 | 5 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243421 | 152 | 8 | 62 | 19 | 0.869565 | 0.388158 | 0 | 0 | 0 | 0 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
2455c049bf4ae7fda750c6eab1fa10fa326341d2 | 1,856 | py | Python | RunLocal.py | CBurbidge/PasswordEncryptor | f86bf438c642f2cd6d4bbff7fc725483a04bef6e | [
"MIT"
] | 1 | 2018-04-13T01:11:58.000Z | 2018-04-13T01:11:58.000Z | RunLocal.py | CBurbidge/PasswordEncryptor | f86bf438c642f2cd6d4bbff7fc725483a04bef6e | [
"MIT"
] | null | null | null | RunLocal.py | CBurbidge/PasswordEncryptor | f86bf438c642f2cd6d4bbff7fc725483a04bef6e | [
"MIT"
] | null | null | null | from PasswordEncryptor import *
#{
# "RequestType": "Create",
# "ServiceToken": "arn:aws:lambda:...:function:route53Dependency",
# "ResponseURL": "https://cloudformation-custom-resource...",
# "StackId": "arn:aws:cloudformation:eu-west-1:...",
# "RequestId": "afd8d7c5-9376-4013-8b3b-307517b8719e",
# "LogicalReso... | 28.553846 | 69 | 0.649246 | 165 | 1,856 | 7.248485 | 0.515152 | 0.045151 | 0.0301 | 0.040134 | 0.148829 | 0.148829 | 0.06689 | 0 | 0 | 0 | 0 | 0.02465 | 0.191272 | 1,856 | 65 | 70 | 28.553846 | 0.772152 | 0.251616 | 0 | 0.090909 | 0 | 0 | 0.238199 | 0.065359 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204545 | false | 0.090909 | 0.022727 | 0.159091 | 0.568182 | 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 |
245a4dbdc0b9c011f2a98b4f7b99a87081190094 | 669 | py | Python | utils2devops/tools/string.py | alainivars/utils2devops | ff7deb2bc315d18b693d53ae6472da5163a3260e | [
"Apache-2.0"
] | 2 | 2019-06-29T20:09:37.000Z | 2020-12-09T22:38:57.000Z | utils2devops/tools/string.py | alainivars/utils2devops | ff7deb2bc315d18b693d53ae6472da5163a3260e | [
"Apache-2.0"
] | null | null | null | utils2devops/tools/string.py | alainivars/utils2devops | ff7deb2bc315d18b693d53ae6472da5163a3260e | [
"Apache-2.0"
] | null | null | null |
def strip_space_tab(string: str):
return string.replace(' ', '').replace('\t', '')
def strip_space_tab_eol(string: str):
return strip_space_tab(string).replace('\n', '')
# see also: https://stackoverflow.com/questions/33659074/what-the-diff-python-
# unittest-failing-due-to-leading-whitespace-in-multine
# s... | 30.409091 | 81 | 0.747384 | 97 | 669 | 5.082474 | 0.701031 | 0.060852 | 0.079108 | 0.064909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024014 | 0.12855 | 669 | 21 | 82 | 31.857143 | 0.821612 | 0.233184 | 0 | 0 | 0 | 0 | 0.026738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
24671da6a97b990d9e1e119baf6e37f93f2122ae | 330 | py | Python | metastore/configurations/secret.py | metastore-developers/metastore | 56397e5c81f6b6b4b408b458bcfe09191945cff2 | [
"BSD-3-Clause"
] | null | null | null | metastore/configurations/secret.py | metastore-developers/metastore | 56397e5c81f6b6b4b408b458bcfe09191945cff2 | [
"BSD-3-Clause"
] | null | null | null | metastore/configurations/secret.py | metastore-developers/metastore | 56397e5c81f6b6b4b408b458bcfe09191945cff2 | [
"BSD-3-Clause"
] | null | null | null | '''
Secret configuration model.
'''
from typing import Literal
from .configuration import Configuration
class SecretConfiguration(Configuration):
'''
Secret configuration model.
'''
#: Configuration type.
type: Literal['secret']
#: Secret name.
name: str
__all__ = [
'SecretConfigu... | 13.75 | 41 | 0.669697 | 28 | 330 | 7.75 | 0.464286 | 0.175115 | 0.221198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224242 | 330 | 23 | 42 | 14.347826 | 0.847656 | 0.275758 | 0 | 0 | 0 | 0 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
79eabcfddd887ca0bfd65b79e00bb29a2ffeb167 | 3,278 | py | Python | stringfuzz/smt.py | vidorchany/dblotsky6 | 35b5f072831a251809a7a1a2900a13d9e10275fc | [
"MIT"
] | 16 | 2017-11-09T14:42:28.000Z | 2022-01-24T14:45:53.000Z | stringfuzz/smt.py | vidorchany/dblotsky6 | 35b5f072831a251809a7a1a2900a13d9e10275fc | [
"MIT"
] | 41 | 2017-07-03T22:51:18.000Z | 2019-08-11T23:18:11.000Z | stringfuzz/smt.py | vidorchany/dblotsky6 | 35b5f072831a251809a7a1a2900a13d9e10275fc | [
"MIT"
] | 8 | 2018-03-27T01:13:16.000Z | 2021-09-22T20:23:24.000Z | '''
Functions for creating ASTs.
'''
from stringfuzz.ast import *
__all__ = [
'smt_var',
'smt_const',
'smt_new_var',
'smt_new_const',
'smt_str_lit',
'smt_int_lit',
'smt_bool_lit',
'smt_assert',
'smt_equal',
'smt_gt',
'smt_lt',
'smt_gte',
'smt_lte',
'smt_concat',... | 18.947977 | 99 | 0.677547 | 471 | 3,278 | 4.41189 | 0.237792 | 0.103946 | 0.046198 | 0.042348 | 0.018768 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00228 | 0.197071 | 3,278 | 172 | 100 | 19.05814 | 0.787234 | 0.032642 | 0 | 0.065041 | 0 | 0 | 0.143445 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 1 | 0.292683 | false | 0 | 0.00813 | 0.268293 | 0.585366 | 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 |
79f4c8ca08a4d3d6533a7c4319899604c0fca8de | 3,167 | py | Python | rpython/jit/metainterp/optimizeopt/simplify.py | m4sterchain/mesapy | ed546d59a21b36feb93e2309d5c6b75aa0ad95c9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | rpython/jit/metainterp/optimizeopt/simplify.py | m4sterchain/mesapy | ed546d59a21b36feb93e2309d5c6b75aa0ad95c9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | rpython/jit/metainterp/optimizeopt/simplify.py | m4sterchain/mesapy | ed546d59a21b36feb93e2309d5c6b75aa0ad95c9 | [
"Apache-2.0",
"OpenSSL"
] | 30 | 2018-08-20T03:16:34.000Z | 2022-01-12T17:39:22.000Z | from rpython.jit.metainterp.optimizeopt.optimizer import Optimization
from rpython.jit.metainterp.optimizeopt.util import make_dispatcher_method
from rpython.jit.metainterp.resoperation import ResOperation, rop, OpHelpers
from rpython.jit.metainterp.history import TargetToken, JitCellToken
class OptSimplify(Optimizati... | 39.098765 | 78 | 0.670666 | 393 | 3,167 | 5.117048 | 0.272265 | 0.083541 | 0.055694 | 0.044754 | 0.257086 | 0.174043 | 0.126305 | 0.042765 | 0.042765 | 0.042765 | 0 | 0.001264 | 0.25071 | 3,167 | 80 | 79 | 39.5875 | 0.846186 | 0.322703 | 0 | 0.186047 | 0 | 0 | 0.004245 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 1 | 0.232558 | false | 0.093023 | 0.093023 | 0 | 0.581395 | 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 |
030a485560be36500f30e854b11b6113dbdf265a | 1,240 | py | Python | api/migrations/0011_auto_20171016_1638.py | gis4dis-mobile/gis4dis-backend | 26c3a21c67233091d8564ff4a05f2e38175fa784 | [
"BSD-3-Clause"
] | 2 | 2018-12-21T14:47:35.000Z | 2019-01-31T15:47:45.000Z | api/migrations/0011_auto_20171016_1638.py | gis4dis-mobile/gis4dis-backend | 26c3a21c67233091d8564ff4a05f2e38175fa784 | [
"BSD-3-Clause"
] | null | null | null | api/migrations/0011_auto_20171016_1638.py | gis4dis-mobile/gis4dis-backend | 26c3a21c67233091d8564ff4a05f2e38175fa784 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2017-10-16 16:38
from __future__ import unicode_literals
import django.contrib.gis.db.models.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0010_remove_metadataobservation_municipali... | 29.52381 | 100 | 0.603226 | 114 | 1,240 | 6.421053 | 0.517544 | 0.061475 | 0.191257 | 0.218579 | 0.295082 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0.032694 | 0.284677 | 1,240 | 41 | 101 | 30.243902 | 0.792559 | 0.054839 | 0 | 0.382353 | 1 | 0 | 0.155689 | 0.037639 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.088235 | 0 | 0.176471 | 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 |
0315528a1d045564d798030d49eaa5512773d0a4 | 329 | py | Python | dds_web/routes.py | ewels/dds_web | f77fbfe2cb1ef04786eb5650ce60988d97e76669 | [
"BSD-3-Clause"
] | null | null | null | dds_web/routes.py | ewels/dds_web | f77fbfe2cb1ef04786eb5650ce60988d97e76669 | [
"BSD-3-Clause"
] | null | null | null | dds_web/routes.py | ewels/dds_web | f77fbfe2cb1ef04786eb5650ce60988d97e76669 | [
"BSD-3-Clause"
] | null | null | null | """Application routes."""
from flask import render_template
from flask import current_app as app
@app.route("/")
def home():
"""Home page."""
return render_template("home.html")
@app.errorhandler(404)
def page_not_found(e):
# note that we set the 404 status explicitly
return render_template("404.htm... | 20.5625 | 48 | 0.705167 | 47 | 329 | 4.808511 | 0.595745 | 0.185841 | 0.132743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043636 | 0.164134 | 329 | 15 | 49 | 21.933333 | 0.778182 | 0.224924 | 0 | 0 | 0 | 0 | 0.07377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 |
031617c32a83b9be96977fb2fbe8c141eaee67b4 | 1,132 | py | Python | data_transfer_system/dts_server/TcpNet.py | wkddnfls/dsem_iot_ms | 65d6705f2b873e39029d66deae5cfe38640b56fb | [
"MIT"
] | null | null | null | data_transfer_system/dts_server/TcpNet.py | wkddnfls/dsem_iot_ms | 65d6705f2b873e39029d66deae5cfe38640b56fb | [
"MIT"
] | null | null | null | data_transfer_system/dts_server/TcpNet.py | wkddnfls/dsem_iot_ms | 65d6705f2b873e39029d66deae5cfe38640b56fb | [
"MIT"
] | 2 | 2020-11-27T07:12:00.000Z | 2022-01-27T05:30:23.000Z | #!/usr/bin/env python
# coding: utf-8
# In[4]:
# 외부 모듈 socket 사용함으로 설치해줄 것
# 다른 버전의 PYthon 작동은 확인 안 해봄
import socket
Receive_Buffersize = 4096
def ipcheck():
return socket.gethostbyname(socket.getfqdn())
class TcpNet:
def __init__(self): # 생성자
self.com_socket=socket.socket() # 소켓객체생성
self.C... | 27.609756 | 71 | 0.657244 | 164 | 1,132 | 4.45122 | 0.445122 | 0.057534 | 0.106849 | 0.041096 | 0.112329 | 0.112329 | 0 | 0 | 0 | 0 | 0 | 0.013544 | 0.217314 | 1,132 | 40 | 72 | 28.3 | 0.810384 | 0.219965 | 0 | 0 | 0 | 0 | 0.011587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.041667 | 0.125 | 0.583333 | 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 |
032361d41fa32cc515139e10bd9d15818eb7e7f6 | 50 | py | Python | ga4mp/__init__.py | admariner/GA4-Measurement-Protocol-Python | c42cb0f62be6d7fea2f96e880559e513d7707672 | [
"BSD-3-Clause"
] | 19 | 2020-11-18T20:49:12.000Z | 2022-02-08T04:49:36.000Z | ga4mp/__init__.py | admariner/GA4-Measurement-Protocol-Python | c42cb0f62be6d7fea2f96e880559e513d7707672 | [
"BSD-3-Clause"
] | 18 | 2020-11-20T21:04:20.000Z | 2022-01-20T03:28:52.000Z | ga4mp/__init__.py | admariner/GA4-Measurement-Protocol-Python | c42cb0f62be6d7fea2f96e880559e513d7707672 | [
"BSD-3-Clause"
] | 6 | 2020-11-18T15:16:44.000Z | 2022-01-18T01:24:19.000Z | from ga4mp.ga4mp import Ga4mp
__all__ = ['Ga4mp'] | 16.666667 | 29 | 0.74 | 7 | 50 | 4.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.14 | 50 | 3 | 30 | 16.666667 | 0.674419 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 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 |
0332de060bb076e63114c0f992acdbda06d18144 | 1,624 | py | Python | src/utils.py | HephaestusProject/seq2seq-att | 383f72d8bb46bdd4d66f0f7838f39c94eeb069b9 | [
"MIT"
] | null | null | null | src/utils.py | HephaestusProject/seq2seq-att | 383f72d8bb46bdd4d66f0f7838f39c94eeb069b9 | [
"MIT"
] | 7 | 2020-11-01T12:29:58.000Z | 2020-12-07T01:11:49.000Z | src/utils.py | HephaestusProject/seq2seq-att | 383f72d8bb46bdd4d66f0f7838f39c94eeb069b9 | [
"MIT"
] | null | null | null | import functools
from typing import Tuple
from omegaconf import DictConfig, OmegaConf
from torch.utils.data import DataLoader
from src.data import MNIST
class Config:
"""Config: yaml parser using OmegaConf"""
def __init__(self) -> None:
self.configs = OmegaConf.create()
def add_dataset(self, c... | 27.066667 | 87 | 0.666872 | 208 | 1,624 | 5.081731 | 0.293269 | 0.104068 | 0.070956 | 0.064333 | 0.25071 | 0.226112 | 0.143803 | 0.143803 | 0 | 0 | 0 | 0 | 0.210591 | 1,624 | 59 | 88 | 27.525424 | 0.824493 | 0.021552 | 0 | 0.1 | 0 | 0 | 0.04801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.125 | 0.125 | 0.625 | 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 |
033c59293350b5d7b271bcb23e057a8a28c4cacd | 91 | py | Python | calcbsimpvol/src/__init__.py | erkandem/calcbsimpvol | 2ccae56dce825f22c32cd89bb9506cb002afa16e | [
"MIT"
] | 13 | 2020-02-24T02:44:45.000Z | 2021-10-15T08:07:14.000Z | calcbsimpvol/src/__init__.py | erkandem/calcbsimpvol | 2ccae56dce825f22c32cd89bb9506cb002afa16e | [
"MIT"
] | 6 | 2020-03-24T21:00:07.000Z | 2021-08-03T19:48:48.000Z | calcbsimpvol/src/__init__.py | erkandem/calcbsimpvol | 2ccae56dce825f22c32cd89bb9506cb002afa16e | [
"MIT"
] | 4 | 2020-01-07T12:11:36.000Z | 2021-12-14T08:31:48.000Z | from .calcbsimpvol import (
calcbsimpvol,
_core,
_fcnv,
_fcnN,
_fcnn
)
| 11.375 | 27 | 0.593407 | 8 | 91 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32967 | 91 | 7 | 28 | 13 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 |
035270d7afcd35b6a8bd3fbcc9cbd5f5afa5e96d | 253 | py | Python | tableau/json_to_csv.py | moon4869/Data_visualization_course_design | 1f4cfc66c8368b4d97f33b9877a24193b94cd634 | [
"MIT"
] | null | null | null | tableau/json_to_csv.py | moon4869/Data_visualization_course_design | 1f4cfc66c8368b4d97f33b9877a24193b94cd634 | [
"MIT"
] | null | null | null | tableau/json_to_csv.py | moon4869/Data_visualization_course_design | 1f4cfc66c8368b4d97f33b9877a24193b94cd634 | [
"MIT"
] | null | null | null | import json
with open('maoyan.json', 'r', encoding='utf-8') as f:
data = json.load(f)
ctry = data['score']
with open('score.csv', 'a', encoding='utf-8') as f1:
for k, v in ctry.items():
f1.write(k + ',' + str(v) + '\n')
| 28.111111 | 56 | 0.521739 | 41 | 253 | 3.219512 | 0.634146 | 0.121212 | 0.181818 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.256917 | 253 | 8 | 57 | 31.625 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0.158103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ceefa917d8e7a8ebf244098549e179cf60d6c381 | 165 | py | Python | pynovice/tmp_classification/web_py/tmp1.py | wqwangchn/novice | d52190a9cd5045726e49aff8610b718636c304c7 | [
"MIT"
] | 2 | 2020-06-28T08:30:47.000Z | 2020-11-04T07:55:42.000Z | pynovice/tmp_classification/web_py/tmp1.py | wqwangchn/novice | d52190a9cd5045726e49aff8610b718636c304c7 | [
"MIT"
] | 8 | 2020-11-13T18:56:02.000Z | 2022-02-10T03:16:52.000Z | pynovice/tmp_classification/web_py/tmp1.py | wqwangchn/novice | d52190a9cd5045726e49aff8610b718636c304c7 | [
"MIT"
] | 2 | 2020-09-17T00:12:36.000Z | 2020-11-04T07:55:55.000Z | # coding=utf-8
# /usr/bin/env python
'''
Author: wenqiangw
Email: wenqiangw@opera.com
Date: 2020-06-11 10:12
Desc:
'''
import time
time.sleep(1)
print("dsafsafa..") | 13.75 | 26 | 0.69697 | 27 | 165 | 4.259259 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 0.115152 | 165 | 12 | 27 | 13.75 | 0.691781 | 0.648485 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cef7a1490bc531adeaad23de5c213ace20a4d1ce | 1,288 | py | Python | core/services.py | sameerapriya/startupmanch | 78e196e870490d2b5bd4d613fbe235e7cd6c7682 | [
"MIT"
] | null | null | null | core/services.py | sameerapriya/startupmanch | 78e196e870490d2b5bd4d613fbe235e7cd6c7682 | [
"MIT"
] | 5 | 2021-03-30T14:06:08.000Z | 2021-09-22T19:26:28.000Z | core/services.py | sameerapriya/startupmanch | 78e196e870490d2b5bd4d613fbe235e7cd6c7682 | [
"MIT"
] | null | null | null | import json
import requests
def get_data(url):
r = requests.get(url)
company_dic = r.json()
company_list = []
for i in range(len(company_dic['records'])):
company_list.append(company_dic['records'][i])
return company_list
def get_companies():
urls = ['https://api.data.gov.in/resource... | 53.666667 | 180 | 0.747671 | 151 | 1,288 | 6.317881 | 0.384106 | 0.041929 | 0.062893 | 0.078616 | 0.583857 | 0.583857 | 0.557652 | 0.557652 | 0.469602 | 0.469602 | 0 | 0.278122 | 0.123447 | 1,288 | 24 | 181 | 53.666667 | 0.566873 | 0 | 0 | 0 | 0 | 0.25 | 0.650116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cefa8de9d2780d40afe5552421ae0da72f384939 | 2,923 | py | Python | stubs.min/Autodesk/Revit/UI/__init___parts/PromptForFamilyInstancePlacementOptions.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/Autodesk/Revit/UI/__init___parts/PromptForFamilyInstancePlacementOptions.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/Autodesk/Revit/UI/__init___parts/PromptForFamilyInstancePlacementOptions.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class PromptForFamilyInstancePlacementOptions(object,IDisposable):
"""
This class contains options to control the behavior of interactive placement of family instances.
PromptForFamilyInstancePlacementOptions(other: PromptForFamilyInstancePlacementOptions)
PromptForFamilyInstancePlacementOptions()
"""
... | 43.626866 | 215 | 0.761888 | 305 | 2,923 | 7.042623 | 0.337705 | 0.055866 | 0.03352 | 0.044693 | 0.175512 | 0.154097 | 0.154097 | 0.154097 | 0.154097 | 0.154097 | 0 | 0 | 0.143004 | 2,923 | 66 | 216 | 44.287879 | 0.857485 | 0.280534 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0.35 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
30142b9353b2460cd55b4e62f29dbd8df50e6c6c | 102 | py | Python | module/templates/python/function.py | lydia-duncan/pychapel | cb5b73c86ae2517f028a23350086fd1e9ac39233 | [
"Apache-2.0"
] | 16 | 2015-09-22T11:37:53.000Z | 2021-02-27T01:55:26.000Z | module/templates/python/function.py | lydia-duncan/pychapel | cb5b73c86ae2517f028a23350086fd1e9ac39233 | [
"Apache-2.0"
] | 66 | 2015-01-02T18:22:47.000Z | 2021-10-13T04:43:34.000Z | module/templates/python/function.py | lydia-duncan/pychapel | cb5b73c86ae2517f028a23350086fd1e9ac39233 | [
"Apache-2.0"
] | 17 | 2015-06-23T18:26:20.000Z | 2021-11-18T01:14:39.000Z | @Chapel(ename="%(ename)s", sfile="%(sfile)s"%(extras)s)
def %(pname)s(%(args)s):
return %(rtype)s
| 25.5 | 55 | 0.598039 | 17 | 102 | 3.588235 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 102 | 3 | 56 | 34 | 0.663043 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 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 |
3018986599655163b260329655689a08940079b5 | 173 | py | Python | api-dev/venv/lib/python3.6/site-packages/eth_typing/ethpm.py | twaddle-dev/CoVid-19 | 37b1ca12d7ca1a066ab1c0d4a02d9b038d44e62f | [
"Apache-2.0"
] | 61 | 2019-07-03T07:40:17.000Z | 2022-03-06T13:30:53.000Z | api-dev/venv/lib/python3.6/site-packages/eth_typing/ethpm.py | twaddle-dev/CoVid-19 | 37b1ca12d7ca1a066ab1c0d4a02d9b038d44e62f | [
"Apache-2.0"
] | 105 | 2019-07-25T08:48:59.000Z | 2022-03-23T03:47:34.000Z | api-dev/venv/lib/python3.6/site-packages/eth_typing/ethpm.py | twaddle-dev/CoVid-19 | 37b1ca12d7ca1a066ab1c0d4a02d9b038d44e62f | [
"Apache-2.0"
] | 61 | 2019-07-03T06:58:42.000Z | 2022-02-16T08:50:14.000Z | from typing import (
Any,
Dict,
NewType,
)
ContractName = NewType('ContractName', str)
Manifest = NewType('Manifest', Dict[str, Any])
URI = NewType('URI', str)
| 17.3 | 46 | 0.653179 | 20 | 173 | 5.65 | 0.5 | 0.336283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196532 | 173 | 9 | 47 | 19.222222 | 0.81295 | 0 | 0 | 0 | 0 | 0 | 0.132948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 |
3029384d78bc8818b705f1aff0baaddf58f0e4ed | 37 | py | Python | gym_socks/kernel/__init__.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | gym_socks/kernel/__init__.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | 1 | 2021-11-09T21:15:26.000Z | 2021-11-09T21:15:26.000Z | gym_socks/kernel/__init__.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | __all__ = ["metrics", "probability"]
| 18.5 | 36 | 0.675676 | 3 | 37 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
302ed23b38e5590529682378f8b3e2622020f7de | 294 | py | Python | Spider/test2.py | aspxcor/Ming-Dynasty-Knowledge-Graph | 576cbbd86ca61d415d18bb5d6c60feac56357693 | [
"MIT"
] | 3 | 2021-12-12T12:11:45.000Z | 2022-02-09T03:12:58.000Z | Spider/test2.py | aspxcor/Ming-Dynasty-Knowledge-Graph | 576cbbd86ca61d415d18bb5d6c60feac56357693 | [
"MIT"
] | null | null | null | Spider/test2.py | aspxcor/Ming-Dynasty-Knowledge-Graph | 576cbbd86ca61d415d18bb5d6c60feac56357693 | [
"MIT"
] | 1 | 2022-02-09T03:13:00.000Z | 2022-02-09T03:13:00.000Z | import dbExe
ra='朱元璋'
relationship="辅佐"
rb="刘伯温"
des="刘伯温以辅佐明太祖朱元璋完成帝业、开创明朝并保持国家安定,因而驰名天下,被后人比作为诸葛武侯。刘伯温以辅佐明太祖朱元璋完成帝业、开创明朝并保持国家安定,因而驰名天下,被后人比作为诸葛武侯。"
#
db=dbExe.db()
db.add("relationship",dbExe.combineKey(["RA","RB","relationship","description"]),dbExe.combineData([ra,rb,relationship,des]))
| 26.727273 | 125 | 0.772109 | 35 | 294 | 6.485714 | 0.514286 | 0.237885 | 0.290749 | 0.378855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037415 | 294 | 10 | 126 | 29.4 | 0.80212 | 0 | 0 | 0 | 0 | 0 | 0.481229 | 0.320819 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
303ff3f37a9f92e36b0b774464d3332db88b86f0 | 1,631 | py | Python | base/views.py | shah-deep/Smart-Guidance | f757c3fc56054f7418d1ca17e0b81c4916c2a363 | [
"Apache-2.0"
] | 2 | 2021-11-26T09:11:37.000Z | 2021-12-09T14:59:36.000Z | base/views.py | shah-deep/Smart-Guidance | f757c3fc56054f7418d1ca17e0b81c4916c2a363 | [
"Apache-2.0"
] | null | null | null | base/views.py | shah-deep/Smart-Guidance | f757c3fc56054f7418d1ca17e0b81c4916c2a363 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render, redirect
from .models import Topic
# Create your views here.
def home(request):
# print(request)
topics = Topic.objects.all()
context = {'topics': topics}
return render(request,'base/index.html', context)
def topic_chemistry(request):
topics = Topic.objects.fi... | 30.773585 | 57 | 0.702023 | 194 | 1,631 | 5.860825 | 0.185567 | 0.094987 | 0.150396 | 0.182058 | 0.529464 | 0.529464 | 0.295515 | 0 | 0 | 0 | 0 | 0 | 0.157572 | 1,631 | 52 | 58 | 31.365385 | 0.827511 | 0.023299 | 0 | 0.210526 | 0 | 0 | 0.160377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236842 | false | 0 | 0.052632 | 0 | 0.526316 | 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 |
305561f404fe46c49c0d12f7693bb5c7f8baa6fc | 1,171 | py | Python | lsql/judge/migrations/0015_auto_20200720_1548.py | Tamiflu9/lsql | 5e2620eedd32949af85ea885cb54fe0f16defd0d | [
"MIT"
] | 2 | 2020-07-23T18:44:46.000Z | 2021-04-19T07:10:48.000Z | lsql/judge/migrations/0015_auto_20200720_1548.py | Tamiflu9/lsql | 5e2620eedd32949af85ea885cb54fe0f16defd0d | [
"MIT"
] | 93 | 2020-09-14T12:35:44.000Z | 2021-12-13T21:08:47.000Z | lsql/judge/migrations/0015_auto_20200720_1548.py | Tamiflu9/lsql | 5e2620eedd32949af85ea885cb54fe0f16defd0d | [
"MIT"
] | 18 | 2020-09-24T13:38:28.000Z | 2021-04-19T09:24:19.000Z | # Generated by Django 3.0.7 on 2020-07-20 13:48
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('judge', '0014_auto_20200720_1544'),
]
operations = [
migrations.AlterField(
model_name='problem',
... | 29.275 | 123 | 0.58924 | 116 | 1,171 | 5.801724 | 0.439655 | 0.148588 | 0.185736 | 0.215453 | 0.511144 | 0.511144 | 0.451709 | 0.380386 | 0.255572 | 0.255572 | 0 | 0.066667 | 0.295474 | 1,171 | 39 | 124 | 30.025641 | 0.749091 | 0.038429 | 0 | 0.484848 | 1 | 0 | 0.100534 | 0.020463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 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 |
30773025587a1740b1673b93934617af9c3d87a4 | 88 | py | Python | src/flask_pyoidc/__init__.py | KLMatlock/Flask-pyoidc-oda | 132cdbd56889e87a74655b22e8798067ee2af222 | [
"Apache-2.0"
] | null | null | null | src/flask_pyoidc/__init__.py | KLMatlock/Flask-pyoidc-oda | 132cdbd56889e87a74655b22e8798067ee2af222 | [
"Apache-2.0"
] | 2 | 2020-08-26T19:02:11.000Z | 2021-03-29T20:47:46.000Z | src/flask_pyoidc/__init__.py | KLMatlock/Flask-pyoidc-oda | 132cdbd56889e87a74655b22e8798067ee2af222 | [
"Apache-2.0"
] | null | null | null | from .flask_pyoidc import OIDCAuthentication, NoAuthenticationError
__version__="0.6.3" | 29.333333 | 67 | 0.852273 | 10 | 88 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.068182 | 88 | 3 | 68 | 29.333333 | 0.817073 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 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 |
307ca241d2e95b60e226fe36779eb1103ecb85ea | 436 | py | Python | students/k3342/laboratory_works/Евшина_Яна/lab2/dogs/migrations/0006_auto_20200606_1531.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 10 | 2020-03-20T09:06:12.000Z | 2021-07-27T13:06:02.000Z | students/k3342/laboratory_works/Евшина_Яна/lab2/dogs/migrations/0006_auto_20200606_1531.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 134 | 2020-03-23T09:47:48.000Z | 2022-03-12T01:05:19.000Z | students/k3342/laboratory_works/Евшина_Яна/lab2/dogs/migrations/0006_auto_20200606_1531.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 71 | 2020-03-20T12:45:56.000Z | 2021-10-31T19:22:25.000Z | # Generated by Django 3.0.4 on 2020-06-06 15:31
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('dogs', '0005_auto_20200601_2201'),
]
operations = [
migrations.RemoveField(
model_name='registration',
name='num',
)... | 19.818182 | 47 | 0.56422 | 42 | 436 | 5.738095 | 0.714286 | 0.174274 | 0.215768 | 0.248963 | 0.381743 | 0.381743 | 0 | 0 | 0 | 0 | 0 | 0.105085 | 0.323395 | 436 | 21 | 48 | 20.761905 | 0.711864 | 0.103211 | 0 | 0.4 | 1 | 0 | 0.151671 | 0.059126 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 |
061d4422d5220ab535e63b5a4aea68a2e017c646 | 138 | py | Python | tests/test-two/two/app.py | amaas-fintech/chalicedoc | 828540d6cf8c2f919444ec55325a50a13a52be91 | [
"Apache-2.0"
] | 2 | 2018-01-05T03:16:05.000Z | 2021-01-21T21:03:26.000Z | tests/test-two/two/app.py | amaas-fintech/chalicedoc | 828540d6cf8c2f919444ec55325a50a13a52be91 | [
"Apache-2.0"
] | 1 | 2021-06-01T21:39:36.000Z | 2021-06-01T21:39:36.000Z | tests/test-two/two/app.py | amaas-fintech/chalicedoc | 828540d6cf8c2f919444ec55325a50a13a52be91 | [
"Apache-2.0"
] | null | null | null | """A second app."""
from chalice import Chalice
app = Chalice(app_name='second')
@app.route('/b')
def index_b():
"""Project B."""
| 12.545455 | 32 | 0.615942 | 20 | 138 | 4.15 | 0.6 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 138 | 10 | 33 | 13.8 | 0.721739 | 0.173913 | 0 | 0 | 0 | 0 | 0.07767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0626158c69e8b20dfeb770255e22bfc143c57d7a | 83 | py | Python | proj/apps.py | lucasviei/Projeto-Estagio | bbceb65305b6c8b28d301be4e7fcd3455a279fcf | [
"MIT"
] | 1 | 2020-10-06T03:57:28.000Z | 2020-10-06T03:57:28.000Z | proj/apps.py | lucasviei/Projeto-Estagio | bbceb65305b6c8b28d301be4e7fcd3455a279fcf | [
"MIT"
] | 1 | 2022-01-26T08:54:44.000Z | 2022-01-26T08:54:44.000Z | proj/apps.py | lucasviei/Projeto-Estagio | bbceb65305b6c8b28d301be4e7fcd3455a279fcf | [
"MIT"
] | 3 | 2022-01-20T14:55:02.000Z | 2022-01-26T11:16:35.000Z | from django.apps import AppConfig
class ProjConfig(AppConfig):
name = 'proj'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 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 |
0632a54a8dfb219aaa0be309a492b91dc2023988 | 260 | py | Python | sars_dashboard/voc_definitions.py | thomasbtf/sars-dashboard | 4b98e9549af580c1a1822ccdeb7b81dd1802752a | [
"MIT"
] | null | null | null | sars_dashboard/voc_definitions.py | thomasbtf/sars-dashboard | 4b98e9549af580c1a1822ccdeb7b81dd1802752a | [
"MIT"
] | 46 | 2021-12-11T20:39:41.000Z | 2022-03-28T02:27:31.000Z | sars_dashboard/voc_definitions.py | thomasbtf/sars-dashboard | 4b98e9549af580c1a1822ccdeb7b81dd1802752a | [
"MIT"
] | null | null | null | VOCS = {
"Alpha (B.1.1.7)": "B.1.1.7",
"Beta (B.1.351)": "B.1.351",
"Gamma (P.1)": "P.1",
"Delta (B.1.617.2)": "B.1.617.2",
"Delta Subtypes (AY.*)": r"AY.*",
"Omicron (B.1.1.529)": "B.1.1.529",
"Omicron Subtypes (BA.*)": r"BA.*",
}
| 26 | 39 | 0.438462 | 50 | 260 | 2.28 | 0.36 | 0.140351 | 0.105263 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17561 | 0.211538 | 260 | 9 | 40 | 28.888889 | 0.380488 | 0 | 0 | 0 | 0 | 0 | 0.626923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0637cf8069db2334c9a424b232b27bd7a958686a | 283 | py | Python | Python/leetcode/RestoreIpAddresses.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | 2 | 2015-12-02T06:44:01.000Z | 2016-05-04T21:40:54.000Z | Python/leetcode/RestoreIpAddresses.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | null | null | null | Python/leetcode/RestoreIpAddresses.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | null | null | null | '''
Created on 1.12.2016
@author: Darren
''''''
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135",
return ["255.255.11.135", "255.255.111.35"]. (Order does not matter)
"
'''
| 18.866667 | 107 | 0.667845 | 40 | 283 | 4.725 | 0.9 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 0.194346 | 283 | 14 | 108 | 20.214286 | 0.653509 | 0.893993 | 0 | 0.285714 | 0 | 0.142857 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.142857 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
064ac31bfe012343850d7bf6b9be528795858062 | 5,977 | py | Python | adsk/drawing.py | DannoPeters/adsk | 3b328ebbc8ea0292ccfa33327f93c978e10cf88d | [
"MIT"
] | 1 | 2022-03-16T01:01:57.000Z | 2022-03-16T01:01:57.000Z | adsk/drawing.py | DannoPeters/adsk | 3b328ebbc8ea0292ccfa33327f93c978e10cf88d | [
"MIT"
] | null | null | null | adsk/drawing.py | DannoPeters/adsk | 3b328ebbc8ea0292ccfa33327f93c978e10cf88d | [
"MIT"
] | null | null | null | # This file is automatically generated for code intellisense only.
# It does not reflect the actual implementation.
from __future__ import annotations
from . import core
class PDFSheetsExport():
"""
The various options that define which sheets to print.
"""
def __init__(self):
pass
AllPDF... | 33.391061 | 137 | 0.647984 | 680 | 5,977 | 5.654412 | 0.244118 | 0.016645 | 0.017165 | 0.023407 | 0.417945 | 0.417945 | 0.417945 | 0.40026 | 0.371391 | 0.371391 | 0 | 0.004003 | 0.289443 | 5,977 | 178 | 138 | 33.578652 | 0.901342 | 0.497909 | 0 | 0.506329 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.316456 | false | 0.139241 | 0.025316 | 0.063291 | 0.64557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0650d4d11b639f7ba240034a59707194b6676757 | 110 | py | Python | ReadMe.py | nankris/Python-Basics-2-and-DS-libraries | d4394ee4a547fa16a2c1d2686bc667f92226a357 | [
"Apache-2.0"
] | null | null | null | ReadMe.py | nankris/Python-Basics-2-and-DS-libraries | d4394ee4a547fa16a2c1d2686bc667f92226a357 | [
"Apache-2.0"
] | null | null | null | ReadMe.py | nankris/Python-Basics-2-and-DS-libraries | d4394ee4a547fa16a2c1d2686bc667f92226a357 | [
"Apache-2.0"
] | null | null | null | This is python repo that has basic concepts involved
git pull origin master --allow-unrelated-histories
| 12.222222 | 52 | 0.781818 | 16 | 110 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 8 | 53 | 13.75 | 0.955556 | 0 | 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 |
065572446e8c98698d7ea4bbc1125372dfb7f624 | 116 | py | Python | vaws/model/version.py | GeoscienceAustralia/vaws | 19b31e2402f7d5ad4cbec864523567d7bc46720e | [
"Apache-2.0"
] | 6 | 2018-06-02T04:39:34.000Z | 2021-11-12T12:07:04.000Z | vaws/model/version.py | GeoscienceAustralia/vaws | 19b31e2402f7d5ad4cbec864523567d7bc46720e | [
"Apache-2.0"
] | null | null | null | vaws/model/version.py | GeoscienceAustralia/vaws | 19b31e2402f7d5ad4cbec864523567d7bc46720e | [
"Apache-2.0"
] | null | null | null | """
Single point of truth for version information
"""
VERSION_NO = '3.5.1'
VERSION_DESC = 'VAWS ' + VERSION_NO
| 16.571429 | 49 | 0.672414 | 17 | 116 | 4.411765 | 0.764706 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.198276 | 116 | 6 | 50 | 19.333333 | 0.774194 | 0.387931 | 0 | 0 | 0 | 0 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0656e17c4f7c76ba2f18411e1ff85c6b2aa8e065 | 4,997 | py | Python | src/abaqus/Material/Plastic/DruckerPrager/Extended/DruckerPrager.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Material/Plastic/DruckerPrager/Extended/DruckerPrager.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Material/Plastic/DruckerPrager/Extended/DruckerPrager.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .DruckerPragerCreep import DruckerPragerCreep
from .DruckerPragerHardening import DruckerPragerHardening
from .TriaxialTestData import TriaxialTestData
from ...Metal.RateDependent.RateDependent import RateDependent
class DruckerPrager:
"""The DruckerPrager object specifies the e... | 41.641667 | 128 | 0.662197 | 577 | 4,997 | 5.740035 | 0.284229 | 0.016908 | 0.027476 | 0.031703 | 0.42965 | 0.345411 | 0.287742 | 0.269626 | 0.241244 | 0.241244 | 0 | 0.004424 | 0.276166 | 4,997 | 119 | 129 | 41.991597 | 0.909317 | 0.726836 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.133333 | 0.333333 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
065f161c7f2ce8decaa698c517fb4e9ad6446dc0 | 108 | py | Python | foundation_public/apps.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 1 | 2020-07-16T10:58:23.000Z | 2020-07-16T10:58:23.000Z | foundation_public/apps.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 13 | 2018-11-30T02:29:39.000Z | 2022-03-11T23:35:49.000Z | foundation_public/apps.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | null | null | null | from django.apps import AppConfig
class FoundationPublicConfig(AppConfig):
name = 'foundation_public'
| 18 | 40 | 0.796296 | 11 | 108 | 7.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 41 | 21.6 | 0.913978 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 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 |
0670d711da5308769dee0f713b855d103468322a | 117 | py | Python | python/testData/refactoring/inlineFunction/callAsDefaultValue/main.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/inlineFunction/callAsDefaultValue/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/refactoring/inlineFunction/callAsDefaultValue/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo():
x = 1
y = 1
res = x + y
return res
x = 2
y = 2
def bar(arg=fo<caret>o()):
return arg | 10.636364 | 26 | 0.461538 | 23 | 117 | 2.347826 | 0.565217 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.393162 | 117 | 11 | 27 | 10.636364 | 0.704225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.444444 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
0695150f2b6fbda32f672cd4aca3c74d5cac965e | 3,901 | py | Python | python/eda/eda/tests/test_core.py | 32bitmicro/EDA | 476a7f6dda23a494788bfdfaa27dff7082a80d6d | [
"BSD-3-Clause"
] | 1 | 2019-06-05T20:01:19.000Z | 2019-06-05T20:01:19.000Z | python/eda/eda/tests/test_core.py | 32bitmicro/EDA | 476a7f6dda23a494788bfdfaa27dff7082a80d6d | [
"BSD-3-Clause"
] | null | null | null | python/eda/eda/tests/test_core.py | 32bitmicro/EDA | 476a7f6dda23a494788bfdfaa27dff7082a80d6d | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2014, Paweł Wodnicki
# All rights reserved.
'''
Created on Apr 15, 2014
@author: Pawel Paweł Wodnicki
'''
import unittest
from eda import *
class Test_Point(unittest.TestCase):
def setUp(self):
print
print("test Point - start")
def tearDown(self):
... | 31.97541 | 66 | 0.552679 | 496 | 3,901 | 4.241935 | 0.122984 | 0.359316 | 0.31654 | 0.152091 | 0.72481 | 0.67538 | 0.586977 | 0.576046 | 0.505703 | 0.486692 | 0 | 0.044787 | 0.284542 | 3,901 | 122 | 67 | 31.97541 | 0.709065 | 0.081774 | 0 | 0.608696 | 0 | 0 | 0.03426 | 0 | 0 | 0 | 0 | 0 | 0.586957 | 1 | 0.086957 | false | 0 | 0.021739 | 0 | 0.130435 | 0.065217 | 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 |
06a5ae77b7a3ff78b3d9f3965201e83ae1ffc72b | 506 | py | Python | ue_site.py | RainbowRedux/RainbowSixFileConverters | 1f755f781ee85af068ba7bcc73d4960998363794 | [
"MIT"
] | 6 | 2020-03-28T14:32:25.000Z | 2022-02-03T00:41:24.000Z | ue_site.py | RainbowRedux/RainbowSixFileConverters | 1f755f781ee85af068ba7bcc73d4960998363794 | [
"MIT"
] | 46 | 2020-03-20T06:27:30.000Z | 2022-03-11T23:36:12.000Z | ue_site.py | RainbowRedux/RainbowSixFileConverters | 1f755f781ee85af068ba7bcc73d4960998363794 | [
"MIT"
] | 4 | 2020-02-09T01:55:44.000Z | 2020-07-22T12:52:43.000Z | """This module should import and initialize all modules required by unreal"""
# This module is only for importing and initializing the unreal environment
# Because of this, ignore unused import statements
# pylint: disable=unused-import
from PIL import Image # type: ignore
import unreal_engine # type: ignore
from un... | 33.733333 | 77 | 0.822134 | 65 | 506 | 6.369231 | 0.553846 | 0.072464 | 0.067633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 506 | 14 | 78 | 36.142857 | 0.947368 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 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 |
ebf0323526e67178e8c6132c300bbb262d02f95a | 448 | py | Python | socceraction/data/wyscout/__init__.py | pientist/socceraction | 7f8e666ee5da7c1890c72a2c72042d4c73b90fda | [
"MIT"
] | 371 | 2019-07-25T07:35:00.000Z | 2022-03-25T11:13:56.000Z | socceraction/data/wyscout/__init__.py | pientist/socceraction | 7f8e666ee5da7c1890c72a2c72042d4c73b90fda | [
"MIT"
] | 145 | 2019-08-29T12:49:55.000Z | 2022-03-31T09:35:05.000Z | socceraction/data/wyscout/__init__.py | pientist/socceraction | 7f8e666ee5da7c1890c72a2c72042d4c73b90fda | [
"MIT"
] | 101 | 2019-08-20T21:07:34.000Z | 2022-03-26T10:00:00.000Z | """Module for loading Wyscout event data."""
__all__ = [
'PublicWyscoutLoader',
'WyscoutLoader',
'WyscoutCompetitionSchema',
'WyscoutGameSchema',
'WyscoutPlayerSchema',
'WyscoutTeamSchema',
'WyscoutEventSchema',
]
from .loader import PublicWyscoutLoader, WyscoutLoader
from .schema import (... | 21.333333 | 54 | 0.725446 | 27 | 448 | 11.888889 | 0.666667 | 0.199377 | 0.330218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183036 | 448 | 20 | 55 | 22.4 | 0.877049 | 0.084821 | 0 | 0 | 0 | 0 | 0.314356 | 0.059406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ebfc39e9737cdae10eaa4074332e93e9e3e112c2 | 56 | py | Python | setup.py | jbalooka/falcon-rest | eafffe6dc6709f8f48b3b3d5afec903b6a3c366d | [
"Apache-2.0"
] | null | null | null | setup.py | jbalooka/falcon-rest | eafffe6dc6709f8f48b3b3d5afec903b6a3c366d | [
"Apache-2.0"
] | null | null | null | setup.py | jbalooka/falcon-rest | eafffe6dc6709f8f48b3b3d5afec903b6a3c366d | [
"Apache-2.0"
] | null | null | null | falcon, falcon-jsonify, falconjsonio, peewee, jsonpickle | 56 | 56 | 0.839286 | 6 | 56 | 7.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2318e522ea2bc5a84f6d9f2bb54c034192786a83 | 263 | py | Python | solved/15.py | vonas/euler | e9938a8db1380fb22c65b559c3b7d2355f46b623 | [
"MIT"
] | null | null | null | solved/15.py | vonas/euler | e9938a8db1380fb22c65b559c3b7d2355f46b623 | [
"MIT"
] | null | null | null | solved/15.py | vonas/euler | e9938a8db1380fb22c65b559c3b7d2355f46b623 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# https://projecteuler.net/problem=15
from math import factorial
def binomial(n, k):
return factorial(n) // factorial(k) // factorial(n - k)
def solve(n, m):
return binomial(n + m, n)
args = (20, 20)
solution = 137846528820
| 14.611111 | 59 | 0.657795 | 39 | 263 | 4.435897 | 0.615385 | 0.104046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089202 | 0.190114 | 263 | 17 | 60 | 15.470588 | 0.723005 | 0.21673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 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 |
2340f0f767f2a2a4c1df43d6a9f5edf5ebc1b122 | 268 | py | Python | simplekml/makeunicode.py | unhcfreg/DROP | 80dac9dcfeb8ed16d262d78f053464a2f4f10caf | [
"MIT"
] | 40 | 2017-08-28T01:55:27.000Z | 2022-03-16T12:35:14.000Z | simplekml/makeunicode.py | adamjaffeback/DROP | 80dac9dcfeb8ed16d262d78f053464a2f4f10caf | [
"MIT"
] | 2 | 2018-11-02T15:48:16.000Z | 2021-09-25T11:01:41.000Z | simplekml/makeunicode.py | adamjaffeback/DROP | 80dac9dcfeb8ed16d262d78f053464a2f4f10caf | [
"MIT"
] | 21 | 2017-05-11T20:59:34.000Z | 2022-02-02T09:35:51.000Z | """
Obtained from http://python3porting.com/noconv.html enable unicode support
in python 2 and 3.
"""
import sys
if sys.version < '3':
import codecs
def u(x):
return codecs.unicode_escape_decode(x)[0]
else:
def u(x):
return x
| 19.142857 | 75 | 0.619403 | 39 | 268 | 4.205128 | 0.717949 | 0.085366 | 0.060976 | 0.134146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02551 | 0.268657 | 268 | 13 | 76 | 20.615385 | 0.811224 | 0.347015 | 0 | 0.25 | 0 | 0 | 0.006494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
2353ea0979ad6b6eb929e54df46303e381e949a1 | 62 | py | Python | vscode_notebook/__init__.py | yangcheng/VSCodeNotebook | e0b8db08c037f6f135b9b5f28df18ce02d89d5e6 | [
"MIT"
] | 668 | 2018-02-13T11:44:39.000Z | 2022-03-15T17:31:24.000Z | vscode_notebook/__init__.py | yangcheng/VSCodeNotebook | e0b8db08c037f6f135b9b5f28df18ce02d89d5e6 | [
"MIT"
] | 9 | 2018-02-15T20:03:11.000Z | 2020-06-05T17:57:31.000Z | vscode_notebook/__init__.py | yangcheng/VSCodeNotebook | e0b8db08c037f6f135b9b5f28df18ce02d89d5e6 | [
"MIT"
] | 52 | 2018-02-14T18:31:27.000Z | 2022-02-02T22:18:21.000Z | SETTINGS_PATH = 'vscode_notebook/settings.json'
VERSION = 2.1
| 20.666667 | 47 | 0.790323 | 9 | 62 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.096774 | 62 | 2 | 48 | 31 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.467742 | 0.467742 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2353ffec0958de980c5920d9a3d992af972c6767 | 1,060 | py | Python | confab/tests/test_files.py | locationlabs/confab | a39c3d7aae11b2f373b8911b4f3caa75548a00c6 | [
"Apache-2.0"
] | 3 | 2015-01-23T09:39:25.000Z | 2022-02-25T15:47:26.000Z | confab/tests/test_files.py | locationlabs/confab | a39c3d7aae11b2f373b8911b4f3caa75548a00c6 | [
"Apache-2.0"
] | null | null | null | confab/tests/test_files.py | locationlabs/confab | a39c3d7aae11b2f373b8911b4f3caa75548a00c6 | [
"Apache-2.0"
] | 1 | 2021-09-08T09:52:11.000Z | 2021-09-08T09:52:11.000Z | """
Tests for file operations.
"""
from os.path import dirname, join
from unittest import TestCase
from nose.tools import eq_, ok_
from confab.files import _import
class TestImport(TestCase):
def setUp(self):
self.dir_name = join(dirname(__file__), 'data/default')
def test_import_empty(self):
... | 29.444444 | 75 | 0.666981 | 145 | 1,060 | 4.634483 | 0.386207 | 0.0625 | 0.098214 | 0.03869 | 0.25 | 0.130952 | 0.130952 | 0.130952 | 0 | 0 | 0 | 0 | 0.229245 | 1,060 | 35 | 76 | 30.285714 | 0.822521 | 0.142453 | 0 | 0.181818 | 0 | 0 | 0.065556 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.227273 | false | 0 | 0.681818 | 0 | 0.954545 | 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 |
2361aae029cacd6915859d947cd78344578a9136 | 498 | py | Python | Resene naloge/euler53.py | CadezDavid/ProjectEuler | 9e11aa5782fb600c98eba9e04766b3bd79acea0e | [
"MIT"
] | null | null | null | Resene naloge/euler53.py | CadezDavid/ProjectEuler | 9e11aa5782fb600c98eba9e04766b3bd79acea0e | [
"MIT"
] | null | null | null | Resene naloge/euler53.py | CadezDavid/ProjectEuler | 9e11aa5782fb600c98eba9e04766b3bd79acea0e | [
"MIT"
] | null | null | null | binomski_slovar = {(1, 1): 1}
for n in range(2, 101):
for r in range(n + 1):
if r == 0:
binomski_slovar[(n, r)] = 1
elif r == 1:
binomski_slovar[(n, r)] = n
elif r == n:
binomski_slovar[(n, r)] = binomski_slovar[(n - 1, r - 1)]
else:
... | 35.571429 | 99 | 0.512048 | 76 | 498 | 3.197368 | 0.328947 | 0.518519 | 0.432099 | 0.263374 | 0.349794 | 0.349794 | 0.349794 | 0.271605 | 0.271605 | 0 | 0 | 0.056213 | 0.321285 | 498 | 14 | 100 | 35.571429 | 0.662722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88bb0303e3f2357e9f7ee45d5e3bdaa6d76493bd | 76 | py | Python | python/zp/primjer_08.03.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/zp/primjer_08.03.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/zp/primjer_08.03.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | for i in range(1, 5):
print(i)
else:
print('Petlja for je gotova.')
| 15.2 | 34 | 0.592105 | 14 | 76 | 3.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.25 | 76 | 4 | 35 | 19 | 0.754386 | 0 | 0 | 0 | 0 | 0 | 0.276316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
88c99c2e1864dc311a6f1df903f8af0a45550085 | 1,022 | py | Python | single_page/migrations/0001_initial.py | AsjadIftikhar/dbhelp | e6e5526c1a7dc748081ede41bc2d0cca7f3379ca | [
"MIT"
] | 1 | 2022-02-03T07:45:04.000Z | 2022-02-03T07:45:04.000Z | single_page/migrations/0001_initial.py | AsjadIftikhar/dbhelp | e6e5526c1a7dc748081ede41bc2d0cca7f3379ca | [
"MIT"
] | null | null | null | single_page/migrations/0001_initial.py | AsjadIftikhar/dbhelp | e6e5526c1a7dc748081ede41bc2d0cca7f3379ca | [
"MIT"
] | null | null | null | # Generated by Django 4.0.1 on 2022-01-11 08:40
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='boss',
fields=[
('id', models.BigAutoField(... | 30.969697 | 117 | 0.554795 | 100 | 1,022 | 5.55 | 0.46 | 0.162162 | 0.194595 | 0.259459 | 0.587387 | 0.295496 | 0.295496 | 0.295496 | 0.295496 | 0.295496 | 0 | 0.046742 | 0.309198 | 1,022 | 32 | 118 | 31.9375 | 0.739377 | 0.044031 | 0 | 0.4 | 1 | 0 | 0.054359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.2 | 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 |
88cc6f69f3e5bcaa864c6812156266b02bcad497 | 2,495 | py | Python | tests/test_niko.py | jellehelsen/niko_homekit | 2b34c4cf3e35d3f1121cb72168377bc5d507dd18 | [
"MIT"
] | null | null | null | tests/test_niko.py | jellehelsen/niko_homekit | 2b34c4cf3e35d3f1121cb72168377bc5d507dd18 | [
"MIT"
] | null | null | null | tests/test_niko.py | jellehelsen/niko_homekit | 2b34c4cf3e35d3f1121cb72168377bc5d507dd18 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
import json
import threading
from socket import socket
from threading import Thread
from niko_homekit.niko import Niko
from . import controller, niko
def test_controller(controller):
sock = socket()
sock.connect(("127.0.0.1", controller.port))
sock.sendall(b"Hello")
... | 28.033708 | 64 | 0.672946 | 341 | 2,495 | 4.853372 | 0.202346 | 0.059819 | 0.080363 | 0.101511 | 0.704532 | 0.689426 | 0.689426 | 0.669486 | 0.669486 | 0.6429 | 0 | 0.033668 | 0.202405 | 2,495 | 88 | 65 | 28.352273 | 0.79799 | 0.185571 | 0 | 0.627119 | 0 | 0 | 0.065444 | 0 | 0 | 0 | 0 | 0 | 0.491525 | 1 | 0.016949 | false | 0.084746 | 0.118644 | 0 | 0.135593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
88df6939ac91c31fe1814ddaeb4e20483631c678 | 143 | py | Python | safe_relay_service/tokens/apps.py | gnosis/safe-relay-service | e4db2f9b85aab612653785766d4c1f4d16197197 | [
"MIT"
] | 48 | 2018-07-22T16:02:27.000Z | 2022-03-31T17:46:20.000Z | safe_relay_service/tokens/apps.py | gnosis/safe-relay-service | e4db2f9b85aab612653785766d4c1f4d16197197 | [
"MIT"
] | 264 | 2018-06-11T11:37:55.000Z | 2022-03-30T18:29:38.000Z | safe_relay_service/tokens/apps.py | gnosis/safe-relay-service | e4db2f9b85aab612653785766d4c1f4d16197197 | [
"MIT"
] | 24 | 2018-11-07T19:28:59.000Z | 2022-03-19T16:46:59.000Z | from django.apps import AppConfig
class TokensConfig(AppConfig):
name = "safe_relay_service.tokens"
verbose_name = "Ethereum Tokens"
| 20.428571 | 38 | 0.762238 | 17 | 143 | 6.235294 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160839 | 143 | 6 | 39 | 23.833333 | 0.883333 | 0 | 0 | 0 | 0 | 0 | 0.27972 | 0.174825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
88e4e774151033193854bc98106ec3c51a09e716 | 157 | py | Python | hdc-utility/model/engagement.py | YSRKEN/HDC_React2 | cba48a0563caef629169644254742f688a0e1ec7 | [
"MIT"
] | null | null | null | hdc-utility/model/engagement.py | YSRKEN/HDC_React2 | cba48a0563caef629169644254742f688a0e1ec7 | [
"MIT"
] | 13 | 2020-09-04T23:25:20.000Z | 2022-02-18T01:52:33.000Z | hdc-utility/model/engagement.py | YSRKEN/HDC_React2 | cba48a0563caef629169644254742f688a0e1ec7 | [
"MIT"
] | null | null | null | from enum import Enum
class Engagement(Enum):
CROSSING_T_AD = 0 # 丁字有利
PARALLEL = 1 # 同航戦
HEAD_ON = 2 # 反航戦
CROSSING_T_DIS = 3 # 丁字不利
| 17.444444 | 30 | 0.617834 | 24 | 157 | 3.833333 | 0.833333 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.312102 | 157 | 8 | 31 | 19.625 | 0.814815 | 0.10828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
00081905f59cacc48cca2881d82affae134b03fb | 875 | py | Python | src/data/template/TemplateFieldBuilder.py | DanielWieczorek/FancyReadmeBuilder | a0a91ec60a673be97d7a942ded5e1da659dda885 | [
"MIT"
] | null | null | null | src/data/template/TemplateFieldBuilder.py | DanielWieczorek/FancyReadmeBuilder | a0a91ec60a673be97d7a942ded5e1da659dda885 | [
"MIT"
] | null | null | null | src/data/template/TemplateFieldBuilder.py | DanielWieczorek/FancyReadmeBuilder | a0a91ec60a673be97d7a942ded5e1da659dda885 | [
"MIT"
] | null | null | null | """
Module for TemplateFieldBuilder
"""
from copy import copy
from src.model.template.RectangularTemplateField import RectangularTemplateField
__author__ = 'DWI'
class TemplateFieldBuilder(object):
"""
Abstract base class for classes building templates from files
"""
def __init__(self):
sel... | 28.225806 | 86 | 0.683429 | 100 | 875 | 5.78 | 0.5 | 0.046713 | 0.055363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006006 | 0.238857 | 875 | 31 | 87 | 28.225806 | 0.861862 | 0.329143 | 0 | 0 | 0 | 0 | 0.013308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.153846 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0032f32d1eec4631e9e6a0364dfb15dc66e1a4f8 | 189 | py | Python | python/randomString/e.py | tao12345666333/Talk-Is-Cheap | 7b2c5959828b6d8bbbad8144b9b97f9b77c6b34c | [
"MIT"
] | 4 | 2016-04-14T02:11:35.000Z | 2019-05-30T10:18:41.000Z | python/randomString/e.py | tao12345666333/Talk-Is-Cheap | 7b2c5959828b6d8bbbad8144b9b97f9b77c6b34c | [
"MIT"
] | 8 | 2016-07-21T16:02:17.000Z | 2021-09-23T02:49:34.000Z | python/randomString/e.py | tao12345666333/Talk-Is-Cheap | 7b2c5959828b6d8bbbad8144b9b97f9b77c6b34c | [
"MIT"
] | 2 | 2017-02-17T05:02:02.000Z | 2017-11-08T12:22:09.000Z | #!/usr/bin/env python
# coding=utf-8
import random
import string
def main():
print ''.join(random.sample(string.letters + string.digits, 16))
if __name__ == '__main__':
main()
| 13.5 | 68 | 0.666667 | 26 | 189 | 4.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.174603 | 189 | 13 | 69 | 14.538462 | 0.737179 | 0.174603 | 0 | 0 | 0 | 0 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cc4121a63aac761fe15a036bc17a73398445570b | 148 | py | Python | scripts/portal/move_701220000.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/move_701220000.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/move_701220000.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | if sm.hasQuestCompleted(62002): # [Shaoling Temple] Not a Demon
sm.warp(701220000, 1) # Shaolin Temple
else:
sm.openNpc(9310041) # Zhikeseng | 37 | 63 | 0.722973 | 20 | 148 | 5.35 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 0.162162 | 148 | 4 | 64 | 37 | 0.685484 | 0.364865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cc4bbfd5c8913bfe0c6871aa1dfc9ea92a7c6d96 | 229 | py | Python | src/python/WMCore/WMBS/Oracle/Files/Delete.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/python/WMCore/WMBS/Oracle/Files/Delete.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/python/WMCore/WMBS/Oracle/Files/Delete.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | #!/usr/bin/env python
"""
_DeleteFile_
Oracle implementation of File.Delete
"""
__all__ = []
from WMCore.WMBS.MySQL.Files.Delete import Delete as DeleteFileMySQL
class Delete(DeleteFileMySQL):
sql = DeleteFileMySQL.sql
| 14.3125 | 68 | 0.751092 | 27 | 229 | 6.148148 | 0.777778 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144105 | 229 | 15 | 69 | 15.266667 | 0.846939 | 0.310044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
cc4c140e38d6ba5651d72775981e3186011cb3ff | 234 | py | Python | authlib/oidc/core/grants/__init__.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 2 | 2021-04-26T18:17:37.000Z | 2021-04-28T21:39:45.000Z | authlib/oidc/core/grants/__init__.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 4 | 2021-03-19T08:17:59.000Z | 2021-06-10T19:34:36.000Z | authlib/oidc/core/grants/__init__.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 2 | 2021-05-24T20:34:12.000Z | 2022-03-26T07:46:17.000Z | from .code import OpenIDCode, OpenIDCodeGrant
from .implicit import OpenIDImplicitGrant
from .hybrid import OpenIDHybridGrant
__all__ = [
'OpenIDCode',
'OpenIDCodeGrant',
'OpenIDImplicitGrant',
'OpenIDHybridGrant',
]
| 21.272727 | 45 | 0.75641 | 18 | 234 | 9.611111 | 0.555556 | 0.289017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 234 | 10 | 46 | 23.4 | 0.882653 | 0 | 0 | 0 | 0 | 0 | 0.260684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cc501c8578b5dd9bae486a79052fc53472450901 | 372 | gyp | Python | binding.gyp | scritch007/node-slp | 93a8bec0ce9866260bbb2df385109acb988a84b3 | [
"MIT",
"Unlicense"
] | null | null | null | binding.gyp | scritch007/node-slp | 93a8bec0ce9866260bbb2df385109acb988a84b3 | [
"MIT",
"Unlicense"
] | 1 | 2020-09-16T15:25:29.000Z | 2020-09-16T15:25:29.000Z | binding.gyp | scritch007/node-slp | 93a8bec0ce9866260bbb2df385109acb988a84b3 | [
"MIT",
"Unlicense"
] | 2 | 2020-05-14T18:36:53.000Z | 2020-09-11T08:42:49.000Z | {
'targets': [
{
'target_name': 'slp',
'sources': [
'src/node_slp.cc',
'src/api/baton.cc',
'src/api/findsrvs.cc',
'src/api/findsrvtypes.cc',
'src/api/findattrs.cc',
'src/api/reg.cc',
'src/api/dereg.cc',
'src/api/delattrs.cc'
],
... | 18.6 | 34 | 0.430108 | 39 | 372 | 4.051282 | 0.461538 | 0.221519 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.36828 | 372 | 20 | 35 | 18.6 | 0.67234 | 0 | 0 | 0 | 0 | 0 | 0.493298 | 0.061662 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cc880cd89c7cf455dd639fe4a08b48bb10de6a57 | 1,925 | py | Python | dio/default_schedule.py | howonlee/diogenes8 | 75250eafef2d4db3ffff8a12633f7472618491e8 | [
"MIT"
] | 1 | 2018-12-13T19:37:07.000Z | 2018-12-13T19:37:07.000Z | dio/default_schedule.py | howonlee/diogenes8 | 75250eafef2d4db3ffff8a12633f7472618491e8 | [
"MIT"
] | 4 | 2018-12-18T19:09:35.000Z | 2019-05-05T05:09:14.000Z | dio/default_schedule.py | howonlee/diogenes8 | 75250eafef2d4db3ffff8a12633f7472618491e8 | [
"MIT"
] | null | null | null | import datetime
from .utils import days_in_year, get_date_hash
from .person import Person
from .schedule_abc import ScheduleABC
from typing import Optional, List, Tuple, Set, Iterator
class DefaultSchedule(ScheduleABC):
"""
Email everyone in a way that looks super random
2x per year for everyone...
"""... | 41.847826 | 110 | 0.702857 | 267 | 1,925 | 4.857678 | 0.359551 | 0.101773 | 0.074017 | 0.046261 | 0.12953 | 0.058597 | 0.058597 | 0 | 0 | 0 | 0 | 0.00848 | 0.203636 | 1,925 | 45 | 111 | 42.777778 | 0.837573 | 0.132987 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.241379 | false | 0.034483 | 0.172414 | 0.172414 | 0.655172 | 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 |
cc8e032b0372e0b009d2c1647141a05196e43a85 | 2,384 | py | Python | 3. Algorithms/06. Dynamic Programming/cheese and trap/cheese_and_trap.py | oneonlee/Computer-Science | 4a3e2bf92986b5db3967d788832bca353fe71e61 | [
"MIT"
] | 1 | 2021-10-19T20:06:55.000Z | 2021-10-19T20:06:55.000Z | 3. Algorithms/06. Dynamic Programming/cheese and trap/cheese_and_trap.py | oneonlee/Computer-Science | 4a3e2bf92986b5db3967d788832bca353fe71e61 | [
"MIT"
] | null | null | null | 3. Algorithms/06. Dynamic Programming/cheese and trap/cheese_and_trap.py | oneonlee/Computer-Science | 4a3e2bf92986b5db3967d788832bca353fe71e61 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""cheese_and_trap.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1C-UFBJN3wcnBYs6jXWaM2z6Fa9ZjF5GX
"""
def solution(p):
# r은 row(행), c는 column(열)을 의미
m = len(p) # 구성된 미로의 행의 크기
n = len(p[0]) # 구성된 미로의 열... | 33.111111 | 77 | 0.438339 | 481 | 2,384 | 2.170478 | 0.316008 | 0.137931 | 0.186782 | 0.229885 | 0.413793 | 0.389847 | 0.389847 | 0.359195 | 0.195402 | 0.110153 | 0 | 0.105537 | 0.356124 | 2,384 | 71 | 78 | 33.577465 | 0.573941 | 0.388003 | 0 | 0.102564 | 1 | 0 | 0.021724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0 | 0 | 0.051282 | 0.025641 | 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 |
cc910c9b6d0be60ca434c45c23954c3ccccd2df4 | 1,561 | py | Python | text/text.py | Goodjooy/AzurLane-GirlFrontLine-PaintingRestore | 1245ff752c88ca2b2ffe6fa31ea049e2ed6f379b | [
"MIT"
] | 49 | 2018-11-25T08:58:19.000Z | 2022-01-07T12:07:08.000Z | text/text.py | swordfate3/AzurLane-PaintingExtract | 4702f3529d6e86a8aa0e9fde7b62ac54b4b2c9b4 | [
"MIT"
] | 4 | 2018-12-30T05:42:12.000Z | 2021-06-03T11:05:28.000Z | text/text.py | swordfate3/AzurLane-PaintingExtract | 4702f3529d6e86a8aa0e9fde7b62ac54b4b2c9b4 | [
"MIT"
] | 9 | 2019-02-13T05:53:55.000Z | 2020-07-19T09:43:43.000Z | if self.frame.m_radioBox_type_use.GetSelection() == 0:
self.frame.m_textCtrl_mesh_limit.SetLabel(self.default_mesh_pattern)
self.frame.m_textCtrl_tex_limit.SetLabel(self.default_tex_pattern)
self.change_input(event)
self.change_div(event=event)
else:
self.frame.m_staticText15.Enable(Tr... | 33.934783 | 81 | 0.748238 | 230 | 1,561 | 4.713043 | 0.195652 | 0.207565 | 0.230627 | 0.132841 | 0.76107 | 0.637454 | 0.359779 | 0.142066 | 0 | 0 | 0 | 0.008296 | 0.150545 | 1,561 | 46 | 82 | 33.934783 | 0.809201 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cca17779280ac17041c6a3b846b690dc6eeebf4c | 144 | py | Python | web/transiq/datacollection/apps.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/datacollection/apps.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/datacollection/apps.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class DatacollectionConfig(AppConfig):
name = 'datacollection'
| 18 | 39 | 0.8125 | 15 | 144 | 7.466667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 7 | 40 | 20.571429 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ccb7f79bf805ad259f4295c639cd45b7b4abc12b | 58 | py | Python | Mundo #01/ex-24-a09-nomecidade.py | freitasSystemOutPrint/Python3 | e5e88fbe8e7e0c5472573d2c901844270385194b | [
"MIT"
] | 1 | 2020-06-02T07:31:16.000Z | 2020-06-02T07:31:16.000Z | Mundo #01/ex-24-a09-nomecidade.py | freitasSystemOutPrint/Python3 | e5e88fbe8e7e0c5472573d2c901844270385194b | [
"MIT"
] | null | null | null | Mundo #01/ex-24-a09-nomecidade.py | freitasSystemOutPrint/Python3 | e5e88fbe8e7e0c5472573d2c901844270385194b | [
"MIT"
] | null | null | null | n = input('Nome da sua cidade: ?')
print(n.find('são'))
| 11.6 | 34 | 0.586207 | 10 | 58 | 3.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 58 | 4 | 35 | 14.5 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ccbe673b1c7a273008d1d61ad6e8b57cdd5d93f5 | 126 | py | Python | numbers.py | Prussak/Python_Microsoft_Learn | 0446561c059c1704ac9d88c699a616bf92afc2d1 | [
"MIT"
] | null | null | null | numbers.py | Prussak/Python_Microsoft_Learn | 0446561c059c1704ac9d88c699a616bf92afc2d1 | [
"MIT"
] | null | null | null | numbers.py | Prussak/Python_Microsoft_Learn | 0446561c059c1704ac9d88c699a616bf92afc2d1 | [
"MIT"
] | null | null | null | print("first number: ")
first = int(input())
print("second number")
second = int(input())
sum = first + second
print(sum) | 21 | 24 | 0.650794 | 17 | 126 | 4.823529 | 0.411765 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 126 | 6 | 25 | 21 | 0.780952 | 0 | 0 | 0 | 0 | 0 | 0.221311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
cccecbbad62b95868b149edbb57fd3716c96deb8 | 544 | py | Python | psx/_dump_/3/_dump_ida_/overlay_3/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 15 | 2018-06-28T01:11:25.000Z | 2021-09-27T15:57:18.000Z | psx/_dump_/3/_dump_ida_/overlay_3/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-29T04:08:23.000Z | 2019-10-17T13:57:22.000Z | psx/_dump_/3/_dump_ida_/overlay_3/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-28T01:11:34.000Z | 2020-05-23T09:21:48.000Z | set_name(0x800A03CC, "VID_OpenModule__Fv", SN_NOWARN)
set_name(0x800A048C, "InitScreens__Fv", SN_NOWARN)
set_name(0x800A057C, "MEM_SetupMem__Fv", SN_NOWARN)
set_name(0x800A05A8, "SetupWorkRam__Fv", SN_NOWARN)
set_name(0x800A0638, "SYSI_Init__Fv", SN_NOWARN)
set_name(0x800A073C, "GM_Open__Fv", SN_NOWARN)
set_name(0x800A... | 45.333333 | 53 | 0.818015 | 86 | 544 | 4.55814 | 0.360465 | 0.196429 | 0.280612 | 0.331633 | 0.484694 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0.154599 | 0.060662 | 544 | 11 | 54 | 49.454545 | 0.612524 | 0 | 0 | 0 | 0 | 0 | 0.272059 | 0 | 0 | 0 | 0.202206 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ccd25dd745fc845d53f42a59ab12e3b8f1ad84fe | 705 | py | Python | small/game1.py | danesinoo/some-little-programms | ba72d6f0795e4f71aa3bdad291bfb4c59f317eb5 | [
"MIT"
] | null | null | null | small/game1.py | danesinoo/some-little-programms | ba72d6f0795e4f71aa3bdad291bfb4c59f317eb5 | [
"MIT"
] | null | null | null | small/game1.py | danesinoo/some-little-programms | ba72d6f0795e4f71aa3bdad291bfb4c59f317eb5 | [
"MIT"
] | null | null | null | tab=list(set([' 1',' 2',' 3',' 4',' 5',' 6',' 7',' 8',' 9','10','11','12','13','14','15',' ']))
while tab!=[' ', '15', '14', '13', '12', '11', '10', ' 9', ' 8', ' 7', ' 6', ' 5', ' 4', ' 3', ' 2', ' 1',]:
print(tab[:4]) or print(tab[4:8])
print(tab[8:12]) or print(tab[12:])
com=input('Enter a comand: ')... | 27.115385 | 109 | 0.419858 | 125 | 705 | 2.368 | 0.304 | 0.243243 | 0.121622 | 0.162162 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0 | 0.125475 | 0.253901 | 705 | 25 | 110 | 28.2 | 0.437262 | 0 | 0 | 0 | 0 | 0 | 0.150355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ae9f9ad30a8ba8c490948a23d43e94b31ba763f1 | 3,694 | py | Python | test/programytest/storage/stores/sql/store/test_properties.py | cdoebler1/AIML2 | ee692ec5ea3794cd1bc4cc8ec2a6b5e5c20a0d6a | [
"MIT"
] | 345 | 2016-11-23T22:37:04.000Z | 2022-03-30T20:44:44.000Z | test/programytest/storage/stores/sql/store/test_properties.py | MikeyBeez/program-y | 00d7a0c7d50062f18f0ab6f4a041068e119ef7f0 | [
"MIT"
] | 275 | 2016-12-07T10:30:28.000Z | 2022-02-08T21:28:33.000Z | test/programytest/storage/stores/sql/store/test_properties.py | VProgramMist/modified-program-y | f32efcafafd773683b3fe30054d5485fe9002b7d | [
"MIT"
] | 159 | 2016-11-28T18:59:30.000Z | 2022-03-20T18:02:44.000Z | import unittest
from unittest.mock import patch
import programytest.storage.engines as Engines
from programy.storage.stores.sql.config import SQLStorageConfiguration
from programy.storage.stores.sql.engine import SQLStorageEngine
from programy.storage.stores.sql.store.properties import SQLPropertyStore
from programytes... | 37.693878 | 125 | 0.722794 | 386 | 3,694 | 6.720207 | 0.137306 | 0.069391 | 0.07286 | 0.083269 | 0.787972 | 0.739399 | 0.709329 | 0.680031 | 0.680031 | 0.661141 | 0 | 0 | 0.187331 | 3,694 | 97 | 126 | 38.082474 | 0.864091 | 0 | 0 | 0.584416 | 0 | 0 | 0.032485 | 0.022469 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.12987 | false | 0 | 0.090909 | 0 | 0.233766 | 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 |
aeab3935ae03b6c301495fe43112f4778ead3bdd | 31,707 | py | Python | degiro_connector/quotecast/models/quotecast_pb2.py | Chavithra/degiro-connector | 425697d74683567cee27dcce63e28341ace6890a | [
"BSD-3-Clause"
] | 107 | 2020-08-07T13:16:48.000Z | 2022-03-31T10:18:34.000Z | degiro_connector/quotecast/models/quotecast_pb2.py | Chavithra/degiro-connector | 425697d74683567cee27dcce63e28341ace6890a | [
"BSD-3-Clause"
] | 74 | 2021-01-14T12:09:32.000Z | 2022-03-31T00:26:23.000Z | degiro_connector/quotecast/models/quotecast_pb2.py | Chavithra/degiro-connector | 425697d74683567cee27dcce63e28341ace6890a | [
"BSD-3-Clause"
] | 30 | 2020-12-16T12:17:34.000Z | 2022-03-19T21:30:50.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: degiro_connector/quotecast/models/quotecast.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflectio... | 43.374829 | 2,788 | 0.762166 | 3,892 | 31,707 | 5.863566 | 0.070658 | 0.048114 | 0.080759 | 0.07217 | 0.773673 | 0.727619 | 0.671925 | 0.647211 | 0.616055 | 0.596249 | 0 | 0.037803 | 0.119816 | 31,707 | 730 | 2,789 | 43.434247 | 0.77992 | 0.036617 | 0 | 0.689349 | 1 | 0.011834 | 0.18326 | 0.144963 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010355 | 0 | 0.010355 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
aeb3a59d668de4a48030fee34a9b4aed884e1c7f | 116 | py | Python | exec_game.py | cristilianojr/JOKENPOH | 604970d4f3cfbcc5f851e993af72d3bc86926ae5 | [
"MIT"
] | 1 | 2022-02-02T15:23:00.000Z | 2022-02-02T15:23:00.000Z | exec_game.py | cristilianojr/JOKENPOH | 604970d4f3cfbcc5f851e993af72d3bc86926ae5 | [
"MIT"
] | null | null | null | exec_game.py | cristilianojr/JOKENPOH | 604970d4f3cfbcc5f851e993af72d3bc86926ae5 | [
"MIT"
] | null | null | null | import sys
import main
if __name__ == '__main__':
app = main.GameWindow()
app.mainloop()
sys.exit(app)
| 14.5 | 27 | 0.646552 | 15 | 116 | 4.466667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 116 | 7 | 28 | 16.571429 | 0.744444 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
aebf7513d657936b1bd7c56147a369effb75d066 | 13,166 | py | Python | privex/jsonrpc/MoneroRPC.py | r3st3rcr0w/python-jsonrpc | cdf2fae411a7dac038aedea0d790d43d690f4930 | [
"X11"
] | null | null | null | privex/jsonrpc/MoneroRPC.py | r3st3rcr0w/python-jsonrpc | cdf2fae411a7dac038aedea0d790d43d690f4930 | [
"X11"
] | null | null | null | privex/jsonrpc/MoneroRPC.py | r3st3rcr0w/python-jsonrpc | cdf2fae411a7dac038aedea0d790d43d690f4930 | [
"X11"
] | null | null | null | from privex.jsonrpc.JsonRPC import JsonRPC
from decimal import Decimal
from typing import Union, List, Dict
from privex.jsonrpc.objects import MoneroPayment, MoneroTransfer
from privex.jsonrpc.core import decimal_to_atomic, atomic_to_decimal
class MoneroRPC(JsonRPC):
"""
Monero JsonRPC Client for Python
... | 46.522968 | 152 | 0.598815 | 1,437 | 13,166 | 5.353514 | 0.194154 | 0.040556 | 0.030937 | 0.018718 | 0.21695 | 0.164955 | 0.140387 | 0.100091 | 0.100091 | 0.100091 | 0 | 0.042344 | 0.27533 | 13,166 | 282 | 153 | 46.687943 | 0.763861 | 0.509266 | 0 | 0.082353 | 0 | 0 | 0.066396 | 0.004242 | 0 | 0 | 0 | 0 | 0 | 1 | 0.247059 | false | 0.094118 | 0.058824 | 0.011765 | 0.588235 | 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 |
aec043952f0acfad73f9ad9c3b5266f5ddd6f780 | 238 | py | Python | lab14/code/torchTest.py | karzexcc/EE208-labs | 5e6fc8208c0d0bfa5c338d1294e23fc6848d6fc6 | [
"MIT"
] | null | null | null | lab14/code/torchTest.py | karzexcc/EE208-labs | 5e6fc8208c0d0bfa5c338d1294e23fc6848d6fc6 | [
"MIT"
] | null | null | null | lab14/code/torchTest.py | karzexcc/EE208-labs | 5e6fc8208c0d0bfa5c338d1294e23fc6848d6fc6 | [
"MIT"
] | null | null | null | import time
import numpy as np
import torch
from utilities import readAndPreprocessImage, normalize
from torchvision.datasets.folder import default_loader
model = torch.hub.load('pytorch/vision', 'resnet50', pretrained=True)
print(model) | 29.75 | 69 | 0.827731 | 31 | 238 | 6.322581 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009302 | 0.096639 | 238 | 8 | 70 | 29.75 | 0.902326 | 0 | 0 | 0 | 0 | 0 | 0.09205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0.142857 | 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 |
aeea1b70d484a9ef38bcdb0dbdf04330d83fff56 | 149,748 | py | Python | tests/code_layout/acceptable_missing_doc.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | tests/code_layout/acceptable_missing_doc.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | tests/code_layout/acceptable_missing_doc.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | # -*- coding: utf-8 -*-
"""
***************************************************************************
acceptable_missing_doc.py
---------------------
Date : March 2016
Copyright : (C) 2016 by Stéphane Brunner
Email : stephane dot brunner at camptocamp dot... | 88.035273 | 4,900 | 0.717853 | 9,857 | 149,748 | 10.891752 | 0.304251 | 0.031967 | 0.008942 | 0.005784 | 0.166962 | 0.136308 | 0.112901 | 0.099674 | 0.063981 | 0.047914 | 0 | 0.002646 | 0.146887 | 149,748 | 1,700 | 4,901 | 88.087059 | 0.837732 | 0.007199 | 0 | 0.004793 | 0 | 0.04314 | 0.796039 | 0.373394 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004194 | 0.005992 | 0 | 0.005992 | 0.001198 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e0256ee093007db8dacc656b30a4a2bb42579e5 | 533 | py | Python | dlf/core/evaluator.py | scheckmedia/dl-framework | 8fea39e166fda0ff8fa51696831bf5cb42f3ed10 | [
"Apache-2.0"
] | null | null | null | dlf/core/evaluator.py | scheckmedia/dl-framework | 8fea39e166fda0ff8fa51696831bf5cb42f3ed10 | [
"Apache-2.0"
] | null | null | null | dlf/core/evaluator.py | scheckmedia/dl-framework | 8fea39e166fda0ff8fa51696831bf5cb42f3ed10 | [
"Apache-2.0"
] | null | null | null | class Evaluator():
def evaluate(self):
raise NotImplementedError()
def clear(self):
raise NotImplementedError()
class ObjectDetectionEvaluator(Evaluator):
__labels = None
def add_batch(self, image_shape, pred_boxes, pred_classes, pred_scores,
gt_boxes, gt_labels, gt... | 23.173913 | 75 | 0.664165 | 58 | 533 | 5.810345 | 0.448276 | 0.21365 | 0.166172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253283 | 533 | 22 | 76 | 24.227273 | 0.846734 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0 | 0.0625 | 0.5625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4e2c915ed904720c792cfa9fd6da0850891bb9c4 | 221 | py | Python | 03_Day_Operators/6.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 03_Day_Operators/6.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 03_Day_Operators/6.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | length = int(input('Length: '))
width = int(input('Width: '))
area_of_rectangle = length * width
perimeter_of_rectangle = 2 * (length + width)
print(f'Area: {area_of_rectangle}\nPerimeter: {perimeter_of_rectangle}') # 6
| 36.833333 | 77 | 0.723982 | 30 | 221 | 5.066667 | 0.433333 | 0.289474 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010256 | 0.117647 | 221 | 5 | 78 | 44.2 | 0.769231 | 0.004525 | 0 | 0 | 0 | 0 | 0.353211 | 0.252294 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e37923daac3810767c3331ccb1f502dacc6154d | 76 | py | Python | Math/Polar_Coordinates.py | aydinsimsek/HackerRank-solutions-python | ef4169fb9d1e4f0bf5de46bd09418e6aedfa6134 | [
"MIT"
] | null | null | null | Math/Polar_Coordinates.py | aydinsimsek/HackerRank-solutions-python | ef4169fb9d1e4f0bf5de46bd09418e6aedfa6134 | [
"MIT"
] | null | null | null | Math/Polar_Coordinates.py | aydinsimsek/HackerRank-solutions-python | ef4169fb9d1e4f0bf5de46bd09418e6aedfa6134 | [
"MIT"
] | null | null | null | import cmath
z = complex(input())
print(abs(z))
print(cmath.phase(z))
| 15.2 | 23 | 0.644737 | 12 | 76 | 4.083333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 4 | 24 | 19 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
9d8201a5532df0307a7b879620b777ac29f8262e | 120 | py | Python | BOJ/17000~17999/17300~17399/17350.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | 2 | 2020-01-29T06:54:41.000Z | 2021-11-07T13:23:27.000Z | BOJ/17000~17999/17300~17399/17350.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | BOJ/17000~17999/17300~17399/17350.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | for i in range(int(input())):
a=input()
if "anj" == a:
print("뭐야;")
break
else:
print("뭐야?") | 17.142857 | 29 | 0.45 | 17 | 120 | 3.176471 | 0.764706 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 120 | 7 | 30 | 17.142857 | 0.675 | 0 | 0 | 0 | 0 | 0 | 0.07438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 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 |
9da1d7540b58f2d3c47713075634185606e613e1 | 847 | py | Python | rlkit/data_management/baselines_per_buffer.py | msohcw/rlkit | 47adc6418b531e873299dc11dec5a856ecdf7a48 | [
"MIT"
] | null | null | null | rlkit/data_management/baselines_per_buffer.py | msohcw/rlkit | 47adc6418b531e873299dc11dec5a856ecdf7a48 | [
"MIT"
] | null | null | null | rlkit/data_management/baselines_per_buffer.py | msohcw/rlkit | 47adc6418b531e873299dc11dec5a856ecdf7a48 | [
"MIT"
] | null | null | null | from baselines.deepq.replay_buffer import PrioritizedReplayBuffer
from rlkit.data_management.simple_replay_buffer import SimpleReplayBuffer
class BaselinesPERBuffer(SimpleReplayBuffer):
def __init__(
self,
max_replay_buffer_size,
alpha,
):
self.underlying = P... | 36.826087 | 92 | 0.716647 | 91 | 847 | 6.395604 | 0.43956 | 0.120275 | 0.061856 | 0.065292 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201889 | 847 | 22 | 93 | 38.5 | 0.860947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.117647 | 0.117647 | 0.588235 | 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 |
9dab8633da0faa0e477b5249af32e0a92d81dab6 | 20,504 | py | Python | mdlink/src/protocol/py/md_pb2.py | sz6636/DataCore | e2ef9bd2c22ee9e2845675b6435a14fa607f3551 | [
"Apache-2.0"
] | 144 | 2017-11-08T07:19:13.000Z | 2021-07-26T14:13:02.000Z | mdlink/src/protocol/py/md_pb2.py | sz6636/DataCore | e2ef9bd2c22ee9e2845675b6435a14fa607f3551 | [
"Apache-2.0"
] | 13 | 2017-12-14T17:16:12.000Z | 2019-06-16T22:22:36.000Z | mdlink/src/protocol/py/md_pb2.py | quantOS-org/DataCore | e2ef9bd2c22ee9e2845675b6435a14fa607f3551 | [
"Apache-2.0"
] | 88 | 2017-11-21T01:31:00.000Z | 2021-06-19T01:01:04.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: md.proto
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import de... | 41.759674 | 2,054 | 0.722688 | 2,857 | 20,504 | 4.955548 | 0.084704 | 0.075152 | 0.033338 | 0.046475 | 0.758935 | 0.707939 | 0.591468 | 0.586382 | 0.559401 | 0.551349 | 0 | 0.053337 | 0.145045 | 20,504 | 490 | 2,055 | 41.844898 | 0.754307 | 0.022142 | 0 | 0.662222 | 1 | 0.002222 | 0.192116 | 0.165868 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011111 | 0 | 0.044444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9dc9dcee3ec24ed2f1f5abba0e6cf9f396e1a0f3 | 674 | py | Python | mdp_playground/spaces/tuple_extended.py | RaghuSpaceRajan/mdp-playground | 4dd00ae3d58620f27b4c14befb7ce47c6df83d00 | [
"Apache-2.0"
] | 11 | 2021-06-01T08:46:08.000Z | 2022-03-18T16:46:22.000Z | mdp_playground/spaces/tuple_extended.py | RaghuSpaceRajan/mdp-playground | 4dd00ae3d58620f27b4c14befb7ce47c6df83d00 | [
"Apache-2.0"
] | 6 | 2021-05-30T09:30:12.000Z | 2021-10-20T12:31:03.000Z | mdp_playground/spaces/tuple_extended.py | automl/mdp-playground | 4dd00ae3d58620f27b4c14befb7ce47c6df83d00 | [
"Apache-2.0"
] | 4 | 2021-07-07T15:52:04.000Z | 2022-03-14T06:18:30.000Z | import numpy as np
import gym
from gym.spaces import Tuple
class TupleExtended(Tuple):
"""
Currently, this class doesn't do anything special except allowing to seed from __init__().
"""
def __init__(self, spaces, seed=None):
super(TupleExtended, self).__init__(spaces)
super(TupleExten... | 33.7 | 111 | 0.666172 | 91 | 674 | 4.791209 | 0.593407 | 0.082569 | 0.100917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001901 | 0.219585 | 674 | 19 | 112 | 35.473684 | 0.826996 | 0.5727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9dddc3e2166351a0315edc0f667f8b4f0103abeb | 271 | py | Python | cre/cre/doctype/data_harvest/data_harvest.py | grijalva10/cre | 79be41f5fc9ea195bcf3a1571536a51548d7603d | [
"MIT"
] | null | null | null | cre/cre/doctype/data_harvest/data_harvest.py | grijalva10/cre | 79be41f5fc9ea195bcf3a1571536a51548d7603d | [
"MIT"
] | null | null | null | cre/cre/doctype/data_harvest/data_harvest.py | grijalva10/cre | 79be41f5fc9ea195bcf3a1571536a51548d7603d | [
"MIT"
] | null | null | null | # Copyright (c) 2022, JMG and contributors
# For license information, please see license.txt
import frappe
from frappe.model.document import Document
class DataHarvest(Document):
@frappe.whitelist()
def harvest_daum_market_reports(self):
return 'ping'
| 22.583333 | 49 | 0.752768 | 34 | 271 | 5.911765 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017778 | 0.169742 | 271 | 11 | 50 | 24.636364 | 0.875556 | 0.324723 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
9dde79cb77e902f0a881a03db7764aa93d484f72 | 8,887 | py | Python | fontFeatures/shaperLib/VowelConstraints.py | ctrlcctrlv/fontFeatures | 76d68586da2c1c42bb3cd79f92d583e63f52cf02 | [
"BSD-3-Clause"
] | 51 | 2020-01-15T09:28:51.000Z | 2022-03-30T06:48:36.000Z | fontFeatures/shaperLib/VowelConstraints.py | ctrlcctrlv/fontFeatures | 76d68586da2c1c42bb3cd79f92d583e63f52cf02 | [
"BSD-3-Clause"
] | 51 | 2020-05-11T18:51:25.000Z | 2021-12-20T12:55:08.000Z | fontFeatures/shaperLib/VowelConstraints.py | ctrlcctrlv/fontFeatures | 76d68586da2c1c42bb3cd79f92d583e63f52cf02 | [
"BSD-3-Clause"
] | 8 | 2020-08-28T20:03:14.000Z | 2021-12-08T01:22:28.000Z | # The following functions are generated by running:
# utils/gen-vowel-constraints.py ms-use/IndicShapingInvalidCluster.txt
from fontFeatures.shaperLib.Buffer import BufferItem
DOTTED_CIRCLE = 0x25CC
def _insert_dotted_circle(buf, index):
dotted_circle = BufferItem.new_unicode(DOTTED_CIRCLE)
buf.items.insert(... | 44.883838 | 151 | 0.5274 | 1,018 | 8,887 | 4.549116 | 0.179764 | 0.216152 | 0.194342 | 0.154178 | 0.689484 | 0.679983 | 0.679983 | 0.555604 | 0.526236 | 0.526236 | 0 | 0.107951 | 0.363115 | 8,887 | 197 | 152 | 45.111675 | 0.710247 | 0.013278 | 0 | 0.489474 | 1 | 0 | 0.01175 | 0 | 0 | 0 | 0.093087 | 0 | 0 | 1 | 0.010526 | false | 0 | 0.005263 | 0 | 0.015789 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d18cdb252a3c32bd3fd71bdae0f7f2abe52b2cbf | 354 | py | Python | tensorflow/contrib/persona/python/ops/persona_ops.py | epfl-vlsc/persona-system | 2aad40d908ae63239f5d546a56264922a55b99fc | [
"Apache-2.0"
] | 6 | 2017-08-07T14:05:41.000Z | 2020-02-28T03:57:56.000Z | tensorflow/contrib/persona/python/ops/persona_ops.py | epfl-vlsc/persona-system | 2aad40d908ae63239f5d546a56264922a55b99fc | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/persona/python/ops/persona_ops.py | epfl-vlsc/persona-system | 2aad40d908ae63239f5d546a56264922a55b99fc | [
"Apache-2.0"
] | null | null | null |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow.contrib.util import loader
from tensorflow.python.platform import resource_loader
_persona_ops = loader.load_op_library(
resource_loader.get_path_to_datafile("_persona_ops.so"))
def person... | 25.285714 | 60 | 0.838983 | 48 | 354 | 5.604167 | 0.541667 | 0.148699 | 0.178439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112994 | 354 | 13 | 61 | 27.230769 | 0.856688 | 0 | 0 | 0 | 0 | 0 | 0.042614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.555556 | 0.111111 | 0.777778 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
d1b22dfa6a2f7de9ea8614c73b552f3d33a83cd0 | 341 | py | Python | bouncer/cli/bounce.py | lrnt/git-bouncer | 3015e11a5d2c90986124de73bf1fd0f5a8563360 | [
"MIT"
] | null | null | null | bouncer/cli/bounce.py | lrnt/git-bouncer | 3015e11a5d2c90986124de73bf1fd0f5a8563360 | [
"MIT"
] | null | null | null | bouncer/cli/bounce.py | lrnt/git-bouncer | 3015e11a5d2c90986124de73bf1fd0f5a8563360 | [
"MIT"
] | null | null | null | from bouncer.cli.base import BaseCommand, noopts
class BounceCommand(BaseCommand):
""" Bounce incomming git communication through ssh """
_name = 'bounce'
@noopts
def run(self):
""" Run the bouncer """
pass
@noopts
def rebuild(self):
""" Rebuild the authorized_keys f... | 18.944444 | 58 | 0.609971 | 36 | 341 | 5.722222 | 0.694444 | 0.087379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28739 | 341 | 17 | 59 | 20.058824 | 0.847737 | 0.284457 | 0 | 0.444444 | 0 | 0 | 0.026786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.111111 | 0 | 0.555556 | 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 |
d1f1c08a957815dcb7b2aef6852365326671841b | 1,620 | py | Python | models/model_tiktok.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | 2 | 2020-10-15T22:12:17.000Z | 2020-10-26T07:17:17.000Z | models/model_tiktok.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | null | null | null | models/model_tiktok.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | null | null | null | import sqlalchemy as alchemy
from . import base
from typing import Optional
class TikTokReportTableModel(base.ReportTableModel):
@property
def date_format_string(self) -> Optional[str]:
return '%Y-%m-%d %H:%M:%S'
def define_table(self):
alchemy.Table(
self.table_name,
self.declarative_base.... | 28.928571 | 69 | 0.759877 | 182 | 1,620 | 6.554945 | 0.291209 | 0.082984 | 0.073764 | 0.113998 | 0.603521 | 0.603521 | 0.48114 | 0.48114 | 0.48114 | 0.33026 | 0 | 0 | 0.146296 | 1,620 | 56 | 70 | 28.928571 | 0.862618 | 0.196914 | 0 | 0.351351 | 0 | 0 | 0.068832 | 0.033256 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216216 | false | 0 | 0.081081 | 0.189189 | 0.594595 | 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 |
060d54ece88458b2fc285e6321647d5266209486 | 1,097 | py | Python | finrl_meta/env_future_trading/wt4elegantrl/reprocess.py | eitin-infant/FinRL-Meta | 4c94011e58425796e7e2e5c1bf848afd65c828d6 | [
"MIT"
] | 214 | 2021-11-08T17:06:11.000Z | 2022-03-31T18:29:48.000Z | finrl_meta/env_future_trading/wt4elegantrl/reprocess.py | eitin-infant/FinRL-Meta | 4c94011e58425796e7e2e5c1bf848afd65c828d6 | [
"MIT"
] | 51 | 2021-11-14T19:11:02.000Z | 2022-03-30T20:23:08.000Z | finrl_meta/env_future_trading/wt4elegantrl/reprocess.py | eitin-infant/FinRL-Meta | 4c94011e58425796e7e2e5c1bf848afd65c828d6 | [
"MIT"
] | 110 | 2021-11-03T07:41:40.000Z | 2022-03-31T03:23:38.000Z | import numpy as np
import talib as ta
class REPROCESS():
@staticmethod
def n() -> int: # 定义至少需要多少条数据才能计算
return 0
@staticmethod
def calculate(data: np.ndarray) -> np.ndarray: # 计算方法
return data
class ZSCORE(REPROCESS):
@staticmethod
def n() -> int:
return 1200
... | 22.854167 | 91 | 0.609845 | 136 | 1,097 | 4.772059 | 0.316176 | 0.1849 | 0.077042 | 0.117103 | 0.642527 | 0.599384 | 0.599384 | 0.599384 | 0.528505 | 0.528505 | 0 | 0.031138 | 0.238833 | 1,097 | 47 | 92 | 23.340426 | 0.746108 | 0.10392 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.064516 | 0.225806 | 0.709677 | 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 |
0615036b5f68a2a80d41483b7e2e86db30833d68 | 4,708 | py | Python | main.py | Nenivar/game-of-life-python | abe45715c20b32aeb8c93aa6eb2c2e168dfbf26a | [
"MIT"
] | null | null | null | main.py | Nenivar/game-of-life-python | abe45715c20b32aeb8c93aa6eb2c2e168dfbf26a | [
"MIT"
] | null | null | null | main.py | Nenivar/game-of-life-python | abe45715c20b32aeb8c93aa6eb2c2e168dfbf26a | [
"MIT"
] | null | null | null | from enum import Enum
import copy
from pgm_reader import pgmToBoard
# --------------------------------
# CHANGE ME!
# |
# V
# use '16x16.pgm', '64x64.pgm'...'512x512.pgm'
PGM_FILE = '16x16.txt'
ITER = 1
OUTPUT_ALIVE = True
# --------------------------------
# for testing
BOARD_SIZE = 16
BOARD = [
[0, 0,... | 26.59887 | 78 | 0.458156 | 781 | 4,708 | 2.728553 | 0.120359 | 0.233693 | 0.343501 | 0.448616 | 0.341154 | 0.328015 | 0.247771 | 0.2229 | 0.2229 | 0.2229 | 0 | 0.118573 | 0.338997 | 4,708 | 177 | 79 | 26.59887 | 0.566195 | 0.06181 | 0 | 0.1875 | 0 | 0 | 0.01752 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 1 | 0.109375 | false | 0 | 0.023438 | 0.03125 | 0.3125 | 0.039063 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ae04e6e553346fda7cfa6eebd1715f3a1d9e0a94 | 94 | py | Python | 2020/examples-in-class-2020-10-29/looping_characters_in_string_complex_characters.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | 1 | 2021-02-04T16:59:11.000Z | 2021-02-04T16:59:11.000Z | 2020/examples-in-class-2020-10-29/looping_characters_in_string_complex_characters.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | null | null | null | 2020/examples-in-class-2020-10-29/looping_characters_in_string_complex_characters.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | 1 | 2019-10-30T14:37:48.000Z | 2019-10-30T14:37:48.000Z | complex_characters = "!#$%&()*+,-./:;<=>?@[\\]^_{|}"
for ch in complex_characters:
print(ch) | 23.5 | 52 | 0.542553 | 9 | 94 | 5.333333 | 0.666667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 94 | 4 | 53 | 23.5 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0.305263 | 0.305263 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ae065f66aff63e568232875c2df88753ab8dc468 | 937 | py | Python | factory_method/concrete_workers.py | ngudkov/sdp | 2a759339da0d332e3ba89b45814e9b4efada6d46 | [
"Apache-2.0"
] | null | null | null | factory_method/concrete_workers.py | ngudkov/sdp | 2a759339da0d332e3ba89b45814e9b4efada6d46 | [
"Apache-2.0"
] | null | null | null | factory_method/concrete_workers.py | ngudkov/sdp | 2a759339da0d332e3ba89b45814e9b4efada6d46 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from __future__ import annotations
from abstract_workers import WorkerCreator, Job
class DocManCreator(WorkerCreator):
"""
Класс инициализации работника
Работник документалист. Хочет производить документы, но только собирает их
"""
def factory_method(self) -> DocMan1:
... | 24.025641 | 78 | 0.709712 | 111 | 937 | 5.90991 | 0.585586 | 0.054878 | 0.094512 | 0.121951 | 0.231707 | 0.231707 | 0.231707 | 0.115854 | 0.115854 | 0 | 0 | 0.009563 | 0.218783 | 937 | 38 | 79 | 24.657895 | 0.886612 | 0.322305 | 0 | 0.142857 | 0 | 0 | 0.189097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ae1d4a4c347e479c1b6c811917b463bb2a5be8bd | 11,782 | py | Python | dojo/unittests/test_taggit_tags.py | marcosValle/django-DefectDojo | 06e657b9b628a6fc36d41aa466ffca32a497ef14 | [
"BSD-3-Clause"
] | null | null | null | dojo/unittests/test_taggit_tags.py | marcosValle/django-DefectDojo | 06e657b9b628a6fc36d41aa466ffca32a497ef14 | [
"BSD-3-Clause"
] | 173 | 2020-12-17T20:29:09.000Z | 2022-03-23T12:54:32.000Z | dojo/unittests/test_taggit_tags.py | RomainJufer/django-DefectDojo | 43142b2e269f86851e5c0c023261f2276bb4f89c | [
"BSD-3-Clause"
] | null | null | null | from dojo.models import Product, Finding
from .dojo_test_case import DojoAPITestCase
import logging
logger = logging.getLogger(__name__)
class TaggitTests(DojoAPITestCase):
fixtures = ['dojo_testdata.json']
def setUp(self, *args, **kwargs):
super().setUp()
self.login_as_admin()
self.... | 45.315385 | 134 | 0.637583 | 1,581 | 11,782 | 4.54649 | 0.117015 | 0.036728 | 0.023372 | 0.031163 | 0.781859 | 0.758069 | 0.736505 | 0.686004 | 0.659711 | 0.651642 | 0 | 0.004834 | 0.24495 | 11,782 | 259 | 135 | 45.490347 | 0.80317 | 0.185707 | 0 | 0.535714 | 0 | 0 | 0.064901 | 0.006071 | 0 | 0 | 0 | 0 | 0.267857 | 1 | 0.119048 | false | 0 | 0.047619 | 0.017857 | 0.208333 | 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 |
ae2f72ce09dc3e3c2daa0d25af122e1fcba68edf | 308 | py | Python | weboauth2/apps/accounts/forms/group_forms.py | askar-alty/oauth2 | 371f376bf002241623c1418427ac4d9c97a9c48b | [
"MIT"
] | 1 | 2019-03-19T14:38:36.000Z | 2019-03-19T14:38:36.000Z | weboauth2/apps/accounts/forms/group_forms.py | askar-alty/oauth2 | 371f376bf002241623c1418427ac4d9c97a9c48b | [
"MIT"
] | null | null | null | weboauth2/apps/accounts/forms/group_forms.py | askar-alty/oauth2 | 371f376bf002241623c1418427ac4d9c97a9c48b | [
"MIT"
] | null | null | null | from django import forms as django_forms
from .. import models
class GroupCreationForm(django_forms.ModelForm):
class Meta:
model = models.Group
fields = '__all__'
class GroupChangeForm(django_forms.ModelForm):
class Meta:
model = models.Group
fields = '__all__'
| 19.25 | 48 | 0.685065 | 34 | 308 | 5.882353 | 0.441176 | 0.165 | 0.2 | 0.25 | 0.54 | 0.54 | 0.54 | 0.54 | 0.54 | 0.54 | 0 | 0 | 0.243506 | 308 | 15 | 49 | 20.533333 | 0.858369 | 0 | 0 | 0.6 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ae52b6f3abb0de22fda5aba8024ef9d1d255c9d1 | 4,205 | py | Python | Core/wrappers/ns_wrapper.py | shankarj/TrainingMinion | 5f7e8c3757a57ed98d1d77370f8263620cc9aaf4 | [
"MIT"
] | null | null | null | Core/wrappers/ns_wrapper.py | shankarj/TrainingMinion | 5f7e8c3757a57ed98d1d77370f8263620cc9aaf4 | [
"MIT"
] | null | null | null | Core/wrappers/ns_wrapper.py | shankarj/TrainingMinion | 5f7e8c3757a57ed98d1d77370f8263620cc9aaf4 | [
"MIT"
] | null | null | null | from Core.enums.network_call_type import NetworkCallType as nctype
from Core.utils import network_util as nu
from Core.utils import output_util as out
from Core.utils import global_var_utils as gvu
from Core.globals import service_global
import copy
# Download the network structure and writes it to network.json.
# Al... | 38.577982 | 119 | 0.747681 | 613 | 4,205 | 4.810767 | 0.181077 | 0.091556 | 0.086809 | 0.123432 | 0.367243 | 0.358766 | 0.328586 | 0.328586 | 0.256697 | 0.237369 | 0 | 0.000569 | 0.163377 | 4,205 | 108 | 120 | 38.935185 | 0.837692 | 0.186683 | 0 | 0.068966 | 0 | 0 | 0.096092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.224138 | false | 0 | 0.103448 | 0.137931 | 0.534483 | 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 |
ae75ad5bb554e5a9f7cdf37d5a08a1d3062fb34a | 636 | py | Python | api/data_file_parser.py | GTJuniorDesign0100-2020/anti-malarial-MCMC-bayesian-algorithm | 8ab95c9b65275096dd86268fbb99bb37b6806e05 | [
"MIT"
] | 1 | 2020-10-28T18:19:21.000Z | 2020-10-28T18:19:21.000Z | api/data_file_parser.py | GTJuniorDesign0100-2020/anti-malarial-MCMC-bayesian-algorithm | 8ab95c9b65275096dd86268fbb99bb37b6806e05 | [
"MIT"
] | 45 | 2020-09-03T22:17:36.000Z | 2020-12-06T02:51:46.000Z | api/data_file_parser.py | GTJuniorDesign0100-2020/anti-malarial-MCMC-bayesian-algorithm | 8ab95c9b65275096dd86268fbb99bb37b6806e05 | [
"MIT"
] | 1 | 2020-12-07T16:47:54.000Z | 2020-12-07T16:47:54.000Z | from typing import IO, Union
class DataFileParser:
'''
Handles parsing the given file type and extracting data from it in a format
usable by the MCMC algorithm
'''
@classmethod
def parse_file(cls, input_file: Union[str, IO]):
'''
Attempts to parse the given file; returns a set ... | 30.285714 | 80 | 0.65566 | 87 | 636 | 4.758621 | 0.666667 | 0.038647 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292453 | 636 | 20 | 81 | 31.8 | 0.92 | 0.639937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ae78d34ecb5ada2a276f58a90a63d685d23615d8 | 937 | py | Python | abacusai/api_key.py | abacusai/api-python | 016192e4f360552bf1cbfc6a42d3ddc63d8f1df8 | [
"MIT"
] | 3 | 2021-11-18T18:39:56.000Z | 2022-02-25T18:58:32.000Z | abacusai/api_key.py | abacusai/api-python | 016192e4f360552bf1cbfc6a42d3ddc63d8f1df8 | [
"MIT"
] | null | null | null | abacusai/api_key.py | abacusai/api-python | 016192e4f360552bf1cbfc6a42d3ddc63d8f1df8 | [
"MIT"
] | null | null | null | from .return_class import AbstractApiClass
class ApiKey(AbstractApiClass):
"""
An API Key to authenticate requests to the Abacus.AI API
"""
def __init__(self, client, apiKeyId=None, apiKey=None, tag=None, createdAt=None):
super().__init__(client, apiKeyId)
self.api_key_id = apiKey... | 37.48 | 157 | 0.669157 | 142 | 937 | 4.147887 | 0.309859 | 0.152801 | 0.118846 | 0.081494 | 0.054329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207044 | 937 | 24 | 158 | 39.041667 | 0.792732 | 0.168623 | 0 | 0 | 0 | 0.071429 | 0.224138 | 0.176393 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.142857 | 0.642857 | 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 |
ae9867700c709247f81a3d0880e7e23d278723e1 | 101 | py | Python | Company_Con/min_pro/A.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | Company_Con/min_pro/A.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | Company_Con/min_pro/A.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | #横にn個入力
n, k = map(int, input().split())
if k <= (n + 1) // 2:
print("YES")
else:
print("NO") | 16.833333 | 32 | 0.485149 | 17 | 101 | 2.882353 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.237624 | 101 | 6 | 33 | 16.833333 | 0.61039 | 0.059406 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 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 |
882cb49a1b7261c36fc38aa2bf2c823a81ed061d | 23 | py | Python | main/util-linux-cbuild/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 46 | 2021-06-10T02:27:32.000Z | 2022-03-27T11:33:24.000Z | main/util-linux-cbuild/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 58 | 2021-07-03T13:58:20.000Z | 2022-03-13T16:45:35.000Z | main/util-linux-cbuild/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 6 | 2021-07-04T10:46:40.000Z | 2022-01-09T00:03:59.000Z | pkgname = "util-linux"
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88346acc302332d2eae3b403221d8117fede6b22 | 472 | py | Python | pattern/slm/fourthdd/sequence.py | cbc-group/pattern | 84c3c69015d860430c84114aabdd9ceea151704d | [
"Apache-2.0"
] | 1 | 2020-02-23T14:15:24.000Z | 2020-02-23T14:15:24.000Z | pattern/slm/fourthdd/sequence.py | cbc-group/pattern | 84c3c69015d860430c84114aabdd9ceea151704d | [
"Apache-2.0"
] | null | null | null | pattern/slm/fourthdd/sequence.py | cbc-group/pattern | 84c3c69015d860430c84114aabdd9ceea151704d | [
"Apache-2.0"
] | 1 | 2020-02-23T14:15:33.000Z | 2020-02-23T14:15:33.000Z | import logging
__all__ = ["Sequence"]
logger = logging.getLogger(__name__)
class Sequence(object):
def __init__(self, path):
self._path = path
with open(self.path, "rb") as f:
self._raw = f.read()
self._parse()
##
@property
def path(self):
return self._p... | 15.733333 | 44 | 0.552966 | 54 | 472 | 4.5 | 0.518519 | 0.131687 | 0.115226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326271 | 472 | 29 | 45 | 16.275862 | 0.764151 | 0.063559 | 0 | 0.117647 | 0 | 0 | 0.023148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0.058824 | 0.058824 | 0.117647 | 0.470588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
883499b841e12cf302470958b6f05a7ded132fb0 | 101 | py | Python | ddpserver/__init__.py | Wen777/python-ddp-server | 61221a6fc7da8707a887f81a279b9fbfa2930ff8 | [
"Apache-2.0"
] | 1 | 2015-11-06T06:39:22.000Z | 2015-11-06T06:39:22.000Z | ddpserver/__init__.py | Wen777/python-ddp-server | 61221a6fc7da8707a887f81a279b9fbfa2930ff8 | [
"Apache-2.0"
] | null | null | null | ddpserver/__init__.py | Wen777/python-ddp-server | 61221a6fc7da8707a887f81a279b9fbfa2930ff8 | [
"Apache-2.0"
] | 1 | 2018-10-12T08:01:46.000Z | 2018-10-12T08:01:46.000Z | from .server import DDPServer
from .session import DDPSession
__all__ = ["DDPServer", "DDPSession"]
| 20.2 | 37 | 0.772277 | 11 | 101 | 6.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 4 | 38 | 25.25 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.188119 | 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 |
884ad5399b49351531c63829348fb7bfaad8ace6 | 701 | py | Python | cdocs/config.py | dk107dk/cdocs | a0e4e66dc1ccb52534c93a637f3cb1eae3916d42 | [
"MIT"
] | 1 | 2020-11-07T12:12:02.000Z | 2020-11-07T12:12:02.000Z | cdocs/config.py | dk107dk/cdocs | a0e4e66dc1ccb52534c93a637f3cb1eae3916d42 | [
"MIT"
] | 5 | 2020-09-25T07:08:30.000Z | 2021-06-25T15:42:20.000Z | cdocs/config.py | dk107dk/cdocs | a0e4e66dc1ccb52534c93a637f3cb1eae3916d42 | [
"MIT"
] | null | null | null | import abc
from typing import Optional, List, Tuple
from cdocs.physical import Physical
class ConfigException(Exception):
pass
class Config(Physical, metaclass=abc.ABCMeta):
"""
Config is a sectioned key-value store interface that follows configparser
"""
@abc.abstractmethod
def get_config_p... | 24.172414 | 86 | 0.687589 | 90 | 701 | 5.277778 | 0.444444 | 0.143158 | 0.168421 | 0.193684 | 0.183158 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2097 | 701 | 28 | 87 | 25.035714 | 0.857401 | 0.104137 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.277778 | 0.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
889281787b4e0363d40958908dea253d2b402894 | 1,259 | py | Python | marmot/features/feature_extractor.py | qe-team/marmot | 38e09ff1d0a3025a6b7edeaaf6086ed047ec45ff | [
"0BSD"
] | 19 | 2015-08-21T13:06:37.000Z | 2021-07-26T09:56:29.000Z | marmot/features/feature_extractor.py | qe-team/marmot | 38e09ff1d0a3025a6b7edeaaf6086ed047ec45ff | [
"0BSD"
] | 36 | 2015-01-13T13:01:07.000Z | 2016-06-22T06:59:59.000Z | marmot/features/feature_extractor.py | qe-team/marmot | 38e09ff1d0a3025a6b7edeaaf6086ed047ec45ff | [
"0BSD"
] | 8 | 2015-12-11T16:41:47.000Z | 2019-04-08T16:28:40.000Z | # an abstract class representing a feature extractor
# a feature extractor takes an object like
# { 'token': <token>, index: <idx>, 'source': [<source toks>]', 'target': [<target toks>], 'tag': <tag>}
# and extracts features for that instance
# IMPORTANT - different feature extractors require different fields in the c... | 39.34375 | 140 | 0.67355 | 154 | 1,259 | 5.441558 | 0.512987 | 0.057279 | 0.040573 | 0.042959 | 0.133652 | 0.133652 | 0.133652 | 0.133652 | 0.133652 | 0.133652 | 0 | 0.002045 | 0.223193 | 1,259 | 31 | 141 | 40.612903 | 0.854806 | 0.720413 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.111111 | 0 | 0.555556 | 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 |
88a672c2c4b8ee354fd7fe40b13a40964103de46 | 761 | py | Python | wowawards/migrations/0003_auto_20190526_2030.py | jameskomo/awwwards | fd72059828969ddaa734d7095502cb34624675cf | [
"MIT"
] | null | null | null | wowawards/migrations/0003_auto_20190526_2030.py | jameskomo/awwwards | fd72059828969ddaa734d7095502cb34624675cf | [
"MIT"
] | 9 | 2020-02-12T00:22:55.000Z | 2022-02-10T09:38:15.000Z | wowawards/migrations/0003_auto_20190526_2030.py | jameskomo/awwwards | fd72059828969ddaa734d7095502cb34624675cf | [
"MIT"
] | null | null | null | # Generated by Django 2.2.1 on 2019-05-26 17:30
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('wowawards', '0002_remove_image_image_comments'),
]
operations = [
migrations.RenameField(
model_name='image',
old_name='imag... | 23.78125 | 58 | 0.558476 | 72 | 761 | 5.638889 | 0.5 | 0.110837 | 0.192118 | 0.221675 | 0.334975 | 0.334975 | 0.334975 | 0.231527 | 0 | 0 | 0 | 0.037549 | 0.335085 | 761 | 31 | 59 | 24.548387 | 0.764822 | 0.059133 | 0 | 0.4 | 1 | 0 | 0.19888 | 0.044818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.16 | 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 |
ee004a9c94888c879f56989ab15a2291f522cdd9 | 71 | py | Python | 1864.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | 3 | 2021-09-21T18:50:20.000Z | 2021-12-14T13:07:31.000Z | 1864.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | null | null | null | 1864.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | null | null | null | frase="LIFE IS NOT A PROBLEM TO BE SOLVED"
print(frase[:int(input())])
| 23.666667 | 42 | 0.704225 | 13 | 71 | 3.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 2 | 43 | 35.5 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ee0d738b4cfaef36fb13640f45159ab685bd7d31 | 157 | py | Python | src/learners/__init__.py | YetAnotherPolicy/RMIX | dbc8f0a6560aa3f274765fa78aaaca22351ab8ad | [
"Apache-2.0"
] | 6 | 2021-11-18T16:21:43.000Z | 2021-12-31T02:22:23.000Z | src/learners/__init__.py | YetAnotherPolicy/RMIX | dbc8f0a6560aa3f274765fa78aaaca22351ab8ad | [
"Apache-2.0"
] | null | null | null | src/learners/__init__.py | YetAnotherPolicy/RMIX | dbc8f0a6560aa3f274765fa78aaaca22351ab8ad | [
"Apache-2.0"
] | 1 | 2022-02-22T02:37:30.000Z | 2022-02-22T02:37:30.000Z | from .q_learner import QLearner
from .rmix_learner import RMIXLearner
REGISTRY = {}
REGISTRY["q_learner"] = QLearner
REGISTRY["rmix_learner"] = RMIXLearner
| 22.428571 | 38 | 0.789809 | 19 | 157 | 6.315789 | 0.421053 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11465 | 157 | 6 | 39 | 26.166667 | 0.863309 | 0 | 0 | 0 | 0 | 0 | 0.133758 | 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 |
ee1048351b40b3ebc8ef7a79de2cdd6c052ad8e2 | 208 | py | Python | myFirstPiPy/myFirstPiPy/tests/test_var.py | StudentESE/myFirstPiP | b6116753f77f1f3cec9b36f73d86a008fe27c500 | [
"BSD-2-Clause"
] | null | null | null | myFirstPiPy/myFirstPiPy/tests/test_var.py | StudentESE/myFirstPiP | b6116753f77f1f3cec9b36f73d86a008fe27c500 | [
"BSD-2-Clause"
] | null | null | null | myFirstPiPy/myFirstPiPy/tests/test_var.py | StudentESE/myFirstPiP | b6116753f77f1f3cec9b36f73d86a008fe27c500 | [
"BSD-2-Clause"
] | null | null | null | import unittest
import __init__ as myModule
class TestMyMethod(unittest.TestCase):
def test_myVariable(self):
self.assertIs(myModule.myVariable, 123)
if __name__ == '__main__':
unittest.main() | 29.714286 | 47 | 0.75 | 24 | 208 | 5.958333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017045 | 0.153846 | 208 | 7 | 48 | 29.714286 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.038278 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 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 |
ee4d18ed9a8688a51a91cffb134a5506414e71e5 | 441 | py | Python | core/tracks/serializers/tracks.py | Nikita-Filonov/lama_logger | 7b3f474ddf35685e6949ab00d7272d16c630295c | [
"Apache-2.0"
] | null | null | null | core/tracks/serializers/tracks.py | Nikita-Filonov/lama_logger | 7b3f474ddf35685e6949ab00d7272d16c630295c | [
"Apache-2.0"
] | null | null | null | core/tracks/serializers/tracks.py | Nikita-Filonov/lama_logger | 7b3f474ddf35685e6949ab00d7272d16c630295c | [
"Apache-2.0"
] | 1 | 2021-12-21T09:39:02.000Z | 2021-12-21T09:39:02.000Z | from rest_framework import serializers
from core.tracks.models import Track
class TracksSerializer(serializers.ModelSerializer):
class Meta:
model = Track
exclude = ('user',)
class TrackSerializer(serializers.ModelSerializer):
class Meta:
model = Track
fields = '__all__'
... | 23.210526 | 84 | 0.698413 | 47 | 441 | 6.404255 | 0.595745 | 0.172757 | 0.20598 | 0.232558 | 0.299003 | 0.299003 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208617 | 441 | 18 | 85 | 24.5 | 0.862464 | 0 | 0 | 0.333333 | 0 | 0 | 0.034014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.166667 | 0.083333 | 0.666667 | 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.