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
8e80ad9615affb9458b6c1ded08a8495b039b868
609
py
Python
lang/py/pylib/07/pickle/pickle_dump_to_file1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/pylib/07/pickle/pickle_dump_to_file1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/pylib/07/pickle/pickle_dump_to_file1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding:UTF-8 -*- # 把对象pickle至文件 try: import cPickle as pickle except: import pickle import sys class SimpleObject(object): def __init__(self,name): self.name = name self.name_backwards = name[::-1] if __name__ == '__main__': data = [] data.append(Sim...
20.3
66
0.596059
76
609
4.592105
0.552632
0.068768
0.189112
0
0
0
0
0
0
0
0
0.006623
0.256158
609
29
67
21
0.763797
0.090312
0
0
0
0
0.079855
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.052632
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
1
0
0
0
0
0
0
0
0
2
8e90bb685c3b1c5f6854891a144a51a32c3e3543
3,717
py
Python
pylibrets/models.py
fernherrera/pylibrets
ee7ae95a9a7c8809c4bc6d269c52518d672cbf82
[ "MIT" ]
5
2016-08-02T16:01:31.000Z
2017-09-15T21:44:56.000Z
pylibrets/models.py
fernherrera/pylibrets
ee7ae95a9a7c8809c4bc6d269c52518d672cbf82
[ "MIT" ]
null
null
null
pylibrets/models.py
fernherrera/pylibrets
ee7ae95a9a7c8809c4bc6d269c52518d672cbf82
[ "MIT" ]
1
2017-07-29T18:42:09.000Z
2017-07-29T18:42:09.000Z
""" Model classes - contains the primary objects that power pylibRETS. """ class MetadataSystem(object): def __init__(self): self.GetSystemID = None self.GetSystemDescription = None self.GetComments = None self.GetTimeZoneOffset = None self.GetMetadataID = None self.GetResourceVersion = None self.Get...
25.634483
66
0.750605
403
3,717
6.843672
0.330025
0.307469
0.037708
0.049311
0.152647
0
0
0
0
0
0
0
0.172182
3,717
144
67
25.8125
0.896328
0
0
0.151515
0
0
0
0
0
0
0
0
0
0
null
null
0.030303
0
null
null
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
1
0
0
0
0
0
0
0
0
2
8ea41ac7ddbb096f8c509205102ac3523839b975
3,335
py
Python
cameo/__init__.py
jlerman44/cameo
6aa4b9db7ebcc3e52547821e64b13675cf73f73a
[ "Apache-2.0" ]
null
null
null
cameo/__init__.py
jlerman44/cameo
6aa4b9db7ebcc3e52547821e64b13675cf73f73a
[ "Apache-2.0" ]
null
null
null
cameo/__init__.py
jlerman44/cameo
6aa4b9db7ebcc3e52547821e64b13675cf73f73a
[ "Apache-2.0" ]
1
2018-09-27T22:41:58.000Z
2018-09-27T22:41:58.000Z
# Copyright 2014 Novo Nordisk Foundation Center for Biosustainability, DTU. # # 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...
31.761905
119
0.755022
471
3,335
5.142251
0.43949
0.029728
0.029728
0.013212
0.114781
0.055326
0.055326
0.055326
0.055326
0.055326
0
0.011301
0.177511
3,335
104
120
32.067308
0.871673
0.618291
0
0.216216
0
0
0.035942
0
0
0
0
0
0
1
0.054054
false
0
0.405405
0.027027
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
0
0
0
1
0
1
0
0
2
8eb74a5d4b26092fceaac2ec7a39970256c7a4c4
76
py
Python
qrcode_styled/types.py
AdamBrianBright/qrcode_styled
da4c11934cca49b78ac688f5ff942352c7b58807
[ "MIT" ]
3
2021-08-03T15:55:08.000Z
2021-12-13T03:23:18.000Z
qrcode_styled/types.py
AdamBrianBright/qrcode_styled
da4c11934cca49b78ac688f5ff942352c7b58807
[ "MIT" ]
null
null
null
qrcode_styled/types.py
AdamBrianBright/qrcode_styled
da4c11934cca49b78ac688f5ff942352c7b58807
[ "MIT" ]
null
null
null
from typing import Union __all__ = [ 'num', ] num = Union[int, float]
9.5
24
0.618421
10
76
4.3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.25
76
7
25
10.857143
0.754386
0
0
0
0
0
0.039474
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8ebed4d0176c34b024d1e9fb74490c28a812e120
305
py
Python
application/__init__.py
DelgadGuilherme/labproghiper-microblog
5acfdfcd1b6f731dca53b6649422d07683038ea4
[ "Apache-2.0" ]
null
null
null
application/__init__.py
DelgadGuilherme/labproghiper-microblog
5acfdfcd1b6f731dca53b6649422d07683038ea4
[ "Apache-2.0" ]
null
null
null
application/__init__.py
DelgadGuilherme/labproghiper-microblog
5acfdfcd1b6f731dca53b6649422d07683038ea4
[ "Apache-2.0" ]
null
null
null
from flask import Flask import os templates_folder = os.path.abspath("application/view/templates") static_folder = os.path.abspath("application/view/static") app = Flask(__name__,template_folder=templates_folder,static_folder=static_folder) from application.controller import hello_controller
30.5
83
0.813115
39
305
6.076923
0.410256
0.151899
0.101266
0.160338
0.28692
0.28692
0
0
0
0
0
0
0.101639
305
10
84
30.5
0.864964
0
0
0
0
0
0.164983
0.164983
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8ebf0f9b2161bc522983927efdf52e3e727f1b40
664
py
Python
_projects/new.py
devChuk/ddevchuk.github.io
1bb83b27f887158b532186af38b3fd5851bdc01b
[ "MIT" ]
2
2017-03-12T07:45:15.000Z
2017-07-17T02:36:01.000Z
_projects/new.py
devChuk/ddevchuk.github.io
1bb83b27f887158b532186af38b3fd5851bdc01b
[ "MIT" ]
1
2015-03-20T03:30:47.000Z
2015-03-23T03:49:47.000Z
_projects/new.py
devChuk/ddevchuk.github.io
1bb83b27f887158b532186af38b3fd5851bdc01b
[ "MIT" ]
1
2015-06-14T23:06:55.000Z
2015-06-14T23:06:55.000Z
#Just a simple script to automate the YAML front matter in new posts import datetime import os title = raw_input('\nEnter title: ') fileName= title.replace(" ", "_").lower() + '.md' print fileName + '\n' text = """--- layout: project title: {} date: Feb 2015 thumbnail: http://devchuk.github.io/devchukV1/res/img/porti...
21.419355
77
0.721386
95
664
5
0.778947
0
0
0
0
0
0
0
0
0
0
0.008696
0.134036
664
30
78
22.133333
0.817391
0.100904
0
0
0
0.041667
0.612416
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
8ec7abf3f5da5952254f519ad7b912d9d04dbca3
7,476
py
Python
app/py/database.py
tbor8080/pyhongo
11d200509913f80399c758197d215ff0ff6049cd
[ "MIT" ]
null
null
null
app/py/database.py
tbor8080/pyhongo
11d200509913f80399c758197d215ff0ff6049cd
[ "MIT" ]
null
null
null
app/py/database.py
tbor8080/pyhongo
11d200509913f80399c758197d215ff0ff6049cd
[ "MIT" ]
null
null
null
# /usr/bin/env python # -*- coding: utf-8 -*- def ErrorMessage(modulename=None): print(f'Import Can\'t Module "{modulename}"') print('Read the .md file') print('pip -r requirements.txt') import inspect,sqlite3 # load module from py.sheet.sheet import * try: # PostgreSQL import psycopg2 except Mo...
23.28972
108
0.563537
752
7,476
5.296543
0.234043
0.057745
0.052724
0.017073
0.226714
0.149385
0.11775
0.109465
0.090886
0.090886
0
0.002504
0.305645
7,476
320
109
23.3625
0.764207
0.085875
0
0.4
0
0
0.085535
0.00947
0
0
0
0
0
1
0.253659
false
0.034146
0.029268
0.112195
0.497561
0.039024
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
0
0
0
2
d90152eceb846416a3fc96e372d419d89b8f7cbd
4,462
py
Python
theano/sandbox/mkl/tests/gen_conv_graph.py
intel/Theano-dev
6ca6fd4646f9e958058c7bce52cd51923c05c2f4
[ "BSD-3-Clause" ]
64
2016-10-02T20:41:56.000Z
2020-03-11T14:59:40.000Z
theano/sandbox/mkl/tests/gen_conv_graph.py
intel/Theano-dev
6ca6fd4646f9e958058c7bce52cd51923c05c2f4
[ "BSD-3-Clause" ]
4
2017-06-12T05:12:38.000Z
2018-03-15T03:16:30.000Z
theano/sandbox/mkl/tests/gen_conv_graph.py
intel/Theano-dev
6ca6fd4646f9e958058c7bce52cd51923c05c2f4
[ "BSD-3-Clause" ]
30
2016-10-27T21:59:00.000Z
2021-02-20T09:55:14.000Z
import theano import unittest import numpy from nose.plugins.skip import SkipTest from theano import tensor as T from theano.tensor.nnet import conv2d from theano.sandbox import mkl numpy.random.seed(123) if not mkl.mkl_available: raise SkipTest('Optional package MKL disabled') if theano.config.mode == 'FAST_COM...
48.5
119
0.722098
608
4,462
5.032895
0.154605
0.035294
0.094118
0.05098
0.785948
0.758497
0.740196
0.688562
0.673856
0.55098
0
0.01967
0.15688
4,462
91
120
49.032967
0.793727
0
0
0.264706
0
0
0.105558
0.067459
0
0
0
0
0
1
0.058824
false
0
0.102941
0
0.191176
0.176471
0
0
0
null
0
0
0
0
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
2
d91cabe506a537f69662d383acee8ad674a5d479
45,542
py
Python
dlgo/zobrist.py
Woontopia/goBot
5f343a7173f9fc65cc86b65f7addf8c423cf0530
[ "MIT" ]
null
null
null
dlgo/zobrist.py
Woontopia/goBot
5f343a7173f9fc65cc86b65f7addf8c423cf0530
[ "MIT" ]
null
null
null
dlgo/zobrist.py
Woontopia/goBot
5f343a7173f9fc65cc86b65f7addf8c423cf0530
[ "MIT" ]
null
null
null
from .gotypes import Player, Point __all__ = ['HASH_CODE', 'EMPTY_BOARD'] HASH_CODE = { (Point(row=1, col=1), Player.black): 5769035980899136028, (Point(row=1, col=1), Player.white): 4195353792250980257, (Point(row=1, col=2), Player.black): 2939556709560817954, (Point(row=1, col=2), Player.white): 770...
62.386301
63
0.698081
5,791
45,542
5.488517
0.130547
0.181727
0.01076
0.014347
0.455512
0.455512
0
0
0
0
0
0.398335
0.127223
45,542
730
64
62.386301
0.401303
0
0
0
0
0
0.000439
0
0
0
0
0
0
1
0
false
0
0.001376
0
0.001376
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d925d3037892fd1d955e34998895dbcfac60e539
561
py
Python
module2-sql-for-analysis/elephant_queries.py
techthumb1/DS-Unit-3-Sprint-2-SQL-and-Databases
a9d961ded99bb11e444151b6f450cb7e5b34ed83
[ "MIT" ]
null
null
null
module2-sql-for-analysis/elephant_queries.py
techthumb1/DS-Unit-3-Sprint-2-SQL-and-Databases
a9d961ded99bb11e444151b6f450cb7e5b34ed83
[ "MIT" ]
null
null
null
module2-sql-for-analysis/elephant_queries.py
techthumb1/DS-Unit-3-Sprint-2-SQL-and-Databases
a9d961ded99bb11e444151b6f450cb7e5b34ed83
[ "MIT" ]
null
null
null
import psycopg2 # import sqlite3 DB_NAME = "ekasuicm" DB_USER = "ekasuicm" DB_PASSWORD = "5xL04dTyJuqjmPNeDPWsHjZsCnMmqpbM" DB_HOST = "ruby.db.elephantsql.com" connection = psycopg2.connect(dbname=DB_NAME, user=DB_USER, password=DB_PASSWORD, host=DB_HOST) print("CONNECTION", ...
23.375
66
0.680927
66
561
5.651515
0.469697
0.088472
0.091153
0
0
0
0
0
0
0
0
0.018059
0.210339
561
23
67
24.391304
0.823928
0.024955
0
0
0
0
0.218391
0.105364
0
0
0
0
0
0
null
null
0.125
0.0625
null
null
0.3125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
d92fdd9690a161af17e354836da77242710c2f29
1,036
py
Python
booking_app/models.py
alikhalilica/cilinic-temp
5822879cda27bc121adbd2a8da947c881d88fbd3
[ "MIT" ]
null
null
null
booking_app/models.py
alikhalilica/cilinic-temp
5822879cda27bc121adbd2a8da947c881d88fbd3
[ "MIT" ]
null
null
null
booking_app/models.py
alikhalilica/cilinic-temp
5822879cda27bc121adbd2a8da947c881d88fbd3
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class HelthDepartment(models.Model): name = models.CharField(max_length=100) availability = models.DateTimeField() def __str__(self): return self.name #helth_department = ((0,"daily task"),(1,"work jobs"),(2,"house needs")) class Patient(mo...
33.419355
93
0.725869
124
1,036
5.879032
0.483871
0.082305
0.074074
0.098765
0.218107
0.18107
0.115226
0.115226
0
0
0
0.014908
0.158301
1,036
30
94
34.533333
0.821101
0.26834
0
0.333333
0
0
0.017287
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0.111111
0.944444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
d9305b2cad920233b9a78c2c2fa32100230f3dc5
101
py
Python
BOJ/16000~16999/16500~16599/16515.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/16000~16999/16500~16599/16515.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/16000~16999/16500~16599/16515.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
import math s = 0.0 k = 1 n = int(input()) for i in range(n+1): k*=max(1,i) s += 1/k print(s)
12.625
20
0.514851
25
101
2.08
0.6
0.076923
0
0
0
0
0
0
0
0
0
0.081081
0.267327
101
8
21
12.625
0.621622
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
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
0
0
2
d93e009b16961979c7713b17f8dc66060f79dd3b
710
py
Python
python/run.py
hguerrero/skupper-example-patient-portal
326afb5c85fedf5e215e0e4f53ba558edba12c8e
[ "Apache-2.0" ]
10
2020-01-22T07:17:46.000Z
2021-11-15T11:12:53.000Z
python/run.py
hguerrero/skupper-example-patient-portal
326afb5c85fedf5e215e0e4f53ba558edba12c8e
[ "Apache-2.0" ]
3
2019-09-26T14:03:29.000Z
2020-04-24T15:44:02.000Z
python/run.py
hguerrero/skupper-example-patient-portal
326afb5c85fedf5e215e0e4f53ba558edba12c8e
[ "Apache-2.0" ]
9
2019-10-08T19:46:34.000Z
2022-03-17T12:13:01.000Z
#!/usr/bin/python3 from plano import * ENV["BACKEND_SERVICE_HOST"] = "localhost" ENV["BACKEND_SERVICE_PORT"] = backend_port = str(get_random_port()) ENV["FRONTEND_SERVICE_PORT"] = frontend_port = str(get_random_port()) backend_url = f"http://localhost:{backend_port}/api/hello" frontend_url = f"http://localhost:{fron...
28.4
69
0.695775
98
710
4.755102
0.316327
0.11588
0.154506
0.160944
0.386266
0.300429
0.300429
0.300429
0.300429
0.300429
0
0.008432
0.164789
710
24
70
29.583333
0.777403
0.023944
0
0.375
0
0
0.283237
0.030347
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.4375
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
d93e597ab6d0aecf326345fbe988189bcd506af5
14,492
py
Python
cfractions/__init__.py
lycantropos/cfractions
22ede26a22786f5480174e2306414ff38f7c7b77
[ "MIT" ]
3
2022-01-18T21:17:17.000Z
2022-01-23T21:49:52.000Z
cfractions/__init__.py
lycantropos/cfractions
22ede26a22786f5480174e2306414ff38f7c7b77
[ "MIT" ]
3
2021-06-28T13:30:58.000Z
2022-01-16T19:05:00.000Z
cfractions/__init__.py
lycantropos/cfractions
22ede26a22786f5480174e2306414ff38f7c7b77
[ "MIT" ]
1
2021-10-22T02:12:06.000Z
2021-10-22T02:12:06.000Z
"""Python C API alternative to `fractions` module.""" __version__ = '1.4.0' try: from _cfractions import Fraction except ImportError: import numbers as _numbers from fractions import Fraction as _Fraction from typing import (Any as _Any, Dict as _Dict, O...
41.405714
79
0.50621
1,215
14,492
5.677366
0.087243
0.071325
0.057408
0.079878
0.766889
0.73891
0.732241
0.652798
0.591041
0.493331
0
0.001992
0.411054
14,492
349
80
41.524355
0.80621
0.100952
0
0.521912
0
0
0.022298
0
0
0
0
0
0
1
0.195219
false
0
0.01992
0.007968
0.318725
0
0
0
0
null
0
0
0
0
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
2
d96b52d758ea1e34f2a09afa20f1c461838affe8
6,290
py
Python
bindings/python/test/time/test_time.py
verstaen/open-space-toolkit-physics
ca55011fd0de9aadacad84317fdce06985e5dbd8
[ "Apache-2.0" ]
null
null
null
bindings/python/test/time/test_time.py
verstaen/open-space-toolkit-physics
ca55011fd0de9aadacad84317fdce06985e5dbd8
[ "Apache-2.0" ]
null
null
null
bindings/python/test/time/test_time.py
verstaen/open-space-toolkit-physics
ca55011fd0de9aadacad84317fdce06985e5dbd8
[ "Apache-2.0" ]
null
null
null
################################################################################################################################################################ # @project Open Space Toolkit ▸ Physics # @file bindings/python/test/time/test_time.py # @author Lucas Brémond <lucas@loftorbital.com...
35.337079
160
0.2531
392
6,290
3.867347
0.137755
0.044855
0.152375
0.078496
0.701187
0.651715
0.477573
0.258575
0.137203
0.05277
0
0.014915
0.093959
6,290
177
161
35.536723
0.250921
0.029889
0
0.246154
0
0
0.010634
0
0
0
0
0
0.307692
1
0.323077
false
0
0.030769
0
0.353846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
d97307bce111d22165208da1309beb39d698985c
92
py
Python
problems/chapter12/mshibatatt/001.py
tokuma09/algorithm_problems
58534620df73b230afbeb12de126174362625a78
[ "CC0-1.0" ]
1
2021-07-07T15:46:58.000Z
2021-07-07T15:46:58.000Z
problems/chapter12/mshibatatt/001.py
tokuma09/algorithm_problems
58534620df73b230afbeb12de126174362625a78
[ "CC0-1.0" ]
5
2021-06-05T14:16:41.000Z
2021-07-10T07:08:28.000Z
problems/chapter12/mshibatatt/001.py
tokuma09/algorithm_problems
58534620df73b230afbeb12de126174362625a78
[ "CC0-1.0" ]
null
null
null
a = list(map(int, input().split())) [i[0] for i in sorted(enumerate(a), key=lambda x:x[1])]
30.666667
55
0.619565
19
92
3
0.842105
0
0
0
0
0
0
0
0
0
0
0.024691
0.119565
92
3
55
30.666667
0.679012
0
0
0
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d98213a54bed6fe63049234194f24aa16f814a04
384
py
Python
ds_utils/config.py
dylanjcastillo/nlp-snippets
1cb2a9d4ad5de72714a617ca223f5f822ca72aea
[ "MIT" ]
9
2021-01-29T04:48:30.000Z
2022-03-22T20:51:19.000Z
ds_utils/config.py
dylanjcastillo/nlp-snippets
1cb2a9d4ad5de72714a617ca223f5f822ca72aea
[ "MIT" ]
null
null
null
ds_utils/config.py
dylanjcastillo/nlp-snippets
1cb2a9d4ad5de72714a617ca223f5f822ca72aea
[ "MIT" ]
1
2021-07-10T18:17:01.000Z
2021-07-10T18:17:01.000Z
import os import random import numpy as np import pandas as pd def set_random_seed(seed=42): random.seed(seed) os.environ["PYTHONHASHSEED"] = str(seed) np.random.seed(seed) def set_display_options(): pd.set_option("max_colwidth", 1000) pd.set_option("max_rows", 50) pd.set_option("max_column...
20.210526
54
0.700521
59
384
4.372881
0.474576
0.116279
0.162791
0.162791
0
0
0
0
0
0
0
0.037383
0.164063
384
18
55
21.333333
0.766355
0
0
0
0
0
0.135417
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.461538
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
0
0
0
2
d993489a11a177d4b9b259fdaaa7c8fc02befc02
4,951
py
Python
tests/test_auto_scan_rnn.py
neonhuang/Paddle2ONNX
96640ccbeea1ae4e628dde20b3dbb1c3b4ef2702
[ "Apache-2.0" ]
95
2019-09-27T14:26:59.000Z
2020-12-08T01:20:28.000Z
tests/test_auto_scan_rnn.py
neonhuang/Paddle2ONNX
96640ccbeea1ae4e628dde20b3dbb1c3b4ef2702
[ "Apache-2.0" ]
51
2018-04-04T22:39:30.000Z
2019-08-28T20:19:14.000Z
tests/test_auto_scan_rnn.py
neonhuang/Paddle2ONNX
96640ccbeea1ae4e628dde20b3dbb1c3b4ef2702
[ "Apache-2.0" ]
22
2019-09-03T08:50:04.000Z
2020-12-02T11:05:42.000Z
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License" # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
29.470238
74
0.576045
585
4,951
4.622222
0.268376
0.048077
0.031065
0.028107
0.657914
0.650148
0.636834
0.636834
0.636834
0.605769
0
0.017626
0.312462
4,951
167
75
29.646707
0.776733
0.143001
0
0.711538
0
0
0.099125
0
0
0
0
0
0
1
0.076923
false
0
0.057692
0
0.211538
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d996560fd986f9243110269ae81896011add1a35
842
py
Python
tests/test_users_organizations.py
uilianries/bintray-python
ab06edcf33663a5095c6c2121c19fbe2c1409127
[ "MIT" ]
4
2019-07-02T14:37:55.000Z
2022-01-20T13:37:01.000Z
tests/test_users_organizations.py
uilianries/bintray-python
ab06edcf33663a5095c6c2121c19fbe2c1409127
[ "MIT" ]
53
2019-07-02T17:13:47.000Z
2022-03-15T11:55:41.000Z
tests/test_users_organizations.py
uilianries/bintray-python
ab06edcf33663a5095c6c2121c19fbe2c1409127
[ "MIT" ]
null
null
null
from bintray.bintray import Bintray def test_get_user(): bintray = Bintray() response = bintray.get_user("uilianries") assert response.get("name") == "uilianries" assert response.get("error") == False assert response.get("statusCode") == 200 def test_get_organization(): bintray = Bintray() ...
28.066667
82
0.675772
94
842
5.925532
0.223404
0.150808
0.183124
0.208259
0.479354
0.240575
0.240575
0.240575
0.240575
0.240575
0
0.017291
0.175772
842
29
83
29.034483
0.785303
0
0
0.380952
0
0
0.154394
0
0
0
0
0
0.380952
1
0.190476
false
0
0.047619
0
0.238095
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
0
0
0
2
794d1639433e46b61c5a932940ac1015c7fa9ee0
593
py
Python
tomolab/DataSources/PET/__init__.py
TomographyLab/TomoLab
86b9a5894ef1660d7f4de39f560f1f92024b40f8
[ "Apache-2.0" ]
5
2019-06-01T13:16:00.000Z
2022-03-02T10:21:59.000Z
tomolab/DataSources/PET/__init__.py
TomographyLab/TomoLab
86b9a5894ef1660d7f4de39f560f1f92024b40f8
[ "Apache-2.0" ]
null
null
null
tomolab/DataSources/PET/__init__.py
TomographyLab/TomoLab
86b9a5894ef1660d7f4de39f560f1f92024b40f8
[ "Apache-2.0" ]
1
2019-06-01T13:19:18.000Z
2019-06-01T13:19:18.000Z
# -*- coding: utf-8 -*- # tomolab # Michele Scipioni # Harvard University, Martinos Center for Biomedical Imaging # University of Pisa __all__ = ['convert_listmode_dicom_to_interfile', 'import_interfile_projection', 'export_interfile_projection', 'import_h5f_projection', 'import_interfile_volume...
37.0625
105
0.812816
69
593
6.478261
0.42029
0.134228
0.089485
0.098434
0.635347
0.496644
0.308725
0.308725
0.308725
0
0
0.005747
0.11973
593
15
106
39.533333
0.850575
0.209106
0
0
0
0
0.337662
0.337662
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
795109620dee96ad8eef48181ff1ae3077d016d2
477
py
Python
TradzQAI/tools/indicators/moving_average_convergence_divergence.py
kkuette/AI_project
1f46cb2536b24cb3716250f1e9705daa76af4f60
[ "Apache-2.0" ]
164
2017-11-24T13:07:04.000Z
2022-03-10T04:54:46.000Z
TradzQAI/tools/indicators/moving_average_convergence_divergence.py
kkuette/AI_project
1f46cb2536b24cb3716250f1e9705daa76af4f60
[ "Apache-2.0" ]
21
2018-09-29T10:27:10.000Z
2019-06-12T07:01:58.000Z
TradzQAI/tools/indicators/moving_average_convergence_divergence.py
kkuette/AI_project
1f46cb2536b24cb3716250f1e9705daa76af4f60
[ "Apache-2.0" ]
49
2018-05-09T17:28:52.000Z
2022-02-27T04:50:45.000Z
from .catch_errors import check_for_period_error from .exponential_moving_average import exponential_moving_average as ema def moving_average_convergence_divergence(data, short_period, long_period): """ Moving Average Convergence Divergence. Formula: EMA(DATA, P1) - EMA(DATA, P2) """ check_for...
29.8125
75
0.761006
64
477
5.3125
0.375
0.152941
0.123529
0.167647
0.135294
0
0
0
0
0
0
0.005013
0.163522
477
15
76
31.8
0.847118
0.163522
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
7967b563a3566c5502b7994c82c942466d518c87
2,035
py
Python
src/spaceone/repository/api/v1/schema.py
whdalsrnt/repository
4d019c21508629faae7a7e2789bf540a3bab0e20
[ "Apache-2.0" ]
6
2020-06-04T23:00:33.000Z
2020-08-10T02:45:43.000Z
src/spaceone/repository/api/v1/schema.py
whdalsrnt/repository
4d019c21508629faae7a7e2789bf540a3bab0e20
[ "Apache-2.0" ]
4
2020-10-09T07:02:27.000Z
2022-02-28T04:43:01.000Z
src/spaceone/repository/api/v1/schema.py
whdalsrnt/repository
4d019c21508629faae7a7e2789bf540a3bab0e20
[ "Apache-2.0" ]
6
2020-06-01T10:10:57.000Z
2021-10-05T03:03:00.000Z
from spaceone.api.repository.v1 import schema_pb2, schema_pb2_grpc from spaceone.core.pygrpc import BaseAPI class Schema(BaseAPI, schema_pb2_grpc.SchemaServicer): pb2 = schema_pb2 pb2_grpc = schema_pb2_grpc def create(self, request, context): params, metadata = self.parse_request(request, contex...
46.25
116
0.704668
249
2,035
5.558233
0.176707
0.121387
0.121387
0.104046
0.736994
0.719653
0.676301
0.676301
0.676301
0.676301
0
0.004905
0.198526
2,035
44
117
46.25
0.843654
0
0
0.441176
0
0
0.069745
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0
0.5
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7978c918a22636965af6e68798263bf0533bd12f
292
py
Python
exceptions.py
gongchengshi/aws
d04d42739e026d2e99936dd046be05293e063e08
[ "MIT" ]
null
null
null
exceptions.py
gongchengshi/aws
d04d42739e026d2e99936dd046be05293e063e08
[ "MIT" ]
null
null
null
exceptions.py
gongchengshi/aws
d04d42739e026d2e99936dd046be05293e063e08
[ "MIT" ]
null
null
null
class AwsErrorCodes: SqsNonExistentQueue = 'AWS.SimpleQueueService.NonExistentQueue' class NonExistantSqsQueueException(Exception): def __init__(self, queue_name): self.queue_name = queue_name Exception.__init__(self, "SQS Queue '%s' no longer exists" % queue_name)
32.444444
80
0.75
30
292
6.9
0.6
0.173913
0.125604
0
0
0
0
0
0
0
0
0
0.164384
292
8
81
36.5
0.848361
0
0
0
0
0
0.239726
0.133562
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
797ef4080003e9940cfa950023fe499ebb5260ea
510
py
Python
wprevents/base/views.py
arroway/wprevents
5ed14c0e85c1a6463a0e72c94836fae81fbe3fda
[ "BSD-3-Clause" ]
1
2015-02-07T10:04:48.000Z
2015-02-07T10:04:48.000Z
wprevents/base/views.py
yvan-sraka/wprevents
03f95150fe7c09338c3a17e00a4b85febef87789
[ "BSD-3-Clause" ]
6
2015-02-07T10:08:38.000Z
2021-06-06T13:17:24.000Z
wprevents/base/views.py
yvan-sraka/wprevents
03f95150fe7c09338c3a17e00a4b85febef87789
[ "BSD-3-Clause" ]
4
2015-01-20T19:48:31.000Z
2017-04-08T22:10:52.000Z
from django.http import HttpResponseServerError from django.shortcuts import render from django.template import RequestContext from django.template.loader import get_template def login(request): return render(request, 'login.html') def error404(request): t = get_template('404.html') res = HttpResponseServerEr...
22.173913
66
0.782353
62
510
6.387097
0.354839
0.10101
0.090909
0.09596
0.338384
0.338384
0.338384
0.338384
0.338384
0
0
0.026846
0.123529
510
22
67
23.181818
0.85906
0
0
0.285714
0
0
0.05098
0
0
0
0
0
0
1
0.214286
false
0
0.285714
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
0
0
0
1
0
0
2
79973a1e08549411e3704f4e9cd2dd372854a94e
2,800
py
Python
pysnmp/HPN-ICF-FCOE-MODE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/HPN-ICF-FCOE-MODE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/HPN-ICF-FCOE-MODE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HPN-ICF-FCOE-MODE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-FCOE-MODE-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:26:43 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
112
477
0.777143
299
2,800
7.270903
0.41806
0.074057
0.00552
0.00736
0.313707
0.199172
0.199172
0.199172
0.199172
0.199172
0
0.072009
0.0775
2,800
24
478
116.666667
0.769648
0.12
0
0
0
0
0.238289
0.026477
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
799b58e5ba21ca4170d1a2c3abadcfc25ef8f189
1,896
py
Python
app/core/tests/test_admin.py
wanqian622/recipe-app-api
040eade8c6636347b6928b6deef7dfc3eaebc6f4
[ "MIT" ]
null
null
null
app/core/tests/test_admin.py
wanqian622/recipe-app-api
040eade8c6636347b6928b6deef7dfc3eaebc6f4
[ "MIT" ]
null
null
null
app/core/tests/test_admin.py
wanqian622/recipe-app-api
040eade8c6636347b6928b6deef7dfc3eaebc6f4
[ "MIT" ]
null
null
null
from django.test import TestCase, Client from django.contrib.auth import get_user_model # generate url for our django admin page from django.urls import reverse # allow us to make test requests to our app class AdminSiteTests(TestCase): # the set up test is a function run before every test that we run def set...
37.92
70
0.647152
270
1,896
4.444444
0.325926
0.041667
0.043333
0.0475
0.268333
0.204167
0.136667
0.083333
0.083333
0.083333
0
0.008639
0.267405
1,896
49
71
38.693878
0.855292
0.323312
0
0.172414
1
0
0.09793
0.038217
0
0
0
0
0.137931
1
0.137931
false
0.068966
0.103448
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
79b1746a37fe8892a2af50ecacc257f9f91b14cd
1,090
py
Python
Semana5/lab05/tienda/models.py
SPFelipe/TECSUP-DAE-2021-2
ec218d0a7fa66a73e3e0a8889e325cf2ce2a74d3
[ "MIT" ]
null
null
null
Semana5/lab05/tienda/models.py
SPFelipe/TECSUP-DAE-2021-2
ec218d0a7fa66a73e3e0a8889e325cf2ce2a74d3
[ "MIT" ]
null
null
null
Semana5/lab05/tienda/models.py
SPFelipe/TECSUP-DAE-2021-2
ec218d0a7fa66a73e3e0a8889e325cf2ce2a74d3
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Categoria(models.Model): nombre = models.CharField(max_length=200) pub_date = models.DateTimeField('Fecha Creación') def __str__(self): return self.nombre class Product(models.Model): categoria = models.ForeignKey(Categoria, on_del...
34.0625
70
0.725688
136
1,090
5.617647
0.419118
0.094241
0.164921
0.219895
0.408377
0.371728
0.324607
0.170157
0.170157
0.170157
0
0.022075
0.168807
1,090
32
71
34.0625
0.821192
0.022018
0
0.36
0
0
0.058216
0
0
0
0
0
0
1
0.12
false
0
0.04
0.12
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
79b4abdae3efe0c4ff65adf1b7ab722b6fbb2d46
71
py
Python
PyUdemy/Day1/variables.py
JoseArtur/phyton-exercices
f3da4447044e445222233960f991fb2e36311131
[ "MIT" ]
null
null
null
PyUdemy/Day1/variables.py
JoseArtur/phyton-exercices
f3da4447044e445222233960f991fb2e36311131
[ "MIT" ]
null
null
null
PyUdemy/Day1/variables.py
JoseArtur/phyton-exercices
f3da4447044e445222233960f991fb2e36311131
[ "MIT" ]
null
null
null
a=input("a= ") b=input("b= ") aa=a a=b b=aa print("a=",a) print("b=",b)
10.142857
14
0.507042
18
71
2
0.277778
0.111111
0
0
0
0
0
0
0
0
0
0
0.112676
71
7
15
10.142857
0.571429
0
0
0
0
0
0.138889
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
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
0
0
2
79c4397925c5e818a6ed0d6ef4f084f5009de3b4
1,079
py
Python
routemaster_sdk/exceptions.py
thread/routemaster-sdk
1300508525a3e1495c640f9c7ff689bb6f621d7e
[ "MIT" ]
null
null
null
routemaster_sdk/exceptions.py
thread/routemaster-sdk
1300508525a3e1495c640f9c7ff689bb6f621d7e
[ "MIT" ]
null
null
null
routemaster_sdk/exceptions.py
thread/routemaster-sdk
1300508525a3e1495c640f9c7ff689bb6f621d7e
[ "MIT" ]
null
null
null
"""Well known exceptions.""" from routemaster_sdk.types import LabelRef, StateMachine class UnknownLabel(ValueError): """Represents a label unknown in the given state machine.""" deleted = False def __init__(self, label: LabelRef) -> None: self.label = label def __str__(self): retur...
26.975
77
0.682113
129
1,079
5.294574
0.341085
0.140556
0.048316
0.070278
0.402635
0.402635
0.317716
0.317716
0.317716
0.317716
0
0.006936
0.198332
1,079
39
78
27.666667
0.782659
0.217794
0
0.473684
0
0
0.02934
0
0
0
0
0
0
1
0.315789
false
0
0.052632
0.157895
0.842105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
8db417da99710aab489ce1f6e872bf13a1887670
323
py
Python
pylinkedin/exceptions.py
johnjoo1/scrape-linkedin
4860e90e65aa776ce84afa3041a5bd826790ec0a
[ "MIT" ]
160
2016-06-27T12:55:20.000Z
2021-10-02T12:38:55.000Z
pylinkedin/exceptions.py
johnjoo1/scrape-linkedin
4860e90e65aa776ce84afa3041a5bd826790ec0a
[ "MIT" ]
16
2017-03-23T08:38:32.000Z
2020-02-24T22:39:19.000Z
pylinkedin/exceptions.py
johnjoo1/scrape-linkedin
4860e90e65aa776ce84afa3041a5bd826790ec0a
[ "MIT" ]
55
2017-02-23T14:29:45.000Z
2021-05-03T09:28:19.000Z
class ProfileNotFound(Exception): """ Exception if the linkedin url points to the linkedin not found page """ pass class NotAProfile(Exception): """ Exception raised if you pass a non linkedin profile as url """ pass class ServerIpBlacklisted(Exception): pass class BadStatusCode(Exception): p...
24.846154
79
0.724458
39
323
6
0.564103
0.115385
0
0
0
0
0
0
0
0
0
0
0.201238
323
13
80
24.846154
0.906977
0.393189
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
8dc386d6b5d927e8b934f386d034dfa885867aad
5,167
py
Python
tests/conftest.py
adrien-berchet/luigi-tools
5de731714db38656db06e39acdb0b9e53ed612bf
[ "Apache-2.0" ]
2
2021-07-20T13:08:44.000Z
2021-07-23T13:08:05.000Z
tests/conftest.py
adrien-berchet/luigi-tools
5de731714db38656db06e39acdb0b9e53ed612bf
[ "Apache-2.0" ]
3
2021-10-04T11:48:34.000Z
2022-03-18T15:48:00.000Z
tests/conftest.py
adrien-berchet/luigi-tools
5de731714db38656db06e39acdb0b9e53ed612bf
[ "Apache-2.0" ]
1
2022-03-21T15:15:23.000Z
2022-03-21T15:15:23.000Z
# Copyright 2021 Blue Brain Project / EPFL # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
31.315152
98
0.522547
526
5,167
4.994297
0.275665
0.045679
0.09212
0.085268
0.331176
0.285497
0.285497
0.285497
0.249715
0.249715
0
0.004729
0.386104
5,167
164
99
31.506098
0.823455
0.153474
0
0.342857
0
0
0.058183
0
0
0
0
0
0
1
0.209524
false
0
0.057143
0.104762
0.447619
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
0
0
0
2
8dc9eea63f0db427ca8d82b08f280d3e1c15f968
2,931
py
Python
alipay/aop/api/domain/AlipayOfflineProviderIndirectisvActivityCreateModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/AlipayOfflineProviderIndirectisvActivityCreateModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/AlipayOfflineProviderIndirectisvActivityCreateModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.IndirectIsvTerminalInfo import IndirectIsvTerminalInfo class AlipayOfflineProviderIndirectisvActivityCreateModel(object): def __init__(self): self._ext_info = None ...
35.313253
104
0.639713
349
2,931
5
0.157593
0.132378
0.228653
0.276791
0.429226
0.366189
0.135817
0.135817
0.10659
0.064183
0
0.000945
0.277721
2,931
82
105
35.743902
0.823335
0.01433
0
0.104478
0
0
0.081802
0.036049
0
0
0
0
0
1
0.134328
false
0
0.044776
0.044776
0.283582
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
0
0
0
2
8dd581b173988521e90d63f2bb0417df587f5647
1,102
py
Python
testproject/manage.py
innovationinit/django-kazoo-locks
91ceb37ab92dad97659f24a9a7ace3bb9ae3ba10
[ "BSD-2-Clause" ]
null
null
null
testproject/manage.py
innovationinit/django-kazoo-locks
91ceb37ab92dad97659f24a9a7ace3bb9ae3ba10
[ "BSD-2-Clause" ]
null
null
null
testproject/manage.py
innovationinit/django-kazoo-locks
91ceb37ab92dad97659f24a9a7ace3bb9ae3ba10
[ "BSD-2-Clause" ]
1
2022-03-15T07:30:07.000Z
2022-03-15T07:30:07.000Z
#!/usr/bin/env python import os import sys if __name__ == "__main__": try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the # issue is really that Django is missing to avoid masking other ...
34.4375
110
0.650635
140
1,102
4.957143
0.635714
0.073487
0.051873
0.063401
0
0
0
0
0
0
0
0.003797
0.283122
1,102
31
111
35.548387
0.874684
0.188748
0
0.26087
0
0
0.311586
0.024747
0
0
0
0
0
1
0
true
0
0.434783
0
0.434783
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
0
0
0
2
8df58a8ce58f2b9cb11cc66432ebc0ca83f1b1b9
22,904
py
Python
materials/_build/jupyter_execute/materials/lectures/04-virtual-environments.py
UBC-DSCI/reproducible-and-trustworthy-workflows-for-data-science
6676e628ec858acdfae43fbf5b27891849952e83
[ "CC-BY-4.0" ]
null
null
null
materials/_build/jupyter_execute/materials/lectures/04-virtual-environments.py
UBC-DSCI/reproducible-and-trustworthy-workflows-for-data-science
6676e628ec858acdfae43fbf5b27891849952e83
[ "CC-BY-4.0" ]
1
2022-01-06T00:23:55.000Z
2022-01-06T00:23:55.000Z
materials/_build/jupyter_execute/materials/lectures/04-virtual-environments.py
UBC-DSCI/reproducible-and-trustworthy-workflows-for-data-science
6676e628ec858acdfae43fbf5b27891849952e83
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # # Virtual environments # #### Attribution # # The conda virtual environment section of this guide # was originally published at http://geohackweek.github.io/ under a CC-BY license # and has been updated to reflect recent changes in conda, # as well as modified slightly to fit ...
43.215094
294
0.694464
3,385
22,904
4.684195
0.210931
0.008514
0.007505
0.003973
0.081925
0.058968
0.03948
0.033174
0.028128
0.025353
0
0.012389
0.200052
22,904
529
295
43.296786
0.853018
0.936212
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8df9bcab6716a085d2b3d332fff681644b39144b
21,050
py
Python
pysnmp-with-texts/ASCEND-MIBVDSL-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ASCEND-MIBVDSL-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ASCEND-MIBVDSL-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ASCEND-MIBVDSL-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ASCEND-MIBVDSL-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:28:53 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
186.283186
2,409
0.782043
2,361
21,050
6.858111
0.160949
0.045949
0.08041
0.125371
0.608634
0.537055
0.460474
0.295949
0.253829
0.241107
0
0.071872
0.073302
21,050
112
2,410
187.946429
0.758189
0.015677
0
0
0
0.019231
0.244073
0.056299
0
0
0
0
0
1
0
false
0.019231
0.067308
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8dfedc56bd84754c0c189b0fb33868614416a159
276
py
Python
test/test_parse.py
rec/ascript
99975ca4e94c5791ee09864ce7cb23e2d43f7cd6
[ "MIT" ]
1
2021-08-04T18:06:37.000Z
2021-08-04T18:06:37.000Z
test/test_parse.py
rec/scripta
99975ca4e94c5791ee09864ce7cb23e2d43f7cd6
[ "MIT" ]
6
2020-06-25T16:16:36.000Z
2020-06-25T23:54:57.000Z
test/test_parse.py
rec/ascript
99975ca4e94c5791ee09864ce7cb23e2d43f7cd6
[ "MIT" ]
null
null
null
from .test_config import EMPTY from scripta import parse from unittest import TestCase class ParseTest(TestCase): def test_parse(self): actual = vars(parse.parse(['foo'])) expected = dict(EMPTY, sources=['foo'], svg='') assert actual == expected
25.090909
55
0.673913
34
276
5.411765
0.617647
0
0
0
0
0
0
0
0
0
0
0
0.210145
276
10
56
27.6
0.844037
0
0
0
0
0
0.021739
0
0
0
0
0
0.125
1
0.125
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
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
2
5c0a8ac8b62d83e8d8a3f27e5f22d32e0e0ea228
298
py
Python
.drafts/models.py
deknowny/polinfapi
93430d514e4be2881622aba10e515b0bf5c6dd0a
[ "MIT" ]
1
2022-02-04T06:44:21.000Z
2022-02-04T06:44:21.000Z
.drafts/models.py
deknowny/polinfapi
93430d514e4be2881622aba10e515b0bf5c6dd0a
[ "MIT" ]
null
null
null
.drafts/models.py
deknowny/polinfapi
93430d514e4be2881622aba10e515b0bf5c6dd0a
[ "MIT" ]
null
null
null
import dataclasses class RawCode(typing.NamedTuple): lang: str code: str @dataclasses.dataclass class TaskModel: raw_task: RawTask question: str answer: str gif_url: str raw_codes: typing.List[RawCode] input_data: str output_data: str
15.684211
36
0.64094
35
298
5.314286
0.657143
0.075269
0
0
0
0
0
0
0
0
0
0
0.295302
298
18
37
16.555556
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
5c10ee61d634ed5370e785cfb72db7af4ce9d4af
1,032
py
Python
images/core/context/free5gc/lib/nextepc/nas/support/cache/nas_msg_93.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-02-22T07:19:59.000Z
2022-02-22T07:19:59.000Z
images/core/context/free5gc/lib/nextepc/nas/support/cache/nas_msg_93.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-01-15T20:26:01.000Z
2022-01-15T20:26:01.000Z
images/core/context/free5gc/lib/nextepc/nas/support/cache/nas_msg_93.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-01-07T18:49:10.000Z
2022-01-07T18:49:10.000Z
ies = [] ies.append({ "iei" : "", "value" : "Selected NAS security algorithms", "type" : "security algorithms", "reference" : "9.9.3.23", "presence" : "M", "format" : "V", "length" : "1"}) ies.append({ "iei" : "", "value" : "NAS key set identifier", "type" : "key set identifier", "reference" : "9.9.3.21", "presence" : ...
114.666667
186
0.552326
136
1,032
4.183824
0.338235
0.094903
0.126538
0.126538
0.330404
0.246046
0.165202
0.165202
0.165202
0.165202
0
0.047891
0.150194
1,032
8
187
129
0.600912
0
0
0
0
0
0.520349
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5c295bb6517d1a649b68f680e1818e2aeefc213e
1,170
py
Python
fmcapi/api_objects/object_services/countries.py
realvitya/fmcapi
38fb9a8da2d9ebbadf4ed4cb559244646b3bf3be
[ "BSD-3-Clause" ]
null
null
null
fmcapi/api_objects/object_services/countries.py
realvitya/fmcapi
38fb9a8da2d9ebbadf4ed4cb559244646b3bf3be
[ "BSD-3-Clause" ]
null
null
null
fmcapi/api_objects/object_services/countries.py
realvitya/fmcapi
38fb9a8da2d9ebbadf4ed4cb559244646b3bf3be
[ "BSD-3-Clause" ]
null
null
null
from fmcapi.api_objects.apiclasstemplate import APIClassTemplate import logging import warnings class Countries(APIClassTemplate): """ The Countries Object in the FMC. """ VALID_JSON_DATA = ["id", "name", "iso2", "iso3"] VALID_FOR_KWARGS = VALID_JSON_DATA + [] URL_SUFFIX = "/object/countries"...
27.857143
80
0.64188
137
1,170
5.240876
0.408759
0.050139
0.062674
0.062674
0.231198
0.175487
0.175487
0.175487
0.119777
0
0
0.011136
0.232479
1,170
41
81
28.536585
0.788419
0.059829
0
0.259259
0
0
0.26228
0
0
0
0
0
0
1
0.185185
false
0.111111
0.111111
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
5c3bee353833391ba702d6ca5437765a929c642a
478
py
Python
test/test_samples/unittest/other_tests/test_add.py
LeonOnRoad/vscode-python-test-adapter
7eacfab4456c13caba1c0da631ce8a3eea200766
[ "MIT" ]
96
2018-10-23T20:49:30.000Z
2022-03-17T04:37:51.000Z
test/test_samples/unittest/other_tests/test_add.py
LeonOnRoad/vscode-python-test-adapter
7eacfab4456c13caba1c0da631ce8a3eea200766
[ "MIT" ]
169
2018-09-07T21:15:07.000Z
2022-03-19T06:24:51.000Z
test/test_samples/unittest/other_tests/test_add.py
LeonOnRoad/vscode-python-test-adapter
7eacfab4456c13caba1c0da631ce8a3eea200766
[ "MIT" ]
25
2018-09-14T15:02:34.000Z
2022-02-07T18:53:19.000Z
import unittest class AddTests(unittest.TestCase): def test_other_two_plus_one_is_three_passed(self): print("checking 2 + 1") self.assertEqual(3, 2 + 1) def test_other_two_plus_two_is_five_failed(self): print("checking 2 + 2") self.assertEqual(5, 2 + 2) @unittest.skip("Sk...
28.117647
57
0.671548
71
478
4.225352
0.464789
0.07
0.12
0.15
0.19
0
0
0
0
0
0
0.040541
0.225941
478
16
58
29.875
0.77027
0
0
0
0
0
0.161088
0
0
0
0
0
0.25
1
0.25
false
0.083333
0.166667
0
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
5c446ee267037c9d8c49936f00e5937e160edc1a
374
py
Python
build/lib/pyks/_nbdev.py
JiaxiangBU/pyks
5a0c86922d0e120a221df08ee00dd2b346b0f4f1
[ "Apache-2.0", "MIT" ]
null
null
null
build/lib/pyks/_nbdev.py
JiaxiangBU/pyks
5a0c86922d0e120a221df08ee00dd2b346b0f4f1
[ "Apache-2.0", "MIT" ]
1
2019-07-23T03:10:42.000Z
2019-07-25T02:03:14.000Z
pyKS/_nbdev.py
JiaxiangBU/pyks
5a0c86922d0e120a221df08ee00dd2b346b0f4f1
[ "Apache-2.0", "MIT" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"summary": "00_core.ipynb", "plot": "00_core.ipynb", "perf": "00_core.ipynb"} modules = ["ks.py"] doc_url = "https://JiaxiangBU.github.io/pyks/" git_url = "https://github.com/fastai/pyks/...
24.933333
61
0.657754
53
374
4.377358
0.660377
0.077586
0.142241
0
0
0
0
0
0
0
0
0.018927
0.152406
374
15
62
24.933333
0.712934
0.096257
0
0
1
0
0.507418
0
0
0
0
0
0
1
0.125
false
0
0
0.125
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
5c49e887144531963fcdded91cc7db493153872d
10,594
py
Python
tests/test_utilities.py
DevinCrowley/ardent
5e731947e58b8670463521abe6a52d4962d4221f
[ "Apache-2.0" ]
15
2019-07-16T19:33:14.000Z
2022-01-30T13:50:55.000Z
tests/test_utilities.py
DevinCrowley/ardent
5e731947e58b8670463521abe6a52d4962d4221f
[ "Apache-2.0" ]
20
2019-08-13T21:59:06.000Z
2022-03-15T13:40:57.000Z
tests/test_utilities.py
DevinCrowley/ardent
5e731947e58b8670463521abe6a52d4962d4221f
[ "Apache-2.0" ]
6
2019-08-22T03:42:46.000Z
2020-07-15T23:15:49.000Z
import pytest import numpy as np from ardent.utilities import _validate_scalar_to_multi from ardent.utilities import _validate_ndarray from ardent.utilities import _validate_xyz_resolution from ardent.utilities import _compute_axes from ardent.utilities import _compute_coords from ardent.utilities import _multiply_by...
38.245487
134
0.694638
1,524
10,594
4.604331
0.086614
0.081516
0.047029
0.056434
0.810033
0.736925
0.670229
0.642582
0.613795
0.58686
0
0.024474
0.174627
10,594
276
135
38.384058
0.778019
0.027185
0
0.527473
0
0.010989
0.102305
0
0
0
0
0.003623
0.120879
1
0.027473
false
0
0.043956
0
0.071429
0.005495
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
309278752cdbc75820f2505608011313cc6f1b0b
2,017
py
Python
pyclustering/nnet/tests/integration/__init__.py
JosephChataignon/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
1,013
2015-01-26T19:50:14.000Z
2022-03-31T07:38:48.000Z
pyclustering/nnet/tests/integration/__init__.py
peterlau0626/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
542
2015-01-20T16:44:32.000Z
2022-01-29T14:57:20.000Z
pyclustering/nnet/tests/integration/__init__.py
peterlau0626/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
262
2015-03-19T07:28:12.000Z
2022-03-30T07:28:24.000Z
"""! @brief Integration-test runner for tests of oscillatory and neural networks. @authors Andrei Novikov (pyclustering@yandex.ru) @date 2014-2020 @copyright BSD-3-Clause """ import unittest from pyclustering.tests.suite_holder import suite_holder # Generate images without having a window appear. i...
48.02381
116
0.819534
240
2,017
6.541667
0.25
0.163057
0.101911
0.111465
0.626115
0.626115
0.626115
0.598089
0.55414
0.324841
0
0.005036
0.114031
2,017
41
117
49.195122
0.873531
0.108081
0
0
0
0
0.001714
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
309bdc9a6d187eaaf1d1bd279e7967ac39ed0b19
1,886
py
Python
koabot/patterns.py
luni3359/koa-bot
3faf4af89f2a414313e651088f6fd16d12e298ec
[ "MIT" ]
2
2020-05-05T03:02:39.000Z
2021-07-05T13:38:21.000Z
koabot/patterns.py
luni3359/koa-bot
3faf4af89f2a414313e651088f6fd16d12e298ec
[ "MIT" ]
65
2019-01-05T05:51:47.000Z
2022-03-26T17:39:20.000Z
koabot/patterns.py
luni3359/koa-bot
3faf4af89f2a414313e651088f6fd16d12e298ec
[ "MIT" ]
1
2021-01-06T03:39:00.000Z
2021-01-06T03:39:00.000Z
"""Regex pattern constants""" import re URL_PATTERN = re.compile(r'(http[s]?://(?:[a-zA-Z]|[0-9]|[$-;?-_=@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+)') NUMBER_PATTERN = re.compile(r'(\.\d+|\d[,\d]*(?:\.\d+)?)') UNIT_PATTERN_TUPLE = [ # [length] ('inch', re.compile(r' *("|inch|inches|ins?)(?!\w)')), ('f...
46
116
0.494168
272
1,886
3.375
0.426471
0.235294
0.261438
0.111111
0.203704
0.160131
0.06427
0
0
0
0
0.014741
0.100742
1,886
40
117
47.15
0.524175
0.036055
0
0
0
0.074074
0.535102
0.365948
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
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
0
0
0
2
30a1b3867be211ebdc0dea68618ce31d72b2a875
352
py
Python
quarkc/test/ffi/expected/py/overlapping_namespaces/setup.py
datawire/quark
df0058a148b077c0aff535eb6ee382605c556273
[ "Apache-2.0" ]
112
2015-10-02T19:51:51.000Z
2022-03-07T06:29:44.000Z
quarkc/test/ffi/expected/py/overlapping_namespaces/setup.py
datawire/quark
df0058a148b077c0aff535eb6ee382605c556273
[ "Apache-2.0" ]
181
2015-10-01T20:23:38.000Z
2016-12-07T17:21:26.000Z
quarkc/test/ffi/expected/py/overlapping_namespaces/setup.py
datawire/quark
df0058a148b077c0aff535eb6ee382605c556273
[ "Apache-2.0" ]
31
2015-10-13T22:10:00.000Z
2020-08-03T02:50:12.000Z
# Setup file for package overlapping_namespace from setuptools import setup setup(name="overlapping_namespace", version="0.1.0", install_requires=["wheel", "quark==0.0.1", "org_example_foo==0.1.0"], setup_requires=["wheel"], py_modules=[], packages=['org', 'org.example', 'org.example.bar...
32
85
0.678977
46
352
5
0.543478
0.26087
0.026087
0
0
0
0
0
0
0
0
0.0301
0.150568
352
10
86
35.2
0.73913
0.125
0
0
0
0
0.401961
0.218954
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
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
0
0
0
0
0
2
30ac17625116d9c557fcb9f766bc9c4e0e187256
273
py
Python
scripts/scenes/combat/elements/unit_behaviours/heavy.py
novialriptide/nqp2
db2c8a2ce298638eb06f84d283ed3f6807c2e131
[ "MIT" ]
12
2022-01-02T11:21:46.000Z
2022-03-12T20:53:40.000Z
scripts/scenes/combat/elements/unit_behaviours/heavy.py
novialriptide/nqp2
db2c8a2ce298638eb06f84d283ed3f6807c2e131
[ "MIT" ]
142
2021-07-25T14:05:11.000Z
2022-03-26T21:12:53.000Z
scripts/scenes/combat/elements/unit_behaviours/heavy.py
novialriptide/nqp2
db2c8a2ce298638eb06f84d283ed3f6807c2e131
[ "MIT" ]
9
2021-08-25T00:25:24.000Z
2022-03-12T20:53:41.000Z
from .base import Base class Heavy(Base): def complete_init(self): super().complete_init() self.force_regroup = True if self.unit.use_ammo: self.smart_range_retarget = True def process(self, dt): super().process(dt)
18.2
44
0.611722
35
273
4.6
0.628571
0.149068
0.198758
0
0
0
0
0
0
0
0
0
0.285714
273
14
45
19.5
0.825641
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
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
1
0
0
0
0
0
0
0
2
30b094be213a7211a4cc02bd180d2df939d842b1
899
py
Python
tests/test_import_conceptnet.py
vishalbelsare/kgtk
7dbcc901a5d52cc9d1af97715e12697e5b460dc7
[ "MIT" ]
222
2020-03-31T17:45:04.000Z
2022-03-30T22:48:08.000Z
tests/test_import_conceptnet.py
vishalbelsare/kgtk
7dbcc901a5d52cc9d1af97715e12697e5b460dc7
[ "MIT" ]
510
2020-04-02T00:32:44.000Z
2022-03-29T01:20:22.000Z
tests/test_import_conceptnet.py
vishalbelsare/kgtk
7dbcc901a5d52cc9d1af97715e12697e5b460dc7
[ "MIT" ]
41
2020-03-31T17:45:07.000Z
2022-03-22T02:49:44.000Z
import shutil import unittest import tempfile import pandas as pd from kgtk.cli_entry import cli_entry from kgtk.exceptions import KGTKException class TestKGTKImportConceptNet(unittest.TestCase): def setUp(self) -> None: self.temp_dir=tempfile.mkdtemp() def tearDown(self) -> None: shutil.rmtre...
32.107143
134
0.688543
128
899
4.742188
0.539063
0.052718
0.072488
0.039539
0.082372
0.082372
0
0
0
0
0
0.016327
0.182425
899
27
135
33.296296
0.809524
0.136819
0
0
0
0
0.181347
0.07772
0
0
0
0
0.166667
1
0.166667
false
0
0.5
0
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
30bfa3735b16a51315054b5acedc817b34e86510
919
py
Python
models.py
tensorway/Neural-cellular-automata-and-Bitcoin
79d19dc036217f93d6845be9ea96c6cc25b23b92
[ "MIT" ]
null
null
null
models.py
tensorway/Neural-cellular-automata-and-Bitcoin
79d19dc036217f93d6845be9ea96c6cc25b23b92
[ "MIT" ]
null
null
null
models.py
tensorway/Neural-cellular-automata-and-Bitcoin
79d19dc036217f93d6845be9ea96c6cc25b23b92
[ "MIT" ]
null
null
null
import torch as th import torch.nn as nn import torch.nn.functional as F import torchvision as tv import matplotlib.pyplot as plt import cv2 from torch.utils.tensorboard import SummaryWriter import time from collections import deque import random import copy from utils import xsobel, ysobel class Cell(nn.Module): ...
34.037037
99
0.660501
146
919
4.047945
0.424658
0.013536
0.043993
0.040609
0.043993
0
0
0
0
0
0
0.018106
0.218716
919
27
100
34.037037
0.805014
0
0
0.076923
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.461538
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
0
0
0
1
0
1
0
0
2
30cb99ee5910824c55927f1d17d6bec03ac81d17
2,104
py
Python
apps/plugins/plugin.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
25
2021-06-13T03:38:44.000Z
2022-03-15T15:53:31.000Z
apps/plugins/plugin.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
59
2021-06-12T23:35:06.000Z
2022-03-24T21:40:24.000Z
apps/plugins/plugin.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
null
null
null
import abc import pathlib from importlib import util as importlib_util from typing import Optional, Protocol from plugins.models import MPlugin class TopNavProtocol(Protocol): @property def public_has_top_nav(self) -> bool: """Does this plugin have public facing top nav?""" return False cla...
30.057143
116
0.654943
265
2,104
5.064151
0.384906
0.04918
0.026826
0.028316
0.128167
0.055142
0.055142
0.055142
0.055142
0
0
0.000638
0.254753
2,104
69
117
30.492754
0.85523
0.294677
0
0.243902
0
0
0.053079
0.039632
0
0
0
0.014493
0
1
0.195122
false
0
0.146341
0.02439
0.682927
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
30f2d2c111d6644e79246c0c70b3eff7c89f77de
218
py
Python
leetcode/hard/1203.py
phantomnat/python-learning
addc7ba5fc4fb8920cdd2891d4b2e79efd1a524a
[ "MIT" ]
null
null
null
leetcode/hard/1203.py
phantomnat/python-learning
addc7ba5fc4fb8920cdd2891d4b2e79efd1a524a
[ "MIT" ]
null
null
null
leetcode/hard/1203.py
phantomnat/python-learning
addc7ba5fc4fb8920cdd2891d4b2e79efd1a524a
[ "MIT" ]
null
null
null
# https://leetcode.com/problems/sort-items-by-groups-respecting-dependencies/ # graph, dfs class Solution: def sortItems(self, n: int, m: int, group: List[int], beforeItems: List[List[int]]) -> List[int]:
36.333333
101
0.683486
30
218
4.966667
0.766667
0.14094
0
0
0
0
0
0
0
0
0
0
0.146789
218
6
102
36.333333
0.801075
0.394495
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
2
a500ed1e01eb7264848c0ee426a0677826902113
7,635
py
Python
tests/test_uvscli.py
kouritron/uvs
42a4241445360fd64fc09f39fb9a4b5e596d622c
[ "BSD-3-Clause" ]
null
null
null
tests/test_uvscli.py
kouritron/uvs
42a4241445360fd64fc09f39fb9a4b5e596d622c
[ "BSD-3-Clause" ]
null
null
null
tests/test_uvscli.py
kouritron/uvs
42a4241445360fd64fc09f39fb9a4b5e596d622c
[ "BSD-3-Clause" ]
null
null
null
import os import sys import shutil import io # if you got module not found errors, uncomment these. PyCharm IDE does not need it. # get the abs version of . and .. and append them to this process's path. sys.path.append(os.path.abspath('..')) sys.path.append(os.path.abspath('.')) #print sys.path import unittest ...
31.549587
117
0.62816
1,043
7,635
4.392138
0.237776
0.068107
0.062868
0.045405
0.370443
0.320017
0.296878
0.282471
0.25191
0.245143
0
0.004855
0.244663
7,635
242
118
31.549587
0.789492
0.247544
0
0.324324
0
0.009009
0.138694
0.01655
0
0
0
0.004132
0.036036
0
null
null
0.09009
0.081081
null
null
0.126126
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
a502ec147157338573c2ac7095c41e2a9d21ad73
515
py
Python
titan/django_pkg/appmodule/__init__.py
mnieber/gen
65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9
[ "MIT" ]
null
null
null
titan/django_pkg/appmodule/__init__.py
mnieber/gen
65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9
[ "MIT" ]
null
null
null
titan/django_pkg/appmodule/__init__.py
mnieber/gen
65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9
[ "MIT" ]
null
null
null
import moonleap.resource.props as P from moonleap import create, extend from moonleap.utils.case import kebab_to_camel, sn from moonleap.verbs import has from titan.django_pkg.djangoapp import DjangoApp from .resources import AppModule # noqa @create("app:module") def create_app_module(term): module = AppModule...
25.75
58
0.776699
74
515
5.283784
0.513514
0.092072
0.061381
0
0
0
0
0
0
0
0
0
0.133981
515
19
59
27.105263
0.876682
0.007767
0
0
0
0
0.039293
0
0
0
0
0
0
1
0.071429
false
0
0.428571
0
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
0
0
0
1
0
1
0
0
2
a50c1f5e4892b6121f54443ad132dddd426c06de
1,393
py
Python
blog.py
robotoART/multi-user-blog
4078f913df9e6b5010d7a2144cca89550a8ee533
[ "BSD-3-Clause" ]
null
null
null
blog.py
robotoART/multi-user-blog
4078f913df9e6b5010d7a2144cca89550a8ee533
[ "BSD-3-Clause" ]
null
null
null
blog.py
robotoART/multi-user-blog
4078f913df9e6b5010d7a2144cca89550a8ee533
[ "BSD-3-Clause" ]
null
null
null
import os import re from string import letters import random import hashlib import hmac import webapp2 import jinja2 from jinja2 import Environment from google.appengine.ext import db from utils.Utils import Utils from models.Comment import Comment from models.Post import Post from models.User import User from han...
26.788462
52
0.725054
171
1,393
5.906433
0.274854
0.166337
0
0
0
0
0
0
0
0
0
0.015063
0.142139
1,393
51
53
27.313725
0.830126
0
0
0
0
0
0.145729
0.070352
0
0
0
0
0
1
0
false
0
0.636364
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a50efc49b461946cdc6009e1f50501249fdfce34
2,038
py
Python
search/views.py
stefanilie/hashtag
2058f2514e06401e36ab254ba42b25bbd7558f19
[ "FTL" ]
null
null
null
search/views.py
stefanilie/hashtag
2058f2514e06401e36ab254ba42b25bbd7558f19
[ "FTL" ]
null
null
null
search/views.py
stefanilie/hashtag
2058f2514e06401e36ab254ba42b25bbd7558f19
[ "FTL" ]
null
null
null
import sys from django.shortcuts import render from django.shortcuts import render_to_response from django.http import Http404, HttpResponse, HttpResponseRedirect from .forms import SearchForm from .models import Search def home(request): if request.POST: arrTweets = getTweets(request.POST['search']) print arrTwe...
29.114286
203
0.762512
227
2,038
6.77533
0.453744
0.019506
0.024707
0.03251
0.202861
0.162549
0.162549
0.162549
0.097529
0.097529
0
0.045977
0.146222
2,038
70
204
29.114286
0.837931
0.05054
0
0.346154
0
0
0.26567
0.195515
0
0
0
0.028571
0
0
null
null
0
0.192308
null
null
0.057692
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
1
0
0
0
0
0
0
0
0
2
eb484101042d34d5df09759540c4072f649685da
720
py
Python
src/models/entities/user.py
lokaimoma/Flask-QR-Code-Web-APP
5789753757aa1939119a799cbc6bda023ea75bbc
[ "MIT" ]
2
2022-03-05T18:54:15.000Z
2022-03-24T12:19:22.000Z
src/models/entities/user.py
lokaimoma/Flask-QR-Code-Web-APP
5789753757aa1939119a799cbc6bda023ea75bbc
[ "MIT" ]
null
null
null
src/models/entities/user.py
lokaimoma/Flask-QR-Code-Web-APP
5789753757aa1939119a799cbc6bda023ea75bbc
[ "MIT" ]
null
null
null
# Created by Kelvin_Clark on 3/3/2022, 4:58 PM from src import database as db class User(db.Model): __tablename__ = "users" username: str = db.Column(db.String(200).with_variant(db.Text, "sqlite"), unique=True, primary_key=True) email: str = db.Column(db.String(200).with_variant(db.Text, "sqlite"), unique...
34.285714
108
0.679167
103
720
4.582524
0.417476
0.03178
0.069915
0.082627
0.322034
0.233051
0.233051
0.233051
0.233051
0.233051
0
0.030875
0.190278
720
20
109
36
0.778731
0.061111
0
0
0
0
0.034125
0
0
0
0
0
0
1
0.142857
false
0.214286
0.071429
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
eb61e320d9b1fecbed0efae579b389e9a7594789
370
py
Python
drf_localize/commons/errors.py
ebs-integrator/DRF-Localize
85201157027770ff3859842f04ce8a3e302ab072
[ "MIT" ]
3
2022-03-10T12:34:18.000Z
2022-03-14T08:52:22.000Z
drf_localize/commons/errors.py
ebs-integrator/drf-localize
85201157027770ff3859842f04ce8a3e302ab072
[ "MIT" ]
null
null
null
drf_localize/commons/errors.py
ebs-integrator/drf-localize
85201157027770ff3859842f04ce8a3e302ab072
[ "MIT" ]
null
null
null
from rest_framework.exceptions import APIException from django.utils.translation import ugettext_lazy as _ from rest_framework.status import HTTP_423_LOCKED # Create your errors here. class LockedError(APIException): status_code = HTTP_423_LOCKED default_detail = _('You do not have permission to perform this...
30.833333
76
0.805405
49
370
5.816327
0.714286
0.05614
0.119298
0
0
0
0
0
0
0
0
0.018927
0.143243
370
11
77
33.636364
0.880126
0.064865
0
0
0
0
0.194767
0
0
0
0
0
0
1
0
false
0
0.428571
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
eb6cf5fe7c51c4edd9875792fb5d69a2d5f20030
185
py
Python
hello.py
khumphries/cs3240-labdemo
debc8fcb5d78ee5d8c5d3d809d2e57cac6c6762c
[ "MIT" ]
null
null
null
hello.py
khumphries/cs3240-labdemo
debc8fcb5d78ee5d8c5d3d809d2e57cac6c6762c
[ "MIT" ]
null
null
null
hello.py
khumphries/cs3240-labdemo
debc8fcb5d78ee5d8c5d3d809d2e57cac6c6762c
[ "MIT" ]
null
null
null
__author__ = '__knh4vu__' from helper import greeting from helper3 import greeting3 from helper2 import greeting2 if __name__ == '__main__': greeting('hello') greeting2('There')
14.230769
29
0.762162
21
185
5.952381
0.714286
0
0
0
0
0
0
0
0
0
0
0.038217
0.151351
185
12
30
15.416667
0.757962
0
0
0
0
0
0.151351
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
0
0
0
2
eb85bad7014ffa6c1d37965f545f670fc38b8748
382
py
Python
essentials/oo-programming/simple_class.py
iomegak12/intel-training-usecase-1
0d1ab6f6076f46f7fbb290ceb41d6b851da1af3a
[ "MIT" ]
null
null
null
essentials/oo-programming/simple_class.py
iomegak12/intel-training-usecase-1
0d1ab6f6076f46f7fbb290ceb41d6b851da1af3a
[ "MIT" ]
null
null
null
essentials/oo-programming/simple_class.py
iomegak12/intel-training-usecase-1
0d1ab6f6076f46f7fbb290ceb41d6b851da1af3a
[ "MIT" ]
null
null
null
class Person: """ Representation of a person, which includes name, gender, date of birth """ def __init__(self, name, gender, age): self.name = name self.gender = gender self.age = age def __str__(self): return f'Name: {self.name}, Gender: {self.gender}, Age: {s...
21.222222
78
0.589005
49
382
4.428571
0.44898
0.138249
0.129032
0
0
0
0
0
0
0
0
0.00722
0.274869
382
17
79
22.470588
0.776173
0.183246
0
0
0
0.111111
0.226027
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
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
0
0
0
2
eb888ccd4d5150a074b0d771eabcba3d7b0bf69d
564
py
Python
src/util.py
abeakkas/ipho-unofficial.org
803ab3cc20670304f7be899ecc48b753765c2ddc
[ "MIT" ]
5
2020-04-10T19:32:43.000Z
2021-05-08T23:39:21.000Z
src/util.py
abeakkas/ipho-unofficial.org
803ab3cc20670304f7be899ecc48b753765c2ddc
[ "MIT" ]
5
2016-09-01T04:38:53.000Z
2019-01-31T15:51:39.000Z
src/util.py
abeakkas/ipho-unofficial.org
803ab3cc20670304f7be899ecc48b753765c2ddc
[ "MIT" ]
7
2016-08-10T10:30:59.000Z
2020-02-21T14:12:35.000Z
import os def makedirs(path): try: os.makedirs(path) except OSError: pass def readfile(path): with open(path, 'r') as file: return file.read() def writefile(path, content): with open(path, 'w') as file: return file.write(content) def copyfile(_from, to...
19.448276
35
0.526596
70
564
4.214286
0.514286
0.071186
0.081356
0.108475
0
0
0
0
0
0
0
0.016
0.335106
564
28
36
20.142857
0.770667
0
0
0
0
0
0.024254
0
0
0
0
0
0
1
0.217391
false
0.043478
0.043478
0
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
eb8f42714ac932cdfc292aeae7792fbd941d3a70
1,316
py
Python
fountain/linguistics.py
oaao/fountain-of-knuth
626be5ef98370e59c273a93a10614a4438e1fb22
[ "MIT" ]
null
null
null
fountain/linguistics.py
oaao/fountain-of-knuth
626be5ef98370e59c273a93a10614a4438e1fb22
[ "MIT" ]
null
null
null
fountain/linguistics.py
oaao/fountain-of-knuth
626be5ef98370e59c273a93a10614a4438e1fb22
[ "MIT" ]
null
null
null
"""Linguistic data for statistical pre-processing. Frequency statistics, as seen in data/, are provided by: a) Mark Mayzner, 1965: ------------------------------------------------------------------------------ METHODOLOGY: Starting at a random place in a given newspapers/magazines/book, record three- to seven-letter...
38.705882
89
0.592705
158
1,316
4.93038
0.727848
0.038511
0.053915
0.043646
0
0
0
0
0
0
0
0.050847
0.103343
1,316
33
90
39.878788
0.609322
0.951368
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
eb9b09f7ae8cd2422a36c30cbe319e6b1bdb760a
179
py
Python
Exercicios em Python/ex051.py
Raphael-Azevedo/Exercicios_Python
dece138f38edd02b0731aed78e44acccb021b3cb
[ "MIT" ]
null
null
null
Exercicios em Python/ex051.py
Raphael-Azevedo/Exercicios_Python
dece138f38edd02b0731aed78e44acccb021b3cb
[ "MIT" ]
null
null
null
Exercicios em Python/ex051.py
Raphael-Azevedo/Exercicios_Python
dece138f38edd02b0731aed78e44acccb021b3cb
[ "MIT" ]
null
null
null
n1 = int(input('Digite o primeiro termo da PA: ')) n2 = int(input('Digite a razão da PA: ')) for c in range(1, 11): o = n1 + (c - 1)*n2 print(o, end=' - ') print('ACABOU')
29.833333
50
0.564246
33
179
3.060606
0.636364
0.158416
0.277228
0
0
0
0
0
0
0
0
0.057971
0.22905
179
6
51
29.833333
0.673913
0
0
0
0
0
0.344444
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eba6b8526a7352b129d62e67953fbea4c4064fb0
1,945
py
Python
tellapart/aurproxy/config/route.py
thinker0/aurproxy
7387bb3ac7decd9d0034f9ca6b4dfea4384ce59d
[ "Apache-2.0" ]
1
2020-02-25T04:09:48.000Z
2020-02-25T04:09:48.000Z
tellapart/aurproxy/config/route.py
aurora-scheduler/aurproxy
73a1e7086cc4dd171456f50724246a9261febaf8
[ "Apache-2.0" ]
null
null
null
tellapart/aurproxy/config/route.py
aurora-scheduler/aurproxy
73a1e7086cc4dd171456f50724246a9261febaf8
[ "Apache-2.0" ]
2
2020-09-12T13:06:45.000Z
2021-01-19T09:42:58.000Z
# Copyright 2015 TellApart, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
29.029851
74
0.728021
251
1,945
5.354582
0.370518
0.073661
0.120536
0.119792
0.294643
0.254464
0.183036
0.183036
0.183036
0.183036
0
0.005151
0.201542
1,945
66
75
29.469697
0.86027
0.283805
0
0.325581
0
0
0.010877
0
0
0
0
0
0
1
0.232558
false
0
0
0.186047
0.44186
0.046512
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
0
0
0
2
ebb36f491c315700e82d95483ecfc1489b55b959
2,479
py
Python
tests/unit_test_suit.py
vlastikczech/zang-python
980f5243071404d6838554500a6955ff7bc2a0c7
[ "MIT" ]
1
2019-02-18T21:51:58.000Z
2019-02-18T21:51:58.000Z
tests/unit_test_suit.py
vlastikczech/zang-python
980f5243071404d6838554500a6955ff7bc2a0c7
[ "MIT" ]
6
2019-06-26T13:56:22.000Z
2022-02-17T16:40:48.000Z
tests/unit_test_suit.py
vlastikczech/zang-python
980f5243071404d6838554500a6955ff7bc2a0c7
[ "MIT" ]
6
2017-10-17T12:44:32.000Z
2020-02-07T20:45:00.000Z
import unittest from tests.unit.test_account import TestAccount from tests.unit.test_application import TestApplication from tests.unit.test_usages import TestUsages from tests.unit.test_conferences import TestConferences from tests.unit.test_mms_messages import TestMmsMessages from tests.unit.test_sms_messages import ...
47.673077
76
0.835418
283
2,479
7.09894
0.24735
0.103036
0.116476
0.215032
0.343454
0
0
0
0
0
0
0
0.094796
2,479
51
77
48.607843
0.895276
0.021783
0
0
0
0
0.003326
0
0
0
0
0
0
1
0.022727
false
0
0.431818
0
0.477273
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
0
0
0
2
ebc8ad73bf53731e4e6de57101a7b654d219529d
21,541
py
Python
lingvo/core/beam_search_helper_test.py
allenwang28/lingvo
26d3d6672d3f46d8f281c2aa9f57166ef6296738
[ "Apache-2.0" ]
2,611
2018-10-16T20:14:10.000Z
2022-03-31T14:48:41.000Z
lingvo/core/beam_search_helper_test.py
allenwang28/lingvo
26d3d6672d3f46d8f281c2aa9f57166ef6296738
[ "Apache-2.0" ]
249
2018-10-27T06:02:29.000Z
2022-03-30T18:00:39.000Z
lingvo/core/beam_search_helper_test.py
allenwang28/lingvo
26d3d6672d3f46d8f281c2aa9f57166ef6296738
[ "Apache-2.0" ]
436
2018-10-25T05:31:45.000Z
2022-03-31T07:26:03.000Z
# Lint as: python3 # Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
44.506198
80
0.611346
2,849
21,541
4.316251
0.107055
0.016752
0.020493
0.022445
0.73644
0.708547
0.6909
0.665447
0.649671
0.634382
0
0.060344
0.270693
21,541
483
81
44.598344
0.722406
0.064389
0
0.625628
0
0
0.027141
0.012129
0
0
0
0.00207
0.067839
1
0.062814
false
0.007538
0.015075
0.017588
0.125628
0.045226
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ebd069b822c585c6ef2aa742b9a5c038a0110139
445
py
Python
math/champernowne-constant.py
qeedquan/misc_utilities
94c6363388662ac8ebbf075b9c853ce6defbb5b3
[ "MIT" ]
8
2018-10-17T18:17:25.000Z
2022-03-18T09:02:53.000Z
math/champernowne-constant.py
qeedquan/misc_utilities
94c6363388662ac8ebbf075b9c853ce6defbb5b3
[ "MIT" ]
null
null
null
math/champernowne-constant.py
qeedquan/misc_utilities
94c6363388662ac8ebbf075b9c853ce6defbb5b3
[ "MIT" ]
3
2020-07-01T13:52:42.000Z
2022-03-18T09:10:59.000Z
#!/usr/bin/env python # https://en.wikipedia.org/wiki/Champernowne_constant # sequences below are related to these constants # counts how many numbers between two 10**n and 10**(n-1) def A0(n): return (10**n - 10**(n-1))*n # http://oeis.org/A033714 # This sequence also gives the total count of digits of n below 10^...
22.25
69
0.669663
86
445
3.453488
0.593023
0.050505
0.026936
0.074074
0
0
0
0
0
0
0
0.103542
0.175281
445
19
70
23.421053
0.705722
0.6
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
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
0
0
0
2
ebd099ec453489fa4bd88bc8afe52c94a368779d
1,862
py
Python
ReverseInteger/ReverseInteger.py
pauldoust/Competitive-Programming
e824485d0bb3a83b7fba3a80f17639771f32e1e7
[ "Apache-2.0" ]
null
null
null
ReverseInteger/ReverseInteger.py
pauldoust/Competitive-Programming
e824485d0bb3a83b7fba3a80f17639771f32e1e7
[ "Apache-2.0" ]
null
null
null
ReverseInteger/ReverseInteger.py
pauldoust/Competitive-Programming
e824485d0bb3a83b7fba3a80f17639771f32e1e7
[ "Apache-2.0" ]
null
null
null
# https://leetcode.com/problems/reverse-integer/ # Runtime: 32 ms, faster than 96.20% of Python3 online submissions for Reverse Integer. # Runtime: 36 ms, faster than 84.28% of Python3 online submissions for Reverse Integer. # Runtime: 44 ms, faster than 22.92% of Python3 online submissions for Reverse Integer. class ...
25.506849
87
0.486574
232
1,862
3.887931
0.25431
0.019956
0.070953
0.079823
0.733925
0.733925
0.687361
0.625277
0.514412
0.514412
0
0.074758
0.389366
1,862
73
88
25.506849
0.718558
0.318475
0
0.829268
0
0
0.003182
0
0
0
0
0
0
1
0.097561
false
0
0
0
0.268293
0.02439
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ebe2b6defd1e57b30e21b97498d0791cda38301d
353
py
Python
src/output/console.py
fufuok/PyAgent
f04b0d05e733b9989562934f2cdf1fa7a6af947a
[ "MIT" ]
2
2021-11-19T04:10:18.000Z
2021-12-01T02:39:56.000Z
src/output/console.py
huyingjun/PyAgent
ff7096634aa8deb617d2fe9d47fd2c6fbf8ff9a4
[ "MIT" ]
1
2021-12-22T14:12:42.000Z
2022-02-07T12:44:59.000Z
src/output/console.py
huyingjun/PyAgent
ff7096634aa8deb617d2fe9d47fd2c6fbf8ff9a4
[ "MIT" ]
3
2021-12-04T02:50:07.000Z
2021-12-27T03:49:35.000Z
# -*- coding:utf-8 -*- """ console.py ~~~~~~~~ 数据发布插件 - 输出到控制台 :author: Fufu, 2021/6/7 """ from . import OutputPlugin from ..libs.metric import Metric class Console(OutputPlugin): """数据发布 - 输出到控制台""" name = 'console' async def write(self, metric: Metric) -> None: """写入数据""" ...
16.809524
50
0.552408
39
353
4.974359
0.74359
0
0
0
0
0
0
0
0
0
0
0.026515
0.252125
353
20
51
17.65
0.708333
0.271955
0
0
0
0
0.045872
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cce3ac8194087917625821b84302b29b6337c46a
419
py
Python
web/src/schemas/database.py
disteLLL/saltyboy
d1c777c31d82f3b6e2126d8170446d9b028c37ab
[ "MIT" ]
null
null
null
web/src/schemas/database.py
disteLLL/saltyboy
d1c777c31d82f3b6e2126d8170446d9b028c37ab
[ "MIT" ]
null
null
null
web/src/schemas/database.py
disteLLL/saltyboy
d1c777c31d82f3b6e2126d8170446d9b028c37ab
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Dict from dataclasses_jsonschema import JsonSchemaMixin @dataclass class DatabaseStatsBreakdown(JsonSchemaMixin): """Database stats broken down by tier""" breakdown: Dict[str, int] total: int @dataclass class DatabaseStatsSchema(JsonSchemaMixin): ...
22.052632
50
0.78043
40
419
8.15
0.6
0.092025
0
0
0
0
0
0
0
0
0
0
0.155131
419
18
51
23.277778
0.920904
0.126492
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
true
0
0.272727
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
ccede3910d44ac17adace50d3005cb0696103c2a
398
py
Python
roadmaps/signal_listeners.py
adambober/roadmap_builder
6d48fc4ff65de0bb667f2495004d55f6398b5536
[ "MIT" ]
3
2021-12-04T00:25:34.000Z
2022-03-20T17:33:52.000Z
roadmaps/signal_listeners.py
adambober/roadmap_builder
6d48fc4ff65de0bb667f2495004d55f6398b5536
[ "MIT" ]
null
null
null
roadmaps/signal_listeners.py
adambober/roadmap_builder
6d48fc4ff65de0bb667f2495004d55f6398b5536
[ "MIT" ]
null
null
null
from django.db.models.signals import post_save from django.dispatch import receiver from roadmaps.models import RoadmapNode from roadmaps.services.progress import ProgressPropagator @receiver(post_save, sender=RoadmapNode) def propagate_completion_to_descendant_nodes(sender, **kwargs): roadmap: RoadmapNode = kwa...
33.166667
63
0.836683
47
398
6.914894
0.574468
0.061538
0
0
0
0
0
0
0
0
0
0
0.092965
398
11
64
36.181818
0.900277
0
0
0
0
0
0.020101
0
0
0
0
0
0
1
0.125
false
0
0.5
0
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
0
0
0
1
0
1
0
0
2
ccf6ab1d7fc1142582573ac98bff25dde4b1d9c1
471
py
Python
test_project/server/settings/environments/development.py
wemake-services/wemake-django-rest
f1ab3b4b5bf3bf04866e7695667049fefe7b98f1
[ "MIT" ]
13
2018-10-06T13:04:54.000Z
2020-08-14T13:03:01.000Z
test_project/server/settings/environments/development.py
wemake-services/wemake-django-rest
f1ab3b4b5bf3bf04866e7695667049fefe7b98f1
[ "MIT" ]
6
2018-10-09T15:45:43.000Z
2021-06-23T12:31:51.000Z
test_project/server/settings/environments/development.py
wemake-services/wemake-django-rest
f1ab3b4b5bf3bf04866e7695667049fefe7b98f1
[ "MIT" ]
2
2018-11-16T02:58:41.000Z
2020-07-18T18:19:15.000Z
# -*- coding: utf-8 -*- """ This file contains all the settings that defines the development server. SECURITY WARNING: don't run with debug turned on in production! """ import logging from typing import List from server.settings.components.common import INSTALLED_APPS, MIDDLEWARE # Setting the development status: ...
19.625
83
0.755839
65
471
5.430769
0.784615
0.07932
0
0
0
0
0
0
0
0
0
0.009877
0.140127
471
23
84
20.478261
0.861728
0.609342
0
0
0
0
0
0
0
0
0
0
0
1
0
false
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
0
0
1
0
1
0
0
2
ccfb0220e26dd4f7df5cf240f68d1efa01669ca5
212
py
Python
helper_functions.py
lindsayad/python
4b63a8b02de6a7c0caa7bb770f3f22366e066a7f
[ "MIT" ]
null
null
null
helper_functions.py
lindsayad/python
4b63a8b02de6a7c0caa7bb770f3f22366e066a7f
[ "MIT" ]
null
null
null
helper_functions.py
lindsayad/python
4b63a8b02de6a7c0caa7bb770f3f22366e066a7f
[ "MIT" ]
null
null
null
import numpy as np def indep_array(start, finish, num_steps): x = np.zeros(num_steps) for i in range(0, num_steps): x[i] = start * ((finish / start) ** (1. / (num_steps - 1.))) ** i return x
26.5
73
0.584906
35
212
3.4
0.571429
0.268908
0.151261
0
0
0
0
0
0
0
0
0.018987
0.254717
212
7
74
30.285714
0.734177
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
1
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
2
ccfca93576d38c7241f634e36cb1fb7366307974
343
py
Python
{{cookiecutter.project_slug}}/sources/conftest.py
AsheKR/cookiecutter-django
d0402aefcc2eeaffa747faa7ef50ad97286bfcca
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_slug}}/sources/conftest.py
AsheKR/cookiecutter-django
d0402aefcc2eeaffa747faa7ef50ad97286bfcca
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_slug}}/sources/conftest.py
AsheKR/cookiecutter-django
d0402aefcc2eeaffa747faa7ef50ad97286bfcca
[ "BSD-3-Clause" ]
null
null
null
import os import sys import pytest from django.contrib.auth import get_user_model from users.tests.factories import UserFactory sys.path.append(os.path.join(os.path.dirname(__file__), 'app')) User = get_user_model() @pytest.fixture(autouse=True) def enable_db(db): pass @pytest.fixture def user() -> User: ...
15.590909
63
0.752187
51
343
4.882353
0.568627
0.056225
0.096386
0
0
0
0
0
0
0
0
0
0.134111
343
21
64
16.333333
0.838384
0
0
0
0
0
0.008746
0
0
0
0
0
0
1
0.153846
false
0.076923
0.384615
0.076923
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
0
0
1
1
0
0
0
0
2
ccfd2ea93b839a028809fe07b95b0245dfeb7f66
191
py
Python
src/numba_vectormath.py
arkavo/Maxwell-ecosystem
d956ea892ebe581b8b2c0325df59fa58a6d5db9a
[ "Apache-2.0" ]
null
null
null
src/numba_vectormath.py
arkavo/Maxwell-ecosystem
d956ea892ebe581b8b2c0325df59fa58a6d5db9a
[ "Apache-2.0" ]
null
null
null
src/numba_vectormath.py
arkavo/Maxwell-ecosystem
d956ea892ebe581b8b2c0325df59fa58a6d5db9a
[ "Apache-2.0" ]
null
null
null
import numpy as np import numba from numba import jit @jit(nopython=True) def distance(a,b): d = 0 for i in range(max(len(a),len(b))): d += (a[i] - b[i])**2 return d**0.5
19.1
39
0.581152
38
191
2.921053
0.631579
0.036036
0
0
0
0
0
0
0
0
0
0.027778
0.246073
191
10
40
19.1
0.743056
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
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
0
0
0
1
0
1
0
0
2
6902524469a111f980df924fbfd0b52b4036a41b
1,651
py
Python
poker/poker_base/test.py
chitty/poker_base
913c13b89a0c4e4c0ec7e3b01495a96309a02f26
[ "MIT" ]
null
null
null
poker/poker_base/test.py
chitty/poker_base
913c13b89a0c4e4c0ec7e3b01495a96309a02f26
[ "MIT" ]
null
null
null
poker/poker_base/test.py
chitty/poker_base
913c13b89a0c4e4c0ec7e3b01495a96309a02f26
[ "MIT" ]
null
null
null
from poker import poker, kind, two_pair, hand_rank, card_ranks, best_hand def test(): "Test cases for the functions in poker program" sf = "6C 7C 8C 9C TC".split() # Straight Flush fk = "9D 9H 9S 9C 7D".split() # Four of a Kind fh = "TD TC TH 7C 7D".split() # Full House tp = "5S 5D AC AS KS".sp...
35.12766
73
0.574197
282
1,651
3.269504
0.308511
0.060738
0.019523
0.02603
0.104121
0
0
0
0
0
0
0.074134
0.248334
1,651
46
74
35.891304
0.668815
0.053907
0
0
0
0
0.179008
0
0
0
0
0
0.475
0
null
null
0.05
0.025
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
2
690dd745221fea2279bf9ae3ddea1cf478e5ead0
2,645
py
Python
tests/test_spider_qidian.py
congjinruo/JulyNovel
feff0adfecab1c21728fc177c94621b9b8707bbd
[ "Apache-2.0" ]
5
2018-03-05T02:32:53.000Z
2020-10-27T13:13:59.000Z
tests/test_spider_qidian.py
congjinruo/JulyNovel
feff0adfecab1c21728fc177c94621b9b8707bbd
[ "Apache-2.0" ]
null
null
null
tests/test_spider_qidian.py
congjinruo/JulyNovel
feff0adfecab1c21728fc177c94621b9b8707bbd
[ "Apache-2.0" ]
1
2019-02-20T03:04:22.000Z
2019-02-20T03:04:22.000Z
# -*- coding: utf-8 -*- import unittest from app.services.spider_qidian import QidianSpider class TestSpider(unittest.TestCase): def test_init(self): spider = QidianSpider() self.assertTrue(isinstance(spider, QidianSpider)) def test_query_book_list(self): spider = QidianSpider() ...
45.603448
135
0.662004
300
2,645
5.756667
0.376667
0.234511
0.176028
0.092646
0.121598
0.086856
0.086856
0
0
0
0
0.097292
0.176181
2,645
57
136
46.403509
0.695273
0.00794
0
0.106383
0
0.021277
0.283753
0.008772
0
0
0
0
0.595745
1
0.106383
false
0
0.042553
0
0.170213
0.021277
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
6922c9f5f58bcc2458ccc430c20fbd3d35a3615f
2,475
py
Python
burin/dxftypes.py
matthewSorensen/plotterstuff
5e694c21d3cc49690f8b20cc9c06b3365612ee12
[ "BSD-2-Clause" ]
1
2020-10-15T04:59:16.000Z
2020-10-15T04:59:16.000Z
burin/dxftypes.py
matthewSorensen/plotterstuff
5e694c21d3cc49690f8b20cc9c06b3365612ee12
[ "BSD-2-Clause" ]
null
null
null
burin/dxftypes.py
matthewSorensen/plotterstuff
5e694c21d3cc49690f8b20cc9c06b3365612ee12
[ "BSD-2-Clause" ]
null
null
null
from geomdl import BSpline import numpy as np import math import ezdxf import burin.types class Spline: def __init__(self,degree, control, knots): self.degree = degree self.control = np.array(control) self.knots = np.array(knots) def length_upper_bound(self): acc = 0 ...
27.197802
84
0.606869
322
2,475
4.543478
0.267081
0.038278
0.030075
0.054682
0.077922
0.045113
0
0
0
0
0
0.009567
0.28202
2,475
90
85
27.5
0.813731
0.042828
0
0.126984
0
0
0
0
0
0
0
0
0
1
0.206349
false
0
0.079365
0.063492
0.507937
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
692480274c65e40eecef76118c129488a11778d0
161
py
Python
backend/microservices/audio-generator/config/routes/authentication.py
MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection
72130ad037b900461af5be6d80b27ab29c81de5e
[ "MIT" ]
3
2021-04-26T00:17:14.000Z
2021-07-04T15:30:09.000Z
backend/microservices/audio-generator/config/routes/authentication.py
MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection
72130ad037b900461af5be6d80b27ab29c81de5e
[ "MIT" ]
null
null
null
backend/microservices/audio-generator/config/routes/authentication.py
MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection
72130ad037b900461af5be6d80b27ab29c81de5e
[ "MIT" ]
null
null
null
API_ROOT = 'http://localhost:6000' #'https://bookbeat.herokuapp.com' TOKEN_VALIDATION_ABS_ENDPOINT = API_ROOT + '/validate-token' REQ_USER_ID_KEY_NAME = 'id'
40.25
69
0.757764
23
161
4.913043
0.826087
0.123894
0
0
0
0
0
0
0
0
0
0.027397
0.093168
161
4
70
40.25
0.746575
0.198758
0
0
0
0
0.301587
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6924fcbecc439543091a0747fd24dab3169d855c
238
py
Python
output/models/nist_data/list_pkg/date/schema_instance/nistschema_sv_iv_list_date_min_length_3_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/list_pkg/date/schema_instance/nistschema_sv_iv_list_date_min_length_3_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/list_pkg/date/schema_instance/nistschema_sv_iv_list_date_min_length_3_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.list_pkg.date.schema_instance.nistschema_sv_iv_list_date_min_length_3_xsd.nistschema_sv_iv_list_date_min_length_3 import NistschemaSvIvListDateMinLength3 __all__ = [ "NistschemaSvIvListDateMinLength3", ]
39.666667
182
0.886555
31
238
6.096774
0.645161
0.126984
0.148148
0.190476
0.338624
0.338624
0.338624
0.338624
0
0
0
0.017857
0.058824
238
5
183
47.6
0.825893
0
0
0
0
0
0.134454
0.134454
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
69290e1920360e574d9ff10f85dbac38fc7fe420
492
py
Python
notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/Interview-Problems/HackerRank/Data Structures/Dynamic-Array.py
side-projects-42/INTERVIEW-PREP-COMPLETE
627a3315cee4bbc38a0e81c256f27f928eac2d63
[ "MIT" ]
13
2021-03-11T00:25:22.000Z
2022-03-19T00:19:23.000Z
notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/Interview-Problems/HackerRank/Data Structures/Dynamic-Array.py
side-projects-42/INTERVIEW-PREP-COMPLETE
627a3315cee4bbc38a0e81c256f27f928eac2d63
[ "MIT" ]
160
2021-04-26T19:04:15.000Z
2022-03-26T20:18:37.000Z
notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/Interview-Problems/HackerRank/Data Structures/Dynamic-Array.py
side-projects-42/INTERVIEW-PREP-COMPLETE
627a3315cee4bbc38a0e81c256f27f928eac2d63
[ "MIT" ]
12
2021-04-26T19:43:01.000Z
2022-01-31T08:36:29.000Z
def dynamicArray(n, queries): Q = len(queries) seqList = [[] for _ in range(n)] lastAnswer = 0 la = [] for i in range(Q): t, x, y = queries[i][0], queries[i][1], queries[i][2] if t == 1: seqList[(x ^ lastAnswer) % n].append(y) else: lastAnswer = seqLis...
28.941176
61
0.477642
60
492
3.9
0.4
0.102564
0.230769
0.24359
0
0
0
0
0
0
0
0.016181
0.371951
492
16
62
30.75
0.7411
0
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
0.0625
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
692aef8917d87dca4ac44be30bc2c59f6597251b
663
py
Python
meirin/db/metapolicy.py
sinsong/Meirin
ac536b3905d258dbdf5e1013d56d2f906efce58e
[ "BSD-2-Clause" ]
null
null
null
meirin/db/metapolicy.py
sinsong/Meirin
ac536b3905d258dbdf5e1013d56d2f906efce58e
[ "BSD-2-Clause" ]
null
null
null
meirin/db/metapolicy.py
sinsong/Meirin
ac536b3905d258dbdf5e1013d56d2f906efce58e
[ "BSD-2-Clause" ]
null
null
null
from sqlalchemy import Column, Sequence from sqlalchemy import Integer, String, Text from meirin.db.base_class import Base class MetaPolicy(Base): __tablename__ = 'metapolicy' # helper metapolicy_id_seq = Sequence('metapolicy_id_seq', metadata=Base.metadata) # columns id = Column(Integer, met...
27.625
112
0.714932
88
663
5.159091
0.534091
0.132159
0.132159
0
0
0
0
0
0
0
0
0.010909
0.170437
663
23
113
28.826087
0.814545
0.135747
0
0
0
0
0.128295
0.045694
0
0
0
0.043478
0
1
0.083333
false
0
0.25
0.083333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
6948cabfaee34f9d09b3487a9f8788c36f0c90c4
24,914
py
Python
bot.py
StickBrush/RecommenderBot
a9e9ad5900e016cfeb1cba144cac5faa84607522
[ "WTFPL" ]
null
null
null
bot.py
StickBrush/RecommenderBot
a9e9ad5900e016cfeb1cba144cac5faa84607522
[ "WTFPL" ]
null
null
null
bot.py
StickBrush/RecommenderBot
a9e9ad5900e016cfeb1cba144cac5faa84607522
[ "WTFPL" ]
null
null
null
from telegram.ext import Updater, CommandHandler import re import os import logging from model import Anime from gateway import * def recommend_anime(bot, update): logging.debug('Received recommendation request') anime = get_best_anime().to_prettified_dict() logging.debug('Answer: '.format(anime)) cha...
44.017668
90
0.702537
3,315
24,914
5.063952
0.036199
0.064336
0.075058
0.099243
0.870376
0.774766
0.693751
0.594389
0.57199
0.57199
0
0
0.147708
24,914
565
91
44.095575
0.790572
0
0
0.609284
0
0
0.111785
0
0
0
0
0
0
1
0.088975
false
0
0.011605
0
0.10058
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
695a580d9dfe172ab929a611ecc5c4b39192aa4c
2,590
py
Python
authors/apps/profiles/serializers.py
andela/ah-jumanji-
a304718929936dd4a759d737fb3570d6cc25fb76
[ "BSD-3-Clause" ]
1
2018-12-23T15:31:54.000Z
2018-12-23T15:31:54.000Z
authors/apps/profiles/serializers.py
andela/ah-jumanji-
a304718929936dd4a759d737fb3570d6cc25fb76
[ "BSD-3-Clause" ]
26
2018-11-27T09:13:15.000Z
2021-06-10T20:58:57.000Z
authors/apps/profiles/serializers.py
andela/ah-jumanji-
a304718929936dd4a759d737fb3570d6cc25fb76
[ "BSD-3-Clause" ]
2
2019-01-10T22:14:28.000Z
2019-11-04T07:33:43.000Z
""" Module serializes `Profile` model :generates JSON from fields in `Profile` model """ import logging from rest_framework import serializers from authors.apps.authentication.serializers import UserSerializer from authors.apps.profiles.models import Profile, Following logger = logging.getLogger(__name__) c...
24.903846
71
0.62471
257
2,590
6.22179
0.396887
0.037523
0.035022
0.037523
0.11132
0.11132
0.11132
0.11132
0.077548
0
0
0.002697
0.28417
2,590
103
72
25.145631
0.859763
0.2139
0
0.291667
1
0
0.04882
0
0
0
0
0
0
1
0.0625
false
0
0.083333
0
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
695e5925518853dabd7c44e5771ea4c0dcb5f954
1,925
py
Python
ctci/p3_1.py
camirmas/ctci
d90ab6c296a18cba5eb1204e0569aff2c6795422
[ "MIT" ]
null
null
null
ctci/p3_1.py
camirmas/ctci
d90ab6c296a18cba5eb1204e0569aff2c6795422
[ "MIT" ]
null
null
null
ctci/p3_1.py
camirmas/ctci
d90ab6c296a18cba5eb1204e0569aff2c6795422
[ "MIT" ]
null
null
null
"""Describe how you could use a single array to implement three stacks.""" class StackManager: def __init__(self): self.stacks = [] self.top = { 1: None, 2: None, 3: None, } self.length = { 1: 0, 2: 0, 3: 0, ...
25
74
0.404156
245
1,925
3.159184
0.159184
0.289406
0.127907
0.167959
0.49354
0.49354
0.392765
0.392765
0.392765
0.325581
0
0.053213
0.482597
1,925
76
75
25.328947
0.723896
0.035325
0
0.474576
0
0
0
0
0
0
0
0
0.033898
1
0.050847
false
0
0
0
0.101695
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
696db1e4a92f0d0e222cee7bcee91e0fd0798929
218
py
Python
tests/helpers.py
shanedabes/sputils
396fda1932e2a1ae4a602e9d2bc8238f0f6fecd9
[ "Apache-2.0" ]
1
2019-05-29T23:49:38.000Z
2019-05-29T23:49:38.000Z
tests/helpers.py
shanedabes/sputils
396fda1932e2a1ae4a602e9d2bc8238f0f6fecd9
[ "Apache-2.0" ]
33
2019-06-04T15:14:10.000Z
2021-11-15T17:48:40.000Z
tests/helpers.py
shanedabes/sputils
396fda1932e2a1ae4a602e9d2bc8238f0f6fecd9
[ "Apache-2.0" ]
null
null
null
import os import json def rel_fn(fn): dir_name = os.path.dirname(os.path.realpath(__file__)) return os.path.join(dir_name, fn) def mock_json(fn): with open(rel_fn(fn)) as f: return json.load(f)
16.769231
58
0.669725
39
218
3.512821
0.512821
0.131387
0.10219
0
0
0
0
0
0
0
0
0
0.201835
218
12
59
18.166667
0.787356
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c604f6057b5dbbc4327c8b89a1889d99d12111c1
10,410
py
Python
pysnmp/RBN-ICR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/RBN-ICR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/RBN-ICR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module RBN-ICR-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RBN-ICR-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:44:25 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 0...
131.772152
1,175
0.747166
1,164
10,410
6.680412
0.150344
0.037809
0.056713
0.015432
0.444959
0.388503
0.365484
0.337963
0.302726
0.300926
0
0.070414
0.0805
10,410
78
1,176
133.461538
0.741956
0.030355
0
0.057143
0
0
0.229648
0.038076
0
0
0
0
0
1
0
false
0
0.114286
0
0.114286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c61d0aed14163a5df84fbf6f3f9906dee796c9d6
207
py
Python
keyvalues/__init__.py
JulioC/keyvalues-python
45bd5aa8fff36372099d8fe855406a649294736f
[ "MIT" ]
6
2016-04-19T22:54:20.000Z
2021-01-12T04:49:30.000Z
keyvalues/__init__.py
JulioC/keyvalues-python
45bd5aa8fff36372099d8fe855406a649294736f
[ "MIT" ]
1
2017-06-23T03:47:02.000Z
2017-09-27T01:25:43.000Z
keyvalues/__init__.py
JulioC/keyvalues-python
45bd5aa8fff36372099d8fe855406a649294736f
[ "MIT" ]
2
2016-02-01T00:16:39.000Z
2017-06-23T02:35:09.000Z
__version_info__ = ('0', '1', '1') __version__ = '.'.join(__version_info__) from keyvalues.keyvalues import KeyValues def load_keyvalues(filename): kv = KeyValues() kv.load(filename) return kv
20.7
41
0.700483
25
207
5.2
0.52
0.169231
0
0
0
0
0
0
0
0
0
0.017341
0.164251
207
9
42
23
0.734104
0
0
0
0
0
0.019324
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
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
0
0
0
2
c6271a004e236807dbe7bcbd4263febf9681f51b
964
py
Python
tests/database/testmodel.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
4
2017-09-07T13:39:50.000Z
2018-05-31T16:14:50.000Z
tests/database/testmodel.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
103
2017-03-19T15:58:21.000Z
2018-07-11T20:36:17.000Z
tests/database/testmodel.py
LowieHuyghe/edmunds-python
236d087746cb8802a8854b2706b8d3ff009e9209
[ "Apache-2.0" ]
2
2017-10-14T15:20:11.000Z
2018-04-20T09:55:44.000Z
from tests.testcase import TestCase from edmunds.database.db import db, mapper, relationship, backref from sqlalchemy.orm import mapper as sqlalchemy_mapper, relationship as sqlalchemy_relationship, backref as sqlalchemy_backref from edmunds.database.databasemanager import DatabaseManager from werkzeug.local import Lo...
32.133333
126
0.745851
113
964
6.088496
0.327434
0.087209
0.087209
0.110465
0.190407
0
0
0
0
0
0
0
0.185685
964
29
127
33.241379
0.876433
0.043568
0
0
0
0
0
0
0
0
0
0
0.4
1
0.066667
false
0
0.4
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c62888b176d698967ac4dee70756482d46d7f23e
1,396
py
Python
src/topgearAPI/carro.py
danilo94/ArduinoDashboard
f5dcbd8995c0f135ca0bd899aa9eefd9393eb46a
[ "MIT" ]
2
2019-05-25T21:21:31.000Z
2019-12-15T15:33:56.000Z
src/topgearAPI/carro.py
domsamuka/ArduinoDashboard
f5dcbd8995c0f135ca0bd899aa9eefd9393eb46a
[ "MIT" ]
null
null
null
src/topgearAPI/carro.py
domsamuka/ArduinoDashboard
f5dcbd8995c0f135ca0bd899aa9eefd9393eb46a
[ "MIT" ]
2
2019-12-15T15:33:33.000Z
2019-12-17T01:50:26.000Z
from MemoryHandler import * from addresses import * from struct import * class carro (object): def __init__(self): self.velocidade=0 self.gasolina=0 self.pontos=0 self.posicao=0 self.rpm=0 self.nitro=0 self.gerenciadorMemoria = MemoryHandler("zsne...
27.372549
149
0.588109
144
1,396
5.673611
0.319444
0.078335
0.141983
0.078335
0
0
0
0
0
0
0
0.027861
0.280086
1,396
50
150
27.92
0.785075
0
0
0.179487
0
0
0.013383
0
0
0
0.007435
0
0
1
0.230769
false
0.128205
0.076923
0
0.358974
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
0
0
0
2
c63176fa74c364cbbea0d4a75b777050b148c47b
2,778
py
Python
tests/integrate_test/samples/sample_internal_call_scores/sample_link_score/sample_link_score.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
52
2018-08-24T02:28:43.000Z
2021-07-06T04:44:22.000Z
tests/integrate_test/samples/sample_internal_call_scores/sample_link_score/sample_link_score.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
62
2018-09-17T06:59:16.000Z
2021-12-15T06:02:51.000Z
tests/integrate_test/samples/sample_internal_call_scores/sample_link_score/sample_link_score.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
35
2018-09-14T02:42:10.000Z
2022-02-05T10:34:46.000Z
from iconservice import * class SampleInterface(InterfaceScore): @interface def set_value(self, value: int) -> None: pass @interface def get_value(self) -> int: pass @interface def get_db(self) -> IconScoreDatabase: pass @interface def fallback_via_internal_call(self) -> None: pass ...
31.213483
94
0.688985
358
2,778
4.99162
0.175978
0.045327
0.058198
0.053721
0.502518
0.387241
0.332401
0.306659
0.306659
0.254057
0
0.000903
0.202304
2,778
88
95
31.568182
0.805505
0
0
0.348485
0
0
0.025198
0.009359
0
0
0
0
0
1
0.287879
false
0.106061
0.015152
0
0.393939
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
0
0
0
2
c63435b48134fbdbc1eba24cadcae4cf22b07d3a
1,969
py
Python
online_judges/sub_two/sub_two_challenge.py
stephank007/python_challenges
dfd8d18c03a06735f6e4e02b0660007fe2d02f07
[ "Apache-2.0" ]
null
null
null
online_judges/sub_two/sub_two_challenge.py
stephank007/python_challenges
dfd8d18c03a06735f6e4e02b0660007fe2d02f07
[ "Apache-2.0" ]
null
null
null
online_judges/sub_two/sub_two_challenge.py
stephank007/python_challenges
dfd8d18c03a06735f6e4e02b0660007fe2d02f07
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # This notebook was prepared by [Donne Martin](https://github.com/donnemartin). Source and license info is on [GitHub](https://github.com/donnemartin/interactive-coding-challenges). # # Challenge Notebook # ## Problem: Sum of Two Integers (Subtraction Variant). # # See the [Lee...
22.123596
181
0.643982
266
1,969
4.684211
0.443609
0.048154
0.05618
0.083467
0.102729
0.079454
0.079454
0.079454
0
0
0
0.019846
0.206704
1,969
88
182
22.375
0.777849
0.628238
0
0
0
0
0.043478
0
0
0
0
0.011364
0.277778
1
0.166667
false
0.055556
0.055556
0
0.333333
0.055556
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
0
0
0
2
c653a244302b5a5341cd24081ae62a5772fcf996
3,291
py
Python
src/mud/database/__init__.py
Martakan/YUMS
57c8c02eac70a62233f9a48d78becb1a25bed64e
[ "MIT" ]
null
null
null
src/mud/database/__init__.py
Martakan/YUMS
57c8c02eac70a62233f9a48d78becb1a25bed64e
[ "MIT" ]
null
null
null
src/mud/database/__init__.py
Martakan/YUMS
57c8c02eac70a62233f9a48d78becb1a25bed64e
[ "MIT" ]
null
null
null
""" A modular, runtime re-loadable database package! A thin wrapper around the Mongo DB library 'motor' with helper functions to abstract away some more complex database operations. """ import sys as __sys import importlib as __importlib import motor.motor_asyncio import asyncio # names of the python modules/packag...
43.88
112
0.679125
409
3,291
5.261614
0.447433
0.033457
0.013011
0.018587
0.021375
0
0
0
0
0
0
0.004277
0.218475
3,291
75
113
43.88
0.832426
0.522941
0
0
0
0
0.093991
0.01926
0
0
0
0.013333
0
1
0.037037
false
0
0.259259
0
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
1
0
0
0
0
0
0
0
1
0
0
2
c658055ce83117b157d548c23979f1dfab0a6ef7
879
py
Python
bdn/job/migrations/0002_auto_20180820_1444.py
OpenSourceUniversity/bdn
8e8d5b4d63ff4cb9bdf7c5f23d07aa3ad3dd0121
[ "MIT" ]
1
2019-01-18T19:57:25.000Z
2019-01-18T19:57:25.000Z
bdn/job/migrations/0002_auto_20180820_1444.py
OpenSourceUniversity/bdn
8e8d5b4d63ff4cb9bdf7c5f23d07aa3ad3dd0121
[ "MIT" ]
3
2019-06-23T17:26:24.000Z
2022-02-11T03:40:54.000Z
bdn/job/migrations/0002_auto_20180820_1444.py
OpenSourceUniversity/bdn
8e8d5b4d63ff4cb9bdf7c5f23d07aa3ad3dd0121
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-08-20 14:44 import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('job', '0002_auto_20180820_0901'), ] operations = [ migrations.AlterField( model_name='job'...
29.3
150
0.609784
93
879
5.666667
0.548387
0.113852
0.142315
0.165085
0.349146
0.349146
0.144213
0
0
0
0
0.055814
0.266212
879
29
151
30.310345
0.76124
0.051195
0
0.391304
1
0
0.097356
0.027644
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
0
0
0
2
c659e8a42adf9d9a4fef0726f9fe5a262dddce52
315
py
Python
odin-libraries/python/pyodin/odin_logger.py
elijah/odin
d181cd86b9909904ba97d8090098a4913c93a894
[ "MIT" ]
null
null
null
odin-libraries/python/pyodin/odin_logger.py
elijah/odin
d181cd86b9909904ba97d8090098a4913c93a894
[ "MIT" ]
null
null
null
odin-libraries/python/pyodin/odin_logger.py
elijah/odin
d181cd86b9909904ba97d8090098a4913c93a894
[ "MIT" ]
null
null
null
from os import environ from requests import post class OdinLogger: @classmethod def log(cls, type, desc, value, id, timestamp): response = post(url="http://localhost:3939/stats/add", data = type + "," + desc + "," + str(value) + "," + id + "," + str(timestamp)) return response.status_code
35
141
0.631746
39
315
5.076923
0.74359
0.080808
0
0
0
0
0
0
0
0
0
0.016129
0.212698
315
8
142
39.375
0.782258
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
d67132389d902c05a7f58bf458cc631ca552cd15
8,840
py
Python
grinpy/functions/degree.py
somacdivad/grinpy
597f9109b84f1c1aa8c8dd2ac5b572a05ba474de
[ "BSD-3-Clause" ]
12
2019-08-27T11:04:09.000Z
2022-03-03T07:38:42.000Z
grinpy/functions/degree.py
somacdivad/grinpy
597f9109b84f1c1aa8c8dd2ac5b572a05ba474de
[ "BSD-3-Clause" ]
18
2017-12-03T20:20:11.000Z
2019-07-07T18:04:54.000Z
grinpy/functions/degree.py
somacdivad/grinpy
597f9109b84f1c1aa8c8dd2ac5b572a05ba474de
[ "BSD-3-Clause" ]
5
2017-11-28T22:43:05.000Z
2021-07-02T08:48:43.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2017-2019 by # David Amos <somacdivad@gmail.com> # Randy Davila <davilar@uhd.edu> # BSD license. # # Authors: David Amos <somacdivad@gmail.com> # Randy Davila <davilar@uhd.edu> """Assorted degree related graph utilities. """ import collections from grinpy i...
21.82716
119
0.602149
1,233
8,840
4.160584
0.107056
0.0577
0.048148
0.065497
0.721832
0.696101
0.64152
0.597076
0.565302
0.559844
0
0.009305
0.282692
8,840
404
120
21.881188
0.799716
0.629638
0
0.126984
0
0
0.123506
0.070828
0
0
0
0
0
1
0.222222
false
0
0.047619
0
0.539683
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d6756e24400a0d5ab6ef197f69d25560e3bddcc6
1,516
py
Python
accounts/models.py
akahard2dj/DjangoBlackberry
4e732d8650dc7d61cd79033d5072d836707b411f
[ "MIT" ]
null
null
null
accounts/models.py
akahard2dj/DjangoBlackberry
4e732d8650dc7d61cd79033d5072d836707b411f
[ "MIT" ]
null
null
null
accounts/models.py
akahard2dj/DjangoBlackberry
4e732d8650dc7d61cd79033d5072d836707b411f
[ "MIT" ]
null
null
null
from django.conf import settings from django.db import models from django.db.models.signals import post_save from django.dispatch import receiver from django.contrib.auth.models import BaseUserManager, AbstractBaseUser from django.utils import timezone from rest_framework.authtoken.models import Token class BerryMan...
26.596491
72
0.711082
185
1,516
5.697297
0.437838
0.056926
0.02277
0.036053
0.049336
0
0
0
0
0
0
0.004146
0.204485
1,516
56
73
27.071429
0.869818
0
0
0.05
0
0
0.029683
0
0
0
0
0
0
1
0.15
false
0.075
0.175
0.075
0.675
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
d6885aadfed2400899af0bca8750fa5677a2b1f3
1,092
py
Python
start.py
AlexeyProskuryakov/vknotifier
be58008dec0c967718fdbd70da615c1d4966d5b5
[ "MIT" ]
null
null
null
start.py
AlexeyProskuryakov/vknotifier
be58008dec0c967718fdbd70da615c1d4966d5b5
[ "MIT" ]
null
null
null
start.py
AlexeyProskuryakov/vknotifier
be58008dec0c967718fdbd70da615c1d4966d5b5
[ "MIT" ]
null
null
null
# coding:utf-8 import ConfigParser import sys __author__ = '4ikist' from core.engine import NotificatonIniter, TalkHandler, VKEventHandler def load_config(prop_file): cfg = ConfigParser.RawConfigParser() cfg.read(prop_file) api_name = dict(cfg.items('main'))['api_name'] api_credential...
34.125
106
0.655678
128
1,092
5.296875
0.359375
0.144543
0.088496
0.199115
0.150442
0
0
0
0
0
0
0.010417
0.208791
1,092
32
107
34.125
0.774306
0.010989
0
0
0
0
0.107824
0
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.086957
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
1
0
0
0
0
0
0
0
0
2
d69f649c3051f59f0608bb308dcfe5aa1166fc96
37,194
py
Python
src/pudl/metadata/codes.py
rohithdesikan/pudl
0009afc2b31031f6cd50e60aec096421f7a9d3c7
[ "MIT" ]
null
null
null
src/pudl/metadata/codes.py
rohithdesikan/pudl
0009afc2b31031f6cd50e60aec096421f7a9d3c7
[ "MIT" ]
null
null
null
src/pudl/metadata/codes.py
rohithdesikan/pudl
0009afc2b31031f6cd50e60aec096421f7a9d3c7
[ "MIT" ]
null
null
null
"""Metadata for cleaning, re-encoding, and documenting coded data columns. These dictionaries are used to create Encoder instances. They contain the following keys: 'df': A dataframe associating short codes with long descriptions and other information. 'code_fixes': A dictionary mapping non-standard codes to canonical...
36.89881
649
0.37256
2,749
37,194
4.959258
0.265187
0.008069
0.005648
0.008069
0.234211
0.198416
0.166434
0.137167
0.126751
0.110834
0
0.010337
0.534414
37,194
1,007
650
36.935452
0.776924
0.011642
0
0.450902
0
0.034068
0.391876
0.018991
0
0
0
0
0
1
0
true
0
0.003006
0
0.003006
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
d6be2f5eba8bd47a690f4ce82ab27016a99d70c3
126
py
Python
Python/_16_Numpy/_02_Shape_and_Reshape/solution.py
avtomato/HackerRank
96f9cf770ac57d782bb05cccc23764a529bb27ae
[ "MIT" ]
null
null
null
Python/_16_Numpy/_02_Shape_and_Reshape/solution.py
avtomato/HackerRank
96f9cf770ac57d782bb05cccc23764a529bb27ae
[ "MIT" ]
null
null
null
Python/_16_Numpy/_02_Shape_and_Reshape/solution.py
avtomato/HackerRank
96f9cf770ac57d782bb05cccc23764a529bb27ae
[ "MIT" ]
2
2019-09-21T16:04:13.000Z
2020-03-25T09:07:47.000Z
import numpy arr = map(int, input().strip().split(' ')) d2_arr = numpy.array(list(arr)) d2_arr.shape = (3, 3) print(d2_arr)
15.75
42
0.650794
22
126
3.590909
0.636364
0.189873
0
0
0
0
0
0
0
0
0
0.045872
0.134921
126
7
43
18
0.678899
0
0
0
0
0
0.007937
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
0
0
2
d6e8aa9357aa361fc5853ac40c9c73710411ae7e
6,349
py
Python
telas/telaEditUser.py
JedersonLuz/BibWorld
c5638a57c35bdfcdaa6b66d7e2244e33afd5ae97
[ "MIT" ]
null
null
null
telas/telaEditUser.py
JedersonLuz/BibWorld
c5638a57c35bdfcdaa6b66d7e2244e33afd5ae97
[ "MIT" ]
null
null
null
telas/telaEditUser.py
JedersonLuz/BibWorld
c5638a57c35bdfcdaa6b66d7e2244e33afd5ae97
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'telas/telaEditUser.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QMessageBox import PyrebaseConnector as P...
41.769737
113
0.673807
694
6,349
6.059078
0.260807
0.055648
0.051367
0.058977
0.265398
0.173603
0.151724
0.151724
0.151724
0.151724
0
0.028594
0.206804
6,349
152
114
41.769737
0.806394
0.030241
0
0.192
1
0
0.093383
0.015788
0
0
0
0
0
1
0.04
false
0.072
0.032
0
0.08
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
d6e9fedf25e708c35ea19099181ea08ee2952f97
1,303
py
Python
tests/unit/testing/test_scenarios.py
thoughteer/edera
c4ddb5d8a25906c3bd773c91afb3260fc0b704f2
[ "MIT" ]
3
2018-11-27T15:45:19.000Z
2018-12-21T20:32:10.000Z
tests/unit/testing/test_scenarios.py
thoughteer/edera
c4ddb5d8a25906c3bd773c91afb3260fc0b704f2
[ "MIT" ]
18
2018-12-02T18:38:59.000Z
2020-02-05T22:09:37.000Z
tests/unit/testing/test_scenarios.py
thoughteer/edera
c4ddb5d8a25906c3bd773c91afb3260fc0b704f2
[ "MIT" ]
null
null
null
import pytest from edera import Condition from edera import Task from edera.exceptions import TargetVerificationError from edera.testing import DefaultScenario from edera.testing import ScenarioWithProvidedStubs def test_default_scenario_works_correctly(): class A(Task): def execute(self): ...
19.742424
56
0.603991
138
1,303
5.630435
0.289855
0.057915
0.061776
0.056628
0.241956
0.18018
0.079794
0
0
0
0
0
0.288565
1,303
65
57
20.046154
0.838188
0
0
0.465116
0
0
0
0
0
0
0
0
0.046512
1
0.139535
false
0.093023
0.139535
0.023256
0.55814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2