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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
761933962c20841e74641e804b978770ef58ecf9 | 5,183 | py | Python | src/spectrum-visualization/spectrum-visualization.py | TheMathematicFanatic/schreier-graphs | fd6449283dfe3245f178bf8548d0ab11aa07c3eb | [
"MIT"
] | null | null | null | src/spectrum-visualization/spectrum-visualization.py | TheMathematicFanatic/schreier-graphs | fd6449283dfe3245f178bf8548d0ab11aa07c3eb | [
"MIT"
] | null | null | null | src/spectrum-visualization/spectrum-visualization.py | TheMathematicFanatic/schreier-graphs | fd6449283dfe3245f178bf8548d0ab11aa07c3eb | [
"MIT"
] | null | null | null | """
For permutation cycles [[0, 1], [0, 2]]
"""
import matplotlib.pyplot as plt
level_1_lambdas = [-2. + 0.j, 4. + 0.j, 2. + 0.j]
level_2_lambdas = [-2. + 0.j, -0.73205081 + 0.j, 4. + 0.j, 2.73205081 + 0.j,
-1.64575131 + 0.j, 3.64575131 + 0.j, 2. + 0.j, 2. + 0.j, 2. + 0.j]
level_3_lambdas = [-2. ... | 38.110294 | 98 | 0.537527 | 884 | 5,183 | 3.004525 | 0.136878 | 0.090361 | 0.057605 | 0.061747 | 0.50866 | 0.491717 | 0.329443 | 0.27372 | 0.210467 | 0.207831 | 0 | 0.23185 | 0.258538 | 5,183 | 135 | 99 | 38.392593 | 0.459277 | 0.105151 | 0 | 0.123596 | 0 | 0 | 0.01642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044944 | false | 0 | 0.011236 | 0 | 0.101124 | 0.011236 | 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 |
761a52eaa6a476d741cc91bb17597f7a1d0c187a | 464 | py | Python | mundo3-EstruturasCompostas/074-MaiorEMenorValoresEmTupla.py | jonasht/CursoEmVideo-CursoDePython3 | a1bbf1fe4226b1828213742ee5a440278d903fd1 | [
"MIT"
] | null | null | null | mundo3-EstruturasCompostas/074-MaiorEMenorValoresEmTupla.py | jonasht/CursoEmVideo-CursoDePython3 | a1bbf1fe4226b1828213742ee5a440278d903fd1 | [
"MIT"
] | null | null | null | mundo3-EstruturasCompostas/074-MaiorEMenorValoresEmTupla.py | jonasht/CursoEmVideo-CursoDePython3 | a1bbf1fe4226b1828213742ee5a440278d903fd1 | [
"MIT"
] | null | null | null | #Exercício Python 074:
# Crie um programa que vai gerar cinco números aleatórios e colocar em uma tupla.
# Depois disso, mostre a listagem de números gerados e também indique o menor e o maior valor que estão na tupla.
from random import randint
n = (randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10), ran... | 30.933333 | 113 | 0.685345 | 84 | 464 | 3.785714 | 0.619048 | 0.125786 | 0.157233 | 0.213836 | 0.157233 | 0.157233 | 0.157233 | 0.157233 | 0.157233 | 0.157233 | 0 | 0.049479 | 0.172414 | 464 | 14 | 114 | 33.142857 | 0.778646 | 0.459052 | 0 | 0 | 0 | 0 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.5 | 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 | 0 | 1 | 0 | 2 |
76228bbae476da6dce0607a0d518f19606d1a707 | 229 | py | Python | client/GUI/encrypting/encrypting.py | Dzemoro/Project_OD | f83f1fa67482a909610f4f33476df56f9046a5c6 | [
"MIT"
] | null | null | null | client/GUI/encrypting/encrypting.py | Dzemoro/Project_OD | f83f1fa67482a909610f4f33476df56f9046a5c6 | [
"MIT"
] | 1 | 2022-01-25T23:04:33.000Z | 2022-01-25T23:04:34.000Z | client/GUI/encrypting/encrypting.py | Dzemoro/Project_OD | f83f1fa67482a909610f4f33476df56f9046a5c6 | [
"MIT"
] | 1 | 2022-02-19T13:19:32.000Z | 2022-02-19T13:19:32.000Z | import enum
class Encrypting:
def __init__(self):
encrypting_type = "" #szyfr wybrany w gui
class Cipher(enum.Enum):
NO_CIPHER = 1
CAESAR = 2
FERNET = 3
POLYBIUS = 4
RAGBABY = 5
| 17.615385 | 50 | 0.572052 | 28 | 229 | 4.464286 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033784 | 0.353712 | 229 | 13 | 51 | 17.615385 | 0.810811 | 0.082969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.9 | 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 |
520f5a41f2a11decc873fe88f3e12f5f3d870325 | 3,021 | py | Python | brainlit/utils/benchmarking_params.py | neurodata/brainl | 2de7b5b161000d4d0957de4e836c9e72f7b62ec0 | [
"Apache-2.0"
] | null | null | null | brainlit/utils/benchmarking_params.py | neurodata/brainl | 2de7b5b161000d4d0957de4e836c9e72f7b62ec0 | [
"Apache-2.0"
] | 6 | 2020-01-31T22:21:10.000Z | 2020-01-31T22:24:59.000Z | brainlit/utils/benchmarking_params.py | neurodata/brainl | 2de7b5b161000d4d0957de4e836c9e72f7b62ec0 | [
"Apache-2.0"
] | null | null | null | import numpy as np
brain_offsets = {
"10-01": [69445.19581378, 12917.40798423, 30199.63896704],
"8-01": [70093.27584462, 15071.5958194, 29306.73645404],
}
vol_offsets = {
"10-01": {
1: [3944.427317, 1689.489974, 2904.058044],
2: [7562.41721, 2517.659516, 6720.099583],
3: [6440.34456... | 42.549296 | 65 | 0.595498 | 407 | 3,021 | 4.410319 | 0.864865 | 0.008914 | 0.012256 | 0.01337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.732166 | 0.225091 | 3,021 | 70 | 66 | 43.157143 | 0.034601 | 0 | 0 | 0 | 0 | 0 | 0.016551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015152 | 0 | 0.015152 | 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 |
521346f781c40b6853373515f5249bc1baa81f71 | 277 | py | Python | pyspedas/version.py | donglai96/pyspedas | 68508e020ca6b1764b8d7ba12d22705c9dc8fac2 | [
"MIT"
] | null | null | null | pyspedas/version.py | donglai96/pyspedas | 68508e020ca6b1764b8d7ba12d22705c9dc8fac2 | [
"MIT"
] | null | null | null | pyspedas/version.py | donglai96/pyspedas | 68508e020ca6b1764b8d7ba12d22705c9dc8fac2 | [
"MIT"
] | null | null | null |
"""
File:
version.py
Description:
pySPEDAS version number.
Returns:
The version number for the current installation.
"""
def version():
import pkg_resources
ver = pkg_resources.get_distribution("pyspedas").version
print("pyspedas version: " + ver)
| 15.388889 | 60 | 0.693141 | 31 | 277 | 6.096774 | 0.612903 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205776 | 277 | 17 | 61 | 16.294118 | 0.859091 | 0.454874 | 0 | 0 | 0 | 0 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0.25 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
522304ad26606201a51e2d5d86daf6992f52eb01 | 672 | py | Python | cride/users/migrations/0006_auto_20191116_0346.py | albertoaldanar/betmatcherAPI | c0590025efd79f4e489f9c9433b17554ea6ba23f | [
"MIT"
] | null | null | null | cride/users/migrations/0006_auto_20191116_0346.py | albertoaldanar/betmatcherAPI | c0590025efd79f4e489f9c9433b17554ea6ba23f | [
"MIT"
] | 7 | 2020-06-05T20:53:27.000Z | 2022-03-11T23:47:12.000Z | cride/users/migrations/0006_auto_20191116_0346.py | albertoaldanar/betmatcherAPI | c0590025efd79f4e489f9c9433b17554ea6ba23f | [
"MIT"
] | null | null | null | # Generated by Django 2.0.9 on 2019-11-16 03:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0005_auto_20191018_1819'),
]
operations = [
migrations.AddField(
model_name='profile',
name='notification_t... | 28 | 108 | 0.625 | 73 | 672 | 5.575342 | 0.575342 | 0.157248 | 0.206388 | 0.132678 | 0.476658 | 0.476658 | 0.476658 | 0.476658 | 0.476658 | 0.476658 | 0 | 0.070281 | 0.258929 | 672 | 23 | 109 | 29.217391 | 0.746988 | 0.066964 | 0 | 0.470588 | 1 | 0 | 0.1776 | 0.0368 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
52274e63a35c24eaa047e39843078d30a10fd29b | 238 | py | Python | src/experiments/mnist_sklearn/data.py | IPL-UV/gaussflow | 49336e5384856a86aaa4ab1a79bda1b8719b939d | [
"MIT"
] | 1 | 2021-02-17T12:07:09.000Z | 2021-02-17T12:07:09.000Z | src/experiments/mnist_sklearn/data.py | IPL-UV/gaussflow | 49336e5384856a86aaa4ab1a79bda1b8719b939d | [
"MIT"
] | null | null | null | src/experiments/mnist_sklearn/data.py | IPL-UV/gaussflow | 49336e5384856a86aaa4ab1a79bda1b8719b939d | [
"MIT"
] | null | null | null | from argparse import ArgumentParser
def add_data_args(parent_parser):
parser = ArgumentParser(parents=[parent_parser], add_help=False)
# data args
parser.add_argument("--batch_size", type=int, default=128)
return parser
| 26.444444 | 68 | 0.752101 | 31 | 238 | 5.548387 | 0.677419 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014851 | 0.151261 | 238 | 8 | 69 | 29.75 | 0.836634 | 0.037815 | 0 | 0 | 0 | 0 | 0.052863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
522aa1d9926b1ebc23ab672cd5466bbf140cf8fa | 7,133 | py | Python | src/api_wrappers/generateRAPIWrappers.py | psung/dx-toolkit | f3a430c5e24184215eb4a9883a179edf07bfa08b | [
"Apache-2.0"
] | null | null | null | src/api_wrappers/generateRAPIWrappers.py | psung/dx-toolkit | f3a430c5e24184215eb4a9883a179edf07bfa08b | [
"Apache-2.0"
] | null | null | null | src/api_wrappers/generateRAPIWrappers.py | psung/dx-toolkit | f3a430c5e24184215eb4a9883a179edf07bfa08b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python2.7
#
# Copyright (C) 2013-2014 DNAnexus, Inc.
#
# This file is part of dx-toolkit (DNAnexus platform client libraries).
#
# 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 Licens... | 45.433121 | 167 | 0.627366 | 864 | 7,133 | 5.122685 | 0.234954 | 0.020334 | 0.024401 | 0.016268 | 0.667646 | 0.639404 | 0.639404 | 0.613647 | 0.582919 | 0.563488 | 0 | 0.003142 | 0.241413 | 7,133 | 156 | 168 | 45.724359 | 0.814822 | 0.09421 | 0 | 0.681818 | 0 | 0.022727 | 0.733395 | 0.159373 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.022727 | 0.007576 | null | null | 0.030303 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
522d8a79cd83ff98314e23d6eda7fc455ae2b429 | 1,287 | py | Python | farmers/api/market/migrations/0001_initial.py | BuildForSDG/Farmers-Edge-backend | 4924c7f73f3e84698fde6a3d8a893c1ca282ed88 | [
"MIT"
] | 2 | 2020-05-17T18:20:50.000Z | 2021-04-20T21:42:43.000Z | farmers/api/market/migrations/0001_initial.py | BuildForSDG/Farmers-Edge-backend | 4924c7f73f3e84698fde6a3d8a893c1ca282ed88 | [
"MIT"
] | 19 | 2020-05-14T14:36:31.000Z | 2022-03-12T00:34:40.000Z | farmers/api/market/migrations/0001_initial.py | BuildForSDG/Farmers-Edge-backend | 4924c7f73f3e84698fde6a3d8a893c1ca282ed88 | [
"MIT"
] | 1 | 2020-05-20T20:09:35.000Z | 2020-05-20T20:09:35.000Z | # Generated by Django 3.0.6 on 2020-09-06 20:21
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Order',
fields=[
('id', models.AutoField(au... | 35.75 | 114 | 0.569542 | 127 | 1,287 | 5.661417 | 0.417323 | 0.100139 | 0.175243 | 0.233658 | 0.585535 | 0.581363 | 0.581363 | 0.383866 | 0.383866 | 0.383866 | 0 | 0.042763 | 0.291375 | 1,287 | 35 | 115 | 36.771429 | 0.745614 | 0.034965 | 0 | 0.357143 | 1 | 0 | 0.079032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
52349beaddfa05820a1b11d243b14d4f20968f6e | 2,248 | py | Python | wiki/views.py | noltron000/make-wiki | 1e35c665a636cadcc97ff9975f662ddaf056df8c | [
"MIT"
] | null | null | null | wiki/views.py | noltron000/make-wiki | 1e35c665a636cadcc97ff9975f662ddaf056df8c | [
"MIT"
] | 5 | 2021-03-19T08:24:54.000Z | 2021-06-10T19:44:27.000Z | wiki/views.py | noltron000/make-wiki | 1e35c665a636cadcc97ff9975f662ddaf056df8c | [
"MIT"
] | null | null | null | from wiki.models import Page
from django.shortcuts import render
from django.views.generic.list import ListView
from django.views.generic.detail import DetailView
class PageList(ListView):
'''
Renders a list of all Pages.
==CHALLENGES==
1. GET: Have a homepage showing all Pages in your wiki.
2. Add a descriptiv... | 27.753086 | 59 | 0.687722 | 329 | 2,248 | 4.671733 | 0.382979 | 0.018217 | 0.019519 | 0.028627 | 0.321405 | 0.321405 | 0.217306 | 0.173064 | 0.124919 | 0.063761 | 0 | 0.005017 | 0.201957 | 2,248 | 80 | 60 | 28.1 | 0.851728 | 0.734875 | 0 | 0.2 | 0 | 0 | 0.045 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.15 | false | 0.05 | 0.2 | 0 | 0.65 | 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 |
5240601439bbe546c3b18d76bac08ee7506a51a6 | 8,327 | py | Python | bin/SchemaUpgrade/versions/f33e544af3e0_version_0_66_001.py | karlam123/DBImport | ebaf3f909841276d289bfb2f6eec0ecafa8395cf | [
"Apache-2.0"
] | 10 | 2019-05-22T04:17:02.000Z | 2021-12-05T16:54:08.000Z | bin/SchemaUpgrade/versions/f33e544af3e0_version_0_66_001.py | karlam123/DBImport | ebaf3f909841276d289bfb2f6eec0ecafa8395cf | [
"Apache-2.0"
] | 73 | 2019-05-22T04:19:24.000Z | 2022-01-18T05:09:26.000Z | bin/SchemaUpgrade/versions/f33e544af3e0_version_0_66_001.py | BerryOsterlund/DBImport | aa5f4599834985266fc0bf211f9bb8b348f6ae8e | [
"Apache-2.0"
] | 5 | 2020-05-19T23:46:56.000Z | 2021-11-12T12:02:37.000Z | """Version 0.66.001
Revision ID: f33e544af3e0
Revises: 836595368d1e
Create Date: 2020-09-25 05:52:02.580943
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
from sqlalchemy import Enum
# revision identifiers, used by Alembic.
revision = 'f33e544af3e0'
down_revision = '83659536... | 66.616 | 276 | 0.786238 | 1,018 | 8,327 | 6.277996 | 0.126719 | 0.046941 | 0.045063 | 0.041621 | 0.765764 | 0.699734 | 0.687999 | 0.630105 | 0.523392 | 0.468784 | 0 | 0.016251 | 0.091029 | 8,327 | 124 | 277 | 67.153226 | 0.828115 | 0.034226 | 0 | 0.326087 | 0 | 0.152174 | 0.630091 | 0.179225 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.304348 | 0 | 0.326087 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
525b6d2a714965cf890c7fc7959bcc71d559d4b3 | 187 | py | Python | tests/test_seline.py | iivek/pymorph | aa73dddcc3869ec9b85b85e6b40fad3bd07229a5 | [
"BSD-3-Clause"
] | null | null | null | tests/test_seline.py | iivek/pymorph | aa73dddcc3869ec9b85b85e6b40fad3bd07229a5 | [
"BSD-3-Clause"
] | null | null | null | tests/test_seline.py | iivek/pymorph | aa73dddcc3869ec9b85b85e6b40fad3bd07229a5 | [
"BSD-3-Clause"
] | null | null | null | import pymorph
import numpy as np
def test_seline_len():
for angle in (0, 45, -45, 90, -90, 180):
for w in range(1,7):
assert pymorph.seline(w, angle).sum() == w
| 23.375 | 54 | 0.588235 | 32 | 187 | 3.375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 0.272727 | 187 | 7 | 55 | 26.714286 | 0.691176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 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 |
526a750ca8417156575545a6ba62ad719cc79049 | 2,893 | py | Python | admin_tests/registration_providers/test_views.py | tsukaeru/RDM-osf.io | 2dc3e539322b6110e51772f8bd25ebdeb8e12d0e | [
"Apache-2.0"
] | 11 | 2018-12-11T16:39:40.000Z | 2022-02-26T09:51:32.000Z | admin_tests/registration_providers/test_views.py | tsukaeru/RDM-osf.io | 2dc3e539322b6110e51772f8bd25ebdeb8e12d0e | [
"Apache-2.0"
] | 80 | 2015-02-25T15:12:15.000Z | 2015-06-11T18:44:55.000Z | admin_tests/registration_providers/test_views.py | tsukaeru/RDM-osf.io | 2dc3e539322b6110e51772f8bd25ebdeb8e12d0e | [
"Apache-2.0"
] | 16 | 2018-07-09T01:44:51.000Z | 2021-06-30T01:57:16.000Z | import pytest
from django.test import RequestFactory
from osf_tests.factories import (
AuthUserFactory,
RegistrationProviderFactory,
)
from osf.models import RegistrationProvider
from admin_tests.utilities import setup_view, setup_form_view
from admin.registration_providers import views
from admin.registratio... | 26.787037 | 80 | 0.730038 | 269 | 2,893 | 7.710037 | 0.211896 | 0.094021 | 0.115718 | 0.081003 | 0.456606 | 0.449855 | 0.449855 | 0.418997 | 0.418997 | 0.405497 | 0 | 0 | 0.190114 | 2,893 | 107 | 81 | 27.037383 | 0.88519 | 0 | 0 | 0.518519 | 0 | 0 | 0.028344 | 0.024888 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185185 | false | 0 | 0.098765 | 0.111111 | 0.530864 | 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 |
527401c7ecc0e71c2193af92d4c9eb5758913f8a | 419 | py | Python | Tutorial_Kivy_Codemy/codemy_7_Cor_BackGround_Labels.py | LivioAlvarenga/Tutoriais_Kivy_KivyMD | b6225578e764eaf0312afafbb2f76dc06f92342d | [
"MIT"
] | null | null | null | Tutorial_Kivy_Codemy/codemy_7_Cor_BackGround_Labels.py | LivioAlvarenga/Tutoriais_Kivy_KivyMD | b6225578e764eaf0312afafbb2f76dc06f92342d | [
"MIT"
] | null | null | null | Tutorial_Kivy_Codemy/codemy_7_Cor_BackGround_Labels.py | LivioAlvarenga/Tutoriais_Kivy_KivyMD | b6225578e764eaf0312afafbb2f76dc06f92342d | [
"MIT"
] | null | null | null | # https://www.youtube.com/watch?v=Gt0_BuJmJeI&list=PLCC34OHNcOtpz7PJQ7Tv7hqFBP_xDDjqg&index=10
from kivy.app import App
from kivy.uix.widget import Widget
from kivy.lang import Builder
Builder.load_file('codemy_7_Cor_BackGround_Labels.kv')
class MyLayout(Widget):
pass
class Codemy_Tutorial_App(App):
def b... | 19.952381 | 94 | 0.75895 | 59 | 419 | 5.067797 | 0.694915 | 0.080268 | 0.113712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024862 | 0.136038 | 419 | 20 | 95 | 20.95 | 0.801105 | 0.21957 | 0 | 0 | 0 | 0 | 0.126154 | 0.101538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0.272727 | 0.090909 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
529511e95df499632eec485a1eb6fff4e330ca94 | 4,764 | py | Python | yaaf/agents/Agent.py | ilvieira/yaaf | 931bde3dbad521bf5fb2744793f54791ca7add11 | [
"Apache-2.0"
] | 18 | 2019-06-01T17:17:25.000Z | 2022-01-21T16:09:20.000Z | yaaf/agents/Agent.py | ilvieira/yaaf | 931bde3dbad521bf5fb2744793f54791ca7add11 | [
"Apache-2.0"
] | null | null | null | yaaf/agents/Agent.py | ilvieira/yaaf | 931bde3dbad521bf5fb2744793f54791ca7add11 | [
"Apache-2.0"
] | 2 | 2021-02-15T10:11:41.000Z | 2021-03-20T21:38:34.000Z | from abc import ABC, abstractmethod
from multiprocessing import Value
from numpy.core.multiarray import ndarray
from yaaf import Timestep
from yaaf import mkdir, isdir
from yaaf.policies import action_from_policy
class Agent(ABC):
"""
Base agent class.
Represents the concept of an autonomous agent.
... | 33.083333 | 125 | 0.620907 | 527 | 4,764 | 5.552182 | 0.290323 | 0.043746 | 0.027683 | 0.055366 | 0.254614 | 0.203008 | 0.172249 | 0.084757 | 0.049214 | 0.049214 | 0 | 0.000589 | 0.286944 | 4,764 | 143 | 126 | 33.314685 | 0.860759 | 0.491604 | 0 | 0.166667 | 0 | 0 | 0.026838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.270833 | false | 0 | 0.125 | 0 | 0.541667 | 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 |
bfe0daff811338a94c65fb9cf83c24473d841d0f | 147 | py | Python | coloripy/__init__.py | ajshajib/coloripy | 136bad593b3914a5c33dec069df8bf5a44a5815d | [
"MIT"
] | 3 | 2020-06-14T13:12:33.000Z | 2022-01-03T21:41:16.000Z | coloripy/__init__.py | ajshajib/coloripy | 136bad593b3914a5c33dec069df8bf5a44a5815d | [
"MIT"
] | null | null | null | coloripy/__init__.py | ajshajib/coloripy | 136bad593b3914a5c33dec069df8bf5a44a5815d | [
"MIT"
] | null | null | null | __author__ = 'Anowar J. Shajib'
__email__ = 'ajshajib@gmail.com'
__version__ = '0.0.0'
from .coloripy import MshColorMap, get_msh_cmap, skew_scale | 29.4 | 59 | 0.768707 | 21 | 147 | 4.666667 | 0.904762 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0.115646 | 147 | 5 | 59 | 29.4 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.263514 | 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 |
bff44ac1bedd3ec1303ed3977e034d1a84e34f27 | 4,333 | py | Python | tests/data/test_prepro.py | gony0/buffalo | f93dc4f95a526ec711cd605cc39c6ff347d976ed | [
"Apache-2.0"
] | 577 | 2019-08-28T19:56:43.000Z | 2022-03-22T19:44:58.000Z | tests/data/test_prepro.py | gony0/buffalo | f93dc4f95a526ec711cd605cc39c6ff347d976ed | [
"Apache-2.0"
] | 35 | 2019-08-28T23:48:58.000Z | 2022-02-10T02:13:47.000Z | tests/data/test_prepro.py | gony0/buffalo | f93dc4f95a526ec711cd605cc39c6ff347d976ed | [
"Apache-2.0"
] | 128 | 2019-08-28T21:41:10.000Z | 2022-02-21T17:46:17.000Z | # -*- coding: utf-8 -*-
import os
import math
import unittest
import tempfile
from buffalo.misc import aux
from buffalo.data.mm import MatrixMarket, MatrixMarketOptions
class TestPrepro(unittest.TestCase):
@classmethod
def setUpClass(cls):
with tempfile.NamedTemporaryFile(mode='w', delete=False) as f... | 39.036036 | 123 | 0.585968 | 579 | 4,333 | 4.267703 | 0.2038 | 0.133549 | 0.076487 | 0.087414 | 0.710643 | 0.710643 | 0.681101 | 0.681101 | 0.681101 | 0.681101 | 0 | 0.025665 | 0.262636 | 4,333 | 110 | 124 | 39.390909 | 0.747731 | 0.004847 | 0 | 0.587629 | 0 | 0.010309 | 0.085151 | 0.007193 | 0 | 0 | 0 | 0 | 0.278351 | 1 | 0.061856 | false | 0 | 0.061856 | 0 | 0.134021 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
870701b8c2d6cb7a222e5d18a927138b116743a7 | 682 | py | Python | image_classif/app_image_classif_model.py | icalciu/apps | 2cfdaa9aa88b4d770b8e7c92ad86470c795bc963 | [
"MIT"
] | null | null | null | image_classif/app_image_classif_model.py | icalciu/apps | 2cfdaa9aa88b4d770b8e7c92ad86470c795bc963 | [
"MIT"
] | null | null | null | image_classif/app_image_classif_model.py | icalciu/apps | 2cfdaa9aa88b4d770b8e7c92ad86470c795bc963 | [
"MIT"
] | null | null | null | import os
import sys
import random
import subprocess
import time
import turicreate as tc
####### Training
# Run app_image_classif_create.py first
######################
tracker='sudo /home/icalciu/ccfpga/peaberry/src/pbsim-ptrace/tracker'
######################
tc.config.set_runtime_config('TURI_DEFAULT_NUM_PYLAM... | 20.666667 | 69 | 0.708211 | 100 | 682 | 4.7 | 0.62 | 0.038298 | 0.051064 | 0.068085 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0033 | 0.111437 | 682 | 32 | 70 | 21.3125 | 0.772277 | 0.178886 | 0 | 0 | 0 | 0 | 0.335317 | 0.257937 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
870a80eb673b308614d3b205afa18c3c3470331b | 350 | py | Python | warmup/hr_is_fibo.py | jamesandreou/hackerrank-solutions | c5c6d7537a50ce146bb8de16f30ce0e42be16047 | [
"MIT"
] | null | null | null | warmup/hr_is_fibo.py | jamesandreou/hackerrank-solutions | c5c6d7537a50ce146bb8de16f30ce0e42be16047 | [
"MIT"
] | null | null | null | warmup/hr_is_fibo.py | jamesandreou/hackerrank-solutions | c5c6d7537a50ce146bb8de16f30ce0e42be16047 | [
"MIT"
] | null | null | null | # hackerrank - Algorithms: Is Fibo
# Written by James Andreou, University of Waterloo
import math
def perfect_square(n):
r = math.sqrt(n)
return int(r + 0.5) ** 2 == n
T = int(raw_input())
for t in range(0, T):
N = int(raw_input())**2 * 5
if perfect_square(N+4) or perfect_square(N-4):
print 'IsFi... | 21.875 | 50 | 0.642857 | 59 | 350 | 3.728814 | 0.627119 | 0.177273 | 0.190909 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.217143 | 350 | 16 | 51 | 21.875 | 0.773723 | 0.231429 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.181818 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
870d3eec9ff961adaf5073fd937fc968532264af | 3,642 | py | Python | oidc_provider/lib/utils/common.py | vonfalk/django-oidc-provider | 169e0d56fc3b77c6fe893fdc7bb3027600cc9b63 | [
"MIT"
] | null | null | null | oidc_provider/lib/utils/common.py | vonfalk/django-oidc-provider | 169e0d56fc3b77c6fe893fdc7bb3027600cc9b63 | [
"MIT"
] | null | null | null | oidc_provider/lib/utils/common.py | vonfalk/django-oidc-provider | 169e0d56fc3b77c6fe893fdc7bb3027600cc9b63 | [
"MIT"
] | null | null | null | from hashlib import sha224
import django
from django.http import HttpResponse
from oidc_provider import settings
if django.VERSION >= (1, 11):
from django.urls import reverse
else:
from django.core.urlresolvers import reverse
def redirect(uri):
"""
Custom Response object for redirecting to a Non-H... | 27.383459 | 95 | 0.676277 | 483 | 3,642 | 4.925466 | 0.325052 | 0.058848 | 0.018495 | 0.023539 | 0.13451 | 0.123161 | 0.055486 | 0.026902 | 0 | 0 | 0 | 0.006151 | 0.241076 | 3,642 | 132 | 96 | 27.590909 | 0.854559 | 0.461834 | 0 | 0.090909 | 0 | 0 | 0.123248 | 0.060164 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204545 | false | 0.045455 | 0.136364 | 0 | 0.568182 | 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 |
87104aba30d013bf50fd9472b4c64b450d7f362d | 192 | py | Python | PSRunner.py | twtg93/PowerScript | 9bc5cc9b84c7cdb9ee278dd0a25d7715bda75cf7 | [
"MIT"
] | 1 | 2021-06-03T17:39:48.000Z | 2021-06-03T17:39:48.000Z | PSRunner.py | twtg93/PowerScript | 9bc5cc9b84c7cdb9ee278dd0a25d7715bda75cf7 | [
"MIT"
] | null | null | null | PSRunner.py | twtg93/PowerScript | 9bc5cc9b84c7cdb9ee278dd0a25d7715bda75cf7 | [
"MIT"
] | null | null | null | from PowerScriptexec import run_code
from PowerScriptenv import Env
# Read & Open PowerScript files.
with open("examples/name.ps") as f:
code = f.read()
env = Env()
run_code(env, code)
| 17.454545 | 36 | 0.723958 | 29 | 192 | 4.724138 | 0.586207 | 0.10219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 192 | 10 | 37 | 19.2 | 0.861635 | 0.15625 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
872e1aac23d04b306ffe8c3898ce75501d1c58ff | 12,031 | py | Python | google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v4/proto/resources/product_bidding_category_constant.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from g... | 68.748571 | 1,956 | 0.811238 | 1,503 | 12,031 | 6.139055 | 0.157685 | 0.042918 | 0.076298 | 0.054189 | 0.67335 | 0.610491 | 0.507315 | 0.480221 | 0.39948 | 0.337813 | 0 | 0.041682 | 0.090682 | 12,031 | 174 | 1,957 | 69.143678 | 0.801737 | 0.028427 | 0 | 0.296053 | 1 | 0.013158 | 0.431947 | 0.318781 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.072368 | 0 | 0.072368 | 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 |
872f24a9f1748544c0ae2ac0d6f70f8ed7c1dc7b | 485 | py | Python | python/ray/ml/preprocessors/__init__.py | siddgoel/ray | 7f3031f451de410b71a5fcb18e04452bfa7351d6 | [
"Apache-2.0"
] | 22 | 2018-05-08T05:52:34.000Z | 2020-04-01T10:09:55.000Z | python/ray/ml/preprocessors/__init__.py | siddgoel/ray | 7f3031f451de410b71a5fcb18e04452bfa7351d6 | [
"Apache-2.0"
] | 51 | 2018-05-17T05:55:28.000Z | 2020-03-18T06:49:49.000Z | python/ray/ml/preprocessors/__init__.py | siddgoel/ray | 7f3031f451de410b71a5fcb18e04452bfa7351d6 | [
"Apache-2.0"
] | 10 | 2018-04-27T10:50:59.000Z | 2020-02-24T02:41:43.000Z | from ray.ml.preprocessors.batch_mapper import BatchMapper
from ray.ml.preprocessors.chain import Chain
from ray.ml.preprocessors.encoder import OrdinalEncoder, OneHotEncoder, LabelEncoder
from ray.ml.preprocessors.imputer import SimpleImputer
from ray.ml.preprocessors.scaler import StandardScaler, MinMaxScaler
__all__... | 28.529412 | 84 | 0.76701 | 48 | 485 | 7.645833 | 0.395833 | 0.095368 | 0.122616 | 0.299728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140206 | 485 | 16 | 85 | 30.3125 | 0.880096 | 0 | 0 | 0 | 0 | 0 | 0.193814 | 0 | 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 |
872f98cf47eef197a5d79726f16c6d8e2cffb79b | 2,947 | py | Python | FootGramBot/modules/helpers/database.py | ssiyad/FootGramBot | bd14b2e1bfa2a7d50f22180c5c62eb9e556a6444 | [
"MIT"
] | 2 | 2020-01-19T11:44:20.000Z | 2021-12-12T18:40:17.000Z | FootGramBot/modules/helpers/database.py | ssiyad/FootGramBot | bd14b2e1bfa2a7d50f22180c5c62eb9e556a6444 | [
"MIT"
] | null | null | null | FootGramBot/modules/helpers/database.py | ssiyad/FootGramBot | bd14b2e1bfa2a7d50f22180c5c62eb9e556a6444 | [
"MIT"
] | 1 | 2019-12-15T01:39:18.000Z | 2019-12-15T01:39:18.000Z | import datetime
import peewee
db = peewee.SqliteDatabase("db.db")
class Match(peewee.Model):
id = peewee.PrimaryKeyField()
match_id = peewee.IntegerField(unique=True)
comp = peewee.CharField()
matchday = peewee.IntegerField()
date_utc = peewee.CharField()
status = peewee.CharField()
stag... | 27.287037 | 63 | 0.68205 | 330 | 2,947 | 5.990909 | 0.218182 | 0.242792 | 0.100152 | 0.118361 | 0.507334 | 0.261002 | 0.17653 | 0.17653 | 0.17653 | 0.17653 | 0 | 0 | 0.20224 | 2,947 | 107 | 64 | 27.542056 | 0.840919 | 0.004411 | 0 | 0.310345 | 0 | 0 | 0.011255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022989 | 0 | 0.816092 | 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 |
873db35964cb2109d64b02b821d39748400ca72b | 150 | py | Python | vcontrol/cli/providers/list_all.py | dannypadilla/vcontrol | fe929e6138ec87e23cabd69b5c97ddb29603d0c6 | [
"Apache-2.0"
] | 5 | 2016-08-01T23:25:18.000Z | 2019-06-02T00:10:32.000Z | vcontrol/cli/providers/list_all.py | dannypadilla/vcontrol | fe929e6138ec87e23cabd69b5c97ddb29603d0c6 | [
"Apache-2.0"
] | 120 | 2016-08-02T02:00:31.000Z | 2017-11-01T02:38:11.000Z | vcontrol/cli/providers/list_all.py | dannypadilla/vcontrol | fe929e6138ec87e23cabd69b5c97ddb29603d0c6 | [
"Apache-2.0"
] | 15 | 2016-08-01T23:26:00.000Z | 2019-11-09T13:17:54.000Z | import requests
class ListProvidersC:
def list_all(self, args, daemon):
r = requests.get(daemon+"/providers/list")
return r.text
| 21.428571 | 50 | 0.666667 | 19 | 150 | 5.210526 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 150 | 6 | 51 | 25 | 0.853448 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
873ff3f2f1aa7b6a51e18d300b678be4aed6a4d1 | 426 | py | Python | oarepo_taxonomies/facets.py | sulfadimetoxin/oarepo-taxonomies | b8385173614aa711a5e316c8fc24ac065b48aa3d | [
"MIT"
] | null | null | null | oarepo_taxonomies/facets.py | sulfadimetoxin/oarepo-taxonomies | b8385173614aa711a5e316c8fc24ac065b48aa3d | [
"MIT"
] | 9 | 2020-08-24T08:49:15.000Z | 2021-08-05T16:45:23.000Z | oarepo_taxonomies/facets.py | sulfadimetoxin/oarepo-taxonomies | b8385173614aa711a5e316c8fc24ac065b48aa3d | [
"MIT"
] | 1 | 2020-08-20T18:39:43.000Z | 2020-08-20T18:39:43.000Z | def taxonomy_term_facet(field, order='desc', size=100):
return {
"nested": {
"path": field
},
"aggs": {
"links": {
"terms": {
"field": f"{field}.links.self",
'size': size,
... | 28.4 | 55 | 0.286385 | 26 | 426 | 4.576923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.579812 | 426 | 15 | 56 | 28.4 | 0.648045 | 0 | 0 | 0 | 0 | 0 | 0.154567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0.066667 | 0.133333 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
8750ef6c1f8df8e5cfed4cf40f5f33bfd4632996 | 691 | py | Python | models.py | dragonfi/tutorboard | 0ab324c0950db0bdfdc1cc8f4af4b472739f7d4c | [
"MIT"
] | null | null | null | models.py | dragonfi/tutorboard | 0ab324c0950db0bdfdc1cc8f4af4b472739f7d4c | [
"MIT"
] | null | null | null | models.py | dragonfi/tutorboard | 0ab324c0950db0bdfdc1cc8f4af4b472739f7d4c | [
"MIT"
] | null | null | null | from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
class Task(db.Model):
id = db.Column(db.Integer, primary_key=True)
description = db.Column(db.Text, nullable=False)
solutions = db.relationship('Solution', backref='task', lazy=True)
def __repr__(self):
return 'Task({},"{}...")'.forma... | 30.043478 | 77 | 0.654124 | 89 | 691 | 4.932584 | 0.337079 | 0.091116 | 0.113895 | 0.082005 | 0.398633 | 0.355353 | 0.355353 | 0.182232 | 0.182232 | 0.182232 | 0 | 0.006981 | 0.170767 | 691 | 22 | 78 | 31.409091 | 0.759162 | 0 | 0 | 0.4 | 0 | 0 | 0.086831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0.133333 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
87653949be2b4676bd9984a9e858c1f1c37db637 | 226 | py | Python | setup.py | prise6/lincoln-psg-challenge | 5810f51ade6a0d73d5b2ed6e9ff5143fe88701d8 | [
"MIT"
] | null | null | null | setup.py | prise6/lincoln-psg-challenge | 5810f51ade6a0d73d5b2ed6e9ff5143fe88701d8 | [
"MIT"
] | 1 | 2021-03-25T23:11:26.000Z | 2021-03-25T23:11:26.000Z | setup.py | prise6/lincoln-psg-challenge | 5810f51ade6a0d73d5b2ed6e9ff5143fe88701d8 | [
"MIT"
] | null | null | null | from setuptools import find_packages, setup
setup(
name='src',
packages=find_packages(),
version='0.1.0',
description='Tentative pour repondre au challenge psh lincoln',
author='fvi',
license='MIT',
)
| 20.545455 | 67 | 0.676991 | 28 | 226 | 5.392857 | 0.821429 | 0.15894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.19469 | 226 | 10 | 68 | 22.6 | 0.813187 | 0 | 0 | 0 | 0 | 0 | 0.274336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
87675a6355b680d0db60fc1d904549ff0e81e47c | 217,622 | py | Python | pysnmp-with-texts/XYLAN-CSM-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/XYLAN-CSM-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/XYLAN-CSM-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module XYLAN-CSM-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XYLAN-CSM-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:44:56 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 201... | 187.605172 | 13,661 | 0.798582 | 26,148 | 217,622 | 6.645633 | 0.054039 | 0.051516 | 0.090154 | 0.009046 | 0.601928 | 0.502377 | 0.479553 | 0.461184 | 0.444254 | 0.401513 | 0 | 0.046763 | 0.095772 | 217,622 | 1,159 | 13,662 | 187.767041 | 0.836305 | 0.00147 | 0 | 0 | 0 | 0.126846 | 0.365382 | 0.027065 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005213 | 0.00695 | 0 | 0.008688 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
8769ba1e000c17f1074edf2f90c4ce691acd0ade | 76 | py | Python | TSIS_1/topic_1/e.py | GMKanat/PP2_spring | 423617d559c5690f689741aaa152b9fee5082baf | [
"MIT"
] | null | null | null | TSIS_1/topic_1/e.py | GMKanat/PP2_spring | 423617d559c5690f689741aaa152b9fee5082baf | [
"MIT"
] | null | null | null | TSIS_1/topic_1/e.py | GMKanat/PP2_spring | 423617d559c5690f689741aaa152b9fee5082baf | [
"MIT"
] | null | null | null | import math
s = 0
for i in range(1, 11):
s += 1/(i*i)
print(math.sqrt(6*s)) | 15.2 | 22 | 0.592105 | 19 | 76 | 2.368421 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.184211 | 76 | 5 | 23 | 15.2 | 0.629032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
87720964d62bb2a24bd03a50a485513a7385c4e9 | 237 | py | Python | solutions/958_check_completeness_of_a_binary_tree.py | YiqunPeng/leetcode_pro | 7e6376984f9baec49a5e827d98330fe3d1b656f0 | [
"MIT"
] | null | null | null | solutions/958_check_completeness_of_a_binary_tree.py | YiqunPeng/leetcode_pro | 7e6376984f9baec49a5e827d98330fe3d1b656f0 | [
"MIT"
] | null | null | null | solutions/958_check_completeness_of_a_binary_tree.py | YiqunPeng/leetcode_pro | 7e6376984f9baec49a5e827d98330fe3d1b656f0 | [
"MIT"
] | null | null | null | class Solution:
def isCompleteTree(self, root: TreeNode) -> bool:
q = [root]
i = 0
while q[i]:
q.append(q[i].left)
q.append(q[i].right)
i += 1
return not any(q[i:])
| 23.7 | 53 | 0.451477 | 32 | 237 | 3.34375 | 0.59375 | 0.074766 | 0.149533 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014184 | 0.405063 | 237 | 9 | 54 | 26.333333 | 0.744681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5e404d129d5d22feb5517829a79621dcc5b12ab8 | 238 | py | Python | output/models/nist_data/list_pkg/date/schema_instance/nistschema_sv_iv_list_date_max_length_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/list_pkg/date/schema_instance/nistschema_sv_iv_list_date_max_length_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/list_pkg/date/schema_instance/nistschema_sv_iv_list_date_max_length_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.list_pkg.date.schema_instance.nistschema_sv_iv_list_date_max_length_3_xsd.nistschema_sv_iv_list_date_max_length_3 import NistschemaSvIvListDateMaxLength3
__all__ = [
"NistschemaSvIvListDateMaxLength3",
]
| 39.666667 | 182 | 0.886555 | 31 | 238 | 6.096774 | 0.645161 | 0.126984 | 0.148148 | 0.190476 | 0.338624 | 0.338624 | 0.338624 | 0.338624 | 0 | 0 | 0 | 0.017857 | 0.058824 | 238 | 5 | 183 | 47.6 | 0.825893 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 0.134454 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5e53d71d9e98a6f966c437052f354783b4dab611 | 1,120 | py | Python | Flask/NationalEducationRadio/NationalEducationRadio/models/units/login.py | Jessieluu/WIRL_national_education_radio | edb8b63c25bc7bd5a9a7d074173f02913971f8a7 | [
"MIT"
] | null | null | null | Flask/NationalEducationRadio/NationalEducationRadio/models/units/login.py | Jessieluu/WIRL_national_education_radio | edb8b63c25bc7bd5a9a7d074173f02913971f8a7 | [
"MIT"
] | null | null | null | Flask/NationalEducationRadio/NationalEducationRadio/models/units/login.py | Jessieluu/WIRL_national_education_radio | edb8b63c25bc7bd5a9a7d074173f02913971f8a7 | [
"MIT"
] | null | null | null | from flask import redirect, url_for, session
from functools import wraps
from NationalEducationRadio.models.db.User import AccessLevel
def permission_required(permissions):
def decorator(f):
@wraps(f)
def decorated_function(*args, **kwargs):
"""
使用and判斷權限
"""
... | 22.857143 | 61 | 0.608929 | 118 | 1,120 | 5.661017 | 0.372881 | 0.107784 | 0.062874 | 0.076347 | 0.308383 | 0.308383 | 0.308383 | 0.308383 | 0.308383 | 0.215569 | 0 | 0.002494 | 0.283929 | 1,120 | 48 | 62 | 23.333333 | 0.830424 | 0.121429 | 0 | 0.095238 | 0 | 0 | 0.035108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.809524 | 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 |
5e55ca32c34d1c633e52da2ffb12b3099a0896f8 | 863 | py | Python | class_inheritance/class/test_class.py | M1NH42/py | 792616d08013b46011db8ed6b56e40b7d9859ae2 | [
"MIT"
] | null | null | null | class_inheritance/class/test_class.py | M1NH42/py | 792616d08013b46011db8ed6b56e40b7d9859ae2 | [
"MIT"
] | null | null | null | class_inheritance/class/test_class.py | M1NH42/py | 792616d08013b46011db8ed6b56e40b7d9859ae2 | [
"MIT"
] | null | null | null | # Create a class called Animal that accepts two numbers as inputs and assigns
# them respectively to two instance variables: arms and legs. Create an instance
# method called limbs that, when called, returns the total number of limbs the animal has.
# To the variable name spider, assign an instance of Animal that ha... | 33.192308 | 98 | 0.723059 | 130 | 863 | 4.769231 | 0.415385 | 0.033871 | 0.041935 | 0.054839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.221321 | 863 | 26 | 99 | 33.192308 | 0.916667 | 0.689455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.444444 | 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 | 0 | 1 | 0 | 0 | 0 | 2 |
5e5937e25ed457e20ca066d35654ff4992167667 | 943 | py | Python | tools/launch.py | niqbal996/HRNet-Semantic-Segmentation | ad9a80af61eb92e8ba6ef7bcefefe92b2f46bfc3 | [
"MIT"
] | null | null | null | tools/launch.py | niqbal996/HRNet-Semantic-Segmentation | ad9a80af61eb92e8ba6ef7bcefefe92b2f46bfc3 | [
"MIT"
] | null | null | null | tools/launch.py | niqbal996/HRNet-Semantic-Segmentation | ad9a80af61eb92e8ba6ef7bcefefe92b2f46bfc3 | [
"MIT"
] | null | null | null | import os
import sys
import tempfile
import torch
import torch.distributed as dist
import torch.nn as nn
import torch.optim as optim
import torch.multiprocessing as mp
from torch.nn.parallel import DistributedDataParallel as DDP
# On Windows platform, the torch.distributed package only
# supports Gloo backend, FileSt... | 26.942857 | 69 | 0.750795 | 136 | 943 | 5 | 0.477941 | 0.080882 | 0.070588 | 0.058824 | 0.094118 | 0.094118 | 0.094118 | 0 | 0 | 0 | 0 | 0.006266 | 0.153765 | 943 | 35 | 70 | 26.942857 | 0.845865 | 0.436904 | 0 | 0 | 0 | 0 | 0.092486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.529412 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
5e647805b46cfd536f541c31a15bb537e5294f3d | 334 | py | Python | wave/transformold/eq/filter/vec.py | jedhsu/wave | a05d8f4b0a96722bdc2f5a514646c7a44681982b | [
"Apache-2.0"
] | null | null | null | wave/transformold/eq/filter/vec.py | jedhsu/wave | a05d8f4b0a96722bdc2f5a514646c7a44681982b | [
"Apache-2.0"
] | null | null | null | wave/transformold/eq/filter/vec.py | jedhsu/wave | a05d8f4b0a96722bdc2f5a514646c7a44681982b | [
"Apache-2.0"
] | null | null | null | """
Base Vector class (wrapper around np).
"""
from __future__ import annotations
from typing import Sequence, TypeVar
import numpy as np
from ..base import Frequency
T = TypeVar("T")
usize = int
class Vector(Sequence, np.ndarray):
def __init__(self, arraylike: Sequence[T]):
super(Vector, self).__init... | 17.578947 | 47 | 0.718563 | 44 | 334 | 5.181818 | 0.568182 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173653 | 334 | 18 | 48 | 18.555556 | 0.826087 | 0.113772 | 0 | 0 | 0 | 0 | 0.003472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
5e6a2c56814aadb26e4f2206e43f1a706b3f3d90 | 310 | py | Python | ReceiveSms.py | ozekisms/python-send-sms-http-rest-ozeki | c7cc586ce42c3f75b31c9575f7eefd7f40da997a | [
"MIT"
] | null | null | null | ReceiveSms.py | ozekisms/python-send-sms-http-rest-ozeki | c7cc586ce42c3f75b31c9575f7eefd7f40da997a | [
"MIT"
] | null | null | null | ReceiveSms.py | ozekisms/python-send-sms-http-rest-ozeki | c7cc586ce42c3f75b31c9575f7eefd7f40da997a | [
"MIT"
] | null | null | null | from ozekilibsrest import Configuration, MessageApi
configuration = Configuration(
username="http_user",
password="qwe123",
api_url="http://127.0.0.1:9509/api"
)
api = MessageApi(configuration)
results = api.download_incoming()
print(results)
for result in results.messages:
print(result)
| 18.235294 | 51 | 0.73871 | 37 | 310 | 6.108108 | 0.648649 | 0.20354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049057 | 0.145161 | 310 | 16 | 52 | 19.375 | 0.803774 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 0.090909 | 0 | 0.090909 | 0.181818 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
5e9d8b705bdef31610fa8525054d7d342df97492 | 3,781 | py | Python | scripts/tflite_model_tools/tflite/OperatorCode.py | LaudateCorpus1/edgeai-tidl-tools | d98789769a711e5a3700dfdc20d877073bd87da7 | [
"CNRI-Python"
] | 15 | 2021-09-05T03:43:54.000Z | 2022-03-29T14:17:29.000Z | scripts/tflite_model_tools/tflite/OperatorCode.py | LaudateCorpus1/edgeai-tidl-tools | d98789769a711e5a3700dfdc20d877073bd87da7 | [
"CNRI-Python"
] | 21 | 2021-09-01T06:58:31.000Z | 2022-03-31T06:33:15.000Z | scripts/tflite_model_tools/tflite/OperatorCode.py | LaudateCorpus1/edgeai-tidl-tools | d98789769a711e5a3700dfdc20d877073bd87da7 | [
"CNRI-Python"
] | 6 | 2021-09-22T06:44:19.000Z | 2022-02-07T06:28:35.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: tflite
import flatbuffers
from flatbuffers.compat import import_numpy
np = import_numpy()
class OperatorCode(object):
__slots__ = ['_tab']
@classmethod
def GetRootAsOperatorCode(cls, buf, offset):
n = flatbuffers.e... | 36.009524 | 153 | 0.695583 | 391 | 3,781 | 6.618926 | 0.237852 | 0.035162 | 0.068006 | 0.06762 | 0.216383 | 0.209815 | 0.160742 | 0.160742 | 0.160742 | 0.160742 | 0 | 0.013795 | 0.213965 | 3,781 | 104 | 154 | 36.355769 | 0.856999 | 0.061095 | 0 | 0.210526 | 1 | 0 | 0.005658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236842 | false | 0 | 0.039474 | 0.026316 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5e9fef6fd478e24f55f2eb4096a2021b8f01299a | 9,108 | py | Python | voltha/adapters/interface.py | Balaji-P/voltha_docker_compose-rsk_tech_CKAD | 3cf9b2e2bbbaeed4744ff9f33a3e91e60c8020b7 | [
"Apache-2.0"
] | null | null | null | voltha/adapters/interface.py | Balaji-P/voltha_docker_compose-rsk_tech_CKAD | 3cf9b2e2bbbaeed4744ff9f33a3e91e60c8020b7 | [
"Apache-2.0"
] | null | null | null | voltha/adapters/interface.py | Balaji-P/voltha_docker_compose-rsk_tech_CKAD | 3cf9b2e2bbbaeed4744ff9f33a3e91e60c8020b7 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2016 the original author or authors.
#
# 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... | 36.286853 | 79 | 0.642402 | 1,176 | 9,108 | 4.892857 | 0.247449 | 0.038234 | 0.034063 | 0.025026 | 0.392075 | 0.34967 | 0.331422 | 0.303789 | 0.303789 | 0.303789 | 0 | 0.002025 | 0.295015 | 9,108 | 250 | 80 | 36.432 | 0.894097 | 0.674901 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0 | 1 | 0.787879 | false | 0 | 0.030303 | 0 | 0.878788 | 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 |
5ead8537ec1d2acc961e3c05d30fb2a7ac76c394 | 479 | py | Python | tests/conftest.py | espdev/scikit-mpe | c35a298e996eec8638c302c18b988bf56deb6770 | [
"MIT"
] | 7 | 2020-05-08T16:54:37.000Z | 2022-03-20T08:47:02.000Z | tests/conftest.py | espdev/scikit-mpe | c35a298e996eec8638c302c18b988bf56deb6770 | [
"MIT"
] | 5 | 2020-02-05T15:50:42.000Z | 2021-05-23T20:23:18.000Z | tests/conftest.py | espdev/scikit-mpe | c35a298e996eec8638c302c18b988bf56deb6770 | [
"MIT"
] | 1 | 2021-07-02T12:23:52.000Z | 2021-07-02T12:23:52.000Z | # -*- coding: utf-8 -*-
import warnings
import pytest
from skimage.data import retina
from skimage.color import rgb2gray
from skimage.transform import rescale
from skimage.filters import sato
@pytest.fixture(scope='session')
def retina_speed_image():
with warnings.catch_warnings():
warnings.simplefilter... | 25.210526 | 71 | 0.732777 | 62 | 479 | 5.548387 | 0.548387 | 0.127907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042394 | 0.162839 | 479 | 18 | 72 | 26.611111 | 0.815461 | 0.043841 | 0 | 0 | 0 | 0 | 0.028509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.461538 | 0 | 0.615385 | 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 |
5eb5b78acddacd990b0f73d93c0c7e56b2e47350 | 2,558 | py | Python | cirq-core/cirq/interop/quirk/cells/all_cells.py | Saibaba-Alapati/Cirq | 782efcd04c3bbf73a0d630306a3d1cfd9966521d | [
"Apache-2.0"
] | 3,326 | 2018-07-18T23:17:21.000Z | 2022-03-29T22:28:24.000Z | cirq-core/cirq/interop/quirk/cells/all_cells.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 3,443 | 2018-07-18T21:07:28.000Z | 2022-03-31T20:23:21.000Z | cirq-core/cirq/interop/quirk/cells/all_cells.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 865 | 2018-07-18T23:30:24.000Z | 2022-03-30T11:43:23.000Z | # Copyright 2019 The Cirq Developers
#
# 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 ... | 52.204082 | 99 | 0.839328 | 376 | 2,558 | 5.37234 | 0.257979 | 0.136139 | 0.096535 | 0.128713 | 0.610396 | 0.444554 | 0.297525 | 0.082178 | 0 | 0 | 0 | 0.003503 | 0.107115 | 2,558 | 48 | 100 | 53.291667 | 0.880911 | 0.242768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | true | 0 | 0.451613 | 0 | 0.483871 | 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 |
5ed1fec47cb6b45bc795bc57689543768e765fc5 | 370 | py | Python | python/qidoc/test/projects/prebuild/tools/gen_rst.py | vbarbaresi/qibuild | eab6b815fe0af49ea5c41ccddcd0dff2363410e1 | [
"BSD-3-Clause"
] | null | null | null | python/qidoc/test/projects/prebuild/tools/gen_rst.py | vbarbaresi/qibuild | eab6b815fe0af49ea5c41ccddcd0dff2363410e1 | [
"BSD-3-Clause"
] | null | null | null | python/qidoc/test/projects/prebuild/tools/gen_rst.py | vbarbaresi/qibuild | eab6b815fe0af49ea5c41ccddcd0dff2363410e1 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2012-2018 SoftBank Robotics. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the COPYING file.
" Generate source/generated.rst "
def main():
with open("source/generated.rst", "w") as fp:
fp.write("""\
Generated section
==============... | 20.555556 | 72 | 0.640541 | 51 | 370 | 4.490196 | 0.843137 | 0.131004 | 0.157205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.194595 | 370 | 17 | 73 | 21.764706 | 0.741611 | 0.521622 | 0 | 0 | 1 | 0 | 0.482927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0d5fae65bcad708f5d5bd66201a606879164f0e1 | 23,753 | py | Python | npl_portfolio/property_collateral.py | open-risk/openNPL | fff1d219b5180305fd8b9e742e0e26dc0306f45d | [
"MIT"
] | 16 | 2020-07-03T09:10:46.000Z | 2021-06-28T09:31:37.000Z | npl_portfolio/property_collateral.py | open-risk/openNPL | fff1d219b5180305fd8b9e742e0e26dc0306f45d | [
"MIT"
] | 2 | 2021-03-12T18:59:17.000Z | 2021-03-30T23:10:26.000Z | npl_portfolio/property_collateral.py | open-risk/openNPL | fff1d219b5180305fd8b9e742e0e26dc0306f45d | [
"MIT"
] | 7 | 2020-07-11T18:09:50.000Z | 2021-09-20T07:47:02.000Z | # Copyright (c) 2020 - 2021 Open Risk (https://www.openriskmanagement.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 limitation the rights
# to ... | 98.970833 | 437 | 0.69667 | 3,009 | 23,753 | 5.3001 | 0.135261 | 0.072235 | 0.08139 | 0.092488 | 0.652809 | 0.591297 | 0.577314 | 0.562641 | 0.539817 | 0.500125 | 0 | 0.00363 | 0.2113 | 23,753 | 239 | 438 | 99.384937 | 0.847657 | 0.057635 | 0 | 0 | 0 | 0.42963 | 0.578733 | 0.186747 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014815 | false | 0.014815 | 0.02963 | 0.014815 | 0.525926 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
0d61c4eb539721622e0afd3f029768d48f3848b5 | 1,396 | py | Python | src/api/pdi/application/dashboard/GetDataOperationJobExecutionWidget/GetDataOperationJobExecutionWidgetQueryHandler.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/api/pdi/application/dashboard/GetDataOperationJobExecutionWidget/GetDataOperationJobExecutionWidgetQueryHandler.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/api/pdi/application/dashboard/GetDataOperationJobExecutionWidget/GetDataOperationJobExecutionWidgetQueryHandler.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | from injector import inject
from pdip.cqrs import IQueryHandler
from pdip.dependency import IScoped
from pdi.application.dashboard.GetDataOperationJobExecutionWidget.GetDataOperationJobExecutionWidgetMapping import \
GetDataOperationJobExecutionWidgetMapping
from pdi.application.dashboard.GetDataOperationJobExecut... | 53.692308 | 123 | 0.852436 | 84 | 1,396 | 14.083333 | 0.369048 | 0.023669 | 0.060862 | 0.091293 | 0.206255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106734 | 1,396 | 25 | 124 | 55.84 | 0.948677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.333333 | 0 | 0.52381 | 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 |
0d652795dab14c8112782292c58dcb2c2d1a4e6f | 521 | py | Python | api/migrations/0009_contributor_unique contributor.py | josayko/SoftDeskAPI | a168abb09b09c5cb5f8f4957d028ebde02f3d128 | [
"MIT"
] | null | null | null | api/migrations/0009_contributor_unique contributor.py | josayko/SoftDeskAPI | a168abb09b09c5cb5f8f4957d028ebde02f3d128 | [
"MIT"
] | null | null | null | api/migrations/0009_contributor_unique contributor.py | josayko/SoftDeskAPI | a168abb09b09c5cb5f8f4957d028ebde02f3d128 | [
"MIT"
] | null | null | null | # Generated by Django 4.0.3 on 2022-03-23 14:48
from django.db import migrations, models
import django.db.models.expressions
class Migration(migrations.Migration):
dependencies = [
('api', '0008_alter_contributor_unique_together'),
]
operations = [
migrations.AddConstraint(
... | 27.421053 | 157 | 0.681382 | 58 | 521 | 6.034483 | 0.62069 | 0.091429 | 0.12 | 0.214286 | 0.148571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.197697 | 521 | 18 | 158 | 28.944444 | 0.791866 | 0.086372 | 0 | 0 | 1 | 0 | 0.170886 | 0.080169 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0d69318abc11696433e4f1924cacaff09033b82a | 658 | py | Python | src/config.py | blockshift/hyperledger-cello-master | 9e8dabe1606f277e327165b866cc70a0d569f3b4 | [
"Apache-2.0"
] | null | null | null | src/config.py | blockshift/hyperledger-cello-master | 9e8dabe1606f277e327165b866cc70a0d569f3b4 | [
"Apache-2.0"
] | null | null | null | src/config.py | blockshift/hyperledger-cello-master | 9e8dabe1606f277e327165b866cc70a0d569f3b4 | [
"Apache-2.0"
] | null | null | null |
# Copyright IBM Corp, All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
import os
import bcrypt
class Config(object):
DEBUG = False
SECRET_KEY = '?\xbf,\xb4\x8d\xa3"<\x9c\xb0@\x0f5\xab,w\xee\x8d$0\x13\x8b83'
class ProductionConfig(Config):
DEBUG = False
class DevelopmentConfig(Config):
... | 24.37037 | 79 | 0.696049 | 85 | 658 | 5.258824 | 0.611765 | 0.089485 | 0.167785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052347 | 0.158055 | 658 | 26 | 80 | 25.307692 | 0.754513 | 0.115502 | 0 | 0.133333 | 0 | 0.066667 | 0.293403 | 0.154514 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.133333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
0d7eec1b47b1552221bc328ab841825e0535255e | 66 | py | Python | mmaction/models/backbones/__init__.py | sail-sg/dualformer | de0cdf858ca71a388ea006034cabcfa2e30fa33a | [
"Apache-2.0"
] | 10 | 2021-12-13T05:57:24.000Z | 2022-03-29T14:56:02.000Z | mmaction/models/backbones/__init__.py | sail-sg/dualformer | de0cdf858ca71a388ea006034cabcfa2e30fa33a | [
"Apache-2.0"
] | null | null | null | mmaction/models/backbones/__init__.py | sail-sg/dualformer | de0cdf858ca71a388ea006034cabcfa2e30fa33a | [
"Apache-2.0"
] | null | null | null | from .dualformer import DualFormer
__all__ = [
'DualFormer'
]
| 9.428571 | 34 | 0.712121 | 6 | 66 | 7.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 66 | 6 | 35 | 11 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 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 |
0d7fc6eb608bab4d322cdbf0abb9ca8e6b3bc5ff | 1,048 | py | Python | examples/pydoop_script/grep.py | ZEMUSHKA/pydoop | e3d3378ae9921561f6c600c79364c2ad42ec206d | [
"Apache-2.0"
] | 1 | 2017-11-16T02:13:15.000Z | 2017-11-16T02:13:15.000Z | examples/pydoop_script/grep.py | ZEMUSHKA/pydoop | e3d3378ae9921561f6c600c79364c2ad42ec206d | [
"Apache-2.0"
] | null | null | null | examples/pydoop_script/grep.py | ZEMUSHKA/pydoop | e3d3378ae9921561f6c600c79364c2ad42ec206d | [
"Apache-2.0"
] | null | null | null | # BEGIN_COPYRIGHT
#
# Copyright 2009-2014 CRS4.
#
# 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 a... | 32.75 | 77 | 0.745229 | 158 | 1,048 | 4.924051 | 0.639241 | 0.077121 | 0.033419 | 0.041131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017182 | 0.166985 | 1,048 | 31 | 78 | 33.806452 | 0.873998 | 0.855916 | 0 | 0 | 0 | 0 | 0.11811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0d800898fe94588ed0a05be9c9de20e364588e5b | 17,707 | py | Python | Game Palace/rps.py | BirdLQ/Game-Arcade | f61081250a617d33dccd4dc81fd469bfcbe0afe3 | [
"MIT"
] | 1 | 2021-01-08T01:44:23.000Z | 2021-01-08T01:44:23.000Z | Game Palace/rps.py | BirdLQ/Game-Arcade | f61081250a617d33dccd4dc81fd469bfcbe0afe3 | [
"MIT"
] | null | null | null | Game Palace/rps.py | BirdLQ/Game-Arcade | f61081250a617d33dccd4dc81fd469bfcbe0afe3 | [
"MIT"
] | null | null | null | import random, sys, curses, threading, time
import main_menu
import leaderboard
from methods.menus import *
scissors=[" ▓▓▓▓▓▓ ",
" ▓▓▓▓░░░░▓▓ ",
" ... | 42.770531 | 102 | 0.273112 | 1,330 | 17,707 | 5.047368 | 0.154887 | 0.009534 | 0.012513 | 0.014896 | 0.362878 | 0.346939 | 0.305825 | 0.261284 | 0.193505 | 0.179651 | 0 | 0.054479 | 0.50449 | 17,707 | 414 | 103 | 42.770531 | 0.478573 | 0.010843 | 0 | 0.445428 | 0 | 0 | 0.345015 | 0.082378 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026549 | false | 0 | 0.011799 | 0.00295 | 0.067847 | 0.017699 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
0d8349d4843939ae8db4d9bf00c2b6b4cf0f9c16 | 978 | py | Python | parsec/commands/jobs/get_jobs.py | simonbray/parsec | c0e123cbf7cb1289ec722357a6262f716575e4d9 | [
"Apache-2.0"
] | null | null | null | parsec/commands/jobs/get_jobs.py | simonbray/parsec | c0e123cbf7cb1289ec722357a6262f716575e4d9 | [
"Apache-2.0"
] | null | null | null | parsec/commands/jobs/get_jobs.py | simonbray/parsec | c0e123cbf7cb1289ec722357a6262f716575e4d9 | [
"Apache-2.0"
] | null | null | null | import click
from parsec.cli import pass_context, json_loads
from parsec.decorators import custom_exception, list_output
@click.command('get_jobs')
@pass_context
@custom_exception
@list_output
def cli(ctx):
"""Get the list of jobs of the current user.
Output:
list of dictionaries containing summary job info... | 28.764706 | 60 | 0.56135 | 114 | 978 | 4.649123 | 0.535088 | 0.060377 | 0.075472 | 0.113208 | 0.271698 | 0.098113 | 0.098113 | 0 | 0 | 0 | 0 | 0.144315 | 0.298569 | 978 | 33 | 61 | 29.636364 | 0.62828 | 0.735174 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.222222 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
0d8d6dded7ee3c79f0a3020bc4bc9d4851c84949 | 1,119 | py | Python | pymouse/__init__.py | aronei44/PyMouse | b0cc56cc5c2f9ca514fbcbc9fccf95628412b175 | [
"Apache-2.0"
] | 86 | 2015-02-24T20:40:15.000Z | 2021-12-25T13:27:36.000Z | pymouse/__init__.py | aronei44/PyMouse | b0cc56cc5c2f9ca514fbcbc9fccf95628412b175 | [
"Apache-2.0"
] | 7 | 2015-08-28T23:14:37.000Z | 2021-11-29T10:39:44.000Z | pymouse/__init__.py | aronei44/PyMouse | b0cc56cc5c2f9ca514fbcbc9fccf95628412b175 | [
"Apache-2.0"
] | 30 | 2015-04-07T13:08:34.000Z | 2022-01-02T15:03:15.000Z | # -*- coding: iso-8859-1 -*-
# Copyright 2010 Pepijn de Vos
#
# 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... | 30.243243 | 76 | 0.73101 | 166 | 1,119 | 4.921687 | 0.60241 | 0.073439 | 0.091799 | 0.039168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.191242 | 1,119 | 36 | 77 | 31.083333 | 0.886188 | 0.715818 | 0 | 0 | 0 | 0 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
0db5195b0ce02f6398c37148c78ebf844f6bb86f | 2,918 | py | Python | src/stratis_cli/_errors.py | mulkieran/stratis-cli | c5731f98f9b427ccecb16ba8866636ab5c5d847d | [
"Apache-2.0"
] | null | null | null | src/stratis_cli/_errors.py | mulkieran/stratis-cli | c5731f98f9b427ccecb16ba8866636ab5c5d847d | [
"Apache-2.0"
] | null | null | null | src/stratis_cli/_errors.py | mulkieran/stratis-cli | c5731f98f9b427ccecb16ba8866636ab5c5d847d | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Red Hat, Inc.
#
# 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... | 29.474747 | 77 | 0.6573 | 346 | 2,918 | 5.398844 | 0.401734 | 0.047109 | 0.04818 | 0.035332 | 0.086188 | 0.05621 | 0.05621 | 0 | 0 | 0 | 0 | 0.003707 | 0.260452 | 2,918 | 98 | 78 | 29.77551 | 0.861909 | 0.483893 | 0 | 0.12 | 0 | 0 | 0.097792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.04 | 0.08 | 0.64 | 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 |
0deea45a7c967ea82b3e38ab6a70977f2a533c4a | 888 | py | Python | af_scripts/uv/uvSetTgl.py | aaronfang/small-Scripts | 890b10ab19fa9cdf2415aaf2dc08b81cc64fc79d | [
"MIT"
] | 1 | 2018-03-08T16:34:00.000Z | 2018-03-08T16:34:00.000Z | af_scripts/uv/uvSetTgl.py | aaronfang/personal_scripts | 890b10ab19fa9cdf2415aaf2dc08b81cc64fc79d | [
"MIT"
] | null | null | null | af_scripts/uv/uvSetTgl.py | aaronfang/personal_scripts | 890b10ab19fa9cdf2415aaf2dc08b81cc64fc79d | [
"MIT"
] | null | null | null | # This script will switch UV Set between "map1" and "atlasmap".
# Useage:
# Select meshes and run this script
import maya.cmds as cmds
def uvsetTgl():
shape_node = cmds.ls(sl=True, fl=True, dag=True, type='shape')
current_uvset = cmds.polyUVSet(shape_node[0],q=True, currentUVSet=True)
for shape in shap... | 42.285714 | 75 | 0.634009 | 115 | 888 | 4.843478 | 0.373913 | 0.140036 | 0.193896 | 0.21544 | 0.301616 | 0.301616 | 0.231598 | 0 | 0 | 0 | 0 | 0.014903 | 0.244369 | 888 | 20 | 76 | 44.4 | 0.815201 | 0.115991 | 0 | 0.1875 | 0 | 0 | 0.072983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.125 | 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 |
216e3d46e49817b7dcacb2056f0d736770221c67 | 5,059 | py | Python | nugis/nugis/settings.py | luismorenolopera/nugis-backend | 39abe9959ad74a995817b0e8939ee2b52849a63d | [
"MIT"
] | 1 | 2021-04-15T15:29:36.000Z | 2021-04-15T15:29:36.000Z | nugis/nugis/settings.py | luismorenolopera/Nugis-Backend | 39abe9959ad74a995817b0e8939ee2b52849a63d | [
"MIT"
] | 5 | 2020-06-05T19:01:29.000Z | 2022-03-11T23:29:14.000Z | nugis/nugis/settings.py | luismorenolopera/Nugis-Backend | 39abe9959ad74a995817b0e8939ee2b52849a63d | [
"MIT"
] | 3 | 2018-12-31T09:13:01.000Z | 2021-02-20T08:22:24.000Z | """
Django settings for nugis project.
Generated by 'django-admin startproject' using Django 2.1.1.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.1/ref/settings/
"""
import os
impo... | 26.07732 | 92 | 0.691243 | 558 | 5,059 | 6.116487 | 0.37276 | 0.057134 | 0.051568 | 0.058599 | 0.168766 | 0.159098 | 0.105772 | 0.105772 | 0.062701 | 0.027542 | 0 | 0.011209 | 0.17118 | 5,059 | 193 | 93 | 26.212435 | 0.802767 | 0.256968 | 0 | 0 | 1 | 0 | 0.5 | 0.381374 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.050847 | 0.016949 | 0 | 0.016949 | 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 |
2170b45e278994aee2150395fd274fdfc4ab4f3e | 380 | py | Python | taller control de selectivas/ejercicio_3.py | MiguelUrmo/Talleres-logaritmos | ed711241b8225a39f5107515e8d967575a5c0af6 | [
"MIT"
] | null | null | null | taller control de selectivas/ejercicio_3.py | MiguelUrmo/Talleres-logaritmos | ed711241b8225a39f5107515e8d967575a5c0af6 | [
"MIT"
] | null | null | null | taller control de selectivas/ejercicio_3.py | MiguelUrmo/Talleres-logaritmos | ed711241b8225a39f5107515e8d967575a5c0af6 | [
"MIT"
] | null | null | null | """
datos de entrada
variable 1--->a--->int
variable 2--->b--->int
variable 3--->c--->int
variable 4--->d--->int
"""
#entrada
a=int(input("ingrese variable 1: " ))
b=int(input("ingrese variable 2: "))
c=int(input("ingrese variable 3: "))
d=int(input("ingrese variable 4: "))
#caja negra
if (d==0):
re=(a-c)**2
elif(d... | 19 | 37 | 0.576316 | 66 | 380 | 3.318182 | 0.378788 | 0.146119 | 0.273973 | 0.420091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0.155263 | 380 | 19 | 38 | 20 | 0.64486 | 0.331579 | 0 | 0 | 0 | 0 | 0.381148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 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 |
217199741c69648150fbd523fc6f07a21de56382 | 1,852 | py | Python | backend/app.py | KakoozaJerry/sera | eee127ce8c73772f5f980e4f5e9b1887a790c465 | [
"MIT"
] | null | null | null | backend/app.py | KakoozaJerry/sera | eee127ce8c73772f5f980e4f5e9b1887a790c465 | [
"MIT"
] | 2 | 2020-04-13T18:33:36.000Z | 2021-05-11T10:26:06.000Z | backend/app.py | KakoozaJerry/sera | eee127ce8c73772f5f980e4f5e9b1887a790c465 | [
"MIT"
] | null | null | null | from flask import Flask ,jsonify ,abort ,make_response ,request
from flask_restful import Resource, Api
#from ./estimator import *
app = Flask(__name__)
api = Api(app)
class HelloWorld(Resource):
def get(self):
return {'hello': data}
api.add_resource(HelloWorld, '/api/v1/on-covid-19')
todos = {}
class ... | 25.027027 | 74 | 0.598812 | 250 | 1,852 | 4.308 | 0.344 | 0.044568 | 0.030641 | 0.041783 | 0.135562 | 0.119777 | 0.077066 | 0.05571 | 0 | 0 | 0 | 0.020833 | 0.222462 | 1,852 | 74 | 75 | 25.027027 | 0.727083 | 0.013499 | 0 | 0.111111 | 0 | 0 | 0.087748 | 0 | 0 | 0 | 0 | 0.040541 | 0 | 1 | 0.166667 | false | 0 | 0.111111 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 2 |
217c3521a49c1959764a1dd372b744b03badf06e | 1,564 | py | Python | src/pyaides/tempfile/temporary_directory.py | okomestudio/pyaides | 7cb49620392812101a366dab97ebe4948b47b12a | [
"MIT"
] | null | null | null | src/pyaides/tempfile/temporary_directory.py | okomestudio/pyaides | 7cb49620392812101a366dab97ebe4948b47b12a | [
"MIT"
] | null | null | null | src/pyaides/tempfile/temporary_directory.py | okomestudio/pyaides | 7cb49620392812101a366dab97ebe4948b47b12a | [
"MIT"
] | null | null | null | from os.path import exists as path_exists
from shutil import rmtree
from tempfile import mkdtemp
from typing import Optional
class TemporaryDirectory:
"""Create a temporary directory using :func:`tempfile.mkdtemp`.
The resulting object can be used as a context manager. For example:
>>> with Tempora... | 31.28 | 88 | 0.636829 | 194 | 1,564 | 4.984536 | 0.407216 | 0.049638 | 0.043433 | 0.071355 | 0.109617 | 0.064116 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276854 | 1,564 | 49 | 89 | 31.918367 | 0.854996 | 0.498721 | 0 | 0 | 0 | 0 | 0.086471 | 0.036262 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.190476 | 0.095238 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
217e3818a801e2f4dcb7d89636aefce07ffabdde | 5,775 | py | Python | lib/turkish_nltk/trnltk/experiments/dictionaryexperiments.py | myasiny/wordembed | d4df516a4ac6eed71d1cc6e085638e895c525de6 | [
"MIT"
] | null | null | null | lib/turkish_nltk/trnltk/experiments/dictionaryexperiments.py | myasiny/wordembed | d4df516a4ac6eed71d1cc6e085638e895c525de6 | [
"MIT"
] | null | null | null | lib/turkish_nltk/trnltk/experiments/dictionaryexperiments.py | myasiny/wordembed | d4df516a4ac6eed71d1cc6e085638e895c525de6 | [
"MIT"
] | null | null | null | # coding=utf-8
"""
Copyright 2012 Ali Ok (aliokATapacheDOTorg)
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 ... | 37.5 | 145 | 0.622338 | 740 | 5,775 | 4.685135 | 0.233784 | 0.02769 | 0.023075 | 0.02769 | 0.713585 | 0.692241 | 0.672051 | 0.672051 | 0.647822 | 0.63715 | 0 | 0.009412 | 0.264069 | 5,775 | 154 | 146 | 37.5 | 0.806118 | 0.044156 | 0 | 0.504762 | 0 | 0.009524 | 0.268693 | 0.080446 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047619 | null | null | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
218aa6c3c61466a41ac33d5cb1268950318beaa1 | 1,944 | py | Python | etk/extractors/language_identification_extractor.py | varuniyer/etk | 57dc2ed2bfef0d9914747bed41fdc4123bfe4423 | [
"MIT"
] | null | null | null | etk/extractors/language_identification_extractor.py | varuniyer/etk | 57dc2ed2bfef0d9914747bed41fdc4123bfe4423 | [
"MIT"
] | null | null | null | etk/extractors/language_identification_extractor.py | varuniyer/etk | 57dc2ed2bfef0d9914747bed41fdc4123bfe4423 | [
"MIT"
] | null | null | null | from typing import List
from etk.extraction import Extraction
from etk.extractor import Extractor, InputType
from enum import Enum, auto
from langid import classify
from langdetect import detect
class LanguageIdentificationExtractor(Extractor):
"""
Identify the language used in text, returning the identifier... | 31.354839 | 106 | 0.629115 | 222 | 1,944 | 5.441441 | 0.427928 | 0.019868 | 0.017384 | 0.029801 | 0.082781 | 0.082781 | 0.082781 | 0.082781 | 0 | 0 | 0 | 0.012427 | 0.296296 | 1,944 | 61 | 107 | 31.868852 | 0.870614 | 0.342593 | 0 | 0.2 | 0 | 0 | 0.043184 | 0 | 0 | 0 | 0 | 0.032787 | 0 | 1 | 0.066667 | false | 0 | 0.2 | 0 | 0.533333 | 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 |
219767503ab5c59e4efbbc9cbad8776205735bac | 540 | py | Python | adr/Components/Aerodynamic/RectangularAerodynamicSurface.py | CeuAzul/ADR | 09885062cfa79d19fa6370155d91466bda2a27d7 | [
"MIT"
] | 16 | 2019-01-31T16:40:55.000Z | 2021-09-12T15:12:35.000Z | adr/Components/Aerodynamic/RectangularAerodynamicSurface.py | CeuAzul/ADR | 09885062cfa79d19fa6370155d91466bda2a27d7 | [
"MIT"
] | 157 | 2019-01-31T16:44:27.000Z | 2020-10-05T12:48:50.000Z | adr/Components/Aerodynamic/RectangularAerodynamicSurface.py | CeuAzul/ADR | 09885062cfa79d19fa6370155d91466bda2a27d7 | [
"MIT"
] | 3 | 2020-12-12T20:27:00.000Z | 2021-03-13T18:44:52.000Z | import attr
from vec import Vector2
from adr.Components.Aerodynamic import AerodynamicSurface
@attr.s(auto_attribs=True)
class RectangularAerodynamicSurface(AerodynamicSurface):
type: str = 'rectangular_aerodynamic_surface'
span: float = None
chord: float = None
@property
def area(self):
... | 22.5 | 62 | 0.722222 | 63 | 540 | 6.063492 | 0.507937 | 0.086387 | 0.073298 | 0.104712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013921 | 0.201852 | 540 | 23 | 63 | 23.478261 | 0.87239 | 0 | 0 | 0.176471 | 0 | 0 | 0.057407 | 0.057407 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.176471 | 0.176471 | 0.764706 | 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 |
21f21031be862a43049f9bef4b7aeb870a9264f2 | 173 | py | Python | Chapter12/programs/prog06.py | gits00/raspberry-pi-computer-vision-programming | dfd5588c5d3e410945f862427c0f987536b04d9f | [
"MIT"
] | 17 | 2020-08-08T20:47:29.000Z | 2022-03-12T03:08:21.000Z | Chapter12/programs/prog06.py | gits00/raspberry-pi-computer-vision-programming | dfd5588c5d3e410945f862427c0f987536b04d9f | [
"MIT"
] | 1 | 2020-07-27T09:57:19.000Z | 2020-08-18T10:57:31.000Z | Chapter12/programs/prog06.py | gits00/raspberry-pi-computer-vision-programming | dfd5588c5d3e410945f862427c0f987536b04d9f | [
"MIT"
] | 15 | 2020-06-30T01:52:06.000Z | 2022-02-08T08:28:48.000Z | import matplotlib.pyplot as plt
import mahotas
photo = mahotas.demos.load('luispedro')
photo = mahotas.colors.rgb2sepia(photo)
plt.imshow(photo)
plt.axis('off')
plt.show()
| 19.222222 | 39 | 0.768786 | 25 | 173 | 5.32 | 0.64 | 0.180451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.092486 | 173 | 8 | 40 | 21.625 | 0.840764 | 0 | 0 | 0 | 0 | 0 | 0.069364 | 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 |
21f7449c3c2398e5a298ec70522f29070b828181 | 462 | py | Python | CodeChef/CRAWA.py | tapaswenipathak/Competitive-Programming | 97bba0f2ccdf587df93244a027050489f0905480 | [
"MIT"
] | 2 | 2019-04-20T18:03:20.000Z | 2019-08-17T21:20:47.000Z | CodeChef/CRAWA.py | tapaswenipathak/Competitive-Programming | 97bba0f2ccdf587df93244a027050489f0905480 | [
"MIT"
] | null | null | null | CodeChef/CRAWA.py | tapaswenipathak/Competitive-Programming | 97bba0f2ccdf587df93244a027050489f0905480 | [
"MIT"
] | 1 | 2019-04-20T18:03:26.000Z | 2019-04-20T18:03:26.000Z | T = int (raw_input ())
while T :
X, Y = map (long, raw_input ().split ())
T -= 1
neg_X = -X
neg_Y = -Y
if X == 0 and Y == 0 :
print "YES"
elif X < 0 and not (X & 1) and X <= Y and Y <= neg_X :
print "YES"
elif X > 0 and X & 1 and (1 - X) <= Y and Y <= (X + 1) :
print "YES"
elif Y > 0 and not (Y & 1) and... | 20.086957 | 61 | 0.478355 | 97 | 462 | 2.216495 | 0.216495 | 0.111628 | 0.223256 | 0.083721 | 0.4 | 0.4 | 0.24186 | 0.24186 | 0.24186 | 0.24186 | 0 | 0.04886 | 0.335498 | 462 | 22 | 62 | 21 | 0.651466 | 0 | 0 | 0.277778 | 0 | 0 | 0.036797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
21fff18d4759e159cf4d6e56e3ded5c1754b0ebb | 229 | py | Python | tests/__main__.py | technikian/sty | 4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a | [
"Apache-2.0"
] | 170 | 2018-02-10T18:21:21.000Z | 2022-03-16T17:50:12.000Z | tests/__main__.py | technikian/sty | 4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a | [
"Apache-2.0"
] | 44 | 2018-02-26T15:41:44.000Z | 2022-02-05T13:34:25.000Z | tests/__main__.py | technikian/sty | 4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a | [
"Apache-2.0"
] | 13 | 2018-05-24T17:49:12.000Z | 2022-03-25T06:42:07.000Z | """
"""
from sty import RgbFg, Style, ef, fg
from tests import demo, test_ansi_values # isort:skip
from tests.docs import ( # isort:skip
getting_started,
effects,
coloring,
customizing,
muting,
etc,
)
| 15.266667 | 54 | 0.650655 | 29 | 229 | 5.034483 | 0.758621 | 0.123288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248908 | 229 | 14 | 55 | 16.357143 | 0.848837 | 0.091703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.3 | 0 | 0.3 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
1d056b6de10144e26a10af65f7fd8be29e15279f | 440 | py | Python | docs/notebooks/startup.py | withrocks/commonlims | d8a925c917aa26e8205fefb3966a9f49f8f2e2f8 | [
"BSD-3-Clause"
] | 4 | 2019-05-27T13:55:07.000Z | 2021-03-30T07:05:09.000Z | docs/notebooks/startup.py | withrocks/commonlims | d8a925c917aa26e8205fefb3966a9f49f8f2e2f8 | [
"BSD-3-Clause"
] | 99 | 2019-05-20T14:16:33.000Z | 2021-01-19T09:25:15.000Z | docs/notebooks/startup.py | withrocks/commonlims | d8a925c917aa26e8205fefb3966a9f49f8f2e2f8 | [
"BSD-3-Clause"
] | 1 | 2020-08-10T07:55:40.000Z | 2020-08-10T07:55:40.000Z | from uuid import uuid4
from sentry.runner import configure
configure()
from clims.models import *
from clims.services import *
from sentry.models import *
from sentry.testutils.fixtures import Fixtures
app = ApplicationService()
ioc.set_application(app)
notebook_plugin, _ = PluginRegistration.objects.get_or_create(
... | 25.882353 | 62 | 0.770455 | 57 | 440 | 5.842105 | 0.596491 | 0.09009 | 0.096096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012853 | 0.115909 | 440 | 16 | 63 | 27.5 | 0.843188 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.05 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.461538 | 0.076923 | 0.615385 | 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 |
1d0689511b2f8bc63d822a5b11a5451036ea240f | 86 | py | Python | homeassistant/components/html5/const.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/html5/const.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/html5/const.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Constants for the HTML5 component."""
DOMAIN = "html5"
SERVICE_DISMISS = "dismiss"
| 21.5 | 40 | 0.72093 | 10 | 86 | 6.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.127907 | 86 | 3 | 41 | 28.666667 | 0.786667 | 0.395349 | 0 | 0 | 0 | 0 | 0.26087 | 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 |
df0027dcfa146f73265c94ca953f538d9f2ad041 | 728 | py | Python | coffer/__init__.py | shalevy1/cultivar | 99b00c69376cd37fddb14a969cf562276296f01a | [
"Apache-2.0"
] | 37 | 2016-08-22T22:11:30.000Z | 2022-02-24T19:10:18.000Z | coffer/__init__.py | DistrictDataLabs/trinket | 99b00c69376cd37fddb14a969cf562276296f01a | [
"Apache-2.0"
] | 75 | 2015-10-15T19:25:18.000Z | 2016-08-04T19:21:10.000Z | coffer/__init__.py | DistrictDataLabs/trinket | 99b00c69376cd37fddb14a969cf562276296f01a | [
"Apache-2.0"
] | 17 | 2015-10-09T00:03:12.000Z | 2016-07-22T16:15:41.000Z | # coffer
# Dataset manager and collection application.
#
# Author: Benjamin Bengfort <bbengfort@districtdatalabs.com>
# Created: Thu Oct 08 21:44:00 2015 -0400
#
# Copyright (C) 2015 District Data Labs
# For license information, see LICENSE.txt
#
# ID: __init__.py [] benjamin@bengfort.com $
"""
Dataset manager and ... | 28 | 74 | 0.434066 | 52 | 728 | 5.961538 | 0.788462 | 0.090323 | 0.109677 | 0.174194 | 0.245161 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030349 | 0.09478 | 728 | 25 | 75 | 29.12 | 0.440061 | 0.468407 | 0 | 0 | 0 | 0 | 0.342857 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
df0f00d338a308daad3a6d706f8f657d66dbc676 | 283 | py | Python | modules/scipy/special/__init__.py | avogel88/compare-VAE-GAE | aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90 | [
"MIT"
] | null | null | null | modules/scipy/special/__init__.py | avogel88/compare-VAE-GAE | aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90 | [
"MIT"
] | null | null | null | modules/scipy/special/__init__.py | avogel88/compare-VAE-GAE | aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90 | [
"MIT"
] | null | null | null | __all__ = []
from .rbig import *
from .feature_map import *
from . import rbig
from . import feature_map
__all__ += rbig.__all__
__all__ += feature_map.__all__
del rbig
del feature_map
from scipy._lib._testutils import PytestTester
test = PytestTester(__name__)
del PytestTester | 17.6875 | 46 | 0.780919 | 38 | 283 | 5.026316 | 0.342105 | 0.209424 | 0.136126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14841 | 283 | 16 | 47 | 17.6875 | 0.792531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 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 |
df13907f22e44958568df93ea55820f48b7e45c7 | 152 | py | Python | List.py | samarKantsaxena/SAKASA | c9b7684a6d30920bb5766a0a3520416593fdd7d4 | [
"MIT"
] | 1 | 2022-03-22T16:19:14.000Z | 2022-03-22T16:19:14.000Z | List.py | samarKantsaxena/SAKASA | c9b7684a6d30920bb5766a0a3520416593fdd7d4 | [
"MIT"
] | null | null | null | List.py | samarKantsaxena/SAKASA | c9b7684a6d30920bb5766a0a3520416593fdd7d4 | [
"MIT"
] | null | null | null | sys_OS = "A_Free_Cart"
Website = "Afreecart"
My_Name = "Samar_Kant_Saxena"
#A free cart budget calculator
#Budget = "370000"
#Expenditure = "70000"
| 15.2 | 31 | 0.723684 | 21 | 152 | 4.952381 | 0.809524 | 0.096154 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085938 | 0.157895 | 152 | 9 | 32 | 16.888889 | 0.726563 | 0.447368 | 0 | 0 | 0 | 0 | 0.4625 | 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 |
df1ad8100dcd1599aeac7293650084668701e832 | 2,765 | py | Python | tests/test_metadata.py | knownboyofno/PySIPmath | 22521d0acaa74250fb7684b8eedbb3e6d044b4af | [
"MIT"
] | 2 | 2021-11-11T03:47:58.000Z | 2021-11-19T07:46:24.000Z | tests/test_metadata.py | knownboyofno/PySIPmath | 22521d0acaa74250fb7684b8eedbb3e6d044b4af | [
"MIT"
] | null | null | null | tests/test_metadata.py | knownboyofno/PySIPmath | 22521d0acaa74250fb7684b8eedbb3e6d044b4af | [
"MIT"
] | 3 | 2021-11-11T18:14:04.000Z | 2021-11-22T07:53:30.000Z | import unittest
from unittest.mock import ANY, patch
from tests.fixtures.fit import fit_fixture
from pandas import DataFrame
from .context import PySIP
class MetadataTestSuite(unittest.TestCase):
"""Metadata test cases."""
@patch("metalog.metalog.fit")
@patch("json.dump")
@patch("builtins.open")
... | 35.909091 | 89 | 0.600362 | 276 | 2,765 | 5.894928 | 0.402174 | 0.024585 | 0.031346 | 0.027044 | 0.398279 | 0.398279 | 0.398279 | 0.398279 | 0.398279 | 0.360172 | 0 | 0.392335 | 0.282821 | 2,765 | 76 | 90 | 36.381579 | 0.428139 | 0.053888 | 0 | 0.268657 | 0 | 0 | 0.080107 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 1 | 0.029851 | false | 0 | 0.074627 | 0 | 0.119403 | 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 |
df32ca1463cd1cb6d8d2a34bb9db9fda93314381 | 1,008 | py | Python | esk/secrets/main.py | esk8s/esk | 0e559fbec7e70be140afac0c8961700f8145e704 | [
"Apache-2.0"
] | 1 | 2021-04-08T13:07:18.000Z | 2021-04-08T13:07:18.000Z | esk/secrets/main.py | esk8s/esk | 0e559fbec7e70be140afac0c8961700f8145e704 | [
"Apache-2.0"
] | null | null | null | esk/secrets/main.py | esk8s/esk | 0e559fbec7e70be140afac0c8961700f8145e704 | [
"Apache-2.0"
] | null | null | null | import base64
import json
import random
import string
from os import remove
from hashlib import sha256
from cryptography.hazmat.primitives.ciphers.aead import AESGCM
def get_nonce():
chars = string.ascii_letters + string.digits
result_str = "".join(random.choice(chars) for _ in range(12))
return result_str
... | 22.909091 | 88 | 0.696429 | 143 | 1,008 | 4.783217 | 0.41958 | 0.023392 | 0.04386 | 0.052632 | 0.160819 | 0.160819 | 0.160819 | 0.160819 | 0.160819 | 0.160819 | 0 | 0.024823 | 0.160714 | 1,008 | 43 | 89 | 23.44186 | 0.783688 | 0 | 0 | 0.074074 | 0 | 0 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0 | 0.259259 | 0.037037 | 0.703704 | 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 |
df39262f139c78a5d2f3f0a8df730229c9791e7e | 636 | py | Python | src/models/__init__.py | leeesangwon/CNN_sentence.pytorch | 512a1fe1de359f01557b6441a0571d7d98335716 | [
"MIT"
] | null | null | null | src/models/__init__.py | leeesangwon/CNN_sentence.pytorch | 512a1fe1de359f01557b6441a0571d7d98335716 | [
"MIT"
] | null | null | null | src/models/__init__.py | leeesangwon/CNN_sentence.pytorch | 512a1fe1de359f01557b6441a0571d7d98335716 | [
"MIT"
] | null | null | null | from .cnn import CNN, CNNMultiChannel
MODELS = ('random', 'static', 'non-static', 'multi-channel')
def get_model(model_type, num_classes, pretrained_word2vec):
if model_type not in MODELS:
raise ValueError("Invalid model type: %s" % model_type)
if model_type == 'random':
return CNN(num_clas... | 33.473684 | 66 | 0.70283 | 79 | 636 | 5.443038 | 0.379747 | 0.146512 | 0.232558 | 0.325581 | 0.304651 | 0.304651 | 0.218605 | 0.218605 | 0 | 0 | 0 | 0.009747 | 0.193396 | 636 | 18 | 67 | 35.333333 | 0.82846 | 0 | 0 | 0 | 0 | 0 | 0.124214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.461538 | 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 |
df407fe8640cf539470badf0dde920be1eef1a59 | 359 | py | Python | app/schemas/image.py | sz3lbi/classifieds_service_backend | 5977eedb7b9cb243142c021355211144df53cd1d | [
"MIT"
] | 1 | 2022-01-24T12:46:56.000Z | 2022-01-24T12:46:56.000Z | app/schemas/image.py | sz3lbi/classifieds_service_backend | 5977eedb7b9cb243142c021355211144df53cd1d | [
"MIT"
] | 1 | 2022-01-24T12:51:16.000Z | 2022-01-26T18:25:11.000Z | app/schemas/image.py | sz3lbi/classifieds_service_backend | 5977eedb7b9cb243142c021355211144df53cd1d | [
"MIT"
] | null | null | null | from pydantic import BaseModel, Field
from uuid import UUID
class Image(BaseModel):
id: int
classified_id: int
class Config:
orm_mode = True
class ImageCreate(BaseModel):
classified_id: int
class ImageDB(Image):
id: int
filename: UUID
extension: str = Field(max_length=8)
cla... | 14.36 | 40 | 0.685237 | 46 | 359 | 5.26087 | 0.521739 | 0.103306 | 0.115702 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003676 | 0.24234 | 359 | 24 | 41 | 14.958333 | 0.886029 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.933333 | 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 |
df595ad0cfc3a641ef7ea3f543a93e038717fbf9 | 1,757 | py | Python | status/status/items.py | jesiqueira/scrapyinvestingacoes | df19e9994335a2bcfdc15a9f2a7daefb08830d02 | [
"MIT"
] | null | null | null | status/status/items.py | jesiqueira/scrapyinvestingacoes | df19e9994335a2bcfdc15a9f2a7daefb08830d02 | [
"MIT"
] | null | null | null | status/status/items.py | jesiqueira/scrapyinvestingacoes | df19e9994335a2bcfdc15a9f2a7daefb08830d02 | [
"MIT"
] | null | null | null | # Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html
import scrapy
class StatusItem(scrapy.Item):
# define the fields for your item here like:
indice = scrapy.Field()
ticker = scrapy.Field()
empresa = scrapy.Field()
empres... | 29.779661 | 53 | 0.667046 | 179 | 1,757 | 6.541899 | 0.418994 | 0.450897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211725 | 1,757 | 58 | 54 | 30.293103 | 0.845487 | 0.092203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.02 | 0.02 | 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 |
df5e00c77743d2aff34d948eb698d91075fa4344 | 955 | py | Python | AnimeList/admin.py | habelash/AnimeView | 893620c318b25a549479c781f002e6eed326705c | [
"CC0-1.0"
] | null | null | null | AnimeList/admin.py | habelash/AnimeView | 893620c318b25a549479c781f002e6eed326705c | [
"CC0-1.0"
] | 7 | 2021-03-30T14:17:35.000Z | 2022-01-13T02:55:42.000Z | AnimeList/admin.py | habelash/AnimeView | 893620c318b25a549479c781f002e6eed326705c | [
"CC0-1.0"
] | null | null | null | from django.contrib import admin
from .models import onepiece, naruto, afrosamurai, aot, bleach, \
bnha, deathnote, fairytail, fmab, haikyu, hxh, kny, onepunchman
admin.site.site_header = 'Anime View'
# Register your models here.
class AnimeListAdmin(admin.ModelAdmin):
list_display = ('Episode', 'EpisodeLin... | 34.107143 | 67 | 0.8 | 109 | 955 | 6.972477 | 0.311927 | 0.165789 | 0.290789 | 0.489474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087958 | 955 | 27 | 68 | 35.37037 | 0.87256 | 0.027225 | 0 | 0 | 0 | 0 | 0.049622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.25 | 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 |
df60a01c096b111236fb6420b1ef0f4f34a0a4bc | 5,800 | py | Python | apps/contact/views.py | gurnitha/django-contact-manager | 58d0e1680aa8f778d4e0adb21c868058af70e502 | [
"Unlicense"
] | null | null | null | apps/contact/views.py | gurnitha/django-contact-manager | 58d0e1680aa8f778d4e0adb21c868058af70e502 | [
"Unlicense"
] | null | null | null | apps/contact/views.py | gurnitha/django-contact-manager | 58d0e1680aa8f778d4e0adb21c868058af70e502 | [
"Unlicense"
] | null | null | null | # apps/contact/urls.py
# Django modules
from django.shortcuts import render, get_object_or_404, redirect
from django.views.generic import ListView, DetailView
from django.db.models import Q
from django.views.generic.edit import (
CreateView,
UpdateView,
DeleteView
)
from django.contrib.auth.forms import User... | 25.108225 | 71 | 0.696724 | 676 | 5,800 | 5.837278 | 0.174556 | 0.068424 | 0.032438 | 0.040547 | 0.680182 | 0.653573 | 0.653573 | 0.653573 | 0.64445 | 0.64445 | 0 | 0.00554 | 0.159655 | 5,800 | 231 | 72 | 25.108225 | 0.804062 | 0.591207 | 0 | 0.177419 | 0 | 0 | 0.101164 | 0.010743 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048387 | false | 0 | 0.145161 | 0 | 0.645161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
df6252908a12c49e3d5354f06eb6a587268a5913 | 421 | py | Python | minpair/__init__.py | brandonlim-hs/minpair | f8ea7fcab0bfc4a6b9bc45dd2b1f0aeb089b365e | [
"MIT"
] | 1 | 2020-12-29T04:25:55.000Z | 2020-12-29T04:25:55.000Z | minpair/__init__.py | brandonlim-hs/minpair | f8ea7fcab0bfc4a6b9bc45dd2b1f0aeb089b365e | [
"MIT"
] | null | null | null | minpair/__init__.py | brandonlim-hs/minpair | f8ea7fcab0bfc4a6b9bc45dd2b1f0aeb089b365e | [
"MIT"
] | null | null | null | from minpair.generator import Generator
def generator(**args):
return Generator(**args)
def vowel_minpair(vowels: list):
return generator().vowel_minpair(vowels)
__all__ = ['__version__']
try:
from minpair._version import version as __version__
except ImportError:
# broken installation, we don't e... | 22.157895 | 64 | 0.738717 | 52 | 421 | 5.615385 | 0.576923 | 0.075342 | 0.123288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180523 | 421 | 18 | 65 | 23.388889 | 0.846377 | 0.230404 | 0 | 0 | 0 | 0 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.3 | 0.2 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
df8ace422d0773f016abe3a66ba963ff2a2e4e02 | 1,571 | py | Python | src/metrics/patterns.py | dapaulid/life | 365e717f4080b1a1439767d5119dfca0a15d194b | [
"MIT"
] | null | null | null | src/metrics/patterns.py | dapaulid/life | 365e717f4080b1a1439767d5119dfca0a15d194b | [
"MIT"
] | null | null | null | src/metrics/patterns.py | dapaulid/life | 365e717f4080b1a1439767d5119dfca0a15d194b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#-------------------------------------------------------------------------------
"""
@license
Copyright (c) Daniel Pauli <dapaulid@gmail.com>
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
"""
#------------... | 29.641509 | 80 | 0.299173 | 101 | 1,571 | 4.564356 | 0.574257 | 0.034707 | 0.045553 | 0.052061 | 0.019523 | 0.019523 | 0.019523 | 0.019523 | 0 | 0 | 0 | 0.008869 | 0.138765 | 1,571 | 52 | 81 | 30.211538 | 0.331855 | 0.718651 | 0 | 0 | 0 | 0 | 0.020305 | 0 | 0 | 0 | 0 | 0.019231 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
10bf0228693f50f71f5415fe85ef0dbd66b187d3 | 939 | py | Python | RadioStation/Media/Media.py | m-mohiey/AutomaticRadioStation | 9ec3935e08ef58302d314387bc107bd1be8a6418 | [
"MIT"
] | null | null | null | RadioStation/Media/Media.py | m-mohiey/AutomaticRadioStation | 9ec3935e08ef58302d314387bc107bd1be8a6418 | [
"MIT"
] | null | null | null | RadioStation/Media/Media.py | m-mohiey/AutomaticRadioStation | 9ec3935e08ef58302d314387bc107bd1be8a6418 | [
"MIT"
] | null | null | null | import ffmpeg
from datetime import timedelta
class Media:
def __init__(self, path):
self.path = path
self._metadata = ffmpeg.probe(path)['format']
@property
def duration(self):
return timedelta(seconds=float(self._metadata['duration']))
@property
def media_type(self):
... | 28.454545 | 245 | 0.650692 | 149 | 939 | 3.946309 | 0.355705 | 0.102041 | 0.040816 | 0.040816 | 0.142857 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0.089147 | 0.175719 | 939 | 33 | 246 | 28.454545 | 0.670543 | 0 | 0 | 0.166667 | 0 | 0.041667 | 0.287234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.083333 | 0.166667 | 0.5 | 0.166667 | 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 |
10bf89bcb843569b19b7f60f702ee2b9ea5cd457 | 1,731 | py | Python | cogeo_mosaic/backends/__init__.py | drnextgis/cogeo-mosaic | 034d0124a2da894c2bb432b1c0cebba7f716edbd | [
"MIT"
] | null | null | null | cogeo_mosaic/backends/__init__.py | drnextgis/cogeo-mosaic | 034d0124a2da894c2bb432b1c0cebba7f716edbd | [
"MIT"
] | null | null | null | cogeo_mosaic/backends/__init__.py | drnextgis/cogeo-mosaic | 034d0124a2da894c2bb432b1c0cebba7f716edbd | [
"MIT"
] | null | null | null | """cogeo_mosaic.backends."""
from typing import Any
from urllib.parse import urlparse
from cogeo_mosaic.backends.base import BaseBackend
from cogeo_mosaic.backends.dynamodb import DynamoDBBackend
from cogeo_mosaic.backends.file import FileBackend
from cogeo_mosaic.backends.memory import MemoryBackend
from cogeo_mosai... | 31.472727 | 70 | 0.674754 | 202 | 1,731 | 5.737624 | 0.316832 | 0.085418 | 0.147541 | 0.158758 | 0.056946 | 0.056946 | 0 | 0 | 0 | 0 | 0 | 0.003546 | 0.185442 | 1,731 | 54 | 71 | 32.055556 | 0.81844 | 0.149047 | 0 | 0 | 0 | 0 | 0.05567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.322581 | 0 | 0.612903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
10c2ed18dfd7bc71d142425cca4751533bd0adeb | 346 | py | Python | ores/tests/test_score_request.py | ureesoriano/ores | dda9db6c8737d12acbae5b0d43938d93c9e7ea8e | [
"MIT"
] | null | null | null | ores/tests/test_score_request.py | ureesoriano/ores | dda9db6c8737d12acbae5b0d43938d93c9e7ea8e | [
"MIT"
] | null | null | null | ores/tests/test_score_request.py | ureesoriano/ores | dda9db6c8737d12acbae5b0d43938d93c9e7ea8e | [
"MIT"
] | null | null | null | from ..score_request import ScoreRequest
def test_score_request():
sr = ScoreRequest("foo", [1, 2, 3], ["bar", "baz"])
assert sr.context_name == "foo"
assert sr.rev_ids == {1, 2, 3}
assert sr.model_names == {"bar", "baz"}
assert sr.precache is False
assert sr.include_features is False
ass... | 26.615385 | 55 | 0.653179 | 52 | 346 | 4.192308 | 0.538462 | 0.220183 | 0.027523 | 0.12844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021898 | 0.208092 | 346 | 12 | 56 | 28.833333 | 0.773723 | 0 | 0 | 0 | 0 | 0 | 0.052023 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
10c31a3d91c9d33e35570eebf1a248037271c823 | 613 | py | Python | project/fs/fs_generalfunctions.py | cj8-cheerful-cheetas/project | 5d9c7cfc2cfec5fca05997bc42d490529cd935ab | [
"MIT"
] | null | null | null | project/fs/fs_generalfunctions.py | cj8-cheerful-cheetas/project | 5d9c7cfc2cfec5fca05997bc42d490529cd935ab | [
"MIT"
] | 3 | 2021-07-17T10:52:21.000Z | 2021-07-17T10:55:54.000Z | project/fs/fs_generalfunctions.py | cj8-cheerful-cheetas/project | 5d9c7cfc2cfec5fca05997bc42d490529cd935ab | [
"MIT"
] | 2 | 2021-07-17T10:54:33.000Z | 2021-08-30T19:27:49.000Z | from fs.fs_exceptions import NoSuchIndex
def restrictRange(min, max, keyword):
def decorator(function):
def check(*args, **kwargs):
if min <= kwargs[keyword] < max:
return function(*args, **kwargs)
raise NoSuchIndex()
return check
return decorator
"arr... | 19.774194 | 62 | 0.595432 | 75 | 613 | 4.853333 | 0.373333 | 0.131868 | 0.06044 | 0.076923 | 0.164835 | 0.164835 | 0.164835 | 0 | 0 | 0 | 0 | 0.002273 | 0.282219 | 613 | 30 | 63 | 20.433333 | 0.825 | 0 | 0 | 0.1 | 0 | 0 | 0.021207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 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 |
10d6381626e93a981f19d1b84b92f648aacbca47 | 184 | py | Python | log2/package0/module0.py | nkzmsb/howto | bdf5e8aa8dc4b651f9bb132b1d533de90ba45ef4 | [
"MIT"
] | null | null | null | log2/package0/module0.py | nkzmsb/howto | bdf5e8aa8dc4b651f9bb132b1d533de90ba45ef4 | [
"MIT"
] | 2 | 2021-12-14T00:19:47.000Z | 2021-12-14T00:21:53.000Z | log2/package0/module0.py | nkzmsb/howto | bdf5e8aa8dc4b651f9bb132b1d533de90ba45ef4 | [
"MIT"
] | null | null | null | # 最終手段ハンドラを確認するためのモジュール
import logging
logger=logging.getLogger(__name__)
# Note
# any Handler is not added to logger
def func0():
logger.error("module0 : without_handler") | 16.727273 | 49 | 0.744565 | 22 | 184 | 6 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0.168478 | 184 | 11 | 49 | 16.727273 | 0.849673 | 0.331522 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
10d6a5507e243eccb67ce2f82587bb48708ae834 | 73 | py | Python | Pandas.py | ishitha08/c103 | b46d3932868d2fe6b0394a6cabf613cb5c79f083 | [
"MIT"
] | null | null | null | Pandas.py | ishitha08/c103 | b46d3932868d2fe6b0394a6cabf613cb5c79f083 | [
"MIT"
] | null | null | null | Pandas.py | ishitha08/c103 | b46d3932868d2fe6b0394a6cabf613cb5c79f083 | [
"MIT"
] | null | null | null | import pandas as pd
data = [1,2,3,4,5]
df = pd.DataFrame(data)
print(df) | 18.25 | 23 | 0.671233 | 16 | 73 | 3.0625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0.150685 | 73 | 4 | 24 | 18.25 | 0.709677 | 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 |
10e78c0fc826ea93b28382039c36ba828ba1ef04 | 362 | py | Python | happ/api/regular/feedback.py | Mafioso/happ-backend | 3a3a57add4ec55985cc37db79c71430ed78b1ee3 | [
"MIT"
] | 1 | 2017-10-22T06:12:33.000Z | 2017-10-22T06:12:33.000Z | happ/api/regular/feedback.py | Mafioso/happ-backend | 3a3a57add4ec55985cc37db79c71430ed78b1ee3 | [
"MIT"
] | null | null | null | happ/api/regular/feedback.py | Mafioso/happ-backend | 3a3a57add4ec55985cc37db79c71430ed78b1ee3 | [
"MIT"
] | null | null | null | from rest_framework import mixins
from rest_framework_mongoengine import viewsets
from happ.serializers import FeedbackMessageSerializer
class FeedbackMessageViewSet(viewsets.GenericViewSet, mixins.CreateModelMixin):
serializer_class = FeedbackMessageSerializer
def perform_create(self, serializer):
... | 30.166667 | 79 | 0.834254 | 36 | 362 | 8.25 | 0.638889 | 0.053872 | 0.114478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116022 | 362 | 11 | 80 | 32.909091 | 0.928125 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
10ede10483aa85ede7885663a3c53c210a5e7bf4 | 5,959 | py | Python | list.py | PriyanshuKumarMishra/list_basic_question.py | 5b974cd5c9bd01ae5da0b5c7d6c30766960a6a66 | [
"MIT"
] | null | null | null | list.py | PriyanshuKumarMishra/list_basic_question.py | 5b974cd5c9bd01ae5da0b5c7d6c30766960a6a66 | [
"MIT"
] | null | null | null | list.py | PriyanshuKumarMishra/list_basic_question.py | 5b974cd5c9bd01ae5da0b5c7d6c30766960a6a66 | [
"MIT"
] | null | null | null | #### prime , even and odd number #####
# l=int(input("How many input do you need :"))
# x=[]
# y=[]
# z=[]
# b=[]
# for p in range (l):
# t=int(input("Enter the number :"))
# x.append(t)
# for i in x:
# if i > 1:
# for j in range(2,i):
# if i%j==0:
# break
# else... | 16.833333 | 77 | 0.458466 | 1,028 | 5,959 | 2.657588 | 0.166342 | 0.026354 | 0.039531 | 0.032211 | 0.362006 | 0.320278 | 0.293192 | 0.264641 | 0.243777 | 0.243777 | 0 | 0.075996 | 0.317671 | 5,959 | 353 | 78 | 16.88102 | 0.595917 | 0.854674 | 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 |
8022376ceb5dadaed4355ea2f02dde44ca9fff40 | 253 | py | Python | streamprocessor/client/stdio.py | rtl-nl/streamprocessor | c2754aea486aef80758d9caa6851a511a0c41925 | [
"MIT"
] | 1 | 2019-02-15T14:30:45.000Z | 2019-02-15T14:30:45.000Z | streamprocessor/client/stdio.py | textpipe/streamprocessor | c2754aea486aef80758d9caa6851a511a0c41925 | [
"MIT"
] | null | null | null | streamprocessor/client/stdio.py | textpipe/streamprocessor | c2754aea486aef80758d9caa6851a511a0c41925 | [
"MIT"
] | null | null | null | import sys
from streamprocessor.client.base import Consumer, Producer
class StandardIOConsumer(Consumer):
def consume(self):
yield from sys.stdin
class StandardIOProducer(Producer):
def produce(self, message):
print(message)
| 19.461538 | 58 | 0.735178 | 28 | 253 | 6.642857 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189723 | 253 | 12 | 59 | 21.083333 | 0.907317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
8028634eb6554764b5c142e919eafc3038eb0bb0 | 1,223 | py | Python | btb_manager_telegram/error.py | SunBooster/BTB-manager-telegram | 5b01652edba35a2aa6b01956edc902a842b3c01f | [
"MIT"
] | null | null | null | btb_manager_telegram/error.py | SunBooster/BTB-manager-telegram | 5b01652edba35a2aa6b01956edc902a842b3c01f | [
"MIT"
] | null | null | null | btb_manager_telegram/error.py | SunBooster/BTB-manager-telegram | 5b01652edba35a2aa6b01956edc902a842b3c01f | [
"MIT"
] | null | null | null | class btbmtException(Exception):
def __init__(self, message=None):
self.message = message
def __str__(self):
if self.message is None:
return ""
else:
return self.message
class BTBConfigNotFound(btbmtException):
def __init__(self, path=None):
message... | 27.177778 | 106 | 0.625511 | 140 | 1,223 | 5.107143 | 0.371429 | 0.058741 | 0.092308 | 0.174825 | 0.430769 | 0.430769 | 0.430769 | 0.167832 | 0.167832 | 0.167832 | 0 | 0 | 0.281276 | 1,223 | 44 | 107 | 27.795455 | 0.813424 | 0 | 0 | 0.393939 | 0 | 0 | 0.235487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
802e8ca49204a9bf9d439b114d4f3315d453e00f | 1,777 | py | Python | nemo/collections/common/losses/mse_loss.py | hamjam/NeMo | b3484d32e1317666151f931bfa39867d88ed8658 | [
"Apache-2.0"
] | 4,145 | 2019-09-13T08:29:43.000Z | 2022-03-31T18:31:44.000Z | nemo/collections/common/losses/mse_loss.py | hamjam/NeMo | b3484d32e1317666151f931bfa39867d88ed8658 | [
"Apache-2.0"
] | 2,031 | 2019-09-17T16:51:39.000Z | 2022-03-31T23:52:41.000Z | nemo/collections/common/losses/mse_loss.py | hamjam/NeMo | b3484d32e1317666151f931bfa39867d88ed8658 | [
"Apache-2.0"
] | 1,041 | 2019-09-13T10:08:21.000Z | 2022-03-30T06:37:38.000Z | # Copyright (c) 2020, NVIDIA CORPORATION. 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 appli... | 30.637931 | 89 | 0.655037 | 208 | 1,777 | 5.519231 | 0.552885 | 0.052265 | 0.022648 | 0.027875 | 0.060976 | 0.060976 | 0 | 0 | 0 | 0 | 0 | 0.005961 | 0.244795 | 1,777 | 57 | 90 | 31.175439 | 0.849478 | 0.466517 | 0 | 0.105263 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0 | 0.578947 | 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 |
8035c2d7a9126b6cdea12061987f025e743d2d6e | 150 | py | Python | step4/components/__init__.py | 03015417pzj/PyRankine | e9acd56f91c542bd9fb584d348c48d50b543d5bc | [
"MIT"
] | null | null | null | step4/components/__init__.py | 03015417pzj/PyRankine | e9acd56f91c542bd9fb584d348c48d50b543d5bc | [
"MIT"
] | null | null | null | step4/components/__init__.py | 03015417pzj/PyRankine | e9acd56f91c542bd9fb584d348c48d50b543d5bc | [
"MIT"
] | null | null | null | """
Components Package of the General Simulator of Rankine Cycle
"""
__all__ = ["node","boiler", "condenser","condenser","openedheater","turbine"]
| 21.428571 | 77 | 0.706667 | 16 | 150 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 150 | 6 | 78 | 25 | 0.772727 | 0.4 | 0 | 0 | 0 | 0 | 0.5875 | 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 |
804722837c4840e9969d880b8c1cd1c26b6ab238 | 2,435 | py | Python | plugins/virustotal_yara/komand_virustotal_yara/actions/scan_file/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/virustotal_yara/komand_virustotal_yara/actions/scan_file/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/virustotal_yara/komand_virustotal_yara/actions/scan_file/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json
class Component:
DESCRIPTION = "Scans a file using Yara"
class Input:
FILE = "file"
RULES = "rules"
class Output:
RESULTS = "results"
class ScanFileInput(komand.Input):
schema = json.loads("""
{
"type": "object",
... | 20.123967 | 105 | 0.464887 | 206 | 2,435 | 5.378641 | 0.368932 | 0.054152 | 0.054152 | 0.034296 | 0.166065 | 0.166065 | 0.166065 | 0.166065 | 0.077617 | 0.077617 | 0 | 0.005766 | 0.358932 | 2,435 | 120 | 106 | 20.291667 | 0.704036 | 0.015195 | 0 | 0.392523 | 1 | 0.009346 | 0.808848 | 0.009599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018692 | false | 0 | 0.018692 | 0 | 0.140187 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
80528ba8b913933d890570ec5f6820eefc0bb674 | 478 | py | Python | bin/rdbox/rdbox_node.py | rdbox-intec/rdbox-middleware | e7469c68ba745187d1db5514494663a3593164df | [
"MIT"
] | 4 | 2019-04-25T06:30:18.000Z | 2020-03-21T05:46:38.000Z | bin/rdbox/rdbox_node.py | fukuta-tatsuya-intec/rdbox-middleware | fc1612c655438aaebe5ec289764854b5fa887e09 | [
"MIT"
] | 21 | 2020-01-10T02:22:55.000Z | 2021-09-27T07:30:46.000Z | bin/rdbox/rdbox_node.py | rdbox-intec/rdbox-middleware | e7469c68ba745187d1db5514494663a3593164df | [
"MIT"
] | 5 | 2019-06-21T06:18:05.000Z | 2020-09-18T02:28:25.000Z | #!/usr/bin/env python3
# coding: utf-8
class RdboxNode(object):
def __init__(self, hostname, ip, location):
self.hostname = hostname
self.ip = ip
self.location = location
def __repr__(self):
return "<RdboxNode '%s' : '%s' : '%s'>" % (self.hostname, self.ip, self.location)
... | 21.727273 | 89 | 0.604603 | 60 | 478 | 4.633333 | 0.333333 | 0.172662 | 0.151079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.267782 | 478 | 21 | 90 | 22.761905 | 0.788571 | 0.073222 | 0 | 0 | 0 | 0 | 0.068027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.307692 | 0.769231 | 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 |
80531b697895746684ba9714966e08d58ab136a8 | 9,185 | py | Python | sweetie_bot_flexbe_behaviors/src/sweetie_bot_flexbe_behaviors/joywalk_sm.py | sweetie-bot-project/sweetie_bot_flexbe_behaviors | d8511564bb9d6125838b4373263fb68a8b858d70 | [
"BSD-3-Clause"
] | null | null | null | sweetie_bot_flexbe_behaviors/src/sweetie_bot_flexbe_behaviors/joywalk_sm.py | sweetie-bot-project/sweetie_bot_flexbe_behaviors | d8511564bb9d6125838b4373263fb68a8b858d70 | [
"BSD-3-Clause"
] | null | null | null | sweetie_bot_flexbe_behaviors/src/sweetie_bot_flexbe_behaviors/joywalk_sm.py | sweetie-bot-project/sweetie_bot_flexbe_behaviors | d8511564bb9d6125838b4373263fb68a8b858d70 | [
"BSD-3-Clause"
] | 1 | 2019-12-23T05:06:26.000Z | 2019-12-23T05:06:26.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
###########################################################
# WARNING: Generated code! #
# ************************** #
# Manual changes may get lost if file is generated again. #
# Only code inside the [MANUAL] ta... | 46.624365 | 170 | 0.632771 | 979 | 9,185 | 5.727273 | 0.261491 | 0.060817 | 0.023185 | 0.031389 | 0.341181 | 0.29267 | 0.245229 | 0.245229 | 0.214375 | 0.199394 | 0 | 0.027927 | 0.208601 | 9,185 | 196 | 171 | 46.862245 | 0.743431 | 0.105934 | 0 | 0.078947 | 1 | 0 | 0.288464 | 0.046324 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.087719 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
8059c8bced6969b16c10dee35527aef3f9e904b2 | 2,607 | py | Python | ooobuild/lo/frame/desktop_task.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/lo/frame/desktop_task.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/lo/frame/desktop_task.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2022 :Barry-Thomas-Paul: Moss
#
# 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 applicab... | 28.648352 | 124 | 0.693517 | 324 | 2,607 | 5.42284 | 0.462963 | 0.075697 | 0.029596 | 0.025612 | 0.120091 | 0.120091 | 0.097325 | 0.097325 | 0.097325 | 0.097325 | 0 | 0.036103 | 0.224396 | 2,607 | 90 | 125 | 28.966667 | 0.832839 | 0.453778 | 0 | 0.25 | 0 | 0 | 0.0744 | 0.024 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.285714 | 0 | 0.678571 | 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 |
337cb864f978111a5b51a0b099bf07d31bd9e99e | 1,562 | py | Python | apis_server/decorators.py | ilyde-platform/ilyde-apis | cd5dadbfcf3b4735cdc26a5af0ab51b7b20ffa04 | [
"Apache-2.0"
] | null | null | null | apis_server/decorators.py | ilyde-platform/ilyde-apis | cd5dadbfcf3b4735cdc26a5af0ab51b7b20ffa04 | [
"Apache-2.0"
] | null | null | null | apis_server/decorators.py | ilyde-platform/ilyde-apis | cd5dadbfcf3b4735cdc26a5af0ab51b7b20ffa04 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
#
# Copyright (c) 2020-2021 Hopenly srl.
#
# This file is part of Ilyde.
#
# 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
#... | 31.24 | 106 | 0.685659 | 203 | 1,562 | 5.236453 | 0.561576 | 0.056444 | 0.024459 | 0.030103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01586 | 0.233035 | 1,562 | 49 | 107 | 31.877551 | 0.871452 | 0.445583 | 0 | 0.105263 | 0 | 0 | 0.100606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.157895 | 0 | 0.736842 | 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 |
339a53d4f6fa3fd905d716af13d24b3cd89cc1f5 | 614 | py | Python | biblib/views/__init__.py | nemanjamart/biblib-service | 7c5c57a678b7dffdafd6550cde13d8b3dd610d46 | [
"MIT"
] | 4 | 2017-02-25T19:44:42.000Z | 2019-06-24T15:43:12.000Z | biblib/views/__init__.py | nemanjamart/biblib-service | 7c5c57a678b7dffdafd6550cde13d8b3dd610d46 | [
"MIT"
] | 107 | 2015-05-14T17:34:08.000Z | 2022-03-29T14:07:33.000Z | biblib/views/__init__.py | nemanjamart/biblib-service | 7c5c57a678b7dffdafd6550cde13d8b3dd610d46 | [
"MIT"
] | 11 | 2015-05-13T19:22:38.000Z | 2022-02-03T17:29:34.000Z | """
Place holder for the views. The current views file would be too large and can
get annoying to scroll when reading the source code.
"""
# Constant definitions
DEFAULT_LIBRARY_NAME_PREFIX = 'Untitled Library'
DEFAULT_LIBRARY_DESCRIPTION = 'My ADS library'
USER_ID_KEYWORD = 'X-Adsws-Uid'
from .base_view import BaseVi... | 36.117647 | 77 | 0.832248 | 85 | 614 | 5.835294 | 0.647059 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120521 | 614 | 17 | 78 | 36.117647 | 0.918519 | 0.247557 | 0 | 0 | 0 | 0 | 0.09011 | 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 |
33ada33136433bca8fd26edece8e3606edc757f1 | 356 | py | Python | thread_utils/workers.py | HaowenWeiJohn/RealityNavigationSPS | 3b2dee74aab43ba317f835bc1f7deae71c1a8128 | [
"MIT"
] | 1 | 2021-05-02T09:21:46.000Z | 2021-05-02T09:21:46.000Z | thread_utils/workers.py | HaowenWeiJohn/RealityNavigationSPS | 3b2dee74aab43ba317f835bc1f7deae71c1a8128 | [
"MIT"
] | null | null | null | thread_utils/workers.py | HaowenWeiJohn/RealityNavigationSPS | 3b2dee74aab43ba317f835bc1f7deae71c1a8128 | [
"MIT"
] | null | null | null | import time
import cv2
import pyqtgraph as pg
from PyQt5.QtCore import QObject
from PyQt5.QtCore import pyqtSignal
from pylsl import local_clock
from config import config_ui
from utils.sim import sim_openBCI_eeg, sim_unityLSL, sim_inference
import pyautogui
import numpy as np
from utils.ui_utils import dialog_pop... | 19.777778 | 66 | 0.837079 | 55 | 356 | 5.272727 | 0.527273 | 0.062069 | 0.103448 | 0.144828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00974 | 0.134831 | 356 | 18 | 67 | 19.777778 | 0.931818 | 0.087079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
33adf871176f308c3d1cec5a1bbe0e2478662b96 | 1,527 | py | Python | lib/surface/filestore/__init__.py | bshaffer/google-cloud-sdk | f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9 | [
"Apache-2.0"
] | null | null | null | lib/surface/filestore/__init__.py | bshaffer/google-cloud-sdk | f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9 | [
"Apache-2.0"
] | null | null | null | lib/surface/filestore/__init__.py | bshaffer/google-cloud-sdk | f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*- #
# Copyright 2017 Google Inc. 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 requir... | 35.511628 | 79 | 0.732809 | 207 | 1,527 | 5.323672 | 0.565217 | 0.054446 | 0.043557 | 0.029038 | 0.076225 | 0.076225 | 0.076225 | 0.076225 | 0.076225 | 0 | 0 | 0.007335 | 0.196464 | 1,527 | 42 | 80 | 36.357143 | 0.890791 | 0.449247 | 0 | 0 | 0 | 0 | 0.038596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
33b5df3a56f3c389456f72077ac2ebc5b90ce742 | 5,657 | py | Python | src/oci/data_safe/models/alert_aggregation_items.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/data_safe/models/alert_aggregation_items.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/data_safe/models/alert_aggregation_items.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... | 29.617801 | 245 | 0.638501 | 622 | 5,657 | 5.620579 | 0.20418 | 0.044622 | 0.193078 | 0.088673 | 0.502574 | 0.336098 | 0.228833 | 0.187643 | 0.156751 | 0.156751 | 0 | 0.004469 | 0.287962 | 5,657 | 190 | 246 | 29.773684 | 0.863456 | 0.517942 | 0 | 0.080645 | 0 | 0 | 0.089914 | 0.012369 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.032258 | 0.032258 | 0.419355 | 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 |
33e1e5dfe63926bb7626b2515a6463d6783a9e38 | 397 | py | Python | booksite/booksite/sitemap.py | awesome-archive/bookspider | d51f909fe95dc27339242ecdd2b6f1f6d811851f | [
"Apache-2.0"
] | 39 | 2015-05-24T08:45:22.000Z | 2020-02-18T07:42:58.000Z | booksite/booksite/sitemap.py | awesome-archive/bookspider | d51f909fe95dc27339242ecdd2b6f1f6d811851f | [
"Apache-2.0"
] | 3 | 2016-01-05T15:28:33.000Z | 2017-03-18T12:40:45.000Z | booksite/booksite/sitemap.py | awesome-archive/bookspider | d51f909fe95dc27339242ecdd2b6f1f6d811851f | [
"Apache-2.0"
] | 36 | 2015-04-30T08:06:08.000Z | 2019-01-22T15:12:49.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib.sitemaps import Sitemap
from booksite.book.models import Book
class BookSitemaps(Sitemap):
changefreq = 'hourly'
priority = 0.5
def items(self):
return Book.objects.order_by("-last_update").filter(last_update__isnu... | 26.466667 | 92 | 0.715365 | 52 | 397 | 5.25 | 0.711538 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.176322 | 397 | 14 | 93 | 28.357143 | 0.816514 | 0.052897 | 0 | 0 | 0 | 0 | 0.048128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.3 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
d507acaa5ff799bb80d565eb8620d6d539f4af7e | 115 | py | Python | src/files_manip.py | TaySai/First_python | 507734bce57afac5cdf1b29d59f8e2e824bc0f75 | [
"MIT"
] | null | null | null | src/files_manip.py | TaySai/First_python | 507734bce57afac5cdf1b29d59f8e2e824bc0f75 | [
"MIT"
] | null | null | null | src/files_manip.py | TaySai/First_python | 507734bce57afac5cdf1b29d59f8e2e824bc0f75 | [
"MIT"
] | null | null | null | import csv
with open('int.csv') as my_file:
read = csv.reader(my_file)
for row in read:
print(row)
| 19.166667 | 32 | 0.626087 | 20 | 115 | 3.5 | 0.7 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 115 | 5 | 33 | 23 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.06087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.