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
c2fa21376f4ea9c90a43a879dad95d4e499dca61
3,270
py
Python
topology/protocols.py
di-unipi-socc/arch-miner
702144699cf422f3ec710080231f5f8203017366
[ "MIT" ]
4
2021-11-10T09:11:44.000Z
2022-02-28T14:45:46.000Z
topology/protocols.py
di-unipi-socc/arch-miner
702144699cf422f3ec710080231f5f8203017366
[ "MIT" ]
null
null
null
topology/protocols.py
di-unipi-socc/arch-miner
702144699cf422f3ec710080231f5f8203017366
[ "MIT" ]
1
2021-11-10T09:12:16.000Z
2021-11-10T09:12:16.000Z
from .errors import NoInfoError import ipaddress class IP: def __init__(self, packet: dict): self.senderIP = ipaddress.ip_address(packet['ip.src']) self.receiverIP = ipaddress.ip_address(packet['ip.dst']) self.senderHost = packet['ip.src_host'] self.receiverHost = packet['ip.ds...
31.442308
185
0.604587
361
3,270
5.401662
0.224377
0.061538
0.028205
0.04359
0.205641
0.127179
0.051282
0
0
0
0
0.006321
0.274312
3,270
103
186
31.747573
0.815424
0.005505
0
0.15493
0
0
0.159077
0.065538
0
0
0
0
0
1
0.295775
false
0
0.028169
0.225352
0.619718
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
6c02a1dcb7bcf68f321fdff494bf41d5e3090339
2,250
py
Python
fairsearchdeltr/models.py
fair-search/fairsearchdeltr-python
5bc2e8f0bf24ecd492978474919f512d3c0b65e1
[ "Apache-2.0" ]
3
2019-10-08T16:17:45.000Z
2020-03-12T03:29:10.000Z
fairsearchdeltr/models.py
fair-search/fairsearchdeltr-python
5bc2e8f0bf24ecd492978474919f512d3c0b65e1
[ "Apache-2.0" ]
null
null
null
fairsearchdeltr/models.py
fair-search/fairsearchdeltr-python
5bc2e8f0bf24ecd492978474919f512d3c0b65e1
[ "Apache-2.0" ]
1
2021-05-19T08:07:21.000Z
2021-05-19T08:07:21.000Z
# -*- coding: utf-8 -*- """ fairsearchdeltr.models ~~~~~~~~~~~~~~~ This module contains the primary objects that power fairsearchdeltr. """ class TrainStep(object): """The :class:`TrainStep` object, which is a representation of the parameters in each step of the training. Contains a `timestamp`, `omega`, `om...
38.135593
116
0.638667
266
2,250
5.236842
0.308271
0.055994
0.030151
0.030151
0.340991
0.223259
0.223259
0.199569
0.199569
0.199569
0
0.003593
0.257778
2,250
59
117
38.135593
0.830539
0.494222
0
0.173913
0
0
0.072277
0.021782
0
0
0
0.016949
0
1
0.217391
false
0
0
0.086957
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
1
0
0
1
0
0
0
0
0
0
0
2
6c0e7459e10509e1b31e1610fff26016d0b0831c
571
py
Python
bulletin_board_bot/services/user_service.py
t3m8ch/bulletin-board-bot
c76dd041fdfc6de55f96cd88bc7cf16a2aae30a6
[ "MIT" ]
null
null
null
bulletin_board_bot/services/user_service.py
t3m8ch/bulletin-board-bot
c76dd041fdfc6de55f96cd88bc7cf16a2aae30a6
[ "MIT" ]
null
null
null
bulletin_board_bot/services/user_service.py
t3m8ch/bulletin-board-bot
c76dd041fdfc6de55f96cd88bc7cf16a2aae30a6
[ "MIT" ]
null
null
null
from abc import abstractmethod, ABC from bulletin_board_bot.models import AdModel from bulletin_board_bot.models.user import UserModel from bulletin_board_bot.services.base_service import BaseService class BaseUserService(BaseService, ABC): @abstractmethod async def register_user(self, telegram_id: int) -> ...
27.190476
81
0.763573
74
571
5.635135
0.405405
0.086331
0.122302
0.143885
0.330935
0.206235
0.206235
0.206235
0.206235
0
0
0
0.176883
571
20
82
28.55
0.887234
0
0
0.428571
0
0
0
0
0
0
0
0
0
1
0
true
0.214286
0.285714
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
6c103f567622f823c52e4cd49ce7211181ffdde5
6,538
py
Python
nimismies/models.py
kimvais/nimismies
47bdd7a9790dfc76b5a9402c0f9f888a83873be0
[ "MIT" ]
1
2018-06-25T19:31:16.000Z
2018-06-25T19:31:16.000Z
nimismies/models.py
kimvais/nimismies
47bdd7a9790dfc76b5a9402c0f9f888a83873be0
[ "MIT" ]
null
null
null
nimismies/models.py
kimvais/nimismies
47bdd7a9790dfc76b5a9402c0f9f888a83873be0
[ "MIT" ]
null
null
null
# # -*- coding: utf-8 -*- # # Copyright © 2013 Kimmo Parviainen-Jalanko <k@77.fi> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the right...
32.854271
82
0.665647
824
6,538
5.123786
0.293689
0.03316
0.03316
0.037897
0.343202
0.307674
0.238276
0.158219
0.158219
0.081004
0
0.015569
0.233711
6,538
198
83
33.020202
0.826946
0.182472
0
0.281481
0
0
0.051219
0.003969
0
0
0
0
0
1
0.162963
false
0.022222
0.044444
0.103704
0.577778
0.051852
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
6c2bf5a72cfc4cc3b0dda7408bf5305d5bbaaee1
71,585
py
Python
src/emuvim/test/unittests/test_openstack.py
PedroPCardoso/fogbed
11d9c8ce6ccd32ee71fbb77d719cc322dd9515da
[ "Apache-2.0" ]
null
null
null
src/emuvim/test/unittests/test_openstack.py
PedroPCardoso/fogbed
11d9c8ce6ccd32ee71fbb77d719cc322dd9515da
[ "Apache-2.0" ]
null
null
null
src/emuvim/test/unittests/test_openstack.py
PedroPCardoso/fogbed
11d9c8ce6ccd32ee71fbb77d719cc322dd9515da
[ "Apache-2.0" ]
null
null
null
""" Copyright (c) 2015 SONATA-NFV ALL RIGHTS RESERVED. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
61.079352
351
0.541524
6,608
71,585
5.789195
0.081265
0.018978
0.018821
0.021958
0.780813
0.758698
0.714573
0.597281
0.561025
0.53559
0
0.038447
0.163959
71,585
1,171
352
61.131512
0.600755
0.037228
0
0.545929
0
0.044885
0.389676
0.168113
0
0
0
0
0.23904
1
0.007307
false
0
0.006263
0
0.014614
0.397704
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
6c2eff3b4a9c98327585ed6129ba25d7436c202b
982
py
Python
03_Unit_3/Sprint3/Module2-consuming-data-from-an-api/app/elephant_insert.py
mark-morelos/my_DataScience_notes
2e05a3d77949cb8ccd9aac7c04cf7758d7b73d1c
[ "MIT" ]
null
null
null
03_Unit_3/Sprint3/Module2-consuming-data-from-an-api/app/elephant_insert.py
mark-morelos/my_DataScience_notes
2e05a3d77949cb8ccd9aac7c04cf7758d7b73d1c
[ "MIT" ]
null
null
null
03_Unit_3/Sprint3/Module2-consuming-data-from-an-api/app/elephant_insert.py
mark-morelos/my_DataScience_notes
2e05a3d77949cb8ccd9aac7c04cf7758d7b73d1c
[ "MIT" ]
null
null
null
# DOESN'T WORK WITH PG #import os #import pandas as pd #from dotenv import load_dotenv #import psycopg2 # #load_dotenv() # #DB_HOST = os.getenv("DB_HOST", default="OOPS") #DB_NAME = os.getenv("DB_NAME", default="OOPS") #DB_USER = os.getenv("DB_USER", default="OOPS") #DB_PASSWORD = os.getenv("DB_PASSWORD", default="OO...
29.757576
96
0.724033
150
982
4.56
0.48
0.046784
0.05848
0
0
0
0
0
0
0
0
0.005695
0.105906
982
32
97
30.6875
0.773349
0.933809
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
6c51dee98e88a8d981cdeafa80e89babc0cb0a21
691
py
Python
examples/mem_profile.py
chrhck/contagion
ea67c5db3fce02ddbd85142fcf545af948595a69
[ "MIT" ]
2
2020-10-08T10:23:47.000Z
2021-11-19T09:00:19.000Z
examples/mem_profile.py
chrhck/contagion
ea67c5db3fce02ddbd85142fcf545af948595a69
[ "MIT" ]
null
null
null
examples/mem_profile.py
chrhck/contagion
ea67c5db3fce02ddbd85142fcf545af948595a69
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import sys import pandas as pd import seaborn as sns import networkx as nx import yaml from networkx.algorithms import approximation as nx_approx from tqdm.notebook import tqdm from copy import deepcopy # Adding path to module sys.path.append("../") # picture path PICS...
23.827586
69
0.811867
100
691
5.49
0.54
0.071038
0
0
0
0
0
0
0
0
0
0
0.12301
691
28
70
24.678571
0.905941
0.070912
0
0
0
0
0.069182
0.051887
0
0
0
0
0
1
0
false
0
0.7
0
0.7
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
6c5a9a02bdebda618d324a7975dbbc767cc08e48
371
py
Python
pythonLearning/class.py
liusong-cn/python
f67933f0879021a595258e09c4cde5ca1f9f6aed
[ "Apache-2.0" ]
1
2019-11-12T13:38:54.000Z
2019-11-12T13:38:54.000Z
pythonLearning/class.py
liusong-cn/python
f67933f0879021a595258e09c4cde5ca1f9f6aed
[ "Apache-2.0" ]
null
null
null
pythonLearning/class.py
liusong-cn/python
f67933f0879021a595258e09c4cde5ca1f9f6aed
[ "Apache-2.0" ]
null
null
null
#可以继承父类,默认的父类为object,单继承 class Foo(object): version = 1.0 #self是类实例的引用,类似其他语言中的this def __init__(self, name = 'zhang'): self.name = name print('这个方法类似构造函数,但不同于其他语言,此处是类实例在创建后自动执行的第一个方法而已') def show(self): print(self.name) def addMe2Me3(self, x): print(str(x + x)) f...
21.823529
59
0.633423
46
371
5.021739
0.543478
0.103896
0
0
0
0
0
0
0
0
0
0.02439
0.226415
371
17
60
21.823529
0.780488
0.126685
0
0
0
0
0.145511
0.130031
0
0
0
0
0
1
0.25
false
0
0
0
0.416667
0.416667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
2
6c60d1efb15222619fa51cd7e19381c8bf695850
960
py
Python
pyairwatch/mdm/tags.py
jprichards/PyVMwareAirWatch
ac25185d1f6a001c9670d57d11a3047553f743a1
[ "MIT" ]
17
2018-03-19T05:52:37.000Z
2022-03-09T16:41:03.000Z
pyairwatch/mdm/tags.py
marshall-brown/PyVMwareAirWatch
ac25185d1f6a001c9670d57d11a3047553f743a1
[ "MIT" ]
2
2018-12-06T17:12:54.000Z
2019-08-27T09:57:13.000Z
pyairwatch/mdm/tags.py
marshall-brown/PyVMwareAirWatch
ac25185d1f6a001c9670d57d11a3047553f743a1
[ "MIT" ]
9
2018-04-02T18:42:51.000Z
2020-06-10T02:11:05.000Z
class Tags(object): """A class to manage various AirWatch device tag functionalities""" def __init__(self, client): self.client = client def get_id_by_name(self, name, og_id): # mdm/tags/search?name={name} response = self._get(path='/tags/search', params={'name':str(name), 'organiz...
45.714286
130
0.669792
129
960
4.891473
0.294574
0.063391
0.053883
0.053883
0.421553
0.421553
0.421553
0.421553
0.275753
0
0
0
0.189583
960
20
131
48
0.811054
0.176042
0
0.25
0
0
0.052903
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6c62129959a68d55c143f574207db30bb59790c9
5,811
py
Python
FakeNewsNetDataset/scraper.py
stavIatrop/Thesis-Fake-News-Detection
096fae9551ed836a1a03451ad6f32cf7f96218e2
[ "MIT" ]
9
2020-08-27T10:31:30.000Z
2022-02-16T15:32:32.000Z
FakeNewsNetDataset/scraper.py
stavIatrop/Thesis-Fake-News-Detection
096fae9551ed836a1a03451ad6f32cf7f96218e2
[ "MIT" ]
null
null
null
FakeNewsNetDataset/scraper.py
stavIatrop/Thesis-Fake-News-Detection
096fae9551ed836a1a03451ad6f32cf7f96218e2
[ "MIT" ]
2
2021-11-02T03:22:29.000Z
2022-02-03T14:18:09.000Z
import requests from bs4 import BeautifulSoup import pandas as pd list_art = list() list_text = list() list1 = [['id', 'text']] headers = {'user-agent': 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'} f = open('real_urls_vol2', "r") f2 = open('true_texts_vol2', "a") i = 1 for data in f: ...
42.727941
1,692
0.551024
775
5,811
4.095484
0.216774
0.091367
0.138626
0.180214
0.622558
0.496849
0.470384
0.408318
0.404537
0.404537
0
0.013266
0.247634
5,811
135
1,693
43.044444
0.712717
0.205989
0
0.534247
0
0.013699
0.292704
0.098078
0
0
0
0
0
1
0
false
0
0.041096
0
0.041096
0.041096
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6c65aa95bcf56bccfa67a8b0a7af75c77031eee1
1,771
py
Python
mj_envs/hand_manipulation_suite/__init__.py
Jendker/mj_envs
472d86974a891fc814702b75a6bdbd44780f2224
[ "Apache-2.0" ]
null
null
null
mj_envs/hand_manipulation_suite/__init__.py
Jendker/mj_envs
472d86974a891fc814702b75a6bdbd44780f2224
[ "Apache-2.0" ]
null
null
null
mj_envs/hand_manipulation_suite/__init__.py
Jendker/mj_envs
472d86974a891fc814702b75a6bdbd44780f2224
[ "Apache-2.0" ]
null
null
null
from gym.envs.registration import register from mjrl.envs.mujoco_env import MujocoEnv # Swing the door open register( id='door-v0', entry_point='mj_envs.hand_manipulation_suite:DoorEnvV0', max_episode_steps=200, ) from mj_envs.hand_manipulation_suite.door_v0 import DoorEnvV0 # Hammer a nail into the board...
30.016949
85
0.801242
250
1,771
5.368
0.232
0.062593
0.104322
0.229508
0.587183
0.587183
0.564083
0.510432
0.307004
0.23994
0
0.031593
0.124224
1,771
58
86
30.534483
0.833656
0.160926
0
0.295455
0
0
0.267253
0.213126
0
0
0
0
0
1
0
true
0
0.204545
0
0.204545
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
1
0
0
0
0
0
0
2
66687ee82078e35892dba2694bc97948c449f59c
1,887
py
Python
applicationfinder.py
KingCprey/applicationfinder
b6074e14d2b5ccac8163127baee80ef0d5414005
[ "MIT" ]
null
null
null
applicationfinder.py
KingCprey/applicationfinder
b6074e14d2b5ccac8163127baee80ef0d5414005
[ "MIT" ]
null
null
null
applicationfinder.py
KingCprey/applicationfinder
b6074e14d2b5ccac8163127baee80ef0d5414005
[ "MIT" ]
1
2020-11-21T18:57:00.000Z
2020-11-21T18:57:00.000Z
#!/usr/bin/env python3 import os import appcache,mimefinder application_dir="/usr/share/applications" cache_file=os.path.expanduser("~/.cache/") #listdir but returns absolute paths def ldirabs(dirpath):return [os.path.join(dirpath,f) for f in os.listdir(os.path.abspath(dirpath))] def get_desktop_files(): try: ...
35.603774
125
0.604663
273
1,887
4.03663
0.413919
0.087114
0.079855
0.019056
0.108893
0.08167
0.047187
0
0
0
0
0.005087
0.2708
1,887
52
126
36.288462
0.795785
0.206147
0
0.054054
0
0
0.071046
0.015416
0
0
0
0.019231
0
0
null
null
0
0.054054
null
null
0.027027
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
66902dc9f11bf7a2e68b40ee0964ecbab45593ae
265
py
Python
tests/example_app/example/app.py
karmingc/flask-pg-extras
4a3c386324d4290feae95332e31557b3ef4b582f
[ "MIT" ]
31
2020-08-11T16:59:59.000Z
2022-03-19T20:25:54.000Z
tests/example_app/example/app.py
karmingc/flask-pg-extras
4a3c386324d4290feae95332e31557b3ef4b582f
[ "MIT" ]
1
2022-03-24T18:06:11.000Z
2022-03-28T23:53:53.000Z
tests/example_app/example/app.py
karmingc/flask-pg-extras
4a3c386324d4290feae95332e31557b3ef4b582f
[ "MIT" ]
5
2020-08-17T21:44:25.000Z
2022-03-24T15:06:10.000Z
from flask import Flask from flask_pg_extras import FlaskPGExtras flask_pg_extras = FlaskPGExtras() def create_app(): app = Flask(__name__) flask_pg_extras.init_app(app) @app.route('/') def index(): return 'Hello world' return app
15.588235
41
0.686792
35
265
4.857143
0.457143
0.123529
0.229412
0
0
0
0
0
0
0
0
0
0.222642
265
16
42
16.5625
0.825243
0
0
0
0
0
0.045283
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
0.6
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
669133f7f7a68da4004ce0c4b51a2d54f481ead7
756
py
Python
app/backend/wells/migrations/0012_load_water_quality_codes.py
stephenhillier/gwells
235d35f1f40dd845f8fecd0d7c3371c4564567c6
[ "Apache-2.0" ]
null
null
null
app/backend/wells/migrations/0012_load_water_quality_codes.py
stephenhillier/gwells
235d35f1f40dd845f8fecd0d7c3371c4564567c6
[ "Apache-2.0" ]
null
null
null
app/backend/wells/migrations/0012_load_water_quality_codes.py
stephenhillier/gwells
235d35f1f40dd845f8fecd0d7c3371c4564567c6
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-08-14 17:48 from __future__ import unicode_literals from django.db import migrations import json from io import open import os from gwells.codes import CodeFixture from wells.models import WaterQualityCharacteristic, WaterQualityColour def water_quality_c...
26.068966
116
0.752646
96
756
5.65625
0.59375
0.088398
0.12523
0
0
0
0
0
0
0
0
0.059282
0.152116
756
28
117
27
0.787832
0.09127
0
0
1
0
0.083333
0.076023
0
0
0
0
0
1
0.055556
false
0
0.388889
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
66987de6cd50b09efbfd3c52eb2c6a78cadf4458
1,860
py
Python
cloudapi_digitalocean/digitaloceanobjects/account.py
zorani/cloudapi_digitalocean
670da3b66fe343553194dd5f39a8209fd6012802
[ "MIT" ]
null
null
null
cloudapi_digitalocean/digitaloceanobjects/account.py
zorani/cloudapi_digitalocean
670da3b66fe343553194dd5f39a8209fd6012802
[ "MIT" ]
null
null
null
cloudapi_digitalocean/digitaloceanobjects/account.py
zorani/cloudapi_digitalocean
670da3b66fe343553194dd5f39a8209fd6012802
[ "MIT" ]
null
null
null
from __future__ import annotations from dataclasses import dataclass, field from requests.models import Response from ..digitaloceanapi.accounts import Accounts from ..common.cloudapiexceptions import * import json import threading import time import re @dataclass class AccountAttributes: droplet_limit: int = N...
27.352941
75
0.713441
208
1,860
6.129808
0.259615
0.105882
0.155294
0.138039
0.317647
0.317647
0.317647
0.281569
0
0
0
0.00068
0.209677
1,860
67
76
27.761194
0.866667
0
0
0
0
0
0.006452
0
0
0
0
0
0
1
0.22449
false
0
0.183673
0.163265
0.816327
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
669b5de5cbe9e2654a30b9f2775dba773e4cd5a7
837
py
Python
generatorpass/ext/site/main.py
es99/password-generator
edbbfcebfd5f083de88c1a4de9f1f67ff0f1010a
[ "Unlicense" ]
null
null
null
generatorpass/ext/site/main.py
es99/password-generator
edbbfcebfd5f083de88c1a4de9f1f67ff0f1010a
[ "Unlicense" ]
null
null
null
generatorpass/ext/site/main.py
es99/password-generator
edbbfcebfd5f083de88c1a4de9f1f67ff0f1010a
[ "Unlicense" ]
null
null
null
from flask import request, render_template from flask import Blueprint from generatorpass.ext.gerador import generate from generatorpass.ext.db.models import Senhas bp = Blueprint("site", __name__) @bp.route('/', methods=['GET', 'POST']) def index(): info = None if request.method == 'POST': conta = re...
27.9
54
0.657109
106
837
5.103774
0.490566
0.103512
0.110906
0
0
0
0
0
0
0
0
0
0.205496
837
29
55
28.862069
0.813534
0
0
0
1
0
0.169654
0
0
0
0
0
0
1
0.125
false
0.083333
0.166667
0.041667
0.416667
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
669fcc7aece753467906f215e6ce84a6ef99228f
1,089
py
Python
tests/test_openhab/test_plugins/test_thing/test_filter.py
DerOetzi/HABApp
a123fbfa9928ebb3cda9a84f6984dcba593c8236
[ "Apache-2.0" ]
44
2018-12-13T08:46:44.000Z
2022-03-07T03:23:21.000Z
tests/test_openhab/test_plugins/test_thing/test_filter.py
DerOetzi/HABApp
a123fbfa9928ebb3cda9a84f6984dcba593c8236
[ "Apache-2.0" ]
156
2019-03-02T20:53:31.000Z
2022-03-23T13:13:58.000Z
tests/test_openhab/test_plugins/test_thing/test_filter.py
DerOetzi/HABApp
a123fbfa9928ebb3cda9a84f6984dcba593c8236
[ "Apache-2.0" ]
18
2019-03-08T07:13:21.000Z
2022-03-22T19:52:31.000Z
from HABApp.openhab.connection_logic.plugin_things.filters import ThingFilter, apply_filters def test_thing_filter(): f = ThingFilter('thing_label', 'asdfasdf') assert f.matches({'label': 'ASDFASDF'}, True) assert f.matches({'label': 'ASDFASDF'}, False) f = ThingFilter('thing_label', r'\d+') asse...
43.56
117
0.628099
136
1,089
4.889706
0.257353
0.168421
0.221053
0.114286
0.709774
0.572932
0.345865
0.345865
0.345865
0.345865
0
0.023555
0.142332
1,089
24
118
45.375
0.688437
0
0
0
0
0
0.223141
0
0
0
0
0
0.588235
1
0.117647
false
0
0.058824
0
0.176471
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
1
0
0
0
0
0
0
0
0
0
2
66bfb997a0732583e64fe7173567367bb5963be7
970
py
Python
test/test_trie.py
paolodelia99/Python-C-Algorithms
9113ad566e4e659c1f16135c2d3abd3a4c57a46e
[ "MIT" ]
2
2021-02-13T10:58:58.000Z
2021-03-16T09:56:01.000Z
test/test_trie.py
paolodelia99/Python-C-Algorithms
9113ad566e4e659c1f16135c2d3abd3a4c57a46e
[ "MIT" ]
null
null
null
test/test_trie.py
paolodelia99/Python-C-Algorithms
9113ad566e4e659c1f16135c2d3abd3a4c57a46e
[ "MIT" ]
null
null
null
import nose import trie Trie = trie.Trie def test_trie_101(): t = Trie() nose.tools.assert_is_instance(t, trie.Trie) def test_trie_num_entries(): t = Trie() nose.tools.assert_equal(t.num_entries(), 0) def test_trie_append(): t = Trie() t.append("ci", 2) nose.tools.assert_equal(t.num_e...
20.208333
48
0.615464
160
970
3.55625
0.2
0.123023
0.237258
0.281195
0.704745
0.594025
0.499121
0.390158
0.28471
0.28471
0
0.047558
0.197938
970
48
48
20.208333
0.683805
0
0
0.4
0
0
0.027806
0
0
0
0
0
0.257143
1
0.171429
false
0
0.057143
0
0.228571
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
66cb3adf0d524f2655f2e19b20eca3615106fd58
225
py
Python
Reddit-scripts/GetRedditLink/main.py
cheeseywhiz/cheeseywhiz
51f6651ddbaeebd14d9ce77776bc4cf3a95511c4
[ "MIT" ]
null
null
null
Reddit-scripts/GetRedditLink/main.py
cheeseywhiz/cheeseywhiz
51f6651ddbaeebd14d9ce77776bc4cf3a95511c4
[ "MIT" ]
null
null
null
Reddit-scripts/GetRedditLink/main.py
cheeseywhiz/cheeseywhiz
51f6651ddbaeebd14d9ce77776bc4cf3a95511c4
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys from PyQt5 import QtWidgets from Dialogs import Input def main(): app = QtWidgets.QApplication([]) Input.InputDialog() sys.exit(app.exec_()) if __name__ == '__main__': main()
15
36
0.675556
28
225
5.107143
0.678571
0
0
0
0
0
0
0
0
0
0
0.010989
0.191111
225
14
37
16.071429
0.774725
0.075556
0
0
0
0
0.038647
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
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
66d0521bd0bf72697556d30f3c6128855a5bb584
799
py
Python
cms/forms.py
danizavtz/sisimob
d1692cb59d1d761560aeaca98f9185f4f3b91040
[ "MIT" ]
null
null
null
cms/forms.py
danizavtz/sisimob
d1692cb59d1d761560aeaca98f9185f4f3b91040
[ "MIT" ]
null
null
null
cms/forms.py
danizavtz/sisimob
d1692cb59d1d761560aeaca98f9185f4f3b91040
[ "MIT" ]
null
null
null
from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.models import User from .models import Imovel from django import forms from django.utils.html import strip_tags class AuthenticateForm(AuthenticationForm): username = forms.CharField(widget=forms.widgets.TextInput(attrs={'placeholder...
38.047619
98
0.715895
96
799
5.833333
0.510417
0.071429
0.060714
0.075
0.114286
0
0
0
0
0
0
0
0.162703
799
21
99
38.047619
0.83707
0
0
0
0
0
0.07875
0
0
0
0
0
0
1
0.055556
false
0.055556
0.277778
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
66d63bb5e9cd306acdbb844fc662ce33baf6ae9d
507
py
Python
harris_corner_detector_plot.py
mariekevanbrussel/Harris_Corner_Detector
6a299bcb45470a35bb13716eaebfec091cc694f7
[ "MIT" ]
null
null
null
harris_corner_detector_plot.py
mariekevanbrussel/Harris_Corner_Detector
6a299bcb45470a35bb13716eaebfec091cc694f7
[ "MIT" ]
null
null
null
harris_corner_detector_plot.py
mariekevanbrussel/Harris_Corner_Detector
6a299bcb45470a35bb13716eaebfec091cc694f7
[ "MIT" ]
null
null
null
#%% import cv2 import numpy as np from scipy.signal import convolve2d from harris_corner_detector import harris_corner_detector def harris_corner_detector_plot(img_color_orig, thresh, sigma=1, window_size=5): img_color = img_color_orig.copy() Points = harris_corner_detector(img_color, thresh, sigma, window_si...
23.045455
80
0.717949
76
507
4.539474
0.460526
0.13913
0.231884
0
0
0
0
0
0
0
0
0.03423
0.193294
507
21
81
24.142857
0.809291
0.015779
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
66dec5d4537c3a2a5a813aabc936ad12573196fe
884
py
Python
src/fl_simulation/server/aggregation/multi_model_aggregator/aggregator_factory.py
microsoft/fl-simulation
d177d329c82559c7efe82deae8dea8f9baa49495
[ "MIT" ]
5
2021-12-14T02:21:53.000Z
2021-12-26T07:45:13.000Z
src/fl_simulation/server/aggregation/multi_model_aggregator/aggregator_factory.py
microsoft/fl-simulation
d177d329c82559c7efe82deae8dea8f9baa49495
[ "MIT" ]
1
2022-01-04T04:51:20.000Z
2022-01-04T04:51:20.000Z
src/fl_simulation/server/aggregation/multi_model_aggregator/aggregator_factory.py
microsoft/fl-simulation
d177d329c82559c7efe82deae8dea8f9baa49495
[ "MIT" ]
null
null
null
"""Aggregator factory.""" from typing import Any, Generic import torch import torch.nn as nn from typing_extensions import Protocol from ._types import T_aggregator class AggregatorFactory(Protocol, Generic[T_aggregator]): """An Aggregator factory. Used to instansiate a new aggregator. Works with exis...
24.555556
110
0.649321
97
884
5.752577
0.463918
0.078853
0.091398
0.089606
0
0
0
0
0
0
0
0
0.25
884
35
111
25.257143
0.841629
0.466063
0
0
0
0
0.007853
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.7
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
dd055670a60b4dea5bd55fd87990e16c258a6ded
8,838
py
Python
rolling/action/base.py
coolkat64/rolling
4c3ee2401128e993a52ac9b52cdbd32e17728129
[ "MIT" ]
null
null
null
rolling/action/base.py
coolkat64/rolling
4c3ee2401128e993a52ac9b52cdbd32e17728129
[ "MIT" ]
null
null
null
rolling/action/base.py
coolkat64/rolling
4c3ee2401128e993a52ac9b52cdbd32e17728129
[ "MIT" ]
null
null
null
# coding: utf-8 import abc import dataclasses import typing from urllib.parse import urlencode import serpyco from guilang.description import Description from rolling.model.event import ZoneEvent from rolling.model.event import ZoneEventData from rolling.rolling_types import ActionType from rolling.server.controller....
29.264901
100
0.695293
993
8,838
5.917422
0.106747
0.121341
0.119469
0.044929
0.755106
0.735194
0.697754
0.672907
0.625936
0.572668
0
0.000432
0.213397
8,838
301
101
29.362126
0.844793
0.007581
0
0.622951
0
0
0.077741
0.020578
0
0
0
0
0
1
0.143443
false
0.090164
0.077869
0.02459
0.327869
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
dd0806cc6929af588554bc76afba1cb03d0da903
635
py
Python
djmo/tests/project_for_tests/apps/soccer/models.py
davidegriffon/djmo
853212471e59a0fa49d22f17cf57caeb552783f8
[ "MIT" ]
5
2015-12-09T08:13:03.000Z
2019-05-12T07:14:25.000Z
djmo/tests/project_for_tests/apps/soccer/models.py
davidegriffon/djmo
853212471e59a0fa49d22f17cf57caeb552783f8
[ "MIT" ]
null
null
null
djmo/tests/project_for_tests/apps/soccer/models.py
davidegriffon/djmo
853212471e59a0fa49d22f17cf57caeb552783f8
[ "MIT" ]
null
null
null
""" Only for test purpose """ from django.db import models class SoccerTeam(models.Model): name = models.CharField(max_length=50) number_of_supporters = models.IntegerField() @property def all_players(self): return SoccerPlayer.objects.filter(team=self) def __str__(self): return ...
25.4
79
0.696063
77
635
5.506494
0.467532
0.070755
0.134434
0.15566
0.212264
0.212264
0
0
0
0
0
0.011472
0.176378
635
25
79
25.4
0.799235
0.033071
0
0.133333
0
0
0.06425
0
0
0
0
0
0
1
0.2
false
0
0.066667
0.2
0.933333
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
dd0b52fd3540b89515ea68476efa56f9b21e2667
295
py
Python
app/users/tests/utils.py
noxITRS/family-budget
987621256f3e8290ae58854d2ba22db8be3e73d3
[ "MIT" ]
null
null
null
app/users/tests/utils.py
noxITRS/family-budget
987621256f3e8290ae58854d2ba22db8be3e73d3
[ "MIT" ]
null
null
null
app/users/tests/utils.py
noxITRS/family-budget
987621256f3e8290ae58854d2ba22db8be3e73d3
[ "MIT" ]
null
null
null
from unittest.mock import ANY def get_expected_user(item, **kwargs): return { "id": kwargs.get("id", item.id), "username": kwargs.get("username", item.username), "email": kwargs.get("email", item.email), "date_joined": kwargs.get("date_joined", ANY), }
26.818182
58
0.60678
37
295
4.72973
0.459459
0.205714
0
0
0
0
0
0
0
0
0
0
0.216949
295
10
59
29.5
0.757576
0
0
0
0
0
0.176271
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
dd1c7ac3b7fe58bc5fe19b4a35bfdf6242335a67
280
py
Python
math/abstract-algebra/1.py
admariner/playground
02a3104472c8fa3589fe87f7265e70c61d5728c7
[ "MIT" ]
3
2021-06-12T04:42:32.000Z
2021-06-24T13:57:38.000Z
math/abstract-algebra/1.py
admariner/playground
02a3104472c8fa3589fe87f7265e70c61d5728c7
[ "MIT" ]
null
null
null
math/abstract-algebra/1.py
admariner/playground
02a3104472c8fa3589fe87f7265e70c61d5728c7
[ "MIT" ]
1
2021-08-19T14:57:17.000Z
2021-08-19T14:57:17.000Z
# Semigroup = non-empty set with an associative binary operation # using addition print((2 + 3) + 4 == 2 + (3 + 4) == 9) # We get a property of closure, because the number we get is still a number of the same set, # natural numbers, including 0 # (2 + 3) + 4 # 2 + (3 + 4) # 9
23.333333
92
0.635714
49
280
3.632653
0.653061
0.044944
0.067416
0.044944
0.078652
0.078652
0.078652
0
0
0
0
0.070755
0.242857
280
11
93
25.454545
0.768868
0.796429
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
2
dd2f9b1bc293903b0a611273338d842fb70f439e
410
py
Python
chap03/exercise/Loader.py
viekie/basic_deeplearning
6c9e55cd621504da3d7ea1627e6783c9819a1916
[ "Apache-2.0" ]
3
2017-05-23T08:11:44.000Z
2017-09-25T11:17:57.000Z
chap03/exercise/Loader.py
viekie/basic_deeplearning
6c9e55cd621504da3d7ea1627e6783c9819a1916
[ "Apache-2.0" ]
null
null
null
chap03/exercise/Loader.py
viekie/basic_deeplearning
6c9e55cd621504da3d7ea1627e6783c9819a1916
[ "Apache-2.0" ]
1
2017-06-19T03:36:40.000Z
2017-06-19T03:36:40.000Z
#!/usr/bin/env python # -*- coding:utf8 -*- # Power by viekie. 2017-05-19 15:36:33 import struct class Loader(object): def __init__(self, path, count): self.path = path self.count = count def get_file_content(self): with open(self.path, 'rb') as f: content = f.read() ...
21.578947
42
0.587805
59
410
3.966102
0.694915
0.102564
0
0
0
0
0
0
0
0
0
0.053691
0.273171
410
18
43
22.777778
0.731544
0.187805
0
0
0
0
0.009091
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
dd304c144be6ea52163169a230cb7429ebc3d520
337
py
Python
30_day_leetcoding_challenge/2020_11/03-Consecutive_Characters.py
QuenLo/leecode
ce861103949510dc54fd5cb336bd992c40748de2
[ "MIT" ]
6
2018-06-13T06:48:42.000Z
2020-11-25T10:48:13.000Z
30_day_leetcoding_challenge/2020_11/03-Consecutive_Characters.py
QuenLo/leecode
ce861103949510dc54fd5cb336bd992c40748de2
[ "MIT" ]
null
null
null
30_day_leetcoding_challenge/2020_11/03-Consecutive_Characters.py
QuenLo/leecode
ce861103949510dc54fd5cb336bd992c40748de2
[ "MIT" ]
null
null
null
class Solution: def maxPower(self, s: str) -> int: power = [] i, temp = 1, "" for s_char in s: if s_char == temp: i += 1 else: power.append( i ) i = 1 temp = s_char power.append(i) r...
21.0625
38
0.373887
38
337
3.236842
0.526316
0.121951
0.195122
0
0
0
0
0
0
0
0
0.018868
0.52819
337
15
39
22.466667
0.754717
0
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dd34ed621068d713f8d551cffc83faae660649cc
2,637
py
Python
tutorials/python/decorators2020/decorators.py
joamatab/install_new_computer
92080adc4bdd693bbd07c19e696a2a6cae8bb8f8
[ "MIT" ]
3
2019-09-30T22:33:45.000Z
2021-06-02T03:01:55.000Z
tutorials/python/decorators2020/decorators.py
joamatab/install_new_computer
92080adc4bdd693bbd07c19e696a2a6cae8bb8f8
[ "MIT" ]
null
null
null
tutorials/python/decorators2020/decorators.py
joamatab/install_new_computer
92080adc4bdd693bbd07c19e696a2a6cae8bb8f8
[ "MIT" ]
1
2019-12-27T11:19:36.000Z
2019-12-27T11:19:36.000Z
import functools import time REGISTERED = {} def register(func): REGISTERED[func.__name__] = func return func def timer(func): """ template for decorators """ @functools.wraps(func) def _timer(*args, **kwargs): t0 = time.perf_counter() value = func(*args, **kwargs) t1 =...
20.928571
67
0.589306
325
2,637
4.52
0.236923
0.088496
0.057182
0.071477
0.281824
0.261402
0.190606
0.164738
0.164738
0.096664
0
0.008524
0.288206
2,637
125
68
21.096
0.774108
0.122867
0
0.328571
0
0
0.058772
0.02563
0
0
0
0
0
1
0.242857
false
0
0.028571
0.014286
0.528571
0.057143
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
dd4ff723cfd9e94008f392b049f7cd0a5d450c66
6,608
py
Python
convert_tf2npu/conver_by_ast.py
Judithsq/tensorflow
82507eb26ab120c02bf217610975754100686970
[ "Apache-2.0" ]
null
null
null
convert_tf2npu/conver_by_ast.py
Judithsq/tensorflow
82507eb26ab120c02bf217610975754100686970
[ "Apache-2.0" ]
1
2021-04-10T08:28:59.000Z
2021-06-15T01:46:05.000Z
convert_tf2npu/conver_by_ast.py
Judithsq/tensorflow
82507eb26ab120c02bf217610975754100686970
[ "Apache-2.0" ]
1
2021-04-10T07:51:47.000Z
2021-04-10T07:51:47.000Z
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
42.909091
159
0.71368
935
6,608
4.720856
0.189305
0.063435
0.044857
0.069325
0.527866
0.414363
0.308111
0.184413
0.142728
0.062755
0
0.003561
0.192494
6,608
154
160
42.909091
0.823651
0.120914
0
0.145161
0
0
0.123101
0.069061
0
0
0
0
0
1
0.064516
false
0
0.354839
0
0.532258
0.008065
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
dd500cc19d38d536b493d29c56a7e61833c9fba0
124
py
Python
MUL.py
ritwik15416/SPOJ-Classical-Problems
128c491afd6f0cec4d616e1f3cb784389101826b
[ "MIT" ]
null
null
null
MUL.py
ritwik15416/SPOJ-Classical-Problems
128c491afd6f0cec4d616e1f3cb784389101826b
[ "MIT" ]
null
null
null
MUL.py
ritwik15416/SPOJ-Classical-Problems
128c491afd6f0cec4d616e1f3cb784389101826b
[ "MIT" ]
null
null
null
# Used Python for handling large integers for _ in range(int(input())): a,b = list(map(int,input().split())) print(a*b)
20.666667
41
0.66129
21
124
3.857143
0.761905
0.197531
0
0
0
0
0
0
0
0
0
0
0.153226
124
5
42
24.8
0.771429
0.314516
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dd528a57669cef77ac7a00f0db44093564eeadd2
311
py
Python
Programmers/[cutz]2016.py
cutz-j/AlgorithmStudy
de0f81220e29bd5e109d174800f507b12a3bee36
[ "MIT" ]
3
2019-11-26T14:31:01.000Z
2020-01-10T18:19:46.000Z
Programmers/[cutz]2016.py
cutz-j/AlgorithmStudy
de0f81220e29bd5e109d174800f507b12a3bee36
[ "MIT" ]
null
null
null
Programmers/[cutz]2016.py
cutz-j/AlgorithmStudy
de0f81220e29bd5e109d174800f507b12a3bee36
[ "MIT" ]
null
null
null
def solution(a, b): answer = '' month = {0:0, 1:31, 2:29, 3:31, 4:30, 5:31, 6:30, 7:31, 8:31, 9:30, 10:31, 11:30, 12:31} day = {1:'FRI',2:'SAT',3:'SUN', 4:'MON',5:'TUE',6:'WED', 0:'THU'} d = 0 for i in range(0, a): d += month[i] d += b answer = day[(d % 7)] return answer
31.1
92
0.459807
66
311
2.166667
0.545455
0.097902
0
0
0
0
0
0
0
0
0
0.226667
0.276527
311
10
93
31.1
0.408889
0
0
0
0
0
0.067308
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
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
dd55138352fcba509556e05eefd4de0090ed8535
953
py
Python
src/matchingframework/scores/clusters.py
quoctoanpk2511/matching-framework
03975cadfd67aa3d24f3a9ab83558633243d526d
[ "MIT" ]
null
null
null
src/matchingframework/scores/clusters.py
quoctoanpk2511/matching-framework
03975cadfd67aa3d24f3a9ab83558633243d526d
[ "MIT" ]
null
null
null
src/matchingframework/scores/clusters.py
quoctoanpk2511/matching-framework
03975cadfd67aa3d24f3a9ab83558633243d526d
[ "MIT" ]
null
null
null
import abc class Clustering: def add_matcher(self, matcher): """ Add the match object on the Clustering. Args: matcher: matchingframework.match.matchers.Matcher Returns: None """ self.matcher = matcher """The matcher object""" @abc.abstr...
24.435897
73
0.60021
107
953
5.17757
0.392523
0.138989
0.057762
0.072202
0.162455
0.097473
0
0
0
0
0
0
0.294858
953
38
74
25.078947
0.824405
0.231899
0
0
0
0
0.066102
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0
0.538462
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
dd5b41794980885802ed9a4901457028e14e12e1
512
py
Python
Conteudo das Aulas/084/8rainhas.py
cerberus707/lab-python
ebba3c9cde873d70d4bb61084f79ce30b7f9e047
[ "Apache-2.0" ]
null
null
null
Conteudo das Aulas/084/8rainhas.py
cerberus707/lab-python
ebba3c9cde873d70d4bb61084f79ce30b7f9e047
[ "Apache-2.0" ]
null
null
null
Conteudo das Aulas/084/8rainhas.py
cerberus707/lab-python
ebba3c9cde873d70d4bb61084f79ce30b7f9e047
[ "Apache-2.0" ]
null
null
null
""" Você deve resolver o clássico exercício das 8 rainhas Nele o usuário lhe passa o tamanho do tabuleiro n (lembrar que tabuleiros são quadrados então o usuário só precisa lhe passar um inteiro) e você deve gerar uma todas as distribuições de n rainhas neste tabuleiro e imprimi-las de uma forma adequada. Veja o livro...
32
55
0.794922
88
512
4.625
0.738636
0.039312
0
0
0
0
0
0
0
0
0
0.002375
0.177734
512
15
56
34.133333
0.964371
0.982422
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
dd5c98849c8f5e07ef866d7cb464355449c46746
1,473
py
Python
code/visualisation/plot2d.py
yidanliu-psy/final_project
2fadf3687ec1a47ca9920a05b32c231c0ba23752
[ "MIT" ]
3
2021-01-30T08:01:41.000Z
2021-05-13T14:43:05.000Z
code/visualisation/plot2d.py
yidanliu-psy/GameVis
2fadf3687ec1a47ca9920a05b32c231c0ba23752
[ "MIT" ]
1
2020-08-25T01:58:14.000Z
2020-09-09T01:47:09.000Z
code/visualisation/plot2d.py
yidanliu-psy/GameVis
2fadf3687ec1a47ca9920a05b32c231c0ba23752
[ "MIT" ]
1
2020-08-16T21:54:50.000Z
2020-08-16T21:54:50.000Z
# plot 2d 2rd-order regression import matplotlib.pyplot as plt import numpy as np I = np.arange(4.40990640657, 58.51715740979401, 0.1) # (min, max, step) I_coef_list = [ [-0.13927776461608068, 0.002038919337462459, 2.3484253283211487], # doubles [-0.09850865867608666, 0.001429693439506745, 1.673346834786426],...
29.46
97
0.698574
199
1,473
5.080402
0.492462
0.063304
0.035608
0
0
0
0
0
0
0
0
0.405956
0.133741
1,473
49
98
30.061224
0.386364
0.098439
0
0
0
0
0.035034
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
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
dd6b89f17c431e5b6b50bef3d69de51b6790cd10
8,052
py
Python
int-tests/test_server.py
manimaul/xio
cd3e24fa61f0d4bd2a3582077071ea9f0218a5fe
[ "Apache-2.0" ]
40
2016-08-18T21:09:50.000Z
2022-01-26T11:38:19.000Z
int-tests/test_server.py
manimaul/xio
cd3e24fa61f0d4bd2a3582077071ea9f0218a5fe
[ "Apache-2.0" ]
78
2015-01-27T05:45:46.000Z
2021-03-31T18:47:13.000Z
int-tests/test_server.py
manimaul/xio
cd3e24fa61f0d4bd2a3582077071ea9f0218a5fe
[ "Apache-2.0" ]
29
2015-10-09T16:52:37.000Z
2019-04-10T01:07:44.000Z
import os.path as path import unittest from unittest import TestCase from server_controller import Server, Initializer, module_dir from unsafe_client import http_get, http_post, Response back_init = Initializer('int-test-backend-server') front_init = Initializer('int-test-proxy-server') back_end = None front_end = No...
34.55794
123
0.65996
1,055
8,052
4.860664
0.109953
0.048362
0.067863
0.087363
0.707098
0.703588
0.697933
0.691303
0.676677
0.667512
0
0.027358
0.169275
8,052
232
124
34.706897
0.739273
0.011798
0
0.603448
0
0
0.179471
0.008942
0
0
0
0
0.034483
1
0.143678
false
0
0.028736
0
0.206897
0.028736
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
dd7fe2505156aff13677bf728abddadd6a2cd4aa
212
py
Python
src/platform/tomcat/fingerprints/Tomcat33.py
0x27/clusterd
0f04a4955c61aa523274e9ae35d750f4339b1e59
[ "MIT" ]
539
2015-01-08T23:59:32.000Z
2022-03-29T17:53:02.000Z
src/platform/tomcat/fingerprints/Tomcat33.py
M31MOTH/clusterd
d190b2cbaa93820e928a7ce5471c661d4559fb7c
[ "MIT" ]
21
2015-01-17T21:51:21.000Z
2019-09-20T09:23:18.000Z
src/platform/tomcat/fingerprints/Tomcat33.py
M31MOTH/clusterd
d190b2cbaa93820e928a7ce5471c661d4559fb7c
[ "MIT" ]
192
2015-01-26T20:44:14.000Z
2021-12-22T01:39:50.000Z
from src.platform.tomcat.interfaces import AppInterface class FPrint(AppInterface): def __init__(self): super(FPrint, self).__init__() self.version = "3.3" self.uri = "/doc/readme"
21.2
55
0.65566
25
212
5.24
0.72
0.122137
0
0
0
0
0
0
0
0
0
0.012121
0.221698
212
9
56
23.555556
0.781818
0
0
0
0
0
0.066038
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dd839bedadd3f904f4462a19bbb54565bde22dd2
539
py
Python
frontend/maBlog/models.py
rishirajpurohit/Angular2withDjango-python
3b293ae62fd671bd352c045f4876d735e36fcd4e
[ "MIT" ]
null
null
null
frontend/maBlog/models.py
rishirajpurohit/Angular2withDjango-python
3b293ae62fd671bd352c045f4876d735e36fcd4e
[ "MIT" ]
null
null
null
frontend/maBlog/models.py
rishirajpurohit/Angular2withDjango-python
3b293ae62fd671bd352c045f4876d735e36fcd4e
[ "MIT" ]
null
null
null
from django.db import models # Cnreate your models here. class posts(models.Model): post = models.CharField(max_length=200) summary = models.CharField(max_length=50) author = models.CharField(max_length=50) date = models.DateTimeField('date published') title = models.CharField(max_length=50) def __str__(self):...
20.730769
46
0.706865
74
539
5.013514
0.405405
0.161725
0.19407
0.25876
0.210243
0
0
0
0
0
0
0.019824
0.157699
539
25
47
21.56
0.797357
0.046382
0
0
0
0
0.074803
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0.058824
0.647059
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
dd897381a3f20b3dfbaa0e11129a61ca25945c2c
86
py
Python
snakeflake/__init__.py
Roadcrosser/snakeflake
699f48f8a415721dde5875b95401989384048f02
[ "Apache-2.0" ]
4
2020-03-04T22:08:25.000Z
2021-06-09T09:47:00.000Z
snakeflake/__init__.py
Roadcrosser/snakeflake
699f48f8a415721dde5875b95401989384048f02
[ "Apache-2.0" ]
null
null
null
snakeflake/__init__.py
Roadcrosser/snakeflake
699f48f8a415721dde5875b95401989384048f02
[ "Apache-2.0" ]
null
null
null
"""Snakeflake init file""" __all__ = ["snakeflake", "config", "utils", "exceptions"]
21.5
57
0.651163
8
86
6.5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.116279
86
3
58
28.666667
0.684211
0.232558
0
0
0
0
0.516667
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
dd8a85b273c8b372a78df9c0b81e423d6134955d
212
py
Python
practice/lc136.py
itsmeolivia/code_eval
b00c7c968343b1be2efeb138b58471833d24022d
[ "MIT" ]
null
null
null
practice/lc136.py
itsmeolivia/code_eval
b00c7c968343b1be2efeb138b58471833d24022d
[ "MIT" ]
null
null
null
practice/lc136.py
itsmeolivia/code_eval
b00c7c968343b1be2efeb138b58471833d24022d
[ "MIT" ]
null
null
null
class Solution: # @param {integer[]} nums # @return {integer} def singleNumber(self, nums): a = set(nums) a = sum(a)*2 singleNumber = a - sum(nums) return singleNumber
23.555556
36
0.551887
24
212
4.875
0.541667
0.17094
0
0
0
0
0
0
0
0
0
0.006993
0.325472
212
8
37
26.5
0.811189
0.193396
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dd949b779c5e8d921abc137e847e3d4a29f97f72
1,485
py
Python
tests/conftest.py
Kupoman/shadertest
79b959e0ff00ac8c30918e83e0751f25bcc447ae
[ "MIT" ]
7
2018-11-10T20:49:56.000Z
2021-08-31T04:34:56.000Z
tests/conftest.py
Kupoman/shadertest
79b959e0ff00ac8c30918e83e0751f25bcc447ae
[ "MIT" ]
null
null
null
tests/conftest.py
Kupoman/shadertest
79b959e0ff00ac8c30918e83e0751f25bcc447ae
[ "MIT" ]
2
2018-12-10T03:01:05.000Z
2018-12-10T12:51:11.000Z
import pytest from shadertest.shader_parser import ( Argument, Function, ) @pytest.fixture def no_arg_function(): return Function( 'function', 'float', [], 'float function () { return 1.0; }' ) @pytest.fixture def one_arg_function(): return Function( 'fun...
17.267442
61
0.485522
141
1,485
5.007092
0.170213
0.1983
0.15864
0.29745
0.433428
0.331445
0.27762
0.147309
0.147309
0
0
0.01065
0.367677
1,485
85
62
17.470588
0.741214
0
0
0.5
0
0.014286
0.266667
0
0
0
0
0
0
1
0.1
true
0
0.028571
0.1
0.228571
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
1
0
0
0
0
0
0
2
dd95a279e4806da94547a2c3f13a776301e90249
795
py
Python
rltime/acting/actor_wrapper.py
frederikschubert/rltime
d1722ffd4cf7b4599655b8d9c64abc243919afc9
[ "Apache-2.0" ]
147
2019-09-05T10:41:15.000Z
2021-12-28T23:41:54.000Z
rltime/acting/actor_wrapper.py
frederikschubert/rltime
d1722ffd4cf7b4599655b8d9c64abc243919afc9
[ "Apache-2.0" ]
1
2020-10-18T14:55:53.000Z
2021-11-18T10:41:36.000Z
rltime/acting/actor_wrapper.py
frederikschubert/rltime
d1722ffd4cf7b4599655b8d9c64abc243919afc9
[ "Apache-2.0" ]
11
2019-09-08T09:18:28.000Z
2020-11-30T12:41:37.000Z
from .acting_interface import ActingInterface class ActorWrapper(ActingInterface): """Wrapper for a created actor Allows overriding only specific actor methods while passing through the rest, similar to gym wrappers """ def __init__(self, actor): super().__init__(*actor.get_spaces()) ...
27.413793
75
0.709434
102
795
5.196078
0.431373
0.135849
0.141509
0.067925
0
0
0
0
0
0
0
0
0.206289
795
28
76
28.392857
0.839937
0.163522
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.066667
0.333333
0.866667
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
dd9d65c0b2d12ecb340ef6dba5a5cc0f64640c9e
2,510
py
Python
bug_tracker_v2/tracker/filters.py
ViMonks/bug_tracker_django_fullstack
773fddcb9e99c8e0a8418ae92f2a2f23c22749e1
[ "MIT" ]
null
null
null
bug_tracker_v2/tracker/filters.py
ViMonks/bug_tracker_django_fullstack
773fddcb9e99c8e0a8418ae92f2a2f23c22749e1
[ "MIT" ]
null
null
null
bug_tracker_v2/tracker/filters.py
ViMonks/bug_tracker_django_fullstack
773fddcb9e99c8e0a8418ae92f2a2f23c22749e1
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model import django_filters from .models import Ticket, Project, Team from django.forms import DateInput User = get_user_model() class TicketFilter(django_filters.FilterSet): # STATUS_CHOICES = ( # ('open', 'Open'), # ('assigned', 'Assigned'), # ('i...
58.372093
212
0.757371
306
2,510
5.918301
0.24183
0.122032
0.056322
0.089453
0.671452
0.671452
0.663722
0.607399
0.607399
0.607399
0
0
0.108765
2,510
42
213
59.761905
0.809566
0.067331
0
0.148148
0
0
0.116538
0
0
0
0
0
0
1
0
false
0
0.148148
0
0.814815
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
06b3fff75eadbc2a1ad78f51282e05b97e4cfc5f
1,764
py
Python
CAP3-Functions/thinkpythonEX3.py
falble/mythinkpython2
25de15c8657f32a8f85189d9cb0588c816e9e7d3
[ "Apache-2.0" ]
1
2020-11-20T16:28:32.000Z
2020-11-20T16:28:32.000Z
CAP3-Functions/thinkpythonEX3.py
falble/mythinkpython2
25de15c8657f32a8f85189d9cb0588c816e9e7d3
[ "Apache-2.0" ]
null
null
null
CAP3-Functions/thinkpythonEX3.py
falble/mythinkpython2
25de15c8657f32a8f85189d9cb0588c816e9e7d3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Feb 9 19:48:15 2019 @author: Utente """ #Exercises Chapter 3 #3.2 do_four def do_twice(func, arg): func(arg) func(arg) def print_twice(arg): print(arg) print(arg) def do_four(func, arg): do_twice(func, arg...
15.076923
52
0.561791
245
1,764
3.75102
0.204082
0.121872
0.083787
0.104461
0.116431
0.045702
0.045702
0.045702
0
0
0
0.022436
0.292517
1,764
116
53
15.206897
0.713942
0.080499
0
0.359375
0
0
0.040559
0
0
0
0
0
0
1
0.375
false
0
0
0
0.375
0.71875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
2
06ecb83781bb61c11e01be77718a1aeb28fb280a
8,264
py
Python
long_tests/test_constrained_conjugate_gradients.py
ComputationalMechanics/ContactMechanics
c734edeae83f5b3369fd9a2bd1c4fc7d00e382f3
[ "MIT" ]
7
2020-06-03T20:01:42.000Z
2021-03-03T09:24:37.000Z
long_tests/test_constrained_conjugate_gradients.py
ComputationalMechanics/ContactMechanics
c734edeae83f5b3369fd9a2bd1c4fc7d00e382f3
[ "MIT" ]
19
2020-06-02T13:02:18.000Z
2021-03-19T09:48:12.000Z
long_tests/test_constrained_conjugate_gradients.py
ComputationalMechanics/ContactMechanics
c734edeae83f5b3369fd9a2bd1c4fc7d00e382f3
[ "MIT" ]
1
2021-09-10T22:20:41.000Z
2021-09-10T22:20:41.000Z
from SurfaceTopography import make_sphere import ContactMechanics as Solid import numpy as np import scipy.optimize as optim from NuMPI.Optimization import ccg_without_restart, ccg_with_restart import pytest from NuMPI import MPI pytestmark = pytest.mark.skipif(MPI.COMM_WORLD.Get_size() > 1, ...
41.32
86
0.54562
870
8,264
4.952874
0.148276
0.024136
0.038292
0.080065
0.811557
0.784869
0.695057
0.672082
0.617545
0.554885
0
0.01432
0.290174
8,264
199
87
41.527638
0.720252
0.026864
0
0.473333
0
0
0.013012
0
0
0
0
0
0.166667
1
0.013333
false
0
0.046667
0
0.06
0.006667
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
6605a2b78adeca45a2d0793e23aa804ff3b5c505
3,535
py
Python
temboo/core/Library/Microsoft/Translator/GetToken.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Microsoft/Translator/GetToken.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Microsoft/Translator/GetToken.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # # GetToken # Retrieves an access token that can be used to authenticate with the Microsoft Translator API. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, V...
38.010753
175
0.685714
429
3,535
5.575758
0.370629
0.025084
0.023411
0.043478
0.25
0.155518
0.133779
0.112876
0.078595
0.078595
0
0.004921
0.195191
3,535
92
176
38.423913
0.835852
0.499293
0
0
0
0
0.054584
0.026592
0
0
0
0
0
1
0.344828
false
0
0.172414
0.172414
0.896552
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
6629618be28e08fac7d951d903379a55b389d3b4
3,242
py
Python
NoteBooks/Curso de Python/Python/Paradigmas/Object Oriented Programming/Conceptos_clave.py
Alejandro-sin/Learning_Notebooks
161d6bed4c7b1d171b45f61c0cc6fa91e9894aad
[ "MIT" ]
1
2021-02-26T13:12:22.000Z
2021-02-26T13:12:22.000Z
NoteBooks/Curso de Python/Python/Paradigmas/Object Oriented Programming/Conceptos_clave.py
Alejandro-sin/Learning_Notebooks
161d6bed4c7b1d171b45f61c0cc6fa91e9894aad
[ "MIT" ]
null
null
null
NoteBooks/Curso de Python/Python/Paradigmas/Object Oriented Programming/Conceptos_clave.py
Alejandro-sin/Learning_Notebooks
161d6bed4c7b1d171b45f61c0cc6fa91e9894aad
[ "MIT" ]
null
null
null
''' Tipo: Concepto, Ejercicio, Pregunta... Fuente: libro, curso, ... Este chunk tiene como propósito revisar cocneptos fundamentales. Variable de isntancia Variable de clase Una diferencia importante entre clase e instancia e sla forma de usarse, están fuera del constructor __init__() Método de Instancias Método ...
25.131783
138
0.670882
414
3,242
5.637681
0.442029
0.027421
0.022279
0
0
0
0
0
0
0
0
0.011315
0.209439
3,242
129
139
25.131783
0.825985
0.701727
0
0
0
0
0.089247
0
0
0
0
0.046512
0
1
0.241379
false
0
0
0.034483
0.413793
0.241379
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
6630d9ac76ef4eb179b89352d9a06e753d7e877d
545
py
Python
tiles_generator.py
torquecoder/ChessVista
722afe39ae4d3cb38d83904a333b541eaba3a6ea
[ "MIT" ]
null
null
null
tiles_generator.py
torquecoder/ChessVista
722afe39ae4d3cb38d83904a333b541eaba3a6ea
[ "MIT" ]
null
null
null
tiles_generator.py
torquecoder/ChessVista
722afe39ae4d3cb38d83904a333b541eaba3a6ea
[ "MIT" ]
null
null
null
import chess_board_recognizer import os import dataset_organizer # Generating tiles for training for image_name in os.listdir("training_chessboards"): chess_board_recognizer.generateTileset(image_name, "training_chessboards", "training_tiles") dataset_organizer.organize("train_data", "training_tiles") # Generatin...
38.928571
96
0.831193
67
545
6.41791
0.328358
0.083721
0.139535
0.065116
0.362791
0.362791
0.255814
0
0
0
0
0
0.080734
545
13
97
41.923077
0.858283
0.106422
0
0
1
0
0.311983
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
6632a9eff62780e3018c5b29a731bbc480fcf73d
5,518
py
Python
ooobuild/lo/awt/grid/x_grid_column.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/awt/grid/x_grid_column.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/awt/grid/x_grid_column.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http: // www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
37.794521
246
0.685031
714
5,518
5.221289
0.37535
0.038627
0.014753
0.013949
0.108369
0.070547
0.070547
0
0
0
0
0.017387
0.249547
5,518
145
247
38.055172
0.882879
0.5917
0
0.333333
0
0
0.111176
0.099534
0
0
0
0
0
1
0.333333
false
0
0.153846
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6633b229ea50c21dbdd245f31d534f2fe0e53414
5,834
py
Python
tests/test_filter.py
duruyi/pycasbin
a16bfaa669c37ac1598684e36b0319430ab749e5
[ "Apache-2.0" ]
null
null
null
tests/test_filter.py
duruyi/pycasbin
a16bfaa669c37ac1598684e36b0319430ab749e5
[ "Apache-2.0" ]
null
null
null
tests/test_filter.py
duruyi/pycasbin
a16bfaa669c37ac1598684e36b0319430ab749e5
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The casbin 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 applicable...
37.63871
83
0.644155
657
5,834
5.525114
0.200913
0.048485
0.057851
0.073278
0.740771
0.715427
0.711295
0.663085
0.57741
0.57741
0
0.008794
0.239801
5,834
154
84
37.883117
0.809696
0.101817
0
0.675439
0
0
0.212823
0.079809
0
0
0
0
0.149123
1
0.070175
false
0
0.026316
0
0.131579
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
6638ae9794518d29c0857e6982654a2a1b05c369
3,239
py
Python
pysnmp/IANA-PWE3-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/IANA-PWE3-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/IANA-PWE3-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 IANA-PWE3-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IANA-PWE3-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:30:09 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
98.151515
574
0.736338
334
3,239
7.131737
0.473054
0.057935
0.013854
0.065491
0.322418
0.239295
0.234257
0.234257
0.234257
0.144416
0
0.083333
0.096017
3,239
32
575
101.21875
0.730191
0.098796
0
0.136364
0
0
0.295876
0.023711
0
0
0
0
0
1
0
false
0
0.272727
0
0.772727
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
0
0
1
0
0
2
6652a0863985d73afb712246d97796fd54eb4c1a
6,813
py
Python
gffutils/test/expected.py
aswarren/gffutils
19ec9167b04557cc228cec7d92a78bee9d6d15d0
[ "MIT" ]
171
2015-01-15T16:12:29.000Z
2022-03-14T00:38:03.000Z
gffutils/test/expected.py
aswarren/gffutils
19ec9167b04557cc228cec7d92a78bee9d6d15d0
[ "MIT" ]
124
2015-01-09T20:21:45.000Z
2022-03-17T15:45:35.000Z
gffutils/test/expected.py
aswarren/gffutils
19ec9167b04557cc228cec7d92a78bee9d6d15d0
[ "MIT" ]
60
2015-04-15T13:25:51.000Z
2021-12-16T13:44:41.000Z
# expected data for tests using FBgn0031208.gff and FBgn0031208.gtf files # list the children and their expected first-order parents for the GFF test file. GFF_parent_check_level_1 = {'FBtr0300690':['FBgn0031208'], 'FBtr0300689':['FBgn0031208'], 'CG11023:1':['FB...
53.645669
93
0.420666
526
6,813
5.18251
0.161597
0.035216
0.028247
0.037417
0.41526
0.218269
0.115187
0.043287
0
0
0
0.303893
0.43828
6,813
126
94
54.071429
0.408414
0.041098
0
0.108108
0
0
0.417011
0.224981
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b07e44a4d5538f9ef1412e0218121f3902309fda
404
py
Python
dmb/modeling/__init__.py
jiaw-z/DenseMatchingBenchmark
177c56ca1952f54d28e6073afa2c16981113a2af
[ "MIT" ]
160
2019-11-16T13:59:21.000Z
2022-03-28T07:52:59.000Z
dmb/modeling/__init__.py
jiaw-z/DenseMatchingBenchmark
177c56ca1952f54d28e6073afa2c16981113a2af
[ "MIT" ]
22
2019-11-22T02:14:18.000Z
2022-01-24T10:16:14.000Z
dmb/modeling/__init__.py
jiaw-z/DenseMatchingBenchmark
177c56ca1952f54d28e6073afa2c16981113a2af
[ "MIT" ]
38
2019-12-27T14:01:01.000Z
2022-03-12T11:40:11.000Z
from .flow.models import _META_ARCHITECTURES as _FLOW_META_ARCHITECTURES from .stereo.models import _META_ARCHITECTURES as _STEREO_META_ARCHITECTURES _META_ARCHITECTURES = dict() _META_ARCHITECTURES.update(_FLOW_META_ARCHITECTURES) _META_ARCHITECTURES.update(_STEREO_META_ARCHITECTURES) def build_model(cfg): met...
31.076923
76
0.85396
51
404
6.215686
0.333333
0.536278
0.100946
0.182965
0.195584
0
0
0
0
0
0
0
0.089109
404
12
77
33.666667
0.861413
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
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
b08e4cdc5897d61e76d27267edee5c12b035f60f
347
py
Python
fasttrips/Examples/Springfield/configs/C/config_ft.py
janzill/fast-trips
a0f82849196894f1695e6400698a5fd16431f674
[ "Apache-2.0" ]
21
2017-11-19T03:21:48.000Z
2021-11-25T09:16:33.000Z
fasttrips/Examples/Springfield/configs/C/config_ft.py
MetropolitanTransportationCommission/transit-assignment
02597df56ed152e9993374ba0502d0de444da234
[ "Apache-2.0" ]
95
2017-08-23T22:04:03.000Z
2021-07-13T05:32:18.000Z
fasttrips/Examples/Springfield/configs/C/config_ft.py
MetropolitanTransportationCommission/transit-assignment
02597df56ed152e9993374ba0502d0de444da234
[ "Apache-2.0" ]
12
2017-10-09T23:23:13.000Z
2021-11-25T09:16:50.000Z
def user_class(row_series): """ Defines the user class for this trip list. This function takes a single argument, the pandas.Series with person, household and trip_list attributes, and returns a user class string. """ # print row_series if row_series["hh_id"] == "simpson": return "...
28.916667
87
0.674352
49
347
4.632653
0.653061
0.118943
0
0
0
0
0
0
0
0
0
0
0.242075
347
12
88
28.916667
0.863118
0.576369
0
0
0
0
0.195122
0
0
0
0
0
0
1
0.25
false
0
0
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
b08e8deaf7998ec3f4f946c6bb89a5b4a6ab5e2a
2,242
py
Python
store/migrations/0003_auto_20200419_1852.py
enviousoner1166/appstore
c9ead52476035f891264de53ffe21453cde9348d
[ "MIT" ]
1
2021-03-05T13:17:35.000Z
2021-03-05T13:17:35.000Z
store/migrations/0003_auto_20200419_1852.py
enviousoner1166/appstore
c9ead52476035f891264de53ffe21453cde9348d
[ "MIT" ]
null
null
null
store/migrations/0003_auto_20200419_1852.py
enviousoner1166/appstore
c9ead52476035f891264de53ffe21453cde9348d
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-19 18:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('store', '0002_publisher'), ] operations = [ migrations.AddField( model_name='app', ...
32.492754
136
0.56512
213
2,242
5.793427
0.300469
0.13128
0.167747
0.196921
0.606159
0.580227
0.388979
0.388979
0.388979
0.095624
0
0.022179
0.316236
2,242
68
137
32.970588
0.782779
0.020071
0
0.612903
1
0
0.117084
0
0
0
0
0
0
1
0
false
0
0.032258
0
0.080645
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
b0911bf21fdb8cecdfcf2770701dc7197588b2ea
317
py
Python
3-Python-Advanced (May 2021)/05-Functions/02_Exercises/01-Even-Numbers.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
3-Python-Advanced (May 2021)/05-Functions/02_Exercises/01-Even-Numbers.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
3-Python-Advanced (May 2021)/05-Functions/02_Exercises/01-Even-Numbers.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
# 1. Even Numbers # Write a program that receives a sequence of numbers (integers), separated by a single space. # It should print a list of only the even numbers. Use filter(). def filter_even(iters): return list(filter(lambda x: x % 2 == 0, iters)) nums = map(int, input().split()) print(filter_even(nums))
26.416667
94
0.70347
52
317
4.25
0.673077
0.099548
0
0
0
0
0
0
0
0
0
0.011538
0.179811
317
11
95
28.818182
0.838462
0.539432
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
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
0
0
1
0
0
0
2
b09c0f819e33601edc63c9a78f79e89bc5886627
1,888
py
Python
Staging/sandbox2.py
mccolm-robotics/Claver-AI-Assistant
12b31633b4a45709403ed9599c626e63743318c7
[ "MIT" ]
1
2020-05-22T18:45:07.000Z
2020-05-22T18:45:07.000Z
Staging/sandbox2.py
mccolm-robotics/Claver-AI-Assistant
12b31633b4a45709403ed9599c626e63743318c7
[ "MIT" ]
null
null
null
Staging/sandbox2.py
mccolm-robotics/Claver-AI-Assistant
12b31633b4a45709403ed9599c626e63743318c7
[ "MIT" ]
null
null
null
class Foo: def __init__(self, id): self.id = id def __str__(self): return 'Foo instance id: {}'.format(self.id) class Bar: def __init__(self, id): self.id = id def __str__(self): return 'Bar instance id: {}'.format(self.id) class Baz: def __init__(self, id): ...
22.47619
93
0.630826
282
1,888
3.978723
0.198582
0.245989
0.187166
0.069519
0.555258
0.480392
0.432264
0.432264
0.285205
0.221925
0
0.013131
0.233581
1,888
83
94
22.746988
0.762267
0.31303
0
0.488372
0
0
0.114833
0
0
0
0
0
0
1
0.139535
false
0
0
0.069767
0.27907
0.093023
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
b09ce2d002feb3379e86e88aaf999aa361bcd469
29,520
py
Python
GM2AUTOSAR_MM/Properties/positive/models/P1Connected_MDL.py
levilucio/SyVOLT
7526ec794d21565e3efcc925a7b08ae8db27d46a
[ "MIT" ]
3
2017-06-02T19:26:27.000Z
2021-06-14T04:25:45.000Z
GM2AUTOSAR_MM/Properties/positive/models/P1Connected_MDL.py
levilucio/SyVOLT
7526ec794d21565e3efcc925a7b08ae8db27d46a
[ "MIT" ]
8
2016-08-24T07:04:07.000Z
2017-05-26T16:22:47.000Z
GM2AUTOSAR_MM/Properties/positive/models/P1Connected_MDL.py
levilucio/SyVOLT
7526ec794d21565e3efcc925a7b08ae8db27d46a
[ "MIT" ]
1
2019-10-31T06:00:23.000Z
2019-10-31T06:00:23.000Z
""" __P1Connected_MDL.py_____________________________________________________ Automatically generated AToM3 Model File (Do not modify directly) Author: gehan Modified: Mon Sep 16 17:32:40 2013 _________________________________________________________________________ """ from stickylink import * from widthXfillXdecorat...
55.698113
1,052
0.657927
3,823
29,520
4.818206
0.057808
0.033388
0.014821
0.027524
0.717535
0.637134
0.569815
0.550489
0.521173
0.499023
0
0.033195
0.141768
29,520
529
1,053
55.803403
0.693862
0.090989
0
0.184049
1
0.110429
0.201489
0.069657
0
0
0
0
0
1
0.003067
false
0
0.09816
0
0.101227
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b09eb1730d5762c1bbc6722aad64f6fedbe56656
577
py
Python
eod/fundamental_economic_data/economic_events_data_api/economic_events_data.py
gereon/eod-data
4286a03cc08bc8b5dc42ebae0bb8eb22bdfa3230
[ "Apache-2.0" ]
19
2021-09-18T11:31:45.000Z
2022-03-15T20:03:52.000Z
eod/fundamental_economic_data/economic_events_data_api/economic_events_data.py
gereon/eod-data
4286a03cc08bc8b5dc42ebae0bb8eb22bdfa3230
[ "Apache-2.0" ]
2
2022-02-18T23:37:48.000Z
2022-03-01T18:14:06.000Z
eod/fundamental_economic_data/economic_events_data_api/economic_events_data.py
gereon/eod-data
4286a03cc08bc8b5dc42ebae0bb8eb22bdfa3230
[ "Apache-2.0" ]
8
2021-09-13T16:49:52.000Z
2022-03-31T21:09:44.000Z
# -*- coding: utf-8 -*- """ Created on Tue Jan 4 16:28:22 2022 @author: lauta """ from eod.request_handler_class import RequestHandler class EconomicEventsData(RequestHandler): def __init__(self, api_key:str, timeout:int): # base URL's of the API self.URL_ECONOMIC_EVENT_DATA = 'https://eodhistor...
32.055556
91
0.701906
76
577
5.026316
0.644737
0.031414
0.078534
0.104712
0.125654
0
0
0
0
0
0
0.025478
0.183709
577
18
92
32.055556
0.785563
0.166378
0
0
0
0
0.105708
0
0
0
0
0
0
1
0.25
false
0
0.125
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
1
0
0
0
0
1
0
0
2
b09ec5a50499dc25f03f9923941e0a467c11bd13
1,453
py
Python
workspacemanager/test/setuptest.py
hayj/WorkspaceManager
81a9b7fdb5b532ffed75742090a620447ee614eb
[ "MIT" ]
3
2018-12-03T22:50:35.000Z
2019-06-18T10:56:20.000Z
workspacemanager/test/setuptest.py
hayj/WorkspaceManager
81a9b7fdb5b532ffed75742090a620447ee614eb
[ "MIT" ]
null
null
null
workspacemanager/test/setuptest.py
hayj/WorkspaceManager
81a9b7fdb5b532ffed75742090a620447ee614eb
[ "MIT" ]
null
null
null
# coding: utf-8 import unittest import doctest import os from workspacemanager import setup from workspacemanager import generateSetup from workspacemanager.utils import * from shutil import * from workspacemanager.test.utils import * # The level allow the unit test execution to choose only the top level test min = ...
25.946429
101
0.623538
158
1,453
5.64557
0.474684
0.089686
0.100897
0.073991
0
0
0
0
0
0
0
0.008712
0.289057
1,453
55
102
26.418182
0.854792
0.162423
0
0.09375
1
0
0.059167
0.02
0
0
0
0
0.15625
1
0.09375
false
0.09375
0.25
0
0.40625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b0a338a5f1a73271ed34d25f1ee73b316debec21
3,754
py
Python
bundle.py
cmakler/kgjs
a29d194cfbfe3dcb0407b5281a34dd0ddd42bf68
[ "MIT" ]
20
2019-03-12T12:54:04.000Z
2022-01-27T01:24:07.000Z
bundle.py
cmakler/kgjs
a29d194cfbfe3dcb0407b5281a34dd0ddd42bf68
[ "MIT" ]
5
2017-07-20T17:16:17.000Z
2022-02-26T04:07:44.000Z
bundle.py
cmakler/kgjs
a29d194cfbfe3dcb0407b5281a34dd0ddd42bf68
[ "MIT" ]
3
2019-10-10T03:39:14.000Z
2021-12-13T00:45:46.000Z
import json import codecs __author__ = 'cmakler' js_directories = [ 'build/bundled/', 'docs/js/', 'docs/playground/code/', '../bh-textbook/code/', '../core-interactives/code/', '../econgraphs/static/js/' ] js_local_directories = [ 'build/bundled/', 'docs/js/', 'docs/playground/cod...
25.712329
88
0.499201
405
3,754
4.48642
0.165432
0.096863
0.070446
0.088057
0.731976
0.711062
0.69235
0.665933
0.623005
0.571271
0
0.009109
0.327384
3,754
145
89
25.889655
0.710495
0
0
0.398551
0
0
0.428343
0.224028
0
0
0
0
0
0
null
null
0
0.014493
null
null
0.014493
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
b0a9014475c08fce9f952140596ffecf867a6894
2,475
py
Python
jump_bot/jumpbot/settings.py
beatyou/wechat_jump_game
ba1d1b88eacf9edd287c8418a753aa8b4c842945
[ "Apache-2.0" ]
17,238
2017-12-29T02:19:57.000Z
2022-03-30T14:45:23.000Z
jump_bot/jumpbot/settings.py
lmtsunnie/wechat_jump_game
143c35893ff0f5ddd07348a4b4c55ccd4e8165fd
[ "MIT" ]
1,175
2017-12-29T04:54:10.000Z
2022-03-11T23:17:36.000Z
jump_bot/jumpbot/settings.py
lmtsunnie/wechat_jump_game
143c35893ff0f5ddd07348a4b4c55ccd4e8165fd
[ "MIT" ]
5,918
2017-12-29T03:08:01.000Z
2022-03-31T14:51:05.000Z
# Wechat Jump Bot (iOS) # ---------------------------------------------------------------------------- import os CURRENT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) PROJECT_ROOT = os.path.dirname(CURRENT_DIR) PROJECT_DIR = "jumpbot/" # -----------------------------------------------------------...
30.182927
84
0.528889
296
2,475
4.040541
0.260135
0.263378
0.187291
0.075251
0.682274
0.532609
0.398829
0.314381
0.314381
0.314381
0
0.068277
0.230707
2,475
81
85
30.555556
0.559874
0.150303
0
0.310345
0
0
0.286055
0.052531
0
0
0
0
0
1
0.017241
false
0
0.017241
0
0.051724
0.017241
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
b0ce3fb606b60c976a97a3d7ed3337be7ed1e9e1
2,037
py
Python
src/result/settings.py
fteychene/survey-server
c7c74e6229fdc7e8392fdf1aef570814131c2104
[ "Apache-2.0" ]
null
null
null
src/result/settings.py
fteychene/survey-server
c7c74e6229fdc7e8392fdf1aef570814131c2104
[ "Apache-2.0" ]
null
null
null
src/result/settings.py
fteychene/survey-server
c7c74e6229fdc7e8392fdf1aef570814131c2104
[ "Apache-2.0" ]
null
null
null
''' Created on Sep 21, 2015 @author: fteychene ''' from result import hooks class ResultConfiguration(object): @staticmethod def hooks(): return hooks.register @staticmethod def domain(): return { 'url': 'survey/<regex("[a-f0-9]{24}"):survey>/results', 'schem...
27.16
67
0.297005
103
2,037
5.825243
0.572816
0.075
0.046667
0.066667
0
0
0
0
0
0
0
0.013873
0.575356
2,037
74
68
27.527027
0.679769
0.021109
0
0.328125
0
0
0.20141
0.022659
0
0
0
0
0
1
0.046875
true
0
0.015625
0.046875
0.125
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
b0dff4e69c3bd7e000971db9965a685b09734712
153
py
Python
051 - 100/ex051.py
SocrammBR/Desafios-Python-CursoEmVideo
bd2454a24134500343ece91b936c169d3a66f89e
[ "MIT" ]
null
null
null
051 - 100/ex051.py
SocrammBR/Desafios-Python-CursoEmVideo
bd2454a24134500343ece91b936c169d3a66f89e
[ "MIT" ]
null
null
null
051 - 100/ex051.py
SocrammBR/Desafios-Python-CursoEmVideo
bd2454a24134500343ece91b936c169d3a66f89e
[ "MIT" ]
null
null
null
pt = int(input('Primeiro termo: ')) rz = int(input('Razão: ')) for c in range (pt, (pt + (10-1) * rz)+rz, rz): print(f'{c}', end=" → ") print('ACABOU')
30.6
47
0.542484
27
153
3.111111
0.666667
0.190476
0
0
0
0
0
0
0
0
0
0.023622
0.169935
153
5
48
30.6
0.629921
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
b0e017985ddca231d43a737d6e517583fd46747b
516
py
Python
Utils.py
statisticsnorway/raml-to-umlet-diagram
b8342ba78c00bbce44c27809f1cb1d9e2ed9a6cb
[ "Apache-2.0" ]
null
null
null
Utils.py
statisticsnorway/raml-to-umlet-diagram
b8342ba78c00bbce44c27809f1cb1d9e2ed9a6cb
[ "Apache-2.0" ]
null
null
null
Utils.py
statisticsnorway/raml-to-umlet-diagram
b8342ba78c00bbce44c27809f1cb1d9e2ed9a6cb
[ "Apache-2.0" ]
null
null
null
import pprint import xml.etree.ElementTree as ET class Utils(): def printDict(self, dict): pp = pprint.PrettyPrinter(indent=4, compact=False) pp.pprint(dict) def printETree(self, eTree): #print(ET.tostring(eTree, encoding='utf8', method='xml')) print(ET.tostring(eTree, encoding...
27.157895
67
0.606589
61
516
5.131148
0.57377
0.051118
0.095847
0.127796
0.178914
0
0
0
0
0
0
0.005222
0.257752
516
18
68
28.666667
0.81201
0.151163
0
0
0
0
0.027523
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.461538
0.615385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
2
b0f109b2cc1a8d43d7cddf91f25602eaa7292c71
1,032
py
Python
Pre-Interview Challenges/string_sum.py
Wryhder/solve-with-code
0fd1ef4f1c46ad89d68a667b3aaa6b98c69da266
[ "MIT" ]
null
null
null
Pre-Interview Challenges/string_sum.py
Wryhder/solve-with-code
0fd1ef4f1c46ad89d68a667b3aaa6b98c69da266
[ "MIT" ]
null
null
null
Pre-Interview Challenges/string_sum.py
Wryhder/solve-with-code
0fd1ef4f1c46ad89d68a667b3aaa6b98c69da266
[ "MIT" ]
null
null
null
# Andela """ Problem Statement Write a program which accepts a sequence of comma-separated numbers from console and generate the string sum of the digits and the total sum in a list. Suppose the following input is supplied to the program: 34,67,55,33,12,98 Then, the output should be: [“3+4+6+7+5+5+3+3+1+2+9+8”, 56] ...
25.8
226
0.598837
156
1,032
3.852564
0.461538
0.134775
0.053245
0.0599
0.289517
0.289517
0.289517
0.289517
0.146423
0.146423
0
0.038674
0.29845
1,032
39
227
26.461538
0.791436
0.005814
0
0.105263
1
0
0.042279
0
0
0
0
0
0
0
null
null
0
0
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
7c050b5dddc58a1b99c66ac8c5e5022b1b5bf3c0
4,422
py
Python
packgen.py
Boundarybreaker/SwingChain
6314b759303e1d9a08dd76a547e3cc05d33ab98a
[ "MIT" ]
null
null
null
packgen.py
Boundarybreaker/SwingChain
6314b759303e1d9a08dd76a547e3cc05d33ab98a
[ "MIT" ]
null
null
null
packgen.py
Boundarybreaker/SwingChain
6314b759303e1d9a08dd76a547e3cc05d33ab98a
[ "MIT" ]
null
null
null
# Generator used for all the Skinned Lanterns lantern variants! lanterns = ["pufferfish", "zombie", "creeper", "skeleton", "wither_skeleton", "bee", "jack_o_lantern", "ghost", "inky", "pinky", "blinky", "clyde", "pacman", "paper_white", "paper_yellow", "paper_orange", "paper_blue", "paper_light_blue", "paper_cyan", "p...
50.827586
114
0.675486
478
4,422
6.046025
0.1841
0.069204
0.111419
0.13045
0.721107
0.673702
0.629412
0.575779
0.56263
0.279585
0
0.004697
0.133424
4,422
86
115
51.418605
0.749478
0.013795
0
0.090909
0
0.311688
0.77816
0.376233
0
0
0
0
0
1
0
false
0
0
0
0
0.012987
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9fec25bbe3e156e4bf72617f64c2dc32ae326fb6
387
py
Python
recruit_app/ia/forms.py
tyler274/Recruitment-App
439117cfc3e7ccc01064c688f295b01a542761fb
[ "BSD-3-Clause" ]
8
2015-04-08T23:48:38.000Z
2016-10-03T01:25:13.000Z
recruit_app/ia/forms.py
tyler274/Recruitment-App
439117cfc3e7ccc01064c688f295b01a542761fb
[ "BSD-3-Clause" ]
42
2015-03-31T14:48:49.000Z
2015-11-26T18:18:46.000Z
recruit_app/ia/forms.py
tyler274/Recruitment-App
439117cfc3e7ccc01064c688f295b01a542761fb
[ "BSD-3-Clause" ]
5
2015-04-08T23:50:06.000Z
2020-09-15T15:14:35.000Z
from flask_wtf import Form from wtforms import StringField, TextAreaField, SubmitField from wtforms.validators import DataRequired class SubmitIssueForm(Form): subject = StringField("Subject", validators=[DataRequired()]) body = TextAreaField("Body", validators=[DataRequired()]) logs = TextAreaField("Appl...
32.25
65
0.764858
39
387
7.564103
0.538462
0.074576
0
0
0
0
0
0
0
0
0
0
0.134367
387
11
66
35.181818
0.880597
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0.375
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
9ffbfd1f24433b6989ac05fe11fdfaf1c77bd016
1,114
py
Python
db_create.py
yesan/openvpn-admin-ui
0c054eb204421d62a89a2bbb8c8003eb9cf8b8d6
[ "Apache-2.0" ]
39
2018-07-18T09:11:34.000Z
2022-03-07T13:32:00.000Z
db_create.py
yesan/openvpn-admin-ui
0c054eb204421d62a89a2bbb8c8003eb9cf8b8d6
[ "Apache-2.0" ]
2
2018-09-07T08:58:58.000Z
2022-01-23T22:45:11.000Z
db_create.py
sibosend/openvpn-admin-ui
0c054eb204421d62a89a2bbb8c8003eb9cf8b8d6
[ "Apache-2.0" ]
16
2019-04-25T12:48:05.000Z
2021-12-02T00:14:55.000Z
#!haoliVPNEnv/bin/python from migrate.versioning import api from application import db,create_app import os import subprocess import sys from firstApp.models import Role app=create_app() app.app_context().push() db.create_all() Role.insert_role() if not os.path.exists(app.config['SQLALCHEMY_MIGRATE_REPO']): api.c...
30.108108
153
0.731598
145
1,114
5.455172
0.42069
0.079646
0.168142
0.164349
0.316056
0.240202
0.19469
0.19469
0.19469
0.19469
0
0.004149
0.13465
1,114
36
154
30.944444
0.81639
0.406643
0
0
0
0
0.279503
0.25
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
b0014c6dbbf9901708a16da7b6b7ae2f275ce80d
662
py
Python
pyinsteon/handlers/to_device/enter_unlinking_mode.py
michaeldavie/pyinsteon
e5b2e2910f4eff1474f158051fa71f75c2077dd6
[ "MIT" ]
15
2020-07-08T05:29:14.000Z
2022-03-24T18:56:26.000Z
pyinsteon/handlers/to_device/enter_unlinking_mode.py
michaeldavie/pyinsteon
e5b2e2910f4eff1474f158051fa71f75c2077dd6
[ "MIT" ]
107
2019-06-03T09:23:02.000Z
2022-03-31T23:12:38.000Z
pyinsteon/handlers/to_device/enter_unlinking_mode.py
michaeldavie/pyinsteon
e5b2e2910f4eff1474f158051fa71f75c2077dd6
[ "MIT" ]
16
2019-01-24T01:09:49.000Z
2022-02-24T03:48:42.000Z
"""Get Device Info command handler.""" from ...address import Address from ...topics import ENTER_UNLINKING_MODE from .direct_command import DirectCommandHandlerBase class EnterUnlinkingModeCommand(DirectCommandHandlerBase): """Place a device in linking mode command handler.""" def __init__(self, address: Ad...
36.777778
69
0.73716
74
662
6.364865
0.527027
0.089172
0.11465
0
0
0
0
0
0
0
0
0.001802
0.161631
662
17
70
38.941176
0.846847
0.23565
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b003bffe8650335acf9f55d3d98ea0154c292c5b
1,347
py
Python
test/conftest.py
Stranger6667/Flask-Postmark
74818a6eb86278094c43235fd0faed9545569b9b
[ "MIT" ]
6
2017-06-10T14:31:35.000Z
2018-04-15T13:24:32.000Z
test/conftest.py
Stranger6667/Flask-Postmark
74818a6eb86278094c43235fd0faed9545569b9b
[ "MIT" ]
18
2017-05-12T08:50:18.000Z
2020-09-01T15:31:34.000Z
test/conftest.py
Stranger6667/Flask-Postmark
74818a6eb86278094c43235fd0faed9545569b9b
[ "MIT" ]
1
2017-05-21T13:49:04.000Z
2017-05-21T13:49:04.000Z
import pytest from flask import Flask, json, request from flask_postmark import Postmark @pytest.fixture def app(server_token, postmark_request): app = Flask(__name__) app.config["POSTMARK_SERVER_TOKEN"] = server_token app.config["JSONIFY_PRETTYPRINT_REGULAR"] = False postmark = Postmark(app) de...
23.631579
96
0.669636
172
1,347
5.052326
0.267442
0.063291
0.073648
0.052934
0.069045
0.069045
0
0
0
0
0
0.001855
0.199703
1,347
56
97
24.053571
0.804267
0
0
0.2
0
0
0.091314
0.035635
0
0
0
0
0
1
0.25
false
0
0.075
0.125
0.575
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
b00f1dd12d0a8ca1a614dcf27eedd99eb0f3b32e
2,148
py
Python
tests/test_api_network.py
er-vin/ComDaAn
17f953d2b24953649605f066c6a2278631a9e909
[ "Apache-2.0" ]
null
null
null
tests/test_api_network.py
er-vin/ComDaAn
17f953d2b24953649605f066c6a2278631a9e909
[ "Apache-2.0" ]
4
2019-11-06T14:36:01.000Z
2021-03-29T15:25:18.000Z
tests/test_api_network.py
er-vin/ComDaAn
17f953d2b24953649605f066c6a2278631a9e909
[ "Apache-2.0" ]
null
null
null
from comdaan import parse_issues, parse_mail, parse_repositories from comdaan import network, Network import os PATH_TO_RESOURCES = os.path.join(os.path.dirname(__file__), "resources/") def test_network_return_type(): repo = PATH_TO_RESOURCES + "repo" if not os.listdir(repo): raise Exception("Empty g...
35.213115
88
0.717877
282
2,148
5.195035
0.216312
0.03686
0.09215
0.076451
0.809556
0.675768
0.675768
0.648464
0.619113
0.619113
0
0.002762
0.157356
2,148
60
89
35.8
0.80663
0
0
0.604651
0
0
0.211359
0
0
0
0
0
0.186047
1
0.186047
false
0
0.069767
0
0.255814
0
0
0
0
null
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b01aa872f5e6c7c2485155ec579855fcc634e0a3
1,105
py
Python
gnome/gnome2/gedit/plugins.symlink/gedit-openfiles/GeditOpenFile.py
icebreaker/dotfiles
5c3dc7f981069a728cc6b34ae39cd4c2da1122aa
[ "MIT" ]
4
2015-03-17T14:36:49.000Z
2019-06-10T09:34:35.000Z
gnome/gnome2/gedit/plugins.symlink/gedit-openfiles/GeditOpenFile.py
icebreaker/dotfiles
5c3dc7f981069a728cc6b34ae39cd4c2da1122aa
[ "MIT" ]
null
null
null
gnome/gnome2/gedit/plugins.symlink/gedit-openfiles/GeditOpenFile.py
icebreaker/dotfiles
5c3dc7f981069a728cc6b34ae39cd4c2da1122aa
[ "MIT" ]
1
2019-03-01T13:21:55.000Z
2019-03-01T13:21:55.000Z
from gedit import Plugin from FileMonitor import FileMonitor from DBWrapper import DBWrapper from GeditOpenFileGui import GeditOpenFileGui from Logger import log from Config import Config class GeditOpenFile(Plugin): DATA_TAG = "GeditOpenFilePlugin" def __init__(self): Plugin.__init__(self) ...
28.333333
75
0.702262
134
1,105
5.492537
0.328358
0.081522
0.076087
0.040761
0.084239
0.084239
0
0
0
0
0
0.003452
0.213575
1,105
38
76
29.078947
0.843498
0.100452
0
0
0
0
0.019211
0
0
0
0
0
0
1
0.24
false
0
0.24
0.04
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
1
0
0
0
0
1
0
0
2
b01dc491fa86382b84a1088bdbfdbe094f6e886b
1,497
py
Python
testai_classifier/classifier_pb2_grpc.py
testdotai/classifier-client-python
d63c1406d10f73098eac3c7f0c1dacf4acdde46e
[ "Apache-2.0" ]
12
2019-12-22T01:16:28.000Z
2022-03-01T00:35:10.000Z
testai_classifier/classifier_pb2_grpc.py
testdotai/classifier-client-python
d63c1406d10f73098eac3c7f0c1dacf4acdde46e
[ "Apache-2.0" ]
5
2020-03-12T20:38:44.000Z
2021-06-02T01:18:11.000Z
testai_classifier/classifier_pb2_grpc.py
testdotai/classifier-client-python
d63c1406d10f73098eac3c7f0c1dacf4acdde46e
[ "Apache-2.0" ]
2
2020-09-04T08:51:26.000Z
2022-01-01T17:58:02.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc import classifier_pb2 as classifier__pb2 class ClassifierStub(object): # missing associated documentation comment in .proto file pass def __init__(self, channel): """Constructor. Args: channel: A grpc.Channel. ...
31.851064
90
0.763527
149
1,497
7.395973
0.416107
0.07078
0.08167
0.100726
0.157895
0.157895
0.157895
0.157895
0.110708
0.110708
0
0.004804
0.165665
1,497
46
91
32.543478
0.877502
0.189045
0
0.107143
1
0
0.083893
0.02349
0
0
0
0
0
1
0.107143
false
0.107143
0.071429
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b039d0bddaa5f9a8fae190fb12bc5246fbcfa10f
2,400
py
Python
moff/parser/read_image.py
Tikubonn/moff
1c363f60959138311068177fca177d0f0dc97380
[ "MIT" ]
null
null
null
moff/parser/read_image.py
Tikubonn/moff
1c363f60959138311068177fca177d0f0dc97380
[ "MIT" ]
null
null
null
moff/parser/read_image.py
Tikubonn/moff
1c363f60959138311068177fca177d0f0dc97380
[ "MIT" ]
null
null
null
from moff.builder import ImageBuilder, ImageAltAdapter, ImageTitleAdapter, ImageLinkAdapter, ImageCaseAdapter, ImageSrcCaseAdapter, ImageSizeCaseAdapter, ImageMediaCaseAdapter, ImageTypeCaseAdapter from moff.attribute import Srcset, Sizes from moff.util import read_until, read_whitespace, read_line, read_media_query, ...
32
197
0.745
290
2,400
5.968966
0.196552
0.036395
0.062392
0.155979
0.478336
0.478336
0.395147
0.395147
0.366262
0.339688
0
0.008759
0.14375
2,400
74
198
32.432432
0.833577
0.065417
0
0.216216
0
0
0.000448
0
0
0
0
0
0
1
0.243243
false
0
0.081081
0.027027
0.594595
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
b03d049623baac26deb441964f586638a9374f86
8,320
py
Python
racer.py
nat-chan/BOAT_RACE
f171248ce9363a3af6d8725562900d3b353ffbdb
[ "MIT" ]
null
null
null
racer.py
nat-chan/BOAT_RACE
f171248ce9363a3af6d8725562900d3b353ffbdb
[ "MIT" ]
1
2019-11-24T01:14:10.000Z
2019-11-24T04:56:29.000Z
racer.py
nat-chan/BOAT_RACE
f171248ce9363a3af6d8725562900d3b353ffbdb
[ "MIT" ]
2
2019-11-24T00:11:39.000Z
2019-11-24T00:16:19.000Z
#!/usr/bin/env python3 import struct layout = ( #key ,byte, descriptions ("登番" , 4 , "3415"), ("名前漢字" , 16 , "松井 繁"), ("名前カナ" , 15 , "マツイ シゲル"), ("支部" , 4 , "大阪"), ("級" , ...
41.393035
62
0.325481
776
8,320
3.440722
0.393041
0.058427
0.097378
0.014981
0.075655
0.012734
0
0
0
0
0
0.224099
0.466346
8,320
200
63
41.6
0.377027
0.016707
0
0.033149
0
0
0.289384
0.005137
0
0
0
0
0
1
0.005525
false
0.005525
0.01105
0
0.022099
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
b05d319137c129f4d609fbc3266074c123b0b121
354
py
Python
md-graph/mdfile.py
barrettotte/md-graph
3f70e064fa71f906232fb68493aebe137333cca8
[ "MIT" ]
1
2022-02-15T12:19:13.000Z
2022-02-15T12:19:13.000Z
md-graph/mdfile.py
barrettotte/md-graph
3f70e064fa71f906232fb68493aebe137333cca8
[ "MIT" ]
null
null
null
md-graph/mdfile.py
barrettotte/md-graph
3f70e064fa71f906232fb68493aebe137333cca8
[ "MIT" ]
1
2021-09-26T11:17:52.000Z
2021-09-26T11:17:52.000Z
class MdFile(): def __init__(self, file_path, base_name, title, mdlinks): self.uid = 0 self.file_path = file_path self.base_name = base_name self.title = title if title else base_name self.mdlinks = mdlinks def __str__(self): return f'{self.uid}: {self.file_pat...
27.230769
76
0.624294
49
354
4.183673
0.367347
0.156098
0.17561
0
0
0
0
0
0
0
0
0.003831
0.262712
354
12
77
29.5
0.781609
0
0
0
0
0
0.164306
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
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
c66648d485cda735f947935ba42b6ee02d483a2c
990
py
Python
tests/apps/app1/config/auth.py
coboyoshi/uvicore
9cfdeeac83000b156fe48f068b4658edaf51c8de
[ "MIT" ]
11
2021-03-22T22:07:49.000Z
2022-03-08T16:18:33.000Z
tests/apps/app1/config/auth.py
coboyoshi/uvicore
9cfdeeac83000b156fe48f068b4658edaf51c8de
[ "MIT" ]
12
2021-03-04T05:51:24.000Z
2021-09-22T05:16:18.000Z
tests/apps/app1/config/auth.py
coboyoshi/uvicore
9cfdeeac83000b156fe48f068b4658edaf51c8de
[ "MIT" ]
2
2021-03-25T14:49:56.000Z
2021-11-17T23:20:29.000Z
config = { # -------------------------------------------------------------------------- # Database Connections # -------------------------------------------------------------------------- 'database': { 'default': 'auth', 'connections': { # SQLite # 'auth': { ...
29.117647
80
0.264646
47
990
5.510638
0.531915
0.07722
0
0
0
0
0
0
0
0
0
0.018315
0.448485
990
33
81
30
0.456044
0.374747
0
0
0
0
0.220564
0
0
0
0
0
0
1
0
false
0.058824
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
c66ab303e4b8b5c14338155fea9dd8e461152247
1,401
py
Python
status/migrations/0002_auto_20200807_2031.py
Ulorewien/covid19-india
1e44d4b4f01207f4b03d43b075bcbff0735bae19
[ "MIT" ]
1
2020-11-29T13:17:17.000Z
2020-11-29T13:17:17.000Z
status/migrations/0002_auto_20200807_2031.py
Ulorewien/covid19-india
1e44d4b4f01207f4b03d43b075bcbff0735bae19
[ "MIT" ]
9
2020-06-25T19:03:16.000Z
2021-07-15T17:15:47.000Z
status/migrations/0002_auto_20200807_2031.py
Ulorewien/covid19-india
1e44d4b4f01207f4b03d43b075bcbff0735bae19
[ "MIT" ]
8
2020-06-25T11:15:21.000Z
2021-10-04T15:43:43.000Z
# Generated by Django 2.2.13 on 2020-08-07 15:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('status', '0001_initial'), ] operations = [ migrations.CreateModel( name='StateData', fields=[ ('id'...
34.170732
114
0.533191
108
1,401
6.805556
0.546296
0.257143
0.141497
0.070748
0
0
0
0
0
0
0
0.024313
0.324768
1,401
40
115
35.025
0.752643
0.032834
0
0.147059
1
0
0.133777
0
0
0
0
0
0
1
0
false
0
0.029412
0
0.117647
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c6977156ce630820b330edb126c34ccc390c5d83
396
py
Python
src/api/error/basic.py
sonlhcsuit/togo
68e79e1df3ac5b9b8b834a53345028f332abbda8
[ "MIT" ]
null
null
null
src/api/error/basic.py
sonlhcsuit/togo
68e79e1df3ac5b9b8b834a53345028f332abbda8
[ "MIT" ]
null
null
null
src/api/error/basic.py
sonlhcsuit/togo
68e79e1df3ac5b9b8b834a53345028f332abbda8
[ "MIT" ]
null
null
null
from werkzeug.exceptions import HTTPException from src.util import logger class HTTPError(HTTPException): def __init__(self, code: int, description: str): self.code = code self.description = description def default_error_handler(error: HTTPError): logger.error(str(error), exc_info=error) ...
28.285714
78
0.734848
48
396
5.916667
0.5
0.056338
0
0
0
0
0
0
0
0
0
0
0.164141
396
13
79
30.461538
0.858006
0
0
0
0
0
0.040404
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c69cd4238b2cc19db8c5358eb3788d864ac787f6
1,886
py
Python
metrics.py
SuhasShanbhogue/Sport-Prediction
ed9e1d693be99bfe6bda665866fe2aba97569a0f
[ "MIT" ]
1
2020-12-11T03:00:58.000Z
2020-12-11T03:00:58.000Z
metrics.py
SuhasShanbhogue/Sport-Prediction
ed9e1d693be99bfe6bda665866fe2aba97569a0f
[ "MIT" ]
null
null
null
metrics.py
SuhasShanbhogue/Sport-Prediction
ed9e1d693be99bfe6bda665866fe2aba97569a0f
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from scipy import stats from sklearn.linear_model import LogisticRegression from sklearn.preprocessing import StandardScaler from sklearn.preprocessing import MinMaxScaler from sklearn.metrics import confusion_matrix from skl...
30.918033
63
0.749205
314
1,886
4.264331
0.232484
0.048544
0.040329
0.089619
0.250934
0.198656
0.170276
0.170276
0.170276
0.088125
0
0.014233
0.14316
1,886
61
64
30.918033
0.814356
0
0
0.075472
0
0
0.08903
0
0
0
0
0
0
0
null
null
0
0.358491
null
null
0.169811
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
c6b5278f4bab4feaa6421b7cfd1134a5c362d276
5,939
py
Python
ggongsul/membership/migrations/0001_initial.py
blc-cruise/ggongsul-api
0cdfc09ea75688ffc297bc0c0f08897091896f3e
[ "MIT" ]
2
2021-05-22T07:33:34.000Z
2021-09-18T04:22:25.000Z
ggongsul/membership/migrations/0001_initial.py
blc-cruise/ggongsul-api
0cdfc09ea75688ffc297bc0c0f08897091896f3e
[ "MIT" ]
null
null
null
ggongsul/membership/migrations/0001_initial.py
blc-cruise/ggongsul-api
0cdfc09ea75688ffc297bc0c0f08897091896f3e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2021-01-10 17:20 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
34.935294
109
0.388281
439
5,939
5.05467
0.291572
0.153673
0.067598
0.067598
0.492114
0.477693
0.438035
0.356918
0.319063
0.2758
0
0.007986
0.51507
5,939
169
110
35.142012
0.7625
0.007577
0
0.512346
1
0
0.125255
0.003904
0
0
0
0
0
1
0
false
0
0.018519
0
0.04321
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c6baeb98fe4d72607618df5335df3aa9a5ea4d95
375
py
Python
01_python/exercices/ex5.py
icecodder/nsi
eeb08932c1aa11f31bbdaae01361a526c5279527
[ "MIT" ]
4
2021-09-24T16:19:06.000Z
2021-10-06T16:21:53.000Z
01_python/exercices/ex5.py
icecodder/nsi
eeb08932c1aa11f31bbdaae01361a526c5279527
[ "MIT" ]
1
2021-10-06T16:25:25.000Z
2021-11-28T08:11:14.000Z
01_python/exercices/ex5.py
icecodder/nsi
eeb08932c1aa11f31bbdaae01361a526c5279527
[ "MIT" ]
null
null
null
from math import sqrt def f(a, b): print(f"{'a':<10}{'b':<10}{'b-a':<10}{'m':<10}{'m²':<15}{'Test m² > a'}") while b - a > 0.1: m = (a + b) / 2 print(f"{a:<10}{b:<10}{b-a:<10}{m:<10}{m ** 2:<15}{m ** 2 > a!s}") if m ** 2 > sqrt(3): b = m else: a = m ...
19.736842
77
0.362667
72
375
1.888889
0.347222
0.088235
0.102941
0.117647
0.279412
0.279412
0.279412
0.279412
0.279412
0.279412
0
0.163265
0.346667
375
18
78
20.833333
0.391837
0.042667
0
0
0
0.166667
0.333333
0.240896
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
0.25
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c6bbfca8711c6082de6863c5efbbbcfe325d8d17
342
py
Python
ClassifyMembranes/setup_parallel.py
Rhoana/rhoana
b4027a57451d175ea02c2c7ef472cf9c4e1a0efc
[ "MIT" ]
26
2015-01-08T08:30:10.000Z
2021-07-08T06:21:35.000Z
ClassifyMembranes/setup_parallel.py
andudu/rhoana
b4027a57451d175ea02c2c7ef472cf9c4e1a0efc
[ "MIT" ]
null
null
null
ClassifyMembranes/setup_parallel.py
andudu/rhoana
b4027a57451d175ea02c2c7ef472cf9c4e1a0efc
[ "MIT" ]
11
2015-01-23T23:30:26.000Z
2019-02-06T21:56:33.000Z
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy as np setup( cmdclass = {'build_ext': build_ext}, ext_modules = [Extension("rf_classify_parallel", ["rf_classify_parallel.pyx"])], extra_compile_args=['/openmp'], include_dirs ...
31.090909
84
0.751462
45
342
5.444444
0.555556
0.097959
0.146939
0
0
0
0
0
0
0
0
0
0.134503
342
11
85
31.090909
0.827703
0
0
0
0
0
0.174927
0.069971
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
c6be912b01bc8016f81eb1d37c8741c3a348dcb9
2,780
py
Python
song_generator/song_data.py
gorbulus/song_generator
ba527e7a0151177f794995d0d79fdeffff45b7fb
[ "MIT" ]
null
null
null
song_generator/song_data.py
gorbulus/song_generator
ba527e7a0151177f794995d0d79fdeffff45b7fb
[ "MIT" ]
null
null
null
song_generator/song_data.py
gorbulus/song_generator
ba527e7a0151177f794995d0d79fdeffff45b7fb
[ "MIT" ]
null
null
null
''' # song_data.py # William Ponton # 5.8.21 # Dictionaries and other data structures for use in the Song class song_data dictionary: Keys: - genre - tempo - time_signature - key_signature - chord_progression - drum_machines - instruments - pedals - synths - samplers ''' # import packages import random from collection...
40.289855
413
0.710791
395
2,780
4.926582
0.493671
0.055498
0.061665
0.014388
0.018499
0
0
0
0
0
0
0.01599
0.122662
2,780
68
414
40.882353
0.781878
0.17554
0
0
0
0
0.613208
0
0
0
0
0.029412
0
1
0.037037
false
0
0.074074
0
0.148148
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
c6c1049d0dac03c34d9a49593fb2d8ae72a380b7
459
py
Python
memoirs.py
bunchesofdonald/sixwordmemoirbot
0b52c3ee504b8deb953332f4a0a99066e22dfcea
[ "MIT" ]
null
null
null
memoirs.py
bunchesofdonald/sixwordmemoirbot
0b52c3ee504b8deb953332f4a0a99066e22dfcea
[ "MIT" ]
null
null
null
memoirs.py
bunchesofdonald/sixwordmemoirbot
0b52c3ee504b8deb953332f4a0a99066e22dfcea
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json import re from markov import markov, generate_text with open('memoirs.json') as infile: memoirs = json.load(infile) memoirs = [re.sub('[",\.!?-]+', '', m).lower() for m in memoirs] chain = None for m in memoirs: chain = markov(m, chain) text = ...
19.956522
68
0.642702
67
459
4.358209
0.507463
0.123288
0.041096
0.089041
0.123288
0
0
0
0
0
0
0.005333
0.183007
459
22
69
20.863636
0.773333
0.091503
0
0.153846
1
0
0.057831
0
0
0
0
0
0
0
null
null
0
0.230769
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
c6c8f681f33bdd7eef0b3fe219495ba9ea9fbb15
395
py
Python
ASE20_data/evaluation/baselines/b3.py
henryhchchc/MockSniffer
6d6e845616004ca77ce6d73709cff94a1a32c6c5
[ "MIT" ]
4
2020-09-03T13:20:13.000Z
2021-07-14T08:04:26.000Z
ASE20_data/evaluation/baselines/b3.py
henryhchchc/MockSniffer
6d6e845616004ca77ce6d73709cff94a1a32c6c5
[ "MIT" ]
null
null
null
ASE20_data/evaluation/baselines/b3.py
henryhchchc/MockSniffer
6d6e845616004ca77ce6d73709cff94a1a32c6c5
[ "MIT" ]
null
null
null
def baseline3(X): return ( X['ABS'] | X['INT'] | X['UINT'] | (X['TDEP'] > X['TDEP'].mean()) | (X['FIELD'] > X['FIELD'].mean()) | ((X['UAPI']+X['TUAPI']) > (X['UAPI']+X['TUAPI']).mean()) | (X['EXPCAT'] > 0) | (X['RBFA'] > 0) | (X['CONDCALL'] > 0...
26.333333
66
0.334177
46
395
2.869565
0.391304
0.151515
0.090909
0.166667
0
0
0
0
0
0
0
0.019455
0.349367
395
14
67
28.214286
0.494163
0
0
0
0
0
0.192405
0
0
0
0
0
0
1
0.071429
false
0
0
0.071429
0.142857
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c6ca9f18216caa165d46b77b5522acc1d6aa1f07
813
py
Python
practice_problems/sorting/search_in_rotated_array.py
YazzyYaz/codinginterviews
b8115c43507d738bccd90366f2bc02867ba7f13f
[ "MIT" ]
null
null
null
practice_problems/sorting/search_in_rotated_array.py
YazzyYaz/codinginterviews
b8115c43507d738bccd90366f2bc02867ba7f13f
[ "MIT" ]
null
null
null
practice_problems/sorting/search_in_rotated_array.py
YazzyYaz/codinginterviews
b8115c43507d738bccd90366f2bc02867ba7f13f
[ "MIT" ]
null
null
null
def search_in_rotated_array(alist, k, leftix=0, rightix=None): if not rightix: rightix = len(alist) midpoint = (leftix + rightix) / 2 aleft, amiddle = alist[leftix], alist[midpoint] if k == amiddle: return midpoint if k == aleft: return leftix if aleft > amiddle: ...
36.954545
73
0.633456
118
813
4.211864
0.338983
0.096579
0.181087
0.241449
0.462777
0.462777
0.462777
0.39839
0.382294
0.382294
0
0.066445
0.259533
813
21
74
38.714286
0.759136
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0
0
0.35
0.05
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
c6da43a318085ed5dc8a681c4d1d0e7003951169
1,614
py
Python
ggongsul/partner/migrations/0003_partneragreement.py
blc-cruise/ggongsul-api
0cdfc09ea75688ffc297bc0c0f08897091896f3e
[ "MIT" ]
2
2021-05-22T07:33:34.000Z
2021-09-18T04:22:25.000Z
ggongsul/partner/migrations/0003_partneragreement.py
blc-cruise/ggongsul-api
0cdfc09ea75688ffc297bc0c0f08897091896f3e
[ "MIT" ]
null
null
null
ggongsul/partner/migrations/0003_partneragreement.py
blc-cruise/ggongsul-api
0cdfc09ea75688ffc297bc0c0f08897091896f3e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-12-06 23:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("partner", "0002_auto_20201205_1630"), ] operations = [ migrations.CreateModel( name="PartnerAgr...
29.888889
84
0.405824
119
1,614
5.319328
0.537815
0.121643
0.07109
0.06951
0.088468
0
0
0
0
0
0
0.038462
0.50062
1,614
53
85
30.45283
0.746898
0.027881
0
0.170213
1
0
0.121889
0.014678
0
0
0
0
0
1
0
false
0
0.042553
0
0.106383
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c6da50f994fb6dec8552e2cb6d5017c97cbec004
208
py
Python
chapter6/6.2/decorator_test.py
yifengyou/crazy-python
28099bd5011de6981a7c5412783952cc7601ae0c
[ "Unlicense" ]
null
null
null
chapter6/6.2/decorator_test.py
yifengyou/crazy-python
28099bd5011de6981a7c5412783952cc7601ae0c
[ "Unlicense" ]
null
null
null
chapter6/6.2/decorator_test.py
yifengyou/crazy-python
28099bd5011de6981a7c5412783952cc7601ae0c
[ "Unlicense" ]
null
null
null
# coding:utf-8 # File Name: decorator_test # Author : yifengyou # Date : 2021/07/18 def funA(fn): print("A") fn() return "hello" @funA def funB(): print("B") print(funB)
12.235294
31
0.543269
28
208
4
0.785714
0
0
0
0
0
0
0
0
0
0
0.062069
0.302885
208
16
32
13
0.710345
0.447115
0
0
0
0
0.063636
0
0
0
0
0
0
1
0.25
false
0
0
0
0.375
0.375
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
1
0
0
0
0
0
0
0
2
c6ded2462573fdea817e5bf0a2ae4d937f5d4db7
1,064
py
Python
pyactus/domain/enums/interest_calculation_base.py
CasperLabs/actus-core-py
070de8a31a29792f3e488db93300947a11f496b7
[ "Apache-2.0" ]
null
null
null
pyactus/domain/enums/interest_calculation_base.py
CasperLabs/actus-core-py
070de8a31a29792f3e488db93300947a11f496b7
[ "Apache-2.0" ]
null
null
null
pyactus/domain/enums/interest_calculation_base.py
CasperLabs/actus-core-py
070de8a31a29792f3e488db93300947a11f496b7
[ "Apache-2.0" ]
null
null
null
import enum class InterestCalculationBase(enum.Enum): """IPCB :: Interest Calculation Base. This is important for amortizing instruments. The basis of interest calculation is normally the notional outstanding amount as per SD. This is considered the fair basis and in many countries the only legal basis. If N...
50.666667
264
0.759398
159
1,064
5.081761
0.540881
0.117574
0.049505
0.074257
0.131188
0.131188
0.131188
0.094059
0
0
0
0.003517
0.198308
1,064
20
265
53.2
0.943728
0.883459
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c6e2591b3a9994c90718195618f8849a9904f2d7
128,118
py
Python
tpipe.py
caseyjlaw/tpipe
d8337587230e334ee7f7147f64c2ae26566b0235
[ "Apache-2.0" ]
3
2015-01-05T01:23:07.000Z
2018-09-30T07:53:58.000Z
tpipe.py
caseyjlaw/tpipe
d8337587230e334ee7f7147f64c2ae26566b0235
[ "Apache-2.0" ]
null
null
null
tpipe.py
caseyjlaw/tpipe
d8337587230e334ee7f7147f64c2ae26566b0235
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python """ tpipe.py --- read and visualize visibility data to search for transients Generalization of evlavis, etc. Can read MS or Miriad formatted data. Will try to import the following: - CASA and pyrap for MS reading - miriad-python for Miriad reading - aipy for imaging numpy array data """ import ...
51.370489
811
0.591018
17,624
128,118
4.266909
0.089197
0.007819
0.005426
0.003976
0.690878
0.664508
0.644628
0.627128
0.611848
0.60633
0
0.026697
0.283114
128,118
2,493
812
51.391095
0.792065
0.144172
0
0.588725
0
0.009609
0.080684
0
0
0
0
0
0
0
null
null
0.007047
0.019859
null
null
0.081358
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
c6e891651952b27226bb28fa1df0e725f78f1444
750
py
Python
angr_platforms/tricore/simos_tricore.py
shahinsba/angr-platforms
86f9ea90c396fb5561d0196a2d1a873e573b0294
[ "BSD-2-Clause" ]
null
null
null
angr_platforms/tricore/simos_tricore.py
shahinsba/angr-platforms
86f9ea90c396fb5561d0196a2d1a873e573b0294
[ "BSD-2-Clause" ]
null
null
null
angr_platforms/tricore/simos_tricore.py
shahinsba/angr-platforms
86f9ea90c396fb5561d0196a2d1a873e573b0294
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 """ simos_tricore.py Define OS simulator for tricore architecture. """ from angr.calling_conventions import SimCC, register_default_cc, SimRegArg from .arch_tricore import ArchTRICORE class SimCCTricore(SimCC): """ Calling convertion simulator for tricore architecture. """ ARG_REGS = ['d...
37.5
74
0.637333
94
750
4.925532
0.691489
0.051836
0.082073
0.133909
0
0
0
0
0
0
0
0.066116
0.193333
750
19
75
39.473684
0.699174
0.273333
0
0
0
0
0.126894
0
0
0
0
0.052632
0
1
0
false
0
0.181818
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
1
0
0
0
0
0
0
0
1
0
0
2
c6f402f3fa9e6d514fe5b7bdd530e7ec0e623479
658
py
Python
house_robber.py
tusharsadhwani/leetcode
a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8
[ "MIT" ]
6
2021-05-21T01:10:42.000Z
2021-12-16T16:12:30.000Z
house_robber.py
tusharsadhwani/leetcode
a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8
[ "MIT" ]
null
null
null
house_robber.py
tusharsadhwani/leetcode
a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8
[ "MIT" ]
null
null
null
class Solution: def rob(self, nums: list[int]) -> int: if len(nums) == 0: return 0 max_loot: list[int] = [0 for _ in nums] for index, num in enumerate(nums): if index == 0: max_loot[index] = num elif index == 1: max_loot[in...
21.225806
61
0.389058
78
658
3.166667
0.371795
0.226721
0.291498
0.121457
0.251012
0.251012
0.251012
0.251012
0.251012
0
0
0.060694
0.474164
658
30
62
21.933333
0.653179
0
0
0.076923
0
0
0
0
0
0
0
0
0
1
0.038462
false
0
0
0
0.153846
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
059db18f06e038424ee617d9555a718b37a6439d
900
py
Python
app/models/user_capsule_model.py
endlessdev/Capsule-Flask-App
2d3faa789cbee3f59eb8a4f260c20ffd30ebf856
[ "MIT" ]
null
null
null
app/models/user_capsule_model.py
endlessdev/Capsule-Flask-App
2d3faa789cbee3f59eb8a4f260c20ffd30ebf856
[ "MIT" ]
null
null
null
app/models/user_capsule_model.py
endlessdev/Capsule-Flask-App
2d3faa789cbee3f59eb8a4f260c20ffd30ebf856
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from sqlalchemy import Column, Integer, String, DateTime, Boolean, Enum, ForeignKey from app import db from app.models.user_model import UserModel from app.models.capsule_model import CapsuleModel class UserCapsuleModel(db.Model): __tablename__ = 'user_capsule' id = ...
34.615385
115
0.751111
117
900
5.538462
0.42735
0.111111
0.069444
0.067901
0.138889
0.138889
0.138889
0
0
0
0
0.001289
0.137778
900
25
116
36
0.833763
0.023333
0
0
0
0
0.067275
0
0
0
0
0
0
1
0.125
false
0
0.3125
0.0625
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
05ae9faff24430ed54db15d529d80cead1f24d29
1,741
py
Python
proc/mac.py
linlinhaohao888/pcap_compress
83acec7ba7a0d79e8afd40b9a28aa4dbbdbb373b
[ "BSD-3-Clause" ]
2
2020-10-28T03:56:50.000Z
2020-10-28T07:22:05.000Z
proc/mac.py
linlinhaohao888/pcap_compress
83acec7ba7a0d79e8afd40b9a28aa4dbbdbb373b
[ "BSD-3-Clause" ]
null
null
null
proc/mac.py
linlinhaohao888/pcap_compress
83acec7ba7a0d79e8afd40b9a28aa4dbbdbb373b
[ "BSD-3-Clause" ]
1
2021-06-07T08:28:08.000Z
2021-06-07T08:28:08.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "mengdj@outlook.com" from proc.arp import ARP from proc.ip import IP from proc.ipv6 import IPV6 from proc.util import ProcData class MAC(ProcData): """mac协议 14B+""" _dst = None _src = None _type = None _data = None de...
25.231884
94
0.51637
224
1,741
3.8125
0.303571
0.084309
0.04918
0.059719
0.245902
0.154567
0.098361
0.098361
0.098361
0.098361
0
0.049283
0.358989
1,741
68
95
25.602941
0.71595
0.071798
0
0.14
0
0
0.03188
0
0
0
0.013012
0
0.02
1
0.18
false
0
0.08
0.14
0.52
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
05b0a603e41e948cc4d0b554a17b95112cbe3f34
13,915
py
Python
pysnmp/OADHCP-SERVER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/OADHCP-SERVER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/OADHCP-SERVER-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 OADHCP-SERVER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/OADHCP-SERVER-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:22:47 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
111.32
2,261
0.763277
1,541
13,915
6.892278
0.112914
0.01224
0.016948
0.01996
0.397985
0.36748
0.329536
0.318614
0.202994
0.188118
0
0.076941
0.08746
13,915
124
2,262
112.217742
0.75949
0.023572
0
0.017544
0
0
0.126676
0.011636
0
0
0
0
0
1
0
false
0
0.052632
0
0.122807
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
05b749ffcbe0ef54ac5f3bd6219b12aa1d8b2104
109
py
Python
face_analyser/configuration/data_settings.py
SergioML9/emotion_recogniser
f519a1075d713c8cea0bfce9c746765e6ae0a232
[ "Apache-2.0" ]
null
null
null
face_analyser/configuration/data_settings.py
SergioML9/emotion_recogniser
f519a1075d713c8cea0bfce9c746765e6ae0a232
[ "Apache-2.0" ]
null
null
null
face_analyser/configuration/data_settings.py
SergioML9/emotion_recogniser
f519a1075d713c8cea0bfce9c746765e6ae0a232
[ "Apache-2.0" ]
null
null
null
sample_split=1.0 data_loader_usage = 'Training' training_data = "train_train" evaluate_data = "privatetest"
18.166667
30
0.798165
15
109
5.4
0.733333
0
0
0
0
0
0
0
0
0
0
0.020408
0.100917
109
5
31
21.8
0.806122
0
0
0
0
0
0.277778
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
05e974701a4d74b99c7ade176b46b3b110ae9208
782
py
Python
tupla_maior_menor.py
eduardobaltazarmarfim/PythonC
8e44b4f191582c73cca6df98120ab142145c4ba1
[ "MIT" ]
null
null
null
tupla_maior_menor.py
eduardobaltazarmarfim/PythonC
8e44b4f191582c73cca6df98120ab142145c4ba1
[ "MIT" ]
null
null
null
tupla_maior_menor.py
eduardobaltazarmarfim/PythonC
8e44b4f191582c73cca6df98120ab142145c4ba1
[ "MIT" ]
null
null
null
import random def retorno(): resp=input('Deseja executar o programa novamente?[s/n] ') if(resp=='S' or resp=='s'): verificar() else: print('Processo finalizado com sucesso!') pass def cabecalho(titulo): print('-'*30) print(' '*9+titulo+' '*15) print('-'*30) pa...
15.038462
114
0.580563
104
782
4.355769
0.528846
0.143488
0.154525
0.1766
0.1766
0.1766
0.1766
0.1766
0.1766
0.1766
0
0.036975
0.23913
782
52
115
15.038462
0.72437
0
0
0.307692
0
0
0.231162
0
0
0
0
0
0
1
0.153846
false
0.153846
0.038462
0
0.192308
0.346154
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
1
0
0
0
0
0
2
05ee6f7b9c3a5d6efc08fbe11ebf79d50754b8d5
12,716
py
Python
tests/test_twoside_normal_factor_iso.py
jedludlow/tolerance_interval_py
cf3ecd1e2f9b870de3e71bc92e07e6394510c001
[ "MIT" ]
9
2021-12-15T22:54:24.000Z
2022-03-12T00:25:07.000Z
tests/test_twoside_normal_factor_iso.py
jedludlow/tolerance_interval_py
cf3ecd1e2f9b870de3e71bc92e07e6394510c001
[ "MIT" ]
5
2019-11-07T15:26:21.000Z
2022-02-25T19:40:50.000Z
tests/test_twoside_normal_factor_iso.py
jedludlow/tolerance_interval_py
cf3ecd1e2f9b870de3e71bc92e07e6394510c001
[ "MIT" ]
1
2021-03-11T19:28:22.000Z
2021-03-11T19:28:22.000Z
# Author: Copyright (c) 2021 Jed Ludlow # License: MIT License """ Test normla_factor against standard tables of tolerance factors as published in ISO 16269-6:2014 Annex F. A sampling of values from the tables is included here for brevity. """ import numpy as np import toleranceinterval.twoside as ts import unittes...
29.232184
79
0.530513
2,211
12,716
3.008141
0.321122
0.022553
0.024357
0.040595
0.381597
0.377086
0.377086
0.329725
0.329725
0.329725
0
0.442453
0.311261
12,716
434
80
29.299539
0.316967
0.120006
0
0.361446
0
0
0.000452
0
0
0
0
0
0.004016
1
0.008032
false
0
0.012048
0
0.285141
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