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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e74616d27434165b8000fef67fefac7f0924db19 | 208 | py | Python | djangocms_styledlink/admin.py | britny/djangocms-styledlink | 8dcaa8f41a902e51915ce15a9b74137880174009 | [
"BSD-3-Clause"
] | null | null | null | djangocms_styledlink/admin.py | britny/djangocms-styledlink | 8dcaa8f41a902e51915ce15a9b74137880174009 | [
"BSD-3-Clause"
] | null | null | null | djangocms_styledlink/admin.py | britny/djangocms-styledlink | 8dcaa8f41a902e51915ce15a9b74137880174009 | [
"BSD-3-Clause"
] | 1 | 2018-02-26T13:13:51.000Z | 2018-02-26T13:13:51.000Z | # -*- coding: utf-8 -*-
from django.contrib import admin
from .models import StyledLinkStyle
class StyledLinkStyleAdmin(admin.ModelAdmin):
pass
admin.site.register(StyledLinkStyle, StyledLinkStyleAdmin) | 18.909091 | 58 | 0.793269 | 22 | 208 | 7.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0.110577 | 208 | 11 | 58 | 18.909091 | 0.886486 | 0.100962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
e765c2ede7b6126a1f34a417c0f2d9a23f87b8ad | 234 | py | Python | tests/test_statistics.py | GitMarco27/GitMarco | 2d9dd93a73a6d7b68d63222512a646cdd988909e | [
"MIT"
] | null | null | null | tests/test_statistics.py | GitMarco27/GitMarco | 2d9dd93a73a6d7b68d63222512a646cdd988909e | [
"MIT"
] | null | null | null | tests/test_statistics.py | GitMarco27/GitMarco | 2d9dd93a73a6d7b68d63222512a646cdd988909e | [
"MIT"
] | null | null | null | import numpy as np
from GitMarco.statistics.metrics import standard_error
def test_standard_error():
data = np.random.rand(20)
error = standard_error(data)
assert isinstance(error, float), 'Error in standard error type'
| 26 | 67 | 0.75641 | 33 | 234 | 5.242424 | 0.636364 | 0.300578 | 0.196532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.162393 | 234 | 8 | 68 | 29.25 | 0.872449 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e76c003032634b5d81720b1482391353e14896c6 | 140 | py | Python | jembatan/typesys/__init__.py | leebecker/jembatan | 33443dcb37d05308c84430d34aef3b6a1c8bf44e | [
"Apache-2.0"
] | null | null | null | jembatan/typesys/__init__.py | leebecker/jembatan | 33443dcb37d05308c84430d34aef3b6a1c8bf44e | [
"Apache-2.0"
] | null | null | null | jembatan/typesys/__init__.py | leebecker/jembatan | 33443dcb37d05308c84430d34aef3b6a1c8bf44e | [
"Apache-2.0"
] | null | null | null | from jembatan.core.spandex.typesys_base import (
Annotation, AnnotationRef, AnnotationScope, DocumentAnnotation, SpannedAnnotation)
| 46.666667 | 90 | 0.814286 | 12 | 140 | 9.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121429 | 140 | 2 | 91 | 70 | 0.918699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e7732474e79b68adfb0b13f672091621279cb7c8 | 97 | py | Python | Domain/Entity/Sequence.py | RogovArtem/BioInvi | f912165a953b3b484b9f781d6714797da915b4ac | [
"Apache-2.0"
] | null | null | null | Domain/Entity/Sequence.py | RogovArtem/BioInvi | f912165a953b3b484b9f781d6714797da915b4ac | [
"Apache-2.0"
] | null | null | null | Domain/Entity/Sequence.py | RogovArtem/BioInvi | f912165a953b3b484b9f781d6714797da915b4ac | [
"Apache-2.0"
] | null | null | null | import Domain.Entity.Header as HeaderModule
class Sequence:
Header = HeaderModule.Header()
| 16.166667 | 43 | 0.773196 | 11 | 97 | 6.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 44 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e7c8d844d7a700256433afd9ce859d7183d13d21 | 455 | py | Python | gui/_page_buttons.py | parot-99/COVID-19-Warning-System | 41c53f41db3a0e3b78c6b934c2964a96c4c2f635 | [
"BSD-3-Clause"
] | 2 | 2020-08-17T19:33:38.000Z | 2020-08-26T18:39:03.000Z | gui/_page_buttons.py | parot-99/COVID-19-Warning-System | 41c53f41db3a0e3b78c6b934c2964a96c4c2f635 | [
"BSD-3-Clause"
] | null | null | null | gui/_page_buttons.py | parot-99/COVID-19-Warning-System | 41c53f41db3a0e3b78c6b934c2964a96c4c2f635 | [
"BSD-3-Clause"
] | 1 | 2021-01-04T17:47:22.000Z | 2021-01-04T17:47:22.000Z | def yolo_btn_clicked(self):
self.detection_model = 'yolo'
self.stackedWidget.setCurrentIndex(1)
def yolo_tiny_btn_clicked(self):
self.detection_model = 'yolol-tiny'
self.stackedWidget.setCurrentIndex(1)
def load_weights_page_btn_clicked(self):
self.stackedWidget.setCurrentIndex(4)
def birdseye_pa... | 26.764706 | 41 | 0.786813 | 59 | 455 | 5.779661 | 0.322034 | 0.117302 | 0.469208 | 0.211144 | 0.824047 | 0.504399 | 0.316716 | 0.316716 | 0.316716 | 0 | 0 | 0.012438 | 0.116484 | 455 | 16 | 42 | 28.4375 | 0.835821 | 0 | 0 | 0.416667 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
99b515958938978671a071c110cc8209f97a2af0 | 444 | py | Python | waterbutler/core/streams/metadata.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | 65 | 2015-01-23T03:22:04.000Z | 2022-01-11T22:33:19.000Z | waterbutler/core/streams/metadata.py | cslzchen/waterbutler | e4e07727e06885a752c9251e5731f5627f646da3 | [
"Apache-2.0"
] | 300 | 2015-02-16T16:45:02.000Z | 2022-01-31T14:49:07.000Z | waterbutler/core/streams/metadata.py | cslzchen/waterbutler | e4e07727e06885a752c9251e5731f5627f646da3 | [
"Apache-2.0"
] | 76 | 2015-01-20T20:45:17.000Z | 2021-07-30T13:18:10.000Z | class HashStreamWriter:
"""Stream-like object that hashes and discards its input."""
def __init__(self, hasher):
self.hash = hasher()
@property
def digest(self):
return self.hash.digest()
@property
def hexdigest(self):
return self.hash.hexdigest()
def can_write_eo... | 19.304348 | 64 | 0.608108 | 53 | 444 | 4.981132 | 0.528302 | 0.121212 | 0.106061 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.286036 | 444 | 22 | 65 | 20.181818 | 0.832808 | 0.121622 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.066667 | 0 | 0.2 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
99cbb3527de530b4ef3631f71fa57445cc13da13 | 73 | py | Python | schicluster/compartment/__init__.py | zhoujt1994/HiCluster | ee7431c33d8b565cd8b92b633e6f79b2267c1535 | [
"MIT"
] | 27 | 2019-07-10T23:17:33.000Z | 2022-01-14T07:34:42.000Z | schicluster/compartment/__init__.py | zhoujt1994/HiCluster | ee7431c33d8b565cd8b92b633e6f79b2267c1535 | [
"MIT"
] | 4 | 2019-11-01T01:12:09.000Z | 2022-03-29T11:24:35.000Z | schicluster/compartment/__init__.py | zhoujt1994/HiCluster | ee7431c33d8b565cd8b92b633e6f79b2267c1535 | [
"MIT"
] | 8 | 2019-12-24T13:54:11.000Z | 2022-01-26T17:21:55.000Z | from .call_compartment import multiple_cell_compartment, get_cpg_profile
| 36.5 | 72 | 0.90411 | 10 | 73 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 73 | 1 | 73 | 73 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
99d0f3375ab781a692694640fd3d34aeffeeb27e | 570 | py | Python | pyrecard/subscription/payment.py | DiegoMagg/pyrecard | 4a7adc0342703b4eae6c42eabd2f7cd5e1a4d10f | [
"MIT"
] | 6 | 2020-09-03T12:56:49.000Z | 2020-09-03T13:28:31.000Z | pyrecard/subscription/payment.py | DiegoMagg/pyrecard | 4a7adc0342703b4eae6c42eabd2f7cd5e1a4d10f | [
"MIT"
] | 4 | 2020-08-25T15:28:54.000Z | 2020-08-31T17:08:13.000Z | pyrecard/subscription/payment.py | DiegoMagg/pyrecard | 4a7adc0342703b4eae6c42eabd2f7cd5e1a4d10f | [
"MIT"
] | null | null | null | from pyrecard.utils.pyrequest import pyrequest
INVOICE_PATH = '/assinaturas/v1/invoices'
def fetch_invoice(code):
return pyrequest('GET', f'{INVOICE_PATH}/{code}')
def fetch_invoice_payments(code):
return pyrequest('GET', f'{INVOICE_PATH}/{code}/payments')
def payment_details(code):
return pyrequest... | 22.8 | 68 | 0.722807 | 75 | 570 | 5.32 | 0.346667 | 0.137845 | 0.190476 | 0.160401 | 0.423559 | 0.365915 | 0.365915 | 0.190476 | 0 | 0 | 0 | 0.003968 | 0.115789 | 570 | 24 | 69 | 23.75 | 0.787698 | 0 | 0 | 0 | 0 | 0 | 0.314035 | 0.284211 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0.416667 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
99ea032a02739516df9294e7a948724bd9c298bd | 328 | py | Python | src/__init__.py | R3v1L/evoreports | 51bda993435f49ff6afc2cd9502787023f6dea45 | [
"MIT"
] | null | null | null | src/__init__.py | R3v1L/evoreports | 51bda993435f49ff6afc2cd9502787023f6dea45 | [
"MIT"
] | null | null | null | src/__init__.py | R3v1L/evoreports | 51bda993435f49ff6afc2cd9502787023f6dea45 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
###############################################################################
# Author: (C) 2011 Oliver Gutiérrez <ogutsua@evosistemas.com>
# Module: evoreports
# Description: EVO Report generation tools
###############################################################################
#class E... | 41 | 79 | 0.371951 | 20 | 328 | 6.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016556 | 0.079268 | 328 | 8 | 80 | 41 | 0.387417 | 0.478659 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
99f721ef3bae07c8dc61af52decaa8338c3c2241 | 148 | py | Python | Sessions/S04/ex2.py | paulbordea/session3 | a2edf697cbe9b9aa98383562416d4fdf1e19b482 | [
"MIT"
] | null | null | null | Sessions/S04/ex2.py | paulbordea/session3 | a2edf697cbe9b9aa98383562416d4fdf1e19b482 | [
"MIT"
] | null | null | null | Sessions/S04/ex2.py | paulbordea/session3 | a2edf697cbe9b9aa98383562416d4fdf1e19b482 | [
"MIT"
] | null | null | null | from module1 import f as f1
from module2 import f as f2
f1()
f2()
import datetime
print(datetime.datetime.now())
from pkg1.module1 import f
f() | 11.384615 | 30 | 0.736486 | 26 | 148 | 4.192308 | 0.461538 | 0.192661 | 0.256881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.175676 | 148 | 13 | 31 | 11.384615 | 0.827869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
820c670c856c122f93903b28b25506f3a15037c5 | 1,101 | py | Python | qiskit/pulse/instructions/__init__.py | EnriqueL8/qiskit-terra | 08b801f1f8598c4e44680b4a75c232ed92db0262 | [
"Apache-2.0"
] | 2 | 2019-06-28T19:58:42.000Z | 2019-07-26T05:04:02.000Z | qiskit/pulse/instructions/__init__.py | EnriqueL8/qiskit-terra | 08b801f1f8598c4e44680b4a75c232ed92db0262 | [
"Apache-2.0"
] | null | null | null | qiskit/pulse/instructions/__init__.py | EnriqueL8/qiskit-terra | 08b801f1f8598c4e44680b4a75c232ed92db0262 | [
"Apache-2.0"
] | 1 | 2020-01-24T21:01:06.000Z | 2020-01-24T21:01:06.000Z | # -*- coding: utf-8 -*-
# This code is part of Qiskit.
#
# (C) Copyright IBM 2020.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modif... | 44.04 | 95 | 0.769301 | 172 | 1,101 | 4.924419 | 0.622093 | 0.028335 | 0.023613 | 0.042503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009677 | 0.155313 | 1,101 | 24 | 96 | 45.875 | 0.901075 | 0.936421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
82132137aa992491c7e455dd374fa2b04b2370e2 | 723 | py | Python | src/sluggable/tests/models.py | jmagnusson/django-sluggable | 6773868ae20b6220b494b12d7e58c6568373fd46 | [
"MIT"
] | null | null | null | src/sluggable/tests/models.py | jmagnusson/django-sluggable | 6773868ae20b6220b494b12d7e58c6568373fd46 | [
"MIT"
] | null | null | null | src/sluggable/tests/models.py | jmagnusson/django-sluggable | 6773868ae20b6220b494b12d7e58c6568373fd46 | [
"MIT"
] | null | null | null | from django.db import models
from sluggable.models import SluggableModel
class SimpleSluggableModel(SluggableModel):
alpha = models.CharField(max_length=255)
def __unicode__(self):
return u'%s' % self.alpha
class MultiFieldSluggableModel(SluggableModel):
alpha = models.CharField(max_length=25... | 28.92 | 51 | 0.692946 | 82 | 723 | 5.890244 | 0.329268 | 0.15528 | 0.186335 | 0.248447 | 0.608696 | 0.608696 | 0.608696 | 0.569358 | 0.569358 | 0.569358 | 0 | 0.025952 | 0.200553 | 723 | 25 | 52 | 28.92 | 0.809689 | 0 | 0 | 0.555556 | 0 | 0 | 0.023481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.111111 | 0.166667 | 0.944444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
821adc5dff2d5886a2dd101b8914f65fc4ab5a6f | 934 | py | Python | tests/test_embedding.py | vishalbelsare/kgtk | 7dbcc901a5d52cc9d1af97715e12697e5b460dc7 | [
"MIT"
] | 222 | 2020-03-31T17:45:04.000Z | 2022-03-30T22:48:08.000Z | tests/test_embedding.py | vishalbelsare/kgtk | 7dbcc901a5d52cc9d1af97715e12697e5b460dc7 | [
"MIT"
] | 510 | 2020-04-02T00:32:44.000Z | 2022-03-29T01:20:22.000Z | tests/test_embedding.py | vishalbelsare/kgtk | 7dbcc901a5d52cc9d1af97715e12697e5b460dc7 | [
"MIT"
] | 41 | 2020-03-31T17:45:07.000Z | 2022-03-22T02:49:44.000Z | import unittest
from kgtk.cli_entry import cli_entry
# class TestEmbedding(unittest.TestCase):
#
# def test_vector(self):
# # now just test if it is runnning properly or not
# # test_input = 'data/embedding_test_input.tsv'
# # assert cli_entry("kgtk", "text_embedding", test_input, "--use-ca... | 51.888889 | 118 | 0.626338 | 124 | 934 | 4.564516 | 0.564516 | 0.04417 | 0.042403 | 0.056537 | 0.088339 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036842 | 0.186296 | 934 | 17 | 119 | 54.941176 | 0.707895 | 0.906852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
822fc1f9de64616f13083207f0c3e8c866bb5382 | 274 | py | Python | condition_and_loop/iterator.py | pysga1996/python-basic-programming | 5fe817986fbef2649b4b03955f07b59d2a2035d8 | [
"MIT"
] | null | null | null | condition_and_loop/iterator.py | pysga1996/python-basic-programming | 5fe817986fbef2649b4b03955f07b59d2a2035d8 | [
"MIT"
] | null | null | null | condition_and_loop/iterator.py | pysga1996/python-basic-programming | 5fe817986fbef2649b4b03955f07b59d2a2035d8 | [
"MIT"
] | null | null | null | tuple1 = ('apple', 'banana', 'cherry')
iter1 = iter(tuple1)
print(next(iter1))
print(next(iter1))
print(next(iter1))
string = 'banana'
iter2 = iter(string)
print(next(iter2))
print(next(iter2))
print(next(iter2))
print(next(iter2))
print(next(iter2))
print(next(iter2))
| 15.222222 | 38 | 0.69708 | 39 | 274 | 4.897436 | 0.25641 | 0.424084 | 0.439791 | 0.497382 | 0.659686 | 0.659686 | 0.439791 | 0.439791 | 0.439791 | 0.439791 | 0 | 0.052632 | 0.09854 | 274 | 17 | 39 | 16.117647 | 0.720648 | 0 | 0 | 0.692308 | 0 | 0 | 0.084249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.692308 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4146d73d79d270b3419325f1d012fb6405b056a5 | 1,790 | py | Python | payments/migrations/0005_auto_20170812_2205.py | aman-roy/pune.pycon.org | f56cc948bd56767110d337c694ecbf5540bdf4b9 | [
"MIT"
] | 1 | 2021-02-14T13:02:19.000Z | 2021-02-14T13:02:19.000Z | payments/migrations/0005_auto_20170812_2205.py | aman-roy/pune.pycon.org | f56cc948bd56767110d337c694ecbf5540bdf4b9 | [
"MIT"
] | null | null | null | payments/migrations/0005_auto_20170812_2205.py | aman-roy/pune.pycon.org | f56cc948bd56767110d337c694ecbf5540bdf4b9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('payments', '0004_auto_20170812_2044'),
]
operations = [
migrations.AlterField(
model_name='order',
n... | 32.545455 | 92 | 0.582123 | 175 | 1,790 | 5.737143 | 0.228571 | 0.159363 | 0.199203 | 0.231076 | 0.796813 | 0.796813 | 0.707171 | 0.545817 | 0.545817 | 0.545817 | 0 | 0.032462 | 0.294413 | 1,790 | 54 | 93 | 33.148148 | 0.76247 | 0.011732 | 0 | 0.666667 | 0 | 0 | 0.119411 | 0.013016 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 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 | 4 |
41497cb2968d34e5297bc1a03c86b248cb7560c9 | 658 | py | Python | naives.py | banr1jnts/Earthquake_Prediction | 13757e3498ef26e8db261fa04c0437f0f1d2e884 | [
"Apache-2.0"
] | 1 | 2019-02-28T10:49:00.000Z | 2019-02-28T10:49:00.000Z | naives.py | banr1jnts/earthquake_prediction | 13757e3498ef26e8db261fa04c0437f0f1d2e884 | [
"Apache-2.0"
] | null | null | null | naives.py | banr1jnts/earthquake_prediction | 13757e3498ef26e8db261fa04c0437f0f1d2e884 | [
"Apache-2.0"
] | null | null | null | import numpy as np
class Naive():
def __init__(self, mean, batch_size, target_length):
self.lam = mean
self.batch_size = batch_size
self.target_length = target_length
def predict(self, samples):
e = 1e-5
pred = np.random.poisson(lam=self.lam-e, size=(self.batch_size, se... | 28.608696 | 92 | 0.653495 | 90 | 658 | 4.511111 | 0.366667 | 0.206897 | 0.110837 | 0.155172 | 0.246305 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.240122 | 658 | 22 | 93 | 29.909091 | 0.804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.055556 | 0.055556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
4174857352888e322c191418c546263839419c87 | 182 | py | Python | redo_comparison_plot.py | nickmvincent/you-geo-see | 003c9915ac25110b043b2047d661b899201bcd67 | [
"MIT"
] | null | null | null | redo_comparison_plot.py | nickmvincent/you-geo-see | 003c9915ac25110b043b2047d661b899201bcd67 | [
"MIT"
] | null | null | null | redo_comparison_plot.py | nickmvincent/you-geo-see | 003c9915ac25110b043b2047d661b899201bcd67 | [
"MIT"
] | null | null | null | import pandas as pd
from plotters import plot_comparison
import matplotlib.pyplot as plt
comparison_df = pd.read_csv('comparison_df.csv')
plot_comparison(comparison_df)
plt.show()
| 20.222222 | 48 | 0.824176 | 28 | 182 | 5.142857 | 0.535714 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104396 | 182 | 8 | 49 | 22.75 | 0.883436 | 0 | 0 | 0 | 0 | 0 | 0.093407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4180cae3aa9e3cca3e0dc8a435dd1a9ba9f941f2 | 153 | py | Python | GLaDOS/central_core/wsgi.py | mvasilkov/scrapheap | 53e30b88879ab8e4d80867b0ec7fa631ce46e55e | [
"MIT"
] | 2 | 2021-11-29T13:51:27.000Z | 2021-12-12T14:59:42.000Z | GLaDOS/central_core/wsgi.py | mvasilkov/scrapheap | 53e30b88879ab8e4d80867b0ec7fa631ce46e55e | [
"MIT"
] | null | null | null | GLaDOS/central_core/wsgi.py | mvasilkov/scrapheap | 53e30b88879ab8e4d80867b0ec7fa631ce46e55e | [
"MIT"
] | null | null | null | from django.core.wsgi import get_wsgi_application
from defaults import setenv
__all__ = ['application']
setenv()
application = get_wsgi_application()
| 17 | 49 | 0.803922 | 19 | 153 | 6.052632 | 0.526316 | 0.121739 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 153 | 8 | 50 | 19.125 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.071895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
41834b87520a224dbb4c4ea39634769a968d8630 | 506 | py | Python | howareyoutwitter/api/models.py | tyheise/how-are-you-twitter | 1e4b938381e7d552486e981b0f696f330635ba82 | [
"MIT"
] | 1 | 2019-10-24T20:47:24.000Z | 2019-10-24T20:47:24.000Z | howareyoutwitter/api/models.py | tyheise/how-are-you-twitter | 1e4b938381e7d552486e981b0f696f330635ba82 | [
"MIT"
] | 12 | 2019-10-22T22:32:40.000Z | 2021-01-07T05:13:25.000Z | howareyoutwitter/api/models.py | tyheise/how-are-you-twitter | 1e4b938381e7d552486e981b0f696f330635ba82 | [
"MIT"
] | 1 | 2020-01-02T22:28:52.000Z | 2020-01-02T22:28:52.000Z | from django.db import models
class Token(models.Model):
token_type = models.CharField(max_length=300)
access_token = models.CharField(max_length=300)
class Tweet(models.Model):
user_id = models.CharField(max_length=300)
tweet_id = models.CharField(max_length=300)
creation_date = models.DateTimeFi... | 29.764706 | 56 | 0.750988 | 67 | 506 | 5.507463 | 0.402985 | 0.243902 | 0.292683 | 0.390244 | 0.463415 | 0.157182 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.140316 | 506 | 16 | 57 | 31.625 | 0.806897 | 0 | 0 | 0 | 0 | 0 | 0.013834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
41a7c88122970c2d8ad2f65899928cd5dc3852c1 | 196 | py | Python | azure_runbook_util/__init__.py | nuxsmin/azure_runbook_util | 165fcdd710c5f29654ee8fa985506037ba7bf4bf | [
"Apache-2.0"
] | null | null | null | azure_runbook_util/__init__.py | nuxsmin/azure_runbook_util | 165fcdd710c5f29654ee8fa985506037ba7bf4bf | [
"Apache-2.0"
] | null | null | null | azure_runbook_util/__init__.py | nuxsmin/azure_runbook_util | 165fcdd710c5f29654ee8fa985506037ba7bf4bf | [
"Apache-2.0"
] | null | null | null | import logging
import sys
logging.basicConfig(stream=sys.stdout,
level=logging.INFO,
format="[%(asctime)s] %(name)s %(levelname)s %(module)s %(message)s")
| 28 | 89 | 0.586735 | 23 | 196 | 5 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 196 | 6 | 90 | 32.666667 | 0.798611 | 0 | 0 | 0 | 0 | 0.2 | 0.30102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
41b68262a64cef25923e2f12babe200528184570 | 158 | py | Python | debian/tests/srcs/mpi-python/demo1.py | lliurex/boost1.67 | bab6eba0e7ac4a0232bc0bcab501f1b447ddfdd5 | [
"BSL-1.0"
] | null | null | null | debian/tests/srcs/mpi-python/demo1.py | lliurex/boost1.67 | bab6eba0e7ac4a0232bc0bcab501f1b447ddfdd5 | [
"BSL-1.0"
] | null | null | null | debian/tests/srcs/mpi-python/demo1.py | lliurex/boost1.67 | bab6eba0e7ac4a0232bc0bcab501f1b447ddfdd5 | [
"BSL-1.0"
] | null | null | null | # https://www.boost.org/doc/libs/1_67_0/doc/html/mpi/tutorial.html#mpi.python
import boost.mpi as mpi
print "I am process %d of %d." % (mpi.rank, mpi.size)
| 26.333333 | 77 | 0.708861 | 32 | 158 | 3.4375 | 0.71875 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.113924 | 158 | 5 | 78 | 31.6 | 0.757143 | 0.468354 | 0 | 0 | 0 | 0 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
41baa17994b972974a92ab3ec8da85a2252642ed | 46 | py | Python | Practice/Coding Blocks/Competitive Warriors Challenge 1.0/Head Expectation.py | cnm06/Competitive-Programming | 94242ae458570d503b8218f37624b88cc5020d23 | [
"MIT"
] | 994 | 2017-02-28T06:13:47.000Z | 2022-03-31T10:49:00.000Z | Practice/Coding Blocks/Competitive Warriors Challenge 1.0/Head Expectation.py | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | 16 | 2018-01-01T02:59:55.000Z | 2021-11-22T12:49:16.000Z | Practice/Coding Blocks/Competitive Warriors Challenge 1.0/Head Expectation.py | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | 325 | 2017-06-15T03:32:43.000Z | 2022-03-28T22:43:42.000Z | n = int(raw_input())
print (2 ** (n + 1)) - 2
| 15.333333 | 24 | 0.478261 | 9 | 46 | 2.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.23913 | 46 | 2 | 25 | 23 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
68b9bb1b5bb2dace76192c1cfcd3ff617dcb4f71 | 2,909 | py | Python | general_ner/data_loader.py | kunpeng199494/general_ner | b6ba6f832d6897d4c91722dbb10922a9a53a3557 | [
"MIT"
] | 4 | 2021-05-20T06:50:58.000Z | 2021-09-13T09:14:21.000Z | general_ner/data_loader.py | kunpeng199494/general_ner | b6ba6f832d6897d4c91722dbb10922a9a53a3557 | [
"MIT"
] | null | null | null | general_ner/data_loader.py | kunpeng199494/general_ner | b6ba6f832d6897d4c91722dbb10922a9a53a3557 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import re
import os
import sys
import hao
root_dir = hao.paths.project_root_path()
sys.path.append(root_dir)
import torch
from torch.utils.data import DataLoader, TensorDataset
from general_ner.utils import load_vocab, read_corpus, process_line
def data_load(config):
vocab = load_vocab(co... | 46.174603 | 111 | 0.778274 | 447 | 2,909 | 4.771812 | 0.129754 | 0.084388 | 0.106892 | 0.101266 | 0.744491 | 0.744491 | 0.727614 | 0.727614 | 0.707923 | 0.553211 | 0 | 0.000392 | 0.122379 | 2,909 | 62 | 112 | 46.919355 | 0.835096 | 0.007219 | 0 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.162791 | 0 | 0.255814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
68c3132f4941a89b0da3da20a8abad4a8c60dd2e | 59 | py | Python | mathics/builtin/colors/__init__.py | tirkarthi/mathics-core | 6b07500b935f23dc332f4ec3fac1d71ac4c8fc04 | [
"Apache-2.0"
] | 90 | 2021-09-11T14:14:00.000Z | 2022-03-29T02:08:29.000Z | mathics/builtin/colors/__init__.py | tirkarthi/mathics-core | 6b07500b935f23dc332f4ec3fac1d71ac4c8fc04 | [
"Apache-2.0"
] | 187 | 2021-09-13T01:00:41.000Z | 2022-03-31T11:52:52.000Z | mathics/builtin/colors/__init__.py | tirkarthi/mathics-core | 6b07500b935f23dc332f4ec3fac1d71ac4c8fc04 | [
"Apache-2.0"
] | 10 | 2021-10-05T15:44:26.000Z | 2022-03-21T12:34:33.000Z | """
Colors
Programmatic support for symbolic colors.
"""
| 8.428571 | 41 | 0.711864 | 6 | 59 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 59 | 6 | 42 | 9.833333 | 0.857143 | 0.830508 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
68c329365c2ec82f437b91f2db1c20413685a17f | 171 | py | Python | config_template.py | ArVID220u/turingsgang | 8e27ef0a1c29895489e46de31b5bcd91b7c8bc63 | [
"MIT"
] | 2 | 2019-03-06T19:43:47.000Z | 2021-07-01T22:14:23.000Z | server/config_template.py | corollari/speech2latex | 3035ad0b77c27ee6ef66c256a0f2aead399257cc | [
"MIT"
] | null | null | null | server/config_template.py | corollari/speech2latex | 3035ad0b77c27ee6ef66c256a0f2aead399257cc | [
"MIT"
] | null | null | null |
# The secret key used by Flask for signing cookies
# You can generate a secret key by running os.urandom(32) in python
FLASK_SECRET_KEY = "Randomly generated secret key"
| 34.2 | 67 | 0.783626 | 29 | 171 | 4.551724 | 0.724138 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.169591 | 171 | 4 | 68 | 42.75 | 0.915493 | 0.666667 | 0 | 0 | 1 | 0 | 0.54717 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
68e9b93cb0e8b3b5e9a5ea362873414240f0fd4e | 26 | py | Python | waffls/__version__.py | bendv/waffls | c35841e9beed78799f2a7c23c26d7986cf991cf9 | [
"MIT"
] | 5 | 2019-10-10T19:36:52.000Z | 2022-01-02T18:37:52.000Z | waffls/__version__.py | bendv/waffls | c35841e9beed78799f2a7c23c26d7986cf991cf9 | [
"MIT"
] | 1 | 2020-02-09T18:17:31.000Z | 2020-02-14T19:34:37.000Z | waffls/__version__.py | bendv/waffls | c35841e9beed78799f2a7c23c26d7986cf991cf9 | [
"MIT"
] | 1 | 2020-02-15T10:31:31.000Z | 2020-02-15T10:31:31.000Z | __version__ = '0.3.4dev5'
| 13 | 25 | 0.692308 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.115385 | 26 | 1 | 26 | 26 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6b54924f5319f03c99e0338e105fbd04bf796db1 | 144 | py | Python | backend/library/pagination.py | Cardinal-Alpha/fullstack-demo | 1f68a46d290479a286f0180bb1be20b2f6732afa | [
"MIT"
] | null | null | null | backend/library/pagination.py | Cardinal-Alpha/fullstack-demo | 1f68a46d290479a286f0180bb1be20b2f6732afa | [
"MIT"
] | null | null | null | backend/library/pagination.py | Cardinal-Alpha/fullstack-demo | 1f68a46d290479a286f0180bb1be20b2f6732afa | [
"MIT"
] | null | null | null | from rest_framework.pagination import PageNumberPagination
class PageSizedPagination(PageNumberPagination):
page_size_query_param = 'size' | 28.8 | 58 | 0.854167 | 14 | 144 | 8.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 144 | 5 | 59 | 28.8 | 0.915385 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6b57eb6d1d322f249b9f5e669b90228548ea8271 | 181 | py | Python | extra/sumRange.py | ArseniumGX/bluemer-modulo1-python | 2f7c69252a9a86cc573c192d1d9685b0c20466f8 | [
"MIT"
] | null | null | null | extra/sumRange.py | ArseniumGX/bluemer-modulo1-python | 2f7c69252a9a86cc573c192d1d9685b0c20466f8 | [
"MIT"
] | null | null | null | extra/sumRange.py | ArseniumGX/bluemer-modulo1-python | 2f7c69252a9a86cc573c192d1d9685b0c20466f8 | [
"MIT"
] | null | null | null | # retorna a soma de um entervalo entre dois numeros incluindo eles
def get_sum(a,b):
return a or b if a == b else sum(list(range(min(a,b), max(a,b)+1)))
print(get_sum(0, -15)) | 30.166667 | 71 | 0.674033 | 39 | 181 | 3.076923 | 0.692308 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.176796 | 181 | 6 | 72 | 30.166667 | 0.778523 | 0.353591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6b7d2aeb425b83563504eef2dabe060b633f3c8c | 21,623 | py | Python | tests/builder/test_ensemble.py | SpiNNakerManchester/nengo_spinnaker | 147e2b3d6c0965259d6897f177f23e5c99b184f9 | [
"MIT"
] | 13 | 2015-06-10T08:58:05.000Z | 2022-03-29T08:20:14.000Z | tests/builder/test_ensemble.py | SpiNNakerManchester/nengo_spinnaker | 147e2b3d6c0965259d6897f177f23e5c99b184f9 | [
"MIT"
] | 131 | 2015-04-16T15:17:12.000Z | 2020-06-19T05:38:56.000Z | tests/builder/test_ensemble.py | SpiNNakerManchester/nengo_spinnaker | 147e2b3d6c0965259d6897f177f23e5c99b184f9 | [
"MIT"
] | 7 | 2015-07-01T00:01:50.000Z | 2018-06-28T10:12:18.000Z | import mock
import nengo
import numpy as np
import pytest
from nengo_spinnaker.builder import builder, ensemble
from nengo_spinnaker.builder.ports import InputPort, OutputPort
from nengo_spinnaker import operators
class TestBuildEnsembleLIF(object):
@pytest.mark.parametrize("n_neurons, size_in", [(100, 1), (300,... | 36.21943 | 79 | 0.616196 | 2,865 | 21,623 | 4.53822 | 0.085864 | 0.008922 | 0.033995 | 0.022227 | 0.773189 | 0.745347 | 0.728888 | 0.714505 | 0.685741 | 0.667359 | 0 | 0.019142 | 0.292096 | 21,623 | 596 | 80 | 36.280201 | 0.830274 | 0.245156 | 0 | 0.610619 | 0 | 0 | 0.018681 | 0 | 0 | 0 | 0 | 0 | 0.19174 | 1 | 0.079646 | false | 0.00295 | 0.020649 | 0 | 0.126844 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6bc714eefad696bd226b9957c6214586b1687049 | 405 | py | Python | orbital_utilities.py | heidtn/ksp_autopilot | 52edaf3deb61742ff2941b8f1483f2c0aa9a2561 | [
"MIT"
] | 2 | 2020-06-29T08:58:53.000Z | 2020-07-14T12:45:13.000Z | orbital_utilities.py | heidtn/ksp_autopilot | 52edaf3deb61742ff2941b8f1483f2c0aa9a2561 | [
"MIT"
] | null | null | null | orbital_utilities.py | heidtn/ksp_autopilot | 52edaf3deb61742ff2941b8f1483f2c0aa9a2561 | [
"MIT"
] | 2 | 2020-06-29T08:58:33.000Z | 2021-10-02T02:34:06.000Z | import numpy as np
def get_semimajor_axis(apoapsis, periapsis):
return (apoapsis + periapsis) / 2.0
def visviva(mu, position, apoapsis, periapsis):
a = get_semimajor_axis(apoapsis, periapsis)
v = np.sqrt(mu * ( 2 / position - 1 / a))
return v
def apsis_change_dv(mu, a1, p1, p2):
v1 = visviva(mu,... | 23.823529 | 47 | 0.641975 | 62 | 405 | 4.096774 | 0.467742 | 0.267717 | 0.125984 | 0.188976 | 0.259843 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055016 | 0.237037 | 405 | 17 | 48 | 23.823529 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.083333 | 0.583333 | 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 | 1 | 0 | 0 | 4 |
6bcb8a3e459efbed46efc758282364b58065fc24 | 29 | py | Python | int.py | KowsalyaThiyagarajan/PythonLearing | 742c9480f4ab28fe22e271e923e6198262deb194 | [
"Apache-2.0"
] | 1 | 2021-10-05T08:14:39.000Z | 2021-10-05T08:14:39.000Z | int.py | KowsalyaThiyagarajan/PythonLearing | 742c9480f4ab28fe22e271e923e6198262deb194 | [
"Apache-2.0"
] | null | null | null | int.py | KowsalyaThiyagarajan/PythonLearing | 742c9480f4ab28fe22e271e923e6198262deb194 | [
"Apache-2.0"
] | null | null | null | a=6
print(a)
print(type(a)) | 9.666667 | 14 | 0.62069 | 7 | 29 | 2.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 29 | 3 | 14 | 9.666667 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6bd63b205e0694968ca122906fa5273114c85547 | 106 | py | Python | docs/snippets/basic_eval.py | eas342/dust_mie | 98f4c3a8668d5802846518018ebcd01c4e1db01f | [
"MIT"
] | null | null | null | docs/snippets/basic_eval.py | eas342/dust_mie | 98f4c3a8668d5802846518018ebcd01c4e1db01f | [
"MIT"
] | null | null | null | docs/snippets/basic_eval.py | eas342/dust_mie | 98f4c3a8668d5802846518018ebcd01c4e1db01f | [
"MIT"
] | null | null | null | from dust_mie import calc_mie
qext, qsca, qback, g = calc_mie.get_mie_coeff(wav=2.0,r=1.0,material='SiO2') | 53 | 76 | 0.764151 | 23 | 106 | 3.304348 | 0.782609 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0.084906 | 106 | 2 | 76 | 53 | 0.731959 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6bdb208402dec552245ec97ca2ef4b74331dc924 | 3,062 | py | Python | tods/sk_interface/feature_analysis/__init__.py | ZhuangweiKang/tods | fe3f55f8ccb306dd292c668e0f1154f1afdfa556 | [
"Apache-2.0"
] | 544 | 2020-09-21T06:02:33.000Z | 2022-03-27T07:16:32.000Z | tods/sk_interface/feature_analysis/__init__.py | ZhuangweiKang/tods | fe3f55f8ccb306dd292c668e0f1154f1afdfa556 | [
"Apache-2.0"
] | 35 | 2020-09-21T06:33:13.000Z | 2022-03-11T14:20:21.000Z | tods/sk_interface/feature_analysis/__init__.py | ZhuangweiKang/tods | fe3f55f8ccb306dd292c668e0f1154f1afdfa556 | [
"Apache-2.0"
] | 86 | 2020-09-21T16:44:33.000Z | 2022-03-11T18:20:22.000Z | from tods.sk_interface.feature_analysis.AutoCorrelation_skinterface import AutoCorrelationSKI
from tods.sk_interface.feature_analysis.BKFilter_skinterface import BKFilterSKI
from tods.sk_interface.feature_analysis.DiscreteCosineTransform_skinterface import DiscreteCosineTransformSKI
from tods.sk_interface.feature_analy... | 98.774194 | 135 | 0.931417 | 300 | 3,062 | 9.206667 | 0.226667 | 0.086894 | 0.108617 | 0.206372 | 0.369298 | 0.369298 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03919 | 3,062 | 30 | 136 | 102.066667 | 0.938817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d469d997de682746facb78af30e94fa6333d03b7 | 152 | py | Python | bolt11/__init__.py | python-ln/bolt11 | 76f8800dc2235f99a6059dae41dcc7c1f19f2d49 | [
"MIT"
] | 3 | 2020-11-18T01:57:18.000Z | 2022-03-08T18:35:19.000Z | bolt11/__init__.py | python-ln/bolt11 | 76f8800dc2235f99a6059dae41dcc7c1f19f2d49 | [
"MIT"
] | 3 | 2020-11-19T07:16:54.000Z | 2021-12-05T13:12:42.000Z | bolt11/__init__.py | python-ln/bolt11 | 76f8800dc2235f99a6059dae41dcc7c1f19f2d49 | [
"MIT"
] | 5 | 2020-09-04T17:54:41.000Z | 2022-03-08T18:49:32.000Z | # flake8: noqa
from .core import decode
from .compat import lndecode, shorten_amount, unshorten_amount
from .utils import amount_to_btc, btc_to_amount
| 25.333333 | 62 | 0.822368 | 23 | 152 | 5.173913 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.125 | 152 | 5 | 63 | 30.4 | 0.887218 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d47d8de12214120e6842959ce1cceafd1b4e5b90 | 84 | py | Python | keyloop/api/v1/__init__.py | debonzi/keyloop | 35cbe85e4777e5a2c83fc071f3b6f93d13d979fc | [
"MIT"
] | 1 | 2019-11-29T11:52:46.000Z | 2019-11-29T11:52:46.000Z | keyloop/api/v1/__init__.py | debonzi/keyloop | 35cbe85e4777e5a2c83fc071f3b6f93d13d979fc | [
"MIT"
] | 8 | 2020-01-23T17:46:50.000Z | 2020-02-05T14:04:51.000Z | keyloop/api/v1/__init__.py | debonzi/keyloop | 35cbe85e4777e5a2c83fc071f3b6f93d13d979fc | [
"MIT"
] | 1 | 2020-02-12T17:07:13.000Z | 2020-02-12T17:07:13.000Z | def includeme(config):
config.include(".realms")
config.include(".actions")
| 21 | 30 | 0.678571 | 9 | 84 | 6.333333 | 0.666667 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 3 | 31 | 28 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2e155d4510f1675c6b3fc7897347d9ce97b31eb2 | 62 | py | Python | src/scripts/reboot.py | dovedevic/fullyautomatednutcracker | c746601f93097b88febea64adb09be5ef569adaa | [
"MIT"
] | 5 | 2020-08-12T00:30:03.000Z | 2020-08-24T08:24:34.000Z | src/scripts/reboot.py | minecrosters/fullyautomatednutcracker | 49e72e66f8021b17a2a402a060b461c55cd47041 | [
"MIT"
] | 7 | 2020-10-25T20:10:58.000Z | 2022-01-24T00:59:34.000Z | src/scripts/reboot.py | dovedevic/fullyautomatednutcracker | c746601f93097b88febea64adb09be5ef569adaa | [
"MIT"
] | 8 | 2020-08-12T00:37:03.000Z | 2020-08-20T19:49:32.000Z | import time
import os
time.sleep(5)
os.system("../setup.sh")
| 10.333333 | 24 | 0.693548 | 11 | 62 | 3.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.112903 | 62 | 5 | 25 | 12.4 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2e24d77db395eb264d548aae81d47087e698c08a | 248 | py | Python | ex052divisor.py | wtomalves/exerciciopython | 5c239521830cb8d092c7ff8646ff1f38c605509d | [
"MIT"
] | 1 | 2020-09-04T22:36:21.000Z | 2020-09-04T22:36:21.000Z | ex052divisor.py | wtomalves/exerciciopython | 5c239521830cb8d092c7ff8646ff1f38c605509d | [
"MIT"
] | null | null | null | ex052divisor.py | wtomalves/exerciciopython | 5c239521830cb8d092c7ff8646ff1f38c605509d | [
"MIT"
] | null | null | null | n = int(input('Digite um número:'))
divisor = n > 1 and n % n == 0 and n % 2 != 0
if divisor:
print('{} é um numero primo!'.format(n))
if n == 2:
print('{} é um numero primo!'.format(n))
else:
print('O número {} não é primo.'.format(n)) | 31 | 47 | 0.568548 | 45 | 248 | 3.133333 | 0.444444 | 0.234043 | 0.255319 | 0.198582 | 0.368794 | 0.368794 | 0.368794 | 0 | 0 | 0 | 0 | 0.026042 | 0.225806 | 248 | 8 | 47 | 31 | 0.708333 | 0 | 0 | 0.25 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2e778e9af2bd312887eb16f3b57124043bbf771e | 54 | py | Python | argus/engine/__init__.py | nd1511/argus | 00aaed41ac1321d669ac7060f4d21b24cc3456f0 | [
"MIT"
] | 1 | 2018-10-26T01:29:59.000Z | 2018-10-26T01:29:59.000Z | argus/engine/__init__.py | nd1511/argus | 00aaed41ac1321d669ac7060f4d21b24cc3456f0 | [
"MIT"
] | null | null | null | argus/engine/__init__.py | nd1511/argus | 00aaed41ac1321d669ac7060f4d21b24cc3456f0 | [
"MIT"
] | null | null | null | from argus.engine.engine import Engine, Events, State
| 27 | 53 | 0.814815 | 8 | 54 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 54 | 1 | 54 | 54 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2e8b2730db5e32fa09209b8fbc298004c8e0478a | 460 | py | Python | python_crash_course/chapter_05/5-06_stages_of_life.py | valdsonmota/python-studies | 1abf5ba4337006f77b2a162b37f341b116414f59 | [
"MIT"
] | null | null | null | python_crash_course/chapter_05/5-06_stages_of_life.py | valdsonmota/python-studies | 1abf5ba4337006f77b2a162b37f341b116414f59 | [
"MIT"
] | null | null | null | python_crash_course/chapter_05/5-06_stages_of_life.py | valdsonmota/python-studies | 1abf5ba4337006f77b2a162b37f341b116414f59 | [
"MIT"
] | null | null | null | #Exercise 5-6 Stage of Life
age = 40
if age < 2:
print('That age is a baby.')
elif (age >= 2) and (age < 4):
print('That age is a toddler.')
elif (age >= 4) and (age < 13):
print('That age is a kid.')
elif (age >= 13) and (age < 20):
print('That age is a teenager.')
elif (age >= 20) and (age < 65):
... | 27.058824 | 36 | 0.567391 | 84 | 460 | 3.107143 | 0.345238 | 0.241379 | 0.321839 | 0.375479 | 0.402299 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067055 | 0.254348 | 460 | 16 | 37 | 28.75 | 0.693878 | 0.056522 | 0 | 0 | 0 | 0 | 0.327945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.466667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5cf8ae0078db7da879871ef5872ee8796f3f6ea5 | 2,880 | py | Python | cloudcafe/cloudkeep/config.py | ProjectMeniscus/cloudcafe | fa8fd796b303f0c5f0d6e98b2b5d01f6ea8fefe9 | [
"Apache-2.0"
] | null | null | null | cloudcafe/cloudkeep/config.py | ProjectMeniscus/cloudcafe | fa8fd796b303f0c5f0d6e98b2b5d01f6ea8fefe9 | [
"Apache-2.0"
] | null | null | null | cloudcafe/cloudkeep/config.py | ProjectMeniscus/cloudcafe | fa8fd796b303f0c5f0d6e98b2b5d01f6ea8fefe9 | [
"Apache-2.0"
] | 1 | 2020-11-17T19:05:08.000Z | 2020-11-17T19:05:08.000Z | """
Copyright 2013 Rackspace
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | 22.857143 | 72 | 0.686458 | 338 | 2,880 | 5.745562 | 0.331361 | 0.124614 | 0.144181 | 0.175077 | 0.338826 | 0.326468 | 0.326468 | 0.326468 | 0.326468 | 0.326468 | 0 | 0.003562 | 0.220139 | 2,880 | 125 | 73 | 23.04 | 0.861086 | 0.190625 | 0 | 0.597403 | 0 | 0 | 0.139044 | 0.030564 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.012987 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cf051a5cd58eb6b447872232f8bcc6948d54f483 | 502 | py | Python | CEV/ex009.py | EduardoMachadoCostaOliveira/Python | 329e388c190118f742a3c3df90a15cd00519a58e | [
"MIT"
] | null | null | null | CEV/ex009.py | EduardoMachadoCostaOliveira/Python | 329e388c190118f742a3c3df90a15cd00519a58e | [
"MIT"
] | null | null | null | CEV/ex009.py | EduardoMachadoCostaOliveira/Python | 329e388c190118f742a3c3df90a15cd00519a58e | [
"MIT"
] | null | null | null | #Faça um programa que leia um número Inteiro qualquer e mostre na tela a sua tabuada
n1 = int(input("Digite um numero para ver sua tabuada: "))
print('-' * 10)
print(f'{n1} x 1 = {n1 * 1:>2}')
print(f'{n1} x 2 = {n1 * 2:>2}')
print(f'{n1} x 3 = {n1 * 3}')
print(f'{n1} x 4 = {n1 * 4}')
print(f'{n1} x 5 = {n1 * 5}')
prin... | 33.466667 | 84 | 0.525896 | 104 | 502 | 2.538462 | 0.346154 | 0.204545 | 0.272727 | 0.306818 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 0.205179 | 502 | 14 | 85 | 35.857143 | 0.533835 | 0.165339 | 0 | 0.153846 | 0 | 0 | 0.564593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.923077 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
cf1bb249cf40ecf674c994400039254c773d01e6 | 164 | py | Python | hello.py | ssingh1187/TwitOff | eec7dafa655638b8e059c5d4c0cf39f153151bbb | [
"MIT"
] | null | null | null | hello.py | ssingh1187/TwitOff | eec7dafa655638b8e059c5d4c0cf39f153151bbb | [
"MIT"
] | 4 | 2021-03-18T23:52:48.000Z | 2022-03-11T23:49:29.000Z | hello.py | ssingh1187/TwitOff | eec7dafa655638b8e059c5d4c0cf39f153151bbb | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return 'Hello World!'
@app.route('/banjo')
def banjo():
return 'I like banjos' | 14.909091 | 26 | 0.646341 | 23 | 164 | 4.434783 | 0.608696 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 164 | 11 | 26 | 14.909091 | 0.761194 | 0 | 0 | 0 | 0 | 0 | 0.193939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cf219da69a724474e938ff47f62f51370b7bf62c | 115 | py | Python | skrules/__init__.py | cmougan/ABML | f45712ac55b7a1e8e514cdfe32f72aa944d4477f | [
"MIT"
] | null | null | null | skrules/__init__.py | cmougan/ABML | f45712ac55b7a1e8e514cdfe32f72aa944d4477f | [
"MIT"
] | null | null | null | skrules/__init__.py | cmougan/ABML | f45712ac55b7a1e8e514cdfe32f72aa944d4477f | [
"MIT"
] | null | null | null | from .skope_rules import SkopeRules
from .rule import Rule, replace_feature_name
__all__ = ["SkopeRules", "Rule"]
| 23 | 44 | 0.782609 | 15 | 115 | 5.533333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 115 | 4 | 45 | 28.75 | 0.821782 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cf86dcdbcfb689a67d86b34ea4c5978759877f9d | 238 | py | Python | src/logpipe/config.py | twentythirdz/django-logpipe | 05d90225fc993e6dc8fea27f41c56e8e8debf340 | [
"ISC"
] | null | null | null | src/logpipe/config.py | twentythirdz/django-logpipe | 05d90225fc993e6dc8fea27f41c56e8e8debf340 | [
"ISC"
] | 1 | 2021-06-10T22:30:32.000Z | 2021-06-10T22:30:32.000Z | src/logpipe/config.py | twentythirdz/django-logpipe | 05d90225fc993e6dc8fea27f41c56e8e8debf340 | [
"ISC"
] | 1 | 2021-01-04T12:33:57.000Z | 2021-01-04T12:33:57.000Z | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class LogpipeConfig(AppConfig):
name = 'logpipe'
label = 'logpipe'
# Translators: Backend Library Name
verbose_name = _('LogPipe')
| 23.8 | 54 | 0.735294 | 27 | 238 | 6.333333 | 0.703704 | 0.116959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184874 | 238 | 9 | 55 | 26.444444 | 0.881443 | 0.138655 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d8494bd4ffef5b5a90ef352b2d2dba95594013d4 | 307 | py | Python | Oefeningen/standalone/param_order.py | Seviran/Python_3 | e30ead250129d25bbc0a7ee2f6298775b2f4529a | [
"MIT"
] | null | null | null | Oefeningen/standalone/param_order.py | Seviran/Python_3 | e30ead250129d25bbc0a7ee2f6298775b2f4529a | [
"MIT"
] | null | null | null | Oefeningen/standalone/param_order.py | Seviran/Python_3 | e30ead250129d25bbc0a7ee2f6298775b2f4529a | [
"MIT"
] | null | null | null | def display_info(a, b, *args, instructor="Colt", **kwargs):
print(f"a: {a}\nb: {b}\n*args: {args}\ninstructor: {instructor}\n**kwargs: {kwargs}")
display_info(1, 2, 3, last_name="Steele", job="Instructor")
#a: 1
#b: 2
#*args: (3,)
#instructor: Colt
#**kwargs: {last_name:"Steele", job:"Instructor"}
| 25.583333 | 89 | 0.635179 | 47 | 307 | 4.06383 | 0.446809 | 0.115183 | 0.209424 | 0.17801 | 0.282723 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02214 | 0.117264 | 307 | 11 | 90 | 27.909091 | 0.682657 | 0.270358 | 0 | 0 | 0 | 0.333333 | 0.43379 | 0.105023 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d8659daa58442a2594c7ee563aec7d45ddbab3a2 | 229 | py | Python | src/pysparkbundle/test/DummySparkFactory.py | daipe-ai/pyspark-bundle | ffbb0f8835b69646a235ae4d7d1f4eaa03a05ea0 | [
"MIT"
] | null | null | null | src/pysparkbundle/test/DummySparkFactory.py | daipe-ai/pyspark-bundle | ffbb0f8835b69646a235ae4d7d1f4eaa03a05ea0 | [
"MIT"
] | 1 | 2021-11-04T13:01:15.000Z | 2021-11-04T13:01:15.000Z | src/datalakebundle/test/DummySparkFactory.py | daipe-ai/datalake-bundle | 01bd0e2e7361561f2278fe08ee78b92beb9cda26 | [
"MIT"
] | null | null | null | from pyspark.sql import SparkSession
class DummySparkFactory:
def create(self):
class DummySparkSession(SparkSession):
def __init__(self, *args):
pass
return DummySparkSession()
| 20.818182 | 46 | 0.641921 | 20 | 229 | 7.15 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292576 | 229 | 10 | 47 | 22.9 | 0.882716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d880448f575d7a009f6b386b94ece803d3061112 | 2,813 | py | Python | Web Based Solution/hospitalapp/models.py | LeifYaoYuXiang/seproject_healingpaws | bac63011a669cba522a066cfdf233428e37443fc | [
"MIT"
] | null | null | null | Web Based Solution/hospitalapp/models.py | LeifYaoYuXiang/seproject_healingpaws | bac63011a669cba522a066cfdf233428e37443fc | [
"MIT"
] | null | null | null | Web Based Solution/hospitalapp/models.py | LeifYaoYuXiang/seproject_healingpaws | bac63011a669cba522a066cfdf233428e37443fc | [
"MIT"
] | null | null | null | # encoding:utf-8
from hospitalapp import db
import datetime
class Staff(db.Model):
id = db.Column(db.Integer, primary_key=True)
staffname = db.Column(db.String(64), index=True, unique=True)
email = db.Column(db.String(64), index=True, unique=True)
password_hash = db.Column(db.String(128))
def __r... | 30.576087 | 66 | 0.667259 | 418 | 2,813 | 4.356459 | 0.143541 | 0.21966 | 0.274574 | 0.280066 | 0.769358 | 0.647446 | 0.560681 | 0.493136 | 0.493136 | 0.454146 | 0 | 0.020797 | 0.179524 | 2,813 | 91 | 67 | 30.912088 | 0.768198 | 0.004977 | 0 | 0.43662 | 0 | 0 | 0.024669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084507 | false | 0.028169 | 0.028169 | 0.084507 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d890ee1d37abd5aa7a53f8b67a6ddd052d3218a2 | 203 | pyw | Python | main.pyw | christopher-roelofs/7dtd-server-manager | 55a18def54516993f5f1664def2112b4b68a133e | [
"MIT"
] | null | null | null | main.pyw | christopher-roelofs/7dtd-server-manager | 55a18def54516993f5f1664def2112b4b68a133e | [
"MIT"
] | null | null | null | main.pyw | christopher-roelofs/7dtd-server-manager | 55a18def54516993f5f1664def2112b4b68a133e | [
"MIT"
] | null | null | null | #!/usr/bin/python
import config
import gui
import telconn
import threading
import commands
telconn.initialize()
threading._start_new_thread(commands.update_player_objects_timed, ())
gui.start()
| 10.684211 | 69 | 0.793103 | 26 | 203 | 5.961538 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118227 | 203 | 18 | 70 | 11.277778 | 0.865922 | 0.078818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d8a051b58edc53aa975f63a2701c800ecb1c9562 | 31 | py | Python | src/components/gcp/gdrive/__init__.py | alejandro-onatra/immo-gsync | 14cd9081637ab914923f46f3822154c53edf6c1d | [
"MIT"
] | 1 | 2021-11-06T04:56:23.000Z | 2021-11-06T04:56:23.000Z | src/components/gcp/gdrive/__init__.py | alejandro-onatra/immo-gsync | 14cd9081637ab914923f46f3822154c53edf6c1d | [
"MIT"
] | null | null | null | src/components/gcp/gdrive/__init__.py | alejandro-onatra/immo-gsync | 14cd9081637ab914923f46f3822154c53edf6c1d | [
"MIT"
] | 2 | 2021-09-04T23:50:22.000Z | 2021-09-06T09:47:51.000Z | """
Google Drive components
""" | 10.333333 | 23 | 0.677419 | 3 | 31 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 3 | 24 | 10.333333 | 0.777778 | 0.741935 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d8b2a5b4343d316dd52d3b8f191f4943a7b98b9d | 9,860 | py | Python | SimModel_Python_API/simmodel_swig/Release/SimGeomPoint_Point_CartesianPoint.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/Release/SimGeomPoint_Point_CartesianPoint.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/Release/SimGeomPoint_Point_CartesianPoint.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 39.598394 | 148 | 0.741582 | 1,085 | 9,860 | 6.152995 | 0.134562 | 0.216447 | 0.334332 | 0.154584 | 0.709257 | 0.665668 | 0.623427 | 0.570551 | 0.501348 | 0.420761 | 0 | 0.002103 | 0.180325 | 9,860 | 248 | 149 | 39.758065 | 0.82393 | 0.029817 | 0 | 0.407216 | 1 | 0 | 0.031603 | 0.007116 | 0 | 0 | 0 | 0 | 0 | 1 | 0.149485 | false | 0.010309 | 0.056701 | 0.108247 | 0.530928 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
d8c06e916f4af1ab8134b555ba78566cdabe0b43 | 1,980 | py | Python | tests/coworks/blueprint/test_blueprint.py | sidneyarcidiacono/coworks | 7f51b83e8699ced991d16a5a43ad19e569b6e814 | [
"MIT"
] | null | null | null | tests/coworks/blueprint/test_blueprint.py | sidneyarcidiacono/coworks | 7f51b83e8699ced991d16a5a43ad19e569b6e814 | [
"MIT"
] | null | null | null | tests/coworks/blueprint/test_blueprint.py | sidneyarcidiacono/coworks | 7f51b83e8699ced991d16a5a43ad19e569b6e814 | [
"MIT"
] | null | null | null | from tests.coworks.blueprint.blueprint import BP, InitBP
from tests.coworks.ms import SimpleMS
class TestClass:
def test_request(self):
app = SimpleMS()
app.register_blueprint(BP())
with app.test_client() as c:
response = c.get('/', headers={'Authorization': 'token'})
... | 46.046512 | 91 | 0.628788 | 241 | 1,980 | 4.966805 | 0.186722 | 0.140351 | 0.06015 | 0.155388 | 0.784461 | 0.784461 | 0.784461 | 0.667502 | 0.667502 | 0.640769 | 0 | 0.018767 | 0.246465 | 1,980 | 42 | 92 | 47.142857 | 0.783512 | 0 | 0 | 0.513514 | 0 | 0 | 0.147475 | 0.011616 | 0 | 0 | 0 | 0 | 0.405405 | 1 | 0.081081 | false | 0 | 0.054054 | 0 | 0.162162 | 0.243243 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d8ebbae7e114c9e790dabf10098659d51864ee00 | 285 | py | Python | blog/models.py | ralphiecodes/my_portfolio | a625e9c3638605fc26dbb97a81881517a9778387 | [
"MIT",
"Unlicense"
] | 1 | 2021-08-09T16:46:30.000Z | 2021-08-09T16:46:30.000Z | blog/models.py | ralphiecodes/my_portfolio | a625e9c3638605fc26dbb97a81881517a9778387 | [
"MIT",
"Unlicense"
] | null | null | null | blog/models.py | ralphiecodes/my_portfolio | a625e9c3638605fc26dbb97a81881517a9778387 | [
"MIT",
"Unlicense"
] | null | null | null | from django.db import models
class Blog(models.Model):
title = models.CharField(max_length=100)
date = models.DateField(auto_now=True)
description = models.CharField(max_length=300)
body = models.TextField(null=True)
def __str__(self):
return self.title
| 23.75 | 50 | 0.712281 | 38 | 285 | 5.157895 | 0.710526 | 0.153061 | 0.183673 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.185965 | 285 | 11 | 51 | 25.909091 | 0.818966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d8f7a1190994ff23a9f559b7ca3ce69a28e57bab | 110 | py | Python | tests/test_testing.py | LeanderGangso/pyMyShareApi | 16e320b5c9675324e1291176ac0de01664eaf0ee | [
"MIT"
] | 2 | 2021-01-26T21:35:33.000Z | 2021-01-28T02:43:03.000Z | tests/test_testing.py | LeanderGangso/pyMyShareApi | 16e320b5c9675324e1291176ac0de01664eaf0ee | [
"MIT"
] | 1 | 2021-02-02T21:52:11.000Z | 2021-02-02T21:52:11.000Z | tests/test_testing.py | LeanderGangso/pyMyShareSDK | 16e320b5c9675324e1291176ac0de01664eaf0ee | [
"MIT"
] | null | null | null | # just for init testing
def inc(x):
return x + 1
# pytest test
def test_test():
assert inc(3) == 4
| 11 | 23 | 0.6 | 19 | 110 | 3.421053 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.281818 | 110 | 9 | 24 | 12.222222 | 0.78481 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
2b4b99564b5ef67907ae784a3c6a8b8a8bec0500 | 5,336 | py | Python | scripts/nuscenes_devkit/python-sdk/scripts/calculate_cam_positions.py | n2pham/3d-bat | 6be0a00f3dbbd4c968586e1bd01e45cdbf4614e1 | [
"BSD-4-Clause-UC"
] | 335 | 2019-08-15T18:10:19.000Z | 2022-03-30T11:00:54.000Z | scripts/nuscenes_devkit/python-sdk/scripts/calculate_cam_positions.py | n2pham/3d-bat | 6be0a00f3dbbd4c968586e1bd01e45cdbf4614e1 | [
"BSD-4-Clause-UC"
] | 24 | 2019-09-19T09:46:05.000Z | 2022-03-24T17:05:57.000Z | scripts/nuscenes_devkit/python-sdk/scripts/calculate_cam_positions.py | n2pham/3d-bat | 6be0a00f3dbbd4c968586e1bd01e45cdbf4614e1 | [
"BSD-4-Clause-UC"
] | 93 | 2019-12-02T14:14:58.000Z | 2022-03-30T06:21:41.000Z | import numpy as np
# translation_vector_lidar_to_cam_front = -np.array([3.40200000000000, 10.4301000000000, -60.7137000000000, 1]).T
# translation_vector_lidar_to_cam_front = -np.array([3.40200000000000, -60.7137000000000, 10.4301000000000, 1]).T
# translation_vector_lidar_to_cam_front = -np.array([-60.7137000000000, ... | 60.636364 | 113 | 0.736507 | 774 | 5,336 | 4.797158 | 0.109819 | 0.094802 | 0.056558 | 0.053326 | 0.753569 | 0.72125 | 0.695395 | 0.676003 | 0.598438 | 0.323458 | 0 | 0.371661 | 0.123126 | 5,336 | 87 | 114 | 61.333333 | 0.421885 | 0.657609 | 0 | 0 | 0 | 0 | 0.074803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9919d38fe233b4a447c36128555d041958ad0edd | 1,004 | py | Python | random_ctfs/plaidctf19/can_you_guess_me/can-you-guess-me-53d1aa54ca7d7151fcd2c48ce36d1bdb.py | bernardosequeir/CTFfiles | 36a6ceba49d9a9019056d3669c5e8f84aa83b618 | [
"MIT"
] | null | null | null | random_ctfs/plaidctf19/can_you_guess_me/can-you-guess-me-53d1aa54ca7d7151fcd2c48ce36d1bdb.py | bernardosequeir/CTFfiles | 36a6ceba49d9a9019056d3669c5e8f84aa83b618 | [
"MIT"
] | 5 | 2020-09-23T18:28:25.000Z | 2020-09-23T18:28:41.000Z | random_ctfs/plaidctf19/can_you_guess_me/can-you-guess-me-53d1aa54ca7d7151fcd2c48ce36d1bdb.py | bernardosequeir/CTFSolutions | 503944617cb18826d12ab98fa33fd761e791328a | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
from sys import exit
from secret import secret_value_for_password, flag, exec
print(r"")
print(r"")
print(r" ____ __ __ ____ __ __ ")
print(r" / ___|__ _ _ _\ \ / /__ _ _ / ___|_ _ ___ ___ ___| \/ | ___ ")
print(r"| | / _` | '_ \ V / ... | 30.424242 | 81 | 0.447211 | 87 | 1,004 | 3.83908 | 0.528736 | 0.179641 | 0.263473 | 0.287425 | 0.179641 | 0.179641 | 0.179641 | 0.179641 | 0.179641 | 0.179641 | 0 | 0.007837 | 0.364542 | 1,004 | 32 | 82 | 31.375 | 0.515674 | 0.046813 | 0 | 0.259259 | 0 | 0.148148 | 0.506806 | 0.035602 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.074074 | 0.074074 | 0 | 0.074074 | 0.481481 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 4 |
993b85a0df2ecd8a523ecbbc4ede48772f9fff92 | 339 | py | Python | museos/gestion/admin.py | RazvanCopaceanu/X-Serv-Practica-Museos | b7b9f84069cdee9f6ae5b6bef5da80273644182f | [
"Apache-2.0"
] | null | null | null | museos/gestion/admin.py | RazvanCopaceanu/X-Serv-Practica-Museos | b7b9f84069cdee9f6ae5b6bef5da80273644182f | [
"Apache-2.0"
] | null | null | null | museos/gestion/admin.py | RazvanCopaceanu/X-Serv-Practica-Museos | b7b9f84069cdee9f6ae5b6bef5da80273644182f | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from gestion.models import Museo
admin.site.register(Museo)
from gestion.models import PaginaUsuario
admin.site.register(PaginaUsuario)
from gestion.models import Comentarios
admin.site.register(Comentarios)
from gestion.models import Elegidos
admin.site.r... | 24.214286 | 40 | 0.837758 | 45 | 339 | 6.311111 | 0.333333 | 0.15493 | 0.239437 | 0.323944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094395 | 339 | 13 | 41 | 26.076923 | 0.925081 | 0.076696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
998c26b8859f9e3e38513262d68357d32e1595c2 | 489 | py | Python | pattern30.py | Ayush05m/patterns-python | cbfdf42af8f206d7193f20dc7576289a5426bbcc | [
"MIT"
] | 1 | 2020-06-05T19:06:23.000Z | 2020-06-05T19:06:23.000Z | pattern30.py | Ayush05m/patterns-python | cbfdf42af8f206d7193f20dc7576289a5426bbcc | [
"MIT"
] | null | null | null | pattern30.py | Ayush05m/patterns-python | cbfdf42af8f206d7193f20dc7576289a5426bbcc | [
"MIT"
] | 1 | 2020-10-04T17:47:17.000Z | 2020-10-04T17:47:17.000Z | n = 5
for x in range(n//2,n+1,+2):
for y in range(1,n-x,+2):
print(' ',end='')
for y in range(1,x+1):
print('*',end='')
for y in range(1,n-x+1):
print(' ',end='')
for y in range(1,x+1):
print('*',end='')
print()
for x in range(n,0,-1):
for y in range(x,n):
... | 14.818182 | 29 | 0.372188 | 76 | 489 | 2.394737 | 0.171053 | 0.307692 | 0.197802 | 0.362637 | 0.736264 | 0.604396 | 0.604396 | 0.521978 | 0.406593 | 0.32967 | 0 | 0.048338 | 0.323108 | 489 | 33 | 30 | 14.818182 | 0.501511 | 0 | 0 | 0.588235 | 0 | 0 | 0.014599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.470588 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
999dee23669e86756d3ea29f74f5c98932ec510b | 430 | py | Python | boa3/builtin/interop/role/__init__.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3/builtin/interop/role/__init__.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3/builtin/interop/role/__init__.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin.interop.role.roletype import Role
from boa3.builtin.type import ECPoint
def get_designated_by_role(role: Role, index: int) -> ECPoint:
"""
Gets the list of nodes for the specified role.
:param role: the type of the role
:type role: Role
:param index: the index of the block to be... | 23.888889 | 62 | 0.683721 | 66 | 430 | 4.409091 | 0.484848 | 0.082474 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006116 | 0.239535 | 430 | 17 | 63 | 25.294118 | 0.883792 | 0.513953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
99a7804d6c0d9a85284676e52e0601c1c1cd6071 | 196 | py | Python | classes/models/ModelDecoder.py | canary-for-cognition/merge-datasets-gan | 435d62a2cc281e25b9616db0ee6bacd13a12fa9c | [
"MIT"
] | null | null | null | classes/models/ModelDecoder.py | canary-for-cognition/merge-datasets-gan | 435d62a2cc281e25b9616db0ee6bacd13a12fa9c | [
"MIT"
] | null | null | null | classes/models/ModelDecoder.py | canary-for-cognition/merge-datasets-gan | 435d62a2cc281e25b9616db0ee6bacd13a12fa9c | [
"MIT"
] | null | null | null | from classes.core.Model import Model
from classes.modules.Decoder import Decoder
class ModelDecoder(Model):
def __init__(self):
super().__init__()
self._network = Decoder()
| 19.6 | 43 | 0.704082 | 23 | 196 | 5.608696 | 0.608696 | 0.170543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19898 | 196 | 9 | 44 | 21.777778 | 0.821656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
512cd586b4a34623b46e8fbc8d7f637f22cde449 | 108 | py | Python | nps/packet.py | Dry8r3aD/nps | e25c478190dcc41c4daaa4df3618a6f7ca784911 | [
"MIT"
] | null | null | null | nps/packet.py | Dry8r3aD/nps | e25c478190dcc41c4daaa4df3618a6f7ca784911 | [
"MIT"
] | null | null | null | nps/packet.py | Dry8r3aD/nps | e25c478190dcc41c4daaa4df3618a6f7ca784911 | [
"MIT"
] | 1 | 2018-08-12T15:26:14.000Z | 2018-08-12T15:26:14.000Z |
class Packet:
def __init__(self, ip, tcp) -> None:
self.ip_hdr = ip
self.tcp_hdr = tcp | 18 | 40 | 0.564815 | 16 | 108 | 3.4375 | 0.5625 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324074 | 108 | 6 | 41 | 18 | 0.753425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
513795463317a42298427eca96ae61c111c31511 | 119 | py | Python | myMapLocator/admin.py | ChuksMbanaso/django-map-locator | 0fbd5459a6a97309dc3fe0b24907d40a39204732 | [
"Apache-2.0"
] | 1 | 2021-11-28T19:02:32.000Z | 2021-11-28T19:02:32.000Z | myMapLocator/admin.py | ChuksMbanaso/Map-locator-using-Django | 0fbd5459a6a97309dc3fe0b24907d40a39204732 | [
"Apache-2.0"
] | null | null | null | myMapLocator/admin.py | ChuksMbanaso/Map-locator-using-Django | 0fbd5459a6a97309dc3fe0b24907d40a39204732 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Viewmap
# Register your models here.
admin.site.register(Viewmap) | 23.8 | 32 | 0.815126 | 17 | 119 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 5 | 33 | 23.8 | 0.92381 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
514d9c17ef9f55c18280167a3ec64b972a4b5114 | 202 | py | Python | QCDAnalysis/Skimming/python/qcdJetFilterStreamMed_EventContent_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | QCDAnalysis/Skimming/python/qcdJetFilterStreamMed_EventContent_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | QCDAnalysis/Skimming/python/qcdJetFilterStreamMed_EventContent_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | import FWCore.ParameterSet.Config as cms
qcdJetFilterStreamMedEventSelection = cms.PSet(
SelectEvents = cms.untracked.PSet(
SelectEvents = cms.vstring('qcdJetFilterStreamMedPath')
)
)
| 22.444444 | 63 | 0.752475 | 17 | 202 | 8.941176 | 0.705882 | 0.210526 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163366 | 202 | 8 | 64 | 25.25 | 0.899408 | 0 | 0 | 0 | 0 | 0 | 0.124378 | 0.124378 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5a9ee3e13844cdf4d1b1e6a655d66e47ae15ad8c | 73 | py | Python | monitoring-center-backend/wsgi.py | Heimdall-monitoring/monitoring-center | acf56a796c25fb6804fd16b1ff8c93645bc77ff3 | [
"MIT"
] | null | null | null | monitoring-center-backend/wsgi.py | Heimdall-monitoring/monitoring-center | acf56a796c25fb6804fd16b1ff8c93645bc77ff3 | [
"MIT"
] | 10 | 2020-09-09T14:37:05.000Z | 2020-11-26T13:14:09.000Z | monitoring-center-backend/wsgi.py | Heimdall-monitoring/monitoring-center | acf56a796c25fb6804fd16b1ff8c93645bc77ff3 | [
"MIT"
] | null | null | null | from monitoring_center import create_app
app = create_app(debug=False)
| 14.6 | 40 | 0.821918 | 11 | 73 | 5.181818 | 0.727273 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 4 | 41 | 18.25 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5aa10a08a01e7b2b9596a8cbcb9cb704b153e36d | 69 | py | Python | huga.py | naoki-sawada/vscode-python | 35cba53f97c1ff6a8775dc584d8ce82f9233e3cb | [
"MIT"
] | null | null | null | huga.py | naoki-sawada/vscode-python | 35cba53f97c1ff6a8775dc584d8ce82f9233e3cb | [
"MIT"
] | null | null | null | huga.py | naoki-sawada/vscode-python | 35cba53f97c1ff6a8775dc584d8ce82f9233e3cb | [
"MIT"
] | null | null | null | def echo(string: str) -> None:
print("Hello, {}".format(string))
| 23 | 37 | 0.608696 | 9 | 69 | 4.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 2 | 38 | 34.5 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5aac24fe7bfb7ec581ee497f75c91ab3f46c28ae | 314 | py | Python | onnx_tf/handlers/frontend/is_nan.py | rickyHong/onnx-tensorflow-repl | c17b84514866a5f75022d642a8c8ad0eb104148c | [
"Apache-2.0"
] | 18 | 2020-02-03T07:14:40.000Z | 2021-12-20T18:45:43.000Z | onnx_tf/handlers/frontend/is_nan.py | rickyHong/onnx-tensorflow-repl | c17b84514866a5f75022d642a8c8ad0eb104148c | [
"Apache-2.0"
] | 11 | 2020-01-28T23:16:25.000Z | 2022-02-10T01:04:56.000Z | onnx-tensorflow-master/onnx_tf/handlers/frontend/is_nan.py | sleepstagingrest/REST | cf0de7ae82b6b74fe23e9d057214970cd3c9672d | [
"MIT"
] | 2 | 2020-08-20T08:15:09.000Z | 2021-02-23T07:30:40.000Z | from onnx_tf.handlers.frontend_handler import FrontendHandler
from onnx_tf.handlers.handler import onnx_op
from onnx_tf.handlers.handler import tf_op
@onnx_op("IsNaN")
@tf_op("IsNan")
class IsNan(FrontendHandler):
@classmethod
def version_9(cls, node, **kwargs):
return cls.make_node_from_tf_node(node)
| 24.153846 | 61 | 0.796178 | 48 | 314 | 4.9375 | 0.416667 | 0.101266 | 0.126582 | 0.227848 | 0.261603 | 0.261603 | 0 | 0 | 0 | 0 | 0 | 0.003571 | 0.10828 | 314 | 12 | 62 | 26.166667 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0.031847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
5ae803311a8ccc672ea47ce9abc7a9ac94176f34 | 12,680 | py | Python | bad_channel_lhc15o_4_new.py | dhruvdixit/alice_calib_emcal | 26357206518511842c047c78c9b784acae6203e8 | [
"BSD-3-Clause-LBNL"
] | 1 | 2017-06-06T19:28:08.000Z | 2017-06-06T19:28:08.000Z | bad_channel_lhc15o_4_new.py | dhruvdixit/alice_calib_emcal | 26357206518511842c047c78c9b784acae6203e8 | [
"BSD-3-Clause-LBNL"
] | null | null | null | bad_channel_lhc15o_4_new.py | dhruvdixit/alice_calib_emcal | 26357206518511842c047c78c9b784acae6203e8 | [
"BSD-3-Clause-LBNL"
] | 1 | 2018-10-11T20:07:25.000Z | 2018-10-11T20:07:25.000Z | dead_emcal = [384, 385, 386, 387, 389, 391, 396, 398, 399, 438, 440, 441, 444, 447, 1534, 5121, 5122, 5123, 5131, 5168, 5181, 5341, 5343, 5826, 6641, 6930, 6934, 6940, 6941, 6943, 6976, 6979, 6984, 6985, 6986, 8576, 9282, 11233]
dead_dcal = [12623, 12803, 12805, 12815, 12822, 12828, 12831, 12859, 12927, 14119, 14231, ... | 905.714286 | 5,226 | 0.696451 | 1,926 | 12,680 | 4.578401 | 0.832814 | 0.002041 | 0.002722 | 0.003629 | 0.109549 | 0.093672 | 0.069177 | 0.069177 | 0.060104 | 0.039692 | 0 | 0.81068 | 0.152287 | 12,680 | 13 | 5,227 | 975.384615 | 0.009675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
852c1ec867dadeea2b347e807e1aff1c74406a3d | 116,811 | py | Python | pysnmp_mibs/PKTC-IETF-SIG-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2017-04-21T13:48:08.000Z | 2022-01-06T19:42:52.000Z | pysnmp_mibs/PKTC-IETF-SIG-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T16:42:25.000Z | 2020-05-05T16:42:25.000Z | pysnmp_mibs/PKTC-IETF-SIG-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2020-02-08T20:28:49.000Z | 2021-09-14T13:36:46.000Z | #
# PySNMP MIB module PKTC-IETF-SIG-MIB (http://pysnmp.sf.net)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/PKTC-IETF-SIG-MIB
# Produced by pysmi-0.0.7 at Sun Feb 14 00:23:55 2016
# On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose
# Using Python version 3.5.0 (default, Jan 5 2016, 17:11:5... | 388.076412 | 7,310 | 0.701758 | 14,736 | 116,811 | 5.562432 | 0.08279 | 0.006051 | 0.006295 | 0.023912 | 0.525339 | 0.469464 | 0.431241 | 0.391641 | 0.36352 | 0.341109 | 0 | 0.035283 | 0.208765 | 116,811 | 300 | 7,311 | 389.37 | 0.851577 | 0.002654 | 0 | 0.006969 | 0 | 0.383275 | 0.664561 | 0.044209 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041812 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
51ac2f7afd0b10c7f4d45ed2669728c2b7e70ccf | 108 | py | Python | enthought/developer/tools/view_tester.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/developer/tools/view_tester.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/developer/tools/view_tester.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from etsdevtools.developer.tools.view_tester import *
| 27 | 53 | 0.851852 | 14 | 108 | 6.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 3 | 54 | 36 | 0.886598 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
51b37f1a6119881f2986ffae3d6c5853cf284f04 | 26 | py | Python | django/tests/syndication_tests/templates/syndication/title.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | django/tests/syndication_tests/templates/syndication/title.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | django/tests/syndication_tests/templates/syndication/title.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | XXXXX XX XXXX XXXXXXXXXX
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
51b69bafe0664077b7fc459486568b1aade37ff3 | 484 | py | Python | qrcode_Linux.py | deadlysnowman3308/py.QR.code | 376ede1e42a73a23c4cb68a5441a38f82bbfd689 | [
"MIT"
] | 2 | 2020-09-07T15:24:41.000Z | 2020-10-27T13:43:26.000Z | qrcode_Linux.py | deadlysnowman3308/py.QR.code | 376ede1e42a73a23c4cb68a5441a38f82bbfd689 | [
"MIT"
] | null | null | null | qrcode_Linux.py | deadlysnowman3308/py.QR.code | 376ede1e42a73a23c4cb68a5441a38f82bbfd689 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
import pyqrcode
import os
from pyqrcode import QRCode
user = input('Enter your text>> ')
user = str(user)
s = user
url = pyqrcode.create(s)
url.svg('myqr.svg', scale=9)
new = input('Enter your file name>>> ')
print ()
print ()
print ()
print 'Your qrcode text i... | 18.615385 | 42 | 0.619835 | 71 | 484 | 4.169014 | 0.450704 | 0.202703 | 0.202703 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.210744 | 484 | 25 | 43 | 19.36 | 0.769634 | 0.078512 | 0 | 0.304348 | 0 | 0 | 0.224344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.130435 | null | null | 0.478261 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
51f210589042b42c859fbca04aded122cb6814cb | 39 | py | Python | scripts/auth.py | Coopss/ConspiracyBERT | dbccc6628ab35cd5bda3edc3a5489ecb37e6335d | [
"MIT"
] | null | null | null | scripts/auth.py | Coopss/ConspiracyBERT | dbccc6628ab35cd5bda3edc3a5489ecb37e6335d | [
"MIT"
] | null | null | null | scripts/auth.py | Coopss/ConspiracyBERT | dbccc6628ab35cd5bda3edc3a5489ecb37e6335d | [
"MIT"
] | null | null | null | username = 'ryan'
password = 'password' | 19.5 | 21 | 0.717949 | 4 | 39 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 21 | 19.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
cfb0d9930d89743cc78f673f008c3bdc61276dc9 | 1,066 | py | Python | writexls.py | xuanthuong/python-modules | faf8b1c09f93bf43ed9e0330d09d34792f4dca2f | [
"MIT"
] | null | null | null | writexls.py | xuanthuong/python-modules | faf8b1c09f93bf43ed9e0330d09d34792f4dca2f | [
"MIT"
] | null | null | null | writexls.py | xuanthuong/python-modules | faf8b1c09f93bf43ed9e0330d09d34792f4dca2f | [
"MIT"
] | null | null | null | # # xlwt -> only .xls
# # xlsxwriter/openpyxl -> .xlsx
#
# from xlwt import Workbook, Formula, easyxf
#
# wb = Workbook()
# sheet1 = wb.add_sheet('Plan')
# sheet2 = wb.add_sheet('Schedule')
# sheet3 = wb.add_sheet('Resource')
#
# sheet1.write(0, 0, 'This is the plan')
# sheet2.write(0, 1, 'This is the schedule')
# shee... | 28.052632 | 61 | 0.679174 | 160 | 1,066 | 4.49375 | 0.53125 | 0.020862 | 0.041725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043142 | 0.15197 | 1,066 | 37 | 62 | 28.810811 | 0.752212 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cfd6b478c386fb9b65047b1eae1c7d1530f53a83 | 816 | py | Python | PyOpenGL-3.0.2/OpenGL/GL/ARB/shader_bit_encoding.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/GL/ARB/shader_bit_encoding.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/GL/ARB/shader_bit_encoding.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | '''OpenGL extension ARB.shader_bit_encoding
This module customises the behaviour of the
OpenGL.raw.GL.ARB.shader_bit_encoding to provide a more
Python-friendly API
Overview (from the spec)
This extension trivially adds built-in functions for getting/setting
the bit encoding for floating-point values in the Open... | 35.478261 | 75 | 0.814951 | 124 | 816 | 5.282258 | 0.580645 | 0.083969 | 0.073282 | 0.122137 | 0.094656 | 0.094656 | 0.094656 | 0 | 0 | 0 | 0 | 0.001408 | 0.129902 | 816 | 23 | 76 | 35.478261 | 0.921127 | 0.806373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cff67aeca758442124f0a6612e415acadd463898 | 408 | py | Python | src/test/restart_diversion.py | cgjones/rr | dcdde9c497cad27618b27f6754c11b0693894178 | [
"MIT"
] | 3 | 2015-03-01T23:26:27.000Z | 2021-01-14T03:31:36.000Z | src/test/restart_diversion.py | rogerwang/rr | 619b8951d392b46c6f62b2bad7c0861a05d9f32e | [
"MIT"
] | null | null | null | src/test/restart_diversion.py | rogerwang/rr | 619b8951d392b46c6f62b2bad7c0861a05d9f32e | [
"MIT"
] | null | null | null | from rrutil import *
send_gdb('b main\n')
expect_gdb('Breakpoint 1')
send_gdb('c\n')
expect_gdb('Breakpoint 1')
send_gdb('check\n')
expect_gdb('= 1')
send_gdb('p atomic_printf("hello%s", "kitty")\n')
expect_gdb('hellokitty')
restart_replay()
expect_gdb('Breakpoint 1')
send_gdb('p atomic_printf("hello%s", "kitty")... | 16.32 | 49 | 0.710784 | 67 | 408 | 4.089552 | 0.343284 | 0.229927 | 0.218978 | 0.291971 | 0.729927 | 0.653285 | 0.583942 | 0.379562 | 0.379562 | 0.379562 | 0 | 0.016216 | 0.093137 | 408 | 24 | 50 | 17 | 0.724324 | 0 | 0 | 0.5 | 0 | 0 | 0.426471 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.0625 | 0 | 0.0625 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3201ae9181dce75a34101263b2c6e293b38e69ba | 57 | py | Python | ceph/web/plugins/perfometer/ceph_df.py | jthiltges/check_mk | 37fb2aed5841be2cdca751aaf9415a755fa7d62d | [
"MIT"
] | null | null | null | ceph/web/plugins/perfometer/ceph_df.py | jthiltges/check_mk | 37fb2aed5841be2cdca751aaf9415a755fa7d62d | [
"MIT"
] | null | null | null | ceph/web/plugins/perfometer/ceph_df.py | jthiltges/check_mk | 37fb2aed5841be2cdca751aaf9415a755fa7d62d | [
"MIT"
] | null | null | null | perfometers["check_mk-ceph_df"] = perfometer_check_mk_df
| 28.5 | 56 | 0.842105 | 9 | 57 | 4.777778 | 0.666667 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 57 | 1 | 57 | 57 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
321d55cdb87260d88bfd20650facf3604d53d7cd | 329 | py | Python | 4-preprocessing/dividing_languages/polyglot/mapping/__init__.py | correia-marcos/Innovation-on-brazilian-economic-research | 98bc677618ec2dff062db42cda7279a5e7065a32 | [
"MIT"
] | null | null | null | 4-preprocessing/dividing_languages/polyglot/mapping/__init__.py | correia-marcos/Innovation-on-brazilian-economic-research | 98bc677618ec2dff062db42cda7279a5e7065a32 | [
"MIT"
] | null | null | null | 4-preprocessing/dividing_languages/polyglot/mapping/__init__.py | correia-marcos/Innovation-on-brazilian-economic-research | 98bc677618ec2dff062db42cda7279a5e7065a32 | [
"MIT"
] | null | null | null | from .base import CountedVocabulary, OrderedVocabulary, VocabularyBase
from .embeddings import Embedding
from .expansion import CaseExpander, DigitExpander
__all__ = ['CountedVocabulary',
'OrderedVocabulary',
'VocabularyBase',
'Embedding',
'CaseExpander',
'DigitEx... | 29.909091 | 70 | 0.680851 | 22 | 329 | 10 | 0.545455 | 0.309091 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240122 | 329 | 10 | 71 | 32.9 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.24924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5ca2a7d2c409cd3ab5bf21ca896f36b84f0e14d3 | 122 | py | Python | lang/py/cookbook/v2/source/cb2_8_9_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_8_9_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_8_9_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | import pretest
if __name__ != '__main__': # when module imported, NOT run as main script
pretest.pretest(__name__)
| 30.5 | 76 | 0.729508 | 16 | 122 | 4.8125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188525 | 122 | 3 | 77 | 40.666667 | 0.777778 | 0.360656 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5cbb267f4d87bbbfe5ef7d3712ff2062ae3b4fdb | 127 | py | Python | neko/post.py | Frederick-S/neko | 835305c68019fad821a48bd19030d1c917b7bccf | [
"MIT"
] | 1 | 2017-07-24T08:38:21.000Z | 2017-07-24T08:38:21.000Z | neko/post.py | Frederick-S/neko | 835305c68019fad821a48bd19030d1c917b7bccf | [
"MIT"
] | 1 | 2021-03-19T21:30:48.000Z | 2021-03-20T04:55:31.000Z | neko/post.py | Frederick-S/neko | 835305c68019fad821a48bd19030d1c917b7bccf | [
"MIT"
] | null | null | null | class Post(object):
def __init__(self, metadata, content):
self.metadata = metadata
self.content = content
| 25.4 | 42 | 0.653543 | 14 | 127 | 5.642857 | 0.571429 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251969 | 127 | 4 | 43 | 31.75 | 0.831579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5cbde69a363cb7e351fe32fa64393f78430b6f99 | 171 | py | Python | sorts/plotting/__init__.py | danielk333/SORTS | f8454901fda405c0e8ce6553366553c3f043da0b | [
"MIT"
] | 4 | 2020-09-14T11:38:31.000Z | 2021-05-19T08:10:37.000Z | sorts/plotting/__init__.py | danielk333/SORTS | f8454901fda405c0e8ce6553366553c3f043da0b | [
"MIT"
] | 6 | 2020-09-14T05:48:02.000Z | 2021-05-29T14:12:16.000Z | sorts/plotting/__init__.py | danielk333/SORTS | f8454901fda405c0e8ce6553366553c3f043da0b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
'''Plotting sub package
'''
from .general import orbits, grid_earth
from .radar import radar_earth, radar_map
from .tracking import local_tracking | 19 | 41 | 0.777778 | 25 | 171 | 5.16 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128655 | 171 | 9 | 42 | 19 | 0.865772 | 0.239766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7a20fe23664ed083c93eda2ccc38ba0b2a157d47 | 73 | py | Python | gmad/__init__.py | JoshPiper/Python-InterWorkshop | 1148b927afe27273f7daf25b09a3c55977c641be | [
"MIT"
] | 1 | 2020-03-18T14:50:59.000Z | 2020-03-18T14:50:59.000Z | gmad/__init__.py | JoshPiper/Python-InterWorkshop | 1148b927afe27273f7daf25b09a3c55977c641be | [
"MIT"
] | 3 | 2020-03-17T14:07:43.000Z | 2021-02-14T13:28:22.000Z | gmad/__init__.py | JoshPiper/Python-InterWorkshop | 1148b927afe27273f7daf25b09a3c55977c641be | [
"MIT"
] | 1 | 2020-05-17T15:19:31.000Z | 2020-05-17T15:19:31.000Z | """A module for the processing, creation and unpacking of .gma files."""
| 36.5 | 72 | 0.726027 | 11 | 73 | 4.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 1 | 73 | 73 | 0.854839 | 0.90411 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7a3b8f5d32709e5d54b2fa7b6e654a7602046fe5 | 176 | py | Python | py_sanic_samples/api/__init__.py | liguodongIOT/py-sanic-samples | c8f575a074a409149579cfd1b7073de5213d77c0 | [
"Apache-2.0"
] | null | null | null | py_sanic_samples/api/__init__.py | liguodongIOT/py-sanic-samples | c8f575a074a409149579cfd1b7073de5213d77c0 | [
"Apache-2.0"
] | null | null | null | py_sanic_samples/api/__init__.py | liguodongIOT/py-sanic-samples | c8f575a074a409149579cfd1b7073de5213d77c0 | [
"Apache-2.0"
] | null | null | null | from sanic import Blueprint
from .content import content
from .info import info
from .swagger import swagger
api = Blueprint.group(content, info, swagger, url_prefix="/api")
| 22 | 64 | 0.784091 | 25 | 176 | 5.48 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 176 | 7 | 65 | 25.142857 | 0.901316 | 0 | 0 | 0 | 0 | 0 | 0.022857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7a91eff0ffef187d2f07d95ef41b189b20903c07 | 5,718 | py | Python | tests/gromacs/test_mmpbsa.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | null | null | null | tests/gromacs/test_mmpbsa.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | null | null | null | tests/gromacs/test_mmpbsa.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | null | null | null | from icolos.core.workflow_steps.gromacs.mmpbsa import StepGMXmmpbsa
from icolos.core.containers.generic import GenericData
import unittest
import os
from icolos.utils.enums.step_enums import StepBaseEnum, StepGromacsEnum
from tests.tests_paths import PATHS_EXAMPLEDATA, export_unit_test_env_vars, MAIN_CONFIG
from icolos... | 39.986014 | 193 | 0.62242 | 695 | 5,718 | 4.802878 | 0.185612 | 0.059916 | 0.058718 | 0.088077 | 0.767825 | 0.733074 | 0.716896 | 0.704014 | 0.645297 | 0.645297 | 0 | 0.017324 | 0.273172 | 5,718 | 142 | 194 | 40.267606 | 0.785852 | 0 | 0 | 0.488189 | 0 | 0.015748 | 0.119098 | 0.041273 | 0 | 0 | 0 | 0 | 0.015748 | 1 | 0.031496 | false | 0 | 0.062992 | 0 | 0.102362 | 0.007874 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7aa2d5ea859d1d38a3c84f3de9cbc87d003f280a | 94 | py | Python | project/apps.py | OkayJosh/Nemis | ebc6b7b0cfc64386517408a3da566f306fe1e140 | [
"MIT"
] | null | null | null | project/apps.py | OkayJosh/Nemis | ebc6b7b0cfc64386517408a3da566f306fe1e140 | [
"MIT"
] | null | null | null | project/apps.py | OkayJosh/Nemis | ebc6b7b0cfc64386517408a3da566f306fe1e140 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProjectConfig(AppConfig):
name = 'project'
| 15.666667 | 34 | 0.712766 | 10 | 94 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 5 | 35 | 18.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7abf446970967a5b5a0923bc34ff2c89c3f34d1b | 478 | py | Python | release/scripts/presets/cloth/denim.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | release/scripts/presets/cloth/denim.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | release/scripts/presets/cloth/denim.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | import bpy
bpy.context.cloth.settings.quality = 12
bpy.context.cloth.settings.mass = 1
bpy.context.cloth.settings.tension_stiffness = 40
bpy.context.cloth.settings.compression_stiffness = 40
bpy.context.cloth.settings.shear_stiffness = 40
bpy.context.cloth.settings.bending_stiffness = 10
bpy.context.cloth.settings.tens... | 39.833333 | 53 | 0.828452 | 70 | 478 | 5.542857 | 0.271429 | 0.257732 | 0.386598 | 0.592784 | 0.747423 | 0.510309 | 0 | 0 | 0 | 0 | 0 | 0.040359 | 0.066946 | 478 | 11 | 54 | 43.454545 | 0.829596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8f9121e96a5e9983fc6f45c4a75e790e65e233a4 | 1,386 | py | Python | resources/panels/seeds/modern_adjective.py | exposit/pythia-oracle | 60e4e806c9ed1627f2649822ab1901d28933daac | [
"MIT"
] | 32 | 2016-08-27T01:31:42.000Z | 2022-03-21T08:59:28.000Z | resources/panels/seeds/modern_adjective.py | exposit/pythia-oracle | 60e4e806c9ed1627f2649822ab1901d28933daac | [
"MIT"
] | 3 | 2016-08-27T00:51:47.000Z | 2019-08-26T13:23:04.000Z | resources/panels/seeds/modern_adjective.py | exposit/pythia-oracle | 60e4e806c9ed1627f2649822ab1901d28933daac | [
"MIT"
] | 10 | 2016-08-28T14:14:41.000Z | 2021-03-18T03:24:22.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Astounding Horror 1930s
chart = ["accursed", "adjoining", "artificial", "attracted", "enbattled", "beady", "broad", "careless", "bovine", "cellar", "certain", "coarse", "common", "official", "damn", "dangerous", "densest", "dependent", "devoted", "different", "dimmest", "... | 277.2 | 1,313 | 0.646465 | 131 | 1,386 | 6.839695 | 0.984733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003968 | 0.090909 | 1,386 | 4 | 1,314 | 346.5 | 0.707143 | 0.047619 | 0 | 0 | 0 | 0 | 0.646925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8f996f77b8ed620e999bd5c00027241fe1ca8dcb | 86 | py | Python | src/syrupy/extensions/__init__.py | dtczest/syrupy | c37d6521852c96cf1ae01873c02b94410d38b663 | [
"Apache-2.0"
] | 147 | 2019-11-24T22:44:39.000Z | 2022-03-28T17:19:34.000Z | src/syrupy/extensions/__init__.py | dtczest/syrupy | c37d6521852c96cf1ae01873c02b94410d38b663 | [
"Apache-2.0"
] | 560 | 2019-11-19T19:15:19.000Z | 2022-03-18T19:29:14.000Z | src/syrupy/extensions/__init__.py | dtczest/syrupy | c37d6521852c96cf1ae01873c02b94410d38b663 | [
"Apache-2.0"
] | 13 | 2020-03-07T23:23:10.000Z | 2022-01-25T17:05:07.000Z | from .amber import AmberSnapshotExtension
DEFAULT_EXTENSION = AmberSnapshotExtension
| 21.5 | 42 | 0.883721 | 7 | 86 | 10.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 3 | 43 | 28.666667 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8fbcc7b02171a8535bd63cf1e931599f5f7889c8 | 159 | py | Python | src/std/__init__.py | ojimary/titus | ac53bcde5e0f32ab1f8b982b5c2bb7d89c9917a4 | [
"Condor-1.1"
] | 108 | 2015-05-29T07:50:26.000Z | 2022-03-04T06:10:55.000Z | src/std/__init__.py | ROBERT-MCDOWELL/p2p-sip | 3ba6d39327694f662c3e4c9c943f9bfb4abb9a29 | [
"Condor-1.1"
] | 5 | 2015-07-16T16:33:21.000Z | 2020-05-30T23:13:20.000Z | src/std/__init__.py | ROBERT-MCDOWELL/p2p-sip | 3ba6d39327694f662c3e4c9c943f9bfb4abb9a29 | [
"Condor-1.1"
] | 69 | 2015-07-20T16:05:04.000Z | 2022-03-31T15:41:03.000Z | '''
This package contains the core implementations of various protocols as defined
by the IETF in various RFCs and (work-in-progress) Internet-Drafts.
''' | 39.75 | 79 | 0.761006 | 23 | 159 | 5.26087 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163522 | 159 | 4 | 80 | 39.75 | 0.909774 | 0.918239 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8fc007823076632aa8bf463fe4304fca52f24b32 | 421 | py | Python | asn1tools/errors.py | cromulencellc/asn1tools | 30eb88e287cc1616903858aa96ee8791a4d7bf1c | [
"MIT"
] | 198 | 2017-08-04T21:49:15.000Z | 2022-03-26T10:11:21.000Z | asn1tools/errors.py | cromulencellc/asn1tools | 30eb88e287cc1616903858aa96ee8791a4d7bf1c | [
"MIT"
] | 144 | 2017-09-29T12:06:51.000Z | 2022-03-29T13:04:44.000Z | asn1tools/errors.py | cromulencellc/asn1tools | 30eb88e287cc1616903858aa96ee8791a4d7bf1c | [
"MIT"
] | 73 | 2017-10-09T13:33:28.000Z | 2022-03-11T01:35:22.000Z | """Various exceptions/errors.
"""
class Error(Exception):
"""Base exception of all asn1tools exceptions.
"""
class CompileError(Error):
"""General ASN.1 compile error.
"""
class EncodeError(Error):
"""General ASN.1 encode error.
"""
class DecodeError(Error):
"""General ASN.1 deco... | 12.382353 | 50 | 0.624703 | 44 | 421 | 5.977273 | 0.477273 | 0.18251 | 0.228137 | 0.243346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.228029 | 421 | 33 | 51 | 12.757576 | 0.793846 | 0.517815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8ffff98c0b386a39130c4d1182421e1a7eaf71d6 | 70 | py | Python | somewhere.py | liguodongIOT/py-sanic-samples | c8f575a074a409149579cfd1b7073de5213d77c0 | [
"Apache-2.0"
] | null | null | null | somewhere.py | liguodongIOT/py-sanic-samples | c8f575a074a409149579cfd1b7073de5213d77c0 | [
"Apache-2.0"
] | null | null | null | somewhere.py | liguodongIOT/py-sanic-samples | c8f575a074a409149579cfd1b7073de5213d77c0 | [
"Apache-2.0"
] | null | null | null |
# from sanic import Sanic
#
# app = Sanic.get_app("MyHelloWorldApp")
| 14 | 40 | 0.714286 | 9 | 70 | 5.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 4 | 41 | 17.5 | 0.830508 | 0.885714 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8902c9eedec1ae4360a090649cbbed24491d7b64 | 108 | py | Python | tests/__init__.py | fossabot/Simr | 9ce90387329fae683413b7e3f292918a4f3af32c | [
"MIT"
] | 1 | 2021-12-06T01:55:01.000Z | 2021-12-06T01:55:01.000Z | tests/__init__.py | fossabot/Simr | 9ce90387329fae683413b7e3f292918a4f3af32c | [
"MIT"
] | 7 | 2018-08-29T15:08:28.000Z | 2021-12-07T22:15:43.000Z | tests/__init__.py | fossabot/Simr | 9ce90387329fae683413b7e3f292918a4f3af32c | [
"MIT"
] | 2 | 2015-11-24T16:20:21.000Z | 2021-10-14T21:43:33.000Z | __author__ = 'Sander Krause <sanderkrause@gmail.com>'
__author__ = 'Roel van Nuland <roel@kompjoefriek.nl>'
| 36 | 53 | 0.768519 | 13 | 108 | 5.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 2 | 54 | 54 | 0.773196 | 0 | 0 | 0 | 0 | 0 | 0.703704 | 0.425926 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
890e72056daed053fd966fe88dee965718be1dc3 | 121 | py | Python | projects/sudoku/utils/__init__.py | andersy005/artificial-intelligence | dcf5ebb1959835aee7dacdb5a2cea14790f2cf01 | [
"MIT"
] | 7 | 2017-08-31T23:27:23.000Z | 2021-11-16T13:20:10.000Z | projects/sudoku/utils/__init__.py | andersy005/artificial-intelligence | dcf5ebb1959835aee7dacdb5a2cea14790f2cf01 | [
"MIT"
] | null | null | null | projects/sudoku/utils/__init__.py | andersy005/artificial-intelligence | dcf5ebb1959835aee7dacdb5a2cea14790f2cf01 | [
"MIT"
] | 7 | 2018-01-01T13:39:38.000Z | 2020-04-26T14:41:39.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 31 20:14:15 2017
@author: Anderson Banihirwe
"""
| 13.444444 | 35 | 0.628099 | 19 | 121 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 0.173554 | 121 | 8 | 36 | 15.125 | 0.62 | 0.892562 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
64e05669569fa8d96ca75790dccc9215919be3cd | 276 | py | Python | tpcp/optimize/__init__.py | mad-lab-fau/tpcp | ef906afec4c58338dd286f37d62996fc83964404 | [
"MIT"
] | 2 | 2021-11-03T16:54:55.000Z | 2021-11-04T17:57:34.000Z | tpcp/optimize/__init__.py | mad-lab-fau/tpcp | ef906afec4c58338dd286f37d62996fc83964404 | [
"MIT"
] | 28 | 2021-11-22T10:25:16.000Z | 2022-03-23T11:54:00.000Z | tpcp/optimize/__init__.py | mad-lab-fau/tpcp | ef906afec4c58338dd286f37d62996fc83964404 | [
"MIT"
] | null | null | null | """Module for all supported parameter optimization methods."""
from tpcp._optimize import BaseOptimize
from tpcp.optimize._optimize import DummyOptimize, GridSearch, GridSearchCV, Optimize
__all__ = ["GridSearch", "GridSearchCV", "Optimize", "DummyOptimize", "BaseOptimize"]
| 46 | 85 | 0.797101 | 27 | 276 | 7.925926 | 0.555556 | 0.074766 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 276 | 5 | 86 | 55.2 | 0.856 | 0.202899 | 0 | 0 | 0 | 0 | 0.257009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
64e65224bf103799731b1bd07085f0eb69963184 | 2,608 | py | Python | ganimides_server/ganimides_openBankingAPI/__init__.py | leandrou-technology-forward/api_server | 0a41335a45f179ba831799722dc049a98ed9c094 | [
"MIT"
] | null | null | null | ganimides_server/ganimides_openBankingAPI/__init__.py | leandrou-technology-forward/api_server | 0a41335a45f179ba831799722dc049a98ed9c094 | [
"MIT"
] | 1 | 2021-06-02T00:31:50.000Z | 2021-06-02T00:31:50.000Z | ganimides_server/ganimides_openBankingAPI/__init__.py | leandrou-technology-forward/ganimides_api_server | 8787927e2cf7568a070c1c65294ee76d89177908 | [
"MIT"
] | null | null | null | import os
import sys
#3 levels up
if not (os.path.dirname(os.path.dirname(os.path.dirname(__file__))) in sys.path): sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
if not (os.path.dirname(os.path.dirname(__file__)) in sys.path): sys.path.append(os.path.dirname(os.path.dirname(__file__)))
if... | 49.207547 | 158 | 0.885736 | 335 | 2,608 | 6.486567 | 0.20597 | 0.185458 | 0.243442 | 0.306949 | 0.76208 | 0.541187 | 0.298665 | 0.23884 | 0.115969 | 0.115969 | 0 | 0.001241 | 0.073236 | 2,608 | 52 | 159 | 50.153846 | 0.897807 | 0.022239 | 0 | 0 | 0 | 0 | 0.022379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.795455 | 0 | 0.795455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8f0d855eadeb38b04f3b250e2bebeeceb83fe863 | 89 | py | Python | rssfeed/apps.py | 5pence/rss_helper | 497c8a74eb64a3874183175af66b75294cd5e091 | [
"MIT"
] | 1 | 2020-07-25T19:36:18.000Z | 2020-07-25T19:36:18.000Z | rssfeed/apps.py | 5pence/rss_helper | 497c8a74eb64a3874183175af66b75294cd5e091 | [
"MIT"
] | 4 | 2021-03-19T03:50:30.000Z | 2021-06-10T19:22:56.000Z | rssfeed/apps.py | 5pence/rss_helper | 497c8a74eb64a3874183175af66b75294cd5e091 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RssfeedConfig(AppConfig):
name = 'rssfeed'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8f4c173a8b204d1aa7488581558d01da6901aac4 | 682 | py | Python | web-starter/blueyellow_pycharm_app/blueyellow_pycharm_app/controllers/home_controller.py | agbs2k8/WebLearning | 9976f185f7b9df3bdf448fd0e03ce07fc723a503 | [
"MIT"
] | null | null | null | web-starter/blueyellow_pycharm_app/blueyellow_pycharm_app/controllers/home_controller.py | agbs2k8/WebLearning | 9976f185f7b9df3bdf448fd0e03ce07fc723a503 | [
"MIT"
] | null | null | null | web-starter/blueyellow_pycharm_app/blueyellow_pycharm_app/controllers/home_controller.py | agbs2k8/WebLearning | 9976f185f7b9df3bdf448fd0e03ce07fc723a503 | [
"MIT"
] | null | null | null | import pyramid_handlers
from blueyellow_pycharm_app.controllers.base_controller import BaseController
from blueyellow_pycharm_app.infrastructure.suppressor import suppress
class HomeController(BaseController):
@pyramid_handlers.action(renderer = 'templates/home/index.pt')
def index(self):
return {'val... | 32.47619 | 77 | 0.721408 | 77 | 682 | 6.207792 | 0.441558 | 0.125523 | 0.131799 | 0.182008 | 0.263598 | 0.263598 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164223 | 682 | 21 | 78 | 32.47619 | 0.838596 | 0 | 0 | 0 | 0 | 0 | 0.180088 | 0.103953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.1875 | 0.6875 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
56a9b16f2372dd63675469e3b087c0b245d8b5a3 | 137 | py | Python | djangosige/apps/compras/apps.py | MateusMolina/lunoERP | 0880adb93b3a2d3169c6780efa60a229272f927a | [
"MIT"
] | null | null | null | djangosige/apps/compras/apps.py | MateusMolina/lunoERP | 0880adb93b3a2d3169c6780efa60a229272f927a | [
"MIT"
] | null | null | null | djangosige/apps/compras/apps.py | MateusMolina/lunoERP | 0880adb93b3a2d3169c6780efa60a229272f927a | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class ComprasConfig(AppConfig):
name = 'compras'
| 17.125 | 40 | 0.751825 | 15 | 137 | 6.533333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19708 | 137 | 7 | 41 | 19.571429 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0.053846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
56abbb6fcca6c525ccba972fc9242e29fc733cfc | 407 | py | Python | test/tests/pickle_test.py | vinzenz/pyston | 211aa1dd5b163be7fbe0c0dac85c38b01c36afc2 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | test/tests/pickle_test.py | vinzenz/pyston | 211aa1dd5b163be7fbe0c0dac85c38b01c36afc2 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | test/tests/pickle_test.py | vinzenz/pyston | 211aa1dd5b163be7fbe0c0dac85c38b01c36afc2 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | import pickle
l = [[], (123,)]
l.append(l)
s = pickle.dumps(l)
print repr(s)
l2 = pickle.loads(s)
l3 = l2.pop()
print l2, l3, l2 is l3
print pickle.loads(pickle.dumps("hello world"))
# Sqlalchemy wants this:
import operator
print repr(pickle.dumps(len))
print repr(pickle.dumps(operator.and_))
class C(object):
... | 16.28 | 47 | 0.685504 | 71 | 407 | 3.915493 | 0.394366 | 0.23741 | 0.161871 | 0.215827 | 0.194245 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031609 | 0.144963 | 407 | 24 | 48 | 16.958333 | 0.767241 | 0.054054 | 0 | 0 | 0 | 0 | 0.028721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.055556 | 0.111111 | null | null | 0.388889 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
56bc1dd30db3c6c1639b03816520d14084ceb496 | 19,654 | py | Python | tests/gui/steps/oneprovider/data_tab.py | aoxiangflysky/onedata | 5fe5783f4fb23e90e6567d638a165a0bfcc2f663 | [
"Apache-2.0"
] | 2 | 2017-09-15T10:38:56.000Z | 2017-09-20T12:48:55.000Z | tests/gui/steps/oneprovider/data_tab.py | aoxiangflysky/onedata | 5fe5783f4fb23e90e6567d638a165a0bfcc2f663 | [
"Apache-2.0"
] | 31 | 2016-09-07T11:50:15.000Z | 2017-10-31T11:47:50.000Z | tests/gui/steps/oneprovider/data_tab.py | aoxiangflysky/onedata | 5fe5783f4fb23e90e6567d638a165a0bfcc2f663 | [
"Apache-2.0"
] | 1 | 2017-08-31T11:55:09.000Z | 2017-08-31T11:55:09.000Z | """Steps used for handling of data tab elements (e.g. toolbar)
in various GUI testing scenarios
"""
__author__ = "Bartek Walkowicz"
__copyright__ = "Copyright (C) 2017 ACK CYFRONET AGH"
__license__ = "This software is released under the MIT license cited in " \
"LICENSE.txt"
from itertools import izip
... | 49.631313 | 82 | 0.63641 | 2,509 | 19,654 | 4.764448 | 0.094061 | 0.079053 | 0.068262 | 0.066254 | 0.794546 | 0.77129 | 0.738163 | 0.708549 | 0.677681 | 0.663209 | 0 | 0.002006 | 0.264475 | 19,654 | 395 | 83 | 49.756962 | 0.824917 | 0.004681 | 0 | 0.543807 | 0 | 0 | 0.309179 | 0.004705 | 0 | 0 | 0 | 0 | 0.081571 | 1 | 0.075529 | false | 0 | 0.015106 | 0 | 0.090634 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
56c3446db17fe26fc61e1e1ebfa3aedfa929f686 | 95 | py | Python | tests/context.py | sthagen/python-scaling-tribble | 2bb2e41185ae2b0108f341751d0e4a2187909683 | [
"MIT"
] | null | null | null | tests/context.py | sthagen/python-scaling-tribble | 2bb2e41185ae2b0108f341751d0e4a2187909683 | [
"MIT"
] | 18 | 2021-02-14T15:17:17.000Z | 2021-02-14T17:46:27.000Z | tests/context.py | sthagen/python-scaling-tribble | 2bb2e41185ae2b0108f341751d0e4a2187909683 | [
"MIT"
] | null | null | null | import os
PRODUCT_MAPPING = '{"a": "b"}'
os.environ["REPO_PRODUCT_MAPPING"] = PRODUCT_MAPPING
| 19 | 52 | 0.726316 | 13 | 95 | 5 | 0.615385 | 0.646154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 4 | 53 | 23.75 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
56de59e1b94e17dd3b719048186d16198c23566e | 169 | py | Python | fabfile/restartapache.py | pastpages/wordpress-memento-plugin | d33a14a955fb9a61fd73d890de3d31145714d785 | [
"MIT"
] | 10 | 2015-09-26T23:10:07.000Z | 2020-02-15T12:14:56.000Z | fabfile/restartapache.py | pastpages/wordpress-memento-plugin | d33a14a955fb9a61fd73d890de3d31145714d785 | [
"MIT"
] | 14 | 2015-08-09T23:19:32.000Z | 2015-10-18T22:19:11.000Z | fabfile/restartapache.py | pastpages/wordpress-memento-plugin | d33a14a955fb9a61fd73d890de3d31145714d785 | [
"MIT"
] | null | null | null | from fabric.api import sudo, task
@task
def restartapache():
"""
Restarts apache on both app servers.
"""
sudo("/etc/init.d/apache2 reload", pty=True)
| 16.9 | 48 | 0.64497 | 23 | 169 | 4.73913 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.218935 | 169 | 9 | 49 | 18.777778 | 0.818182 | 0.213018 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.