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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1c22ada83d88acd3eea663257332d2021272cf3a | 214 | py | Python | api/blueprints/alert.py | atkinsonbg/docker-secure-containers | ab19eb3fb1ff415ee2ee00717516c6b8612e8b92 | [
"MIT"
] | 1 | 2021-01-09T15:29:35.000Z | 2021-01-09T15:29:35.000Z | api/blueprints/alert.py | atkinsonbg/docker-secure-containers | ab19eb3fb1ff415ee2ee00717516c6b8612e8b92 | [
"MIT"
] | null | null | null | api/blueprints/alert.py | atkinsonbg/docker-secure-containers | ab19eb3fb1ff415ee2ee00717516c6b8612e8b92 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint('alert', __name__, url_prefix='/alert')
@bp.route('', methods=['GET'])
def log_alert():
print('Alert logged, someone launched a Bash shell...')
return 'OK', 200 | 23.777778 | 59 | 0.672897 | 29 | 214 | 4.758621 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.154206 | 214 | 9 | 60 | 23.777778 | 0.745856 | 0 | 0 | 0 | 0 | 0 | 0.288372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1c2355941c8f0ee0e39b96466307ae2a1e4a0894 | 629 | py | Python | lms/validation/_assignment.py | mattdricker/lms | 40b8a04f95e69258c6c0d7ada543f4b527918ecf | [
"BSD-2-Clause"
] | null | null | null | lms/validation/_assignment.py | mattdricker/lms | 40b8a04f95e69258c6c0d7ada543f4b527918ecf | [
"BSD-2-Clause"
] | null | null | null | lms/validation/_assignment.py | mattdricker/lms | 40b8a04f95e69258c6c0d7ada543f4b527918ecf | [
"BSD-2-Clause"
] | null | null | null | """Validation for the configure_assignment() view."""
from webargs import fields
from lms.validation._base import PyramidRequestSchema
class ConfigureAssignmentSchema(PyramidRequestSchema):
"""Schema for validating requests to the configure_assignment() view."""
location = "form"
document_url = fields... | 31.45 | 76 | 0.761526 | 76 | 629 | 6.118421 | 0.5 | 0.135484 | 0.255914 | 0.316129 | 0.178495 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141494 | 629 | 19 | 77 | 33.105263 | 0.861111 | 0.18124 | 0 | 0 | 0 | 0 | 0.007937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1c2ad1016b18be8f0f79eab64a3ed6a44caa4ae4 | 103 | py | Python | creds.example.py | alyxw/minicom-tone-gen | f6405008ed85d62550bfde83daad963fdcc0be6b | [
"MIT"
] | null | null | null | creds.example.py | alyxw/minicom-tone-gen | f6405008ed85d62550bfde83daad963fdcc0be6b | [
"MIT"
] | null | null | null | creds.example.py | alyxw/minicom-tone-gen | f6405008ed85d62550bfde83daad963fdcc0be6b | [
"MIT"
] | 1 | 2021-12-18T02:04:04.000Z | 2021-12-18T02:04:04.000Z | db_host="127.0.0.1"
db_port="3306"
db_user=""
db_pass=""
db_database=""
twitch_key=""
twitch_channel="" | 14.714286 | 19 | 0.708738 | 19 | 103 | 3.473684 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 0.058252 | 103 | 7 | 20 | 14.714286 | 0.57732 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1c2f57cef9fb7678921c729910c67d1be947e38b | 756 | py | Python | django_semantic_ui/urls.py | valbertovc/django_semantic_ui | b4bd87983c1e78c442cef7168721225f6893c67a | [
"MIT"
] | 4 | 2016-05-06T20:52:42.000Z | 2018-11-18T08:29:33.000Z | django_semantic_ui/urls.py | valbertovc/django_semantic_ui | b4bd87983c1e78c442cef7168721225f6893c67a | [
"MIT"
] | null | null | null | django_semantic_ui/urls.py | valbertovc/django_semantic_ui | b4bd87983c1e78c442cef7168721225f6893c67a | [
"MIT"
] | null | null | null | from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.conf import settings
from django.conf.urls.static import static
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
urlpatterns = (
url(r'^admin/', include(admi... | 54 | 129 | 0.768519 | 110 | 756 | 5.063636 | 0.281818 | 0.233393 | 0.122083 | 0.157989 | 0.181329 | 0.111311 | 0 | 0 | 0 | 0 | 0 | 0.005789 | 0.085979 | 756 | 14 | 130 | 54 | 0.800289 | 0 | 0 | 0 | 0 | 0 | 0.270806 | 0.192867 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.307692 | 0.461538 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
1c36419bcef06a7f8db4b50d1abb0f833dc1d196 | 228 | py | Python | zairachem/estimators/from_manifolds/pipe.py | ersilia-os/ersilia-automl-chem | fabb1f05d17cff11ec0e084495eed4c0152f2f63 | [
"MIT"
] | null | null | null | zairachem/estimators/from_manifolds/pipe.py | ersilia-os/ersilia-automl-chem | fabb1f05d17cff11ec0e084495eed4c0152f2f63 | [
"MIT"
] | null | null | null | zairachem/estimators/from_manifolds/pipe.py | ersilia-os/ersilia-automl-chem | fabb1f05d17cff11ec0e084495eed4c0152f2f63 | [
"MIT"
] | null | null | null | from .estimate import Estimator
class ManifoldPipeline(object):
def __init__(self, path):
self.e = Estimator(path=path)
def run(self, time_budget_sec=None):
self.e.run(time_budget_sec=time_budget_sec)
| 22.8 | 51 | 0.710526 | 32 | 228 | 4.75 | 0.53125 | 0.197368 | 0.256579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188596 | 228 | 9 | 52 | 25.333333 | 0.821622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1c37d3f21b7a001c9055b55e762d87a2946c1496 | 261 | py | Python | Sources/02XXX/2941/2941.py | DDManager/Baekjoon-Online-Judge | 7dd6d76838d3309bfe5bef46f1778c5776ebdf2a | [
"MIT"
] | 1 | 2019-07-02T09:07:58.000Z | 2019-07-02T09:07:58.000Z | Sources/02XXX/2941/2941.py | DDManager/Baekjoon-Online-Judge | 7dd6d76838d3309bfe5bef46f1778c5776ebdf2a | [
"MIT"
] | null | null | null | Sources/02XXX/2941/2941.py | DDManager/Baekjoon-Online-Judge | 7dd6d76838d3309bfe5bef46f1778c5776ebdf2a | [
"MIT"
] | 1 | 2022-02-13T04:17:10.000Z | 2022-02-13T04:17:10.000Z | ##
# BOJ 2941번 Python 3 소스 코드
# 작성자 : 동동매니저 (DDManager)
#
# ※ 실행 결과
# 사용 메모리 : 32,876 KB / 294,912 KB
# 소요 시간 : 112 ms / 5,000 ms
#
# Copyright 2020. DDManager all rights reserved.
##
import re
print(len(re.sub("(dz=|c=|c-|d-|lj|nj|s=|z=)","0",input()))) | 20.076923 | 60 | 0.582375 | 49 | 261 | 3.122449 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 0.206897 | 261 | 13 | 60 | 20.076923 | 0.599034 | 0.636015 | 0 | 0 | 0 | 0 | 0.329268 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
1c4ac1e423458e0a0a187f8698a9e64231b6a196 | 3,067 | py | Python | tube/tests/test_tflAPI.py | adamgilman/tube-python | 3d94e79f7d367eed95ed68b53d0ab13a36cc3219 | [
"BSD-3-Clause"
] | 5 | 2017-01-26T00:06:08.000Z | 2020-06-03T16:07:09.000Z | tube/tests/test_tflAPI.py | adamgilman/tube-python | 3d94e79f7d367eed95ed68b53d0ab13a36cc3219 | [
"BSD-3-Clause"
] | null | null | null | tube/tests/test_tflAPI.py | adamgilman/tube-python | 3d94e79f7d367eed95ed68b53d0ab13a36cc3219 | [
"BSD-3-Clause"
] | 1 | 2021-11-22T16:23:14.000Z | 2021-11-22T16:23:14.000Z | import unittest
from tube.tflAPI import TFLapi
import vcr
my_vcr = vcr.VCR(
serializer = 'json',
cassette_library_dir = 'tube/tests/fixtures/cassettes',
record_mode = 'once',
match_on = ['uri', 'method'],
)
import logging
logging.basicConfig() # you need to initialize logging, otherwise you will not see anything... | 44.449275 | 109 | 0.750245 | 415 | 3,067 | 5.457831 | 0.289157 | 0.152318 | 0.194702 | 0.225166 | 0.530684 | 0.526269 | 0.526269 | 0.418102 | 0.282119 | 0.260927 | 0 | 0.026144 | 0.102054 | 3,067 | 69 | 110 | 44.449275 | 0.796296 | 0.064232 | 0 | 0.232143 | 0 | 0 | 0.126657 | 0.019888 | 0 | 0 | 0 | 0 | 0.464286 | 1 | 0.089286 | false | 0 | 0.071429 | 0 | 0.178571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1c528d31c18c0239200c61fa31ac4736a9b4b3ba | 2,109 | py | Python | wavefd/lame.py | lixuekai2001/wavefd | a05644a7056a5654109e1a22e0756ef73f8937a3 | [
"BSD-3-Clause"
] | 7 | 2018-07-19T16:04:28.000Z | 2021-05-07T02:16:25.000Z | wavefd/lame.py | lixuekai2001/wavefd | a05644a7056a5654109e1a22e0756ef73f8937a3 | [
"BSD-3-Clause"
] | 1 | 2020-05-06T17:20:31.000Z | 2020-05-07T08:20:22.000Z | wavefd/lame.py | lixuekai2001/wavefd | a05644a7056a5654109e1a22e0756ef73f8937a3 | [
"BSD-3-Clause"
] | 2 | 2020-01-18T08:20:20.000Z | 2020-05-06T17:20:15.000Z | """
Calculate Lamé's first and second parameter.
"""
def lame_lambda(pvel, svel, density):
r"""
Calculate Lamé's first parameter :math:`\lambda`.
Defined in terms of the P and S wave velocities
(:math:`v_P` and :math:`v_S`) and the density (:math:`\rho`).
.. math::
\lambda = v_P^2 \rho ... | 23.696629 | 79 | 0.561878 | 289 | 2,109 | 4.058824 | 0.266436 | 0.041773 | 0.071611 | 0.089514 | 0.610401 | 0.554135 | 0.509804 | 0.509804 | 0.509804 | 0.381927 | 0 | 0.090236 | 0.295875 | 2,109 | 88 | 80 | 23.965909 | 0.699663 | 0.813656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1c67ec7831f20898241bd8a1ac8a31f95d225279 | 694 | py | Python | api/fullapp/userprofile/migrations/0002_auto_20200409_0021.py | kigold/fullApp | 0782648590524739df07eeeefdacf7e5ceb66332 | [
"MIT"
] | null | null | null | api/fullapp/userprofile/migrations/0002_auto_20200409_0021.py | kigold/fullApp | 0782648590524739df07eeeefdacf7e5ceb66332 | [
"MIT"
] | 13 | 2020-04-14T00:42:46.000Z | 2022-02-27T10:36:32.000Z | api/fullapp/userprofile/migrations/0002_auto_20200409_0021.py | kigold/fullApp | 0782648590524739df07eeeefdacf7e5ceb66332 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-04-09 00:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('userprofile', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='game',
name='away_score',
... | 23.931034 | 49 | 0.560519 | 66 | 694 | 5.787879 | 0.575758 | 0.157068 | 0.196335 | 0.227749 | 0.479058 | 0.479058 | 0.382199 | 0.382199 | 0.382199 | 0.382199 | 0 | 0.040512 | 0.324207 | 694 | 28 | 50 | 24.785714 | 0.773987 | 0.064842 | 0 | 0.5 | 1 | 0 | 0.109737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1c7e36124036a6d9136b1bc58c622e671433734d | 71 | py | Python | data/studio21_generated/introductory/2541/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2541/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2541/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | class Solution:
def isPowerOfFour(self, num: int) -> bool:
| 23.666667 | 46 | 0.605634 | 8 | 71 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28169 | 71 | 3 | 47 | 23.666667 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
98baef1c025493bad73f80730e2ee7fcc09d6623 | 879 | py | Python | tests/io/iter/test_read.py | data-engineering-collective/plateau | ab87282a2f66c4f847654f28f8a2b0df33cb4d62 | [
"MIT"
] | 2 | 2022-02-11T01:27:56.000Z | 2022-03-18T22:44:02.000Z | tests/io/iter/test_read.py | data-engineering-collective/plateau | ab87282a2f66c4f847654f28f8a2b0df33cb4d62 | [
"MIT"
] | 17 | 2022-02-08T16:14:19.000Z | 2022-03-31T00:36:16.000Z | tests/io/iter/test_read.py | data-engineering-collective/plateau | ab87282a2f66c4f847654f28f8a2b0df33cb4d62 | [
"MIT"
] | 2 | 2022-02-08T16:59:00.000Z | 2022-02-08T17:54:39.000Z | from functools import partial
import pytest
from plateau.io.iter import (
read_dataset_as_dataframes__iterator,
read_dataset_as_metapartitions__iterator,
)
from plateau.io.testing.read import * # noqa
@pytest.fixture(params=["dataframe"])
def output_type(request):
return request.param
def _load_dataf... | 23.756757 | 74 | 0.756542 | 107 | 879 | 5.859813 | 0.345794 | 0.111643 | 0.082935 | 0.114833 | 0.322169 | 0.111643 | 0.111643 | 0 | 0 | 0 | 0 | 0 | 0.143345 | 879 | 36 | 75 | 24.416667 | 0.832669 | 0.004551 | 0 | 0.083333 | 0 | 0 | 0.045819 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.166667 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
98bf450c58963ea45f49659f9214d3ac4fb4f932 | 247 | py | Python | tests/test_app.py | RichardScottOZ/localtileserver | a0e63d1853c8d3410ba9d4ca51c993eae15a0fe6 | [
"MIT"
] | 1 | 2021-12-12T05:19:20.000Z | 2021-12-12T05:19:20.000Z | tests/test_app.py | RichardScottOZ/localtileserver | a0e63d1853c8d3410ba9d4ca51c993eae15a0fe6 | [
"MIT"
] | null | null | null | tests/test_app.py | RichardScottOZ/localtileserver | a0e63d1853c8d3410ba9d4ca51c993eae15a0fe6 | [
"MIT"
] | null | null | null | import requests
def test_home_page_with_file(bahamas):
r = requests.get(bahamas.base_url)
r.raise_for_status()
def test_home_page(flask_client):
r = flask_client.get("/")
assert r
r = flask_client.get("/roi/")
assert r
| 17.642857 | 38 | 0.688259 | 38 | 247 | 4.157895 | 0.526316 | 0.208861 | 0.139241 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194332 | 247 | 13 | 39 | 19 | 0.79397 | 0 | 0 | 0.222222 | 0 | 0 | 0.024292 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
98cd66a97b09d917519bdda7a22410882702ef27 | 132 | py | Python | scripts/base/exeption.py | appolimp/Dynamo_scripts | c4ea77428111d186fab55501243ad4319376482b | [
"MIT"
] | 1 | 2021-07-23T14:38:17.000Z | 2021-07-23T14:38:17.000Z | scripts/base/exeption.py | appolimp/Dynamo_scripts | c4ea77428111d186fab55501243ad4319376482b | [
"MIT"
] | null | null | null | scripts/base/exeption.py | appolimp/Dynamo_scripts | c4ea77428111d186fab55501243ad4319376482b | [
"MIT"
] | null | null | null | class ScriptError(Exception):
pass
class SheetsNotSelected(ScriptError):
pass
class ElemNotFound(ScriptError):
pass
| 12 | 37 | 0.742424 | 12 | 132 | 8.166667 | 0.5 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189394 | 132 | 10 | 38 | 13.2 | 0.915888 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
98e0c25609168c4dd50e09c6081eb597ce7a77e4 | 7,627 | py | Python | qchem/tests/test_s2_obs.py | theRoughCode/pennylane | 317f82ef00c752beeef7d2412b88119a753467b4 | [
"Apache-2.0"
] | 1 | 2020-10-15T01:09:27.000Z | 2020-10-15T01:09:27.000Z | qchem/tests/test_s2_obs.py | theRoughCode/pennylane | 317f82ef00c752beeef7d2412b88119a753467b4 | [
"Apache-2.0"
] | 1 | 2020-10-04T22:45:45.000Z | 2020-10-04T22:45:45.000Z | qchem/tests/test_s2_obs.py | theRoughCode/pennylane | 317f82ef00c752beeef7d2412b88119a753467b4 | [
"Apache-2.0"
] | null | null | null | import os
import numpy as np
import pytest
from pennylane import qchem
from openfermion.ops._qubit_operator import QubitOperator
me_1 = np.array([[0.0, 0.0, 0.0, 0.0, 0.25],])
me_3 = np.array(
[
[0.0, 0.0, 0.0, 0.0, 0.25],
[0.0, 1.0, 1.0, 0.0, -0.25],
[0.0, 2.0, 2.0, 0.0, 0.25],
... | 36.146919 | 96 | 0.381146 | 1,520 | 7,627 | 1.873684 | 0.078289 | 0.116573 | 0.075843 | 0.060393 | 0.609551 | 0.533708 | 0.452247 | 0.3125 | 0.277739 | 0.229284 | 0 | 0.226765 | 0.27206 | 7,627 | 210 | 97 | 36.319048 | 0.286203 | 0.078012 | 0 | 0.174157 | 0 | 0 | 0.060836 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 1 | 0.016854 | false | 0 | 0.02809 | 0 | 0.044944 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c702bf9aea26fbb0f09ce195980309c671d44be5 | 964 | py | Python | toontown/cogdominium/DistCogdoCraneAI.py | LittleNed/toontown-stride | 1252a8f9a8816c1810106006d09c8bdfe6ad1e57 | [
"Apache-2.0"
] | 3 | 2020-01-02T08:43:36.000Z | 2020-07-05T08:59:02.000Z | toontown/cogdominium/DistCogdoCraneAI.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | null | null | null | toontown/cogdominium/DistCogdoCraneAI.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 4 | 2019-06-20T23:45:23.000Z | 2020-10-14T20:30:15.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectAI import DistributedObjectAI
class DistCogdoCraneAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistCogdoCraneAI")
def __init__(self, air, craneGameId):
DistributedObjectAI.__in... | 26.777778 | 76 | 0.686722 | 100 | 964 | 6.49 | 0.36 | 0.083205 | 0.078582 | 0.097072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009333 | 0.221992 | 964 | 36 | 77 | 26.777778 | 0.856 | 0 | 0 | 0.08 | 0 | 0 | 0.033161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.36 | false | 0.08 | 0.08 | 0.08 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c7048eb7290e6e9612b0eecb1772e460751be7e0 | 171 | py | Python | utils.py | zhoujiahua/gui | 18f6d86651df11ec526eac89493a1d8af5731609 | [
"MIT"
] | null | null | null | utils.py | zhoujiahua/gui | 18f6d86651df11ec526eac89493a1d8af5731609 | [
"MIT"
] | null | null | null | utils.py | zhoujiahua/gui | 18f6d86651df11ec526eac89493a1d8af5731609 | [
"MIT"
] | null | null | null | import tkinter as tk
from tkinter import filedialog
def getLocalFile():
root=tk.Tk()
root.withdraw()
filePath=filedialog.askopenfilename()
return filePath | 21.375 | 41 | 0.736842 | 20 | 171 | 6.3 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181287 | 171 | 8 | 42 | 21.375 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c70d62e7f17bc426dc6fc7de187711dc3f05b0bd | 1,480 | py | Python | src/python/pants/engine/legacy/options_parsing.py | lgirault/pants | 7731c9783d8011089f59d47c41d49fdd6433bb4f | [
"Apache-2.0"
] | 94 | 2015-01-15T21:24:20.000Z | 2022-02-16T16:55:43.000Z | src/python/pants/engine/legacy/options_parsing.py | lgirault/pants | 7731c9783d8011089f59d47c41d49fdd6433bb4f | [
"Apache-2.0"
] | 5 | 2020-07-18T01:04:43.000Z | 2021-05-10T08:40:56.000Z | src/python/pants/engine/legacy/options_parsing.py | lgirault/pants | 7731c9783d8011089f59d47c41d49fdd6433bb4f | [
"Apache-2.0"
] | 47 | 2015-02-25T02:20:07.000Z | 2022-03-21T00:59:16.000Z | # coding=utf-8
# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from __future__ import absolute_import, division, print_function, unicode_literals
from pants.engine.rules import RootRule, rule
from pants.init.options_initializer import ... | 37 | 103 | 0.801351 | 181 | 1,480 | 6.39779 | 0.508287 | 0.046632 | 0.03886 | 0.037997 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008462 | 0.121622 | 1,480 | 39 | 104 | 37.948718 | 0.882308 | 0.296622 | 0 | 0 | 0 | 0 | 0.006803 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.136364 | false | 0 | 0.318182 | 0.090909 | 0.636364 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c70d80cfed5fbe85b9428b0bff10b85e26203eae | 1,103 | py | Python | EJERCICIO1/libro.py | Germiprogramer/PRIMERPARCIAL | 01a2c95a4b259829ad04e5439beae53e6734b034 | [
"Apache-2.0"
] | null | null | null | EJERCICIO1/libro.py | Germiprogramer/PRIMERPARCIAL | 01a2c95a4b259829ad04e5439beae53e6734b034 | [
"Apache-2.0"
] | null | null | null | EJERCICIO1/libro.py | Germiprogramer/PRIMERPARCIAL | 01a2c95a4b259829ad04e5439beae53e6734b034 | [
"Apache-2.0"
] | null | null | null | class Libro:
def __init__(self, nombre, genero, numero_paginas, autor, ISBN):
self.nombre = nombre
self.genero = genero
self.numero_paginas = numero_paginas
self.autor = autor
self.ISBN = ISBN
def get_nombre(self):
return self.nombre
def set_nombre(self, a):... | 23.978261 | 95 | 0.62194 | 154 | 1,103 | 4.305195 | 0.311688 | 0.137255 | 0.105581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075795 | 0.258386 | 1,103 | 46 | 96 | 23.978261 | 0.734719 | 0.020852 | 0 | 0 | 0 | 0 | 0.131481 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 1 | 0.366667 | false | 0 | 0 | 0.166667 | 0.566667 | 0.033333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c71490ea804762a3810e1d2812b5b7328152c1bb | 718 | py | Python | networks/convlstm_networks/train_src/analysis/metrics/metrics/metrics_plot.py | DiMorten/FCN_ConvLSTM_Crop_Recognition_Generalized | 2749c90fab6c3854c380f6bca945dd4e99c17239 | [
"Apache-2.0"
] | null | null | null | networks/convlstm_networks/train_src/analysis/metrics/metrics/metrics_plot.py | DiMorten/FCN_ConvLSTM_Crop_Recognition_Generalized | 2749c90fab6c3854c380f6bca945dd4e99c17239 | [
"Apache-2.0"
] | null | null | null | networks/convlstm_networks/train_src/analysis/metrics/metrics/metrics_plot.py | DiMorten/FCN_ConvLSTM_Crop_Recognition_Generalized | 2749c90fab6c3854c380f6bca945dd4e99c17239 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from pathlib import Path
path=Path('metrics/')
exp_names=['metrics_model_best_BUnet4ConvLSTM_sar_testingbaseline.h5.npy',
'metrics_model_best_BUnet4ConvLSTM_sarh_tvalue20.h5.npy',
'metrics_model_best_BUnet4ConvLSTM_sarh_tvalue20repeat.h5.npy',
'metrics_model_best_BUnet4ConvLSTM_sarh_tval... | 37.789474 | 94 | 0.775766 | 103 | 718 | 5.038835 | 0.417476 | 0.138728 | 0.184971 | 0.346821 | 0.360308 | 0.360308 | 0.225434 | 0 | 0 | 0 | 0 | 0.041538 | 0.094708 | 718 | 19 | 95 | 37.789474 | 0.756923 | 0.013928 | 0 | 0 | 0 | 0 | 0.526167 | 0.462518 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.214286 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c719e5ce1eabfe1a890dc8bd26475f96a1c2ce90 | 228 | py | Python | tools/extjs_cc/js_parser_only_ast.py | joeedh/webblender | 552d8eaa762af447346343be244647c316ae32f1 | [
"Apache-2.0"
] | 1 | 2015-05-22T14:11:17.000Z | 2015-05-22T14:11:17.000Z | tools/extjs_cc/js_parser_only_ast.py | joeedh/webblender | 552d8eaa762af447346343be244647c316ae32f1 | [
"Apache-2.0"
] | 2 | 2021-09-02T20:01:35.000Z | 2022-01-26T19:47:35.000Z | tools/extjs_cc/js_parser_only_ast.py | joeedh/fairmotion | 5c322fc012cdd94ddc2f21d68264c845b3c2c770 | [
"MIT"
] | null | null | null | #AST nodes that are used in intermediate stages of parsing,
#but are NEVER EVER in the final AST tree.
from js_ast import Node, IdentNode, NumLitNode, StrLitNode, FunctionNode, ExprListNode, ExprNode
from js_global import glob
| 38 | 96 | 0.807018 | 35 | 228 | 5.2 | 0.8 | 0.065934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149123 | 228 | 5 | 97 | 45.6 | 0.938144 | 0.434211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c7253078eb9367fdbbc1e754e21129663c47b0c4 | 29,902 | py | Python | pontoon/base/tests/managers/test_entity.py | alanvidoc/pontoon | abca3fd37bc1ee47a5ef60fd12661aa70f8cf8b3 | [
"BSD-3-Clause"
] | null | null | null | pontoon/base/tests/managers/test_entity.py | alanvidoc/pontoon | abca3fd37bc1ee47a5ef60fd12661aa70f8cf8b3 | [
"BSD-3-Clause"
] | 9 | 2021-03-10T21:34:51.000Z | 2022-02-19T03:30:06.000Z | pontoon/base/tests/managers/test_entity.py | ramiahmadieh/fpipontoon | 20d377b5d55755316950b4da0227bc47adaf6b3d | [
"BSD-3-Clause"
] | 1 | 2020-07-28T15:57:26.000Z | 2020-07-28T15:57:26.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import pytest
from mock import patch, call
from pontoon.base.models import (
get_word_count,
Entity,
Translation,
TranslatedResource,
)
from pontoon.test.factories import (
EntityFactory,
ErrorFactory,
TranslatedResourceFactor... | 29.547431 | 88 | 0.629924 | 3,424 | 29,902 | 5.341122 | 0.07243 | 0.055118 | 0.056157 | 0.079998 | 0.771216 | 0.731354 | 0.707404 | 0.679079 | 0.657371 | 0.627515 | 0 | 0.017497 | 0.254598 | 29,902 | 1,011 | 89 | 29.576657 | 0.802728 | 0.066751 | 0 | 0.540313 | 0 | 0 | 0.091473 | 0.003354 | 0 | 0 | 0 | 0 | 0.069795 | 1 | 0.032491 | false | 0.001203 | 0.006017 | 0 | 0.039711 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c735173d8768acc3146ffb2da7b26a9d1a621455 | 25 | py | Python | test/02.py | Wuxiuwen/my_first | 78cb214c6df8c57530d06ecf7e8f620d27743709 | [
"MIT"
] | null | null | null | test/02.py | Wuxiuwen/my_first | 78cb214c6df8c57530d06ecf7e8f620d27743709 | [
"MIT"
] | null | null | null | test/02.py | Wuxiuwen/my_first | 78cb214c6df8c57530d06ecf7e8f620d27743709 | [
"MIT"
] | null | null | null | str1 = "宝宝摔倒了,要小姐姐亲亲才能起"
| 12.5 | 24 | 0.72 | 3 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.12 | 25 | 1 | 25 | 25 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c7374367911df9bf42221010c512d0bf47b08403 | 260 | py | Python | extraResources/electron-backend/utils/cases/contains_only_pdf.py | vilaj46/ad1-ad2-briefs | 8bd5de28315a0525b28adb4cf8f1a7d22eefef25 | [
"MIT"
] | null | null | null | extraResources/electron-backend/utils/cases/contains_only_pdf.py | vilaj46/ad1-ad2-briefs | 8bd5de28315a0525b28adb4cf8f1a7d22eefef25 | [
"MIT"
] | null | null | null | extraResources/electron-backend/utils/cases/contains_only_pdf.py | vilaj46/ad1-ad2-briefs | 8bd5de28315a0525b28adb4cf8f1a7d22eefef25 | [
"MIT"
] | null | null | null | def contains_only_pdf(files):
file_paths = []
for file_path in files:
file_paths.append(file_path)
for file_path in file_paths:
pd = file_path.lower()[-4:-1]
if pd + 'f' != '.pdf':
return False
return True
| 21.666667 | 37 | 0.576923 | 37 | 260 | 3.810811 | 0.540541 | 0.22695 | 0.198582 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011173 | 0.311538 | 260 | 11 | 38 | 23.636364 | 0.776536 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c73a91b3903b3901e87a77ea92542e3ddd83d085 | 478 | py | Python | dashboard/views/_positions/_non_ec/_social_chair.py | beta-nu-theta-chi/ox-dashboard | 842d86a381f26159b2c5bad39a95169496832023 | [
"MIT"
] | null | null | null | dashboard/views/_positions/_non_ec/_social_chair.py | beta-nu-theta-chi/ox-dashboard | 842d86a381f26159b2c5bad39a95169496832023 | [
"MIT"
] | 70 | 2016-11-16T18:49:02.000Z | 2021-04-26T00:47:18.000Z | dashboard/views/_positions/_non_ec/_social_chair.py | beta-nu-theta-chi/ox-dashboard | 842d86a381f26159b2c5bad39a95169496832023 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from dashboard.models import Position
from dashboard.utils import verify_position
@verify_position([Position.PositionChoices.SOCIAL_CHAIR, Position.PositionChoices.VICE_PRESIDENT, Position.PositionChoices.PRESIDENT, Position.PositionChoices.ADVISER])
def social_c(request):
con... | 36.769231 | 168 | 0.803347 | 53 | 478 | 7.132075 | 0.471698 | 0.304233 | 0.153439 | 0.179894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106695 | 478 | 12 | 169 | 39.833333 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0.052301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c746a00d9a111d9cdc2042e6686d03bb9401d1ae | 99 | py | Python | pyjobs/synchronizer/apps.py | Mdslino/PyJobs | d2496d58067503c3304a6c59052238b1f097472b | [
"BSD-3-Clause"
] | null | null | null | pyjobs/synchronizer/apps.py | Mdslino/PyJobs | d2496d58067503c3304a6c59052238b1f097472b | [
"BSD-3-Clause"
] | null | null | null | pyjobs/synchronizer/apps.py | Mdslino/PyJobs | d2496d58067503c3304a6c59052238b1f097472b | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class SynchronizerConfig(AppConfig):
name = "synchronizer"
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c747499c1c456e925530427d17d9d46cce331fac | 455 | py | Python | scheduler/base.py | jian-yu/autotx | eed17a8881b6c3ee80d93d044abd2c67b150ccf1 | [
"Apache-2.0"
] | 1 | 2019-10-14T04:58:13.000Z | 2019-10-14T04:58:13.000Z | scheduler/base.py | jian-yu/autotx | eed17a8881b6c3ee80d93d044abd2c67b150ccf1 | [
"Apache-2.0"
] | 1 | 2021-06-02T00:30:31.000Z | 2021-06-02T00:30:31.000Z | scheduler/base.py | jian-yu/autotx | eed17a8881b6c3ee80d93d044abd2c67b150ccf1 | [
"Apache-2.0"
] | 1 | 2020-08-11T02:48:38.000Z | 2020-08-11T02:48:38.000Z | from abc import ABCMeta, abstractclassmethod
class Schedule(metaclass=ABCMeta):
# 初始化调度器
@abstractclassmethod
def Init(self, modules):
pass
# 启动调度器
@abstractclassmethod
def Start(self):
pass
# 停止调度器
@abstractclassmethod
def Stop(self):
pass
# 调度器状态
... | 15.166667 | 44 | 0.613187 | 40 | 455 | 6.975 | 0.55 | 0.394265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318681 | 455 | 29 | 45 | 15.689655 | 0.9 | 0.063736 | 0 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.294118 | 0.058824 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c7482e7463a51282bd7c6d1968812274bd51d5bf | 21 | py | Python | main/libxdmcp/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 46 | 2021-06-10T02:27:32.000Z | 2022-03-27T11:33:24.000Z | main/libxdmcp/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 58 | 2021-07-03T13:58:20.000Z | 2022-03-13T16:45:35.000Z | main/libxdmcp/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 6 | 2021-07-04T10:46:40.000Z | 2022-01-09T00:03:59.000Z | pkgname = "libXdmcp"
| 10.5 | 20 | 0.714286 | 2 | 21 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c75de7a0542cd663ff6dda024bf71e1925c1b29b | 337 | py | Python | tests/loaders.py | alkihis/django-debug-toolbar | e1864e9e622cefdece77bb422328f876ce5ae2d1 | [
"BSD-3-Clause"
] | 3,730 | 2016-07-26T09:41:20.000Z | 2022-03-30T10:08:53.000Z | tests/loaders.py | alkihis/django-debug-toolbar | e1864e9e622cefdece77bb422328f876ce5ae2d1 | [
"BSD-3-Clause"
] | 699 | 2016-07-26T10:45:27.000Z | 2022-03-31T19:20:37.000Z | tests/loaders.py | alkihis/django-debug-toolbar | e1864e9e622cefdece77bb422328f876ce5ae2d1 | [
"BSD-3-Clause"
] | 467 | 2016-07-26T09:41:21.000Z | 2022-03-20T11:23:59.000Z | from django.contrib.auth.models import User
from django.template.loaders.app_directories import Loader
class LoaderWithSQL(Loader):
def get_template(self, *args, **kwargs):
# Force the template loader to run some SQL. Simulates a CMS.
User.objects.all().count()
return super().get_template(... | 33.7 | 69 | 0.715134 | 45 | 337 | 5.288889 | 0.733333 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178042 | 337 | 9 | 70 | 37.444444 | 0.859206 | 0.175074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c79fa89d80e5634aaf2527373ffc30fffe719c25 | 72 | py | Python | Maximum GCD - 1370A/sol.py | Mu-selim/Codeforces | d4e5d41102124774e0edea68b336a3db1851e882 | [
"Unlicense"
] | 1 | 2021-09-24T18:46:16.000Z | 2021-09-24T18:46:16.000Z | Maximum GCD - 1370A/sol.py | Mu-selim/Codeforces | d4e5d41102124774e0edea68b336a3db1851e882 | [
"Unlicense"
] | null | null | null | Maximum GCD - 1370A/sol.py | Mu-selim/Codeforces | d4e5d41102124774e0edea68b336a3db1851e882 | [
"Unlicense"
] | null | null | null | t = int(input())
while t:
t-=1
n = int(input())
print(n//2)
| 12 | 20 | 0.458333 | 13 | 72 | 2.538462 | 0.615385 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.305556 | 72 | 5 | 21 | 14.4 | 0.62 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c7af9c6e3baed9d0585e99e4ab202119cafb6006 | 160 | py | Python | healthbip/urls.py | andersinno/healthbip | 8fe7c82925006110996a7cb90bde4cdd9b86da91 | [
"MIT"
] | null | null | null | healthbip/urls.py | andersinno/healthbip | 8fe7c82925006110996a7cb90bde4cdd9b86da91 | [
"MIT"
] | null | null | null | healthbip/urls.py | andersinno/healthbip | 8fe7c82925006110996a7cb90bde4cdd9b86da91 | [
"MIT"
] | null | null | null | from django.urls import path
from healthbip.views import healthz, readiness
health_urls = [
path("healthz", healthz),
path("readiness", readiness),
]
| 17.777778 | 46 | 0.71875 | 19 | 160 | 6 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16875 | 160 | 8 | 47 | 20 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c7c8417aa8e5c7777d03904b3693bfb2ec7c23be | 1,444 | py | Python | core/priority_queue.py | mtrazzi/npuzzle | 25504817540605ba58c453d63ea5172b6b79b072 | [
"MIT"
] | null | null | null | core/priority_queue.py | mtrazzi/npuzzle | 25504817540605ba58c453d63ea5172b6b79b072 | [
"MIT"
] | null | null | null | core/priority_queue.py | mtrazzi/npuzzle | 25504817540605ba58c453d63ea5172b6b79b072 | [
"MIT"
] | null | null | null | import numpy as np
class PriorityQueue(object):
"""Priority Queue Data Structure
Attributes
----------
states: list
The set of discovered nodes
gScores: dict
For node n, gScore[n] is the cost of the cheapest path from start to n currently known.
fScores: dict
For node n, fScore[n] := gScore[n]... | 24.474576 | 93 | 0.654432 | 208 | 1,444 | 4.427885 | 0.317308 | 0.076004 | 0.042345 | 0.026059 | 0.199783 | 0.173724 | 0.173724 | 0.173724 | 0.099891 | 0.099891 | 0 | 0.003587 | 0.227839 | 1,444 | 58 | 94 | 24.896552 | 0.822422 | 0.238227 | 0 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0 | 0.027027 | 0.108108 | 0.513514 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c7c9013a885e8479bc1e88a4e338e818500fc140 | 96 | py | Python | newTest/test.py | MrNiebieski/boost-python-test | a0330a04c241575d6700a6b1d3f18a0567055afe | [
"BSL-1.0"
] | null | null | null | newTest/test.py | MrNiebieski/boost-python-test | a0330a04c241575d6700a6b1d3f18a0567055afe | [
"BSL-1.0"
] | null | null | null | newTest/test.py | MrNiebieski/boost-python-test | a0330a04c241575d6700a6b1d3f18a0567055afe | [
"BSL-1.0"
] | null | null | null | #!/usr/bin/env python
import classes
t = classes.World()
t.set("bom dia!")
print t.greet()
| 9.6 | 21 | 0.645833 | 16 | 96 | 3.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 9 | 22 | 10.666667 | 0.775 | 0.208333 | 0 | 0 | 0 | 0 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c7e4d96d0faf11032ae63ba24880aba3d5ab6a7e | 287 | py | Python | DjangoServer/DjangoServer/settings/__init__.py | Sensorica/Sensor-Network | 872be3aad2f31666a88d8544cabe0066cae2f9c8 | [
"CC0-1.0"
] | 4 | 2016-02-21T22:53:24.000Z | 2020-05-23T19:57:49.000Z | DjangoServer/DjangoServer/settings/__init__.py | Sensorica/Sensor-Network | 872be3aad2f31666a88d8544cabe0066cae2f9c8 | [
"CC0-1.0"
] | 1 | 2016-06-27T17:47:47.000Z | 2016-06-27T17:47:47.000Z | DjangoServer/DjangoServer/settings/__init__.py | Sensorica/Sensor-Network | 872be3aad2f31666a88d8544cabe0066cae2f9c8 | [
"CC0-1.0"
] | 5 | 2016-02-11T17:46:23.000Z | 2020-05-23T19:58:06.000Z | import os
ENV = os.environ.get('LEAKNET_ENV').upper()
DEV = ENV == 'DEV'
STAGING = ENV == 'STAGING'
PROD = ENV == 'PROD'
if DEV:
from DjangoServer.settings.dev import *
elif STAGING:
from DjangoServer.settings.staging import *
else:
from DjangoServer.settings.prod import * | 22.076923 | 47 | 0.696864 | 38 | 287 | 5.236842 | 0.421053 | 0.241206 | 0.361809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174216 | 287 | 13 | 48 | 22.076923 | 0.839662 | 0 | 0 | 0 | 0 | 0 | 0.086806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c7e5d4bb8ec5830a40a17b14d9153cdd8c92018d | 28,183 | py | Python | image_base64.py | abdo-farag/patientenverwaltung | b999b6a5050f7dd331ec1eaee36e13ac988e1b58 | [
"MIT"
] | null | null | null | image_base64.py | abdo-farag/patientenverwaltung | b999b6a5050f7dd331ec1eaee36e13ac988e1b58 | [
"MIT"
] | null | null | null | image_base64.py | abdo-farag/patientenverwaltung | b999b6a5050f7dd331ec1eaee36e13ac988e1b58 | [
"MIT"
] | null | null | null |
button_icon=b'''
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7E
AAAOxAGVKw4bAAABg0lEQVQ4jZ3TvWsVQRQF8N9bwhZiZWFlMQSxsFIEW9eY
gCEKIgj2IsFWwX9ALAQbOz/KlFZWIsjLFMFKgoSg2MgSgqBFCBIkDEEsdvZl
XJ4Wnmpn9pw7c+49MzJA29SncBvzmM3bWxjjWYjpY8kfFcIZPMRdzAwLZ/zC
U9wLMe1PCmTxS1z7i3CIt7gaYtqv8saDQryH7S... | 62.214128 | 64 | 0.891601 | 1,186 | 28,183 | 21.184654 | 0.935076 | 0.000637 | 0.004776 | 0.006368 | 0.090905 | 0.090905 | 0.090905 | 0.090905 | 0.090905 | 0.090905 | 0 | 0.136883 | 0.078487 | 28,183 | 452 | 65 | 62.35177 | 0.830542 | 0 | 0 | 0.096847 | 0 | 0 | 0.995777 | 0.91633 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1beaf16f654ed366d4ffdddb751c7eef56476974 | 129 | py | Python | CIC.py | GStEugene/CIC | 7ebc6538a1847fb7523b070cc287e4cbe07928e9 | [
"Unlicense"
] | null | null | null | CIC.py | GStEugene/CIC | 7ebc6538a1847fb7523b070cc287e4cbe07928e9 | [
"Unlicense"
] | null | null | null | CIC.py | GStEugene/CIC | 7ebc6538a1847fb7523b070cc287e4cbe07928e9 | [
"Unlicense"
] | null | null | null | from PIL import Image, ImageGrab
import os
im = ImageGrab.grabclipboard()
if isinstance(im, Image.Image):
im.save('tmp.png') | 21.5 | 32 | 0.736434 | 19 | 129 | 5 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 129 | 6 | 33 | 21.5 | 0.855856 | 0 | 0 | 0 | 0 | 0 | 0.053846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1becc17eda7232514ffa4c64abde9d81eb9856e8 | 24 | py | Python | sqlalchemyDemo/__init__.py | liguangyulgy/mytest1 | 08133d04881ec94df49093aba94baa31e30ffb9b | [
"BSD-2-Clause"
] | null | null | null | sqlalchemyDemo/__init__.py | liguangyulgy/mytest1 | 08133d04881ec94df49093aba94baa31e30ffb9b | [
"BSD-2-Clause"
] | null | null | null | sqlalchemyDemo/__init__.py | liguangyulgy/mytest1 | 08133d04881ec94df49093aba94baa31e30ffb9b | [
"BSD-2-Clause"
] | null | null | null | __author__ = 'LiGuangyu' | 24 | 24 | 0.791667 | 2 | 24 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1bf5b4b136e2206d1b3e1b548fdf3b5703210834 | 3,617 | py | Python | Volume 1 - Supervised Deep Learning/Part 2 - Convolutional Neural Networks (CNN)/convolutional_neural_network_google_colab.py | Menosse/Deep-learning | cfac44588bb532367cbcf4d2117cb260c557d919 | [
"MIT"
] | null | null | null | Volume 1 - Supervised Deep Learning/Part 2 - Convolutional Neural Networks (CNN)/convolutional_neural_network_google_colab.py | Menosse/Deep-learning | cfac44588bb532367cbcf4d2117cb260c557d919 | [
"MIT"
] | null | null | null | Volume 1 - Supervised Deep Learning/Part 2 - Convolutional Neural Networks (CNN)/convolutional_neural_network_google_colab.py | Menosse/Deep-learning | cfac44588bb532367cbcf4d2117cb260c557d919 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import tensorflow as tf
from keras.preprocessing.image import ImageDataGenerator
from keras.preprocessing import image
import numpy as np
# tf.__version__
"""# **1. Data Preprocessing**
### 1.1 Creating Training Set
"""
train_datagen = ImageDataGenerator(
rescale=1./255,
she... | 26.595588 | 113 | 0.697263 | 533 | 3,617 | 4.540338 | 0.228893 | 0.089256 | 0.046281 | 0.037603 | 0.724793 | 0.68719 | 0.685124 | 0.661157 | 0.661157 | 0.661157 | 0 | 0.038436 | 0.15123 | 3,617 | 135 | 114 | 26.792593 | 0.749837 | 0.018524 | 0 | 0.705128 | 0 | 0 | 0.171521 | 0.085437 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.051282 | null | null | 0.102564 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
400bdea63bf14968b65a21dc5b84690084506310 | 703 | py | Python | ML_venv/Lib/site-packages/jupyter_client/__init__.py | ashokjohn/ML_RealWorld | 8508c8cd6a9fd0467ee68954850179ab2506bc04 | [
"MIT"
] | null | null | null | ML_venv/Lib/site-packages/jupyter_client/__init__.py | ashokjohn/ML_RealWorld | 8508c8cd6a9fd0467ee68954850179ab2506bc04 | [
"MIT"
] | null | null | null | ML_venv/Lib/site-packages/jupyter_client/__init__.py | ashokjohn/ML_RealWorld | 8508c8cd6a9fd0467ee68954850179ab2506bc04 | [
"MIT"
] | null | null | null | """Client-side implementations of the Jupyter protocol"""
from ._version import __version__ # noqa
from ._version import protocol_version # noqa
from ._version import protocol_version_info # noqa
from ._version import version_info # noqa
from .asynchronous import AsyncKernelClient # noqa
from .blocking import Bloc... | 43.9375 | 63 | 0.799431 | 80 | 703 | 6.8625 | 0.325 | 0.189435 | 0.123862 | 0.114754 | 0.143898 | 0.143898 | 0.143898 | 0 | 0 | 0 | 0 | 0 | 0.147937 | 703 | 15 | 64 | 46.866667 | 0.916528 | 0.173542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4015a468abad3816f41ded0a76d7cafd8df2e2a7 | 161 | py | Python | quiz/__about__.py | rmarren1/quiz | 3ea4f7bbec3483d220ade4cd05d542d086c7c663 | [
"Apache-2.0"
] | null | null | null | quiz/__about__.py | rmarren1/quiz | 3ea4f7bbec3483d220ade4cd05d542d086c7c663 | [
"Apache-2.0"
] | null | null | null | quiz/__about__.py | rmarren1/quiz | 3ea4f7bbec3483d220ade4cd05d542d086c7c663 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.1.1"
__author__ = "Arie Bovenberg"
__copyright__ = "2018, Arie Bovenberg"
__license__ = 'Apache 2.0'
__description__ = 'Capable GraphQL client'
| 26.833333 | 42 | 0.751553 | 19 | 161 | 5.315789 | 0.789474 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064286 | 0.130435 | 161 | 5 | 43 | 32.2 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0.440994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
401d8ac4b150647ba53fae9538d9e5aa1ed4cd46 | 376 | py | Python | bundles/finance/services/asset_manager.py | briancappello/flask-techan-unchained | a26a900bb47e40e5db67e78822dc6af59d1abc31 | [
"Apache-2.0"
] | null | null | null | bundles/finance/services/asset_manager.py | briancappello/flask-techan-unchained | a26a900bb47e40e5db67e78822dc6af59d1abc31 | [
"Apache-2.0"
] | 18 | 2019-12-10T22:11:27.000Z | 2021-12-13T20:42:58.000Z | bundles/finance/services/asset_manager.py | briancappello/flask-techan-unchained | a26a900bb47e40e5db67e78822dc6af59d1abc31 | [
"Apache-2.0"
] | 1 | 2021-07-26T08:20:28.000Z | 2021-07-26T08:20:28.000Z | from flask_unchained.bundles.sqlalchemy import ModelManager
from ..models import Asset
class AssetManager(ModelManager):
class Meta:
model = Asset
def create(self, commit=False, **kwargs):
return super().create(commit=commit, **kwargs)
def find_by_types(self, asset_types):
retur... | 25.066667 | 68 | 0.707447 | 48 | 376 | 5.416667 | 0.604167 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180851 | 376 | 14 | 69 | 26.857143 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
40282b464eec856c2dadb14f9ca9b8d6c6badbec | 840 | py | Python | programming-laboratory-I/9iso/muv.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | programming-laboratory-I/9iso/muv.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | programming-laboratory-I/9iso/muv.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | # coding: utf-8
posicao_inicial = float(raw_input("Posição inicial? "))
velocidade_inicial = float(raw_input("Velocidade inicial? "))
tempo = float(raw_input("Tempo? "))
aceleracao = float(raw_input("Aceleração? "))
print ""
print "Dados da questão\n================"
print " Posição inicial: %.2f m" %posicao_inicial
... | 46.666667 | 88 | 0.708333 | 106 | 840 | 5.433962 | 0.245283 | 0.206597 | 0.090278 | 0.072917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01683 | 0.15119 | 840 | 17 | 89 | 49.411765 | 0.791024 | 0.015476 | 0 | 0 | 0 | 0 | 0.340606 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5625 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
402a068b00c99a226eb6f4742f451c51a275b05d | 1,730 | py | Python | DQMOffline/EGamma/python/electronOfflineClientSequence_cff.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:24:46.000Z | 2021-11-30T16:24:46.000Z | DQMOffline/EGamma/python/electronOfflineClientSequence_cff.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 4 | 2021-11-29T13:57:56.000Z | 2022-03-29T06:28:36.000Z | DQMOffline/EGamma/python/electronOfflineClientSequence_cff.py | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2022-02-27T06:12:26.000Z | 2022-02-27T06:12:26.000Z | import FWCore.ParameterSet.Config as cms
from DQMOffline.EGamma.electronOfflineClient_cfi import *
dqmElectronClientAllElectrons = dqmElectronOfflineClient.clone(
InputFolderName = "Egamma/Electrons/Ele2_All",
OutputFolderName = "Egamma/Electrons/Ele2_All"
)
dqmElectronClientAllElectronsHGC = dqmElectronOffli... | 38.444444 | 72 | 0.838728 | 119 | 1,730 | 12.016807 | 0.369748 | 0.125874 | 0.184615 | 0.20979 | 0.253147 | 0.088112 | 0 | 0 | 0 | 0 | 0 | 0.019683 | 0.089595 | 1,730 | 44 | 73 | 39.318182 | 0.888254 | 0.128324 | 0 | 0 | 0 | 0 | 0.191744 | 0.191744 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085714 | 0 | 0.085714 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4038117da2d060bdadf4cc129e345a715818b611 | 363 | py | Python | bananagui/wrappers/dummy/widgets/ranged.py | Akuli/BananaGUI | d1bb2823770fb9d2e13da1d377d7a51e6a144679 | [
"MIT"
] | 4 | 2017-01-13T16:51:45.000Z | 2019-06-13T20:54:42.000Z | bananagui/wrappers/dummy/widgets/ranged.py | Akuli/BananaGUI | d1bb2823770fb9d2e13da1d377d7a51e6a144679 | [
"MIT"
] | 1 | 2019-06-13T21:04:42.000Z | 2019-06-20T13:27:56.000Z | bananagui/wrappers/dummy/widgets/ranged.py | Akuli/BananaGUI | d1bb2823770fb9d2e13da1d377d7a51e6a144679 | [
"MIT"
] | null | null | null | from .basewidgets import Child
class Slider(Child):
def __init__(self, bananawidget, orientation, valuerange):
super().__init__(bananawidget)
def set_value(self, value):
pass
class Spinbox(Child):
def __init__(self, bananawidget, valuerange):
super().__init__(bananawidget)
... | 18.15 | 62 | 0.672176 | 39 | 363 | 5.794872 | 0.435897 | 0.070796 | 0.106195 | 0.141593 | 0.734513 | 0.486726 | 0.486726 | 0.486726 | 0.486726 | 0.486726 | 0 | 0 | 0.22865 | 363 | 19 | 63 | 19.105263 | 0.807143 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.181818 | 0.090909 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
404b4afb690a60b2b43cd08c930195cb56c0dad5 | 4,419 | py | Python | Laba1Web/blog/consumers.py | lvvz/django_blog | 7dd70c9b7793558af93288ce5cb478dc4a4e622e | [
"MIT"
] | null | null | null | Laba1Web/blog/consumers.py | lvvz/django_blog | 7dd70c9b7793558af93288ce5cb478dc4a4e622e | [
"MIT"
] | null | null | null | Laba1Web/blog/consumers.py | lvvz/django_blog | 7dd70c9b7793558af93288ce5cb478dc4a4e622e | [
"MIT"
] | null | null | null | import json
import random
from asgiref.sync import async_to_sync
from channels.generic.websocket import WebsocketConsumer
from django.contrib.auth import models as auth_models
from .models import BlogUser
from .models import ConnectedUser
class ChatConsumer(WebsocketConsumer):
def connect(self):
# self... | 34.255814 | 100 | 0.55284 | 473 | 4,419 | 4.94926 | 0.194503 | 0.044425 | 0.061085 | 0.07988 | 0.703118 | 0.703118 | 0.703118 | 0.672362 | 0.672362 | 0.672362 | 0 | 0.001353 | 0.33107 | 4,419 | 129 | 101 | 34.255814 | 0.790595 | 0.067889 | 0 | 0.531915 | 0 | 0 | 0.088521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0.010638 | 0.074468 | 0 | 0.180851 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
408fa97718c7a289ccd24512306f4b283d622cf9 | 16,071 | py | Python | great_expectations/expectations/util.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 6,451 | 2017-09-11T16:32:53.000Z | 2022-03-31T23:27:49.000Z | great_expectations/expectations/util.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 3,892 | 2017-09-08T18:57:50.000Z | 2022-03-31T23:15:20.000Z | great_expectations/expectations/util.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 1,023 | 2017-09-08T15:22:05.000Z | 2022-03-31T21:17:08.000Z | import logging
from great_expectations.exceptions import GreatExpectationsError
from great_expectations.render.types import RenderedStringTemplateContent
logger = logging.getLogger(__name__)
legacy_method_parameters = {
"expect_column_bootstrapped_ks_test_p_value_to_be_greater_than": (
"column",
... | 26.519802 | 119 | 0.537303 | 1,431 | 16,071 | 5.515024 | 0.138365 | 0.079067 | 0.118601 | 0.184491 | 0.705525 | 0.69108 | 0.685378 | 0.677015 | 0.670426 | 0.630512 | 0 | 0.000096 | 0.349449 | 16,071 | 605 | 120 | 26.563636 | 0.754758 | 0.016987 | 0 | 0.790894 | 0 | 0 | 0.475021 | 0.16235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003373 | false | 0.001686 | 0.005059 | 0 | 0.011804 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
40967d8737ef6f9ff078d3d77483461501513858 | 545 | py | Python | messenger/canned_messages.py | phistuck/messenger | 1afed9708ddc7f5b55d6aaf227dc2e29d05c16d0 | [
"MIT"
] | 1 | 2017-12-28T22:38:09.000Z | 2017-12-28T22:38:09.000Z | messenger/canned_messages.py | phistuck/messenger | 1afed9708ddc7f5b55d6aaf227dc2e29d05c16d0 | [
"MIT"
] | null | null | null | messenger/canned_messages.py | phistuck/messenger | 1afed9708ddc7f5b55d6aaf227dc2e29d05c16d0 | [
"MIT"
] | null | null | null | list = \
[
unichr(79) + unichr(110) + unichr(32) + unichr(109) + unichr(121) + unichr(32) + unichr(119) + unichr(97) + unichr(121),
unichr(65) + unichr(108) + unichr(109) + unichr(111) + unichr(115) + unichr(116) + unichr(32) + unichr(104) + unichr(111) + unichr(109) + unichr(101),
unichr(73) + unichr(110) + uni... | 77.857143 | 164 | 0.627523 | 77 | 545 | 4.441558 | 0.324675 | 0.116959 | 0.204678 | 0.099415 | 0.324561 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239651 | 0.157798 | 545 | 7 | 165 | 77.857143 | 0.505447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
40ab411b875bf509a1186bfbeb2e72edcd917888 | 494 | py | Python | src/Nodo.py | stormKx18/cic_algoritmos_proyecto4_Christian_Jaime | fede69dce85a17d264ba1563fbc89c9d83d9a3ac | [
"MIT"
] | null | null | null | src/Nodo.py | stormKx18/cic_algoritmos_proyecto4_Christian_Jaime | fede69dce85a17d264ba1563fbc89c9d83d9a3ac | [
"MIT"
] | null | null | null | src/Nodo.py | stormKx18/cic_algoritmos_proyecto4_Christian_Jaime | fede69dce85a17d264ba1563fbc89c9d83d9a3ac | [
"MIT"
] | null | null | null | #Clase Nodo
class Nodo:
def __init__(self, id):
self.id = id
self.grado=0
#Parametros algoritmo de dijkstra
self.padre=None
self.visitado=False
self.distancia=float('inf')
def __str__(self):
return str(self.id)
def __eq__(self, otroNodo):
return self.id == otroN... | 23.52381 | 80 | 0.530364 | 53 | 494 | 4.641509 | 0.471698 | 0.097561 | 0.146341 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002611 | 0.224696 | 494 | 20 | 81 | 24.7 | 0.639687 | 0.242915 | 0 | 0 | 0 | 0 | 0.008547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.230769 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
40c1976e191486b3da48149c12a68e4e13b28903 | 432 | py | Python | main/models.py | PratikSavla/Brevis-News | 5b0924c4077430b85e2d205695c17a08911a8732 | [
"Apache-2.0"
] | 9 | 2018-10-06T10:50:15.000Z | 2020-12-05T18:33:02.000Z | main/models.py | PratikSavla/Brevis-News | 5b0924c4077430b85e2d205695c17a08911a8732 | [
"Apache-2.0"
] | 6 | 2018-12-03T07:12:10.000Z | 2020-09-05T08:49:22.000Z | main/models.py | PratikSavla/Brevis-News | 5b0924c4077430b85e2d205695c17a08911a8732 | [
"Apache-2.0"
] | 9 | 2018-09-28T12:14:03.000Z | 2019-01-08T12:23:38.000Z | from django.db import models
from .Newsletterapi import *
# Create your models here.
"""class Summary_Art(models.Model):
url = models.TextField()
summary = get_summary(url)
text = summary[0]
summary = summary[1]
#user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) #Option... | 27 | 112 | 0.685185 | 57 | 432 | 5.070175 | 0.561404 | 0.069204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.212963 | 432 | 15 | 113 | 28.8 | 0.844118 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
40c76f03b257e43271a8207ed95faa83d742cc33 | 35,395 | py | Python | dataflow/core/nodes/transformers.py | alphamatic/amp | 5018137097159415c10eaa659a2e0de8c4e403d4 | [
"BSD-3-Clause"
] | 5 | 2021-08-10T23:16:44.000Z | 2022-03-17T17:27:00.000Z | dataflow/core/nodes/transformers.py | alphamatic/amp | 5018137097159415c10eaa659a2e0de8c4e403d4 | [
"BSD-3-Clause"
] | 330 | 2021-06-10T17:28:22.000Z | 2022-03-31T00:55:48.000Z | dataflow/core/nodes/transformers.py | alphamatic/amp | 5018137097159415c10eaa659a2e0de8c4e403d4 | [
"BSD-3-Clause"
] | 6 | 2021-06-10T17:20:32.000Z | 2022-03-28T08:08:03.000Z | """
Import as:
import dataflow.core.nodes.transformers as dtfconotra
"""
import collections
import inspect
import logging
from typing import (
Any,
Callable,
Dict,
Iterable,
List,
Optional,
Tuple,
Union,
cast,
)
import numpy as np
import pandas as pd
import core.finance as cofinan... | 37.896146 | 100 | 0.600961 | 4,263 | 35,395 | 4.738447 | 0.10814 | 0.021782 | 0.010396 | 0.011881 | 0.732277 | 0.715 | 0.68703 | 0.667673 | 0.643069 | 0.631881 | 0 | 0.021917 | 0.28973 | 35,395 | 933 | 101 | 37.936763 | 0.781583 | 0.262975 | 0 | 0.619125 | 0 | 0 | 0.044756 | 0 | 0 | 0 | 0 | 0.012862 | 0.045381 | 1 | 0.042139 | false | 0.004862 | 0.019449 | 0 | 0.106969 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
40c892f5e0ff6e14d05a8144c3a731e0594f82b3 | 197 | py | Python | pyckaxe/minecraft/__init__.py | Arcensoth/pyckaxe | 09ed0828d6660a233b827721454293579329991b | [
"MIT"
] | 3 | 2018-09-23T05:16:44.000Z | 2021-12-23T03:06:07.000Z | pyckaxe/minecraft/__init__.py | Arcensoth/pyckaxe | 09ed0828d6660a233b827721454293579329991b | [
"MIT"
] | 5 | 2018-07-11T02:31:56.000Z | 2018-07-11T03:15:05.000Z | pyckaxe/minecraft/__init__.py | Arcensoth/pyckaxe | 09ed0828d6660a233b827721454293579329991b | [
"MIT"
] | null | null | null | """ Contains objective representations of various version-sensitive data."""
from .blocks._values import blocks
from .commands._values import commands
__all__ = (
"blocks",
"commands",
)
| 19.7 | 76 | 0.730964 | 21 | 197 | 6.571429 | 0.666667 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162437 | 197 | 9 | 77 | 21.888889 | 0.836364 | 0.350254 | 0 | 0 | 0 | 0 | 0.115702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
40c8abdae52202c4928ec2cea7d262c8265f11c1 | 1,969 | py | Python | pyscf/nao/test/test_0030_dens_elec.py | KMCzajkowski/pyscf | e8af41d910cc0d3963655120c0b689590ad978e7 | [
"BSD-2-Clause"
] | null | null | null | pyscf/nao/test/test_0030_dens_elec.py | KMCzajkowski/pyscf | e8af41d910cc0d3963655120c0b689590ad978e7 | [
"BSD-2-Clause"
] | null | null | null | pyscf/nao/test/test_0030_dens_elec.py | KMCzajkowski/pyscf | e8af41d910cc0d3963655120c0b689590ad978e7 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function, division
import os,unittest,numpy as np
class KnowValues(unittest.TestCase):
def test_dens_elec(self):
""" Compute density in coordinate space with system_vars_c, integrate and compare with number of electrons """
from pyscf.nao import system_vars_c
from pyscf.nao.... | 46.880952 | 114 | 0.637887 | 384 | 1,969 | 3.065104 | 0.231771 | 0.11215 | 0.196262 | 0.183517 | 0.472387 | 0.458794 | 0.458794 | 0.442651 | 0.442651 | 0.442651 | 0 | 0.03981 | 0.145251 | 1,969 | 41 | 115 | 48.02439 | 0.659537 | 0.588624 | 0 | 0 | 0 | 0 | 0.021574 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.333333 | 0 | 0.466667 | 0.066667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
40fddd76ffa42f18f73ea5afb12f0ec932479b73 | 60,085 | py | Python | tensorflow/python/kernel_tests/losses_test.py | xincao79/tensorflow | 7fa0cf39f854d5fdaaa19ad6425dfed02f5fea64 | [
"Apache-2.0"
] | 3 | 2018-08-16T22:45:00.000Z | 2021-11-09T11:27:06.000Z | tensorflow/python/kernel_tests/losses_test.py | xincao79/tensorflow | 7fa0cf39f854d5fdaaa19ad6425dfed02f5fea64 | [
"Apache-2.0"
] | 3 | 2020-03-24T18:15:52.000Z | 2021-02-02T22:28:38.000Z | tensorflow/python/kernel_tests/losses_test.py | xincao79/tensorflow | 7fa0cf39f854d5fdaaa19ad6425dfed02f5fea64 | [
"Apache-2.0"
] | 2 | 2017-10-03T18:22:53.000Z | 2020-03-17T12:44:05.000Z | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 41.581315 | 80 | 0.625714 | 7,702 | 60,085 | 4.725396 | 0.057128 | 0.025663 | 0.0258 | 0.02363 | 0.798269 | 0.760352 | 0.72705 | 0.69798 | 0.674488 | 0.644951 | 0 | 0.07113 | 0.230906 | 60,085 | 1,444 | 81 | 41.610111 | 0.716453 | 0.034152 | 0 | 0.600171 | 0 | 0 | 0.015909 | 0.008455 | 0 | 0 | 0 | 0.000693 | 0.131287 | 1 | 0.116795 | false | 0 | 0.016198 | 0 | 0.143223 | 0.000853 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
90527070fa21354d4ddb9ebf276c82983bca9d78 | 205 | py | Python | rainman2/lib/environment/cellular/dev/__init__.py | att-innovate/rainman2 | edd07c03a9d33a2e44b3a333fc28dc73c8cbe56e | [
"MIT"
] | 2 | 2018-06-19T16:52:25.000Z | 2018-06-25T22:05:38.000Z | rainman2/lib/environment/cellular/dev/__init__.py | att-innovate/rainman2 | edd07c03a9d33a2e44b3a333fc28dc73c8cbe56e | [
"MIT"
] | null | null | null | rainman2/lib/environment/cellular/dev/__init__.py | att-innovate/rainman2 | edd07c03a9d33a2e44b3a333fc28dc73c8cbe56e | [
"MIT"
] | 1 | 2020-09-15T03:06:08.000Z | 2020-09-15T03:06:08.000Z | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
""" Describes cellular model for development purposes. """
__author__ = 'Ari Saha (arisaha@icloud.com)'
__date__ = 'Tuesday, March 6th 2018, 10:08:50 am'
| 22.777778 | 58 | 0.673171 | 28 | 205 | 4.642857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075145 | 0.156098 | 205 | 8 | 59 | 25.625 | 0.676301 | 0.468293 | 0 | 0 | 0 | 0 | 0.643564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
905da9c0e41980bb6cd241e4fe06096153550a07 | 178 | py | Python | mstrio/utils/logger.py | expobrain/mstrio-py | d389f3a1981eb7bb7a59df9fc6086e051c05ca74 | [
"Apache-2.0"
] | null | null | null | mstrio/utils/logger.py | expobrain/mstrio-py | d389f3a1981eb7bb7a59df9fc6086e051c05ca74 | [
"Apache-2.0"
] | 1 | 2019-09-30T07:02:06.000Z | 2019-09-30T07:02:06.000Z | mstrio/utils/logger.py | expobrain/mstrio-py | d389f3a1981eb7bb7a59df9fc6086e051c05ca74 | [
"Apache-2.0"
] | null | null | null | import logging
logger = logging.getLogger('mstr')
def log_http_response(r, lvl = logging.WARNING):
logger.log(lvl, f'HTTP {r.status_code} - {r.reason}, Message {r.text}')
| 22.25 | 75 | 0.702247 | 27 | 178 | 4.518519 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 178 | 7 | 76 | 25.428571 | 0.792208 | 0 | 0 | 0 | 0 | 0 | 0.308989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
907efaa08a66df8c5fac139a0175079deb242cf3 | 375 | py | Python | web/handlers_base.py | PCNI/homeless-helper | 2216199da2e4b41be6eb5c287d9c1a054fec3945 | [
"MIT"
] | 3 | 2015-05-04T14:52:10.000Z | 2020-02-22T07:03:20.000Z | web/handlers_base.py | PCNI/homeless-helper | 2216199da2e4b41be6eb5c287d9c1a054fec3945 | [
"MIT"
] | 1 | 2015-01-12T18:25:03.000Z | 2015-01-12T18:53:33.000Z | web/handlers_base.py | PCNI/homeless-helper | 2216199da2e4b41be6eb5c287d9c1a054fec3945 | [
"MIT"
] | null | null | null | import tornado.web
from HomelessHelper.config import Config
from HomelessHelper.database import DbPrimary
from HomelessHelper.system import System
from HomelessHelper.resource import Resource
config = Config()
class BaseHandler(tornado.web.RequestHandler):
@property
def db(self):
'''return database... | 23.4375 | 47 | 0.754667 | 41 | 375 | 6.902439 | 0.487805 | 0.254417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178667 | 375 | 16 | 48 | 23.4375 | 0.918831 | 0.064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.5 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9082b469e9988eee32c1f323b358d1c55e088499 | 3,816 | py | Python | twutil/data.py | tapilab/twutil | c967120c41a6e216f3d476214b85a736cade0e29 | [
"BSD-3-Clause"
] | 2 | 2015-07-23T17:34:33.000Z | 2021-08-25T05:55:07.000Z | twutil/data.py | tapilab/twutil | c967120c41a6e216f3d476214b85a736cade0e29 | [
"BSD-3-Clause"
] | null | null | null | twutil/data.py | tapilab/twutil | c967120c41a6e216f3d476214b85a736cade0e29 | [
"BSD-3-Clause"
] | 2 | 2018-05-26T00:58:23.000Z | 2020-07-09T15:46:32.000Z | import json
class Tweet(object):
"""
>>> tweet = Tweet(json.loads(test_tweet))
>>> tweet.js['user']['name']
'Ellen DeGeneres'
"""
def __init__(self, js):
self.js = js
def __str__(self):
return u'\t'.join([self.js['user']['screen_name'], self.js['created_at'], self.js['tex... | 74.823529 | 3,117 | 0.68501 | 499 | 3,816 | 5.006012 | 0.412826 | 0.022418 | 0.030825 | 0.036029 | 0.236189 | 0.168535 | 0.121697 | 0.11209 | 0.097678 | 0.047238 | 0 | 0.100471 | 0.110587 | 3,816 | 50 | 3,118 | 76.32 | 0.635533 | 0.058176 | 0 | 0 | 0 | 0.076923 | 0.887628 | 0.174234 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0.076923 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9092b43cb49022a1911850bd5a0b774b33918b8a | 5,062 | py | Python | SDWLE/cards_copy/minions/paladin.py | jomyhuang/sdwle | 9b6e916567e09c7cba4a171fe0adf0f47009a8c3 | [
"MIT"
] | null | null | null | SDWLE/cards_copy/minions/paladin.py | jomyhuang/sdwle | 9b6e916567e09c7cba4a171fe0adf0f47009a8c3 | [
"MIT"
] | null | null | null | SDWLE/cards_copy/minions/paladin.py | jomyhuang/sdwle | 9b6e916567e09c7cba4a171fe0adf0f47009a8c3 | [
"MIT"
] | null | null | null | from SDWLE.cards.base import MinionCard, WeaponCard
from SDWLE.game_objects import Weapon, Minion
from SDWLE.tags.action import Equip, Give, Heal, Damage, GiveAura
from SDWLE.tags.base import Deathrattle, Battlecry, Effect, Buff, ActionTag, AuraUntil
from SDWLE.tags.selector import PlayerSelector, MinionSelector, SelfS... | 38.641221 | 120 | 0.661794 | 531 | 5,062 | 6.011299 | 0.222222 | 0.061404 | 0.0448 | 0.065163 | 0.444549 | 0.438283 | 0.281015 | 0.219925 | 0.113722 | 0.067043 | 0 | 0.011822 | 0.231331 | 5,062 | 130 | 121 | 38.938462 | 0.808533 | 0 | 0 | 0.263736 | 0 | 0 | 0.041683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.098901 | 0.131868 | 0.67033 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
909baf371ac8601c100502509df6020ba6da8716 | 595 | py | Python | happinesspackets/utils/mixins.py | travisdev1/travis | ded75d273cfdddd428b3bec6d4c2e11cb54a35a6 | [
"Apache-2.0"
] | 30 | 2016-03-30T10:18:23.000Z | 2017-08-17T05:02:09.000Z | happinesspackets/utils/mixins.py | Harshit-modi/happinesspackets | f16196496dc88e55fbeb1c6653e9785183436da4 | [
"Apache-2.0"
] | 17 | 2016-03-30T11:06:27.000Z | 2017-09-18T22:31:58.000Z | happinesspackets/utils/mixins.py | Harshit-modi/happinesspackets | f16196496dc88e55fbeb1c6653e9785183436da4 | [
"Apache-2.0"
] | 15 | 2018-01-29T13:56:14.000Z | 2020-04-28T17:20:33.000Z | from __future__ import unicode_literals
from axes.decorators import watch_login
from django.utils.decorators import method_decorator
class AxesControlledMixin(object):
"""
Wrap this view in django-axes' watch-login. Must only be applied to form views.
Every form submission failure counts towards the AXES_... | 39.666667 | 83 | 0.759664 | 78 | 595 | 5.641026 | 0.653846 | 0.068182 | 0.077273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 595 | 14 | 84 | 42.5 | 0.888889 | 0.383193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
90a51e3e8ef3b0f0bad84ad0c644cebf170eb759 | 293 | py | Python | app/main/__init__.py | mereckaj/CS4098-Group-E | 0af1c68eeb69c48e798a2464fc8a4ba4d269f11a | [
"MIT"
] | 2 | 2016-02-07T15:00:24.000Z | 2016-02-07T22:28:54.000Z | app/main/__init__.py | mereckaj/CS4098-Group-E | 0af1c68eeb69c48e798a2464fc8a4ba4d269f11a | [
"MIT"
] | 6 | 2016-02-10T10:05:51.000Z | 2016-02-14T17:59:05.000Z | app/main/__init__.py | mereckaj/CS4098-Group-E | 0af1c68eeb69c48e798a2464fc8a4ba4d269f11a | [
"MIT"
] | null | null | null | from flask import Blueprint
# Args: Blueprint name and where it is located
main = Blueprint("main",__name__)
# Import routes from other files (e.g. views.py)
# Don't move this, it should be at the bottom, otherwise there
# could be a problem with circular dependencies.
from . import views
| 29.3 | 62 | 0.754266 | 47 | 293 | 4.617021 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174061 | 293 | 9 | 63 | 32.555556 | 0.896694 | 0.679181 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
90ba22b840e07bdf6bf9272ea32d133febee2f4b | 1,164 | py | Python | ccfwidget/allen_id_label.py | NeurodataWithoutBorders/ccf-widget | 482b2ecb2d9b227425cf09fa00a4d15857f0de26 | [
"MIT"
] | 5 | 2020-06-17T02:40:02.000Z | 2020-11-18T17:18:04.000Z | ccfwidget/allen_id_label.py | NeurodataWithoutBorders/ccf-widget | 482b2ecb2d9b227425cf09fa00a4d15857f0de26 | [
"MIT"
] | 18 | 2020-06-13T18:43:23.000Z | 2020-08-27T16:43:34.000Z | ccfwidget/allen_id_label.py | NeurodataWithoutBorders/ccf-widget | 482b2ecb2d9b227425cf09fa00a4d15857f0de26 | [
"MIT"
] | null | null | null | __all__ = ['labels_for_allen_id']
import urllib.request
import json
from .structure_graph import allen_id_to_tree_node
from IPython.core.debugger import set_trace
# Todo: Use AWS store after Scott / Lydia upload
with urllib.request.urlopen("https://thewtex.github.io/allen-ccf-itk-vtk-zarr/allen_id_to_label.json") a... | 34.235294 | 110 | 0.742268 | 190 | 1,164 | 4.126316 | 0.331579 | 0.241071 | 0.160714 | 0.183673 | 0.460459 | 0.253827 | 0.165816 | 0.094388 | 0 | 0 | 0 | 0.00104 | 0.17354 | 1,164 | 33 | 111 | 35.272727 | 0.813929 | 0.039519 | 0 | 0.153846 | 0 | 0.038462 | 0.080645 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.346154 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
90d26f2180289e2eb400da66bf40050b26bd66fa | 10,885 | py | Python | ShiCi/spiders/books.py | HC1058503505/ShiCI | 2d3cfd87790267b1bcb4430a1a43d574eb2922f4 | [
"MIT"
] | null | null | null | ShiCi/spiders/books.py | HC1058503505/ShiCI | 2d3cfd87790267b1bcb4430a1a43d574eb2922f4 | [
"MIT"
] | null | null | null | ShiCi/spiders/books.py | HC1058503505/ShiCI | 2d3cfd87790267b1bcb4430a1a43d574eb2922f4 | [
"MIT"
] | null | null | null |
# -*- coding:utf-8 -*-
import re
import requests
import scrapy
from bs4 import BeautifulSoup
from scrapy.selector import Selector
from scrapy.http import Request
from ShiCi.items import BookItem
import time
import json
class BookSpider(scrapy.Spider):
name = 'book'
allowed_domains = ['gushiwen.org']
bash_url = ... | 36.043046 | 145 | 0.702526 | 1,550 | 10,885 | 4.505161 | 0.095484 | 0.058428 | 0.053272 | 0.029787 | 0.815266 | 0.760275 | 0.685808 | 0.632393 | 0.586281 | 0.571101 | 0 | 0.01335 | 0.139825 | 10,885 | 301 | 146 | 36.162791 | 0.732458 | 0.517685 | 0 | 0.11 | 0 | 0.01 | 0.141345 | 0.00941 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.09 | null | null | 0.03 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
90f6fed7786b376a24868c955d936c8e2ce7bf57 | 945 | py | Python | office365/directory/identities/identity_container.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | null | null | null | office365/directory/identities/identity_container.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | null | null | null | office365/directory/identities/identity_container.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | null | null | null | from office365.directory.identities.b2x_identity_user_flow import B2XIdentityUserFlow
from office365.directory.identities.identity_provider_base import IdentityProviderBase
from office365.entity import Entity
from office365.entity_collection import EntityCollection
from office365.runtime.resource_path import ResourcePa... | 45 | 107 | 0.675132 | 79 | 945 | 7.924051 | 0.417722 | 0.103834 | 0.070288 | 0.102236 | 0.086262 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030216 | 0.26455 | 945 | 20 | 108 | 47.25 | 0.870504 | 0 | 0 | 0.125 | 0 | 0 | 0.061376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.3125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
2910dfb2f803ca6c2972492bbe15aec3d0b5871b | 2,961 | py | Python | kitt/dataloading.py | vojtechcima/kitt | c499523be6ad5db2ed6a214ca217597dc16282a4 | [
"MIT"
] | null | null | null | kitt/dataloading.py | vojtechcima/kitt | c499523be6ad5db2ed6a214ca217597dc16282a4 | [
"MIT"
] | null | null | null | kitt/dataloading.py | vojtechcima/kitt | c499523be6ad5db2ed6a214ca217597dc16282a4 | [
"MIT"
] | null | null | null | import math
import numpy as np
from tensorflow.keras.utils import Sequence
class BatchIndexer:
def __init__(self, length: int, batch_size: int, seed=None, shuffle=True):
assert batch_size > 0
assert length > 0
if not shuffle:
assert seed is None
self.batch_size = bat... | 25.747826 | 85 | 0.643026 | 382 | 2,961 | 4.746073 | 0.23822 | 0.064534 | 0.030336 | 0.026475 | 0.229454 | 0.160507 | 0.077772 | 0.077772 | 0.05626 | 0.05626 | 0 | 0.001364 | 0.257008 | 2,961 | 114 | 86 | 25.973684 | 0.822727 | 0.065181 | 0 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.266667 | false | 0 | 0.04 | 0.106667 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
292127ca98889e799b8bac9f9c82a15dae87895c | 1,049 | py | Python | code/fft/fft_test.py | xing710/ModSimPy | 87f0f481926c40855223e2843bd728edb235c516 | [
"MIT"
] | null | null | null | code/fft/fft_test.py | xing710/ModSimPy | 87f0f481926c40855223e2843bd728edb235c516 | [
"MIT"
] | null | null | null | code/fft/fft_test.py | xing710/ModSimPy | 87f0f481926c40855223e2843bd728edb235c516 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
# import plotly.plotly as py
import numpy as np
import pandas as pd
# Learn about API authentication here: https://plot.ly/python/getting-started
# Find your api_key here: https://plot.ly/settings/api
data = pd.read_csv('data/ecg_data1.csv', index_col='time')
# Fs = 800.0; # sampling ... | 25.585366 | 77 | 0.65205 | 192 | 1,049 | 3.510417 | 0.463542 | 0.035608 | 0.040059 | 0.04451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027119 | 0.156339 | 1,049 | 41 | 78 | 25.585366 | 0.734463 | 0.805529 | 0 | 0 | 0 | 0 | 0.131737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
292a3a26feabb9a5fd8d84bbc505f6419b51a61b | 362 | py | Python | platforms/hermes-python/hermes_python/__version__.py | fraserloch/hermes-protocol | e823ca95943162bec575feb3badeb84e475e88b0 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 37 | 2018-12-07T16:32:32.000Z | 2021-07-08T17:43:27.000Z | platforms/hermes-python/hermes_python/__version__.py | fraserloch/hermes-protocol | e823ca95943162bec575feb3badeb84e475e88b0 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 52 | 2018-12-28T11:10:05.000Z | 2019-11-13T02:01:41.000Z | platforms/hermes-python/hermes_python/__version__.py | fraserloch/hermes-protocol | e823ca95943162bec575feb3badeb84e475e88b0 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 34 | 2019-03-21T21:53:35.000Z | 2020-07-31T16:50:43.000Z | __title__ = 'hermes_python'
__version__ = '0.8.1'
__description__ = 'Python bindings for Snips Hermes Protocol'
__url__ = {
'Documentation': 'https://hermespython.readthedocs.io/en/latest/',
'Source': 'https://github.com/snipsco/hermes-protocol/tree/develop/platforms/hermes-python',
'Tracker': 'https://gith... | 40.222222 | 96 | 0.734807 | 42 | 362 | 5.928571 | 0.690476 | 0.168675 | 0.11245 | 0.168675 | 0.281125 | 0.281125 | 0 | 0 | 0 | 0 | 0 | 0.009202 | 0.099448 | 362 | 8 | 97 | 45.25 | 0.754601 | 0 | 0 | 0 | 0 | 0.125 | 0.71547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
293dd73605c62e3bd2dff3a17423422d6d4a12cb | 1,835 | py | Python | buildingrequests.py | LK/monopoly-simulator | 16655da3402cd660b758c536fb8c05b9e661af5f | [
"MIT"
] | 2 | 2016-09-03T13:01:20.000Z | 2016-12-28T06:37:42.000Z | buildingrequests.py | LK/monopoly-simulator | 16655da3402cd660b758c536fb8c05b9e661af5f | [
"MIT"
] | 21 | 2016-09-12T21:38:23.000Z | 2017-01-06T04:25:59.000Z | buildingrequests.py | LK/monopoly-simulator | 16655da3402cd660b758c536fb8c05b9e661af5f | [
"MIT"
] | null | null | null | '''
Author: Michael Friedman
Created: 8/25/16
Description:
This class holds a set of building requests from a player. It contains a
GroupOfChanges for each of the following:
- House Builds
- Hotel Builds
- House Demolitions
- Hotel Demolitions
BuildingRequests are kept separate from other changes a playe... | 26.985294 | 154 | 0.79346 | 230 | 1,835 | 6.052174 | 0.3 | 0.063218 | 0.08046 | 0.028736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003193 | 0.146594 | 1,835 | 68 | 155 | 26.985294 | 0.885696 | 0.370027 | 0 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0 | 0.028571 | 0.228571 | 0.542857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2943328786fb0defe4a4b1782ce2a3538a3e1a29 | 213 | py | Python | pgmpy/base/__init__.py | Shashankawasthi24/pgmpy | 87c03dfab18dfac6bf9b0ee918ee81cc6e8f6612 | [
"MIT"
] | 1 | 2016-12-28T15:44:56.000Z | 2016-12-28T15:44:56.000Z | pgmpy/base/__init__.py | Shashankawasthi24/pgmpy | 87c03dfab18dfac6bf9b0ee918ee81cc6e8f6612 | [
"MIT"
] | null | null | null | pgmpy/base/__init__.py | Shashankawasthi24/pgmpy | 87c03dfab18dfac6bf9b0ee918ee81cc6e8f6612 | [
"MIT"
] | 2 | 2017-03-21T22:49:36.000Z | 2018-10-31T16:07:49.000Z | from .UndirectedGraph import UndirectedGraph
from .DirectedGraph import DirectedGraph
from .OptionalDependency import HAS_PANDAS
__all__ = ['UndirectedGraph',
'DirectedGraph',
'HAS_PANDAS']
| 26.625 | 44 | 0.746479 | 18 | 213 | 8.5 | 0.444444 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187793 | 213 | 7 | 45 | 30.428571 | 0.884393 | 0 | 0 | 0 | 0 | 0 | 0.178404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
29570d82f568ca230c0e1511b929fb885735bfb8 | 1,659 | py | Python | stubs.min/Autodesk/Revit/DB/__init___parts/PlanTopology.py | denfromufa/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2017-07-07T11:15:45.000Z | 2017-07-07T11:15:45.000Z | stubs.min/Autodesk/Revit/DB/__init___parts/PlanTopology.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/Autodesk/Revit/DB/__init___parts/PlanTopology.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class PlanTopology(APIObject,IDisposable):
""" An object that represents a Plan Topology within the Autodesk Revit project. """
def Dispose(self):
""" Dispose(self: APIObject,A_0: bool) """
pass
def GetRoomIds(self):
"""
GetRoomIds(self: PlanTopology) -> ICollection[ElementId]
Retrieves room... | 32.529412 | 215 | 0.691983 | 195 | 1,659 | 5.579487 | 0.297436 | 0.082721 | 0.0625 | 0.05239 | 0.258272 | 0.258272 | 0.258272 | 0.258272 | 0.258272 | 0.258272 | 0 | 0.000732 | 0.176612 | 1,659 | 50 | 216 | 33.18 | 0.795754 | 0.43038 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0.388889 | 0 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
296178aaffcfaad3ff12a268e5491c848d9d9de2 | 1,006 | py | Python | pypad/active_skill/board_change_as.py | candyninja001/pypad | 82bfc104c2524ca54cc415d37d2c21fec471838f | [
"MIT"
] | null | null | null | pypad/active_skill/board_change_as.py | candyninja001/pypad | 82bfc104c2524ca54cc415d37d2c21fec471838f | [
"MIT"
] | null | null | null | pypad/active_skill/board_change_as.py | candyninja001/pypad | 82bfc104c2524ca54cc415d37d2c21fec471838f | [
"MIT"
] | null | null | null | from . import ActiveSkill
from .interfaces.orb_generator_asi import OrbGeneratorASI
from ..skill_loader import SkillLoader
from ..region import Region
from ..orb_attribute import OrbAttribute
from ..common import iterable_to_string
class BoardChangeAS(ActiveSkill, OrbGeneratorASI):
_handle_types = {71}
def pa... | 30.484848 | 91 | 0.715706 | 131 | 1,006 | 5.274809 | 0.412214 | 0.057887 | 0.043415 | 0.028944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003759 | 0.206759 | 1,006 | 33 | 92 | 30.484848 | 0.862155 | 0.042744 | 0 | 0 | 0 | 0 | 0.049948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.26087 | 0.130435 | 0.73913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
296437e0d0fa07dafad17c2b67c73bf1609a5b34 | 1,430 | py | Python | venv/Lib/site-packages/sqlalchemy/dialects/sybase/__init__.py | svercillo/flaskwebapi | 48e3417c25fc25166203cb88f959345f548a38bc | [
"Apache-2.0"
] | 2 | 2020-05-27T19:53:05.000Z | 2020-05-27T19:53:07.000Z | venv/Lib/site-packages/sqlalchemy/dialects/sybase/__init__.py | svercillo/flaskwebapi | 48e3417c25fc25166203cb88f959345f548a38bc | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/sqlalchemy/dialects/sybase/__init__.py | svercillo/flaskwebapi | 48e3417c25fc25166203cb88f959345f548a38bc | [
"Apache-2.0"
] | null | null | null | # sybase/__init__.py
# Copyright (C) 2005-2020 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
from . import base # noqa
from . import pyodbc # noqa
from . import py... | 21.029412 | 70 | 0.654545 | 177 | 1,430 | 5.242938 | 0.350282 | 0.206897 | 0.362069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.25035 | 1,430 | 67 | 71 | 21.343284 | 0.858209 | 0.179021 | 0 | 0 | 0 | 0 | 0.142336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.490909 | 0 | 0.490909 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
297cd27f7c2457446ad8647df3b2a88298b50bc1 | 113 | py | Python | Dataset/Leetcode/train/136/179.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/136/179.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/136/179.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | def singleNumber(self, nums: List[int]) -> int:
tmp = 0
for v in nums:
tmp ^= v
return tmp
| 16.142857 | 48 | 0.530973 | 17 | 113 | 3.529412 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.353982 | 113 | 6 | 49 | 18.833333 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
462152e36cecb8685834adf77df0b1fbe57535d4 | 539 | py | Python | ESTRUTURAS/NIVEL-1/1548/1548.py | Cluxnei/uri-online-judge-problems | 4e13d4125ef43ae2ddd726637d08488c8786900c | [
"MIT"
] | null | null | null | ESTRUTURAS/NIVEL-1/1548/1548.py | Cluxnei/uri-online-judge-problems | 4e13d4125ef43ae2ddd726637d08488c8786900c | [
"MIT"
] | null | null | null | ESTRUTURAS/NIVEL-1/1548/1548.py | Cluxnei/uri-online-judge-problems | 4e13d4125ef43ae2ddd726637d08488c8786900c | [
"MIT"
] | null | null | null | def bubbleSort(alist):
t = 0
for passnum in range(len(alist) - 1, 0, -1):
for i in range(passnum):
if alist[i] < alist[i + 1]:
temp = alist[i]
alist[i] = alist[i + 1]
alist[i + 1] = temp
elif alist[i] == alist[i + 1]:
... | 24.5 | 48 | 0.450835 | 77 | 539 | 3.155844 | 0.337662 | 0.197531 | 0.18107 | 0.197531 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033435 | 0.38961 | 539 | 21 | 49 | 25.666667 | 0.705167 | 0 | 0 | 0 | 0 | 0 | 0.001855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.105263 | 0 | 0 | 0.105263 | 0.052632 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
462d526b9895ad67970eef7f1ea80a4812f56f5a | 746 | py | Python | zdemo/dresponse/views.py | zzl-der/demo43 | c630ebb10ae442650223b1096f2d80f11dfe6486 | [
"MIT"
] | null | null | null | zdemo/dresponse/views.py | zzl-der/demo43 | c630ebb10ae442650223b1096f2d80f11dfe6486 | [
"MIT"
] | null | null | null | zdemo/dresponse/views.py | zzl-der/demo43 | c630ebb10ae442650223b1096f2d80f11dfe6486 | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
# Create your views here.
from django.views import View
from django.http import HttpResponse, JsonResponse
class ResponseView(View):
def get(self,request):
# 响应对象的属性
# response = HttpResponse()
# response.content = 'content'
#
... | 25.724138 | 86 | 0.58445 | 71 | 746 | 6.070423 | 0.549296 | 0.069606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005837 | 0.310992 | 746 | 29 | 87 | 25.724138 | 0.832685 | 0.457105 | 0 | 0 | 0 | 0 | 0.05168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
4653c35668bfd9295d1ca14ae54c23784139113e | 484 | py | Python | utils/test_tokenizer.py | CogComp/EventProcessTyping | 7f5c3a21ae82d7c9d5d4e82a3700acb89f087c07 | [
"MIT"
] | 8 | 2020-10-03T21:55:16.000Z | 2022-03-17T05:49:36.000Z | utils/test_tokenizer.py | CogComp/EventProcessTyping | 7f5c3a21ae82d7c9d5d4e82a3700acb89f087c07 | [
"MIT"
] | 1 | 2021-06-28T09:50:52.000Z | 2021-06-28T09:50:52.000Z | utils/test_tokenizer.py | CogComp/EventProcessTyping | 7f5c3a21ae82d7c9d5d4e82a3700acb89f087c07 | [
"MIT"
] | 4 | 2021-06-07T07:57:43.000Z | 2022-02-18T23:19:58.000Z | from transformers import BertTokenizer, BertModel, GPT2Model, BertForMultipleChoice
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
#model = BertModel.from_pretrained('bert-base-uncased', output_hidden_states=True)
#model.cuda()
print(tokenizer.encode('Minecraft is a sandbox video game developed ... | 53.777778 | 107 | 0.811983 | 59 | 484 | 6.491525 | 0.559322 | 0.109661 | 0.156658 | 0.164491 | 0.365535 | 0.214099 | 0.214099 | 0 | 0 | 0 | 0 | 0.002242 | 0.078512 | 484 | 9 | 108 | 53.777778 | 0.856502 | 0.192149 | 0 | 0 | 0 | 0 | 0.225131 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
4654a8759a3ef2eb7f329ab927916074b6a238c2 | 896 | py | Python | click/click-group.py | all3g/pieces | bc378fd22ddc700891fe7f34ab0d5b341141e434 | [
"CNRI-Python"
] | 34 | 2016-10-31T02:05:24.000Z | 2018-11-08T14:33:13.000Z | click/click-group.py | join-us/python-programming | bc378fd22ddc700891fe7f34ab0d5b341141e434 | [
"CNRI-Python"
] | 2 | 2017-05-11T03:00:31.000Z | 2017-11-01T23:37:37.000Z | click/click-group.py | join-us/python-programming | bc378fd22ddc700891fe7f34ab0d5b341141e434 | [
"CNRI-Python"
] | 21 | 2016-08-19T09:05:45.000Z | 2018-11-08T14:33:16.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
$ python click-group.py
Usage: click-group.py [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
dropdb
initdb
querydb
"""
# @cli.command() VS @click.command()
import click
@click.group()
def cli():
pass
@cli.command()
... | 16.290909 | 76 | 0.686384 | 124 | 896 | 4.870968 | 0.532258 | 0.049669 | 0.039735 | 0.076159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001361 | 0.179688 | 896 | 55 | 77 | 16.290909 | 0.820408 | 0.592634 | 0 | 0.117647 | 0 | 0 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | true | 0.058824 | 0.058824 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
46644b44c799bca9c772eebad160066ee0ab55de | 292 | py | Python | solvers/tests/file_io.py | omyllymaki/shifting-peaks | 0dd67662daac29ce1c2db257553c3355202a46f1 | [
"MIT"
] | null | null | null | solvers/tests/file_io.py | omyllymaki/shifting-peaks | 0dd67662daac29ce1c2db257553c3355202a46f1 | [
"MIT"
] | null | null | null | solvers/tests/file_io.py | omyllymaki/shifting-peaks | 0dd67662daac29ce1c2db257553c3355202a46f1 | [
"MIT"
] | null | null | null | import pickle
from typing import Any
def save_pickle_file(data: Any, file_path: str) -> None:
with open(file_path, "wb") as f:
pickle.dump(data, f)
def load_pickle_file(file_path: str) -> Any:
with open(file_path, "rb") as f:
data = pickle.load(f)
return data
| 20.857143 | 56 | 0.65411 | 48 | 292 | 3.8125 | 0.4375 | 0.174863 | 0.120219 | 0.174863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229452 | 292 | 13 | 57 | 22.461538 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
46680f65d3f9396f5cf05b4c47a55935a2b742cb | 555 | py | Python | sdk/core/azure-core/tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py | omziv/azure-sdk-for-python | 3fbb0f9e1f86acc4e0a8cb13b790dccf32e3860f | [
"MIT"
] | 1 | 2021-04-26T21:15:01.000Z | 2021-04-26T21:15:01.000Z | sdk/core/azure-core/tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py | omziv/azure-sdk-for-python | 3fbb0f9e1f86acc4e0a8cb13b790dccf32e3860f | [
"MIT"
] | 2 | 2021-08-24T15:32:30.000Z | 2021-08-24T23:21:34.000Z | sdk/core/azure-core/tests/testserver_tests/coretestserver/coretestserver/test_routes/helpers.py | omziv/azure-sdk-for-python | 3fbb0f9e1f86acc4e0a8cb13b790dccf32e3860f | [
"MIT"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE.txt in the project root for
# license information.
# -------------------------------------------------------------------------
def assert... | 42.692308 | 87 | 0.533333 | 52 | 555 | 5.384615 | 0.615385 | 0.139286 | 0.203571 | 0.257143 | 0.235714 | 0.235714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122523 | 555 | 12 | 88 | 46.25 | 0.574949 | 0.536937 | 0 | 0 | 0 | 0 | 0.211155 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
466ff86df3a0ce2a0fc14c548f790b6005152b93 | 145 | py | Python | ccdev/__main__.py | vecin2/em_automation | b65bc498cc7c366d06425e51aaf04b970d581050 | [
"MIT"
] | null | null | null | ccdev/__main__.py | vecin2/em_automation | b65bc498cc7c366d06425e51aaf04b970d581050 | [
"MIT"
] | 84 | 2018-09-15T21:36:23.000Z | 2021-12-13T19:49:57.000Z | ccdev/__main__.py | vecin2/em_automation | b65bc498cc7c366d06425e51aaf04b970d581050 | [
"MIT"
] | null | null | null | from ccdev.command_line_app import CommandLineSQLTaskApp
def main():
CommandLineSQLTaskApp().run()
if __name__ == "__main__":
main()
| 14.5 | 56 | 0.724138 | 15 | 145 | 6.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165517 | 145 | 9 | 57 | 16.111111 | 0.785124 | 0 | 0 | 0 | 0 | 0 | 0.055172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
46875e4f3aa5fac6bd7ea0cad7b65688c04dc0f3 | 681 | py | Python | docs/user_guide/operation/scripts/examples/argus/extraction/jan_microbone.py | ASUPychron/pychron | dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76 | [
"Apache-2.0"
] | 31 | 2016-03-07T02:38:17.000Z | 2022-02-14T18:23:43.000Z | docs/user_guide/operation/scripts/examples/argus/extraction/jan_microbone.py | ASUPychron/pychron | dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76 | [
"Apache-2.0"
] | 1,626 | 2015-01-07T04:52:35.000Z | 2022-03-25T19:15:59.000Z | docs/user_guide/operation/scripts/examples/argus/extraction/jan_microbone.py | UIllinoisHALPychron/pychron | f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc | [
"Apache-2.0"
] | 26 | 2015-05-23T00:10:06.000Z | 2022-03-07T16:51:57.000Z | '''
modifier: 01
eqtime: 12
'''
def main():
info('Jan microbone blank analysis')
if analysis_type=='blank':
info('is blank. not heating')
close(name="L", description="Microbone to Minibone")
close(name="A", description="CO2 Laser to Jan")
open(name="T", description="Mi... | 26.192308 | 65 | 0.602056 | 82 | 681 | 4.987805 | 0.512195 | 0.293399 | 0.322738 | 0.136919 | 0.146699 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025794 | 0.259912 | 681 | 25 | 66 | 27.24 | 0.785714 | 0.033774 | 0 | 0 | 0 | 0 | 0.331279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
46904a671d4588c99d23c2da0d18eda36e1ae6ee | 278 | py | Python | 7. Convolutional Neural Network/7-1)Convolution and pooling.py | choijiwoong/-ROKA-torch-tutorial-files | c298fdf911cd64757895c3ab9f71ae7c3467c545 | [
"Unlicense"
] | null | null | null | 7. Convolutional Neural Network/7-1)Convolution and pooling.py | choijiwoong/-ROKA-torch-tutorial-files | c298fdf911cd64757895c3ab9f71ae7c3467c545 | [
"Unlicense"
] | null | null | null | 7. Convolutional Neural Network/7-1)Convolution and pooling.py | choijiwoong/-ROKA-torch-tutorial-files | c298fdf911cd64757895c3ab9f71ae7c3467c545 | [
"Unlicense"
] | null | null | null | #Height, Weight, Channel
#Convolution operation: Step, feature map, stride
#padding
#convolution layer
#bias
#how to calculate the size of feature map(input size, kernal size, sitride)
#channel size of input data == channel size of kernal
#Pooling(max pooling, average pooling)
| 30.888889 | 75 | 0.780576 | 40 | 278 | 5.425 | 0.625 | 0.082949 | 0.119816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140288 | 278 | 8 | 76 | 34.75 | 0.90795 | 0.942446 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4698e61fa1f59b0ba46e3753d64daa3e350e7cc5 | 559 | py | Python | area/forms.py | Lenus254/NeighbourHood-App | 78e9ab01b67a410098b3173d8b392cfeede9731f | [
"MIT"
] | null | null | null | area/forms.py | Lenus254/NeighbourHood-App | 78e9ab01b67a410098b3173d8b392cfeede9731f | [
"MIT"
] | null | null | null | area/forms.py | Lenus254/NeighbourHood-App | 78e9ab01b67a410098b3173d8b392cfeede9731f | [
"MIT"
] | null | null | null | from django import forms
from django.contrib.auth.models import User
from .models import Profile, Posts, Business, Area
class EditProfileForm(forms.ModelForm):
class Meta:
model = Profile
exclude = ('user', 'location')
class AreaForm(forms.ModelForm):
class Meta:
model = Area
exclud... | 21.5 | 50 | 0.654741 | 63 | 559 | 5.793651 | 0.428571 | 0.153425 | 0.208219 | 0.252055 | 0.306849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 559 | 26 | 51 | 21.5 | 0.848837 | 0 | 0 | 0.210526 | 0 | 0 | 0.073214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
46a597c64db9419d913f985d5f1feb1f5a00f3e5 | 714 | py | Python | fem/utilities/table_data/configuration/_configuration.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | 1 | 2019-08-03T21:40:26.000Z | 2019-08-03T21:40:26.000Z | fem/utilities/table_data_widget/configuration/_configuration.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | fem/utilities/table_data_widget/configuration/_configuration.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | """
Project.x
Author: Michael Redmond
"""
from __future__ import print_function, absolute_import
from ..actions import Actions, Commands
from fem.utilities.command_dispatcher import CommandDispatcher
class Configuration(object):
def __init__(self):
self._dispatcher = CommandDispatcher()
Actio... | 23.8 | 71 | 0.732493 | 78 | 714 | 6.397436 | 0.410256 | 0.224449 | 0.08016 | 0.092184 | 0.152305 | 0.152305 | 0.152305 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 714 | 29 | 72 | 24.62069 | 0.848639 | 0.047619 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.2 | 0 | 0.533333 | 0.066667 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
46adaf616063cc2ac08030fda9cdf9a4f64dd0d4 | 54 | py | Python | week1.py | LC231/csws-week1 | 583d837063cf5b39e0798b4f628005a9c4bbef98 | [
"Apache-2.0"
] | null | null | null | week1.py | LC231/csws-week1 | 583d837063cf5b39e0798b4f628005a9c4bbef98 | [
"Apache-2.0"
] | null | null | null | week1.py | LC231/csws-week1 | 583d837063cf5b39e0798b4f628005a9c4bbef98 | [
"Apache-2.0"
] | null | null | null | for x in range(11):
print("hello world!" + str(x)) | 27 | 34 | 0.592593 | 10 | 54 | 3.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.203704 | 54 | 2 | 34 | 27 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d3bdb36ffc7007e2151b280e362caabe09a5ea6b | 78 | py | Python | NuO/nuoParser/__init__.py | akshitgrover/NuO | d8a67b44aa0985cdb2c29571b9cd6c2e649d4514 | [
"MIT"
] | null | null | null | NuO/nuoParser/__init__.py | akshitgrover/NuO | d8a67b44aa0985cdb2c29571b9cd6c2e649d4514 | [
"MIT"
] | 2 | 2018-11-10T21:51:02.000Z | 2021-03-25T22:17:23.000Z | NuO/nuoParser/__init__.py | akshitgrover/NuO | d8a67b44aa0985cdb2c29571b9cd6c2e649d4514 | [
"MIT"
] | null | null | null | __all__ = ["parse"]
def parse():
from . import parser
parser.start()
| 13 | 24 | 0.602564 | 9 | 78 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24359 | 78 | 5 | 25 | 15.6 | 0.728814 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d3c8c6adcf451384e287235e87c9daa38cadef15 | 11,875 | py | Python | applications/cpfecys/controllers/audit.py | SIMBitGt-Company/RepoRepo | b84c39d9643a0c5e51291d5e62e36b6080a7e622 | [
"BSD-3-Clause"
] | null | null | null | applications/cpfecys/controllers/audit.py | SIMBitGt-Company/RepoRepo | b84c39d9643a0c5e51291d5e62e36b6080a7e622 | [
"BSD-3-Clause"
] | null | null | null | applications/cpfecys/controllers/audit.py | SIMBitGt-Company/RepoRepo | b84c39d9643a0c5e51291d5e62e36b6080a7e622 | [
"BSD-3-Clause"
] | null | null | null | @auth.requires_login()
@auth.requires_membership('Super-Administrator')
def audit_academic():
db.academic_log.id_period.readable = False
db.academic_log.id_academic.readable = False
query = ((db.academic_log))
grid = SQLFORM.grid(query, exportclasses = None, orderby=db.academic_log.date_log... | 42.562724 | 271 | 0.700716 | 1,487 | 11,875 | 5.404842 | 0.089442 | 0.039691 | 0.054871 | 0.065323 | 0.787607 | 0.756003 | 0.716561 | 0.680105 | 0.606072 | 0.606072 | 0 | 0.004019 | 0.182821 | 11,875 | 279 | 272 | 42.562724 | 0.824196 | 0.094147 | 0 | 0.53202 | 0 | 0 | 0.107333 | 0.041834 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083744 | false | 0 | 0 | 0.009852 | 0.167488 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d3d93f9ea9521bfebb99413caf8de266a447d1e3 | 476 | py | Python | tests/test_packer.py | ColmMathews/mashpack | 0d5c05b5387feadfddc794734a4267849fa9a09b | [
"Apache-2.0"
] | 6 | 2018-01-17T03:06:38.000Z | 2018-01-23T03:02:59.000Z | tests/test_packer.py | ColmMathews/mashpack | 0d5c05b5387feadfddc794734a4267849fa9a09b | [
"Apache-2.0"
] | 16 | 2018-01-17T18:22:41.000Z | 2018-02-26T22:07:48.000Z | tests/test_packer.py | ColmMathews/mashpack | 0d5c05b5387feadfddc794734a4267849fa9a09b | [
"Apache-2.0"
] | 2 | 2019-09-01T21:59:13.000Z | 2022-02-08T00:35:33.000Z | import struct
from mashpack import ExtType
def test_pack_ext8(packer):
assert packer.pack(ExtType(127, b'\x00' * 0xFF)) == b'\xDB\xFF\x7F' + (b'\x00' * 0xFF)
def test_pack_ext16(packer):
assert packer.pack(ExtType(127, b'\x00' * 0x100)) == b'\xDC' + struct.pack('>H', 0x100) + b'\x7F' + (b'\x00' * 0x100)
d... | 31.733333 | 127 | 0.634454 | 74 | 476 | 4 | 0.351351 | 0.081081 | 0.111486 | 0.222973 | 0.364865 | 0.364865 | 0.364865 | 0.364865 | 0 | 0 | 0 | 0.151365 | 0.153361 | 476 | 14 | 128 | 34 | 0.583127 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0.092437 | 0 | 0.375 | 1 | 0.375 | false | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d3db7fbc45a4850123668e56f8c026059e18ca6b | 6,653 | py | Python | knosk/core/historymanager.py | mstyushin/knosk-core | 1d26f7c2f64ace8bed49a42eb1ed50f03ffb6dfe | [
"MIT"
] | 2 | 2019-10-04T13:34:57.000Z | 2019-10-20T10:09:54.000Z | knosk/core/historymanager.py | mstyushin/knosk-core | 1d26f7c2f64ace8bed49a42eb1ed50f03ffb6dfe | [
"MIT"
] | 4 | 2019-10-02T06:37:48.000Z | 2019-10-07T18:53:45.000Z | knosk/core/historymanager.py | mstyushin/knosk-core | 1d26f7c2f64ace8bed49a42eb1ed50f03ffb6dfe | [
"MIT"
] | 1 | 2019-10-04T13:35:04.000Z | 2019-10-04T13:35:04.000Z | import logging
import time
from knosk.core import DialogForm
LOG = logging.getLogger(__name__)
class History:
"""
History is list of History.Events which is automatically stores in dialog_context
Example:
Add history:
h = History(dialog.dialog_context)
...
... | 30.240909 | 112 | 0.576883 | 792 | 6,653 | 4.609848 | 0.159091 | 0.043824 | 0.041085 | 0.030677 | 0.350863 | 0.298548 | 0.196111 | 0.181594 | 0.117776 | 0.078335 | 0 | 0.002236 | 0.327822 | 6,653 | 219 | 113 | 30.378995 | 0.814177 | 0.147001 | 0 | 0.226087 | 0 | 0.008696 | 0.048443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269565 | false | 0 | 0.026087 | 0.104348 | 0.53913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d3dc5dfa4bca0d9c9b23552a4dc7a9c933f464dd | 1,565 | py | Python | spgateway/migrations/0003_auto_20180811_1809.py | cjltsod/django-spgateway | ba7a85394473254942417889f0a9f9fad0d43e3f | [
"MIT"
] | 2 | 2018-03-13T06:50:25.000Z | 2021-12-21T11:33:11.000Z | spgateway/migrations/0003_auto_20180811_1809.py | cjltsod/django-spgateway | ba7a85394473254942417889f0a9f9fad0d43e3f | [
"MIT"
] | 4 | 2018-03-13T08:38:45.000Z | 2018-08-11T19:54:45.000Z | spgateway/migrations/0003_auto_20180811_1809.py | cjltsod/django-spgateway | ba7a85394473254942417889f0a9f9fad0d43e3f | [
"MIT"
] | 1 | 2020-01-07T23:21:52.000Z | 2020-01-07T23:21:52.000Z | # Generated by Django 2.1 on 2018-08-11 18:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('spgateway', '0002_generate_slug_for_none'),
]
operations = [
migrations.AlterField(
model_name='spgatewaycustomerresponseinfo',
... | 31.938776 | 75 | 0.601278 | 125 | 1,565 | 7.384 | 0.4 | 0.151679 | 0.189599 | 0.219935 | 0.587216 | 0.550379 | 0.097508 | 0.097508 | 0 | 0 | 0 | 0.016202 | 0.290096 | 1,565 | 48 | 76 | 32.604167 | 0.814581 | 0.027476 | 0 | 0.547619 | 1 | 0 | 0.217763 | 0.15 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d3dfb4c807c6f74d3096baf201159cb63ad45236 | 95 | py | Python | test/tests/tuple_iteration.py | kevinxucs/pyston | bdb87c1706ac74a0d15d9bc2bae53798678a5f14 | [
"Apache-2.0"
] | 1 | 2020-02-06T14:28:45.000Z | 2020-02-06T14:28:45.000Z | test/tests/tuple_iteration.py | kevinxucs/pyston | bdb87c1706ac74a0d15d9bc2bae53798678a5f14 | [
"Apache-2.0"
] | null | null | null | test/tests/tuple_iteration.py | kevinxucs/pyston | bdb87c1706ac74a0d15d9bc2bae53798678a5f14 | [
"Apache-2.0"
] | 1 | 2020-02-06T14:29:00.000Z | 2020-02-06T14:29:00.000Z | d = {}
for i in xrange(1000):
d[i] = i ** 2
for k, v in sorted(d.items()):
print k, v
| 13.571429 | 30 | 0.494737 | 20 | 95 | 2.35 | 0.6 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 0.305263 | 95 | 6 | 31 | 15.833333 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d3e9d3b22240b902a2300ae77209f461fbaa2e0c | 1,396 | py | Python | pyplist/XMLParser.py | onescr1pt/plists | d9a7dd851fedb38e7356885ca4dd7839b7695ec2 | [
"Apache-2.0",
"MIT"
] | null | null | null | pyplist/XMLParser.py | onescr1pt/plists | d9a7dd851fedb38e7356885ca4dd7839b7695ec2 | [
"Apache-2.0",
"MIT"
] | null | null | null | pyplist/XMLParser.py | onescr1pt/plists | d9a7dd851fedb38e7356885ca4dd7839b7695ec2 | [
"Apache-2.0",
"MIT"
] | null | null | null | import xml.etree.ElementTree as ET
def parserFor(node):
return {
'plist': parsePlistNode,
'true': parseBooleanNode,
'key': parseStringNode,
'string': parseStringNode,
'integer': parseIntegerNode,
'false': parseBooleanNode,
'array': parseListNode,
'di... | 21.8125 | 83 | 0.665473 | 166 | 1,396 | 5.536145 | 0.433735 | 0.065288 | 0.07617 | 0.062024 | 0.067465 | 0.067465 | 0 | 0 | 0 | 0 | 0 | 0.003731 | 0.232092 | 1,396 | 63 | 84 | 22.15873 | 0.853545 | 0.154728 | 0 | 0 | 0 | 0 | 0.037326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.027778 | 0.222222 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d3f3f22c9d531cd52d700d3abdaf84b32810c42a | 325 | py | Python | tests/helpers/test__init__.py | dadaloop82/viseron | 1c6c446a4856e16c0e2ed6b9323d169fbdcae20f | [
"MIT"
] | 399 | 2020-08-31T21:13:07.000Z | 2022-03-31T18:54:26.000Z | tests/helpers/test__init__.py | dadaloop82/viseron | 1c6c446a4856e16c0e2ed6b9323d169fbdcae20f | [
"MIT"
] | 157 | 2020-09-01T18:59:56.000Z | 2022-03-25T07:14:19.000Z | tests/helpers/test__init__.py | dadaloop82/viseron | 1c6c446a4856e16c0e2ed6b9323d169fbdcae20f | [
"MIT"
] | 53 | 2020-09-01T07:35:59.000Z | 2022-03-28T23:21:16.000Z | """Tests for helper module."""
import numpy as np
from viseron.helpers import generate_mask
from tests.const import MASK_ARRAY, MASK_COORDINATES
def test_generate_mask():
"""Test that mask is generated properly."""
np.testing.assert_array_equal(
generate_mask(MASK_COORDINATES),
MASK_ARRAY,
... | 21.666667 | 52 | 0.726154 | 43 | 325 | 5.255814 | 0.581395 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187692 | 325 | 14 | 53 | 23.214286 | 0.856061 | 0.190769 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | true | 0 | 0.375 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
310f820e2ed8289ae5206dda3c54f76f06bace94 | 662 | py | Python | home/admin.py | ariyanstechies/Hairways | aa95fde6f7d6cb9ec94f9171156035ce317a1668 | [
"MIT"
] | 2 | 2019-01-22T13:48:08.000Z | 2019-07-28T21:09:33.000Z | home/admin.py | ariyanstechies/Hairways | aa95fde6f7d6cb9ec94f9171156035ce317a1668 | [
"MIT"
] | 90 | 2019-01-21T20:58:22.000Z | 2021-09-22T17:47:24.000Z | home/admin.py | Symonss/first_programe | aa95fde6f7d6cb9ec94f9171156035ce317a1668 | [
"MIT"
] | 2 | 2019-02-13T16:50:50.000Z | 2020-03-02T12:57:05.000Z | from django.contrib import admin
from home.models import Vendor, Review, Service, AppointmentPayment, Package, MpesaTransaction, PackageDetail
from home.models import Appointment, Salon, Product, Gallery, Customer, User, Location
admin.site.register(Vendor)
admin.site.register(Review)
admin.site.register(Service)
admi... | 34.842105 | 109 | 0.833837 | 83 | 662 | 6.650602 | 0.277108 | 0.228261 | 0.431159 | 0.072464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058912 | 662 | 18 | 110 | 36.777778 | 0.886035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.176471 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
31194fdfdf6870562ce4e0a8099b2acf33a46e6a | 808 | py | Python | Data_Generator_Tool/Generator/AddressDetails.py | Jag46/IBM_Test_Data_generator_tool | ef14a8dc9bf1bc8dd5c3de5cb7f0fe2634906168 | [
"Apache-2.0"
] | null | null | null | Data_Generator_Tool/Generator/AddressDetails.py | Jag46/IBM_Test_Data_generator_tool | ef14a8dc9bf1bc8dd5c3de5cb7f0fe2634906168 | [
"Apache-2.0"
] | null | null | null | Data_Generator_Tool/Generator/AddressDetails.py | Jag46/IBM_Test_Data_generator_tool | ef14a8dc9bf1bc8dd5c3de5cb7f0fe2634906168 | [
"Apache-2.0"
] | null | null | null | from faker import Faker
from barnum import gen_data
global obj
obj = Faker()
def get_dateofbirth():
return gen_data.create_birthday(min_age=18, max_age=75)
def get_building_number():
return obj.building_number()
def get_city():
return obj.city()
def get_state():
return obj.state()
def get_country(... | 17.191489 | 59 | 0.725248 | 116 | 808 | 4.775862 | 0.310345 | 0.140794 | 0.054152 | 0.068592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007418 | 0.165842 | 808 | 46 | 60 | 17.565217 | 0.81454 | 0 | 0 | 0 | 0 | 0 | 0.008685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.433333 | false | 0 | 0.066667 | 0.433333 | 0.933333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
311edd3ed21f4b8044fc6344ca632b2a74d4936d | 269 | py | Python | pages/themes/beginners/unicodeTopics/examples/ord_and_chr.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/unicodeTopics/examples/ord_and_chr.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/unicodeTopics/examples/ord_and_chr.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | print("The code point of symbol И = ",ord('И') )
# 1048
print("The symbol, represented by code point 1048 = ", chr(1048) )
# print("Symbols, represented by code points 9745 - 9750")
# for i in range(9745, 9751):
# print( chr(i), end=" " )
# U+0488
print("\u0418") | 22.416667 | 66 | 0.63197 | 42 | 269 | 4.047619 | 0.595238 | 0.094118 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 0.189591 | 269 | 12 | 67 | 22.416667 | 0.614679 | 0.457249 | 0 | 0 | 0 | 0 | 0.574468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3145637b1e0138f26bf25a6317d5764f5783ff6e | 264 | py | Python | pokeai/ai/rl_policy_observation.py | qhapaq-49/pokeai | 43bf95eb65af6c47aab82802064b95b482a9c642 | [
"MIT"
] | 18 | 2017-12-25T03:52:42.000Z | 2021-09-12T15:52:28.000Z | pokeai/ai/rl_policy_observation.py | qhapaq-49/pokeai | 43bf95eb65af6c47aab82802064b95b482a9c642 | [
"MIT"
] | 17 | 2019-11-03T10:47:40.000Z | 2022-02-13T20:42:05.000Z | pokeai/ai/rl_policy_observation.py | qhapaq-49/pokeai | 43bf95eb65af6c47aab82802064b95b482a9c642 | [
"MIT"
] | 4 | 2018-12-11T00:37:44.000Z | 2021-10-31T22:49:16.000Z | from typing import NamedTuple, List
from pokeai.ai.battle_status import BattleStatus
from pokeai.ai.common import PossibleAction
class RLPolicyObservation(NamedTuple):
battle_status: BattleStatus
request: dict
possible_actions: List[PossibleAction]
| 24 | 48 | 0.814394 | 30 | 264 | 7.066667 | 0.6 | 0.09434 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 264 | 10 | 49 | 26.4 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
314660ed569386ea072a2b9443cc0f7cb19d888e | 229 | py | Python | app/influencer/serializers/influencer_serializer.py | TennaGraph/TennaGraph | 002998d94300ee67168f1a8164c0e6bc86836e1f | [
"Apache-2.0"
] | 7 | 2018-11-13T17:39:15.000Z | 2019-03-27T04:55:24.000Z | app/influencer/serializers/influencer_serializer.py | TennaGraph/TennaGraph | 002998d94300ee67168f1a8164c0e6bc86836e1f | [
"Apache-2.0"
] | 72 | 2018-11-09T14:20:25.000Z | 2020-06-05T19:28:19.000Z | app/influencer/serializers/influencer_serializer.py | TennaGraph/TennaGraph | 002998d94300ee67168f1a8164c0e6bc86836e1f | [
"Apache-2.0"
] | 3 | 2018-11-19T19:10:39.000Z | 2019-08-23T20:52:23.000Z | # Pip imports
from rest_framework import serializers
# App imports
from ..models import Influencer
class InfluencerSerializer(serializers.ModelSerializer):
class Meta:
model = Influencer
fields = "__all__" | 19.083333 | 56 | 0.737991 | 23 | 229 | 7.130435 | 0.73913 | 0.134146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20524 | 229 | 12 | 57 | 19.083333 | 0.901099 | 0.100437 | 0 | 0 | 0 | 0 | 0.034314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
315eb6d48ea7a4815df26feb5c07c4d41a3298a9 | 1,512 | py | Python | python/com/nfs/entity/StockLtgScore.py | nfsli926/stock | aea312bbee2a48043800d45af8d7e14c99f566c5 | [
"Apache-2.0"
] | 1 | 2015-10-25T05:37:00.000Z | 2015-10-25T05:37:00.000Z | python/com/nfs/entity/StockLtgScore.py | nfsli926/stock | aea312bbee2a48043800d45af8d7e14c99f566c5 | [
"Apache-2.0"
] | null | null | null | python/com/nfs/entity/StockLtgScore.py | nfsli926/stock | aea312bbee2a48043800d45af8d7e14c99f566c5 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
__author__ = 'litao'
class stockltgscore(object):
#股票代码
code = ''
#统计时间
scoredate = ''
#价格因子
priceitem = 0
#流通盘因子
ltpitem = 0.0
#业绩因子
yjitem = 0.0
#净资产因子
jzcitem = 0.0
#总股本因子
zgbitem = 0.0
#得分
score = 0.0
#所属行业
sshy = ''
#流通盘分类
... | 21.295775 | 37 | 0.595899 | 170 | 1,512 | 5.276471 | 0.311765 | 0.111483 | 0.156076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.309524 | 1,512 | 70 | 38 | 21.6 | 0.847701 | 0.042328 | 0 | 0 | 0 | 0 | 0.003492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.192308 | 0.788462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
316030b291d3816a960876fc3df215d445198488 | 726 | py | Python | create_lesson_plan/management/commands/old_scrapers/washu_scrape_multi.py | rishabhranawat/CrowdPlatform | 1de2ad7e70fbf6cbf2e29bc9368341134b4f7e0d | [
"MIT"
] | 1 | 2020-07-23T21:35:40.000Z | 2020-07-23T21:35:40.000Z | create_lesson_plan/management/commands/old_scrapers/washu_scrape_multi.py | rishabhranawat/CrowdPlatform | 1de2ad7e70fbf6cbf2e29bc9368341134b4f7e0d | [
"MIT"
] | 9 | 2021-02-08T20:32:35.000Z | 2022-03-02T14:58:07.000Z | create_lesson_plan/management/commands/old_scrapers/washu_scrape_multi.py | rishabhranawat/CrowdPlatform | 1de2ad7e70fbf6cbf2e29bc9368341134b4f7e0d | [
"MIT"
] | null | null | null | from multiprocessing import Pool
import requests
from bs4 import BeautifulSoup
import re
import urlparse
import json
import time
from scraper_utils import get_fro_links
from functools import partial
# Getting all link_to_addnks from washu_index
def get_all_course_pages():
all_course_pages = []
with open("wash_link... | 24.2 | 52 | 0.782369 | 121 | 726 | 4.38843 | 0.413223 | 0.152542 | 0.237288 | 0.06403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003226 | 0.146006 | 726 | 29 | 53 | 25.034483 | 0.853226 | 0.059229 | 0 | 0 | 0 | 0 | 0.022026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.36 | 0 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
31612850fd4a3801703349e66094c3e80f29f5b4 | 53 | py | Python | PythonTeste/aula06b.py | adaatii/Python-Curso-em-Video- | 30b37713b3685469558babb93b557b53210f010c | [
"MIT"
] | null | null | null | PythonTeste/aula06b.py | adaatii/Python-Curso-em-Video- | 30b37713b3685469558babb93b557b53210f010c | [
"MIT"
] | null | null | null | PythonTeste/aula06b.py | adaatii/Python-Curso-em-Video- | 30b37713b3685469558babb93b557b53210f010c | [
"MIT"
] | null | null | null | n = float(input('Digite um valor: '))
print(type(n))
| 17.666667 | 37 | 0.641509 | 9 | 53 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 2 | 38 | 26.5 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
31ea6048259e69c91a13deb633d04aee78f3cc81 | 662 | py | Python | arctic_updater/library.py | femtotrader/arctic-updater | dbaf8940605edeec8e5bf7ea56da7ded1de4637a | [
"0BSD"
] | 1 | 2019-02-28T09:42:36.000Z | 2019-02-28T09:42:36.000Z | arctic_updater/library.py | femtotrader/arctic-updater | dbaf8940605edeec8e5bf7ea56da7ded1de4637a | [
"0BSD"
] | null | null | null | arctic_updater/library.py | femtotrader/arctic-updater | dbaf8940605edeec8e5bf7ea56da7ded1de4637a | [
"0BSD"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
import logging
logger = logging.getLogger(__name__)
def idx_min(library, symbol):
return library.read(symbol).metadata['start']
def idx_max(library, symbol):
return library.read(symbol).metadata['... | 24.518519 | 94 | 0.687311 | 89 | 662 | 4.88764 | 0.449438 | 0.027586 | 0.034483 | 0.036782 | 0.448276 | 0.393103 | 0.377011 | 0 | 0 | 0 | 0 | 0.001815 | 0.167674 | 662 | 26 | 95 | 25.461538 | 0.787659 | 0.063444 | 0 | 0 | 0 | 0 | 0.069579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.125 | 0.5625 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.