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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1c8c22a44ccb5bf41e296de6b181b78b6eac28db | 145 | py | Python | doc/examples/bench_command.py | Tada-Project/pyperf | 0a0b68582b3eb1ba221cd15eabe5e965e7f28338 | [
"MIT"
] | 225 | 2020-05-07T23:06:35.000Z | 2022-03-29T02:52:07.000Z | doc/examples/bench_command.py | Tada-Project/pyperf | 0a0b68582b3eb1ba221cd15eabe5e965e7f28338 | [
"MIT"
] | 43 | 2020-05-07T21:28:01.000Z | 2022-03-18T10:43:35.000Z | doc/examples/bench_command.py | Tada-Project/pyperf | 0a0b68582b3eb1ba221cd15eabe5e965e7f28338 | [
"MIT"
] | 25 | 2020-05-07T21:06:59.000Z | 2022-03-15T22:04:53.000Z | #!/usr/bin/env python3
import sys
import pyperf
runner = pyperf.Runner()
runner.bench_command('python_startup', [sys.executable, '-c', 'pass'])
| 20.714286 | 70 | 0.731034 | 20 | 145 | 5.2 | 0.75 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.096552 | 145 | 6 | 71 | 24.166667 | 0.78626 | 0.144828 | 0 | 0 | 0 | 0 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
98cde25eb05cab545d48e0ba900e03715f50f1a8 | 1,403 | py | Python | pyactus/domain/enums/__init__.py | CasperLabs/actus-core-py | 070de8a31a29792f3e488db93300947a11f496b7 | [
"Apache-2.0"
] | null | null | null | pyactus/domain/enums/__init__.py | CasperLabs/actus-core-py | 070de8a31a29792f3e488db93300947a11f496b7 | [
"Apache-2.0"
] | null | null | null | pyactus/domain/enums/__init__.py | CasperLabs/actus-core-py | 070de8a31a29792f3e488db93300947a11f496b7 | [
"Apache-2.0"
] | null | null | null | from pyactus.domain.enums.business_day_convention import BusinessDayConvention
from pyactus.domain.enums.calendar import Calendar
from pyactus.domain.enums.clearing_house import ClearingHouse
from pyactus.domain.enums.contract_performance import ContractPerformance
from pyactus.domain.enums.contract_role import Contrac... | 63.772727 | 92 | 0.895225 | 177 | 1,403 | 6.926554 | 0.333333 | 0.188418 | 0.291191 | 0.376835 | 0.174551 | 0.055465 | 0.055465 | 0 | 0 | 0 | 0 | 0 | 0.059872 | 1,403 | 21 | 93 | 66.809524 | 0.929492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
98d3b22fadc7b9fb5c7a39dfc9bf4cf00d22438c | 69 | py | Python | projects/setuptools-scm/test.py | on-nix/python-on-nix | d8a7fa21b76ac3b8a1a3fedb41e86352769b09ed | [
"Unlicense"
] | 25 | 2021-10-30T19:54:59.000Z | 2022-03-29T06:11:02.000Z | projects/setuptools-scm/test.py | on-nix/python-on-nix | d8a7fa21b76ac3b8a1a3fedb41e86352769b09ed | [
"Unlicense"
] | 21 | 2021-10-19T01:09:38.000Z | 2022-03-24T16:08:53.000Z | projects/setuptools-scm/test.py | on-nix/python | d8a7fa21b76ac3b8a1a3fedb41e86352769b09ed | [
"Unlicense"
] | 3 | 2022-01-25T20:25:13.000Z | 2022-03-08T02:58:50.000Z | import pyparsing
import setuptools_scm
import tomli
import packaging
| 13.8 | 21 | 0.884058 | 9 | 69 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 4 | 22 | 17.25 | 0.983607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c71715f747ef7f75c1fa86618b17a7ff1d701715 | 170,008 | py | Python | tests/hikari/impl/test_rest.py | vicky5124/hikari | 9a93c10fcf7589ddddbbabede88d02a3925fa48d | [
"MIT"
] | 1 | 2021-08-28T17:30:48.000Z | 2021-08-28T17:30:48.000Z | tests/hikari/impl/test_rest.py | vicky5124/hikari | 9a93c10fcf7589ddddbbabede88d02a3925fa48d | [
"MIT"
] | null | null | null | tests/hikari/impl/test_rest.py | vicky5124/hikari | 9a93c10fcf7589ddddbbabede88d02a3925fa48d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2020 Nekokatt
# Copyright (c) 2021 davfsa
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the right... | 46.628634 | 120 | 0.693273 | 19,898 | 170,008 | 5.547743 | 0.046939 | 0.099919 | 0.053746 | 0.051047 | 0.83791 | 0.795143 | 0.75772 | 0.724601 | 0.682876 | 0.655228 | 0 | 0.031279 | 0.210749 | 170,008 | 3,645 | 121 | 46.641427 | 0.791406 | 0.009229 | 0 | 0.499155 | 0 | 0.000338 | 0.063456 | 0.007155 | 0 | 0 | 0 | 0.000274 | 0.186212 | 1 | 0.026022 | false | 0.003042 | 0.010814 | 0.002704 | 0.054748 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c721290015858091b7820848701fe1f3bbe92a32 | 122 | py | Python | source/risk/margin_manager.py | qg0/EliteQuant_Python | f9b24280443e824e8f6841ac136a319406bba3c6 | [
"Apache-2.0"
] | 8 | 2020-07-13T02:42:13.000Z | 2022-02-18T21:46:52.000Z | source/risk/margin_manager.py | qg0/EliteQuant_Python | f9b24280443e824e8f6841ac136a319406bba3c6 | [
"Apache-2.0"
] | null | null | null | source/risk/margin_manager.py | qg0/EliteQuant_Python | f9b24280443e824e8f6841ac136a319406bba3c6 | [
"Apache-2.0"
] | 5 | 2020-07-13T02:42:22.000Z | 2021-12-29T15:16:53.000Z | # encoding: UTF-8
from __future__ import print_function
class MarginManager(object):
def __init__(self):
pass | 20.333333 | 37 | 0.729508 | 15 | 122 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.196721 | 122 | 6 | 38 | 20.333333 | 0.806122 | 0.122951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c75df1abf86518004328b9c0269249b63cae773d | 1,659 | py | Python | kick.py | dudkin-2005/PilotTelegramBot | 3f92599de011aa63dc739712972637b781b5c4ae | [
"Apache-2.0"
] | null | null | null | kick.py | dudkin-2005/PilotTelegramBot | 3f92599de011aa63dc739712972637b781b5c4ae | [
"Apache-2.0"
] | null | null | null | kick.py | dudkin-2005/PilotTelegramBot | 3f92599de011aa63dc739712972637b781b5c4ae | [
"Apache-2.0"
] | null | null | null | import telebot
bot = telebot.TeleBot('1073948237:AAGKs3HzRBZwBZGkoQ5moJIakWQn39nQtX4')
def kick(message):
try:
member = bot.get_chat_member(chat_id=message.chat.id,
user_id=message.from_user.id)
if member.status == 'creator' or member.status == 'administrator':... | 41.475 | 103 | 0.567209 | 196 | 1,659 | 4.586735 | 0.27551 | 0.093437 | 0.130145 | 0.132369 | 0.756396 | 0.756396 | 0.74861 | 0.74861 | 0.74861 | 0.74861 | 0 | 0.015539 | 0.340567 | 1,659 | 39 | 104 | 42.538462 | 0.806216 | 0 | 0 | 0.580645 | 0 | 0 | 0.164557 | 0.027728 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.032258 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
c777c3eb5f85d643754ca1fcd9d278bab72206da | 117 | py | Python | __init__.py | ntcat/tilde | 6bbe7f56483e3a64103c3d3e7a39681a2c2690be | [
"MIT"
] | 1 | 2018-05-21T04:41:00.000Z | 2018-05-21T04:41:00.000Z | __init__.py | ntcat/tilde | 6bbe7f56483e3a64103c3d3e7a39681a2c2690be | [
"MIT"
] | null | null | null | __init__.py | ntcat/tilde | 6bbe7f56483e3a64103c3d3e7a39681a2c2690be | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
__title__ = ''
__author__ = 'shen.bas'
__time__ = '2018-02-03'
"""
| 14.625 | 23 | 0.57265 | 15 | 117 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.153846 | 117 | 7 | 24 | 16.714286 | 0.464646 | 0.897436 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c78454a965310a4556f8bafc1d87367e4ca2c2d4 | 222 | py | Python | strawberry/codegen/exceptions.py | huonw/strawberry | 8e61b2fdcf17ce99acdb8aecce9f6392c121c564 | [
"MIT"
] | null | null | null | strawberry/codegen/exceptions.py | huonw/strawberry | 8e61b2fdcf17ce99acdb8aecce9f6392c121c564 | [
"MIT"
] | 3 | 2021-11-08T01:12:10.000Z | 2022-03-21T06:33:38.000Z | strawberry/codegen/exceptions.py | uvicorn/strawberry | 100e47fd430f0552c9ef9549306faceac610431d | [
"MIT"
] | null | null | null | class CodegenError(Exception):
pass
class NoOperationProvidedError(CodegenError):
pass
class NoOperationNameProvidedError(CodegenError):
pass
class MultipleOperationsProvidedError(CodegenError):
pass
| 14.8 | 52 | 0.792793 | 16 | 222 | 11 | 0.4375 | 0.153409 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 222 | 14 | 53 | 15.857143 | 0.93617 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c7a32247f6beab9bf4417d7a17993e8ae3c02ce4 | 110 | py | Python | backend/modules/terms_and_conditions/admin.py | crowdbotics-apps/nftlink-33254 | 14c1e9d8c797966896145d608c583f168679369c | [
"FTL",
"AML",
"RSA-MD"
] | 1 | 2022-02-09T16:02:17.000Z | 2022-02-09T16:02:17.000Z | backend/modules/terms_and_conditions/admin.py | crowdbotics-apps/nftlink-33254 | 14c1e9d8c797966896145d608c583f168679369c | [
"FTL",
"AML",
"RSA-MD"
] | 321 | 2021-07-16T15:22:20.000Z | 2021-07-19T20:57:51.000Z | backend/modules/terms_and_conditions/admin.py | crowdbotics-apps/nftlink-33254 | 14c1e9d8c797966896145d608c583f168679369c | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.contrib import admin
from .models import TermAndCondition
admin.site.register(TermAndCondition)
| 18.333333 | 37 | 0.845455 | 13 | 110 | 7.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 110 | 5 | 38 | 22 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c7b8be9233815f60f8288c4442f1e16c2ea8c241 | 198 | py | Python | matroska_cache/dep/__init__.py | kolypto/py-matroska-cache | b40030f97d463aac8e3a6f4b0e0e9f081dfc92b1 | [
"MIT"
] | null | null | null | matroska_cache/dep/__init__.py | kolypto/py-matroska-cache | b40030f97d463aac8e3a6f4b0e0e9f081dfc92b1 | [
"MIT"
] | null | null | null | matroska_cache/dep/__init__.py | kolypto/py-matroska-cache | b40030f97d463aac8e3a6f4b0e0e9f081dfc92b1 | [
"MIT"
] | null | null | null | """ Cache dependencies """
from .id import Id
from .tag import Tag
from .ntag import NTag
from .scopes import Scopes
try:
from .primary_key import PrimaryKey
except ImportError as e:
pass
| 16.5 | 39 | 0.732323 | 29 | 198 | 4.965517 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 198 | 11 | 40 | 18 | 0.911392 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
1be211e72da04f64d09fae2ed6cf9ab44a9f6f1d | 223 | py | Python | Hue/Hue/spiders/Ankang.py | tiwe0/spider-gov | b6b0c74ac916fb782df1ac879d2ae2d0ef1525a5 | [
"MIT"
] | 1 | 2021-12-06T14:00:48.000Z | 2021-12-06T14:00:48.000Z | Hue/Hue/spiders/Ankang.py | tiwe0/spider-gov | b6b0c74ac916fb782df1ac879d2ae2d0ef1525a5 | [
"MIT"
] | null | null | null | Hue/Hue/spiders/Ankang.py | tiwe0/spider-gov | b6b0c74ac916fb782df1ac879d2ae2d0ef1525a5 | [
"MIT"
] | null | null | null | import scrapy
class AnkangSpider(scrapy.Spider):
name = 'Ankang'
allowed_domains = ['http://www.ankang.gov.cn/']
start_urls = ['http://http://www.ankang.gov.cn//']
def parse(self, response):
pass
| 20.272727 | 54 | 0.627803 | 28 | 223 | 4.928571 | 0.714286 | 0.101449 | 0.188406 | 0.231884 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197309 | 223 | 10 | 55 | 22.3 | 0.77095 | 0 | 0 | 0 | 0 | 0 | 0.286996 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
1bfef90264062fd26f3a4ff9906522c416933103 | 16,333 | py | Python | src/condor_contrib/condor_pigeon/src/condor_pigeon_client/skype_linux_tools/Skype4Py/Languages/ar.py | neurodebian/htcondor | 113a5c9921a4fce8a21e3ab96b2c1ba47441bf39 | [
"Apache-2.0"
] | 217 | 2015-01-08T04:49:42.000Z | 2022-03-27T10:11:58.000Z | src/condor_contrib/condor_pigeon/src/condor_pigeon_client/skype_linux_tools/Skype4Py/Languages/ar.py | neurodebian/htcondor | 113a5c9921a4fce8a21e3ab96b2c1ba47441bf39 | [
"Apache-2.0"
] | 185 | 2015-05-03T13:26:31.000Z | 2022-03-28T03:08:59.000Z | src/condor_contrib/condor_pigeon/src/condor_pigeon_client/skype_linux_tools/Skype4Py/Languages/ar.py | neurodebian/htcondor | 113a5c9921a4fce8a21e3ab96b2c1ba47441bf39 | [
"Apache-2.0"
] | 133 | 2015-02-11T09:17:45.000Z | 2022-03-31T07:28:54.000Z | apiAttachAvailable = u'\u0648\u0627\u062c\u0647\u0629 \u0628\u0631\u0645\u062c\u0629 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 (API) \u0645\u062a\u0627\u062d\u0629'
apiAttachNotAvailable = u'\u063a\u064a\u0631 \u0645\u062a\u0627\u062d'
apiAttachPendingAuthorization = u'\u062a\u0639\u0644\u064a\u0642 \u0627\u0644\u06... | 86.87766 | 281 | 0.786873 | 2,326 | 16,333 | 5.525365 | 0.11307 | 0.088702 | 0.042017 | 0.05291 | 0.585745 | 0.53587 | 0.492997 | 0.440009 | 0.351618 | 0.288827 | 0 | 0.461694 | 0.061777 | 16,333 | 187 | 282 | 87.342246 | 0.37699 | 0 | 0 | 0 | 0 | 0.433155 | 0.743404 | 0.591602 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4045ef94c1bb15483da73257ea6a9033f8c1f889 | 89 | py | Python | cod-exemplo/teste.py | jot4V/teste_repositorio | 82c90ecd4988bf8ba83648bd559d3103da1dab22 | [
"MIT"
] | null | null | null | cod-exemplo/teste.py | jot4V/teste_repositorio | 82c90ecd4988bf8ba83648bd559d3103da1dab22 | [
"MIT"
] | null | null | null | cod-exemplo/teste.py | jot4V/teste_repositorio | 82c90ecd4988bf8ba83648bd559d3103da1dab22 | [
"MIT"
] | null | null | null | #28/07/2020
#Primeiro Repositório
#GitHub/VisualStudio
print('Testando Repositório 01') | 17.8 | 32 | 0.797753 | 11 | 89 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 0.089888 | 89 | 5 | 32 | 17.8 | 0.753086 | 0.561798 | 0 | 0 | 0 | 0 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
40a51da58a7a4add3bb2c7750fc2ac56d757f202 | 9,407 | py | Python | podcasting/forms.py | hakanw/django-podcasting | c35df6bd2ae6b32eef135f49fa568abc85a5237b | [
"BSD-3-Clause"
] | null | null | null | podcasting/forms.py | hakanw/django-podcasting | c35df6bd2ae6b32eef135f49fa568abc85a5237b | [
"BSD-3-Clause"
] | null | null | null | podcasting/forms.py | hakanw/django-podcasting | c35df6bd2ae6b32eef135f49fa568abc85a5237b | [
"BSD-3-Clause"
] | null | null | null | try:
from django.utils.timezone import now
except ImportError:
from datetime.datetime import now # noqa
from django import forms
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from podcasting.utils.twitter import can_tweet
from podcasting.utils.widgets import CustomA... | 31.046205 | 99 | 0.604443 | 960 | 9,407 | 5.760417 | 0.182292 | 0.05425 | 0.049367 | 0.022785 | 0.763472 | 0.729114 | 0.710307 | 0.710307 | 0.710307 | 0.692043 | 0 | 0 | 0.296162 | 9,407 | 302 | 100 | 31.149007 | 0.835221 | 0.050282 | 0 | 0.696581 | 0 | 0 | 0.178639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07265 | false | 0 | 0.038462 | 0 | 0.25641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
40d1fafb3bf438894e938f7604ec086f23be2e29 | 136 | py | Python | apps/posts/templatetags/templatetags_posts.py | tuanquanghpvn/bideox | 58e6880535c5a8a972a20db1e7b313ccb320cd34 | [
"MIT"
] | null | null | null | apps/posts/templatetags/templatetags_posts.py | tuanquanghpvn/bideox | 58e6880535c5a8a972a20db1e7b313ccb320cd34 | [
"MIT"
] | null | null | null | apps/posts/templatetags/templatetags_posts.py | tuanquanghpvn/bideox | 58e6880535c5a8a972a20db1e7b313ccb320cd34 | [
"MIT"
] | null | null | null | from django import template
register = template.Library()
@register.filter
def format_number(number):
return "{:,}".format(number) | 19.428571 | 32 | 0.742647 | 16 | 136 | 6.25 | 0.6875 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 136 | 7 | 32 | 19.428571 | 0.840336 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 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 | 1 | 1 | 0 | 0 | 5 |
40d9e736739fd87a307c5233384194848f23e6c4 | 136 | py | Python | courses/admin.py | OtchereDev/django-jobs | 403cbfc2f751c8a435c34ebc83b936f18106c228 | [
"MIT"
] | null | null | null | courses/admin.py | OtchereDev/django-jobs | 403cbfc2f751c8a435c34ebc83b936f18106c228 | [
"MIT"
] | null | null | null | courses/admin.py | OtchereDev/django-jobs | 403cbfc2f751c8a435c34ebc83b936f18106c228 | [
"MIT"
] | null | null | null | from courses.models import Course, Provider
from django.contrib import admin
admin.site.register(Course)
admin.site.register(Provider)
| 22.666667 | 43 | 0.830882 | 19 | 136 | 5.947368 | 0.578947 | 0.159292 | 0.300885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 136 | 5 | 44 | 27.2 | 0.91129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
90651a6652502b1789b230807d25d0d8241dad2f | 156 | py | Python | filelib/parser/interface.py | plinecom/JobManager | ce2c85fa740d5dce2d582e694bb3adc9176101d7 | [
"MIT"
] | null | null | null | filelib/parser/interface.py | plinecom/JobManager | ce2c85fa740d5dce2d582e694bb3adc9176101d7 | [
"MIT"
] | null | null | null | filelib/parser/interface.py | plinecom/JobManager | ce2c85fa740d5dce2d582e694bb3adc9176101d7 | [
"MIT"
] | null | null | null | __author__ = 'Masataka'
class IFileParser:
def __init__(self):
pass
def getparam(self):
pass
def getJob(self):
pass
| 12 | 23 | 0.570513 | 16 | 156 | 5.0625 | 0.625 | 0.296296 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 156 | 12 | 24 | 13 | 0.794118 | 0 | 0 | 0.375 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
90701c96cc74d31587642de9b590e28cd695aa19 | 173 | py | Python | kraps/values.py | krapsh/kraps-py | 6cf37135155b2c5193ccea35df0491213921d401 | [
"Apache-2.0"
] | 5 | 2017-10-25T10:53:47.000Z | 2019-01-12T19:32:36.000Z | kraps/values.py | krapsh/kraps-py | 6cf37135155b2c5193ccea35df0491213921d401 | [
"Apache-2.0"
] | 15 | 2017-06-22T20:53:50.000Z | 2017-10-22T00:47:00.000Z | kraps/values.py | krapsh/kraps-py | 6cf37135155b2c5193ccea35df0491213921d401 | [
"Apache-2.0"
] | 1 | 2018-08-23T04:25:57.000Z | 2018-08-23T04:25:57.000Z | from .types import *
def value_from_json_value(adt, js):
""" Parse a python value from a json blob.
It must be provided with an augmented data type.
"""
return js
| 19.222222 | 50 | 0.699422 | 29 | 173 | 4.068966 | 0.758621 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219653 | 173 | 8 | 51 | 21.625 | 0.874074 | 0.508671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
908319f26a92ba538f3bb5940f2f82e599d816dd | 106 | py | Python | tests/test_example.py | markaylett/platform-py | 6093cc9c49dcc642dd8e755914c7aab80e48efd2 | [
"Apache-2.0"
] | null | null | null | tests/test_example.py | markaylett/platform-py | 6093cc9c49dcc642dd8e755914c7aab80e48efd2 | [
"Apache-2.0"
] | null | null | null | tests/test_example.py | markaylett/platform-py | 6093cc9c49dcc642dd8e755914c7aab80e48efd2 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8
def func(x, y):
return x + y
def test_example():
assert func(1, 2) == 3
| 10.6 | 26 | 0.537736 | 18 | 106 | 3.111111 | 0.777778 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.283019 | 106 | 9 | 27 | 11.777778 | 0.684211 | 0.179245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
909cc7db63e39d6b4261c49becbe87ce567a7846 | 39 | py | Python | tests/__init__.py | luisggc/FConcrete | 0f8d003da965b359900acb084c0f8762aef1799e | [
"MIT"
] | null | null | null | tests/__init__.py | luisggc/FConcrete | 0f8d003da965b359900acb084c0f8762aef1799e | [
"MIT"
] | 2 | 2019-12-12T03:58:05.000Z | 2020-01-04T14:17:59.000Z | tests/__init__.py | luisggc/FConcrete | 0f8d003da965b359900acb084c0f8762aef1799e | [
"MIT"
] | null | null | null | """Unit test package for fconcrete."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.820513 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
90a2bae0c15accae874dee22b198a65b6f7fdc7f | 3,608 | py | Python | ByteArray.py | altanozlu/Transformice-Captcha-Server | 76a07d5d811712c6ad9e9f6159dcd30c77152407 | [
"Apache-2.0"
] | 1 | 2020-03-10T23:13:08.000Z | 2020-03-10T23:13:08.000Z | ByteArray.py | altanozlu/Transformice-Captcha-Server | 76a07d5d811712c6ad9e9f6159dcd30c77152407 | [
"Apache-2.0"
] | null | null | null | ByteArray.py | altanozlu/Transformice-Captcha-Server | 76a07d5d811712c6ad9e9f6159dcd30c77152407 | [
"Apache-2.0"
] | null | null | null | from struct import *
class ByteArray:
def __init__(this, bytes=""):
this.bytes = bytes
def writeByte(this, value):
if type(value) == unicode:
value = value.encode("utf-8")
pass
this.bytes += pack('!b', int(value))
return this
def writeUnsignedByte(this,... | 3,608 | 3,608 | 0.529102 | 433 | 3,608 | 4.399538 | 0.138568 | 0.198425 | 0.068241 | 0.094488 | 0.680315 | 0.59895 | 0.561155 | 0.561155 | 0.561155 | 0.561155 | 0 | 0.016102 | 0.328714 | 3,608 | 1 | 3,608 | 3,608 | 0.770438 | 0 | 0 | 0.5 | 0 | 0 | 0.021896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.080357 | 0.008929 | 0.026786 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
90eedc16bfff5b9f4e858fedbfcfc75645838959 | 78 | py | Python | conifer/backends/vhdl/__init__.py | Chriisbrown/conifer | 722ee42fe7fc75c86f356e4324e7774044e79862 | [
"Apache-2.0"
] | 1 | 2020-12-28T22:50:24.000Z | 2020-12-28T22:50:24.000Z | conifer/backends/vhdl/__init__.py | Chriisbrown/conifer | 722ee42fe7fc75c86f356e4324e7774044e79862 | [
"Apache-2.0"
] | null | null | null | conifer/backends/vhdl/__init__.py | Chriisbrown/conifer | 722ee42fe7fc75c86f356e4324e7774044e79862 | [
"Apache-2.0"
] | null | null | null | from .writer import write, auto_config, sim_compile, decision_function, build
| 39 | 77 | 0.833333 | 11 | 78 | 5.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 1 | 78 | 78 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
293d7ca22e780cd1539eaa6b788864d9b0bc3fef | 56 | py | Python | social/apps/django_app/default/config.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 1,987 | 2015-01-01T16:12:45.000Z | 2022-03-29T14:24:25.000Z | social/apps/django_app/default/config.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 731 | 2015-01-01T22:55:25.000Z | 2022-03-10T15:07:51.000Z | virtual/lib/python3.6/site-packages/social/apps/django_app/default/config.py | dennismwaniki67/awards | 80ed10541f5f751aee5f8285ab1ad54cfecba95f | [
"MIT"
] | 1,082 | 2015-01-01T16:27:26.000Z | 2022-03-22T21:18:33.000Z | from social_django.config import PythonSocialAuthConfig
| 28 | 55 | 0.910714 | 6 | 56 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
29536955cccb179a3803d344cf8968a3db6b499a | 54 | py | Python | khS/khS/context_processors.py | KaiserMovet/k-homeServer4 | 1a224c7726d6b1a9d1b75d9bbc06767f17f549f4 | [
"MIT"
] | 1 | 2021-09-16T10:06:33.000Z | 2021-09-16T10:06:33.000Z | khS/khS/context_processors.py | KaiserMovet/k-homeServer4 | 1a224c7726d6b1a9d1b75d9bbc06767f17f549f4 | [
"MIT"
] | null | null | null | khS/khS/context_processors.py | KaiserMovet/k-homeServer4 | 1a224c7726d6b1a9d1b75d9bbc06767f17f549f4 | [
"MIT"
] | null | null | null | def name(request):
return {'name': 'Django Guru'}
| 18 | 34 | 0.62963 | 7 | 54 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 54 | 2 | 35 | 27 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
29624de5c1bfb9a61e89d73d6352a4f2a32c4d43 | 48 | py | Python | src/main.py | vergoh/micropython-spotify-status-display | a8705507bd8801634ebe23b50b14018f0ba8de6d | [
"MIT"
] | 3 | 2020-12-07T06:48:29.000Z | 2021-02-10T06:03:24.000Z | src/main.py | vergoh/micropython-spotify-status-display | a8705507bd8801634ebe23b50b14018f0ba8de6d | [
"MIT"
] | null | null | null | src/main.py | vergoh/micropython-spotify-status-display | a8705507bd8801634ebe23b50b14018f0ba8de6d | [
"MIT"
] | null | null | null | import spotify
s = spotify.Spotify()
s.start()
| 9.6 | 21 | 0.708333 | 7 | 48 | 4.857143 | 0.571429 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 4 | 22 | 12 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2981d6ca435293bcd442706b0ef4082b96168cc3 | 320 | py | Python | projects/tutorials/scene.py | behnamasadi/manim | b9d9d164927df886ad18112b9512113e6dd6565a | [
"MIT"
] | null | null | null | projects/tutorials/scene.py | behnamasadi/manim | b9d9d164927df886ad18112b9512113e6dd6565a | [
"MIT"
] | null | null | null | projects/tutorials/scene.py | behnamasadi/manim | b9d9d164927df886ad18112b9512113e6dd6565a | [
"MIT"
] | null | null | null | # manim.scene.scene.Scene¶
# https://docs.manim.community/en/v0.3.0/reference/manim.scene.scene.Scene.html#manim.scene.scene.Scene.add
# https://docs.manim.community/en/v0.3.0/reference/manim.scene.moving_camera_scene.html#module-manim.scene.moving_camera_scene
# https://manim-docs.readthedocs.io/en/latest/scenes.html
| 64 | 126 | 0.8 | 54 | 320 | 4.685185 | 0.37037 | 0.237154 | 0.177866 | 0.237154 | 0.55336 | 0.379447 | 0.379447 | 0.379447 | 0.379447 | 0.379447 | 0 | 0.019231 | 0.025 | 320 | 4 | 127 | 80 | 0.788462 | 0.965625 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
461e612bb7bd020c5dbcac8ad92247e8f9ff87dc | 252 | py | Python | test/lib/__init__.py | noryb009/rmc | 2c9c6368b6cd5c4996645eb1c318aaddc7b401f3 | [
"MIT"
] | 164 | 2015-01-14T00:20:02.000Z | 2022-03-10T19:55:02.000Z | test/lib/__init__.py | noryb009/rmc | 2c9c6368b6cd5c4996645eb1c318aaddc7b401f3 | [
"MIT"
] | 142 | 2015-01-01T02:49:13.000Z | 2022-03-11T23:18:17.000Z | test/lib/__init__.py | noryb009/rmc | 2c9c6368b6cd5c4996645eb1c318aaddc7b401f3 | [
"MIT"
] | 79 | 2015-01-19T03:32:31.000Z | 2021-08-09T22:53:10.000Z | from acceptance_test_case import AcceptanceTestCase # @UnusedImport
from flask_test_case import FlaskTestCase # @UnusedImport
from model_test_case import ModelTestCase # @UnusedImport
from fixtures_test_case import FixturesTestCase # @UnusedImport
| 50.4 | 68 | 0.857143 | 28 | 252 | 7.428571 | 0.464286 | 0.153846 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 252 | 4 | 69 | 63 | 0.928571 | 0.218254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
463eef3ff8d3859e1f9638b70afef5b3496985be | 8,454 | py | Python | sigploit.py | wiperowner/SigPloit-ss7 | 737ba9a632f4532b9502288fe95f700f7103ed56 | [
"MIT"
] | 1 | 2021-11-07T10:39:56.000Z | 2021-11-07T10:39:56.000Z | sigploit.py | wiperowner/SigPloit-ss7 | 737ba9a632f4532b9502288fe95f700f7103ed56 | [
"MIT"
] | null | null | null | sigploit.py | wiperowner/SigPloit-ss7 | 737ba9a632f4532b9502288fe95f700f7103ed56 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
'''
Created on 1 Feb 2018
@author: loay
'''
import sys
import os
import signal
import time
from ss7.tracking import *
from ss7.interception import *
from ss7.fraud import *
from ss7.dos import *
from ss7main import *
def banner(word):
letterforms = '''\
| | | | ... | 40.84058 | 111 | 0.372486 | 1,291 | 8,454 | 2.420604 | 0.144074 | 0.31616 | 0.35904 | 0.36352 | 0.59072 | 0.51712 | 0.45792 | 0.39872 | 0.36384 | 0.30848 | 0 | 0.057445 | 0.474923 | 8,454 | 206 | 112 | 41.038835 | 0.646542 | 0.002366 | 0 | 0.166667 | 0 | 0.133333 | 0.798427 | 0.046251 | 0 | 0 | 0.000358 | 0 | 0 | 0 | null | null | 0 | 0.05 | null | null | 0.172222 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
468f7f7426fee0081d69bd8ccb7a968054a08fe1 | 79 | py | Python | Codewars/8kyu/add-new-item-collections-are-passed-by-reference/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/add-new-item-collections-are-passed-by-reference/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/add-new-item-collections-are-passed-by-reference/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 2.7.6
def AddExtra(listOfNumbers):
return listOfNumbers + ['']
| 15.8 | 31 | 0.658228 | 9 | 79 | 5.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.189873 | 79 | 4 | 32 | 19.75 | 0.765625 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
46ad9923505876b285b2b658250d63073c084e8a | 46 | py | Python | dds_web/security/__init__.py | zishanmirza/dds_web | dbcb92176951cf7589a558833e2c870e9e47e9df | [
"BSD-3-Clause"
] | 3 | 2021-06-18T09:38:28.000Z | 2022-02-28T19:37:54.000Z | dds_web/security/__init__.py | zishanmirza/dds_web | dbcb92176951cf7589a558833e2c870e9e47e9df | [
"BSD-3-Clause"
] | 610 | 2021-05-12T08:33:31.000Z | 2022-03-31T14:55:05.000Z | dds_web/security/__init__.py | MatthiasZepper/dds_web | 28c297f15017eaf17328b607ba242c9587c24eb9 | [
"BSD-3-Clause"
] | 12 | 2021-05-19T10:33:45.000Z | 2022-03-16T10:23:27.000Z | """Security related functions and classes."""
| 23 | 45 | 0.73913 | 5 | 46 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.829268 | 0.847826 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d3c8f80d9c694e274b7c0d3f1c9d41764dde46b0 | 190 | py | Python | nakuru/entities/friend.py | InPRTx/nakuru-project | cfe9ce9dc7157ecd5b1e98ba047d3429493e6abd | [
"MIT"
] | null | null | null | nakuru/entities/friend.py | InPRTx/nakuru-project | cfe9ce9dc7157ecd5b1e98ba047d3429493e6abd | [
"MIT"
] | null | null | null | nakuru/entities/friend.py | InPRTx/nakuru-project | cfe9ce9dc7157ecd5b1e98ba047d3429493e6abd | [
"MIT"
] | null | null | null | from pydantic import BaseModel
import typing as T
class Friend(BaseModel):
user_id: int
nickname: str
sex: T.Optional[str]
age: T.Optional[int]
source: T.Optional[str]
| 17.272727 | 30 | 0.689474 | 28 | 190 | 4.642857 | 0.642857 | 0.207692 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221053 | 190 | 10 | 31 | 19 | 0.878378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d3d20ed1a5e71960b38aefd44aee720ecfbd8549 | 274 | py | Python | planner/tests/base.py | pmontgo33/lawn-care-planner | 0b79a07a301eeb9a15ff1f4f461bdd364151f86a | [
"MIT"
] | 7 | 2016-12-07T18:34:42.000Z | 2021-08-03T15:22:35.000Z | planner/tests/base.py | pmontgo33/lawn-care-planner | 0b79a07a301eeb9a15ff1f4f461bdd364151f86a | [
"MIT"
] | 35 | 2016-11-23T15:40:46.000Z | 2017-05-18T22:58:17.000Z | planner/tests/base.py | pmontgo33/lawn-care-planner | 0b79a07a301eeb9a15ff1f4f461bdd364151f86a | [
"MIT"
] | 1 | 2017-04-13T15:13:01.000Z | 2017-04-13T15:13:01.000Z | from django.test import TestCase
class UnitTestWithFixtures(TestCase):
fixtures = ['auth_views_testdata.json', 'planner_grasstype_testdata.json', 'planner_lawn_testdata.json',
'planner_lawnproduct_testdata.json', 'planner_weatherstation_testdata.json'] | 45.666667 | 108 | 0.781022 | 29 | 274 | 7.034483 | 0.586207 | 0.294118 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 274 | 6 | 109 | 45.666667 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d3d9f1b0fe454a0aa1fcdb1b03eafdf7eef4d627 | 48 | py | Python | aoc/d10/__init__.py | klittlepage/aoc2021 | 896848024b24e862211357795bc1e866534ffec2 | [
"MIT"
] | null | null | null | aoc/d10/__init__.py | klittlepage/aoc2021 | 896848024b24e862211357795bc1e866534ffec2 | [
"MIT"
] | null | null | null | aoc/d10/__init__.py | klittlepage/aoc2021 | 896848024b24e862211357795bc1e866534ffec2 | [
"MIT"
] | null | null | null | from aoc.d10.main import p_1, p_2 # noqa: F401
| 24 | 47 | 0.708333 | 11 | 48 | 2.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0.1875 | 48 | 1 | 48 | 48 | 0.641026 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d3f0b4e8835d6b13274411d72ed7583a35978857 | 182 | py | Python | protonoc/__init__.py | LABSS/PyPROTON-OC | 264072e6d717a2d1686d5c5271a868f40ed071ff | [
"MIT"
] | 4 | 2021-03-25T10:27:09.000Z | 2021-04-14T15:24:34.000Z | protonoc/__init__.py | LABSS/PyPROTON-OC | 264072e6d717a2d1686d5c5271a868f40ed071ff | [
"MIT"
] | 20 | 2021-03-24T09:54:57.000Z | 2021-08-05T15:59:26.000Z | protonoc/__init__.py | LABSS/PyPROTON-OC | 264072e6d717a2d1686d5c5271a868f40ed071ff | [
"MIT"
] | null | null | null | from protonoc.simulator.model import ProtonOC
from protonoc.simulator.entities import Person, School, Job, Employer
from protonoc.simulator import utils
#version
__version__ = "1.0" | 30.333333 | 69 | 0.824176 | 24 | 182 | 6.083333 | 0.583333 | 0.246575 | 0.431507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.104396 | 182 | 6 | 70 | 30.333333 | 0.883436 | 0.038462 | 0 | 0 | 0 | 0 | 0.017143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
311320edc0185e733437bb2306aa9122c08ee731 | 68 | py | Python | firmware/common/pyrogue/DevBoardUtils/__init__.py | ruck314/dev-board-cryo | fe2d90ffeff6bf9adc28570e19196f6235e3176f | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-02-04T17:52:03.000Z | 2019-02-04T17:52:03.000Z | firmware/common/pyrogue/DevBoardUtils/__init__.py | ruck314/dev-board-cryo | fe2d90ffeff6bf9adc28570e19196f6235e3176f | [
"BSD-3-Clause-LBNL"
] | null | null | null | firmware/common/pyrogue/DevBoardUtils/__init__.py | ruck314/dev-board-cryo | fe2d90ffeff6bf9adc28570e19196f6235e3176f | [
"BSD-3-Clause-LBNL"
] | 6 | 2018-08-21T20:14:24.000Z | 2020-12-13T00:13:48.000Z | #!/usr/bin/env python
from DevBoardUtils.AxiFanController import *
| 17 | 44 | 0.794118 | 8 | 68 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 3 | 45 | 22.666667 | 0.885246 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
31520160a4d6ae16af44f3eb8361fa63bc0ad7a9 | 3,426 | py | Python | isi_sdk_8_0/test/test_antivirus_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 24 | 2018-06-22T14:13:23.000Z | 2022-03-23T01:21:26.000Z | isi_sdk_8_0/test/test_antivirus_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 46 | 2018-04-30T13:28:22.000Z | 2022-03-21T21:11:07.000Z | isi_sdk_8_0/test/test_antivirus_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 29 | 2018-06-19T00:14:04.000Z | 2022-02-08T17:51:19.000Z | # coding: utf-8
"""
Isilon SDK
Isilon SDK - Language bindings for the OneFS API # noqa: E501
OpenAPI spec version: 3
Contact: sdk@isilon.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import isi_sdk_8_0
from isi... | 19.803468 | 77 | 0.625803 | 402 | 3,426 | 4.965174 | 0.174129 | 0.080661 | 0.126754 | 0.172846 | 0.768537 | 0.572144 | 0.102204 | 0 | 0 | 0 | 0 | 0.007867 | 0.295096 | 3,426 | 172 | 78 | 19.918605 | 0.818634 | 0.392294 | 0 | 0.413793 | 1 | 0 | 0.004141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.431034 | false | 0.413793 | 0.086207 | 0 | 0.534483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3170fc58b04dbcd3c9dad4e3aa2247ddcf5033d8 | 30 | py | Python | opendatatools/index/__init__.py | solider245/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 1,179 | 2018-05-28T07:14:41.000Z | 2022-03-27T16:03:51.000Z | opendatatools/index/__init__.py | taoyeah/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 42 | 2018-07-05T02:44:56.000Z | 2022-03-29T12:12:30.000Z | opendatatools/index/__init__.py | taoyeah/OpenData | 031aa29b7b6b26a903f378e3da10520fd3a1b7ab | [
"Apache-2.0"
] | 297 | 2018-05-28T07:39:38.000Z | 2022-03-28T02:35:59.000Z | from .index_interface import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
318c6a0cf5564b9f0f39b0c72f65a8b7238e4464 | 173 | py | Python | pymarkdown/compatibility.py | mrocklin/pymarkdown | 22ad745e3dd55c5f3b968d310376833020657668 | [
"BSD-3-Clause"
] | 48 | 2015-04-06T05:19:33.000Z | 2021-12-25T10:56:53.000Z | pymarkdown/compatibility.py | mrocklin/pymarkdown | 22ad745e3dd55c5f3b968d310376833020657668 | [
"BSD-3-Clause"
] | 2 | 2015-04-07T00:19:47.000Z | 2015-05-13T14:34:04.000Z | pymarkdown/compatibility.py | mrocklin/pymarkdown | 22ad745e3dd55c5f3b968d310376833020657668 | [
"BSD-3-Clause"
] | 10 | 2015-04-06T22:17:55.000Z | 2020-06-28T20:17:57.000Z | import sys
if sys.version_info[0] == 3:
from io import StringIO
unicode = str
if sys.version_info[0] == 2:
from StringIO import StringIO
unicode = unicode
| 17.3 | 33 | 0.676301 | 26 | 173 | 4.423077 | 0.5 | 0.086957 | 0.208696 | 0.278261 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.242775 | 173 | 9 | 34 | 19.222222 | 0.847328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
31951b8c48352aebddb50c52563913d00594e0cf | 16 | py | Python | openml_data_integration/protobuf_generator/openml_40691/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 8 | 2020-04-21T13:29:04.000Z | 2021-12-13T08:59:09.000Z | openml_data_integration/protobuf_generator/openml_40691/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 3 | 2021-04-27T11:03:04.000Z | 2021-05-24T18:22:57.000Z | openml_data_integration/protobuf_generator/openml_40691/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 6 | 2020-07-06T08:23:25.000Z | 2021-11-24T10:39:34.000Z | DATA_ID = 40691
| 8 | 15 | 0.75 | 3 | 16 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0.1875 | 16 | 1 | 16 | 16 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31c3300d7be9e4bbe1e015071e8a77ddb44305c9 | 88,746 | py | Python | fn_alienvault_otx/fn_alienvault_otx/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2020-08-25T03:43:07.000Z | 2020-08-25T03:43:07.000Z | fn_alienvault_otx/fn_alienvault_otx/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2019-07-08T16:57:48.000Z | 2019-07-08T16:57:48.000Z | fn_alienvault_otx/fn_alienvault_otx/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_alienvault_otx"""
from __future__ import print_function
from resilient_circuits.util import *
def codegen_reload_data():
"""Parameters to codegen used to generate the fn_alienvault_otx package"""
reload_params = {"package": u"fn... | 75.272265 | 284 | 0.974252 | 1,630 | 88,746 | 52.952761 | 0.75092 | 0.004171 | 0.004727 | 0.003198 | 0.099255 | 0.094354 | 0.086939 | 0.086939 | 0.086939 | 0.086939 | 0 | 0.108792 | 0.021015 | 88,746 | 1,179 | 285 | 75.272265 | 0.88467 | 0.013905 | 0 | 0.144493 | 1 | 0 | 0.990292 | 0.972889 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001762 | false | 0 | 0.002643 | 0 | 0.005286 | 0.000881 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31c7292505157d51742f082994764d75b09af9c8 | 128 | py | Python | predict/serializers.py | darshpatel2000/Plant-leaves-disease-analyzer | 2a354bd8838bc2db61399f16c499a6aae0eb0d44 | [
"MIT"
] | 2 | 2020-02-20T17:23:32.000Z | 2020-08-10T02:26:30.000Z | predict/serializers.py | darshpatel2000/Plant-leaves-disease-analyzer | 2a354bd8838bc2db61399f16c499a6aae0eb0d44 | [
"MIT"
] | 1 | 2021-02-04T11:18:43.000Z | 2021-02-04T11:18:43.000Z | predict/serializers.py | darshpatel2000/Plant-leaves-disease-analyzer | 2a354bd8838bc2db61399f16c499a6aae0eb0d44 | [
"MIT"
] | 1 | 2020-10-01T04:56:26.000Z | 2020-10-01T04:56:26.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:34bf686d2c010568190f3d4c344d8efbf7c339e70673a1692f1cf46f53bb8e44
size 189
| 32 | 75 | 0.882813 | 13 | 128 | 8.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.401639 | 0.046875 | 128 | 3 | 76 | 42.666667 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9ee74cfb91273ed57b3b138d1ffa16c0e75dbffd | 32 | py | Python | examples/minitwit/rb.py | txdywy/flask | 5cf167b448267aedec8f5b2e30ad4ee0ad9b3f55 | [
"BSD-3-Clause"
] | 2 | 2015-08-07T18:01:01.000Z | 2015-08-14T03:29:10.000Z | examples/minitwit/rb.py | txdywy/flask | 5cf167b448267aedec8f5b2e30ad4ee0ad9b3f55 | [
"BSD-3-Clause"
] | 2 | 2015-03-30T05:28:35.000Z | 2015-06-28T01:08:50.000Z | examples/minitwit/rb.py | txdywy/flask | 5cf167b448267aedec8f5b2e30ad4ee0ad9b3f55 | [
"BSD-3-Clause"
] | 2 | 2015-03-04T05:06:55.000Z | 2015-03-29T22:46:19.000Z | import wxbot
wxbot.main_loop()
| 8 | 17 | 0.78125 | 5 | 32 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 3 | 18 | 10.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b40a3b5a41e96f2139c6b18fb787aef076390d3c | 162 | py | Python | lib.py | viridianajim/git-wizard-code | 0ec8a2fe2b5bbb11d49450f8d19fa70a7da48eba | [
"MIT"
] | null | null | null | lib.py | viridianajim/git-wizard-code | 0ec8a2fe2b5bbb11d49450f8d19fa70a7da48eba | [
"MIT"
] | null | null | null | lib.py | viridianajim/git-wizard-code | 0ec8a2fe2b5bbb11d49450f8d19fa70a7da48eba | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
'''A library of functions for our cool app'''
def add(a, b):
return a + b
def add1(a):
return a - 1
def sub1(a):
pass
| 10.125 | 45 | 0.567901 | 29 | 162 | 3.172414 | 0.689655 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.290123 | 162 | 15 | 46 | 10.8 | 0.765217 | 0.382716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.166667 | 0 | 0.333333 | 0.833333 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
b41edffe205f56f9e468f7b7aa1a7d9daec35516 | 168 | py | Python | src/brouwers/groupbuilds/query.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 6 | 2015-03-03T13:23:07.000Z | 2021-12-19T18:12:41.000Z | src/brouwers/groupbuilds/query.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 95 | 2015-02-07T00:55:39.000Z | 2022-02-08T20:22:05.000Z | src/brouwers/groupbuilds/query.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 2 | 2016-03-22T16:53:26.000Z | 2019-02-09T22:46:04.000Z | from django.db import models
class GroupbuildQuerySet(models.QuerySet):
def with_admin_count(self):
return self.annotate(n_admins=models.Count("admins"))
| 24 | 61 | 0.755952 | 22 | 168 | 5.636364 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 168 | 6 | 62 | 28 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b42036288fd33eaa3464058e331fa078cccb0f1d | 92 | py | Python | src/homework/b_in_proc_out/output.py | MSGP117/acc-cosc-1336-spring-2022-MSGP117 | 46fdfa5da8f8eb887d2c79fe205b8a0064d6903d | [
"MIT"
] | null | null | null | src/homework/b_in_proc_out/output.py | MSGP117/acc-cosc-1336-spring-2022-MSGP117 | 46fdfa5da8f8eb887d2c79fe205b8a0064d6903d | [
"MIT"
] | null | null | null | src/homework/b_in_proc_out/output.py | MSGP117/acc-cosc-1336-spring-2022-MSGP117 | 46fdfa5da8f8eb887d2c79fe205b8a0064d6903d | [
"MIT"
] | 1 | 2022-02-12T03:50:32.000Z | 2022-02-12T03:50:32.000Z | def get_number(num):
return num
def multiply_numbers(num1, num2):
return num1 * num2 | 23 | 33 | 0.717391 | 14 | 92 | 4.571429 | 0.642857 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.195652 | 92 | 4 | 34 | 23 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
b42bcfc219f211e297451beb564a5cd9310261ed | 15 | py | Python | ares_hello.py | AresGod96/sandbox | 35a18f6286be3272e49b811c2c619703495bf076 | [
"MIT"
] | null | null | null | ares_hello.py | AresGod96/sandbox | 35a18f6286be3272e49b811c2c619703495bf076 | [
"MIT"
] | null | null | null | ares_hello.py | AresGod96/sandbox | 35a18f6286be3272e49b811c2c619703495bf076 | [
"MIT"
] | null | null | null | print("Éc éc")
| 7.5 | 14 | 0.6 | 3 | 15 | 3 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 15 | 1 | 15 | 15 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b42f6e75163b64e2d9355f2c0698fcafcdefe9f2 | 111 | py | Python | kws/utils/data/__init__.py | wangwenxi-handsome/kws-attention | 38c0834aeaf9c4a7fe0765813f06d2f7d7bb2c74 | [
"MIT"
] | 13 | 2021-03-08T12:28:22.000Z | 2022-02-23T02:03:25.000Z | kws/utils/data/__init__.py | wangwenxi-handsome/kws-attention | 38c0834aeaf9c4a7fe0765813f06d2f7d7bb2c74 | [
"MIT"
] | 2 | 2021-08-09T07:12:36.000Z | 2021-09-11T11:06:13.000Z | kws/utils/data/__init__.py | wangwenxi-handsome/kws-attention | 38c0834aeaf9c4a7fe0765813f06d2f7d7bb2c74 | [
"MIT"
] | 5 | 2020-11-04T02:19:27.000Z | 2021-12-26T14:35:09.000Z | from .speech_commands import SpeechCommandsDataset
from .data import load_data, split_data, calculate_weights
| 27.75 | 58 | 0.864865 | 14 | 111 | 6.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 111 | 3 | 59 | 37 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b484b8d4d4ac76ef28b360ffebeefe23fa1e0bd5 | 81 | py | Python | Emmanuel ANENE/Phase 1/Python Basic 1/Day7/task2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Emmanuel ANENE/Phase 1/Python Basic 1/Day7/task2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Emmanuel ANENE/Phase 1/Python Basic 1/Day7/task2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | '''
Write a Python program to print to stderr.
'''
import sys
print(sys.stderr) | 11.571429 | 42 | 0.703704 | 13 | 81 | 4.384615 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 81 | 7 | 43 | 11.571429 | 0.850746 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b4881b07c8bc62e47260a24cfc3cd3b8036b9a25 | 82 | py | Python | ambassador/ambassador/envoy/__init__.py | HoveringHalibut/ambassador | d690f03fd0f6b182704d1dd3ac01fe744c94fc1e | [
"Apache-2.0"
] | 1 | 2019-08-17T10:32:08.000Z | 2019-08-17T10:32:08.000Z | ambassador/ambassador/envoy/__init__.py | HoveringHalibut/ambassador | d690f03fd0f6b182704d1dd3ac01fe744c94fc1e | [
"Apache-2.0"
] | 1 | 2019-03-14T06:46:23.000Z | 2019-03-14T06:46:23.000Z | ambassador/ambassador/envoy/__init__.py | HoveringHalibut/ambassador | d690f03fd0f6b182704d1dd3ac01fe744c94fc1e | [
"Apache-2.0"
] | null | null | null | from .v1 import V1Config
from .v2 import V2Config
from .common import EnvoyConfig
| 20.5 | 31 | 0.817073 | 12 | 82 | 5.583333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.146341 | 82 | 3 | 32 | 27.333333 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c348780ef54cba76b7a71640cbd87f618cabe830 | 197 | py | Python | app/plugins/field_processor/base.py | venturiscm/hcp | 74ad18180822301274daa9218d7bd9fbdb7807f7 | [
"Apache-2.0"
] | 1 | 2020-06-22T21:25:52.000Z | 2020-06-22T21:25:52.000Z | app/plugins/field_processor/base.py | venturiscm/hcp | 74ad18180822301274daa9218d7bd9fbdb7807f7 | [
"Apache-2.0"
] | 1 | 2020-05-21T02:46:24.000Z | 2020-05-25T07:19:23.000Z | app/plugins/field_processor/base.py | venturiscm/hcp | 74ad18180822301274daa9218d7bd9fbdb7807f7 | [
"Apache-2.0"
] | null | null | null | from systems.plugins.index import BasePlugin
class BaseProvider(BasePlugin('field_processor')):
def exec(self, dataset, field_data):
# Override in subclass
return field_data
| 21.888889 | 50 | 0.725888 | 23 | 197 | 6.086957 | 0.826087 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19797 | 197 | 8 | 51 | 24.625 | 0.886076 | 0.101523 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c35be2fe3dd4a8f952c2d8bdd7bce32b097c2478 | 207 | py | Python | airmozilla/new/cron.py | mozilla/airmozilla | fa6acbbbacc1e22553457807bcea7ce7a9ef6fe3 | [
"BSD-3-Clause"
] | 115 | 2015-01-06T18:45:39.000Z | 2022-02-07T10:56:49.000Z | airmozilla/new/cron.py | april/airmozilla | ee357f5396cdcb50147c72ff1e81a610f9cb292c | [
"BSD-3-Clause"
] | 321 | 2015-01-02T15:19:25.000Z | 2018-07-05T14:58:50.000Z | airmozilla/new/cron.py | april/airmozilla | ee357f5396cdcb50147c72ff1e81a610f9cb292c | [
"BSD-3-Clause"
] | 101 | 2015-01-13T17:59:15.000Z | 2020-12-15T02:58:38.000Z | import cronjobs
from airmozilla.cronlogger.decorators import capture
from . import eventemails
@cronjobs.register
@capture
def send_new_event_emails():
eventemails.send_new_event_emails(verbose=True)
| 18.818182 | 52 | 0.830918 | 26 | 207 | 6.384615 | 0.615385 | 0.084337 | 0.144578 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10628 | 207 | 10 | 53 | 20.7 | 0.897297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c35e6db7bdc3c94394af5a423b047a3cf60fd482 | 13,985 | py | Python | KWP/downed_wildlife_monitoring/forms.py | arcticczar/DownedWildlifeMonitoring | 55c2b2bd1d537163735f9c371493365215b5ea7d | [
"Unlicense",
"MIT"
] | null | null | null | KWP/downed_wildlife_monitoring/forms.py | arcticczar/DownedWildlifeMonitoring | 55c2b2bd1d537163735f9c371493365215b5ea7d | [
"Unlicense",
"MIT"
] | null | null | null | KWP/downed_wildlife_monitoring/forms.py | arcticczar/DownedWildlifeMonitoring | 55c2b2bd1d537163735f9c371493365215b5ea7d | [
"Unlicense",
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Mar 07 08:35:37 2017
@author: mstelmach
"""
from django import forms
from django.core.exceptions import ValidationError
from .models import (DownedWildlifeMonitoring,
ActionsTaken,
NeneSurvey,
CareSetUp,
... | 28.309717 | 80 | 0.578906 | 1,331 | 13,985 | 5.82269 | 0.152517 | 0.104258 | 0.195484 | 0.265548 | 0.501548 | 0.333935 | 0.146323 | 0.138065 | 0.138065 | 0.138065 | 0 | 0.010356 | 0.337147 | 13,985 | 494 | 81 | 28.309717 | 0.825674 | 0.017161 | 0 | 0.315789 | 0 | 0 | 0.072241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.279778 | false | 0 | 0.00831 | 0.271468 | 0.67867 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c375e238d2e48457d0a3e422eb06ac676d8aa55b | 23 | py | Python | bindings/pydairlib/__init__.py | DavidDePauw1/dairlib | 3c75c8f587927b12a58f2e88dda61cc0e7dc82a3 | [
"BSD-3-Clause"
] | 32 | 2019-04-15T03:10:26.000Z | 2022-03-28T17:27:03.000Z | bindings/pydairlib/__init__.py | DavidDePauw1/dairlib | 3c75c8f587927b12a58f2e88dda61cc0e7dc82a3 | [
"BSD-3-Clause"
] | 157 | 2019-02-21T03:13:57.000Z | 2022-03-09T19:13:59.000Z | bindings/pydairlib/__init__.py | DavidDePauw1/dairlib | 3c75c8f587927b12a58f2e88dda61cc0e7dc82a3 | [
"BSD-3-Clause"
] | 22 | 2019-03-02T22:31:42.000Z | 2022-03-10T21:28:50.000Z | # Empty Python module.
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0.869565 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5ef3711ceac41233f9190839369d8345d86de17b | 30 | py | Python | bugtests/test262p/__init__.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test262p/__init__.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test262p/__init__.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | assert __name__ == "test262p"
| 15 | 29 | 0.733333 | 3 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.133333 | 30 | 1 | 30 | 30 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5efafe51975f59b8a293062f487dde98c6f29bfc | 300 | py | Python | accounts/admin.py | NoobLucifer/NSP | f411570924905f1bf3c39fa36b5949e5b9e37c0a | [
"MIT"
] | 20 | 2018-08-02T15:10:30.000Z | 2019-05-15T14:38:06.000Z | accounts/admin.py | nk521/NSP | ecffc873fbfe3471ed320f0698adca4e8c573ab5 | [
"MIT"
] | 55 | 2018-06-19T04:31:56.000Z | 2018-07-19T17:42:00.000Z | accounts/admin.py | nk521/NSP | ecffc873fbfe3471ed320f0698adca4e8c573ab5 | [
"MIT"
] | 10 | 2018-08-03T10:42:16.000Z | 2019-01-31T10:07:57.000Z | from django.contrib import admin
from accounts.models import *
from accounts.models import UserProfile
admin.site.site_title = "NSP"
admin.site.index_title = "NSP"
admin.site.site_header = "NSP ADMINISTRATION"
admin.site.register(Skill)
admin.site.register(UserProfile)
admin.site.register(Follow)
| 25 | 45 | 0.806667 | 42 | 300 | 5.690476 | 0.404762 | 0.225941 | 0.213389 | 0.200837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 300 | 11 | 46 | 27.272727 | 0.875458 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6f6dadcf2974d7ffc3b87f8caea434b93d0b06b6 | 107 | py | Python | collabinn/meetings/admin.py | AbhinavTalari/SOAD-Project | aa89f481da2b6f29c8750d9c144f82368be81a7b | [
"MIT"
] | null | null | null | collabinn/meetings/admin.py | AbhinavTalari/SOAD-Project | aa89f481da2b6f29c8750d9c144f82368be81a7b | [
"MIT"
] | null | null | null | collabinn/meetings/admin.py | AbhinavTalari/SOAD-Project | aa89f481da2b6f29c8750d9c144f82368be81a7b | [
"MIT"
] | 2 | 2020-12-21T07:05:41.000Z | 2021-02-17T17:33:48.000Z | from django.contrib import admin
from meetings.models import MeetingInfo
admin.site.register(MeetingInfo)
| 21.4 | 39 | 0.850467 | 14 | 107 | 6.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 107 | 4 | 40 | 26.75 | 0.938144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
48a0e21c01d196f5659c8896f7ab18311d5469b2 | 82 | py | Python | main.py | greenrazer/eote-discord-roll-helper | c7134e99ed932600d09311ff409d8a553cb0f3fc | [
"MIT"
] | null | null | null | main.py | greenrazer/eote-discord-roll-helper | c7134e99ed932600d09311ff409d8a553cb0f3fc | [
"MIT"
] | null | null | null | main.py | greenrazer/eote-discord-roll-helper | c7134e99ed932600d09311ff409d8a553cb0f3fc | [
"MIT"
] | null | null | null | import os
import subprocess
import eote
if __name__ == "__main__":
eote.main() | 11.714286 | 26 | 0.731707 | 11 | 82 | 4.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 82 | 7 | 27 | 11.714286 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
48a5a746e4b11f685aff64a8bd9561e3f73aaafa | 4,698 | py | Python | tests/test_move.py | oak-bay/sim | 8969e85bcbf81ba7410ce1af7b328965534ca672 | [
"MIT"
] | null | null | null | tests/test_move.py | oak-bay/sim | 8969e85bcbf81ba7410ce1af7b328965534ca672 | [
"MIT"
] | null | null | null | tests/test_move.py | oak-bay/sim | 8969e85bcbf81ba7410ce1af7b328965534ca672 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import math
from sim import vec, move
class TestMove(unittest.TestCase):
def test_xyz_aer(self):
""" 测试 XYZ 和 AER 之间的坐标转换.
1.xyz_to_aer
2.aer_to_xyz
"""
xyz = vec.vec([1, 0, 0])
aer = move.xyz_to_aer(xyz)
np.testing.assert_... | 33.084507 | 72 | 0.55364 | 769 | 4,698 | 3.211964 | 0.087126 | 0.075304 | 0.157895 | 0.221053 | 0.866397 | 0.845344 | 0.819028 | 0.663968 | 0.615789 | 0.594332 | 0 | 0.073014 | 0.271179 | 4,698 | 141 | 73 | 33.319149 | 0.648364 | 0.01639 | 0 | 0.300971 | 0 | 0 | 0.002426 | 0 | 0 | 0 | 0 | 0 | 0.417476 | 1 | 0.048544 | false | 0 | 0.038835 | 0 | 0.097087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
48ec2c3d850499fae74517dd65074c84f33f3328 | 150 | py | Python | src/game_states/__init__.py | Flantropy/my_pygame_template | ab30f3ac5c11866c0bb7c32dff177d6fb47a6753 | [
"MIT"
] | null | null | null | src/game_states/__init__.py | Flantropy/my_pygame_template | ab30f3ac5c11866c0bb7c32dff177d6fb47a6753 | [
"MIT"
] | null | null | null | src/game_states/__init__.py | Flantropy/my_pygame_template | ab30f3ac5c11866c0bb7c32dff177d6fb47a6753 | [
"MIT"
] | null | null | null | from .game_state import GameState
from .load_screen import LoadScreen
from .main_menu import MainMenu
from .game import Game
from .pause import Pause
| 25 | 35 | 0.833333 | 23 | 150 | 5.304348 | 0.521739 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 150 | 5 | 36 | 30 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5b1e36f18cd90c9a9aa1035b77c7eb93af243f97 | 453 | py | Python | Aulasatualizada/execicio_curso em video/execicio09_taboada_siples.py | swellington231/AulaPaython | 7b72ddec4d85f4660c0c395de07a133993aa2c70 | [
"MIT"
] | null | null | null | Aulasatualizada/execicio_curso em video/execicio09_taboada_siples.py | swellington231/AulaPaython | 7b72ddec4d85f4660c0c395de07a133993aa2c70 | [
"MIT"
] | null | null | null | Aulasatualizada/execicio_curso em video/execicio09_taboada_siples.py | swellington231/AulaPaython | 7b72ddec4d85f4660c0c395de07a133993aa2c70 | [
"MIT"
] | null | null | null |
x = int(input('Digite um valor:'))
print('{} x {} = {}'.format(x, 1, (x *1)))
print('{} x {} = {}'.format(x, 2, (x*2)))
print('{} x {} = {} '.format(x, 3,(x*3)))
print('{} x {} = {}'.format(x, 4, (x*4)))
print('{} x {} = {}'.format(x, 5, (x*5)))
print('{} x {} = {}'.format(x, 6, (x*6)))
print('{} x {} = {} '.format(x,... | 37.75 | 42 | 0.406181 | 76 | 453 | 2.421053 | 0.236842 | 0.326087 | 0.652174 | 0.706522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057592 | 0.156733 | 453 | 12 | 43 | 37.75 | 0.424084 | 0 | 0 | 0 | 0 | 0 | 0.304636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.909091 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 5 |
d2c51710998712f449d972f4640b75ac5c674458 | 1,763 | py | Python | DailyProgrammer/DP20120620C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20120620C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20120620C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
Let the s(N) be a random number generator defined as follows (at this point, this should probably be anointed the
Official Random Number Generator of /r/dailyprogrammer):
s(0) = 123456789
s(N) = (22695477 * s(N-1) + 12345) mod 1073741824
Let Q(N) be an NxN two-dimensional matrix of the first N2 values of this ran... | 39.177778 | 120 | 0.756098 | 258 | 1,763 | 5.135659 | 0.488372 | 0.004528 | 0.047547 | 0.05434 | 0.404528 | 0.37434 | 0.339623 | 0.339623 | 0.339623 | 0.339623 | 0 | 0.388616 | 0.192853 | 1,763 | 44 | 121 | 40.068182 | 0.542516 | 0.930233 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
82bad873e458190e6023ce2357e3b7a42e3dcfc8 | 37 | py | Python | sponsors/__init__.py | austinmcconnell/pycon-sponsors | a60990ad8867169acd90d6a36fd6a6643b9a109b | [
"MIT"
] | null | null | null | sponsors/__init__.py | austinmcconnell/pycon-sponsors | a60990ad8867169acd90d6a36fd6a6643b9a109b | [
"MIT"
] | 1 | 2017-02-03T03:19:33.000Z | 2017-02-03T03:19:33.000Z | sponsors/__init__.py | austinmcconnell/pycon-sponsors | a60990ad8867169acd90d6a36fd6a6643b9a109b | [
"MIT"
] | null | null | null | """Init file for sponsors module."""
| 18.5 | 36 | 0.675676 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.78125 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
82bf4640159b4bd25305756b7626e959c228fda1 | 238 | py | Python | src/MSI/utilities/__init__.py | carlylagrotta/MSI | e958beb5df2a2d1018bbb2f96382b5c99b08c3ef | [
"MIT"
] | 1 | 2021-06-25T15:46:06.000Z | 2021-06-25T15:46:06.000Z | src/MSI/utilities/__init__.py | TheBurkeLab/MSI | e958beb5df2a2d1018bbb2f96382b5c99b08c3ef | [
"MIT"
] | null | null | null | src/MSI/utilities/__init__.py | TheBurkeLab/MSI | e958beb5df2a2d1018bbb2f96382b5c99b08c3ef | [
"MIT"
] | 2 | 2019-12-18T23:45:25.000Z | 2021-06-10T20:37:20.000Z | __all__ = ['plotting_script','post_processor','soln2cti_py3','pressure_trace_to_volume_trace_class']
from . import plotting_script
from . import post_processor
from . import soln2cti_py3
from . import pressure_trace_to_volume_trace_class
| 39.666667 | 100 | 0.844538 | 33 | 238 | 5.484848 | 0.424242 | 0.220994 | 0.165746 | 0.232044 | 0.342541 | 0.342541 | 0 | 0 | 0 | 0 | 0 | 0.018265 | 0.079832 | 238 | 5 | 101 | 47.6 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 0.151261 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7d81ff24f09f1817c20abd3290034694ab31c51d | 106 | py | Python | web.backend/models/response/sound_file.py | Forevka/YTDownloader | fff92bfc13b70843472ec6cce13ed6609d89433a | [
"MIT"
] | 1 | 2020-10-27T05:31:51.000Z | 2020-10-27T05:31:51.000Z | web.backend/models/response/sound_file.py | Forevka/YTDownloader | fff92bfc13b70843472ec6cce13ed6609d89433a | [
"MIT"
] | null | null | null | web.backend/models/response/sound_file.py | Forevka/YTDownloader | fff92bfc13b70843472ec6cce13ed6609d89433a | [
"MIT"
] | null | null | null | from pydantic import BaseModel, AnyUrl
import typing
class ResponseFile(BaseModel):
file_base64: str
| 17.666667 | 38 | 0.801887 | 13 | 106 | 6.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.150943 | 106 | 5 | 39 | 21.2 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7dc9951a08aa87cbfc72fc3292ea7e4aabcc5b80 | 961 | py | Python | server/apis/utils.py | Goader/DocumentHub | 69891176a6da1bb7f8783cc3f8f894cf19393a19 | [
"MIT"
] | null | null | null | server/apis/utils.py | Goader/DocumentHub | 69891176a6da1bb7f8783cc3f8f894cf19393a19 | [
"MIT"
] | null | null | null | server/apis/utils.py | Goader/DocumentHub | 69891176a6da1bb7f8783cc3f8f894cf19393a19 | [
"MIT"
] | null | null | null | import requests
def content_type(type_: str = 'application/json'):
return {
'content-type': type_
}
def GET(url: str, headers: dict = content_type(), data: dict = {}):
return requests.get(url, headers=headers, json=data).json()
def POST(url: str, headers: dict = content_type(), data: dict = {})... | 31 | 93 | 0.674298 | 131 | 961 | 4.862595 | 0.167939 | 0.138148 | 0.122449 | 0.160126 | 0.734694 | 0.734694 | 0.588697 | 0.423862 | 0.313972 | 0.313972 | 0 | 0 | 0.16129 | 961 | 30 | 94 | 32.033333 | 0.790323 | 0 | 0 | 0 | 0 | 0 | 0.044745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.058824 | 0.411765 | 0.882353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
815d22a549d757f90d5f254ff763cb921d1b11c1 | 284 | py | Python | snmpagent_unity/unity_impl/FrontendPortName.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/FrontendPortName.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/FrontendPortName.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class FrontendPortName(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_frontend_port_name(idx_name)
class FrontendPortNameColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_frontend_ports()
| 31.555556 | 60 | 0.760563 | 38 | 284 | 5.342105 | 0.421053 | 0.216749 | 0.108374 | 0.216749 | 0.384236 | 0.384236 | 0.384236 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 284 | 8 | 61 | 35.5 | 0.845833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
81b441baa7b854c3c19e998184915fa5d0a5f22b | 52 | py | Python | lib/exceptions.py | kanselarij-vlaanderen/digital-signing-service | 6303095c165f15ed71ff54a121a80a905e5985c9 | [
"MIT"
] | null | null | null | lib/exceptions.py | kanselarij-vlaanderen/digital-signing-service | 6303095c165f15ed71ff54a121a80a905e5985c9 | [
"MIT"
] | 3 | 2021-11-02T13:32:45.000Z | 2022-01-06T17:43:01.000Z | lib/exceptions.py | kanselarij-vlaanderen/digital-signing-service | 6303095c165f15ed71ff54a121a80a905e5985c9 | [
"MIT"
] | 1 | 2021-09-14T14:05:46.000Z | 2021-09-14T14:05:46.000Z |
class NoQueryResultsException(Exception):
pass
| 13 | 41 | 0.788462 | 4 | 52 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 3 | 42 | 17.333333 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
81dec1aaf04e970a2f5cf6c3cc29efb29d4356eb | 170 | py | Python | bnn_optimization/__init__.py | XinDongol/rethinking-bnn-optimization | 9870d2ee2376e1f42db5dd4e1ac48d7fc5babb37 | [
"Apache-2.0"
] | 69 | 2019-06-05T17:45:13.000Z | 2022-03-31T08:13:52.000Z | bnn_optimization/__init__.py | XinDongol/rethinking-bnn-optimization | 9870d2ee2376e1f42db5dd4e1ac48d7fc5babb37 | [
"Apache-2.0"
] | 10 | 2019-07-07T03:47:08.000Z | 2021-07-13T09:42:45.000Z | bnn_optimization/__init__.py | XinDongol/rethinking-bnn-optimization | 9870d2ee2376e1f42db5dd4e1ac48d7fc5babb37 | [
"Apache-2.0"
] | 13 | 2019-06-26T09:09:18.000Z | 2021-04-13T01:30:19.000Z | from bnn_optimization.data import cifar10, imagenet
from bnn_optimization.models import binarynet, birealnet
__all__ = ["binarynet", "birealnet", "cifar10", "imagenet"]
| 34 | 59 | 0.794118 | 19 | 170 | 6.789474 | 0.578947 | 0.108527 | 0.294574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.1 | 170 | 4 | 60 | 42.5 | 0.816993 | 0 | 0 | 0 | 0 | 0 | 0.194118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c493ebb6c241edfcbfa0a2432cee6e92621b2831 | 415 | py | Python | third_party/dateutil_qs.py | bpuderer/python-snippets27 | 8d51ff34c48bee1247575536d8ed506eafde8631 | [
"MIT"
] | 3 | 2015-11-20T14:30:53.000Z | 2015-12-19T05:55:19.000Z | third_party/dateutil_qs.py | bpuderer/python-snippets27 | 8d51ff34c48bee1247575536d8ed506eafde8631 | [
"MIT"
] | null | null | null | third_party/dateutil_qs.py | bpuderer/python-snippets27 | 8d51ff34c48bee1247575536d8ed506eafde8631 | [
"MIT"
] | 1 | 2016-01-05T20:54:49.000Z | 2016-01-05T20:54:49.000Z | from dateutil.parser import parse
dt = parse("1991-08-25 16:57:08-04:00")
print dt.isoformat()
print type(dt)
print parse("2016-03-19T18:58:47.318285+00:00").isoformat()
print parse("Sat Mar 19 3:34 PM").isoformat()
print parse("March 19, 2016 3:34 PM EDT").isoformat()
print parse("20160311T034540Z").isoformat()
pri... | 29.642857 | 59 | 0.73012 | 69 | 415 | 4.391304 | 0.536232 | 0.277228 | 0.313531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223404 | 0.093976 | 415 | 13 | 60 | 31.923077 | 0.582447 | 0 | 0 | 0 | 0 | 0 | 0.346988 | 0.077108 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.8 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c4db358eeffc7786e88ff37b89a7e913b59ebaa7 | 2,362 | py | Python | Ar_Script/ar_213_测试_模拟126邮箱的登陆请求.py | archerckk/PyTest | 610dd89df8d70c096f4670ca11ed2f0ca3196ca5 | [
"MIT"
] | null | null | null | Ar_Script/ar_213_测试_模拟126邮箱的登陆请求.py | archerckk/PyTest | 610dd89df8d70c096f4670ca11ed2f0ca3196ca5 | [
"MIT"
] | 1 | 2020-01-19T01:19:57.000Z | 2020-01-19T01:19:57.000Z | Ar_Script/ar_213_测试_模拟126邮箱的登陆请求.py | archerckk/PyTest | 610dd89df8d70c096f4670ca11ed2f0ca3196ca5 | [
"MIT"
] | null | null | null | import requests as r
'定义基础参数'
url='https://mail.126.com'
cookie="""
starttime=; nts_mail_user=archerckk@126.com:-1:1; df=mail126_letter; mail_upx=t2gd.mail.126.com|t3gd.mail.126.com|t4gd.mail.126.com|t1gd.mail.126.com|t2bj.mail.126.com|t3bj.mail.126.com|t4bj.mail.126.com|t1bj.mail.126.com; mail_upx_nf=; mail_idc=; Cor... | 138.941176 | 2,038 | 0.876799 | 238 | 2,362 | 8.558824 | 0.457983 | 0.05891 | 0.054001 | 0.013746 | 0.075601 | 0.060874 | 0.042219 | 0.042219 | 0.042219 | 0.042219 | 0 | 0.276957 | 0.026249 | 2,362 | 16 | 2,039 | 147.625 | 0.608696 | 0 | 0 | 0 | 0 | 0.153846 | 0.927604 | 0.800593 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f21c2c3d3445e7d50f53651782107a493320fde6 | 25 | py | Python | src/core/webstompest/sync/__init__.py | hihellobolke/webstompest | 4ce849c30d9cc511bdebe4a9cb15d2f1537aa7bb | [
"Apache-2.0"
] | 1 | 2018-12-26T13:12:46.000Z | 2018-12-26T13:12:46.000Z | src/core/webstompest/sync/__init__.py | hihellobolke/webstompest | 4ce849c30d9cc511bdebe4a9cb15d2f1537aa7bb | [
"Apache-2.0"
] | null | null | null | src/core/webstompest/sync/__init__.py | hihellobolke/webstompest | 4ce849c30d9cc511bdebe4a9cb15d2f1537aa7bb | [
"Apache-2.0"
] | null | null | null | from client import Stomp
| 12.5 | 24 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
481c68d05a3a384f6ba44f5e18297da4410fe2b0 | 195 | py | Python | tests/builtin/pow.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 38 | 2015-01-01T18:08:59.000Z | 2022-02-18T08:57:27.000Z | tests/builtin/pow.py | dusty-phillips/pyjaco | 066895ae38d1828498e529c1875cb88df6cbc54d | [
"MIT"
] | 1 | 2020-01-08T04:32:52.000Z | 2020-01-08T04:32:52.000Z | tests/builtin/pow.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 12 | 2016-03-07T09:30:49.000Z | 2021-09-05T20:38:47.000Z | print pow(0, 0)
print pow(1, 0)
print pow(0, 1)
print pow(1, 1)
print pow(2, -1)
print pow(100, -1)
print pow(2, 10)
try:
print pow("foo", "bar")
except TypeError, E:
print "Failed:", E
| 15 | 27 | 0.605128 | 39 | 195 | 3.025641 | 0.358974 | 0.542373 | 0.305085 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109677 | 0.205128 | 195 | 12 | 28 | 16.25 | 0.651613 | 0 | 0 | 0 | 0 | 0 | 0.06701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.818182 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
482937e7ea65bbd7b578c41677ec96113384fdaf | 1,603 | py | Python | src/storage/storage.py | dimyme/PyBitmessage | bb40d970cdafbf59b88aaeab430e3fbf7f6e60f1 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-11-10T02:28:36.000Z | 2019-11-10T02:28:36.000Z | src/storage/storage.py | dimyme/PyBitmessage | bb40d970cdafbf59b88aaeab430e3fbf7f6e60f1 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/storage/storage.py | dimyme/PyBitmessage | bb40d970cdafbf59b88aaeab430e3fbf7f6e60f1 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | null | null | null | """
src/storage/storage.py
======================
"""
import collections
InventoryItem = collections.namedtuple('InventoryItem', 'type stream payload expires tag')
class Storage(object):
"""Base class for storing inventory (extendable for other items to store)"""
pass
class InventoryStorage(Storage, collec... | 26.278689 | 95 | 0.676232 | 157 | 1,603 | 6.636943 | 0.433121 | 0.230326 | 0.233205 | 0.148752 | 0.080614 | 0.080614 | 0.080614 | 0.080614 | 0.080614 | 0 | 0 | 0.000804 | 0.223955 | 1,603 | 60 | 96 | 26.716667 | 0.836817 | 0.273238 | 0 | 0.466667 | 0 | 0 | 0.039286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.066667 | 0.033333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
4830274b6b84573a514ed5dc0de8d373786d8b8f | 75 | py | Python | foundations_ui/cypress/fixtures/atlas_scheduler/project_name/with_job_config_project/main.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 296 | 2020-03-16T19:55:00.000Z | 2022-01-10T19:46:05.000Z | foundations_ui/cypress/fixtures/atlas_scheduler/project_name/with_job_config_project/main.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 57 | 2020-03-17T11:15:57.000Z | 2021-07-10T14:42:27.000Z | foundations_ui/cypress/fixtures/atlas_scheduler/project_name/with_job_config_project/main.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 38 | 2020-03-17T21:06:05.000Z | 2022-02-08T03:19:34.000Z | import foundations
import sys
foundations.log_metric("Task", sys.argv[1])
| 15 | 43 | 0.786667 | 11 | 75 | 5.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.093333 | 75 | 4 | 44 | 18.75 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
483e50092ee68f3128cf36e7e31dd3d6e92de9ca | 219 | py | Python | tests/apps/two_default_configs_app/apps.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 16 | 2019-08-10T12:24:06.000Z | 2020-05-21T09:11:14.000Z | tests/apps/two_default_configs_app/apps.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 12 | 2019-08-10T11:55:29.000Z | 2020-05-21T04:46:30.000Z | tests/apps/two_default_configs_app/apps.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 3 | 2019-08-20T13:29:34.000Z | 2020-01-30T22:05:10.000Z | from django.apps import AppConfig
class TwoConfig(AppConfig):
default = True
name = "apps.two_default_configs_app"
class TwoConfigBis(AppConfig):
default = True
name = "apps.two_default_configs_app"
| 18.25 | 41 | 0.739726 | 27 | 219 | 5.777778 | 0.518519 | 0.205128 | 0.25641 | 0.307692 | 0.615385 | 0.615385 | 0.615385 | 0.615385 | 0.615385 | 0 | 0 | 0 | 0.182648 | 219 | 11 | 42 | 19.909091 | 0.871508 | 0 | 0 | 0.571429 | 0 | 0 | 0.255708 | 0.255708 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
4849af0c16fd93abc0dd12faa5259f2644149afb | 6,693 | py | Python | panet/panet_r18_fpem_ffm_600e_ctw1500.py | Thanh-Hoo/MMOCR-copy | 7ac1fb1c92d8dfec722a0e1f06e3eb1e8bb0ded6 | [
"Apache-2.0"
] | null | null | null | panet/panet_r18_fpem_ffm_600e_ctw1500.py | Thanh-Hoo/MMOCR-copy | 7ac1fb1c92d8dfec722a0e1f06e3eb1e8bb0ded6 | [
"Apache-2.0"
] | null | null | null | panet/panet_r18_fpem_ffm_600e_ctw1500.py | Thanh-Hoo/MMOCR-copy | 7ac1fb1c92d8dfec722a0e1f06e3eb1e8bb0ded6 | [
"Apache-2.0"
] | null | null | null | optimizer = dict(type='Adam', lr=0.001)
optimizer_config = dict(grad_clip=None)
lr_config = dict(policy='poly', power=0.9)
total_epochs = 5000
checkpoint_config = dict(interval=10)
log_config = dict(interval=5, hooks=[dict(type='TextLoggerHook')])
dist_params = dict(backend='nccl')
log_level = 'INFO'
load_from = None
r... | 35.226316 | 79 | 0.520245 | 719 | 6,693 | 4.667594 | 0.244784 | 0.135876 | 0.028605 | 0.035757 | 0.761919 | 0.761919 | 0.745232 | 0.733313 | 0.733313 | 0.733313 | 0 | 0.086467 | 0.336471 | 6,693 | 189 | 80 | 35.412698 | 0.669219 | 0 | 0 | 0.693122 | 0 | 0 | 0.165845 | 0.032571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
6f9eae1c25b79ce95ef27dc776c9517f57fbc047 | 228 | py | Python | waliki/search/search_indexes.py | luzik/waliki | b7db696075ceebb5676be61f44e2d806cc472255 | [
"BSD-3-Clause"
] | 324 | 2015-01-02T20:48:33.000Z | 2021-12-11T14:44:34.000Z | waliki/search/search_indexes.py | luzik/waliki | b7db696075ceebb5676be61f44e2d806cc472255 | [
"BSD-3-Clause"
] | 103 | 2015-01-02T03:01:34.000Z | 2020-04-02T19:03:53.000Z | waliki/search/search_indexes.py | luzik/waliki | b7db696075ceebb5676be61f44e2d806cc472255 | [
"BSD-3-Clause"
] | 84 | 2015-01-07T08:53:05.000Z | 2021-01-04T00:26:38.000Z | from waliki.models import Page
from haystack import indexes
class PageIndex(indexes.SearchIndex, indexes.Indexable):
text = indexes.CharField(document=True, use_template=True)
def get_model(self):
return Page
| 22.8 | 62 | 0.758772 | 29 | 228 | 5.896552 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 228 | 9 | 63 | 25.333333 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 5 |
6fbb35e5987b6294b0fce7fac35a63b94d76350b | 2,739 | py | Python | Versions/Books_3.0b4/OPAC SBN.plugin/Contents/Resources/PyZ3950_parsetab.py | telwertowski/Books-Mac-OS-X | 50ea39ccc48d3911df49d5ed8a861fd7dd70c64d | [
"MIT"
] | 3 | 2015-08-12T23:32:06.000Z | 2018-04-09T18:45:19.000Z | Versions/Books_3.0b6/OPAC SBN.plugin/Contents/Resources/PyZ3950_parsetab.py | telwertowski/Books-Mac-OS-X | 50ea39ccc48d3911df49d5ed8a861fd7dd70c64d | [
"MIT"
] | 1 | 2015-11-28T01:12:52.000Z | 2015-11-28T01:12:52.000Z | Versions/Books_3.0b6/OPAC SBN.plugin/Contents/Resources/PyZ3950_parsetab.py | telwertowski/Books-Mac-OS-X | 50ea39ccc48d3911df49d5ed8a861fd7dd70c64d | [
"MIT"
] | 1 | 2021-12-13T00:05:44.000Z | 2021-12-13T00:05:44.000Z |
# PyZ3950_parsetab.py
# This file is automatically generated. Do not edit.
_lr_method = 'SLR'
_lr_signature = '\xfc\xb2\xa8\xb7\xd9\xe7\xad\xba"\xb2Ss\'\xcd\x08\x16'
_lr_action_items = {'QUOTEDVALUE':([18,12,14,0,26,],[1,1,1,1,1,]),'LOGOP':([3,5,20,4,6,27,19,24,25,13,22,1,],[-5,-8,-4,-14,14,14,14,-9,-6,-13,-7,-12,]... | 66.804878 | 643 | 0.650237 | 523 | 2,739 | 3.23327 | 0.210325 | 0.09107 | 0.149024 | 0.198699 | 0.463631 | 0.443525 | 0.443525 | 0.443525 | 0.443525 | 0.385571 | 0 | 0.190092 | 0.049288 | 2,739 | 40 | 644 | 68.475 | 0.459293 | 0.025557 | 0 | 0.064516 | 1 | 0.258065 | 0.466041 | 0.33621 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.451613 | 0 | 0.451613 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6fccc6955f90f36f01882fd19bce946a0842f388 | 215 | py | Python | Nodes/Program.py | Mohsin-Ul-Islam/YAPL | 163da2dfd879fc6dee9bc0e1b1c94972c75935cd | [
"MIT"
] | null | null | null | Nodes/Program.py | Mohsin-Ul-Islam/YAPL | 163da2dfd879fc6dee9bc0e1b1c94972c75935cd | [
"MIT"
] | null | null | null | Nodes/Program.py | Mohsin-Ul-Islam/YAPL | 163da2dfd879fc6dee9bc0e1b1c94972c75935cd | [
"MIT"
] | null | null | null | class Node:
def __init__(self, declaration_list):
self.declaration_list = declaration_list
def visit(self):
context = {"type": "program"}
return self.declaration_list.visit(context)
| 26.875 | 51 | 0.669767 | 24 | 215 | 5.666667 | 0.5 | 0.441176 | 0.419118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227907 | 215 | 7 | 52 | 30.714286 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.051163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d20396d0dfc6df87254e0faa25787c57b5c5b5f1 | 94 | py | Python | snakypy/helpers/catches/__init__.py | williamcanin/snakypy-helpers | 19aa4db53fd10e07a02efc34491cc9b6c86f6a08 | [
"MIT"
] | null | null | null | snakypy/helpers/catches/__init__.py | williamcanin/snakypy-helpers | 19aa4db53fd10e07a02efc34491cc9b6c86f6a08 | [
"MIT"
] | 3 | 2021-05-15T08:03:44.000Z | 2022-01-01T19:40:55.000Z | snakypy/helpers/catches/__init__.py | williamcanin/snakypy-helpers | 19aa4db53fd10e07a02efc34491cc9b6c86f6a08 | [
"MIT"
] | 1 | 2021-06-23T05:04:07.000Z | 2021-06-23T05:04:07.000Z | from .finders import find_objects, is_tool, tools_requirements
from .generic import extension
| 31.333333 | 62 | 0.851064 | 13 | 94 | 5.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 94 | 2 | 63 | 47 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d2091315553aff3191e697d2395e451249060862 | 157 | py | Python | matches/urls/squad.py | sheepeatingtaz/xwingoverlayer | 759007ea7cc8981fcbf87a395f8e9a61e8163f09 | [
"MIT"
] | 7 | 2017-03-28T21:11:16.000Z | 2021-01-26T11:13:37.000Z | matches/urls/squad.py | sheepeatingtaz/xwingoverlayer | 759007ea7cc8981fcbf87a395f8e9a61e8163f09 | [
"MIT"
] | 3 | 2017-06-01T23:12:40.000Z | 2018-02-26T19:29:30.000Z | matches/urls/squad.py | sheepeatingtaz/xwingoverlayer | 759007ea7cc8981fcbf87a395f8e9a61e8163f09 | [
"MIT"
] | 6 | 2017-06-05T18:26:24.000Z | 2019-06-24T11:08:23.000Z |
from django.conf.urls import url
from matches.views.squad import ImportView
urlpatterns = [
url(r'^import/$', ImportView.as_view(), name='import'),
]
| 17.444444 | 59 | 0.713376 | 21 | 157 | 5.285714 | 0.714286 | 0.288288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140127 | 157 | 8 | 60 | 19.625 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d223b679c5d2bd10beae338f2c14e9782430d47e | 80,745 | py | Python | fn_microsoft_security_graph/fn_microsoft_security_graph/util/customize.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 65 | 2017-12-04T13:58:32.000Z | 2022-03-24T18:33:17.000Z | fn_microsoft_security_graph/fn_microsoft_security_graph/util/customize.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 48 | 2018-03-02T19:17:14.000Z | 2022-03-09T22:00:38.000Z | fn_microsoft_security_graph/fn_microsoft_security_graph/util/customize.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 95 | 2018-01-11T16:23:39.000Z | 2022-03-21T11:34:29.000Z | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_microsoft_security_graph"""
try:
from resilient import ImportDefinition
except ImportError:
# Support Apps running on resilient-circuits < v35.0.195
from resilient_circuits.util import ImportDefinition
def codegen_reload_da... | 74.972145 | 228 | 0.977423 | 1,440 | 80,745 | 54.736111 | 0.83125 | 0.006255 | 0.008094 | 0.005887 | 0.02951 | 0.027379 | 0.023649 | 0.02054 | 0.018955 | 0.003552 | 0 | 0.12221 | 0.018329 | 80,745 | 1,076 | 229 | 75.041822 | 0.872176 | 0.013995 | 0 | 0.023144 | 1 | 0 | 0.993873 | 0.977192 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001929 | false | 0 | 0.003857 | 0 | 0.00675 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d243c55c1f63aa7522fe70ba7397d5ea3a3cfe40 | 363 | py | Python | faxplus/api/__init__.py | alohi/faxplus-python | 52c7ac44acfa33408e6a66a7b81e077fb5c7e540 | [
"MIT"
] | 53 | 2018-07-03T11:52:05.000Z | 2022-02-15T08:38:52.000Z | faxplus/api/__init__.py | alohi/faxplus-python | 52c7ac44acfa33408e6a66a7b81e077fb5c7e540 | [
"MIT"
] | 1 | 2021-03-05T15:58:29.000Z | 2021-12-15T13:12:54.000Z | faxplus/api/__init__.py | alohi/faxplus-python | 52c7ac44acfa33408e6a66a7b81e077fb5c7e540 | [
"MIT"
] | 14 | 2018-07-05T23:52:15.000Z | 2021-11-01T21:54:39.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from faxplus.api.accounts_api import AccountsApi
from faxplus.api.faxes_api import FaxesApi
from faxplus.api.files_api import FilesApi
from faxplus.api.numbers_api import NumbersApi
from faxplus.api.outbox_api import OutboxApi
from f... | 30.25 | 48 | 0.85124 | 54 | 363 | 5.518519 | 0.425926 | 0.221477 | 0.281879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003086 | 0.107438 | 363 | 11 | 49 | 33 | 0.916667 | 0.112948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
d24bc9e3468d799e5d49b667074890951b21e4b4 | 72 | py | Python | Books Following/Programming in Python3 -2nd edition - Developers library/Examples/hello.py | bridgetsarah/Python-Learning | 16d8e5db7c785f6e54e2be8634eb35f5bb6259d3 | [
"MIT"
] | null | null | null | Books Following/Programming in Python3 -2nd edition - Developers library/Examples/hello.py | bridgetsarah/Python-Learning | 16d8e5db7c785f6e54e2be8634eb35f5bb6259d3 | [
"MIT"
] | null | null | null | Books Following/Programming in Python3 -2nd edition - Developers library/Examples/hello.py | bridgetsarah/Python-Learning | 16d8e5db7c785f6e54e2be8634eb35f5bb6259d3 | [
"MIT"
] | null | null | null | ##Hello World Example
#!/user/bin/env python3
print("Hello", "world!")
| 14.4 | 24 | 0.680556 | 10 | 72 | 4.9 | 0.8 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.111111 | 72 | 4 | 25 | 18 | 0.75 | 0.569444 | 0 | 0 | 0 | 0 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
964394dac943556abad4a2f5a13135329f787fe5 | 108 | py | Python | code/5.py | KoyanagiHitoshi/AtCoder-Beginners-Selection | a659c58251b39097e355bbeafc4453eabb287fe8 | [
"MIT"
] | null | null | null | code/5.py | KoyanagiHitoshi/AtCoder-Beginners-Selection | a659c58251b39097e355bbeafc4453eabb287fe8 | [
"MIT"
] | null | null | null | code/5.py | KoyanagiHitoshi/AtCoder-Beginners-Selection | a659c58251b39097e355bbeafc4453eabb287fe8 | [
"MIT"
] | null | null | null | N, A, B = map(int, input().split())
print(sum(i for i in range(1, N+1) if A <= sum(map(int, str(i))) <= B))
| 36 | 71 | 0.546296 | 25 | 108 | 2.36 | 0.64 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.175926 | 108 | 2 | 72 | 54 | 0.640449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
965211e04442cdce5e966f54d2ec6139bb9a1efd | 184 | py | Python | browser/Python site-packages/pyshark/config.py | lightnarcissus/TextWeb | 7a67aede097a8e3a328edd539672cb0c777d1fde | [
"Apache-2.0"
] | null | null | null | browser/Python site-packages/pyshark/config.py | lightnarcissus/TextWeb | 7a67aede097a8e3a328edd539672cb0c777d1fde | [
"Apache-2.0"
] | null | null | null | browser/Python site-packages/pyshark/config.py | lightnarcissus/TextWeb | 7a67aede097a8e3a328edd539672cb0c777d1fde | [
"Apache-2.0"
] | 1 | 2019-02-15T08:18:41.000Z | 2019-02-15T08:18:41.000Z | import pyshark
import py
import os
CONFIG_PATH = os.path.join(os.path.dirname(pyshark.__file__), 'config.ini')
def get_config():
return py.iniconfig.IniConfig(CONFIG_PATH) | 23 | 76 | 0.744565 | 27 | 184 | 4.814815 | 0.518519 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 184 | 8 | 77 | 23 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
96595bf2545f4bb93b8bf8b0bc497563516d95c6 | 23,554 | py | Python | tests/test_event_consumer_multi_tasks.py | ptro-development/trader | 084a5c58351e8d7fb55d772ac030a91af940e4c6 | [
"MIT"
] | null | null | null | tests/test_event_consumer_multi_tasks.py | ptro-development/trader | 084a5c58351e8d7fb55d772ac030a91af940e4c6 | [
"MIT"
] | null | null | null | tests/test_event_consumer_multi_tasks.py | ptro-development/trader | 084a5c58351e8d7fb55d772ac030a91af940e4c6 | [
"MIT"
] | null | null | null | import unittest
from libs.event import dict_to_event
from mock import patch, call, ANY, MagicMock
from trader.event_consumer_multi_tasks import test_event_in_facts_relations, \
event_initial_match, process_second_event
event_dict = {'sample': {'+correlation_positions': [460, 1113, 5414, 5995], 'sample_position': ... | 64.887052 | 1,589 | 0.729388 | 2,937 | 23,554 | 5.360572 | 0.1127 | 0.065803 | 0.055894 | 0.033537 | 0.787348 | 0.720528 | 0.697409 | 0.674035 | 0.6539 | 0.647929 | 0 | 0.207813 | 0.177295 | 23,554 | 362 | 1,590 | 65.066298 | 0.604655 | 0.014944 | 0 | 0.734139 | 0 | 0 | 0.23265 | 0.176506 | 0 | 0 | 0 | 0 | 0.087613 | 1 | 0.045317 | false | 0 | 0.012085 | 0 | 0.066465 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
966e82d1276d909427394209f0ec88e3c02f5353 | 131 | py | Python | app_ebooks/core/admin.py | aditya-mitra/django_learn | f47dd1afc9c6a9e859af67629307dbd307ed1b94 | [
"MIT"
] | null | null | null | app_ebooks/core/admin.py | aditya-mitra/django_learn | f47dd1afc9c6a9e859af67629307dbd307ed1b94 | [
"MIT"
] | null | null | null | app_ebooks/core/admin.py | aditya-mitra/django_learn | f47dd1afc9c6a9e859af67629307dbd307ed1b94 | [
"MIT"
] | null | null | null | from django.contrib import admin
from core.models import EBooks, Reviews
admin.site.register(EBooks)
admin.site.register(Reviews)
| 21.833333 | 39 | 0.824427 | 19 | 131 | 5.684211 | 0.578947 | 0.166667 | 0.314815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 5 | 40 | 26.2 | 0.907563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
736dbd4dad5e3920ac2ec4811332a8a9242121c3 | 65 | py | Python | addons/hr_payroll_account_community/__init__.py | gleis44/stellwerk | 1fc4145eac6bbb76134ef9ebb22f2441a69d093f | [
"MIT"
] | null | null | null | addons/hr_payroll_account_community/__init__.py | gleis44/stellwerk | 1fc4145eac6bbb76134ef9ebb22f2441a69d093f | [
"MIT"
] | null | null | null | addons/hr_payroll_account_community/__init__.py | gleis44/stellwerk | 1fc4145eac6bbb76134ef9ebb22f2441a69d093f | [
"MIT"
] | null | null | null | #-*- coding:utf-8 -*-
from . import models
from . import wizard
| 13 | 21 | 0.646154 | 9 | 65 | 4.666667 | 0.777778 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.184615 | 65 | 4 | 22 | 16.25 | 0.773585 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
73cfa52aebcecbad162f2d94aeb89fb2d1c7d8a6 | 11,348 | py | Python | L1Trigger/DTTriggerPhase2/test/prod_Zmu_digis_segments_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | L1Trigger/DTTriggerPhase2/test/prod_Zmu_digis_segments_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | L1Trigger/DTTriggerPhase2/test/prod_Zmu_digis_segments_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
process = cms.Process("DigisSegments")
process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cff")
process.load("Geometry.DTGeometry.dtGeometry_cfi")
process.DTGeometryESModule.applyAlignment = False
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTa... | 84.059259 | 133 | 0.806926 | 1,599 | 11,348 | 5.712946 | 0.260788 | 0.09064 | 0.17121 | 0.271921 | 0.577559 | 0.577559 | 0.577559 | 0.577559 | 0.577559 | 0.577559 | 0 | 0.31276 | 0.02626 | 11,348 | 134 | 134 | 84.686567 | 0.513937 | 0.000969 | 0 | 0 | 0 | 0.793103 | 0.89601 | 0.886653 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008621 | 0 | 0.008621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
73dd1b7942a42bf40e803962f78d42a7799a1f31 | 37,670 | py | Python | fn_proofpoint/fn_proofpoint/util/customize.py | johnrehw/resilient-community-apps | 4cac28b9d723bb3014684fadbdc6f7da163566ea | [
"MIT"
] | null | null | null | fn_proofpoint/fn_proofpoint/util/customize.py | johnrehw/resilient-community-apps | 4cac28b9d723bb3014684fadbdc6f7da163566ea | [
"MIT"
] | null | null | null | fn_proofpoint/fn_proofpoint/util/customize.py | johnrehw/resilient-community-apps | 4cac28b9d723bb3014684fadbdc6f7da163566ea | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_proofpoint"""
from __future__ import print_function
from resilient_circuits.util import *
def codegen_reload_data():
"""Parameters to codegen used to generate the fn_proofpoint package"""
reload_params = {
"package": u"... | 71.344697 | 93 | 0.966392 | 776 | 37,670 | 46.813144 | 0.802835 | 0.001321 | 0.001872 | 0.002092 | 0.006001 | 0.001707 | 0 | 0 | 0 | 0 | 0 | 0.127213 | 0.025484 | 37,670 | 527 | 94 | 71.480076 | 0.862354 | 0.019697 | 0 | 0.032587 | 1 | 0 | 0.981913 | 0.960735 | 0 | 1 | 0 | 0 | 0 | 1 | 0.004073 | false | 0 | 0.00611 | 0 | 0.01222 | 0.002037 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
73e29867983e763ae7ccec7175405ac551546608 | 27 | py | Python | Samopy/__init__.py | nlgotz/samopy | 397e67f4614a9ba73579c913c88879ad2e4b9574 | [
"Apache-2.0"
] | null | null | null | Samopy/__init__.py | nlgotz/samopy | 397e67f4614a9ba73579c913c88879ad2e4b9574 | [
"Apache-2.0"
] | null | null | null | Samopy/__init__.py | nlgotz/samopy | 397e67f4614a9ba73579c913c88879ad2e4b9574 | [
"Apache-2.0"
] | 1 | 2018-10-25T13:09:40.000Z | 2018-10-25T13:09:40.000Z | from .samopy import SAMOpy
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fb759ed80d564d37f1dbf298619748350257fe8b | 81 | py | Python | amulet/api/chunk_data/__init__.py | Podshot/Amulet-Core | 678a722daa5e4487d193a7e947ccceacac325fd2 | [
"MIT"
] | null | null | null | amulet/api/chunk_data/__init__.py | Podshot/Amulet-Core | 678a722daa5e4487d193a7e947ccceacac325fd2 | [
"MIT"
] | null | null | null | amulet/api/chunk_data/__init__.py | Podshot/Amulet-Core | 678a722daa5e4487d193a7e947ccceacac325fd2 | [
"MIT"
] | null | null | null | from .blocks import Blocks
from .status import Status
from .biomes import Biomes
| 20.25 | 26 | 0.814815 | 12 | 81 | 5.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fb76c9968a4951dc63dc575fb15daca3006a0a6f | 48 | py | Python | Python/advanceDataStructure/suffixArray.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | 2 | 2015-12-02T06:44:01.000Z | 2016-05-04T21:40:54.000Z | Python/advanceDataStructure/suffixArray.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | null | null | null | Python/advanceDataStructure/suffixArray.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | null | null | null | '''
Created on 2015年12月12日
@author: Darren
'''
| 8 | 22 | 0.666667 | 5 | 48 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 48 | 5 | 23 | 9.6 | 0.6 | 0.8125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb785b8eda2d96cbf4de2eb367a746b04aea2f5b | 179 | py | Python | src/trader.py | DioneJM/Tradesk | d7270886055072d4da785a1b8afcccdccb46a55b | [
"MIT"
] | 2 | 2018-12-07T21:46:09.000Z | 2020-07-17T20:08:33.000Z | src/trader.py | DioneJM/Tradesk | d7270886055072d4da785a1b8afcccdccb46a55b | [
"MIT"
] | null | null | null | src/trader.py | DioneJM/Tradesk | d7270886055072d4da785a1b8afcccdccb46a55b | [
"MIT"
] | 2 | 2020-07-17T20:08:37.000Z | 2020-07-17T20:08:53.000Z | from tradingapi import *
class Trader:
def __init__(self, api_con):
self.api = api_con
#TODO: Implement decision making here
def decide(self):
pass | 16.272727 | 41 | 0.642458 | 23 | 179 | 4.73913 | 0.73913 | 0.12844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284916 | 179 | 11 | 42 | 16.272727 | 0.851563 | 0.201117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
fbadfb927ff477c2302fb04afa414fc4bd024300 | 84 | py | Python | pyrolib/core.py | johnosullivan/UniversalBotLibrary | 4ae46547e6dd0441e5da861ab1568923cbc8980e | [
"MIT"
] | null | null | null | pyrolib/core.py | johnosullivan/UniversalBotLibrary | 4ae46547e6dd0441e5da861ab1568923cbc8980e | [
"MIT"
] | null | null | null | pyrolib/core.py | johnosullivan/UniversalBotLibrary | 4ae46547e6dd0441e5da861ab1568923cbc8980e | [
"MIT"
] | null | null | null | from . import helpers
versioncore = 1.0
def get_version():
return versioncore
| 12 | 22 | 0.72619 | 11 | 84 | 5.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.202381 | 84 | 6 | 23 | 14 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
8375a7ed61b3e6f8cecba14dde50c720e820e3a3 | 102 | py | Python | numbas_lti/views/__init__.py | oscarsiles/numbas-lti-provider | ef7080a2593a800a1b9630c746e4f8667e2ec42d | [
"Apache-2.0"
] | null | null | null | numbas_lti/views/__init__.py | oscarsiles/numbas-lti-provider | ef7080a2593a800a1b9630c746e4f8667e2ec42d | [
"Apache-2.0"
] | null | null | null | numbas_lti/views/__init__.py | oscarsiles/numbas-lti-provider | ef7080a2593a800a1b9630c746e4f8667e2ec42d | [
"Apache-2.0"
] | null | null | null | from . import admin, attempt, consumer, editorlink, entry, generic, mixins, resource, context, stress
| 51 | 101 | 0.77451 | 12 | 102 | 6.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 1 | 102 | 102 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
83b3701b19b5c9a0201b57833731b41fae7de8bd | 26 | py | Python | SCanalyzer/__init__.py | tylerharter/simulator | 75a77b458b10a9fd3f524ece6438f5e22ab19f2b | [
"Apache-2.0"
] | 2 | 2021-12-09T17:14:06.000Z | 2022-03-31T03:20:26.000Z | SCanalyzer/__init__.py | tylerharter/simulator | 75a77b458b10a9fd3f524ece6438f5e22ab19f2b | [
"Apache-2.0"
] | 7 | 2021-04-01T12:47:58.000Z | 2021-09-02T14:54:07.000Z | SCanalyzer/__init__.py | tylerharter/simulator | 75a77b458b10a9fd3f524ece6438f5e22ab19f2b | [
"Apache-2.0"
] | 3 | 2021-08-30T21:08:58.000Z | 2022-01-26T21:36:56.000Z | from .SCanalyzer import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
83f85fe0134d290635b776c5118fce6a853c4798 | 38 | py | Python | python.py | Talgarbekov/mastering-git-august | 1fb49e58115f8e0efa75fce30f4caac7de6cfb39 | [
"Apache-2.0"
] | null | null | null | python.py | Talgarbekov/mastering-git-august | 1fb49e58115f8e0efa75fce30f4caac7de6cfb39 | [
"Apache-2.0"
] | null | null | null | python.py | Talgarbekov/mastering-git-august | 1fb49e58115f8e0efa75fce30f4caac7de6cfb39 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/bash
print ("Hello World")
| 12.666667 | 21 | 0.657895 | 6 | 38 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 2 | 22 | 19 | 0.735294 | 0.368421 | 0 | 0 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f7bf04e1baf681315a12cbb9e5194dc2344497b3 | 8,393 | py | Python | tests/rules/test_text.py | kissmikijr/hammurabi | 42c7d73a68d434a941b69ccc919a688193ef4990 | [
"Apache-2.0"
] | 12 | 2020-03-15T22:53:20.000Z | 2021-12-06T13:35:07.000Z | tests/rules/test_text.py | kissmikijr/hammurabi | 42c7d73a68d434a941b69ccc919a688193ef4990 | [
"Apache-2.0"
] | 304 | 2020-01-14T08:55:29.000Z | 2022-03-17T08:00:58.000Z | tests/rules/test_text.py | kissmikijr/hammurabi | 42c7d73a68d434a941b69ccc919a688193ef4990 | [
"Apache-2.0"
] | 2 | 2020-05-29T13:14:31.000Z | 2021-01-07T14:03:51.000Z | from unittest.mock import Mock, call, patch
import pytest
from hammurabi.rules.text import LineExists, LineNotExists, LineReplaced
def get_line_exists_rule(
text="Example text", match="Example match", position=1, lines=[], **kwargs
):
mock_file = Mock()
mock_file.read.return_value.splitlines.return_valu... | 26.900641 | 87 | 0.684976 | 1,154 | 8,393 | 4.707106 | 0.107452 | 0.064801 | 0.038476 | 0.069956 | 0.826215 | 0.782585 | 0.774485 | 0.74687 | 0.69201 | 0.659242 | 0 | 0.002942 | 0.18992 | 8,393 | 311 | 88 | 26.987138 | 0.795999 | 0.024068 | 0 | 0.60199 | 0 | 0 | 0.102248 | 0.008429 | 0 | 0 | 0 | 0 | 0.144279 | 1 | 0.104478 | false | 0 | 0.014925 | 0 | 0.129353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.