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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dfdf7cb75960e3d35701389dae68f2ac0579389d | 1,439 | py | Python | neighbourhoodApp/migrations/0008_auto_20200721_0009.py | lornakamau/neighbourhood | f8c8bb404b6b913673989a38855e0c3386e82163 | [
"MIT"
] | null | null | null | neighbourhoodApp/migrations/0008_auto_20200721_0009.py | lornakamau/neighbourhood | f8c8bb404b6b913673989a38855e0c3386e82163 | [
"MIT"
] | 4 | 2021-03-30T14:03:46.000Z | 2021-09-22T19:28:56.000Z | neighbourhoodApp/migrations/0008_auto_20200721_0009.py | lornakamau/neighbourhood | f8c8bb404b6b913673989a38855e0c3386e82163 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.8 on 2020-07-20 21:09
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('neighbourhoodApp', '0007_amenity_business_neighbourhood_post'),
]
operations = [
migrations.RemoveField(
model_name='amenity',
... | 23.983333 | 73 | 0.510771 | 102 | 1,439 | 7.098039 | 0.333333 | 0.203039 | 0.251381 | 0.290055 | 0.437845 | 0.34116 | 0 | 0 | 0 | 0 | 0 | 0.0213 | 0.380125 | 1,439 | 59 | 74 | 24.389831 | 0.790359 | 0.031272 | 0 | 0.622642 | 1 | 0 | 0.160201 | 0.028736 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.075472 | 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 |
dff22fb301b6f06c3d2af68605d5ba8f6f52ef26 | 100 | py | Python | setup.py | zhy0313/Tback | d75855286b7f8b90f0c74931d0a05889005d86b9 | [
"MIT"
] | 3 | 2018-09-07T11:15:42.000Z | 2020-12-19T13:12:17.000Z | setup.py | zhy0313/Tback | d75855286b7f8b90f0c74931d0a05889005d86b9 | [
"MIT"
] | null | null | null | setup.py | zhy0313/Tback | d75855286b7f8b90f0c74931d0a05889005d86b9 | [
"MIT"
] | 2 | 2020-03-01T14:33:42.000Z | 2020-12-19T13:12:19.000Z | # -*- coding: utf-8 -*-
"""
TradingStrategy
__author__ = ‘Administrator‘
__mtime__ = 2016/12/19
""" | 14.285714 | 28 | 0.65 | 10 | 100 | 5.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 0.14 | 100 | 7 | 29 | 14.285714 | 0.55814 | 0.9 | 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 |
5f29321baa0d78d8f63bbbd82fabaea113a0ea67 | 182 | py | Python | simple_ckan/action.py | macnetic/simple-ckan | 0d9d70c6658ad24e71edc0c674bfd3922b4a67b7 | [
"MIT"
] | null | null | null | simple_ckan/action.py | macnetic/simple-ckan | 0d9d70c6658ad24e71edc0c674bfd3922b4a67b7 | [
"MIT"
] | null | null | null | simple_ckan/action.py | macnetic/simple-ckan | 0d9d70c6658ad24e71edc0c674bfd3922b4a67b7 | [
"MIT"
] | null | null | null | from .get import CKANGet
from .ext.datastore import CKANDatastore
class CKANAction(object):
def __init__(self, ckan):
self.ckan = ckan
self.get = CKANGet(self)
| 20.222222 | 40 | 0.686813 | 23 | 182 | 5.26087 | 0.608696 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225275 | 182 | 8 | 41 | 22.75 | 0.858156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a02df76b20f0b6f02567b38638c3d081618d58cd | 135 | py | Python | pymzid/__main__.py | Lau-Lab/pymzid | 69dda59a125c00cbeed9830b79e889c26918912c | [
"MIT"
] | null | null | null | pymzid/__main__.py | Lau-Lab/pymzid | 69dda59a125c00cbeed9830b79e889c26918912c | [
"MIT"
] | null | null | null | pymzid/__main__.py | Lau-Lab/pymzid | 69dda59a125c00cbeed9830b79e889c26918912c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""riana.__main__: executed when jcast directory is called as script."""
from pymzid import main
main.main() | 19.285714 | 72 | 0.688889 | 19 | 135 | 4.684211 | 0.842105 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.155556 | 135 | 7 | 73 | 19.285714 | 0.77193 | 0.659259 | 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 |
a03590f54d8b03c2bee4276a20b3bf402d26b06c | 74 | py | Python | setup.py | adamchainz/ec2_metadata | 72d38b21c23da52e1a248837e545b597dcf758e6 | [
"MIT"
] | 284 | 2021-08-28T01:31:41.000Z | 2022-03-30T16:15:59.000Z | setup.py | adamchainz/ec2_metadata | 72d38b21c23da52e1a248837e545b597dcf758e6 | [
"MIT"
] | 84 | 2021-12-31T10:33:06.000Z | 2022-03-20T13:17:32.000Z | setup.py | adamchainz/ec2_metadata | 72d38b21c23da52e1a248837e545b597dcf758e6 | [
"MIT"
] | 27 | 2021-07-12T06:52:14.000Z | 2022-03-05T10:26:17.000Z | from __future__ import annotations
from setuptools import setup
setup()
| 12.333333 | 34 | 0.824324 | 9 | 74 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 5 | 35 | 14.8 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a04effcd27c5a951f468bf672b694fa6ca547367 | 311 | py | Python | tests/test_aws.py | kosyachniy/lib | 4174eb7b91b2c5908b47b353cc55cc617b74799f | [
"MIT"
] | null | null | null | tests/test_aws.py | kosyachniy/lib | 4174eb7b91b2c5908b47b353cc55cc617b74799f | [
"MIT"
] | null | null | null | tests/test_aws.py | kosyachniy/lib | 4174eb7b91b2c5908b47b353cc55cc617b74799f | [
"MIT"
] | null | null | null | from libdev.aws import upload_file
FILE = 'tests/test_aws.py'
def test_upload_file():
assert upload_file(FILE)[:8] == 'https://'
with open(FILE, 'rb') as file:
assert upload_file(file, file_type='Py')[-3:] == '.py'
# TODO: upload_file('https://s1.1zoom.ru/big0/621/359909-svetik.jpg')
| 22.214286 | 73 | 0.646302 | 48 | 311 | 4.020833 | 0.583333 | 0.259067 | 0.217617 | 0.207254 | 0.248705 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.167203 | 311 | 13 | 74 | 23.923077 | 0.69112 | 0.215434 | 0 | 0 | 0 | 0 | 0.132231 | 0 | 0 | 0 | 0 | 0.076923 | 0.333333 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2636aa955afd91f33c832b7c75089414fd40dfb8 | 212 | py | Python | is_it_rick/__main__.py | That-Cool-Coder/isitrick | 8e610e91afac4db007c9883359d9127214cb8563 | [
"MIT"
] | null | null | null | is_it_rick/__main__.py | That-Cool-Coder/isitrick | 8e610e91afac4db007c9883359d9127214cb8563 | [
"MIT"
] | 7 | 2021-07-19T06:52:02.000Z | 2021-08-09T07:48:31.000Z | is_it_rick/__main__.py | That-Cool-Coder/isitrick | 8e610e91afac4db007c9883359d9127214cb8563 | [
"MIT"
] | null | null | null | from is_it_rick.main_app import app, start_background_tasks
from is_it_rick import config
if __name__ == '__main__':
start_background_tasks()
app.run(host='0.0.0.0', port=config.TESTING_PORT, debug=True) | 35.333333 | 65 | 0.773585 | 36 | 212 | 4.055556 | 0.555556 | 0.041096 | 0.109589 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02139 | 0.117925 | 212 | 6 | 65 | 35.333333 | 0.759358 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cd2126b114d1f5b321ffca47dd6e01d8ad53c9cf | 126 | py | Python | 977. Squares of a Sorted Array/main.py | amanchadha/LeetCode | 20dddf0616351ad399f0fa03cb6a2b5cbdd25279 | [
"MIT"
] | 1 | 2021-07-18T06:18:40.000Z | 2021-07-18T06:18:40.000Z | 977. Squares of a Sorted Array/main.py | amanchadha/LeetCode | 20dddf0616351ad399f0fa03cb6a2b5cbdd25279 | [
"MIT"
] | null | null | null | 977. Squares of a Sorted Array/main.py | amanchadha/LeetCode | 20dddf0616351ad399f0fa03cb6a2b5cbdd25279 | [
"MIT"
] | 3 | 2020-09-27T05:48:30.000Z | 2021-08-13T10:07:08.000Z | class Solution:
def sortedSquares(self, A: List[int]) -> List[int]:
A = [i*i for i in A]
return sorted(A)
| 25.2 | 55 | 0.563492 | 20 | 126 | 3.55 | 0.65 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293651 | 126 | 4 | 56 | 31.5 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cd4834eb0024f1307c4a52686651a3fa42c6045b | 262 | py | Python | adlermanager/__init__.py | evilham/prometheus-adlermanager | 2556982526e306b7302e85e5da89ec9f987cbada | [
"MIT"
] | 1 | 2019-11-12T23:12:45.000Z | 2019-11-12T23:12:45.000Z | adlermanager/__init__.py | evilham/prometheus-adlermanager | 2556982526e306b7302e85e5da89ec9f987cbada | [
"MIT"
] | null | null | null | adlermanager/__init__.py | evilham/prometheus-adlermanager | 2556982526e306b7302e85e5da89ec9f987cbada | [
"MIT"
] | null | null | null | from .Config import Config
from .AdlerManagerSSHProtocol import AdlerManagerSSHProtocol
from .AdlerManagerTokenResource import AdlerManagerTokenResource
from .SitesManager import SitesManager
from .conch_helpers import conch_helper
from .WebRoot import web_root
| 37.428571 | 64 | 0.885496 | 27 | 262 | 8.481481 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 262 | 6 | 65 | 43.666667 | 0.962185 | 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 |
cd9a24f9c8963bd40191425a3ffd603fc2f74ea8 | 75 | py | Python | autopy/core/const.py | songofhawk/autopy | d00588e7c55e1d74cea34ee036490d66e5cf5553 | [
"MIT"
] | null | null | null | autopy/core/const.py | songofhawk/autopy | d00588e7c55e1d74cea34ee036490d66e5cf5553 | [
"MIT"
] | null | null | null | autopy/core/const.py | songofhawk/autopy | d00588e7c55e1d74cea34ee036490d66e5cf5553 | [
"MIT"
] | null | null | null | STATE: str = 'state'
FIND_RESULT: str = 'find_result'
MOUSE: str = 'mouse'
| 18.75 | 32 | 0.68 | 11 | 75 | 4.454545 | 0.454545 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 33 | 25 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
26a1a0aa1610164b4a3d25b7ab879eaa4ee7794e | 30 | py | Python | tests/__init__.py | bdwilson/raincloudy | 2c2f0605c257d2638ab168bcda7595ae6d6732b9 | [
"Apache-2.0"
] | 16 | 2017-07-28T05:27:40.000Z | 2020-04-15T03:22:01.000Z | tests/__init__.py | bdwilson/raincloudy | 2c2f0605c257d2638ab168bcda7595ae6d6732b9 | [
"Apache-2.0"
] | 37 | 2017-07-29T09:01:37.000Z | 2020-05-18T13:53:39.000Z | tests/__init__.py | bdwilson/raincloudy | 2c2f0605c257d2638ab168bcda7595ae6d6732b9 | [
"Apache-2.0"
] | 6 | 2017-10-09T11:24:04.000Z | 2020-05-13T00:07:44.000Z | """RainCloudy tests suite."""
| 15 | 29 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.740741 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
26b5ffb66ed84500ae23909697daeb335baafa4a | 171 | py | Python | modules/django-cms/project/urls.py | msabramo/django-chuck | bbef6171c9b3738460dc05cb77e65ba88fcc5ad8 | [
"BSD-2-Clause"
] | 1 | 2020-05-29T04:27:50.000Z | 2020-05-29T04:27:50.000Z | modules/django-cms/project/urls.py | msabramo/django-chuck | bbef6171c9b3738460dc05cb77e65ba88fcc5ad8 | [
"BSD-2-Clause"
] | null | null | null | modules/django-cms/project/urls.py | msabramo/django-chuck | bbef6171c9b3738460dc05cb77e65ba88fcc5ad8 | [
"BSD-2-Clause"
] | null | null | null | #!chuck_extends project/urls.py
#!chuck_appends URLS
urlpatterns += patterns('',
url(r'^', include('filer.server.urls')),
url(r'^', include('cms.urls')),
)
#!end
| 19 | 44 | 0.637427 | 22 | 171 | 4.863636 | 0.681818 | 0.074766 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128655 | 171 | 8 | 45 | 21.375 | 0.718121 | 0.309942 | 0 | 0 | 0 | 0 | 0.234783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
26c96a7fb2777ecb5b7a1f72f0f2caa6682ef59a | 100 | py | Python | filtered_articles/apps.py | tobyontour/django-filtered-articles | 4acc3bbc5c2c1303d1a6082aa14fea5291f73082 | [
"BSD-2-Clause"
] | null | null | null | filtered_articles/apps.py | tobyontour/django-filtered-articles | 4acc3bbc5c2c1303d1a6082aa14fea5291f73082 | [
"BSD-2-Clause"
] | 4 | 2021-03-19T03:40:14.000Z | 2021-09-22T19:04:03.000Z | filtered_articles/apps.py | tobyontour/django-filtered-articles | 4acc3bbc5c2c1303d1a6082aa14fea5291f73082 | [
"BSD-2-Clause"
] | null | null | null | from django.apps import AppConfig
class ArticlesConfig(AppConfig):
name = 'filtered_articles'
| 16.666667 | 33 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 34 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.17 | 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 |
f81c83c720ce5632b5d6fb030d1b3ea2fd2430bb | 120 | py | Python | ngallery/core/services/solana.py | manti-by/ngallery | e87340707d15f3f35ecf7cf761232dd5f40e1389 | [
"BSD-3-Clause"
] | null | null | null | ngallery/core/services/solana.py | manti-by/ngallery | e87340707d15f3f35ecf7cf761232dd5f40e1389 | [
"BSD-3-Clause"
] | null | null | null | ngallery/core/services/solana.py | manti-by/ngallery | e87340707d15f3f35ecf7cf761232dd5f40e1389 | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
from solana.rpc.api import Client
solana_client = Client(settings.SOLANA_NETWORK_URL)
| 24 | 51 | 0.841667 | 18 | 120 | 5.444444 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 4 | 52 | 30 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f8330f55260ae96abcd2e80b7f2b09bd5860a539 | 321 | py | Python | lib/company_jira.py | Rehzende/project-dev-kpis | b99c84e898e8481566e22f8d118b3398ddb6a351 | [
"MIT"
] | 113 | 2017-09-28T09:19:18.000Z | 2022-03-10T04:10:38.000Z | lib/company_jira.py | Rehzende/project-dev-kpis | b99c84e898e8481566e22f8d118b3398ddb6a351 | [
"MIT"
] | 6 | 2017-11-30T04:04:08.000Z | 2019-06-27T16:05:32.000Z | lib/company_jira.py | Rehzende/project-dev-kpis | b99c84e898e8481566e22f8d118b3398ddb6a351 | [
"MIT"
] | 26 | 2017-09-28T01:51:39.000Z | 2021-11-03T10:20:25.000Z | import os
from jira import JIRA
JIRA_API_SERVER = os.getenv('JIRA_API_SERVER')
JIRA_API_USER = os.getenv('JIRA_API_USER')
JIRA_API_PASSWORD = os.getenv('JIRA_API_PASSWORD')
jira = JIRA(
server=JIRA_API_SERVER,
basic_auth=(JIRA_API_USER, JIRA_API_PASSWORD)
) if JIRA_API_SERVER != 'https://localhost/' else None... | 26.75 | 54 | 0.772586 | 52 | 321 | 4.365385 | 0.307692 | 0.30837 | 0.229075 | 0.198238 | 0.229075 | 0.229075 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11838 | 321 | 11 | 55 | 29.181818 | 0.80212 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.222222 | 0.222222 | 0 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f838255e5a2882aa7d5715fcccef3ca59d75b71f | 167 | py | Python | gatekeeper/rest/__init__.py | gods-view/AdclickIO | ccb73867e568aac5f40bd5890149626ce0be1897 | [
"BSD-2-Clause"
] | null | null | null | gatekeeper/rest/__init__.py | gods-view/AdclickIO | ccb73867e568aac5f40bd5890149626ce0be1897 | [
"BSD-2-Clause"
] | null | null | null | gatekeeper/rest/__init__.py | gods-view/AdclickIO | ccb73867e568aac5f40bd5890149626ce0be1897 | [
"BSD-2-Clause"
] | null | null | null | from .popads import Popads
from .zeropark import ZeroPark
from .exoclick import ExoClick
from .propellerads import PropellerAds
from .trafficjunky import TrafficJunky
| 27.833333 | 38 | 0.850299 | 20 | 167 | 7.1 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11976 | 167 | 5 | 39 | 33.4 | 0.965986 | 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 |
f86d410e53c9a80f8b0be5203525cea36952c3ff | 37 | py | Python | lib/python3.5/functools.py | hwroitzsch/BikersLifeSaver | 469c738fdd6352c44a3f20689b17fa8ac04ad8a2 | [
"MIT"
] | 1 | 2020-08-16T04:04:23.000Z | 2020-08-16T04:04:23.000Z | lib/python3.5/functools.py | hwroitzsch/BikersLifeSaver | 469c738fdd6352c44a3f20689b17fa8ac04ad8a2 | [
"MIT"
] | 5 | 2020-06-05T18:53:24.000Z | 2021-12-13T19:49:15.000Z | lib/python3.5/functools.py | hwroitzsch/BikersLifeSaver | 469c738fdd6352c44a3f20689b17fa8ac04ad8a2 | [
"MIT"
] | null | null | null | /usr/local/lib/python3.5/functools.py | 37 | 37 | 0.810811 | 7 | 37 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 37 | 1 | 37 | 37 | 0.756757 | 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 |
f8c00e580fcb4044a3bcaa16fa42ae0b9ba66081 | 124 | py | Python | flamegraphviewer/backends.py | fwiesel/nylas-perftools | 772834d13ae3a9829189a01f1c93163e97a61bf2 | [
"MIT"
] | null | null | null | flamegraphviewer/backends.py | fwiesel/nylas-perftools | 772834d13ae3a9829189a01f1c93163e97a61bf2 | [
"MIT"
] | null | null | null | flamegraphviewer/backends.py | fwiesel/nylas-perftools | 772834d13ae3a9829189a01f1c93163e97a61bf2 | [
"MIT"
] | null | null | null | import contextlib
import redis
@contextlib.contextmanager
def get_db(db_url):
yield redis.StrictRedis.from_url(db_url)
| 17.714286 | 44 | 0.814516 | 18 | 124 | 5.388889 | 0.611111 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 6 | 45 | 20.666667 | 0.881818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f8c3d98f1a948dc486ed3431ba7f098d343daa1b | 207 | py | Python | SoSe-21/Code-Vorlesungen/VL-5/Mathematische-Brechnungen.py | jonasrdt/Wirtschaftsinformatik2 | 30d5d896808b98664c55cb6fbb3b30a7f1904d9f | [
"MIT"
] | 1 | 2022-03-23T09:40:39.000Z | 2022-03-23T09:40:39.000Z | SoSe-21/Code-Vorlesungen/VL-5/Mathematische-Brechnungen.py | jonasrdt/Wirtschaftsinformatik2 | 30d5d896808b98664c55cb6fbb3b30a7f1904d9f | [
"MIT"
] | null | null | null | SoSe-21/Code-Vorlesungen/VL-5/Mathematische-Brechnungen.py | jonasrdt/Wirtschaftsinformatik2 | 30d5d896808b98664c55cb6fbb3b30a7f1904d9f | [
"MIT"
] | null | null | null | PI = 3.1415 # Globale Variable
def kreisumfang(radius):
kreisumfang = 2 * PI * radius
return kreisumfang
def zylinder(radius, hoehe):
return hoehe * kreisumfang(radius)
print(zylinder(50, 20)) | 20.7 | 38 | 0.705314 | 26 | 207 | 5.615385 | 0.576923 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05988 | 0.193237 | 207 | 10 | 39 | 20.7 | 0.814371 | 0.077295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f8d1da03e0dace4042f29e28c450117091ee3cda | 140 | py | Python | deps/lib/python3.7/site-packages/pyupdate/__init__.py | edward-cai/homeassistant-profile | 1ed26cf114e83ec975de0fd25f5bfa6e7694b8c5 | [
"MIT"
] | 2 | 2020-08-04T23:49:08.000Z | 2020-08-14T23:06:30.000Z | deps/lib/python3.7/site-packages/pyupdate/__init__.py | edward-cai/homeassistant-profile | 1ed26cf114e83ec975de0fd25f5bfa6e7694b8c5 | [
"MIT"
] | 5 | 2018-10-02T13:49:26.000Z | 2019-12-01T09:15:04.000Z | deps/lib/python3.7/site-packages/pyupdate/__init__.py | edward-cai/homeassistant-profile | 1ed26cf114e83ec975de0fd25f5bfa6e7694b8c5 | [
"MIT"
] | 2 | 2020-02-21T12:03:21.000Z | 2021-01-31T15:30:41.000Z | """
A python package to update stuff.
This code is released under the terms of the MIT license. See the LICENSE
file for more details.
"""
| 20 | 73 | 0.742857 | 24 | 140 | 4.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192857 | 140 | 6 | 74 | 23.333333 | 0.920354 | 0.935714 | 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 |
3e1f08b4171cdf9a9956a4d2ab3e201149c912a1 | 33 | py | Python | caffe-grid/src/main/python/com/yahoo/__init__.py | jenniew/IntelCaffeOnSpark_mirror | 7b79ff25d5eed5f472ea7b1572f9c7fa9dcdc46c | [
"Apache-2.0"
] | 1,436 | 2016-02-24T17:14:14.000Z | 2022-02-25T20:05:19.000Z | caffe-grid/src/main/python/com/yahoo/__init__.py | jenniew/IntelCaffeOnSpark_mirror | 7b79ff25d5eed5f472ea7b1572f9c7fa9dcdc46c | [
"Apache-2.0"
] | 297 | 2016-02-25T08:31:17.000Z | 2019-10-11T02:35:09.000Z | caffe-grid/src/main/python/com/yahoo/__init__.py | jenniew/IntelCaffeOnSpark_mirror | 7b79ff25d5eed5f472ea7b1572f9c7fa9dcdc46c | [
"Apache-2.0"
] | 461 | 2016-02-24T17:25:04.000Z | 2021-03-05T07:33:02.000Z | from ml import *
__all__=["ml"]
| 8.25 | 16 | 0.636364 | 5 | 33 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 3 | 17 | 11 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3e39643a5413de614054521a3127cd26d55505df | 143 | py | Python | models/term.py | MatthewKosloski/student-information-system | a3469647298d62c45c793e70a3ac70c0524340e2 | [
"CECILL-B"
] | null | null | null | models/term.py | MatthewKosloski/student-information-system | a3469647298d62c45c793e70a3ac70c0524340e2 | [
"CECILL-B"
] | null | null | null | models/term.py | MatthewKosloski/student-information-system | a3469647298d62c45c793e70a3ac70c0524340e2 | [
"CECILL-B"
] | null | null | null | from .base import BaseModel
from peewee import *
class Term(BaseModel):
id = IntegerField()
title = CharField()
abbreviation = CharField()
| 17.875 | 27 | 0.741259 | 16 | 143 | 6.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160839 | 143 | 7 | 28 | 20.428571 | 0.883333 | 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 |
3e3a021fd94f890bdc98f4d28f4c2c9436a3df62 | 146 | py | Python | qtc_process_auto/Output_Simple_report.py | xfzlun/WinUIAutomation | 0f94388671cf0aacbc8499293b7dd31ddfa205fa | [
"MIT"
] | null | null | null | qtc_process_auto/Output_Simple_report.py | xfzlun/WinUIAutomation | 0f94388671cf0aacbc8499293b7dd31ddfa205fa | [
"MIT"
] | null | null | null | qtc_process_auto/Output_Simple_report.py | xfzlun/WinUIAutomation | 0f94388671cf0aacbc8499293b7dd31ddfa205fa | [
"MIT"
] | null | null | null | import os
import pandas as pd
report_Data = pd.read_excel('E:\\coding\\AutomationWinTest\\qtc_process_auto\\test_report.xlsx')
print(report_Data) | 29.2 | 96 | 0.808219 | 23 | 146 | 4.869565 | 0.782609 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 146 | 5 | 97 | 29.2 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.442177 | 0.442177 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3e5d0975b11df19a180b062fedb9b83135126a0f | 342 | py | Python | config/outer_polytope/cw_30_1.py | ytsmiling/lmt | 31e36e54d858fbc0a1f2eab12d5a86a97284339f | [
"MIT"
] | 32 | 2018-02-13T10:41:09.000Z | 2021-07-07T16:07:40.000Z | config/outer_polytope/cw_30_1.py | ytsmiling/lmt | 31e36e54d858fbc0a1f2eab12d5a86a97284339f | [
"MIT"
] | 4 | 2018-02-16T14:15:04.000Z | 2019-12-14T10:39:06.000Z | config/outer_polytope/cw_30_1.py | ytsmiling/lmt | 31e36e54d858fbc0a1f2eab12d5a86a97284339f | [
"MIT"
] | 6 | 2018-03-22T20:49:39.000Z | 2022-01-08T23:47:17.000Z | from config.outer_polytope.base import *
from src.model.classifier import LMTraining
from config.attack.cw_30_1_1_1 import attacker, attacker_args, attacker_kwargs
attacker = attacker(predictor, *attacker_args, **attacker_kwargs)
mode = ['default']
model = LMTraining(predictor, preprocess, attacker=attacker)
attacker.... | 38 | 78 | 0.824561 | 45 | 342 | 6.044444 | 0.488889 | 0.235294 | 0.147059 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015974 | 0.084795 | 342 | 8 | 79 | 42.75 | 0.853035 | 0 | 0 | 0 | 0 | 0 | 0.020468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3e5f95713021438a7ac407ed1df2ae2c04c5c2b9 | 23 | py | Python | apps/controllerx/cx_version.py | Crocmagnon/controllerx | d928d5fc8d7ab50a86417227d5b732aea43cb653 | [
"MIT"
] | null | null | null | apps/controllerx/cx_version.py | Crocmagnon/controllerx | d928d5fc8d7ab50a86417227d5b732aea43cb653 | [
"MIT"
] | null | null | null | apps/controllerx/cx_version.py | Crocmagnon/controllerx | d928d5fc8d7ab50a86417227d5b732aea43cb653 | [
"MIT"
] | null | null | null | __version__ = "v4.4.0"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.130435 | 23 | 1 | 23 | 23 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3e69724a9dd28541e2285f19222f411ca8bdc60a | 49 | py | Python | hrinflux/__init__.py | helloretail/hrinflux | ef7ce1ee0d71803abe0ce29913e4e30f66a79b71 | [
"MIT"
] | null | null | null | hrinflux/__init__.py | helloretail/hrinflux | ef7ce1ee0d71803abe0ce29913e4e30f66a79b71 | [
"MIT"
] | null | null | null | hrinflux/__init__.py | helloretail/hrinflux | ef7ce1ee0d71803abe0ce29913e4e30f66a79b71 | [
"MIT"
] | null | null | null | from .influx import Influx
__all__ = ['Influx']
| 12.25 | 26 | 0.714286 | 6 | 49 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 3 | 27 | 16.333333 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3e6ff0444d172a4ff8523670209b2eb90e59daad | 510 | py | Python | tariffs/utils.py | hdknr/django-tariffs | d3e838bfef81f6457b45f71886c5f3db0348ca9d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tariffs/utils.py | hdknr/django-tariffs | d3e838bfef81f6457b45f71886c5f3db0348ca9d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tariffs/utils.py | hdknr/django-tariffs | d3e838bfef81f6457b45f71886c5f3db0348ca9d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from django.db import models
from django.template import Template, Context
try:
from django.urls import reverse
except:
from django.core.urlresolvers import reverse
def admin_change_url_name(model):
return 'admin:{0}_{1}_change'.format(
model._meta.app_label, model._meta.model_name, )
def ad... | 25.5 | 71 | 0.747059 | 71 | 510 | 5.169014 | 0.478873 | 0.108992 | 0.114441 | 0.092643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004598 | 0.147059 | 510 | 19 | 72 | 26.842105 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0.230769 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
3e71b1d21081bd58ece2479092c35e71d4c3cb15 | 87 | py | Python | BioClients/__init__.py | jeremyjyang/BioClients | b78ab2b948c79616fed080112e31d383346bec58 | [
"CC0-1.0"
] | 10 | 2020-05-26T07:29:14.000Z | 2021-12-06T21:33:40.000Z | BioClients/__init__.py | jeremyjyang/BioClients | b78ab2b948c79616fed080112e31d383346bec58 | [
"CC0-1.0"
] | 1 | 2021-10-05T12:25:30.000Z | 2021-10-05T17:05:56.000Z | BioClients/__init__.py | jeremyjyang/BioClients | b78ab2b948c79616fed080112e31d383346bec58 | [
"CC0-1.0"
] | 2 | 2021-03-16T03:20:24.000Z | 2021-08-08T20:17:10.000Z | """Python package for access to online biomedical resources, usually via REST APIs."""
| 43.5 | 86 | 0.770115 | 12 | 87 | 5.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 1 | 87 | 87 | 0.893333 | 0.91954 | 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 |
3e7f03f576058dfa0caef9accc27c815b0efd6dd | 195 | py | Python | phr/admin.py | kwzofc/phr | 04e87daf182783c99191a320c3d83f5abdd60da1 | [
"MIT"
] | null | null | null | phr/admin.py | kwzofc/phr | 04e87daf182783c99191a320c3d83f5abdd60da1 | [
"MIT"
] | null | null | null | phr/admin.py | kwzofc/phr | 04e87daf182783c99191a320c3d83f5abdd60da1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
@admin.register(models.PHR)
class AuthorAdmin(admin.ModelAdmin):
list_display = ('first_name', 'last_name') | 27.857143 | 46 | 0.769231 | 26 | 195 | 5.653846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 195 | 7 | 46 | 27.857143 | 0.859649 | 0.133333 | 0 | 0 | 0 | 0 | 0.113095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3e8e4ee58dc102101ed594c9f98dcc1e167373fc | 217 | py | Python | tests/flask/test_http_django.py | mathieurodic/easy-graphql | 80a42bfe0fab72f61438df37dcc3bbc42e5df485 | [
"MIT"
] | 1 | 2022-01-25T14:32:52.000Z | 2022-01-25T14:32:52.000Z | tests/flask/test_http_django.py | mathieurodic/easy-graphql | 80a42bfe0fab72f61438df37dcc3bbc42e5df485 | [
"MIT"
] | 2 | 2022-01-19T11:54:20.000Z | 2022-01-31T14:46:32.000Z | tests/flask/test_http_django.py | mathieurodic/easy-graphql-server | 80a42bfe0fab72f61438df37dcc3bbc42e5df485 | [
"MIT"
] | null | null | null | from .django.base_django_test import BaseDjangoTest as DjangoBaseDjangoTest
from ._base_http_test import BaseHttpTest
class DjangoHttpTest(DjangoBaseDjangoTest, BaseHttpTest):
endpoint_url = '/graphql-methods'
| 27.125 | 75 | 0.83871 | 23 | 217 | 7.652174 | 0.695652 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105991 | 217 | 7 | 76 | 31 | 0.907216 | 0 | 0 | 0 | 0 | 0 | 0.073733 | 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 |
e445b1bd129f312f306e631ff9b44780a21940f0 | 1,571 | py | Python | iotportal/iotview/models.py | zserg/iotportal | 02bbf1b6478fea18d11745e4e2e2b28a01e1a6d5 | [
"MIT"
] | null | null | null | iotportal/iotview/models.py | zserg/iotportal | 02bbf1b6478fea18d11745e4e2e2b28a01e1a6d5 | [
"MIT"
] | null | null | null | iotportal/iotview/models.py | zserg/iotportal | 02bbf1b6478fea18d11745e4e2e2b28a01e1a6d5 | [
"MIT"
] | null | null | null | from django.db import models
class IotView(models.Model):
name = models.CharField(max_length=255)
description = models.CharField(max_length=255)
view_type = models.CharField(max_length=255)
node0_path = models.CharField(max_length=1024)
node1_path = models.CharField(max_length=1024, default='', bla... | 39.275 | 90 | 0.678549 | 208 | 1,571 | 4.908654 | 0.230769 | 0.205681 | 0.246817 | 0.329089 | 0.619001 | 0.427032 | 0.364349 | 0.364349 | 0.282076 | 0 | 0 | 0.050544 | 0.181413 | 1,571 | 39 | 91 | 40.282051 | 0.74339 | 0.029917 | 0 | 0.071429 | 0 | 0 | 0.019463 | 0.016779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.035714 | 0 | 0.678571 | 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 |
e44c4878984bbe5ecf0d955faae340ae19adf04c | 24 | py | Python | redash_py/__init__.py | p-baleine/redash-py | fcde5c9b444213f31f67058f61746b1cb43eab83 | [
"MIT"
] | null | null | null | redash_py/__init__.py | p-baleine/redash-py | fcde5c9b444213f31f67058f61746b1cb43eab83 | [
"MIT"
] | null | null | null | redash_py/__init__.py | p-baleine/redash-py | fcde5c9b444213f31f67058f61746b1cb43eab83 | [
"MIT"
] | null | null | null | __VERSION__ = '0.2.2.1'
| 12 | 23 | 0.625 | 5 | 24 | 2.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e4678cdee0d0c27507dc767fc33f55006e0fa803 | 70 | py | Python | atcoder/abc/abc031_a.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | 1 | 2018-11-12T15:18:55.000Z | 2018-11-12T15:18:55.000Z | atcoder/abc/abc031_a.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | atcoder/abc/abc031_a.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | A, D = map(int, input().split())
print(max((A + 1) * D, A * (D + 1)))
| 23.333333 | 36 | 0.457143 | 14 | 70 | 2.285714 | 0.642857 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.214286 | 70 | 2 | 37 | 35 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e47740f24c17aec1c3e608d7b436f345a40733aa | 48 | py | Python | user_agents/__init__.py | nagesh4193/python-user-agents | 8ee76fa7a77e5d0e087c1077caa513706f031575 | [
"MIT"
] | 1,166 | 2015-01-07T03:41:43.000Z | 2022-03-25T13:27:43.000Z | user_agents/__init__.py | nagesh4193/python-user-agents | 8ee76fa7a77e5d0e087c1077caa513706f031575 | [
"MIT"
] | 88 | 2015-01-06T03:48:31.000Z | 2022-03-15T12:36:30.000Z | user_agents/__init__.py | nagesh4193/python-user-agents | 8ee76fa7a77e5d0e087c1077caa513706f031575 | [
"MIT"
] | 208 | 2015-01-26T12:32:44.000Z | 2022-03-24T11:33:26.000Z | VERSION = (2, 2, 0)
from .parsers import parse
| 12 | 26 | 0.666667 | 8 | 48 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.208333 | 48 | 3 | 27 | 16 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e48333e2aaacbd3110c4d81a197dc4b3bb062f61 | 24 | py | Python | src/kvm48/version.py | SNH48Live/KVM48 | 35baf962c43b87fef4fca09d552e68f2ae7aa539 | [
"MIT"
] | 11 | 2018-02-18T22:44:59.000Z | 2020-02-13T01:16:47.000Z | src/kvm48/version.py | SNH48Live/KVM48 | 35baf962c43b87fef4fca09d552e68f2ae7aa539 | [
"MIT"
] | 16 | 2018-02-24T07:25:44.000Z | 2019-06-01T11:21:46.000Z | src/kvm48/version.py | SNH48Live/KVM48 | 35baf962c43b87fef4fca09d552e68f2ae7aa539 | [
"MIT"
] | null | null | null | __version__ = "1.4dev0"
| 12 | 23 | 0.708333 | 3 | 24 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.125 | 24 | 1 | 24 | 24 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e4b22c3ddd21d211f2da69e0da4763271a17d99e | 115 | py | Python | src/acachecontrol/__init__.py | MasterSergius/acachecontrol | 33f331556dadd58612292b46b11c26786bc046cf | [
"Apache-2.0"
] | 8 | 2020-12-27T10:16:49.000Z | 2022-02-10T10:09:48.000Z | src/acachecontrol/__init__.py | MasterSergius/acachecontrol | 33f331556dadd58612292b46b11c26786bc046cf | [
"Apache-2.0"
] | 6 | 2021-01-06T13:11:17.000Z | 2021-11-15T11:58:51.000Z | src/acachecontrol/__init__.py | MasterSergius/acachecontrol | 33f331556dadd58612292b46b11c26786bc046cf | [
"Apache-2.0"
] | 5 | 2020-12-26T12:49:00.000Z | 2021-11-14T01:23:54.000Z | __version__ = "0.3.4"
from .acachecontrol import AsyncCacheControl # noqa
from .cache import AsyncCache # noqa
| 19.166667 | 52 | 0.756522 | 14 | 115 | 5.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.165217 | 115 | 5 | 53 | 23 | 0.833333 | 0.078261 | 0 | 0 | 0 | 0 | 0.048544 | 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 |
e4c8e46b1cfec5a2c6fa28163af684b56d22aa91 | 1,178 | py | Python | world/gen/biome/Biome.py | uuk0/mcpython-4 | 1ece49257b3067027cc43b452a2fc44908d3514c | [
"MIT"
] | 2 | 2019-08-21T08:23:45.000Z | 2019-09-25T13:20:28.000Z | world/gen/biome/Biome.py | uuk0/mcpython-4 | 1ece49257b3067027cc43b452a2fc44908d3514c | [
"MIT"
] | 11 | 2019-08-21T08:46:01.000Z | 2021-09-08T01:18:04.000Z | world/gen/biome/Biome.py | uuk0/mcpython-4 | 1ece49257b3067027cc43b452a2fc44908d3514c | [
"MIT"
] | 5 | 2019-08-30T08:19:57.000Z | 2019-10-26T03:31:16.000Z | """mcpython - a minecraft clone written in python licenced under MIT-licence
authors: uuk, xkcdjerry
original game by forgleman licenced under MIT-licence
minecraft by Mojang
blocks based on 1.14.4.jar of minecraft, downloaded on 20th of July, 2019"""
import globals as G
import world.gen.feature.IOre as ores
class ... | 21.814815 | 76 | 0.626486 | 137 | 1,178 | 5.270073 | 0.547445 | 0.186981 | 0.224377 | 0.063712 | 0.188366 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022145 | 0.271647 | 1,178 | 53 | 77 | 22.226415 | 0.819347 | 0.256367 | 0 | 0.37931 | 0 | 0 | 0.047388 | 0.025516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0 | 0.068966 | 0.172414 | 0.62069 | 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 |
9025e77e0e72f810447d38f48b6bf113cede0983 | 85 | py | Python | build/apps.py | adarshtri/art-dashboard-server | c6c61147d49aa43b6e2892ce07d8a115c1478b0c | [
"Apache-2.0"
] | 1 | 2020-09-21T06:48:47.000Z | 2020-09-21T06:48:47.000Z | build/apps.py | adarshtri/art-dashboard-server | c6c61147d49aa43b6e2892ce07d8a115c1478b0c | [
"Apache-2.0"
] | 5 | 2021-02-05T19:43:08.000Z | 2021-06-04T23:23:29.000Z | build/apps.py | adarshtri/art-dashboard-server | c6c61147d49aa43b6e2892ce07d8a115c1478b0c | [
"Apache-2.0"
] | 6 | 2021-02-06T07:21:37.000Z | 2021-06-07T12:40:37.000Z | from django.apps import AppConfig
class BuildConfig(AppConfig):
name = 'build'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 |
5f630d0ea6c43e21075445f9b921f96781313043 | 55 | py | Python | kiwi_bugfix_typechecker/ipython.py | kiwi0fruit/jats-semi-supervised-pytorch | 67e9bb85f09f8ef02e17e495784d1d9a71c3adec | [
"MIT"
] | null | null | null | kiwi_bugfix_typechecker/ipython.py | kiwi0fruit/jats-semi-supervised-pytorch | 67e9bb85f09f8ef02e17e495784d1d9a71c3adec | [
"MIT"
] | null | null | null | kiwi_bugfix_typechecker/ipython.py | kiwi0fruit/jats-semi-supervised-pytorch | 67e9bb85f09f8ef02e17e495784d1d9a71c3adec | [
"MIT"
] | null | null | null | from IPython.display import display
display = display
| 13.75 | 35 | 0.818182 | 7 | 55 | 6.428571 | 0.571429 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 3 | 36 | 18.333333 | 0.957447 | 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 |
5fb2b9c0bb5e0b6d45360f9ea0f764b09a71e328 | 935 | py | Python | built-in/PyTorch/Official/cv/image_object_detection/YoloV3_ID1790_for_PyTorch/mmdet/core/__init__.py | Ascend/modelzoo | f018cfed33dbb1cc2110b9ea2e233333f71cc509 | [
"Apache-2.0"
] | 12 | 2020-12-13T08:34:24.000Z | 2022-03-20T15:17:17.000Z | built-in/PyTorch/Official/cv/image_object_detection/YoloV3_ID1790_for_PyTorch/mmdet/core/__init__.py | Ascend/modelzoo | f018cfed33dbb1cc2110b9ea2e233333f71cc509 | [
"Apache-2.0"
] | 1 | 2022-01-20T03:11:05.000Z | 2022-01-20T06:53:39.000Z | built-in/PyTorch/Official/cv/image_object_detection/YoloV3_ID1790_for_PyTorch/mmdet/core/__init__.py | Ascend/modelzoo | f018cfed33dbb1cc2110b9ea2e233333f71cc509 | [
"Apache-2.0"
] | 2 | 2021-07-10T12:40:46.000Z | 2021-12-17T07:55:15.000Z | # Copyright 2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 40.652174 | 74 | 0.729412 | 141 | 935 | 4.829787 | 0.560284 | 0.117474 | 0.164464 | 0.211454 | 0.226138 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076216 | 0.186096 | 935 | 22 | 75 | 42.5 | 0.81866 | 0.749733 | 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 |
5fc05cbc2de28c951d903be8d09a386b2e52184d | 49 | py | Python | grout/__init__.py | azavea/grout | 95a03fed19f8ac988fb6db95720f1ea3d16aee2c | [
"MIT"
] | 14 | 2018-09-05T01:07:36.000Z | 2020-09-08T22:25:30.000Z | grout/__init__.py | azavea/grout | 95a03fed19f8ac988fb6db95720f1ea3d16aee2c | [
"MIT"
] | 9 | 2018-07-10T19:51:14.000Z | 2018-08-28T17:47:49.000Z | grout/__init__.py | azavea/grout | 95a03fed19f8ac988fb6db95720f1ea3d16aee2c | [
"MIT"
] | 2 | 2018-09-05T09:37:37.000Z | 2020-07-08T15:38:41.000Z | default_app_config = 'grout.apps.GroutAppConfig'
| 24.5 | 48 | 0.836735 | 6 | 49 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.510204 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5fd40a728304067a517b5ba354c08a91f05b53af | 829 | py | Python | python_test/ScoreDraft/KarplusStrongInstrument.py | LovelyA72/ScoreDraft | dd344a49a5eec2670110cc43d672936cd1c27844 | [
"MIT"
] | 1 | 2020-03-26T15:48:49.000Z | 2020-03-26T15:48:49.000Z | python_test/ScoreDraft/KarplusStrongInstrument.py | LovelyA72/ScoreDraft | dd344a49a5eec2670110cc43d672936cd1c27844 | [
"MIT"
] | null | null | null | python_test/ScoreDraft/KarplusStrongInstrument.py | LovelyA72/ScoreDraft | dd344a49a5eec2670110cc43d672936cd1c27844 | [
"MIT"
] | null | null | null | from .Instrument import Instrument
from .Catalog import Catalog
try:
from .Extensions import InitializeKarplusStrongInstrument
from .Extensions import KarplusStrongSetCutFrequency
from .Extensions import KarplusStrongSetLoopGain
from .Extensions import KarplusStrongSetSustainGain
Catalog['Engines'] += ['KarplusSt... | 33.16 | 73 | 0.814234 | 81 | 829 | 8.209877 | 0.481481 | 0.084211 | 0.120301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008242 | 0.121834 | 829 | 24 | 74 | 34.541667 | 0.90522 | 0.082027 | 0 | 0 | 0 | 0 | 0.056728 | 0.030343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.368421 | 0 | 0.631579 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
3972dc4c9032d85edf056d11a10dcdcb08da6b58 | 101 | py | Python | peter_lists/origami/admin.py | pvize1/peter_lists | 77e9f30cfc45f500e059b7b163db541335180332 | [
"MIT"
] | null | null | null | peter_lists/origami/admin.py | pvize1/peter_lists | 77e9f30cfc45f500e059b7b163db541335180332 | [
"MIT"
] | 8 | 2021-05-12T05:53:42.000Z | 2022-03-31T04:08:18.000Z | peter_lists/origami/admin.py | pvize1/peter_lists | 77e9f30cfc45f500e059b7b163db541335180332 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import OrigamiModel
admin.site.register(OrigamiModel)
| 20.2 | 33 | 0.841584 | 13 | 101 | 6.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 4 | 34 | 25.25 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3982a55d8f3c50714c5117ab26f84c618ae13fb2 | 204 | py | Python | upylab/upylab_5.13.py | piousteph/mooc_python | b7446c8a8317e2ae5e87a9ce27fd107f20333765 | [
"MIT"
] | null | null | null | upylab/upylab_5.13.py | piousteph/mooc_python | b7446c8a8317e2ae5e87a9ce27fd107f20333765 | [
"MIT"
] | null | null | null | upylab/upylab_5.13.py | piousteph/mooc_python | b7446c8a8317e2ae5e87a9ce27fd107f20333765 | [
"MIT"
] | null | null | null | def my_count(lst, e):
res = 0
if type(lst) == list:
res = lst.count(e)
return res
print(my_count([1, 2, 3, 4, 3, 2, 1], 3))
print(my_count([1, 2, 3], 4))
print(my_count((2, 3, 5), 3)) | 22.666667 | 41 | 0.529412 | 42 | 204 | 2.47619 | 0.404762 | 0.269231 | 0.346154 | 0.25 | 0.307692 | 0.307692 | 0.307692 | 0 | 0 | 0 | 0 | 0.111111 | 0.25 | 204 | 9 | 42 | 22.666667 | 0.568627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0.375 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3982cc154d88583b9b3218d82bf2195a541cc8a7 | 70 | py | Python | DesignPattern/Inversion_Control/Dependency Injection/hello_world.py | shrijaltamrakar/Descent_py | 82cd89ebeca37d079fc5d072010d3a3120420b2a | [
"MIT"
] | 2 | 2019-10-25T10:24:04.000Z | 2019-10-25T10:24:05.000Z | DesignPattern/Inversion_Control/Dependency Injection/hello_world.py | shrijaltamrakar/Descent_py | 82cd89ebeca37d079fc5d072010d3a3120420b2a | [
"MIT"
] | 1 | 2021-06-02T00:16:58.000Z | 2021-06-02T00:16:58.000Z | DesignPattern/Inversion_Control/Dependency Injection/hello_world.py | shrijaltamrakar/Descent_py | 82cd89ebeca37d079fc5d072010d3a3120420b2a | [
"MIT"
] | 1 | 2019-10-25T06:46:10.000Z | 2019-10-25T06:46:10.000Z | def hello_world(output_function):
output_function("Hello, world.") | 35 | 36 | 0.771429 | 9 | 70 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 2 | 36 | 35 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3985d7e8bafeaf6e241a72890f988d5354064a41 | 351 | py | Python | texFiles/end.py | nragot/rox | f5486b3787bdfa5117f6c65e3db3d9810b3ec6cd | [
"MIT"
] | null | null | null | texFiles/end.py | nragot/rox | f5486b3787bdfa5117f6c65e3db3d9810b3ec6cd | [
"MIT"
] | null | null | null | texFiles/end.py | nragot/rox | f5486b3787bdfa5117f6c65e3db3d9810b3ec6cd | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jul 19 21:53:17 2018
@author: nathan
"""
from classes.texFile import TexFile
class End (TexFile):
def __init__(self, parentTex, context):
TexFile.__init__(self, parentTex, context)
self.name = "end"
def write (self):
... | 20.647059 | 50 | 0.618234 | 45 | 351 | 4.644444 | 0.733333 | 0.076555 | 0.162679 | 0.229665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052239 | 0.236467 | 351 | 17 | 51 | 20.647059 | 0.727612 | 0.273504 | 0 | 0 | 0 | 0 | 0.072874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
39a21b7541f151a379b21e4c437431d135c51e75 | 90 | py | Python | ex01/bonjour.py | Wassila211/Day02 | 65804d6fa3e131d56f63501e75dd3ce10ec2e50a | [
"MIT"
] | null | null | null | ex01/bonjour.py | Wassila211/Day02 | 65804d6fa3e131d56f63501e75dd3ce10ec2e50a | [
"MIT"
] | null | null | null | ex01/bonjour.py | Wassila211/Day02 | 65804d6fa3e131d56f63501e75dd3ce10ec2e50a | [
"MIT"
] | null | null | null | def Bonjour(name):
print(f"Bonjour, {name} comment allez vous ?")
Bonjour("wassila")
| 18 | 48 | 0.677778 | 12 | 90 | 5.083333 | 0.75 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 4 | 49 | 22.5 | 0.802632 | 0 | 0 | 0 | 0 | 0 | 0.477778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
39a261780fe4c6ccca1b5c10f6940e405a9375d0 | 92 | py | Python | goutdotcom/lab/apps.py | Spiewart/goutdotcom | 0916155732a72fcb8c8a2fb0f4dd81efef618af8 | [
"MIT"
] | null | null | null | goutdotcom/lab/apps.py | Spiewart/goutdotcom | 0916155732a72fcb8c8a2fb0f4dd81efef618af8 | [
"MIT"
] | null | null | null | goutdotcom/lab/apps.py | Spiewart/goutdotcom | 0916155732a72fcb8c8a2fb0f4dd81efef618af8 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LabConfig(AppConfig):
name = 'goutdotcom.lab'
| 15.333333 | 33 | 0.75 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 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 |
39a93f686fe68e04966ce7df4fcee58af36cf67f | 595 | py | Python | src/pytrello/request_wrapper.py | dohlee/python-trello | 322c416f5954a511dab558754386a8aff90f4ecf | [
"MIT"
] | null | null | null | src/pytrello/request_wrapper.py | dohlee/python-trello | 322c416f5954a511dab558754386a8aff90f4ecf | [
"MIT"
] | null | null | null | src/pytrello/request_wrapper.py | dohlee/python-trello | 322c416f5954a511dab558754386a8aff90f4ecf | [
"MIT"
] | null | null | null | import requests
from pytrello.decorators import as_json
from pytrello.decorators import authorized
@authorized
@as_json
def get(url, payload=None, **kwargs):
return requests.get(url.format(**kwargs), params=payload)
@authorized
@as_json
def post(url, payload=None, **kwargs):
return requests.post(url.format(... | 21.25 | 62 | 0.744538 | 81 | 595 | 5.407407 | 0.259259 | 0.068493 | 0.146119 | 0.173516 | 0.687215 | 0.515982 | 0.205479 | 0.205479 | 0.205479 | 0 | 0 | 0 | 0.117647 | 595 | 27 | 63 | 22.037037 | 0.834286 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.210526 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
39b8e131471d11db8231060c03117638561c1d90 | 136 | py | Python | py_snappy/__init__.py | jmcph4/py-snappy | 1b254774f6c4daccba99114704cb9ecd589e6345 | [
"MIT"
] | null | null | null | py_snappy/__init__.py | jmcph4/py-snappy | 1b254774f6c4daccba99114704cb9ecd589e6345 | [
"MIT"
] | null | null | null | py_snappy/__init__.py | jmcph4/py-snappy | 1b254774f6c4daccba99114704cb9ecd589e6345 | [
"MIT"
] | null | null | null | from .exceptions import BaseSnappyError, CorruptError, TooLargeError # noqa: F401
from .main import compress, decompress # noqa: F401
| 45.333333 | 82 | 0.794118 | 15 | 136 | 7.2 | 0.733333 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.139706 | 136 | 2 | 83 | 68 | 0.871795 | 0.154412 | 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 |
39e1795eb2e6a24bc11ad41545d8b36084d71faf | 28 | py | Python | version.py | rattus128/OoT-Randomizer | 9472bd5293be7328cab5710f99360f72971192d0 | [
"MIT"
] | 2 | 2019-01-03T12:52:06.000Z | 2019-01-07T22:50:31.000Z | version.py | rattus128/OoT-Randomizer | 9472bd5293be7328cab5710f99360f72971192d0 | [
"MIT"
] | 5 | 2019-02-20T14:18:31.000Z | 2019-03-16T23:03:48.000Z | version.py | rattus128/OoT-Randomizer | 9472bd5293be7328cab5710f99360f72971192d0 | [
"MIT"
] | null | null | null | __version__ = '4.6.2 f.LUM'
| 14 | 27 | 0.642857 | 6 | 28 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.142857 | 28 | 1 | 28 | 28 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
39f4e55fe83c157234d854075fc6f4856d44bffd | 3,393 | py | Python | test/test_DuelArena.py | Chrrapek/DiscordMiejski | fd59433c1315baadd91a9ef29ca534924bcdc7f4 | [
"MIT"
] | 1 | 2020-10-13T11:20:42.000Z | 2020-10-13T11:20:42.000Z | test/test_DuelArena.py | Chrrapek/DiscordMiejski | fd59433c1315baadd91a9ef29ca534924bcdc7f4 | [
"MIT"
] | 47 | 2020-09-24T20:43:03.000Z | 2021-04-16T11:20:59.000Z | test/test_DuelArena.py | Chrrapek/DiscordMiejski | fd59433c1315baadd91a9ef29ca534924bcdc7f4 | [
"MIT"
] | 2 | 2020-10-14T19:59:40.000Z | 2020-10-21T15:56:25.000Z | import unittest
from random import Random
from typing import Sequence
from unittest import TestCase
from cogs.duel.DuelArena import DuelArena, DuelResult, DuelStatus
class AlwaysFirstRandom(Random):
def choice(self, seq: Sequence):
return seq[0]
class AlwaysSecondRandom(Random):
def choice(self, se... | 45.851351 | 119 | 0.735337 | 438 | 3,393 | 5.442922 | 0.141553 | 0.099832 | 0.082215 | 0.07047 | 0.762164 | 0.729027 | 0.729027 | 0.720638 | 0.687919 | 0.649329 | 0 | 0.007655 | 0.152962 | 3,393 | 73 | 120 | 46.479452 | 0.821851 | 0 | 0 | 0.392857 | 0 | 0 | 0.007663 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 1 | 0.178571 | false | 0 | 0.089286 | 0.035714 | 0.410714 | 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 |
f2f93adfb28040227c34ba123cdc71c98a29cc0d | 1,257 | py | Python | server/models.py | mpetyx/smart-house-simulation-api | beb686a6a97addee5cacbaa02f9c5ad04b0845d9 | [
"MIT"
] | 1 | 2017-01-16T15:32:47.000Z | 2017-01-16T15:32:47.000Z | server/models.py | mpetyx/smart-house-simulation-api | beb686a6a97addee5cacbaa02f9c5ad04b0845d9 | [
"MIT"
] | null | null | null | server/models.py | mpetyx/smart-house-simulation-api | beb686a6a97addee5cacbaa02f9c5ad04b0845d9 | [
"MIT"
] | null | null | null | __author__ = 'mpetyx'
from django.contrib.auth.models import User
from django.db import models
class Value(models.Model):
timestamp = models.DateField(auto_now_add=True)
metric = models.TextField()
class Buffer(models.Model):
description = models.TextField()
refresh_rate = models.FloatField()
cre... | 28.568182 | 65 | 0.723946 | 151 | 1,257 | 5.927152 | 0.463576 | 0.169832 | 0.214525 | 0.277095 | 0.312849 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010407 | 0.159109 | 1,257 | 44 | 66 | 28.568182 | 0.836329 | 0.044551 | 0 | 0.125 | 0 | 0 | 0.011686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.0625 | 0 | 0.84375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
84057e6648c62c5e77ba6d34d56087a2f71ca00a | 48 | py | Python | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton mass in u.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton mass in u.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton mass in u.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | constants.physical_constants["proton mass in u"] | 48 | 48 | 0.833333 | 7 | 48 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
84244f9ad9e25001bbc6636c4edf122fc967075b | 161 | py | Python | assets/openblas/openblas.py | karlmutch/studio-go-runner | b3072e3b9f0771a2caf017c02622709cce7338b0 | [
"Apache-2.0"
] | 1 | 2018-07-05T19:21:32.000Z | 2018-07-05T19:21:32.000Z | assets/openblas/openblas.py | karlmutch/studio-go-runner | b3072e3b9f0771a2caf017c02622709cce7338b0 | [
"Apache-2.0"
] | 186 | 2018-12-19T02:17:19.000Z | 2021-09-23T01:08:42.000Z | assets/openblas/openblas.py | karlmutch/studio-go-runner | b3072e3b9f0771a2caf017c02622709cce7338b0 | [
"Apache-2.0"
] | 10 | 2019-01-23T19:02:10.000Z | 2021-09-23T00:23:12.000Z | # Copyright 2020 (c) Cognizant Digital Business, Evolutionary AI. All rights reserved. Issued under the Apache 2.0 License.
import numpy as np
np.show_config()
| 32.2 | 123 | 0.782609 | 25 | 161 | 5 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043796 | 0.149068 | 161 | 4 | 124 | 40.25 | 0.868613 | 0.751553 | 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 |
8431605a228bca594e2d95fec82b7c7b945b8da0 | 116 | py | Python | network/practice/Basic/Demo01/Basic02.py | walkingtyphoon/Python-workspace | e872bce82b2bac3dd5d809f8576345ccc1c6afb7 | [
"Apache-2.0"
] | null | null | null | network/practice/Basic/Demo01/Basic02.py | walkingtyphoon/Python-workspace | e872bce82b2bac3dd5d809f8576345ccc1c6afb7 | [
"Apache-2.0"
] | null | null | null | network/practice/Basic/Demo01/Basic02.py | walkingtyphoon/Python-workspace | e872bce82b2bac3dd5d809f8576345ccc1c6afb7 | [
"Apache-2.0"
] | null | null | null | # 编写一个 Java 程序在屏幕上输出 1!+2!+3!+……+10!的和。(循环)
cou = 0
for i in range(10):
cou += i
print("1!+2!+3!+……+10!=", cou) | 19.333333 | 43 | 0.508621 | 26 | 116 | 2.730769 | 0.653846 | 0.056338 | 0.084507 | 0.253521 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 0.181034 | 116 | 6 | 44 | 19.333333 | 0.484211 | 0.353448 | 0 | 0 | 0 | 0 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f263f9f0920db2046f1334e676dc497e6cf05033 | 195 | py | Python | lib/python2.7/site-packages/channels/test/http.py | briansok/derpi | 0e111a84b17ce8caeb60d2899957a0a24cab47b3 | [
"MIT"
] | null | null | null | lib/python2.7/site-packages/channels/test/http.py | briansok/derpi | 0e111a84b17ce8caeb60d2899957a0a24cab47b3 | [
"MIT"
] | null | null | null | lib/python2.7/site-packages/channels/test/http.py | briansok/derpi | 0e111a84b17ce8caeb60d2899957a0a24cab47b3 | [
"MIT"
] | 1 | 2018-05-08T05:59:13.000Z | 2018-05-08T05:59:13.000Z | import warnings
warnings.warn(
"test.http.HttpClient is deprecated. Use test.websocket.WSClient",
DeprecationWarning,
)
from .websocket import WSClient as HttpClient # NOQA isort:skip
| 21.666667 | 70 | 0.769231 | 23 | 195 | 6.521739 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 195 | 8 | 71 | 24.375 | 0.909091 | 0.076923 | 0 | 0 | 0 | 0 | 0.353933 | 0.129213 | 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 |
f26a04912f886618b9f6c42d6cafc46647136432 | 68 | py | Python | manta_lab/dtypes/graph.py | coxwave/manta | fc55357e139dbf61854595475f401656440d53aa | [
"MIT"
] | 17 | 2021-11-19T08:26:33.000Z | 2022-01-27T10:22:09.000Z | manta_lab/dtypes/graph.py | coxwave/manta | fc55357e139dbf61854595475f401656440d53aa | [
"MIT"
] | 95 | 2021-11-19T05:29:22.000Z | 2022-03-03T09:39:46.000Z | manta_lab/dtypes/graph.py | coxwave/manta | fc55357e139dbf61854595475f401656440d53aa | [
"MIT"
] | 2 | 2021-12-10T07:31:54.000Z | 2021-12-10T07:43:37.000Z | class Node:
pass
class Edge:
pass
class Graph:
pass
| 6.181818 | 12 | 0.588235 | 9 | 68 | 4.444444 | 0.555556 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.367647 | 68 | 10 | 13 | 6.8 | 0.930233 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f27b7694b1522f3eebaa522e997fd539d19e0410 | 1,647 | py | Python | tests/cloud_dataset_test.py | lrq3000/vaex | 00c83d1fe2b73330705ef63e649abc9dfc8f2478 | [
"MIT"
] | null | null | null | tests/cloud_dataset_test.py | lrq3000/vaex | 00c83d1fe2b73330705ef63e649abc9dfc8f2478 | [
"MIT"
] | null | null | null | tests/cloud_dataset_test.py | lrq3000/vaex | 00c83d1fe2b73330705ef63e649abc9dfc8f2478 | [
"MIT"
] | null | null | null | import vaex
import pytest
fs_options = {'anonymous': 'true'}
@pytest.mark.skipif(vaex.utils.devmode, reason='runs too slow when developing')
@pytest.mark.parametrize("base_url", ["gs://vaex-data", "s3://vaex"])
@pytest.mark.parametrize("cache", ["true", "false"])
def test_cloud_dataset_basics(base_url, cache):
d... | 41.175 | 182 | 0.671524 | 256 | 1,647 | 4.207031 | 0.210938 | 0.090994 | 0.059424 | 0.111421 | 0.790158 | 0.790158 | 0.734448 | 0.697307 | 0.636026 | 0.636026 | 0 | 0.017135 | 0.114147 | 1,647 | 39 | 183 | 42.230769 | 0.721042 | 0 | 0 | 0.275862 | 0 | 0 | 0.321797 | 0.185792 | 0 | 0 | 0 | 0 | 0.448276 | 1 | 0.103448 | false | 0 | 0.068966 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f29e0b22741db51a0768166bb73d3ccac69e17ce | 352 | py | Python | app/models/dbmodel.py | uendelflavio/claraideia-backend | 607199e3961a59ea52474c067172fbc4c5bca89a | [
"MIT"
] | null | null | null | app/models/dbmodel.py | uendelflavio/claraideia-backend | 607199e3961a59ea52474c067172fbc4c5bca89a | [
"MIT"
] | null | null | null | app/models/dbmodel.py | uendelflavio/claraideia-backend | 607199e3961a59ea52474c067172fbc4c5bca89a | [
"MIT"
] | 1 | 2020-01-28T00:14:50.000Z | 2020-01-28T00:14:50.000Z | from datetime import datetime
from typing import Optional
from pydantic import BaseModel, Schema
class DateTimeModelMixin(BaseModel):
created_at: Optional[datetime] = Schema(..., alias="createdAt")
updated_at: Optional[datetime] = Schema(..., alias="updatedAt")
class DBModelMixin(DateTimeModelMixin):
... | 32 | 67 | 0.735795 | 37 | 352 | 6.945946 | 0.540541 | 0.077821 | 0.140078 | 0.18677 | 0.225681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 352 | 11 | 68 | 32 | 0.868243 | 0 | 0 | 0 | 0 | 0 | 0.050992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 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 |
f2a8d450a94ed1fb63a42b11a79ea8e0e9168901 | 164 | py | Python | vizdoomaze/envs/vizdoomazethree13.py | fanyuzeng/Vizdoomaze | 5b444f2d861c908c4d96ae374bcce660d364f22e | [
"MIT"
] | 3 | 2020-09-25T16:00:49.000Z | 2020-10-29T10:32:30.000Z | vizdoomaze/envs/vizdoomazethree13.py | fanyuzeng/Vizdoomaze | 5b444f2d861c908c4d96ae374bcce660d364f22e | [
"MIT"
] | null | null | null | vizdoomaze/envs/vizdoomazethree13.py | fanyuzeng/Vizdoomaze | 5b444f2d861c908c4d96ae374bcce660d364f22e | [
"MIT"
] | 1 | 2021-12-17T07:50:47.000Z | 2021-12-17T07:50:47.000Z | from vizdoomaze.envs.vizdoomenv import VizdoomEnv
class vizdoomazeThree13(VizdoomEnv):
def __init__(self):
super(vizdoomazeThree13, self).__init__(66) | 27.333333 | 51 | 0.77439 | 17 | 164 | 7 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.140244 | 164 | 6 | 51 | 27.333333 | 0.801418 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4b330cb01156d811df48930fbf5ad25280ed44c2 | 175 | py | Python | pyrelease/templates/manifest_in.py | pyrelease/PyRelease | 0f8fac5dd19bd50fed047a9570bcd05101b50d08 | [
"MIT"
] | 1 | 2018-07-19T20:38:18.000Z | 2018-07-19T20:38:18.000Z | pyrelease/templates/manifest_in.py | pyrelease/pyrelease | 0f8fac5dd19bd50fed047a9570bcd05101b50d08 | [
"MIT"
] | null | null | null | pyrelease/templates/manifest_in.py | pyrelease/pyrelease | 0f8fac5dd19bd50fed047a9570bcd05101b50d08 | [
"MIT"
] | null | null | null | TEMPLATE = """\
# Include the license file
include LICENSE.md
include README.rst
# Include the data files
{include_data_files}
# Include the docs
# {include_docs_folder}
""" | 15.909091 | 26 | 0.748571 | 24 | 175 | 5.291667 | 0.5 | 0.23622 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148571 | 175 | 11 | 27 | 15.909091 | 0.852349 | 0 | 0 | 0 | 0 | 0 | 0.897727 | 0.119318 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b5bfea11d1bf7ea5998d8f6baf594dd9d3233d2 | 5,379 | py | Python | tests/functions/test_customize.py | Sorrybabe/geniust | 4bfd32e45c96e7de69d5c22119cb12b7c2902eed | [
"MIT"
] | 4 | 2021-08-08T20:45:04.000Z | 2022-03-29T20:55:42.000Z | tests/functions/test_customize.py | Sorrybabe/geniust | 4bfd32e45c96e7de69d5c22119cb12b7c2902eed | [
"MIT"
] | 1 | 2021-08-22T20:26:21.000Z | 2021-12-09T06:34:21.000Z | tests/functions/test_customize.py | Sorrybabe/geniust | 4bfd32e45c96e7de69d5c22119cb12b7c2902eed | [
"MIT"
] | 1 | 2021-09-29T17:49:11.000Z | 2021-09-29T17:49:11.000Z | import pytest
from geniust import constants
from geniust.functions import customize
@pytest.mark.parametrize(
"lyrics_language", ["English", "Non-English", "English + Non-English"]
)
def test_cusotmize_menu(update_callback_query, context, lyrics_language):
update = update_callback_query
context.user_data... | 35.86 | 86 | 0.656628 | 595 | 5,379 | 5.630252 | 0.115966 | 0.146269 | 0.198507 | 0.109851 | 0.78806 | 0.77194 | 0.77194 | 0.742388 | 0.63194 | 0.515224 | 0 | 0.002666 | 0.232943 | 5,379 | 149 | 87 | 36.100671 | 0.809258 | 0 | 0 | 0.546875 | 0 | 0 | 0.151515 | 0.050753 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.03125 | false | 0 | 0.023438 | 0 | 0.078125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b5fa8fa8536cdf2efd249216b6b2568f5d36cd9 | 44 | py | Python | tests/class_free.py | ZYAZP/python2 | 7dc3b62eff51e1decb4a408122e77630fdc1687d | [
"MIT"
] | 1,062 | 2015-11-18T01:04:33.000Z | 2022-03-29T07:13:30.000Z | tests/class_free.py | ArrowSides/onelinerizer | 7dc3b62eff51e1decb4a408122e77630fdc1687d | [
"MIT"
] | 26 | 2015-11-17T06:58:07.000Z | 2022-01-15T18:11:16.000Z | tests/class_free.py | ArrowSides/onelinerizer | 7dc3b62eff51e1decb4a408122e77630fdc1687d | [
"MIT"
] | 100 | 2015-11-17T09:01:22.000Z | 2021-09-12T13:58:28.000Z | def f(x):
class c:
print x
f(3)
| 8.8 | 15 | 0.431818 | 9 | 44 | 2.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.431818 | 44 | 4 | 16 | 11 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 |
4b73545ab55ee4a6795cc072001b99097c1e7511 | 94 | py | Python | gitlab_freak/scripts/gitlab-freak-run.py | Pegase745/gitlab-freak | a8eb6170375334350f1f12894a969ddaae928426 | [
"MIT"
] | 8 | 2015-10-06T16:38:53.000Z | 2020-07-04T07:00:32.000Z | gitlab_freak/scripts/gitlab-freak-run.py | Pegase745/gitlab-to-trello | a8eb6170375334350f1f12894a969ddaae928426 | [
"MIT"
] | null | null | null | gitlab_freak/scripts/gitlab-freak-run.py | Pegase745/gitlab-to-trello | a8eb6170375334350f1f12894a969ddaae928426 | [
"MIT"
] | 2 | 2015-10-06T16:41:17.000Z | 2018-11-26T00:51:19.000Z | #!/usr/bin/env python
from gitlab_freak import app
app.run('0.0.0.0', port=5678, debug=True)
| 18.8 | 41 | 0.712766 | 19 | 94 | 3.473684 | 0.789474 | 0.090909 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.106383 | 94 | 4 | 42 | 23.5 | 0.690476 | 0.212766 | 0 | 0 | 0 | 0 | 0.09589 | 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 |
4b8a239bedc2a62647c1a7e2c4772bd6dc5c29e3 | 414 | py | Python | Desafios/exerc13.py | pedronb/Exercicios-Python | 54db2ce48bbbba94a4ac25b32b3c1fd985347857 | [
"MIT"
] | null | null | null | Desafios/exerc13.py | pedronb/Exercicios-Python | 54db2ce48bbbba94a4ac25b32b3c1fd985347857 | [
"MIT"
] | null | null | null | Desafios/exerc13.py | pedronb/Exercicios-Python | 54db2ce48bbbba94a4ac25b32b3c1fd985347857 | [
"MIT"
] | null | null | null | # Exercício Python 13: Desenvolva um programa que pergunte a distância de uma viagem em Km. Calcule o preço da passagem, cobrando R$0,50 por Km para viagens de até 200Km e R$0,45 parta viagens mais longas.
dist = float(input('Insira a distância da viagem em km: '))
if dist <= 200.00:
print(f'O preço da passagem s... | 51.75 | 205 | 0.700483 | 78 | 414 | 3.717949 | 0.589744 | 0.062069 | 0.082759 | 0.165517 | 0.22069 | 0.22069 | 0.22069 | 0.22069 | 0.22069 | 0.22069 | 0 | 0.071429 | 0.188406 | 414 | 8 | 206 | 51.75 | 0.791667 | 0.490338 | 0 | 0 | 0 | 0 | 0.609524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0 | 0 | 0 | 0.4 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4bbcea00f9a0ec492dfd0dce95b4e55212c599a2 | 235 | py | Python | taggit_autocomplete_jqueryui/urls.py | eliksir/django_taggit_autocomplete_jqueryui | 25b6852d219f4d83c852b70671c0a7abfe97ad04 | [
"BSD-2-Clause"
] | null | null | null | taggit_autocomplete_jqueryui/urls.py | eliksir/django_taggit_autocomplete_jqueryui | 25b6852d219f4d83c852b70671c0a7abfe97ad04 | [
"BSD-2-Clause"
] | null | null | null | taggit_autocomplete_jqueryui/urls.py | eliksir/django_taggit_autocomplete_jqueryui | 25b6852d219f4d83c852b70671c0a7abfe97ad04 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('taggit_autocomplete_jqueryui.views',
url(r'^json$', 'tag_list_view',
name='taggit_autocomplete_jqueryui_tag_list'),
)
| 29.375 | 60 | 0.710638 | 29 | 235 | 5.482759 | 0.758621 | 0.226415 | 0.327044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.144681 | 235 | 7 | 61 | 33.571429 | 0.78607 | 0.089362 | 0 | 0 | 0 | 0 | 0.424528 | 0.334906 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
29da3ae22fcb1d820e672161e4f610c3fb229184 | 360 | py | Python | pysmartnode/logging/__init__.py | Nabla128k/pysmartnode | a0998ad6582a28fe5a0529fb15dd4f61e254d25f | [
"MIT"
] | 82 | 2018-07-24T18:30:41.000Z | 2022-03-10T06:13:15.000Z | pysmartnode/logging/__init__.py | Nabla128k/pysmartnode | a0998ad6582a28fe5a0529fb15dd4f61e254d25f | [
"MIT"
] | 15 | 2020-02-08T21:20:09.000Z | 2021-03-15T09:13:28.000Z | pysmartnode/logging/__init__.py | Nabla128k/pysmartnode | a0998ad6582a28fe5a0529fb15dd4f61e254d25f | [
"MIT"
] | 23 | 2018-07-24T18:30:42.000Z | 2021-12-12T10:03:44.000Z | from sys import platform
from pysmartnode import config
import gc
if hasattr(config, "LIGTWEIGHT_LOG") and config.LIGTWEIGHT_LOG is True or \
platform == "esp8266" and hasattr(config, "LIGTWEIGHT_LOG") is False:
from pysmartnode.logging.logging_light import getLogger
else:
from pysmartnode.logging.logg... | 30 | 77 | 0.777778 | 48 | 360 | 5.729167 | 0.479167 | 0.163636 | 0.207273 | 0.189091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013115 | 0.152778 | 360 | 11 | 78 | 32.727273 | 0.888525 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4b02b9b8258c5521d5ff972912463a19e5ba987e | 391 | py | Python | src/charma/search/component.py | mononobi/charma-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 1 | 2020-01-16T23:36:10.000Z | 2020-01-16T23:36:10.000Z | src/charma/search/component.py | mononobi/imovie-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 24 | 2020-06-08T18:27:04.000Z | 2021-06-06T12:01:39.000Z | src/charma/search/component.py | mononobi/charma-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 1 | 2020-12-20T05:29:04.000Z | 2020-12-20T05:29:04.000Z | # -*- coding: utf-8 -*-
"""
search component module.
"""
from pyrin.application.decorators import component
from pyrin.application.structs import Component
from charma.search import SearchPackage
from charma.search.manager import SearchManager
@component(SearchPackage.COMPONENT_NAME)
class SearchComponent(Component... | 20.578947 | 50 | 0.759591 | 41 | 391 | 7.219512 | 0.487805 | 0.101351 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002985 | 0.143223 | 391 | 18 | 51 | 21.722222 | 0.880597 | 0.181586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.571429 | 0 | 0.714286 | 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 |
4b03996bae5773ba8ff28ee87daddeeab05f5b39 | 204 | py | Python | tests/ut_repytests_testsafeallowsdocstrings.py | SeattleTestbed/repy_v1 | f40a02e2e398b1ec67fede84b41a264ae7356d2c | [
"MIT"
] | 1 | 2021-08-18T05:58:17.000Z | 2021-08-18T05:58:17.000Z | tests/ut_repytests_testsafeallowsdocstrings.py | SeattleTestbed/repy_v1 | f40a02e2e398b1ec67fede84b41a264ae7356d2c | [
"MIT"
] | 3 | 2015-11-17T21:01:03.000Z | 2016-07-14T09:08:04.000Z | tests/ut_repytests_testsafeallowsdocstrings.py | SeattleTestbed/repy_v1 | f40a02e2e398b1ec67fede84b41a264ae7356d2c | [
"MIT"
] | 5 | 2015-07-02T13:29:23.000Z | 2021-09-25T07:48:30.000Z | """
Author: Justin Cappos
Description:
It should be okay to put __ in a doc string...
"""
#pragma repy
def foo():
"""__ should also be allowed here__"""
pass
class bar:
"""__ and here__"""
pass
| 13.6 | 46 | 0.647059 | 29 | 204 | 4.206897 | 0.862069 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 204 | 14 | 47 | 14.571429 | 0.7625 | 0.686275 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4b12b100c24e970c8a0b3af27e52fcb7fd00d6e4 | 192 | py | Python | gemini/logger.py | PacketFire/geo | 928e34dc4a466b269edcf2b062219c7c6b91f50c | [
"Apache-2.0"
] | null | null | null | gemini/logger.py | PacketFire/geo | 928e34dc4a466b269edcf2b062219c7c6b91f50c | [
"Apache-2.0"
] | 52 | 2018-10-30T01:04:32.000Z | 2021-05-06T08:02:42.000Z | gemini/logger.py | PacketFire/geo | 928e34dc4a466b269edcf2b062219c7c6b91f50c | [
"Apache-2.0"
] | 4 | 2018-10-30T15:40:14.000Z | 2018-11-14T12:48:26.000Z | import logging.config
import yaml
def read_config():
with open('data/logging.yml', 'r') as fh:
config = yaml.safe_load(fh.read())
logging.config.dictConfig(config)
| 19.2 | 46 | 0.645833 | 26 | 192 | 4.692308 | 0.615385 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223958 | 192 | 9 | 47 | 21.333333 | 0.818792 | 0 | 0 | 0 | 0 | 0 | 0.092896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 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 |
4b168078659b4970cebf94ea415154a0c4097756 | 250 | py | Python | framework3d/framework.py | Meatbag93/Framework | bbfac86ff08bd097ac284d9d0de5467c79e92436 | [
"MIT"
] | null | null | null | framework3d/framework.py | Meatbag93/Framework | bbfac86ff08bd097ac284d9d0de5467c79e92436 | [
"MIT"
] | null | null | null | framework3d/framework.py | Meatbag93/Framework | bbfac86ff08bd097ac284d9d0de5467c79e92436 | [
"MIT"
] | 1 | 2021-09-18T14:35:59.000Z | 2021-09-18T14:35:59.000Z | import random
import math
import os, platform, shutil
import time
import pygame
from .data import *
from .map import *
from .menu3d import *
from .speech import *
from .sound3d import *
from .misc import *
from .timer import *
from .window import * | 16.666667 | 27 | 0.748 | 36 | 250 | 5.194444 | 0.472222 | 0.374332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009756 | 0.18 | 250 | 15 | 28 | 16.666667 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d9dddbba43789a27d56b69f23c213ac8041c2120 | 25 | py | Python | queue_manager_api/api/src/constant/EmitterConstant.py | SamuelJansen/queue-manager-api | 53e95eacb90025e2464b9d32fe0e37df4f344d18 | [
"MIT"
] | null | null | null | queue_manager_api/api/src/constant/EmitterConstant.py | SamuelJansen/queue-manager-api | 53e95eacb90025e2464b9d32fe0e37df4f344d18 | [
"MIT"
] | null | null | null | queue_manager_api/api/src/constant/EmitterConstant.py | SamuelJansen/queue-manager-api | 53e95eacb90025e2464b9d32fe0e37df4f344d18 | [
"MIT"
] | null | null | null | URL = '/message/emitter'
| 12.5 | 24 | 0.68 | 3 | 25 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8a085421166b2a38c717e6ab0fad213ad3a3fc8d | 240 | py | Python | aio_tcpserver/errors.py | Basic-Components/aio-tcpserver | 39e90a9e77262640d548fdd15e6f80649f872400 | [
"MIT"
] | 7 | 2018-03-06T11:06:00.000Z | 2022-03-31T09:24:49.000Z | aio_tcpserver/errors.py | Basic-Components/aio-tcpserver | 39e90a9e77262640d548fdd15e6f80649f872400 | [
"MIT"
] | 1 | 2022-03-31T09:24:39.000Z | 2022-03-31T09:24:39.000Z | aio_tcpserver/errors.py | Basic-Components/aio-tcpserver | 39e90a9e77262640d548fdd15e6f80649f872400 | [
"MIT"
] | 3 | 2019-12-11T07:12:20.000Z | 2021-08-13T04:15:38.000Z | """定义了服务器的错误.
包括:
* ListenerError 钩子注册错误
* MultipleProcessDone 通过抛出这个异常来中断多进程任务的主进程循环
"""
class ListenerError(Exception):
"""钩子注册错误."""
pass
class MultipleProcessDone(Exception):
"""通过抛出这个异常来中断多进程任务的主进程循环."""
pass
| 12 | 45 | 0.695833 | 16 | 240 | 10.4375 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179167 | 240 | 19 | 46 | 12.631579 | 0.847716 | 0.491667 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
8a0b9f1bf0ff692ac4041cd5777085b53731cb23 | 828 | py | Python | z2/part3/updated_part2_batch/jm/parser_errors_2/239604592.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/239604592.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/239604592.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 239604592
"""
"""
random actions, total chaos
"""
board = gamma_new(2, 2, 2, 3)
assert board is... | 21.789474 | 43 | 0.677536 | 142 | 828 | 3.739437 | 0.204225 | 0.248588 | 0.282486 | 0.376648 | 0.472693 | 0.472693 | 0.46516 | 0.295669 | 0.205273 | 0.112994 | 0 | 0.086053 | 0.18599 | 828 | 37 | 44 | 22.378378 | 0.70178 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.52 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 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 |
8a1958977574026bfd57377d4e57dc602c21d650 | 31 | py | Python | Apple.py | mymscmaye2019/PythonVSTutorial | 958bac7ff3b5951cbfd4eb94293770ac55dda77f | [
"MIT"
] | 7 | 2017-02-18T06:07:23.000Z | 2021-03-11T09:07:28.000Z | Apple.py | mymscmaye2019/PythonVSTutorial | 958bac7ff3b5951cbfd4eb94293770ac55dda77f | [
"MIT"
] | null | null | null | Apple.py | mymscmaye2019/PythonVSTutorial | 958bac7ff3b5951cbfd4eb94293770ac55dda77f | [
"MIT"
] | 3 | 2019-02-24T20:10:28.000Z | 2020-08-14T18:51:00.000Z | msg = 'Hello World'
print(msg)
| 10.333333 | 19 | 0.677419 | 5 | 31 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 20 | 15.5 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8a19f517be8fa68b7b5bcc04956ecc4c93318e99 | 43 | py | Python | dictionaries.py | dharshini-raman/Q1_Python | 5ac23c4773a6ec46176c37c1a4af6326749d5522 | [
"Apache-2.0"
] | null | null | null | dictionaries.py | dharshini-raman/Q1_Python | 5ac23c4773a6ec46176c37c1a4af6326749d5522 | [
"Apache-2.0"
] | null | null | null | dictionaries.py | dharshini-raman/Q1_Python | 5ac23c4773a6ec46176c37c1a4af6326749d5522 | [
"Apache-2.0"
] | null | null | null | #Dictionaries
d = {'user': 'bozo','pswd'
| 14.333333 | 27 | 0.581395 | 5 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 28 | 21.5 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 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 |
8a47d7cdd8ea0542d68f1cf5a2a76e609efb5727 | 172 | py | Python | websockets/cookies/support/set-cookie.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 8 | 2019-04-09T21:13:05.000Z | 2021-11-23T17:25:18.000Z | websockets/cookies/support/set-cookie.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 14 | 2019-03-18T20:11:48.000Z | 2019-04-23T22:41:46.000Z | websockets/cookies/support/set-cookie.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 11 | 2019-04-12T01:20:16.000Z | 2021-11-23T17:25:02.000Z | import urllib
def main(request, response):
response.headers.set('Set-Cookie', urllib.unquote(request.url_parts.query))
return [("Content-Type", "text/plain")], ""
| 28.666667 | 79 | 0.703488 | 22 | 172 | 5.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 172 | 5 | 80 | 34.4 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 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 |
8a75d2b2f269218b8b99ec3186309b2ec589ee7e | 35 | py | Python | helloworld/hello_world.py | iVinci-YoshihiroFujita/python_study | e6fe587a7da0f6dd432ae6707e25b4a48fc5dc07 | [
"Apache-2.0"
] | null | null | null | helloworld/hello_world.py | iVinci-YoshihiroFujita/python_study | e6fe587a7da0f6dd432ae6707e25b4a48fc5dc07 | [
"Apache-2.0"
] | null | null | null | helloworld/hello_world.py | iVinci-YoshihiroFujita/python_study | e6fe587a7da0f6dd432ae6707e25b4a48fc5dc07 | [
"Apache-2.0"
] | null | null | null | hello = 'hello world'
print(hello) | 11.666667 | 21 | 0.714286 | 5 | 35 | 5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 3 | 22 | 11.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8a8c20c1aac02a6705a999af39f40cf7a7fa8d18 | 185 | py | Python | vmaig_blog/uwsgi-2.0.14/plugins/xslt/uwsgiplugin.py | StanYaha/Blog | 3cb38918e14ebe6ce2e2952ef272de116849910d | [
"BSD-3-Clause"
] | 1 | 2018-11-24T16:10:49.000Z | 2018-11-24T16:10:49.000Z | vmaig_blog/uwsgi-2.0.14/plugins/xslt/uwsgiplugin.py | StanYaha/Blog | 3cb38918e14ebe6ce2e2952ef272de116849910d | [
"BSD-3-Clause"
] | null | null | null | vmaig_blog/uwsgi-2.0.14/plugins/xslt/uwsgiplugin.py | StanYaha/Blog | 3cb38918e14ebe6ce2e2952ef272de116849910d | [
"BSD-3-Clause"
] | null | null | null | import os
NAME='xslt'
CFLAGS = os.popen('xslt-config --cflags').read().rstrip().split()
LDFLAGS = []
LIBS = os.popen('xslt-config --libs').read().rstrip().split()
GCC_LIST = ['xslt']
| 20.555556 | 65 | 0.643243 | 26 | 185 | 4.538462 | 0.538462 | 0.118644 | 0.186441 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102703 | 185 | 8 | 66 | 23.125 | 0.710843 | 0 | 0 | 0 | 0 | 0 | 0.248649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
8a9582dbb871f3d910ea6c9d2f42d985b338f2b2 | 828 | py | Python | applications/MultilevelMonteCarloApplication/external_libraries/XMC/xmc/randomGeneratorWrapper.py | SADPR/Kratos | 82d1e335d2e7e674f77022a3d91c958168805d59 | [
"BSD-4-Clause"
] | null | null | null | applications/MultilevelMonteCarloApplication/external_libraries/XMC/xmc/randomGeneratorWrapper.py | SADPR/Kratos | 82d1e335d2e7e674f77022a3d91c958168805d59 | [
"BSD-4-Clause"
] | null | null | null | applications/MultilevelMonteCarloApplication/external_libraries/XMC/xmc/randomGeneratorWrapper.py | SADPR/Kratos | 82d1e335d2e7e674f77022a3d91c958168805d59 | [
"BSD-4-Clause"
] | null | null | null | # XMC imports
from xmc.tools import dynamicImport
# TODO RandomGeneratorWrapper must have a 'seed' attribute for reproducibility. Its generator method must support it.
class RandomGeneratorWrapper():
"""
This is a class is responsible for the generation of random inputs: scalars,
fields, whatever. It is v... | 39.428571 | 117 | 0.740338 | 101 | 828 | 6.009901 | 0.653465 | 0.019769 | 0.023064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189614 | 828 | 20 | 118 | 41.4 | 0.90462 | 0.573672 | 0 | 0 | 0 | 0 | 0.059375 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
76df1fd0eec0ad29ad43981a749c046c137083f9 | 2,144 | py | Python | src/data_handlers/data_containers.py | Maxim-Mushizky/aws_data_collector | 11fbcbb4cbeee509285758d40cf2a88d77e1500c | [
"MIT"
] | 1 | 2022-02-17T11:05:29.000Z | 2022-02-17T11:05:29.000Z | src/data_handlers/data_containers.py | Maxim-Mushizky/aws_data_collector | 11fbcbb4cbeee509285758d40cf2a88d77e1500c | [
"MIT"
] | null | null | null | src/data_handlers/data_containers.py | Maxim-Mushizky/aws_data_collector | 11fbcbb4cbeee509285758d40cf2a88d77e1500c | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from datetime import datetime
from typing import (
List,
Optional,
Dict
)
@dataclass(frozen=True)
class Ids:
image_id: Optional[str] = field(default_factory=str)
instance_id: Optional[str] = field(default_factory=str)
reservation_id: Optional[str] = fie... | 27.844156 | 73 | 0.743937 | 267 | 2,144 | 5.82397 | 0.228464 | 0.223794 | 0.207717 | 0.155627 | 0.404502 | 0.30418 | 0.236656 | 0.167846 | 0.167846 | 0.073312 | 0 | 0.001091 | 0.145056 | 2,144 | 76 | 74 | 28.210526 | 0.847245 | 0 | 0 | 0.178571 | 0 | 0 | 0.00653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.053571 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0a029858e666edb04ea8dc545ecdd71fd39cd7c2 | 91 | py | Python | MyDjango/Mysite/quiztest/apps.py | Maurya232Abhishek/htmlcodecamp | 02f911968cff200cf8fb641b11865f559b650bfb | [
"MIT"
] | null | null | null | MyDjango/Mysite/quiztest/apps.py | Maurya232Abhishek/htmlcodecamp | 02f911968cff200cf8fb641b11865f559b650bfb | [
"MIT"
] | null | null | null | MyDjango/Mysite/quiztest/apps.py | Maurya232Abhishek/htmlcodecamp | 02f911968cff200cf8fb641b11865f559b650bfb | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class QuiztestConfig(AppConfig):
name = 'quiztest'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
0a19695418d45faf5731e14b6a809a20963e4544 | 21,136 | py | Python | src/analyze/graph/analyze_training_progress.py | kishorekolli/deep_racer_guru | 0a0a56103f395f958e8177ee0bd5ae1481f93d98 | [
"MIT"
] | 9 | 2020-07-31T03:04:24.000Z | 2021-11-02T13:44:11.000Z | src/analyze/graph/analyze_training_progress.py | kishorekolli/deep_racer_guru | 0a0a56103f395f958e8177ee0bd5ae1481f93d98 | [
"MIT"
] | 137 | 2020-08-04T08:04:11.000Z | 2021-11-10T10:35:58.000Z | src/analyze/graph/analyze_training_progress.py | kishorekolli/deep_racer_guru | 0a0a56103f395f958e8177ee0bd5ae1481f93d98 | [
"MIT"
] | 11 | 2020-06-24T23:38:38.000Z | 2021-11-02T14:42:31.000Z | #
# DeepRacer Guru
#
# Version 3.0 onwards
#
# Copyright (c) 2021 dmh23
#
import tkinter as tk
import numpy as np
from matplotlib.artist import Artist
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
from matplotlib.gridspec import GridSpec
from matplotlib.axes import Axes
from matplotlib.ticker import... | 51.55122 | 146 | 0.681018 | 2,651 | 21,136 | 5.007167 | 0.085251 | 0.054844 | 0.036161 | 0.042188 | 0.818367 | 0.770077 | 0.714555 | 0.667395 | 0.651047 | 0.626865 | 0 | 0.006633 | 0.236752 | 21,136 | 409 | 147 | 51.677262 | 0.816204 | 0.017979 | 0 | 0.495238 | 0 | 0 | 0.029606 | 0 | 0 | 0 | 0 | 0 | 0.012698 | 1 | 0.066667 | false | 0 | 0.034921 | 0.003175 | 0.139683 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a1c21ccf10de1657e2c659e0831b6871fb6fca7 | 505 | py | Python | yk_bit/utils.py | jppdpf/YK-BiT-SDK-Python-1 | 026fb6a1c59d989df18b2c453d1ef331c0a2b4cc | [
"MIT"
] | null | null | null | yk_bit/utils.py | jppdpf/YK-BiT-SDK-Python-1 | 026fb6a1c59d989df18b2c453d1ef331c0a2b4cc | [
"MIT"
] | null | null | null | yk_bit/utils.py | jppdpf/YK-BiT-SDK-Python-1 | 026fb6a1c59d989df18b2c453d1ef331c0a2b4cc | [
"MIT"
] | null | null | null | """ Utilities for the Python SDK of the YooniK BiometricInThings API.
"""
import yk_utils.apis
class Key:
"""Manage YooniK BiometricInThings API Subscription Key."""
@classmethod
def set(cls, key: str):
"""Set the Subscription Key.
:param key:
:return:
"""
yk_utils.... | 22.954545 | 69 | 0.637624 | 63 | 505 | 5.031746 | 0.428571 | 0.217666 | 0.246057 | 0.201893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249505 | 505 | 21 | 70 | 24.047619 | 0.836412 | 0.419802 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a2768113b26e4565b7575ce99953747ba9f1ae6 | 12,137 | py | Python | tests/test_sd.py | pinetr2e/napkin | fb1da3d3b3b9fceb59a4adc1287a93393d0baa4c | [
"MIT"
] | 190 | 2019-02-10T09:58:00.000Z | 2022-03-31T21:14:11.000Z | tests/test_sd.py | pinetr2e/napkin | fb1da3d3b3b9fceb59a4adc1287a93393d0baa4c | [
"MIT"
] | 9 | 2020-03-07T12:52:24.000Z | 2022-03-25T13:37:25.000Z | tests/test_sd.py | pinetr2e/napkin | fb1da3d3b3b9fceb59a4adc1287a93393d0baa4c | [
"MIT"
] | 7 | 2019-07-10T08:17:45.000Z | 2021-06-17T04:22:28.000Z | import pytest
from napkin import sd
from napkin import sd_action
class TestParams:
def test_empty(self):
assert "" == str(sd.Params(tuple(), dict()))
def test_args(self):
assert "abc, def" == str(sd.Params(('abc', 'def'), dict()))
def test_args_kargs(self):
assert "abc, foo=1" =... | 26.674725 | 76 | 0.492955 | 1,424 | 12,137 | 4.058287 | 0.086376 | 0.079945 | 0.03755 | 0.0751 | 0.761204 | 0.736633 | 0.718117 | 0.693546 | 0.660149 | 0.616197 | 0 | 0.003227 | 0.361621 | 12,137 | 454 | 77 | 26.73348 | 0.742643 | 0.002307 | 0 | 0.774373 | 0 | 0 | 0.046832 | 0 | 0 | 0 | 0 | 0 | 0.013928 | 1 | 0.097493 | false | 0.005571 | 0.008357 | 0 | 0.128134 | 0 | 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 |
0a6ec2ac689878dd4f24c139c49f4c236431afc4 | 101 | py | Python | soonq/__init__.py | n8jhj/SoonQ | 5a2f34c98aa8020cc9c6563d6e8e274f05feda2a | [
"MIT"
] | null | null | null | soonq/__init__.py | n8jhj/SoonQ | 5a2f34c98aa8020cc9c6563d6e8e274f05feda2a | [
"MIT"
] | null | null | null | soonq/__init__.py | n8jhj/SoonQ | 5a2f34c98aa8020cc9c6563d6e8e274f05feda2a | [
"MIT"
] | null | null | null | from . import commands
from .task import BaseTask
from .utils import echo
from .worker import Worker
| 20.2 | 26 | 0.80198 | 15 | 101 | 5.4 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 4 | 27 | 25.25 | 0.952941 | 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 |
6a6af7c5596ecab8b2c16f17546ee1c6b59fd956 | 185 | py | Python | Plugins/PluginInterface.py | swrlly/Midnight | b4375002761a13a09a6c3085e9b34384b28227ba | [
"MIT"
] | 2 | 2021-11-18T13:38:52.000Z | 2021-11-19T04:15:24.000Z | Plugins/PluginInterface.py | swrlly/Midnight | b4375002761a13a09a6c3085e9b34384b28227ba | [
"MIT"
] | null | null | null | Plugins/PluginInterface.py | swrlly/Midnight | b4375002761a13a09a6c3085e9b34384b28227ba | [
"MIT"
] | null | null | null | class PluginInterface:
hooks = {}
load = False
defaultState = False
def getAuthor(self) -> str:
return ""
def getCommands(self) -> list:
return [] | 16.818182 | 34 | 0.562162 | 17 | 185 | 6.117647 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32973 | 185 | 11 | 35 | 16.818182 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6a959fd90b06c1e9967cc53ebe26171372d07695 | 509 | py | Python | src/core_utilities/statistics.py | yukonhenry/vrpsim | d1fa14eb246f1a2be32bc14a7126c4be3d6210b8 | [
"MIT"
] | 2 | 2018-06-05T16:47:49.000Z | 2020-01-03T07:51:25.000Z | src/core_utilities/statistics.py | yukonhenry/vrpsim | d1fa14eb246f1a2be32bc14a7126c4be3d6210b8 | [
"MIT"
] | null | null | null | src/core_utilities/statistics.py | yukonhenry/vrpsim | d1fa14eb246f1a2be32bc14a7126c4be3d6210b8 | [
"MIT"
] | null | null | null | # Copyright YukonTR 2015
from numpy import mean, std
from collections import namedtuple
class Statistics(object):
def __init__(self):
pass
def calc_mean(self, data_array):
return mean(data_array)
def calc_stddev(self, data_array):
return std(data_array)
def calc_meanstd(self... | 24.238095 | 53 | 0.675835 | 69 | 509 | 4.710145 | 0.333333 | 0.193846 | 0.12 | 0.116923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010336 | 0.239686 | 509 | 20 | 54 | 25.45 | 0.829457 | 0.043222 | 0 | 0 | 0 | 0 | 0.03299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.071429 | 0.142857 | 0.142857 | 0.714286 | 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 |
6ab493da37cd62011ec69d61a1b731688f8e7612 | 50 | py | Python | polynom/commitment/bdfg/__init__.py | oznurkalkar/polynom | 13c85c5570995350000bf93fbcf4b8abe3c686e8 | [
"Apache-2.0"
] | 2 | 2021-09-06T09:39:50.000Z | 2021-09-10T14:19:03.000Z | polynom/commitment/bdfg/__init__.py | oznurkalkar/polynom | 13c85c5570995350000bf93fbcf4b8abe3c686e8 | [
"Apache-2.0"
] | null | null | null | polynom/commitment/bdfg/__init__.py | oznurkalkar/polynom | 13c85c5570995350000bf93fbcf4b8abe3c686e8 | [
"Apache-2.0"
] | 1 | 2021-12-22T06:08:51.000Z | 2021-12-22T06:08:51.000Z | # implements https://eprint.iacr.org/2020/081.pdf
| 25 | 49 | 0.76 | 8 | 50 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 0.06 | 50 | 1 | 50 | 50 | 0.659574 | 0.94 | 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 |
6ac5d32d9b9fa5dbeae2e24c1fe707af965f6fb6 | 64 | py | Python | src/hark_lang/run/__init__.py | krrome/teal-lang | 594ac0f0baae047fdb19ac9126d174408d487905 | [
"Apache-2.0"
] | 85 | 2020-04-29T13:51:33.000Z | 2020-08-28T04:40:11.000Z | src/hark_lang/run/__init__.py | krrome/teal-lang | 594ac0f0baae047fdb19ac9126d174408d487905 | [
"Apache-2.0"
] | 15 | 2020-05-06T07:58:18.000Z | 2020-08-28T10:29:28.000Z | src/hark_lang/run/__init__.py | krrome/teal-lang | 594ac0f0baae047fdb19ac9126d174408d487905 | [
"Apache-2.0"
] | 4 | 2020-05-31T09:42:08.000Z | 2020-08-27T17:04:26.000Z | """Simple interfaces for different ways to run Hark programs"""
| 32 | 63 | 0.765625 | 9 | 64 | 5.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 1 | 64 | 64 | 0.890909 | 0.890625 | 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 |
6ad7980950009a3652de997065391fa7b476fccd | 103 | py | Python | src/oscar/apps/dashboard/communications/__init__.py | Jean1508/ya-madoa | 1ffb1d11e15bf33e4c3a09698675a4357e887eaa | [
"BSD-3-Clause"
] | null | null | null | src/oscar/apps/dashboard/communications/__init__.py | Jean1508/ya-madoa | 1ffb1d11e15bf33e4c3a09698675a4357e887eaa | [
"BSD-3-Clause"
] | 5 | 2021-05-28T19:38:28.000Z | 2022-03-12T00:45:39.000Z | src/oscar/apps/dashboard/communications/__init__.py | Jean1508/ya-madoa | 1ffb1d11e15bf33e4c3a09698675a4357e887eaa | [
"BSD-3-Clause"
] | null | null | null | default_app_config = (
'oscar.apps.dashboard.communications.apps.CommunicationsDashboardConfig')
| 34.333333 | 78 | 0.805825 | 9 | 103 | 9 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 103 | 2 | 79 | 51.5 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.693069 | 0.693069 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ae517e8a761dfcf4b653beb790f2f7000cc5fe7 | 54 | py | Python | Government/gov_Guangdong/__init__.py | yongzhuo/yongzhuo_spider | 731405de27c2fd1c542bce46e53918d023d8a618 | [
"Apache-2.0"
] | 5 | 2019-04-26T02:28:27.000Z | 2020-09-21T03:07:35.000Z | Government/gov_Guangdong/__init__.py | yongzhuo/yongzhuo_spider | 731405de27c2fd1c542bce46e53918d023d8a618 | [
"Apache-2.0"
] | null | null | null | Government/gov_Guangdong/__init__.py | yongzhuo/yongzhuo_spider | 731405de27c2fd1c542bce46e53918d023d8a618 | [
"Apache-2.0"
] | 1 | 2021-07-08T05:53:42.000Z | 2021-07-08T05:53:42.000Z | # -*- coding:utf-8 -*-
# -*- created by: yongzhuo -*- | 27 | 30 | 0.5 | 6 | 54 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.185185 | 54 | 2 | 30 | 27 | 0.590909 | 0.907407 | 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 |
0a8a83c888f6c6a25e6060b0336feeecc6607be3 | 7,886 | py | Python | core/migrations/0001_initial.py | grapesmoker/qtour | dbb02613475362d9a4c7f86d047ddc012e4d8351 | [
"MIT"
] | null | null | null | core/migrations/0001_initial.py | grapesmoker/qtour | dbb02613475362d9a4c7f86d047ddc012e4d8351 | [
"MIT"
] | null | null | null | core/migrations/0001_initial.py | grapesmoker/qtour | dbb02613475362d9a4c7f86d047ddc012e4d8351 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-04-28 03:05
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migratio... | 61.131783 | 1,122 | 0.561755 | 768 | 7,886 | 5.666667 | 0.279948 | 0.0517 | 0.053768 | 0.071691 | 0.713235 | 0.707031 | 0.637868 | 0.619485 | 0.600184 | 0.600184 | 0 | 0.009595 | 0.233452 | 7,886 | 128 | 1,123 | 61.609375 | 0.710339 | 0.008623 | 0 | 0.575 | 1 | 0 | 0.230454 | 0.020473 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.066667 | 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 |
0a8e898f55cd4a879deecc2138f8cf81a1875807 | 238 | py | Python | src/a05obiekty/Knife.py | tborzyszkowski/PSPI_Wstep_do_programowania | 4aca4dfe5a8daed19d7852dd29b6cfa57df8f51c | [
"MIT"
] | 2 | 2020-10-08T09:44:12.000Z | 2021-10-08T08:32:19.000Z | src/a05obiekty/Knife.py | tborzyszkowski/PSPI_Wstep_do_programowania | 4aca4dfe5a8daed19d7852dd29b6cfa57df8f51c | [
"MIT"
] | null | null | null | src/a05obiekty/Knife.py | tborzyszkowski/PSPI_Wstep_do_programowania | 4aca4dfe5a8daed19d7852dd29b6cfa57df8f51c | [
"MIT"
] | 1 | 2020-10-19T14:08:00.000Z | 2020-10-19T14:08:00.000Z | from .Tool import *
class Knife(Tool):
def __init__(self) -> None:
super().__init__()
def can_drill(self):
return False
def can_cut(self):
return True
def can_sweep(self):
return False
| 14.875 | 31 | 0.579832 | 30 | 238 | 4.233333 | 0.566667 | 0.141732 | 0.23622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319328 | 238 | 15 | 32 | 15.866667 | 0.783951 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.3 | 0.9 | 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 |
0a8f064895ab0c3d2219535920ed60f2ca158129 | 212 | py | Python | models/base.py | neural-reckoning/decoding_sound_location | 782c0c3dc62add4ea4cc005746aa1cad1e10eef0 | [
"MIT"
] | 1 | 2021-01-27T17:56:57.000Z | 2021-01-27T17:56:57.000Z | models/base.py | neural-reckoning/decoding_sound_location | 782c0c3dc62add4ea4cc005746aa1cad1e10eef0 | [
"MIT"
] | null | null | null | models/base.py | neural-reckoning/decoding_sound_location | 782c0c3dc62add4ea4cc005746aa1cad1e10eef0 | [
"MIT"
] | null | null | null | from brian import *
from brian.hears import *
from matplotlib import cm, rcParams
import sys, os, glob
sys.path = [os.path.normpath(os.path.join(os.path.split(__file__)[0], '../'))]+sys.path
from common import *
| 30.285714 | 87 | 0.726415 | 34 | 212 | 4.411765 | 0.5 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005348 | 0.117925 | 212 | 6 | 88 | 35.333333 | 0.796791 | 0 | 0 | 0 | 0 | 0 | 0.014151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0a96971b983514a3dfdaa61c96d7f3d96d73e1e2 | 267 | py | Python | userlixo/handlers/bot/callback_query/any.py | slimsevernake/UserLixoX-USERBOT | fc2cbf1dd35e1f99f8215d0080bf388eb36a5d91 | [
"MIT"
] | 2 | 2021-03-26T23:29:05.000Z | 2021-07-18T12:38:59.000Z | userlixo/handlers/bot/callback_query/any.py | slimsevernake/UserLixoX-USERBOT | fc2cbf1dd35e1f99f8215d0080bf388eb36a5d91 | [
"MIT"
] | 1 | 2020-12-12T14:26:59.000Z | 2021-02-18T12:26:32.000Z | userlixo/handlers/bot/callback_query/any.py | slimsevernake/UserLixoX-USERBOT | fc2cbf1dd35e1f99f8215d0080bf388eb36a5d91 | [
"MIT"
] | 3 | 2021-02-18T12:27:37.000Z | 2021-04-17T00:39:45.000Z | import os
from userlixo.config import langs
from userlixo.database import Config
from pyrogram import Client, filters
# Getting the language to use
@Client.on_callback_query(group=-2)
async def deflang(c, cq):
cq._lang = langs.get_language(os.getenv('LANGUAGE')) | 29.666667 | 56 | 0.786517 | 41 | 267 | 5.02439 | 0.682927 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004274 | 0.123596 | 267 | 9 | 56 | 29.666667 | 0.876068 | 0.101124 | 0 | 0 | 0 | 0 | 0.033473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
0ab96ce49d78b91e3d4eabe668a5e66bbfb10d9b | 69 | py | Python | main.py | carlosasj/gauss-jordan | a5eedf5a175c966f9b402fa4baf8596e9abae369 | [
"MIT"
] | null | null | null | main.py | carlosasj/gauss-jordan | a5eedf5a175c966f9b402fa4baf8596e9abae369 | [
"MIT"
] | null | null | null | main.py | carlosasj/gauss-jordan | a5eedf5a175c966f9b402fa4baf8596e9abae369 | [
"MIT"
] | null | null | null | from project import prompt
if __name__ == '__main__':
prompt()
| 11.5 | 26 | 0.681159 | 8 | 69 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 69 | 5 | 27 | 13.8 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 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 |
0ae14e2cfcea306dae668621f08203ca49cdbd04 | 248 | py | Python | viewer/contents/admin.py | jeuvreyl/viewer-django | c2f2c89cefa214ee040469f1f90756b9a3876d59 | [
"BSD-3-Clause"
] | null | null | null | viewer/contents/admin.py | jeuvreyl/viewer-django | c2f2c89cefa214ee040469f1f90756b9a3876d59 | [
"BSD-3-Clause"
] | null | null | null | viewer/contents/admin.py | jeuvreyl/viewer-django | c2f2c89cefa214ee040469f1f90756b9a3876d59 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from .models import UploadedFile
@admin.register(UploadedFile)
class UploadedFileAdmin(admin.ModelAdmin):
list_display = ['file_name', 'slug']
search_fields = ['file_name', 'slug']
| 24.8 | 42 | 0.721774 | 29 | 248 | 6.034483 | 0.724138 | 0.091429 | 0.137143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004673 | 0.137097 | 248 | 9 | 43 | 27.555556 | 0.813084 | 0.084677 | 0 | 0 | 0 | 0 | 0.115556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0aeace7b72f9a426ae3e602bf815bfc1eae62122 | 124 | py | Python | ModbusLib/common/timing_handler.py | colton5007/ModbusUtils | ab0e2f9ee0512ff8f5ed47f0d642f5fc38573ac3 | [
"MIT"
] | null | null | null | ModbusLib/common/timing_handler.py | colton5007/ModbusUtils | ab0e2f9ee0512ff8f5ed47f0d642f5fc38573ac3 | [
"MIT"
] | 2 | 2020-04-13T18:38:00.000Z | 2021-06-02T00:59:13.000Z | ModbusLib/common/timing_handler.py | colton5007/ModbusUtils | ab0e2f9ee0512ff8f5ed47f0d642f5fc38573ac3 | [
"MIT"
] | null | null | null | from multiprocessing import Process
class TimingHandler(Process):
def __init__(self):
Process.__init__(self)
| 15.5 | 35 | 0.733871 | 13 | 124 | 6.384615 | 0.692308 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 124 | 7 | 36 | 17.714286 | 0.83 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.