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
c3241f39453655cc6342b7acc771509a68ab0ec9
130
py
Python
tests/test_import.py
priyansh-1902/olympus
f57ad769918c0d5d805c439ab5ffbd180af698fa
[ "MIT" ]
36
2020-10-10T14:05:40.000Z
2022-02-12T07:21:47.000Z
tests/test_import.py
kiminh/olympus
054f7b4012faf6e516b5e4c895093c9fea0c793f
[ "MIT" ]
12
2020-10-14T09:04:06.000Z
2021-10-01T19:25:34.000Z
tests/test_import.py
kiminh/olympus
054f7b4012faf6e516b5e4c895093c9fea0c793f
[ "MIT" ]
8
2020-10-24T12:43:45.000Z
2022-02-12T07:21:50.000Z
import olympus def test_name(): try: assert olympus.__name__ == 'olympus' except Exception as e: raise e
16.25
44
0.615385
16
130
4.6875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.307692
130
8
45
16.25
0.833333
0
0
0
0
0
0.053435
0
0
0
0
0
0.166667
1
0.166667
true
0
0.166667
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
1
0
0
0
0
0
0
3
c331b3616ea402452aeedaca05ba1f99ce891492
832
py
Python
Ejemplos/FlaskBasico1/app/__init__.py
ampotty/uip-pc3
8362680226df6629791e7a4c6cdf1b738eadc5de
[ "MIT" ]
10
2015-10-27T18:29:06.000Z
2019-04-03T04:05:31.000Z
Ejemplos/FlaskBasico1/app/__init__.py
abdelgmartinezl/uip-pc3
8362680226df6629791e7a4c6cdf1b738eadc5de
[ "MIT" ]
5
2015-10-13T01:12:51.000Z
2016-10-08T18:01:17.000Z
Ejemplos/FlaskBasico1/app/__init__.py
ampotty/uip-pc3
8362680226df6629791e7a4c6cdf1b738eadc5de
[ "MIT" ]
25
2015-09-19T00:40:17.000Z
2018-02-08T02:54:55.000Z
from flask import Flask, redirect, url_for app = Flask(__name__) @app.route('/') def hola_mundo(): return 'Xopa Petra!' @app.route('/hola') def hola(): return 'Xopa' @app.route('/hola/<nombre>') def hola_nombre(nombre): return 'Xopa %s!' % nombre @app.route('/edad/<int:edad>') def puede_votar(edad): ...
20.8
65
0.643029
111
832
4.612613
0.288288
0.109375
0.082031
0.078125
0.09375
0
0
0
0
0
0
0.002954
0.186298
832
40
66
20.8
0.753323
0
0
0.064516
0
0
0.234094
0
0
0
0
0
0
1
0.225806
false
0
0.032258
0.16129
0.516129
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
c33fc385ddf661e114ebc9d3d4c9dbd0f099ba46
5,001
py
Python
hooks/commit-msg/test_commit_message.py
ocelotl/githooks
32321e461c6aa6c9bfd56093c696153dc8786b57
[ "Apache-2.0" ]
null
null
null
hooks/commit-msg/test_commit_message.py
ocelotl/githooks
32321e461c6aa6c9bfd56093c696153dc8786b57
[ "Apache-2.0" ]
null
null
null
hooks/commit-msg/test_commit_message.py
ocelotl/githooks
32321e461c6aa6c9bfd56093c696153dc8786b57
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- # # Copyright 2016 Diego "Ocelotl" Hurtado Pimentel # # 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 requi...
27.938547
79
0.721456
692
5,001
5.046243
0.184971
0.41323
0.212199
0.290378
0.692153
0.685281
0.685281
0.646907
0.625716
0.594215
0
0.002282
0.211358
5,001
178
80
28.095506
0.883114
0.335133
0
0.432836
0
0
0.297593
0.024695
0
0
0
0
0.358209
1
0.074627
false
0
0.044776
0
0.119403
0.014925
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
c3479609421d8f42022457ca7df734243e3e13f2
636
py
Python
app/models/course_models.py
paulsavala/student-monitoring-frontend
1b8ca6e8d6f4c7490412a95e1d421bf31647955f
[ "MIT" ]
null
null
null
app/models/course_models.py
paulsavala/student-monitoring-frontend
1b8ca6e8d6f4c7490412a95e1d421bf31647955f
[ "MIT" ]
null
null
null
app/models/course_models.py
paulsavala/student-monitoring-frontend
1b8ca6e8d6f4c7490412a95e1d421bf31647955f
[ "MIT" ]
null
null
null
from app import db class Courses(db.Model): __tablename__ = 'courses' id = db.Column(db.Integer, primary_key=True) lms_id = db.Column(db.String(1024)) season = db.Column(db.String(64)) year = db.Column(db.Integer) short_name = db.Column(db.String(64)) long_name = db.Column(db.String(256)) ...
30.285714
74
0.672956
92
636
4.478261
0.467391
0.194175
0.242718
0.194175
0.378641
0.140777
0
0
0
0
0
0.02682
0.179245
636
20
75
31.8
0.762452
0.011006
0
0
0
0
0.051037
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0.066667
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5ee0f4e3434bbae77dc22a3550f786e2e1d78d2c
663
py
Python
app/models/purchase.py
ludolatin/ludolatin
0d4ca703564d7958f61e87f19cb2f594dabefd3f
[ "MIT" ]
22
2018-01-08T00:14:29.000Z
2022-01-22T04:07:24.000Z
app/models/purchase.py
ludolatin/ludolatin
0d4ca703564d7958f61e87f19cb2f594dabefd3f
[ "MIT" ]
27
2017-07-27T10:17:27.000Z
2019-02-06T22:50:56.000Z
app/models/purchase.py
merelinguist/ingenuity
0d4ca703564d7958f61e87f19cb2f594dabefd3f
[ "MIT" ]
5
2017-07-27T10:14:18.000Z
2021-07-19T11:56:42.000Z
from datetime import datetime from ._base_model import BaseModel from app import db # user_item = db.Table( # 'user_items', # db.Model.metadata, # db.Column('user_id', db.Integer, db.ForeignKey('user.id'), primary_key=True), # db.Column('purchase_id', db.Integer, db.ForeignKey('purchase.id'), primary_...
33.15
90
0.704374
97
663
4.690722
0.298969
0.123077
0.10989
0.184615
0.305495
0.208791
0.136264
0
0
0
0
0
0.143288
663
19
91
34.894737
0.801056
0.354449
0
0
0
0
0.04038
0
0
0
0
0
0
1
0
false
0
0.333333
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
5ee2d1df481f8979114cdf68ea32430b3f8550de
354
py
Python
visualization/visualization.py
pwaghray-28/visualization
f3ab5f9caffd3b94fdf2b2ba9d43f9d6dc98e4a7
[ "MIT" ]
null
null
null
visualization/visualization.py
pwaghray-28/visualization
f3ab5f9caffd3b94fdf2b2ba9d43f9d6dc98e4a7
[ "MIT" ]
null
null
null
visualization/visualization.py
pwaghray-28/visualization
f3ab5f9caffd3b94fdf2b2ba9d43f9d6dc98e4a7
[ "MIT" ]
null
null
null
import pandas as pd import csv import plotly.graph_objects as go df = pd.read_csv("data.csv") student_df = df.loc[df['student_id']=='TRL_abc'] print(student_df.groupby("level")["attempt"].mean()) figure = go.Figure(go.Bar(x = student_df.groupby("level")["attempt"].mean(),y = ["Level 1","Level 2","Level 3", "Level 4"]...
44.25
142
0.69209
59
354
4.033898
0.559322
0.113445
0.134454
0.176471
0.268908
0.268908
0
0
0
0
0
0.012461
0.09322
354
8
143
44.25
0.728972
0
0
0
0
0
0.219718
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6f123d93ce73bffa3a98e4e5f75ab3eafa6f995c
421
py
Python
Develop/subgroup3_dev/movies/forms.py
Youhoseong/MovieProject
c8649872a364e2e2ea1a58d6a7431f0282f8e90c
[ "MIT" ]
11
2021-03-24T13:20:22.000Z
2021-08-22T15:43:04.000Z
Develop/subgroup3_dev/movies/forms.py
Youhoseong/MovieProject
c8649872a364e2e2ea1a58d6a7431f0282f8e90c
[ "MIT" ]
null
null
null
Develop/subgroup3_dev/movies/forms.py
Youhoseong/MovieProject
c8649872a364e2e2ea1a58d6a7431f0282f8e90c
[ "MIT" ]
5
2021-03-24T13:24:44.000Z
2021-07-14T07:05:23.000Z
from django import forms class MoviePredictForm(forms.Form): # 감독, 배우들 , 예산, 장르 , 제작사 # 배우 최대 3명까지 director = forms.CharField(label="감독") actor1 = forms.CharField(label='배우1') actor2 = forms.CharField(label='배우2', required=False) actor3 = forms.CharField(label='배우3', required=Fals...
19.136364
57
0.631829
50
421
5.32
0.58
0.263158
0.357143
0
0
0
0
0
0
0
0
0.021739
0.235154
421
21
58
20.047619
0.804348
0.078385
0
0
0
0
0.038961
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6f149355b3669798cc4bdafc39ef0142db34936c
604
py
Python
playground/bonding.py
WilliamDEdwards/ypconfig
db0b8aa08cd8c14115dddcc70c72dfd9d758bdc6
[ "BSD-2-Clause" ]
7
2017-06-19T12:10:51.000Z
2018-02-15T10:53:22.000Z
playground/bonding.py
WilliamDEdwards/ypconfig
db0b8aa08cd8c14115dddcc70c72dfd9d758bdc6
[ "BSD-2-Clause" ]
6
2017-06-19T11:33:46.000Z
2021-07-26T19:28:43.000Z
playground/bonding.py
WilliamDEdwards/ypconfig
db0b8aa08cd8c14115dddcc70c72dfd9d758bdc6
[ "BSD-2-Clause" ]
3
2018-03-19T12:52:37.000Z
2021-07-26T19:26:08.000Z
#!/usr/bin/env python3 """This script should be able to create a configfile from all the current (supported) interfaces""" import sys from socket import AF_INET from pyroute2 import IPRoute from pprint import pprint from pyroute2 import IPDB from tabulate import tabulate from yaml import load, dump #from pyface impo...
24.16
99
0.720199
93
604
4.655914
0.645161
0.055427
0.083141
0
0
0
0
0
0
0
0
0.008368
0.208609
604
24
100
25.166667
0.89749
0.466887
0
0
0
0
0.038835
0
0
0
0
0
0
1
0
true
0
0.7
0
0.7
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
6f15ff147ff0b4b50369086e320378ea6bdd5d16
979
py
Python
var/spack/repos/builtin/packages/bpp-seq-omics/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
11
2015-10-04T02:17:46.000Z
2018-02-07T18:23:00.000Z
var/spack/repos/builtin/packages/bpp-seq-omics/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
22
2017-08-01T22:45:10.000Z
2022-03-10T07:46:31.000Z
var/spack/repos/builtin/packages/bpp-seq-omics/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
4
2016-06-10T17:57:39.000Z
2018-09-11T04:59:38.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class BppSeqOmics(CMakePackage): """Bio++ Sequence Omics Library""" homepage = "http://biop...
42.565217
95
0.771195
101
979
7.455446
0.693069
0.053121
0.035857
0
0
0
0
0
0
0
0
0.289805
0.108274
979
22
96
44.5
0.572738
0.222676
0
0
0
0.090909
0.631649
0.425532
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
6f32c2c6d164562e5ec92f59404c24ce9a35bf3a
232
py
Python
Food_basket/admin.py
PopaGabriel/Food-Ecommerce-Site
7f7cde94939f02f13df5afa865cddc72981481e2
[ "MIT" ]
1
2021-08-12T08:46:56.000Z
2021-08-12T08:46:56.000Z
Food_basket/admin.py
PopaGabriel/Food-Ecommerce-Site
7f7cde94939f02f13df5afa865cddc72981481e2
[ "MIT" ]
null
null
null
Food_basket/admin.py
PopaGabriel/Food-Ecommerce-Site
7f7cde94939f02f13df5afa865cddc72981481e2
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Basket class BasketAdmin(admin.ModelAdmin): list_display = ['restaurant', 'user', 'get_total_price'] admin.site.register(Basket, BasketAdmin) # Register your models here.
21.090909
60
0.767241
29
232
6.034483
0.724138
0
0
0
0
0
0
0
0
0
0
0
0.12931
232
10
61
23.2
0.866337
0.112069
0
0
0
0
0.142157
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6f5182e857715950d3eb5c1f0c3733288f1fe090
192
py
Python
Estudos/110exercicios/Exercicios/ex083.py
romuloferraz/Python
2e20e7483cf9ea74b0b514f253034002bb56807f
[ "MIT" ]
null
null
null
Estudos/110exercicios/Exercicios/ex083.py
romuloferraz/Python
2e20e7483cf9ea74b0b514f253034002bb56807f
[ "MIT" ]
null
null
null
Estudos/110exercicios/Exercicios/ex083.py
romuloferraz/Python
2e20e7483cf9ea74b0b514f253034002bb56807f
[ "MIT" ]
null
null
null
expressao = input('Digite uma expressão para ser analisada:\n') cont1 = expressao.count('(') cont2 = expressao.count(')') print(cont1, cont2) if cont1 != cont2: print('Expressão ERRADA!')
27.428571
63
0.697917
24
192
5.583333
0.625
0.208955
0
0
0
0
0
0
0
0
0
0.036145
0.135417
192
6
64
32
0.771084
0
0
0
0
0
0.317708
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4889e485e299cb44fcab7959c8a1e4e362990ef5
45,545
py
Python
template_container_human/labels/slice_45.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_45.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_45.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
coordinates_E0E1E1 = ((122, 118), (122, 120), (123, 117), (123, 122), (123, 124), (124, 117), (124, 119), (124, 120), (124, 121), (124, 125), (125, 116), (125, 118), (125, 119), (125, 120), (125, 121), (125, 122), (125, 123), (125, 124), (125, 126), (126, 116), (126, 118), (126, 119), (126, 120), (126, 121), (126, 12...
433.761905
865
0.481963
7,806
45,545
2.807968
0.017807
0.000684
0.000821
0.001095
0.001369
0
0
0
0
0
0
0.572274
0.175958
45,545
104
866
437.932692
0.01175
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
48a023686cf18726d75224c643d2e5f4239ace62
669
py
Python
config/directory.py
DitaAjiPratama/Cucianku
5189428e7cbc71cf7a6007d39658072b995feb57
[ "MIT" ]
null
null
null
config/directory.py
DitaAjiPratama/Cucianku
5189428e7cbc71cf7a6007d39658072b995feb57
[ "MIT" ]
1
2021-02-11T18:05:51.000Z
2021-02-11T18:05:51.000Z
config/directory.py
DitaAjiPratama/MuffinPy
83b1f4a8b6c69e3a84e5a62caca0e2f50b80ce0e
[ "MIT" ]
null
null
null
import os html = "static/pages" dirconfig = { '/' : { 'tools.sessions.on' : True , 'tools.staticdir.root' : os.path.abspath(os.getcwd()) , }, '/css' : { 'tools.staticdir.on' : True , 'tools.staticdir.dir' : './static/css' , }, '/js' : ...
18.081081
64
0.433483
58
669
5
0.344828
0.434483
0.189655
0.344828
0.593103
0.593103
0.593103
0.593103
0
0
0
0
0.373692
669
36
65
18.583333
0.692124
0
0
0.137931
0
0
0.397608
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
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
48c279a3e93c71c5adab575bea0ffeedd8e36bf2
131
py
Python
Parte 1/temperatura.py
marcosjcs/intro-computacao-python
a40cf8cca38830d7d7f30176f1f31c9bddca11c9
[ "MIT" ]
null
null
null
Parte 1/temperatura.py
marcosjcs/intro-computacao-python
a40cf8cca38830d7d7f30176f1f31c9bddca11c9
[ "MIT" ]
null
null
null
Parte 1/temperatura.py
marcosjcs/intro-computacao-python
a40cf8cca38830d7d7f30176f1f31c9bddca11c9
[ "MIT" ]
null
null
null
tempF = input("Digite uma temperatura em Fahrenheit: ") tempC = (float(tempF) - 32) * 5 / 9 print("A temperatura é ",tempC,"º C")
32.75
56
0.656489
21
131
4.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.036697
0.167939
131
3
57
43.666667
0.752294
0
0
0
0
0
0.438462
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
48d1a8c3bcf003d8cee85706835e58b31a64dfad
609
py
Python
lib/sqlalchemy/dialects/postgres.py
Slashbunny/maraschino
941a0f82a352e9c178e701d5156711b613f7f6db
[ "MIT" ]
137
2015-01-12T19:29:04.000Z
2022-02-25T04:51:02.000Z
lib/sqlalchemy/dialects/postgres.py
Slashbunny/maraschino
941a0f82a352e9c178e701d5156711b613f7f6db
[ "MIT" ]
24
2015-01-06T08:36:13.000Z
2019-04-08T13:59:05.000Z
lib/sqlalchemy/dialects/postgres.py
Slashbunny/maraschino
941a0f82a352e9c178e701d5156711b613f7f6db
[ "MIT" ]
57
2015-01-01T00:42:44.000Z
2022-03-10T20:54:41.000Z
# dialects/postgres.py # Copyright (C) 2005-2011 the SQLAlchemy authors and contributors <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php # backwards compat with the old name from sqlalchemy.util import warn_deprecated ...
35.823529
90
0.766831
83
609
5.60241
0.650602
0.090323
0.094624
0.137634
0.163441
0
0
0
0
0
0
0.015267
0.139573
609
16
91
38.0625
0.872137
0.430213
0
0
0
0
0.461765
0.15
0
0
0
0
0
1
0
true
0.142857
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
5b0031139efac4d33dfb400cfe0b49dcb83be619
457
py
Python
PyExercises - CeV - Mundo 3/Exercises (35 - 43)/Ex 37/ex 37.py
PatrickAMenezes/PyExercises-CursoEmVideo-Mundo3
3c02768eb720c2112ececc95be95caf2bdd98fb1
[ "MIT" ]
null
null
null
PyExercises - CeV - Mundo 3/Exercises (35 - 43)/Ex 37/ex 37.py
PatrickAMenezes/PyExercises-CursoEmVideo-Mundo3
3c02768eb720c2112ececc95be95caf2bdd98fb1
[ "MIT" ]
null
null
null
PyExercises - CeV - Mundo 3/Exercises (35 - 43)/Ex 37/ex 37.py
PatrickAMenezes/PyExercises-CursoEmVideo-Mundo3
3c02768eb720c2112ececc95be95caf2bdd98fb1
[ "MIT" ]
null
null
null
import coin print('-'*45) money = float(input('Enter the price: R$')) print('-'*45) print(f'The half of {coin.coin(money)} is {coin.half(money, True)}.') print(f'The double of {coin.coin(money)} is {coin.double(money, True)}.') print(f'Increasing 10% of {coin.coin(money)}, we have {coin.increase(money, 10, True)}.') pr...
38.083333
89
0.654267
76
457
3.934211
0.342105
0.093645
0.133779
0.200669
0.32107
0.32107
0.180602
0.180602
0
0
0
0.043902
0.102845
457
11
90
41.545455
0.685366
0
0
0.363636
0
0.181818
0.671772
0.091904
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.818182
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5b1db8ea98ec666bfc7886539a333b922b3587ad
4,458
py
Python
XXBDailyFresh/apps/user/views.py
sixTiger/XXBDailyFresh
5c6976eff8e073f79b50e7829e10332ccd8df43d
[ "MIT" ]
null
null
null
XXBDailyFresh/apps/user/views.py
sixTiger/XXBDailyFresh
5c6976eff8e073f79b50e7829e10332ccd8df43d
[ "MIT" ]
null
null
null
XXBDailyFresh/apps/user/views.py
sixTiger/XXBDailyFresh
5c6976eff8e073f79b50e7829e10332ccd8df43d
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic import View # Create your views here. # /user/register class RegisterView(View): '''注册''' def get(self, request): '''显示注册页面''' return render(request, 'register.html') def post(self, request): '''进行注册处理''' pass ...
30.958333
88
0.482503
400
4,458
5.34
0.365
0.050562
0.080056
0.063202
0.253277
0.155431
0
0
0
0
0
0.012885
0.373262
4,458
144
89
30.958333
0.751611
0.686182
0
0.25
0
0
0.010673
0
0
0
0
0
0
1
0.25
false
0.25
0.166667
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d2990a001816ba4ec4cd802c966da0febcb5fdd9
367
py
Python
TbNameGen.py
Terranlee/Grail
d0197d9bf8e25c125742be2517fc2f6659ef02e7
[ "Apache-2.0" ]
7
2016-06-29T21:52:15.000Z
2021-08-08T18:48:15.000Z
TbNameGen.py
Terranlee/Grail
d0197d9bf8e25c125742be2517fc2f6659ef02e7
[ "Apache-2.0" ]
3
2016-03-30T15:04:52.000Z
2016-05-24T19:03:06.000Z
TbNameGen.py
UWQuickstep/Grail
d0197d9bf8e25c125742be2517fc2f6659ef02e7
[ "Apache-2.0" ]
4
2016-03-14T22:02:33.000Z
2018-10-07T15:47:33.000Z
class TbNameGen: ''' Class that's used to generate the next available table name. Starts from Table1, Table2 and so on ''' curIdx=0 #static variable def getNextTbName(self): ''' returns the next available table name ''' TbNameGen.curIdx=TbNameGen.curIdx+1 ret...
28.230769
101
0.615804
44
367
5.136364
0.681818
0.199115
0.141593
0.185841
0.221239
0
0
0
0
0
0
0.019305
0.294278
367
13
102
28.230769
0.853282
0.411444
0
0
1
0
0.02809
0
0
0
0
0
0
1
0.2
false
0
0
0
0.8
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d29cefb856e4367f36b2103898aaea7d27233020
243
py
Python
intro_to_machine_learning/lesson/lesson_3_decision_trees/math.py
robinl3680/udacity-course
308daf62479f9bf6f4256eb19313631f1bb4c5da
[ "MIT" ]
68
2016-07-28T07:24:57.000Z
2021-10-09T19:28:48.000Z
intro_to_machine_learning/lesson/lesson_3_decision_trees/math.py
robinl3680/udacity-course
308daf62479f9bf6f4256eb19313631f1bb4c5da
[ "MIT" ]
null
null
null
intro_to_machine_learning/lesson/lesson_3_decision_trees/math.py
robinl3680/udacity-course
308daf62479f9bf6f4256eb19313631f1bb4c5da
[ "MIT" ]
105
2016-10-19T03:56:33.000Z
2022-03-15T02:12:08.000Z
# -*- coding: utf-8 -*- """ Created on Sat Nov 29 19:22:00 2014 @author: tvu """ import math from __future__ import division -0.5*math.log(0.5, 2) - 0.5*math.log(0.5, 2) -(2/3)*math.log((2/3),2) - (1/3)*math.log((1/3), 2) 1 - 3/4*(0.9184)
16.2
51
0.576132
53
243
2.566038
0.509434
0.058824
0.088235
0.132353
0.176471
0.176471
0.176471
0
0
0
0
0.2
0.156379
243
15
52
16.2
0.463415
0.296296
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
d2b0a9919e17c6c2766a3b64faf5186e0a397741
19,504
py
Python
py_proto/modules/common/adapters/proto/adapter_config_pb2.py
yujianyi/fusion_localization
c0057e29cbf690d6260f021080fd951c1a6b6baa
[ "Apache-2.0" ]
2
2019-03-04T02:11:04.000Z
2019-04-18T11:19:45.000Z
py_proto/modules/common/adapters/proto/adapter_config_pb2.py
yujianyi/fusion_localization
c0057e29cbf690d6260f021080fd951c1a6b6baa
[ "Apache-2.0" ]
1
2019-03-15T08:37:53.000Z
2019-03-15T08:37:53.000Z
py_proto/modules/common/adapters/proto/adapter_config_pb2.py
yujianyi/fusion_localization
c0057e29cbf690d6260f021080fd951c1a6b6baa
[ "Apache-2.0" ]
1
2019-03-04T02:11:09.000Z
2019-03-04T02:11:09.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: modules/common/adapters/proto/adapter_config.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google...
40.049281
3,420
0.722826
2,465
19,504
5.492901
0.162677
0.059675
0.185229
0.10384
0.600443
0.567947
0.508567
0.400739
0.283235
0.200591
0
0.072208
0.149354
19,504
486
3,421
40.131687
0.743897
0.017586
0
0.665944
1
0.004338
0.209982
0.158139
0
0
0
0
0
1
0
false
0
0.013015
0
0.013015
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d2bc910458c601f80e784fcd483b33dc5738e25a
232
py
Python
pyfluids/fluid_props/__init__.py
portyanikhin/PyFluids
c570c6708f88d24fb3100d90b81271c3171cd87b
[ "MIT" ]
null
null
null
pyfluids/fluid_props/__init__.py
portyanikhin/PyFluids
c570c6708f88d24fb3100d90b81271c3171cd87b
[ "MIT" ]
null
null
null
pyfluids/fluid_props/__init__.py
portyanikhin/PyFluids
c570c6708f88d24fb3100d90b81271c3171cd87b
[ "MIT" ]
1
2021-08-08T01:36:59.000Z
2021-08-08T01:36:59.000Z
# PyFluids # Copyright (c) 2021 Vladimir Portyanikhin from .fluid_lists import * from .fluids import * from .inputs import * from .phases import * __all__ = fluids.__all__ + fluid_lists.__all__ + inputs.__all__ + phases.__all__
23.2
80
0.75431
29
232
5.275862
0.482759
0.196078
0
0
0
0
0
0
0
0
0
0.020513
0.159483
232
9
81
25.777778
0.764103
0.215517
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
d2d0bfd74fe49eceb90be6a99602199324c68e57
274
py
Python
PE067.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
PE067.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
PE067.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
from PE018 import maximum_path_sum def MPS2(): with open('p067_triangle.txt') as f: tri = f.read().split('\n') for i in range(len(tri)): tri[i] = list(map(int, tri[i].split())) return maximum_path_sum(tri) def solve(vol=0): return MPS2()
19.571429
47
0.605839
45
274
3.577778
0.688889
0.136646
0.173913
0
0
0
0
0
0
0
0
0.042654
0.229927
274
13
48
21.076923
0.720379
0
0
0
0
0
0.069343
0
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
9620eaf87a0a80cc1062ccc6769eb3987e56645b
495
py
Python
Games/Jogo_de_Aventura/source/eventos/chama_evento.py
tarcisioribeiro/Python
69b8fee218a6c9b93ae7a6ea36eb903d5ac36955
[ "MIT" ]
null
null
null
Games/Jogo_de_Aventura/source/eventos/chama_evento.py
tarcisioribeiro/Python
69b8fee218a6c9b93ae7a6ea36eb903d5ac36955
[ "MIT" ]
null
null
null
Games/Jogo_de_Aventura/source/eventos/chama_evento.py
tarcisioribeiro/Python
69b8fee218a6c9b93ae7a6ea36eb903d5ac36955
[ "MIT" ]
null
null
null
from random import randint from source.eventos.cachorro import Cachorro from source.eventos.caminhao import Caminhao from source.eventos.ladrao import Ladrao from source.eventos.bombeiro import Bombeiro from source.eventos.alien import Alien def Chama_Evento(): evento = randint(0, 4) if(evento == 0): ...
22.5
44
0.650505
62
495
5.177419
0.33871
0.155763
0.264798
0
0
0
0
0
0
0
0
0.018717
0.244444
495
21
45
23.571429
0.839572
0
0
0
0
0
0
0
0
0
0
0
0
1
0.052632
false
0.052632
0.315789
0
0.368421
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
962579ccc276783260ff6d7b3149f52c9b4e2bf1
728
py
Python
MemeVoteBot/Repository/i_repository.py
bufo24/telegram-poll-bot
4e8f7b8bedb47aa239132cf2cd043599a562f045
[ "MIT" ]
null
null
null
MemeVoteBot/Repository/i_repository.py
bufo24/telegram-poll-bot
4e8f7b8bedb47aa239132cf2cd043599a562f045
[ "MIT" ]
2
2021-11-19T20:47:54.000Z
2021-11-19T21:04:55.000Z
MemeVoteBot/Repository/i_repository.py
satoshiradio/telegram-poll-bot
4e8f7b8bedb47aa239132cf2cd043599a562f045
[ "MIT" ]
1
2021-11-18T19:35:46.000Z
2021-11-18T19:35:46.000Z
from abc import ABC, abstractmethod from typing import Generic, TypeVar from MemeVoteBot.Repository.database import Base ModelType = TypeVar("ModelType", bound=Base) class IRepository(ABC, Generic[ModelType]): @abstractmethod def get(self, entity_id, should_error=True) -> ModelType: raise NotImpleme...
25.103448
61
0.71978
73
728
7.136986
0.438356
0.163148
0.316699
0.360845
0.40691
0.214971
0
0
0
0
0
0
0.203297
728
28
62
26
0.898276
0
0
0.5
0
0
0.012363
0
0
0
0
0
0
1
0.25
false
0
0.15
0
0.45
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
1
0
0
0
0
0
0
0
3
962740cc62a347aa083acedfcad6e5367b6e6f29
405
py
Python
rdr_service/api/message_broker_api.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
39
2017-10-13T19:16:27.000Z
2021-09-24T16:58:21.000Z
rdr_service/api/message_broker_api.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
312
2017-09-08T15:42:13.000Z
2022-03-23T18:21:40.000Z
rdr_service/api/message_broker_api.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
19
2017-09-15T13:58:00.000Z
2022-02-07T18:33:20.000Z
from rdr_service import app_util from rdr_service.api.base_api import BaseApi from rdr_service.api_util import PTC_AND_GEM from rdr_service.dao.message_broker_dao import MessageBrokerDao class MessageBrokerApi(BaseApi): def __init__(self): super().__init__(MessageBrokerDao()) @app_util.auth_required(...
28.928571
63
0.780247
56
405
5.232143
0.464286
0.095563
0.191126
0.116041
0
0
0
0
0
0
0
0
0.14321
405
13
64
31.153846
0.84438
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.1
0.8
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8265230a11e3f9f27555d8257e9511408bb838b3
138
py
Python
src/test_dict.py
geektime-selfstudy/FromZeroToLearnPython
dfa5c70e292b30472a3c3a450a8be9fb7c5806fd
[ "Apache-2.0" ]
3
2019-04-05T03:50:19.000Z
2021-06-30T12:24:27.000Z
src/test_dict.py
geektime-selfstudy/FromZeroToLearnPython
dfa5c70e292b30472a3c3a450a8be9fb7c5806fd
[ "Apache-2.0" ]
null
null
null
src/test_dict.py
geektime-selfstudy/FromZeroToLearnPython
dfa5c70e292b30472a3c3a450a8be9fb7c5806fd
[ "Apache-2.0" ]
2
2019-06-08T14:07:17.000Z
2020-07-16T01:49:41.000Z
# 定义一个空的字典 dict1 = {} print(type(dict1)) # 定义一个含有两个元素的字典 dict2 = {'x': 1, 'y': 2} print(dict2) # 向字典中添加一个键值对 dict2['z'] = 4 print(dict2)
12.545455
24
0.630435
19
138
4.578947
0.684211
0.229885
0
0
0
0
0
0
0
0
0
0.077586
0.15942
138
11
25
12.545455
0.672414
0.246377
0
0.333333
0
0
0.03
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
1
0
3
826da462a8b989074fe6b6ce66a471f917e0e7ea
14,114
py
Python
tobac_flow/nexrad.py
w-k-jones/tobac_flow
6b57e7844236dbd4adf022a7c28271f02680c9ad
[ "BSD-3-Clause" ]
null
null
null
tobac_flow/nexrad.py
w-k-jones/tobac_flow
6b57e7844236dbd4adf022a7c28271f02680c9ad
[ "BSD-3-Clause" ]
null
null
null
tobac_flow/nexrad.py
w-k-jones/tobac_flow
6b57e7844236dbd4adf022a7c28271f02680c9ad
[ "BSD-3-Clause" ]
null
null
null
import numpy as np from numpy import ma import pyart import tarfile from scipy import stats from scipy import ndimage as ndi import xarray as xr from dateutil.parser import parse as parse_date from datetime import datetime, timedelta from .abi import get_abi_x_y from .dataset import get_ds_bin_edges, get_ds_shape, get...
73.129534
4,489
0.65807
2,769
14,114
3.310581
0.293608
0.034908
0.010691
0.009163
0.204647
0.176394
0.158067
0.138868
0.125232
0.116941
0
0.25218
0.155165
14,114
192
4,490
73.510417
0.489769
0.025223
0
0.092715
0
0
0.343855
0
0
0
0
0
0
1
0.066225
false
0.006623
0.07947
0.006623
0.218543
0.019868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8281b73e609e9dd3e292e156482a6cf9a7ef9667
202
py
Python
Getting_Started_With_Raspberry_Pi_Pico/data_logger_no_ground_wire_boot/code.py
gamblor21/Adafruit_Learning_System_Guides
f5dab4a758bc82d0bfc3c299683fe89dc093912a
[ "MIT" ]
665
2017-09-27T21:20:14.000Z
2022-03-31T09:09:25.000Z
Getting_Started_With_Raspberry_Pi_Pico/data_logger_no_ground_wire_boot/code.py
gamblor21/Adafruit_Learning_System_Guides
f5dab4a758bc82d0bfc3c299683fe89dc093912a
[ "MIT" ]
641
2017-10-03T19:46:37.000Z
2022-03-30T18:28:46.000Z
Getting_Started_With_Raspberry_Pi_Pico/data_logger_no_ground_wire_boot/code.py
gamblor21/Adafruit_Learning_System_Guides
f5dab4a758bc82d0bfc3c299683fe89dc093912a
[ "MIT" ]
734
2017-10-02T22:47:38.000Z
2022-03-30T14:03:51.000Z
""" boot.py file for Pico data logging example. If this file is present when the pico starts up, make the filesystem writeable by CircuitPython. """ import storage storage.remount("/", readonly=False)
25.25
72
0.762376
30
202
5.133333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.148515
202
7
73
28.857143
0.895349
0.693069
0
0
0
0
0.018519
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
82b87f360f712b08a11d89a5f88d1295a5158e82
383
py
Python
deploy_webhook/api/healthcheck.py
TheEdgeOfRage/deploy-webhook
5b0779161ad2491cc20dbd0b6c4b91e3f80ca2bc
[ "BSD-3-Clause" ]
2
2020-04-28T16:12:53.000Z
2020-05-16T20:35:17.000Z
deploy_webhook/api/healthcheck.py
TheEdgeOfRage/deploy-webhook
5b0779161ad2491cc20dbd0b6c4b91e3f80ca2bc
[ "BSD-3-Clause" ]
null
null
null
deploy_webhook/api/healthcheck.py
TheEdgeOfRage/deploy-webhook
5b0779161ad2491cc20dbd0b6c4b91e3f80ca2bc
[ "BSD-3-Clause" ]
2
2020-01-24T15:09:08.000Z
2020-01-24T15:10:45.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2020 <pavle.portic@tilda.center> # # Distributed under terms of the BSD 3-Clause license. from . import api @api.route('/healthcheck', methods=['GET']) def healthcheck(): """ Healthcheck route :resjson string msg: status message :s...
16.652174
54
0.665796
52
383
4.923077
0.846154
0.03125
0
0
0
0
0
0
0
0
0
0.040625
0.164491
383
22
55
17.409091
0.75625
0.637076
0
0
0
0
0.165289
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
3
82d6764c369d467111ed106c744838a5dba51dc7
431
py
Python
aoc_2021_02_2.py
camelusferus/aoc_2021
3e9665d6feb3eea1fc5460c5d055dd57ce5d2b81
[ "Apache-2.0" ]
null
null
null
aoc_2021_02_2.py
camelusferus/aoc_2021
3e9665d6feb3eea1fc5460c5d055dd57ce5d2b81
[ "Apache-2.0" ]
null
null
null
aoc_2021_02_2.py
camelusferus/aoc_2021
3e9665d6feb3eea1fc5460c5d055dd57ce5d2b81
[ "Apache-2.0" ]
null
null
null
file = open("input/input_02.txt") horizontal = 0 depth = 0 aim = 0 for line in file.readlines(): if line.split()[0] == "forward": horizontal = horizontal + int(line.split()[1]) depth = depth + aim * int(line.split()[1]) elif line.split()[0] == "down": aim = aim + int(line.split()[1]) ...
23.944444
54
0.563805
62
431
3.903226
0.370968
0.260331
0.198347
0.214876
0.338843
0.338843
0.247934
0.247934
0.247934
0
0
0.036585
0.238979
431
18
55
23.944444
0.70122
0
0
0
0
0
0.071759
0
0
0
0
0
0
1
0
false
0
0
0
0
0.071429
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
7d65e347d88f3b88d89eb8272b1ec8b76b8c5f53
277
py
Python
app/models/auth/Encrypto.py
eduardosvieira/coaprendiz
72d23ec1958c9a3362d16141e874260126ee6142
[ "MIT" ]
null
null
null
app/models/auth/Encrypto.py
eduardosvieira/coaprendiz
72d23ec1958c9a3362d16141e874260126ee6142
[ "MIT" ]
null
null
null
app/models/auth/Encrypto.py
eduardosvieira/coaprendiz
72d23ec1958c9a3362d16141e874260126ee6142
[ "MIT" ]
1
2019-03-07T14:20:16.000Z
2019-03-07T14:20:16.000Z
import jwt class Encrypto(): def encode(self, msg): encoded_jwt = jwt.encode(msg, 'secret', algorithm='HS256') return encoded_jwt def decode(self, encoded_jwt): msg = jwt.decode(encoded_jwt, 'secret', algorithms=['HS256']) return msg
23.083333
69
0.631769
34
277
5.029412
0.441176
0.233918
0
0
0
0
0
0
0
0
0
0.028571
0.241877
277
11
70
25.181818
0.785714
0
0
0
0
0
0.079422
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.75
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
1
0
0
0
0
1
0
0
3
7d8e9e8d9e600c89b28050b67497bec541ec4d1a
375
py
Python
libsaas/services/instagram/resource.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
155
2015-01-27T15:17:59.000Z
2022-02-20T00:14:08.000Z
libsaas/services/instagram/resource.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
14
2015-01-12T08:22:37.000Z
2021-06-16T19:49:31.000Z
libsaas/services/instagram/resource.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
43
2015-01-28T22:41:45.000Z
2021-09-21T04:44:26.000Z
from libsaas.services import base class InstagramResource(base.RESTResource): pass class ReadonlyResource(InstagramResource): def create(self, *args, **kwargs): raise base.MethodNotSupported() def update(self, *args, **kwargs): raise base.MethodNotSupported() def delete(self, *ar...
19.736842
43
0.690667
37
375
7
0.513514
0.092664
0.162162
0.220077
0.49807
0.49807
0.339768
0
0
0
0
0
0.2
375
18
44
20.833333
0.863333
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0.1
0.1
0
0.6
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
7da6656a3f5def0f32b8f1093c4081da2da89753
270
py
Python
notifications/forms.py
ptrcktylr/splat-issue-tracker
8119a59d0982966708f83d83de27da68aafd8ef9
[ "MIT" ]
1
2021-03-28T19:03:39.000Z
2021-03-28T19:03:39.000Z
notifications/forms.py
ptrcktylr/splat-issue-tracker
8119a59d0982966708f83d83de27da68aafd8ef9
[ "MIT" ]
null
null
null
notifications/forms.py
ptrcktylr/splat-issue-tracker
8119a59d0982966708f83d83de27da68aafd8ef9
[ "MIT" ]
null
null
null
from django import forms from .models import Notification from django.contrib.auth.models import User class NotificationForm(forms.ModelForm): class Meta: model = Notification fields = ('is_read') widgets = {'any_field': forms.HiddenInput()}
30
52
0.711111
31
270
6.129032
0.677419
0.105263
0
0
0
0
0
0
0
0
0
0
0.2
270
9
52
30
0.87963
0
0
0
0
0
0.059041
0
0
0
0
0
0
1
0
false
0
0.375
0
0.625
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
7dc24444f2e2eb14949b747a15f7ebd1dd10332a
10,921
py
Python
Algorithm.Python/stubs/QuantConnect/__Interfaces_2.py
gaoxiaojun/Lean
9dca43bccb720d0df91e4bfc1d363b71e3a36cb5
[ "Apache-2.0" ]
2
2020-12-08T11:27:20.000Z
2021-04-06T13:21:15.000Z
Algorithm.Python/stubs/QuantConnect/__Interfaces_2.py
gaoxiaojun/Lean
9dca43bccb720d0df91e4bfc1d363b71e3a36cb5
[ "Apache-2.0" ]
null
null
null
Algorithm.Python/stubs/QuantConnect/__Interfaces_2.py
gaoxiaojun/Lean
9dca43bccb720d0df91e4bfc1d363b71e3a36cb5
[ "Apache-2.0" ]
1
2020-12-08T11:27:21.000Z
2020-12-08T11:27:21.000Z
from .__Interfaces_3 import * import typing import System.Threading import System.IO import System.Collections.Generic import System.Collections.Concurrent import System import QuantConnect.Storage import QuantConnect.Statistics import QuantConnect.Securities.Option import QuantConnect.Securities.Future import QuantCon...
31.11396
218
0.722644
1,133
10,921
6.961165
0.274493
0.026626
0.046152
0.023963
0.275263
0.257893
0.225054
0.188665
0.173704
0.147331
0
0.000113
0.190184
10,921
350
219
31.202857
0.891678
0.165644
0
0.343284
0
0
0
0
0
0
0
0
0
1
0.293532
false
0.298507
0.144279
0
0.656716
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
7ddd8550c2d836a538e5f1b905067dd6dd22bb2e
1,222
py
Python
release/stubs.min/System/ComponentModel/__init___parts/PropertyTabScope.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/ComponentModel/__init___parts/PropertyTabScope.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/ComponentModel/__init___parts/PropertyTabScope.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class PropertyTabScope(Enum, IComparable, IFormattable, IConvertible): """ Defines identifiers that indicate the persistence scope of a tab in the Properties window. enum PropertyTabScope,values: Component (3),Document (2),Global (1),Static (0) """ def __eq__(self, *args): """ x.__eq__...
25.458333
221
0.580196
139
1,222
4.417266
0.395683
0.130293
0.136808
0.14658
0.210098
0.210098
0.210098
0.184039
0.184039
0.184039
0
0.004603
0.288871
1,222
47
222
26
0.701956
0.409165
0
0.384615
0
0
0
0
0
0
0
0
0
1
0.384615
false
0.384615
0
0
0.615385
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
7ded336350835002fd639f39d8d5e29c0af869ed
648
py
Python
tests/test_csv_utils.py
MartinThoma/edapy
91b535d3561060a2350eee69acdb312b05fcd238
[ "MIT" ]
17
2018-08-01T15:18:27.000Z
2021-08-21T16:59:09.000Z
tests/test_csv_utils.py
MartinThoma/edapy
91b535d3561060a2350eee69acdb312b05fcd238
[ "MIT" ]
12
2018-02-02T12:19:35.000Z
2022-01-13T03:38:21.000Z
tests/test_csv_utils.py
MartinThoma/edapy
91b535d3561060a2350eee69acdb312b05fcd238
[ "MIT" ]
2
2020-11-25T13:23:30.000Z
2021-06-25T05:15:48.000Z
# Third party from pkg_resources import resource_filename # First party from edapy.csv import utils def test_load_csv(): csv_path = resource_filename(__name__, "data/example.csv") yaml_path = resource_filename(__name__, "data/example_types.yaml") utils.load_csv(csv_path, yaml_path) def test_get_csv_del...
27
70
0.751543
91
648
4.824176
0.285714
0.095672
0.182232
0.218679
0.514806
0.359909
0.280182
0.280182
0
0
0
0
0.146605
648
23
71
28.173913
0.793852
0.035494
0
0.214286
0
0
0.117363
0.036977
0
0
0
0
0.142857
1
0.214286
false
0
0.142857
0
0.357143
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
1
0
0
0
0
0
0
0
3
7deff7e4f236c190b7e915fee7563439e4774bb9
149
py
Python
bot/starpruuuft/agent_message.py
PruuuGames/StarPruuuft
865bc7f897ccb97d1ca4334ea7a1621a38285a35
[ "MIT" ]
1
2018-07-07T08:09:44.000Z
2018-07-07T08:09:44.000Z
bot/starpruuuft/agent_message.py
PruuuGames/StarPruuuft
865bc7f897ccb97d1ca4334ea7a1621a38285a35
[ "MIT" ]
null
null
null
bot/starpruuuft/agent_message.py
PruuuGames/StarPruuuft
865bc7f897ccb97d1ca4334ea7a1621a38285a35
[ "MIT" ]
2
2018-07-07T20:32:14.000Z
2018-07-08T22:09:37.000Z
from enum import Enum class AgentMessage(Enum): RAMP_SUPPLY_DEPOT = 1 ENEMIES_CLOSE = 2 BARRACKS_READY = 3 ATTACKING = 4
14.9
26
0.644295
19
149
4.842105
0.894737
0
0
0
0
0
0
0
0
0
0
0.038835
0.308725
149
9
27
16.555556
0.854369
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
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
81696fc56518e82381b9d0e117ba4dbddc80646d
452
py
Python
test.py
mcroni/KivyLiteEmulator
380c81f5cb3f2a7a18049a186a3c4b853869e7ab
[ "MIT" ]
7
2019-08-12T15:18:47.000Z
2021-06-17T00:24:27.000Z
test.py
mwlt/KivyLiteEmulator
380c81f5cb3f2a7a18049a186a3c4b853869e7ab
[ "MIT" ]
2
2019-11-05T02:43:40.000Z
2021-09-30T07:19:16.000Z
test.py
mwlt/KivyLiteEmulator
380c81f5cb3f2a7a18049a186a3c4b853869e7ab
[ "MIT" ]
5
2019-08-12T23:16:57.000Z
2021-12-28T08:14:10.000Z
from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.button import Button from kivy.uix.floatlayout import FloatLayout from kivymd.theming import ThemeManager class Interface(FloatLayout): pass class Test(App): theme_cls = ThemeManager() theme_cls.primary_palette = 'Indigo' ...
20.545455
44
0.732301
58
452
5.482759
0.5
0.100629
0.103774
0
0
0
0
0
0
0
0
0
0.179204
452
22
45
20.545455
0.857143
0
0
0
0
0
0.04415
0
0
0
0
0
0
1
0.066667
false
0.066667
0.333333
0.066667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
817a09c39feb133434fcf3a476edba42915ed8ce
274
py
Python
python/smqtk/tests/utils/test_plugin_dir/external_2.py
cdeepakroy/SMQTK
ef5cec7399e9766f95ff06fe122471a51fc4b2d8
[ "BSD-3-Clause" ]
1
2021-04-10T10:51:26.000Z
2021-04-10T10:51:26.000Z
python/smqtk/tests/utils/test_plugin_dir/external_2.py
cdeepakroy/SMQTK
ef5cec7399e9766f95ff06fe122471a51fc4b2d8
[ "BSD-3-Clause" ]
3
2021-06-08T22:19:14.000Z
2022-03-12T00:46:44.000Z
python/smqtk/tests/utils/test_plugin_dir/external_2.py
DigitalCompanion/SMQTK
fc9404b69150ef44f24423844bc80735c0c2b669
[ "BSD-3-Clause" ]
null
null
null
from smqtk.tests.utils.test_plugin_get import DummyInterface __author__ = 'paul.tunison@kitware.com' class ImplExternal3 (DummyInterface): @classmethod def is_usable(cls): return True def inst_method(self, val): return 'external3'+str(val)
18.266667
60
0.711679
33
274
5.666667
0.878788
0
0
0
0
0
0
0
0
0
0
0.009091
0.19708
274
14
61
19.571429
0.840909
0
0
0
0
0
0.120438
0.087591
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
81936720f2c2fb3911ffc0be521c50dbbc6aab9a
869
py
Python
modules/htagger.py
42piratas/shakespeare
d883e905975b4267ce584cdec0c68bc585dddc37
[ "MIT" ]
null
null
null
modules/htagger.py
42piratas/shakespeare
d883e905975b4267ce584cdec0c68bc585dddc37
[ "MIT" ]
null
null
null
modules/htagger.py
42piratas/shakespeare
d883e905975b4267ce584cdec0c68bc585dddc37
[ "MIT" ]
null
null
null
# TEMP # for w in hg.content_no_stopwords: # postag = # content_NNP = [w[0][0] for w in hg.content_no_stopwords if (pos_tag(w))[0][1] == "NNP"] # print(content_NNP) import nltk import hg from nltk.tokenize import PunktSentenceTokenizer from collections import Counter def htag_raw_content(): ...
25.558824
98
0.716916
128
869
4.484375
0.3125
0.139373
0.182927
0.198606
0.358885
0.275261
0.090592
0
0
0
0
0.008547
0.192175
869
33
99
26.333333
0.809117
0.217491
0
0
0
0
0.011887
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.388889
0.055556
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
81d56e48489d7b40927563d94ee1a7eba8658688
78
py
Python
Lib/tdb/tests/examples/globals.py
smnbackwards/jython_tdb
6d0e13c0c51b8d92d7b45691998c5928206162b0
[ "CNRI-Jython" ]
null
null
null
Lib/tdb/tests/examples/globals.py
smnbackwards/jython_tdb
6d0e13c0c51b8d92d7b45691998c5928206162b0
[ "CNRI-Jython" ]
null
null
null
Lib/tdb/tests/examples/globals.py
smnbackwards/jython_tdb
6d0e13c0c51b8d92d7b45691998c5928206162b0
[ "CNRI-Jython" ]
null
null
null
a = 0 def f(): global a a = 2 a = 3 a = 4 a = 1 f() a = 5
7.8
12
0.307692
17
78
1.411765
0.588235
0
0
0
0
0
0
0
0
0
0
0.171429
0.551282
78
10
13
7.8
0.514286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c48d7359c9eb7d2b1ba82451a8bb67ff7c794e21
343
py
Python
maskrcnn/maskrcnn_local.py
msalvaris/DaskMaskRCNN
93d2fad7b3e947b4a99f727823ad3cc68251d421
[ "MIT" ]
27
2019-04-04T18:50:01.000Z
2022-02-12T03:53:27.000Z
maskrcnn/maskrcnn_local.py
msalvaris/DaskMaskRCNN
93d2fad7b3e947b4a99f727823ad3cc68251d421
[ "MIT" ]
null
null
null
maskrcnn/maskrcnn_local.py
msalvaris/DaskMaskRCNN
93d2fad7b3e947b4a99f727823ad3cc68251d421
[ "MIT" ]
3
2019-06-04T10:16:11.000Z
2019-06-09T03:57:18.000Z
import logging.config import os import fire from maskrcnn import dask_pipeline def run(scheduler_address, config_file, filepath, output_path): logging.config.fileConfig(os.getenv("LOG_CONFIG", "logging.ini")) dask_pipeline.start(config_file, filepath, output_path, scheduler_address) if __name__ == "__main_...
22.866667
78
0.77551
46
343
5.413043
0.543478
0.104418
0.144578
0.192771
0.2249
0
0
0
0
0
0
0
0.125364
343
14
79
24.5
0.83
0
0
0
0
0
0.084548
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.555556
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
c49466fed54e96d97ca29ad52860da43a859224b
226
py
Python
src/autoscaler/management/commands/check_autoscaler.py
ItsCalebJones/SpaceLaunchNow_API
09289068465c462557649172792ab0f41f833028
[ "Apache-2.0" ]
11
2017-06-26T05:01:31.000Z
2019-09-13T18:48:27.000Z
src/autoscaler/management/commands/check_autoscaler.py
ItsCalebJones/SpaceLaunchNow_API
09289068465c462557649172792ab0f41f833028
[ "Apache-2.0" ]
14
2019-01-30T23:13:34.000Z
2019-10-08T10:43:36.000Z
src/autoscaler/management/commands/check_autoscaler.py
ItsCalebJones/SpaceLaunchNow_API
09289068465c462557649172792ab0f41f833028
[ "Apache-2.0" ]
5
2018-04-24T16:52:59.000Z
2018-08-22T14:06:01.000Z
from django.core.management import BaseCommand from autoscaler.autoscaler import check_autoscaler class Command(BaseCommand): help = 'Run Auto Scaler' def handle(self, *args, **options): check_autoscaler()
20.545455
50
0.738938
26
226
6.346154
0.730769
0.181818
0
0
0
0
0
0
0
0
0
0
0.176991
226
10
51
22.6
0.887097
0
0
0
0
0
0.066372
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c49591034e7864d2a016155f1c78c71b5a4e6688
185
py
Python
gtfs_util/realtime/models/__init__.py
jwoos/gtfs_util
995ce529d09ba8dc693d3cf4b6cabf395a173997
[ "MIT" ]
1
2018-09-18T02:14:50.000Z
2018-09-18T02:14:50.000Z
gtfs_util/realtime/models/__init__.py
jwoos/gtfs_util
995ce529d09ba8dc693d3cf4b6cabf395a173997
[ "MIT" ]
17
2018-10-17T03:00:19.000Z
2018-11-12T03:46:40.000Z
gtfs_util/realtime/models/__init__.py
jwoos/python_gtfs-util
995ce529d09ba8dc693d3cf4b6cabf395a173997
[ "MIT" ]
null
null
null
__all__ = [ 'alert', 'base', 'trip_update', 'vehicle_position', ] from gtfs_util.realtime.models import ( base, alert, trip_update, vehicle_position, )
13.214286
39
0.605405
19
185
5.421053
0.684211
0.194175
0.330097
0.485437
0
0
0
0
0
0
0
0
0.27027
185
13
40
14.230769
0.762963
0
0
0
0
0
0.194595
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
1
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
0
0
3
c4b4ab3d41b7a99fd3eb1c2b5e1d6ea57015fc10
23
py
Python
stock_analyzer/models/__init__.py
sahilramani/StockAnalyzer
f43dc65ef267bdc21ead14c8576635a1dd3683d1
[ "MIT" ]
null
null
null
stock_analyzer/models/__init__.py
sahilramani/StockAnalyzer
f43dc65ef267bdc21ead14c8576635a1dd3683d1
[ "MIT" ]
null
null
null
stock_analyzer/models/__init__.py
sahilramani/StockAnalyzer
f43dc65ef267bdc21ead14c8576635a1dd3683d1
[ "MIT" ]
null
null
null
__all__ = ['StockLSTM']
23
23
0.695652
2
23
6
1
0
0
0
0
0
0
0
0
0
0
0
0.086957
23
1
23
23
0.571429
0
0
0
0
0
0.375
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
c4b833596b8f7fc31c48997f0e4f6f90ca0fc2d7
62
py
Python
mqtt_logger/__init__.py
Blake-Haydon/mqtt_logger
2358a0b5680b9442f1a393cfb14b655879c2f536
[ "MIT" ]
1
2022-03-14T10:29:37.000Z
2022-03-14T10:29:37.000Z
mqtt_logger/__init__.py
Blake-Haydon/mqtt_logger
2358a0b5680b9442f1a393cfb14b655879c2f536
[ "MIT" ]
null
null
null
mqtt_logger/__init__.py
Blake-Haydon/mqtt_logger
2358a0b5680b9442f1a393cfb14b655879c2f536
[ "MIT" ]
null
null
null
__version__ = "0.3.1" from .logger import Recorder, Playback
15.5
38
0.741935
9
62
4.666667
1
0
0
0
0
0
0
0
0
0
0
0.056604
0.145161
62
3
39
20.666667
0.735849
0
0
0
0
0
0.080645
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
c4d056b87c3c2e7239f4b288bd1af447553e8738
53
py
Python
test_app/__init__.py
elements-storage/django-haul
18f535bd3b7d8b25d05026191218defe05f2c5a6
[ "MIT" ]
1
2022-03-14T03:56:31.000Z
2022-03-14T03:56:31.000Z
test_app/__init__.py
elements-storage/django-haul
18f535bd3b7d8b25d05026191218defe05f2c5a6
[ "MIT" ]
null
null
null
test_app/__init__.py
elements-storage/django-haul
18f535bd3b7d8b25d05026191218defe05f2c5a6
[ "MIT" ]
null
null
null
from .app import setup setup() SECRET_KEY = 'test'
8.833333
22
0.698113
8
53
4.5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.188679
53
5
23
10.6
0.837209
0
0
0
0
0
0.075472
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
c4df18e5eb88660fdbf0b0efccfa39fc0a50e498
185
py
Python
app/forms.py
ZevranGong/webserver
50553885af4d74fac94a92e3d4a5d318e32a88f4
[ "BSD-3-Clause" ]
null
null
null
app/forms.py
ZevranGong/webserver
50553885af4d74fac94a92e3d4a5d318e32a88f4
[ "BSD-3-Clause" ]
null
null
null
app/forms.py
ZevranGong/webserver
50553885af4d74fac94a92e3d4a5d318e32a88f4
[ "BSD-3-Clause" ]
null
null
null
from flask_wtf import Form from wtforms import StringField from wtforms.validators import DataRequired class RequestForm(Form): req = StringField('req', validators=[DataRequired()])
23.125
54
0.805405
22
185
6.727273
0.545455
0.148649
0
0
0
0
0
0
0
0
0
0
0.113514
185
7
55
26.428571
0.902439
0
0
0
0
0
0.016304
0
0
0
0
0
0
1
0
false
0
0.6
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f21f95eb83148b474bce13ad9cec199481ea1512
226
py
Python
yc283/1399.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc283/1399.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc283/1399.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
V, D = map(int, input().split()) t = [[0] * V for _ in range(V)] if D == 1: t = [[1] * V for _ in range(V)] else: for i in range(V): t[0][i] = 1 t[i][0] = 1 for i in range(V): print(*t[i], sep='')
18.833333
35
0.433628
46
226
2.086957
0.369565
0.291667
0.333333
0.229167
0.5
0
0
0
0
0
0
0.045752
0.323009
226
11
36
20.545455
0.581699
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
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
1ee71351cd1f5d8fc413a18dbefcb0a24a2b75e1
214
py
Python
tools/apollo4b_scripts/apollo4b_keys.py
vaxradius/Apollo4B-SDK-2021.02.08
507e328b16a179f5d5b18685d5be4a5c6753f852
[ "BSD-3-Clause" ]
2
2021-11-04T03:48:20.000Z
2021-12-27T01:34:31.000Z
tools/apollo4b_scripts/apollo4b_keys.py
vaxradius/Apollo4B-SDK-2021.02.08
507e328b16a179f5d5b18685d5be4a5c6753f852
[ "BSD-3-Clause" ]
null
null
null
tools/apollo4b_scripts/apollo4b_keys.py
vaxradius/Apollo4B-SDK-2021.02.08
507e328b16a179f5d5b18685d5be4a5c6753f852
[ "BSD-3-Clause" ]
2
2021-11-04T03:47:21.000Z
2021-12-27T01:30:28.000Z
AM_HAL_FLASH_PROGRAM_KEY = 0x12344321 INFO_KEY = 0xd894e09e # Dummy key encryption key - just for test purpose KEK = [0xC8, 0x4B, 0x18, 0x8A, 0x09, 0x99, 0x6C, 0x05, 0x2A, 0xBA, 0xAA, 0x5C, 0xAF, 0x4D, 0x31, 0x37]
42.8
102
0.738318
34
214
4.5
0.911765
0
0
0
0
0
0
0
0
0
0
0.277778
0.158879
214
4
103
53.5
0.572222
0.224299
0
0
0
0
0
0
0
0
0.512195
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
1eed944aff4c8cb8a39692596af6191af57bbfa4
106
py
Python
Sem5/3150713_Python_for_Data_Science/Practical2/Pract2_4_2.py
Htrap1862/College_Data
f4768e393fea3403c60a4d25e35bb55f162e3f16
[ "MIT" ]
1
2021-08-14T10:36:17.000Z
2021-08-14T10:36:17.000Z
Sem5/3150713_Python_for_Data_Science/Practical2/Pract2_4_2.py
Htrap1862/College_Data
f4768e393fea3403c60a4d25e35bb55f162e3f16
[ "MIT" ]
null
null
null
Sem5/3150713_Python_for_Data_Science/Practical2/Pract2_4_2.py
Htrap1862/College_Data
f4768e393fea3403c60a4d25e35bb55f162e3f16
[ "MIT" ]
1
2021-08-17T08:29:04.000Z
2021-08-17T08:29:04.000Z
sq_li=[] for i in range(1,31): sq_li.append(i**2) result=sq_li[:5] + sq_li[25:] print(result,end=" ")
17.666667
29
0.613208
23
106
2.652174
0.652174
0.262295
0
0
0
0
0
0
0
0
0
0.076923
0.141509
106
5
30
21.2
0.593407
0
0
0
0
0
0.009434
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
1ef81240c2b2ad7395a5e30349407b0b771f13ab
191
py
Python
PYBFLASH/main.py
CaptainDegree/Trackduino-Pro
91719ac059c595edddf6b9bd2d84ee32728442b1
[ "BSD-3-Clause" ]
null
null
null
PYBFLASH/main.py
CaptainDegree/Trackduino-Pro
91719ac059c595edddf6b9bd2d84ee32728442b1
[ "BSD-3-Clause" ]
null
null
null
PYBFLASH/main.py
CaptainDegree/Trackduino-Pro
91719ac059c595edddf6b9bd2d84ee32728442b1
[ "BSD-3-Clause" ]
null
null
null
from trackduino.executor.led import BuiltinLED from pyb import delay for _ in range(3): BuiltinLED().color = BuiltinLED.Color.GREEN delay(100) BuiltinLED().off() delay(100)
19.1
47
0.706806
25
191
5.36
0.64
0.223881
0
0
0
0
0
0
0
0
0
0.045161
0.188482
191
9
48
21.222222
0.819355
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
1efbcb758c6ec3209a238fdb2f8b2baf6e33b6cb
219
py
Python
StructPy/__init__.py
Komutsou/StructPy
6b25b369ff14b31dbff4eb2cb4d6c43963ec7b3b
[ "MIT" ]
46
2018-04-29T23:56:22.000Z
2022-03-30T02:35:42.000Z
StructPy/__init__.py
Komutsou/StructPy
6b25b369ff14b31dbff4eb2cb4d6c43963ec7b3b
[ "MIT" ]
2
2018-11-06T03:11:34.000Z
2020-12-11T07:11:13.000Z
StructPy/__init__.py
Komutsou/StructPy
6b25b369ff14b31dbff4eb2cb4d6c43963ec7b3b
[ "MIT" ]
25
2018-04-29T23:57:00.000Z
2022-03-27T13:59:31.000Z
""" StructPy is a pure Python structural analysis. """ __version__ = '0.2' try: import cross_sections import structural_classes except ImportError: import StructPy.cross_sections import StructPy.structural_classes
18.25
46
0.803653
27
219
6.222222
0.62963
0.154762
0.22619
0
0
0
0
0
0
0
0
0.010471
0.127854
219
12
47
18.25
0.86911
0.210046
0
0
0
0
0.018072
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4831de5f3eac74737a8380e120be4e9decabbcbe
637
py
Python
improc3d/__init__.py
shuohan/improc3d
178b91a73a8bb2fabf73ea2a6e9562c39a8299ca
[ "MIT" ]
null
null
null
improc3d/__init__.py
shuohan/improc3d
178b91a73a8bb2fabf73ea2a6e9562c39a8299ca
[ "MIT" ]
null
null
null
improc3d/__init__.py
shuohan/improc3d
178b91a73a8bb2fabf73ea2a6e9562c39a8299ca
[ "MIT" ]
null
null
null
from .crop import crop3d, uncrop3d, calc_bbox3d, resize_bbox3d, padcrop3d from .deform import deform3d, calc_random_deformation3d from .rotate import rotate3d from .scale import scale3d from .translate import translate3d_int from .intensity import calc_random_intensity_transform, quantile_scale from .reslice import con...
45.5
73
0.866562
89
637
5.898876
0.449438
0.125714
0.194286
0.148571
0.274286
0.114286
0
0
0
0
0
0.022609
0.097331
637
13
74
49
0.890435
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
4835dc7c4197162d9ec18f0af76347b8fbff1abc
1,062
py
Python
core/settings/fields.py
suuuuumod/awmepost
b5e8699c552bb6c0e469fdf867a5bc48b637ce09
[ "MIT" ]
1
2021-03-25T09:06:15.000Z
2021-03-25T09:06:15.000Z
core/settings/fields.py
suuuuumod/awmepost
b5e8699c552bb6c0e469fdf867a5bc48b637ce09
[ "MIT" ]
null
null
null
core/settings/fields.py
suuuuumod/awmepost
b5e8699c552bb6c0e469fdf867a5bc48b637ce09
[ "MIT" ]
null
null
null
import re class Field(object): validators = [] def __init__(self, default=None, validators=None): self.default = default self.own_validators = validators or [] def valid(self, value): validators = self.validators + self.own_validators return all([v(value) for v in validat...
22.595745
72
0.631827
126
1,062
5.087302
0.293651
0.121685
0.068643
0.112324
0.50546
0.316693
0.316693
0.316693
0.316693
0.316693
0
0.003713
0.239171
1,062
46
73
23.086957
0.789604
0
0
0.275862
0
0
0.012241
0
0
0
0
0
0
1
0.310345
false
0
0.034483
0.137931
0.793103
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
483a52ca7e27024e4992b06614450565897ed554
4,843
py
Python
aliyun-python-sdk-retailcloud/aliyunsdkretailcloud/request/v20180313/CreateClusterRequest.py
jia-jerry/aliyun-openapi-python-sdk
e90f3683a250cfec5b681b5f1d73a68f0dc9970d
[ "Apache-2.0" ]
null
null
null
aliyun-python-sdk-retailcloud/aliyunsdkretailcloud/request/v20180313/CreateClusterRequest.py
jia-jerry/aliyun-openapi-python-sdk
e90f3683a250cfec5b681b5f1d73a68f0dc9970d
[ "Apache-2.0" ]
1
2020-05-31T14:51:47.000Z
2020-05-31T14:51:47.000Z
aliyun-python-sdk-retailcloud/aliyunsdkretailcloud/request/v20180313/CreateClusterRequest.py
jia-jerry/aliyun-openapi-python-sdk
e90f3683a250cfec5b681b5f1d73a68f0dc9970d
[ "Apache-2.0" ]
null
null
null
# 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...
32.722973
88
0.766674
608
4,843
5.893092
0.217105
0.031817
0.074239
0.090148
0.164387
0.164387
0.164387
0
0
0
0
0.004016
0.125955
4,843
148
89
32.722973
0.842429
0.155689
0
0
0
0
0.137835
0.024785
0
0
0
0
0
1
0.443182
false
0.045455
0.022727
0.215909
0.693182
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
48463059d49efe7e5fdcb01386963bd98aa8cad4
42,132
py
Python
tests/config/test_model.py
ashemedai/hatch
9ec00d5e027c992efbc16dd777b1f6926368b6bf
[ "MIT" ]
null
null
null
tests/config/test_model.py
ashemedai/hatch
9ec00d5e027c992efbc16dd777b1f6926368b6bf
[ "MIT" ]
null
null
null
tests/config/test_model.py
ashemedai/hatch
9ec00d5e027c992efbc16dd777b1f6926368b6bf
[ "MIT" ]
null
null
null
import subprocess import pytest from hatch.config.model import ConfigurationError, RootConfig def test_default(default_cache_dir, default_data_dir): config = RootConfig({}) config.parse_fields() assert config.raw_data == { 'mode': 'local', 'project': '', 'shell': '', 'di...
30.158912
108
0.503869
3,718
42,132
5.574233
0.034965
0.071797
0.051387
0.06509
0.88222
0.822967
0.735778
0.660362
0.588034
0.553727
0
0.014502
0.371499
42,132
1,396
109
30.180516
0.768165
0
0
0.614402
0
0
0.085963
0
0
0
0
0
0.146341
1
0.127758
false
0.003484
0.003484
0
0.140534
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
48553176437d8d202c9e4fde4c89cfe7235cd554
420
py
Python
core/lib/middleware.py
jiangxuewen16/hq-crawler
f03ec1e454513307e335943f224f4d927eaf2bbf
[ "MIT" ]
1
2021-02-25T08:33:40.000Z
2021-02-25T08:33:40.000Z
core/lib/middleware.py
jiangxuewen16/hq-crawler
f03ec1e454513307e335943f224f4d927eaf2bbf
[ "MIT" ]
null
null
null
core/lib/middleware.py
jiangxuewen16/hq-crawler
f03ec1e454513307e335943f224f4d927eaf2bbf
[ "MIT" ]
2
2021-03-08T07:25:16.000Z
2021-12-07T15:28:02.000Z
from django.utils.deprecation import MiddlewareMixin from core.lib.view import BaseView class MiddleSetMethod(MiddlewareMixin): def process_request(self, request): BaseView.method = request.method def process_response(self, request, response): return response # 执行完了这个中间件一定要 传递给下一个中间件 ...
26.25
52
0.757143
43
420
7.302326
0.55814
0.095541
0
0
0
0
0
0
0
0
0
0
0.17381
420
15
53
28
0.904899
0.052381
0
0
0
0
0.083333
0.083333
0
0
0
0
0
1
0.333333
false
0
0.222222
0.111111
0.777778
0.111111
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
486e6ddf179b049ee5ac11039868c770748ffe19
191
py
Python
{{cookiecutter.project_slug}}/{{cookiecutter.project_package_name}}/__version__.py
esciara/python-library-project-generator
fa2379623c7f36de28347c966440ac8a3145badd
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.project_package_name}}/__version__.py
esciara/python-library-project-generator
fa2379623c7f36de28347c966440ac8a3145badd
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.project_package_name}}/__version__.py
esciara/python-library-project-generator
fa2379623c7f36de28347c966440ac8a3145badd
[ "MIT" ]
null
null
null
# This file is automatically generated during the release process # Do not edit manually """Version module for {{ cookiecutter.project_name }}.""" __version__ = "{{ cookiecutter.version }}"
31.833333
65
0.743455
22
191
6.227273
0.863636
0
0
0
0
0
0
0
0
0
0
0
0.141361
191
5
66
38.2
0.835366
0.717277
0
0
1
0
0.553191
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
48764ca4f145da43680a604414e3d43b30542b47
59
py
Python
src/fjson/__init__.py
nschloe/fjson
aecaab59a4dc8b05e111fa3d7a51febc7b672e0a
[ "MIT" ]
10
2020-07-27T20:53:13.000Z
2022-03-24T02:45:11.000Z
src/fjson/__init__.py
nschloe/fjson
aecaab59a4dc8b05e111fa3d7a51febc7b672e0a
[ "MIT" ]
3
2021-01-26T02:55:27.000Z
2021-07-06T20:09:33.000Z
src/fjson/__init__.py
nschloe/fjson
aecaab59a4dc8b05e111fa3d7a51febc7b672e0a
[ "MIT" ]
1
2021-07-06T18:46:09.000Z
2021-07-06T18:46:09.000Z
from .main import dump, dumps __all__ = ["dumps", "dump"]
14.75
29
0.661017
8
59
4.375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.169492
59
3
30
19.666667
0.714286
0
0
0
0
0
0.152542
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
4878b71473b8f47600c5c5c0461175354354d4de
456
py
Python
src/tools/management/commands/clear_models.py
WWF-ConsEvidence/mpasocial
347c8b92884a73befb19db65ff48c900a545d222
[ "MIT" ]
null
null
null
src/tools/management/commands/clear_models.py
WWF-ConsEvidence/mpasocial
347c8b92884a73befb19db65ff48c900a545d222
[ "MIT" ]
1
2021-11-06T20:53:35.000Z
2021-11-06T20:53:35.000Z
src/tools/management/commands/clear_models.py
WWF-ConsEvidence/mpasocial
347c8b92884a73befb19db65ff48c900a545d222
[ "MIT" ]
null
null
null
from django.core.management.base import BaseCommand from api.models.base import * from api.models.household import * from api.models.fgd import * from api.models.kii import * class Command(BaseCommand): def handle(self, *args, **options): models = [Birth,Death,Demographic,GlobalStep,GlobalThreat,Household...
35.076923
107
0.714912
58
456
5.551724
0.603448
0.086957
0.161491
0.177019
0
0
0
0
0
0
0
0
0.175439
456
13
108
35.076923
0.856383
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
0.636364
0.090909
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
6fa02a3aaecb46b98d29a7c62d3d47dcbcb09822
634
py
Python
TkPy3/tkpy3_tools/start.py
chenmy1903/TkPy3
9130f9ddb8ae22f7659064230242f1985e77ddbb
[ "MIT" ]
4
2020-06-27T08:10:14.000Z
2020-06-28T02:34:11.000Z
TkPy3/tkpy3_tools/start.py
chenmy1903/TkPy3
9130f9ddb8ae22f7659064230242f1985e77ddbb
[ "MIT" ]
null
null
null
TkPy3/tkpy3_tools/start.py
chenmy1903/TkPy3
9130f9ddb8ae22f7659064230242f1985e77ddbb
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- import os from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import QApplication, QStyleFactory from TkPy3.locale_dirs import pixmaps from TkPy3.default_configs import get_configs def set_icon_to_tkpy3(app: QApplication): return app.setWindowIcon(QIcon(pixmaps['tkpy3'])) def set_style(...
20.451613
76
0.73817
87
634
5.206897
0.482759
0.099338
0.039735
0.06181
0.075055
0
0
0
0
0
0
0.018727
0.157729
634
30
77
21.133333
0.829588
0.033123
0
0
0
0
0.07365
0
0
0
0
0
0
1
0.235294
false
0
0.294118
0.117647
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6fa71166a9376c7ec9b0968104039d2781c76eda
560
py
Python
Asset/Elements/AgencyCost/DummyBuildingRetrofitCost.py
vd1371/GIAMS
dd6551f344b8d0377131d4496846eb5d03b6189c
[ "MIT" ]
null
null
null
Asset/Elements/AgencyCost/DummyBuildingRetrofitCost.py
vd1371/GIAMS
dd6551f344b8d0377131d4496846eb5d03b6189c
[ "MIT" ]
null
null
null
Asset/Elements/AgencyCost/DummyBuildingRetrofitCost.py
vd1371/GIAMS
dd6551f344b8d0377131d4496846eb5d03b6189c
[ "MIT" ]
null
null
null
from .BaseAgencyCost import BaseAgencyCost from utils.PredictiveModels.Linear import Linear from utils.GeneralSettings import * def check_random(random): assert isinstance(random, bool), 'random must be boolean' class RetrofitCosts(BaseAgencyCost): def __init__(self): self.linear_model = Linear(X0 = 1, drift = 0...
26.666667
73
0.776786
72
560
5.875
0.486111
0.042553
0.080378
0
0
0
0
0
0
0
0
0.020534
0.130357
560
20
74
28
0.848049
0
0
0
0
0
0.039356
0
0
0
0
0
0.071429
1
0.285714
false
0.071429
0.214286
0.071429
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
6faf358b717dd7c40300b487620b290f1feed803
141
py
Python
lib/JumpScale/baselib/jpackages/templates/actions/code.commit.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
1
2015-10-26T10:38:13.000Z
2015-10-26T10:38:13.000Z
lib/JumpScale/baselib/jpackages/templates/actions/code.commit.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
lib/JumpScale/baselib/jpackages/templates/actions/code.commit.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
#if customizations are required when doing a commit of the jpackage def main(j,jp): recipe=jp.getCodeMgmtRecipe() recipe.commit()
17.625
67
0.730496
20
141
5.15
0.85
0
0
0
0
0
0
0
0
0
0
0
0.184397
141
7
68
20.142857
0.895652
0.468085
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
0
3
6fbe632d01ccdf82804f287ba30afab4d58562b0
54
py
Python
models/4_logger.py
sloe/metrics
c86f3b6baee1405e8044d03da9a2af1552566e53
[ "Apache-2.0" ]
1
2017-07-25T19:20:07.000Z
2017-07-25T19:20:07.000Z
models/4_logger.py
sloe/metric
c86f3b6baee1405e8044d03da9a2af1552566e53
[ "Apache-2.0" ]
null
null
null
models/4_logger.py
sloe/metric
c86f3b6baee1405e8044d03da9a2af1552566e53
[ "Apache-2.0" ]
null
null
null
import logging LOGGER = logging.getLogger("metric")
10.8
36
0.759259
6
54
6.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.12963
54
4
37
13.5
0.87234
0
0
0
0
0
0.113208
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
6fc98c5d4ec145b1bd5cf53f3e2cf30bd0ed6093
2,033
py
Python
colab/grr_colab/ipython_extension.py
tsehori/grr
048506f22f74642bfe61749069a45ddf496fdab3
[ "Apache-2.0" ]
1
2021-07-01T01:43:06.000Z
2021-07-01T01:43:06.000Z
colab/grr_colab/ipython_extension.py
tsehori/grr
048506f22f74642bfe61749069a45ddf496fdab3
[ "Apache-2.0" ]
44
2021-05-14T22:49:24.000Z
2022-03-13T21:54:02.000Z
colab/grr_colab/ipython_extension.py
tsehori/grr
048506f22f74642bfe61749069a45ddf496fdab3
[ "Apache-2.0" ]
1
2020-06-25T14:25:54.000Z
2020-06-25T14:25:54.000Z
#!/usr/bin/env python """IPython extension for GRR Colab library.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from grr_colab import magics from grr_colab import representer def load_ipython_extension(ipython):...
36.963636
70
0.849975
266
2,033
6.048872
0.255639
0.218148
0.323182
0.435053
0.619018
0.619018
0.205096
0.093226
0.063393
0
0
0
0.081161
2,033
54
71
37.648148
0.861349
0.092966
0
0
0
0
0
0
0
0
0
0
0
1
0.081081
false
0
0.162162
0
0.243243
0.027027
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
6fd1b15cc800a936acd1a4f647a6663885ab6cd0
499
py
Python
pytype/tools/merge_pyi/test_data/defaults.comment.py
ashwinprasadme/pytype
fed209c73aacfcab15efc33deef3b4016a67cfe5
[ "Apache-2.0" ]
3,882
2015-03-22T12:17:15.000Z
2022-03-31T17:13:20.000Z
pytype/tools/merge_pyi/test_data/defaults.comment.py
ashwinprasadme/pytype
fed209c73aacfcab15efc33deef3b4016a67cfe5
[ "Apache-2.0" ]
638
2015-11-03T06:34:44.000Z
2022-03-31T23:41:48.000Z
pytype/tools/merge_pyi/test_data/defaults.comment.py
ashwinprasadme/pytype
fed209c73aacfcab15efc33deef3b4016a67cfe5
[ "Apache-2.0" ]
301
2015-08-14T10:21:17.000Z
2022-03-08T11:03:40.000Z
def f1(x="foo"): # type: (e1) -> r1 pass def f2(x= # "foo"): # type: (e2) -> r2 pass def f3(# x#= = # # 123# # ): # type: (e3) -> r3 pass def f4(x=(1,2)): # type: (e4) -> r4 pass def f5(x=(1,)): # type: (e5) -> r5 pass def f6(x=int): # type: (e6) -> r6 p...
11.088889
39
0.42485
80
499
2.65
0.5
0.231132
0.042453
0.066038
0
0
0
0
0
0
0
0.110769
0.348697
499
44
40
11.340909
0.541538
0.348697
0
0.391304
0
0
0.019481
0
0
0
0
0
0
1
0.391304
false
0.391304
0
0
0.391304
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
1
0
1
0
0
0
0
0
3
6fd378a2958fbb38a1d5fb1185e6cf1deb044a59
149
py
Python
examples/exotica_examples/scripts/example.py
LongfeiProjects/exotica
206b296edf9bf3b653ca3984b1449151ca17d374
[ "BSD-3-Clause" ]
1
2019-04-12T20:26:59.000Z
2019-04-12T20:26:59.000Z
examples/exotica_examples/scripts/example.py
LongfeiProjects/exotica
206b296edf9bf3b653ca3984b1449151ca17d374
[ "BSD-3-Clause" ]
null
null
null
examples/exotica_examples/scripts/example.py
LongfeiProjects/exotica
206b296edf9bf3b653ca3984b1449151ca17d374
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import pyexotica as exo solver=exo.Setup.loadSolver('{exotica_examples}/resources/configs/example.xml') print(solver.solve())
24.833333
79
0.785235
21
149
5.52381
0.904762
0
0
0
0
0
0
0
0
0
0
0
0.060403
149
5
80
29.8
0.828571
0.134228
0
0
0
0
0.375
0.375
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6fd546af65580e99214d1038ca7d85193d685f39
4,822
py
Python
doc/jupyter_execute/examples/models/openvino_imagenet_ensemble/openvino_imagenet_ensemble.py
edshee/seldon-core
78c10fbca16a5e2a0c25b9673aa3deb220070e26
[ "Apache-2.0" ]
null
null
null
doc/jupyter_execute/examples/models/openvino_imagenet_ensemble/openvino_imagenet_ensemble.py
edshee/seldon-core
78c10fbca16a5e2a0c25b9673aa3deb220070e26
[ "Apache-2.0" ]
null
null
null
doc/jupyter_execute/examples/models/openvino_imagenet_ensemble/openvino_imagenet_ensemble.py
edshee/seldon-core
78c10fbca16a5e2a0c25b9673aa3deb220070e26
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # # Pipeline example with OpenVINO inference execution engine # # This notebook illustrates how you can serve ensemble of models using [OpenVINO prediction model](https://github.com/SeldonIO/seldon-core/tree/master/examples/models/openvino_imagenet_ensemble/resources/model). # T...
34.198582
517
0.739942
653
4,822
5.399694
0.415008
0.039705
0.040839
0.061259
0.259217
0.237947
0.222065
0.222065
0.222065
0.198242
0
0.010099
0.137495
4,822
140
518
34.442857
0.837701
0.702406
0
0
0
0.333333
0.682292
0.328125
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6fe4155a42fd7c606716370b4511d411abd98fdf
226
py
Python
src/robotkernel/builders.py
martinRenou/robotkernel
827435dbaa5a201db4640f92ac2c4a7ead8f50cd
[ "BSD-3-Clause" ]
56
2019-01-19T22:46:34.000Z
2022-03-03T07:28:19.000Z
src/robotkernel/builders.py
martinRenou/robotkernel
827435dbaa5a201db4640f92ac2c4a7ead8f50cd
[ "BSD-3-Clause" ]
42
2019-01-09T18:16:32.000Z
2022-03-29T20:18:41.000Z
src/robotkernel/builders.py
admariner/robotkernel
6b0c3334a4aeb3f7e4f735613cf6be04cd950fd6
[ "BSD-3-Clause" ]
9
2019-01-25T03:54:49.000Z
2021-12-05T11:20:59.000Z
# -*- coding: utf-8 -*- from robotkernel.constants import HAS_RF32_PARSER if HAS_RF32_PARSER: from robotkernel.builders_32 import build_suite else: from robotkernel.builders_31 import build_suite assert build_suite
20.545455
51
0.792035
32
226
5.3125
0.5625
0.264706
0.152941
0
0
0
0
0
0
0
0
0.046632
0.146018
226
10
52
22.6
0.834197
0.09292
0
0
0
0
0
0
0
0
0
0
0.166667
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
3
6fecf65d3d645d8731f986337e5eb83dee1fb225
677
py
Python
Collisions.py
sergioruiz/problemsolvingpython
4620ac3bc09402415149840df14f051f1a44b682
[ "MIT" ]
null
null
null
Collisions.py
sergioruiz/problemsolvingpython
4620ac3bc09402415149840df14f051f1a44b682
[ "MIT" ]
null
null
null
Collisions.py
sergioruiz/problemsolvingpython
4620ac3bc09402415149840df14f051f1a44b682
[ "MIT" ]
null
null
null
import math import random cx1 = random.uniform(-10, 10) cy1 = random.uniform(-10, 10) cz1 = random.uniform(-10, 10) print("C1=[", cx1, ", ", cy1, ", ", cz1, "]") r1 = random.uniform(1, 8) print("R1=", r1) print("\n") cx2 = random.uniform(-10, 10) cy2 = random.uniform(-10, 10) cz2 = random.uniform(-10, 10...
21.83871
46
0.562777
102
677
3.735294
0.303922
0.272966
0.23622
0.267717
0.220472
0
0
0
0
0
0
0.116981
0.217134
677
30
47
22.566667
0.601887
0
0
0.074074
0
0
0.094281
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0.333333
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
82f285536a5cd0000ba8e2481deaef0b08cd9d7d
848
py
Python
PyObjCTest/test_nsbox.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsbox.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsbox.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
import AppKit from PyObjCTools.TestSupport import TestCase class TestNSBox(TestCase): def testConstants(self): self.assertEqual(AppKit.NSNoTitle, 0) self.assertEqual(AppKit.NSAboveTop, 1) self.assertEqual(AppKit.NSAtTop, 2) self.assertEqual(AppKit.NSBelowTop, 3) self.assert...
35.333333
61
0.712264
87
848
6.931034
0.425287
0.298507
0.41791
0.072968
0
0
0
0
0
0
0
0.018978
0.192217
848
23
62
36.869565
0.861314
0
0
0
0
0
0
0
0
0
0
0
0.736842
1
0.105263
false
0
0.105263
0
0.263158
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
d21edd70c860de2629b7e7861a17c094a40333dc
338
py
Python
model/Tree.py
waniz/russian_ai_cup
66e58464125b318c8111ef5e7f9ce15d5859053c
[ "MIT" ]
null
null
null
model/Tree.py
waniz/russian_ai_cup
66e58464125b318c8111ef5e7f9ce15d5859053c
[ "MIT" ]
null
null
null
model/Tree.py
waniz/russian_ai_cup
66e58464125b318c8111ef5e7f9ce15d5859053c
[ "MIT" ]
null
null
null
from model.Faction import Faction from model.LivingUnit import LivingUnit class Tree(LivingUnit): def __init__(self, id, x, y, speed_x, speed_y, angle, faction: (None, Faction), radius, life, max_life, statuses): LivingUnit.__init__(self, id, x, y, speed_x, speed_y, angle, faction, radius, life, max...
42.25
119
0.718935
49
338
4.673469
0.408163
0.078603
0.087336
0.09607
0.563319
0.563319
0.31441
0.31441
0.31441
0.31441
0
0
0.171598
338
7
120
48.285714
0.817857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
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
d2282019d5c07e272c15a91e75c5e40877e8d706
193
py
Python
selfcaffeinate/version.py
zcutlip/py-self-caffeinate
b165102269b7383c56d52a9154a0e7690beca46e
[ "MIT" ]
null
null
null
selfcaffeinate/version.py
zcutlip/py-self-caffeinate
b165102269b7383c56d52a9154a0e7690beca46e
[ "MIT" ]
null
null
null
selfcaffeinate/version.py
zcutlip/py-self-caffeinate
b165102269b7383c56d52a9154a0e7690beca46e
[ "MIT" ]
null
null
null
from . import ( __version__, __title__, __summary__ ) class SelfCaffeinateAbout: def __str__(self): return "%s %s version %s" % (__title__, __summary__, __version__)
16.083333
73
0.65285
18
193
5.444444
0.666667
0.244898
0
0
0
0
0
0
0
0
0
0
0.248705
193
11
74
17.545455
0.675862
0
0
0
0
0
0.082902
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
d22c7303af2f4bcb617cf617edf5e044aae5c306
368
py
Python
tools/run-tests.py
LancerWang001/v8
42ff4531f590b901ade0a18bfd03e56485fe2452
[ "BSD-3-Clause" ]
20,995
2015-01-01T05:12:40.000Z
2022-03-31T21:39:18.000Z
tools/run-tests.py
Andrea-MariaDB-2/v8
a0f0ebd7a876e8cb2210115adbfcffe900e99540
[ "BSD-3-Clause" ]
333
2020-07-15T17:06:05.000Z
2021-03-15T12:13:09.000Z
tools/run-tests.py
Andrea-MariaDB-2/v8
a0f0ebd7a876e8cb2210115adbfcffe900e99540
[ "BSD-3-Clause" ]
4,523
2015-01-01T15:12:34.000Z
2022-03-28T06:23:41.000Z
#!/usr/bin/env python # # Copyright 2017 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import absolute_import import sys from testrunner import standard_runner if __name__ == "__main__": sys.exit(...
23
72
0.774457
54
368
5
0.833333
0.103704
0
0
0
0
0
0
0
0
0
0.016026
0.152174
368
15
73
24.533333
0.849359
0.483696
0
0
0
0
0.043243
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d230315a1d31476f6d409d5e16315b23db6a3665
285
py
Python
users/serializers.py
sxccxs/djang-rest-todo-website
629bba785f06b9aaa4e9e5a02ec346a934bb1e73
[ "MIT" ]
null
null
null
users/serializers.py
sxccxs/djang-rest-todo-website
629bba785f06b9aaa4e9e5a02ec346a934bb1e73
[ "MIT" ]
null
null
null
users/serializers.py
sxccxs/djang-rest-todo-website
629bba785f06b9aaa4e9e5a02ec346a934bb1e73
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import CustomUser class CustomUserSerializer(serializers.ModelSerializer): password = serializers.CharField(write_only=True) class Meta: model = CustomUser fields = ('id', 'email', 'username', 'password')
23.75
56
0.726316
28
285
7.321429
0.75
0
0
0
0
0
0
0
0
0
0
0
0.182456
285
11
57
25.909091
0.879828
0
0
0
0
0
0.080702
0
0
0
0
0
0
1
0
false
0.285714
0.285714
0
0.714286
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
1
0
0
1
0
0
3
d24b890a28874c13a03e43c627432f51992ffa84
2,481
py
Python
app_kitchen/models.py
CBaut/kitchen
1efb0fb5c1e32ea704ce5678cb781b1e41e73441
[ "MIT" ]
null
null
null
app_kitchen/models.py
CBaut/kitchen
1efb0fb5c1e32ea704ce5678cb781b1e41e73441
[ "MIT" ]
10
2020-01-09T02:34:04.000Z
2020-02-28T00:02:26.000Z
app_kitchen/models.py
CBaut/kitchen
1efb0fb5c1e32ea704ce5678cb781b1e41e73441
[ "MIT" ]
1
2020-06-23T17:33:24.000Z
2020-06-23T17:33:24.000Z
from django.db import models from django.contrib import messages import re EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]+$') class UserManager(models.Manager): def validator(self, data): errors = {} if len(data['fname']) < 2: errors['fname'] = "First Name needs ...
35.442857
79
0.663442
307
2,481
5.228013
0.34202
0.082866
0.100312
0.113396
0.348287
0.278505
0.186916
0.186916
0.160748
0.160748
0
0.009674
0.208384
2,481
69
80
35.956522
0.807536
0.070939
0
0.207547
0
0.018868
0.156019
0.018688
0
0
0
0.014493
0
1
0.037736
false
0.09434
0.056604
0
0.622642
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
d25cef05aa6de433dec47f75ad46eb4fe11675a0
37
py
Python
example/conftest.py
markshao/pytest-splunk
9e805d9be72f349b321060fc4d555720edca4616
[ "Apache-2.0" ]
null
null
null
example/conftest.py
markshao/pytest-splunk
9e805d9be72f349b321060fc4d555720edca4616
[ "Apache-2.0" ]
null
null
null
example/conftest.py
markshao/pytest-splunk
9e805d9be72f349b321060fc4d555720edca4616
[ "Apache-2.0" ]
null
null
null
pytest_plugins = ["pytest_pysplunk"]
18.5
36
0.783784
4
37
6.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.081081
37
1
37
37
0.794118
0
0
0
0
0
0.405405
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
d26270139c6d1e21499778f8533745a9e56b1f1a
71
py
Python
rpi_d3m_primitives/__init__.py
naiyuyin/rpi_d3m_primitives
f95553bee90916d241885d28fb71c8167116d9fa
[ "MIT" ]
null
null
null
rpi_d3m_primitives/__init__.py
naiyuyin/rpi_d3m_primitives
f95553bee90916d241885d28fb71c8167116d9fa
[ "MIT" ]
null
null
null
rpi_d3m_primitives/__init__.py
naiyuyin/rpi_d3m_primitives
f95553bee90916d241885d28fb71c8167116d9fa
[ "MIT" ]
null
null
null
__author__ = 'RPI' __version__= '0.2.7' __coreversion__ = 'v2020.5.18'
17.75
30
0.704225
10
71
3.8
1
0
0
0
0
0
0
0
0
0
0
0.15873
0.112676
71
3
31
23.666667
0.444444
0
0
0
0
0
0.253521
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
963ffa68c940a7e91c7fc021cc7a3a2cb15aec69
888
py
Python
tests/xlfunctions_vs_excel/year_test.py
ckp95/xlcalculator
8f3f04a2a0a2ecb12c3d5837a5b13519137ae427
[ "MIT" ]
54
2020-04-26T09:18:29.000Z
2022-03-30T08:47:45.000Z
tests/xlfunctions_vs_excel/year_test.py
st-lo/xlcalculator
19190ec90e948b7ab1eceb06448b96cc1728bc51
[ "MIT" ]
41
2020-05-04T04:12:36.000Z
2022-01-31T02:41:05.000Z
tests/xlfunctions_vs_excel/year_test.py
st-lo/xlcalculator
19190ec90e948b7ab1eceb06448b96cc1728bc51
[ "MIT" ]
21
2020-05-21T20:49:23.000Z
2022-02-20T14:15:56.000Z
from .. import testing class YearTest(testing.FunctionalTestCase): filename = "YEAR.xlsx" def test_evaluation_A5(self): excel_value = self.evaluator.get_cell_value('Sheet1!A5') value = self.evaluator.evaluate('Sheet1!A5') self.assertEqual(excel_value, value) def test_evaluation_A...
34.153846
64
0.692568
110
888
5.372727
0.227273
0.135364
0.243655
0.121827
0.810491
0.543147
0.543147
0.543147
0.304569
0
0
0.027894
0.192568
888
25
65
35.52
0.796374
0
0
0.210526
0
0
0.091216
0
0
0
0
0
0.210526
1
0.210526
false
0
0.052632
0
0.368421
0
0
0
0
null
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9661b9b983a0c6613214365e27a684949d20ff50
71
py
Python
src/variables-expressions-statements/main.py
rjsingh734/pythondiary
cde29ab317e4bc4b5552314e69ecf2a9508bac57
[ "Apache-2.0" ]
5
2022-02-10T04:16:39.000Z
2022-02-10T07:54:52.000Z
src/variables-expressions-statements/main.py
rjsingh734/pythondiary
cde29ab317e4bc4b5552314e69ecf2a9508bac57
[ "Apache-2.0" ]
null
null
null
src/variables-expressions-statements/main.py
rjsingh734/pythondiary
cde29ab317e4bc4b5552314e69ecf2a9508bac57
[ "Apache-2.0" ]
4
2021-11-08T08:36:28.000Z
2021-12-12T07:36:23.000Z
print(1) x=2 print(x) print(x*2) #Example for expressions 12 x (x+3)*5
7.888889
24
0.676056
17
71
2.823529
0.588235
0.083333
0
0
0
0
0
0
0
0
0
0.114754
0.140845
71
9
25
7.888889
0.672131
0.323944
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
966346110a54509e4b445f00e4c7bfc0c7369710
5,144
py
Python
vnpy_comstar/gateway/td_api.py
Edanflame/vnpy_comstar
18114dfc7915fd259c261e73ac3d262954f05a41
[ "MIT" ]
null
null
null
vnpy_comstar/gateway/td_api.py
Edanflame/vnpy_comstar
18114dfc7915fd259c261e73ac3d262954f05a41
[ "MIT" ]
null
null
null
vnpy_comstar/gateway/td_api.py
Edanflame/vnpy_comstar
18114dfc7915fd259c261e73ac3d262954f05a41
[ "MIT" ]
null
null
null
from typing import List class TdApi: """ComStar API""" def connect(self, username: str, password: str, key: str, address: str) -> None: """连接登录""" pass def close(self) -> None: """关闭接口""" pass def subscribe(self, data: dict) -> None: """ 订阅行情 ...
17.204013
84
0.458981
521
5,144
4.1881
0.197697
0.070577
0.049496
0.065995
0.208983
0.101742
0.069661
0.069661
0
0
0
0.022472
0.480949
5,144
298
85
17.261745
0.794757
0.350505
0
0.479167
0
0
0
0
0
0
0
0
0
1
0.479167
false
0.5
0.020833
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
9674871f917f376636270ddabbf865f512f7914a
75
py
Python
example_snippets/multimenus_snippets/Snippets/NumPy/Polynomials/Convert between types.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Polynomials/Convert between types.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Polynomials/Convert between types.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
from numpy.polynomial import Chebyshev polyT = poly.convert(kind=Chebyshev)
37.5
38
0.84
10
75
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.08
75
2
39
37.5
0.913043
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
9680d589439b393bfa474963fd929d7842a765a4
55
py
Python
data/studio21_generated/introductory/2960/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/2960/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/2960/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def sum_differences_between_products_and_LCMs(pairs):
27.5
53
0.890909
8
55
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.054545
55
2
54
27.5
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
968150121304be69b62856fb6fa497afe611a16a
68
py
Python
autotimm/auto/estimators/conf.py
Fanxingye/AutoTimm
68230fce773e6010bbbf705cdab9ff931e1f9934
[ "Apache-2.0" ]
6
2021-11-29T10:21:59.000Z
2022-03-08T07:01:52.000Z
autotimm/auto/estimators/conf.py
Fanxingye/AutoTimm
68230fce773e6010bbbf705cdab9ff931e1f9934
[ "Apache-2.0" ]
null
null
null
autotimm/auto/estimators/conf.py
Fanxingye/AutoTimm
68230fce773e6010bbbf705cdab9ff931e1f9934
[ "Apache-2.0" ]
1
2021-12-02T02:29:40.000Z
2021-12-02T02:29:40.000Z
"""Shared configs.""" _BEST_CHECKPOINT_FILE = 'best_checkpoint.pkl'
22.666667
45
0.764706
8
68
6
0.75
0.583333
0
0
0
0
0
0
0
0
0
0
0.073529
68
2
46
34
0.761905
0.220588
0
0
0
0
0.404255
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
968da20d0a6568e3033fe0eaf8ea4ad4d4256f6a
147
py
Python
models/test_me.py
markovblanket/VAE_LDA
7aadb9ac1d3fb12c554c369290a7c9b8243138f2
[ "MIT" ]
null
null
null
models/test_me.py
markovblanket/VAE_LDA
7aadb9ac1d3fb12c554c369290a7c9b8243138f2
[ "MIT" ]
null
null
null
models/test_me.py
markovblanket/VAE_LDA
7aadb9ac1d3fb12c554c369290a7c9b8243138f2
[ "MIT" ]
null
null
null
import matplotlib import matplotlib.pyplot as plt import numpy as np # Data for plotting x=np.arange(0,1,0.1) y=np.cos(x) plt.plot(x,y) plt.show()
16.333333
31
0.741497
31
147
3.516129
0.580645
0.293578
0
0
0
0
0
0
0
0
0
0.031008
0.122449
147
9
32
16.333333
0.813953
0.115646
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
969a9c3c25b7f68b39042cb9516e8fb4d19ad3bf
533
py
Python
protocol/tinydbprotocol.py
Fake4d/mosk
d15c6088a382a51706bd38e3299d00be5c208acc
[ "CC0-1.0" ]
null
null
null
protocol/tinydbprotocol.py
Fake4d/mosk
d15c6088a382a51706bd38e3299d00be5c208acc
[ "CC0-1.0" ]
null
null
null
protocol/tinydbprotocol.py
Fake4d/mosk
d15c6088a382a51706bd38e3299d00be5c208acc
[ "CC0-1.0" ]
null
null
null
"""Protcol write to write collected data to a tinydb db""" import tinydb from baseclasses.protocol import ProtocolBase class TinyDBProtocol(ProtocolBase): """ Class to store collected data in a tinyDB db. """ def __init__(self, examiner, artifactid='', taskid=''): super().__init__(artifacti...
24.227273
81
0.688555
61
533
5.836066
0.540984
0.073034
0.050562
0
0
0
0
0
0
0
0
0
0.213884
533
22
82
24.227273
0.849642
0.204503
0
0.222222
0
0
0
0
0
0
0
0.045455
0
1
0.333333
false
0
0.222222
0.222222
0.888889
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
0
0
1
0
0
0
3
96bf2777264d5aad5cb5b6a3cf7a5c942796e807
228
py
Python
lunr/__init__.py
abhaykumarPS/lunr.py
a0bd7d5d92a4d23022e30a173a5f1aa53fe8b502
[ "MIT" ]
null
null
null
lunr/__init__.py
abhaykumarPS/lunr.py
a0bd7d5d92a4d23022e30a173a5f1aa53fe8b502
[ "MIT" ]
null
null
null
lunr/__init__.py
abhaykumarPS/lunr.py
a0bd7d5d92a4d23022e30a173a5f1aa53fe8b502
[ "MIT" ]
null
null
null
import logging from lunr.__main__ import lunr, get_default_builder __all__ = ("lunr", "get_default_builder") logging.basicConfig(format="%(levelname)-7s - %(message)s") __VERSION__ = "0.6.2" __TARGET_JS_VERSION__ = "2.3.9"
20.727273
60
0.741228
32
228
4.59375
0.71875
0.095238
0.190476
0.285714
0
0
0
0
0
0
0
0.034483
0.109649
228
10
61
22.8
0.689655
0
0
0
0
0
0.276316
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
737ad8ea090dea0a4182be5c3ae579d57dd8cb0f
230
py
Python
tf_rnn/layers/output_layer.py
ffrankies/tf_rnn
23400d4deb775841a1b8aae2831c09cc043b8263
[ "MIT" ]
1
2020-08-30T07:17:39.000Z
2020-08-30T07:17:39.000Z
tf_rnn/layers/output_layer.py
ffrankies/tf-rnn
23400d4deb775841a1b8aae2831c09cc043b8263
[ "MIT" ]
25
2018-01-27T14:18:05.000Z
2018-05-21T16:21:09.000Z
tf_rnn/layers/output_layer.py
ffrankies/tf-rnn
23400d4deb775841a1b8aae2831c09cc043b8263
[ "MIT" ]
null
null
null
""" Contains functions for setting up the output layer for a tensorflow-based RNN. Copyright (c) 2017 Frank Derry Wanye Date: 22 October, 2017 """ import tensorflow as tf # There isn't really anything to place here atm
23
79
0.730435
36
230
4.666667
0.916667
0
0
0
0
0
0
0
0
0
0
0.054945
0.208696
230
10
80
23
0.868132
0.813043
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
738f4879b86f3e6dd903f1aff013069017d02cf4
5,776
py
Python
Code/login/models.py
rohitsm/TCSA
61a01d5672176c01bf1f4c6efa4f6a0ea6d44009
[ "MIT" ]
1
2015-07-06T19:56:39.000Z
2015-07-06T19:56:39.000Z
Code/login/models.py
rohitsm/TCSA
61a01d5672176c01bf1f4c6efa4f6a0ea6d44009
[ "MIT" ]
2
2015-12-05T06:57:45.000Z
2015-12-05T06:57:45.000Z
Code/login/models.py
rohitsm/TCSA
61a01d5672176c01bf1f4c6efa4f6a0ea6d44009
[ "MIT" ]
null
null
null
from login import db from werkzeug import generate_password_hash, check_password_hash from sqlalchemy import Table, Column, String, ForeignKey, BLOB from sqlalchemy.orm import relationship, backref # One Time Password and QR code related import pyotp import time import qrcode from PIL import Image # Sets salted hash ...
25.557522
82
0.746711
862
5,776
4.787703
0.177494
0.043615
0.02205
0.026169
0.310395
0.214441
0.139084
0.072692
0.072692
0.031984
0
0.005114
0.153566
5,776
225
83
25.671111
0.839026
0.140235
0
0.289855
1
0
0.12388
0
0
0
0
0
0
0
null
null
0.07971
0.057971
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
738f505f10e3c6b3054289926635317b920638d2
829
py
Python
fortune/cli.py
PacktPublishing/Tensorflow-Solutions-for-Data
758a91fa2e5d6daae25f01b6b269988c19dc26d8
[ "MIT" ]
null
null
null
fortune/cli.py
PacktPublishing/Tensorflow-Solutions-for-Data
758a91fa2e5d6daae25f01b6b269988c19dc26d8
[ "MIT" ]
null
null
null
fortune/cli.py
PacktPublishing/Tensorflow-Solutions-for-Data
758a91fa2e5d6daae25f01b6b269988c19dc26d8
[ "MIT" ]
2
2020-02-23T00:53:27.000Z
2020-09-25T19:11:26.000Z
''' Command line interface ''' import docopt from . import train from . import generate HELPSTRING = '''machine-learning-fortune Usage: machine-learning-fortune train <quotes> machine-learning-fortune generate [<seed_words>...] When run with no parameters, generate a new, random saying based on either the d...
26.741935
87
0.709288
106
829
5.528302
0.509434
0.127986
0.187713
0.088737
0
0
0
0
0
0
0
0
0.180941
829
31
88
26.741935
0.863034
0.148372
0
0
1
0
0.629412
0.205882
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.222222
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7391f111625f373e1996ac72ce1448b398719d53
2,178
py
Python
helper-scripts/dpi/timeseriespoint.py
crucio-io/PROX
72031d219a735030a60acf3382a86739c640c2e0
[ "Intel", "Unlicense" ]
7
2016-08-23T18:02:27.000Z
2021-08-23T10:35:57.000Z
helper-scripts/dpi/timeseriespoint.py
crucio-io/PROX
72031d219a735030a60acf3382a86739c640c2e0
[ "Intel", "Unlicense" ]
1
2017-11-10T06:43:30.000Z
2017-11-14T14:43:38.000Z
helper-scripts/dpi/timeseriespoint.py
nvf-crucio/PROX
72031d219a735030a60acf3382a86739c640c2e0
[ "Intel", "Unlicense" ]
10
2016-08-23T17:50:16.000Z
2019-05-26T05:05:16.000Z
#!/bin/env python ## # Copyright(c) 2010-2015 Intel Corporation. # Copyright(c) 2016-2018 Viosoft Corporation. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source ...
38.892857
71
0.726814
292
2,178
5.383562
0.510274
0.022901
0.021629
0.029262
0.117048
0.086514
0.086514
0.086514
0.086514
0.086514
0
0.013889
0.206612
2,178
55
72
39.6
0.895833
0.720845
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.125
0.625
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
73c21a16ffaa4c557b919f11ba0c830e8e523c89
528
py
Python
microcosm_resourcesync/formatters/json_formatter.py
globality-corp/microcosm-resourcesync
a7c8f9e2f60e27ac7368e00e5c646d74006afcfb
[ "Apache-2.0" ]
null
null
null
microcosm_resourcesync/formatters/json_formatter.py
globality-corp/microcosm-resourcesync
a7c8f9e2f60e27ac7368e00e5c646d74006afcfb
[ "Apache-2.0" ]
8
2017-02-02T20:01:53.000Z
2019-11-08T11:42:34.000Z
microcosm_resourcesync/formatters/json_formatter.py
globality-corp/microcosm-resourcesync
a7c8f9e2f60e27ac7368e00e5c646d74006afcfb
[ "Apache-2.0" ]
1
2019-03-17T03:46:33.000Z
2019-03-17T03:46:33.000Z
""" JSON Formatter """ from json import dumps, loads from microcosm_resourcesync.formatters.base import Formatter class JSONFormatter(Formatter): def load(self, data): return loads(data) def dump(self, dct): # ensure deterministic output order for easier diffs return dumps(dct, sor...
18.206897
60
0.611742
58
528
5.517241
0.62069
0.06875
0
0
0
0
0
0
0
0
0
0
0.289773
528
28
61
18.857143
0.853333
0.125
0
0.125
0
0
0.07064
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.6875
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
73c82289f7b5a150afb422a43284fb0d85db185e
1,169
py
Python
src/__init__.py
EatBreatheCode/sublime_override_audit
4170bccc88e5442e18f337e291b771769b00d3c4
[ "MIT" ]
31
2017-01-28T10:08:12.000Z
2021-06-01T06:57:27.000Z
src/__init__.py
EatBreatheCode/sublime_override_audit
4170bccc88e5442e18f337e291b771769b00d3c4
[ "MIT" ]
34
2017-02-03T14:47:00.000Z
2020-05-27T05:48:09.000Z
src/__init__.py
EatBreatheCode/sublime_override_audit
4170bccc88e5442e18f337e291b771769b00d3c4
[ "MIT" ]
8
2017-02-03T08:31:36.000Z
2022-02-26T20:13:43.000Z
from ..override_audit import reload reload("src", ["core", "events", "contexts", "browse", "pkg_popup", "settings_proxy"]) reload("src.commands") from . import core from .core import * from .events import * from .contexts import * from .commands import * __all__ = [ # core "core", # browse "browse",...
27.186047
86
0.751069
61
1,169
14.278689
0.590164
0.034443
0
0
0
0
0
0
0
0
0
0
0.150556
1,169
42
87
27.833333
0.87714
0.032506
0
0
0
0
0.637655
0.573712
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fb40fd96daddec740ec2880c06f4fcafbc78076a
1,228
py
Python
spoofer/libvirt.py
codeflavor/spoofer
f417a04c1e86f427415633d70d70dac5d34316d8
[ "Apache-2.0" ]
null
null
null
spoofer/libvirt.py
codeflavor/spoofer
f417a04c1e86f427415633d70d70dac5d34316d8
[ "Apache-2.0" ]
null
null
null
spoofer/libvirt.py
codeflavor/spoofer
f417a04c1e86f427415633d70d70dac5d34316d8
[ "Apache-2.0" ]
null
null
null
import os import libvirt class Libvirt(object): '''Libvirt contains functionality to instantiate a new connection to the hypervisor and extract data about each active and non-active kvm machine. It will try to instantiate a new local user session if no hypervisor URI was specified. ''' ...
25.583333
77
0.631922
139
1,228
5.352518
0.467626
0.037634
0.037634
0.045699
0
0
0
0
0
0
0
0
0.286645
1,228
47
78
26.12766
0.849315
0.311889
0
0.142857
0
0
0.01601
0
0
0
0
0.021277
0
1
0.214286
false
0.178571
0.071429
0
0.357143
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
fb43a7c03b7127ee6f27f4026603691fea4e4ef0
1,199
py
Python
tests/test_term.py
josephwillard/logpy
b8b62fdcd2fbcb13303e78b2387d84cd55ecfd52
[ "BSD-3-Clause" ]
758
2015-01-06T17:39:18.000Z
2022-03-25T22:52:10.000Z
tests/test_term.py
josephwillard/logpy
b8b62fdcd2fbcb13303e78b2387d84cd55ecfd52
[ "BSD-3-Clause" ]
40
2015-05-06T21:00:40.000Z
2021-06-21T20:45:51.000Z
tests/test_term.py
josephwillard/logpy
b8b62fdcd2fbcb13303e78b2387d84cd55ecfd52
[ "BSD-3-Clause" ]
75
2015-03-18T14:55:02.000Z
2022-03-26T00:21:51.000Z
from __future__ import absolute_import from unification import var, unify from kanren.term import term, operator, arguments, unifiable_with_term from kanren.dispatch import dispatch def test_arguments(): assert arguments(('add', 1, 2, 3)) == (1, 2, 3) def test_operator(): assert operator(('add', 1, 2, 3))...
19.983333
72
0.628857
173
1,199
4.202312
0.213873
0.022008
0.041265
0.033012
0.024759
0
0
0
0
0
0
0.024468
0.216013
1,199
59
73
20.322034
0.748936
0
0
0.054054
0
0
0.015847
0
0
0
0
0
0.189189
1
0.27027
false
0
0.108108
0.108108
0.540541
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
fb6c1f70103ad62ff57dbaaffd06ce98405d22a1
264
py
Python
tests.py
UniversalDevicesInc/pgc-python-interface
35354f6b021bd7836a65ead505367d296a7d3172
[ "MIT" ]
1
2020-08-01T18:36:00.000Z
2020-08-01T18:36:00.000Z
tests.py
UniversalDevicesInc/pgc-python-interface
35354f6b021bd7836a65ead505367d296a7d3172
[ "MIT" ]
5
2018-12-19T12:33:08.000Z
2020-08-01T18:46:04.000Z
tests.py
UniversalDevicesInc/pgc-python-interface
35354f6b021bd7836a65ead505367d296a7d3172
[ "MIT" ]
1
2020-07-07T13:31:01.000Z
2020-07-07T13:31:01.000Z
import unittest import pgc_interface class TestPoly(unittest.TestCase): def test_poly(self): polyglot = pgc_interface.Interface('Test') self.assertIsInstance(polyglot, pgc_interface.Interface) if __name__ == "__main__": unittest.main()
20.307692
64
0.727273
29
264
6.206897
0.551724
0.2
0.222222
0.322222
0
0
0
0
0
0
0
0
0.174242
264
12
65
22
0.825688
0
0
0
0
0
0.045455
0
0
0
0
0
0.125
1
0.125
false
0
0.25
0
0.5
0
1
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
0
0
3
fb862010f84b4ccdfde65f2d2a0369c012d40d4f
108
py
Python
GeoInfo/GeoInfo.py
chuangw46/TwitterHarvester
e5ae024a96e71e5299c7fc36a96b949be179a77d
[ "MIT" ]
null
null
null
GeoInfo/GeoInfo.py
chuangw46/TwitterHarvester
e5ae024a96e71e5299c7fc36a96b949be179a77d
[ "MIT" ]
null
null
null
GeoInfo/GeoInfo.py
chuangw46/TwitterHarvester
e5ae024a96e71e5299c7fc36a96b949be179a77d
[ "MIT" ]
1
2020-09-16T11:24:22.000Z
2020-09-16T11:24:22.000Z
import json with open('GeoJson.json') as json_file: data = json.load(json_file) print(data['type'])
21.6
39
0.685185
17
108
4.235294
0.647059
0.222222
0
0
0
0
0
0
0
0
0
0
0.166667
108
4
40
27
0.8
0
0
0
0
0
0.148148
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
fb8e5b6c6d46fc35c5742830179e0b333e4d76b9
264
py
Python
tests/unittest/test_endpoints.py
DudeNr33/flask_mock_server
2a453189240a4d1809e72d5407b9f302621d3c42
[ "MIT" ]
1
2021-08-15T14:02:49.000Z
2021-08-15T14:02:49.000Z
tests/unittest/test_endpoints.py
DudeNr33/flask_mock_server
2a453189240a4d1809e72d5407b9f302621d3c42
[ "MIT" ]
1
2020-10-06T04:36:55.000Z
2020-10-06T04:36:55.000Z
tests/unittest/test_endpoints.py
DudeNr33/flask_mock_server
2a453189240a4d1809e72d5407b9f302621d3c42
[ "MIT" ]
null
null
null
""" Unit tests focussing on the available methods for adding, editing and removing endpoints. """ import pytest @pytest.mark.skip("wip") def test_add_json_response(): assert False @pytest.mark.skip("wip") def test_add_callback_response(): assert False
17.6
89
0.746212
37
264
5.162162
0.702703
0.104712
0.146597
0.17801
0.282723
0.282723
0.282723
0
0
0
0
0
0.147727
264
14
90
18.857143
0.848889
0.337121
0
0.571429
0
0
0.035928
0
0
0
0
0
0.285714
1
0.285714
true
0
0.142857
0
0.428571
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
1
0
0
0
0
0
0
3
fb999f63d210da9f9bac4ba477408feaeeb4ed2e
145
py
Python
exercises/PyExercises/NameSurnameEx22.py
ElLorans/PythonCrashCourse
e8158cdc376988ac18e3f68d628c2d19a43b8913
[ "MIT" ]
2
2021-01-02T21:19:25.000Z
2021-02-18T23:10:30.000Z
exercises/PyExercises/NameSurnameEx22.py
Mathisxy123/PythonCrashCourse
bb1afaeecfa195d3771ff96fea0b9f907125264e
[ "MIT" ]
null
null
null
exercises/PyExercises/NameSurnameEx22.py
Mathisxy123/PythonCrashCourse
bb1afaeecfa195d3771ff96fea0b9f907125264e
[ "MIT" ]
4
2021-01-03T10:15:43.000Z
2021-01-07T23:10:40.000Z
##write a function that takes a string and a name as arguments ##and creates a file name.txt with the given string def write(string, name):
29
63
0.737931
26
145
4.115385
0.653846
0
0
0
0
0
0
0
0
0
0
0
0.2
145
4
64
36.25
0.922414
0.751724
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3