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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37b79a42787ab39d8a353cbbf500ada9ea93a8d8 | 78 | py | Python | oe_site/app/admin.py | WsinGithub/ChemECar_web | aad7d8b98ac82830ddff0ec9adb99efef66e40f8 | [
"MIT"
] | null | null | null | oe_site/app/admin.py | WsinGithub/ChemECar_web | aad7d8b98ac82830ddff0ec9adb99efef66e40f8 | [
"MIT"
] | null | null | null | oe_site/app/admin.py | WsinGithub/ChemECar_web | aad7d8b98ac82830ddff0ec9adb99efef66e40f8 | [
"MIT"
] | 1 | 2021-07-30T04:31:43.000Z | 2021-07-30T04:31:43.000Z | from django.contrib import admin
# django框架默认文件
# Register your models here.
| 15.6 | 32 | 0.794872 | 10 | 78 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 4 | 33 | 19.5 | 0.939394 | 0.5 | 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 | 1 | 0 | 0 | 5 |
80a5bf8e4fc4367f119468df4b768b89e6482019 | 382 | py | Python | src/pyglue/DocStrings/GroupTransform.py | omenos/OpenColorIO | 7316c3be20752278924dd3f213bff297ffb63a14 | [
"BSD-3-Clause"
] | 7 | 2015-07-01T03:19:43.000Z | 2021-03-27T11:02:16.000Z | src/pyglue/DocStrings/GroupTransform.py | dictoon/OpenColorIO | 64adcad300adfd166280d2e7b1fb5c3ce7dca482 | [
"BSD-3-Clause"
] | null | null | null | src/pyglue/DocStrings/GroupTransform.py | dictoon/OpenColorIO | 64adcad300adfd166280d2e7b1fb5c3ce7dca482 | [
"BSD-3-Clause"
] | 2 | 2019-03-05T20:43:59.000Z | 2019-11-11T20:35:55.000Z |
class GroupTransform:
"""
GroupTransform
"""
def __init__(self):
pass
def getTransform(self):
pass
def getTransforms(self):
pass
def setTransforms(self, transforms):
pass
def size(self):
pass
def push_back(self, transform):
pass
de... | 17.363636 | 40 | 0.54712 | 38 | 382 | 5.368421 | 0.421053 | 0.240196 | 0.269608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.366492 | 382 | 21 | 41 | 18.190476 | 0.842975 | 0.036649 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0.470588 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
80bf37aa9aad7edddb690a9919912a42c6115218 | 2,742 | py | Python | pymonad/maybe/maybe_test.py | Wildhoney/Pymonad | 177989b3d0f362c3bf3af962d89306309ff000c3 | [
"MIT"
] | null | null | null | pymonad/maybe/maybe_test.py | Wildhoney/Pymonad | 177989b3d0f362c3bf3af962d89306309ff000c3 | [
"MIT"
] | null | null | null | pymonad/maybe/maybe_test.py | Wildhoney/Pymonad | 177989b3d0f362c3bf3af962d89306309ff000c3 | [
"MIT"
] | null | null | null | import unittest
from . import Nothing, Just
a = Just('Adam')
b = Nothing()
def lower(x): return x.lower()
def reverse(x): return x[::-1]
def shout(x): return '%s!' % x
def capitalise(x): return x.capitalize()
class TestJust(unittest.TestCase):
def test_is_just(self):
self.assertEqual(a.is_just(), Tru... | 37.054054 | 78 | 0.591174 | 342 | 2,742 | 4.690058 | 0.125731 | 0.243142 | 0.201995 | 0.122195 | 0.732544 | 0.703865 | 0.679551 | 0.642145 | 0.511222 | 0.481297 | 0 | 0.000466 | 0.21663 | 2,742 | 73 | 79 | 37.561644 | 0.746276 | 0 | 0 | 0.25 | 0 | 0 | 0.107221 | 0 | 0 | 0 | 0 | 0 | 0.464286 | 1 | 0.214286 | false | 0 | 0.035714 | 0.071429 | 0.267857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0391350ff5403c977fa0fbdb326f594770fc8943 | 53 | py | Python | catcher_rl/__main__.py | sohnryang/catcher-rl | 8a45080f2be528be8abb94c3a4eea0dc700ab505 | [
"MIT"
] | null | null | null | catcher_rl/__main__.py | sohnryang/catcher-rl | 8a45080f2be528be8abb94c3a4eea0dc700ab505 | [
"MIT"
] | null | null | null | catcher_rl/__main__.py | sohnryang/catcher-rl | 8a45080f2be528be8abb94c3a4eea0dc700ab505 | [
"MIT"
] | null | null | null | """__main__.py"""
import catcher_rl
catcher_rl.main() | 17.666667 | 17 | 0.754717 | 8 | 53 | 4.25 | 0.625 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 3 | 18 | 17.666667 | 0.68 | 0.207547 | 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 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
039de2956a93e9fe91351642653c24e863f9b4ef | 219 | py | Python | py-data/plugin.video.arteplussept/problems/api-related/1/correct-usages/get_last7days.py | ualberta-smr/NFBugs | 65d9ef603e9527b3d83f53af0606b1ae240513f1 | [
"MIT"
] | 3 | 2019-10-01T19:58:24.000Z | 2021-09-17T04:03:21.000Z | py-data/plugin.video.arteplussept/problems/api-related/1/correct-usages/get_last7days.py | senseconcordia/NFBugsExtended | 60058ccbd64107018a92ede73056d08ecbdaaed2 | [
"MIT"
] | 22 | 2018-08-23T15:15:37.000Z | 2019-03-15T17:09:41.000Z | py-data/plugin.video.arteplussept/problems/api-related/1/correct-usages/get_last7days.py | senseconcordia/NFBugsExtended | 60058ccbd64107018a92ede73056d08ecbdaaed2 | [
"MIT"
] | 1 | 2019-02-11T18:26:36.000Z | 2019-02-11T18:26:36.000Z | from xbmcswift2 import Plugin
from xbmcswift2 import actions
import requests
import os
import urllib2
import time
import datetime
def get_last7days():
return flatten([get_day(date) for (date, _) in get_dates()])
| 19.909091 | 64 | 0.780822 | 31 | 219 | 5.387097 | 0.645161 | 0.167665 | 0.239521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.155251 | 219 | 10 | 65 | 21.9 | 0.881081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
03f575511edc87fbaa0168ce74fe3d45c2492f5f | 4,158 | py | Python | src/contactapp/migrations/0001_initial.py | robertsmoto/sodavault | 200e843be7abe6cc447647bba55c7c1309092e5e | [
"BSD-3-Clause"
] | null | null | null | src/contactapp/migrations/0001_initial.py | robertsmoto/sodavault | 200e843be7abe6cc447647bba55c7c1309092e5e | [
"BSD-3-Clause"
] | null | null | null | src/contactapp/migrations/0001_initial.py | robertsmoto/sodavault | 200e843be7abe6cc447647bba55c7c1309092e5e | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 3.2.3 on 2021-08-23 17:30
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Company',
fields=[
... | 46.719101 | 154 | 0.549784 | 410 | 4,158 | 5.421951 | 0.197561 | 0.133603 | 0.287899 | 0.345479 | 0.735043 | 0.735043 | 0.703554 | 0.654971 | 0.614485 | 0.558704 | 0 | 0.042109 | 0.297499 | 4,158 | 88 | 155 | 47.25 | 0.718932 | 0.010823 | 0 | 0.641975 | 1 | 0 | 0.131355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.024691 | 0 | 0.074074 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
03fcdf32087c44ef545515c06175fa5dfd2d8041 | 122 | py | Python | rmepy/robot_modules/__init__.py | 233a344a455/RobomasterEPlib | d0497d06d107c482e7b4c80c54c7c05c0bf62e21 | [
"MIT"
] | 3 | 2020-04-23T14:19:59.000Z | 2020-10-06T17:02:12.000Z | rmepy/robot_modules/__init__.py | 233a344a455/RobomasterEPlib | d0497d06d107c482e7b4c80c54c7c05c0bf62e21 | [
"MIT"
] | null | null | null | rmepy/robot_modules/__init__.py | 233a344a455/RobomasterEPlib | d0497d06d107c482e7b4c80c54c7c05c0bf62e21 | [
"MIT"
] | 2 | 2020-05-13T08:15:16.000Z | 2020-05-13T08:55:51.000Z | from .basic_ctrl import BasicCtrl
from .chassis import Chassis
from .gimbal import Gimbal
from .blaster import Blaster | 30.5 | 34 | 0.811475 | 17 | 122 | 5.764706 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155738 | 122 | 4 | 35 | 30.5 | 0.951456 | 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 | 1 | 0 | 0 | 5 |
ff0b467f1ad7ee9bf9ae9be6fd164aa964a5004d | 289 | py | Python | tests/test_checks_interface.py | ployt0/server_monitor | 835e48ed317b4b069ebd66675ca2d1b3120770c0 | [
"MIT"
] | null | null | null | tests/test_checks_interface.py | ployt0/server_monitor | 835e48ed317b4b069ebd66675ca2d1b3120770c0 | [
"MIT"
] | null | null | null | tests/test_checks_interface.py | ployt0/server_monitor | 835e48ed317b4b069ebd66675ca2d1b3120770c0 | [
"MIT"
] | null | null | null | from checks_interface import deserialise_simple_csv
def test_deserialise_simple_csv():
csv_list = deserialise_simple_csv("yolo,barry white,george soros,tilda swinton,None,bill gates")
assert csv_list == ['yolo', 'barrywhite', 'george soros', 'tilda swinton', None, 'bill gates']
| 41.285714 | 100 | 0.768166 | 39 | 289 | 5.435897 | 0.564103 | 0.240566 | 0.283019 | 0.216981 | 0.339623 | 0.339623 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0.121107 | 289 | 6 | 101 | 48.166667 | 0.834646 | 0 | 0 | 0 | 0 | 0 | 0.373702 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
205c895c1f60cd3b978288b5cd1339799a85f756 | 3,267 | py | Python | tests/data/expected_tabulated.py | CozyDoomer/pypistats | 39e4415c736d025d16aa0131d2107756d0f127fa | [
"MIT"
] | 1 | 2020-09-13T14:18:09.000Z | 2020-09-13T14:18:09.000Z | tests/data/expected_tabulated.py | CozyDoomer/pypistats | 39e4415c736d025d16aa0131d2107756d0f127fa | [
"MIT"
] | 5 | 2020-09-13T14:18:30.000Z | 2020-09-13T14:33:37.000Z | tests/data/expected_tabulated.py | Smirenost/pypistats | 431201080061ecd41d58b12ad4837de6883d66ae | [
"MIT"
] | null | null | null | EXPECTED_TABULATED_HTML = """
<table>
<thead>
<tr>
<th>category</th>
<th>date</th>
<th>downloads</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">2.6</td>
<td align="left">2018-08-15</td>
<td align="right">51</t... | 28.911504 | 44 | 0.379859 | 465 | 3,267 | 2.651613 | 0.094624 | 0.194647 | 0.25953 | 0.105434 | 0.769667 | 0.716951 | 0.643958 | 0.541768 | 0.541768 | 0.541768 | 0 | 0.266332 | 0.390878 | 3,267 | 112 | 45 | 29.169643 | 0.353266 | 0.006428 | 0 | 0.364486 | 0 | 0 | 0.958064 | 0.221092 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
207a4de3d61bc090e22bce94c09268f291db401d | 395 | py | Python | users/models.py | lizooo/webpage | 4a203ad04991a4ae54d6bd1179054715b56095aa | [
"MIT"
] | 1 | 2021-12-16T15:56:35.000Z | 2021-12-16T15:56:35.000Z | users/models.py | Na11a/webpage | 29ba3ecee7c122a7ce92c6053077f00056e6ce28 | [
"MIT"
] | 6 | 2020-04-25T17:43:43.000Z | 2021-11-04T20:02:46.000Z | users/models.py | Na11a/webpage | 29ba3ecee7c122a7ce92c6053077f00056e6ce28 | [
"MIT"
] | 10 | 2020-10-05T12:55:54.000Z | 2021-11-21T12:03:30.000Z | from django.db import models
# Create your models here.
from django.db import models
from datetime import datetime
class User(models.Model):
name = models.CharField(max_length=100)
surname = models.CharField(max_length=100)
email = models.EmailField(unique=True)
password = models.CharField(max_lengt... | 26.333333 | 67 | 0.756962 | 52 | 395 | 5.692308 | 0.538462 | 0.152027 | 0.182432 | 0.243243 | 0.344595 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.149367 | 395 | 14 | 68 | 28.214286 | 0.854167 | 0.060759 | 0 | 0.222222 | 0 | 0 | 0.01897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
208a944865cc3b2efa6d830a3ced85fa06ed73c4 | 3,369 | py | Python | myutils/pandas_util.py | stas00/fastai-misc | e7e8c18ed798f91b2e026c667f795f45992608b8 | [
"Apache-2.0"
] | 1 | 2018-06-01T17:39:59.000Z | 2018-06-01T17:39:59.000Z | myutils/pandas_util.py | stas00/fastai-misc | e7e8c18ed798f91b2e026c667f795f45992608b8 | [
"Apache-2.0"
] | null | null | null | myutils/pandas_util.py | stas00/fastai-misc | e7e8c18ed798f91b2e026c667f795f45992608b8 | [
"Apache-2.0"
] | null | null | null | # from https://github.com/ohmeow/pandas_examples
# import sys
# sys.path.append('/home/stas/fast.ai')
# from myutils.pandas_util import advanced_describe
import pandas as pd
######################### Data Examination ############################
# - made changes to unique_vals to show a small sample, regardless ho... | 41.592593 | 143 | 0.623034 | 484 | 3,369 | 4.260331 | 0.254132 | 0.029098 | 0.042677 | 0.038797 | 0.722599 | 0.722599 | 0.722599 | 0.722599 | 0.722599 | 0.722599 | 0 | 0.010722 | 0.169486 | 3,369 | 80 | 144 | 42.1125 | 0.726233 | 0.255565 | 0 | 0.685714 | 0 | 0 | 0.069142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0.028571 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
20aa2b45072a77da6b8b4f3ae6b02d4f7ca10fa0 | 61 | py | Python | django_libretto/__init__.py | ze-phyr-us/django-libretto | b19d8aa21b9579ee91e81967a44d1c40f5588b17 | [
"MIT"
] | null | null | null | django_libretto/__init__.py | ze-phyr-us/django-libretto | b19d8aa21b9579ee91e81967a44d1c40f5588b17 | [
"MIT"
] | null | null | null | django_libretto/__init__.py | ze-phyr-us/django-libretto | b19d8aa21b9579ee91e81967a44d1c40f5588b17 | [
"MIT"
] | null | null | null | from . import decorators, forms, http, models, template, url
| 30.5 | 60 | 0.754098 | 8 | 61 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 61 | 1 | 61 | 61 | 0.884615 | 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 | 1 | 0 | 0 | 5 |
20cf365aa273b16e874ac91e02b64fabdf860834 | 148 | py | Python | backend/app/db/base.py | jnana-cetana/XMeme | cb7d5e31c455dc3c7e751dff9e7c8e067090936b | [
"MIT"
] | 19 | 2021-02-15T19:55:25.000Z | 2022-02-01T09:05:07.000Z | backend/app/db/base.py | jnana-cetana/XMeme | cb7d5e31c455dc3c7e751dff9e7c8e067090936b | [
"MIT"
] | null | null | null | backend/app/db/base.py | jnana-cetana/XMeme | cb7d5e31c455dc3c7e751dff9e7c8e067090936b | [
"MIT"
] | null | null | null | # Import all the models, so that Base has them before being imported by Alembic
from app.db.base_class import Base
from app.models.meme import Meme
| 37 | 79 | 0.804054 | 27 | 148 | 4.37037 | 0.703704 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155405 | 148 | 3 | 80 | 49.333333 | 0.944 | 0.52027 | 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 | 1 | 0 | 0 | 5 |
455ec713befd7532c83b45583b4e08a6cd8de1bc | 70 | py | Python | src/prodis/packets/handshaking/__init__.py | blubberdiblub/prodis | c70d31b7df0358edd8969e9a94341b3771ee2e0f | [
"MIT"
] | null | null | null | src/prodis/packets/handshaking/__init__.py | blubberdiblub/prodis | c70d31b7df0358edd8969e9a94341b3771ee2e0f | [
"MIT"
] | null | null | null | src/prodis/packets/handshaking/__init__.py | blubberdiblub/prodis | c70d31b7df0358edd8969e9a94341b3771ee2e0f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .serverbound import Packet as ServerBound
| 17.5 | 46 | 0.785714 | 10 | 70 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 3 | 47 | 23.333333 | 0.901639 | 0.285714 | 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 | 1 | 0 | 0 | 5 |
4592ee2a9205ee3dd55eed2050ff0223402372a9 | 52 | py | Python | src/core/sessions/buffers/gui/configuration/twitter/__init__.py | Oire/TheQube | fcfd8a68b15948e0740642d635db24adef8cc314 | [
"MIT"
] | 21 | 2015-08-02T21:26:14.000Z | 2019-12-27T09:57:44.000Z | src/core/sessions/buffers/gui/configuration/twitter/__init__.py | Oire/TheQube | fcfd8a68b15948e0740642d635db24adef8cc314 | [
"MIT"
] | 34 | 2015-01-12T00:38:14.000Z | 2020-08-31T11:19:37.000Z | src/core/sessions/buffers/gui/configuration/twitter/__init__.py | Oire/TheQube | fcfd8a68b15948e0740642d635db24adef8cc314 | [
"MIT"
] | 15 | 2015-03-24T15:42:30.000Z | 2020-09-24T20:26:42.000Z | from main import BufferConfigDialog
import panels
| 17.333333 | 36 | 0.846154 | 6 | 52 | 7.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 37 | 26 | 1 | 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 | 1 | 0 | 0 | 5 |
45b6462ff728650517df81b64394ea4eb748f3d3 | 160 | py | Python | snek/exts/syncer/__init__.py | Snek-Network/snek | 5f443c00d701c985ef9362d0d98d2ac07b1c56e0 | [
"MIT"
] | null | null | null | snek/exts/syncer/__init__.py | Snek-Network/snek | 5f443c00d701c985ef9362d0d98d2ac07b1c56e0 | [
"MIT"
] | 20 | 2020-07-25T17:16:46.000Z | 2020-10-01T19:05:55.000Z | snek/exts/syncer/__init__.py | Snek-Network/snek | 5f443c00d701c985ef9362d0d98d2ac07b1c56e0 | [
"MIT"
] | 3 | 2020-08-02T20:15:58.000Z | 2020-12-29T08:48:12.000Z | from snek.bot import Snek
from snek.exts.syncer.cog import Syncer
def setup(bot: Snek) -> None:
"""Load the `Syncer` cog."""
bot.add_cog(Syncer(bot))
| 20 | 39 | 0.675 | 26 | 160 | 4.115385 | 0.5 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 160 | 7 | 40 | 22.857143 | 0.810606 | 0.1375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
45c1caa23ecd364d3384d99dfa0f6a2683ce53fe | 951 | py | Python | virtualisation/triplestore/triplestoreadapter.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 2 | 2016-11-03T14:57:45.000Z | 2019-05-13T13:21:08.000Z | virtualisation/triplestore/triplestoreadapter.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | null | null | null | virtualisation/triplestore/triplestoreadapter.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 1 | 2020-07-23T11:27:15.000Z | 2020-07-23T11:27:15.000Z | from abc import abstractmethod
from abc import ABCMeta
__author__ = 'Marten Fischer (m.fischer@hs-osnabrueck.de)'
class TripleStoreAdapter:
__metaclass__ = ABCMeta
@abstractmethod
def graphExists(self, graphName):
pass
@abstractmethod
def createGraph(self, graphName):
pass
... | 21.613636 | 74 | 0.684543 | 86 | 951 | 7.465116 | 0.453488 | 0.238318 | 0.261682 | 0.233645 | 0.158879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245005 | 951 | 44 | 75 | 21.613636 | 0.89415 | 0 | 0 | 0.5625 | 0 | 0 | 0.045168 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28125 | false | 0.28125 | 0.0625 | 0 | 0.40625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
45e62668ada234da171d4601a142283296ac3f75 | 181 | py | Python | carmcmc/__init__.py | metegenez/WAVEPAL | fa2bb91e2c7e63681ae4592929215c96bc523597 | [
"MIT"
] | 39 | 2015-01-25T19:24:09.000Z | 2022-02-28T11:55:28.000Z | carmcmc/__init__.py | metegenez/WAVEPAL | fa2bb91e2c7e63681ae4592929215c96bc523597 | [
"MIT"
] | 13 | 2015-04-29T12:37:45.000Z | 2021-11-28T23:31:29.000Z | carmcmc/__init__.py | metegenez/WAVEPAL | fa2bb91e2c7e63681ae4592929215c96bc523597 | [
"MIT"
] | 19 | 2015-09-15T00:41:28.000Z | 2021-07-28T07:28:47.000Z | from _carmcmc import *
from carma_pack import CarmaModel, CarmaSample, Car1Sample, power_spectrum, carma_variance, \
carma_process, get_ar_roots
from samplers import MCMCSample
| 36.2 | 93 | 0.828729 | 23 | 181 | 6.217391 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.127072 | 181 | 4 | 94 | 45.25 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aff709693fd92476b3e892543ca1fbdd4a69c8c9 | 139 | py | Python | pyeccodes/defs/grib2/dimensionType_table.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib2/dimensionType_table.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib2/dimensionType_table.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | def load(h):
return ({'abbr': 'layer', 'code': 0, 'title': 'layer'},
{'abbr': 'missing', 'code': 255, 'title': 'missing'})
| 34.75 | 65 | 0.489209 | 16 | 139 | 4.25 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.223022 | 139 | 3 | 66 | 46.333333 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0.359712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b3100d65adacd7054c8de611ff54f81327ab317b | 5,201 | py | Python | grab_closest_rmsd.py | Miro-Astore/mdanalysis_scripts | faf59c7b3b63ab103a709941e5cc2e5d7c1d0b23 | [
"MIT"
] | 1 | 2021-06-16T11:34:29.000Z | 2021-06-16T11:34:29.000Z | grab_closest_rmsd.py | Miro-Astore/mdanalysis_scripts | faf59c7b3b63ab103a709941e5cc2e5d7c1d0b23 | [
"MIT"
] | null | null | null | grab_closest_rmsd.py | Miro-Astore/mdanalysis_scripts | faf59c7b3b63ab103a709941e5cc2e5d7c1d0b23 | [
"MIT"
] | 1 | 2021-06-16T11:34:31.000Z | 2021-06-16T11:34:31.000Z | import MDAnalysis as mda
import MDAnalysis.analysis.rms
import numpy as np
ref = mda.Universe ('./pca_2_ref.pdb')
traj_u = mda.Universe ('ionized.psf','sum.xtc')
ref_sel = "name CA and resid 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 8... | 305.941176 | 4,705 | 0.766583 | 1,170 | 5,201 | 3.393162 | 0.960684 | 0.015113 | 0.010579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.885117 | 0.21842 | 5,201 | 16 | 4,706 | 325.0625 | 0.091513 | 0 | 0 | 0 | 0 | 0.076923 | 0.921923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.230769 | 0.076923 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b3240e96d503aecba5fa6738ed7f723f65cd5c2c | 77 | py | Python | src/fate_of_dice/system/call_of_cthulhu/__init__.py | bonczeq/FateOfDice | ce1704ac490f55bc600c0963958d4175104e85e5 | [
"MIT"
] | null | null | null | src/fate_of_dice/system/call_of_cthulhu/__init__.py | bonczeq/FateOfDice | ce1704ac490f55bc600c0963958d4175104e85e5 | [
"MIT"
] | null | null | null | src/fate_of_dice/system/call_of_cthulhu/__init__.py | bonczeq/FateOfDice | ce1704ac490f55bc600c0963958d4175104e85e5 | [
"MIT"
] | null | null | null | from .skill_check import check_skill, SkillCheckResult, SkillCheckResultType
| 38.5 | 76 | 0.883117 | 8 | 77 | 8.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 77 | 1 | 77 | 77 | 0.929577 | 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 | 1 | 0 | 0 | 5 |
b3532df5397a8d5aa65b3ed84d50aae7151c36c0 | 95,382 | py | Python | sdk/python/pulumi_aws_native/emr/outputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/emr/outputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/emr/outputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 37.434066 | 268 | 0.664685 | 9,787 | 95,382 | 6.144988 | 0.03566 | 0.02549 | 0.03826 | 0.055919 | 0.791324 | 0.763339 | 0.736952 | 0.681382 | 0.667199 | 0.658802 | 0 | 0.000602 | 0.23343 | 95,382 | 2,547 | 269 | 37.448763 | 0.821929 | 0.012937 | 0 | 0.750482 | 1 | 0.020231 | 0.224716 | 0.112927 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171484 | false | 0.011079 | 0.003372 | 0.084297 | 0.326108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b3539ffc66bede449c55231a9b0e75f5780ee2ee | 128 | py | Python | 434-number-of-segments-in-a-string/434-number-of-segments-in-a-string.py | hyeseonko/LeetCode | 48dfc93f1638e13041d8ce1420517a886abbdc77 | [
"MIT"
] | 2 | 2021-12-05T14:29:06.000Z | 2022-01-01T05:46:13.000Z | 434-number-of-segments-in-a-string/434-number-of-segments-in-a-string.py | hyeseonko/LeetCode | 48dfc93f1638e13041d8ce1420517a886abbdc77 | [
"MIT"
] | null | null | null | 434-number-of-segments-in-a-string/434-number-of-segments-in-a-string.py | hyeseonko/LeetCode | 48dfc93f1638e13041d8ce1420517a886abbdc77 | [
"MIT"
] | null | null | null | class Solution:
def countSegments(self, s: str) -> int:
return sum([1 for letter in s.strip().split(" ") if letter]) | 42.666667 | 68 | 0.625 | 19 | 128 | 4.210526 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.21875 | 128 | 3 | 68 | 42.666667 | 0.79 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2fa1d59d738f6050541565b7625bf68ab9c9b3ab | 43 | py | Python | demo_zinnia_wordpress/__init__.py | django-blog-zinnia/wordpress2zinnia | 656df6d431418a660f0e590d2226af5e6dd7a3e6 | [
"BSD-3-Clause"
] | 7 | 2015-08-16T18:50:52.000Z | 2021-05-23T11:28:22.000Z | demo_zinnia_wordpress/__init__.py | django-blog-zinnia/wordpress2zinnia | 656df6d431418a660f0e590d2226af5e6dd7a3e6 | [
"BSD-3-Clause"
] | 5 | 2015-06-20T07:04:01.000Z | 2018-08-02T14:12:41.000Z | demo_zinnia_wordpress/__init__.py | django-blog-zinnia/wordpress2zinnia | 656df6d431418a660f0e590d2226af5e6dd7a3e6 | [
"BSD-3-Clause"
] | 7 | 2015-04-17T14:57:37.000Z | 2020-10-17T04:32:02.000Z | """Demo of Zinnia with wordpress import"""
| 21.5 | 42 | 0.72093 | 6 | 43 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 1 | 43 | 43 | 0.837838 | 0.837209 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2fcd9f0a4668f30c4930f01c38dd7a96779a0ba3 | 195 | py | Python | snippets/urls.py | rudra012/django_rest | bbfc0535cefcf20d1b788aab0336c090d58c506d | [
"MIT"
] | null | null | null | snippets/urls.py | rudra012/django_rest | bbfc0535cefcf20d1b788aab0336c090d58c506d | [
"MIT"
] | null | null | null | snippets/urls.py | rudra012/django_rest | bbfc0535cefcf20d1b788aab0336c090d58c506d | [
"MIT"
] | null | null | null | from django.conf.urls import url
from api.snippets import snippets_api
urlpatterns = [
url(r'^$', snippets_api.snippet_list),
url(r'^(?P<pk>[0-9]+)/$', snippets_api.snippet_detail),
]
| 19.5 | 59 | 0.687179 | 29 | 195 | 4.448276 | 0.586207 | 0.255814 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.138462 | 195 | 9 | 60 | 21.666667 | 0.755952 | 0 | 0 | 0 | 0 | 0 | 0.097938 | 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 | 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 | 5 |
2fd2f559dbfd281655f2be8fc7d8f814570f9fcc | 76 | py | Python | Fundamentos/variables.py | ijchavez/python | bccd94a9bee90125e2be27b0355bdaedb0ae9d19 | [
"Unlicense"
] | null | null | null | Fundamentos/variables.py | ijchavez/python | bccd94a9bee90125e2be27b0355bdaedb0ae9d19 | [
"Unlicense"
] | null | null | null | Fundamentos/variables.py | ijchavez/python | bccd94a9bee90125e2be27b0355bdaedb0ae9d19 | [
"Unlicense"
] | null | null | null | x = 5
y = 3
z = x + y
print(x)
print(y)
print(x + y)
print(z)
w = z
print(w) | 8.444444 | 12 | 0.526316 | 20 | 76 | 2 | 0.35 | 0.45 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.263158 | 76 | 9 | 13 | 8.444444 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.555556 | 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 | 1 | 0 | 5 |
641e664d10bd57eb59a8d00d6a45b411c67df279 | 128 | py | Python | whereToGo/src/sensors/_conf_sensors.py | k323r/whereToGo | 5ec94a49e818c6a2acfb08c66755100c26c42f22 | [
"MIT"
] | null | null | null | whereToGo/src/sensors/_conf_sensors.py | k323r/whereToGo | 5ec94a49e818c6a2acfb08c66755100c26c42f22 | [
"MIT"
] | null | null | null | whereToGo/src/sensors/_conf_sensors.py | k323r/whereToGo | 5ec94a49e818c6a2acfb08c66755100c26c42f22 | [
"MIT"
] | null | null | null | import os.path
ROOT = os.path.dirname(
os.path.dirname(
os.path.dirname(
os.path.abspath(__file__)
)))
| 16 | 37 | 0.59375 | 17 | 128 | 4.235294 | 0.411765 | 0.416667 | 0.541667 | 0.625 | 0.625 | 0.625 | 0.625 | 0.625 | 0 | 0 | 0 | 0 | 0.265625 | 128 | 7 | 38 | 18.285714 | 0.765957 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 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 | 5 |
641e9e0dce5e1416f0e6f8b2e384e21e197b3478 | 160 | py | Python | Codigo_EngDados/exe03.py | SouzaMarcel0/Exercicios_Python | d0c75292b7c725faeaf49db161b7d1a0f71a9418 | [
"MIT"
] | null | null | null | Codigo_EngDados/exe03.py | SouzaMarcel0/Exercicios_Python | d0c75292b7c725faeaf49db161b7d1a0f71a9418 | [
"MIT"
] | null | null | null | Codigo_EngDados/exe03.py | SouzaMarcel0/Exercicios_Python | d0c75292b7c725faeaf49db161b7d1a0f71a9418 | [
"MIT"
] | null | null | null |
client = pymongo.MongoClient("mongodb+srv://usermgs:udUnpg6aJnCp9d2W@cluster0.2ivys.mongodb.net/baseteste?retryWrites=true&w=majority")
db = client.test
| 16 | 135 | 0.78125 | 19 | 160 | 6.578947 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034014 | 0.08125 | 160 | 9 | 136 | 17.777778 | 0.816327 | 0 | 0 | 0 | 0 | 0.5 | 0.668831 | 0.668831 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
643115619018886865b6c08a6d8862db0370f968 | 103 | py | Python | pluribus/poker/evaluation/__init__.py | keithlee96/pluribus-poker-AI | 15e52fe73dd09570e782dd0e7b9069865eb5823d | [
"MIT"
] | 113 | 2020-08-06T15:03:18.000Z | 2022-03-31T01:56:34.000Z | poker_ai/poker/evaluation/__init__.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | null | null | null | poker_ai/poker/evaluation/__init__.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | 42 | 2020-08-17T15:51:30.000Z | 2022-03-31T17:10:44.000Z | from .eval_card import EvaluationCard
from .evaluator import Evaluator
from .lookup import LookupTable
| 25.75 | 37 | 0.854369 | 13 | 103 | 6.692308 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 3 | 38 | 34.333333 | 0.956044 | 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 | 1 | 0 | 0 | 5 |
ff5309da667685d4448f0288ca00089d68c14df3 | 316 | py | Python | learn_pyblish/myplugins/myplugin2.py | kingmax/py | 4cbc20d21c249e22e8f6b68d3c761a66a981e38f | [
"MIT"
] | null | null | null | learn_pyblish/myplugins/myplugin2.py | kingmax/py | 4cbc20d21c249e22e8f6b68d3c761a66a981e38f | [
"MIT"
] | null | null | null | learn_pyblish/myplugins/myplugin2.py | kingmax/py | 4cbc20d21c249e22e8f6b68d3c761a66a981e38f | [
"MIT"
] | null | null | null | import pyblish.api
########################################################################
class MyPlugin2(pyblish.api.ContextPlugin):
""""""
#----------------------------------------------------------------------
def process(self, context):
print('hello from plugin2')
| 24.307692 | 75 | 0.300633 | 16 | 316 | 5.9375 | 0.875 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.183544 | 316 | 12 | 76 | 26.333333 | 0.360465 | 0.221519 | 0 | 0 | 0 | 0 | 0.107784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ff8ffce3211e8d216d8eb1a826f3e6a2b3bf5022 | 110 | py | Python | synth/__init__.py | lummax/switching-lattice-synth | 47cf9e64c900cb179c392b46a392049e99dfebab | [
"MIT"
] | null | null | null | synth/__init__.py | lummax/switching-lattice-synth | 47cf9e64c900cb179c392b46a392049e99dfebab | [
"MIT"
] | null | null | null | synth/__init__.py | lummax/switching-lattice-synth | 47cf9e64c900cb179c392b46a392049e99dfebab | [
"MIT"
] | null | null | null | import synth.timer
from synth.base import Function
from synth.dp_construction import DualProductConstruction
| 22 | 57 | 0.872727 | 14 | 110 | 6.785714 | 0.642857 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 110 | 4 | 58 | 27.5 | 0.959596 | 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 | 1 | 0 | 0 | 5 |
ffa7ba43fb77d122b3328d05f195ebbbdbe93ef0 | 7,577 | py | Python | kuryr_kubernetes/tests/unit/controller/drivers/test_public_ip.py | BoringWenn/kuryr-kubernetes | 625ddb0a39ab5e8752b83565e6b9689c2ab1775f | [
"Apache-2.0"
] | null | null | null | kuryr_kubernetes/tests/unit/controller/drivers/test_public_ip.py | BoringWenn/kuryr-kubernetes | 625ddb0a39ab5e8752b83565e6b9689c2ab1775f | [
"Apache-2.0"
] | null | null | null | kuryr_kubernetes/tests/unit/controller/drivers/test_public_ip.py | BoringWenn/kuryr-kubernetes | 625ddb0a39ab5e8752b83565e6b9689c2ab1775f | [
"Apache-2.0"
] | 1 | 2018-08-01T13:41:55.000Z | 2018-08-01T13:41:55.000Z | # Copyright (c) 2017 RedHat, Inc.
# All Rights Reserved.
#
# 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... | 39.463542 | 78 | 0.685628 | 1,010 | 7,577 | 4.835644 | 0.165347 | 0.041564 | 0.027641 | 0.040131 | 0.761671 | 0.743448 | 0.729115 | 0.714578 | 0.695536 | 0.695536 | 0 | 0.022441 | 0.223703 | 7,577 | 191 | 79 | 39.670157 | 0.807888 | 0.097796 | 0 | 0.718519 | 0 | 0 | 0.060731 | 0.026405 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.103704 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
927e356264be10470f903d4aeb2be8373a316cd6 | 61 | py | Python | up/utils/model/optim/__init__.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 196 | 2021-10-30T05:15:36.000Z | 2022-03-30T18:43:40.000Z | up/utils/model/optim/__init__.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 12 | 2021-10-30T11:33:28.000Z | 2022-03-31T14:22:58.000Z | up/utils/model/optim/__init__.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 23 | 2021-11-01T07:26:17.000Z | 2022-03-27T05:55:37.000Z | from .lars import LARS # noqa
from .lamb import LAMB # noqa | 30.5 | 30 | 0.721311 | 10 | 61 | 4.4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 61 | 2 | 31 | 30.5 | 0.916667 | 0.147541 | 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 | 1 | 0 | 0 | 5 |
92afbe514a83c1f439be100159e8dac9eed5d374 | 752 | py | Python | bip_utils/bip/__init__.py | djmuratb/bip_utils | 18de9a7067ca2cc3bc4727dc9e39e75db0456e1b | [
"MIT"
] | 1 | 2021-06-13T11:45:23.000Z | 2021-06-13T11:45:23.000Z | bip_utils/bip/__init__.py | djmuratb/bip_utils | 18de9a7067ca2cc3bc4727dc9e39e75db0456e1b | [
"MIT"
] | null | null | null | bip_utils/bip/__init__.py | djmuratb/bip_utils | 18de9a7067ca2cc3bc4727dc9e39e75db0456e1b | [
"MIT"
] | null | null | null | # BIP39
from bip_utils.bip.bip39_ex import Bip39InvalidFileError, Bip39ChecksumError
from bip_utils.bip.bip39 import (
Bip39WordsNum, Bip39EntropyBitLen,
Bip39EntropyGenerator, Bip39MnemonicGenerator, Bip39MnemonicValidator, Bip39SeedGenerator
)
# BIP32
from bip_utils.bip.bip32_ex import Bip32KeyError, Bip32Pat... | 41.777778 | 93 | 0.855053 | 99 | 752 | 6.313131 | 0.313131 | 0.1232 | 0.2112 | 0.264 | 0.3008 | 0.0768 | 0 | 0 | 0 | 0 | 0 | 0.108504 | 0.093085 | 752 | 17 | 94 | 44.235294 | 0.807918 | 0.030585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.785714 | 0 | 0.785714 | 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 | 1 | 0 | 0 | 5 |
2b88c5258ed3a32b0f868be74797639d674d4da1 | 256 | py | Python | Part_3_advanced/m08_abstract_protocol/abstract_class/homework_1_start/new_movies/rental_directory.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m08_abstract_protocol/abstract_class/homework_1_start/new_movies/rental_directory.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m08_abstract_protocol/abstract_class/homework_1_start/new_movies/rental_directory.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | from new_movies.random_data_utility import random_generator
available_movies = random_generator.generate_random_movies(movies_number=15)
available_games = random_generator.generate_random_games()
def add_movie(movie):
available_movies.append(movie)
| 28.444444 | 76 | 0.859375 | 34 | 256 | 6.029412 | 0.5 | 0.219512 | 0.22439 | 0.282927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.078125 | 256 | 8 | 77 | 32 | 0.860169 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 5 |
2bafdb3d0198af653fa5dcfa1e0681df79a2f730 | 174 | py | Python | tests/iter_version_dev/V1_0_0/demo.py | liguodongIOT/nlp-app-samples | e0cc747e88c7b5c701b5099462d2dd6277c23381 | [
"Apache-2.0"
] | 1 | 2021-09-30T08:16:21.000Z | 2021-09-30T08:16:21.000Z | tests/iter_version_dev/V1_0_0/demo.py | liguodongIOT/nlp-app-samples | e0cc747e88c7b5c701b5099462d2dd6277c23381 | [
"Apache-2.0"
] | null | null | null | tests/iter_version_dev/V1_0_0/demo.py | liguodongIOT/nlp-app-samples | e0cc747e88c7b5c701b5099462d2dd6277c23381 | [
"Apache-2.0"
] | 1 | 2021-11-24T06:24:44.000Z | 2021-11-24T06:24:44.000Z | from nlp_app_samples.constants import APP_NAME
from tests.iter_version_dev.V1_0_0.classification_lr import TASK_DICT
print(APP_NAME)
print(TASK_DICT)
print("over....")
| 14.5 | 69 | 0.810345 | 29 | 174 | 4.482759 | 0.655172 | 0.107692 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.097701 | 174 | 11 | 70 | 15.818182 | 0.808917 | 0 | 0 | 0 | 0 | 0 | 0.047337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.6 | 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 | 1 | 0 | 5 |
2bc366f88045d8e0fb26fb566dafc8ab43dfdefc | 146 | py | Python | eventi/core/admin.py | klebercode/lionsclub | 60db85d44214561d20f85673e8f6c047fab07ee9 | [
"MIT"
] | 1 | 2022-02-28T00:07:14.000Z | 2022-02-28T00:07:14.000Z | eventi/core/admin.py | klebercode/lionsclub | 60db85d44214561d20f85673e8f6c047fab07ee9 | [
"MIT"
] | null | null | null | eventi/core/admin.py | klebercode/lionsclub | 60db85d44214561d20f85673e8f6c047fab07ee9 | [
"MIT"
] | null | null | null | # coding: utf-8
from django.contrib import admin
from eventi.core.models import Club, Info
admin.site.register(Club)
admin.site.register(Info)
| 16.222222 | 41 | 0.780822 | 23 | 146 | 4.956522 | 0.652174 | 0.157895 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.116438 | 146 | 8 | 42 | 18.25 | 0.875969 | 0.089041 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2bcf3f2068544439d767a23babe47f9de75492b6 | 286 | py | Python | pypy/jit/backend/x86/test/test_quasiimmut.py | benoitc/pypy | a3e1b12d1d01dc29056b7badc051ffc034297658 | [
"MIT"
] | 1 | 2020-01-21T11:10:51.000Z | 2020-01-21T11:10:51.000Z | pypy/jit/backend/x86/test/test_quasiimmut.py | benoitc/pypy | a3e1b12d1d01dc29056b7badc051ffc034297658 | [
"MIT"
] | null | null | null | pypy/jit/backend/x86/test/test_quasiimmut.py | benoitc/pypy | a3e1b12d1d01dc29056b7badc051ffc034297658 | [
"MIT"
] | null | null | null |
import py
from pypy.jit.backend.x86.test.test_basic import Jit386Mixin
from pypy.jit.metainterp.test import test_quasiimmut
class TestLoopSpec(Jit386Mixin, test_quasiimmut.QuasiImmutTests):
# for the individual tests see
# ====> ../../../metainterp/test/test_loop.py
pass
| 28.6 | 65 | 0.758741 | 37 | 286 | 5.756757 | 0.594595 | 0.075117 | 0.103286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032129 | 0.129371 | 286 | 9 | 66 | 31.777778 | 0.823293 | 0.251748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
2bd347c1734d1e220233fe8467a010ceab1c41ab | 120 | py | Python | parallel/__init__.py | MSU-MLSys-Lab/CATE | 654c393d7df888d2c3f3b90f9e6752faa061157e | [
"Apache-2.0"
] | 15 | 2021-06-09T00:50:53.000Z | 2022-03-15T07:01:43.000Z | parallel/__init__.py | MSU-MLSys-Lab/CATE | 654c393d7df888d2c3f3b90f9e6752faa061157e | [
"Apache-2.0"
] | null | null | null | parallel/__init__.py | MSU-MLSys-Lab/CATE | 654c393d7df888d2c3f3b90f9e6752faa061157e | [
"Apache-2.0"
] | 4 | 2021-06-09T01:01:43.000Z | 2021-11-03T06:16:50.000Z | from .parallel import DataParallelModel, DataParallelCriterion
__all__ = ["DataParallelModel", "DataParallelCriterion"] | 40 | 62 | 0.841667 | 8 | 120 | 12.125 | 0.75 | 0.783505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 120 | 3 | 63 | 40 | 0.873874 | 0 | 0 | 0 | 0 | 0 | 0.31405 | 0.173554 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2bdc74e67c215c83e64d2416221be3804da9d5cb | 883 | py | Python | files/carinha.py | joaovpassos/USP-Programs | 09ddb8aed238df1f1a2e80afdc202ac4538daf41 | [
"MIT"
] | 2 | 2021-05-26T19:14:16.000Z | 2021-05-27T21:14:24.000Z | files/carinha.py | joaovpassos/USP-Programs | 09ddb8aed238df1f1a2e80afdc202ac4538daf41 | [
"MIT"
] | null | null | null | files/carinha.py | joaovpassos/USP-Programs | 09ddb8aed238df1f1a2e80afdc202ac4538daf41 | [
"MIT"
] | null | null | null | x = float(input("Digite x: "))
y = float(input("Digite y: "))
if 0 <= x <= 8 and 0 <= y <= 8:
if (0 <= x < 1 or 7 < x <= 8) and (0 <= y < 2): #pescoço
print("branco")
elif 3.5 <= x <= 4.5 and 3.5 <= y <= 4.5: #nariz
print("branco")
elif (1 <= x <= 3 or 5 <= x <= 7) and (7.25 <= y <= 7.75): ... | 35.32 | 96 | 0.437146 | 160 | 883 | 2.4125 | 0.2125 | 0.256477 | 0.272021 | 0.165803 | 0.233161 | 0.196891 | 0.181347 | 0.181347 | 0.067358 | 0 | 0 | 0.118211 | 0.291053 | 883 | 24 | 97 | 36.791667 | 0.498403 | 0.087203 | 0 | 0.478261 | 0 | 0 | 0.097744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
920f5ebefa994608aeedc97909ba734c752a93a4 | 3,950 | py | Python | tests/vision/metrics/vqa_test.py | shunk031/allennlp-models | d37c5fadeef9326808a84dda0bcfd210a078d6b1 | [
"Apache-2.0"
] | 402 | 2020-03-11T22:58:35.000Z | 2022-03-29T09:05:27.000Z | tests/vision/metrics/vqa_test.py | staceywhitmore-inl/allennlp-models | 1e89d5e51cb45f3e77a48d4983bf980088334fac | [
"Apache-2.0"
] | 116 | 2020-03-11T01:26:57.000Z | 2022-03-25T13:03:56.000Z | tests/vision/metrics/vqa_test.py | staceywhitmore-inl/allennlp-models | 1e89d5e51cb45f3e77a48d4983bf980088334fac | [
"Apache-2.0"
] | 140 | 2020-03-11T00:51:35.000Z | 2022-03-29T09:05:36.000Z | from typing import Any, Dict, List, Tuple, Union
import pytest
import torch
from allennlp.common.testing import (
AllenNlpTestCase,
multi_device,
global_distributed_metric,
run_distributed_test,
)
from allennlp_models.vision import VqaMeasure
class VqaMeasureTest(AllenNlpTestCase):
@multi_device... | 36.238532 | 92 | 0.552911 | 509 | 3,950 | 4.123772 | 0.147348 | 0.131015 | 0.031444 | 0.020962 | 0.775131 | 0.75131 | 0.75131 | 0.745593 | 0.718914 | 0.701286 | 0 | 0.067941 | 0.284557 | 3,950 | 108 | 93 | 36.574074 | 0.674805 | 0 | 0 | 0.645833 | 0 | 0 | 0.027848 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.0625 | false | 0 | 0.052083 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
9216100e8c2e43d2e0d3473e279433eb80f0be8a | 66 | py | Python | splearn/utils/__init__.py | Treers/spark-learn | ba814b51041c7dbff33c687e7d601e5c51f31c3d | [
"MIT"
] | null | null | null | splearn/utils/__init__.py | Treers/spark-learn | ba814b51041c7dbff33c687e7d601e5c51f31c3d | [
"MIT"
] | null | null | null | splearn/utils/__init__.py | Treers/spark-learn | ba814b51041c7dbff33c687e7d601e5c51f31c3d | [
"MIT"
] | null | null | null | #coding: utf-8
'''
@Time: 2019/4/25 11:15
@Author: fangyoucai
'''
| 11 | 22 | 0.621212 | 11 | 66 | 3.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.136364 | 66 | 5 | 23 | 13.2 | 0.508772 | 0.848485 | 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 | 1 | 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 | 5 |
9218ee2ecb9207604449852e8a31eab96059f1e2 | 106 | py | Python | build_gpcr/management/commands/build_text.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 21 | 2016-01-20T09:33:14.000Z | 2021-12-20T19:19:45.000Z | build_gpcr/management/commands/build_text.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 75 | 2016-02-26T16:29:58.000Z | 2022-03-21T12:35:13.000Z | build_gpcr/management/commands/build_text.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 77 | 2016-01-22T08:44:26.000Z | 2022-02-01T15:54:56.000Z | from build.management.commands.build_text import Command as BuildText
class Command(BuildText):
pass | 21.2 | 69 | 0.811321 | 14 | 106 | 6.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 5 | 70 | 21.2 | 0.923913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
921cf7335f41595219af07b2dffd5f74a9cfc15d | 40 | py | Python | satori/sysinfo/__init__.py | mgeisler/satori | dea382bae1cd043189589c0f7d4c20b4b6725ab5 | [
"Apache-2.0"
] | 1 | 2015-01-18T19:56:28.000Z | 2015-01-18T19:56:28.000Z | satori/sysinfo/__init__.py | samstav/satori | 239fa1e3c7aac78599145c670576f0ac76a41a89 | [
"Apache-2.0"
] | null | null | null | satori/sysinfo/__init__.py | samstav/satori | 239fa1e3c7aac78599145c670576f0ac76a41a89 | [
"Apache-2.0"
] | null | null | null | """Modules for Data Plane Discovery."""
| 20 | 39 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.8 | 0.825 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a6192df53d0f19acab254e85fa3cfaa6abba3386 | 28 | py | Python | models/__init__.py | Rozi1/MobileNetV2_CIFAR10 | 5e3a7cac963c9b84d8efc60984bda6956ba8ec26 | [
"MIT"
] | null | null | null | models/__init__.py | Rozi1/MobileNetV2_CIFAR10 | 5e3a7cac963c9b84d8efc60984bda6956ba8ec26 | [
"MIT"
] | null | null | null | models/__init__.py | Rozi1/MobileNetV2_CIFAR10 | 5e3a7cac963c9b84d8efc60984bda6956ba8ec26 | [
"MIT"
] | null | null | null | from .mobilenetv2 import *
| 9.333333 | 26 | 0.75 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.178571 | 28 | 2 | 27 | 14 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a63318a3fdd93456eccbc73216923e5d8710b3ba | 2,574 | py | Python | spring_cloud/commons/client/loadbalancer/supplier/base.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-06T09:48:23.000Z | 2020-10-07T13:19:46.000Z | spring_cloud/commons/client/loadbalancer/supplier/base.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-05T09:57:01.000Z | 2020-10-12T19:52:48.000Z | spring_cloud/commons/client/loadbalancer/supplier/base.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 8 | 2020-10-05T06:34:49.000Z | 2020-10-07T13:19:46.000Z | # -*- coding: utf-8 -*-
"""
Since the load-balancer is responsible for choosing one instance
per service request from a list of instances. We need a ServiceInstanceListSupplier for
each service to decouple the source of the instances from load-balancers.
"""
# standard library
from abc import ABC, abstractmethod
from t... | 29.930233 | 87 | 0.685315 | 287 | 2,574 | 5.979094 | 0.400697 | 0.073427 | 0.05303 | 0.027972 | 0.265152 | 0.206876 | 0.135198 | 0.111888 | 0.111888 | 0.053613 | 0 | 0.00455 | 0.231546 | 2,574 | 85 | 88 | 30.282353 | 0.862993 | 0.395882 | 0 | 0.40625 | 0 | 0 | 0.032258 | 0.017595 | 0 | 0 | 0 | 0.011765 | 0 | 1 | 0.25 | false | 0.0625 | 0.125 | 0.125 | 0.59375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
a6815c7893a0d94c3e1ad438c9c59e228b6c752c | 522 | py | Python | InquirerPy/prompts/__init__.py | jfilipedias/InquirerPy | 9f67125f808cbe6a73ab3cb652f35faba3f3443e | [
"MIT"
] | null | null | null | InquirerPy/prompts/__init__.py | jfilipedias/InquirerPy | 9f67125f808cbe6a73ab3cb652f35faba3f3443e | [
"MIT"
] | null | null | null | InquirerPy/prompts/__init__.py | jfilipedias/InquirerPy | 9f67125f808cbe6a73ab3cb652f35faba3f3443e | [
"MIT"
] | null | null | null | """Module contains import of all prompts classes."""
from InquirerPy.prompts.checkbox import CheckboxPrompt
from InquirerPy.prompts.confirm import ConfirmPrompt
from InquirerPy.prompts.expand import ExpandPrompt
from InquirerPy.prompts.filepath import FilePathPrompt
from InquirerPy.prompts.fuzzy.fuzzy import FuzzyPromp... | 47.454545 | 54 | 0.867816 | 62 | 522 | 7.306452 | 0.435484 | 0.278146 | 0.417219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082375 | 522 | 10 | 55 | 52.2 | 0.94572 | 0.088123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a6957adb4b1b1df4357ebf29509b3e8d10fca9bb | 357 | py | Python | lib/core/errors.py | h3ar7dump/Zeus-Scanner | e5ac6316d351851883c7a895999b92846380392c | [
"RSA-MD"
] | 1 | 2019-11-29T10:11:01.000Z | 2019-11-29T10:11:01.000Z | lib/core/errors.py | h3ar7dump/Zeus-Scanner | e5ac6316d351851883c7a895999b92846380392c | [
"RSA-MD"
] | null | null | null | lib/core/errors.py | h3ar7dump/Zeus-Scanner | e5ac6316d351851883c7a895999b92846380392c | [
"RSA-MD"
] | null | null | null | class InvalidProxyType(Exception): pass
class ApiConnectionError(Exception): pass
class ApplicationNotFound(Exception): pass
class SqlmapFailedStart(Exception): pass
class SpiderTestFailure(Exception): pass
class InvalidInputProvided(Exception): pass
class InvalidTamperProvided(Exception): pass
class Port... | 16.227273 | 47 | 0.829132 | 32 | 357 | 9.25 | 0.34375 | 0.351351 | 0.425676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103641 | 357 | 22 | 47 | 16.227273 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a6e4911a102a56bec265217b599cb065b431fc4f | 106 | py | Python | srv/service/__init__.py | mantou22/SC_system | 0c048c1ba678e378e62bb046b39c1a0f7792adee | [
"MulanPSL-1.0"
] | null | null | null | srv/service/__init__.py | mantou22/SC_system | 0c048c1ba678e378e62bb046b39c1a0f7792adee | [
"MulanPSL-1.0"
] | 1 | 2021-09-01T03:28:39.000Z | 2021-09-01T03:28:39.000Z | srv/service/__init__.py | mantou22/SC_system | 0c048c1ba678e378e62bb046b39c1a0f7792adee | [
"MulanPSL-1.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
@author:MT
@file:__init__.py.py
@time:2021/8/21 23:02
""" | 15.142857 | 24 | 0.575472 | 18 | 106 | 3.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.132075 | 106 | 7 | 25 | 15.142857 | 0.48913 | 0.896226 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
47037400ff4e76fc857f6ee41c232c1a45585226 | 148 | py | Python | graphgallery/nn/models/pytorch/autoencoder/__init__.py | TobiasSchmidtDE/GraphGallery | e627e4f454e0ce3813171305a524f5190a6e6f45 | [
"MIT"
] | null | null | null | graphgallery/nn/models/pytorch/autoencoder/__init__.py | TobiasSchmidtDE/GraphGallery | e627e4f454e0ce3813171305a524f5190a6e6f45 | [
"MIT"
] | null | null | null | graphgallery/nn/models/pytorch/autoencoder/__init__.py | TobiasSchmidtDE/GraphGallery | e627e4f454e0ce3813171305a524f5190a6e6f45 | [
"MIT"
] | null | null | null | from .decoder import InnerProductDecoder
from .autoencoder import AutoEncoder
from .loss import BCELoss
from .gae import GAE
from .vgae import VGAE
| 24.666667 | 40 | 0.831081 | 20 | 148 | 6.15 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 148 | 5 | 41 | 29.6 | 0.960938 | 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 | 1 | 0 | 0 | 5 |
5b2d3bb33aaf00064a4a81aefce63447edda3498 | 100 | py | Python | Python-Hackerrank/Eye and Identity.py | nihalkhan2810/Data-Structures-Algorithms | 3224fba18dcdbb1c6cc3d7f7a16df4ed0e0a321d | [
"MIT"
] | 10 | 2020-05-02T14:42:15.000Z | 2021-01-26T16:51:47.000Z | Python-Hackerrank/Eye and Identity.py | nihalkhan2810/Data-Structures-Algorithms | 3224fba18dcdbb1c6cc3d7f7a16df4ed0e0a321d | [
"MIT"
] | null | null | null | Python-Hackerrank/Eye and Identity.py | nihalkhan2810/Data-Structures-Algorithms | 3224fba18dcdbb1c6cc3d7f7a16df4ed0e0a321d | [
"MIT"
] | 13 | 2020-03-05T13:31:11.000Z | 2021-01-29T08:14:26.000Z | import numpy
print(str(numpy.eye(*map(int,input().split()))).replace('1',' 1').replace('0',' 0'))
| 20 | 84 | 0.61 | 16 | 100 | 3.8125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.07 | 100 | 4 | 85 | 25 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
5b695471ab29b797681a7c5ba85992682e02db15 | 137 | py | Python | users/admin.py | rossm6/accounts | 74633ce4038806222048d85ef9dfe97a957a6a71 | [
"MIT"
] | 11 | 2021-01-23T01:09:54.000Z | 2021-01-25T07:16:30.000Z | users/admin.py | rossm6/accounts | 74633ce4038806222048d85ef9dfe97a957a6a71 | [
"MIT"
] | 7 | 2021-04-06T18:19:10.000Z | 2021-09-22T19:45:03.000Z | users/admin.py | rossm6/accounts | 74633ce4038806222048d85ef9dfe97a957a6a71 | [
"MIT"
] | 3 | 2021-01-23T18:55:32.000Z | 2021-02-16T17:47:59.000Z | from django.contrib import admin
from users.models import Lock, UserSession
admin.site.register(Lock)
admin.site.register(UserSession)
| 19.571429 | 42 | 0.824818 | 19 | 137 | 5.947368 | 0.578947 | 0.159292 | 0.300885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 137 | 6 | 43 | 22.833333 | 0.91129 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5b6fbfdce0aeea51fda85018f63eb008c4350c82 | 174 | py | Python | gluoncv/data/video_custom/__init__.py | Kh4L/gluon-cv | 849411ed56632cd854850b07142087d599f97dcb | [
"Apache-2.0"
] | 5,447 | 2018-04-25T18:02:51.000Z | 2022-03-31T00:59:49.000Z | gluoncv/data/video_custom/__init__.py | Kh4L/gluon-cv | 849411ed56632cd854850b07142087d599f97dcb | [
"Apache-2.0"
] | 1,566 | 2018-04-25T21:14:04.000Z | 2022-03-31T06:42:42.000Z | gluoncv/data/video_custom/__init__.py | Kh4L/gluon-cv | 849411ed56632cd854850b07142087d599f97dcb | [
"Apache-2.0"
] | 1,345 | 2018-04-25T18:44:13.000Z | 2022-03-30T19:32:53.000Z | # pylint: disable=wildcard-import
"""
Customized data loader for video classification related tasks.
"""
from __future__ import absolute_import
from .classification import *
| 24.857143 | 62 | 0.804598 | 20 | 174 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 174 | 6 | 63 | 29 | 0.882353 | 0.545977 | 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 | 1 | 0 | 0 | 5 |
751f7bec046094aa0251500c529606eae0d8aaaa | 62 | py | Python | projects/thesis/continuous/custom/evaluation/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/evaluation/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/evaluation/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | from .classification_evaluation import ClassificationEvaluator | 62 | 62 | 0.935484 | 5 | 62 | 11.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 62 | 1 | 62 | 62 | 0.966102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
75217fe93a80109a6e221e14b5e96a11ae8b35fe | 89 | py | Python | api/src/app/settings.py | mdcg/fastapi-processes-microservices | cfa2309e0cb6b811525925cfa447c6f6dff37b3a | [
"MIT"
] | null | null | null | api/src/app/settings.py | mdcg/fastapi-processes-microservices | cfa2309e0cb6b811525925cfa447c6f6dff37b3a | [
"MIT"
] | null | null | null | api/src/app/settings.py | mdcg/fastapi-processes-microservices | cfa2309e0cb6b811525925cfa447c6f6dff37b3a | [
"MIT"
] | null | null | null | from decouple import config
MEDIA_PATH = config("MEDIA_PATH", "/home/mdcg/Documents/")
| 17.8 | 58 | 0.752809 | 12 | 89 | 5.416667 | 0.75 | 0.338462 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 4 | 59 | 22.25 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.348315 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
7544963ba7d28d1172e33eda501c69199e904e17 | 86 | py | Python | g3_metaconfig/__init__.py | BigGreenDelta/g3-metaconfig | 5a75b63986fa42e70cdc7863b1d7436e20e1c4f9 | [
"MIT"
] | null | null | null | g3_metaconfig/__init__.py | BigGreenDelta/g3-metaconfig | 5a75b63986fa42e70cdc7863b1d7436e20e1c4f9 | [
"MIT"
] | 2 | 2022-01-17T08:51:38.000Z | 2022-02-24T21:42:36.000Z | g3_metaconfig/__init__.py | BigGreenDelta/g3-metaconfig | 5a75b63986fa42e70cdc7863b1d7436e20e1c4f9 | [
"MIT"
] | null | null | null | from .metaclass import G3ConfigMeta, Config, ArgParserConfig
from .param import Param
| 28.666667 | 60 | 0.837209 | 10 | 86 | 7.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.116279 | 86 | 2 | 61 | 43 | 0.934211 | 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 | 1 | 0 | 0 | 5 |
7554f9acad191edf71d5e0947b588d081ddd4ae3 | 32 | py | Python | augmenty/lang/ru/__init__.py | koaning/augmenty | 13dbdbb5fd56b36c97678ae48d1e0d869987f6dd | [
"MIT"
] | null | null | null | augmenty/lang/ru/__init__.py | koaning/augmenty | 13dbdbb5fd56b36c97678ae48d1e0d869987f6dd | [
"MIT"
] | 1 | 2022-03-12T02:25:00.000Z | 2022-03-12T02:26:01.000Z | augmenty/lang/ru/__init__.py | HishamKhdair/augmenty | a65a7beac410f53706bb7838026f2bac9b89d544 | [
"MIT"
] | null | null | null | from .keyboard import create_ru
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
340b77b6abbc62dbe070ea6034ab0b693a686510 | 5,189 | py | Python | API/conftest.py | BahrmaLe/otus_python_homework | 510a4f1971b35048d760fcc45098e511b81bea31 | [
"MIT"
] | 1 | 2021-02-25T15:37:21.000Z | 2021-02-25T15:37:21.000Z | API/conftest.py | BahrmaLe/otus_python_homework | 510a4f1971b35048d760fcc45098e511b81bea31 | [
"MIT"
] | null | null | null | API/conftest.py | BahrmaLe/otus_python_homework | 510a4f1971b35048d760fcc45098e511b81bea31 | [
"MIT"
] | null | null | null | """Fixtures for tests.py (Dogs API testing)"""
import pytest
import requests
URLS = ["https://dog.ceo/dog-api/",
"https://dog.ceo/api/breeds/list/all",
"https://dog.ceo/api/breeds/image/random",
"https://dog.ceo/api/breeds/image/random/3",
"https://dog.ceo/api/breed/hound/images",
... | 31.259036 | 83 | 0.631143 | 696 | 5,189 | 4.62069 | 0.12069 | 0.074627 | 0.071828 | 0.087065 | 0.818408 | 0.795709 | 0.795709 | 0.773632 | 0.685012 | 0.644279 | 0 | 0.005266 | 0.231451 | 5,189 | 165 | 84 | 31.448485 | 0.801153 | 0.313355 | 0 | 0.568421 | 0 | 0 | 0.150972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178947 | false | 0 | 0.021053 | 0 | 0.442105 | 0.021053 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
340fcc7ec477179690e4471488c43b411756338d | 184 | py | Python | fastapi-transformer-baseline/app/main.py | DeDeckerThomas/NLPiP | 37b4d146f5d9760f779f724c4a0698930f59d6d1 | [
"Apache-2.0"
] | 3 | 2022-03-10T13:33:24.000Z | 2022-03-31T13:31:30.000Z | fastapi-transformer-baseline/app/main.py | DeDeckerThomas/NLPiP | 37b4d146f5d9760f779f724c4a0698930f59d6d1 | [
"Apache-2.0"
] | null | null | null | fastapi-transformer-baseline/app/main.py | DeDeckerThomas/NLPiP | 37b4d146f5d9760f779f724c4a0698930f59d6d1 | [
"Apache-2.0"
] | null | null | null | from fastapi import FastAPI
from routers.api_router import api_router
from core.config import settings
app: FastAPI = FastAPI(title=settings.APP_NAME)
app.include_router(api_router)
| 23 | 47 | 0.836957 | 28 | 184 | 5.321429 | 0.464286 | 0.181208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103261 | 184 | 7 | 48 | 26.285714 | 0.90303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
347d886b920493c8af185f7166a5e1089d5bdb0f | 23 | py | Python | test/example/__init__.py | fieldOfView/izzyPythonPlugin | deb0dca2a4294cd74aa18ab1228de10eceba1266 | [
"MIT"
] | 6 | 2019-11-06T00:37:43.000Z | 2021-12-22T02:39:45.000Z | example/__init__.py | Submanifold/cmake-cpp-pybind11 | f22893e87977de8c619d6033b7ca5bb240451f3d | [
"MIT"
] | null | null | null | example/__init__.py | Submanifold/cmake-cpp-pybind11 | f22893e87977de8c619d6033b7ca5bb240451f3d | [
"MIT"
] | null | null | null | from .example import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
caf9fdaea0cfc21fcb1eeef6a8902847ee871447 | 177 | py | Python | sdap_ingest_manager/history_manager/__init__.py | tloubrieu-jpl/incubator-sdap-nexus-ingestion-manager | 1fedc94265056ea9f9f96e9851bfe885959893fd | [
"Apache-2.0"
] | null | null | null | sdap_ingest_manager/history_manager/__init__.py | tloubrieu-jpl/incubator-sdap-nexus-ingestion-manager | 1fedc94265056ea9f9f96e9851bfe885959893fd | [
"Apache-2.0"
] | 1 | 2020-06-08T18:12:42.000Z | 2020-06-09T02:47:47.000Z | sdap_ingest_manager/history_manager/__init__.py | tloubrieu-jpl/incubator-sdap-nexus-ingestion-manager | 1fedc94265056ea9f9f96e9851bfe885959893fd | [
"Apache-2.0"
] | null | null | null | from .util import md5sum_from_filepath
from .datasetingestionhistorysolr import DatasetIngestionHistorySolr
from .datasetingestionhistoryfile import DatasetIngestionHistoryFile
| 44.25 | 68 | 0.915254 | 14 | 177 | 11.428571 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.067797 | 177 | 3 | 69 | 59 | 0.963636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1b0b98eac31f986426335fe4a1b639f5a2b189be | 52 | py | Python | sat_datetime/__init__.py | junhg0211/sat-datetime | 519700011c8d17e33fd844b53a6e17563bb2abae | [
"MIT"
] | null | null | null | sat_datetime/__init__.py | junhg0211/sat-datetime | 519700011c8d17e33fd844b53a6e17563bb2abae | [
"MIT"
] | null | null | null | sat_datetime/__init__.py | junhg0211/sat-datetime | 519700011c8d17e33fd844b53a6e17563bb2abae | [
"MIT"
] | null | null | null | from .sat_datetime import SatDatetime, SatTimedelta
| 26 | 51 | 0.865385 | 6 | 52 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 1 | 52 | 52 | 0.93617 | 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 | 1 | 0 | 0 | 5 |
1b18107e731c97c78274e71e34a4e53422066da2 | 54 | py | Python | tests/mac-logs/examples/tag/tag.py | andrewp-as-is/mac-logs.py | 13f39b9541e775ef886fc3501dd04b2d06f4aa04 | [
"Unlicense"
] | 1 | 2019-01-14T14:34:59.000Z | 2019-01-14T14:34:59.000Z | tests/mac-logs/examples/tag/tag.py | looking-for-a-job/mac-logs.py | 13f39b9541e775ef886fc3501dd04b2d06f4aa04 | [
"Unlicense"
] | null | null | null | tests/mac-logs/examples/tag/tag.py | looking-for-a-job/mac-logs.py | 13f39b9541e775ef886fc3501dd04b2d06f4aa04 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
import mac_logs
mac_logs.tag()
| 10.8 | 21 | 0.740741 | 10 | 54 | 3.8 | 0.8 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 54 | 4 | 22 | 13.5 | 0.791667 | 0.37037 | 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 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
1b1acb3da87ff1fab8416f66740940a5554cf27f | 5,899 | py | Python | ProgrammingAssignments/pyretic/pyretic/tutorial/of_tutorial.py | Mahdi-Asaly/Coursera-SDN-Assignments | aac5d62f40c5283e296a0f87b7ec2de8986a8efc | [
"Intel"
] | null | null | null | ProgrammingAssignments/pyretic/pyretic/tutorial/of_tutorial.py | Mahdi-Asaly/Coursera-SDN-Assignments | aac5d62f40c5283e296a0f87b7ec2de8986a8efc | [
"Intel"
] | null | null | null | ProgrammingAssignments/pyretic/pyretic/tutorial/of_tutorial.py | Mahdi-Asaly/Coursera-SDN-Assignments | aac5d62f40c5283e296a0f87b7ec2de8986a8efc | [
"Intel"
] | null | null | null |
################################################################################
# The Pyretic Project #
# frenetic-lang.org/pyretic #
# author: Joshua Reich (jreich@cs.princeton.edu) ... | 55.650943 | 91 | 0.561282 | 682 | 5,899 | 4.809384 | 0.409091 | 0.012805 | 0.015854 | 0.014634 | 0.115854 | 0.092683 | 0.057927 | 0.041463 | 0.041463 | 0.041463 | 0 | 0.00344 | 0.310053 | 5,899 | 105 | 92 | 56.180952 | 0.802457 | 0.448042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
1b5728fb13835525abdbb3be08ce7804a39a37e6 | 134 | py | Python | TemplateEngineForRESP-F3T/RoofFunctions/trigonometric_function.py | riku-sakamoto/RESP-ProgramTips | 45be5afb90283e56ddf5d32681c58dec17986ba8 | [
"MIT"
] | 1 | 2021-10-13T02:07:17.000Z | 2021-10-13T02:07:17.000Z | TemplateEngineForRESP-F3T/RoofFunctions/trigonometric_function.py | riku-sakamoto/RESP-ProgramTips | 45be5afb90283e56ddf5d32681c58dec17986ba8 | [
"MIT"
] | null | null | null | TemplateEngineForRESP-F3T/RoofFunctions/trigonometric_function.py | riku-sakamoto/RESP-ProgramTips | 45be5afb90283e56ddf5d32681c58dec17986ba8 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
import numpy as np
def sin_sin(x,y):
return 1000*abs(np.sin(x/2000*np.pi) + np.sin(y/2000.0*np.pi))+100
| 13.4 | 68 | 0.61194 | 29 | 134 | 2.793103 | 0.62069 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 0.156716 | 134 | 9 | 69 | 14.888889 | 0.566372 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
1b5f5814e99811388d8791f4808e71fca930b211 | 651 | py | Python | chapter9/msfrpc/msfrpc_connect.py | abbbhucho/Mastering-Python-for-Networking-and-Security | f4fb1131253e9daad8da501c297758fdcedfbac3 | [
"MIT"
] | 98 | 2018-05-13T20:41:43.000Z | 2022-03-31T00:24:01.000Z | chapter9/msfrpc/msfrpc_connect.py | Cyb3rid10ts/Mastering-Python-for-Networking-and-Security | 4cf04d1758f17ae378b5e3422404e5b7a174a243 | [
"MIT"
] | null | null | null | chapter9/msfrpc/msfrpc_connect.py | Cyb3rid10ts/Mastering-Python-for-Networking-and-Security | 4cf04d1758f17ae378b5e3422404e5b7a174a243 | [
"MIT"
] | 62 | 2018-06-19T13:46:34.000Z | 2022-02-11T05:47:24.000Z | # -*- encoding: utf-8 -*-
import msfrpc
client = msfrpc.Msfrpc({'uri':'/msfrpc', 'port':'5553', 'host':'127.0.0.1', 'ssl': True})
auth = client.login('msf','password')
if auth:
print str(client.call('core.version'))+'\n'
print str(client.call('core.thread_list', []))+'\n'
print str(client.call('job.list', [... | 46.5 | 89 | 0.597542 | 90 | 651 | 4.311111 | 0.4 | 0.185567 | 0.324742 | 0.417526 | 0.572165 | 0.456186 | 0 | 0 | 0 | 0 | 0 | 0.019264 | 0.122888 | 651 | 14 | 90 | 46.5 | 0.660245 | 0.03533 | 0 | 0 | 0 | 0 | 0.290271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.076923 | 0.076923 | null | null | 0.692308 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 5 |
1b941a731326acc3ecffebccafaa639df1c778bf | 66,776 | py | Python | pyboto3/sqs.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/sqs.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/sqs.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 59.996406 | 577 | 0.694561 | 8,395 | 66,776 | 5.513639 | 0.098035 | 0.016333 | 0.010889 | 0.008469 | 0.729643 | 0.704431 | 0.689286 | 0.676345 | 0.666602 | 0.653013 | 0 | 0.008267 | 0.255511 | 66,776 | 1,112 | 578 | 60.05036 | 0.922798 | 0.915074 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1bb4d37b6f5910fd85a5d687f9ba95669ab512ff | 223 | py | Python | src/backend/tests/__init__.py | mrzzy/memento | a83db7dd769c949d9924f5ef29930d818b105ef4 | [
"MIT"
] | 1 | 2019-11-18T04:30:32.000Z | 2019-11-18T04:30:32.000Z | src/backend/tests/__init__.py | mrzzy/NP-Portfolio-2 | a83db7dd769c949d9924f5ef29930d818b105ef4 | [
"MIT"
] | 1 | 2021-03-10T06:04:20.000Z | 2021-03-10T06:04:20.000Z | src/backend/tests/__init__.py | mrzzy/NP-Portfolio-2 | a83db7dd769c949d9924f5ef29930d818b105ef4 | [
"MIT"
] | null | null | null | #
# Memento
# Backend
# Tests
#
from .models.identity import *
from .models.assignment import *
from .models.notification import *
from .ops.identity import *
from .ops.assignment import *
from .ops.notification import *
| 15.928571 | 34 | 0.744395 | 27 | 223 | 6.148148 | 0.37037 | 0.301205 | 0.23494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152466 | 223 | 13 | 35 | 17.153846 | 0.878307 | 0.09417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
941da2ff708ac753a5e6740d5eb4d1133bc1a2b2 | 120 | py | Python | python/coursera_python/WESLEYAN/week1/1.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | python/coursera_python/WESLEYAN/week1/1.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | python/coursera_python/WESLEYAN/week1/1.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z | def problem1_1():
print("Problem Set 1")
pass # replace this pass (a do-nothing) statement with your code
| 20 | 68 | 0.658333 | 18 | 120 | 4.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.25 | 120 | 5 | 69 | 24 | 0.833333 | 0.475 | 0 | 0 | 0 | 0 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
846a34f97a5d99256a90a1f11c153e6cfb2340e9 | 52 | py | Python | utils.py | whoamins/Ctftime-TelegramBot | e2d309ecdcc4c2e3a484a735771e2edf9cdb2554 | [
"MIT"
] | 2 | 2021-12-17T21:37:45.000Z | 2022-02-05T18:30:55.000Z | utils.py | whoamins/Ctftime-parser | 2760355b5ea41202c50cf4218ff06d79c8ca1d59 | [
"MIT"
] | null | null | null | utils.py | whoamins/Ctftime-parser | 2760355b5ea41202c50cf4218ff06d79c8ca1d59 | [
"MIT"
] | 2 | 2021-12-18T14:30:28.000Z | 2021-12-18T20:12:02.000Z | def extract_arg(arg):
return arg.split()[1:][0]
| 17.333333 | 29 | 0.634615 | 9 | 52 | 3.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 52 | 2 | 30 | 26 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
84841b824ca105976b7c170ca16678142365540b | 218 | py | Python | preprocessing/utils.py | nazariinyzhnyk/nlp-beatles-lyrics-modeling | d341b6c2a1fe60a3ca6cae03052775b443f8cedb | [
"MIT"
] | null | null | null | preprocessing/utils.py | nazariinyzhnyk/nlp-beatles-lyrics-modeling | d341b6c2a1fe60a3ca6cae03052775b443f8cedb | [
"MIT"
] | null | null | null | preprocessing/utils.py | nazariinyzhnyk/nlp-beatles-lyrics-modeling | d341b6c2a1fe60a3ca6cae03052775b443f8cedb | [
"MIT"
] | null | null | null | import random
import numpy as np
def set_seed(random_state: int = 42) -> None:
"""Function fixes random state to ensure results are reproducible"""
np.random.seed(random_state)
random.seed(random_state)
| 21.8 | 72 | 0.729358 | 32 | 218 | 4.84375 | 0.59375 | 0.283871 | 0.290323 | 0.270968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011173 | 0.178899 | 218 | 9 | 73 | 24.222222 | 0.854749 | 0.284404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
84da2222e9165d8c0a637fe44385107549d65db3 | 395 | py | Python | tests/bvlapi/guid/test_club.py | alanverresen/bvl-api | 8db768c4393f054bdf314cbcbd47eb408647f877 | [
"MIT"
] | 1 | 2021-09-27T14:54:39.000Z | 2021-09-27T14:54:39.000Z | tests/bvlapi/guid/test_club.py | alanverresen/bvl-api | 8db768c4393f054bdf314cbcbd47eb408647f877 | [
"MIT"
] | null | null | null | tests/bvlapi/guid/test_club.py | alanverresen/bvl-api | 8db768c4393f054bdf314cbcbd47eb408647f877 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Contains tests for validating club GUIDs.
from bvlapi.guid.club import is_club_guid
def test_is_club_guid():
""" Test that a valid club GUID is recognized.
"""
assert is_club_guid("BVBL1328")
def test_is_club_guid__false():
""" Test that an invalid ... | 20.789474 | 53 | 0.683544 | 61 | 395 | 4.196721 | 0.491803 | 0.21875 | 0.195313 | 0.101563 | 0.335938 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 0.2 | 395 | 18 | 54 | 21.944444 | 0.791139 | 0.465823 | 0 | 0 | 0 | 0 | 0.091837 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ca3af843c611433f6ffbca54bba8965c06ce88b0 | 362 | py | Python | app/oauth_office365/tests.py | ricardojba/PwnAuth | 875c4689bb0e35abdfa5ddda7fe89d15d1e52c1f | [
"Apache-2.0"
] | 304 | 2018-05-21T17:28:34.000Z | 2021-09-11T21:36:05.000Z | app/oauth_office365/tests.py | ricardojba/PwnAuth | 875c4689bb0e35abdfa5ddda7fe89d15d1e52c1f | [
"Apache-2.0"
] | 9 | 2018-05-22T17:08:51.000Z | 2021-06-10T20:17:36.000Z | app/oauth_office365/tests.py | lunarobliq/PwnAuth | 2074e0236fa83c4d57ac9a1eed64921b7b99fca2 | [
"Apache-2.0"
] | 76 | 2018-05-21T18:19:20.000Z | 2021-06-04T05:13:42.000Z | from django.test import TestCase
# Create your tests here.
# TODO add test to validate application scopes are enforced when creating
# TODO add test to validate that application redirect and refresh URL match the site's base url
# TODO add unicode handling tests
# TODO test large attachments
# TODO basic tests for ge... | 32.909091 | 95 | 0.801105 | 55 | 362 | 5.272727 | 0.690909 | 0.072414 | 0.075862 | 0.089655 | 0.144828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171271 | 362 | 10 | 96 | 36.2 | 0.966667 | 0.864641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ca4dac22e817435c011945da10bee5efd497b22e | 55 | py | Python | plugins/speechhandler/gmail/__init__.py | narfman0/jeeves | a88035846d6ec95c9ff8559d12b3b5ef4bb1c2d6 | [
"MIT"
] | 4 | 2019-01-18T00:32:33.000Z | 2022-03-06T06:00:44.000Z | plugins/speechhandler/gmail/__init__.py | narfman0/jeeves | a88035846d6ec95c9ff8559d12b3b5ef4bb1c2d6 | [
"MIT"
] | 2 | 2018-06-17T04:38:54.000Z | 2018-07-25T15:00:54.000Z | plugins/speechhandler/gmail/__init__.py | narfman0/jeeves | a88035846d6ec95c9ff8559d12b3b5ef4bb1c2d6 | [
"MIT"
] | 5 | 2017-12-29T12:34:08.000Z | 2019-04-26T19:21:32.000Z | # -*- coding: utf-8 -*-
from .gmail import GmailPlugin
| 18.333333 | 30 | 0.654545 | 7 | 55 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.163636 | 55 | 2 | 31 | 27.5 | 0.76087 | 0.381818 | 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 | 1 | 0 | 0 | 5 |
04737b29349fe094e4753116c73ba39614a30afc | 477 | py | Python | python/anyascii/_data/_30c.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_30c.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_30c.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=' Tan Shuang Zhou Dai Lou Xu Tang Qiu Lun Kui Dui Shi Qi Sha Za Fu Liu She Ke Gong Jian Yong Meng Ung Na Fen Xu Jian Zhong Xiang Fen Fu Lu Lu Bei Ci Zhi Lai Tui Teng Lei Ceoi Wu Zhan Wu Che Q... | 477 | 477 | 0.465409 | 72 | 477 | 3.083333 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.528302 | 477 | 1 | 477 | 477 | 0.986667 | 0 | 0 | 0 | 0 | 1 | 0.98954 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0474b3b615ffa27e5b2d59490038a87b1d507a7f | 2,650 | py | Python | Collections-a-installer/community-general-2.4.0/tests/unit/plugins/become/test_doas.py | d-amien-b/simple-getwordpress | da90d515a0aa837b633d50db4d91d22b031c04a2 | [
"MIT"
] | 22 | 2021-07-16T08:11:22.000Z | 2022-03-31T07:15:34.000Z | Collections-a-installer/community-general-2.4.0/tests/unit/plugins/become/test_doas.py | d-amien-b/simple-getwordpress | da90d515a0aa837b633d50db4d91d22b031c04a2 | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | Collections-a-installer/community-general-2.4.0/tests/unit/plugins/become/test_doas.py | d-amien-b/simple-getwordpress | da90d515a0aa837b633d50db4d91d22b031c04a2 | [
"MIT"
] | 39 | 2021-07-05T02:31:42.000Z | 2022-03-31T02:46:03.000Z | # (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com>
# (c) 2020 Ansible Project
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Make coding more python3-ish
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import re
from an... | 31.176471 | 141 | 0.612453 | 334 | 2,650 | 4.577844 | 0.254491 | 0.058862 | 0.043165 | 0.039241 | 0.768476 | 0.722695 | 0.722695 | 0.722695 | 0.722695 | 0.722695 | 0 | 0.00859 | 0.253208 | 2,650 | 84 | 142 | 31.547619 | 0.764022 | 0.075849 | 0 | 0.666667 | 0 | 0 | 0.181744 | 0.027016 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0.05 | false | 0 | 0.066667 | 0 | 0.116667 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
04a96fdf4942d571969168bae0c819b41a089652 | 98 | py | Python | alyBlog/apps/news/templatetags/__init__.py | Hx-someone/aly-blog | e0205777d2ff1642fde5741a5b5c1b06ad675001 | [
"WTFPL"
] | 1 | 2020-04-17T02:15:45.000Z | 2020-04-17T02:15:45.000Z | alyBlog/apps/news/templatetags/__init__.py | Hx-someone/aly-blog | e0205777d2ff1642fde5741a5b5c1b06ad675001 | [
"WTFPL"
] | null | null | null | alyBlog/apps/news/templatetags/__init__.py | Hx-someone/aly-blog | e0205777d2ff1642fde5741a5b5c1b06ad675001 | [
"WTFPL"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@Time : 2020/3/2 14:38
@Author : 半纸梁
@File : __init__.py.py
""" | 16.333333 | 25 | 0.5 | 15 | 98 | 3 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 0.234694 | 98 | 6 | 26 | 16.333333 | 0.453333 | 0.908163 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
04af3be462be49c77cf685b5d006bc72dfdb498a | 800 | py | Python | week6/w6e1.py | melphick/pybasics | 68508d10b7509943b629b3c627252de60b6a5744 | [
"Apache-2.0"
] | null | null | null | week6/w6e1.py | melphick/pybasics | 68508d10b7509943b629b3c627252de60b6a5744 | [
"Apache-2.0"
] | null | null | null | week6/w6e1.py | melphick/pybasics | 68508d10b7509943b629b3c627252de60b6a5744 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
"""
A function that returns the multiplication product of three parameters--x, y,
and z has a default value of 1.
a. Call the function with all positional arguments.
b. Call the function with all named arguments.
c. Call the function with a mix of positional and named arguments.
d. Call the function... | 26.666667 | 82 | 0.7475 | 145 | 800 | 4.124138 | 0.289655 | 0.093645 | 0.200669 | 0.254181 | 0.729097 | 0.720736 | 0.632107 | 0.374582 | 0.374582 | 0.374582 | 0 | 0.025602 | 0.17 | 800 | 29 | 83 | 27.586207 | 0.875 | 0.02 | 0 | 0 | 0 | 0 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.8 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 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 | 5 |
04b40feb5f75992b5a145a00b4bdb91155e08e55 | 55 | py | Python | currency/__init__.py | p4l1ly/currency | 787dfa0bad0ba8c8663631bc18ee57d0b74552c4 | [
"MIT"
] | null | null | null | currency/__init__.py | p4l1ly/currency | 787dfa0bad0ba8c8663631bc18ee57d0b74552c4 | [
"MIT"
] | null | null | null | currency/__init__.py | p4l1ly/currency | 787dfa0bad0ba8c8663631bc18ee57d0b74552c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .fetcher import from_all
| 13.75 | 29 | 0.636364 | 8 | 55 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.181818 | 55 | 3 | 30 | 18.333333 | 0.733333 | 0.381818 | 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 | 1 | 0 | 0 | 5 |
04d28a5a1f76c44608d5fef3ad3b9f6620990a82 | 669 | py | Python | renovation_core/install/after_migrate.py | Abadulrehman/renovation_core | 2cb015ec1832ceb6076e20914f504a1049d7a736 | [
"MIT"
] | 18 | 2020-04-12T20:40:41.000Z | 2022-03-09T13:50:59.000Z | renovation_core/install/after_migrate.py | Abadulrehman/renovation_core | 2cb015ec1832ceb6076e20914f504a1049d7a736 | [
"MIT"
] | 28 | 2020-04-21T13:24:28.000Z | 2021-11-03T12:23:01.000Z | renovation_core/install/after_migrate.py | Abadulrehman/renovation_core | 2cb015ec1832ceb6076e20914f504a1049d7a736 | [
"MIT"
] | 16 | 2020-04-12T20:31:50.000Z | 2022-01-30T12:19:45.000Z | import frappe
def after_migrate():
set_default_otp_template()
def set_default_otp_template():
if not frappe.db.get_value("System Settings", None, "email_otp_template"):
if frappe.db.exists("Email Template", "Default Email OTP Template"):
# should exists via fixtures
frappe.db.set_value("System Set... | 41.8125 | 102 | 0.727952 | 94 | 669 | 4.978723 | 0.244681 | 0.235043 | 0.111111 | 0.196581 | 0.852564 | 0.700855 | 0.632479 | 0.504274 | 0.504274 | 0.504274 | 0 | 0 | 0.155456 | 669 | 16 | 103 | 41.8125 | 0.828319 | 0.079223 | 0 | 0 | 0 | 0 | 0.413681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 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 | 5 |
b6cc7f99fc4e29918f1da13bf49a17e58ad30b28 | 134 | py | Python | supermario/supermario 1118/mygame.py | Kimmiryeong/2DGP_GameProject | ad3fb197aab27227fc92fd404b2c310f8d0827ca | [
"MIT"
] | null | null | null | supermario/supermario 1118/mygame.py | Kimmiryeong/2DGP_GameProject | ad3fb197aab27227fc92fd404b2c310f8d0827ca | [
"MIT"
] | null | null | null | supermario/supermario 1118/mygame.py | Kimmiryeong/2DGP_GameProject | ad3fb197aab27227fc92fd404b2c310f8d0827ca | [
"MIT"
] | null | null | null | import game_framework
import pico2d
import start_state
pico2d.open_canvas()
game_framework.run(start_state)
pico2d.close_canvas()
| 13.4 | 31 | 0.835821 | 19 | 134 | 5.578947 | 0.526316 | 0.245283 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.097015 | 134 | 10 | 32 | 13.4 | 0.85124 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8e193b0bde2f443a74d2f503a6ddb21056e794e0 | 20 | py | Python | tests/acceptance/test_acceptance/__init__.py | WolffunGame/experiment-agent | 5fbf3fb4ef2defc4c81ecafb2335bb9ac31c1aac | [
"Apache-2.0"
] | 23 | 2020-01-14T11:28:10.000Z | 2022-02-06T09:05:34.000Z | tests/acceptance/test_acceptance/__init__.py | WolffunGame/experiment-agent | 5fbf3fb4ef2defc4c81ecafb2335bb9ac31c1aac | [
"Apache-2.0"
] | 146 | 2020-01-13T19:33:09.000Z | 2022-03-30T22:24:38.000Z | tests/acceptance/test_acceptance/__init__.py | WolffunGame/experiment-agent | 5fbf3fb4ef2defc4c81ecafb2335bb9ac31c1aac | [
"Apache-2.0"
] | 22 | 2020-02-17T22:48:55.000Z | 2022-02-22T09:54:57.000Z | # __init__ is empty
| 10 | 19 | 0.75 | 3 | 20 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.6875 | 0.85 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8e4e4c47e3e55c6c03e22f0df229a7bc75c3388a | 7,995 | py | Python | backend/tests/test_verify.py | uwplse/stng | ce12c2c079516df873382a5aa3c18c407833d130 | [
"MIT"
] | 14 | 2017-03-07T00:14:33.000Z | 2022-02-09T00:59:22.000Z | backend/tests/test_verify.py | uwplse/stng | ce12c2c079516df873382a5aa3c18c407833d130 | [
"MIT"
] | 11 | 2016-11-22T13:14:55.000Z | 2021-12-14T00:56:51.000Z | backend/tests/test_verify.py | uwplse/stng | ce12c2c079516df873382a5aa3c18c407833d130 | [
"MIT"
] | 6 | 2016-11-07T13:38:45.000Z | 2021-04-04T12:13:31.000Z | import unittest
from grammar import *
from verify import *
import assertion_grammar as ag
class TestVerification(unittest.TestCase):
def test_while(self):
# Verifier(tst_ast)
pass
class TestWPC(unittest.TestCase):
def test_trivial(self):
tst_ast = NumNode(4)
self.assertTrue(Weak... | 51.25 | 129 | 0.524578 | 921 | 7,995 | 4.413681 | 0.085776 | 0.096433 | 0.088561 | 0.04059 | 0.845756 | 0.772202 | 0.714145 | 0.667897 | 0.617466 | 0.600492 | 0 | 0.021053 | 0.275172 | 7,995 | 155 | 130 | 51.580645 | 0.680414 | 0.072045 | 0 | 0.366972 | 0 | 0.009174 | 0.056262 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 0 | null | null | 0.009174 | 0.036697 | null | null | 0.12844 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f3cd242daceaf22c1da4707d844a7564b1c6d5c1 | 66 | py | Python | test.py | insertinterestingnamehere/cython_overload_except | 00d76ad8020fcb21948545de8161da65f7f4acd8 | [
"BSD-2-Clause"
] | null | null | null | test.py | insertinterestingnamehere/cython_overload_except | 00d76ad8020fcb21948545de8161da65f7f4acd8 | [
"BSD-2-Clause"
] | null | null | null | test.py | insertinterestingnamehere/cython_overload_except | 00d76ad8020fcb21948545de8161da65f7f4acd8 | [
"BSD-2-Clause"
] | null | null | null | import pyadd as pa
print "running test"
pa.test()
print "passed!"
| 13.2 | 20 | 0.727273 | 11 | 66 | 4.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 66 | 4 | 21 | 16.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.287879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0.25 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 5 |
ed94af084e037eae274541880d7fd4eaccace6d8 | 21 | py | Python | detection/models/__init__.py | DoomsdayT/Raspberry-Pi-Fall-Detection | ca1216e1e23ccf3484ea8365fac0b10e5bc8eb2a | [
"MIT"
] | 1 | 2020-09-08T08:08:56.000Z | 2020-09-08T08:08:56.000Z | detection/models/__init__.py | DoomsdayT/Raspberry-Pi-Fall-Detection | ca1216e1e23ccf3484ea8365fac0b10e5bc8eb2a | [
"MIT"
] | null | null | null | detection/models/__init__.py | DoomsdayT/Raspberry-Pi-Fall-Detection | ca1216e1e23ccf3484ea8365fac0b10e5bc8eb2a | [
"MIT"
] | 1 | 2022-01-24T06:03:54.000Z | 2022-01-24T06:03:54.000Z | from . import expert
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
edb57933d6da6c82d084bb9cc110fbefc034a51c | 2,113 | py | Python | test_query.py | kosugi/alfred.y-transit | 62d6eacef9dbe1dbfeeda56aa0ebadbd4d261460 | [
"BSD-2-Clause"
] | 2 | 2015-10-13T22:19:28.000Z | 2016-08-16T05:33:00.000Z | test_query.py | kosugi/alfred.y-transit | 62d6eacef9dbe1dbfeeda56aa0ebadbd4d261460 | [
"BSD-2-Clause"
] | null | null | null | test_query.py | kosugi/alfred.y-transit | 62d6eacef9dbe1dbfeeda56aa0ebadbd4d261460 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
import re
from query import *
def squeeze(value):
value = value.replace('\r', '')
value = value.replace('\n', '')
return value
class QueryTestCase(unittest.TestCase):
def test_parse_names(self):
self.assertEqual(None, parse_names(u''))
self.ass... | 43.122449 | 210 | 0.58637 | 330 | 2,113 | 3.666667 | 0.190909 | 0.041322 | 0.172727 | 0.138843 | 0.743802 | 0.742975 | 0.717355 | 0.678512 | 0.666116 | 0.666116 | 0 | 0.004086 | 0.189304 | 2,113 | 48 | 211 | 44.020833 | 0.701693 | 0.009938 | 0 | 0.394737 | 0 | 0.078947 | 0.265072 | 0.109569 | 0 | 0 | 0 | 0 | 0.578947 | 0 | null | null | 0 | 0.078947 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
edc1a87e4f10eaf7cffcc4f3d179b740642df13d | 585 | py | Python | accountsplus/tests/test_admin.py | GhalebKhaled/django-users-plus | 467f6cb528672a1eafc336640d2c7d0f06c378c6 | [
"MIT"
] | 3 | 2016-05-26T13:25:19.000Z | 2020-12-30T07:40:02.000Z | accountsplus/tests/test_admin.py | GhalebKhaled/django-users-plus | 467f6cb528672a1eafc336640d2c7d0f06c378c6 | [
"MIT"
] | 31 | 2016-05-26T13:20:48.000Z | 2021-06-10T19:57:19.000Z | accountsplus/tests/test_admin.py | GhalebKhaled/django-users-plus | 467f6cb528672a1eafc336640d2c7d0f06c378c6 | [
"MIT"
] | 1 | 2018-05-24T13:01:40.000Z | 2018-05-24T13:01:40.000Z | from __future__ import unicode_literals
import django.test
import django.contrib.admin
import logging
from .. import admin
from test_models import (UnitTestCompany, UnitTestUser, UnitTestAuditLogEvent, )
logging.disable(logging.CRITICAL)
@django.contrib.admin.register(UnitTestCompany)
class UnitTestCompanyAdmin(... | 20.892857 | 80 | 0.82735 | 58 | 585 | 8.241379 | 0.431034 | 0.108787 | 0.150628 | 0.16318 | 0.125523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097436 | 585 | 27 | 81 | 21.666667 | 0.905303 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1875 | 0.375 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
edc713e6ea136dc5638a1ccfbdea7741a2100dd6 | 187 | py | Python | gwcs/tests/setup_package.py | cshanahan1/gwcs | de203e5953d648baf359c50d3e6a479bcb97b83b | [
"BSD-3-Clause"
] | null | null | null | gwcs/tests/setup_package.py | cshanahan1/gwcs | de203e5953d648baf359c50d3e6a479bcb97b83b | [
"BSD-3-Clause"
] | null | null | null | gwcs/tests/setup_package.py | cshanahan1/gwcs | de203e5953d648baf359c50d3e6a479bcb97b83b | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
def get_package_data():
return {
_ASTROPY_PACKAGE_NAME_ + '.tests': ['coveragerc', 'data/*.hdr'] # noqa
}
| 26.714286 | 78 | 0.652406 | 24 | 187 | 4.833333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.213904 | 187 | 6 | 79 | 31.166667 | 0.782313 | 0.352941 | 0 | 0 | 0 | 0 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 5 |
edd3adc383a5336977f9cd8a5a463386702c9be3 | 203 | py | Python | content/usage/lst/feedback/reset-feedback.py | Kumortas/osdoc_eyelogic | 5688c1b85135aaa0fcfb37c4889b9c3dd82d7821 | [
"CC-BY-3.0"
] | null | null | null | content/usage/lst/feedback/reset-feedback.py | Kumortas/osdoc_eyelogic | 5688c1b85135aaa0fcfb37c4889b9c3dd82d7821 | [
"CC-BY-3.0"
] | null | null | null | content/usage/lst/feedback/reset-feedback.py | Kumortas/osdoc_eyelogic | 5688c1b85135aaa0fcfb37c4889b9c3dd82d7821 | [
"CC-BY-3.0"
] | null | null | null | exp.set('total_responses', 0)
exp.set('total_correct', 0)
exp.set('total_response_time', 0)
exp.set('average_response_time', 'NA')
exp.set('avg_rt', 'NA')
exp.set('accuracy', 'NA')
exp.set('acc', 'NA')
| 22.555556 | 38 | 0.679803 | 35 | 203 | 3.742857 | 0.4 | 0.320611 | 0.251908 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015957 | 0.073892 | 203 | 8 | 39 | 25.375 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0.460396 | 0.10396 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
edd69b1a90da038c91ea71a633b13eca4b101cd7 | 142 | py | Python | edera/storages/__init__.py | thoughteer/edera | c4ddb5d8a25906c3bd773c91afb3260fc0b704f2 | [
"MIT"
] | 3 | 2018-11-27T15:45:19.000Z | 2018-12-21T20:32:10.000Z | edera/storages/__init__.py | thoughteer/edera | c4ddb5d8a25906c3bd773c91afb3260fc0b704f2 | [
"MIT"
] | 18 | 2018-12-02T18:38:59.000Z | 2020-02-05T22:09:37.000Z | edera/storages/__init__.py | thoughteer/edera | c4ddb5d8a25906c3bd773c91afb3260fc0b704f2 | [
"MIT"
] | null | null | null | from .embedded import EmbeddedStorage
from .inmemory import InMemoryStorage
from .mongo import MongoStorage
from .sqlite import SQLiteStorage
| 28.4 | 37 | 0.859155 | 16 | 142 | 7.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 4 | 38 | 35.5 | 0.968254 | 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 | 1 | 0 | 0 | 5 |
edfcddda3ea05037bf1033582ae547265a688780 | 188 | py | Python | tests/__init__.py | benlachman/marshmallow-mongoengine | 72787fdb5e9d598821df614c676642842ec44b0d | [
"MIT"
] | 77 | 2017-01-11T11:30:43.000Z | 2022-03-17T19:57:03.000Z | tests/__init__.py | benlachman/marshmallow-mongoengine | 72787fdb5e9d598821df614c676642842ec44b0d | [
"MIT"
] | 13 | 2017-02-03T06:42:40.000Z | 2021-07-07T17:09:37.000Z | tests/__init__.py | benlachman/marshmallow-mongoengine | 72787fdb5e9d598821df614c676642842ec44b0d | [
"MIT"
] | 31 | 2017-02-03T06:18:55.000Z | 2022-03-26T09:30:36.000Z |
def exception_test(assert_check_fn):
try:
def exception_wrapper(*arg, **kwarg):
assert_check_fn(*arg, **kwarg)
except Exception as e:
pytest.failed(e) | 23.5 | 45 | 0.62234 | 24 | 188 | 4.625 | 0.625 | 0.216216 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265957 | 188 | 8 | 46 | 23.5 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b61ff905ef96f1da25a74ccd8401c4192ef5cd5b | 290 | py | Python | api/admin.py | EstherWaweru/JuniorDeveloperTest | 351c3f31a26dde86f650e674b8e7d79bde985e2d | [
"MIT"
] | 1 | 2021-01-31T07:11:25.000Z | 2021-01-31T07:11:25.000Z | api/admin.py | EstherWaweru/JuniorDeveloperTest | 351c3f31a26dde86f650e674b8e7d79bde985e2d | [
"MIT"
] | null | null | null | api/admin.py | EstherWaweru/JuniorDeveloperTest | 351c3f31a26dde86f650e674b8e7d79bde985e2d | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from django.contrib.auth.admin import UserAdmin
# Register your models here.
from api.models import CustomUser,Company
class UserModel(UserAdmin):
pass
admin.site.register(CustomUser,UserModel)
admin.site.register(Company)
| 26.363636 | 47 | 0.813793 | 39 | 290 | 6.051282 | 0.461538 | 0.084746 | 0.144068 | 0.186441 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 290 | 10 | 48 | 29 | 0.914729 | 0.182759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
b65163308efaba4b8a2fdb15bae5e4d1caf0c914 | 55 | py | Python | 01-values-and-types.py | leogithubid/python3-programming | cec559040f80e559000378489eb0ef7a8c8b61fa | [
"MIT"
] | null | null | null | 01-values-and-types.py | leogithubid/python3-programming | cec559040f80e559000378489eb0ef7a8c8b61fa | [
"MIT"
] | null | null | null | 01-values-and-types.py | leogithubid/python3-programming | cec559040f80e559000378489eb0ef7a8c8b61fa | [
"MIT"
] | null | null | null | print('hello world')
print(type(100))
print(type(3.14)) | 18.333333 | 20 | 0.709091 | 10 | 55 | 3.9 | 0.7 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.054545 | 55 | 3 | 21 | 18.333333 | 0.634615 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
b67d0855a8e02deaf2a8667f3239a5f520bd4458 | 90 | py | Python | Monke/__init__.py | Duck-sri/Monke | 7539929496d4ddb134f5d449e9d090c271457113 | [
"MIT"
] | null | null | null | Monke/__init__.py | Duck-sri/Monke | 7539929496d4ddb134f5d449e9d090c271457113 | [
"MIT"
] | 1 | 2021-11-08T04:56:05.000Z | 2021-11-08T04:56:05.000Z | Monke/__init__.py | Duck-sri/Monke | 7539929496d4ddb134f5d449e9d090c271457113 | [
"MIT"
] | null | null | null | from .block import Block
from .transaction import Transaction
from .account import Account | 30 | 36 | 0.844444 | 12 | 90 | 6.333333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 90 | 3 | 37 | 30 | 0.962025 | 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 | 1 | 0 | 0 | 5 |
b68d51d8887f49f000ef91611f35d1225cb82b19 | 43 | py | Python | array/fourSum.py | ZeddShi/alg-py | f491dbf92bf7ddf0ac159d1ccfa1f716e458699f | [
"MIT"
] | null | null | null | array/fourSum.py | ZeddShi/alg-py | f491dbf92bf7ddf0ac159d1ccfa1f716e458699f | [
"MIT"
] | null | null | null | array/fourSum.py | ZeddShi/alg-py | f491dbf92bf7ddf0ac159d1ccfa1f716e458699f | [
"MIT"
] | null | null | null | # 四数之和
def fourSum(nums, target):
pass | 10.75 | 26 | 0.651163 | 6 | 43 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 43 | 4 | 27 | 10.75 | 0.848485 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b6a41c2e1b6a583c2000ea9bbd29c7b7001a79b0 | 148,811 | py | Python | suncasa/suncasatasks/ptclean6.py | wyq24/suncasa | e6ed6d8b9bd2186c4af6d0354d03af5fff9aef7a | [
"BSD-2-Clause"
] | 2 | 2018-02-12T09:34:23.000Z | 2019-07-16T18:25:12.000Z | suncasa/suncasatasks/ptclean6.py | wulinhui1/suncasa-src | 1f94aaabaf6a3911fa532648ec6676a221553436 | [
"BSD-2-Clause"
] | 26 | 2016-11-09T17:11:45.000Z | 2021-08-20T13:41:50.000Z | suncasa/suncasatasks/ptclean6.py | wulinhui1/suncasa-src | 1f94aaabaf6a3911fa532648ec6676a221553436 | [
"BSD-2-Clause"
] | 17 | 2016-10-27T18:35:46.000Z | 2021-08-03T05:33:57.000Z | ##################### generated by xml-casa (v2) from ptclean6.xml ##################
##################### 6a89d05724a14fedd7b8ceb75d841936 ##############################
from __future__ import absolute_import
import numpy
from casatools.typecheck import CasaValidator as _val_ctor
_pc = _val_ctor( )
from casatools.coe... | 88.053846 | 4,828 | 0.493774 | 14,720 | 148,811 | 4.954959 | 0.135666 | 0.027421 | 0.019195 | 0.009323 | 0.141163 | 0.118842 | 0.088624 | 0.075243 | 0.064631 | 0.054006 | 0 | 0.017111 | 0.445088 | 148,811 | 1,689 | 4,829 | 88.10598 | 0.866125 | 0.822923 | 0 | 0 | 1 | 0 | 0.345961 | 0.002127 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.052632 | false | 0 | 0.368421 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fcb7a2f5a8239727ba1c609b61067df5c6acae03 | 201 | py | Python | SimCalorimetry/EcalSelectiveReadoutProducers/python/ecalDigis_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | SimCalorimetry/EcalSelectiveReadoutProducers/python/ecalDigis_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | SimCalorimetry/EcalSelectiveReadoutProducers/python/ecalDigis_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# Define EcalSelectiveReadoutProducer module as "simEcalDigis" with default settings
from SimCalorimetry.EcalSelectiveReadoutProducers.ecalDigis_cfi import *
| 40.2 | 85 | 0.865672 | 20 | 201 | 8.65 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094527 | 201 | 4 | 86 | 50.25 | 0.950549 | 0.40796 | 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 | 1 | 0 | 0 | 5 |
1e26f3ae4b816561d50777eda1291f820556c297 | 198 | py | Python | Darlington/phase1/python Basic 1/day 16 solution/qtn6.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 1/day 16 solution/qtn6.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 1/day 16 solution/qtn6.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to find the location of Python module sources.
import sys
print("\nList of directories in sys module:")
print(sys.path)
print("\nList of directories in os module:")
import os
print(os.path) | 28.285714 | 55 | 0.767677 | 33 | 198 | 4.606061 | 0.515152 | 0.131579 | 0.157895 | 0.302632 | 0.328947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 198 | 7 | 56 | 28.285714 | 0.883721 | 0.272727 | 0 | 0 | 0 | 0 | 0.493056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
1e33c5a421e868d7a2be981bc1e0819633898250 | 6,715 | py | Python | anet-video-captioning/model/modules.py | chihyaoma/cyclical-visual-captioning | 337eee17a8789e58d7bf687ad9ecf27c8da44f14 | [
"MIT"
] | 43 | 2020-05-14T21:25:23.000Z | 2022-03-24T06:17:19.000Z | anet-video-captioning/model/modules.py | chihyaoma/cyclical-visual-captioning | 337eee17a8789e58d7bf687ad9ecf27c8da44f14 | [
"MIT"
] | 3 | 2020-06-09T16:07:17.000Z | 2020-11-18T07:11:47.000Z | anet-video-captioning/model/modules.py | chihyaoma/cyclical-visual-captioning | 337eee17a8789e58d7bf687ad9ecf27c8da44f14 | [
"MIT"
] | 3 | 2020-06-02T21:31:40.000Z | 2021-09-16T02:37:32.000Z |
import torch
import torch.nn as nn
import torch.nn.functional as F
class SoftAttention(nn.Module):
"""
Soft Attention module
"""
def __init__(self, rnn_hidden_size, attn_hidden_size, temp=1):
super(SoftAttention, self).__init__()
self.softmax = nn.Softmax(dim=1)
self.h2attn ... | 37.937853 | 111 | 0.610127 | 918 | 6,715 | 4.293028 | 0.176471 | 0.021314 | 0.043136 | 0.036539 | 0.796498 | 0.78102 | 0.78102 | 0.78102 | 0.78102 | 0.763766 | 0 | 0.010211 | 0.31452 | 6,715 | 176 | 112 | 38.153409 | 0.84597 | 0.32271 | 0 | 0.695652 | 0 | 0 | 0.002729 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 1 | 0.054348 | false | 0 | 0.032609 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
1e46eb8e3ba2d18143073b54d12710fbb6774894 | 204 | py | Python | rex/rechunk_h5/__init__.py | psusmars/rex | 1891e1e41f899e5f479545ff8d8e9fc76a1929e6 | [
"BSD-3-Clause"
] | 8 | 2020-11-18T19:42:55.000Z | 2022-01-12T04:24:05.000Z | rex/rechunk_h5/__init__.py | psusmars/rex | 1891e1e41f899e5f479545ff8d8e9fc76a1929e6 | [
"BSD-3-Clause"
] | 57 | 2020-05-01T14:33:34.000Z | 2022-02-18T17:52:49.000Z | rex/rechunk_h5/__init__.py | psusmars/rex | 1891e1e41f899e5f479545ff8d8e9fc76a1929e6 | [
"BSD-3-Clause"
] | 4 | 2020-08-20T16:46:15.000Z | 2022-02-22T19:46:23.000Z | # -*- coding: utf-8 -*-
"""
.h5 rechunking tool
"""
from .chunk_size import ArrayChunkSize, TimeseriesChunkSize
from .combine_h5 import CombineH5
from .rechunk_h5 import RechunkH5, get_dataset_attributes
| 25.5 | 59 | 0.779412 | 25 | 204 | 6.16 | 0.76 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 204 | 7 | 60 | 29.142857 | 0.822222 | 0.205882 | 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 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.