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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f91807af3e7ac683841310ab31e18d4892b06a39 | 337 | py | Python | rspec/spec_commands/bundle.py | astrauka/SublimeRSpec | 329b6ca928a82a834e7a55e7298fcfc1015a8a4b | [
"MIT"
] | 66 | 2016-04-05T07:21:36.000Z | 2022-01-13T12:18:36.000Z | rspec/spec_commands/bundle.py | astrauka/SublimeRSpec | 329b6ca928a82a834e7a55e7298fcfc1015a8a4b | [
"MIT"
] | 39 | 2016-04-26T15:28:52.000Z | 2021-12-01T12:32:43.000Z | rspec/spec_commands/bundle.py | astrauka/SublimeRSpec | 329b6ca928a82a834e7a55e7298fcfc1015a8a4b | [
"MIT"
] | 20 | 2016-05-16T23:35:03.000Z | 2022-01-09T00:24:24.000Z | import os
class Bundle:
def __init__(self, context):
self.context = context
def result(self):
if not self.context.from_settings("check_for_bundler"):
return
if self.gemfile_exists():
return "bundle exec"
def gemfile_exists(self):
return self.contex... | 21.0625 | 63 | 0.623145 | 40 | 337 | 5 | 0.525 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287834 | 337 | 15 | 64 | 22.466667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.083086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.090909 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f924762c5de2a5d7721ad2fd0968f128a0f2e1a8 | 1,555 | py | Python | tests/base_tests.py | cyphyhouse/CyPyHous3 | 9ba2e9681391d6b9773258bcc73b5e10f403dda7 | [
"MIT"
] | 4 | 2019-05-25T00:48:40.000Z | 2019-09-16T05:20:29.000Z | tests/base_tests.py | cyphyhouse/CyPyHous3 | 9ba2e9681391d6b9773258bcc73b5e10f403dda7 | [
"MIT"
] | 17 | 2019-05-22T20:05:46.000Z | 2020-02-24T16:18:59.000Z | tests/base_tests.py | cyphyhouse/CyPyHous3 | 9ba2e9681391d6b9773258bcc73b5e10f403dda7 | [
"MIT"
] | 2 | 2019-06-19T20:41:55.000Z | 2022-02-16T13:09:40.000Z | # Copyright (c) 2019 CyPhyHouse. All Rights Reserved.
# base test suite
import unittest
import tests.base.test_agent_config as test_agent_config
import tests.base.test_agent_thread as test_agent_thread
import tests.base.test_cylobs as test_cylobs
import tests.base.test_message as test_message
import tests.base.test_... | 28.796296 | 66 | 0.753055 | 226 | 1,555 | 4.840708 | 0.234513 | 0.124314 | 0.219378 | 0.277879 | 0.132541 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003968 | 0.189711 | 1,555 | 53 | 67 | 29.339623 | 0.864286 | 0.043087 | 0 | 0 | 0 | 0 | 0.005387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.386364 | 0 | 0.431818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
005d84b448dc2d20c33cf19a69e09e31e85f9304 | 390 | py | Python | Tareas/ejercicio6.py | pelahumi/calentamiento | a7d602bde16bec4952fd6ea5b346cd0e2feb5a2c | [
"Apache-2.0"
] | null | null | null | Tareas/ejercicio6.py | pelahumi/calentamiento | a7d602bde16bec4952fd6ea5b346cd0e2feb5a2c | [
"Apache-2.0"
] | null | null | null | Tareas/ejercicio6.py | pelahumi/calentamiento | a7d602bde16bec4952fd6ea5b346cd0e2feb5a2c | [
"Apache-2.0"
] | null | null | null | customer_basket_cost = 34
customer_basket_weight = 44
shipping_cost = customer_basket_weight * 1.2
#Write if statement here to calculate the total cost
if customer_basket_weight >= 100:
coste_cesta = customer_basket_cost
print("Total: " + str(coste_cesta) + " euros")
else:
coste_cesta = customer_basket_co... | 30 | 54 | 0.74359 | 54 | 390 | 5.037037 | 0.444444 | 0.308824 | 0.198529 | 0.176471 | 0.426471 | 0.235294 | 0.235294 | 0 | 0 | 0 | 0 | 0.027692 | 0.166667 | 390 | 12 | 55 | 32.5 | 0.809231 | 0.130769 | 0 | 0.222222 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.222222 | 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 |
0060a683e371d4d3d2b26cda9fedee13a7812be9 | 4,116 | py | Python | exercises/en/test_04_14.py | UBC-MDS/exploratory-data-viz | 83b704ce10d1ff5e10bfd4cdfa872ac52993fd54 | [
"CC-BY-4.0"
] | null | null | null | exercises/en/test_04_14.py | UBC-MDS/exploratory-data-viz | 83b704ce10d1ff5e10bfd4cdfa872ac52993fd54 | [
"CC-BY-4.0"
] | 88 | 2020-12-04T06:56:51.000Z | 2021-05-10T22:02:45.000Z | exercises/en/test_04_14.py | UBC-MDS/exploratory-data-viz | 83b704ce10d1ff5e10bfd4cdfa872ac52993fd54 | [
"CC-BY-4.0"
] | 4 | 2021-01-13T09:30:57.000Z | 2021-08-03T20:49:31.000Z | def test():
# Here we can either check objects created in the solution code, or the
# string value of the solution, available as __solution__. A helper for
# printing formatted messages is available as __msg__. See the testTemplate
# in the meta.json for details.
# If an assertion fails, the message... | 85.75 | 255 | 0.727162 | 604 | 4,116 | 4.879139 | 0.25 | 0.124873 | 0.101798 | 0.133017 | 0.557177 | 0.512725 | 0.460129 | 0.38887 | 0.38887 | 0.312861 | 0 | 0.000589 | 0.175413 | 4,116 | 47 | 256 | 87.574468 | 0.867708 | 0.071914 | 0 | 0.114286 | 0 | 0.228571 | 0.52753 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.028571 | true | 0 | 0 | 0 | 0.028571 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
00ae68c9f2bfdbcaee551271e69e33514b4b1a9b | 257 | py | Python | src/infrastructure/Normalizer.py | opengeekv2/python-app-exercise | ff3c7e3bac33e1426ab845b08f259b4812230fb3 | [
"MIT"
] | null | null | null | src/infrastructure/Normalizer.py | opengeekv2/python-app-exercise | ff3c7e3bac33e1426ab845b08f259b4812230fb3 | [
"MIT"
] | null | null | null | src/infrastructure/Normalizer.py | opengeekv2/python-app-exercise | ff3c7e3bac33e1426ab845b08f259b4812230fb3 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from src.model.todo import ToDo
class Normalizer(ABC):
@abstractmethod
def denormalize(self, todo_dict: dict) -> ToDo:
pass
@abstractmethod
def normalize(self, todo: ToDo) -> dict:
pass
| 19.769231 | 51 | 0.673152 | 31 | 257 | 5.548387 | 0.483871 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241245 | 257 | 12 | 52 | 21.416667 | 0.882051 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
00ec2e36fc385d6afb06d81a999512c6ac61806c | 1,004 | py | Python | pollumeter/pollumeterbeta/migrations/0007_auto_20200315_0406.py | dhruvildave/pollumeter | 3eb6eceae4a8a9bb3fb95e2e3b0385f8472c4a65 | [
"BSD-3-Clause"
] | null | null | null | pollumeter/pollumeterbeta/migrations/0007_auto_20200315_0406.py | dhruvildave/pollumeter | 3eb6eceae4a8a9bb3fb95e2e3b0385f8472c4a65 | [
"BSD-3-Clause"
] | 3 | 2021-03-11T01:34:50.000Z | 2022-02-27T08:15:58.000Z | pollumeter/pollumeterbeta/migrations/0007_auto_20200315_0406.py | dhruvildave/pollumeter | 3eb6eceae4a8a9bb3fb95e2e3b0385f8472c4a65 | [
"BSD-3-Clause"
] | 1 | 2020-03-21T12:37:56.000Z | 2020-03-21T12:37:56.000Z | # Generated by Django 3.0.4 on 2020-03-15 04:06
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('pollumeterbeta', '0006_auto_20200314_2046'),
]
operations = [
migrations.RenameField(
model_name='pollimetermodel',
old_name... | 25.1 | 54 | 0.553785 | 85 | 1,004 | 6.305882 | 0.494118 | 0.100746 | 0.268657 | 0.223881 | 0.593284 | 0.593284 | 0.593284 | 0.205224 | 0 | 0 | 0 | 0.046899 | 0.341633 | 1,004 | 39 | 55 | 25.74359 | 0.763994 | 0.044821 | 0 | 0.545455 | 1 | 0 | 0.214211 | 0.024033 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.121212 | 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 |
dab3920e5559ac421906e2cb20424748b9c076f6 | 265 | py | Python | budgetApp/admin.py | tamihaimov/PyBudget | 74bff7d3639cd4badccba377db08a6a8fc5d8d9f | [
"Apache-2.0"
] | null | null | null | budgetApp/admin.py | tamihaimov/PyBudget | 74bff7d3639cd4badccba377db08a6a8fc5d8d9f | [
"Apache-2.0"
] | null | null | null | budgetApp/admin.py | tamihaimov/PyBudget | 74bff7d3639cd4badccba377db08a6a8fc5d8d9f | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(BudgetAccount)
admin.site.register(UserBudget)
admin.site.register(Envelope)
admin.site.register(Transaction)
admin.site.register(ScheduledTransaction)
admin.site.register(SavingsHistory)
| 24.090909 | 41 | 0.837736 | 32 | 265 | 6.9375 | 0.4375 | 0.243243 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060377 | 265 | 10 | 42 | 26.5 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dac3e2d25d4d6b194fa204aeda3656557464c505 | 1,085 | py | Python | authentication/adapter.py | rafalbielech/Django-Home-application | cff6429e33a91336cb377fe01e86ff274ca56f43 | [
"MIT"
] | null | null | null | authentication/adapter.py | rafalbielech/Django-Home-application | cff6429e33a91336cb377fe01e86ff274ca56f43 | [
"MIT"
] | null | null | null | authentication/adapter.py | rafalbielech/Django-Home-application | cff6429e33a91336cb377fe01e86ff274ca56f43 | [
"MIT"
] | null | null | null | from allauth.account.adapter import DefaultAccountAdapter
from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
from allauth.exceptions import ImmediateHttpResponse
from django.shortcuts import render, redirect
from django.contrib.auth import get_user_model
from django.conf import settings
User = get_u... | 35 | 96 | 0.735484 | 123 | 1,085 | 6.390244 | 0.609756 | 0.041985 | 0.030534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003429 | 0.193548 | 1,085 | 30 | 97 | 36.166667 | 0.894857 | 0.197235 | 0 | 0 | 0 | 0 | 0.063183 | 0.026731 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.058824 | 0.352941 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
dac818113dffbfb4510abb19e6f78220c29dc8cc | 2,021 | py | Python | app/models.py | neerajkarlus/vivahavedi | d03dc2a42401e866a747440a173ddd5008621f1f | [
"MIT"
] | null | null | null | app/models.py | neerajkarlus/vivahavedi | d03dc2a42401e866a747440a173ddd5008621f1f | [
"MIT"
] | null | null | null | app/models.py | neerajkarlus/vivahavedi | d03dc2a42401e866a747440a173ddd5008621f1f | [
"MIT"
] | null | null | null | from django.db import models
from datetime import datetime, date
community_choice = (
('Syro-Malabar','SYRO-MALABAR'),
('Latin', 'LATIN'),
('Malankara','MALANKARA'),
)
fam_choice = (
('Low','LOW'),
('Middle', 'MIDDLE'),
('Upper Middle','UPPER MIDDLE'),
('Rich','RICH'),
)
# Create your mode... | 49.292683 | 105 | 0.72192 | 281 | 2,021 | 5.049822 | 0.259786 | 0.133192 | 0.2537 | 0.338266 | 0.544045 | 0.544045 | 0.497533 | 0.497533 | 0.497533 | 0.071882 | 0 | 0.029851 | 0.13805 | 2,021 | 41 | 106 | 49.292683 | 0.78473 | 0.011875 | 0 | 0 | 0 | 0 | 0.051102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.052632 | 0.026316 | 0.710526 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
dafce8d3d68a3e53073372bb37929c6868959e52 | 917 | py | Python | explainaboard/processors/processor_registry.py | hwidjaja/ExplainaBoard | 0e670ad2df9326eb6b4ad99ba435fd7b6806557a | [
"MIT"
] | null | null | null | explainaboard/processors/processor_registry.py | hwidjaja/ExplainaBoard | 0e670ad2df9326eb6b4ad99ba435fd7b6806557a | [
"MIT"
] | null | null | null | explainaboard/processors/processor_registry.py | hwidjaja/ExplainaBoard | 0e670ad2df9326eb6b4ad99ba435fd7b6806557a | [
"MIT"
] | null | null | null | from __future__ import annotations
from explainaboard import TaskType
from explainaboard.metric import MetricConfig
from explainaboard.processors.processor import Processor
_processor_registry: dict = {}
def get_processor(task: TaskType | str) -> Processor:
"""
return a processor based on the task type
... | 26.2 | 72 | 0.751363 | 106 | 917 | 6.198113 | 0.358491 | 0.103501 | 0.09589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 917 | 34 | 73 | 26.970588 | 0.869048 | 0.185387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
971b9130c3bc632578e5d3b88f474633cd55e34f | 163 | py | Python | src/simple-neopixel.py | athenian-programming/cpx-tutorial | 77fcc45a5515b985751dd62c94c44431b6787ac5 | [
"Apache-2.0"
] | null | null | null | src/simple-neopixel.py | athenian-programming/cpx-tutorial | 77fcc45a5515b985751dd62c94c44431b6787ac5 | [
"Apache-2.0"
] | null | null | null | src/simple-neopixel.py | athenian-programming/cpx-tutorial | 77fcc45a5515b985751dd62c94c44431b6787ac5 | [
"Apache-2.0"
] | null | null | null | import neopixel
import board
pixels = neopixel.NeoPixel(board.NEOPIXEL, 10, brightness = .01)
while True:
for i in range(10):
pixels[i] = (0, 0, 255)
| 20.375 | 64 | 0.662577 | 24 | 163 | 4.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085938 | 0.214724 | 163 | 7 | 65 | 23.285714 | 0.757813 | 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 |
97223422b39632579e93aa67c24a6a8bc25fe67b | 6,134 | py | Python | annofabapi/dataclass/statistics.py | kurusugawa-computer/annofab-api-python-client | 9920e0745f1ee8ea79c26e26a61013b415351982 | [
"MIT"
] | 17 | 2019-05-04T04:24:28.000Z | 2021-12-14T02:43:24.000Z | annofabapi/dataclass/statistics.py | kurusugawa-computer/annofab-api-python-client | 9920e0745f1ee8ea79c26e26a61013b415351982 | [
"MIT"
] | 214 | 2019-05-13T01:07:28.000Z | 2022-03-28T20:02:34.000Z | annofabapi/dataclass/statistics.py | kurusugawa-computer/annofab-api-python-client | 9920e0745f1ee8ea79c26e26a61013b415351982 | [
"MIT"
] | 2 | 2019-06-15T05:01:50.000Z | 2019-07-04T02:29:55.000Z | # flake8: noqa: W291
# pylint: disable=too-many-lines,trailing-whitespace
"""
annofabapiのmodelをDataClassで定義したクラス
Note:
このファイルはopenapi-generatorで自動生成される。詳細は generate/README.mdを参照.
oneOf, allOfなどは正しく表現できない可能性がある。
"""
import warnings # pylint: disable=unused-import
from dataclasses import dataclass
from typing... | 23.960938 | 975 | 0.616563 | 613 | 6,134 | 6.125612 | 0.2969 | 0.035153 | 0.017577 | 0.029294 | 0.381891 | 0.268176 | 0.211718 | 0.198935 | 0.198935 | 0.196272 | 0 | 0.036976 | 0.206391 | 6,134 | 255 | 976 | 24.054902 | 0.734388 | 0.048419 | 0 | 0.431818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.056818 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
97244854ecd6458b86c3953bfae23adb50bed79c | 183 | py | Python | Python3/Django/HelloREST/api/views/index.py | youngqqcn/QBlockChainNotes | 85122049024dc5555705bf016312491a51966621 | [
"MIT"
] | 24 | 2018-11-01T03:36:43.000Z | 2022-03-28T08:20:30.000Z | Python3/Django/HelloREST/api/views/index.py | songning4/QBlockChainNotes | d65ede073f5a20f728f41cc6850409693820cdb1 | [
"MIT"
] | 57 | 2019-12-04T08:26:47.000Z | 2022-03-08T07:35:15.000Z | Python3/Django/HelloREST/api/views/index.py | youngqqcn/QBlockChainNotes | 85122049024dc5555705bf016312491a51966621 | [
"MIT"
] | 11 | 2019-01-04T08:41:57.000Z | 2022-03-16T03:51:36.000Z | # from django.http import JsonResponse
#
#
# def index(request):
#
# data = {
# 'status' : 200,
# 'msg' : 'success'
# }
# return JsonResponse(data = data) | 18.3 | 39 | 0.52459 | 17 | 183 | 5.647059 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.31694 | 183 | 10 | 39 | 18.3 | 0.744 | 0.89071 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
972dda367cf2b498bee7e3f4a4221245b97de169 | 850 | py | Python | pyspark_utilities/pandas_udfs/__init__.py | zaksamalik/pyspark-utilities | da9f843bdf03658d58d1dbc8d5f3067bd6702494 | [
"MIT"
] | 9 | 2020-03-10T10:31:06.000Z | 2021-12-03T03:43:00.000Z | pyspark_utilities/pandas_udfs/__init__.py | zaksamalik/pyspark-utilities | da9f843bdf03658d58d1dbc8d5f3067bd6702494 | [
"MIT"
] | null | null | null | pyspark_utilities/pandas_udfs/__init__.py | zaksamalik/pyspark-utilities | da9f843bdf03658d58d1dbc8d5f3067bd6702494 | [
"MIT"
] | 2 | 2020-11-14T15:13:43.000Z | 2021-12-22T11:33:03.000Z | from .datetime_udfs import (pd_is_holiday_usa, pd_normalize_date_md, pd_normalize_date_dm, pd_normalize_timestamp_md,
pd_normalize_timestamp_dm)
from .fuzzy_match_udfs import (pd_fuzz_ratio, pd_fuzz_partial_ratio, pd_fuzz_token_set_ratio,
pd_fuzz_partial_token_... | 85 | 118 | 0.710588 | 115 | 850 | 4.556522 | 0.417391 | 0.068702 | 0.104962 | 0.103053 | 0.129771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251765 | 850 | 9 | 119 | 94.444444 | 0.823899 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9744f6938e8dc6b98759591eb4f76928f2aa13fc | 70 | py | Python | favs/items.py | stleon/habr_favs | 7a654c0e9ff48bbc62b7e5a8df3d699184d50cdb | [
"MIT"
] | 3 | 2016-11-29T14:10:24.000Z | 2021-11-12T11:42:16.000Z | favs/items.py | stleon/habr_favs | 7a654c0e9ff48bbc62b7e5a8df3d699184d50cdb | [
"MIT"
] | 5 | 2021-05-24T16:56:30.000Z | 2022-03-11T23:14:36.000Z | favs/items.py | stleon/habr_favs | 7a654c0e9ff48bbc62b7e5a8df3d699184d50cdb | [
"MIT"
] | null | null | null | import scrapy
class TagItem(scrapy.Item):
name = scrapy.Field()
| 11.666667 | 27 | 0.7 | 9 | 70 | 5.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 5 | 28 | 14 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
97716a72ce75d3ffc6f652fbd2a1412fe792525b | 417 | py | Python | classes/restaurant_foods.py | itucsdb1708/itucsdb15 | bdb6ce1f0507318d7c007801a5e538cb315b3afa | [
"BSD-3-Clause"
] | 4 | 2017-10-11T09:47:03.000Z | 2018-08-09T06:45:55.000Z | classes/restaurant_foods.py | itucsdb1708/itucsdb15 | bdb6ce1f0507318d7c007801a5e538cb315b3afa | [
"BSD-3-Clause"
] | 25 | 2017-10-04T09:51:26.000Z | 2017-12-21T20:12:11.000Z | classes/restaurant_foods.py | itucsdb1708/itucsdb15 | bdb6ce1f0507318d7c007801a5e538cb315b3afa | [
"BSD-3-Clause"
] | 2 | 2018-12-24T19:30:03.000Z | 2019-12-18T12:50:54.000Z | #from server import app
import psycopg2 as dbapi2
from flask import current_app
from flask_login import UserMixin
from passlib.apps import custom_app_context as pwd_context
#from passlib.ext.django.models import password_context
class RestaurantFoods():
def __init__(self, primaryId, restaurantId, foodId):
... | 32.076923 | 58 | 0.779376 | 53 | 417 | 5.943396 | 0.528302 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.170264 | 417 | 12 | 59 | 34.75 | 0.904624 | 0.182254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.444444 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
979990280ecae2f40cb84e9c59c182138ed50b3d | 221 | py | Python | classical_method/common.py | MihawkHu/Reading_Comprehension | ee2d1ccb8dc1adcbff7e1980be1742babaf07056 | [
"MIT"
] | 1 | 2017-06-28T12:37:22.000Z | 2017-06-28T12:37:22.000Z | classical_method/common.py | MihawkHu/Reading_Comprehension | ee2d1ccb8dc1adcbff7e1980be1742babaf07056 | [
"MIT"
] | null | null | null | classical_method/common.py | MihawkHu/Reading_Comprehension | ee2d1ccb8dc1adcbff7e1980be1742babaf07056 | [
"MIT"
] | null | null | null | import os
import numpy as np
import numpy.linalg as npla
import numpy.random as npr
import theano
import theano.tensor as T
if theano.config.floatX == 'float32':
FX = np.float32
else:
FX = np.float64
floatX = FX
| 17 | 37 | 0.733032 | 37 | 221 | 4.378378 | 0.513514 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.19457 | 221 | 12 | 38 | 18.416667 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0.031674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.545455 | 0 | 0.545455 | 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 |
97a9d3ac933d1af9b4c44d22421592f9814cdc0f | 3,282 | py | Python | tests/test_serialization.py | Apkawa/django-snapshot-field | 431055e7c78bbb40e54de54ceb2005f8ce618e31 | [
"MIT"
] | null | null | null | tests/test_serialization.py | Apkawa/django-snapshot-field | 431055e7c78bbb40e54de54ceb2005f8ce618e31 | [
"MIT"
] | 1 | 2019-12-16T10:33:47.000Z | 2019-12-16T10:33:47.000Z | tests/test_serialization.py | Apkawa/django-snapshot-field | 431055e7c78bbb40e54de54ceb2005f8ce618e31 | [
"MIT"
] | null | null | null | import json
from snapshot_field.utils import (
serialize_object,
deserialize_object,
serialize_object_json,
deserialize_object_json,
)
from tests.models import Example, ExampleReference
def test_simple_serialize_and_deserialization():
obj = Example.objects.create(name="test_name")
result = s... | 31.864078 | 70 | 0.694394 | 426 | 3,282 | 5.075117 | 0.129108 | 0.072155 | 0.077706 | 0.06383 | 0.738205 | 0.715079 | 0.703978 | 0.6679 | 0.648936 | 0.63136 | 0 | 0 | 0.1883 | 3,282 | 102 | 71 | 32.176471 | 0.811562 | 0.026204 | 0 | 0.52 | 0 | 0 | 0.078296 | 0.00689 | 0 | 0 | 0 | 0 | 0.226667 | 1 | 0.08 | false | 0 | 0.04 | 0 | 0.12 | 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 |
97c87a8211abcddb935b031f41caca57c07df9b3 | 128 | py | Python | src/dlltracer/__init__.py | microsoft/dlltracer-python | 7abc673b153d68a0c83dd5e7f001a6db75a17329 | [
"MIT"
] | 8 | 2021-06-25T01:38:57.000Z | 2021-11-08T11:17:42.000Z | src/dlltracer/__init__.py | microsoft/dlltracer-python | 7abc673b153d68a0c83dd5e7f001a6db75a17329 | [
"MIT"
] | 1 | 2021-07-03T01:44:34.000Z | 2021-08-11T14:12:16.000Z | src/dlltracer/__init__.py | microsoft/dlltracer-python | 7abc673b153d68a0c83dd5e7f001a6db75a17329 | [
"MIT"
] | null | null | null | from ._native import Trace, LoadEvent, LoadFailedEvent, DebugEvent
__author__ = "Microsoft Corporation <python@microsoft.com>"
| 32 | 66 | 0.8125 | 13 | 128 | 7.615385 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 3 | 67 | 42.666667 | 0.86087 | 0 | 0 | 0 | 0 | 0 | 0.34375 | 0.171875 | 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 |
97cc90347db079a5d5efef5e0cc4c076ac2d766f | 2,162 | py | Python | tests/test_extension.py | faparicioaldo/Documentacion | 1bb71ed51abb1f26731ce2bd052dc59a5fe9cda8 | [
"MIT"
] | null | null | null | tests/test_extension.py | faparicioaldo/Documentacion | 1bb71ed51abb1f26731ce2bd052dc59a5fe9cda8 | [
"MIT"
] | null | null | null | tests/test_extension.py | faparicioaldo/Documentacion | 1bb71ed51abb1f26731ce2bd052dc59a5fe9cda8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Test working of extension."""
import os
import pytest
from tests import TEST_DOCS_SRC
from sphinx_search.extension import ASSETS_FILES
@pytest.mark.sphinx(srcdir=TEST_DOCS_SRC)
def test_static_files_exists(app, status, warning):
"""Test if the static files are present in the _build f... | 28.077922 | 83 | 0.678076 | 301 | 2,162 | 4.614618 | 0.199336 | 0.057595 | 0.064795 | 0.082073 | 0.782577 | 0.728582 | 0.722822 | 0.647228 | 0.647228 | 0.61915 | 0 | 0.002927 | 0.209991 | 2,162 | 76 | 84 | 28.447368 | 0.810304 | 0.106383 | 0 | 0.538462 | 0 | 0 | 0.160649 | 0.028257 | 0 | 0 | 0 | 0 | 0.096154 | 1 | 0.057692 | false | 0 | 0.076923 | 0 | 0.134615 | 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 |
8ae3ac44bf8ecb9d90c7115cf59bd53146941603 | 156 | py | Python | datasets/__init__.py | bomtorazek/LateTemporalModeling3DCNN | a385c0b7b58116e274bed8b0e5fe6ac978ccb61c | [
"MIT"
] | 3 | 2021-03-12T13:37:27.000Z | 2021-03-29T04:41:00.000Z | datasets/__init__.py | bomtorazek/LateTemporalModeling3DCNN | a385c0b7b58116e274bed8b0e5fe6ac978ccb61c | [
"MIT"
] | 3 | 2021-03-17T02:00:29.000Z | 2021-04-01T05:49:54.000Z | datasets/__init__.py | bomtorazek/LateTemporalModeling3DCNN | a385c0b7b58116e274bed8b0e5fe6ac978ccb61c | [
"MIT"
] | 1 | 2021-03-12T02:38:19.000Z | 2021-03-12T02:38:19.000Z | from .ucf101 import ucf101
from .hmdb51 import hmdb51
from .cvpr import cvpr
from .cvpr_le import cvpr_le
__all__ = ('ucf101','hmdb51', 'cvpr', 'cvpr_le')
| 22.285714 | 48 | 0.74359 | 24 | 156 | 4.541667 | 0.291667 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11194 | 0.141026 | 156 | 6 | 49 | 26 | 0.701493 | 0 | 0 | 0 | 0 | 0 | 0.147436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8ae414268100887f044782416373ac9139c4c3ce | 3,519 | py | Python | tests/test_reporting.py | jleverenz/dupi | c2283f06fab173bce0c6186ca22dbd42973a2774 | [
"MIT"
] | null | null | null | tests/test_reporting.py | jleverenz/dupi | c2283f06fab173bce0c6186ca22dbd42973a2774 | [
"MIT"
] | null | null | null | tests/test_reporting.py | jleverenz/dupi | c2283f06fab173bce0c6186ca22dbd42973a2774 | [
"MIT"
] | null | null | null | from tests.common import * # dupi/tests/common
import io
import sys
from pyfakefs import fake_filesystem_unittest
from dupi import conf, core
from dupi.index import Index
# TODO order is not deterministic while based on os.walk
class TestReporting(fake_filesystem_unittest.TestCase):
# Override run() to w... | 37.83871 | 76 | 0.654731 | 438 | 3,519 | 5.13242 | 0.210046 | 0.050712 | 0.135231 | 0.160142 | 0.662811 | 0.662811 | 0.652135 | 0.626335 | 0.626335 | 0.626335 | 0 | 0.010684 | 0.202046 | 3,519 | 92 | 77 | 38.25 | 0.789886 | 0.07019 | 0 | 0.575758 | 0 | 0 | 0.113936 | 0 | 0 | 0 | 0 | 0.01087 | 0.151515 | 1 | 0.136364 | false | 0 | 0.090909 | 0 | 0.242424 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c1057e2999cc34357ecd30fd13043756cb243d7a | 441 | py | Python | quotes/migrations/0008_auto_20190803_1026.py | quattad/django-web-app | 410e70140f912fd139ed75ad626615f977da0dba | [
"MIT"
] | null | null | null | quotes/migrations/0008_auto_20190803_1026.py | quattad/django-web-app | 410e70140f912fd139ed75ad626615f977da0dba | [
"MIT"
] | 26 | 2019-09-09T14:11:35.000Z | 2022-03-21T22:17:27.000Z | quotes/migrations/0008_auto_20190803_1026.py | quattad/quote-buddy | 410e70140f912fd139ed75ad626615f977da0dba | [
"MIT"
] | null | null | null | # Generated by Django 2.2.3 on 2019-08-03 02:26
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('quotes', '0007_auto_20190730_2313'),
]
operations = [
migrations.RemoveField(
model_name='quote',
name='user_favourited',
... | 20.045455 | 47 | 0.569161 | 44 | 441 | 5.545455 | 0.704545 | 0.172131 | 0.213115 | 0.245902 | 0.352459 | 0.352459 | 0.352459 | 0 | 0 | 0 | 0 | 0.103333 | 0.319728 | 441 | 21 | 48 | 21 | 0.71 | 0.102041 | 0 | 0.4 | 1 | 0 | 0.162437 | 0.058376 | 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 |
c12837ae8dd8e0dd2a14655aa7452a662c8ff79c | 3,034 | py | Python | tests/test_utils_stack.py | jiz148/rift-projects | 59949f7dc9b217f1fc6c1a9558505d50287b008d | [
"MIT"
] | null | null | null | tests/test_utils_stack.py | jiz148/rift-projects | 59949f7dc9b217f1fc6c1a9558505d50287b008d | [
"MIT"
] | null | null | null | tests/test_utils_stack.py | jiz148/rift-projects | 59949f7dc9b217f1fc6c1a9558505d50287b008d | [
"MIT"
] | 2 | 2019-09-01T02:21:42.000Z | 2019-09-01T02:21:51.000Z | import unittest
from interview.utils.stack import Stack
class TestStack(unittest.TestCase):
def setUp(self):
self.example_basic_stack = Stack()
self.example_empty_item_stack = Stack()
pass
def test_has_space(self):
"""
test interview.utils.stack :: Stack :: _has_space... | 34.089888 | 78 | 0.632169 | 380 | 3,034 | 4.763158 | 0.126316 | 0.164088 | 0.159116 | 0.198895 | 0.807735 | 0.774586 | 0.598343 | 0.598343 | 0.466851 | 0.466851 | 0 | 0.02286 | 0.264667 | 3,034 | 88 | 79 | 34.477273 | 0.788436 | 0.121622 | 0 | 0.584906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 1 | 0.113208 | false | 0.018868 | 0.037736 | 0 | 0.169811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c12f5425aad3eac2b7c38a1ff1c924d94308beb8 | 224 | py | Python | x.py | efe3535/pythonexamples | 676aeb5d730dc0fc364083fccbd8c241de5bdc0a | [
"CC0-1.0"
] | 1 | 2020-11-30T06:53:06.000Z | 2020-11-30T06:53:06.000Z | x.py | efeduino/pythonexamples | 676aeb5d730dc0fc364083fccbd8c241de5bdc0a | [
"CC0-1.0"
] | 2 | 2021-05-16T06:34:36.000Z | 2021-06-05T16:44:15.000Z | x.py | efeduino/pythonexamples | 676aeb5d730dc0fc364083fccbd8c241de5bdc0a | [
"CC0-1.0"
] | 1 | 2021-06-04T12:17:31.000Z | 2021-06-04T12:17:31.000Z | token = 'VdINGcwGZsIvUTbuZl3PRTvX2MhkdieXFk9cnNRA4J8hP-jw1obnY6KCfXpRJFTA'
import lyricsgenius
genius = lyricsgenius.Genius(token)
muzik = input("Şarkı sözü ara:")
song = genius.search_song(muzik)
print(song.lyrics) | 28 | 75 | 0.794643 | 22 | 224 | 8.045455 | 0.681818 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035176 | 0.111607 | 224 | 8 | 76 | 28 | 0.854271 | 0 | 0 | 0 | 0 | 0 | 0.362385 | 0.293578 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
c136ed8980cbe982b8760918a4ef02dceca74464 | 144 | py | Python | src/tests/conftest.py | RAIL-group/RAIL-software-infrastructure-demos | 98efc7d5d93957e85e9a10cb3881bf824b3f6187 | [
"MIT"
] | 2 | 2021-12-27T11:46:01.000Z | 2022-03-24T01:19:18.000Z | src/tests/conftest.py | RAIL-group/RAIL-software-infrastructure-demos | 98efc7d5d93957e85e9a10cb3881bf824b3f6187 | [
"MIT"
] | null | null | null | src/tests/conftest.py | RAIL-group/RAIL-software-infrastructure-demos | 98efc7d5d93957e85e9a10cb3881bf824b3f6187 | [
"MIT"
] | 1 | 2022-03-11T18:21:35.000Z | 2022-03-11T18:21:35.000Z |
def pytest_addoption(parser):
parser.addoption("--unity_exe_path",
action="store",
default=None)
| 24 | 40 | 0.527778 | 13 | 144 | 5.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.361111 | 144 | 5 | 41 | 28.8 | 0.793478 | 0 | 0 | 0 | 0 | 0 | 0.146853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c14ec87c85ff51cc3f611f7a516c8bfb34d2d58e | 333 | py | Python | til-ginconfig/main.py | kpvla/til | 093159d0dc2c0fcace69afdaeb503ea7e8983395 | [
"MIT"
] | null | null | null | til-ginconfig/main.py | kpvla/til | 093159d0dc2c0fcace69afdaeb503ea7e8983395 | [
"MIT"
] | 13 | 2021-03-10T00:22:01.000Z | 2022-02-26T23:05:02.000Z | til-ginconfig/main.py | kpvla/til | 093159d0dc2c0fcace69afdaeb503ea7e8983395 | [
"MIT"
] | null | null | null | import gin
@gin.configurable
def inner(d=0, e=0):
return d + e
@gin.configurable
def build(a=0, b=0, c=0, inner=None):
s = inner()
print(a + b + c + s)
@gin.configurable
def build_other(inner=None):
print(inner())
if __name__ == "__main__":
gin.parse_config_file("main.gin")
build()
b... | 13.875 | 37 | 0.618619 | 53 | 333 | 3.660377 | 0.433962 | 0.231959 | 0.278351 | 0.237113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.219219 | 333 | 23 | 38 | 14.478261 | 0.726923 | 0 | 0 | 0.2 | 0 | 0 | 0.048048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.066667 | 0.066667 | 0.333333 | 0.133333 | 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 |
c173350c26d9235573d5aabe1554e185806c6b5e | 178 | py | Python | src/posts/urls.py | ChaosDynamix/Afterlife | 629f5857a5124b0685deda3dd2ae618b55da29ac | [
"MIT"
] | null | null | null | src/posts/urls.py | ChaosDynamix/Afterlife | 629f5857a5124b0685deda3dd2ae618b55da29ac | [
"MIT"
] | null | null | null | src/posts/urls.py | ChaosDynamix/Afterlife | 629f5857a5124b0685deda3dd2ae618b55da29ac | [
"MIT"
] | null | null | null | from django.urls import path
from posts import views
urlpatterns = [
path('', views.posts_index, name='postsIndex'),
path('tags/', views.posts_tags, name='postsTags'),
] | 25.428571 | 54 | 0.702247 | 23 | 178 | 5.347826 | 0.565217 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 178 | 7 | 55 | 25.428571 | 0.809211 | 0 | 0 | 0 | 0 | 0 | 0.134078 | 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 |
c19f54546fcb3a19c9b50bc88e7f1a7f819bf3ae | 253 | py | Python | example/test/core/material/medium/quadratic.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | example/test/core/material/medium/quadratic.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | example/test/core/material/medium/quadratic.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | import IceRayCpp
import IceRayCpp
def name( ):
return "quadratic"
def make( value = IceRayCpp.GraphTypeColorRGB().fill( 0.9 ) ):
m = IceRayCpp.MaterialMediumQuadratic( value, 0.1, 0.1, 0.1 )
return { 'this': m }
make( ) | 18.071429 | 66 | 0.612648 | 30 | 253 | 5.166667 | 0.533333 | 0.03871 | 0.03871 | 0.051613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.256917 | 253 | 14 | 67 | 18.071429 | 0.781915 | 0 | 0 | 0.25 | 0 | 0 | 0.053942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c1b609fbe9e62b22c953b5d0144737b8412e5893 | 118 | py | Python | Lib/test/lazyimports/dict_update.py | mananpal1997/cinder | a8804cc6e3a5861463ff959abcd09ad60a0763e5 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/lazyimports/dict_update.py | mananpal1997/cinder | a8804cc6e3a5861463ff959abcd09ad60a0763e5 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/lazyimports/dict_update.py | mananpal1997/cinder | a8804cc6e3a5861463ff959abcd09ad60a0763e5 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | from __future__ import lazy_imports
import warnings
vars = {}
vars.update(globals())
print(repr(vars['warnings']))
| 13.111111 | 35 | 0.745763 | 15 | 118 | 5.533333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 118 | 8 | 36 | 14.75 | 0.798077 | 0 | 0 | 0 | 0 | 0 | 0.068376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c1c24d1bef512da4b8bab0302b96bc52076167c5 | 1,417 | py | Python | test/test_system_main.py | Virtual-Y-Monster/Sudoku | 5ecffacb2269f3ab54eab297292b518191889273 | [
"MIT"
] | 2 | 2021-07-21T09:15:12.000Z | 2022-01-15T22:36:39.000Z | Sudoku/test/test_system_main.py | RyanShaw3/MyScripts | 940597fd0e33378897388c63b03f52fa7294ac05 | [
"MIT"
] | null | null | null | Sudoku/test/test_system_main.py | RyanShaw3/MyScripts | 940597fd0e33378897388c63b03f52fa7294ac05 | [
"MIT"
] | 1 | 2022-01-15T22:39:28.000Z | 2022-01-15T22:39:28.000Z | """
主函数的测试模块
该模块是用于测试main模块的单元测试
:copyright: (c) 2021 by 李浚哲.
"""
import sys
from main import main
def test_main():
"""
测试main函数对输入指令的处理
"""
# 备份标准输出
started_out = sys.stdout
# 重定位标准输出到文件
sys.stdout = open('main_out.txt', 'w')
# python main.py
main(['main.py'])
print('-' * ... | 22.854839 | 59 | 0.518701 | 194 | 1,417 | 3.747423 | 0.21134 | 0.21458 | 0.21458 | 0.257221 | 0.526823 | 0.404402 | 0.143054 | 0 | 0 | 0 | 0 | 0.043519 | 0.254058 | 1,417 | 61 | 60 | 23.229508 | 0.644276 | 0.296401 | 0 | 0.354839 | 0 | 0 | 0.225235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.064516 | 0 | 0.096774 | 0.354839 | 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 |
c1c712580a222dcd8c545d68d544146d5bd8e9a7 | 100 | py | Python | configs/benchmarks/classification/imagenet/imagenet_per_1/r50_sz224_4xb64_head1_lr0_01_step_ep20.py | Westlake-AI/openmixup | ea81250819e740dd823e30cb7ce382d14a3c1b91 | [
"Apache-2.0"
] | 10 | 2021-12-30T10:22:27.000Z | 2022-03-30T02:31:38.000Z | configs/benchmarks/classification/imagenet/imagenet_per_1/r50_sz224_4xb64_head1_lr0_01_step_ep20.py | Westlake-AI/openmixup | ea81250819e740dd823e30cb7ce382d14a3c1b91 | [
"Apache-2.0"
] | 3 | 2022-01-20T21:02:48.000Z | 2022-03-19T13:49:45.000Z | configs/benchmarks/classification/imagenet/imagenet_per_10/r50_sz224_4xb64_head1_lr0_01_step_ep20.py | Westlake-AI/openmixup | ea81250819e740dd823e30cb7ce382d14a3c1b91 | [
"Apache-2.0"
] | null | null | null | _base_ = [
'r50_sz224_4xb64_head1_lr0_1_step_ep20.py',
]
# optimizer
optimizer = dict(lr=0.01)
| 14.285714 | 47 | 0.72 | 16 | 100 | 3.9375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 0.15 | 100 | 6 | 48 | 16.666667 | 0.552941 | 0.09 | 0 | 0 | 0 | 0 | 0.449438 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c1ea2e7744b1110ea5c576148cba631bc2ef373c | 994 | py | Python | SpoTwillio/lib/python3.6/site-packages/twilio/rest/taskrouter/v1/__init__.py | Natfan/funlittlethings | 80d5378b45b5c0ead725942ee50403bd057514a6 | [
"MIT"
] | 30 | 2018-06-12T12:00:53.000Z | 2021-05-02T01:27:16.000Z | SpoTwillio/lib/python3.6/site-packages/twilio/rest/taskrouter/v1/__init__.py | Natfan/funlittlethings | 80d5378b45b5c0ead725942ee50403bd057514a6 | [
"MIT"
] | 11 | 2019-12-26T17:21:03.000Z | 2022-03-21T22:17:07.000Z | SpoTwillio/lib/python3.6/site-packages/twilio/rest/taskrouter/v1/__init__.py | Natfan/funlittlethings | 80d5378b45b5c0ead725942ee50403bd057514a6 | [
"MIT"
] | 4 | 2018-06-12T14:14:20.000Z | 2018-06-19T16:01:49.000Z | # coding=utf-8
"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base.version import Version
from twilio.rest.taskrouter.v1.workspace import WorkspaceList
class V1(Version):
def __init__(self, domain):
"""
Initialize the V1 versio... | 23.116279 | 65 | 0.584507 | 101 | 994 | 5.504951 | 0.425743 | 0.086331 | 0.107914 | 0.118705 | 0.169065 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.300805 | 994 | 42 | 66 | 23.666667 | 0.778417 | 0.374245 | 0 | 0 | 1 | 0 | 0.046784 | 0.042885 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a9af410fd18638d8be6fbaad3b8d66d3943bc56c | 426 | py | Python | Code07-01.py | seryeongi/learn_algorithm | a9dbe26176d7c27b26689989de698b89ac6772a3 | [
"Apache-2.0"
] | null | null | null | Code07-01.py | seryeongi/learn_algorithm | a9dbe26176d7c27b26689989de698b89ac6772a3 | [
"Apache-2.0"
] | null | null | null | Code07-01.py | seryeongi/learn_algorithm | a9dbe26176d7c27b26689989de698b89ac6772a3 | [
"Apache-2.0"
] | null | null | null | SIZE = 5
queue = [None for _ in range(SIZE)]
front, rear = -1, -1
rear += 1
queue[rear] = '화사'
rear += 1
queue[rear] = '솔라'
rear += 1
queue[rear] = '문별'
print('출구<--',queue,'<--입구')
front += 1
data = queue[front]
queue[front] = None
print('추출-->',data)
front += 1
data = queue[front]
queue[front] = None
print('추출-->',... | 16.384615 | 35 | 0.589202 | 68 | 426 | 3.676471 | 0.264706 | 0.24 | 0.12 | 0.168 | 0.54 | 0.54 | 0.54 | 0.54 | 0.54 | 0.54 | 0 | 0.02507 | 0.157277 | 426 | 25 | 36 | 17.04 | 0.671309 | 0 | 0 | 0.73913 | 0 | 0 | 0.096244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a9b03b713c1f8260608b82ba40bfbc2b0a9e8877 | 192 | py | Python | tests/status_enum_test.py | isouzasoares/needle-forms | 1cdb097e1e9801d53607683aa6dcb645b1b82226 | [
"MIT"
] | null | null | null | tests/status_enum_test.py | isouzasoares/needle-forms | 1cdb097e1e9801d53607683aa6dcb645b1b82226 | [
"MIT"
] | 3 | 2020-03-31T04:49:13.000Z | 2021-04-30T21:03:00.000Z | tests/status_enum_test.py | isouzasoares/needle-forms | 1cdb097e1e9801d53607683aa6dcb645b1b82226 | [
"MIT"
] | 2 | 2019-11-05T14:48:39.000Z | 2020-03-26T20:17:42.000Z | """Tests for the StatusEnum class"""
from enums.status_enum import StatusEnum
def test_status_enum():
"""Test"""
for status in StatusEnum:
assert status.value in range(1, 5)
| 21.333333 | 42 | 0.6875 | 27 | 192 | 4.777778 | 0.666667 | 0.155039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0.203125 | 192 | 8 | 43 | 24 | 0.830065 | 0.182292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a9bd931b813507218156ab76dd6ebede433ec88b | 3,106 | py | Python | statsbiblioteket/harvest/harvest.py | statsbiblioteket/python-harvest | 3bbc913edc8d191c012e4316200c5794b72fa93e | [
"MIT"
] | null | null | null | statsbiblioteket/harvest/harvest.py | statsbiblioteket/python-harvest | 3bbc913edc8d191c012e4316200c5794b72fa93e | [
"MIT"
] | null | null | null | statsbiblioteket/harvest/harvest.py | statsbiblioteket/python-harvest | 3bbc913edc8d191c012e4316200c5794b72fa93e | [
"MIT"
] | null | null | null | import logging
from statsbiblioteket.harvest.clients import Clients
from statsbiblioteket.harvest.contacts import Contacts
from statsbiblioteket.harvest.expense_categories import ExpenseCategories
from statsbiblioteket.harvest.expenses import Expenses
from statsbiblioteket.harvest.invoices import Invoices
from statsbi... | 36.116279 | 90 | 0.580167 | 290 | 3,106 | 5.996552 | 0.448276 | 0.115009 | 0.155262 | 0.034503 | 0.039678 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011342 | 0.318738 | 3,106 | 85 | 91 | 36.541176 | 0.810491 | 0.435609 | 0 | 0.076923 | 0 | 0 | 0.012283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.153846 | 0.423077 | 0.076923 | 0.730769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
a9c9142058b107c5045474b16a3e5978d7c200b4 | 166 | py | Python | askup_lti/urls.py | raccoongang/askup | f74f04bff9db16eabe64b35776ae8d545963d324 | [
"MIT"
] | null | null | null | askup_lti/urls.py | raccoongang/askup | f74f04bff9db16eabe64b35776ae8d545963d324 | [
"MIT"
] | 19 | 2017-12-22T09:25:56.000Z | 2018-08-21T08:18:24.000Z | askup_lti/urls.py | raccoongang/askup | f74f04bff9db16eabe64b35776ae8d545963d324 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from .provider import lti_launch
urlpatterns = [
url(r'^launch/?(?:/qset/(?P<qset_id>\d+)/?)?$', lti_launch, name='launch'),
]
| 20.75 | 79 | 0.656627 | 24 | 166 | 4.416667 | 0.666667 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126506 | 166 | 7 | 80 | 23.714286 | 0.731034 | 0 | 0 | 0 | 0 | 0 | 0.271084 | 0.23494 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a9cf0027cedacdca2625c735ff45e14b3251028d | 222 | py | Python | qcore/tests/test_disallow_inheritance.py | corey-sobel/qcore | 719a44617789e3cc384ce860031d9479ee0877e4 | [
"Apache-2.0"
] | 83 | 2016-09-16T19:43:20.000Z | 2022-03-02T12:00:20.000Z | qcore/tests/test_disallow_inheritance.py | corey-sobel/qcore | 719a44617789e3cc384ce860031d9479ee0877e4 | [
"Apache-2.0"
] | 20 | 2016-10-07T23:25:22.000Z | 2022-02-22T17:46:42.000Z | qcore/tests/test_disallow_inheritance.py | corey-sobel/qcore | 719a44617789e3cc384ce860031d9479ee0877e4 | [
"Apache-2.0"
] | 22 | 2016-10-01T20:34:10.000Z | 2022-01-31T23:15:40.000Z | import qcore
from qcore.asserts import AssertRaises
class Foo(metaclass=qcore.DisallowInheritance):
pass
def test_disallow_inheritance():
with AssertRaises(TypeError):
class Bar(Foo):
pass
| 15.857143 | 47 | 0.711712 | 24 | 222 | 6.5 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220721 | 222 | 13 | 48 | 17.076923 | 0.901734 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | true | 0.25 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a9f58c89dda7d3a311b0ef24d2f8120ad5a3b507 | 52 | py | Python | distribute_setup.py | gary-pickens/HouseMonitor | 4b169bdbeed9013e1824d4bb929970ae0c27a6c9 | [
"MIT"
] | 1 | 2021-06-28T06:52:03.000Z | 2021-06-28T06:52:03.000Z | distribute_setup.py | gary-pickens/HouseMonitor | 4b169bdbeed9013e1824d4bb929970ae0c27a6c9 | [
"MIT"
] | null | null | null | distribute_setup.py | gary-pickens/HouseMonitor | 4b169bdbeed9013e1824d4bb929970ae0c27a6c9 | [
"MIT"
] | null | null | null | '''
Created on Nov 21, 2012
@author: Gary
'''
| 8.666667 | 24 | 0.538462 | 7 | 52 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 0.288462 | 52 | 5 | 25 | 10.4 | 0.594595 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a9ff07d044da0783d31d0640b0de079cb0074e11 | 1,647 | py | Python | release/stubs.min/Rhino/DocObjects/__init___parts/InstanceDefinitionArchiveFileStatus.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Rhino/DocObjects/__init___parts/InstanceDefinitionArchiveFileStatus.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Rhino/DocObjects/__init___parts/InstanceDefinitionArchiveFileStatus.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | class InstanceDefinitionArchiveFileStatus(
Enum, IComparable, IFormattable, IConvertible
):
"""
The archive file of a linked instance definition can have the following possible states.
Use InstanceObject.ArchiveFileStatus to query a instance definition's archive file status.
enum InstanceDe... | 29.945455 | 230 | 0.646023 | 163 | 1,647 | 5.944785 | 0.398773 | 0.082559 | 0.086687 | 0.092879 | 0.133127 | 0.133127 | 0.133127 | 0.116615 | 0.116615 | 0.116615 | 0 | 0.005636 | 0.245902 | 1,647 | 54 | 231 | 30.5 | 0.774557 | 0.451123 | 0 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.322581 | false | 0.322581 | 0 | 0 | 0.612903 | 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 |
a9ffcb8b38da7b224ff816176584569b21ce09db | 315 | py | Python | backend/boards/admin.py | LucasSantosGuedes/App-Gestao | 88b21208f9a2585421d0b949d2d44cdde72f0ec9 | [
"MIT"
] | 142 | 2020-09-21T15:43:17.000Z | 2022-03-26T09:21:23.000Z | backend/boards/admin.py | LucasSantosGuedes/App-Gestao | 88b21208f9a2585421d0b949d2d44cdde72f0ec9 | [
"MIT"
] | 2 | 2021-03-31T10:15:31.000Z | 2021-11-30T18:04:52.000Z | backend/boards/admin.py | LucasSantosGuedes/App-Gestao | 88b21208f9a2585421d0b949d2d44cdde72f0ec9 | [
"MIT"
] | 49 | 2020-10-23T21:21:22.000Z | 2022-03-24T10:11:47.000Z | from django.contrib import admin
from .models import Board, List, Item, Label, Comment, Attachment, Notification
admin.site.register(Board)
admin.site.register(List)
admin.site.register(Item)
admin.site.register(Label)
admin.site.register(Comment)
admin.site.register(Attachment)
admin.site.register(Notification)
| 28.636364 | 79 | 0.815873 | 43 | 315 | 5.976744 | 0.348837 | 0.245136 | 0.463035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069841 | 315 | 10 | 80 | 31.5 | 0.877133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e70b5d58a1eaed351d01ddbde516b1aa4cf0ca30 | 100 | py | Python | getinfo.py | davicn/covid19_predict | 4f0e67d58ea6d262ae48b515833f20918a40e019 | [
"MIT"
] | null | null | null | getinfo.py | davicn/covid19_predict | 4f0e67d58ea6d262ae48b515833f20918a40e019 | [
"MIT"
] | null | null | null | getinfo.py | davicn/covid19_predict | 4f0e67d58ea6d262ae48b515833f20918a40e019 | [
"MIT"
] | null | null | null | import requests
r = requests.get('https://covid19-brazil-api.now.sh/api/report/v1')
print(r.json()) | 25 | 67 | 0.73 | 17 | 100 | 4.294118 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.06 | 100 | 4 | 68 | 25 | 0.744681 | 0 | 0 | 0 | 0 | 0 | 0.465347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e71b559356d4a48dddaea75329ca2c109bec2f17 | 6,479 | py | Python | Comparison/venv/Include/proto_data_utils/Data/SQdata_dir.py | fyancy/SSMN | 9a807d7e926fc6ff347cfd19ffbb6462b6a49dea | [
"MIT"
] | 5 | 2021-04-11T12:02:34.000Z | 2022-03-29T01:31:39.000Z | Comparison/venv/Include/proto_data_utils/Data/SQdata_dir.py | fyancy/SSMN | 9a807d7e926fc6ff347cfd19ffbb6462b6a49dea | [
"MIT"
] | null | null | null | Comparison/venv/Include/proto_data_utils/Data/SQdata_dir.py | fyancy/SSMN | 9a807d7e926fc6ff347cfd19ffbb6462b6a49dea | [
"MIT"
] | 5 | 2021-09-17T00:10:36.000Z | 2022-03-21T12:10:39.000Z | """
SQ数据集数据文件目录
文件获取举例:inner2['29'][2],
得到的是内圈2下29Hz的第2个文件(actually 3rd),
默认文件夹内排列顺序,每一个转速下共有3个文件[0~2]
train_dir109 1-故障程度 09-转速(Hz)
train 均使用第0个数据文件,test均使用第1个数据文件
"""
# home = r'G:\dataset\SQdata' # U盘
home = r'F:\dataset\SQdata' # 本地F盘
inner1 = {'09': [home + r'\inner1\09\REC3585_ch2.txt', home + r'\inner1\09\REC... | 55.853448 | 92 | 0.551937 | 984 | 6,479 | 3.503049 | 0.14126 | 0.124746 | 0.16246 | 0.178706 | 0.537569 | 0.400928 | 0.08181 | 0.08181 | 0.08181 | 0.034813 | 0 | 0.217317 | 0.188918 | 6,479 | 115 | 93 | 56.33913 | 0.43863 | 0.09415 | 0 | 0 | 0 | 0 | 0.413092 | 0.37327 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.012048 | 0 | 0 | 0 | 0 | 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 |
e729bb91e2c53d2213d9487ab5cf930f17e8340d | 63 | py | Python | individ2/__init__.py | work-acc/praktika17 | 62dbcd3d57fe0e559d91269f445874d2b3c7c867 | [
"MIT"
] | null | null | null | individ2/__init__.py | work-acc/praktika17 | 62dbcd3d57fe0e559d91269f445874d2b3c7c867 | [
"MIT"
] | null | null | null | individ2/__init__.py | work-acc/praktika17 | 62dbcd3d57fe0e559d91269f445874d2b3c7c867 | [
"MIT"
] | null | null | null | from .individ2 import Triangle # noqa
__all__ = ["individ2"] | 15.75 | 38 | 0.714286 | 7 | 63 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.174603 | 63 | 4 | 39 | 15.75 | 0.75 | 0.063492 | 0 | 0 | 0 | 0 | 0.137931 | 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 |
e75d40dcf2be4dcc94bb76ae0c40149f5634dfd1 | 2,539 | py | Python | pyrobolearn/models/nn/bnn.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 2 | 2021-01-21T21:08:30.000Z | 2022-03-29T16:45:49.000Z | pyrobolearn/models/nn/bnn.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | null | null | null | pyrobolearn/models/nn/bnn.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 1 | 2020-09-29T21:25:39.000Z | 2020-09-29T21:25:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
r"""Provide Bayesian Neural Networks.
This file provides Bayesian neural networks which add uncertainty to the the prediction of NNs. In a bayesian neural
network, the weights and biases have a prior probability distribution attached to them. The posterior distribution on
... | 43.775862 | 118 | 0.734541 | 348 | 2,539 | 5.267241 | 0.557471 | 0.045827 | 0.048009 | 0.026187 | 0.105837 | 0.092744 | 0.063284 | 0 | 0 | 0 | 0 | 0.057381 | 0.148878 | 2,539 | 57 | 119 | 44.54386 | 0.790838 | 0.855061 | 0 | 0 | 0 | 0 | 0.341808 | 0.067797 | 0 | 0 | 0 | 0.017544 | 0 | 1 | 0 | false | 0.071429 | 0.142857 | 0 | 0.214286 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e76c7e9d659470ee6f03076b0d21983e775662b7 | 175 | py | Python | src/operations/credentials.py | DualKeysCeo/pyOS-v2 | caa66714231e59a071ff77547b1c82194dac2f0f | [
"MIT"
] | null | null | null | src/operations/credentials.py | DualKeysCeo/pyOS-v2 | caa66714231e59a071ff77547b1c82194dac2f0f | [
"MIT"
] | null | null | null | src/operations/credentials.py | DualKeysCeo/pyOS-v2 | caa66714231e59a071ff77547b1c82194dac2f0f | [
"MIT"
] | 1 | 2018-10-18T02:01:29.000Z | 2018-10-18T02:01:29.000Z | import os
def change(user, passw):
fp = open(os.path.dirname(__file__) + "\\..\\user\\user_login.info", "w+")
fp.write(user + "\n")
fp.write(passw)
fp.close() | 25 | 78 | 0.588571 | 26 | 175 | 3.769231 | 0.653846 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182857 | 175 | 7 | 79 | 25 | 0.685315 | 0 | 0 | 0 | 0 | 0 | 0.176136 | 0.153409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e7795abcf7865f12ae017690ebb898fc593898c5 | 750 | py | Python | nanome/util/__init__.py | nezix/nanome-lib | e602cc9e63d1e2499c0f865da7ddbfbda44f0509 | [
"MIT"
] | 3 | 2020-07-02T13:08:27.000Z | 2021-11-24T14:32:53.000Z | nanome/util/__init__.py | nezix/nanome-lib | e602cc9e63d1e2499c0f865da7ddbfbda44f0509 | [
"MIT"
] | 11 | 2020-09-14T17:01:47.000Z | 2022-02-18T04:00:52.000Z | nanome/util/__init__.py | nezix/nanome-lib | e602cc9e63d1e2499c0f865da7ddbfbda44f0509 | [
"MIT"
] | 5 | 2020-08-12T16:30:03.000Z | 2021-12-06T18:04:23.000Z | # flake8: noqa
from . import *
# classes
from .string_builder import StringBuilder
from .color import Color
from .logs import Logs
from .enum import Enum, IntEnum, auto
try:
from .enum import reset_auto
except:
pass
try:
from .asyncio import async_callback
except:
pass
from . import enums
from . imp... | 23.4375 | 140 | 0.802667 | 93 | 750 | 6.397849 | 0.451613 | 0.067227 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00471 | 0.150667 | 750 | 31 | 141 | 24.193548 | 0.929356 | 0.026667 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.083333 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
e779f2f3c2928684f034d82afbcd389f2ca9a01a | 4,343 | py | Python | ptth/tests/test_request.py | wagamama/python-ptth | 589f1d2bff178cc34ad2e71328c4a4d65e690df6 | [
"Apache-2.0"
] | null | null | null | ptth/tests/test_request.py | wagamama/python-ptth | 589f1d2bff178cc34ad2e71328c4a4d65e690df6 | [
"Apache-2.0"
] | 5 | 2015-09-10T15:51:01.000Z | 2015-12-11T13:55:37.000Z | ptth/tests/test_request.py | wagamama/python-ptth | 589f1d2bff178cc34ad2e71328c4a4d65e690df6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
import ptth
class TestRequest(unittest.TestCase):
def test_dump(self):
r = ptth.Request('POST', '/',
headers=ptth.Headers({'a': 'b'}),
data='test')
self.assertEqual('POST / HTTP/1.1\r\n' +
... | 35.598361 | 58 | 0.461202 | 501 | 4,343 | 3.912176 | 0.097804 | 0.031633 | 0.097959 | 0.114286 | 0.845408 | 0.762755 | 0.709184 | 0.659694 | 0.57398 | 0.57398 | 0 | 0.01759 | 0.384757 | 4,343 | 121 | 59 | 35.892562 | 0.715943 | 0.004835 | 0 | 0.621359 | 0 | 0 | 0.178935 | 0 | 0 | 0 | 0 | 0 | 0.330097 | 1 | 0.135922 | false | 0 | 0.019417 | 0 | 0.165049 | 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 |
e78aad7911706bf611188817b3f294e25fd50e16 | 1,091 | py | Python | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/api/v1/views.py | rajeshkaushik/cookiecutter-flask-restplus | f5cc9e8af027d3166b0ba4eacbfc33a7bc735a78 | [
"MIT"
] | 2 | 2019-09-16T07:53:12.000Z | 2021-07-16T10:05:18.000Z | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/api/v1/views.py | rajeshkaushik/cookiecutter-flask-restplus | f5cc9e8af027d3166b0ba4eacbfc33a7bc735a78 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/api/v1/views.py | rajeshkaushik/cookiecutter-flask-restplus | f5cc9e8af027d3166b0ba4eacbfc33a7bc735a78 | [
"MIT"
] | null | null | null | from flask_restplus import fields
from flask import request
from {{cookiecutter.app_name}}.custom_resource import CustomResource as Resource
from {{cookiecutter.app_name}}.api import ns
from {{cookiecutter.app_name}}.custom_error_message import custom_abort
model_find_lead = ns.model('find_lead', {
"firstName": f... | 31.171429 | 80 | 0.67461 | 127 | 1,091 | 5.677165 | 0.401575 | 0.133148 | 0.221914 | 0.242718 | 0.080444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00681 | 0.192484 | 1,091 | 34 | 81 | 32.088235 | 0.811578 | 0 | 0 | 0 | 0 | 0 | 0.130604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | 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 |
e7984b1da7a188b02cfe7cab1078b42abc424e30 | 1,500 | py | Python | conf/constant.py | Heisenberg2017/LogColorizer | 61ac64d1e4e8b1cc4d0e3104d25ff20d7ce39262 | [
"MIT"
] | null | null | null | conf/constant.py | Heisenberg2017/LogColorizer | 61ac64d1e4e8b1cc4d0e3104d25ff20d7ce39262 | [
"MIT"
] | null | null | null | conf/constant.py | Heisenberg2017/LogColorizer | 61ac64d1e4e8b1cc4d0e3104d25ff20d7ce39262 | [
"MIT"
] | null | null | null | # coding=utf-8
font = {
"black": "\033[30m{content}\033[0m",
"red": "\033[31m{content}\033[0m",
"green": "\033[32m{content}\033[0m",
"yellow": "\033[33m{content}\033[0m",
"blue": "\033[34m{content}\033[0m",
"purple ": "\033[35m{content}\033[0m",
"celeste": "\033[36m{content}\033[0m",
"w... | 27.777778 | 60 | 0.559333 | 206 | 1,500 | 4.029126 | 0.412621 | 0.192771 | 0.231325 | 0.144578 | 0.398795 | 0.084337 | 0.084337 | 0.084337 | 0.084337 | 0.084337 | 0 | 0.208574 | 0.191333 | 1,500 | 53 | 61 | 28.301887 | 0.474856 | 0.086 | 0 | 0.047619 | 0 | 0 | 0.533724 | 0.29912 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e7ba20530f17d356fe812ecada0df8cc5b475aef | 424 | py | Python | pascal/core/ast.py | yngtodd/pascal | 7c19eea08eaaaf16a12e454bd24762603e292c2c | [
"BSD-3-Clause"
] | null | null | null | pascal/core/ast.py | yngtodd/pascal | 7c19eea08eaaaf16a12e454bd24762603e292c2c | [
"BSD-3-Clause"
] | null | null | null | pascal/core/ast.py | yngtodd/pascal | 7c19eea08eaaaf16a12e454bd24762603e292c2c | [
"BSD-3-Clause"
] | 1 | 2019-12-25T15:12:29.000Z | 2019-12-25T15:12:29.000Z | class AST:
""" Base class for abstract syntax trees """
pass
class BinOp(AST):
""" Binary operation for abstract syntax trees """
def __init__(self, left, op, right):
self.left = left
self.op = op
self.right = right
class Num(AST):
""" Node for numbers in abstract syntax... | 19.272727 | 54 | 0.59434 | 54 | 424 | 4.518519 | 0.425926 | 0.172131 | 0.233607 | 0.180328 | 0.245902 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29717 | 424 | 21 | 55 | 20.190476 | 0.818792 | 0.290094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.090909 | 0 | 0 | 0.454545 | 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 |
e7cf2c36a1d4aaef99b93c385a10d1654f2804f9 | 19,359 | py | Python | utils.py | calebjcourtney/adventofcode_2019 | 309a4af955174338da0900d5c7823683e7e13ddb | [
"MIT"
] | null | null | null | utils.py | calebjcourtney/adventofcode_2019 | 309a4af955174338da0900d5c7823683e7e13ddb | [
"MIT"
] | null | null | null | utils.py | calebjcourtney/adventofcode_2019 | 309a4af955174338da0900d5c7823683e7e13ddb | [
"MIT"
] | null | null | null | from collections import Counter, defaultdict
import networkx as nx
from typing import List
from enum import Enum
import math
def read_data() -> str:
return open('input.txt', 'r').read()
# DAY 1 #
def get_recursive_fuel(mass: int) -> int:
# from day 1, calculates the fuel (recursively) required based on mass... | 45.125874 | 4,381 | 0.568418 | 3,187 | 19,359 | 3.36743 | 0.167869 | 0.01789 | 0.020872 | 0.026836 | 0.403187 | 0.336657 | 0.264816 | 0.245248 | 0.22596 | 0.157753 | 0 | 0.314194 | 0.262307 | 19,359 | 428 | 4,382 | 45.231308 | 0.437294 | 0.040343 | 0 | 0.276451 | 0 | 0.006826 | 0.039279 | 0.006628 | 0 | 0 | 0 | 0 | 0.047782 | 1 | 0.153584 | false | 0.003413 | 0.017065 | 0.027304 | 0.290102 | 0.044369 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e7d2b4d44f67ab65bee6fec45e1ecdcc70d5a674 | 158 | py | Python | packet-classification/node.py | danibachar/datastream-with-skip-list | c45e6a47b79acc75d6ea513c26881b43320a088c | [
"MIT"
] | null | null | null | packet-classification/node.py | danibachar/datastream-with-skip-list | c45e6a47b79acc75d6ea513c26881b43320a088c | [
"MIT"
] | null | null | null | packet-classification/node.py | danibachar/datastream-with-skip-list | c45e6a47b79acc75d6ea513c26881b43320a088c | [
"MIT"
] | null | null | null | # Wrapper node Model
# Holds the rules and associated key
class Node:
def __init__(self, rules, key) -> None:
self.rules = rules
self.key = key
| 22.571429 | 41 | 0.664557 | 23 | 158 | 4.391304 | 0.608696 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246835 | 158 | 6 | 42 | 26.333333 | 0.84874 | 0.335443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
99bc62e23296f0fd8f20e052967bb8e9923bf495 | 359 | py | Python | python/function/make_pizzas.py | letitgone/python-crash-course | 2551f2977f2814393fc4f44b8e2f20bdcc20141b | [
"MIT"
] | null | null | null | python/function/make_pizzas.py | letitgone/python-crash-course | 2551f2977f2814393fc4f44b8e2f20bdcc20141b | [
"MIT"
] | null | null | null | python/function/make_pizzas.py | letitgone/python-crash-course | 2551f2977f2814393fc4f44b8e2f20bdcc20141b | [
"MIT"
] | null | null | null | # @Author ZhangGJ
# @Date 2020/12/28 23:11
from pizza import make_pizza
import person
from gavin import function as fu
from formatted_name import get_formatted_name as name
from greeter import *
print(make_pizza('test'))
print(person.build_person('test1', 'test2'))
print(fu.person)
print(name('test1', 'test2'))
print... | 23.933333 | 53 | 0.766017 | 56 | 359 | 4.767857 | 0.464286 | 0.146067 | 0.11985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05625 | 0.108635 | 359 | 14 | 54 | 25.642857 | 0.778125 | 0.10585 | 0 | 0 | 0 | 0 | 0.106918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
99c684b0db2b05295322a1865a64eb1eb29080ff | 124 | py | Python | list_tuple/10.py | mdazharuddin1011999/IoT_Assignment_2 | aea8cd6938ac1021b37aebb837a493e5613015e7 | [
"MIT"
] | null | null | null | list_tuple/10.py | mdazharuddin1011999/IoT_Assignment_2 | aea8cd6938ac1021b37aebb837a493e5613015e7 | [
"MIT"
] | null | null | null | list_tuple/10.py | mdazharuddin1011999/IoT_Assignment_2 | aea8cd6938ac1021b37aebb837a493e5613015e7 | [
"MIT"
] | null | null | null | from math import pi, exp
consts = (pi, exp)
print("Area of circle is:", consts[0]*int(input("Enter radius of circle: "))**2) | 41.333333 | 80 | 0.677419 | 22 | 124 | 3.818182 | 0.772727 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.137097 | 124 | 3 | 80 | 41.333333 | 0.766355 | 0 | 0 | 0 | 0 | 0 | 0.336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
99d57ad7127ec9bbf66e5aee8f646fea47b73bd2 | 341 | py | Python | fplassist/admin.py | mdameenh/elysia | ff173f036d13c179191a75c3d54e47314435bc28 | [
"BSD-3-Clause"
] | null | null | null | fplassist/admin.py | mdameenh/elysia | ff173f036d13c179191a75c3d54e47314435bc28 | [
"BSD-3-Clause"
] | 3 | 2020-02-11T23:32:55.000Z | 2021-06-10T19:02:19.000Z | fplassist/admin.py | mdameenh/elysia | ff173f036d13c179191a75c3d54e47314435bc28 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Team_Info, Player_Info, Player_Basic_Stats, Player_Detailed_Stats, FPL_Config
admin.site.register(Team_Info)
admin.site.register(Player_Info)
admin.site.register(Player_Basic_Stats)
admin.site.register(Player_Detailed_Stats)
admin.site.... | 31 | 97 | 0.847507 | 51 | 341 | 5.392157 | 0.352941 | 0.163636 | 0.309091 | 0.250909 | 0.196364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070381 | 341 | 10 | 98 | 34.1 | 0.867508 | 0.076246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
99db426911c176e1d4a8fa660b86d5b5a5e085db | 56 | py | Python | example/exampleapp/__init__.py | etanttila/django-lti-login | 2d27010946f96094e42008aa54240e965e7b7e95 | [
"MIT"
] | 2 | 2018-06-05T12:30:04.000Z | 2020-09-14T12:04:18.000Z | example/exampleapp/__init__.py | etanttila/django-lti-login | 2d27010946f96094e42008aa54240e965e7b7e95 | [
"MIT"
] | null | null | null | example/exampleapp/__init__.py | etanttila/django-lti-login | 2d27010946f96094e42008aa54240e965e7b7e95 | [
"MIT"
] | 2 | 2021-06-23T14:09:44.000Z | 2021-09-09T14:30:20.000Z | default_app_config = 'exampleapp.apps.ExampleAppConfig'
| 28 | 55 | 0.857143 | 6 | 56 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
99e5101b47fc27ea39fdbe16a984b58cbe8b2289 | 157 | py | Python | Curso-em-video-Python/PycharmProjects/pythonExercicios/ex025 - SILVA.py | sartinicj/curso-em-video-python | 8cb4ca05a88351c44aa4a7befc59c9596a50f268 | [
"MIT"
] | null | null | null | Curso-em-video-Python/PycharmProjects/pythonExercicios/ex025 - SILVA.py | sartinicj/curso-em-video-python | 8cb4ca05a88351c44aa4a7befc59c9596a50f268 | [
"MIT"
] | null | null | null | Curso-em-video-Python/PycharmProjects/pythonExercicios/ex025 - SILVA.py | sartinicj/curso-em-video-python | 8cb4ca05a88351c44aa4a7befc59c9596a50f268 | [
"MIT"
] | null | null | null | nome = input('Digite o nome: ')
print('Tem Silva no nome digitado? {}'.format('SILVA' in nome))
#print('Seu nome tem Silva? {}'.format(nome[:5] == 'SILVA')) | 39.25 | 63 | 0.636943 | 24 | 157 | 4.166667 | 0.541667 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.133758 | 157 | 4 | 64 | 39.25 | 0.727941 | 0.375796 | 0 | 0 | 0 | 0 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
99eb20ae382e2201cf7b93ea9b52b2a6a3e62501 | 17,763 | py | Python | tests/unit/test_generator__context.py | RerrerBuub/asciidoxy | 3402f37d59e30975e9919653465839e396f05513 | [
"Apache-2.0"
] | 14 | 2020-04-28T08:51:43.000Z | 2022-02-12T13:40:34.000Z | tests/unit/test_generator__context.py | RerrerBuub/asciidoxy | 3402f37d59e30975e9919653465839e396f05513 | [
"Apache-2.0"
] | 47 | 2020-05-18T14:19:31.000Z | 2022-03-04T13:46:46.000Z | tests/unit/test_generator__context.py | RerrerBuub/asciidoxy | 3402f37d59e30975e9919653465839e396f05513 | [
"Apache-2.0"
] | 8 | 2020-05-17T20:52:42.000Z | 2022-02-25T16:16:01.000Z | # Copyright (C) 2019-2021, TomTom (http://tomtom.com).
#
# 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 applicable law o... | 37.238994 | 100 | 0.752294 | 2,384 | 17,763 | 5.239094 | 0.080956 | 0.152762 | 0.069175 | 0.045396 | 0.789992 | 0.75004 | 0.713931 | 0.696237 | 0.653002 | 0.614492 | 0 | 0.003211 | 0.140911 | 17,763 | 476 | 101 | 37.317227 | 0.815269 | 0.034228 | 0 | 0.543027 | 0 | 0 | 0.144308 | 0.032736 | 0 | 0 | 0 | 0 | 0.249258 | 1 | 0.109792 | false | 0 | 0.017804 | 0 | 0.127596 | 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 |
99fc6185b4ec43fedc91c63d6bbfde62f5f149c7 | 7,935 | py | Python | Projects/HerdImmunity/simulation.py | AbdullahNoori/CS-1.1-Intro-to-Programming | 3b3ab4a7ff5c44ce9d74df767a8d5d3cf2a3ee2e | [
"MIT"
] | null | null | null | Projects/HerdImmunity/simulation.py | AbdullahNoori/CS-1.1-Intro-to-Programming | 3b3ab4a7ff5c44ce9d74df767a8d5d3cf2a3ee2e | [
"MIT"
] | null | null | null | Projects/HerdImmunity/simulation.py | AbdullahNoori/CS-1.1-Intro-to-Programming | 3b3ab4a7ff5c44ce9d74df767a8d5d3cf2a3ee2e | [
"MIT"
] | null | null | null | import random, sys
random.seed(42)
from person import Person
from logger import Logger
from virus import Virus
class Simulation(object):
''' Main class that will run the herd immunity simulation program.
Expects initialization parameters passed as command line arguments when file is run.
Simulates the sp... | 46.133721 | 102 | 0.668683 | 1,069 | 7,935 | 4.859682 | 0.254443 | 0.026949 | 0.018479 | 0.0077 | 0.112223 | 0.092397 | 0.061983 | 0.041963 | 0.01309 | 0 | 0 | 0.005427 | 0.280151 | 7,935 | 171 | 103 | 46.403509 | 0.904062 | 0.323503 | 0 | 0.115385 | 0 | 0 | 0.046664 | 0.018317 | 0 | 0 | 0 | 0.040936 | 0.038462 | 0 | null | null | 0.115385 | 0.076923 | null | null | 0.019231 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
820c78b8eb4c73745c010e6088567e9599acd10a | 338 | py | Python | tr/vendor/bup/lib/bup/path.py | DentonGentry/gfiber-catawampus | b01e4444f3c7f12b1af7837203b37060fd443bb7 | [
"Apache-2.0"
] | 2 | 2017-10-03T16:06:29.000Z | 2020-09-08T13:03:13.000Z | tr/vendor/bup/lib/bup/path.py | DentonGentry/gfiber-catawampus | b01e4444f3c7f12b1af7837203b37060fd443bb7 | [
"Apache-2.0"
] | null | null | null | tr/vendor/bup/lib/bup/path.py | DentonGentry/gfiber-catawampus | b01e4444f3c7f12b1af7837203b37060fd443bb7 | [
"Apache-2.0"
] | 1 | 2017-05-07T17:39:02.000Z | 2017-05-07T17:39:02.000Z | """This is a separate module so we can cleanly getcwd() before anyone
does chdir().
"""
import sys, os
startdir = os.getcwd()
def exe():
return (os.environ.get('BUP_MAIN_EXE') or
os.path.join(startdir, sys.argv[0]))
def exedir():
return os.path.split(exe())[0]
def exefile():
return os.pat... | 19.882353 | 69 | 0.633136 | 53 | 338 | 4 | 0.641509 | 0.113208 | 0.113208 | 0.160377 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01107 | 0.198225 | 338 | 16 | 70 | 21.125 | 0.771218 | 0.236686 | 0 | 0 | 0 | 0 | 0.048387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
82119cb1c74f70232711cfbedb9085b76c266f29 | 520 | py | Python | tasks-deploy/qr-pano/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/qr-pano/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/qr-pano/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | TITLE = 'Красивое место'
STATEMENT = '''
Солнце над Зоной — редкое явление.
Но в те дни, когда оно пробивается из-за туч, можно заметить интересную особенность: его свет не похож на то, к чему привыкли люди до катастрофы. Более того, порой оно высвечивает то, что сложно увидеть в обычном сумраке затянутого облаками н... | 43.333333 | 247 | 0.773077 | 74 | 520 | 5.445946 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004535 | 0.151923 | 520 | 11 | 248 | 47.272727 | 0.907029 | 0 | 0 | 0 | 0 | 0.25 | 0.813462 | 0.094231 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0.125 | 0.25 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
821a89e42dd159404ae9d3107beeb31ff717707b | 1,732 | py | Python | cfgtree/storages/anyconfig.py | Stibbons/cfgtree | 77454c2fde6092d555403deb1feee9746b6700b7 | [
"MIT"
] | null | null | null | cfgtree/storages/anyconfig.py | Stibbons/cfgtree | 77454c2fde6092d555403deb1feee9746b6700b7 | [
"MIT"
] | 2 | 2018-01-27T21:25:09.000Z | 2018-01-27T21:25:27.000Z | cfgtree/storages/anyconfig.py | Stibbons/cfgtree | 77454c2fde6092d555403deb1feee9746b6700b7 | [
"MIT"
] | null | null | null | # coding: utf-8
# Standard Libraries
import logging
from pathlib import Path
from typing import Dict
# Third Party Libraries
import anyconfig
# Cfgtree modules
from cfgtree.storages._single_file import SingleFileStorage
log = logging.getLogger(__name__)
class AnyConfigStorage(SingleFileStorage):
"""
Setti... | 21.121951 | 95 | 0.635104 | 190 | 1,732 | 5.610526 | 0.494737 | 0.065666 | 0.042214 | 0.041276 | 0.110694 | 0.110694 | 0.110694 | 0.110694 | 0.110694 | 0.110694 | 0 | 0.000799 | 0.277136 | 1,732 | 81 | 96 | 21.382716 | 0.850639 | 0.341801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.333333 | 0.133333 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
82461e54a58ec29ab026ef040d4c619296df7140 | 161 | py | Python | side experiment/api.py | AlexGogev/My-Projects | e7cd57f443c9ba99f855c9e5c11a4bb46418d4f9 | [
"MIT"
] | null | null | null | side experiment/api.py | AlexGogev/My-Projects | e7cd57f443c9ba99f855c9e5c11a4bb46418d4f9 | [
"MIT"
] | null | null | null | side experiment/api.py | AlexGogev/My-Projects | e7cd57f443c9ba99f855c9e5c11a4bb46418d4f9 | [
"MIT"
] | null | null | null | import requests
import json
for i in range(10):
response = requests.get(url="https://catfact.ninja/fact")
data = response.json()
print(data["fact"]) | 23 | 61 | 0.677019 | 23 | 161 | 4.73913 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.167702 | 161 | 7 | 62 | 23 | 0.798507 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
412e79d4a00454b620747d0dee850484b10d85b3 | 179 | py | Python | submission/run.py | kevinmooreiii/moldriver | 65a0a9cef8971737076f81720a61aa5b607333d2 | [
"Apache-2.0"
] | null | null | null | submission/run.py | kevinmooreiii/moldriver | 65a0a9cef8971737076f81720a61aa5b607333d2 | [
"Apache-2.0"
] | null | null | null | submission/run.py | kevinmooreiii/moldriver | 65a0a9cef8971737076f81720a61aa5b607333d2 | [
"Apache-2.0"
] | null | null | null | import read_dat
PARAMS = read_dat.params('params.dat')
for attr in dir(PARAMS):
if '__' not in attr:
print(attr, getattr(PARAMS, attr), type(getattr(PARAMS, attr)))
| 22.375 | 71 | 0.675978 | 27 | 179 | 4.333333 | 0.481481 | 0.119658 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184358 | 179 | 7 | 72 | 25.571429 | 0.80137 | 0 | 0 | 0 | 0 | 0 | 0.067039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4148db2912f25880e3c9643af4f4e11188ccc7c3 | 165 | py | Python | ex021.py | LucasLCarreira/Python | 03bd64837d74315687e567261a149f0176496348 | [
"MIT"
] | 1 | 2020-04-21T19:14:50.000Z | 2020-04-21T19:14:50.000Z | ex021.py | LucasLCarreira/Python | 03bd64837d74315687e567261a149f0176496348 | [
"MIT"
] | null | null | null | ex021.py | LucasLCarreira/Python | 03bd64837d74315687e567261a149f0176496348 | [
"MIT"
] | null | null | null | # Exercício Python 020
# Programa que abra e reproduza um arquivo mp3
from pygame import mixer
mixer.init()
mixer.music.load('ex021.mp3')
mixer.music.play()
input()
| 20.625 | 46 | 0.763636 | 26 | 165 | 4.846154 | 0.807692 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.127273 | 165 | 7 | 47 | 23.571429 | 0.819444 | 0.393939 | 0 | 0 | 0 | 0 | 0.092784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
415596664036c2c88bf1dbd9bae52f1cc5defa13 | 335 | py | Python | pyhfo/io/__init__.py | andersonbrisil/pyhfo | 0fdbe834442550117dc9d9c8f611989bb600db62 | [
"MIT"
] | null | null | null | pyhfo/io/__init__.py | andersonbrisil/pyhfo | 0fdbe834442550117dc9d9c8f611989bb600db62 | [
"MIT"
] | null | null | null | pyhfo/io/__init__.py | andersonbrisil/pyhfo | 0fdbe834442550117dc9d9c8f611989bb600db62 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Apr 16 19:04:40 2015
@author: anderson
io __init__ : Input-Output Module
"""
from o_functions import save_dataset
from i_functions import open_dataset, loadRDH, loadMAT, loadSPK_waveclus
from converting import converting_intan_directory
from read_header import read_header
... | 18.611111 | 72 | 0.752239 | 47 | 335 | 5.085106 | 0.765957 | 0.125523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047101 | 0.176119 | 335 | 18 | 73 | 18.611111 | 0.818841 | 0.334328 | 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 |
4167cf8757bd4fce9808bfe490bd7ed3653f3af3 | 290 | py | Python | lib/disco/schemes/scheme_http.py | jgrnt/disco | 83874d93e74491c15699233865880ffb9ca7c2a0 | [
"BSD-3-Clause"
] | 786 | 2015-01-01T12:35:40.000Z | 2022-03-19T04:39:22.000Z | lib/disco/schemes/scheme_http.py | jgrnt/disco | 83874d93e74491c15699233865880ffb9ca7c2a0 | [
"BSD-3-Clause"
] | 51 | 2015-01-19T20:07:01.000Z | 2019-10-19T21:03:06.000Z | lib/disco/schemes/scheme_http.py | jgrnt/disco | 83874d93e74491c15699233865880ffb9ca7c2a0 | [
"BSD-3-Clause"
] | 122 | 2015-01-05T18:16:03.000Z | 2021-07-10T12:35:22.000Z | from disco import comm
def open(url, task=None):
return comm.open_url(url)
def input_stream(fd, sze, url, params):
"""Opens the specified url using an http client."""
import disco.worker
file = open(url, task=disco.worker.active_task)
return file, len(file), file.url
| 26.363636 | 55 | 0.696552 | 46 | 290 | 4.326087 | 0.565217 | 0.105528 | 0.110553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186207 | 290 | 10 | 56 | 29 | 0.84322 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
416f0a53e4e09a888e7949a5541d1455ee237458 | 87 | py | Python | 10950.py | pgw00/Beakjoon-python | 677bf6ece5be4843a37aace02edaa29c532721fb | [
"MIT"
] | null | null | null | 10950.py | pgw00/Beakjoon-python | 677bf6ece5be4843a37aace02edaa29c532721fb | [
"MIT"
] | null | null | null | 10950.py | pgw00/Beakjoon-python | 677bf6ece5be4843a37aace02edaa29c532721fb | [
"MIT"
] | null | null | null | x=int(input())
for i in range(0,x):
a,b=map(int,input().split())
print(a+b)
| 12.428571 | 32 | 0.54023 | 18 | 87 | 2.611111 | 0.722222 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.206897 | 87 | 6 | 33 | 14.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
417abc43d8c9da77acf2de0c19ed8932c061b34b | 5,143 | py | Python | backend/treeckle/treeckle/settings.py | CAPTxTreeckle/Treeckle-2.0 | 3a7f4c1a265b836a870ff34e6faff8b292002a52 | [
"MIT"
] | null | null | null | backend/treeckle/treeckle/settings.py | CAPTxTreeckle/Treeckle-2.0 | 3a7f4c1a265b836a870ff34e6faff8b292002a52 | [
"MIT"
] | 5 | 2020-11-19T09:12:48.000Z | 2020-12-23T21:46:19.000Z | backend/treeckle/treeckle/settings.py | CAPTxTreeckle/Treeckle-2.0 | 3a7f4c1a265b836a870ff34e6faff8b292002a52 | [
"MIT"
] | 4 | 2020-05-13T12:47:15.000Z | 2021-07-13T17:01:38.000Z | """
Django settings for treeckle project.
Generated by 'django-admin startproject' using Django 3.1.3.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
import os
f... | 28.103825 | 91 | 0.701731 | 553 | 5,143 | 6.361664 | 0.403255 | 0.066515 | 0.043775 | 0.049744 | 0.136157 | 0.120239 | 0.075895 | 0.075895 | 0.03411 | 0 | 0 | 0.00817 | 0.167023 | 5,143 | 182 | 92 | 28.258242 | 0.813025 | 0.205522 | 0 | 0.02521 | 1 | 0 | 0.556021 | 0.43216 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.05042 | 0.02521 | 0 | 0.02521 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4187f5c70ddf40c456dd2f38019b4af7774feba7 | 1,105 | py | Python | _assignments/advanced/funcprog/funcprog_closure_a.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _assignments/advanced/funcprog/funcprog_closure_a.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _assignments/advanced/funcprog/funcprog_closure_a.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | """
* Assignment: FuncProg Closure Define
* Complexity: easy
* Lines of code: 4 lines
* Time: 5 min
English:
1. Define function `check` with `func: Callable` as a parameter
2. Define closure function `wrapper` inside `check`
3. Function `wrapper` takes `*args` and `**kwargs` as arguments
4. Function `w... | 28.333333 | 79 | 0.665158 | 137 | 1,105 | 5.335766 | 0.532847 | 0.06156 | 0.043776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017182 | 0.209955 | 1,105 | 38 | 80 | 29.078947 | 0.82016 | 0.968326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
41897480c22b3a95fe4835e50a1d0343a35afc95 | 2,885 | py | Python | test/test_util.py | tjdevries/easy_python_requirements | 2bf905f34065637cbc781d17d8e5806892fb66d5 | [
"MIT"
] | null | null | null | test/test_util.py | tjdevries/easy_python_requirements | 2bf905f34065637cbc781d17d8e5806892fb66d5 | [
"MIT"
] | 2 | 2016-07-01T13:47:43.000Z | 2021-11-28T23:07:17.000Z | test/test_util.py | tjdevries/easy_python_requirements | 2bf905f34065637cbc781d17d8e5806892fb66d5 | [
"MIT"
] | 1 | 2021-11-28T21:50:41.000Z | 2021-11-28T21:50:41.000Z | from easy_python_requirements import util
class TestIndentString:
def test_none(self):
assert util.indent_string(None) == ''
def test_no_newline(self):
assert util.indent_string('no newline') == ' no newline\n'
def test_with_multiple_newlines(self):
s = 'wow newlines\n\n\n'
... | 35.182927 | 131 | 0.704333 | 401 | 2,885 | 4.743142 | 0.221945 | 0.069926 | 0.075184 | 0.09674 | 0.543113 | 0.452681 | 0.346477 | 0.331756 | 0.271819 | 0.271819 | 0 | 0.004741 | 0.195841 | 2,885 | 81 | 132 | 35.617284 | 0.815086 | 0.014905 | 0 | 0.092593 | 0 | 0 | 0.146479 | 0.042958 | 0 | 0 | 0 | 0.012346 | 0.351852 | 1 | 0.351852 | false | 0 | 0.148148 | 0 | 0.592593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
41931d4369a899064cfdb752b537301147793689 | 46 | py | Python | lib/__init__.py | federico123579/BigBrother | 9b61dcf8fd84b6491690ae83bf695bc2b64b17b3 | [
"MIT"
] | 29 | 2017-03-14T11:48:54.000Z | 2022-02-22T02:01:25.000Z | lib/__init__.py | federico123579/BigBrother | 9b61dcf8fd84b6491690ae83bf695bc2b64b17b3 | [
"MIT"
] | null | null | null | lib/__init__.py | federico123579/BigBrother | 9b61dcf8fd84b6491690ae83bf695bc2b64b17b3 | [
"MIT"
] | 10 | 2017-07-16T18:58:05.000Z | 2021-09-27T23:45:24.000Z | __all__ = ['base', 'bbro', 'clint', 'sentry']
| 23 | 45 | 0.565217 | 5 | 46 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 1 | 46 | 46 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.413043 | 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 |
41a2ee3eb2635c96f57d7fa5b6506db0a33609f9 | 3,819 | py | Python | amps.py | leon3110l/rs2tsl | 49fb25eb4813c41e2f1bb3ebaf2b84db19400142 | [
"MIT"
] | null | null | null | amps.py | leon3110l/rs2tsl | 49fb25eb4813c41e2f1bb3ebaf2b84db19400142 | [
"MIT"
] | 1 | 2021-03-05T00:45:33.000Z | 2021-03-05T00:45:33.000Z | amps.py | leon3110l/rs2tsl | 49fb25eb4813c41e2f1bb3ebaf2b84db19400142 | [
"MIT"
] | null | null | null | from katana_tsl_patch.katana.pedals.amp import Amp, AmpType
import json
from translate import translate
def create_amp(amp_type: AmpType):
def _create(knobs):
return Amp(
amp_type,
**knobs
)
return _create
amps = {
"DEFAULT": create_amp(AmpType.CLEAN),
"Amp_... | 37.441176 | 94 | 0.686043 | 494 | 3,819 | 4.97166 | 0.222672 | 0.240228 | 0.37785 | 0.495928 | 0.588762 | 0.236971 | 0 | 0 | 0 | 0 | 0 | 0.040694 | 0.16994 | 3,819 | 101 | 95 | 37.811881 | 0.734069 | 0 | 0 | 0 | 0 | 0 | 0.231474 | 0.012831 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034091 | false | 0 | 0.034091 | 0.011364 | 0.102273 | 0.011364 | 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 |
41b13e2dbcf1d04105160f3f0fd5d4f39edacd0d | 1,770 | py | Python | mintersdk/test/test_check.py | eternalflow/minter-sdk | 3145f37f66d890941c00c80dc325883fae8aee4b | [
"MIT"
] | 29 | 2019-05-24T18:23:14.000Z | 2021-11-08T08:50:49.000Z | mintersdk/test/test_check.py | eternalflow/minter-sdk | 3145f37f66d890941c00c80dc325883fae8aee4b | [
"MIT"
] | 6 | 2019-08-01T07:41:23.000Z | 2022-01-19T09:53:56.000Z | mintersdk/test/test_check.py | eternalflow/minter-sdk | 3145f37f66d890941c00c80dc325883fae8aee4b | [
"MIT"
] | 28 | 2019-05-24T15:30:40.000Z | 2022-03-17T22:41:35.000Z | import unittest
from mintersdk.sdk.check import MinterCheck
from mintersdk.sdk.transactions import MinterTx
class TestMinterCheck(unittest.TestCase):
def setUp(self):
self.PRIVATE_KEY = '64e27afaab363f21eec05291084367f6f1297a7b280d69d672febecda94a09ea'
self.ADDRESS = 'Mxa7bc33954f1ce855ed1a8c768... | 38.478261 | 383 | 0.738983 | 125 | 1,770 | 10.32 | 0.376 | 0.034884 | 0.032558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.286723 | 0.2 | 1,770 | 45 | 384 | 39.333333 | 0.624294 | 0 | 0 | 0 | 0 | 0 | 0.362712 | 0.357062 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.114286 | false | 0.085714 | 0.085714 | 0 | 0.228571 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
68b74b87be61f082bcfda59e583988e74fbe3a7b | 175 | py | Python | src/contrib/add.py | KrisSaxton/hub | ba52c85c1cd2974bd4199bf51ce0678c5eff44e1 | [
"Apache-2.0"
] | 3 | 2018-02-03T17:20:24.000Z | 2021-05-29T18:11:06.000Z | src/contrib/add.py | sysbot/hub | ba52c85c1cd2974bd4199bf51ce0678c5eff44e1 | [
"Apache-2.0"
] | null | null | null | src/contrib/add.py | sysbot/hub | ba52c85c1cd2974bd4199bf51ce0678c5eff44e1 | [
"Apache-2.0"
] | 1 | 2019-11-28T11:50:56.000Z | 2019-11-28T11:50:56.000Z | #!/usr/bin/env python
from api import task
@task(async=True)
def add(arg1, arg2):
print 'Passing parent id to end point %s' % add.state.parent_id
return arg1 + arg2
| 19.444444 | 67 | 0.691429 | 30 | 175 | 4 | 0.8 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028369 | 0.194286 | 175 | 8 | 68 | 21.875 | 0.822695 | 0.114286 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.2 | null | null | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
68db197c1f970b898775956d71124339eebfc166 | 209 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.py | farooq-teqniqly/cookiecutter-databricks-notebook | 31a4d1faeb9edf5953bd7a617707b2cd4bd39f86 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.py | farooq-teqniqly/cookiecutter-databricks-notebook | 31a4d1faeb9edf5953bd7a617707b2cd4bd39f86 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.py | farooq-teqniqly/cookiecutter-databricks-notebook | 31a4d1faeb9edf5953bd7a617707b2cd4bd39f86 | [
"MIT"
] | null | null | null | """
The Notebook module.
"""
class Notebook:
"""
This notebook does...
"""
def run(self):
"""
Your notebook code goes here.
"""
notebook = Notebook()
notebook.run()
| 11.611111 | 37 | 0.511962 | 20 | 209 | 5.35 | 0.65 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330144 | 209 | 17 | 38 | 12.294118 | 0.764286 | 0.344498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
68e7ee66235755ca6dc52c4d4bd86531c3d75f0f | 171 | py | Python | ex10_5.py | DexHunter/Think-Python-book-exercise-solutions | d0abae261eda1dca99043e17e8a1e614caad2140 | [
"CC-BY-4.0"
] | 24 | 2019-05-07T15:11:28.000Z | 2022-03-02T04:50:28.000Z | ex10_5.py | Dekzu/Think-Python-book-exercise-solutions | d0abae261eda1dca99043e17e8a1e614caad2140 | [
"CC-BY-4.0"
] | null | null | null | ex10_5.py | Dekzu/Think-Python-book-exercise-solutions | d0abae261eda1dca99043e17e8a1e614caad2140 | [
"CC-BY-4.0"
] | 19 | 2019-08-05T20:59:04.000Z | 2022-03-07T05:13:32.000Z | def is_sorted(l):
if len(l) == 1:
return True
else:
if(l[0] > l[1]):
return False
return is_sorted(l[1:])
print is_sorted([1,2,2])
print is_sorted(['b','a']) | 17.1 | 26 | 0.590643 | 34 | 171 | 2.852941 | 0.470588 | 0.329897 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050725 | 0.192982 | 171 | 10 | 26 | 17.1 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
68f155c8a9a9383c1155fa59b58be9220da9a6ce | 1,185 | py | Python | venv/lib/python2.7/site-packages/tests/test_wrappers.py | taulanthoti/data-management-system | c7daddf56f7e28223e19ea53b94691d58de0c132 | [
"CC0-1.0"
] | null | null | null | venv/lib/python2.7/site-packages/tests/test_wrappers.py | taulanthoti/data-management-system | c7daddf56f7e28223e19ea53b94691d58de0c132 | [
"CC0-1.0"
] | null | null | null | venv/lib/python2.7/site-packages/tests/test_wrappers.py | taulanthoti/data-management-system | c7daddf56f7e28223e19ea53b94691d58de0c132 | [
"CC0-1.0"
] | null | null | null | from tests import util
from werkzeug.exceptions import HTTPException
class CollectionTest(util.FlaskPyMongoTest):
def test_find_one_or_404(self):
self.mongo.db.things.remove()
try:
self.mongo.db.things.find_one_or_404({'_id': 'thing'})
except HTTPException as notfound:
... | 35.909091 | 89 | 0.632911 | 152 | 1,185 | 4.789474 | 0.322368 | 0.098901 | 0.120879 | 0.186813 | 0.762363 | 0.711538 | 0.686813 | 0.686813 | 0.686813 | 0.686813 | 0 | 0.023026 | 0.23038 | 1,185 | 32 | 90 | 37.03125 | 0.775219 | 0.073418 | 0 | 0.4 | 0 | 0 | 0.133455 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.05 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ec00a694efa86020e592f1e4e3b5362c706adc3a | 54 | py | Python | jj/requests/__init__.py | TeoDV/jj | a58d91ad7b37ba3115daea4890190abede8f3353 | [
"Apache-2.0"
] | 4 | 2020-09-08T08:14:21.000Z | 2022-01-27T19:22:53.000Z | jj/requests/__init__.py | TeoDV/jj | a58d91ad7b37ba3115daea4890190abede8f3353 | [
"Apache-2.0"
] | 19 | 2018-02-13T05:51:25.000Z | 2022-03-27T22:48:11.000Z | jj/requests/__init__.py | TeoDV/jj | a58d91ad7b37ba3115daea4890190abede8f3353 | [
"Apache-2.0"
] | 3 | 2017-11-17T13:25:23.000Z | 2022-02-03T12:57:00.000Z | from ._request import Request
__all__ = ("Request",)
| 13.5 | 29 | 0.722222 | 6 | 54 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 3 | 30 | 18 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 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 |
ec05d0f0fa5cc20b88c3ef1a8cc6f011ae4f4ae9 | 46 | py | Python | python/defs.py | WatForm/fortress-eval-poremba-symmetry | a3ff188428145938f419e0a045dba024cdd867f1 | [
"MIT"
] | null | null | null | python/defs.py | WatForm/fortress-eval-poremba-symmetry | a3ff188428145938f419e0a045dba024cdd867f1 | [
"MIT"
] | null | null | null | python/defs.py | WatForm/fortress-eval-poremba-symmetry | a3ff188428145938f419e0a045dba024cdd867f1 | [
"MIT"
] | null | null | null | benchmarksdir = "../UF/"
thisdirprefix = "./"
| 15.333333 | 24 | 0.608696 | 3 | 46 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 25 | 23 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 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 |
ec0ed1ee1d45f1d99f998b9a7a894b0926053fc2 | 38 | py | Python | lists/stocks.py | migueldv90/stock-analysis | 2f0a4487a4afd779022f355dafbe88352791b012 | [
"MIT"
] | null | null | null | lists/stocks.py | migueldv90/stock-analysis | 2f0a4487a4afd779022f355dafbe88352791b012 | [
"MIT"
] | null | null | null | lists/stocks.py | migueldv90/stock-analysis | 2f0a4487a4afd779022f355dafbe88352791b012 | [
"MIT"
] | null | null | null | tickers = [
'aapl',
'tsla',
]
| 7.6 | 11 | 0.394737 | 3 | 38 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.368421 | 38 | 4 | 12 | 9.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 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 |
ec253a4e9d38c14af99894fd08da676a0ff3ba7c | 610 | py | Python | lib/babelfont/groups.py | moyogo/babelfont | 8cc4a622c55bea407345ff93dc115d41a47488d8 | [
"BSD-3-Clause"
] | 38 | 2020-03-27T21:13:07.000Z | 2021-07-18T14:01:17.000Z | lib/babelfont/groups.py | moyogo/babelfont | 8cc4a622c55bea407345ff93dc115d41a47488d8 | [
"BSD-3-Clause"
] | 17 | 2020-06-23T07:16:32.000Z | 2022-03-26T08:42:05.000Z | lib/babelfont/groups.py | moyogo/babelfont | 8cc4a622c55bea407345ff93dc115d41a47488d8 | [
"BSD-3-Clause"
] | 7 | 2020-03-27T22:47:19.000Z | 2021-03-24T10:01:20.000Z | from fontParts.base.groups import BaseGroups
from collections import OrderedDict
class Groups(BaseGroups):
def __init__(self, **kwargs):
self._dict = OrderedDict()
super(BaseGroups, self).__init__(self, **kwargs)
def _set_font(self, font):
self._font = font
def _getItem(self, at... | 22.592593 | 56 | 0.634426 | 75 | 610 | 4.88 | 0.373333 | 0.131148 | 0.076503 | 0.076503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267213 | 610 | 26 | 57 | 23.461538 | 0.818792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.722222 | 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 |
ec3717473dd04161711cd48868406941d4360239 | 1,360 | py | Python | school/models.py | Ededu1984/Django_API_School | c3f45fa8036bcf72ccc06c4337010e0eecc4d0fe | [
"MIT"
] | null | null | null | school/models.py | Ededu1984/Django_API_School | c3f45fa8036bcf72ccc06c4337010e0eecc4d0fe | [
"MIT"
] | null | null | null | school/models.py | Ededu1984/Django_API_School | c3f45fa8036bcf72ccc06c4337010e0eecc4d0fe | [
"MIT"
] | null | null | null | from django.db import models
class Student(models.Model):
STATUS = (
('activate', 'Activate'),
('not activate', 'Not Activate')
)
name = models.CharField(max_length=30)
email = models.EmailField(blank=False, max_length=30)
rg = models.CharField(max_length=9, unique=True)
cpf = m... | 31.627907 | 104 | 0.654412 | 164 | 1,360 | 5.286585 | 0.390244 | 0.103806 | 0.186851 | 0.249135 | 0.209919 | 0.073818 | 0 | 0 | 0 | 0 | 0 | 0.016559 | 0.200735 | 1,360 | 42 | 105 | 32.380952 | 0.781049 | 0 | 0 | 0.057143 | 0 | 0 | 0.07511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.028571 | 0.057143 | 0.685714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ec3e8465ba95ef42aaacdf2e72ba771c8f1fef2f | 851 | py | Python | src/degrees/major.py | RaylaKurosaki1503/Student_Information_System | 9550e9ee9fa39b9aa49ab70310977c1eda9e2f87 | [
"MIT"
] | 1 | 2022-02-15T05:31:38.000Z | 2022-02-15T05:31:38.000Z | src/degrees/major.py | RaylaKurosaki1503/Student_Information_System | 9550e9ee9fa39b9aa49ab70310977c1eda9e2f87 | [
"MIT"
] | null | null | null | src/degrees/major.py | RaylaKurosaki1503/Student_Information_System | 9550e9ee9fa39b9aa49ab70310977c1eda9e2f87 | [
"MIT"
] | null | null | null | """
Author: Rayla Kurosaki
File: major.py
Description: This file contains the functionality to represent a major.
"""
import __utils__ as utils
class Major:
def __init__(self, name, degree):
"""
Create an instance of a major.
"""
self.name = name
self.degree = degree
... | 17.729167 | 71 | 0.532315 | 104 | 851 | 4.25 | 0.336538 | 0.149321 | 0.090498 | 0.144796 | 0.343891 | 0.325792 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374853 | 851 | 47 | 72 | 18.106383 | 0.830827 | 0.387779 | 0 | 0.133333 | 0 | 0 | 0.007557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.133333 | 0.066667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
ec41b258a3fc95f5a3d0e0c670eb5840d5280b95 | 5,296 | py | Python | tests/test_timeseries.py | jmcph4/quantmotion | 84ec703be327c9f06019677ba17687df1e71b624 | [
"MIT"
] | null | null | null | tests/test_timeseries.py | jmcph4/quantmotion | 84ec703be327c9f06019677ba17687df1e71b624 | [
"MIT"
] | null | null | null | tests/test_timeseries.py | jmcph4/quantmotion | 84ec703be327c9f06019677ba17687df1e71b624 | [
"MIT"
] | 2 | 2018-09-05T12:55:11.000Z | 2021-12-14T01:58:46.000Z | import unittest
from datetime import datetime
from copy import deepcopy
from quantmotion.ohlcvdata import OHLCVData
from quantmotion.timeseries import TimeSeries
class TestTimeSeries(unittest.TestCase):
__valid_initial_data = [
[(datetime(2018, 1, 1), OHLCVData(1.00, 2.43, 0.52, 1.50, 100)),
(da... | 34.167742 | 107 | 0.679758 | 714 | 5,296 | 4.52381 | 0.117647 | 0.136223 | 0.193189 | 0.235294 | 0.775232 | 0.709598 | 0.670588 | 0.656656 | 0.591022 | 0.530031 | 0 | 0.039122 | 0.208459 | 5,296 | 154 | 108 | 34.38961 | 0.731393 | 0 | 0 | 0.362745 | 0 | 0 | 0.001511 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.156863 | false | 0 | 0.04902 | 0 | 0.245098 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ec4e45155547acc1e508c3b1ca3d5f7ce31f6569 | 63,866 | py | Python | diplomacy_research/proto/diplomacy_tensorflow/core/profiler/tfprof_log_pb2.py | wwongkamjan/dipnet_press | 787263c1b9484698904f525c8d78d0e333e1c0d9 | [
"MIT"
] | 39 | 2019-09-06T13:42:24.000Z | 2022-03-18T18:38:43.000Z | diplomacy_research/proto/diplomacy_tensorflow/core/profiler/tfprof_log_pb2.py | wwongkamjan/dipnet_press | 787263c1b9484698904f525c8d78d0e333e1c0d9 | [
"MIT"
] | 9 | 2019-09-19T22:35:32.000Z | 2022-02-24T18:04:57.000Z | diplomacy_research/proto/diplomacy_tensorflow/core/profiler/tfprof_log_pb2.py | wwongkamjan/dipnet_press | 787263c1b9484698904f525c8d78d0e333e1c0d9 | [
"MIT"
] | 8 | 2019-10-16T21:09:14.000Z | 2022-02-23T05:20:37.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: diplomacy_tensorflow/core/profiler/tfprof_log.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from googl... | 44.320611 | 5,891 | 0.759324 | 7,885 | 63,866 | 5.856944 | 0.047939 | 0.048331 | 0.086614 | 0.063726 | 0.769326 | 0.724871 | 0.680157 | 0.6265 | 0.59625 | 0.593218 | 0 | 0.039031 | 0.118655 | 63,866 | 1,440 | 5,892 | 44.351389 | 0.781428 | 0.035105 | 0 | 0.689501 | 1 | 0.003723 | 0.189301 | 0.159477 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005212 | 0 | 0.005212 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b57a91a639465ebe9f1c9337bf98a3cc0661d78 | 100 | py | Python | pyvisdk/__init__.py | Infinidat/pyvisdk | f2f4e5f50da16f659ccc1d84b6a00f397fa997f8 | [
"MIT"
] | null | null | null | pyvisdk/__init__.py | Infinidat/pyvisdk | f2f4e5f50da16f659ccc1d84b6a00f397fa997f8 | [
"MIT"
] | null | null | null | pyvisdk/__init__.py | Infinidat/pyvisdk | f2f4e5f50da16f659ccc1d84b6a00f397fa997f8 | [
"MIT"
] | null | null | null | __version__ = '0.9.45'
Version = __version__ # for backware compatibility
from vim import Vim, Sms
| 20 | 50 | 0.76 | 14 | 100 | 4.857143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.16 | 100 | 4 | 51 | 25 | 0.761905 | 0.26 | 0 | 0 | 0 | 0 | 0.083333 | 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 |
6b67f9e528dac16645e929ce6b166e5dff07121b | 9,155 | gyp | Python | binding.gyp | worldmaking/node-gles3 | cd0735c24c37d465e9ea786b0d6d9a88f724eba5 | [
"MIT"
] | 8 | 2021-01-18T21:05:51.000Z | 2022-01-26T01:40:46.000Z | binding.gyp | worldmaking/node-gles3 | cd0735c24c37d465e9ea786b0d6d9a88f724eba5 | [
"MIT"
] | 5 | 2020-05-21T22:01:16.000Z | 2020-08-20T15:35:12.000Z | binding.gyp | worldmaking/node-gles3 | cd0735c24c37d465e9ea786b0d6d9a88f724eba5 | [
"MIT"
] | 4 | 2020-10-02T18:14:15.000Z | 2022-01-26T02:04:21.000Z | {
"targets": [
{
"target_name": "gles3",
"sources": [ "src/node-gles3.cpp" ],
'include_dirs': [
'src', 'src/include'
],
'cflags':[],
'conditions': [
['OS=="mac"',
{
'libraries': [
'-lGLEW',
'-framework OpenGL'
... | 29.532258 | 125 | 0.38012 | 618 | 9,155 | 5.461165 | 0.213592 | 0.048889 | 0.075556 | 0.081481 | 0.761185 | 0.739259 | 0.693926 | 0.665778 | 0.636148 | 0.609481 | 0 | 0.013924 | 0.443037 | 9,155 | 310 | 126 | 29.532258 | 0.64797 | 0.002075 | 0 | 0.640777 | 0 | 0.003236 | 0.423864 | 0.149425 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b68064894358b2687d6d8c25905ff9d4b1b50bd | 206 | py | Python | tests/sandbox/.venv_ccf_sandbox/lib/python3.8/site-packages/adtk/metrics/__init__.py | iLuSIAnn/test | 10d0a20dc1a646b5c1f6c7bff2960e3f5df0510e | [
"Apache-2.0"
] | null | null | null | tests/sandbox/.venv_ccf_sandbox/lib/python3.8/site-packages/adtk/metrics/__init__.py | iLuSIAnn/test | 10d0a20dc1a646b5c1f6c7bff2960e3f5df0510e | [
"Apache-2.0"
] | null | null | null | tests/sandbox/.venv_ccf_sandbox/lib/python3.8/site-packages/adtk/metrics/__init__.py | iLuSIAnn/test | 10d0a20dc1a646b5c1f6c7bff2960e3f5df0510e | [
"Apache-2.0"
] | null | null | null | """
Module of metrics that measure the quality of detection results against true
anomalies.
"""
from ._metrics import f1_score, iou, precision, recall
__all__ = ["recall", "precision", "f1_score", "iou"]
| 22.888889 | 76 | 0.73301 | 27 | 206 | 5.333333 | 0.740741 | 0.097222 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.145631 | 206 | 8 | 77 | 25.75 | 0.806818 | 0.42233 | 0 | 0 | 0 | 0 | 0.234234 | 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 |
6b91c58ef005466ef729ed975ff1db97bef30c17 | 10,742 | py | Python | src/domainClient/models/domain_search_service_v2_model_domain_search_web_api_v2_models_search_location.py | diabolical-ninja/smart-property-search | 0931c7c8195ec21cbd56768c9c84cea2927a9e1d | [
"MIT"
] | 5 | 2021-04-12T04:10:42.000Z | 2021-04-28T05:54:22.000Z | src/domainClient/models/domain_search_service_v2_model_domain_search_web_api_v2_models_search_location.py | diabolical-ninja/smart-property-search | 0931c7c8195ec21cbd56768c9c84cea2927a9e1d | [
"MIT"
] | 35 | 2020-05-26T14:21:37.000Z | 2022-03-29T16:14:42.000Z | src/domainClient/models/domain_search_service_v2_model_domain_search_web_api_v2_models_search_location.py | diabolical-ninja/smart-property-search | 0931c7c8195ec21cbd56768c9c84cea2927a9e1d | [
"MIT"
] | 2 | 2020-05-26T14:02:12.000Z | 2022-01-10T08:19:49.000Z | # coding: utf-8
"""
Domain Group API V1
Provides public access to Domain's microservices # noqa: E501
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
class DomainSearchServiceV2ModelDomainSearchW... | 35.335526 | 199 | 0.675852 | 1,009 | 10,742 | 6.978196 | 0.144698 | 0.027269 | 0.327226 | 0.259054 | 0.598921 | 0.512143 | 0.484732 | 0.339867 | 0.244283 | 0.05681 | 0 | 0.021142 | 0.251443 | 10,742 | 303 | 200 | 35.452145 | 0.854496 | 0.422919 | 0 | 0.072993 | 1 | 0 | 0.079784 | 0.037567 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160584 | false | 0 | 0.021898 | 0 | 0.306569 | 0.014599 | 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 |
6ba0f9e5a2c0435281e089a3fff4347106832d44 | 1,688 | py | Python | python/.ipynb_checkpoints/meta1-checkpoint.py | lukasjoc/scritps | ebcffef0a3977ab8bb1bebf20383c350bd7baa37 | [
"0BSD"
] | 1 | 2020-11-09T19:32:43.000Z | 2020-11-09T19:32:43.000Z | python/.ipynb_checkpoints/meta1-checkpoint.py | lukasjoc/scritps | ebcffef0a3977ab8bb1bebf20383c350bd7baa37 | [
"0BSD"
] | null | null | null | python/.ipynb_checkpoints/meta1-checkpoint.py | lukasjoc/scritps | ebcffef0a3977ab8bb1bebf20383c350bd7baa37 | [
"0BSD"
] | null | null | null | # from functools import wraps
# def debugMethod(func, cls=None):
# '''decorator for debugging passed function'''
# @wraps(func)
# def wrapper(*args, **kwargs):
# print({
# 'class': cls, # class object, not string
# 'method': func.__qualname__, # method name, string
# ... | 23.774648 | 73 | 0.558649 | 209 | 1,688 | 4.287081 | 0.38756 | 0.026786 | 0.022321 | 0.040179 | 0.149554 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 0.030705 | 0.286137 | 1,688 | 70 | 74 | 24.114286 | 0.712863 | 0.723341 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.727273 | 0.090909 | 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 |
6ba79453016718b99febd98312a723a888018e94 | 1,046 | py | Python | spacy_entities/tag_data.py | MartinoMensio/botcycle-nlu | 42177de3e53f0c96c4b76ce41c9a1d3b4effd680 | [
"MIT"
] | 1 | 2017-09-27T15:34:22.000Z | 2017-09-27T15:34:22.000Z | spacy_entities/tag_data.py | MartinoMensio/botcycle-nlu | 42177de3e53f0c96c4b76ce41c9a1d3b4effd680 | [
"MIT"
] | null | null | null | spacy_entities/tag_data.py | MartinoMensio/botcycle-nlu | 42177de3e53f0c96c4b76ce41c9a1d3b4effd680 | [
"MIT"
] | null | null | null | import json
def load_expressions():
"""
Returns the expressions_file loaded from JSON
"""
with open('../data/BotCycle/expressions.json') as expressions_file:
return json.load(expressions_file)
def load_expressions_atis():
with open('../data/atis_parsed_texts.json') as expressions_file:
... | 29.055556 | 147 | 0.655832 | 131 | 1,046 | 5.099237 | 0.396947 | 0.157186 | 0.053892 | 0.094311 | 0.30988 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0.202677 | 1,046 | 35 | 148 | 29.885714 | 0.800959 | 0.269598 | 0 | 0.176471 | 0 | 0 | 0.188446 | 0.122421 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6ba79df3b5193fdc9dc355e2a5a463a2481d2633 | 1,378 | py | Python | esque_wire/protocol/serializers/api/sync_group_response.py | real-digital/esque-wire | eb02c49f38b89ad5e5d25aad15fb4ad795e52807 | [
"MIT"
] | null | null | null | esque_wire/protocol/serializers/api/sync_group_response.py | real-digital/esque-wire | eb02c49f38b89ad5e5d25aad15fb4ad795e52807 | [
"MIT"
] | 7 | 2019-11-26T08:19:49.000Z | 2021-03-15T14:27:47.000Z | esque_wire/protocol/serializers/api/sync_group_response.py | real-digital/esque-wire | eb02c49f38b89ad5e5d25aad15fb4ad795e52807 | [
"MIT"
] | null | null | null | ###############################################################
# Autogenerated module. Please don't modify. #
# Edit according file in protocol_generator/templates instead #
###############################################################
from typing import Dict
from ...structs.api.sync_group_respons... | 39.371429 | 119 | 0.67344 | 101 | 1,378 | 9.019802 | 0.485149 | 0.039517 | 0.122942 | 0.16685 | 0.328211 | 0.270033 | 0.270033 | 0.270033 | 0.270033 | 0 | 0 | 0.0134 | 0.133527 | 1,378 | 34 | 120 | 40.529412 | 0.749581 | 0.087083 | 0 | 0 | 1 | 0 | 0.127886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ba7d349cd16686e5cf2db7a45c45ade9c467838 | 228 | py | Python | python_sudoku/sudoku_test.py | magicmage6/magic_sudoku | aabaf65fd14966db4bf1a52e0b89e59c31b3bd29 | [
"Unlicense"
] | 1 | 2020-07-04T22:58:52.000Z | 2020-07-04T22:58:52.000Z | python_sudoku/sudoku_test.py | magicmage6/python_sudoko | aabaf65fd14966db4bf1a52e0b89e59c31b3bd29 | [
"Unlicense"
] | null | null | null | python_sudoku/sudoku_test.py | magicmage6/python_sudoko | aabaf65fd14966db4bf1a52e0b89e59c31b3bd29 | [
"Unlicense"
] | null | null | null | import generator_test
import solver_test
def main():
print('Testing sudoku solver.')
solver_test.test_solvers()
print('Testing sudoku generator.')
generator_test.test_generators()
if __name__ == '__main__':
main()
| 16.285714 | 36 | 0.741228 | 28 | 228 | 5.535714 | 0.464286 | 0.167742 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 228 | 13 | 37 | 17.538462 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.241228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.222222 | 0 | 0.333333 | 0.222222 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6bb28c941feab2f9cd9efd53968d83c6f0562481 | 835 | py | Python | Estudo/cursoemvideo/tkinter/basic/aula12.py | ndrsilva/ndrsilva | bf2214c9a1ea3a9a107fcdd7fd7cb3443df24e2a | [
"MIT"
] | null | null | null | Estudo/cursoemvideo/tkinter/basic/aula12.py | ndrsilva/ndrsilva | bf2214c9a1ea3a9a107fcdd7fd7cb3443df24e2a | [
"MIT"
] | null | null | null | Estudo/cursoemvideo/tkinter/basic/aula12.py | ndrsilva/ndrsilva | bf2214c9a1ea3a9a107fcdd7fd7cb3443df24e2a | [
"MIT"
] | null | null | null | from tkinter import *
menu_inicial = Tk()
menu_inicial.title('Titulo')
menu_inicial.geometry('400x600')
label_01 = Label(
menu_inicial,
text="solid",
font= 'Arial 20',
bd=10,
relief="solid"
).pack()
label_02 = Label(
menu_inicial,
text="groove",
font="Arial 20",
bd=10,
relief... | 14.649123 | 32 | 0.594012 | 108 | 835 | 4.444444 | 0.296296 | 0.229167 | 0.2 | 0.25 | 0.304167 | 0.304167 | 0.129167 | 0.129167 | 0 | 0 | 0 | 0.066246 | 0.240719 | 835 | 56 | 33 | 14.910714 | 0.690852 | 0 | 0 | 0.531915 | 0 | 0 | 0.159281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.021277 | 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 |
6bbc7aebc10b89deec99c344cafbec3a9f00598b | 2,177 | py | Python | Examples/PolynomialBernoulliExamples.py | SymmetricChaos/FiniteFields | 65258e06b7f04ce15223c1bc0c2384ef5e9cec1a | [
"MIT"
] | 1 | 2021-08-22T15:03:59.000Z | 2021-08-22T15:03:59.000Z | Examples/PolynomialBernoulliExamples.py | SymmetricChaos/NumberTheory | 65258e06b7f04ce15223c1bc0c2384ef5e9cec1a | [
"MIT"
] | null | null | null | Examples/PolynomialBernoulliExamples.py | SymmetricChaos/NumberTheory | 65258e06b7f04ce15223c1bc0c2384ef5e9cec1a | [
"MIT"
] | null | null | null | from Polynomials import Polynomial
from Rationals import Rational
print("Say we have a biased coin. It has P(Heads) = .6 and P(Tails) = .4 which we could represent as a Bernoulli distribution. However another option is to encode it as a polynomial generating function. That would be:")
Bern = Polynomial([.4,.6])
print... | 48.377778 | 253 | 0.757924 | 362 | 2,177 | 4.558011 | 0.455801 | 0.015152 | 0.007273 | 0.007273 | 0.035152 | 0.031515 | 0 | 0 | 0 | 0 | 0 | 0.023039 | 0.162609 | 2,177 | 44 | 254 | 49.477273 | 0.882063 | 0 | 0 | 0 | 0 | 0.233333 | 0.793294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.533333 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6be0acef51bcdc77fc959d4b20cb4d66b2c189fe | 139 | py | Python | app/shortener/forms.py | pattu777/URL-Shortener | 555f2ce881398cd351285ca9fe40669f4617cee9 | [
"MIT"
] | null | null | null | app/shortener/forms.py | pattu777/URL-Shortener | 555f2ce881398cd351285ca9fe40669f4617cee9 | [
"MIT"
] | 2 | 2020-02-11T23:38:41.000Z | 2020-06-05T17:34:10.000Z | app/shortener/forms.py | pattu777/URL-Shortener | 555f2ce881398cd351285ca9fe40669f4617cee9 | [
"MIT"
] | null | null | null | from django import forms
from .models import URL
class URLForm(forms.ModelForm):
class Meta:
model = URL
fields = ('long_url',)
| 12.636364 | 31 | 0.697842 | 19 | 139 | 5.052632 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208633 | 139 | 11 | 32 | 12.636364 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6bec13d32e97ef9a08044e71a9f3d1288f958ec5 | 513 | py | Python | toontown/safezone/DistributedMMPianoAI.py | LittleNed/toontown-stride | 1252a8f9a8816c1810106006d09c8bdfe6ad1e57 | [
"Apache-2.0"
] | 3 | 2020-01-02T08:43:36.000Z | 2020-07-05T08:59:02.000Z | toontown/safezone/DistributedMMPianoAI.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | null | null | null | toontown/safezone/DistributedMMPianoAI.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 4 | 2019-06-20T23:45:23.000Z | 2020-10-14T20:30:15.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectAI import DistributedObjectAI
class DistributedMMPianoAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedMMPianoAI")
def requestSpeedUp(self):
pass
def requestChangeD... | 23.318182 | 80 | 0.732943 | 44 | 513 | 8.545455 | 0.5 | 0.074468 | 0.058511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012225 | 0.202729 | 513 | 21 | 81 | 24.428571 | 0.90709 | 0 | 0 | 0.357143 | 0 | 0 | 0.039063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.357143 | 0.142857 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d40e074b6e2764a105f1fd9d2ac8c4e7bdffed87 | 10,496 | py | Python | api/tests.py | zachtib/Frisky | 84303915e701aa14dec80da4cfff4d731284c99d | [
"MIT"
] | 5 | 2020-01-22T18:16:59.000Z | 2021-06-14T13:23:57.000Z | api/tests.py | zachtib/Frisky | 84303915e701aa14dec80da4cfff4d731284c99d | [
"MIT"
] | 104 | 2020-02-12T00:36:14.000Z | 2022-02-10T08:18:28.000Z | api/tests.py | zachtib/Frisky | 84303915e701aa14dec80da4cfff4d731284c99d | [
"MIT"
] | 4 | 2020-01-30T15:44:04.000Z | 2020-08-27T19:22:57.000Z | import json
import uuid
from io import StringIO
from typing import Dict
import jwt
from django.conf import settings
from django.core.management import call_command, CommandError
from api.models import ApiToken
from frisky.models import Workspace
from frisky.test import FriskyTestCase
class ApiTestCase(FriskyTestCas... | 37.219858 | 118 | 0.630812 | 1,186 | 10,496 | 5.376897 | 0.128162 | 0.04234 | 0.050808 | 0.081857 | 0.789713 | 0.770739 | 0.72934 | 0.687314 | 0.680571 | 0.660655 | 0 | 0.015966 | 0.236185 | 10,496 | 281 | 119 | 37.352313 | 0.779469 | 0 | 0 | 0.56872 | 0 | 0 | 0.156917 | 0 | 0 | 0 | 0 | 0 | 0.132701 | 1 | 0.123223 | false | 0 | 0.052133 | 0 | 0.208531 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.