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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4390f797c460927cf5d18b028a6849ca63e3232 | 8,990 | py | Python | src/models/lightning_model.py | LuizPitaAlmeida/image_caption_generator | e368b9f23ef283856a42f78b724d3181245b27de | [
"Apache-2.0"
] | null | null | null | src/models/lightning_model.py | LuizPitaAlmeida/image_caption_generator | e368b9f23ef283856a42f78b724d3181245b27de | [
"Apache-2.0"
] | null | null | null | src/models/lightning_model.py | LuizPitaAlmeida/image_caption_generator | e368b9f23ef283856a42f78b724d3181245b27de | [
"Apache-2.0"
] | null | null | null | """lightning_model
The Pytorch Lightning is a software package over Pytorch that tries to free
scientists of software engineering's problems. It is used to organize Pytorch
codes in a simple style giving to scientist a easily way to modeling, train,
valid and test deep learning models.
Please, read more in (<https://gi... | 37.302905 | 79 | 0.593548 | 1,137 | 8,990 | 4.502199 | 0.165347 | 0.041024 | 0.038679 | 0.060168 | 0.71889 | 0.71889 | 0.701114 | 0.693104 | 0.693104 | 0.693104 | 0 | 0.017717 | 0.290545 | 8,990 | 240 | 80 | 37.458333 | 0.784886 | 0.093548 | 0 | 0.725146 | 0 | 0 | 0.053402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0 | 0.046784 | 0.023392 | 0.187135 | 0.070175 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b44265563a4b224f2ba42e4c04043099491c6a76 | 85 | py | Python | konichiwa/__main__.py | olooney/the-perfect-hello-world | e10e7fa9efeea7f9d86577d6108c84f050588cc3 | [
"Apache-2.0"
] | null | null | null | konichiwa/__main__.py | olooney/the-perfect-hello-world | e10e7fa9efeea7f9d86577d6108c84f050588cc3 | [
"Apache-2.0"
] | null | null | null | konichiwa/__main__.py | olooney/the-perfect-hello-world | e10e7fa9efeea7f9d86577d6108c84f050588cc3 | [
"Apache-2.0"
] | null | null | null | """Expose Konichiwa CLI"""
from . import main
if __name__ == '__main__':
main()
| 14.166667 | 26 | 0.635294 | 10 | 85 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 85 | 5 | 27 | 17 | 0.676471 | 0.235294 | 0 | 0 | 0 | 0 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b4449dffae966e5aa10c7578c07053c13df3f37e | 525 | py | Python | arpeggio/error_classes.py | bitranox/Arpeggio | 62151cb8ef2cfe5113a4388da09892e7714c5e96 | [
"MIT"
] | null | null | null | arpeggio/error_classes.py | bitranox/Arpeggio | 62151cb8ef2cfe5113a4388da09892e7714c5e96 | [
"MIT"
] | null | null | null | arpeggio/error_classes.py | bitranox/Arpeggio | 62151cb8ef2cfe5113a4388da09892e7714c5e96 | [
"MIT"
] | null | null | null | class ArpeggioError(Exception):
"""
Base class for arpeggio errors.
"""
def __init__(self, message: str) -> None:
self.message = message
def __str__(self) -> str:
return repr(self.message)
class GrammarError(ArpeggioError):
"""
Error raised during parser building phase use... | 21.875 | 75 | 0.659048 | 58 | 525 | 5.827586 | 0.568966 | 0.097633 | 0.142012 | 0.177515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251429 | 525 | 23 | 76 | 22.826087 | 0.860051 | 0.394286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b45b99a657852c7586921f8b497bdf79c7dff2f5 | 104 | py | Python | cloud_scanner_generic/simulators/__init__.py | Microsoft/cloud-scanner-generic | ef3cc01d64fd1857245049ce4ec23f1856eee46f | [
"MIT"
] | 4 | 2019-06-22T14:33:43.000Z | 2021-04-20T16:18:28.000Z | cloud_scanner_generic/simulators/__init__.py | microsoft/cloud-scanner-generic | ef3cc01d64fd1857245049ce4ec23f1856eee46f | [
"MIT"
] | null | null | null | cloud_scanner_generic/simulators/__init__.py | microsoft/cloud-scanner-generic | ef3cc01d64fd1857245049ce4ec23f1856eee46f | [
"MIT"
] | 5 | 2019-11-03T22:54:49.000Z | 2020-08-05T14:39:06.000Z | from cloud_scanner_generic.simulators.resource_service_simulator import (
ResourceServiceSimulator)
| 34.666667 | 73 | 0.875 | 10 | 104 | 8.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 104 | 2 | 74 | 52 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b46653a095014805e98a9ef835475608106eddb1 | 652 | py | Python | graspologic/__init__.py | PSSF23/graspologic | d5ae48d0481b6a60fa580158c2e9bae9cc506a9d | [
"MIT"
] | null | null | null | graspologic/__init__.py | PSSF23/graspologic | d5ae48d0481b6a60fa580158c2e9bae9cc506a9d | [
"MIT"
] | null | null | null | graspologic/__init__.py | PSSF23/graspologic | d5ae48d0481b6a60fa580158c2e9bae9cc506a9d | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation and contributors.
# Licensed under the MIT License.
from .version.version import name, version as __version__
import warnings
import graspologic.align
import graspologic.cluster
import graspologic.datasets
import graspologic.embed
import graspologic.inference
import graspologic.... | 28.347826 | 69 | 0.854294 | 69 | 652 | 8.014493 | 0.536232 | 0.338156 | 0.101266 | 0.130199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082822 | 652 | 22 | 70 | 29.636364 | 0.924749 | 0.130368 | 0 | 0 | 0 | 0 | 0.031915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8125 | 0 | 0.8125 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b46ba398860d2c489049a7e294a0a7345d941afb | 19,257 | py | Python | Recommender.py | shan4224/Predict-Ratings | 4630a6e1a2daa2f2f410a48824d8521fec4601e6 | [
"MIT"
] | null | null | null | Recommender.py | shan4224/Predict-Ratings | 4630a6e1a2daa2f2f410a48824d8521fec4601e6 | [
"MIT"
] | null | null | null | Recommender.py | shan4224/Predict-Ratings | 4630a6e1a2daa2f2f410a48824d8521fec4601e6 | [
"MIT"
] | null | null | null | # Importing some libraries
import graphlab as gl
import numpy as np
import pandas as pd
import os
from sklearn.preprocessing import MinMaxScaler
from sklearn.linear_model import LinearRegression
from sklearn.tree import DecisionTreeRegressor
from sklearn.ensemble import RandomForestRegressor
# Import Files
train = pd... | 101.888889 | 146 | 0.759776 | 2,439 | 19,257 | 5.748257 | 0.105781 | 0.10699 | 0.185449 | 0.228245 | 0.654993 | 0.649144 | 0.649144 | 0.649144 | 0.649144 | 0.649144 | 0 | 0.079674 | 0.127278 | 19,257 | 188 | 147 | 102.430851 | 0.754552 | 0.007997 | 0 | 0 | 0 | 0 | 0.037768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.046512 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b478e81dfa6cae7a7e38db74b67f745df7672733 | 527 | py | Python | src/python/algorithms/find_next_square.py | Binjaaa/CodeWarsOldRepublic | 6d27ef9426f956243fdcf908898856815cfe022d | [
"MIT"
] | null | null | null | src/python/algorithms/find_next_square.py | Binjaaa/CodeWarsOldRepublic | 6d27ef9426f956243fdcf908898856815cfe022d | [
"MIT"
] | 6 | 2017-11-16T11:05:31.000Z | 2017-12-03T18:31:07.000Z | src/python/algorithms/find_next_square.py | Binjaaa/CodeWarsOldRepublic | 6d27ef9426f956243fdcf908898856815cfe022d | [
"MIT"
] | null | null | null | import math
def find_next_square(sq):
if sq > 0 and sq % (math.sqrt(sq)) == 0:
return (math.sqrt(sq)+1)**2
else:
return -1
print find_next_square(-1)
print find_next_square(0)
print find_next_square(1)
print find_next_square(121)
print find_next_square(625)
print find_next_square(114)
# Examp... | 25.095238 | 63 | 0.709677 | 84 | 527 | 4.285714 | 0.416667 | 0.155556 | 0.272222 | 0.316667 | 0.219444 | 0.216667 | 0.216667 | 0.216667 | 0.216667 | 0 | 0 | 0.081081 | 0.157495 | 527 | 21 | 64 | 25.095238 | 0.72973 | 0.383302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
81ff36cf59b2a5cfbb708771fc46ed7ee4fdc898 | 90,153 | py | Python | ondewo/t2s/text_to_speech_pb2.py | ondewo/ondewo-t2s-client-python | c580c934c7e0e703f81bbddeee3831919fd5f0a2 | [
"Apache-2.0"
] | null | null | null | ondewo/t2s/text_to_speech_pb2.py | ondewo/ondewo-t2s-client-python | c580c934c7e0e703f81bbddeee3831919fd5f0a2 | [
"Apache-2.0"
] | null | null | null | ondewo/t2s/text_to_speech_pb2.py | ondewo/ondewo-t2s-client-python | c580c934c7e0e703f81bbddeee3831919fd5f0a2 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ondewo/t2s/text-to-speech.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
... | 43.447229 | 7,690 | 0.757579 | 11,300 | 90,153 | 5.709469 | 0.044071 | 0.046623 | 0.079219 | 0.071563 | 0.768883 | 0.701505 | 0.655564 | 0.644915 | 0.63143 | 0.623867 | 0 | 0.041723 | 0.120296 | 90,153 | 2,074 | 7,691 | 43.468177 | 0.771776 | 0.024103 | 0 | 0.697879 | 1 | 0.002069 | 0.193211 | 0.149181 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003104 | 0 | 0.003104 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 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 | 4 |
c3117e127fe4512f30ea255903fe7d4a65c59571 | 475 | py | Python | python/app/models/user.py | amilstead/unity3d-thrift-twisted | 25a8601a6b9a6fcf9b1cd79873ad4c0afa45dcb8 | [
"MIT"
] | 28 | 2015-07-27T21:18:41.000Z | 2020-03-16T07:51:06.000Z | python/app/models/user.py | amilstead/unity3d-thrift-twisted | 25a8601a6b9a6fcf9b1cd79873ad4c0afa45dcb8 | [
"MIT"
] | 6 | 2015-07-27T14:30:06.000Z | 2021-03-29T12:47:54.000Z | python/app/models/user.py | amilstead/unity3d-thrift-twisted | 25a8601a6b9a6fcf9b1cd79873ad4c0afa45dcb8 | [
"MIT"
] | 5 | 2016-03-09T07:26:54.000Z | 2017-03-08T14:27:16.000Z | import sqlalchemy
from models import base
class User(base.ModelBase):
__tablename__ = "users"
id = sqlalchemy.Column(sqlalchemy.Integer, primary_key=True)
username = sqlalchemy.Column(sqlalchemy.String)
password = sqlalchemy.Column(sqlalchemy.String)
def __repr__(self):
repr_str = "<Us... | 23.75 | 70 | 0.627368 | 51 | 475 | 5.627451 | 0.490196 | 0.167247 | 0.271777 | 0.222997 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254737 | 475 | 20 | 71 | 23.75 | 0.810734 | 0 | 0 | 0 | 0 | 0 | 0.105042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.214286 | 0.142857 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
c325fd02be6e40e7f678688a389341ae2ced9c25 | 339 | py | Python | tests/strings/fstrings.py | nanobowers/py2cr | b7deb8c227cf43ce0e1bf7d638d5b4c00b7e9bdb | [
"MIT"
] | 61 | 2021-10-06T03:29:45.000Z | 2022-02-11T20:42:16.000Z | tests/strings/fstrings.py | nanobowers/py2cr | b7deb8c227cf43ce0e1bf7d638d5b4c00b7e9bdb | [
"MIT"
] | 2 | 2021-12-27T03:05:30.000Z | 2021-12-27T18:10:33.000Z | tests/strings/fstrings.py | nanobowers/py2cr | b7deb8c227cf43ce0e1bf7d638d5b4c00b7e9bdb | [
"MIT"
] | 2 | 2021-12-27T16:35:46.000Z | 2021-12-28T10:41:49.000Z | a = "dog\ndog\tdog"
b = 'cat'
c = '🐱'
print(f"001 {a}{b}{c}")
print(f'002 {a}{b}{c}')
print(f"""003 {a}{b}{c}""")
print(f"005 string {a!s} {b!s} {c!s}")
#broken print(f"006 ascii {a!a} {b!a} {c!a}")
d = -177
print(f"int: {d}")
e = (1, 3, 5)
print(f'tuple: {e}')
print(f'tuple: {e!s}')
print(f'tuple: {e!r}')
#prin... | 15.409091 | 46 | 0.498525 | 76 | 339 | 2.236842 | 0.368421 | 0.352941 | 0.258824 | 0.282353 | 0.158824 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072917 | 0.150442 | 339 | 21 | 47 | 16.142857 | 0.513889 | 0.19764 | 0 | 0 | 0 | 0 | 0.468401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c326e71f99eca2a19455bfdf6bd8d1c25a185f21 | 139 | py | Python | Aula_flask/run.py | LauroJr/Curso_Flask_Julia_Rizza | 9c2751459b3760a79a47ca182854a2451dbc4d12 | [
"MIT"
] | null | null | null | Aula_flask/run.py | LauroJr/Curso_Flask_Julia_Rizza | 9c2751459b3760a79a47ca182854a2451dbc4d12 | [
"MIT"
] | null | null | null | Aula_flask/run.py | LauroJr/Curso_Flask_Julia_Rizza | 9c2751459b3760a79a47ca182854a2451dbc4d12 | [
"MIT"
] | null | null | null | from app import manager
if __name__ == '__main__':
manager.run()
# Execute dentro da pasta Aula_flask o seguinte comando 'flask run'
| 19.857143 | 67 | 0.733813 | 20 | 139 | 4.65 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18705 | 139 | 6 | 68 | 23.166667 | 0.823009 | 0.467626 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c356feadeff45a53ca6316ffae107fdf72d82f40 | 166 | py | Python | venv/lib/python3.7/site-packages/allauth/socialaccount/providers/twitch/urls.py | vikram0207/django-rest | eafec575999dce6859dc7b99177cff339b2bcbdd | [
"MIT"
] | 6,342 | 2015-01-01T07:40:30.000Z | 2022-03-31T04:18:30.000Z | venv/lib/python3.7/site-packages/allauth/socialaccount/providers/twitch/urls.py | vikram0207/django-rest | eafec575999dce6859dc7b99177cff339b2bcbdd | [
"MIT"
] | 2,198 | 2015-01-02T15:17:45.000Z | 2022-03-28T10:20:43.000Z | venv/lib/python3.7/site-packages/allauth/socialaccount/providers/twitch/urls.py | vikram0207/django-rest | eafec575999dce6859dc7b99177cff339b2bcbdd | [
"MIT"
] | 2,928 | 2015-01-01T10:44:13.000Z | 2022-03-31T03:20:16.000Z | from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import TwitchProvider
urlpatterns = default_urlpatterns(TwitchProvider)
| 23.714286 | 75 | 0.86747 | 17 | 166 | 8.352941 | 0.647059 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.084337 | 166 | 6 | 76 | 27.666667 | 0.927632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c35a3d153c52288a15b18973a05bf091bf9020bc | 148 | py | Python | bbs/apps/common/views.py | kaixiang1992/python-flask | 2b4c597d83f5a6ed662d42d7ff692e563a9adbf8 | [
"MIT"
] | null | null | null | bbs/apps/common/views.py | kaixiang1992/python-flask | 2b4c597d83f5a6ed662d42d7ff692e563a9adbf8 | [
"MIT"
] | null | null | null | bbs/apps/common/views.py | kaixiang1992/python-flask | 2b4c597d83f5a6ed662d42d7ff692e563a9adbf8 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint('common', __name__, url_prefix='/common')
@bp.route('/')
def homepage():
return 'common homepage'
| 16.444444 | 56 | 0.695946 | 18 | 148 | 5.444444 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 8 | 57 | 18.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.195946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c37592a3db62aa6a05faa795aaa117a0042a735c | 178 | py | Python | Easy/Chef And Apple Trees/Chef_And_Apple_Trees.py | anishsingh42/CodeChef | 50f5c0438516210895e513bc4ee959b9d99ef647 | [
"Apache-2.0"
] | 127 | 2020-10-13T18:04:35.000Z | 2022-02-17T10:56:27.000Z | Easy/Chef And Apple Trees/Chef_And_Apple_Trees.py | anishsingh42/CodeChef | 50f5c0438516210895e513bc4ee959b9d99ef647 | [
"Apache-2.0"
] | 132 | 2020-10-13T18:06:53.000Z | 2021-10-17T18:44:26.000Z | Easy/Chef And Apple Trees/Chef_And_Apple_Trees.py | anishsingh42/CodeChef | 50f5c0438516210895e513bc4ee959b9d99ef647 | [
"Apache-2.0"
] | 364 | 2020-10-13T18:04:52.000Z | 2022-03-04T14:34:53.000Z | try:
t=int(input())
for i in range(t):
n=int(input())
a=list(map(int,input().split()))
set1=list(set(a))
print(len(set1))
except:
pass | 19.777778 | 40 | 0.494382 | 27 | 178 | 3.259259 | 0.703704 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.308989 | 178 | 9 | 41 | 19.777778 | 0.699187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0 | 0 | 0 | 0.111111 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5ee409dbb734ad120a9a33496aa24dc32162d86c | 273 | py | Python | seqwise_cont_skillspace/algo/algo_cont_skillspace_highdim.py | fgitmichael/SelfSupevisedSkillDiscovery | 60eee11cfd67046190dd2784bf40e97bdbed9d40 | [
"MIT"
] | null | null | null | seqwise_cont_skillspace/algo/algo_cont_skillspace_highdim.py | fgitmichael/SelfSupevisedSkillDiscovery | 60eee11cfd67046190dd2784bf40e97bdbed9d40 | [
"MIT"
] | 6 | 2021-02-02T23:00:02.000Z | 2022-01-13T03:13:51.000Z | seqwise_cont_skillspace/algo/algo_cont_skillspace_highdim.py | fgitmichael/SelfSupevisedSkillDiscovery | 60eee11cfd67046190dd2784bf40e97bdbed9d40 | [
"MIT"
] | null | null | null | from seqwise_cont_skillspace.algo.algo_cont_skillspace import \
SeqwiseAlgoRevisedContSkills
class SeqwiseAlgoRevisedContSkillsHighDim(SeqwiseAlgoRevisedContSkills):
def write_mode_influence_and_log(self, epoch):
# Two save computation time
pass
| 27.3 | 72 | 0.802198 | 26 | 273 | 8.115385 | 0.846154 | 0.132701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157509 | 273 | 9 | 73 | 30.333333 | 0.917391 | 0.091575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
5ef3cadc6d907ced63e9a9c515c8158656de22a6 | 210 | py | Python | backend/apps/exam/serializers/level.py | xingxingzaixian/python-django-online-exam | c504e121814061cbf7647d4d916f363230239f17 | [
"MIT"
] | 47 | 2021-09-23T00:52:49.000Z | 2022-03-27T12:57:28.000Z | backend/apps/exam/serializers/level.py | xingxingzaixian/django-drf-online-exam | c504e121814061cbf7647d4d916f363230239f17 | [
"MIT"
] | null | null | null | backend/apps/exam/serializers/level.py | xingxingzaixian/django-drf-online-exam | c504e121814061cbf7647d4d916f363230239f17 | [
"MIT"
] | 17 | 2021-09-02T12:12:21.000Z | 2022-03-27T10:28:27.000Z | from rest_framework import serializers
from exam.models import TblExamLevel
class LevelSerializer(serializers.ModelSerializer):
class Meta:
model = TblExamLevel
fields = '__all__' | 23.333333 | 52 | 0.72381 | 20 | 210 | 7.35 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 210 | 9 | 53 | 23.333333 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f4685cfc4ae12d6c9e8fd2a9862b24dbf7af0a7 | 72 | py | Python | disco/storage/exceptions.py | NREL/disco | 19afa1c397c6c24e37222f6cbf027eb88833beda | [
"BSD-3-Clause"
] | 2 | 2022-03-11T20:04:34.000Z | 2022-03-14T22:25:29.000Z | disco/storage/exceptions.py | NREL/disco | 19afa1c397c6c24e37222f6cbf027eb88833beda | [
"BSD-3-Clause"
] | 4 | 2022-03-11T17:48:50.000Z | 2022-03-17T21:39:47.000Z | disco/storage/exceptions.py | NREL/disco | 19afa1c397c6c24e37222f6cbf027eb88833beda | [
"BSD-3-Clause"
] | null | null | null |
class IngestionError(Exception):
"""Raise when ingestion failed"""
| 18 | 37 | 0.722222 | 7 | 72 | 7.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 38 | 24 | 0.852459 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6f751a3a6015f14fed590768f7d1a194335e3036 | 248 | py | Python | src/data/sr/others/sr291.py | sanghyun-son/srwarp | d7cc08db5ba5ec9103f1813f76d1da825afe1a5b | [
"MIT"
] | 82 | 2021-04-22T09:22:46.000Z | 2022-03-30T03:06:47.000Z | src/data/sr/others/sr291.py | sanghyun-son/srwarp | d7cc08db5ba5ec9103f1813f76d1da825afe1a5b | [
"MIT"
] | 3 | 2021-08-04T15:40:52.000Z | 2022-02-21T10:10:52.000Z | src/data/sr/others/sr291.py | sanghyun-son/srwarp | d7cc08db5ba5ec9103f1813f76d1da825afe1a5b | [
"MIT"
] | 11 | 2021-05-16T14:54:33.000Z | 2022-02-18T08:25:37.000Z | from os import path
import glob
from data.sr import base
class SR291(base.SRBase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def get_path(self) -> str:
return path.join(self.dpath, 'SR291')
| 17.714286 | 45 | 0.645161 | 35 | 248 | 4.314286 | 0.628571 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.217742 | 248 | 13 | 46 | 19.076923 | 0.747423 | 0 | 0 | 0 | 0 | 0 | 0.020161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
48998b172619f89cbab8e3e2e416342c4511c734 | 138 | py | Python | Aulas/Aulas-Mundo3/Aula016/Aula016a.py | Sofista23/Aula1_Python | 129132d977058ac6f23cc95c7bb8b55d8a1bb429 | [
"MIT"
] | null | null | null | Aulas/Aulas-Mundo3/Aula016/Aula016a.py | Sofista23/Aula1_Python | 129132d977058ac6f23cc95c7bb8b55d8a1bb429 | [
"MIT"
] | null | null | null | Aulas/Aulas-Mundo3/Aula016/Aula016a.py | Sofista23/Aula1_Python | 129132d977058ac6f23cc95c7bb8b55d8a1bb429 | [
"MIT"
] | null | null | null | a=["taiga","ryuji","minori","ami"]
for c in range(0,4):
print(a[c])
print(a[1:])
print(a[0:2])
print(len(a))
#Não pode mudar uma tupla | 19.714286 | 34 | 0.608696 | 29 | 138 | 2.896552 | 0.689655 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 0.123188 | 138 | 7 | 35 | 19.714286 | 0.652893 | 0.173913 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
48c5d6c938243dd38012c4c2358fd0c02b29d7f3 | 1,321 | bzl | Python | example/third_party/org_scala_lang.bzl | wix-playground/rules_maven_third_party | ff0b486df194779d7d8e6c9102cd12138e3305c3 | [
"Apache-2.0"
] | null | null | null | example/third_party/org_scala_lang.bzl | wix-playground/rules_maven_third_party | ff0b486df194779d7d8e6c9102cd12138e3305c3 | [
"Apache-2.0"
] | null | null | null | example/third_party/org_scala_lang.bzl | wix-playground/rules_maven_third_party | ff0b486df194779d7d8e6c9102cd12138e3305c3 | [
"Apache-2.0"
] | null | null | null | load("@rules_maven_third_party//:import_external.bzl", import_external = "import_external")
def dependencies():
import_external(
name = "org_scala_lang_scala_compiler",
artifact = "org.scala-lang:scala-compiler:2.12.13",
artifact_sha256 = "ea971e004e2f15d3b7569eee8b559f220e23b9993e688bbe986... | 38.852941 | 93 | 0.712339 | 108 | 1,321 | 8.287037 | 0.296296 | 0.089385 | 0.134078 | 0.17095 | 0.394413 | 0.117318 | 0.117318 | 0 | 0 | 0 | 0 | 0.263258 | 0.200606 | 1,321 | 33 | 94 | 40.030303 | 0.58428 | 0 | 0 | 0.321429 | 0 | 0 | 0.57835 | 0.566995 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | true | 0 | 0.142857 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48caf110ce0e118a1ab57fdf172fd16d68e694e5 | 750 | py | Python | helics_apps-pip/helics_apps/__init__.py | nightlark/helics-packaging | 4675e587d12b2fdccf46d4b95ea3fa99d3babbf6 | [
"BSD-3-Clause"
] | null | null | null | helics_apps-pip/helics_apps/__init__.py | nightlark/helics-packaging | 4675e587d12b2fdccf46d4b95ea3fa99d3babbf6 | [
"BSD-3-Clause"
] | 12 | 2020-02-12T16:56:58.000Z | 2021-12-08T22:06:36.000Z | helics_apps-pip/helics_apps/__init__.py | nightlark/helics-packaging | 4675e587d12b2fdccf46d4b95ea3fa99d3babbf6 | [
"BSD-3-Clause"
] | null | null | null | import os
import subprocess
import sys
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
DATA = os.path.join(os.path.dirname(__file__), 'data')
BIN_DIR = os.path.join(DATA, 'bin')
def _program(name, args):
return subprocess.call([os.path.join(BIN_DIR, name)] + args)
de... | 24.193548 | 68 | 0.729333 | 105 | 750 | 4.904762 | 0.304762 | 0.087379 | 0.213592 | 0.271845 | 0.287379 | 0.08932 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.12 | 750 | 30 | 69 | 25 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.113485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.05 | 0.55 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
48d3a4fd929fa6696bf8e1937a094e883eea4aa9 | 1,204 | py | Python | model/signature.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/signature.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/signature.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/Signature) on 2020-02-03.
# 2020, SMART Health IT.
import sys
from dataclasses import dataclass, field
from typing import ClassVar, Optional, List
from .coding import Coding
from .element i... | 35.411765 | 106 | 0.741694 | 157 | 1,204 | 5.675159 | 0.566879 | 0.03367 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024267 | 0.178571 | 1,204 | 34 | 107 | 35.411765 | 0.876643 | 0.48588 | 0 | 0 | 1 | 0 | 0.015411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.411765 | 0 | 0.941176 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
48f6aef1e43ade741af584233c1deb2411e58a13 | 112 | py | Python | market/settings.py | Apreche/tilde_market | 7ef17cb8a392d525994e421195819fe2b9786b39 | [
"MIT"
] | null | null | null | market/settings.py | Apreche/tilde_market | 7ef17cb8a392d525994e421195819fe2b9786b39 | [
"MIT"
] | null | null | null | market/settings.py | Apreche/tilde_market | 7ef17cb8a392d525994e421195819fe2b9786b39 | [
"MIT"
] | null | null | null | import os
DB_PATH = os.environ.get('MARKET_DB_PATH', ':memory:')
SMTP_HOST = os.environ.get('SMTP_HOST', None)
| 22.4 | 54 | 0.723214 | 19 | 112 | 4 | 0.578947 | 0.157895 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 4 | 55 | 28 | 0.752475 | 0 | 0 | 0 | 0 | 0 | 0.276786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5b01cbb745f8829b9b5a726438b8dbc56e920b01 | 772 | py | Python | linkitup/models.py | Data2Semantics/linkitup | 79a2b47be86f2c0faca51f34af6c8004edbfad5a | [
"MIT"
] | 5 | 2015-02-27T08:41:57.000Z | 2017-11-03T10:10:21.000Z | linkitup/models.py | Data2Semantics/linkitup | 79a2b47be86f2c0faca51f34af6c8004edbfad5a | [
"MIT"
] | null | null | null | linkitup/models.py | Data2Semantics/linkitup | 79a2b47be86f2c0faca51f34af6c8004edbfad5a | [
"MIT"
] | null | null | null | from flask.ext.sqlalchemy import SQLAlchemy
db = SQLAlchemy()
ROLE_USER = 0
ROLE_ADMIN = 1
class User(db.Model):
id = db.Column(db.Integer, primary_key = True)
nickname = db.Column(db.String(64))
email = db.Column(db.String(120), index = True, unique = True)
role = db.Column(db.SmallInteger, default ... | 22.705882 | 66 | 0.63601 | 107 | 772 | 4.429907 | 0.448598 | 0.118143 | 0.147679 | 0.168776 | 0.080169 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.246114 | 772 | 33 | 67 | 23.393939 | 0.793814 | 0 | 0 | 0.090909 | 0 | 0 | 0.011658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.045455 | 0.227273 | 0.863636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5b0e9dfc00bfa23cadae0ff11c7315dd8ce8ff80 | 125 | py | Python | django_quicky/namegen/__init__.py | sametmax/django-quicky | 2a87dbdcc6db400aff5a9119533bd3784fc4afb4 | [
"Zlib"
] | 149 | 2015-01-02T19:48:47.000Z | 2022-02-18T15:43:34.000Z | django_quicky/namegen/__init__.py | keshapps/django-quicky | 2a87dbdcc6db400aff5a9119533bd3784fc4afb4 | [
"Zlib"
] | 3 | 2015-01-28T18:44:42.000Z | 2017-05-23T18:50:02.000Z | django_quicky/namegen/__init__.py | keshapps/django-quicky | 2a87dbdcc6db400aff5a9119533bd3784fc4afb4 | [
"Zlib"
] | 11 | 2015-01-05T19:22:16.000Z | 2021-01-25T13:06:20.000Z | import pkg_resources
pkg_resources.declare_namespace(__name__)
from .namegen import NameGenerator
namegen = NameGenerator()
| 20.833333 | 41 | 0.856 | 14 | 125 | 7.142857 | 0.642857 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 125 | 5 | 42 | 25 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d2b3ae1610d276e14a98ee69fd54bf48f615449d | 164 | py | Python | fastapi_admin/databaseManage/database.py | Chise1/fastapi-admin | 74693cf8dd854d61ae5bd931ebe85f5b94f48121 | [
"Apache-2.0"
] | null | null | null | fastapi_admin/databaseManage/database.py | Chise1/fastapi-admin | 74693cf8dd854d61ae5bd931ebe85f5b94f48121 | [
"Apache-2.0"
] | null | null | null | fastapi_admin/databaseManage/database.py | Chise1/fastapi-admin | 74693cf8dd854d61ae5bd931ebe85f5b94f48121 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
@File : database.py
@Time : 2020/4/4 15:26
@Author : chise
@Email : chise123@live.com
@Software: PyCharm
@info :数据库管理
"""
| 16.4 | 28 | 0.579268 | 22 | 164 | 4.318182 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 0.219512 | 164 | 9 | 29 | 18.222222 | 0.632813 | 0.939024 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d2bdc4b87388b7eeddd683be6d697f9f3d25d56c | 65 | py | Python | itertable/__main__.py | 1Q1-Open-Source/itertable | 73e59be2d1db8433ba954b0242d7964b3da2bf0e | [
"MIT"
] | 16 | 2019-11-11T12:50:32.000Z | 2022-03-25T08:52:07.000Z | itertable/__main__.py | 1Q1-Open-Source/itertable | 73e59be2d1db8433ba954b0242d7964b3da2bf0e | [
"MIT"
] | 3 | 2019-09-24T14:14:04.000Z | 2021-11-22T02:17:54.000Z | itertable/__main__.py | 1Q1-Open-Source/itertable | 73e59be2d1db8433ba954b0242d7964b3da2bf0e | [
"MIT"
] | 2 | 2021-11-08T07:38:31.000Z | 2021-12-01T00:01:41.000Z | from .commands import cat
if __name__ == '__main__':
cat()
| 10.833333 | 26 | 0.646154 | 8 | 65 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 65 | 5 | 27 | 13 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d2f35fa56dfc846cb8a3c39952ef80c037b49488 | 93 | py | Python | PartyPlay/apps.py | rollos/PartyPlay | e86ea9e23152611fa1dd7bfaf8e6a34b793ab265 | [
"MIT"
] | null | null | null | PartyPlay/apps.py | rollos/PartyPlay | e86ea9e23152611fa1dd7bfaf8e6a34b793ab265 | [
"MIT"
] | null | null | null | PartyPlay/apps.py | rollos/PartyPlay | e86ea9e23152611fa1dd7bfaf8e6a34b793ab265 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PartyplayConfig(AppConfig):
name = 'PartyPlay'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
961a5f8a10a341f9f7abdf00fa513317dd62db28 | 603 | py | Python | modules/ckanext-ytp_tasks/ckanext/ytp_tasks/plugin.py | vrk-kpa/opendata-ckan | 8936e2d9e700b9e5534fe2a51eedc2d1ede8c10b | [
"MIT"
] | null | null | null | modules/ckanext-ytp_tasks/ckanext/ytp_tasks/plugin.py | vrk-kpa/opendata-ckan | 8936e2d9e700b9e5534fe2a51eedc2d1ede8c10b | [
"MIT"
] | 10 | 2021-12-02T10:33:42.000Z | 2022-03-31T11:00:54.000Z | modules/ckanext-ytp_tasks/ckanext/ytp_tasks/plugin.py | vrk-kpa/opendata-ckan | 8936e2d9e700b9e5534fe2a51eedc2d1ede8c10b | [
"MIT"
] | null | null | null | from ckan import plugins
from ckanext.ytp_tasks import logic
from .cli import get_commands
class YtpTasksPlugin(plugins.SingletonPlugin):
plugins.implements(plugins.IConfigurable)
plugins.implements(plugins.IActions)
plugins.implements(plugins.IAuthFunctions)
plugins.implements(plugins.IClick)
d... | 25.125 | 60 | 0.741294 | 74 | 603 | 5.810811 | 0.405405 | 0.093023 | 0.223256 | 0.083721 | 0.2 | 0.12093 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177446 | 603 | 23 | 61 | 26.217391 | 0.866935 | 0 | 0 | 0 | 0 | 0 | 0.043118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.0625 | 0.1875 | 0.1875 | 0.6875 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
824a0225c2c4b7d2a762cbf610cc6091d13a96d1 | 118 | py | Python | Geo_Locater/geolocation/urls.py | Krishna-Patil/Geo-Locater | 8af653764ee58a622835e1970b9bc4c93dedf089 | [
"MIT"
] | null | null | null | Geo_Locater/geolocation/urls.py | Krishna-Patil/Geo-Locater | 8af653764ee58a622835e1970b9bc4c93dedf089 | [
"MIT"
] | null | null | null | Geo_Locater/geolocation/urls.py | Krishna-Patil/Geo-Locater | 8af653764ee58a622835e1970b9bc4c93dedf089 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import index_view
urlpatterns = [
path('', index_view, name='index'),
]
| 16.857143 | 39 | 0.70339 | 16 | 118 | 5.0625 | 0.625 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 118 | 6 | 40 | 19.666667 | 0.826531 | 0 | 0 | 0 | 0 | 0 | 0.042373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
824adfdb7f402d1e3fcac423600f013cde9b004b | 22 | py | Python | aliyun-python-sdk-live/aliyunsdklive/__init__.py | leafcoder/aliyun-openapi-python-sdk | 26b441ab37a5cda804de475fd5284bab699443f1 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-live/aliyunsdklive/__init__.py | leafcoder/aliyun-openapi-python-sdk | 26b441ab37a5cda804de475fd5284bab699443f1 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-live/aliyunsdklive/__init__.py | leafcoder/aliyun-openapi-python-sdk | 26b441ab37a5cda804de475fd5284bab699443f1 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | __version__ = '3.9.10' | 22 | 22 | 0.681818 | 4 | 22 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8259d3b862dab4a14d88d5de968cf297d29a4f5d | 5,415 | py | Python | btclib/tests/test_to_prvkey.py | giubby84/btclib | 0dd7e4e8ca43451a03b577fd7ec95715a1a21711 | [
"MIT"
] | null | null | null | btclib/tests/test_to_prvkey.py | giubby84/btclib | 0dd7e4e8ca43451a03b577fd7ec95715a1a21711 | [
"MIT"
] | null | null | null | btclib/tests/test_to_prvkey.py | giubby84/btclib | 0dd7e4e8ca43451a03b577fd7ec95715a1a21711 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Copyright (C) 2017-2020 The btclib developers
#
# This file is part of btclib. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution.
#
# No part of btclib including this file, may be copied, modified, propagated,
# or distributed except... | 39.525547 | 84 | 0.686611 | 733 | 5,415 | 4.718963 | 0.124147 | 0.093669 | 0.161607 | 0.198901 | 0.729402 | 0.715236 | 0.708297 | 0.708297 | 0.671003 | 0.587453 | 0 | 0.010248 | 0.225115 | 5,415 | 136 | 85 | 39.816176 | 0.814109 | 0.077747 | 0 | 0.451327 | 0 | 0 | 0.045201 | 0 | 0 | 0 | 0 | 0.007353 | 0.256637 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8277c18c2d7d1a5c0ae9fd57c5de2e0a362db361 | 1,000 | py | Python | Exercicios/ex008.py | FelipeLauton/Python | 7e2b1ba6ba0adafe06a41c9c1db5daabba86e7d1 | [
"MIT"
] | null | null | null | Exercicios/ex008.py | FelipeLauton/Python | 7e2b1ba6ba0adafe06a41c9c1db5daabba86e7d1 | [
"MIT"
] | null | null | null | Exercicios/ex008.py | FelipeLauton/Python | 7e2b1ba6ba0adafe06a41c9c1db5daabba86e7d1 | [
"MIT"
] | null | null | null | n = int(input('Digite um número para ver sua tabuada: '))
#print('===================')
#print('{} x 1 = {}'.format(n, n*1))
#print('{} x 2 = {}'.format(n, n*2))
#print('{} x 3 = {}'.format(n, n*3))
#print('{} x 4 = {}'.format(n, n*4))
#print('{} x 5 = {}'.format(n, n*5))
#print('{} x 6 = {}'.format(n, n*6))
#pri... | 34.482759 | 57 | 0.436 | 174 | 1,000 | 2.505747 | 0.183908 | 0.275229 | 0.176606 | 0.327982 | 0.362385 | 0.073395 | 0.073395 | 0 | 0 | 0 | 0 | 0.069378 | 0.164 | 1,000 | 28 | 58 | 35.714286 | 0.452153 | 0.464 | 0 | 0.153846 | 0 | 0 | 0.34608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.923077 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 4 |
82cc54701e899150395929f1b3338bcf9ea65d20 | 303 | py | Python | examples/using-aws-secret-to-connect-to-dynamodb.py | sprucegum/lucid-dynamodb | 1e7145b14f1f462e2d8fe320b46b3820967bbcbf | [
"MIT"
] | 70 | 2021-05-30T13:34:57.000Z | 2021-06-13T21:05:06.000Z | examples/using-aws-secret-to-connect-to-dynamodb.py | dineshsonachalam/Course_Registration_System | 1e7145b14f1f462e2d8fe320b46b3820967bbcbf | [
"MIT"
] | 21 | 2021-07-31T07:10:51.000Z | 2022-02-05T23:46:21.000Z | examples/using-aws-secret-to-connect-to-dynamodb.py | dineshsonachalam/Course_Registration_System | 1e7145b14f1f462e2d8fe320b46b3820967bbcbf | [
"MIT"
] | 3 | 2021-07-12T10:52:36.000Z | 2021-12-06T19:51:05.000Z | from LucidDynamodb import DynamoDb
import os
AWS_ACCESS_KEY_ID = os.getenv("AWS_ACCESS_KEY_ID")
AWS_SECRET_ACCESS_KEY = os.getenv("AWS_SECRET_ACCESS_KEY")
db = DynamoDb(region_name="us-east-1",
aws_access_key_id=AWS_ACCESS_KEY_ID,
aws_secret_access_key=AWS_SECRET_ACCESS_KEY) | 43.285714 | 58 | 0.775578 | 49 | 303 | 4.285714 | 0.346939 | 0.342857 | 0.228571 | 0.266667 | 0.371429 | 0.304762 | 0.304762 | 0.304762 | 0 | 0 | 0 | 0.003861 | 0.145215 | 303 | 7 | 59 | 43.285714 | 0.80695 | 0 | 0 | 0 | 0 | 0 | 0.154605 | 0.069079 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
82d612b59a3fc5539617f5ccd89d9a3ce2a5c069 | 292 | py | Python | 10_Day_Loops/example.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 10_Day_Loops/example.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 10_Day_Loops/example.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | count = 0
while count < 5:
print(count)
count += 1
else:
print(count)
count = 0
while count < 5:
print(count)
count += 1
if count == 3:
break
count = 0
while count < 5:
if count == 3:
count += 1
continue
print(count)
count += 1
| 12.166667 | 18 | 0.506849 | 40 | 292 | 3.7 | 0.275 | 0.27027 | 0.405405 | 0.324324 | 0.560811 | 0.445946 | 0.445946 | 0.445946 | 0.445946 | 0 | 0 | 0.066667 | 0.383562 | 292 | 23 | 19 | 12.695652 | 0.755556 | 0 | 0 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
82e9c3b1137e09f73a010c3f30450b52b8ab4471 | 493 | py | Python | addons14/contract/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/contract/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/contract/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import contract_recurrency_mixin # should be first
from . import abstract_contract
from . import abstract_contract_line
from . import contract_template
from . import contract
from . import contract_template_line
from . import contract_line
from . ... | 30.8125 | 63 | 0.815416 | 71 | 493 | 5.422535 | 0.450704 | 0.337662 | 0.327273 | 0.135065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004662 | 0.129817 | 493 | 15 | 64 | 32.866667 | 0.892774 | 0.156187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7d5eb308b73b6a8c4a5a6a8ca5b6aac3ce55d265 | 411 | py | Python | Lab/lab1of3.py | damiso15/we_japa_data_science_lab | ada2a358753e1f1db087d410808524e7546284f6 | [
"MIT"
] | null | null | null | Lab/lab1of3.py | damiso15/we_japa_data_science_lab | ada2a358753e1f1db087d410808524e7546284f6 | [
"MIT"
] | null | null | null | Lab/lab1of3.py | damiso15/we_japa_data_science_lab | ada2a358753e1f1db087d410808524e7546284f6 | [
"MIT"
] | null | null | null | # Use this playground to experiment with list methods, using Test Run
list_method = [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]
list_method.append(5, )
print(list_method)
list_method.extend([5, 5, 5, 5])
print(list_method)
list_method.insert(3, 2)
print(list_method)
list_method.remove(2)
print(list_method)
print(list_method.count... | 24.176471 | 69 | 0.754258 | 74 | 411 | 4 | 0.351351 | 0.472973 | 0.405405 | 0.256757 | 0.344595 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0.057065 | 0.104623 | 411 | 17 | 70 | 24.176471 | 0.747283 | 0.163017 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7d6e61ed9316d99d970adcfe56b69b201dfd2fd9 | 176 | py | Python | blog/forms.py | paullab/my-first-blog | 1ee9f3e52eff29ff278d2ecfaf7921db0c093756 | [
"Apache-2.0"
] | null | null | null | blog/forms.py | paullab/my-first-blog | 1ee9f3e52eff29ff278d2ecfaf7921db0c093756 | [
"Apache-2.0"
] | null | null | null | blog/forms.py | paullab/my-first-blog | 1ee9f3e52eff29ff278d2ecfaf7921db0c093756 | [
"Apache-2.0"
] | null | null | null | from django import forms
from .models import Comment
class CommentForm(forms.ModelForm):
class Meta:
model = Comment
# fields = '__all__'
fields = ('author', 'message') | 22 | 35 | 0.721591 | 21 | 176 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 176 | 8 | 36 | 22 | 0.842466 | 0.102273 | 0 | 0 | 0 | 0 | 0.082803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d7d1ec5beb0d0a330889aa7b96241444c33e5fe | 331 | py | Python | ui_interface.py | Omnikron13/blether | 10752c6ed73d1d1e4061a9cc98567212c17e1ddf | [
"0BSD"
] | null | null | null | ui_interface.py | Omnikron13/blether | 10752c6ed73d1d1e4061a9cc98567212c17e1ddf | [
"0BSD"
] | null | null | null | ui_interface.py | Omnikron13/blether | 10752c6ed73d1d1e4061a9cc98567212c17e1ddf | [
"0BSD"
] | null | null | null | from abc import abstractmethod
from singleton import AbstractSingleton
class UIInterface(metaclass=AbstractSingleton):
@abstractmethod
def runloop(self):
pass
@abstractmethod
def infodialogue(self, title: str, message: str):
pass
@abstractmethod
def addfeeddialogue(self):
... | 18.388889 | 53 | 0.700906 | 31 | 331 | 7.483871 | 0.580645 | 0.219828 | 0.181034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238671 | 331 | 17 | 54 | 19.470588 | 0.920635 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7d96d7f566e13e389d5f93e126a6ff7c87562683 | 209 | py | Python | src/oscar/apps/address/config.py | highbiza/django-oscar | 7eba207a77e5dd56b04a63b9283a9d76da2f64ac | [
"BSD-3-Clause"
] | 1 | 2019-10-22T01:10:20.000Z | 2019-10-22T01:10:20.000Z | src/oscar/apps/address/config.py | highbiza/django-oscar | 7eba207a77e5dd56b04a63b9283a9d76da2f64ac | [
"BSD-3-Clause"
] | 10 | 2020-05-11T20:33:31.000Z | 2022-03-12T00:24:28.000Z | src/oscar/apps/address/config.py | highbiza/django-oscar | 7eba207a77e5dd56b04a63b9283a9d76da2f64ac | [
"BSD-3-Clause"
] | 3 | 2019-03-20T16:17:58.000Z | 2022-02-25T09:38:38.000Z | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class AddressConfig(AppConfig):
label = 'address'
name = 'oscar.apps.address'
verbose_name = _('Address')
| 23.222222 | 54 | 0.741627 | 25 | 209 | 6.04 | 0.68 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167464 | 209 | 8 | 55 | 26.125 | 0.867816 | 0 | 0 | 0 | 0 | 0 | 0.15311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d9b009a50692457ed09c4c422706e8ad02a76c3 | 767 | py | Python | Events.py | flameproofsocks/Class-Scheduler-447 | 0c0ce5872765aa9f1a5d8025fe8bb289a5496e8d | [
"MIT"
] | 1 | 2020-03-25T14:58:58.000Z | 2020-03-25T14:58:58.000Z | Events.py | flameproofsocks/Class-Scheduler-447 | 0c0ce5872765aa9f1a5d8025fe8bb289a5496e8d | [
"MIT"
] | null | null | null | Events.py | flameproofsocks/Class-Scheduler-447 | 0c0ce5872765aa9f1a5d8025fe8bb289a5496e8d | [
"MIT"
] | null | null | null | ###
# Created on Apr 13,2020
# @author: Jordon Malcolm
# jordonm1@umbc.edu
###
class Events:
def __init__(self, arg1=" ", arg2=" ", arg3=" ", arg4=" ", arg5=" ", arg6=" ", arg7=0):
self.subject = arg1
self.courseNum = arg2
self.version = arg3
self.section = arg4
self.instruct... | 27.392857 | 91 | 0.598435 | 87 | 767 | 5.229885 | 0.448276 | 0.153846 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040367 | 0.289439 | 767 | 28 | 92 | 27.392857 | 0.794495 | 0.083442 | 0 | 0 | 0 | 0 | 0.008646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0 | 0.304348 | 0.695652 | 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 | 1 | 1 | 0 | 0 | 4 |
8156286b02b0a1ea6ef651c5b06b3b955093a49e | 24 | py | Python | sugartensor/_version.py | DevashishJoshi/sugartensor | 6eb5b5142b688427b3521f31feda57ffeb8bd6ef | [
"MIT"
] | null | null | null | sugartensor/_version.py | DevashishJoshi/sugartensor | 6eb5b5142b688427b3521f31feda57ffeb8bd6ef | [
"MIT"
] | null | null | null | sugartensor/_version.py | DevashishJoshi/sugartensor | 6eb5b5142b688427b3521f31feda57ffeb8bd6ef | [
"MIT"
] | null | null | null | __version__ = '1.0.0.2'
| 12 | 23 | 0.625 | 5 | 24 | 2.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
816074d86b0ba537b212522eb71587d73c52a42a | 54 | py | Python | muninn/tools/__init__.py | LeoBreebaart/muninn | ac54adbac59aa35af13554c77080d2881154b6a8 | [
"BSD-3-Clause"
] | 3 | 2017-05-03T13:41:35.000Z | 2022-03-30T10:22:58.000Z | muninn/tools/__init__.py | LeoBreebaart/muninn | ac54adbac59aa35af13554c77080d2881154b6a8 | [
"BSD-3-Clause"
] | 34 | 2017-03-31T07:55:28.000Z | 2021-01-29T14:26:26.000Z | muninn/tools/__init__.py | LeoBreebaart/muninn | ac54adbac59aa35af13554c77080d2881154b6a8 | [
"BSD-3-Clause"
] | 3 | 2019-02-08T03:22:20.000Z | 2021-04-07T11:21:53.000Z | #
# Copyright (C) 2014-2021 S[&]T, The Netherlands.
#
| 13.5 | 49 | 0.62963 | 8 | 54 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 0.166667 | 54 | 3 | 50 | 18 | 0.577778 | 0.87037 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81656f926ac614e2e8bb484edfcc340fbe66ee4a | 166 | py | Python | Part 1/Week 8/Soma dos elementos de uma lista.py | Arielcarv/Intro-Ciencia-da-Computacao-USP | 03d69b9e0f3fa5fca053d0fc406aa1a584d33de1 | [
"MIT"
] | null | null | null | Part 1/Week 8/Soma dos elementos de uma lista.py | Arielcarv/Intro-Ciencia-da-Computacao-USP | 03d69b9e0f3fa5fca053d0fc406aa1a584d33de1 | [
"MIT"
] | null | null | null | Part 1/Week 8/Soma dos elementos de uma lista.py | Arielcarv/Intro-Ciencia-da-Computacao-USP | 03d69b9e0f3fa5fca053d0fc406aa1a584d33de1 | [
"MIT"
] | null | null | null | lista = [2, 4, 2, 2, 3, 3, 1]
def soma_elementos(lista):
soma = 0
for element in lista:
soma += element
return soma
print(soma_elementos(lista)) | 18.444444 | 29 | 0.608434 | 26 | 166 | 3.807692 | 0.538462 | 0.262626 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 0.271084 | 166 | 9 | 30 | 18.444444 | 0.752066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8196efe792c7064467cccc8e45da55f6d0db7ea2 | 1,586 | py | Python | backend/unpp_api/apps/notification/migrations/0005_auto_20180606_1209.py | unicef/un-partner-portal | 73afa193a5f6d626928cae0025c72a17f0ef8f61 | [
"Apache-2.0"
] | 6 | 2017-11-21T10:00:44.000Z | 2022-02-12T16:51:48.000Z | backend/unpp_api/apps/notification/migrations/0005_auto_20180606_1209.py | unicef/un-partner-portal | 73afa193a5f6d626928cae0025c72a17f0ef8f61 | [
"Apache-2.0"
] | 995 | 2017-07-31T02:08:36.000Z | 2022-03-08T22:44:03.000Z | backend/unpp_api/apps/notification/migrations/0005_auto_20180606_1209.py | unicef/un-partner-portal | 73afa193a5f6d626928cae0025c72a17f0ef8f61 | [
"Apache-2.0"
] | 1 | 2021-07-21T10:45:15.000Z | 2021-07-21T10:45:15.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2018-06-06 12:09
from __future__ import unicode_literals
import common.database_fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('notification', '0004_auto_20180606_1156'),
]
operations = [
... | 72.090909 | 1,151 | 0.769861 | 182 | 1,586 | 6.148352 | 0.521978 | 0.107239 | 0.035746 | 0.023235 | 0.0563 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.099622 | 1,586 | 21 | 1,152 | 75.52381 | 0.759804 | 0.043506 | 0 | 0 | 1 | 0 | 0.626156 | 0.47424 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 0 | 0.428571 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81aaf37e8ba8fe02930316ad55c0b5d33a7a7c51 | 119 | py | Python | s3/models.py | fallenhitokiri/fddemo | 95ea3e481a248c0a2c57811736346246ff51cd45 | [
"MIT"
] | 2 | 2022-01-19T01:48:26.000Z | 2022-01-19T19:48:48.000Z | s3/models.py | fallenhitokiri/fddemo | 95ea3e481a248c0a2c57811736346246ff51cd45 | [
"MIT"
] | null | null | null | s3/models.py | fallenhitokiri/fddemo | 95ea3e481a248c0a2c57811736346246ff51cd45 | [
"MIT"
] | null | null | null | # coding: utf-8
from django.db import models
class Upload(models.Model):
file = models.FileField(upload_to="s3")
| 17 | 43 | 0.722689 | 18 | 119 | 4.722222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.151261 | 119 | 6 | 44 | 19.833333 | 0.821782 | 0.109244 | 0 | 0 | 0 | 0 | 0.019231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c4d4aa3b0fc5aff6e02f3841149cfdc20503092b | 1,858 | py | Python | passwordstate_password_fact/test_passwordstate_password_fact.py | boxuk/ansible-boxuk-modules-passwordstate | 69fb482d54452c37f64ba9f7f1aa0e9ef303117d | [
"MIT"
] | 9 | 2016-02-19T22:50:40.000Z | 2021-06-23T00:59:47.000Z | passwordstate_password_fact/test_passwordstate_password_fact.py | boxuk/ansible-boxuk-modules-passwordstate | 69fb482d54452c37f64ba9f7f1aa0e9ef303117d | [
"MIT"
] | null | null | null | passwordstate_password_fact/test_passwordstate_password_fact.py | boxuk/ansible-boxuk-modules-passwordstate | 69fb482d54452c37f64ba9f7f1aa0e9ef303117d | [
"MIT"
] | 7 | 2016-02-19T22:50:35.000Z | 2021-06-23T01:06:04.000Z | """ PasswordState Test """
import unittest2 as unittest
from passwordstate_password_fact import Password
from passwordstate_password_fact import PasswordState
from ddt import ddt, data, unpack
import mock
class PasswordTest(unittest.TestCase):
""" PasswordTest """
@mock.patch('urllib2.urlopen', autospec=Tru... | 35.730769 | 86 | 0.599031 | 192 | 1,858 | 5.609375 | 0.270833 | 0.061281 | 0.051996 | 0.053853 | 0.796657 | 0.731662 | 0.679666 | 0.679666 | 0.679666 | 0.679666 | 0 | 0.026182 | 0.259957 | 1,858 | 51 | 87 | 36.431373 | 0.757091 | 0.044133 | 0 | 0.722222 | 0 | 0 | 0.248571 | 0.028571 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0.472222 | 0.138889 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c4edf2fbabfd01a2cffc4abf67f2db72b301cbe3 | 1,907 | py | Python | credential.py | umutonij/Password-Locker | 522c02697d3568f8e4ec5965d5879d7716c21aa4 | [
"MIT"
] | null | null | null | credential.py | umutonij/Password-Locker | 522c02697d3568f8e4ec5965d5879d7716c21aa4 | [
"MIT"
] | null | null | null | credential.py | umutonij/Password-Locker | 522c02697d3568f8e4ec5965d5879d7716c21aa4 | [
"MIT"
] | null | null | null | class Credential:
'''
class that generates new instance for credentials
'''
credential_list=[]
def __init__(self,account_name,password):
'''
__init__ method that helps us define properties for our objects.
Args:
account_name: New credential account name.
... | 28.462687 | 86 | 0.606712 | 201 | 1,907 | 5.597015 | 0.308458 | 0.136889 | 0.056 | 0.060444 | 0.183111 | 0.115556 | 0.115556 | 0.115556 | 0.115556 | 0.115556 | 0 | 0 | 0.332984 | 1,907 | 67 | 87 | 28.462687 | 0.884434 | 0.405349 | 0 | 0.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
c4f147071f47883e5f9814913f96b77f96c62d94 | 392 | py | Python | INBa/2015/Semyenov_A_N/task_1_24.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | INBa/2015/Semyenov_A_N/task_1_24.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | INBa/2015/Semyenov_A_N/task_1_24.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | #Задача 1. Вариант 24
#Напишите программу, которая будет сообщать род деятельности и псевдоним под которым скрывается Джон Гриффит Лондон. После вывода информации программа должна дожидаться пока пользователь нажмет Enter для выхода.
#Semyenov A.N.
#09.02.2016
print("Джон Гриффит Лондон более известена, как американск... | 56 | 211 | 0.816327 | 54 | 392 | 5.925926 | 0.87037 | 0.06875 | 0.10625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03207 | 0.125 | 392 | 7 | 212 | 56 | 0.900875 | 0.645408 | 0 | 0 | 0 | 0 | 0.816176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c4f1819149336bd43c4d3dd7034e6b7c2eb53754 | 84 | py | Python | hero/admin.py | BobsProgrammingAcademy/Portfolio-Website-Deployment | e3122f6fa0376f64b1580e03b8cb43da6dc85a1a | [
"MIT"
] | null | null | null | hero/admin.py | BobsProgrammingAcademy/Portfolio-Website-Deployment | e3122f6fa0376f64b1580e03b8cb43da6dc85a1a | [
"MIT"
] | null | null | null | hero/admin.py | BobsProgrammingAcademy/Portfolio-Website-Deployment | e3122f6fa0376f64b1580e03b8cb43da6dc85a1a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Hero
admin.site.register(Hero) | 21 | 32 | 0.821429 | 13 | 84 | 5.307692 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 4 | 33 | 21 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c4fee62f2828b6975bad2db2d63382d87ff360b4 | 100 | py | Python | recursive_app/apps.py | thinkAmi-sandbox/django_cte-sample | 1b130b80a0c2644bfff9d3f8cf856ce92d570af1 | [
"Unlicense"
] | null | null | null | recursive_app/apps.py | thinkAmi-sandbox/django_cte-sample | 1b130b80a0c2644bfff9d3f8cf856ce92d570af1 | [
"Unlicense"
] | null | null | null | recursive_app/apps.py | thinkAmi-sandbox/django_cte-sample | 1b130b80a0c2644bfff9d3f8cf856ce92d570af1 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class RecursiveAppConfig(AppConfig):
name = 'recursive_app'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f2124bb385fcb5102f3a3bfd37d74b65b14dbcf0 | 2,873 | py | Python | tests/es_versions/test_clusters.py | billboggs/elasticsearch-HQ | c0b5756e1ecb92eb1c22f3d6190b86d52557bd9c | [
"Apache-2.0"
] | 2,026 | 2018-01-04T04:46:51.000Z | 2022-03-31T12:36:47.000Z | tests/es_versions/test_clusters.py | billboggs/elasticsearch-HQ | c0b5756e1ecb92eb1c22f3d6190b86d52557bd9c | [
"Apache-2.0"
] | 322 | 2018-01-04T02:05:55.000Z | 2022-03-23T07:01:03.000Z | tests/es_versions/test_clusters.py | billboggs/elasticsearch-HQ | c0b5756e1ecb92eb1c22f3d6190b86d52557bd9c | [
"Apache-2.0"
] | 315 | 2018-01-04T02:42:51.000Z | 2022-03-31T12:36:49.000Z | __author__ = 'royrusso'
import json
import logging
import jmespath
import pytest
LOGGER = logging.getLogger(__name__)
pytest_plugins = ["docker_compose"]
@pytest.mark.es_versions
def test_get_cluster_summary(session_scoped_container_getter, fixture):
fixture.add_all_clusters(session_scoped_container_getter, cl... | 34.202381 | 106 | 0.750783 | 397 | 2,873 | 5.141058 | 0.161209 | 0.058795 | 0.070554 | 0.090152 | 0.791769 | 0.77854 | 0.740323 | 0.705537 | 0.605586 | 0.605586 | 0 | 0.013158 | 0.127045 | 2,873 | 83 | 107 | 34.614458 | 0.800638 | 0 | 0 | 0.421053 | 0 | 0 | 0.119039 | 0.098155 | 0 | 0 | 0 | 0 | 0.263158 | 1 | 0.122807 | false | 0 | 0.070175 | 0 | 0.192982 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f2141d075be351d2b75b6b55ca70cf96a94f6019 | 30 | py | Python | tests/dev/__init__.py | KyleKing/calcipy | c10d78cce727b04b6d4f633859659cdcda832630 | [
"MIT"
] | 6 | 2021-02-03T20:07:09.000Z | 2022-02-27T12:31:07.000Z | tests/dev/__init__.py | KyleKing/calcipy | c10d78cce727b04b6d4f633859659cdcda832630 | [
"MIT"
] | 65 | 2020-12-11T02:36:59.000Z | 2022-03-05T21:15:07.000Z | tests/dev/__init__.py | KyleKing/dash_dev | a07c092b480777d8ee9c4854847a6e476da78470 | [
"MIT"
] | 3 | 2021-06-05T13:46:14.000Z | 2021-11-30T10:34:34.000Z | """Test the dev submodule."""
| 15 | 29 | 0.633333 | 4 | 30 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.730769 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1eeafdadbb11bd2b64e4aa6a25c2b64142b66e05 | 2,539 | py | Python | test_GFD.py | Graph-Functional-Dependencies/GFD-Discovery | 0c10d6a724746934cf8cdf60efd00be2f2168b43 | [
"MIT"
] | 4 | 2021-03-09T14:51:18.000Z | 2022-03-27T14:37:05.000Z | test_GFD.py | Graph-Functional-Dependencies/GFD-Discovery | 0c10d6a724746934cf8cdf60efd00be2f2168b43 | [
"MIT"
] | 1 | 2021-08-04T03:06:44.000Z | 2021-08-04T03:06:44.000Z | test_GFD.py | Graph-Functional-Dependencies/GFD-Discovery | 0c10d6a724746934cf8cdf60efd00be2f2168b43 | [
"MIT"
] | null | null | null | import unittest
from Graph import GFD
class Test_GFD(unittest.TestCase):
def setUp(self):
self.gfd = GFD('person')
def test_initial(self):
self.assertEqual(1, len(self.gfd.nodes))
self.assertEqual(0, len(self.gfd.edges))
self.assertEqual('person', self.gfd.nodes[0].type)
... | 43.775862 | 90 | 0.640016 | 349 | 2,539 | 4.578797 | 0.108883 | 0.18836 | 0.097622 | 0.078849 | 0.87234 | 0.864831 | 0.746558 | 0.697121 | 0.671464 | 0.567584 | 0 | 0.025133 | 0.185112 | 2,539 | 58 | 91 | 43.775862 | 0.747221 | 0 | 0 | 0.434783 | 0 | 0 | 0.102756 | 0 | 0 | 0 | 0 | 0 | 0.652174 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.152174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1eedc7b96840a5003c9cd2134df29c00f4b0776a | 1,566 | py | Python | qiskit/extensions/__init__.py | tareqdandachi/qiskit-terra | 5221fe330adba5529bfa22dc25262ac8e6291aaf | [
"Apache-2.0"
] | 3 | 2019-05-19T17:39:38.000Z | 2020-01-28T19:59:18.000Z | qiskit/extensions/__init__.py | tareqdandachi/qiskit-terra | 5221fe330adba5529bfa22dc25262ac8e6291aaf | [
"Apache-2.0"
] | 4 | 2019-05-13T15:28:46.000Z | 2019-12-19T20:47:02.000Z | qiskit/extensions/__init__.py | tareqdandachi/qiskit-terra | 5221fe330adba5529bfa22dc25262ac8e6291aaf | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# This code is part of Qiskit.
#
# (C) Copyright IBM 2017.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modif... | 17.595506 | 77 | 0.623883 | 166 | 1,566 | 5.879518 | 0.650602 | 0.07377 | 0.094262 | 0.101434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011914 | 0.196041 | 1,566 | 88 | 78 | 17.795455 | 0.763304 | 0.874202 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4822d57d84ec7b032c1067204ea0914959a58b38 | 255 | py | Python | polymorphic_auth/plugins/__init__.py | ixc/django-polymorphic-auth | 690c5e78846b328ca1b60bd0e099fe622d40892d | [
"MIT"
] | 6 | 2015-08-09T11:34:49.000Z | 2019-11-21T22:15:19.000Z | polymorphic_auth/plugins/__init__.py | ixc/django-polymorphic-auth | 690c5e78846b328ca1b60bd0e099fe622d40892d | [
"MIT"
] | 7 | 2015-08-19T05:07:04.000Z | 2017-03-27T11:21:02.000Z | polymorphic_auth/plugins/__init__.py | ixc/django-polymorphic-auth | 690c5e78846b328ca1b60bd0e099fe622d40892d | [
"MIT"
] | 5 | 2015-09-21T07:11:11.000Z | 2022-03-30T01:16:04.000Z | import six
from .base import BaseChildModelPlugin, PluginMount
class PolymorphicAuthChildModelPlugin(six.with_metaclass(
PluginMount, BaseChildModelPlugin)):
"""
Mount point for ``Polymorphic Auth`` child model plugins.
"""
pass
| 23.181818 | 61 | 0.733333 | 23 | 255 | 8.086957 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 255 | 10 | 62 | 25.5 | 0.898551 | 0.223529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
4829f1ff27e5a216ba5c7db45147356cde548325 | 1,625 | py | Python | paper-dispersion-reduction/coef_opt/utils/teste_int.py | felipeaugustogudes/devito | d4a8eb5fefcababca2e7546d937d7f37a5d7c571 | [
"MIT"
] | null | null | null | paper-dispersion-reduction/coef_opt/utils/teste_int.py | felipeaugustogudes/devito | d4a8eb5fefcababca2e7546d937d7f37a5d7c571 | [
"MIT"
] | null | null | null | paper-dispersion-reduction/coef_opt/utils/teste_int.py | felipeaugustogudes/devito | d4a8eb5fefcababca2e7546d937d7f37a5d7c571 | [
"MIT"
] | null | null | null | #==============================================================================
# Pyhton Modules and Imports
#==============================================================================
import numpy as np
from scipy.integrate import quad
from scipy.integrate import nquad
#======... | 39.634146 | 79 | 0.152615 | 64 | 1,625 | 3.875 | 0.53125 | 0.072581 | 0.145161 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014875 | 0.089846 | 1,625 | 41 | 80 | 39.634146 | 0.152806 | 0.769846 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.230769 | 0 | 0.538462 | 0.153846 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
482e71ec0eaf84626051d3c50ff5e8b2cf37406c | 143 | py | Python | util/templatetags/string_tags.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 10 | 2017-11-25T01:47:20.000Z | 2020-03-24T18:28:24.000Z | util/templatetags/string_tags.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 319 | 2017-11-16T09:56:03.000Z | 2022-03-28T00:24:37.000Z | util/templatetags/string_tags.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 6 | 2017-11-12T14:04:08.000Z | 2021-03-10T09:41:18.000Z | from django import template
register = template.Library()
@register.filter
def first_word(string, arg=" "):
return string.split(arg)[0]
| 15.888889 | 32 | 0.727273 | 19 | 143 | 5.421053 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.146853 | 143 | 8 | 33 | 17.875 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4833cb693f072e19c4611ca7db4d94b2e532417c | 47,049 | py | Python | tests/conftest.py | sulembutproton/pythonbible | 7b8c90e1b25bfdc028da3e5a43aaa6287005a0b1 | [
"MIT"
] | null | null | null | tests/conftest.py | sulembutproton/pythonbible | 7b8c90e1b25bfdc028da3e5a43aaa6287005a0b1 | [
"MIT"
] | null | null | null | tests/conftest.py | sulembutproton/pythonbible | 7b8c90e1b25bfdc028da3e5a43aaa6287005a0b1 | [
"MIT"
] | null | null | null | from collections import OrderedDict
from typing import Dict, List
import pytest
import pythonbible as bible
from pythonbible.bible.bible_parser import BibleParser
@pytest.fixture
def verse_id() -> int:
return 1001001
@pytest.fixture
def invalid_verse_id() -> int:
return 1100100
@pytest.fixture
def book(... | 45.678641 | 1,298 | 0.54981 | 6,202 | 47,049 | 4.153983 | 0.118026 | 0.032838 | 0.024842 | 0.009316 | 0.785196 | 0.734425 | 0.690836 | 0.665179 | 0.636028 | 0.61076 | 0 | 0.03381 | 0.375757 | 47,049 | 1,029 | 1,299 | 45.723032 | 0.843378 | 0.004166 | 0 | 0.287686 | 0 | 0.041401 | 0.57381 | 0.000534 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042463 | true | 0.008493 | 0.005308 | 0.042463 | 0.090234 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48413869c4ced3aab4882c8b4b60a85d80c332fa | 397 | pyde | Python | processing/sketch_191105d.pyde | nanam0rgana/2019-fall-polytech-cs | 1a31acb3cf22edc930318dec17324b05dd7788d5 | [
"MIT"
] | null | null | null | processing/sketch_191105d.pyde | nanam0rgana/2019-fall-polytech-cs | 1a31acb3cf22edc930318dec17324b05dd7788d5 | [
"MIT"
] | null | null | null | processing/sketch_191105d.pyde | nanam0rgana/2019-fall-polytech-cs | 1a31acb3cf22edc930318dec17324b05dd7788d5 | [
"MIT"
] | null | null | null | def setup ():
strokeWeight(140)
size (500, 500)
smooth ()
noLoop ()
noStroke()
def draw ():
background (50)
fill (94, 206, 40, 250)
ellipse (100, 100, 150, 150)
fill (94, 206, 40, 150)
ellipse (100, 200, 150, 150)
fill (94, 206, 40, 100)
ellipse (100, 300... | 18.045455 | 32 | 0.511335 | 54 | 397 | 3.759259 | 0.425926 | 0.118227 | 0.17734 | 0.216749 | 0.251232 | 0.251232 | 0 | 0 | 0 | 0 | 0 | 0.374046 | 0.34005 | 397 | 21 | 33 | 18.904762 | 0.400763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48491717d52c5786f57d1e8a932a165205eb3909 | 546 | gyp | Python | node_modules/svd-xbee/node_modules/serialport/binding.gyp | MirkoC/SmartHouseRaspberryPiServer | 268678f3e30810a621cb2736d673ec4af85e04e3 | [
"MIT"
] | 1 | 2019-05-14T15:38:14.000Z | 2019-05-14T15:38:14.000Z | node_modules/svd-xbee/node_modules/serialport/binding.gyp | MirkoC/SmartHouseRaspberryPiServer | 268678f3e30810a621cb2736d673ec4af85e04e3 | [
"MIT"
] | null | null | null | node_modules/svd-xbee/node_modules/serialport/binding.gyp | MirkoC/SmartHouseRaspberryPiServer | 268678f3e30810a621cb2736d673ec4af85e04e3 | [
"MIT"
] | null | null | null | {
'targets': [
{
'target_name': 'serialport',
'sources': [
'src/serialport.cpp',
'src/serialport_unix.cpp',
],
'conditions': [
['OS=="win"',
{
'sources': [
"src/serialport_win.cpp",
'src/win/disphelper.c',
... | 18.2 | 40 | 0.32967 | 35 | 546 | 5.028571 | 0.4 | 0.295455 | 0.340909 | 0.227273 | 0.284091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.492674 | 546 | 29 | 41 | 18.827586 | 0.635379 | 0 | 0 | 0.413793 | 0 | 0 | 0.369963 | 0.124542 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4856624c762b57e0a328cfcf2f964c75da775595 | 25 | py | Python | bellybutton/caching.py | sYnfo/bellybutton | 8b98ebb51f4de4cfcc58cdcfd23e01518829141c | [
"MIT"
] | 236 | 2018-02-26T04:29:18.000Z | 2022-03-10T17:13:13.000Z | bellybutton/caching.py | sYnfo/bellybutton | 8b98ebb51f4de4cfcc58cdcfd23e01518829141c | [
"MIT"
] | 17 | 2018-08-13T14:53:50.000Z | 2021-09-27T13:48:51.000Z | bellybutton/caching.py | sYnfo/bellybutton | 8b98ebb51f4de4cfcc58cdcfd23e01518829141c | [
"MIT"
] | 12 | 2018-02-26T15:07:09.000Z | 2021-09-07T15:56:41.000Z | """Caching utilities."""
| 12.5 | 24 | 0.64 | 2 | 25 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 25 | 1 | 25 | 25 | 0.695652 | 0.72 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48707ce8a0f008c18735aa2eff9d231d1f531238 | 496 | py | Python | tracardi_dot_notation/dot_template.py | Tracardi/tracardi-dot-notation | 6a620775de3cd3d94e55c103dd8a78f250d2639d | [
"MIT"
] | 1 | 2021-09-28T06:45:08.000Z | 2021-09-28T06:45:08.000Z | tracardi_dot_notation/dot_template.py | atompie/tracardi-dot-notation | 6a620775de3cd3d94e55c103dd8a78f250d2639d | [
"MIT"
] | null | null | null | tracardi_dot_notation/dot_template.py | atompie/tracardi-dot-notation | 6a620775de3cd3d94e55c103dd8a78f250d2639d | [
"MIT"
] | null | null | null | import re
from tracardi_dot_notation.dot_accessor import DotAccessor
from tracardi_dot_notation.utils.singleton import Singleton
class DotTemplate(metaclass=Singleton):
def __init__(self):
self._regex = re.compile(r"\{{2}\s*((?:payload|profile|event|session|flow|memory)"
... | 31 | 90 | 0.639113 | 64 | 496 | 4.765625 | 0.625 | 0.078689 | 0.098361 | 0.15082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.183468 | 496 | 15 | 91 | 33.066667 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.193939 | 0.193939 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
487a5519527b8c406a783644f4f007b2eaea668f | 422 | py | Python | synthesizer/tests/__init__.py | puppyapple/Real-Time-Voice-Cloning | d1e1481e18ee7d604372025f3b751663d8dda37b | [
"MIT"
] | null | null | null | synthesizer/tests/__init__.py | puppyapple/Real-Time-Voice-Cloning | d1e1481e18ee7d604372025f3b751663d8dda37b | [
"MIT"
] | null | null | null | synthesizer/tests/__init__.py | puppyapple/Real-Time-Voice-Cloning | d1e1481e18ee7d604372025f3b751663d8dda37b | [
"MIT"
] | null | null | null | import os
def get_tests_path():
"""Returns the path to the test directory."""
return os.path.dirname(os.path.realpath(__file__))
def get_tests_input_path():
"""Returns the path to the test data directory."""
return os.path.join(get_tests_path(), "inputs")
def get_tests_output_path():
"""Return... | 24.823529 | 61 | 0.701422 | 64 | 422 | 4.375 | 0.34375 | 0.142857 | 0.117857 | 0.192857 | 0.475 | 0.475 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0.165877 | 422 | 16 | 62 | 26.375 | 0.795455 | 0.322275 | 0 | 0 | 0 | 0 | 0.048148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6f824a80738bddcdb55062eda65391a0de292c87 | 2,428 | py | Python | secondary_market/migrations/0013_auto_20180309_1416.py | chinmaysb/fomoboard | 6fe66a7363d9b5272e200abc69a800834111343c | [
"MIT"
] | null | null | null | secondary_market/migrations/0013_auto_20180309_1416.py | chinmaysb/fomoboard | 6fe66a7363d9b5272e200abc69a800834111343c | [
"MIT"
] | null | null | null | secondary_market/migrations/0013_auto_20180309_1416.py | chinmaysb/fomoboard | 6fe66a7363d9b5272e200abc69a800834111343c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2018-03-09 14:16
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('secondary_market', '0012_auto_20180218_0911'),
]
operations = [
migrations.... | 31.947368 | 84 | 0.571664 | 227 | 2,428 | 5.947137 | 0.325991 | 0.08 | 0.162963 | 0.195556 | 0.75037 | 0.75037 | 0.719259 | 0.6 | 0.528889 | 0.528889 | 0 | 0.033593 | 0.313427 | 2,428 | 75 | 85 | 32.373333 | 0.776245 | 0.028007 | 0 | 0.647059 | 1 | 0 | 0.126008 | 0.009758 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.073529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 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 | 4 |
6f94b8870b132eb5481cfac416587641e3713dd8 | 2,948 | py | Python | app/upload/models.py | DakobedBard/BaseDjango | 27b475505cf109125333e30a0517a21ee982ed91 | [
"MIT"
] | null | null | null | app/upload/models.py | DakobedBard/BaseDjango | 27b475505cf109125333e30a0517a21ee982ed91 | [
"MIT"
] | null | null | null | app/upload/models.py | DakobedBard/BaseDjango | 27b475505cf109125333e30a0517a21ee982ed91 | [
"MIT"
] | null | null | null | from django.db import models
from django.conf import settings
class Document(models.Model):
uploaded_at = models.DateTimeField(auto_now_add=True)
s3Path = models.CharField(max_length=500, default='file.txt')
user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
bucket=models.CharF... | 49.133333 | 113 | 0.752714 | 385 | 2,948 | 5.532468 | 0.197403 | 0.140845 | 0.169014 | 0.225352 | 0.804225 | 0.720657 | 0.660563 | 0.595775 | 0.595775 | 0.574648 | 0 | 0.018203 | 0.124152 | 2,948 | 59 | 114 | 49.966102 | 0.806739 | 0.022049 | 0 | 0.510638 | 0 | 0 | 0.048832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.042553 | 0.06383 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6f9eb0c059d6b4bca356cfefa10b429b6715039c | 301 | py | Python | autoreject/__init__.py | msseibel/autoreject | a5e1d4eb79cf8fa37aa08d06928c3803cd8f3a72 | [
"BSD-3-Clause"
] | null | null | null | autoreject/__init__.py | msseibel/autoreject | a5e1d4eb79cf8fa37aa08d06928c3803cd8f3a72 | [
"BSD-3-Clause"
] | null | null | null | autoreject/__init__.py | msseibel/autoreject | a5e1d4eb79cf8fa37aa08d06928c3803cd8f3a72 | [
"BSD-3-Clause"
] | 1 | 2020-12-12T09:48:22.000Z | 2020-12-12T09:48:22.000Z | __version__ = '0.3.dev0'
from .autoreject import _GlobalAutoReject, _AutoReject, AutoReject
from .autoreject import RejectLog, read_auto_reject
from .autoreject import compute_thresholds, validation_curve, get_rejection_threshold
from .ransac import Ransac
from .utils import set_matplotlib_defaults
| 37.625 | 85 | 0.853821 | 37 | 301 | 6.567568 | 0.648649 | 0.17284 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011029 | 0.096346 | 301 | 7 | 86 | 43 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.026578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6fa3601af62915e4c30c4c5082c05cfb69eacd47 | 673 | py | Python | oscar/lib/python2.7/site-packages/phonenumbers/shortdata/region_NZ.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | 4 | 2018-10-19T04:36:20.000Z | 2020-02-13T16:14:09.000Z | oscar/lib/python2.7/site-packages/phonenumbers/shortdata/region_NZ.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/shortdata/region_NZ.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | null | null | null | """Auto-generated file, do not edit by hand. NZ metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_NZ = PhoneMetadata(id='NZ', country_code=None, international_prefix=None,
general_desc=PhoneNumberDesc(national_number_pattern='[14]\\d{2,3}', possible_length=(3, 4)),... | 67.3 | 113 | 0.780089 | 85 | 673 | 5.905882 | 0.505882 | 0.183267 | 0.231076 | 0.286853 | 0.278884 | 0.123506 | 0 | 0 | 0 | 0 | 0 | 0.055016 | 0.081724 | 673 | 9 | 114 | 74.777778 | 0.757282 | 0.078752 | 0 | 0 | 1 | 0 | 0.063518 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6fb71b175301eab5b4b7a6395eb85e190ef9f69c | 6,822 | gyp | Python | src/ios/ios.gyp | google-admin/mozc | d0efe11cc6232c4e99371c19d2e02303ba889233 | [
"BSD-3-Clause"
] | 26 | 2015-03-18T16:08:47.000Z | 2022-03-09T07:04:41.000Z | src/ios/ios.gyp | google-admin/mozc | d0efe11cc6232c4e99371c19d2e02303ba889233 | [
"BSD-3-Clause"
] | 19 | 2018-05-09T21:18:45.000Z | 2022-02-16T08:12:02.000Z | src/ios/ios.gyp | google-admin/mozc | d0efe11cc6232c4e99371c19d2e02303ba889233 | [
"BSD-3-Clause"
] | 12 | 2015-05-20T15:32:00.000Z | 2022-02-14T20:59:50.000Z | # Copyright 2010-2021, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and ... | 41.597561 | 76 | 0.623571 | 756 | 6,822 | 5.384921 | 0.34127 | 0.189143 | 0.197249 | 0.027512 | 0.128715 | 0.050602 | 0.033407 | 0.033407 | 0.033407 | 0.033407 | 0 | 0.001535 | 0.236001 | 6,822 | 163 | 77 | 41.852761 | 0.779547 | 0.257842 | 0 | 0.085938 | 0 | 0 | 0.652944 | 0.59109 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6fb7dd798e9d325476c697ef893237ecdbbcecd6 | 779 | py | Python | icarus_simulator/strategies/atk_geo_constraint/grid_constr_strat.py | RubenFr/ICARUS-framework | e57a1f50c3bb9522b2a279fee6b625628afd056f | [
"MIT"
] | 5 | 2021-08-31T08:07:41.000Z | 2022-01-04T02:09:25.000Z | icarus_simulator/strategies/atk_geo_constraint/grid_constr_strat.py | RubenFr/ICARUS-framework | e57a1f50c3bb9522b2a279fee6b625628afd056f | [
"MIT"
] | 3 | 2021-09-23T09:06:35.000Z | 2021-12-08T04:53:01.000Z | icarus_simulator/strategies/atk_geo_constraint/grid_constr_strat.py | RubenFr/ICARUS-framework | e57a1f50c3bb9522b2a279fee6b625628afd056f | [
"MIT"
] | 2 | 2022-01-19T17:50:56.000Z | 2022-03-06T18:59:41.000Z | # 2020 Tommaso Ciussani and Giacomo Giuliari
from typing import Set, List
from icarus_simulator.strategies.atk_geo_constraint.base_geo_constraint_strat import (
BaseGeoConstraintStrat,
)
from icarus_simulator.structure_definitions import GridPos
class GridConstrStrat(BaseGeoConstraintStrat):
def __init__(se... | 28.851852 | 86 | 0.695764 | 95 | 779 | 5.463158 | 0.568421 | 0.077071 | 0.1079 | 0.069364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008157 | 0.213094 | 779 | 26 | 87 | 29.961538 | 0.838499 | 0.100128 | 0 | 0.105263 | 0 | 0 | 0.005739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.157895 | 0.157895 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
6fdb6badf211d6c5daaa62c43a9b65f9fb97ab53 | 286 | py | Python | versions/2.0/karma/python/montanagunclassifieds.py | Lituta/dig-alignment | 812ab0e4a181953d23024ef9df92eec1d40559cb | [
"Apache-2.0"
] | 5 | 2015-04-26T19:39:44.000Z | 2018-12-24T13:17:42.000Z | versions/2.0/karma/python/montanagunclassifieds.py | Lituta/dig-alignment | 812ab0e4a181953d23024ef9df92eec1d40559cb | [
"Apache-2.0"
] | 7 | 2016-03-23T16:52:32.000Z | 2018-07-24T03:08:05.000Z | versions/2.0/karma/python/montanagunclassifieds.py | Lituta/dig-alignment | 812ab0e4a181953d23024ef9df92eec1d40559cb | [
"Apache-2.0"
] | 28 | 2015-04-08T22:39:07.000Z | 2021-12-25T22:16:36.000Z | def montana_getEnhancedLocation(location):
"""Add Montana to the location if not there already."""
return add_state(location, "Montana")
def montana_cleanPrice(price):
return price_quantity_us_number(price)
def montana_getCurrency(price):
return price_currency(price)
| 28.6 | 59 | 0.772727 | 36 | 286 | 5.916667 | 0.555556 | 0.140845 | 0.150235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 286 | 9 | 60 | 31.777778 | 0.865854 | 0.171329 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6fe47f1cf9217dcdd857c9795fc3ea2ebbcff05a | 352 | py | Python | pagedown/settings.py | Rhyme24/SignInSystem | 3ca542297733065444c80bdf4974805d8a721837 | [
"BSD-3-Clause"
] | 2 | 2018-04-20T10:57:18.000Z | 2018-05-08T19:06:11.000Z | pagedown/settings.py | Rhyme24/SignInSystem | 3ca542297733065444c80bdf4974805d8a721837 | [
"BSD-3-Clause"
] | 15 | 2018-05-02T11:05:30.000Z | 2018-05-11T20:51:27.000Z | envlive/lib/python2.7/site-packages/pagedown/settings.py | ujjwalsb/liveProject | 8ce7df82de35c3cb5a911ba36a2f11b482cf38d9 | [
"Apache-2.0"
] | null | null | null | from django.conf import settings
SHOW_PREVIEW = getattr(settings, "PAGEDOWN_SHOW_PREVIEW", True)
WIDGET_TEMPLATE = getattr(
settings, "PAGEDOWN_WIDGET_TEMPLATE", "pagedown/widgets/default.html")
WIDGET_CSS = getattr(
settings, "PAGEDOWN_WIDGET_CSS", ("pagedown/demo/browser/demo.css", ))
EXTENSIONS = getattr(setti... | 35.2 | 72 | 0.778409 | 41 | 352 | 6.439024 | 0.463415 | 0.227273 | 0.348485 | 0.219697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 352 | 9 | 73 | 39.111111 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.403409 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d2027814f9aaae90e181715383d092eeeac75da9 | 177 | py | Python | Data Structures/Trees/Tree: Height of a Binary Tree/solution.py | rawat9/Hackerrank | c8f5e0ec8c0e48ae723a019958940a753f97f8f4 | [
"MIT"
] | null | null | null | Data Structures/Trees/Tree: Height of a Binary Tree/solution.py | rawat9/Hackerrank | c8f5e0ec8c0e48ae723a019958940a753f97f8f4 | [
"MIT"
] | null | null | null | Data Structures/Trees/Tree: Height of a Binary Tree/solution.py | rawat9/Hackerrank | c8f5e0ec8c0e48ae723a019958940a753f97f8f4 | [
"MIT"
] | null | null | null | def height(root):
if root is None:
return -1
left_height = height(root.left)
right_height = height(root.right)
return 1 + max(left_height, right_height) | 25.285714 | 45 | 0.661017 | 26 | 177 | 4.346154 | 0.423077 | 0.265487 | 0.283186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.242938 | 177 | 7 | 45 | 25.285714 | 0.828358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d21f302b13d1ea0b3afbb986bc96dac40a1f7f8b | 451 | py | Python | lrs/exceptions.py | Sembian/ADL_LRS | 3535dad6371af3f9f5b67f7eabfd0f4a393e0d62 | [
"Apache-2.0"
] | null | null | null | lrs/exceptions.py | Sembian/ADL_LRS | 3535dad6371af3f9f5b67f7eabfd0f4a393e0d62 | [
"Apache-2.0"
] | null | null | null | lrs/exceptions.py | Sembian/ADL_LRS | 3535dad6371af3f9f5b67f7eabfd0f4a393e0d62 | [
"Apache-2.0"
] | null | null | null | class BadRequest(Exception):
pass
class ParamError(BadRequest):
pass
class Unauthorized(Exception):
pass
class Forbidden(Exception):
pass
class NotFound(Exception):
pass
class IDNotFoundError(NotFound):
pass
class Conflict(Exception):
pass
class ParamConflict(Conflict):
pass
cla... | 13.264706 | 35 | 0.731707 | 44 | 451 | 7.5 | 0.318182 | 0.272727 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 451 | 33 | 36 | 13.666667 | 0.909091 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d22e3536d63eadaaa95471b04352e7e395c38b8a | 37 | py | Python | abc/192/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | 2 | 2022-01-22T07:56:58.000Z | 2022-01-24T00:29:37.000Z | abc/192/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | abc/192/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | X = int(input())
print(100 - X % 100) | 18.5 | 20 | 0.567568 | 7 | 37 | 3 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.189189 | 37 | 2 | 20 | 18.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d2533d5712a74d974e11951770ac9a4687104db5 | 689 | py | Python | plugins/holland.backup.mysql_lvm/holland/backup/mysql_lvm/actions/__init__.py | nwbreneman/holland | 8defe48aafb32388ec2bf1cc76070da98c766d8e | [
"BSD-3-Clause"
] | null | null | null | plugins/holland.backup.mysql_lvm/holland/backup/mysql_lvm/actions/__init__.py | nwbreneman/holland | 8defe48aafb32388ec2bf1cc76070da98c766d8e | [
"BSD-3-Clause"
] | null | null | null | plugins/holland.backup.mysql_lvm/holland/backup/mysql_lvm/actions/__init__.py | nwbreneman/holland | 8defe48aafb32388ec2bf1cc76070da98c766d8e | [
"BSD-3-Clause"
] | null | null | null | """Define mysql_lvm.actions"""
from holland.backup.mysql_lvm.actions.mysql import (FlushAndLockMySQLAction,
InnodbRecoveryAction,
RecordMySQLReplicationAction,
reco... | 62.636364 | 81 | 0.478955 | 43 | 689 | 7.44186 | 0.534884 | 0.1 | 0.1875 | 0.20625 | 0.3 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0.481858 | 689 | 10 | 82 | 68.9 | 0.896359 | 0.034833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d254212c80e6a05ad214deec8ef28770a0110f97 | 55 | py | Python | mocks/samplelake/driver/handler.py | NetSys/dspace | c3e2942501288ae06b41d2daf1b81424c812b34d | [
"Apache-2.0"
] | 8 | 2021-05-28T13:17:34.000Z | 2021-11-16T07:55:52.000Z | mocks/sample/driver/handler.py | digi-project/sosp21-artifact | 1b4a11c648e456c9ff9d74f16b09f4238d6694a0 | [
"BSD-3-Clause"
] | 15 | 2021-05-25T18:07:13.000Z | 2022-01-03T20:00:59.000Z | mocks/samplelake/driver/handler.py | isabella232/dspace | c3e2942501288ae06b41d2daf1b81424c812b34d | [
"Apache-2.0"
] | 4 | 2021-05-23T21:40:45.000Z | 2021-05-31T12:27:44.000Z | import digi
if __name__ == '__main__':
digi.run()
| 11 | 26 | 0.636364 | 7 | 55 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 55 | 4 | 27 | 13.75 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9627e055f25a379bac79aa2b12885c0709fe1676 | 208 | py | Python | 08_AdvancedArchitecture/PySodium/sodium/tsai_model/s8.py | Septank766/TSAI-DeepVision-EVA4.0 | 02265d7e3e06789d0ee634a38399c6f0e01cfcbd | [
"MIT"
] | 22 | 2020-05-16T08:15:48.000Z | 2021-12-30T14:38:31.000Z | 08_AdvancedArchitecture/PySodium/sodium/tsai_model/s8.py | Septank766/TSAI-DeepVision-EVA4.0 | 02265d7e3e06789d0ee634a38399c6f0e01cfcbd | [
"MIT"
] | 1 | 2020-09-07T17:10:41.000Z | 2020-09-09T20:51:31.000Z | 08_AdvancedArchitecture/PySodium/sodium/tsai_model/s8.py | Septank766/TSAI-DeepVision-EVA4.0 | 02265d7e3e06789d0ee634a38399c6f0e01cfcbd | [
"MIT"
] | 43 | 2020-03-07T22:08:41.000Z | 2022-03-16T21:07:30.000Z | import torch.nn as nn
import torch.nn.functional as F
from sodium.utils import setup_logger
from sodium.base import BaseModel
from sodium.model import ResNet18
def CIFAR10S8Model():
return ResNet18()
| 17.333333 | 37 | 0.793269 | 31 | 208 | 5.290323 | 0.580645 | 0.182927 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039773 | 0.153846 | 208 | 11 | 38 | 18.909091 | 0.892045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.714286 | 0.142857 | 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 | 1 | 1 | 0 | 0 | 4 |
9637dcc8acdbec5c8d1bbb1e6ac7c0e04d87e907 | 175 | py | Python | Ex.3.19.py | tarasov4/Intro-to-Python-Excercises | f98e79c4626b757316d41f22edfcd2ee94889854 | [
"Unlicense"
] | null | null | null | Ex.3.19.py | tarasov4/Intro-to-Python-Excercises | f98e79c4626b757316d41f22edfcd2ee94889854 | [
"Unlicense"
] | null | null | null | Ex.3.19.py | tarasov4/Intro-to-Python-Excercises | f98e79c4626b757316d41f22edfcd2ee94889854 | [
"Unlicense"
] | null | null | null | for cat1 in range(1, 21):
for cat2 in range(1, 21):
hypo = (cat1 ** 2 + cat2 ** 2) ** 0.5
if hypo.is_integer():
print(cat1, cat2, hypo)
| 25 | 46 | 0.474286 | 27 | 175 | 3.037037 | 0.555556 | 0.170732 | 0.195122 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 0.371429 | 175 | 6 | 47 | 29.166667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
963b829f4deeefea8d37f8a3778881857d938fa8 | 124 | py | Python | tests/__init__.py | canonical/finos-legend-studio-operator | b7567bbb241f3e355cd73b37269b7843a769a5e7 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | canonical/finos-legend-studio-operator | b7567bbb241f3e355cd73b37269b7843a769a5e7 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | canonical/finos-legend-studio-operator | b7567bbb241f3e355cd73b37269b7843a769a5e7 | [
"Apache-2.0"
] | 2 | 2021-12-03T17:32:05.000Z | 2022-01-20T10:29:29.000Z | # Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
"""Module testing the Legend Studio Operator."""
| 24.8 | 48 | 0.758065 | 16 | 124 | 5.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.153226 | 124 | 4 | 49 | 31 | 0.857143 | 0.91129 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9665f71f12c8767605495bcaa65b389a3fffbba6 | 2,422 | py | Python | mxfusion/components/functions/operators/operator_impl.py | tdiethe/MXFusion | fbdba79ca85cb5a9760722ffd932b9ec4c401745 | [
"Apache-2.0"
] | null | null | null | mxfusion/components/functions/operators/operator_impl.py | tdiethe/MXFusion | fbdba79ca85cb5a9760722ffd932b9ec4c401745 | [
"Apache-2.0"
] | null | null | null | mxfusion/components/functions/operators/operator_impl.py | tdiethe/MXFusion | fbdba79ca85cb5a9760722ffd932b9ec4c401745 | [
"Apache-2.0"
] | null | null | null | from . import MXNetOperatorDecorator
""" Basic Arithmetic """
@MXNetOperatorDecorator(name='add', args=['x', 'y'], inputs=['x', 'y'])
def add(F, x, y):
return F.add(x, y)
@MXNetOperatorDecorator(name='subtract', args=['x', 'y'], inputs=['x', 'y'])
def subtract(F, x, y):
return F.subtract(x, y)
@MXNetOperator... | 34.112676 | 91 | 0.649876 | 342 | 2,422 | 4.602339 | 0.201754 | 0.030496 | 0.074333 | 0.045743 | 0.228717 | 0.150572 | 0.064803 | 0 | 0 | 0 | 0 | 0.004771 | 0.1346 | 2,422 | 70 | 92 | 34.6 | 0.746183 | 0.030553 | 0 | 0 | 0 | 0 | 0.113063 | 0 | 0 | 0 | 0 | 0.014286 | 0 | 1 | 0.306122 | false | 0 | 0.020408 | 0.265306 | 0.632653 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
968053e8c538206cca19bf54d9faab2b7b844cae | 111 | py | Python | DeliveryManagement/apps.py | glen-s-abraham/OnlineDelivery | 138356e17e52d0a4d4a1778f9c440006ce28ae5c | [
"MIT"
] | null | null | null | DeliveryManagement/apps.py | glen-s-abraham/OnlineDelivery | 138356e17e52d0a4d4a1778f9c440006ce28ae5c | [
"MIT"
] | null | null | null | DeliveryManagement/apps.py | glen-s-abraham/OnlineDelivery | 138356e17e52d0a4d4a1778f9c440006ce28ae5c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DeliverymanagementConfig(AppConfig):
name = 'DeliveryManagement'
| 18.5 | 42 | 0.801802 | 10 | 111 | 8.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 111 | 5 | 43 | 22.2 | 0.927083 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
968afbe2a895e70e2604e3a49d14dcb994b078f1 | 222 | py | Python | homebar/drinks/urls.py | cdriehuys/home-bar | 22e408c00f3bae0b9b7c0de6ebba36e211c32828 | [
"MIT"
] | null | null | null | homebar/drinks/urls.py | cdriehuys/home-bar | 22e408c00f3bae0b9b7c0de6ebba36e211c32828 | [
"MIT"
] | null | null | null | homebar/drinks/urls.py | cdriehuys/home-bar | 22e408c00f3bae0b9b7c0de6ebba36e211c32828 | [
"MIT"
] | null | null | null | from django.urls import path
from drinks import views
urlpatterns = [
path("drinks/<slug>/", views.DrinkDetailView.as_view(), name="drink-detail"),
path("", views.DrinksListView.as_view(), name="drink-list"),
]
| 22.2 | 81 | 0.698198 | 28 | 222 | 5.464286 | 0.607143 | 0.078431 | 0.130719 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130631 | 222 | 9 | 82 | 24.666667 | 0.792746 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
96b3c2bc2705834b53574d98bb96c57380852781 | 249 | py | Python | portscanner/mixins/__init__.py | GoodiesHQ/portscanner | 87591a367b5079f6faa140a20783f92e3bdf2e92 | [
"MIT"
] | null | null | null | portscanner/mixins/__init__.py | GoodiesHQ/portscanner | 87591a367b5079f6faa140a20783f92e3bdf2e92 | [
"MIT"
] | null | null | null | portscanner/mixins/__init__.py | GoodiesHQ/portscanner | 87591a367b5079f6faa140a20783f92e3bdf2e92 | [
"MIT"
] | null | null | null | from .resolver import MxResolverBase, MxResolver
from .loop import MxLoopBase, MxLoop
from .workpool import MxWorkPoolBase, MxWorkPool
__all__ = [
"MxResolverBase", "MxResolver",
"MxLoopBase", "MxLoop",
"MxWorkPoolBase", "MxWorkPool",
] | 27.666667 | 48 | 0.742972 | 22 | 249 | 8.227273 | 0.545455 | 0.265193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148594 | 249 | 9 | 49 | 27.666667 | 0.853774 | 0 | 0 | 0 | 0 | 0 | 0.256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
73a0af435814c06fc5f9b2bdd7490b96c86892c3 | 125 | py | Python | index.py | aguilamullisaca/FP-2021-G2 | f6097f716357064006159d1816853ed1e4a9743a | [
"Apache-2.0"
] | null | null | null | index.py | aguilamullisaca/FP-2021-G2 | f6097f716357064006159d1816853ed1e4a9743a | [
"Apache-2.0"
] | null | null | null | index.py | aguilamullisaca/FP-2021-G2 | f6097f716357064006159d1816853ed1e4a9743a | [
"Apache-2.0"
] | null | null | null | print ("hola mundo/jhon")
a=45
b=5
print("Suma:",a+b)
print("Resta:",a-b)
print("Division:",a/b)
print("Multiplicacion:",a*b) | 17.857143 | 28 | 0.656 | 24 | 125 | 3.416667 | 0.5 | 0.097561 | 0.256098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.064 | 125 | 7 | 28 | 17.857143 | 0.675214 | 0 | 0 | 0 | 0 | 0 | 0.396825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
73aede7d788dea4cd2814381b8a6fcf820b17869 | 435 | py | Python | kha/episode_diff.py | claui/kommtheuteaktenzeichen | 2afbdfd1731a8dd6e222d094b0ee26c1a1945e61 | [
"Apache-2.0"
] | 2 | 2021-06-06T15:29:08.000Z | 2021-06-07T20:37:38.000Z | kha/episode_diff.py | claui/kommtheuteaktenzeichen | 2afbdfd1731a8dd6e222d094b0ee26c1a1945e61 | [
"Apache-2.0"
] | null | null | null | kha/episode_diff.py | claui/kommtheuteaktenzeichen | 2afbdfd1731a8dd6e222d094b0ee26c1a1945e61 | [
"Apache-2.0"
] | 1 | 2021-05-31T16:48:08.000Z | 2021-05-31T16:48:08.000Z | from kha.episode import Episode
from kha.episode_patchers.episode_adder import EpisodeAdder
from kha.episode_patchers.episode_replacer import EpisodeReplacer
from kha.episode_patchers.noop_patcher import NoopPatcher
from kha.episode_patchers.patcher import Patcher
from kha.local_types import EventsDict, Uuid
def epis... | 36.25 | 65 | 0.82069 | 55 | 435 | 6.290909 | 0.4 | 0.121387 | 0.202312 | 0.254335 | 0.16763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 435 | 11 | 66 | 39.545455 | 0.915344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.666667 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
73ca8a8f4253adce47715be1fa467ea2f8405e44 | 194 | py | Python | erddapy/doc_helpers.py | pyoceans/erddapy | 784d164de97e764a757d9612dcd5e42f69e635eb | [
"BSD-3-Clause"
] | 17 | 2017-10-17T12:27:31.000Z | 2019-02-05T18:20:10.000Z | erddapy/doc_helpers.py | pyoceans/erddapy | 784d164de97e764a757d9612dcd5e42f69e635eb | [
"BSD-3-Clause"
] | 22 | 2017-10-09T18:50:02.000Z | 2019-01-31T13:54:08.000Z | erddapy/doc_helpers.py | pyoceans/erddapy | 784d164de97e764a757d9612dcd5e42f69e635eb | [
"BSD-3-Clause"
] | 4 | 2017-10-09T15:58:39.000Z | 2018-03-08T15:18:29.000Z | """Documentation helpers."""
def show_iframe(src):
"""Show HTML returns on Jupyter outputs."""
from IPython.display import IFrame
return IFrame(src=src, width="100%", height=950)
| 21.555556 | 52 | 0.685567 | 25 | 194 | 5.28 | 0.8 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037267 | 0.170103 | 194 | 8 | 53 | 24.25 | 0.782609 | 0.309278 | 0 | 0 | 0 | 0 | 0.03252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
73d819f8c8342b061aaf516c66121455edb87e81 | 189 | py | Python | temp/petting_zoo/p_z_test.py | linklab/link_rl | e3d3196dcd49fd71b45941e07fc0d8a27d1d8c99 | [
"MIT"
] | null | null | null | temp/petting_zoo/p_z_test.py | linklab/link_rl | e3d3196dcd49fd71b45941e07fc0d8a27d1d8c99 | [
"MIT"
] | null | null | null | temp/petting_zoo/p_z_test.py | linklab/link_rl | e3d3196dcd49fd71b45941e07fc0d8a27d1d8c99 | [
"MIT"
] | 1 | 2021-11-23T12:30:37.000Z | 2021-11-23T12:30:37.000Z | from pettingzoo.butterfly import pistonball_v4
env = pistonball_v4.env()
print(env.observation_spaces)
print(env.action_spaces)
obs = env.reset()
print(env.num_agents)
print(env.agents) | 17.181818 | 46 | 0.798942 | 28 | 189 | 5.214286 | 0.535714 | 0.219178 | 0.205479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.089947 | 189 | 11 | 47 | 17.181818 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
73dae6b24fd4f66d9b4604ab2b767636bab7d6d2 | 68 | py | Python | renderers/__init__.py | thecsapprentice/phoenix-plumage-client | 552bab81757ef3767a5ecfdf44e40b69eeea7e4c | [
"BSD-3-Clause"
] | null | null | null | renderers/__init__.py | thecsapprentice/phoenix-plumage-client | 552bab81757ef3767a5ecfdf44e40b69eeea7e4c | [
"BSD-3-Clause"
] | null | null | null | renderers/__init__.py | thecsapprentice/phoenix-plumage-client | 552bab81757ef3767a5ecfdf44e40b69eeea7e4c | [
"BSD-3-Clause"
] | null | null | null | from Blender import BlenderNode
from Renderman import RenderManNode
| 22.666667 | 35 | 0.882353 | 8 | 68 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 36 | 34 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
73f7c5eb07440970c21301431729365b60ec9458 | 330 | py | Python | ui/graphics/frame.py | edart76/tree | 743d14a819c057c50bd4f84ed0712768cb4ba582 | [
"Apache-2.0"
] | null | null | null | ui/graphics/frame.py | edart76/tree | 743d14a819c057c50bd4f84ed0712768cb4ba582 | [
"Apache-2.0"
] | null | null | null | ui/graphics/frame.py | edart76/tree | 743d14a819c057c50bd4f84ed0712768cb4ba582 | [
"Apache-2.0"
] | null | null | null |
"""
tab frames to be drawn around sections of the tree,
denoting proxied or instanced branches
should be unobtrusive normally, but able to expand on request
to show source address,
sequence of multiple transformations etc
"""
from PySide2 import QtCore, QtWidgets, QtGui
class TreeFrame(QtWidgets.QGraphicsRectIte... | 18.333333 | 61 | 0.793939 | 45 | 330 | 5.822222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00361 | 0.160606 | 330 | 17 | 62 | 19.411765 | 0.942238 | 0.660606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
fb5172de0aaf6580b5bcdbba4e7c409cc6b0a3a7 | 99 | py | Python | photoGallary/apps.py | shingareshubham/GQ | ddcc1f7323680bde3f6a4ee3f2a0a5f3be38dd78 | [
"MIT"
] | null | null | null | photoGallary/apps.py | shingareshubham/GQ | ddcc1f7323680bde3f6a4ee3f2a0a5f3be38dd78 | [
"MIT"
] | null | null | null | photoGallary/apps.py | shingareshubham/GQ | ddcc1f7323680bde3f6a4ee3f2a0a5f3be38dd78 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PhotogallaryConfig(AppConfig):
name = 'photoGallary'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fbb82541e8d48e782f4fb188e7610754f308b006 | 52 | py | Python | locale/pot/api/plotting/_autosummary/pyvista-themes-_AxesConfig-box-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/plotting/_autosummary/pyvista-themes-_AxesConfig-box-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/plotting/_autosummary/pyvista-themes-_AxesConfig-box-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | import pyvista
pyvista.global_theme.axes.box = True
| 17.333333 | 36 | 0.826923 | 8 | 52 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 2 | 37 | 26 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fbd8ec9dcc8b2d69f633ee570e5c1b085e2038bf | 153 | py | Python | apdt/plt/__init__.py | Zhiyuan-Wu/apdt | 20b4a7821edd39a7de60e222997f6270eae47843 | [
"Apache-2.0"
] | null | null | null | apdt/plt/__init__.py | Zhiyuan-Wu/apdt | 20b4a7821edd39a7de60e222997f6270eae47843 | [
"Apache-2.0"
] | null | null | null | apdt/plt/__init__.py | Zhiyuan-Wu/apdt | 20b4a7821edd39a7de60e222997f6270eae47843 | [
"Apache-2.0"
] | 2 | 2020-08-25T03:06:51.000Z | 2021-03-21T06:54:42.000Z | '''
APDT: Ploting
--------------------------
Provide useful data visualizaton tools.
Check https://github.com/Zhiyuan-Wu/apdt for more information.
''' | 19.125 | 62 | 0.620915 | 17 | 153 | 5.588235 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104575 | 153 | 8 | 63 | 19.125 | 0.693431 | 0.947712 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fbde2dc43817c84089660982750fe0fb4bd504a8 | 12,124 | py | Python | bad_channel_lhc15o_3_new.py | dhruvdixit/alice_calib_emcal | 26357206518511842c047c78c9b784acae6203e8 | [
"BSD-3-Clause-LBNL"
] | 1 | 2017-06-06T19:28:08.000Z | 2017-06-06T19:28:08.000Z | bad_channel_lhc15o_3_new.py | dhruvdixit/alice_calib_emcal | 26357206518511842c047c78c9b784acae6203e8 | [
"BSD-3-Clause-LBNL"
] | null | null | null | bad_channel_lhc15o_3_new.py | dhruvdixit/alice_calib_emcal | 26357206518511842c047c78c9b784acae6203e8 | [
"BSD-3-Clause-LBNL"
] | 1 | 2018-10-11T20:07:25.000Z | 2018-10-11T20:07:25.000Z | dead_emcal = [128, 129, 131, 134, 139, 140, 182, 184, 188, 189, 385, 394, 397, 398, 399, 432, 434, 436, 440, 442, 5024, 5025, 5026, 5027, 5028, 5030, 5032, 5033, 5035, 5036, 5037, 5038, 5039, 5121, 5122, 5123, 5124, 5125, 5126, 5128, 5129, 5130, 5132, 5133, 5134, 5135, 5170, 5172, 5173, 5174, 5178, 5181, 6641, 6647, 66... | 808.266667 | 5,380 | 0.696305 | 1,842 | 12,124 | 4.576004 | 0.853963 | 0.002135 | 0.002847 | 0.003796 | 0.035354 | 0.012813 | 0 | 0 | 0 | 0 | 0 | 0.81014 | 0.152425 | 12,124 | 14 | 5,381 | 866 | 0.010121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8371684d3640950cd7f711fafbd1e3b3faeeecf4 | 132 | py | Python | openCV/image02.py | JSJeong-me/RaspberryPI | 25a783fc417f5f98e09b0371525416b439397bd8 | [
"MIT"
] | null | null | null | openCV/image02.py | JSJeong-me/RaspberryPI | 25a783fc417f5f98e09b0371525416b439397bd8 | [
"MIT"
] | null | null | null | openCV/image02.py | JSJeong-me/RaspberryPI | 25a783fc417f5f98e09b0371525416b439397bd8 | [
"MIT"
] | 1 | 2022-02-15T04:41:38.000Z | 2022-02-15T04:41:38.000Z | import matplotlib.pyplot as plt
import matplotlib.image as mpimg
img = mpimg.imread('test.jpg')
imgplot = plt.imshow(img)
plt.show() | 26.4 | 32 | 0.772727 | 21 | 132 | 4.857143 | 0.666667 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 5 | 33 | 26.4 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
83b3844b6eccbaedd42dbb8e246fc53ee07700ee | 1,065 | py | Python | src/octopus/manufacturer/dummy.py | gar-syn/congo-lab | dc50af4e35903556bc8bc34dc23a7a708c1f5422 | [
"MIT"
] | 1 | 2021-02-02T11:27:25.000Z | 2021-02-02T11:27:25.000Z | src/octopus/manufacturer/dummy.py | gar-syn/congo-lab | dc50af4e35903556bc8bc34dc23a7a708c1f5422 | [
"MIT"
] | 18 | 2021-02-01T11:35:15.000Z | 2021-08-03T14:23:38.000Z | src/octopus/manufacturer/dummy.py | gar-syn/congo-lab | dc50af4e35903556bc8bc34dc23a7a708c1f5422 | [
"MIT"
] | null | null | null | # Twisted Imports
from twisted.internet import defer
from twisted.internet.protocol import Factory
# Package Imports
from ..util import now
from ..machine import Machine, Component, Stream, Property
from ..protocol.basic import QueuedLineReceiver as _qlr
__all__ = ["Dummy"]
class QueuedLineReceiver (_qlr):
del... | 21.3 | 66 | 0.652582 | 131 | 1,065 | 5.244275 | 0.480916 | 0.043668 | 0.048035 | 0.049491 | 0.09607 | 0.09607 | 0.09607 | 0 | 0 | 0 | 0 | 0 | 0.251643 | 1,065 | 49 | 67 | 21.734694 | 0.861982 | 0.151174 | 0 | 0.115385 | 0 | 0 | 0.029988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0.115385 | 0.192308 | 0.115385 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
83c587dc941ffc7a81ff94cdb619ba896d8c756b | 259 | py | Python | document/apps.py | Zarah-Project/zarah-db-api | cce4d0424e5b3121ab2129819cf0cc956fca5267 | [
"MIT"
] | null | null | null | document/apps.py | Zarah-Project/zarah-db-api | cce4d0424e5b3121ab2129819cf0cc956fca5267 | [
"MIT"
] | 4 | 2021-04-08T22:00:18.000Z | 2022-02-10T15:09:45.000Z | document/apps.py | Zarah-Project/zarah-db-api | cce4d0424e5b3121ab2129819cf0cc956fca5267 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DocumentAppConfig(AppConfig):
name = 'document'
def ready(self):
super(DocumentAppConfig, self).ready()
from document.signals import do_index
from document.signals import remove_index
| 23.545455 | 49 | 0.714286 | 29 | 259 | 6.310345 | 0.586207 | 0.131148 | 0.20765 | 0.273224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 259 | 10 | 50 | 25.9 | 0.901478 | 0 | 0 | 0 | 0 | 0 | 0.030888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
83c9424b73ea87596d45e0d1f891648bda3829a2 | 35 | py | Python | thermo-env/lib/python3.5/_bootlocale.py | ndebuhr/thermoModelingAlpha | 9e1a0f9ac4caabf386c1e3103ec69f269131a6b9 | [
"MIT"
] | 4 | 2017-09-24T21:30:46.000Z | 2019-06-01T13:37:44.000Z | thermo-env/lib/python3.5/_bootlocale.py | ndebuhr/thermo-state-solver | 9e1a0f9ac4caabf386c1e3103ec69f269131a6b9 | [
"MIT"
] | 19 | 2020-01-28T21:41:50.000Z | 2022-03-11T23:17:39.000Z | thermo-env/lib/python3.5/_bootlocale.py | ndebuhr/thermo-state-solver | 9e1a0f9ac4caabf386c1e3103ec69f269131a6b9 | [
"MIT"
] | null | null | null | /usr/lib64/python3.5/_bootlocale.py | 35 | 35 | 0.828571 | 6 | 35 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 35 | 1 | 35 | 35 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83d34174f07fa0c91aa2bb63701bd5ea745adacb | 77 | py | Python | python/physical/elements.py | afrl-quantum/physical | 71de3f7895b9bc1a1e9969701ad6980c5676b294 | [
"MIT"
] | 1 | 2020-10-01T21:21:54.000Z | 2020-10-01T21:21:54.000Z | python/physical/elements.py | afrl-quantum/physical | 71de3f7895b9bc1a1e9969701ad6980c5676b294 | [
"MIT"
] | null | null | null | python/physical/elements.py | afrl-quantum/physical | 71de3f7895b9bc1a1e9969701ad6980c5676b294 | [
"MIT"
] | 2 | 2018-03-21T15:53:27.000Z | 2018-07-26T09:29:37.000Z | """
Just a dummy module to be overridden by the real element module.
"""
| 19.25 | 68 | 0.675325 | 12 | 77 | 4.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233766 | 77 | 3 | 69 | 25.666667 | 0.881356 | 0.831169 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83de08e1873f418853b7df798f9b162106cf24ae | 275 | py | Python | examples/graphsrv_example/application.py | 20c/graphsrv | e4a88a67d3ad5cc8aec0f2c674fb7a9be6860c9d | [
"Apache-2.0"
] | 5 | 2017-12-12T16:04:35.000Z | 2021-06-18T19:03:35.000Z | examples/graphsrv_example/application.py | 20c/graphsrv | e4a88a67d3ad5cc8aec0f2c674fb7a9be6860c9d | [
"Apache-2.0"
] | 37 | 2016-09-08T08:08:00.000Z | 2021-08-25T15:06:05.000Z | examples/graphsrv_example/application.py | 20c/graphsrv | e4a88a67d3ad5cc8aec0f2c674fb7a9be6860c9d | [
"Apache-2.0"
] | 1 | 2016-10-22T14:45:17.000Z | 2016-10-22T14:45:17.000Z | import vodka
import vodka.app
# make sure the plugin is available
import graphsrv_example.plugins.test_plot
# we dont do anything with the applet other than to make sure it exists
@vodka.app.register("graphsrv_example")
class MyApplication(vodka.app.Application):
pass
| 25 | 71 | 0.8 | 42 | 275 | 5.166667 | 0.714286 | 0.110599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138182 | 275 | 10 | 72 | 27.5 | 0.915612 | 0.374545 | 0 | 0 | 0 | 0 | 0.094675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.