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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
664d055bbc54152c0e66516d6775104ba9b5e05d | 191 | py | Python | problemsets/Timus/1910.py | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Timus/1910.py | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Timus/1910.py | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | """
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
"""
a=[*map(int,[*open(0)][1].split())]
print(*max((sum(x),i+2) for i,x in enumerate(zip(a,a[1:],a[2:])))) | 23.875 | 66 | 0.581152 | 33 | 191 | 3.363636 | 0.727273 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029586 | 0.115183 | 191 | 8 | 66 | 23.875 | 0.627219 | 0.39267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b09caab4ca866a927d417abc0026b2b73a052dbb | 1,466 | py | Python | cplxmodule/cplxmodule/nn/modules/pooling.py | veya2ztn/mltool | 4ed151152845ebe3de128e1f53c478581c1492e4 | [
"IJG"
] | null | null | null | cplxmodule/cplxmodule/nn/modules/pooling.py | veya2ztn/mltool | 4ed151152845ebe3de128e1f53c478581c1492e4 | [
"IJG"
] | null | null | null | cplxmodule/cplxmodule/nn/modules/pooling.py | veya2ztn/mltool | 4ed151152845ebe3de128e1f53c478581c1492e4 | [
"IJG"
] | null | null | null | import math
import torch
from torch.nn.modules.utils import _single, _pair, _triple
from .base import CplxToCplx
from ... import Cplx
class RealImagePool:
def forward(self,input):
return Cplx(self.engineer(input.real), self.engineer(input.imag))
class ComplexAdaptiveAvgPool1d(RealImagePool,C... | 34.904762 | 74 | 0.706685 | 156 | 1,466 | 6.237179 | 0.262821 | 0.098664 | 0.160329 | 0.184995 | 0.47482 | 0.47482 | 0.47482 | 0.47482 | 0.47482 | 0.47482 | 0 | 0.009909 | 0.173943 | 1,466 | 41 | 75 | 35.756098 | 0.793559 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.15625 | 0.03125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b09eb30bcf5ac74a29278784a3b8b143d29cd354 | 1,652 | py | Python | test/test_repo_creds_service_api.py | RyanSiu1995/argocd-python-client | 2e8f097fe09f247a46ac70692241a93d1acd076a | [
"MIT"
] | 1 | 2021-11-20T13:37:43.000Z | 2021-11-20T13:37:43.000Z | test/test_repo_creds_service_api.py | RyanSiu1995/argocd-python-client | 2e8f097fe09f247a46ac70692241a93d1acd076a | [
"MIT"
] | null | null | null | test/test_repo_creds_service_api.py | RyanSiu1995/argocd-python-client | 2e8f097fe09f247a46ac70692241a93d1acd076a | [
"MIT"
] | null | null | null | """
Consolidate Services
Description of all APIs # noqa: E501
The version of the OpenAPI document: version not set
Generated by: https://openapi-generator.tech
"""
import unittest
import argocd_python_client
from argocd_python_client.api.repo_creds_service_api import RepoCredsServiceApi # noqa: E... | 28.982456 | 108 | 0.73184 | 183 | 1,652 | 6.284153 | 0.360656 | 0.070435 | 0.125217 | 0.052174 | 0.457391 | 0.457391 | 0.272174 | 0.272174 | 0.18087 | 0 | 0 | 0.016129 | 0.211864 | 1,652 | 56 | 109 | 29.5 | 0.867128 | 0.501816 | 0 | 0.277778 | 1 | 0 | 0.011348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.277778 | 0.166667 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b09ee2c09ffc0bb1068dae324cdebede7df71915 | 2,701 | py | Python | materials/create_checkerboard.py | FilipHesse/projector_calibration | 4f064dd7b3c2d8b673804855c936c999c3f20877 | [
"MIT"
] | null | null | null | materials/create_checkerboard.py | FilipHesse/projector_calibration | 4f064dd7b3c2d8b673804855c936c999c3f20877 | [
"MIT"
] | 3 | 2021-01-03T20:18:58.000Z | 2021-01-03T20:20:06.000Z | materials/create_checkerboard.py | FilipHesse/projector_calibration | 4f064dd7b3c2d8b673804855c936c999c3f20877 | [
"MIT"
] | null | null | null | import svgwrite
dwg = svgwrite.Drawing('checkerboard_A4.svg')
beginA4x=100
beginA4y=20
frame_width = 30
beginA4x=60
beginA4y=frame_width
A4x=297
A4y=210
outer_rect=20
rows = 4
columns = 5
# draw a white box
height = (rows)*A4y+2*outer_rect+2*frame_width
width = (columns)*A4x+2*outer_rect+2*frame_width
dwg.add(d... | 34.628205 | 157 | 0.502036 | 398 | 2,701 | 3.329146 | 0.145729 | 0.101887 | 0.099623 | 0.116226 | 0.742642 | 0.742642 | 0.700377 | 0.696604 | 0.695094 | 0.695094 | 0 | 0.061192 | 0.292114 | 2,701 | 77 | 158 | 35.077922 | 0.631799 | 0.017031 | 0 | 0.192982 | 0 | 0 | 0.056205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.017544 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0baad5a4b7027343bd51a866818c528adc57a4d | 1,942 | py | Python | cheritest/trunk/tests/cp0/test_raw_mfc0_dmfc0.py | tupipa/beri | cef1b41d52592cfa7454ddf59f9f2994e447cd66 | [
"Apache-2.0"
] | 36 | 2015-05-29T16:47:19.000Z | 2022-02-08T21:16:26.000Z | cheritest/trunk/tests/cp0/test_raw_mfc0_dmfc0.py | tupipa/beri | cef1b41d52592cfa7454ddf59f9f2994e447cd66 | [
"Apache-2.0"
] | 2 | 2020-06-02T13:44:55.000Z | 2020-06-02T14:06:29.000Z | cheritest/trunk/tests/cp0/test_raw_mfc0_dmfc0.py | tupipa/beri | cef1b41d52592cfa7454ddf59f9f2994e447cd66 | [
"Apache-2.0"
] | 15 | 2015-06-11T07:10:58.000Z | 2021-06-18T05:14:54.000Z | #-
# Copyright (c) 2011 William M. Morland
# All rights reserved.
#
# This software was developed by SRI International and the University of
# Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
# ("CTSRD"), as part of the DARPA CRASH research programme.
#
# @BERI_LICENSE_HEADER_START@
#
# Licensed... | 47.365854 | 208 | 0.756952 | 284 | 1,942 | 5.116197 | 0.514085 | 0.041294 | 0.055747 | 0.064006 | 0.045423 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045538 | 0.163234 | 1,942 | 40 | 209 | 48.55 | 0.848615 | 0.583419 | 0 | 0 | 0 | 0 | 0.318766 | 0 | 0 | 0 | 0.048843 | 0 | 0.444444 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b0c0b92b3702c719525e7c72819e5d76e899212e | 469 | py | Python | Models/retrobiocat_query_payload.py | willfinnigan/bch_RetroBioHub | 3cc4dd486b61d20ace5ddda4a4cdcd6e1795f5fb | [
"MIT"
] | null | null | null | Models/retrobiocat_query_payload.py | willfinnigan/bch_RetroBioHub | 3cc4dd486b61d20ace5ddda4a4cdcd6e1795f5fb | [
"MIT"
] | 16 | 2021-12-09T16:10:17.000Z | 2022-02-11T18:26:28.000Z | Models/retrobiocat_query_payload.py | willfinnigan/bch_RetroBioHub | 3cc4dd486b61d20ace5ddda4a4cdcd6e1795f5fb | [
"MIT"
] | 3 | 2022-01-28T12:29:45.000Z | 2022-02-04T09:19:41.000Z | from marshmallow import Schema
from flask_restx import Model, fields
class PayloadRetrobiocat:
''' '''
def define_reaction(self):
reaction = {
"reaction":fields.String,
"enzyme":fields.String,
"products":fields.List(fields.List(fields.String)),
"cofactor... | 27.588235 | 65 | 0.61194 | 46 | 469 | 6.195652 | 0.456522 | 0.210526 | 0.336842 | 0.210526 | 0.336842 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266525 | 469 | 17 | 66 | 27.588235 | 0.828488 | 0 | 0 | 0 | 0 | 0 | 0.088553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0c2cd5b710d09427d11c9eddfbe575010fd4dca | 172 | py | Python | src/ecuacionesNoLineales/apps.py | MendozaEmerson/AriMath | 97e75db6d3508d78d103eda07afbbfeb525958a9 | [
"Apache-2.0"
] | null | null | null | src/ecuacionesNoLineales/apps.py | MendozaEmerson/AriMath | 97e75db6d3508d78d103eda07afbbfeb525958a9 | [
"Apache-2.0"
] | 2 | 2021-12-22T21:32:08.000Z | 2021-12-22T21:32:09.000Z | src/ecuacionesNoLineales/apps.py | MendozaEmerson/AriMath | 97e75db6d3508d78d103eda07afbbfeb525958a9 | [
"Apache-2.0"
] | 2 | 2021-12-02T20:35:45.000Z | 2021-12-05T19:03:24.000Z | from django.apps import AppConfig
class EcuacionesnolinealesConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'ecuacionesNoLineales'
| 24.571429 | 56 | 0.796512 | 17 | 172 | 7.941176 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 172 | 6 | 57 | 28.666667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.284884 | 0.168605 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b0cf6f71799d3709705276cbe1a126e37f40863f | 975 | py | Python | pythonexercicios/ex044.py | andrebatist4/cursoemvideo-python | a12b0023f01a38cc3fc5bb59aad5ad8a3e54f6d3 | [
"MIT"
] | null | null | null | pythonexercicios/ex044.py | andrebatist4/cursoemvideo-python | a12b0023f01a38cc3fc5bb59aad5ad8a3e54f6d3 | [
"MIT"
] | null | null | null | pythonexercicios/ex044.py | andrebatist4/cursoemvideo-python | a12b0023f01a38cc3fc5bb59aad5ad8a3e54f6d3 | [
"MIT"
] | null | null | null | preco = float(input('Digite o preço das compras: '))
print('digite: \n1 - pagamento à vista dinheiro/cheque.')
print('2 - pagamento à vista no cartão.')
print('3 - pagamento em até 2x no cartão.')
print('4 - pagamento em até 3 x ou mais no cartão.')
pag = int(input('Qual a forma de pagamento?(ex:1) '))
if pag == 1:
... | 48.75 | 103 | 0.638974 | 170 | 975 | 3.664706 | 0.358824 | 0.057785 | 0.088283 | 0.077047 | 0.497592 | 0.497592 | 0.343499 | 0.343499 | 0.253612 | 0.253612 | 0 | 0.03599 | 0.202051 | 975 | 19 | 104 | 51.315789 | 0.764781 | 0 | 0 | 0.111111 | 0 | 0.277778 | 0.705641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b0d0e261446a2a72beb76580abd66f891d402b25 | 377 | py | Python | examples/example_sensors.py | sermelo/Highcliff-SDK | 255dd12b3402361cba8b1ea7a28c506f32a11dae | [
"Apache-2.0"
] | null | null | null | examples/example_sensors.py | sermelo/Highcliff-SDK | 255dd12b3402361cba8b1ea7a28c506f32a11dae | [
"Apache-2.0"
] | null | null | null | examples/example_sensors.py | sermelo/Highcliff-SDK | 255dd12b3402361cba8b1ea7a28c506f32a11dae | [
"Apache-2.0"
] | null | null | null | import enum
import random
class TemperatureScale(enum):
CELSIUS = 1
FAHRENHEIT = 2
# simulates a sensor that returns a reading of the room temperature
def get_room_temperature(scale):
if scale == TemperatureScale.CELSIUS:
room_temperature = random.randint(32, 10)
else:
room_temperatu... | 20.944444 | 67 | 0.718833 | 47 | 377 | 5.659574 | 0.638298 | 0.281955 | 0.157895 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.217507 | 377 | 17 | 68 | 22.176471 | 0.867797 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b0dc0c48d548473b301d0b1b40bbcaef5ea49290 | 45 | py | Python | dtguess/__init__.py | ownport/date-type-guess | ea3250020bf071bcd695f8c373805f8816dc365f | [
"MIT"
] | 2 | 2017-09-16T03:18:01.000Z | 2018-05-24T03:40:30.000Z | dtguess/__init__.py | ownport/date-type-guess | ea3250020bf071bcd695f8c373805f8816dc365f | [
"MIT"
] | null | null | null | dtguess/__init__.py | ownport/date-type-guess | ea3250020bf071bcd695f8c373805f8816dc365f | [
"MIT"
] | null | null | null |
__title__ = 'dtguess'
__version__ = "0.1.3"
| 11.25 | 21 | 0.666667 | 6 | 45 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.155556 | 45 | 3 | 22 | 15 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0e3b8f327063c94d55b7eedb3e1ebb9df4142f4 | 47 | py | Python | mock_data/db.py | shanesaravia/blackcart-api | de4a0ea8cef0a602f4c00a933ac791fa688a0f71 | [
"MIT"
] | null | null | null | mock_data/db.py | shanesaravia/blackcart-api | de4a0ea8cef0a602f4c00a933ac791fa688a0f71 | [
"MIT"
] | null | null | null | mock_data/db.py | shanesaravia/blackcart-api | de4a0ea8cef0a602f4c00a933ac791fa688a0f71 | [
"MIT"
] | null | null | null | db = {
1: 'shopify',
2: 'woocommerce'
} | 11.75 | 20 | 0.468085 | 5 | 47 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.319149 | 47 | 4 | 21 | 11.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c082f3866baecb7c1e95000f1da0101ecb8a26c | 13,511 | py | Python | octopus_deploy_swagger_client/models/action_template_usage_resource.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/models/action_template_usage_resource.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/models/action_template_usage_resource.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api... | 29.759912 | 290 | 0.627341 | 1,535 | 13,511 | 5.282736 | 0.090554 | 0.041435 | 0.227895 | 0.191639 | 0.611666 | 0.499938 | 0.445801 | 0.333703 | 0.249846 | 0.105685 | 0 | 0.018734 | 0.288876 | 13,511 | 453 | 291 | 29.825607 | 0.82525 | 0.386426 | 0 | 0.081218 | 1 | 0 | 0.074402 | 0.005907 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172589 | false | 0 | 0.015228 | 0 | 0.304569 | 0.010152 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9fdd2143b2f935f338cf13793d912fd356e2f2a6 | 150 | py | Python | Exe8_quantidade_digitos_numero.py | lucaslk122/Exercicios-com-funcoes-python | e0dcd7c25c0ca2d2204172ec635f0f280f223e33 | [
"MIT"
] | null | null | null | Exe8_quantidade_digitos_numero.py | lucaslk122/Exercicios-com-funcoes-python | e0dcd7c25c0ca2d2204172ec635f0f280f223e33 | [
"MIT"
] | null | null | null | Exe8_quantidade_digitos_numero.py | lucaslk122/Exercicios-com-funcoes-python | e0dcd7c25c0ca2d2204172ec635f0f280f223e33 | [
"MIT"
] | null | null | null | def QtsDigitos(n):
txt = str(n)
return len(txt)
n = int(input("Digite um numero: "))
print(f"O numero informado tem {QtsDigitos(n)} digitos") | 25 | 56 | 0.66 | 24 | 150 | 4.125 | 0.75 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 150 | 6 | 56 | 25 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.423841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b002efe0f21f88ad1e1e1b2d6c75eeab95da32b3 | 460 | py | Python | saywiti/common/models.py | erickgnavar/saywiti | ec3edc5fe722ee17699c0320ddb766a09147f66e | [
"MIT"
] | 2 | 2016-07-13T19:34:37.000Z | 2017-03-22T23:43:11.000Z | saywiti/common/models.py | erickgnavar/saywiti | ec3edc5fe722ee17699c0320ddb766a09147f66e | [
"MIT"
] | null | null | null | saywiti/common/models.py | erickgnavar/saywiti | ec3edc5fe722ee17699c0320ddb766a09147f66e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models
from django.utils import timezone
class TimeStampedModel(models.Model):
created = models.DateTimeField(editable=False)
modified = models.DateTimeField(editable=False)
class Meta:
abstract = True
def save(self, *args, **kwargs):
if... | 24.210526 | 51 | 0.645652 | 53 | 460 | 5.603774 | 0.603774 | 0.06734 | 0.181818 | 0.215488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002833 | 0.232609 | 460 | 18 | 52 | 25.555556 | 0.838527 | 0.045652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b01c067f7ad84c72a0f530729657adf6dc60e5ad | 120 | py | Python | mnist/input.py | 56022217/what-digit-you-write | 98fbcc4851027b476d2bfdfb6bfd1c20ef2b1214 | [
"WTFPL"
] | null | null | null | mnist/input.py | 56022217/what-digit-you-write | 98fbcc4851027b476d2bfdfb6bfd1c20ef2b1214 | [
"WTFPL"
] | null | null | null | mnist/input.py | 56022217/what-digit-you-write | 98fbcc4851027b476d2bfdfb6bfd1c20ef2b1214 | [
"WTFPL"
] | null | null | null | from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets('datasets', one_hot=True)
| 30 | 59 | 0.833333 | 18 | 120 | 5.277778 | 0.777778 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 120 | 3 | 60 | 40 | 0.855856 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b0328af75b890594c3c5f1f7124306e63603f69e | 109 | py | Python | qlcoder/other/scheme_study/python-codes/functional.py | CheYulin/OJCodes | 5fc1c3e86f31dd687a4e3110ee06a290c22396c5 | [
"MIT"
] | 1 | 2017-05-25T19:41:47.000Z | 2017-05-25T19:41:47.000Z | qlcoder/other/scheme_study/python-codes/functional.py | CheYulin/OJCodes | 5fc1c3e86f31dd687a4e3110ee06a290c22396c5 | [
"MIT"
] | null | null | null | qlcoder/other/scheme_study/python-codes/functional.py | CheYulin/OJCodes | 5fc1c3e86f31dd687a4e3110ee06a290c22396c5 | [
"MIT"
] | null | null | null | if __name__ == '__main__':
my_arr = [None] * 7654321
for i in range(0, 7654321):
my_arr[i]=i
| 21.8 | 31 | 0.568807 | 17 | 109 | 3.058824 | 0.705882 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0.284404 | 109 | 4 | 32 | 27.25 | 0.474359 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b03ef518a632d21b4b37b8c2f65ffab5baf27539 | 422 | py | Python | analysis/lib/geometry/io.py | astutespruce/sarp | 7ce503380440c47b762ed1a8efd1d3e3aab6605e | [
"MIT"
] | 5 | 2020-07-10T16:13:26.000Z | 2022-03-02T05:06:30.000Z | analysis/lib/geometry/io.py | astutespruce/sarp | 7ce503380440c47b762ed1a8efd1d3e3aab6605e | [
"MIT"
] | 23 | 2019-06-02T14:37:53.000Z | 2019-10-23T17:59:40.000Z | analysis/lib/geometry/io.py | astutespruce/sarp | 7ce503380440c47b762ed1a8efd1d3e3aab6605e | [
"MIT"
] | 2 | 2020-05-27T23:28:36.000Z | 2020-12-14T22:10:24.000Z | import geopandas as gp
from pyogrio import write_dataframe
def write_geoms(geometries, path, crs=None):
"""Convenience function to write an ndarray of pygeos geometries to a file
Parameters
----------
geometries : ndarray of pygeos geometries
path : str
crs : CRS object, optional (default: No... | 26.375 | 78 | 0.687204 | 53 | 422 | 5.415094 | 0.584906 | 0.097561 | 0.10453 | 0.174216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2109 | 422 | 15 | 79 | 28.133333 | 0.861862 | 0.450237 | 0 | 0 | 0 | 0 | 0.039801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b0434ec99a6bd733d97c55702c1ad8b8721fc397 | 237 | py | Python | colorama/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | colorama/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | colorama/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | from colorama import Fore, Back, Style
print(Fore.RED + 'some red text')
print(Back.GREEN + 'and with a green background')
print(Style.DIM + 'and in dim text')
print(Fore.RESET + Back.RESET + Style.RESET_ALL)
print('back to normal now')
| 33.857143 | 49 | 0.729958 | 40 | 237 | 4.3 | 0.55 | 0.104651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 237 | 6 | 50 | 39.5 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0.308017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.833333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b06f5bcef98778538ef6acaf0308604a14115ff6 | 24 | py | Python | polycircles/test/__init__.py | tech-tendai/polycircles | fc6e4839122502243d885d9011a56f4f6346050f | [
"MIT"
] | 9 | 2016-07-04T08:57:57.000Z | 2021-04-30T16:02:12.000Z | polycircles/test/__init__.py | tech-tendai/polycircles | fc6e4839122502243d885d9011a56f4f6346050f | [
"MIT"
] | 11 | 2016-06-30T19:36:24.000Z | 2021-12-04T21:20:23.000Z | polycircles/test/__init__.py | tech-tendai/polycircles | fc6e4839122502243d885d9011a56f4f6346050f | [
"MIT"
] | 7 | 2015-11-15T02:38:38.000Z | 2021-12-04T09:16:49.000Z | __author__ = 'adamatan'
| 12 | 23 | 0.75 | 2 | 24 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c66367210bec26f6ab4a534f391862d241c3b680 | 151 | py | Python | cursopython/pythonteste/aula16d.py | AtilaCosta87/Python | b4eea7885d16df80feecc4c699a8348ca13a80c2 | [
"MIT"
] | null | null | null | cursopython/pythonteste/aula16d.py | AtilaCosta87/Python | b4eea7885d16df80feecc4c699a8348ca13a80c2 | [
"MIT"
] | null | null | null | cursopython/pythonteste/aula16d.py | AtilaCosta87/Python | b4eea7885d16df80feecc4c699a8348ca13a80c2 | [
"MIT"
] | null | null | null | pessoa = ('Átila', 32, 'M', 74.00)
# del(pessoa) -> posso deletar a tupla inteira
# del(pessoa[0]) -> não posso deletar um item da tupla
print(pessoa)
| 30.2 | 54 | 0.668874 | 25 | 151 | 4.04 | 0.72 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.165563 | 151 | 4 | 55 | 37.75 | 0.746032 | 0.642384 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
c68a6f312533ea86a3e374539b99d2375563a195 | 124 | py | Python | TSHOOT/TSHOOT#4/powersof2.py | mkseth4774/ine-guide-to-network-programmability-python-course-files | 35c49dfcf8e8f1b69435987a00fb9a236b803d9f | [
"MIT"
] | null | null | null | TSHOOT/TSHOOT#4/powersof2.py | mkseth4774/ine-guide-to-network-programmability-python-course-files | 35c49dfcf8e8f1b69435987a00fb9a236b803d9f | [
"MIT"
] | null | null | null | TSHOOT/TSHOOT#4/powersof2.py | mkseth4774/ine-guide-to-network-programmability-python-course-files | 35c49dfcf8e8f1b69435987a00fb9a236b803d9f | [
"MIT"
] | null | null | null | ##
##
pow = 1
for exp in range(9)
print("2 raised to the power of, exp, "is:", exp)
pow += 2:
##
## End of file...
| 12.4 | 53 | 0.508065 | 22 | 124 | 2.863636 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0.282258 | 124 | 9 | 54 | 13.777778 | 0.662921 | 0.112903 | 0 | 0 | 0 | 0 | 0.306931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c693d3386d3af1037ae82726df1d46d9c7dd630a | 188 | py | Python | config.py | Hudie/cryptoquant | 611efbc21e654d4c99fc875bf25d45e31aa53054 | [
"BSD-2-Clause"
] | 5 | 2020-08-10T07:38:15.000Z | 2021-11-06T04:33:09.000Z | config.py | Hudie/cryptoquant | 611efbc21e654d4c99fc875bf25d45e31aa53054 | [
"BSD-2-Clause"
] | null | null | null | config.py | Hudie/cryptoquant | 611efbc21e654d4c99fc875bf25d45e31aa53054 | [
"BSD-2-Clause"
] | 3 | 2020-08-03T14:45:41.000Z | 2021-02-03T23:57:34.000Z | DERIBIT_API_WEBSOCKET = 'wss://www.deribit.com/ws/api/v2'
DERIBIT_ACCOUNT_ID = 'your_account_id'
DERIBIT_CLIENT_ID = ''
DERIBIT_CLIENT_SECRET = ''
SYMBOL = 'BTC'
MINIMUM_TICK_SIZE = 0.5
| 20.888889 | 57 | 0.760638 | 29 | 188 | 4.517241 | 0.689655 | 0.137405 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.106383 | 188 | 8 | 58 | 23.5 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.260638 | 0.164894 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
c6987a5a9d320cc5daa45ba2bc52f28692b35f70 | 1,158 | py | Python | flow_py_sdk/cadence/address.py | nichandy/flow-py-sdk | 716c1690f38eeb78f479d1cf860b974cc6a53b04 | [
"MIT"
] | 21 | 2020-11-25T16:30:53.000Z | 2022-03-08T06:24:02.000Z | flow_py_sdk/cadence/address.py | nichandy/flow-py-sdk | 716c1690f38eeb78f479d1cf860b974cc6a53b04 | [
"MIT"
] | 29 | 2021-03-06T19:04:33.000Z | 2022-03-18T15:16:44.000Z | flow_py_sdk/cadence/address.py | nichandy/flow-py-sdk | 716c1690f38eeb78f479d1cf860b974cc6a53b04 | [
"MIT"
] | 15 | 2021-03-06T18:36:40.000Z | 2022-02-09T15:14:01.000Z | from flow_py_sdk.cadence.value import Value
import flow_py_sdk.cadence.constants as c
class Address(Value):
address_length = 8
address_prefix = "0x"
def __init__(self, value: bytes) -> None:
super().__init__()
if len(value) > Address.address_length:
raise Exception() # TODO
... | 26.318182 | 81 | 0.617444 | 142 | 1,158 | 4.809859 | 0.302817 | 0.081991 | 0.057101 | 0.046852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0047 | 0.265112 | 1,158 | 43 | 82 | 26.930233 | 0.797885 | 0.007772 | 0 | 0.15625 | 0 | 0 | 0.015707 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.1875 | 0.625 | 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 | 0 | 0 | 0 | 3 |
c6a19314ee0dda319dcb1404d48d3307f6f91715 | 274 | py | Python | app/api/models/auth.py | hollyfoxx/ace2-ams-api | 08ecf3f3dc8ac9abd224465731458950d4f78b7d | [
"Apache-2.0"
] | null | null | null | app/api/models/auth.py | hollyfoxx/ace2-ams-api | 08ecf3f3dc8ac9abd224465731458950d4f78b7d | [
"Apache-2.0"
] | null | null | null | app/api/models/auth.py | hollyfoxx/ace2-ams-api | 08ecf3f3dc8ac9abd224465731458950d4f78b7d | [
"Apache-2.0"
] | null | null | null | from pydantic import BaseModel
from typing import Optional
from api.models import type_str
class Auth(BaseModel):
"""Represents the response to successful authentication."""
access_token: type_str
refresh_token: Optional[type_str]
token_type: type_str
| 18.266667 | 63 | 0.766423 | 36 | 274 | 5.638889 | 0.583333 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175182 | 274 | 14 | 64 | 19.571429 | 0.89823 | 0.193431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c6b9241d490e8a01df5e8e926c9d283388de0cc1 | 15,892 | py | Python | pyconnman/service.py | eemitev/pyconnman | 83be8a610df080fab0a3403b6c284dd042716116 | [
"Apache-2.0"
] | 9 | 2015-01-25T02:21:21.000Z | 2022-01-09T19:24:12.000Z | pyconnman/service.py | eemitev/pyconnman | 83be8a610df080fab0a3403b6c284dd042716116 | [
"Apache-2.0"
] | 8 | 2016-03-21T20:56:11.000Z | 2021-12-29T12:27:25.000Z | pyconnman/service.py | eemitev/pyconnman | 83be8a610df080fab0a3403b6c284dd042716116 | [
"Apache-2.0"
] | 12 | 2015-07-27T09:52:14.000Z | 2022-01-09T19:23:36.000Z | from __future__ import unicode_literals
from .interface import ConnInterface
class ConnService(ConnInterface):
"""
Wrapper around dbus to encapsulate the net.connman.Service interface
which notionally is used to manage network services and their
connections.
:param str obj_path:
Object p... | 31.720559 | 74 | 0.634407 | 1,917 | 15,892 | 5.241002 | 0.225874 | 0.04041 | 0.021997 | 0.015328 | 0.307554 | 0.293919 | 0.258087 | 0.246342 | 0.211108 | 0.17866 | 0 | 0.004954 | 0.301347 | 15,892 | 500 | 75 | 31.784 | 0.899937 | 0.847345 | 0 | 0 | 0 | 0 | 0.022919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.421053 | false | 0 | 0.105263 | 0 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c6dd77f05b46cea2712c0920e55ec1bb8d0cb863 | 297 | py | Python | abiflows/fireworks/utils/tests/tasks.py | gmatteo/abiflows | bde67408b024c34c17d78c9fcc672b42be71e1e5 | [
"BSD-3-Clause"
] | 4 | 2018-12-13T09:12:17.000Z | 2019-06-14T15:16:08.000Z | abiflows/fireworks/utils/tests/tasks.py | gmatteo/abiflows | bde67408b024c34c17d78c9fcc672b42be71e1e5 | [
"BSD-3-Clause"
] | 3 | 2018-01-03T17:08:22.000Z | 2018-08-23T22:29:41.000Z | abiflows/fireworks/utils/tests/tasks.py | abinit/abiflows | bde67408b024c34c17d78c9fcc672b42be71e1e5 | [
"BSD-3-Clause"
] | 13 | 2017-07-22T01:05:20.000Z | 2021-06-08T10:57:53.000Z | # coding: utf-8
from fireworks import explicit_serialize, FiretaskBase
from abiflows.fireworks.utils.fw_utils import get_lp_and_fw_id_from_task
@explicit_serialize
class LpTask(FiretaskBase):
def run_task(self, fw_spec):
lp, fw_id = get_lp_and_fw_id_from_task(self, fw_spec=fw_spec)
| 29.7 | 72 | 0.804714 | 49 | 297 | 4.469388 | 0.469388 | 0.054795 | 0.073059 | 0.091324 | 0.182648 | 0.182648 | 0.182648 | 0 | 0 | 0 | 0 | 0.003846 | 0.124579 | 297 | 9 | 73 | 33 | 0.838462 | 0.043771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c6ede88ac824a714fe05165336271635d3b1b21f | 117 | py | Python | setup.py | yveyeh/csv-json-py | 3994a4350191aab264bc76ce76a9a5fab37abab7 | [
"Apache-2.0"
] | null | null | null | setup.py | yveyeh/csv-json-py | 3994a4350191aab264bc76ce76a9a5fab37abab7 | [
"Apache-2.0"
] | 1 | 2021-11-19T21:02:37.000Z | 2021-11-19T21:02:37.000Z | setup.py | yveyeh/csv-json-py | 3994a4350191aab264bc76ce76a9a5fab37abab7 | [
"Apache-2.0"
] | null | null | null | "This module of the csv-json-py package contains its setup parameters."
from setuptools import setup
setup(
#
)
| 16.714286 | 71 | 0.74359 | 17 | 117 | 5.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188034 | 117 | 6 | 72 | 19.5 | 0.915789 | 0.589744 | 0 | 0 | 0 | 0 | 0.594828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c6eef704fcc1db87e164214b87f52502ae0128a4 | 4,699 | py | Python | test/test_users_guide.py | frederic-loui/tenjin | 13fccc464f882133d11219f7660d8eac3c524ae6 | [
"MIT"
] | null | null | null | test/test_users_guide.py | frederic-loui/tenjin | 13fccc464f882133d11219f7660d8eac3c524ae6 | [
"MIT"
] | null | null | null | test/test_users_guide.py | frederic-loui/tenjin | 13fccc464f882133d11219f7660d8eac3c524ae6 | [
"MIT"
] | null | null | null |
###
### auto generated by ../doc/Kookbook.py
###
import sys, os, re
from glob import glob
from oktest import ok, run
python3 = sys.version_info[0] == 3
PYPY = hasattr(sys, 'pypy_version_info')
JYTHON = hasattr(sys, 'JYTHON_JAR')
try: # Python 2.6 or later
from subprocess import Popen, PIPE
def _popen... | 26.105556 | 92 | 0.508406 | 542 | 4,699 | 4.186347 | 0.276753 | 0.092552 | 0.153372 | 0.185104 | 0.301454 | 0.07933 | 0.02468 | 0.02468 | 0.02468 | 0 | 0 | 0.017898 | 0.346031 | 4,699 | 179 | 93 | 26.251397 | 0.720469 | 0.022771 | 0 | 0.259259 | 1 | 0 | 0.100022 | 0.009391 | 0 | 0 | 0 | 0 | 0 | 1 | 0.251852 | false | 0 | 0.044444 | 0.007407 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
05a85bffabdd1708c121e32de1c668aebe127a60 | 69 | py | Python | chartrest/default_settings.py | vocky/chartrest | 352a36f9ad9a44f7e57f5a4d32629ed8a2bb1aa0 | [
"MIT"
] | null | null | null | chartrest/default_settings.py | vocky/chartrest | 352a36f9ad9a44f7e57f5a4d32629ed8a2bb1aa0 | [
"MIT"
] | null | null | null | chartrest/default_settings.py | vocky/chartrest | 352a36f9ad9a44f7e57f5a4d32629ed8a2bb1aa0 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
App instance specific settings
""" | 13.8 | 34 | 0.565217 | 7 | 69 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.217391 | 69 | 5 | 35 | 13.8 | 0.703704 | 0.797101 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
05c2fa516a39982433b28ddae31bc73f33f1f2f4 | 198 | py | Python | data.py | winkxx/telegram-recorder | ecee21cfcaab96c264b202e63972fc8069a841f5 | [
"MIT"
] | null | null | null | data.py | winkxx/telegram-recorder | ecee21cfcaab96c264b202e63972fc8069a841f5 | [
"MIT"
] | null | null | null | data.py | winkxx/telegram-recorder | ecee21cfcaab96c264b202e63972fc8069a841f5 | [
"MIT"
] | null | null | null | api_id = 2948911 # API ID
api_hash = 'd694de0c87f7bee3ecc57da8d0eda7ea'
listened_groups_id = [
1306294464,1126205241,1448826693,1328088425
]
listened_persons_id = []
fwd_channel = [
1331789615
]
| 15.230769 | 45 | 0.787879 | 21 | 198 | 7.095238 | 0.714286 | 0.067114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.404624 | 0.126263 | 198 | 12 | 46 | 16.5 | 0.456647 | 0.030303 | 0 | 0 | 0 | 0 | 0.168421 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
05eaf06df14368a782dbaa9ca2c1bc4f56734563 | 2,737 | py | Python | pclib/rtl/regs.py | belang/pymtl | 4a96738724b007cbd684753aed0ac3de5b5dbebb | [
"BSD-3-Clause"
] | 206 | 2015-01-05T21:53:56.000Z | 2022-03-14T08:04:49.000Z | pclib/rtl/regs.py | belang/pymtl | 4a96738724b007cbd684753aed0ac3de5b5dbebb | [
"BSD-3-Clause"
] | 84 | 2015-01-25T19:57:33.000Z | 2021-05-11T15:46:56.000Z | pclib/rtl/regs.py | belang/pymtl | 4a96738724b007cbd684753aed0ac3de5b5dbebb | [
"BSD-3-Clause"
] | 99 | 2015-02-17T17:43:44.000Z | 2022-02-14T17:58:18.000Z | #=======================================================================
# regs.py
#=======================================================================
from pymtl import *
#-----------------------------------------------------------------------
# Reg
#--------------------------------------------------------------... | 26.833333 | 74 | 0.388381 | 286 | 2,737 | 3.552448 | 0.199301 | 0.070866 | 0.047244 | 0.051181 | 0.720472 | 0.674213 | 0.674213 | 0.646654 | 0.646654 | 0.596457 | 0 | 0.005928 | 0.198758 | 2,737 | 101 | 75 | 27.09901 | 0.457364 | 0.492145 | 0 | 0.826087 | 0 | 0 | 0.029963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.021739 | 0.086957 | 0.456522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
af255319e073c127b3b73b0b8aebf4d36e5c0b8f | 566 | py | Python | recruitme/applicant/models.py | abhi-dhanraj/recruitme | 0aceb2870de789a4e8dbe4635ccd87e0ec6ffa14 | [
"Apache-2.0"
] | 3 | 2021-11-09T22:00:45.000Z | 2022-01-06T16:54:10.000Z | recruitme/applicant/models.py | abhi-dhanraj/recruitme | 0aceb2870de789a4e8dbe4635ccd87e0ec6ffa14 | [
"Apache-2.0"
] | 4 | 2021-11-19T19:34:00.000Z | 2021-11-21T11:54:31.000Z | recruitme/applicant/models.py | abhi-dhanraj/recruitme | 0aceb2870de789a4e8dbe4635ccd87e0ec6ffa14 | [
"Apache-2.0"
] | null | null | null | from django.db import models
class applicant(models.Model):
username = models.CharField(max_length=70)
first_name = models.CharField(max_length=70)
last_name = models.CharField(max_length=70)
phone_no = models.BigIntegerField()
emailID = models.EmailField(max_length=70)
nationality = models.Cha... | 31.444444 | 50 | 0.742049 | 70 | 566 | 5.814286 | 0.428571 | 0.154791 | 0.265356 | 0.353808 | 0.348894 | 0.22113 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.159011 | 566 | 17 | 51 | 33.294118 | 0.82563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
af3760f25aabc3138a3df680446c32f41591e0bf | 17,309 | py | Python | map_label_tool/py_proto/modules/map/tools/map_datachecker/proto/collection_service_pb2.py | freeclouds/OpenHDMap | b61c159fbdf4f50ae1d1650421596b28863f39be | [
"Apache-2.0"
] | null | null | null | map_label_tool/py_proto/modules/map/tools/map_datachecker/proto/collection_service_pb2.py | freeclouds/OpenHDMap | b61c159fbdf4f50ae1d1650421596b28863f39be | [
"Apache-2.0"
] | null | null | null | map_label_tool/py_proto/modules/map/tools/map_datachecker/proto/collection_service_pb2.py | freeclouds/OpenHDMap | b61c159fbdf4f50ae1d1650421596b28863f39be | [
"Apache-2.0"
] | 1 | 2021-05-26T08:42:11.000Z | 2021-05-26T08:42:11.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: modules/map/tools/map_datachecker/proto/collection_service.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _messa... | 69.236 | 796 | 0.82096 | 1,906 | 17,309 | 6.95383 | 0.106506 | 0.038026 | 0.073035 | 0.081108 | 0.717067 | 0.70922 | 0.659273 | 0.643051 | 0.637619 | 0.619964 | 0 | 0.010429 | 0.108152 | 17,309 | 249 | 797 | 69.514056 | 0.848157 | 0.079092 | 0 | 0.223464 | 1 | 0.005587 | 0.191217 | 0.134207 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106145 | false | 0.005587 | 0.072626 | 0 | 0.212291 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
af408df9007d16016e9852be221d9c62ea073e34 | 459 | py | Python | server/tests/core/models/test_project.py | bumfiness/bumf | 71c404c0a8f804b8f0e127df3de6d8916db4c660 | [
"Apache-2.0"
] | 6 | 2017-01-07T17:59:46.000Z | 2017-02-10T13:19:46.000Z | server/tests/core/models/test_project.py | rixx/bumf | 71c404c0a8f804b8f0e127df3de6d8916db4c660 | [
"Apache-2.0"
] | null | null | null | server/tests/core/models/test_project.py | rixx/bumf | 71c404c0a8f804b8f0e127df3de6d8916db4c660 | [
"Apache-2.0"
] | null | null | null | import pytest
from bumf.core.models import Project
@pytest.mark.django_db
def test_project_str_contains_name(user):
p = Project.objects.create(
user=user,
name='somename',
)
assert 'somename' in str(p)
assert str(user) in str(p)
@pytest.mark.django_db
def test_project_str_contains_p... | 19.956522 | 50 | 0.675381 | 71 | 459 | 4.183099 | 0.352113 | 0.06734 | 0.080808 | 0.121212 | 0.707071 | 0.707071 | 0.707071 | 0.707071 | 0.457912 | 0 | 0 | 0 | 0.217865 | 459 | 22 | 51 | 20.863636 | 0.827298 | 0 | 0 | 0.470588 | 0 | 0 | 0.034858 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 3 |
af43a4de6418ac0fc0b2a1e11f46be573398c85c | 539 | py | Python | appearance_fusion/util.py | erfanhamD/deep_surfels | d6197fb87fc923298d8bc385de7cbce5130d1ad4 | [
"BSD-3-Clause"
] | 48 | 2021-04-26T15:10:23.000Z | 2022-03-30T02:50:20.000Z | appearance_fusion/util.py | erfanhamD/deep_surfels | d6197fb87fc923298d8bc385de7cbce5130d1ad4 | [
"BSD-3-Clause"
] | 1 | 2021-07-21T06:45:24.000Z | 2021-07-21T06:45:24.000Z | appearance_fusion/util.py | erfanhamD/deep_surfels | d6197fb87fc923298d8bc385de7cbce5130d1ad4 | [
"BSD-3-Clause"
] | 6 | 2021-06-09T17:31:37.000Z | 2022-03-21T04:56:38.000Z | import torch
def normalize_image(img):
return 2 * (img.float() / 255.) - 1.0
def denormalize_image(img):
img = 255. * (img + 1.) / 2.
img = torch.round(img).to(dtype=torch.uint8)
return img
def count_parameters(model):
return sum(p.numel() for p in model.parameters() if p.requires_grad)
def ... | 22.458333 | 72 | 0.638219 | 92 | 539 | 3.608696 | 0.467391 | 0.063253 | 0.099398 | 0.054217 | 0.162651 | 0.162651 | 0.162651 | 0.162651 | 0.162651 | 0 | 0 | 0.049065 | 0.205937 | 539 | 23 | 73 | 23.434783 | 0.726636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
af44e3c6a61cd6b6b6ca40fd887cdf30a5ef8a50 | 1,351 | py | Python | office_space/office_space_app/migrations/0002_auto_20211123_0107.py | ajigeorge/OfficeSpaceApp | fe6f4fcb8903029d022c8de859ad77174b6e3610 | [
"Apache-2.0"
] | null | null | null | office_space/office_space_app/migrations/0002_auto_20211123_0107.py | ajigeorge/OfficeSpaceApp | fe6f4fcb8903029d022c8de859ad77174b6e3610 | [
"Apache-2.0"
] | null | null | null | office_space/office_space_app/migrations/0002_auto_20211123_0107.py | ajigeorge/OfficeSpaceApp | fe6f4fcb8903029d022c8de859ad77174b6e3610 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2 on 2021-11-23 01:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('office_space_app', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='building',
old_name='building... | 27.571429 | 118 | 0.544782 | 127 | 1,351 | 5.496063 | 0.377953 | 0.090258 | 0.223496 | 0.25788 | 0.531519 | 0.531519 | 0.484241 | 0.484241 | 0.484241 | 0 | 0 | 0.022371 | 0.338268 | 1,351 | 48 | 119 | 28.145833 | 0.758389 | 0.031828 | 0 | 0.571429 | 1 | 0 | 0.198315 | 0.01608 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
af4a7a0d2e44a92008c31c2a1ec64ff1afab72f3 | 17,765 | py | Python | annotation_backend/src/server/tests.py | INK-USC/LEAN-LIFE | e3d6debc3e4c41145ef1c03236c4cf57bfd8be7d | [
"MIT"
] | 21 | 2020-09-29T12:45:50.000Z | 2022-03-27T13:11:12.000Z | annotation_backend/src/server/tests.py | INK-USC/LEAN-LIFE | e3d6debc3e4c41145ef1c03236c4cf57bfd8be7d | [
"MIT"
] | 3 | 2020-12-03T10:34:54.000Z | 2021-03-29T09:01:05.000Z | annotation_backend/src/server/tests.py | INK-USC/LEAN-LIFE | e3d6debc3e4c41145ef1c03236c4cf57bfd8be7d | [
"MIT"
] | 3 | 2021-02-14T08:39:02.000Z | 2021-07-29T02:33:14.000Z | # DISCLAIMER, THESE ARE NOT UP TO DATE IN ANYWAY, JUST LEFT AS A REFERENCE ON HOW TO WRITE TESTS
from django.test import TestCase
from django.contrib.auth.models import User
from django.core.exceptions import FieldError
import server.models as m
class TaskTestCase(TestCase):
@classmethod
def setUpTestData(cls... | 55.86478 | 153 | 0.684942 | 2,234 | 17,765 | 5.222919 | 0.074306 | 0.08579 | 0.047309 | 0.05348 | 0.810336 | 0.742629 | 0.717004 | 0.67578 | 0.609102 | 0.566164 | 0 | 0.025207 | 0.20501 | 17,765 | 318 | 154 | 55.86478 | 0.800963 | 0.00743 | 0 | 0.425781 | 0 | 0 | 0.054166 | 0.001305 | 0 | 0 | 0 | 0 | 0.273438 | 1 | 0.109375 | false | 0.015625 | 0.015625 | 0 | 0.140625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
af6a964334339f0657226ae534a403dced69d374 | 339 | py | Python | src/api/similar_movie_finder/remove_similar_movie.py | Asa-Nisi-Masa/movie-recommender | 92752aa302e166885ab3e39b3e9d2ac9185a013e | [
"MIT"
] | null | null | null | src/api/similar_movie_finder/remove_similar_movie.py | Asa-Nisi-Masa/movie-recommender | 92752aa302e166885ab3e39b3e9d2ac9185a013e | [
"MIT"
] | null | null | null | src/api/similar_movie_finder/remove_similar_movie.py | Asa-Nisi-Masa/movie-recommender | 92752aa302e166885ab3e39b3e9d2ac9185a013e | [
"MIT"
] | null | null | null | from flask import redirect, url_for
from flask_restful import Resource
from src.services.similar_movie_recommender import similar_movie_recommender
class RemoveSimilarMovie(Resource):
def get(self, uuid_: str):
similar_movie_recommender.remove_added_user_movie(uuid_)
return redirect(url_for("sim... | 28.25 | 76 | 0.80531 | 42 | 339 | 6.166667 | 0.595238 | 0.138996 | 0.266409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135693 | 339 | 11 | 77 | 30.818182 | 0.883959 | 0 | 0 | 0 | 0 | 0 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
af8833bddda1f4cfabd40521016f3c10c919ecf5 | 132 | py | Python | WebMirror/management/rss_parser_funcs/feed_parse_extractJblacktranslationsWordpressCom.py | fake-name/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 193 | 2016-08-02T22:04:35.000Z | 2022-03-09T20:45:41.000Z | WebMirror/management/rss_parser_funcs/feed_parse_extractJblacktranslationsWordpressCom.py | fake-name/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 533 | 2016-08-23T20:48:23.000Z | 2022-03-28T15:55:13.000Z | WebMirror/management/rss_parser_funcs/feed_parse_extractJblacktranslationsWordpressCom.py | rrosajp/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 19 | 2015-08-13T18:01:08.000Z | 2021-07-12T17:13:09.000Z | def extractJblacktranslationsWordpressCom(item):
'''
DISABLED
Parser for 'jblacktranslations.wordpress.com'
'''
return None | 16.5 | 48 | 0.765152 | 11 | 132 | 9.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 132 | 8 | 49 | 16.5 | 0.885965 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
af9c24421481a2f9d4509c2fb0ba0c42f67886c6 | 336 | py | Python | DataShow/die.py | imtoby/LearnPythonRecord | 81cfb0940da8af23afa67796b61973cc6ead31f9 | [
"Apache-2.0"
] | null | null | null | DataShow/die.py | imtoby/LearnPythonRecord | 81cfb0940da8af23afa67796b61973cc6ead31f9 | [
"Apache-2.0"
] | null | null | null | DataShow/die.py | imtoby/LearnPythonRecord | 81cfb0940da8af23afa67796b61973cc6ead31f9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Created by: ZhaoDongshuang
# Created on: 18-2-5
from random import randint
class Die:
""" 表示一个骰子的类 """
def __init__(self, num_sides=6):
""" 骰子默认为 6 面 """
self.num_sides = num_sides
def roll(self):
"""" 返回一个位于 1 和骰子面数之间的随机值 """
return randint(1, s... | 18.666667 | 41 | 0.580357 | 44 | 336 | 4.25 | 0.681818 | 0.171123 | 0.192513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036885 | 0.27381 | 336 | 17 | 42 | 19.764706 | 0.729508 | 0.33631 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
afa175b634c7cceea807ae0f113be0d4192d29a9 | 498 | py | Python | pydojo/core/utils.py | rafaelhenrique/pydojo | eb6c9f2d46e77588402a0342e397e9c38b2e5148 | [
"MIT"
] | 2 | 2016-11-07T20:54:44.000Z | 2017-08-15T13:40:05.000Z | pydojo/core/utils.py | rafaelhenrique/pydojo | eb6c9f2d46e77588402a0342e397e9c38b2e5148 | [
"MIT"
] | 1 | 2016-06-04T15:26:57.000Z | 2016-06-04T15:26:57.000Z | pydojo/core/utils.py | rafaelhenrique/pydojo | eb6c9f2d46e77588402a0342e397e9c38b2e5148 | [
"MIT"
] | null | null | null | import string
import random
def id_generator(size=10, chars=None):
"""
Generate a random string with 10 characters.
This function have more explain here:
http://stackoverflow.com/questions/2257441/
random-string-generation-with-upper-case-letters-and-digits-in-python
very pythonic way.
"... | 27.666667 | 79 | 0.712851 | 65 | 498 | 5.4 | 0.723077 | 0.068376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.182731 | 498 | 17 | 80 | 29.294118 | 0.835381 | 0.435743 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
bb68bb1c65eb1a6054097d508e4b421b62fd8f52 | 1,622 | py | Python | pyblis/tests/test_numba.py | jcrist/pyblis | d9c67d40a15c656a4681ba1b9ca0c52eff40163c | [
"BSD-3-Clause"
] | 2 | 2020-03-07T14:02:51.000Z | 2021-02-03T05:18:11.000Z | pyblis/tests/test_numba.py | jcrist/pyblis | d9c67d40a15c656a4681ba1b9ca0c52eff40163c | [
"BSD-3-Clause"
] | null | null | null | pyblis/tests/test_numba.py | jcrist/pyblis | d9c67d40a15c656a4681ba1b9ca0c52eff40163c | [
"BSD-3-Clause"
] | null | null | null | import pytest
nb = pytest.importorskip("numba")
import pyblis
import pyblis._numba
from .test_core import GEMMTests, SYRKTests, MKSYMMTests
from .utils import NumbaMixin
class TestGEMMNumba(NumbaMixin, GEMMTests):
@classmethod
def compile(cls):
@nb.jit(nopython=True)
def base(a, b):
... | 31.192308 | 81 | 0.593095 | 212 | 1,622 | 4.429245 | 0.212264 | 0.038339 | 0.069223 | 0.090522 | 0.612354 | 0.56017 | 0.531416 | 0.472843 | 0.413206 | 0.366347 | 0 | 0.009658 | 0.297781 | 1,622 | 51 | 82 | 31.803922 | 0.81475 | 0 | 0 | 0.333333 | 0 | 0 | 0.003083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205128 | false | 0 | 0.153846 | 0.128205 | 0.641026 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bb777c95f1620da445568387ba821efc7e2dca97 | 289 | py | Python | {{cookiecutter.prjname}}/wsgi.py | lino-framework/cookicutter-startsite | afd6b3d2b575dc084175b8a392fc03b6e82626d1 | [
"BSD-2-Clause"
] | null | null | null | {{cookiecutter.prjname}}/wsgi.py | lino-framework/cookicutter-startsite | afd6b3d2b575dc084175b8a392fc03b6e82626d1 | [
"BSD-2-Clause"
] | null | null | null | {{cookiecutter.prjname}}/wsgi.py | lino-framework/cookicutter-startsite | afd6b3d2b575dc084175b8a392fc03b6e82626d1 | [
"BSD-2-Clause"
] | null | null | null | import os, sys
{% if cookiecutter.python_path %}
sys.path.insert(0, '{{cookiecutter.python_path}}')
{% endif %}
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{cookiecutter.django_settings_module}}")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application() | 41.285714 | 90 | 0.788927 | 37 | 289 | 5.891892 | 0.540541 | 0.165138 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003717 | 0.069204 | 289 | 7 | 91 | 41.285714 | 0.806691 | 0 | 0 | 0 | 0 | 0 | 0.306897 | 0.306897 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.285714 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bb882258403e247492290223b092a5954f532a5e | 2,181 | py | Python | FahrplanDatenGarten/core/management/commands/seeddata.py | magicmarvman/FahrplanDatenGarten | c418619cca2a9b0fca10e8a01f17574c8afc1a3b | [
"MIT"
] | null | null | null | FahrplanDatenGarten/core/management/commands/seeddata.py | magicmarvman/FahrplanDatenGarten | c418619cca2a9b0fca10e8a01f17574c8afc1a3b | [
"MIT"
] | null | null | null | FahrplanDatenGarten/core/management/commands/seeddata.py | magicmarvman/FahrplanDatenGarten | c418619cca2a9b0fca10e8a01f17574c8afc1a3b | [
"MIT"
] | null | null | null | import datetime
import pytz
from django.core.management.base import BaseCommand
from core.models import Agency, Source, Stop, StopName, StopID, Journey, JourneyStop
class Command(BaseCommand):
help = "Seeds (fake) data in database"
def handle(self, *args, **options):
#agency, _ = Agency.objects.upda... | 58.945946 | 114 | 0.547455 | 231 | 2,181 | 5.017316 | 0.311688 | 0.124245 | 0.13805 | 0.16566 | 0.574633 | 0.531493 | 0.48145 | 0.477998 | 0.477998 | 0.477998 | 0 | 0.082287 | 0.342503 | 2,181 | 36 | 115 | 60.583333 | 0.725941 | 0.761119 | 0 | 0 | 0 | 0 | 0.05835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.571429 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bbaf251c0b2f7852ab66a10eca2b7602964c9957 | 1,099 | py | Python | backend/settings/debug_toolbar.py | afonasev/blog | b20db816177570086c34aaefe047f1ccd2e48e49 | [
"MIT"
] | null | null | null | backend/settings/debug_toolbar.py | afonasev/blog | b20db816177570086c34aaefe047f1ccd2e48e49 | [
"MIT"
] | 15 | 2017-08-31T13:31:26.000Z | 2018-05-18T06:59:06.000Z | backend/settings/debug_toolbar.py | afonasev/blog | b20db816177570086c34aaefe047f1ccd2e48e49 | [
"MIT"
] | null | null | null | from .apps import INSTALLED_APPS
from .env import DEBUG
from .middleware import MIDDLEWARE
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TEMPLATE_CONTEXT': True,
'ENABLE_STACKTRACES': True,
'DISABLE_PANELS': [
'debug_toolbar.panels.redirects.RedirectsPanel',
],
}
DEBUG_TOOLBAR_PANELS = [
'debug_toolbar.p... | 28.921053 | 58 | 0.731574 | 112 | 1,099 | 6.946429 | 0.4375 | 0.262211 | 0.323907 | 0.061697 | 0.151671 | 0.151671 | 0.151671 | 0.151671 | 0 | 0 | 0 | 0.006452 | 0.153776 | 1,099 | 37 | 59 | 29.702703 | 0.830108 | 0.043676 | 0 | 0.064516 | 0 | 0 | 0.591039 | 0.539561 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.096774 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bbc835528088d7fa7e353d435310bbc55406def7 | 551 | py | Python | tests/general/factories.py | adieyal/wazimap-ng | 6f64e5b5e7395b7bd3e9ce98fbbfeb1327a69e6f | [
"Apache-2.0"
] | null | null | null | tests/general/factories.py | adieyal/wazimap-ng | 6f64e5b5e7395b7bd3e9ce98fbbfeb1327a69e6f | [
"Apache-2.0"
] | null | null | null | tests/general/factories.py | adieyal/wazimap-ng | 6f64e5b5e7395b7bd3e9ce98fbbfeb1327a69e6f | [
"Apache-2.0"
] | null | null | null | import factory
from datetime import datetime
from wazimap_ng.general.models import MetaData
from django_q.models import Task
from tests.datasets.factories import LicenceFactory
class MetaDataFactory(factory.django.DjangoModelFactory):
class Meta:
model = MetaData
licence = factory.SubFactory(Licence... | 23.956522 | 57 | 0.742287 | 63 | 551 | 6.460317 | 0.539683 | 0.058968 | 0.152334 | 0.176904 | 0.22113 | 0.22113 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183303 | 551 | 22 | 58 | 25.045455 | 0.904444 | 0 | 0 | 0.125 | 0 | 0 | 0.010889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3125 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
bbde21157122ac81c3b1adfbf50d99cb9c1a4f17 | 400 | py | Python | aldryn_config.py | WINAK-UA/djangocms-maps | 07863d4c2f1f07329c978a68a111fed57d6120bf | [
"BSD-3-Clause"
] | 5 | 2016-09-01T13:34:14.000Z | 2021-12-21T17:22:22.000Z | aldryn_config.py | WINAK-UA/djangocms-maps | 07863d4c2f1f07329c978a68a111fed57d6120bf | [
"BSD-3-Clause"
] | 15 | 2016-08-27T22:14:02.000Z | 2021-03-23T23:05:36.000Z | aldryn_config.py | WINAK-UA/djangocms-maps | 07863d4c2f1f07329c978a68a111fed57d6120bf | [
"BSD-3-Clause"
] | 15 | 2016-09-02T05:06:28.000Z | 2021-06-22T11:27:15.000Z | """
Configuration for Divio cloud.
We don't allow configuration via the Control Panel, hence
there's not much to do here. For the docs see:
https://docs.divio.com/en/latest/reference/configuration-aldryn-config.html
"""
from aldryn_client import forms
class Form(forms.BaseForm):
"""Divio Control Panel configurat... | 25 | 75 | 0.745 | 58 | 400 | 5.103448 | 0.724138 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1575 | 400 | 15 | 76 | 26.666667 | 0.878338 | 0.6275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bbf4be6950e7c5278cd74d6ae18695ed81d2cf56 | 2,186 | py | Python | paxLibUL/nlp/data_transformer.py | PAX-ULaval/pax-libraries | 60e065ef480d85a3c03cfad4d2bbc1a70632c98b | [
"MIT"
] | null | null | null | paxLibUL/nlp/data_transformer.py | PAX-ULaval/pax-libraries | 60e065ef480d85a3c03cfad4d2bbc1a70632c98b | [
"MIT"
] | null | null | null | paxLibUL/nlp/data_transformer.py | PAX-ULaval/pax-libraries | 60e065ef480d85a3c03cfad4d2bbc1a70632c98b | [
"MIT"
] | null | null | null | from abc import abstractmethod, ABC
class Transformer(ABC):
"""
Abstract class for transformer over data.
"""
def __init__(self):
self.__name__ = self.__class__.__name__
@abstractmethod
def transform(self, x):
"""
Method to transform a text data.
:param x: (Un... | 20.819048 | 68 | 0.606587 | 256 | 2,186 | 4.992188 | 0.265625 | 0.031299 | 0.087637 | 0.093114 | 0.492958 | 0.395149 | 0.376369 | 0.314554 | 0.314554 | 0.314554 | 0 | 0.002536 | 0.278591 | 2,186 | 104 | 69 | 21.019231 | 0.807863 | 0.307411 | 0 | 0.263158 | 0 | 0 | 0.012918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.342105 | false | 0.026316 | 0.026316 | 0.184211 | 0.815789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bbf76f677a1b92998c673c62361e81fddf756970 | 115 | py | Python | open_weather_api/config.py | moshe742/api_test | fef36de080265e7bd230fc4ca12426c6e23a4688 | [
"MIT"
] | null | null | null | open_weather_api/config.py | moshe742/api_test | fef36de080265e7bd230fc4ca12426c6e23a4688 | [
"MIT"
] | null | null | null | open_weather_api/config.py | moshe742/api_test | fef36de080265e7bd230fc4ca12426c6e23a4688 | [
"MIT"
] | null | null | null | import os
API_KEY = os.environ.get('OPEN_WEATHER_API_KEY')
BASE_URL = 'https://api.openweathermap.org/data/2.5/'
| 19.166667 | 53 | 0.747826 | 20 | 115 | 4.05 | 0.8 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.086957 | 115 | 5 | 54 | 23 | 0.752381 | 0 | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a54d9b0f96ec4f182e2197dc2959470ee95b97a2 | 643 | py | Python | lib/Literal.py | unalakunal/theorem-prover | 70b37c7c48cb71809c110e57652d855ed7df7b1e | [
"Apache-2.0"
] | null | null | null | lib/Literal.py | unalakunal/theorem-prover | 70b37c7c48cb71809c110e57652d855ed7df7b1e | [
"Apache-2.0"
] | null | null | null | lib/Literal.py | unalakunal/theorem-prover | 70b37c7c48cb71809c110e57652d855ed7df7b1e | [
"Apache-2.0"
] | null | null | null | from string import ascii_uppercase
# A Literal object is an atom, where it can be a variable or a constant
class Literal(object):
def __init__(self, name, negated):
self.name = name
self.negated = negated
if name in ascii_uppercase:
self.isConstant = True
else:
... | 29.227273 | 82 | 0.660964 | 85 | 643 | 4.929412 | 0.529412 | 0.076372 | 0.066826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273717 | 643 | 21 | 83 | 30.619048 | 0.897216 | 0.279938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.538462 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a554d5a50573d7e5635f41197f72ca4452537f99 | 1,283 | py | Python | release/stubs.min/Autodesk/Revit/DB/__init___parts/ConnectorDomainType.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/ConnectorDomainType.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/ConnectorDomainType.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | class ConnectorDomainType(Enum, IComparable, IFormattable, IConvertible):
"""
Enumeration of connector domain types
enum ConnectorDomainType,values: CableTrayConduit (4),Electrical (2),Hvac (1),Piping (3),StructuralAnalytical (5),Undefined (0)
"""
def __eq__(self, *args):
""" x.__eq__(... | 25.66 | 221 | 0.587685 | 138 | 1,283 | 4.775362 | 0.369565 | 0.121396 | 0.127466 | 0.136571 | 0.195751 | 0.195751 | 0.195751 | 0.171472 | 0.171472 | 0.171472 | 0 | 0.006515 | 0.282151 | 1,283 | 49 | 222 | 26.183673 | 0.709012 | 0.386594 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.357143 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
a5603411fa763e01c329ec6281379ddeff0cd269 | 751 | py | Python | abacusai/user_exception.py | abacusai/api-python | 016192e4f360552bf1cbfc6a42d3ddc63d8f1df8 | [
"MIT"
] | 3 | 2021-11-18T18:39:56.000Z | 2022-02-25T18:58:32.000Z | abacusai/user_exception.py | abacusai/api-python | 016192e4f360552bf1cbfc6a42d3ddc63d8f1df8 | [
"MIT"
] | null | null | null | abacusai/user_exception.py | abacusai/api-python | 016192e4f360552bf1cbfc6a42d3ddc63d8f1df8 | [
"MIT"
] | null | null | null | import textwrap
from .return_class import AbstractApiClass
class UserException(AbstractApiClass):
"""
Exception information for errors in usercode.
"""
def __init__(self, client, type=None, value=None, traceback=None):
super().__init__(client, None)
self.type = type
self.... | 34.136364 | 247 | 0.640479 | 95 | 751 | 4.936842 | 0.421053 | 0.138593 | 0.025586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021776 | 0.20506 | 751 | 21 | 248 | 35.761905 | 0.760469 | 0.05992 | 0 | 0 | 0 | 0.083333 | 0.360058 | 0.141399 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a56c05fe7a2a664801867fa2c09612c919f726a6 | 917 | py | Python | src/tensor/_tensor_old/abstract.py | jedhsu/tensor | 3b2fe21029fa7c50b034190e77d79d1a94ea5e8f | [
"Apache-2.0"
] | null | null | null | src/tensor/_tensor_old/abstract.py | jedhsu/tensor | 3b2fe21029fa7c50b034190e77d79d1a94ea5e8f | [
"Apache-2.0"
] | null | null | null | src/tensor/_tensor_old/abstract.py | jedhsu/tensor | 3b2fe21029fa7c50b034190e77d79d1a94ea5e8f | [
"Apache-2.0"
] | null | null | null | # """
# Abstract base types for Array, annotated for dtype and dimensions.
# """
# from typing import Sequence
# from . import typed
# from .dtype import Dtype
# from .sized import AbstractSizedArray
# from .typed import AbstractTypedArray
# __all__ = ["AbstractArray"]
# class _From_:
# @staticmethod
# d... | 24.131579 | 76 | 0.683751 | 99 | 917 | 5.969697 | 0.434343 | 0.040609 | 0.05753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19193 | 917 | 37 | 77 | 24.783784 | 0.797571 | 0.931298 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.027027 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a58add6a8c206dbcb364dac11a02dc3614c78e1b | 1,024 | py | Python | ts_deepscan/analyser/FileAnalyser.py | sschuberth/ts-deepscan | 43f4b86e117dfa0db91113da29be3179a6ac696a | [
"Apache-2.0"
] | 2 | 2021-01-06T07:00:28.000Z | 2021-11-19T10:58:20.000Z | ts_deepscan/analyser/FileAnalyser.py | sschuberth/ts-deepscan | 43f4b86e117dfa0db91113da29be3179a6ac696a | [
"Apache-2.0"
] | null | null | null | ts_deepscan/analyser/FileAnalyser.py | sschuberth/ts-deepscan | 43f4b86e117dfa0db91113da29be3179a6ac696a | [
"Apache-2.0"
] | 1 | 2021-01-06T07:00:35.000Z | 2021-01-06T07:00:35.000Z | # SPDX-FileCopyrightText: 2020 EACG GmbH
#
# SPDX-License-Identifier: Apache-2.0
def _match_prop(opts, prop, val):
return prop in opts and opts[prop] == val
class AnalyserOptions:
def __init__(self, includeCopyright=False, filterFiles=True):
self.includeCopyright = includeCopyright
self.filte... | 29.257143 | 81 | 0.662109 | 116 | 1,024 | 5.715517 | 0.344828 | 0.084465 | 0.072398 | 0.048265 | 0.108597 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.238281 | 1,024 | 34 | 82 | 30.117647 | 0.842308 | 0.072266 | 0 | 0.090909 | 0 | 0 | 0.028541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0 | 0.136364 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a592e0e894521968a83c265ab11b75cb7c231834 | 1,227 | py | Python | app/decorators.py | TBxy/bokeh_start_app | 755494f6bc60e92ce17022bbd7f707a39132cbd0 | [
"MIT"
] | 1 | 2017-04-27T09:15:48.000Z | 2017-04-27T09:15:48.000Z | app/decorators.py | TBxy/bokeh_start_app | 755494f6bc60e92ce17022bbd7f707a39132cbd0 | [
"MIT"
] | null | null | null | app/decorators.py | TBxy/bokeh_start_app | 755494f6bc60e92ce17022bbd7f707a39132cbd0 | [
"MIT"
] | null | null | null | from functools import wraps
from werkzeug.exceptions import Forbidden
def _import_user():
try:
from flask_login import current_user
return current_user
except ImportError:
raise ImportError(
'User argument not passed and Flask-Login current_user could not be imported.')
d... | 29.214286 | 95 | 0.623472 | 154 | 1,227 | 4.831169 | 0.305195 | 0.103495 | 0.045699 | 0.045699 | 0.596774 | 0.596774 | 0.534946 | 0.534946 | 0.534946 | 0.534946 | 0 | 0 | 0.296659 | 1,227 | 41 | 96 | 29.926829 | 0.862109 | 0.139364 | 0 | 0.551724 | 0 | 0 | 0.117073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0.034483 | 0.310345 | 0 | 0.793103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a592eb90f74cad2df97656dd83f0f6fb4ea32d51 | 17 | py | Python | insight/__init__.py | becksteadn/insight | 40c19f9d63063fe166f9415d76805e26d04f0fbc | [
"MIT"
] | 2 | 2019-03-24T10:32:28.000Z | 2021-01-29T06:06:34.000Z | insight/__init__.py | becksteadn/insight | 40c19f9d63063fe166f9415d76805e26d04f0fbc | [
"MIT"
] | null | null | null | insight/__init__.py | becksteadn/insight | 40c19f9d63063fe166f9415d76805e26d04f0fbc | [
"MIT"
] | 1 | 2020-01-09T10:45:22.000Z | 2020-01-09T10:45:22.000Z | name = "insight"
| 8.5 | 16 | 0.647059 | 2 | 17 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a59c7c85ddb651e238d6c6a4cc0ac72ae180a563 | 87 | py | Python | class9/ex9/ex9a.py | jrogers512/pynet | 8af9f3910a9b1dec640eb66c2f5f12b6fcd70837 | [
"Apache-2.0"
] | null | null | null | class9/ex9/ex9a.py | jrogers512/pynet | 8af9f3910a9b1dec640eb66c2f5f12b6fcd70837 | [
"Apache-2.0"
] | null | null | null | class9/ex9/ex9a.py | jrogers512/pynet | 8af9f3910a9b1dec640eb66c2f5f12b6fcd70837 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import mytest
print mytest.func1()
mytest.func2()
mytest.func3()
| 14.5 | 21 | 0.747126 | 13 | 87 | 5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.091954 | 87 | 5 | 22 | 17.4 | 0.78481 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a5ba7486d9207c67c1071e970f55b81c403c4a0d | 249 | py | Python | pixell/__init__.py | EEmGuzman/pixell | 114ace49afca1d24c1f58ca907290eb4d13b37b1 | [
"BSD-3-Clause"
] | 24 | 2018-10-16T18:11:57.000Z | 2022-03-16T23:21:29.000Z | pixell/__init__.py | EEmGuzman/pixell | 114ace49afca1d24c1f58ca907290eb4d13b37b1 | [
"BSD-3-Clause"
] | 118 | 2018-10-09T22:13:48.000Z | 2022-03-21T15:23:25.000Z | pixell/__init__.py | EEmGuzman/pixell | 114ace49afca1d24c1f58ca907290eb4d13b37b1 | [
"BSD-3-Clause"
] | 19 | 2018-10-22T16:13:20.000Z | 2021-12-16T17:34:01.000Z | # -*- coding: utf-8 -*-
"""Top-level package for pixell."""
__author__ = """Simons Observatory Collaboration Analysis Library Task Force"""
__email__ = ''
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 24.9 | 79 | 0.730924 | 29 | 249 | 5.724138 | 0.793103 | 0.198795 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.128514 | 249 | 9 | 80 | 27.666667 | 0.760369 | 0.208835 | 0 | 0 | 0 | 0 | 0.350785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
3c07195fc1e1a64bb8ef9c58271addacc6f8b745 | 651 | py | Python | app.py | vnprak/Electronic-Board-Game | 1f498cf7f358044da9b487c2965fbc665f40d6bc | [
"MIT"
] | null | null | null | app.py | vnprak/Electronic-Board-Game | 1f498cf7f358044da9b487c2965fbc665f40d6bc | [
"MIT"
] | 45 | 2022-02-02T16:29:53.000Z | 2022-03-09T16:25:31.000Z | app.py | vnprak/Electronic-Board-Game | 1f498cf7f358044da9b487c2965fbc665f40d6bc | [
"MIT"
] | null | null | null | import boardgame
BTN_TURN = 17
BTN_NEW = 27
BTN_LAST = 22
#setup
turn_logic = [BTN_TURN, BTN_NEW, BTN_LAST]
for pin in turn_logic:
boardgame.gpio_button_setup(pin)
while game_loop:
if game_state == 1:
elif game_state == 2:
elif game_state == 3:
elif game_state == 4... | 15.878049 | 42 | 0.522273 | 85 | 651 | 3.717647 | 0.411765 | 0.370253 | 0.493671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058524 | 0.396313 | 651 | 41 | 43 | 15.878049 | 0.745547 | 0.00768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047619 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3c1b6e26f9f331a14e34b51ecb458f7ef7f529fb | 1,318 | py | Python | src/deployer/plugins/api.py | jbenden/deployer | b036fa3030f99ed0730bb3770cf7e01c58c257f1 | [
"Apache-2.0"
] | 2 | 2018-08-30T14:14:13.000Z | 2022-03-24T15:19:29.000Z | src/deployer/plugins/api.py | jbenden/deployer | b036fa3030f99ed0730bb3770cf7e01c58c257f1 | [
"Apache-2.0"
] | null | null | null | src/deployer/plugins/api.py | jbenden/deployer | b036fa3030f99ed0730bb3770cf7e01c58c257f1 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2018 Joseph Benden <joe@benden.us>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 36.611111 | 79 | 0.753414 | 192 | 1,318 | 5.098958 | 0.598958 | 0.061287 | 0.04903 | 0.042901 | 0.046987 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013441 | 0.153263 | 1,318 | 35 | 80 | 37.657143 | 0.863799 | 0.831563 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3c384fe3d0ca6c2a9edc2d587457f69893e1ed81 | 2,087 | py | Python | movie/models.py | kouyk/koiban | aa67886a94ed3d7d0fec9f75238f93f55f370c53 | [
"MIT"
] | null | null | null | movie/models.py | kouyk/koiban | aa67886a94ed3d7d0fec9f75238f93f55f370c53 | [
"MIT"
] | null | null | null | movie/models.py | kouyk/koiban | aa67886a94ed3d7d0fec9f75238f93f55f370c53 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Film(models.Model):
short_title = models.CharField(max_length=50)
full_title = models.CharField(max_length=100, db_index=True)
alt_titles = models.CharField("alternative titles", max_length=350, db_index=True)
rating = models.CharField(max_... | 37.945455 | 86 | 0.734547 | 277 | 2,087 | 5.3213 | 0.353791 | 0.158752 | 0.280868 | 0.374491 | 0.310719 | 0.056988 | 0.056988 | 0.056988 | 0.056988 | 0 | 0 | 0.032955 | 0.156684 | 2,087 | 54 | 87 | 38.648148 | 0.804545 | 0.0115 | 0 | 0.088889 | 0 | 0 | 0.019408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.022222 | 0.044444 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3c3a58606135cd3252b3d331d6e437de69718825 | 332 | py | Python | encrypt.py | PghTechFest/pypghtechfest | b24dada0f6ce50843f6896a74822ef26d9d078ea | [
"BSD-2-Clause"
] | 1 | 2017-05-02T10:31:47.000Z | 2017-05-02T10:31:47.000Z | encrypt.py | PghTechFest/pypghtechfest | b24dada0f6ce50843f6896a74822ef26d9d078ea | [
"BSD-2-Clause"
] | 1 | 2021-06-02T00:34:37.000Z | 2021-06-02T00:34:37.000Z | encrypt.py | PghTechFest/pypghtechfest | b24dada0f6ce50843f6896a74822ef26d9d078ea | [
"BSD-2-Clause"
] | null | null | null | #!flask/bin/python
"""Create a new admin user able to view the /reports endpoint."""
from getpass import getpass
import sys
from app import app, bcrypt
def main():
"""Main entry point for script."""
password = sys.argv[1]
return bcrypt.generate_password_hash(password)
if __name__ == '__main__':
sys.... | 22.133333 | 65 | 0.701807 | 48 | 332 | 4.645833 | 0.729167 | 0.116592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003663 | 0.177711 | 332 | 15 | 66 | 22.133333 | 0.813187 | 0.319277 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.375 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
3c4332a38f752b7f8ac3d8d06a0bb49bebeebbec | 205 | py | Python | services/detail/main.py | liks79/playground-container | c7e1eb008594c3db7191f0792b67ce47fc09fe0a | [
"BSD-3-Clause"
] | null | null | null | services/detail/main.py | liks79/playground-container | c7e1eb008594c3db7191f0792b67ce47fc09fe0a | [
"BSD-3-Clause"
] | null | null | null | services/detail/main.py | liks79/playground-container | c7e1eb008594c3db7191f0792b67ce47fc09fe0a | [
"BSD-3-Clause"
] | null | null | null | from starlette.applications import Starlette
from starlette.responses import JSONResponse
app = Starlette()
@app.route("/")
async def detail(request):
return JSONResponse({"detail": "Good story!"})
| 20.5 | 50 | 0.75122 | 23 | 205 | 6.695652 | 0.652174 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126829 | 205 | 9 | 51 | 22.777778 | 0.860335 | 0 | 0 | 0 | 0 | 0 | 0.087805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3c433676a9c9ebdecc11d21512d09d09fe53c511 | 361 | py | Python | 2293.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 6 | 2021-04-13T00:33:43.000Z | 2022-02-10T10:23:59.000Z | 2293.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | null | null | null | 2293.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 3 | 2021-03-23T18:42:24.000Z | 2022-02-10T10:24:07.000Z | e = [int(x) for x in str(input()).split()]
n = e[0]
m = e[1]
c = []
for i in range(n):
c.append([int(x) for x in str(input()).split()])
for i in range(n):
s = 0
for j in range(m):
s += c[i][j]
if i == 0: g = s
elif s > g: g = s
for j in range(m):
s = 0
for i in range(n):
s ... | 16.409091 | 52 | 0.440443 | 80 | 361 | 1.9875 | 0.275 | 0.220126 | 0.113208 | 0.207547 | 0.754717 | 0.616352 | 0.289308 | 0.289308 | 0 | 0 | 0 | 0.021277 | 0.34903 | 361 | 21 | 53 | 17.190476 | 0.655319 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 1 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3c76c31bbe8e3cade4a3c46326aa1960fc6f531c | 968 | py | Python | model/basic_model.py | Tommy-Liu/MovieQA_Contest | 4281bf4a731aa14a0d19f18adda31d59a4a297cb | [
"MIT"
] | null | null | null | model/basic_model.py | Tommy-Liu/MovieQA_Contest | 4281bf4a731aa14a0d19f18adda31d59a4a297cb | [
"MIT"
] | null | null | null | model/basic_model.py | Tommy-Liu/MovieQA_Contest | 4281bf4a731aa14a0d19f18adda31d59a4a297cb | [
"MIT"
] | null | null | null | import os
import re
from config import MovieQAPath
from model.basic_hp import BasicHP
class BasicModel(object):
def __init__(self):
self._hp = BasicHP()
self._mp = MovieQAPath()
def __str__(self):
return '.'.join(re.split(r'[./]', __file__)[-3:-1] +
([str(self... | 24.820513 | 73 | 0.627066 | 125 | 968 | 4.336 | 0.28 | 0.129151 | 0.138376 | 0.166052 | 0.4631 | 0.4631 | 0.297048 | 0.297048 | 0 | 0 | 0 | 0.002703 | 0.235537 | 968 | 38 | 74 | 25.473684 | 0.72973 | 0 | 0 | 0.178571 | 0 | 0 | 0.009298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.25 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
3c7d371b407657e45d0bf51e8766825b6db63011 | 237 | py | Python | src/1768_merge_string_alternatively.py | hariharanragothaman/leetcode-solutions | 44e759f80d3c9df382fdf8d694d6378881e3649d | [
"Apache-2.0"
] | 2 | 2021-04-21T07:59:42.000Z | 2021-06-17T17:14:26.000Z | src/1768_merge_string_alternatively.py | hariharanragothaman/pyrevise-leetcode | 44e759f80d3c9df382fdf8d694d6378881e3649d | [
"Apache-2.0"
] | null | null | null | src/1768_merge_string_alternatively.py | hariharanragothaman/pyrevise-leetcode | 44e759f80d3c9df382fdf8d694d6378881e3649d | [
"Apache-2.0"
] | null | null | null | import itertools
class Solution:
def mergeAlternately(self, word1: str, word2: str) -> str:
res = ""
for c in itertools.zip_longest(word1, word2, fillvalue=""):
res = res + "".join(c)
return res
| 23.7 | 67 | 0.582278 | 28 | 237 | 4.892857 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.295359 | 237 | 9 | 68 | 26.333333 | 0.796407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3c834be7ec5853f251d079b7b5540977afad651a | 3,009 | py | Python | dwtools3/report_writer/__init__.py | bazzisoft/dwtools3 | ed7b457290ca940b6e53ab56df26ece42afc9928 | [
"MIT"
] | 1 | 2019-09-03T10:42:16.000Z | 2019-09-03T10:42:16.000Z | dwtools3/report_writer/__init__.py | bazzisoft/dwtools3 | ed7b457290ca940b6e53ab56df26ece42afc9928 | [
"MIT"
] | null | null | null | dwtools3/report_writer/__init__.py | bazzisoft/dwtools3 | ed7b457290ca940b6e53ab56df26ece42afc9928 | [
"MIT"
] | null | null | null | """
Provides classes define and generate styled reports in multiple formats.
Dependencies
------------
- openpyxl
- PyExcelerate
Usage
-----
NOTE: You should localize any ``datetime`` objects before writing into the reports,
as any timezone info is stripped out before rendering.
::
from dwtools3 import report... | 34.988372 | 114 | 0.666002 | 364 | 3,009 | 5.39011 | 0.368132 | 0.046381 | 0.066259 | 0.105505 | 0.271662 | 0.25739 | 0.173293 | 0.118247 | 0.118247 | 0.118247 | 0 | 0.03332 | 0.19209 | 3,009 | 85 | 115 | 35.4 | 0.773756 | 0.873048 | 0 | 0 | 1 | 0 | 0.237968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3c8e44955f942698f47c6d590eafc61613f90da6 | 660 | py | Python | clasificador/herramientas/tokenizacion.py | pln-fing-udelar/pghumor | d1a352bc72fba45cffd2af10c584e4ac43febf70 | [
"Apache-2.0"
] | 52 | 2015-06-17T04:51:22.000Z | 2022-03-25T09:19:00.000Z | clasificador/herramientas/tokenizacion.py | PONCHARELO12/pghumor | c5b552d3799858c74616367c1c68531c20163285 | [
"Apache-2.0"
] | 6 | 2016-12-03T05:05:26.000Z | 2019-10-18T17:52:42.000Z | clasificador/herramientas/tokenizacion.py | PONCHARELO12/pghumor | c5b552d3799858c74616367c1c68531c20163285 | [
"Apache-2.0"
] | 17 | 2015-06-17T04:55:47.000Z | 2021-10-16T14:30:27.000Z | # coding=utf-8
from __future__ import absolute_import, division, print_function, unicode_literals
import nltk
detector_de_sentencias = nltk.data.load('tokenizers/punkt/spanish.pickle')
def tokenizar(texto):
# texto = 'Esta es una prueba. Hola, ¿cómo andas? Hoy es lunes 01/09/2014 y son las 14:24. Ayer comí 3 pa... | 50.769231 | 352 | 0.754545 | 114 | 660 | 4.27193 | 0.789474 | 0.041068 | 0.082136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046679 | 0.156061 | 660 | 12 | 353 | 55 | 0.825853 | 0.543939 | 0 | 0 | 0 | 0 | 0.104027 | 0.104027 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
b1cc6114ecc475c12a469a192c4059bab1df7e77 | 1,206 | py | Python | upload.py | VentionCo/mm-machineapp-template | 61de22b9bb65c534407f2f9ff3a389a799484284 | [
"MIT"
] | null | null | null | upload.py | VentionCo/mm-machineapp-template | 61de22b9bb65c534407f2f9ff3a389a799484284 | [
"MIT"
] | 1 | 2021-11-02T13:59:54.000Z | 2021-11-03T22:28:54.000Z | upload.py | VentionCo/mm-machineapp-template | 61de22b9bb65c534407f2f9ff3a389a799484284 | [
"MIT"
] | null | null | null | #/usr/bin/python3
import logging
import subprocess
CLOUD9_DIRECTORY_BASE = 'debian@192.168.7.2:/var/lib/cloud9/mm-machineapp-template'
def run():
# Upload your new program to the server
print('****************************************************************')
print('**************** Uploading your Machine... | 46.384615 | 97 | 0.553897 | 120 | 1,206 | 5.433333 | 0.416667 | 0.092025 | 0.116564 | 0.115031 | 0.388037 | 0.207055 | 0.207055 | 0.144172 | 0 | 0 | 0 | 0.013372 | 0.131841 | 1,206 | 26 | 98 | 46.384615 | 0.60936 | 0.044776 | 0 | 0.1 | 0 | 0.05 | 0.618593 | 0.199826 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0.1 | 0.1 | 0 | 0.15 | 0.55 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
b1f326fb515c3a5e9739c151ab034006bf104089 | 413 | py | Python | rl-toolkit/examples/test_cmds/ppo/main.py | clvrai/goal_prox_il | 7c809b2ee575a69a14997068db06f3c1f3c8bd08 | [
"MIT"
] | 4 | 2021-11-17T20:19:34.000Z | 2022-03-31T04:21:26.000Z | rl-toolkit/examples/test_cmds/ppo/main.py | clvrai/goal_prox_il | 7c809b2ee575a69a14997068db06f3c1f3c8bd08 | [
"MIT"
] | null | null | null | rl-toolkit/examples/test_cmds/ppo/main.py | clvrai/goal_prox_il | 7c809b2ee575a69a14997068db06f3c1f3c8bd08 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(0, './')
from rlf import PPO
from rlf import run_policy
from tests.test_run_settings import TestRunSettings
from rlf.policies.actor_critic.dist_actor_critic import DistActorCritic
class PPORunSettings(TestRunSettings):
def get_policy(self):
return DistActorCritic()
def get_a... | 24.294118 | 71 | 0.755448 | 53 | 413 | 5.566038 | 0.54717 | 0.071186 | 0.088136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002882 | 0.159806 | 413 | 16 | 72 | 25.8125 | 0.847262 | 0 | 0 | 0 | 0 | 0 | 0.024213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.384615 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
b1fd5aee840a3e43da0815073841fcf26a47782d | 403 | py | Python | CapsuleNet/data_loader/MNISTLoader.py | MJ10/CapsuleNets | d13b6b62c7b1aac713d7b5efd048d7629239d992 | [
"MIT"
] | 1 | 2021-05-02T21:10:57.000Z | 2021-05-02T21:10:57.000Z | CapsuleNet/data_loader/MNISTLoader.py | MJ10/DL-Models | d13b6b62c7b1aac713d7b5efd048d7629239d992 | [
"MIT"
] | null | null | null | CapsuleNet/data_loader/MNISTLoader.py | MJ10/DL-Models | d13b6b62c7b1aac713d7b5efd048d7629239d992 | [
"MIT"
] | null | null | null | from tensorflow.examples.tutorials.mnist import input_data
class MNISTLoader:
def __init__(self, config):
self.config = config
self.data = input_data.read_data_sets('../../MNIST_data/')
def next_batch(self, batch_size):
return self.data.train.next_batch(batch_size)
def next_batch... | 28.785714 | 66 | 0.71464 | 55 | 403 | 4.909091 | 0.418182 | 0.133333 | 0.088889 | 0.140741 | 0.2 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181141 | 403 | 13 | 67 | 31 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.042184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
590857db55a6bd5172c84e37a7075462de8b39c6 | 78 | py | Python | scripts/data_header_const.py | Subarunari/SlackPostCounter | e15f785a8c6b888d39a7bf79cfa69890413b3948 | [
"MIT"
] | null | null | null | scripts/data_header_const.py | Subarunari/SlackPostCounter | e15f785a8c6b888d39a7bf79cfa69890413b3948 | [
"MIT"
] | null | null | null | scripts/data_header_const.py | Subarunari/SlackPostCounter | e15f785a8c6b888d39a7bf79cfa69890413b3948 | [
"MIT"
] | null | null | null | ID = "id"
LATEST_TS = "latest_ts"
NAME = "name"
COUNT = "count"
DATE = "date"
| 13 | 23 | 0.615385 | 12 | 78 | 3.833333 | 0.5 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 78 | 5 | 24 | 15.6 | 0.730159 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5932eeecc921298a33ad2f0841998de1025e86b3 | 98 | py | Python | src/const.py | IvanKozlov95/rpn_converter | 41ddf48c124a4103ca7dd9c14a70c0ce4466240a | [
"Apache-2.0"
] | null | null | null | src/const.py | IvanKozlov95/rpn_converter | 41ddf48c124a4103ca7dd9c14a70c0ce4466240a | [
"Apache-2.0"
] | null | null | null | src/const.py | IvanKozlov95/rpn_converter | 41ddf48c124a4103ca7dd9c14a70c0ce4466240a | [
"Apache-2.0"
] | null | null | null | operators = ['+', '-', '*', '/', '%', '^']
numbers = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] | 49 | 55 | 0.255102 | 11 | 98 | 2.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 0.183673 | 98 | 2 | 55 | 49 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3cd1b40e6a39a04556e029dc811dc3834caf0a62 | 424 | py | Python | play-with-arrays.py | mohamed-abdo/thoughts-using-python | 4c14b3cc6616671bc9ad2c21e6b53ea860496107 | [
"Apache-2.0"
] | null | null | null | play-with-arrays.py | mohamed-abdo/thoughts-using-python | 4c14b3cc6616671bc9ad2c21e6b53ea860496107 | [
"Apache-2.0"
] | null | null | null | play-with-arrays.py | mohamed-abdo/thoughts-using-python | 4c14b3cc6616671bc9ad2c21e6b53ea860496107 | [
"Apache-2.0"
] | null | null | null |
def kDifference(a, k):
# O(N**2)
# return len([(x,y) for x in a for y in a if x+k==y])
# mask results with bit wise operator to get linear complexity O(N)
return len(set(a) & set(x + k for x in a))
print(kDifference([1,2,3,4,5,6,7],3))
def mergeArrays(a, b):
return sorted([i for s... | 30.285714 | 82 | 0.580189 | 92 | 424 | 2.673913 | 0.423913 | 0.02439 | 0.04065 | 0.04878 | 0.04065 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0.233491 | 424 | 13 | 83 | 32.615385 | 0.695385 | 0.294811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3cd4db5be32bad633962ee1c2318abe994dd68ee | 1,898 | py | Python | tests/utils/test_images.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 215 | 2019-03-18T10:51:53.000Z | 2022-01-28T20:04:32.000Z | tests/utils/test_images.py | JadeBlue96/imageatm | d4c099164176e6ed7bf7095a82cb29fb301df2b5 | [
"Apache-2.0"
] | 21 | 2019-03-19T09:13:20.000Z | 2020-05-02T10:18:02.000Z | tests/utils/test_images.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 54 | 2019-03-18T16:39:37.000Z | 2022-03-31T10:16:48.000Z | from pathlib import Path
from imageatm.utils import images as im
p = Path(__file__)
NON_EXISTENT_FILE_PATH = p.resolve().parent / '../data/test_images' / 'foo_bar.jpg'
INVALID_IMG_PATH = p.resolve().parent / '../data/test_images' / 'image_invalid.jpg'
TRUNCATED_IMG_PATH = p.resolve().parent / '../data/test_images' ... | 28.328358 | 83 | 0.700738 | 291 | 1,898 | 4.312715 | 0.182131 | 0.061355 | 0.057371 | 0.086056 | 0.74502 | 0.705179 | 0.705179 | 0.65498 | 0.592829 | 0.422311 | 0 | 0.047433 | 0.189146 | 1,898 | 66 | 84 | 28.757576 | 0.768031 | 0 | 0 | 0.413043 | 0 | 0 | 0.10432 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 3 |
3cd56016672cf829ef410991b39457e1328a8846 | 552 | py | Python | src/pysnit/pysnitlib/funcs.py | kenchalros/PySniT | 8bb69f2ddfcfb4dfcaca7ede89e6165395d1fb5c | [
"MIT"
] | null | null | null | src/pysnit/pysnitlib/funcs.py | kenchalros/PySniT | 8bb69f2ddfcfb4dfcaca7ede89e6165395d1fb5c | [
"MIT"
] | 6 | 2020-09-20T10:23:41.000Z | 2020-09-26T15:21:58.000Z | src/pysnit/pysnitlib/funcs.py | kenchalros/PySniT | 8bb69f2ddfcfb4dfcaca7ede89e6165395d1fb5c | [
"MIT"
] | null | null | null | from functools import reduce
def f_chain(chain_initializer, *funcs):
"""Chain functions.
:param chain_initializer: target to apply functions.
:param funcs: functions to apply.
:return result of applying to initializer.
### example
```python
f_chain(2,
lambda x:x*2,
... | 23 | 62 | 0.567029 | 78 | 552 | 3.935897 | 0.384615 | 0.058632 | 0.052117 | 0.058632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.304348 | 552 | 23 | 63 | 24 | 0.768229 | 0.626812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3cd5f847a579fb4a1cdebab4cf4b0dadf4ad69e8 | 135 | py | Python | main.py | adriannieto/muriel-bot | 5d7716d5a0c581644052dac29e31d64e6cda36f4 | [
"Apache-2.0"
] | null | null | null | main.py | adriannieto/muriel-bot | 5d7716d5a0c581644052dac29e31d64e6cda36f4 | [
"Apache-2.0"
] | null | null | null | main.py | adriannieto/muriel-bot | 5d7716d5a0c581644052dac29e31d64e6cda36f4 | [
"Apache-2.0"
] | null | null | null | from food_parser import MurielTwitterFeed
muriel_feed = MurielTwitterFeed("tba", "tba", "tba", "tba")
print(muriel_feed.today_menu())
| 27 | 59 | 0.77037 | 17 | 135 | 5.882353 | 0.647059 | 0.18 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 135 | 4 | 60 | 33.75 | 0.813008 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3ce7cc8edfa2cbd13d27e933a27acc6521a2bc5b | 103 | py | Python | cfgtree/storages/__init__.py | Stibbons/cfgtree | 77454c2fde6092d555403deb1feee9746b6700b7 | [
"MIT"
] | null | null | null | cfgtree/storages/__init__.py | Stibbons/cfgtree | 77454c2fde6092d555403deb1feee9746b6700b7 | [
"MIT"
] | 2 | 2018-01-27T21:25:09.000Z | 2018-01-27T21:25:27.000Z | cfgtree/storages/__init__.py | Stibbons/cfgtree | 77454c2fde6092d555403deb1feee9746b6700b7 | [
"MIT"
] | null | null | null | # coding: utf-8
from cfgtree.storages._base import ConfigBaseStorage
__all__ = ['ConfigBaseStorage']
| 17.166667 | 52 | 0.786408 | 11 | 103 | 6.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.116505 | 103 | 5 | 53 | 20.6 | 0.824176 | 0.126214 | 0 | 0 | 0 | 0 | 0.193182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3ced9fa36422aa04a835b1f0279238f31a340fe0 | 309 | py | Python | app.py | marcopaga/feeding-the-ci-process-single-dockerfile | c5bb7c4d28b55e2704e057b11d084d83d3fa4964 | [
"MIT"
] | null | null | null | app.py | marcopaga/feeding-the-ci-process-single-dockerfile | c5bb7c4d28b55e2704e057b11d084d83d3fa4964 | [
"MIT"
] | 1 | 2022-03-10T20:23:04.000Z | 2022-03-10T20:23:04.000Z | app.py | marcopaga/feeding-the-ci-process-single-dockerfile | c5bb7c4d28b55e2704e057b11d084d83d3fa4964 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import time
import redis
import os
redis_service_host = os.getenv("REDIS_SERVICE_HOST")
redisClient = redis.StrictRedis(host=redis_service_host,password="password",port=6379, db=0)
for x in range(100):
redisClient.lpush('test-queue', "Sample work package {x}")
time.sleep(1) | 23.769231 | 93 | 0.747573 | 47 | 309 | 4.787234 | 0.659574 | 0.16 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033088 | 0.119741 | 309 | 13 | 94 | 23.769231 | 0.794118 | 0.064725 | 0 | 0 | 0 | 0 | 0.204152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
a707a3f9f255a2b6c7a392d476e8135c0b1abcc4 | 2,338 | py | Python | hypersolvers-control/src/env/timoshenko_beam/dicts.py | Juju-botu/diffeqml-research | aa796c87447e5299ec4f25a07fc4d032afb1f63e | [
"Apache-2.0"
] | null | null | null | hypersolvers-control/src/env/timoshenko_beam/dicts.py | Juju-botu/diffeqml-research | aa796c87447e5299ec4f25a07fc4d032afb1f63e | [
"Apache-2.0"
] | null | null | null | hypersolvers-control/src/env/timoshenko_beam/dicts.py | Juju-botu/diffeqml-research | aa796c87447e5299ec4f25a07fc4d032afb1f63e | [
"Apache-2.0"
] | null | null | null | import torch
x_dict = {'v_t': torch.tensor([1. , 0.95 , 0.975, 0.9 , 0.925, 0.85 , 0.875, 0.8 , 0.825,
0.75 , 0.775, 0.7 , 0.725, 0.65 , 0.675, 0.6 , 0.625, 0.55 ,
0.575, 0.5 , 0.525, 0.45 , 0.475, 0.4 , 0.425, 0.35 , 0.375,
0.3 , 0.325, 0.25 , 0.275, 0.2 , 0.225, 0.15 , 0.175, 0.1 ,... | 12.846154 | 93 | 0.396065 | 504 | 2,338 | 1.81746 | 0.376984 | 0.021834 | 0.019651 | 0.045852 | 0.529476 | 0.529476 | 0.529476 | 0.510917 | 0.510917 | 0.510917 | 0 | 0.563611 | 0.374679 | 2,338 | 182 | 94 | 12.846154 | 0.062928 | 0 | 0 | 0.067039 | 0 | 0 | 0.013681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005587 | 0 | 0.005587 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a72aba3e03522086ef580d5a07f67ae4a1387117 | 4,960 | py | Python | unified_map/multivariate/serial.py | robert-haas/unified-map | 445428d9d011f920096f9471b3058bf8011d9a47 | [
"Apache-2.0"
] | null | null | null | unified_map/multivariate/serial.py | robert-haas/unified-map | 445428d9d011f920096f9471b3058bf8011d9a47 | [
"Apache-2.0"
] | null | null | null | unified_map/multivariate/serial.py | robert-haas/unified-map | 445428d9d011f920096f9471b3058bf8011d9a47 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Robert Haas
# For license information, see LICENSE.TXT in the package root directory
_map_alias = map
def for_loop(function, argument_list):
"""Apply a multivariate function to a list of arguments in a serial fashion.
Uses Python's built-in for statement.
Args:
function: A call... | 28.342857 | 84 | 0.635081 | 649 | 4,960 | 4.768875 | 0.163328 | 0.077544 | 0.011632 | 0.040711 | 0.757997 | 0.715347 | 0.669144 | 0.634572 | 0.634572 | 0.602262 | 0 | 0.023849 | 0.264516 | 4,960 | 174 | 85 | 28.505747 | 0.824561 | 0.684879 | 0 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.034483 | 0 | 0.482759 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5974390eecf83e66fea1ccf592b043330888fc5f | 211 | py | Python | gitlab/tests/test_projects.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | gitlab/tests/test_projects.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | gitlab/tests/test_projects.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | def test_projects(gitlab):
projects = gitlab.get('/projects')
anyproj = projects[0]
assert anyproj['ssh_url_to_repo'].startswith('git@')
assert anyproj['http_url_to_repo'].startswith('https://') | 35.166667 | 61 | 0.701422 | 27 | 211 | 5.222222 | 0.592593 | 0.198582 | 0.12766 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.132701 | 211 | 6 | 61 | 35.166667 | 0.765027 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
59765210af09dbfa5f269a55102b0d08d5a093d8 | 371 | py | Python | belfort/core/items/item_manager.py | kingsofcoms/belfort | 91c6d98f7b6042f1fb2330d9cc0d20b3607404e7 | [
"Apache-2.0"
] | 1 | 2020-05-13T14:45:47.000Z | 2020-05-13T14:45:47.000Z | belfort/core/items/item_manager.py | SouravRipon/belfort | 91c6d98f7b6042f1fb2330d9cc0d20b3607404e7 | [
"Apache-2.0"
] | null | null | null | belfort/core/items/item_manager.py | SouravRipon/belfort | 91c6d98f7b6042f1fb2330d9cc0d20b3607404e7 | [
"Apache-2.0"
] | 1 | 2022-02-02T14:44:35.000Z | 2022-02-02T14:44:35.000Z | from .item import Item
class ItemManager(object):
def __init__(self):
"""
Initialises a new instance of the ItemManager class.
"""
self._items = []
def load(self):
"""
Loads all components within the ItemManager class.
"""
if len(self._items) >... | 18.55 | 60 | 0.522911 | 38 | 371 | 4.921053 | 0.657895 | 0.144385 | 0.203209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004255 | 0.366577 | 371 | 19 | 61 | 19.526316 | 0.791489 | 0.291105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5981445fc63303b3e0d94136f929260688f99be4 | 346 | py | Python | backend/tests/test_helpers.py | brownben/munro | 2beeae23f29fd064b102a44a1c2d3d852eed65e0 | [
"MIT"
] | 5 | 2020-02-02T14:58:15.000Z | 2022-01-07T08:24:37.000Z | backend/tests/test_helpers.py | brownben/munro | 2beeae23f29fd064b102a44a1c2d3d852eed65e0 | [
"MIT"
] | 773 | 2020-01-04T22:54:01.000Z | 2022-03-31T16:07:56.000Z | backend/tests/test_helpers.py | brownben/munro | 2beeae23f29fd064b102a44a1c2d3d852eed65e0 | [
"MIT"
] | 1 | 2021-12-25T14:32:25.000Z | 2021-12-25T14:32:25.000Z | from ..utils.helpers import *
class Test_toInt:
def test_returnsZeroIfNoNumber(self) -> None:
assert toInt("") == 0
def test_convertsStringToInteger(self) -> None:
assert toInt("-1") == -1
assert toInt("0") == 0
assert toInt("4") == 4
assert toInt("10") == 10
a... | 24.714286 | 51 | 0.566474 | 40 | 346 | 4.825 | 0.45 | 0.341969 | 0.145078 | 0.196891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068273 | 0.280347 | 346 | 13 | 52 | 26.615385 | 0.706827 | 0 | 0 | 0 | 0 | 0 | 0.026012 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | false | 0 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5994f65fe9a75dacc8d14328e7963f1e3a05f5f6 | 656 | py | Python | nobrainer/layers/padding.py | djarecka/nobrainer | 6d9820b76299d258a22365e39e6efa6a94c6385e | [
"Apache-2.0"
] | 17 | 2018-03-19T03:13:53.000Z | 2019-03-27T11:10:55.000Z | nobrainer/layers/padding.py | djarecka/nobrainer | 6d9820b76299d258a22365e39e6efa6a94c6385e | [
"Apache-2.0"
] | 29 | 2018-02-08T14:49:06.000Z | 2019-03-19T21:03:58.000Z | nobrainer/layers/padding.py | tapasi-brahma/nobrainer | c46586658d226bc3ca22869fd45a2674fdd52be9 | [
"Apache-2.0"
] | 12 | 2018-01-29T20:36:31.000Z | 2019-03-25T22:52:09.000Z | """Custom padding layers for nobrainer."""
import tensorflow as tf
from tensorflow.keras import layers
class ZeroPadding3DChannels(layers.Layer):
"""Pad the last dimension of a 5D tensor symmetrically with zeros.
This is meant for 3D convolutions, where tensors are 5D.
"""
def __init__(self, paddin... | 31.238095 | 87 | 0.661585 | 87 | 656 | 4.862069 | 0.574713 | 0.033097 | 0.042553 | 0.047281 | 0.018913 | 0.018913 | 0.018913 | 0 | 0 | 0 | 0 | 0.027027 | 0.210366 | 656 | 20 | 88 | 32.8 | 0.789575 | 0.280488 | 0 | 0 | 0 | 0 | 0.017699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5997d5aefc86badc591abb56ce53af532ccf98a8 | 194 | py | Python | budgetbuddy/paychecks/apps.py | michaelqknguyen/Budget-Buddy | d1d25648d29f9b398b399e63b187b54daf3be521 | [
"MIT"
] | null | null | null | budgetbuddy/paychecks/apps.py | michaelqknguyen/Budget-Buddy | d1d25648d29f9b398b399e63b187b54daf3be521 | [
"MIT"
] | null | null | null | budgetbuddy/paychecks/apps.py | michaelqknguyen/Budget-Buddy | d1d25648d29f9b398b399e63b187b54daf3be521 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class PaychecksConfig(AppConfig):
name = 'budgetbuddy.paychecks'
verbose_name = _("Paychecks")
| 24.25 | 54 | 0.778351 | 22 | 194 | 6.681818 | 0.727273 | 0.136054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 194 | 7 | 55 | 27.714286 | 0.885542 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ab9ef2c8bd5f1b9bf9dc4c1e1842b27dad318e6c | 442 | py | Python | trio_redis/errors.py | alekseyev/trio-redis | b883c4678033fcf2824c347b93d7c895d46b7283 | [
"BSD-3-Clause"
] | null | null | null | trio_redis/errors.py | alekseyev/trio-redis | b883c4678033fcf2824c347b93d7c895d46b7283 | [
"BSD-3-Clause"
] | null | null | null | trio_redis/errors.py | alekseyev/trio-redis | b883c4678033fcf2824c347b93d7c895d46b7283 | [
"BSD-3-Clause"
] | 2 | 2019-08-07T14:03:15.000Z | 2019-11-15T07:01:14.000Z | class RedisError(Exception):
"""Base class for all Redis-related errors.
"""
class ProtocolError(RedisError):
"""Raised when Redis responds with something that doesn't conform
to the protocol.
"""
class ResponseError(RedisError):
"""Raised when Redis returns an error response.
"""
clas... | 22.1 | 77 | 0.696833 | 50 | 442 | 6.16 | 0.62 | 0.097403 | 0.146104 | 0.162338 | 0.24026 | 0.24026 | 0.24026 | 0 | 0 | 0 | 0 | 0 | 0.20362 | 442 | 19 | 78 | 23.263158 | 0.875 | 0.556561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
abbd3cc9bba8da2fbe26f798150d27ae5e21be62 | 117 | py | Python | gym-foo/gym_foo/__init__.py | shauray8/quadruple_inverted_pendulum | 3b5746c534423d39da2582d4bae54ea7ecdacffd | [
"MIT"
] | null | null | null | gym-foo/gym_foo/__init__.py | shauray8/quadruple_inverted_pendulum | 3b5746c534423d39da2582d4bae54ea7ecdacffd | [
"MIT"
] | null | null | null | gym-foo/gym_foo/__init__.py | shauray8/quadruple_inverted_pendulum | 3b5746c534423d39da2582d4bae54ea7ecdacffd | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(
id='foo-v0',
entry_point='gym_foo.envs:QuadSwingUp',
)
| 16.714286 | 43 | 0.726496 | 16 | 117 | 5.1875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.145299 | 117 | 6 | 44 | 19.5 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.25641 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
abe51f3ce1355a406bf59ef6d09e2f091071d26b | 136 | py | Python | supervised/config.py | michaelneale/mljar-supervised | 8d1b5fdd56e994a7f13ec5f6d2033830744f3d6f | [
"MIT"
] | null | null | null | supervised/config.py | michaelneale/mljar-supervised | 8d1b5fdd56e994a7f13ec5f6d2033830744f3d6f | [
"MIT"
] | null | null | null | supervised/config.py | michaelneale/mljar-supervised | 8d1b5fdd56e994a7f13ec5f6d2033830744f3d6f | [
"MIT"
] | 1 | 2021-03-12T05:48:45.000Z | 2021-03-12T05:48:45.000Z | import tempfile
# this set a storage to temp dir
# you can overwrite this by setting your own dir
storage_path = tempfile.gettempdir()
| 22.666667 | 48 | 0.779412 | 22 | 136 | 4.772727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 136 | 5 | 49 | 27.2 | 0.9375 | 0.566176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
abfa5ea3311c197c73a09f7a28cb89a5e7b36a95 | 2,639 | py | Python | dinopass/models.py | alexandru-grajdeanu/dinopass | 92bbf1db89745e68d66e9d7160bb5efd35e81f06 | [
"MIT"
] | 4 | 2020-05-28T19:02:30.000Z | 2020-11-17T02:10:56.000Z | dinopass/models.py | alexandru-grajdeanu/dinopass | 92bbf1db89745e68d66e9d7160bb5efd35e81f06 | [
"MIT"
] | 1 | 2020-11-16T23:17:12.000Z | 2020-11-16T23:17:12.000Z | dinopass/models.py | alexandru-grajdeanu/dinopass | 92bbf1db89745e68d66e9d7160bb5efd35e81f06 | [
"MIT"
] | 1 | 2020-11-16T23:46:33.000Z | 2020-11-16T23:46:33.000Z | import os
import sys
from sqlalchemy import Column, Integer, String, create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
ENGINE = create_engine(f'sqlite:///{os.path.dirname(os.path.dirname(__file__))}/dinopass.db')
SESSION = sessionmaker(bind=ENGINE)
Base = d... | 27.778947 | 98 | 0.676393 | 335 | 2,639 | 5.119403 | 0.298507 | 0.065306 | 0.062974 | 0.073469 | 0.289213 | 0.173761 | 0.102624 | 0.066472 | 0.066472 | 0.066472 | 0 | 0 | 0.208791 | 2,639 | 94 | 99 | 28.074468 | 0.82136 | 0 | 0 | 0.121212 | 0 | 0 | 0.137173 | 0.047366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.19697 | false | 0.121212 | 0.075758 | 0.136364 | 0.590909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
f9f6f8f82ba091edba422d05d4b83e60feaa82c9 | 1,097 | py | Python | flankers/hrawler.py | SpaceAppsXploration/semantic-data-chronos | f7908f50892781154d623f46303812e88fdecb57 | [
"Apache-2.0"
] | 1 | 2017-06-15T17:51:19.000Z | 2017-06-15T17:51:19.000Z | flankers/hrawler.py | SpaceAppsXploration/semantic-data-chronos | f7908f50892781154d623f46303812e88fdecb57 | [
"Apache-2.0"
] | null | null | null | flankers/hrawler.py | SpaceAppsXploration/semantic-data-chronos | f7908f50892781154d623f46303812e88fdecb57 | [
"Apache-2.0"
] | null | null | null | import webapp2
from bs4 import BeautifulSoup
import feedparser
from config.config import _DEBUG
__author__ = 'Lorenzo'
class Hrawler(webapp2.RequestHandler):
"""
Index `http://adsabs.harvard.edu` resources using the Chronos' Cloud
"""
def get(self):
"""
Handler for the cronjob: `/cro... | 27.425 | 119 | 0.653601 | 140 | 1,097 | 4.992857 | 0.592857 | 0.042918 | 0.072961 | 0.085837 | 0.111588 | 0.111588 | 0.111588 | 0.111588 | 0.111588 | 0 | 0 | 0.020408 | 0.240656 | 1,097 | 39 | 120 | 28.128205 | 0.818727 | 0.519599 | 0 | 0 | 0 | 0 | 0.052369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.076923 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
e6108df5dfb8491a7e997309559e1273ec5fbeaf | 442 | py | Python | src/stories/exceptions.py | sashgorokhov-forks/stories | ae0596cd1c6eb2b159bc652706d28ed934af1507 | [
"BSD-2-Clause"
] | null | null | null | src/stories/exceptions.py | sashgorokhov-forks/stories | ae0596cd1c6eb2b159bc652706d28ed934af1507 | [
"BSD-2-Clause"
] | null | null | null | src/stories/exceptions.py | sashgorokhov-forks/stories | ae0596cd1c6eb2b159bc652706d28ed934af1507 | [
"BSD-2-Clause"
] | null | null | null | class StoryError(Exception):
pass
class FailureError(StoryError):
def __init__(self, reason):
self.reason = reason
super(FailureError, self).__init__()
def __repr__(self):
reason = repr(self.reason) if self.reason else "" # FIXME: Test me!
return self.__class__.__name__ +... | 21.047619 | 76 | 0.665158 | 45 | 442 | 6.088889 | 0.444444 | 0.182482 | 0.10219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226244 | 442 | 20 | 77 | 22.1 | 0.80117 | 0.033937 | 0 | 0.230769 | 0 | 0 | 0.004706 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0.153846 | false | 0.230769 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e611ac03fe04379886889851a4de29e80b57cc9d | 511 | py | Python | github/migrations/0002_auto_20211130_0550.py | zhpeng811/social.distance | d7a15cae817fc1aed31c460577de22a37bdfb6d3 | [
"W3C-20150513"
] | 6 | 2021-12-01T01:29:22.000Z | 2021-12-07T02:13:33.000Z | github/migrations/0002_auto_20211130_0550.py | zhpeng811/social.distance | d7a15cae817fc1aed31c460577de22a37bdfb6d3 | [
"W3C-20150513"
] | 7 | 2021-09-26T22:17:58.000Z | 2021-11-19T04:03:16.000Z | github/migrations/0002_auto_20211130_0550.py | CMPUT404Fall2021-6803d618/social.distance | d7a15cae817fc1aed31c460577de22a37bdfb6d3 | [
"W3C-20150513"
] | null | null | null | # Generated by Django 3.2.8 on 2021-11-30 05:50
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('github', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='githubevent',
old_name='github_url',
... | 21.291667 | 47 | 0.561644 | 50 | 511 | 5.56 | 0.62 | 0.151079 | 0.18705 | 0.215827 | 0.388489 | 0.388489 | 0.388489 | 0.388489 | 0 | 0 | 0 | 0.055233 | 0.32681 | 511 | 23 | 48 | 22.217391 | 0.752907 | 0.088063 | 0 | 0.352941 | 1 | 0 | 0.163793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e621c684720996f2aa4d16f59bd632d1cf7de158 | 238 | py | Python | unsupervised/kmeansPCA/recoverData.py | robotenique/mlAlgorithms | 612d7fb2dcf4430528f63d35d6f1d10a33fee1af | [
"Unlicense"
] | 4 | 2017-08-16T21:37:31.000Z | 2022-02-10T05:37:39.000Z | unsupervised/kmeansPCA/recoverData.py | robotenique/mlAlgorithms | 612d7fb2dcf4430528f63d35d6f1d10a33fee1af | [
"Unlicense"
] | null | null | null | unsupervised/kmeansPCA/recoverData.py | robotenique/mlAlgorithms | 612d7fb2dcf4430528f63d35d6f1d10a33fee1af | [
"Unlicense"
] | null | null | null | import numpy as np
def recoverData(Z, U, K):
"""
recovers an approximation the
original data that has been reduced to K dimensions. It returns the
approximate reconstruction in X_rec.
"""
return (U[:, :K]@Z.T).T
| 21.636364 | 71 | 0.655462 | 36 | 238 | 4.305556 | 0.833333 | 0.025806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247899 | 238 | 10 | 72 | 23.8 | 0.865922 | 0.563025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e63b5aa96e5a805caf311ca183141dc1a44bb272 | 197 | py | Python | main.py | llf-amy/pong_remixed | a0e7c528454ca6020a9482f1e3deb464ec65c64c | [
"MIT"
] | null | null | null | main.py | llf-amy/pong_remixed | a0e7c528454ca6020a9482f1e3deb464ec65c64c | [
"MIT"
] | null | null | null | main.py | llf-amy/pong_remixed | a0e7c528454ca6020a9482f1e3deb464ec65c64c | [
"MIT"
] | null | null | null | from kivy.app import App
from kivy.uix.widget import Widget
class PongGame(Widget):
pass
class PongApp(App):
def build(self):
pass
if __name__ == '__main__':
PongApp().run()
| 15.153846 | 34 | 0.664975 | 27 | 197 | 4.555556 | 0.62963 | 0.130081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22335 | 197 | 12 | 35 | 16.416667 | 0.803922 | 0 | 0 | 0.222222 | 0 | 0 | 0.040609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.222222 | 0.222222 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e63fde172ac315e02912d6f45da090d2aa8768f7 | 17,091 | py | Python | rmgweb/tests/testRMGTools.py | sudhir-12/RMG-website | e21f20fa2834dc3c7f1a7813ebf4f05c44238878 | [
"MIT"
] | 10 | 2015-10-02T00:11:02.000Z | 2021-04-04T05:57:10.000Z | rmgweb/tests/testRMGTools.py | sudhir-12/RMG-website | e21f20fa2834dc3c7f1a7813ebf4f05c44238878 | [
"MIT"
] | 128 | 2015-05-29T18:21:05.000Z | 2022-03-01T21:06:01.000Z | rmgweb/tests/testRMGTools.py | sudhir-12/RMG-website | e21f20fa2834dc3c7f1a7813ebf4f05c44238878 | [
"MIT"
] | 23 | 2015-07-18T23:40:21.000Z | 2021-04-24T02:58:46.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# #
# RMG Website - A Django-powered website for Reaction Mechanism Generator #
# ... | 40.119718 | 141 | 0.623076 | 2,111 | 17,091 | 4.922312 | 0.134533 | 0.05601 | 0.057742 | 0.047734 | 0.770859 | 0.741411 | 0.712059 | 0.687229 | 0.666731 | 0.664517 | 0 | 0.02781 | 0.24469 | 17,091 | 425 | 142 | 40.214118 | 0.777132 | 0.19718 | 0 | 0.573684 | 0 | 0.015789 | 0.251761 | 0.047167 | 0 | 0 | 0 | 0 | 0.273684 | 1 | 0.1 | false | 0 | 0.042105 | 0 | 0.184211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e65fdfbd4a069eeb6935fcd384ea113c266dd175 | 99 | py | Python | CONFIG.py | p4sschen/Toy4Recon | e4fa6a512b238cca6d6d072ed5c66899de60bb06 | [
"MIT"
] | 1 | 2020-12-16T13:14:05.000Z | 2020-12-16T13:14:05.000Z | CONFIG.py | p4sschen/Toy4Recon | e4fa6a512b238cca6d6d072ed5c66899de60bb06 | [
"MIT"
] | null | null | null | CONFIG.py | p4sschen/Toy4Recon | e4fa6a512b238cca6d6d072ed5c66899de60bb06 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
REDIS_HOST = '192.168.3.100'
REDIS_PORT = 6379
REDIS_PASSWORD = 'foobared'
| 19.8 | 28 | 0.666667 | 15 | 99 | 4.2 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.141414 | 99 | 4 | 29 | 24.75 | 0.564706 | 0.212121 | 0 | 0 | 0 | 0 | 0.276316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e66169fb005089c56de48a82daf5233d350c4268 | 1,340 | py | Python | tests/test_core_SimpleSection.py | iamlikeme/sections | 62f288ec2912bbbf25da105d12cf5e242475b484 | [
"MIT"
] | null | null | null | tests/test_core_SimpleSection.py | iamlikeme/sections | 62f288ec2912bbbf25da105d12cf5e242475b484 | [
"MIT"
] | 32 | 2015-07-06T20:11:55.000Z | 2015-07-19T21:46:17.000Z | tests/test_core_SimpleSection.py | iamlikeme/sections | 62f288ec2912bbbf25da105d12cf5e242475b484 | [
"MIT"
] | 2 | 2018-11-16T11:04:21.000Z | 2019-05-17T12:51:58.000Z | import unittest
from sections.core import SimpleSection, cached_property
class SimpleSectionTests(unittest.TestCase):
def test_cached_properties(self):
self.assertTrue(isinstance(SimpleSection._cog, cached_property))
self.assertTrue(isinstance(SimpleSection.cog, cached_property))
... | 39.411765 | 77 | 0.725373 | 141 | 1,340 | 6.702128 | 0.382979 | 0.118519 | 0.177778 | 0.274074 | 0.504762 | 0.390476 | 0.390476 | 0.390476 | 0.390476 | 0.390476 | 0 | 0.005623 | 0.203731 | 1,340 | 33 | 78 | 40.606061 | 0.880037 | 0.166418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.526316 | 0 | null | null | 0 | 0.105263 | null | null | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0518c8336d8f64d3ad2f8790460b2d397572f313 | 73 | py | Python | talos/template/alembic/migration/tpl_README.py | royl88/talos | 7a803f3e9a3dcf1d16ed6e9cd798a7a401de8cb8 | [
"Apache-2.0"
] | 1 | 2021-05-08T09:00:35.000Z | 2021-05-08T09:00:35.000Z | talos/template/alembic/migration/tpl_README.py | royl88/talos | 7a803f3e9a3dcf1d16ed6e9cd798a7a401de8cb8 | [
"Apache-2.0"
] | null | null | null | talos/template/alembic/migration/tpl_README.py | royl88/talos | 7a803f3e9a3dcf1d16ed6e9cd798a7a401de8cb8 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
TEMPLATE = u'''Generic single-database configuration.
''' | 18.25 | 53 | 0.726027 | 9 | 73 | 5.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.109589 | 73 | 4 | 54 | 18.25 | 0.8 | 0.164384 | 0 | 0 | 0 | 0 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
052dead318fc9d8b3f87ff266370ebcae8968e68 | 42 | py | Python | bandwidth/voice/exceptions/__init__.py | roverdotcom/python-sdk | c6947fb3331b77f0064aeec2dcf0c4ff178de34c | [
"MIT"
] | 5 | 2020-11-04T14:29:37.000Z | 2022-02-23T20:33:07.000Z | bandwidth/voice/exceptions/__init__.py | roverdotcom/python-sdk | c6947fb3331b77f0064aeec2dcf0c4ff178de34c | [
"MIT"
] | 3 | 2021-07-23T18:48:48.000Z | 2022-03-15T14:59:07.000Z | bandwidth/voice/exceptions/__init__.py | roverdotcom/python-sdk | c6947fb3331b77f0064aeec2dcf0c4ff178de34c | [
"MIT"
] | 8 | 2020-04-14T09:22:53.000Z | 2022-03-11T10:46:06.000Z | __all__ = [
'api_error_exception',
]
| 10.5 | 26 | 0.619048 | 4 | 42 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 42 | 3 | 27 | 14 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.463415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.