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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b3edb25141ff3bac7e8859e484447cd10c09ff20 | 85,475 | py | Python | models/networks.py | tkuri/CGIntrinsics | e84b73aa3784112b389b955258966f827b1f03d9 | [
"MIT"
] | null | null | null | models/networks.py | tkuri/CGIntrinsics | e84b73aa3784112b389b955258966f827b1f03d9 | [
"MIT"
] | null | null | null | models/networks.py | tkuri/CGIntrinsics | e84b73aa3784112b389b955258966f827b1f03d9 | [
"MIT"
] | 1 | 2021-06-19T16:50:19.000Z | 2021-06-19T16:50:19.000Z | import torch
import torch.nn as nn
import torch.sparse
from torch.autograd import Variable
import numpy as np
import sys
from torch.autograd import Function
import math
import h5py
import json
# from . import resnet1
import matplotlib.pyplot as plt
from skimage.transform import resize
#################################... | 43.631955 | 167 | 0.57494 | 11,393 | 85,475 | 4.03704 | 0.046695 | 0.004827 | 0.028308 | 0.01722 | 0.798909 | 0.761969 | 0.73951 | 0.709419 | 0.686024 | 0.663369 | 0 | 0.035266 | 0.292378 | 85,475 | 1,958 | 168 | 43.654239 | 0.725167 | 0.251407 | 0 | 0.555249 | 0 | 0 | 0.012296 | 0.000665 | 0 | 0 | 0 | 0 | 0.007366 | 1 | 0.054328 | false | 0 | 0.01105 | 0.001842 | 0.131676 | 0.010129 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b60403bd375522e254e1a281973d2f31ef65e87d | 1,239 | py | Python | model/operationoutcome.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/operationoutcome.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/operationoutcome.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/OperationOutcome) on 2020-02-03.
# 2020, SMART Health IT.
import sys
from dataclasses import dataclass, field
from typing import ClassVar, Optional, List
from .backboneelement import Backbo... | 30.219512 | 113 | 0.740113 | 143 | 1,239 | 6.391608 | 0.524476 | 0.038293 | 0.030635 | 0.054705 | 0.087527 | 0.087527 | 0.087527 | 0.087527 | 0 | 0 | 0 | 0.023324 | 0.169492 | 1,239 | 41 | 114 | 30.219512 | 0.864917 | 0.356739 | 0 | 0.105263 | 1 | 0 | 0.049007 | 0.027815 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.315789 | 0 | 0.894737 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b611e06647cf25f662795557ff10a0901313ad2e | 16,736 | py | Python | mrcnn/prep_notebook.py | kbardool/Mask_RCNN_2 | dc0c5ef3615cff8ffea162c347aec7a7ab88188b | [
"MIT"
] | 7 | 2018-08-07T13:56:32.000Z | 2021-04-06T11:07:20.000Z | mrcnn/prep_notebook.py | kbardool/Contextual_Inference | dc0c5ef3615cff8ffea162c347aec7a7ab88188b | [
"MIT"
] | null | null | null | mrcnn/prep_notebook.py | kbardool/Contextual_Inference | dc0c5ef3615cff8ffea162c347aec7a7ab88188b | [
"MIT"
] | 1 | 2019-02-01T06:49:58.000Z | 2019-02-01T06:49:58.000Z | '''
prep_dev_notebook:
pred_newshapes_dev: Runs against new_shapes
'''
import os
import sys
import random
import math
import re
import gc
import time
import numpy as np
import cv2
import matplotlib
import matplotlib.pyplot as plt
import tensorflow as tf
import keras
import keras.backend as KB
import mrcnn.model_mod ... | 41.631841 | 139 | 0.571881 | 1,844 | 16,736 | 4.92679 | 0.12961 | 0.059439 | 0.038745 | 0.024766 | 0.744854 | 0.7224 | 0.714695 | 0.710952 | 0.695432 | 0.66087 | 0 | 0.01108 | 0.234226 | 16,736 | 401 | 140 | 41.735661 | 0.6978 | 0.224426 | 0 | 0.628866 | 0 | 0 | 0.127104 | 0.031182 | 0 | 0 | 0 | 0 | 0.005155 | 1 | 0.025773 | false | 0.020619 | 0.134021 | 0 | 0.180412 | 0.164948 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
37364d93f41797c2d94de64e1a22fc15b1eaf8b9 | 809 | py | Python | apply/models.py | 4yub1k/job-portal-django | 1e6df39cd56cc4a9b0a810a0257e3f1c5b103c5d | [
"MIT"
] | null | null | null | apply/models.py | 4yub1k/job-portal-django | 1e6df39cd56cc4a9b0a810a0257e3f1c5b103c5d | [
"MIT"
] | null | null | null | apply/models.py | 4yub1k/job-portal-django | 1e6df39cd56cc4a9b0a810a0257e3f1c5b103c5d | [
"MIT"
] | null | null | null | from django.db import models
from listings.models import PostJob
# Create your models here.
class ApplicantForm(models.Model):
job=models.CharField(max_length=100)
name = models.CharField(max_length=50)
email = models.EmailField(max_length=200)
mobile = models.CharField(max_length=15)
education = mo... | 38.52381 | 81 | 0.733004 | 108 | 809 | 5.333333 | 0.509259 | 0.109375 | 0.1875 | 0.25 | 0.21875 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0.023392 | 0.154512 | 809 | 21 | 82 | 38.52381 | 0.818713 | 0.029666 | 0 | 0.105263 | 0 | 0 | 0.020408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.105263 | 0.105263 | 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 | 1 | 1 | 0 | 0 | 4 |
376c2ba2e639b495e4597e5d4756a44025763255 | 244 | py | Python | modules/xia2/command_line/resolutionizer.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/xia2/command_line/resolutionizer.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/xia2/command_line/resolutionizer.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | 1 | 2020-02-04T15:39:06.000Z | 2020-02-04T15:39:06.000Z | # LIBTBX_PRE_DISPATCHER_INCLUDE_SH export BOOST_ADAPTBX_FPE_DEFAULT=1
from __future__ import absolute_import, division, print_function
import sys
if __name__ == "__main__":
from dials.util.Resolutionizer import run
run(sys.argv[1:])
| 24.4 | 69 | 0.79918 | 34 | 244 | 5.117647 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.131148 | 244 | 9 | 70 | 27.111111 | 0.811321 | 0.27459 | 0 | 0 | 0 | 0 | 0.045714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3771d8b8b10ada3965f1cd8fc8bc1d0e18b2817c | 89 | py | Python | networks/__init__.py | maplel/vehicle-counting | c30372a9695fd7b838491461ee787f72c846d0b4 | [
"MIT"
] | 47 | 2020-11-08T08:14:22.000Z | 2022-03-26T15:18:04.000Z | networks/__init__.py | alikaz3mi/vehicle-counting | 2319714acdc8dcb97b0b7a2c87391b94095bf6fa | [
"MIT"
] | 16 | 2020-11-08T09:05:36.000Z | 2022-03-22T04:24:37.000Z | networks/__init__.py | alikaz3mi/vehicle-counting | 2319714acdc8dcb97b0b7a2c87391b94095bf6fa | [
"MIT"
] | 25 | 2020-11-08T08:14:24.000Z | 2022-03-15T07:19:31.000Z | from .yolo import get_model
from .detector import Detector
from .deepsort import DeepSort | 29.666667 | 30 | 0.842697 | 13 | 89 | 5.692308 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 3 | 31 | 29.666667 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3775adf96a68d0edf0da11b01b76bbd7517e3cbf | 68 | py | Python | lambda-vpc/lambda.py | jeffbrl/terraform-examples | c25aeda07d26f0f12b6a233cab28227fa668b8fa | [
"MIT"
] | 6 | 2019-03-11T19:07:38.000Z | 2021-11-08T13:17:55.000Z | lambda-simple/lambda.py | jeffbrl/terraform-examples | c25aeda07d26f0f12b6a233cab28227fa668b8fa | [
"MIT"
] | null | null | null | lambda-simple/lambda.py | jeffbrl/terraform-examples | c25aeda07d26f0f12b6a233cab28227fa668b8fa | [
"MIT"
] | 7 | 2019-07-28T13:25:23.000Z | 2022-02-21T10:12:14.000Z |
def lambda_handler(event, context):
print("Hello from Lambda")
| 17 | 35 | 0.720588 | 9 | 68 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 36 | 22.666667 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
806a59c3e5ca274ac7ce3f0a467e29b7924a7c78 | 130 | py | Python | sandbox/measureIntensities.py | soylentdeen/CIAO-commissioning-tools | 8cb3d7412106d3b18054df2e82796000df0035bb | [
"MIT"
] | null | null | null | sandbox/measureIntensities.py | soylentdeen/CIAO-commissioning-tools | 8cb3d7412106d3b18054df2e82796000df0035bb | [
"MIT"
] | null | null | null | sandbox/measureIntensities.py | soylentdeen/CIAO-commissioning-tools | 8cb3d7412106d3b18054df2e82796000df0035bb | [
"MIT"
] | null | null | null | import scipy
import pyfits
import numpy
import VLTTools
ciao = VLTTools.VLTConnection(simulate=False)
ciao.averageIntensities()
| 14.444444 | 45 | 0.830769 | 15 | 130 | 7.2 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 130 | 8 | 46 | 16.25 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8084a4f3321bdd6b0f54cc24dd55849061adcdd0 | 160 | py | Python | src/foriforloop.py | Leopold2020/code_repo | 24b1a932d77ba1456f8df4978f029dd841c7b177 | [
"MIT"
] | null | null | null | src/foriforloop.py | Leopold2020/code_repo | 24b1a932d77ba1456f8df4978f029dd841c7b177 | [
"MIT"
] | null | null | null | src/foriforloop.py | Leopold2020/code_repo | 24b1a932d77ba1456f8df4978f029dd841c7b177 | [
"MIT"
] | null | null | null | #Oskar Svedlund
#TEINF-20
#2021-09-20
#For i For loop
for i in range(1,10):
for j in range(1,10):
print(i*j, end="\t")
print()
| 16 | 28 | 0.51875 | 29 | 160 | 2.862069 | 0.586207 | 0.096386 | 0.192771 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.325 | 160 | 10 | 29 | 16 | 0.62037 | 0.2875 | 0 | 0 | 0 | 0 | 0.018018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8097a5a678a48a0f40893c973ba73f456ebd2dc0 | 71 | py | Python | mohdAkibUddin.py | mohdAkibUddin/Week2 | f8ad361a3d734dbc32d1bcc571a7fe1abf41b481 | [
"MIT"
] | null | null | null | mohdAkibUddin.py | mohdAkibUddin/Week2 | f8ad361a3d734dbc32d1bcc571a7fe1abf41b481 | [
"MIT"
] | null | null | null | mohdAkibUddin.py | mohdAkibUddin/Week2 | f8ad361a3d734dbc32d1bcc571a7fe1abf41b481 | [
"MIT"
] | 11 | 2020-09-21T18:23:21.000Z | 2020-10-03T18:18:14.000Z | while (True):
print("mohammed uddin made changes")
print(":D")
| 17.75 | 40 | 0.619718 | 9 | 71 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 71 | 3 | 41 | 23.666667 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.408451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 4 |
809bd2a29d3c3b05833188596c8dc99b707ea9c0 | 397 | py | Python | tests/plugins/test_stv.py | hymer-up/streamlink | f09bf6e04cddc78eceb9ded655f716ef3ee4b84f | [
"BSD-2-Clause"
] | 5 | 2017-03-21T19:43:17.000Z | 2018-10-03T14:04:29.000Z | tests/plugins/test_stv.py | hymer-up/streamlink | f09bf6e04cddc78eceb9ded655f716ef3ee4b84f | [
"BSD-2-Clause"
] | 7 | 2016-10-13T23:29:31.000Z | 2018-06-28T14:04:32.000Z | tests/plugins/test_stv.py | bumplzz69/streamlink | 34abc43875d7663ebafa241573dece272e93d88b | [
"BSD-2-Clause"
] | 2 | 2016-11-24T18:37:33.000Z | 2017-03-21T19:43:49.000Z | import unittest
from streamlink.plugins.stv import STV
class TestPluginSTV(unittest.TestCase):
def test_can_handle_url(self):
self.assertTrue(STV.can_handle_url('https://player.stv.tv/live'))
self.assertTrue(STV.can_handle_url('http://player.stv.tv/live'))
def test_can_handle_url_negative(se... | 30.538462 | 73 | 0.738035 | 57 | 397 | 4.912281 | 0.438596 | 0.160714 | 0.214286 | 0.160714 | 0.425 | 0.207143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128463 | 397 | 12 | 74 | 33.083333 | 0.809249 | 0 | 0 | 0 | 0 | 0 | 0.186398 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
80a5b928bb6d1053f9027149c1b0bf7b0a002c9f | 24 | py | Python | butterflow/version.py | changhaitravis/butterflow | d9f92e31a57e800a56b98fa17786144b50d3e3bb | [
"MIT"
] | 1,340 | 2015-01-04T01:43:39.000Z | 2022-03-29T04:44:41.000Z | butterflow/version.py | pmorris2012/butterflow | 08f09a0c5e70cdd24953c638b8785e6deee9022e | [
"MIT"
] | 134 | 2015-04-05T10:04:02.000Z | 2022-02-16T22:34:03.000Z | butterflow/version.py | pmorris2012/butterflow | 08f09a0c5e70cdd24953c638b8785e6deee9022e | [
"MIT"
] | 116 | 2015-04-14T17:37:33.000Z | 2022-02-19T21:36:22.000Z | __version__ = '0.2.4a4'
| 12 | 23 | 0.666667 | 4 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
80a7758b26ee685bbdd108bed7010842ba5f6ca5 | 191 | py | Python | app/commands.py | Addovej/simple_catalog | 3972c57796538958227a924d618df29c456389ab | [
"MIT"
] | null | null | null | app/commands.py | Addovej/simple_catalog | 3972c57796538958227a924d618df29c456389ab | [
"MIT"
] | null | null | null | app/commands.py | Addovej/simple_catalog | 3972c57796538958227a924d618df29c456389ab | [
"MIT"
] | null | null | null | from flask import current_app as app
@app.cli.command('sync-data')
def sync_data_cli():
from app.tasks import sync_data
print('Sync data was launched')
sync_data.apply_async()
| 19.1 | 36 | 0.727749 | 31 | 191 | 4.290323 | 0.548387 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172775 | 191 | 9 | 37 | 21.222222 | 0.841772 | 0 | 0 | 0 | 0 | 0 | 0.162304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
80d33d703d579b6c6f9d8c149124f4f729a68c98 | 89 | py | Python | game_core/app/user/__init__.py | meseta/advent-of-code-2020 | a6871b2efa99c38d5d13d872e53a8e9649f8322b | [
"MIT"
] | 1 | 2020-12-30T11:25:17.000Z | 2020-12-30T11:25:17.000Z | game_core/app/user/__init__.py | meseta/advent-of-code-2020 | a6871b2efa99c38d5d13d872e53a8e9649f8322b | [
"MIT"
] | 13 | 2020-12-29T19:08:20.000Z | 2021-02-01T04:27:36.000Z | game_core/app/user/__init__.py | meseta/advent-of-code-2020 | a6871b2efa99c38d5d13d872e53a8e9649f8322b | [
"MIT"
] | 1 | 2020-12-27T19:57:16.000Z | 2020-12-27T19:57:16.000Z | from .user import User
from .models import UserData, Source
from .sentinels import NoUid
| 22.25 | 36 | 0.808989 | 13 | 89 | 5.538462 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 3 | 37 | 29.666667 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
80f45a78b0c2b125069f786891a8a66588be6f0b | 53 | py | Python | researchutils/chainer/training/__init__.py | keio-ytlab/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | 1 | 2018-10-25T12:57:38.000Z | 2018-10-25T12:57:38.000Z | researchutils/chainer/training/__init__.py | yuishihara/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | 28 | 2018-08-25T03:54:30.000Z | 2018-10-14T12:09:47.000Z | researchutils/chainer/training/__init__.py | yuishihara/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | null | null | null | from researchutils.chainer.training import extensions | 53 | 53 | 0.90566 | 6 | 53 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 1 | 53 | 53 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
03816d13c5acc34622656515ab97d00edc0dbff5 | 30 | py | Python | hilbert/discontinu.py | kiaderouiche/hilbmetrics | c106d86f9cfad5902e0a6aaa0b3e88312910c42a | [
"Apache-2.0"
] | null | null | null | hilbert/discontinu.py | kiaderouiche/hilbmetrics | c106d86f9cfad5902e0a6aaa0b3e88312910c42a | [
"Apache-2.0"
] | 1 | 2020-10-07T14:09:50.000Z | 2020-10-07T14:09:50.000Z | hilbert/discontinu.py | kiaderouiche/hilbmetrics | c106d86f9cfad5902e0a6aaa0b3e88312910c42a | [
"Apache-2.0"
] | null | null | null | """
Draw discontinu form
"""
| 6 | 20 | 0.6 | 3 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 4 | 21 | 7.5 | 0.75 | 0.666667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03fea0a393e3529279b7c095f4fe579bb316d449 | 254 | py | Python | src/pytest_alembic/plugin/__init__.py | ZipFile/pytest-alembic | f0f761e6ae2cd7764582f8c6e4c15f3623512de9 | [
"MIT"
] | 47 | 2020-04-16T20:03:04.000Z | 2022-03-23T09:51:01.000Z | src/pytest_alembic/plugin/__init__.py | ZipFile/pytest-alembic | f0f761e6ae2cd7764582f8c6e4c15f3623512de9 | [
"MIT"
] | 30 | 2020-06-26T15:46:45.000Z | 2022-03-12T17:29:38.000Z | src/pytest_alembic/plugin/__init__.py | ZipFile/pytest-alembic | f0f761e6ae2cd7764582f8c6e4c15f3623512de9 | [
"MIT"
] | 8 | 2021-03-04T16:44:22.000Z | 2022-01-21T19:16:33.000Z | # flake8: noqa
from pytest_alembic.plugin.fixtures import alembic_config, alembic_engine, alembic_runner
from pytest_alembic.plugin.hooks import (
pytest_addoption,
pytest_collection_modifyitems,
pytest_configure,
pytest_itemcollected,
)
| 28.222222 | 89 | 0.811024 | 29 | 254 | 6.758621 | 0.586207 | 0.102041 | 0.173469 | 0.234694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0.133858 | 254 | 8 | 90 | 31.75 | 0.886364 | 0.047244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff16761ac6ac64a735ea2b3c625e7fab066e67b4 | 97 | py | Python | Hello-World/Python/hello_world_weiyim.py | RoyalTechie/Hacktoberfest | 5a66f81972a3db15d7c48c8d163d8de4df01d0fe | [
"Apache-2.0"
] | 1 | 2021-10-08T17:18:23.000Z | 2021-10-08T17:18:23.000Z | Hello-World/Python/hello_world_weiyim.py | RoyalTechie/Hacktoberfest | 5a66f81972a3db15d7c48c8d163d8de4df01d0fe | [
"Apache-2.0"
] | null | null | null | Hello-World/Python/hello_world_weiyim.py | RoyalTechie/Hacktoberfest | 5a66f81972a3db15d7c48c8d163d8de4df01d0fe | [
"Apache-2.0"
] | null | null | null | '''
LANGUAGE: Python
AUTHOR: Weiyi
GITHUB: https://github.com/weiyi-m
'''
print("Hello World!")
| 12.125 | 34 | 0.680412 | 13 | 97 | 5.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 7 | 35 | 13.857143 | 0.767442 | 0.670103 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
ff1b51db173b135f17b515974a4212da0d589ff5 | 673 | py | Python | music/migrations/0003_auto_20170326_1725.py | wilk16/music | 1fce992fa3d3b0f00202c4e5db7cdd3129794325 | [
"MIT"
] | 1 | 2017-04-27T19:47:52.000Z | 2017-04-27T19:47:52.000Z | music/migrations/0003_auto_20170326_1725.py | wilk16/music | 1fce992fa3d3b0f00202c4e5db7cdd3129794325 | [
"MIT"
] | null | null | null | music/migrations/0003_auto_20170326_1725.py | wilk16/music | 1fce992fa3d3b0f00202c4e5db7cdd3129794325 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-03-26 17:25
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('music', '0002_auto_20170325_1658'),
]
operations = [
migrations.AlterModelOptions(
... | 24.035714 | 53 | 0.569094 | 59 | 673 | 6.322034 | 0.711864 | 0.217158 | 0.24933 | 0.187668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069328 | 0.292719 | 673 | 27 | 54 | 24.925926 | 0.714286 | 0.10104 | 0 | 0.3 | 1 | 0 | 0.177741 | 0.038206 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
207e722020a615f43ed5982780d18acdc6149839 | 687 | py | Python | httprider/core/util_functions.py | iSWORD/http-rider | 5d9e5cc8c5166ab58f81d30d21b3ce2497bf09b9 | [
"MIT"
] | 27 | 2019-12-20T00:10:28.000Z | 2022-03-09T18:04:23.000Z | httprider/core/util_functions.py | iSWORD/http-rider | 5d9e5cc8c5166ab58f81d30d21b3ce2497bf09b9 | [
"MIT"
] | 6 | 2019-10-13T08:50:21.000Z | 2020-06-05T12:23:08.000Z | httprider/core/util_functions.py | iSWORD/http-rider | 5d9e5cc8c5166ab58f81d30d21b3ce2497bf09b9 | [
"MIT"
] | 7 | 2019-08-10T01:38:31.000Z | 2021-08-23T05:28:46.000Z | import base64
from httprider.core.constants import UTF_8_ENCODING
def str_to_base64e(arg, url_safe=False):
if not arg:
return ""
if url_safe:
return base64.urlsafe_b64encode(bytes(arg, UTF_8_ENCODING)).decode(
UTF_8_ENCODING
)
else:
return base64.b64encode(byt... | 23.689655 | 83 | 0.695779 | 95 | 687 | 4.715789 | 0.336842 | 0.0625 | 0.1875 | 0.160714 | 0.732143 | 0.732143 | 0.575893 | 0.464286 | 0.464286 | 0.464286 | 0 | 0.068519 | 0.213974 | 687 | 28 | 84 | 24.535714 | 0.761111 | 0 | 0 | 0.421053 | 0 | 0 | 0.034935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.105263 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
20cf61fa63479f73f04541a938e1a69f0899fa45 | 159 | py | Python | async_pluct/__init__.py | lucasts/async-pluct | 466e60ed6ed418cd5aa28cae457af61ef6984325 | [
"MIT"
] | 4 | 2017-11-08T19:43:05.000Z | 2017-11-10T15:03:46.000Z | async_pluct/__init__.py | lucasts/async-pluct | 466e60ed6ed418cd5aa28cae457af61ef6984325 | [
"MIT"
] | 1 | 2021-06-01T21:20:10.000Z | 2021-06-01T21:20:10.000Z | async_pluct/__init__.py | lucasts/async-pluct | 466e60ed6ed418cd5aa28cae457af61ef6984325 | [
"MIT"
] | 1 | 2018-05-25T18:02:10.000Z | 2018-05-25T18:02:10.000Z | # Used to mock validate method on tests
try:
from async_pluct import resource
resources = resource
except ImportError:
pass
__version__ = '0.3.4'
| 17.666667 | 39 | 0.72327 | 22 | 159 | 5 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.220126 | 159 | 8 | 40 | 19.875 | 0.862903 | 0.232704 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
4549a01687a779349f7bebd7bb8082ab53880b54 | 85 | py | Python | fabric_colors/main.py | fabric-colors/fabric-colors | de43a4e78b87b6fbfecacca1525178dea1827680 | [
"BSD-2-Clause"
] | 3 | 2015-01-14T06:45:44.000Z | 2016-11-15T13:37:16.000Z | fabric_colors/main.py | fabric-colors/fabric-colors | de43a4e78b87b6fbfecacca1525178dea1827680 | [
"BSD-2-Clause"
] | null | null | null | fabric_colors/main.py | fabric-colors/fabric-colors | de43a4e78b87b6fbfecacca1525178dea1827680 | [
"BSD-2-Clause"
] | null | null | null | def main():
"""
Main command-line execution loop.
"""
print "hello!"
| 14.166667 | 37 | 0.529412 | 9 | 85 | 5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305882 | 85 | 5 | 38 | 17 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
45666129dd2cfce487e7cf0c08300367cf69e77e | 226 | py | Python | service_data/store_data/admin.py | Djalyarim/Test_task | c4f66b8ef50fcde679c4dff62ddee162064f26e0 | [
"MIT"
] | 1 | 2022-02-01T08:29:39.000Z | 2022-02-01T08:29:39.000Z | service_data/store_data/admin.py | Djalyarim/Test_task | c4f66b8ef50fcde679c4dff62ddee162064f26e0 | [
"MIT"
] | null | null | null | service_data/store_data/admin.py | Djalyarim/Test_task | c4f66b8ef50fcde679c4dff62ddee162064f26e0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import UserWeight
@admin.register(UserWeight)
class UserweightAdmin(admin.ModelAdmin):
list_display = ('id', 'user_id', 'day', 'weight')
empty_value_display = '-пусто-'
| 22.6 | 53 | 0.734513 | 27 | 226 | 6 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137168 | 226 | 9 | 54 | 25.111111 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0.110619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
458f340ccbc47b26ed840f1fde9b3e90c4681d97 | 876 | py | Python | tests/util.py | cook-health/messaging | 1a827b97d9af6e56d55c362b29dd79a6cb373f88 | [
"MIT"
] | null | null | null | tests/util.py | cook-health/messaging | 1a827b97d9af6e56d55c362b29dd79a6cb373f88 | [
"MIT"
] | 2 | 2018-03-14T10:42:37.000Z | 2018-03-14T11:01:31.000Z | tests/util.py | Seliniux777/Nexmo-nexmo-python | d1d60e8068b1cb23f12507a6ec1cd500285890b5 | [
"MIT"
] | 1 | 2020-10-18T09:41:15.000Z | 2020-10-18T09:41:15.000Z | import re
import pytest
try:
from urllib.parse import urlparse
except ImportError:
from urlparse import urlparse
import responses
def request_body():
return responses.calls[0].request.body
def request_query():
return urlparse(responses.calls[0].request.url).query
def request_user_agent():
r... | 21.365854 | 99 | 0.723744 | 115 | 876 | 5.4 | 0.434783 | 0.080515 | 0.120773 | 0.177134 | 0.214171 | 0.169082 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.14726 | 876 | 40 | 100 | 21.9 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.113014 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.304348 | false | 0 | 0.26087 | 0.217391 | 0.782609 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
45a8ff6d95e1c12c273882b1f0f7453ab2352319 | 1,643 | py | Python | test/pandas/1_select.py | wull566/tensorflow_demo | c2c45050867cb056b8193eb53466d26b80b0ec13 | [
"MIT"
] | 2 | 2019-03-24T12:58:17.000Z | 2021-05-18T06:21:21.000Z | test/pandas/1_select.py | wull566/tensorflow_demo | c2c45050867cb056b8193eb53466d26b80b0ec13 | [
"MIT"
] | null | null | null | test/pandas/1_select.py | wull566/tensorflow_demo | c2c45050867cb056b8193eb53466d26b80b0ec13 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
pandas 学习
字典形式的numpy
"""
from __future__ import print_function
import numpy as np
import pandas as pd
dates = pd.date_range('20130101', periods=6)
df = pd.DataFrame(np.arange(24).reshape((6,4)),index=dates, columns=['A','B','C','D'])
"""
A B C ... | 14.286957 | 86 | 0.506999 | 338 | 1,643 | 2.446746 | 0.221893 | 0.224909 | 0.077388 | 0.024184 | 0.58162 | 0.428053 | 0.41838 | 0.382104 | 0.353083 | 0.353083 | 0 | 0.416814 | 0.312234 | 1,643 | 114 | 87 | 14.412281 | 0.315044 | 0.057821 | 0 | 0 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.1875 | 0.75 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 4 |
afd9196a7899334abc62e4ac1a6e707be3e9bbb2 | 45 | py | Python | pyipma/__init__.py | joaocps/pyipma | d10e14bed66213c328e5f409d2cd7b0fddffa6e4 | [
"MIT"
] | null | null | null | pyipma/__init__.py | joaocps/pyipma | d10e14bed66213c328e5f409d2cd7b0fddffa6e4 | [
"MIT"
] | null | null | null | pyipma/__init__.py | joaocps/pyipma | d10e14bed66213c328e5f409d2cd7b0fddffa6e4 | [
"MIT"
] | null | null | null | from .consts import *
__version__ = '2.0.5'
| 11.25 | 21 | 0.666667 | 7 | 45 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.177778 | 45 | 3 | 22 | 15 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
afe0fb0fe777cecce7f8b46ab7a630caecdcd1dd | 135 | py | Python | wmc/__main__.py | axju/wmc | caa54c3bfe809104c8c65972d116388dcfb066f5 | [
"MIT"
] | 1 | 2019-09-16T22:24:23.000Z | 2019-09-16T22:24:23.000Z | wmc/__main__.py | axju/wmc | caa54c3bfe809104c8c65972d116388dcfb066f5 | [
"MIT"
] | null | null | null | wmc/__main__.py | axju/wmc | caa54c3bfe809104c8c65972d116388dcfb066f5 | [
"MIT"
] | null | null | null | """Only the entry point for the python command"""
from wmc.cli import main
if __name__ == '__main__': # pragma: no cover
main()
| 19.285714 | 49 | 0.674074 | 20 | 135 | 4.15 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207407 | 135 | 6 | 50 | 22.5 | 0.775701 | 0.451852 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
afe39d9a773ee94edb0c80681cedc259ff4d532a | 735 | py | Python | dynamicserialize/dstypes/com/raytheon/uf/common/localization/stream/LocalizationStreamGetRequest.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | dynamicserialize/dstypes/com/raytheon/uf/common/localization/stream/LocalizationStreamGetRequest.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | dynamicserialize/dstypes/com/raytheon/uf/common/localization/stream/LocalizationStreamGetRequest.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | ##
##
# File auto-generated against equivalent DynamicSerialize Java class
import os
from dynamicserialize.dstypes.com.raytheon.uf.common.localization.stream import AbstractLocalizationStreamRequest
from dynamicserialize.dstypes.com.raytheon.uf.common.auth.user import User
class LocalizationStreamGetRequest(Abstract... | 25.344828 | 113 | 0.737415 | 74 | 735 | 7.216216 | 0.459459 | 0.074906 | 0.101124 | 0.11236 | 0.172285 | 0.172285 | 0.172285 | 0 | 0 | 0 | 0 | 0 | 0.186395 | 735 | 28 | 114 | 26.25 | 0.892977 | 0.089796 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.1875 | 0.125 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b32fba3b2a1b186843d40ad148d4d4fdef0edbb2 | 189 | py | Python | Chap03DataStructures/2-2-3.分数.py | royqh1979/programming_with_python | 7e1e8f88381151b803b6ae6ebda9809d9cc6664a | [
"MIT"
] | 5 | 2019-03-06T12:28:47.000Z | 2022-01-06T14:06:02.000Z | Chap03DataStructures/2-2-3.分数.py | royqh1979/programming_with_python | 7e1e8f88381151b803b6ae6ebda9809d9cc6664a | [
"MIT"
] | 6 | 2021-02-02T22:40:49.000Z | 2022-03-12T00:27:54.000Z | Chap03DataStructures/2-2-3.分数.py | royqh1979/programming_with_python | 7e1e8f88381151b803b6ae6ebda9809d9cc6664a | [
"MIT"
] | 4 | 2019-03-06T14:29:25.000Z | 2020-06-02T15:16:40.000Z | from fractions import Fraction
f1=Fraction(1,2)
f2=f1
print(f1,f2)
print(f1 is f2)
print(f1.numerator ,f1.denominator)
f1.numerator = 3
f3=Fraction(1,3)
f1+=f3
print(f1,f2)
print(f1 is f2) | 15.75 | 35 | 0.740741 | 38 | 189 | 3.684211 | 0.368421 | 0.25 | 0.192857 | 0.2 | 0.285714 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0.130952 | 0.111111 | 189 | 12 | 36 | 15.75 | 0.702381 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.454545 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b33449ad57f994a9b1bcc9f11a29cde1d8020790 | 577 | py | Python | loader.py | LTS4/TIGraNet | 22ba11b665e8445f1f759c0d13414429d9a03265 | [
"MIT"
] | 8 | 2018-08-21T20:58:05.000Z | 2020-05-15T03:42:06.000Z | loader.py | LTS4/TIGraNet | 22ba11b665e8445f1f759c0d13414429d9a03265 | [
"MIT"
] | 1 | 2020-12-24T05:12:14.000Z | 2021-03-23T15:04:46.000Z | loader.py | LTS4/TIGraNet | 22ba11b665e8445f1f759c0d13414429d9a03265 | [
"MIT"
] | 3 | 2018-10-14T14:54:07.000Z | 2021-02-28T21:59:22.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Data loader for the PyTorch framework.
"""
from tqdm import tqdm
import os, re
import torch
import torch.utils.data as data
from utils import select
class MNIST_bis(data.Dataset):
def __init__(self, dataset, size, digits_to_keep, stratified_sampling=True):
... | 23.08 | 80 | 0.686308 | 78 | 577 | 4.833333 | 0.525641 | 0.087533 | 0.090186 | 0.100796 | 0.217507 | 0.217507 | 0.217507 | 0 | 0 | 0 | 0 | 0.002188 | 0.207972 | 577 | 25 | 81 | 23.08 | 0.822757 | 0.140381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.384615 | 0.153846 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
b34b3b5f61a158f01b335653ba2d517f0b3bc95c | 1,015 | py | Python | gcompiler/python/delta_infer/subgraphs/__init__.py | didichuxing/delta | 31dfebc8f20b7cb282b62f291ff25a87e403cc86 | [
"Apache-2.0"
] | 1,442 | 2019-07-09T07:34:28.000Z | 2020-11-15T09:52:09.000Z | gcompiler/python/delta_infer/subgraphs/__init__.py | didichuxing/delta | 31dfebc8f20b7cb282b62f291ff25a87e403cc86 | [
"Apache-2.0"
] | 93 | 2019-07-22T09:20:20.000Z | 2020-11-13T01:59:30.000Z | gcompiler/python/delta_infer/subgraphs/__init__.py | didichuxing/delta | 31dfebc8f20b7cb282b62f291ff25a87e403cc86 | [
"Apache-2.0"
] | 296 | 2019-07-09T07:35:28.000Z | 2020-11-16T02:27:51.000Z | from .transformer import *
from .common import *
#tf.compat.v1.disable_eager_execution()
#
#batch_size = 40
#seq_length = 200
#hidden_size = 768
#num_attention_heads =12
#size_per_head = int(hidden_size / num_attention_heads)
#
#layer_input = tf.compat.v1.placeholder(tf.float32, shape=(batch_size*seq_length, hidden_si... | 42.291667 | 100 | 0.635468 | 121 | 1,015 | 4.933884 | 0.338843 | 0.120603 | 0.113903 | 0.090452 | 0.328308 | 0.237856 | 0.177554 | 0.177554 | 0.177554 | 0.177554 | 0 | 0.02965 | 0.268966 | 1,015 | 23 | 101 | 44.130435 | 0.774933 | 0.90936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2fa394fb34c74e16598d361838124eaea72619af | 109 | py | Python | backend/services/web/api/files/interface.py | noasck/EduARd | f4a95a92d513b017ff2f0b0c3591207a741b1110 | [
"MIT"
] | 3 | 2021-04-16T14:37:47.000Z | 2021-06-28T21:13:50.000Z | backend/services/web/api/files/interface.py | noasck/EduARd | f4a95a92d513b017ff2f0b0c3591207a741b1110 | [
"MIT"
] | 1 | 2021-04-17T14:45:59.000Z | 2021-04-17T14:45:59.000Z | backend/services/web/api/files/interface.py | noasck/EduARd | f4a95a92d513b017ff2f0b0c3591207a741b1110 | [
"MIT"
] | null | null | null | from typing_extensions import TypedDict
class IFile(TypedDict, total=False):
id: int
filename: str
| 15.571429 | 39 | 0.743119 | 14 | 109 | 5.714286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192661 | 109 | 6 | 40 | 18.166667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2ff558a5f19db2df344154d8a9eff0fb4b842486 | 299 | py | Python | Dataset/Leetcode/test/53/589.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/53/589.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/53/589.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, nums: List[int]) -> int:
local_max_sum, global_max_sum = nums[0], nums[0]
for num in nums[1:]:
local_max_sum = max(num, local_max_sum + num)
global_max_sum = max(global_max_sum, local_max_sum)
return global_max_sum
| 33.222222 | 63 | 0.622074 | 47 | 299 | 3.617021 | 0.382979 | 0.282353 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.277592 | 299 | 8 | 64 | 37.375 | 0.773148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff25b9dab4a541d3a2c0dc1b783f7e334e3ee6df | 364 | py | Python | mmhoidet/core/hoi/__init__.py | noobying/mmhoidet | 138e3fbf34ecbc66f98ad26b10e08a9d49a61c38 | [
"Apache-2.0"
] | 2 | 2021-09-06T13:09:42.000Z | 2021-09-15T09:18:00.000Z | mmhoidet/core/hoi/__init__.py | noobying/mmhoidet | 138e3fbf34ecbc66f98ad26b10e08a9d49a61c38 | [
"Apache-2.0"
] | null | null | null | mmhoidet/core/hoi/__init__.py | noobying/mmhoidet | 138e3fbf34ecbc66f98ad26b10e08a9d49a61c38 | [
"Apache-2.0"
] | null | null | null | from .assigners import BaseAssigner, HungarianAssigner
from .builder import build_sampler, build_assigner
from .samplers import BaseSampler, PseudoSampler, SamplingResult
from .transforms import hoi2result
__all__ = [
'BaseAssigner', 'HungarianAssigner', 'build_assigner', 'build_sampler',
'BaseSampler', 'Pseud... | 36.4 | 75 | 0.793956 | 33 | 364 | 8.515152 | 0.484848 | 0.206406 | 0.270463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006192 | 0.112637 | 364 | 9 | 76 | 40.444444 | 0.863777 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ff409c4db87ccb558ceb6212ad3bca445cc63841 | 168 | py | Python | Term 2/21/1-file.py | theseana/ajisa | 1c92b00acd3fad7c92b8222b5f6a86fc6db4bcae | [
"MIT"
] | null | null | null | Term 2/21/1-file.py | theseana/ajisa | 1c92b00acd3fad7c92b8222b5f6a86fc6db4bcae | [
"MIT"
] | null | null | null | Term 2/21/1-file.py | theseana/ajisa | 1c92b00acd3fad7c92b8222b5f6a86fc6db4bcae | [
"MIT"
] | null | null | null | file = open('names.txt', 'w')
file.write('amirreza\n')
file.write('setayesh\n')
file.write('artin\n')
file.write('iliya\n')
file.write('mohammadjavad\n')
file.close() | 18.666667 | 29 | 0.684524 | 27 | 168 | 4.259259 | 0.481481 | 0.391304 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065476 | 168 | 9 | 30 | 18.666667 | 0.732484 | 0 | 0 | 0 | 0 | 0 | 0.349112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff5606d8330c5567ad9e9e09631f157af4a919bd | 201 | py | Python | htkupdate.py | otherbeast/hackers-tool-kit | 12991889db1f6843dde82e7da4b4cdfb50740da5 | [
"Apache-2.0"
] | 393 | 2019-01-21T05:52:54.000Z | 2022-03-29T06:07:04.000Z | htkupdate.py | otherbeast/hackers-tool-kit | 12991889db1f6843dde82e7da4b4cdfb50740da5 | [
"Apache-2.0"
] | 19 | 2019-02-22T00:49:28.000Z | 2021-12-30T20:28:59.000Z | htkupdate.py | otherbeast/hackers-tool-kit | 12991889db1f6843dde82e7da4b4cdfb50740da5 | [
"Apache-2.0"
] | 138 | 2019-03-15T23:22:19.000Z | 2022-03-20T17:19:09.000Z | import os
print "UPDATING..."
os.system("cd")
os.system('cd /root/ && rm -fr hackers-tool-kit && git clone https://github.com/unkn0wnh4ckr/hackers-tool-kit && echo "[UPDATED]: Restart Your Terminal"') | 50.25 | 155 | 0.701493 | 30 | 201 | 4.7 | 0.766667 | 0.113475 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.104478 | 201 | 4 | 155 | 50.25 | 0.772222 | 0 | 0 | 0 | 0 | 0.25 | 0.767327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff57741d06b201b53f9b59f8f8fe670385ec9aec | 198 | py | Python | patreonmanager/apps.py | crydotsnake/djangogirls | 0e764294085d6d7d3c4f61a7fe36f91640abedcd | [
"BSD-3-Clause"
] | 446 | 2015-01-04T20:58:26.000Z | 2022-03-30T23:08:26.000Z | patreonmanager/apps.py | serenasensini/TheRedCode_Docker-per-Django-e-Postgres | 78a2ca1f09ab956a6936d14a5fd99336ff39f472 | [
"BSD-3-Clause"
] | 649 | 2015-01-09T23:42:14.000Z | 2022-03-31T17:27:19.000Z | patreonmanager/apps.py | serenasensini/TheRedCode_Docker-per-Django-e-Postgres | 78a2ca1f09ab956a6936d14a5fd99336ff39f472 | [
"BSD-3-Clause"
] | 319 | 2015-01-06T20:58:42.000Z | 2022-03-30T06:29:04.000Z | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class PatreonManagerConfig(AppConfig):
name = 'patreonmanager'
verbose_name = _("Patreon Manager")
| 24.75 | 54 | 0.782828 | 22 | 198 | 6.863636 | 0.772727 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146465 | 198 | 7 | 55 | 28.285714 | 0.893491 | 0 | 0 | 0 | 0 | 0 | 0.146465 | 0 | 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 | 1 | 0 | 0 | 4 |
ff95cfb4e34bef3bca6c8137953c87f8b4fd0840 | 121 | py | Python | 006/006.py | ridvanaltun/project-euler-solutions | 2a413d06de1402435d4e5ac8442cd0ab4e465bf4 | [
"MIT"
] | null | null | null | 006/006.py | ridvanaltun/project-euler-solutions | 2a413d06de1402435d4e5ac8442cd0ab4e465bf4 | [
"MIT"
] | null | null | null | 006/006.py | ridvanaltun/project-euler-solutions | 2a413d06de1402435d4e5ac8442cd0ab4e465bf4 | [
"MIT"
] | null | null | null | sq_sum, sum = 0, 0
for i in range(1, 101):
sq_sum = sq_sum + (i * i)
sum = sum + i
print((sum * sum) - sq_sum)
| 15.125 | 29 | 0.528926 | 25 | 121 | 2.4 | 0.4 | 0.333333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.305785 | 121 | 7 | 30 | 17.285714 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4440f487f379a731540f734b1c318940cea0c7e4 | 29 | py | Python | cross_compile/__init__.py | aws-ros-dev/cross_compile | a0cb03e7ed0d4fa2e637ea94af57c20042bc8bd9 | [
"Apache-2.0"
] | 2 | 2019-06-18T22:23:37.000Z | 2019-10-08T18:42:28.000Z | cross_compile/__init__.py | aws-ros-dev/cross_compile | a0cb03e7ed0d4fa2e637ea94af57c20042bc8bd9 | [
"Apache-2.0"
] | 16 | 2019-08-06T22:11:09.000Z | 2021-06-02T02:45:19.000Z | cross_compile/__init__.py | aws-ros-dev/cross_compile | a0cb03e7ed0d4fa2e637ea94af57c20042bc8bd9 | [
"Apache-2.0"
] | null | null | null | """Cross Compile package."""
| 14.5 | 28 | 0.655172 | 3 | 29 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.730769 | 0.758621 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
448b9cdfbd54af23caa8644685b2841179fe4d75 | 239 | py | Python | firecares/firecares_core/ext/invitations/adapters.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 12 | 2016-01-30T02:28:35.000Z | 2019-05-29T15:49:56.000Z | firecares/firecares_core/ext/invitations/adapters.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 455 | 2015-07-27T20:21:56.000Z | 2022-03-11T23:26:20.000Z | firecares/firecares_core/ext/invitations/adapters.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 14 | 2015-07-29T09:45:53.000Z | 2020-10-21T20:03:17.000Z | from invitations.adapters import BaseInvitationsAdapter
from registration.signals import user_registered
class DepartmentInvitationsAdapter(BaseInvitationsAdapter):
def get_user_signed_up_signal(self):
return user_registered
| 29.875 | 59 | 0.849372 | 24 | 239 | 8.208333 | 0.75 | 0.142132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117155 | 239 | 7 | 60 | 34.142857 | 0.933649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 0 | 0 | 4 |
4495366c3c6fa97f0940d198cabe5dd5baee3692 | 60 | py | Python | dl_in_iot_course/l05_tflite_delegate/__init__.py | antmicro/dl-in-iot-course | 2072b88c97c8f643de6055ee7e3b1506303dab98 | [
"Apache-2.0"
] | null | null | null | dl_in_iot_course/l05_tflite_delegate/__init__.py | antmicro/dl-in-iot-course | 2072b88c97c8f643de6055ee7e3b1506303dab98 | [
"Apache-2.0"
] | 1 | 2021-11-09T08:47:50.000Z | 2021-11-09T08:47:50.000Z | dl_in_iot_course/l05_tflite_delegate/__init__.py | antmicro/dl-in-iot-course | 2072b88c97c8f643de6055ee7e3b1506303dab98 | [
"Apache-2.0"
] | 2 | 2021-11-04T19:52:21.000Z | 2021-11-05T18:58:44.000Z | """
Module containing tasks regarding TFLite delegates.
"""
| 15 | 51 | 0.75 | 6 | 60 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 3 | 52 | 20 | 0.865385 | 0.85 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
923e6e3961f511d62da01bc03cc5bb9d98a31c78 | 80 | py | Python | get_parks.py | Matzexxxxx/Monocle | af2b1dd163a33c3ea3bb4bdacf37622df65f4b8e | [
"MIT"
] | 21 | 2017-11-08T12:56:31.000Z | 2021-08-19T17:56:35.000Z | get_parks.py | Matzexxxxx/Monocle | af2b1dd163a33c3ea3bb4bdacf37622df65f4b8e | [
"MIT"
] | 5 | 2017-12-16T10:11:35.000Z | 2018-03-21T09:30:25.000Z | get_parks.py | Matzexxxxx/Monocle | af2b1dd163a33c3ea3bb4bdacf37622df65f4b8e | [
"MIT"
] | 33 | 2017-12-11T12:30:42.000Z | 2018-04-10T01:48:38.000Z | from monocle.parks import *
with Parks() as park:
park.reset_parks(True)
| 11.428571 | 27 | 0.7 | 12 | 80 | 4.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 80 | 6 | 28 | 13.333333 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
926204a877eb44abcc4ae6601aad47f8065816ac | 721 | py | Python | acrofestival/booking/forms.py | ivoruetsche/acrofestival | 7ec798a577fbd66f9b0503a009e13cebe264afd1 | [
"MIT"
] | null | null | null | acrofestival/booking/forms.py | ivoruetsche/acrofestival | 7ec798a577fbd66f9b0503a009e13cebe264afd1 | [
"MIT"
] | 4 | 2020-06-06T01:28:01.000Z | 2021-06-10T22:37:34.000Z | acrofestival/booking/forms.py | ivoruetsche/acrofestival | 7ec798a577fbd66f9b0503a009e13cebe264afd1 | [
"MIT"
] | 1 | 2020-03-02T22:12:21.000Z | 2020-03-02T22:12:21.000Z | from django import forms
class UrbanAcroForm(forms.Form):
name = forms.CharField(required=True)
address = forms.CharField(required=True)
phone = forms.CharField(required=True)
email = forms.EmailField(required=True)
option = forms.CharField(required=False)
comment = forms.CharField(required=Fa... | 32.772727 | 47 | 0.739251 | 82 | 721 | 6.5 | 0.280488 | 0.315197 | 0.49531 | 0.45591 | 0.255159 | 0.131332 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152566 | 721 | 21 | 48 | 34.333333 | 0.87234 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
927cce0ce2eabfab247e5f0e2c9384845f1ce34a | 64 | py | Python | sequence_field/exceptions.py | gnrfan/django-sequence-field | 466f609a08ef39203336ca912dae57d2e12a4a30 | [
"BSD-3-Clause"
] | 15 | 2015-06-03T03:50:31.000Z | 2021-06-14T15:14:02.000Z | sequence_field/exceptions.py | gnrfan/django-sequence-field | 466f609a08ef39203336ca912dae57d2e12a4a30 | [
"BSD-3-Clause"
] | 2 | 2015-03-05T15:25:28.000Z | 2017-01-01T10:11:22.000Z | sequence_field/exceptions.py | gnrfan/django-sequence-field | 466f609a08ef39203336ca912dae57d2e12a4a30 | [
"BSD-3-Clause"
] | 20 | 2015-01-08T00:33:40.000Z | 2021-09-30T16:02:22.000Z | # Exceptions
class SequenceFieldException(Exception):
pass
| 12.8 | 40 | 0.78125 | 5 | 64 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 64 | 4 | 41 | 16 | 0.925926 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2baa20c0aa6b23dad4a344a86a36d26e489a3d0c | 330 | py | Python | backend/project404_t8/project404_t8/router.py | peterweckend/group-project-cmput404 | d59912dbe0252868452a2e142e4c20f953792740 | [
"MIT"
] | 5 | 2019-02-22T21:15:48.000Z | 2019-03-16T22:59:17.000Z | backend/project404_t8/project404_t8/router.py | cjlee1/group-project-cmput404 | 791ac00494b1005d5b3792492060806bcddc5cf6 | [
"MIT"
] | 66 | 2019-03-13T07:03:42.000Z | 2022-03-11T23:41:00.000Z | backend/project404_t8/project404_t8/router.py | cjlee1/group-project-cmput404 | 791ac00494b1005d5b3792492060806bcddc5cf6 | [
"MIT"
] | 7 | 2019-01-25T21:09:23.000Z | 2019-07-20T16:11:33.000Z | from rest_framework import routers
import API.viewsets as Viewsets
# these are the API methods
api_router = routers.SimpleRouter(trailing_slash=False)
api_router.register(r'posts', Viewsets.PostsViewSet)
api_router.register(r'author', Viewsets.AuthorViewSet)
api_router.register(r'friendrequest', Viewsets.FriendRequest... | 33 | 68 | 0.839394 | 43 | 330 | 6.302326 | 0.581395 | 0.132841 | 0.188192 | 0.199262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 330 | 9 | 69 | 36.666667 | 0.888525 | 0.075758 | 0 | 0 | 0 | 0 | 0.07947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2bc3cd8f8392faf88888db3fbe677503fb340c38 | 3,996 | py | Python | show_data.py | liriqingone/IP_Agent | f562dfe1e4096ed8496767cffa2596704e285861 | [
"Apache-2.0"
] | null | null | null | show_data.py | liriqingone/IP_Agent | f562dfe1e4096ed8496767cffa2596704e285861 | [
"Apache-2.0"
] | null | null | null | show_data.py | liriqingone/IP_Agent | f562dfe1e4096ed8496767cffa2596704e285861 | [
"Apache-2.0"
] | null | null | null |
# coding: utf-8
# In[5]:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import pymssql
import re
# In[8]:
try:
con = pymssql.connect(host='welldatadb.c9rukeih98lt.us-west-1.rds.amazonaws.com',user='welltitled',password='Welltitled888', database='WellDataDB',charset... | 48.731707 | 1,289 | 0.539289 | 532 | 3,996 | 3.960526 | 0.298872 | 0.049834 | 0.054105 | 0.05458 | 0.38206 | 0.339345 | 0.268628 | 0.231609 | 0.190793 | 0.163265 | 0 | 0.035535 | 0.253504 | 3,996 | 81 | 1,290 | 49.333333 | 0.670801 | 0.783534 | 0 | 0 | 0 | 0.0625 | 0.385876 | 0.139975 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.0625 | 0.375 | null | null | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
2bdc73fe69b3ab66102d99083cd1e9e02dbbcd5d | 188 | py | Python | yambopy/plot/spectra.py | QU-XIAO/yambopy | ff65a4f90c1bfefe642ebc61e490efe781709ff9 | [
"BSD-3-Clause"
] | 21 | 2016-04-07T20:53:29.000Z | 2021-05-14T08:06:02.000Z | yambopy/plot/spectra.py | alexmoratalla/yambopy | 8ec0e1e18868ccaadb3eab36c55e6a47021e257d | [
"BSD-3-Clause"
] | 22 | 2016-06-14T22:29:47.000Z | 2021-09-16T15:36:26.000Z | yambopy/plot/spectra.py | alexmoratalla/yambopy | 8ec0e1e18868ccaadb3eab36c55e6a47021e257d | [
"BSD-3-Clause"
] | 15 | 2016-06-14T18:40:57.000Z | 2021-08-07T13:17:43.000Z | class YamboSpectra():
"""
Class to show optical absorption spectra
"""
def __init__(self,energies,data):
self.energies = energies
self.data = data
| 20.888889 | 44 | 0.590426 | 19 | 188 | 5.631579 | 0.631579 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.31383 | 188 | 8 | 45 | 23.5 | 0.829457 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
2bed312f5331da546ffb3e61097ef926eb9510a2 | 240 | py | Python | tests/config.py | null-none/fhir-py | f5e7e13f88188c944696c146954f823be922cbeb | [
"MIT"
] | null | null | null | tests/config.py | null-none/fhir-py | f5e7e13f88188c944696c146954f823be922cbeb | [
"MIT"
] | null | null | null | tests/config.py | null-none/fhir-py | f5e7e13f88188c944696c146954f823be922cbeb | [
"MIT"
] | null | null | null | import os
from aiohttp import BasicAuth
FHIR_SERVER_URL = os.environ.get("FHIR_SERVER_URL", "http://localhost:8080/fhir")
FHIR_SERVER_AUTHORIZATION = os.environ.get(
"FHIR_SERVER_AUTHORIZATION", BasicAuth("root", "secret").encode()
)
| 26.666667 | 81 | 0.766667 | 32 | 240 | 5.5 | 0.53125 | 0.227273 | 0.147727 | 0.181818 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018433 | 0.095833 | 240 | 8 | 82 | 30 | 0.792627 | 0 | 0 | 0 | 0 | 0 | 0.316667 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2bf5a286e05214b62beae5fa0cc265910bdbdbbc | 548 | py | Python | lib/pylint/test/input/func_e0101.py | willemneal/Docky | d3504e1671b4a6557468234c263950bfab461ce4 | [
"MIT"
] | 3 | 2018-11-25T01:09:55.000Z | 2021-08-24T01:56:36.000Z | lib/pylint/test/input/func_e0101.py | willemneal/Docky | d3504e1671b4a6557468234c263950bfab461ce4 | [
"MIT"
] | 7 | 2021-02-08T20:22:15.000Z | 2022-03-11T23:19:41.000Z | lib/pylint/test/input/func_e0101.py | willemneal/Docky | d3504e1671b4a6557468234c263950bfab461ce4 | [
"MIT"
] | 3 | 2018-11-09T03:38:09.000Z | 2020-02-24T06:26:10.000Z | # pylint: disable=R0903
"""test __init__ return
"""
__revision__ = 'yo'
class MyClass(object):
"""dummy class"""
def __init__(self):
return 1
class MyClass2(object):
"""dummy class"""
def __init__(self):
return
class MyClass3(object):
"""dummy class"""
def __init__(self):
... | 15.222222 | 44 | 0.59854 | 60 | 548 | 5 | 0.383333 | 0.183333 | 0.266667 | 0.316667 | 0.51 | 0.51 | 0.33 | 0 | 0 | 0 | 0 | 0.022222 | 0.260949 | 548 | 35 | 45 | 15.657143 | 0.718519 | 0.187956 | 0 | 0.3125 | 0 | 0 | 0.004843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0 | 0.1875 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
9200bad3f6b2369900c4fd8dcf5ca12a1bb52381 | 297 | py | Python | erri/python/lesson_47/pokedex.py | TGITS/programming-workouts | 799e805ccf3fd0936ec8ac2417f7193b8e9bcb55 | [
"MIT"
] | null | null | null | erri/python/lesson_47/pokedex.py | TGITS/programming-workouts | 799e805ccf3fd0936ec8ac2417f7193b8e9bcb55 | [
"MIT"
] | 16 | 2020-05-30T12:38:13.000Z | 2022-02-19T09:23:31.000Z | erri/python/lesson_47/pokedex.py | TGITS/programming-workouts | 799e805ccf3fd0936ec8ac2417f7193b8e9bcb55 | [
"MIT"
] | null | null | null | from pokemon import Pokemon
class Pokedex:
def __init__(self, pokemons=[]):
self.pokemons = pokemons
def __str__(self):
return "pokemons=\n\t" + '\n\t'.join([str(pokemon) for pokemon in self.pokemons])
def add(self, pokemon):
self.pokemons.append(pokemon)
| 21.214286 | 89 | 0.643098 | 38 | 297 | 4.815789 | 0.473684 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225589 | 297 | 13 | 90 | 22.846154 | 0.795652 | 0 | 0 | 0 | 0 | 0 | 0.057239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a609c292f61df1cc25f65cc25bd963f12412cf06 | 38 | py | Python | venv/lib/python3.6/encodings/kz1048.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-04-17T13:35:50.000Z | 2021-12-21T00:11:36.000Z | venv/lib/python3.6/encodings/kz1048.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2021-03-31T19:51:24.000Z | 2021-06-10T23:05:09.000Z | venv/lib/python3.6/encodings/kz1048.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-10-01T08:47:35.000Z | 2020-07-11T06:32:16.000Z | /usr/lib/python3.6/encodings/kz1048.py | 38 | 38 | 0.815789 | 7 | 38 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 38 | 1 | 38 | 38 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a613753a0f678d9a92eded4c22220a7eb2bde121 | 1,111 | py | Python | tests/test_read_hdf5.py | kyledecker/Heart_Rate_Monitor | 858eff6a48097327ba92d516ad94632c3ad66843 | [
"MIT"
] | null | null | null | tests/test_read_hdf5.py | kyledecker/Heart_Rate_Monitor | 858eff6a48097327ba92d516ad94632c3ad66843 | [
"MIT"
] | null | null | null | tests/test_read_hdf5.py | kyledecker/Heart_Rate_Monitor | 858eff6a48097327ba92d516ad94632c3ad66843 | [
"MIT"
] | null | null | null | def test_read_hdf5():
import os.path
import sys
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))
from read_hdf5 import read_hdf5
import os
import numpy as np
import h5py
# Make tmp mat file and save
fs = np.uint16(np.array([100]))
ecg = n... | 31.742857 | 89 | 0.626463 | 197 | 1,111 | 3.411168 | 0.263959 | 0.083333 | 0.089286 | 0.133929 | 0.71131 | 0.71131 | 0.71131 | 0.71131 | 0.625 | 0.625 | 0 | 0.061179 | 0.190819 | 1,111 | 34 | 90 | 32.676471 | 0.686318 | 0.047705 | 0 | 0.6 | 0 | 0 | 0.054976 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.033333 | false | 0 | 0.2 | 0 | 0.233333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a69084691ead154f1294eda4aa284570b2d2adbf | 131 | py | Python | joplin/pages/official_documents_collection/apps.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 15 | 2018-09-27T07:36:30.000Z | 2021-08-03T16:01:21.000Z | joplin/pages/official_documents_collection/apps.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 183 | 2017-11-16T23:30:47.000Z | 2020-12-18T21:43:36.000Z | joplin/pages/official_documents_collection/apps.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 12 | 2017-12-12T22:48:05.000Z | 2021-03-01T18:01:24.000Z | from django.apps import AppConfig
class OfficialDocumentsCollectionConfig(AppConfig):
name = 'official_documents_collection'
| 21.833333 | 51 | 0.832061 | 12 | 131 | 8.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114504 | 131 | 5 | 52 | 26.2 | 0.922414 | 0 | 0 | 0 | 0 | 0 | 0.221374 | 0.221374 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a6bdd1e0026132efc3537733ac817e4914b9e1ef | 254 | py | Python | NSE/indices.py | GamesBond008/NSE-India-Scrapper | 9963d1b99ee5557e61d6be329bf9f50444d2820a | [
"MIT"
] | 1 | 2021-06-01T19:36:42.000Z | 2021-06-01T19:36:42.000Z | NSE/indices.py | GamesBond008/NSE-India-Scrapper | 9963d1b99ee5557e61d6be329bf9f50444d2820a | [
"MIT"
] | null | null | null | NSE/indices.py | GamesBond008/NSE-India-Scrapper | 9963d1b99ee5557e61d6be329bf9f50444d2820a | [
"MIT"
] | null | null | null | from ._MarketData import MarketData
class Indices(MarketData):
def __init__(self,timeout: int=5):
super().__init__(timeout)
self._BaseURL="https://www.nseindia.com/api/allIndices"
def IndicesMarketWatch(self):
return self._GrabData(self._BaseURL) | 36.285714 | 57 | 0.783465 | 32 | 254 | 5.84375 | 0.6875 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00431 | 0.086614 | 254 | 7 | 58 | 36.285714 | 0.801724 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a6e6e31b01c2e6112f8d5f7ef425dbbf969157e4 | 42 | py | Python | dingtalk_python_sdk/__init__.py | jiasir/dingtalk-python-sdk | 913188347bee8c3537aacefc64f28a0e5ce8f383 | [
"MIT"
] | 2 | 2019-05-13T09:41:39.000Z | 2021-11-16T11:21:59.000Z | dingtalk_python_sdk/__init__.py | jiasir/dingtalk-python-sdk | 913188347bee8c3537aacefc64f28a0e5ce8f383 | [
"MIT"
] | null | null | null | dingtalk_python_sdk/__init__.py | jiasir/dingtalk-python-sdk | 913188347bee8c3537aacefc64f28a0e5ce8f383 | [
"MIT"
] | 1 | 2019-03-06T09:42:01.000Z | 2019-03-06T09:42:01.000Z | __all__ = ["robot"]
__version__ = '0.0.1'
| 14 | 21 | 0.619048 | 6 | 42 | 3 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 42 | 2 | 22 | 21 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a6e9550e9909c69bce0c6efb10f4faea541c4361 | 190 | py | Python | src/utils.py | eklitzke/icfp08 | d0bbd1a0900a744286f8a1efec3ada8dec275431 | [
"0BSD"
] | 1 | 2016-05-08T10:38:12.000Z | 2016-05-08T10:38:12.000Z | src/utils.py | eklitzke/icfp08 | d0bbd1a0900a744286f8a1efec3ada8dec275431 | [
"0BSD"
] | null | null | null | src/utils.py | eklitzke/icfp08 | d0bbd1a0900a744286f8a1efec3ada8dec275431 | [
"0BSD"
] | null | null | null | import sys
import logging
logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s %(name)-15s %(levelname)-8s %(message)s',
datefmt='%m-%d %H:%M', stream=sys.stderr)
| 23.75 | 69 | 0.647368 | 26 | 190 | 4.730769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.163158 | 190 | 7 | 70 | 27.142857 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0.328042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a6f9e948f059d84524b4285af4dee39e818ba9d7 | 184 | py | Python | python_polar_coding/polar_codes/fast_scan/codec.py | MingxuZhang/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | 2 | 2021-12-07T09:52:15.000Z | 2022-01-06T14:35:37.000Z | python_polar_coding/polar_codes/fast_scan/codec.py | manhduc1811/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | null | null | null | python_polar_coding/polar_codes/fast_scan/codec.py | manhduc1811/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | 4 | 2020-07-03T14:20:04.000Z | 2021-07-04T13:20:40.000Z | from python_polar_coding.polar_codes.rc_scan import RCSCANPolarCodec
from .decoder import FastSCANDecoder
class FastSCANCodec(RCSCANPolarCodec):
decoder_class = FastSCANDecoder
| 23 | 68 | 0.853261 | 20 | 184 | 7.6 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 184 | 7 | 69 | 26.285714 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5b25ee0b235628c7ded5d4b5d1800b04d349a836 | 175 | py | Python | python/django/python-hello-world/src/helloapp/views.py | davidponder/cloud-code-samples | 9d7f08e48fd8355c31ac428ff660a24bf1bef742 | [
"0BSD"
] | 319 | 2019-03-29T02:21:27.000Z | 2022-03-12T00:03:32.000Z | python/django/python-hello-world/src/helloapp/views.py | davidponder/cloud-code-samples | 9d7f08e48fd8355c31ac428ff660a24bf1bef742 | [
"0BSD"
] | 779 | 2019-03-29T16:53:09.000Z | 2022-03-31T18:48:08.000Z | python/django/python-hello-world/src/helloapp/views.py | davidponder/cloud-code-samples | 9d7f08e48fd8355c31ac428ff660a24bf1bef742 | [
"0BSD"
] | 182 | 2019-03-29T14:17:33.000Z | 2022-03-14T22:31:12.000Z | from django.shortcuts import render
import os
def homePageView(request):
return render(request, 'homepage.html', context={
"message": "It's running!"
}) | 19.444444 | 53 | 0.662857 | 20 | 175 | 5.8 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217143 | 175 | 9 | 54 | 19.444444 | 0.846715 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
5b38e79a377ccb487655e34396ae67ca6d0baf77 | 312 | py | Python | cnn/struct/layer/relu_layer_module.py | hslee1539/GIS_GANs | 6901c830b924e59fd06247247db3f925bab26583 | [
"MIT"
] | null | null | null | cnn/struct/layer/relu_layer_module.py | hslee1539/GIS_GANs | 6901c830b924e59fd06247247db3f925bab26583 | [
"MIT"
] | null | null | null | cnn/struct/layer/relu_layer_module.py | hslee1539/GIS_GANs | 6901c830b924e59fd06247247db3f925bab26583 | [
"MIT"
] | null | null | null | from import_lib import lib
from tensor.main_module import Tensor
from cnn.struct.layer_module import Layer
from ctypes import Structure, c_int, POINTER
def createReluLayer():
return lib.cnn_create_relu_layer()
#lib.cnn_create_relu_layer.argtypes = (Layer, Layer)
lib.cnn_create_relu_layer.restype = Layer
| 26 | 52 | 0.817308 | 48 | 312 | 5.041667 | 0.4375 | 0.07438 | 0.14876 | 0.198347 | 0.280992 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 312 | 11 | 53 | 28.363636 | 0.876812 | 0.163462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.571429 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
5b4947c1df2c2c11a9c526533e38a8c276e1a76d | 253 | py | Python | nikola/packages/tzlocal/__init__.py | asmeurer/nikola | ea1c651bfed0fd6337f1d22cf8dd99899722912c | [
"MIT"
] | 1,901 | 2015-01-02T02:49:51.000Z | 2022-03-30T23:31:35.000Z | nikola/packages/tzlocal/__init__.py | asmeurer/nikola | ea1c651bfed0fd6337f1d22cf8dd99899722912c | [
"MIT"
] | 1,755 | 2015-01-01T08:17:16.000Z | 2022-03-24T18:02:22.000Z | nikola/packages/tzlocal/__init__.py | asmeurer/nikola | ea1c651bfed0fd6337f1d22cf8dd99899722912c | [
"MIT"
] | 421 | 2015-01-02T18:06:37.000Z | 2022-03-28T23:18:54.000Z | """Try to figure out what your local timezone is."""
import sys
__version__ = "2.0.0-nikola"
if sys.platform == "win32":
from .win32 import get_localzone, reload_localzone # NOQA
else:
from .unix import get_localzone, reload_localzone # NOQA
| 28.111111 | 62 | 0.72332 | 37 | 253 | 4.72973 | 0.675676 | 0.102857 | 0.205714 | 0.274286 | 0.422857 | 0.422857 | 0 | 0 | 0 | 0 | 0 | 0.033493 | 0.173913 | 253 | 8 | 63 | 31.625 | 0.803828 | 0.225296 | 0 | 0 | 0 | 0 | 0.089947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5b641bd2268abc885c0f727b04d7a8e03e2bc714 | 190 | py | Python | src/com/ssafy/test/DevMatching2022_2/pro4.py | ehddn5252/AlgorithmStorage | c9b3464029181767c73f7607725cb47d99b7b7f2 | [
"MIT"
] | null | null | null | src/com/ssafy/test/DevMatching2022_2/pro4.py | ehddn5252/AlgorithmStorage | c9b3464029181767c73f7607725cb47d99b7b7f2 | [
"MIT"
] | null | null | null | src/com/ssafy/test/DevMatching2022_2/pro4.py | ehddn5252/AlgorithmStorage | c9b3464029181767c73f7607725cb47d99b7b7f2 | [
"MIT"
] | null | null | null | -- 코드를 입력하세요
SELECT c_p.cart_id as CART_ID ,if(sum(price)>minimum_requirement,0,1) as abused
from Cart_products as c_p join coupons as c
where c_p.cart_id = c.cart_id
group by c_p.cart_id;
| 27.142857 | 79 | 0.778947 | 43 | 190 | 3.186047 | 0.534884 | 0.218978 | 0.131387 | 0.175182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.136842 | 190 | 6 | 80 | 31.666667 | 0.823171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b94a5735d213c448e683218e28b77df98453cc1 | 135 | py | Python | email_validation/urls.py | rezaramadhan/ValidationSystem | 1e36f37ee79bd3a8e618dec492e5cfbe83791ebe | [
"BSD-3-Clause"
] | null | null | null | email_validation/urls.py | rezaramadhan/ValidationSystem | 1e36f37ee79bd3a8e618dec492e5cfbe83791ebe | [
"BSD-3-Clause"
] | null | null | null | email_validation/urls.py | rezaramadhan/ValidationSystem | 1e36f37ee79bd3a8e618dec492e5cfbe83791ebe | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.validation_form, name='validation_form'),
]
| 19.285714 | 62 | 0.711111 | 18 | 135 | 5.222222 | 0.666667 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 135 | 6 | 63 | 22.5 | 0.817391 | 0 | 0 | 0 | 0 | 0 | 0.125926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5b9f5359a99fc21561af13513dcf810a58d7c4ab | 243 | py | Python | app/app/monitoring/__init__.py | ARgorithm/Server | b25b593721bab87263c49dddf52066288e45c272 | [
"MIT"
] | 2 | 2021-02-24T17:23:46.000Z | 2021-03-07T12:43:31.000Z | app/app/monitoring/__init__.py | ARgorithm/Server | b25b593721bab87263c49dddf52066288e45c272 | [
"MIT"
] | 14 | 2020-10-18T14:50:43.000Z | 2021-06-18T07:35:13.000Z | app/app/monitoring/__init__.py | ARgorithm/Server | b25b593721bab87263c49dddf52066288e45c272 | [
"MIT"
] | null | null | null | """The monitoring module deals with prometheus monitoring for server performance as well as logs
"""
from .logging import logger
from .middleware import MonitoringMiddleware
from .view import metrics
from .performance import PerformanceMonitor | 40.5 | 96 | 0.835391 | 30 | 243 | 6.766667 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 243 | 6 | 97 | 40.5 | 0.953052 | 0.382716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5bae1409b1600cfbb9380afb8dd3c2261008ab22 | 158 | py | Python | bitcoin_client/__init__.py | ryan-shaw/app-bitcoin-new | aa0a27703f8dbe24c6825c86383a2689e7c4c126 | [
"Apache-2.0"
] | 16 | 2021-09-25T11:46:17.000Z | 2022-03-10T15:47:14.000Z | bitcoin_client/__init__.py | ryan-shaw/app-bitcoin-new | aa0a27703f8dbe24c6825c86383a2689e7c4c126 | [
"Apache-2.0"
] | 20 | 2021-09-24T08:51:48.000Z | 2022-03-28T20:00:00.000Z | bitcoin_client/__init__.py | ryan-shaw/app-bitcoin-new | aa0a27703f8dbe24c6825c86383a2689e7c4c126 | [
"Apache-2.0"
] | 26 | 2021-09-21T07:03:00.000Z | 2022-03-26T04:18:49.000Z | # this folder is not meant to be a python package, but adding this file allows pytest tests
# to import the test_utils module in the repository's root folder
| 52.666667 | 91 | 0.791139 | 29 | 158 | 4.275862 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183544 | 158 | 2 | 92 | 79 | 0.96124 | 0.968354 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5bd1b15e65873e8009faaac31e7f6a24996fae29 | 230 | py | Python | tests/core/rules/test_collection_rule.py | manoadamro/flapi | e5ed4ebbb49ac88ce842c04ce73d0a97ce3fe00d | [
"MIT"
] | 3 | 2019-01-07T20:20:30.000Z | 2019-01-11T11:15:19.000Z | tests/core/rules/test_collection_rule.py | manoadamro/flapi | e5ed4ebbb49ac88ce842c04ce73d0a97ce3fe00d | [
"MIT"
] | null | null | null | tests/core/rules/test_collection_rule.py | manoadamro/flapi | e5ed4ebbb49ac88ce842c04ce73d0a97ce3fe00d | [
"MIT"
] | 1 | 2019-01-11T11:15:27.000Z | 2019-01-11T11:15:27.000Z | import unittest
from flapi.core.rules import _CollectionRule
class CollectionRuleTest(unittest.TestCase):
def test_fails(self):
rule = _CollectionRule()
self.assertRaises(NotImplementedError, rule, "token")
| 23 | 61 | 0.747826 | 23 | 230 | 7.347826 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169565 | 230 | 9 | 62 | 25.555556 | 0.884817 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5be3df800845edec650c50ee6175a3b1022a9f9a | 543 | py | Python | trac/trac/web/tests/wikisyntax.py | HelionDevPlatform/bloodhound | 206b0d9898159fa8297ad1e407d38484fa378354 | [
"Apache-2.0"
] | 84 | 2015-01-07T03:42:53.000Z | 2022-01-10T11:57:30.000Z | trac/trac/web/tests/wikisyntax.py | HelionDevPlatform/bloodhound | 206b0d9898159fa8297ad1e407d38484fa378354 | [
"Apache-2.0"
] | 1 | 2021-11-04T12:52:03.000Z | 2021-11-04T12:52:03.000Z | trac/trac/web/tests/wikisyntax.py | HelionDevPlatform/bloodhound | 206b0d9898159fa8297ad1e407d38484fa378354 | [
"Apache-2.0"
] | 35 | 2015-01-06T11:30:27.000Z | 2021-11-10T16:34:52.000Z | import unittest
from trac.wiki.tests import formatter
TEST_CASES = """
============================== htdocs: links resolver
htdocs:release-1.0.tar.gz
[htdocs:release-1.0.tar.gz Release 1.0]
------------------------------
<p>
<a href="/chrome/site/release-1.0.tar.gz">htdocs:release-1.0.tar.gz</a>
</p>
<p>
<a href="/... | 21.72 | 71 | 0.576427 | 77 | 543 | 3.883117 | 0.38961 | 0.187291 | 0.210702 | 0.200669 | 0.461538 | 0.461538 | 0.441472 | 0.441472 | 0.381271 | 0.381271 | 0 | 0.028513 | 0.095764 | 543 | 24 | 72 | 22.625 | 0.580448 | 0 | 0 | 0.315789 | 0 | 0.105263 | 0.635359 | 0.469613 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.105263 | 0.052632 | 0.210526 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5bf20cefee7f45afee4dc39c0038a1484863aee3 | 46 | py | Python | 04_datacamp/solutions/16_solutions.py | HirahTang/datascience_starter_course | a4429db9ae1795eaf52b795d16897466d769c40c | [
"CC0-1.0"
] | 3 | 2020-09-06T06:01:41.000Z | 2020-09-23T19:03:04.000Z | 02_pandas/solutions/16_solutions.py | glemaitre/smob_paristech_12_2018 | b669206f204a3e57e71efb3dd22e2ffbc4e0a309 | [
"CC0-1.0"
] | 4 | 2019-02-22T21:37:20.000Z | 2019-03-12T13:20:29.000Z | 02_pandas/solutions/16_solutions.py | glemaitre/smob_paristech_12_2018 | b669206f204a3e57e71efb3dd22e2ffbc4e0a309 | [
"CC0-1.0"
] | 5 | 2020-10-26T05:03:09.000Z | 2022-03-24T04:22:09.000Z | df.groupby('Pclass')['Fare'].hist(alpha=0.4);
| 23 | 45 | 0.652174 | 8 | 46 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.021739 | 46 | 1 | 46 | 46 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
752c81ba27125f6ffa835642cb7d13b228b30ad9 | 54,220 | py | Python | Survival.py | SimplyNate/PySurvival | c49d52b5e3c60d1063d75b0eb7d43a118647d4fc | [
"MIT"
] | null | null | null | Survival.py | SimplyNate/PySurvival | c49d52b5e3c60d1063d75b0eb7d43a118647d4fc | [
"MIT"
] | null | null | null | Survival.py | SimplyNate/PySurvival | c49d52b5e3c60d1063d75b0eb7d43a118647d4fc | [
"MIT"
] | null | null | null | ########################################################################################################################
"""
Inspired by http://usingpython.com/programs/ 'Crafting Challenge' Game
Created by SimplyNate
Coding Module - Python Lab
Craft the items indicated in the Quests panel to win the game.
Hunger tick... | 59.517014 | 196 | 0.698746 | 3,660 | 54,220 | 10.312022 | 0.204918 | 0.017249 | 0.015156 | 0.01081 | 0.178501 | 0.148243 | 0.136744 | 0.113878 | 0.093901 | 0.081898 | 0 | 0.398459 | 0.200443 | 54,220 | 910 | 197 | 59.582418 | 0.472135 | 0.060439 | 0 | 0.204082 | 0 | 0.001458 | 0.496406 | 0.437986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0.002915 | 0.005831 | 0.001458 | 0.053936 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
75486a1b55e581f54e11818bcd27823794114b9e | 84 | py | Python | test.py | sittingfrog/humidor | 606005c0b4444a5076ed9b0dff922bab7ead01a0 | [
"MIT"
] | null | null | null | test.py | sittingfrog/humidor | 606005c0b4444a5076ed9b0dff922bab7ead01a0 | [
"MIT"
] | null | null | null | test.py | sittingfrog/humidor | 606005c0b4444a5076ed9b0dff922bab7ead01a0 | [
"MIT"
] | null | null | null |
import os
import json
from humidor import Sensors
s = Sensors()
s.read_sensors()
| 9.333333 | 27 | 0.75 | 13 | 84 | 4.769231 | 0.615385 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 8 | 28 | 10.5 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
754c04d778c584f8c0ad28a2e9e0a3e439fe3904 | 541 | py | Python | paperbroker/adapters/quotes/QuoteAdapter.py | yutiansut/paperbroker | 3b4124ee79532d4b56b5fd5e864ed2ca1f4f857e | [
"MIT"
] | 227 | 2017-07-14T19:10:04.000Z | 2022-03-23T01:29:46.000Z | paperbroker/adapters/quotes/QuoteAdapter.py | KloudTrader/paperbroker | 85844b9841a9fced6ea66e137c33a13136cd5faf | [
"MIT"
] | 7 | 2017-07-14T01:59:49.000Z | 2021-05-19T06:10:55.000Z | paperbroker/adapters/quotes/QuoteAdapter.py | KloudTrader/paperbroker | 85844b9841a9fced6ea66e137c33a13136cd5faf | [
"MIT"
] | 59 | 2017-07-15T06:55:56.000Z | 2022-03-22T21:20:22.000Z | import arrow
class QuoteAdapter:
def get_quote(self, asset):
raise NotImplementedError("QuoteAdapter.get_quote: You should subclass this and create an adapter.")
def get_options(self, underlying_asset=None, expiration_date=None):
raise NotImplementedError("QuoteAdapter.get_options: You should... | 38.642857 | 119 | 0.772643 | 67 | 541 | 6.074627 | 0.373134 | 0.044226 | 0.265356 | 0.287469 | 0.528256 | 0.316953 | 0.316953 | 0.316953 | 0.22113 | 0.22113 | 0 | 0 | 0.157116 | 541 | 13 | 120 | 41.615385 | 0.892544 | 0 | 0 | 0 | 0 | 0 | 0.418519 | 0.151852 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
755305a2704400bc4a0ad42ab98790d9142a9a2d | 89 | py | Python | filters/apps.py | CAPSLOCKFURY/django-eshop | 18d47be47e568800e51c4b6ff868138a7350893b | [
"MIT"
] | 2 | 2021-05-28T11:39:36.000Z | 2021-08-20T04:43:00.000Z | filters/apps.py | CAPSLOCKFURY/django-eshop | 18d47be47e568800e51c4b6ff868138a7350893b | [
"MIT"
] | null | null | null | filters/apps.py | CAPSLOCKFURY/django-eshop | 18d47be47e568800e51c4b6ff868138a7350893b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FiltersConfig(AppConfig):
name = 'filters'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
75585789e6a2c26289176f0bf2960396e26d5f7c | 68,181 | py | Python | Steam Key Safe/venv/Lib/site-packages/steam/protobufs/steammessages_twofactor_pb2.py | baxter5469/steam-key-safe | f9f721fa4776db650956400b1b808f707f07c5c1 | [
"MIT"
] | 2 | 2020-04-10T02:47:52.000Z | 2020-04-10T03:31:12.000Z | Steam Key Safe/venv/Lib/site-packages/steam/protobufs/steammessages_twofactor_pb2.py | baxter5469/steam-key-safe | f9f721fa4776db650956400b1b808f707f07c5c1 | [
"MIT"
] | 6 | 2020-04-12T01:03:48.000Z | 2020-12-21T04:34:37.000Z | Steam Key Safe/venv/Lib/site-packages/steam/protobufs/steammessages_twofactor_pb2.py | baxter5469/steam-key-safe | f9f721fa4776db650956400b1b808f707f07c5c1 | [
"MIT"
] | 1 | 2020-04-13T01:47:10.000Z | 2020-04-13T01:47:10.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: steammessages_twofactor.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import refl... | 60.337168 | 7,572 | 0.796468 | 8,264 | 68,181 | 6.200266 | 0.057962 | 0.027791 | 0.066785 | 0.089814 | 0.824314 | 0.724097 | 0.674798 | 0.633112 | 0.582037 | 0.527118 | 0 | 0.051193 | 0.091506 | 68,181 | 1,129 | 7,573 | 60.390611 | 0.776016 | 0.019932 | 0 | 0.55311 | 1 | 0.011483 | 0.285999 | 0.180401 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002871 | 0.008612 | 0 | 0.008612 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
755c918e2b3983c8a538846e6f8956c9a8b29af1 | 245 | py | Python | rpython/translator/cli/test/test_range.py | kantai/passe-pypy-taint-tracking | b60a3663f8fe89892dc182c8497aab97e2e75d69 | [
"MIT"
] | 2 | 2016-07-06T23:30:20.000Z | 2017-05-30T15:59:31.000Z | rpython/translator/cli/test/test_range.py | kantai/passe-pypy-taint-tracking | b60a3663f8fe89892dc182c8497aab97e2e75d69 | [
"MIT"
] | null | null | null | rpython/translator/cli/test/test_range.py | kantai/passe-pypy-taint-tracking | b60a3663f8fe89892dc182c8497aab97e2e75d69 | [
"MIT"
] | 2 | 2020-07-09T08:14:22.000Z | 2021-01-15T18:01:25.000Z | import py
from rpython.translator.cli.test.runtest import CliTest
from rpython.rtyper.test.test_rrange import BaseTestRrange
class TestCliRange(CliTest, BaseTestRrange):
def test_rlist_range(self):
pass # it doesn't make sense here
| 30.625 | 58 | 0.791837 | 34 | 245 | 5.617647 | 0.735294 | 0.115183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 245 | 7 | 59 | 35 | 0.909524 | 0.106122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.5 | 0 | 0.833333 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
f329fde281d55efd7c63f2af1252431e6f963b07 | 50 | py | Python | tests/__init__.py | Informasjonsforvaltning/jsonschematordf | dfeb039411b5a9797ad3b7769e0dd3489abc5502 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | Informasjonsforvaltning/jsonschematordf | dfeb039411b5a9797ad3b7769e0dd3489abc5502 | [
"Apache-2.0"
] | 24 | 2021-08-19T08:33:39.000Z | 2021-10-06T07:43:28.000Z | tests/__init__.py | Informasjonsforvaltning/jsonschematordf | dfeb039411b5a9797ad3b7769e0dd3489abc5502 | [
"Apache-2.0"
] | null | null | null | """Test suite for the jsonschematordf package."""
| 25 | 49 | 0.74 | 6 | 50 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 1 | 50 | 50 | 0.840909 | 0.86 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f3336e010473b7a299957a7c7773a12a5ea46d38 | 157 | py | Python | tests/conftest.py | mt3o/injectable | 0ffc5c758b63d9391134cd822158e1846999b404 | [
"MIT"
] | 71 | 2018-02-05T04:12:27.000Z | 2022-02-15T23:08:16.000Z | tests/conftest.py | Euraxluo/injectable | 74e640f0911480fb06fa97c1a468c3863541c0fd | [
"MIT"
] | 104 | 2018-02-06T23:37:36.000Z | 2021-08-25T04:50:15.000Z | tests/conftest.py | Euraxluo/injectable | 74e640f0911480fb06fa97c1a468c3863541c0fd | [
"MIT"
] | 13 | 2019-02-10T18:52:50.000Z | 2022-01-26T17:12:35.000Z | import pytest
from testfixtures import LogCapture
@pytest.fixture(autouse=True)
def log_capture():
with LogCapture() as capture:
yield capture
| 17.444444 | 35 | 0.745223 | 19 | 157 | 6.105263 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184713 | 157 | 8 | 36 | 19.625 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f354a99befa71d5bc60e342f2839f7c5d0fd0ed2 | 401 | py | Python | g.py | HakimdarC/Dice-Game | 96377891e43df68911fa841204c8d1854d068088 | [
"MIT"
] | null | null | null | g.py | HakimdarC/Dice-Game | 96377891e43df68911fa841204c8d1854d068088 | [
"MIT"
] | null | null | null | g.py | HakimdarC/Dice-Game | 96377891e43df68911fa841204c8d1854d068088 | [
"MIT"
] | null | null | null | import random
m=1
n=6
roll_again="yes"
while roll_again=="yes" or roll_again=="y":
print("Rolling the dice....")
print("the values are..")
print(random.randint(m,n))
print(random.randint(m,n))
print(random.randint(m,n))
break
roll_again = input("enter yes or y to continue...Roll the dices again?")
pri... | 25.0625 | 73 | 0.683292 | 69 | 401 | 3.913043 | 0.362319 | 0.244444 | 0.4 | 0.422222 | 0.444444 | 0.444444 | 0.444444 | 0.444444 | 0.444444 | 0.444444 | 0 | 0.005764 | 0.134663 | 401 | 15 | 74 | 26.733333 | 0.772334 | 0 | 0 | 0.4 | 0 | 0 | 0.240933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.533333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f36bbf06a2fee123d5868f458818a488d5cdfe22 | 32 | py | Python | pysedm/dask/__init__.py | MickaelRigault/pysedm | 5d34d3a6b48eb3bbb7ba9d89b88b4b5b1ff09624 | [
"Apache-2.0"
] | 5 | 2018-03-16T14:58:09.000Z | 2019-11-25T15:57:14.000Z | pysedm/dask/__init__.py | MickaelRigault/pysedm | 5d34d3a6b48eb3bbb7ba9d89b88b4b5b1ff09624 | [
"Apache-2.0"
] | 9 | 2018-02-13T17:02:17.000Z | 2020-09-15T11:43:37.000Z | pysedm/dask/__init__.py | MickaelRigault/pysedm | 5d34d3a6b48eb3bbb7ba9d89b88b4b5b1ff09624 | [
"Apache-2.0"
] | 4 | 2018-03-16T14:58:14.000Z | 2022-02-07T20:02:58.000Z | """ Dask scripts for pysedm """
| 16 | 31 | 0.625 | 4 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 1 | 32 | 32 | 0.769231 | 0.71875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f3ad39a1e9e6605b2b9a4db24488edb7e7bc809b | 87 | py | Python | boleto/apps.py | feliperuhland/home | cfe84ec7243faec8c0cf5cc4afb1db76aebb86f9 | [
"MIT"
] | null | null | null | boleto/apps.py | feliperuhland/home | cfe84ec7243faec8c0cf5cc4afb1db76aebb86f9 | [
"MIT"
] | null | null | null | boleto/apps.py | feliperuhland/home | cfe84ec7243faec8c0cf5cc4afb1db76aebb86f9 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BoletoConfig(AppConfig):
name = 'boleto'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f3c4cd31cade4e1b3f0dbf54c546f501767d472f | 198 | py | Python | academic_helper/management/commands/dev_init.py | AviH0/coursist | 3db05e8a168be33d2f03b9e082ee4779d80be7c7 | [
"MIT"
] | 6 | 2020-06-26T12:09:10.000Z | 2021-12-18T11:44:55.000Z | academic_helper/management/commands/dev_init.py | AviH0/coursist | 3db05e8a168be33d2f03b9e082ee4779d80be7c7 | [
"MIT"
] | 89 | 2020-06-02T11:42:57.000Z | 2021-06-10T19:09:09.000Z | academic_helper/management/commands/dev_init.py | AviH0/coursist | 3db05e8a168be33d2f03b9e082ee4779d80be7c7 | [
"MIT"
] | 14 | 2020-06-26T12:08:34.000Z | 2021-04-20T10:59:45.000Z | from django.core.management import BaseCommand
from academic_helper.management.init_data import create_all
class Command(BaseCommand):
def handle(self, *args, **options):
create_all()
| 24.75 | 59 | 0.767677 | 25 | 198 | 5.92 | 0.76 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146465 | 198 | 7 | 60 | 28.285714 | 0.87574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f3c5ec66234aca2dce7301f5e29b899eff21bf61 | 76 | py | Python | src/dna-center/dna-center-authenticate.py | fernando28024/git-clone-https-github.com-CiscoDevNet-devasc-code-examples | 589dbd5d34f67f9b823159b731844432977b6490 | [
"BSD-3-Clause"
] | 43 | 2020-08-01T03:01:53.000Z | 2022-02-17T12:43:27.000Z | src/dna-center/dna-center-authenticate.py | fernando28024/git-clone-https-github.com-CiscoDevNet-devasc-code-examples | 589dbd5d34f67f9b823159b731844432977b6490 | [
"BSD-3-Clause"
] | 2 | 2021-04-20T17:13:39.000Z | 2021-09-23T23:35:12.000Z | src/dna-center/dna-center-authenticate.py | grelleum/devasc-code-examples | 589dbd5d34f67f9b823159b731844432977b6490 | [
"BSD-3-Clause"
] | 14 | 2020-08-02T00:07:43.000Z | 2022-03-15T22:25:39.000Z | # Fill in this file with the code from the DNA Center authenticate exercise
| 38 | 75 | 0.802632 | 13 | 76 | 4.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 76 | 1 | 76 | 76 | 0.983871 | 0.960526 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
45ebdac3524066e7f27b37c7714af6daef248dfc | 240 | py | Python | ToxicSense/ToxicSense/urls.py | adamwespiser/toxic-twitter | d9d804ffa231ae1f7b5b188d4beaff1a521d9f27 | [
"MIT"
] | 7 | 2018-12-16T07:14:35.000Z | 2022-02-27T03:58:51.000Z | ToxicSense/ToxicSense/urls.py | adamwespiser/toxic-twitter | d9d804ffa231ae1f7b5b188d4beaff1a521d9f27 | [
"MIT"
] | 1 | 2019-12-17T19:26:46.000Z | 2019-12-17T19:26:46.000Z | ToxicSense/ToxicSense/urls.py | adamwespiser/toxic-twitter | d9d804ffa231ae1f7b5b188d4beaff1a521d9f27 | [
"MIT"
] | 3 | 2019-07-15T05:11:21.000Z | 2022-02-27T04:02:25.000Z | from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.urls import include, path
urlpatterns = [
path("", include("clientapp.urls")),
]
urlpatterns += staticfiles_urlpatterns() | 26.666667 | 67 | 0.7875 | 27 | 240 | 6.925926 | 0.407407 | 0.160428 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 240 | 9 | 68 | 26.666667 | 0.877934 | 0 | 0 | 0 | 0 | 0 | 0.058091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
45f365799338ddd03fef83273cefbaad5a6921c9 | 94 | py | Python | categories/settings/settings.py | visuable/vktoolspython | 8e30ef1ad175c721e4eedf37ec32a77a5af984d0 | [
"MIT"
] | null | null | null | categories/settings/settings.py | visuable/vktoolspython | 8e30ef1ad175c721e4eedf37ec32a77a5af984d0 | [
"MIT"
] | null | null | null | categories/settings/settings.py | visuable/vktoolspython | 8e30ef1ad175c721e4eedf37ec32a77a5af984d0 | [
"MIT"
] | null | null | null | class Settings:
params = ()
def __init__(self, params):
self.params = params
| 15.666667 | 31 | 0.595745 | 10 | 94 | 5.2 | 0.6 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297872 | 94 | 5 | 32 | 18.8 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3455b1955d2acc2dab4b57985cd45af0fbcdd700 | 27 | py | Python | dockerspawner/_version.py | JocelynDelalande/dockerspawner | d1f27e2855d2cefbdb25b29cc069b9ca69d564e3 | [
"BSD-3-Clause"
] | 1 | 2021-01-28T17:22:25.000Z | 2021-01-28T17:22:25.000Z | dockerspawner/_version.py | JocelynDelalande/dockerspawner | d1f27e2855d2cefbdb25b29cc069b9ca69d564e3 | [
"BSD-3-Clause"
] | null | null | null | dockerspawner/_version.py | JocelynDelalande/dockerspawner | d1f27e2855d2cefbdb25b29cc069b9ca69d564e3 | [
"BSD-3-Clause"
] | 1 | 2018-07-25T16:11:06.000Z | 2018-07-25T16:11:06.000Z | __version__ = '0.12.0.dev'
| 13.5 | 26 | 0.666667 | 5 | 27 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 1 | 27 | 27 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
347c81c8c4f4daeb6c84c94cebb5501201c3d014 | 126 | py | Python | src/generate-random-int.py | MRN-Code/coinstac-example-computation-bisect-converge | 761515c865ed635946620968da8e3bfbab632b7a | [
"MIT"
] | null | null | null | src/generate-random-int.py | MRN-Code/coinstac-example-computation-bisect-converge | 761515c865ed635946620968da8e3bfbab632b7a | [
"MIT"
] | 2 | 2016-06-08T02:03:27.000Z | 2016-10-03T23:11:00.000Z | src/generate-random-int.py | MRN-Code/coinstac-example-computation-bisect-converge | 761515c865ed635946620968da8e3bfbab632b7a | [
"MIT"
] | 1 | 2021-02-08T03:00:52.000Z | 2021-02-08T03:00:52.000Z | import sys
from random import randint
myint = randint(1, 100)
print myint
sys.stderr.write('My random # was ' + str(myint))
| 15.75 | 49 | 0.722222 | 20 | 126 | 4.55 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.166667 | 126 | 7 | 50 | 18 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ca9ef425f203639ff23bebc4718d840ebe0dc154 | 388 | py | Python | pyfilter/src/filters/__init__.py | zkscpqm/pyfilter | 39c284681ec6f377059907b75346028d99cbdd4c | [
"MIT"
] | null | null | null | pyfilter/src/filters/__init__.py | zkscpqm/pyfilter | 39c284681ec6f377059907b75346028d99cbdd4c | [
"MIT"
] | 1 | 2021-04-28T18:40:13.000Z | 2021-04-28T18:40:13.000Z | pyfilter/src/filters/__init__.py | zkscpqm/pyfilter | 39c284681ec6f377059907b75346028d99cbdd4c | [
"MIT"
] | null | null | null | from pyfilter.src.filters.base_filter import _BaseFilter
from pyfilter.src.filters.any_match_filter import _AnyMatchFilter
from pyfilter.src.filters.all_match_filter import _AllMatchFilter
from pyfilter.src.filters.regex_match_filter import _RegexMatchFilter
BaseFilter = _BaseFilter
AnyMatchFilter = _AnyMatchFilter
Al... | 38.8 | 69 | 0.884021 | 43 | 388 | 7.627907 | 0.348837 | 0.146341 | 0.182927 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074742 | 388 | 9 | 70 | 43.111111 | 0.913649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cab6f3d40e01507ff20d8b05edf9989c7da0065c | 906 | py | Python | cli/psym/graphql/input/service_type_create_data.py | danielrh135568/symphony-1 | 54c92a0f8775d1a837ab7c7bd6a08ccd906d28a4 | [
"BSD-3-Clause"
] | null | null | null | cli/psym/graphql/input/service_type_create_data.py | danielrh135568/symphony-1 | 54c92a0f8775d1a837ab7c7bd6a08ccd906d28a4 | [
"BSD-3-Clause"
] | 12 | 2022-02-14T04:20:30.000Z | 2022-03-28T04:20:17.000Z | cli/psym/graphql/input/service_type_create_data.py | danielrh135568/symphony-1 | 54c92a0f8775d1a837ab7c7bd6a08ccd906d28a4 | [
"BSD-3-Clause"
] | 1 | 2022-02-24T21:47:51.000Z | 2022-02-24T21:47:51.000Z | #!/usr/bin/env python3
# @generated AUTOGENERATED file. Do not Change!
from dataclasses import dataclass, field as _field
from functools import partial
from ...config import custom_scalars, datetime
from numbers import Number
from typing import Any, AsyncGenerator, Dict, List, Generator, Optional
from dataclasses_jso... | 34.846154 | 84 | 0.8234 | 101 | 906 | 7.257426 | 0.60396 | 0.040928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001247 | 0.11479 | 906 | 25 | 85 | 36.24 | 0.912718 | 0.073951 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.588235 | 0 | 0.941176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cad352c0ee2da88f233720dd9035312793238d9b | 128 | py | Python | tests/druid_import_test.py | moshebeeri/datap | 9ff99bb435728cd69f2589e3ee858a06768ea85e | [
"Apache-2.0"
] | null | null | null | tests/druid_import_test.py | moshebeeri/datap | 9ff99bb435728cd69f2589e3ee858a06768ea85e | [
"Apache-2.0"
] | null | null | null | tests/druid_import_test.py | moshebeeri/datap | 9ff99bb435728cd69f2589e3ee858a06768ea85e | [
"Apache-2.0"
] | null | null | null | from service.druid import Druid
class TestImport:
def test_it(self):
druid = Druid(start=None, end=None)
assert True | 18.285714 | 39 | 0.71875 | 19 | 128 | 4.789474 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195313 | 128 | 7 | 40 | 18.285714 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cade8ff7daa98befdd0853d4ec61c4994673256a | 184 | py | Python | alwahaj/core/views/solutions.py | haidarzxc/alwahaj | 113ece9c713a6e6d04b5f9804885ed6a5337e404 | [
"MIT"
] | null | null | null | alwahaj/core/views/solutions.py | haidarzxc/alwahaj | 113ece9c713a6e6d04b5f9804885ed6a5337e404 | [
"MIT"
] | 12 | 2020-02-12T00:30:39.000Z | 2022-03-11T23:49:30.000Z | alwahaj/core/views/solutions.py | haidarzxc/alwahaj | 113ece9c713a6e6d04b5f9804885ed6a5337e404 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def solutionsView(request):
context=dict(x=1)
return render(request,"pages/solutions.html",context) | 20.444444 | 57 | 0.777174 | 24 | 184 | 5.958333 | 0.75 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.130435 | 184 | 9 | 57 | 20.444444 | 0.8875 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
caf87ffe18c8dd2b3ed1b12b61911c042ab343c5 | 34 | py | Python | api/tests.py | PrynsTag/oneBarangay | 6a8d56003d85b8385e91f5c5d81208619023c1ee | [
"Apache-2.0"
] | null | null | null | api/tests.py | PrynsTag/oneBarangay | 6a8d56003d85b8385e91f5c5d81208619023c1ee | [
"Apache-2.0"
] | 96 | 2021-08-28T12:37:02.000Z | 2022-03-23T04:25:12.000Z | api/tests.py | PrynsTag/oneBarangay | 6a8d56003d85b8385e91f5c5d81208619023c1ee | [
"Apache-2.0"
] | null | null | null | """Create your api tests here."""
| 17 | 33 | 0.647059 | 5 | 34 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.758621 | 0.794118 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cafc41228d764fbb4c8e04bd84332419504fc329 | 150 | py | Python | Level 1/Math with Python/7) Geometry/Question 4.py | aaravdave/YoungWonks | 92f1de88f5c46744bc7229153af4392afa8f6353 | [
"MIT"
] | null | null | null | Level 1/Math with Python/7) Geometry/Question 4.py | aaravdave/YoungWonks | 92f1de88f5c46744bc7229153af4392afa8f6353 | [
"MIT"
] | null | null | null | Level 1/Math with Python/7) Geometry/Question 4.py | aaravdave/YoungWonks | 92f1de88f5c46744bc7229153af4392afa8f6353 | [
"MIT"
] | null | null | null | from math import sqrt
x, y, a, b = list(map(int, input('Enter \'x, y, a, b\': ').split(', ')))
print(round(sqrt(((x - a) ** 2) + ((y - b) ** 2)), 2))
| 37.5 | 72 | 0.48 | 28 | 150 | 2.571429 | 0.607143 | 0.138889 | 0.083333 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.193333 | 150 | 3 | 73 | 50 | 0.570248 | 0 | 0 | 0 | 0 | 0 | 0.073333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1b0aaadcb1eb6855d01a9e5bbebdbbb9748a0d63 | 217 | py | Python | main/frontend.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | null | null | null | main/frontend.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | null | null | null | main/frontend.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | null | null | null | from django.conf import settings
def get_project_url(id):
return f'https://{settings.FRONTEND_URL}/three-w/{id}/'
def get_flash_update_url(id):
return f'https://{settings.FRONTEND_URL}/flash-update/{id}/'
| 21.7 | 64 | 0.728111 | 34 | 217 | 4.441176 | 0.529412 | 0.07947 | 0.145695 | 0.15894 | 0.476821 | 0.476821 | 0.476821 | 0.476821 | 0 | 0 | 0 | 0 | 0.110599 | 217 | 9 | 65 | 24.111111 | 0.782383 | 0 | 0 | 0 | 0 | 0 | 0.437788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1b41e9945c6c839c2b6547f47be6d98b19247e76 | 314 | py | Python | tests/image/test_util.py | kungfuai/kaishi | e20360170ccac2111cab61fcd71b81be3c2a7468 | [
"MIT"
] | 10 | 2020-04-01T16:46:25.000Z | 2021-02-09T15:56:42.000Z | tests/image/test_util.py | kungfuai/kaishi | e20360170ccac2111cab61fcd71b81be3c2a7468 | [
"MIT"
] | 14 | 2020-03-23T13:32:35.000Z | 2021-12-07T19:30:23.000Z | tests/image/test_util.py | kungfuai/kaishi | e20360170ccac2111cab61fcd71b81be3c2a7468 | [
"MIT"
] | 2 | 2020-08-14T07:23:06.000Z | 2021-12-06T18:20:42.000Z | from kaishi.image.util import validate_image_header
def test_validate_image_header():
invalid_file = "tests/data/image/empty_unsupported_extension.gif"
valid_file = "tests/data/image/sample.jpg"
assert validate_image_header(invalid_file) is False
assert validate_image_header(valid_file) is True
| 34.888889 | 69 | 0.805732 | 45 | 314 | 5.288889 | 0.533333 | 0.218487 | 0.319328 | 0.218487 | 0.252101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 314 | 8 | 70 | 39.25 | 0.862319 | 0 | 0 | 0 | 0 | 0 | 0.238854 | 0.238854 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1b425500770d391ac96c7cb6e196a4ccf6b4b2b5 | 106 | py | Python | codesignal/arcade/python/intro_51_delete_digit.py | tinesife94/random | b802924dce4635ae074d30dc03962d4301bd6d8b | [
"MIT"
] | null | null | null | codesignal/arcade/python/intro_51_delete_digit.py | tinesife94/random | b802924dce4635ae074d30dc03962d4301bd6d8b | [
"MIT"
] | null | null | null | codesignal/arcade/python/intro_51_delete_digit.py | tinesife94/random | b802924dce4635ae074d30dc03962d4301bd6d8b | [
"MIT"
] | null | null | null | def solution(n):
s = str(n)
return max(int('{}{}'.format(s[:i], s[i+1:])) for i in range(len(s)))
| 26.5 | 73 | 0.518868 | 21 | 106 | 2.619048 | 0.714286 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.188679 | 106 | 3 | 74 | 35.333333 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1b56962e5a6d5a63085f2158e015e7d133280d2e | 82 | py | Python | 0-notes/job-search/Cracking the Coding Interview/C14Databases/questions/14.5-question.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 0-notes/job-search/Cracking the Coding Interview/C14Databases/questions/14.5-question.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 0-notes/job-search/Cracking the Coding Interview/C14Databases/questions/14.5-question.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | # 14.5 Denormalization
# What is denormalization?
# Explain the pros and cons.
| 16.4 | 28 | 0.731707 | 11 | 82 | 5.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.195122 | 82 | 4 | 29 | 20.5 | 0.863636 | 0.902439 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1b7b2c0fc016dac1b8ba6644993ed164d22d1e22 | 156 | py | Python | Chapter07/function_with_variable_length.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 12 | 2018-07-09T16:20:31.000Z | 2022-03-21T22:52:15.000Z | Chapter07/function_with_variable_length.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | null | null | null | Chapter07/function_with_variable_length.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 19 | 2018-01-09T12:49:06.000Z | 2021-11-23T08:05:55.000Z | def variable_argument( var1, *vari):
print "Out-put is",var1
for var in vari:
print var
variable_argument(60)
variable_argument(100,90,40,50,60) | 26 | 38 | 0.717949 | 26 | 156 | 4.192308 | 0.653846 | 0.440367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.166667 | 156 | 6 | 39 | 26 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1b8169f6eb4ed6fdca2017473451e62866f4dddf | 72 | py | Python | osmaxx/clipping_area/__init__.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 27 | 2015-03-30T14:17:26.000Z | 2022-02-19T17:30:44.000Z | osmaxx/clipping_area/__init__.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 483 | 2015-03-09T16:58:03.000Z | 2022-03-14T09:29:06.000Z | osmaxx/clipping_area/__init__.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 6 | 2015-04-07T07:38:30.000Z | 2020-04-01T12:45:53.000Z | default_app_config = 'osmaxx.clipping_area.apps.ClippingGeometryConfig'
| 36 | 71 | 0.875 | 8 | 72 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 72 | 1 | 72 | 72 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1bad40a6c2690a5a87273e36adcd88ebfffca7a8 | 357 | py | Python | investment_dashboard/portfolio/models.py | mjenrungrot/investment-dashboard | 89b296a635ee3c29171f7bf88cc8e49250981637 | [
"MIT"
] | null | null | null | investment_dashboard/portfolio/models.py | mjenrungrot/investment-dashboard | 89b296a635ee3c29171f7bf88cc8e49250981637 | [
"MIT"
] | 4 | 2017-12-19T08:39:10.000Z | 2017-12-20T10:59:38.000Z | investment_dashboard/portfolio/models.py | mjenrungrot/investment-dashboard | 89b296a635ee3c29171f7bf88cc8e49250981637 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class PortfolioTransaction(models.Model):
datetime = models.DateTimeField()
equityType = models.CharField(max_length=10)
equityName = models.CharField(max_length=30)
units = models.DecimalField(max_digits=20, decimal_places=10)
currenc... | 35.7 | 66 | 0.747899 | 43 | 357 | 6.093023 | 0.627907 | 0.171756 | 0.206107 | 0.274809 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.159664 | 357 | 9 | 67 | 39.666667 | 0.84 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9415bfc2b8cf89dc33ab8191d5c33c608b5083d7 | 717 | py | Python | database/users.py | obeyurfate/GitWithMe | d316814eac17ce9b704b4dd98b8af59ab931b131 | [
"Unlicense"
] | 1 | 2021-04-02T14:41:51.000Z | 2021-04-02T14:41:51.000Z | database/users.py | obeyurfate/GitWithMe | d316814eac17ce9b704b4dd98b8af59ab931b131 | [
"Unlicense"
] | null | null | null | database/users.py | obeyurfate/GitWithMe | d316814eac17ce9b704b4dd98b8af59ab931b131 | [
"Unlicense"
] | null | null | null | import sqlalchemy
from flask_login import UserMixin
from sqlalchemy import orm
from sqlalchemy_serializer import SerializerMixin
from .db_sess import SqlAlchemyBase
class User(SqlAlchemyBase, UserMixin, SerializerMixin):
__tablename__ = 'users'
id = sqlalchemy.Column(sqlalchemy.Integer,
... | 35.85 | 69 | 0.704324 | 70 | 717 | 7.071429 | 0.485714 | 0.161616 | 0.262626 | 0.258586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220363 | 717 | 20 | 70 | 35.85 | 0.88551 | 0 | 0 | 0 | 0 | 0 | 0.041783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3125 | 0 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9422f13be98f523048aa61ab11428eaf41ad9a8c | 87 | py | Python | apps/codigo/apps.py | IngMachine/compiladores | d8cd2cde29af09188037e7627fc63403a322f5c7 | [
"Apache-2.0"
] | null | null | null | apps/codigo/apps.py | IngMachine/compiladores | d8cd2cde29af09188037e7627fc63403a322f5c7 | [
"Apache-2.0"
] | null | null | null | apps/codigo/apps.py | IngMachine/compiladores | d8cd2cde29af09188037e7627fc63403a322f5c7 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class CodigoConfig(AppConfig):
name = 'codigo'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
943728d83ca7e0f84d7f541a3c187e7872c2261b | 200 | py | Python | backend/apps/sampleapp/serializers.py | domasx2/django-angular-docker-seed | 5c1ad6d62d179c9cb5cdbf7b1254576efa63b2fb | [
"Unlicense"
] | 32 | 2015-04-27T02:01:59.000Z | 2021-04-06T10:19:42.000Z | backend/apps/sampleapp/serializers.py | domasx2/django-angular-docker-seed | 5c1ad6d62d179c9cb5cdbf7b1254576efa63b2fb | [
"Unlicense"
] | 14 | 2015-03-21T08:20:34.000Z | 2016-02-15T07:07:39.000Z | backend/apps/sampleapp/serializers.py | domasx2/django-angular-docker-seed | 5c1ad6d62d179c9cb5cdbf7b1254576efa63b2fb | [
"Unlicense"
] | 21 | 2015-03-18T18:40:12.000Z | 2021-03-16T22:12:44.000Z | from rest_framework import serializers
from .models import Task
class TaskSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Task
read_only_fields = ('slug',) | 28.571429 | 61 | 0.745 | 21 | 200 | 6.952381 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19 | 200 | 7 | 62 | 28.571429 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.019901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.