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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8dcef86aa8287856e10a453698de6d0f45be68cd | 78 | py | Python | odl_details.py | vaibhgupta157/PathCompute | 44109176dc3770f7742e4e70225083ffe8eccad7 | [
"MIT"
] | 5 | 2019-08-05T20:00:03.000Z | 2021-11-24T07:39:06.000Z | odl_details.py | vaibhgupta157/PathCompute | 44109176dc3770f7742e4e70225083ffe8eccad7 | [
"MIT"
] | 1 | 2019-07-15T13:04:45.000Z | 2019-10-10T02:21:51.000Z | odl_details.py | vaibhgupta157/PathCompute | 44109176dc3770f7742e4e70225083ffe8eccad7 | [
"MIT"
] | 2 | 2019-08-01T21:17:15.000Z | 2020-09-30T20:19:49.000Z | ODL_IP = "127.0.0.1"
ODL_PORT = "8181"
ODL_USER = "admin"
ODL_PASS = "admin"
| 13 | 20 | 0.641026 | 15 | 78 | 3.066667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.166667 | 78 | 5 | 21 | 15.6 | 0.553846 | 0 | 0 | 0 | 0 | 0 | 0.298701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8dd4e7effffedb1f7f0b78d8d5b8dcb0e5add470 | 41 | py | Python | tests/__init__.py | jlramalheira/sudoku | cace4c34b44e1a500d69721ddefa75ae8b2637ce | [
"MIT"
] | null | null | null | tests/__init__.py | jlramalheira/sudoku | cace4c34b44e1a500d69721ddefa75ae8b2637ce | [
"MIT"
] | null | null | null | tests/__init__.py | jlramalheira/sudoku | cace4c34b44e1a500d69721ddefa75ae8b2637ce | [
"MIT"
] | null | null | null | __all__ = ['io_tests', 'coloring_tests']
| 20.5 | 40 | 0.707317 | 5 | 41 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8de4c33b262829ba104b057ba200cad0e91b665f | 516 | py | Python | PlantAnalysis/sharpen_image.py | godzmaru/PlantAnalysis | fc929b3288553097a86a69c49e06f2ebb53f6eed | [
"MIT"
] | null | null | null | PlantAnalysis/sharpen_image.py | godzmaru/PlantAnalysis | fc929b3288553097a86a69c49e06f2ebb53f6eed | [
"MIT"
] | null | null | null | PlantAnalysis/sharpen_image.py | godzmaru/PlantAnalysis | fc929b3288553097a86a69c49e06f2ebb53f6eed | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 14 13:06:40 2018
@author: hendrawahyu
"""
import cv2
import numpy as np
# =============================================================================
# This function is used to sharpen the image using a simple kernel
# ===========================... | 30.352941 | 79 | 0.443798 | 60 | 516 | 3.8 | 0.683333 | 0.052632 | 0.052632 | 0.035088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060268 | 0.131783 | 516 | 17 | 80 | 30.352941 | 0.448661 | 0.624031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8de6dfc0e20db5ec3db4dafb0443f9b665630576 | 479 | py | Python | IP_Obj.py | occamrazor1492/ssh-brute-force-detector | 5d9dd23cc3229e500bb7dccce57391cbee14d293 | [
"MIT"
] | null | null | null | IP_Obj.py | occamrazor1492/ssh-brute-force-detector | 5d9dd23cc3229e500bb7dccce57391cbee14d293 | [
"MIT"
] | null | null | null | IP_Obj.py | occamrazor1492/ssh-brute-force-detector | 5d9dd23cc3229e500bb7dccce57391cbee14d293 | [
"MIT"
] | 1 | 2019-12-25T19:37:10.000Z | 2019-12-25T19:37:10.000Z | class IPGroup():
def __init__(self, key, packet_count, total_packet_size, process_number):
self.packet_count = packet_count
self.total_packet_size = total_packet_size
self.process_number = process_number
self.groupname = key
@property
def averagePacketSize(self):
ret... | 36.846154 | 77 | 0.720251 | 56 | 479 | 5.785714 | 0.303571 | 0.169753 | 0.185185 | 0.117284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212944 | 479 | 13 | 78 | 36.846154 | 0.859416 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.166667 | 0.5 | 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 | 0 | 0 | 0 | 3 |
5c08b7431623c7136923835202f79fe17c9d2aaa | 441 | py | Python | main.py | pearsonk27/billpay | 2be4c34a5ba0bd8c29fcd15857207f5907f069d7 | [
"MIT"
] | null | null | null | main.py | pearsonk27/billpay | 2be4c34a5ba0bd8c29fcd15857207f5907f069d7 | [
"MIT"
] | null | null | null | main.py | pearsonk27/billpay | 2be4c34a5ba0bd8c29fcd15857207f5907f069d7 | [
"MIT"
] | null | null | null | import web.test as test
import web.water_bill as water_bill
import web.cable_bill as cable_bill
import web.gas_bill as gas_bill
import web.electric_bill as electric_bill
import sys
if sys.argv[1] == "test":
test.run()
elif sys.argv[1] == "waterBill":
water_bill.run()
elif sys.argv[1] == "cableBill":
cable_... | 24.5 | 41 | 0.709751 | 74 | 441 | 4.067568 | 0.256757 | 0.149502 | 0.13289 | 0.186047 | 0.239203 | 0.189369 | 0 | 0 | 0 | 0 | 0 | 0.013405 | 0.154195 | 441 | 17 | 42 | 25.941176 | 0.793566 | 0 | 0 | 0 | 0 | 0 | 0.092971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 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 | 0 | 0 | 0 | 3 |
5c1665774d0a1f5c7fd69a2e2aee4842383cc472 | 185 | py | Python | I_Know_Birds/ikb/urls.py | MakeItPossible-MJT/Birds_Identification | 9f6e40041bd9641151b12ac66a94877c34a6533f | [
"Apache-2.0"
] | 6 | 2020-11-21T01:35:27.000Z | 2020-11-25T12:13:22.000Z | I_Know_Birds/ikb/urls.py | MakeItPossible-MJT/Birds_Identification | 9f6e40041bd9641151b12ac66a94877c34a6533f | [
"Apache-2.0"
] | 11 | 2020-11-18T01:57:17.000Z | 2020-12-31T03:36:10.000Z | I_Know_Birds/ikb/urls.py | MakeItPossible-MJT/Birds_Identification | 9f6e40041bd9641151b12ac66a94877c34a6533f | [
"Apache-2.0"
] | null | null | null | # ikb/urls.py
from django.conf.urls import url
# from django.urls import path
from . import views
app_name = 'ikb'
urlpatterns = [
url(r'^$', views.ikb_index, name='ikb_index'),
]
| 18.5 | 50 | 0.691892 | 29 | 185 | 4.310345 | 0.517241 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 185 | 9 | 51 | 20.555556 | 0.806452 | 0.216216 | 0 | 0 | 0 | 0 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5c2e545c2d734e1cf17fff4bedfd743b6aa418c9 | 203 | py | Python | core/urls.py | MinisterioPublicoRJ/apilabcontas | c01d5c0f1e6705eb8470ba7ba5078c0c172a9570 | [
"MIT"
] | 2 | 2019-06-10T18:34:15.000Z | 2020-04-29T14:23:34.000Z | core/urls.py | MinisterioPublicoRJ/datalakecadg | c01d5c0f1e6705eb8470ba7ba5078c0c172a9570 | [
"MIT"
] | 5 | 2020-01-09T15:59:16.000Z | 2021-06-10T21:06:13.000Z | core/urls.py | MinisterioPublicoRJ/datalakecadg | c01d5c0f1e6705eb8470ba7ba5078c0c172a9570 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import home, upload_manual
app_name = 'core'
urlpatterns = [
path('', home, name='home'),
path("upload-manual", upload_manual, name="upload-manual"),
]
| 20.3 | 63 | 0.689655 | 27 | 203 | 5.074074 | 0.481481 | 0.350365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157635 | 203 | 9 | 64 | 22.555556 | 0.80117 | 0 | 0 | 0 | 0 | 0 | 0.167488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5c4c5b44eefb763f2aafaa92e0223e87966b9607 | 433 | py | Python | asyncalchemy/utils.py | claroty/asyncalchemy | ae9c73b1d02ceabf4e625c0be5fcc9e65759ed28 | [
"Apache-2.0"
] | 9 | 2020-12-29T17:44:27.000Z | 2021-07-15T15:48:21.000Z | asyncalchemy/utils.py | claroty/asyncalchemy | ae9c73b1d02ceabf4e625c0be5fcc9e65759ed28 | [
"Apache-2.0"
] | null | null | null | asyncalchemy/utils.py | claroty/asyncalchemy | ae9c73b1d02ceabf4e625c0be5fcc9e65759ed28 | [
"Apache-2.0"
] | 4 | 2021-01-03T15:39:54.000Z | 2021-08-08T17:49:06.000Z | from __future__ import absolute_import
from functools import partial
from asyncio import get_event_loop
from typing import Callable, Any, Dict
from .global_executor import executor
async def run_sync(function: Callable, *args: Any, **kwargs: Dict[Any, Any]) -> Any:
"""
Run non-asynchronous as async using ex... | 27.0625 | 95 | 0.750577 | 59 | 433 | 5.288136 | 0.508475 | 0.051282 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157044 | 433 | 15 | 96 | 28.866667 | 0.854795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
30859cb68011aee11e3085f2828ed93ad66fcc88 | 418 | py | Python | powertoken/errors.py | jazzij/powertoken | 806c52ea16d00a28972c9ba4c7590e48c8636786 | [
"MIT"
] | null | null | null | powertoken/errors.py | jazzij/powertoken | 806c52ea16d00a28972c9ba4c7590e48c8636786 | [
"MIT"
] | 2 | 2020-01-05T22:40:38.000Z | 2021-06-02T00:53:21.000Z | powertoken/errors.py | jazzij/powertoken | 806c52ea16d00a28972c9ba4c7590e48c8636786 | [
"MIT"
] | 3 | 2017-10-12T15:57:51.000Z | 2019-04-15T22:02:46.000Z | """
Handles errors encountered by the PowerToken Flask app.\n
Created by Abigail Franz on 3/12/2018.\n
Last modified by Abigail Franz on 3/26/2018.
"""
from flask import render_template
from app import app, db
@app.errorhandler(404)
def not_found_error(error):
return render_template("404.html"), 404
@app.errorhandl... | 24.588235 | 57 | 0.770335 | 67 | 418 | 4.716418 | 0.537313 | 0.132911 | 0.088608 | 0.101266 | 0.107595 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.119617 | 418 | 17 | 58 | 24.588235 | 0.771739 | 0.337321 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3090f7b76718b25373f545abdb9fda087962d21f | 8,741 | py | Python | Gathered CTF writeups/ptr-yudai-writeups/2019/Cyber_Mimic_Defence_2019/pwn2/v2/disas.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:00:41.000Z | 2022-03-27T06:00:41.000Z | Gathered CTF writeups/ptr-yudai-writeups/2019/Cyber_Mimic_Defence_2019/pwn2/v2/disas.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | null | null | null | Gathered CTF writeups/ptr-yudai-writeups/2019/Cyber_Mimic_Defence_2019/pwn2/v2/disas.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:01:42.000Z | 2022-03-27T06:01:42.000Z | import struct
#"""
mem = [0x42, 0x00, 0x01, 0x00, 0x00, 0x00, 0x42, 0x01, 0x01, 0x00,
0x00, 0x00, 0x42, 0x02, 0x00, 0x00, 0x00, 0x00, 0x48, 0x02,
0x64, 0x00, 0x00, 0x00, 0x92, 0x30, 0x00, 0x00, 0x00, 0x02,
0x03, 0x01, 0x03, 0x03, 0x00, 0x02, 0x00, 0x01, 0x02, 0x01,
0x03, 0x13, 0x02, 0x90, 0x12, 0x00, 0x00, ... | 35.971193 | 74 | 0.271708 | 910 | 8,741 | 2.601099 | 0.121978 | 0.106464 | 0.18251 | 0.084495 | 0.673426 | 0.641741 | 0.629911 | 0.617237 | 0.604985 | 0.530629 | 0 | 0.112395 | 0.60405 | 8,741 | 242 | 75 | 36.119835 | 0.571511 | 0.013385 | 0 | 0.609649 | 0 | 0 | 0.042151 | 0 | 0 | 0 | 0.033815 | 0 | 0 | 0 | null | null | 0.004386 | 0.004386 | null | null | 0.017544 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
309276b73a2f4d012e73d8dd0d05cf41b540f5f7 | 5,088 | py | Python | parameter_prediction/models/mlp.py | mdenil/parameter_prediction | 19eab7390100ae6986587c26194158e80df0f106 | [
"MIT"
] | 7 | 2016-04-10T15:39:35.000Z | 2020-08-03T10:07:09.000Z | parameter_prediction/models/mlp.py | mdenil/parameter_prediction | 19eab7390100ae6986587c26194158e80df0f106 | [
"MIT"
] | null | null | null | parameter_prediction/models/mlp.py | mdenil/parameter_prediction | 19eab7390100ae6986587c26194158e80df0f106 | [
"MIT"
] | 4 | 2017-11-14T04:58:35.000Z | 2020-07-02T12:59:35.000Z | import theano.tensor as T
from pylearn2.models import mlp
from pylearn2.space import VectorSpace
from pylearn2.utils import sharedX
from pylearn2.utils import safe_zip
from pylearn2.linear.matrixmul import MatrixMul
from collections import OrderedDict
class MLP(mlp.MLP):
def inv_prop(self, state_above):
se... | 31.214724 | 97 | 0.684748 | 678 | 5,088 | 4.89823 | 0.174041 | 0.048178 | 0.036134 | 0.048178 | 0.35411 | 0.292081 | 0.260163 | 0.201144 | 0.10539 | 0.10539 | 0 | 0.007136 | 0.228774 | 5,088 | 162 | 98 | 31.407407 | 0.839195 | 0.034591 | 0 | 0.307018 | 0 | 0 | 0.000408 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0.236842 | false | 0.017544 | 0.061404 | 0.157895 | 0.570175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
30966146082ebbb0b9604c2ecc6cc3788a26fe5a | 433 | py | Python | solution.py | GabielFemi/Numerical-Computation | ed8ee5addf7465880b826c87b3ea4fe813fea87d | [
"MIT"
] | null | null | null | solution.py | GabielFemi/Numerical-Computation | ed8ee5addf7465880b826c87b3ea4fe813fea87d | [
"MIT"
] | null | null | null | solution.py | GabielFemi/Numerical-Computation | ed8ee5addf7465880b826c87b3ea4fe813fea87d | [
"MIT"
] | null | null | null | print("Numerical Computation Algorithms by github.com/GabielFemi")
print("/n")
#Runge-Kutta Method of order 4
a = int(input("Enter the value of Xm: "))
b = int(input("Enter the value of Ym: "))
x0 = int(input("Enter the value of Xo: "))
y0 = int(input("Enter the value of Yo: "))
h = int(input("Enter the value of h: ... | 24.055556 | 66 | 0.632794 | 75 | 433 | 3.653333 | 0.453333 | 0.175182 | 0.284672 | 0.350365 | 0.50365 | 0.50365 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.203233 | 433 | 17 | 67 | 25.470588 | 0.77971 | 0.117783 | 0 | 0 | 0 | 0 | 0.455263 | 0.055263 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
30b115c10f0600b4edb7a04c1ee5980332c98616 | 506 | py | Python | meshroombot/__init__.py | JesseLeeuwen/meshroombot | daaba54d74df79930cd056937deffc7b6d5659b3 | [
"Unlicense"
] | null | null | null | meshroombot/__init__.py | JesseLeeuwen/meshroombot | daaba54d74df79930cd056937deffc7b6d5659b3 | [
"Unlicense"
] | null | null | null | meshroombot/__init__.py | JesseLeeuwen/meshroombot | daaba54d74df79930cd056937deffc7b6d5659b3 | [
"Unlicense"
] | null | null | null | from .core import GetJob
# program Design
# get available meshroombot Job
# search in scan directory for the first available folder
# check with rename
# folder name indicated status
# available
# [-] busy
# [#] done
# search in [#] scans for Meshroom/mesh.obj
... | 25.3 | 61 | 0.606719 | 57 | 506 | 5.385965 | 0.789474 | 0.052117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33004 | 506 | 19 | 62 | 26.631579 | 0.905605 | 0.703557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
30b6e82d3270abf43047ddd786d203ec5bf21e52 | 1,160 | py | Python | src/app/mod_vote/models.py | talsperre/Flask-Stackoverflow-App | f77501c00e7d5982c2216ff58cbca6857feb0af4 | [
"MIT"
] | 15 | 2018-07-20T08:38:42.000Z | 2021-12-06T08:25:47.000Z | src/app/mod_vote/models.py | talsperre/Flask-Stackoverflow-App | f77501c00e7d5982c2216ff58cbca6857feb0af4 | [
"MIT"
] | null | null | null | src/app/mod_vote/models.py | talsperre/Flask-Stackoverflow-App | f77501c00e7d5982c2216ff58cbca6857feb0af4 | [
"MIT"
] | 12 | 2018-03-02T02:36:20.000Z | 2022-02-12T16:08:52.000Z | from app import db, login_manager
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
from hashlib import md5
"""This is the model for Upvote class"""
class Upvote(db.Model):
__tablename__ = "upvotes"
vote_id = db.Column(db.Integer, primary_key = True)
user_id... | 40 | 75 | 0.757759 | 175 | 1,160 | 4.771429 | 0.274286 | 0.047904 | 0.11976 | 0.143713 | 0.675449 | 0.634731 | 0.634731 | 0.634731 | 0.634731 | 0.634731 | 0 | 0.00096 | 0.101724 | 1,160 | 28 | 76 | 41.428571 | 0.800384 | 0 | 0 | 0.545455 | 1 | 0 | 0.166976 | 0.038961 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.045455 | 0.181818 | 0.090909 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
30d73162e0a4cc57613c083e052f9a137b5eb815 | 342 | py | Python | sharpy/plans/acts/terran/morph_planetary.py | MadManSC2/sharpy-sc2 | 13950357df2db58033daab24f076e3ae83f0b2a8 | [
"MIT"
] | 1 | 2020-03-05T19:21:56.000Z | 2020-03-05T19:21:56.000Z | sharpy/plans/acts/terran/morph_planetary.py | MadManSC2/sharpy-sc2 | 13950357df2db58033daab24f076e3ae83f0b2a8 | [
"MIT"
] | null | null | null | sharpy/plans/acts/terran/morph_planetary.py | MadManSC2/sharpy-sc2 | 13950357df2db58033daab24f076e3ae83f0b2a8 | [
"MIT"
] | null | null | null | from sharpy.plans.acts.morph_building import MorphBuilding
from sc2 import UnitTypeId, AbilityId
class MorphPlanetary(MorphBuilding):
def __init__(self, target_count: int = 99):
super().__init__(UnitTypeId.COMMANDCENTER, AbilityId.UPGRADETOPLANETARYFORTRESS_PLANETARYFORTRESS, UnitTypeId.PLANETARYFOR... | 42.75 | 151 | 0.807018 | 34 | 342 | 7.764706 | 0.705882 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.122807 | 342 | 7 | 152 | 48.857143 | 0.87 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
30d89fe28b3e511abccfee54fe9ca8bfbacff691 | 346 | py | Python | python_lifecycle_training/calculator/simple.py | sp-95/python-lifecycle-training | e78a5daf570740ac60ba8e883d50c9a659356950 | [
"MIT"
] | 1 | 2020-10-09T03:45:39.000Z | 2020-10-09T03:45:39.000Z | python_lifecycle_training/calculator/simple.py | sp-95/python-lifecycle-training | e78a5daf570740ac60ba8e883d50c9a659356950 | [
"MIT"
] | null | null | null | python_lifecycle_training/calculator/simple.py | sp-95/python-lifecycle-training | e78a5daf570740ac60ba8e883d50c9a659356950 | [
"MIT"
] | 2 | 2021-01-31T08:28:10.000Z | 2021-03-02T08:15:59.000Z | from numbers import Real
import fire
from loguru import logger
def add(a: Real, b: Real) -> Real:
"""Add two numbers
Args:
a (Real): The first number
b (Real): The second number
Returns:
Real: Sum of two numbers
"""
logger.info(f"Adding {a} to {b}")
return a + b
def m... | 15.043478 | 37 | 0.583815 | 52 | 346 | 3.884615 | 0.5 | 0.049505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303468 | 346 | 22 | 38 | 15.727273 | 0.838174 | 0.349711 | 0 | 0 | 0 | 0 | 0.087629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
30f834040d8bf6f3f9f16cb5e9face35c7908bae | 873 | py | Python | src/imdb_trailer.py | polzbit/imdb_scraper | 78e8b03e7b141604cc8ce410d9ff615ef8451d03 | [
"MIT"
] | null | null | null | src/imdb_trailer.py | polzbit/imdb_scraper | 78e8b03e7b141604cc8ce410d9ff615ef8451d03 | [
"MIT"
] | null | null | null | src/imdb_trailer.py | polzbit/imdb_scraper | 78e8b03e7b141604cc8ce410d9ff615ef8451d03 | [
"MIT"
] | null | null | null | ##################################################################################
# scrape imdb.com for information about a title trailer
##################################################################################
from selenium.webdriver.common.by import By
from src.imdb_locators import ImdbLocators
c... | 37.956522 | 97 | 0.578465 | 91 | 873 | 5.32967 | 0.373626 | 0.103093 | 0.086598 | 0.129897 | 0.259794 | 0.259794 | 0.259794 | 0.17732 | 0 | 0 | 0 | 0 | 0.174112 | 873 | 22 | 98 | 39.681818 | 0.672677 | 0.06071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.214286 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a507f0e7eba43e37ff6eb318f1b9272539f15687 | 106 | py | Python | BOJ/1712.py | Jaesin22/TIL | d0aa137af79c22ea9eb0ff1c7a0264c086ebe1b2 | [
"MIT"
] | null | null | null | BOJ/1712.py | Jaesin22/TIL | d0aa137af79c22ea9eb0ff1c7a0264c086ebe1b2 | [
"MIT"
] | null | null | null | BOJ/1712.py | Jaesin22/TIL | d0aa137af79c22ea9eb0ff1c7a0264c086ebe1b2 | [
"MIT"
] | null | null | null | A, B, C = list(map(int, input().split()))
if C <= B:
print('-1')
else:
print(int(A / (C-B) + 1))
| 15.142857 | 41 | 0.462264 | 20 | 106 | 2.45 | 0.6 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.245283 | 106 | 6 | 42 | 17.666667 | 0.5875 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a51247779cc74347a01d57200e3de1c55b8298a2 | 151 | py | Python | wallet/apps.py | saczuac/bbdd2 | 08436c3db08fbb39349fead50609ec9d2c78ca57 | [
"MIT"
] | null | null | null | wallet/apps.py | saczuac/bbdd2 | 08436c3db08fbb39349fead50609ec9d2c78ca57 | [
"MIT"
] | null | null | null | wallet/apps.py | saczuac/bbdd2 | 08436c3db08fbb39349fead50609ec9d2c78ca57 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WalletConfig(AppConfig):
name = 'wallet'
def ready(self):
super(WalletConfig, self).ready()
| 16.777778 | 41 | 0.682119 | 17 | 151 | 6.058824 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211921 | 151 | 8 | 42 | 18.875 | 0.865546 | 0 | 0 | 0 | 0 | 0 | 0.039735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
a51bfe0f130f4ea16d50054a527f48adfe833a86 | 152 | py | Python | jotter/__init__.py | Figglewatts/jotter | 9e8f01eaefc9c5039e38a24bb9a1874ab49e6414 | [
"MIT"
] | null | null | null | jotter/__init__.py | Figglewatts/jotter | 9e8f01eaefc9c5039e38a24bb9a1874ab49e6414 | [
"MIT"
] | 3 | 2020-07-28T08:49:23.000Z | 2020-08-04T08:23:23.000Z | jotter/__init__.py | Figglewatts/jotter | 9e8f01eaefc9c5039e38a24bb9a1874ab49e6414 | [
"MIT"
] | null | null | null | """jotter
The main functionality of jotter, including CLI and other modules.
Author:
Figglewatts <me@figglewatts.co.uk>
"""
__version__ = "0.1.3" | 16.888889 | 66 | 0.717105 | 21 | 152 | 5 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.157895 | 152 | 9 | 67 | 16.888889 | 0.796875 | 0.802632 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eb4f7238f8b0f6bbf684a2a88ccf89e7e48fc9c5 | 1,282 | py | Python | user/serialiszer.py | Himself65/VueWeb-Backend | cff21fcc1cff9d4432783dedc05620347787ee1b | [
"MIT"
] | 1 | 2018-06-25T15:20:38.000Z | 2018-06-25T15:20:38.000Z | user/serialiszer.py | Himself65/VueWeb-Backend | cff21fcc1cff9d4432783dedc05620347787ee1b | [
"MIT"
] | null | null | null | user/serialiszer.py | Himself65/VueWeb-Backend | cff21fcc1cff9d4432783dedc05620347787ee1b | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
有关User的序列器
"""
from rest_framework import serializers
from django.db import models
from django.contrib.auth.models import User
# local
from .models import UserProfile
class UserSerializers(serializers.ModelSerializer):
"""
User数据序列化器
适用于各种ForeignKey查找
"""
... | 22.892857 | 72 | 0.656786 | 125 | 1,282 | 6.632 | 0.496 | 0.062726 | 0.050663 | 0.043426 | 0.190591 | 0.190591 | 0.11339 | 0 | 0 | 0 | 0 | 0.00203 | 0.231669 | 1,282 | 55 | 73 | 23.309091 | 0.839594 | 0.100624 | 0 | 0.192308 | 0 | 0 | 0.056518 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 0.038462 | false | 0.115385 | 0.153846 | 0 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
eb739078d2f4e3816bea273b9266c415057f0104 | 387 | py | Python | limitedstack.py | anthonycurtisadler/ARCADES | 3ca061776ef7c43d0ce29f2759df00738c8f9e82 | [
"MIT"
] | 7 | 2019-05-30T22:21:48.000Z | 2021-02-11T12:25:31.000Z | limitedstack.py | anthonycurtisadler/ARCADES | 3ca061776ef7c43d0ce29f2759df00738c8f9e82 | [
"MIT"
] | 4 | 2020-06-22T22:36:43.000Z | 2020-07-10T13:11:10.000Z | limitedstack.py | anthonycurtisadler/ARCADES | 3ca061776ef7c43d0ce29f2759df00738c8f9e82 | [
"MIT"
] | null | null | null | class LimitedStack:
def __init__ (self,max_size=200):
self.stack = []
self.max_size = max_size
def add (self,item=None):
self.stack.append(item)
if len(self.stack) > self.max_size:
self.stack = self.stack[1:]
def get (self):
... | 19.35 | 46 | 0.498708 | 46 | 387 | 4.021739 | 0.413043 | 0.340541 | 0.178378 | 0.172973 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017021 | 0.392765 | 387 | 19 | 47 | 20.368421 | 0.770213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eb8d947b2c6bec49ed5e06c50f0d5b94bbdbfd2f | 136 | py | Python | spotibox/__init__.py | MartinHanewald/spotibox | 756aee5ade649a85e7973fbc375211e214db72ca | [
"MIT"
] | 1 | 2020-12-21T21:31:39.000Z | 2020-12-21T21:31:39.000Z | spotibox/__init__.py | MartinHanewald/spotibox | 756aee5ade649a85e7973fbc375211e214db72ca | [
"MIT"
] | null | null | null | spotibox/__init__.py | MartinHanewald/spotibox | 756aee5ade649a85e7973fbc375211e214db72ca | [
"MIT"
] | null | null | null | """Top-level package for spotibox."""
__author__ = """Martin Hanewald"""
__email__ = 'martin.hanewald@gmail.com'
__version__ = '0.2.0'
| 22.666667 | 39 | 0.698529 | 17 | 136 | 4.882353 | 0.823529 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.110294 | 136 | 5 | 40 | 27.2 | 0.661157 | 0.227941 | 0 | 0 | 0 | 0 | 0.454545 | 0.252525 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eb92c44a302e08ce2b414ef8bc849e523dd8c61b | 2,444 | py | Python | pyretrommo/gen/class_info.py | snwhd/pyretrommo | fabb523d9b4385ed8a1ff0b2ac787cc5d88a23b7 | [
"blessing"
] | 1 | 2021-11-25T09:33:30.000Z | 2021-11-25T09:33:30.000Z | pyretrommo/gen/class_info.py | snwhd/pyretrommo | fabb523d9b4385ed8a1ff0b2ac787cc5d88a23b7 | [
"blessing"
] | null | null | null | pyretrommo/gen/class_info.py | snwhd/pyretrommo | fabb523d9b4385ed8a1ff0b2ac787cc5d88a23b7 | [
"blessing"
] | null | null | null | #!/usr/bin/env python3
# this file is auto-generated by gen_from_wiki.py
from __future__ import annotations
from typing import (
Dict,
Tuple,
)
from ..item import EquipmentItem
from .ability import Ability
from .equipment import find_equipment
from .player_class import PlayerClass
CLASS_ABILITIES: Dict[Player... | 29.804878 | 66 | 0.619067 | 246 | 2,444 | 5.979675 | 0.288618 | 0.291638 | 0.114208 | 0.042828 | 0.46499 | 0.46499 | 0.211421 | 0.161115 | 0.161115 | 0.161115 | 0 | 0.027945 | 0.253273 | 2,444 | 81 | 67 | 30.17284 | 0.778082 | 0.028232 | 0 | 0.513514 | 1 | 0 | 0.160202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.040541 | 0.081081 | 0 | 0.081081 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eb9e75bb2b71053b91ce942a3294c5f513d8dd37 | 867 | py | Python | src/xia2/Experts/test_LatticeExpert.py | graeme-winter/xia2 | e00d688137d4ddb4b125be9a3f37ae00265886c2 | [
"BSD-3-Clause"
] | 10 | 2015-10-30T06:36:55.000Z | 2021-12-10T20:06:22.000Z | src/xia2/Experts/test_LatticeExpert.py | graeme-winter/xia2 | e00d688137d4ddb4b125be9a3f37ae00265886c2 | [
"BSD-3-Clause"
] | 528 | 2015-11-24T08:20:12.000Z | 2022-03-21T21:47:29.000Z | src/xia2/Experts/test_LatticeExpert.py | graeme-winter/xia2 | e00d688137d4ddb4b125be9a3f37ae00265886c2 | [
"BSD-3-Clause"
] | 14 | 2016-03-15T22:07:03.000Z | 2020-12-14T07:13:35.000Z | import pytest
import xia2.Experts.LatticeExpert
def test_lattice_expert():
cell, dist = xia2.Experts.LatticeExpert.ApplyLattice(
"oP", (23.0, 24.0, 25.0, 88.9, 90.0, 90.1)
)
assert cell == (23.0, 24.0, 25.0, 90.0, 90.0, 90.0)
assert dist == pytest.approx(1.2)
def test_SortLattices():
la... | 29.896552 | 68 | 0.539792 | 154 | 867 | 3.006494 | 0.285714 | 0.155508 | 0.155508 | 0.207343 | 0.382289 | 0.362851 | 0.323974 | 0.323974 | 0.323974 | 0.323974 | 0 | 0.289985 | 0.228374 | 867 | 28 | 69 | 30.964286 | 0.402093 | 0 | 0 | 0 | 0 | 0 | 0.029988 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ebbc0a669aebf4267fd3237368e5bf50392a93da | 1,298 | py | Python | WEB21-1-12/WEB2/power/migrations/0001_initial.py | coderdq/vuetest | 28ea4f36e2c4e7e80d1ba1777ef312733ef84048 | [
"MIT"
] | null | null | null | WEB21-1-12/WEB2/power/migrations/0001_initial.py | coderdq/vuetest | 28ea4f36e2c4e7e80d1ba1777ef312733ef84048 | [
"MIT"
] | null | null | null | WEB21-1-12/WEB2/power/migrations/0001_initial.py | coderdq/vuetest | 28ea4f36e2c4e7e80d1ba1777ef312733ef84048 | [
"MIT"
] | null | null | null | # Generated by Django 2.2 on 2020-10-15 01:02
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='POWER',
fields=[
('id', models.AutoField(auto... | 37.085714 | 114 | 0.560863 | 123 | 1,298 | 5.821138 | 0.455285 | 0.188547 | 0.226257 | 0.301676 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031659 | 0.294299 | 1,298 | 34 | 115 | 38.176471 | 0.75 | 0.033128 | 0 | 0 | 1 | 0 | 0.077414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ebbe9efe85c553eb1570aa662fc476a5a2a7a1d1 | 457 | py | Python | apps/count/migrations/0009_auto_20200114_1844.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 12 | 2020-02-01T01:52:01.000Z | 2021-04-28T15:06:43.000Z | apps/count/migrations/0009_auto_20200114_1844.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 5 | 2020-02-06T08:07:58.000Z | 2020-06-02T13:03:45.000Z | apps/count/migrations/0009_auto_20200114_1844.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 11 | 2020-02-03T13:07:46.000Z | 2020-11-29T01:44:06.000Z | # Generated by Django 2.2 on 2020-01-14 10:44
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('count', '0008_auto_20190326_1600'),
]
operations = [
migrations.RemoveField(
model_name='orderstatistics',
name='sub_num',
... | 20.772727 | 45 | 0.586433 | 43 | 457 | 6.069767 | 0.72093 | 0.16092 | 0.199234 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094937 | 0.308534 | 457 | 21 | 46 | 21.761905 | 0.731013 | 0.094092 | 0 | 0.266667 | 1 | 0 | 0.199029 | 0.055825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ebcb259d74cef5aa6962ad75c710446dac57d582 | 62 | py | Python | app/app/routes/webhooks/__init__.py | finalsa/base-fastapi-api | 134a14c7bb7ec3d9f9c32beecae2ab8c51e820a3 | [
"MIT"
] | null | null | null | app/app/routes/webhooks/__init__.py | finalsa/base-fastapi-api | 134a14c7bb7ec3d9f9c32beecae2ab8c51e820a3 | [
"MIT"
] | null | null | null | app/app/routes/webhooks/__init__.py | finalsa/base-fastapi-api | 134a14c7bb7ec3d9f9c32beecae2ab8c51e820a3 | [
"MIT"
] | null | null | null | from fastapi import APIRouter
router_webhooks = APIRouter()
| 12.4 | 29 | 0.806452 | 7 | 62 | 7 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 62 | 4 | 30 | 15.5 | 0.924528 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ebdf5e323b78f3001ab0699758b1dbda4d19e1d6 | 958 | py | Python | mini_keras/activations.py | Deep-Alchemy/Mini-Keras | 07aeb129c2530d39dc4dcea139c6fba72268d535 | [
"MIT"
] | 12 | 2021-04-20T09:55:46.000Z | 2022-01-18T13:12:54.000Z | mini_keras/activations.py | Deep-Alchemy/Mini-Keras | 07aeb129c2530d39dc4dcea139c6fba72268d535 | [
"MIT"
] | null | null | null | mini_keras/activations.py | Deep-Alchemy/Mini-Keras | 07aeb129c2530d39dc4dcea139c6fba72268d535 | [
"MIT"
] | 2 | 2021-04-18T14:05:20.000Z | 2021-10-06T14:13:44.000Z | import numpy as np
from .base import BaseActivation
class Identity(BaseActivation):
def f(self, x):
return x
def df(self, x, cached_y=None):
return np.full(x.shape, 1)
class Sigmoid(BaseActivation):
def f(self, x):
return np.where(x >= 0, 1 / (1 + np.exp(-x)), np.exp(x) / (1 + ... | 21.288889 | 82 | 0.593946 | 153 | 958 | 3.679739 | 0.287582 | 0.071048 | 0.127886 | 0.156306 | 0.410302 | 0.344583 | 0.293073 | 0.145648 | 0.106572 | 0.106572 | 0 | 0.016949 | 0.26096 | 958 | 44 | 83 | 21.772727 | 0.778249 | 0.032359 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.178571 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
cce3334b483232a6077d9b5f323d097dbeea24f9 | 138 | py | Python | tock/projects/templatetags/project_tags.py | mikiec84/tock | 15318a45b2b144360e4d7e15db655467a45c2ab9 | [
"CC0-1.0"
] | 134 | 2015-02-02T18:42:03.000Z | 2022-01-20T04:27:06.000Z | tock/projects/templatetags/project_tags.py | mikiec84/tock | 15318a45b2b144360e4d7e15db655467a45c2ab9 | [
"CC0-1.0"
] | 1,220 | 2015-03-19T01:57:30.000Z | 2022-03-23T21:52:15.000Z | tock/projects/templatetags/project_tags.py | mikiec84/tock | 15318a45b2b144360e4d7e15db655467a45c2ab9 | [
"CC0-1.0"
] | 49 | 2015-03-09T15:44:33.000Z | 2022-01-19T02:02:37.000Z | from django import template
register = template.Library()
def get(value, key):
return value.get(key)
register.filter('get', get)
| 12.545455 | 29 | 0.710145 | 19 | 138 | 5.157895 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 138 | 10 | 30 | 13.8 | 0.852174 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ccf3f77a46e4b6ec933c7706b2096f1126fec18e | 15 | py | Python | syncli/api/filters.py | comodit/synapse-client | 9bc7fcc09367bc1f6ac7baff6f38fde9cbcdbf39 | [
"MIT"
] | 2 | 2016-06-23T05:57:37.000Z | 2021-02-02T06:47:35.000Z | syncli/api/filters.py | comodit/synapse-client | 9bc7fcc09367bc1f6ac7baff6f38fde9cbcdbf39 | [
"MIT"
] | null | null | null | syncli/api/filters.py | comodit/synapse-client | 9bc7fcc09367bc1f6ac7baff6f38fde9cbcdbf39 | [
"MIT"
] | 2 | 2017-09-23T00:05:51.000Z | 2019-05-13T15:43:48.000Z |
filters = {}
| 3.75 | 12 | 0.466667 | 1 | 15 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 15 | 3 | 13 | 5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ccf6172227b1e14f311ee6b831829a6b218e7209 | 421 | py | Python | finial/admin.py | gmcquillan/django-finial | c760001d3c7b02014fc9a928d451dc6b972a2e5e | [
"BSD-3-Clause"
] | 1 | 2015-09-28T20:52:30.000Z | 2015-09-28T20:52:30.000Z | finial/admin.py | gmcquillan/django-finial | c760001d3c7b02014fc9a928d451dc6b972a2e5e | [
"BSD-3-Clause"
] | null | null | null | finial/admin.py | gmcquillan/django-finial | c760001d3c7b02014fc9a928d451dc6b972a2e5e | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from finial import models
class UserTemplateOverrideAdmin(admin.ModelAdmin):
search_fields = ('user', 'override_name', 'override_dir')
raw_id_fields = ('user',)
list_display = ('user', 'override_name', 'override_dir', 'priority', )
list_filter = ('override_name', 'over... | 26.3125 | 74 | 0.729216 | 44 | 421 | 6.727273 | 0.568182 | 0.121622 | 0.202703 | 0.233108 | 0.182432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147268 | 421 | 15 | 75 | 28.066667 | 0.824513 | 0 | 0 | 0 | 0 | 0 | 0.225653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ccf8da6f166e9c8409014824e7ef7897b6684049 | 141 | py | Python | src/library/apps.py | klown/clusive | 3c89dae967dfe190c2cdf269915c6ace968d1bfb | [
"bzip2-1.0.6"
] | null | null | null | src/library/apps.py | klown/clusive | 3c89dae967dfe190c2cdf269915c6ace968d1bfb | [
"bzip2-1.0.6"
] | null | null | null | src/library/apps.py | klown/clusive | 3c89dae967dfe190c2cdf269915c6ace968d1bfb | [
"bzip2-1.0.6"
] | null | null | null | from django.apps import AppConfig
class LibraryConfig(AppConfig):
name = 'library'
def ready(self):
import library.signals | 17.625 | 33 | 0.702128 | 16 | 141 | 6.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219858 | 141 | 8 | 34 | 17.625 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
69166bf17250ad4034c7d068894c86bc2b30698e | 261 | py | Python | setup.py | boborot/python-screwdrivercd | c4f1165741c8af7a47c126ee4abc5504c350a77f | [
"Apache-2.0"
] | 6 | 2019-12-31T21:49:07.000Z | 2021-06-22T21:50:32.000Z | setup.py | boborot/python-screwdrivercd | c4f1165741c8af7a47c126ee4abc5504c350a77f | [
"Apache-2.0"
] | 24 | 2019-11-19T00:35:14.000Z | 2021-03-27T16:55:37.000Z | setup.py | boborot/python-screwdrivercd | c4f1165741c8af7a47c126ee4abc5504c350a77f | [
"Apache-2.0"
] | 10 | 2019-12-09T19:14:54.000Z | 2021-10-03T06:17:52.000Z | #!/usr/bin/env python
# Copyright 2019, Oath Inc.
# Licensed under the terms of the Apache 2.0 license. See the LICENSE file in the project root for terms
"""
Package setup file for python module screwdrivercd
"""
import setuptools
setuptools.setup()
| 26.1 | 105 | 0.735632 | 39 | 261 | 4.923077 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.187739 | 261 | 9 | 106 | 29 | 0.877358 | 0.770115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 3 |
69264820ccee0834ed64e27ebb3850dca3b8dc52 | 418 | py | Python | pymodbus3/datastore/__init__.py | phygitalism/pymodbus3 | 28edc8d6455af880b5d86651eda66a3563ed67e8 | [
"BSD-3-Clause"
] | 40 | 2015-12-01T09:10:20.000Z | 2021-07-10T17:30:32.000Z | pymodbus3/datastore/__init__.py | phygitalism/pymodbus3 | 28edc8d6455af880b5d86651eda66a3563ed67e8 | [
"BSD-3-Clause"
] | 12 | 2016-06-03T03:06:43.000Z | 2019-09-06T06:35:06.000Z | pymodbus3/datastore/__init__.py | phygitalism/pymodbus3 | 28edc8d6455af880b5d86651eda66a3563ed67e8 | [
"BSD-3-Clause"
] | 17 | 2015-09-02T07:25:46.000Z | 2021-08-10T13:07:55.000Z | # -*- coding: utf-8 -*-
from pymodbus3.datastore.store import ModbusSequentialDataBlock
from pymodbus3.datastore.store import ModbusSparseDataBlock
from pymodbus3.datastore.context import ModbusSlaveContext
from pymodbus3.datastore.context import ModbusServerContext
# Exported symbols
__all__ = [
'ModbusSequenti... | 26.125 | 63 | 0.799043 | 34 | 418 | 9.705882 | 0.470588 | 0.157576 | 0.266667 | 0.163636 | 0.412121 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013624 | 0.12201 | 418 | 15 | 64 | 27.866667 | 0.885559 | 0.090909 | 0 | 0 | 0 | 0 | 0.220159 | 0.122016 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6929a8830076e7270c1c02d1b984289f58a53b69 | 1,078 | py | Python | django-budget/category/models.py | eliostvs/django-budget | c3b181e0dd259f14de6cb6f537508190e1344ec3 | [
"MIT"
] | null | null | null | django-budget/category/models.py | eliostvs/django-budget | c3b181e0dd259f14de6cb6f537508190e1344ec3 | [
"MIT"
] | null | null | null | django-budget/category/models.py | eliostvs/django-budget | c3b181e0dd259f14de6cb6f537508190e1344ec3 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.core.urlresolvers import reverse
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.utils.encoding import python_2_unicode_compatible
from base.models import ActiveManager, StandardMetadata
@python_2_unicode_compatible... | 29.944444 | 77 | 0.742115 | 132 | 1,078 | 5.848485 | 0.583333 | 0.051813 | 0.03886 | 0.062176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005695 | 0.185529 | 1,078 | 35 | 78 | 30.8 | 0.873576 | 0.249536 | 0 | 0 | 0 | 0 | 0.061776 | 0.028314 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.315789 | 0.105263 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
693a012df7e9aa7022e7b73a754eb05d2d84144a | 653 | py | Python | hysds_commons/net_utils.py | hysds/hysds_commons | c6b983ba39fe0a1cd8389492420097b6c68388bb | [
"Apache-2.0"
] | 1 | 2019-10-18T21:30:26.000Z | 2019-10-18T21:30:26.000Z | hysds_commons/net_utils.py | hysds/hysds_commons | c6b983ba39fe0a1cd8389492420097b6c68388bb | [
"Apache-2.0"
] | 11 | 2019-07-11T22:32:17.000Z | 2021-03-29T23:42:49.000Z | hysds_commons/net_utils.py | hysds/hysds_commons | c6b983ba39fe0a1cd8389492420097b6c68388bb | [
"Apache-2.0"
] | 1 | 2019-02-07T19:56:53.000Z | 2019-02-07T19:56:53.000Z | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import os
import sys
import hysds_commons.linux_utils
def get_container_host_ip():
"""Return ... | 31.095238 | 78 | 0.788668 | 87 | 653 | 5.551724 | 0.528736 | 0.10352 | 0.165631 | 0.091097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156202 | 653 | 20 | 79 | 32.65 | 0.876588 | 0.203675 | 0 | 0 | 0 | 0 | 0.061144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0 | 0.571429 | 0 | 0.714286 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
694c3ecf45c70bd0dcf33d70f62a1c6f14ef5959 | 460 | py | Python | base_kivy.py | Perceu/tkinter-examples | cc3f10c49de409f75e261b06938d2258696eb08e | [
"MIT"
] | null | null | null | base_kivy.py | Perceu/tkinter-examples | cc3f10c49de409f75e261b06938d2258696eb08e | [
"MIT"
] | null | null | null | base_kivy.py | Perceu/tkinter-examples | cc3f10c49de409f75e261b06938d2258696eb08e | [
"MIT"
] | null | null | null | from kivy.app import App
from kivy.uix.gridlayout import GridLayout
from kivy.uix.label import Label
from kivy.uix.textinput import TextInput
from kivy.uix.button import Button
from kivy.uix.popup import Popup
class Screen(GridLayout):
def __init__(self) -> None:
super().__init__()
self.add_widge... | 20.909091 | 50 | 0.7 | 64 | 460 | 4.765625 | 0.453125 | 0.157377 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191304 | 460 | 22 | 51 | 20.909091 | 0.819892 | 0 | 0 | 0 | 0 | 0 | 0.036876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.4 | 0.066667 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
15dd57ce83fd7a8598e1bc998d3e31808cbcd109 | 218 | py | Python | scripts/loadings.py | daniele21/Financial_Sentiment_Analysis | 3734733f2d1d291c81a6239de121edcce861b463 | [
"MIT"
] | null | null | null | scripts/loadings.py | daniele21/Financial_Sentiment_Analysis | 3734733f2d1d291c81a6239de121edcce861b463 | [
"MIT"
] | null | null | null | scripts/loadings.py | daniele21/Financial_Sentiment_Analysis | 3734733f2d1d291c81a6239de121edcce861b463 | [
"MIT"
] | 1 | 2021-08-18T01:40:56.000Z | 2021-08-18T01:40:56.000Z | import json
from constants.paths import CONTRACTION_DICT_PATH
def load_contractions_dict():
with open(CONTRACTION_DICT_PATH, 'r') as f:
contr_dict = json.load(f)
f.close()
return contr_dict
| 18.166667 | 49 | 0.706422 | 31 | 218 | 4.709677 | 0.612903 | 0.205479 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215596 | 218 | 11 | 50 | 19.818182 | 0.853801 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
15e24d5c358539f49327b12d0803591a5e5155be | 2,713 | py | Python | blog/models.py | giranezafiacre/django-blog | 40fd0d7c775f54c4e55a342476e0857e67279e1b | [
"MIT"
] | null | null | null | blog/models.py | giranezafiacre/django-blog | 40fd0d7c775f54c4e55a342476e0857e67279e1b | [
"MIT"
] | null | null | null | blog/models.py | giranezafiacre/django-blog | 40fd0d7c775f54c4e55a342476e0857e67279e1b | [
"MIT"
] | null | null | null | from django.conf import settings
from django.db import models
# Create your models here.
from django.urls import reverse # Used to generate URLs by reversing the URL patterns
import datetime
class Post(models.Model):
title = models.CharField(max_length=200,null=False)
content = models.TextField(max_length=300... | 43.758065 | 120 | 0.710652 | 370 | 2,713 | 5 | 0.237838 | 0.065405 | 0.068108 | 0.082703 | 0.701081 | 0.684324 | 0.684324 | 0.684324 | 0.684324 | 0.684324 | 0 | 0.007052 | 0.163656 | 2,713 | 61 | 121 | 44.47541 | 0.808286 | 0.105787 | 0 | 0.428571 | 1 | 0 | 0.142976 | 0.00917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.095238 | 0.02381 | 0.928571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c62b278d58b800b21bbf054e0ad683004c1377c5 | 256 | py | Python | rocket/a_car_rental/b_car_rental/admin.py | t444ov/django-carrental | 64d2071468a311d000ea307e213b980818f6bff6 | [
"BSD-3-Clause"
] | null | null | null | rocket/a_car_rental/b_car_rental/admin.py | t444ov/django-carrental | 64d2071468a311d000ea307e213b980818f6bff6 | [
"BSD-3-Clause"
] | null | null | null | rocket/a_car_rental/b_car_rental/admin.py | t444ov/django-carrental | 64d2071468a311d000ea307e213b980818f6bff6 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Car, RentCar
@admin.register(Car)
class Car(admin.ModelAdmin):
class Meta:
model = Car
@admin.register(RentCar)
class RentCar(admin.ModelAdmin):
class Meta:
model = RentCar
| 15.058824 | 32 | 0.695313 | 32 | 256 | 5.5625 | 0.40625 | 0.134831 | 0.224719 | 0.269663 | 0.325843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214844 | 256 | 16 | 33 | 16 | 0.885572 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c640339d8576dd40a80324fc735cb9f75d083c95 | 4,887 | py | Python | tests/test_theme.py | LukeMS/pyglet-gui | 20ec4b335c9af3698dfa8328894544d4d0417973 | [
"BSD-3-Clause"
] | 52 | 2015-04-18T20:45:52.000Z | 2021-11-21T14:50:10.000Z | tests/test_theme.py | LukeMS/pyglet-gui | 20ec4b335c9af3698dfa8328894544d4d0417973 | [
"BSD-3-Clause"
] | 8 | 2015-06-14T19:35:55.000Z | 2018-06-29T13:52:28.000Z | tests/test_theme.py | jorgecarleitao/pyglet-gui | 20ec4b335c9af3698dfa8328894544d4d0417973 | [
"BSD-3-Clause"
] | 21 | 2015-07-22T16:21:11.000Z | 2021-09-23T09:37:43.000Z | import unittest
import pyglet
from pyglet_gui.theme import Theme
class TestTheme(unittest.TestCase):
"""
Tests basic functionality of theme such as
initializing a theme and generating graphical elements.
"""
def test_access(self):
theme = Theme({'first depth': {
'second depth... | 33.703448 | 112 | 0.526294 | 544 | 4,887 | 4.643382 | 0.137868 | 0.098971 | 0.112827 | 0.118765 | 0.758116 | 0.733175 | 0.700713 | 0.683294 | 0.683294 | 0.61441 | 0 | 0.04697 | 0.324739 | 4,887 | 144 | 113 | 33.9375 | 0.718485 | 0.067526 | 0 | 0.602151 | 0 | 0 | 0.160079 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 1 | 0.129032 | false | 0 | 0.032258 | 0 | 0.182796 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d67b3df3e39047245d408df7c537579d39529dc0 | 1,493 | py | Python | src/eduid_webapp/email/tests/test_msgs.py | SUNET/eduid-webapp | 8e531f288d50d18a5c9182003fff2ab6670a44c3 | [
"BSD-3-Clause"
] | null | null | null | src/eduid_webapp/email/tests/test_msgs.py | SUNET/eduid-webapp | 8e531f288d50d18a5c9182003fff2ab6670a44c3 | [
"BSD-3-Clause"
] | 161 | 2017-04-13T07:56:38.000Z | 2021-03-12T13:46:38.000Z | src/eduid_webapp/email/tests/test_msgs.py | SUNET/eduid-webapp | 8e531f288d50d18a5c9182003fff2ab6670a44c3 | [
"BSD-3-Clause"
] | 3 | 2016-05-16T20:25:49.000Z | 2018-07-27T12:10:58.000Z | # -*- coding: utf-8 -*-
import unittest
from eduid_webapp.email.helpers import EmailMsg
class MessagesTests(unittest.TestCase):
def test_messages(self):
""""""
self.assertEqual(EmailMsg.missing.value, 'emails.missing')
self.assertEqual(EmailMsg.dupe.value, 'emails.duplicated')
se... | 55.296296 | 108 | 0.752847 | 171 | 1,493 | 6.385965 | 0.298246 | 0.21978 | 0.336996 | 0.137363 | 0.124542 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0.000769 | 0.1286 | 1,493 | 26 | 109 | 57.423077 | 0.838586 | 0.014066 | 0 | 0 | 0 | 0 | 0.248634 | 0.155738 | 0 | 0 | 0 | 0 | 0.8 | 1 | 0.05 | false | 0 | 0.1 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d6827d53a57a53b1ec64a21a653d40c5fb972bff | 7,255 | py | Python | modules/test_print.py | bq666/Simnigma | b2f59fff24b33eb97077ad50a5376cf3a24b8911 | [
"Unlicense"
] | null | null | null | modules/test_print.py | bq666/Simnigma | b2f59fff24b33eb97077ad50a5376cf3a24b8911 | [
"Unlicense"
] | null | null | null | modules/test_print.py | bq666/Simnigma | b2f59fff24b33eb97077ad50a5376cf3a24b8911 | [
"Unlicense"
] | null | null | null | import decimal
from math import log
from modules.__tools_single import bcolors, generate_from_64b_inter_key
from modules.tools import check_text_const, check_rand_rotors, check_patterns, \
check_all_patterns, calc_number_comb, print_long, key_from_64b_to_dec
def test_print(rotors, key_enc = [], key_dec = [], text_b... | 59.467213 | 157 | 0.647553 | 1,042 | 7,255 | 4.25144 | 0.119962 | 0.037923 | 0.047404 | 0.051467 | 0.569752 | 0.493905 | 0.432731 | 0.373589 | 0.338826 | 0.285779 | 0 | 0.017707 | 0.182633 | 7,255 | 121 | 158 | 59.958678 | 0.729342 | 0.030324 | 0 | 0.135417 | 1 | 0 | 0.139075 | 0 | 0.010417 | 0 | 0 | 0 | 0 | 1 | 0.010417 | false | 0.0625 | 0.041667 | 0 | 0.052083 | 0.479167 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
d6b46a10bec4cd6109fb16dd3ac3f3ddcff81ed0 | 729 | py | Python | src/config/security.py | mmozos/eguraldia | a815c681b5cf73827e3576b1e10cf10bf148fe8a | [
"MIT"
] | null | null | null | src/config/security.py | mmozos/eguraldia | a815c681b5cf73827e3576b1e10cf10bf148fe8a | [
"MIT"
] | null | null | null | src/config/security.py | mmozos/eguraldia | a815c681b5cf73827e3576b1e10cf10bf148fe8a | [
"MIT"
] | 1 | 2020-11-02T13:04:49.000Z | 2020-11-02T13:04:49.000Z |
from os import getenv
class Config:
SECURITY_PASSWORD_HASH = getenv(key='SECURITY_PASSWORD_HASH', default='bcrypt')
# Bcrypt is set as default SECURITY_PASSWORD_HASH, which requires a salt
SECURITY_PASSWORD_SALT = getenv(key='SECURITY_PASSWORD_SALT',
default='246157207... | 48.6 | 86 | 0.754458 | 78 | 729 | 6.794872 | 0.333333 | 0.118868 | 0.224528 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063622 | 0.159122 | 729 | 14 | 87 | 52.071429 | 0.800979 | 0.096022 | 0 | 0 | 0 | 0 | 0.285061 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.1 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d6b5dae25349a6ef2ba50209569450072b8a0722 | 106 | py | Python | lambdata_maxim371/df_utils.py | maxim371/lambdata | 9ce0e01761ade03599ddaa1a4dd7b362e1d6f914 | [
"MIT"
] | null | null | null | lambdata_maxim371/df_utils.py | maxim371/lambdata | 9ce0e01761ade03599ddaa1a4dd7b362e1d6f914 | [
"MIT"
] | 3 | 2020-03-24T18:11:14.000Z | 2021-02-02T22:44:31.000Z | lambdata_maxim371/df_utils.py | maxim371/lambdata | 9ce0e01761ade03599ddaa1a4dd7b362e1d6f914 | [
"MIT"
] | null | null | null | '''
utility functions for working with Dataframes
'''
import pandas
TEST_DF = pandas.DataFrame([1,2,3])
| 13.25 | 45 | 0.726415 | 15 | 106 | 5.066667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.141509 | 106 | 7 | 46 | 15.142857 | 0.802198 | 0.424528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d6b6bb85de8c20eb5a2ae542aa1c390eb465b07b | 3,583 | py | Python | LDSReplicate/lds/ESRIDataStore.py | josephramsay/LDS | 8ee2bafc5fa69d47a9460d5920fc39cd2514a97f | [
"PostgreSQL"
] | 1 | 2018-09-08T02:04:17.000Z | 2018-09-08T02:04:17.000Z | LDSReplicate/lds/ESRIDataStore.py | linz/lds_replicate | 38fb97b075a5c5b97c69a640241d7b8d01f015c5 | [
"PostgreSQL"
] | null | null | null | LDSReplicate/lds/ESRIDataStore.py | linz/lds_replicate | 38fb97b075a5c5b97c69a640241d7b8d01f015c5 | [
"PostgreSQL"
] | null | null | null | '''
v.0.0.9
LDSReplicate - ESRIDataStore
Copyright 2011 Crown copyright (c)
Land Information New Zealand and the New Zealand Government.
All rights reserved
This program is released under the terms of the new BSD license. See the
LICENSE file for more information.
ESRI specific DS class super classing ESRI based d... | 36.561224 | 173 | 0.683505 | 415 | 3,583 | 5.831325 | 0.486747 | 0.018595 | 0.036364 | 0.014876 | 0.114876 | 0.073554 | 0.04876 | 0.04876 | 0.04876 | 0.04876 | 0 | 0.007291 | 0.23444 | 3,583 | 98 | 174 | 36.561224 | 0.874954 | 0.430366 | 0 | 0.0625 | 0 | 0 | 0.05606 | 0.028831 | 0 | 0 | 0 | 0.010204 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.59375 | 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 | 0 | 1 | 0 | 0 | 3 |
d6d89818aca7151e360186e7f012f6313b5b66c0 | 1,063 | py | Python | src/main/python/storage/var/jsonpath.py | ettoreleandrotognoli/py-storage | d19a0ccbbb23aed818461775a9fc3cd7c5cc25fa | [
"Apache-2.0"
] | null | null | null | src/main/python/storage/var/jsonpath.py | ettoreleandrotognoli/py-storage | d19a0ccbbb23aed818461775a9fc3cd7c5cc25fa | [
"Apache-2.0"
] | 4 | 2021-04-13T20:43:11.000Z | 2021-04-13T22:47:56.000Z | src/main/python/storage/var/jsonpath.py | ettoreleandrotognoli/py-storage | d19a0ccbbb23aed818461775a9fc3cd7c5cc25fa | [
"Apache-2.0"
] | null | null | null | from __future__ import annotations
import abc
from typing import Any, Iterable
import jsonpath_ng
from storage.var import BaseVar
class JsonPath(BaseVar[Any, Any]):
json_path: Any
def __init__(self, json_path):
self.json_path = json_path
@classmethod
def from_str(cls, json_path: str):
... | 21.693878 | 67 | 0.675447 | 136 | 1,063 | 5.014706 | 0.294118 | 0.129032 | 0.052786 | 0.065982 | 0.184751 | 0.111437 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233302 | 1,063 | 48 | 68 | 22.145833 | 0.83681 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.16129 | 0.16129 | 0.774194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ba77f17fcec374b24e127286f25faac3b2e0ab43 | 257 | py | Python | source/inter.py | PangPangPangPangPang/webapp | fa8d8b55071acaa65ee07f0be201173e2aaf6584 | [
"MIT"
] | null | null | null | source/inter.py | PangPangPangPangPang/webapp | fa8d8b55071acaa65ee07f0be201173e2aaf6584 | [
"MIT"
] | null | null | null | source/inter.py | PangPangPangPangPang/webapp | fa8d8b55071acaa65ee07f0be201173e2aaf6584 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 11/10/2016 6:32 PM
# @Author : Max
# @File : inter.py
from flask import Blueprint
main = Blueprint('inter', __name__)
from . import error, refresh, md, list, article, chat, register, update
| 19.769231 | 71 | 0.642023 | 37 | 257 | 4.351351 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.198444 | 257 | 12 | 72 | 21.416667 | 0.723301 | 0.416342 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 3 |
ba82cb11f98fee13020c1dbf5e30885cf15d5451 | 2,219 | py | Python | napari_imc/models/imc_file_panorama.py | neuromusic/napari-imc | ce2ff998b33b49f19a786585cc2cb8e59db74c24 | [
"MIT"
] | 4 | 2021-01-29T15:11:37.000Z | 2021-03-01T02:04:24.000Z | napari_imc/models/imc_file_panorama.py | neuromusic/napari-imc | ce2ff998b33b49f19a786585cc2cb8e59db74c24 | [
"MIT"
] | 25 | 2021-01-19T01:49:13.000Z | 2022-02-09T10:46:41.000Z | napari_imc/models/imc_file_panorama.py | neuromusic/napari-imc | ce2ff998b33b49f19a786585cc2cb8e59db74c24 | [
"MIT"
] | 3 | 2021-01-29T17:31:05.000Z | 2022-03-25T10:23:32.000Z | from napari.layers import Image
from typing import Any, List, Optional, TYPE_CHECKING
from napari_imc.models.base import IMCFileTreeItem, ModelBase
if TYPE_CHECKING:
from napari_imc.models.imc_file import IMCFileModel
class IMCFilePanoramaModel(ModelBase, IMCFileTreeItem):
imc_file_tree_is_checkable = True
... | 27.060976 | 85 | 0.665164 | 281 | 2,219 | 4.86121 | 0.209964 | 0.087116 | 0.056369 | 0.065886 | 0.20205 | 0.081991 | 0 | 0 | 0 | 0 | 0 | 0.002392 | 0.246507 | 2,219 | 81 | 86 | 27.395062 | 0.814593 | 0 | 0 | 0.196721 | 0 | 0 | 0.031546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.262295 | false | 0 | 0.065574 | 0.196721 | 0.590164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ba8439e5b769bbff8d801b340d75f885ef2ac752 | 53 | py | Python | labfunctions/__version__.py | dymaxionlabs/nb_workflows | 336e4d83dd5f8a7edfbaacfa426b23a42c0a68a9 | [
"Apache-2.0"
] | null | null | null | labfunctions/__version__.py | dymaxionlabs/nb_workflows | 336e4d83dd5f8a7edfbaacfa426b23a42c0a68a9 | [
"Apache-2.0"
] | null | null | null | labfunctions/__version__.py | dymaxionlabs/nb_workflows | 336e4d83dd5f8a7edfbaacfa426b23a42c0a68a9 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.8.0-alpha.8"
__api_version__ = "v1"
| 17.666667 | 29 | 0.698113 | 9 | 53 | 3.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.113208 | 53 | 2 | 30 | 26.5 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba8739f296428df529df12b6dceaf84bea70fa82 | 309 | py | Python | source_code/day017/question.py | Zapdos26-Forks/100daysofcode | 2220985abc1c6aeca3a89a19a84813f1a7a816a8 | [
"MIT"
] | null | null | null | source_code/day017/question.py | Zapdos26-Forks/100daysofcode | 2220985abc1c6aeca3a89a19a84813f1a7a816a8 | [
"MIT"
] | null | null | null | source_code/day017/question.py | Zapdos26-Forks/100daysofcode | 2220985abc1c6aeca3a89a19a84813f1a7a816a8 | [
"MIT"
] | null | null | null | class Question:
def __init__(self, q_text, q_answer):
self._text = q_text
self._answer = q_answer
@property
def text(self):
return self._text
@text.setter
def text(self, d):
self._text = d
@property
def answer(self):
return self._answer
| 17.166667 | 41 | 0.582524 | 40 | 309 | 4.175 | 0.3 | 0.143713 | 0.131737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326861 | 309 | 17 | 42 | 18.176471 | 0.802885 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ba9012b01e84a28169721921f9f5712ced85362d | 7,749 | py | Python | EZChannel/EZChannel.py | KeltontheConqueror/EZChannel | 4378697edd1520056e87589a5d93e0943307b4e2 | [
"MIT"
] | null | null | null | EZChannel/EZChannel.py | KeltontheConqueror/EZChannel | 4378697edd1520056e87589a5d93e0943307b4e2 | [
"MIT"
] | null | null | null | EZChannel/EZChannel.py | KeltontheConqueror/EZChannel | 4378697edd1520056e87589a5d93e0943307b4e2 | [
"MIT"
] | null | null | null | import discord
import urllib.parse
import random
from datetime import datetime
from discord.ext import commands
############################################Case_insensitive MASSIVELY REDUCES PERFORMANCE ||| line 5
client = commands.Bot(command_prefix = 'ez-', case_insensitive=True)
modeenabled = 0
textts = False
f=ope... | 47.833333 | 2,020 | 0.757775 | 799 | 7,749 | 7.305382 | 0.386733 | 0.034264 | 0.04934 | 0.025184 | 0.116498 | 0.052424 | 0.043858 | 0.018845 | 0.018845 | 0.018845 | 0 | 0.313349 | 0.145438 | 7,749 | 161 | 2,021 | 48.130435 | 0.568106 | 0.123371 | 0 | 0.326923 | 0 | 0.009615 | 0.194136 | 0.01305 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.048077 | 0 | 0.048077 | 0.057692 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba97bfd299b14c0ffbc1830e2d6b43d302fa30f2 | 88 | py | Python | venv/Lib/site-packages/threading_sched/version.py | jhonniel/Queuing-python | 1b117dc7e4b3274b2f8fe72cce4beea363f563ef | [
"MIT"
] | null | null | null | venv/Lib/site-packages/threading_sched/version.py | jhonniel/Queuing-python | 1b117dc7e4b3274b2f8fe72cce4beea363f563ef | [
"MIT"
] | null | null | null | venv/Lib/site-packages/threading_sched/version.py | jhonniel/Queuing-python | 1b117dc7e4b3274b2f8fe72cce4beea363f563ef | [
"MIT"
] | null | null | null | __version_info__ = ( 1, 0, 0 )
__version__ = '.'.join( map( str, __version_info__ ))
| 29.333333 | 55 | 0.636364 | 11 | 88 | 3.818182 | 0.636364 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.193182 | 88 | 2 | 56 | 44 | 0.549296 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba9890a5566b5edf4981cab5bd5a2b3dc59a2b7b | 179 | py | Python | stardust_xr/utils.py | technobaboo/stardust-py | 65239711832367dea4163f7535fcd8bc5bdb3123 | [
"MIT"
] | null | null | null | stardust_xr/utils.py | technobaboo/stardust-py | 65239711832367dea4163f7535fcd8bc5bdb3123 | [
"MIT"
] | null | null | null | stardust_xr/utils.py | technobaboo/stardust-py | 65239711832367dea4163f7535fcd8bc5bdb3123 | [
"MIT"
] | 1 | 2020-07-08T16:33:25.000Z | 2020-07-08T16:33:25.000Z | import time
def benchmark(func):
def wrapper(*arg):
t = time.time()
res = func(*arg)
print("Function took",(time.time()-t),"seconds to run")
return res
return wrapper
| 16.272727 | 57 | 0.659218 | 27 | 179 | 4.37037 | 0.592593 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178771 | 179 | 10 | 58 | 17.9 | 0.802721 | 0 | 0 | 0 | 0 | 0 | 0.150838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 0.125 | 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 | 0 | 1 | 0 | 0 | 3 |
baa2e98208045b602bdc5b218e376180aec24a82 | 110 | py | Python | tworaven_apps/datamart_endpoints/apps.py | TwoRavens/TwoRavens | e5f820557d6646df525ceed15e17d79f4159cf0a | [
"Apache-2.0"
] | 20 | 2017-12-11T07:26:06.000Z | 2021-11-22T16:16:20.000Z | tworaven_apps/datamart_endpoints/apps.py | TwoRavens/TwoRavens | e5f820557d6646df525ceed15e17d79f4159cf0a | [
"Apache-2.0"
] | 849 | 2017-10-20T18:21:18.000Z | 2022-02-18T02:45:44.000Z | tworaven_apps/datamart_endpoints/apps.py | TwoRavens/TwoRavens | e5f820557d6646df525ceed15e17d79f4159cf0a | [
"Apache-2.0"
] | 1 | 2020-05-18T06:02:13.000Z | 2020-05-18T06:02:13.000Z | from django.apps import AppConfig
class DatamartEndpointsConfig(AppConfig):
name = 'datamart_endpoints'
| 18.333333 | 41 | 0.8 | 11 | 110 | 7.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 42 | 22 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 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 | 0 | 0 | 0 | 3 |
bad35f66e84809bc27c4e013f7fe36d0b2166e7b | 110 | py | Python | NoteBooks/Curso de Python/Python/Core/Funciones de orden superior/H_Order_function.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | 1 | 2021-02-26T13:12:22.000Z | 2021-02-26T13:12:22.000Z | NoteBooks/Curso de Python/Python/Core/Funciones de orden superior/H_Order_function.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | NoteBooks/Curso de Python/Python/Core/Funciones de orden superior/H_Order_function.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | def say_(func):
func()
def hi():
print("Hello")
# Estoy pasando hi como argumento de say_
say_(hi)
| 11 | 41 | 0.627273 | 17 | 110 | 3.882353 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 110 | 9 | 42 | 12.222222 | 0.785714 | 0.354545 | 0 | 0 | 0 | 0 | 0.072464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
baec52bcb8062eda0e345ce20953171e06698036 | 264 | py | Python | testbed_module/setup.py | Suyi32/George-private | 1a7b3a20da309318dc0b5415547fa6a5f6c331d3 | [
"Apache-2.0"
] | null | null | null | testbed_module/setup.py | Suyi32/George-private | 1a7b3a20da309318dc0b5415547fa6a5f6c331d3 | [
"Apache-2.0"
] | null | null | null | testbed_module/setup.py | Suyi32/George-private | 1a7b3a20da309318dc0b5415547fa6a5f6c331d3 | [
"Apache-2.0"
] | null | null | null | from setuptools import find_packages, setup
setup(
name="testbedlib",
packages=find_packages(include=["testbedlib", "testbedlib.simulator", "testbedlib.util"]),
version="0.1.0",
description="Testbed library",
author="Suyi",
license="MIT",
) | 29.333333 | 94 | 0.693182 | 29 | 264 | 6.241379 | 0.724138 | 0.132597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.147727 | 264 | 9 | 95 | 29.333333 | 0.791111 | 0 | 0 | 0 | 0 | 0 | 0.309434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
baf17cfcc687221af116bb04bf0a4df83be4363b | 505 | py | Python | online_news/online_newsapp/admin.py | parthapaulpartha/Online_NEWS | 6e1bb620aa809371ea04fc5d8c4a81ec2fcdbb78 | [
"bzip2-1.0.6"
] | 1 | 2020-02-18T16:21:49.000Z | 2020-02-18T16:21:49.000Z | online_news/online_newsapp/admin.py | parthapaulpartha/Online_NEWS | 6e1bb620aa809371ea04fc5d8c4a81ec2fcdbb78 | [
"bzip2-1.0.6"
] | null | null | null | online_news/online_newsapp/admin.py | parthapaulpartha/Online_NEWS | 6e1bb620aa809371ea04fc5d8c4a81ec2fcdbb78 | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
from .models import (
bangla_newspaper,
english_newspaper,
job_website,
magazines,
indian_bangla_newspaper,
news_channel,
note
)
# Register your models here.
admin.site.site_header = 'Online NEWS'
admin.site.register(bangla_newspaper)
admin.site.register(en... | 24.047619 | 44 | 0.790099 | 65 | 505 | 5.938462 | 0.338462 | 0.186529 | 0.30829 | 0.202073 | 0.165803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120792 | 505 | 21 | 45 | 24.047619 | 0.869369 | 0.051485 | 0 | 0 | 0 | 0 | 0.023013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
0305b39f1f8b6df84256a2c4f181322e25eb2960 | 188 | py | Python | vscode/themes.py | SkullCrusher0003/vscode-ext | b258416738bb7102abc38587a2fc3521596c63aa | [
"MIT"
] | 1 | 2021-07-29T15:07:12.000Z | 2021-07-29T15:07:12.000Z | vscode/themes.py | SohamGhugare/vscode-ext | 90d9a1bcfbdad98f07a52ea06149064af91aa9d7 | [
"MIT"
] | null | null | null | vscode/themes.py | SohamGhugare/vscode-ext | 90d9a1bcfbdad98f07a52ea06149064af91aa9d7 | [
"MIT"
] | null | null | null | class ColorTheme:
def __init__(self, name: str, display_name: str, version: str):
self.name = name
self.display_name = display_name
self.version = version
| 31.333333 | 68 | 0.638298 | 23 | 188 | 4.913043 | 0.391304 | 0.292035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276596 | 188 | 5 | 69 | 37.6 | 0.830882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
030d37a16fce289d9ce3c6fd696b897ec9ff3e04 | 114 | py | Python | lib/vitals.py | underc0de/reaper | ec74c8de08a57edfd4df745aad9c8c216c57f9d8 | [
"MIT"
] | null | null | null | lib/vitals.py | underc0de/reaper | ec74c8de08a57edfd4df745aad9c8c216c57f9d8 | [
"MIT"
] | null | null | null | lib/vitals.py | underc0de/reaper | ec74c8de08a57edfd4df745aad9c8c216c57f9d8 | [
"MIT"
] | null | null | null | class Vitals:
LEARNING_RATE = 0.1
MOMENTUM_RATE = 0.8
FIRST_LAYER = 5 * 7
SECOND_LAYER = 14
OUTPUT_LAYER = 3 | 16.285714 | 20 | 0.710526 | 20 | 114 | 3.8 | 0.8 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.210526 | 114 | 7 | 21 | 16.285714 | 0.744444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
030d54f033ccfcb59d30da67a9724e0289928dc4 | 295 | py | Python | EX./ex019.py | CamposRodrigo/Python | 0c9a2214f710b76e012abbf8ea082a302f3f11f3 | [
"MIT"
] | null | null | null | EX./ex019.py | CamposRodrigo/Python | 0c9a2214f710b76e012abbf8ea082a302f3f11f3 | [
"MIT"
] | null | null | null | EX./ex019.py | CamposRodrigo/Python | 0c9a2214f710b76e012abbf8ea082a302f3f11f3 | [
"MIT"
] | null | null | null | import random
n1 = str(input('Nome do primeiro Aluno: '))
n2 = str(input('Nome do segundo Aluno: '))
n3 = str(input('Nome do terceiro Aluno: '))
n4 = str(input('Nome do quarto Aluno: '))
lista = [n1,n2,n3,n4]
escolhido = random.choice(lista)
print('O Aluno escolhido foi {} .'.format(escolhido)) | 36.875 | 53 | 0.684746 | 46 | 295 | 4.391304 | 0.478261 | 0.158416 | 0.237624 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.138983 | 295 | 8 | 53 | 36.875 | 0.76378 | 0 | 0 | 0 | 0 | 0 | 0.402027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
030db12ae0d37eae77cc91e52a6e0f792431ca90 | 619 | py | Python | tests/test_models.py | istrategylabs/django-flashbriefing | aa446393bc0045b03a6f56cf6550c3ba6372f926 | [
"MIT"
] | null | null | null | tests/test_models.py | istrategylabs/django-flashbriefing | aa446393bc0045b03a6f56cf6550c3ba6372f926 | [
"MIT"
] | 3 | 2021-03-18T20:41:13.000Z | 2021-06-10T17:25:44.000Z | tests/test_models.py | tortillagroup/django-flashbriefing | aa446393bc0045b03a6f56cf6550c3ba6372f926 | [
"MIT"
] | 1 | 2019-10-07T20:53:22.000Z | 2019-10-07T20:53:22.000Z | import datetime
import pytest
from flashbriefing.models import Feed, Item, ItemType
@pytest.mark.django_db
def test_item_type_audio():
feed = Feed.objects.create(title='FEED')
item = Item.objects.create(
feed=feed, title='ITEM', audio_content='/audio.mp3',
published_date=datetime.datetime.utc... | 28.136364 | 75 | 0.720517 | 83 | 619 | 5.216867 | 0.313253 | 0.073903 | 0.073903 | 0.083141 | 0.748268 | 0.748268 | 0.748268 | 0.748268 | 0.595843 | 0.595843 | 0 | 0.001912 | 0.155089 | 619 | 21 | 76 | 29.47619 | 0.826004 | 0 | 0 | 0.375 | 0 | 0 | 0.042003 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.1875 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
030ef0f92fdcae92ef41829011796fcd9b2bfa3e | 305 | py | Python | src/aleph/vms/register.py | olethanh/pyaleph | 3a64fb89c54e74187679872d559fb00be0dfde43 | [
"MIT"
] | null | null | null | src/aleph/vms/register.py | olethanh/pyaleph | 3a64fb89c54e74187679872d559fb00be0dfde43 | [
"MIT"
] | null | null | null | src/aleph/vms/register.py | olethanh/pyaleph | 3a64fb89c54e74187679872d559fb00be0dfde43 | [
"MIT"
] | null | null | null | # We will register here processors for the message types by name
VM_ENGINE_REGISTER = dict()
def register_vm_engine(engine_name, engine_class):
""" Verifies a message is valid before forwarding it,
handling it (should it be different?).
"""
VM_ENGINE_REGISTER[engine_name] = engine_class | 33.888889 | 64 | 0.75082 | 44 | 305 | 4.977273 | 0.613636 | 0.109589 | 0.146119 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177049 | 305 | 9 | 65 | 33.888889 | 0.87251 | 0.498361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
03157f8f37176b764a56f1b77f4436069ef2eec9 | 1,117 | py | Python | CorbanDallas1982/Home_work_5/HW_5_1.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | CorbanDallas1982/Home_work_5/HW_5_1.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | CorbanDallas1982/Home_work_5/HW_5_1.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | print('C L A S S I C S O L U T I O N')
range_of_numbers = []
div_by_2 = []
div_by_3 = []
other_numbers = []
for i in range(1,11):
range_of_numbers.append(i)
if i%2 == 0:
div_by_2.append(i)
elif i%3 == 0:
div_by_3.append(i)
else:
other_numbers.append(i)
print('The range of numbe... | 37.233333 | 72 | 0.639212 | 234 | 1,117 | 2.901709 | 0.179487 | 0.073638 | 0.14433 | 0.081001 | 0.77025 | 0.77025 | 0.686303 | 0.686303 | 0.643594 | 0.643594 | 0 | 0.054273 | 0.224709 | 1,117 | 30 | 73 | 37.233333 | 0.729792 | 0 | 0 | 0.4 | 0 | 0 | 0.341682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.466667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
03248661a61e374ad91904ea10b15947df4ba5da | 353 | py | Python | convert_eprime/__init__.py | PAmcconnell/convert-eprime | 620f46bba42474c471595d5d4a56e7c755359800 | [
"MIT"
] | 34 | 2015-01-23T20:48:31.000Z | 2022-01-25T15:54:33.000Z | convert_eprime/__init__.py | PAmcconnell/convert-eprime | 620f46bba42474c471595d5d4a56e7c755359800 | [
"MIT"
] | 7 | 2016-04-11T21:39:12.000Z | 2020-05-18T13:46:31.000Z | convert_eprime/__init__.py | PAmcconnell/convert-eprime | 620f46bba42474c471595d5d4a56e7c755359800 | [
"MIT"
] | 18 | 2015-01-23T20:48:18.000Z | 2022-03-11T14:50:43.000Z | # emacs: -*- mode: python-mode; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*-
# ex: set sts=4 ts=4 sw=4 et:
"""
convert_eprime: A Python package for converting and cleaning up E-Prime output files.
"""
from .convert import etext_to_rcsv, text_to_csv, text_to_rcsv
from .version import __version__
... | 35.3 | 93 | 0.70255 | 57 | 353 | 4.087719 | 0.701754 | 0.051502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016892 | 0.161473 | 353 | 9 | 94 | 39.222222 | 0.77027 | 0.580737 | 0 | 0 | 0 | 0 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
032588d229048b1d209738283c2518d0fe131994 | 163 | py | Python | exe025.py | libaniaraujo/Python-Curso-em-Video | 593ddbbbdf1e83101f535228fa05351f35b8817f | [
"MIT"
] | null | null | null | exe025.py | libaniaraujo/Python-Curso-em-Video | 593ddbbbdf1e83101f535228fa05351f35b8817f | [
"MIT"
] | null | null | null | exe025.py | libaniaraujo/Python-Curso-em-Video | 593ddbbbdf1e83101f535228fa05351f35b8817f | [
"MIT"
] | null | null | null | # Procurando uma string dentro de outra
nome = str(input('Qual é o seu nome completo? ')).strip()
print('Seu nome tem Silva? {}'.format('silva' in nome.lower())) | 40.75 | 63 | 0.687117 | 26 | 163 | 4.307692 | 0.807692 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147239 | 163 | 4 | 63 | 40.75 | 0.805755 | 0.226994 | 0 | 0 | 0 | 0 | 0.448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
035c8f49e4213f64f129836af02d4bd7fa55b659 | 174 | py | Python | swe/numerics/LaxFriedrichs.py | VTrappler/SWE1D | ed19be4c0d37441f0f312baa403f368bb2c3afba | [
"MIT"
] | null | null | null | swe/numerics/LaxFriedrichs.py | VTrappler/SWE1D | ed19be4c0d37441f0f312baa403f368bb2c3afba | [
"MIT"
] | null | null | null | swe/numerics/LaxFriedrichs.py | VTrappler/SWE1D | ed19be4c0d37441f0f312baa403f368bb2c3afba | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def LF_flux(FL, FR, lmax, lmin, UR, UL, dt, dx):
ctilde = dx / dt
return 0.5 * (FL + FR) - 0.5 * ctilde * (UR - UL)
| 17.4 | 53 | 0.511494 | 31 | 174 | 2.83871 | 0.709677 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0.270115 | 174 | 9 | 54 | 19.333333 | 0.653543 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0373642685a010e54d70484159e45e1edf2c54f9 | 92 | py | Python | turtle_maze/maze_test.py | ehabosaleh/random-maze | 8aa5e8c447a5707ad41e44e141be7e9e931c6da4 | [
"MIT"
] | null | null | null | turtle_maze/maze_test.py | ehabosaleh/random-maze | 8aa5e8c447a5707ad41e44e141be7e9e931c6da4 | [
"MIT"
] | null | null | null | turtle_maze/maze_test.py | ehabosaleh/random-maze | 8aa5e8c447a5707ad41e44e141be7e9e931c6da4 | [
"MIT"
] | null | null | null | from maze import Maze
m=Maze(10,500,500,"green","Black",2.5)
print("Press any key to exit")
| 23 | 38 | 0.706522 | 19 | 92 | 3.421053 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0.108696 | 92 | 3 | 39 | 30.666667 | 0.670732 | 0 | 0 | 0 | 0 | 0 | 0.336957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0378136b90eceb75708747531943798ac3c3ef75 | 427 | py | Python | fastats/maths/__init__.py | AaronCritchley/fastats | 3c8e50fffc08ee0dd44c615f4ed93adc47c08ffe | [
"MIT"
] | 26 | 2017-07-17T09:19:53.000Z | 2021-11-30T01:36:56.000Z | fastats/maths/__init__.py | AaronCritchley/fastats | 3c8e50fffc08ee0dd44c615f4ed93adc47c08ffe | [
"MIT"
] | 320 | 2017-09-02T16:26:25.000Z | 2021-07-28T05:19:49.000Z | fastats/maths/__init__.py | AaronCritchley/fastats | 3c8e50fffc08ee0dd44c615f4ed93adc47c08ffe | [
"MIT"
] | 13 | 2017-07-06T19:02:29.000Z | 2020-01-22T11:36:34.000Z |
from fastats.maths.activations import relu, softplus
from fastats.maths.deriv import deriv
from fastats.maths.erf import erf
from fastats.maths.ewma import ewma
from fastats.maths.logistic import logistic
from fastats.maths.norm_pdf import norm_pdf
from fastats.maths.sum_sq_dev import sum_sq_dev
__all__ = [
'deri... | 21.35 | 52 | 0.725995 | 61 | 427 | 4.868852 | 0.278689 | 0.259259 | 0.377104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175644 | 427 | 19 | 53 | 22.473684 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.117371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.411765 | 0 | 0.411765 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
30004c4cf42235b14fe0b487f19797ab65d32df3 | 923 | py | Python | ulang/parser/expression.py | nint8835/ulang | 8ab74c79d104490a46c76f879374b3128b4b61d7 | [
"MIT"
] | null | null | null | ulang/parser/expression.py | nint8835/ulang | 8ab74c79d104490a46c76f879374b3128b4b61d7 | [
"MIT"
] | null | null | null | ulang/parser/expression.py | nint8835/ulang | 8ab74c79d104490a46c76f879374b3128b4b61d7 | [
"MIT"
] | null | null | null | from typing import List
class Expression:
def evaluate(self):
raise NotImplementedError()
class LiteralExpression(Expression):
def __init__(self, value):
self.value = value
def evaluate(self):
return self.value
class FunctionExpression(Expression):
def __init__(self, name:... | 21.465116 | 85 | 0.650054 | 97 | 923 | 5.896907 | 0.268041 | 0.083916 | 0.104895 | 0.104895 | 0.372378 | 0.304196 | 0.206294 | 0.206294 | 0.206294 | 0.206294 | 0 | 0 | 0.248104 | 923 | 42 | 86 | 21.97619 | 0.824207 | 0 | 0 | 0.392857 | 0 | 0 | 0.108342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321429 | false | 0 | 0.035714 | 0.107143 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3049df22c14ab821ddbbf8c94b66a6a728e08a01 | 306 | py | Python | ConditionalStatement/BonusScore.py | Rohitm619/Softuni-Python-Basic | 03c9d0b44f5652c99db3b0e42014dd5af50205a2 | [
"MIT"
] | 1 | 2020-09-22T13:25:34.000Z | 2020-09-22T13:25:34.000Z | ConditionalStatement/BonusScore.py | Rohitm619/Softuni-Python-Basic | 03c9d0b44f5652c99db3b0e42014dd5af50205a2 | [
"MIT"
] | null | null | null | ConditionalStatement/BonusScore.py | Rohitm619/Softuni-Python-Basic | 03c9d0b44f5652c99db3b0e42014dd5af50205a2 | [
"MIT"
] | 1 | 2020-10-17T09:27:46.000Z | 2020-10-17T09:27:46.000Z | number = int(input())
bonus_points = 0
if number <= 100:
bonus_points += 5
elif number > 1000:
bonus_points += number * 0.10
else:
bonus_points += number * 0.20
if number % 2 == 0:
bonus_points += 1
if number % 10 == 5:
bonus_points += 2
print(bonus_points)
print(bonus_points + number) | 21.857143 | 33 | 0.647059 | 47 | 306 | 4.042553 | 0.361702 | 0.463158 | 0.268421 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092827 | 0.22549 | 306 | 14 | 34 | 21.857143 | 0.708861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
30679faeb02c7f4d5a0cd40a5229289fd6c4e411 | 1,008 | py | Python | src/handler.py | huynonstop/pokemon-index | d7a983f640f8b17d7d752814db15ec16afe096c4 | [
"MIT"
] | null | null | null | src/handler.py | huynonstop/pokemon-index | d7a983f640f8b17d7d752814db15ec16afe096c4 | [
"MIT"
] | null | null | null | src/handler.py | huynonstop/pokemon-index | d7a983f640f8b17d7d752814db15ec16afe096c4 | [
"MIT"
] | null | null | null | from pandas import DataFrame
class Handler:
@staticmethod
def pkdex(pokedex_df: DataFrame, name):
return pokedex_df[pokedex_df['name'].str.startswith(name)]
@staticmethod
def type(types_df: DataFrame, *t):
rs = types_df.loc[:, list(t)]
rs.loc[:, 'total'] = rs.prod(axis=1)
... | 33.6 | 118 | 0.666667 | 137 | 1,008 | 4.708029 | 0.291971 | 0.097674 | 0.131783 | 0.130233 | 0.356589 | 0.251163 | 0.251163 | 0.251163 | 0.142636 | 0 | 0 | 0.003628 | 0.179563 | 1,008 | 29 | 119 | 34.758621 | 0.7763 | 0 | 0 | 0.272727 | 0 | 0 | 0.064484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.045455 | 0.227273 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
306d76ac5978de92ef0f14f794b88d8d9f05aacd | 9,265 | py | Python | SEAGeneratorExampleKafkaStreamingAPI/src/python/sea_generator_rpcdesign_pb2_grpc.py | PenHsuanWang/IncrementalLearningE2EPlayground | c22708bdf4dd4ba8770dafe6e85f0481b34030fd | [
"Apache-2.0"
] | null | null | null | SEAGeneratorExampleKafkaStreamingAPI/src/python/sea_generator_rpcdesign_pb2_grpc.py | PenHsuanWang/IncrementalLearningE2EPlayground | c22708bdf4dd4ba8770dafe6e85f0481b34030fd | [
"Apache-2.0"
] | null | null | null | SEAGeneratorExampleKafkaStreamingAPI/src/python/sea_generator_rpcdesign_pb2_grpc.py | PenHsuanWang/IncrementalLearningE2EPlayground | c22708bdf4dd4ba8770dafe6e85f0481b34030fd | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import sea_generator_rpcdesign_pb2 as sea__generator__rpcdesign__pb2
class SEAOnlineTrainingStub(object):
"""Missing associated documentation comment in .p... | 46.557789 | 112 | 0.682353 | 824 | 9,265 | 7.256068 | 0.131068 | 0.064225 | 0.112393 | 0.12845 | 0.847633 | 0.815855 | 0.670513 | 0.480515 | 0.443385 | 0.424318 | 0 | 0.004592 | 0.247814 | 9,265 | 198 | 113 | 46.792929 | 0.853351 | 0.074042 | 0 | 0.493827 | 1 | 0 | 0.089038 | 0.055046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.012346 | 0.030864 | 0.135802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
30757d9f92f99ac68a0213312704eae898a738bb | 2,043 | py | Python | paddles/paddle_0402/config/paddle_configurator.py | dkeefe3773/pong-rl | e0d548267d7e0ca1b8690224cfd827af8ff571ab | [
"MIT"
] | null | null | null | paddles/paddle_0402/config/paddle_configurator.py | dkeefe3773/pong-rl | e0d548267d7e0ca1b8690224cfd827af8ff571ab | [
"MIT"
] | null | null | null | paddles/paddle_0402/config/paddle_configurator.py | dkeefe3773/pong-rl | e0d548267d7e0ca1b8690224cfd827af8ff571ab | [
"MIT"
] | null | null | null | from configparser import ConfigParser
from pathlib import Path
from typing import List, Any
true_path = Path(__file__).parent / 'config.ini'
_parser = ConfigParser()
_parser.read(str(true_path.resolve()), encoding='utf-8')
class Config(object):
@staticmethod
def get_property_string(section_name: str, propert... | 31.430769 | 86 | 0.722956 | 257 | 2,043 | 5.392996 | 0.233463 | 0.095238 | 0.098124 | 0.116162 | 0.467532 | 0.467532 | 0.467532 | 0.440837 | 0.334776 | 0.132756 | 0 | 0.000594 | 0.176211 | 2,043 | 65 | 87 | 31.430769 | 0.822935 | 0 | 0 | 0.255319 | 0 | 0 | 0.112524 | 0.021526 | 0 | 0 | 0 | 0 | 0 | 1 | 0.255319 | false | 0 | 0.06383 | 0.234043 | 0.638298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
307709a1b945d0fee23a51f07cec853768efc56e | 2,631 | py | Python | data_pipeline/stream/schema.py | iagcl/data_pipeline | b9b965d43a4261357e417f4eeee5d8b7d2dfd858 | [
"Apache-2.0"
] | 16 | 2017-10-31T21:43:26.000Z | 2019-08-11T08:49:06.000Z | data_pipeline/stream/schema.py | iagcl/data_pipeline | b9b965d43a4261357e417f4eeee5d8b7d2dfd858 | [
"Apache-2.0"
] | 1 | 2017-11-01T06:25:56.000Z | 2017-11-01T06:25:56.000Z | data_pipeline/stream/schema.py | iagcl/data_pipeline | b9b965d43a4261357e417f4eeee5d8b7d2dfd858 | [
"Apache-2.0"
] | 9 | 2017-10-30T05:23:15.000Z | 2022-02-17T03:53:09.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 37.585714 | 79 | 0.640821 | 319 | 2,631 | 5.184953 | 0.329154 | 0.093108 | 0.061669 | 0.063482 | 0.32104 | 0.242443 | 0.124547 | 0.124547 | 0.124547 | 0 | 0 | 0.002021 | 0.247815 | 2,631 | 69 | 80 | 38.130435 | 0.833754 | 0.286583 | 0 | 0.102564 | 0 | 0 | 0.100108 | 0.055974 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25641 | false | 0 | 0.076923 | 0.153846 | 0.666667 | 0.025641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0618bbf6069bd213b620fb4e894ba5c121c5517c | 52 | py | Python | python/testData/codeInsight/smartEnter/afterFunctionDecoratedWithExpressionContainingCollectionLiteral_after.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/codeInsight/smartEnter/afterFunctionDecoratedWithExpressionContainingCollectionLiteral_after.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | 1 | 2020-07-30T19:04:47.000Z | 2020-07-30T19:04:47.000Z | python/testData/codeInsight/smartEnter/afterFunctionDecoratedWithExpressionContainingCollectionLiteral_after.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | @(lambda: [lambda x: x][0])()
def foo():
<caret> | 17.333333 | 29 | 0.5 | 8 | 52 | 3.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.192308 | 52 | 3 | 30 | 17.333333 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0625559250fa13a5e42c692ac0e5920fa3100ca9 | 34 | py | Python | athanor_info/__init__.py | volundmush/athanor_info | 32a5150b8ada311d498b1b0971e7f74ca1d98542 | [
"BSD-3-Clause"
] | null | null | null | athanor_info/__init__.py | volundmush/athanor_info | 32a5150b8ada311d498b1b0971e7f74ca1d98542 | [
"BSD-3-Clause"
] | null | null | null | athanor_info/__init__.py | volundmush/athanor_info | 32a5150b8ada311d498b1b0971e7f74ca1d98542 | [
"BSD-3-Clause"
] | null | null | null | INSTALLED_APPS = ["athanor_info"]
| 17 | 33 | 0.764706 | 4 | 34 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
062e91a059e6a771088a3208d7f8057f4620fd57 | 160 | py | Python | Implementations/Kattis/Impl-08/W8/3/C.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | Implementations/Kattis/Impl-08/W8/3/C.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | Implementations/Kattis/Impl-08/W8/3/C.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | n,v = map(int,input().split())
mx = -1
for i in range(n):
l,w,h = map(int,input().split())
vo = l*w*h
#print(vo)
if vo>mx: mx = vo
print(mx - v) | 20 | 36 | 0.5125 | 34 | 160 | 2.411765 | 0.529412 | 0.146341 | 0.268293 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.25 | 160 | 8 | 37 | 20 | 0.675 | 0.05625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
063f0f7111cd856c0a2d5158f8d297af410ead88 | 10,400 | py | Python | dsn/form_analysis/structure.py | expressionsofchange/nerf0 | 788203619fc89c92e8c7301d62bbc4f1f4ee66e1 | [
"MIT"
] | 2 | 2019-04-30T05:42:05.000Z | 2019-08-11T19:17:20.000Z | dsn/form_analysis/structure.py | expressionsofchange/nerf0 | 788203619fc89c92e8c7301d62bbc4f1f4ee66e1 | [
"MIT"
] | null | null | null | dsn/form_analysis/structure.py | expressionsofchange/nerf0 | 788203619fc89c92e8c7301d62bbc4f1f4ee66e1 | [
"MIT"
] | null | null | null | """
The structure described in the present file is the result of the very first phase of static analysis of an s-expression.
Staying true to the nature of this project, this analysis is done in terms of expressions of change on a given
s-expression. For simplicity's sake, let's however first consider what the analysis... | 38.951311 | 120 | 0.69 | 1,520 | 10,400 | 4.592763 | 0.227632 | 0.01719 | 0.021057 | 0.018908 | 0.211288 | 0.186076 | 0.170892 | 0.134794 | 0.109153 | 0.071623 | 0 | 0.000249 | 0.228558 | 10,400 | 266 | 121 | 39.097744 | 0.869874 | 0.499904 | 0 | 0.369231 | 0 | 0 | 0.013598 | 0 | 0 | 0 | 0 | 0.003759 | 0 | 1 | 0.292308 | false | 0.007692 | 0.015385 | 0.184615 | 0.607692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
065bd1366036955c31de5ae3c6e443b00f605d23 | 1,858 | py | Python | scans/http.py | Tuutaans/lazy_enumerator | 91eb059d6c173e60aff590b78f723168cd4264e3 | [
"MIT"
] | null | null | null | scans/http.py | Tuutaans/lazy_enumerator | 91eb059d6c173e60aff590b78f723168cd4264e3 | [
"MIT"
] | 6 | 2022-02-09T15:44:34.000Z | 2022-02-10T03:48:54.000Z | scans/http.py | Tuutaans/lazy_enumerator | 91eb059d6c173e60aff590b78f723168cd4264e3 | [
"MIT"
] | 2 | 2022-02-09T14:49:25.000Z | 2022-02-09T16:26:11.000Z | import subprocess
def http(ip, tool, wordlist):
try:
with open('80.txt', 'a') as file:
file.write('\n\n WhatWeb Result \n\n')
command = f"whatweb -a 1 -v http://{ip} -U 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:77.0) Gecko/20100101 Firefox/77.0' >> 80.txt"
subprocess.call(comman... | 43.209302 | 138 | 0.574273 | 266 | 1,858 | 4.011278 | 0.293233 | 0.032802 | 0.070291 | 0.089035 | 0.726336 | 0.702905 | 0.702905 | 0.662605 | 0.662605 | 0.608247 | 0 | 0.037094 | 0.303552 | 1,858 | 42 | 139 | 44.238095 | 0.787481 | 0 | 0 | 0.666667 | 0 | 0.111111 | 0.506997 | 0.019376 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.055556 | 0.138889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
065f3881947415087691fd22e4ea6662ba1c49d5 | 1,424 | py | Python | bnpy/allocmodel/__init__.py | raphael-group/bnpy | b11dc6f5689b06fc967bab6dffe7e01551d84667 | [
"BSD-3-Clause"
] | 184 | 2016-12-13T21:05:48.000Z | 2022-02-28T11:47:23.000Z | bnpy/allocmodel/__init__.py | raphael-group/bnpy | b11dc6f5689b06fc967bab6dffe7e01551d84667 | [
"BSD-3-Clause"
] | 37 | 2016-12-18T14:07:53.000Z | 2022-03-13T10:58:14.000Z | bnpy/allocmodel/__init__.py | raphael-group/bnpy | b11dc6f5689b06fc967bab6dffe7e01551d84667 | [
"BSD-3-Clause"
] | 50 | 2017-01-25T19:44:34.000Z | 2022-03-15T10:22:01.000Z | from bnpy.allocmodel.AllocModel import AllocModel
from bnpy.allocmodel.mix.FiniteMixtureModel import FiniteMixtureModel
from bnpy.allocmodel.mix.DPMixtureModel import DPMixtureModel
from bnpy.allocmodel.mix.DPMixtureRestrictedLocalStep import make_xPiVec_and_emptyPi
from bnpy.allocmodel.topics.FiniteTopicModel import... | 36.512821 | 84 | 0.827949 | 129 | 1,424 | 9.054264 | 0.255814 | 0.089041 | 0.200342 | 0.119863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101826 | 1,424 | 38 | 85 | 37.473684 | 0.913213 | 0 | 0 | 0 | 0 | 0 | 0.106742 | 0.014747 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.433333 | 0 | 0.433333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
0673eba8bc0fe2f7d3ed47fa90eb80b983acaf85 | 109 | py | Python | test.py | timlyrics/hppuml | 5d6ef9aacd234b6c76a8e5743ade5fefbcbfbb16 | [
"MIT"
] | 2 | 2018-06-18T19:27:35.000Z | 2018-06-19T15:51:32.000Z | test.py | bettercallshao/hppuml | 5d6ef9aacd234b6c76a8e5743ade5fefbcbfbb16 | [
"MIT"
] | null | null | null | test.py | bettercallshao/hppuml | 5d6ef9aacd234b6c76a8e5743ade5fefbcbfbb16 | [
"MIT"
] | null | null | null | import hppuml
import sys
with open(sys.argv[1], 'rb') as f:
data = f.read()
print(hppuml.run(data))
| 15.571429 | 34 | 0.633028 | 19 | 109 | 3.631579 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.201835 | 109 | 6 | 35 | 18.166667 | 0.781609 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
068ec8f1f5688a0d96d892a86e91de3345828f82 | 22 | py | Python | dlkit/records/repository/vcb/__init__.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/records/repository/vcb/__init__.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/records/repository/vcb/__init__.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | __author__ = 'cjshaw'
| 11 | 21 | 0.727273 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ebf311ac8e516628f9a5e0ceec88346eaa75b79f | 1,005 | py | Python | user.py | robajillo/Python-IP1 | c90ce82c3c7d8461dea5f4ba7b3dee7e7f1d5073 | [
"MIT"
] | null | null | null | user.py | robajillo/Python-IP1 | c90ce82c3c7d8461dea5f4ba7b3dee7e7f1d5073 | [
"MIT"
] | null | null | null | user.py | robajillo/Python-IP1 | c90ce82c3c7d8461dea5f4ba7b3dee7e7f1d5073 | [
"MIT"
] | null | null | null | class User:
'''
class that generates new instance of user
'''
user_list = []
def __init__ (self, user_name, password):
self.user_name = user_name
self.password = password
def save_user(self):
User.user_list.append(self)
def delete_user(self):
'''
... | 22.333333 | 78 | 0.545274 | 115 | 1,005 | 4.547826 | 0.313043 | 0.137667 | 0.068834 | 0.091778 | 0.160612 | 0.160612 | 0.160612 | 0.160612 | 0.160612 | 0.160612 | 0 | 0 | 0.367164 | 1,005 | 45 | 79 | 22.333333 | 0.822327 | 0.136318 | 0 | 0.318182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ebfac1c8f2467907c23b47d5c17156bea64adc33 | 191 | py | Python | python/tutorial/basic/loop_example_05.py | victor-cleber/personal_studies | 6786562d2d1d2340304b1257cd727cbc2653dcde | [
"MIT"
] | 1 | 2020-04-19T10:46:01.000Z | 2020-04-19T10:46:01.000Z | python/tutorial/basic/loop_example_05.py | victor-cleber/personal_studies | 6786562d2d1d2340304b1257cd727cbc2653dcde | [
"MIT"
] | null | null | null | python/tutorial/basic/loop_example_05.py | victor-cleber/personal_studies | 6786562d2d1d2340304b1257cd727cbc2653dcde | [
"MIT"
] | 1 | 2021-08-07T04:53:12.000Z | 2021-08-07T04:53:12.000Z | print("Example 05: [The else Statement] \n"
" Print a message once the condition is false")
i = 1
while i < 6:
print(i)
i += 1
else:
print("The condition is false")
| 17.363636 | 64 | 0.586387 | 30 | 191 | 3.733333 | 0.566667 | 0.214286 | 0.25 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 0.298429 | 191 | 10 | 65 | 19.1 | 0.798507 | 0 | 0 | 0 | 0 | 0 | 0.594737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ebfbdfcfdff57e57fb9626d358e58781d74ee7a7 | 140 | py | Python | ImageDeleter.py | warifp/InstagramPostAndDelete | d22577325eccf42e629cef076ab43f7788587bc4 | [
"MIT"
] | 4 | 2019-06-03T04:00:51.000Z | 2021-11-09T21:34:38.000Z | ImageDeleter.py | nittaya1990/InstagramPostAndDelete | d22577325eccf42e629cef076ab43f7788587bc4 | [
"MIT"
] | null | null | null | ImageDeleter.py | nittaya1990/InstagramPostAndDelete | d22577325eccf42e629cef076ab43f7788587bc4 | [
"MIT"
] | 4 | 2019-10-30T19:44:08.000Z | 2021-09-07T16:30:09.000Z | import os
def delete_png():
list = os.listdir()
images = [x for x in list if ".png" in x]
for x in images:
os.remove(x)
| 20 | 45 | 0.571429 | 25 | 140 | 3.16 | 0.52 | 0.101266 | 0.126582 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307143 | 140 | 6 | 46 | 23.333333 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2318f93e1dbbfd3944ecc62850897cb02a31c46b | 253 | py | Python | python/intermediate/mutations_fredbaa.py | saumyasingh048/hacktoberithms | 6eb5472e846650b73e75e04f717bdf500d171052 | [
"MIT"
] | 16 | 2018-10-05T07:35:06.000Z | 2021-10-02T12:12:52.000Z | python/intermediate/mutations_fredbaa.py | saumyasingh048/hacktoberithms | 6eb5472e846650b73e75e04f717bdf500d171052 | [
"MIT"
] | 50 | 2018-10-04T00:04:24.000Z | 2019-10-25T16:29:58.000Z | python/intermediate/mutations_fredbaa.py | saumyasingh048/hacktoberithms | 6eb5472e846650b73e75e04f717bdf500d171052 | [
"MIT"
] | 115 | 2018-10-04T02:42:18.000Z | 2021-01-27T17:34:21.000Z | def mutations(inputs):
item_a = set(inputs[0].lower())
item_b = set(inputs[1].lower())
return item_b.intersection(item_a) == item_b
print(mutations(["hello", "Hello"]))
print(mutations(["hello", "hey"]))
print(mutations(["Alien", "line"])) | 28.111111 | 48 | 0.652174 | 35 | 253 | 4.571429 | 0.485714 | 0.09375 | 0.2375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.12253 | 253 | 9 | 49 | 28.111111 | 0.711712 | 0 | 0 | 0 | 0 | 0 | 0.106299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
23242d12535d7866d656babb7f0647408b6da6f2 | 211 | py | Python | alpyro_msgs/std_msgs/string.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/std_msgs/string.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/std_msgs/string.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from alpyro_msgs import RosMessage, string
class String(RosMessage):
__msg_typ__ = "std_msgs/String"
__msg_def__ = "c3RyaW5nIGRhdGEKCg=="
__md5_sum__ = "992ce8a1687cec8c8bd883ec73ca41d1"
data: string
| 21.1 | 50 | 0.781991 | 22 | 211 | 6.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.137441 | 211 | 9 | 51 | 23.444444 | 0.697802 | 0 | 0 | 0 | 0 | 0 | 0.317536 | 0.151659 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
23303987c4bbf5cc2feca31682866e312e9559a3 | 217 | py | Python | djmailer/api/models.py | taoteg/restful-python-tutorials | 530cfdd7fc8b1b06310f098400dae487512f9c0a | [
"BSD-3-Clause"
] | 1 | 2020-12-01T11:21:19.000Z | 2020-12-01T11:21:19.000Z | djmailer/api/models.py | taoteg/restful-python-tutorials | 530cfdd7fc8b1b06310f098400dae487512f9c0a | [
"BSD-3-Clause"
] | null | null | null | djmailer/api/models.py | taoteg/restful-python-tutorials | 530cfdd7fc8b1b06310f098400dae487512f9c0a | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
# Create your models here.
class Subscriber(models.Model):
name = models.CharField("Name", max_length=50)
age = models.IntegerField("Age")
email = models.EmailField("Email")
| 24.111111 | 50 | 0.714286 | 28 | 217 | 5.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.16129 | 217 | 8 | 51 | 27.125 | 0.835165 | 0.110599 | 0 | 0 | 0 | 0 | 0.062827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
234866a2f57ef94a43651ce557990ad96e6bfccb | 2,245 | py | Python | app.py | annieweng/twitter-app | 55543b20de52e1748fbd55848c325b3d5a3c9b26 | [
"Apache-2.0"
] | null | null | null | app.py | annieweng/twitter-app | 55543b20de52e1748fbd55848c325b3d5a3c9b26 | [
"Apache-2.0"
] | null | null | null | app.py | annieweng/twitter-app | 55543b20de52e1748fbd55848c325b3d5a3c9b26 | [
"Apache-2.0"
] | null | null | null | from flask import Flask, make_response, send_file, session, request, redirect, jsonify
import api
import json
import os
import logging
import twitter
from werkzeug import secure_filename
app = Flask(__name__)
app.config['SECRET_KEY'] = '24KJSF98325KJLSDF972saf29832LFjasf87FZKFJL78f7ds98FSDKLF'
login = False
@app.rou... | 27.716049 | 121 | 0.709577 | 296 | 2,245 | 5.189189 | 0.334459 | 0.052734 | 0.035807 | 0.039063 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016196 | 0.147439 | 2,245 | 80 | 122 | 28.0625 | 0.786311 | 0.064143 | 0 | 0.131148 | 0 | 0 | 0.20693 | 0.054173 | 0 | 0 | 0 | 0.0125 | 0 | 0 | null | null | 0.065574 | 0.114754 | null | null | 0.065574 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
235b1e17f4a64b0554f182d2de9c2e21220781b6 | 188 | py | Python | tests/urls.py | ainmosni/django-snooze | d160d7dbdc744b717ac534e815b2a543f18ade16 | [
"BSD-3-Clause"
] | null | null | null | tests/urls.py | ainmosni/django-snooze | d160d7dbdc744b717ac534e815b2a543f18ade16 | [
"BSD-3-Clause"
] | null | null | null | tests/urls.py | ainmosni/django-snooze | d160d7dbdc744b717ac534e815b2a543f18ade16 | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import patterns, include, url
import django_snooze
django_snooze.autodiscover()
urlpatterns = patterns(
'',
url(r'^api/', include(django_snooze.urls())),
)
| 18.8 | 51 | 0.723404 | 23 | 188 | 5.782609 | 0.565217 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 188 | 9 | 52 | 20.888889 | 0.820988 | 0 | 0 | 0 | 0 | 0 | 0.026596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2374a2bbed71dc2af6b42cf1ed34092daed677f1 | 50 | py | Python | atpthings/util/__init__.py | atp-things/pkg-python-util | 7ce464e38b43a84b6c8bf176b882d71e55edc4fb | [
"MIT"
] | null | null | null | atpthings/util/__init__.py | atp-things/pkg-python-util | 7ce464e38b43a84b6c8bf176b882d71e55edc4fb | [
"MIT"
] | null | null | null | atpthings/util/__init__.py | atp-things/pkg-python-util | 7ce464e38b43a84b6c8bf176b882d71e55edc4fb | [
"MIT"
] | null | null | null | """
atpthings.util
--------------
Utilities
"""
| 6.25 | 14 | 0.44 | 3 | 50 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 7 | 15 | 7.142857 | 0.511628 | 0.78 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88dbbfa9ec5237c987aeffce4825fb8466ba89a6 | 3,112 | py | Python | pyne/tests/test_particle.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T20:01:13.000Z | 2022-03-26T20:01:13.000Z | pyne/tests/test_particle.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | null | null | null | pyne/tests/test_particle.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T19:59:13.000Z | 2022-03-26T19:59:13.000Z | """Tally tests"""
import os
import warnings
from unittest import TestCase
import nose
from nose.tools import (
assert_equal,
assert_not_equal,
assert_raises,
raises,
assert_almost_equal,
assert_true,
assert_false,
assert_in,
)
from pyne.utils import QAWarning
warnings.simplefilter("i... | 28.290909 | 86 | 0.681234 | 408 | 3,112 | 4.904412 | 0.159314 | 0.307846 | 0.103948 | 0.076462 | 0.274363 | 0.166917 | 0.083958 | 0.083958 | 0.083958 | 0.083958 | 0 | 0.040469 | 0.150386 | 3,112 | 109 | 87 | 28.550459 | 0.716339 | 0.008355 | 0 | 0 | 0 | 0 | 0.156544 | 0 | 0 | 0 | 0 | 0 | 0.761905 | 1 | 0.095238 | true | 0 | 0.083333 | 0 | 0.178571 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88dccce37050a8add07328df48f1e481cb78e044 | 1,053 | py | Python | test/hlt/pytest/python/com/huawei/iotplatform/client/dto/OperationStaResult.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 128 | 2018-10-29T04:11:47.000Z | 2022-03-07T02:19:14.000Z | test/hlt/pytest/python/com/huawei/iotplatform/client/dto/OperationStaResult.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 40 | 2018-11-02T00:40:48.000Z | 2021-12-07T09:33:56.000Z | test/hlt/pytest/python/com/huawei/iotplatform/client/dto/OperationStaResult.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 118 | 2018-10-29T08:43:57.000Z | 2022-01-07T06:49:25.000Z | class OperationStaResult(object):
def __init__(self):
self.total = None
self.wait = None
self.processing = None
self.success = None
self.fail = None
self.stop = None
self.timeout = None
def getTotal(self):
return self.total
def setTotal(self... | 19.867925 | 40 | 0.593542 | 118 | 1,053 | 5.262712 | 0.245763 | 0.112721 | 0.15781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.320988 | 1,053 | 52 | 41 | 20.25 | 0.868531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.405405 | false | 0 | 0 | 0.189189 | 0.621622 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
00050b66c402a1ad0a7523da93c250f1e2437806 | 330 | py | Python | fpiweb/tests/utility.py | HarlandWHansen/Food-Pantry-Inventory | 21cf34fcc6bac36b5fd18a6090dcda3fa08ae261 | [
"MIT"
] | null | null | null | fpiweb/tests/utility.py | HarlandWHansen/Food-Pantry-Inventory | 21cf34fcc6bac36b5fd18a6090dcda3fa08ae261 | [
"MIT"
] | null | null | null | fpiweb/tests/utility.py | HarlandWHansen/Food-Pantry-Inventory | 21cf34fcc6bac36b5fd18a6090dcda3fa08ae261 | [
"MIT"
] | null | null | null |
from django.contrib.auth.models import User
default_password = 'abc123'
def create_user(first_name, last_name):
first_name = first_name.lower()
last_name = last_name.lower()
return User.objects.create_user(
first_name[0] + last_name,
f"{first_name}.{last_name}",
default_passwo... | 18.333333 | 43 | 0.678788 | 44 | 330 | 4.772727 | 0.454545 | 0.214286 | 0.171429 | 0.180952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015444 | 0.215152 | 330 | 17 | 44 | 19.411765 | 0.795367 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.2 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
000f5b55d940bcf7171dd1eca849338d0076cc47 | 2,562 | py | Python | Python OOP/7. SOLID/Lab/03. Ducks (Liskov Substitution).py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python OOP/7. SOLID/Lab/03. Ducks (Liskov Substitution).py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python OOP/7. SOLID/Lab/03. Ducks (Liskov Substitution).py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | # Original Code:
# from abc import abstractmethod, ABC
#
#
# class Duck(ABC):
# pass
#
#
# class RubberDuck(Duck):
# @staticmethod
# def quack():
# return "Squeek"
#
# @staticmethod
# def walk():
# """Rubber duck can walk only if you move it"""
# raise Exception('I cannot wa... | 18.977778 | 90 | 0.595628 | 287 | 2,562 | 5.240418 | 0.275261 | 0.129654 | 0.066489 | 0.086436 | 0.314495 | 0.269282 | 0.227394 | 0.135638 | 0.06117 | 0 | 0 | 0.002746 | 0.289227 | 2,562 | 134 | 91 | 19.119403 | 0.823174 | 0.439891 | 0 | 0.535714 | 0 | 0 | 0.073188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.053571 | 0.017857 | 0.142857 | 0.482143 | 0.142857 | 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 | 0 | 0 | 0 | 3 |
00169ac8917bc71ea2d6a8fba9ab47b43bce2fae | 4,038 | py | Python | great_expectations/data_context/store/data_snapshot_store.py | williamjr/great_expectations | 7e3af56476ea9966045172696af316b8537ff4c6 | [
"Apache-2.0"
] | 2 | 2020-03-04T19:35:57.000Z | 2020-04-13T21:06:02.000Z | great_expectations/data_context/store/data_snapshot_store.py | noncomposmentis/great_expectations | 8155b1f20a88aa186745698792856f84d82f33ef | [
"Apache-2.0"
] | null | null | null | great_expectations/data_context/store/data_snapshot_store.py | noncomposmentis/great_expectations | 8155b1f20a88aa186745698792856f84d82f33ef | [
"Apache-2.0"
] | null | null | null | # NOTE: Deprecated. Retain until DataSnapshotStore is implemented
# class NamespacedReadWriteStoreConfig(ReadWriteStoreConfig):
# _allowed_keys = set({
# "serialization_type",
# "resource_identifier_class_name",
# "store_backend",
# })
# _required_keys = set({
# "resource_ide... | 41.628866 | 170 | 0.668153 | 471 | 4,038 | 5.397028 | 0.292994 | 0.120378 | 0.072384 | 0.063729 | 0.252164 | 0.199843 | 0.140047 | 0.140047 | 0.107002 | 0.107002 | 0 | 0.001305 | 0.241209 | 4,038 | 96 | 171 | 42.0625 | 0.828329 | 0.952204 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.010417 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
004961d40953069e372d36a2b083a7a2c7263f7e | 624 | py | Python | agendamentos/migrations/0012_auto_20211129_0304.py | afnmachado/univesp_pi_1 | e6f2b545faaf53d14d17f751d2fb32e6618885b7 | [
"MIT"
] | null | null | null | agendamentos/migrations/0012_auto_20211129_0304.py | afnmachado/univesp_pi_1 | e6f2b545faaf53d14d17f751d2fb32e6618885b7 | [
"MIT"
] | null | null | null | agendamentos/migrations/0012_auto_20211129_0304.py | afnmachado/univesp_pi_1 | e6f2b545faaf53d14d17f751d2fb32e6618885b7 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.8 on 2021-11-29 06:04
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('agendamentos', '0011_alter_agendamentosfuncionarios_table'),
]
operations = [
migrations.RemoveField(
model_name='agendamentosfuncionari... | 24 | 70 | 0.608974 | 50 | 624 | 7.46 | 0.68 | 0.225201 | 0.13941 | 0.160858 | 0.310992 | 0.310992 | 0 | 0 | 0 | 0 | 0 | 0.04328 | 0.296474 | 624 | 25 | 71 | 24.96 | 0.806378 | 0.072115 | 0 | 0.368421 | 1 | 0 | 0.268631 | 0.195841 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
004ad78b199e5cbf7fd04ab5effebfe69b888e0f | 194 | py | Python | src/main.py | sudosubin/bins | 821385f005180c9bbff803f819a498e59fbe27c8 | [
"MIT"
] | null | null | null | src/main.py | sudosubin/bins | 821385f005180c9bbff803f819a498e59fbe27c8 | [
"MIT"
] | null | null | null | src/main.py | sudosubin/bins | 821385f005180c9bbff803f819a498e59fbe27c8 | [
"MIT"
] | null | null | null | import asyncio
import uvloop
from rich import traceback
from command import Command
if __name__ == '__main__':
traceback.install()
uvloop.install()
asyncio.run(Command.execute())
| 16.166667 | 34 | 0.737113 | 23 | 194 | 5.869565 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 194 | 11 | 35 | 17.636364 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 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 | 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 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.