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
efc00569574f85d3626e4f274d154f440a2f924f
965
py
Python
PyMesh/python/pymesh/tests/test_aabb_tree.py
VincentLefevre/3D-parallax
8eab905fcc591e1bd7ddbbb01ad21427286c02e3
[ "MIT" ]
73
2021-01-05T07:25:51.000Z
2022-03-17T20:46:01.000Z
PyMesh/python/pymesh/tests/test_aabb_tree.py
VincentLefevre/3D-parallax
8eab905fcc591e1bd7ddbbb01ad21427286c02e3
[ "MIT" ]
1
2021-01-05T11:45:36.000Z
2021-01-05T20:55:28.000Z
PyMesh/python/pymesh/tests/test_aabb_tree.py
VincentLefevre/3D-parallax
8eab905fcc591e1bd7ddbbb01ad21427286c02e3
[ "MIT" ]
4
2021-01-05T10:27:50.000Z
2021-01-06T12:02:57.000Z
from pymesh.TestCase import TestCase from pymesh import distance_to_mesh, BVH from pymesh.meshutils import generate_box_mesh import numpy as np class DistanceToMeshTest(TestCase): def test_boundary_pts_cgal(self): mesh = generate_box_mesh( np.array([0, 0, 0]), np.array([1, 1, 1]))...
34.464286
84
0.576166
144
965
3.645833
0.270833
0.053333
0.057143
0.045714
0.544762
0.544762
0.544762
0.544762
0.544762
0.415238
0
0.055718
0.293264
965
27
85
35.740741
0.714076
0
0
0.545455
1
0
0.01919
0
0
0
0
0
0.090909
1
0.090909
false
0
0.181818
0
0.318182
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
efc44f8a2835a5735c540da676ff47fa87fced6a
476
py
Python
kete_hs21/course/migrations/0018_alter_recording_lesson.py
armondressler/kete_hs21
ff813d9208de63be4f6ebd0daefc4f51a08194c0
[ "Apache-2.0" ]
null
null
null
kete_hs21/course/migrations/0018_alter_recording_lesson.py
armondressler/kete_hs21
ff813d9208de63be4f6ebd0daefc4f51a08194c0
[ "Apache-2.0" ]
null
null
null
kete_hs21/course/migrations/0018_alter_recording_lesson.py
armondressler/kete_hs21
ff813d9208de63be4f6ebd0daefc4f51a08194c0
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.9 on 2021-12-11 02:07 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('course', '0017_alter_recording_lesson'), ] operations = [ migrations.AlterField( model_name='re...
23.8
101
0.642857
54
476
5.574074
0.648148
0.079734
0.093023
0.146179
0
0
0
0
0
0
0
0.052486
0.239496
476
19
102
25.052632
0.779006
0.094538
0
0
1
0
0.142191
0.062937
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
efc7de79793e745baebfc8dfbcdddd08ba3683a6
2,504
py
Python
facepy/model/dataset.py
IvanoBilenchi/facepy
cd3dee53b525e061034763a561683b3c20bdd883
[ "MIT" ]
8
2019-01-27T19:52:39.000Z
2021-02-11T10:54:16.000Z
facepy/model/dataset.py
IvanoBilenchi/facepy
cd3dee53b525e061034763a561683b3c20bdd883
[ "MIT" ]
null
null
null
facepy/model/dataset.py
IvanoBilenchi/facepy
cd3dee53b525e061034763a561683b3c20bdd883
[ "MIT" ]
1
2019-07-10T16:46:01.000Z
2019-07-10T16:46:01.000Z
import os from os import path from typing import Callable, Iterable import cv2.cv2 as cv2 import numpy as np from facepy import config class DataSample: """Models a single LFW dataset image.""" @property def person_name(self) -> str: return person_name_from_dir(self.dir_path) @property ...
29.458824
99
0.672524
359
2,504
4.493036
0.211699
0.043397
0.037198
0.044637
0.189089
0.112213
0.112213
0.081835
0.081835
0.081835
0
0.002065
0.226438
2,504
84
100
29.809524
0.830666
0.176917
0
0.117647
0
0
0.003976
0
0
0
0
0
0
1
0.215686
false
0
0.117647
0.058824
0.490196
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
efcd6d99ebac6583b3d226f20c931b950bfa8e9e
1,047
py
Python
cmsplugin_cascade/link/cms_plugins.py
aldryn/djangocms-cascade
a599724e4dd6219103f744a1f16b2fb860248f62
[ "MIT" ]
2
2015-09-24T20:25:13.000Z
2015-12-05T04:04:03.000Z
cmsplugin_cascade/link/cms_plugins.py
aldryn/djangocms-cascade
a599724e4dd6219103f744a1f16b2fb860248f62
[ "MIT" ]
null
null
null
cmsplugin_cascade/link/cms_plugins.py
aldryn/djangocms-cascade
a599724e4dd6219103f744a1f16b2fb860248f62
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.forms import widgets from django.utils.translation import ugettext_lazy as _ from cms.plugin_pool import plugin_pool from cmsplugin_cascade.fields import PartialFormField from .plugin_base import LinkPluginBase, LinkElementMixin from .forms imp...
33.774194
91
0.720153
115
1,047
6.26087
0.565217
0.041667
0.047222
0
0
0
0
0
0
0
0
0.001167
0.181471
1,047
30
92
34.9
0.838973
0.020057
0
0
0
0
0.104492
0.024414
0
0
0
0
0
1
0
false
0
0.269231
0
0.730769
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
efd196f7748397edc35277811ba786e92c209860
339
py
Python
python 202.py
Aijana-github/Aijana_new_github
d7eb06b7c5374d2a59484fe9e78f60eb2645ab7e
[ "MIT" ]
null
null
null
python 202.py
Aijana-github/Aijana_new_github
d7eb06b7c5374d2a59484fe9e78f60eb2645ab7e
[ "MIT" ]
null
null
null
python 202.py
Aijana-github/Aijana_new_github
d7eb06b7c5374d2a59484fe9e78f60eb2645ab7e
[ "MIT" ]
null
null
null
# Ищем в систему используя ЛОГИЧЕСКОЕ И login = 'username' password = '123456' login1 = input("Введите имя пользователя: ") password1 = input("Введите пароль: ") if login1 == login and password1 == password: print('Вы вошли в систему!') else: print('Не удаеься войти. Пожалуйста, проверьте правильность написани...
33.9
91
0.731563
42
339
5.904762
0.761905
0.064516
0
0
0
0
0
0
0
0
0
0.035211
0.162242
339
10
91
33.9
0.838028
0.109145
0
0
0
0
0.508306
0
0
0
0
0
0
1
0
false
0.375
0
0
0
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
0
0
0
1
0
0
0
0
0
1
efdb9d8d2f692989a1f6860728049da3a31f9c5c
1,840
py
Python
tests/functional/test_configrepo.py
earlren1014/RedHat-Software-Factory
dd50eba4e353945886ebceb5dd608179d608b956
[ "Apache-2.0" ]
null
null
null
tests/functional/test_configrepo.py
earlren1014/RedHat-Software-Factory
dd50eba4e353945886ebceb5dd608179d608b956
[ "Apache-2.0" ]
null
null
null
tests/functional/test_configrepo.py
earlren1014/RedHat-Software-Factory
dd50eba4e353945886ebceb5dd608179d608b956
[ "Apache-2.0" ]
null
null
null
#!/bin/env python # # Copyright (C) 2014 eNovance SAS <licensing@enovance.com> # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
33.454545
75
0.643478
232
1,840
5.021552
0.547414
0.051502
0.051502
0.027468
0.044635
0
0
0
0
0
0
0.009701
0.271739
1,840
54
76
34.074074
0.859701
0.391848
0
0.148148
0
0
0.054745
0
0
0
0
0
0.111111
1
0.111111
false
0.074074
0.185185
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
1
0
0
0
0
0
1
efea37fb7dc5f5ad1c20dbd761f8428bd956fd18
651
py
Python
generate_docs.py
RobinRojowiec/stopword-collection
4fa3665aa9e0e1e34d9d44afc3bf7ee2cb0da5ed
[ "Apache-2.0" ]
1
2022-01-08T03:40:39.000Z
2022-01-08T03:40:39.000Z
generate_docs.py
RobinRojowiec/stopword-collection
4fa3665aa9e0e1e34d9d44afc3bf7ee2cb0da5ed
[ "Apache-2.0" ]
1
2021-03-31T19:22:13.000Z
2021-03-31T19:22:13.000Z
generate_docs.py
RobinRojowiec/stopword-collection
4fa3665aa9e0e1e34d9d44afc3bf7ee2cb0da5ed
[ "Apache-2.0" ]
null
null
null
""" IDE: PyCharm Project: corpus-analysis Author: Robin Filename: generate_docs Date: 12.01.2020 """ import pandas as pd from tqdm import tqdm root_folder = 'data/leipzig-corpora/' filename: str = root_folder + 'deu_wikipedia_2016_10K-sentences.txt' doc_folder = root_folder + 'docs' dataframe = pd.read_csv(filename...
23.25
78
0.695853
99
651
4.434343
0.636364
0.068337
0
0
0
0
0
0
0
0
0
0.030741
0.150538
651
27
79
24.111111
0.76311
0.141321
0
0
1
0
0.151184
0.103825
0
0
0
0
0
1
0.083333
false
0
0.166667
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
eff0a0eb97e8e65e7bf0b91869ba470dffc56e07
20,027
py
Python
scripts/libcodegen.py
ProcGenTeam/WebGLRuntime
93ce85b4857981ea4b424953b2e1b2067b32b88d
[ "Apache-2.0" ]
null
null
null
scripts/libcodegen.py
ProcGenTeam/WebGLRuntime
93ce85b4857981ea4b424953b2e1b2067b32b88d
[ "Apache-2.0" ]
null
null
null
scripts/libcodegen.py
ProcGenTeam/WebGLRuntime
93ce85b4857981ea4b424953b2e1b2067b32b88d
[ "Apache-2.0" ]
null
null
null
import subprocess import os """ Much of the generated code is based on code internal to quickjs with minor changes. Generated IDL files are header files that provide basic declarations and wrappers. The normal function signature for quickjs is... JSValue js_std_gc(JSContext *ctx, JSValueConst this_val, int argc, JS...
28.569187
147
0.655016
2,431
20,027
4.980255
0.105718
0.037664
0.015611
0.014537
0.386058
0.289254
0.197985
0.162055
0.154291
0.14537
0
0.006656
0.219803
20,027
700
148
28.61
0.768192
0.015579
0
0.265795
1
0.006536
0.412007
0.140654
0
0
0
0.001429
0.002179
1
0.026144
false
0.004357
0.004357
0
0.078431
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
eff3d7182c174fec3b3438028e183a81f92a9611
1,102
py
Python
contracts/tests.py
Project-Ellie/Django
b5acf732c15fde78b86e6172992f35f8258c557d
[ "Apache-2.0" ]
null
null
null
contracts/tests.py
Project-Ellie/Django
b5acf732c15fde78b86e6172992f35f8258c557d
[ "Apache-2.0" ]
6
2019-12-14T21:02:00.000Z
2022-01-13T02:02:30.000Z
contracts/tests.py
Project-Ellie/Django
b5acf732c15fde78b86e6172992f35f8258c557d
[ "Apache-2.0" ]
null
null
null
from django.test import TestCase import logging from users.models import CustomUser from .models import ContractualParty, Contract, UserContractualPartyAssociation logger = logging.getLogger(__name__) class Explorations(TestCase): def setUp(self): logger.info("setting up the test case") admin =...
33.393939
80
0.680581
132
1,102
5.507576
0.431818
0.038514
0.030261
0.057772
0.126547
0.126547
0.126547
0.126547
0.126547
0
0
0.009195
0.210526
1,102
32
81
34.4375
0.826437
0
0
0
0
0
0.049002
0
0
0
0
0
0.076923
1
0.076923
false
0.076923
0.153846
0
0.269231
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
eff94b9a85d81724d041aed2acb407892e1cfd50
3,440
py
Python
project/user.py
Koellmannco/Sturmfrei-API
0721c9dbaceca0b493c0709598f63843f69a635b
[ "MIT" ]
null
null
null
project/user.py
Koellmannco/Sturmfrei-API
0721c9dbaceca0b493c0709598f63843f69a635b
[ "MIT" ]
null
null
null
project/user.py
Koellmannco/Sturmfrei-API
0721c9dbaceca0b493c0709598f63843f69a635b
[ "MIT" ]
null
null
null
from project.database import db from sqlalchemy.sql import func from flask import g from marshmallow import Schema, fields, post_load from itsdangerous import SignatureExpired, BadSignature, TimedJSONWebSignatureSerializer from flask_httpauth import HTTPBasicAuth from project.security import pwd_context import os aut...
30.990991
115
0.657267
413
3,440
5.329298
0.27845
0.029078
0.036347
0.036347
0.196729
0.117674
0.090413
0
0
0
0
0.006513
0.241279
3,440
110
116
31.272727
0.836782
0.068314
0
0.155556
0
0
0.012825
0
0
0
0
0
0
1
0.1
false
0.133333
0.088889
0.033333
0.533333
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
5604c8b74ef6f1d9228d3cfde5cf1330da1ce9be
8,833
py
Python
deploy/alfresco.py
Redpill-Linpro/Alfresco-Tooling
213072a3c8756529748558b4df471a686b4cc740
[ "MIT" ]
1
2015-01-30T09:20:07.000Z
2015-01-30T09:20:07.000Z
deploy/alfresco.py
Redpill-Linpro/Alfresco-Tooling
213072a3c8756529748558b4df471a686b4cc740
[ "MIT" ]
1
2019-10-23T13:18:13.000Z
2019-10-23T13:18:13.000Z
deploy/alfresco.py
Redpill-Linpro/Alfresco-Tooling
213072a3c8756529748558b4df471a686b4cc740
[ "MIT" ]
1
2015-04-18T22:27:27.000Z
2015-04-18T22:27:27.000Z
#!/usr/bin/env python # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in t...
40.15
195
0.616212
1,208
8,833
4.430464
0.216887
0.03083
0.020179
0.014013
0.383595
0.30157
0.259342
0.233184
0.233184
0.20142
0
0.0048
0.24533
8,833
219
196
40.333333
0.79808
0.095777
0
0.283688
0
0.028369
0.259549
0.022546
0
0
0
0
0
0
null
null
0
0.042553
null
null
0.056738
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
4bccf4b8863a9b2a3e4b113126bdf00b1567176c
2,532
py
Python
JumpScale9Lib/clients/blockchain/rivine/RivineClient.py
Jumpscale/lib9
82224784ef2a7071faeb48349007211c367bc673
[ "Apache-2.0" ]
2
2017-06-07T08:11:47.000Z
2017-11-10T02:19:48.000Z
JumpScale9Lib/clients/blockchain/rivine/RivineClient.py
Jumpscale/lib9
82224784ef2a7071faeb48349007211c367bc673
[ "Apache-2.0" ]
188
2017-06-21T06:16:13.000Z
2020-06-17T14:20:24.000Z
JumpScale9Lib/clients/blockchain/rivine/RivineClient.py
Jumpscale/lib9
82224784ef2a7071faeb48349007211c367bc673
[ "Apache-2.0" ]
3
2018-06-12T05:18:28.000Z
2019-09-24T06:49:17.000Z
""" Rivine Client """ from JumpScale9 import j from JumpScale9Lib.clients.blockchain.rivine.RivineWallet import RivineWallet from JumpScale9Lib.clients.blockchain.rivine.RivineMultiSigWallet import RivineMultiSignatureWallet TEMPLATE = """ bc_address = "" seed_ = "" nr_keys_per_seed = 50 minerfee = 10...
39.5625
129
0.532385
240
2,532
5.441667
0.358333
0.084227
0.117917
0.029862
0.248086
0.18683
0.18683
0.18683
0.18683
0.108729
0
0.009628
0.384676
2,532
63
130
40.190476
0.828626
0.108215
0
0.2
0
0
0.111732
0
0
0
0
0
0
1
0.05
false
0.075
0.075
0
0.175
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
4bcd2b439cd7e54cf08a8c092945ece6ccc41ea1
7,593
py
Python
my-tf-01.py
rhouse/80x-faster
3a8f5e32650c22921cf092218dd24d6ba0f7a9b6
[ "MIT" ]
null
null
null
my-tf-01.py
rhouse/80x-faster
3a8f5e32650c22921cf092218dd24d6ba0f7a9b6
[ "MIT" ]
null
null
null
my-tf-01.py
rhouse/80x-faster
3a8f5e32650c22921cf092218dd24d6ba0f7a9b6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # my-tf-01.py -- A modification of tf-01.py to make it run faster import sys, os, string # The constrained memory should have no more than 1024 cells data = [] # We're lucky: # The stop words are only 556 characters and the lines are all # less than 80 characters, so we can use tha...
32.173729
82
0.622942
1,183
7,593
3.852071
0.215554
0.045425
0.026333
0.012069
0.175993
0.092605
0.063638
0.058591
0.040377
0.040377
0
0.026373
0.270907
7,593
235
83
32.310638
0.796785
0.404583
0
0.30303
0
0
0.030433
0
0
0
0
0
0
0
null
null
0
0.007576
null
null
0.007576
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
4bd342a65a9d35a6598ebc8a7d20d6fea934c5ae
15,660
py
Python
src/sqls.py
Sean-Wu-TW/cmpe226-sping21
4b5ddc99348c8aeda218bd372ad4f38a57829625
[ "MIT" ]
null
null
null
src/sqls.py
Sean-Wu-TW/cmpe226-sping21
4b5ddc99348c8aeda218bd372ad4f38a57829625
[ "MIT" ]
null
null
null
src/sqls.py
Sean-Wu-TW/cmpe226-sping21
4b5ddc99348c8aeda218bd372ad4f38a57829625
[ "MIT" ]
null
null
null
# SJSU CMPE 226 Spring 2021 TEAM4 import bcrypt import hashlib import mysql.connector import logging logging.basicConfig(filename='EZledger.log', filemode='a', format='%(asctime)s - %(message)s', level=logging.INFO) hostname = 'database-1.c1sqwxkauabb.us-west-1.rds.amazonaws.com' username = 'admin' password = '19950808...
26.953528
294
0.623563
1,891
15,660
5.09413
0.142253
0.045157
0.050452
0.064881
0.541991
0.500156
0.466521
0.450119
0.443683
0.443683
0
0.008369
0.252235
15,660
580
295
27
0.814261
0.104087
0
0.662037
0
0.013889
0.184526
0.007211
0
0
0
0
0
1
0.060185
false
0.099537
0.009259
0
0.150463
0.018519
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
4bd4b1236b1314672282943122bacafdff7cedf1
1,751
py
Python
examples/compare_vanilla.py
Eralys/pywph_dev
bb864050c73b168c32a59f37ac0aca71ff159aed
[ "BSD-3-Clause" ]
null
null
null
examples/compare_vanilla.py
Eralys/pywph_dev
bb864050c73b168c32a59f37ac0aca71ff159aed
[ "BSD-3-Clause" ]
null
null
null
examples/compare_vanilla.py
Eralys/pywph_dev
bb864050c73b168c32a59f37ac0aca71ff159aed
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import pywph as pw import pywph_vanilla as pw2 import numpy as np import matplotlib.pyplot as plt M, N = 256, 256 J = 6 L = 4 dn = 0 data_ini = np.load('data/I_1.npy') data = data_ini[:256,:256] datab = data_ini[256:,256:] """ Without normalization """ # Version dev wph_op = pw.WPHOp(M, N,...
23.986301
69
0.668761
291
1,751
3.958763
0.213058
0.076389
0.090278
0.041667
0.674479
0.674479
0.610243
0.610243
0.610243
0.610243
0
0.033289
0.142204
1,751
72
70
24.319444
0.733688
0.083381
0
0.35
0
0
0.03691
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.2
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4bd6cefa910f91c7ba49789a6353846e5c0d3d49
12,348
py
Python
cairotext/templatetags/cairotext.py
akaihola/django-cairo-text
a23bca357dcb4e0963543b972484549c789c4186
[ "BSD-3-Clause" ]
4
2015-03-13T02:18:03.000Z
2019-07-03T14:44:11.000Z
cairotext/templatetags/cairotext.py
akaihola/django-cairo-text
a23bca357dcb4e0963543b972484549c789c4186
[ "BSD-3-Clause" ]
null
null
null
cairotext/templatetags/cairotext.py
akaihola/django-cairo-text
a23bca357dcb4e0963543b972484549c789c4186
[ "BSD-3-Clause" ]
null
null
null
from django import template register = template.Library() from django.template import Node, TemplateSyntaxError, Variable from django.core.mail import mail_admins try: from hashlib import md5 except ImportError: from md5 import md5 import struct from urlparse import urljoin from os import remove, rename from ...
41.297659
91
0.625364
1,417
12,348
5.355681
0.402964
0.011859
0.01265
0.007906
0.048491
0.030571
0.015285
0.015285
0.015285
0.015285
0
0.055976
0.208617
12,348
298
92
41.436242
0.72063
0.026239
0
0.046875
0
0
0.26383
0.006298
0
0
0
0
0.003906
0
null
null
0.003906
0.054688
null
null
0.003906
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
4bda7661d241016e77358464d7ee3ac443b546d3
878
py
Python
docs/convertImages.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
docs/convertImages.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
docs/convertImages.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
from glob import glob import re def convert_ref(line): if line.startswith("<img"): m = re.search('<img src="(.+)" alt="(.+)" style="width: (.+);"/>', line) return "\n.. image:: {}\n :alt: {}\n :width: {}\n".format(m.group(1), m.group(2), m.group(3)) elif line.startswith("!["): m = r...
35.12
105
0.474943
114
878
3.570175
0.403509
0.103194
0.058968
0.095823
0.115479
0
0
0
0
0
0
0.011345
0.297267
878
25
106
35.12
0.648298
0
0
0.086957
0
0
0.212742
0
0
0
0
0
0
0
null
null
0
0.086957
null
null
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
1
0
0
0
0
0
0
0
0
1
4bdad924d8c444b4769ac06c4bff54bec4a27295
4,822
py
Python
ixian_docker/modules/django/tasks.py
kreneskyp/ixian-docker
ce7a6cee2f961b8446dc3d9429a809ab5a235467
[ "Apache-2.0" ]
null
null
null
ixian_docker/modules/django/tasks.py
kreneskyp/ixian-docker
ce7a6cee2f961b8446dc3d9429a809ab5a235467
[ "Apache-2.0" ]
null
null
null
ixian_docker/modules/django/tasks.py
kreneskyp/ixian-docker
ce7a6cee2f961b8446dc3d9429a809ab5a235467
[ "Apache-2.0" ]
null
null
null
# Copyright [2018-2020] Peter Krenesky # # 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...
26.938547
92
0.676483
604
4,822
5.342715
0.278146
0.022312
0.052061
0.044623
0.415866
0.386737
0.332507
0.320421
0.306477
0.271769
0
0.009651
0.226462
4,822
178
93
27.089888
0.855496
0.456657
0
0.367647
0
0
0.261125
0.029807
0
0
0
0
0
1
0.132353
false
0
0.044118
0.088235
0.897059
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
4bdbb4877a236ad854839355e68d7933826066ab
331
py
Python
ABC_B/ABC133_B.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_B/ABC133_B.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_B/ABC133_B.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
import math N, D = map(int, input().split()) X = [] for _ in range(N): X.append(list(map(int, input().split()))) cnt = 0 for i in range(N): for j in range(i+1, N): sum = 0 for k in range(D): sum += (X[i][k] - X[j][k])**2 if math.sqrt(sum).is_integer(): cnt += 1 ...
19.470588
45
0.480363
59
331
2.661017
0.457627
0.178344
0.140127
0.203822
0
0
0
0
0
0
0
0.022026
0.314199
331
16
46
20.6875
0.669604
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.071429
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
4bdc51135395248d47550f61888c366bf00aa8bf
922
py
Python
servo_control/servo_controll.py
Swoodend/pi_servo_control
522621419b75b76bbc0a28e7886c10905555ae66
[ "MIT" ]
null
null
null
servo_control/servo_controll.py
Swoodend/pi_servo_control
522621419b75b76bbc0a28e7886c10905555ae66
[ "MIT" ]
null
null
null
servo_control/servo_controll.py
Swoodend/pi_servo_control
522621419b75b76bbc0a28e7886c10905555ae66
[ "MIT" ]
null
null
null
# import RPi.GPIO as GPIO import datetime class Servo: def __init__(self, on_time=datetime.time(0,0,0)): #pin_mode = GPIO.BOARD): self.on_time = on_time self.on_hour = on_time.hour self.on_minute = on_time.minute self.is_running = False def view_config(self): print(f'on_time: {self.on_time}') ...
30.733333
100
0.729935
147
922
4.258503
0.231293
0.095847
0.103834
0.086262
0.36262
0.36262
0.284345
0.284345
0.284345
0.284345
0
0.003906
0.167028
922
30
101
30.733333
0.811198
0.049892
0
0.181818
0
0
0.116705
0
0
0
0
0
0
1
0.227273
false
0
0.045455
0
0.409091
0.181818
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
4bde1cdb092c8a296b75e6bc65488ae018835f84
561
py
Python
Course - Intro to Backend/Jinja2 Templates/functions.py
Lockon2000/Udacity
1ab66be4ed7e93a66c1c8a080be4b7c80b838900
[ "MIT" ]
null
null
null
Course - Intro to Backend/Jinja2 Templates/functions.py
Lockon2000/Udacity
1ab66be4ed7e93a66c1c8a080be4b7c80b838900
[ "MIT" ]
1
2022-02-27T14:49:07.000Z
2022-02-27T14:49:07.000Z
Course - Intro to Backend/Jinja2 Templates/functions.py
Lockon2000/Udacity
1ab66be4ed7e93a66c1c8a080be4b7c80b838900
[ "MIT" ]
null
null
null
def ceaser(message): ciphered = "" for c in message: if c.isalpha(): if c.isupper(): upper = True else: upper = False c = c.upper() place = ord(c) if place+13 > 90: place = (place+13 - 90) + 64...
21.576923
46
0.381462
53
561
4.037736
0.415094
0.098131
0.084112
0
0
0
0
0
0
0
0
0.044944
0.524064
561
26
47
21.576923
0.756554
0
0
0.190476
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0
0
0.095238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
4be3b28c7874c81cc328c6a8bad491fe29edb940
314
py
Python
tests/test_render.py
wj-Mcat/code-generator
a49b35491e9efa8ecce658bf691b8466c14ce4fa
[ "Apache-2.0" ]
6
2020-06-29T14:07:35.000Z
2021-06-25T03:19:29.000Z
tests/test_render.py
wj-Mcat/code-generator
a49b35491e9efa8ecce658bf691b8466c14ce4fa
[ "Apache-2.0" ]
28
2020-07-14T08:13:29.000Z
2021-10-04T21:03:56.000Z
tests/test_render.py
wj-Mcat/code-generator
a49b35491e9efa8ecce658bf691b8466c14ce4fa
[ "Apache-2.0" ]
null
null
null
"""tests code""" import sys import pytest from code_generator.config import Arguments @pytest.fixture def simple_argument(): sys.argv = [ '', '--config=./tests/data/configs/simple.json', '--templates=./tests/data/templates/' ] def test_loader(): """tests template loader"""
17.444444
52
0.633758
35
314
5.6
0.6
0.091837
0
0
0
0
0
0
0
0
0
0
0.207006
314
17
53
18.470588
0.787149
0.101911
0
0
0
0
0.280443
0.280443
0
0
0
0
0
1
0.181818
true
0
0.272727
0
0.454545
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
4bf489dfd58056333d93e0b52dd0d5f347c2f7d1
1,715
py
Python
dvhb_hybrid/redis.py
carbonariy/dvhb-hybrid
adbb250767ea255addc607fb6f6755c9add447db
[ "MIT" ]
27
2018-05-08T16:03:24.000Z
2020-02-20T06:39:19.000Z
dvhb_hybrid/redis.py
carbonariy/dvhb-hybrid
adbb250767ea255addc607fb6f6755c9add447db
[ "MIT" ]
7
2018-10-20T16:03:36.000Z
2021-11-03T11:09:22.000Z
dvhb_hybrid/redis.py
carbonariy/dvhb-hybrid
adbb250767ea255addc607fb6f6755c9add447db
[ "MIT" ]
16
2018-12-11T15:34:22.000Z
2022-01-25T00:20:55.000Z
def redis_key(project_slug, key, *namespaces): """ Generates project dependent Redis key >>> redis_key('a', 'b') 'a:b' >>> redis_key('a', 'b', 'c', 'd') 'a:c:d:b' >>> redis_key('a', 1, 'c', None) 'a:c:1' """ l = [project_slug] if namespaces: l.extend(namespaces) ...
30.087719
77
0.527697
203
1,715
4.389163
0.280788
0.071829
0.030303
0.022447
0.047138
0
0
0
0
0
0
0.001828
0.362099
1,715
56
78
30.625
0.812614
0.089213
0
0.15
1
0
0.000657
0
0
0
0
0
0
1
0.05
false
0
0
0.025
0.275
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
4bf6d213964a90a0eb74bb0b76312ccac0c34236
13,722
py
Python
tests/flat_test.py
radiasoft/olive
f7b80112f0fc8be0c50b6eedceccd422997081b5
[ "Apache-2.0" ]
null
null
null
tests/flat_test.py
radiasoft/olive
f7b80112f0fc8be0c50b6eedceccd422997081b5
[ "Apache-2.0" ]
1
2017-07-19T07:33:06.000Z
2017-07-20T05:12:37.000Z
tests/flat_test.py
radiasoft/olive
f7b80112f0fc8be0c50b6eedceccd422997081b5
[ "Apache-2.0" ]
null
null
null
""" new_flat_run is an example file which seeks to verify the initial algorithm and update sequence as derived by Dan and Stephen. It will ignore much of the class structure applied to OLIVE in an attempt to provide a simple example of the algorithm. Once verified, it will be implemented within OLIVE using the approp...
33.144928
141
0.614998
2,159
13,722
3.805465
0.171839
0.032863
0.039314
0.012658
0.453627
0.410662
0.38279
0.34019
0.323759
0.312561
0
0.027851
0.254263
13,722
414
142
33.144928
0.775042
0.266288
0
0.311765
0
0.017647
0.111005
0.037914
0
0
0
0
0
0
null
null
0
0.029412
null
null
0.017647
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
4bf8e6c6ab47e0affd49ac1df22b2c51c43f8609
7,184
py
Python
frontend/pb/ctfoperator_internal_pb2.py
acasi-ctf/ctf
1136185c359252d80f5dd4ebd4ce4cc404cd4ea3
[ "Apache-2.0" ]
4
2021-03-13T04:45:23.000Z
2022-03-22T06:45:04.000Z
frontend/pb/ctfoperator_internal_pb2.py
acasi-ctf/ctf
1136185c359252d80f5dd4ebd4ce4cc404cd4ea3
[ "Apache-2.0" ]
207
2021-03-09T22:36:46.000Z
2022-03-28T13:49:50.000Z
frontend/pb/ctfoperator_internal_pb2.py
acasi-ctf/ctf
1136185c359252d80f5dd4ebd4ce4cc404cd4ea3
[ "Apache-2.0" ]
2
2021-03-13T01:07:37.000Z
2021-12-23T00:01:40.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ctfoperator_internal.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from ...
45.18239
813
0.777144
941
7,184
5.584485
0.180659
0.044529
0.075928
0.066794
0.52236
0.495338
0.467745
0.444148
0.406851
0.396575
0
0.039173
0.111637
7,184
158
814
45.468354
0.784237
0.038001
0
0.459854
1
0.014599
0.208551
0.159855
0
0
0
0
0
1
0
false
0
0.051095
0
0.051095
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
ef00776ead7b2dae76f244721a82ccf28a6da485
2,420
py
Python
history_generator/internal/db.py
ReedOei/History-Generator
5c1c5df89d355736173cddf9c373b761fa4d1c3b
[ "MIT" ]
19
2017-10-26T17:52:57.000Z
2022-01-17T11:04:46.000Z
history_generator/internal/db.py
Kytuzian/History-Generator
5c1c5df89d355736173cddf9c373b761fa4d1c3b
[ "MIT" ]
4
2017-11-13T15:54:53.000Z
2021-02-27T08:02:41.000Z
history_generator/internal/db.py
Kytuzian/History-Generator
5c1c5df89d355736173cddf9c373b761fa4d1c3b
[ "MIT" ]
5
2017-10-30T05:49:43.000Z
2020-10-06T18:29:42.000Z
import sqlite3 import os DB_SAVES_DIR = 'saves' class DB: def __init__(self, name): self.name = name self.path = '{}/{}.db'.format(DB_SAVES_DIR, self.name) if not os.path.isdir(DB_SAVES_DIR): os.makedirs(DB_SAVES_DIR) self.conn = sqlite3.connect(self.path) def sa...
28.809524
64
0.557025
298
2,420
4.456376
0.285235
0.149096
0.176205
0.243976
0.440512
0.23494
0.072289
0.072289
0.072289
0.072289
0
0.003584
0.308264
2,420
83
65
29.156627
0.789725
0.016116
0
0.225806
0
0
0.179218
0.103912
0
0
0
0
0
1
0.080645
false
0
0.032258
0
0.145161
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
ef079ed37a60f860c16d103392c1274b64f2cf24
511
py
Python
src/core/migrations/0042_auto_20210525_1129.py
metabolism-of-cities/metabolism-of-cities-platform
6213de146b1bc7b7c2802531fdcda1e328c32c64
[ "MIT" ]
4
2020-10-14T15:35:07.000Z
2022-01-13T15:31:16.000Z
src/core/migrations/0042_auto_20210525_1129.py
metabolism-of-cities/metabolism-of-cities-platform
6213de146b1bc7b7c2802531fdcda1e328c32c64
[ "MIT" ]
null
null
null
src/core/migrations/0042_auto_20210525_1129.py
metabolism-of-cities/metabolism-of-cities-platform
6213de146b1bc7b7c2802531fdcda1e328c32c64
[ "MIT" ]
2
2021-01-07T14:39:05.000Z
2022-01-18T12:31:50.000Z
# Generated by Django 3.1.2 on 2021-05-25 11:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0041_cityloopsscareport'), ] operations = [ migrations.AlterModelOptions( name='cityloopsscareport', options={'order...
22.217391
53
0.571429
45
511
6.4
0.755556
0.152778
0
0
0
0
0
0
0
0
0
0.053521
0.305284
511
22
54
23.227273
0.757746
0.088063
0
0.125
1
0
0.193966
0.049569
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
ef100fd1948c4e16b5d75044e3acfcd77930060a
8,457
py
Python
db/parse_scanned_bt.py
madeleineth/btc_anglo_saxon
5cd267ac1ca744c431b54bcaa0fba4e49cf5e3f2
[ "CC-BY-4.0" ]
2
2019-11-29T04:40:54.000Z
2020-05-27T21:28:21.000Z
db/parse_scanned_bt.py
madeleineth/btc_anglo_saxon
5cd267ac1ca744c431b54bcaa0fba4e49cf5e3f2
[ "CC-BY-4.0" ]
7
2020-02-04T02:06:04.000Z
2021-12-05T04:16:00.000Z
db/parse_scanned_bt.py
madeleineth/btc_anglo_saxon
5cd267ac1ca744c431b54bcaa0fba4e49cf5e3f2
[ "CC-BY-4.0" ]
1
2020-05-29T17:41:38.000Z
2020-05-29T17:41:38.000Z
#!/usr/bin/env python3 """Generates oe_bt.json. Reads data of the form of `oe_bosworthtoller.txt` on input and writes JSON to output, where keys are a normalized headword, and values are a map of the form `{headwords: [...], entries: [...]}` where all the headwords in an entry share the same ASCII normalization. The t...
38.266968
79
0.618304
1,281
8,457
4.026542
0.295082
0.021714
0.008143
0.007755
0.075223
0.037999
0.010081
0.010081
0
0
0
0.031502
0.253045
8,457
220
80
38.440909
0.785025
0.365023
0
0.139706
1
0
0.149924
0.017884
0
0
0
0
0.058824
1
0.051471
false
0
0.058824
0.007353
0.220588
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
ef13d2167601cb18124c1c677aa07fdcb7d84c84
428
py
Python
backend/telegram/methods/base/get_telegram_channel_by_id.py
appheap/social-media-analyzer
0f9da098bfb0b4f9eb38e0244aa3a168cf97d51c
[ "Apache-2.0" ]
5
2021-09-11T22:01:15.000Z
2022-03-16T21:33:42.000Z
backend/telegram/methods/base/get_telegram_channel_by_id.py
iamatlasss/social-media-analyzer
429d1d2bbd8bfce80c50c5f8edda58f87ace668d
[ "Apache-2.0" ]
null
null
null
backend/telegram/methods/base/get_telegram_channel_by_id.py
iamatlasss/social-media-analyzer
429d1d2bbd8bfce80c50c5f8edda58f87ace668d
[ "Apache-2.0" ]
3
2022-01-18T11:06:22.000Z
2022-02-26T13:39:28.000Z
from typing import Optional from db.scaffold import Scaffold from telegram import models as tg_models class GetTelegramChannelById(Scaffold): def get_telegram_channel_by_id( self, channel_id: int, ) -> Optional['tg_models.TelegramChannel']: if channel_id is None: ...
26.75
95
0.71729
54
428
5.425926
0.462963
0.153584
0.156997
0.122867
0
0
0
0
0
0
0
0
0.224299
428
15
96
28.533333
0.88253
0
0
0
0
0
0.058411
0.058411
0
0
0
0
0
1
0.090909
false
0
0.272727
0
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
0
0
0
0
0
1
0
0
1
ef1421486ad79c020056b752c6ce10ee1247dbab
319
py
Python
viewsets/__init__.py
kindlycat/django-view-sets
32d28ca9b3d91472d1a71b3eeaadecdab953cf5b
[ "BSD-3-Clause" ]
null
null
null
viewsets/__init__.py
kindlycat/django-view-sets
32d28ca9b3d91472d1a71b3eeaadecdab953cf5b
[ "BSD-3-Clause" ]
null
null
null
viewsets/__init__.py
kindlycat/django-view-sets
32d28ca9b3d91472d1a71b3eeaadecdab953cf5b
[ "BSD-3-Clause" ]
null
null
null
# flake8: noqa from .serializers import ViewSetSerializer from .views import ( ViewSetCreateView, ViewSetDeleteView, ViewSetDetailView, ViewSetIndexView, ViewSetListView, ViewSetUpdateView ) from .viewsets import ModelViewSet, ViewSet __version__ = '0.1.6' default_app_config = 'viewsets.apps.ViewsetsConfig'
26.583333
78
0.805643
30
319
8.366667
0.833333
0
0
0
0
0
0
0
0
0
0
0.014286
0.122257
319
11
79
29
0.882143
0.037618
0
0
0
0
0.108197
0.091803
0
0
0
0
0
1
0
false
0
0.375
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
0
1
0
0
0
0
1
ef17417450e749bb0bf67f6f43b6610fbdaad59d
6,900
py
Python
utils/lab_vpn/lab_vpn.py
greyshell/Pen-Test
f6a26d62e6b45475d31273ab800073bd08429a10
[ "MIT" ]
6
2016-08-21T16:25:09.000Z
2018-07-13T21:59:22.000Z
utils/lab_vpn/lab_vpn.py
greyshell/greyEnum
f6a26d62e6b45475d31273ab800073bd08429a10
[ "MIT" ]
3
2020-12-19T08:58:35.000Z
2021-06-02T03:12:54.000Z
utils/lab_vpn/lab_vpn.py
greyshell/python_programming
cfe4c700675fb6f979245ceda775ecf656574312
[ "MIT" ]
1
2018-01-30T05:07:57.000Z
2018-01-30T05:07:57.000Z
#!/usr/bin/env python3 # author: greyshell # description: use openvpn to access offensive security labs import argparse import json import subprocess import sys import time import keyring import pexpect import requests from colorama import Fore # global constant variable PROGRAM_LOGO = """ _ ____ _____ _...
38.547486
114
0.558551
792
6,900
4.508838
0.260101
0.055447
0.030804
0.031924
0.436292
0.398208
0.328199
0.297396
0.25203
0.25203
0
0.005376
0.326087
6,900
178
115
38.764045
0.762581
0.045362
0
0.258065
0
0.008065
0.206176
0.011215
0.008065
0
0
0
0
1
0.032258
false
0.104839
0.072581
0
0.120968
0.112903
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
ef177a56ddbf2f608dfb744ef5d8b72c7b72cf02
703
py
Python
instructors/need-rework/18_unittesting_more/next_sample.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
46
2017-09-27T20:19:36.000Z
2020-12-08T10:07:19.000Z
instructors/need-rework/18_unittesting_more/next_sample.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
6
2018-01-09T08:07:37.000Z
2020-09-07T12:25:13.000Z
instructors/need-rework/18_unittesting_more/next_sample.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
18
2017-10-10T02:06:51.000Z
2019-12-01T10:18:13.000Z
import unittest def setUpModule(): print("in module {} - setUpModule()".format(__name__)) def tearDownModule(): print("in module {} - tearDownModule()".format(__name__)) class TextFixtures(unittest.TestCase): @classmethod def setUpClass(cls): print('in class {} - setUpClass()'.format(cls.__...
20.676471
67
0.613087
77
703
5.233766
0.324675
0.138958
0.109181
0.074442
0
0
0
0
0
0
0
0.007366
0.227596
703
33
68
21.30303
0.734807
0
0
0.090909
0
0
0.237553
0
0
0
0
0
0
1
0.363636
false
0
0.045455
0
0.454545
0.363636
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
ef184d34276476f41d2cae692c02db45c2e26c64
1,495
py
Python
attribution/constants.py
garygsw/smooth-taylor
a5e8ad4d175849de6875844771a5ce3f463fe8fb
[ "MIT" ]
16
2020-04-28T03:29:39.000Z
2021-11-24T13:51:55.000Z
attribution/constants.py
garygsw/smooth-taylor
a5e8ad4d175849de6875844771a5ce3f463fe8fb
[ "MIT" ]
null
null
null
attribution/constants.py
garygsw/smooth-taylor
a5e8ad4d175849de6875844771a5ce3f463fe8fb
[ "MIT" ]
1
2021-05-07T01:29:24.000Z
2021-05-07T01:29:24.000Z
import os import numpy as np import torch from torchvision import models, transforms MODELS = {'densenet121': models.densenet121, 'resnet152': models.resnet152} DEVICE = torch.device('cuda' if torch.cuda.is_available() else 'cpu') ANALYZERS = ['grad', 'smooth-grad', 'smooth-taylor', 'ig', 'lrp'] IG_BASELIN...
34.767442
94
0.658194
202
1,495
4.841584
0.346535
0.035787
0.106339
0.147239
0.604294
0.604294
0.604294
0.604294
0.604294
0.604294
0
0.115681
0.219398
1,495
43
95
34.767442
0.722365
0.276254
0
0.441176
0
0
0.064306
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ef193525d86e3f5e91be2becb54125eedda4b424
13,555
py
Python
src/einsteinpy/geodesic/geodesic.py
epsilonethan/einsteinpy
6b3ab77151b2c23f03c627fce5a54673a66b9254
[ "MIT" ]
485
2019-02-04T09:15:22.000Z
2022-03-19T13:50:17.000Z
src/einsteinpy/geodesic/geodesic.py
shreyasbapat/einsteinpy
a63f2f9ff7e9010d80d7cbd4a519fd8b523ab865
[ "MIT" ]
570
2019-02-02T10:57:27.000Z
2022-02-26T16:37:05.000Z
src/einsteinpy/geodesic/geodesic.py
shreyasbapat/einsteinpy
a63f2f9ff7e9010d80d7cbd4a519fd8b523ab865
[ "MIT" ]
250
2019-01-30T14:14:14.000Z
2022-02-28T21:18:18.000Z
import warnings import numpy as np from einsteinpy.integrators import GeodesicIntegrator from .utils import _P, _kerr, _kerrnewman, _sch class Geodesic: """ Base Class for defining Geodesics Working in Geometrized Units (M-Units), with :math:`c = G = M = k_e = 1` """ def __init__( ...
32.820823
88
0.550203
1,439
13,555
5.104934
0.168172
0.043561
0.020692
0.02287
0.697522
0.682548
0.678328
0.678328
0.672203
0.672203
0
0.015498
0.366876
13,555
412
89
32.900485
0.84048
0.546809
0
0.204918
0
0
0.135788
0.021576
0
0
0
0
0
1
0.057377
false
0
0.032787
0.016393
0.155738
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ef2e925a7358d7149313cb0d0d03620af2d04e64
848
py
Python
src/2nd_course.py
FtZzy/formation_python
c4ed7da36eea8613bb4b8f1415dc25115b9615c9
[ "MIT" ]
null
null
null
src/2nd_course.py
FtZzy/formation_python
c4ed7da36eea8613bb4b8f1415dc25115b9615c9
[ "MIT" ]
null
null
null
src/2nd_course.py
FtZzy/formation_python
c4ed7da36eea8613bb4b8f1415dc25115b9615c9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- def pizza(): print("Pizzaaaaaaa") def nuggets(): print("Course de poussins!") def quiche(): print("Qui?") def croques(): print("Ma machine est partie...") def courgettes(): print("Non, pas de courgettes :'(") def choix_repas_moche(num_choix=4): """ Choix d...
16.307692
60
0.580189
113
848
4.150442
0.362832
0.149254
0.076759
0.098081
0.153518
0.153518
0.153518
0.153518
0.153518
0.153518
0
0.025848
0.270047
848
51
61
16.627451
0.731826
0.132075
0
0
0
0
0.130496
0
0
0
0
0
0
1
0.25
false
0
0
0
0.285714
0.178571
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
ef2f4441013e1552c316e4ab80b77b6bb391a15f
380
py
Python
Stack/Easy/1021. Remove Outermost Parentheses/solution.py
tintindas/leetcode-solutions
eb97254dafddffccbce048ef04aea1e934277282
[ "MIT" ]
1
2021-03-10T02:48:39.000Z
2021-03-10T02:48:39.000Z
Stack/Easy/1021. Remove Outermost Parentheses/solution.py
tintindas/leetcode-solutions
eb97254dafddffccbce048ef04aea1e934277282
[ "MIT" ]
null
null
null
Stack/Easy/1021. Remove Outermost Parentheses/solution.py
tintindas/leetcode-solutions
eb97254dafddffccbce048ef04aea1e934277282
[ "MIT" ]
1
2021-03-18T08:22:29.000Z
2021-03-18T08:22:29.000Z
class Solution: def removeOuterParentheses(self, S: str) -> str: res = "" level = 0 start = 0 for i, c in enumerate(S): if c == "(": level += 1 if c == ")": level -= 1 if level == 0: res += S[start...
20
52
0.352632
40
380
3.35
0.475
0.089552
0.119403
0.134328
0.149254
0
0
0
0
0
0
0.039326
0.531579
380
18
53
21.111111
0.713483
0
0
0
0
0
0.005263
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
ef3248632c149bdcca0658e1b0d9ef3981502d8f
6,182
py
Python
tests/test_time.py
hyeontaek/exptools
7f895f80c739f5321844522a87588f849f989feb
[ "Apache-2.0" ]
null
null
null
tests/test_time.py
hyeontaek/exptools
7f895f80c739f5321844522a87588f849f989feb
[ "Apache-2.0" ]
null
null
null
tests/test_time.py
hyeontaek/exptools
7f895f80c739f5321844522a87588f849f989feb
[ "Apache-2.0" ]
null
null
null
import datetime import asynctest.mock import pytest from exptools.time import ( utcnow, localnow, as_local, as_utc, format_utc, format_utc_short, format_local, format_local_short, parse_utc, parse_local, diff_sec, format_sec, format_sec_fixed, format_sec_short, job_elapsed_time, format_job_count, fo...
32.031088
96
0.671142
1,013
6,182
3.876604
0.114511
0.155844
0.164248
0.101859
0.709957
0.597657
0.512605
0.421187
0.355233
0.319328
0
0.160658
0.174377
6,182
192
97
32.197917
0.608738
0
0
0.244604
0
0.014388
0.215464
0
0
0
0
0
0.431655
1
0.129496
false
0
0.028777
0.014388
0.179856
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
ef35dc8aa358d5606afe3be99713e1d988751134
1,875
py
Python
api/xl_fmt/formula_formatter.py
C-Canchola/texel
9ebb12cf38b78608394f44767f55236845f0f9bc
[ "MIT" ]
null
null
null
api/xl_fmt/formula_formatter.py
C-Canchola/texel
9ebb12cf38b78608394f44767f55236845f0f9bc
[ "MIT" ]
null
null
null
api/xl_fmt/formula_formatter.py
C-Canchola/texel
9ebb12cf38b78608394f44767f55236845f0f9bc
[ "MIT" ]
null
null
null
import xlwings as xw from ..xl_fmt import get_spaced_formula from ..types import sheet_types as txl_sht_types from ..decorators import stop_on_empty_first_cell _TYPED_FORMULA_FORMATTING_FUNCTIONS = {} def format_typed_sheet_formulas(sht: xw.Sheet, sht_type): """Formats the formulas of a typed sheet based of the ...
26.408451
102
0.735467
274
1,875
4.689781
0.313869
0.092607
0.068482
0.096498
0.279377
0.196887
0.116732
0.070039
0
0
0
0.001316
0.189333
1,875
70
103
26.785714
0.844079
0.206933
0
0.057143
0
0
0.001401
0
0
0
0
0
0
1
0.228571
false
0
0.114286
0.028571
0.457143
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
ef39c2b88a04379170b447c5fee614979c264154
1,771
py
Python
people/views.py
datalets/mri-connect
d54125be7d6adb3a11349487d7ad4ea1364ab338
[ "MIT" ]
null
null
null
people/views.py
datalets/mri-connect
d54125be7d6adb3a11349487d7ad4ea1364ab338
[ "MIT" ]
null
null
null
people/views.py
datalets/mri-connect
d54125be7d6adb3a11349487d7ad4ea1364ab338
[ "MIT" ]
1
2020-11-30T10:22:14.000Z
2020-11-30T10:22:14.000Z
from rest_framework import viewsets, filters, generics from django_filters.rest_framework import DjangoFilterBackend from .models import Person, Topic from .serializers import * class TopicViewSet(viewsets.ReadOnlyModelViewSet): pagination_class = None queryset = Topic.objects.all() serializer_class = To...
37.680851
86
0.738566
169
1,771
7.532544
0.378698
0.109976
0.070699
0.084839
0.355852
0.355852
0.355852
0.355852
0.355852
0.262372
0
0
0.149633
1,771
46
87
38.5
0.845286
0.128741
0
0.21875
0
0
0.124349
0
0
0
0
0
0
1
0
false
0
0.125
0
0.8125
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
ef40336dda6cf52f9b5738bf07389fe6f5a7b80d
592
py
Python
dcodex/migrations/0031_auto_20201124_0944.py
rbturnbull/dcodex
85ac729aa9d2cfd0540738efc7d2ce5913c97351
[ "Apache-2.0" ]
5
2020-12-19T18:21:56.000Z
2021-11-03T01:09:42.000Z
dcodex/migrations/0031_auto_20201124_0944.py
rbturnbull/dcodex
85ac729aa9d2cfd0540738efc7d2ce5913c97351
[ "Apache-2.0" ]
6
2021-04-04T12:08:27.000Z
2022-03-12T01:07:00.000Z
dcodex/migrations/0031_auto_20201124_0944.py
rbturnbull/dcodex
85ac729aa9d2cfd0540738efc7d2ce5913c97351
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.11 on 2020-11-23 22:44 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("imagedeck", "0009_auto_20201122_2300"), ("dcodex", "0030_auto_20201122_2300"), ] operations = [ mi...
24.666667
60
0.603041
60
592
5.8
0.666667
0.068966
0.08046
0.126437
0
0
0
0
0
0
0
0.113744
0.287162
592
23
61
25.73913
0.7109
0.077703
0
0.117647
1
0
0.198529
0.128676
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
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
ef4fc17c16f7dd6b481a540dab680632b1defd3d
2,531
py
Python
synapse/lib/session.py
larrycameron80/synapse
24bf21c40b4a467e5dc28c8204aecaf502d5cddf
[ "Apache-2.0" ]
null
null
null
synapse/lib/session.py
larrycameron80/synapse
24bf21c40b4a467e5dc28c8204aecaf502d5cddf
[ "Apache-2.0" ]
4
2017-10-03T21:50:40.000Z
2017-11-20T15:49:38.000Z
synapse/lib/session.py
larrycameron80/synapse
24bf21c40b4a467e5dc28c8204aecaf502d5cddf
[ "Apache-2.0" ]
null
null
null
import time import synapse.glob as s_glob import synapse.common as s_common import synapse.eventbus as s_eventbus import synapse.lib.config as s_config class Sess(s_eventbus.EventBus): ''' A synapse session to store prop/vals. ''' def __init__(self, iden, **props): s_eventbus.EventBus.__init_...
24.572816
97
0.549585
308
2,531
4.415584
0.301948
0.029412
0.024265
0.033088
0
0
0
0
0
0
0
0.003557
0.333465
2,531
102
98
24.813725
0.802608
0.242197
0
0
0
0
0.036458
0
0
0
0
0.019608
0
1
0.14
false
0
0.1
0.02
0.34
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ef5b4086a1a41660f7edb796420034ac6de0a929
262
py
Python
months.py
fatihwin-yt/a-Python-Tutorial-of-2021
7d2110f80efdfa79437bf64f8edcd08ec3d61926
[ "MIT" ]
1
2021-03-29T02:29:58.000Z
2021-03-29T02:29:58.000Z
months.py
fatihwin-yt/a-Python-Tutorial-of-2021
7d2110f80efdfa79437bf64f8edcd08ec3d61926
[ "MIT" ]
null
null
null
months.py
fatihwin-yt/a-Python-Tutorial-of-2021
7d2110f80efdfa79437bf64f8edcd08ec3d61926
[ "MIT" ]
1
2021-03-27T15:00:06.000Z
2021-03-27T15:00:06.000Z
which_one = int(input("What Months (1-12)?")) months = ['January' , 'February' , 'March' , 'April' , 'May' , 'June' , 'July' , 'August' , 'September' , 'October', 'November' , 'December'] if 1 <= which_one <= 12: print("Months " , months[which_one - 1])
52.4
142
0.576336
32
262
4.625
0.6875
0.162162
0
0
0
0
0
0
0
0
0
0.032864
0.187023
262
5
143
52.4
0.661972
0
0
0
0
0
0.3861
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ef600520af6ce0f6f7070cb1e325c13d9e0550c6
3,731
py
Python
tests/test_chainmap_stdlib.py
flaviut/op-hierarchical-chainmap
dcf8ff9850579afc79cb0ba8ac49d1548a662fbc
[ "Apache-2.0" ]
1
2021-12-10T22:31:25.000Z
2021-12-10T22:31:25.000Z
tests/test_chainmap_stdlib.py
flaviut/op-hierarchical-chainmap
dcf8ff9850579afc79cb0ba8ac49d1548a662fbc
[ "Apache-2.0" ]
null
null
null
tests/test_chainmap_stdlib.py
flaviut/op-hierarchical-chainmap
dcf8ff9850579afc79cb0ba8ac49d1548a662fbc
[ "Apache-2.0" ]
null
null
null
import copy import pickle import unittest from op_hierarchical_chainmap._ext import ChainMap class TestChainMap(unittest.TestCase): def test_basics(self): c = ChainMap() c['a'] = 1 c['b'] = 2 d = c.new_child() d['b'] = 20 d['c'] = 30 self.assertEqual(d.maps...
42.397727
97
0.491021
473
3,731
3.852008
0.251586
0.172887
0.105379
0.013172
0.425357
0.399012
0.39517
0.382547
0.37157
0.37157
0
0.038574
0.360761
3,731
87
98
42.885057
0.725367
0.129456
0
0.304348
0
0
0.022009
0
0
0
0
0
0.492754
1
0.057971
false
0
0.057971
0
0.130435
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
ef613052ca796f3ba63755550b99728a2ef83a91
3,207
py
Python
odoo-13.0/venv/lib/python3.8/site-packages/pbr/sphinxext.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
36
2019-04-23T03:53:46.000Z
2022-01-23T06:02:45.000Z
odoo-13.0/venv/lib/python3.8/site-packages/pbr/sphinxext.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
16
2019-03-01T18:17:31.000Z
2019-05-07T17:01:33.000Z
odoo-13.0/venv/lib/python3.8/site-packages/pbr/sphinxext.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
11
2019-05-03T17:33:06.000Z
2021-09-16T12:05:16.000Z
# Copyright 2018 Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
32.07
77
0.669161
445
3,207
4.719101
0.413483
0.034286
0.012381
0.015238
0.022857
0.022857
0
0
0
0
0
0.006211
0.24696
3,207
99
78
32.393939
0.863354
0.422825
0
0.108696
0
0
0.111794
0
0
0
0
0.020202
0
1
0.086957
false
0
0.086957
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3229b3bacb88140bff58506106f4c5226ac208c9
12,706
py
Python
search_server_example.py
mavlyutovrus/light_search
6b0d2d78de99820ca366c6c1bd8efce93a789100
[ "MIT" ]
null
null
null
search_server_example.py
mavlyutovrus/light_search
6b0d2d78de99820ca366c6c1bd8efce93a789100
[ "MIT" ]
null
null
null
search_server_example.py
mavlyutovrus/light_search
6b0d2d78de99820ca366c6c1bd8efce93a789100
[ "MIT" ]
null
null
null
#-*- coding:utf8 -*- import BaseHTTPServer import os import sys import socket from lib.crawler import TCrawler, LIB_SECTION_FIELD from lib.custom_fields_search_engine import TCustomFieldsSearchEngine #from lib.custom_fields_search_engine import TBook from lib.search_engine import TSearchEngine from lib.search_engine im...
47.588015
140
0.566189
1,332
12,706
5.068318
0.198198
0.020738
0.032736
0.03081
0.143534
0.067249
0.03555
0.010665
0
0
0
0.010205
0.33677
12,706
266
141
47.766917
0.79091
0.023768
0
0.057778
0
0.004444
0.117935
0.010944
0
0
0
0
0
0
null
null
0
0.053333
null
null
0.008889
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
3232c5430a35acfc7f17f2bf5c8ca17a8fbfcea2
613
py
Python
Operadores_Logicos.py
jonathan-JIPSlok/Aprendendo_Pandas
2a6a5a3b72b4a757078ba25b0b1f953b682bb62d
[ "MIT" ]
1
2021-09-16T23:12:55.000Z
2021-09-16T23:12:55.000Z
Operadores_Logicos.py
jonathan-JIPSlok/Aprendendo_Pandas
2a6a5a3b72b4a757078ba25b0b1f953b682bb62d
[ "MIT" ]
null
null
null
Operadores_Logicos.py
jonathan-JIPSlok/Aprendendo_Pandas
2a6a5a3b72b4a757078ba25b0b1f953b682bb62d
[ "MIT" ]
null
null
null
import pandas as pd import openpyxl df = pd.read_excel("Arquivo.xlsx", engine="openpyxl") print(df.loc[[True, False, False, True, True, True, False], [True, False, False]]) #Mostra apenas linhas e colunas que estão True na lista passada print() print(df.Nome == "Jonathan") #Retorna uma lista de True e False com True...
34.055556
146
0.719413
105
613
4.190476
0.438095
0.063636
0.081818
0.086364
0.222727
0.131818
0.131818
0.131818
0
0
0
0.011696
0.163132
613
17
147
36.058824
0.846004
0.469821
0
0.363636
0
0
0.103125
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.727273
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
3234e78dd608117e3978da41cf4edf1712a91da6
812
py
Python
report_builder_scheduled/migrations/0002_auto_20180413_0747.py
nazmizorlu/django-report-builder
0b37cd0c94af15531e487554c774a01dad3b5500
[ "BSD-3-Clause" ]
560
2015-01-05T07:14:50.000Z
2022-03-11T13:27:42.000Z
report_builder_scheduled/migrations/0002_auto_20180413_0747.py
nazmizorlu/django-report-builder
0b37cd0c94af15531e487554c774a01dad3b5500
[ "BSD-3-Clause" ]
189
2015-01-15T16:55:55.000Z
2020-10-29T07:36:51.000Z
report_builder_scheduled/migrations/0002_auto_20180413_0747.py
nazmizorlu/django-report-builder
0b37cd0c94af15531e487554c774a01dad3b5500
[ "BSD-3-Clause" ]
235
2015-01-10T16:56:17.000Z
2022-03-29T15:57:03.000Z
# Generated by Django 2.0.4 on 2018-04-13 07:47 from django.conf import settings from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('report_builder_scheduled', '0001_initial'), ] operations = [ migrations.AlterF...
30.074074
154
0.653941
91
812
5.659341
0.648352
0.038835
0.073786
0.112621
0.186408
0.186408
0
0
0
0
0
0.030794
0.240148
812
26
155
31.230769
0.80389
0.055419
0
0.3
1
0
0.145098
0.031373
0
0
0
0
0
1
0
false
0
0.15
0
0.3
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
32392834fb220f10810eaaf9fa94f8b678bc190f
1,405
py
Python
chipy8/tests/test_arch.py
henriquebastos/chipy8
0f982b1bb713b8255bc47f7b7fdeaca5e6573902
[ "BSD-4-Clause" ]
6
2015-05-26T01:14:09.000Z
2020-12-30T04:46:25.000Z
chipy8/tests/test_arch.py
henriquebastos/chipy8
0f982b1bb713b8255bc47f7b7fdeaca5e6573902
[ "BSD-4-Clause" ]
null
null
null
chipy8/tests/test_arch.py
henriquebastos/chipy8
0f982b1bb713b8255bc47f7b7fdeaca5e6573902
[ "BSD-4-Clause" ]
3
2016-03-21T22:45:44.000Z
2020-07-13T18:34:20.000Z
# coding: UTF-8 from unittest import TestCase from chipy8.chip8 import Chip8 class TestChip8Architecture(TestCase): def setUp(self): self.cpu = Chip8() def test_memory_length(self): 'Chip8 has 4096 bytes of memory.' self.assertEqual(4096, len(self.cpu.memory)) def test_register_c...
31.222222
74
0.669751
198
1,405
4.656566
0.333333
0.075922
0.117137
0.084599
0.172451
0.058568
0
0
0
0
0
0.053023
0.234875
1,405
44
75
31.931818
0.804651
0.279004
0
0
0
0
0.265468
0
0
0
0.007194
0
0.28125
1
0.3125
false
0
0.0625
0
0.40625
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
323b67517d32f42772cea2fa5685cb0652515edc
2,727
py
Python
bot_survey.py
julianweng/chatbot-eval
5df9f7af75bc0a7f0bb94fd6ef4c94fcd7856e29
[ "Apache-2.0" ]
null
null
null
bot_survey.py
julianweng/chatbot-eval
5df9f7af75bc0a7f0bb94fd6ef4c94fcd7856e29
[ "Apache-2.0" ]
null
null
null
bot_survey.py
julianweng/chatbot-eval
5df9f7af75bc0a7f0bb94fd6ef4c94fcd7856e29
[ "Apache-2.0" ]
null
null
null
import pandas as pd import streamlit as st import random from datetime import datetime @st.cache def load_data(): df = pd.read_csv("data/rated_answers.csv") return df df = load_data() st.title('Bot Survey') votes = pd.read_csv("data/votes.csv") answer = '-' if 'count' not in st.session_state: st.session_s...
38.408451
125
0.658232
423
2,727
4.12766
0.245863
0.106529
0.114548
0.19244
0.453036
0.407216
0.407216
0.393471
0.344788
0.264605
0
0.029122
0.143748
2,727
71
126
38.408451
0.71863
0.27026
0
0.038462
0
0
0.211325
0.011122
0
0
0
0
0
1
0.019231
false
0
0.076923
0
0.115385
0.096154
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
323f71e0b613a7ff84d96a5c022e53497f75ec67
1,587
py
Python
tests/extensions/test_drawdown.py
investingsnippets/pyinvestingsnippets
2b50e8f08eb137dc06a3314e82b85d7120a5fa4b
[ "MIT" ]
null
null
null
tests/extensions/test_drawdown.py
investingsnippets/pyinvestingsnippets
2b50e8f08eb137dc06a3314e82b85d7120a5fa4b
[ "MIT" ]
6
2021-09-05T11:45:13.000Z
2021-12-12T08:51:10.000Z
tests/extensions/test_drawdown.py
investingsnippets/pyinvestingsnippets
2b50e8f08eb137dc06a3314e82b85d7120a5fa4b
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from datetime import datetime, timedelta def test_drawdown_and_returns_series(): index_range = pd.date_range(start=datetime(2000, 1, 1), periods=4, freq='AS-JAN') wealth_index = pd.Series(data=[0.4, 0.3, 0.2, 0.5], index=index_range) dd = wealth_index.drawdown as...
41.763158
100
0.701953
259
1,587
4.146718
0.227799
0.083799
0.013966
0.014898
0.427374
0.40689
0.40689
0.272812
0.272812
0.272812
0
0.094144
0.149968
1,587
37
101
42.891892
0.702001
0
0
0.129032
0
0
0.073724
0
0
0
0
0
0.516129
1
0.096774
false
0
0.096774
0
0.193548
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
32422fa01a49a409d2e6584222c6a5578914f7cc
7,184
py
Python
ceiltail.py
srsakhamuri/ceilometer-tools
842040758e1fa4f48c7aaba1a7491941e5aa1205
[ "Apache-2.0" ]
null
null
null
ceiltail.py
srsakhamuri/ceilometer-tools
842040758e1fa4f48c7aaba1a7491941e5aa1205
[ "Apache-2.0" ]
null
null
null
ceiltail.py
srsakhamuri/ceilometer-tools
842040758e1fa4f48c7aaba1a7491941e5aa1205
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python -u # Debug # 1 - print interesting stuff # 2 - print counters as written to stats file # 4 - print lines as read from log # 8 - cat vs tail logfile and when done exist, sleeping 0.01 secs # between samples # source /opt/stack/venvs/openstack/bin/activate # the api log is an apache log and ...
26.607407
89
0.607879
984
7,184
4.420732
0.323171
0.016092
0.022069
0.016552
0.125287
0.09977
0.077701
0.058851
0.058851
0.058851
0
0.013453
0.255011
7,184
269
90
26.70632
0.799327
0.224388
0
0.272727
0
0
0.164497
0.055495
0
0
0
0
0
0
null
null
0
0.053476
null
null
0.058824
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
324abc5318060b7e8ba929fbc9578f21ae3b9dca
1,903
py
Python
pyinfra/operations/pkgin.py
themanifold/pyinfra
5b2eef0b22fa6b1750d595d7eb3e258ce350a693
[ "MIT" ]
1
2021-09-25T09:21:37.000Z
2021-09-25T09:21:37.000Z
pyinfra/operations/pkgin.py
themanifold/pyinfra
5b2eef0b22fa6b1750d595d7eb3e258ce350a693
[ "MIT" ]
null
null
null
pyinfra/operations/pkgin.py
themanifold/pyinfra
5b2eef0b22fa6b1750d595d7eb3e258ce350a693
[ "MIT" ]
null
null
null
''' Manage pkgin packages. ''' from pyinfra.api import operation from pyinfra.facts.pkgin import PkginPackages from .util.packaging import ensure_packages @operation def upgrade(state=None, host=None): ''' Upgrades all pkgin packages. ''' yield 'pkgin -y upgrade' _upgrade = upgrade # noqa: E305 ...
23.207317
73
0.635313
222
1,903
5.400901
0.382883
0.054212
0.032527
0.042535
0
0
0
0
0
0
0
0.007138
0.263794
1,903
81
74
23.493827
0.84868
0.475565
0
0.107143
0
0
0.090069
0
0
0
0
0.012346
0
1
0.107143
false
0
0.107143
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
324b1db474537a498a3882333ffcf407000ee6f8
1,392
py
Python
2020/day04/part02.py
sysboy/aoc
536fc6eb46c2f0a677253de1ff9bc30c9f2f875b
[ "MIT" ]
1
2020-12-02T08:33:16.000Z
2020-12-02T08:33:16.000Z
2020/day04/part02.py
sysboy/aoc
536fc6eb46c2f0a677253de1ff9bc30c9f2f875b
[ "MIT" ]
null
null
null
2020/day04/part02.py
sysboy/aoc
536fc6eb46c2f0a677253de1ff9bc30c9f2f875b
[ "MIT" ]
1
2020-12-07T12:43:51.000Z
2020-12-07T12:43:51.000Z
#!/usr/bin/env python3 import re import sys import pprint PASSPORTS = [] with open('tidy.data') as fd: for line in fd: codes = re.findall(r'(\w+):(\S+)', line[:-1]) PASSPORTS.append({c[0]: c[1] for c in codes}) def check(passport): try: byr = int(pp['byr']) if byr < 1920 or by...
22.095238
72
0.453305
197
1,392
3.203046
0.441624
0.110935
0
0
0
0
0
0
0
0
0
0.069378
0.399425
1,392
62
73
22.451613
0.685407
0.052443
0
0.212766
0
0
0.071483
0
0
0
0
0
0
1
0.021277
false
0.085106
0.06383
0
0.319149
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
0
0
0
1
0
0
0
0
0
1
324b4005188541e5e67d831ec3eb99b616fb819c
808
py
Python
molo/surveys/migrations/0022_questionpaginationmixin.py
praekelt/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
null
null
null
molo/surveys/migrations/0022_questionpaginationmixin.py
praekelt/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
88
2016-06-14T18:36:18.000Z
2018-09-21T07:33:58.000Z
molo/surveys/migrations/0022_questionpaginationmixin.py
praekeltfoundation/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
1
2017-10-02T09:27:45.000Z
2017-10-02T09:27:45.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2017-11-22 15:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('surveys', '0021_surveyresponserule'), ] operations = [ migrations.AddField(...
31.076923
132
0.65099
91
808
5.648352
0.571429
0.070039
0.089494
0.105058
0.424125
0.424125
0.424125
0.424125
0.424125
0.424125
0
0.034711
0.251238
808
25
133
32.32
0.814876
0.084158
0
0.444444
1
0
0.309362
0.070556
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
324c1010fbf9856be87ecb3fe493f225b6085074
1,396
py
Python
dmutils/email/user_account_email.py
ramya-chan/digitalmarketplace-utils
63bcdda22d89c19dcdda3844db34a0dbd9a7cb40
[ "MIT" ]
3
2015-07-24T21:23:36.000Z
2020-11-28T03:42:16.000Z
dmutils/email/user_account_email.py
ramya-chan/digitalmarketplace-utils
63bcdda22d89c19dcdda3844db34a0dbd9a7cb40
[ "MIT" ]
350
2015-05-05T09:24:39.000Z
2021-07-27T15:02:35.000Z
dmutils/email/user_account_email.py
ramya-chan/digitalmarketplace-utils
63bcdda22d89c19dcdda3844db34a0dbd9a7cb40
[ "MIT" ]
16
2015-06-13T15:37:13.000Z
2021-04-10T18:03:18.000Z
from warnings import warn from flask import current_app, session, abort, url_for from . import DMNotifyClient, generate_token, EmailError from .helpers import hash_string def send_user_account_email(role, email_address, template_name_or_id, extra_token_data={}, personalisation={}): notify_client = DMNotifyClient...
33.238095
111
0.696275
165
1,396
5.509091
0.381818
0.079208
0.046205
0.052805
0.061606
0.061606
0
0
0
0
0
0.002742
0.216332
1,396
41
112
34.04878
0.828154
0
0
0
1
0
0.157593
0.045845
0
0
0
0
0
1
0.030303
false
0
0.121212
0
0.151515
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
32606e926d34bcdec145a4d0848ce4631c9f6737
623
py
Python
tests/utils/test_PCA_with_scaling.py
gagneurlab/gfeat
a5ddb081567253ee2d6046485f81941bebb1f0f9
[ "MIT" ]
2
2018-09-28T21:30:07.000Z
2020-06-09T15:54:24.000Z
tests/utils/test_PCA_with_scaling.py
gagneurlab/gfeat
a5ddb081567253ee2d6046485f81941bebb1f0f9
[ "MIT" ]
1
2021-11-15T17:47:48.000Z
2021-11-15T17:47:48.000Z
tests/utils/test_PCA_with_scaling.py
gagneurlab/gfeat
a5ddb081567253ee2d6046485f81941bebb1f0f9
[ "MIT" ]
null
null
null
""" Test PCA_with_scaling """ from gfeat.utils import PCA_with_standard_sample_deviation_scaling import numpy as np import pandas as pd import numpy.testing as npt def test_get_codon_pairs_count(): matrix = np.array([[62, 68, 5], [24, 94, 93], [96, 223, 23], [5, 9, 44]]) df = pd.DataFrame(matrix) res = P...
31.15
77
0.617978
86
623
4.255814
0.593023
0.057377
0.081967
0.114754
0.202186
0.202186
0
0
0
0
0
0.2
0.253612
623
19
78
32.789474
0.587097
0.033708
0
0
0
0
0
0
0
0
0
0
0.076923
1
0.076923
false
0
0.307692
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3261e5be4305037070c23cdd19459f458e533629
2,817
py
Python
tests/fluxes/test_filters.py
danmichaeljones/blendz
215e73ccd6471f9125b4bba57ad059b5d400344c
[ "MIT" ]
6
2018-08-09T06:08:24.000Z
2020-03-11T16:59:49.000Z
tests/fluxes/test_filters.py
danmichaeljones/blendz
215e73ccd6471f9125b4bba57ad059b5d400344c
[ "MIT" ]
null
null
null
tests/fluxes/test_filters.py
danmichaeljones/blendz
215e73ccd6471f9125b4bba57ad059b5d400344c
[ "MIT" ]
1
2020-11-05T20:39:59.000Z
2020-11-05T20:39:59.000Z
from builtins import * from os.path import join import pytest import blendz class TestFilters(object): def loadFilters(self): data_path = join(blendz.RESOURCE_PATH, 'config/testDataConfig.txt') run_path = join(blendz.RESOURCE_PATH, 'config/testRunConfig.txt') test_config = blendz.config.Co...
33.141176
84
0.640753
311
2,817
5.678457
0.157556
0.084938
0.1359
0.220838
0.691393
0.691393
0.642695
0.556625
0.410532
0.410532
0
0.008604
0.257366
2,817
84
85
33.535714
0.835564
0
0
0.422535
0
0
0.021654
0.017394
0
0
0
0
0.014085
1
0.169014
false
0
0.056338
0
0.253521
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
32677a33b854f67b8b26d80019db215e3c088f98
285
py
Python
setup.py
dselsam/lean_proof_recording
bbae0e08609f56f4203b48ef21277d9fc509c34d
[ "Apache-2.0" ]
7
2020-10-12T20:09:07.000Z
2022-03-14T14:09:07.000Z
setup.py
dselsam/lean_proof_recording
bbae0e08609f56f4203b48ef21277d9fc509c34d
[ "Apache-2.0" ]
1
2021-09-30T02:35:27.000Z
2021-09-30T10:11:27.000Z
setup.py
dselsam/lean_proof_recording
bbae0e08609f56f4203b48ef21277d9fc509c34d
[ "Apache-2.0" ]
3
2022-01-12T19:39:38.000Z
2022-03-28T10:15:38.000Z
#!/usr/bin/env python3 from setuptools import find_packages, setup setup( name="lean_proof_recording", version="0.0.1", packages=find_packages(), package_data={}, install_requires=[ "mpmath", "pandas", "jsonlines", "tqdm", ], )
17.8125
43
0.585965
30
285
5.366667
0.833333
0.149068
0
0
0
0
0
0
0
0
0
0.019139
0.266667
285
15
44
19
0.751196
0.073684
0
0
0
0
0.190114
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
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
32691be662d7ae09e52613077c86ea5a96b6bead
382
py
Python
app/tempBerry/smarthome/urls.py
ChristianKreuzberger/tempBerry
d4a9fe543df57ebdb82d6ebf398607ccf9e6c0bf
[ "MIT" ]
2
2019-07-16T19:09:50.000Z
2020-01-03T09:06:46.000Z
app/tempBerry/smarthome/urls.py
ChristianKreuzberger/tempBerry
d4a9fe543df57ebdb82d6ebf398607ccf9e6c0bf
[ "MIT" ]
null
null
null
app/tempBerry/smarthome/urls.py
ChristianKreuzberger/tempBerry
d4a9fe543df57ebdb82d6ebf398607ccf9e6c0bf
[ "MIT" ]
1
2020-02-09T22:46:05.000Z
2020-02-09T22:46:05.000Z
from django.conf.urls import url, include from rest_framework import routers from tempBerry.smarthome.rest.viewsets import RoomDataViewSet # initiate router and register all endpoints router = routers.DefaultRouter() router.register('rooms', RoomDataViewSet, 'rooms') app_name = 'smarthome' # Wire up our API with ou...
23.875
61
0.769634
49
382
5.959184
0.632653
0
0
0
0
0
0
0
0
0
0
0
0.133508
382
15
62
25.466667
0.882175
0.188482
0
0
0
0
0.065147
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
326b296211df456ef3f5476f094a142f256188d6
4,621
py
Python
Desktop/packages/rmnetwork/tcpfileclient.py
peter9teufel/raspmedia
037eb9ef4bd700ec3bce00987db5f9355b52346a
[ "Apache-2.0" ]
29
2015-01-03T01:05:04.000Z
2021-10-04T22:42:37.000Z
Desktop/packages/rmnetwork/tcpfileclient.py
peter9teufel/raspmedia
037eb9ef4bd700ec3bce00987db5f9355b52346a
[ "Apache-2.0" ]
6
2015-01-03T01:12:18.000Z
2016-08-09T04:35:52.000Z
Desktop/packages/rmnetwork/tcpfileclient.py
peter9teufel/raspmedia
037eb9ef4bd700ec3bce00987db5f9355b52346a
[ "Apache-2.0" ]
12
2015-01-03T03:48:18.000Z
2019-08-20T09:23:09.000Z
# -*- coding: utf-8 -*- import socket import sys, os, platform, re from constants import * import wx import messages from packages.lang.Localizer import * if platform.system() == "Linux": from wx.lib.pubsub import setupkwargs from wx.lib.pubsub import pub as Publisher else: from wx.lib.pubsub import pub as ...
26.866279
111
0.698117
626
4,621
5.110224
0.266773
0.028446
0.031885
0.014067
0.25508
0.143482
0.125977
0.125977
0.104095
0.059081
0
0.01748
0.170526
4,621
171
112
27.023392
0.816854
0.079204
0
0.25
0
0
0.02454
0
0
0
0.004719
0
0
0
null
null
0
0.068182
null
null
0.007576
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
32791885e5f713ac0b317ee967ded79c2a623ce8
2,852
py
Python
Example3/rtwtypes.py
AutomotiveDevOps/python_SimulinkDLL
40c6d98b66712ccd34ee5a086a4132ac96838592
[ "BSD-3-Clause" ]
null
null
null
Example3/rtwtypes.py
AutomotiveDevOps/python_SimulinkDLL
40c6d98b66712ccd34ee5a086a4132ac96838592
[ "BSD-3-Clause" ]
null
null
null
Example3/rtwtypes.py
AutomotiveDevOps/python_SimulinkDLL
40c6d98b66712ccd34ee5a086a4132ac96838592
[ "BSD-3-Clause" ]
null
null
null
import ctypes """ /*=======================================================================* * Fixed width word size data types: * * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers * * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers ...
27.161905
80
0.456522
302
2,852
3.940397
0.231788
0.182353
0.134454
0.203361
0.252101
0.030252
0
0
0
0
0
0.048403
0.275596
2,852
105
81
27.161905
0.52759
0
0
0.144737
0
0
0.025552
0
0
0
0
0
0
1
0
false
0
0.013158
0
0.302632
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
32816b9b93825719f674371a267f50f6a445eacc
958
py
Python
AI-Bootcamp-Demo/score.py
alexandergg/Deep-Learning-with-Mask-R-CNN-and-Azure
6de6bdb783e7aff73e22ad85030ae80792e09c15
[ "MIT" ]
null
null
null
AI-Bootcamp-Demo/score.py
alexandergg/Deep-Learning-with-Mask-R-CNN-and-Azure
6de6bdb783e7aff73e22ad85030ae80792e09c15
[ "MIT" ]
9
2020-09-26T00:42:01.000Z
2022-03-12T00:16:01.000Z
AI-Bootcamp-Demo/score.py
alexandergg/Deep-Learning-with-Mask-R-CNN-and-Azure
6de6bdb783e7aff73e22ad85030ae80792e09c15
[ "MIT" ]
1
2021-03-13T16:16:36.000Z
2021-03-13T16:16:36.000Z
import os, json, base64, cv2, glob import numpy as np import matplotlib.pyplot as plt from coco import CocoConfig from Mask.config import Config import Mask.utils as utils import Mask.model as modellib import Mask.visualize as visualize from convert_file import load_image def init(): np.set_printoptions(threshold=...
28.176471
85
0.687891
134
958
4.80597
0.589552
0.046584
0
0
0
0
0
0
0
0
0
0.01457
0.2119
958
34
86
28.176471
0.838411
0.055324
0
0
0
0
0.084071
0.035398
0
0
0
0
0
1
0.074074
false
0
0.333333
0
0.444444
0.074074
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
32893b547baaf5bc44b45ba111bec480810409c3
880
py
Python
liaoxuefeng.com/020-ReturnFunction.py
snownothing/Python
9b9e909b66db1c1eccfa41225919acdcd59ab4e3
[ "MIT" ]
null
null
null
liaoxuefeng.com/020-ReturnFunction.py
snownothing/Python
9b9e909b66db1c1eccfa41225919acdcd59ab4e3
[ "MIT" ]
null
null
null
liaoxuefeng.com/020-ReturnFunction.py
snownothing/Python
9b9e909b66db1c1eccfa41225919acdcd59ab4e3
[ "MIT" ]
null
null
null
# !/usr/bin/env python # coding: utf-8 def calc_sum(*args): ax = 0 for n in args: ax = ax + ne return ax def lazy_sum(*args): def sum(): ax = 0 for n in args: ax = ax + n return ax return sum f = lazy_sum(1, 3, 5, 7, 9) print f() f2 = lazy_sum(1, 3, 5,...
15.714286
46
0.5125
134
880
3.335821
0.335821
0.040268
0.026846
0.03132
0.465324
0.465324
0.465324
0.465324
0.389262
0.389262
0
0.05477
0.356818
880
55
47
16
0.734982
0.167045
0
0.55
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
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
328d9159b03d3645cf92e50d56207950cf75dff5
495
py
Python
app/core/migrations/0007_auto_20200521_0820.py
crocodundee/poll-api-app
dceaddeb4fe579024211ce3ba25ca7ffd6c5226f
[ "MIT" ]
null
null
null
app/core/migrations/0007_auto_20200521_0820.py
crocodundee/poll-api-app
dceaddeb4fe579024211ce3ba25ca7ffd6c5226f
[ "MIT" ]
null
null
null
app/core/migrations/0007_auto_20200521_0820.py
crocodundee/poll-api-app
dceaddeb4fe579024211ce3ba25ca7ffd6c5226f
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2020-05-21 08:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0006_auto_20200516_1245'), ] operations = [ migrations.RemoveField( model_name='answer', name='user', ...
21.521739
61
0.567677
52
495
5.269231
0.75
0.065693
0.109489
0.138686
0.167883
0
0
0
0
0
0
0.097345
0.315152
495
22
62
22.5
0.710914
0.092929
0
0.25
1
0
0.111857
0.051454
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
328f1c838b0e9fdd230fc4e234e9099336ad027d
1,469
py
Python
iptvtools/constants/helps.py
haleez/iptvtools
9d6478fb88e92dd32b2e0831c8f43f4916c3f036
[ "MIT" ]
2
2020-02-15T05:55:43.000Z
2020-02-15T05:55:45.000Z
iptvtools/constants/helps.py
haleez/iptvtools
9d6478fb88e92dd32b2e0831c8f43f4916c3f036
[ "MIT" ]
null
null
null
iptvtools/constants/helps.py
haleez/iptvtools
9d6478fb88e92dd32b2e0831c8f43f4916c3f036
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ File: constants.py Author: huxuan Email: i(at)huxuan.org Description: Helps for iptvtools. """ from . import defaults CONFIG = ( f'Configuration file to unify title and id information, defaults to ' f'`{defaults.CONFIG}`' ) INPUT = ( f'Input playlist file/u...
31.934783
79
0.706603
204
1,469
5.058824
0.485294
0.077519
0.042636
0.073643
0.05814
0
0
0
0
0
0
0.001669
0.184479
1,469
45
80
32.644444
0.859766
0.090538
0
0
0
0
0.764883
0.048983
0
0
0
0
0
1
0
false
0
0.027778
0
0.027778
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
3298d8b083d74be5c9ab7fc0d1029e19c6ac15be
1,303
py
Python
profesionales/urls.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
6
2020-03-16T02:51:16.000Z
2020-11-10T00:58:01.000Z
profesionales/urls.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
204
2019-09-19T02:00:57.000Z
2022-02-10T10:48:52.000Z
profesionales/urls.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
3
2019-09-16T22:59:24.000Z
2022-03-21T22:52:44.000Z
from django.conf.urls import url, include from django.urls import path from .views import ( TableroProfesionalesPorEspecialidadView, # revisar campos TableroProfesionalesPorLocalidadView, ProfesionalHome, ProfesionalListView, ProfesionalCreateView, ProfesionalDetailView, ProfesionalUpdateVie...
25.54902
58
0.633154
106
1,303
7.698113
0.377358
0.051471
0.085784
0.197304
0.080882
0.080882
0
0
0
0
0
0
0.247122
1,303
50
59
26.06
0.831804
0.149655
0
0.268293
0
0
0.227975
0.112625
0
0
0
0
0
1
0
false
0
0.073171
0
0.073171
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
329bd44dcbc7539f223a1694d9f253dc1d6d4dcc
411
py
Python
mywebsite/blog/migrations/0003_auto_20180520_0712.py
EdmengDeXu/My-personal-website
70d90e185e4803bd99598f6cb6d6dc6b09e55331
[ "Apache-2.0" ]
null
null
null
mywebsite/blog/migrations/0003_auto_20180520_0712.py
EdmengDeXu/My-personal-website
70d90e185e4803bd99598f6cb6d6dc6b09e55331
[ "Apache-2.0" ]
null
null
null
mywebsite/blog/migrations/0003_auto_20180520_0712.py
EdmengDeXu/My-personal-website
70d90e185e4803bd99598f6cb6d6dc6b09e55331
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-20 07:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20180520_0702'), ] operations = [ migrations.AlterField( model_name='blog', name='image', ...
21.631579
81
0.600973
45
411
5.377778
0.822222
0
0
0
0
0
0
0
0
0
0
0.103679
0.272506
411
18
82
22.833333
0.705686
0.109489
0
0
1
0
0.151099
0.063187
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
329c6f4f0dec5bd45fbc6084d8a954fb900ea8db
442
py
Python
exercises/app.py
simon19-meet/y2s18-flask
e412d33567ac290998fa0cc96e996d9c3dc5e30b
[ "MIT" ]
null
null
null
exercises/app.py
simon19-meet/y2s18-flask
e412d33567ac290998fa0cc96e996d9c3dc5e30b
[ "MIT" ]
null
null
null
exercises/app.py
simon19-meet/y2s18-flask
e412d33567ac290998fa0cc96e996d9c3dc5e30b
[ "MIT" ]
null
null
null
from flask import Flask, render_template app = Flask(__name__) @app.route('/') def home_page(): likes_same_sport=False arr=["Messi","Neymar","Ter Stegen","Cavani","Griezman","Pogba"] if likes_same_sport: return render_template("index.html", player_list=arr,likes_same_sport=likes_same_sport) re...
29.466667
95
0.730769
62
442
4.741935
0.532258
0.183673
0.285714
0.136054
0.435374
0.435374
0.292517
0.292517
0
0
0
0
0.131222
442
14
96
31.571429
0.765625
0
0
0
0
0
0.156109
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.363636
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
329cd02102a37d9ab388ab966ca285b0eaa5f9da
4,777
py
Python
core/pycopia/inet/mailaliases.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
89
2015-03-26T11:25:20.000Z
2022-01-12T06:25:14.000Z
core/pycopia/inet/mailaliases.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
1
2015-07-05T03:27:43.000Z
2015-07-11T06:21:20.000Z
core/pycopia/inet/mailaliases.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
30
2015-04-30T01:35:54.000Z
2022-01-12T06:19:49.000Z
#!/usr/bin/python2.7 # -*- coding: utf-8 -*- # vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab # 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 ...
27.454023
74
0.566883
581
4,777
4.540448
0.290878
0.023882
0.022745
0.030326
0.166793
0.141774
0.108795
0.081501
0.081501
0.063685
0
0.00395
0.311074
4,777
173
75
27.612717
0.79763
0.127486
0
0.230159
0
0
0.03816
0
0
0
0
0
0
0
null
null
0
0.015873
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
32a1be66d9b70396f4d0bd6e007fe41b007c4794
10,679
py
Python
app.py
jsaji/bored-web-app
75fb8fa721a9445dda95e2c70005a08c4f6667d5
[ "MIT" ]
null
null
null
app.py
jsaji/bored-web-app
75fb8fa721a9445dda95e2c70005a08c4f6667d5
[ "MIT" ]
null
null
null
app.py
jsaji/bored-web-app
75fb8fa721a9445dda95e2c70005a08c4f6667d5
[ "MIT" ]
null
null
null
""" app.py - provides the endpoints for consuming and producing the web app """ import requests from flask import Flask, render_template, request, jsonify, session from models import Activity, User, UserActivity, db from sqlalchemy import exc from flask_session import Session # Intialises the app web_app = Flask(__...
41.073077
144
0.616912
1,381
10,679
4.648805
0.176684
0.038941
0.019626
0.025234
0.403427
0.344548
0.315888
0.304984
0.299688
0.286293
0
0.000916
0.284577
10,679
259
145
41.23166
0.839398
0.257421
0
0.41573
0
0
0.14651
0.005625
0
0
0
0
0
1
0.05618
false
0.061798
0.02809
0
0.219101
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
32a3ba4796d20c77de01f557a503f7744800f2e3
586
py
Python
agents/alphazero.py
kxvrh/GomokuAI
33d763c6aa556924decdffeef5386f874da8b95f
[ "MIT" ]
4
2018-09-25T14:15:26.000Z
2020-06-29T16:05:54.000Z
agents/alphazero.py
kxvrh/GomokuAI
33d763c6aa556924decdffeef5386f874da8b95f
[ "MIT" ]
null
null
null
agents/alphazero.py
kxvrh/GomokuAI
33d763c6aa556924decdffeef5386f874da8b95f
[ "MIT" ]
2
2018-09-25T14:14:24.000Z
2019-03-31T09:19:08.000Z
from core import Policy from .mcts import MCTSAgent def PyConvNetAgent(network, c_puct, **constraint): return MCTSAgent( policy=Policy(eval_state=network.eval_state, c_puct=c_puct), **constraint ) def AlphaZeroAgent(**constraint): pass def main(): from .utils import botzone_interfa...
21.703704
68
0.720137
68
586
5.926471
0.426471
0.037221
0.074442
0
0
0
0
0
0
0
0
0
0.191126
586
26
69
22.538462
0.850211
0
0
0
0
0
0.044369
0
0
0
0
0
0
1
0.166667
false
0.055556
0.277778
0.055556
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
1
0
0
0
0
0
1
32b6c61c7d57f8b452bea2844d05168a6665581c
1,765
py
Python
data_structures.py
hamolicious/OBJ-File-Renderer
bee89ec0732f380dc64fd9de3cf2130235344017
[ "Apache-2.0" ]
3
2020-03-26T08:23:41.000Z
2022-03-24T16:12:17.000Z
data_structures.py
hamolicious/OBJ-File-Renderer
bee89ec0732f380dc64fd9de3cf2130235344017
[ "Apache-2.0" ]
null
null
null
data_structures.py
hamolicious/OBJ-File-Renderer
bee89ec0732f380dc64fd9de3cf2130235344017
[ "Apache-2.0" ]
null
null
null
from math import sin, cos, sqrt class Vector(): def __init__(self, x, y, z): if str in [type(x), type(y), type(z)]: print('\n', x,y,z) raise ValueError('Can only be numerical values') self.x = x self.y = y self.z = z self.texture = Non...
29.416667
76
0.46289
284
1,765
2.81338
0.161972
0.131414
0.052566
0.075094
0.623279
0.593242
0.558198
0.397998
0.292866
0.292866
0
0.016479
0.346742
1,765
59
77
29.915254
0.676496
0
0
0.139535
0
0
0.017595
0
0
0
0
0
0
1
0.255814
false
0
0.023256
0.093023
0.395349
0.023256
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
32ba3321cd61d1ba613798e31728aa9ae9bac111
6,940
py
Python
Vec3.py
archibate/pymath
be80cfc443cf305eb23f57f588721a7147e3a75f
[ "MIT" ]
null
null
null
Vec3.py
archibate/pymath
be80cfc443cf305eb23f57f588721a7147e3a75f
[ "MIT" ]
null
null
null
Vec3.py
archibate/pymath
be80cfc443cf305eb23f57f588721a7147e3a75f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import operator import math class Vec3: ''' a simple 3D vector, contains (x, y, z) coordinate. ''' __slots__ = ['x', 'y', 'z'] def __init__(self, x=(0, 0, 0), y=None, z=None): ''' initialization of Vec3 with a tuple provided in x, or ...
28.916667
86
0.505187
898
6,940
3.589087
0.178174
0.093081
0.040956
0.027924
0.400558
0.328266
0.236736
0.188334
0.188334
0.188334
0
0.018257
0.376513
6,940
239
87
29.037657
0.7266
0.180692
0
0.269504
0
0
0.023475
0
0
0
0
0
0
1
0.163121
false
0
0.014184
0
0.588652
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
32be6448b6dfe753ff1ca3abc029560bb8728854
4,505
py
Python
coinmetrics/utils/pipelines.py
adidonato/blockchain-python-tools
eb44653a4fd5c21046c20592da08137bec4622a1
[ "MIT" ]
null
null
null
coinmetrics/utils/pipelines.py
adidonato/blockchain-python-tools
eb44653a4fd5c21046c20592da08137bec4622a1
[ "MIT" ]
null
null
null
coinmetrics/utils/pipelines.py
adidonato/blockchain-python-tools
eb44653a4fd5c21046c20592da08137bec4622a1
[ "MIT" ]
null
null
null
import concurrent.futures import traceback import threading import time from datetime import datetime from event import EventEmitter class AtomicCounter(object): def __init__(self, value): self.value = value self.lock = threading.Lock() def inc(self): with self.lock: self.value += 1 def get(self): ret...
25.308989
117
0.738513
528
4,505
6.223485
0.219697
0.019477
0.023737
0.031041
0.155813
0.099209
0.04504
0
0
0
0
0.003932
0.153163
4,505
177
118
25.451977
0.857405
0
0
0.165414
0
0
0.022642
0
0
0
0
0
0
0
null
null
0
0.045113
null
null
0.045113
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
32c51a26376631823530c24656ca9edddb93ef0f
9,334
py
Python
controller_node/IPMINodeOperator.py
tsm55555/NCU-HASS
f98d6d82a86b172f99bb0f088dd73c7bed2a7de8
[ "BSD-3-Clause" ]
1
2022-03-11T00:32:33.000Z
2022-03-11T00:32:33.000Z
controller_node/IPMINodeOperator.py
tsm55555/NCU-HASS
f98d6d82a86b172f99bb0f088dd73c7bed2a7de8
[ "BSD-3-Clause" ]
null
null
null
controller_node/IPMINodeOperator.py
tsm55555/NCU-HASS
f98d6d82a86b172f99bb0f088dd73c7bed2a7de8
[ "BSD-3-Clause" ]
1
2022-01-04T11:55:10.000Z
2022-01-04T11:55:10.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- ######################################################### #Copyright (c) 2020-present, drliang219 #All rights reserved. # #This source code is licensed under the BSD-style license found in the #LICENSE file in the root directory of this source tree. ###########################...
43.013825
143
0.548211
991
9,334
5.026236
0.193744
0.114033
0.043365
0.05782
0.525196
0.515961
0.483036
0.461152
0.455732
0.44469
0
0.008682
0.333619
9,334
216
144
43.212963
0.792122
0.13874
0
0.503226
0
0.019355
0.145855
0
0
0
0
0
0
0
null
null
0
0.051613
null
null
0.032258
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
0862f808de3424f736dcbccbaf436ed12e58173e
3,434
py
Python
examples/UnderDev/ECG_PeakDetection/test.py
sarathykousik/NeuroKit.py
79c163a9453fa4416d3bfe0b8ddb4ce9bbc3c17b
[ "MIT" ]
1
2020-03-11T18:38:56.000Z
2020-03-11T18:38:56.000Z
examples/UnderDev/ECG_PeakDetection/test.py
pradeeps147/NeuroKit.py
79c163a9453fa4416d3bfe0b8ddb4ce9bbc3c17b
[ "MIT" ]
null
null
null
examples/UnderDev/ECG_PeakDetection/test.py
pradeeps147/NeuroKit.py
79c163a9453fa4416d3bfe0b8ddb4ce9bbc3c17b
[ "MIT" ]
1
2020-03-11T18:20:32.000Z
2020-03-11T18:20:32.000Z
# -*- coding: utf-8 -*- import numpy as np import pandas as pd import neurokit as nk import biosppy import matplotlib.pyplot as plt import scipy df = pd.read_csv('data.csv') df = df.loc[10000:20000] sampling_rate=1000 df = nk.ecg_preprocess(ecg=df["ECG"], sampling_rate=sampling_rate)["df"] #df.plot() #df["df"]["E...
28.147541
221
0.677635
493
3,434
4.541582
0.346856
0.064314
0.029031
0.032157
0.099151
0.067887
0.042876
0.042876
0.042876
0.042876
0
0.033898
0.192487
3,434
121
222
28.380165
0.77353
0.379732
0
0.042553
0
0
0.019067
0
0
0
0
0.008264
0
1
0.021277
false
0.085106
0.191489
0
0.212766
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
086731cb42481e67f84c699af4d9339ca240e235
347
py
Python
feature_engineering/tsfresh_config.py
ThorbenJensen/feature-engineering
a5f73b29289dd982ab89ea5080186b833c362cfa
[ "MIT" ]
15
2019-10-09T08:12:32.000Z
2021-01-11T08:20:55.000Z
feature_engineering/tsfresh_config.py
ThorbenJensen/feature-engineering
a5f73b29289dd982ab89ea5080186b833c362cfa
[ "MIT" ]
null
null
null
feature_engineering/tsfresh_config.py
ThorbenJensen/feature-engineering
a5f73b29289dd982ab89ea5080186b833c362cfa
[ "MIT" ]
2
2021-03-17T17:30:00.000Z
2021-04-07T07:36:21.000Z
# Whitelist of generated features in dev STATUS for quicker execution TSFRESH_FEATURE_WHITELIST = [ 'agg_autocorrelation', 'autocorrelation', 'mean', 'mean_change', 'median', 'standard_deviation', 'variance', 'minimum', ] # Size of the time-windows used for generating single time-series...
23.133333
69
0.708934
39
347
6.128205
0.769231
0.09205
0
0
0
0
0
0
0
0
0
0.007194
0.198847
347
14
70
24.785714
0.852518
0.377522
0
0
1
0
0.413146
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
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
08706468d43037ca92681459513bb913beb6479e
481
py
Python
conanfile.py
shreyasbharath/conan-package-binary-example
c322245fa455065aaa6e665b9d5301161ca45986
[ "Unlicense" ]
7
2017-07-21T21:12:53.000Z
2022-01-27T16:36:03.000Z
conanfile.py
shreyasbharath/conan-package-binary-example
c322245fa455065aaa6e665b9d5301161ca45986
[ "Unlicense" ]
3
2017-07-19T21:53:48.000Z
2017-08-17T22:26:36.000Z
conanfile.py
shreyasbharath/conan-package-binary-example
c322245fa455065aaa6e665b9d5301161ca45986
[ "Unlicense" ]
3
2017-07-20T13:00:56.000Z
2021-11-23T08:12:28.000Z
from conans import ConanFile class TestConan(ConanFile): name = "Test" version = "0.1" settings = "os", "compiler", "build_type", "arch" description = "Package for Test" url = "None" license = "None" def package(self): self.copy("*", dst="lib", src="obj/libs") self.copy("*....
28.294118
83
0.60499
62
481
4.629032
0.758065
0.069686
0
0
0
0
0
0
0
0
0
0.005391
0.22869
481
16
84
30.0625
0.768194
0.060291
0
0
0
0
0.211111
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.769231
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
0876cd0638ff560c62478b692530c7aaa0727bb3
315
py
Python
caldera/_version.py
jvrana/caldera
a346324e77f20739e00a82f97530dda4906f59dd
[ "MIT" ]
2
2021-12-13T17:52:17.000Z
2021-12-13T17:52:18.000Z
caldera/_version.py
jvrana/caldera
a346324e77f20739e00a82f97530dda4906f59dd
[ "MIT" ]
4
2020-10-06T21:06:15.000Z
2020-10-10T01:18:23.000Z
caldera/_version.py
jvrana/caldera
a346324e77f20739e00a82f97530dda4906f59dd
[ "MIT" ]
null
null
null
# __version__.py # autogenerated by poetry-hooks 0.1.0 __version__ = "0.1.0a0" __title__ = "pytorch-caldera" __authors__ = ["Justin Vrana <justin.vrana@gmail.com>"] __repository__ = "" __homepage__ = "http://www.github.com/jvrana/caldera" __description__ = "" __maintainers__ = "" __readme__ = "" __license__ = ""
24.230769
55
0.72381
35
315
5.371429
0.771429
0.021277
0
0
0
0
0
0
0
0
0
0.02518
0.11746
315
12
56
26.25
0.651079
0.15873
0
0
1
0
0.362595
0.091603
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
087b648df53934866527fe32a60420979220a641
464
py
Python
Arrays/169. Majority Element.py
thewires2/Leetcode
a37ff81d60dd9195ba637b970b40aabbea5f4680
[ "Unlicense" ]
1
2021-06-30T17:51:56.000Z
2021-06-30T17:51:56.000Z
Arrays/169. Majority Element.py
thewires2/Leetcode
a37ff81d60dd9195ba637b970b40aabbea5f4680
[ "Unlicense" ]
null
null
null
Arrays/169. Majority Element.py
thewires2/Leetcode
a37ff81d60dd9195ba637b970b40aabbea5f4680
[ "Unlicense" ]
null
null
null
from collections import Counter class Solution: def isMajorityElement(self, nums: List[int], target: int) -> bool: data = Counter(nums) print(data.most_common()) # Returns all unique items and their counts print(data.most_common(1)) # Returns most common element and count if...
42.181818
90
0.62931
63
464
4.571429
0.571429
0.173611
0.194444
0.15625
0.111111
0
0
0
0
0
0
0.023256
0.258621
464
10
91
46.4
0.813953
0.170259
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.5
0.2
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
08862c30b98fa69dcaec46cdde2ba8d772f65fbe
498
tac
Python
blogear/blogear.tac
twonds/thetofu.com
2b617d3127e7a07d8b4ae15ca3bfbd02905c6de0
[ "MIT" ]
2
2015-12-23T16:10:29.000Z
2016-05-09T04:58:39.000Z
blogear/blogear.tac
twonds/thetofu.com
2b617d3127e7a07d8b4ae15ca3bfbd02905c6de0
[ "MIT" ]
null
null
null
blogear/blogear.tac
twonds/thetofu.com
2b617d3127e7a07d8b4ae15ca3bfbd02905c6de0
[ "MIT" ]
null
null
null
# blogear.tac # -*- mode: python -*- from twisted.application import service from twisted.words.protocols.jabber import jid from wokkel.client import XMPPClient import bot application = service.Application("blogear") blog = bot.PubSub2Blog(".") client = XMPPClient(jid.internJID("tofu@localhost"), "secret") clien...
20.75
83
0.767068
57
498
6.701754
0.526316
0.057592
0
0
0
0
0
0
0
0
0
0.002237
0.10241
498
23
84
21.652174
0.852349
0.064257
0
0
0
0
0.138829
0
0
0
0
0
0
1
0
false
0
0.363636
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
08872fa5ea906d35b274bd9f8a3c3d3f0319f428
245
py
Python
malibu/kb.py
en0/codename-malibu
aba9a47a97482b5eefc3d92a45a519a90f302d1e
[ "MIT" ]
null
null
null
malibu/kb.py
en0/codename-malibu
aba9a47a97482b5eefc3d92a45a519a90f302d1e
[ "MIT" ]
null
null
null
malibu/kb.py
en0/codename-malibu
aba9a47a97482b5eefc3d92a45a519a90f302d1e
[ "MIT" ]
null
null
null
FULL_SCREEN = "FULL_SCREEN" MOVE_UP = "MOVE_UP" MOVE_LEFT = "MOVE_LEFT" MOVE_RIGHT = "MOVE_RIGHT" MOVE_DOWN = "MOVE_DOWN" ATTACK = "ATTACK" INVENTORY = "INVENTORY" MOVEMENT_ACTION = [ MOVE_DOWN, MOVE_UP, MOVE_RIGHT, MOVE_LEFT, ]
17.5
27
0.702041
34
245
4.617647
0.323529
0.11465
0.191083
0
0
0
0
0
0
0
0
0
0.183673
245
14
28
17.5
0.785
0
0
0
0
0
0.247967
0
0
0
0
0
0
1
0
false
0
0
0
0
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
089fe5b09b221100c0365dc0b85a90d51c5abc0c
549
py
Python
quantr/views/candles.py
carpe-astra/quantr
83f44bf74fff9a71e648bce4d41d9b9354b14216
[ "MIT" ]
null
null
null
quantr/views/candles.py
carpe-astra/quantr
83f44bf74fff9a71e648bce4d41d9b9354b14216
[ "MIT" ]
null
null
null
quantr/views/candles.py
carpe-astra/quantr
83f44bf74fff9a71e648bce4d41d9b9354b14216
[ "MIT" ]
null
null
null
import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output from quantr.maindash import app def make_layout(): return html.Div( [ dcc.Input(id="my-id", value="initial value", type="text"), html.Div(id="my-div"), ] ...
23.869565
70
0.677596
75
549
4.786667
0.453333
0.044568
0.033426
0
0
0
0
0
0
0
0
0
0.193078
549
22
71
24.954545
0.810384
0
0
0
0
0
0.145719
0
0
0
0
0
0
1
0.117647
false
0
0.235294
0.117647
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
08a253589812427e6f9cbefd26e1d233fe4be727
355
py
Python
tests/utils/test_csv.py
mbhein/include-beer-core
2f82e96145c3ecaa5132be98bbdf59c43c6a4a06
[ "MIT" ]
null
null
null
tests/utils/test_csv.py
mbhein/include-beer-core
2f82e96145c3ecaa5132be98bbdf59c43c6a4a06
[ "MIT" ]
1
2020-10-18T15:36:41.000Z
2020-10-18T22:40:22.000Z
tests/utils/test_csv.py
mbhein/include-beer-core
2f82e96145c3ecaa5132be98bbdf59c43c6a4a06
[ "MIT" ]
null
null
null
import pytest import os import core.utils.csv as csv def test_csv(): test_headers = ['style','country'] test_dict = dict(style='Porter', country='United Kingdom') test_file = "beer.csv" try: csv.dict_writer(test_file, test_headers, test_dict) except: pass if os.path.exists(test_...
25.357143
62
0.661972
51
355
4.411765
0.509804
0.142222
0
0
0
0
0
0
0
0
0
0
0.219718
355
14
63
25.357143
0.812274
0
0
0
0
0
0.11236
0
0
0
0
0
0
1
0.076923
false
0.076923
0.230769
0
0.307692
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
08a2e2be1d9a03045c1ecd2177804c005d488ebd
1,300
py
Python
setup.py
raagin/django-filebrowser-multiple-images
5c2be81c0d61ff01174fdcf1d455acd5cb90213d
[ "MIT" ]
2
2019-08-31T15:51:06.000Z
2021-10-17T11:25:10.000Z
setup.py
raagin/django-filebrowser-multiple-images
5c2be81c0d61ff01174fdcf1d455acd5cb90213d
[ "MIT" ]
null
null
null
setup.py
raagin/django-filebrowser-multiple-images
5c2be81c0d61ff01174fdcf1d455acd5cb90213d
[ "MIT" ]
1
2020-09-07T17:27:25.000Z
2020-09-07T17:27:25.000Z
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='django-filebrowser-multiple-images', version='1.0.2', description='''Add Multiple Images in Inline Model with Django Filebrowser. ...
32.5
92
0.613846
141
1,300
5.567376
0.595745
0.169427
0.22293
0.132484
0
0
0
0
0
0
0
0.018367
0.246154
1,300
39
93
33.333333
0.782653
0
0
0
0
0
0.521538
0.026154
0
0
0
0
0
1
0.027778
false
0
0.055556
0.027778
0.111111
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
08a9abb08fd5dbdad1dae77007483dad3b835922
3,954
py
Python
mtg_mana_simulator/repository.py
TiesWestendorp/MTG-Mana-Simulator
b77bb67dd732fa4416d52605d49d6eae3a50f840
[ "MIT" ]
10
2021-10-17T21:02:34.000Z
2021-11-04T21:07:06.000Z
mtg_mana_simulator/repository.py
TiesWestendorp/MTG-Mana-Simulator
b77bb67dd732fa4416d52605d49d6eae3a50f840
[ "MIT" ]
6
2021-10-04T18:30:08.000Z
2021-10-04T19:57:21.000Z
mtg_mana_simulator/repository.py
TiesWestendorp/MTG-Mana-Simulator
b77bb67dd732fa4416d52605d49d6eae3a50f840
[ "MIT" ]
null
null
null
""" Defines the Repository dictionary, which maps names to Cards """ from collections import defaultdict from mtg_mana_simulator.card import Card from mtg_mana_simulator.sequence import Sequence Repository = defaultdict(lambda: Card.filler) Repository['Arcane Signet'] = Card.untapped_rock(2, 1) Repository['Azorius ...
50.692308
89
0.739757
498
3,954
5.732932
0.236948
0.191243
0.171629
0.285814
0.457443
0.254991
0.254991
0.028722
0
0
0
0.014539
0.130248
3,954
77
90
51.350649
0.815644
0.015175
0
0
0
0
0.241637
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
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
08a9f3ac9cecb30824473137a654300b8898e8a9
441
py
Python
services/orders/models.py
Silvian/nameko-microservices
46e6a8f0a0912ae4870f46dcd64fbb3dfd3d60c0
[ "MIT" ]
1
2020-10-29T13:07:30.000Z
2020-10-29T13:07:30.000Z
services/orders/models.py
Silvian/nameko-microservices
46e6a8f0a0912ae4870f46dcd64fbb3dfd3d60c0
[ "MIT" ]
null
null
null
services/orders/models.py
Silvian/nameko-microservices
46e6a8f0a0912ae4870f46dcd64fbb3dfd3d60c0
[ "MIT" ]
null
null
null
import random from enum import Enum class OrderStatus(Enum): INITIATED = "INITIATED" PENDING = "PENDING" COMPLETE = "COMPLETE" class Order: """Order object class.""" def __init__(self, details): self.id = random.randint(100000, 999999) self.details = details self.status ...
21
66
0.648526
51
441
5.45098
0.490196
0.118705
0
0
0
0
0
0
0
0
0
0.035821
0.240363
441
20
67
22.05
0.79403
0.043084
0
0
0
0
0.173077
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0.076923
0.769231
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
08c03288f1cd2198d343667bac27b7000d581b3d
2,591
py
Python
Miner.py
aniketyevankar/Twitter-Sentiment-Analysis
41e7417ef472c3ab28e60d45f1ea49bc6bddbc77
[ "MIT" ]
1
2017-07-21T12:58:57.000Z
2017-07-21T12:58:57.000Z
Miner.py
aniketyevankar/Twitter-Sentiment-Analysis
41e7417ef472c3ab28e60d45f1ea49bc6bddbc77
[ "MIT" ]
null
null
null
Miner.py
aniketyevankar/Twitter-Sentiment-Analysis
41e7417ef472c3ab28e60d45f1ea49bc6bddbc77
[ "MIT" ]
null
null
null
from tweepy import OAuthHandler, Stream, API from tweepy.streaming import StreamListener import sqlite3 import sys from textblob import TextBlob import credentials non_bmp_map = dict.fromkeys(range(0x10000, sys.maxunicode + 1), 0xfffd) auth = OAuthHandler(input.ckey, input.csecret) auth.set_access_token(input.atoken,...
50.803922
498
0.724045
298
2,591
6.184564
0.442953
0.065111
0.032556
0
0
0
0
0
0
0
0
0.006019
0.166345
2,591
50
499
51.82
0.847222
0.04477
0
0.064516
0
0.064516
0.36872
0.017423
0
0
0.005267
0
0
0
null
null
0
0.193548
null
null
0.096774
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
08c0b4989476fb85e65587bb432684b5a5f52109
967
py
Python
api/german/migrations/0001_initial.py
marinho/german-articles
0f1c1416785c8ee5b349fffaca987f70b99ad244
[ "MIT" ]
1
2019-05-13T18:46:47.000Z
2019-05-13T18:46:47.000Z
api/german/migrations/0001_initial.py
marinho/german-articles
0f1c1416785c8ee5b349fffaca987f70b99ad244
[ "MIT" ]
null
null
null
api/german/migrations/0001_initial.py
marinho/german-articles
0f1c1416785c8ee5b349fffaca987f70b99ad244
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-01-31 10:55 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Noun', ...
31.193548
141
0.564633
98
967
5.428571
0.693878
0.030075
0
0
0
0
0
0
0
0
0
0.02849
0.274043
967
30
142
32.233333
0.729345
0.069286
0
0.090909
1
0
0.093645
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.272727
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
08cafed8dfb5bd47d669057dc15995715c02893f
267
py
Python
server/api/main/urls.py
jol79/LiveChat
e92d222e716ae599c9b469c629538a9304bd78fe
[ "MIT" ]
null
null
null
server/api/main/urls.py
jol79/LiveChat
e92d222e716ae599c9b469c629538a9304bd78fe
[ "MIT" ]
11
2021-12-23T17:57:57.000Z
2022-02-05T20:20:40.000Z
server/api/main/urls.py
jol79/LiveChat
e92d222e716ae599c9b469c629538a9304bd78fe
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.chat, name='chat'), path('login', views.login, name='login'), path('users', views.users, name='users_list'), path('users/edit/<id>', views.edit_user, name='edit_user') ]
26.7
62
0.651685
37
267
4.621622
0.405405
0.105263
0
0
0
0
0
0
0
0
0
0
0.153558
267
9
63
29.666667
0.756637
0
0
0
0
0
0.198502
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
08cd09501408937b0605d8b1ccf38076a353383b
973
py
Python
paymeuz/migrations/0002_auto_20200826_1127.py
Baxtiyor98/paymeuz
95438aeb8db0a0dcd3c8166f99c9d59392b2ea5f
[ "MIT" ]
5
2021-02-18T19:20:56.000Z
2021-12-04T19:01:44.000Z
paymeuz/migrations/0002_auto_20200826_1127.py
Baxtiyor98/paymeuz
95438aeb8db0a0dcd3c8166f99c9d59392b2ea5f
[ "MIT" ]
null
null
null
paymeuz/migrations/0002_auto_20200826_1127.py
Baxtiyor98/paymeuz
95438aeb8db0a0dcd3c8166f99c9d59392b2ea5f
[ "MIT" ]
1
2021-03-09T18:15:35.000Z
2021-03-09T18:15:35.000Z
# Generated by Django 3.1 on 2020-08-26 06:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('paymeuz', '0001_initial'), ] operations = [ migrations.RenameField( model_name='transaction', old_name='_id', ...
27.027778
118
0.550874
91
973
5.747253
0.56044
0.068834
0.152964
0.137667
0.374761
0.374761
0.23327
0.23327
0.23327
0
0
0.039514
0.323741
973
35
119
27.8
0.755319
0.044193
0
0.482759
1
0
0.123922
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.137931
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
08d2b53b75071f801fa5b0a9fb1ca1fc19b78a1d
356
py
Python
src/sellers/migrations/0002_rename_description_seller_descr.py
evis-market/web-interface-backend
f8930ff1c009ad18e522ab29680b4bcd50a6020e
[ "MIT" ]
2
2021-08-30T22:58:32.000Z
2021-12-12T10:47:52.000Z
src/sellers/migrations/0002_rename_description_seller_descr.py
evis-market/web-interface-backend
f8930ff1c009ad18e522ab29680b4bcd50a6020e
[ "MIT" ]
null
null
null
src/sellers/migrations/0002_rename_description_seller_descr.py
evis-market/web-interface-backend
f8930ff1c009ad18e522ab29680b4bcd50a6020e
[ "MIT" ]
1
2021-08-22T19:12:44.000Z
2021-08-22T19:12:44.000Z
# Generated by Django 3.2.7 on 2021-10-03 15:09 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('sellers', '0001_initial'), ] operations = [ migrations.RenameField( model_name='seller', old_name='description', ...
18.736842
47
0.575843
37
356
5.432432
0.837838
0
0
0
0
0
0
0
0
0
0
0.077236
0.308989
356
18
48
19.777778
0.739837
0.126404
0
0
1
0
0.132686
0
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
08df1fc2b043e5acd0e2a03844298f84430ce93b
1,510
py
Python
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}_api/rabbitmq_manager.py
frank2411/cookiecutter_flasktemplate
fc80827f0f7e7b87679790c8c1d9094518576b5b
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}_api/rabbitmq_manager.py
frank2411/cookiecutter_flasktemplate
fc80827f0f7e7b87679790c8c1d9094518576b5b
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}_api/rabbitmq_manager.py
frank2411/cookiecutter_flasktemplate
fc80827f0f7e7b87679790c8c1d9094518576b5b
[ "Apache-2.0" ]
null
null
null
import pika import json from flask import current_app class RabbitMQPublisherException(Exception): def __init__(self, message, *args, **kwargs): self.message = message class RabbitMQPublisher: def __init__(self): self.exchange_name = current_app.config["RABBITMQ_EXCHANGE"] self.host...
32.826087
83
0.629139
140
1,510
6.578571
0.407143
0.054289
0.06949
0.104235
0
0
0
0
0
0
0
0.004651
0.288079
1,510
45
84
33.555556
0.852093
0.015232
0
0.108108
0
0
0.068687
0
0
0
0
0
0
1
0.081081
false
0.054054
0.081081
0
0.216216
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
08e18edc0d5274045f6e6f87b08a7d342dbeeffb
460
py
Python
backend/src/uploads/migrations/0021_auto_20210806_2220.py
BenK93/GeThaText
c74aacf9d58734670588f0ee2965b2471022edd5
[ "MIT" ]
null
null
null
backend/src/uploads/migrations/0021_auto_20210806_2220.py
BenK93/GeThaText
c74aacf9d58734670588f0ee2965b2471022edd5
[ "MIT" ]
null
null
null
backend/src/uploads/migrations/0021_auto_20210806_2220.py
BenK93/GeThaText
c74aacf9d58734670588f0ee2965b2471022edd5
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2021-08-06 22:20 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('uploads', '0020_auto_20210731_1301'), ] operations = [ migrations.AlterField( model_name='upload', n...
23
98
0.626087
52
460
5.442308
0.75
0.028269
0
0
0
0
0
0
0
0
0
0.143695
0.258696
460
19
99
24.210526
0.686217
0.097826
0
0
1
0
0.125908
0.05569
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
08ea79a633668441a56c4aec58a167d8a597741d
6,964
py
Python
apimalwr/MalwrAPI.py
splunk-soar-connectors/malwr
d55736366516eaaad68149a729da98b2a40d94e4
[ "Apache-2.0" ]
null
null
null
apimalwr/MalwrAPI.py
splunk-soar-connectors/malwr
d55736366516eaaad68149a729da98b2a40d94e4
[ "Apache-2.0" ]
null
null
null
apimalwr/MalwrAPI.py
splunk-soar-connectors/malwr
d55736366516eaaad68149a729da98b2a40d94e4
[ "Apache-2.0" ]
null
null
null
""" This is the (unofficial) Python API for malwr.com Website. Using this code, you can retrieve recent analyses, domains, tags but also latest comments. You can also submit files """ import hashlib import re import requests from bs4 import BeautifulSoup class MalwrAPI(object): """ MalwrAPI Main Handler...
31.944954
100
0.552556
784
6,964
4.790816
0.246173
0.014909
0.021299
0.027157
0.357827
0.265974
0.246539
0.209265
0.209265
0.179979
0
0.013398
0.314044
6,964
217
101
32.092166
0.77287
0.057151
0
0.285714
0
0
0.172038
0.018325
0
0
0
0.004608
0
0
null
null
0.020408
0.027211
null
null
0.013605
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
08f321ef7eca9dcc57b3f416ba1597019b108dfd
243
py
Python
banners/__init__.py
titu3e/gacha-bot
23613ef3fe9531697fb227c0f59502559c9d3be8
[ "MIT" ]
null
null
null
banners/__init__.py
titu3e/gacha-bot
23613ef3fe9531697fb227c0f59502559c9d3be8
[ "MIT" ]
null
null
null
banners/__init__.py
titu3e/gacha-bot
23613ef3fe9531697fb227c0f59502559c9d3be8
[ "MIT" ]
1
2022-01-19T11:31:45.000Z
2022-01-19T11:31:45.000Z
from .banners import * from .event_banners import * available_banners = { "venti": Venti, "childe": Tartaglia, "hutao": HuTao, "xiao": Xiao, "ganyu": Ganyu, "albedo": Albedo, "zhongli": Zhongli, "klee": Klee }
17.357143
28
0.592593
25
243
5.68
0.56
0.183099
0
0
0
0
0
0
0
0
0
0
0.251029
243
13
29
18.692308
0.78022
0
0
0
0
0
0.17284
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
08f5a1318a97aec9d750c7759d46ffb8f8b0c5ed
10,018
py
Python
002_fabert.py
bigdatamatta/ChaLearn_Automatic_Machine_Learning_Challenge_2015
a9acb6906ff141e7c24cff80f92efef7d7c3ff09
[ "BSD-2-Clause" ]
1
2019-06-12T19:55:35.000Z
2019-06-12T19:55:35.000Z
002_fabert.py
bigdatamatta/ChaLearn_Automatic_Machine_Learning_Challenge_2015
a9acb6906ff141e7c24cff80f92efef7d7c3ff09
[ "BSD-2-Clause" ]
null
null
null
002_fabert.py
bigdatamatta/ChaLearn_Automatic_Machine_Learning_Challenge_2015
a9acb6906ff141e7c24cff80f92efef7d7c3ff09
[ "BSD-2-Clause" ]
null
null
null
import argparse import os import numpy as np from sklearn.cross_validation import StratifiedKFold import autosklearn import autosklearn.data import autosklearn.data.competition_data_manager from autosklearn.evaluation.util import calculate_score from ParamSklearn.classification import ParamSklearnClassifier parser ...
47.933014
82
0.645738
944
10,018
6.532839
0.216102
0.07005
0.105075
0.140101
0.63856
0.595265
0.572726
0.537701
0.497973
0.474623
0
0.073606
0.233779
10,018
208
83
48.163462
0.729807
0.010082
0
0.455959
0
0
0.47816
0.356199
0
0
0
0
0
0
null
null
0.025907
0.046632
null
null
0.015544
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
3eb0397ed4593dbe572f527fb38e19505c7f256c
496
py
Python
py_utils/validator/email/common.py
zhd785576549/py_re_collect
a79cd18b5c9def0cbd95b8d1b809e8c0c56cb302
[ "MIT" ]
1
2019-10-10T07:00:55.000Z
2019-10-10T07:00:55.000Z
py_utils/validator/email/common.py
zhd785576549/py_re_collect
a79cd18b5c9def0cbd95b8d1b809e8c0c56cb302
[ "MIT" ]
null
null
null
py_utils/validator/email/common.py
zhd785576549/py_re_collect
a79cd18b5c9def0cbd95b8d1b809e8c0c56cb302
[ "MIT" ]
1
2019-10-10T07:00:56.000Z
2019-10-10T07:00:56.000Z
""" This is validate for email Author: zhangkun History: Version Author Email Date Message 1.0.0 zhangkun 584807419@qq.com 2019-10-10 Create """ import re def email_valid(email_address): """ email validator :pa...
21.565217
89
0.504032
53
496
4.622642
0.641509
0.195918
0
0
0
0
0
0
0
0
0
0.065359
0.383065
496
22
90
22.545455
0.735294
0.602823
0
0
0
0
0.108434
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3eb05ee45b5e06f0a240a405542c808906e2ce75
461
py
Python
download/gnosis/xml/pickle/util/__init__.py
DavidMertz/gnosis-web
df5ab0d470a02ed6c51c971f2b40f1dcdc7d7350
[ "CC0-1.0" ]
3
2018-09-29T14:14:28.000Z
2022-01-05T03:45:50.000Z
library/CanFestival/objdictgen/gnosis/xml/pickle/util/__init__.py
Lembed/STM32duino-gcc-Projects
67829e9cd1388601daf9815b0561da557e0b9f82
[ "MIT" ]
1
2017-06-17T08:15:28.000Z
2017-06-17T08:15:28.000Z
library/CanFestival/objdictgen/gnosis/xml/pickle/util/__init__.py
Lembed/STM32duino-gcc-Projects
67829e9cd1388601daf9815b0561da557e0b9f82
[ "MIT" ]
1
2019-12-08T15:11:55.000Z
2019-12-08T15:11:55.000Z
from _flags import * from _util import \ _klass, _module, _EmptyClass, subnodes, \ safe_eval, safe_string, unsafe_string, safe_content, unsafe_content, \ _mini_getstack, _mini_currentframe, \ get_class_from_stack, get_class_full_search, get_class_from_vapor, \ get_class_from_store, add_class_to...
41.909091
75
0.780911
63
461
5.047619
0.507937
0.125786
0.150943
0
0
0
0
0
0
0
0
0
0.156182
461
10
76
46.1
0.817481
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
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
3eb28b41c0e5f5c1cc397d92d77a369c0b2ad187
757
py
Python
app/applebooks/defaults.py
tnahs/hlts-data
e2f1f233d3533a58ede14ab17f71cd2754061433
[ "MIT" ]
null
null
null
app/applebooks/defaults.py
tnahs/hlts-data
e2f1f233d3533a58ede14ab17f71cd2754061433
[ "MIT" ]
null
null
null
app/applebooks/defaults.py
tnahs/hlts-data
e2f1f233d3533a58ede14ab17f71cd2754061433
[ "MIT" ]
null
null
null
from ..defaults import AppDefaults class AppleBooksDefaults: name = "applebooks" version = "Books v1.19 (1645)" # applebooks data src_root_dir = ( AppDefaults.home / "Library/Containers/com.apple.iBooksX/Data/Documents" ) src_bklibrary_dir = src_root_dir / "BKLibrary" src_aeannot...
29.115385
80
0.715984
93
757
5.451613
0.430108
0.096647
0.094675
0.051282
0
0
0
0
0
0
0
0.034596
0.198151
757
25
81
30.28
0.800659
0.040951
0
0
0
0
0.222992
0.070637
0
0
0
0
0
1
0
false
0
0.0625
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1