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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
54d0c3f0ae68b706ed041587d739745d17917113 | 380 | py | Python | main/admin.py | sirodoht/mal | 82295e1b6a03cd9a7ee1357ca3f5be7a26d0ffe9 | [
"MIT"
] | 2 | 2020-03-29T18:47:18.000Z | 2020-05-12T07:03:36.000Z | main/admin.py | sirodoht/mal | 82295e1b6a03cd9a7ee1357ca3f5be7a26d0ffe9 | [
"MIT"
] | null | null | null | main/admin.py | sirodoht/mal | 82295e1b6a03cd9a7ee1357ca3f5be7a26d0ffe9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from main import models
class Admin(UserAdmin):
list_display = ("id", "username", "email", "date_joined", "last_login")
admin.site.register(models.User, Admin)
class DocumentAdmin(admin.ModelAdmin):
list_display = ("id", "ti... | 20 | 75 | 0.747368 | 48 | 380 | 5.833333 | 0.541667 | 0.071429 | 0.121429 | 0.164286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 380 | 18 | 76 | 21.111111 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0.113158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
54d9afa8624f72c8f6f8e3ffc3c4fcb52e42ad11 | 1,744 | py | Python | iri-node/fabfile.py | jinnerbichler/home-automflashion | f93442712322ab819651f453437c11f685640e83 | [
"Apache-2.0"
] | 8 | 2018-02-06T15:18:08.000Z | 2020-07-12T20:16:22.000Z | iri-node/fabfile.py | jinnerbichler/home-autoflashion | f93442712322ab819651f453437c11f685640e83 | [
"Apache-2.0"
] | 1 | 2018-09-02T17:10:57.000Z | 2018-10-02T04:14:43.000Z | iri-node/fabfile.py | jinnerbichler/home-autoflashion | f93442712322ab819651f453437c11f685640e83 | [
"Apache-2.0"
] | 1 | 2019-08-14T04:39:48.000Z | 2019-08-14T04:39:48.000Z | import time
from fabric.api import run, env, task, put, cd, local, sudo
env.use_ssh_config = True
env.hosts = ['iota_node']
@task(default=True)
def iri():
run('mkdir -p /srv/private-tangle/')
with cd('/srv/private-tangle'):
put('.', '.')
run('docker-compose --project-name private-tangle pull'... | 24.222222 | 113 | 0.639908 | 237 | 1,744 | 4.679325 | 0.270042 | 0.234445 | 0.158702 | 0.207394 | 0.620379 | 0.620379 | 0.620379 | 0.620379 | 0.586114 | 0.586114 | 0 | 0.007846 | 0.196101 | 1,744 | 71 | 114 | 24.56338 | 0.783167 | 0.030963 | 0 | 0.4 | 0 | 0.02 | 0.536455 | 0.018376 | 0 | 0 | 0 | 0 | 0 | 1 | 0.18 | true | 0 | 0.04 | 0 | 0.22 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54f75a0784cdbed72bcde377b44202a6cfd58c51 | 382 | py | Python | netrunner/test_settings.py | MrAGi/netrunner-cambridge | bae0603486c2aa5a980e8e19207452fb01ec2193 | [
"MIT"
] | null | null | null | netrunner/test_settings.py | MrAGi/netrunner-cambridge | bae0603486c2aa5a980e8e19207452fb01ec2193 | [
"MIT"
] | null | null | null | netrunner/test_settings.py | MrAGi/netrunner-cambridge | bae0603486c2aa5a980e8e19207452fb01ec2193 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .settings import *
DEBUG = True
TEMPLATE_DEBUG = DEBUG
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': os.environ['LOCAL_DB_NAME'],
'USER': os.environ['LOCAL_DB_USER'],
'PASSWORD': os.environ['LOCAL_DB_PASSWORD']... | 21.222222 | 59 | 0.568063 | 44 | 382 | 4.75 | 0.659091 | 0.129187 | 0.200957 | 0.229665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041522 | 0.243456 | 382 | 18 | 60 | 21.222222 | 0.681661 | 0.054974 | 0 | 0 | 0 | 0 | 0.363889 | 0.105556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
070d242ccbb22625007056e552b13c344fbecb38 | 474 | py | Python | Chapter13_code/ch13_r05_using_the_rpc_api/xmlrpc.py | PacktPublishing/Odoo-Development-Cookbook | 5553110c0bc352c4541f11904e236cad3c443b8b | [
"MIT"
] | 55 | 2016-05-23T16:05:50.000Z | 2021-07-19T00:16:46.000Z | Chapter13_code/ch13_r05_using_the_rpc_api/xmlrpc.py | kogkog098/Odoo-Development-Cookbook | 166c9b98efbc9108b30d719213689afb1f1c294d | [
"MIT"
] | 1 | 2016-12-09T02:14:21.000Z | 2018-07-02T09:02:20.000Z | Chapter13_code/ch13_r05_using_the_rpc_api/xmlrpc.py | kogkog098/Odoo-Development-Cookbook | 166c9b98efbc9108b30d719213689afb1f1c294d | [
"MIT"
] | 52 | 2016-06-01T20:03:59.000Z | 2020-10-31T23:58:25.000Z | #!/usr/bin/env python2
import xmlrpclib
db = 'odoo9'
user = 'admin'
password = 'admin'
uid = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/2/common')\
.authenticate(db, user, password, {})
odoo = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/2/object')
installed_modules = odoo.execute_kw(
db, uid, ... | 31.6 | 69 | 0.681435 | 58 | 474 | 5.5 | 0.603448 | 0.125392 | 0.15047 | 0.206897 | 0.275862 | 0.275862 | 0.275862 | 0 | 0 | 0 | 0 | 0.028916 | 0.124473 | 474 | 14 | 70 | 33.857143 | 0.739759 | 0.044304 | 0 | 0 | 0 | 0 | 0.307522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0.083333 | null | null | 0.083333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
07283cf3af01e90d346a6f3a53d9608574682da0 | 706 | py | Python | tests/home_assistant/custom_features.py | jre21/mindmeld | 6a88e4b0dfc7971f6bf9ae406b89dbc76f68af81 | [
"Apache-2.0"
] | 1 | 2021-01-06T23:39:57.000Z | 2021-01-06T23:39:57.000Z | tests/home_assistant/custom_features.py | jre21/mindmeld | 6a88e4b0dfc7971f6bf9ae406b89dbc76f68af81 | [
"Apache-2.0"
] | 1 | 2021-02-02T22:53:01.000Z | 2021-02-02T22:53:01.000Z | tests/home_assistant/custom_features.py | jre21/mindmeld | 6a88e4b0dfc7971f6bf9ae406b89dbc76f68af81 | [
"Apache-2.0"
] | null | null | null | from mindmeld.models.helpers import register_query_feature
@register_query_feature(feature_name='average-token-length')
def extract_average_token_length(**args):
"""
Example query feature that gets the average length of normalized tokens in the query„
Returns:
(function) A feature extraction func... | 35.3 | 89 | 0.729462 | 89 | 706 | 5.606742 | 0.483146 | 0.132265 | 0.180361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196884 | 706 | 19 | 90 | 37.157895 | 0.878307 | 0.375354 | 0 | 0 | 0 | 0 | 0.096852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
073a8f2eb2cea5666b00d9e848e53968468e9ca6 | 130 | py | Python | Setup Rich Text Editor/mysite/main/urls.py | AyemunHossain/Django | 0b1ed21fd6bd2906a4a1a220c029a2193658320f | [
"MIT"
] | 2 | 2020-02-14T19:23:50.000Z | 2020-04-19T08:26:38.000Z | Setup Rich Text Editor/mysite/main/urls.py | AyemunHossain/Django | 0b1ed21fd6bd2906a4a1a220c029a2193658320f | [
"MIT"
] | 42 | 2021-02-02T23:08:30.000Z | 2022-03-12T00:54:55.000Z | Setup Rich Text Editor/mysite/main/urls.py | AyemunHossain/Django | 0b1ed21fd6bd2906a4a1a220c029a2193658320f | [
"MIT"
] | 1 | 2022-03-07T08:09:41.000Z | 2022-03-07T08:09:41.000Z | from django.urls import path
from . import views
app_name = "main"
urlpatterns = [
path("",views.homepage,name="homepage")
] | 16.25 | 43 | 0.7 | 17 | 130 | 5.294118 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161538 | 130 | 8 | 44 | 16.25 | 0.825688 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
07494bf06325a1ec59e4ef3f00ab6c72a53bc972 | 1,293 | py | Python | setup.py | editorconfig/editorconfig-core-py | f43312abcf6888b78ca80f1e95bfa627281746ad | [
"PSF-2.0",
"BSD-2-Clause"
] | 70 | 2015-01-12T09:55:18.000Z | 2022-03-29T06:15:49.000Z | setup.py | editorconfig/editorconfig-core-py | f43312abcf6888b78ca80f1e95bfa627281746ad | [
"PSF-2.0",
"BSD-2-Clause"
] | 26 | 2015-09-15T06:46:51.000Z | 2022-03-28T08:56:35.000Z | setup.py | editorconfig/editorconfig-core-py | f43312abcf6888b78ca80f1e95bfa627281746ad | [
"PSF-2.0",
"BSD-2-Clause"
] | 28 | 2015-04-05T18:07:16.000Z | 2022-03-28T08:08:00.000Z | import os
from setuptools import setup
# Read the version
g = {}
with open(os.path.join("editorconfig", "version.py"), "rt") as fp:
exec(fp.read(), g)
v = g['VERSION']
version = ".".join(str(x) for x in v[:3])
if v[3] != "final":
version += "-" + v[3]
setup(
name='EditorConfig',
versio... | 31.536585 | 72 | 0.590101 | 136 | 1,293 | 5.558824 | 0.492647 | 0.22619 | 0.297619 | 0.206349 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016563 | 0.2529 | 1,293 | 40 | 73 | 32.325 | 0.766046 | 0.012374 | 0 | 0 | 0 | 0 | 0.521569 | 0.020392 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.054054 | 0 | 0.054054 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
074981b228683f09166c88b994c571524093496b | 6,035 | py | Python | multi_group_memory_contrast.py | wangzy0327/hadoop-cluster-docker | cf1de6bf458ade132ad5a688e4f8f9b9968a704a | [
"Apache-2.0"
] | 1 | 2020-03-03T10:16:33.000Z | 2020-03-03T10:16:33.000Z | multi_group_memory_contrast.py | wangzy0327/hadoop-cluster-docker | cf1de6bf458ade132ad5a688e4f8f9b9968a704a | [
"Apache-2.0"
] | null | null | null | multi_group_memory_contrast.py | wangzy0327/hadoop-cluster-docker | cf1de6bf458ade132ad5a688e4f8f9b9968a704a | [
"Apache-2.0"
] | 1 | 2020-12-21T09:20:52.000Z | 2020-12-21T09:20:52.000Z | import numpy as np
import matplotlib.pyplot as plt
t = np.arange(0,375,6.5)
# MEM_1 = [0.031, 0.034, 0.034, 0.034, 0.031, 0.034, 0.034, 0.034, 0.031, 0.033, 0.035, 0.034, 0.031, 0.033, 0.034, 0.034, 0.031, 0.033, 0.034, 0.034, 0.031, 0.033, 0.034, 0.034, 0.031, 0.033, 0.034, 0.034, 0.031, 0.031, 0.031, 0.031, 0.031, 0... | 104.051724 | 414 | 0.596189 | 1,561 | 6,035 | 2.288917 | 0.162716 | 0.047019 | 0.057375 | 0.089561 | 0.469633 | 0.403303 | 0.402463 | 0.36468 | 0.359082 | 0.357963 | 0 | 0.498756 | 0.133886 | 6,035 | 57 | 415 | 105.877193 | 0.18481 | 0.314002 | 0 | 0.111111 | 0 | 0 | 0.107048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
074b9d7491ffbc8fda4dfce94456f63c57933830 | 437 | py | Python | Part_3_advanced/m04_datetime_and_timedelta/datetime_formats/example_1.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m04_datetime_and_timedelta/datetime_formats/example_1.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m04_datetime_and_timedelta/datetime_formats/example_1.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | from datetime import datetime
def run_example():
moment_in_time = datetime.fromordinal(256)
print(moment_in_time)
print(moment_in_time.toordinal())
print(moment_in_time.weekday())
print(moment_in_time.isoweekday())
other_moment = datetime.fromtimestamp(16_000_000)
print(other_moment)
... | 23 | 53 | 0.734554 | 55 | 437 | 5.363636 | 0.436364 | 0.135593 | 0.20339 | 0.230508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029891 | 0.157895 | 437 | 18 | 54 | 24.277778 | 0.771739 | 0 | 0 | 0 | 0 | 0 | 0.018307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.153846 | 0.538462 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
07532f5a10906c237ad3a39209766e0e40d93170 | 3,036 | py | Python | maps/views.py | WPRDC/neighborhood-simulacrum | 46892dfdbc8bc3201e31fee4ee991c49b208753e | [
"MIT"
] | null | null | null | maps/views.py | WPRDC/neighborhood-simulacrum | 46892dfdbc8bc3201e31fee4ee991c49b208753e | [
"MIT"
] | 6 | 2020-12-18T17:21:35.000Z | 2021-03-03T21:08:44.000Z | maps/views.py | WPRDC/neighborhood-simulacrum | 46892dfdbc8bc3201e31fee4ee991c49b208753e | [
"MIT"
] | null | null | null | import json
from typing import Type, TYPE_CHECKING
from django.core.exceptions import ObjectDoesNotExist
from django.utils.decorators import method_decorator
from django.views.decorators.cache import cache_page
from rest_framework import viewsets, filters
from rest_framework.exceptions import NotFound
from rest_framew... | 35.717647 | 94 | 0.745389 | 334 | 3,036 | 6.643713 | 0.386228 | 0.025237 | 0.053628 | 0.019829 | 0.032447 | 0.032447 | 0.032447 | 0 | 0 | 0 | 0 | 0.001625 | 0.189394 | 3,036 | 84 | 95 | 36.142857 | 0.900041 | 0.075758 | 0 | 0.066667 | 0 | 0 | 0.045651 | 0.010424 | 0 | 0 | 0 | 0.011905 | 0 | 1 | 0.083333 | false | 0 | 0.333333 | 0.033333 | 0.716667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0762390f8b5995d6cf171f62842c5c4b8e02141e | 985 | py | Python | lib/generate_random_obs.py | zehuilu/Learning-from-Sparse-Demonstrations | 4d652635c24f847fe51bc050773762b549ce41c0 | [
"MIT"
] | 8 | 2020-08-16T00:09:57.000Z | 2021-09-24T00:58:46.000Z | lib/generate_random_obs.py | zehuilu/Learning-from-Sparse-Demonstrations | 4d652635c24f847fe51bc050773762b549ce41c0 | [
"MIT"
] | null | null | null | lib/generate_random_obs.py | zehuilu/Learning-from-Sparse-Demonstrations | 4d652635c24f847fe51bc050773762b549ce41c0 | [
"MIT"
] | 2 | 2021-01-26T02:33:13.000Z | 2021-08-25T01:52:07.000Z | #!/usr/bin/env python3
import os
import sys
import time
sys.path.append(os.getcwd()+'/lib')
import random
from dataclasses import dataclass, field
from ObsInfo import ObsInfo
def generate_random_obs(num_obs: int, size_list: list, config_data):
"""
config_file_name = "config.json"
json_file = open(config_f... | 30.78125 | 131 | 0.658883 | 139 | 985 | 4.381295 | 0.381295 | 0.131363 | 0.128079 | 0.17734 | 0.357964 | 0.357964 | 0.357964 | 0.205255 | 0.137931 | 0 | 0 | 0.01261 | 0.194924 | 985 | 32 | 132 | 30.78125 | 0.755359 | 0.177665 | 0 | 0 | 1 | 0 | 0.174136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.375 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4ae54219ff08b6f61e95d73dac2e96ebfcf30193 | 12,521 | py | Python | maestros/lookups.py | Infinityloopsistemas/SIVA | 92b6c82f018d39ef405989639974d1f2757476ed | [
"BSD-3-Clause"
] | null | null | null | maestros/lookups.py | Infinityloopsistemas/SIVA | 92b6c82f018d39ef405989639974d1f2757476ed | [
"BSD-3-Clause"
] | 1 | 2018-09-27T12:07:19.000Z | 2018-10-08T15:56:30.000Z | maestros/lookups.py | Infinityloopsistemas/SIVA | 92b6c82f018d39ef405989639974d1f2757476ed | [
"BSD-3-Clause"
] | 1 | 2018-10-12T13:41:20.000Z | 2018-10-12T13:41:20.000Z | # -*- coding: utf-8 -*-
from selectable.decorators import login_required
from maestros.models import TiposMedidasActuacion, TiposLimitesCriticos, TiposMedidasVigilancia, TiposTemperaturas, TiposFrecuencias, Zonas, Terceros, CatalogoEquipos, Personal, Consumibles, ParametrosAnalisis, Actividades, Etapas, Peligros, Tipos... | 31.459799 | 304 | 0.72614 | 1,363 | 12,521 | 6.445341 | 0.074101 | 0.043028 | 0.047809 | 0.037564 | 0.685373 | 0.682755 | 0.682755 | 0.682755 | 0.67786 | 0.653159 | 0 | 0.000097 | 0.177382 | 12,521 | 397 | 305 | 31.539043 | 0.852816 | 0.001677 | 0 | 0.64539 | 0 | 0 | 0.045851 | 0.035529 | 0 | 0 | 0 | 0 | 0 | 1 | 0.223404 | false | 0 | 0.021277 | 0.148936 | 0.691489 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
4afdfa383647f87d1307da42b1ada1260c01b5fa | 127 | py | Python | hubconf.py | jamesmcclain/pytorch-multi-class-focal-loss | de74657769e07dc40be838a6277dea269bfddad0 | [
"MIT"
] | 81 | 2020-10-20T23:46:47.000Z | 2022-03-16T15:56:40.000Z | hubconf.py | jamesmcclain/pytorch-multi-class-focal-loss | de74657769e07dc40be838a6277dea269bfddad0 | [
"MIT"
] | 3 | 2020-10-12T13:34:02.000Z | 2022-03-29T13:39:26.000Z | hubconf.py | jamesmcclain/pytorch-multi-class-focal-loss | de74657769e07dc40be838a6277dea269bfddad0 | [
"MIT"
] | 12 | 2020-10-09T18:36:50.000Z | 2021-12-02T06:37:04.000Z | # Optional list of dependencies required by the package
dependencies = ['torch']
from focal_loss import FocalLoss, focal_loss
| 25.4 | 55 | 0.80315 | 17 | 127 | 5.882353 | 0.823529 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141732 | 127 | 4 | 56 | 31.75 | 0.917431 | 0.417323 | 0 | 0 | 0 | 0 | 0.069444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ab0c9b875cdd149ecbc52dfdd37e40b2bcaaf2e8 | 416 | py | Python | setup.py | darlenew/pytest-testplan | 85ef0c196efced681b6559328b3db3d409b2612d | [
"MIT"
] | null | null | null | setup.py | darlenew/pytest-testplan | 85ef0c196efced681b6559328b3db3d409b2612d | [
"MIT"
] | null | null | null | setup.py | darlenew/pytest-testplan | 85ef0c196efced681b6559328b3db3d409b2612d | [
"MIT"
] | null | null | null | """Setup for pytest-testplan plugin."""
from setuptools import setup
setup(
name='pytest-testplan',
version='0.1.0',
description='A pytest plugin to generate a CSV test report.',
author='Darlene Wong',
author_email='darlene.py@gmail.com',
license='MIT',
py_modules=['pytest_testplan'],
... | 26 | 65 | 0.673077 | 51 | 416 | 5.372549 | 0.666667 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014451 | 0.168269 | 416 | 15 | 66 | 27.733333 | 0.777457 | 0.079327 | 0 | 0 | 1 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ab1934eb319ba24ec86beec019a4db6fcc3fa01b | 698 | py | Python | 2017/lab_dh/utils.py | JustHitTheCore/ctf_workshops | d50e8a5c90e80cdae3e17a92bce83955f0618570 | [
"MIT"
] | 7 | 2016-12-27T17:32:43.000Z | 2019-03-27T07:15:23.000Z | 2017/lab_dh/utils.py | JustHitTheCore/ctf_workshops | d50e8a5c90e80cdae3e17a92bce83955f0618570 | [
"MIT"
] | 1 | 2017-12-07T02:21:29.000Z | 2017-12-07T02:21:29.000Z | 2017/lab_dh/utils.py | JustHitTheCore/ctf_workshops | d50e8a5c90e80cdae3e17a92bce83955f0618570 | [
"MIT"
] | 1 | 2017-01-08T01:49:05.000Z | 2017-01-08T01:49:05.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
~Gros
'''
from hashlib import sha256
import random
def add_padding(data, block_size=16):
"""add PKCS#7 padding"""
size = block_size - (len(data)%block_size)
return data+chr(size)*size
def strip_padding(data, block_size=16):
"""strip PKCS#7 padding"... | 22.516129 | 87 | 0.659026 | 104 | 698 | 4.307692 | 0.461538 | 0.120536 | 0.087054 | 0.089286 | 0.098214 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041594 | 0.173352 | 698 | 31 | 88 | 22.516129 | 0.734835 | 0.126075 | 0 | 0 | 0 | 0 | 0.025338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ab43951bf5dc988e3a4948ac307ca905f1536445 | 223 | py | Python | Programas do Curso/Desafio 2.py | carvalhopedro22/Programas-em-python-cursos-e-geral- | 970e1ebe6cdd1e31f52dfd60328c2203d4de3ef1 | [
"MIT"
] | null | null | null | Programas do Curso/Desafio 2.py | carvalhopedro22/Programas-em-python-cursos-e-geral- | 970e1ebe6cdd1e31f52dfd60328c2203d4de3ef1 | [
"MIT"
] | null | null | null | Programas do Curso/Desafio 2.py | carvalhopedro22/Programas-em-python-cursos-e-geral- | 970e1ebe6cdd1e31f52dfd60328c2203d4de3ef1 | [
"MIT"
] | null | null | null | nome = input('Qual o seu nome? ')
dia = input('Que dia do mês você nasceu? ')
mes = input('Qual o mês em que você nasceu? ')
ano = input('Qual o ano em que você nasceu? ')
print(nome, 'nasceu em', dia,'de',mes,'do ano',ano) | 44.6 | 51 | 0.650224 | 42 | 223 | 3.452381 | 0.380952 | 0.186207 | 0.206897 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179372 | 223 | 5 | 51 | 44.6 | 0.79235 | 0 | 0 | 0 | 0 | 0 | 0.553571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ab5634ebc042f640696c7b2e6eb9efb69e3e48b5 | 258 | py | Python | app/models/product.py | VyachAp/SalesFABackend | dcbe1b5106c030ee07535795dfd7b97613a1203d | [
"MIT"
] | 80 | 2020-10-06T00:35:57.000Z | 2022-03-31T19:56:24.000Z | app/models/product.py | VyachAp/SalesFABackend | dcbe1b5106c030ee07535795dfd7b97613a1203d | [
"MIT"
] | 1 | 2021-03-28T06:17:41.000Z | 2021-04-03T06:41:09.000Z | app/models/product.py | VyachAp/SalesFABackend | dcbe1b5106c030ee07535795dfd7b97613a1203d | [
"MIT"
] | 24 | 2020-11-14T03:04:43.000Z | 2022-03-11T15:44:44.000Z | from sqlalchemy import Column, Integer, String, Float
from app.database.base_class import Base
class Product(Base):
id = Column(Integer, primary_key=True, index=True)
name = Column(String, nullable=False)
price = Column(Float, nullable=False)
| 25.8 | 54 | 0.744186 | 35 | 258 | 5.428571 | 0.6 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158915 | 258 | 9 | 55 | 28.666667 | 0.875576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
db4793142f42cba39f558b2249770456a14a7e8a | 600 | py | Python | relaax/algorithms/ddpg/parameter_server.py | deeplearninc/relaax | a0cf280486dc74dca3857c85ec0e4c34e88d6b2b | [
"MIT"
] | 71 | 2017-01-25T00:26:20.000Z | 2021-02-17T12:39:20.000Z | relaax/algorithms/ddpg/parameter_server.py | deeplearninc/relaax | a0cf280486dc74dca3857c85ec0e4c34e88d6b2b | [
"MIT"
] | 69 | 2017-01-23T19:29:23.000Z | 2018-08-21T13:26:39.000Z | relaax/algorithms/ddpg/parameter_server.py | deeplearninc/relaax | a0cf280486dc74dca3857c85ec0e4c34e88d6b2b | [
"MIT"
] | 13 | 2017-01-23T21:18:09.000Z | 2019-01-29T23:48:30.000Z | from __future__ import absolute_import
from relaax.server.parameter_server import parameter_server_base
from relaax.server.common import session
from . import ddpg_model
class ParameterServer(parameter_server_base.ParameterServerBase):
def init_session(self):
self.session = session.Session(ddpg_model.Sha... | 27.272727 | 69 | 0.745 | 76 | 600 | 5.592105 | 0.368421 | 0.155294 | 0.122353 | 0.148235 | 0.108235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178333 | 600 | 21 | 70 | 28.571429 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.266667 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
db626314c3f603e0417951997ccb255cc99fda86 | 2,900 | py | Python | evaluation/dmp_behavior.py | rock-learning/approxik | 877d50d4d045457593a2fafefd267339a11de20f | [
"BSD-3-Clause"
] | 1 | 2020-03-27T01:53:57.000Z | 2020-03-27T01:53:57.000Z | evaluation/dmp_behavior.py | rock-learning/approxik | 877d50d4d045457593a2fafefd267339a11de20f | [
"BSD-3-Clause"
] | null | null | null | evaluation/dmp_behavior.py | rock-learning/approxik | 877d50d4d045457593a2fafefd267339a11de20f | [
"BSD-3-Clause"
] | 1 | 2020-12-18T02:09:21.000Z | 2020-12-18T02:09:21.000Z | # Author: Alexander Fabisch <Alexander.Fabisch@dfki.de>
import numpy as np
from bolero.representation import BlackBoxBehavior
from bolero.representation import DMPBehavior as DMPBehaviorImpl
class DMPBehavior(BlackBoxBehavior):
"""Dynamical Movement Primitive.
Parameters
----------
execution_time : ... | 28.712871 | 79 | 0.633103 | 372 | 2,900 | 4.755376 | 0.252688 | 0.055399 | 0.03957 | 0.03844 | 0.321085 | 0.289429 | 0.254381 | 0.13567 | 0.13567 | 0.13567 | 0 | 0.01171 | 0.263793 | 2,900 | 100 | 80 | 29 | 0.816862 | 0.236897 | 0 | 0.230769 | 0 | 0 | 0.000477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.326923 | false | 0 | 0.057692 | 0.115385 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
db7bb396855ddfa537f07ed9527e3bc449422f2a | 274 | py | Python | bin/Python27/Lib/site-packages/tables/utilsExtension.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | null | null | null | bin/Python27/Lib/site-packages/tables/utilsExtension.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | null | null | null | bin/Python27/Lib/site-packages/tables/utilsExtension.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | null | null | null | from warnings import warn
from tables.utilsextension import *
_warnmsg = ("utilsExtension is pending deprecation, import utilsextension instead. "
"You may use the pt2to3 tool to update your source code.")
warn(_warnmsg, DeprecationWarning, stacklevel=2)
| 39.142857 | 85 | 0.751825 | 32 | 274 | 6.375 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013453 | 0.186131 | 274 | 6 | 86 | 45.666667 | 0.901345 | 0 | 0 | 0 | 0 | 0 | 0.466418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
db7ce31c6a43ef5813c6d71caa6c1ea9655847e6 | 188 | py | Python | dashboard_analytics/tasks/transaction_processor.py | Astewart1510/pvt-algoranddashboard | 6fb6cf37b483339f24cc86f0a95fb2245be492ca | [
"MIT"
] | null | null | null | dashboard_analytics/tasks/transaction_processor.py | Astewart1510/pvt-algoranddashboard | 6fb6cf37b483339f24cc86f0a95fb2245be492ca | [
"MIT"
] | null | null | null | dashboard_analytics/tasks/transaction_processor.py | Astewart1510/pvt-algoranddashboard | 6fb6cf37b483339f24cc86f0a95fb2245be492ca | [
"MIT"
] | null | null | null | from dashboard_analytics.models import AccountType, InstrumentType, Account, Transaction
def process_json_transactions(transactions):
for txn in transactions:
print(txn["pk"]) | 37.6 | 88 | 0.787234 | 21 | 188 | 6.904762 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 188 | 5 | 89 | 37.6 | 0.895062 | 0 | 0 | 0 | 0 | 0 | 0.010582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
db80f4198878eb7bd4645b74c2bea6781e993672 | 4,663 | py | Python | examples/pybullet/vr_kuka_setup.py | q4a/bullet3 | b077f74f5675fb9ca7bafd238f097f87bf6c0367 | [
"Zlib"
] | 12 | 2017-08-24T05:58:53.000Z | 2021-07-15T17:32:26.000Z | examples/pybullet/vr_kuka_setup.py | mofed8461/BulletPhysics-EarthQuakeSimulation | d411684d0293a18039d4180f5bc8dab33d063fce | [
"Zlib"
] | null | null | null | examples/pybullet/vr_kuka_setup.py | mofed8461/BulletPhysics-EarthQuakeSimulation | d411684d0293a18039d4180f5bc8dab33d063fce | [
"Zlib"
] | 2 | 2018-01-13T07:49:58.000Z | 2020-10-21T02:48:25.000Z | import pybullet as p
#p.connect(p.UDP,"192.168.86.100")
p.connect(p.SHARED_MEMORY)
p.resetSimulation()
objects = [p.loadURDF("plane.urdf", 0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1.000000)]
objects = [p.loadURDF("samurai.urdf", 0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1.000000)]
objects = [p... | 58.2875 | 121 | 0.749517 | 793 | 4,663 | 4.354351 | 0.138714 | 0.188532 | 0.171445 | 0.206777 | 0.668404 | 0.663481 | 0.590211 | 0.494932 | 0.463076 | 0.450623 | 0 | 0.347974 | 0.052756 | 4,663 | 79 | 122 | 59.025316 | 0.433779 | 0.007077 | 0 | 0.107692 | 0 | 0 | 0.103694 | 0.023547 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015385 | 0 | 0.015385 | 0.092308 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
db867f235dd317f96cc49c5953d0a91169b52a4a | 3,977 | py | Python | src/tone.py | devanshslnk/HelpOff | bbeddc8bbb9d26bbc85f572d4769fc9fc92d5c4a | [
"MIT"
] | 2 | 2018-10-08T06:01:42.000Z | 2021-06-22T08:35:11.000Z | src/tone.py | devanshslnk/HelpOff | bbeddc8bbb9d26bbc85f572d4769fc9fc92d5c4a | [
"MIT"
] | null | null | null | src/tone.py | devanshslnk/HelpOff | bbeddc8bbb9d26bbc85f572d4769fc9fc92d5c4a | [
"MIT"
] | 3 | 2018-10-09T19:04:14.000Z | 2019-01-22T11:59:28.000Z | from __future__ import print_function
import json
from os.path import join, dirname
from watson_developer_cloud import ToneAnalyzerV3
from watson_developer_cloud.tone_analyzer_v3 import ToneInput
from pprint import pprint
# If service instance provides API key authentication
# service = ToneAnalyzerV3(
# ## url i... | 41.863158 | 755 | 0.681167 | 554 | 3,977 | 4.750903 | 0.333935 | 0.027356 | 0.037234 | 0.038754 | 0.448708 | 0.409195 | 0.394377 | 0.369301 | 0.369301 | 0.368921 | 0 | 0.018354 | 0.178024 | 3,977 | 95 | 756 | 41.863158 | 0.786785 | 0.644959 | 0 | 0 | 0 | 0.071429 | 0.609247 | 0.026846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.428571 | 0 | 0.428571 | 0.214286 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
db8d61593765031987787c7a317fdb992cec34a2 | 779 | py | Python | app/deps.py | jshwi/jss | b9f29d47c63cd57d0efc1abec37152e97a92049f | [
"MIT"
] | 1 | 2021-11-07T14:50:00.000Z | 2021-11-07T14:50:00.000Z | app/deps.py | jshwi/jss | b9f29d47c63cd57d0efc1abec37152e97a92049f | [
"MIT"
] | 75 | 2021-09-30T03:33:57.000Z | 2022-03-29T08:42:07.000Z | app/deps.py | jshwi/jss | b9f29d47c63cd57d0efc1abec37152e97a92049f | [
"MIT"
] | null | null | null | """
app.deps
========
Register dependencies that are not part of a ``Flask`` extension.
"""
from flask import Flask
from redis import Redis
from rq import Queue
def init_app(app: Flask) -> None:
"""Register application helpers that are not ``Flask-`` extensions.
As these are not ``Flask`` extensions they do... | 29.961538 | 77 | 0.677792 | 115 | 779 | 4.513043 | 0.556522 | 0.046243 | 0.038536 | 0.080925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202824 | 779 | 25 | 78 | 31.16 | 0.835749 | 0.6457 | 0 | 0 | 0 | 0 | 0.077253 | 0 | 0 | 0 | 0 | 0.04 | 0 | 1 | 0.166667 | false | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
dbad9f49539fab32473ae89e8b92b989783f9cfd | 89 | py | Python | webBlog/apps.py | JordanBRoberts/python-theBand | 1e475a45a42b210c722ab43c0b966d7b58d97a9d | [
"MIT"
] | null | null | null | webBlog/apps.py | JordanBRoberts/python-theBand | 1e475a45a42b210c722ab43c0b966d7b58d97a9d | [
"MIT"
] | null | null | null | webBlog/apps.py | JordanBRoberts/python-theBand | 1e475a45a42b210c722ab43c0b966d7b58d97a9d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WebblogConfig(AppConfig):
name = 'webBlog'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dbb47fb9bbbb993b07541531acf7c95109ac62eb | 142 | py | Python | top/urls.py | pbexe/nextbike-top | eca086406cf6b96d6e086dd0fa9ecae5b6364f4d | [
"MIT"
] | null | null | null | top/urls.py | pbexe/nextbike-top | eca086406cf6b96d6e086dd0fa9ecae5b6364f4d | [
"MIT"
] | null | null | null | top/urls.py | pbexe/nextbike-top | eca086406cf6b96d6e086dd0fa9ecae5b6364f4d | [
"MIT"
] | null | null | null | from django.urls import include, path
from .views import home, bike
urlpatterns = [
path("", home),
path("bike/<int:number>", bike)
] | 20.285714 | 37 | 0.661972 | 19 | 142 | 4.947368 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 142 | 7 | 38 | 20.285714 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dbbee95cb22f9ddebb8ee025c418f2636a32f8bb | 790 | py | Python | shape_similarity.py | Toonwire/infancy_eye_tracking | 7b96a9d832f60f83fd5098ada2117ab1d0f56fed | [
"MIT"
] | null | null | null | shape_similarity.py | Toonwire/infancy_eye_tracking | 7b96a9d832f60f83fd5098ada2117ab1d0f56fed | [
"MIT"
] | null | null | null | shape_similarity.py | Toonwire/infancy_eye_tracking | 7b96a9d832f60f83fd5098ada2117ab1d0f56fed | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat May 25 13:17:49 2019
@author: Toonw
"""
import numpy as np
def vlen(a):
return (a[0]**2 + a[1]**2)**0.5
def add(v1,v2):
return (v1[0]+v2[0], v1[1]+v2[1])
def sub(v1,v2):
return (v1[0]-v2[0], v1[1]-v2[1])
def unit_vector(v):
vu = v / np.linalg.norm(v)
... | 23.939394 | 130 | 0.613924 | 144 | 790 | 3.326389 | 0.4375 | 0.033403 | 0.041754 | 0.050104 | 0.104384 | 0.104384 | 0.104384 | 0.104384 | 0.104384 | 0.104384 | 0 | 0.115207 | 0.175949 | 790 | 33 | 130 | 23.939394 | 0.620584 | 0.310127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.066667 | 0.266667 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
dbc72ca28fa155b841727c07f4d5032dac9e8938 | 5,161 | py | Python | src/robotide/publish/__init__.py | crylearner/RIDE3X | 767f45b0c908f18ecc7473208def8dc7489f43b0 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2017-08-20T14:46:02.000Z | 2017-08-20T14:46:02.000Z | src/robotide/publish/__init__.py | crylearner/RIDE3X | 767f45b0c908f18ecc7473208def8dc7489f43b0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/robotide/publish/__init__.py | crylearner/RIDE3X | 767f45b0c908f18ecc7473208def8dc7489f43b0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Copyright 2008-2015 Nokia Solutions and Networks
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org:licenses/LICENSE-2.0
#
# Unless required by appl... | 38.514925 | 83 | 0.742298 | 703 | 5,161 | 5.435277 | 0.386913 | 0.010468 | 0.018843 | 0.015703 | 0.044491 | 0.01989 | 0 | 0 | 0 | 0 | 0 | 0.004538 | 0.188723 | 5,161 | 133 | 84 | 38.804511 | 0.908049 | 0.895757 | 0 | 0 | 0 | 0 | 0.044041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.545455 | 0.090909 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
dbc804db6b0f3dbd711ac33b62c655260b3871e9 | 352 | py | Python | ProsperFlask/{{cookiecutter.project_name}}/tests/conftest.py | EVEprosper/ProsperCookiecutters | 569ca0c311a5ead2b49f0cdde4cb2ad14dcd3a2c | [
"MIT"
] | null | null | null | ProsperFlask/{{cookiecutter.project_name}}/tests/conftest.py | EVEprosper/ProsperCookiecutters | 569ca0c311a5ead2b49f0cdde4cb2ad14dcd3a2c | [
"MIT"
] | null | null | null | ProsperFlask/{{cookiecutter.project_name}}/tests/conftest.py | EVEprosper/ProsperCookiecutters | 569ca0c311a5ead2b49f0cdde4cb2ad14dcd3a2c | [
"MIT"
] | null | null | null | # AUTOGENERATED BY: ProsperCookiecutters/ProsperFlask
# TEMPLATE VERSION: {{cookiecutter.template_version}}
# AUTHOR: {{cookiecutter.author_name}}
"""PyTest fixtures and modifiers"""
import pytest
from {{cookiecutter.library_name}}.endpoints import APP
@pytest.fixture
def app():
"""flask test hook for dry-runni... | 23.466667 | 55 | 0.755682 | 40 | 352 | 6.575 | 0.7 | 0.114068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127841 | 352 | 14 | 56 | 25.142857 | 0.856678 | 0.397727 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9158ba2878b65e7507783af35fb834ff85d1e33a | 535 | py | Python | 3-working-with-lists/zip_tuples.py | thecodingsim/learn-python | bf8e98f40e73ebf7dcf5641312c2c0296d886952 | [
"MIT"
] | null | null | null | 3-working-with-lists/zip_tuples.py | thecodingsim/learn-python | bf8e98f40e73ebf7dcf5641312c2c0296d886952 | [
"MIT"
] | null | null | null | 3-working-with-lists/zip_tuples.py | thecodingsim/learn-python | bf8e98f40e73ebf7dcf5641312c2c0296d886952 | [
"MIT"
] | null | null | null | # Use zip() to create a new variable called names_and_dogs_names that combines owners and dogs_names lists into a zip object.
# Then, create a new variable named list_of_names_and_dogs_names by calling the list() function on names_and_dogs_names.
# Print list_of_names_and_dogs_names.
owners = ["Jenny", "Alexus", "Sa... | 48.636364 | 125 | 0.792523 | 91 | 535 | 4.274725 | 0.406593 | 0.254499 | 0.277635 | 0.349614 | 0.349614 | 0.349614 | 0.231362 | 0.231362 | 0.231362 | 0.231362 | 0 | 0 | 0.115888 | 535 | 11 | 126 | 48.636364 | 0.82241 | 0.519626 | 0 | 0 | 0 | 0 | 0.200787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
91685cf5f5c65ae2f279254e25c1a73ac7408132 | 609 | py | Python | app/blueprints/admin_api/__init__.py | lvyaoo/api-demo | f45c05c154385510572b5200b74dcbbfdb7e234c | [
"MIT"
] | null | null | null | app/blueprints/admin_api/__init__.py | lvyaoo/api-demo | f45c05c154385510572b5200b74dcbbfdb7e234c | [
"MIT"
] | null | null | null | app/blueprints/admin_api/__init__.py | lvyaoo/api-demo | f45c05c154385510572b5200b74dcbbfdb7e234c | [
"MIT"
] | null | null | null | from flask import Blueprint
from .hooks import admin_auth
from ...api_utils import *
bp_admin_api = Blueprint('bp_admin_api', __name__)
bp_admin_api.register_error_handler(APIError, handle_api_error)
bp_admin_api.register_error_handler(500, handle_500_error)
bp_admin_api.register_error_handler(400, handle_400_error)... | 33.833333 | 63 | 0.868637 | 100 | 609 | 4.73 | 0.24 | 0.147992 | 0.211416 | 0.22833 | 0.530655 | 0.433404 | 0.369979 | 0 | 0 | 0 | 0 | 0.052539 | 0.062397 | 609 | 17 | 64 | 35.823529 | 0.775832 | 0 | 0 | 0 | 0 | 0 | 0.019704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.307692 | 0.153846 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
917b4bfe42198de5b3e0fb37cbc4743cf9cac201 | 142 | py | Python | diagrams/outscale/__init__.py | analyticsftw/diagrams | 217af329a323084bb98031ac1768bc2353e6d9b6 | [
"MIT"
] | 17,037 | 2020-02-03T01:30:30.000Z | 2022-03-31T18:09:15.000Z | diagrams/outscale/__init__.py | analyticsftw/diagrams | 217af329a323084bb98031ac1768bc2353e6d9b6 | [
"MIT"
] | 529 | 2020-02-03T10:43:41.000Z | 2022-03-31T17:33:08.000Z | diagrams/outscale/__init__.py | analyticsftw/diagrams | 217af329a323084bb98031ac1768bc2353e6d9b6 | [
"MIT"
] | 1,068 | 2020-02-05T11:54:29.000Z | 2022-03-30T23:28:55.000Z | from diagrams import Node
class _Outscale(Node):
_provider = "outscale"
_icon_dir = "resources/outscale"
fontcolor = "#ffffff"
| 15.777778 | 36 | 0.690141 | 15 | 142 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 142 | 8 | 37 | 17.75 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0.232394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
917c654b7225932aa925e3dba908d54b0c600e75 | 565 | py | Python | deep_qa/layers/wrappers/output_mask.py | richarajpal/deep_qa | d918335a1bed71b9cfccf1d5743321cee9c61952 | [
"Apache-2.0"
] | 459 | 2017-02-08T13:40:17.000Z | 2021-12-12T12:57:48.000Z | deep_qa/layers/wrappers/output_mask.py | richarajpal/deep_qa | d918335a1bed71b9cfccf1d5743321cee9c61952 | [
"Apache-2.0"
] | 176 | 2017-01-26T01:19:41.000Z | 2018-04-22T19:16:01.000Z | deep_qa/layers/wrappers/output_mask.py | richarajpal/deep_qa | d918335a1bed71b9cfccf1d5743321cee9c61952 | [
"Apache-2.0"
] | 154 | 2017-01-26T01:00:30.000Z | 2021-02-05T10:44:42.000Z | from overrides import overrides
from ..masked_layer import MaskedLayer
class OutputMask(MaskedLayer):
"""
This Layer is purely for debugging. You can wrap this on a layer's output to get the mask
output by that layer as a model output, for easier visualization of what the model is actually
doing.
... | 26.904762 | 98 | 0.695575 | 82 | 565 | 4.768293 | 0.634146 | 0.061381 | 0.071611 | 0.092072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242478 | 565 | 20 | 99 | 28.25 | 0.913551 | 0.474336 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
9184ffff91bd0e91c571446c2eb2a2d6fb77ed63 | 126 | py | Python | Disp_pythonScript.py | maniegley/python | 0e3a98cbff910cc78b2c0386a9cca6c5bb20eefc | [
"MIT"
] | 1 | 2019-05-04T03:20:44.000Z | 2019-05-04T03:20:44.000Z | Disp_pythonScript.py | maniegley/python | 0e3a98cbff910cc78b2c0386a9cca6c5bb20eefc | [
"MIT"
] | null | null | null | Disp_pythonScript.py | maniegley/python | 0e3a98cbff910cc78b2c0386a9cca6c5bb20eefc | [
"MIT"
] | null | null | null | import sys
f = open("/home/vader/Desktop/test.py", "r")
#read all file
python_script = f.read()
print(python_script)
| 15.75 | 44 | 0.666667 | 20 | 126 | 4.1 | 0.8 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 126 | 7 | 45 | 18 | 0.788462 | 0.103175 | 0 | 0 | 0 | 0 | 0.254545 | 0.245455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
91860dad187d68b19d0b7553594210d867a8ccc4 | 70 | py | Python | logs/constants.py | gonzatorte/sw-utils | 767ec4aa8cbe1e0143f601482024ba1d9b76da64 | [
"MIT"
] | null | null | null | logs/constants.py | gonzatorte/sw-utils | 767ec4aa8cbe1e0143f601482024ba1d9b76da64 | [
"MIT"
] | null | null | null | logs/constants.py | gonzatorte/sw-utils | 767ec4aa8cbe1e0143f601482024ba1d9b76da64 | [
"MIT"
] | null | null | null | import logging
TRACE_LVL = int( (logging.DEBUG + logging.INFO) / 2 )
| 17.5 | 53 | 0.7 | 10 | 70 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.171429 | 70 | 3 | 54 | 23.333333 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9195f3cdb36a82835721ebe4e4fc6cc7220eecc8 | 677 | py | Python | changes/buildsteps/lxc.py | bowlofstew/changes | ebd393520e0fdb07c240a8d4e8747281b6186e28 | [
"Apache-2.0"
] | null | null | null | changes/buildsteps/lxc.py | bowlofstew/changes | ebd393520e0fdb07c240a8d4e8747281b6186e28 | [
"Apache-2.0"
] | null | null | null | changes/buildsteps/lxc.py | bowlofstew/changes | ebd393520e0fdb07c240a8d4e8747281b6186e28 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from changes.buildsteps.default import DefaultBuildStep
class LXCBuildStep(DefaultBuildStep):
"""
Similar to the default build step, except that it runs the client using
the LXC adapter.
"""
def can_snapshot(self):
return True
def get_label(self... | 27.08 | 75 | 0.680945 | 81 | 677 | 5.530864 | 0.506173 | 0.066964 | 0.040179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225997 | 677 | 24 | 76 | 28.208333 | 0.854962 | 0.129985 | 0 | 0 | 0 | 0 | 0.087873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.214286 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
91e036fe4dd0d56410bf8828136484d3650838c6 | 740 | py | Python | setup.py | dalejung/pandas-composition | e73e5295b2d2f44f09805dcf06db12108c555197 | [
"MIT"
] | 5 | 2015-04-08T20:58:25.000Z | 2018-04-22T00:10:44.000Z | setup.py | dalejung/pandas-composition | e73e5295b2d2f44f09805dcf06db12108c555197 | [
"MIT"
] | null | null | null | setup.py | dalejung/pandas-composition | e73e5295b2d2f44f09805dcf06db12108c555197 | [
"MIT"
] | null | null | null | from distutils.core import setup
DISTNAME='pandas_composition'
FULLVERSION='0.1' ... | 67.272727 | 94 | 0.172973 | 19 | 740 | 6.631579 | 0.736842 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.8 | 740 | 10 | 95 | 74 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.052703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5321da160f808c8f4dfdd8dfa49b6f548aebb482 | 367 | py | Python | shapeshifter/tests/conftest.py | martinogden/django-shapeshifter | dbcba74c0a6914af181c1e8f0ba23369d4c3c94b | [
"Apache-2.0"
] | 164 | 2018-08-27T16:48:15.000Z | 2022-03-01T06:43:35.000Z | shapeshifter/tests/conftest.py | FlipperPA/django-shapeshifter | 0ce9cc2796164a529749a6b2208642d819f706bd | [
"Apache-2.0"
] | 2 | 2018-09-04T14:26:34.000Z | 2021-07-23T21:02:29.000Z | shapeshifter/tests/conftest.py | FlipperPA/django-shapeshifter | 0ce9cc2796164a529749a6b2208642d819f706bd | [
"Apache-2.0"
] | 12 | 2018-08-27T20:55:12.000Z | 2022-02-07T23:41:33.000Z | from pytest_djangoapp import configure_djangoapp_plugin
pytest_plugins = configure_djangoapp_plugin(
extend_INSTALLED_APPS=[
'django.contrib.sessions',
'django.contrib.messages',
],
extend_MIDDLEWARE=[
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.m... | 28.230769 | 63 | 0.730245 | 33 | 367 | 7.848485 | 0.515152 | 0.200772 | 0.185328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177112 | 367 | 12 | 64 | 30.583333 | 0.857616 | 0 | 0 | 0 | 0 | 0 | 0.408719 | 0.408719 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
533df513d0a6e1b0c3e33a0160d65ef452f32685 | 433 | py | Python | dippy/core/timestamp.py | eggveloper/dippy.core | 8ad613a50bcbf52132de1ece889e22fa4aba3a44 | [
"MIT"
] | 4 | 2021-04-23T10:26:28.000Z | 2021-08-29T15:34:46.000Z | dippy/core/timestamp.py | eggveloper/dippy.core | 8ad613a50bcbf52132de1ece889e22fa4aba3a44 | [
"MIT"
] | 23 | 2021-05-27T13:48:32.000Z | 2021-12-15T15:41:28.000Z | dippy/core/timestamp.py | eggveloper/dippy.core | 8ad613a50bcbf52132de1ece889e22fa4aba3a44 | [
"MIT"
] | 7 | 2021-05-22T17:16:57.000Z | 2021-12-15T15:19:12.000Z | from datetime import datetime
class Timestamp(float):
def __new__(cls, value=None):
return super().__new__(
cls, datetime.utcnow().timestamp() if value is None else value
)
def to_date(self) -> datetime:
return datetime.utcfromtimestamp(self)
def __repr__(self):
... | 24.055556 | 74 | 0.625866 | 51 | 433 | 4.882353 | 0.529412 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251732 | 433 | 17 | 75 | 25.470588 | 0.768519 | 0 | 0 | 0 | 0 | 0 | 0.071594 | 0.050808 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
53485f957146c431dd0276a23463daf3fd0b5d3c | 527 | py | Python | gamma/system_input.py | ArtBIT/gamma | 4ec03251fcd46cd7ae7b5123ad101064b0f9bdd1 | [
"MIT"
] | 15 | 2021-07-19T05:54:00.000Z | 2022-03-16T10:24:30.000Z | gamma/system_input.py | ArtBIT/gamma | 4ec03251fcd46cd7ae7b5123ad101064b0f9bdd1 | [
"MIT"
] | 1 | 2022-02-07T21:27:42.000Z | 2022-02-09T12:32:28.000Z | gamma/system_input.py | ArtBIT/gamma | 4ec03251fcd46cd7ae7b5123ad101064b0f9bdd1 | [
"MIT"
] | 3 | 2022-01-13T10:12:02.000Z | 2022-02-08T11:55:29.000Z | from .system import *
from .colours import *
class InputSystem(System):
def init(self):
self.key = 'input'
def setRequirements(self):
self.requiredComponents = ['input']
def updateEntity(self, entity, scene):
# don't allow input during a cutscene
if scene.cutscene is... | 23.954545 | 65 | 0.620493 | 58 | 527 | 5.637931 | 0.568966 | 0.04893 | 0.055046 | 0.214067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288425 | 527 | 21 | 66 | 25.095238 | 0.872 | 0.121442 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
534b03a80c1d26fa6e09b0d0a301670d7c14eb1d | 717 | py | Python | marbas/preprocessing.py | MJ-Jang/Marbas | 0a144e4f2ae868604ed4d3b7ae892a53fdebf388 | [
"Apache-2.0"
] | null | null | null | marbas/preprocessing.py | MJ-Jang/Marbas | 0a144e4f2ae868604ed4d3b7ae892a53fdebf388 | [
"Apache-2.0"
] | null | null | null | marbas/preprocessing.py | MJ-Jang/Marbas | 0a144e4f2ae868604ed4d3b7ae892a53fdebf388 | [
"Apache-2.0"
] | null | null | null | import os
from configparser import ConfigParser
cfg = ConfigParser()
#PATH_CUR = os.getcwd() + '/pynori'
PATH_CUR = os.path.dirname(__file__)
cfg.read(PATH_CUR+'/config.ini')
# PREPROCESSING
ENG_LOWER = cfg.getboolean('PREPROCESSING', 'ENG_LOWER')
class Preprocessing(object):
"""Preprocessing modules before tokeniz... | 18.868421 | 56 | 0.707113 | 97 | 717 | 5 | 0.453608 | 0.131959 | 0.098969 | 0.078351 | 0.17732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174338 | 717 | 38 | 57 | 18.868421 | 0.819257 | 0.244073 | 0 | 0.157895 | 0 | 0 | 0.063953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.157895 | 0.105263 | 0.052632 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
5351727e655c86d144b817ff63881c17c72740b2 | 1,657 | py | Python | tests/conftest.py | bbhunter/fuzz-lightyear | 75c1318d2f747a4fac6b55a46649c944528769ba | [
"Apache-2.0"
] | 169 | 2019-11-06T20:30:16.000Z | 2022-01-22T15:55:19.000Z | tests/conftest.py | bbhunter/fuzz-lightyear | 75c1318d2f747a4fac6b55a46649c944528769ba | [
"Apache-2.0"
] | 29 | 2019-09-24T19:44:03.000Z | 2021-10-01T09:29:30.000Z | tests/conftest.py | bbhunter/fuzz-lightyear | 75c1318d2f747a4fac6b55a46649c944528769ba | [
"Apache-2.0"
] | 27 | 2019-12-27T19:57:28.000Z | 2021-12-08T05:38:10.000Z | import pytest
from fuzz_lightyear.datastore import _ALL_POST_FUZZ_HOOKS_BY_OPERATION
from fuzz_lightyear.datastore import _ALL_POST_FUZZ_HOOKS_BY_TAG
from fuzz_lightyear.datastore import _RERUN_POST_FUZZ_HOOKS_BY_OPERATION
from fuzz_lightyear.datastore import _RERUN_POST_FUZZ_HOOKS_BY_TAG
from fuzz_lightyear.datastore... | 37.659091 | 72 | 0.834037 | 222 | 1,657 | 5.756757 | 0.288288 | 0.122066 | 0.146322 | 0.162754 | 0.443662 | 0.401408 | 0.273865 | 0.203443 | 0.203443 | 0.203443 | 0 | 0 | 0.114665 | 1,657 | 43 | 73 | 38.534884 | 0.871166 | 0.076041 | 0 | 0.060606 | 0 | 0 | 0.003968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | true | 0 | 0.424242 | 0 | 0.484848 | 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 | 0 | 0 | 0 | 3 |
5357c161a07eb9258b2e704a13f4eda6f6ab93d0 | 63 | py | Python | buchschloss/gui2/__init__.py | mik2k2/buchschloss | 8a9d17de5847ccab48a0de48aa4b60af2a7cc045 | [
"MIT"
] | 1 | 2020-01-13T18:52:51.000Z | 2020-01-13T18:52:51.000Z | buchschloss/gui2/__init__.py | mik2k2/buchschloss | 8a9d17de5847ccab48a0de48aa4b60af2a7cc045 | [
"MIT"
] | 48 | 2020-01-13T10:32:22.000Z | 2021-06-16T16:10:19.000Z | buchschloss/gui2/__init__.py | mik2k2/buchschloss | 8a9d17de5847ccab48a0de48aa4b60af2a7cc045 | [
"MIT"
] | 1 | 2020-01-19T11:07:12.000Z | 2020-01-19T11:07:12.000Z | """entry point"""
from . import main
start = main.app.launch
| 10.5 | 23 | 0.666667 | 9 | 63 | 4.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 5 | 24 | 12.6 | 0.807692 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5363e8818d7ff22e74bce67b8f3e1086a76a24c5 | 1,594 | py | Python | keras2onnx/proto/__init__.py | mgoldchild/keras-onnx | 8e700572b89a907ca21a3096556f64b62b7aa76c | [
"MIT"
] | null | null | null | keras2onnx/proto/__init__.py | mgoldchild/keras-onnx | 8e700572b89a907ca21a3096556f64b62b7aa76c | [
"MIT"
] | null | null | null | keras2onnx/proto/__init__.py | mgoldchild/keras-onnx | 8e700572b89a907ca21a3096556f64b62b7aa76c | [
"MIT"
] | null | null | null | ###############################################################################
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
###############################################################################
imp... | 33.914894 | 117 | 0.69197 | 204 | 1,594 | 5.147059 | 0.465686 | 0.033333 | 0.034286 | 0.019048 | 0.2 | 0.140952 | 0.140952 | 0.140952 | 0.140952 | 0.140952 | 0 | 0.008047 | 0.142409 | 1,594 | 46 | 118 | 34.652174 | 0.760059 | 0.226474 | 0 | 0.142857 | 0 | 0 | 0.069224 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 1 | 0.142857 | false | 0 | 0.357143 | 0.107143 | 0.607143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
725ca51ad9d691720ab9b25d90f6e0eda40f5f1a | 59 | py | Python | mlgorithms/knn/__init__.py | doycode/mlgorithms | b187efad474acdc9b7c6defe4761f101530bd1a3 | [
"Apache-2.0"
] | 9 | 2019-08-22T08:02:31.000Z | 2019-12-08T07:14:41.000Z | mlgorithms/knn/__init__.py | shashashuai/mlgorithms | f9f30c109083213dc3c62b30d74121ad1ebd2835 | [
"Apache-2.0"
] | null | null | null | mlgorithms/knn/__init__.py | shashashuai/mlgorithms | f9f30c109083213dc3c62b30d74121ad1ebd2835 | [
"Apache-2.0"
] | 3 | 2019-12-06T15:08:24.000Z | 2020-12-21T16:44:13.000Z | from .knn import KNNClassifier
__all__ = ['KNNClassifier'] | 19.666667 | 30 | 0.779661 | 6 | 59 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 3 | 31 | 19.666667 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7261ec9ea850db246c5fb7cbfebb2bc01fe9250d | 903 | py | Python | ui/Rhino/AGS/dev/AGS_toolbar_display_cmd.py | ricardoavelino/compas_ags | 1c9e496bc4b72b11adc80ea97288ddc27e92c08e | [
"MIT"
] | 1 | 2021-08-14T11:14:52.000Z | 2021-08-14T11:14:52.000Z | ui/Rhino/AGS/dev/AGS_toolbar_display_cmd.py | ricardoavelino/compas_ags | 1c9e496bc4b72b11adc80ea97288ddc27e92c08e | [
"MIT"
] | null | null | null | ui/Rhino/AGS/dev/AGS_toolbar_display_cmd.py | ricardoavelino/compas_ags | 1c9e496bc4b72b11adc80ea97288ddc27e92c08e | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
import scriptcontext as sc
import compas_rhino
from compas_ags.rhino import SettingsForm
from compas_ags.rhino import FormObject
from compas_ags.rhino import ForceObject
__commandname__ = "AGS_toolbar_displa... | 25.083333 | 99 | 0.615725 | 95 | 903 | 5.452632 | 0.484211 | 0.057915 | 0.092664 | 0.104247 | 0.138996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149502 | 903 | 35 | 100 | 25.8 | 0.674479 | 0.208195 | 0 | 0.105263 | 0 | 0 | 0.104225 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.052632 | false | 0 | 0.421053 | 0 | 0.578947 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7285a6d4732937feeb025500720c611d893078bb | 753 | py | Python | scriptd/app/flask_helper.py | jasonszang/scriptd | e612f10971ca5d98ffff7e0680485575792529e7 | [
"MIT"
] | 1 | 2018-09-05T06:54:54.000Z | 2018-09-05T06:54:54.000Z | scriptd/app/flask_helper.py | jasonszang/scriptd | e612f10971ca5d98ffff7e0680485575792529e7 | [
"MIT"
] | null | null | null | scriptd/app/flask_helper.py | jasonszang/scriptd | e612f10971ca5d98ffff7e0680485575792529e7 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
"""Helper for working with flask"""
import logging
from flask import Flask
from flask import request
from typing import Text
class FlaskHelper(object):
"""
Helper class for interacting with flask framework.
Improves testability by avoiding accessing flask global/thread-local objec... | 25.1 | 92 | 0.649402 | 95 | 753 | 5.021053 | 0.442105 | 0.0587 | 0.062893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001745 | 0.239044 | 753 | 29 | 93 | 25.965517 | 0.830716 | 0.390438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.266667 | 0.266667 | 0.933333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7290a137b403884de1319ee844bb33bdb2db9268 | 198 | py | Python | Temperatures.py | VivianaEloisa/Viviana_first_repo | d132ffdcda8e2c3cd5673cfa86fecc1337697fd0 | [
"MIT"
] | null | null | null | Temperatures.py | VivianaEloisa/Viviana_first_repo | d132ffdcda8e2c3cd5673cfa86fecc1337697fd0 | [
"MIT"
] | null | null | null | Temperatures.py | VivianaEloisa/Viviana_first_repo | d132ffdcda8e2c3cd5673cfa86fecc1337697fd0 | [
"MIT"
] | null | null | null | def fahr_to_cels(a):
return (a-32)/1.8
def cels_to_fahr(b):
return(b*1.8)+32
c=50
d=10
print("{0} °F is {1}°C.".format(c,fahr_to_cels(c)))
print("{0}°C is {1}°F.".format(d,cels_to_fahr(d)))
| 22 | 51 | 0.616162 | 52 | 198 | 2.269231 | 0.384615 | 0.101695 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0.121212 | 198 | 8 | 52 | 24.75 | 0.563218 | 0 | 0 | 0 | 0 | 0 | 0.156566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.375 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
72f55f6824f11224ca92665bf8c3e8e323d9e480 | 15,144 | py | Python | src/tangled_up_in_unicode/tangled_up_in_unicode_14_0_0.py | bhumikapahariapuresoftware/tangled-up-in-unicode | ee052e6f0fd4a0083178a163ec72dc37e2ad5d59 | [
"BSD-4-Clause"
] | 2 | 2019-09-28T23:46:24.000Z | 2019-10-02T12:08:51.000Z | src/tangled_up_in_unicode/tangled_up_in_unicode_14_0_0.py | dylan-profiler/tangled_up_in_unicode | a4368c2b70f55d90381085bfcdf979f89e42138d | [
"BSD-4-Clause"
] | 5 | 2020-02-16T06:02:27.000Z | 2021-09-27T21:59:29.000Z | src/tangled_up_in_unicode/tangled_up_in_unicode_14_0_0.py | dylan-profiler/tangled_up_in_unicode | a4368c2b70f55d90381085bfcdf979f89e42138d | [
"BSD-4-Clause"
] | 4 | 2020-02-17T19:55:32.000Z | 2022-03-21T04:01:37.000Z | from typing import Optional
import bisect
from tangled_up_in_unicode.u14_0_0_data.prop_list_to_property import prop_list_to_property
from tangled_up_in_unicode.u14_0_0_data.blocks_to_block_start import blocks_to_block_start
from tangled_up_in_unicode.u14_0_0_data.blocks_to_block_end import blocks_to_block_end
from ta... | 36.403846 | 132 | 0.726162 | 2,218 | 15,144 | 4.527502 | 0.050947 | 0.059152 | 0.069906 | 0.046306 | 0.896236 | 0.794065 | 0.750149 | 0.694583 | 0.66431 | 0.595798 | 0 | 0.012042 | 0.2049 | 15,144 | 415 | 133 | 36.491566 | 0.821942 | 0.088352 | 0 | 0.624595 | 0 | 0 | 0.00924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07767 | false | 0 | 0.106796 | 0 | 0.359223 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
72fc07d1bccf9a44ddf48057772608ff2bbcb0f5 | 197,684 | py | Python | functions/source/GreengrassLambda/idna/uts46data.py | jieatelement/quickstart-aws-industrial-machine-connectivity | ca6af4dcbf795ce4a91adcbec4b206147ab26bfa | [
"Apache-2.0"
] | 40 | 2020-07-11T10:07:51.000Z | 2021-12-11T17:09:20.000Z | functions/source/GreengrassLambda/idna/uts46data.py | jieatelement/quickstart-aws-industrial-machine-connectivity | ca6af4dcbf795ce4a91adcbec4b206147ab26bfa | [
"Apache-2.0"
] | 18 | 2020-07-20T18:54:31.000Z | 2021-11-04T13:14:28.000Z | functions/source/GreengrassLambda/idna/uts46data.py | jieatelement/quickstart-aws-industrial-machine-connectivity | ca6af4dcbf795ce4a91adcbec4b206147ab26bfa | [
"Apache-2.0"
] | 37 | 2020-07-09T23:12:30.000Z | 2022-03-16T11:15:58.000Z | # This file is automatically generated by tools/idna-data
# vim: set fileencoding=utf-8 :
"""IDNA Mapping Table from UTS46."""
__version__ = "11.0.0"
def _seg_0():
return [
(0x0, '3'),
(0x1, '3'),
(0x2, '3'),
(0x3, '3'),
(0x4, '3'),
(0x5, '3'),
(0x6, '3'),
(0x7, '3... | 24.090178 | 58 | 0.353625 | 27,611 | 197,684 | 2.532505 | 0.409402 | 0.155452 | 0.001673 | 0.000572 | 0.000772 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212494 | 0.315655 | 197,684 | 8,205 | 59 | 24.093114 | 0.301854 | 0.000592 | 0 | 0.009729 | 1 | 0 | 0.081102 | 0 | 0 | 0 | 0.251929 | 0 | 0 | 1 | 0.009729 | false | 0 | 0 | 0.009729 | 0.019458 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
72ff4a4495a1cf2b2c794050ad0652e0aaf629e7 | 333 | py | Python | src/orionsensor/gui/sensors/proximitysensor.py | Ginkooo/ORION-sensor-visualizer | 550b2e692d711bb8104fe827570ef9b9112536d3 | [
"MIT"
] | null | null | null | src/orionsensor/gui/sensors/proximitysensor.py | Ginkooo/ORION-sensor-visualizer | 550b2e692d711bb8104fe827570ef9b9112536d3 | [
"MIT"
] | null | null | null | src/orionsensor/gui/sensors/proximitysensor.py | Ginkooo/ORION-sensor-visualizer | 550b2e692d711bb8104fe827570ef9b9112536d3 | [
"MIT"
] | null | null | null | from kivy.properties import NumericProperty
from gui.sensors.sensor import Sensor
import config
class ProximitySensor(Sensor):
"""Proximity sensor view"""
# maximum possible reading
max = NumericProperty(config.ProximitySensor.max)
# minimum possible reading
min = NumericProperty(config.Proximit... | 23.785714 | 53 | 0.768769 | 35 | 333 | 7.314286 | 0.542857 | 0.09375 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159159 | 333 | 13 | 54 | 25.615385 | 0.914286 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f41ab377d1e1427d9115db2eb2f0758b5461fed9 | 204 | py | Python | base/urls.py | almustafa-noureddin/Portfolio-website | 67462c98fec65e74183ae057e8b31b5bdff1402c | [
"MIT"
] | null | null | null | base/urls.py | almustafa-noureddin/Portfolio-website | 67462c98fec65e74183ae057e8b31b5bdff1402c | [
"MIT"
] | null | null | null | base/urls.py | almustafa-noureddin/Portfolio-website | 67462c98fec65e74183ae057e8b31b5bdff1402c | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
app_name = "base"
urlpatterns = [
path('', views.IndexView.as_view(), name="home"),
path('contact/', views.ContactView.as_view(), name="contact"),] | 22.666667 | 67 | 0.686275 | 27 | 204 | 5.074074 | 0.592593 | 0.087591 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 204 | 9 | 67 | 22.666667 | 0.774011 | 0 | 0 | 0 | 0 | 0 | 0.112195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f43046969834dd88f5e6bf5c76a2ad1571e187a4 | 87 | py | Python | emodul/apps.py | HarisHijazi/mojarnik-server | bee7266609cc0bca7cc6a4059086fc0ba7219a33 | [
"MIT"
] | null | null | null | emodul/apps.py | HarisHijazi/mojarnik-server | bee7266609cc0bca7cc6a4059086fc0ba7219a33 | [
"MIT"
] | null | null | null | emodul/apps.py | HarisHijazi/mojarnik-server | bee7266609cc0bca7cc6a4059086fc0ba7219a33 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EmodulConfig(AppConfig):
name = 'emodul'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f438ca5f15375beccb9a1833b80357a7835e309b | 454 | py | Python | opencv_camera/parameters/utils.py | MomsFriendlyRobotCompany/opencv_camera | 046d779a853ef0117c0177c03a6fd81f361a9dd3 | [
"MIT"
] | 6 | 2020-08-17T04:36:24.000Z | 2022-02-22T13:54:20.000Z | opencv_camera/parameters/utils.py | MomsFriendlyRobotCompany/opencv_camera | 046d779a853ef0117c0177c03a6fd81f361a9dd3 | [
"MIT"
] | 1 | 2020-12-28T20:45:17.000Z | 2021-01-01T02:39:02.000Z | opencv_camera/parameters/utils.py | MomsFriendlyRobotCompany/opencv_camera | 046d779a853ef0117c0177c03a6fd81f361a9dd3 | [
"MIT"
] | 1 | 2020-12-15T04:04:54.000Z | 2020-12-15T04:04:54.000Z | ##############################################
# The MIT License (MIT)
# Copyright (c) 2014 Kevin Walchko
# see LICENSE for full details
##############################################
# -*- coding: utf-8 -*
from math import atan, pi
def fov(w,f):
"""
Returns the FOV as in degrees, given:
w... | 26.705882 | 48 | 0.451542 | 55 | 454 | 3.727273 | 0.727273 | 0.078049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029586 | 0.255507 | 454 | 16 | 49 | 28.375 | 0.576923 | 0.493392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f4677aa07e0ad3e8da44d44b35bfb9d27f0006a2 | 136 | py | Python | bot/tests/test_triggers/__init__.py | elihschiff/Rubber-Duck-Python | 24dea3b64a8a46368cd8dd995c800375f355b55e | [
"MIT"
] | 7 | 2020-07-07T20:58:14.000Z | 2021-12-23T02:51:20.000Z | bot/tests/test_triggers/__init__.py | elihschiff/Rubber-Duck-Python | 24dea3b64a8a46368cd8dd995c800375f355b55e | [
"MIT"
] | null | null | null | bot/tests/test_triggers/__init__.py | elihschiff/Rubber-Duck-Python | 24dea3b64a8a46368cd8dd995c800375f355b55e | [
"MIT"
] | 1 | 2020-03-29T13:36:43.000Z | 2020-03-29T13:36:43.000Z | from .test_commands import all_commands
all_triggers = all_commands
from .test_quack import TestQuack
all_triggers.append(TestQuack)
| 17 | 39 | 0.845588 | 19 | 136 | 5.736842 | 0.473684 | 0.146789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 136 | 7 | 40 | 19.428571 | 0.900826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f4710b19edd2c97dbafb4bd7d15c47788db38366 | 677 | py | Python | bldr/dep/env.py | bldr-cmd/bldr-cmd | 300750fbccc2987efd23f69b7b2d76d8563e2995 | [
"Apache-2.0"
] | null | null | null | bldr/dep/env.py | bldr-cmd/bldr-cmd | 300750fbccc2987efd23f69b7b2d76d8563e2995 | [
"Apache-2.0"
] | null | null | null | bldr/dep/env.py | bldr-cmd/bldr-cmd | 300750fbccc2987efd23f69b7b2d76d8563e2995 | [
"Apache-2.0"
] | null | null | null | # This is used by Environment to populate its env
# Due to circular dependencies it cannot reference other parts of bldr
import toml
def default(dotbldr_path: str) -> dict:
dep = {
'config': toml.load(f"{dotbldr_path}/dependency.toml"),
'lock': toml.load(f"{dotbldr_path}/dependency.lock.toml")
... | 37.611111 | 72 | 0.703102 | 103 | 677 | 4.456311 | 0.398058 | 0.167756 | 0.104575 | 0.191721 | 0.453159 | 0.444444 | 0.287582 | 0.287582 | 0 | 0 | 0 | 0 | 0.175775 | 677 | 18 | 73 | 37.611111 | 0.822581 | 0.171344 | 0 | 0 | 0 | 0 | 0.254025 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f477a30d49ec339fb9956b3d20c8d92ea00908ad | 641 | py | Python | src/modules/iam/module.py | pgorecki/python-ddd | 0073ccce35c651be263f5d7d3d63f9a49bc0b78a | [
"MIT"
] | 10 | 2022-03-16T19:26:51.000Z | 2022-03-31T23:50:51.000Z | src/modules/iam/module.py | pgorecki/python-ddd | 0073ccce35c651be263f5d7d3d63f9a49bc0b78a | [
"MIT"
] | null | null | null | src/modules/iam/module.py | pgorecki/python-ddd | 0073ccce35c651be263f5d7d3d63f9a49bc0b78a | [
"MIT"
] | 2 | 2022-03-16T19:26:54.000Z | 2022-03-27T13:21:02.000Z | from seedwork.application.modules import BusinessModule
from modules.iam.application.services import AuthenticationService
class IdentityAndAccessModule(BusinessModule):
def __init__(self, authentication_service: AuthenticationService):
self.authentication_service = authentication_service
# @staticm... | 35.611111 | 94 | 0.730109 | 56 | 641 | 8.196429 | 0.589286 | 0.228758 | 0.108932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199688 | 641 | 17 | 95 | 37.705882 | 0.894737 | 0.446178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f480097de648b87f17c2df8fc143686ff51cd136 | 364 | py | Python | experiments/scripts/preprocess_dataset.py | pbielak/graph-barlow-twins | f8e20134afed4f17ffcecf8f48764df362ffdcad | [
"MIT"
] | 9 | 2021-06-11T13:23:50.000Z | 2022-03-23T19:45:54.000Z | experiments/scripts/preprocess_dataset.py | pbielak/graph-barlow-twins | f8e20134afed4f17ffcecf8f48764df362ffdcad | [
"MIT"
] | 2 | 2021-09-22T13:58:39.000Z | 2021-11-23T02:26:50.000Z | experiments/scripts/preprocess_dataset.py | pbielak/graph-barlow-twins | f8e20134afed4f17ffcecf8f48764df362ffdcad | [
"MIT"
] | 2 | 2021-06-10T06:05:47.000Z | 2021-09-27T15:13:23.000Z | import sys
from gssl.datasets import load_dataset
from gssl.inductive.datasets import load_ppi
from gssl.utils import seed
def main():
seed()
# Read dataset name
dataset_name = sys.argv[1]
# Load dataset
if dataset_name == "PPI":
load_ppi()
else:
load_dataset(name=dataset_na... | 15.826087 | 44 | 0.662088 | 49 | 364 | 4.612245 | 0.387755 | 0.243363 | 0.159292 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00365 | 0.247253 | 364 | 22 | 45 | 16.545455 | 0.821168 | 0.082418 | 0 | 0 | 0 | 0 | 0.033233 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.307692 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f482b268cafb6a5a7b275bd6f15025933187f73e | 881 | py | Python | app/forms.py | FakeYou/flask-microblog | 021b786417a2ae1aaa957661beb25d381a7efdb2 | [
"MIT"
] | null | null | null | app/forms.py | FakeYou/flask-microblog | 021b786417a2ae1aaa957661beb25d381a7efdb2 | [
"MIT"
] | null | null | null | app/forms.py | FakeYou/flask-microblog | 021b786417a2ae1aaa957661beb25d381a7efdb2 | [
"MIT"
] | null | null | null | from flask.ext.wtf import Form
from wtforms import StringField, BooleanField, PasswordField
from wtforms.validators import InputRequired, Email, EqualTo, Length
class LoginForm(Form):
nickname = StringField('nickname', validators=[InputRequired()])
password = PasswordField('password', validators=[InputRequired... | 48.944444 | 104 | 0.704881 | 80 | 881 | 7.7375 | 0.4 | 0.22294 | 0.074313 | 0.100162 | 0.342488 | 0.174475 | 0 | 0 | 0 | 0 | 0 | 0.004098 | 0.169126 | 881 | 18 | 105 | 48.944444 | 0.84153 | 0 | 0 | 0.133333 | 0 | 0 | 0.106576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.2 | 0 | 0.933333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f48e4de60f001ef56a4fbd661495b8d069dc740f | 192 | py | Python | autofront/__init__.py | JimmyLamothe/autofront | d179e54411f5d53046a5fa52b4430e09b01ebaca | [
"BSD-3-Clause"
] | 1 | 2020-11-16T22:18:03.000Z | 2020-11-16T22:18:03.000Z | autofront/__init__.py | JimmyLamothe/autofront | d179e54411f5d53046a5fa52b4430e09b01ebaca | [
"BSD-3-Clause"
] | null | null | null | autofront/__init__.py | JimmyLamothe/autofront | d179e54411f5d53046a5fa52b4430e09b01ebaca | [
"BSD-3-Clause"
] | null | null | null | import autofront.autofront as autofront
import autofront.utilities as utilities
initialize = autofront.initialize
add = autofront.add
run = autofront.run
get_display = utilities.get_display
| 21.333333 | 39 | 0.833333 | 24 | 192 | 6.583333 | 0.375 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 192 | 8 | 40 | 24 | 0.929412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
be3353aec22fa60209490a5516f7d6ee7289c13d | 1,873 | py | Python | zict/zip.py | phobson/zict | 666c7cd9fd4667cc8831a35cf958fd51788acd3e | [
"BSD-3-Clause"
] | null | null | null | zict/zip.py | phobson/zict | 666c7cd9fd4667cc8831a35cf958fd51788acd3e | [
"BSD-3-Clause"
] | null | null | null | zict/zip.py | phobson/zict | 666c7cd9fd4667cc8831a35cf958fd51788acd3e | [
"BSD-3-Clause"
] | null | null | null | try:
from collections.abc import MutableMapping
except ImportError:
from collections import MutableMapping
import zipfile
class Zip(MutableMapping):
"""Mutable Mapping interface to a Zip file
Keys must be strings, values must be bytes
Parameters
----------
filename: string
mode: stri... | 24.324675 | 88 | 0.595302 | 234 | 1,873 | 4.606838 | 0.34188 | 0.103896 | 0.033395 | 0.052876 | 0.06679 | 0.06679 | 0.06679 | 0.06679 | 0.06679 | 0 | 0 | 0.004415 | 0.274426 | 1,873 | 76 | 89 | 24.644737 | 0.788815 | 0.200214 | 0 | 0 | 0 | 0 | 0.038221 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.325581 | false | 0 | 0.093023 | 0.162791 | 0.627907 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
be44bd30d7e94517cda605e3c7b74f2c0cefb67c | 4,919 | py | Python | gen4service/gen4bean.py | yongli82/CodeGenerator | 4ca9255c3c4c5392e45815fd20f605ccbbfd2325 | [
"MIT"
] | null | null | null | gen4service/gen4bean.py | yongli82/CodeGenerator | 4ca9255c3c4c5392e45815fd20f605ccbbfd2325 | [
"MIT"
] | null | null | null | gen4service/gen4bean.py | yongli82/CodeGenerator | 4ca9255c3c4c5392e45815fd20f605ccbbfd2325 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import sys
reload(sys)
sys.path.append("..")
sys.setdefaultencoding('utf-8')
from jinja2 import Environment
from jinja2 import Template
import re
from sqlalchemy import schema, types
from sqlalchemy.engine import create_engine
import yyutil
import CodeGen
project_... | 32.793333 | 87 | 0.795893 | 423 | 4,919 | 9.196217 | 0.392435 | 0.297172 | 0.008226 | 0.010283 | 0.06581 | 0.034447 | 0.017481 | 0 | 0 | 0 | 0 | 0.01999 | 0.155926 | 4,919 | 149 | 88 | 33.013423 | 0.916908 | 0.025208 | 0 | 0.063492 | 0 | 0 | 0.831245 | 0.12949 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.071429 | null | null | 0.007937 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be451445b545eb79b0e3f43bb3bb14e581f5720c | 2,333 | py | Python | Log_tao.py | zigzax/Basic_Python | d9d3256f2ac627e6e98991f73ab67ef8fcc4172d | [
"MIT"
] | null | null | null | Log_tao.py | zigzax/Basic_Python | d9d3256f2ac627e6e98991f73ab67ef8fcc4172d | [
"MIT"
] | null | null | null | Log_tao.py | zigzax/Basic_Python | d9d3256f2ac627e6e98991f73ab67ef8fcc4172d | [
"MIT"
] | null | null | null | Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> import turtle
>>> tao = turtle.Turtle()
>>> tao.shape('turtle')
>>> tao.forward(100)
>>> tao.left(90)
>>> tao.forward(100)
>>> tao.left(90)
... | 16.089655 | 95 | 0.562366 | 393 | 2,333 | 3.338422 | 0.206107 | 0.137195 | 0.178354 | 0.207317 | 0.719512 | 0.695122 | 0.68064 | 0.629573 | 0.629573 | 0.629573 | 0 | 0.134328 | 0.224604 | 2,333 | 145 | 96 | 16.089655 | 0.590934 | 0 | 0 | 0.653226 | 0 | 0 | 0.027397 | 0 | 0 | 0 | 0.016438 | 0 | 0 | 0 | null | null | 0 | 0.008065 | null | null | 0.056452 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be6b1f866bc5d3fdc38f4e9b6fd3e9f0bcf0235f | 384 | py | Python | qiskit/quantum_info/operators/__init__.py | jagunnels/qiskit-sdk-py | 153cdde972e65c0f23675bbe17c93e18be27bd51 | [
"Apache-2.0"
] | null | null | null | qiskit/quantum_info/operators/__init__.py | jagunnels/qiskit-sdk-py | 153cdde972e65c0f23675bbe17c93e18be27bd51 | [
"Apache-2.0"
] | null | null | null | qiskit/quantum_info/operators/__init__.py | jagunnels/qiskit-sdk-py | 153cdde972e65c0f23675bbe17c93e18be27bd51 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019, IBM.
#
# This source code is licensed under the Apache License, Version 2.0 found in
# the LICENSE.txt file in the root directory of this source tree.
"""Quantum Operators."""
from .operator import Operator
from .unitary import Unitary
from .pauli import Pauli, pauli_group
f... | 27.428571 | 77 | 0.742188 | 57 | 384 | 4.982456 | 0.719298 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021807 | 0.164063 | 384 | 13 | 78 | 29.538462 | 0.862928 | 0.526042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
be72c9a20697c3fb3a739104db43d4e053b51e7c | 249 | py | Python | tests/integration/hub_usage/dummyhub_slow/__init__.py | abreu4/jina | d1d045e9e0933dffb3bd668cb9cfebab6cd52202 | [
"Apache-2.0"
] | 2 | 2021-01-22T07:34:35.000Z | 2021-01-23T04:36:41.000Z | tests/integration/hub_usage/dummyhub_slow/__init__.py | abreu4/jina | d1d045e9e0933dffb3bd668cb9cfebab6cd52202 | [
"Apache-2.0"
] | 4 | 2020-09-01T17:47:27.000Z | 2021-04-16T23:11:57.000Z | tests/integration/hub_usage/dummyhub_slow/__init__.py | abreu4/jina | d1d045e9e0933dffb3bd668cb9cfebab6cd52202 | [
"Apache-2.0"
] | null | null | null | import time
from jina.executors.crafters import BaseCrafter
from .helper import foo
class DummyHubExecutorSlow(BaseCrafter):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
time.sleep(15)
foo()
| 19.153846 | 47 | 0.678715 | 28 | 249 | 5.75 | 0.678571 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010152 | 0.208835 | 249 | 12 | 48 | 20.75 | 0.807107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
bea166ed0dc38a3bddb60dc5fe5709a4f52a15f3 | 168 | py | Python | mdepub/actions/__init__.py | bkidwell/mdepub | af9e7d2065fb8251b6767e827ac2cff059ce7668 | [
"0BSD"
] | 35 | 2015-01-14T22:15:35.000Z | 2021-05-23T06:04:34.000Z | mdepub/actions/__init__.py | bkidwell/mdepub | af9e7d2065fb8251b6767e827ac2cff059ce7668 | [
"0BSD"
] | null | null | null | mdepub/actions/__init__.py | bkidwell/mdepub | af9e7d2065fb8251b6767e827ac2cff059ce7668 | [
"0BSD"
] | 7 | 2015-07-23T11:28:18.000Z | 2021-02-09T17:07:06.000Z | """mdepub actions -- these modules do the actual work."""
import archive
import clean
import create
import epub
import extract
import html
import newid
import version
| 15.272727 | 57 | 0.791667 | 24 | 168 | 5.541667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 168 | 10 | 58 | 16.8 | 0.93662 | 0.303571 | 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 | 0 | 0 | 0 | 3 |
beb9ee31926225eb2b3cd87871300007116d1d11 | 2,177 | py | Python | app/views/main.py | ArmandDS/ai_bert_resumes | 743f37049bbca67bcbbaf21a2ffecf0d093351df | [
"MIT"
] | 1 | 2020-02-28T12:17:38.000Z | 2020-02-28T12:17:38.000Z | app/views/main.py | ArmandDS/ai_bert_resumes | 743f37049bbca67bcbbaf21a2ffecf0d093351df | [
"MIT"
] | 1 | 2021-06-02T00:54:48.000Z | 2021-06-02T00:54:48.000Z | app/views/main.py | ArmandDS/ai_bert_resumes | 743f37049bbca67bcbbaf21a2ffecf0d093351df | [
"MIT"
] | null | null | null | from flask import render_template, jsonify, Flask, redirect, url_for, request
from app import app
import random
import os
# import tensorflow as tf
# import numpy as np
# import sys
# import spacy
# nlp = spacy.load('en')
# sys.path.insert(0, "/content/bert_experimental")
# from bert_experimental.finetuning.text_pre... | 33.492308 | 117 | 0.686266 | 308 | 2,177 | 4.662338 | 0.383117 | 0.058496 | 0.069638 | 0.038997 | 0.203343 | 0.203343 | 0.140669 | 0.140669 | 0.140669 | 0.076602 | 0 | 0.039396 | 0.148829 | 2,177 | 65 | 118 | 33.492308 | 0.735564 | 0.4791 | 0 | 0.071429 | 0 | 0 | 0.127027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bebb3991fe53855d056c3141b393c1defb50e7e5 | 4,197 | py | Python | aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/EditJobTemplateRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/EditJobTemplateRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/EditJobTemplateRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 29.978571 | 74 | 0.751013 | 569 | 4,197 | 5.321617 | 0.216169 | 0.035667 | 0.083223 | 0.101057 | 0.18428 | 0.18428 | 0.18428 | 0 | 0 | 0 | 0 | 0.003303 | 0.134382 | 4,197 | 140 | 75 | 29.978571 | 0.830168 | 0.179652 | 0 | 0 | 0 | 0 | 0.119421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.45122 | false | 0 | 0.02439 | 0.219512 | 0.707317 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bec8bbb28dfc0d99421b26ef588fd15b586c1fe9 | 509 | py | Python | bucket_4C/python-Pillow/patches/patch-setup.py | jrmarino/ravensource | 91d599fd1f2af55270258d15e72c62774f36033e | [
"FTL"
] | 17 | 2017-04-22T21:53:52.000Z | 2021-01-21T16:57:55.000Z | bucket_4C/python-Pillow/patches/patch-setup.py | jrmarino/ravensource | 91d599fd1f2af55270258d15e72c62774f36033e | [
"FTL"
] | 186 | 2017-09-12T20:46:52.000Z | 2021-11-27T18:15:14.000Z | bucket_4C/python-Pillow/patches/patch-setup.py | jrmarino/ravensource | 91d599fd1f2af55270258d15e72c62774f36033e | [
"FTL"
] | 74 | 2017-09-06T14:48:01.000Z | 2021-08-28T02:48:27.000Z | --- setup.py.orig 2019-07-02 19:13:39 UTC
+++ setup.py
@@ -465,9 +465,7 @@ class pil_build_ext(build_ext):
_add_directory(include_dirs, "/usr/X11/include")
elif (
- sys.platform.startswith("linux")
- or sys.platform.startswith("gnu")
- or sys.platform.startsw... | 36.357143 | 65 | 0.579568 | 60 | 509 | 4.7 | 0.633333 | 0.156028 | 0.297872 | 0.163121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 0.284872 | 509 | 13 | 66 | 39.153846 | 0.708791 | 0 | 0 | 0 | 0 | 0 | 0.074656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe2ffb0cf28c08ae4282aa561c6f775796ff339b | 14,564 | py | Python | test/unit/Algorithms/GenericLinearTransportTest.py | thirtywang/OpenPNM | e55ee7ae69a8be3e2b0e6bf24c9ff92b6d24e16a | [
"MIT"
] | null | null | null | test/unit/Algorithms/GenericLinearTransportTest.py | thirtywang/OpenPNM | e55ee7ae69a8be3e2b0e6bf24c9ff92b6d24e16a | [
"MIT"
] | null | null | null | test/unit/Algorithms/GenericLinearTransportTest.py | thirtywang/OpenPNM | e55ee7ae69a8be3e2b0e6bf24c9ff92b6d24e16a | [
"MIT"
] | 1 | 2020-07-02T02:21:10.000Z | 2020-07-02T02:21:10.000Z | import OpenPNM
import numpy as np
import OpenPNM.Physics.models as pm
class GenericLinearTransportTest:
def setup_class(self):
self.net = OpenPNM.Network.Cubic(shape=[5, 5, 5])
self.phase = OpenPNM.Phases.GenericPhase(network=self.net)
Ps = self.net.Ps
Ts = self.net.Ts
self... | 51.101754 | 78 | 0.49025 | 1,557 | 14,564 | 4.398202 | 0.104046 | 0.117553 | 0.055491 | 0.084112 | 0.83163 | 0.794247 | 0.71656 | 0.690129 | 0.585134 | 0.554614 | 0 | 0.03589 | 0.401195 | 14,564 | 284 | 79 | 51.28169 | 0.749341 | 0 | 0 | 0.539855 | 0 | 0 | 0.089467 | 0.008926 | 0 | 0 | 0 | 0 | 0.134058 | 1 | 0.025362 | false | 0 | 0.01087 | 0 | 0.039855 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe3c13d3bb5c59b28cc1e5b5a35923b1537df9f4 | 1,333 | py | Python | pgn2fixture/tests/test_utils.py | pointerish/pgn2fixture | 02039680acc37cbca22fb332738e34cd113831a4 | [
"MIT"
] | 3 | 2021-03-18T19:08:59.000Z | 2021-10-10T03:52:49.000Z | pgn2fixture/tests/test_utils.py | pointerish/pgn2fixture | 02039680acc37cbca22fb332738e34cd113831a4 | [
"MIT"
] | null | null | null | pgn2fixture/tests/test_utils.py | pointerish/pgn2fixture | 02039680acc37cbca22fb332738e34cd113831a4 | [
"MIT"
] | null | null | null | import unittest
from .. import utils
class TestUtils(unittest.TestCase):
def setUp(self) -> None:
self.pgn_string = '''
[Event "US Championship 1963/64"]
[Site "New York, NY USA"]
[Date "1964.01.01"]
[EventDate "1963.??.??"]
[Round "11"][Result "0-1"]
[Whit... | 43 | 165 | 0.549887 | 161 | 1,333 | 4.496894 | 0.329193 | 0.016575 | 0.053867 | 0.095304 | 0.741713 | 0.741713 | 0.741713 | 0.679558 | 0.679558 | 0.679558 | 0 | 0.091897 | 0.24081 | 1,333 | 30 | 166 | 44.433333 | 0.623518 | 0 | 0 | 0 | 0 | 0 | 0.570893 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.125 | false | 0 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe8b6fcdfeb01114b63f0a0d1b3c6d4bd1396297 | 81 | py | Python | src/template_config.py | ckaestne/toxicity-detector | bb00ffe4470c6c1a2f561212d487d56eab5a5da7 | [
"MIT"
] | 7 | 2020-03-03T18:09:48.000Z | 2022-03-23T16:55:26.000Z | src/template_config.py | ckaestne/toxicity-detector | bb00ffe4470c6c1a2f561212d487d56eab5a5da7 | [
"MIT"
] | 67 | 2020-06-09T23:57:49.000Z | 2022-02-05T19:09:49.000Z | src/template_config.py | sophieball/toxicity-detector | 7c07c5e6a6915428fdae64cbd3bc07caa697774e | [
"MIT"
] | 6 | 2020-02-21T00:19:57.000Z | 2022-03-03T23:00:42.000Z | mongo = { "user": "", "passwd": "", "db": "ghtorrent" }
perspective_api_key = ""
| 27 | 55 | 0.555556 | 8 | 81 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 2 | 56 | 40.5 | 0.632353 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
fea8cf21ba50623dff52ac8ea09d727a155060be | 32,904 | py | Python | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-SubnetInterfaceMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-SubnetInterfaceMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-SubnetInterfaceMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-MsCarrier-MscPassport-SubnetInterfaceMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-SubnetInterfaceMIB
# Produced by pysmi-0.3.4 at Wed May 1 14:31:21 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.... | 197.02994 | 2,993 | 0.792973 | 4,056 | 32,904 | 6.432939 | 0.144724 | 0.042312 | 0.074046 | 0.008585 | 0.451364 | 0.282807 | 0.268358 | 0.246244 | 0.233405 | 0.228576 | 0 | 0.068026 | 0.099775 | 32,904 | 166 | 2,994 | 198.216867 | 0.812835 | 0.011792 | 0 | 0 | 0 | 0.150943 | 0.394746 | 0.030701 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.069182 | 0.062893 | 0 | 0.062893 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
feae2347f1d740037425173028bb1b3d8af9f2a3 | 153 | py | Python | hotpot_sample_dict.py | bvanaken/pytorch-pretrained-BERT | 71c1660fb082fa5ebde4afd8c7db2bc96b80bb59 | [
"Apache-2.0"
] | 1 | 2022-02-06T15:59:12.000Z | 2022-02-06T15:59:12.000Z | hotpot_sample_dict.py | bvanaken/pytorch-pretrained-BERT | 71c1660fb082fa5ebde4afd8c7db2bc96b80bb59 | [
"Apache-2.0"
] | null | null | null | hotpot_sample_dict.py | bvanaken/pytorch-pretrained-BERT | 71c1660fb082fa5ebde4afd8c7db2bc96b80bb59 | [
"Apache-2.0"
] | null | null | null | samples = {
"2_brother_plays": {
"question_parts": [range(1, 13), range(13, 17)],
"sp_parts": [range(20, 43), range(50, 60)]
}
}
| 21.857143 | 56 | 0.51634 | 20 | 153 | 3.75 | 0.75 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.267974 | 153 | 6 | 57 | 25.5 | 0.526786 | 0 | 0 | 0 | 0 | 0 | 0.24183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
feb1798a65bfb807865b5bcdd876a894d5048086 | 319 | py | Python | code/config/imports.py | farioso-fernando/cover-meu-beat | b15a9c0c97086e51e42cee4dd40e7d0650130d0e | [
"MIT"
] | null | null | null | code/config/imports.py | farioso-fernando/cover-meu-beat | b15a9c0c97086e51e42cee4dd40e7d0650130d0e | [
"MIT"
] | null | null | null | code/config/imports.py | farioso-fernando/cover-meu-beat | b15a9c0c97086e51e42cee4dd40e7d0650130d0e | [
"MIT"
] | null | null | null | from kivy.uix.screenmanager import ScreenManager
from kivy.uix.boxlayout import BoxLayout
from kivy.lang.builder import Builder
from kivy.animation import Animation
from kivy.core.window import Window
from kivymd.app import MDApp
import kivymd
import kivy
print(
)
def version():
kivy.require('2.0.0')
print(
) | 16.789474 | 48 | 0.789969 | 47 | 319 | 5.361702 | 0.425532 | 0.15873 | 0.087302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.134796 | 319 | 19 | 49 | 16.789474 | 0.902174 | 0 | 0 | 0.142857 | 0 | 0 | 0.015625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0 | 0.571429 | 0 | 0.642857 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
feb27ff41ef1690499bd0cbcb5cc15ed8e07d63d | 868 | py | Python | pytglib/api/types/can_transfer_ownership_result_password_too_fresh.py | iTeam-co/pytglib | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 6 | 2019-10-30T08:57:27.000Z | 2021-02-08T14:17:43.000Z | pytglib/api/types/can_transfer_ownership_result_password_too_fresh.py | iTeam-co/python-telegram | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 1 | 2021-08-19T05:44:10.000Z | 2021-08-19T07:14:56.000Z | pytglib/api/types/can_transfer_ownership_result_password_too_fresh.py | iTeam-co/python-telegram | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 5 | 2019-12-04T05:30:39.000Z | 2021-05-21T18:23:32.000Z |
from ..utils import Object
class CanTransferOwnershipResultPasswordTooFresh(Object):
"""
The 2-step verification was enabled recently, user needs to wait
Attributes:
ID (:obj:`str`): ``CanTransferOwnershipResultPasswordTooFresh``
Args:
retry_after (:obj:`int`):
Time le... | 26.30303 | 96 | 0.68318 | 81 | 868 | 7.185185 | 0.666667 | 0.120275 | 0.04811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001502 | 0.232719 | 868 | 32 | 97 | 27.125 | 0.872372 | 0.413594 | 0 | 0 | 0 | 0 | 0.208791 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.444444 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
feb6feac24e99949d73380d3a6510ebf108ac24b | 229 | py | Python | utils/pretty-tests.py | isJuhn/pcsx2_ipc | 51f92d51aec05dffa82d418c97fc1d628b2ed40f | [
"MIT"
] | 7 | 2021-07-09T20:23:19.000Z | 2022-03-14T06:56:14.000Z | utils/pretty-tests.py | isJuhn/pcsx2_ipc | 51f92d51aec05dffa82d418c97fc1d628b2ed40f | [
"MIT"
] | 2 | 2021-03-07T16:14:44.000Z | 2021-03-30T07:48:05.000Z | utils/pretty-tests.py | isJuhn/pcsx2_ipc | 51f92d51aec05dffa82d418c97fc1d628b2ed40f | [
"MIT"
] | 1 | 2021-03-07T15:59:31.000Z | 2021-03-07T15:59:31.000Z | import json
import sys
f=open(sys.argv[1])
y = json.loads(f.read())
print("Tests results: " + str(y["result"]))
print("Tests duration: " + str(y["duration"]))
print("Tests output:\n~~~~~~~~~~~~~~~~~~~~\n" + str(y["stdout"]))
| 25.444444 | 66 | 0.576419 | 34 | 229 | 3.882353 | 0.558824 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004926 | 0.113537 | 229 | 8 | 67 | 28.625 | 0.64532 | 0 | 0 | 0 | 0 | 0 | 0.384279 | 0.135371 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.428571 | 0 | 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 | 3 |
22807a6716e561a1f502377b8a28eba78ad26040 | 322 | py | Python | debugtalk.py | caoyp2/HRunDemo | 41810a2fd366c780ea8f2bf9b4328fdd60aba171 | [
"Apache-2.0"
] | null | null | null | debugtalk.py | caoyp2/HRunDemo | 41810a2fd366c780ea8f2bf9b4328fdd60aba171 | [
"Apache-2.0"
] | null | null | null | debugtalk.py | caoyp2/HRunDemo | 41810a2fd366c780ea8f2bf9b4328fdd60aba171 | [
"Apache-2.0"
] | null | null | null | import datetime
import time
def sleep(n_secs):
time.sleep(n_secs)
def get_timestamp():
dtime = datetime.datetime.now()
un_time = time.mktime(dtime.timetuple())
return str(un_time)
def print_docId(docId):
print(docId)
def print_phonepass(phone,password):
print(phone + "---------" + password)... | 16.947368 | 44 | 0.677019 | 43 | 322 | 4.906977 | 0.488372 | 0.066351 | 0.094787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177019 | 322 | 18 | 45 | 17.888889 | 0.796226 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.583333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
2285d8fefdc5efe988f942a7eb7b3f78ecd84063 | 310 | py | Python | category/models.py | captainxavier/AutoBlog | 44fb23628fe0210a3dcec80b91e1217d27ee9462 | [
"MIT"
] | null | null | null | category/models.py | captainxavier/AutoBlog | 44fb23628fe0210a3dcec80b91e1217d27ee9462 | [
"MIT"
] | null | null | null | category/models.py | captainxavier/AutoBlog | 44fb23628fe0210a3dcec80b91e1217d27ee9462 | [
"MIT"
] | null | null | null | from django.db import models
class Category(models.Model):
title = models.CharField(max_length=20)
class Meta:
db_table = 'category'
verbose_name = ("Category")
verbose_name_plural = ("Categories")
def __str__(self):
return self.title
| 15.5 | 45 | 0.590323 | 33 | 310 | 5.272727 | 0.69697 | 0.172414 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009479 | 0.319355 | 310 | 19 | 46 | 16.315789 | 0.815166 | 0 | 0 | 0 | 0 | 0 | 0.089965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
22881ed2f077cedcedaa10dbf83c13905a622021 | 113 | py | Python | main_module/__init__.py | JohanNicander/python-test-architecture | 2418f861cb46c3fccaa21be94ee92c5862985a15 | [
"Apache-2.0"
] | null | null | null | main_module/__init__.py | JohanNicander/python-test-architecture | 2418f861cb46c3fccaa21be94ee92c5862985a15 | [
"Apache-2.0"
] | null | null | null | main_module/__init__.py | JohanNicander/python-test-architecture | 2418f861cb46c3fccaa21be94ee92c5862985a15 | [
"Apache-2.0"
] | null | null | null | from .zero import zero
from main_module._unittester import UnitTester
test = UnitTester(__name__)
del UnitTester | 22.6 | 46 | 0.840708 | 15 | 113 | 5.933333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 5 | 47 | 22.6 | 0.89 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
22896fc7355f1baa1a7f7d9e3165cdfe2c0b6611 | 165 | py | Python | src/node/ext/ldap/scope.py | enfold/node.ext.ldap | 28127057be6ba3092389f3c920575292d43d9f94 | [
"BSD-2-Clause"
] | 3 | 2016-04-22T00:37:17.000Z | 2020-04-03T07:14:54.000Z | src/node/ext/ldap/scope.py | enfold/node.ext.ldap | 28127057be6ba3092389f3c920575292d43d9f94 | [
"BSD-2-Clause"
] | 51 | 2015-02-10T11:14:01.000Z | 2021-05-05T11:06:59.000Z | src/node/ext/ldap/scope.py | enfold/node.ext.ldap | 28127057be6ba3092389f3c920575292d43d9f94 | [
"BSD-2-Clause"
] | 12 | 2016-08-09T09:39:35.000Z | 2020-04-18T14:53:56.000Z | # -*- coding: utf-8 -*-
import ldap
BASE = ldap.SCOPE_BASE
ONELEVEL = ldap.SCOPE_ONELEVEL
SUBTREE = ldap.SCOPE_SUBTREE
SCOPES = [BASE, ONELEVEL, SUBTREE]
del ldap
| 16.5 | 34 | 0.727273 | 23 | 165 | 5.086957 | 0.478261 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.151515 | 165 | 9 | 35 | 18.333333 | 0.828571 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
22a5b5de1219dd90ee90a5e573d5793e913c42ca | 379 | py | Python | queries/general_queries.py | souparvo/airflow-plugins | 0ca7fa634335145b69671054680d5d67de329644 | [
"BSD-3-Clause"
] | null | null | null | queries/general_queries.py | souparvo/airflow-plugins | 0ca7fa634335145b69671054680d5d67de329644 | [
"BSD-3-Clause"
] | null | null | null | queries/general_queries.py | souparvo/airflow-plugins | 0ca7fa634335145b69671054680d5d67de329644 | [
"BSD-3-Clause"
] | null | null | null |
def insert_metatable():
"""SQL query to insert records from table insert into a table on a DB
"""
return """
INSERT INTO TABLE {{ params.target_schema }}.{{ params.target_table }} VALUES
('{{ params.schema }}', '{{ params.table }}', {{ ti.xcom_pull(key='hive_res', task_ids=params.count_inserts)[0... | 42.111111 | 165 | 0.62533 | 49 | 379 | 4.673469 | 0.653061 | 0.087336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.182058 | 379 | 9 | 166 | 42.111111 | 0.732258 | 0.174142 | 0 | 0 | 0 | 0.2 | 0.84106 | 0.211921 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.4 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
22ab90482878ca5263216eabd709a4a4b0c55fab | 338 | py | Python | gfwlist/gen.py | lipeijian/shadowsocks-android | ef707e4383a0d430775c8ac9b660c334e87e40ec | [
"OpenSSL",
"MIT"
] | 137 | 2016-08-04T13:34:02.000Z | 2021-05-31T12:47:10.000Z | gfwlist/gen.py | lipeijian/shadowsocks-android | ef707e4383a0d430775c8ac9b660c334e87e40ec | [
"OpenSSL",
"MIT"
] | 9 | 2016-10-16T14:43:30.000Z | 2018-04-21T11:02:39.000Z | gfwlist/gen.py | lipeijian/shadowsocks-android | ef707e4383a0d430775c8ac9b660c334e87e40ec | [
"OpenSSL",
"MIT"
] | 86 | 2016-08-30T07:22:19.000Z | 2020-10-19T05:08:22.000Z | #!/usr/bin/python
# -*- encoding: utf8 -*-
import itertools
import math
import sys
import IPy
def main():
china_list_set = IPy.IPSet()
for line in sys.stdin:
china_list_set.add(IPy.IP(line))
# 输出结果
for ip in china_list_set:
print '<item>' + str(ip) + '</item>'
if __name__ == "__ma... | 14.695652 | 44 | 0.60355 | 48 | 338 | 3.958333 | 0.583333 | 0.142105 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003937 | 0.248521 | 338 | 22 | 45 | 15.363636 | 0.744094 | 0.130178 | 0 | 0 | 0 | 0 | 0.072165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.083333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
22b5613b1a36e6519fc3f676eadefe6b4b566ae1 | 968 | py | Python | src/query_planner/abstract_scan_plan.py | imvinod/Eva | 0ed9814ae89db7dce1fb734dc99d5dac69cb3c82 | [
"Apache-2.0"
] | 1 | 2019-11-06T03:30:08.000Z | 2019-11-06T03:30:08.000Z | src/query_planner/abstract_scan_plan.py | imvinod/Eva | 0ed9814ae89db7dce1fb734dc99d5dac69cb3c82 | [
"Apache-2.0"
] | 1 | 2019-11-18T03:09:56.000Z | 2019-11-18T03:09:56.000Z | src/query_planner/abstract_scan_plan.py | asrayousuf/Eva | f652e5d398556055490c146f37e7a2d7a9d091f3 | [
"Apache-2.0"
] | null | null | null | """Abstract class for all the scan planners
https://www.postgresql.org/docs/9.1/using-explain.html
https://www.postgresql.org/docs/9.5/runtime-config-query.html
"""
from src.query_planner.abstract_plan import AbstractPlan
from typing import List
class AbstractScan(AbstractPlan):
"""Abstract class for all the scan... | 26.162162 | 61 | 0.664256 | 117 | 968 | 5.307692 | 0.444444 | 0.072464 | 0.05153 | 0.061192 | 0.167472 | 0.167472 | 0 | 0 | 0 | 0 | 0 | 0.005472 | 0.244835 | 968 | 36 | 62 | 26.888889 | 0.844049 | 0.326446 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.166667 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
22b79c3feb3f8475ac595810daa8294a07d6c2b9 | 625 | py | Python | apis/admin.py | JumboCode/GroundWorkSomerville | 280f9cd8ea38f065c9fb113e563a4be362a7e265 | [
"MIT"
] | null | null | null | apis/admin.py | JumboCode/GroundWorkSomerville | 280f9cd8ea38f065c9fb113e563a4be362a7e265 | [
"MIT"
] | null | null | null | apis/admin.py | JumboCode/GroundWorkSomerville | 280f9cd8ea38f065c9fb113e563a4be362a7e265 | [
"MIT"
] | 1 | 2021-06-28T22:56:22.000Z | 2021-06-28T22:56:22.000Z | from django.contrib import admin
from django.contrib.auth.models import User
from .models import Vegetable, Harvest, Transaction, Merchandise, MerchandisePrice
from .models import PurchasedItem, UserProfile, VegetablePrice, StockedVegetable
from .models import MerchandisePhotos
admin.site.register(Vegetable)
admin.sit... | 36.764706 | 82 | 0.8528 | 71 | 625 | 7.507042 | 0.28169 | 0.168856 | 0.318949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0608 | 625 | 16 | 83 | 39.0625 | 0.908007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
22b997fa793710eae107fad9390bbdd1f1c77572 | 495 | py | Python | submissions/available/Johnson-CausalTesting/Holmes/fuzzers/Peach/Transformers/Encode/HTMLDecode.py | brittjay0104/rose6icse | 7b24743b7a805b9ed094b67e4a08bad7894f0e84 | [
"Unlicense"
] | null | null | null | submissions/available/Johnson-CausalTesting/Holmes/fuzzers/Peach/Transformers/Encode/HTMLDecode.py | brittjay0104/rose6icse | 7b24743b7a805b9ed094b67e4a08bad7894f0e84 | [
"Unlicense"
] | null | null | null | submissions/available/Johnson-CausalTesting/Holmes/fuzzers/Peach/Transformers/Encode/HTMLDecode.py | brittjay0104/rose6icse | 7b24743b7a805b9ed094b67e4a08bad7894f0e84 | [
"Unlicense"
] | null | null | null | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import xml.sax.saxutils
from Peach.transformer import Transformer
class HtmlDecode(Transformer):
"""Decode HTML en... | 29.117647 | 69 | 0.717172 | 76 | 495 | 4.671053 | 0.684211 | 0.050704 | 0.11831 | 0.11831 | 0.230986 | 0.230986 | 0.230986 | 0.230986 | 0 | 0 | 0 | 0.009926 | 0.185859 | 495 | 16 | 70 | 30.9375 | 0.870968 | 0.446465 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
22ce1c9c1c8f77ccd4520e195e541c2a19150619 | 268 | py | Python | HackerRank/Python/Easy/E0036.py | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 54 | 2019-05-13T12:13:09.000Z | 2022-02-27T02:59:00.000Z | HackerRank/Python/Easy/E0036.py | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 2 | 2020-10-02T07:16:43.000Z | 2020-10-19T04:36:19.000Z | HackerRank/Python/Easy/E0036.py | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 20 | 2020-05-26T09:48:13.000Z | 2022-03-18T15:18:27.000Z | # Problem Statement: https://www.hackerrank.com/challenges/itertools-combinations-with-replacement/problem
from itertools import combinations_with_replacement
S, k = input().split()
for comb in combinations_with_replacement(sorted(S), int(k)):
print(''.join(comb)) | 33.5 | 106 | 0.791045 | 35 | 268 | 5.942857 | 0.685714 | 0.230769 | 0.389423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078358 | 268 | 8 | 107 | 33.5 | 0.842105 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
22fbfb719886ba73384d6d380084bceb6dabf90b | 2,127 | py | Python | Topaz/Core.py | Rhodolite/Gem.py.UnitTest | eaa8b6855bcfbb12f67e7eb146928814543ef9d4 | [
"MIT"
] | null | null | null | Topaz/Core.py | Rhodolite/Gem.py.UnitTest | eaa8b6855bcfbb12f67e7eb146928814543ef9d4 | [
"MIT"
] | null | null | null | Topaz/Core.py | Rhodolite/Gem.py.UnitTest | eaa8b6855bcfbb12f67e7eb146928814543ef9d4 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2017 Joy Diamond. All rights reserved.
#
@gem('Topaz.Core')
def gem():
require_gem('Gem.Global')
from Gem import gem_global
gem_global.testing = true
require_gem('Gem.Cache2')
require_gem('Gem.DumpCache')
require_gem('Gem.GeneratedConjureQuadruple')
require_gem('Ge... | 35.45 | 97 | 0.661965 | 247 | 2,127 | 5.11336 | 0.234818 | 0.221694 | 0.221694 | 0.152019 | 0.640538 | 0.615202 | 0.511481 | 0.4038 | 0.256532 | 0.087094 | 0 | 0.026503 | 0.272685 | 2,127 | 59 | 98 | 36.050847 | 0.789916 | 0.043253 | 0 | 0.055556 | 0 | 0 | 0.224419 | 0.129016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | true | 0 | 0.194444 | 0 | 0.222222 | 0.055556 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe05b5a6d987129895e699ef1d4e1c22d1bf1542 | 472 | py | Python | enaml/core/byteplay/__init__.py | timgates42/enaml | 054efe6a4047d84f2fff718d656a64a2363884dc | [
"BSD-3-Clause-Clear"
] | null | null | null | enaml/core/byteplay/__init__.py | timgates42/enaml | 054efe6a4047d84f2fff718d656a64a2363884dc | [
"BSD-3-Clause-Clear"
] | null | null | null | enaml/core/byteplay/__init__.py | timgates42/enaml | 054efe6a4047d84f2fff718d656a64a2363884dc | [
"BSD-3-Clause-Clear"
] | null | null | null | #------------------------------------------------------------------------------
# Copyright (c) 2013-2018, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#--------------------------------------------... | 33.714286 | 79 | 0.493644 | 44 | 472 | 5.25 | 0.75 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.122881 | 472 | 13 | 80 | 36.307692 | 0.536232 | 0.722458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
fe0def896199f4c5334b061cf90749e18fdcc0bd | 223 | py | Python | tests/strategies/common/test_cputime.py | y-tetsu/othello | 73eabfe22d6b44bbfa0b436e6287e3e7356620f4 | [
"MIT"
] | 10 | 2020-07-24T22:04:51.000Z | 2022-03-25T06:09:48.000Z | tests/strategies/common/test_cputime.py | y-tetsu/othello | 73eabfe22d6b44bbfa0b436e6287e3e7356620f4 | [
"MIT"
] | 12 | 2021-04-30T09:53:18.000Z | 2022-02-25T04:16:02.000Z | tests/strategies/common/test_cputime.py | y-tetsu/othello | 73eabfe22d6b44bbfa0b436e6287e3e7356620f4 | [
"MIT"
] | 1 | 2021-11-25T13:12:32.000Z | 2021-11-25T13:12:32.000Z | """Tests of cputime.py
"""
import unittest
from reversi.strategies.common import CPU_TIME
class TestCputime(unittest.TestCase):
"""cputime
"""
def test_cputime(self):
self.assertEqual(CPU_TIME, 0.5)
| 15.928571 | 46 | 0.690583 | 28 | 223 | 5.392857 | 0.75 | 0.092715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01105 | 0.188341 | 223 | 13 | 47 | 17.153846 | 0.823204 | 0.143498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a3ac7f877a13b1b1d1be58575a8e398e8062fac9 | 190 | py | Python | Giraffe/Functions.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | Giraffe/Functions.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | Giraffe/Functions.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | 1 | 2022-01-14T17:12:44.000Z | 2022-01-14T17:12:44.000Z | def say_hi(name,age):
print("Hello " + name + ", you are " + age)
say_hi("Mike", "35")
def cube(num): # function
return num*num*num
result = cube(4) # variable
print(result)
| 11.875 | 47 | 0.6 | 29 | 190 | 3.862069 | 0.62069 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.226316 | 190 | 15 | 48 | 12.666667 | 0.741497 | 0.089474 | 0 | 0 | 0 | 0 | 0.13253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.428571 | 0.285714 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
a3b2f8e0ee7fa10fe388b6e668b6e1e8224ddcfe | 1,531 | py | Python | salt/ext/tornado/test/import_test.py | yuriks/salt | d2a5bd8adddb98ec1718d79384aa13b4f37e8028 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-03-31T22:51:16.000Z | 2020-03-31T22:51:16.000Z | salt/ext/tornado/test/import_test.py | yuriks/salt | d2a5bd8adddb98ec1718d79384aa13b4f37e8028 | [
"Apache-2.0",
"MIT"
] | null | null | null | salt/ext/tornado/test/import_test.py | yuriks/salt | d2a5bd8adddb98ec1718d79384aa13b4f37e8028 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-30T07:00:01.000Z | 2021-09-30T07:00:01.000Z | # flake8: noqa
# pylint: skip-file
from __future__ import absolute_import, division, print_function
from salt.ext.tornado.test.util import unittest
class ImportTest(unittest.TestCase):
def test_import_everything(self):
# Some of our modules are not otherwise tested. Import them
# all (unless they... | 31.244898 | 73 | 0.666884 | 168 | 1,531 | 6 | 0.553571 | 0.348214 | 0.025794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001842 | 0.29066 | 1,531 | 48 | 74 | 31.895833 | 0.926335 | 0.187459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0.027027 | 0.918919 | 0 | 1 | 0.027027 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a3c4634520b2ba72e01bed684e08b442a5657f9b | 385 | py | Python | jiminy/envs/vnc_wog.py | sibeshkar/jiminy | 7754f86fb0f246e7d039ea0cbfd9950fcae4adfb | [
"MIT"
] | 3 | 2020-03-16T13:50:40.000Z | 2021-06-09T05:26:13.000Z | jiminy/envs/vnc_wog.py | sibeshkar/jiminy | 7754f86fb0f246e7d039ea0cbfd9950fcae4adfb | [
"MIT"
] | null | null | null | jiminy/envs/vnc_wog.py | sibeshkar/jiminy | 7754f86fb0f246e7d039ea0cbfd9950fcae4adfb | [
"MIT"
] | null | null | null | from jiminy.envs import vnc_env
from jiminy.spaces import VNCActionSpace
class WorldOfGooEnv(vnc_env.VNCEnv):
def __init__(self):
super(WorldOfGooEnv, self).__init__()
# TODO: set action space screen shape to match
# HACK: empty keys list fails for some weird reason, give it an 'a'
... | 35 | 75 | 0.703896 | 52 | 385 | 5 | 0.730769 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003268 | 0.205195 | 385 | 10 | 76 | 38.5 | 0.846405 | 0.285714 | 0 | 0 | 0 | 0 | 0.003676 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a3d6f97d9d98a31dc4f2829ae746920be2ea8e17 | 4,902 | py | Python | pysnmp-with-texts/CXConsoleDriver-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/CXConsoleDriver-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/CXConsoleDriver-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module CXConsoleDriver-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CXConsoleDriver-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:32:28 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default... | 158.129032 | 856 | 0.786006 | 602 | 4,902 | 6.400332 | 0.337209 | 0.031145 | 0.054503 | 0.015572 | 0.39891 | 0.242409 | 0.229432 | 0.187906 | 0.187906 | 0.187906 | 0 | 0.045104 | 0.099959 | 4,902 | 30 | 857 | 163.4 | 0.828196 | 0.067727 | 0 | 0 | 0 | 0.217391 | 0.483885 | 0.009647 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.043478 | 0.304348 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a3dff7c9e786003c054a9ad079320e1b77c72f5f | 439 | py | Python | Main/migrations/0072_auto_20210506_0016.py | Muhammet-Yildiz/Ecommerce_Website-HepsiOrada | 91935014ccc37e0ea57c8cbd2c4891941dcbb917 | [
"MIT"
] | 10 | 2021-06-01T19:30:00.000Z | 2021-06-28T16:16:20.000Z | Main/migrations/0072_auto_20210506_0016.py | Muhammet-Yildiz/HepsiOrada | 91935014ccc37e0ea57c8cbd2c4891941dcbb917 | [
"MIT"
] | null | null | null | Main/migrations/0072_auto_20210506_0016.py | Muhammet-Yildiz/HepsiOrada | 91935014ccc37e0ea57c8cbd2c4891941dcbb917 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2021-05-05 21:16
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('Main', '0071_auto_20210506_0004'),
]
operations = [
migrations.RemoveField(
model_name='product',
name='chooseColor',
... | 19.954545 | 47 | 0.567198 | 42 | 439 | 5.809524 | 0.714286 | 0.172131 | 0.213115 | 0.245902 | 0.336066 | 0.336066 | 0 | 0 | 0 | 0 | 0 | 0.104027 | 0.321185 | 439 | 21 | 48 | 20.904762 | 0.714765 | 0.102506 | 0 | 0.4 | 1 | 0 | 0.158163 | 0.058673 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3ee75515f2face15871213c79bd272768d90d2f | 231 | py | Python | src/models.py | jonathanlloyd/scratchstack-httpserver | 72f9bb5b1673b132786d94c017dbf2d370886b79 | [
"MIT"
] | null | null | null | src/models.py | jonathanlloyd/scratchstack-httpserver | 72f9bb5b1673b132786d94c017dbf2d370886b79 | [
"MIT"
] | null | null | null | src/models.py | jonathanlloyd/scratchstack-httpserver | 72f9bb5b1673b132786d94c017dbf2d370886b79 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass
class Request:
method: str
path: str
headers: dict
body: bytes
@dataclass
class Response:
status_code: int
reason_phrase: str
headers: dict
body: bytes
| 14.4375 | 33 | 0.688312 | 28 | 231 | 5.607143 | 0.678571 | 0.178344 | 0.178344 | 0.229299 | 0.292994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 231 | 15 | 34 | 15.4 | 0.918129 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 0.846154 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3f0553d759d16377520becb3fec3c845edf0c9f | 464 | py | Python | src/affinity-propagation/generate_data.py | dominc8/affinity-propagation | b91b18b52eb68a7eafaadf0ceac39fe10955dcf2 | [
"MIT"
] | 1 | 2020-10-22T18:11:53.000Z | 2020-10-22T18:11:53.000Z | src/affinity-propagation/generate_data.py | dominc8/affinity-propagation | b91b18b52eb68a7eafaadf0ceac39fe10955dcf2 | [
"MIT"
] | null | null | null | src/affinity-propagation/generate_data.py | dominc8/affinity-propagation | b91b18b52eb68a7eafaadf0ceac39fe10955dcf2 | [
"MIT"
] | null | null | null | from config import DataGeneratorCfg
from sklearn.datasets.samples_generator import make_blobs
import numpy as np
def generate():
data, true_labels = make_blobs(n_samples=DataGeneratorCfg.n_samples, centers=DataGeneratorCfg.centers, cluster_std=DataGeneratorCfg.cluster_std, random_state=DataGeneratorCfg.random_stat... | 38.666667 | 192 | 0.799569 | 61 | 464 | 5.885246 | 0.491803 | 0.083565 | 0.077994 | 0.094708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 464 | 11 | 193 | 42.181818 | 0.871359 | 0 | 0 | 0 | 1 | 0 | 0.114471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0 | 0.555556 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a3f8263738f1248425bd621ee69178be5e83cbe4 | 19 | py | Python | pymclevel/test/__init__.py | bennettdc/MCEdit-Unified | 90abfb170c65b877ac67193e717fa3a3ded635dd | [
"0BSD"
] | 673 | 2015-01-02T02:08:13.000Z | 2022-03-24T19:38:14.000Z | pymclevel/test/__init__.py | bennettdc/MCEdit-Unified | 90abfb170c65b877ac67193e717fa3a3ded635dd | [
"0BSD"
] | 551 | 2015-01-01T02:36:53.000Z | 2018-02-01T00:03:12.000Z | pymclevel/test/__init__.py | bennettdc/MCEdit-Unified | 90abfb170c65b877ac67193e717fa3a3ded635dd | [
"0BSD"
] | 231 | 2015-01-01T16:47:30.000Z | 2022-03-31T21:51:55.000Z | __author__ = 'Rio'
| 9.5 | 18 | 0.684211 | 2 | 19 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3fcd7848a2f35d426c874d1ab768f72fe615409 | 1,563 | py | Python | bst.py | phildavis17/DS_A | 2d950a62b1ea36dff5dcd2c17266ddf088719472 | [
"MIT"
] | null | null | null | bst.py | phildavis17/DS_A | 2d950a62b1ea36dff5dcd2c17266ddf088719472 | [
"MIT"
] | null | null | null | bst.py | phildavis17/DS_A | 2d950a62b1ea36dff5dcd2c17266ddf088719472 | [
"MIT"
] | null | null | null | class BSTNode:
def __init__(self, data = None) -> None:
self.data = data
self.left = None
self.right = None
def __repr__(self) -> str:
return(f"BSTNode({self.data})")
def __str__(self) -> str:
return str(self.data)
def __eq__(self, o: object) -> ... | 20.565789 | 66 | 0.525912 | 199 | 1,563 | 3.939698 | 0.271357 | 0.133929 | 0.070153 | 0.057398 | 0.404337 | 0.309949 | 0.309949 | 0.309949 | 0.195153 | 0.195153 | 0 | 0 | 0.363404 | 1,563 | 75 | 67 | 20.84 | 0.78794 | 0.193218 | 0 | 0.386364 | 0 | 0 | 0.016821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.386364 | 0 | 0.045455 | 0.522727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4307e6cee1e0a5d05e36c874e743174e0b006360 | 354 | py | Python | 001146StepikPyBegin/Stepik001146PyBeginсh02p05st15C09_20200411.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001146StepikPyBegin/Stepik001146PyBeginсh02p05st15C09_20200411.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001146StepikPyBegin/Stepik001146PyBeginсh02p05st15C09_20200411.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | num = int(input())
d1 = (num % 10 ** 4) // 10 ** 3
d2 = (num % 10 ** 3) // 10 ** 2
d3 = (num % 10 ** 2) // 10
d4 = num % 10
print("Цифра в позиции тысяч равна", d1)
print("Цифра в позиции сотен равна", d2)
print("Цифра в позиции десятков равна", d3)
print("Цифра в позиции единиц равна", d4)
# print("Python", , "is the ... | 27.230769 | 43 | 0.596045 | 61 | 354 | 3.42623 | 0.42623 | 0.095694 | 0.210526 | 0.344498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103943 | 0.211864 | 354 | 12 | 44 | 29.5 | 0.645161 | 0.090395 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.