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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8e9b05d646ccd4859af59aa29c559b8747c7f69f | 135 | py | Python | proxySTAR_V3/certbot/venv/lib/python2.7/site-packages/pylint/test/functional/socketerror_import.py | mami-project/lurk | 98c293251e9b1e9c9a4b02789486c5ddaf46ba3c | [
"Apache-2.0"
] | 2 | 2017-07-05T09:57:33.000Z | 2017-11-14T23:05:53.000Z | Libraries/Python/pylint/v1.4.4/pylint/test/functional/socketerror_import.py | davidbrownell/Common_Environment | 4015872aeac8d5da30a6aa7940e1035a6aa6a75d | [
"BSL-1.0"
] | 1 | 2019-01-17T14:26:22.000Z | 2019-01-17T22:56:26.000Z | Libraries/Python/pylint/v1.4.4/pylint/test/functional/socketerror_import.py | davidbrownell/Common_Environment | 4015872aeac8d5da30a6aa7940e1035a6aa6a75d | [
"BSL-1.0"
] | 1 | 2017-08-31T14:33:03.000Z | 2017-08-31T14:33:03.000Z | """ds"""
__revision__ = '$Id: socketerror_import.py,v 1.2 2005-12-28 14:58:22 syt Exp $'
from socket import error
print(error)
| 19.285714 | 80 | 0.666667 | 23 | 135 | 3.695652 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 0.177778 | 135 | 6 | 81 | 22.5 | 0.621622 | 0.014815 | 0 | 0 | 0 | 0.333333 | 0.512397 | 0.190083 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8eb419a4792d60f6ce371195b43c0f087a61e6c7 | 488 | py | Python | tests/utils.py | LeZuse/psd-tools | 6cc666eb2aa3b844a9cfe12aa8c5206a4fc4fb16 | [
"MIT"
] | 1 | 2022-01-02T17:28:11.000Z | 2022-01-02T17:28:11.000Z | tests/utils.py | LeZuse/psd-tools | 6cc666eb2aa3b844a9cfe12aa8c5206a4fc4fb16 | [
"MIT"
] | null | null | null | tests/utils.py | LeZuse/psd-tools | 6cc666eb2aa3b844a9cfe12aa8c5206a4fc4fb16 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import os
import psd_tools.reader
import psd_tools.decoder
DATA_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'psd_files')
def full_name(filename):
return os.path.join(DATA_PATH, filename)
def load_psd(filename):
... | 28.705882 | 81 | 0.752049 | 75 | 488 | 4.6 | 0.453333 | 0.092754 | 0.081159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002342 | 0.125 | 488 | 17 | 82 | 28.705882 | 0.805621 | 0.043033 | 0 | 0 | 0 | 0 | 0.023605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 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 |
8edbcffee9e007b4473756cc68749c01f66cf88a | 87 | py | Python | dunant/apps.py | MinisterioPublicoRJ/api-cadg | a8998c4c234a65192f1dca8ea9a17a1d4a496556 | [
"MIT"
] | 6 | 2020-02-11T18:45:58.000Z | 2020-05-26T12:37:28.000Z | dunant/apps.py | MinisterioPublicoRJ/api-cadg | a8998c4c234a65192f1dca8ea9a17a1d4a496556 | [
"MIT"
] | 120 | 2019-07-01T14:45:32.000Z | 2022-01-25T19:10:16.000Z | dunant/apps.py | MinisterioPublicoRJ/apimpmapas | 196ad25a4922448b8ae7a66012a2843c7b7194ad | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DunantConfig(AppConfig):
name = 'dunant'
| 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 |
8ee08957df4e9c7c8ed2a79538edc6d2b8ab553e | 561 | py | Python | home/models.py | 85599/nse-django | f42531528137f39596b374a0dacdd37957e69ed2 | [
"MIT"
] | null | null | null | home/models.py | 85599/nse-django | f42531528137f39596b374a0dacdd37957e69ed2 | [
"MIT"
] | 1 | 2021-02-25T05:34:43.000Z | 2021-02-25T05:34:43.000Z | home/models.py | 85599/nse-django | f42531528137f39596b374a0dacdd37957e69ed2 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Users(models.Model):
user_name = models.CharField(max_length=20, blank=False, null=False)
phone_number = models.CharField(max_length=20, blank=False, null=False)
email = models.EmailField(max_length=50, blank=False, null=False)
password = mo... | 40.071429 | 77 | 0.759358 | 81 | 561 | 5.135802 | 0.345679 | 0.129808 | 0.201923 | 0.274038 | 0.598558 | 0.598558 | 0.598558 | 0.598558 | 0.598558 | 0.490385 | 0 | 0.02444 | 0.124777 | 561 | 13 | 78 | 43.153846 | 0.822811 | 0.042781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.222222 | 0.111111 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8eef284baefa30fd429c5784d2cbeae9fc1407f6 | 391 | py | Python | applications/DelaunayMeshingApplication/DelaunayMeshingApplication.py | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 2 | 2019-10-25T09:28:10.000Z | 2019-11-21T12:51:46.000Z | applications/DelaunayMeshingApplication/DelaunayMeshingApplication.py | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 13 | 2019-10-07T12:06:51.000Z | 2020-02-18T08:48:33.000Z | applications/DelaunayMeshingApplication/DelaunayMeshingApplication.py | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | null | null | null | from __future__ import print_function, absolute_import, division
import KratosMultiphysics as KM
from KratosDelaunayMeshingApplication import *
application = KratosDelaunayMeshingApplication()
application_name = "KratosDelaunayMeshingApplication"
application_folder = "DelaunayMeshingApplication"
KM._ImportApplicatio... | 35.545455 | 90 | 0.877238 | 31 | 391 | 10.580645 | 0.548387 | 0.262195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076726 | 391 | 10 | 91 | 39.1 | 0.908587 | 0 | 0 | 0 | 0 | 0 | 0.148338 | 0.148338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d90769ff1c096d6f6a217fabec3a52eaa7ac9f83 | 105 | py | Python | 100-programming-exercises/003.py | marinaoliveira96/python-exercises | 13fc0ec30dec9bb6531cdeb41c80726971975835 | [
"MIT"
] | null | null | null | 100-programming-exercises/003.py | marinaoliveira96/python-exercises | 13fc0ec30dec9bb6531cdeb41c80726971975835 | [
"MIT"
] | null | null | null | 100-programming-exercises/003.py | marinaoliveira96/python-exercises | 13fc0ec30dec9bb6531cdeb41c80726971975835 | [
"MIT"
] | null | null | null | # convert bytes to a string
bytes_to_convert = b"Python"
converted_str = bytes_to_convert.decode('utf-8') | 35 | 48 | 0.790476 | 18 | 105 | 4.333333 | 0.666667 | 0.269231 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.104762 | 105 | 3 | 48 | 35 | 0.819149 | 0.238095 | 0 | 0 | 0 | 0 | 0.139241 | 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 |
d90b891f05a0235366f68d96b859bad5b097c4e4 | 105,440 | py | Python | nova/utils.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/utils.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/utils.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2010 United States Government as represented by the'
nl|'\n'
comment|'# Administrator of the National Aeronautics and Space Administration.'
nl|'\n'
comment|'# Copyright 2011 Justin Santa Barbara'
nl|'\n'
comment|'# All Rights Reserved.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed... | 13.68462 | 1,750 | 0.592773 | 15,618 | 105,440 | 3.937124 | 0.070432 | 0.120703 | 0.093349 | 0.069995 | 0.703122 | 0.605725 | 0.532526 | 0.461441 | 0.39878 | 0.330493 | 0 | 0.003587 | 0.13015 | 105,440 | 7,704 | 1,751 | 13.686397 | 0.666845 | 0 | 0 | 0.926532 | 0 | 0.003505 | 0.667413 | 0.049156 | 0 | 0 | 0.00074 | 0 | 0 | 0 | null | null | 0.003375 | 0.00675 | null | null | 0.000649 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9293c59dabd39944eef5d9d2b6105aa511b7b95 | 203 | py | Python | pylacuna/core/empire.py | miketwo/pylacuna | ef2144cef6d5793b75e9c82018d434e0ff2b2c46 | [
"MIT"
] | null | null | null | pylacuna/core/empire.py | miketwo/pylacuna | ef2144cef6d5793b75e9c82018d434e0ff2b2c46 | [
"MIT"
] | null | null | null | pylacuna/core/empire.py | miketwo/pylacuna | ef2144cef6d5793b75e9c82018d434e0ff2b2c46 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
class Empire(dict):
''' Methods for updating/viewing Empirees '''
def __init__(self, Empire_dict):
super(Empire, self).__init__()
self.update(Empire_dict)
| 22.555556 | 49 | 0.655172 | 25 | 203 | 4.92 | 0.68 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 203 | 8 | 50 | 25.375 | 0.763975 | 0.29064 | 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 |
d93928a30d4962fc05010d1d69adb9379db14944 | 86 | py | Python | my_receipts/apps/receipts/parsers/errors.py | Tvrsch/my_receipts | 0a905d2366cee3b62f2dd083af1622afeb648bef | [
"MIT"
] | null | null | null | my_receipts/apps/receipts/parsers/errors.py | Tvrsch/my_receipts | 0a905d2366cee3b62f2dd083af1622afeb648bef | [
"MIT"
] | 11 | 2021-05-10T15:40:38.000Z | 2022-02-28T21:09:37.000Z | my_receipts/apps/receipts/parsers/errors.py | Tvrsch/my_receipts | 0a905d2366cee3b62f2dd083af1622afeb648bef | [
"MIT"
] | 2 | 2021-09-18T18:49:58.000Z | 2021-11-17T12:29:13.000Z | class ParserError(Exception):
pass
class ReceiptNotFound(ParserError):
pass
| 12.285714 | 35 | 0.744186 | 8 | 86 | 8 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 6 | 36 | 14.333333 | 0.914286 | 0 | 0 | 0.5 | 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 |
d973bd2dfc885f2f01787dc976effa3a1cc5fced | 7,872 | py | Python | mayaSDK/maya/analytics/analyticScheduling.py | FXTD-ODYSSEY/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 20 | 2019-09-20T00:30:22.000Z | 2021-12-26T06:56:16.000Z | mayaSDK/maya/analytics/analyticScheduling.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 5 | 2019-12-29T15:19:03.000Z | 2022-03-29T16:54:19.000Z | mayaSDK/maya/analytics/analyticScheduling.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 8 | 2019-09-23T05:46:44.000Z | 2022-01-11T14:42:14.000Z | """
Check that the scheduling graph generated by the automated process is
equivalent to the graph generated by the dbpeek command.
"""
from maya.analytics.decorators import makeAnalytic
from maya.analytics.decorators import addMethodDocs
from maya.debug.emModeManager import emModeManager
from maya.analytics.BaseAnalyt... | 73.570093 | 4,866 | 0.660315 | 1,122 | 7,872 | 4.589127 | 0.262032 | 0.013206 | 0.015149 | 0.01981 | 0.401437 | 0.375024 | 0.353661 | 0.34162 | 0.330355 | 0.300447 | 0 | 0.003142 | 0.272358 | 7,872 | 106 | 4,867 | 74.264151 | 0.895775 | 0.160442 | 0 | 0.142857 | 1 | 0.107143 | 0.233197 | 0.005025 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.214286 | 0 | 0.607143 | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d973cdb7a54c3c6fc59251e5b2c8b94d5499302b | 432 | py | Python | seamester/interface.py | PROgramJEDI/seamester | 736fdc55cb8b9b1c87b2767ded4fc7de86378078 | [
"MIT"
] | null | null | null | seamester/interface.py | PROgramJEDI/seamester | 736fdc55cb8b9b1c87b2767ded4fc7de86378078 | [
"MIT"
] | 5 | 2021-12-26T07:42:18.000Z | 2021-12-28T09:43:04.000Z | seamester/interface.py | PROgramJEDI/seamaster | 736fdc55cb8b9b1c87b2767ded4fc7de86378078 | [
"MIT"
] | null | null | null | from typing import Iterable, Optional
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from program import Group, Course, Base
class UserInterface:
'''
helps the user select his courses for the next semester easily.
uses the Semester class.
'''
# IMPLEMENT: a function tha... | 28.8 | 132 | 0.761574 | 63 | 432 | 5.206349 | 0.698413 | 0.085366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196759 | 432 | 14 | 133 | 30.857143 | 0.945245 | 0.50463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
d985584a8013db85d0179eca56dd75b9efe35495 | 104 | py | Python | src/ebonite/build/runner/__init__.py | koskotG/ebonite | 9f9ae016b70fb24865d5edc99142afb8ab4ddc59 | [
"Apache-2.0"
] | null | null | null | src/ebonite/build/runner/__init__.py | koskotG/ebonite | 9f9ae016b70fb24865d5edc99142afb8ab4ddc59 | [
"Apache-2.0"
] | null | null | null | src/ebonite/build/runner/__init__.py | koskotG/ebonite | 9f9ae016b70fb24865d5edc99142afb8ab4ddc59 | [
"Apache-2.0"
] | null | null | null | from .base import RunnerBase
from .docker import DockerRunner
__all__ = ['DockerRunner', 'RunnerBase']
| 20.8 | 40 | 0.778846 | 11 | 104 | 7 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 4 | 41 | 26 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 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 |
d994886350ac6a77e7e0c8bdb23b01fee06971d7 | 115 | py | Python | scraper_pipeline/models/notification.py | rlrossiter/scraper-pipeline | cdbf54a3f794fcedf9408f5453f87d87c3cda89a | [
"MIT"
] | 1 | 2021-01-22T18:13:58.000Z | 2021-01-22T18:13:58.000Z | scraper_pipeline/models/notification.py | rlrossiter/scraper-pipeline | cdbf54a3f794fcedf9408f5453f87d87c3cda89a | [
"MIT"
] | 5 | 2021-02-02T07:41:04.000Z | 2021-02-02T07:47:44.000Z | scraper_pipeline/models/notification.py | rlrossiter/scraper-pipeline | cdbf54a3f794fcedf9408f5453f87d87c3cda89a | [
"MIT"
] | null | null | null | import typing
class Notification(typing.NamedTuple):
page_id: str
address: str
last_notify_time: int
| 14.375 | 38 | 0.730435 | 15 | 115 | 5.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208696 | 115 | 7 | 39 | 16.428571 | 0.89011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 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 |
d994e40b0f68de035afb25d6c959fb5be1adea7b | 241 | py | Python | services/traction/api/endpoints/routes/v1/tenant/messages/__init__.py | bcgov/traction | 90cec4f1aebccd68eb986cb89dfae5819a07a2ee | [
"Apache-2.0"
] | 12 | 2022-01-29T20:30:03.000Z | 2022-03-29T11:46:14.000Z | services/traction/api/endpoints/routes/v1/tenant/messages/__init__.py | bcgov/traction | 90cec4f1aebccd68eb986cb89dfae5819a07a2ee | [
"Apache-2.0"
] | 38 | 2021-11-22T17:52:50.000Z | 2022-03-31T17:52:00.000Z | services/traction/api/endpoints/routes/v1/tenant/messages/__init__.py | bcgov/traction | 90cec4f1aebccd68eb986cb89dfae5819a07a2ee | [
"Apache-2.0"
] | 9 | 2021-11-22T18:05:48.000Z | 2022-03-29T11:25:08.000Z | from fastapi import APIRouter
from .messages import router as messages
from .message import router as message
messages_router = APIRouter()
messages_router.include_router(messages, tags=[])
messages_router.include_router(message, tags=[])
| 26.777778 | 49 | 0.817427 | 31 | 241 | 6.193548 | 0.322581 | 0.21875 | 0.145833 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103734 | 241 | 8 | 50 | 30.125 | 0.888889 | 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 | 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 |
79860900b0306fae8d160f71f4a49756938b5523 | 252 | py | Python | poop/hfdp/decorator/starbuzz/beverage.py | cassiobotaro/poop | fc218fbf638c50da8ea98dab7de26ad2a52e83f5 | [
"MIT"
] | 37 | 2020-12-27T00:13:07.000Z | 2022-01-31T19:30:18.000Z | poop/hfdp/decorator/starbuzz/beverage.py | cassiobotaro/poop | fc218fbf638c50da8ea98dab7de26ad2a52e83f5 | [
"MIT"
] | null | null | null | poop/hfdp/decorator/starbuzz/beverage.py | cassiobotaro/poop | fc218fbf638c50da8ea98dab7de26ad2a52e83f5 | [
"MIT"
] | 7 | 2020-12-26T22:33:47.000Z | 2021-11-07T01:29:59.000Z | from abc import ABC, abstractmethod
class Beverage(ABC):
description = "Unknown Beverage"
def get_description(self) -> str:
return self.description
@abstractmethod
def cost(self) -> float:
raise NotImplementedError
| 18 | 37 | 0.68254 | 26 | 252 | 6.576923 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242063 | 252 | 13 | 38 | 19.384615 | 0.895288 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
79a5c56a655a2d108a865e003b878bfc2aec4094 | 198 | py | Python | screenfactory.py | marian42/pixelpi | 565a8df5d0d53dd898c3643a5817ea9553667cf1 | [
"MIT"
] | 94 | 2015-09-03T13:41:07.000Z | 2021-11-04T15:38:22.000Z | screenfactory.py | LemaruX/pixelpi | 6118fc223f28738c133816e6569734adad002c3f | [
"MIT"
] | 5 | 2016-07-12T04:20:49.000Z | 2021-05-06T22:39:26.000Z | screenfactory.py | LemaruX/pixelpi | 6118fc223f28738c133816e6569734adad002c3f | [
"MIT"
] | 19 | 2015-09-25T11:20:54.000Z | 2021-03-30T14:23:54.000Z | import config
def create_screen():
if config.virtual_hardware:
from screen.virtualscreen import VirtualScreen
return VirtualScreen()
else:
from screen.screen import Screen
return Screen() | 22 | 48 | 0.792929 | 24 | 198 | 6.458333 | 0.5 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146465 | 198 | 9 | 49 | 22 | 0.91716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
79d14c5cec4385447f0581763ef211da45be6cb4 | 802 | py | Python | {{ cookiecutter.repo_name }}/src/base/pipeline.py | Vanova/cookiecutter-data-science | 4d52e16fbe3d1417a93d215dc72b9fc1b7b9dec9 | [
"MIT"
] | 11 | 2019-03-02T11:05:28.000Z | 2022-02-15T15:51:46.000Z | {{ cookiecutter.repo_name }}/src/base/pipeline.py | Vanova/cookiecutter-data-science | 4d52e16fbe3d1417a93d215dc72b9fc1b7b9dec9 | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/src/base/pipeline.py | Vanova/cookiecutter-data-science | 4d52e16fbe3d1417a93d215dc72b9fc1b7b9dec9 | [
"MIT"
] | 5 | 2019-03-02T11:05:31.000Z | 2020-09-01T20:33:05.000Z |
class BasePipeline(object):
"""Main end-point to run the pipeline processes"""
def __init__(self, config):
self.config = config
def initialize_data(self):
""" Initialize dataset: loading, preprocess metadata"""
raise NotImplementedError
def extract_feature(self):
raise... | 24.30303 | 63 | 0.689526 | 78 | 802 | 6.910256 | 0.448718 | 0.400742 | 0.400742 | 0.402597 | 0.476809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246883 | 802 | 33 | 64 | 24.30303 | 0.892384 | 0.11596 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | false | 0 | 0 | 0 | 0.52381 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8dcb1cc967a4c22fc20bb95e926214f71e27c391 | 139 | py | Python | ipython_mysql_kernel/__main__.py | hotvulcan/rails_console_kernel | 4af378448c00ab2030ae2b1dc83e84127b5aed5e | [
"BSD-3-Clause"
] | null | null | null | ipython_mysql_kernel/__main__.py | hotvulcan/rails_console_kernel | 4af378448c00ab2030ae2b1dc83e84127b5aed5e | [
"BSD-3-Clause"
] | null | null | null | ipython_mysql_kernel/__main__.py | hotvulcan/rails_console_kernel | 4af378448c00ab2030ae2b1dc83e84127b5aed5e | [
"BSD-3-Clause"
] | null | null | null | from IPython.kernel.zmq.kernelapp import IPKernelApp
from .kernel import MySQLKernel
IPKernelApp.launch_instance(kernel_class=MySQLKernel)
| 34.75 | 53 | 0.877698 | 17 | 139 | 7.058824 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064748 | 139 | 3 | 54 | 46.333333 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5c2167c78d5c85a8e05aeb0828c89747f393a88f | 125 | py | Python | Remove-Element/RE.py | ccqpein/Arithmetic-Exercises | 748d7ac1313892d47eb0a66a0b7705e6d33b43ad | [
"Apache-2.0"
] | 4 | 2017-07-11T03:07:49.000Z | 2021-10-09T06:46:10.000Z | Remove-Element/RE.py | ccqpein/Arithmetic-Exercises | 748d7ac1313892d47eb0a66a0b7705e6d33b43ad | [
"Apache-2.0"
] | null | null | null | Remove-Element/RE.py | ccqpein/Arithmetic-Exercises | 748d7ac1313892d47eb0a66a0b7705e6d33b43ad | [
"Apache-2.0"
] | 1 | 2017-12-06T22:19:33.000Z | 2017-12-06T22:19:33.000Z | def removeElement(nums, val):
newArray = [n for n in nums if n != val]
print(newArray)
print(len(newArray))
| 20.833333 | 44 | 0.616 | 18 | 125 | 4.277778 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264 | 125 | 5 | 45 | 25 | 0.836957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 |
5c21dc30b7b7a55b7b80e79c750647ba707f77fb | 1,905 | py | Python | examples/pytorch/r-dgmg/heterograph.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | null | null | null | examples/pytorch/r-dgmg/heterograph.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | null | null | null | examples/pytorch/r-dgmg/heterograph.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | null | null | null | from torch.utils.data import Dataset
# An example graph
class HeteroGraphDataset(Dataset):
def __init__(self):
"""Generate a hetero graph according to a sequence of actions.
Parameters
----------
actions : list of 2-tuples of int
actions[t] gives (i, j), the action to ... | 51.486486 | 355 | 0.55958 | 313 | 1,905 | 3.348243 | 0.348243 | 0.017176 | 0.014313 | 0.03626 | 0.164122 | 0.164122 | 0.116412 | 0.062977 | 0 | 0 | 0 | 0.079851 | 0.296588 | 1,905 | 37 | 356 | 51.486486 | 0.702239 | 0.509186 | 0 | 0 | 1 | 0 | 0.053856 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.357143 | false | 0 | 0.071429 | 0.214286 | 0.785714 | 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 |
3084e196784895493854d131492cc2a100dec7ab | 117 | py | Python | judgement/run.py | Little-gg/docInsight_crawler | cba005d8e08e28eb1ce6e0307381cafdabed583c | [
"MIT"
] | null | null | null | judgement/run.py | Little-gg/docInsight_crawler | cba005d8e08e28eb1ce6e0307381cafdabed583c | [
"MIT"
] | null | null | null | judgement/run.py | Little-gg/docInsight_crawler | cba005d8e08e28eb1ce6e0307381cafdabed583c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
from scrapy import cmdline
cmdline.execute("scrapy crawl beijing".split())
| 16.714286 | 47 | 0.74359 | 17 | 117 | 5.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.119658 | 117 | 6 | 48 | 19.5 | 0.834951 | 0.307692 | 0 | 0 | 0 | 0 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
30ce2c1dee3f4bb567de405b3dc8068c6d7cb3dc | 669 | py | Python | coffea/nanoevents/methods/__init__.py | dntaylor/coffea | 6d0b1e5678c840b60a9bf87d6e01341115d26735 | [
"BSD-3-Clause"
] | null | null | null | coffea/nanoevents/methods/__init__.py | dntaylor/coffea | 6d0b1e5678c840b60a9bf87d6e01341115d26735 | [
"BSD-3-Clause"
] | null | null | null | coffea/nanoevents/methods/__init__.py | dntaylor/coffea | 6d0b1e5678c840b60a9bf87d6e01341115d26735 | [
"BSD-3-Clause"
] | null | null | null | """Mixin methods for NanoEvents"""
from coffea.nanoevents.methods.base import NanoCollection, NanoEvents
from coffea.nanoevents.methods.vector import (
TwoVector,
PolarTwoVector,
ThreeVector,
SphericalThreeVector,
LorentzVector,
PtEtaPhiMLorentzVector,
)
from coffea.nanoevents.methods.candidate ... | 27.875 | 70 | 0.778774 | 66 | 669 | 7.893939 | 0.484848 | 0.134357 | 0.268714 | 0.362764 | 0.142035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147982 | 669 | 23 | 71 | 29.086957 | 0.914035 | 0.041854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.318182 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a51561471d85d2bf2734bb91e147d0ab7227c09b | 104 | py | Python | hypernets/tabular/cuml_ex/__init__.py | Enpen/Hypernets | 5fbf01412ffaef310855d98f52f8cc169e96246b | [
"Apache-2.0"
] | null | null | null | hypernets/tabular/cuml_ex/__init__.py | Enpen/Hypernets | 5fbf01412ffaef310855d98f52f8cc169e96246b | [
"Apache-2.0"
] | null | null | null | hypernets/tabular/cuml_ex/__init__.py | Enpen/Hypernets | 5fbf01412ffaef310855d98f52f8cc169e96246b | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
"""
"""
from ._toolbox import CumlToolBox
from ._transformer import Localizable
| 14.857143 | 37 | 0.692308 | 11 | 104 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.144231 | 104 | 6 | 38 | 17.333333 | 0.775281 | 0.192308 | 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 |
eb72af6d2ba372759e654a164073ea6191187735 | 101 | py | Python | admin_shuffle/apps.py | ojayyezzir/django-admin-shuffle | 614553a83bbbbe391bbca29be349ad3575fc54b8 | [
"MIT"
] | 4 | 2020-07-19T10:23:58.000Z | 2020-07-20T01:21:36.000Z | admin_shuffle/apps.py | ojayyezzir/django-admin-shuffle | 614553a83bbbbe391bbca29be349ad3575fc54b8 | [
"MIT"
] | 11 | 2020-08-17T09:17:35.000Z | 2020-10-07T01:08:52.000Z | admin_shuffle/apps.py | ojayyezzir/django-admin-shuffle | 614553a83bbbbe391bbca29be349ad3575fc54b8 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DjangoShuffleConfig(AppConfig):
name = 'admin_shuffle'
| 16.833333 | 37 | 0.782178 | 11 | 101 | 7.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 5 | 38 | 20.2 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 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 |
ebe787bb438063500428815c14103903628aaaeb | 158 | py | Python | src/errors.py | voschezang/pattern-recognition | 1d6a801deba729fc99a6960e2180d0ee204d0c35 | [
"MIT"
] | 1 | 2019-12-13T07:33:28.000Z | 2019-12-13T07:33:28.000Z | src/errors.py | voschezang/drum-style-transfer | 1d6a801deba729fc99a6960e2180d0ee204d0c35 | [
"MIT"
] | null | null | null | src/errors.py | voschezang/drum-style-transfer | 1d6a801deba729fc99a6960e2180d0ee204d0c35 | [
"MIT"
] | null | null | null | # error lib?
def typeError(expected, value):
raise TypeError('expected \n |> %s \n but found \n |> %s' %
(expected, type(value)))
| 22.571429 | 65 | 0.537975 | 19 | 158 | 4.473684 | 0.631579 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303797 | 158 | 6 | 66 | 26.333333 | 0.772727 | 0.063291 | 0 | 0 | 0 | 0 | 0.280822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 |
ccd9ba4f16bf6a78eb33a441b860a654b0e283c4 | 150 | py | Python | hwt/interfaces/agents/__init__.py | ufo2011/hwt | 2a32a3fc0c04cf3d6e78dce2dcd0d90dffc7eac1 | [
"MIT"
] | 134 | 2018-02-28T05:06:31.000Z | 2022-03-25T23:50:13.000Z | hwt/interfaces/agents/__init__.py | ufo2011/hwt | 2a32a3fc0c04cf3d6e78dce2dcd0d90dffc7eac1 | [
"MIT"
] | 32 | 2018-03-15T19:01:02.000Z | 2021-07-02T14:00:06.000Z | hwt/interfaces/agents/__init__.py | ufo2011/hwt | 2a32a3fc0c04cf3d6e78dce2dcd0d90dffc7eac1 | [
"MIT"
] | 17 | 2018-09-16T12:54:01.000Z | 2022-01-20T03:16:52.000Z | """
This package contains a UVM like simulation agents to handle IO between circuit running in simulator and the code which drives the simulation.
""" | 50 | 142 | 0.793333 | 23 | 150 | 5.173913 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 150 | 3 | 143 | 50 | 0.944444 | 0.946667 | 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 |
69269f00e5db90795d51117223c8aaba1d9a9778 | 139 | py | Python | simpleui_captcha/settings.py | dust8/django-simpleui-captcha | 1fa28e3997f0b3faa116949b522fbc28b66fba0c | [
"MIT"
] | 9 | 2021-05-24T09:15:57.000Z | 2022-02-26T22:11:39.000Z | simpleui_captcha/settings.py | dust8/django-simpleui-captcha | 1fa28e3997f0b3faa116949b522fbc28b66fba0c | [
"MIT"
] | null | null | null | simpleui_captcha/settings.py | dust8/django-simpleui-captcha | 1fa28e3997f0b3faa116949b522fbc28b66fba0c | [
"MIT"
] | 2 | 2021-05-06T05:15:42.000Z | 2022-03-31T09:51:03.000Z | from django.conf import settings
engine = "captcha"
if engine not in settings.INSTALLED_APPS:
settings.INSTALLED_APPS.append(engine)
| 19.857143 | 42 | 0.791367 | 19 | 139 | 5.684211 | 0.684211 | 0.314815 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136691 | 139 | 6 | 43 | 23.166667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.05036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
69303e5697b740b2ff2faa0eaa054591ab482b1c | 351 | py | Python | hgraph/__init__.py | siboehm/hgraph2graph | 91d0dc763be1f9bc97e0c2473b0a00a058b4a9f9 | [
"MIT"
] | null | null | null | hgraph/__init__.py | siboehm/hgraph2graph | 91d0dc763be1f9bc97e0c2473b0a00a058b4a9f9 | [
"MIT"
] | null | null | null | hgraph/__init__.py | siboehm/hgraph2graph | 91d0dc763be1f9bc97e0c2473b0a00a058b4a9f9 | [
"MIT"
] | null | null | null | from hgraph.mol_graph import MolGraph
from hgraph.encoder import HierMPNEncoder
from hgraph.decoder import HierMPNDecoder
from hgraph.vocab import Vocab, PairVocab, common_atom_vocab
from hgraph.hgnn import HierVAE, HierVGNN, HierCondVGNN
from hgraph.dataset import (
MoleculeDataset,
MolPairDataset,
DataFol... | 29.25 | 60 | 0.814815 | 40 | 351 | 7.075 | 0.575 | 0.212014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139601 | 351 | 11 | 61 | 31.909091 | 0.937086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.545455 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
69459824038f80cb46031f7d3adde18cb688e4c6 | 452 | py | Python | tests/unit/test_grammar.py | kevinjqiu/cdbcli | f7b570acdba2e22300963dd843a44d870c62415d | [
"Apache-2.0"
] | 21 | 2016-08-05T05:51:58.000Z | 2021-12-01T22:16:09.000Z | tests/unit/test_grammar.py | kevinjqiu/cdbcli | f7b570acdba2e22300963dd843a44d870c62415d | [
"Apache-2.0"
] | 49 | 2016-07-27T23:27:19.000Z | 2016-08-15T22:33:51.000Z | tests/unit/test_grammar.py | kevinjqiu/cdbcli | f7b570acdba2e22300963dd843a44d870c62415d | [
"Apache-2.0"
] | 1 | 2016-07-28T13:30:06.000Z | 2016-07-28T13:30:06.000Z | from cdbcli.grammar import grammar
def _assert_grammar_match(cmd_text, **expected):
m = grammar.match(cmd_text)
assert m is not None
for key, value in expected.items():
assert m.variables().get(key) == value
def test_cd():
cmd_text = 'cd blah'
_assert_grammar_match(cmd_text, command='cd'... | 23.789474 | 71 | 0.690265 | 68 | 452 | 4.308824 | 0.455882 | 0.143345 | 0.204778 | 0.259386 | 0.303754 | 0.21843 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 452 | 18 | 72 | 25.111111 | 0.796196 | 0 | 0 | 0 | 0 | 0 | 0.057522 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
69522c069f966889f89e170c52eb6c3feb5b52b1 | 171 | py | Python | bin/rm_extra_swap.py | Rondore/sitewrangler | a67a140262281c1f6be48c55f86544e476d7d7b4 | [
"MIT"
] | null | null | null | bin/rm_extra_swap.py | Rondore/sitewrangler | a67a140262281c1f6be48c55f86544e476d7d7b4 | [
"MIT"
] | null | null | null | bin/rm_extra_swap.py | Rondore/sitewrangler | a67a140262281c1f6be48c55f86544e476d7d7b4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os
def remove_extra_swap():
os.system('swapoff -v /swapfile')
os.remove('/swapfile')
if __name__ == "__main__":
remove_extra_swap()
| 15.545455 | 35 | 0.695906 | 24 | 171 | 4.458333 | 0.708333 | 0.205607 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.140351 | 171 | 10 | 36 | 17.1 | 0.721088 | 0.122807 | 0 | 0 | 0 | 0 | 0.248322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
15c34abe1d1fef06d116b070759b2196c60dd57d | 27,024 | py | Python | generators/dcdc-gen/tools/dcdc_netlist.py | tuohangzeng/OpenFASOC | b284d55865ff8eaeccb6b78c2640ee98bdd7184e | [
"Apache-2.0"
] | null | null | null | generators/dcdc-gen/tools/dcdc_netlist.py | tuohangzeng/OpenFASOC | b284d55865ff8eaeccb6b78c2640ee98bdd7184e | [
"Apache-2.0"
] | null | null | null | generators/dcdc-gen/tools/dcdc_netlist.py | tuohangzeng/OpenFASOC | b284d55865ff8eaeccb6b78c2640ee98bdd7184e | [
"Apache-2.0"
] | null | null | null | ##for HSPICE netlist
import re
import function
import os
import sys
import math
import numpy as np
from scipy import interpolate
def gen_dcdc_netlist(cells, args, jsonSpec, platformConfig, srcDir):
# power mux models
xs = list(range(100, 10001, 100))
ys = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0... | 159.905325 | 20,938 | 0.633511 | 6,578 | 27,024 | 2.578139 | 0.160231 | 0.088449 | 0.002653 | 0.00454 | 0.232856 | 0.078189 | 0.06899 | 0.055133 | 0.04788 | 0.037974 | 0 | 0.486978 | 0.120523 | 27,024 | 168 | 20,939 | 160.857143 | 0.226575 | 0.027901 | 0 | 0.179245 | 0 | 0 | 0.038228 | 0.005761 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009434 | false | 0 | 0.066038 | 0 | 0.084906 | 0.169811 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
15d1f5b83a49c9ffaff6dbedd0f8ee09d417f0da | 77 | py | Python | examples/errors/undefined_identifiers.py | uta8a/Jikka | 6cc465a9c233bea91ad149dadd0a8a7cd1a223eb | [
"Apache-2.0"
] | 139 | 2019-07-19T15:09:34.000Z | 2022-03-10T06:26:04.000Z | examples/errors/undefined_identifiers.py | uta8a/Jikka | 6cc465a9c233bea91ad149dadd0a8a7cd1a223eb | [
"Apache-2.0"
] | 102 | 2019-07-19T16:49:08.000Z | 2021-09-26T14:45:32.000Z | examples/errors/undefined_identifiers.py | uta8a/Jikka | 6cc465a9c233bea91ad149dadd0a8a7cd1a223eb | [
"Apache-2.0"
] | 11 | 2019-10-17T05:46:10.000Z | 2022-02-27T14:05:19.000Z | def solve(x: int) -> int:
x = y # err
z = x + 1
return y # err
| 15.4 | 25 | 0.428571 | 14 | 77 | 2.357143 | 0.642857 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.428571 | 77 | 4 | 26 | 19.25 | 0.727273 | 0.090909 | 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 |
15da23b51b5abfd68dd38b79f37025c26755045e | 199 | py | Python | lists basics exercise/multiples lists.py | DiyanKalaydzhiev23/fundamentals---python | 7fa032d9a3270648ffa383bb00dad8e51613189d | [
"MIT"
] | null | null | null | lists basics exercise/multiples lists.py | DiyanKalaydzhiev23/fundamentals---python | 7fa032d9a3270648ffa383bb00dad8e51613189d | [
"MIT"
] | null | null | null | lists basics exercise/multiples lists.py | DiyanKalaydzhiev23/fundamentals---python | 7fa032d9a3270648ffa383bb00dad8e51613189d | [
"MIT"
] | null | null | null | number = int(input())
counter = int(input())
number_add = number
list_numbers = [number]
for i in range(counter - 1):
number_add += number
list_numbers.append(number_add)
print(list_numbers)
| 22.111111 | 35 | 0.718593 | 29 | 199 | 4.724138 | 0.482759 | 0.19708 | 0.218978 | 0.277372 | 0.379562 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.155779 | 199 | 8 | 36 | 24.875 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
15e0a23ef3d884c955ba60388407005d33557ee4 | 463 | py | Python | tokenizing.py | RITUait/NLP-Projects | 0b22733d7368e28bd20d6fb9e1f27406eb0bf9d7 | [
"MIT"
] | null | null | null | tokenizing.py | RITUait/NLP-Projects | 0b22733d7368e28bd20d6fb9e1f27406eb0bf9d7 | [
"MIT"
] | null | null | null | tokenizing.py | RITUait/NLP-Projects | 0b22733d7368e28bd20d6fb9e1f27406eb0bf9d7 | [
"MIT"
] | null | null | null | #Tokenizing words and sentences
from nltk.tokenize import sent_tokenize, word_tokenize
example_text = "hello Ms. Ritu, I love Programming. Well, apart from this i like reading novels. What about you? Amm.. well also travelling to new places and most importantly talking to really knowledgable people, if available ... | 28.9375 | 233 | 0.766739 | 68 | 463 | 5.088235 | 0.661765 | 0.17341 | 0.219653 | 0.199422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170626 | 463 | 15 | 234 | 30.866667 | 0.901042 | 0.064795 | 0 | 0 | 0 | 0.166667 | 0.519324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
15fbbc4447de8eb88530e21e2b88ac51d0121428 | 975 | py | Python | Jesse/itunes_file.py | ArtezGDA/text-IO | b9ed7f2433c0eda08fb45d125ea22a5fdeaef667 | [
"MIT"
] | null | null | null | Jesse/itunes_file.py | ArtezGDA/text-IO | b9ed7f2433c0eda08fb45d125ea22a5fdeaef667 | [
"MIT"
] | null | null | null | Jesse/itunes_file.py | ArtezGDA/text-IO | b9ed7f2433c0eda08fb45d125ea22a5fdeaef667 | [
"MIT"
] | null | null | null | Album = {
'artist': 'BASEMENT',
'album': 'Colourmeinkindness',
'date' : '2012',
'total': '10 songs',
'tracks':
[{
'name': 'Whole',
'duration': '3:10',
'prize': '1,29',
},
{
'name': 'Covet',
'duration': '3:47',
'prize': '1,29',
},
{
'name': 'Spoiled',
'duration... | 10.955056 | 30 | 0.37641 | 94 | 975 | 3.904255 | 0.414894 | 0.163488 | 0.217984 | 0.294278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104928 | 0.354872 | 975 | 89 | 31 | 10.955056 | 0.478537 | 0 | 0 | 0.152542 | 0 | 0 | 0.383197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.016949 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c60c1aedd91c9d3c2198d9370bf5192cb053780f | 45 | py | Python | contrib/onnx-def-gen/test_onnx_lenet.py | KonduitAI/deeplearning4j | 29e277938313cffea20d2fe8d17ba7568de341e9 | [
"Apache-2.0"
] | 10 | 2020-01-24T08:44:08.000Z | 2021-12-25T02:35:47.000Z | contrib/onnx-def-gen/test_onnx_lenet.py | KonduitAI/deeplearning4j | 29e277938313cffea20d2fe8d17ba7568de341e9 | [
"Apache-2.0"
] | 132 | 2019-10-26T11:01:50.000Z | 2021-08-02T17:02:13.000Z | contrib/onnx-def-gen/test_onnx_lenet.py | KonduitAI/deeplearning4j | 29e277938313cffea20d2fe8d17ba7568de341e9 | [
"Apache-2.0"
] | 10 | 2019-12-02T03:01:33.000Z | 2021-08-06T09:55:54.000Z | import onnx
loaded = onnx.load('lenet.onnx') | 22.5 | 32 | 0.733333 | 7 | 45 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 32 | 22.5 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 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 |
c6421530a1629fa9cb618e33bdede8bbe0c15e74 | 93 | py | Python | python/testData/mover/theSameLevelMultiple_afterUp.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/mover/theSameLevelMultiple_afterUp.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/mover/theSameLevelMultiple_afterUp.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | try:
a = 1
except ImportError as A:
import <caret>tmp2; import tmp1
print xrange
| 15.5 | 35 | 0.655914 | 14 | 93 | 4.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.27957 | 93 | 5 | 36 | 18.6 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
d66502645c08121c80d5a224243c5bcd36f532c0 | 301 | py | Python | 2-2.py | ooliver1/aoc | 6736378be3323da227bf80cd69bd9e5a94ca369f | [
"MIT"
] | 1 | 2022-02-17T07:45:50.000Z | 2022-02-17T07:45:50.000Z | 2-2.py | ooliver1/aoc | 6736378be3323da227bf80cd69bd9e5a94ca369f | [
"MIT"
] | null | null | null | 2-2.py | ooliver1/aoc | 6736378be3323da227bf80cd69bd9e5a94ca369f | [
"MIT"
] | 2 | 2021-12-02T22:13:42.000Z | 2021-12-13T08:14:31.000Z | print((lambda ins: (sum(int(a[1]) * ((-1 * sum(int(c[1]) for c in ins[:i] if c[0] == "up")) + sum(int(d[1]) for d in ins[:i] if d[0] == "down")) for i, a in enumerate(ins) if a[0] == "forward") * sum(int(b[1]) for b in ins if b[0] == "forward")))([a.split() for a in open("input2.txt").readlines()]))
| 150.5 | 300 | 0.548173 | 65 | 301 | 2.538462 | 0.369231 | 0.145455 | 0.072727 | 0.09697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039526 | 0.159468 | 301 | 1 | 301 | 301 | 0.612648 | 0 | 0 | 0 | 0 | 0 | 0.099668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d67ed1ca58f1f256d030a1bfb45fce94b0605b70 | 186 | py | Python | impressions/serializers.py | mohamed17717/Like-Reddit-Backend-Clone | d60d7a4625ee0f7354a21e53c26c7c52746d735f | [
"MIT"
] | 1 | 2022-01-10T12:00:59.000Z | 2022-01-10T12:00:59.000Z | impressions/serializers.py | mohamed17717/Like-Reddit-Backend-Clone | d60d7a4625ee0f7354a21e53c26c7c52746d735f | [
"MIT"
] | null | null | null | impressions/serializers.py | mohamed17717/Like-Reddit-Backend-Clone | d60d7a4625ee0f7354a21e53c26c7c52746d735f | [
"MIT"
] | null | null | null | from rest_framework import serializers
from impressions.models import Emoji
class EmojiSerializer(serializers.ModelSerializer):
class Meta:
model = Emoji
fields = '__all__'
| 18.6 | 51 | 0.77957 | 20 | 186 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 186 | 9 | 52 | 20.666667 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0.037838 | 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 |
d6ba684bc507e01596b47cda6a1bd0db67239d57 | 149 | py | Python | align/__init__.py | mabrains/ALIGN-public | 9a6c14310de13df369a8340f465911b629f15a3f | [
"BSD-3-Clause"
] | 2 | 2020-12-15T11:16:23.000Z | 2021-05-10T08:08:34.000Z | align/__init__.py | mabrains/ALIGN-public | 9a6c14310de13df369a8340f465911b629f15a3f | [
"BSD-3-Clause"
] | 1 | 2020-08-26T08:01:53.000Z | 2020-08-29T04:24:00.000Z | align/__init__.py | mabrains/ALIGN-public | 9a6c14310de13df369a8340f465911b629f15a3f | [
"BSD-3-Clause"
] | 2 | 2020-08-15T07:09:52.000Z | 2020-08-16T10:19:58.000Z | __version__ = '0.9.8'
from .utils import logging
logging.configure_logging()
from .main import schematic2layout
from .cmdline import CmdlineParser
| 18.625 | 34 | 0.805369 | 19 | 149 | 6.052632 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.120805 | 149 | 7 | 35 | 21.285714 | 0.847328 | 0 | 0 | 0 | 0 | 0 | 0.033557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d6cc2c404f5f7137b087f63967d29f77fa5f3cdc | 8,806 | py | Python | nde-web/handlers.py | NIAID-Data-Ecosystem/nde-discovery-api | 27e870f4a3a61e958d71356f476077fbae4d93f9 | [
"Apache-2.0"
] | null | null | null | nde-web/handlers.py | NIAID-Data-Ecosystem/nde-discovery-api | 27e870f4a3a61e958d71356f476077fbae4d93f9 | [
"Apache-2.0"
] | 2 | 2022-03-30T19:10:38.000Z | 2022-03-30T19:15:34.000Z | nde-web/handlers.py | NIAID-Data-Ecosystem/nde-discovery-api | 27e870f4a3a61e958d71356f476077fbae4d93f9 | [
"Apache-2.0"
] | null | null | null | import logging
from biothings.web.handlers import MetadataSourceHandler
from tornado.web import RequestHandler
class WebAppHandler(RequestHandler):
def get(self):
if self.render('dist/index.html'):
self.render('dist/index.html')
else:
logging.info("Unable to find dist folde... | 98.94382 | 1,205 | 0.670452 | 885 | 8,806 | 6.622599 | 0.456497 | 0.016721 | 0.010749 | 0.015526 | 0.04402 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00099 | 0.196684 | 8,806 | 88 | 1,206 | 100.068182 | 0.827537 | 0.006019 | 0 | 0.027778 | 0 | 0.097222 | 0.69303 | 0.026325 | 0 | 0 | 0 | 0.011364 | 0 | 1 | 0.027778 | false | 0 | 0.041667 | 0 | 0.111111 | 0.013889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6ceaa34f0c2cc3802dd245e5ef3984e8035c087 | 116 | py | Python | www/admin.py | GDGMalaga/GDGWeb | 1b8eac3500294421669cf4209a3007be5176a42f | [
"MIT"
] | 3 | 2015-04-09T22:29:25.000Z | 2015-04-21T10:15:30.000Z | www/admin.py | GDGMalaga/GDGWeb | 1b8eac3500294421669cf4209a3007be5176a42f | [
"MIT"
] | 13 | 2015-04-09T14:26:03.000Z | 2015-04-27T08:31:20.000Z | www/admin.py | GDGMalaga/GDGWeb | 1b8eac3500294421669cf4209a3007be5176a42f | [
"MIT"
] | 3 | 2015-04-23T13:37:28.000Z | 2018-08-24T10:42:33.000Z | # from django.contrib import admin
# from www.models import UserProfile, Grupo, Curso
# Register your models here.
| 23.2 | 50 | 0.775862 | 16 | 116 | 5.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 116 | 4 | 51 | 29 | 0.918367 | 0.931034 | 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 |
d6ddd51c49d6f396afc6671aa9bbae1d853393a8 | 50 | py | Python | bar_chart.py | AIReproducibility2018/UTILS_tablegen | 65db8198aecc48f32859b9d78f1a65e7d8783d02 | [
"BSD-3-Clause"
] | null | null | null | bar_chart.py | AIReproducibility2018/UTILS_tablegen | 65db8198aecc48f32859b9d78f1a65e7d8783d02 | [
"BSD-3-Clause"
] | null | null | null | bar_chart.py | AIReproducibility2018/UTILS_tablegen | 65db8198aecc48f32859b9d78f1a65e7d8783d02 | [
"BSD-3-Clause"
] | null | null | null | def create_bar_chart(papers, categories):
pass | 25 | 41 | 0.78 | 7 | 50 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 42 | 25 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ba464352f8a087d5daca47cff8742f77d1f562ea | 20,506 | py | Python | practice/industry.py | jooelrm/TIL | 937b5997e081f8a04e7ac038e9fed6cb41b3f3b2 | [
"MIT"
] | 1 | 2020-06-25T16:04:53.000Z | 2020-06-25T16:04:53.000Z | practice/industry.py | jooelrm/TIL | 937b5997e081f8a04e7ac038e9fed6cb41b3f3b2 | [
"MIT"
] | null | null | null | practice/industry.py | jooelrm/TIL | 937b5997e081f8a04e7ac038e9fed6cb41b3f3b2 | [
"MIT"
] | null | null | null | import pandas as pd
import matplotlib.pylab as plt
import missingno as msno
from matplotlib import pyplot as plt
data = pd.read_csv("data.csv")
def industry():
Administrative_Services =("Archiving Service, Call Center, Collection Agency, College Recruiting, Courier Service, Debt Collections, Delivery, Document P... | 135.801325 | 1,446 | 0.771433 | 2,194 | 20,506 | 7.171376 | 0.333637 | 0.03216 | 0.049701 | 0.07309 | 0.085611 | 0.042392 | 0.012838 | 0.007373 | 0.007373 | 0.007373 | 0 | 0.000166 | 0.118112 | 20,506 | 151 | 1,447 | 135.801325 | 0.869885 | 0 | 0 | 0 | 0 | 0.393939 | 0.776613 | 0.006729 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010101 | false | 0 | 0.040404 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba4a5fe4b0b04ad4ebcf5327fcd7cce82e5f65e2 | 1,471 | py | Python | scraping/migrations/0007_auto_20200418_1553.py | stepacool/work4sharingPy | c6ffdb3ac8a2956181c290bc4617e3cb11e13dba | [
"MIT"
] | null | null | null | scraping/migrations/0007_auto_20200418_1553.py | stepacool/work4sharingPy | c6ffdb3ac8a2956181c290bc4617e3cb11e13dba | [
"MIT"
] | 5 | 2021-03-19T01:48:51.000Z | 2021-09-22T18:52:20.000Z | scraping/migrations/0007_auto_20200418_1553.py | stepacool/work4sharingPy | c6ffdb3ac8a2956181c290bc4617e3cb11e13dba | [
"MIT"
] | 2 | 2020-04-16T20:23:11.000Z | 2020-04-18T12:35:46.000Z | # Generated by Django 3.0.5 on 2020-04-18 12:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('scraping', '0006_job_description'),
]
operations = [
migrations.AddField(
model_name='employee',
name='skills',
... | 27.240741 | 127 | 0.517335 | 137 | 1,471 | 5.467153 | 0.357664 | 0.192256 | 0.245661 | 0.288385 | 0.600801 | 0.600801 | 0.600801 | 0.600801 | 0.600801 | 0.600801 | 0 | 0.022059 | 0.352821 | 1,471 | 53 | 128 | 27.754717 | 0.764706 | 0.030591 | 0 | 0.680851 | 1 | 0 | 0.100421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba4e1c04759981a6b4d2a8360126db761854d235 | 172 | py | Python | highcharts/views/pie.py | nferrari/django-highcharts | 71cff45eb81a31f8d2aa87ec8427cf26cd6a8c03 | [
"BSD-3-Clause"
] | null | null | null | highcharts/views/pie.py | nferrari/django-highcharts | 71cff45eb81a31f8d2aa87ec8427cf26cd6a8c03 | [
"BSD-3-Clause"
] | null | null | null | highcharts/views/pie.py | nferrari/django-highcharts | 71cff45eb81a31f8d2aa87ec8427cf26cd6a8c03 | [
"BSD-3-Clause"
] | null | null | null | from django.views.generic import View
from highcharts.views.common import HighChartsBasicView
class HighChartsPieView(HighChartsBasicView, View):
chart_type = 'pie'
| 21.5 | 55 | 0.813953 | 19 | 172 | 7.315789 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122093 | 172 | 7 | 56 | 24.571429 | 0.92053 | 0 | 0 | 0 | 0 | 0 | 0.017442 | 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 |
ba5710f66f60ee74e08152ce19c1ebb2bf346b7b | 135 | py | Python | BooksManager/data_source.py | CiganOliviu/MyLibrary | 1a4fb68b5cb41bcc423f8b69e09b4f73e2da0be4 | [
"Apache-2.0"
] | null | null | null | BooksManager/data_source.py | CiganOliviu/MyLibrary | 1a4fb68b5cb41bcc423f8b69e09b4f73e2da0be4 | [
"Apache-2.0"
] | null | null | null | BooksManager/data_source.py | CiganOliviu/MyLibrary | 1a4fb68b5cb41bcc423f8b69e09b4f73e2da0be4 | [
"Apache-2.0"
] | null | null | null | POSSIBLE_MARKS = (
("4", "4"),
("5", "5"),
("6", "6"),
("7", "7"),
("8", "8"),
("9", "9"),
("10", "10"),
)
| 13.5 | 18 | 0.222222 | 16 | 135 | 1.8125 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 0.340741 | 135 | 9 | 19 | 15 | 0.146067 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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 |
ba597d9d805aeb0b42e4eaea4a86d68b7b9db78a | 145 | py | Python | E00_NoMeat.py | michielkauwatjoe/DataViz | c590a8c3148e35250a2179844adeb7a2534df585 | [
"MIT"
] | null | null | null | E00_NoMeat.py | michielkauwatjoe/DataViz | c590a8c3148e35250a2179844adeb7a2534df585 | [
"MIT"
] | null | null | null | E00_NoMeat.py | michielkauwatjoe/DataViz | c590a8c3148e35250a2179844adeb7a2534df585 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Meat costs.
# https://www.nrc.nl/nieuws/2021/01/14/zoveel-dieren-scheelt-het-als-je-dertig-jaar-geen-vlees-eet-a4027546
| 36.25 | 107 | 0.751724 | 26 | 145 | 4.192308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 0.048276 | 145 | 3 | 108 | 48.333333 | 0.673913 | 0.958621 | 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 |
ba764042a36178e0e05bdbaa7b1803d97c6e5881 | 42 | py | Python | src/evoml/framework/__init__.py | Evo-ML/Evo-CC | a333593bd03c14724b6b7f157fc8999808d8a26c | [
"Apache-2.0"
] | null | null | null | src/evoml/framework/__init__.py | Evo-ML/Evo-CC | a333593bd03c14724b6b7f157fc8999808d8a26c | [
"Apache-2.0"
] | null | null | null | src/evoml/framework/__init__.py | Evo-ML/Evo-CC | a333593bd03c14724b6b7f157fc8999808d8a26c | [
"Apache-2.0"
] | null | null | null | VERSION = "1.0.2"
from .evocc import EvoCC | 21 | 24 | 0.714286 | 8 | 42 | 3.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 42 | 2 | 24 | 21 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 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 |
ba7d9adfc0bf48a723a5917fcd4918d639806eda | 807 | py | Python | setup.py | f213/vk | f41ce3c6fcbca39b5f8f981daedf79f495055aa7 | [
"MIT"
] | null | null | null | setup.py | f213/vk | f41ce3c6fcbca39b5f8f981daedf79f495055aa7 | [
"MIT"
] | null | null | null | setup.py | f213/vk | f41ce3c6fcbca39b5f8f981daedf79f495055aa7 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='vk',
version='3',
packages=[],
package_dir={},
url='https://github.com/nvo87/vk',
license='MIT License',
author='Dmitry Voronin',
description='Python vk.com API wrapper',
install_requires=['requests'],
zip_safe=False,
classifiers=[
... | 31.038462 | 71 | 0.597274 | 81 | 807 | 5.91358 | 0.62963 | 0.237996 | 0.313152 | 0.271399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023141 | 0.25031 | 807 | 25 | 72 | 32.28 | 0.768595 | 0 | 0 | 0 | 0 | 0 | 0.568773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.041667 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba7dd4719a33b11e7c0bd32f6d5829452515f4ac | 352 | py | Python | tottle/types/objects/payment.py | muffleo/tottle | 69a5bdda879ab56d43505d517d3369a687c135a2 | [
"MIT"
] | 12 | 2020-09-06T15:31:34.000Z | 2021-02-27T20:30:34.000Z | tottle/types/objects/payment.py | cyanlabs-org/tottle | 6cf02022ed7b445c9b5af475c6e854b91780d792 | [
"MIT"
] | 2 | 2021-04-13T06:43:42.000Z | 2021-07-07T20:52:39.000Z | tottle/types/objects/payment.py | cyanlabs-org/tottle | 6cf02022ed7b445c9b5af475c6e854b91780d792 | [
"MIT"
] | 4 | 2020-09-12T03:09:25.000Z | 2021-03-22T08:52:04.000Z | from typing import Optional
from pydantic import BaseModel
from tottle.types.objects.order import OrderInfo
class SuccessfulPayment(BaseModel):
currency: Optional[str] = None
total_amount: Optional[str] = None
invoice_payload: Optional[str] = None
shipping_option_id: Optional[str] = None
order_i... | 25.142857 | 48 | 0.761364 | 43 | 352 | 6.116279 | 0.55814 | 0.1673 | 0.228137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164773 | 352 | 13 | 49 | 27.076923 | 0.894558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ba9467f019085e90aa533cd1391e12292960c3e7 | 96 | py | Python | tornadoserver/loginst.py | JinkelaCrops/t2t-learning | 5d9b5a5164af763c24f1cbce9d97561e9f2b772c | [
"Apache-2.0"
] | 5 | 2019-03-28T03:52:32.000Z | 2021-02-24T07:09:26.000Z | tornadoserver/loginst.py | JinkelaCrops/t2t-learning | 5d9b5a5164af763c24f1cbce9d97561e9f2b772c | [
"Apache-2.0"
] | null | null | null | tornadoserver/loginst.py | JinkelaCrops/t2t-learning | 5d9b5a5164af763c24f1cbce9d97561e9f2b772c | [
"Apache-2.0"
] | 2 | 2018-08-07T03:43:09.000Z | 2019-12-09T06:41:40.000Z | from utils.simplelog import Logger
logger = Logger("tornadoserver", "tornadoserver.log").log()
| 24 | 59 | 0.770833 | 11 | 96 | 6.727273 | 0.636364 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 96 | 3 | 60 | 32 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
baa6d56f82e3dc4db895a33e9444aa3077c641c8 | 1,221 | py | Python | bin/tests/full/confusion.py | ncbray/pystream | 70bba5646d6512adb6803564c22268d3424c66d8 | [
"Apache-2.0"
] | 6 | 2015-09-19T18:22:33.000Z | 2020-11-29T15:21:17.000Z | bin/tests/full/confusion.py | ncbray/pystream | 70bba5646d6512adb6803564c22268d3424c66d8 | [
"Apache-2.0"
] | 1 | 2015-08-04T08:03:46.000Z | 2015-08-04T08:03:46.000Z | bin/tests/full/confusion.py | ncbray/pystream | 70bba5646d6512adb6803564c22268d3424c66d8 | [
"Apache-2.0"
] | 1 | 2019-12-09T08:27:09.000Z | 2019-12-09T08:27:09.000Z | # Copyright 2011 Nicholas Bray
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 19.380952 | 74 | 0.702703 | 205 | 1,221 | 4.185366 | 0.463415 | 0.06993 | 0.030303 | 0.037296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032421 | 0.191646 | 1,221 | 62 | 75 | 19.693548 | 0.836879 | 0.45045 | 0 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0.085714 | 0.028571 | 0.114286 | 0.628571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
bad0d102ce84677717f96385eda00816c7d1961d | 863 | py | Python | interpreter/semantic_analysis/__init__.py | Gu1nness/CInterpreter | 49a7a68ca6ae4254c45931ced2548d532505bd45 | [
"MIT"
] | 1 | 2021-02-28T05:27:52.000Z | 2021-02-28T05:27:52.000Z | interpreter/semantic_analysis/__init__.py | Gu1nness/AsmInterpreter | 40316c3b8c103e4ea35504e71e26065c8bf4a82d | [
"MIT"
] | null | null | null | interpreter/semantic_analysis/__init__.py | Gu1nness/AsmInterpreter | 40316c3b8c103e4ea35504e71e26065c8bf4a82d | [
"MIT"
] | null | null | null | # -*- coding:utf8 -*-
""" This is roughly the equivalent of checking that some ordinary text written in a natural language (e.g. English)
actually means something (whether or not that is what it was intended to mean).
Semantic analysis is the activity of a compiler to determine what the types of various values are,... | 61.642857 | 124 | 0.78679 | 136 | 863 | 4.992647 | 0.669118 | 0.008837 | 0.029455 | 0.050074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001401 | 0.172654 | 863 | 13 | 125 | 66.384615 | 0.94958 | 0.937428 | 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 |
bafc91445b07686754bae0bca9e7ffe4e455eacb | 180,457 | py | Python | icons_rc.py | mjbonnington/renderqueue | 095fef8926fd33ba891e8398e57288973aea0a7d | [
"MIT"
] | null | null | null | icons_rc.py | mjbonnington/renderqueue | 095fef8926fd33ba891e8398e57288973aea0a7d | [
"MIT"
] | null | null | null | icons_rc.py | mjbonnington/renderqueue | 095fef8926fd33ba891e8398e57288973aea0a7d | [
"MIT"
] | 1 | 2020-02-15T13:03:13.000Z | 2020-02-15T13:03:13.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.9.1)
#
# WARNING! All changes made in this file will be lost!
from Qt import QtCore
qt_resource_data = b"\
\x00\x00\x06\xba\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00... | 64.889248 | 130 | 0.715605 | 42,962 | 180,457 | 3.004935 | 0.007099 | 0.048521 | 0.035345 | 0.029652 | 0.225828 | 0.217161 | 0.214992 | 0.21132 | 0.209647 | 0.208183 | 0 | 0.340627 | 0.031276 | 180,457 | 2,780 | 131 | 64.91259 | 0.397865 | 0.000837 | 0 | 0.159551 | 0 | 0.959841 | 0.000023 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000724 | false | 0 | 0.000362 | 0 | 0.001085 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
24138f7ded34efe040f44ae15c1d2d7e01c94bd2 | 84 | py | Python | TI/cgi-bin/ajax_test.py | MajkutP/Fifth-Semester | 391a8569192c04733ebf04518061115f1d34e824 | [
"MIT"
] | null | null | null | TI/cgi-bin/ajax_test.py | MajkutP/Fifth-Semester | 391a8569192c04733ebf04518061115f1d34e824 | [
"MIT"
] | null | null | null | TI/cgi-bin/ajax_test.py | MajkutP/Fifth-Semester | 391a8569192c04733ebf04518061115f1d34e824 | [
"MIT"
] | null | null | null | #!/usr/bin/python
print "Content-Type: text/plain"
print
print """\
Hello, AJAX
"""
| 12 | 32 | 0.666667 | 12 | 84 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 6 | 33 | 14 | 0.756757 | 0.190476 | 0 | 0 | 0 | 0 | 0.567164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.6 | 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 |
24259bad6e744fe1afc5aa7d84f213e31fff1c8d | 81 | py | Python | tests/ignore_test/queen.py | tinfoilboy/computare | dedfef7f2fa7d644c2c99222898e503d7439265c | [
"MIT"
] | 7 | 2019-01-09T15:51:15.000Z | 2020-02-04T17:27:21.000Z | tests/ignore_test/queen.py | tinfoilboy/sonne | dedfef7f2fa7d644c2c99222898e503d7439265c | [
"MIT"
] | 1 | 2019-10-07T22:02:31.000Z | 2019-10-22T21:48:48.000Z | tests/ignore_test/queen.py | tinfoilboy/computare | dedfef7f2fa7d644c2c99222898e503d7439265c | [
"MIT"
] | null | null | null | # "i think i lost my headache" is a great song and i can't be convinced otherwise | 81 | 81 | 0.753086 | 17 | 81 | 3.588235 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 81 | 1 | 81 | 81 | 0.938462 | 0.975309 | 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 |
2428b5e5c07ffd2764661716301559becb0978c9 | 63 | py | Python | cookie_log_parser/src/enums.py | adheer-araokar/quantcast_assignment | b7494aba22ea98a653cf739f260bb2e3c217e157 | [
"MIT"
] | null | null | null | cookie_log_parser/src/enums.py | adheer-araokar/quantcast_assignment | b7494aba22ea98a653cf739f260bb2e3c217e157 | [
"MIT"
] | null | null | null | cookie_log_parser/src/enums.py | adheer-araokar/quantcast_assignment | b7494aba22ea98a653cf739f260bb2e3c217e157 | [
"MIT"
] | null | null | null | from enum import Enum
class EXTENSION(Enum):
CSV = "csv"
| 10.5 | 22 | 0.666667 | 9 | 63 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 63 | 5 | 23 | 12.6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 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 |
2445cae892dfa318e64933e96b6ba36dcc059369 | 243 | py | Python | locfilm/locations/models/__init__.py | locfilm/locfilm-api | 85942f83f790e96dda043437ab227d38939f1f69 | [
"MIT"
] | null | null | null | locfilm/locations/models/__init__.py | locfilm/locfilm-api | 85942f83f790e96dda043437ab227d38939f1f69 | [
"MIT"
] | 6 | 2020-09-27T21:44:11.000Z | 2021-06-10T20:12:26.000Z | locfilm/locations/models/__init__.py | locfilm/locfilm-api | 85942f83f790e96dda043437ab227d38939f1f69 | [
"MIT"
] | 2 | 2020-09-22T02:06:03.000Z | 2020-09-22T02:12:51.000Z | from .locations import Location
from .categories import Category
from .groups import Group
from .images import Image
from .ratings import Rating
from .additionals import AdditionalInfo
Location, Category, Group, Image, Rating, AdditionalInfo
| 27 | 56 | 0.82716 | 30 | 243 | 6.7 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127572 | 243 | 8 | 57 | 30.375 | 0.948113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 |
244a0a5c9ec228d3ed2bd8c6cb53817e718f90da | 8,147 | py | Python | ensenso_detect/manikin/utils/face-boxes.py | lakehanne/ensenso | 10d3cbec97441a2eb2c8335be27764e8a82549cf | [
"MIT"
] | 3 | 2017-04-25T20:32:19.000Z | 2021-01-20T09:16:04.000Z | ensenso_detect/manikin/utils/face-boxes.py | lakehanne/ensenso | 10d3cbec97441a2eb2c8335be27764e8a82549cf | [
"MIT"
] | 1 | 2017-06-28T21:31:25.000Z | 2017-07-07T23:44:37.000Z | ensenso_detect/manikin/utils/face-boxes.py | lakehanne/ensenso | 10d3cbec97441a2eb2c8335be27764e8a82549cf | [
"MIT"
] | 2 | 2017-04-25T20:32:30.000Z | 2017-06-19T22:31:36.000Z | """
Boxes are thus defined in (x,y) coordinate pairs
([Top-Left, Top-Right], [Bottom-Left, Bottom-Right])
for all three of faces, left eyes and right eyes
"""
face_boxes = [
Detection("face_0_image.jpg", [501, 502, 882, 507], [502, 987, 882, 982]),
Detection("face_1_image.jpg", [504, 501, 855, 500], [502, 998, 847... | 65.176 | 79 | 0.634467 | 1,374 | 8,147 | 3.608443 | 0.213246 | 0.270069 | 0.013312 | 0.014119 | 0.600645 | 0.261597 | 0.245664 | 0.233562 | 0.227309 | 0.227309 | 0 | 0.375478 | 0.134037 | 8,147 | 124 | 80 | 65.701613 | 0.327286 | 0 | 0 | 0.198198 | 0 | 0 | 0.215475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
79e836c12cb0577b4bf23b52bbf6ab779f0743f7 | 98 | py | Python | diode/adjust_settings.py | tbennun/dace | 484f959c847feee048cd43ae5580f57e67d51671 | [
"BSD-3-Clause"
] | 1 | 2020-09-18T07:27:22.000Z | 2020-09-18T07:27:22.000Z | diode/adjust_settings.py | tbennun/dace | 484f959c847feee048cd43ae5580f57e67d51671 | [
"BSD-3-Clause"
] | null | null | null | diode/adjust_settings.py | tbennun/dace | 484f959c847feee048cd43ae5580f57e67d51671 | [
"BSD-3-Clause"
] | null | null | null | from dace.config import Config
Config.set("compiler", "cpu", "libs", value="papi",autosave=True)
| 24.5 | 65 | 0.72449 | 14 | 98 | 5.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 3 | 66 | 32.666667 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0.193878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
031b62214484ad0a257ea65079205fb627c80939 | 42 | py | Python | pywizlight/_version.py | skitterrusty/pywizlight | f8ff05692acdf522e895dccece28fcb20ee19b8c | [
"MIT"
] | null | null | null | pywizlight/_version.py | skitterrusty/pywizlight | f8ff05692acdf522e895dccece28fcb20ee19b8c | [
"MIT"
] | null | null | null | pywizlight/_version.py | skitterrusty/pywizlight | f8ff05692acdf522e895dccece28fcb20ee19b8c | [
"MIT"
] | null | null | null | """PyPi Version."""
__version__ = "0.3.2"
| 14 | 21 | 0.595238 | 6 | 42 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.119048 | 42 | 2 | 22 | 21 | 0.486486 | 0.309524 | 0 | 0 | 0 | 0 | 0.217391 | 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 |
031d852781163bf24588556eb11adeab7698c35a | 86 | py | Python | API/apps.py | sharmaadityab402/django-rest-api-project | bbc692163d2a190532684beb423e8ae287b48d7f | [
"MIT"
] | null | null | null | API/apps.py | sharmaadityab402/django-rest-api-project | bbc692163d2a190532684beb423e8ae287b48d7f | [
"MIT"
] | null | null | null | API/apps.py | sharmaadityab402/django-rest-api-project | bbc692163d2a190532684beb423e8ae287b48d7f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ApiConfig(AppConfig):
name = 'API'
| 14.333333 | 34 | 0.686047 | 10 | 86 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 86 | 5 | 35 | 17.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 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 |
032b576d6669dad73bb517e86a91e1fcda799bf7 | 698 | py | Python | crates/pyhq/python/hyperqueue/ffi/ffi.py | User3574/hyperqueue | d4dea5a805925cb624eb81da65840d5a8226d4a9 | [
"MIT"
] | 23 | 2021-06-11T17:47:57.000Z | 2022-03-31T14:27:16.000Z | crates/pyhq/python/hyperqueue/ffi/ffi.py | User3574/hyperqueue | d4dea5a805925cb624eb81da65840d5a8226d4a9 | [
"MIT"
] | 187 | 2021-05-07T12:19:15.000Z | 2022-03-21T14:17:05.000Z | crates/pyhq/python/hyperqueue/ffi/ffi.py | User3574/hyperqueue | d4dea5a805925cb624eb81da65840d5a8226d4a9 | [
"MIT"
] | 9 | 2021-05-14T09:19:56.000Z | 2021-10-12T15:18:23.000Z | from typing import Optional
from .. import hyperqueue as ffi
from ..job import Job, JobId
from .protocol import JobDescription
from .utils import task_config_to_task_desc
class HqContext:
"""
Opaque class returned from `connect_to_server`.
Should be passed to FFI methods that require it.
"""
def co... | 24.928571 | 88 | 0.740688 | 99 | 698 | 5.040404 | 0.424242 | 0.054108 | 0.09018 | 0.064128 | 0.08016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17192 | 698 | 27 | 89 | 25.851852 | 0.863322 | 0.137536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.357143 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
0359b6a10b9d58d6bfbc095cefe71649170f4758 | 295 | py | Python | tests/b/test_from_b.py | jamt9000/project-paths | e29e93bcf30242cf8143b220a828809efb6d9f4a | [
"MIT"
] | 5 | 2021-01-04T07:26:49.000Z | 2021-06-06T23:42:56.000Z | tests/b/test_from_b.py | jamt9000/project-paths | e29e93bcf30242cf8143b220a828809efb6d9f4a | [
"MIT"
] | 2 | 2021-01-02T05:41:11.000Z | 2021-06-16T19:58:57.000Z | tests/b/test_from_b.py | jamt9000/project-paths | e29e93bcf30242cf8143b220a828809efb6d9f4a | [
"MIT"
] | 2 | 2021-01-11T17:22:37.000Z | 2021-06-16T17:07:43.000Z | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
from pathlib import Path
from project_paths import paths
def test_from_b():
"""
Same test as test_from_a, but making sure that a DIFFERENT pyproject.toml gets loaded
"""
assert paths.filename.resolve().samefile(Path(__file__))
| 19.666667 | 89 | 0.698305 | 43 | 295 | 4.581395 | 0.767442 | 0.081218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.186441 | 295 | 14 | 90 | 21.071429 | 0.8125 | 0.437288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cee0814d4a945d0a20a3d0c9e4df31aa358cea73 | 553 | py | Python | home/models.py | rafaelmv/smsuela | 62def3edb333cc1cb6e2fcdfd318f51f877af4ae | [
"MIT"
] | null | null | null | home/models.py | rafaelmv/smsuela | 62def3edb333cc1cb6e2fcdfd318f51f877af4ae | [
"MIT"
] | 5 | 2017-06-19T19:51:48.000Z | 2021-06-10T17:45:13.000Z | home/models.py | rafaelmv/smsuela | 62def3edb333cc1cb6e2fcdfd318f51f877af4ae | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Number(models.Model):
phone_number = models.CharField(max_length=255)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
def __str__(self):
return self.phone_number
class Message(m... | 29.105263 | 56 | 0.746835 | 75 | 553 | 5.186667 | 0.413333 | 0.082262 | 0.215938 | 0.257069 | 0.51928 | 0.51928 | 0.51928 | 0.51928 | 0.51928 | 0.51928 | 0 | 0.012987 | 0.164557 | 553 | 18 | 57 | 30.722222 | 0.829004 | 0.0434 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0.153846 | 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 |
30724713d2fc0fd7365aef5e7a526ae947f398fb | 139 | py | Python | topCoder/srms/100s/srm164/div2/justifier.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | topCoder/srms/100s/srm164/div2/justifier.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | topCoder/srms/100s/srm164/div2/justifier.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | class Justifier:
def justify(self, textIn):
width = max(map(len, textIn))
return map(lambda s: s.rjust(width), textIn)
| 27.8 | 52 | 0.625899 | 19 | 139 | 4.578947 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244604 | 139 | 4 | 53 | 34.75 | 0.828571 | 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 | 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 |
062c6d6b68dda6ea55276b75270cf8ced0e9c8c3 | 110 | py | Python | polypuppet/__init__.py | LLDay/polypuppet | 56eee925ec56ab51ea7f538717f4c669e8f4ec68 | [
"MIT"
] | null | null | null | polypuppet/__init__.py | LLDay/polypuppet | 56eee925ec56ab51ea7f538717f4c669e8f4ec68 | [
"MIT"
] | null | null | null | polypuppet/__init__.py | LLDay/polypuppet | 56eee925ec56ab51ea7f538717f4c669e8f4ec68 | [
"MIT"
] | null | null | null | import polypuppet.polypuppet_pb2 as proto
from .config import Config
from .puppet import Puppet, PuppetServer
| 27.5 | 41 | 0.845455 | 15 | 110 | 6.133333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.118182 | 110 | 3 | 42 | 36.666667 | 0.938144 | 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 |
06362033766a87c9e3a0e634bb881a9e0f8d6441 | 41 | py | Python | pcep/mod4_quiz9.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | 1 | 2020-07-30T15:23:55.000Z | 2020-07-30T15:23:55.000Z | pcep/mod4_quiz9.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | null | null | null | pcep/mod4_quiz9.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | null | null | null | def fun(in=2, out=3):
return in * out | 20.5 | 21 | 0.585366 | 9 | 41 | 2.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.243902 | 41 | 2 | 22 | 20.5 | 0.709677 | 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 |
066014f69a2bcd4743d87069ce0b57d642a6baa9 | 96 | py | Python | apps/website/apps.py | shubham-thakare/tech-blog | d83cc9ad685f038e249d8ba6e54b6a2c07159e8b | [
"Apache-2.0"
] | null | null | null | apps/website/apps.py | shubham-thakare/tech-blog | d83cc9ad685f038e249d8ba6e54b6a2c07159e8b | [
"Apache-2.0"
] | 8 | 2020-12-30T09:23:00.000Z | 2022-03-12T00:53:09.000Z | apps/website/apps.py | shubham-thakare/tech-blog | d83cc9ad685f038e249d8ba6e54b6a2c07159e8b | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class EndpointsConfig(AppConfig):
name = 'apps.website'
| 16 | 33 | 0.760417 | 11 | 96 | 6.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 34 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 |
0677641803505835ed448aefdf522acc280d5a37 | 279 | py | Python | insta/admin.py | BeatriceWambui/my-insta | fca9216ae9a33b4b9c884fa68abf0f942be02a80 | [
"MIT"
] | null | null | null | insta/admin.py | BeatriceWambui/my-insta | fca9216ae9a33b4b9c884fa68abf0f942be02a80 | [
"MIT"
] | 5 | 2020-02-12T03:13:33.000Z | 2021-09-08T01:22:24.000Z | insta/admin.py | BeatriceWambui/my-insta | fca9216ae9a33b4b9c884fa68abf0f942be02a80 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Image,Profile,InstaLetterRecipient,CommentFormRecipient
# Register your models here.
admin.site.register(Image)
admin.site.register(Profile)
admin.site.register(InstaLetterRecipient)
admin.site.register(CommentFormRecipient) | 34.875 | 75 | 0.853047 | 32 | 279 | 7.4375 | 0.4375 | 0.151261 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 279 | 8 | 76 | 34.875 | 0.911877 | 0.09319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
06916a26f40c70a836d1e88a2c3354fdb1f43689 | 132 | py | Python | python/testData/inspections/AddSelf.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/AddSelf.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/AddSelf.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def foo<caret><error descr="Method must have a first parameter, usually called 'self'">()</error>: # Add 'self'
pass
| 33 | 113 | 0.674242 | 20 | 132 | 4.45 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174242 | 132 | 3 | 114 | 44 | 0.816514 | 0.075758 | 0 | 0 | 0 | 0 | 0.475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0698052366a620808f073f3845e5c8c53997b9f3 | 172 | py | Python | 123456.py | Sakatalisinghaniya/fycs2016 | c50aa0dec0b2aabb8d9a1c0a1fceb87f560ede56 | [
"Apache-2.0"
] | null | null | null | 123456.py | Sakatalisinghaniya/fycs2016 | c50aa0dec0b2aabb8d9a1c0a1fceb87f560ede56 | [
"Apache-2.0"
] | null | null | null | 123456.py | Sakatalisinghaniya/fycs2016 | c50aa0dec0b2aabb8d9a1c0a1fceb87f560ede56 | [
"Apache-2.0"
] | null | null | null | p=int(input('enter the principal amount'))
n=int(input('enter the number of year'))
r=int(input('enter the rate of interest'))
d=p*n*r/100
print('simple interest=',d)
| 28.666667 | 43 | 0.69186 | 32 | 172 | 3.71875 | 0.5625 | 0.201681 | 0.327731 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.127907 | 172 | 5 | 44 | 34.4 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.550898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
230109013c83d0b32e43c1dfcf3ab7ed85beb5d2 | 123 | py | Python | matterhook/__init__.py | gormux/matterhook | eb4b087582922b182843ea3816efdd518193c877 | [
"MIT"
] | 39 | 2016-03-03T17:19:27.000Z | 2021-11-19T15:46:23.000Z | matterhook/__init__.py | gormux/matterhook | eb4b087582922b182843ea3816efdd518193c877 | [
"MIT"
] | 9 | 2017-02-14T06:25:41.000Z | 2021-01-22T08:09:14.000Z | matterhook/__init__.py | gormux/matterhook | eb4b087582922b182843ea3816efdd518193c877 | [
"MIT"
] | 6 | 2016-04-10T23:42:10.000Z | 2021-09-17T08:38:16.000Z | from matterhook.incoming import Webhook
from matterhook.attachments import Attachment
__all__ = ["Webhook", "Attachment"]
| 24.6 | 45 | 0.813008 | 13 | 123 | 7.384615 | 0.615385 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 123 | 4 | 46 | 30.75 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2342a0732dc8d601645268e0e4bed0128919910b | 255 | py | Python | libs/utils/__init__.py | trarse-nii/deeplab-pytorch | b77f7752a49d8e34ca0418a7df406cf37a25aee9 | [
"MIT"
] | null | null | null | libs/utils/__init__.py | trarse-nii/deeplab-pytorch | b77f7752a49d8e34ca0418a7df406cf37a25aee9 | [
"MIT"
] | 1 | 2020-12-05T08:34:55.000Z | 2020-12-05T08:34:55.000Z | libs/utils/__init__.py | trarse-nii/deeplab-pytorch | b77f7752a49d8e34ca0418a7df406cf37a25aee9 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .crf import DenseCRF
from .lr_scheduler import PolynomialLR
from .metric import scores
from .metric import scores_with_labels
from .evaluate import evaluate_from_dir
from .evaluate import evaluate_from_globlist
| 31.875 | 44 | 0.866667 | 36 | 255 | 5.805556 | 0.444444 | 0.095694 | 0.15311 | 0.210526 | 0.287081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109804 | 255 | 7 | 45 | 36.428571 | 0.920705 | 0 | 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 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
88d1a5a8bdb1285389eb981792b1eefbffab1a4d | 493 | py | Python | spec/construct/test_nested_types3.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/construct/test_nested_types3.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/construct/test_nested_types3.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | # Autogenerated from KST: please remove this line if doing any edits by hand!
import unittest
from nested_types3 import _schema
class TestNestedTypes3(unittest.TestCase):
def test_nested_types3(self):
r = _schema.parse_file('src/fixed_struct.bin')
self.assertEqual(r.a_cc.value_cc, 80)
sel... | 32.866667 | 77 | 0.711968 | 80 | 493 | 4.1625 | 0.5375 | 0.225225 | 0.24024 | 0.153153 | 0.159159 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032419 | 0.186613 | 493 | 14 | 78 | 35.214286 | 0.798005 | 0.15213 | 0 | 0 | 1 | 0 | 0.048077 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
00262463eb532efa1dd9f32c5657d1fc7a7d15ae | 328 | py | Python | tea/config/loss_fn_map.py | taohu88/chaos | b5dd0b4c71408de4e9231e9970c240f77bc5c923 | [
"MIT"
] | 1 | 2019-05-08T01:11:13.000Z | 2019-05-08T01:11:13.000Z | tea/config/loss_fn_map.py | taohu88/chaos | b5dd0b4c71408de4e9231e9970c240f77bc5c923 | [
"MIT"
] | null | null | null | tea/config/loss_fn_map.py | taohu88/chaos | b5dd0b4c71408de4e9231e9970c240f77bc5c923 | [
"MIT"
] | null | null | null | import torch.nn.functional as F
_loss_name_2_fn = {
# TODO add more later
"cross_entropy": F.cross_entropy,
"binary_cross_entropy_with_logits": F.binary_cross_entropy_with_logits,
"binary_cross_entropy": F.binary_cross_entropy,
"nll_loss": F.nll_loss
}
def get_loss_fn_maps():
return _loss_na... | 21.866667 | 75 | 0.753049 | 52 | 328 | 4.230769 | 0.461538 | 0.327273 | 0.327273 | 0.1 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007273 | 0.161585 | 328 | 14 | 76 | 23.428571 | 0.792727 | 0.057927 | 0 | 0 | 0 | 0 | 0.237785 | 0.104235 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
cc3dffc2b092303487f657117386f59f321c403e | 238 | py | Python | dictionaries/match_dates_regex.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | dictionaries/match_dates_regex.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | dictionaries/match_dates_regex.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | 1 | 2022-01-14T17:12:44.000Z | 2022-01-14T17:12:44.000Z | import re
text = input()
pattern = r"((\d{2})([/\.-])([A-Z][a-z]{2})\2(\d){4}))"
matches = re.findall(pattern, text)
for match in matches:
print(f"Day: {match.group('day')}, Month: {match.group('month')}, Year: {match.group('year')}") | 39.666667 | 99 | 0.584034 | 39 | 238 | 3.564103 | 0.564103 | 0.215827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018779 | 0.105042 | 238 | 6 | 99 | 39.666667 | 0.633803 | 0 | 0 | 0 | 0 | 0.333333 | 0.531381 | 0.447699 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cc4d91443f604ffb6768afc2a23c42fd895407ff | 163 | py | Python | demo-scripts/text2image/text2image-steg-decode.py | paucabral/Image-Steganography-Tool | 5fbc8f3180e6ee55fceea67933ca18a38b31fa46 | [
"MIT"
] | null | null | null | demo-scripts/text2image/text2image-steg-decode.py | paucabral/Image-Steganography-Tool | 5fbc8f3180e6ee55fceea67933ca18a38b31fa46 | [
"MIT"
] | null | null | null | demo-scripts/text2image/text2image-steg-decode.py | paucabral/Image-Steganography-Tool | 5fbc8f3180e6ee55fceea67933ca18a38b31fa46 | [
"MIT"
] | null | null | null | import txt2img
INPUT_FILEPATH = 'media/steg.png'
PASSWORD = 'pa$$w0rD'
message = txt2img.decode(input_filepath=INPUT_FILEPATH, password=PASSWORD)
print(message)
| 20.375 | 74 | 0.791411 | 21 | 163 | 6 | 0.619048 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.092025 | 163 | 7 | 75 | 23.285714 | 0.831081 | 0 | 0 | 0 | 0 | 0 | 0.134969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
aed8f8df9d34e710b67885adb684bd4d737a6310 | 685 | py | Python | src/lib/_typeAliases.py | t3kt/raytk | e0e2b3643b2f536d597c5db64f02d17f7e8f23ac | [
"CC-BY-4.0"
] | 108 | 2020-11-23T01:22:37.000Z | 2022-03-29T09:27:32.000Z | src/lib/_typeAliases.py | t3kt/raytk | e0e2b3643b2f536d597c5db64f02d17f7e8f23ac | [
"CC-BY-4.0"
] | 794 | 2020-11-21T22:27:37.000Z | 2022-03-24T06:41:19.000Z | src/lib/_typeAliases.py | t3kt/raytk | e0e2b3643b2f536d597c5db64f02d17f7e8f23ac | [
"CC-BY-4.0"
] | 3 | 2021-06-19T00:57:54.000Z | 2021-11-01T11:55:07.000Z | from typing import Union, Optional
from _stubs import *
class StrParamT(Par, Union[Par, str]):
def eval(self) -> str: pass
class IntParamT(Par, Union[Par, str, int]):
def eval(self) -> int: pass
class FloatParamT(Par, Union[Par, str, float, int]):
def eval(self) -> float: pass
class DatParamT(Par, Union[Par, st... | 27.4 | 76 | 0.680292 | 108 | 685 | 4.305556 | 0.277778 | 0.12043 | 0.165591 | 0.180645 | 0.094624 | 0.094624 | 0.094624 | 0 | 0 | 0 | 0 | 0 | 0.154745 | 685 | 24 | 77 | 28.541667 | 0.803109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0.4375 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
aee83cd6eec6f97ef0dfa555caec149afe00e0a5 | 11,681 | py | Python | src/some_events.py | si-meone/zenoss_sync | 28edf813ba6325063bc968fc1703a3bbb91840e7 | [
"Apache-2.0"
] | null | null | null | src/some_events.py | si-meone/zenoss_sync | 28edf813ba6325063bc968fc1703a3bbb91840e7 | [
"Apache-2.0"
] | null | null | null | src/some_events.py | si-meone/zenoss_sync | 28edf813ba6325063bc968fc1703a3bbb91840e7 | [
"Apache-2.0"
] | 2 | 2019-09-18T15:11:01.000Z | 2021-05-09T08:56:09.000Z | ##############################################################################
#
# Copyright (C) BBC 2018
#
##############################################################################
events = [
{
"prodState": "Maintenance",
"firstTime": 1494707632.238,
"device_uuid": "3cb330f3-afb0-4e25... | 34.355882 | 340 | 0.455184 | 989 | 11,681 | 5.311426 | 0.20728 | 0.037693 | 0.062821 | 0.029697 | 0.830954 | 0.725681 | 0.711974 | 0.680944 | 0.612031 | 0.612031 | 0 | 0.082594 | 0.372913 | 11,681 | 340 | 341 | 34.355882 | 0.634539 | 0.001883 | 0 | 0.48048 | 0 | 0.021021 | 0.467043 | 0.227565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aeea97ef386bece0ca433e452e0bfd42ee3b88f8 | 5,366 | py | Python | ColorComponents.py | uniquetrij/CarND-P4-Advanced-Lane-Lines | 6efff80839b2dd6d4460ce58b20fcf656fb68d7e | [
"MIT"
] | null | null | null | ColorComponents.py | uniquetrij/CarND-P4-Advanced-Lane-Lines | 6efff80839b2dd6d4460ce58b20fcf656fb68d7e | [
"MIT"
] | 10 | 2020-03-24T15:34:51.000Z | 2022-03-11T23:17:30.000Z | ColorComponents.py | uniquetrij/CarND-P4-Advanced-Lane-Lines | 6efff80839b2dd6d4460ce58b20fcf656fb68d7e | [
"MIT"
] | 1 | 2020-10-01T16:30:09.000Z | 2020-10-01T16:30:09.000Z | import glob
import cv2
import matplotlib.pyplot as plt
import numpy as np
class ColorComponents:
bgr = None
gray = None
rgb = None
hls = None
hsv = None
lab = None
luv = None
yuv = None
ycrcb = None
xyz = None
channels = {}
spaces = {}
def __init__(self, image_bg... | 26.303922 | 102 | 0.565971 | 805 | 5,366 | 3.50559 | 0.10559 | 0.158753 | 0.138909 | 0.162651 | 0.284196 | 0.08292 | 0 | 0 | 0 | 0 | 0 | 0.017613 | 0.291092 | 5,366 | 203 | 103 | 26.433498 | 0.724238 | 0.002609 | 0 | 0.013072 | 0 | 0 | 0.038519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27451 | false | 0 | 0.026144 | 0.202614 | 0.653595 | 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 |
4e3f386bee08d5b9888ae023278568026df76ab8 | 119 | py | Python | make_queue/views/api/__init__.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 10 | 2017-11-25T01:47:20.000Z | 2020-03-24T18:28:24.000Z | make_queue/views/api/__init__.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 319 | 2017-11-16T09:56:03.000Z | 2022-03-28T00:24:37.000Z | make_queue/views/api/__init__.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 6 | 2017-11-12T14:04:08.000Z | 2021-03-10T09:41:18.000Z | __all__ = ["reservation", "user_info", "calendar"]
for _import in __all__:
__import__(f"{__package__}.{_import}")
| 23.8 | 50 | 0.697479 | 13 | 119 | 4.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 4 | 51 | 29.75 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0.193277 | 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 |
9d6ed238c8a3e3a0dcf3788e335c466bcccce490 | 287 | py | Python | {{cookiecutter.project_slug}}/backend/app/app/api/api_v1/api.py | abnerjacobsen/full-stack | f9c08f65a8c8ef68127c671f12c43d29656dcf16 | [
"MIT"
] | 516 | 2018-03-06T19:20:47.000Z | 2022-03-30T22:22:11.000Z | {{cookiecutter.project_slug}}/backend/app/app/api/api_v1/api.py | abnerjacobsen/full-stack | f9c08f65a8c8ef68127c671f12c43d29656dcf16 | [
"MIT"
] | 23 | 2018-03-21T19:38:40.000Z | 2020-12-27T23:08:09.000Z | {{cookiecutter.project_slug}}/backend/app/app/api/api_v1/api.py | abnerjacobsen/full-stack | f9c08f65a8c8ef68127c671f12c43d29656dcf16 | [
"MIT"
] | 85 | 2018-03-29T16:46:40.000Z | 2022-01-27T18:47:39.000Z | # Import installed packages
# Import app code
from app.main import app
from app.core import config
from app.db.flask_session import db_session
from .api_docs import docs
from .endpoints import role
from .endpoints import token
from .endpoints import user
from .endpoints import utils
| 20.5 | 43 | 0.811847 | 45 | 287 | 5.111111 | 0.422222 | 0.226087 | 0.330435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149826 | 287 | 13 | 44 | 22.076923 | 0.942623 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9d76f35c1f50ff1dd9cc695015c1b2665da0b5e1 | 252 | py | Python | backend/people/serializers/beneficiary_serializer.py | hndoss/manos-bondadosas | 2d6eaee63ef3d90f26c7f4862b31f6635eb9dee3 | [
"Apache-2.0"
] | null | null | null | backend/people/serializers/beneficiary_serializer.py | hndoss/manos-bondadosas | 2d6eaee63ef3d90f26c7f4862b31f6635eb9dee3 | [
"Apache-2.0"
] | null | null | null | backend/people/serializers/beneficiary_serializer.py | hndoss/manos-bondadosas | 2d6eaee63ef3d90f26c7f4862b31f6635eb9dee3 | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from ..models import Beneficiary
class BeneficiarySerializer(serializers.ModelSerializer):
class Meta:
model = Beneficiary
fields = ('id', 'first_name', 'last_name', 'age', 'sex', 'email', ) | 28 | 75 | 0.702381 | 26 | 252 | 6.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 252 | 9 | 75 | 28 | 0.84466 | 0 | 0 | 0 | 0 | 0 | 0.126482 | 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 |
9dacd645d6d60cca5b59a6cdde11cedc498b6150 | 670 | py | Python | mytoyota/exceptions.py | Dominik-Koenig/mytoyota | d67a083733a43218c3469bd2cb11f3310cada683 | [
"MIT"
] | 34 | 2021-03-20T16:38:08.000Z | 2022-02-17T12:47:07.000Z | mytoyota/exceptions.py | Dominik-Koenig/mytoyota | d67a083733a43218c3469bd2cb11f3310cada683 | [
"MIT"
] | 64 | 2021-03-14T12:12:39.000Z | 2022-03-29T18:44:32.000Z | mytoyota/exceptions.py | joro75/mytoyota | 405f7d84b3737846124aac6e7692aa6da52838a1 | [
"MIT"
] | 7 | 2021-03-15T07:27:38.000Z | 2022-01-21T17:23:08.000Z | """Toyota Connected Services API exceptions."""
class ToyotaLocaleNotValid(Exception):
"""Raise if locale string is not valid."""
class ToyotaLoginError(Exception):
"""Raise if a login error happens."""
class ToyotaInvalidToken(Exception):
"""Raise if token is invalid"""
class ToyotaI... | 22.333333 | 66 | 0.689552 | 70 | 670 | 6.6 | 0.5 | 0.212121 | 0.242424 | 0.073593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 670 | 29 | 67 | 23.103448 | 0.86194 | 0.425373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9daf2a2879c8e3f509dda2f70fb77a6c2f64331e | 127 | py | Python | test.py | BJohnBraddock/BigGAN-PyTorch | 4d2dd217d333314482ef4f6a209f074fe156068c | [
"MIT"
] | null | null | null | test.py | BJohnBraddock/BigGAN-PyTorch | 4d2dd217d333314482ef4f6a209f074fe156068c | [
"MIT"
] | null | null | null | test.py | BJohnBraddock/BigGAN-PyTorch | 4d2dd217d333314482ef4f6a209f074fe156068c | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
print("Hello world!")
for i in range(10):
print(i)
print(torch.cuda.is_available())
| 9.769231 | 32 | 0.692913 | 22 | 127 | 3.954545 | 0.681818 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.173228 | 127 | 12 | 33 | 10.583333 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
9dbe46a68961d35c8df9f3a1cd1a3c44e62dae2f | 43 | py | Python | tdd3/lib/python3.7/keyword.py | yjj2100/flask-microservices-users | 9778bd4ab643d1f0e7ed91f41126e415b083fd17 | [
"Apache-2.0"
] | null | null | null | tdd3/lib/python3.7/keyword.py | yjj2100/flask-microservices-users | 9778bd4ab643d1f0e7ed91f41126e415b083fd17 | [
"Apache-2.0"
] | null | null | null | tdd3/lib/python3.7/keyword.py | yjj2100/flask-microservices-users | 9778bd4ab643d1f0e7ed91f41126e415b083fd17 | [
"Apache-2.0"
] | null | null | null | /usr/local/python3/lib/python3.7/keyword.py | 43 | 43 | 0.813953 | 8 | 43 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | 43 | 1 | 43 | 43 | 0.744186 | 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 |
9dcfe41855bf8452e3a0baa2cda83ae966bf3ec8 | 194 | py | Python | js/jquery_simulate/__init__.py | fanstatic/js.jquery_simulate | 6bd5a9b51fbb3b3738f649a2cdf5bb14297c8e0f | [
"BSD-3-Clause"
] | null | null | null | js/jquery_simulate/__init__.py | fanstatic/js.jquery_simulate | 6bd5a9b51fbb3b3738f649a2cdf5bb14297c8e0f | [
"BSD-3-Clause"
] | null | null | null | js/jquery_simulate/__init__.py | fanstatic/js.jquery_simulate | 6bd5a9b51fbb3b3738f649a2cdf5bb14297c8e0f | [
"BSD-3-Clause"
] | null | null | null | import fanstatic
import js.jquery
library = fanstatic.Library('jquery.simulate', 'resources')
simulate = fanstatic.Resource(
library, 'jquery.simulate.js',
depends=[js.jquery.jquery])
| 21.555556 | 59 | 0.742268 | 22 | 194 | 6.545455 | 0.409091 | 0.111111 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 194 | 8 | 60 | 24.25 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0.216495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9df4f2561c115c5890f65e33b12360f7b272976c | 237 | py | Python | pycromanager/__init__.py | bryantChhun/pycro-manager | 79b84214c033306e36f8e23347c3415a7cf1f24a | [
"BSD-3-Clause"
] | null | null | null | pycromanager/__init__.py | bryantChhun/pycro-manager | 79b84214c033306e36f8e23347c3415a7cf1f24a | [
"BSD-3-Clause"
] | null | null | null | pycromanager/__init__.py | bryantChhun/pycro-manager | 79b84214c033306e36f8e23347c3415a7cf1f24a | [
"BSD-3-Clause"
] | null | null | null | name = 'pycromanager'
from pycromanager.acquire import Acquisition, multi_d_acquisition_events
from pycromanager.core import Bridge, JavaObjectShadow
from pycromanager.data import Dataset
from ._version import __version__, version_info
| 33.857143 | 72 | 0.860759 | 28 | 237 | 6.964286 | 0.571429 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097046 | 237 | 6 | 73 | 39.5 | 0.911215 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
d18961f8b06fec8c7acaeb42664d409c8ddc8c0f | 34 | py | Python | Chapter1/Variables.py | rabbitism/Beginning-Python-Practice | f34163291db621a38226841aeb59e71b68fae00c | [
"MIT"
] | null | null | null | Chapter1/Variables.py | rabbitism/Beginning-Python-Practice | f34163291db621a38226841aeb59e71b68fae00c | [
"MIT"
] | null | null | null | Chapter1/Variables.py | rabbitism/Beginning-Python-Practice | f34163291db621a38226841aeb59e71b68fae00c | [
"MIT"
] | null | null | null | print("Variables")
x=3
print(x*2)
| 8.5 | 18 | 0.676471 | 7 | 34 | 3.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.088235 | 34 | 3 | 19 | 11.333333 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d199fc5eb0582b43272eef3cfe48bad69a18dee5 | 86 | py | Python | 9-docker-notebook/long-lived-random-generator.py | reetasharma11/winter2020-code | 6875ca13e4f3d2a95ad36dca386a3a87e8ed08f7 | [
"MIT"
] | 1 | 2020-02-11T04:29:14.000Z | 2020-02-11T04:29:14.000Z | 9-docker-notebook/long-lived-random-generator.py | reetasharma11/winter2020-code | 6875ca13e4f3d2a95ad36dca386a3a87e8ed08f7 | [
"MIT"
] | null | null | null | 9-docker-notebook/long-lived-random-generator.py | reetasharma11/winter2020-code | 6875ca13e4f3d2a95ad36dca386a3a87e8ed08f7 | [
"MIT"
] | 5 | 2020-01-18T21:22:04.000Z | 2020-02-27T23:00:07.000Z | import random
import time
while True:
print(random.randint(1,101))
time.sleep(1)
| 12.285714 | 30 | 0.732558 | 14 | 86 | 4.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.151163 | 86 | 6 | 31 | 14.333333 | 0.794521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d1ab0972b25c1683cfed18c46ce2e8c4fd88e612 | 223 | py | Python | Apartment_Management/buildings/admin.py | anmolharsh/Apartment-Management-DBMS_1 | 196fbe11ceb0fe146b41075b0350b518713cdb58 | [
"MIT"
] | null | null | null | Apartment_Management/buildings/admin.py | anmolharsh/Apartment-Management-DBMS_1 | 196fbe11ceb0fe146b41075b0350b518713cdb58 | [
"MIT"
] | null | null | null | Apartment_Management/buildings/admin.py | anmolharsh/Apartment-Management-DBMS_1 | 196fbe11ceb0fe146b41075b0350b518713cdb58 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Occupies, Flat, Building, Service_Directory
admin.site.register(Occupies)
admin.site.register(Flat)
admin.site.register(Building)
admin.site.register(Service_Directory)
| 27.875 | 63 | 0.834081 | 30 | 223 | 6.133333 | 0.433333 | 0.195652 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071749 | 223 | 7 | 64 | 31.857143 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
d1d9fcd793a9a30eb9b70855c24ebc1d08a4379d | 234 | py | Python | expenses/serializers.py | DanielMawioo/Personal-Finances-Full-featured-DRF-master | 40419f130cc3f671a9b1c591db919b9447fcd545 | [
"MIT"
] | null | null | null | expenses/serializers.py | DanielMawioo/Personal-Finances-Full-featured-DRF-master | 40419f130cc3f671a9b1c591db919b9447fcd545 | [
"MIT"
] | null | null | null | expenses/serializers.py | DanielMawioo/Personal-Finances-Full-featured-DRF-master | 40419f130cc3f671a9b1c591db919b9447fcd545 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Expense
class ExpensesSerializer(serializers.ModelSerializer):
class Meta:
model = Expense
fields = ['id', 'date', 'description', 'amount', 'category']
| 23.4 | 68 | 0.705128 | 23 | 234 | 7.130435 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 234 | 9 | 69 | 26 | 0.867725 | 0 | 0 | 0 | 0 | 0 | 0.132479 | 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 |
d1de56c60458e3f1b3b1b7cfcbd11c1ad803b066 | 132 | py | Python | tests/test_utils.py | hoechenberger/pycircstat | 53d2efdf54c394fd9ecff8d47eaae165c1458fb0 | [
"MIT"
] | 125 | 2015-01-21T17:23:34.000Z | 2022-02-25T08:03:20.000Z | tests/test_utils.py | hoechenberger/pycircstat | 53d2efdf54c394fd9ecff8d47eaae165c1458fb0 | [
"MIT"
] | 35 | 2015-01-13T07:57:13.000Z | 2022-02-14T18:42:42.000Z | tests/test_utils.py | hoechenberger/pycircstat | 53d2efdf54c394fd9ecff8d47eaae165c1458fb0 | [
"MIT"
] | 36 | 2015-03-05T17:16:46.000Z | 2022-02-16T14:37:40.000Z | from __future__ import absolute_import
import numpy as np
from numpy.testing import assert_allclose
from pycircstat import utils
| 16.5 | 41 | 0.848485 | 19 | 132 | 5.578947 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 132 | 7 | 42 | 18.857143 | 0.938053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 |
d1eacbba165efd2fa36eed844b22f43e8171c069 | 50 | py | Python | team/models/__init__.py | ThePokerFaCcCe/teamwork | e6d3cfa7821ddba7a122b740e7f5dabb2b1eb316 | [
"MIT"
] | null | null | null | team/models/__init__.py | ThePokerFaCcCe/teamwork | e6d3cfa7821ddba7a122b740e7f5dabb2b1eb316 | [
"MIT"
] | null | null | null | team/models/__init__.py | ThePokerFaCcCe/teamwork | e6d3cfa7821ddba7a122b740e7f5dabb2b1eb316 | [
"MIT"
] | null | null | null | from .team import Team
from .member import Member
| 16.666667 | 26 | 0.8 | 8 | 50 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 27 | 25 | 0.952381 | 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 |
ae36c4d6782d55ea9b66667cfe1384516046afd5 | 31 | py | Python | Again Twenty Five!.py | NehaAgarwal2598/Codeforces | 859196a734cb24834736adf9517b351647da6e73 | [
"MIT"
] | null | null | null | Again Twenty Five!.py | NehaAgarwal2598/Codeforces | 859196a734cb24834736adf9517b351647da6e73 | [
"MIT"
] | null | null | null | Again Twenty Five!.py | NehaAgarwal2598/Codeforces | 859196a734cb24834736adf9517b351647da6e73 | [
"MIT"
] | null | null | null | n = int(input())
print("25")
| 10.333333 | 17 | 0.516129 | 5 | 31 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.193548 | 31 | 2 | 18 | 15.5 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ae3fd0c58e9673e5fe5e534b4d071e80acb73bad | 130 | py | Python | release/stubs.min/System/__init___parts/HttpStyleUriParser.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/__init___parts/HttpStyleUriParser.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/__init___parts/HttpStyleUriParser.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class HttpStyleUriParser(UriParser):
"""
A customizable parser based on the HTTP scheme.
HttpStyleUriParser()
"""
| 14.444444 | 49 | 0.684615 | 12 | 130 | 7.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223077 | 130 | 8 | 50 | 16.25 | 0.881188 | 0.546154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ae42f66ea558e1b87d2fbb1aaa65c1c9861ca0a3 | 1,862 | py | Python | hangman1.py | fykhan/Tech-Club | 2f512363ddd8c7d4b35a8a6e7ec13f9a31950b7b | [
"MIT"
] | null | null | null | hangman1.py | fykhan/Tech-Club | 2f512363ddd8c7d4b35a8a6e7ec13f9a31950b7b | [
"MIT"
] | null | null | null | hangman1.py | fykhan/Tech-Club | 2f512363ddd8c7d4b35a8a6e7ec13f9a31950b7b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Feb 5 19:13:44 2018
@author: farhan
"""
def draw(n):
if n == 1:
print('''
------
| |
| |
------
''')
if n ==2:
print('''
... | 21.159091 | 36 | 0.059076 | 41 | 1,862 | 2.682927 | 0.585366 | 0.163636 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053892 | 0.820623 | 1,862 | 88 | 37 | 21.159091 | 0.275449 | 0.040279 | 0 | 0.686567 | 0 | 0 | 0.820437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014925 | false | 0 | 0 | 0 | 0.014925 | 0.089552 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ae56d85ac269c8e1ba6bf3f36f29157c0f338c26 | 722 | py | Python | configs/deepim/lmPbrSO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_lmPbr_SO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_Pbr_06_cat.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/lmPbrSO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_lmPbr_SO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_Pbr_06_cat.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/lmPbrSO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_lmPbr_SO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_Pbr_06_cat.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_Pbr_01_ape.py"
OUTPUT_DIR = "output/deepim/lmPbrSO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_lmPbr_SO/cat"
DATASETS = dict(TRAIN=("lm_pbr_cat_train",), TEST=("lm_real_cat_test",))
# bbnc10
# objects cat Avg(1)
# ad_2 21.06 21.06
#... | 30.083333 | 103 | 0.637119 | 142 | 722 | 2.978873 | 0.366197 | 0.118203 | 0.094563 | 0.118203 | 0.425532 | 0.293144 | 0 | 0 | 0 | 0 | 0 | 0.324176 | 0.243767 | 722 | 23 | 104 | 31.391304 | 0.450549 | 0.587258 | 0 | 0 | 0 | 0 | 0.679856 | 0.564748 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.