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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f1d1addb3261496ec9ac0fe6ad79662c3fdb111e | 41 | py | Python | PokerRL/game/_/tree/__init__.py | MAWUT0R/PokerRL | 95708a5f7a16cb151bc4253132bdfd22ea7a9b25 | [
"MIT"
] | 1 | 2022-02-28T11:51:44.000Z | 2022-02-28T11:51:44.000Z | PokerRL/game/_/tree/__init__.py | MAWUT0R/PokerRL | 95708a5f7a16cb151bc4253132bdfd22ea7a9b25 | [
"MIT"
] | null | null | null | PokerRL/game/_/tree/__init__.py | MAWUT0R/PokerRL | 95708a5f7a16cb151bc4253132bdfd22ea7a9b25 | [
"MIT"
] | 1 | 2022-03-05T10:10:24.000Z | 2022-03-05T10:10:24.000Z | __all__ = ['PublicTree', 'VRPublicTree']
| 20.5 | 40 | 0.707317 | 3 | 41 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f1d4ce80fe6868a7595ce3ae47f0a3bc734f5876 | 241 | py | Python | lang/Python/simulate-input-mouse-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:38.000Z | 2018-11-09T22:08:38.000Z | lang/Python/simulate-input-mouse-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/simulate-input-mouse-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | import ctypes
def click():
ctypes.windll.user32.mouse_event(0x2, 0,0,0,0) # Mouse LClick Down, relative coords, dx=0, dy=0
ctypes.windll.user32.mouse_event(0x4, 0,0,0,0) # Mouse LClick Up, relative coords, dx=0, dy=0
click()
| 30.125 | 102 | 0.684647 | 43 | 241 | 3.790698 | 0.418605 | 0.07362 | 0.07362 | 0.282209 | 0.773006 | 0.429448 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.170124 | 241 | 7 | 103 | 34.428571 | 0.715 | 0.377593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7b00d4d7f399450ab508eb874e72a15bbd724329 | 767 | py | Python | ex4_variable.py | Jason-Ou/Python-Learn | 3117614ef6a2441804c71aff4d390d7f71c5cbee | [
"MIT"
] | null | null | null | ex4_variable.py | Jason-Ou/Python-Learn | 3117614ef6a2441804c71aff4d390d7f71c5cbee | [
"MIT"
] | null | null | null | ex4_variable.py | Jason-Ou/Python-Learn | 3117614ef6a2441804c71aff4d390d7f71c5cbee | [
"MIT"
] | null | null | null | #There are 100 cars.
cars = 100
#There are 4 space each car.
space_in_a_car = 4
#there are 30 drivers.
drivers = 30
#There are 90 passengers.
passengers = 90
#There are 70 cars empty.
cars_not_driven = cars - drivers
#There are 30 cars could be drivern.
cars_driven = drivers
#So 120 seats here.
carpool_capacity = cars_... | 31.958333 | 72 | 0.760104 | 126 | 767 | 4.460317 | 0.357143 | 0.113879 | 0.064057 | 0.039146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03681 | 0.149935 | 767 | 23 | 73 | 33.347826 | 0.825153 | 0.258149 | 0 | 0 | 0 | 0 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.285714 | 0 | null | null | 0.428571 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
7b09a73323e79451fcbc08627c4af8526897e430 | 717 | py | Python | places/migrations/0009_auto_20200826_1430.py | Sam1808/where-to-go | 96eba9d52a33215c40ac2886461d657fc0b22aad | [
"MIT"
] | 1 | 2020-10-14T20:12:23.000Z | 2020-10-14T20:12:23.000Z | places/migrations/0009_auto_20200826_1430.py | Sam1808/where-to-go | 96eba9d52a33215c40ac2886461d657fc0b22aad | [
"MIT"
] | 6 | 2021-03-30T13:38:05.000Z | 2022-01-13T02:58:32.000Z | places/migrations/0009_auto_20200826_1430.py | Sam1808/where-to-go | 96eba9d52a33215c40ac2886461d657fc0b22aad | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-08-26 14:30
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('places', '0008_auto_20200826_1417'),
]
operations = [
migrations.RenameField(
model_name='image',
old_name='description_shor... | 24.724138 | 47 | 0.585774 | 70 | 717 | 5.7 | 0.5 | 0.157895 | 0.195489 | 0.225564 | 0.451128 | 0.451128 | 0.451128 | 0.320802 | 0.320802 | 0 | 0 | 0.06288 | 0.312413 | 717 | 28 | 48 | 25.607143 | 0.74645 | 0.062762 | 0 | 0.454545 | 1 | 0 | 0.241791 | 0.135821 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7b11dc37208bd29cc14786e28524b836ab1d6cc8 | 166 | py | Python | vacancy/urls.py | kerbrek/hyperskill-hyperjob | abf25a04a1968b7884256da589dde2ee2dd7f44f | [
"MIT"
] | null | null | null | vacancy/urls.py | kerbrek/hyperskill-hyperjob | abf25a04a1968b7884256da589dde2ee2dd7f44f | [
"MIT"
] | null | null | null | vacancy/urls.py | kerbrek/hyperskill-hyperjob | abf25a04a1968b7884256da589dde2ee2dd7f44f | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.VacancyListView.as_view()),
path('new', views.NewVacancyView.as_view()),
]
| 16.6 | 48 | 0.686747 | 20 | 166 | 5.6 | 0.6 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162651 | 166 | 9 | 49 | 18.444444 | 0.805755 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7b1702ad3ca07c46f62cac70da1ee45d9d516108 | 47 | py | Python | tests/ut_repytests_global.py | SeattleTestbed/repy_v1 | f40a02e2e398b1ec67fede84b41a264ae7356d2c | [
"MIT"
] | 1 | 2021-08-18T05:58:17.000Z | 2021-08-18T05:58:17.000Z | tests/ut_repytests_global.py | SeattleTestbed/repy_v1 | f40a02e2e398b1ec67fede84b41a264ae7356d2c | [
"MIT"
] | 3 | 2015-11-17T21:01:03.000Z | 2016-07-14T09:08:04.000Z | tests/ut_repytests_global.py | SeattleTestbed/repy_v1 | f40a02e2e398b1ec67fede84b41a264ae7356d2c | [
"MIT"
] | 5 | 2015-07-02T13:29:23.000Z | 2021-09-25T07:48:30.000Z | #pragma error
#pragma repy
global foo
foo = 2
| 7.833333 | 13 | 0.723404 | 8 | 47 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.212766 | 47 | 5 | 14 | 9.4 | 0.891892 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7b312d94ab86161db57482b7e1464e086510348d | 50,257 | py | Python | pmutt/statmech/__init__.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 28 | 2018-10-29T17:44:30.000Z | 2022-03-23T14:20:16.000Z | pmutt/statmech/__init__.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 101 | 2018-10-18T19:49:30.000Z | 2022-01-19T10:59:57.000Z | pmutt/statmech/__init__.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 16 | 2018-12-15T17:01:21.000Z | 2022-01-03T17:42:23.000Z | # -*- coding: utf-8 -*-
"""
pmutt.statmech
Vlachos group code for thermodynamic models.
Created on Fri Jul 7 12:40:00 2018
"""
import inspect
from copy import copy
import numpy as np
from pmutt import (_apply_numpy_operation, _get_mode_quantity, _get_R_adj,
_get_specie_kwargs, _is_iterable, _ModelB... | 40.173461 | 100 | 0.520226 | 5,280 | 50,257 | 4.817803 | 0.064015 | 0.040884 | 0.028068 | 0.014152 | 0.760319 | 0.73685 | 0.713617 | 0.691171 | 0.670886 | 0.659486 | 0 | 0.004186 | 0.405854 | 50,257 | 1,250 | 101 | 40.2056 | 0.847723 | 0.494856 | 0 | 0.548193 | 0 | 0 | 0.039577 | 0 | 0 | 0 | 0 | 0.0008 | 0 | 1 | 0.078313 | false | 0.006024 | 0.018072 | 0.016064 | 0.174699 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9e52d3881ccac75a8a4b5bd9def1c82a12ccdda1 | 75 | py | Python | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/E/electron volt-atomic mass unit relationship.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/E/electron volt-atomic mass unit relationship.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/E/electron volt-atomic mass unit relationship.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | constants.physical_constants["electron volt-atomic mass unit relationship"] | 75 | 75 | 0.866667 | 9 | 75 | 7.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 75 | 1 | 75 | 75 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0.565789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9e7433e3a5c194efdef682172433f27f1b533fd3 | 3,030 | py | Python | wallthick/api5l.py | benjani8/wallthick | 9e0f2d825865cafb28ece644372a8af284d72dc1 | [
"BSD-2-Clause"
] | 1 | 2021-07-04T00:57:38.000Z | 2021-07-04T00:57:38.000Z | wallthick/api5l.py | benjani8/wallthick | 9e0f2d825865cafb28ece644372a8af284d72dc1 | [
"BSD-2-Clause"
] | 14 | 2018-02-15T00:12:11.000Z | 2018-05-31T21:35:09.000Z | wallthick/api5l.py | benjani8/wallthick | 9e0f2d825865cafb28ece644372a8af284d72dc1 | [
"BSD-2-Clause"
] | null | null | null | """
API 5L
Add dictionary of API pipe sizes
"""
sizes = {406.4: [4.8, 5.2, 5.6, 6.4, 7.1, 7.9, 8.7, 9.5, 10.3, 11.1, 11.9,
12.7, 14.3, 15.9, 17.5, 19.1, 20.6, 22.2, 23.8, 25.4, 27,
28.6, 30.2, 31.8],
457: [4.8, 5.6, 6.4, 7.1, 7.9, 8.7, 9.5, 10.3, 11.1, 11.9, 12.7,
... | 45.909091 | 80 | 0.441584 | 705 | 3,030 | 1.875177 | 0.144681 | 0.034796 | 0.029501 | 0.036309 | 0.505295 | 0.493949 | 0.488654 | 0.481089 | 0.456127 | 0.447806 | 0 | 0.387177 | 0.335974 | 3,030 | 65 | 81 | 46.615385 | 0.269881 | 0.114851 | 0 | 0.195652 | 0 | 0 | 0.040093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0 | 0 | 0.043478 | 0.043478 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9e88c744f8e8a6747735dd3989be11e76e29e20d | 347 | py | Python | avenue/__init__.py | planetceres/avenue | ed1369dd759f9ec389d240f624c36e3607583219 | [
"MIT"
] | 11 | 2019-11-13T00:05:07.000Z | 2021-04-28T20:45:27.000Z | avenue/__init__.py | planetceres/avenue | ed1369dd759f9ec389d240f624c36e3607583219 | [
"MIT"
] | null | null | null | avenue/__init__.py | planetceres/avenue | ed1369dd759f9ec389d240f624c36e3607583219 | [
"MIT"
] | 1 | 2021-03-01T09:19:32.000Z | 2021-03-01T09:19:32.000Z | from . import envs
from . import wrappers
def make(env_name, **kwargs):
env = getattr(envs, env_name.replace("-", "_"))(**kwargs)
return env
def download(env_name):
env_cls = getattr(envs, env_name.replace("-", "_")) # this will only work for a subset of the envs specified via classes
re... | 26.692308 | 126 | 0.657061 | 49 | 347 | 4.469388 | 0.571429 | 0.127854 | 0.127854 | 0.164384 | 0.228311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213256 | 347 | 12 | 127 | 28.916667 | 0.802198 | 0.190202 | 0 | 0 | 0 | 0 | 0.014981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9e9683b1392559258bff25ffeff8b6dbf43eb9ee | 669 | py | Python | src/discussion/migrations/0019_auto_20200213_2326.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 18 | 2021-05-20T13:20:16.000Z | 2022-02-11T02:40:18.000Z | src/discussion/migrations/0019_auto_20200213_2326.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 109 | 2021-05-21T20:14:23.000Z | 2022-03-31T20:56:10.000Z | src/discussion/migrations/0019_auto_20200213_2326.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 4 | 2021-05-17T13:47:53.000Z | 2022-02-12T10:48:21.000Z | # Generated by Django 2.2.9 on 2020-02-13 23:26
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('discussion', '0018_auto_20200213_2311'),
]
operations = [
migrations.RenameField(
model_name='comment',
old_name='is_censore... | 23.068966 | 50 | 0.556054 | 67 | 669 | 5.283582 | 0.522388 | 0.101695 | 0.220339 | 0.254237 | 0.449153 | 0.449153 | 0.449153 | 0.449153 | 0.355932 | 0.355932 | 0 | 0.069663 | 0.334828 | 669 | 28 | 51 | 23.892857 | 0.725843 | 0.067265 | 0 | 0.545455 | 1 | 0 | 0.18328 | 0.036977 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9ea4a11e4cd7707024b62bf83d8ec0ce0002176e | 186 | py | Python | singleton.py | KiraOldeen/ralph | 703567c287469bbe54951b1599c1c683a88c358a | [
"MIT"
] | 1 | 2021-12-18T11:58:17.000Z | 2021-12-18T11:58:17.000Z | singleton.py | KiraOldeen/ralph | 703567c287469bbe54951b1599c1c683a88c358a | [
"MIT"
] | null | null | null | singleton.py | KiraOldeen/ralph | 703567c287469bbe54951b1599c1c683a88c358a | [
"MIT"
] | null | null | null | class SingletonMeta(type):
_instance = None
def __call__(self):
if self._instance is None:
self._instance = super().__call__()
return self._instance
| 23.25 | 47 | 0.623656 | 20 | 186 | 5.2 | 0.6 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284946 | 186 | 7 | 48 | 26.571429 | 0.781955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9eafa619f3a9883350f911ea93a787675a2fdf4d | 1,471 | py | Python | datasets.py | petrochenko-pavel-a/quora_rs | dfaf59213152795c01f54423cdb6568472df83a6 | [
"Apache-2.0"
] | null | null | null | datasets.py | petrochenko-pavel-a/quora_rs | dfaf59213152795c01f54423cdb6568472df83a6 | [
"Apache-2.0"
] | null | null | null | datasets.py | petrochenko-pavel-a/quora_rs | dfaf59213152795c01f54423cdb6568472df83a6 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
from sklearn.model_selection import StratifiedKFold,KFold,train_test_split
class SimpleCsvDataSet:
def __init__(self,dataframe,textColumn,targetColumn):
if isinstance(dataframe,str):
dataframe=pd.read_csv(dataframe)
self.text=dataframe[textColumn].values
s... | 27.754717 | 109 | 0.680489 | 183 | 1,471 | 5.26776 | 0.31694 | 0.06639 | 0.058091 | 0.041494 | 0.529046 | 0.40249 | 0.365145 | 0.365145 | 0.365145 | 0.284232 | 0 | 0.003454 | 0.21278 | 1,471 | 53 | 110 | 27.754717 | 0.829016 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.305556 | false | 0 | 0.055556 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9eb4a4176379471bb9d2efd28015a4e146390437 | 119 | py | Python | bpl/__init__.py | anguswilliams91/bpl-next | 2676f4636d78a15acd0c7418e9c21a62322bc1f7 | [
"MIT"
] | null | null | null | bpl/__init__.py | anguswilliams91/bpl-next | 2676f4636d78a15acd0c7418e9c21a62322bc1f7 | [
"MIT"
] | 3 | 2021-03-28T16:52:00.000Z | 2021-08-06T20:03:13.000Z | bpl/__init__.py | anguswilliams91/bpl-next | 2676f4636d78a15acd0c7418e9c21a62322bc1f7 | [
"MIT"
] | null | null | null | # pylint: disable=missing-module-docstring
__version__ = "0.1.0"
from bpl.dixon_coles import DixonColesMatchPredictor
| 23.8 | 52 | 0.815126 | 15 | 119 | 6.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.092437 | 119 | 4 | 53 | 29.75 | 0.824074 | 0.336134 | 0 | 0 | 0 | 0 | 0.064935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7b531396748a2e2bcaead502f5cce16a7e7559b1 | 1,308 | py | Python | pagarmeapisdk/http/auth/basic_auth.py | pagarme/pagarme-python-sdk | 5a709ce54d46fc7326f73242700602c1c5a6bd26 | [
"MIT"
] | null | null | null | pagarmeapisdk/http/auth/basic_auth.py | pagarme/pagarme-python-sdk | 5a709ce54d46fc7326f73242700602c1c5a6bd26 | [
"MIT"
] | null | null | null | pagarmeapisdk/http/auth/basic_auth.py | pagarme/pagarme-python-sdk | 5a709ce54d46fc7326f73242700602c1c5a6bd26 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
pagarmeapisdk
This file was automatically generated by APIMATIC v3.0 (
https://www.apimatic.io ).
"""
import base64
class BasicAuth:
def __init__(self, basic_auth_user_name, basic_auth_password):
self._basic_auth_user_name = basic_auth_user_name
sel... | 30.418605 | 87 | 0.652141 | 150 | 1,308 | 5.36 | 0.493333 | 0.134328 | 0.113184 | 0.126866 | 0.126866 | 0.074627 | 0.074627 | 0 | 0 | 0 | 0 | 0.014493 | 0.261468 | 1,308 | 43 | 87 | 30.418605 | 0.817805 | 0.265291 | 0 | 0 | 1 | 0 | 0.124853 | 0.024735 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0.352941 | 0.058824 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7b5953dd44850cc0e2cd54a4fe0765c1b46a6206 | 224 | py | Python | ThreeBotPackages/unlock_service/models/models.py | threefoldfoundation/tft-stellar | b36460e8dba547923778273b53fe4f0e06996db0 | [
"Apache-2.0"
] | 7 | 2020-02-05T16:10:46.000Z | 2021-04-28T10:39:20.000Z | ThreeBotPackages/unlock_service/models/models.py | threefoldfoundation/tft-stellar | b36460e8dba547923778273b53fe4f0e06996db0 | [
"Apache-2.0"
] | 379 | 2020-01-13T10:22:21.000Z | 2022-03-23T08:59:57.000Z | ThreeBotPackages/unlock_service/models/models.py | threefoldfoundation/tft-stellar | b36460e8dba547923778273b53fe4f0e06996db0 | [
"Apache-2.0"
] | 3 | 2020-01-24T09:56:44.000Z | 2020-08-03T21:02:38.000Z | import ipaddress
from datetime import datetime
from enum import Enum
from jumpscale.core.base import Base, fields
class UnlockhashTransaction(Base):
unlockhash = fields.String()
transaction_xdr = fields.String()
| 18.666667 | 44 | 0.78125 | 27 | 224 | 6.444444 | 0.555556 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 224 | 11 | 45 | 20.363636 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7b761c2bccaf4e59773ca9181c75e9f027c2bb09 | 153 | py | Python | twiml/message/your-response/your-response-3/your-response-3.6.x.py | Tshisuaka/api-snippets | 52b50037d4af0f3b96adf76197964725a1501e96 | [
"MIT"
] | 234 | 2016-01-27T03:04:38.000Z | 2022-02-25T20:13:43.000Z | twiml/message/your-response/your-response-3/your-response-3.6.x.py | Tshisuaka/api-snippets | 52b50037d4af0f3b96adf76197964725a1501e96 | [
"MIT"
] | 351 | 2016-04-06T16:55:33.000Z | 2022-03-10T18:42:36.000Z | twiml/message/your-response/your-response-3/your-response-3.6.x.py | Tshisuaka/api-snippets | 52b50037d4af0f3b96adf76197964725a1501e96 | [
"MIT"
] | 494 | 2016-03-30T15:28:20.000Z | 2022-03-28T19:39:36.000Z | from twilio.twiml.messaging_response import Message, MessagingResponse
response = MessagingResponse()
response.message('I\'m hungry!')
print(response)
| 21.857143 | 70 | 0.810458 | 17 | 153 | 7.235294 | 0.705882 | 0.406504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084967 | 153 | 6 | 71 | 25.5 | 0.878571 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7b9a965804bc0c143ea8ecfadbed7dcc7e589fb2 | 2,064 | py | Python | model.py | qarchli/pytorch-gan-for-outlier-detection | 8b16e2825a0aeb1af07df30f06fd7e28e39df911 | [
"MIT"
] | 2 | 2021-03-04T02:42:49.000Z | 2022-01-04T12:31:44.000Z | model.py | qarchli/pytorch-gan-for-outlier-detection | 8b16e2825a0aeb1af07df30f06fd7e28e39df911 | [
"MIT"
] | null | null | null | model.py | qarchli/pytorch-gan-for-outlier-detection | 8b16e2825a0aeb1af07df30f06fd7e28e39df911 | [
"MIT"
] | 1 | 2020-07-10T01:24:09.000Z | 2020-07-10T01:24:09.000Z | import math
import torch
import torch.nn as nn
# Generator
class Generator(nn.Module):
def __init__(self, latent_size):
super().__init__()
self.model = nn.Sequential(
nn.Linear(latent_size, latent_size),
nn.ReLU(),
nn.Linear(latent_size, latent_size),
... | 29.070423 | 69 | 0.606105 | 264 | 2,064 | 4.484848 | 0.234848 | 0.087838 | 0.086149 | 0.067568 | 0.83277 | 0.820946 | 0.699324 | 0.653716 | 0.611486 | 0.540541 | 0 | 0.003974 | 0.268411 | 2,064 | 70 | 70 | 29.485714 | 0.780132 | 0.074128 | 0 | 0.530612 | 0 | 0 | 0.040966 | 0.011555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204082 | false | 0 | 0.061224 | 0.040816 | 0.346939 | 0.040816 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c8b8de3a38e2c435758b1dd0a8a61ae286c9cff0 | 799 | py | Python | stores/apps/auctions/feeds.py | diassor/CollectorCity-Market-Place | 892ad220b8cf1c0fc7433f625213fe61729522b2 | [
"Apache-2.0"
] | 135 | 2015-03-19T13:28:18.000Z | 2022-03-27T06:41:42.000Z | stores/apps/auctions/feeds.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | null | null | null | stores/apps/auctions/feeds.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | 83 | 2015-01-30T01:00:15.000Z | 2022-03-08T17:25:10.000Z | from django.contrib.syndication.views import Feed
from auctions.models import AuctionSession
class LatestAuctionsFeed(Feed):
def get_object(self, request):
return request.shop
def title(self, obj):
return "%s last auctions feed" % obj.name
def description(self, obj):
return "... | 26.633333 | 81 | 0.652065 | 105 | 799 | 4.866667 | 0.409524 | 0.054795 | 0.101761 | 0.07045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004894 | 0.232791 | 799 | 29 | 82 | 27.551724 | 0.828711 | 0 | 0 | 0 | 0 | 0 | 0.10401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.421053 | false | 0 | 0.105263 | 0.421053 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c8cb5b33f8dc569b8cb5fa0c0f3a43ff21a6d8e6 | 350 | py | Python | piicatcher/tokenizer.py | dsloet/piicatcher | fa0bcc3aa3ee003ac4e733065ad1c05896a5fd85 | [
"Apache-2.0"
] | null | null | null | piicatcher/tokenizer.py | dsloet/piicatcher | fa0bcc3aa3ee003ac4e733065ad1c05896a5fd85 | [
"Apache-2.0"
] | 1 | 2020-12-18T05:01:38.000Z | 2020-12-18T05:01:38.000Z | piicatcher/tokenizer.py | grofers/piicatcher | 181d008ba0aea4d7101fa83ddc075e9106164106 | [
"Apache-2.0"
] | null | null | null | from spacy.lang.en import English
class Tokenizer:
def __init__(self):
nlp = English()
# Create a Tokenizer with the default settings for English
# including punctuation rules and exceptions
self._tokenizer = nlp.Defaults.create_tokenizer(nlp)
def tokenize(self, data):
... | 26.923077 | 66 | 0.685714 | 42 | 350 | 5.547619 | 0.666667 | 0.111588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245714 | 350 | 12 | 67 | 29.166667 | 0.882576 | 0.282857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
cd9f1d39768144d8c6dce5f9d033c356cd702a92 | 123 | py | Python | instance_selector/__init__.py | myBaze/wagtail-instance-selector | e296925be18e0810f31a65793f16eff119b0038c | [
"MIT"
] | null | null | null | instance_selector/__init__.py | myBaze/wagtail-instance-selector | e296925be18e0810f31a65793f16eff119b0038c | [
"MIT"
] | null | null | null | instance_selector/__init__.py | myBaze/wagtail-instance-selector | e296925be18e0810f31a65793f16eff119b0038c | [
"MIT"
] | null | null | null | import django
__version__ = "2.1.2"
if django.VERSION < (3, 2):
default_app_config = "%s.apps.AppConfig" % __name__
| 15.375 | 55 | 0.674797 | 18 | 123 | 4.055556 | 0.777778 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0.178862 | 123 | 7 | 56 | 17.571429 | 0.673267 | 0 | 0 | 0 | 0 | 0 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cdb1445bbc2b429dd433647c7e648b19b18f82cb | 115 | py | Python | p2p/config.py | dujiajun/Blockchain | 5d8c246f51338f213d032e2effd77473ac41f101 | [
"Unlicense"
] | 1 | 2022-02-16T07:07:13.000Z | 2022-02-16T07:07:13.000Z | p2p/config.py | dujiajun/Blockchain | 5d8c246f51338f213d032e2effd77473ac41f101 | [
"Unlicense"
] | null | null | null | p2p/config.py | dujiajun/Blockchain | 5d8c246f51338f213d032e2effd77473ac41f101 | [
"Unlicense"
] | null | null | null | SEED_PORT = 12345
SEED_ADDR = ('192.168.1.100', 5000)
UPDATE_INTERVAL = 20
BUFFER_SIZE = 102400
ALIVE_TIMEOUT = 20
| 19.166667 | 35 | 0.747826 | 19 | 115 | 4.263158 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292929 | 0.13913 | 115 | 5 | 36 | 23 | 0.525253 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cdc328b8560e9194abaca54ea3ec0b5b25e3fbd5 | 863 | py | Python | certification/tasks/__init__.py | jsanchezgr/django-accredible | 760e5f6d36cbbba958051f5176c318efbf82ae13 | [
"MIT"
] | null | null | null | certification/tasks/__init__.py | jsanchezgr/django-accredible | 760e5f6d36cbbba958051f5176c318efbf82ae13 | [
"MIT"
] | null | null | null | certification/tasks/__init__.py | jsanchezgr/django-accredible | 760e5f6d36cbbba958051f5176c318efbf82ae13 | [
"MIT"
] | null | null | null | from celery import current_app as app
from .create_accredible_group import CreateAccredibleGroupTask # noqa
from .create_accredible_consultant_role_group import CreateAccredibleConsultantRoleGroupTask # noqa
from .create_accredible_simple_credential import CreateAccredibleSimpleCredentialTask # noqa
from .create_ac... | 53.9375 | 100 | 0.87949 | 77 | 863 | 9.636364 | 0.311688 | 0.06469 | 0.12938 | 0.097035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06489 | 863 | 15 | 101 | 57.533333 | 0.919455 | 0.033604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.538462 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
cdcde71b2c08effcffaaa6e653185c152fbc22f2 | 568 | py | Python | demo/buy_sell/forms.py | Gknoblau/hacked-2020-demo | 6d3908ddc297f264e6a0afbf45b8bc5643b5bb6c | [
"Unlicense"
] | null | null | null | demo/buy_sell/forms.py | Gknoblau/hacked-2020-demo | 6d3908ddc297f264e6a0afbf45b8bc5643b5bb6c | [
"Unlicense"
] | 6 | 2020-06-05T20:29:36.000Z | 2021-09-22T18:24:48.000Z | demo/buy_sell/forms.py | Gknoblau/hacked-2020-demo | 6d3908ddc297f264e6a0afbf45b8bc5643b5bb6c | [
"Unlicense"
] | null | null | null | from django import forms
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
from buy_sell.models import Ad, LANGUAGES
class AdForm(forms.Form):
title = forms.CharField(max_length=512)
body = forms.CharField(widget=forms.Textarea)
class SignUpForm(UserCreati... | 23.666667 | 113 | 0.725352 | 67 | 568 | 6.059701 | 0.61194 | 0.073892 | 0.083744 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010593 | 0.169014 | 568 | 23 | 114 | 24.695652 | 0.849576 | 0 | 0 | 0 | 0 | 0 | 0.123239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
cdd1c586b1b92afd00ded4f9a5e2d8df1d50c2cb | 366 | py | Python | days.py | mas250/Python2 | 9cdc8c718a745cac2c78c250691e1fc7962ed19a | [
"MIT"
] | null | null | null | days.py | mas250/Python2 | 9cdc8c718a745cac2c78c250691e1fc7962ed19a | [
"MIT"
] | null | null | null | days.py | mas250/Python2 | 9cdc8c718a745cac2c78c250691e1fc7962ed19a | [
"MIT"
] | null | null | null | #Converts days into weeks
print "This program will promot promot you to enter a whole number of days,"
print "convert it to weeks and days, then outpu the result."
print
totalDays = input ("Type in the numbers of days you wish to convert: ")
weeks = totalDays/7
days = totalDays%7
print
print totalDays, "days is the sa... | 33.272727 | 77 | 0.73224 | 63 | 366 | 4.253968 | 0.571429 | 0.044776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.174863 | 366 | 10 | 78 | 36.6 | 0.880795 | 0.065574 | 0 | 0.25 | 0 | 0 | 0.604106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.625 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
cdd53efaceef072dd19f2454437f57957ef3b730 | 179 | py | Python | app/forms.py | dhasegan/connect.academy | 3eef69edf13b16302cd64169be6e2513d9206ddb | [
"MIT"
] | 1 | 2019-04-05T15:16:42.000Z | 2019-04-05T15:16:42.000Z | app/forms.py | tpllaha/connect.academy | 0575c332803bf697c222c8c30375428175525d4f | [
"MIT"
] | 8 | 2020-02-11T23:23:11.000Z | 2022-03-11T23:15:27.000Z | app/forms.py | tpllaha/connect.academy | 0575c332803bf697c222c8c30375428175525d4f | [
"MIT"
] | null | null | null | from django import forms
class NewSubscriberForm(forms.Form):
name = forms.CharField(max_length=100, required = True)
email = forms.EmailField(max_length=100, required = True) | 29.833333 | 58 | 0.782123 | 24 | 179 | 5.75 | 0.666667 | 0.130435 | 0.173913 | 0.289855 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.117318 | 179 | 6 | 58 | 29.833333 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cdeaabdecce17d8a235f932b06d18697ce6c580a | 8,735 | py | Python | tests/epc_schemes/test_sgln.py | nedap/retail-epcpy | f5a454f2a06053f64bc42e6c6411fbd6cb47e745 | [
"MIT"
] | 2 | 2022-03-21T08:22:30.000Z | 2022-03-22T12:32:29.000Z | tests/epc_schemes/test_sgln.py | nedap/retail-epcpy | f5a454f2a06053f64bc42e6c6411fbd6cb47e745 | [
"MIT"
] | 1 | 2022-03-28T14:48:52.000Z | 2022-03-28T14:48:52.000Z | tests/epc_schemes/test_sgln.py | nedap/retail-epcpy | f5a454f2a06053f64bc42e6c6411fbd6cb47e745 | [
"MIT"
] | null | null | null | import unittest
from epcpy.epc_schemes.sgln import SGLN, SGLNFilterValue
from tests.epc_schemes.test_base_scheme import (
TestEPCSchemeInitMeta,
TestGS1ElementMeta,
TestTagEncodableMeta,
)
class TestSGLNInit(
unittest.TestCase,
metaclass=TestEPCSchemeInitMeta,
scheme=SGLN,
valid_data=[
... | 35.653061 | 85 | 0.548827 | 839 | 8,735 | 5.418355 | 0.11323 | 0.050154 | 0.075231 | 0.072591 | 0.75319 | 0.730752 | 0.648262 | 0.619226 | 0.541575 | 0.397932 | 0 | 0.215169 | 0.314711 | 8,735 | 244 | 86 | 35.79918 | 0.54427 | 0 | 0 | 0.383966 | 0 | 0 | 0.458271 | 0.333143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.012658 | 0.012658 | 0 | 0.025316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a80594bdd10a69b6d642a44a696eb484c9a97af1 | 98 | py | Python | web/foi_requests/apps.py | okfn-brasil/pedidosanonimos | 25935346be655f60bb5648d164e781ccf4c65bbb | [
"MIT"
] | 33 | 2018-11-06T12:37:00.000Z | 2022-01-23T02:12:52.000Z | web/foi_requests/apps.py | okfn-brasil/pedidosanonimos | 25935346be655f60bb5648d164e781ccf4c65bbb | [
"MIT"
] | 15 | 2018-11-07T11:49:37.000Z | 2020-07-08T23:30:33.000Z | web/foi_requests/apps.py | okfn-brasil/pedidosanonimos | 25935346be655f60bb5648d164e781ccf4c65bbb | [
"MIT"
] | 11 | 2018-11-18T13:36:10.000Z | 2020-06-20T21:36:27.000Z | from django.apps import AppConfig
class FoiRequestsConfig(AppConfig):
name = 'foi_requests'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a8179be44e8a5d09c03fb6e482a6007b29bb008f | 919 | py | Python | solitude/_internal/oi_common_objects.py | incerto-crypto/solitude | 1b21a2ca4912da212d413322953ceb4ec2983c17 | [
"BSD-3-Clause"
] | 7 | 2019-03-25T21:48:42.000Z | 2022-02-25T08:21:35.000Z | solitude/_internal/oi_common_objects.py | incerto-crypto/solitude | 1b21a2ca4912da212d413322953ceb4ec2983c17 | [
"BSD-3-Clause"
] | null | null | null | solitude/_internal/oi_common_objects.py | incerto-crypto/solitude | 1b21a2ca4912da212d413322953ceb4ec2983c17 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2019, Solitude Developers
#
# This source code is licensed under the BSD-3-Clause license found in the
# COPYING file in the root directory of this source tree
from typing import Iterator, Tuple
from solitude._internal.oi_serializable import ISerializable
class ColorText(ISerializable):
def __ini... | 27.029412 | 74 | 0.640914 | 117 | 919 | 4.863248 | 0.478632 | 0.123023 | 0.063269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00731 | 0.255713 | 919 | 33 | 75 | 27.848485 | 0.824561 | 0.181719 | 0 | 0 | 0 | 0 | 0.028112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.095238 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a8205bcecfd4d990c6d35480b562b4ef05575532 | 11,946 | py | Python | retrainModel/detectTriangle.py | rgalvaomesquita/KittiSeg | ac93c2f0f83bf84f2ba0d645f819b2bbeeeaf58d | [
"MIT-0",
"MIT"
] | 1 | 2021-08-05T17:10:31.000Z | 2021-08-05T17:10:31.000Z | retrainModel/detectTriangle.py | rgalvaomesquita/KittiSeg | ac93c2f0f83bf84f2ba0d645f819b2bbeeeaf58d | [
"MIT-0",
"MIT"
] | null | null | null | retrainModel/detectTriangle.py | rgalvaomesquita/KittiSeg | ac93c2f0f83bf84f2ba0d645f819b2bbeeeaf58d | [
"MIT-0",
"MIT"
] | null | null | null | import cv2
import numpy as np
import os
import sys
from sklearn import svm
from sklearn import preprocessing
import pickle
def triangStats(img):
imggray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
ret, imbw = cv2.threshold(imggray, 10, 255, 0)
_, contours, _ = cv2.findContours(imbw, 1, 2)
m... | 48.364372 | 4,222 | 0.358781 | 1,012 | 11,946 | 4.159091 | 0.166996 | 0.031599 | 0.010691 | 0.033262 | 0.419102 | 0.351627 | 0.325493 | 0.279876 | 0.279876 | 0.279876 | 0 | 0.031717 | 0.187092 | 11,946 | 247 | 4,223 | 48.364372 | 0.401709 | 0.485016 | 0 | 0.34375 | 0 | 0 | 0.09209 | 0.077396 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04375 | null | null | 0.0375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b51e3f490f762022a3c3b69427d1e40d662b88cd | 10,106 | py | Python | tests/brainload/test_meshexport.py | dfsp-spirit/cogload | ff9d19803c2e0c9aea248a45380959c2758ba83a | [
"MIT"
] | 8 | 2018-11-11T11:41:19.000Z | 2022-02-09T10:50:34.000Z | tests/brainload/test_meshexport.py | dfsp-spirit/cogload | ff9d19803c2e0c9aea248a45380959c2758ba83a | [
"MIT"
] | 8 | 2018-11-05T10:11:09.000Z | 2019-11-05T20:34:19.000Z | tests/brainload/test_meshexport.py | dfsp-spirit/cogload | ff9d19803c2e0c9aea248a45380959c2758ba83a | [
"MIT"
] | 1 | 2020-07-20T06:43:57.000Z | 2020-07-20T06:43:57.000Z | import os
import pytest
import numpy as np
import brainload as bl
import brainload.meshexport as me
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
TEST_DATA_DIR = os.path.join(THIS_DIR, os.pardir, 'test_data')
# Respect the environment variable BRAINLOAD_TEST_DATA_DIR if it is set. If not, fall back to default... | 34.026936 | 143 | 0.681575 | 1,747 | 10,106 | 3.757298 | 0.107041 | 0.05972 | 0.023614 | 0.03184 | 0.829525 | 0.814138 | 0.760969 | 0.687843 | 0.621115 | 0.585923 | 0 | 0.131891 | 0.181476 | 10,106 | 296 | 144 | 34.141892 | 0.66163 | 0.046408 | 0 | 0.619247 | 0 | 0.012552 | 0.207541 | 0.007791 | 0 | 0 | 0 | 0 | 0.196653 | 1 | 0.112971 | false | 0 | 0.054393 | 0 | 0.167364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b533ba39da4f9cdc889c7ac571074349f5472879 | 195 | py | Python | PyGame-Tutorials/tut01.py | AnubhavMadhav/PyGames | d35ac2c8140bdae1b2bf2f6dca057b3b461d11c8 | [
"Apache-2.0"
] | 5 | 2020-06-04T11:48:09.000Z | 2020-11-29T08:33:42.000Z | PyGame-Tutorials/tut01.py | AnubhavMadhav/PyGames | d35ac2c8140bdae1b2bf2f6dca057b3b461d11c8 | [
"Apache-2.0"
] | null | null | null | PyGame-Tutorials/tut01.py | AnubhavMadhav/PyGames | d35ac2c8140bdae1b2bf2f6dca057b3b461d11c8 | [
"Apache-2.0"
] | null | null | null | import pygame
x = pygame.init()
# print(x) # All 6 pygame modules succesfully imported
gameWindow = pygame.display.set_mode((1200,500)) # Game Window of 1200x500 | 39 | 94 | 0.630769 | 24 | 195 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.282051 | 195 | 5 | 94 | 39 | 0.764286 | 0.451282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b53f43b3ffe40ff76bb49546d8c3042446134381 | 11,238 | py | Python | woot/apps/catalog/forms.py | Makeystreet/makeystreet | 761331de52207227baf6f8d161ab6df1747f8ef3 | [
"Apache-2.0"
] | 1 | 2015-06-27T13:25:28.000Z | 2015-06-27T13:25:28.000Z | woot/apps/catalog/forms.py | Makeystreet/makeystreet | 761331de52207227baf6f8d161ab6df1747f8ef3 | [
"Apache-2.0"
] | 1 | 2015-07-02T20:18:53.000Z | 2015-07-02T20:18:53.000Z | woot/apps/catalog/forms.py | Makeystreet/makeystreet | 761331de52207227baf6f8d161ab6df1747f8ef3 | [
"Apache-2.0"
] | null | null | null | from chosen import widgets as chosenwidgets
from django import forms
from models.core import Product
from models.misc import List, ListItem # ,Email_collect
class SignupForm(forms.Form):
first_name = forms.CharField(max_length=30, label="First Name")
last_name = forms.CharField(max_length=30, label="Last Na... | 32.479769 | 78 | 0.712582 | 1,291 | 11,238 | 6.103021 | 0.155693 | 0.186572 | 0.203833 | 0.168295 | 0.625714 | 0.514532 | 0.508059 | 0.477599 | 0.445996 | 0.439396 | 0 | 0.000541 | 0.177434 | 11,238 | 345 | 79 | 32.573913 | 0.851796 | 0.031411 | 0 | 0.451737 | 0 | 0 | 0.011958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015444 | null | null | 0.003861 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b542350eb2d0f57fac35ac9efb444e1c8c33a762 | 161 | py | Python | plotscripts/tests/parserTests.py | juliusf/visual-cortex | 3abea71cd71d2c7520b844b1cc1f464d99ed4e46 | [
"MIT"
] | null | null | null | plotscripts/tests/parserTests.py | juliusf/visual-cortex | 3abea71cd71d2c7520b844b1cc1f464d99ed4e46 | [
"MIT"
] | null | null | null | plotscripts/tests/parserTests.py | juliusf/visual-cortex | 3abea71cd71d2c7520b844b1cc1f464d99ed4e46 | [
"MIT"
] | null | null | null | __author__ = 'jules'
import nose
from visualCortex.resultParser import *
def test_basic_file_io():
file = "cc.data"
result = parseResultFile(file)
| 17.888889 | 39 | 0.714286 | 19 | 161 | 5.684211 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192547 | 161 | 9 | 40 | 17.888889 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b56ad04ab2ab535a6cc27e38cbad7bf922f1b25e | 164 | py | Python | Lab1/tempoRisposta1.py | LucaGuffanti/FCI | 3a26b877d06939786eeca9749b99b5df9e270915 | [
"Unlicense"
] | null | null | null | Lab1/tempoRisposta1.py | LucaGuffanti/FCI | 3a26b877d06939786eeca9749b99b5df9e270915 | [
"Unlicense"
] | null | null | null | Lab1/tempoRisposta1.py | LucaGuffanti/FCI | 3a26b877d06939786eeca9749b99b5df9e270915 | [
"Unlicense"
] | null | null | null | import requests
#r diventa l'oggetto della get request
r = requests.get('http://google.com')
print('Tempo necessario:')
print(r.elapsed.microseconds/1000, 'ms')
| 18.222222 | 40 | 0.737805 | 24 | 164 | 5.041667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.109756 | 164 | 8 | 41 | 20.5 | 0.80137 | 0.22561 | 0 | 0 | 0 | 0 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b5755bc2f4f64d771bfec04b5ab3250ef68609a0 | 672 | py | Python | common/src/main/python/gov/nasa/jpl/edrn/labcas/preprocess/ucdavis_sftp_download_all.py | EDRN/labcas-backend | 87a0a4bfbb98782b3ed58270aebcc8ba6a392106 | [
"Apache-2.0"
] | null | null | null | common/src/main/python/gov/nasa/jpl/edrn/labcas/preprocess/ucdavis_sftp_download_all.py | EDRN/labcas-backend | 87a0a4bfbb98782b3ed58270aebcc8ba6a392106 | [
"Apache-2.0"
] | 3 | 2020-01-30T01:02:14.000Z | 2021-01-01T00:55:59.000Z | common/src/main/python/gov/nasa/jpl/edrn/labcas/preprocess/ucdavis_sftp_download_all.py | EDRN/labcas-backend | 87a0a4bfbb98782b3ed58270aebcc8ba6a392106 | [
"Apache-2.0"
] | null | null | null | # Python script to download the full content of a remote SFTP site.
import sys
import csv
import os
import pysftp
import re
from glob import glob
HOST = "sftp.mousebiology.org"
USERNAME = os.environ['SFTP_USERNAME']
PASSWORD = os.environ['SFTP_PASSWORD']
def printit(filepath):
print filepath
# main script
if __... | 24.888889 | 84 | 0.724702 | 91 | 672 | 5.186813 | 0.505495 | 0.084746 | 0.055085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193452 | 672 | 27 | 85 | 24.888889 | 0.870849 | 0.311012 | 0 | 0 | 0 | 0 | 0.124454 | 0.045852 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.133333 | 0.4 | null | null | 0.133333 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
b5792ffc3a8902397f364e5e784ae92152e9d998 | 5,423 | py | Python | src/brain_training.py | irlrobot/memory_loss | cda0356653998313ffcc9211a2bb211699aff0d7 | [
"Apache-2.0"
] | null | null | null | src/brain_training.py | irlrobot/memory_loss | cda0356653998313ffcc9211a2bb211699aff0d7 | [
"Apache-2.0"
] | null | null | null | src/brain_training.py | irlrobot/memory_loss | cda0356653998313ffcc9211a2bb211699aff0d7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
Memory Loss
github.com/irlrobot/memory_loss
"""
QUESTIONS = [
{
"question": "Remember these words, Epic, Bird, Taco, Sphere. "\
"Was the second word, bird?",
"answer": "yes"
},
# {
# "question": "Remember these words, Map, Computer, Fish, ... | 29.155914 | 86 | 0.441453 | 516 | 5,423 | 4.598837 | 0.244186 | 0.175306 | 0.230089 | 0.176991 | 0.52086 | 0.418879 | 0.241045 | 0.189633 | 0.044669 | 0.044669 | 0 | 0.050117 | 0.370828 | 5,423 | 185 | 87 | 29.313514 | 0.645369 | 0.878296 | 0 | 0 | 0 | 0 | 0.371134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b57b5ab7d3901b7b6a8514f209ed47ea20d88b97 | 765 | py | Python | application/controllers/course_media_controller.py | Ubademy-G3/courses.service | f69ffe3d4736f6f3769d2d3aa74db4b98ff39f45 | [
"MIT"
] | null | null | null | application/controllers/course_media_controller.py | Ubademy-G3/courses.service | f69ffe3d4736f6f3769d2d3aa74db4b98ff39f45 | [
"MIT"
] | null | null | null | application/controllers/course_media_controller.py | Ubademy-G3/courses.service | f69ffe3d4736f6f3769d2d3aa74db4b98ff39f45 | [
"MIT"
] | 1 | 2022-03-16T21:53:33.000Z | 2022-03-16T21:53:33.000Z | from application.use_cases.course_media import create, get, delete
class CourseMediaController:
@classmethod
def create_course_media(self, db, args, course_id):
return create.add_course_media(db, course_id, args)
@classmethod
def get_all_course_media(self, db, course_id):
return get... | 26.37931 | 66 | 0.730719 | 111 | 765 | 4.675676 | 0.198198 | 0.190751 | 0.134875 | 0.131021 | 0.445087 | 0.302505 | 0.254335 | 0.146435 | 0.146435 | 0 | 0 | 0 | 0.189542 | 765 | 28 | 67 | 27.321429 | 0.837097 | 0 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.294118 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b58335ef1b3cfe25a61e802cb22a3683cf266ca1 | 253 | py | Python | python/687_longest_univalue_path.py | soumasish/leetcodely | d57a823dd488fd05971af70b8e2fa954add51bc0 | [
"MIT"
] | 10 | 2019-04-29T17:02:31.000Z | 2021-07-04T16:20:59.000Z | python/687_longest_univalue_path.py | soumasish/leetcodely | d57a823dd488fd05971af70b8e2fa954add51bc0 | [
"MIT"
] | null | null | null | python/687_longest_univalue_path.py | soumasish/leetcodely | d57a823dd488fd05971af70b8e2fa954add51bc0 | [
"MIT"
] | 8 | 2019-04-24T18:26:02.000Z | 2021-06-26T05:47:17.000Z | """Given a binary tree, find the length of the longest path where each node in the path has the same value.
This path may or may not pass through the root.
Note: The length of path between two nodes is represented by the number of edges between them.""" | 84.333333 | 107 | 0.770751 | 48 | 253 | 4.0625 | 0.708333 | 0.092308 | 0.112821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185771 | 253 | 3 | 108 | 84.333333 | 0.946602 | 0.976285 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
b5a881b5a9ddc79adf58cf061711f37c57774058 | 377 | py | Python | app/models.py | emukans/docker-flask | da0b8e6d8bc9fa0eee1f9cd7fc1c2873f2da34bb | [
"MIT"
] | null | null | null | app/models.py | emukans/docker-flask | da0b8e6d8bc9fa0eee1f9cd7fc1c2873f2da34bb | [
"MIT"
] | 5 | 2018-06-24T20:01:25.000Z | 2018-07-02T21:49:13.000Z | app/models.py | emukans/docker-flask | da0b8e6d8bc9fa0eee1f9cd7fc1c2873f2da34bb | [
"MIT"
] | null | null | null | from app import db
class ExampleModel(db.Model):
__tablename__ = 'example_model'
id = db.Column(db.Integer, primary_key=True)
value_column = db.Column(db.String())
def __init__(self, value_column):
self.value_column = value_column
def __str__(self):
return str(self.id)
def ... | 20.944444 | 48 | 0.65252 | 50 | 377 | 4.48 | 0.48 | 0.196429 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225464 | 377 | 17 | 49 | 22.176471 | 0.767123 | 0 | 0 | 0 | 0 | 0 | 0.05305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a91891b5c0803106110158a524fb86745431e3e7 | 660 | py | Python | bigchaindb/backend/__init__.py | AbhishaB/bigchaindb | edcd59e235776755e08219ba7e72fc110ba7b001 | [
"Apache-2.0"
] | 474 | 2020-02-05T06:22:58.000Z | 2022-03-29T00:02:10.000Z | packages/p2lara/src/storages/bigchaindb/backend/__init__.py | robert451/Decentralized-Internet | dba5ab95d77841d775bebdc22664179e9dfa3084 | [
"MIT"
] | 1,823 | 2019-12-18T19:36:48.000Z | 2022-03-31T20:24:51.000Z | packages/p2lara/src/storages/bigchaindb/backend/__init__.py | robert451/Decentralized-Internet | dba5ab95d77841d775bebdc22664179e9dfa3084 | [
"MIT"
] | 174 | 2019-12-18T19:33:23.000Z | 2022-03-24T12:40:56.000Z | # Copyright BigchainDB GmbH and BigchainDB contributors
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0
"""Generic backend database interfaces expected by BigchainDB.
The interfaces in this module allow BigchainDB to be agnostic about its
database backend. One can con... | 38.823529 | 76 | 0.79697 | 96 | 660 | 5.458333 | 0.583333 | 0.085878 | 0.030534 | 0.041985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01406 | 0.137879 | 660 | 16 | 77 | 41.25 | 0.906854 | 0.819697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a941122fa0cb979a205d9100de2d7acc036b467f | 217 | py | Python | localtest.py | JamesPillot/AA222Project1 | 62cf2226c5654a8d2dbac0f6f8b9dad47729913f | [
"MIT"
] | 13 | 2021-11-14T05:57:35.000Z | 2022-03-21T08:10:03.000Z | AA222_spring_2021/AA222Project1/localtest.py | xieguangci/AA222_Collections | 2b4a8f6e96966ad7ed50b7071c8eded6f642eb9c | [
"MIT"
] | null | null | null | AA222_spring_2021/AA222Project1/localtest.py | xieguangci/AA222_Collections | 2b4a8f6e96966ad7ed50b7071c8eded6f642eb9c | [
"MIT"
] | 8 | 2021-11-14T06:44:21.000Z | 2022-03-23T04:09:39.000Z | #
# File: test_submission.py
#
from project1_py.helpers import test_optimize
from project1_py import optimize
# runs tests on of project1_py
def main():
test_optimize(optimize)
if __name__ == '__main__':
main()
| 14.466667 | 45 | 0.760369 | 31 | 217 | 4.870968 | 0.548387 | 0.198676 | 0.18543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016304 | 0.152074 | 217 | 14 | 46 | 15.5 | 0.804348 | 0.24424 | 0 | 0 | 0 | 0 | 0.050314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a9467930f193f1f698b3096f99f49fb26ed3f049 | 150 | py | Python | haipproxy/utils/err_trace.py | lmeetr1984/haipproxy | b071ea7c347ef3c72f81fc1e92f227bed0e1f8cc | [
"MIT"
] | null | null | null | haipproxy/utils/err_trace.py | lmeetr1984/haipproxy | b071ea7c347ef3c72f81fc1e92f227bed0e1f8cc | [
"MIT"
] | 3 | 2021-03-31T18:48:49.000Z | 2022-02-11T03:39:55.000Z | haipproxy/utils/err_trace.py | lmeetr1984/haipproxy | b071ea7c347ef3c72f81fc1e92f227bed0e1f8cc | [
"MIT"
] | null | null | null | from raven import Client
from ..config.settings import SENTRY_DSN
__all__ = ['client']
# Raven is a client for Sentry
client = Client(SENTRY_DSN)
| 15 | 40 | 0.753333 | 22 | 150 | 4.863636 | 0.545455 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 150 | 9 | 41 | 16.666667 | 0.856 | 0.186667 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a948f43ef8d51159e42f052775c407444ac383d1 | 2,912 | py | Python | ecl/tests/unit/provider_connectivity/v1/test_tenant_connection.py | keiichi-hikita/eclsdk | c43afb982fd54eb1875cdc22d46044644d804c4a | [
"Apache-2.0"
] | 5 | 2017-04-07T06:23:04.000Z | 2019-11-19T00:52:34.000Z | ecl/tests/unit/provider_connectivity/v1/test_tenant_connection.py | keiichi-hikita/eclsdk | c43afb982fd54eb1875cdc22d46044644d804c4a | [
"Apache-2.0"
] | 16 | 2018-09-12T11:14:40.000Z | 2021-04-19T09:02:44.000Z | ecl/tests/unit/provider_connectivity/v1/test_tenant_connection.py | keiichi-hikita/eclsdk | c43afb982fd54eb1875cdc22d46044644d804c4a | [
"Apache-2.0"
] | 14 | 2017-05-11T14:26:26.000Z | 2021-07-14T14:00:06.000Z | # -*- coding: utf-8 -*-
import testtools
from ecl.provider_connectivity.v1 import tenant_connection
IDENTIFIER = 'IDENTIFIER'
REQUEST_ID = 'REQUEST_ID'
BASIC_EXAMPLE = {
'id': IDENTIFIER,
'tenant_connection_id': IDENTIFIER,
'tenant_connection_request_id': REQUEST_ID,
'name': 'name',
'description... | 42.202899 | 105 | 0.709821 | 339 | 2,912 | 5.764012 | 0.176991 | 0.168884 | 0.184237 | 0.248721 | 0.337769 | 0.19652 | 0.046059 | 0 | 0 | 0 | 0 | 0.002454 | 0.160371 | 2,912 | 68 | 106 | 42.823529 | 0.796728 | 0.007212 | 0 | 0 | 0 | 0 | 0.254067 | 0.03496 | 0 | 0 | 0 | 0 | 0.45 | 1 | 0.033333 | false | 0 | 0.033333 | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a960a6121dd7f628f43f7631ae92530bbb85f7c6 | 1,050 | py | Python | ewetasker/delivery/connections.py | gsi-upm/ewetasker_server | 70287385013834ba65b582a431eaf89520d86b12 | [
"Apache-2.0"
] | null | null | null | ewetasker/delivery/connections.py | gsi-upm/ewetasker_server | 70287385013834ba65b582a431eaf89520d86b12 | [
"Apache-2.0"
] | null | null | null | ewetasker/delivery/connections.py | gsi-upm/ewetasker_server | 70287385013834ba65b582a431eaf89520d86b12 | [
"Apache-2.0"
] | null | null | null | from data.database.twitter import get_request_token, set_user_token
from data.database.gmail import get_request_uri, set_user_credentials
from data.database.spotify import get_connect_uri, set_user_code, get_devices
import json
import logging
log = logging.getLogger('tester.sub')
service_functions = {"twitter": get_re... | 35 | 102 | 0.792381 | 147 | 1,050 | 5.367347 | 0.319728 | 0.053232 | 0.060837 | 0.076046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125714 | 1,050 | 29 | 103 | 36.206897 | 0.859477 | 0 | 0 | 0 | 0 | 0 | 0.089609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.217391 | 0.130435 | 0.695652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a97032dae67301572219632a1487bbd1ec638949 | 1,074 | py | Python | 01_Modelos_Supervisionados/1.8_Decomposicao_Cruzada/1.8.3_PLS_Regressao.py | BrunoBertti/Scikit_Learning | 4b9e10ff7909f3728ac1e8bba19f5fd779340bc4 | [
"MIT"
] | null | null | null | 01_Modelos_Supervisionados/1.8_Decomposicao_Cruzada/1.8.3_PLS_Regressao.py | BrunoBertti/Scikit_Learning | 4b9e10ff7909f3728ac1e8bba19f5fd779340bc4 | [
"MIT"
] | null | null | null | 01_Modelos_Supervisionados/1.8_Decomposicao_Cruzada/1.8.3_PLS_Regressao.py | BrunoBertti/Scikit_Learning | 4b9e10ff7909f3728ac1e8bba19f5fd779340bc4 | [
"MIT"
] | null | null | null | ############ 1.8.3. PLS Regressão ############
# O estimador PLSRegression é semelhante ao PLSCanonical com algoritmo='nipals', com 2 diferenças significativas:
# na etapa a) no método de potência para calcular u_k e v_k, v_k nunca é normalizado.
# na etapa c), os alvos Y_k são aproximados usando... | 97.636364 | 305 | 0.746741 | 173 | 1,074 | 4.560694 | 0.618497 | 0.026616 | 0.017744 | 0.050697 | 0.050697 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006818 | 0.180633 | 1,074 | 11 | 306 | 97.636364 | 0.889773 | 0.935754 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.090909 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a99e0e490a0d5af6c94e778be8cea1332bd94e12 | 964 | py | Python | hexrd/imageseries/baseclass.py | glemaitre/hexrd | b68b1ba72e0f480d29bdaae2adbd6c6e2380cc7c | [
"BSD-3-Clause"
] | 27 | 2020-02-18T12:15:08.000Z | 2022-03-24T17:53:46.000Z | hexrd/imageseries/baseclass.py | glemaitre/hexrd | b68b1ba72e0f480d29bdaae2adbd6c6e2380cc7c | [
"BSD-3-Clause"
] | 259 | 2020-02-02T22:18:29.000Z | 2022-03-30T19:59:58.000Z | hexrd/imageseries/baseclass.py | glemaitre/hexrd | b68b1ba72e0f480d29bdaae2adbd6c6e2380cc7c | [
"BSD-3-Clause"
] | 11 | 2020-02-18T12:14:44.000Z | 2022-03-04T16:19:11.000Z | """Base class for imageseries
"""
from .imageseriesabc import ImageSeriesABC
class ImageSeries(ImageSeriesABC):
"""collection of images
Basic sequence class with additional properties for image shape and
metadata (possibly None).
"""
def __init__(self, adapter):
"""Build FrameSeries from ... | 21.909091 | 73 | 0.65249 | 106 | 964 | 5.679245 | 0.40566 | 0.146179 | 0.141196 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26971 | 964 | 43 | 74 | 22.418605 | 0.855114 | 0.323651 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.047619 | 0.047619 | 0.285714 | 0.761905 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a9a2a440a5f54d8ba673be96582c0a7b59d09c3e | 912 | py | Python | src/blockchain/transaction.py | slawiko/blockchain_practice | 24a06d59cc2e0d9674edcaba5ea8c358f3feedd7 | [
"Apache-2.0"
] | null | null | null | src/blockchain/transaction.py | slawiko/blockchain_practice | 24a06d59cc2e0d9674edcaba5ea8c358f3feedd7 | [
"Apache-2.0"
] | 1 | 2019-10-21T16:28:08.000Z | 2019-10-21T16:28:08.000Z | src/blockchain/transaction.py | slawiko/digital_image | 24a06d59cc2e0d9674edcaba5ea8c358f3feedd7 | [
"Apache-2.0"
] | null | null | null | import logging
import hashlib
from keys import verify
log = logging.getLogger(__package__)
class Transaction:
def __init__(self, data, public):
self.public = public.to_string()
self.data = data
def sign(self, private):
return private.sign(self.digest)
def __hash(self):
... | 22.243902 | 72 | 0.617325 | 98 | 912 | 5.581633 | 0.377551 | 0.043876 | 0.040219 | 0.065814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.27193 | 912 | 40 | 73 | 22.8 | 0.817771 | 0 | 0 | 0.066667 | 0 | 0 | 0.020833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0 | 0.1 | 0.166667 | 0.566667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8d3d94e4b0caf06406dade0c14e768b849e08c15 | 6,446 | py | Python | Champion Detection/Champion Template Matching.py | zaini/TFTHelper | fef60a4b60a8586b886d9e4280aa6f7cd10703a8 | [
"MIT"
] | 2 | 2020-12-30T04:59:12.000Z | 2021-04-13T05:24:24.000Z | Champion Detection/Champion Template Matching.py | zaini/TFTHelper | fef60a4b60a8586b886d9e4280aa6f7cd10703a8 | [
"MIT"
] | null | null | null | Champion Detection/Champion Template Matching.py | zaini/TFTHelper | fef60a4b60a8586b886d9e4280aa6f7cd10703a8 | [
"MIT"
] | null | null | null | import cv2
import numpy as np
from collections import Counter
from PIL import ImageGrab
import os
import time
def screenGrab():
sc = ImageGrab.grab()
#Names the screenshots and saves them in the specified folder
screenshotname = "screenshot"+str(int(time.time()))+".png"
sc.save(os.getcwd() + "\\livescr... | 45.076923 | 176 | 0.671579 | 806 | 6,446 | 5.331266 | 0.24938 | 0.023272 | 0.027926 | 0.011171 | 0.716779 | 0.709332 | 0.709332 | 0.694438 | 0.694438 | 0.694438 | 0 | 0.035671 | 0.234564 | 6,446 | 142 | 177 | 45.394366 | 0.835225 | 0.418399 | 0 | 0.40678 | 0 | 0.016949 | 0.119829 | 0.005991 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0 | 0.101695 | 0 | 0.135593 | 0.084746 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8d4c3a6013c6b9751aae54ea7fd90f5678b2faf8 | 42 | py | Python | vendor-local/lib/python/jingo_offline_compressor/__init__.py | rtucker-mozilla/WhistlePig | 9e536c743dc3c33fe252d2d3858dd3a5851e5d98 | [
"BSD-3-Clause"
] | 1 | 2015-08-29T18:40:43.000Z | 2015-08-29T18:40:43.000Z | jingo_offline_compressor/__init__.py | peterbe/django-jingo-offline-compressor | 282cb4a0cea3a0f3b4c9c00b8ee4be8ed9cf9ce7 | [
"BSD-3-Clause"
] | 1 | 2020-04-15T01:37:22.000Z | 2020-04-15T01:37:22.000Z | jingo_offline_compressor/__init__.py | peterbe/django-jingo-offline-compressor | 282cb4a0cea3a0f3b4c9c00b8ee4be8ed9cf9ce7 | [
"BSD-3-Clause"
] | null | null | null | # following PEP 386
__version__ = "0.0.7"
| 14 | 21 | 0.690476 | 7 | 42 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 0.166667 | 42 | 2 | 22 | 21 | 0.542857 | 0.404762 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8d63d95bf5d2b2a32d4bd9078c20fd7ab6a3a411 | 522 | py | Python | liberaforms/views/main.py | tomberek/liberaforms | 5830acea9d456208ae612c6c548eb35c2d3c4106 | [
"MIT"
] | 3 | 2021-09-02T16:45:42.000Z | 2022-02-21T19:06:25.000Z | liberaforms/views/main.py | tomberek/liberaforms | 5830acea9d456208ae612c6c548eb35c2d3c4106 | [
"MIT"
] | 2 | 2021-08-17T04:13:10.000Z | 2021-09-14T22:48:21.000Z | liberaforms/views/main.py | tomberek/liberaforms | 5830acea9d456208ae612c6c548eb35c2d3c4106 | [
"MIT"
] | 1 | 2021-08-17T07:13:15.000Z | 2021-08-17T07:13:15.000Z | """
This file is part of LiberaForms.
# SPDX-FileCopyrightText: 2020 LiberaForms.org
# SPDX-License-Identifier: AGPL-3.0-or-later
"""
from flask import Blueprint, current_app
from flask import request, render_template#, flash
from flask import g #, session
#from flask_wtf.csrf import CSRFError
main_bp = Blueprint('m... | 24.857143 | 56 | 0.689655 | 68 | 522 | 5.117647 | 0.661765 | 0.103448 | 0.12931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014118 | 0.185824 | 522 | 20 | 57 | 26.1 | 0.804706 | 0.342912 | 0 | 0 | 0 | 0 | 0.114114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.555556 | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
a5e5516702ebe0df4c54208ca159bbc5ec2713fb | 89 | py | Python | osr2mp4/EEnum/EState.py | ADoesGit/osr2mp4-core | b702295998439dce39a421dbefde71c37f5ddb63 | [
"MIT"
] | 103 | 2020-06-07T15:28:41.000Z | 2022-03-01T17:07:35.000Z | osr2mp4/EEnum/EState.py | ADoesGit/osr2mp4-core | b702295998439dce39a421dbefde71c37f5ddb63 | [
"MIT"
] | 50 | 2020-06-07T10:53:21.000Z | 2021-12-19T14:47:47.000Z | osr2mp4/EEnum/EState.py | ADoesGit/osr2mp4-core | b702295998439dce39a421dbefde71c37f5ddb63 | [
"MIT"
] | 21 | 2020-07-12T16:02:35.000Z | 2022-03-01T17:07:37.000Z | from enum import IntEnum
class States(IntEnum):
NORMAL = 0
NOTELOCK = 1
FADEOUT = 2
| 11.125 | 24 | 0.707865 | 13 | 89 | 4.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.224719 | 89 | 7 | 25 | 12.714286 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a5f0526129453f1aacb67b9aab4e4ed88424a8d9 | 84 | py | Python | codes_auto/120.triangle.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/120.triangle.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/120.triangle.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=120 lang=python3
#
# [120] triangle
#
None
# @lc code=end | 12 | 41 | 0.654762 | 14 | 84 | 3.928571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.166667 | 84 | 7 | 42 | 12 | 0.685714 | 0.797619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5701496ab6e715eed6d8c1445984a3f9f0f1a734 | 57,938 | py | Python | plotoptix/_load_lib.py | robertsulej/plotoptix | 628694351791c7fb8cd631a6efe6cc0fd7d9f4f8 | [
"libtiff",
"MIT"
] | 307 | 2019-04-03T10:51:41.000Z | 2022-03-28T05:35:09.000Z | plotoptix/_load_lib.py | robertsulej/plotoptix | 628694351791c7fb8cd631a6efe6cc0fd7d9f4f8 | [
"libtiff",
"MIT"
] | 27 | 2019-05-11T08:53:32.000Z | 2022-02-07T22:43:21.000Z | plotoptix/_load_lib.py | robertsulej/plotoptix | 628694351791c7fb8cd631a6efe6cc0fd7d9f4f8 | [
"libtiff",
"MIT"
] | 21 | 2019-08-29T21:50:23.000Z | 2022-03-03T05:21:15.000Z | """Import RnD.SharpOptiX library.
https://github.com/rnd-team-dev/plotoptix/blob/master/LICENSE.txt
Have a look at examples on GitHub: https://github.com/rnd-team-dev/plotoptix.
"""
import os, platform, sys
from ctypes import cdll, CFUNCTYPE, POINTER, byref, cast, c_float, c_uint, c_int, c_long, c_longlong, c_bool,... | 49.604452 | 270 | 0.658998 | 8,181 | 57,938 | 4.203276 | 0.045716 | 0.026318 | 0.049728 | 0.060808 | 0.805537 | 0.698403 | 0.575421 | 0.489953 | 0.438014 | 0.384913 | 0 | 0.00942 | 0.245141 | 57,938 | 1,167 | 271 | 49.646958 | 0.776838 | 0.007905 | 0 | 0.186785 | 0 | 0 | 0.007015 | 0.001271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.223634 | false | 0 | 0.007624 | 0.212198 | 0.318933 | 0.011436 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
57082ac91ed89cf5b5d92362775362c996917b97 | 89 | py | Python | 2020/template.py | Alexander-Hjelm/advent-of-code-2020 | c0d90b74e1fba1114baf7f6c823bf77434020f5e | [
"MIT"
] | null | null | null | 2020/template.py | Alexander-Hjelm/advent-of-code-2020 | c0d90b74e1fba1114baf7f6c823bf77434020f5e | [
"MIT"
] | null | null | null | 2020/template.py | Alexander-Hjelm/advent-of-code-2020 | c0d90b74e1fba1114baf7f6c823bf77434020f5e | [
"MIT"
] | null | null | null | with open('input') as f:
in_data = [int(line.rstrip()) for line in f]
print(in_data)
| 22.25 | 48 | 0.651685 | 17 | 89 | 3.294118 | 0.705882 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 3 | 49 | 29.666667 | 0.767123 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5723d2e23605894302438d751d743e2d6983e596 | 93 | py | Python | colosseum/agents/continuous/ucrl2/__init__.py | MichelangeloConserva/Colosseum | b0711fd9ce75520deb74cda75c148984a8e4152f | [
"MIT"
] | null | null | null | colosseum/agents/continuous/ucrl2/__init__.py | MichelangeloConserva/Colosseum | b0711fd9ce75520deb74cda75c148984a8e4152f | [
"MIT"
] | null | null | null | colosseum/agents/continuous/ucrl2/__init__.py | MichelangeloConserva/Colosseum | b0711fd9ce75520deb74cda75c148984a8e4152f | [
"MIT"
] | null | null | null | from colosseum.agents.continuous.ucrl2.agent import UCRL2Continuous
Agent = UCRL2Continuous
| 23.25 | 67 | 0.860215 | 10 | 93 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.086022 | 93 | 3 | 68 | 31 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
57278999f05868ea064406432b4ea8bc94f62d4e | 242 | py | Python | FMT/FMT/subscriptions/admin.py | DumisanBK/FMT | aa66d1e9597dd5ae7fc4eef8977193ec66ccbaca | [
"MIT"
] | null | null | null | FMT/FMT/subscriptions/admin.py | DumisanBK/FMT | aa66d1e9597dd5ae7fc4eef8977193ec66ccbaca | [
"MIT"
] | 12 | 2021-03-19T12:48:23.000Z | 2022-03-12T00:54:21.000Z | FMT/FMT/subscriptions/admin.py | DumisanBK/FMT | aa66d1e9597dd5ae7fc4eef8977193ec66ccbaca | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import SubscriptionUser
# Register your models here.
class SubscriptionsAdmin(admin.ModelAdmin):
list_display = ('email', 'date')
admin.site.register(SubscriptionUser, SubscriptionsAdmin)
| 22 | 57 | 0.793388 | 26 | 242 | 7.346154 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119835 | 242 | 10 | 58 | 24.2 | 0.896714 | 0.107438 | 0 | 0 | 0 | 0 | 0.042056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
572f802fb2599dc526b35270827cc913355f0ac7 | 141 | py | Python | scripts/portal/kine_goFloor1.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/kine_goFloor1.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/kine_goFloor1.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Created by MechAviv
# Kinesis Introduction
# Map ID :: 331002300
# School for the Gifted :: 1-1 Classroom
sm.warpInstanceOut(331002000, 2) | 28.2 | 41 | 0.751773 | 19 | 141 | 5.578947 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.156028 | 141 | 5 | 42 | 28.2 | 0.714286 | 0.70922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
57407ffbbccb803a2be7ac394e769bdfbd2cada4 | 85 | py | Python | xterm/apps.py | MahmoudAlyy/docker-django-ui | 1175aa06527e27c6f529afa6616165fddafd6290 | [
"MIT"
] | 1 | 2021-05-10T05:10:41.000Z | 2021-05-10T05:10:41.000Z | xterm/apps.py | MahmoudAlyy/docker-django-ui | 1175aa06527e27c6f529afa6616165fddafd6290 | [
"MIT"
] | null | null | null | xterm/apps.py | MahmoudAlyy/docker-django-ui | 1175aa06527e27c6f529afa6616165fddafd6290 | [
"MIT"
] | 1 | 2021-02-17T11:15:12.000Z | 2021-02-17T11:15:12.000Z | from django.apps import AppConfig
class XtermConfig(AppConfig):
name = 'xterm'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5746da42be3a14f1adaf0a1410b5ef5363bdb56c | 213 | py | Python | questionnaire/pagination.py | cjz25/cquestionnaire | 961c508d463a8d9d50c8485fa65c4a9d3a56e5fa | [
"MIT"
] | null | null | null | questionnaire/pagination.py | cjz25/cquestionnaire | 961c508d463a8d9d50c8485fa65c4a9d3a56e5fa | [
"MIT"
] | null | null | null | questionnaire/pagination.py | cjz25/cquestionnaire | 961c508d463a8d9d50c8485fa65c4a9d3a56e5fa | [
"MIT"
] | 1 | 2021-10-15T12:51:01.000Z | 2021-10-15T12:51:01.000Z | from rest_framework.pagination import (
PageNumberPagination,
)
class QuestionnairePageNumberPagination(PageNumberPagination):
page_size = 5
page_size_query_param = 'pageSize'
max_page_size = 20
| 21.3 | 62 | 0.779343 | 21 | 213 | 7.571429 | 0.761905 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016854 | 0.164319 | 213 | 9 | 63 | 23.666667 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0.037559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9385113c5e8bf316c45828d49fc504bd43e6cfa4 | 42 | py | Python | trainalyzr/models/__init__.py | sweat-pain-data/trainalyzr | dcad6cf512baf67cda86f68a4012057f9ca935b6 | [
"MIT"
] | null | null | null | trainalyzr/models/__init__.py | sweat-pain-data/trainalyzr | dcad6cf512baf67cda86f68a4012057f9ca935b6 | [
"MIT"
] | null | null | null | trainalyzr/models/__init__.py | sweat-pain-data/trainalyzr | dcad6cf512baf67cda86f68a4012057f9ca935b6 | [
"MIT"
] | null | null | null | from .l0 import L0
__all__ = [
L0,
]
| 7 | 18 | 0.547619 | 6 | 42 | 3.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.333333 | 42 | 5 | 19 | 8.4 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
938b53b0b2269c5d180e3627238caf884c3c989a | 339 | py | Python | 20190701/stock_spider/stock_spider/main.py | gdhGaoFei/Python01 | a9fef5290479d575725e2ddbb83c5f2d192606c6 | [
"MIT"
] | 1 | 2019-06-22T23:27:48.000Z | 2019-06-22T23:27:48.000Z | 20190701/stock_spider/stock_spider/main.py | gdhGaoFei/Python01 | a9fef5290479d575725e2ddbb83c5f2d192606c6 | [
"MIT"
] | null | null | null | 20190701/stock_spider/stock_spider/main.py | gdhGaoFei/Python01 | a9fef5290479d575725e2ddbb83c5f2d192606c6 | [
"MIT"
] | null | null | null | from scrapy.cmdline import execute
import sys
import os
"""
学习网址:https://ke.qq.com/webcourse/index.html#cid=320330&term_id=100380209&taid=2576340427793226&vid=u142831q21g
"""
"""
进行调试
"""
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
# execute(["scrapy", "crawl", "tonghuashun"])
execute(["scrapy", "cr... | 21.1875 | 110 | 0.728614 | 46 | 339 | 5.23913 | 0.73913 | 0.049793 | 0.149378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124204 | 0.073746 | 339 | 16 | 111 | 21.1875 | 0.643312 | 0.126844 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
939be99a4022659a2dd1e75f0ab943644e9e2536 | 6,838 | py | Python | p2_assembly/seg3_ins_type.py | crazynayan/tpf1 | c81a15d88d4d1f3ed2cf043c90782a4b8509ef14 | [
"MIT"
] | 1 | 2020-01-27T10:10:40.000Z | 2020-01-27T10:10:40.000Z | p2_assembly/seg3_ins_type.py | crazynayan/tpf1 | c81a15d88d4d1f3ed2cf043c90782a4b8509ef14 | [
"MIT"
] | 4 | 2019-08-23T05:24:23.000Z | 2021-09-16T10:05:55.000Z | p2_assembly/seg3_ins_type.py | crazynayan/tpf1 | c81a15d88d4d1f3ed2cf043c90782a4b8509ef14 | [
"MIT"
] | null | null | null | from typing import Optional, Set, TypeVar
from p1_utils.data_type import Register
from p1_utils.file_line import Line
from p2_assembly.seg2_ins_operand import FieldBaseDsp, Bits, FieldIndex, FieldLen
class InstructionGeneric:
def __init__(self, line: Line):
self.index: int = line.index
self.labe... | 28.610879 | 88 | 0.642586 | 807 | 6,838 | 5.05948 | 0.116481 | 0.064658 | 0.063679 | 0.066128 | 0.68773 | 0.65589 | 0.588538 | 0.567965 | 0.482243 | 0.434484 | 0 | 0.011722 | 0.226528 | 6,838 | 238 | 89 | 28.731092 | 0.760257 | 0.006142 | 0 | 0.518519 | 0 | 0 | 0.122479 | 0.120271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253086 | false | 0 | 0.024691 | 0.12963 | 0.58642 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
939d98fad2b6fd55ac27f294f40594b777ac107c | 36 | py | Python | Constants.py | atefhares/CrowdFunding-Console-App | a00daccbfc7997f3c1dc4983e7aeaf73699f077f | [
"MIT"
] | null | null | null | Constants.py | atefhares/CrowdFunding-Console-App | a00daccbfc7997f3c1dc4983e7aeaf73699f077f | [
"MIT"
] | null | null | null | Constants.py | atefhares/CrowdFunding-Console-App | a00daccbfc7997f3c1dc4983e7aeaf73699f077f | [
"MIT"
] | null | null | null | PARENT_DATABASE_PATH = "./database"
| 18 | 35 | 0.777778 | 4 | 36 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
93e27d62063081a90ec7b48680f4412eb3cc64c8 | 230 | py | Python | authlib/flask/oauth2/signals.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 2 | 2021-04-26T18:17:37.000Z | 2021-04-28T21:39:45.000Z | authlib/flask/oauth2/signals.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | null | null | null | authlib/flask/oauth2/signals.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 1 | 2019-10-07T02:01:48.000Z | 2019-10-07T02:01:48.000Z | from flask.signals import Namespace
_signal = Namespace()
client_authenticated = _signal.signal('client_authenticated')
token_authenticated = _signal.signal('token_authenticated')
token_revoked = _signal.signal('token_revoked')
| 28.75 | 61 | 0.826087 | 25 | 230 | 7.2 | 0.4 | 0.2 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 230 | 7 | 62 | 32.857143 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9e1bcebbec267002842556077fe2064069e8c817 | 217 | py | Python | final/data/script_validData.py | sheabrown/faraday_complexity | 49f5ead79d53bc62f41e5e8450316c03d25ccdef | [
"MIT"
] | 4 | 2017-03-10T04:32:41.000Z | 2019-05-24T02:04:24.000Z | final/data/script_validData.py | sheabrown/faraday_complexity | 49f5ead79d53bc62f41e5e8450316c03d25ccdef | [
"MIT"
] | null | null | null | final/data/script_validData.py | sheabrown/faraday_complexity | 49f5ead79d53bc62f41e5e8450316c03d25ccdef | [
"MIT"
] | 3 | 2017-03-10T18:59:23.000Z | 2018-03-12T12:55:52.000Z | import sys
sys.path.append('../')
from possum import *
spec = possum()
spec._generateParams(N=10000, fluxMin=0.01, noiseMax=1.0, pcomplex=0.5, seed=594723)
spec._simulateNspec(save=True, dir='./valid/', timeit=True)
| 27.125 | 84 | 0.723502 | 33 | 217 | 4.69697 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.087558 | 217 | 7 | 85 | 31 | 0.691919 | 0 | 0 | 0 | 1 | 0 | 0.050691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f52926b03ce0f796cf0a74a7db37c210d8143557 | 96 | py | Python | Tools/test2to3/test2to3/hello.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 2,441 | 2020-07-31T06:45:53.000Z | 2022-03-30T15:56:49.000Z | Tools/test2to3/test2to3/hello.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | Tools/test2to3/test2to3/hello.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | def hello():
try:
print "Hello, world"
except IOError, e:
print e.errno
| 16 | 28 | 0.53125 | 12 | 96 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364583 | 96 | 5 | 29 | 19.2 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f542bd2e66cfc7111d8e125e040470ca4b922c42 | 259 | wsgi | Python | myGates/django.wsgi | anywonder/piGates | 8dc6e6a11ba96b06ff08748e9529ca38a070c2dc | [
"Apache-2.0"
] | null | null | null | myGates/django.wsgi | anywonder/piGates | 8dc6e6a11ba96b06ff08748e9529ca38a070c2dc | [
"Apache-2.0"
] | null | null | null | myGates/django.wsgi | anywonder/piGates | 8dc6e6a11ba96b06ff08748e9529ca38a070c2dc | [
"Apache-2.0"
] | null | null | null | import os, sys
sys.path.append('/home/pi/Projects/Django')
sys.path.append('/home/pi/Projects/Django/myGates')
os.environ['DJANGO_SETTINGS_MODULE'] = 'myGates.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
| 25.9 | 57 | 0.779923 | 36 | 259 | 5.555556 | 0.5 | 0.07 | 0.13 | 0.17 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0.061776 | 259 | 9 | 58 | 28.777778 | 0.823045 | 0 | 0 | 0 | 0 | 0 | 0.362934 | 0.301158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f54423bef9b11ce0dfd8252d79023f2d2e670ad2 | 366 | py | Python | foundations/math_func.py | karthikkaiplody/DL_from_scratch | 51663f88888cf911179a281c6f7d2caeb06d6532 | [
"MIT"
] | null | null | null | foundations/math_func.py | karthikkaiplody/DL_from_scratch | 51663f88888cf911179a281c6f7d2caeb06d6532 | [
"MIT"
] | null | null | null | foundations/math_func.py | karthikkaiplody/DL_from_scratch | 51663f88888cf911179a281c6f7d2caeb06d6532 | [
"MIT"
] | null | null | null | import numpy as np
from numpy import ndarray
# Function to square an n-dimensional array
def square(x: ndarray) -> ndarray:
'''
Square each element in the input ndarray
'''
return np.power(x, 2)
def leaky_relu(x: ndarray) -> ndarray:
'''
Apply "Leaky Relu" funtion to each element in ndarray
... | 20.333333 | 57 | 0.642077 | 54 | 366 | 4.333333 | 0.537037 | 0.068376 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.254098 | 366 | 17 | 58 | 21.529412 | 0.846154 | 0.374317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f54f19b967bb9f7372aad9a625a5a32c05a91da5 | 224 | py | Python | locitools/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | 1 | 2016-10-30T16:29:51.000Z | 2016-10-30T16:29:51.000Z | locitools/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | null | null | null | locitools/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | null | null | null | from calczones import calczones
from loci_sub import loci_sub
from sorted_arrays import sorted_arrays
from indxregion import indxregion
from annulus_indices import annulus_indices
from partial_sub_map import partial_sub_map
| 32 | 43 | 0.892857 | 34 | 224 | 5.588235 | 0.352941 | 0.073684 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 224 | 6 | 44 | 37.333333 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f566e1d4eba6b4a1018ccd09553d778b327f1069 | 418 | py | Python | hackerrank/Algorithms/Candies/test.py | ATrain951/01.python-com_Qproject | c164dd093954d006538020bdf2e59e716b24d67c | [
"MIT"
] | 4 | 2020-07-24T01:59:50.000Z | 2021-07-24T15:14:08.000Z | hackerrank/Algorithms/Candies/test.py | ATrain951/01.python-com_Qproject | c164dd093954d006538020bdf2e59e716b24d67c | [
"MIT"
] | null | null | null | hackerrank/Algorithms/Candies/test.py | ATrain951/01.python-com_Qproject | c164dd093954d006538020bdf2e59e716b24d67c | [
"MIT"
] | null | null | null | import unittest
import solution
class TestQ(unittest.TestCase):
def test_case_0(self):
self.assertEqual(solution.candies(3, [1, 2, 2]), 4)
def test_case_1(self):
self.assertEqual(solution.candies(10, [2, 4, 2, 6, 1, 7, 8, 9, 2, 1]), 19)
def test_case_2(self):
self.assertEqual(so... | 22 | 82 | 0.617225 | 67 | 418 | 3.641791 | 0.41791 | 0.086066 | 0.135246 | 0.331967 | 0.418033 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 0.217703 | 418 | 18 | 83 | 23.222222 | 0.64526 | 0 | 0 | 0 | 0 | 0 | 0.019139 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | false | 0 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f57914e31303ecb5fa1e00f4a4d2f51b0100e698 | 82 | py | Python | virtool/example.py | ReeceHoffmann/virtool | f9befad060fe16fa29fb80124e674ac5a9c4f538 | [
"MIT"
] | 39 | 2016-10-31T23:28:59.000Z | 2022-01-15T00:00:42.000Z | virtool/example.py | ReeceHoffmann/virtool | f9befad060fe16fa29fb80124e674ac5a9c4f538 | [
"MIT"
] | 1,690 | 2017-02-07T23:39:48.000Z | 2022-03-31T22:30:44.000Z | virtool/example.py | ReeceHoffmann/virtool | f9befad060fe16fa29fb80124e674ac5a9c4f538 | [
"MIT"
] | 25 | 2017-02-08T18:25:31.000Z | 2021-09-20T22:55:25.000Z | from pathlib import Path
example_path = Path(__file__).parent.parent / "example"
| 20.5 | 55 | 0.780488 | 11 | 82 | 5.363636 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 82 | 3 | 56 | 27.333333 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f5850c10870b05afcc303a30dedbf42bdb903847 | 158 | py | Python | 2.7/io/read_1.py | brianjimenez/bioinformatics-recipes | 252b83a7290bca14bf1baa17e5d2e3a46e224b6d | [
"MIT"
] | 2 | 2018-06-23T17:17:29.000Z | 2020-09-30T18:52:45.000Z | 2.7/io/read_1.py | brianjimenez/bioinformatics-recipes | 252b83a7290bca14bf1baa17e5d2e3a46e224b6d | [
"MIT"
] | null | null | null | 2.7/io/read_1.py | brianjimenez/bioinformatics-recipes | 252b83a7290bca14bf1baa17e5d2e3a46e224b6d | [
"MIT"
] | 2 | 2018-11-14T10:12:01.000Z | 2021-10-05T20:25:44.000Z | """Reads a file and prints line by line its content"""
with open("data/sequences.fasta", "r") as input_file:
for line in input_file:
print line
| 22.571429 | 54 | 0.670886 | 26 | 158 | 4 | 0.769231 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221519 | 158 | 6 | 55 | 26.333333 | 0.845528 | 0 | 0 | 0 | 0 | 0 | 0.203884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f593bfbc60b6f208030b84e9dee8987ff0517770 | 1,940 | py | Python | redirink/insights/tests/test_views.py | Egor4ik325/redirink | 17ef85f48145ee6112f2fcbab60dcd9d65ba78bf | [
"MIT"
] | null | null | null | redirink/insights/tests/test_views.py | Egor4ik325/redirink | 17ef85f48145ee6112f2fcbab60dcd9d65ba78bf | [
"MIT"
] | null | null | null | redirink/insights/tests/test_views.py | Egor4ik325/redirink | 17ef85f48145ee6112f2fcbab60dcd9d65ba78bf | [
"MIT"
] | 1 | 2021-12-31T00:46:31.000Z | 2021-12-31T00:46:31.000Z | import pytest
from rest_framework.test import force_authenticate
from ..views import InsightListViewSet
from .factories import InsightFactory
pytestmark = pytest.mark.django_db
insight_viewset = InsightListViewSet.as_view({"get": "list"})
def test_list_insights_is_ok(rq, user, token):
force_authenticate(rq, use... | 23.095238 | 69 | 0.73299 | 268 | 1,940 | 5.033582 | 0.25 | 0.057079 | 0.09785 | 0.106746 | 0.652335 | 0.575241 | 0.515196 | 0.486286 | 0.443291 | 0.443291 | 0 | 0.012285 | 0.160825 | 1,940 | 83 | 70 | 23.373494 | 0.816339 | 0.05 | 0 | 0.456522 | 0 | 0 | 0.031608 | 0.011444 | 0 | 0 | 0 | 0.012048 | 0.108696 | 1 | 0.23913 | false | 0.108696 | 0.086957 | 0 | 0.326087 | 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 | 0 | 0 | 0 | 0 | 3 |
1918bf9fe5429f2324e3224ec1334ee6ef7e8431 | 1,250 | py | Python | designate/tests/test_workers/test_processing.py | Woody89/designate-private | 0a6ed5a1d7cdac5cb1e9dec8fd3ddfb9a77c58f5 | [
"Apache-2.0"
] | null | null | null | designate/tests/test_workers/test_processing.py | Woody89/designate-private | 0a6ed5a1d7cdac5cb1e9dec8fd3ddfb9a77c58f5 | [
"Apache-2.0"
] | null | null | null | designate/tests/test_workers/test_processing.py | Woody89/designate-private | 0a6ed5a1d7cdac5cb1e9dec8fd3ddfb9a77c58f5 | [
"Apache-2.0"
] | 1 | 2019-11-16T10:55:49.000Z | 2019-11-16T10:55:49.000Z | # Copyright 2016 Rackspace Inc.
#
# Author: Eric Larson <eric.larson@rackspace.com>
#
# 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
#
# Unl... | 26.595745 | 75 | 0.6592 | 169 | 1,250 | 4.840237 | 0.56213 | 0.07335 | 0.031785 | 0.03912 | 0.151589 | 0.151589 | 0.06846 | 0.06846 | 0.06846 | 0 | 0 | 0.030205 | 0.2584 | 1,250 | 46 | 76 | 27.173913 | 0.852211 | 0.492 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
192b4fd77b040d073df79303e421786cd4143a0f | 431 | py | Python | lib/core/base.py | dromero1452/shellsploit-framework | 38ce78542fd2dd2ac30f6567972d695ede1e4709 | [
"MIT"
] | 2 | 2019-12-23T15:47:02.000Z | 2020-01-06T09:51:57.000Z | lib/core/base.py | badfish5150/shellsploit-framework | 22bb910d33379ca29ddd10ba93a63e9ff1eab99d | [
"MIT"
] | null | null | null | lib/core/base.py | badfish5150/shellsploit-framework | 22bb910d33379ca29ddd10ba93a63e9ff1eab99d | [
"MIT"
] | 1 | 2021-12-23T16:35:24.000Z | 2021-12-23T16:35:24.000Z | from commands import Commands
class Base(Commands):
def __init__(self):
Commands.__init__(self)
@staticmethod
def dynamicimport( script):
"return a function or class"
import importlib
return importlib.import_module( script)
@staticmethod
def binary2hex( binary)... | 16.576923 | 47 | 0.649652 | 43 | 431 | 6.302326 | 0.55814 | 0.059041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003257 | 0.287703 | 431 | 25 | 48 | 17.24 | 0.879479 | 0.12761 | 0 | 0.142857 | 0 | 0 | 0.127059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.357143 | 0 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
192eaba9a51e3cebcd473b0ee80a01ba6f5b4ceb | 371 | py | Python | bgmol/util/importing.py | meyerml/bgmol | 1e8afb3ded40d94effcb035c3144db9974bd0a58 | [
"MIT"
] | 4 | 2021-06-29T23:06:05.000Z | 2021-09-11T19:48:10.000Z | bgmol/util/importing.py | meyerml/bgmol | 1e8afb3ded40d94effcb035c3144db9974bd0a58 | [
"MIT"
] | 5 | 2021-11-12T18:45:50.000Z | 2022-01-26T13:27:58.000Z | bgmol/util/importing.py | meyerml/bgmol | 1e8afb3ded40d94effcb035c3144db9974bd0a58 | [
"MIT"
] | 3 | 2021-09-10T10:34:19.000Z | 2022-02-04T08:23:46.000Z |
__all__ = ["import_openmm"]
def import_openmm():
try:
import openmm as mm
import openmm.unit as unit
import openmm.app as app
except ImportError:
# fall back to older version < 7.6
from simtk import openmm as mm
from simtk import unit as unit
from simt... | 23.1875 | 43 | 0.625337 | 53 | 371 | 4.264151 | 0.396226 | 0.318584 | 0.123894 | 0.141593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.326146 | 371 | 16 | 44 | 23.1875 | 0.896 | 0.086253 | 0 | 0 | 0 | 0 | 0.03869 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.818182 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
195b9df7af7a8377f3ef51f7ba63c6e48fee9ffe | 479 | py | Python | packages/pyright-internal/src/tests/samples/generators15.py | Jasha10/pyright | 0ce0cfa10fe7faa41071a2cc417bb449cf8276fe | [
"MIT"
] | 3,934 | 2019-03-22T09:26:41.000Z | 2019-05-06T21:03:08.000Z | packages/pyright-internal/src/tests/samples/generators15.py | Jasha10/pyright | 0ce0cfa10fe7faa41071a2cc417bb449cf8276fe | [
"MIT"
] | 107 | 2019-03-24T04:09:37.000Z | 2019-05-06T17:00:04.000Z | packages/pyright-internal/src/tests/samples/generators15.py | Jasha10/pyright | 0ce0cfa10fe7faa41071a2cc417bb449cf8276fe | [
"MIT"
] | 119 | 2019-03-23T10:48:04.000Z | 2019-05-06T08:57:56.000Z | # This sample tests that the parser emits an error when a generator
# is used as an argument without parentheses.
from typing import Any
def func1(*x: Any) -> None:
pass
func1(x for x in [0, 1])
func1((x for x in [0, 1]), 1)
func1((x for x in [0, 1]),)
func1(1, (x for x in [0, 1]))
# This should generate a... | 17.740741 | 67 | 0.638831 | 97 | 479 | 3.154639 | 0.340206 | 0.091503 | 0.114379 | 0.160131 | 0.578431 | 0.578431 | 0.578431 | 0.578431 | 0.385621 | 0.385621 | 0 | 0.070461 | 0.229645 | 479 | 26 | 68 | 18.423077 | 0.758808 | 0.421712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.1 | 0.1 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
195eebe9db82f8d910461afb23bf2bd933fd1304 | 1,034 | py | Python | game/Totem.py | Sajadrahimi/quarto-monte-carlo | 591e7cc0ceb15e8f4a9b5ee40a2d41296af7bfa9 | [
"MIT"
] | null | null | null | game/Totem.py | Sajadrahimi/quarto-monte-carlo | 591e7cc0ceb15e8f4a9b5ee40a2d41296af7bfa9 | [
"MIT"
] | null | null | null | game/Totem.py | Sajadrahimi/quarto-monte-carlo | 591e7cc0ceb15e8f4a9b5ee40a2d41296af7bfa9 | [
"MIT"
] | null | null | null | from functools import reduce
from operator import iand, invert, inv, neg
from typing import List
class Totem:
"""
the type is represented by a 4 bit binary number in which
first bit: is tall
second bit: is white
third bit: is square
forth bit: is hallow
e.g. a Tall Black Hallow Round totem will be repres... | 24.619048 | 110 | 0.697292 | 170 | 1,034 | 4.088235 | 0.482353 | 0.116547 | 0.07482 | 0.040288 | 0.069065 | 0.069065 | 0.069065 | 0 | 0 | 0 | 0 | 0.011111 | 0.216634 | 1,034 | 41 | 111 | 25.219512 | 0.846914 | 0.281431 | 0 | 0.086957 | 0 | 0 | 0.047222 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.217391 | false | 0 | 0.130435 | 0.130435 | 0.695652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
196db593c2025976dfd30a416ccc28598f5732de | 9,935 | py | Python | various_scripts/depth_map.py | cc-ai/floods-gans | 787dc2a3c08483c68a687b4355c0f0f6f2711ab9 | [
"Apache-2.0"
] | 5 | 2019-05-07T15:14:58.000Z | 2020-11-23T00:21:50.000Z | various_scripts/depth_map.py | cc-ai/floods | 787dc2a3c08483c68a687b4355c0f0f6f2711ab9 | [
"Apache-2.0"
] | 13 | 2019-04-25T01:06:20.000Z | 2022-03-11T23:51:04.000Z | various_scripts/depth_map.py | cc-ai/floods | 787dc2a3c08483c68a687b4355c0f0f6f2711ab9 | [
"Apache-2.0"
] | 4 | 2019-04-24T18:06:10.000Z | 2020-07-15T18:02:56.000Z | import base64
import zlib
import numpy as np
import struct
import matplotlib.pyplot as plt
def parse(b64_string):
# fix the 'inccorrect padding' error. The length of the string needs to be divisible by 4.
b64_string += "=" * ((4 - len(b64_string) % 4) % 4)
# convert the URL safe format to regular format.
... | 69.475524 | 5,618 | 0.807448 | 913 | 9,935 | 8.541073 | 0.523549 | 0.006925 | 0.008079 | 0.007694 | 0.018082 | 0.003334 | 0 | 0 | 0 | 0 | 0 | 0.144819 | 0.113135 | 9,935 | 142 | 5,619 | 69.964789 | 0.740211 | 0.097836 | 0 | 0.06383 | 0 | 0.010638 | 0.647585 | 0.62746 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.053191 | 0.031915 | 0.223404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1970a58fb7420847e7adfddcc026357f3b99c70b | 166 | py | Python | src/ctc/spec/typedefs/number_types.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/spec/typedefs/number_types.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/spec/typedefs/number_types.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from __future__ import annotations
import typing
BuiltinNumber = typing.Union[int, float]
SupportsNumber = typing.Union[typing.SupportsInt, typing.SupportsFloat]
| 18.444444 | 71 | 0.819277 | 18 | 166 | 7.333333 | 0.666667 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 166 | 8 | 72 | 20.75 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1971ded5551e48d976317a88ea9c492a8a4edb8c | 667 | py | Python | contrib/buildbot/test/mocks/fixture.py | syedrizwanmy/bitcoin-abc | 1241ef50e90d183421504fd783b9fd4dd6c1386a | [
"MIT"
] | 1,266 | 2017-05-02T07:02:29.000Z | 2022-03-31T17:15:44.000Z | contrib/buildbot/test/mocks/fixture.py | EGYVOICE/bitcoin-abc-avalanche | e0f1fe857e1fc85f01903f1c323c2d5c54aecc1c | [
"MIT"
] | 426 | 2017-05-07T12:40:52.000Z | 2022-03-29T18:12:01.000Z | contrib/buildbot/test/mocks/fixture.py | EGYVOICE/bitcoin-abc-avalanche | e0f1fe857e1fc85f01903f1c323c2d5c54aecc1c | [
"MIT"
] | 721 | 2017-05-07T10:36:11.000Z | 2022-03-15T09:07:48.000Z | #!/usr/bin/env python3
#
# Copyright (c) 2019-2020 The Bitcoin ABC developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
from flask.json import JSONEncoder
# Dummy values to be specified in tests
class MockData:
pass
... | 26.68 | 78 | 0.736132 | 89 | 667 | 5.47191 | 0.786517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020183 | 0.182909 | 667 | 24 | 79 | 27.791667 | 0.873395 | 0.623688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 1 | 0.125 | false | 0.125 | 0.125 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
199dc7d6bc8fc7dae1c68c68fa4e9717d507263c | 658 | py | Python | holobot/extensions/moderation/exceptions/no_permission_error.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/extensions/moderation/exceptions/no_permission_error.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/extensions/moderation/exceptions/no_permission_error.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from ..enums import ModeratorPermission
class NoPermissionError(Exception):
def __init__(self,
required_permissions: ModeratorPermission,
actual_permissions: ModeratorPermission,
*args: object) -> None:
super().__init__(*args)
self.__required_permissions: ModeratorPermission... | 34.631579 | 79 | 0.731003 | 54 | 658 | 8.425926 | 0.351852 | 0.208791 | 0.151648 | 0.184615 | 0.193407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203647 | 658 | 18 | 80 | 36.555556 | 0.868321 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.066667 | 0.133333 | 0.466667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
5fe3facdc1c7608a4fbab0262f3f488eccfe0247 | 55 | py | Python | plugin/libs/monitoring/monitoring/nagios/__init__.py | crazy-canux/xPlugin_Monitoring | 4a66d26f9d2982609489eaa0f57d6afb16aca37c | [
"Apache-2.0"
] | 2 | 2015-12-17T04:00:30.000Z | 2015-12-22T11:49:01.000Z | plugin/libs/monitoring/monitoring/nagios/__init__.py | crazy-canux/xPlugin_Monitoring | 4a66d26f9d2982609489eaa0f57d6afb16aca37c | [
"Apache-2.0"
] | null | null | null | plugin/libs/monitoring/monitoring/nagios/__init__.py | crazy-canux/xPlugin_Monitoring | 4a66d26f9d2982609489eaa0f57d6afb16aca37c | [
"Apache-2.0"
] | 1 | 2017-02-20T22:57:17.000Z | 2017-02-20T22:57:17.000Z | import monitoring.nagios.logger
__version__ = '1.3.7'
| 13.75 | 31 | 0.763636 | 8 | 55 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.109091 | 55 | 3 | 32 | 18.333333 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5ff543fd8cf3d526e2acf53646b42434b4fa9330 | 400 | py | Python | Example Code/01 Variables, Data Types, Input and Output/source/CookieRecipe1.py | tdfairch2/Course-Common-Files | 09294bdae6da92011136b31207d053893801e299 | [
"MIT"
] | null | null | null | Example Code/01 Variables, Data Types, Input and Output/source/CookieRecipe1.py | tdfairch2/Course-Common-Files | 09294bdae6da92011136b31207d053893801e299 | [
"MIT"
] | null | null | null | Example Code/01 Variables, Data Types, Input and Output/source/CookieRecipe1.py | tdfairch2/Course-Common-Files | 09294bdae6da92011136b31207d053893801e299 | [
"MIT"
] | null | null | null | print( "Chocolate Chip Cookies" )
print( "1 cup butter, softened" )
print( "1 cup white sugar" )
print( "1 cup packed brown sugar" )
print( "2 eggs" )
print( "2 teaspoons vanilla extract" )
print( "3 cups all-purpose flour" )
print( "1 teaspoon baking soda" )
print( "2 teaspoons hot water" )
print( "0.5 teaspoons salt"... | 30.769231 | 43 | 0.6975 | 60 | 400 | 4.65 | 0.566667 | 0.107527 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.175 | 400 | 12 | 44 | 33.333333 | 0.809091 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
27431ea3c9740c14f7bfd0b0d77dd6cd65df242a | 173 | py | Python | pucadmin/schools/resources.py | JobDoesburg/PUC-admin | ab61478cbf1cb0ddb57661a7508e70b23642810b | [
"MIT"
] | null | null | null | pucadmin/schools/resources.py | JobDoesburg/PUC-admin | ab61478cbf1cb0ddb57661a7508e70b23642810b | [
"MIT"
] | null | null | null | pucadmin/schools/resources.py | JobDoesburg/PUC-admin | ab61478cbf1cb0ddb57661a7508e70b23642810b | [
"MIT"
] | null | null | null | from import_export import resources
from .models import School
class SchoolResource(resources.ModelResource):
class Meta:
model = School
exclude = ()
| 17.3 | 46 | 0.705202 | 18 | 173 | 6.722222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236994 | 173 | 9 | 47 | 19.222222 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
275750bf6c2ed1221997385c97b66da1e411cb46 | 231 | py | Python | pythonlearn/Function/7.functools.partial.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 1 | 2021-01-11T06:30:44.000Z | 2021-01-11T06:30:44.000Z | pythonlearn/Function/7.functools.partial.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 23 | 2020-02-12T02:35:49.000Z | 2022-02-11T03:45:40.000Z | pythonlearn/Function/7.functools.partial.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 2 | 2020-04-08T15:39:46.000Z | 2020-10-10T10:13:09.000Z | # coding: utf-8
import functools
def add(a, b):
return a + b
print add(4, 2)
# 6
plus3 = functools.partial(add, 3)
plus5 = functools.partial(add, 5)
print plus3(4)
# 7
print plus3(7)
# 10
print plus5(10)
# 15 | 13.588235 | 34 | 0.61039 | 39 | 231 | 3.615385 | 0.564103 | 0.028369 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 0.255411 | 231 | 17 | 35 | 13.588235 | 0.703488 | 0.099567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0.444444 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
2758e9472a59d05f3c771be607fca24f5b811efd | 4,151 | py | Python | ml/rl/test/readers/test_nparray_reader.py | joshrose/Horizon | a2eb407b31a16560ae78aa6751eb83672a122a7e | [
"BSD-3-Clause"
] | 2 | 2021-01-11T18:16:32.000Z | 2021-11-30T09:34:58.000Z | ml/rl/test/readers/test_nparray_reader.py | weiddeng/Horizon | 0e7fe9d742c408e1b42803b42e104efbc56bae5b | [
"BSD-3-Clause"
] | 1 | 2021-08-25T16:13:32.000Z | 2021-08-25T16:13:32.000Z | ml/rl/test/readers/test_nparray_reader.py | weiddeng/Horizon | 0e7fe9d742c408e1b42803b42e104efbc56bae5b | [
"BSD-3-Clause"
] | 2 | 2021-01-06T01:06:50.000Z | 2021-06-24T01:12:52.000Z | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
import unittest
from collections import OrderedDict
import numpy as np
import numpy.testing as npt
from ml.rl.readers.nparray_reader import NpArrayReader
class TestNpArrayReader(unittest.TestCase):
def get_test_data(s... | 35.478632 | 82 | 0.552397 | 500 | 4,151 | 4.362 | 0.17 | 0.123796 | 0.077029 | 0.099037 | 0.802843 | 0.701513 | 0.675837 | 0.673086 | 0.673086 | 0.673086 | 0 | 0.028721 | 0.354132 | 4,151 | 116 | 83 | 35.784483 | 0.784782 | 0.021922 | 0 | 0.514563 | 0 | 0 | 0.019221 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 1 | 0.07767 | false | 0 | 0.048544 | 0.009709 | 0.145631 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
275a67af8dbf2c0a7e7ba7eb39ff302e77861b5b | 244 | py | Python | q20/q20_factorial_digit_sum.py | vesteny77/proj_euler | d12d6c6a6e6c717b5ab9d0415005945d983eea53 | [
"MIT"
] | 1 | 2021-12-27T22:18:51.000Z | 2021-12-27T22:18:51.000Z | q20/q20_factorial_digit_sum.py | vesteny77/proj_euler | d12d6c6a6e6c717b5ab9d0415005945d983eea53 | [
"MIT"
] | null | null | null | q20/q20_factorial_digit_sum.py | vesteny77/proj_euler | d12d6c6a6e6c717b5ab9d0415005945d983eea53 | [
"MIT"
] | null | null | null | # Find the sum of the digits in the number 100!
from q16.q16_power_digit_sum import *
import math
def sum_of_digit_factorial(n):
return sum_of_digits(math.factorial(n))
if __name__ == "__main__":
print(sum_of_digit_factorial(100))
| 18.769231 | 47 | 0.754098 | 41 | 244 | 4.02439 | 0.536585 | 0.121212 | 0.121212 | 0.230303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.159836 | 244 | 12 | 48 | 20.333333 | 0.756098 | 0.184426 | 0 | 0 | 0 | 0 | 0.040609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
276015efa16b09cd87cb97c9d50829e542e0783b | 489 | py | Python | exercicios-praticos/exercicio022.py | thamirisvscosta/projetos-python | 64aea30fc09a54bdc446152ccb8cd0de022c5912 | [
"MIT"
] | null | null | null | exercicios-praticos/exercicio022.py | thamirisvscosta/projetos-python | 64aea30fc09a54bdc446152ccb8cd0de022c5912 | [
"MIT"
] | null | null | null | exercicios-praticos/exercicio022.py | thamirisvscosta/projetos-python | 64aea30fc09a54bdc446152ccb8cd0de022c5912 | [
"MIT"
] | null | null | null | nomecompleto = str(input('digite seu nome completo: '))
print(nomecompleto.upper())
print(nomecompleto.lower())
print(nomecompleto.capitalize())
print(nomecompleto.title())
print(nomecompleto.split())
print(nomecompleto.swapcase())
print(nomecompleto.find("i"))
print(nomecompleto.count('a', 0, 16))
print(len(nomecomple... | 30.5625 | 62 | 0.764826 | 61 | 489 | 6.131148 | 0.47541 | 0.590909 | 0.192513 | 0.152406 | 0.192513 | 0.192513 | 0 | 0 | 0 | 0 | 0 | 0.023758 | 0.05317 | 489 | 15 | 63 | 32.6 | 0.784017 | 0 | 0 | 0 | 0 | 0 | 0.112474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.933333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
27628fdf49c655dbd2ed9b4db64029d658bf0846 | 74 | py | Python | Trakttv.bundle/Contents/Libraries/Shared/stash/algorithms/__init__.py | disrupted/Trakttv.bundle | 24712216c71f3b22fd58cb5dd89dad5bb798ed60 | [
"RSA-MD"
] | 1,346 | 2015-01-01T14:52:24.000Z | 2022-03-28T12:50:48.000Z | Trakttv.bundle/Contents/Libraries/Shared/stash/algorithms/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 474 | 2015-01-01T10:27:46.000Z | 2022-03-21T12:26:16.000Z | Trakttv.bundle/Contents/Libraries/Shared/stash/algorithms/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 191 | 2015-01-02T18:27:22.000Z | 2022-03-29T10:49:48.000Z | from stash.algorithms.lru import LruAlgorithm
__all__ = ['LruAlgorithm']
| 18.5 | 45 | 0.797297 | 8 | 74 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 3 | 46 | 24.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2771f4b83d49d1fb000679f248218240eb3e4a52 | 321 | py | Python | yo/http_client/http_client.py | mcos/yo-py | 7fb4e8907c6cc8291bee5c6210836f7a32999b79 | [
"BSD-3-Clause"
] | 2 | 2018-10-11T18:34:42.000Z | 2018-10-11T18:36:48.000Z | yo/http_client/http_client.py | mcos/yo-py | 7fb4e8907c6cc8291bee5c6210836f7a32999b79 | [
"BSD-3-Clause"
] | null | null | null | yo/http_client/http_client.py | mcos/yo-py | 7fb4e8907c6cc8291bee5c6210836f7a32999b79 | [
"BSD-3-Clause"
] | null | null | null | import requests
class HttpClient(object):
def __init__(self, url):
if not url:
raise Exception('A url is required')
self.url = url
def get(self, params):
return requests.get(self.url, params=params)
def post(self, data):
return requests.post(self.url, data=data... | 24.692308 | 52 | 0.619938 | 43 | 321 | 4.534884 | 0.488372 | 0.14359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274143 | 321 | 13 | 53 | 24.692308 | 0.83691 | 0 | 0 | 0 | 0 | 0 | 0.052795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
278c937c10e8f1a102543984a0197b9509c273c3 | 932 | py | Python | pystratum_common/wrapper/NoneWrapper.py | DatabaseStratum/py-stratum-common | 27bbbc7af8eeefed966c1e955b69cd345fefb7af | [
"MIT"
] | null | null | null | pystratum_common/wrapper/NoneWrapper.py | DatabaseStratum/py-stratum-common | 27bbbc7af8eeefed966c1e955b69cd345fefb7af | [
"MIT"
] | null | null | null | pystratum_common/wrapper/NoneWrapper.py | DatabaseStratum/py-stratum-common | 27bbbc7af8eeefed966c1e955b69cd345fefb7af | [
"MIT"
] | null | null | null | from abc import ABC
from pystratum_common.wrapper.Wrapper import Wrapper
class NoneWrapper(Wrapper, ABC):
"""
Wrapper method generator for stored procedures without any result set.
"""
# -----------------------------------------------------------------------------------------------------------------... | 31.066667 | 120 | 0.375536 | 69 | 932 | 4.956522 | 0.492754 | 0.116959 | 0.081871 | 0.099415 | 0.157895 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201717 | 932 | 29 | 121 | 32.137931 | 0.459677 | 0.616953 | 0 | 0.285714 | 0 | 0 | 0.021661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
27a356a0c49d1aececcf4212f248a000d4c0e5e8 | 340 | py | Python | files/Bubblesort.py | Spiderjockey02/CodeSnippets-Python | 26b794847dc86354df794cc7960d583051b704dc | [
"Apache-2.0"
] | 5 | 2021-11-10T18:23:26.000Z | 2021-12-06T07:22:11.000Z | files/Bubblesort.py | Spiderjockey02/CodeSnippets-Python | 26b794847dc86354df794cc7960d583051b704dc | [
"Apache-2.0"
] | null | null | null | files/Bubblesort.py | Spiderjockey02/CodeSnippets-Python | 26b794847dc86354df794cc7960d583051b704dc | [
"Apache-2.0"
] | null | null | null | def bubbleSort(alist):
for passnum in range(len(alist)-1,0,-1):
for i in range(passnum):
if alist[i]>alist[i+1]:
temp = alist[i]
alist[i] = alist[i+1]
alist[i+1] = temp
alist = [36,38,30,31,38,43,55,38,37,30,48,41,33,25,34,43,37,40,36]
bubbleSort(... | 28.333333 | 66 | 0.532353 | 59 | 340 | 3.067797 | 0.457627 | 0.198895 | 0.18232 | 0.198895 | 0.281768 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182573 | 0.291176 | 340 | 11 | 67 | 30.909091 | 0.568465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.2 | 0 | 0 | 0.1 | 0.1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
27b8eb5bb583ed96e96b448b8bbbf8eac1c547fa | 676 | py | Python | src/ui/__init__.py | KumarLabJax/JABS-behavior-classifier | 8c038a7510ae08d90418403a723e396344bb671c | [
"FSFAP"
] | null | null | null | src/ui/__init__.py | KumarLabJax/JABS-behavior-classifier | 8c038a7510ae08d90418403a723e396344bb671c | [
"FSFAP"
] | null | null | null | src/ui/__init__.py | KumarLabJax/JABS-behavior-classifier | 8c038a7510ae08d90418403a723e396344bb671c | [
"FSFAP"
] | null | null | null | from .about_dialog import AboutDialog
from .central_widget import CentralWidget
from .classification_thread import ClassifyThread
from .frame_labels_widget import FrameLabelsWidget
from .global_inference_widget import GlobalInferenceWidget
from .identity_combo_box import IdentityComboBox
from .k_fold_slider_widget impo... | 45.066667 | 58 | 0.89645 | 79 | 676 | 7.379747 | 0.531646 | 0.185249 | 0.058319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08284 | 676 | 14 | 59 | 48.285714 | 0.940323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
27ba4f81c59fa0db0708031ab19822eef6de8aec | 1,040 | py | Python | canvas_todo/config/get_config.py | ryansingman/canvas-todo | ec37cb06c03fe942a8c57b98bc7b9f0086c6e661 | [
"MIT"
] | null | null | null | canvas_todo/config/get_config.py | ryansingman/canvas-todo | ec37cb06c03fe942a8c57b98bc7b9f0086c6e661 | [
"MIT"
] | null | null | null | canvas_todo/config/get_config.py | ryansingman/canvas-todo | ec37cb06c03fe942a8c57b98bc7b9f0086c6e661 | [
"MIT"
] | null | null | null | import os
from typing import Dict
import yaml
from .config_paths import APP_CONF_PATH, GKEEP_CONF_PATH, CANVAS_CONF_PATH
def get_app_config() -> Dict:
"""Gets app config from file
Returns
-------
Dict
application config dictionary
"""
return _get_config(APP_CONF_PATH)
def get_gkeep... | 18.571429 | 74 | 0.629808 | 132 | 1,040 | 4.719697 | 0.265152 | 0.11557 | 0.070626 | 0.089888 | 0.333868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266346 | 1,040 | 55 | 75 | 18.909091 | 0.816514 | 0.390385 | 0 | 0 | 0 | 0 | 0.001949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.307692 | 0 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
27c25bdfbe78c0f20b9ec41f82a8528b94c6af9e | 148 | py | Python | aula07102019/No.py | mariosiqueira/aedpython | 27276aba5555a02b5a162b3a3d2807669ade8a8e | [
"CNRI-Python"
] | null | null | null | aula07102019/No.py | mariosiqueira/aedpython | 27276aba5555a02b5a162b3a3d2807669ade8a8e | [
"CNRI-Python"
] | null | null | null | aula07102019/No.py | mariosiqueira/aedpython | 27276aba5555a02b5a162b3a3d2807669ade8a8e | [
"CNRI-Python"
] | null | null | null | class No:
def __init__(self, chave):
self.chave = chave
self.esquerdo = None
self.direito = None
self.pai = None | 24.666667 | 30 | 0.560811 | 18 | 148 | 4.388889 | 0.555556 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 148 | 6 | 31 | 24.666667 | 0.822917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
27cbbeae76005ea560e5a7e675854c24e53e6b83 | 1,926 | py | Python | img_Paste.py | folkengine/JetCreator | 2003704c531ca9a6730dbd8d7f2c879312d944ef | [
"Apache-2.0"
] | null | null | null | img_Paste.py | folkengine/JetCreator | 2003704c531ca9a6730dbd8d7f2c879312d944ef | [
"Apache-2.0"
] | null | null | null | img_Paste.py | folkengine/JetCreator | 2003704c531ca9a6730dbd8d7f2c879312d944ef | [
"Apache-2.0"
] | null | null | null | #----------------------------------------------------------------------
# This file was generated by C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\tools\img2py.py
#
from wx import Image, Bitmap, EmptyIcon
import cStringIO, zlib
def getData():
return zlib.decompress(
'x\xda\x01\xdd\x01"\xfe\x89PNG\r\n\x1a\n\... | 45.857143 | 96 | 0.692627 | 369 | 1,926 | 3.615176 | 0.631436 | 0.058471 | 0.047226 | 0.026987 | 0.013493 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215107 | 0.051402 | 1,926 | 41 | 97 | 46.97561 | 0.515052 | 0.08567 | 0 | 0 | 1 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.0625 | 0.0625 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fd67c3f419d8ee06303479f9c9fdaad3ae95038a | 56 | py | Python | colorhash/__init__.py | ar0chsg/color-hash-python | bf2c4757a54d8da6826c3640d4c98419a14aae02 | [
"Unlicense"
] | 4 | 2021-01-14T14:47:45.000Z | 2022-01-26T21:22:03.000Z | colorhash/__init__.py | ar0chsg/color-hash-python | bf2c4757a54d8da6826c3640d4c98419a14aae02 | [
"Unlicense"
] | null | null | null | colorhash/__init__.py | ar0chsg/color-hash-python | bf2c4757a54d8da6826c3640d4c98419a14aae02 | [
"Unlicense"
] | 2 | 2021-01-15T06:03:16.000Z | 2021-09-02T15:04:02.000Z | from .colorhash import ColorHash
__all__ = [ColorHash]
| 14 | 32 | 0.785714 | 6 | 56 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 3 | 33 | 18.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fd6bf8707cce321659f2bc1063d0c08438cf278d | 202 | py | Python | src/nemo_r4.0.4/tests/WAD/EXPREF/README.py | yumengch/nemo4_pdafomi | c25fa7092ef0ae895d0fe3accdec74254cd85c55 | [
"MIT"
] | 2 | 2021-03-24T11:08:31.000Z | 2021-10-05T12:32:14.000Z | src/nemo_r4.0.4/tests/WAD/EXPREF/README.py | yumengch/nemo4_pdafomi | c25fa7092ef0ae895d0fe3accdec74254cd85c55 | [
"MIT"
] | 1 | 2021-04-24T18:56:09.000Z | 2021-04-24T18:56:09.000Z | src/nemo_r4.0.4/tests/WAD/EXPREF/README.py | yumengch/nemo4_pdafomi | c25fa7092ef0ae895d0fe3accdec74254cd85c55 | [
"MIT"
] | 1 | 2021-04-09T16:25:26.000Z | 2021-04-09T16:25:26.000Z | ncks -O -d y,17,17,1 WAD_1ts_00010101_00010101_grid_T.nc sshtime.nc
ncks -4 -A -v gdepw_0,ht_wd -d y,17,17,1 -d z,10,10,1 -C mesh_mask.nc sshtime.nc
python2.7 matpoly2.py sshtime.nc
animate wadfr*.png
| 33.666667 | 80 | 0.747525 | 49 | 202 | 2.918367 | 0.653061 | 0.188811 | 0.055944 | 0.083916 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207865 | 0.118812 | 202 | 5 | 81 | 40.4 | 0.595506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.