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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
94553888d69c9264fdada0c0363badbaf30c59ca | 304 | py | Python | textattack/metrics/attack_metrics/__init__.py | srujanjoshi/TextAttack | b86d0f840b6f13b1eb8d0f17b3fceeeca62b08ed | [
"MIT"
] | null | null | null | textattack/metrics/attack_metrics/__init__.py | srujanjoshi/TextAttack | b86d0f840b6f13b1eb8d0f17b3fceeeca62b08ed | [
"MIT"
] | null | null | null | textattack/metrics/attack_metrics/__init__.py | srujanjoshi/TextAttack | b86d0f840b6f13b1eb8d0f17b3fceeeca62b08ed | [
"MIT"
] | 1 | 2022-03-06T22:41:03.000Z | 2022-03-06T22:41:03.000Z | """
attack_metrics package:
---------------------------------------------------------------------
TextAttack provide users common metrics on attacks' quality.
"""
from .attack_queries import AttackQueries
from .attack_success_rate import AttackSuccessRate
from .words_perturbed import WordsPerturbed
| 23.384615 | 69 | 0.638158 | 27 | 304 | 7 | 0.740741 | 0.10582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095395 | 304 | 12 | 70 | 25.333333 | 0.687273 | 0.509868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
945a573532de5f16c4b4354385719ebffdfdc80b | 242 | py | Python | UltimateTicTacToe/Bot.py | m3rik/nn | 96d630cbb9894957d17ca8291900ff3802a30637 | [
"Apache-2.0"
] | null | null | null | UltimateTicTacToe/Bot.py | m3rik/nn | 96d630cbb9894957d17ca8291900ff3802a30637 | [
"Apache-2.0"
] | null | null | null | UltimateTicTacToe/Bot.py | m3rik/nn | 96d630cbb9894957d17ca8291900ff3802a30637 | [
"Apache-2.0"
] | null | null | null | class Bot:
'''
state - state of the game
returns a move
'''
def move(self, state, symbol):
raise NotImplementedError('Abstractaaa')
def get_name(self):
raise NotImplementedError('Abstractaaa')
| 22 | 48 | 0.603306 | 25 | 242 | 5.8 | 0.68 | 0.331034 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297521 | 242 | 10 | 49 | 24.2 | 0.852941 | 0.165289 | 0 | 0.4 | 0 | 0 | 0.126437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9465d06fb72f797af7607ca889bd481b18264799 | 91 | py | Python | working-library/background/LoginAPI/apps.py | FredCof/Fresh-supermarket-Online | 25c1cb28f5b5dc1f85e53ee7de5b055de438c491 | [
"Apache-2.0"
] | 2 | 2021-03-12T16:35:27.000Z | 2021-03-12T16:35:34.000Z | working-library/background/LoginAPI/apps.py | FredCof/Fresh-supermarket-Online | 25c1cb28f5b5dc1f85e53ee7de5b055de438c491 | [
"Apache-2.0"
] | 4 | 2021-03-19T13:16:08.000Z | 2021-06-09T19:26:37.000Z | working-library/background/LoginAPI/apps.py | FredCof/Fresh-supermarket-Online | 25c1cb28f5b5dc1f85e53ee7de5b055de438c491 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class LoginapiConfig(AppConfig):
name = 'LoginAPI'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
947828473b636b1609d039fe780a63c63434f7d9 | 213 | py | Python | oozappa/_structure/_environment/fabfile/__init__.py | tsuyukimakoto/oozappa | 51a8fad38a1ad34514853d0223619c6ec667c213 | [
"MIT"
] | 8 | 2015-05-10T21:59:30.000Z | 2017-11-24T03:49:12.000Z | oozappa/_structure/_environment/fabfile/__init__.py | frkwy/oozappa | 92a631d26573ac53b3f2f852ab391a22561189e1 | [
"MIT"
] | 12 | 2015-01-25T13:43:35.000Z | 2018-11-01T17:37:26.000Z | oozappa/_structure/_environment/fabfile/__init__.py | frkwy/oozappa | 92a631d26573ac53b3f2f852ab391a22561189e1 | [
"MIT"
] | 4 | 2015-10-03T08:43:11.000Z | 2017-12-15T08:57:23.000Z | # -*- coding:utf8 -*-
from fabric.api import task, local, run, sudo, env
from oozappa.config import get_config, procure_common_functions
_settings = get_config()
procure_common_functions()
# your own task below
| 23.666667 | 63 | 0.769953 | 30 | 213 | 5.233333 | 0.7 | 0.11465 | 0.203822 | 0.280255 | 0.394904 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0.131455 | 213 | 8 | 64 | 26.625 | 0.843243 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
947e3f8031704f990091dfcbbbcfe194d5d16baa | 204 | py | Python | build/lib/mezzanine_smartling/urls.py | Appdynamics/mezzanine-smartling | 76ca1dd929ff79e6c766eb46237edc6ab6d38a46 | [
"Apache-2.0"
] | 3 | 2015-10-09T01:12:27.000Z | 2015-10-10T09:41:56.000Z | build/lib/mezzanine_smartling/urls.py | Appdynamics/mezzanine-smartling | 76ca1dd929ff79e6c766eb46237edc6ab6d38a46 | [
"Apache-2.0"
] | null | null | null | build/lib/mezzanine_smartling/urls.py | Appdynamics/mezzanine-smartling | 76ca1dd929ff79e6c766eb46237edc6ab6d38a46 | [
"Apache-2.0"
] | 2 | 2018-10-14T10:32:00.000Z | 2019-08-22T06:07:28.000Z | from django.conf.urls import include, url
from django.contrib import admin
urlpatterns = [
url(r'^smartling_callback/$', 'mezzanine_smartling.views.smartling_callback', name='smartling_callback'),
]
| 29.142857 | 109 | 0.779412 | 25 | 204 | 6.2 | 0.64 | 0.329032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 204 | 6 | 110 | 34 | 0.846995 | 0 | 0 | 0 | 0 | 0 | 0.406863 | 0.318627 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
846c3ddd8708d943b4bedd8aee1bf379f7ad60ea | 5,805 | py | Python | ee569/hw5/model.py | chenying-wang/usc-ee-coursework-public | 5bc94c2350bcebf1036fb058fe7dc4f7e31e1de1 | [
"MIT"
] | 1 | 2021-03-24T10:46:20.000Z | 2021-03-24T10:46:20.000Z | ee569/hw5/model.py | chenying-wang/usc-ee-coursework-public | 5bc94c2350bcebf1036fb058fe7dc4f7e31e1de1 | [
"MIT"
] | null | null | null | ee569/hw5/model.py | chenying-wang/usc-ee-coursework-public | 5bc94c2350bcebf1036fb058fe7dc4f7e31e1de1 | [
"MIT"
] | 1 | 2021-03-25T09:18:45.000Z | 2021-03-25T09:18:45.000Z | # Name: Chenying Wang
# Email: chenying.wang@usc.edu
# USC ID: ****-****-**
# Date: Friday, April 3, 2020
import tensorflow as tf
import argparse
import config
class BaseModel:
def __init__(self, inputs_shape, lr_rate = config.SGD_LEARNING_RATE, lr_decay_steps = config.SGD_LEARNING_RATE_DECAY_STEPS, \
l... | 50.043103 | 129 | 0.641171 | 809 | 5,805 | 4.349815 | 0.143387 | 0.059676 | 0.081273 | 0.053708 | 0.777778 | 0.741972 | 0.741972 | 0.722648 | 0.650753 | 0.650753 | 0 | 0.026655 | 0.224462 | 5,805 | 115 | 130 | 50.478261 | 0.754998 | 0.01671 | 0 | 0.531915 | 0 | 0 | 0.052078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095745 | false | 0 | 0.031915 | 0 | 0.180851 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
84726d6d0823305456f2e6b568610386b66386bb | 157 | py | Python | turf/invariant/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 11 | 2020-08-26T11:04:55.000Z | 2022-01-26T14:53:10.000Z | turf/invariant/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 36 | 2020-04-09T16:49:05.000Z | 2020-06-01T14:39:37.000Z | turf/invariant/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 5 | 2020-07-30T23:37:35.000Z | 2021-08-24T08:10:28.000Z | from turf.invariant._invariant import (
get_coords_from_features,
get_coords_from_geometry,
get_geometry_from_features,
get_geometry_type,
)
| 22.428571 | 39 | 0.789809 | 20 | 157 | 5.6 | 0.45 | 0.160714 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159236 | 157 | 6 | 40 | 26.166667 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
84cc4726f31db3c5dc0daf118ad72e6245b1f377 | 226 | py | Python | usersmanagement/apps.py | Open-CMMS/openCMMS_backend | 56511ebac83a5dc1fb8768a98bc675e88530a447 | [
"BSD-3-Clause"
] | 3 | 2021-03-08T19:14:38.000Z | 2022-02-01T17:57:31.000Z | usersmanagement/apps.py | Open-CMMS/openCMMS_backend | 56511ebac83a5dc1fb8768a98bc675e88530a447 | [
"BSD-3-Clause"
] | null | null | null | usersmanagement/apps.py | Open-CMMS/openCMMS_backend | 56511ebac83a5dc1fb8768a98bc675e88530a447 | [
"BSD-3-Clause"
] | null | null | null | """This file is to register usermanagement as a django app."""
from django.apps import AppConfig
class UsersmanagementConfig(AppConfig):
"""This is the declaration of usermanagement app."""
name = 'usersmanagement'
| 25.111111 | 62 | 0.743363 | 27 | 226 | 6.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163717 | 226 | 8 | 63 | 28.25 | 0.888889 | 0.455752 | 0 | 0 | 0 | 0 | 0.133929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
84daace86eeabe1ca23f2b46ff081b8bf2a65fe7 | 226 | py | Python | test.py | amirrr/django-legislation-polling | a833d4bb535ffeffadbc2ad1ef9bc6bcedb15703 | [
"MIT"
] | null | null | null | test.py | amirrr/django-legislation-polling | a833d4bb535ffeffadbc2ad1ef9bc6bcedb15703 | [
"MIT"
] | null | null | null | test.py | amirrr/django-legislation-polling | a833d4bb535ffeffadbc2ad1ef9bc6bcedb15703 | [
"MIT"
] | null | null | null | import os
from random import randint
def generate_verification_code():
n = 6
return ''.join(["{}".format(randint(0, 9)) for num in range(0, n)])
if __name__ == "__main__":
print(generate_verification_code()) | 16.142857 | 71 | 0.668142 | 31 | 226 | 4.483871 | 0.774194 | 0.28777 | 0.345324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.185841 | 226 | 14 | 72 | 16.142857 | 0.733696 | 0 | 0 | 0 | 1 | 0 | 0.044053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
84fe552ef6ab8a2e3de385d96a5875aebfb4a2fb | 773 | py | Python | relationship/serializers.py | Chren/FakeWechatServer | d6a94302ee242d01f74b59b17528e77d397e6e92 | [
"MIT"
] | 4 | 2016-11-15T16:42:51.000Z | 2018-10-20T06:14:22.000Z | relationship/serializers.py | Chren/FakeWechatServer | d6a94302ee242d01f74b59b17528e77d397e6e92 | [
"MIT"
] | null | null | null | relationship/serializers.py | Chren/FakeWechatServer | d6a94302ee242d01f74b59b17528e77d397e6e92 | [
"MIT"
] | 2 | 2016-12-05T10:04:48.000Z | 2018-11-06T14:15:27.000Z | from rest_framework import serializers
from relationship.models import IMUser, FriendShip
from django.contrib.auth.models import User
from rest_framework.fields import Field
class IMUserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = IMUser
fields = ('userid', 'phone', 'name... | 35.136364 | 66 | 0.655886 | 70 | 773 | 7.214286 | 0.414286 | 0.219802 | 0.249505 | 0.273267 | 0.570297 | 0.570297 | 0.570297 | 0.570297 | 0.570297 | 0.570297 | 0 | 0 | 0.231565 | 773 | 22 | 67 | 35.136364 | 0.850168 | 0 | 0 | 0.578947 | 0 | 0 | 0.127907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.210526 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ca0d0c7baed43d68b540d99be74bffd5943fcf93 | 899 | py | Python | api/serializers.py | crypticleopard/IIPEDIA | 33717ccd2ff0f809dcb1953880769f423f64474c | [
"MIT"
] | 1 | 2021-05-01T19:20:32.000Z | 2021-05-01T19:20:32.000Z | api/serializers.py | crypticleopard/IIPEDIA | 33717ccd2ff0f809dcb1953880769f423f64474c | [
"MIT"
] | null | null | null | api/serializers.py | crypticleopard/IIPEDIA | 33717ccd2ff0f809dcb1953880769f423f64474c | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Book,Review,Community
from django.contrib.auth.models import User
class BookSerializer(serializers.ModelSerializer):
class Meta:
model=Book
fields=('__all__')
class CreateReviewSerializer(serializers.ModelSerializer):
class Meta:
... | 27.242424 | 71 | 0.714127 | 84 | 899 | 7.464286 | 0.380952 | 0.248804 | 0.296651 | 0.334928 | 0.4689 | 0.341308 | 0.341308 | 0 | 0 | 0 | 0 | 0 | 0.192436 | 899 | 33 | 72 | 27.242424 | 0.863636 | 0 | 0 | 0.555556 | 0 | 0 | 0.076667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.037037 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ca1033f1e9db5a5cd3212551dbe84e331887865e | 21 | py | Python | models/unet/EfficientNet_PyTorch/tf_to_pytorch/convert_tf_to_pt/original_tf/__init__.py | harsimarsingh/fastmrimine | 77c79a4ce83f63537eb775fa1eb40feb699338ef | [
"MIT"
] | null | null | null | models/unet/EfficientNet_PyTorch/tf_to_pytorch/convert_tf_to_pt/original_tf/__init__.py | harsimarsingh/fastmrimine | 77c79a4ce83f63537eb775fa1eb40feb699338ef | [
"MIT"
] | null | null | null | models/unet/EfficientNet_PyTorch/tf_to_pytorch/convert_tf_to_pt/original_tf/__init__.py | harsimarsingh/fastmrimine | 77c79a4ce83f63537eb775fa1eb40feb699338ef | [
"MIT"
] | null | null | null | """ dummy comment """ | 21 | 21 | 0.571429 | 2 | 21 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.666667 | 0.619048 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ca10989707ee0ad9838a9b59928a0d604e96d599 | 210 | py | Python | pitanja/views.py | denza/django-playground | a2eea580f4322973c51a0ea816b59513cd558b6c | [
"MIT"
] | 1 | 2021-08-14T13:47:01.000Z | 2021-08-14T13:47:01.000Z | pitanja/views.py | denza/django-playground | a2eea580f4322973c51a0ea816b59513cd558b6c | [
"MIT"
] | null | null | null | pitanja/views.py | denza/django-playground | a2eea580f4322973c51a0ea816b59513cd558b6c | [
"MIT"
] | null | null | null | from django.shortcuts import render
from .models import Osoba
def poosobama(request):
svao = Osoba.objects.all()
return render(request, "pitanja/index.html", {'svao' : svao})
# Create your views here.
| 26.25 | 65 | 0.72381 | 28 | 210 | 5.428571 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 210 | 7 | 66 | 30 | 0.858757 | 0.109524 | 0 | 0 | 0 | 0 | 0.118919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ca223d5a1fb6bd31c31c21778e08ed2f82f8434a | 28 | py | Python | samples/sample_tap_countries/__init__.py | meltano/sdk | 83dde4fe922f9f91bd3c57277849a2a2daa8f09a | [
"Apache-2.0"
] | 13 | 2021-06-21T17:30:32.000Z | 2021-12-06T18:45:34.000Z | samples/sample_tap_countries/__init__.py | meltano/sdk | 83dde4fe922f9f91bd3c57277849a2a2daa8f09a | [
"Apache-2.0"
] | null | null | null | samples/sample_tap_countries/__init__.py | meltano/sdk | 83dde4fe922f9f91bd3c57277849a2a2daa8f09a | [
"Apache-2.0"
] | null | null | null | """Countries API Sample."""
| 14 | 27 | 0.642857 | 3 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.72 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ca3ebc3ca74aba2e3008523848d23c4e2047c22c | 219 | py | Python | src/ui/components/__init__.py | Amin-egn/Recipient | 51e98ef9e679b3f32db7ab2eb07f0a905f0dac24 | [
"Apache-2.0"
] | null | null | null | src/ui/components/__init__.py | Amin-egn/Recipient | 51e98ef9e679b3f32db7ab2eb07f0a905f0dac24 | [
"Apache-2.0"
] | null | null | null | src/ui/components/__init__.py | Amin-egn/Recipient | 51e98ef9e679b3f32db7ab2eb07f0a905f0dac24 | [
"Apache-2.0"
] | null | null | null | from .base_widget import BaseWidget
from .base_dialog import BaseDialog
from .table import Table
from .message import Message
from .confirm import Confirm
from .progress import Progress
from .table_list import TableList | 31.285714 | 35 | 0.844749 | 31 | 219 | 5.870968 | 0.419355 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 219 | 7 | 36 | 31.285714 | 0.947917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ca40afa4d6bc3235c2086ba1bb9afb63b3dc6090 | 250 | py | Python | api/serializers/subscribers.py | lucasmgana/Pharmacy-Light-weight | 9d6efe714d60b3a04f78f174e1e6c2a2ab98bd9a | [
"MIT"
] | 192 | 2020-08-14T22:17:34.000Z | 2022-03-29T05:56:26.000Z | api/serializers/subscribers.py | lucasmgana/Pharmacy-Light-weight | 9d6efe714d60b3a04f78f174e1e6c2a2ab98bd9a | [
"MIT"
] | 9 | 2021-03-30T14:29:00.000Z | 2022-02-27T11:06:35.000Z | api/serializers/subscribers.py | lucasmgana/Pharmacy-Light-weight | 9d6efe714d60b3a04f78f174e1e6c2a2ab98bd9a | [
"MIT"
] | 28 | 2020-08-15T08:26:34.000Z | 2022-03-17T01:15:52.000Z | from rest_framework import serializers
from backend.models.subscribers import Subscriber
class SubscribersSerializer(serializers.ModelSerializer):
class Meta:
model = Subscriber
fields = ('name', 'contact_method', 'contact_info') | 35.714286 | 59 | 0.764 | 25 | 250 | 7.52 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 250 | 7 | 59 | 35.714286 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0.119522 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ca5b8b888005945b1aadc7c15ef8633a6f76980a | 209 | py | Python | docs/source/examples/substitutions.py | convexengineering/gpk | c8cf2b30ce1c3d28f135352bd584a0130e903e3f | [
"MIT"
] | 76 | 2017-10-24T18:38:48.000Z | 2022-01-13T03:14:37.000Z | docs/source/examples/substitutions.py | convexengineering/gpk | c8cf2b30ce1c3d28f135352bd584a0130e903e3f | [
"MIT"
] | 485 | 2017-09-22T18:31:06.000Z | 2022-03-02T20:34:11.000Z | docs/source/examples/substitutions.py | appliedopt/gpkit | 647ef0a2a0ff625026943bfd7fb5ca560100898b | [
"MIT"
] | 23 | 2017-12-11T01:29:00.000Z | 2022-02-14T07:53:16.000Z | "Example substitution; adapted from t_sub.py/t_NomialSubs /test_Basic"
from gpkit import Variable
x = Variable("x")
p = x**2
assert p.sub({x: 3}) == 9
assert p.sub({x.key: 3}) == 9
assert p.sub({"x": 3}) == 9
| 26.125 | 70 | 0.655502 | 40 | 209 | 3.35 | 0.5 | 0.156716 | 0.223881 | 0.246269 | 0.291045 | 0.291045 | 0 | 0 | 0 | 0 | 0 | 0.039326 | 0.148325 | 209 | 7 | 71 | 29.857143 | 0.713483 | 0.325359 | 0 | 0 | 0 | 0 | 0.334928 | 0.100478 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ca6cd101eb285ec0cff7b321427c1e24a9fdfad5 | 59 | py | Python | DSToolbox/cleaning_tools.py | RNEnriquez/DataScience-ToolBox | cb181673b63242f1253d8d078140369769eb06bf | [
"MIT"
] | 3 | 2019-08-14T20:58:00.000Z | 2020-03-25T16:42:14.000Z | DSToolbox/cleaning_tools.py | RNEnriquez/DataScience-ToolBox | cb181673b63242f1253d8d078140369769eb06bf | [
"MIT"
] | null | null | null | DSToolbox/cleaning_tools.py | RNEnriquez/DataScience-ToolBox | cb181673b63242f1253d8d078140369769eb06bf | [
"MIT"
] | 1 | 2019-10-02T16:32:14.000Z | 2019-10-02T16:32:14.000Z | '''
Various tools for cleaning out nulls and imputing
'''
| 14.75 | 50 | 0.711864 | 8 | 59 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 3 | 51 | 19.666667 | 0.875 | 0.830508 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ca7cf913f5feb090e4698977a9edd8dc5becdc7c | 526 | py | Python | servee/frontendadmin/tests/frontendadmin_registry.py | servee/servee | 59405663e1c30d3bcb3f6918932adfc02ae1a668 | [
"MIT"
] | 3 | 2017-08-22T13:19:12.000Z | 2021-12-28T23:58:17.000Z | servee/frontendadmin/tests/frontendadmin_registry.py | servee/servee | 59405663e1c30d3bcb3f6918932adfc02ae1a668 | [
"MIT"
] | null | null | null | servee/frontendadmin/tests/frontendadmin_registry.py | servee/servee | 59405663e1c30d3bcb3f6918932adfc02ae1a668 | [
"MIT"
] | null | null | null | from django.contrib.flatpages.models import FlatPage
from django.contrib.flatpages.admin import FlatPageAdmin
import frontendadmin
class FlatPageFrontendadminAdmin(FlatPageAdmin, frontendadmin.ServeeModelAdmin):
"""
This class extends from the normal FlatPageAdmin, as well as frontendadmin.ServeeModelAdmin
... | 35.066667 | 95 | 0.807985 | 59 | 526 | 7.20339 | 0.610169 | 0.047059 | 0.08 | 0.122353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144487 | 526 | 14 | 96 | 37.571429 | 0.944444 | 0.393536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
04ae497d164e29edd2337c15ce4e6474100f390b | 51 | py | Python | nowcasting_utils/metrics/__init__.py | openclimatefix/nowcasting_utils | 7a45e9d24ce29693d96fd9c75a34ca1d205b64bc | [
"MIT"
] | 2 | 2021-12-20T15:56:40.000Z | 2022-02-09T07:31:27.000Z | nowcasting_utils/metrics/__init__.py | openclimatefix/nowcasting_utils | 7a45e9d24ce29693d96fd9c75a34ca1d205b64bc | [
"MIT"
] | 37 | 2021-09-08T14:36:00.000Z | 2022-02-16T20:05:24.000Z | nowcasting_utils/metrics/__init__.py | openclimatefix/nowcasting_utils | 7a45e9d24ce29693d96fd9c75a34ca1d205b64bc | [
"MIT"
] | null | null | null | """ Metrics used for evaluating various models """
| 25.5 | 50 | 0.72549 | 6 | 51 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 1 | 51 | 51 | 0.860465 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
04d52126ecb944a8eb132b01cbacc60fe85e28ab | 25 | py | Python | apps/controllerx/cx_version.py | Digital-Lemon/controllerx | 6b90ede37fd7bfaa2771862e326bee48f7650d64 | [
"MIT"
] | null | null | null | apps/controllerx/cx_version.py | Digital-Lemon/controllerx | 6b90ede37fd7bfaa2771862e326bee48f7650d64 | [
"MIT"
] | null | null | null | apps/controllerx/cx_version.py | Digital-Lemon/controllerx | 6b90ede37fd7bfaa2771862e326bee48f7650d64 | [
"MIT"
] | null | null | null | __version__ = "v4.0.0b3"
| 12.5 | 24 | 0.68 | 4 | 25 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.12 | 25 | 1 | 25 | 25 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b6c28b36d0a727aea394b47e8f0557a031ceae6b | 5,663 | py | Python | mayan/apps/motd/tests/test_api.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | null | null | null | mayan/apps/motd/tests/test_api.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 10 | 2021-03-20T00:01:17.000Z | 2022-03-12T00:48:43.000Z | mayan/apps/motd/tests/test_api.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2020-12-17T02:35:09.000Z | 2020-12-17T02:35:09.000Z | from rest_framework import status
from mayan.apps.rest_api.tests.base import BaseAPITestCase
from ..models import Message
from ..permissions import (
permission_message_create, permission_message_delete,
permission_message_edit, permission_message_view
)
from .literals import (
TEST_LABEL, TEST_LABEL_EDI... | 34.742331 | 74 | 0.694685 | 671 | 5,663 | 5.445604 | 0.104322 | 0.14751 | 0.082102 | 0.071155 | 0.804324 | 0.745211 | 0.708539 | 0.643952 | 0.643952 | 0.643952 | 0 | 0.007699 | 0.220201 | 5,663 | 162 | 75 | 34.95679 | 0.819746 | 0 | 0 | 0.516393 | 0 | 0 | 0.031079 | 0.019954 | 0 | 0 | 0 | 0 | 0.229508 | 1 | 0.122951 | false | 0 | 0.04918 | 0.040984 | 0.221311 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b6dceec2e98b65db9e78348fb3495f6169c8700b | 19 | py | Python | Week 8_activity/controller/__init__.py | Kenny-WilliamsStockdale/PythonPlay | 10c64ceba80fe2d0fc22d11288e5a738199b7f75 | [
"MIT"
] | null | null | null | Week 8_activity/controller/__init__.py | Kenny-WilliamsStockdale/PythonPlay | 10c64ceba80fe2d0fc22d11288e5a738199b7f75 | [
"MIT"
] | 1 | 2021-08-10T22:14:55.000Z | 2021-08-10T22:14:55.000Z | Week 8_activity/controller/__init__.py | Kenny-WilliamsStockdale/PythonPlay | 10c64ceba80fe2d0fc22d11288e5a738199b7f75 | [
"MIT"
] | null | null | null | __all__ = ["DES"]
| 9.5 | 18 | 0.526316 | 2 | 19 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b6e38c9c189753d048a581796cbcc122883ba0a7 | 227 | py | Python | task/serializer.py | ruchirs/ratestask | 43e411325fec63e68b80ce68210120fc0fe55307 | [
"MIT"
] | 1 | 2020-11-19T15:09:23.000Z | 2020-11-19T15:09:23.000Z | task/serializer.py | ruchirs/ratestask | 43e411325fec63e68b80ce68210120fc0fe55307 | [
"MIT"
] | null | null | null | task/serializer.py | ruchirs/ratestask | 43e411325fec63e68b80ce68210120fc0fe55307 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Prices
class PriceSerializer(serializers.ModelSerializer):
class Meta:
model = Prices
fields = ('date', 'origin_code', 'destination_code', 'price') | 32.428571 | 69 | 0.726872 | 24 | 227 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180617 | 227 | 7 | 69 | 32.428571 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8e360fac589a3025f974276b7180bd86ec6dbd6d | 405 | py | Python | utils/open_sites.py | SrGambiarra/KivyStudioDesigner | 7f617b60aef3d5e99865cb559b9b5ee93a1988f5 | [
"MIT"
] | 3 | 2022-03-05T21:54:34.000Z | 2022-03-15T12:55:45.000Z | utils/open_sites.py | SrGambiarra/KivyStudioDesigner | 7f617b60aef3d5e99865cb559b9b5ee93a1988f5 | [
"MIT"
] | 2 | 2022-03-13T04:15:47.000Z | 2022-03-30T11:51:41.000Z | utils/open_sites.py | SrGambiarra/KivyStudioDesigner | 7f617b60aef3d5e99865cb559b9b5ee93a1988f5 | [
"MIT"
] | null | null | null | import webbrowser
def open_repo(*args):
'''
Open the Kivy Designer repository
'''
webbrowser.open("https://github.com/kivy/kivy-designer")
def open_docs(*args):
'''
Open the Kivy docs
'''
webbrowser.open("http://kivy.org/docs/")
def open_kd_docs(*args):
'''
Open the Kivy Desig... | 21.315789 | 60 | 0.641975 | 50 | 405 | 5.12 | 0.38 | 0.1875 | 0.128906 | 0.175781 | 0.269531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 405 | 19 | 61 | 21.315789 | 0.790123 | 0.219753 | 0 | 0 | 0 | 0 | 0.346863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8e36e19c53569556966794ddee38664662296f13 | 241 | py | Python | toontown/ai/HolidayBaseAI.py | LittleNed/toontown-stride | 1252a8f9a8816c1810106006d09c8bdfe6ad1e57 | [
"Apache-2.0"
] | 3 | 2020-01-02T08:43:36.000Z | 2020-07-05T08:59:02.000Z | toontown/ai/HolidayBaseAI.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | null | null | null | toontown/ai/HolidayBaseAI.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.DirectNotifyGlobal import *
class HolidayBaseAI:
def __init__(self, air, holidayId):
self.air = air
self.holidayId = holidayId
def start(self):
pass
def stop(self):
pass | 20.083333 | 52 | 0.639004 | 26 | 241 | 5.769231 | 0.576923 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282158 | 241 | 12 | 53 | 20.083333 | 0.867052 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.222222 | 0.111111 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8e48285ab1fdbab0ce5fd0cf1095c92ebb0fc537 | 2,138 | py | Python | src/scs_core/aws/data/http_response.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 3 | 2019-03-12T01:59:58.000Z | 2020-09-12T07:27:42.000Z | src/scs_core/aws/data/http_response.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 1 | 2018-04-20T07:58:38.000Z | 2021-03-27T08:52:45.000Z | src/scs_core/aws/data/http_response.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 4 | 2017-09-29T13:08:43.000Z | 2019-10-09T09:13:58.000Z | """
Created on 23 Apr 2021
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
https://docs.python.org/3/library/http.html
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
"""
from abc import ABC
from http import HTTPStatus
from scs_core.data.json import JSONable, JSONify
# --------------------------... | 27.063291 | 118 | 0.382133 | 153 | 2,138 | 5.169935 | 0.470588 | 0.088496 | 0.053097 | 0.050569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004209 | 0.22217 | 2,138 | 78 | 119 | 27.410256 | 0.471437 | 0.440599 | 0 | 0.064516 | 0 | 0 | 0.110333 | 0.07268 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.096774 | 0.16129 | 0.580645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8e503607f525fe8b7db40e876ce2139a6a8bde5e | 111 | py | Python | configurations/auth.py | ValentineSean/product-catalog-api | 7bd50555eba390a25920983daf01ee05a89cbf5f | [
"Apache-2.0"
] | null | null | null | configurations/auth.py | ValentineSean/product-catalog-api | 7bd50555eba390a25920983daf01ee05a89cbf5f | [
"Apache-2.0"
] | null | null | null | configurations/auth.py | ValentineSean/product-catalog-api | 7bd50555eba390a25920983daf01ee05a89cbf5f | [
"Apache-2.0"
] | null | null | null | from flask_jwt_extended import JWTManager
from flask_bcrypt import Bcrypt
jwt = JWTManager()
bcrypt = Bcrypt() | 22.2 | 41 | 0.81982 | 15 | 111 | 5.866667 | 0.466667 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 111 | 5 | 42 | 22.2 | 0.907216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f3dee8d4b998b40b2167ddd645732a0ad3fd79fb | 9,930 | py | Python | examples/ui/twente_temperature.py | abhishekgahlot/flexx | 27a995603b5e9d758f9d38eababcc626aa661299 | [
"BSD-2-Clause"
] | 1 | 2015-11-05T19:17:37.000Z | 2015-11-05T19:17:37.000Z | examples/ui/twente_temperature.py | abhishekgahlot/flexx | 27a995603b5e9d758f9d38eababcc626aa661299 | [
"BSD-2-Clause"
] | null | null | null | examples/ui/twente_temperature.py | abhishekgahlot/flexx | 27a995603b5e9d758f9d38eababcc626aa661299 | [
"BSD-2-Clause"
] | null | null | null | """
Examample data-viz app. It shows real temperature data from the region
where I live. The data are monthly average temperatures for the pas 65
years. The month can be selected with a slider. Via another slider, the
data can be smoothed so the upward trend can be made more apparent.
This app can be exported to a stan... | 61.296296 | 110 | 0.445317 | 1,411 | 9,930 | 3.119064 | 0.330971 | 0.006817 | 0.005453 | 0.011816 | 0.03272 | 0.026812 | 0.026812 | 0.01636 | 0.01636 | 0.01636 | 0 | 0.444021 | 0.418026 | 9,930 | 161 | 111 | 61.677019 | 0.317356 | 0.04572 | 0 | 0.053846 | 0 | 0.507692 | 0.768857 | 0.0131 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023077 | false | 0 | 0.007692 | 0 | 0.053846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f3e4a15c6cb96e12cf5361e321a719f097854df1 | 5,948 | py | Python | DailyProgrammer/DP20160926A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20160926A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20160926A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2016-09-26] Challenge #285 [Easy] Cross Platform/Language Data Encoding part 1
https://www.reddit.com/r/dailyprogrammer/comments/54lu54/20160926_challenge_285_easy_cross/
We will make a binary byte oriented encoding of data that is self describing and extensible, and aims to solve the
following problems:
* porta... | 50.837607 | 120 | 0.763618 | 1,022 | 5,948 | 4.426614 | 0.350294 | 0.009284 | 0.001989 | 0.009284 | 0.018126 | 0.018126 | 0.018126 | 0 | 0 | 0 | 0 | 0.074174 | 0.19082 | 5,948 | 116 | 121 | 51.275862 | 0.86578 | 0.987727 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f3e52e8dfa92aa4a0885ad4bdd0caacd1478d83d | 156 | py | Python | pm4pymdl/algo/mvp/gen_framework/edge_freq/__init__.py | dorian1000/pm4py-mdl | 71e0c2425abb183da293a58d31e25e50137c774f | [
"MIT"
] | 5 | 2021-01-31T22:45:29.000Z | 2022-02-22T14:26:06.000Z | pm4pymdl/algo/mvp/gen_framework/edge_freq/__init__.py | Javert899/pm4py-mdl | 4cc875999100f3f1ad60b925a20e40cf52337757 | [
"MIT"
] | 3 | 2021-07-07T15:32:55.000Z | 2021-07-07T16:15:36.000Z | pm4pymdl/algo/mvp/gen_framework/edge_freq/__init__.py | dorian1000/pm4py-mdl | 71e0c2425abb183da293a58d31e25e50137c774f | [
"MIT"
] | 9 | 2020-09-23T15:34:11.000Z | 2022-03-17T09:15:40.000Z | from pm4pymdl.algo.mvp.gen_framework.edge_freq import edge_freq_builder, type11, type12, type13, type211, type212, type221, \
type222, type231, type232
| 52 | 125 | 0.794872 | 21 | 156 | 5.714286 | 0.904762 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181159 | 0.115385 | 156 | 2 | 126 | 78 | 0.688406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6d2b872bff6c9060195409fbdcef0db70610fac6 | 151 | py | Python | sandbox/lib/jumpscale/JumpscaleLibs/clients/gitea/GiteaRepoForNonOwner.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | null | null | null | sandbox/lib/jumpscale/JumpscaleLibs/clients/gitea/GiteaRepoForNonOwner.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 117 | 2019-09-01T11:59:19.000Z | 2020-07-14T11:10:08.000Z | sandbox/lib/jumpscale/JumpscaleLibs/clients/gitea/GiteaRepoForNonOwner.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 2 | 2020-04-06T15:21:23.000Z | 2020-05-07T04:29:53.000Z | import json
from Jumpscale import j
from .GiteaRepo import GiteaRepo
JSBASE = j.baseclasses.object
class GiteaRepoForNonOwner(GiteaRepo):
pass
| 13.727273 | 38 | 0.794702 | 18 | 151 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15894 | 151 | 10 | 39 | 15.1 | 0.944882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
6d3bc7320a841574284a3da1dffa188fee310518 | 2,330 | py | Python | vacker/media/media.py | MatthewJohn/vacker | 96746a20041035a87cb64518a9f1d3e4b3a46df4 | [
"Apache-2.0"
] | 1 | 2022-01-24T04:46:14.000Z | 2022-01-24T04:46:14.000Z | vacker/media/media.py | MatthewJohn/vacker | 96746a20041035a87cb64518a9f1d3e4b3a46df4 | [
"Apache-2.0"
] | 17 | 2017-10-14T11:40:45.000Z | 2022-03-12T13:16:31.000Z | vacker/media/media.py | MatthewJohn/vacker | 96746a20041035a87cb64518a9f1d3e4b3a46df4 | [
"Apache-2.0"
] | null | null | null |
from bson.objectid import ObjectId
import datetime
import vacker.file_factory
import vacker.database
import vacker.config
from vacker.media import File
class Media(File):
def update_sets(self):
if not self.get_date():
return
database_connection = vacker.database.Database.get_dat... | 47.55102 | 166 | 0.619313 | 295 | 2,330 | 4.664407 | 0.19661 | 0.039971 | 0.031977 | 0.023256 | 0.770349 | 0.770349 | 0.770349 | 0.72093 | 0.686047 | 0.622093 | 0 | 0.00114 | 0.246781 | 2,330 | 48 | 167 | 48.541667 | 0.782906 | 0.036481 | 0 | 0.486486 | 0 | 0 | 0.097321 | 0.009821 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.162162 | 0 | 0.297297 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6d477c07768ce0f1e99a8a613ebd411b3ecf72e9 | 839 | py | Python | src/boardcomputer/frontend/WebStream.py | eddex/pren2 | 336afade5a6f46eb955b1e9c0c1e5ebda9e19b9b | [
"MIT"
] | null | null | null | src/boardcomputer/frontend/WebStream.py | eddex/pren2 | 336afade5a6f46eb955b1e9c0c1e5ebda9e19b9b | [
"MIT"
] | null | null | null | src/boardcomputer/frontend/WebStream.py | eddex/pren2 | 336afade5a6f46eb955b1e9c0c1e5ebda9e19b9b | [
"MIT"
] | null | null | null | import socketio
class WebStream:
def __init__(self, url: str):
"""
Interface for Logging on Web Server
Args:
url: URL of Webserver 'http://192.168.10.1:5000'
"""
self.sio = socketio.Client()
self.sio.connect('http://192.168.10.1:5000')
def write(s... | 18.644444 | 63 | 0.543504 | 103 | 839 | 4.349515 | 0.359223 | 0.109375 | 0.066964 | 0.080357 | 0.720982 | 0.720982 | 0.683036 | 0.53125 | 0.53125 | 0.53125 | 0 | 0.069272 | 0.328963 | 839 | 44 | 64 | 19.068182 | 0.726465 | 0.231228 | 0 | 0.6 | 0 | 0 | 0.067138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.1 | 0.05 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6d47f0eb39c1922df58cb4141cabcf1e0054d386 | 320 | py | Python | Python/Network_Programming.py | mmoccaro/Network_Programming | 58c40574a7cb54eaa7b30bdf510d51bb891acd45 | [
"Apache-2.0"
] | null | null | null | Python/Network_Programming.py | mmoccaro/Network_Programming | 58c40574a7cb54eaa7b30bdf510d51bb891acd45 | [
"Apache-2.0"
] | null | null | null | Python/Network_Programming.py | mmoccaro/Network_Programming | 58c40574a7cb54eaa7b30bdf510d51bb891acd45 | [
"Apache-2.0"
] | null | null | null | # * =======================
# *
# * Author: Matthew Moccaro
# * File: Network_Programming.py
# * Type: Python Source File
# *
# * Creation Date: 1/2/19
# *
# * Description: Python
# * source file for the
# * network programming
# * project.
# *
# * ======================
print("Network Programming For Python")
| 18.823529 | 39 | 0.534375 | 30 | 320 | 5.666667 | 0.666667 | 0.317647 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015564 | 0.196875 | 320 | 16 | 40 | 20 | 0.645914 | 0.78125 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
6d4e55cf1cf620ffb5944f026fd8cdd1d8f92853 | 60 | py | Python | code/CM1_affiche.py | christophesaintjean/IntroProgS1_2020 | 99555d1e3681d88ee023592a16caecdec6f7c0b4 | [
"CC0-1.0"
] | null | null | null | code/CM1_affiche.py | christophesaintjean/IntroProgS1_2020 | 99555d1e3681d88ee023592a16caecdec6f7c0b4 | [
"CC0-1.0"
] | null | null | null | code/CM1_affiche.py | christophesaintjean/IntroProgS1_2020 | 99555d1e3681d88ee023592a16caecdec6f7c0b4 | [
"CC0-1.0"
] | null | null | null | print("Mon premier")
print("programme")
print("est affiche") | 20 | 20 | 0.733333 | 8 | 60 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 60 | 3 | 21 | 20 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.508197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6d55705e682bea97b396a5838e11febf6a5504e9 | 158 | py | Python | sht_sensor/__main__.py | mk-fg/sht-sensor | 5a8f2fd7ca874d275f6890a55f7dc94ee8b04dd6 | [
"WTFPL"
] | 13 | 2015-11-04T16:39:31.000Z | 2018-09-08T19:07:39.000Z | sht_sensor/__main__.py | mk-fg/sht-sensor | 5a8f2fd7ca874d275f6890a55f7dc94ee8b04dd6 | [
"WTFPL"
] | 9 | 2016-02-05T19:20:08.000Z | 2018-03-31T05:11:19.000Z | sht_sensor/__main__.py | kizniche/sht-sensor | e44758327eec781297e68f3f59b6937b7c5758e3 | [
"WTFPL"
] | 3 | 2015-11-02T21:58:07.000Z | 2018-03-31T01:19:22.000Z | # -*- coding: utf-8 -*-
from __future__ import print_function
from sht_sensor.sensor import main
import os, sys
if __name__ == '__main__': sys.exit(main())
| 19.75 | 43 | 0.721519 | 23 | 158 | 4.347826 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.14557 | 158 | 7 | 44 | 22.571429 | 0.733333 | 0.132911 | 0 | 0 | 0 | 0 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6d55a2e77bdf23d00009f5ba560ff82d1226f63c | 234 | py | Python | asynctb/__init__.py | shamrin/asynctb | d06a77cb2e496108e73adc65e27d1d313592685a | [
"Apache-2.0",
"MIT"
] | 6 | 2020-07-02T16:43:15.000Z | 2021-11-29T06:30:57.000Z | asynctb/__init__.py | shamrin/asynctb | d06a77cb2e496108e73adc65e27d1d313592685a | [
"Apache-2.0",
"MIT"
] | 2 | 2020-07-02T09:00:50.000Z | 2020-07-26T06:39:09.000Z | asynctb/__init__.py | shamrin/asynctb | d06a77cb2e496108e73adc65e27d1d313592685a | [
"Apache-2.0",
"MIT"
] | 2 | 2020-07-05T01:25:37.000Z | 2021-01-26T08:00:06.000Z | from ._version import __version__
from ._traceback import FrameInfo, Traceback
from ._registry import (
register_unwrap_awaitable,
register_unwrap_context_manager,
register_get_target,
customize,
)
from . import _glue
| 23.4 | 44 | 0.790598 | 26 | 234 | 6.538462 | 0.576923 | 0.164706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 234 | 9 | 45 | 26 | 0.867347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed914a2d738e15f32235a6cdd6eb054c4244ed44 | 100 | py | Python | createTrend/Views_Predict/apps.py | junkwon-dev/createTrend_backend | 8ec550c4c5d38f898ad0285045a57e50ad30fcdb | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | createTrend/Views_Predict/apps.py | junkwon-dev/createTrend_backend | 8ec550c4c5d38f898ad0285045a57e50ad30fcdb | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | createTrend/Views_Predict/apps.py | junkwon-dev/createTrend_backend | 8ec550c4c5d38f898ad0285045a57e50ad30fcdb | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class ViewsPredictConfig(AppConfig):
name = 'Views_Predict'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6109d7f30755e74e960aa4b12f2fc1fefd4b43f2 | 40 | py | Python | coders.py | shabd07/Python-code | 63538c393ea05ad5d49599b944d8babd9dcf2a61 | [
"MIT"
] | null | null | null | coders.py | shabd07/Python-code | 63538c393ea05ad5d49599b944d8babd9dcf2a61 | [
"MIT"
] | null | null | null | coders.py | shabd07/Python-code | 63538c393ea05ad5d49599b944d8babd9dcf2a61 | [
"MIT"
] | null | null | null | a = input("enter your name: ")
print(a) | 20 | 31 | 0.625 | 7 | 40 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 32 | 20 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 4 |
610f5b5b4f29fdbf051dfd4b439275a2c68a1464 | 1,735 | py | Python | resp_base/Constraints.py | probablytom/msci-model | 243f35dcfb1cb3704140e7616e0e767958875a08 | [
"MIT"
] | null | null | null | resp_base/Constraints.py | probablytom/msci-model | 243f35dcfb1cb3704140e7616e0e767958875a08 | [
"MIT"
] | null | null | null | resp_base/Constraints.py | probablytom/msci-model | 243f35dcfb1cb3704140e7616e0e767958875a08 | [
"MIT"
] | null | null | null | from abc import ABCMeta
from theatre_ag.theatre_ag import SynchronizingClock
class ImproperImportanceResetError(Exception):
pass
class AbstractConstraint:
__metaclass__ = ABCMeta
def __init__(self, factors: dict):
self.factors = factors
self.outcome = None
self.interpreted = Fa... | 29.913793 | 128 | 0.675504 | 191 | 1,735 | 5.95288 | 0.397906 | 0.098505 | 0.116095 | 0.084433 | 0.119613 | 0.070361 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259942 | 1,735 | 57 | 129 | 30.438596 | 0.885514 | 0.146974 | 0 | 0.153846 | 0 | 0 | 0.004071 | 0 | 0 | 0 | 0 | 0.017544 | 0 | 1 | 0.153846 | false | 0.051282 | 0.358974 | 0.025641 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
61173c64f4145849e07e11a002f4c8c1b30c97c9 | 91 | py | Python | Variables/3.2.5.py | ferrerinicolas/python_samples | 107cead4fbee30b275a5e2be1257833129ce5e46 | [
"MIT"
] | null | null | null | Variables/3.2.5.py | ferrerinicolas/python_samples | 107cead4fbee30b275a5e2be1257833129ce5e46 | [
"MIT"
] | null | null | null | Variables/3.2.5.py | ferrerinicolas/python_samples | 107cead4fbee30b275a5e2be1257833129ce5e46 | [
"MIT"
] | null | null | null |
string_variable = "Nicolas"
int_variable = 24
print(string_variable)
print(int_variable)
| 13 | 27 | 0.802198 | 12 | 91 | 5.75 | 0.5 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.10989 | 91 | 6 | 28 | 15.166667 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b61f14f815014a78519cd75e692e7a2c8852b020 | 37 | py | Python | tests/services/simple_argument.py | berry-langerak/nanoinject | fc24df7534695fda5e0f078f3f9dd6f8861dcb65 | [
"MIT"
] | null | null | null | tests/services/simple_argument.py | berry-langerak/nanoinject | fc24df7534695fda5e0f078f3f9dd6f8861dcb65 | [
"MIT"
] | 1 | 2020-03-25T09:58:28.000Z | 2020-03-25T09:58:28.000Z | tests/services/simple_argument.py | berry-langerak/nanoinject | fc24df7534695fda5e0f078f3f9dd6f8861dcb65 | [
"MIT"
] | null | null | null | class SimpleArgument:
answer = 42 | 18.5 | 21 | 0.72973 | 4 | 37 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.216216 | 37 | 2 | 22 | 18.5 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b6207b39004c8dafcf759f850fefcb23711a3ba5 | 19 | py | Python | src/webrepl_cfg.py | holgerkenn/TheButtonProject | 18cfbb37773c05a24a960b87c8677ec26d3160d6 | [
"MIT"
] | null | null | null | src/webrepl_cfg.py | holgerkenn/TheButtonProject | 18cfbb37773c05a24a960b87c8677ec26d3160d6 | [
"MIT"
] | null | null | null | src/webrepl_cfg.py | holgerkenn/TheButtonProject | 18cfbb37773c05a24a960b87c8677ec26d3160d6 | [
"MIT"
] | null | null | null | PASS = 'iotbutton'
| 9.5 | 18 | 0.684211 | 2 | 19 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b621d2763dcf2b9a7d363aaab3dc03bc9168f3c7 | 610 | py | Python | tksugar/widgets/__init__.py | TakamiChie/TkSugar | 417af2abef48fa09e7f52375855783fef8e73d56 | [
"MIT"
] | 2 | 2020-09-11T23:09:00.000Z | 2021-05-07T12:09:07.000Z | tksugar/widgets/__init__.py | TakamiChie/TkSugar | 417af2abef48fa09e7f52375855783fef8e73d56 | [
"MIT"
] | 7 | 2020-11-17T09:55:36.000Z | 2021-07-18T14:11:11.000Z | tksugar/widgets/__init__.py | TakamiChie/TkSugar | 417af2abef48fa09e7f52375855783fef8e73d56 | [
"MIT"
] | null | null | null | """
Widgets that require Generator-specific custom processing are stored in this package.
For example, widgets such as tkinter.ttk.Notebook that do not display child elements on the GUI just by referencing them with the master argument of child elements are recorded here.
This package is referenced with the highest pri... | 67.777778 | 182 | 0.82459 | 93 | 610 | 5.408602 | 0.655914 | 0.04175 | 0.107356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 610 | 9 | 183 | 67.777778 | 0.958095 | 0.747541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b6277b938a36af4b7c3b50f0df4a04586b3c1790 | 102 | py | Python | fun_zone/other_fun/other_fun.py | viktor40/HammerBotPython | 84b3cbc8fbba05666d81b442078e2281a1e766b1 | [
"MIT"
] | 3 | 2020-10-29T15:15:55.000Z | 2020-10-29T21:42:58.000Z | fun_zone/other_fun/other_fun.py | viktor40/HammerBotPython | 84b3cbc8fbba05666d81b442078e2281a1e766b1 | [
"MIT"
] | null | null | null | fun_zone/other_fun/other_fun.py | viktor40/HammerBotPython | 84b3cbc8fbba05666d81b442078e2281a1e766b1 | [
"MIT"
] | 2 | 2020-07-14T13:42:47.000Z | 2020-10-25T16:42:09.000Z | from discord.ext import commands
class OtherFun(commands.Cog):
def __init__(self):
pass
| 14.571429 | 32 | 0.696078 | 13 | 102 | 5.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22549 | 102 | 6 | 33 | 17 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b63998a75660414b1a8bc687d44fa83ebb0a0d08 | 40,516 | py | Python | code_examples/popart/block_sparse/examples/test_block_sparse.py | payoto/graphcore_examples | 46d2b7687b829778369fc6328170a7b14761e5c6 | [
"MIT"
] | 260 | 2019-11-18T01:50:00.000Z | 2022-03-28T23:08:53.000Z | code_examples/popart/block_sparse/examples/test_block_sparse.py | payoto/graphcore_examples | 46d2b7687b829778369fc6328170a7b14761e5c6 | [
"MIT"
] | 27 | 2020-01-28T23:07:50.000Z | 2022-02-14T15:37:06.000Z | code_examples/popart/block_sparse/examples/test_block_sparse.py | payoto/graphcore_examples | 46d2b7687b829778369fc6328170a7b14761e5c6 | [
"MIT"
] | 56 | 2019-11-18T02:13:12.000Z | 2022-02-28T14:36:09.000Z | # Copyright (c) 2020 Graphcore Ltd. All rights reserved.
import os
import numpy as np
from functools import reduce
from operator import mul
import popart
import pytest
# range for filling blocks
MATRIX_LOW_VALUE = -10
MATRIX_HIGH_VALUE = 10
# library provides support for 3 kinds of sparse MM's
# from set of 2 inputs ... | 55.048913 | 171 | 0.635699 | 6,120 | 40,516 | 3.877614 | 0.063562 | 0.024019 | 0.019468 | 0.177658 | 0.769416 | 0.726223 | 0.705744 | 0.697231 | 0.677215 | 0.649067 | 0 | 0.090033 | 0.218432 | 40,516 | 735 | 172 | 55.12381 | 0.659382 | 0.08414 | 0 | 0.308333 | 0 | 0.004167 | 0.180863 | 0.11842 | 0 | 0 | 0 | 0 | 0.016667 | 1 | 0.022917 | false | 0 | 0.0125 | 0.004167 | 0.05 | 0.0125 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 4 |
b646e70957f42088d6111a5dc7519a69d0f4b90e | 263 | py | Python | divedownload.py | AmoghRRao/Game-Recommendation-System | c2abbd699fca22f863fa49c26fc42fd98a3d5177 | [
"Apache-2.0"
] | null | null | null | divedownload.py | AmoghRRao/Game-Recommendation-System | c2abbd699fca22f863fa49c26fc42fd98a3d5177 | [
"Apache-2.0"
] | null | null | null | divedownload.py | AmoghRRao/Game-Recommendation-System | c2abbd699fca22f863fa49c26fc42fd98a3d5177 | [
"Apache-2.0"
] | null | null | null | from google_drive_downloader import GoogleDriveDownloader as gdd
gdd.download_file_from_google_drive(file_id='14LXxwldPTV5K1EmrDr-HQc1svBhMKDvT',
dest_path='./similarity.pkl',
unzip=False)
| 37.571429 | 80 | 0.623574 | 24 | 263 | 6.5 | 0.791667 | 0.128205 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.315589 | 263 | 6 | 81 | 43.833333 | 0.838889 | 0 | 0 | 0 | 0 | 0 | 0.186312 | 0.125475 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b686f562b278bea748b1a7f47ef4eebd0183debb | 419 | py | Python | DailyProgrammer/DP20150107W.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20150107W.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20150107W.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[Weekly #19] Looking forward into 2015 - Predictions.
https://www.reddit.com/r/dailyprogrammer/comments/2rfexe/weekly_19_looking_forward_into_2015_predictions/
As we enter the new year - What are some trends/predictions you see in computer science, software engineering,
programming or related fields forth coming ... | 24.647059 | 110 | 0.761337 | 59 | 419 | 5.169492 | 0.779661 | 0.052459 | 0.098361 | 0.144262 | 0.268852 | 0.268852 | 0.268852 | 0 | 0 | 0 | 0 | 0.036517 | 0.150358 | 419 | 16 | 111 | 26.1875 | 0.820225 | 0.828162 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b69c1b3771e1541308260da20d12a22f3aa1240d | 27 | py | Python | lang/Python/increment-a-numerical-string-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/Python/increment-a-numerical-string-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/increment-a-numerical-string-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | next = str(int('123') + 1)
| 13.5 | 26 | 0.518519 | 5 | 27 | 2.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.185185 | 27 | 1 | 27 | 27 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fcb219589f7f6fae701c64ddba094835676e7327 | 3,153 | py | Python | moniter/index.py | tjandy/work | f9179a6a8e87de4127ebef2f886818c149a32a59 | [
"MIT"
] | null | null | null | moniter/index.py | tjandy/work | f9179a6a8e87de4127ebef2f886818c149a32a59 | [
"MIT"
] | null | null | null | moniter/index.py | tjandy/work | f9179a6a8e87de4127ebef2f886818c149a32a59 | [
"MIT"
] | null | null | null | import json
from flask import Flask,request,render_template
import os
import time
app = Flask(__name__)
def getTime(timestr,interval):
process = os.popen('cat data/'+timestr+'.log|grep date |awk \'{print $2}\'|sed \'s/$/,/g\'|awk \'{printf("%s",$0);}\'')
data = process.read()
process.close()
return da... | 28.926606 | 130 | 0.643514 | 400 | 3,153 | 5.0525 | 0.21 | 0.027709 | 0.032162 | 0.03711 | 0.779317 | 0.757051 | 0.717467 | 0.672934 | 0.653142 | 0.631865 | 0 | 0.007233 | 0.166825 | 3,153 | 108 | 131 | 29.194444 | 0.762086 | 0 | 0 | 0.632911 | 0 | 0 | 0.145576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.050633 | null | null | 0.050633 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fcfd593d20dab4f4702c9ba9bc12d66859e22310 | 90 | py | Python | quickumls/__init__.py | equipe22/QuickUMLS | 950383385ab28cb1c0cd4a67a46ee3a49a4a501e | [
"MIT"
] | 283 | 2016-07-21T10:22:33.000Z | 2022-03-28T22:15:21.000Z | quickumls/__init__.py | equipe22/QuickUMLS | 950383385ab28cb1c0cd4a67a46ee3a49a4a501e | [
"MIT"
] | 65 | 2016-08-11T04:33:13.000Z | 2022-03-22T18:40:08.000Z | quickumls/__init__.py | equipe22/QuickUMLS | 950383385ab28cb1c0cd4a67a46ee3a49a4a501e | [
"MIT"
] | 74 | 2017-10-14T04:37:05.000Z | 2022-01-27T07:37:30.000Z | from .core import QuickUMLS
from .client import get_quickumls_client
from .about import *
| 22.5 | 40 | 0.822222 | 13 | 90 | 5.538462 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 3 | 41 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1e26ea7e48eb165042de4428a92a508779072563 | 116 | py | Python | settings.py | kavehkm/MiddleWareSystem | de5484d7fab6582904506dcf7db19ecfffcc8df7 | [
"Apache-2.0"
] | null | null | null | settings.py | kavehkm/MiddleWareSystem | de5484d7fab6582904506dcf7db19ecfffcc8df7 | [
"Apache-2.0"
] | null | null | null | settings.py | kavehkm/MiddleWareSystem | de5484d7fab6582904506dcf7db19ecfffcc8df7 | [
"Apache-2.0"
] | null | null | null | MIDDLEWARES = (
'middlewares.middle_a',
'middlewares.middle_b',
'middlewares.middle_c',
'middlewares.middle_d'
) | 19.333333 | 24 | 0.75 | 13 | 116 | 6.384615 | 0.461538 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 116 | 6 | 25 | 19.333333 | 0.790476 | 0 | 0 | 0 | 0 | 0 | 0.683761 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1e3d891bf17ddc54a3059b850dc2489217abb579 | 164 | py | Python | problem0325.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0325.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0325.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #325 Stone Game II - Project Euler
# https://projecteuler.net/problem=325
#
# Code by Kevin Marciniak
#
###########################
| 18.222222 | 38 | 0.463415 | 15 | 164 | 5.066667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.121951 | 164 | 8 | 39 | 20.5 | 0.486111 | 0.573171 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1e3df4f8080941db8b932d73b60ea38707fc8cc7 | 3,915 | py | Python | resources/Wireshark/WiresharkDissectorFoo/test/suite_follow.py | joshis1/C_Programming | 4a8003321251448a167bfca0b595c5eeab88608d | [
"MIT"
] | 2 | 2020-09-11T05:51:42.000Z | 2020-12-31T11:42:02.000Z | resources/Wireshark/WiresharkDissectorFoo/test/suite_follow.py | joshis1/C_Programming | 4a8003321251448a167bfca0b595c5eeab88608d | [
"MIT"
] | null | null | null | resources/Wireshark/WiresharkDissectorFoo/test/suite_follow.py | joshis1/C_Programming | 4a8003321251448a167bfca0b595c5eeab88608d | [
"MIT"
] | null | null | null | #
# -*- coding: utf-8 -*-
# Wireshark tests
#
# Copyright (c) 2018 Peter Wu <peter@lekensteyn.nl>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Follow Stream tests'''
import subprocesstest
import fixtures
@fixtures.mark_usefixtures('test_env')
@fixtures.uses_fixtures
class case_follow_tcp(subprocesstest.Subproc... | 52.2 | 79 | 0.576501 | 723 | 3,915 | 3.102351 | 0.337483 | 0.019617 | 0.01605 | 0.0214 | 0.23852 | 0.22782 | 0.21712 | 0.21712 | 0.209987 | 0.209987 | 0 | 0.365085 | 0.326948 | 3,915 | 74 | 80 | 52.905405 | 0.486148 | 0.177267 | 0 | 0.04 | 0 | 0.48 | 0.812715 | 0.041967 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.02 | false | 0 | 0.04 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1e6bb3c332ceba0fd537b955e1377973268d2f3a | 137 | py | Python | FlyHigh_Personal_Project_ParkSeHwan/once.py | MaengSanHa/flyhigh | 461c8f7ce787b3961cdbcbc5c7c77a7ec45f7aeb | [
"Apache-2.0"
] | null | null | null | FlyHigh_Personal_Project_ParkSeHwan/once.py | MaengSanHa/flyhigh | 461c8f7ce787b3961cdbcbc5c7c77a7ec45f7aeb | [
"Apache-2.0"
] | null | null | null | FlyHigh_Personal_Project_ParkSeHwan/once.py | MaengSanHa/flyhigh | 461c8f7ce787b3961cdbcbc5c7c77a7ec45f7aeb | [
"Apache-2.0"
] | 1 | 2019-10-18T06:52:37.000Z | 2019-10-18T06:52:37.000Z | import mw24
import nhis
import safedriving
if __name__ == "once":
mw24.go_popup()
nhis.once_go()
safedriving.go()
| 13.7 | 23 | 0.635036 | 17 | 137 | 4.764706 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.262774 | 137 | 9 | 24 | 15.222222 | 0.762376 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1ea7e1d0ef79c0ff756a9285244254eb9e3efcfe | 71 | py | Python | neurolib/models/bold/__init__.py | leonidas228/neurolib | a7aa6f487db73c3b64471007ac5a965da4a65f9a | [
"MIT"
] | 258 | 2020-01-26T14:38:09.000Z | 2022-03-31T14:54:04.000Z | neurolib/models/bold/__init__.py | leonidas228/neurolib | a7aa6f487db73c3b64471007ac5a965da4a65f9a | [
"MIT"
] | 172 | 2020-01-27T11:02:28.000Z | 2022-03-22T22:25:38.000Z | neurolib/models/bold/__init__.py | leonidas228/neurolib | a7aa6f487db73c3b64471007ac5a965da4a65f9a | [
"MIT"
] | 49 | 2020-02-04T08:34:44.000Z | 2022-03-28T09:29:12.000Z | from .model import BOLDModel
from .timeIntegration import simulateBOLD
| 23.666667 | 41 | 0.859155 | 8 | 71 | 7.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 42 | 35.5 | 0.968254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1eaf8b72c9dc1bb2c4f6f30372bed6e42a3ae2ab | 116 | py | Python | gems/forms.py | 0xOddrey/DroppingGemsNFT | 536c0c3f0f53ac9437d88625709609037306848e | [
"MIT"
] | null | null | null | gems/forms.py | 0xOddrey/DroppingGemsNFT | 536c0c3f0f53ac9437d88625709609037306848e | [
"MIT"
] | null | null | null | gems/forms.py | 0xOddrey/DroppingGemsNFT | 536c0c3f0f53ac9437d88625709609037306848e | [
"MIT"
] | null | null | null | from django import forms
from .models import *
class gemSearchForm(forms.Form):
tokenId = forms.IntegerField() | 19.333333 | 34 | 0.758621 | 14 | 116 | 6.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 116 | 6 | 34 | 19.333333 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1ed00ee5a8f6c68165ca177e0725d198d84f82b6 | 345,403 | py | Python | 3algo/homo/5_3_7datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | null | null | null | 3algo/homo/5_3_7datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | null | null | null | 3algo/homo/5_3_7datap.py | allengrr/deadlock_project | 933878077c45a7df04daa087407bb2620c064617 | [
"MIT"
] | 1 | 2021-03-21T17:54:26.000Z | 2021-03-21T17:54:26.000Z |
wt5_3_7 = {'192.168.122.110': [5.7199, 8.4411, 8.0381, 7.3759, 7.1777, 6.9974, 6.816, 6.7848, 6.811, 6.8666, 6.7605, 7.1659, 7.1058, 7.117, 7.4091, 7.3653, 7.602, 7.5046, 7.5051, 7.4195, 7.3659, 7.2974, 7.2932, 7.4615, 7.6061, 7.7395, 7.7409, 7.699, 7.6546, 7.631, 7.5707, 7.562, 7.5218, 7.4742, 7.6148, 7.5669, 7.5131,... | 20,317.823529 | 321,918 | 0.620924 | 87,268 | 345,403 | 2.457109 | 0.065706 | 0.001213 | 0.001492 | 0.000933 | 0.661521 | 0.323373 | 0.322777 | 0.104609 | 0.104609 | 0.027012 | 0 | 0.710174 | 0.126363 | 345,403 | 17 | 321,919 | 20,317.823529 | 0.000421 | 0 | 0 | 0 | 0 | 0 | 0.00057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
94c2d3f1c8844f2f91cede88d7e526135be23826 | 95 | py | Python | checkerapp/apps.py | sahilr05/sitechecker | 9c5d99109cfe2cbf46eb9f3cb397fc0f3505f039 | [
"MIT"
] | 2 | 2021-02-21T09:24:54.000Z | 2021-05-12T18:42:37.000Z | checkerapp/apps.py | sahilr05/sitechecker | 9c5d99109cfe2cbf46eb9f3cb397fc0f3505f039 | [
"MIT"
] | null | null | null | checkerapp/apps.py | sahilr05/sitechecker | 9c5d99109cfe2cbf46eb9f3cb397fc0f3505f039 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CheckerappConfig(AppConfig):
name = "checkerapp"
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
94d3831a6017bc91f6221fb11c2e658d06876a1b | 97 | py | Python | orientation/apps.py | rahulgrover99/Django-Assignment-JCNU-task | 5a610a0b0b1a0eccd438aca08bec2f2e1aee7451 | [
"MIT"
] | null | null | null | orientation/apps.py | rahulgrover99/Django-Assignment-JCNU-task | 5a610a0b0b1a0eccd438aca08bec2f2e1aee7451 | [
"MIT"
] | null | null | null | orientation/apps.py | rahulgrover99/Django-Assignment-JCNU-task | 5a610a0b0b1a0eccd438aca08bec2f2e1aee7451 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class OrientationConfig(AppConfig):
name = 'orientation'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
94dc8b8400fb784f93cde3e0cf01c08e61eb1e33 | 182 | py | Python | locationandfeedback/forms.py | singh-sushil/minorproject | 02fe8c1dce41109447d5f394bb37e10cb34d9316 | [
"MIT"
] | 2 | 2020-12-27T11:28:02.000Z | 2021-01-04T07:52:38.000Z | locationandfeedback/forms.py | singh-sushil/minorproject | 02fe8c1dce41109447d5f394bb37e10cb34d9316 | [
"MIT"
] | 1 | 2020-12-26T13:36:12.000Z | 2020-12-26T13:36:12.000Z | locationandfeedback/forms.py | singh-sushil/minorproject | 02fe8c1dce41109447d5f394bb37e10cb34d9316 | [
"MIT"
] | null | null | null | from django import forms
from .models import Feedback
class FeedbackForm(forms.ModelForm):
class Meta():
model = Feedback
fields = ['feedback_text',]
| 18.2 | 37 | 0.642857 | 19 | 182 | 6.105263 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274725 | 182 | 9 | 38 | 20.222222 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.075145 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a21c20f617b9a99660f5647bb1d341ef720f3d73 | 433 | py | Python | bradfield/test_x1_02_roman.py | savarin/algorithms | 4d1f8f2361de12a02f376883f648697562d177ae | [
"MIT"
] | 1 | 2020-06-16T23:22:54.000Z | 2020-06-16T23:22:54.000Z | bradfield/test_x1_02_roman.py | savarin/algorithms | 4d1f8f2361de12a02f376883f648697562d177ae | [
"MIT"
] | null | null | null | bradfield/test_x1_02_roman.py | savarin/algorithms | 4d1f8f2361de12a02f376883f648697562d177ae | [
"MIT"
] | null | null | null | from x1_02_roman import to_roman
def test_to_roman():
assert to_roman(1) == "i"
assert to_roman(2) == "ii"
assert to_roman(3) == "iii"
assert to_roman(4) == "iv"
assert to_roman(5) == "v"
assert to_roman(6) == "vi"
assert to_roman(7) == "vii"
assert to_roman(8) == "viii"
assert to_... | 25.470588 | 32 | 0.586605 | 71 | 433 | 3.338028 | 0.464789 | 0.413502 | 0.658228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054711 | 0.240185 | 433 | 16 | 33 | 27.0625 | 0.665654 | 0 | 0 | 0 | 0 | 0 | 0.060046 | 0 | 0 | 0 | 0 | 0 | 0.857143 | 1 | 0.071429 | true | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bf41b3184bd3e63550da04859c56c0cfae317902 | 381 | py | Python | Cartwheel/lib/Python26/Lib/site-packages/OpenGL/GL/NV/vertex_program1_1.py | MontyThibault/centre-of-mass-awareness | 58778f148e65749e1dfc443043e9fc054ca3ff4d | [
"MIT"
] | null | null | null | Cartwheel/lib/Python26/Lib/site-packages/OpenGL/GL/NV/vertex_program1_1.py | MontyThibault/centre-of-mass-awareness | 58778f148e65749e1dfc443043e9fc054ca3ff4d | [
"MIT"
] | null | null | null | Cartwheel/lib/Python26/Lib/site-packages/OpenGL/GL/NV/vertex_program1_1.py | MontyThibault/centre-of-mass-awareness | 58778f148e65749e1dfc443043e9fc054ca3ff4d | [
"MIT"
] | null | null | null | '''OpenGL extension NV.vertex_program1_1
This module customises the behaviour of the
OpenGL.raw.GL.NV.vertex_program1_1 to provide a more
Python-friendly API
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions, wrapper
from OpenGL.GL import glget
import ctypes
from OpenGL.raw.G... | 31.75 | 56 | 0.813648 | 58 | 381 | 5.241379 | 0.586207 | 0.131579 | 0.157895 | 0.167763 | 0.184211 | 0.184211 | 0.184211 | 0 | 0 | 0 | 0 | 0.01791 | 0.120735 | 381 | 12 | 57 | 31.75 | 0.889552 | 0.48294 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bf7373cf3f5427580c3173ae34cf4970b206c0c1 | 689 | py | Python | Comentarios.py | SaulPerezP/Proyecto2-IPC1-API | 2488c7105fd63d0d8d5b1048a452f613bab4a5b3 | [
"Apache-2.0"
] | null | null | null | Comentarios.py | SaulPerezP/Proyecto2-IPC1-API | 2488c7105fd63d0d8d5b1048a452f613bab4a5b3 | [
"Apache-2.0"
] | null | null | null | Comentarios.py | SaulPerezP/Proyecto2-IPC1-API | 2488c7105fd63d0d8d5b1048a452f613bab4a5b3 | [
"Apache-2.0"
] | null | null | null |
class Comentarios:
def __init__(self, videojuego, usuario, comentario):
self.videojuego = videojuego
self.usuario = usuario
self.comentario = comentario
#MÉTODOS GET
def getVideojuego(self):
return self.videojuego
def getUsuario(self):
return self.usuario
def getComentario(self):
return self.come... | 16.804878 | 53 | 0.718433 | 74 | 689 | 6.635135 | 0.256757 | 0.171079 | 0.08554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187228 | 689 | 41 | 54 | 16.804878 | 0.876786 | 0.037736 | 0 | 0.26087 | 0 | 0 | 0.040909 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 1 | 0.347826 | false | 0 | 0 | 0.173913 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bf80efefe124c8e4d7515de93e5c0cd98539f7a0 | 247 | py | Python | fancy/trainer/training/data_loader_collection.py | susautw/fancy-trainer | eeb7ba1a541a8070171f1be972f8d99f81a4bff9 | [
"MIT"
] | null | null | null | fancy/trainer/training/data_loader_collection.py | susautw/fancy-trainer | eeb7ba1a541a8070171f1be972f8d99f81a4bff9 | [
"MIT"
] | null | null | null | fancy/trainer/training/data_loader_collection.py | susautw/fancy-trainer | eeb7ba1a541a8070171f1be972f8d99f81a4bff9 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from typing import Optional
from torch.utils.data import DataLoader
@dataclass
class DataLoaderCollection:
train_loader: DataLoader
test_loader: DataLoader
valid_loader: Optional[DataLoader] = None
| 20.583333 | 45 | 0.805668 | 28 | 247 | 7 | 0.607143 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 247 | 11 | 46 | 22.454545 | 0.937799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.875 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bf8a9f710adffd125e4c29ad2253ff8eb275f128 | 773 | py | Python | backend/accounts/permissions.py | eliefrancois/project2-diabetesapplication-api | e0fd904b1f50eb7ed68fe1ceb74c2a1784e8dc40 | [
"MIT"
] | null | null | null | backend/accounts/permissions.py | eliefrancois/project2-diabetesapplication-api | e0fd904b1f50eb7ed68fe1ceb74c2a1784e8dc40 | [
"MIT"
] | null | null | null | backend/accounts/permissions.py | eliefrancois/project2-diabetesapplication-api | e0fd904b1f50eb7ed68fe1ceb74c2a1784e8dc40 | [
"MIT"
] | null | null | null | from rest_framework import permissions
class UpdateOwnProfile(permissions.BasePermission):
"""Allows patient to edit their own profile"""
def has_object_permission(self, request, view, obj):
"""Validates that patient is trying to edit their own profile"""
if request.method in permissions.SAFE... | 35.136364 | 72 | 0.69599 | 95 | 773 | 5.578947 | 0.410526 | 0.045283 | 0.083019 | 0.10566 | 0.750943 | 0.724528 | 0.724528 | 0.724528 | 0.528302 | 0.528302 | 0 | 0 | 0.225097 | 773 | 22 | 73 | 35.136364 | 0.884808 | 0.258732 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
bf8f3e1397150b62a09d3383ecb1db11c3034a33 | 1,721 | py | Python | monstercreator.py | David132639/GUTS2017 | fbb06842523713a7998f096f4d785dcc002d6ea5 | [
"CC-BY-3.0"
] | 1 | 2018-03-11T21:00:01.000Z | 2018-03-11T21:00:01.000Z | monstercreator.py | David132639/GUTS2017 | fbb06842523713a7998f096f4d785dcc002d6ea5 | [
"CC-BY-3.0"
] | null | null | null | monstercreator.py | David132639/GUTS2017 | fbb06842523713a7998f096f4d785dcc002d6ea5 | [
"CC-BY-3.0"
] | null | null | null | ##Gives a list of obstacles given by the case number
##VERSION 1.1 SOHVA fixed a bug with the test case
##Version 1.2 Marija added a boss monster to be in the list by default
import monster
def createMonsters(case):
monsters = [monster.Monster((8,13), [(8, 13), (8, 12), (8, 11), (7,11), (6, 11), (6, 12), (... | 46.513514 | 113 | 0.46136 | 288 | 1,721 | 2.756944 | 0.184028 | 0.245592 | 0.360202 | 0.086902 | 0.230479 | 0.079345 | 0.070529 | 0.070529 | 0.070529 | 0 | 0 | 0.157031 | 0.256246 | 1,721 | 36 | 114 | 47.805556 | 0.463281 | 0.096456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032258 | null | null | 0.032258 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bf9a42a17d51850e07e6e338c4e02e029f384126 | 60 | py | Python | secrets.py | nainish2/TinderBot | ff7435bcc1974bfe178fb942cda22d7a5933e932 | [
"bzip2-1.0.6"
] | null | null | null | secrets.py | nainish2/TinderBot | ff7435bcc1974bfe178fb942cda22d7a5933e932 | [
"bzip2-1.0.6"
] | null | null | null | secrets.py | nainish2/TinderBot | ff7435bcc1974bfe178fb942cda22d7a5933e932 | [
"bzip2-1.0.6"
] | null | null | null | username= 'aggarwal.nanish@gmail.com'
password= 'aggarwal2a' | 30 | 37 | 0.8 | 7 | 60 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.05 | 60 | 2 | 38 | 30 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0.57377 | 0.409836 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
bfc2fd685a83c8d4340bbdea5c4527494c3c0c02 | 67 | py | Python | python/testData/resolve/multiFile/reimportExported/ReimportExported.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/reimportExported/ReimportExported.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/multiFile/reimportExported/ReimportExported.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import mypackage.foo
mypackage.bar.dostuff()
# <ref>
| 13.4 | 23 | 0.597015 | 7 | 67 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283582 | 67 | 4 | 24 | 16.75 | 0.833333 | 0.074627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bfd717b31b063d444539cc7fed12cd158972bc53 | 72 | py | Python | ch2/2-9.favorite_num.py | AngangGuo/pycrash | de48aa4198022c301f5cd3ce388c195a177be1b5 | [
"MIT"
] | null | null | null | ch2/2-9.favorite_num.py | AngangGuo/pycrash | de48aa4198022c301f5cd3ce388c195a177be1b5 | [
"MIT"
] | null | null | null | ch2/2-9.favorite_num.py | AngangGuo/pycrash | de48aa4198022c301f5cd3ce388c195a177be1b5 | [
"MIT"
] | null | null | null | favorite_number = 23
print(f"My favorite number is {favorite_number}.")
| 24 | 50 | 0.777778 | 11 | 72 | 4.909091 | 0.636364 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 72 | 2 | 51 | 36 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
44c6f31866c5683f3f87e1562e15eb8eebd5c75c | 8,713 | py | Python | test/api/test_radarr.py | shovon668/pycliarr | 21ce35e8a63eed8e2bf755a244c66ee3ca9ab278 | [
"MIT"
] | 10 | 2020-08-25T08:14:49.000Z | 2022-02-27T02:14:19.000Z | test/api/test_radarr.py | shovon668/pycliarr | 21ce35e8a63eed8e2bf755a244c66ee3ca9ab278 | [
"MIT"
] | 27 | 2020-11-25T05:29:40.000Z | 2022-01-22T17:43:42.000Z | test/api/test_radarr.py | shovon668/pycliarr | 21ce35e8a63eed8e2bf755a244c66ee3ca9ab278 | [
"MIT"
] | 1 | 2021-06-15T16:23:46.000Z | 2021-06-15T16:23:46.000Z | import pytest
from copy import deepcopy
from unittest.mock import patch
from pycliarr.api.radarr import RadarrCli, RadarrMovieItem
from pycliarr.api.exceptions import RadarrCliError
TEST_ROOT_PATH = [{"path": "some/path/", "id": 1},{"path": "yet/otherpath/", "id": 3}]
TEST_JSON = {'somefield': "some value"}
TEST_MOVIE... | 34.852 | 99 | 0.715024 | 1,147 | 8,713 | 5.153444 | 0.115955 | 0.053967 | 0.080528 | 0.100491 | 0.818474 | 0.799695 | 0.786331 | 0.692438 | 0.658264 | 0.641008 | 0 | 0.021051 | 0.144038 | 8,713 | 249 | 100 | 34.991968 | 0.771521 | 0 | 0 | 0.445545 | 0 | 0 | 0.290715 | 0.164123 | 0 | 0 | 0 | 0 | 0.193069 | 1 | 0.113861 | false | 0 | 0.024752 | 0.00495 | 0.143564 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
44d2dd32a031c2393f11c750ac9b78bfa9459442 | 111 | py | Python | check/__init__.py | FluvialGeomorph/FluvialGeomorph-toolbox | d7b0712d4841af5cc341443d695bf0481eeccb23 | [
"CC0-1.0"
] | null | null | null | check/__init__.py | FluvialGeomorph/FluvialGeomorph-toolbox | d7b0712d4841af5cc341443d695bf0481eeccb23 | [
"CC0-1.0"
] | 1 | 2021-03-25T12:38:23.000Z | 2021-03-25T12:38:23.000Z | check/__init__.py | FluvialGeomorph/FluvialGeomorph-toolbox | d7b0712d4841af5cc341443d695bf0481eeccb23 | [
"CC0-1.0"
] | null | null | null | """The FluvialGeomorph check package contains a set of tools to check the
validity of FG feature classes.
"""
| 27.75 | 74 | 0.765766 | 17 | 111 | 5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171171 | 111 | 3 | 75 | 37 | 0.923913 | 0.927928 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
44f7e10fc7d4a95a36020a0c6c4a3203a5a29693 | 85 | py | Python | examples/Tuning/testing_estimators/nbeats.py | arangatang/Crayon | ff1ca68fe676028a8209ad56c108b8d8179ba2d7 | [
"MIT"
] | null | null | null | examples/Tuning/testing_estimators/nbeats.py | arangatang/Crayon | ff1ca68fe676028a8209ad56c108b8d8179ba2d7 | [
"MIT"
] | null | null | null | examples/Tuning/testing_estimators/nbeats.py | arangatang/Crayon | ff1ca68fe676028a8209ad56c108b8d8179ba2d7 | [
"MIT"
] | null | null | null | from gluonts.model.n_beats import NBEATSEnsembleEstimator
NBEATSEnsembleEstimator()
| 21.25 | 57 | 0.882353 | 8 | 85 | 9.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 85 | 3 | 58 | 28.333333 | 0.936709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7803936d5334854af0c64870adcd7f48c61b8602 | 151 | py | Python | virtual/lib/python3.6/site-packages/pylint/test/functional/yield_from_iterable_py33.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/yield_from_iterable_py33.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/yield_from_iterable_py33.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | """
Check that `yield from`-statement takes an iterable.
"""
# pylint: disable=missing-docstring
def to_ten():
yield from 10 # [not-an-iterable]
| 18.875 | 52 | 0.688742 | 21 | 151 | 4.904762 | 0.809524 | 0.174757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.165563 | 151 | 7 | 53 | 21.571429 | 0.801587 | 0.695364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
780ab328d9eee00616536473f2fb2467d5d340e9 | 61 | py | Python | soft_deletion/__init__.py | SocialGouv/ecollecte | 1bfce2e0700b563c111c11452356b46ecb2630e4 | [
"MIT"
] | 9 | 2018-11-28T07:36:37.000Z | 2022-02-04T12:56:11.000Z | soft_deletion/__init__.py | betagouv/e-controle | b6f790ca2590ac257a47930a1e521b86ce3edb29 | [
"MIT"
] | 154 | 2018-11-22T14:41:17.000Z | 2022-02-12T08:48:57.000Z | soft_deletion/__init__.py | betagouv/e-controle | b6f790ca2590ac257a47930a1e521b86ce3edb29 | [
"MIT"
] | 10 | 2018-11-13T06:57:10.000Z | 2022-03-21T13:04:49.000Z | default_app_config = 'soft_deletion.apps.SoftDeletionConfig'
| 30.5 | 60 | 0.868852 | 7 | 61 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 61 | 1 | 61 | 61 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.606557 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
785f789dc5d71ff6dbbc2e8cb2cca2ed5b078535 | 90 | py | Python | runserver.py | jasonost/clinicaltrials | b6d003b434e70cf4015215e4c9509df6092cfd97 | [
"MIT"
] | 12 | 2015-11-26T22:23:05.000Z | 2021-03-23T21:10:53.000Z | runserver.py | jasonost/clinicaltrials | b6d003b434e70cf4015215e4c9509df6092cfd97 | [
"MIT"
] | 1 | 2019-01-18T08:33:55.000Z | 2019-01-18T08:33:55.000Z | runserver.py | jasonost/clinicaltrials | b6d003b434e70cf4015215e4c9509df6092cfd97 | [
"MIT"
] | 4 | 2015-10-28T05:54:50.000Z | 2019-05-09T22:23:11.000Z | from ctapp import app
if __name__ == '__main__':
app.run(host='0.0.0.0', port=61011)
| 18 | 39 | 0.655556 | 16 | 90 | 3.1875 | 0.75 | 0.117647 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.166667 | 90 | 4 | 40 | 22.5 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
786431e2157ae39d16b9144515372d4a369c12f8 | 370 | py | Python | crawler/crawler/spiders/MyDupeFilter.py | jiady/htdb | 70ab10ba8f8031ecd6aa22facaee005d658a387b | [
"MIT"
] | null | null | null | crawler/crawler/spiders/MyDupeFilter.py | jiady/htdb | 70ab10ba8f8031ecd6aa22facaee005d658a387b | [
"MIT"
] | null | null | null | crawler/crawler/spiders/MyDupeFilter.py | jiady/htdb | 70ab10ba8f8031ecd6aa22facaee005d658a387b | [
"MIT"
] | null | null | null | from scrapy.dupefilters import RFPDupeFilter
import redis
from crawler import redis_const
class MyDupeFilter(RFPDupeFilter):
def __init__(self, path=None, debug=False):
RFPDupeFilter.__init__(self, path=None, debug=False)
self.rclient = redis.StrictRedis(host="localhost", port=6379, db=0)
def... | 28.461538 | 75 | 0.737838 | 46 | 370 | 5.717391 | 0.608696 | 0.08365 | 0.091255 | 0.121673 | 0.197719 | 0.197719 | 0 | 0 | 0 | 0 | 0 | 0.016287 | 0.17027 | 370 | 12 | 76 | 30.833333 | 0.840391 | 0 | 0 | 0 | 0 | 0 | 0.024324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
78ac0de8c5e587e65a19d661a4a73d792840ced0 | 1,746 | py | Python | irrexplorer/tests/test_clean_query.py | dashcare/irrexplorer | 70977f745769b9d0c761f4d1a92091ec2ae84984 | [
"BSD-2-Clause"
] | 17 | 2021-02-12T14:18:16.000Z | 2021-08-02T13:20:18.000Z | irrexplorer/tests/test_clean_query.py | dashcare/irrexplorer | 70977f745769b9d0c761f4d1a92091ec2ae84984 | [
"BSD-2-Clause"
] | 76 | 2021-02-12T13:08:25.000Z | 2021-08-19T15:17:14.000Z | irrexplorer/tests/test_clean_query.py | dashcare/irrexplorer | 70977f745769b9d0c761f4d1a92091ec2ae84984 | [
"BSD-2-Clause"
] | 2 | 2021-06-09T12:44:54.000Z | 2021-06-17T14:32:35.000Z | import pytest
pytestmark = pytest.mark.asyncio
async def test_clean_query_prefix(client):
response = await client.get("/api/clean_query/192.0.2/24")
assert response.status_code == 200
assert response.json() == {"cleanedValue": "192.0.2.0/24", "category": "prefix"}
async def test_clean_query_prefix_misa... | 34.92 | 84 | 0.712486 | 243 | 1,746 | 4.950617 | 0.205761 | 0.124688 | 0.126351 | 0.146301 | 0.866999 | 0.848712 | 0.764755 | 0.680798 | 0.578554 | 0.399834 | 0 | 0.056376 | 0.146621 | 1,746 | 49 | 85 | 35.632653 | 0.750336 | 0 | 0 | 0.363636 | 0 | 0 | 0.247995 | 0.105956 | 0 | 0 | 0 | 0 | 0.484848 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.030303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
78b0e8ce1317e231da9dc2ca6bfb101b3156fd6d | 89 | py | Python | src/files/admin.py | kaleelcsa/Dive-into-AWS-Course---Direct-to-S3-via-Django-JavaScript | b6a5e61288ce745851848eb4853fb70b3e67f1f7 | [
"MIT"
] | 31 | 2018-12-17T05:53:01.000Z | 2022-01-11T21:54:10.000Z | src/files/admin.py | kaleelcsa/Dive-into-AWS-Course---Direct-to-S3-via-Django-JavaScript | b6a5e61288ce745851848eb4853fb70b3e67f1f7 | [
"MIT"
] | 5 | 2020-06-05T19:46:46.000Z | 2021-09-08T00:48:21.000Z | src/files/admin.py | codingforentrepreneurs/Dive-into-AWS-Course---Direct-to-S3-via-Django-JavaScript | b6a5e61288ce745851848eb4853fb70b3e67f1f7 | [
"MIT"
] | 14 | 2019-01-09T18:33:40.000Z | 2022-03-02T20:21:54.000Z | from django.contrib import admin
from .models import S3File
admin.site.register(S3File) | 17.8 | 32 | 0.820225 | 13 | 89 | 5.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.11236 | 89 | 5 | 33 | 17.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
78bd07a79327d10729adf154c2c302ed30bfefd8 | 57 | py | Python | exercise1-knn/psyc272cava/classifiers/__init__.py | psyc230/cava_exercises | fe7d0107db214e04aa1ed30996373a894e47531f | [
"BSD-2-Clause"
] | 1 | 2019-10-29T01:31:27.000Z | 2019-10-29T01:31:27.000Z | exercise1-knn/psyc272cava/classifiers/__init__.py | psyc230/cava_exercises | fe7d0107db214e04aa1ed30996373a894e47531f | [
"BSD-2-Clause"
] | 3 | 2021-02-02T22:11:28.000Z | 2022-01-13T03:03:36.000Z | exercise1-knn/psyc272cava/classifiers/__init__.py | psyc230/cava_exercises | fe7d0107db214e04aa1ed30996373a894e47531f | [
"BSD-2-Clause"
] | 2 | 2019-10-01T00:48:23.000Z | 2019-10-22T01:32:46.000Z | from psyc272cava.classifiers.k_nearest_neighbor import *
| 28.5 | 56 | 0.877193 | 7 | 57 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.070175 | 57 | 1 | 57 | 57 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
78d6ae0d024aa8ec5e5cface12b0dd79f20b82af | 65 | py | Python | lesson6/theory/matplotlib.py | karina-marques/programming-exercises | ecce7ed3fee02b717bff8e4b8405ea65a574d93b | [
"MIT"
] | null | null | null | lesson6/theory/matplotlib.py | karina-marques/programming-exercises | ecce7ed3fee02b717bff8e4b8405ea65a574d93b | [
"MIT"
] | null | null | null | lesson6/theory/matplotlib.py | karina-marques/programming-exercises | ecce7ed3fee02b717bff8e4b8405ea65a574d93b | [
"MIT"
] | null | null | null | # https://matplotlib.org/stable/tutorials/index.html#introductory | 65 | 65 | 0.830769 | 8 | 65 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 65 | 1 | 65 | 65 | 0.84375 | 0.953846 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
152d40963c407276ecf59d8614f78f4f258d8d9e | 314 | py | Python | thumt/utils/utils.py | Demon-JieHao/Modeling-Structure-for-Transformer-Network | 329831964731ccb7361b847e0ff7c2d809ab7231 | [
"BSD-3-Clause"
] | 145 | 2018-12-03T05:47:26.000Z | 2022-02-25T07:55:52.000Z | thumt/utils/utils.py | Demon-JieHao/Modeling-Structure-for-Transformer-Network | 329831964731ccb7361b847e0ff7c2d809ab7231 | [
"BSD-3-Clause"
] | 11 | 2018-12-03T06:03:25.000Z | 2021-11-16T12:18:59.000Z | thumt/utils/utils.py | Demon-JieHao/Modeling-Structure-for-Transformer-Network | 329831964731ccb7361b847e0ff7c2d809ab7231 | [
"BSD-3-Clause"
] | 24 | 2018-12-16T08:42:38.000Z | 2021-07-13T04:08:47.000Z | # coding=utf-8
# Copyright 2018 The THUMT Authors
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
def session_run(monitored_session, args):
# Call raw TF session directly
return monitored_session._tf_sess().run(args)
| 22.428571 | 49 | 0.802548 | 44 | 314 | 5.295455 | 0.636364 | 0.128755 | 0.206009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018727 | 0.149682 | 314 | 13 | 50 | 24.153846 | 0.853933 | 0.235669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.666667 | 0.166667 | 1 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 4 |
15401f355aa641a84784a5bf0cf86b597b686b05 | 107 | py | Python | FDApy/clustering/optimalK/__init__.py | vishalbelsare/FDApy | 50feb99e34f265b1c17a6f234a9d2f942ceb8f6d | [
"MIT"
] | 19 | 2019-02-11T08:35:29.000Z | 2022-01-27T16:51:10.000Z | FDApy/clustering/optimalK/__init__.py | vishalbelsare/FDApy | 50feb99e34f265b1c17a6f234a9d2f942ceb8f6d | [
"MIT"
] | 4 | 2020-04-07T07:10:26.000Z | 2022-02-09T16:33:19.000Z | FDApy/clustering/optimalK/__init__.py | vishalbelsare/FDApy | 50feb99e34f265b1c17a6f234a9d2f942ceb8f6d | [
"MIT"
] | 7 | 2020-04-24T13:24:02.000Z | 2022-02-18T17:28:30.000Z | """
OptimalK module.
This module is used to determine the best number of clusters in functional
data.
"""
| 15.285714 | 74 | 0.747664 | 16 | 107 | 5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17757 | 107 | 6 | 75 | 17.833333 | 0.909091 | 0.915888 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
15b9d4d595ce224511e4fec52c70f675c385829a | 30 | py | Python | tests/input_example.py | kangwonlee/reposetman | ca35026a37a9f60479bf19ad542761a56ecd0783 | [
"MIT"
] | null | null | null | tests/input_example.py | kangwonlee/reposetman | ca35026a37a9f60479bf19ad542761a56ecd0783 | [
"MIT"
] | 109 | 2018-09-18T05:50:02.000Z | 2020-03-19T04:55:35.000Z | tests/input_example.py | kangwonlee/reposetman | ca35026a37a9f60479bf19ad542761a56ecd0783 | [
"MIT"
] | 1 | 2018-09-17T15:39:21.000Z | 2018-09-17T15:39:21.000Z | a = input()
b = input('b=?')
| 7.5 | 16 | 0.433333 | 5 | 30 | 2.6 | 0.6 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 3 | 17 | 10 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
15baa7424bf6129d348a094387efb2ad95f3f5b3 | 636 | py | Python | pyaranet4/exceptions.py | stijn-uva/pyaranet4 | 8d1ed4880db10af2f25ea0e5d4e01461ae695f40 | [
"MIT"
] | 7 | 2021-09-14T00:56:26.000Z | 2022-01-30T06:08:04.000Z | pyaranet4/exceptions.py | stijn-uva/pyaranet4 | 8d1ed4880db10af2f25ea0e5d4e01461ae695f40 | [
"MIT"
] | null | null | null | pyaranet4/exceptions.py | stijn-uva/pyaranet4 | 8d1ed4880db10af2f25ea0e5d4e01461ae695f40 | [
"MIT"
] | 1 | 2021-09-12T20:39:14.000Z | 2021-09-12T20:39:14.000Z | class Aranet4Exception(BaseException):
"""
Base exception for pyaranet4
"""
pass
class Aranet4NotFoundException(Aranet4Exception):
"""
Exception that occurs when no suitable Aranet4 device is available
"""
pass
class Aranet4BusyException(Aranet4Exception):
"""
Exception that ... | 21.931034 | 79 | 0.70283 | 69 | 636 | 6.478261 | 0.57971 | 0.060403 | 0.194631 | 0.234899 | 0.261745 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.237421 | 636 | 28 | 80 | 22.714286 | 0.901031 | 0.503145 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ec732a4ce7b010b2c9882ee22f31d39cc5b06797 | 1,184 | py | Python | test/Python/Compiler/type_inference.py | marbre/mlir-npcomp | 30adf9e6b0c1e94db38050a9e143f20a5a461d17 | [
"Apache-2.0"
] | 11 | 2020-03-30T23:31:03.000Z | 2021-06-16T01:17:58.000Z | test/Python/Compiler/type_inference.py | marbre/mlir-npcomp | 30adf9e6b0c1e94db38050a9e143f20a5a461d17 | [
"Apache-2.0"
] | 1 | 2020-04-26T21:19:30.000Z | 2020-04-29T18:22:59.000Z | test/Python/Compiler/type_inference.py | marbre/mlir-npcomp | 30adf9e6b0c1e94db38050a9e143f20a5a461d17 | [
"Apache-2.0"
] | null | null | null | # RUN: %PYTHON %s | npcomp-opt -split-input-file -basicpy-type-inference | FileCheck %s --dump-input=fail
from npcomp.compiler import test_config
import_global = test_config.create_import_dump_decorator()
# CHECK-LABEL: func @arithmetic_expression
# CHECK-SAME: () -> i64
@import_global
def arithmetic_expression():
... | 32 | 105 | 0.654561 | 160 | 1,184 | 4.70625 | 0.325 | 0.103586 | 0.102258 | 0.146082 | 0.413015 | 0.413015 | 0.335989 | 0.335989 | 0.335989 | 0.335989 | 0 | 0.066532 | 0.162162 | 1,184 | 36 | 106 | 32.888889 | 0.69254 | 0.677365 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.454545 | 0.272727 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
ec8974a09e42c122cd04de286650c63acbd53983 | 544 | py | Python | pyspedas/mms/tests/validation/scm.py | MAVENSDC/pyspedas | 05ede2603acb514bc7803be054016142c0851685 | [
"MIT"
] | 1 | 2020-07-07T19:52:40.000Z | 2020-07-07T19:52:40.000Z | pyspedas/mms/tests/validation/scm.py | MAVENSDC/pyspedas | 05ede2603acb514bc7803be054016142c0851685 | [
"MIT"
] | null | null | null | pyspedas/mms/tests/validation/scm.py | MAVENSDC/pyspedas | 05ede2603acb514bc7803be054016142c0851685 | [
"MIT"
] | null | null | null | from pyspedas import mms_load_scm
from pytplot import get_data
mms_load_scm()
t, d = get_data('mms1_scm_acb_gse_scsrvy_srvy_l2')
print(t[0:10].round(6).tolist())
print(d[10000].tolist())
print(d[50000].tolist())
print(d[100000].tolist())
print(d[200000].tolist())
print(d[300000].tolist())
print(d[400000].tolis... | 14.702703 | 50 | 0.702206 | 88 | 544 | 4.204545 | 0.420455 | 0.416216 | 0.454054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182365 | 0.082721 | 544 | 36 | 51 | 15.111111 | 0.559118 | 0 | 0 | 0 | 0 | 0 | 0.056985 | 0.056985 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.105263 | 0 | 0.105263 | 0.789474 | 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 | 1 | 0 | 4 |
ec998f3461ff848d48a9fd74a474645111e4a732 | 1,644 | py | Python | transformation/functions/tonalfunctions/tonality_permutation_function.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | 1 | 2021-05-06T19:45:54.000Z | 2021-05-06T19:45:54.000Z | transformation/functions/tonalfunctions/tonality_permutation_function.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | null | null | null | transformation/functions/tonalfunctions/tonality_permutation_function.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | null | null | null | """
File: tonality_permutation_function.py
Purpose: Class defining a function based on a permutation of a tonality's tones.
"""
from transformation.functions.tonalfunctions.tonal_function import TonalFunction
from transformation.functions.tonalfunctions.tonality_permutation import TonalityPermutation
class Tonalit... | 32.88 | 112 | 0.723236 | 167 | 1,644 | 6.88024 | 0.347305 | 0.21497 | 0.08007 | 0.02785 | 0.029591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213504 | 1,644 | 49 | 113 | 33.55102 | 0.888631 | 0.357664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
eca90320bde86d20e960c7c410d4d58f9955ed61 | 23 | py | Python | src/iris/__init__.py | minhaz1/iris | 6f251a915e77d7882db13d7900ae37324b077520 | [
"BSD-2-Clause"
] | null | null | null | src/iris/__init__.py | minhaz1/iris | 6f251a915e77d7882db13d7900ae37324b077520 | [
"BSD-2-Clause"
] | null | null | null | src/iris/__init__.py | minhaz1/iris | 6f251a915e77d7882db13d7900ae37324b077520 | [
"BSD-2-Clause"
] | null | null | null | __version__ = "1.0.36"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
01b774ac8cbffe9b27293fc638eb7e268f29e750 | 132 | py | Python | app/resources/hello_world.py | daveflr/Flask-Restful-Template | 2e6c5de0347bf82ccd3a4244202eee79d263d762 | [
"MIT"
] | null | null | null | app/resources/hello_world.py | daveflr/Flask-Restful-Template | 2e6c5de0347bf82ccd3a4244202eee79d263d762 | [
"MIT"
] | null | null | null | app/resources/hello_world.py | daveflr/Flask-Restful-Template | 2e6c5de0347bf82ccd3a4244202eee79d263d762 | [
"MIT"
] | null | null | null | from flask_restful import Resource
class HelloWorld(Resource):
@staticmethod
def get():
return {"hello": "world"}
| 16.5 | 34 | 0.666667 | 14 | 132 | 6.214286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 132 | 7 | 35 | 18.857143 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
bf1ef78ba4d3ce8d11e09c4693724f3af8f59630 | 23 | py | Python | examples/py27-0026-set-literals2.py | jwilk-forks/python-grammar-changes | 5cbc14e520fadfef8539760a4ffdbe14b9d02f39 | [
"MIT"
] | 8 | 2020-11-21T22:39:41.000Z | 2022-03-13T18:45:53.000Z | examples/py27-0026-set-literals2.py | jwilk-forks/python-grammar-changes | 5cbc14e520fadfef8539760a4ffdbe14b9d02f39 | [
"MIT"
] | 1 | 2021-12-10T10:45:38.000Z | 2021-12-10T10:45:38.000Z | examples/py27-0026-set-literals2.py | jwilk-forks/python-grammar-changes | 5cbc14e520fadfef8539760a4ffdbe14b9d02f39 | [
"MIT"
] | 1 | 2022-02-07T11:16:38.000Z | 2022-02-07T11:16:38.000Z | {i for i in range(3)}
| 7.666667 | 21 | 0.565217 | 6 | 23 | 2.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.26087 | 23 | 2 | 22 | 11.5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
171142041890920f4a9b87780fb50ce13766b470 | 237 | py | Python | tests/test_nsct.py | njarvis/nsct | acad19818ab097363e6fba1c1e75bf47c6a41381 | [
"MIT"
] | 4 | 2018-02-26T04:46:09.000Z | 2018-09-06T06:28:51.000Z | tests/test_nsct.py | njarvis/nsct | acad19818ab097363e6fba1c1e75bf47c6a41381 | [
"MIT"
] | null | null | null | tests/test_nsct.py | njarvis/nsct | acad19818ab097363e6fba1c1e75bf47c6a41381 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
test_nsct
----------------------------------
Tests for `nsct` module.
"""
class TestNsct(object):
@classmethod
def set_up(self):
pass
@classmethod
def tear_down(self):
pass
| 13.166667 | 34 | 0.485232 | 24 | 237 | 4.666667 | 0.791667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.248945 | 237 | 17 | 35 | 13.941176 | 0.623596 | 0.392405 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
172e74efb205df7a3151a47e62e7fd3fd367fe10 | 1,307 | bzl | Python | third_party/com_fasterxml_jackson_module.bzl | wix/exodus | dfb0c9713b07a8b6a49b548b7b543021e748d80b | [
"MIT"
] | 186 | 2019-06-05T01:02:53.000Z | 2022-03-31T10:44:19.000Z | third_party/com_fasterxml_jackson_module.bzl | wix/exodus | dfb0c9713b07a8b6a49b548b7b543021e748d80b | [
"MIT"
] | 25 | 2019-06-04T23:18:55.000Z | 2021-09-22T03:44:25.000Z | third_party/com_fasterxml_jackson_module.bzl | wix/exodus | dfb0c9713b07a8b6a49b548b7b543021e748d80b | [
"MIT"
] | 17 | 2019-06-04T18:45:19.000Z | 2022-01-20T09:40:04.000Z | load("//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external")
def dependencies():
import_external(
name = "com_fasterxml_jackson_module_jackson_module_paranamer",
artifact = "com.fasterxml.jackson.module:jackson-module-paranamer:2.9.6",
artifact_sha256 = "dfd66598c0094d9... | 42.16129 | 91 | 0.753634 | 119 | 1,307 | 7.731092 | 0.302521 | 0.141304 | 0.18587 | 0.13587 | 0.506522 | 0.436957 | 0.395652 | 0.180435 | 0.180435 | 0 | 0 | 0.175663 | 0.163734 | 1,307 | 30 | 92 | 43.566667 | 0.666057 | 0 | 0 | 0.307692 | 0 | 0.038462 | 0.661056 | 0.661056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | true | 0 | 0.115385 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
173db5f145cdf33a6c0d4b3a0a022a091270db97 | 222 | py | Python | proxy_overrides/related.py | datamade/django-proxy-overrides | d8ad7e7ba33507a77ee17444cb1da7a630e2b479 | [
"BSD-3-Clause"
] | 7 | 2018-12-13T13:12:31.000Z | 2021-06-15T14:34:36.000Z | proxy_overrides/related.py | datamade/django-proxy-overrides | d8ad7e7ba33507a77ee17444cb1da7a630e2b479 | [
"BSD-3-Clause"
] | 5 | 2018-11-27T21:13:48.000Z | 2020-05-15T12:24:49.000Z | proxy_overrides/related.py | datamade/django-proxy-overrides | d8ad7e7ba33507a77ee17444cb1da7a630e2b479 | [
"BSD-3-Clause"
] | 4 | 2018-11-30T16:21:20.000Z | 2019-09-17T23:03:51.000Z | from django.db.models import ForeignKey
from .base import ProxyField
class ProxyForeignKey(ProxyField):
def __init__(self, *args, **kwargs):
super(ProxyForeignKey, self).__init__(ForeignKey(*args, **kwargs))
| 27.75 | 74 | 0.743243 | 25 | 222 | 6.28 | 0.64 | 0.127389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13964 | 222 | 7 | 75 | 31.714286 | 0.82199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
173eb525ddbe7b3e57a2d6eb7b7a4aa5434fe599 | 225 | py | Python | rangeesh/star_wars/admin.py | Rangeeshar/Django-Project | 7f229c726a22228a335c6e993e3852f16c5552b1 | [
"MIT"
] | null | null | null | rangeesh/star_wars/admin.py | Rangeeshar/Django-Project | 7f229c726a22228a335c6e993e3852f16c5552b1 | [
"MIT"
] | null | null | null | rangeesh/star_wars/admin.py | Rangeeshar/Django-Project | 7f229c726a22228a335c6e993e3852f16c5552b1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from star_wars.models import People, Species
@admin.register(People)
class PeopleAdmin(admin.ModelAdmin):
pass
@admin.register(Species)
class SpeciesAdmin(admin.ModelAdmin):
pass
| 16.071429 | 44 | 0.782222 | 28 | 225 | 6.25 | 0.571429 | 0.148571 | 0.217143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 225 | 13 | 45 | 17.307692 | 0.897436 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
17586891f27f087e90f361d842150e56ba710561 | 158 | py | Python | jrnl/__main__.py | TonyRoomZ/jrnl | 75459bb9fcd19107d56b9560094137924e88959f | [
"MIT"
] | null | null | null | jrnl/__main__.py | TonyRoomZ/jrnl | 75459bb9fcd19107d56b9560094137924e88959f | [
"MIT"
] | null | null | null | jrnl/__main__.py | TonyRoomZ/jrnl | 75459bb9fcd19107d56b9560094137924e88959f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
from __future__ import absolute_import, unicode_literals
from . import cli
if __name__ == "__main__":
cli.run()
| 17.555556 | 56 | 0.727848 | 22 | 158 | 4.590909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.158228 | 158 | 8 | 57 | 19.75 | 0.75188 | 0.227848 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1761fceb95910d0d663d2148909d3b1ac01da55d | 284 | py | Python | src/data_generator/day_ahead_extractors/pse/real_basic_data.py | BlooAM/Day-ahead-prices | e5c51682de4bb2b093fd6412b2131012e7e836ca | [
"MIT"
] | null | null | null | src/data_generator/day_ahead_extractors/pse/real_basic_data.py | BlooAM/Day-ahead-prices | e5c51682de4bb2b093fd6412b2131012e7e836ca | [
"MIT"
] | null | null | null | src/data_generator/day_ahead_extractors/pse/real_basic_data.py | BlooAM/Day-ahead-prices | e5c51682de4bb2b093fd6412b2131012e7e836ca | [
"MIT"
] | null | null | null | from src.data_generator.day_ahead_extractors.pse.base_day_ahead_extractor import PseDataDayAheadExtractor
__all__ = ('RealBasicDataDayAheadExtractor',)
class RealBasicDataDayAheadExtractor(PseDataDayAheadExtractor):
def _get_prediction_flag(self) -> bool:
return False
| 31.555556 | 105 | 0.830986 | 27 | 284 | 8.259259 | 0.851852 | 0.071749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 284 | 8 | 106 | 35.5 | 0.877953 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 0.105634 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1771546d9586b3e008225b64eba03c9691a016f2 | 28,053 | py | Python | configuration/alexa_responses.py | gruporofex/alexa_rofex | 338eb1e08da37a45f44eaab70a633e255d4b2be7 | [
"Apache-2.0"
] | null | null | null | configuration/alexa_responses.py | gruporofex/alexa_rofex | 338eb1e08da37a45f44eaab70a633e255d4b2be7 | [
"Apache-2.0"
] | null | null | null | configuration/alexa_responses.py | gruporofex/alexa_rofex | 338eb1e08da37a45f44eaab70a633e255d4b2be7 | [
"Apache-2.0"
] | 1 | 2019-06-02T14:17:14.000Z | 2019-06-02T14:17:14.000Z | # -*- coding: utf-8 -*-
"""
Alexa responses for the english version
"""
import config as conf
INIT_RESPONSE = {
conf.Language.EN : {
'session_attributes': {},
'card_title': "Welcome to ROFEX Skill",
'card_output': "Please, tell me an instrument and I'll give you the last price "
... | 53.741379 | 131 | 0.554807 | 3,304 | 28,053 | 4.637107 | 0.092918 | 0.025455 | 0.034724 | 0.044645 | 0.841916 | 0.789961 | 0.727629 | 0.678611 | 0.622544 | 0.573331 | 0 | 0.006471 | 0.316971 | 28,053 | 521 | 132 | 53.84453 | 0.791921 | 0.00884 | 0 | 0.376299 | 0 | 0.060291 | 0.653272 | 0.048699 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002079 | 0 | 0.002079 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
178fc4bc5799fef4d49a269da036bef10307919b | 217 | py | Python | math/average.py | parmalatinter/ai | 2bf7ae17013e8ae48d62b4c2892ee3a1d0a21648 | [
"MIT"
] | null | null | null | math/average.py | parmalatinter/ai | 2bf7ae17013e8ae48d62b4c2892ee3a1d0a21648 | [
"MIT"
] | 7 | 2021-03-25T23:01:51.000Z | 2022-03-12T00:26:49.000Z | math/average.py | parmalatinter/ai | 2bf7ae17013e8ae48d62b4c2892ee3a1d0a21648 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# 平均の求め方
def Average(numList):
return sum(numList) / len(numList)
def main():
numList = [1, 2, 3]
print(Average(numList))
if __name__ == "__main__":
main()
| 12.764706 | 39 | 0.562212 | 26 | 217 | 4.384615 | 0.692308 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019355 | 0.285714 | 217 | 16 | 40 | 13.5625 | 0.716129 | 0.124424 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.