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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cc124020513321b4b12f1b52d604ffe3ea84105d | 819 | py | Python | problems/stack/Solution581.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/stack/Solution581.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/stack/Solution581.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | """ Given an integer array nums, you need to find one continuous subarray that if
you only sort this subarray in ascending order, then the whole array will be
sorted in ascending order. Return the shortest such subarray and output its
leftgth.
Example 1: Input: nums = [2,6,4,8,10,9,15] Output: 5
... | 26.419355 | 83 | 0.553114 | 110 | 819 | 4.118182 | 0.627273 | 0.09713 | 0.14128 | 0.09713 | 0.02649 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05098 | 0.377289 | 819 | 30 | 84 | 27.3 | 0.837255 | 0.85348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
cc277863cc2ed9070193896c71144cefca6805e5 | 2,617 | py | Python | threads/managers.py | mohamed17717/Like-Reddit-Backend-Clone | d60d7a4625ee0f7354a21e53c26c7c52746d735f | [
"MIT"
] | 1 | 2022-01-10T12:00:59.000Z | 2022-01-10T12:00:59.000Z | threads/managers.py | mohamed17717/Like-Reddit-Backend-Clone | d60d7a4625ee0f7354a21e53c26c7c52746d735f | [
"MIT"
] | null | null | null | threads/managers.py | mohamed17717/Like-Reddit-Backend-Clone | d60d7a4625ee0f7354a21e53c26c7c52746d735f | [
"MIT"
] | null | null | null | from django.db import models
from django.shortcuts import get_object_or_404
class ThreadQuerySet(models.QuerySet):
def all_alive(self):
qs = self.filter(**self.alive_conditions)
return qs
def one_alive(self, **kwargs):
obj = get_object_or_404(self.model, **self.alive_conditions, **kwargs)
return ... | 28.139785 | 90 | 0.700802 | 351 | 2,617 | 4.908832 | 0.179487 | 0.065003 | 0.051074 | 0.097504 | 0.582124 | 0.467789 | 0.377829 | 0.247243 | 0.247243 | 0.160186 | 0 | 0.0041 | 0.161253 | 2,617 | 92 | 91 | 28.445652 | 0.780866 | 0.042033 | 0 | 0.492537 | 0 | 0 | 0.039984 | 0.010796 | 0 | 0 | 0 | 0 | 0 | 1 | 0.313433 | false | 0 | 0.029851 | 0.179104 | 0.716418 | 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 |
cc330eb3ccd612d06255b8697fd9b5490eb3da95 | 271 | py | Python | output/models/ms_data/wildcards/wild_g013_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/wildcards/wild_g013_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/wildcards/wild_g013_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.ms_data.wildcards.wild_g013_xsd.wild_g013 import (
B as B,
Foo as Foo,
)
from output.models.ms_data.wildcards.wild_g013_xsd.wild_g013_imp import (
B as ImpB,
Foo as ImpFoo,
)
__all__ = [
"B",
"Foo",
"ImpB",
"ImpFoo",
]
| 16.9375 | 73 | 0.645756 | 42 | 271 | 3.857143 | 0.404762 | 0.197531 | 0.197531 | 0.222222 | 0.617284 | 0.617284 | 0.617284 | 0.617284 | 0.617284 | 0.617284 | 0 | 0.057692 | 0.232472 | 271 | 15 | 74 | 18.066667 | 0.721154 | 0 | 0 | 0 | 0 | 0 | 0.051661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 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 |
0bcfbb40440b0499ea6ad0a029f23c0d4260dd58 | 1,998 | py | Python | test/model_tests.py | memphis-iis/gluten | 7caad491f18f230dadb1b005dcd31e60d8bc8eca | [
"Apache-2.0"
] | 1 | 2015-09-08T16:59:42.000Z | 2015-09-08T16:59:42.000Z | test/model_tests.py | memphis-iis/gluten | 7caad491f18f230dadb1b005dcd31e60d8bc8eca | [
"Apache-2.0"
] | 1 | 2016-03-09T18:53:53.000Z | 2016-03-09T18:58:00.000Z | test/model_tests.py | memphis-iis/gluten | 7caad491f18f230dadb1b005dcd31e60d8bc8eca | [
"Apache-2.0"
] | 2 | 2016-03-09T16:59:32.000Z | 2021-09-13T16:37:36.000Z | import unittest
from gluten.models import Taxonomy, Transcript
from gluten.utils import project_file
class TaxonomyTesting(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def testDefaultRead(self):
def_tax = project_file('config/default_taxonomy.yaml')
... | 33.3 | 72 | 0.659159 | 225 | 1,998 | 5.746667 | 0.408889 | 0.235112 | 0.034029 | 0.037123 | 0.199536 | 0.199536 | 0.143852 | 0.083527 | 0.083527 | 0.083527 | 0 | 0.032988 | 0.226226 | 1,998 | 59 | 73 | 33.864407 | 0.803364 | 0 | 0 | 0.212766 | 0 | 0 | 0.179179 | 0.046046 | 0 | 0 | 0 | 0 | 0.404255 | 1 | 0.12766 | false | 0.085106 | 0.06383 | 0 | 0.234043 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0be37fe0d6b61b9702319b35a493fc467993754a | 256 | py | Python | indexer/src/test.py | alliance-genome/agr_archive_initial_prototype | 8559303de20e55886cc5bc7c2153f9357fc0ca2f | [
"MIT"
] | 9 | 2016-10-03T16:10:39.000Z | 2016-10-10T16:22:52.000Z | indexer/src/test.py | alliance-genome/agr | 8559303de20e55886cc5bc7c2153f9357fc0ca2f | [
"MIT"
] | 168 | 2017-02-06T17:07:20.000Z | 2017-08-23T21:23:55.000Z | indexer/src/test.py | alliance-genome/agr_prototype | 8559303de20e55886cc5bc7c2153f9357fc0ca2f | [
"MIT"
] | 12 | 2016-10-04T22:01:48.000Z | 2017-02-01T21:17:33.000Z | from elasticsearch import Elasticsearch
es = Elasticsearch("https://search-es1-oyqxarxm2djn35dfodzniituhe.us-west-2.es.amazonaws.com", timeout=30, retry_on_timeout=False, use_ssl=True, verify_certs=True)
print es.indices.delete(index="es2_1491847190")
| 32 | 163 | 0.8125 | 35 | 256 | 5.8 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075314 | 0.066406 | 256 | 7 | 164 | 36.571429 | 0.774059 | 0 | 0 | 0 | 0 | 0 | 0.335938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0beb908e536eab69256cb9c8199c94efe8c240fd | 157 | py | Python | languages/python-c-cffi/example.py | octonion/examples | 5d142697b9f781e37c61f32217fdb6d661902d42 | [
"MIT"
] | 4 | 2017-12-14T04:00:10.000Z | 2018-03-31T07:12:13.000Z | languages/python-c-cffi/example.py | octonion/examples | 5d142697b9f781e37c61f32217fdb6d661902d42 | [
"MIT"
] | null | null | null | languages/python-c-cffi/example.py | octonion/examples | 5d142697b9f781e37c61f32217fdb6d661902d42 | [
"MIT"
] | null | null | null | from _example import ffi, lib
p = lib.getpwuid(0)
assert ffi.string(p.pw_name) == b'root'
p = lib.get_pw_for_root()
assert ffi.string(p.pw_name) == b'root'
| 22.428571 | 39 | 0.713376 | 31 | 157 | 3.419355 | 0.516129 | 0.075472 | 0.283019 | 0.301887 | 0.509434 | 0.509434 | 0.509434 | 0.509434 | 0 | 0 | 0 | 0.007299 | 0.127389 | 157 | 6 | 40 | 26.166667 | 0.766423 | 0 | 0 | 0.4 | 0 | 0 | 0.050955 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0beca0d7be7ab3bb70cabf3fd9c46a9bfcfa0701 | 4,752 | py | Python | examples/plugin_examples/plugin_templates/general/plugin_template1_with_detailed_notes.py | elainehoml/Savu | e4772704606f71d6803d832084e10faa585e7358 | [
"Apache-2.0"
] | 39 | 2015-03-30T14:03:42.000Z | 2022-03-16T16:50:33.000Z | examples/plugin_examples/plugin_templates/general/plugin_template1_with_detailed_notes.py | elainehoml/Savu | e4772704606f71d6803d832084e10faa585e7358 | [
"Apache-2.0"
] | 670 | 2015-02-11T11:08:09.000Z | 2022-03-21T09:27:57.000Z | examples/plugin_examples/plugin_templates/general/plugin_template1_with_detailed_notes.py | elainehoml/Savu | e4772704606f71d6803d832084e10faa585e7358 | [
"Apache-2.0"
] | 54 | 2015-02-13T14:09:52.000Z | 2022-01-24T13:57:09.000Z | # Copyright 2014 Diamond Light Source Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 42.053097 | 98 | 0.695918 | 652 | 4,752 | 4.996933 | 0.368098 | 0.017188 | 0.013812 | 0.018416 | 0.110497 | 0.089012 | 0.089012 | 0.047268 | 0.047268 | 0.047268 | 0 | 0.00522 | 0.234007 | 4,752 | 113 | 99 | 42.053097 | 0.889835 | 0.7117 | 0 | 0.173913 | 0 | 0 | 0.046048 | 0.024559 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0.086957 | 0.130435 | 0.130435 | 0.608696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
0409ebfbc30d9bc1a3049fb9398c4659e24992b1 | 580 | py | Python | Winsorizacion.py | Quimica-supramolecular/scripts_graficas | 2db5352bd1e8080de7f71db172c1f85d053f379c | [
"MIT"
] | null | null | null | Winsorizacion.py | Quimica-supramolecular/scripts_graficas | 2db5352bd1e8080de7f71db172c1f85d053f379c | [
"MIT"
] | null | null | null | Winsorizacion.py | Quimica-supramolecular/scripts_graficas | 2db5352bd1e8080de7f71db172c1f85d053f379c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Oct 8 10:56:29 2021
@author: jan_c
"""
import pandas as pd
from scipy.stats.mstats import winsorize
import numpy as np
a = [185.2, 180, 159.5, 157.2, 179.7, 200.4,\
196.5, 165.6, 173.7, 179.3, 154.0]
b = winsorize(a, limits=[0.05, 0.05])
print(n... | 19.333333 | 104 | 0.560345 | 113 | 580 | 2.867257 | 0.610619 | 0.037037 | 0.135802 | 0.061728 | 0.141975 | 0.141975 | 0.141975 | 0.141975 | 0 | 0 | 0 | 0.247748 | 0.234483 | 580 | 29 | 105 | 20 | 0.481982 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 0 | 0.214286 | 0.428571 | 0 | 0 | 0 | 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 | 1 | 0 | 3 |
0439b3d702d43c25d9781de35938a5b14fbb244a | 747 | py | Python | src/crate/client/sqlalchemy/tests/__init__.py | jeffnappi/crate-python | 307742e2d954502886023fb648a3a9e87b3042bd | [
"Apache-2.0"
] | null | null | null | src/crate/client/sqlalchemy/tests/__init__.py | jeffnappi/crate-python | 307742e2d954502886023fb648a3a9e87b3042bd | [
"Apache-2.0"
] | null | null | null | src/crate/client/sqlalchemy/tests/__init__.py | jeffnappi/crate-python | 307742e2d954502886023fb648a3a9e87b3042bd | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from unittest import TestSuite, makeSuite
from .connection_test import SqlAlchemyConnectionTest
from .dict_test import SqlAlchemyDictTypeTest
from .datetime_test import SqlAlchemyDateAndDateTimeTest
from .compiler_test import SqlAlchemyCompilerTest
from .update_test import SqlAlchemyUpdateTest
... | 35.571429 | 59 | 0.820616 | 69 | 747 | 8.782609 | 0.376812 | 0.09901 | 0.207921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001504 | 0.109772 | 747 | 20 | 60 | 37.35 | 0.909774 | 0.028112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.4375 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
044bef929f597cc578d1a97818c9c291b1f09168 | 23 | py | Python | pypy3-v5.5.0-linux64/lib-python/3/idlelib/idlever.py | timm/timmnix | cd246fdea8ec4668c1ad1b30a02d6f7437e46201 | [
"MIT"
] | 652 | 2015-07-26T00:00:17.000Z | 2022-02-24T18:30:04.000Z | pypy3-v5.5.0-linux64/lib-python/3/idlelib/idlever.py | timm/timmnix | cd246fdea8ec4668c1ad1b30a02d6f7437e46201 | [
"MIT"
] | 8 | 2015-09-07T03:38:19.000Z | 2021-05-23T03:18:51.000Z | Lib/idlelib/idlever.py | isabella232/cpython-pt | 16d0393123bcc49009e3746471a603290804899a | [
"PSF-2.0"
] | 40 | 2015-07-24T19:45:08.000Z | 2021-11-01T14:54:56.000Z | IDLE_VERSION = "3.3.5"
| 11.5 | 22 | 0.652174 | 5 | 23 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.130435 | 23 | 1 | 23 | 23 | 0.55 | 0 | 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 |
045533612dcb659ad706a5270cb2bbc92ce2e6b6 | 522 | py | Python | django/db/models/signals.py | huicheese/Django-test3 | ac11d2dce245b48392e52d1f4acfd5e7433b243e | [
"BSD-3-Clause"
] | 91 | 2015-01-05T01:10:51.000Z | 2021-09-26T18:01:53.000Z | django/db/models/signals.py | joetyson/django | c3699190186561d5c216b2a77ecbfc487d42a734 | [
"BSD-3-Clause"
] | 4 | 2015-07-05T21:09:37.000Z | 2019-09-06T14:34:59.000Z | django/db/models/signals.py | joetyson/django | c3699190186561d5c216b2a77ecbfc487d42a734 | [
"BSD-3-Clause"
] | 32 | 2015-04-03T04:29:45.000Z | 2021-09-14T21:36:02.000Z | from django.dispatch import Signal
class_prepared = Signal(providing_args=["class"])
pre_init = Signal(providing_args=["instance", "args", "kwargs"])
post_init = Signal(providing_args=["instance"])
pre_save = Signal(providing_args=["instance", "raw"])
post_save = Signal(providing_args=["instance", "raw", "created"])... | 34.8 | 99 | 0.743295 | 63 | 522 | 5.888889 | 0.365079 | 0.32345 | 0.409704 | 0.436658 | 0.549865 | 0.382749 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 522 | 14 | 100 | 37.285714 | 0.772917 | 0 | 0 | 0 | 0 | 0 | 0.226054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
045853e1743b64b27464273453a971ccd1f5b089 | 901 | py | Python | model/module/edge_conv_translation_invariance.py | nihalsid/dcm-net | 343608e2cdc565137d6d2958be8bbd751ef20f7d | [
"MIT"
] | 100 | 2020-03-20T03:02:21.000Z | 2022-03-24T10:09:22.000Z | model/module/edge_conv_translation_invariance.py | nihalsid/dcm-net | 343608e2cdc565137d6d2958be8bbd751ef20f7d | [
"MIT"
] | 13 | 2020-06-10T09:12:54.000Z | 2021-12-02T19:22:09.000Z | model/module/edge_conv_translation_invariance.py | nihalsid/dcm-net | 343608e2cdc565137d6d2958be8bbd751ef20f7d | [
"MIT"
] | 11 | 2020-05-08T20:00:52.000Z | 2021-12-07T07:10:07.000Z | """First convolution of the network needs to be translation invariant.
Therefore, we do not concatenate the initial features of the vertices which include
absolute 3D positions.
"""
import torch_geometric.nn.conv.edge_conv as edge
import torch
class EdgeConvTransInv(edge.EdgeConv):
"""First convolution of the net... | 36.04 | 97 | 0.711432 | 128 | 901 | 4.78125 | 0.421875 | 0.03268 | 0.078431 | 0.068627 | 0.477124 | 0.477124 | 0.477124 | 0.477124 | 0.477124 | 0.477124 | 0 | 0.004138 | 0.195339 | 901 | 24 | 98 | 37.541667 | 0.84 | 0.486127 | 0 | 0 | 0 | 0 | 0.041096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.2 | 0.8 | 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 |
f093d852cef6411b7ab19d93f384d2748e225416 | 123 | py | Python | gym_connect/__init__.py | frknayk/gym_connect | 8d32efedd83c14ff41c893cb609fb407cf1ff356 | [
"MIT"
] | 3 | 2020-09-30T11:24:48.000Z | 2020-11-10T18:52:30.000Z | gym_connect/__init__.py | frknayk/gym_connect | 8d32efedd83c14ff41c893cb609fb407cf1ff356 | [
"MIT"
] | null | null | null | gym_connect/__init__.py | frknayk/gym_connect | 8d32efedd83c14ff41c893cb609fb407cf1ff356 | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(
id='connect-v0',
entry_point='gym_connect.envs:ConnectEnv',
) | 20.5 | 46 | 0.747967 | 16 | 123 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.130081 | 123 | 6 | 47 | 20.5 | 0.831776 | 0 | 0 | 0 | 0 | 0 | 0.298387 | 0.217742 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
f09f644944f107bc44c147535adeaa461468c347 | 553 | py | Python | src/course/models.py | skrcjstk/SpeakKo_Home | ed919e132724b41ff759c8a1eea5e231bee992cb | [
"MIT"
] | null | null | null | src/course/models.py | skrcjstk/SpeakKo_Home | ed919e132724b41ff759c8a1eea5e231bee992cb | [
"MIT"
] | null | null | null | src/course/models.py | skrcjstk/SpeakKo_Home | ed919e132724b41ff759c8a1eea5e231bee992cb | [
"MIT"
] | null | null | null | from django.db import models
from django.core.urlresolvers import reverse
# Create your models here.
class Subject(models.Model):
class_title = models.CharField(max_length=500)
class_description = models.CharField(max_length=1000)
class_logo = models.CharField(max_length=500)
class_level = models.Inte... | 22.12 | 62 | 0.728752 | 73 | 553 | 5.30137 | 0.534247 | 0.155039 | 0.186047 | 0.248062 | 0.165375 | 0.165375 | 0 | 0 | 0 | 0 | 0 | 0.028322 | 0.169982 | 553 | 24 | 63 | 23.041667 | 0.814815 | 0.195298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.2 | 0.1 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f0c51bcd424262dea99fc3e67eb64aaa340010cc | 4,026 | py | Python | 04_data_operation_preprocessing/data_operation.py | IBNBlank/learn_pytorch | 555f7b7bf8b9f0a1223180839f95f52a0134ba33 | [
"MIT"
] | null | null | null | 04_data_operation_preprocessing/data_operation.py | IBNBlank/learn_pytorch | 555f7b7bf8b9f0a1223180839f95f52a0134ba33 | [
"MIT"
] | null | null | null | 04_data_operation_preprocessing/data_operation.py | IBNBlank/learn_pytorch | 555f7b7bf8b9f0a1223180839f95f52a0134ba33 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
################################################################
# Copyright 2021 HUST Control Science Innovation Base.
# All rights reserved.
# Author: Dong Zhaorui 847235539@qq.com
# Date : 2021-12-06
################################################################
import torch
print("######... | 33.831933 | 77 | 0.443368 | 576 | 4,026 | 3.076389 | 0.171875 | 0.145598 | 0.067156 | 0.031603 | 0.388826 | 0.347065 | 0.286682 | 0.257901 | 0.189616 | 0.180023 | 0 | 0.032213 | 0.113264 | 4,026 | 118 | 78 | 34.118644 | 0.464146 | 0.120219 | 0 | 0.285714 | 0 | 0.025974 | 0.624852 | 0.217828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.012987 | 0.675325 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f0f33825b7721b43faa59098f8346d09b8ff95d2 | 208 | py | Python | oneflux/utils/__init__.py | trotca/ONEFlux | 9201beb15e6eca57bd6fd23a16cb5e46d4e2de7a | [
"BSD-3-Clause-LBNL"
] | 21 | 2020-09-15T01:31:49.000Z | 2022-03-31T15:39:08.000Z | oneflux/utils/__init__.py | Xueqian0314/ONEFlux | 55b6610499e8104450d84f134c3e53284d05e137 | [
"BSD-3-Clause-LBNL"
] | 19 | 2021-11-24T18:07:07.000Z | 2022-03-30T15:39:34.000Z | oneflux/utils/__init__.py | Xueqian0314/ONEFlux | 55b6610499e8104450d84f134c3e53284d05e137 | [
"BSD-3-Clause-LBNL"
] | 17 | 2020-12-16T13:19:52.000Z | 2022-03-29T14:23:33.000Z | '''
oneflux.util
For license information:
see LICENSE file or headers in oneflux.__init__.py
General utilities for oneflux
@author: Gilberto Pastorello
@contact: gzpastorello@lbl.gov
@date: 2017-01-31
'''
| 16 | 50 | 0.774038 | 29 | 208 | 5.413793 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044199 | 0.129808 | 208 | 12 | 51 | 17.333333 | 0.823204 | 0.956731 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f0f93ab9eb95d04f453c1c7d09d630e1a6264909 | 281 | py | Python | api/ansible_api/serializers/other.py | 240325184/KubeOperator | 777774050b236abf938a5a9ef505124c26e4916e | [
"Apache-2.0"
] | 3 | 2019-11-29T03:49:08.000Z | 2020-07-29T02:52:51.000Z | api/ansible_api/serializers/other.py | 240325184/KubeOperator | 777774050b236abf938a5a9ef505124c26e4916e | [
"Apache-2.0"
] | 27 | 2021-05-05T02:51:26.000Z | 2022-01-04T21:30:21.000Z | api/ansible_api/serializers/other.py | 240325184/KubeOperator | 777774050b236abf938a5a9ef505124c26e4916e | [
"Apache-2.0"
] | 1 | 2020-11-22T01:15:05.000Z | 2020-11-22T01:15:05.000Z | # -*- coding: utf-8 -*-
#
from rest_framework import serializers
__all__ = [
'ModuleSerializer', 'TaskSerializer',
]
class ModuleSerializer(serializers.Serializer):
pass
class TaskSerializer(serializers.Serializer):
task = serializers.CharField(max_length=1024)
| 15.611111 | 49 | 0.733096 | 26 | 281 | 7.692308 | 0.730769 | 0.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021008 | 0.153025 | 281 | 17 | 50 | 16.529412 | 0.819328 | 0.074733 | 0 | 0 | 0 | 0 | 0.116732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0b10198af5cedc1fe530eb76765fd65af3323526 | 1,680 | py | Python | nmosauth/auth_server/handlers.py | bbc/nmos-auth-server | 0f7a57f77798325e0b36b6a253570d111dd89603 | [
"Apache-2.0"
] | 9 | 2019-05-17T07:43:15.000Z | 2020-12-06T00:40:55.000Z | nmosauth/auth_server/handlers.py | bbc/nmos-auth-server | 0f7a57f77798325e0b36b6a253570d111dd89603 | [
"Apache-2.0"
] | 3 | 2019-06-14T14:50:48.000Z | 2020-05-07T13:40:54.000Z | nmosauth/auth_server/handlers.py | bbc/nmos-auth-server | 0f7a57f77798325e0b36b6a253570d111dd89603 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 British Broadcasting Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 33.6 | 88 | 0.7 | 225 | 1,680 | 5.16 | 0.48 | 0.05168 | 0.041344 | 0.046512 | 0.049096 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024006 | 0.206548 | 1,680 | 49 | 89 | 34.285714 | 0.846962 | 0.33869 | 0 | 0 | 0 | 0 | 0.060164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0 | 0.074074 | 0.148148 | 0.592593 | 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 |
0b155c67c74bbd823e9118bea9b923cbbb3c0a8d | 91 | py | Python | pythonCodeLink.py | roland-ndah/Rolando | 7dcd6c424c0b325fc67b400cfb7970e71814d5f3 | [
"Apache-2.0"
] | null | null | null | pythonCodeLink.py | roland-ndah/Rolando | 7dcd6c424c0b325fc67b400cfb7970e71814d5f3 | [
"Apache-2.0"
] | null | null | null | pythonCodeLink.py | roland-ndah/Rolando | 7dcd6c424c0b325fc67b400cfb7970e71814d5f3 | [
"Apache-2.0"
] | null | null | null | https://drive.google.com/drive/mobile/folders/1ARBQIJyUg6C6U2RxxsjjSGhwNqcnGKkd?usp=sharing | 91 | 91 | 0.879121 | 10 | 91 | 8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 91 | 1 | 91 | 91 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9be6a01860a177c9210b8307320b590e515e593f | 7,745 | py | Python | source/rttov_test/profile-datasets-py/standard54lev_allgas_seaonly/001.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | source/rttov_test/profile-datasets-py/standard54lev_allgas_seaonly/001.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T12:19:59.000Z | 2022-03-12T12:19:59.000Z | source/rttov_test/profile-datasets-py/standard54lev_allgas_seaonly/001.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | """
Profile ../profile-datasets-py/standard54lev_allgas_seaonly/001.py
file automaticaly created by prof_gen.py script
"""
self["ID"] = "../profile-datasets-py/standard54lev_allgas_seaonly/001.py"
self["Q"] = numpy.array([ 1.41160700e+00, 2.34372900e+00, 3.53382100e+00,
4.62808600e+00, 5.4... | 53.784722 | 92 | 0.57805 | 1,166 | 7,745 | 3.833619 | 0.479417 | 0.017897 | 0.010067 | 0.009396 | 0.034452 | 0.028412 | 0.028412 | 0.021477 | 0 | 0 | 0 | 0.65101 | 0.252292 | 7,745 | 143 | 93 | 54.160839 | 0.120877 | 0.015236 | 0 | 0 | 0 | 0 | 0.035738 | 0.007621 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9bf4a5ec5de0c76a855292b88d1cb901f7bb9f0d | 286 | py | Python | apps/inventory/api/serializers.py | mikespux/prov-jewellery-cloud | 4bb16b74d4f32eec938e64325c39bb5770ad2848 | [
"MIT"
] | 1 | 2020-05-17T22:27:02.000Z | 2020-05-17T22:27:02.000Z | apps/inventory/api/serializers.py | antorenge/prov-jewellery-cloud | de09048c7043d970d62d13dba1beac73c42ef281 | [
"MIT"
] | 7 | 2020-06-05T18:13:25.000Z | 2022-03-11T23:20:21.000Z | apps/inventory/api/serializers.py | mikespux/prov-jewellery-cloud | 4bb16b74d4f32eec938e64325c39bb5770ad2848 | [
"MIT"
] | null | null | null | """
Inventory serializers
"""
from rest_framework import serializers
from ..models import InventoryItem
class InventoryItemSerializer(serializers.ModelSerializer):
"""Serializer for inventory items"""
class Meta:
model = InventoryItem
fields = ('serial_no',)
| 20.428571 | 59 | 0.723776 | 26 | 286 | 7.884615 | 0.730769 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185315 | 286 | 13 | 60 | 22 | 0.879828 | 0.181818 | 0 | 0 | 0 | 0 | 0.040724 | 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 | 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 |
9bf83c9e50b1d4260c55c9c0d6b2b24ccf373f73 | 627 | py | Python | tests/test_process_writer_png.py | Guillaume-Guardia/ndf-python | 836498b210d2f921e76292df8046cd79006b458a | [
"MIT"
] | null | null | null | tests/test_process_writer_png.py | Guillaume-Guardia/ndf-python | 836498b210d2f921e76292df8046cd79006b458a | [
"MIT"
] | null | null | null | tests/test_process_writer_png.py | Guillaume-Guardia/ndf-python | 836498b210d2f921e76292df8046cd79006b458a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import unittest
import tempfile
import shutil
from pyndf.process.writer.factory import Writer
from pyndf.constants import CONST
class TestPngWriter(unittest.TestCase):
"""Test Class"""
@classmethod
def setUpClass(cls):
cls.directory = tempfile.mkdtemp()
def... | 17.416667 | 56 | 0.649123 | 70 | 627 | 5.671429 | 0.571429 | 0.09068 | 0.055416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002132 | 0.251994 | 627 | 35 | 57 | 17.914286 | 0.84435 | 0.07815 | 0 | 0.227273 | 0 | 0 | 0.014011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0.136364 | 0.272727 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9bfe04f993b08e7db5b2a61c786b04191fd61c13 | 324 | py | Python | testsuite/group-outputs/run.py | 3delight/OpenShadingLanguage | 74616c3707b2e1c3bd76341ab88c66326d87de13 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 2 | 2019-06-19T17:52:37.000Z | 2021-08-03T19:40:23.000Z | testsuite/group-outputs/run.py | 3delight/OpenShadingLanguage | 74616c3707b2e1c3bd76341ab88c66326d87de13 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | testsuite/group-outputs/run.py | 3delight/OpenShadingLanguage | 74616c3707b2e1c3bd76341ab88c66326d87de13 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# Copyright Contributors to the Open Shading Language project.
# SPDX-License-Identifier: BSD-3-Clause
# https://github.com/imageworks/OpenShadingLanguage
command = testshade("--groupoutputs -od half -o a a.exr -o b b.exr -o c c.exr -g 64 64 test")
outputs = [ "a.exr", "b.exr", "c.exr", "out.txt... | 36 | 93 | 0.700617 | 53 | 324 | 4.283019 | 0.735849 | 0.035242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.135802 | 324 | 8 | 94 | 40.5 | 0.792857 | 0.521605 | 0 | 0 | 0 | 0.5 | 0.609272 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5000a965a1ea554d4c69a3f078b8a6290e038634 | 297 | py | Python | output/models/nist_data/atomic/normalized_string/schema_instance/nistschema_sv_iv_atomic_normalized_string_pattern_5_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/normalized_string/schema_instance/nistschema_sv_iv_atomic_normalized_string_pattern_5_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/normalized_string/schema_instance/nistschema_sv_iv_atomic_normalized_string_pattern_5_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.normalized_string.schema_instance.nistschema_sv_iv_atomic_normalized_string_pattern_5_xsd.nistschema_sv_iv_atomic_normalized_string_pattern_5 import NistschemaSvIvAtomicNormalizedStringPattern5
__all__ = [
"NistschemaSvIvAtomicNormalizedStringPattern5",
]
| 49.5 | 229 | 0.909091 | 31 | 297 | 8 | 0.612903 | 0.193548 | 0.266129 | 0.16129 | 0.354839 | 0.354839 | 0.354839 | 0.354839 | 0 | 0 | 0 | 0.014134 | 0.047138 | 297 | 5 | 230 | 59.4 | 0.862191 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
50140855d48983751ba6d436fad8808d8bf96d19 | 305 | py | Python | tests/test_server.py | Anthchirp/postfix-quota-policyd | 12c18d2826dcb7bb811a590019731f06bc9b3f12 | [
"Apache-2.0"
] | null | null | null | tests/test_server.py | Anthchirp/postfix-quota-policyd | 12c18d2826dcb7bb811a590019731f06bc9b3f12 | [
"Apache-2.0"
] | null | null | null | tests/test_server.py | Anthchirp/postfix-quota-policyd | 12c18d2826dcb7bb811a590019731f06bc9b3f12 | [
"Apache-2.0"
] | null | null | null | import mock
from quotapolicyd.server import Server
import time
def test_start_server():
def callback(*args, **kwargs):
pass
with Server(callback=callback) as srv:
srv.listen()
server_reference = srv
time.sleep(0.3)
assert server_reference.opened
assert server_reference.closed
| 17.941176 | 40 | 0.737705 | 41 | 305 | 5.365854 | 0.585366 | 0.204545 | 0.190909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.180328 | 305 | 16 | 41 | 19.0625 | 0.872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0.083333 | 0.25 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5028c940cfd695fb1ac8025dae693d2ecf7f8051 | 110 | py | Python | shops/urls.py | mnosinov/nearbyshops_geodjango_project | 9b76800a3f063127176151c07e0e48935afceb03 | [
"MIT"
] | null | null | null | shops/urls.py | mnosinov/nearbyshops_geodjango_project | 9b76800a3f063127176151c07e0e48935afceb03 | [
"MIT"
] | null | null | null | shops/urls.py | mnosinov/nearbyshops_geodjango_project | 9b76800a3f063127176151c07e0e48935afceb03 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import ShopList
urlpatterns = [
path('', ShopList.as_view()),
]
| 15.714286 | 33 | 0.7 | 14 | 110 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 110 | 6 | 34 | 18.333333 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
502fd844bc29f329965b6f3b54e68e0670d3aa09 | 748 | py | Python | sample_size.py | SofianeHADDADI/bayesian_ab_test | 9082c70c173cf099ec7acb8f75f223a86a0f58a8 | [
"MIT"
] | null | null | null | sample_size.py | SofianeHADDADI/bayesian_ab_test | 9082c70c173cf099ec7acb8f75f223a86a0f58a8 | [
"MIT"
] | null | null | null | sample_size.py | SofianeHADDADI/bayesian_ab_test | 9082c70c173cf099ec7acb8f75f223a86a0f58a8 | [
"MIT"
] | null | null | null | """
Compute sample size using Hoeffding's inequality.
[Hoeffding's inequality](https://en.wikipedia.org/wiki/Hoeffding%27s_inequality)
Let X1, ..., Xn be independent random variables bounded by the interval [0, 1].
We define the empirical mean of these variables by
Sn = 1/n(X1+ ... +Xn)
Hoeffding's inequality ==> P(|S... | 29.92 | 88 | 0.680481 | 120 | 748 | 4.208333 | 0.508333 | 0.09901 | 0.118812 | 0.023762 | 0.051485 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067083 | 0.143048 | 748 | 24 | 89 | 31.166667 | 0.720749 | 0.828877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5031b36be0dffe3f9b6b0aabf46fb4c95d5fa2ea | 77 | py | Python | Module04/poop = [1, 2, 3, 4, 5].py | kholt90/DataStruct | acc42358f27ec4bac15b87e2bfd53b5843d592b6 | [
"Unlicense"
] | null | null | null | Module04/poop = [1, 2, 3, 4, 5].py | kholt90/DataStruct | acc42358f27ec4bac15b87e2bfd53b5843d592b6 | [
"Unlicense"
] | null | null | null | Module04/poop = [1, 2, 3, 4, 5].py | kholt90/DataStruct | acc42358f27ec4bac15b87e2bfd53b5843d592b6 | [
"Unlicense"
] | null | null | null | poop = [1, 2, 3, 4, 5]
for i in range(len(poop)):
print(len(poop[i+1:])) | 19.25 | 26 | 0.532468 | 17 | 77 | 2.411765 | 0.705882 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.207792 | 77 | 4 | 27 | 19.25 | 0.57377 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
504e50ea8e6b050409ba7140a14536cb33f8956a | 303 | py | Python | Python3/0419-Battleships-in-a-Board/soln.py | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | Python3/0419-Battleships-in-a-Board/soln.py | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | Python3/0419-Battleships-in-a-Board/soln.py | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | class Solution:
def countBattleships(self, board):
"""
:type board: List[List[str]]
:rtype: int
"""
return sum(val == 'X' for i, row in enumerate(board) for j, val in enumerate(row) if (j == 0 or board[i][j - 1] == '.') and (i == 0 or board[i - 1][j] == '.')) | 43.285714 | 167 | 0.511551 | 45 | 303 | 3.444444 | 0.577778 | 0.141935 | 0.103226 | 0.116129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.293729 | 303 | 7 | 167 | 43.285714 | 0.705607 | 0.132013 | 0 | 0 | 0 | 0 | 0.012931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
50527d31ecb6dda27b643ad9e3ae10e72edfd90c | 309 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/Python-Practice-Problems-master/temp/prac5.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/Python-Practice-Problems-master/temp/prac5.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/Python-Practice-Problems-master/temp/prac5.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | # Problem 5
# Take two lists, and write a program that returns a list that contains only the elements that are common between the lists (without duplicates). Make sure your program works on two lists of different sizes.
# Bonus:
# Randomly generate two lists to test this.
# Write this in one line of Python.
| 51.5 | 207 | 0.773463 | 52 | 309 | 4.596154 | 0.75 | 0.100418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003968 | 0.184466 | 309 | 5 | 208 | 61.8 | 0.944444 | 0.964401 | 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 |
505825c69db0f5db0c023cf3d8d7a92c83ffc845 | 2,353 | py | Python | head_first_design_patterns/factory/abstract_factory/pizza_ingredient_factory.py | incolumepy-cursos/poop | e4ac26b8d2a8c263a93fd9642fab52aafda53d80 | [
"MIT"
] | null | null | null | head_first_design_patterns/factory/abstract_factory/pizza_ingredient_factory.py | incolumepy-cursos/poop | e4ac26b8d2a8c263a93fd9642fab52aafda53d80 | [
"MIT"
] | null | null | null | head_first_design_patterns/factory/abstract_factory/pizza_ingredient_factory.py | incolumepy-cursos/poop | e4ac26b8d2a8c263a93fd9642fab52aafda53d80 | [
"MIT"
] | null | null | null | """
Notes:
- abstract factory interface declares a set of methods for
creating each of the abstract products.
- each concrete class defines its own products (ingredients)
- the returns are abstractions of the ingredients (abstract types)
"""
from abc import ABC, abstractmethod
from cheese import Chee... | 25.857143 | 70 | 0.697833 | 227 | 2,353 | 7.154185 | 0.268722 | 0.099754 | 0.084975 | 0.126232 | 0.493227 | 0.299877 | 0.206897 | 0.098522 | 0.098522 | 0.098522 | 0 | 0 | 0.221844 | 2,353 | 90 | 71 | 26.144444 | 0.886947 | 0.106672 | 0 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.295082 | false | 0 | 0.114754 | 0.196721 | 0.655738 | 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 |
ac9f84fde13cce296e78d043dfb02dcc62171431 | 937 | py | Python | jaegerserver/models.py | the-bombers/jaeger | 8912252af89154928f47bfde6912267d782371d1 | [
"Unlicense"
] | null | null | null | jaegerserver/models.py | the-bombers/jaeger | 8912252af89154928f47bfde6912267d782371d1 | [
"Unlicense"
] | 19 | 2021-03-17T10:22:19.000Z | 2021-03-19T15:13:08.000Z | jaegerserver/models.py | the-bombers/jaeger | 8912252af89154928f47bfde6912267d782371d1 | [
"Unlicense"
] | null | null | null | from django.db import models
class Monster(models.Model):
species = models.CharField(max_length=200)
name = models.CharField(max_length=200)
danger_level = models.IntegerField(default=0)
features = models.JSONField(default=["REDACTED"])
about = models.CharField(max_length=2000)
def __str__(self... | 34.703704 | 77 | 0.727855 | 116 | 937 | 5.681034 | 0.37931 | 0.109256 | 0.191199 | 0.254932 | 0.227618 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031726 | 0.159018 | 937 | 26 | 78 | 36.038462 | 0.804569 | 0 | 0 | 0.136364 | 0 | 0 | 0.060832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0.136364 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
acd393096aecfa884e1fae17ea3d5e8efee3bb21 | 87 | py | Python | src/appliance-onboarding-script/appliance_setup/avs/avsarconboarder/processor/type/_ProcessorType.py | Azure/ArcOnAVS | 9ecd26ceb2f49953db1beda07beba55c15e773ce | [
"MIT"
] | null | null | null | src/appliance-onboarding-script/appliance_setup/avs/avsarconboarder/processor/type/_ProcessorType.py | Azure/ArcOnAVS | 9ecd26ceb2f49953db1beda07beba55c15e773ce | [
"MIT"
] | null | null | null | src/appliance-onboarding-script/appliance_setup/avs/avsarconboarder/processor/type/_ProcessorType.py | Azure/ArcOnAVS | 9ecd26ceb2f49953db1beda07beba55c15e773ce | [
"MIT"
] | null | null | null | import enum
class ProcessorType(enum.Enum):
dhcp = 0
segment = 1
dns = 3
| 10.875 | 31 | 0.609195 | 12 | 87 | 4.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.310345 | 87 | 7 | 32 | 12.428571 | 0.833333 | 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 |
acd516c116f068c0b5e1561eb1397b219090fc81 | 182 | py | Python | sources/stage03/enten.py | kantel/pythonschulung2 | b13fb24770dd7789f3845aeb147a720dff272951 | [
"MIT"
] | null | null | null | sources/stage03/enten.py | kantel/pythonschulung2 | b13fb24770dd7789f3845aeb147a720dff272951 | [
"MIT"
] | null | null | null | sources/stage03/enten.py | kantel/pythonschulung2 | b13fb24770dd7789f3845aeb147a720dff272951 | [
"MIT"
] | null | null | null | suffix = "ack"
praefixe = "JKLMNOPQ"
for praefix in praefixe:
if praefix == "O" or praefix == "Q":
print(praefix + "u" + suffix)
else:
print(praefix + suffix) | 26 | 40 | 0.582418 | 22 | 182 | 4.818182 | 0.636364 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274725 | 182 | 7 | 41 | 26 | 0.80303 | 0 | 0 | 0 | 0 | 0 | 0.076503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 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 |
acfa2f70da75a4f905f3dd5ed729f9bab0226fb3 | 31 | py | Python | jupyter_wlm_spawner/__init__.py | dchirikov/jupyter_wlm_spawner | be0e5723f6dae017e7a1055d7055008bf57c2b3d | [
"MIT"
] | 2 | 2019-08-04T14:53:46.000Z | 2019-08-23T13:12:52.000Z | jupyter_wlm_spawner/__init__.py | dchirikov/jupyter_wlm_spawner | be0e5723f6dae017e7a1055d7055008bf57c2b3d | [
"MIT"
] | null | null | null | jupyter_wlm_spawner/__init__.py | dchirikov/jupyter_wlm_spawner | be0e5723f6dae017e7a1055d7055008bf57c2b3d | [
"MIT"
] | null | null | null | __author__ = 'Dmitry Chirikov'
| 15.5 | 30 | 0.774194 | 3 | 31 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.483871 | 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 |
4a1bb92180789809a2104b418ab394c7c5d123c3 | 110 | py | Python | examples/compare.py | tebzzz/archon | 5276e06ccc2e08e034473108a4dd8e36b6ba6078 | [
"MIT"
] | 78 | 2018-09-20T12:50:42.000Z | 2021-12-17T11:44:03.000Z | examples/compare.py | tebzzz/archon | 5276e06ccc2e08e034473108a4dd8e36b6ba6078 | [
"MIT"
] | 49 | 2018-11-18T16:58:27.000Z | 2019-09-29T18:41:51.000Z | examples/compare.py | tebzzz/archon | 5276e06ccc2e08e034473108a4dd8e36b6ba6078 | [
"MIT"
] | 21 | 2018-09-20T11:31:50.000Z | 2021-10-19T17:01:47.000Z | import archon.feeds.cryptocompare as cryptocompare
e = "Kucoin"
h = cryptocompare.get_hist("LTC","BTC",e)
| 18.333333 | 50 | 0.736364 | 15 | 110 | 5.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 110 | 5 | 51 | 22 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 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 |
4a23e10da8592da1795502e544741e2f7ca392e0 | 711 | py | Python | src/pyretem/subpackage1/module1.py | lpereira95/python-repo-template | 34a91d0d6d7fc6168e9e08deadb6d8fc7f304b9a | [
"MIT"
] | null | null | null | src/pyretem/subpackage1/module1.py | lpereira95/python-repo-template | 34a91d0d6d7fc6168e9e08deadb6d8fc7f304b9a | [
"MIT"
] | null | null | null | src/pyretem/subpackage1/module1.py | lpereira95/python-repo-template | 34a91d0d6d7fc6168e9e08deadb6d8fc7f304b9a | [
"MIT"
] | null | null | null | """This module contains classes.
"""
class AnObject:
"""Defines an object
Args:
a (bool): This is param `a` description.
b (np.array): This is param `b` description.
Attributes:
a (bool): An attribute.
b (np.array): Another attribute.
Notes:
There's a little ... | 21.545455 | 71 | 0.59353 | 85 | 711 | 4.894118 | 0.623529 | 0.024038 | 0.052885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308017 | 711 | 32 | 72 | 22.21875 | 0.845528 | 0.686357 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c585b91a7b7b6ac03b706c4166a4376e3b2865e7 | 162 | py | Python | FeatureAssembler/fstrategies/ASTEmbedding/argparse_base.py | sed-inf-u-szeged/DeepWaterFramework | 30e9c0145300e24834a3d4a7dde25002c638dd5a | [
"Apache-2.0"
] | 6 | 2020-06-18T22:38:09.000Z | 2022-01-13T14:32:56.000Z | FeatureAssembler/fstrategies/ASTEmbedding/argparse_base.py | sed-inf-u-szeged/DeepWaterFramework | 30e9c0145300e24834a3d4a7dde25002c638dd5a | [
"Apache-2.0"
] | 18 | 2020-01-13T08:32:53.000Z | 2021-07-23T08:26:02.000Z | FeatureAssembler/fstrategies/ASTEmbedding/argparse_base.py | sed-inf-u-szeged/DeepWaterFramework | 30e9c0145300e24834a3d4a7dde25002c638dd5a | [
"Apache-2.0"
] | 2 | 2020-06-18T09:50:59.000Z | 2021-03-18T04:52:53.000Z | import argparse
parser=argparse.ArgumentParser(add_help=False)
parser.add_argument('--baseDir', default='.')
parser.add_argument('--outputDir', default='output')
| 32.4 | 52 | 0.783951 | 19 | 162 | 6.526316 | 0.631579 | 0.145161 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04321 | 162 | 4 | 53 | 40.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
c5a240b72a2483e32a93d83718a54851d742c23b | 833 | py | Python | numazu_shop/lists/models.py | showyou/numazu_katteni_ouen | 481e832aae1c551f52846059fef52d35b709ff0f | [
"MIT"
] | null | null | null | numazu_shop/lists/models.py | showyou/numazu_katteni_ouen | 481e832aae1c551f52846059fef52d35b709ff0f | [
"MIT"
] | 4 | 2021-03-30T13:38:09.000Z | 2021-06-10T19:02:39.000Z | numazu_shop/lists/models.py | showyou/numazu_katteni_ouen | 481e832aae1c551f52846059fef52d35b709ff0f | [
"MIT"
] | null | null | null | from django.db import models
# 店
class Shop(models.Model):
title = models.CharField(max_length=128)
link = models.CharField(max_length=512, null=True)
desc = models.TextField(max_length=512, null=True)
def __str__(self):
return f"{self.title}"
# 記事
class Article(models.Model):
shop = mo... | 30.851852 | 60 | 0.708283 | 118 | 833 | 4.79661 | 0.381356 | 0.14311 | 0.169611 | 0.29682 | 0.581272 | 0.471731 | 0.397527 | 0.212014 | 0 | 0 | 0 | 0.049133 | 0.169268 | 833 | 26 | 61 | 32.038462 | 0.768786 | 0.004802 | 0 | 0.111111 | 0 | 0 | 0.052058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c5a8bef861f74b24ec31ed9f5fca7c15912ecad2 | 340 | py | Python | Fuzzy-SVM/utils.py | ritafolisi/Tirocinio | c9a14ac33ab20c3c6524d32de4634f93ece001fb | [
"CC-BY-4.0"
] | null | null | null | Fuzzy-SVM/utils.py | ritafolisi/Tirocinio | c9a14ac33ab20c3c6524d32de4634f93ece001fb | [
"CC-BY-4.0"
] | null | null | null | Fuzzy-SVM/utils.py | ritafolisi/Tirocinio | c9a14ac33ab20c3c6524d32de4634f93ece001fb | [
"CC-BY-4.0"
] | null | null | null | import numpy as np
from numpy import linalg
def linear_kernel(x1, x2):
return np.dot(x1, x2)
def polynomial_kernel(x, y, p=3):
return (1 + np.dot(x, y)) ** p
def gaussian_kernel(x, y, sigma):
# print(-linalg.norm(x-y)**2)
x=np.asarray(x)
y=np.asarray(y)
return np.exp((-linalg.norm(x-y)**2) / ... | 22.666667 | 62 | 0.605882 | 63 | 340 | 3.222222 | 0.412698 | 0.059113 | 0.078818 | 0.118227 | 0.128079 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036765 | 0.2 | 340 | 14 | 63 | 24.285714 | 0.709559 | 0.079412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.2 | 0.8 | 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 |
c5bc5658c7404d65ede3a51e812aecef36560bbd | 1,165 | py | Python | PreyBrain.py | mikaelarguedas/PyBioSim | 85eceeab882675942b8ab5eb2f8baf52cb02402e | [
"BSD-3-Clause"
] | null | null | null | PreyBrain.py | mikaelarguedas/PyBioSim | 85eceeab882675942b8ab5eb2f8baf52cb02402e | [
"BSD-3-Clause"
] | null | null | null | PreyBrain.py | mikaelarguedas/PyBioSim | 85eceeab882675942b8ab5eb2f8baf52cb02402e | [
"BSD-3-Clause"
] | null | null | null | '''
(c) 2015 Georgia Tech Research Corporation
This source code is released under the New BSD license. Please see the LICENSE.txt file included with this software for more information
authors: Arindam Bose (arindam.1993@gmail.com), Tucker Balch (trbalch@gmail.com)
'''
from Agent import Agent
from Ball import Ball
fr... | 32.361111 | 137 | 0.705579 | 122 | 1,165 | 6.704918 | 0.647541 | 0.01956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022976 | 0.215451 | 1,165 | 36 | 138 | 32.361111 | 0.871991 | 0.233476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.052632 | 0.368421 | 0 | 0.578947 | 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 |
c5bf3fbcffc022f252e00ac34315d273c100921d | 495 | py | Python | 2-resources/BLOG/ciriculumn/week-18/W18D2_lectures/06-blueprints/app/routes/main.py | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | null | null | null | 2-resources/BLOG/ciriculumn/week-18/W18D2_lectures/06-blueprints/app/routes/main.py | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | null | null | null | 2-resources/BLOG/ciriculumn/week-18/W18D2_lectures/06-blueprints/app/routes/main.py | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | 1 | 2021-11-05T07:48:26.000Z | 2021-11-05T07:48:26.000Z | from flask import Blueprint, render_template, redirect
from app.forms.login import LoginForm
bp = Blueprint('', __name__)
@bp.route('/')
def index():
return render_template('page.html', title='Welcome')
@bp.route('/login', methods=['GET', 'POST'])
def login():
form = LoginForm()
if form.validate_on_sub... | 21.521739 | 56 | 0.672727 | 63 | 495 | 5.126984 | 0.47619 | 0.173375 | 0.185759 | 0.148607 | 0.204334 | 0.204334 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153535 | 495 | 22 | 57 | 22.5 | 0.770883 | 0 | 0 | 0 | 0 | 0 | 0.119192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.133333 | 0.133333 | 0.6 | 0.133333 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c5c671f7f9f51df404c9cf619b918268c3b5e197 | 148 | py | Python | testedome/questions/quest_examples.py | EderReisS/pythonChallenges | a880358c2cb4de0863f4b4cada36b3d439a8a018 | [
"MIT"
] | null | null | null | testedome/questions/quest_examples.py | EderReisS/pythonChallenges | a880358c2cb4de0863f4b4cada36b3d439a8a018 | [
"MIT"
] | null | null | null | testedome/questions/quest_examples.py | EderReisS/pythonChallenges | a880358c2cb4de0863f4b4cada36b3d439a8a018 | [
"MIT"
] | 1 | 2021-07-29T23:20:17.000Z | 2021-07-29T23:20:17.000Z | class MathUtils:
@staticmethod
def average(a, b):
return (a + b)/2
if __name__ == '__main__':
print(MathUtils.average(1, 2))
| 14.8 | 34 | 0.594595 | 19 | 148 | 4.210526 | 0.736842 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.263514 | 148 | 9 | 35 | 16.444444 | 0.706422 | 0 | 0 | 0 | 0 | 0 | 0.054422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.5 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 3 |
c5d571e78fb73a8261e1c502b4d7fa93d1088f36 | 184 | py | Python | pypi-tools/examples/example-package/myPackage/somePython.py | jcortejoso/cloud-builders-community | 80bbc3dfbabf39d7594e08ed0ae57b1a2114cb99 | [
"Apache-2.0"
] | 1,031 | 2017-10-24T14:35:13.000Z | 2022-03-29T16:24:08.000Z | pypi-tools/examples/example-package/myPackage/somePython.py | jcortejoso/cloud-builders-community | 80bbc3dfbabf39d7594e08ed0ae57b1a2114cb99 | [
"Apache-2.0"
] | 431 | 2017-10-28T22:03:36.000Z | 2022-03-23T15:10:50.000Z | pypi-tools/examples/example-package/myPackage/somePython.py | jcortejoso/cloud-builders-community | 80bbc3dfbabf39d7594e08ed0ae57b1a2114cb99 | [
"Apache-2.0"
] | 891 | 2017-10-24T14:39:17.000Z | 2022-03-31T09:02:52.000Z | import numpy
def fahrToKelv(temp):
'''
takes a temperature `temp` in fahrenheit and returns it in Kelvin
'''
kelvin = 5./9. * (temp - 32.) + 273.15
return kelvin | 18.4 | 69 | 0.608696 | 25 | 184 | 4.48 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067164 | 0.271739 | 184 | 10 | 70 | 18.4 | 0.768657 | 0.353261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c5f52ec775723f7a13aa96620d6313ca8ab9f0ca | 68 | py | Python | oneLineNPrint.py | ksbhatkana/ksbhat-for-python | 2165e25347092274f1a08c9d9d0645c7f709e9c5 | [
"MIT"
] | null | null | null | oneLineNPrint.py | ksbhatkana/ksbhat-for-python | 2165e25347092274f1a08c9d9d0645c7f709e9c5 | [
"MIT"
] | null | null | null | oneLineNPrint.py | ksbhatkana/ksbhat-for-python | 2165e25347092274f1a08c9d9d0645c7f709e9c5 | [
"MIT"
] | null | null | null | n=int(input(print("Enter n")))
for i in range(n):
print(i,end=" ")
| 17 | 30 | 0.602941 | 14 | 68 | 2.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 68 | 3 | 31 | 22.666667 | 0.694915 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
c5faff33cee91715a98c3e4b49b840d895d70921 | 3,741 | py | Python | api/authority/base.py | ziegeer/autocert | 285df181508573918e280948e51cdd7c65743281 | [
"MIT"
] | null | null | null | api/authority/base.py | ziegeer/autocert | 285df181508573918e280948e51cdd7c65743281 | [
"MIT"
] | null | null | null | api/authority/base.py | ziegeer/autocert | 285df181508573918e280948e51cdd7c65743281 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
authority.base
'''
from itertools import product
from attrdict import AttrDict
from utils.format import fmt
from utils.exceptions import AutocertError
from app import app
class AuthorityConnectivityError(AutocertError):
def __init__(self, call):
msg = f... | 34.962617 | 121 | 0.649559 | 449 | 3,741 | 5.278396 | 0.23608 | 0.025316 | 0.04557 | 0.054008 | 0.266667 | 0.200844 | 0.123207 | 0.070886 | 0.070886 | 0 | 0 | 0.000684 | 0.218391 | 3,741 | 106 | 122 | 35.292453 | 0.80985 | 0.015504 | 0 | 0.065789 | 0 | 0.013158 | 0.087395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.276316 | false | 0 | 0.065789 | 0.118421 | 0.552632 | 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 |
a853ea99dc6def210498c7e2ea46497215efb5b8 | 425 | py | Python | adventofcode/tests/test_day12.py | jcfvalente/adventofcode2020 | ec0deede4661dd80945d96cb72b034579b9ac62e | [
"MIT"
] | null | null | null | adventofcode/tests/test_day12.py | jcfvalente/adventofcode2020 | ec0deede4661dd80945d96cb72b034579b9ac62e | [
"MIT"
] | null | null | null | adventofcode/tests/test_day12.py | jcfvalente/adventofcode2020 | ec0deede4661dd80945d96cb72b034579b9ac62e | [
"MIT"
] | null | null | null | from adventofcode.day12 import solve_part_one
from adventofcode.day12 import solve_part_two
def test_part_one():
puzzle = ["F10",
"N3",
"F7",
"R90",
"F11"]
assert solve_part_one(puzzle) == 25
def test_part_two():
puzzle = ["F10",
"N3"... | 20.238095 | 45 | 0.491765 | 46 | 425 | 4.282609 | 0.413043 | 0.182741 | 0.213198 | 0.274112 | 0.71066 | 0.71066 | 0.345178 | 0.345178 | 0.345178 | 0 | 0 | 0.096525 | 0.390588 | 425 | 20 | 46 | 21.25 | 0.664093 | 0 | 0 | 0.625 | 0 | 0 | 0.061176 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a862c205b1fa6f934e5fee928b989f2fd05e8e44 | 447 | py | Python | debug/cube_action_recorder/depth_transforms.py | gaborpelesz/cubenect | f995bc1b33c872deaf1bbb08f986b8ae944ece15 | [
"MIT"
] | null | null | null | debug/cube_action_recorder/depth_transforms.py | gaborpelesz/cubenect | f995bc1b33c872deaf1bbb08f986b8ae944ece15 | [
"MIT"
] | null | null | null | debug/cube_action_recorder/depth_transforms.py | gaborpelesz/cubenect | f995bc1b33c872deaf1bbb08f986b8ae944ece15 | [
"MIT"
] | null | null | null | import numpy as np
def accurate_depth_image(depth_data: np.ndarray, from_mm: int):
""" from a given milimeter, creates an image
consisting of datapoints with 255 mm range
"""
depth_data_translated = depth_data - from_mm
# use the original depth data as a mask
depth_data_translated[depth_da... | 31.928571 | 63 | 0.731544 | 68 | 447 | 4.544118 | 0.485294 | 0.262136 | 0.245955 | 0.23301 | 0.330097 | 0.330097 | 0.330097 | 0 | 0 | 0 | 0 | 0.030812 | 0.201342 | 447 | 13 | 64 | 34.384615 | 0.834734 | 0.272931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a8a7ea67dbabac09499737865af8a321f7087206 | 26 | py | Python | version.py | pat-schmitt/glacier_simulater | b09c0d00652d37786eb58d7b1698a0e8aabf1642 | [
"BSD-3-Clause"
] | 2 | 2021-02-07T10:02:55.000Z | 2021-10-03T09:34:52.000Z | version.py | pat-schmitt/glacier_simulater | b09c0d00652d37786eb58d7b1698a0e8aabf1642 | [
"BSD-3-Clause"
] | 19 | 2020-01-15T13:27:06.000Z | 2022-03-21T17:03:12.000Z | version.py | pat-schmitt/glacier_simulater | b09c0d00652d37786eb58d7b1698a0e8aabf1642 | [
"BSD-3-Clause"
] | null | null | null | __version__ = 'v1.6.dev'
| 8.666667 | 24 | 0.653846 | 4 | 26 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.153846 | 26 | 2 | 25 | 13 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.32 | 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 |
a8ab8bddf0638f4896cd418a372dbcd4472f4f89 | 401 | py | Python | backend/order/models.py | APokhylenko/mylunch | 82a1fa8771369b8d33fd6a64f0ecc7bf16399c08 | [
"MIT"
] | null | null | null | backend/order/models.py | APokhylenko/mylunch | 82a1fa8771369b8d33fd6a64f0ecc7bf16399c08 | [
"MIT"
] | null | null | null | backend/order/models.py | APokhylenko/mylunch | 82a1fa8771369b8d33fd6a64f0ecc7bf16399c08 | [
"MIT"
] | null | null | null | from django.db import models
from django.core.mail import send_mass_mail
from django.contrib.auth.models import User
from django.db.models.signals import post_save
from django.dispatch import receiver
class Product(models.Model):
name = models.CharField(max_length=30)
place = models.CharField(max_length=30)
... | 28.642857 | 46 | 0.76808 | 58 | 401 | 5.155172 | 0.551724 | 0.167224 | 0.080268 | 0.160535 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.15212 | 401 | 14 | 47 | 28.642857 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.454545 | 0.090909 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
76500c5baeb85baca065e3588a3499a8537b419e | 5,473 | py | Python | jams/samevalue.py | MuellerSeb/jams_python | 1bca04557da79d8f8a4c447f5ccc517c40ab7dfc | [
"MIT"
] | 9 | 2019-06-03T03:24:16.000Z | 2021-12-03T07:14:00.000Z | jams/samevalue.py | MuellerSeb/jams_python | 1bca04557da79d8f8a4c447f5ccc517c40ab7dfc | [
"MIT"
] | 6 | 2020-03-25T21:56:59.000Z | 2021-11-08T14:58:27.000Z | jams/samevalue.py | MuellerSeb/jams_python | 1bca04557da79d8f8a4c447f5ccc517c40ab7dfc | [
"MIT"
] | 5 | 2019-10-17T12:04:33.000Z | 2021-09-28T07:45:07.000Z | #!/usr/bin/env python
from __future__ import division, absolute_import, print_function
"""
Created on Sun Aug 30 18:35:32 2015
@author: wiedeman
"""
import numpy as np
"""
Checks if abs. differences of array values within a certain window are smaller than threshold.
Return mask.
Definition
... | 43.436508 | 124 | 0.606614 | 720 | 5,473 | 4.555556 | 0.316667 | 0.243902 | 0.362195 | 0.478049 | 0.326524 | 0.296037 | 0.296037 | 0.274085 | 0.274085 | 0.274085 | 0 | 0.013977 | 0.307144 | 5,473 | 125 | 125 | 43.784 | 0.851002 | 0.03161 | 0 | 0 | 0 | 0 | 0.009604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.15 | 0 | 0.25 | 0.05 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7662316bb9521aa29333b502d21f2670f9172d09 | 302 | py | Python | Exercicios/ex011COLORIDO.py | LeleCastanheira/cursoemvideo-python | 38f4c0613aa1f5d7385aee842db9aaaafb957a72 | [
"MIT"
] | null | null | null | Exercicios/ex011COLORIDO.py | LeleCastanheira/cursoemvideo-python | 38f4c0613aa1f5d7385aee842db9aaaafb957a72 | [
"MIT"
] | null | null | null | Exercicios/ex011COLORIDO.py | LeleCastanheira/cursoemvideo-python | 38f4c0613aa1f5d7385aee842db9aaaafb957a72 | [
"MIT"
] | null | null | null | l = float(input('Largura da parede: '))
h = float(input('Altura da parede: '))
print('Sua parede tem a dimensão de {} x {} e área de {}{}{}m².'.format(l, h, '\033[1;4m', l*h, '\033[m'))
print('Para pintar essa parede, você precisará de {}{:.2f}{}L de tinta.'.format('\033[1;4;34m', (l*h)/2, '\033[m'))
| 60.4 | 115 | 0.596026 | 56 | 302 | 3.214286 | 0.589286 | 0.033333 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 0.135762 | 302 | 4 | 116 | 75.5 | 0.609195 | 0 | 0 | 0 | 0 | 0 | 0.629139 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
767fb85f9cf9cd2ee47697ce1e54aaeae2672bfc | 413 | py | Python | other/dingding/dingtalk/api/rest/OapiImChatScencegroupInteractivecardCallbackRegisterRequest.py | hth945/pytest | 83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc | [
"Apache-2.0"
] | null | null | null | other/dingding/dingtalk/api/rest/OapiImChatScencegroupInteractivecardCallbackRegisterRequest.py | hth945/pytest | 83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc | [
"Apache-2.0"
] | null | null | null | other/dingding/dingtalk/api/rest/OapiImChatScencegroupInteractivecardCallbackRegisterRequest.py | hth945/pytest | 83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc | [
"Apache-2.0"
] | null | null | null | '''
Created by auto_sdk on 2020.12.23
'''
from dingtalk.api.base import RestApi
class OapiImChatScencegroupInteractivecardCallbackRegisterRequest(RestApi):
def __init__(self,url=None):
RestApi.__init__(self,url)
self.api_secret = None
self.callback_url = None
def getHttpMethod(self):
return 'POST'
def geta... | 25.8125 | 78 | 0.786925 | 51 | 413 | 6.156863 | 0.647059 | 0.050955 | 0.070064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.108959 | 413 | 15 | 79 | 27.533333 | 0.831522 | 0.079903 | 0 | 0 | 0 | 0 | 0.19086 | 0.180108 | 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 |
7691bcf7226a8d28455b04d9fa59f6299d9dd236 | 80 | py | Python | scphylo/tl/fitch/__init__.py | faridrashidi/scphylo-tools | 4574e2c015da58e59caa38e3b3e49b398c1379c1 | [
"BSD-3-Clause"
] | null | null | null | scphylo/tl/fitch/__init__.py | faridrashidi/scphylo-tools | 4574e2c015da58e59caa38e3b3e49b398c1379c1 | [
"BSD-3-Clause"
] | null | null | null | scphylo/tl/fitch/__init__.py | faridrashidi/scphylo-tools | 4574e2c015da58e59caa38e3b3e49b398c1379c1 | [
"BSD-3-Clause"
] | null | null | null | """Fitch Module."""
from scphylo.tl.fitch._fitch import fitch
__all__ = fitch
| 13.333333 | 41 | 0.725 | 11 | 80 | 4.818182 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 80 | 5 | 42 | 16 | 0.768116 | 0.1625 | 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 |
7698fde33a657f17eb8030c75b399f4c359f7645 | 7,163 | py | Python | python-scripts/HRdetector.py | rcassani/oculus-eeg | 9afc672800b4e23aea6c8b6d57f87f30d350c5fc | [
"MIT"
] | 1 | 2020-02-01T23:24:09.000Z | 2020-02-01T23:24:09.000Z | python-scripts/HRdetector.py | rcassani/oculus-eeg | 9afc672800b4e23aea6c8b6d57f87f30d350c5fc | [
"MIT"
] | null | null | null | python-scripts/HRdetector.py | rcassani/oculus-eeg | 9afc672800b4e23aea6c8b6d57f87f30d350c5fc | [
"MIT"
] | 1 | 2018-04-12T17:15:34.000Z | 2018-04-12T17:15:34.000Z | import numpy as np
import matplotlib.pyplot as plt
from util import coeffbandpass_filter, filtfilt, peaks_detection
class HeartRateDetector:
def __init__(self):
# channels
self.chl_qrs = 9 # channel(s) used for qrs record
# filter parameters
self.f_stop_low = 4 # Hz
... | 55.1 | 106 | 0.679324 | 757 | 7,163 | 6.310436 | 0.319683 | 0.022608 | 0.011304 | 0.011723 | 0.012351 | 0.007536 | 0 | 0 | 0 | 0 | 0 | 0.591137 | 0.221834 | 7,163 | 129 | 107 | 55.527132 | 0.265877 | 0.088929 | 0 | 0 | 0 | 0 | 0.024908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0.106383 | 0.06383 | 0 | 0.255319 | 0.06383 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
76c86a4b904a30f627457fece4187caec1f76430 | 1,139 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpOspfInterfaceBrief/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowIpOspfInterfaceBrief/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowIpOspfInterfaceBrief/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"instance": {
"65109": {
"areas": {
"0.0.0.8": {
"interfaces": {
"Loopback0": {
"ip_address": "10.169.197.254/32",
"cost": 1,
"state... | 33.5 | 62 | 0.231782 | 64 | 1,139 | 3.96875 | 0.484375 | 0.106299 | 0.129921 | 0.165354 | 0.350394 | 0.149606 | 0 | 0 | 0 | 0 | 0 | 0.163728 | 0.651449 | 1,139 | 33 | 63 | 34.515152 | 0.476071 | 0 | 0 | 0.181818 | 0 | 0 | 0.218613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
4f296f782b3f86426bb5b21e92e0d0029d6dee66 | 185 | py | Python | app/actions/actions.py | Vladikolev0321/Fitness-assistant-chatbot | 260ea6e27dd81f537f42386b4760403bac540409 | [
"MIT"
] | null | null | null | app/actions/actions.py | Vladikolev0321/Fitness-assistant-chatbot | 260ea6e27dd81f537f42386b4760403bac540409 | [
"MIT"
] | null | null | null | app/actions/actions.py | Vladikolev0321/Fitness-assistant-chatbot | 260ea6e27dd81f537f42386b4760403bac540409 | [
"MIT"
] | null | null | null | # This files contains your custom actions which can be used to run
# custom Python code.
#
# See this guide on how to implement these action:
# https://rasa.com/docs/rasa/custom-actions | 37 | 66 | 0.762162 | 31 | 185 | 4.548387 | 0.806452 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156757 | 185 | 5 | 67 | 37 | 0.903846 | 0.945946 | 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 |
4f3ef9ecc50d351aa63cea5b71eccf91c795d633 | 96 | py | Python | python/PracticeA.py | teinen/atcoder-beginners-selection-answers | 446a7a6de0f8d9ce6e2fd798ef467e55d7dc0119 | [
"MIT"
] | null | null | null | python/PracticeA.py | teinen/atcoder-beginners-selection-answers | 446a7a6de0f8d9ce6e2fd798ef467e55d7dc0119 | [
"MIT"
] | null | null | null | python/PracticeA.py | teinen/atcoder-beginners-selection-answers | 446a7a6de0f8d9ce6e2fd798ef467e55d7dc0119 | [
"MIT"
] | null | null | null | a = int(input())
b,c = map(int, input().split())
s = input()
print("{} {}".format(a + b + c, s)) | 24 | 35 | 0.5 | 17 | 96 | 2.823529 | 0.588235 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 4 | 35 | 24 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
4f44408821bf2a196df96d1f4764848ce481b751 | 324 | py | Python | tests/urls.py | androiz/drf-swagger-customization | a29b2aaca22cab0b5bbb36601b0ded3175c2ffed | [
"MIT"
] | 18 | 2017-05-25T07:43:27.000Z | 2017-12-17T18:57:51.000Z | tests/urls.py | androiz/drf-swagger-customization | a29b2aaca22cab0b5bbb36601b0ded3175c2ffed | [
"MIT"
] | 3 | 2020-02-11T23:17:46.000Z | 2021-06-10T18:37:27.000Z | tests/urls.py | androiz/drf-swagger-customization | a29b2aaca22cab0b5bbb36601b0ded3175c2ffed | [
"MIT"
] | null | null | null | # -*- coding: utf-8
from __future__ import unicode_literals, absolute_import
from django.conf.urls import url, include
from drf_swagger_customization.urls import urlpatterns as drf_swagger_customization_urls
urlpatterns = [
url(r'^', include(drf_swagger_customization_urls, namespace='drf_swagger_customization'))... | 29.454545 | 94 | 0.811728 | 41 | 324 | 6.02439 | 0.512195 | 0.161943 | 0.37247 | 0.327935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003448 | 0.104938 | 324 | 10 | 95 | 32.4 | 0.848276 | 0.052469 | 0 | 0 | 0 | 0 | 0.085246 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4f4fb01323b1537e5581758a27e1333f338b44ca | 5,438 | py | Python | src/commercetools/importapi/models/importoperations.py | lime-green/commercetools-python-sdk | 63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6 | [
"MIT"
] | 1 | 2021-04-07T20:01:30.000Z | 2021-04-07T20:01:30.000Z | src/commercetools/importapi/models/importoperations.py | lime-green/commercetools-python-sdk | 63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6 | [
"MIT"
] | null | null | null | src/commercetools/importapi/models/importoperations.py | lime-green/commercetools-python-sdk | 63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6 | [
"MIT"
] | null | null | null | # Generated file, please do not change!!!
import datetime
import enum
import typing
from ._abstract import _BaseType
from .common import ProcessingState
if typing.TYPE_CHECKING:
from .common import ProcessingState
from .errors import ErrorObject
__all__ = [
"ImportOperation",
"ImportOperationPagedRe... | 32.177515 | 108 | 0.68665 | 582 | 5,438 | 6.276632 | 0.219931 | 0.027101 | 0.034492 | 0.031207 | 0.384615 | 0.312346 | 0.289899 | 0.116616 | 0.116616 | 0.116616 | 0 | 0 | 0.231335 | 5,438 | 168 | 109 | 32.369048 | 0.873923 | 0.237587 | 0 | 0.345133 | 1 | 0 | 0.078909 | 0.023868 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079646 | false | 0 | 0.327434 | 0 | 0.681416 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4f5c6e5d05d01e51041080979d72807ca7a30567 | 819 | py | Python | src/apps/trainings/services/pandas_utils.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 27 | 2020-05-03T11:01:27.000Z | 2022-03-17T05:33:10.000Z | src/apps/trainings/services/pandas_utils.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 54 | 2020-05-09T01:18:41.000Z | 2022-01-22T10:31:15.000Z | src/apps/trainings/services/pandas_utils.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 9 | 2020-09-29T11:31:32.000Z | 2022-03-09T01:37:50.000Z | import logging
import pandas
logger = logging.getLogger(__name__)
class PandasUtilsService:
"""
This helper allows debug logs of pandas dataframe
"""
@staticmethod
def print_data_frame(x, level=logging.DEBUG):
pandas.set_option("display.max_rows", len(x))
pandas.set_option("disp... | 31.5 | 69 | 0.675214 | 100 | 819 | 5.28 | 0.43 | 0.246212 | 0.181818 | 0.208333 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012066 | 0.190476 | 819 | 25 | 70 | 32.76 | 0.784314 | 0.059829 | 0 | 0 | 0 | 0 | 0.257294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.235294 | 0.058824 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4f709b3badf80391c95ff8e3a1fa37e454edb99f | 1,043 | py | Python | accenv/lib/python3.4/site-packages/IPython/nbconvert/post_processors/base.py | adamshamsudeen/clubdin-dj | eb48c67dab3a4ae7c4032544eb4d64e0b1d7e15a | [
"MIT"
] | 26 | 2018-02-14T23:52:58.000Z | 2021-08-16T13:50:03.000Z | accenv/lib/python3.4/site-packages/IPython/nbconvert/post_processors/base.py | adamshamsudeen/clubdin-dj | eb48c67dab3a4ae7c4032544eb4d64e0b1d7e15a | [
"MIT"
] | null | null | null | accenv/lib/python3.4/site-packages/IPython/nbconvert/post_processors/base.py | adamshamsudeen/clubdin-dj | eb48c67dab3a4ae7c4032544eb4d64e0b1d7e15a | [
"MIT"
] | 10 | 2018-08-13T19:38:39.000Z | 2020-04-19T03:02:00.000Z | """
Basic post processor
"""
#-----------------------------------------------------------------------------
#Copyright (c) 2013, the IPython Development Team.
#
#Distributed under the terms of the Modified BSD License.
#
#The full license is in the file COPYING.txt, distributed with this software.
#--------------------... | 28.972222 | 78 | 0.347076 | 65 | 1,043 | 5.507692 | 0.707692 | 0.058659 | 0.092179 | 0.089385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004489 | 0.145733 | 1,043 | 35 | 79 | 29.8 | 0.397306 | 0.703739 | 0 | 0 | 0 | 0 | 0.016461 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4f803489d093236d1085da291381515bd67210a6 | 376 | py | Python | test_api_examples/test_body_data.py | prosky-pmaj/python-framework-for-web-ui-and-api-testing | 6218aca2e5a45f26507ab624724e1f17dca5546f | [
"MIT"
] | null | null | null | test_api_examples/test_body_data.py | prosky-pmaj/python-framework-for-web-ui-and-api-testing | 6218aca2e5a45f26507ab624724e1f17dca5546f | [
"MIT"
] | null | null | null | test_api_examples/test_body_data.py | prosky-pmaj/python-framework-for-web-ui-and-api-testing | 6218aca2e5a45f26507ab624724e1f17dca5546f | [
"MIT"
] | null | null | null | from apibase import http
from unittest import TestCase
class TestRequests(TestCase):
def test_body_string(self):
http.get('http://blazedemo.com/', data='MY PERFECT BODY')
def test_body_json(self):
http.get('http://blazedemo.com/', json={'foo': 'bar'})
def test_url_params(self):
h... | 26.857143 | 65 | 0.654255 | 51 | 376 | 4.705882 | 0.470588 | 0.0875 | 0.1375 | 0.1875 | 0.3375 | 0.3375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175532 | 376 | 13 | 66 | 28.923077 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.239362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4f9ae354f5864efb8a46376159776cb30afa6ed1 | 539 | py | Python | public/python/fiberhome/fh_cpu.py | ErnestoMuniz/neom-backend | 80d03cf252a5048d9b743d93e8a6d8dc22136c0f | [
"MIT"
] | null | null | null | public/python/fiberhome/fh_cpu.py | ErnestoMuniz/neom-backend | 80d03cf252a5048d9b743d93e8a6d8dc22136c0f | [
"MIT"
] | null | null | null | public/python/fiberhome/fh_cpu.py | ErnestoMuniz/neom-backend | 80d03cf252a5048d9b743d93e8a6d8dc22136c0f | [
"MIT"
] | null | null | null | import telnetlib
import sys
HOST = sys.argv[1]
user = sys.argv[2]
password = sys.argv[3]
tn = telnetlib.Telnet(HOST)
tn.read_until(b"Login: ")
tn.write(user.encode('ascii') + b"\n")
if password:
tn.read_until(b"Password: ")
tn.write(password.encode('ascii') + b"\n")
tn.read_until(b">")
tn.write(b"enable\n")
... | 24.5 | 84 | 0.656772 | 94 | 539 | 3.702128 | 0.319149 | 0.103448 | 0.189655 | 0.206897 | 0.387931 | 0.385057 | 0.385057 | 0.385057 | 0.385057 | 0.385057 | 0 | 0.01227 | 0.092764 | 539 | 21 | 85 | 25.666667 | 0.699387 | 0 | 0 | 0.222222 | 0 | 0 | 0.159555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.111111 | 0 | 0.111111 | 0.055556 | 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 |
4fa3c280fcd6e41afc9554faed637e6aea079b54 | 22 | py | Python | river/tests/tmigrations/__init__.py | manzerw/django-river | 58fa53ce9e1d790201afa8d044e85cb8ae00c55f | [
"BSD-3-Clause"
] | null | null | null | river/tests/tmigrations/__init__.py | manzerw/django-river | 58fa53ce9e1d790201afa8d044e85cb8ae00c55f | [
"BSD-3-Clause"
] | null | null | null | river/tests/tmigrations/__init__.py | manzerw/django-river | 58fa53ce9e1d790201afa8d044e85cb8ae00c55f | [
"BSD-3-Clause"
] | null | null | null | _author_ = "ahmetdal"
| 11 | 21 | 0.727273 | 2 | 22 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 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 |
96df605a3d8b7d9f6e7b2e0076f25aca14d3c59b | 1,087 | py | Python | hohi/floquet/tests/test_floquet_basis.py | jdrtommey/adiabatic_evolution | 76265c2a71c86dc0fecaae14c4c63d089c21c885 | [
"MIT"
] | null | null | null | hohi/floquet/tests/test_floquet_basis.py | jdrtommey/adiabatic_evolution | 76265c2a71c86dc0fecaae14c4c63d089c21c885 | [
"MIT"
] | null | null | null | hohi/floquet/tests/test_floquet_basis.py | jdrtommey/adiabatic_evolution | 76265c2a71c86dc0fecaae14c4c63d089c21c885 | [
"MIT"
] | null | null | null | from ..floquet_basis import *
import pytest
import numpy as np
def test_first():
"""
1 sidebands and two dimensions.
"""
index = 0
q=1
space_length=2
q_bands=1
assert floquet_basis(index,q,space_length,q_bands) == 4
def test_first2():
"""
1 sidebands and two dimension... | 17.819672 | 59 | 0.615455 | 158 | 1,087 | 4.025316 | 0.221519 | 0.172956 | 0.102201 | 0.125786 | 0.849057 | 0.849057 | 0.800314 | 0.680818 | 0.679245 | 0.562893 | 0 | 0.038071 | 0.275069 | 1,087 | 61 | 60 | 17.819672 | 0.769036 | 0.146274 | 0 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 1 | 0.142857 | false | 0 | 0.085714 | 0 | 0.228571 | 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 |
96e55dd2b9a20e906cf4afb337c9d9ac71cb0940 | 446 | py | Python | fossor/checks/check.py | NeolithEra/fossor | d8dbdc40f2f16da601c317dfa74b83e3932c9bb3 | [
"BSD-2-Clause"
] | 165 | 2017-12-14T18:44:25.000Z | 2020-12-09T01:48:57.000Z | fossor/checks/check.py | NeolithEra/fossor | d8dbdc40f2f16da601c317dfa74b83e3932c9bb3 | [
"BSD-2-Clause"
] | 12 | 2017-12-14T23:42:45.000Z | 2020-05-29T15:11:02.000Z | fossor/checks/check.py | NeolithEra/fossor | d8dbdc40f2f16da601c317dfa74b83e3932c9bb3 | [
"BSD-2-Clause"
] | 32 | 2017-12-14T17:51:57.000Z | 2020-06-12T13:11:47.000Z | # Copyright 2017 LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
# See LICENSE in the project root for license information.
# Template check class
from abc import abstractmethod
from fossor.plugin import Plugin
class Check(Plugin):
@abstractmethod
def run(self, variables)... | 29.733333 | 110 | 0.746637 | 60 | 446 | 5.55 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013928 | 0.195067 | 446 | 14 | 111 | 31.857143 | 0.913649 | 0.61435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
8c03f0958f07fd6451ab8d9d9166b3ec4d4748ed | 853 | py | Python | src/skmultiflow/trees/attribute_observer/__init__.py | lambertsbennett/scikit-multiflow | bc714fd5ee4f0a486adc00ec6ae39eafa64f81cc | [
"BSD-3-Clause"
] | 1 | 2020-04-16T10:17:03.000Z | 2020-04-16T10:17:03.000Z | src/skmultiflow/trees/attribute_observer/__init__.py | lambertsbennett/scikit-multiflow | bc714fd5ee4f0a486adc00ec6ae39eafa64f81cc | [
"BSD-3-Clause"
] | null | null | null | src/skmultiflow/trees/attribute_observer/__init__.py | lambertsbennett/scikit-multiflow | bc714fd5ee4f0a486adc00ec6ae39eafa64f81cc | [
"BSD-3-Clause"
] | null | null | null | from .attribute_class_observer import AttributeClassObserver
from .attribute_class_observer_null import AttributeClassObserverNull
from .nominal_attribute_class_observer import NominalAttributeClassObserver
from .nominal_attribute_regression_observer import NominalAttributeRegressionObserver
from .numeric_attribute_cla... | 71.083333 | 99 | 0.89449 | 59 | 853 | 12.474576 | 0.338983 | 0.095109 | 0.149457 | 0.070652 | 0.089674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07034 | 853 | 11 | 100 | 77.545455 | 0.928121 | 0 | 0 | 0 | 0 | 0 | 0.259086 | 0.259086 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.7 | 0 | 0.7 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8c05ee781da8aeac2d0e78be60f9e26c8b954f93 | 135 | py | Python | conan/tools.py | sourcedelica/conan-package-tools | 091d7f5e949a67e7bad9427708e65027dc8bd6cc | [
"MIT"
] | null | null | null | conan/tools.py | sourcedelica/conan-package-tools | 091d7f5e949a67e7bad9427708e65027dc8bd6cc | [
"MIT"
] | null | null | null | conan/tools.py | sourcedelica/conan-package-tools | 091d7f5e949a67e7bad9427708e65027dc8bd6cc | [
"MIT"
] | null | null | null |
def get_bool_from_env(var_name):
import os
val = os.getenv(var_name, None)
return val not in (None, "0", "None", "False")
| 22.5 | 50 | 0.644444 | 23 | 135 | 3.565217 | 0.73913 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.214815 | 135 | 5 | 51 | 27 | 0.764151 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8c380c570439d490692fb7e74592e41a0d7f41e5 | 1,290 | py | Python | nipype/interfaces/cmtk/tests/test_auto_Parcellate.py | dPys/nipype | 75030b29297808e7c9a9e91b411b685154dff60b | [
"Apache-2.0"
] | 1 | 2019-03-25T14:11:18.000Z | 2019-03-25T14:11:18.000Z | nipype/interfaces/cmtk/tests/test_auto_Parcellate.py | dPys/nipype | 75030b29297808e7c9a9e91b411b685154dff60b | [
"Apache-2.0"
] | 1 | 2017-01-05T01:24:33.000Z | 2017-01-05T01:24:33.000Z | nipype/interfaces/cmtk/tests/test_auto_Parcellate.py | wtriplett/nipype | 388f140fceaf55438a987e9cdfa2a8e995428afd | [
"Apache-2.0"
] | 1 | 2020-12-16T16:36:48.000Z | 2020-12-16T16:36:48.000Z | # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from ..parcellation import Parcellate
def test_Parcellate_inputs():
input_map = dict(
dilation=dict(usedefault=True,),
freesurfer_dir=dict(),
out_roi_file=dict(extensions=None, genfile=True,),
parcellation_name=dict(usedefault=T... | 34.864865 | 68 | 0.672868 | 157 | 1,290 | 5.312102 | 0.382166 | 0.151079 | 0.194245 | 0.184652 | 0.376499 | 0.346523 | 0.232614 | 0.232614 | 0.131894 | 0.131894 | 0 | 0 | 0.205426 | 1,290 | 36 | 69 | 35.833333 | 0.813659 | 0.039535 | 0 | 0.068966 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.103448 | 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 |
8c562ef2ae6a31253c8897f8a92525eebf689524 | 2,481 | py | Python | test_user_registration.py | lblaszkowski/training_with_selenium_python | 8af1f13f5422fa06968ad2129684a50fde915b4e | [
"Apache-2.0"
] | null | null | null | test_user_registration.py | lblaszkowski/training_with_selenium_python | 8af1f13f5422fa06968ad2129684a50fde915b4e | [
"Apache-2.0"
] | null | null | null | test_user_registration.py | lblaszkowski/training_with_selenium_python | 8af1f13f5422fa06968ad2129684a50fde915b4e | [
"Apache-2.0"
] | null | null | null | import pytest
from selenium import webdriver
import time
import string
import random
@pytest.fixture
def driver(request, browser="ff"):
if browser == "chrome" or browser == "ch":
wd = webdriver.Chrome(executable_path=r'Driver/CH/chromedriver.exe')
# wd = driver.maximize_window()
request.ad... | 37.590909 | 142 | 0.708585 | 321 | 2,481 | 5.199377 | 0.320872 | 0.107849 | 0.183343 | 0.204913 | 0.517675 | 0.39305 | 0.374476 | 0.374476 | 0.374476 | 0.272019 | 0 | 0.013251 | 0.148327 | 2,481 | 65 | 143 | 38.169231 | 0.776621 | 0.023781 | 0 | 0.235294 | 0 | 0.039216 | 0.225352 | 0.108119 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0.117647 | 0.098039 | 0 | 0.156863 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8c5c038d94b325a7693ff95c627a20a669f2240b | 180 | py | Python | ex0002.py | dev-cesaraugusto/Atividades-resolvidas-Python | 4467e0e3871cb6daef4573ab84708a2405fd8b8c | [
"MIT"
] | null | null | null | ex0002.py | dev-cesaraugusto/Atividades-resolvidas-Python | 4467e0e3871cb6daef4573ab84708a2405fd8b8c | [
"MIT"
] | null | null | null | ex0002.py | dev-cesaraugusto/Atividades-resolvidas-Python | 4467e0e3871cb6daef4573ab84708a2405fd8b8c | [
"MIT"
] | null | null | null | '''Faça um algoritmo que leia o nome de uma pessoa e digite "É um prazer te conhecer!". '''
nome = input('Digite o seu nome? ')
print('É um prazer te conhecer, {}!'.format(nome))
| 36 | 91 | 0.672222 | 31 | 180 | 3.903226 | 0.645161 | 0.049587 | 0.14876 | 0.181818 | 0.31405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 180 | 4 | 92 | 45 | 0.817568 | 0.466667 | 0 | 0 | 0 | 0 | 0.52809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
4fb31a54250dd60891702e9405b27cd4b1f79cd5 | 21,733 | py | Python | src/data/perturbations.py | stevieg3/ucl-nlp-group-project | 8eebe0299d67be01fa95164f96ce47ea8fc203cd | [
"MIT"
] | null | null | null | src/data/perturbations.py | stevieg3/ucl-nlp-group-project | 8eebe0299d67be01fa95164f96ce47ea8fc203cd | [
"MIT"
] | null | null | null | src/data/perturbations.py | stevieg3/ucl-nlp-group-project | 8eebe0299d67be01fa95164f96ce47ea8fc203cd | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import spacy
import random
from copy import deepcopy
from checklist.perturb import Perturb
from allennlp.data.tokenizers.spacy_tokenizer import SpacyTokenizer
from src.data.constants import \
ADJECTIVES, \
REVERSE_CONTRACTION_MAP, \
CONTRACTION_MAP, \
PUNCTUATION... | 41.39619 | 113 | 0.660056 | 2,830 | 21,733 | 4.759011 | 0.079152 | 0.121622 | 0.051233 | 0.06831 | 0.789724 | 0.757499 | 0.726388 | 0.691936 | 0.664687 | 0.652955 | 0 | 0.006285 | 0.260525 | 21,733 | 524 | 114 | 41.475191 | 0.831747 | 0.211982 | 0 | 0.571006 | 0 | 0 | 0.051492 | 0.027869 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.023669 | 0 | 0.071006 | 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 |
4fcaa8fafdda6ce60c9121b3eb77f800c6a97529 | 139 | py | Python | AnalysisEngine/Config.py | Mino521/USStockQuantitativeInvestment | 0522483ef17eda85da655a9e74e5e0950a7cbc29 | [
"MIT"
] | null | null | null | AnalysisEngine/Config.py | Mino521/USStockQuantitativeInvestment | 0522483ef17eda85da655a9e74e5e0950a7cbc29 | [
"MIT"
] | null | null | null | AnalysisEngine/Config.py | Mino521/USStockQuantitativeInvestment | 0522483ef17eda85da655a9e74e5e0950a7cbc29 | [
"MIT"
] | null | null | null | caDBserver= 'cadb.cc0uav02d2tx.ap-southeast-2.rds.amazonaws.com'
caDBusername= 'admin'
caDBpassword= 'HtIONyOLbioppFsbdSsG'
DBname = 'cadb' | 34.75 | 64 | 0.805755 | 15 | 139 | 7.466667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038168 | 0.057554 | 139 | 4 | 65 | 34.75 | 0.816794 | 0 | 0 | 0 | 0 | 0 | 0.564286 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4fee9d3b740c97f336821012193ca739911e4988 | 374 | py | Python | my/body/exercise/all.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 1,026 | 2020-03-16T16:53:29.000Z | 2022-03-29T16:03:38.000Z | my/body/exercise/all.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 102 | 2020-03-18T22:53:29.000Z | 2022-03-22T00:34:46.000Z | my/body/exercise/all.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 50 | 2020-03-17T21:00:34.000Z | 2022-03-28T08:37:13.000Z | '''
Combined exercise data
'''
from ...core.pandas import DataFrameT, check_dataframe
@check_dataframe
def dataframe() -> DataFrameT:
# this should be somehow more flexible...
from ...endomondo import dataframe as EDF
from ...runnerup import dataframe as RDF
import pandas as pd # type: ignore
re... | 20.777778 | 54 | 0.652406 | 44 | 374 | 5.5 | 0.613636 | 0.115702 | 0.140496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240642 | 374 | 17 | 55 | 22 | 0.852113 | 0.203209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0.4 | 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 |
4fef3bcf0eecff330e861032ff29a7a6818e1261 | 40 | py | Python | nssrc/com/citrix/netscaler/nitro/resource/stat/sc/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 2 | 2020-08-24T18:04:22.000Z | 2020-08-24T18:04:47.000Z | nssrc/com/citrix/netscaler/nitro/resource/stat/sc/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 1 | 2017-01-20T22:56:58.000Z | 2017-01-20T22:56:58.000Z | nssrc/com/citrix/netscaler/nitro/resource/stat/sc/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 6 | 2015-04-21T13:14:08.000Z | 2020-12-03T07:27:52.000Z | __all__ = ['sc_stats', 'scpolicy_stats'] | 40 | 40 | 0.725 | 5 | 40 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4ff032ee0e17370baaaf2d6dd61a45763957845a | 1,596 | py | Python | release/util/abstract_releaser.py | kbalante/amp4e_splunk_events_input | ff5d15504aff79f0c6b8f886edc946ac4ac28d8f | [
"BSD-2-Clause"
] | null | null | null | release/util/abstract_releaser.py | kbalante/amp4e_splunk_events_input | ff5d15504aff79f0c6b8f886edc946ac4ac28d8f | [
"BSD-2-Clause"
] | null | null | null | release/util/abstract_releaser.py | kbalante/amp4e_splunk_events_input | ff5d15504aff79f0c6b8f886edc946ac4ac28d8f | [
"BSD-2-Clause"
] | null | null | null | import os
import shutil
from distutils.dir_util import copy_tree
class AbstractReleaser(object):
DIRS_TO_ARCHIVE = []
APP_NAME = ''
EXCLUDED_FILES = ['local.meta', 'requirements-splunk.txt', '*.pyc', '*.pyo']
SPLUNKBASE_README = 'README_SPLUNKBASE.md'
LICENSE = 'LICENSE'
def __init__(self, ap... | 30.113208 | 97 | 0.677318 | 232 | 1,596 | 4.314655 | 0.24569 | 0.101898 | 0.08991 | 0.111888 | 0.313686 | 0.280719 | 0.260739 | 0.15984 | 0.075924 | 0.075924 | 0 | 0 | 0.200501 | 1,596 | 52 | 98 | 30.692308 | 0.784483 | 0 | 0 | 0.128205 | 0 | 0 | 0.060777 | 0.014411 | 0 | 0 | 0 | 0 | 0 | 1 | 0.282051 | false | 0 | 0.076923 | 0.128205 | 0.641026 | 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 |
8b0271bc164a2e596833e29986767c3cdcf40c6d | 35,324 | py | Python | sdk/digitaltwins/azure-digitaltwins-core/azure/digitaltwins/core/_generated/models/_models_py3.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/digitaltwins/azure-digitaltwins-core/azure/digitaltwins/core/_generated/models/_models_py3.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/digitaltwins/azure-digitaltwins-core/azure/digitaltwins/core/_generated/models/_models_py3.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 32.054446 | 158 | 0.638433 | 3,593 | 35,324 | 6.123574 | 0.078486 | 0.023861 | 0.045678 | 0.029452 | 0.724798 | 0.710435 | 0.687028 | 0.667167 | 0.640805 | 0.636624 | 0 | 0.000188 | 0.245159 | 35,324 | 1,101 | 159 | 32.08356 | 0.82497 | 0.35483 | 0 | 0.708402 | 0 | 0 | 0.138668 | 0.005205 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059308 | false | 0 | 0.00659 | 0 | 0.189456 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8b26e9a788b0a5b8d1bf05e7202f0609db498ed5 | 609 | py | Python | dependencies/amitools-0.1.0/amitools/vamos/label/LabelSegment.py | limi/AGSImager | d3771800308e61a7a07df4a9b361e5bd5ba9e409 | [
"MIT"
] | null | null | null | dependencies/amitools-0.1.0/amitools/vamos/label/LabelSegment.py | limi/AGSImager | d3771800308e61a7a07df4a9b361e5bd5ba9e409 | [
"MIT"
] | null | null | null | dependencies/amitools-0.1.0/amitools/vamos/label/LabelSegment.py | limi/AGSImager | d3771800308e61a7a07df4a9b361e5bd5ba9e409 | [
"MIT"
] | null | null | null | from LabelRange import LabelRange
class LabelSegment(LabelRange):
def __init__(self, name, addr, size, segment):
LabelRange.__init__(self, name, addr, size)
self.segment = segment
def get_symbol(self, addr):
return self.segment.find_symbol(addr - self.addr)
def get_src_line(self, addr):
return ... | 27.681818 | 57 | 0.692939 | 92 | 609 | 4.293478 | 0.293478 | 0.101266 | 0.075949 | 0.081013 | 0.35443 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192118 | 609 | 21 | 58 | 29 | 0.802846 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0.117647 | 0.588235 | 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 |
8c70ce1df4723d774a7a9e2126bd0a52db31b05a | 83 | py | Python | Object/Object1.py | liyuanyuan11/Python | d94cc7ab39e56c6e24bfc741a30da77590d1d220 | [
"MIT"
] | null | null | null | Object/Object1.py | liyuanyuan11/Python | d94cc7ab39e56c6e24bfc741a30da77590d1d220 | [
"MIT"
] | null | null | null | Object/Object1.py | liyuanyuan11/Python | d94cc7ab39e56c6e24bfc741a30da77590d1d220 | [
"MIT"
] | null | null | null | class Dog:
name=None
legs=None
age=None
gender=None
isCute=None | 13.833333 | 15 | 0.614458 | 12 | 83 | 4.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.313253 | 83 | 6 | 16 | 13.833333 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8c73b5e797091a676ee50c8e1891b7345d06a3f6 | 89 | py | Python | src/orders/signals/signals.py | iNerV/education-backend | 787c0d090eb6e4a9338812941b0246a6e1b8e7ad | [
"MIT"
] | null | null | null | src/orders/signals/signals.py | iNerV/education-backend | 787c0d090eb6e4a9338812941b0246a6e1b8e7ad | [
"MIT"
] | 1 | 2022-02-10T12:08:02.000Z | 2022-02-10T12:08:02.000Z | src/orders/signals/signals.py | iNerV/education-backend | 787c0d090eb6e4a9338812941b0246a6e1b8e7ad | [
"MIT"
] | null | null | null | from django.dispatch import Signal
order_got_shipped = Signal(providing_args=['order'])
| 22.25 | 52 | 0.808989 | 12 | 89 | 5.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 89 | 3 | 53 | 29.666667 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 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 |
8c9a10d069fab90cbee36069ad5f8cb7fe3c3294 | 248 | py | Python | posts/urls.py | hemanta212/django-rest | 36952bee7b4ddc6b52c5b306d711d516056af49a | [
"MIT"
] | null | null | null | posts/urls.py | hemanta212/django-rest | 36952bee7b4ddc6b52c5b306d711d516056af49a | [
"MIT"
] | null | null | null | posts/urls.py | hemanta212/django-rest | 36952bee7b4ddc6b52c5b306d711d516056af49a | [
"MIT"
] | null | null | null | from rest_framework.routers import SimpleRouter
from .views import PostViewSet, UserViewSet
router = SimpleRouter()
router.register('user', UserViewSet, basename='user')
router.register('', PostViewSet, basename='post')
urlpatterns = router.urls
| 27.555556 | 53 | 0.794355 | 27 | 248 | 7.259259 | 0.592593 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092742 | 248 | 8 | 54 | 31 | 0.871111 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 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 |
8cdb17a299fa44d904db12b9f17790b0917c817c | 1,258 | py | Python | launchpad/__init__.py | mikemalinowski/launchpad | e4a0c649cc6960cb0a7cacc768e6d103ec78d473 | [
"MIT"
] | null | null | null | launchpad/__init__.py | mikemalinowski/launchpad | e4a0c649cc6960cb0a7cacc768e6d103ec78d473 | [
"MIT"
] | null | null | null | launchpad/__init__.py | mikemalinowski/launchpad | e4a0c649cc6960cb0a7cacc768e6d103ec78d473 | [
"MIT"
] | null | null | null | """
Launchpad represents a small factory and a distinct abstract for defining
actionable items. This is particularly useful when creating libraries of
tools or processes which need to be exposed and invokable.
Each action contains general details such as name, description etc as well
as some richer functionality to in... | 27.347826 | 80 | 0.767091 | 195 | 1,258 | 4.887179 | 0.558974 | 0.062959 | 0.058762 | 0.072403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006692 | 0.168521 | 1,258 | 45 | 81 | 27.955556 | 0.904398 | 0.8593 | 0 | 0 | 0 | 0 | 0.029586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8cfac44a8e6edc6672483978e1fc34d697cfefd3 | 217 | py | Python | display/display/handlers/examples/e500.py | owlsn/h_crawl | c0431ee6484e61d9339553c3350962ea517749d6 | [
"MIT"
] | null | null | null | display/display/handlers/examples/e500.py | owlsn/h_crawl | c0431ee6484e61d9339553c3350962ea517749d6 | [
"MIT"
] | 8 | 2021-03-18T20:33:29.000Z | 2022-03-11T23:21:04.000Z | display/display/handlers/examples/e500.py | owlsn/h_crawl | c0431ee6484e61d9339553c3350962ea517749d6 | [
"MIT"
] | null | null | null | from display.handlers.base import BaseHandler
class Examples500Handler(BaseHandler):
def get(self):
title = 'Examples500Handler'
self.render('examples/500.html', title = title, **self.render_dict) | 36.166667 | 75 | 0.723502 | 24 | 217 | 6.5 | 0.708333 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049724 | 0.165899 | 217 | 6 | 75 | 36.166667 | 0.812155 | 0 | 0 | 0 | 0 | 0 | 0.16055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5098c55f999e6b400aa96af361a2c6e911312878 | 81,236 | py | Python | stockgame/vulgarity_list.py | kazaname/StockGame | 9812b4fe24c1e7747af2446b112e3ed933f1ebb8 | [
"Apache-2.0"
] | null | null | null | stockgame/vulgarity_list.py | kazaname/StockGame | 9812b4fe24c1e7747af2446b112e3ed933f1ebb8 | [
"Apache-2.0"
] | null | null | null | stockgame/vulgarity_list.py | kazaname/StockGame | 9812b4fe24c1e7747af2446b112e3ed933f1ebb8 | [
"Apache-2.0"
] | null | null | null | vulgarity_pl = ('chuj','chuja', 'chujek', 'chuju', 'chujem', 'chujnia',
'chujowy', 'chujowa', 'chujowe', 'cipa', 'cipę', 'cipe', 'cipą',
'cipie', 'dojebać','dojebac', 'dojebie', 'dojebał', 'dojebal',
'dojebała', 'dojebala', 'dojebałem', 'dojebalem', 'dojebałam',
'dojebalam', 'dojebię', 'dojebie', 'dopieprzać', 'dopiepr... | 606.238806 | 35,811 | 0.64517 | 9,552 | 81,236 | 5.48995 | 0.596838 | 0.001068 | 0.001144 | 0.000381 | 0.008333 | 0.007456 | 0.006217 | 0.005549 | 0.004844 | 0.004844 | 0 | 0.052889 | 0.094613 | 81,236 | 134 | 35,812 | 606.238806 | 0.659511 | 0 | 0 | 0 | 0 | 0 | 0.68454 | 0.000283 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007752 | 0 | 0.007752 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
509df73dd0ec4bee36485a2af0762c5659b85af2 | 678 | py | Python | onnx_jax/handlers/backend/ceil.py | gglin001/onnx_jax | 08e2a1181250db48f4436f6430903fc895a3a1d6 | [
"Apache-2.0"
] | 9 | 2021-04-12T02:37:14.000Z | 2022-03-28T23:31:40.000Z | onnx_jax/handlers/backend/ceil.py | gglin001/onnx-jax | 08e2a1181250db48f4436f6430903fc895a3a1d6 | [
"Apache-2.0"
] | null | null | null | onnx_jax/handlers/backend/ceil.py | gglin001/onnx-jax | 08e2a1181250db48f4436f6430903fc895a3a1d6 | [
"Apache-2.0"
] | null | null | null | from jax import jit, lax
from onnx_jax.handlers.backend_handler import BackendHandler
from onnx_jax.handlers.handler import onnx_op
from onnx_jax.pb_wrapper import OnnxNode
@onnx_op("Ceil")
class Ceil(BackendHandler):
@classmethod
def _common(cls, node: OnnxNode, **kwargs):
@jit
def _ceil(x):... | 23.37931 | 60 | 0.663717 | 87 | 678 | 4.988506 | 0.321839 | 0.138249 | 0.076037 | 0.131336 | 0.359447 | 0.359447 | 0.359447 | 0.359447 | 0.271889 | 0.271889 | 0 | 0.007663 | 0.230089 | 678 | 28 | 61 | 24.214286 | 0.823755 | 0 | 0 | 0.333333 | 0 | 0 | 0.0059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.190476 | 0.190476 | 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 |
50bb447437e4a3d5c1dbf648e23b74b8d5cc212a | 608 | py | Python | python/ray/tune/schedulers/__init__.py | cumttang/ray | eb1e5fa2cf26233701ccbda3eb8a301ecd418d8c | [
"Apache-2.0"
] | 29 | 2019-05-18T12:18:34.000Z | 2022-03-30T01:46:48.000Z | python/ray/tune/schedulers/__init__.py | collinswei/ray | 2e30f7ba386e716bf80f019dcd473b67d83abb95 | [
"Apache-2.0"
] | 8 | 2019-08-15T05:42:10.000Z | 2021-05-21T09:41:15.000Z | python/ray/tune/schedulers/__init__.py | collinswei/ray | 2e30f7ba386e716bf80f019dcd473b67d83abb95 | [
"Apache-2.0"
] | 8 | 2019-07-15T22:36:20.000Z | 2020-08-09T07:03:26.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from ray.tune.schedulers.trial_scheduler import TrialScheduler, FIFOScheduler
from ray.tune.schedulers.hyperband import HyperBandScheduler
from ray.tune.schedulers.async_hyperband import AsyncHyperBandScheduler... | 40.533333 | 77 | 0.853618 | 61 | 608 | 8.147541 | 0.409836 | 0.070423 | 0.110664 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087171 | 608 | 14 | 78 | 43.428571 | 0.895496 | 0 | 0 | 0 | 0 | 0 | 0.179276 | 0.075658 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.083333 | 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 | 0 | 1 | 0 | 0 | 3 |
50cc1c381cbbfa0e8a9cdea3f880ec69896fa0fe | 438 | py | Python | config/settings/dev.py | vi-n/papermerge | d780e83390e604ef6e935af86299af0d655707a7 | [
"Apache-2.0"
] | null | null | null | config/settings/dev.py | vi-n/papermerge | d780e83390e604ef6e935af86299af0d655707a7 | [
"Apache-2.0"
] | null | null | null | config/settings/dev.py | vi-n/papermerge | d780e83390e604ef6e935af86299af0d655707a7 | [
"Apache-2.0"
] | null | null | null | from .base import * # noqa
DEBUG = True
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
}
},
'loggers': {
'papermerge': {
'handlers': ['console'],
'level': 'DEBUG... | 17.52 | 45 | 0.417808 | 29 | 438 | 6.241379 | 0.724138 | 0.248619 | 0.220994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003846 | 0.406393 | 438 | 24 | 46 | 18.25 | 0.692308 | 0.009132 | 0 | 0.095238 | 0 | 0 | 0.333333 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
50d88dfbb6f596245c9f3ce36c05da587a3ddb1b | 1,801 | py | Python | 11_Usert_Registration.py | e-davydenkova/SeleniumWebDriver_Training | e03cfbe4ea74ddc8f0c575d8fcaa3a6c7ccb7d0a | [
"Apache-2.0"
] | null | null | null | 11_Usert_Registration.py | e-davydenkova/SeleniumWebDriver_Training | e03cfbe4ea74ddc8f0c575d8fcaa3a6c7ccb7d0a | [
"Apache-2.0"
] | null | null | null | 11_Usert_Registration.py | e-davydenkova/SeleniumWebDriver_Training | e03cfbe4ea74ddc8f0c575d8fcaa3a6c7ccb7d0a | [
"Apache-2.0"
] | null | null | null | from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
driver = webdriver.Chrome()
driver.get("http://localhost/litecart/en/")
def get_unique_email():
return str(time.time()) + "@test.com"
for i in range(2):
# click on 'New customers click here' link
driver.find_eleme... | 51.457143 | 133 | 0.768462 | 257 | 1,801 | 5.101167 | 0.284047 | 0.106789 | 0.181541 | 0.202899 | 0.530892 | 0.530892 | 0.508009 | 0.508009 | 0.44241 | 0.375286 | 0 | 0.012828 | 0.091061 | 1,801 | 35 | 134 | 51.457143 | 0.788027 | 0.071627 | 0 | 0 | 0 | 0 | 0.359113 | 0.073141 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0.086957 | 0.130435 | 0.043478 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
50f015c26271645c687391a18ae99bc22306a9dc | 215 | py | Python | samples/copyimage.py | sharanp98/AdGency | b1a619d3be15c0e4b4451c762eeab3dbcad11169 | [
"MIT"
] | 1 | 2020-04-12T13:28:49.000Z | 2020-04-12T13:28:49.000Z | samples/copyimage.py | sharanp98/AdGency | b1a619d3be15c0e4b4451c762eeab3dbcad11169 | [
"MIT"
] | 9 | 2020-04-08T06:18:46.000Z | 2020-04-13T11:32:02.000Z | samples/copyimage.py | sharanp98/Intelligent-Advertisement-Generation | b1a619d3be15c0e4b4451c762eeab3dbcad11169 | [
"MIT"
] | 1 | 2020-06-05T07:05:40.000Z | 2020-06-05T07:05:40.000Z | import shutil
import os
print('Shutil:'+os.getcwd())
try:
shutil.copy('./segmented_images/final.png','./api/static')
print('Copied Final successfully')
except OSError as err:
print ("Shutil Error:"+err) | 23.888889 | 62 | 0.697674 | 29 | 215 | 5.137931 | 0.689655 | 0.147651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134884 | 215 | 9 | 63 | 23.888889 | 0.801075 | 0 | 0 | 0 | 0 | 0 | 0.393519 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.375 | 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 |
50fb3f12fa308389444ae58ec61a23d87aaf24b0 | 88 | py | Python | labs7_med_dash_project/rx_info/apps.py | Lambda-School-Labs/CS10-medical-dashboard | 71a0acf4c45aab976797db60a3acf60c739e7e3e | [
"MIT"
] | 3 | 2018-09-13T22:49:33.000Z | 2018-09-27T23:35:43.000Z | labs7_med_dash_project/rx_info/apps.py | Lambda-School-Labs/CS10-medical-dashboard | 71a0acf4c45aab976797db60a3acf60c739e7e3e | [
"MIT"
] | 3 | 2020-02-11T23:48:18.000Z | 2021-06-10T21:15:44.000Z | local_deploy/rx_info/apps.py | jojordan3/prescription-search-django | 7c36766e7bac5d22e42d6bd2bae7ca3d5865f93b | [
"MIT"
] | 2 | 2018-09-20T21:04:11.000Z | 2019-03-21T21:44:15.000Z | from django.apps import AppConfig
class RxInfoConfig(AppConfig):
name = 'rx_info'
| 14.666667 | 33 | 0.75 | 11 | 88 | 5.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 5 | 34 | 17.6 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 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 |
0fa133501e0fd8a0918592b49880a6af2e00f1cc | 585 | py | Python | tests/test_factory.py | vimtor/quickd | 9b75a5ddf047e8e93530b6b190a1b6ae2e98a77a | [
"MIT"
] | 1 | 2021-03-13T08:41:19.000Z | 2021-03-13T08:41:19.000Z | tests/test_factory.py | vimtor/quickd | 9b75a5ddf047e8e93530b6b190a1b6ae2e98a77a | [
"MIT"
] | null | null | null | tests/test_factory.py | vimtor/quickd | 9b75a5ddf047e8e93530b6b190a1b6ae2e98a77a | [
"MIT"
] | null | null | null | from quickd import service, inject, factory
@service
class UserCreator:
def __init__(self):
pass
def create(self):
pass
class CreateUserCommandHandler:
@inject
def __init__(self, creator: UserCreator):
self.creator = creator
def __call__(self):
... | 16.714286 | 46 | 0.62906 | 54 | 585 | 6.518519 | 0.444444 | 0.09375 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297436 | 585 | 34 | 47 | 17.205882 | 0.856448 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0.045455 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0fced3f47e4818420caff119d4d012ca08a94f85 | 76 | py | Python | test/fixtures/python/corpus/binary-operator.A.py | matsubara0507/semantic | 67899f701abc0f1f0cb4374d8d3c249afc33a272 | [
"MIT"
] | 8,844 | 2019-05-31T15:47:12.000Z | 2022-03-31T18:33:51.000Z | test/fixtures/python/corpus/binary-operator.A.py | matsubara0507/semantic | 67899f701abc0f1f0cb4374d8d3c249afc33a272 | [
"MIT"
] | 401 | 2019-05-31T18:30:26.000Z | 2022-03-31T16:32:29.000Z | test/fixtures/python/corpus/binary-operator.A.py | matsubara0507/semantic | 67899f701abc0f1f0cb4374d8d3c249afc33a272 | [
"MIT"
] | 504 | 2019-05-31T17:55:03.000Z | 2022-03-30T04:15:04.000Z | a + b
c - d
e * f
g / h
i % j
k // l
m ** n
o | p
q & r
s ^ t
u << v
w >> x
| 5.846154 | 6 | 0.315789 | 24 | 76 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 76 | 12 | 7 | 6.333333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0fcfb1899e9b51e1b38ad5df792a9a240d137546 | 126,830 | py | Python | python/bempp/lib.py | mdavezac/bempp | bc573062405bda107d1514e40b6153a8350d5ab5 | [
"BSL-1.0"
] | null | null | null | python/bempp/lib.py | mdavezac/bempp | bc573062405bda107d1514e40b6153a8350d5ab5 | [
"BSL-1.0"
] | null | null | null | python/bempp/lib.py | mdavezac/bempp | bc573062405bda107d1514e40b6153a8350d5ab5 | [
"BSL-1.0"
] | null | null | null | # Copyright (C) 2011-2012 by the BEM++ Authors
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, pu... | 45.231812 | 100 | 0.68904 | 13,800 | 126,830 | 6.311232 | 0.068116 | 0.013376 | 0.01209 | 0.015431 | 0.732878 | 0.719307 | 0.699971 | 0.684884 | 0.673058 | 0.655227 | 0 | 0.011353 | 0.256209 | 126,830 | 2,803 | 101 | 45.247949 | 0.911899 | 0.013688 | 0 | 0.556555 | 0 | 0 | 0.138756 | 0.071991 | 0 | 0 | 0 | 0.000357 | 0 | 0 | null | null | 0.001285 | 0.006427 | null | null | 0.006427 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0fd0b31db7a771d9e3be3ad76baa6ddc1a1028b3 | 224 | py | Python | robustnessgym/core/constants.py | ANarayan/robustness-gym | eed2800985631fbbe6491b5f6f0731a067eef78e | [
"Apache-2.0"
] | 1 | 2021-01-18T09:00:43.000Z | 2021-01-18T09:00:43.000Z | robustnessgym/core/constants.py | ANarayan/robustness-gym | eed2800985631fbbe6491b5f6f0731a067eef78e | [
"Apache-2.0"
] | null | null | null | robustnessgym/core/constants.py | ANarayan/robustness-gym | eed2800985631fbbe6491b5f6f0731a067eef78e | [
"Apache-2.0"
] | 1 | 2021-12-27T01:23:37.000Z | 2021-12-27T01:23:37.000Z | CACHEDOPS = "cachedoperations"
SLICEBUILDERS = "slicebuilders"
GENERIC = "slicebuilder"
SUBPOPULATION = "subpopulation"
ATTACK = "attack"
AUGMENTATION = "augmentation"
TRANSFORMATION = "transformation"
CURATION = "curated"
| 22.4 | 33 | 0.78125 | 16 | 224 | 10.9375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111607 | 224 | 9 | 34 | 24.888889 | 0.879397 | 0 | 0 | 0 | 0 | 0 | 0.415179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0fdf282978a9dfeae4ee8b324f5e541cf948765c | 365 | py | Python | api/models/contact.py | Zylphrex/drakma | b68692cead378c033e0122acec7c468ea56ac121 | [
"MIT"
] | null | null | null | api/models/contact.py | Zylphrex/drakma | b68692cead378c033e0122acec7c468ea56ac121 | [
"MIT"
] | 3 | 2022-02-13T15:34:20.000Z | 2022-02-27T06:21:52.000Z | api/models/contact.py | Zylphrex/drakma | b68692cead378c033e0122acec7c468ea56ac121 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.db import models
from djmoney.models.fields import MoneyField
class Contact(models.Model):
user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, primary_key=True)
phone_number = models.CharField(max_length=64)
def __str__(self):
... | 30.416667 | 101 | 0.769863 | 51 | 365 | 5.294118 | 0.647059 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006349 | 0.136986 | 365 | 11 | 102 | 33.181818 | 0.850794 | 0 | 0 | 0 | 0 | 0 | 0.084932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
0fe125b005a0791fb52b6888857db304cf95c88c | 324 | py | Python | bot/triggers/commands/games.py | elihschiff/Rubber-Duck-Python | 24dea3b64a8a46368cd8dd995c800375f355b55e | [
"MIT"
] | 7 | 2020-07-07T20:58:14.000Z | 2021-12-23T02:51:20.000Z | bot/triggers/commands/games.py | elihschiff/Rubber-Duck-Python | 24dea3b64a8a46368cd8dd995c800375f355b55e | [
"MIT"
] | null | null | null | bot/triggers/commands/games.py | elihschiff/Rubber-Duck-Python | 24dea3b64a8a46368cd8dd995c800375f355b55e | [
"MIT"
] | 1 | 2020-03-29T13:36:43.000Z | 2020-03-29T13:36:43.000Z | from . import Command
import random
import nextcord
# Global game dictionary used amongst all games to keep track of memory usage
GLOBAL_GAMES = dict()
class Game(Command):
causes_spam = True
# get a randomized game footer
def get_game_footer(self, client):
return random.choice(client.game_foote... | 21.6 | 77 | 0.743827 | 46 | 324 | 5.130435 | 0.717391 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200617 | 324 | 14 | 78 | 23.142857 | 0.911197 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
0fe437d6a79476c5fcf388490f406f6a2291295c | 3,425 | py | Python | ZZZ_OtherDemo/00-dyld-832.7.3/testing/kernel-cache-tests/hello-world-kernel/test.py | 1079278593/TreasureChest | 8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8 | [
"MIT"
] | null | null | null | ZZZ_OtherDemo/00-dyld-832.7.3/testing/kernel-cache-tests/hello-world-kernel/test.py | 1079278593/TreasureChest | 8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8 | [
"MIT"
] | null | null | null | ZZZ_OtherDemo/00-dyld-832.7.3/testing/kernel-cache-tests/hello-world-kernel/test.py | 1079278593/TreasureChest | 8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8 | [
"MIT"
] | null | null | null | #!/usr/bin/python2.7
import os
import KernelCollection
def check(kernel_cache):
kernel_cache.buildKernelCollection("arm64", "/hello-world-kernel/main.kc", "/hello-world-kernel/main.kernel", None, [], [])
# Check the layout
kernel_cache.analyze("/hello-world-kernel/main.kc", ["-layout", "-arch", "arm64"]... | 61.160714 | 279 | 0.671241 | 418 | 3,425 | 5.311005 | 0.205742 | 0.188288 | 0.312162 | 0.340541 | 0.732432 | 0.686036 | 0.620721 | 0.427027 | 0.128829 | 0.085586 | 0 | 0.051374 | 0.107737 | 3,425 | 55 | 280 | 62.272727 | 0.675065 | 0.103066 | 0 | 0.1 | 0 | 0 | 0.31833 | 0.045336 | 0 | 0 | 0.040117 | 0 | 0.825 | 1 | 0.025 | false | 0 | 0.05 | 0 | 0.075 | 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 |
ba099007379a080a5732d4d07227e113bcaa1c7e | 948 | py | Python | gluon/packages/dal/pydal/representers/mssql.py | jessicadelrio/HandyHouse | 058e8981da850790c84f990fd2a3bbcf9aa695cc | [
"BSD-3-Clause"
] | 21 | 2018-02-16T17:43:59.000Z | 2021-12-29T12:08:28.000Z | gluon/packages/dal/pydal/representers/mssql.py | jessicadelrio/HandyHouse | 058e8981da850790c84f990fd2a3bbcf9aa695cc | [
"BSD-3-Clause"
] | 12 | 2017-11-01T14:54:29.000Z | 2018-02-01T22:02:12.000Z | gluon/packages/dal/pydal/representers/mssql.py | jessicadelrio/HandyHouse | 058e8981da850790c84f990fd2a3bbcf9aa695cc | [
"BSD-3-Clause"
] | 8 | 2018-10-08T03:48:00.000Z | 2022-03-31T12:13:01.000Z | from ..adapters.mssql import MSSQL
from .base import SQLRepresenter, JSONRepresenter
from . import representers, before_type, for_type
@representers.register_for(MSSQL)
class MSSQLRepresenter(SQLRepresenter, JSONRepresenter):
def _make_geoextra(self, field_type, srid):
geotype, params = field_type[:-1].sp... | 32.689655 | 67 | 0.682489 | 111 | 948 | 5.621622 | 0.324324 | 0.086538 | 0.0625 | 0.060897 | 0.160256 | 0.160256 | 0.160256 | 0.160256 | 0.160256 | 0.160256 | 0 | 0.007823 | 0.190928 | 948 | 28 | 68 | 33.857143 | 0.805737 | 0 | 0 | 0 | 0 | 0 | 0.111814 | 0.070675 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.136364 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ba14f59acc4f7cb27a43188a40bdf0f4d35960ce | 946 | py | Python | Fletnix/apps/movies/models.py | FuryAndRage/Fletnix | 99cc015c799eda24d605ecb9706f809fa6a05392 | [
"MIT"
] | null | null | null | Fletnix/apps/movies/models.py | FuryAndRage/Fletnix | 99cc015c799eda24d605ecb9706f809fa6a05392 | [
"MIT"
] | 1 | 2021-02-21T11:08:36.000Z | 2021-02-24T20:42:01.000Z | Fletnix/apps/movies/models.py | FuryAndRage/Fletnix | 99cc015c799eda24d605ecb9706f809fa6a05392 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
class Movies(models.Model):
user = models.ForeignKey(User, on_delete=models.CASCADE, related_name='movies', null=True, blank=True)
title = models.CharField(max_length=255, null=True, default='')
summary = models.TextField(null=True,d... | 43 | 106 | 0.713531 | 124 | 946 | 5.346774 | 0.370968 | 0.144796 | 0.180995 | 0.180995 | 0.546003 | 0.319759 | 0.319759 | 0.319759 | 0.129713 | 0 | 0 | 0.016049 | 0.143763 | 946 | 21 | 107 | 45.047619 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0.013742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.117647 | 0.058824 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.