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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1407d73aabdb0dc6f9393a9292758d517ff0c490 | 3,196 | py | Python | src/spyd/permissions/permission_resolver.py | fdChasm/spyd | 38e070d10290c2da1e9e5c2226aace871e4dcc59 | [
"Zlib"
] | 4 | 2015-05-05T16:44:42.000Z | 2020-10-27T09:45:23.000Z | src/spyd/permissions/permission_resolver.py | fdChasm/spyd | 38e070d10290c2da1e9e5c2226aace871e4dcc59 | [
"Zlib"
] | null | null | null | src/spyd/permissions/permission_resolver.py | fdChasm/spyd | 38e070d10290c2da1e9e5c2226aace871e4dcc59 | [
"Zlib"
] | 2 | 2016-12-13T22:21:08.000Z | 2020-03-14T16:44:20.000Z | import re
import string
from spyd.permissions.group import Group
class GroupInheritanceCycle(Exception): pass
class MissingGroup(Exception): pass
class MissingInheritedGroup(Exception): pass
def create_simple_pattern(pattern_string):
"Takes a group or functionality pattern string and converts it into a RegexOb... | 39.45679 | 193 | 0.671777 | 373 | 3,196 | 5.469169 | 0.225201 | 0.079412 | 0.02549 | 0.032353 | 0.151471 | 0.126961 | 0.101471 | 0.044608 | 0 | 0 | 0 | 0.002895 | 0.243429 | 3,196 | 80 | 194 | 39.95 | 0.840778 | 0.029725 | 0 | 0 | 0 | 0 | 0.062854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.052632 | 0.052632 | 0.017544 | 0.315789 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
1417a7fcd6301141282f2370dd82b6e31d774e0f | 408 | py | Python | Ek-Ornekler/1-asal-sayi-bulma.py | kabatasmirac/WeWantEd---Pythona-Giris | 1f8816688f38f6bada1a42e4085878939ce57964 | [
"MIT"
] | 1 | 2017-03-26T13:09:49.000Z | 2017-03-26T13:09:49.000Z | Ek-Ornekler/1-asal-sayi-bulma.py | kabatasmirac/Karabuk-Universitesi---WeWantEd---Pythona-Giris | 1f8816688f38f6bada1a42e4085878939ce57964 | [
"MIT"
] | null | null | null | Ek-Ornekler/1-asal-sayi-bulma.py | kabatasmirac/Karabuk-Universitesi---WeWantEd---Pythona-Giris | 1f8816688f38f6bada1a42e4085878939ce57964 | [
"MIT"
] | 2 | 2017-03-26T15:15:26.000Z | 2017-03-26T18:04:56.000Z | # ASAL SAYI BULMA
sayi = int(input('Bir sayi giriniz : '))
bolundu = 0
for i in range(2, (sayi//2):
# Bir sayinin yarısından daha buyuk bir boleni olmayacagi icin, programin daha hizli calismasi acisindan sayi//2'ye kadar dondurduk.
if sayi%i == 0:
print ("Girdiginiz sayi asal degildir !!")
... | 27.2 | 133 | 0.620098 | 56 | 408 | 4.517857 | 0.642857 | 0.063241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023411 | 0.267157 | 408 | 14 | 134 | 29.142857 | 0.822742 | 0 | 0 | 0 | 0 | 0 | 0.281633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14198df558bbc6c2dedc3ae59720506d9876f0be | 2,080 | py | Python | src/multi2convai/preprocessing/loading.py | inovex/multi2convai | 5e151c5cf1504f0453dbd0d3d00bb68e83c82657 | [
"MIT"
] | 7 | 2022-03-03T07:54:28.000Z | 2022-03-15T08:03:26.000Z | src/multi2convai/preprocessing/loading.py | chiachienhung/multi2convai | e01b42b45535711621a8ce5066591d5fdb38dc23 | [
"MIT"
] | null | null | null | src/multi2convai/preprocessing/loading.py | chiachienhung/multi2convai | e01b42b45535711621a8ce5066591d5fdb38dc23 | [
"MIT"
] | 1 | 2022-03-01T14:34:01.000Z | 2022-03-01T14:34:01.000Z | import json
import pickle
from pathlib import Path
from typing import Dict
import numpy as np
from multi2convai.data.vocab import WordVocab
from multi2convai.preprocessing.embedding import Embedding
class DictLoader:
@staticmethod
def load(path: Path) -> Dict:
"""Loads data from a json file.
... | 26.329114 | 120 | 0.604808 | 253 | 2,080 | 4.936759 | 0.324111 | 0.051241 | 0.045637 | 0.055244 | 0.133707 | 0.068855 | 0.048038 | 0 | 0 | 0 | 0 | 0.006868 | 0.3 | 2,080 | 78 | 121 | 26.666667 | 0.850962 | 0.374038 | 0 | 0.125 | 0 | 0 | 0.015219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.21875 | 0 | 0.53125 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
141e93ab46eeae5b9ec2351c4111dfca390cc581 | 7,594 | py | Python | utest/test_model_tags.py | jussimalinen/robotframework-mabot | 570bfcc5c3979532f193e745582a42b69145530d | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-09-10T07:45:58.000Z | 2020-04-13T06:25:06.000Z | utest/test_model_tags.py | jussimalinen/robotframework-mabot | 570bfcc5c3979532f193e745582a42b69145530d | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-08-03T10:01:06.000Z | 2020-08-03T10:01:06.000Z | utest/test_model_tags.py | jussimalinen/robotframework-mabot | 570bfcc5c3979532f193e745582a42b69145530d | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2015-10-06T13:29:50.000Z | 2021-05-31T01:04:01.000Z | # Copyright 2008 Nokia Siemens Networks Oyj
#
# 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... | 40.609626 | 97 | 0.648275 | 1,023 | 7,594 | 4.430108 | 0.15738 | 0.0812 | 0.047661 | 0.039718 | 0.619373 | 0.575022 | 0.516549 | 0.471094 | 0.424978 | 0.405781 | 0 | 0.006379 | 0.215565 | 7,594 | 186 | 98 | 40.827957 | 0.754407 | 0.075323 | 0 | 0.304688 | 0 | 0 | 0.101755 | 0.007136 | 0 | 0 | 0 | 0 | 0.117188 | 1 | 0.25 | false | 0.015625 | 0.039063 | 0 | 0.320313 | 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 | 0 | 0 | 0 | 0 | 1 |
141f315585136c4fff1847ac7abebf8645c9810a | 2,308 | py | Python | 4_decorators.py | letroot/python-fp | e0e5f474794f8eb12e1eb39760ce7a494c453878 | [
"MIT"
] | null | null | null | 4_decorators.py | letroot/python-fp | e0e5f474794f8eb12e1eb39760ce7a494c453878 | [
"MIT"
] | null | null | null | 4_decorators.py | letroot/python-fp | e0e5f474794f8eb12e1eb39760ce7a494c453878 | [
"MIT"
] | null | null | null | """Function modifiers"""
# You recognize them from Flask routes
"""
@app.route("/index")
def home():
return ("<h1>Hello Egbon</h1>")
"""
# Our first decorator
# Recall from object-model that functions are objects
def view():
"""I am a view not a viewer ;)"""
pass
print(view.__doc__) # I am a view not ... | 21.174312 | 65 | 0.661612 | 342 | 2,308 | 4.397661 | 0.409357 | 0.037234 | 0.031915 | 0.010638 | 0.183511 | 0.183511 | 0.128989 | 0.105053 | 0.105053 | 0.069149 | 0 | 0.01464 | 0.230503 | 2,308 | 108 | 66 | 21.37037 | 0.832207 | 0.408146 | 0 | 0.407407 | 0 | 0 | 0.06462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203704 | false | 0.018519 | 0.018519 | 0.055556 | 0.481481 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 1 |
141fbb5be5623a2e89d9acbc6df0529b657b6a3b | 473 | py | Python | frameworks/antares/tensorflow/example_test.py | tonyw/antares | 6c2c505ab73d25b2f40831898a10bbf09602a4a0 | [
"MIT"
] | 2 | 2020-12-19T17:40:41.000Z | 2021-10-18T03:28:09.000Z | frameworks/antares/tensorflow/example_test.py | tonyw/antares | 6c2c505ab73d25b2f40831898a10bbf09602a4a0 | [
"MIT"
] | null | null | null | frameworks/antares/tensorflow/example_test.py | tonyw/antares | 6c2c505ab73d25b2f40831898a10bbf09602a4a0 | [
"MIT"
] | 1 | 2021-01-15T22:18:47.000Z | 2021-01-15T22:18:47.000Z | #!/usr/bin/env python3
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import tensorflow as tf
from tensorflow.contrib import antares
import os
x = tf.random.uniform([1024, 512])
op = antares.make_op('reduce_sum_0[N] +=! data[N, M]', {'data': x}, server_addr=os.environ.get('ANTARES_ADDR', '... | 26.277778 | 129 | 0.693446 | 77 | 473 | 4.168831 | 0.688312 | 0.043614 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041463 | 0.133192 | 473 | 17 | 130 | 27.823529 | 0.741463 | 0.190275 | 0 | 0 | 0 | 0 | 0.245383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
1426aaef10a31ee0b8d4a33550079e170da76077 | 401 | py | Python | clc1.py | woaiwojia4816294/JGsuggest | 13f79af97bc35d5ffc9999b147e600333e8c9b9c | [
"MIT"
] | null | null | null | clc1.py | woaiwojia4816294/JGsuggest | 13f79af97bc35d5ffc9999b147e600333e8c9b9c | [
"MIT"
] | null | null | null | clc1.py | woaiwojia4816294/JGsuggest | 13f79af97bc35d5ffc9999b147e600333e8c9b9c | [
"MIT"
] | null | null | null | import torch
pthfile = r'D:\Users\赵瑞妮\PycharmProjects\yunjey\tutorials\01-basics\feedforward_neural_network\model.ckpt'
net = torch.load(pthfile, map_location=torch.device('cpu'))
print(type(int))
print(len(net))
for k, v in net.items():
print(k, v)
for key in net.keys():
print(key) # fc1.weight
... | 23.588235 | 106 | 0.613466 | 56 | 401 | 4.339286 | 0.678571 | 0.016461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019934 | 0.249377 | 401 | 16 | 107 | 25.0625 | 0.787375 | 0.097257 | 0 | 0 | 0 | 0.111111 | 0.268908 | 0.260504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.444444 | 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 | 0 | 0 | 0 | 1 | 0 | 1 |
142f28b6ce6612f472c00472aa8164fd7aafbd47 | 739 | py | Python | unit_tests/test_itemic.py | cybearg-defense/ITEMIC | 0bac21dc732c40ed866fbc0e46077179568c2787 | [
"Unlicense"
] | null | null | null | unit_tests/test_itemic.py | cybearg-defense/ITEMIC | 0bac21dc732c40ed866fbc0e46077179568c2787 | [
"Unlicense"
] | null | null | null | unit_tests/test_itemic.py | cybearg-defense/ITEMIC | 0bac21dc732c40ed866fbc0e46077179568c2787 | [
"Unlicense"
] | null | null | null | import unittest
import itemic
import copy
class MyTestCase(unittest.TestCase):
def test_jdict(self):
this_jdict = itemic.jdict({'a': 1, 'b': 2})
self.assertEqual(this_jdict['a'], this_jdict.a)
self.assertEqual(this_jdict['b'], this_jdict.b)
this_jdict_copy = copy.deepcopy(this_jdi... | 28.423077 | 69 | 0.658999 | 99 | 739 | 4.585859 | 0.272727 | 0.198238 | 0.209251 | 0.15859 | 0.251101 | 0.101322 | 0.101322 | 0 | 0 | 0 | 0 | 0.006838 | 0.20839 | 739 | 25 | 70 | 29.56 | 0.769231 | 0.289581 | 0 | 0 | 0 | 0 | 0.023077 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.071429 | false | 0 | 0.214286 | 0 | 0.357143 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
142f9ef3ec841df9bfdc0cc8c1dc1cc20e0a55ea | 3,366 | py | Python | dffml/cli/cli.py | purnimapatel/dffml | 0607cb6f30bc1d9fd5348f7365f639759cb9d286 | [
"MIT"
] | 2 | 2020-02-21T00:03:54.000Z | 2020-04-08T17:38:47.000Z | dffml/cli/cli.py | purnimapatel/dffml | 0607cb6f30bc1d9fd5348f7365f639759cb9d286 | [
"MIT"
] | null | null | null | dffml/cli/cli.py | purnimapatel/dffml | 0607cb6f30bc1d9fd5348f7365f639759cb9d286 | [
"MIT"
] | 1 | 2021-10-01T18:37:19.000Z | 2021-10-01T18:37:19.000Z | # SPDX-License-Identifier: MIT
# Copyright (c) 2019 Intel Corporation
"""
Command line interface evaluates packages given their source URLs
"""
import pdb
import pkg_resources
from ..version import VERSION
from ..record import Record
from ..source.source import BaseSource
from ..util.packaging import is_develop
from .... | 24.933333 | 79 | 0.621212 | 401 | 3,366 | 5.164589 | 0.311721 | 0.034766 | 0.026557 | 0.036214 | 0.160309 | 0.134235 | 0.134235 | 0.120715 | 0.120715 | 0.120715 | 0 | 0.001664 | 0.285799 | 3,366 | 134 | 80 | 25.119403 | 0.859817 | 0.147356 | 0 | 0.141026 | 0 | 0 | 0.057216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012821 | false | 0.012821 | 0.230769 | 0 | 0.576923 | 0.012821 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
14446dced94f3c0ba0a536c304019542b6a10993 | 446 | py | Python | sme_material_apps/core/migrations/0013_kit_preco_maximo.py | luizhpriotto/piloto_apresentacao | c968025db819633ee4cd75df5357ab6a4ab7d9af | [
"MIT"
] | null | null | null | sme_material_apps/core/migrations/0013_kit_preco_maximo.py | luizhpriotto/piloto_apresentacao | c968025db819633ee4cd75df5357ab6a4ab7d9af | [
"MIT"
] | null | null | null | sme_material_apps/core/migrations/0013_kit_preco_maximo.py | luizhpriotto/piloto_apresentacao | c968025db819633ee4cd75df5357ab6a4ab7d9af | [
"MIT"
] | null | null | null | # Generated by Django 2.2.9 on 2020-07-29 14:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0012_auto_20200727_1506'),
]
operations = [
migrations.AddField(
model_name='kit',
name='preco_maximo',
... | 23.473684 | 112 | 0.623318 | 53 | 446 | 5.09434 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10574 | 0.257848 | 446 | 18 | 113 | 24.777778 | 0.70997 | 0.100897 | 0 | 0 | 1 | 0 | 0.135338 | 0.057644 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
1444dec9216de2eaea700d87bddb2fc733d2131f | 1,914 | py | Python | src/kulprit/data/data.py | aloctavodia/kulprit | ab017074f7428154b8834515512db259c5f635e8 | [
"MIT"
] | 4 | 2022-03-08T15:19:26.000Z | 2022-03-19T05:06:18.000Z | src/kulprit/data/data.py | aloctavodia/kulprit | ab017074f7428154b8834515512db259c5f635e8 | [
"MIT"
] | 2 | 2022-03-17T08:22:30.000Z | 2022-03-29T08:43:11.000Z | src/kulprit/data/data.py | aloctavodia/kulprit | ab017074f7428154b8834515512db259c5f635e8 | [
"MIT"
] | 2 | 2022-03-16T14:56:57.000Z | 2022-03-18T14:22:48.000Z | """Module for handling data throughout the procedure."""
import dataclasses
import torch
from arviz import InferenceData
from kulprit.data.structure import ModelStructure
@dataclasses.dataclass(order=True)
class ModelData:
"""Data class for handling model data.
This class serves as the primary data contai... | 37.529412 | 82 | 0.707419 | 241 | 1,914 | 5.53527 | 0.452282 | 0.048726 | 0.038231 | 0.031484 | 0.037481 | 0.037481 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236155 | 1,914 | 50 | 83 | 38.28 | 0.912449 | 0.543365 | 0 | 0 | 0 | 0 | 0.015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.210526 | 0 | 0.526316 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
14450968d798efe52a7b5c1fc7f9662b60bd3c3b | 231 | py | Python | Databasehandling/delletetbl.py | poojavaibhavsahu/Pooja_Python | 58122bfa8586883145042b11fe1cc013c803ab4f | [
"bzip2-1.0.6"
] | null | null | null | Databasehandling/delletetbl.py | poojavaibhavsahu/Pooja_Python | 58122bfa8586883145042b11fe1cc013c803ab4f | [
"bzip2-1.0.6"
] | null | null | null | Databasehandling/delletetbl.py | poojavaibhavsahu/Pooja_Python | 58122bfa8586883145042b11fe1cc013c803ab4f | [
"bzip2-1.0.6"
] | null | null | null | import pymysql
myconn=pymysql.connect(host='localhost',user='root',password='root', database="mydatabase")
cur=myconn.cursor()
cur.execute("delete from employee1 where empid=104")
print("success")
myconn.commit()
myconn.close() | 21 | 91 | 0.761905 | 30 | 231 | 5.866667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018605 | 0.069264 | 231 | 11 | 92 | 21 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.306034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.142857 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
144c661aeefe907b5ade64fa293ef6d06e4f2cb1 | 461 | py | Python | bbpyp/lexicomb/parser/return_statement.py | BloggerBust/tag_script | 985a4b6b8c026431842d608ba8feafe8751dd425 | [
"Apache-2.0"
] | null | null | null | bbpyp/lexicomb/parser/return_statement.py | BloggerBust/tag_script | 985a4b6b8c026431842d608ba8feafe8751dd425 | [
"Apache-2.0"
] | null | null | null | bbpyp/lexicomb/parser/return_statement.py | BloggerBust/tag_script | 985a4b6b8c026431842d608ba8feafe8751dd425 | [
"Apache-2.0"
] | null | null | null | from bbpyp.lexicomb.parser.statement import Statement
class ReturnStatement(Statement):
def __init__(self, expression, *args, **kwargs):
super().__init__(*args, **kwargs)
self._expression = expression
def __repr__(self):
return f"{self.artifact_name}({self._expression})"
def _ev... | 27.117647 | 58 | 0.681128 | 52 | 461 | 5.615385 | 0.519231 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206074 | 461 | 16 | 59 | 28.8125 | 0.797814 | 0 | 0 | 0 | 0 | 0 | 0.086768 | 0.086768 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.090909 | 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 | 0 | 0 | 0 | 0 | 1 |
1457f0261aa2eec4b9fb3d437a48f123a01a83b4 | 12,677 | py | Python | test/test_taxii_server_config.py | jjfallete/cb-taxii-connector | 31b42c8ea46d14f2af63788a8ffada0c998bdb46 | [
"MIT"
] | 16 | 2015-09-21T18:22:00.000Z | 2021-11-04T11:16:12.000Z | test/test_taxii_server_config.py | jjfallete/cb-taxii-connector | 31b42c8ea46d14f2af63788a8ffada0c998bdb46 | [
"MIT"
] | 20 | 2016-02-09T20:44:35.000Z | 2022-03-28T20:48:09.000Z | test/test_taxii_server_config.py | jjfallete/cb-taxii-connector | 31b42c8ea46d14f2af63788a8ffada0c998bdb46 | [
"MIT"
] | 9 | 2015-09-28T08:12:23.000Z | 2022-03-28T20:09:12.000Z | # coding: utf-8
# Copyright © 2014-2020 VMware, Inc. All Rights Reserved.
################################################################################
import unittest
from unittest import mock
from cbopensource.driver.taxii_server_config import ServerVersion, TaxiiServerConfiguration
from cbopensource.utilities.c... | 45.765343 | 125 | 0.645184 | 1,429 | 12,677 | 5.571728 | 0.158153 | 0.048229 | 0.066189 | 0.08955 | 0.687139 | 0.662648 | 0.650716 | 0.614293 | 0.5947 | 0.55589 | 0 | 0.037435 | 0.21401 | 12,677 | 276 | 126 | 45.931159 | 0.761542 | 0.021062 | 0 | 0.507317 | 0 | 0.009756 | 0.319594 | 0.03002 | 0 | 0 | 0 | 0 | 0.214634 | 1 | 0.141463 | false | 0.156098 | 0.02439 | 0 | 0.170732 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
1459427013315af4ed8998443bd8f603688d52ef | 913 | py | Python | marshy/marshaller/tuple_marshaller.py | tofarr/marshy | 0eb9620f42e3492a8d3275911879d2ed4c226e37 | [
"MIT"
] | 1 | 2022-02-26T20:34:32.000Z | 2022-02-26T20:34:32.000Z | marshy/marshaller/tuple_marshaller.py | tofarr/marshy | 0eb9620f42e3492a8d3275911879d2ed4c226e37 | [
"MIT"
] | null | null | null | marshy/marshaller/tuple_marshaller.py | tofarr/marshy | 0eb9620f42e3492a8d3275911879d2ed4c226e37 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from typing import TypeVar, Iterable, List, Tuple, Union
from marshy.types import ExternalItemType, ExternalType
from marshy.marshaller.marshaller_abc import MarshallerABC
T = TypeVar('T')
@dataclass(frozen=True)
class TupleMarshaller(MarshallerABC[Iterable[T]]):
"""
Marsha... | 33.814815 | 94 | 0.685652 | 117 | 913 | 5.307692 | 0.358974 | 0.064412 | 0.091787 | 0.05153 | 0.128824 | 0.128824 | 0.128824 | 0.128824 | 0.128824 | 0.128824 | 0 | 0 | 0.196057 | 913 | 26 | 95 | 35.115385 | 0.846049 | 0.040526 | 0 | 0.117647 | 0 | 0 | 0.005814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.235294 | 0 | 0.647059 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
1468429130e1cc2ca91f93e068a4229b596203fd | 907 | py | Python | tests/test_icons.py | smartfile/preview-server | 77b4bac6c56047211be8b40e60eab35922c47a21 | [
"MIT"
] | 2 | 2019-12-25T12:23:53.000Z | 2020-08-17T09:36:32.000Z | tests/test_icons.py | smartfile/preview-server | 77b4bac6c56047211be8b40e60eab35922c47a21 | [
"MIT"
] | 32 | 2019-09-20T12:30:16.000Z | 2020-10-02T20:41:43.000Z | tests/test_icons.py | smartfile/preview-server | 77b4bac6c56047211be8b40e60eab35922c47a21 | [
"MIT"
] | 3 | 2020-06-16T15:37:41.000Z | 2021-04-02T09:33:22.000Z | import os
from unittest import TestCase
from os.path import join as pathjoin, dirname
from aiohttp.test_utils import unittest_run_loop
from aiohttp import web
from tests.base import PreviewTestCase
from preview import parse_pages
from preview.config import MAX_PAGES, boolean, interval
ROOT = dirname(dirname(__fi... | 28.34375 | 79 | 0.712238 | 115 | 907 | 5.478261 | 0.573913 | 0.028571 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.201764 | 907 | 31 | 80 | 29.258065 | 0.853591 | 0.084895 | 0 | 0 | 0 | 0 | 0.160822 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0 | false | 0 | 0.4 | 0 | 0.45 | 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 | 0 | 0 | 0 | 0 | 1 |
1469b6a6b4262875d72d69a64ad40b3db5e8813e | 7,476 | py | Python | stegtester/test.py | SRI-CSL/jel | 4c8006c39d1eb545df15c151af597f44789b03c4 | [
"BSD-3-Clause-Clear"
] | 5 | 2016-04-30T07:11:08.000Z | 2022-01-06T15:38:50.000Z | stegtester/test.py | SRI-CSL/jel | 4c8006c39d1eb545df15c151af597f44789b03c4 | [
"BSD-3-Clause-Clear"
] | null | null | null | stegtester/test.py | SRI-CSL/jel | 4c8006c39d1eb545df15c151af597f44789b03c4 | [
"BSD-3-Clause-Clear"
] | 3 | 2017-05-12T19:47:49.000Z | 2020-12-16T10:02:55.000Z | #!/usr/bin/python
#
# Simple regression tester for wedge.
#
import os
import sys
import time
from subprocess import *
from random import *
import numpy as N
import itertools
# Use hamming distance to check messages
fmap = N.zeros(256)
emap = N.zeros(256)
def byte_hamming(char1, char2):
i = 0
k1 = ord(char1)... | 26.892086 | 100 | 0.61343 | 1,021 | 7,476 | 4.380999 | 0.199804 | 0.038229 | 0.060362 | 0.061033 | 0.477532 | 0.466577 | 0.435278 | 0.42723 | 0.410239 | 0.410239 | 0 | 0.02732 | 0.221509 | 7,476 | 277 | 101 | 26.98917 | 0.741237 | 0.081862 | 0 | 0.398844 | 0 | 0 | 0.165649 | 0.020557 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.040462 | null | null | 0.144509 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
146a1fc0cfd7459ec3d61f56e9b7e914d9f31ada | 207 | py | Python | fetch-data/utils.py | luispedro/Coelho2021_GMGCv1_analysis | 5f1a62844631121cc11f8ac5a776d25baca56ff7 | [
"MIT"
] | 6 | 2021-12-16T09:20:28.000Z | 2022-03-29T03:21:48.000Z | fetch-data/utils.py | luispedro/Coelho2021_GMGCv1_analysis | 5f1a62844631121cc11f8ac5a776d25baca56ff7 | [
"MIT"
] | 1 | 2022-02-18T01:56:56.000Z | 2022-02-22T14:39:48.000Z | fetch-data/utils.py | luispedro/Coelho2021_GMGCv1_analysis | 5f1a62844631121cc11f8ac5a776d25baca56ff7 | [
"MIT"
] | 8 | 2021-12-17T02:14:50.000Z | 2022-03-21T06:40:59.000Z | def group(it, n):
it = iter(it)
block = []
for elem in it:
block.append(elem)
if len(block) == n:
yield block
block = []
if block:
yield block
| 18.818182 | 27 | 0.449275 | 26 | 207 | 3.576923 | 0.5 | 0.150538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.439614 | 207 | 10 | 28 | 20.7 | 0.801724 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
146c065f39455520997f3b395a623c4a3cabd43f | 743 | py | Python | config.py | lobiCode/VoterChat | 8a1010258ac9cbf5e8aa814a09b70d30618d7b8b | [
"Apache-2.0"
] | null | null | null | config.py | lobiCode/VoterChat | 8a1010258ac9cbf5e8aa814a09b70d30618d7b8b | [
"Apache-2.0"
] | null | null | null | config.py | lobiCode/VoterChat | 8a1010258ac9cbf5e8aa814a09b70d30618d7b8b | [
"Apache-2.0"
] | 1 | 2019-01-14T09:15:39.000Z | 2019-01-14T09:15:39.000Z | """
Copyright 2014 VoterChat
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | 27.518519 | 72 | 0.749664 | 112 | 743 | 4.9375 | 0.669643 | 0.108499 | 0.047016 | 0.057866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020968 | 0.165545 | 743 | 26 | 73 | 28.576923 | 0.870968 | 0.812921 | 0 | 0 | 0 | 0 | 0.224299 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
146cf89f81182a04acf407fc876d1df4fa59d6b1 | 2,596 | py | Python | back/config.py | aninstein/sex_code_blog | 483fcb566f2873204e545db2e4688dba3bee9db9 | [
"BSD-2-Clause"
] | 116 | 2019-09-19T01:00:48.000Z | 2022-03-16T08:52:15.000Z | back/config.py | aninstein/sex_code_blog | 483fcb566f2873204e545db2e4688dba3bee9db9 | [
"BSD-2-Clause"
] | 13 | 2019-08-13T14:39:21.000Z | 2022-03-22T02:36:46.000Z | back/config.py | aninstein/sex_code_blog | 483fcb566f2873204e545db2e4688dba3bee9db9 | [
"BSD-2-Clause"
] | 30 | 2019-08-13T10:13:07.000Z | 2022-01-19T09:50:31.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
http://www.pythondoc.com/flask/config.html#id6
"""
import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
SECRET_KEY = os.getenv('SECRET_KEY') or 'MPk2WlUArcLeeU_iohzT'
'''
# 旧版本
import random
import string
''.join(rando... | 30.541176 | 108 | 0.6849 | 300 | 2,596 | 5.666667 | 0.41 | 0.150588 | 0.028235 | 0.045882 | 0.319412 | 0.319412 | 0.299412 | 0.254706 | 0.254706 | 0.254706 | 0 | 0.02149 | 0.193374 | 2,596 | 84 | 109 | 30.904762 | 0.790353 | 0.080508 | 0 | 0.166667 | 0 | 0 | 0.312471 | 0.211229 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0.145833 | 0.020833 | 0 | 0.729167 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
147f444794daa5852ab48bc28e21fd1b7799dbc3 | 1,724 | py | Python | Dataloader/decord_init.py | vinayakShenoy/Video-Swin-Transformer | bd90abce394eca0db90d80c334c8b05aba2233b2 | [
"Apache-2.0"
] | null | null | null | Dataloader/decord_init.py | vinayakShenoy/Video-Swin-Transformer | bd90abce394eca0db90d80c334c8b05aba2233b2 | [
"Apache-2.0"
] | null | null | null | Dataloader/decord_init.py | vinayakShenoy/Video-Swin-Transformer | bd90abce394eca0db90d80c334c8b05aba2233b2 | [
"Apache-2.0"
] | null | null | null | import io
import os
import os.path as osp
import shutil
import warnings
import mmcv
import numpy as np
import torch
from mmcv.fileio import FileClient
from torch.nn.modules.utils import _pair
from mmaction.utils import get_random_string, get_shm_dir, get_thread_id
class DecordInit:
"""Using decord to initialize... | 29.220339 | 78 | 0.647332 | 216 | 1,724 | 4.921296 | 0.449074 | 0.065851 | 0.048918 | 0.031985 | 0.045155 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00079 | 0.265661 | 1,724 | 58 | 79 | 29.724138 | 0.838863 | 0.189675 | 0 | 0 | 0 | 0 | 0.134082 | 0.064419 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.388889 | 0 | 0.555556 | 0.027778 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
1483c3934350fcabc3845ae64dedf47f0a56eb4b | 5,536 | py | Python | posts/migrations/0001_initial.py | duchungvu/ServEx | 83ebdb53fd3e2fba8d575dec66e0edfd5842c45f | [
"MIT"
] | 1 | 2020-03-16T18:57:12.000Z | 2020-03-16T18:57:12.000Z | posts/migrations/0001_initial.py | duchungvu/ServEx | 83ebdb53fd3e2fba8d575dec66e0edfd5842c45f | [
"MIT"
] | 2 | 2021-03-30T12:52:17.000Z | 2021-06-04T22:37:57.000Z | posts/migrations/0001_initial.py | duchungvu/ServEx | 83ebdb53fd3e2fba8d575dec66e0edfd5842c45f | [
"MIT"
] | 1 | 2021-08-29T21:41:19.000Z | 2021-08-29T21:41:19.000Z | # Generated by Django 3.0.4 on 2020-03-27 14:01
from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
('auth', '0011... | 55.36 | 266 | 0.618136 | 583 | 5,536 | 5.728988 | 0.255575 | 0.032335 | 0.037725 | 0.059281 | 0.536826 | 0.505689 | 0.443114 | 0.443114 | 0.443114 | 0.423054 | 0 | 0.012802 | 0.238078 | 5,536 | 99 | 267 | 55.919192 | 0.779042 | 0.008129 | 0 | 0.48913 | 1 | 0 | 0.177081 | 0.005283 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.01087 | 0.054348 | 0 | 0.097826 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
148555c102579cdaeec175816324984be4ee59ef | 311 | py | Python | PYTHON/Desafios Python - Mundo 2/046.py | FR7/Meus-Projetos | 1c8e1a91eaf143cccdc10f0e7edd013d910de474 | [
"MIT"
] | null | null | null | PYTHON/Desafios Python - Mundo 2/046.py | FR7/Meus-Projetos | 1c8e1a91eaf143cccdc10f0e7edd013d910de474 | [
"MIT"
] | null | null | null | PYTHON/Desafios Python - Mundo 2/046.py | FR7/Meus-Projetos | 1c8e1a91eaf143cccdc10f0e7edd013d910de474 | [
"MIT"
] | null | null | null | # FAÇA UM PROGRAMA QUE MOSTRE NA TELA UMA CONTAGEM
# REGRESSIVA PARA O ESTOURO DE FOGOS DE ARTIFÍCIO
# INDO DE 10 ATÉ 0, COM UMA PAUSA DE 1 SEGUNDO ENTRE ELES.
from time import sleep
print("Contagem regressiva FINAL DO ANOS:")
for c in range(10, -1, -1, ):
print(c)
sleep(1)
print("BOMM BOMM POWWN!")
| 25.916667 | 58 | 0.707395 | 55 | 311 | 4 | 0.727273 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036437 | 0.205788 | 311 | 11 | 59 | 28.272727 | 0.854251 | 0.491961 | 0 | 0 | 0 | 0 | 0.326797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 1 |
148580c99f2e3c7a17c54758c8c44cc5b33e2490 | 441 | py | Python | partools/quickstart/tools_bf.py | paularnaud2/PyTools | 09accc33e1dcfdde45671ad5962727554648b30c | [
"MIT"
] | null | null | null | partools/quickstart/tools_bf.py | paularnaud2/PyTools | 09accc33e1dcfdde45671ad5962727554648b30c | [
"MIT"
] | null | null | null | partools/quickstart/tools_bf.py | paularnaud2/PyTools | 09accc33e1dcfdde45671ad5962727554648b30c | [
"MIT"
] | null | null | null | # This script allows you to read, search or sort a big file (> 100 Mo).
import partools.utils.g as g
import partools.tools.bf as bf
from partools.quickstart import files_dir
# Input variables
# in_path = g.dirs['IN'] + "in.csv"
in_path = f'{files_dir}in.csv'
out_path = g.dirs['OUT'] + "out.csv"
look_for = "2217322710... | 27.5625 | 71 | 0.739229 | 82 | 441 | 3.756098 | 0.439024 | 0.097403 | 0.087662 | 0.126623 | 0.12987 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0.044503 | 0.133787 | 441 | 15 | 72 | 29.4 | 0.76178 | 0.460317 | 0 | 0 | 0 | 0 | 0.176724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 0 | 1 |
1485992b2678196871d137ea7973d03ae438168f | 4,711 | py | Python | app/libs/modelsOpasCentralPydantic.py | Psychoanalytic-Electronic-Publishing/OpenPubArchive-Content-Server | 031b79b8e0dd5e1c22e2a51394cab846763a451a | [
"Apache-2.0"
] | null | null | null | app/libs/modelsOpasCentralPydantic.py | Psychoanalytic-Electronic-Publishing/OpenPubArchive-Content-Server | 031b79b8e0dd5e1c22e2a51394cab846763a451a | [
"Apache-2.0"
] | 115 | 2020-09-02T20:01:26.000Z | 2022-03-30T11:47:23.000Z | app/libs/modelsOpasCentralPydantic.py | Psychoanalytic-Electronic-Publishing/OpenPubArchive-Content-Server | 031b79b8e0dd5e1c22e2a51394cab846763a451a | [
"Apache-2.0"
] | 2 | 2020-10-15T13:52:10.000Z | 2020-10-20T13:42:51.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
OpasCentral DB Pydantic Models
"""
__author__ = "Neil R. Shapiro"
__copyright__ = "Copyright 2019-2021, Psychoanalytic Electronic Publishing"
__license__ = "Apache 2.0"
__version__ = "2019.0620.1"
__status__ = "Development"
from datetime import d... | 28.72561 | 90 | 0.685417 | 609 | 4,711 | 5.039409 | 0.323481 | 0.068426 | 0.041056 | 0.033887 | 0.275334 | 0.252525 | 0.240795 | 0.231997 | 0.213099 | 0.213099 | 0 | 0.011579 | 0.248355 | 4,711 | 164 | 91 | 28.72561 | 0.855126 | 0.241775 | 0 | 0.28972 | 0 | 0 | 0.030207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.009346 | 0.018692 | 0 | 0.953271 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
148d406154db1915cf185dbd3c1b84c53db3acbc | 633 | py | Python | lang/Python/real-constants-and-functions.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/real-constants-and-functions.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/real-constants-and-functions.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | import math
math.e # e
math.pi # pi
math.sqrt(x) # square root (Also commonly seen as x ** 0.5 to obviate importing the math module)
math.log(x) # natural logarithm
math.log10(x) # base 10 logarithm
math.exp(x) # e raised to the power of x
abs(x) # absolute value
math.floor(x) ... | 37.235294 | 100 | 0.654028 | 99 | 633 | 4.181818 | 0.565657 | 0.033816 | 0.062802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016771 | 0.246446 | 633 | 16 | 101 | 39.5625 | 0.851153 | 0.658768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
1491aa0e9712e2bc708192ddbc7172e584aa84ce | 416 | py | Python | users/migrations/0009_auto_20190623_1437.py | nanoy42/coope | 3f970fe199f4ad8672cbb3a3200b0c4d110c9847 | [
"MIT"
] | 3 | 2019-06-27T21:08:41.000Z | 2019-09-07T17:20:39.000Z | users/migrations/0009_auto_20190623_1437.py | nanoy42/coope | 3f970fe199f4ad8672cbb3a3200b0c4d110c9847 | [
"MIT"
] | 21 | 2019-06-09T10:56:53.000Z | 2021-06-10T21:35:12.000Z | users/migrations/0009_auto_20190623_1437.py | nanoy42/coope | 3f970fe199f4ad8672cbb3a3200b0c4d110c9847 | [
"MIT"
] | null | null | null | # Generated by Django 2.1 on 2019-06-23 12:37
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('users', '0008_auto_20190623_1105'),
]
operations = [
migrations.AlterModelOptions(
name='profile',
options={'permissions': (('... | 23.111111 | 117 | 0.620192 | 42 | 416 | 6 | 0.833333 | 0.087302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095847 | 0.247596 | 416 | 17 | 118 | 24.470588 | 0.709265 | 0.103365 | 0 | 0 | 1 | 0 | 0.285714 | 0.118598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.363636 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
1493e700142c89b1e20c4f782490e9ea85526d42 | 23,177 | py | Python | measure_yields/strumkes_predictor.py | smaeland/ML-2HDM | 20ca00847c82fcd6a28a6e1c65c43e0aba1a3d65 | [
"BSD-3-Clause"
] | null | null | null | measure_yields/strumkes_predictor.py | smaeland/ML-2HDM | 20ca00847c82fcd6a28a6e1c65c43e0aba1a3d65 | [
"BSD-3-Clause"
] | null | null | null | measure_yields/strumkes_predictor.py | smaeland/ML-2HDM | 20ca00847c82fcd6a28a6e1c65c43e0aba1a3d65 | [
"BSD-3-Clause"
] | null | null | null | # pylint: disable=C0303
import os
import numpy as np
import h5py
import matplotlib.pyplot as plt
from math import sqrt
from array import array
from copy import deepcopy
import pickle
import time
from keras.models import load_model
from collections import namedtuple
from sklearn import utils
from keras.utils import to_... | 34.438336 | 132 | 0.576088 | 2,721 | 23,177 | 4.766997 | 0.167953 | 0.018657 | 0.011025 | 0.005397 | 0.449927 | 0.422866 | 0.399198 | 0.378537 | 0.359032 | 0.348855 | 0 | 0.013466 | 0.31432 | 23,177 | 672 | 133 | 34.489583 | 0.802731 | 0.054666 | 0 | 0.394958 | 0 | 0 | 0.068053 | 0.002003 | 0 | 0 | 0 | 0.001488 | 0.016807 | 0 | null | null | 0 | 0.078431 | null | null | 0.028011 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
149472588a2bfdf6689b7a332e5e0753c945419c | 1,332 | py | Python | setup.py | edyatl/passchek | 564ad128b065044e62eff490f0a2a36ed8aba96a | [
"MIT"
] | 5 | 2020-06-30T16:27:26.000Z | 2021-08-13T00:33:28.000Z | setup.py | edyatl/passchek | 564ad128b065044e62eff490f0a2a36ed8aba96a | [
"MIT"
] | 1 | 2020-07-12T13:27:43.000Z | 2020-07-12T13:27:44.000Z | setup.py | edyatl/passchek | 564ad128b065044e62eff490f0a2a36ed8aba96a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import setuptools
from passchek.passchek import __version__
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="passchek",
version=__version__,
license="MIT",
author="Yevgeny Dyatlov",
author_email="edyatl@yandex.ru",
description=... | 28.340426 | 95 | 0.619369 | 134 | 1,332 | 6 | 0.686567 | 0.074627 | 0.093284 | 0.097015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008876 | 0.238739 | 1,332 | 46 | 96 | 28.956522 | 0.784024 | 0.015766 | 0 | 0.05 | 0 | 0 | 0.438931 | 0.023664 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.175 | 0.05 | 0 | 0.05 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
149937eea56da65704d0855b408e96c979366ea3 | 499 | py | Python | shelter/migrations/0024_auto_20201018_2225.py | kermox/schronisko-krakow | 8f8c546894e4b683ce463debad27db72ef820f90 | [
"MIT"
] | 1 | 2020-11-17T18:50:44.000Z | 2020-11-17T18:50:44.000Z | shelter/migrations/0024_auto_20201018_2225.py | kermox/schronisko-krakow | 8f8c546894e4b683ce463debad27db72ef820f90 | [
"MIT"
] | 9 | 2020-10-23T18:42:45.000Z | 2022-03-12T00:39:57.000Z | shelter/migrations/0024_auto_20201018_2225.py | kermox/schronisko-krakow | 8f8c546894e4b683ce463debad27db72ef820f90 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-10-18 22:25
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('shelter', '0023_animal_adopted_by'),
]
operations = [
migrations.AlterField(
model_name='animal... | 24.95 | 127 | 0.647295 | 59 | 499 | 5.372881 | 0.644068 | 0.07571 | 0.088328 | 0.138801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049608 | 0.232465 | 499 | 19 | 128 | 26.263158 | 0.778068 | 0.09018 | 0 | 0 | 1 | 0 | 0.134956 | 0.048673 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.384615 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
14a119c4a4ce3b442abcc3e2a4210efb6f6c55bd | 1,013 | py | Python | e2e_test.py | krishna2090/gas_cricleci | b38b865eee6f2844832316fb68facaa5428d738e | [
"Apache-2.0"
] | 42 | 2015-12-23T09:01:42.000Z | 2021-10-09T17:02:34.000Z | e2e_test.py | krishna2090/gas_cricleci | b38b865eee6f2844832316fb68facaa5428d738e | [
"Apache-2.0"
] | 3 | 2016-05-06T19:49:19.000Z | 2019-01-11T16:59:11.000Z | e2e_test.py | krishna2090/gas_cricleci | b38b865eee6f2844832316fb68facaa5428d738e | [
"Apache-2.0"
] | 23 | 2016-05-06T19:48:38.000Z | 2021-10-09T17:02:23.000Z | # Copyright 2015, Google, Inc.
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use
# this file except in compliance with the License. You may obtain a copy of the
# License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
# law or agreed to in writing, software d... | 36.178571 | 85 | 0.760118 | 158 | 1,013 | 4.867089 | 0.683544 | 0.078023 | 0.03381 | 0.041612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016317 | 0.153011 | 1,013 | 27 | 86 | 37.518519 | 0.879953 | 0.75617 | 0 | 0 | 0 | 0 | 0.38326 | 0.092511 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 |
14a8bb156e896d3714e849c7ace731e4926a5463 | 2,367 | py | Python | tests/conftest.py | jamescooke/flake8-aaa | 9df248e10538946531b67da4564bb229a91baece | [
"MIT"
] | 44 | 2018-04-08T21:25:43.000Z | 2022-01-20T14:28:16.000Z | tests/conftest.py | jamescooke/flake8-aaa | 9df248e10538946531b67da4564bb229a91baece | [
"MIT"
] | 72 | 2018-03-30T14:30:48.000Z | 2022-03-31T16:18:16.000Z | tests/conftest.py | jamescooke/flake8-aaa | 9df248e10538946531b67da4564bb229a91baece | [
"MIT"
] | 1 | 2018-10-17T18:49:25.000Z | 2018-10-17T18:49:25.000Z | import ast
import tokenize
from typing import List
import asttokens
import pytest
from flake8.defaults import MAX_LINE_LENGTH # type: ignore
from flake8.processor import FileProcessor # type: ignore
class FakeOptions:
hang_closing: bool
indent_size: int
max_line_length: int
max_doc_length: int
... | 24.65625 | 94 | 0.704267 | 312 | 2,367 | 5.163462 | 0.314103 | 0.052142 | 0.079454 | 0.035382 | 0.060832 | 0.028554 | 0 | 0 | 0 | 0 | 0 | 0.003696 | 0.199831 | 2,367 | 95 | 95 | 24.915789 | 0.846885 | 0.238276 | 0 | 0.16 | 0 | 0 | 0.007071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0.14 | 0.06 | 0.58 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
1adf099a757cbb2bf67453781df7e1c79e28a627 | 976 | py | Python | tests/openwisp2/sample_users/models.py | codesankalp/openwisp-ipam | 5a2fbdbfa31c2212dc131d93f51608dbb7ba8a5d | [
"BSD-3-Clause"
] | 81 | 2018-08-07T02:55:34.000Z | 2022-03-06T02:21:10.000Z | tests/openwisp2/sample_users/models.py | codesankalp/openwisp-ipam | 5a2fbdbfa31c2212dc131d93f51608dbb7ba8a5d | [
"BSD-3-Clause"
] | 133 | 2018-08-06T14:01:55.000Z | 2022-03-10T16:20:04.000Z | tests/openwisp2/sample_users/models.py | codesankalp/openwisp-ipam | 5a2fbdbfa31c2212dc131d93f51608dbb7ba8a5d | [
"BSD-3-Clause"
] | 47 | 2018-09-04T14:01:56.000Z | 2022-02-19T19:09:54.000Z | from django.contrib.auth.models import Group as AbstractGroup
from django.core.validators import RegexValidator
from django.db import models
from openwisp_users.base.models import (
AbstractUser,
BaseGroup,
BaseOrganization,
BaseOrganizationOwner,
BaseOrganizationUser,
)
from organizations.abstract ... | 22.181818 | 74 | 0.743852 | 91 | 976 | 7.934066 | 0.505495 | 0.022161 | 0.029086 | 0.033241 | 0.012465 | 0.012465 | 0.012465 | 0.012465 | 0 | 0 | 0 | 0.002494 | 0.178279 | 976 | 43 | 75 | 22.697674 | 0.897756 | 0 | 0 | 0.125 | 0 | 0 | 0.022541 | 0.022541 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.15625 | 0 | 0.375 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
1ae9b498e1292d6819d312eba602d278ec9618ab | 16,465 | py | Python | bugex_online/bugex_webapp/views.py | fkleon/bugex-online | bf0687ff6167d66980eb44adcdb14e8fc65d9504 | [
"Apache-2.0"
] | null | null | null | bugex_online/bugex_webapp/views.py | fkleon/bugex-online | bf0687ff6167d66980eb44adcdb14e8fc65d9504 | [
"Apache-2.0"
] | 7 | 2020-06-30T23:15:12.000Z | 2022-02-01T00:57:38.000Z | bugex_online/bugex_webapp/views.py | fkleon/bugex-online | bf0687ff6167d66980eb44adcdb14e8fc65d9504 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Project: BugEx Online
Authors: Amir Baradaran
Tim Krones
Frederik Leonhardt
Christos Monogios
Akmal Qodirov
Iliana Simova
Peter Stahl
"""
import shutil
import logging
from django.conf import settings
from django.core.exceptions import ... | 34.159751 | 94 | 0.629213 | 1,809 | 16,465 | 5.52073 | 0.182974 | 0.048062 | 0.01502 | 0.011415 | 0.352458 | 0.280965 | 0.25353 | 0.211074 | 0.158106 | 0.098828 | 0 | 0.004136 | 0.280534 | 16,465 | 481 | 95 | 34.230769 | 0.838933 | 0.132159 | 0 | 0.346278 | 0 | 0 | 0.165088 | 0.020777 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042071 | false | 0.122977 | 0.05178 | 0 | 0.142395 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
1af12b6d4c47d712e3f93beffe7357337602ca3b | 2,232 | py | Python | pycrunch_trace/server/chunks_ordering.py | yswtrue/pycrunch-trace | 67395a8ee578387c878cd85365cec186ab811984 | [
"MIT"
] | 90 | 2020-06-02T09:43:34.000Z | 2022-03-18T12:04:11.000Z | pycrunch_trace/server/chunks_ordering.py | yswtrue/pycrunch-trace | 67395a8ee578387c878cd85365cec186ab811984 | [
"MIT"
] | 8 | 2020-06-05T19:20:07.000Z | 2022-03-17T10:14:30.000Z | pycrunch_trace/server/chunks_ordering.py | yswtrue/pycrunch-trace | 67395a8ee578387c878cd85365cec186ab811984 | [
"MIT"
] | 8 | 2020-06-06T08:08:53.000Z | 2022-03-19T16:38:18.000Z | from queue import Queue
from typing import Dict, Any
class PyCrunchTraceException(Exception):
pass
class PyCrunchTraceServerException(PyCrunchTraceException):
pass
class ReceivedChunks:
def __init__(self, session_id: str):
self.session_id = session_id
self.received_chunks = set()
... | 34.338462 | 127 | 0.730287 | 287 | 2,232 | 5.296167 | 0.216028 | 0.130263 | 0.068421 | 0.071053 | 0.401974 | 0.260526 | 0.131579 | 0.090789 | 0.090789 | 0.090789 | 0 | 0.003887 | 0.1931 | 2,232 | 64 | 128 | 34.875 | 0.840089 | 0 | 0 | 0.045455 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0.045455 | 0.045455 | 0 | 0.386364 | 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 | 0 | 0 | 0 | 0 | 1 |
1afb909433e3706b19ba33670324eb72a0c97ada | 3,185 | py | Python | src/py/autowig/default_controller.py | StatisKit/AutoWIG | e68f0bd7b7e971c80419342d8dc6716a4b59a13c | [
"Apache-2.0"
] | 102 | 2016-08-29T21:01:09.000Z | 2022-02-28T19:58:54.000Z | src/py/autowig/default_controller.py | VirtualPlants/AutoWIG | e68f0bd7b7e971c80419342d8dc6716a4b59a13c | [
"Apache-2.0"
] | 13 | 2016-08-10T11:40:42.000Z | 2020-09-18T18:02:43.000Z | src/py/autowig/default_controller.py | VirtualPlants/AutoWIG | e68f0bd7b7e971c80419342d8dc6716a4b59a13c | [
"Apache-2.0"
] | 14 | 2017-07-20T00:46:13.000Z | 2021-11-23T19:45:09.000Z | ## Copyright [2017-2018] UMR MISTEA INRA, UMR LEPSE INRA, ##
## UMR AGAP CIRAD, EPI Virtual Plants Inria ##
## Copyright [2015-2016] UMR AGAP CIRAD, EPI Virtual Plants Inria ##
## ##
## This file is ... | 55.877193 | 236 | 0.566091 | 363 | 3,185 | 4.936639 | 0.473829 | 0.033482 | 0.031808 | 0.016741 | 0.087054 | 0.064732 | 0.03683 | 0 | 0 | 0 | 0 | 0.011063 | 0.347253 | 3,185 | 56 | 237 | 56.875 | 0.85089 | 0.856515 | 0 | 0 | 0 | 0 | 0.057762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.375 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
1afd2e6b42e0b771297bbd46affa9c159a97656b | 375 | py | Python | curriculum/migrations/0006_auto_20200927_1917.py | Akbarshokh/Schook_LMSS | 1502160f008cce4a2d06fabb7934f0cfefc4df3b | [
"MIT"
] | null | null | null | curriculum/migrations/0006_auto_20200927_1917.py | Akbarshokh/Schook_LMSS | 1502160f008cce4a2d06fabb7934f0cfefc4df3b | [
"MIT"
] | null | null | null | curriculum/migrations/0006_auto_20200927_1917.py | Akbarshokh/Schook_LMSS | 1502160f008cce4a2d06fabb7934f0cfefc4df3b | [
"MIT"
] | null | null | null | # Generated by Django 3.1.1 on 2020-09-27 13:47
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('app_users', '0001_initial'),
('curriculum', '0005_auto_20200927_1914'),
]
operations = [
migrations.RenameModel(
old_name='Comme... | 19.736842 | 50 | 0.594667 | 40 | 375 | 5.4 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130597 | 0.285333 | 375 | 18 | 51 | 20.833333 | 0.675373 | 0.12 | 0 | 0 | 1 | 0 | 0.210366 | 0.070122 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
2104b61becdd1d409b09a8991106d95643388e99 | 1,985 | pyw | Python | main.pyw | NiumXp/TwitchChatBeep | 07f43e8cac4163b0182803590205b83a43b08bda | [
"MIT"
] | 2 | 2020-12-30T22:51:59.000Z | 2021-01-08T23:08:57.000Z | main.pyw | NiumXp/TwitchChatBeep | 07f43e8cac4163b0182803590205b83a43b08bda | [
"MIT"
] | null | null | null | main.pyw | NiumXp/TwitchChatBeep | 07f43e8cac4163b0182803590205b83a43b08bda | [
"MIT"
] | null | null | null | import socket
import re
import winsound
import tkinter
import threading
import getpass
import os
import traceback
import io
from tkinter.simpledialog import askstring
from tkinter.messagebox import showerror
path = r"C:\Users\{}\AppData\Local\Temp\twitch_sound_chat.txt"
path = path.format(getpass.getuser())
root = t... | 25.779221 | 77 | 0.603023 | 252 | 1,985 | 4.702381 | 0.468254 | 0.076793 | 0.033755 | 0.037131 | 0.083544 | 0.033755 | 0.033755 | 0 | 0 | 0 | 0 | 0.0166 | 0.24131 | 1,985 | 76 | 78 | 26.118421 | 0.770252 | 0 | 0 | 0 | 0 | 0 | 0.16272 | 0.040806 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0.054545 | 0.2 | 0 | 0.254545 | 0.018182 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
21096c0576820cd0c5fb9babc180bdb3a09bd469 | 743 | py | Python | API/src/setup.py | OA-DeepGreen/jper | 042719a790a34f877050a32f896b947ce4407b4e | [
"Apache-2.0"
] | null | null | null | API/src/setup.py | OA-DeepGreen/jper | 042719a790a34f877050a32f896b947ce4407b4e | [
"Apache-2.0"
] | 1 | 2022-02-03T12:35:18.000Z | 2022-02-03T12:35:18.000Z | API/src/setup.py | OA-DeepGreen/jper | 042719a790a34f877050a32f896b947ce4407b4e | [
"Apache-2.0"
] | 3 | 2016-07-15T07:29:33.000Z | 2020-02-03T11:20:34.000Z | from setuptools import setup, find_packages
setup(
name = 'engine',
version = '1.0.0-p3',
packages = find_packages(),
install_requires = [
"utils"
],
url = 'http://jisc.ac.uk/',
author = 'Mateusz Kasiuba',
author_email = 'mateusz.kasiuba@jisc.ac.uk',
description = 'Package t... | 29.72 | 84 | 0.605653 | 72 | 743 | 6.194444 | 0.763889 | 0.053812 | 0.035874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009141 | 0.263795 | 743 | 24 | 85 | 30.958333 | 0.806216 | 0 | 0 | 0.086957 | 0 | 0 | 0.507402 | 0.034993 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.043478 | 0 | 0.043478 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
210f7fdd9eccdff5ed76d3f3dcae5a92d0f803f6 | 4,861 | py | Python | dash_docs/chapters/dash_slicer/index.py | joelostblom/dash-docs | 7be5aed7795f61ac32375ce33a18046b8f2f5254 | [
"MIT"
] | 379 | 2017-06-21T14:35:52.000Z | 2022-03-20T01:47:14.000Z | dash_docs/chapters/dash_slicer/index.py | joelostblom/dash-docs | 7be5aed7795f61ac32375ce33a18046b8f2f5254 | [
"MIT"
] | 746 | 2017-06-21T19:58:17.000Z | 2022-03-23T14:51:24.000Z | dash_docs/chapters/dash_slicer/index.py | joelostblom/dash-docs | 7be5aed7795f61ac32375ce33a18046b8f2f5254 | [
"MIT"
] | 201 | 2017-06-21T21:53:19.000Z | 2022-03-17T13:23:55.000Z | import inspect
import dash_html_components as html
import dash_core_components as dcc
from dash_docs import styles
from dash_docs import tools
from dash_docs import reusable_components as rc
import dash_slicer
try:
from dash_slicer.docs import get_reference_docs
except ImportError:
get_reference_docs = lambda... | 34.971223 | 92 | 0.708085 | 732 | 4,861 | 4.639344 | 0.362022 | 0.035336 | 0.021201 | 0.028269 | 0.129564 | 0.118963 | 0.101296 | 0.056537 | 0.056537 | 0.056537 | 0 | 0.004971 | 0.213742 | 4,861 | 138 | 93 | 35.224638 | 0.883569 | 0.006377 | 0 | 0.205882 | 0 | 0.019608 | 0.770713 | 0.014499 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.088235 | 0 | 0.088235 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
2113c6cc7f1cf3f3a8f2c3459aae39fdecded233 | 5,411 | py | Python | library/pyjamas/Canvas2D.py | andreyvit/pyjamas | 1154abe3340a84dba7530b8174aaddecfc1a0944 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2017-09-09T11:58:36.000Z | 2017-09-09T11:58:36.000Z | library/pyjamas/Canvas2D.py | andreyvit/pyjamas | 1154abe3340a84dba7530b8174aaddecfc1a0944 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | library/pyjamas/Canvas2D.py | andreyvit/pyjamas | 1154abe3340a84dba7530b8174aaddecfc1a0944 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Canvas wrapper component for Pyjamas
# Ported by Willie Gollino from Canvas component for GWT - Originally by Alexei Sokolov http://gwt.components.googlepages.com/
#
# Canvas API reference:
# http://developer.apple.com/documentation/AppleApplications/Reference/SafariJSRef/Classes/Canvas.html#//apple_ref/js/Canvas.cle... | 32.401198 | 134 | 0.630752 | 584 | 5,411 | 5.77911 | 0.289384 | 0.046222 | 0.042667 | 0.028148 | 0.060148 | 0.047111 | 0.024593 | 0.024593 | 0.024593 | 0.017185 | 0 | 0.006248 | 0.26058 | 5,411 | 166 | 135 | 32.596386 | 0.837291 | 0.114951 | 0 | 0.058252 | 0 | 0 | 0.016813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.213592 | false | 0 | 0.087379 | 0.029126 | 0.378641 | 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 | 0 | 0 | 0 | 0 | 1 |
2113d4a9f192f2e13f450a4f2c3f6575c031cb05 | 1,988 | py | Python | tests/settings.py | joshuakoh1/drf-stripe-subscription | a350e1d16338602c59f6d2a7f14a5c1572cf1a10 | [
"MIT"
] | 33 | 2022-01-13T00:03:52.000Z | 2022-03-16T09:58:58.000Z | tests/settings.py | joshuakoh1/drf-stripe-subscription | a350e1d16338602c59f6d2a7f14a5c1572cf1a10 | [
"MIT"
] | 12 | 2022-02-08T03:56:15.000Z | 2022-03-30T14:03:42.000Z | tests/settings.py | joshuakoh1/drf-stripe-subscription | a350e1d16338602c59f6d2a7f14a5c1572cf1a10 | [
"MIT"
] | 1 | 2022-02-07T22:15:38.000Z | 2022-02-07T22:15:38.000Z | ADMINS = ()
MANAGERS = ADMINS
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": ":memory:",
}
}
REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticated',
),
'DEFAULT_RENDERER_CLASSES': (
'rest_framewo... | 23.388235 | 70 | 0.636821 | 171 | 1,988 | 7.22807 | 0.421053 | 0.147249 | 0.084951 | 0.125405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008458 | 0.226861 | 1,988 | 84 | 71 | 23.666667 | 0.795706 | 0 | 0 | 0.029412 | 0 | 0 | 0.569417 | 0.472334 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
211e61c2a4f699b203030cc68b7d22230eba1563 | 7,764 | py | Python | Ui_AppMainWindow.py | NFT-creators-org/NFT-generator | be1145ba761c7e62567548cf6a086a2583389480 | [
"MIT"
] | 1 | 2022-03-13T23:53:11.000Z | 2022-03-13T23:53:11.000Z | Ui_AppMainWindow.py | NFT-creators-org/NFT-generator | be1145ba761c7e62567548cf6a086a2583389480 | [
"MIT"
] | null | null | null | Ui_AppMainWindow.py | NFT-creators-org/NFT-generator | be1145ba761c7e62567548cf6a086a2583389480 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'AppMainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore... | 53.916667 | 120 | 0.726301 | 851 | 7,764 | 6.428907 | 0.192714 | 0.066533 | 0.031073 | 0.01974 | 0.265034 | 0.177481 | 0.139097 | 0.084262 | 0.065984 | 0.065984 | 0 | 0.023126 | 0.170144 | 7,764 | 143 | 121 | 54.293706 | 0.826013 | 0.035806 | 0 | 0.094488 | 1 | 0 | 0.077561 | 0.009762 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015748 | false | 0 | 0.015748 | 0 | 0.03937 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
2120724c6ac7b8aaa2507d63e5d87f981ef4b09c | 5,177 | py | Python | src/python/director/coursemodel.py | EulerWong/director | e30a56ba3a3bac82216adb0f8cc29d1fae8cb74b | [
"BSD-3-Clause"
] | 3 | 2017-05-25T01:13:06.000Z | 2019-07-21T09:04:51.000Z | src/python/director/coursemodel.py | EulerWong/director | e30a56ba3a3bac82216adb0f8cc29d1fae8cb74b | [
"BSD-3-Clause"
] | null | null | null | src/python/director/coursemodel.py | EulerWong/director | e30a56ba3a3bac82216adb0f8cc29d1fae8cb74b | [
"BSD-3-Clause"
] | 5 | 2017-02-22T17:56:52.000Z | 2019-07-21T09:04:53.000Z |
#import director
from director import cameraview
from director import transformUtils
from director import visualization as vis
from director import objectmodel as om
from director.ikparameters import IkParameters
from director.ikplanner import ConstraintSet
from director import polarisplatformplanner
from director imp... | 58.829545 | 154 | 0.717018 | 566 | 5,177 | 6.547703 | 0.257951 | 0.014031 | 0.011333 | 0.08095 | 0.349433 | 0.344576 | 0.228548 | 0.228548 | 0.217755 | 0.188613 | 0 | 0.110906 | 0.163995 | 5,177 | 87 | 155 | 59.505747 | 0.745379 | 0.002897 | 0 | 0.029851 | 0 | 0 | 0.037597 | 0.012791 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014925 | false | 0 | 0.402985 | 0 | 0.432836 | 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 | 0 | 0 | 0 | 0 | 1 |
2130c5b814af032a6fad10f5e570c8ed6f49c41d | 470 | py | Python | ros/src/control/scripts/init_hw_constants.py | purduerov/X11-New | e2884af3601b8ef824a4d3364c393d828d34172b | [
"MIT"
] | 4 | 2018-09-26T12:59:34.000Z | 2020-02-14T00:23:52.000Z | ros/src/control/scripts/init_hw_constants.py | purduerov/X11-New | e2884af3601b8ef824a4d3364c393d828d34172b | [
"MIT"
] | 18 | 2018-09-21T03:38:26.000Z | 2019-03-25T23:36:00.000Z | ros/src/control/scripts/init_hw_constants.py | purduerov/X11-New | e2884af3601b8ef824a4d3364c393d828d34172b | [
"MIT"
] | 1 | 2018-09-26T23:41:54.000Z | 2018-09-26T23:41:54.000Z | # Motor Controller class initialization constants
ZERO_POWER = 309 # Value to set thrusters to 0 power
NEG_MAX_POWER = 226 # Value to set thrusters to max negative power
POS_MAX_POWER = 391 # Value to set thrusters to max positive power
FREQUENCY = 49.5 # Frequency at which the i2c to pwm will be updated
POWER_THRE... | 36.153846 | 74 | 0.778723 | 75 | 470 | 4.746667 | 0.653333 | 0.058989 | 0.08427 | 0.160112 | 0.19382 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 0.182979 | 470 | 12 | 75 | 39.166667 | 0.872396 | 0.62766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 |
213478ea3fa9ae3bbb06e85336acdcaaacee83ae | 1,163 | py | Python | preprocess.py | SankalpM-29/car_selling_price | 635afcb617b3c26e54ec8056b6d4458d29c32bdf | [
"MIT"
] | null | null | null | preprocess.py | SankalpM-29/car_selling_price | 635afcb617b3c26e54ec8056b6d4458d29c32bdf | [
"MIT"
] | null | null | null | preprocess.py | SankalpM-29/car_selling_price | 635afcb617b3c26e54ec8056b6d4458d29c32bdf | [
"MIT"
] | null | null | null |
from sklearn.preprocessing import OneHotEncoder
import numpy as np
fuel = ['Diesel', 'Petrol', 'LPG', 'CNG']
seller_type = ['Individual', 'Dealer', 'Trustmark Dealer']
transmission = ['Manual', 'Automatic']
owner = ['First Owner', 'Second Owner', 'Third Owner', 'Fourth & Above Owner', 'Test Drive Car']
enc1 = OneHo... | 30.605263 | 96 | 0.686156 | 159 | 1,163 | 4.943396 | 0.421384 | 0.044529 | 0.057252 | 0.16285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042323 | 0.126397 | 1,163 | 37 | 97 | 31.432432 | 0.731299 | 0 | 0 | 0 | 0 | 0 | 0.139415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.153846 | 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 | 0 | 0 | 0 | 0 | 1 |
213bb2bd5a0bb45892fb8d405d383f78af5de245 | 3,100 | py | Python | apps/fw.py | lanfangping/ravel | 7be759f219828b09696faf0b3eb52e83243998f9 | [
"Apache-2.0"
] | 9 | 2016-03-14T19:19:21.000Z | 2020-03-24T07:04:39.000Z | apps/fw.py | lanfangping/ravel | 7be759f219828b09696faf0b3eb52e83243998f9 | [
"Apache-2.0"
] | null | null | null | apps/fw.py | lanfangping/ravel | 7be759f219828b09696faf0b3eb52e83243998f9 | [
"Apache-2.0"
] | 10 | 2016-05-10T14:47:56.000Z | 2021-11-08T05:47:47.000Z | import cmd
from ravel.app import AppConsole
class FirewallConsole(AppConsole):
def _getHostId(self, hname):
hostnames = self.env.provider.cache_name
if hname not in hostnames:
print "Unknown host", hname
return None
return hostnames[hname]
def do_addhost(self, ... | 29.807692 | 79 | 0.516452 | 347 | 3,100 | 4.556196 | 0.244957 | 0.049336 | 0.064516 | 0.037951 | 0.609741 | 0.57685 | 0.531309 | 0.499684 | 0.499684 | 0.499684 | 0 | 0.013068 | 0.382903 | 3,100 | 103 | 80 | 30.097087 | 0.813382 | 0 | 0 | 0.605263 | 0 | 0 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.026316 | null | null | 0.171053 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
214296f86894c6cc3f62cc052e0d9f1f355388f5 | 679 | py | Python | cars/migrations/0009_auto_20210202_1228.py | zubev/my_cars | 31e058d5b8de0c876b6384003b6115584ed9bd7f | [
"MIT"
] | null | null | null | cars/migrations/0009_auto_20210202_1228.py | zubev/my_cars | 31e058d5b8de0c876b6384003b6115584ed9bd7f | [
"MIT"
] | null | null | null | cars/migrations/0009_auto_20210202_1228.py | zubev/my_cars | 31e058d5b8de0c876b6384003b6115584ed9bd7f | [
"MIT"
] | null | null | null | # Generated by Django 3.1.5 on 2021-02-02 10:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cars', '0008_auto_20210202_1221'),
]
operations = [
migrations.RemoveField(
model_name='car',
name='coupe',
... | 28.291667 | 212 | 0.56701 | 67 | 679 | 5.626866 | 0.701493 | 0.047745 | 0.06366 | 0.084881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066265 | 0.266568 | 679 | 23 | 213 | 29.521739 | 0.690763 | 0.066274 | 0 | 0.235294 | 1 | 0 | 0.202532 | 0.036392 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
2142a762bb15f1a6dcd666cda293d66cee068b98 | 415 | py | Python | games/migrations/0004_alter_categorymodel_description.py | alexdeathway/Gecom | 2a0fc87887d73d15eba183625dc8a429defe851f | [
"MIT"
] | 7 | 2021-11-15T06:28:05.000Z | 2022-02-22T11:36:00.000Z | games/migrations/0004_alter_categorymodel_description.py | alexdeathway/Gecom | 2a0fc87887d73d15eba183625dc8a429defe851f | [
"MIT"
] | 3 | 2021-11-02T16:10:49.000Z | 2022-02-01T08:30:38.000Z | games/migrations/0004_alter_categorymodel_description.py | alexdeathway/Gecom | 2a0fc87887d73d15eba183625dc8a429defe851f | [
"MIT"
] | null | null | null | # Generated by Django 3.2.8 on 2021-11-17 10:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('games', '0003_categorymodel_description'),
]
operations = [
migrations.AlterField(
model_name='categorymodel',
name=... | 21.842105 | 62 | 0.619277 | 43 | 415 | 5.883721 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072607 | 0.26988 | 415 | 18 | 63 | 23.055556 | 0.762376 | 0.108434 | 0 | 0 | 1 | 0 | 0.160326 | 0.081522 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
214388702ac537a6671935aacef98626075991d1 | 910 | py | Python | beartype/_util/py/utilpyinterpreter.py | vcokltfre/beartype | 9a1f81bea37a0eb4f51443dded8cec2e751e42a8 | [
"MIT"
] | 1,056 | 2020-04-03T10:21:29.000Z | 2022-03-28T12:38:16.000Z | beartype/_util/py/utilpyinterpreter.py | vcokltfre/beartype | 9a1f81bea37a0eb4f51443dded8cec2e751e42a8 | [
"MIT"
] | 107 | 2020-04-04T06:00:16.000Z | 2022-03-29T18:58:50.000Z | beartype/_util/py/utilpyinterpreter.py | vcokltfre/beartype | 9a1f81bea37a0eb4f51443dded8cec2e751e42a8 | [
"MIT"
] | 30 | 2020-10-06T19:14:25.000Z | 2022-03-02T08:02:59.000Z | #!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2021 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide **Python interpreter** utilities.
This private submodule is *not* intended for importation by downstream callers.
'''... | 31.37931 | 79 | 0.569231 | 86 | 910 | 5.860465 | 0.697674 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012552 | 0.212088 | 910 | 28 | 80 | 32.5 | 0.690377 | 0.68022 | 0 | 0 | 0 | 0 | 0.135659 | 0.120155 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
21623a61fafe294cef4615e3c1b8c2dc27c34fe9 | 1,335 | py | Python | stations/drugshare/migrations/0016_auto_20160607_1142.py | boyombo/django-stations | 93a70be7eb8268f9d48f6e3cf9a532bcb27ff895 | [
"MIT"
] | null | null | null | stations/drugshare/migrations/0016_auto_20160607_1142.py | boyombo/django-stations | 93a70be7eb8268f9d48f6e3cf9a532bcb27ff895 | [
"MIT"
] | null | null | null | stations/drugshare/migrations/0016_auto_20160607_1142.py | boyombo/django-stations | 93a70be7eb8268f9d48f6e3cf9a532bcb27ff895 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-06-07 11:42
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('drugshare', '0015_auto_20160606_1816'),
]
operation... | 31.046512 | 115 | 0.582022 | 133 | 1,335 | 5.699248 | 0.473684 | 0.042216 | 0.055409 | 0.087071 | 0.430079 | 0.430079 | 0.221636 | 0.126649 | 0.126649 | 0 | 0 | 0.040042 | 0.289139 | 1,335 | 42 | 116 | 31.785714 | 0.758693 | 0.050187 | 0 | 0.428571 | 1 | 0 | 0.110672 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085714 | 0 | 0.171429 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
2166ec45addb452521dd47f4a31123d8df30c378 | 627 | py | Python | InvenTree/order/migrations/0060_auto_20211129_1339.py | carlos-riquelme/InvenTree | 724dd2a9c82e4c10e14bd6aba8f48553b183fef9 | [
"MIT"
] | 5 | 2020-08-14T06:18:57.000Z | 2022-01-11T01:22:56.000Z | InvenTree/order/migrations/0060_auto_20211129_1339.py | carlos-riquelme/InvenTree | 724dd2a9c82e4c10e14bd6aba8f48553b183fef9 | [
"MIT"
] | 27 | 2021-04-12T22:05:39.000Z | 2022-03-13T20:33:54.000Z | InvenTree/order/migrations/0060_auto_20211129_1339.py | carlos-riquelme/InvenTree | 724dd2a9c82e4c10e14bd6aba8f48553b183fef9 | [
"MIT"
] | 1 | 2021-12-10T04:47:10.000Z | 2021-12-10T04:47:10.000Z | # Generated by Django 3.2.5 on 2021-11-29 13:39
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('order', '0059_salesordershipment_tracking_number'),
]
operations = [
migrations.AlterField(
model_name='salesordershipment',
... | 27.26087 | 118 | 0.625199 | 59 | 627 | 6.508475 | 0.745763 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049251 | 0.255183 | 627 | 22 | 119 | 28.5 | 0.773019 | 0.07177 | 0 | 0.125 | 1 | 0 | 0.218966 | 0.067241 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
216980f98c820eef2b3950315f9bf7c4584cde00 | 274 | py | Python | Week-1/Contest 1/Question 3.py | Dawit-Getachew/A2SV_Practice | 2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61 | [
"MIT"
] | null | null | null | Week-1/Contest 1/Question 3.py | Dawit-Getachew/A2SV_Practice | 2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61 | [
"MIT"
] | null | null | null | Week-1/Contest 1/Question 3.py | Dawit-Getachew/A2SV_Practice | 2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61 | [
"MIT"
] | null | null | null | def pattern(N):
if(N==2):
for i in range(N):
print(("#"*1+" ")*N)
if(N==3):
for i in range(N-1):
print(("#"*2+" ")*N)
if(N==4):
for i in range(N-2):
print(("#"*3+" ")*N)
pattern(2)
pattern(3)
pattern(4) | 21.076923 | 32 | 0.386861 | 44 | 274 | 2.409091 | 0.295455 | 0.084906 | 0.113208 | 0.311321 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062147 | 0.354015 | 274 | 13 | 33 | 21.076923 | 0.536723 | 0 | 0 | 0 | 0 | 0 | 0.021818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.076923 | 0.230769 | 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 | 0 | 0 | 0 | 0 | 1 |
dcc18a9ac5a7becee29ba8fc8a357e9b0bb617f4 | 5,715 | py | Python | txdav/xml/parser_etree.py | backwardn/ccs-calendarserver | 13c706b985fb728b9aab42dc0fef85aae21921c3 | [
"Apache-2.0"
] | 462 | 2016-08-14T17:43:24.000Z | 2022-03-17T07:38:16.000Z | txdav/xml/parser_etree.py | backwardn/ccs-calendarserver | 13c706b985fb728b9aab42dc0fef85aae21921c3 | [
"Apache-2.0"
] | 72 | 2016-09-01T23:19:35.000Z | 2020-02-05T02:09:26.000Z | txdav/xml/parser_etree.py | backwardn/ccs-calendarserver | 13c706b985fb728b9aab42dc0fef85aae21921c3 | [
"Apache-2.0"
] | 171 | 2016-08-16T03:50:30.000Z | 2022-03-26T11:49:55.000Z | ##
# Copyright (c) 2012-2017 Apple Inc. All rights reserved.
#
# 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, mod... | 33.816568 | 109 | 0.635871 | 666 | 5,715 | 5.382883 | 0.36036 | 0.052999 | 0.016736 | 0.019247 | 0.127197 | 0.09205 | 0.079219 | 0.079219 | 0.079219 | 0.079219 | 0 | 0.005764 | 0.271391 | 5,715 | 168 | 110 | 34.017857 | 0.855187 | 0.270341 | 0 | 0.173469 | 0 | 0 | 0.063984 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 0 | null | null | 0 | 0.071429 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dcc5ce6ab979be69b26aa4732e75c12ef75dedfb | 10,480 | py | Python | furious/extras/appengine/ndb_persistence.py | jasonaguilon-wf/furious | a0f568701c378fdf5505797103b16aa9bb04c47b | [
"Apache-2.0"
] | 14 | 2015-02-04T13:20:29.000Z | 2021-05-11T14:32:10.000Z | furious/extras/appengine/ndb_persistence.py | jasonaguilon-wf/furious | a0f568701c378fdf5505797103b16aa9bb04c47b | [
"Apache-2.0"
] | 25 | 2015-01-19T17:46:18.000Z | 2017-09-14T19:58:47.000Z | furious/extras/appengine/ndb_persistence.py | jasonaguilon-wf/furious | a0f568701c378fdf5505797103b16aa9bb04c47b | [
"Apache-2.0"
] | 15 | 2015-01-14T20:01:07.000Z | 2021-07-07T21:53:43.000Z | #
# Copyright 2014 WebFilings, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 28.950276 | 79 | 0.680534 | 1,378 | 10,480 | 5.027576 | 0.206096 | 0.020208 | 0.007939 | 0.013279 | 0.158343 | 0.101328 | 0.05918 | 0.035508 | 0.035508 | 0.012125 | 0 | 0.002234 | 0.231298 | 10,480 | 361 | 80 | 29.030471 | 0.857746 | 0.099714 | 0 | 0.123656 | 0 | 0 | 0.069983 | 0.003351 | 0 | 0 | 0 | 0.00831 | 0 | 0 | null | null | 0.005376 | 0.075269 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dcc685a676be0daa31811132d58588cb59494eb0 | 971 | py | Python | setup.py | ncpenke/ib_wrapper_py | 62af6170dcf80a1491e0f6a1bef3f98e62da5d79 | [
"MIT"
] | 1 | 2022-03-06T19:24:13.000Z | 2022-03-06T19:24:13.000Z | setup.py | ncpenke/ib_wrapper_py | 62af6170dcf80a1491e0f6a1bef3f98e62da5d79 | [
"MIT"
] | null | null | null | setup.py | ncpenke/ib_wrapper_py | 62af6170dcf80a1491e0f6a1bef3f98e62da5d79 | [
"MIT"
] | 3 | 2021-07-30T10:49:16.000Z | 2021-08-29T06:20:43.000Z | import distutils.cmd
from setuptools import setup, find_packages
import setuptools.command.build_py
import ib_tws_server.codegen.main
import os.path
class CodegenCommand(distutils.cmd.Command):
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
dir ... | 27.742857 | 59 | 0.700309 | 127 | 971 | 5.141732 | 0.393701 | 0.085758 | 0.084227 | 0.147014 | 0.23124 | 0.163859 | 0.116386 | 0.116386 | 0 | 0 | 0 | 0.002528 | 0.185376 | 971 | 34 | 60 | 28.558824 | 0.823009 | 0 | 0 | 0.206897 | 0 | 0 | 0.144181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0.068966 | 0.172414 | 0 | 0.37931 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
dcc8a26df42d449e0a491c3b7f9ee77b0ede08f3 | 6,402 | py | Python | test/docs_example_test.py | nathan5280/callable-journal | d815f2e029b3af53f9631b6a7672c0faec16be0e | [
"MIT"
] | 1 | 2020-10-21T20:56:35.000Z | 2020-10-21T20:56:35.000Z | test/docs_example_test.py | nathan5280/callable-journal | d815f2e029b3af53f9631b6a7672c0faec16be0e | [
"MIT"
] | null | null | null | test/docs_example_test.py | nathan5280/callable-journal | d815f2e029b3af53f9631b6a7672c0faec16be0e | [
"MIT"
] | null | null | null | import copy
import logging
from pathlib import Path
from typing import List, Tuple
from callable_journal import journal, journal_init, DROP_RESULT
logger = logging.getLogger()
def motivation(a: int, b: List[int]) -> Tuple[int, List[int]]:
multiplied = [a * b_item for b_item in b]
return sum(multiplied), mul... | 24.435115 | 90 | 0.575914 | 870 | 6,402 | 4.041379 | 0.111494 | 0.01479 | 0.014221 | 0.025597 | 0.702218 | 0.702218 | 0.687429 | 0.682309 | 0.618032 | 0.554892 | 0 | 0.030303 | 0.242268 | 6,402 | 261 | 91 | 24.528736 | 0.694496 | 0.031865 | 0 | 0.477528 | 0 | 0 | 0.194094 | 0.015428 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146067 | false | 0.005618 | 0.02809 | 0 | 0.224719 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dcc9e92e51b422e913d3df6c5c0ce5232d73b9cb | 908 | py | Python | scripts/release18/GeGetMoDataWeights.py | tdapper/cinema4d_py_sdk | 32b1d2b63fe28510c83c66065394042900000e92 | [
"Apache-2.0"
] | 113 | 2015-12-11T11:00:49.000Z | 2022-03-27T01:33:12.000Z | scripts/release18/GeGetMoDataWeights.py | tdapper/cinema4d_py_sdk | 32b1d2b63fe28510c83c66065394042900000e92 | [
"Apache-2.0"
] | 3 | 2016-04-04T12:45:28.000Z | 2019-04-12T08:33:38.000Z | scripts/release18/GeGetMoDataWeights.py | tdapper/cinema4d_py_sdk | 32b1d2b63fe28510c83c66065394042900000e92 | [
"Apache-2.0"
] | 50 | 2015-11-16T11:13:02.000Z | 2022-03-26T07:05:25.000Z | # This example shows how to call GeGetMoDataWeights()
import c4d
from c4d.modules import mograph
def main():
# Checks if there is an active object
if op is None:
print "Please select a MoGraph Cloner Object"
return
# Checks if the active object is a MoGraph Cloner Object
if op.GetTyp... | 25.222222 | 79 | 0.657489 | 118 | 908 | 4.991525 | 0.415254 | 0.067912 | 0.095076 | 0.135823 | 0.229202 | 0.229202 | 0.229202 | 0.229202 | 0.14601 | 0 | 0 | 0.015038 | 0.267621 | 908 | 35 | 80 | 25.942857 | 0.870677 | 0.268722 | 0 | 0.25 | 0 | 0 | 0.248097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dcce37e59b63940eb4f01dd055c9a62d5a44825e | 4,549 | py | Python | lib/python2.7/auc.py | medgift/PROCESS_UC1_L1 | 0e9352f5685dda01efdfd0a2d125633208cb3755 | [
"MIT"
] | 3 | 2018-09-25T09:00:00.000Z | 2019-06-12T13:22:17.000Z | lib/python2.7/auc.py | medgift/PROCESS_UC1_L1 | 0e9352f5685dda01efdfd0a2d125633208cb3755 | [
"MIT"
] | 4 | 2020-09-25T20:21:40.000Z | 2022-02-09T23:28:21.000Z | lib/python2.7/auc.py | medgift/PROCESS_UC1_L1 | 0e9352f5685dda01efdfd0a2d125633208cb3755 | [
"MIT"
] | 4 | 2018-09-24T12:08:38.000Z | 2019-09-17T09:56:23.000Z | import matplotlib
matplotlib.use('Agg')
from models import *
import keras
from models import getModel, standardPreprocess
from functions import parseTrainingOptions, parseLoadOptions
import h5py as hd
import os
from tflearn.data_utils import shuffle, to_categorical
import matplotlib.pyplot as plt
import sklearn.metrics... | 31.157534 | 128 | 0.720818 | 750 | 4,549 | 4.085333 | 0.212 | 0.078329 | 0.072128 | 0.049608 | 0.39752 | 0.328982 | 0.328982 | 0.320496 | 0.310705 | 0.259138 | 0 | 0.022739 | 0.110574 | 4,549 | 146 | 129 | 31.157534 | 0.734553 | 0.074082 | 0 | 0.071429 | 0 | 0 | 0.091419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dccece71230864b3a2b64242cb98cc05543450c4 | 1,603 | py | Python | ooobuild/lo/bridge/ole_bridge_supplier.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/lo/bridge/ole_bridge_supplier.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/lo/bridge/ole_bridge_supplier.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2022 :Barry-Thomas-Paul: Moss
#
# 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 applicab... | 34.847826 | 221 | 0.752339 | 222 | 1,603 | 5.279279 | 0.594595 | 0.051195 | 0.025597 | 0.040956 | 0.035836 | 0.035836 | 0 | 0 | 0 | 0 | 0 | 0.018939 | 0.176544 | 1,603 | 45 | 222 | 35.622222 | 0.868939 | 0.744853 | 0 | 0 | 0 | 0 | 0.237389 | 0.109792 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
dcd754d175944887bb72d7d6d2f2c8aeec39a722 | 1,458 | py | Python | test/test_embedder.py | marcintustin/xnmt | f315fc5e493d25746bbde46d2c89cea3410d43df | [
"Apache-2.0"
] | null | null | null | test/test_embedder.py | marcintustin/xnmt | f315fc5e493d25746bbde46d2c89cea3410d43df | [
"Apache-2.0"
] | null | null | null | test/test_embedder.py | marcintustin/xnmt | f315fc5e493d25746bbde46d2c89cea3410d43df | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
import io
import numpy as np
from itertools import islice
from xnmt.input import PlainTextReader
from xnmt.embedder import PretrainedSimpleWordEmbedder
from xnmt.model_context import ModelContext, PersistentParamCollection
import xnmt.events
class PretrainedSimpleWordEmbedde... | 37.384615 | 122 | 0.727023 | 188 | 1,458 | 5.526596 | 0.5 | 0.051973 | 0.086622 | 0.057748 | 0.050048 | 0.050048 | 0 | 0 | 0 | 0 | 0 | 0.012955 | 0.152949 | 1,458 | 38 | 123 | 38.368421 | 0.82834 | 0.160494 | 0 | 0 | 0 | 0 | 0.072968 | 0.068823 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.08 | false | 0 | 0.32 | 0 | 0.44 | 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 | 0 | 0 | 0 | 0 | 1 |
dcdabc3a12c1a06e91dcde325d6f1b95b3e1123c | 582 | py | Python | lab4/LSLHandoff.py | jzingh98/bci-course | 71086ed5b57dab0159a9e48a214678221638ea46 | [
"MIT"
] | 9 | 2018-02-15T18:50:43.000Z | 2021-12-07T10:46:30.000Z | lab4/LSLHandoff.py | NeuroTechX/bci-course | ccbed2b55cee8a442a08a551f21dd5c281dcc573 | [
"MIT"
] | null | null | null | lab4/LSLHandoff.py | NeuroTechX/bci-course | ccbed2b55cee8a442a08a551f21dd5c281dcc573 | [
"MIT"
] | 3 | 2019-01-30T13:30:56.000Z | 2021-09-05T12:51:23.000Z | ## code by Alexandre Barachant
## adapted by Pierre Karashchuk for compatibility with Python3
from pylsl import StreamInfo, StreamOutlet
import numpy as np
try:
input = raw_input
except NameError:
pass
info = StreamInfo('Ganglion_EEG', 'EEG', 4, 200, 'float32',
'Ganglion_123456789')
outlet = S... | 29.1 | 68 | 0.680412 | 74 | 582 | 5.297297 | 0.702703 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050955 | 0.190722 | 582 | 19 | 69 | 30.631579 | 0.781316 | 0.223368 | 0 | 0 | 0 | 0 | 0.096413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.142857 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
dcdd46547252f0a0e6d60f97b5d3dc8a1c68c1a7 | 273 | py | Python | codeforces/math数学/1000/1107B数字根.py | yofn/pyacm | e573f8fdeea77513711f00c42f128795cbba65a6 | [
"Apache-2.0"
] | null | null | null | codeforces/math数学/1000/1107B数字根.py | yofn/pyacm | e573f8fdeea77513711f00c42f128795cbba65a6 | [
"Apache-2.0"
] | null | null | null | codeforces/math数学/1000/1107B数字根.py | yofn/pyacm | e573f8fdeea77513711f00c42f128795cbba65a6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# https://codeforces.com/problemset/problem/1107/B
# 类似筛子?
# https://codeforces.com/blog/entry/64847
# 性质: n%9=x
def f(l):
k,x = l
return 9*(k-1)+x
t = int(input())
for _ in range(t):
l = list(map(int,input().split()))
print(f(l))
| 17.0625 | 50 | 0.600733 | 49 | 273 | 3.326531 | 0.714286 | 0.184049 | 0.220859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057778 | 0.175824 | 273 | 15 | 51 | 18.2 | 0.666667 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 1 |
dceeeefbfc1b2f3985d2f469851c2b0445de61ec | 155 | py | Python | adb_shell/__init__.py | maybe-sybr/adb_shell | 41c52ed9a315735ecb7187d905fec65eaeea73a5 | [
"Apache-2.0"
] | 268 | 2019-09-25T16:38:51.000Z | 2022-03-31T07:08:17.000Z | adb_shell/__init__.py | maybe-sybr/adb_shell | 41c52ed9a315735ecb7187d905fec65eaeea73a5 | [
"Apache-2.0"
] | 73 | 2019-09-30T14:25:38.000Z | 2022-01-23T23:04:29.000Z | adb_shell/__init__.py | maybe-sybr/adb_shell | 41c52ed9a315735ecb7187d905fec65eaeea73a5 | [
"Apache-2.0"
] | 48 | 2019-11-05T20:37:59.000Z | 2022-03-09T08:12:06.000Z | # Copyright (c) 2021 Jeff Irion and contributors
#
# This file is part of the adb-shell package.
"""ADB shell functionality.
"""
__version__ = '0.4.1'
| 14.090909 | 48 | 0.690323 | 23 | 155 | 4.478261 | 0.913043 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.187097 | 155 | 10 | 49 | 15.5 | 0.761905 | 0.748387 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 |
dcf0f7769052a6a7fa2a7477a488e423cf16959c | 4,709 | py | Python | yogiyo/restaurants/migrations/0001_initial.py | YogiyoCloneTeamProject/YogiYoCloneAPI | 477cfe0508aa685e513b24421466fb0d6707f5ef | [
"MIT"
] | 11 | 2020-10-06T16:59:01.000Z | 2022-03-15T14:47:57.000Z | yogiyo/restaurants/migrations/0001_initial.py | YogiyoCloneTeamProject/YogiYoCloneAPI | 477cfe0508aa685e513b24421466fb0d6707f5ef | [
"MIT"
] | 38 | 2020-08-31T03:33:04.000Z | 2020-10-08T00:46:32.000Z | yogiyo/restaurants/migrations/0001_initial.py | YogiyoCloneTeamProject/YogiYoCloneAPI | 477cfe0508aa685e513b24421466fb0d6707f5ef | [
"MIT"
] | 9 | 2020-08-16T09:07:10.000Z | 2021-09-25T10:30:42.000Z | # Generated by Django 3.1 on 2020-09-17 07:25
import django.contrib.postgres.fields
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Cre... | 54.126437 | 409 | 0.59588 | 456 | 4,709 | 6.006579 | 0.302632 | 0.046002 | 0.078861 | 0.105148 | 0.526104 | 0.468054 | 0.456736 | 0.419496 | 0.387003 | 0.342461 | 0 | 0.016361 | 0.247186 | 4,709 | 86 | 410 | 54.755814 | 0.756276 | 0.009131 | 0 | 0.417722 | 1 | 0 | 0.149443 | 0.024443 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.050633 | 0 | 0.101266 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
dcf1ddb745ca1a118063d1be5639374ea0a2cf15 | 1,705 | py | Python | robots_deployment_offline/src/network.py | elerson/NetworkedRobotsProject | d2b9d0a121c5421a40e806a93e6a8f1315f24441 | [
"MIT"
] | null | null | null | robots_deployment_offline/src/network.py | elerson/NetworkedRobotsProject | d2b9d0a121c5421a40e806a93e6a8f1315f24441 | [
"MIT"
] | null | null | null | robots_deployment_offline/src/network.py | elerson/NetworkedRobotsProject | d2b9d0a121c5421a40e806a93e6a8f1315f24441 | [
"MIT"
] | null | null | null | #!/usr/bin/python
from socket import *
import threading
import sys
from time import sleep
import cPickle as pickle
class Network:
running = True
def __init__(self, broadcast_addr = "<broadcast>", port = 9988):
self.port = port
self.broadcast_addr = broadcast_addr
#configure send soc... | 25.833333 | 77 | 0.61349 | 211 | 1,705 | 4.7109 | 0.336493 | 0.06338 | 0.056338 | 0.075453 | 0.172032 | 0.172032 | 0.117706 | 0 | 0 | 0 | 0 | 0.012955 | 0.27566 | 1,705 | 65 | 78 | 26.230769 | 0.791903 | 0.231085 | 0 | 0.0625 | 0 | 0 | 0.010039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.0625 | 0.15625 | 0 | 0.34375 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
0d04457bda7c6fd3c5ecd94e593becd576c140c8 | 868 | py | Python | LeetCode.Test/_0051_0100/Test_052_NQueens2.py | BigEggStudy/LeetCode-Py | 735e782742fab15bdb046eb6d5fc7b03502cc92d | [
"MIT"
] | 1 | 2021-01-30T04:07:26.000Z | 2021-01-30T04:07:26.000Z | LeetCode.Test/_0051_0100/Test_052_NQueens2.py | BigEggStudy/LeetCode-Py | 735e782742fab15bdb046eb6d5fc7b03502cc92d | [
"MIT"
] | null | null | null | LeetCode.Test/_0051_0100/Test_052_NQueens2.py | BigEggStudy/LeetCode-Py | 735e782742fab15bdb046eb6d5fc7b03502cc92d | [
"MIT"
] | 1 | 2021-09-09T20:12:25.000Z | 2021-09-09T20:12:25.000Z | import unittest
import sys
sys.path.append('LeetCode/_0051_0100')
from _052_NQueens2 import Solution
class Test_052_NQueens2(unittest.TestCase):
def test_totalNQueens_1(self):
solution = Solution()
result = solution.totalNQueens(1)
self.assertEqual(1, result)
def test_totalNQueens_2(... | 26.30303 | 43 | 0.667051 | 96 | 868 | 5.864583 | 0.28125 | 0.062167 | 0.168739 | 0.230906 | 0.554174 | 0.554174 | 0.145648 | 0 | 0 | 0 | 0 | 0.048485 | 0.239631 | 868 | 32 | 44 | 27.125 | 0.804545 | 0 | 0 | 0.28 | 0 | 0 | 0.021889 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.12 | 0 | 0.36 | 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 | 0 | 0 | 0 | 0 | 1 |
0d09871999bce3bb381e3e08d495cba14773faab | 28,121 | py | Python | fluiddb/scripts/deployment.py | fluidinfo/fluiddb | b5a8c8349f3eaf3364cc4efba4736c3e33b30d96 | [
"Apache-2.0"
] | 3 | 2021-05-10T14:41:30.000Z | 2021-12-16T05:53:30.000Z | fluiddb/scripts/deployment.py | fluidinfo/fluiddb | b5a8c8349f3eaf3364cc4efba4736c3e33b30d96 | [
"Apache-2.0"
] | null | null | null | fluiddb/scripts/deployment.py | fluidinfo/fluiddb | b5a8c8349f3eaf3364cc4efba4736c3e33b30d96 | [
"Apache-2.0"
] | 2 | 2018-01-24T09:03:21.000Z | 2021-06-25T08:34:54.000Z | from ConfigParser import RawConfigParser
from datetime import datetime
from getpass import getpass
import logging
import os
import time
import random
import crypt
from boto.ec2.connection import EC2Connection
from boto.exception import EC2ResponseError
from fabric.context_managers import cd, settings
from fabric.contr... | 37.050066 | 79 | 0.636642 | 3,364 | 28,121 | 5.305886 | 0.179845 | 0.009076 | 0.013446 | 0.010757 | 0.441425 | 0.403776 | 0.358676 | 0.324108 | 0.280408 | 0.26853 | 0 | 0.008912 | 0.229899 | 28,121 | 758 | 80 | 37.098945 | 0.815294 | 0.029551 | 0 | 0.303297 | 0 | 0.008791 | 0.392857 | 0.135669 | 0 | 0 | 0 | 0.002639 | 0.006593 | 0 | null | null | 0.032967 | 0.043956 | null | null | 0.024176 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d112ff4e27b5d4e628c21077d2bcba6685329ec | 2,507 | py | Python | zzr_mailer/content/migrations/0001_initial.py | AHRJ/mailer | a16f66b45b782676d5138c5102734573fded8a48 | [
"MIT"
] | null | null | null | zzr_mailer/content/migrations/0001_initial.py | AHRJ/mailer | a16f66b45b782676d5138c5102734573fded8a48 | [
"MIT"
] | 10 | 2021-07-09T08:26:33.000Z | 2022-03-31T07:17:52.000Z | zzr_mailer/content/migrations/0001_initial.py | AHRJ/mailer | a16f66b45b782676d5138c5102734573fded8a48 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.12 on 2021-10-13 20:59
from django.db import migrations, models
import django.utils.timezone
import imagekit.models.fields
import model_utils.fields
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Crea... | 43.224138 | 147 | 0.579976 | 246 | 2,507 | 5.796748 | 0.349594 | 0.084151 | 0.070126 | 0.084151 | 0.497896 | 0.47756 | 0.39972 | 0.281907 | 0.281907 | 0.084151 | 0 | 0.022099 | 0.278022 | 2,507 | 57 | 148 | 43.982456 | 0.765746 | 0.018349 | 0 | 0.32 | 1 | 0 | 0.117121 | 0.008947 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.18 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
0d132c48c1df6e04498cce574274408835f32f2e | 4,571 | py | Python | twircbot/configreader.py | johnmarcampbell/twircBot | 5829456e7d1d69245af7797bfe6d0e18801fcefc | [
"MIT"
] | 1 | 2016-08-09T21:30:04.000Z | 2016-08-09T21:30:04.000Z | twircbot/configreader.py | johnmarcampbell/twircBot | 5829456e7d1d69245af7797bfe6d0e18801fcefc | [
"MIT"
] | null | null | null | twircbot/configreader.py | johnmarcampbell/twircBot | 5829456e7d1d69245af7797bfe6d0e18801fcefc | [
"MIT"
] | null | null | null | import re
class ConfigReader(object):
"""
A class that reads a configuration file and generates a dictionary
of configuration parameters
"""
def __init__(self):
"""Initialize some variables"""
self.configs = {}
def parse_file(self, config_file_name, is_default = Fals... | 32.190141 | 111 | 0.532925 | 509 | 4,571 | 4.628684 | 0.261297 | 0.060696 | 0.040323 | 0.059423 | 0.14219 | 0.114177 | 0.099321 | 0.029711 | 0.029711 | 0 | 0 | 0.003486 | 0.372347 | 4,571 | 141 | 112 | 32.41844 | 0.817707 | 0.200831 | 0 | 0.185185 | 1 | 0 | 0.031591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08642 | false | 0 | 0.012346 | 0 | 0.160494 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
0d15016012af9dcd7b81228bbeb3bef6f6e9ea89 | 568 | py | Python | robot-framework-needle.py | laurentbristiel/robotframework-needle | 6ea49e81dc7779b7392dd3b474b5ccb034cb53e6 | [
"Apache-2.0"
] | 3 | 2015-06-01T17:45:23.000Z | 2017-01-25T19:16:28.000Z | robot-framework-needle.py | laurentbristiel/robotframework-needle | 6ea49e81dc7779b7392dd3b474b5ccb034cb53e6 | [
"Apache-2.0"
] | 1 | 2016-05-24T15:41:15.000Z | 2016-05-24T15:41:15.000Z | robot-framework-needle.py | laurentbristiel/robotframework-needle | 6ea49e81dc7779b7392dd3b474b5ccb034cb53e6 | [
"Apache-2.0"
] | null | null | null | from needle.cases import NeedleTestCase
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as ec
class TestLogo(NeedleTestCase):
def test_logo(self):
self.driver.get('http://www.bbc.co.uk/news/')
... | 33.411765 | 73 | 0.665493 | 67 | 568 | 5.567164 | 0.656716 | 0.096515 | 0.168901 | 0.150134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004577 | 0.230634 | 568 | 17 | 74 | 33.411765 | 0.84897 | 0 | 0 | 0 | 0 | 0 | 0.103691 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | false | 0.071429 | 0.285714 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
0d170d28b034f133b1b1b0097aa37b9fae81b3a0 | 233 | py | Python | csrv/model/actions/subroutines/lose_click_if_able.py | mrroach/CentralServer | e377c65d8f3adf5a2d3273acd4f459be697aea56 | [
"Apache-2.0"
] | null | null | null | csrv/model/actions/subroutines/lose_click_if_able.py | mrroach/CentralServer | e377c65d8f3adf5a2d3273acd4f459be697aea56 | [
"Apache-2.0"
] | null | null | null | csrv/model/actions/subroutines/lose_click_if_able.py | mrroach/CentralServer | e377c65d8f3adf5a2d3273acd4f459be697aea56 | [
"Apache-2.0"
] | 1 | 2020-09-20T11:26:20.000Z | 2020-09-20T11:26:20.000Z | import subroutine
class LoseClickIfAble(subroutine.Subroutine):
DESCRIPTION = 'The Runner loses [click], if able.'
def resolve(self, response=None):
if self.game.runner.clicks.value:
self.game.runner.clicks.lose(1)
| 21.181818 | 52 | 0.729614 | 30 | 233 | 5.666667 | 0.7 | 0.094118 | 0.164706 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.154506 | 233 | 10 | 53 | 23.3 | 0.857868 | 0 | 0 | 0 | 0 | 0 | 0.145923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d21841e4388c2d245326b45ef9e07c3b93418b9 | 2,350 | py | Python | ftt_ros_interface/scripts/robotModePublisher.py | fkie/field_test_tool | 567421acfae68e43c0c7be065285116cb697c4f5 | [
"MIT"
] | 2 | 2021-06-22T09:01:57.000Z | 2021-11-06T10:16:15.000Z | ftt_ros_interface/scripts/robotModePublisher.py | fkie/field_test_tool | 567421acfae68e43c0c7be065285116cb697c4f5 | [
"MIT"
] | null | null | null | ftt_ros_interface/scripts/robotModePublisher.py | fkie/field_test_tool | 567421acfae68e43c0c7be065285116cb697c4f5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""robotModePublisher.py: Publishes the robot mode according to the received command messages from joystick and navigation stack."""
__author__ = "Carlos Tampier Cotoras"
__copyright__ = "Copyright 2021, Fraunhofer FKIE"
__license__ = "MIT"
__maintainer__ = "Carlos Tampier Cotoras"
__email__ = "c... | 35.074627 | 173 | 0.705106 | 310 | 2,350 | 5.009677 | 0.325806 | 0.045074 | 0.076626 | 0.081133 | 0.359305 | 0.235029 | 0.235029 | 0.160979 | 0 | 0 | 0 | 0.007941 | 0.19617 | 2,350 | 66 | 174 | 35.606061 | 0.814187 | 0.062553 | 0 | 0.217391 | 0 | 0 | 0.12244 | 0.018662 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0.130435 | 0.065217 | 0.021739 | 0.282609 | 0.043478 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
0d241872a0c531dac2d04b5584be21c8527565c6 | 799 | py | Python | molecule/default/tests/test_default.py | stackbuilders/sb-debian-base | 62dbe7028a0a8a22aa7c5d438b1308b802a2ef6e | [
"MIT"
] | 6 | 2016-07-21T17:12:28.000Z | 2021-10-16T07:51:36.000Z | molecule/default/tests/test_default.py | stackbuilders/sb-debian-base | 62dbe7028a0a8a22aa7c5d438b1308b802a2ef6e | [
"MIT"
] | 59 | 2017-02-10T17:21:22.000Z | 2021-09-27T21:40:16.000Z | molecule/default/tests/test_default.py | stackbuilders/sb-debian-base | 62dbe7028a0a8a22aa7c5d438b1308b802a2ef6e | [
"MIT"
] | 5 | 2016-10-18T20:24:44.000Z | 2020-12-18T21:31:28.000Z | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
def test_admin_user(host):
u = host.user('admin')
assert u.shell == '/bin/bash'
assert u.groups == ['admin', 'sudo']
def test_adm... | 24.212121 | 63 | 0.700876 | 113 | 799 | 4.769912 | 0.433628 | 0.116883 | 0.139147 | 0.100186 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014837 | 0.156446 | 799 | 32 | 64 | 24.96875 | 0.784866 | 0 | 0 | 0.095238 | 0 | 0 | 0.242804 | 0.106383 | 0 | 0 | 0 | 0 | 0.52381 | 1 | 0.142857 | false | 0 | 0.095238 | 0 | 0.238095 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d251f4ab1ac5f95d5728d72f7ef164e940b6f00 | 685 | py | Python | api/views/drives/schemas.py | antcasq/machinaris | 95741d0cd78fee9605d7b47dcd08fa4f31b31f38 | [
"Apache-2.0"
] | null | null | null | api/views/drives/schemas.py | antcasq/machinaris | 95741d0cd78fee9605d7b47dcd08fa4f31b31f38 | [
"Apache-2.0"
] | null | null | null | api/views/drives/schemas.py | antcasq/machinaris | 95741d0cd78fee9605d7b47dcd08fa4f31b31f38 | [
"Apache-2.0"
] | null | null | null | import marshmallow as ma
from marshmallow_sqlalchemy import field_for
from marshmallow_toplevel import TopLevelSchema
from api.extensions.api import Schema, AutoSchema
from common.models.drives import Drive
class DriveSchema(AutoSchema):
serial_number = field_for(Drive, "serial_number")
class Meta(AutoSchema... | 24.464286 | 53 | 0.745985 | 76 | 685 | 6.565789 | 0.447368 | 0.064128 | 0.066132 | 0.076152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176642 | 685 | 27 | 54 | 25.37037 | 0.884752 | 0 | 0 | 0.1 | 0 | 0 | 0.018978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
0d268a82f205651012b8b60fa406d49f860c7e45 | 300 | py | Python | Chapter_06/samples/validateInput.py | GSantos23/Automate_Python | 4bf3eadb5a330d5f22329bdcd08d37ab01a9454f | [
"MIT"
] | 1 | 2019-08-12T04:28:54.000Z | 2019-08-12T04:28:54.000Z | Chapter_06/samples/validateInput.py | GSantos23/Automate_Python | 4bf3eadb5a330d5f22329bdcd08d37ab01a9454f | [
"MIT"
] | null | null | null | Chapter_06/samples/validateInput.py | GSantos23/Automate_Python | 4bf3eadb5a330d5f22329bdcd08d37ab01a9454f | [
"MIT"
] | null | null | null | while True:
print('Enter you age: ')
age = input()
if age.isdecimal():
break
print('Please enter a number for age')
while True:
print('Select a new password (letters and numbers only):')
password = input()
if password.isalnum():
break
print('Passwords can only have letters and numbers') | 23.076923 | 59 | 0.703333 | 44 | 300 | 4.795455 | 0.568182 | 0.085308 | 0.132701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176667 | 300 | 13 | 60 | 23.076923 | 0.854251 | 0 | 0 | 0.333333 | 0 | 0 | 0.451827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
0d26d72cf7e386a9839b71834e8c14e75da50244 | 4,493 | py | Python | api/migrations/0001_initial.py | yellowjaguar5/lnldb | dea7708f5e4e103ef6ef968c9f3a4deaa58861c5 | [
"MIT"
] | 5 | 2017-09-25T21:24:59.000Z | 2021-12-18T17:08:13.000Z | api/migrations/0001_initial.py | yellowjaguar5/lnldb | dea7708f5e4e103ef6ef968c9f3a4deaa58861c5 | [
"MIT"
] | 304 | 2015-03-24T17:44:22.000Z | 2022-03-29T14:09:41.000Z | api/migrations/0001_initial.py | yellowjaguar5/lnldb | dea7708f5e4e103ef6ef968c9f3a4deaa58861c5 | [
"MIT"
] | 10 | 2017-10-24T02:18:12.000Z | 2021-09-20T20:40:25.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-03-27 05:22
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Cre... | 52.858824 | 212 | 0.594258 | 463 | 4,493 | 5.641469 | 0.304536 | 0.057427 | 0.042879 | 0.067381 | 0.451761 | 0.441041 | 0.388208 | 0.388208 | 0.388208 | 0.388208 | 0 | 0.011855 | 0.249054 | 4,493 | 84 | 213 | 53.488095 | 0.7623 | 0.015357 | 0 | 0.460526 | 1 | 0.026316 | 0.215336 | 0.005429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039474 | 0 | 0.092105 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
0d2b0f7acb0a1cbe91afeca4cf19cb626b4b7366 | 1,423 | py | Python | multi_process.py | make7love/python | b88130340649c15d824141f3c4c7591175bed1e7 | [
"Apache-2.0"
] | null | null | null | multi_process.py | make7love/python | b88130340649c15d824141f3c4c7591175bed1e7 | [
"Apache-2.0"
] | null | null | null | multi_process.py | make7love/python | b88130340649c15d824141f3c4c7591175bed1e7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#-*- coding:UTF-8 -*-
from multiprocessing import Process , Queue
from Queue import Empty as QueueEmpty
import subprocess
import os
import sys
import time
import re
reload(sys)
sys.setdefaultencoding('utf-8')
def sys_command(cmd):
exec_cmd = subprocess.Popen(cmd , shell=True , stdout=subproce... | 23.327869 | 132 | 0.695713 | 213 | 1,423 | 4.530516 | 0.41784 | 0.02487 | 0.031088 | 0.051813 | 0.105699 | 0.105699 | 0.105699 | 0.105699 | 0 | 0 | 0 | 0.012521 | 0.158117 | 1,423 | 61 | 133 | 23.327869 | 0.792988 | 0.038651 | 0 | 0.085106 | 0 | 0 | 0.108346 | 0.032211 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.148936 | null | null | 0.042553 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d367b83a1031a1c0f8968f9e4511d5c8785f5f2 | 10,682 | py | Python | tests/all/fields/jsonfield.py | stuaxo/python-stdnet | 78db5320bdedc3f28c5e4f38cda13a4469e35db7 | [
"BSD-3-Clause"
] | 61 | 2015-01-13T23:41:10.000Z | 2021-09-14T03:23:59.000Z | tests/all/fields/jsonfield.py | drscream/python-stdnet | 78db5320bdedc3f28c5e4f38cda13a4469e35db7 | [
"BSD-3-Clause"
] | 4 | 2015-02-28T08:57:14.000Z | 2020-12-29T17:14:43.000Z | tests/all/fields/jsonfield.py | drscream/python-stdnet | 78db5320bdedc3f28c5e4f38cda13a4469e35db7 | [
"BSD-3-Clause"
] | 12 | 2015-01-01T09:23:06.000Z | 2021-09-16T08:09:13.000Z | import os
import json
import time
from copy import deepcopy
from datetime import date, datetime
from decimal import Decimal
from random import random, randint, choice
import stdnet
from stdnet.utils import test, zip, to_string, unichr, ispy3k, range
from stdnet.utils import date2timestamp
from stdnet.utils.populate im... | 36.333333 | 86 | 0.536604 | 1,276 | 10,682 | 4.434169 | 0.14185 | 0.103393 | 0.042418 | 0.038883 | 0.517497 | 0.477731 | 0.429304 | 0.417285 | 0.392542 | 0.378402 | 0 | 0.022185 | 0.324846 | 10,682 | 294 | 87 | 36.333333 | 0.762341 | 0.022842 | 0 | 0.424 | 0 | 0 | 0.044621 | 0 | 0 | 0 | 0 | 0.003401 | 0.248 | 0 | null | null | 0 | 0.048 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d3a54fcad1a340438e5c4e3df9c545294b9e5dd | 1,856 | py | Python | py/tests/range.py | SanggiHong/gpython | 37cc47f0f1ecfbfc86b12b93e7d7ef2dad179cd5 | [
"BSD-3-Clause"
] | null | null | null | py/tests/range.py | SanggiHong/gpython | 37cc47f0f1ecfbfc86b12b93e7d7ef2dad179cd5 | [
"BSD-3-Clause"
] | null | null | null | py/tests/range.py | SanggiHong/gpython | 37cc47f0f1ecfbfc86b12b93e7d7ef2dad179cd5 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2018 The go-python Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
doc="range"
a = range(255)
b = [e for e in a]
assert len(a) == len(b)
a = range(5, 100, 5)
b = [e for e in a]
assert len(a) == len(b)
a = range(100 ,0, 1)
... | 23.2 | 61 | 0.597522 | 368 | 1,856 | 3 | 0.173913 | 0.11413 | 0.057971 | 0.021739 | 0.561594 | 0.473732 | 0.412138 | 0.412138 | 0.353261 | 0.353261 | 0 | 0.144489 | 0.198276 | 1,856 | 79 | 62 | 23.493671 | 0.597446 | 0.084591 | 0 | 0.25 | 0 | 0 | 0.087316 | 0 | 0 | 0 | 0 | 0 | 0.617647 | 1 | 0 | false | 0.029412 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d3f872c62c1175df22875dd169393b3c34491ed | 7,172 | py | Python | Malmo-0.30.0/Python_Examples/moving_target_test.py | JeremyHi/402-CryptoSym | 13e62c33be65c0e192cdee401c9cf8891410f08a | [
"MIT"
] | 1 | 2018-03-07T06:08:44.000Z | 2018-03-07T06:08:44.000Z | Malmo-0.30.0/Python_Examples/moving_target_test.py | JeremyHi/402-CryptoSym | 13e62c33be65c0e192cdee401c9cf8891410f08a | [
"MIT"
] | null | null | null | Malmo-0.30.0/Python_Examples/moving_target_test.py | JeremyHi/402-CryptoSym | 13e62c33be65c0e192cdee401c9cf8891410f08a | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------------------------
# Copyright (c) 2016 Microsoft Corporation
#
# 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 ... | 41.94152 | 117 | 0.583101 | 760 | 7,172 | 5.411842 | 0.435526 | 0.026258 | 0.007294 | 0.006808 | 0.139071 | 0.079747 | 0.079747 | 0.053489 | 0.053489 | 0.053489 | 0 | 0.029187 | 0.288204 | 7,172 | 171 | 118 | 41.94152 | 0.776494 | 0.22783 | 0 | 0.272727 | 0 | 0.030303 | 0.587189 | 0.110688 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.060606 | null | null | 0.037879 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d40bb56515f66798c9683a6f9e00678f77ad63d | 480 | py | Python | 002.function/004.arguments.3.py | wangpin34/learn-python | e8a17501dbda3ba6e7ca1eccbac89536409b3d79 | [
"MIT"
] | null | null | null | 002.function/004.arguments.3.py | wangpin34/learn-python | e8a17501dbda3ba6e7ca1eccbac89536409b3d79 | [
"MIT"
] | null | null | null | 002.function/004.arguments.3.py | wangpin34/learn-python | e8a17501dbda3ba6e7ca1eccbac89536409b3d79 | [
"MIT"
] | null | null | null | # python function def
print '************** Function arguments Test Programs **************'
print 'keyword arguments'
def person(name, age, **kw):
print 'name:', name, 'age:', age
for name, value in kw.items():
print '{0}: {1}'.format(name, value)
person('Remind',6)
person('Remind',6,city='shanghai... | 21.818182 | 70 | 0.610417 | 59 | 480 | 4.949153 | 0.474576 | 0.164384 | 0.178082 | 0.116438 | 0.304795 | 0.219178 | 0.219178 | 0 | 0 | 0 | 0 | 0.01467 | 0.147917 | 480 | 21 | 71 | 22.857143 | 0.699267 | 0.039583 | 0 | 0 | 0 | 0 | 0.346405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d459ab7867b1113088ef5590ff14b91462978c7 | 1,317 | py | Python | test.py | tobiascr/chess-cpp | 97af9a67876bd1c26e1a771ed8cf5863dc6007a2 | [
"MIT"
] | null | null | null | test.py | tobiascr/chess-cpp | 97af9a67876bd1c26e1a771ed8cf5863dc6007a2 | [
"MIT"
] | null | null | null | test.py | tobiascr/chess-cpp | 97af9a67876bd1c26e1a771ed8cf5863dc6007a2 | [
"MIT"
] | null | null | null | import subprocess
import time
total_time = 0
def test_FEN(FEN_string):
t0 = time.perf_counter()
output = subprocess.run("./chess", capture_output=True, text=True, input=FEN_string)
t1 = time.perf_counter()
print(output.stdout)
print("Time:", t1-t0, "s")
global total_time
total_time += t1 -... | 32.925 | 88 | 0.707669 | 236 | 1,317 | 3.860169 | 0.550847 | 0.092206 | 0.032931 | 0.049396 | 0.060373 | 0.060373 | 0.039517 | 0 | 0 | 0 | 0 | 0.174449 | 0.138193 | 1,317 | 39 | 89 | 33.769231 | 0.628194 | 0.164009 | 0 | 0 | 0 | 0 | 0.545704 | 0.413163 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.083333 | 0 | 0.125 | 0.166667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d464a536b4b66132e131f3ef9334064ea189da2 | 321 | py | Python | image/migrations/0004_remove_category_slug.py | kipkoech-msojo/personal-gallery | 6259c0f030a98f8ef94671990ec1d4a8df7bbb5d | [
"MIT"
] | null | null | null | image/migrations/0004_remove_category_slug.py | kipkoech-msojo/personal-gallery | 6259c0f030a98f8ef94671990ec1d4a8df7bbb5d | [
"MIT"
] | null | null | null | image/migrations/0004_remove_category_slug.py | kipkoech-msojo/personal-gallery | 6259c0f030a98f8ef94671990ec1d4a8df7bbb5d | [
"MIT"
] | null | null | null | # Generated by Django 3.1.3 on 2020-11-15 09:50
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('image', '0003_category_slug'),
]
operations = [
migrations.RemoveField(
model_name='category',
name='slug',
),
]... | 17.833333 | 47 | 0.582555 | 34 | 321 | 5.411765 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084821 | 0.302181 | 321 | 17 | 48 | 18.882353 | 0.736607 | 0.140187 | 0 | 0 | 1 | 0 | 0.127737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.363636 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
0d4827e97ce13a4875109b82153daf0a9dce2dd3 | 1,215 | py | Python | test/testcases/ContentRankingSample_scenario.py | mgorbat/streamsx.nlp | 93638bbfdff6394c03c5e3b291e9929f517ef6e5 | [
"Apache-2.0"
] | 2 | 2017-08-18T07:13:36.000Z | 2019-05-12T01:41:31.000Z | test/testcases/ContentRankingSample_scenario.py | mgorbat/streamsx.nlp | 93638bbfdff6394c03c5e3b291e9929f517ef6e5 | [
"Apache-2.0"
] | 46 | 2016-11-15T14:55:11.000Z | 2020-11-04T12:13:56.000Z | test/testcases/ContentRankingSample_scenario.py | mgorbat/streamsx.nlp | 93638bbfdff6394c03c5e3b291e9929f517ef6e5 | [
"Apache-2.0"
] | 7 | 2016-11-17T09:49:05.000Z | 2021-03-26T15:16:09.000Z | # Copyright (C)2016, International Business Machines Corporation
# All rights reserved.
import testutils as tt
import shutil
import sys
def test_execution(name, python_command):
'''Execute the test case'''
#tt.assert_pass(err != 0, stdout, stderr)
print "Execute scenario ContentRankingSample"
tt.run_checked(['out... | 37.96875 | 105 | 0.775309 | 179 | 1,215 | 5.094972 | 0.463687 | 0.059211 | 0.072368 | 0.039474 | 0.408991 | 0.205044 | 0.085526 | 0 | 0 | 0 | 0 | 0.005464 | 0.096296 | 1,215 | 31 | 106 | 39.193548 | 0.825137 | 0.212346 | 0 | 0.117647 | 0 | 0 | 0.482394 | 0.353286 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.176471 | null | null | 0.176471 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d4948bab9302219c6947edcc27a5c20487a1d08 | 1,079 | py | Python | pics/gallery/models.py | i-k-i/pics | ceaab81aa3110de4686b632a531297c4d7cdb691 | [
"MIT"
] | null | null | null | pics/gallery/models.py | i-k-i/pics | ceaab81aa3110de4686b632a531297c4d7cdb691 | [
"MIT"
] | 10 | 2020-06-06T00:28:20.000Z | 2022-02-10T09:01:40.000Z | pics/gallery/models.py | i-k-i/pics | ceaab81aa3110de4686b632a531297c4d7cdb691 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
def upload_to(instance, filename):
return 'images/users/{0}/{1}'.format(instance.user_id, filename)
class Picture(models.Model):
title = models.CharField(max_length=256)
uploaded = models.DateTimeField(auto_now_add=True)
image_p... | 33.71875 | 95 | 0.706209 | 144 | 1,079 | 5.076389 | 0.444444 | 0.032832 | 0.057456 | 0.086183 | 0.287278 | 0.287278 | 0.153215 | 0.153215 | 0.153215 | 0.153215 | 0 | 0.011099 | 0.164968 | 1,079 | 32 | 96 | 33.71875 | 0.800222 | 0.061168 | 0 | 0.1 | 0 | 0 | 0.076162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.1 | 0.15 | 0.95 | 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 | 0 | 1 | 0 | 0 | 0 | 1 |
0d4a4e2cabd5c4f78ebcc9a4591cdb63a2ef172a | 180 | py | Python | QuantPy/test.py | guozc12/QuantPy | bf8df57616c11475081839050715ce8152092557 | [
"MIT"
] | 1 | 2020-09-24T04:14:00.000Z | 2020-09-24T04:14:00.000Z | QuantPy/test.py | guozc12/QuantPy | bf8df57616c11475081839050715ce8152092557 | [
"MIT"
] | null | null | null | QuantPy/test.py | guozc12/QuantPy | bf8df57616c11475081839050715ce8152092557 | [
"MIT"
] | 1 | 2020-09-22T15:35:54.000Z | 2020-09-22T15:35:54.000Z | # -*- coding: utf-8 -*-
"""
"""
from dpp import *
import pandas as pd
my_kline = src_selector.choose_src('HK.00700', 'futu')
my_kline.req_hist_kline('2020-12-01', '2020-12-10')
| 16.363636 | 54 | 0.655556 | 30 | 180 | 3.733333 | 0.766667 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 0.133333 | 180 | 10 | 55 | 18 | 0.576923 | 0.116667 | 0 | 0 | 0 | 0 | 0.214765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
0d4b1f00727e9e51caa408f8294dd7adc63efb03 | 547 | py | Python | blender/arm/logicnode/object/LN_mesh.py | niacdoial/armory | 3f9b633fbf772017c576a3f77695a6c28d9956e1 | [
"Zlib"
] | null | null | null | blender/arm/logicnode/object/LN_mesh.py | niacdoial/armory | 3f9b633fbf772017c576a3f77695a6c28d9956e1 | [
"Zlib"
] | null | null | null | blender/arm/logicnode/object/LN_mesh.py | niacdoial/armory | 3f9b633fbf772017c576a3f77695a6c28d9956e1 | [
"Zlib"
] | null | null | null | import bpy
from arm.logicnode.arm_nodes import *
class MeshNode(ArmLogicTreeNode):
"""Stores the given mesh as a variable."""
bl_idname = 'LNMeshNode'
bl_label = 'Mesh'
arm_version = 1
property0_get: PointerProperty(name='', type=bpy.types.Mesh)
def init(self, context):
super(MeshNo... | 27.35 | 91 | 0.676417 | 70 | 547 | 5.142857 | 0.7 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.1883 | 547 | 19 | 92 | 28.789474 | 0.804054 | 0.065814 | 0 | 0 | 0 | 0 | 0.112871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
0d4f02c64e854a8523dec60377f682b02e816171 | 686 | py | Python | Python_2.7/testFile.py | Eclipse-Dominator/machine_learning_ANN_python | cb65b1ed6d62544ee8eaa749fb64fa5d3e792f76 | [
"MIT"
] | 1 | 2018-02-07T11:10:39.000Z | 2018-02-07T11:10:39.000Z | Python_2.7/testFile.py | Eclipse-Dominator/machine_learning_ANN_python | cb65b1ed6d62544ee8eaa749fb64fa5d3e792f76 | [
"MIT"
] | 1 | 2018-02-07T11:10:31.000Z | 2018-02-07T11:10:31.000Z | Python_2.7/testFile.py | Eclipse-Dominator/machine_learning_ANN_python | cb65b1ed6d62544ee8eaa749fb64fa5d3e792f76 | [
"MIT"
] | 1 | 2018-03-11T15:07:10.000Z | 2018-03-11T15:07:10.000Z | from ANN_class import ANN
import mnistHandwriting
import matplotlib.pyplot as plt
import numpy as np
print "Loading Data"
T = mnistHandwriting.MNISTexample(0,10000)
Test = mnistHandwriting.MNISTexample(0,10000,bTrain=True)
ANN_network = ANN([784,30,30,10])
ANN_network.mini_batch_training(T, 50, 0.3,50)
plt.plot(ANN_n... | 25.407407 | 57 | 0.765306 | 108 | 686 | 4.731481 | 0.453704 | 0.097847 | 0.113503 | 0.133072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0.112245 | 686 | 26 | 58 | 26.384615 | 0.781609 | 0.086006 | 0 | 0 | 0 | 0 | 0.0224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.173913 | null | null | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0d5011626e8284aded128254924778684a980241 | 377 | py | Python | lib/path_config.py | belphegor2211/khoa_luan | c9c163ebf3aff3005639ce7e4020e510295d1c75 | [
"MIT"
] | null | null | null | lib/path_config.py | belphegor2211/khoa_luan | c9c163ebf3aff3005639ce7e4020e510295d1c75 | [
"MIT"
] | null | null | null | lib/path_config.py | belphegor2211/khoa_luan | c9c163ebf3aff3005639ce7e4020e510295d1c75 | [
"MIT"
] | null | null | null | ImgHeight = 32
data_roots = {
'iam_word': '/mydrive/MyDrive/khoa_luan/khoa_luan/data/'
}
data_paths = {
'iam_word': {'trnval': 'trnvalset_words%d.hdf5'%ImgHeight,
'test': 'testset_words%d.hdf5'%ImgHeight},
'iam_word_org': {'trnval': 'trnvalset_words%d_OrgSz.hdf5'%ImgHeight,
... | 29 | 72 | 0.633952 | 46 | 377 | 4.891304 | 0.413043 | 0.106667 | 0.177778 | 0.186667 | 0.395556 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 0.198939 | 377 | 12 | 73 | 31.416667 | 0.725166 | 0 | 0 | 0 | 0 | 0 | 0.493369 | 0.312997 | 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 | 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 | 1 |
0d5082224d29bf9e6d38a7e0eebf04617c3f21d2 | 577 | py | Python | example/testpages/urls.py | benoitc/dj-pages | d049cb196e7b9f7a6dffa987e82d75cf86565621 | [
"MIT"
] | 1 | 2020-01-21T11:12:12.000Z | 2020-01-21T11:12:12.000Z | example/testpages/urls.py | benoitc/dj-pages | d049cb196e7b9f7a6dffa987e82d75cf86565621 | [
"MIT"
] | null | null | null | example/testpages/urls.py | benoitc/dj-pages | d049cb196e7b9f7a6dffa987e82d75cf86565621 | [
"MIT"
] | null | null | null | from django.conf.urls.defaults import *
from pages.admin import pages_admin
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^testpages/', include('testpages.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
# (r'^admin/... | 26.227273 | 71 | 0.686308 | 74 | 577 | 5.310811 | 0.432432 | 0.076336 | 0.081425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155979 | 577 | 21 | 72 | 27.47619 | 0.806982 | 0.395147 | 0 | 0 | 0 | 0 | 0.180758 | 0.090379 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 |
b4909009dd9118eb64860109ef4ee382cb6b23b6 | 2,738 | py | Python | livingTree/LineageTracker.py | AdeBC/living-tree-toolk | e7f4312395c55279171913314b67629bd0a643d9 | [
"MIT"
] | 4 | 2020-04-07T13:57:56.000Z | 2021-08-04T00:25:47.000Z | livingTree/LineageTracker.py | AdeBC/living-tree-toolkit | e7f4312395c55279171913314b67629bd0a643d9 | [
"MIT"
] | null | null | null | livingTree/LineageTracker.py | AdeBC/living-tree-toolkit | e7f4312395c55279171913314b67629bd0a643d9 | [
"MIT"
] | null | null | null | from ete3 import NCBITaxa
class LineageTracker(object):
# tested
def __init__(self, ids):
# self.names = names
self.ncbi = NCBITaxa()
self.main_ranks = ['superkingdom', 'kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species']
self.taxa_ids = ids # how to... | 29.76087 | 106 | 0.676406 | 412 | 2,738 | 4.237864 | 0.169903 | 0.091638 | 0.037228 | 0.034364 | 0.268614 | 0.148912 | 0.111111 | 0.111111 | 0.071019 | 0.071019 | 0 | 0.00365 | 0.199416 | 2,738 | 91 | 107 | 30.087912 | 0.792883 | 0.137692 | 0 | 0 | 0 | 0 | 0.040236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.026316 | 0 | 0.447368 | 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 | 0 | 0 | 0 | 0 | 1 |
b492176cdd76fb72869e8c17b80cff37d1baadbf | 1,170 | py | Python | setup.py | big-c-note/my_ml_from_scratch | 7da54282f736b163bb82058b037755bf97c9d7b9 | [
"MIT"
] | 1 | 2020-09-20T21:32:21.000Z | 2020-09-20T21:32:21.000Z | setup.py | big-c-note/my_ml_from_scratch | 7da54282f736b163bb82058b037755bf97c9d7b9 | [
"MIT"
] | 27 | 2020-09-20T21:18:48.000Z | 2021-07-31T13:02:10.000Z | setup.py | big-c-note/my_ml_from_scratch | 7da54282f736b163bb82058b037755bf97c9d7b9 | [
"MIT"
] | null | null | null | import setuptools
from typing import List
import glob
from Cython.Build import cythonize
import numpy as np
def get_scripts_from_bin() -> List[str]:
"""Get all local scripts from bin so they are included in the package."""
return glob.glob("bin/*")
def get_package_description() -> str:
"""Returns a desc... | 29.25 | 77 | 0.694017 | 155 | 1,170 | 5.051613 | 0.587097 | 0.042146 | 0.05364 | 0.043423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003132 | 0.181197 | 1,170 | 39 | 78 | 30 | 0.814196 | 0.111111 | 0 | 0 | 0 | 0 | 0.265306 | 0.031098 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | true | 0 | 0.16129 | 0 | 0.290323 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
b49b11e5870b6bf76e012266ee30148564cccd19 | 1,666 | py | Python | src/sandbox/nn_model.py | JustinReiter/RL-JBot | 06f8568264084e9d4c9833bdd2b18e398f2d5358 | [
"MIT"
] | null | null | null | src/sandbox/nn_model.py | JustinReiter/RL-JBot | 06f8568264084e9d4c9833bdd2b18e398f2d5358 | [
"MIT"
] | null | null | null | src/sandbox/nn_model.py | JustinReiter/RL-JBot | 06f8568264084e9d4c9833bdd2b18e398f2d5358 | [
"MIT"
] | null | null | null | import numpy as np
class NN_Model:
LEARNING_RATE = 0.1
LAYERS = 2
@staticmethod
def cost_mse(prediction: float):
return (prediction - NN_Model.TARGET) ** 2
@staticmethod
def sigmoid(x: float):
return 1 / (1 + np.exp(-x))
@staticmethod
def sigmoid_deriv(x: float)... | 24.865672 | 71 | 0.605642 | 206 | 1,666 | 4.723301 | 0.26699 | 0.160329 | 0.066804 | 0.036999 | 0.357657 | 0.357657 | 0.357657 | 0.357657 | 0.357657 | 0.357657 | 0 | 0.021997 | 0.290516 | 1,666 | 66 | 72 | 25.242424 | 0.801184 | 0.118848 | 0 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216216 | false | 0 | 0.027027 | 0.081081 | 0.459459 | 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 | 0 | 0 | 0 | 0 | 1 |
b49bc13de17fab8448e5ea838f82ef0e954f96aa | 37,670 | py | Python | mgt_users.py | circlenaut/yaml-config-cli-user-manager | 4f0c89f507614fc3c852dbcdfba7bef67097acc2 | [
"MIT"
] | null | null | null | mgt_users.py | circlenaut/yaml-config-cli-user-manager | 4f0c89f507614fc3c852dbcdfba7bef67097acc2 | [
"MIT"
] | null | null | null | mgt_users.py | circlenaut/yaml-config-cli-user-manager | 4f0c89f507614fc3c852dbcdfba7bef67097acc2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
User management script for the wireguard server
"""
import os
import io
import stat
import shutil
import sys
import platform
import argparse
import hashlib
import crypt
import logging
import secrets
import string
import subprocess
import pathlib
class OperationError(Exception):
'''r... | 41.214442 | 166 | 0.544279 | 4,340 | 37,670 | 4.574654 | 0.10576 | 0.030321 | 0.035509 | 0.033847 | 0.464743 | 0.388536 | 0.337413 | 0.302458 | 0.243276 | 0.187418 | 0 | 0.005497 | 0.343271 | 37,670 | 914 | 167 | 41.214442 | 0.797041 | 0.008973 | 0 | 0.369976 | 0 | 0 | 0.123027 | 0.009703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059102 | false | 0.079196 | 0.023641 | 0 | 0.171395 | 0.008274 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
b4a406b5e87afafd94638bdac562a46ca650d7cb | 6,320 | py | Python | hard-gists/905137/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 21 | 2019-07-08T08:26:45.000Z | 2022-01-24T23:53:25.000Z | hard-gists/905137/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 5 | 2019-06-15T14:47:47.000Z | 2022-02-26T05:02:56.000Z | hard-gists/905137/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 17 | 2019-05-16T03:50:34.000Z | 2021-01-14T14:35:12.000Z | #!/usr/bin/env python
import itertools
import mimetools
import mimetypes
from cStringIO import StringIO
import urllib
import urllib2
import gtk
class MultiPartForm(object):
"""Accumulate the data to be used when posting a form."""
def __init__(self):
self.form_fields = []
self.files = []
... | 29.952607 | 86 | 0.574525 | 706 | 6,320 | 5.005666 | 0.305949 | 0.01528 | 0.018393 | 0.013016 | 0.067912 | 0.023203 | 0 | 0 | 0 | 0 | 0 | 0.005782 | 0.315823 | 6,320 | 210 | 87 | 30.095238 | 0.811517 | 0.095253 | 0 | 0.110345 | 0 | 0 | 0.08637 | 0.012391 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.103448 | null | null | 0.027586 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b4a5ef24ac2ba6cf0f3020d9995c986dae04b386 | 388 | py | Python | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/hr_timesheet_sheet/models/res_company.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/hr_timesheet_sheet/models/res_company.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/hr_timesheet_sheet/models/res_company.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResCompany(models.Model):
_inherit = 'res.company'
timesheet_range = fields.Selection([('week', 'Week'), ('month', 'Month')],
default='week', string='Timesheet... | 32.333333 | 112 | 0.68299 | 48 | 388 | 5.479167 | 0.833333 | 0.106464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003125 | 0.175258 | 388 | 11 | 113 | 35.272727 | 0.81875 | 0.242268 | 0 | 0 | 0 | 0 | 0.33677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
b4a64d3519add9492f83d566d17ece50a0b74e57 | 3,457 | py | Python | scripts/replace-scales.py | procrastinatio/mf-chsdi3 | 206e9362860376338cc83ded902790dc216e2563 | [
"BSD-3-Clause"
] | 29 | 2015-02-12T07:45:57.000Z | 2020-12-20T08:49:26.000Z | scripts/replace-scales.py | procrastinatio/mf-chsdi3 | 206e9362860376338cc83ded902790dc216e2563 | [
"BSD-3-Clause"
] | 1,753 | 2015-01-05T07:11:27.000Z | 2022-03-28T15:17:07.000Z | scripts/replace-scales.py | procrastinatio/mf-chsdi3 | 206e9362860376338cc83ded902790dc216e2563 | [
"BSD-3-Clause"
] | 15 | 2015-04-23T08:38:58.000Z | 2020-09-28T14:17:40.000Z | #!/usr/bin/env python
# This script replace scales in all KML files in the production bucket
# public-prod-admin-ch from a begin date to now.
# It saves the KML tested in tmp/kml_tested folder and save the KML modified in
# tmp/kml_replaced.
# Files are stored in gzip format with the same name as in the bucket
import ... | 32.92381 | 126 | 0.590975 | 454 | 3,457 | 4.420705 | 0.339207 | 0.082212 | 0.03986 | 0.043847 | 0.234679 | 0.135027 | 0.073244 | 0.073244 | 0.037867 | 0 | 0 | 0.028812 | 0.277119 | 3,457 | 104 | 127 | 33.240385 | 0.77431 | 0.176743 | 0 | 0.0625 | 0 | 0.046875 | 0.211736 | 0.049841 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.015625 | 0.21875 | null | null | 0.109375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b4a66547ce206c0ba331acc2961e9058ef5ab346 | 2,102 | py | Python | examples/colorsorter/colorsorter3.py | klaasjacobdevries/lothar | 38ad3e4e0552abaff253e77c4a6cf0657d920196 | [
"MIT"
] | 2 | 2016-07-23T13:05:10.000Z | 2021-01-25T01:10:33.000Z | examples/colorsorter/colorsorter3.py | klaasjacobdevries/lothar | 38ad3e4e0552abaff253e77c4a6cf0657d920196 | [
"MIT"
] | null | null | null | examples/colorsorter/colorsorter3.py | klaasjacobdevries/lothar | 38ad3e4e0552abaff253e77c4a6cf0657d920196 | [
"MIT"
] | 1 | 2019-06-26T19:39:28.000Z | 2019-06-26T19:39:28.000Z | from utils import *
from lothar import *
from colorsorter2 import colorsorter2
class basket:
RED, YELLOW, BLUE, GREEN = (0, 90, 180, 270) # enum
def __init__(self, motor, control):
self._motor = motor
self._control = control
self._motor.reset(False)
def __del__(self):
... | 26.275 | 92 | 0.55138 | 228 | 2,102 | 4.885965 | 0.399123 | 0.056553 | 0.019749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036162 | 0.355376 | 2,102 | 79 | 93 | 26.607595 | 0.785978 | 0.048525 | 0 | 0 | 0 | 0 | 0.023571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.017544 | 0.052632 | null | null | 0.035088 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b4abafb93acdb66967a111ad6773a94cda4d0d08 | 3,768 | py | Python | scanner/utils/chromecast.py | Eerovil/magic-cards | b4f18ae9656be58e99fc90146c8ac7473371ce55 | [
"MIT"
] | null | null | null | scanner/utils/chromecast.py | Eerovil/magic-cards | b4f18ae9656be58e99fc90146c8ac7473371ce55 | [
"MIT"
] | null | null | null | scanner/utils/chromecast.py | Eerovil/magic-cards | b4f18ae9656be58e99fc90146c8ac7473371ce55 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
import random
from time import sleep
import pychromecast
from pychromecast.controllers.youtube import YouTubeController
from .androidviewclient import Netflix
from .areena import Areena
NETFLIX_APP_ID = 'CA5E8412'
AREENA_APP_ID = 'A9BCCB7C'
class Chromecast():
""... | 31.663866 | 85 | 0.635085 | 449 | 3,768 | 5.180401 | 0.318486 | 0.058469 | 0.030095 | 0.039553 | 0.312124 | 0.292347 | 0.240757 | 0.240757 | 0.177128 | 0.147034 | 0 | 0.004306 | 0.26035 | 3,768 | 118 | 86 | 31.932203 | 0.830283 | 0.257962 | 0 | 0.521739 | 0 | 0 | 0.097793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.231884 | false | 0.028986 | 0.086957 | 0.043478 | 0.434783 | 0.086957 | 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 | 0 | 0 | 0 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.