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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ab3b3b45e085df872dae2584e5093ac10afc0c16 | 1,296 | py | Python | ITmeetups_back/api/serializers.py | RomulusGwelt/AngularProject | acc7083f30b1edf002da8d156be023d2432a05e4 | [
"MIT"
] | 3 | 2019-02-28T15:20:24.000Z | 2019-03-02T18:33:23.000Z | ITmeetups_back/api/serializers.py | RomulusGwelt/AngularProject | acc7083f30b1edf002da8d156be023d2432a05e4 | [
"MIT"
] | 7 | 2020-07-17T01:18:53.000Z | 2022-02-17T22:49:16.000Z | ITmeetups_back/api/serializers.py | RomulusGwelt/AngularProject | acc7083f30b1edf002da8d156be023d2432a05e4 | [
"MIT"
] | 1 | 2019-03-03T02:45:55.000Z | 2019-03-03T02:45:55.000Z | from rest_framework import serializers
from .models import Post, Comment, Like
from django.contrib.auth.models import User
class CurrentUserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = ('id', 'username', 'email')
class PostSerializer(serializers.ModelSerializer):
... | 24 | 62 | 0.655864 | 120 | 1,296 | 7.033333 | 0.258333 | 0.184834 | 0.099526 | 0.302133 | 0.638626 | 0.638626 | 0.638626 | 0.638626 | 0.638626 | 0.540284 | 0 | 0.002002 | 0.229167 | 1,296 | 53 | 63 | 24.45283 | 0.842843 | 0 | 0 | 0.6 | 0 | 0 | 0.102703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085714 | 0 | 0.657143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
ab3f43a17d20a3de43fa762a19edf3462b4252f3 | 1,307 | py | Python | distributed/db.py | VW-Stephen/pySpiderScrape | 861d7289743d5b65916310448526a58b381fde8d | [
"WTFPL"
] | null | null | null | distributed/db.py | VW-Stephen/pySpiderScrape | 861d7289743d5b65916310448526a58b381fde8d | [
"WTFPL"
] | null | null | null | distributed/db.py | VW-Stephen/pySpiderScrape | 861d7289743d5b65916310448526a58b381fde8d | [
"WTFPL"
] | null | null | null | #!/usr/bin/python
from bs4 import BeautifulSoup
import sqlite3
class DB:
"""
Abstraction for the profile database
"""
def __init__(self, filename):
"""
Creates a new connection to the database
filename - The name of the database file to use
"""
self.Filename = ... | 35.324324 | 397 | 0.582249 | 160 | 1,307 | 4.73125 | 0.4625 | 0.058124 | 0.034346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023711 | 0.257842 | 1,307 | 36 | 398 | 36.305556 | 0.756701 | 0.23795 | 0 | 0 | 0 | 0.076923 | 0.290868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
ab48971329305ae9b948d764b897a02b20e65a2f | 67 | py | Python | __init__.py | ENDERZOMBI102/chained | d01f04d1eb9a913f64cea9da52e61d91300315ff | [
"MIT"
] | null | null | null | __init__.py | ENDERZOMBI102/chained | d01f04d1eb9a913f64cea9da52e61d91300315ff | [
"MIT"
] | null | null | null | __init__.py | ENDERZOMBI102/chained | d01f04d1eb9a913f64cea9da52e61d91300315ff | [
"MIT"
] | null | null | null | from .chainOpen import chainOpen
__all__ = [
'chainOpen'
] | 13.4 | 33 | 0.656716 | 6 | 67 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 67 | 5 | 34 | 13.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ab4e0820c560508db4fbda99cab044003f105f34 | 155,374 | py | Python | tencentcloud/vpc/v20170312/models.py | yangyimincn/tencentcloud-sdk-python | 1d4f1bd83bb57a91bb6d2631131a339bc1f9b91d | [
"Apache-2.0"
] | null | null | null | tencentcloud/vpc/v20170312/models.py | yangyimincn/tencentcloud-sdk-python | 1d4f1bd83bb57a91bb6d2631131a339bc1f9b91d | [
"Apache-2.0"
] | null | null | null | tencentcloud/vpc/v20170312/models.py | yangyimincn/tencentcloud-sdk-python | 1d4f1bd83bb57a91bb6d2631131a339bc1f9b91d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf8 -*-
# Copyright 1999-2017 Tencent Ltd.
#
# 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 l... | 29.914132 | 366 | 0.643827 | 13,313 | 155,374 | 7.427477 | 0.101104 | 0.056613 | 0.022694 | 0.033009 | 0.60641 | 0.566038 | 0.518992 | 0.503934 | 0.479015 | 0.460074 | 0 | 0.009331 | 0.255757 | 155,374 | 5,194 | 367 | 29.914132 | 0.845783 | 0.349859 | 0 | 0.706527 | 0 | 0 | 0.087046 | 0.020703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203288 | false | 0.004484 | 0.000498 | 0 | 0.306926 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ab4efdf65ad735b02d6de387aa7fd48994cd82b2 | 1,507 | bzl | Python | vue/repositories.bzl | ubiquitoustech/rules_vue | 759786eae1b6caf647b1c6018e16030a66e486e2 | [
"Apache-2.0"
] | null | null | null | vue/repositories.bzl | ubiquitoustech/rules_vue | 759786eae1b6caf647b1c6018e16030a66e486e2 | [
"Apache-2.0"
] | null | null | null | vue/repositories.bzl | ubiquitoustech/rules_vue | 759786eae1b6caf647b1c6018e16030a66e486e2 | [
"Apache-2.0"
] | null | null | null | """Declare runtime dependencies
These are needed for local dev, and users must install them as well.
See https://docs.bazel.build/versions/main/skylark/deploying.html#dependencies
"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
#... | 45.666667 | 126 | 0.7286 | 203 | 1,507 | 5.330049 | 0.512315 | 0.014787 | 0.011091 | 0.03512 | 0.263401 | 0.184843 | 0.184843 | 0.125693 | 0.125693 | 0.125693 | 0 | 0.081146 | 0.165893 | 1,507 | 32 | 127 | 47.09375 | 0.779634 | 0.411413 | 0 | 0.222222 | 0 | 0.166667 | 0.646453 | 0.275744 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | true | 0 | 0 | 0 | 0.055556 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ab5da7ec6af05a22fe8ff59c25c22325724698fc | 403 | py | Python | cartrade/cartrade/doctype/category/category.py | vignesharumainayagam/cartrade | 81349bc3cd9dbd441491304734077aab10dca56f | [
"MIT"
] | null | null | null | cartrade/cartrade/doctype/category/category.py | vignesharumainayagam/cartrade | 81349bc3cd9dbd441491304734077aab10dca56f | [
"MIT"
] | null | null | null | cartrade/cartrade/doctype/category/category.py | vignesharumainayagam/cartrade | 81349bc3cd9dbd441491304734077aab10dca56f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2018, Tridots Tech Pvt. Ltd. and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.website.website_generator import WebsiteGenerator
class Category(WebsiteGenerator):
def validate(self):
if ' '... | 28.785714 | 61 | 0.751861 | 51 | 403 | 5.784314 | 0.745098 | 0.081356 | 0.108475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014409 | 0.138958 | 403 | 14 | 62 | 28.785714 | 0.835735 | 0.320099 | 0 | 0 | 0 | 0 | 0.00738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
ab6246c7ab7820986e2418ba286e6e0d8c06092b | 574 | py | Python | custom_components/hoymiles/__init__.py | Cosik/HAHoymiles | e956f8fafc4ae59d4c05755c6e8a5d5d7caa37f9 | [
"MIT"
] | null | null | null | custom_components/hoymiles/__init__.py | Cosik/HAHoymiles | e956f8fafc4ae59d4c05755c6e8a5d5d7caa37f9 | [
"MIT"
] | null | null | null | custom_components/hoymiles/__init__.py | Cosik/HAHoymiles | e956f8fafc4ae59d4c05755c6e8a5d5d7caa37f9 | [
"MIT"
] | null | null | null | import datetime
import logging
import voluptuous as vol
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
import homeassistant.helpers.config_validation as cv
from .const import (
CONF_PLANT_ID,
)
_LOGGER = logging.getLogger(__name__)
MIN_T... | 23.916667 | 60 | 0.775261 | 72 | 574 | 5.902778 | 0.486111 | 0.098824 | 0.105882 | 0.089412 | 0.108235 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006148 | 0.149826 | 574 | 24 | 61 | 23.916667 | 0.864754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.388889 | 0 | 0.388889 | 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 | 0 | 0 | 0 | 2 |
db3dd00adedd165108fb972c0f4e5656055ffd1d | 1,196 | py | Python | skgmm.py | liuliu663/speaker-recognition-py3 | 8fd0f77ac011e4a11c7cac751dc985b9cd1f2c4d | [
"Apache-2.0"
] | null | null | null | skgmm.py | liuliu663/speaker-recognition-py3 | 8fd0f77ac011e4a11c7cac751dc985b9cd1f2c4d | [
"Apache-2.0"
] | null | null | null | skgmm.py | liuliu663/speaker-recognition-py3 | 8fd0f77ac011e4a11c7cac751dc985b9cd1f2c4d | [
"Apache-2.0"
] | null | null | null | from sklearn.mixture import GaussianMixture
import operator
import numpy as np
import math
class GMMSet:
def __init__(self, gmm_order = 32):
self.gmms = []
self.gmm_order = gmm_order
self.y = []
def fit_new(self, x, label):
self.y.append(label)
gmm = GaussianM... | 27.813953 | 81 | 0.601171 | 172 | 1,196 | 4.063953 | 0.337209 | 0.050072 | 0.051502 | 0.042918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009206 | 0.273411 | 1,196 | 42 | 82 | 28.47619 | 0.795167 | 0 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0.060606 | 0.121212 | 0.030303 | 0.454545 | 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 | 0 | 0 | 0 | 2 |
db42ec903108c18c60147d1092a12cae13582379 | 186 | py | Python | app/settings.py | nikosk/fastAPI-microservice-example- | a1a61ab4e521bc0c48eee5b3a755db134c098546 | [
"MIT"
] | null | null | null | app/settings.py | nikosk/fastAPI-microservice-example- | a1a61ab4e521bc0c48eee5b3a755db134c098546 | [
"MIT"
] | null | null | null | app/settings.py | nikosk/fastAPI-microservice-example- | a1a61ab4e521bc0c48eee5b3a755db134c098546 | [
"MIT"
] | null | null | null | import os
from pydantic import BaseSettings
class Settings(BaseSettings):
DEBUG: bool
DATABASE_URL: str
class Config:
env_file = os.getenv("CONFIG_FILE", ".env")
| 15.5 | 51 | 0.688172 | 23 | 186 | 5.434783 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 186 | 11 | 52 | 16.909091 | 0.868056 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.857143 | 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 | 0 | 0 | 1 | 0 | 0 | 2 |
db446d4b90633693172c23acd329f858502b3ec2 | 712 | py | Python | unitconvert/distance.py | cr2630git/unitconvert | 64a530f53b27a9412988877c7ae1b3b34f9ce8a6 | [
"MIT"
] | null | null | null | unitconvert/distance.py | cr2630git/unitconvert | 64a530f53b27a9412988877c7ae1b3b34f9ce8a6 | [
"MIT"
] | null | null | null | unitconvert/distance.py | cr2630git/unitconvert | 64a530f53b27a9412988877c7ae1b3b34f9ce8a6 | [
"MIT"
] | 2 | 2017-11-16T15:11:09.000Z | 2021-08-19T19:34:23.000Z | """
A simple python module for converting kilometers to miles or vice versa.
So simple that it doesn't even have any dependencies.
"""
def kilometers_to_miles(dist_in_km):
"""
Actually does the conversion of distance from km to mi.
PARAMETERS
--------
dist_in_km: float
A distance in kilometers.
RETURNS
-... | 17.365854 | 72 | 0.703652 | 108 | 712 | 4.453704 | 0.37963 | 0.099792 | 0.066528 | 0.10395 | 0.29106 | 0.29106 | 0.162162 | 0 | 0 | 0 | 0 | 0.024221 | 0.188202 | 712 | 40 | 73 | 17.8 | 0.807958 | 0.771067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
db5e2687d797299a53905ef091a13e9ae1079979 | 2,814 | py | Python | chatbot/train.py | codingsoo/virtaul_girlfriend | 7343cb95cc8ab345b735fdb07cfac8176cc41f76 | [
"Apache-2.0"
] | 4 | 2017-02-04T04:51:23.000Z | 2017-09-07T08:30:36.000Z | chatbot/train.py | HyungKen/Fake_love | 21397e346c933cbbace59a9bd26c06789ff5c172 | [
"MIT"
] | 11 | 2017-02-03T06:23:27.000Z | 2017-02-04T02:57:35.000Z | chatbot/train.py | HyungKen/Fake_love | 21397e346c933cbbace59a9bd26c06789ff5c172 | [
"MIT"
] | 7 | 2017-02-03T04:16:48.000Z | 2020-03-20T15:23:34.000Z | # -*- coding: utf-8 -*-
import tensorflow as tf
import random
import math
import os
from config import FLAGS
from model import Seq2Seq
from dialog import Dialog
def train(dialog, batch_size=100, epoch=100):
model = Seq2Seq(dialog.vocab_size)
with tf.Session() as sess:
# TODO: 세션을 로드하고 로그를 위한 summar... | 31.617978 | 84 | 0.638237 | 371 | 2,814 | 4.657682 | 0.339623 | 0.046875 | 0.054977 | 0.066551 | 0.347801 | 0.334491 | 0.233796 | 0.233796 | 0.233796 | 0.185185 | 0 | 0.012652 | 0.241649 | 2,814 | 88 | 85 | 31.977273 | 0.797095 | 0.02914 | 0 | 0.169492 | 0 | 0 | 0.060462 | 0 | 0 | 0 | 0 | 0.011364 | 0 | 0 | null | null | 0 | 0.118644 | null | null | 0.186441 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
db63fcffdf47984065f99dc88667ff4cd4c8ed3b | 489 | py | Python | logger.py | oxsoftdev/bitstampws-logger | 5597010cad53cd55e949235fbc191f8b1aad344d | [
"MIT"
] | null | null | null | logger.py | oxsoftdev/bitstampws-logger | 5597010cad53cd55e949235fbc191f8b1aad344d | [
"MIT"
] | null | null | null | logger.py | oxsoftdev/bitstampws-logger | 5597010cad53cd55e949235fbc191f8b1aad344d | [
"MIT"
] | null | null | null | import logging.config
import tornado
from bitstampws import Client as Websocket
import lib.configs.logging
from lib.subscribers import SimpleLoggerSubscriber
logging.config.dictConfig(lib.configs.logging.d)
if __name__ == '__main__':
with Websocket() as client:
with SimpleLoggerSubscriber(client):
... | 23.285714 | 56 | 0.678937 | 49 | 489 | 6.612245 | 0.55102 | 0.080247 | 0.104938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243354 | 489 | 20 | 57 | 24.45 | 0.875676 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.357143 | 0 | 0.357143 | 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 | 0 | 0 | 0 | 2 |
db64a112c82f9adeb1221b9eb9fef389c1ea9873 | 276 | py | Python | src/pyrin/packaging/__init__.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/packaging/__init__.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/packaging/__init__.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
packaging package.
"""
from pyrin.packaging.base import Package
class PackagingPackage(Package):
"""
packaging package class.
"""
NAME = __name__
COMPONENT_NAME = 'packaging.component'
CONFIG_STORE_NAMES = ['packaging']
| 16.235294 | 42 | 0.655797 | 27 | 276 | 6.444444 | 0.592593 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.206522 | 276 | 16 | 43 | 17.25 | 0.789954 | 0.23913 | 0 | 0 | 0 | 0 | 0.149733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
db73bf308ebc49eac8469a2ce4652a4342c9902b | 295 | py | Python | substitute_finder/templatetags/substitute_finder_extra.py | tohugaby/pur_beurre_web | c3bdacee50907eea79821e7a8b3fe0f349719d88 | [
"MIT"
] | 1 | 2020-01-05T18:58:51.000Z | 2020-01-05T18:58:51.000Z | substitute_finder/templatetags/substitute_finder_extra.py | tohugaby/pur_beurre_web | c3bdacee50907eea79821e7a8b3fe0f349719d88 | [
"MIT"
] | 3 | 2020-06-05T18:35:47.000Z | 2021-06-10T20:32:44.000Z | substitute_finder/templatetags/substitute_finder_extra.py | tomlemeuch/pur_beurre_web | c3bdacee50907eea79821e7a8b3fe0f349719d88 | [
"MIT"
] | null | null | null | """
substitute_finder app custom templatetags module
"""
from django import template
register = template.Library()
@register.filter
def range_tag(value, min_value=0):
"""
tag that return a range
"""
if value:
return range(min_value, value)
return range(min_value)
| 17.352941 | 48 | 0.688136 | 38 | 295 | 5.210526 | 0.605263 | 0.121212 | 0.161616 | 0.191919 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00431 | 0.213559 | 295 | 16 | 49 | 18.4375 | 0.849138 | 0.244068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
db9205da95b6b253dd5132561aaf107f9a429836 | 1,135 | py | Python | Data Structure using Python/Linked_List/2linked_list1.py | shubhamsah/OpenEDU | a4c68d05f67e7ce6d2305f4ca1567b8f4e95b835 | [
"MIT"
] | 1 | 2020-05-29T05:19:37.000Z | 2020-05-29T05:19:37.000Z | Data Structure using Python/Linked_List/2linked_list1.py | Mithilesh1609/OpenEDU | 85fa1f29285ab1e079e93f6ede3b0d5196ed9cd9 | [
"MIT"
] | null | null | null | Data Structure using Python/Linked_List/2linked_list1.py | Mithilesh1609/OpenEDU | 85fa1f29285ab1e079e93f6ede3b0d5196ed9cd9 | [
"MIT"
] | 1 | 2020-05-09T07:09:11.000Z | 2020-05-09T07:09:11.000Z | # Lets create a linked list that has the following elements
'''
1. FE
2. SE
3. TE
4. BE
'''
# Creating a Node class to create individual Nodes
class Node:
def __init__(self,data):
self.__data = data
self.__next = None
def get_data(self):
return self.__data
... | 19.237288 | 61 | 0.572687 | 149 | 1,135 | 3.986577 | 0.295302 | 0.080808 | 0.094276 | 0.053872 | 0.06734 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005298 | 0.334802 | 1,135 | 58 | 62 | 19.568966 | 0.781457 | 0.146256 | 0 | 0.0625 | 0 | 0 | 0.008889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28125 | false | 0 | 0 | 0.125 | 0.46875 | 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 | 0 | 0 | 0 | 2 |
db97ce46b14abaf409f42c8462a567f6cfb0edfc | 31,396 | py | Python | tests/test_flash_vl.py | andr1976/thermo | 42d10b3702373aacc88167d4046ea9af92abd570 | [
"MIT"
] | 380 | 2016-07-04T09:45:20.000Z | 2022-03-20T18:09:45.000Z | tests/test_flash_vl.py | andr1976/thermo | 42d10b3702373aacc88167d4046ea9af92abd570 | [
"MIT"
] | 104 | 2016-07-10T20:47:12.000Z | 2022-03-22T20:43:39.000Z | tests/test_flash_vl.py | andr1976/thermo | 42d10b3702373aacc88167d4046ea9af92abd570 | [
"MIT"
] | 96 | 2016-07-05T20:54:05.000Z | 2022-02-23T03:06:02.000Z | # -*- coding: utf-8 -*-
'''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2020, Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal... | 79.483544 | 862 | 0.701968 | 4,133 | 31,396 | 5.278732 | 0.242439 | 0.01508 | 0.027226 | 0.004584 | 0.555163 | 0.536554 | 0.525462 | 0.512032 | 0.494568 | 0.479305 | 0 | 0.40375 | 0.157472 | 31,396 | 394 | 863 | 79.685279 | 0.421027 | 0.084501 | 0 | 0.405904 | 0 | 0 | 0.025185 | 0.001742 | 0 | 0 | 0 | 0 | 0.177122 | 1 | 0.0369 | false | 0 | 0.04059 | 0 | 0.077491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
dba13534887cbe280b6557621729a3e4996855c7 | 1,250 | py | Python | toontown/uberdog/DistributedInGameNewsMgr.py | LittleNed/toontown-stride | 1252a8f9a8816c1810106006d09c8bdfe6ad1e57 | [
"Apache-2.0"
] | 3 | 2020-01-02T08:43:36.000Z | 2020-07-05T08:59:02.000Z | toontown/uberdog/DistributedInGameNewsMgr.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | null | null | null | toontown/uberdog/DistributedInGameNewsMgr.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 4 | 2019-06-20T23:45:23.000Z | 2020-10-14T20:30:15.000Z | import socket, datetime, os
from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal
from direct.distributed.DistributedObject import DistributedObject
from toontown.toonbase import ToontownGlobals
from toontown.uberdog import InGameNewsResponses
class DistributedInGameNewsMgr(DistributedObject):... | 32.051282 | 92 | 0.728 | 117 | 1,250 | 7.709402 | 0.435897 | 0.019956 | 0.046563 | 0.042129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00099 | 0.192 | 1,250 | 38 | 93 | 32.894737 | 0.892079 | 0 | 0 | 0 | 0 | 0 | 0.072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0.033333 | 0.166667 | 0.033333 | 0.566667 | 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 | 0 | 1 | 0 | 0 | 2 |
dbaa809e32092c26124943dd02d9f08d50cbc16b | 3,152 | py | Python | Intent model/Intent_model.py | yashrajt/college_FAQ-chatbot | b3a2a1b4958068b652d019c13f31f6329b093c0a | [
"MIT"
] | 4 | 2020-10-02T20:27:03.000Z | 2021-09-28T16:11:04.000Z | Intent model/Intent_model.py | yashrajt/college_FAQ-chatbot | b3a2a1b4958068b652d019c13f31f6329b093c0a | [
"MIT"
] | 1 | 2020-11-25T10:23:14.000Z | 2020-11-25T10:23:14.000Z | Intent model/Intent_model.py | yashrajt/college_FAQ-chatbot | b3a2a1b4958068b652d019c13f31f6329b093c0a | [
"MIT"
] | 2 | 2020-10-12T18:16:16.000Z | 2021-09-28T16:11:15.000Z | import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer
from sklearn.metrics import accuracy_score, confusion_matrix
from sklearn.feature_extraction.text import TfidfTransformer
from sklearn.pipeline import Pipeline
from skle... | 41.473684 | 1,001 | 0.599302 | 412 | 3,152 | 4.463592 | 0.592233 | 0.041871 | 0.015226 | 0.030451 | 0.060903 | 0.060903 | 0 | 0 | 0 | 0 | 0 | 0.008337 | 0.200825 | 3,152 | 75 | 1,002 | 42.026667 | 0.721715 | 0.535533 | 0 | 0 | 0 | 0 | 0.078078 | 0.037538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.387097 | 0 | 0.483871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
dbb9c02aefc14ce19f8f0ea13f80afd504f6a7db | 191 | py | Python | bba/objects.py | TheGenocides/BBA | 1617756ed9224027d7225ea68364f6568c56ed23 | [
"MIT"
] | 3 | 2021-11-07T16:44:13.000Z | 2021-12-13T13:48:07.000Z | bba/objects.py | TheGenocides/BBA | 1617756ed9224027d7225ea68364f6568c56ed23 | [
"MIT"
] | null | null | null | bba/objects.py | TheGenocides/BBA | 1617756ed9224027d7225ea68364f6568c56ed23 | [
"MIT"
] | null | null | null | from typing import Dict, Any
class ResponseObject:
def __init__(self, data: Dict[str, Any]):
self.payload = data
for k, v in data.items():
setattr(self, k, v) | 27.285714 | 45 | 0.602094 | 27 | 191 | 4.111111 | 0.703704 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287958 | 191 | 7 | 46 | 27.285714 | 0.816176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
dbc01ab01c84c8a6897199dca9635aa645e6cdeb | 262 | py | Python | apps/chats/apps.py | aldwyn/effigia | eb456656949bf68934530bbec9c15ebc6d0236b8 | [
"MIT"
] | 1 | 2018-11-15T05:17:30.000Z | 2018-11-15T05:17:30.000Z | apps/chats/apps.py | aldwyn/effigia | eb456656949bf68934530bbec9c15ebc6d0236b8 | [
"MIT"
] | 5 | 2021-06-09T17:20:01.000Z | 2022-03-11T23:18:06.000Z | apps/chats/apps.py | aldwyn/effigia | eb456656949bf68934530bbec9c15ebc6d0236b8 | [
"MIT"
] | 1 | 2018-10-05T19:03:27.000Z | 2018-10-05T19:03:27.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
class ChatsConfig(AppConfig):
name = 'apps.chats'
def ready(self):
from actstream import registry
registry.register(*self.get_models())
| 20.153846 | 45 | 0.694656 | 31 | 262 | 5.677419 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 0.20229 | 262 | 12 | 46 | 21.833333 | 0.837321 | 0.080153 | 0 | 0 | 0 | 0 | 0.041841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
dbc8735d5b72a93d69f4f92640c632b9a9b76112 | 3,341 | py | Python | zoloto/coords.py | RealOrangeOne/yuri | 6ed55bdf97c6add22cd6c71c39ca30e2229337cb | [
"BSD-3-Clause"
] | 7 | 2019-08-09T10:05:14.000Z | 2021-11-14T17:37:50.000Z | zoloto/coords.py | RealOrangeOne/yuri | 6ed55bdf97c6add22cd6c71c39ca30e2229337cb | [
"BSD-3-Clause"
] | 226 | 2019-06-20T09:48:23.000Z | 2022-02-20T00:43:52.000Z | zoloto/coords.py | RealOrangeOne/yuri | 6ed55bdf97c6add22cd6c71c39ca30e2229337cb | [
"BSD-3-Clause"
] | 9 | 2019-07-19T10:55:47.000Z | 2020-07-23T19:16:47.000Z | from typing import Iterator, NamedTuple, Tuple
from cached_property import cached_property
from cv2 import Rodrigues
from pyquaternion import Quaternion
class Coordinates(NamedTuple):
"""
:param float x: X coordinate
:param float y: Y coordinate
"""
x: float
y: float
class ThreeDCoordinate... | 25.7 | 83 | 0.609398 | 442 | 3,341 | 4.454751 | 0.205882 | 0.010157 | 0.052819 | 0.060945 | 0.307263 | 0.266633 | 0.266633 | 0.266633 | 0.249873 | 0.225495 | 0 | 0.010412 | 0.281353 | 3,341 | 129 | 84 | 25.899225 | 0.809663 | 0.33044 | 0 | 0.220339 | 0 | 0 | 0.019588 | 0.019588 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20339 | false | 0 | 0.067797 | 0.016949 | 0.661017 | 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 | 0 | 1 | 0 | 0 | 2 |
9155a081d524a7aa2a093b5db6afb167995bd2d7 | 3,381 | py | Python | 5.analysis/scikit-multilearn-master/skmultilearn/adapt/brknn.py | fullmooncj/textmining_edu | b1402fd96fbde945f48c52d71ba4dfe51fd96602 | [
"Apache-2.0"
] | null | null | null | 5.analysis/scikit-multilearn-master/skmultilearn/adapt/brknn.py | fullmooncj/textmining_edu | b1402fd96fbde945f48c52d71ba4dfe51fd96602 | [
"Apache-2.0"
] | null | null | null | 5.analysis/scikit-multilearn-master/skmultilearn/adapt/brknn.py | fullmooncj/textmining_edu | b1402fd96fbde945f48c52d71ba4dfe51fd96602 | [
"Apache-2.0"
] | null | null | null | from builtins import range
from ..base import MLClassifierBase
from ..utils import get_matrix_in_format
from sklearn.neighbors import NearestNeighbors
import scipy.sparse as sparse
import numpy as np
class BinaryRelevanceKNN(MLClassifierBase):
"""Binary Relevance adapted kNN Multi-Label Classifier."""
def __i... | 37.566667 | 135 | 0.675244 | 452 | 3,381 | 4.949115 | 0.323009 | 0.020116 | 0.042468 | 0.025481 | 0.282521 | 0.248547 | 0.211891 | 0.211891 | 0.211891 | 0.211891 | 0 | 0.005794 | 0.23425 | 3,381 | 90 | 136 | 37.566667 | 0.858246 | 0.397811 | 0 | 0.055556 | 0 | 0 | 0.004313 | 0 | 0 | 0 | 0 | 0.011111 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.027778 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
91575f345c10efb311ca9de7963da8d6ac0667fd | 1,894 | py | Python | Bugscan_exploits-master/exp_list/exp-1788.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 11 | 2020-05-30T13:53:49.000Z | 2021-03-17T03:20:59.000Z | Bugscan_exploits-master/exp_list/exp-1788.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-13T03:25:18.000Z | 2020-07-21T06:24:16.000Z | Bugscan_exploits-master/exp_list/exp-1788.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-30T13:53:51.000Z | 2020-12-01T21:44:26.000Z | #/usr/bin/python
#-*- coding: utf-8 -*-
#Refer http://www.wooyun.org/bugs/wooyun-2015-0137140
#__Author__ = 上善若水
#_PlugName_ = whezeip Plugin
#_FileName_ = whezeip.py
def assign(service, arg):
if service == "whezeip":
return True, arg
def audit(arg):
raw = '''
POST /defaultroot/custom... | 37.137255 | 97 | 0.659451 | 246 | 1,894 | 4.98374 | 0.573171 | 0.008157 | 0.085644 | 0.092985 | 0.166395 | 0.166395 | 0.094617 | 0.094617 | 0 | 0 | 0 | 0.106173 | 0.144667 | 1,894 | 51 | 98 | 37.137255 | 0.647531 | 0.129356 | 0 | 0.058824 | 0 | 0.117647 | 0.711055 | 0.412688 | 0.029412 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.029412 | 0 | 0.117647 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
9170b4be66538fa8e6767525842e58971759fde7 | 356 | py | Python | QScreenCast/spyder/api.py | awinia-github/QScreenCast | 09d343cae0a1c7f86faf28e08a62bd09976aaf2e | [
"MIT"
] | null | null | null | QScreenCast/spyder/api.py | awinia-github/QScreenCast | 09d343cae0a1c7f86faf28e08a62bd09976aaf2e | [
"MIT"
] | null | null | null | QScreenCast/spyder/api.py | awinia-github/QScreenCast | 09d343cae0a1c7f86faf28e08a62bd09976aaf2e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# Copyright © Tom Hören
# Licensed under the terms of the MIT License
# ----------------------------------------------------------------------------
"""
Python QtScreenCaster Spyder API.
"""
class ScreenResolutions... | 25.428571 | 78 | 0.38764 | 23 | 356 | 6.043478 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053968 | 0.115169 | 356 | 13 | 79 | 27.384615 | 0.384127 | 0.775281 | 0 | 0 | 0 | 0 | 0.132353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
9185566c87d7284eaa28e018591be112687ee8a6 | 2,001 | py | Python | email_file.py | grussr/email-file-attachment | afa65b679b3c88b419643e216b9942fdefeaf9fc | [
"MIT"
] | null | null | null | email_file.py | grussr/email-file-attachment | afa65b679b3c88b419643e216b9942fdefeaf9fc | [
"MIT"
] | null | null | null | email_file.py | grussr/email-file-attachment | afa65b679b3c88b419643e216b9942fdefeaf9fc | [
"MIT"
] | null | null | null | import smtplib
import argparse
from os.path import basename
from email.mime.application import MIMEApplication
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.utils import COMMASPACE, formatdate
import configparser
import json
def send_mail(send_from, send_to, subject, te... | 32.274194 | 155 | 0.696152 | 254 | 2,001 | 5.314961 | 0.350394 | 0.077037 | 0.056296 | 0.020741 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003643 | 0.176912 | 2,001 | 61 | 156 | 32.803279 | 0.816029 | 0.011994 | 0 | 0 | 0 | 0 | 0.108861 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0 | null | null | 0.08 | 0.18 | null | null | 0.02 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
91b41dc55c2835ad843b049f4f5251bad3abf07e | 676 | py | Python | envergo/geodata/management/commands/import_shapefiles.py | MTES-MCT/envergo | 8bb6e4ffa15a39edda51b39401db6cc12e73ad0a | [
"MIT"
] | null | null | null | envergo/geodata/management/commands/import_shapefiles.py | MTES-MCT/envergo | 8bb6e4ffa15a39edda51b39401db6cc12e73ad0a | [
"MIT"
] | 6 | 2021-07-12T14:33:18.000Z | 2022-02-14T10:36:09.000Z | envergo/geodata/management/commands/import_shapefiles.py | MTES-MCT/envergo | 8bb6e4ffa15a39edda51b39401db6cc12e73ad0a | [
"MIT"
] | null | null | null | from django.contrib.gis.gdal import DataSource
from django.contrib.gis.utils import LayerMapping
from django.core.management.base import BaseCommand
from envergo.geodata.models import Zone
class Command(BaseCommand):
help = "Importe des zones à partir de shapefiles."
def add_arguments(self, parser):
... | 32.190476 | 60 | 0.695266 | 81 | 676 | 5.777778 | 0.654321 | 0.064103 | 0.07265 | 0.08547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189349 | 676 | 20 | 61 | 33.8 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0.139053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.4 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
91be6d919cdb079a9a7700432f62e3627d2ca47d | 286 | py | Python | Water.py | KRHS-GameProgramming-2015/Adlez | 8912da1ee4b3c7b105851dbcc00579ff0c3cf33e | [
"BSD-2-Clause"
] | null | null | null | Water.py | KRHS-GameProgramming-2015/Adlez | 8912da1ee4b3c7b105851dbcc00579ff0c3cf33e | [
"BSD-2-Clause"
] | 4 | 2016-04-01T15:12:31.000Z | 2016-04-18T15:05:29.000Z | Water.py | KRHS-GameProgramming-2015/Adlez | 8912da1ee4b3c7b105851dbcc00579ff0c3cf33e | [
"BSD-2-Clause"
] | null | null | null | from HardBlock import *
class Water(HardBlock):
def __init__(self, pos=[0,0], blockSize = 25):
image = "Block/Block Images/water.png"
HardBlock.__init__(self, image, pos, blockSize)
def update(*args):
pass
| 17.875 | 55 | 0.534965 | 30 | 286 | 4.833333 | 0.633333 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021858 | 0.36014 | 286 | 15 | 56 | 19.066667 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0.098246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
91c7653e4b544fa3638814ac8e321e91f01ca6d4 | 288 | py | Python | HW6/Andrii_Haponov/cw_4.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW6/Andrii_Haponov/cw_4.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW6/Andrii_Haponov/cw_4.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | 6 | 2022-02-22T22:30:49.000Z | 2022-03-28T12:51:19.000Z | # Convert a Number to a String!
# We need a function that can transform a number into a string.
# What ways of achieving this do you know?
def number_to_string(num: int) -> str:
str_num = str(num)
return str_num
print(number_to_string(123))
print(type(number_to_string(123))) | 24 | 63 | 0.729167 | 51 | 288 | 3.960784 | 0.54902 | 0.158416 | 0.207921 | 0.168317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025532 | 0.184028 | 288 | 12 | 64 | 24 | 0.834043 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
91c7ef0594439547e88e45169d2cad470d31a591 | 130 | py | Python | utils/test.py | david-waugh/network-automation | c85ab092cd9b76753c4d35f113126cfb663c1933 | [
"MIT"
] | null | null | null | utils/test.py | david-waugh/network-automation | c85ab092cd9b76753c4d35f113126cfb663c1933 | [
"MIT"
] | null | null | null | utils/test.py | david-waugh/network-automation | c85ab092cd9b76753c4d35f113126cfb663c1933 | [
"MIT"
] | null | null | null | import pathlib
print(pathlib.Path(__file__).parent.resolve())
while True:
next_cmd = input("> ")
print(eval(next_cmd))
| 14.444444 | 46 | 0.684615 | 17 | 130 | 4.882353 | 0.764706 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161538 | 130 | 8 | 47 | 16.25 | 0.761468 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.4 | 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 | 0 | 0 | 2 |
91ce29247f546090ea7272eb8cba1493be43a9a9 | 449 | py | Python | test/utils/test_value.py | HansBug/pji | 449d171cea0c03f4c302da886988f36f70e34ee6 | [
"Apache-2.0"
] | null | null | null | test/utils/test_value.py | HansBug/pji | 449d171cea0c03f4c302da886988f36f70e34ee6 | [
"Apache-2.0"
] | null | null | null | test/utils/test_value.py | HansBug/pji | 449d171cea0c03f4c302da886988f36f70e34ee6 | [
"Apache-2.0"
] | null | null | null | import pytest
from pji.utils import ValueProxy
@pytest.mark.unittest
class TestUtilsValue:
def test_value_proxy_init(self):
value = ValueProxy()
assert value.value is None
value = ValueProxy(233)
assert value.value == 233
def test_value_proxy_set(self):
value = Value... | 20.409091 | 36 | 0.63029 | 54 | 449 | 5.12963 | 0.407407 | 0.216607 | 0.231047 | 0.122744 | 0.158845 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050157 | 0.289532 | 449 | 21 | 37 | 21.380952 | 0.818182 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.133333 | false | 0 | 0.133333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
91d124efa1b2bf7e4e72928accf387408c43adc6 | 113 | py | Python | src/tests/testModules/loadCfg_typeCasting/allowsCastFailKeeping/primativeTypes.py | Trimatix/carica | 074be16bdf50541eb3ba92ca42d0ad901cc51bd0 | [
"Apache-2.0"
] | 5 | 2021-09-08T07:29:23.000Z | 2021-11-24T00:18:22.000Z | src/tests/testModules/loadCfg_typeCasting/allowsCastFailKeeping/primativeTypes.py | Trimatix/Carica | 074be16bdf50541eb3ba92ca42d0ad901cc51bd0 | [
"Apache-2.0"
] | 42 | 2021-09-08T07:31:25.000Z | 2022-01-16T17:39:34.000Z | src/tests/testModules/loadCfg_typeCasting/allowsCastFailKeeping/primativeTypes.py | Trimatix/carica | 074be16bdf50541eb3ba92ca42d0ad901cc51bd0 | [
"Apache-2.0"
] | null | null | null | floatVar = 1.0
listVar = [3, "hello"]
dictVar = {
"myField": "value"
}
aotVar = [dictVar, dictVar]
intVar = 1 | 16.142857 | 27 | 0.610619 | 14 | 113 | 4.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.20354 | 113 | 7 | 28 | 16.142857 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.149123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
91d5346576f73b2550ed5c3a87e027cb58449870 | 4,686 | py | Python | beam_telescope_analysis/testing/test_kalman.py | YannickDieter/beam_telescope_analysis | 0c678ad991a9ef42178b2eeaf58059d387362f2a | [
"MIT"
] | 3 | 2019-03-14T09:28:43.000Z | 2020-02-24T13:04:12.000Z | beam_telescope_analysis/testing/test_kalman.py | YannickDieter/beam_telescope_analysis | 0c678ad991a9ef42178b2eeaf58059d387362f2a | [
"MIT"
] | 14 | 2019-05-09T10:01:06.000Z | 2021-05-20T12:52:46.000Z | beam_telescope_analysis/testing/test_kalman.py | YannickDieter/beam_telescope_analysis | 0c678ad991a9ef42178b2eeaf58059d387362f2a | [
"MIT"
] | 1 | 2019-09-07T12:06:35.000Z | 2019-09-07T12:06:35.000Z | ''' Script to check the correctness of the analysis. The analysis is done on raw data and all results are compared to a recorded analysis.
'''
import os
import unittest
import numpy as np
from beam_telescope_analysis import track_analysis
from beam_telescope_analysis.tools import test_tools
class TestTrackAnalysis... | 62.48 | 153 | 0.588135 | 593 | 4,686 | 4.546374 | 0.41484 | 0.072329 | 0.020401 | 0.024481 | 0.237389 | 0.206231 | 0.206231 | 0.158754 | 0.158754 | 0.158754 | 0 | 0.306559 | 0.261417 | 4,686 | 74 | 154 | 63.324324 | 0.472407 | 0.119718 | 0 | 0.035714 | 0 | 0.017857 | 0.057178 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 1 | 0.053571 | false | 0.017857 | 0.125 | 0 | 0.196429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
91dfcb96d3cfa72fba7a82aeea1a69a09b3627d9 | 126 | py | Python | test.py | league3236/shholiday | 54d0fcfd393d09183cd77cab697f5bc60864b314 | [
"MIT"
] | null | null | null | test.py | league3236/shholiday | 54d0fcfd393d09183cd77cab697f5bc60864b314 | [
"MIT"
] | null | null | null | test.py | league3236/shholiday | 54d0fcfd393d09183cd77cab697f5bc60864b314 | [
"MIT"
] | null | null | null | from shholiday import holiday2020 as hd
daytuple = (1,1)
nowholiday = hd.holiday2020()
print(nowholiday.is_holiday(daytuple)) | 25.2 | 39 | 0.793651 | 17 | 126 | 5.823529 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 0.103175 | 126 | 5 | 40 | 25.2 | 0.787611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
91e12d660ef7f4298457f9dc8c2b1a07e4f99285 | 404 | py | Python | blog/migrations/0005_title_null.py | encukou/Zpetnovazebnik | 0d058fd67049a3d42814b04486bde93bc406fa3b | [
"MIT"
] | 1 | 2019-12-04T10:10:53.000Z | 2019-12-04T10:10:53.000Z | blog/migrations/0005_title_null.py | encukou/Zpetnovazebnik | 0d058fd67049a3d42814b04486bde93bc406fa3b | [
"MIT"
] | 14 | 2019-04-07T07:46:07.000Z | 2022-03-11T23:44:31.000Z | blog/migrations/0005_title_null.py | encukou/Zpetnovazebnik | 0d058fd67049a3d42814b04486bde93bc406fa3b | [
"MIT"
] | 1 | 2019-02-16T09:25:51.000Z | 2019-02-16T09:25:51.000Z | # Generated by Django 2.1.7 on 2019-02-27 14:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0004_longer_password'),
]
operations = [
migrations.AlterField(
model_name='session',
name='title',
... | 21.263158 | 74 | 0.601485 | 45 | 404 | 5.311111 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075601 | 0.279703 | 404 | 18 | 75 | 22.444444 | 0.745704 | 0.111386 | 0 | 0 | 1 | 0 | 0.10084 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.083333 | 0 | 0.333333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
37dd454cd95fe5c19347e66dba4d2c8da8d4857f | 14,423 | py | Python | api/resources_portal/test/views/test_search_endpoint.py | AlexsLemonade/resources-portal | d91c6c8d6135461faccbc78ef2b0be3f9b358f21 | [
"BSD-3-Clause"
] | null | null | null | api/resources_portal/test/views/test_search_endpoint.py | AlexsLemonade/resources-portal | d91c6c8d6135461faccbc78ef2b0be3f9b358f21 | [
"BSD-3-Clause"
] | 536 | 2019-11-13T15:49:03.000Z | 2022-03-28T20:17:24.000Z | api/resources_portal/test/views/test_search_endpoint.py | AlexsLemonade/resources-portal | d91c6c8d6135461faccbc78ef2b0be3f9b358f21 | [
"BSD-3-Clause"
] | 1 | 2020-04-03T02:07:29.000Z | 2020-04-03T02:07:29.000Z | import datetime
from django.core.management import call_command
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from resources_portal.management.commands.populate_dev_database import populate_dev_database
from resources_portal.models import Material, Organ... | 35.264059 | 99 | 0.662969 | 1,606 | 14,423 | 5.71731 | 0.108344 | 0.05391 | 0.034306 | 0.038336 | 0.745045 | 0.708016 | 0.682095 | 0.67164 | 0.643651 | 0.63374 | 0 | 0.005949 | 0.230743 | 14,423 | 408 | 100 | 35.35049 | 0.821631 | 0.0468 | 0 | 0.570342 | 0 | 0 | 0.099481 | 0.028997 | 0 | 0 | 0 | 0 | 0.148289 | 1 | 0.079848 | false | 0 | 0.026616 | 0 | 0.117871 | 0.007605 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
37eba4f34e7db6830d71aa2b98daa23f3f5f4d63 | 1,565 | py | Python | 491/491.py | kaixiang1992/python-flask | 2b4c597d83f5a6ed662d42d7ff692e563a9adbf8 | [
"MIT"
] | null | null | null | 491/491.py | kaixiang1992/python-flask | 2b4c597d83f5a6ed662d42d7ff692e563a9adbf8 | [
"MIT"
] | null | null | null | 491/491.py | kaixiang1992/python-flask | 2b4c597d83f5a6ed662d42d7ff692e563a9adbf8 | [
"MIT"
] | null | null | null | from sqlalchemy import create_engine, Column, Integer, String, ForeignKey
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker, relationship
# TODO: db_uri
# dialect+driver://username:password@host:port/database?charset=utf8
DB_URI = 'mysql+pymysql://root:root123@127.0.0.1:33... | 26.525424 | 84 | 0.729073 | 202 | 1,565 | 5.529703 | 0.425743 | 0.058192 | 0.026858 | 0.039391 | 0.130707 | 0.082363 | 0.082363 | 0.082363 | 0 | 0 | 0 | 0.018248 | 0.124601 | 1,565 | 58 | 85 | 26.982759 | 0.79708 | 0.322045 | 0 | 0.086957 | 0 | 0.043478 | 0.126083 | 0.07026 | 0 | 0 | 0 | 0.017241 | 0 | 1 | 0.043478 | false | 0 | 0.130435 | 0.043478 | 0.652174 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
53009d254c6a8eb6bd006c01a55209b99684addf | 174 | py | Python | app.py | Eubule/Store-Manager-With-Datastructure | c21a7307cc59b53516fb40437b1a359ca48a4f2e | [
"MIT"
] | null | null | null | app.py | Eubule/Store-Manager-With-Datastructure | c21a7307cc59b53516fb40437b1a359ca48a4f2e | [
"MIT"
] | 4 | 2018-10-25T07:33:03.000Z | 2019-10-18T17:20:55.000Z | app.py | Eubule/Store-Manager-With-Datastructure | c21a7307cc59b53516fb40437b1a359ca48a4f2e | [
"MIT"
] | null | null | null | from app import app
from app.database.db import Database
if __name__ == "__main__":
db = Database()
db.create_tables()
db.create_admin()
app.run(debug=True) | 19.333333 | 36 | 0.683908 | 25 | 174 | 4.36 | 0.56 | 0.12844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201149 | 174 | 9 | 37 | 19.333333 | 0.784173 | 0 | 0 | 0 | 0 | 0 | 0.045714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5300ca645e4b887401ddf050ab62d54008d81798 | 680 | py | Python | src/main.py | ryuichi1208/scraping-py | 43036dff75cc47d3169e012096f0de70dea0296b | [
"MIT"
] | 2 | 2018-12-19T22:40:19.000Z | 2019-06-19T06:38:18.000Z | src/main.py | ryuichi1208/scraping_py | 43036dff75cc47d3169e012096f0de70dea0296b | [
"MIT"
] | null | null | null | src/main.py | ryuichi1208/scraping_py | 43036dff75cc47d3169e012096f0de70dea0296b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# flake8: noqa
from flask import Flask
from flask_themes2 import Themes
import config
from util.auth import is_admin
from util.converter import RegexConverter
from util.csrf import generate_csrf_token
app = Flask(__name__.split('.')[0])
app.secret_key = config.SECRET_KEY
app.url_map.converter... | 24.285714 | 57 | 0.757353 | 100 | 680 | 4.95 | 0.48 | 0.048485 | 0.066667 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006814 | 0.136765 | 680 | 27 | 58 | 25.185185 | 0.836457 | 0.113235 | 0 | 0 | 0 | 0 | 0.063439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.388889 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
5305fe341e34b46ded5f2b3c486985048c12d0b5 | 415 | py | Python | src/bsmu/bone_age/models/dense_net/configs.py | IvanKosik/bone-age-models | 07f20a94951a3b584ee7b6d9a11805c37878214a | [
"BSD-3-Clause"
] | null | null | null | src/bsmu/bone_age/models/dense_net/configs.py | IvanKosik/bone-age-models | 07f20a94951a3b584ee7b6d9a11805c37878214a | [
"BSD-3-Clause"
] | null | null | null | src/bsmu/bone_age/models/dense_net/configs.py | IvanKosik/bone-age-models | 07f20a94951a3b584ee7b6d9a11805c37878214a | [
"BSD-3-Clause"
] | null | null | null | from pathlib import Path
from bsmu.bone_age.models import constants
IMAGE_DIR = Path('C:/MyDiskBackup/Projects/BoneAge/Data/SmallImages500_NoPads')
TRAIN_DATA_CSV_PATH = constants.TRAIN_DATA_CSV_PATH
VALID_DATA_CSV_PATH = constants.VALID_DATA_CSV_PATH
TEST_DATA_CSV_PATH = constants.TEST_DATA_CSV_PATH
BATC... | 29.642857 | 80 | 0.826506 | 60 | 415 | 5.266667 | 0.533333 | 0.132911 | 0.208861 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02168 | 0.110843 | 415 | 13 | 81 | 31.923077 | 0.834688 | 0 | 0 | 0 | 0 | 0 | 0.231343 | 0.20398 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 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 | 0 | 0 | 0 | 2 |
530fcd223daa28d413c36696ab6a481ec8c169e5 | 5,205 | py | Python | reamber/base/MapSet.py | Eve-ning/reamber_base_py | 6d19c84f2c110b60e633b82b73e0516396466f56 | [
"MIT"
] | 10 | 2020-06-28T11:16:36.000Z | 2021-08-09T21:41:43.000Z | reamber/base/MapSet.py | Eve-ning/reamberPy | 6d19c84f2c110b60e633b82b73e0516396466f56 | [
"MIT"
] | 35 | 2020-06-18T13:05:50.000Z | 2022-02-18T10:13:35.000Z | reamber/base/MapSet.py | Eve-ning/reamber_base_py | 6d19c84f2c110b60e633b82b73e0516396466f56 | [
"MIT"
] | 2 | 2021-05-26T17:05:06.000Z | 2021-06-12T18:42:13.000Z | from __future__ import annotations
from copy import deepcopy
from dataclasses import dataclass, field
from typing import List, Iterator, TypeVar, Union, Any, Generic
import pandas as pd
from pandas.core.indexing import _LocIndexer
from reamber.base.Map import Map
from reamber.base.Property import stack_props
NoteLi... | 34.019608 | 102 | 0.615562 | 718 | 5,205 | 4.399721 | 0.332869 | 0.015195 | 0.009497 | 0.012662 | 0.081671 | 0.054448 | 0.041785 | 0 | 0 | 0 | 0 | 0.003755 | 0.283766 | 5,205 | 152 | 103 | 34.243421 | 0.843616 | 0.248799 | 0 | 0.037037 | 0 | 0 | 0.048434 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 1 | 0.222222 | false | 0 | 0.148148 | 0.018519 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
53106f8214d7d4213892a247bedd084271aa2866 | 344 | py | Python | Chapter 11/wrong_type.py | nescience8/starting-out-with-python-global-4th-edition | c16f93b7cbb4c7ae7b57653a7190bf192fe6b472 | [
"MIT"
] | 35 | 2019-05-03T00:30:31.000Z | 2022-01-20T06:57:25.000Z | Chapter 11/wrong_type.py | nescience8/starting-out-with-python-global-4th-edition | c16f93b7cbb4c7ae7b57653a7190bf192fe6b472 | [
"MIT"
] | 1 | 2020-09-04T02:04:33.000Z | 2020-09-04T02:04:33.000Z | Chapter 11/wrong_type.py | nescience8/starting-out-with-python-global-4th-edition | c16f93b7cbb4c7ae7b57653a7190bf192fe6b472 | [
"MIT"
] | 22 | 2020-05-13T21:20:02.000Z | 2021-12-21T08:35:59.000Z | def main():
# Pass a string to show_mammal_info...
show_mammal_info('I am a string')
# The show_mammal_info function accepts an object
# as an argument, and calls its show_species
# and make_sound methods.
def show_mammal_info(creature):
creature.show_species()
creature.make_sound()
# Call th... | 22.933333 | 49 | 0.718023 | 52 | 344 | 4.519231 | 0.519231 | 0.170213 | 0.238298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197674 | 344 | 14 | 50 | 24.571429 | 0.851449 | 0.508721 | 0 | 0 | 0 | 0 | 0.079755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
531171031428111b90a898b1687d659af83a08e1 | 1,307 | py | Python | fase2-exercicios/cap2/lista-de-exercicios/RM94336_EX04.py | Leodf/FIAP | e2acf897017c4f49357112f67702070b7dcbfe9d | [
"MIT"
] | null | null | null | fase2-exercicios/cap2/lista-de-exercicios/RM94336_EX04.py | Leodf/FIAP | e2acf897017c4f49357112f67702070b7dcbfe9d | [
"MIT"
] | null | null | null | fase2-exercicios/cap2/lista-de-exercicios/RM94336_EX04.py | Leodf/FIAP | e2acf897017c4f49357112f67702070b7dcbfe9d | [
"MIT"
] | null | null | null | """
4 – Um grande cliente seu sofreu um ataque hacker: o servidor foi sequestrado por um software malicioso, que criptografou todos os discos e pede a digitação de uma senha para a liberação da máquina. E é claro que os criminosos exigem um pagamento para informar a senha.
Ao analisar o código do programa deles, porém... | 81.6875 | 507 | 0.778118 | 212 | 1,307 | 4.801887 | 0.533019 | 0.035363 | 0.026523 | 0.019646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009166 | 0.165264 | 1,307 | 16 | 508 | 81.6875 | 0.923006 | 0.595256 | 0 | 0 | 0 | 0.125 | 0.735632 | 0.042146 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
53118be4670acbc222a105780122139b5d7bef92 | 1,555 | py | Python | dosagelib/helpers.py | yasen-m/dosage | 81fe088621ad335cac2a53fcbc7b9b37f49ddce2 | [
"MIT"
] | null | null | null | dosagelib/helpers.py | yasen-m/dosage | 81fe088621ad335cac2a53fcbc7b9b37f49ddce2 | [
"MIT"
] | null | null | null | dosagelib/helpers.py | yasen-m/dosage | 81fe088621ad335cac2a53fcbc7b9b37f49ddce2 | [
"MIT"
] | null | null | null | # -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012-2014 Bastian Kleineidam
from .util import fetchUrl, getPageContent, getQueryParams
def queryNamer(paramName, usePageUrl=False):
"""Get name from URL query part."""
@classmethod
def _namer(cls, ... | 32.395833 | 63 | 0.659164 | 178 | 1,555 | 5.713483 | 0.393258 | 0.064897 | 0.055064 | 0.043265 | 0.340216 | 0.235988 | 0.169125 | 0.090462 | 0 | 0 | 0 | 0.021794 | 0.232797 | 1,555 | 47 | 64 | 33.085106 | 0.830679 | 0.245659 | 0 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0 | 0.034483 | 0 | 0.586207 | 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 | 0 | 1 | 0 | 0 | 2 |
5312250f481274756afa3e391b2f3f60164d3ff0 | 12,695 | py | Python | admit/at/GenerateSpectrum_AT.py | astroumd/admit | bbf3d79bb6e1a6f7523553ed8ede0d358d106f2c | [
"MIT"
] | 4 | 2017-03-01T17:26:28.000Z | 2022-03-03T19:23:06.000Z | admit/at/GenerateSpectrum_AT.py | teuben/admit | 1cae54d1937c9af3f719102838df716e7e6d655c | [
"MIT"
] | 48 | 2016-10-04T01:25:33.000Z | 2021-09-08T14:51:10.000Z | admit/at/GenerateSpectrum_AT.py | teuben/admit | 1cae54d1937c9af3f719102838df716e7e6d655c | [
"MIT"
] | 2 | 2016-11-10T14:10:22.000Z | 2017-03-30T18:58:05.000Z | """ .. _GenerateSpectrum-at-api:
**GenerateSpectrum_AT** --- Generates synthetic test spectra.
-------------------------------------------------------------
This module defines the GenerateSpectrum_AT class.
"""
from admit.AT import AT
import admit.util.bdp_types as bt
from admit.bdp.CubeSpectrum_BDP import ... | 37.338235 | 132 | 0.530996 | 1,565 | 12,695 | 4.273482 | 0.261342 | 0.017943 | 0.007177 | 0.013158 | 0.05323 | 0.036334 | 0.02512 | 0.017943 | 0.017943 | 0.017943 | 0 | 0.029743 | 0.343206 | 12,695 | 339 | 133 | 37.448378 | 0.772367 | 0.052462 | 0 | 0.089744 | 1 | 0 | 0.090387 | 0 | 0 | 0 | 0 | 0.00295 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.012821 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
532e406ed64b6d506b797cd81b981fdce20419b3 | 353 | py | Python | src/util/__init__.py | ooshyun/filterdesign | 59dbea191b8cd44aa9f2d02d3787b5805d486ae2 | [
"MIT"
] | 1 | 2021-12-27T00:38:32.000Z | 2021-12-27T00:38:32.000Z | src/util/__init__.py | ooshyun/FilterDesign | 7162ccad8e1ae8aebca370da56be56603b9e8b24 | [
"MIT"
] | null | null | null | src/util/__init__.py | ooshyun/FilterDesign | 7162ccad8e1ae8aebca370da56be56603b9e8b24 | [
"MIT"
] | null | null | null | """Utility function for process to raw data
"""
from .util import (
cvt_pcm2wav,
cvt_float2fixed,
cvt_char2num,
plot_frequency_response,
plot_pole_zero_analysis,
)
from .fi import fi
__all__ = [
"fi",
"cvt_pcm2wav",
"cvt_float2fixed",
"cvt_char2num",
"plot_frequency_response",
... | 16.809524 | 43 | 0.677054 | 42 | 353 | 5.214286 | 0.52381 | 0.091324 | 0.118721 | 0.219178 | 0.694064 | 0.694064 | 0.694064 | 0.694064 | 0.694064 | 0.694064 | 0 | 0.021818 | 0.220963 | 353 | 20 | 44 | 17.65 | 0.774545 | 0.113314 | 0 | 0 | 0 | 0 | 0.281046 | 0.150327 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
533dfb21c5c2375616c84f6be95236ba70b32b20 | 701 | py | Python | bible/admin.py | tushortz/biblelover | 8ef4980d7f68e4037874373fb0ecde12d2d63d76 | [
"MIT"
] | null | null | null | bible/admin.py | tushortz/biblelover | 8ef4980d7f68e4037874373fb0ecde12d2d63d76 | [
"MIT"
] | null | null | null | bible/admin.py | tushortz/biblelover | 8ef4980d7f68e4037874373fb0ecde12d2d63d76 | [
"MIT"
] | null | null | null | from django.contrib import admin
from bible.models import Bible, VerseOfTheDay
@admin.register(Bible)
class BibleAdmin(admin.ModelAdmin):
list_display = ['__str__', 'text']
readonly_fields = ['book', 'chapter', 'verse', 'text', 'category']
search_fields = ['text', 'book', 'chapter']
list_filter = ['ca... | 26.961538 | 70 | 0.694722 | 80 | 701 | 5.875 | 0.5 | 0.038298 | 0.134043 | 0.07234 | 0.165957 | 0.165957 | 0.165957 | 0 | 0 | 0 | 0 | 0 | 0.178317 | 701 | 25 | 71 | 28.04 | 0.815972 | 0 | 0 | 0.166667 | 0 | 0 | 0.108417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.111111 | 0.166667 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
533f98ae9a010e07bbde7ba6ae8dc19383efacaf | 1,731 | py | Python | soil/build/lib/soil/db/sqlalchemy/api.py | JackDan9/soil | ae612a4634634aace834491fbdefbc69e6167674 | [
"MIT"
] | 1 | 2020-08-06T11:58:35.000Z | 2020-08-06T11:58:35.000Z | soil/build/lib/soil/db/sqlalchemy/api.py | JackDan9/soil | ae612a4634634aace834491fbdefbc69e6167674 | [
"MIT"
] | 4 | 2019-12-13T11:27:28.000Z | 2022-02-27T11:58:38.000Z | soil/soil/db/sqlalchemy/api.py | JackDan9/soil | ae612a4634634aace834491fbdefbc69e6167674 | [
"MIT"
] | null | null | null | # Copyright 2020 Soil, Inc.
# Copyright (c) 2011 X.commerce, a business unit of eBay Inc.
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); yo... | 25.086957 | 78 | 0.716927 | 231 | 1,731 | 5.233766 | 0.519481 | 0.049628 | 0.044665 | 0.026468 | 0.064516 | 0.064516 | 0.064516 | 0 | 0 | 0 | 0 | 0.013235 | 0.214327 | 1,731 | 68 | 79 | 25.455882 | 0.875735 | 0.476603 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.333333 | 0 | 0.545455 | 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 | 0 | 1 | 0 | 0 | 2 |
53424970ea429b3e768870aa46951fcf76807afa | 463 | py | Python | composer/algorithms/mixup/__init__.py | jacobfulano/composer | 4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8 | [
"Apache-2.0"
] | 2 | 2022-03-17T04:48:04.000Z | 2022-03-20T09:06:19.000Z | composer/algorithms/mixup/__init__.py | jacobfulano/composer | 4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8 | [
"Apache-2.0"
] | null | null | null | composer/algorithms/mixup/__init__.py | jacobfulano/composer | 4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 MosaicML. All Rights Reserved.
from composer.algorithms.mixup.mixup import MixUp as MixUp
from composer.algorithms.mixup.mixup import MixUpHparams as MixUpHparams
from composer.algorithms.mixup.mixup import mixup_batch as mixup_batch
_name = 'MixUp'
_class_name = 'MixUp'
_functional = 'mixup_batch'
_... | 33.071429 | 72 | 0.786177 | 64 | 463 | 5.5 | 0.59375 | 0.102273 | 0.1875 | 0.230114 | 0.352273 | 0.352273 | 0.244318 | 0 | 0 | 0 | 0 | 0.041769 | 0.12095 | 463 | 13 | 73 | 35.615385 | 0.823096 | 0.097192 | 0 | 0 | 0 | 0 | 0.257212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 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 | 0 | 0 | 0 | 2 |
534bd05a5abb5701233fcbfbd1621011b3753745 | 2,106 | py | Python | pravash/servicenowplugin/xlr-servicenow-plugin-master/src/main/resources/servicenow/ServiceNowQueryTile.py | amvasudeva/rapidata | 7b6e984d24866f5cf474847cf462ac628427cf48 | [
"Apache-2.0"
] | null | null | null | pravash/servicenowplugin/xlr-servicenow-plugin-master/src/main/resources/servicenow/ServiceNowQueryTile.py | amvasudeva/rapidata | 7b6e984d24866f5cf474847cf462ac628427cf48 | [
"Apache-2.0"
] | 7 | 2020-06-30T23:14:35.000Z | 2021-08-02T17:08:05.000Z | pravash/servicenowplugin/xlr-servicenow-plugin-master/src/main/resources/servicenow/ServiceNowQueryTile.py | amvasudeva/rapidata | 7b6e984d24866f5cf474847cf462ac628427cf48 | [
"Apache-2.0"
] | null | null | null | #
# THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS
# FOR A PARTICULAR PURPOSE. THIS CODE AND INFORMATION ARE NOT SUPPORTED BY XEBIALABS.
#
import com.xhaus.jyson.JysonCodec... | 39 | 141 | 0.702279 | 255 | 2,106 | 5.698039 | 0.45098 | 0.020647 | 0.015141 | 0.030282 | 0.034412 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007005 | 0.18661 | 2,106 | 54 | 142 | 39 | 0.841214 | 0.130579 | 0 | 0.119048 | 0 | 0.02381 | 0.186199 | 0.061336 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.095238 | 0.02381 | null | null | 0.071429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
534bea3e62a4def92bc88bd345a7c584ed8fc91f | 272 | py | Python | bc/recruitment/migrations/0022_merge_20200331_1633.py | Buckinghamshire-Digital-Service/buckinghamshire-council | bbbdb52b515bcdfc79a2bd9198dfa4828405370e | [
"BSD-3-Clause"
] | 1 | 2021-02-27T07:27:17.000Z | 2021-02-27T07:27:17.000Z | bc/recruitment/migrations/0022_merge_20200331_1633.py | Buckinghamshire-Digital-Service/buckinghamshire-council | bbbdb52b515bcdfc79a2bd9198dfa4828405370e | [
"BSD-3-Clause"
] | null | null | null | bc/recruitment/migrations/0022_merge_20200331_1633.py | Buckinghamshire-Digital-Service/buckinghamshire-council | bbbdb52b515bcdfc79a2bd9198dfa4828405370e | [
"BSD-3-Clause"
] | 1 | 2021-06-09T15:56:54.000Z | 2021-06-09T15:56:54.000Z | # Generated by Django 2.2.10 on 2020-03-31 15:33
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("recruitment", "0021_merge_20200331_1503"),
("recruitment", "0013_button_block"),
]
operations = []
| 19.428571 | 52 | 0.665441 | 32 | 272 | 5.5 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 0.213235 | 272 | 13 | 53 | 20.923077 | 0.654206 | 0.169118 | 0 | 0 | 1 | 0 | 0.28125 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
534f1909a1ab524bb2f051997a7532e48c09b6dd | 1,429 | py | Python | auth0/v3/management/blacklists.py | jhunken/auth0-python | af5d863ffe75a4a7cd729c9d084cad6b37bd632e | [
"MIT"
] | null | null | null | auth0/v3/management/blacklists.py | jhunken/auth0-python | af5d863ffe75a4a7cd729c9d084cad6b37bd632e | [
"MIT"
] | null | null | null | auth0/v3/management/blacklists.py | jhunken/auth0-python | af5d863ffe75a4a7cd729c9d084cad6b37bd632e | [
"MIT"
] | null | null | null | from .rest import RestClient
class Blacklists(object):
"""Auth0 blacklists endpoints
Args:
domain (str): Your Auth0 domain, e.g: 'username.auth0.com'
token (str): Management API v2 Token
telemetry (bool, optional): Enable or disable Telemetry
(defaults to True)
"""
... | 28.58 | 83 | 0.588523 | 182 | 1,429 | 4.576923 | 0.384615 | 0.028812 | 0.038415 | 0.040816 | 0.288115 | 0.288115 | 0.288115 | 0.288115 | 0.288115 | 0.180072 | 0 | 0.008946 | 0.296011 | 1,429 | 49 | 84 | 29.163265 | 0.819085 | 0.538838 | 0 | 0 | 0 | 0 | 0.08413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
535e247a8a58c1477770025f4437600400e0562a | 2,917 | py | Python | src/botwtracker/settings.py | emoritzx/botw-tracker | 9c096e62825f2ba2f0f66167b646eaf5a1b5b50a | [
"MIT"
] | 7 | 2017-04-25T10:16:20.000Z | 2022-02-25T05:58:16.000Z | src/botwtracker/settings.py | emoritzx/botw-tracker | 9c096e62825f2ba2f0f66167b646eaf5a1b5b50a | [
"MIT"
] | 1 | 2020-01-02T20:40:35.000Z | 2020-01-02T21:10:51.000Z | src/botwtracker/settings.py | emoritzx/botw-tracker | 9c096e62825f2ba2f0f66167b646eaf5a1b5b50a | [
"MIT"
] | 3 | 2020-01-02T21:11:21.000Z | 2021-12-11T13:49:35.000Z | """Django settings for botwtracker project.
Copyright (c) 2017, Evan Moritz.
botw-tracker is an open source software project released under the MIT License.
See the accompanying LICENSE file for terms.
"""
import os
from .config_local import *
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
... | 26.044643 | 91 | 0.683579 | 304 | 2,917 | 6.447368 | 0.414474 | 0.09949 | 0.060714 | 0.028571 | 0.207143 | 0.173469 | 0.072449 | 0.041837 | 0.041837 | 0 | 0 | 0.010025 | 0.179294 | 2,917 | 111 | 92 | 26.279279 | 0.808688 | 0.217004 | 0 | 0.028169 | 0 | 0 | 0.537748 | 0.452539 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.070423 | 0.028169 | 0 | 0.028169 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
53630922cfad6e358b0a44487fb3bc1d5337ec0e | 231 | py | Python | Core/Block_C/RC480_Factory.py | BernardoB95/Extrator_SPEDFiscal | 10b4697833c561d24654251da5f22d044f03fc16 | [
"MIT"
] | 1 | 2021-04-25T13:53:20.000Z | 2021-04-25T13:53:20.000Z | Core/Block_C/RC480_Factory.py | BernardoB95/Extrator_SPEDFiscal | 10b4697833c561d24654251da5f22d044f03fc16 | [
"MIT"
] | null | null | null | Core/Block_C/RC480_Factory.py | BernardoB95/Extrator_SPEDFiscal | 10b4697833c561d24654251da5f22d044f03fc16 | [
"MIT"
] | null | null | null | from Core.IFactory import IFactory
from Regs.Block_C import RC480
class RC480Factory(IFactory):
def create_block_object(self, line):
self.rc480 = _rc480 = RC480()
_rc480.reg_list = line
return _rc480
| 21 | 40 | 0.69697 | 30 | 231 | 5.133333 | 0.6 | 0.194805 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 0.233766 | 231 | 10 | 41 | 23.1 | 0.751412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
72562c1a74abbba1475bce520bf08235d1927c9c | 116 | py | Python | config.py | amalshaji/python-playground | bd3a88a493f36230958613d60a9d70d64f971dba | [
"MIT"
] | 14 | 2021-07-03T10:45:04.000Z | 2022-03-15T18:42:29.000Z | config.py | amalshaji/python-playground | bd3a88a493f36230958613d60a9d70d64f971dba | [
"MIT"
] | null | null | null | config.py | amalshaji/python-playground | bd3a88a493f36230958613d60a9d70d64f971dba | [
"MIT"
] | 1 | 2021-08-19T12:06:51.000Z | 2021-08-19T12:06:51.000Z | from pydantic import BaseSettings
class Settings(BaseSettings):
deta_project_key: str
settings = Settings()
| 12.888889 | 33 | 0.775862 | 13 | 116 | 6.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 8 | 34 | 14.5 | 0.907216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
72626018c04a7d52d09238e8d7436046a0c6a071 | 652 | py | Python | flask_app.py | takamatsu-shyo/yolo-microservice | b8ab03b98c0939ab1849d0da938d0878b0ec441f | [
"MIT"
] | null | null | null | flask_app.py | takamatsu-shyo/yolo-microservice | b8ab03b98c0939ab1849d0da938d0878b0ec441f | [
"MIT"
] | null | null | null | flask_app.py | takamatsu-shyo/yolo-microservice | b8ab03b98c0939ab1849d0da938d0878b0ec441f | [
"MIT"
] | null | null | null | from flask import Flask
from flask import request
from flask import Response
from resources import resourcePing, resourceResolution
from message_protocol.resolution_input import parseResolutionInput
import json
app = Flask(__name__)
@app.route('/ping', methods=['GET'])
def ping():
output = resourcePing.main()
... | 29.636364 | 66 | 0.759202 | 75 | 652 | 6.493333 | 0.4 | 0.055441 | 0.092402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131902 | 652 | 21 | 67 | 31.047619 | 0.860424 | 0 | 0 | 0 | 0 | 0 | 0.084356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
726cdda30af8fd9c2b731782ba8da0a87b370957 | 598 | py | Python | diff_r_b.py | upupming/dragon | 245f71996004b386ae764eb8f76603233d8a6763 | [
"MIT"
] | 1 | 2019-10-10T03:37:19.000Z | 2019-10-10T03:37:19.000Z | diff_r_b.py | upupming/dragon | 245f71996004b386ae764eb8f76603233d8a6763 | [
"MIT"
] | null | null | null | diff_r_b.py | upupming/dragon | 245f71996004b386ae764eb8f76603233d8a6763 | [
"MIT"
] | null | null | null | import numpy as np
size = 9
percentage_max = 0.08
xis = np.linspace(0.1 * (1-percentage_max), 0.1 * (1+percentage_max), size)
E_n = [
85219342462.9973,
85219254693.4412,
85219173007.4296,
85219096895.7433,
85219025899.6604,
85218959605.1170,
85218897637.6421,
85218839657.9502,
85218785358.0968
]
percentage ... | 21.357143 | 75 | 0.704013 | 97 | 598 | 4.268041 | 0.587629 | 0.019324 | 0.067633 | 0.062802 | 0.077295 | 0 | 0 | 0 | 0 | 0 | 0 | 0.482558 | 0.137124 | 598 | 28 | 76 | 21.357143 | 0.319767 | 0.245819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
727582490ff712919e59b1f8a7dcf9ac45d6d3f9 | 1,786 | py | Python | derivadas.py | lucaspompeun/metodos-matematicos-aplicados-nas-engenharias-via-sistemas-computacionais | 008d397f76a935af1aba530cc0134b9dd326d3ac | [
"MIT"
] | 16 | 2019-09-27T03:08:44.000Z | 2020-10-16T18:43:45.000Z | primeira-edicao/derivadas.py | gm2sc-ifpa/metodos-matematicos-aplicados-nas-engenharias-via-sistemas-computacionais-master | f435c366e08dc14b0557f2172ad3b841ddb7ef2e | [
"MIT"
] | null | null | null | primeira-edicao/derivadas.py | gm2sc-ifpa/metodos-matematicos-aplicados-nas-engenharias-via-sistemas-computacionais-master | f435c366e08dc14b0557f2172ad3b841ddb7ef2e | [
"MIT"
] | 5 | 2019-09-13T20:00:38.000Z | 2020-09-19T03:04:00.000Z | # -*- coding: utf-8 -*-
"""
Created on Sat Mar 23 21:57:48 2019
INSTITUTO FEDERAL DE EDUCAÇÃO, CIÊNCIA E TECNOLOGIA DO PÁRA - IFPA ANANINDEUA
@author:
Prof. Dr. Denis C. L. Costa
Discentes:
Heictor Alves de Oliveira Costa
Lucas Pompeu Neves
Grupo... | 23.813333 | 78 | 0.570549 | 247 | 1,786 | 4.097166 | 0.433198 | 0.013834 | 0.008893 | 0.007905 | 0.173913 | 0.118577 | 0.031621 | 0 | 0 | 0 | 0 | 0.045147 | 0.255879 | 1,786 | 74 | 79 | 24.135135 | 0.716328 | 0.535834 | 0 | 0.259259 | 0 | 0 | 0.393487 | 0.105834 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.037037 | 0.111111 | 0.259259 | 0.555556 | 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 | 0 | 1 | 0 | 1 | 0 | 2 |
72853d22db5f533d50b0fe4776f60ba950c28d1f | 224 | py | Python | examples/system/miniscreen/miniscreen_display_animated_image_once_simple_way.py | pi-top/pi-top-Python-SDK | 6c83cc5f612d77f86f8d391c7f2924a28f7b1232 | [
"Apache-2.0"
] | 28 | 2020-11-24T08:02:58.000Z | 2022-02-27T18:37:33.000Z | examples/system/miniscreen/miniscreen_display_animated_image_once_simple_way.py | pi-top/pi-top-Python-SDK | 6c83cc5f612d77f86f8d391c7f2924a28f7b1232 | [
"Apache-2.0"
] | 263 | 2020-11-10T14:35:10.000Z | 2022-03-31T12:35:13.000Z | examples/system/miniscreen/miniscreen_display_animated_image_once_simple_way.py | pi-top/pi-top-Python-SDK | 6c83cc5f612d77f86f8d391c7f2924a28f7b1232 | [
"Apache-2.0"
] | 1 | 2022-01-31T22:48:35.000Z | 2022-01-31T22:48:35.000Z | from PIL import Image
from pitop import Pitop
pitop = Pitop()
miniscreen = pitop.miniscreen
rocket = Image.open("/usr/lib/python3/dist-packages/pitop/miniscreen/images/rocket.gif")
miniscreen.play_animated_image(rocket)
| 20.363636 | 88 | 0.794643 | 31 | 224 | 5.677419 | 0.548387 | 0.255682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.098214 | 224 | 10 | 89 | 22.4 | 0.866337 | 0 | 0 | 0 | 0 | 0 | 0.290179 | 0.290179 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 2 |
728ec9dc6f471c261e07e33eefde07e826192c2e | 305 | py | Python | app/main/views.py | yiunsr/flask_labstoo_base | ec99a7c955bd0bd9d96959c1c26cbd0e5ec23796 | [
"Apache-2.0"
] | null | null | null | app/main/views.py | yiunsr/flask_labstoo_base | ec99a7c955bd0bd9d96959c1c26cbd0e5ec23796 | [
"Apache-2.0"
] | null | null | null | app/main/views.py | yiunsr/flask_labstoo_base | ec99a7c955bd0bd9d96959c1c26cbd0e5ec23796 | [
"Apache-2.0"
] | null | null | null | from flask.helpers import make_response
from flask.templating import render_template
from . import main
@main.route('/', methods=['GET', 'POST'])
@main.route('/index', methods=['GET', 'POST'])
def index():
resp = make_response(
render_template('main/index.html'))
return resp
| 25.416667 | 47 | 0.665574 | 38 | 305 | 5.236842 | 0.5 | 0.090452 | 0.140704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 305 | 11 | 48 | 27.727273 | 0.796 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
729381f8f09e518e6c6e8b1407dd8a10e56dc240 | 773 | py | Python | src/portals/admins/filters.py | IkramKhan-DevOps/pw-elearn | 41ac0c9a3dcc6141a25c2618a82bb2673e7f8986 | [
"MIT"
] | 2 | 2022-02-04T07:45:57.000Z | 2022-02-04T07:46:03.000Z | src/portals/admins/filters.py | IkramKhan-DevOps/pw-elearn | 41ac0c9a3dcc6141a25c2618a82bb2673e7f8986 | [
"MIT"
] | null | null | null | src/portals/admins/filters.py | IkramKhan-DevOps/pw-elearn | 41ac0c9a3dcc6141a25c2618a82bb2673e7f8986 | [
"MIT"
] | null | null | null | import django_filters
from django.forms import TextInput
from src.accounts.models import User
from src.application.models import Quiz, StudentGrade
class UserFilter(django_filters.FilterSet):
username = django_filters.CharFilter(widget=TextInput(attrs={'placeholder': 'username'}), lookup_expr='icontains')
fi... | 40.684211 | 122 | 0.730918 | 86 | 773 | 6.418605 | 0.395349 | 0.141304 | 0.166667 | 0.210145 | 0.405797 | 0.405797 | 0.405797 | 0.210145 | 0 | 0 | 0 | 0 | 0.142303 | 773 | 18 | 123 | 42.944444 | 0.832579 | 0 | 0 | 0 | 0 | 0 | 0.163001 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
729a34538302ef5eb6b5be2a95bd148de79a7e02 | 899 | py | Python | vol/items.py | volCommunity/vol-crawlers | d046a23a1a778ed1c1ed483bd565ecb6a23898e5 | [
"Apache-2.0"
] | 3 | 2017-10-18T07:08:01.000Z | 2017-10-31T07:46:14.000Z | vol/items.py | volCommunity/vol-crawlers | d046a23a1a778ed1c1ed483bd565ecb6a23898e5 | [
"Apache-2.0"
] | 31 | 2017-09-28T00:53:53.000Z | 2021-03-22T17:01:50.000Z | vol/items.py | volCommunity/vol-crawlers | d046a23a1a778ed1c1ed483bd565ecb6a23898e5 | [
"Apache-2.0"
] | 1 | 2017-10-29T21:30:22.000Z | 2017-10-29T21:30:22.000Z | # -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html
import scrapy
class JobItem(scrapy.Item):
title = scrapy.Field()
url = scrapy.Field()
text = scrapy.Field()
labels = scrapy.Field()
city = scrapy.... | 22.475 | 51 | 0.649611 | 108 | 899 | 5.361111 | 0.398148 | 0.417962 | 0.145078 | 0.103627 | 0.388601 | 0.345423 | 0.345423 | 0.345423 | 0.210708 | 0.210708 | 0 | 0.001412 | 0.212458 | 899 | 39 | 52 | 23.051282 | 0.816384 | 0.154616 | 0 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 2 |
729b3276310d180f2f78ff2784137e2b0f03795f | 1,179 | py | Python | L1Trigger/TrackFindingTracklet/python/ProducerKF_cff.py | Jingyan95/cmssw | f78d843f0837f269ee6811b0e0f4c0432928c190 | [
"Apache-2.0"
] | 5 | 2020-07-02T19:05:26.000Z | 2022-02-25T14:37:09.000Z | L1Trigger/TrackFindingTracklet/python/ProducerKF_cff.py | Jingyan95/cmssw | f78d843f0837f269ee6811b0e0f4c0432928c190 | [
"Apache-2.0"
] | 61 | 2020-07-14T17:22:52.000Z | 2022-03-16T11:11:12.000Z | L1Trigger/TrackFindingTracklet/python/ProducerKF_cff.py | Jingyan95/cmssw | f78d843f0837f269ee6811b0e0f4c0432928c190 | [
"Apache-2.0"
] | 8 | 2020-06-08T16:28:54.000Z | 2021-11-16T14:40:00.000Z | import FWCore.ParameterSet.Config as cms
from L1Trigger.TrackTrigger.ProducerSetup_cff import TrackTriggerSetup
from L1Trigger.TrackerTFP.Producer_cfi import TrackerTFPProducer_params
from L1Trigger.TrackerTFP.ProducerES_cff import TrackTriggerDataFormats
from L1Trigger.TrackerTFP.ProducerLayerEncoding_cff import Trac... | 78.6 | 116 | 0.894826 | 92 | 1,179 | 11.315217 | 0.402174 | 0.087416 | 0.088377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006272 | 0.053435 | 1,179 | 15 | 116 | 78.6 | 0.926523 | 0 | 0 | 0 | 0 | 0 | 0.083898 | 0.036441 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.615385 | 0 | 0.615385 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
72a98f8195358b1bfa2d15602cde451901a0aac4 | 2,514 | py | Python | bookalo/funciones_report.py | unizar-30226-2019-08/Backend | d14e6fce293330611cd697af033823aa01a2ebfe | [
"MIT"
] | 3 | 2019-05-21T19:35:30.000Z | 2019-06-03T19:58:10.000Z | bookalo/funciones_report.py | unizar-30226-2019-08/Backend | d14e6fce293330611cd697af033823aa01a2ebfe | [
"MIT"
] | 99 | 2019-03-14T10:22:52.000Z | 2022-03-11T23:46:08.000Z | bookalo/funciones_report.py | unizar-30226-2019-08/Backend | d14e6fce293330611cd697af033823aa01a2ebfe | [
"MIT"
] | 4 | 2019-03-17T18:53:57.000Z | 2019-05-21T19:35:35.000Z | from django.shortcuts import render, redirect
from bookalo.pyrebase_settings import db, auth
from bookalo.models import *
from bookalo.serializers import *
#from bookalo.functions import *
from rest_framework import status, permissions
from rest_framework.decorators import api_view, permission_classes
from rest_... | 54.652174 | 307 | 0.73031 | 329 | 2,514 | 5.504559 | 0.428571 | 0.013252 | 0.026505 | 0.032027 | 0.100497 | 0.073992 | 0 | 0 | 0 | 0 | 0 | 0.001409 | 0.153142 | 2,514 | 46 | 308 | 54.652174 | 0.849225 | 0.012331 | 0 | 0.046512 | 0 | 0 | 0.182527 | 0.009844 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.418605 | 0 | 0.534884 | 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 | 0 | 1 | 0 | 0 | 2 |
72b295dd25910f310b0a00f8178ac31d5400862a | 154,604 | py | Python | dota2py/proto/dota_usermessages_pb2.py | mjdesrosiers/dota2py | 744f44ba6993c99932037df15de2c08dbd265674 | [
"MIT"
] | 86 | 2015-01-05T02:03:10.000Z | 2021-07-06T02:38:20.000Z | dota2py/proto/dota_usermessages_pb2.py | mjdesrosiers/dota2py | 744f44ba6993c99932037df15de2c08dbd265674 | [
"MIT"
] | 8 | 2015-01-20T15:24:20.000Z | 2018-11-29T07:35:53.000Z | dota2py/proto/dota_usermessages_pb2.py | mjdesrosiers/dota2py | 744f44ba6993c99932037df15de2c08dbd265674 | [
"MIT"
] | 29 | 2015-01-20T15:26:50.000Z | 2019-08-30T14:49:28.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
from google.protobuf import descriptor
from google.protobuf import message
from google.protobuf import reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
import google.protobuf.descriptor_pb2
import netmessages_pb2
impo... | 41.315874 | 18,615 | 0.764191 | 18,823 | 154,604 | 5.968708 | 0.045317 | 0.051767 | 0.038612 | 0.035639 | 0.726362 | 0.654461 | 0.570552 | 0.516658 | 0.489849 | 0.442719 | 0 | 0.047702 | 0.12772 | 154,604 | 3,741 | 18,616 | 41.326918 | 0.785389 | 0.028033 | 0 | 0.672579 | 1 | 0.006106 | 0.208645 | 0.185697 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002326 | 0 | 0.041582 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
72bc6c214f68401efd569e611f4ece00cc40d261 | 1,568 | py | Python | fastestimator/dataset/data/cifar10.py | DwijayDS/fastestimator | 9b288cb2bd870f971ec4cee09d0b3205e1316a94 | [
"Apache-2.0"
] | 57 | 2019-05-21T21:29:26.000Z | 2022-02-23T05:55:21.000Z | fastestimator/dataset/data/cifar10.py | vbvg2008/fastestimator | 6061a4fbbeb62a2194ef82ba8017f651710d0c65 | [
"Apache-2.0"
] | 93 | 2019-05-23T18:36:07.000Z | 2022-03-23T17:15:55.000Z | fastestimator/dataset/data/cifar10.py | vbvg2008/fastestimator | 6061a4fbbeb62a2194ef82ba8017f651710d0c65 | [
"Apache-2.0"
] | 47 | 2019-05-09T15:41:37.000Z | 2022-03-26T17:00:08.000Z | # Copyright 2019 The FastEstimator Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 40.205128 | 116 | 0.700255 | 218 | 1,568 | 4.922018 | 0.5 | 0.055918 | 0.024231 | 0.029823 | 0.117428 | 0.070829 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.169643 | 1,568 | 38 | 117 | 41.263158 | 0.802611 | 0.591837 | 0 | 0 | 0 | 0 | 0.143581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
72d5dcde5caf7bc67be36a1a3162b2ed4f45540f | 765 | py | Python | dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_unit_2.py | pbarton666/virtual_classroom | a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675 | [
"MIT"
] | null | null | null | dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_unit_2.py | pbarton666/virtual_classroom | a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675 | [
"MIT"
] | null | null | null | dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_unit_2.py | pbarton666/virtual_classroom | a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675 | [
"MIT"
] | null | null | null | #py_unit_2.py
import unittest
class FirstTest(unittest.TestCase):
def setUp(self):
"setUp() runs before every test"
self.msg="Sorry, Charlie, but {} is not the same as {}."
def tearDown(self):
"tearDown runs after every test"
pass
def test_me(self):
"this test should pass"
first=1
second=2
self.asse... | 25.5 | 64 | 0.705882 | 118 | 765 | 4.432203 | 0.415254 | 0.053537 | 0.091778 | 0.137667 | 0.367113 | 0.240918 | 0.133843 | 0.133843 | 0.133843 | 0 | 0 | 0.010886 | 0.159477 | 765 | 30 | 65 | 25.5 | 0.802488 | 0.249673 | 0 | 0.153846 | 0 | 0 | 0.305445 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.230769 | false | 0.230769 | 0.038462 | 0 | 0.307692 | 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 | 0 | 0 | 0 | 2 |
72d6fbca1e2a56e32eed016c2b0a2d21ed7addda | 510 | py | Python | lc1108_defangip.py | moheed/algo | 921bb55852fa49d97e469694a64bffe6c285319e | [
"MIT"
] | null | null | null | lc1108_defangip.py | moheed/algo | 921bb55852fa49d97e469694a64bffe6c285319e | [
"MIT"
] | null | null | null | lc1108_defangip.py | moheed/algo | 921bb55852fa49d97e469694a64bffe6c285319e | [
"MIT"
] | null | null | null | class Solution:
def defangIPaddr(self, address: str) -> str:
i=0
j=0
strlist=list(address)
defang=[]
while i< len(strlist):
if strlist[i] == '.':
defang.append('[')
defang.append('.')
defang.append(']')
... | 23.181818 | 48 | 0.394118 | 43 | 510 | 4.674419 | 0.534884 | 0.238806 | 0.179104 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.482353 | 510 | 21 | 49 | 24.285714 | 0.75 | 0.02549 | 0 | 0 | 0 | 0 | 0.00813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
72da26872a32cdd69f28a7e6093c2164b2d30874 | 344 | py | Python | tartiflette/parser/nodes/node.py | erezsh/tartiflette | c945b02e9025e2524393c1eaec2191745bfc38f4 | [
"MIT"
] | null | null | null | tartiflette/parser/nodes/node.py | erezsh/tartiflette | c945b02e9025e2524393c1eaec2191745bfc38f4 | [
"MIT"
] | null | null | null | tartiflette/parser/nodes/node.py | erezsh/tartiflette | c945b02e9025e2524393c1eaec2191745bfc38f4 | [
"MIT"
] | null | null | null | class Node:
def __init__(self, path, libgraphql_type, location, name):
self.path = path
self.parent = None
self.children = []
self.libgraphql_type = libgraphql_type
self.location = location
self.name = name
def __repr__(self):
return "%s(%s)" % (self.libg... | 28.666667 | 62 | 0.607558 | 40 | 344 | 4.925 | 0.4 | 0.284264 | 0.182741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284884 | 344 | 11 | 63 | 31.272727 | 0.800813 | 0 | 0 | 0 | 0 | 0 | 0.017442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.1 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
72dee79c27f224ab988e2c1d440c86b9133510f7 | 3,099 | py | Python | app/app.py | wesleibarboza/natasha-virtual | 74c5ef9a4db5ce98dd72499d40775bfd65d34974 | [
"MIT"
] | 23 | 2017-07-07T22:08:26.000Z | 2018-07-17T01:07:22.000Z | app/app.py | wesleibarboza/natasha-virtual | 74c5ef9a4db5ce98dd72499d40775bfd65d34974 | [
"MIT"
] | 1 | 2017-07-06T23:34:21.000Z | 2017-07-07T04:17:15.000Z | app/app.py | wesleibarboza/natasha-virtual | 74c5ef9a4db5ce98dd72499d40775bfd65d34974 | [
"MIT"
] | 3 | 2017-07-10T12:57:31.000Z | 2018-04-20T00:31:51.000Z | # -*- coding: utf-8 -*-
"""Archivo principal para el echobot. Main File for the echobot"""
from fbmq import Page
from flask import Flask, request
# Token generado por la página web. Generated token in the facebook web page
PAGE_ACCESS_TOKEN = "COPY_HERE_YOUR_PAGE_ACCES_TOKEN"
# Token generado por nosotros. Token gener... | 56.345455 | 215 | 0.718296 | 499 | 3,099 | 4.378758 | 0.390782 | 0.03524 | 0.01373 | 0.019222 | 0.034325 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004884 | 0.207164 | 3,099 | 54 | 216 | 57.388889 | 0.884412 | 0.623104 | 0 | 0 | 1 | 0 | 0.176835 | 0.027409 | 0 | 0 | 0 | 0.018519 | 0 | 1 | 0.111111 | false | 0 | 0.074074 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
72dff42ed030c124c8990d7454998c4a84aa0eeb | 932 | py | Python | Main.py | samuelterra22/Data-Mining | 0237bc6e86f28f7bf1306dfb60c41987f5e41bbd | [
"Apache-2.0"
] | null | null | null | Main.py | samuelterra22/Data-Mining | 0237bc6e86f28f7bf1306dfb60c41987f5e41bbd | [
"Apache-2.0"
] | null | null | null | Main.py | samuelterra22/Data-Mining | 0237bc6e86f28f7bf1306dfb60c41987f5e41bbd | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import scipy.stats as stats
import seaborn as sns
from matplotlib import rcParams
import statsmodels.api as sm
from statsmodels.formula.api import ols
df = pd.read_csv('kc_house_data.csv')
# print(df.head())
# print(df.isnull().any())
# print(df.d... | 24.526316 | 84 | 0.700644 | 151 | 932 | 4.231788 | 0.483444 | 0.062598 | 0.040689 | 0.059468 | 0.115806 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018428 | 0.126609 | 932 | 37 | 85 | 25.189189 | 0.766585 | 0.567597 | 0 | 0 | 0 | 0 | 0.094241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.727273 | 0 | 0.727273 | 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 | 0 | 1 | 0 | 0 | 2 |
72e6cd5ab67a94bed0e467a242a32fec14419840 | 144 | py | Python | xled_plus/samples/colmeander.py | DanieleMancini/xled_plus | a6e9f3da56f95f508ec4fa2bb6ceae005450e654 | [
"MIT"
] | null | null | null | xled_plus/samples/colmeander.py | DanieleMancini/xled_plus | a6e9f3da56f95f508ec4fa2bb6ceae005450e654 | [
"MIT"
] | null | null | null | xled_plus/samples/colmeander.py | DanieleMancini/xled_plus | a6e9f3da56f95f508ec4fa2bb6ceae005450e654 | [
"MIT"
] | null | null | null | from .sample_setup import *
ctr = setup_control()
eff = ColorMeanderEffect(ctr, "solid")
eff.launch_rt()
input()
eff.stop_rt()
ctr.turn_off()
| 14.4 | 38 | 0.729167 | 21 | 144 | 4.761905 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118056 | 144 | 9 | 39 | 16 | 0.787402 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
72ef01a1de3148482533568abd4a325f3fc543ee | 926 | py | Python | wecom_sdk/base/callback.py | quanttide/wecom-sdk-py | 1c71909c08d885e52e4ec38a9ddac0938a059e5a | [
"Apache-2.0"
] | 9 | 2021-06-24T03:59:54.000Z | 2022-03-06T06:22:54.000Z | wecom_sdk/base/callback.py | quanttide/wecom-sdk-py | 1c71909c08d885e52e4ec38a9ddac0938a059e5a | [
"Apache-2.0"
] | null | null | null | wecom_sdk/base/callback.py | quanttide/wecom-sdk-py | 1c71909c08d885e52e4ec38a9ddac0938a059e5a | [
"Apache-2.0"
] | 3 | 2021-06-24T02:59:05.000Z | 2021-09-01T00:44:19.000Z | # -*- coding: utf-8 -*-
from wecom_sdk.base.crypt import encrypt_msg, decrypt_msg
class WeChatWorkCallbackSDK(object):
"""
企业微信回调SDK基本类,用于实现内部系统和企业微信客户端的双向通信
详细说明:https://work.weixin.qq.com/api/doc/90000/90135/90930
"""
def __init__(self, token, encoding_aes_key):
self.token = token
... | 29.870968 | 93 | 0.62419 | 107 | 926 | 5.168224 | 0.439252 | 0.139241 | 0.177215 | 0.108499 | 0.21519 | 0.21519 | 0.166365 | 0.166365 | 0.166365 | 0.166365 | 0 | 0.02346 | 0.263499 | 926 | 31 | 94 | 29.870968 | 0.78739 | 0.215983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.7 | 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 | 0 | 1 | 0 | 0 | 2 |
72fbd53ac87abb2352685e43c874d647c228dd86 | 125 | py | Python | 0/1/1436/1436.py | chr0m3/boj-codes | d71d0a22d0a3ae62c225f382442461275f56fe8f | [
"MIT"
] | 3 | 2017-07-08T16:29:06.000Z | 2020-07-20T00:17:45.000Z | 0/1/1436/1436.py | chr0m3/boj-codes | d71d0a22d0a3ae62c225f382442461275f56fe8f | [
"MIT"
] | null | null | null | 0/1/1436/1436.py | chr0m3/boj-codes | d71d0a22d0a3ae62c225f382442461275f56fe8f | [
"MIT"
] | 2 | 2017-11-20T14:06:06.000Z | 2020-07-20T00:17:47.000Z | count = int(input())
title = 0
while count > 0:
title += 1
if '666' in str(title):
count -= 1
print(title)
| 12.5 | 27 | 0.536 | 19 | 125 | 3.526316 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 0.312 | 125 | 9 | 28 | 13.888889 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 | 0 | 0 | 2 |
f400d61d2c093b253733ba5d9d909f4f48a668af | 1,629 | py | Python | renku/core/commands/providers/api.py | cyberhck/renku-python | 2e52dff9dd627c93764aadb9fd1e91bd190a5de7 | [
"Apache-2.0"
] | null | null | null | renku/core/commands/providers/api.py | cyberhck/renku-python | 2e52dff9dd627c93764aadb9fd1e91bd190a5de7 | [
"Apache-2.0"
] | null | null | null | renku/core/commands/providers/api.py | cyberhck/renku-python | 2e52dff9dd627c93764aadb9fd1e91bd190a5de7 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 - Swiss Data Science Center (SDSC)
# A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
# Eidgenössische Technische Hochschule Zürich (ETHZ).
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# Y... | 28.578947 | 75 | 0.683855 | 206 | 1,629 | 5.373786 | 0.563107 | 0.054201 | 0.108401 | 0.065041 | 0.063234 | 0.063234 | 0 | 0 | 0 | 0 | 0 | 0.006309 | 0.221608 | 1,629 | 56 | 76 | 29.089286 | 0.866719 | 0.59116 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.045455 | 0 | 0.409091 | 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 | 0 | 0 | 0 | 2 |
f407b452be28a7b2d21cb5bd0c9039e2720ed8e1 | 1,956 | py | Python | src/testrsscast/rss/ytconverter_example.py | anetczuk/rsscast | 8649d1143679afcabbe19e5499f104fa1325bff1 | [
"MIT"
] | null | null | null | src/testrsscast/rss/ytconverter_example.py | anetczuk/rsscast | 8649d1143679afcabbe19e5499f104fa1325bff1 | [
"MIT"
] | null | null | null | src/testrsscast/rss/ytconverter_example.py | anetczuk/rsscast | 8649d1143679afcabbe19e5499f104fa1325bff1 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
#
# MIT License
#
# Copyright (c) 2021 Arkadiusz Netczuk <dev.arnet@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limi... | 33.724138 | 94 | 0.762781 | 283 | 1,956 | 5.19788 | 0.60424 | 0.059823 | 0.017675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006765 | 0.168712 | 1,956 | 57 | 95 | 34.315789 | 0.897909 | 0.714213 | 0 | 0 | 0 | 0 | 0.195817 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.4 | 0 | 0.4 | 0.066667 | 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 | 0 | 0 | 0 | 2 |
f4125249bade8003f4245ff65531e572d79b0160 | 653 | py | Python | tb/sources/__init__.py | DronMDF/manabot | b412e8cb9b5247f05487bed4cbf4967f7b58327f | [
"MIT"
] | 1 | 2017-11-29T11:51:12.000Z | 2017-11-29T11:51:12.000Z | tb/sources/__init__.py | DronMDF/manabot | b412e8cb9b5247f05487bed4cbf4967f7b58327f | [
"MIT"
] | 109 | 2017-11-28T20:51:59.000Z | 2018-02-02T13:15:29.000Z | tb/sources/__init__.py | DronMDF/manabot | b412e8cb9b5247f05487bed4cbf4967f7b58327f | [
"MIT"
] | null | null | null | from .admin import ReviewListAdmin, SoAdminReviewIsOut, SoReviewForAdmin
from .admin_commands import (
AdminCommands,
AdminFilteredCommands,
ReviewListByCommands,
SoIgnoreReview,
SoSubmitReview
)
from .gerrit import ReviewOnServer, SoNewReview, SoOutReview, SoUpdateReview
from .reaction import (
ReactionAlways,
... | 20.40625 | 76 | 0.82389 | 52 | 653 | 10.307692 | 0.75 | 0.033582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119449 | 653 | 31 | 77 | 21.064516 | 0.932174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.225806 | 0 | 0.225806 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f421c73bcef415f2ea33d9a7d630fcbbb3f2dac1 | 180 | py | Python | run.py | iudaichi/iu_linebot | d3f5a7b0227b175963d51d62bcd5894366bde35c | [
"MIT"
] | null | null | null | run.py | iudaichi/iu_linebot | d3f5a7b0227b175963d51d62bcd5894366bde35c | [
"MIT"
] | null | null | null | run.py | iudaichi/iu_linebot | d3f5a7b0227b175963d51d62bcd5894366bde35c | [
"MIT"
] | null | null | null | from main import app
import os
import uvicorn
if __name__ == '__main__':
port = int(os.getenv("PORT"))
uvicorn.run(app, host="0.0.0.0", port=port, workers=1, reload=True)
| 22.5 | 71 | 0.677778 | 30 | 180 | 3.8 | 0.6 | 0.052632 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033113 | 0.161111 | 180 | 7 | 72 | 25.714286 | 0.721854 | 0 | 0 | 0 | 0 | 0 | 0.105556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
f44a0eaa8a605413b612c82d10265dde71bd9d5d | 2,251 | py | Python | plugins/module_utils/definitions/trigger_image_activation.py | robertcsapo/dnacenter-ansible | 33f776f8c0bc7113da73191c301dd1807e6b4a43 | [
"MIT"
] | null | null | null | plugins/module_utils/definitions/trigger_image_activation.py | robertcsapo/dnacenter-ansible | 33f776f8c0bc7113da73191c301dd1807e6b4a43 | [
"MIT"
] | null | null | null | plugins/module_utils/definitions/trigger_image_activation.py | robertcsapo/dnacenter-ansible | 33f776f8c0bc7113da73191c301dd1807e6b4a43 | [
"MIT"
] | null | null | null | from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import json
module_definition = json.loads(
"""{
"family": "software_image_management_swim",
"name": "trigger_image_activation",
"operations": {
"post": [
"trigger_software_image_activation"
... | 29.618421 | 66 | 0.330964 | 107 | 2,251 | 6.691589 | 0.420561 | 0.127095 | 0.118715 | 0.125698 | 0.24581 | 0.092179 | 0 | 0 | 0 | 0 | 0 | 0 | 0.554865 | 2,251 | 75 | 67 | 30.013333 | 0.714571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
f454b6de1f5f5d7ea1e9cef6495a08d3a75a9606 | 1,253 | py | Python | kunquat/tracker/errorbase.py | cyberixae/kunquat | 06ae72b2c1519686cc510ce887d9d45a5c3fa3a3 | [
"CC0-1.0"
] | null | null | null | kunquat/tracker/errorbase.py | cyberixae/kunquat | 06ae72b2c1519686cc510ce887d9d45a5c3fa3a3 | [
"CC0-1.0"
] | null | null | null | kunquat/tracker/errorbase.py | cyberixae/kunquat | 06ae72b2c1519686cc510ce887d9d45a5c3fa3a3 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Author: Tomi Jylhä-Ollila, Finland 2014
#
# This file is part of Kunquat.
#
# CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/
#
# To the extent possible under law, Kunquat Affirmers have waived all
# copyright and related or neighboring rights to Kunquat.
#
from __futu... | 24.096154 | 71 | 0.73344 | 175 | 1,253 | 5.062857 | 0.537143 | 0.099323 | 0.14447 | 0.047404 | 0.189616 | 0.13544 | 0 | 0 | 0 | 0 | 0 | 0.009515 | 0.161213 | 1,253 | 51 | 72 | 24.568627 | 0.833492 | 0.263368 | 0 | 0 | 0 | 0 | 0.06632 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0.238095 | false | 0.047619 | 0.190476 | 0 | 0.47619 | 0.190476 | 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 | 0 | 0 | 0 | 2 |
f45fea1b8823dbd01877ae9035e910e81d5b7faa | 267 | py | Python | tareas/3/GarciaFigueroaAlberto-GarciaEdgar/Proceso.py | jorgelmp/sistop-2022-1 | 5c3b7e5215247533446aa006affe6cc64a48d989 | [
"CC-BY-4.0"
] | 6 | 2021-08-30T19:11:57.000Z | 2021-09-05T01:30:59.000Z | tareas/3/GarciaFigueroaAlberto-GarciaEdgar/Proceso.py | jorgelmp/sistop-2022-1 | 5c3b7e5215247533446aa006affe6cc64a48d989 | [
"CC-BY-4.0"
] | 13 | 2021-09-07T22:24:47.000Z | 2021-11-23T05:26:38.000Z | tareas/3/GarciaFigueroaAlberto-GarciaEdgar/Proceso.py | jorgelmp/sistop-2022-1 | 5c3b7e5215247533446aa006affe6cc64a48d989 | [
"CC-BY-4.0"
] | 33 | 2021-09-01T00:44:27.000Z | 2022-02-09T06:17:55.000Z | class Proceso:
def __init__(self,tiempo_de_llegada,t,id):
self.t=t
self.tiempo_de_llegada=tiempo_de_llegada
self.id=id
self.inicio=0
self.fin=0
self.T=0
self.E=0
self.P=0
self.tRestantes = t
| 22.25 | 48 | 0.565543 | 41 | 267 | 3.439024 | 0.390244 | 0.177305 | 0.319149 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028409 | 0.340824 | 267 | 11 | 49 | 24.272727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f464a115da93371471e70429639150e5a6c40508 | 661 | py | Python | turbo_transformers/python/tests/__init__.py | xcnick/TurboTransformers | 48b6ba09af2219616c6b97cc5c09222408e080c2 | [
"BSD-3-Clause"
] | 1,147 | 2020-04-24T06:45:50.000Z | 2022-03-30T15:33:16.000Z | turbo_transformers/python/tests/__init__.py | xcnick/TurboTransformers | 48b6ba09af2219616c6b97cc5c09222408e080c2 | [
"BSD-3-Clause"
] | 140 | 2020-04-25T10:54:15.000Z | 2022-03-11T08:13:11.000Z | turbo_transformers/python/tests/__init__.py | xcnick/TurboTransformers | 48b6ba09af2219616c6b97cc5c09222408e080c2 | [
"BSD-3-Clause"
] | 151 | 2020-04-24T06:49:01.000Z | 2022-03-21T13:48:54.000Z | # Copyright (C) 2020 THL A29 Limited, a Tencent company.
# All rights reserved.
# Licensed under the BSD 3-Clause License (the "License"); you may
# not use this file except in compliance with the License. You may
# obtain a copy of the License at
# https://opensource.org/licenses/BSD-3-Clause
# Unless required by appl... | 50.846154 | 69 | 0.774584 | 104 | 661 | 4.923077 | 0.692308 | 0.117188 | 0.039063 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.164902 | 661 | 12 | 70 | 55.083333 | 0.913043 | 0.962179 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
f467e6d9c07196905aa29d2a65e967cb8686b8d6 | 445 | py | Python | src/main/scripts/crassus_deployer_lambda.py | Scout24/crassus | 8e3d5ff073181cabaf0e764c3d8be18fc7d27992 | [
"Apache-2.0"
] | null | null | null | src/main/scripts/crassus_deployer_lambda.py | Scout24/crassus | 8e3d5ff073181cabaf0e764c3d8be18fc7d27992 | [
"Apache-2.0"
] | null | null | null | src/main/scripts/crassus_deployer_lambda.py | Scout24/crassus | 8e3d5ff073181cabaf0e764c3d8be18fc7d27992 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
from crassus import Crassus
from crassus.output_converter import OutputConverter
def handler(event, context):
crassus = Crassus(event, context)
crassus.deploy()
def cfn_output_converter(event, context):
"""
Convert an AWS CloudFormation output message to our def... | 24.722222 | 63 | 0.759551 | 50 | 445 | 6.56 | 0.5 | 0.182927 | 0.115854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173034 | 445 | 17 | 64 | 26.176471 | 0.891304 | 0.182022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.555556 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
f469f8b898acc53c702a295cba9f7c500ecfacd0 | 872 | py | Python | datawinners/alldata/urls.py | ICT4H/dcs-web | fb0f53fad4401cfac1c1789ff28b9d5bda40c975 | [
"Apache-2.0"
] | 1 | 2015-11-02T09:11:12.000Z | 2015-11-02T09:11:12.000Z | datawinners/alldata/urls.py | ICT4H/dcs-web | fb0f53fad4401cfac1c1789ff28b9d5bda40c975 | [
"Apache-2.0"
] | null | null | null | datawinners/alldata/urls.py | ICT4H/dcs-web | fb0f53fad4401cfac1c1789ff28b9d5bda40c975 | [
"Apache-2.0"
] | null | null | null | # vim: ai ts=4 sts=4 et sw=4 encoding=utf-8
from django.conf.urls.defaults import patterns, url
from datawinners.alldata.views import get_entity_list_by_type
from datawinners.alldata.views import smart_phone_instruction
from datawinners.alldata.views import index, reports
from datawinners.alldata.views import failed_s... | 48.444444 | 114 | 0.751147 | 111 | 872 | 5.693694 | 0.387387 | 0.079114 | 0.166139 | 0.170886 | 0.414557 | 0.14557 | 0.14557 | 0 | 0 | 0 | 0 | 0.005096 | 0.099771 | 872 | 17 | 115 | 51.294118 | 0.8 | 0.047018 | 0 | 0 | 0 | 0 | 0.310012 | 0.248492 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
f46d89c9f6b67abfd2563de23f0ea1549928a68e | 1,441 | py | Python | src/bootils/plugins/core/jsw.py | Build-The-Web/bootils | 8ee88f4d0583352f58fbb89c018e7caef8f07ce3 | [
"Apache-2.0"
] | 3 | 2015-03-25T23:00:58.000Z | 2018-01-03T15:50:41.000Z | src/bootils/plugins/core/jsw.py | Build-The-Web/bootils | 8ee88f4d0583352f58fbb89c018e7caef8f07ce3 | [
"Apache-2.0"
] | 8 | 2015-04-10T14:53:20.000Z | 2015-12-18T09:59:58.000Z | src/bootils/plugins/core/jsw.py | Build-The-Web/bootils | 8ee88f4d0583352f58fbb89c018e7caef8f07ce3 | [
"Apache-2.0"
] | 2 | 2015-09-10T13:01:09.000Z | 2018-03-04T20:46:09.000Z | # -*- coding: utf-8 -*-
# pylint: disable=
""" Tanuki Java Service Wrapper runtime environment.
Debian JSW paths (Wheezy 3.5.3; Jessie 3.5.22)::
/usr/sbin/wrapper – ELF executable
/usr/share/wrapper/daemon.sh
/usr/share/wrapper/make-wrapper-init.sh
/usr/share/wrapper/wrapper.conf
"... | 35.146341 | 74 | 0.700208 | 198 | 1,441 | 5.060606 | 0.621212 | 0.05988 | 0.04491 | 0.047904 | 0.083832 | 0.083832 | 0 | 0 | 0 | 0 | 0 | 0.015517 | 0.195003 | 1,441 | 40 | 75 | 36.025 | 0.846552 | 0.70923 | 0 | 0 | 0 | 0 | 0.047222 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.875 | 0.25 | 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 | 0 | 0 | 0 | 2 |
f48f57744939caba5685c9a4b651a9c481a371aa | 657 | py | Python | src/py_to_json/__init__.py | jlevitt/py-to-json | 26bb68926f5ada601e965f42980e438c9718be73 | [
"MIT"
] | null | null | null | src/py_to_json/__init__.py | jlevitt/py-to-json | 26bb68926f5ada601e965f42980e438c9718be73 | [
"MIT"
] | null | null | null | src/py_to_json/__init__.py | jlevitt/py-to-json | 26bb68926f5ada601e965f42980e438c9718be73 | [
"MIT"
] | null | null | null | #
# OMNIVORE CONFIDENTIAL
# __________________
#
# [2013] - [2019] Omnivore Technologies
# All Rights Reserved.
#
# NOTICE: All information contained herein is, and remains
# the property of Omnivore Technologies and its suppliers,
# if any. The intellectual and technical concepts contained
# herein are proprietary... | 36.5 | 73 | 0.78691 | 85 | 657 | 5.870588 | 0.658824 | 0.160321 | 0.092184 | 0.104208 | 0.140281 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014545 | 0.162861 | 657 | 17 | 74 | 38.647059 | 0.892727 | 0.946728 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
be365df64e401dd1c966469e8ae1e80392fa4b62 | 1,207 | py | Python | Lib/hTools2/modules/ftp.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | Lib/hTools2/modules/ftp.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | Lib/hTools2/modules/ftp.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | # [h] hTools2.modules.ftp
"""Tools to connect to a FTP server, upload files etc."""
# This module uses the `ftplib` library to handle FTP connection and upload.
# http://docs.python.org/library/ftplib.html
import os
from ftplib import FTP
def connect_to_server(url, login, password, folder, verbose=False):
"""Co... | 30.175 | 161 | 0.6686 | 168 | 1,207 | 4.77381 | 0.458333 | 0.064838 | 0.014963 | 0.029925 | 0.054863 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002101 | 0.211268 | 1,207 | 39 | 162 | 30.948718 | 0.840336 | 0.147473 | 0 | 0.125 | 0 | 0 | 0.025048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.125 | 0.125 | null | null | 0.125 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
be5740f5f8c7bb04c4a6f3ebc3c04afbcec0a250 | 1,333 | py | Python | setup.py | nrcmedia/pdfrw | 2a3c9caded906b7ca71f1a338673a24f90eb0e5c | [
"MIT"
] | 2 | 2015-01-16T18:07:34.000Z | 2015-11-01T05:07:15.000Z | setup.py | nrcmedia/pdfrw | 2a3c9caded906b7ca71f1a338673a24f90eb0e5c | [
"MIT"
] | null | null | null | setup.py | nrcmedia/pdfrw | 2a3c9caded906b7ca71f1a338673a24f90eb0e5c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from distutils.core import setup
try:
import setuptools
except:
pass
setup(
name='pdfrw',
version='0.1',
description='PDF file reader/writer library',
long_description='''
pdfrw lets you read and write PDF files, including
compositing multiple pages together (e.g. to do w... | 31 | 65 | 0.675919 | 160 | 1,333 | 5.61875 | 0.775 | 0.020022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007648 | 0.215304 | 1,333 | 42 | 66 | 31.738095 | 0.851816 | 0.015004 | 0 | 0 | 0 | 0 | 0.679116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.026316 | 0.052632 | 0 | 0.052632 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
be5b3780be0df5ceef2f2e2a8a4f5c6573838a4e | 3,215 | py | Python | src/oci/identity_data_plane/models/password_reset_authentication_request.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/identity_data_plane/models/password_reset_authentication_request.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/identity_data_plane/models/password_reset_authentication_request.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 31.519608 | 245 | 0.675894 | 371 | 3,215 | 5.576819 | 0.299191 | 0.125665 | 0.173997 | 0.071049 | 0.485259 | 0.329628 | 0.272595 | 0.140164 | 0.140164 | 0.140164 | 0 | 0.007525 | 0.255988 | 3,215 | 101 | 246 | 31.831683 | 0.857441 | 0.508554 | 0 | 0.057143 | 0 | 0 | 0.064965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.228571 | false | 0.257143 | 0.057143 | 0.057143 | 0.485714 | 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 | 0 | 0 | 0 | 2 |
be70bab0d740612dff3c9c4f650b4e73f95cd9c5 | 1,985 | py | Python | python/modules/mysql_server.py | 91-jinrong/-91_monitor | e0325229bffbb0df20d9337925b591eee8ac0289 | [
"Apache-2.0"
] | 1 | 2015-03-30T06:25:59.000Z | 2015-03-30T06:25:59.000Z | python/modules/mysql_server.py | 91-jinrong/91_monitor | e0325229bffbb0df20d9337925b591eee8ac0289 | [
"Apache-2.0"
] | null | null | null | python/modules/mysql_server.py | 91-jinrong/91_monitor | e0325229bffbb0df20d9337925b591eee8ac0289 | [
"Apache-2.0"
] | null | null | null | #!/bin/env python
#-*-coding:utf-8-*-
import os
import sys
import string
import time
import datetime
import MySQLdb
class MySQL:
def __int__(self,host,port,user,passwd,dbname,timeout,charset):
self.host = host
self.port = port
self.user = user
self.passwd = passwd
self.dbnam... | 31.507937 | 156 | 0.624181 | 254 | 1,985 | 4.826772 | 0.208661 | 0.051387 | 0.073409 | 0.071778 | 0.600326 | 0.562806 | 0.562806 | 0.562806 | 0.562806 | 0.562806 | 0 | 0.004027 | 0.24937 | 1,985 | 62 | 157 | 32.016129 | 0.818792 | 0.017128 | 0 | 0.444444 | 0 | 0 | 0.020523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.111111 | 0.111111 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
be71f6b56c912c07678325e23f7389ad744e9921 | 149 | py | Python | Ethan File/Carrentsystem/Carrentsystem/test.py | hklhfong/Car-Rental-System | 3a4844eea8e9dbf85f4ce62b5115772f48277240 | [
"Apache-2.0"
] | null | null | null | Ethan File/Carrentsystem/Carrentsystem/test.py | hklhfong/Car-Rental-System | 3a4844eea8e9dbf85f4ce62b5115772f48277240 | [
"Apache-2.0"
] | null | null | null | Ethan File/Carrentsystem/Carrentsystem/test.py | hklhfong/Car-Rental-System | 3a4844eea8e9dbf85f4ce62b5115772f48277240 | [
"Apache-2.0"
] | null | null | null | import sqlite3
conn = sqlite3.connect("db")
cur = conn.cursor()
cur.execute("select * from CAR_ID limit 5;")
results = cur.fetchall()
print(results)
| 21.285714 | 44 | 0.724832 | 22 | 149 | 4.863636 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.120805 | 149 | 6 | 45 | 24.833333 | 0.793893 | 0 | 0 | 0 | 0 | 0 | 0.208054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
be75c777b16f1617c2f87efa99ed969f4c41aed6 | 1,192 | py | Python | osp/test/corpus/syllabus/test_text.py | davidmcclure/open-syllabus-project | 078cfd4c5a257fbfb0901d43bfbc6350824eed4e | [
"Apache-2.0"
] | 220 | 2016-01-22T21:19:02.000Z | 2022-01-25T04:33:55.000Z | osp/test/corpus/syllabus/test_text.py | davidmcclure/open-syllabus-project | 078cfd4c5a257fbfb0901d43bfbc6350824eed4e | [
"Apache-2.0"
] | 14 | 2016-01-23T14:34:39.000Z | 2016-09-19T19:58:37.000Z | osp/test/corpus/syllabus/test_text.py | davidmcclure/open-syllabus-project | 078cfd4c5a257fbfb0901d43bfbc6350824eed4e | [
"Apache-2.0"
] | 14 | 2016-02-03T13:47:48.000Z | 2019-03-27T13:09:05.000Z |
from osp.corpus.syllabus import Syllabus
from osp.test.utils import requires_tika
def test_empty(mock_osp):
"""
Should return None if the file is empty.
"""
path = mock_osp.add_file(content='', ftype='plain')
syllabus = Syllabus(path)
assert syllabus.text == None
def test_plaintext(mock... | 18.060606 | 65 | 0.645134 | 156 | 1,192 | 4.788462 | 0.230769 | 0.093708 | 0.087015 | 0.093708 | 0.708166 | 0.708166 | 0.524766 | 0.484605 | 0.287818 | 0 | 0 | 0 | 0.221477 | 1,192 | 65 | 66 | 18.338462 | 0.804957 | 0.165268 | 0 | 0.391304 | 0 | 0 | 0.065431 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.217391 | false | 0 | 0.086957 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
be7756c046d0e49be191bd99222501f37d6b8b9a | 92 | py | Python | connexion/http_facts.py | lumikanta/connexion | b6530d32aaee92ebbdfef501540d642a26185174 | [
"Apache-2.0"
] | null | null | null | connexion/http_facts.py | lumikanta/connexion | b6530d32aaee92ebbdfef501540d642a26185174 | [
"Apache-2.0"
] | null | null | null | connexion/http_facts.py | lumikanta/connexion | b6530d32aaee92ebbdfef501540d642a26185174 | [
"Apache-2.0"
] | 1 | 2019-03-21T18:21:32.000Z | 2019-03-21T18:21:32.000Z | FORM_CONTENT_TYPES = [
'application/x-www-form-urlencoded',
'multipart/form-data'
]
| 18.4 | 40 | 0.695652 | 11 | 92 | 5.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 4 | 41 | 23 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0.358696 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
be7b321e4983f3461ae58d22d3131016ec26c37d | 5,936 | py | Python | arvet/core/metric.py | jskinn/arvet | 742cf3e7ee8848c4efebfaa887fc9c0fd90a06e9 | [
"BSD-2-Clause"
] | 2 | 2021-05-27T21:48:34.000Z | 2021-06-12T02:58:44.000Z | arvet/core/metric.py | jskinn/arvet | 742cf3e7ee8848c4efebfaa887fc9c0fd90a06e9 | [
"BSD-2-Clause"
] | null | null | null | arvet/core/metric.py | jskinn/arvet | 742cf3e7ee8848c4efebfaa887fc9c0fd90a06e9 | [
"BSD-2-Clause"
] | null | null | null | # Copyright (c) 2017, John Skinner
import abc
import typing
import bson
import pymodm
import pymodm.fields as fields
import arvet.database.pymodm_abc as pymodm_abc
from arvet.database.reference_list_field import ReferenceListField
import arvet.core.trial_result
class Metric(pymodm.MongoModel, metaclass=pymodm_abc.ABC... | 37.56962 | 117 | 0.657008 | 777 | 5,936 | 4.945946 | 0.298584 | 0.034348 | 0.018215 | 0.026021 | 0.234192 | 0.168098 | 0.168098 | 0.123862 | 0.069217 | 0 | 0 | 0.002542 | 0.270889 | 5,936 | 157 | 118 | 37.808917 | 0.885397 | 0.450977 | 0 | 0.290323 | 0 | 0 | 0.064281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.177419 | false | 0.064516 | 0.129032 | 0 | 0.580645 | 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 | 0 | 0 | 1 | 0 | 0 | 2 |
be802497e70c37700eec284c7ee0e2b8f03f6401 | 60 | py | Python | demos/prey-predator/prey_predator_abm/sim_params.py | neo-empresarial/covid-19 | cef10ee79d955c9e84148c3c8da542788a1f7395 | [
"MIT"
] | 3 | 2020-05-26T12:17:48.000Z | 2020-06-25T12:03:37.000Z | demos/prey-predator/prey_predator_abm/sim_params.py | neo-empresarial/covid-19 | cef10ee79d955c9e84148c3c8da542788a1f7395 | [
"MIT"
] | 4 | 2020-05-26T21:03:44.000Z | 2020-06-30T12:13:15.000Z | demos/prey-predator/prey_predator_abm/sim_params.py | neo-empresarial/epidemiological-analysis | cef10ee79d955c9e84148c3c8da542788a1f7395 | [
"MIT"
] | 1 | 2021-11-22T23:10:45.000Z | 2021-11-22T23:10:45.000Z | """
Simulation parameters.
"""
SIMULATION_TIME_STEPS = 300
| 10 | 27 | 0.733333 | 6 | 60 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.133333 | 60 | 5 | 28 | 12 | 0.75 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
be831484dedc63eae50e233ddb777cdbd9a06d19 | 1,093 | py | Python | keystone/tests/unit/token/test_provider.py | maestro-hybrid-cloud/keystone | a597a86b854215835a4d54885daeb161d7b0efb8 | [
"Apache-2.0"
] | null | null | null | keystone/tests/unit/token/test_provider.py | maestro-hybrid-cloud/keystone | a597a86b854215835a4d54885daeb161d7b0efb8 | [
"Apache-2.0"
] | null | null | null | keystone/tests/unit/token/test_provider.py | maestro-hybrid-cloud/keystone | a597a86b854215835a4d54885daeb161d7b0efb8 | [
"Apache-2.0"
] | null | null | null | # 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 or agreed to in writing, software
# distributed under t... | 35.258065 | 75 | 0.751144 | 161 | 1,093 | 4.975155 | 0.596273 | 0.074906 | 0.078652 | 0.089888 | 0.082397 | 0.082397 | 0.082397 | 0 | 0 | 0 | 0 | 0.004435 | 0.174748 | 1,093 | 30 | 76 | 36.433333 | 0.883592 | 0.477585 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.153846 | false | 0 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
be84bdd8bc7a0db1a7baadae4ae6c5d55cf356e0 | 168 | py | Python | SmerekaRoman/HW_6/HW 6.3.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | SmerekaRoman/HW_6/HW 6.3.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | SmerekaRoman/HW_6/HW 6.3.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | def numb_of_char(a):
d = {}
for char in set(a):
d[char] = a.count(char)
return d
a = numb_of_char(str(input("Input the word please: ")))
print(a)
| 16.8 | 55 | 0.577381 | 30 | 168 | 3.1 | 0.566667 | 0.129032 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 168 | 9 | 56 | 18.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
be8eb9841690585b80bc1d8c7ae03dcd42ff539a | 208 | py | Python | geoposition/tests/urls.py | Starcross/django-geoposition | b2b3af2a1b73e0ce99e76f19b7f63f1a91f3e093 | [
"MIT"
] | null | null | null | geoposition/tests/urls.py | Starcross/django-geoposition | b2b3af2a1b73e0ce99e76f19b7f63f1a91f3e093 | [
"MIT"
] | 1 | 2020-02-03T17:10:55.000Z | 2020-02-03T17:10:55.000Z | geoposition/tests/urls.py | Starcross/django-geoposition | b2b3af2a1b73e0ce99e76f19b7f63f1a91f3e093 | [
"MIT"
] | 1 | 2019-12-22T12:17:19.000Z | 2019-12-22T12:17:19.000Z | from django.urls import path, include
from django.contrib import admin
from example.views import poi_list
admin.autodiscover()
urlpatterns = [
path('', poi_list),
path('admin/', admin.site.urls),
]
| 18.909091 | 37 | 0.725962 | 28 | 208 | 5.321429 | 0.535714 | 0.134228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 208 | 10 | 38 | 20.8 | 0.846591 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 | 0 | 0 | 0 | 2 |
bea7f47e5f837c85a165df266359f1d2def3dfcd | 5,976 | py | Python | testsuite/testsuite_helpers.py | freingruber/JavaScript-Raider | d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0 | [
"Apache-2.0"
] | 91 | 2022-01-24T07:32:34.000Z | 2022-03-31T23:37:15.000Z | testsuite/testsuite_helpers.py | zeusguy/JavaScript-Raider | d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0 | [
"Apache-2.0"
] | null | null | null | testsuite/testsuite_helpers.py | zeusguy/JavaScript-Raider | d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0 | [
"Apache-2.0"
] | 11 | 2022-01-24T14:21:12.000Z | 2022-03-31T23:37:23.000Z | import config as cfg
import utils
import native_code.executor as executor
number_performed_tests = 0
expectations_correct = 0
expectations_wrong = 0
def reset_stats():
global number_performed_tests, expectations_correct, expectations_wrong
number_performed_tests = 0
expectations_correct = 0
expecta... | 34.947368 | 130 | 0.737784 | 787 | 5,976 | 5.387548 | 0.139771 | 0.099057 | 0.132075 | 0.067453 | 0.752123 | 0.70684 | 0.69434 | 0.678066 | 0.660142 | 0.660142 | 0 | 0.005178 | 0.192102 | 5,976 | 170 | 131 | 35.152941 | 0.873032 | 0.215361 | 0 | 0.60177 | 0 | 0 | 0.12832 | 0 | 0 | 0 | 0 | 0 | 0.079646 | 1 | 0.159292 | false | 0 | 0.026549 | 0 | 0.265487 | 0.026549 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bea8a3765c24aad74f039b0b081e005d38797cfe | 99 | py | Python | examples/my_configs/two.py | davidhyman/override | e34bd3c8676233439de5c002367b3bff5c1b88d6 | [
"MIT"
] | null | null | null | examples/my_configs/two.py | davidhyman/override | e34bd3c8676233439de5c002367b3bff5c1b88d6 | [
"MIT"
] | 1 | 2017-07-11T22:03:27.000Z | 2017-07-11T22:03:27.000Z | examples/my_configs/two.py | davidhyman/override | e34bd3c8676233439de5c002367b3bff5c1b88d6 | [
"MIT"
] | null | null | null | from .one import *
fruit = 'banana'
colour = 'orange'
sam['eggs'] = 'plenty'
sam.pop('ham')
| 14.142857 | 23 | 0.585859 | 13 | 99 | 4.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 99 | 6 | 24 | 16.5 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.268817 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
beb861661de128962032b82c144ceaca4b7cc85f | 81 | py | Python | 1067.py | FahimFBA/URI-Problem-Solve | d718a95e5a873dffbce19d850998e8917ec87ebb | [
"Apache-2.0"
] | 3 | 2020-11-25T19:05:31.000Z | 2021-03-29T07:29:36.000Z | 1067.py | FahimFBA/URI-Problem-Solve | d718a95e5a873dffbce19d850998e8917ec87ebb | [
"Apache-2.0"
] | null | null | null | 1067.py | FahimFBA/URI-Problem-Solve | d718a95e5a873dffbce19d850998e8917ec87ebb | [
"Apache-2.0"
] | null | null | null | valor = int(input())
for i in range(valor+1):
if(i%2 != 0):
print(i) | 16.2 | 24 | 0.506173 | 15 | 81 | 2.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.283951 | 81 | 5 | 25 | 16.2 | 0.655172 | 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 | 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 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.