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
fe85d8a95b8c5b2930e247504f6c68cbb22c2717
1,038
py
Python
whisk_python_ch0_randomtrigger/__main__.py
timwaizenegger/e-ink-display-esp8266-mqtt-openwhisk
d964151bfdebb54a0e0edccb7f5cfbbffa49ba0f
[ "MIT" ]
30
2018-02-16T21:10:34.000Z
2021-11-15T21:06:33.000Z
whisk_python_ch0_randomtrigger/__main__.py
timwaizenegger/e-ink-display-esp8266-mqtt-openwhisk
d964151bfdebb54a0e0edccb7f5cfbbffa49ba0f
[ "MIT" ]
1
2020-10-04T21:50:26.000Z
2020-10-04T21:50:26.000Z
whisk_python_ch0_randomtrigger/__main__.py
timwaizenegger/e-ink-display-esp8266-mqtt-openwhisk
d964151bfdebb54a0e0edccb7f5cfbbffa49ba0f
[ "MIT" ]
2
2020-10-04T21:51:30.000Z
2021-05-31T14:53:30.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Tim Waizenegger (c) 2018,2019 Used as an open whisk action on IBM cloud bx wsk action update displaychannel_ch0_trigger_random --kind python:3 --main main __main__.py """ import random import requests functions_apikey = "cloud functions CF API key" endpoints...
28.054054
106
0.751445
148
1,038
5.087838
0.493243
0.112882
0.159363
0.095618
0.414343
0.414343
0.414343
0.414343
0.414343
0.414343
0
0.021858
0.118497
1,038
36
107
28.833333
0.801093
0.213873
0
0
0
0.25
0.602978
0.495037
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.25
0.0625
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe9594e1b983f4aeff7a0d0b1ef141900acd5a69
3,664
py
Python
src/markdown2pango/__init__.py
mkdryden/markdown2pango
547a76fd352c52b5f718f5166da5f59672383896
[ "BSD-3-Clause" ]
null
null
null
src/markdown2pango/__init__.py
mkdryden/markdown2pango
547a76fd352c52b5f718f5166da5f59672383896
[ "BSD-3-Clause" ]
null
null
null
src/markdown2pango/__init__.py
mkdryden/markdown2pango
547a76fd352c52b5f718f5166da5f59672383896
[ "BSD-3-Clause" ]
1
2021-05-28T21:44:27.000Z
2021-05-28T21:44:27.000Z
from __future__ import (absolute_import, division, print_function, unicode_literals) import lxml.html import re import mistune from ._version import get_versions __version__ = get_versions()['version'] del get_versions class PangoRenderer(mistune.Renderer): ''' Pango Markdown rendere...
29.312
90
0.518013
416
3,664
4.425481
0.365385
0.030418
0.038023
0.01195
0
0
0
0
0
0
0
0.005031
0.349072
3,664
124
91
29.548387
0.766876
0.170306
0
0
0
0
0.073464
0.010985
0
0
0
0
0
1
0.217391
false
0
0.072464
0.101449
0.521739
0.014493
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
feac0c8edfceabc4f4d3d2b1442ce4b6442267f5
3,780
py
Python
aliyun-python-sdk-cms/aliyunsdkcms/request/v20190101/PutCustomMetricRuleRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-cms/aliyunsdkcms/request/v20190101/PutCustomMetricRuleRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-cms/aliyunsdkcms/request/v20190101/PutCustomMetricRuleRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
30.983607
78
0.760317
496
3,780
5.582661
0.22379
0.03467
0.080896
0.09823
0.179126
0.179126
0.179126
0
0
0
0
0.003653
0.130952
3,780
122
79
30.983607
0.839269
0.199471
0
0
0
0
0.125386
0
0
0
0
0
0
1
0.478261
false
0
0.014493
0.231884
0.73913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
22834b58ceed661ae744755e2574a5136d052354
337
py
Python
jd/api/rest/KplOpenRegularPlanCompletedorderRequest.py
fengjinqi/linjuanbang
8cdc4e81df73ccd737ac547da7f2c7dca545862a
[ "MIT" ]
5
2019-10-30T01:16:30.000Z
2020-06-14T03:32:19.000Z
jd/api/rest/KplOpenRegularPlanCompletedorderRequest.py
fengjinqi/linjuanbang
8cdc4e81df73ccd737ac547da7f2c7dca545862a
[ "MIT" ]
2
2020-10-12T07:12:48.000Z
2021-06-02T03:15:47.000Z
jd/api/rest/KplOpenRegularPlanCompletedorderRequest.py
fengjinqi/linjuanbang
8cdc4e81df73ccd737ac547da7f2c7dca545862a
[ "MIT" ]
3
2019-12-06T17:33:49.000Z
2021-03-01T13:24:22.000Z
from jd.api.base import RestApi class KplOpenRegularPlanCompletedorderRequest(RestApi): def __init__(self,domain='gw.api.360buy.com',port=80): RestApi.__init__(self,domain, port) self.venderId = None self.planId = None self.orderId = None def getapiname(self): return 'jd.kpl.open.regular.plan.compl...
18.722222
56
0.738872
43
337
5.604651
0.651163
0.06639
0.116183
0
0
0
0
0
0
0
0
0.017422
0.148368
337
17
57
19.823529
0.8223
0
0
0
0
0
0.169184
0.117825
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
229a0bc926578ae10eff4515af08212c5144abe2
267
py
Python
scripts/slave/recipe_modules/bisect_tester/__init__.py
bopopescu/build
4e95fd33456e552bfaf7d94f7d04b19273d1c534
[ "BSD-3-Clause" ]
null
null
null
scripts/slave/recipe_modules/bisect_tester/__init__.py
bopopescu/build
4e95fd33456e552bfaf7d94f7d04b19273d1c534
[ "BSD-3-Clause" ]
null
null
null
scripts/slave/recipe_modules/bisect_tester/__init__.py
bopopescu/build
4e95fd33456e552bfaf7d94f7d04b19273d1c534
[ "BSD-3-Clause" ]
1
2020-07-23T11:05:06.000Z
2020-07-23T11:05:06.000Z
DEPS = [ 'chromium', 'file', 'gsutil', 'recipe_engine/json', 'math_utils', 'recipe_engine/path', 'recipe_engine/platform', 'recipe_engine/properties', 'recipe_engine/python', 'recipe_engine/raw_io', 'recipe_engine/step', ]
19.071429
31
0.617978
28
267
5.571429
0.571429
0.538462
0
0
0
0
0
0
0
0
0
0
0.220974
267
13
32
20.538462
0.75
0
0
0
0
0
0.629213
0.172285
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
22d05e6147b038f95ac6c3a6cf8e40ad4c492310
56
py
Python
Backend Web Application Development/config/Settings.py
amilaansari/SP-Assignments
dbf3c1c9be199406aad1f23274380b2aee673089
[ "CNRI-Python" ]
null
null
null
Backend Web Application Development/config/Settings.py
amilaansari/SP-Assignments
dbf3c1c9be199406aad1f23274380b2aee673089
[ "CNRI-Python" ]
null
null
null
Backend Web Application Development/config/Settings.py
amilaansari/SP-Assignments
dbf3c1c9be199406aad1f23274380b2aee673089
[ "CNRI-Python" ]
null
null
null
class Settings: secretKey="a12nc)238OmPq#cxOlm*a"
18.666667
38
0.714286
7
56
5.714286
1
0
0
0
0
0
0
0
0
0
0
0.106383
0.160714
56
2
39
28
0.744681
0
0
0
0
0
0.388889
0.388889
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
22ec4a5ebba3a1cca202b2468c0f4ced5573dba5
731
py
Python
aleph/search/__init__.py
gazeti/aleph
f6714c4be038471cfdc6408bfe88dc9e2ed28452
[ "MIT" ]
1
2017-07-28T12:54:09.000Z
2017-07-28T12:54:09.000Z
aleph/search/__init__.py
gazeti/aleph
f6714c4be038471cfdc6408bfe88dc9e2ed28452
[ "MIT" ]
7
2017-08-16T12:49:23.000Z
2018-02-16T10:22:11.000Z
aleph/search/__init__.py
gazeti/aleph
f6714c4be038471cfdc6408bfe88dc9e2ed28452
[ "MIT" ]
6
2017-07-26T12:29:53.000Z
2017-08-18T09:35:50.000Z
import logging from aleph.index.mapping import TYPE_DOCUMENT, TYPE_RECORD # noqa from aleph.search.query import QueryState # noqa from aleph.search.documents import documents_query, documents_iter # noqa from aleph.search.documents import entity_documents # noqa from aleph.search.entities import entities_query # ...
45.6875
77
0.820793
104
731
5.576923
0.298077
0.17069
0.224138
0.327586
0.37931
0.287931
0
0
0
0
0
0
0.121751
731
15
78
48.733333
0.903427
0.073871
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.923077
0
0.923077
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
22f479d8dbee7eb6ba67509acb08bbf5df764797
1,505
py
Python
BookStore/models/book_model.py
ki-yungkim/Python_1st_Mini
1dadb9ec51b85dfef22164557b8340d4eab96d65
[ "MIT" ]
null
null
null
BookStore/models/book_model.py
ki-yungkim/Python_1st_Mini
1dadb9ec51b85dfef22164557b8340d4eab96d65
[ "MIT" ]
null
null
null
BookStore/models/book_model.py
ki-yungkim/Python_1st_Mini
1dadb9ec51b85dfef22164557b8340d4eab96d65
[ "MIT" ]
null
null
null
import sys import os sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from flask_migrate import Migrate from flask_sqlalchemy import SQLAlchemy from flask import session from datetime import datetime from models.mem_model import Member,PaperBook db = SQLAlchemy() migrate = Migrate() class ...
32.021277
114
0.712957
197
1,505
5.238579
0.314721
0.139535
0.063953
0.043605
0.156977
0.156977
0.085271
0
0
0
0
0
0.190033
1,505
47
115
32.021277
0.846596
0.036545
0
0.125
0
0
0.002772
0
0
0
0
0
0
1
0.21875
false
0
0.21875
0.125
0.59375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
22f73371f58112d97679bbd9398198ded82c14e8
4,353
py
Python
datapreprocessing/crash_match.py
Andyzr/work_zone_safety
e653740e7a42f06536f64c199388fd40d85aaaae
[ "MIT" ]
null
null
null
datapreprocessing/crash_match.py
Andyzr/work_zone_safety
e653740e7a42f06536f64c199388fd40d85aaaae
[ "MIT" ]
null
null
null
datapreprocessing/crash_match.py
Andyzr/work_zone_safety
e653740e7a42f06536f64c199388fd40d85aaaae
[ "MIT" ]
null
null
null
# %% import numpy as np import matplotlib.pyplot as plt import pandas as pd import pickle import gc from sqlalchemy import create_engine import sqlite3 from sqlalchemy import Column, Integer, String, ForeignKey, Float from _datetime import time # %% # speed_engine = create_engine('sqlite:////media/andy/b4a51c70-19cd-4...
37.852174
204
0.806111
721
4,353
4.520111
0.151179
0.03989
0.030071
0.083768
0.782449
0.728751
0.69101
0.69101
0.620743
0.5471
0
0.091467
0.10085
4,353
114
205
38.184211
0.741185
0.213646
0
0.4
0
0.053333
0.786553
0.456547
0
0
0
0
0
1
0
false
0
0.146667
0
0.146667
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe106a238946f463e637b920b7a043d1d7b312cf
2,457
py
Python
ccnpy/flic/Pointers.py
mmosko/ccnpy
20d982e2e3845818fde7f3facdc8cbcdff323dbb
[ "Apache-2.0" ]
1
2020-12-23T14:17:25.000Z
2020-12-23T14:17:25.000Z
ccnpy/flic/Pointers.py
mmosko/ccnpy
20d982e2e3845818fde7f3facdc8cbcdff323dbb
[ "Apache-2.0" ]
1
2019-07-01T18:19:05.000Z
2019-07-02T05:35:52.000Z
ccnpy/flic/Pointers.py
mmosko/ccnpy
20d982e2e3845818fde7f3facdc8cbcdff323dbb
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Marc Mosko # # 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 writ...
27.606742
86
0.625967
325
2,457
4.513846
0.415385
0.088616
0.05726
0.034765
0.02863
0.02863
0
0
0
0
0
0.013016
0.28083
2,457
88
87
27.920455
0.817204
0.365893
0
0.047619
0
0
0.056376
0
0
0
0.004027
0
0
1
0.238095
false
0
0.02381
0.142857
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fe152ca660ab97b3c8ccee1a6e74ccc101fe26e2
2,373
py
Python
starter-kits/credential-registry/server/tob-api/api_v2/migrations/0003_auto_20181005_2140.py
nairobi222/indy-catalyst
dcbd80524ace7747ecfecd716ff932e9b571d69a
[ "Apache-2.0" ]
1
2019-03-18T13:10:05.000Z
2019-03-18T13:10:05.000Z
starter-kits/credential-registry/server/tob-api/api_v2/migrations/0003_auto_20181005_2140.py
nairobi222/indy-catalyst
dcbd80524ace7747ecfecd716ff932e9b571d69a
[ "Apache-2.0" ]
8
2019-06-15T13:18:39.000Z
2021-05-01T17:52:02.000Z
starter-kits/credential-registry/server/tob-api/api_v2/migrations/0003_auto_20181005_2140.py
nairobi222/indy-catalyst
dcbd80524ace7747ecfecd716ff932e9b571d69a
[ "Apache-2.0" ]
3
2019-06-12T21:08:53.000Z
2021-05-03T17:09:37.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-10-05 21:40 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api_v2', '0002_user_display_name'), ] operations = [ migrations.RemoveField( ...
26.366667
49
0.535609
154
2,373
8.123377
0.344156
0.184652
0.228617
0.263789
0.406075
0.406075
0
0
0
0
0
0.015162
0.360725
2,373
89
50
26.662921
0.809492
0.029077
0
0.670732
1
0
0.204694
0.018688
0
0
0
0
0
1
0
false
0
0.02439
0
0.060976
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe1c0591c4151d978ce42f0dfcabccd003aa16e6
2,770
py
Python
aewl/helpers.py
SigJig/aewl
cbcf1a635503f53536d2cb32b88415b221e84bf1
[ "MIT" ]
null
null
null
aewl/helpers.py
SigJig/aewl
cbcf1a635503f53536d2cb32b88415b221e84bf1
[ "MIT" ]
2
2021-04-22T19:00:11.000Z
2021-05-02T19:06:26.000Z
aewl/helpers.py
SigJig/aewl
cbcf1a635503f53536d2cb32b88415b221e84bf1
[ "MIT" ]
null
null
null
class EmptyFactor: """ Empty factors, such as safeZoneX which do not get multiplied by anything """ def __str__(self): return type(self).__name__ def __repr__(self): return str(self) def _operation_skip_if(self, skip, other, op): if other == skip: return se...
24.086957
76
0.592419
321
2,770
4.831776
0.199377
0.103159
0.075435
0.098001
0.340426
0.301741
0.274662
0.274662
0.179239
0.055448
0
0.002008
0.280866
2,770
115
77
24.086957
0.776606
0.025993
0
0.243902
0
0
0.047353
0.009321
0
0
0
0
0
1
0.304878
false
0.012195
0
0.231707
0.780488
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a3b0c0bd3fa0ef2995b2c304a285c25b5a8a0bbf
489
py
Python
016_Quebrando_um_numero.py
fabioeomedeiros/Python-Base
ef9c1c66b3221f71d1c8dcaf4c2f86503712e9f1
[ "MIT" ]
null
null
null
016_Quebrando_um_numero.py
fabioeomedeiros/Python-Base
ef9c1c66b3221f71d1c8dcaf4c2f86503712e9f1
[ "MIT" ]
null
null
null
016_Quebrando_um_numero.py
fabioeomedeiros/Python-Base
ef9c1c66b3221f71d1c8dcaf4c2f86503712e9f1
[ "MIT" ]
null
null
null
# 016_Quebrando_um_numero.py # Quebra e exibe um número em sua parte inteira e fracionária from math import trunc print() num = float(input("Entre com um número: ")) #importando o método trunc da biblioteca math print(f"A parte inteira de {num} é :{int(num)}") print(f"A parte fracionária de {num} é :{(num - trunc(num...
30.5625
66
0.699387
86
489
3.94186
0.44186
0.070796
0.082596
0.141593
0.371681
0.371681
0.371681
0.371681
0.371681
0.371681
0
0.012048
0.151329
489
15
67
32.6
0.804819
0.321063
0
0.555556
0
0
0.633028
0
0
0
0
0.066667
0
1
0
false
0
0.111111
0
0.111111
0.777778
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
1
0
0
0
0
0
0
0
0
1
0
3
a3b6d8a55aad781578d713a387e609902c6da3db
3,045
py
Python
src/sage/repl/readline_extra_commands.py
bopopescu/sage
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
[ "BSL-1.0" ]
3
2016-06-19T14:48:31.000Z
2022-01-28T08:46:01.000Z
src/sage/repl/readline_extra_commands.py
bopopescu/sage
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
[ "BSL-1.0" ]
2
2018-10-30T13:40:20.000Z
2020-07-23T12:13:30.000Z
src/sage/repl/readline_extra_commands.py
bopopescu/sage
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
[ "BSL-1.0" ]
7
2021-11-08T10:01:59.000Z
2022-03-03T11:25:52.000Z
r""" Extra Readline Commands .. WARNING:: The feature described here is no longer available in Sage, as IPython upon which Sage's command line interface is based adopted prompt_toolkit as a replacement of readline as of IPython version 5.0 The following extra readline commands are available in Sage: ...
46.136364
111
0.703777
456
3,045
4.679825
0.427632
0.048735
0.039363
0.023899
0.07732
0
0
0
0
0
0
0.010672
0.16913
3,045
65
112
46.846154
0.832806
0.94647
0
0
0
0
0.48
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
a3ba112724eb41303dadbed92c7755b3b7e561ce
2,023
py
Python
mysite/polls/models.py
bjtuhfz/pipe_leakage_query_system
eecca3fdbee44fb0f818d5fb195cf9769eda8786
[ "MIT" ]
null
null
null
mysite/polls/models.py
bjtuhfz/pipe_leakage_query_system
eecca3fdbee44fb0f818d5fb195cf9769eda8786
[ "MIT" ]
null
null
null
mysite/polls/models.py
bjtuhfz/pipe_leakage_query_system
eecca3fdbee44fb0f818d5fb195cf9769eda8786
[ "MIT" ]
2
2017-05-26T04:32:07.000Z
2019-04-07T13:50:17.000Z
from __future__ import unicode_literals from django.db import models import datetime from django.utils import timezone # Create your models here. # class Question(models.Model): # question_text = models.CharField(max_length=200) # pub_date = models.DateTimeField('date published') # # def __str__(self): # ...
32.111111
79
0.702422
257
2,023
5.299611
0.245136
0.121145
0.145374
0.193833
0.591043
0.326725
0.269457
0.269457
0.269457
0.269457
0
0.021238
0.185368
2,023
62
80
32.629032
0.805218
0.273851
0
0.171429
0
0
0.016529
0
0
0
0
0
0
1
0.171429
false
0.028571
0.114286
0.142857
0.971429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
a3ca4bd0882a8dccc51d543cc41a81a4ff9f3acf
135
py
Python
guest-talks/20170213-optional-static-types/good_example.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
46
2017-09-27T20:19:36.000Z
2020-12-08T10:07:19.000Z
guest-talks/20170213-optional-static-types/good_example.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
6
2018-01-09T08:07:37.000Z
2020-09-07T12:25:13.000Z
guest-talks/20170213-optional-static-types/good_example.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
18
2017-10-10T02:06:51.000Z
2019-12-01T10:18:13.000Z
def fibonnacci(nth: int) -> int: if nth <= 1: return 1 else: return fibonnacci(nth - 1) + fibonnacci(nth - 2)
19.285714
56
0.540741
18
135
4.055556
0.5
0.534247
0
0
0
0
0
0
0
0
0
0.044444
0.333333
135
6
57
22.5
0.766667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a3fef8727b39ef1514d1ab301ca08e01d1277985
686
py
Python
models/dtc.py
harryprabowo/tars-backend
f791df7124a71bc3be6bd305f2197918bf86d74d
[ "MIT" ]
1
2020-02-14T15:26:20.000Z
2020-02-14T15:26:20.000Z
models/dtc.py
harryprabowo/tars-backend
f791df7124a71bc3be6bd305f2197918bf86d74d
[ "MIT" ]
null
null
null
models/dtc.py
harryprabowo/tars-backend
f791df7124a71bc3be6bd305f2197918bf86d74d
[ "MIT" ]
null
null
null
from app import db class DTC(db.Model): __tablename__ = 'dtcs' id = db.Column(db.Integer, primary_key=True) dtc_number = db.Column(db.String(10)) dtc_name = db.Column(db.String(100)) desc = db.Column(db.String(1000), nullable=True) system = db.Column(db.String(25), nullable=True) severity =...
31.181818
52
0.578717
87
686
4.436782
0.356322
0.145078
0.181347
0.165803
0
0
0
0
0
0
0
0.022312
0.281341
686
22
53
31.181818
0.760649
0
0
0
0
0
0.071325
0
0
0
0
0
0
1
0.05
false
0
0.05
0.05
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4306e5f0da25fe0d4940a1ba8329ab1c6ac6de16
1,087
py
Python
diofant/matrices/expressions/funcmatrix.py
rajkk1/diofant
6b361334569e4ec2e8c7d30dc324387a4ad417c2
[ "BSD-3-Clause" ]
57
2016-09-13T23:16:26.000Z
2022-03-29T06:45:51.000Z
diofant/matrices/expressions/funcmatrix.py
rajkk1/diofant
6b361334569e4ec2e8c7d30dc324387a4ad417c2
[ "BSD-3-Clause" ]
402
2016-05-11T11:11:47.000Z
2022-03-31T14:27:02.000Z
diofant/matrices/expressions/funcmatrix.py
rajkk1/diofant
6b361334569e4ec2e8c7d30dc324387a4ad417c2
[ "BSD-3-Clause" ]
20
2016-05-11T08:17:37.000Z
2021-09-10T09:15:51.000Z
from ...core import Expr from ...core.sympify import sympify from .matexpr import MatrixExpr class FunctionMatrix(MatrixExpr): """ Represents a Matrix using a function (Lambda) This class is an alternative to SparseMatrix >>> i, j = symbols('i j') >>> X = FunctionMatrix(3, 3, Lambda((i, j), i + ...
22.645833
63
0.579577
148
1,087
4.182432
0.398649
0.025848
0.025848
0.029079
0.0937
0
0
0
0
0
0
0.04586
0.277829
1,087
47
64
23.12766
0.742675
0.379945
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0.263158
0.157895
0.842105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
431c90612332da9814879b0719b2cbe5f1419e0f
108
py
Python
03_01_dice.py
ChoppingBroccoli/Raspi_Book_Exercises
8082ce330817175212a7e5a8baf224e05a63dd3a
[ "MIT" ]
26
2015-04-28T14:34:14.000Z
2021-12-03T21:29:29.000Z
03_01_dice.py
ChoppingBroccoli/Raspi_Book_Exercises
8082ce330817175212a7e5a8baf224e05a63dd3a
[ "MIT" ]
null
null
null
03_01_dice.py
ChoppingBroccoli/Raspi_Book_Exercises
8082ce330817175212a7e5a8baf224e05a63dd3a
[ "MIT" ]
27
2015-09-06T16:45:33.000Z
2021-03-26T15:58:51.000Z
#03_01_dice import random for x in range(1, 11): random_number = random.randint(1, 6) print(random_number)
21.6
37
0.759259
20
108
3.9
0.75
0.307692
0
0
0
0
0
0
0
0
0
0.095745
0.12963
108
5
38
21.6
0.734043
0.092593
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4320ac889347de937838e13e00b8ae5f2025c288
557
py
Python
problems/12.py
christofferaakre/project-euler
4b42802233be10e4a592798205171fb5156dae6b
[ "MIT" ]
null
null
null
problems/12.py
christofferaakre/project-euler
4b42802233be10e4a592798205171fb5156dae6b
[ "MIT" ]
null
null
null
problems/12.py
christofferaakre/project-euler
4b42802233be10e4a592798205171fb5156dae6b
[ "MIT" ]
null
null
null
import math from decimal import Decimal from main import Solver, list_divisors solver = Solver() def triangle_number(n): return int(n * (n + 1) / 2) def is_triangle_number(x): return ((-1 + math.sqrt(1 + 8 * x)) / 2) % 1 == 0 largest_number_of_divisors = 0 x = 0 i = 1 while largest_number_of_divisors <= 500:...
23.208333
55
0.691203
88
557
4.090909
0.352273
0.177778
0.355556
0.255556
0.216667
0.216667
0.216667
0
0
0
0
0.038549
0.208259
557
23
56
24.217391
0.777778
0
0
0
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0.157895
0.105263
0.368421
0.052632
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
43259e8e7c375fc55442abedd4d41d0a13dbe895
451
py
Python
1478.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
6
2021-04-13T00:33:43.000Z
2022-02-10T10:23:59.000Z
1478.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
null
null
null
1478.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
3
2021-03-23T18:42:24.000Z
2022-02-10T10:24:07.000Z
while True: n = int(input()) if n == 0: break l = 1 o = '+' while l <= n: v = l c = 1 while c <= n: if c != n: print('{:>3}'.format(v), end=' ') else: print('{:>3}'.format(v)) o = '-' if v == 1: o = '+' ...
21.47619
56
0.261641
56
451
2.107143
0.339286
0.050847
0.20339
0.220339
0
0
0
0
0
0
0
0.04878
0.545455
451
20
57
22.55
0.526829
0
0
0
0
0
0.035477
0
0
0
0
0
0
1
0
false
0
0
0
0
0.15
0
0
0
null
0
1
1
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
3
432c39c315ddf844b7d71fd91b7511362986f19f
56,003
py
Python
predstorm/plot.py
helioforecast/Predstorm
f3c02c201ba790261c4fbd42264e3eb91e09ceb3
[ "MIT" ]
8
2020-01-17T22:04:38.000Z
2021-11-18T11:02:23.000Z
predstorm/plot.py
helioforecast/Predstorm
f3c02c201ba790261c4fbd42264e3eb91e09ceb3
[ "MIT" ]
3
2019-04-11T09:39:28.000Z
2019-06-19T12:02:14.000Z
predstorm/plot.py
IWF-helio/PREDSTORM
f3c02c201ba790261c4fbd42264e3eb91e09ceb3
[ "MIT" ]
9
2019-03-15T13:28:42.000Z
2019-11-08T09:12:47.000Z
#!/usr/bin/env python """ This is the module for producing predstorm plots. Author: C. Moestl, R. Bailey, IWF Graz, Austria started May 2019, last update May 2019 Python 3.7 Issues: - ... To-dos: - ... Future steps: - ... """ import os import sys import copy import logging import logging.config import numpy as ...
40.174319
290
0.627252
7,949
56,003
4.262423
0.081897
0.020985
0.018181
0.007674
0.775604
0.74181
0.715749
0.688005
0.656661
0.617112
0
0.021637
0.193704
56,003
1,393
291
40.203159
0.728712
0.238291
0
0.521978
0
0.002747
0.116079
0.015463
0
0
0
0.002872
0
1
0.012363
false
0
0.032967
0
0.052198
0.004121
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a29d5c98270ecac8a5ef68b2b368bd1974fb05d
148
py
Python
nhl/raw/stats/common.py
devinsba/py-nhl
d6f560d9a43cd2b7183ba465e03ee7871365814c
[ "Apache-2.0" ]
null
null
null
nhl/raw/stats/common.py
devinsba/py-nhl
d6f560d9a43cd2b7183ba465e03ee7871365814c
[ "Apache-2.0" ]
null
null
null
nhl/raw/stats/common.py
devinsba/py-nhl
d6f560d9a43cd2b7183ba465e03ee7871365814c
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass SERVER_ADDRESS = "https://statsapi.web.nhl.com" @dataclass(frozen=True) class BaseResponse: copyright: str
16.444444
47
0.77027
18
148
6.277778
0.944444
0
0
0
0
0
0
0
0
0
0
0
0.128378
148
8
48
18.5
0.875969
0
0
0
0
0
0.189189
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4a454289eef15e58ae478c5b593d3115e6fbb5d8
103
py
Python
checkov/serverless/checks/layer/registry.py
antonblr/checkov
9415c6593c537945c08f7a19f28bdd8b96966f67
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
checkov/serverless/checks/layer/registry.py
antonblr/checkov
9415c6593c537945c08f7a19f28bdd8b96966f67
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
checkov/serverless/checks/layer/registry.py
antonblr/checkov
9415c6593c537945c08f7a19f28bdd8b96966f67
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
from checkov.serverless.base_registry import ServerlessRegistry layer_registry = ServerlessRegistry()
25.75
63
0.873786
10
103
8.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.07767
103
3
64
34.333333
0.926316
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4a502776f85861f4e8401bf0df6935a49fb1141d
64
py
Python
script_eater/__init__.py
FoxtrotCore/script-eater
7e64b5e18be1c8a3f947d4e3f7170aaf338ac561
[ "MIT" ]
null
null
null
script_eater/__init__.py
FoxtrotCore/script-eater
7e64b5e18be1c8a3f947d4e3f7170aaf338ac561
[ "MIT" ]
null
null
null
script_eater/__init__.py
FoxtrotCore/script-eater
7e64b5e18be1c8a3f947d4e3f7170aaf338ac561
[ "MIT" ]
null
null
null
branch = "master" version = "2.0.0" from .script_eater import *
16
27
0.6875
10
64
4.3
0.9
0
0
0
0
0
0
0
0
0
0
0.055556
0.15625
64
3
28
21.333333
0.740741
0
0
0
0
0
0.171875
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4a5c929803c7f23da0d1d656a1f299fc3eac2710
3,084
py
Python
epsonprojector/devices/generic.py
eieste/epsonProjector
bbe64cfcd07c821ffd43b771b9e7f337e4dfbf43
[ "MIT" ]
null
null
null
epsonprojector/devices/generic.py
eieste/epsonProjector
bbe64cfcd07c821ffd43b771b9e7f337e4dfbf43
[ "MIT" ]
null
null
null
epsonprojector/devices/generic.py
eieste/epsonProjector
bbe64cfcd07c821ffd43b771b9e7f337e4dfbf43
[ "MIT" ]
null
null
null
from epsonprojector.devices.configurations.load import LoadConfiguration # from epsonprojector.interfaces.generic import GenericInterface from collections import namedtuple ParsedResponse = namedtuple("ParsedResponse", ("command", "parameter", "status")) class GenericDevice: config_file = "" _conf = None ...
31.469388
85
0.623217
322
3,084
5.872671
0.350932
0.033845
0.021153
0.015865
0.077208
0.077208
0.054997
0
0
0
0
0.000469
0.30869
3,084
97
86
31.793814
0.886492
0.385863
0
0.111111
0
0
0.08
0
0
0
0
0.030928
0
1
0.277778
false
0.055556
0.055556
0
0.527778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
4a78fb78b56c0c58bf9d4751bf9eaece05b156c5
230
py
Python
tests/utils/compat.py
mvas/apm-agent-python
f4582e90eb5308b915ca51e2e98620fc22af09ec
[ "BSD-3-Clause" ]
null
null
null
tests/utils/compat.py
mvas/apm-agent-python
f4582e90eb5308b915ca51e2e98620fc22af09ec
[ "BSD-3-Clause" ]
null
null
null
tests/utils/compat.py
mvas/apm-agent-python
f4582e90eb5308b915ca51e2e98620fc22af09ec
[ "BSD-3-Clause" ]
null
null
null
def middleware_setting(django_version, middleware_list): if django_version < (1, 10): return {'MIDDLEWARE_CLASSES': middleware_list} else: return {'MIDDLEWARE': middleware_list, 'MIDDLEWARE_CLASSES': None}
38.333333
74
0.717391
25
230
6.28
0.52
0.267516
0
0
0
0
0
0
0
0
0
0.015873
0.178261
230
5
75
46
0.814815
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a9ab3c6d2b817a099af795c11a7ed7309b68d87
1,557
py
Python
python/linked_list/0023_merge_k_sorted_lists.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
6
2019-07-15T13:23:57.000Z
2020-01-22T03:12:01.000Z
python/linked_list/0023_merge_k_sorted_lists.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
null
null
null
python/linked_list/0023_merge_k_sorted_lists.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
1
2019-07-24T02:15:31.000Z
2019-07-24T02:15:31.000Z
import heapq class ListNode(object): def __init__(self, val=0, next=None): self.val = val self.next = next class CmpNode: def __init__(self, node): self.node = node self.val = node.val def __gt__(self, another): return self.val > another.val class Solution(obj...
23.953846
60
0.540784
214
1,557
3.859813
0.238318
0.280872
0.305085
0.290557
0.22276
0.22276
0.22276
0.200969
0.079903
0.079903
0
0.017459
0.337829
1,557
64
61
24.328125
0.783705
0.028259
0
0
0
0
0
0
0
0
0
0
0.195652
1
0.108696
false
0
0.021739
0.021739
0.26087
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4ac29a44b03de1427f4291796030a4baa95e24ef
751
py
Python
enki/modeltokenverify.py
charlf/enkiWS
789c789b2c0e46dcf568697dc2e46b82512981da
[ "Zlib" ]
1
2021-04-22T15:29:20.000Z
2021-04-22T15:29:20.000Z
enki/modeltokenverify.py
charlf/enkiWS
789c789b2c0e46dcf568697dc2e46b82512981da
[ "Zlib" ]
null
null
null
enki/modeltokenverify.py
charlf/enkiWS
789c789b2c0e46dcf568697dc2e46b82512981da
[ "Zlib" ]
null
null
null
from google.appengine.ext.ndb import model class EnkiModelTokenVerify( model.Model ): token = model.StringProperty() email = model.StringProperty() user_id = model.IntegerProperty() # ndb user ID time_created = model.DateTimeProperty( auto_now_add = True ) type = model.StringProperty( choices = [ 'register', ...
41.722222
81
0.509987
53
751
7.113208
0.698113
0.201592
0
0
0
0
0
0
0
0
0
0
0.416778
751
17
82
44.176471
0.860731
0.062583
0
0
0
0
0.118402
0.029957
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.571429
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
434d3cbb69dc7e957cb0e444a2fbccb16a1cf2b4
277
py
Python
MorseMain.py
JEFMX/Codigo-Morse
a515d0c445eb296e3ef82cd7ccc6fc20f0501899
[ "CC0-1.0" ]
1
2021-03-18T18:15:20.000Z
2021-03-18T18:15:20.000Z
MorseMain.py
JEFMX/Codigo-Morse
a515d0c445eb296e3ef82cd7ccc6fc20f0501899
[ "CC0-1.0" ]
null
null
null
MorseMain.py
JEFMX/Codigo-Morse
a515d0c445eb296e3ef82cd7ccc6fc20f0501899
[ "CC0-1.0" ]
null
null
null
#enconding: utf-8 from ObenedorDeEntrada import ObtenedorDeEntrada from ProcesadorDeEntrada import ProcesadorDeEntrada if __name__== "__main__": entrada = ObtenedorDeEntrada() procesador = ProcesadorDeEntrada() procesador.procesarEntrada(entrada.getEntrada())
39.571429
52
0.794224
22
277
9.636364
0.681818
0
0
0
0
0
0
0
0
0
0
0.004167
0.133574
277
7
53
39.571429
0.879167
0.057762
0
0
0
0
0.031373
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4369567b366c848a10879285cc44e397d683a0d0
305
py
Python
test.py
aqeelahmad/python-units-of-measure
436829f7aeeec75999bece3736f0eb4e39daf0ad
[ "MIT" ]
3
2015-08-10T14:32:42.000Z
2020-01-27T17:23:58.000Z
test.py
aqeelahmad/python-units-of-measure
436829f7aeeec75999bece3736f0eb4e39daf0ad
[ "MIT" ]
null
null
null
test.py
aqeelahmad/python-units-of-measure
436829f7aeeec75999bece3736f0eb4e39daf0ad
[ "MIT" ]
2
2019-10-28T13:45:18.000Z
2020-06-26T10:55:26.000Z
import unittest # (The lines below are "imported but unused", but that's ok # unittest main runs all the imported modules. # import all the test objects here, to run them from tests.PhysicalQuantityTest import PhysicalQuantityTest #from tests.UnitOfMeasureTest import UnitOfMeasureTest unittest.main()
27.727273
59
0.806557
41
305
6
0.634146
0.097561
0
0
0
0
0
0
0
0
0
0
0.140984
305
11
60
27.727273
0.938931
0.659016
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
437ec59598314e507f9887e5f4fc2f98434b71bf
640
py
Python
Advanced Topics/Decorators.py
srp98/Python-Stuff
fade8934718e01a3d30cf9db93515b8f02a20b18
[ "MIT" ]
null
null
null
Advanced Topics/Decorators.py
srp98/Python-Stuff
fade8934718e01a3d30cf9db93515b8f02a20b18
[ "MIT" ]
null
null
null
Advanced Topics/Decorators.py
srp98/Python-Stuff
fade8934718e01a3d30cf9db93515b8f02a20b18
[ "MIT" ]
1
2019-10-31T03:16:04.000Z
2019-10-31T03:16:04.000Z
class Current: def __init__(self): self._voltage = 100000 @property def voltage(self): """" Get the current voltage""" return self._voltage class Pizza(object): def __init__(self): self.toppings = [] def __call__(self, topping): # when using '@instance_of_...
16
104
0.625
76
640
5
0.434211
0.094737
0.057895
0.078947
0
0
0
0
0
0
0
0.016878
0.259375
640
39
105
16.410256
0.78481
0.189063
0
0.173913
0
0
0.021443
0
0
0
0
0
0
1
0.304348
false
0
0
0.130435
0.565217
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
43a6b4262c5578895cecea6af4a80b47401a9d8e
100
py
Python
transform/gdc/defaults.py
ohsu-comp-bio/gen3-etl
9114f75cc8c8085111152ce0ef686a8a12f67f8e
[ "MIT" ]
1
2020-01-22T17:05:58.000Z
2020-01-22T17:05:58.000Z
transform/gdc/defaults.py
ohsu-comp-bio/gen3-etl
9114f75cc8c8085111152ce0ef686a8a12f67f8e
[ "MIT" ]
2
2019-02-08T23:24:58.000Z
2021-05-13T22:42:28.000Z
transform/gdc/defaults.py
ohsu-comp-bio/gen3_etl
9114f75cc8c8085111152ce0ef686a8a12f67f8e
[ "MIT" ]
null
null
null
DEFAULT_OUTPUT_DIR = 'output/gdc' DEFAULT_EXPERIMENT_CODE = 'gdc' DEFAULT_PROJECT_ID = 'smmart-gdc'
25
33
0.8
14
100
5.285714
0.642857
0.27027
0
0
0
0
0
0
0
0
0
0
0.09
100
3
34
33.333333
0.813187
0
0
0
0
0
0.23
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43de10fe3abc51ebbaf471797873704b20f65773
5,729
py
Python
cowsay/lib/cows/mona_lisa.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/mona_lisa.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/mona_lisa.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
def Mona_lisa(thoughts, eyes, eye, tongue): return f""" {thoughts} {thoughts} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!>''''''<!!!!!!!!!!!!!!!!!!!!!!...
75.381579
116
0.027404
69
5,729
2.26087
0.405797
0.038462
0
0
0
0
0
0
0
0
0
0.000531
0.341944
5,729
76
117
75.381579
0.040849
0
0
0.054054
0
0
0.961431
0.440489
0
0
0
0
0
1
0.013514
false
0
0
0.013514
0.027027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43df9ad06dbcde4685ab6b8dc808f7fe64079223
353
py
Python
ticktick/managers/settings.py
prnake/ticktick-py
33f2131deca65dc322f0c6a8447c50122fa9006b
[ "MIT" ]
null
null
null
ticktick/managers/settings.py
prnake/ticktick-py
33f2131deca65dc322f0c6a8447c50122fa9006b
[ "MIT" ]
null
null
null
ticktick/managers/settings.py
prnake/ticktick-py
33f2131deca65dc322f0c6a8447c50122fa9006b
[ "MIT" ]
null
null
null
class SettingsManager: def __init__(self, client_class): self._client = client_class self.access_token = '' def get_templates(self): # https://api.dida365.com/api/v2/templates pass def get_user_settings(self): # https://api.dida365.com/api/v2/user/preferences/setti...
25.214286
82
0.651558
43
353
5.093023
0.488372
0.091324
0.136986
0.173516
0.246575
0.246575
0.246575
0
0
0
0
0.02974
0.23796
353
13
83
27.153846
0.784387
0.320113
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0.25
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
602de935be06a22f5ac8826f1b5ff109a77878fe
783
py
Python
monitoringProxy/utils.py
juliozinga/FIWARELab-monitoringAPI
5a411de0a59f4408b4ed1a7e58b550b227e4975c
[ "Apache-2.0" ]
null
null
null
monitoringProxy/utils.py
juliozinga/FIWARELab-monitoringAPI
5a411de0a59f4408b4ed1a7e58b550b227e4975c
[ "Apache-2.0" ]
null
null
null
monitoringProxy/utils.py
juliozinga/FIWARELab-monitoringAPI
5a411de0a59f4408b4ed1a7e58b550b227e4975c
[ "Apache-2.0" ]
null
null
null
import time from datetime import timedelta, tzinfo def get_timestamp(origin_datetime=None): ''' Return UNIX timestamp from datetime object :param origin_datetime: Origin date to convert to timestamp :type origin_datetime: datetime :return: The corresponding UNIX timestamp for date passed as paramet...
24.46875
111
0.662835
98
783
5.234694
0.469388
0.136452
0.070175
0.062378
0.077973
0
0
0
0
0
0
0.001718
0.256705
783
32
112
24.46875
0.879725
0.365262
0
0.125
0
0
0.011086
0
0
0
0
0
0
1
0.25
false
0
0.125
0.1875
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
1
0
0
0
1
1
0
0
3
60449dcb42f663b022c8428c5c4e23abac0cc522
340
py
Python
sourcemon/model/servermodel.py
michaelimfeld/sourcemon
45be21fcab6377f25bee63430600283b381b2265
[ "MIT" ]
1
2015-12-22T19:16:36.000Z
2015-12-22T19:16:36.000Z
sourcemon/model/servermodel.py
michaelimfeld/sourcemon
45be21fcab6377f25bee63430600283b381b2265
[ "MIT" ]
null
null
null
sourcemon/model/servermodel.py
michaelimfeld/sourcemon
45be21fcab6377f25bee63430600283b381b2265
[ "MIT" ]
null
null
null
""" Database model for sourcemod server """ from peewee import IntegerField, ForeignKeyField from sourcemon.model.basemodel import BaseModel from sourcemon.model.ipmodel import IPModel class ServerModel(BaseModel): """ Database model for sourcemod server """ ip = ForeignKeyField(IPModel) po...
24.285714
48
0.735294
35
340
7.142857
0.485714
0.104
0.128
0.2
0.248
0
0
0
0
0
0
0
0.188235
340
13
49
26.153846
0.905797
0.208824
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
605cca585c607197433e07668b41e274ee1aae96
290
py
Python
config/base.py
macic/pyboi
dc7dd77165612c149785411ea8b61e4f632d2df7
[ "MIT" ]
null
null
null
config/base.py
macic/pyboi
dc7dd77165612c149785411ea8b61e4f632d2df7
[ "MIT" ]
null
null
null
config/base.py
macic/pyboi
dc7dd77165612c149785411ea8b61e4f632d2df7
[ "MIT" ]
null
null
null
import os api_key = os.getenv('binance_key') api_secret = os.getenv('binance_secret') db_host = os.getenv('pqsl_db_host') db_user = os.getenv('pqsl_db_user') db_pw = os.getenv('pqsl_db_pw') db_name = os.getenv('pqsl_db_name') db_url=f'postgresql://{db_user}:{db_pw}@{db_host}/{db_name}'
24.166667
60
0.734483
54
290
3.555556
0.296296
0.25
0.25
0.291667
0
0
0
0
0
0
0
0
0.082759
290
11
61
26.363636
0.721805
0
0
0
0
0
0.418685
0.17301
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6064e5c861d53fd1967e60c602a1ae7111089af4
179
py
Python
__main__.py
mynameismon/kindle_clippings_manager
3ad6f83ec3f8b4e37f3bc96c765eea4bb55f4465
[ "MIT" ]
null
null
null
__main__.py
mynameismon/kindle_clippings_manager
3ad6f83ec3f8b4e37f3bc96c765eea4bb55f4465
[ "MIT" ]
null
null
null
__main__.py
mynameismon/kindle_clippings_manager
3ad6f83ec3f8b4e37f3bc96c765eea4bb55f4465
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """This module provides RP Contacts entry point script.""" from src.__init__ import main if __name__ == "__main__": main()
17.9
58
0.653631
24
179
4.375
0.916667
0
0
0
0
0
0
0
0
0
0
0.013699
0.184358
179
10
59
17.9
0.705479
0.536313
0
0
0
0
0.103896
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1
0
1
0
0
0
0
3
606b25903613d3e458532fd71d4136ee8837016e
2,311
py
Python
Creat AGI-PRIME/creat_single_rule_match.py
agi-hub/AGI-PRIME-dataset
2d96c49f85382a254057fd7c5d33b7d114f6cfa3
[ "MIT" ]
null
null
null
Creat AGI-PRIME/creat_single_rule_match.py
agi-hub/AGI-PRIME-dataset
2d96c49f85382a254057fd7c5d33b7d114f6cfa3
[ "MIT" ]
null
null
null
Creat AGI-PRIME/creat_single_rule_match.py
agi-hub/AGI-PRIME-dataset
2d96c49f85382a254057fd7c5d33b7d114f6cfa3
[ "MIT" ]
null
null
null
import os import json import random import util import shutil random.seed(2021) def main(): IST = 'Single-rule Learning' json_data_list = {} path='./data/' if not os.path.exists(path): os.mkdir(path) path=path + 'single_rule_match_train/' if not os.path.exists(path): ...
35.015152
93
0.639983
347
2,311
3.991354
0.233429
0.231047
0.329242
0.184838
0.557401
0.557401
0.557401
0.516968
0.516968
0.470758
0
0.021265
0.226742
2,311
66
94
35.015152
0.753777
0.102553
0
0.142857
0
0
0.130673
0.01197
0
0
0
0
0
1
0.020408
false
0
0.102041
0
0.122449
0.061224
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
607365caebe15c29bf1fd4872b2528ec9b8e00ab
1,974
py
Python
Aspect based Senti analysis/aspect_categorization/word_grouping/seq_matcher.py
hixio-mh/Aspect-Based-Sentiment-Analysis
3527dd7c36f6b57f41ba02157d47cfdb7b84a286
[ "MIT" ]
1
2017-12-22T15:34:34.000Z
2017-12-22T15:34:34.000Z
Aspect based Senti analysis/aspect_categorization/word_grouping/seq_matcher.py
pranithkumar/Aspect-Based-Sentiment-Analysis
55355b8c38f1a0d8ed67665cce0901d8b3e002cd
[ "MIT" ]
12
2017-12-29T12:13:07.000Z
2022-03-11T23:19:24.000Z
Aspect based Senti analysis/aspect_categorization/word_grouping/seq_matcher.py
hixio-mh/Aspect-Based-Sentiment-Analysis
3527dd7c36f6b57f41ba02157d47cfdb7b84a286
[ "MIT" ]
1
2017-12-19T09:49:52.000Z
2017-12-19T09:49:52.000Z
from difflib import SequenceMatcher def similar(a, b): return SequenceMatcher(None, a, b).ratio() choices = ['', 'con i', 'battery untill', 'looks', 'touch', 'speed', 'dont', 'update i', 'situations', 'window', 'winner', 'ram management', 'feel', 'charge', 'usage', 'camera quality', 'damages', 'case', 'advantage'...
141
1,679
0.628166
227
1,974
5.462555
0.700441
0.003226
0.029032
0
0
0
0
0
0
0
0
0.004021
0.118034
1,974
14
1,680
141
0.708214
0
0
0
0
0
0.549873
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.272727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
6079184c859cc811898a8f2628356e1a3ce41f30
178
py
Python
macroPi/__init__.py
stefankablowski/macroPi
c9b64077ac9d3b185c7a16c89c6ffab675b50cfd
[ "MIT" ]
null
null
null
macroPi/__init__.py
stefankablowski/macroPi
c9b64077ac9d3b185c7a16c89c6ffab675b50cfd
[ "MIT" ]
null
null
null
macroPi/__init__.py
stefankablowski/macroPi
c9b64077ac9d3b185c7a16c89c6ffab675b50cfd
[ "MIT" ]
null
null
null
from keys import record, replay from store import store_key_events, load_key_events, __init__ arr = record() print(arr) store_key_events(arr) for elem in arr: print(elem[0])
22.25
61
0.775281
30
178
4.266667
0.533333
0.210938
0.21875
0
0
0
0
0
0
0
0
0.006536
0.140449
178
8
62
22.25
0.830065
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.285714
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
60807a2a39d15da5a7257d0d73ad73c39ce01414
316
py
Python
libs/applibs/dialogs/__init__.py
flytrue/testapp
74d75e8761634aa8ce69d48f589d1f7a6b4d79ae
[ "MIT" ]
null
null
null
libs/applibs/dialogs/__init__.py
flytrue/testapp
74d75e8761634aa8ce69d48f589d1f7a6b4d79ae
[ "MIT" ]
null
null
null
libs/applibs/dialogs/__init__.py
flytrue/testapp
74d75e8761634aa8ce69d48f589d1f7a6b4d79ae
[ "MIT" ]
1
2018-09-20T19:32:17.000Z
2018-09-20T19:32:17.000Z
# -*- coding: utf-8 -*- ''' VKGroups Copyright © 2010-2018 HeaTTheatR Для предложений и вопросов: <kivydevelopment@gmail.com> Данный файл распространяется по условиям той же лицензии, что и фреймворк Kivy. ''' from . selection import Selection from . dialogs import card, dialog, dialog_progress, input_dialog
17.555556
65
0.756329
41
316
5.804878
0.853659
0
0
0
0
0
0
0
0
0
0
0.033582
0.151899
316
17
66
18.588235
0.850746
0.642405
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
6083ee05382ce8abd7a9ef4444d07c16fd128bd1
68
py
Python
AtCoder/ABC/000-159/ABC142_A.py
sireline/PyCode
8578467710c3c1faa89499f5d732507f5d9a584c
[ "MIT" ]
null
null
null
AtCoder/ABC/000-159/ABC142_A.py
sireline/PyCode
8578467710c3c1faa89499f5d732507f5d9a584c
[ "MIT" ]
null
null
null
AtCoder/ABC/000-159/ABC142_A.py
sireline/PyCode
8578467710c3c1faa89499f5d732507f5d9a584c
[ "MIT" ]
null
null
null
A = int(input()) print(len([n for n in range(1,A+1) if n %2!=0])/A)
22.666667
50
0.558824
18
68
2.111111
0.722222
0
0
0
0
0
0
0
0
0
0
0.070175
0.161765
68
2
51
34
0.596491
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
60869b43ef323ba45971a70ee3ff8b554afd1e64
217
py
Python
fitnessFolks/blog/urls.py
Programming-Club-Ahmedabad-University/wellness
4cc06497ce2f2a6019c0fa4595940703605ffb0a
[ "MIT" ]
1
2020-10-07T09:51:01.000Z
2020-10-07T09:51:01.000Z
fitnessFolks/blog/urls.py
Programming-Club-Ahmedabad-University/wellness
4cc06497ce2f2a6019c0fa4595940703605ffb0a
[ "MIT" ]
1
2020-10-15T07:58:16.000Z
2020-10-15T07:58:16.000Z
fitnessFolks/blog/urls.py
Programming-Club-Ahmedabad-University/wellness
4cc06497ce2f2a6019c0fa4595940703605ffb0a
[ "MIT" ]
2
2020-10-07T07:48:18.000Z
2021-07-16T04:22:44.000Z
from django.urls import path from .views import post_list_view, post_detail_view urlpatterns = [ path('blog/', post_list_view, name='blog'), path('blog/<slug:slug>/', post_detail_view, name='post_detail'), ]
27.125
68
0.723502
32
217
4.625
0.4375
0.202703
0.162162
0
0
0
0
0
0
0
0
0
0.129032
217
8
69
27.125
0.783069
0
0
0
0
0
0.169725
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
60881ed419c7dc5820b8a06ee34bdf29a02fac4f
265
py
Python
api/goods/migrations/0018_merge_20201127_1102.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
null
null
null
api/goods/migrations/0018_merge_20201127_1102.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
null
null
null
api/goods/migrations/0018_merge_20201127_1102.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
null
null
null
# Generated by Django 2.2.16 on 2020-11-27 11:02 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("goods", "0016_auto_20201123_0332"), ("goods", "0017_auto_20201124_1613"), ] operations = []
18.928571
48
0.656604
33
265
5.090909
0.787879
0
0
0
0
0
0
0
0
0
0
0.231884
0.218868
265
13
49
20.384615
0.57971
0.173585
0
0
1
0
0.258065
0.211982
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6094a7d9cf2e49911f792766d99c4d279b2e10c7
6,499
py
Python
mmtbx/scaling/__init__.py
hbrunie/cctbx_project
2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5
[ "BSD-3-Clause-LBNL" ]
2
2021-03-18T12:31:57.000Z
2022-03-14T06:27:06.000Z
mmtbx/scaling/__init__.py
hbrunie/cctbx_project
2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/scaling/__init__.py
hbrunie/cctbx_project
2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5
[ "BSD-3-Clause-LBNL" ]
1
2021-03-26T12:52:30.000Z
2021-03-26T12:52:30.000Z
""" Base module for Xtriage and related scaling functionality; this imports the Boost.Python extensions into the local namespace, and provides core functions for displaying the results of Xtriage. """ from __future__ import absolute_import, division, print_function import cctbx.array_family.flex # import dependency f...
26.635246
80
0.68549
895
6,499
4.826816
0.236872
0.059954
0.08125
0.071759
0.413889
0.311574
0.176852
0.144444
0.11713
0.073611
0
0.001163
0.206032
6,499
243
81
26.744856
0.836047
0.237883
0
0.473282
0
0
0.013522
0
0
0
0
0
0.022901
1
0.381679
false
0.114504
0.076336
0.015267
0.541985
0.091603
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
60b48ef4664313247f6f73e2eb5c349625ba0d6d
3,469
py
Python
scripts/external_libs/scapy-2.4.3/scapy/layers/tls/__init__.py
timgates42/trex-core
efe94752fcb2d0734c83d4877afe92a3dbf8eccd
[ "Apache-2.0" ]
956
2015-06-24T15:04:55.000Z
2022-03-30T06:25:04.000Z
scripts/external_libs/scapy-2.4.3/scapy/layers/tls/__init__.py
angelyouyou/trex-core
fddf78584cae285d9298ef23f9f5c8725e16911e
[ "Apache-2.0" ]
782
2015-09-20T15:19:00.000Z
2022-03-31T23:52:05.000Z
scripts/external_libs/scapy-2.4.3/scapy/layers/tls/__init__.py
angelyouyou/trex-core
fddf78584cae285d9298ef23f9f5c8725e16911e
[ "Apache-2.0" ]
429
2015-06-27T19:34:21.000Z
2022-03-23T11:02:51.000Z
# This file is part of Scapy # Copyright (C) 2007, 2008, 2009 Arnaud Ebalard <arno@natisbad.com> # 2015, 2016, 2017 Maxence Tury <maxence.tury@ssi.gouv.fr> # This program is published under a GPLv2 license """ Tools for handling TLS sessions and digital certificates. Use load_layer('tls') to load them to...
34.69
78
0.705967
496
3,469
4.919355
0.542339
0.014754
0.004098
0
0
0
0
0
0
0
0
0.017464
0.240703
3,469
99
79
35.040404
0.908884
0.919573
0
0
0
0
0.358209
0
0
0
0
0.010101
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
60bafacde9691f3785199dbb0aaa71a6c89ad956
165
py
Python
quickreplies/models.py
praekeltfoundation/reminder-scheduler
02ec6fde57883b276d16ca3524bd0202813c8fb2
[ "BSD-3-Clause" ]
null
null
null
quickreplies/models.py
praekeltfoundation/reminder-scheduler
02ec6fde57883b276d16ca3524bd0202813c8fb2
[ "BSD-3-Clause" ]
null
null
null
quickreplies/models.py
praekeltfoundation/reminder-scheduler
02ec6fde57883b276d16ca3524bd0202813c8fb2
[ "BSD-3-Clause" ]
null
null
null
from django.db import models class QuickReplyDestination(models.Model): url = models.URLField() hmac_secret = models.CharField(max_length=255, blank=True)
23.571429
62
0.763636
21
165
5.904762
0.857143
0
0
0
0
0
0
0
0
0
0
0.021127
0.139394
165
6
63
27.5
0.852113
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
60c26d4b0096829edb6a95bd327e12271cc0494b
48
py
Python
neuroml/nml/config.py
NeuralEnsemble/libNeuroML
75d1630a0c6354a3997c4068dc8cdc447491b6f8
[ "BSD-3-Clause" ]
20
2015-03-11T11:21:32.000Z
2021-10-11T16:03:27.000Z
neuroml/nml/config.py
NeuralEnsemble/libNeuroML
75d1630a0c6354a3997c4068dc8cdc447491b6f8
[ "BSD-3-Clause" ]
48
2015-01-15T18:41:01.000Z
2022-01-05T13:53:58.000Z
neuroml/nml/config.py
NeuralEnsemble/libNeuroML
75d1630a0c6354a3997c4068dc8cdc447491b6f8
[ "BSD-3-Clause" ]
16
2015-01-14T21:53:46.000Z
2019-09-04T23:05:27.000Z
variables = {"schema_name": "NeuroML_v2.2.xsd"}
24
47
0.708333
7
48
4.571429
1
0
0
0
0
0
0
0
0
0
0
0.045455
0.083333
48
1
48
48
0.681818
0
0
0
0
0
0.5625
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
60c75e4ba343d77630741c129fff874ee7aabd3a
856
py
Python
discovery-provider/src/api/v1/models/challenges.py
Tenderize/audius-protocol
aa15844e3f12812fe8aaa81e2cb6e5c5fa89ff51
[ "Apache-2.0" ]
1
2022-03-27T21:40:36.000Z
2022-03-27T21:40:36.000Z
discovery-provider/src/api/v1/models/challenges.py
Tenderize/audius-protocol
aa15844e3f12812fe8aaa81e2cb6e5c5fa89ff51
[ "Apache-2.0" ]
null
null
null
discovery-provider/src/api/v1/models/challenges.py
Tenderize/audius-protocol
aa15844e3f12812fe8aaa81e2cb6e5c5fa89ff51
[ "Apache-2.0" ]
null
null
null
from flask_restx import fields from .common import ns attestation = ns.model( "attestation", { "owner_wallet": fields.String(required=True), "attestation": fields.String(required=True), }, ) undisbursed_challenge = ns.model( "undisbursed_challenge", { "challenge_id": field...
25.939394
63
0.651869
87
856
6.275862
0.298851
0.241758
0.3663
0.43956
0.446886
0.296703
0.296703
0.296703
0.296703
0.296703
0
0
0.209112
856
32
64
26.75
0.806499
0
0
0.142857
0
0
0.198598
0.078271
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
60ce67b7e2b24cc2a97190b453defc65ccef1e84
1,350
py
Python
tests/test_enter.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
null
null
null
tests/test_enter.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
2
2017-09-05T11:12:05.000Z
2017-09-07T19:23:15.000Z
tests/test_enter.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
null
null
null
# #!/usr/bin/python # -*- coding: utf-8 -*- # pylint: disable=line-too-long,missing-docstring,bad-whitespace import sys import os import unittest DIRNAME_MODULE = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0])))) + os.sep sys.path.append(DIRNAME_MODULE) sys.path.append(DIRNAME_MODULE +...
24.107143
106
0.713333
187
1,350
5.048128
0.390374
0.144068
0.177966
0.047669
0.227754
0.115466
0.047669
0.047669
0
0
0
0.011009
0.192593
1,350
55
107
24.545455
0.855046
0.074815
0
0.105263
0
0
0.020934
0
0
0
0
0
0.026316
1
0.105263
false
0.052632
0.526316
0
0.657895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
60ef24190e5796fe94aa6d0c84e7cc01d9ab2f7e
174
py
Python
CURSO UDEMY/TEORICAS/1.py
CamilliCerutti/Exercicios-de-Python-curso-em-video
6571a5c5cb7b4398352a7778c55588c0c16f13c2
[ "MIT" ]
null
null
null
CURSO UDEMY/TEORICAS/1.py
CamilliCerutti/Exercicios-de-Python-curso-em-video
6571a5c5cb7b4398352a7778c55588c0c16f13c2
[ "MIT" ]
null
null
null
CURSO UDEMY/TEORICAS/1.py
CamilliCerutti/Exercicios-de-Python-curso-em-video
6571a5c5cb7b4398352a7778c55588c0c16f13c2
[ "MIT" ]
null
null
null
# STRING: nome print('Camilli', type('Camilli')) # INT: idade print(17, type(17)) # # ALTURA: float print(1.58, type(1.58)) # É MAIOR DE IDADE: bool print(bool(17 > 18))
15.818182
33
0.632184
29
174
3.793103
0.586207
0.054545
0
0
0
0
0
0
0
0
0
0.096552
0.166667
174
11
34
15.818182
0.662069
0.362069
0
0
0
0
0.132075
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
0
0
0
1
0
3
88031728853823161b5a425023b70cdeff85ee1f
190
py
Python
angelo/problem_9.py
giovannilambertucci/github-learning
9d99ae0b4d77bf4464ce974a903c1a225aeb1d0a
[ "MIT" ]
null
null
null
angelo/problem_9.py
giovannilambertucci/github-learning
9d99ae0b4d77bf4464ce974a903c1a225aeb1d0a
[ "MIT" ]
4
2018-10-09T20:55:26.000Z
2020-10-16T18:33:01.000Z
angelo/problem_9.py
giovannilambertucci/github-learning
9d99ae0b4d77bf4464ce974a903c1a225aeb1d0a
[ "MIT" ]
8
2018-10-06T16:39:22.000Z
2021-10-20T19:41:53.000Z
#!/usr/bin/python3 for a in range(1, 400): for b in range(1, 400): c = (1000 - a) - b if a < b < c: if a**2 + b**2 == c**2: print(a * b * c)
21.111111
35
0.373684
34
190
2.088235
0.441176
0.084507
0.225352
0.309859
0
0
0
0
0
0
0
0.150943
0.442105
190
8
36
23.75
0.518868
0.089474
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
880be01962e805216657469d5d33f6977bef9b89
155
py
Python
emergency/ui.py
dmonroy/911
217bb336903495370ff1374606823c5473a0cf70
[ "MIT" ]
null
null
null
emergency/ui.py
dmonroy/911
217bb336903495370ff1374606823c5473a0cf70
[ "MIT" ]
null
null
null
emergency/ui.py
dmonroy/911
217bb336903495370ff1374606823c5473a0cf70
[ "MIT" ]
null
null
null
from chilero import web class HomeView(web.View): def get(self): return web.Response('This is the home!') routes = [ ['', HomeView] ]
11.923077
48
0.606452
20
155
4.7
0.85
0
0
0
0
0
0
0
0
0
0
0
0.258065
155
12
49
12.916667
0.817391
0
0
0
0
0
0.109677
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.571429
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
1
1
0
0
3
7150600aaa110110306719c5b7be299f067d0fba
265
py
Python
djangoProject3/giris/urls.py
abdullahturkak/Django-pc-login-and-show
8de1c33f30ff3e501ee4fa57f45e0752f7092d1f
[ "Apache-2.0" ]
null
null
null
djangoProject3/giris/urls.py
abdullahturkak/Django-pc-login-and-show
8de1c33f30ff3e501ee4fa57f45e0752f7092d1f
[ "Apache-2.0" ]
null
null
null
djangoProject3/giris/urls.py
abdullahturkak/Django-pc-login-and-show
8de1c33f30ff3e501ee4fa57f45e0752f7092d1f
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views from django.urls import path from django.urls import path urlpatterns = [ path('', views.ilksayfa,name='ilksayfa'), path('ekle',views.ekle,name='ekle'), path('getir',views.index,name='getir'), ]
13.947368
45
0.679245
36
265
5
0.333333
0.166667
0.233333
0.333333
0.422222
0.311111
0
0
0
0
0
0
0.169811
265
18
46
14.722222
0.818182
0
0
0.333333
0
0
0.098113
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7160d489a58b25d7b87e2d37c20b94c78c28e43c
57
py
Python
example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton Compton wavelength.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton Compton wavelength.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/P/proton Compton wavelength.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
constants.physical_constants["proton Compton wavelength"]
57
57
0.877193
6
57
8.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.035088
57
1
57
57
0.890909
0
0
0
0
0
0.431034
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
717d6b8beae77248154db43634235c684600256e
293
py
Python
helpers/collect.py
dan-candeira/api_backend
b2670ede792634cb1982f0a809ef70fc4e2e21d1
[ "MIT" ]
2
2020-09-11T01:41:06.000Z
2022-01-26T11:09:00.000Z
helpers/collect.py
dan-candeira/api_backend
b2670ede792634cb1982f0a809ef70fc4e2e21d1
[ "MIT" ]
null
null
null
helpers/collect.py
dan-candeira/api_backend
b2670ede792634cb1982f0a809ef70fc4e2e21d1
[ "MIT" ]
2
2020-10-10T21:15:33.000Z
2021-12-06T18:02:03.000Z
from models.collect import Collect from helpers.patient import validate_patient from helpers.equipment import validate_equipment async def validate_collect(collect: Collect): await validate_patient(collect.patient) await validate_equipment(collect.equipment) return collect
26.636364
48
0.8157
35
293
6.685714
0.342857
0.094017
0
0
0
0
0
0
0
0
0
0
0.139932
293
11
49
26.636364
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.428571
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
1
0
1
0
1
0
0
3
717f1f70265be6bc5f941c4217513b3ab2e45ef1
407
py
Python
lib/python3.7/site-packages/pydantic/__init__.py
guilhermeginezsilva/python-products-api
b27327f64359801edcd858263e39fe8bc8c0b0f7
[ "BSD-3-Clause" ]
null
null
null
lib/python3.7/site-packages/pydantic/__init__.py
guilhermeginezsilva/python-products-api
b27327f64359801edcd858263e39fe8bc8c0b0f7
[ "BSD-3-Clause" ]
null
null
null
lib/python3.7/site-packages/pydantic/__init__.py
guilhermeginezsilva/python-products-api
b27327f64359801edcd858263e39fe8bc8c0b0f7
[ "BSD-3-Clause" ]
null
null
null
# flake8: noqa from . import dataclasses from .class_validators import validator from .env_settings import BaseSettings from .error_wrappers import ValidationError from .errors import * from .fields import Required from .main import BaseConfig, BaseModel, Extra, compiled, create_model, validate_model from .parse import...
31.307692
86
0.823096
53
407
6.226415
0.566038
0.060606
0
0
0
0
0
0
0
0
0
0.002817
0.127764
407
12
87
33.916667
0.926761
0.029484
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
71acf177ad960023e1438bf52e631fc9a6602f6a
619
py
Python
product_information/product_data.py
BVT-Engineering/Product_Information
7b9c6d9bbb3d68ac9c1e4b606e96196f4ee1cd4b
[ "Apache-2.0" ]
null
null
null
product_information/product_data.py
BVT-Engineering/Product_Information
7b9c6d9bbb3d68ac9c1e4b606e96196f4ee1cd4b
[ "Apache-2.0" ]
null
null
null
product_information/product_data.py
BVT-Engineering/Product_Information
7b9c6d9bbb3d68ac9c1e4b606e96196f4ee1cd4b
[ "Apache-2.0" ]
null
null
null
import pandas as pd from . import data import importlib.resources def autex_frontier_acoustic_fins(): """Return a dataframe containing Autex frontier acoustic fin data""" path = importlib.resources.open_text(data, "Autex Frontier Acoustic Fins.csv") return pd.read_csv(path) def tracklok(): """Retur...
23.807692
82
0.726979
82
619
5.378049
0.304878
0.163265
0.142857
0.176871
0.575964
0.575964
0.526077
0.326531
0.326531
0.326531
0
0
0.168013
619
25
83
24.76
0.856311
0.242326
0
0.25
0
0
0.121413
0
0
0
0
0
0
1
0.25
false
0
0.5
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
71afa04ef8d0f57669ca0f129f2c50b754e901ac
365
py
Python
0-notes/job-search/Cracking the Coding Interview/C04TreesGraphs/questions/4.12-questions.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
0-notes/job-search/Cracking the Coding Interview/C04TreesGraphs/questions/4.12-questions.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
0-notes/job-search/Cracking the Coding Interview/C04TreesGraphs/questions/4.12-questions.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
# 4.12 Paths with Sum # You are given a binary tree in which each node contains an integer value # which might be positive or negative. # Design an algorithm to count the number of paths that sum to a given value. # The path does not need to start or end at the root or a leaf, but it must go # downwards, trav...
45.625
78
0.739726
68
365
3.970588
0.764706
0
0
0
0
0
0
0
0
0
0
0.010638
0.227397
365
7
79
52.142857
0.946809
0.939726
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
71e5fc3a02f133ded42284d60f5db450de4aea77
204
py
Python
setup.py
KyungMinJin/Pointnet
ac18b074d1ab9067ad923bbea2dab524f76b8b09
[ "MIT" ]
null
null
null
setup.py
KyungMinJin/Pointnet
ac18b074d1ab9067ad923bbea2dab524f76b8b09
[ "MIT" ]
null
null
null
setup.py
KyungMinJin/Pointnet
ac18b074d1ab9067ad923bbea2dab524f76b8b09
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='pointnet', packages=['pointnet'], package_dir={'pointnet': 'pointnet'}, install_requires=['torch', 'tqdm', 'plyfile'], version='0.0.1')
20.4
52
0.622549
22
204
5.681818
0.772727
0
0
0
0
0
0
0
0
0
0
0.018182
0.191176
204
9
53
22.666667
0.739394
0
0
0
0
0
0.262376
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e08224d680f298b0c62c7c66f4ee253b21125106
578
py
Python
tests/meeshkan/nlp/test_gib_detector.py
meeshkan/meeshkan-nlp
63ef1e0ef31fd9c2031c89e9fd6ca3fc46eef13e
[ "MIT" ]
1
2020-04-02T08:02:33.000Z
2020-04-02T08:02:33.000Z
tests/meeshkan/nlp/test_gib_detector.py
meeshkan/meeshkan-nlp
63ef1e0ef31fd9c2031c89e9fd6ca3fc46eef13e
[ "MIT" ]
9
2020-03-24T21:09:16.000Z
2020-07-24T09:58:11.000Z
tests/meeshkan/nlp/test_gib_detector.py
meeshkan/meeshkan-nlp
63ef1e0ef31fd9c2031c89e9fd6ca3fc46eef13e
[ "MIT" ]
null
null
null
from meeshkan.nlp.ids.gib_detect import GibberishDetector def test_gib_detector(): detector = GibberishDetector() assert not detector.is_gibberish("gibberish") assert not detector.is_gibberish("gibberish text") assert not detector.is_gibberish("gibberish_text_with_underscores") assert not detecto...
36.125
71
0.778547
71
578
6.140845
0.338028
0.183486
0.348624
0.261468
0.552752
0.488532
0.40367
0.309633
0
0
0
0.013834
0.124567
578
15
72
38.533333
0.847826
0
0
0
0
0
0.235294
0.138408
0
0
0
0
0.727273
1
0.090909
false
0
0.090909
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
e093c9bb33cc079afd8c352a399d3a4910427a85
463
py
Python
GA/baseline/mtsp/routemanager.py
Tricker-z/CSE5001-GA-mTSP
108916cafecbe325302dbce4ddd07c477a0c5f79
[ "Apache-2.0" ]
3
2021-12-14T00:46:55.000Z
2021-12-19T08:41:21.000Z
GA/baseline/mtsp/routemanager.py
Tricker-z/CSE5001-GA-mTSP
108916cafecbe325302dbce4ddd07c477a0c5f79
[ "Apache-2.0" ]
null
null
null
GA/baseline/mtsp/routemanager.py
Tricker-z/CSE5001-GA-mTSP
108916cafecbe325302dbce4ddd07c477a0c5f79
[ "Apache-2.0" ]
null
null
null
''' Holds all the dustbin objects and is used for creation of chromosomes by jumbling their sequence ''' from mtsp.dustbin import * class RouteManager: destinationDustbins = [] @classmethod def addDustbin (cls, db): cls.destinationDustbins.append(db) @classmethod def getDustbin (cls, inde...
22.047619
50
0.704104
49
463
6.653061
0.673469
0.128834
0
0
0
0
0
0
0
0
0
0
0.218143
463
20
51
23.15
0.900552
0.207343
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e0be97a1e97f364aa46dcdeed19c0eced545d040
105
py
Python
series_tiempo_ar_api/apps/metadata/indexer/strings.py
datosgobar/series-tiempo-ar-api
6b553c573f6e8104f8f3919efe79089b7884280c
[ "MIT" ]
28
2017-12-16T20:30:52.000Z
2021-08-11T17:35:04.000Z
series_tiempo_ar_api/apps/metadata/indexer/strings.py
datosgobar/series-tiempo-ar-api
6b553c573f6e8104f8f3919efe79089b7884280c
[ "MIT" ]
446
2017-11-16T15:21:40.000Z
2021-06-10T20:14:21.000Z
series_tiempo_ar_api/apps/metadata/indexer/strings.py
datosgobar/series-tiempo-ar-api
6b553c573f6e8104f8f3919efe79089b7884280c
[ "MIT" ]
12
2018-08-23T16:13:32.000Z
2022-03-01T23:12:28.000Z
#! coding: utf-8 from __future__ import unicode_literals INDEXING_ERROR = 'Error en la indexación: %s'
17.5
45
0.761905
15
105
4.933333
0.933333
0
0
0
0
0
0
0
0
0
0
0.011236
0.152381
105
5
46
21
0.820225
0.142857
0
0
0
0
0.292135
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e0c0630ef7275753a27f4636b02798e72127feab
117
py
Python
Python/PythonExercicios/ex024.py
felizardo27/Python
965d56f4956eb7b6a68c0b1cbd74d363dd2a223c
[ "MIT" ]
null
null
null
Python/PythonExercicios/ex024.py
felizardo27/Python
965d56f4956eb7b6a68c0b1cbd74d363dd2a223c
[ "MIT" ]
null
null
null
Python/PythonExercicios/ex024.py
felizardo27/Python
965d56f4956eb7b6a68c0b1cbd74d363dd2a223c
[ "MIT" ]
null
null
null
print('====== EX 024 ======') cid = str(input('Em que cidade você nasceu? ')).lower().split() print('santo' in cid)
23.4
63
0.57265
17
117
3.941176
0.882353
0
0
0
0
0
0
0
0
0
0
0.029703
0.136752
117
4
64
29.25
0.633663
0
0
0
0
0
0.448276
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e0c7399fc2d4022ed149f2a68a5e24931da09237
174
py
Python
web/apps/social/urls.py
vitaliyharchenko/django_template
41fa00cb0b8be6c5cf67b7a334d4340163255160
[ "MIT" ]
null
null
null
web/apps/social/urls.py
vitaliyharchenko/django_template
41fa00cb0b8be6c5cf67b7a334d4340163255160
[ "MIT" ]
1
2018-02-02T20:25:41.000Z
2018-02-02T20:25:41.000Z
web/apps/social/urls.py
vitaliyharchenko/django_template
41fa00cb0b8be6c5cf67b7a334d4340163255160
[ "MIT" ]
null
null
null
# URLconf from django.urls import path from apps.social import views app_name = 'social' urlpatterns = [ path('vk/complete', views.vk_complete, name='vk_complete'), ]
15.818182
63
0.724138
24
174
5.125
0.583333
0.243902
0
0
0
0
0
0
0
0
0
0
0.155172
174
10
64
17.4
0.836735
0.04023
0
0
0
0
0.169697
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e0ca2023f2d70fc898d1c818e74ce9cd59b43330
2,481
py
Python
fieldtypes/Field.py
pulpocoders/pulpoforms-django
60d268faa492ba8256cc32b3108d6a27dabcd40f
[ "Apache-2.0" ]
45
2015-07-30T21:52:00.000Z
2020-03-25T16:53:34.000Z
fieldtypes/Field.py
pulpocoders/pulpo-forms-django
60d268faa492ba8256cc32b3108d6a27dabcd40f
[ "Apache-2.0" ]
5
2016-10-18T12:17:54.000Z
2017-11-09T10:39:34.000Z
fieldtypes/Field.py
pulpocoders/pulpo-forms-django
60d268faa492ba8256cc32b3108d6a27dabcd40f
[ "Apache-2.0" ]
13
2015-08-01T01:57:35.000Z
2022-03-28T21:14:02.000Z
from django.core.exceptions import ValidationError from pulpo_forms.models import Version, FieldEntry class Field(object): """ Default abstract field type class """ folder = "fields/" template_name = "field_template_base.html" edit_template_name = "fiel_template_edit_base.html" prp_templa...
27.876404
74
0.615075
291
2,481
5.051546
0.347079
0.057143
0.038095
0.054422
0.065306
0
0
0
0
0
0
0
0.285369
2,481
88
75
28.193182
0.829103
0.071342
0
0.051724
0
0
0.091568
0.035358
0
0
0
0
0
1
0.258621
false
0.017241
0.034483
0.155172
0.603448
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e0d2cb5079d6c051d2825b4e95644d0a69a10092
441
py
Python
fluiddb/schema/scripts/lowercase_usernames.py
fluidinfo/fluiddb
b5a8c8349f3eaf3364cc4efba4736c3e33b30d96
[ "Apache-2.0" ]
3
2021-05-10T14:41:30.000Z
2021-12-16T05:53:30.000Z
fluiddb/schema/scripts/lowercase_usernames.py
fluidinfo/fluiddb
b5a8c8349f3eaf3364cc4efba4736c3e33b30d96
[ "Apache-2.0" ]
null
null
null
fluiddb/schema/scripts/lowercase_usernames.py
fluidinfo/fluiddb
b5a8c8349f3eaf3364cc4efba4736c3e33b30d96
[ "Apache-2.0" ]
2
2018-01-24T09:03:21.000Z
2021-06-25T08:34:54.000Z
"""Lowercase all the users in the database.""" from fluiddb.data.user import getUsers from fluiddb.scripts.commands import setupStore if __name__ == '__main__': store = setupStore('postgres:///fluidinfo', 'main') print __doc__ for user in getUsers(): if user.username != user.username.lower(): ...
23.210526
55
0.655329
51
441
5.431373
0.54902
0.216607
0.173285
0.259928
0.209386
0
0
0
0
0
0
0
0.226757
441
18
56
24.5
0.812317
0
0
0
0
0
0.111392
0.053165
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e0de11c2dcc49d61800875bc4b3d8fe77073a5e9
452
py
Python
100-Exercicios/ex004.py
thedennerdev/ExerciciosPython-Iniciante
de36c4a09700353a9a1daa7f1320e416c6201a5c
[ "MIT" ]
null
null
null
100-Exercicios/ex004.py
thedennerdev/ExerciciosPython-Iniciante
de36c4a09700353a9a1daa7f1320e416c6201a5c
[ "MIT" ]
null
null
null
100-Exercicios/ex004.py
thedennerdev/ExerciciosPython-Iniciante
de36c4a09700353a9a1daa7f1320e416c6201a5c
[ "MIT" ]
null
null
null
qq = (input('Digite algo qualquer: ')) print('O tipo da palavra digitado é', type(qq)) print('O valor dela são digitos?', qq.isdigit()) print('O valor dela são númericos?', qq.isnumeric()) print('O valor dela são letras?', qq.isalpha()) print('O valor dela são alfanúmericos?', qq.isalnum()) print('O valor dela são apen...
41.090909
55
0.701327
71
452
4.464789
0.43662
0.15142
0.242902
0.33123
0.397476
0
0
0
0
0
0
0
0.126106
452
10
56
45.2
0.802532
0
0
0
0
0
0.54102
0
0
0
0
0
0
1
0
false
0
0
0
0
0.888889
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1c9f59beeef09a1d3746d78c309103b22a67b401
285
py
Python
tests/test_required_interfaces.py
evoh-nft/evoh-erc721
573de4da7047066ab187c2a31aee95ed00355e7d
[ "MIT" ]
null
null
null
tests/test_required_interfaces.py
evoh-nft/evoh-erc721
573de4da7047066ab187c2a31aee95ed00355e7d
[ "MIT" ]
null
null
null
tests/test_required_interfaces.py
evoh-nft/evoh-erc721
573de4da7047066ab187c2a31aee95ed00355e7d
[ "MIT" ]
null
null
null
#!/usr/bin/python3 def test_erc165_support(nft): erc165_interface_id = "0x01ffc9a7" assert nft.supportsInterface(erc165_interface_id) is True def test_erc721_support(nft): erc721_interface_id = "0x80ac58cd" assert nft.supportsInterface(erc721_interface_id) is True
23.75
61
0.782456
37
285
5.702703
0.459459
0.208531
0.161137
0.161137
0
0
0
0
0
0
0
0.117886
0.136842
285
11
62
25.909091
0.739837
0.059649
0
0
0
0
0.074906
0
0
0
0.074906
0
0.333333
1
0.333333
false
0
0
0
0.333333
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1cabdaf9988c673eef43545493f061d3a959c66d
3,788
py
Python
backend/src/gloader/xml/dom/html/HTMLAnchorElement.py
anrl/gini4
d26649c8c02a1737159e48732cf1ee15ba2a604d
[ "MIT" ]
11
2019-03-02T20:39:34.000Z
2021-09-02T19:47:38.000Z
backend/src/gloader/xml/dom/html/HTMLAnchorElement.py
anrl/gini4
d26649c8c02a1737159e48732cf1ee15ba2a604d
[ "MIT" ]
29
2019-01-17T15:44:48.000Z
2021-06-02T00:19:40.000Z
backend/src/gloader/xml/dom/html/HTMLAnchorElement.py
anrl/gini4
d26649c8c02a1737159e48732cf1ee15ba2a604d
[ "MIT" ]
11
2019-01-28T05:00:55.000Z
2021-11-12T03:08:32.000Z
######################################################################## # # File Name: HTMLAnchorElement # # ### This file is automatically generated by GenerateHtml.py. ### DO NOT EDIT! """ WWW: http://4suite.com/4DOM e-mail: support@4suite.com Copyright (c) 2000 Fourthought Inc, USA. All Righ...
25.768707
77
0.612196
398
3,788
5.537688
0.228643
0.053085
0.076679
0.136116
0
0
0
0
0
0
0
0.003181
0.253168
3,788
146
78
25.945205
0.775893
0.096093
0
0.043011
1
0
0.081122
0
0
0
0
0
0
1
0.290323
false
0.021505
0.032258
0.11828
0.505376
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
1cbf7e7b48c17a4738f3a41ebb956e0efb15333c
638
py
Python
tests/api/utils/schema/auth.py
BenjamenMeyer/deuce
fbca31cb5248a808a85bfc24af10119453359276
[ "Apache-2.0" ]
null
null
null
tests/api/utils/schema/auth.py
BenjamenMeyer/deuce
fbca31cb5248a808a85bfc24af10119453359276
[ "Apache-2.0" ]
null
null
null
tests/api/utils/schema/auth.py
BenjamenMeyer/deuce
fbca31cb5248a808a85bfc24af10119453359276
[ "Apache-2.0" ]
null
null
null
authentication = { "type": "object", "properties": { "access": { "type": "object", "properties": { "token": { "type": "object", "properties": { "id": { "type": "string" ...
25.52
54
0.268025
25
638
6.84
0.44
0.175439
0.350877
0
0
0
0
0
0
0
0
0
0.570533
638
24
55
26.583333
0.624088
0
0
0.25
0
0
0.246082
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
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
3
1cc6c7e8b732b32110858561f10fdd739f1cb8b1
207
py
Python
src/roboverse/__init__.py
Mindstem/Roboverse
3d34e6afc2c43f57e647c10411f013a317108886
[ "MIT" ]
null
null
null
src/roboverse/__init__.py
Mindstem/Roboverse
3d34e6afc2c43f57e647c10411f013a317108886
[ "MIT" ]
null
null
null
src/roboverse/__init__.py
Mindstem/Roboverse
3d34e6afc2c43f57e647c10411f013a317108886
[ "MIT" ]
null
null
null
"""Roboverse package.""" from collections.abc import Sequence from importlib.metadata import version __all__: Sequence[str] = ('__version__',) __version__: str = version(distribution_name='Roboverse')
17.25
57
0.763285
22
207
6.590909
0.636364
0.137931
0
0
0
0
0
0
0
0
0
0
0.115942
207
11
58
18.818182
0.79235
0.086957
0
0
0
0
0.10929
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
3
1cd036636063d98c815e91d7a353efb5060a2fb5
809
py
Python
metadrive/base_class/nameable.py
liuzuxin/metadrive
850c207536531bc85179084acd7c30ab14a66111
[ "Apache-2.0" ]
125
2021-08-30T06:33:57.000Z
2022-03-31T09:02:44.000Z
metadrive/base_class/nameable.py
liuzuxin/metadrive
850c207536531bc85179084acd7c30ab14a66111
[ "Apache-2.0" ]
72
2021-08-30T16:23:41.000Z
2022-03-31T19:17:16.000Z
metadrive/base_class/nameable.py
liuzuxin/metadrive
850c207536531bc85179084acd7c30ab14a66111
[ "Apache-2.0" ]
20
2021-09-09T08:20:25.000Z
2022-03-24T13:24:07.000Z
import logging from metadrive.utils import random_string class Nameable: """ Instance of this class will have a special name """ def __init__(self, name=None): # ID for object self.name = random_string() if name is None else name self.id = self.name # name = id @property...
22.472222
62
0.583436
100
809
4.42
0.41
0.108597
0.045249
0.063348
0.081448
0
0
0
0
0
0
0
0.309023
809
35
63
23.114286
0.790698
0.088999
0
0.086957
0
0
0.036111
0
0
0
0
0
0
1
0.26087
false
0.043478
0.086957
0.130435
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1cd0b9969ec980eadb9502a245242751f992c588
320
py
Python
EPro-PnP-6DoF/lib/utils/tictoc.py
Lakonik/EPro-PnP
931df847190ce10eddd1dc3e3168ce1a2f295ffa
[ "Apache-2.0" ]
19
2022-03-21T10:22:24.000Z
2022-03-30T15:43:46.000Z
EPro-PnP-6DoF/lib/utils/tictoc.py
Lakonik/EPro-PnP
931df847190ce10eddd1dc3e3168ce1a2f295ffa
[ "Apache-2.0" ]
null
null
null
EPro-PnP-6DoF/lib/utils/tictoc.py
Lakonik/EPro-PnP
931df847190ce10eddd1dc3e3168ce1a2f295ffa
[ "Apache-2.0" ]
3
2022-03-26T08:08:24.000Z
2022-03-30T11:17:11.000Z
""" This file is from https://github.com/LZGMatrix/CDPN_ICCV2019_ZhigangLi """ import time def tic(): global start_time start_time = time.time() return start_time def toc(): if 'start_time' in globals(): end_time = time.time() return end_time - start_time else: return None
17.777778
52
0.646875
44
320
4.5
0.568182
0.227273
0.131313
0.181818
0
0
0
0
0
0
0
0.016667
0.25
320
18
53
17.777778
0.808333
0.21875
0
0
0
0
0.041152
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.545455
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1cdc4f9eed5127ce6f230d3c5f394af453babf03
385
py
Python
q2_comp/__init__.py
dianahaider/q2-CHAOS
89571a8bffbebeeed2e2f5ec989a978169afaa88
[ "BSD-3-Clause" ]
null
null
null
q2_comp/__init__.py
dianahaider/q2-CHAOS
89571a8bffbebeeed2e2f5ec989a978169afaa88
[ "BSD-3-Clause" ]
null
null
null
q2_comp/__init__.py
dianahaider/q2-CHAOS
89571a8bffbebeeed2e2f5ec989a978169afaa88
[ "BSD-3-Clause" ]
null
null
null
from . import _alpha from . import _denoise from . import _taxonomy from ._alpha import (alpha_frequency, alpha_diversity) from ._denoise import (denoise_stats) from ._taxonomy import (taxo_variability) __all__ = ['alpha_frequency', 'alpha_diversity', 'denoise_stats', 'taxo_variability'] from ._version import get_v...
25.666667
85
0.794805
47
385
5.957447
0.319149
0.107143
0.135714
0.2
0
0
0
0
0
0
0
0
0.114286
385
14
86
27.5
0.821114
0
0
0
0
0
0.171429
0
0
0
0
0
0
1
0
false
0
0.7
0
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1ce06d34f7fe6b93f423edbe5ef505a1a0608531
570
py
Python
nlu/components/classifiers/sentiment_detector/sentiment_detector.py
sumanthratna/nlu
acde6879d776116051d4cbe909268ab8946989b5
[ "Apache-2.0" ]
1
2020-09-25T22:55:13.000Z
2020-09-25T22:55:13.000Z
nlu/components/classifiers/sentiment_detector/sentiment_detector.py
sumanthratna/nlu
acde6879d776116051d4cbe909268ab8946989b5
[ "Apache-2.0" ]
null
null
null
nlu/components/classifiers/sentiment_detector/sentiment_detector.py
sumanthratna/nlu
acde6879d776116051d4cbe909268ab8946989b5
[ "Apache-2.0" ]
null
null
null
import nlu.pipe_components import sparknlp from sparknlp.annotator import * class SentimentDl: @staticmethod def get_default_model(): # TODO cannot runw ithouth a dictionary! return SentimentDetectorModel() \ .setInputCols("lemma", "sentence_embeddings") \ .setOutputCol("senti...
30
70
0.65614
48
570
7.604167
0.666667
0.082192
0.09863
0.136986
0.306849
0.306849
0
0
0
0
0
0
0.240351
570
18
71
31.666667
0.842956
0.066667
0
0.375
0
0
0.14717
0
0
0
0
0.055556
0
1
0.125
true
0
0.1875
0.125
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
1
0
0
0
1
0
0
1
0
0
0
3
1ce104758de9c21aee1176a944bdbb004968ca9e
232
py
Python
atcoder/abc054/a.py
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
atcoder/abc054/a.py
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
atcoder/abc054/a.py
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
#!/usr/bin/env python3 # https://abc054.contest.atcoder.jp/tasks/abc054_a a, b = map(int, input().split()) if a == b: print('Draw') elif a == 1: print('Alice') elif b == 1: print('Bob') elif a > b: print('Alice') else: print('Bob')
25.777778
50
0.625
41
232
3.512195
0.585366
0.041667
0.097222
0
0
0
0
0
0
0
0
0.044776
0.133621
232
8
51
29
0.671642
0.301724
0
0
0
0
0.125
0
0
0
0
0
0
1
0
true
0
0
0
0
0.833333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
1cf1834effd35d24cf8eec21ed50f484254b6230
766
py
Python
app/http/controllers/dashboard/TechniciansController.py
jrquiles18/Kennedy-Pools
628375c814c4b4a59fa194739ddab4ab5838d2f2
[ "MIT" ]
null
null
null
app/http/controllers/dashboard/TechniciansController.py
jrquiles18/Kennedy-Pools
628375c814c4b4a59fa194739ddab4ab5838d2f2
[ "MIT" ]
null
null
null
app/http/controllers/dashboard/TechniciansController.py
jrquiles18/Kennedy-Pools
628375c814c4b4a59fa194739ddab4ab5838d2f2
[ "MIT" ]
null
null
null
"""A TechniciansController Module.""" from masonite.request import Request from masonite.view import View from masonite.controllers import Controller from app.Technician import Technician class TechniciansController(Controller): """TechniciansController Controller Class.""" def __init__(self, request: Reque...
28.37037
77
0.690601
75
766
7
0.4
0.133333
0.102857
0
0
0
0
0
0
0
0
0
0.207572
766
26
78
29.461538
0.864909
0.244125
0
0
0
0
0.066915
0.039033
0
0
0
0
0
1
0.230769
false
0
0.307692
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
1
0
0
1
0
1
0
0
3
e8027d4e7a933ea51e200c6d5e5b6bf722082f31
327
py
Python
__init__.py
antoniamarie03/siren-alarm-skill
d4c994ef8f72725f78ff199e93ffd30f6a66b47d
[ "Apache-2.0" ]
null
null
null
__init__.py
antoniamarie03/siren-alarm-skill
d4c994ef8f72725f78ff199e93ffd30f6a66b47d
[ "Apache-2.0" ]
null
null
null
__init__.py
antoniamarie03/siren-alarm-skill
d4c994ef8f72725f78ff199e93ffd30f6a66b47d
[ "Apache-2.0" ]
null
null
null
from mycroft import MycroftSkill, intent_file_handler class SirenAlarm(MycroftSkill): def __init__(self): MycroftSkill.__init__(self) @intent_file_handler('alarm.siren.intent') def handle_alarm_siren(self, message): self.speak_dialog('alarm.siren') def create_skill(): return SirenAl...
20.4375
53
0.727829
38
327
5.842105
0.552632
0.135135
0.153153
0
0
0
0
0
0
0
0
0
0.174312
327
15
54
21.8
0.822222
0
0
0
0
0
0.088957
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
08fd3f72ab2400ef9e1e9f6c50e300b0c22e9a9f
1,573
py
Python
design_patterns__examples/Proxy/example.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
117
2015-12-18T07:18:27.000Z
2022-03-28T00:25:54.000Z
design_patterns__examples/Proxy/example.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
8
2018-10-03T09:38:46.000Z
2021-12-13T19:51:09.000Z
design_patterns__examples/Proxy/example.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
28
2016-08-02T17:43:47.000Z
2022-03-21T08:31:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' # SOURCE: Design Patterns: Proxy - Заместитель # SOURCE: https://ru.wikipedia.org/wiki/Заместитель_(шаблон_проектирования) class IMath: """Интерфейс для прокси и реального субъекта""" def add(self, x, y): raise NotImplementedEr...
19.6625
75
0.546726
216
1,573
3.898148
0.314815
0.059382
0.085511
0.085511
0.513064
0.448931
0.293349
0.187648
0.187648
0.187648
0
0.011982
0.310235
1,573
79
76
19.911392
0.764055
0.228862
0
0.55814
0
0
0.039463
0
0
0
0
0
0
1
0.302326
false
0
0
0.139535
0.581395
0.093023
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1c0cb41326a46bf497e4e202b368457518deb26c
595
py
Python
_Projects/flask_projects/todo_app/test.py
vincepogz/CUNY2X-TTP-Notes
8579c7457ef315c4465520b3f2ddb04b0a6ddaf7
[ "MIT" ]
null
null
null
_Projects/flask_projects/todo_app/test.py
vincepogz/CUNY2X-TTP-Notes
8579c7457ef315c4465520b3f2ddb04b0a6ddaf7
[ "MIT" ]
null
null
null
_Projects/flask_projects/todo_app/test.py
vincepogz/CUNY2X-TTP-Notes
8579c7457ef315c4465520b3f2ddb04b0a6ddaf7
[ "MIT" ]
1
2022-01-29T21:39:03.000Z
2022-01-29T21:39:03.000Z
from app import app def test1(): """ This function test that the flask application has a correct response code when the application goes live """ response = app.test_client().get("/") assert response.status_code == 200 def test2(): """A dummy docstring""" response = app.test_cl...
23.8
57
0.636975
82
595
4.560976
0.45122
0.088235
0.120321
0.168449
0.582888
0.406417
0.262032
0.262032
0.262032
0.262032
0
0.019956
0.242017
595
25
58
23.8
0.809313
0.238655
0
0.333333
0
0
0.080189
0
0
0
0
0
0.416667
1
0.25
false
0
0.083333
0
0.333333
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
1
0
1
0
0
0
0
0
0
0
3
1c12eb72b957a807ce5688e024cf15ee45589047
1,256
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/OES/fbo_render_mipmap.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/OES/fbo_render_mipmap.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/OES/fbo_render_mipmap.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension OES.fbo_render_mipmap This module customises the behaviour of the OpenGL.raw.GLES2.OES.fbo_render_mipmap to provide a more Python-friendly API Overview (from the spec) OES_framebuffer_object allows rendering to the base level of a texture only. This extension removes this limitati...
36.941176
72
0.786624
175
1,256
5.542857
0.485714
0.061856
0.061856
0.092784
0.162887
0.162887
0.119588
0.086598
0.086598
0
0
0.005703
0.16242
1,256
34
73
36.941176
0.91635
0.698248
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1c27fcdd05db513ebf2533fb78d8a688c277b9dc
593
py
Python
guided_diffusion/grad_reverse.py
ZGCTroy/guided-diffusion
af987bb2b65db2875148a5466df79736ea5ae6a1
[ "MIT" ]
null
null
null
guided_diffusion/grad_reverse.py
ZGCTroy/guided-diffusion
af987bb2b65db2875148a5466df79736ea5ae6a1
[ "MIT" ]
null
null
null
guided_diffusion/grad_reverse.py
ZGCTroy/guided-diffusion
af987bb2b65db2875148a5466df79736ea5ae6a1
[ "MIT" ]
null
null
null
from torch.autograd import Function # class GradReverse(Function): # def __init__(self, lambd): # self.lambd = lambd # # def forward(self, x): # return x.view_as(x) # # def backward(self, grad_output): # return (grad_output * -self.lambd) # # # def grad_reverse(x, lambd=1.0): # ...
20.448276
44
0.637437
76
593
4.815789
0.342105
0.10929
0.131148
0.065574
0.224044
0.081967
0
0
0
0
0
0.004425
0.237774
593
29
45
20.448276
0.80531
0.480607
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.3
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1c3c59272f0b216c9e1a63e8019a1742ca1d1695
418
py
Python
jobs/models.py
bharatchanddandamudi/Bharatchand_Portfolio_V1.1-deploy-
21205ec9d3263463b43422b4679b9736142f7308
[ "MIT" ]
null
null
null
jobs/models.py
bharatchanddandamudi/Bharatchand_Portfolio_V1.1-deploy-
21205ec9d3263463b43422b4679b9736142f7308
[ "MIT" ]
null
null
null
jobs/models.py
bharatchanddandamudi/Bharatchand_Portfolio_V1.1-deploy-
21205ec9d3263463b43422b4679b9736142f7308
[ "MIT" ]
null
null
null
from django.db import models from django.urls import reverse # Create your models here. class Job(models.Model): image = models.ImageField(upload_to='images/') summary = models.CharField(max_length=5000) # video = models.FileField(upload_to='images/',null=True) def __str__(self): return self...
24.588235
61
0.696172
56
418
5.035714
0.660714
0.070922
0.099291
0
0
0
0
0
0
0
0
0.011696
0.181818
418
17
62
24.588235
0.812866
0.191388
0
0
0
0
0.041791
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1c572b006232931c609ddc348fb2c6139f59f91a
4,325
py
Python
pyStorageBackend/__init__.py
tantalum7/pyStorageBackend
948785a9431c4013a476341d3e3fc773ba0612eb
[ "WTFPL" ]
null
null
null
pyStorageBackend/__init__.py
tantalum7/pyStorageBackend
948785a9431c4013a476341d3e3fc773ba0612eb
[ "WTFPL" ]
null
null
null
pyStorageBackend/__init__.py
tantalum7/pyStorageBackend
948785a9431c4013a476341d3e3fc773ba0612eb
[ "WTFPL" ]
null
null
null
# Project imports from pyStorageBackend.uid import UID from pyStorageBackend.generic_backend import GenericBackend # Exceptions class InvalidKeyException(Exception): pass class InvalidUIDException(Exception): pass class InvalidDataException(Exception): pass class DocumentNotFoundException(Exception): pass class St...
33.527132
112
0.626821
557
4,325
4.804309
0.231598
0.056054
0.026906
0.029148
0.241779
0.18423
0.088939
0
0
0
0
0.00327
0.292948
4,325
128
113
33.789063
0.871812
0.405087
0
0.0625
0
0
0
0
0
0
0
0
0
1
0.25
false
0.083333
0.041667
0
0.520833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1c5c36b5c90c28b4a1c5c49c81d242e3804093dc
146,324
py
Python
abcvoting/abcrules.py
martinlackner/approval-multiwinner
17bb6294b1910531b66c457f7b1a34a966d4113d
[ "MIT" ]
2
2019-07-10T08:54:43.000Z
2019-09-09T16:17:04.000Z
abcvoting/abcrules.py
martinlackner/approval-multiwinner
17bb6294b1910531b66c457f7b1a34a966d4113d
[ "MIT" ]
1
2019-09-11T21:29:47.000Z
2019-09-11T21:29:47.000Z
abcvoting/abcrules.py
martinlackner/approval-multiwinner
17bb6294b1910531b66c457f7b1a34a966d4113d
[ "MIT" ]
1
2019-09-11T16:56:23.000Z
2019-09-11T16:56:23.000Z
"""Approval-based committee (ABC) voting rules.""" import functools import itertools import random from fractions import Fraction from abcvoting.output import output, DETAILS from abcvoting import abcrules_gurobi, abcrules_ortools, abcrules_mip, misc, scores from abcvoting.misc import str_committees_with_header, heade...
35.489692
99
0.6292
16,039
146,324
5.540246
0.045452
0.053747
0.035652
0.080216
0.759273
0.719176
0.700158
0.676176
0.65691
0.637734
0
0.0043
0.287998
146,324
4,122
100
35.498302
0.848613
0.32333
0
0.60143
0
0
0.126438
0.018756
0
0
0
0.000728
0.000894
1
0.025916
false
0
0.007149
0
0.062109
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1c74695a7efe48fa2ca3158a804aa1dd32a43236
1,712
py
Python
cavedb/docgen_mxf.py
masneyb/cavedbmanager
0e1fb48a3054134a069ec8e9892475ae1e228e5c
[ "Apache-2.0" ]
4
2016-02-26T12:24:08.000Z
2019-09-10T02:45:08.000Z
cavedb/docgen_mxf.py
masneyb/cavedbmanager
0e1fb48a3054134a069ec8e9892475ae1e228e5c
[ "Apache-2.0" ]
2
2017-04-16T01:13:22.000Z
2017-05-07T22:28:49.000Z
cavedb/docgen_mxf.py
masneyb/cavedbmanager
0e1fb48a3054134a069ec8e9892475ae1e228e5c
[ "Apache-2.0" ]
1
2021-04-16T15:25:20.000Z
2021-04-16T15:25:20.000Z
# SPDX-License-Identifier: Apache-2.0 import cavedb.docgen_common import cavedb.utils class Mxf(cavedb.docgen_common.Common): def __init__(self, filename, download_url): cavedb.docgen_common.Common.__init__(self) self.filename = filename self.download_url = download_url self.number...
31.703704
98
0.665888
223
1,712
4.798206
0.278027
0.056075
0.084112
0.04486
0.059813
0.059813
0
0
0
0
0
0.014137
0.214953
1,712
53
99
32.301887
0.781994
0.020444
0
0
0
0.03125
0.077015
0.013134
0
0
0
0
0
1
0.28125
false
0
0.0625
0.15625
0.53125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1c75e461532df41224c9c19d5a4cf71ecfa9e43d
1,505
py
Python
rrmng/rrmngmnt/user.py
avihaie/bug-hunter
9a2730d9a61b268f45e9d3115b8bbba039b954db
[ "Apache-2.0" ]
null
null
null
rrmng/rrmngmnt/user.py
avihaie/bug-hunter
9a2730d9a61b268f45e9d3115b8bbba039b954db
[ "Apache-2.0" ]
4
2018-05-29T03:58:15.000Z
2018-10-10T10:27:35.000Z
rrmng/rrmngmnt/user.py
avihaie/bug-hunter
9a2730d9a61b268f45e9d3115b8bbba039b954db
[ "Apache-2.0" ]
null
null
null
from rrmng.rrmngmnt.resource import Resource class User(Resource): def __init__(self, name, password): """ Args: password (str): Password name (str): User name """ super(User, self).__init__() self.name = name self.password = password @p...
23.515625
61
0.57608
167
1,505
4.91018
0.197605
0.087805
0.102439
0.078049
0.337805
0.212195
0.095122
0.095122
0
0
0
0
0.312957
1,505
63
62
23.888889
0.793037
0.192691
0
0.129032
0
0
0.015726
0
0
0
0
0
0
1
0.258065
false
0.193548
0.032258
0.096774
0.612903
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1c79ab6b54f565a108796c071b30a1793de5e098
243
py
Python
politicians/tasks.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
2
2018-11-16T21:45:17.000Z
2019-02-03T19:55:46.000Z
politicians/tasks.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
13
2018-08-17T19:12:11.000Z
2022-03-11T23:27:41.000Z
politicians/tasks.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
null
null
null
from celery import shared_task from politicians.models import Promises, PromiseAction @shared_task(soft_time_limit=30) def get_promise_action_scores(promiseaction_id=None): promiseAction = PromiseAction.objects.filter(pk=promiseaction_id)
40.5
69
0.855967
32
243
6.21875
0.71875
0.100503
0
0
0
0
0
0
0
0
0
0.008929
0.078189
243
6
69
40.5
0.879464
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1c86202c5c9d6cf6069f1ca55edd96f5a6259a61
443
py
Python
proxypool/utils/parse.py
zronghui/ProxyPool
7c0dde213c56942807d6421fa1e3604d3f25514f
[ "MIT" ]
null
null
null
proxypool/utils/parse.py
zronghui/ProxyPool
7c0dde213c56942807d6421fa1e3604d3f25514f
[ "MIT" ]
null
null
null
proxypool/utils/parse.py
zronghui/ProxyPool
7c0dde213c56942807d6421fa1e3604d3f25514f
[ "MIT" ]
null
null
null
import re def parse_redis_connection_string(connection_string): """ parse a redis connection string, for example: redis://[password]@host:port rediss://[password]@host:port :param connection_string: :return: """ result = re.match('rediss?:\/\/(.*?)@(.*?):(\d+)', connection_string) ...
29.533333
87
0.636569
54
443
5.111111
0.555556
0.289855
0.152174
0.202899
0
0
0
0
0
0
0
0.019337
0.182844
443
14
88
31.642857
0.743094
0.31377
0
0
0
0
0.139706
0.106618
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
98d3c828d5f10cf9789f1280af55ea616236efec
523
py
Python
src/data/dataframes.py
TihonkovSergey/pd-model-logreg
baa6447198f5f89a43b1091413d3199192230ce1
[ "Apache-2.0" ]
null
null
null
src/data/dataframes.py
TihonkovSergey/pd-model-logreg
baa6447198f5f89a43b1091413d3199192230ce1
[ "Apache-2.0" ]
null
null
null
src/data/dataframes.py
TihonkovSergey/pd-model-logreg
baa6447198f5f89a43b1091413d3199192230ce1
[ "Apache-2.0" ]
null
null
null
from pathlib import Path import pandas as pd from definitions import ROOT_DIR def get_train(): data_path = Path(ROOT_DIR).joinpath("data/raw/") return pd.read_csv(data_path.joinpath('PD-data-train.csv'), sep=';') def get_test(): data_path = Path(ROOT_DIR).joinpath("data/raw/") return pd.read_csv(d...
24.904762
72
0.703633
83
523
4.228916
0.277108
0.136752
0.102564
0.136752
0.606838
0.606838
0.606838
0.606838
0.606838
0.606838
0
0
0.130019
523
20
73
26.15
0.771429
0
0
0.25
0
0
0.151052
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
98d4672916c38338602fe1d91086ef4b15d61b12
261
py
Python
app/config.py
joelkyu/SantaComingToTown
c93bca9158459243205b26cb36f1b19346eeb058
[ "MIT" ]
null
null
null
app/config.py
joelkyu/SantaComingToTown
c93bca9158459243205b26cb36f1b19346eeb058
[ "MIT" ]
3
2019-09-09T14:55:12.000Z
2019-09-10T14:51:52.000Z
app/config.py
joelkyu/SantaComingToTowne
c93bca9158459243205b26cb36f1b19346eeb058
[ "MIT" ]
null
null
null
from flask import Flask, render_template from flask_sqlalchemy import SQLAlchemy from flask_cors import CORS app = Flask(__name__) CORS(app) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/test.db' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
26.1
64
0.800766
36
261
5.5
0.527778
0.136364
0.191919
0
0
0
0
0
0
0
0
0
0.095785
261
9
65
29
0.838983
0
0
0
0
0
0.287356
0.287356
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
98e1cd4818800c72e6d9e5cea455548d52546136
2,354
py
Python
src/long_read_pipeline/migrations/0001_initial.py
NTU-CGM/MiDSystem
0d7dadafe4811ec9d1c0df03e99d7c479e8c7f1d
[ "MIT" ]
null
null
null
src/long_read_pipeline/migrations/0001_initial.py
NTU-CGM/MiDSystem
0d7dadafe4811ec9d1c0df03e99d7c479e8c7f1d
[ "MIT" ]
null
null
null
src/long_read_pipeline/migrations/0001_initial.py
NTU-CGM/MiDSystem
0d7dadafe4811ec9d1c0df03e99d7c479e8c7f1d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2021-06-10 20:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='long_i...
47.08
114
0.595157
248
2,354
5.415323
0.334677
0.113924
0.196575
0.166791
0.703649
0.664929
0.59866
0.461653
0.117647
0.117647
0
0.029765
0.257859
2,354
49
115
48.040816
0.738981
0.028887
0
0.341463
1
0
0.144109
0.019711
0
0
0
0
0
1
0
false
0
0.04878
0
0.146341
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
98fd48870c8e98de7967b6f2fb07fb3a47a30dbf
1,763
py
Python
python/aead/aead_key_manager.py
tsingson/tink
bb4386994a4ff62b2ae2b140a9c106267028c511
[ "Apache-2.0" ]
null
null
null
python/aead/aead_key_manager.py
tsingson/tink
bb4386994a4ff62b2ae2b140a9c106267028c511
[ "Apache-2.0" ]
null
null
null
python/aead/aead_key_manager.py
tsingson/tink
bb4386994a4ff62b2ae2b140a9c106267028c511
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
35.26
74
0.782189
257
1,763
5.143969
0.424125
0.045386
0.048412
0.024206
0.205749
0.173979
0.136157
0.08472
0.08472
0.08472
0
0.005295
0.142938
1,763
49
75
35.979592
0.869623
0.380034
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.173913
false
0
0.434783
0.130435
0.782609
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
c710d276f32cd528b2ce914aeaf8669baf623b38
62
py
Python
subrepos/papy/papy/__init__.py
timothyyu/au_utils
6d1f1095b7f5de823a329ca9beb787c72aaea53b
[ "BSD-3-Clause" ]
1
2019-02-01T05:09:37.000Z
2019-02-01T05:09:37.000Z
subrepos/papy/papy/__init__.py
timothyyu/au_utils
6d1f1095b7f5de823a329ca9beb787c72aaea53b
[ "BSD-3-Clause" ]
null
null
null
subrepos/papy/papy/__init__.py
timothyyu/au_utils
6d1f1095b7f5de823a329ca9beb787c72aaea53b
[ "BSD-3-Clause" ]
null
null
null
name = 'papy' from . import freq, img, num, plot, time, misc
15.5
46
0.645161
10
62
4
1
0
0
0
0
0
0
0
0
0
0
0
0.209677
62
3
47
20.666667
0.816327
0
0
0
0
0
0.064516
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c714651871e62e4573ce237d4753e96cb6c3bf1b
721
py
Python
edk2toolext/environment/plugintypes/dsc_processor_plugin.py
joschock/edk2-pytool-extensions
34cd69415f8a8363291e8ae6f7c6bddec7ac9967
[ "BSD-2-Clause-Patent" ]
32
2019-07-09T21:43:57.000Z
2022-03-31T01:43:59.000Z
edk2toolext/environment/plugintypes/dsc_processor_plugin.py
joschock/edk2-pytool-extensions
34cd69415f8a8363291e8ae6f7c6bddec7ac9967
[ "BSD-2-Clause-Patent" ]
217
2019-08-07T01:12:27.000Z
2022-03-30T07:28:24.000Z
edk2toolext/environment/plugintypes/dsc_processor_plugin.py
joschock/edk2-pytool-extensions
34cd69415f8a8363291e8ae6f7c6bddec7ac9967
[ "BSD-2-Clause-Patent" ]
28
2019-08-05T17:23:08.000Z
2022-03-04T00:20:04.000Z
# @file dsc_processor_plugin # Plugin for for parsing DSCs ## # Copyright (c) Microsoft Corporation # # SPDX-License-Identifier: BSD-2-Clause-Patent ## class IDscProcessorPlugin(object): ## # does the transform on the DSC # # @param dsc - the in-memory model of the DSC # @param thebuilder - UefiB...
21.848485
65
0.651872
91
721
5.120879
0.571429
0.060086
0.04721
0.128755
0.253219
0.253219
0.253219
0.253219
0.253219
0.253219
0
0.009452
0.266297
721
32
66
22.53125
0.871456
0.629681
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.4
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c757bdf20ef16356887bb05d39a876192818f188
754
py
Python
facenet_sandberg/train_insightface/distance.py
armanrahman22/facenet
194e7bab2060833acd1d245228bcd43825ce5af3
[ "MIT" ]
21
2019-01-10T16:46:06.000Z
2022-01-17T09:30:35.000Z
facenet_sandberg/train_insightface/distance.py
armanrahman22/facenet
194e7bab2060833acd1d245228bcd43825ce5af3
[ "MIT" ]
null
null
null
facenet_sandberg/train_insightface/distance.py
armanrahman22/facenet
194e7bab2060833acd1d245228bcd43825ce5af3
[ "MIT" ]
12
2019-02-08T20:37:16.000Z
2020-12-10T06:55:30.000Z
# -*- coding:utf-8 -*- import math import numpy as np def cosine_similarity(v1, v2): # compute cosine similarity of v1 to v2: (v1 dot v2)/{||v1||*||v2||) sumxx, sumxy, sumyy = 0, 0, 0 for i in range(len(v1)): x = v1[i] y = v2[i] sumxx += x * x sumyy += y * y sumxy +...
20.944444
72
0.578249
117
754
3.615385
0.350427
0.07565
0.085106
0.12766
0.184397
0.094563
0.094563
0
0
0
0
0.056673
0.274536
754
35
73
21.542857
0.716636
0.115385
0
0
0
0
0.016566
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0.130435
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c7659ec96d4e983c20829d4bde2f8c8c9f0ebe20
265
py
Python
Python/Math/RandomGuess.py
piovezan/SOpt
a5ec90796b7bdf98f0675457fc4bb99c8695bc40
[ "MIT" ]
148
2017-08-03T01:49:27.000Z
2022-03-26T10:39:30.000Z
Python/Math/RandomGuess.py
piovezan/SOpt
a5ec90796b7bdf98f0675457fc4bb99c8695bc40
[ "MIT" ]
3
2017-11-23T19:52:05.000Z
2020-04-01T00:44:40.000Z
Python/Math/RandomGuess.py
piovezan/SOpt
a5ec90796b7bdf98f0675457fc4bb99c8695bc40
[ "MIT" ]
59
2017-08-03T01:49:19.000Z
2022-03-31T23:24:38.000Z
import random m = 1 while m != 0: n1 = int(random.random() * 9) + 1 n2 = int(random.random() * 9) + 1 m = int(raw_input("{} * {} = ".format(n1, n2))) print ("correto!" if m == n1 * n2 else "errado!!") #https://pt.stackoverflow.com/q/259931/101
26.5
54
0.543396
41
265
3.487805
0.609756
0.125874
0.20979
0.223776
0.237762
0
0
0
0
0
0
0.10396
0.237736
265
9
55
29.444444
0.60396
0.154717
0
0
0
0
0.116592
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3