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
ec690365575892d65b9723f32534aecec881f391
633
py
Python
app/main.py
lealoureiro/audio-downloader-api
86d89604880e9124bf16768cc497995b452aa24c
[ "MIT" ]
3
2021-07-29T00:33:11.000Z
2022-02-28T11:32:58.000Z
app/main.py
lealoureiro/audio-downloader-api
86d89604880e9124bf16768cc497995b452aa24c
[ "MIT" ]
null
null
null
app/main.py
lealoureiro/audio-downloader-api
86d89604880e9124bf16768cc497995b452aa24c
[ "MIT" ]
null
null
null
from fastapi import FastAPI from fastapi.logger import logger as fastapi_logger import os import api app = FastAPI() app.include_router(api.router) api.library_dir = os.getenv("LIBRARY_DIR", '.') api.home_assistant_notification = os.getenv("HOME_ASSISTANT_NOTIFICATION", '.') api.home_assistant_address =...
31.65
82
0.739336
86
633
5.093023
0.348837
0.237443
0.146119
0.191781
0
0
0
0
0
0
0
0.007233
0.126382
633
20
83
31.65
0.78481
0
0
0
0
0
0.221498
0.125407
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
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
1
0
0
0
0
3
ec84d59b58cf5ab7719d57fab7d102c7ee26e2c0
5,138
py
Python
EEG_Lightning/dassl/engine/base/eegnet.py
mcd4874/NeurIPS_competition
4df1f222929e9824a55c9c4ae6634743391b0fe9
[ "MIT" ]
23
2021-10-14T02:31:06.000Z
2022-01-25T16:26:44.000Z
EEG_Lightning/dassl/engine/base/eegnet.py
mcd4874/NeurIPS_competition
4df1f222929e9824a55c9c4ae6634743391b0fe9
[ "MIT" ]
null
null
null
EEG_Lightning/dassl/engine/base/eegnet.py
mcd4874/NeurIPS_competition
4df1f222929e9824a55c9c4ae6634743391b0fe9
[ "MIT" ]
1
2022-03-05T06:54:11.000Z
2022-03-05T06:54:11.000Z
from dassl.engine import TRAINER_REGISTRY,TrainerBase from dassl.engine.base.base_model import BaseModel @TRAINER_REGISTRY.register() class EEGNET(BaseModel): def __init__(self, cfg): super().__init__(cfg) # self.ce = nn.CrossEntropyLoss() # # if cfg.DATASET.TOTAL_CLASS_WEIGHT: # ...
34.483221
137
0.593422
635
5,138
4.546457
0.264567
0.012123
0.024939
0.022168
0.077589
0.036716
0.036716
0.036716
0.024939
0
0
0.003244
0.28007
5,138
148
138
34.716216
0.777237
0.90035
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ec8593ce1241513833270279c3fc12d8c8c1bc2c
847
py
Python
examples/python/ExampleIdlData/_ExampleIdlData.py
vbillys/reading-group-serialization
db1eb55b1af236ccf7ffbc4b0a9139c119704c8c
[ "CC0-1.0" ]
null
null
null
examples/python/ExampleIdlData/_ExampleIdlData.py
vbillys/reading-group-serialization
db1eb55b1af236ccf7ffbc4b0a9139c119704c8c
[ "CC0-1.0" ]
null
null
null
examples/python/ExampleIdlData/_ExampleIdlData.py
vbillys/reading-group-serialization
db1eb55b1af236ccf7ffbc4b0a9139c119704c8c
[ "CC0-1.0" ]
null
null
null
""" Generated by Eclipse Cyclone DDS idlc Python Backend Cyclone DDS IDL version: v0.9.0 Module: ExampleIdlData IDL file: ExampleIdlData.idl """ from enum import auto from typing import TYPE_CHECKING, Optional from dataclasses import dataclass import cyclonedds.idl as idl import cyclonedds.idl.annotations as...
24.911765
84
0.782763
99
847
6.686869
0.535354
0.181269
0.086103
0
0
0
0
0
0
0
0
0.008197
0.135773
847
33
85
25.666667
0.896175
0.207792
0
0
1
0
0.199387
0.153374
0
0
0
0
0
1
0
false
0
0.388889
0
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ec8888636b55c8bff5ebace60396744a79dfcdf4
348
py
Python
org/davelush/eventsourcing/arrival_event.py
davelush/event-sourcing
c101757a50331ae7255e39d1df7889baf7fadd4a
[ "Apache-2.0" ]
null
null
null
org/davelush/eventsourcing/arrival_event.py
davelush/event-sourcing
c101757a50331ae7255e39d1df7889baf7fadd4a
[ "Apache-2.0" ]
null
null
null
org/davelush/eventsourcing/arrival_event.py
davelush/event-sourcing
c101757a50331ae7255e39d1df7889baf7fadd4a
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from org.davelush.eventsourcing.event import Event from org.davelush.eventsourcing.shipping.port import Port from org.davelush.eventsourcing.shipping.ship import Ship class ArrivalEvent(Event): def __init__(self, ts: datetime, port: Port, ship: Ship): super(ArrivalEvent, se...
31.636364
61
0.781609
46
348
5.73913
0.369565
0.079545
0.170455
0.318182
0.272727
0
0
0
0
0
0
0
0.12931
348
11
62
31.636364
0.871287
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.857143
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ecaaaf289188f8456e83148499c27c5cc45e2b20
67
py
Python
Calculator/Squareroot.py
KashNJ21/calculator
d37f4c24ab33391feb345f7282407e8a9ee3e9ea
[ "MIT" ]
null
null
null
Calculator/Squareroot.py
KashNJ21/calculator
d37f4c24ab33391feb345f7282407e8a9ee3e9ea
[ "MIT" ]
1
2019-11-15T05:41:37.000Z
2019-11-15T05:41:37.000Z
Calculator/Squareroot.py
KashNJ21/calculator
d37f4c24ab33391feb345f7282407e8a9ee3e9ea
[ "MIT" ]
1
2019-11-13T23:36:39.000Z
2019-11-13T23:36:39.000Z
def squareroot(a): a = float(a) c = a ** (1/2) return c
16.75
18
0.477612
12
67
2.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.045455
0.343284
67
4
19
16.75
0.681818
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
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
1
0
0
0
0
0
0
0
3
ecae742d810020569a844b670d5a2f6925954a46
8,936
py
Python
src/tests/sources/test_file_data_source.py
Pejo-306/adastra-python-task
210a047ef39b9cba8581f77a807669f7805afe02
[ "MIT" ]
null
null
null
src/tests/sources/test_file_data_source.py
Pejo-306/adastra-python-task
210a047ef39b9cba8581f77a807669f7805afe02
[ "MIT" ]
null
null
null
src/tests/sources/test_file_data_source.py
Pejo-306/adastra-python-task
210a047ef39b9cba8581f77a807669f7805afe02
[ "MIT" ]
null
null
null
import os import json from unittest import TestCase from src.definitions import INPUT_FILES_DIR from src.sources.data_source import DataSource from src.sources.file_data_source import FileDataSource from src.exceptions.file_not_open_error import FileNotOpenError from src.exceptions.file_source_depleted import FileSour...
43.169082
120
0.629252
1,001
8,936
5.432567
0.115884
0.10206
0.033468
0.047812
0.810592
0.761493
0.744943
0.683707
0.645274
0.593417
0
0.03866
0.241607
8,936
206
121
43.378641
0.76376
0.042525
0
0.681564
0
0.01676
0.12699
0.015098
0
0
0
0
0.374302
1
0.089385
false
0
0.044693
0
0.139665
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ecb12872629a5f91665de1f3936a3a99adfb8e3e
3,950
py
Python
aliyun-python-sdk-nas/aliyunsdknas/request/v20170626/CreateFileSystemRequest.py
leafcoder/aliyun-openapi-python-sdk
26b441ab37a5cda804de475fd5284bab699443f1
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-nas/aliyunsdknas/request/v20170626/CreateFileSystemRequest.py
leafcoder/aliyun-openapi-python-sdk
26b441ab37a5cda804de475fd5284bab699443f1
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-nas/aliyunsdknas/request/v20170626/CreateFileSystemRequest.py
leafcoder/aliyun-openapi-python-sdk
26b441ab37a5cda804de475fd5284bab699443f1
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
30.859375
74
0.756709
525
3,950
5.48
0.232381
0.033368
0.077859
0.094543
0.172402
0.172402
0.172402
0
0
0
0
0.003501
0.132152
3,950
128
75
30.859375
0.835764
0.190886
0
0
0
0
0.126258
0
0
0
0
0
0
1
0.445946
false
0
0.027027
0.216216
0.702703
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ecc2d9d936ca97db260ec21a93494c42b8ba8967
937
py
Python
theano/compile/__init__.py
bridgeland/Theano-PyMC
ddfbde2d03061dead7190a99b78c7cef7896bd04
[ "BSD-3-Clause" ]
null
null
null
theano/compile/__init__.py
bridgeland/Theano-PyMC
ddfbde2d03061dead7190a99b78c7cef7896bd04
[ "BSD-3-Clause" ]
null
null
null
theano/compile/__init__.py
bridgeland/Theano-PyMC
ddfbde2d03061dead7190a99b78c7cef7896bd04
[ "BSD-3-Clause" ]
null
null
null
from theano.compile.ops import ( DeepCopyOp, deep_copy_op, register_deep_copy_op_c_code, Shape, shape, register_shape_c_code, Shape_i, register_shape_i_c_code, ViewOp, view_op, register_view_op_c_code, FromFunctionOp, as_op, Rebroadcast, register_rebroadcast_c...
23.425
81
0.784418
119
937
5.890756
0.336134
0.156919
0.266762
0.131241
0
0
0
0
0
0
0
0
0.160085
937
39
82
24.025641
0.890724
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.366667
0
0.366667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ecdf93ca61f60e48f48b460b40a8f3d4ad85883f
307
py
Python
STC_interface.py
CooolWindS/STC-for-python
c8952ec1bdae6408f97b762fdec2c122d6d6f7f0
[ "MIT" ]
null
null
null
STC_interface.py
CooolWindS/STC-for-python
c8952ec1bdae6408f97b762fdec2c122d6d6f7f0
[ "MIT" ]
null
null
null
STC_interface.py
CooolWindS/STC-for-python
c8952ec1bdae6408f97b762fdec2c122d6d6f7f0
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jan 28 14:46:34 2021 @author: coolwind """ from embed_interface import * from extract_interface import * from compare_message import * def main(): embed_interface() extract_interface() compare() if __name__ == "__main__": main()
15.35
35
0.690554
41
307
4.853659
0.707317
0.140704
0.190955
0
0
0
0
0
0
0
0
0.054902
0.169381
307
20
36
15.35
0.72549
0.319218
0
0
0
0
0.039801
0
0
0
0
0
0
1
0.111111
true
0
0.333333
0
0.444444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ecec84007b60bf2f26bfc0604f585bbf4a835b8a
3,871
py
Python
jactorch/transforms/coor/transforms.py
dapatil211/Jacinle
7638a46dc06223a1871d88f92aade644883f40a0
[ "MIT" ]
114
2018-01-25T04:44:07.000Z
2022-03-09T14:33:42.000Z
third_party/Jacinle/jactorch/transforms/coor/transforms.py
dair-iitd/1oML_workdir
37117de4abf1774548786e9534c90977d67091d8
[ "Apache-2.0" ]
7
2018-05-08T17:02:24.000Z
2022-02-09T23:44:06.000Z
third_party/Jacinle/jactorch/transforms/coor/transforms.py
dair-iitd/1oML_workdir
37117de4abf1774548786e9534c90977d67091d8
[ "Apache-2.0" ]
268
2018-04-08T10:54:35.000Z
2022-03-01T07:10:02.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # File : transforms.py # Author : Jiayuan Mao # Email : maojiayuan@gmail.com # Date : 03/03/2018 # # This file is part of Jacinle. # Distributed under terms of the MIT license. import random import torch import torchvision.transforms as transforms import jactorch....
28.463235
123
0.673986
475
3,871
5.218947
0.242105
0.118596
0.084308
0.101654
0.31787
0.29165
0.217426
0.190803
0.143203
0.12384
0
0.005514
0.203565
3,871
135
124
28.674074
0.798573
0.065358
0
0.345679
0
0
0.062101
0
0
0
0
0
0
1
0.246914
false
0
0.061728
0.148148
0.802469
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
01ad6b6c154ea0f1976c8c2c0e850e2007dea912
1,316
py
Python
SoftUni-Basic/pre_exam/test_3.py
Darkartt/SoftUni
23d65ddb9f1e454c9b1338a60dc52f5a64c30bc9
[ "MIT" ]
null
null
null
SoftUni-Basic/pre_exam/test_3.py
Darkartt/SoftUni
23d65ddb9f1e454c9b1338a60dc52f5a64c30bc9
[ "MIT" ]
null
null
null
SoftUni-Basic/pre_exam/test_3.py
Darkartt/SoftUni
23d65ddb9f1e454c9b1338a60dc52f5a64c30bc9
[ "MIT" ]
null
null
null
amount_of_dancers = int(input()) amount_of_points = float(input()) season = input() place = input() money_left = 0 charity = 0 dancers_point_won = amount_of_dancers * amount_of_points dancers_point_won_aboard = dancers_point_won + (dancers_point_won * 0.50) money_per_dancer = 0 if place == "Bulgaria": if season =...
37.6
95
0.714286
186
1,316
4.61828
0.177419
0.335274
0.419092
0.268917
0.675204
0.675204
0.642608
0.54482
0.54482
0.54482
0
0.03016
0.193769
1,316
35
96
37.6
0.779453
0
0
0.4
0
0
0.078208
0.016705
0
0
0
0
0
1
0
false
0
0
0
0
0.066667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
01b0dc5581c405672b9379dab7549733d1185071
198
py
Python
data_collection/gazette/spiders/pe_petrolina.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
268
2020-08-18T18:59:16.000Z
2022-03-23T02:11:03.000Z
data_collection/gazette/spiders/pe_petrolina.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
254
2020-08-18T14:09:43.000Z
2022-03-28T11:30:51.000Z
data_collection/gazette/spiders/pe_petrolina.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
155
2020-08-19T22:52:50.000Z
2022-03-13T02:53:17.000Z
from gazette.spiders.base.doem import DoemGazetteSpider class PePetrolinaSpider(DoemGazetteSpider): TERRITORY_ID = "2611101" name = "pe_petrolina" state_city_url_part = "pe/petrolina"
24.75
55
0.772727
22
198
6.727273
0.863636
0.148649
0
0
0
0
0
0
0
0
0
0.04142
0.146465
198
7
56
28.285714
0.83432
0
0
0
0
0
0.156566
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
01c14c2ab55fa0c2b17aebf245cbd3891320c981
262
py
Python
recohut/__init__.py
sparsh-ai/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
null
null
null
recohut/__init__.py
sparsh-ai/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
1
2022-01-12T05:40:57.000Z
2022-01-12T05:40:57.000Z
recohut/__init__.py
RecoHut-Projects/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
null
null
null
__version__ = "0.0.13" import recohut.datasets import recohut.evaluation import recohut.models import recohut.rl import recohut.trainers import recohut.transforms import recohut.utils import recohut.visualization __all__ = [ 'recohut', '__version__', ]
17.466667
28
0.78626
31
262
6.258065
0.451613
0.536082
0
0
0
0
0
0
0
0
0
0.017544
0.129771
262
15
29
17.466667
0.833333
0
0
0
0
0
0.091255
0
0
0
0
0
0
1
0
false
0
0.615385
0
0.615385
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
1
0
1
0
0
3
01ecf51a9ffcd377026a29e0f07ac93c3267638f
120
py
Python
webcamStream/getImage.py
roblee357/JRone
f6c3080f260858f12da0be9f353cc9b62fd47c06
[ "MIT" ]
null
null
null
webcamStream/getImage.py
roblee357/JRone
f6c3080f260858f12da0be9f353cc9b62fd47c06
[ "MIT" ]
null
null
null
webcamStream/getImage.py
roblee357/JRone
f6c3080f260858f12da0be9f353cc9b62fd47c06
[ "MIT" ]
null
null
null
import cv2 import numpy as np img = cv2.imread('/home/ros/image.jpg') imgB = np.add(img,50) cv2.imwrite('imb.jpg',imgB)
20
39
0.708333
23
120
3.695652
0.695652
0.164706
0
0
0
0
0
0
0
0
0
0.046729
0.108333
120
5
40
24
0.747664
0
0
0
0
0
0.216667
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bf0014cb0501c97db65f398b42eada72ad604e87
34
py
Python
graphysio/algorithms/__init__.py
jaj42/dyngraph
1fbc73b6a9963bb88938833eb5d1a6ede9d718a8
[ "0BSD" ]
1
2018-02-19T20:25:03.000Z
2018-02-19T20:25:03.000Z
graphysio/algorithms/__init__.py
jaj42/dyngraph
1fbc73b6a9963bb88938833eb5d1a6ede9d718a8
[ "0BSD" ]
1
2016-10-26T10:50:48.000Z
2017-01-18T14:48:35.000Z
graphysio/algorithms/__init__.py
jaj42/dyngraph
1fbc73b6a9963bb88938833eb5d1a6ede9d718a8
[ "0BSD" ]
6
2017-02-05T18:53:43.000Z
2018-05-09T17:39:45.000Z
__all__ = ['filters', 'waveform']
17
33
0.647059
3
34
6
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
34
1
34
34
0.6
0
0
0
0
0
0.441176
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bf0157d62863b6a824cd7550f35d55d717efe9b1
126
py
Python
caplena/filters/__init__.py
caplena/caplena-python
ba714edb11df69798b25c8b8b8623e0d5f75f982
[ "MIT" ]
6
2022-03-06T02:03:44.000Z
2022-03-31T09:34:04.000Z
caplena/filters/__init__.py
caplena/caplena-python
ba714edb11df69798b25c8b8b8623e0d5f75f982
[ "MIT" ]
1
2022-03-06T04:38:15.000Z
2022-03-09T11:35:57.000Z
caplena/filters/__init__.py
caplena/caplena-python
ba714edb11df69798b25c8b8b8623e0d5f75f982
[ "MIT" ]
null
null
null
from caplena.filters.projects_filter import ProjectsFilter, RowsFilter __all__ = [ "ProjectsFilter", "RowsFilter", ]
18
70
0.746032
11
126
8.090909
0.818182
0.539326
0
0
0
0
0
0
0
0
0
0
0.15873
126
6
71
21
0.839623
0
0
0
0
0
0.190476
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bf15e6331e14971bde25b88e1d1f2fb170c139c9
586
py
Python
payments/models.py
pyconsk/django-konfera
1072778e109d67bbc49fe3b06fa8ab29d6131eea
[ "MIT" ]
69
2016-09-11T08:49:06.000Z
2022-02-04T12:38:57.000Z
payments/models.py
pyconsk/django-konfera
1072778e109d67bbc49fe3b06fa8ab29d6131eea
[ "MIT" ]
300
2016-09-09T14:53:49.000Z
2018-01-22T15:10:28.000Z
payments/models.py
pyconsk/django-konfera
1072778e109d67bbc49fe3b06fa8ab29d6131eea
[ "MIT" ]
72
2016-09-13T13:28:59.000Z
2022-01-20T20:01:33.000Z
from django.db import models from konfera.models.abstract import KonferaModel class ProcessedTransaction(KonferaModel): transaction_id = models.CharField(max_length=64, unique=True) variable_symbol = models.CharField(max_length=10) amount = models.DecimalField(decimal_places=2, max_digits=10) date = m...
41.857143
65
0.771331
75
586
5.906667
0.52
0.1693
0.20316
0.27088
0.239278
0
0
0
0
0
0
0.029297
0.12628
586
13
66
45.076923
0.835938
0
0
0
0
0
0.011945
0
0
0
0
0
0
1
0
false
0
0.181818
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
17581572000235f1928b40c8165020634989457b
87
py
Python
blitzer/__init__.py
ckattmann/blitzer
cfba57dabbfdd33b1c6127a2a05aa15b2a1fa4d1
[ "MIT" ]
null
null
null
blitzer/__init__.py
ckattmann/blitzer
cfba57dabbfdd33b1c6127a2a05aa15b2a1fa4d1
[ "MIT" ]
null
null
null
blitzer/__init__.py
ckattmann/blitzer
cfba57dabbfdd33b1c6127a2a05aa15b2a1fa4d1
[ "MIT" ]
null
null
null
""" Simple Python Timing Library""" __version__ = "0.1" from .blitzer import Blitzer
14.5
35
0.712644
11
87
5.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0.027397
0.16092
87
5
36
17.4
0.767123
0.321839
0
0
0
0
0.057692
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
17643e850bac8d373f116b0d69e95477929af130
3,194
py
Python
app/models.py
jerushaotieno/blog
ee50d0d34bba7a11b1215de60969c8e037b182ce
[ "MIT" ]
null
null
null
app/models.py
jerushaotieno/blog
ee50d0d34bba7a11b1215de60969c8e037b182ce
[ "MIT" ]
null
null
null
app/models.py
jerushaotieno/blog
ee50d0d34bba7a11b1215de60969c8e037b182ce
[ "MIT" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin from . import login_manager # for role class Role(db.Model): __tablename__ = 'roles' id = db.Column(db.Integer,primary_key = True) name = db.Column(db.String(255)) users = db...
22.978417
77
0.658109
428
3,194
4.728972
0.203271
0.079051
0.098814
0.094862
0.459486
0.421937
0.397233
0.312747
0.219368
0.182806
0
0.013524
0.212899
3,194
139
78
22.978417
0.791567
0.020351
0
0.317073
1
0
0.068844
0
0
0
0
0
0
1
0.195122
false
0.097561
0.04878
0.085366
0.768293
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
1
0
0
3
17756b6fb7200b5372bb69688f9a84b4a8d565f1
8,382
py
Python
py/faint/pdf/document.py
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
py/faint/pdf/document.py
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
py/faint/pdf/document.py
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2012 Lukas Kemmer # # 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 require...
30.816176
116
0.56335
1,069
8,382
4.237605
0.21609
0.03532
0.016998
0.015011
0.112362
0.064238
0.027815
0.027815
0
0
0
0.009867
0.310785
8,382
271
117
30.929889
0.774277
0.182415
0
0.204082
0
0
0.068074
0.003544
0.005102
0
0
0.00369
0.005102
1
0.244898
false
0.010204
0.010204
0.117347
0.510204
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
17775b90ebc05254b079f34f4b7df93098a8355c
473
py
Python
app/models.py
13955413303/zgc
063445fe627a1f66506aaadca787c838ad673749
[ "Apache-2.0" ]
null
null
null
app/models.py
13955413303/zgc
063445fe627a1f66506aaadca787c838ad673749
[ "Apache-2.0" ]
null
null
null
app/models.py
13955413303/zgc
063445fe627a1f66506aaadca787c838ad673749
[ "Apache-2.0" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class books(db.Model): id = db.Column(db.Integer,primary_key=True,autoincrement=True) name = db.Column(db.String(16)) auth = db.Column(db.String(16)) def __str__(self) -> str: return 'name:%s,auth:%s'%(self.name,self.auth) class use...
23.65
68
0.676533
71
473
4.408451
0.366197
0.153355
0.191693
0.162939
0.5623
0.504792
0.504792
0.504792
0.504792
0.504792
0
0.015267
0.169133
473
19
69
24.894737
0.78117
0
0
0.333333
0
0
0.03178
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.083333
0.916667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
bd5eb0a73ac76ee495b830afe7bf8e9bb34c1249
2,158
py
Python
libphon/phone/base.py
Aladom/django-libphon
47814242d02fe7915293c49fcec25766553bbd01
[ "MIT" ]
null
null
null
libphon/phone/base.py
Aladom/django-libphon
47814242d02fe7915293c49fcec25766553bbd01
[ "MIT" ]
null
null
null
libphon/phone/base.py
Aladom/django-libphon
47814242d02fe7915293c49fcec25766553bbd01
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2016 Aladom SAS & Hosting Dvpt SAS from .types import get_phone_type, clean_number from ..sms.backends import get_backend as get_sms_backend __all__ = [ 'Phone', ] class Phone: @property def value(self): return self.get_cleaned_value() @value.setter ...
26.641975
75
0.607507
261
2,158
4.750958
0.291188
0.094355
0.045161
0.031452
0.107258
0.071774
0.071774
0.05
0
0
0
0.003277
0.292864
2,158
80
76
26.975
0.809305
0.052827
0
0.101695
0
0
0.041728
0
0
0
0
0
0
1
0.237288
false
0
0.084746
0.101695
0.576271
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bd612bf378fe774ec51163caf195ae86564296aa
47
py
Python
kokki/cookbooks/zookeeper/metadata.py
samuel/kokki
da98da55e0bba8db5bda993666a43c6fdc4cacdb
[ "BSD-3-Clause" ]
11
2015-01-14T00:43:26.000Z
2020-12-29T06:12:51.000Z
kokki/cookbooks/zookeeper/metadata.py
samuel/kokki
da98da55e0bba8db5bda993666a43c6fdc4cacdb
[ "BSD-3-Clause" ]
null
null
null
kokki/cookbooks/zookeeper/metadata.py
samuel/kokki
da98da55e0bba8db5bda993666a43c6fdc4cacdb
[ "BSD-3-Clause" ]
3
2015-01-14T01:05:56.000Z
2019-01-26T05:09:37.000Z
__description__ = "Zookeeper" __config__ = {}
11.75
29
0.723404
3
47
8.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.148936
47
3
30
15.666667
0.65
0
0
0
0
0
0.195652
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd89c65a7e7e1718a15950325c67bd9b5426fb9e
1,055
py
Python
telemetry_module/telemetry_module_test.py
albertaloop/T_SWE_2019_2020
9095b6b64b5ca03c62bef9347945919bf3b79ed4
[ "MIT" ]
null
null
null
telemetry_module/telemetry_module_test.py
albertaloop/T_SWE_2019_2020
9095b6b64b5ca03c62bef9347945919bf3b79ed4
[ "MIT" ]
22
2022-01-11T05:27:30.000Z
2022-03-29T02:34:13.000Z
telemetry_module/telemetry_module_test.py
albertaloop/T_SWE_2019_2020
9095b6b64b5ca03c62bef9347945919bf3b79ed4
[ "MIT" ]
null
null
null
import telemetry_module from subprocess import call import time MY_IP_ADDRESS = "127.0.0.1" PORT = 65432 # Run "python3 mock-pod.py --server_ip 192.168.1.84 --server_port 3000" in another shell telemetry_manager = telemetry_module.TelemetryManager(MY_IP_ADDRESS, PORT) while True: print("Team ID: ", telemetry_ma...
39.074074
88
0.748815
131
1,055
5.740458
0.366412
0.255319
0.277926
0.103723
0
0
0
0
0
0
0
0.02823
0.127014
1,055
26
89
40.576923
0.788274
0.081517
0
0.095238
0
0
0.169597
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.619048
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
1
0
3
bd8f7112513bd1e87afc01d1e4eca34c34e38be6
4,110
py
Python
tests/webpay/plus/test_mall_transaction.py
TransbankDevelopers/transbank-sdk-python-onepay
59ec3d6889744b350c545c761393baa8e0e65e55
[ "BSD-3-Clause" ]
null
null
null
tests/webpay/plus/test_mall_transaction.py
TransbankDevelopers/transbank-sdk-python-onepay
59ec3d6889744b350c545c761393baa8e0e65e55
[ "BSD-3-Clause" ]
null
null
null
tests/webpay/plus/test_mall_transaction.py
TransbankDevelopers/transbank-sdk-python-onepay
59ec3d6889744b350c545c761393baa8e0e65e55
[ "BSD-3-Clause" ]
null
null
null
import unittest import random from transbank.webpay.webpay_plus.mall_transaction import * from transbank.common.integration_commerce_codes import IntegrationCommerceCodes class TransactionMallTestCase(unittest.TestCase): return_url_mock = "https://url_return.com" token_mock = 'ed11ddebcb970cd879e2b0ab843bd3c9...
49.518072
106
0.719951
441
4,110
6.433107
0.1678
0.227705
0.323581
0.287628
0.531195
0.46528
0.430032
0.430032
0.430032
0.430032
0
0.029289
0.185888
4,110
82
107
50.121951
0.818589
0.575426
0
0
0
0
0.064668
0.037625
0
0
0
0
0.068966
1
0.103448
false
0
0.137931
0.034483
0.448276
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd8fe61f2599c58f9a3c5fdd214eb7a311831122
1,220
py
Python
carnival/hosts/base/host.py
carnival-org/carnival
f7c272a4841db844fc0b165e94c5d3a76d24109f
[ "MIT" ]
4
2020-05-15T12:32:30.000Z
2022-02-23T11:00:06.000Z
carnival/hosts/base/host.py
a1fred/carnival
178985cc89a8754bcca6381cf0225892f7795b69
[ "MIT" ]
null
null
null
carnival/hosts/base/host.py
a1fred/carnival
178985cc89a8754bcca6381cf0225892f7795b69
[ "MIT" ]
1
2020-01-31T16:59:08.000Z
2020-01-31T16:59:08.000Z
import typing import ipaddress import socket import abc from .connection import Connection class Host: addr: str = "" """ Адрес хоста """ def __init__(self, use_sudo: bool = False): """ :param use_sudo: использовать sudo для выполнения команд """ self.use_sudo = u...
21.403509
112
0.555738
134
1,220
4.865672
0.470149
0.07362
0.033742
0.042945
0
0
0
0
0
0
0
0.002491
0.341803
1,220
56
113
21.785714
0.808219
0.144262
0
0.133333
0
0
0.055901
0
0
0
0
0.017857
0
1
0.2
false
0.066667
0.166667
0.1
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
1
0
0
0
0
1
0
0
1
0
0
3
bd95620428589dc19127c7fbcc1d8e75ab6fc6ee
14
py
Python
tarbell/tests/example/base/config.py
write-this-way/flask-tarbell
0e23e8d90ba66fde1a961ea530c99d94357ff664
[ "BSD-3-Clause" ]
1
2016-03-12T21:16:46.000Z
2016-03-12T21:16:46.000Z
tarbell/tests/example/base/config.py
write-this-way/flask-tarbell
0e23e8d90ba66fde1a961ea530c99d94357ff664
[ "BSD-3-Clause" ]
null
null
null
tarbell/tests/example/base/config.py
write-this-way/flask-tarbell
0e23e8d90ba66fde1a961ea530c99d94357ff664
[ "BSD-3-Clause" ]
null
null
null
URL_ROOT = ''
7
13
0.571429
2
14
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.214286
14
1
14
14
0.636364
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bdc14d6ac952d89e250a76ed9939be7aa9048499
6,020
py
Python
ns-allinone-3.27/pybindgen-0.17.0.post58+ngcf00cc0/pybindgen/wrapper_registry.py
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
93
2019-04-21T08:22:26.000Z
2022-03-30T04:26:29.000Z
ns-allinone-3.27/pybindgen-0.17.0.post58+ngcf00cc0/pybindgen/wrapper_registry.py
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
12
2019-04-19T16:39:58.000Z
2021-06-22T13:18:32.000Z
ns-allinone-3.27/pybindgen-0.17.0.post58+ngcf00cc0/pybindgen/wrapper_registry.py
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
21
2019-05-27T19:36:12.000Z
2021-07-26T02:37:41.000Z
""" The class that generates code to keep track of existing python wrappers for a given root class. """ from pybindgen.typehandlers.base import NotSupportedError class WrapperRegistry(object): """ Abstract base class for wrapepr registries. """ def __init__(self, base_name): self.base_name =...
46.307692
127
0.600498
695
6,020
4.916547
0.189928
0.055312
0.051507
0.052678
0.574773
0.547264
0.467369
0.427568
0.396839
0.378987
0
0
0.273754
6,020
129
128
46.666667
0.781565
0.175581
0
0.394737
1
0.013158
0.195127
0.030713
0
0
0
0
0
1
0.263158
false
0.065789
0.092105
0
0.394737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
da05cd957e7216fc88afb79ba1f1d6c38e7eedcc
273
py
Python
meld/utils/app_data.py
dersal-dev/meld
bb746e8c5a2eec9f0aff5fbbfd698c6d43fa8e93
[ "MIT" ]
null
null
null
meld/utils/app_data.py
dersal-dev/meld
bb746e8c5a2eec9f0aff5fbbfd698c6d43fa8e93
[ "MIT" ]
null
null
null
meld/utils/app_data.py
dersal-dev/meld
bb746e8c5a2eec9f0aff5fbbfd698c6d43fa8e93
[ "MIT" ]
null
null
null
from appdirs import user_data_dir from pathlib import Path from meld.__about__ import __title__, __author__ app_data_dir = Path(user_data_dir(__title__, __author__)) # Initialize data directory and required datafiles Path(app_data_dir).mkdir(exist_ok=True, parents=True)
30.333333
57
0.835165
41
273
4.853659
0.560976
0.140704
0.110553
0
0
0
0
0
0
0
0
0
0.102564
273
9
58
30.333333
0.812245
0.175824
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
da1130861b39db121740583c755ebbd82d20d676
829
py
Python
design_patterns/abstract_factory/concretes/modern_concretes/modern_furniture.py
amommendes/python-fluente
04b3b257802c368acd313f93ef42aee8c4564d9c
[ "Apache-2.0" ]
null
null
null
design_patterns/abstract_factory/concretes/modern_concretes/modern_furniture.py
amommendes/python-fluente
04b3b257802c368acd313f93ef42aee8c4564d9c
[ "Apache-2.0" ]
2
2020-04-02T06:03:34.000Z
2021-08-23T20:40:32.000Z
design_patterns/abstract_factory/concretes/modern_concretes/modern_furniture.py
amommendes/python-fluente
04b3b257802c368acd313f93ef42aee8c4564d9c
[ "Apache-2.0" ]
null
null
null
from design_patterns.abstract_factory.furniture_factory import FurnitureAbstractFactory from design_patterns.abstract_factory.abstract_products.chair import Chair from design_patterns.abstract_factory.abstract_products.coffe_table import CoffeTable class ModernChair(Chair): @staticmethod def color(): ...
21.815789
87
0.714113
82
829
7.04878
0.378049
0.129758
0.093426
0.134948
0.347751
0.290657
0.16955
0
0
0
0
0.004666
0.224367
829
37
88
22.405405
0.894246
0
0
0.44
0
0
0.024184
0
0
0
0
0
0
1
0.28
false
0
0.12
0.28
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
da2f60de2f6768d474873e909ee4582df8e1590a
386
py
Python
tests/conftest.py
sharebears/pulsar-plugin-template
5c6bbbbd452a131783fe4203855c7e71af056817
[ "MIT" ]
null
null
null
tests/conftest.py
sharebears/pulsar-plugin-template
5c6bbbbd452a131783fe4203855c7e71af056817
[ "MIT" ]
null
null
null
tests/conftest.py
sharebears/pulsar-plugin-template
5c6bbbbd452a131783fe4203855c7e71af056817
[ "MIT" ]
null
null
null
import pytest import plugin_name from core import db from core.conftest import * # noqa: F401, F403 from core.conftest import PLUGINS, UNPOPULATE_FUNCTIONS @pytest.fixture(autouse=True) def populate_db_(app, client): pass def unpopulate_database(): db.engine.execute("DELETE FROM some_table") PLUGINS.app...
19.3
55
0.792746
52
386
5.711538
0.557692
0.080808
0.107744
0.148148
0
0
0
0
0
0
0
0.017804
0.126943
386
19
56
20.315789
0.863501
0.041451
0
0
0
0
0.059783
0
0
0
0
0
0
1
0.166667
false
0.083333
0.416667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
da3ac074095d9371b046fdeaa93944221927d9cd
1,007
py
Python
generators/app/templates/main.py
xbmc/generator-kodi
b5a70a4969c7eac339008ba7fc02b1cbdff082a4
[ "Apache-2.0" ]
70
2017-02-27T19:38:07.000Z
2022-02-11T16:30:25.000Z
generators/app/templates/main.py
xbmc/generator-kodi
b5a70a4969c7eac339008ba7fc02b1cbdff082a4
[ "Apache-2.0" ]
41
2017-01-16T07:42:15.000Z
2020-07-19T09:28:06.000Z
generators/app/templates/main.py
Razzeee/generator-kodi
b5a70a4969c7eac339008ba7fc02b1cbdff082a4
[ "Apache-2.0" ]
30
2017-01-21T01:07:12.000Z
2022-02-09T09:31:47.000Z
# -*- coding: utf-8 -*- import logging <%_ if (props.type == 'Plugin') { -%> import sys <% } %> from resources.lib import kodilogging <%_ if (props.type == 'Contextmenu') { -%> from resources.lib import context <%_ } else if (props.type == 'Plugin') { -%> from resources.lib import plugin <%_ } else if (props.type == '...
26.5
46
0.626614
126
1,007
4.912698
0.31746
0.124394
0.195477
0.193861
0.290792
0
0
0
0
0
0
0.00119
0.165839
1,007
37
47
27.216216
0.735714
0.09434
0
0.433333
0
0
0.090408
0
0
0
0
0
0
0
null
null
0
0.3
null
null
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
1
0
0
0
0
0
0
0
0
3
da3d1cd19c47f00895e2cdc3ab8151af6c40911b
325
py
Python
scripts/addons/animation_nodes/utils/code.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
2
2020-04-16T22:12:40.000Z
2022-01-22T17:18:45.000Z
scripts/addons/animation_nodes/utils/code.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
null
null
null
scripts/addons/animation_nodes/utils/code.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
2
2019-05-16T04:01:09.000Z
2020-08-25T11:42:26.000Z
import re import ast import sys def isCodeValid(code): return getSyntaxError(code) is None def getSyntaxError(code): try: ast.parse(code) return None except SyntaxError as e: return e def containsStarImport(code): match = re.search("import\s*\*", code) return match is not ...
18.055556
42
0.664615
43
325
5.023256
0.511628
0.138889
0
0
0
0
0
0
0
0
0
0
0.252308
325
17
43
19.117647
0.888889
0
0
0
0
0
0.033846
0
0
0
0
0
0
1
0.214286
false
0
0.357143
0.071429
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
da50166919b059b57e31b85c54d14037f97bb7e3
3,597
py
Python
src/dcos_migrate/plugins/plugin.py
d2iq-ps/dcos-migrate
e3e3f97db5feca148ce5ac0b5e8519cdedc0aac0
[ "Apache-2.0" ]
null
null
null
src/dcos_migrate/plugins/plugin.py
d2iq-ps/dcos-migrate
e3e3f97db5feca148ce5ac0b5e8519cdedc0aac0
[ "Apache-2.0" ]
null
null
null
src/dcos_migrate/plugins/plugin.py
d2iq-ps/dcos-migrate
e3e3f97db5feca148ce5ac0b5e8519cdedc0aac0
[ "Apache-2.0" ]
null
null
null
from typing import List, Dict, Any, Optional from dcos_migrate.system import DCOSClient, BackupList, ManifestList, Arg class MigratePlugin(object): """docstring for Migrator.""" plugin_name: str = 'OVERRIDE' backup_depends: List[str] = [] backup_data_depends: List[str] = [] migrate_depends: List[s...
35.97
142
0.648874
439
3,597
5.216401
0.29385
0.043668
0.041921
0.038428
0.360699
0.232314
0.204367
0.204367
0.204367
0.204367
0
0
0.274117
3,597
99
143
36.333333
0.877059
0.394495
0
0.341463
0
0
0.009101
0
0
0
0
0
0
1
0.243902
false
0.097561
0.04878
0.02439
0.536585
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
da70ed9d1b8a90ba6c64b10e5a8fb30f9737d6fa
100
py
Python
1_PythonDataProcessing/1_01_read_csv.py
hnwarid/DQLabAcademy
e03d82f97536ae103b6abc65db0ae16520fb68c7
[ "MIT" ]
null
null
null
1_PythonDataProcessing/1_01_read_csv.py
hnwarid/DQLabAcademy
e03d82f97536ae103b6abc65db0ae16520fb68c7
[ "MIT" ]
null
null
null
1_PythonDataProcessing/1_01_read_csv.py
hnwarid/DQLabAcademy
e03d82f97536ae103b6abc65db0ae16520fb68c7
[ "MIT" ]
null
null
null
import pandas as pd order_df = pd.read_csv("https://storage.googleapis.com/dqlab-dataset/order.csv")
50
80
0.79
17
100
4.529412
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.06
100
2
80
50
0.819149
0
0
0
0
0
0.534653
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
da9066eed9f7eb9fe3cb8f9cfb6306855f71076d
451
py
Python
compiled/construct/params_pass_array_str.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
4
2017-04-08T12:55:11.000Z
2020-12-05T21:09:31.000Z
compiled/construct/params_pass_array_str.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
7
2018-04-23T01:30:33.000Z
2020-10-30T23:56:14.000Z
compiled/construct/params_pass_array_str.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
6
2017-04-08T11:41:14.000Z
2020-10-30T22:47:31.000Z
from construct import * from construct.lib import * params_pass_array_str__wants_strs = Struct( ) params_pass_array_str = Struct( 'str_array' / Array(3, FixedSized(2, GreedyString(encoding='ascii'))), 'pass_str_array' / LazyBound(lambda: params_pass_array_str__wants_strs), 'pass_str_array_calc' / LazyBound(lambda:...
30.066667
78
0.782705
66
451
4.848485
0.393939
0.15625
0.234375
0.28125
0.346875
0.346875
0.2625
0.2625
0
0
0
0.004926
0.099778
451
14
79
32.214286
0.783251
0
0
0
0
0
0.144124
0
0
0
0
0
0
1
0
false
0.454545
0.181818
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
16fab9cd1308ea6f2c741cc3267163c5191be9f4
3,486
py
Python
tests/smoke/organizations/locations/roles/test_roles.py
Joey-Wondersign/Staffjoy-suite-Joey
b6d0d87b8e60e6b866810ebeed631fb02fadad48
[ "MIT" ]
890
2017-02-25T07:11:09.000Z
2022-03-08T05:49:20.000Z
tests/smoke/organizations/locations/roles/test_roles.py
Joey-Wondersign/Staffjoy-suite-Joey
b6d0d87b8e60e6b866810ebeed631fb02fadad48
[ "MIT" ]
11
2017-02-25T18:07:11.000Z
2020-10-19T13:09:41.000Z
tests/smoke/organizations/locations/roles/test_roles.py
nfriedly/suite
c58c772d98d1476cad0531b8a296f27ad2ab945c
[ "MIT" ]
276
2017-02-25T09:01:23.000Z
2022-03-19T02:24:02.000Z
import pytest from tests.smoke.organizations.locations.roles.base_role import BaseRole class TestRoles(BaseRole): def setUp(self): # (if you are copying and pasting, update class title below) super(TestRoles, self).setUp() def tearDown(self): # (if you are copying and pasting, update...
32.886792
78
0.6572
455
3,486
4.734066
0.147253
0.081708
0.112349
0.183844
0.784123
0.743733
0.699629
0.67363
0.610956
0.610956
0
0.001533
0.251291
3,486
105
79
33.2
0.823755
0.090935
0
0.630769
0
0
0.04916
0.026641
0
0
0
0
0.169231
1
0.092308
false
0
0.030769
0
0.138462
0
0
0
0
null
0
0
1
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
3
16fc419a14b292be385869985566ec1e98acc0bd
412
py
Python
core/views/api_v3_views.py
darkismus/kompassi
35dea2c7af2857a69cae5c5982b48f01ba56da1f
[ "CC-BY-3.0" ]
13
2015-11-29T12:19:12.000Z
2021-02-21T15:42:11.000Z
core/views/api_v3_views.py
darkismus/kompassi
35dea2c7af2857a69cae5c5982b48f01ba56da1f
[ "CC-BY-3.0" ]
23
2015-04-29T19:43:34.000Z
2021-02-10T05:50:17.000Z
core/views/api_v3_views.py
darkismus/kompassi
35dea2c7af2857a69cae5c5982b48f01ba56da1f
[ "CC-BY-3.0" ]
11
2015-09-20T18:59:00.000Z
2020-02-07T08:47:34.000Z
from rest_framework import viewsets from rest_framework.decorators import action from ..models import Event from ..serializers import EventSerializer class EventViewSet(viewsets.ReadOnlyModelViewSet): queryset = Event.objects.filter(public=True) serializer_class = EventSerializer lookup_field = 'slug' ...
25.75
50
0.747573
46
412
6.608696
0.695652
0.052632
0.111842
0
0
0
0
0
0
0
0
0
0.160194
412
15
51
27.466667
0.878613
0
0
0
0
0
0.026699
0
0
0
0
0
0
1
0.090909
false
0.090909
0.363636
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
e56b23b9b8eb60f5fc2c570793344a68912fa29a
347
py
Python
GBMWizard/GBMWizard_Lib/__init__.py
QTIM-Lab/SlicerGBMWizard
f21ae248be5b47604891b02d97ad2001d26a38d4
[ "MIT" ]
null
null
null
GBMWizard/GBMWizard_Lib/__init__.py
QTIM-Lab/SlicerGBMWizard
f21ae248be5b47604891b02d97ad2001d26a38d4
[ "MIT" ]
null
null
null
GBMWizard/GBMWizard_Lib/__init__.py
QTIM-Lab/SlicerGBMWizard
f21ae248be5b47604891b02d97ad2001d26a38d4
[ "MIT" ]
null
null
null
""" Meant to be imported by ModelSegmentation.py. Conveniently loads all other files in the folder and tells the user in console. """ from GBMWizardStep import * from VolumeSelect import * from Preprocess import * from SkullStrip import * from Segmentation import * from Radiomics import * from Review import * print '...
28.916667
129
0.789625
46
347
5.956522
0.695652
0.218978
0
0
0
0
0
0
0
0
0
0
0.158501
347
12
130
28.916667
0.938356
0
0
0
0
0
0.12093
0
0
0
0
0
0
0
null
null
0
0.875
null
null
0.125
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
e5832f1f4369ba4190d67f5cdf79b1b4c2bc41d5
2,837
py
Python
freerad_manager/django_freeradius/tests/base/test_batch_add_users.py
fizzi/django-freeradius-manager
d81fe6ed28b9bdb135c52c4a422df2760f72d0cb
[ "Apache-2.0" ]
null
null
null
freerad_manager/django_freeradius/tests/base/test_batch_add_users.py
fizzi/django-freeradius-manager
d81fe6ed28b9bdb135c52c4a422df2760f72d0cb
[ "Apache-2.0" ]
null
null
null
freerad_manager/django_freeradius/tests/base/test_batch_add_users.py
fizzi/django-freeradius-manager
d81fe6ed28b9bdb135c52c4a422df2760f72d0cb
[ "Apache-2.0" ]
null
null
null
class BaseTestCSVUpload(object): def test_generate_username_from_email(self): reader = [['', 'cleartext$password', 'rohith@openwisp.com', 'Rohith', 'ASRK']] batch = self.radius_batch_model.objects.create() batch.add(reader) self.assertEqual(self.radius_batch_model.objects.all().count...
50.660714
106
0.668312
313
2,837
5.891374
0.14377
0.146421
0.081345
0.10846
0.767354
0.707701
0.690347
0.690347
0.591649
0.591649
0
0.019089
0.187522
2,837
55
107
51.581818
0.780911
0
0
0.490196
1
0
0.153683
0.054988
0
0
0
0
0.392157
1
0.098039
false
0.294118
0
0
0.117647
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
e58a49ece77e3564c8236fe0ee234b00c595dfaa
271
py
Python
2019/j1.py
jo3-l/ccc
65a26a28d8d4189ec9b6bed7682612f3ef7a245c
[ "MIT" ]
null
null
null
2019/j1.py
jo3-l/ccc
65a26a28d8d4189ec9b6bed7682612f3ef7a245c
[ "MIT" ]
1
2021-01-22T19:11:52.000Z
2021-01-22T19:16:28.000Z
2019/j1.py
jo3-l/ccc
65a26a28d8d4189ec9b6bed7682612f3ef7a245c
[ "MIT" ]
null
null
null
a3, a2, a1 = int(input()), int(input()), int(input()) b3, b2, b1 = int(input()), int(input()), int(input()) a_total = a3 * 3 + a2 * 2 + a1 b_total = b3 * 3 + b2 * 2 + b1 if a_total > b_total: print("A") elif a_total == b_total: print("T") else: print("B")
19.357143
53
0.538745
49
271
2.857143
0.367347
0.342857
0.314286
0.457143
0.585714
0.342857
0
0
0
0
0
0.076923
0.232472
271
13
54
20.846154
0.596154
0
0
0
0
0
0.011111
0
0
0
0
0
0
1
0
false
0
0
0
0
0.3
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e58d2d9e2e9932e90debb9e4489d9792cb1c98ef
576
py
Python
backend/api/serializers/MiembroSprintSerializer.py
kukiamarilla/polijira
510dbc1473db973ac71fc68fa5a9b758b90a780b
[ "MIT" ]
1
2022-03-02T02:28:49.000Z
2022-03-02T02:28:49.000Z
backend/api/serializers/MiembroSprintSerializer.py
kukiamarilla/polijira
510dbc1473db973ac71fc68fa5a9b758b90a780b
[ "MIT" ]
22
2021-09-01T17:44:25.000Z
2021-10-07T19:39:09.000Z
backend/api/serializers/MiembroSprintSerializer.py
kukiamarilla/polijira
510dbc1473db973ac71fc68fa5a9b758b90a780b
[ "MIT" ]
null
null
null
from rest_framework import serializers from backend.api.models import MiembroSprint from backend.api.serializers import MiembroSerializer class MiembroSprintSerializer(serializers.ModelSerializer): """ Serializer de MiembroSprint Args: serializers (ModelSerializer): Serializer del módulo rest_fra...
25.043478
75
0.711806
52
576
7.788462
0.596154
0.064198
0.069136
0
0
0
0
0
0
0
0
0
0.213542
576
22
76
26.181818
0.89404
0.248264
0
0
0
0
0.062338
0
0
0
0
0
0
1
0
false
0
0.375
0
0.75
0.5
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
1
0
3
e5a81914241586916f5f99a9a62b641ba078b8a3
414
py
Python
pyleecan/Methods/Machine/Magnet/comp_ratio_opening.py
harshasunder-1/pyleecan
32ae60f98b314848eb9b385e3652d7fc50a77420
[ "Apache-2.0" ]
2
2019-06-08T15:04:39.000Z
2020-09-07T13:32:22.000Z
pyleecan/Methods/Machine/Magnet/comp_ratio_opening.py
harshasunder-1/pyleecan
32ae60f98b314848eb9b385e3652d7fc50a77420
[ "Apache-2.0" ]
null
null
null
pyleecan/Methods/Machine/Magnet/comp_ratio_opening.py
harshasunder-1/pyleecan
32ae60f98b314848eb9b385e3652d7fc50a77420
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from numpy import pi def comp_ratio_opening(self, p): """Compute the magnet pole arc width to pole width ratio Parameters ---------- self : Magnet A Magnet object p : int Pole pair number Returns ------- taum: float Ratio magnet pole a...
17.25
60
0.557971
54
414
4.203704
0.592593
0.088106
0.114537
0.15859
0.255507
0.255507
0.255507
0
0
0
0
0.010601
0.316425
414
23
61
18
0.791519
0.57971
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
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
1
0
0
1
0
1
0
0
3
e5c6bc67514d5e8cc0c2416032bd44c6c47a9881
229
py
Python
core/blog/migrations/0009_auto_20210324_1844.py
IvanRch/bsuphys
105715cde8fc8e9a42019ed4b650fe00b94fa132
[ "Apache-2.0" ]
1
2022-01-04T07:04:46.000Z
2022-01-04T07:04:46.000Z
core/blog/migrations/0009_auto_20210324_1844.py
IvanRch/bsuphys
105715cde8fc8e9a42019ed4b650fe00b94fa132
[ "Apache-2.0" ]
1
2020-02-17T19:06:03.000Z
2020-02-17T19:06:03.000Z
core/blog/migrations/0009_auto_20210324_1844.py
IvanRch/bsuphys
105715cde8fc8e9a42019ed4b650fe00b94fa132
[ "Apache-2.0" ]
1
2021-07-08T13:21:04.000Z
2021-07-08T13:21:04.000Z
# Generated by Django 3.0.8 on 2021-03-24 15:44 import ckeditor.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0008_auto_20210324_1514'), ]
16.357143
47
0.69869
31
229
5.064516
0.870968
0
0
0
0
0
0
0
0
0
0
0.168478
0.196507
229
13
48
17.615385
0.684783
0.196507
0
0
1
0
0.15
0.127778
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
3
e5fef33c7b457360922a9201e05325d8b2cb4a49
1,430
py
Python
backend/modules/FantomApi.py
block42-blockchain-company/fantom-validator-info
1b1484130ed3a54752cefeccf1b26623047787eb
[ "MIT" ]
7
2020-01-12T10:09:27.000Z
2022-02-14T14:20:04.000Z
backend/modules/FantomApi.py
block42-blockchain-company/fantom-validator-info
1b1484130ed3a54752cefeccf1b26623047787eb
[ "MIT" ]
null
null
null
backend/modules/FantomApi.py
block42-blockchain-company/fantom-validator-info
1b1484130ed3a54752cefeccf1b26623047787eb
[ "MIT" ]
1
2022-02-11T13:17:37.000Z
2022-02-11T13:17:37.000Z
import requests from web3 import Web3 class FantomApi: def __init__(self): self.__url = "https://rpc.fantom.network" self.__web3 = Web3(Web3.HTTPProvider(self.__url)) def web3(self): return self.__web3 def getBalance(self, address): return self.web3().eth.getBalance(self...
26.481481
92
0.582517
147
1,430
5.544218
0.394558
0.068712
0.103067
0.104294
0.174233
0.174233
0.107975
0.107975
0.107975
0.107975
0
0.020548
0.285315
1,430
53
93
26.981132
0.776908
0
0
0.102564
0
0
0.088811
0
0
0
0
0
0
1
0.230769
false
0
0.051282
0.179487
0.512821
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f916890587d7c40b29b7910c071e565df6aedf91
313
py
Python
hyperion/pdfs/mixtures/__init__.py
hyperion-ml/hyperion
c4c9eee0acab1ba572843373245da12d00dfffaa
[ "Apache-2.0" ]
14
2021-12-19T04:24:15.000Z
2022-03-18T03:24:04.000Z
hyperion/pdfs/mixtures/__init__.py
hyperion-ml/hyperion
c4c9eee0acab1ba572843373245da12d00dfffaa
[ "Apache-2.0" ]
null
null
null
hyperion/pdfs/mixtures/__init__.py
hyperion-ml/hyperion
c4c9eee0acab1ba572843373245da12d00dfffaa
[ "Apache-2.0" ]
5
2021-12-14T20:41:27.000Z
2022-02-24T14:18:11.000Z
""" Copyright 2018 Johns Hopkins University (Author: Jesus Villalba) Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """ from .exp_family_mixture import ExpFamilyMixture from .gmm_diag_cov import GMMDiagCov, DiagGMM from .gmm_tied_diag_cov import GMMTiedDiagCov, DiagGMMTiedCov from .gmm import GMM
28.454545
66
0.795527
44
313
5.5
0.681818
0.086777
0.107438
0
0
0
0
0
0
0
0
0.028986
0.118211
313
10
67
31.3
0.847826
0.389776
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
f91f60f9978f60e05e612627744422766770344b
3,830
py
Python
nyanfaucet/nyanfaucet/settings/base.py
Nyancoins/NyanFaucet
bca0d5a15990fc4d4ef0c90408c8c7360e6a69e8
[ "MIT" ]
null
null
null
nyanfaucet/nyanfaucet/settings/base.py
Nyancoins/NyanFaucet
bca0d5a15990fc4d4ef0c90408c8c7360e6a69e8
[ "MIT" ]
null
null
null
nyanfaucet/nyanfaucet/settings/base.py
Nyancoins/NyanFaucet
bca0d5a15990fc4d4ef0c90408c8c7360e6a69e8
[ "MIT" ]
null
null
null
""" Django settings for nyanfaucet project. Generated by 'django-admin startproject' using Django 1.8.2. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build ...
26.232877
89
0.708355
461
3,830
5.809111
0.483731
0.063107
0.049291
0.056012
0.10941
0.084765
0.084765
0.084765
0.029873
0
0
0.02129
0.166057
3,830
145
90
26.413793
0.816844
0.318016
0
0.027027
1
0
0.532308
0.414945
0
0
0
0.006897
0
0
null
null
0
0.013514
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0073f420e74a941682b0505256d7265c9af17c5e
179
py
Python
Aula 17 Listas/aula17listasExemplo3.py
anderr8/Python-Mundo-3
b3d8d3eea4fbcf938a74d4955b0749bcb1f6e03c
[ "MIT" ]
null
null
null
Aula 17 Listas/aula17listasExemplo3.py
anderr8/Python-Mundo-3
b3d8d3eea4fbcf938a74d4955b0749bcb1f6e03c
[ "MIT" ]
null
null
null
Aula 17 Listas/aula17listasExemplo3.py
anderr8/Python-Mundo-3
b3d8d3eea4fbcf938a74d4955b0749bcb1f6e03c
[ "MIT" ]
null
null
null
a = [2, 3, 4, 7] b = a b = a[:] # => comando para receber uma cópia da a em b b[2] = 8 # trocando o número 2 por 8 print(a) print(b) print(f'Lista A: {a}') print(f'Lista B: {b}')
19.888889
54
0.569832
41
179
2.487805
0.512195
0.039216
0.215686
0
0
0
0
0
0
0
0
0.057971
0.22905
179
9
55
19.888889
0.681159
0.385475
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
0077817957a0858a48d20b0147e04d215e7c1a9f
322
py
Python
components/strings/statementString.py
Linzee/tmsei_doodle
b08580fe5d58f6dd614ba6f3f53a03bcd859277b
[ "MIT" ]
null
null
null
components/strings/statementString.py
Linzee/tmsei_doodle
b08580fe5d58f6dd614ba6f3f53a03bcd859277b
[ "MIT" ]
null
null
null
components/strings/statementString.py
Linzee/tmsei_doodle
b08580fe5d58f6dd614ba6f3f53a03bcd859277b
[ "MIT" ]
null
null
null
import numpy as np from components.flowUtils import annotateProgress, cached class StatementString: def __init__(self, flow): self.problems = flow.getProblems() @annotateProgress @cached def getStrings(self): return {pid: problem['statement'] for pid, problem in self.problems.items()...
23
84
0.708075
36
322
6.222222
0.694444
0.196429
0
0
0
0
0
0
0
0
0
0
0.201863
322
13
85
24.769231
0.871595
0
0
0
0
0
0.02795
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
007c96ef8d0fb203a4cf6e99b102e83a4bb91d6c
109
py
Python
examples/big.py
bvarjavand/ngl-bot
5f8068dee1c4924be9bc97cecf688fa54faeaaf8
[ "MIT" ]
null
null
null
examples/big.py
bvarjavand/ngl-bot
5f8068dee1c4924be9bc97cecf688fa54faeaaf8
[ "MIT" ]
5
2020-07-15T21:57:15.000Z
2021-09-08T02:20:00.000Z
examples/big.py
bvarjavand/ngubot
5f8068dee1c4924be9bc97cecf688fa54faeaaf8
[ "MIT" ]
null
null
null
from ngubot.utils.base import BaseGame game = BaseGame() game._focus_window() game.click("PowerPlus", True)
18.166667
38
0.770642
15
109
5.466667
0.8
0.292683
0
0
0
0
0
0
0
0
0
0
0.100917
109
5
39
21.8
0.836735
0
0
0
0
0
0.082569
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0084f23b6f77e9a8873d027988154f7e877fab42
887
py
Python
django/prof_education/reports/columns.py
sergeymirasov/h-edu
6e4557af7b55f73028149e48cec06ac0974e2253
[ "MIT" ]
null
null
null
django/prof_education/reports/columns.py
sergeymirasov/h-edu
6e4557af7b55f73028149e48cec06ac0974e2253
[ "MIT" ]
null
null
null
django/prof_education/reports/columns.py
sergeymirasov/h-edu
6e4557af7b55f73028149e48cec06ac0974e2253
[ "MIT" ]
null
null
null
class Column: def __init__(self, key, label, auto=False): self.key = key self.label = label self.auto = auto def get_json(self): return {"key": self.key, "label": self.label} def render(self, val): return val if val else "" class AggrColumn(Column): def __init...
21.119048
67
0.617813
108
887
4.981481
0.240741
0.078067
0.066915
0.089219
0.507435
0.230483
0.137546
0.137546
0.137546
0
0
0.00156
0.277339
887
41
68
21.634146
0.837754
0
0
0.392857
0
0
0.013529
0
0
0
0
0
0
1
0.25
false
0.071429
0
0.178571
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
009cd4af852b294bf221ac7a0b876528ab5b3f24
3,285
py
Python
test.py
amanbhandari2002/mythproto
b03764485dad5178127307a3b3e4ddc508158143
[ "BSD-3-Clause" ]
1
2020-10-01T09:17:00.000Z
2020-10-01T09:17:00.000Z
test.py
amanbhandari2002/mythproto
b03764485dad5178127307a3b3e4ddc508158143
[ "BSD-3-Clause" ]
null
null
null
test.py
amanbhandari2002/mythproto
b03764485dad5178127307a3b3e4ddc508158143
[ "BSD-3-Clause" ]
2
2020-09-30T19:53:40.000Z
2020-10-01T09:13:08.000Z
import myth.frontend import socket frontend = myth.frontend.Frontend(('10.1.1.6', 6543)) #sock = socket.socket() #sock.connect(('10.1.1.6', 6543)) #version = myth.protocol.ProtocolVersion(sock, 31) #version.send() #version.recv() #ann = myth.protocol.Announce(sock, 'chipotle') #ann.send() #ann.recv() #filetrans = ...
23.133803
93
0.729985
401
3,285
5.975062
0.274314
0.130217
0.015025
0.004174
0.025876
0.018364
0.018364
0
0
0
0
0.023952
0.084932
3,285
141
94
23.297872
0.77312
0.89863
0
0
0
0
0.035242
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
009d02cac8ad4b7bf2095aafa271fb67013d45c9
401
py
Python
do_dict.py
zmzstanford/python_study
5c3e9a89814e32d7811a6540fce5cb44f921d871
[ "Unlicense" ]
null
null
null
do_dict.py
zmzstanford/python_study
5c3e9a89814e32d7811a6540fce5cb44f921d871
[ "Unlicense" ]
null
null
null
do_dict.py
zmzstanford/python_study
5c3e9a89814e32d7811a6540fce5cb44f921d871
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- d = { 'Michael': 95, 'Bob': 75, 'Tracy': 85, '95':95, 90:90, 'stanford':100 } print('d[\'Michael\'] =', d['Michael']) print('d[\'Bob\'] =', d['Bob']) print('d[\'Tracy\'] =', d['Tracy']) print('d[\'95\'] =',d['95']) print('d[90] =',d[90]) print('d[s...
21.105263
53
0.473815
59
401
3.220339
0.355932
0.221053
0.105263
0.115789
0
0
0
0
0
0
0
0.08631
0.162095
401
18
54
22.277778
0.479167
0.107232
0
0
0
0
0.320225
0
0
0
0
0
0
1
0
false
0
0
0
0
0.466667
0
0
0
null
1
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
1
0
3
00a734c1e49998dd4656f2a4e6de96706f0feeec
542
py
Python
dividebatur/tests/test_ticket_sort_key.py
dmkent/dividebatur-moreland
402dc768b132daef8ebba7d032620ca562e756dd
[ "Apache-2.0" ]
19
2015-11-05T16:13:35.000Z
2022-02-14T02:17:59.000Z
dividebatur/tests/test_ticket_sort_key.py
dmkent/dividebatur-moreland
402dc768b132daef8ebba7d032620ca562e756dd
[ "Apache-2.0" ]
26
2016-07-25T10:48:50.000Z
2016-11-05T02:46:37.000Z
dividebatur/tests/test_ticket_sort_key.py
dmkent/dividebatur-moreland
402dc768b132daef8ebba7d032620ca562e756dd
[ "Apache-2.0" ]
8
2016-03-01T05:59:49.000Z
2020-02-29T19:23:15.000Z
from ..aecdata.utils import ticket_sort_key def apply_ticket_sort(items): return list(sorted(items, key=ticket_sort_key)) def test_a_c_already_sorted(): assert(apply_ticket_sort(['A', 'B', 'C']) == ['A', 'B', 'C']) def test_a_c_reversed(): assert(apply_ticket_sort(['C', 'B', 'A']) == ['A', 'B', 'C']) ...
24.636364
77
0.595941
88
542
3.329545
0.238636
0.238908
0.061433
0.122867
0.607509
0.365188
0.334471
0.25256
0.25256
0
0
0
0.145756
542
21
78
25.809524
0.632829
0
0
0
0
0
0.059041
0
0
0
0
0
0.363636
1
0.454545
false
0
0.090909
0.090909
0.636364
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
00b52251f2ba3cc13affd00564776e55d899755e
1,060
py
Python
scripts/tests/test_lock.py
mobiusAMM/curve-dao-contracts
f8bf7a79334b4b64eaae29876f19c787e73a2bdb
[ "MIT" ]
2
2022-01-11T19:57:20.000Z
2022-01-14T15:47:08.000Z
scripts/tests/test_lock.py
mobiusAMM/curve-dao-contracts
f8bf7a79334b4b64eaae29876f19c787e73a2bdb
[ "MIT" ]
2
2021-12-16T14:52:57.000Z
2022-01-21T19:12:15.000Z
scripts/tests/test_lock.py
mobiusAMM/curve-dao-contracts
f8bf7a79334b4b64eaae29876f19c787e73a2bdb
[ "MIT" ]
6
2021-09-17T03:57:35.000Z
2022-01-09T05:13:01.000Z
from brownie import ( VotingEscrow, ERC20MOBI, accounts, network ) # from web3.gas_strategies.time_based import fast_gas_price_strategy as gas_strategy people = [ '0xc59cd8251ABb06C307819D0beb95546CB4de172f', '0xB811Ad5C016c37d9f40dffA8fc360F9B3fFC0d2A', '0xE35E97438Fd16593e285546260C8585dea7909...
34.193548
97
0.763208
91
1,060
8.791209
0.604396
0.03375
0.04
0
0
0
0
0
0
0
0
0.292159
0.121698
1,060
31
98
34.193548
0.567132
0.539623
0
0
0
0
0.440252
0.440252
0
0
0.440252
0
0
1
0.066667
false
0
0.066667
0
0.133333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
00c5869f922108603a8b2f18e381517c0603d47e
381
py
Python
dragonphy/config.py
StanfordVLSI/dragonphy2
996cc14f800b01c5ec0534e79dd2340f4de5e704
[ "Apache-2.0" ]
22
2020-04-27T18:06:50.000Z
2022-02-12T12:29:43.000Z
dragonphy/config.py
StanfordVLSI/dragonphy2
996cc14f800b01c5ec0534e79dd2340f4de5e704
[ "Apache-2.0" ]
130
2020-04-27T20:05:52.000Z
2021-07-29T22:12:57.000Z
dragonphy/config.py
StanfordVLSI/dragonphy2
996cc14f800b01c5ec0534e79dd2340f4de5e704
[ "Apache-2.0" ]
6
2020-08-15T16:31:55.000Z
2021-04-13T15:47:29.000Z
import yaml from pathlib import Path class Configuration: def __init__(self, config_name, path_head = 'config'): self.config_name = config_name with open(Path(path_head + '/' + config_name + '.yml').resolve(), 'r') as f: self.config_dict = yaml.load(f,Loader=yaml.FullLoader) def __...
31.75
84
0.664042
51
381
4.647059
0.509804
0.168776
0.118143
0
0
0
0
0
0
0
0
0
0.215223
381
11
85
34.636364
0.792642
0
0
0
0
0
0.031496
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
00f34eecf1776bf6dfd83ca5424d1abaeb3d1c1d
666
py
Python
misago/misago/threads/api/postingendpoint/close.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
2
2021-03-06T21:06:13.000Z
2021-03-09T15:05:12.000Z
misago/misago/threads/api/postingendpoint/close.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
null
null
null
misago/misago/threads/api/postingendpoint/close.py
vascoalramos/misago-deployment
20226072138403108046c0afad9d99eb4163cedc
[ "MIT" ]
null
null
null
from rest_framework import serializers from . import PostingEndpoint, PostingMiddleware from ... import moderation class CloseMiddleware(PostingMiddleware): def use_this_middleware(self): return self.mode == PostingEndpoint.START def get_serializer(self): return CloseSerializer(data=self.req...
30.272727
67
0.738739
72
666
6.708333
0.513889
0.041408
0
0
0
0
0
0
0
0
0
0
0.172673
666
21
68
31.714286
0.876588
0
0
0
0
0
0.033033
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0.142857
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
daa50352c00e3b185dd657fbda6fc8034950a23a
398
py
Python
setup.py
chaneyn/polaris_api_client
abfb9a5611d2878898bdcd8582feccf5567a6f02
[ "CC-BY-4.0" ]
3
2021-12-13T01:37:54.000Z
2022-02-24T18:37:41.000Z
setup.py
chaneyn/polaris_api_client
abfb9a5611d2878898bdcd8582feccf5567a6f02
[ "CC-BY-4.0" ]
1
2022-02-28T12:43:56.000Z
2022-03-02T03:50:19.000Z
setup.py
chaneyn/polaris_api_client
abfb9a5611d2878898bdcd8582feccf5567a6f02
[ "CC-BY-4.0" ]
null
null
null
#Write the libraries from setuptools import setup #from setuptools import setup,find_packages setup(name='polaris_api_client', version=0.1, description='polaris_api_client', url='http://github.com/chaneyn/polaris_api_client', author='Nathaniel W. Chaney', author_email='nathaniel.chaney@duk...
30.615385
57
0.703518
50
398
5.38
0.66
0.148699
0.237918
0.185874
0
0
0
0
0
0
0
0.006098
0.175879
398
12
58
33.166667
0.814024
0.153266
0
0
0
0
0.432836
0.074627
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
dab7cd79808b2da4c9bea73c54ae315e7e01750c
257
py
Python
tests/helpers/django_project/api/version.py
hyperleex/dependencies
188843f616670a90e5e4a4c48b2fb954a460c2ee
[ "BSD-2-Clause" ]
null
null
null
tests/helpers/django_project/api/version.py
hyperleex/dependencies
188843f616670a90e5e4a4c48b2fb954a460c2ee
[ "BSD-2-Clause" ]
null
null
null
tests/helpers/django_project/api/version.py
hyperleex/dependencies
188843f616670a90e5e4a4c48b2fb954a460c2ee
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from rest_framework.versioning import BaseVersioning from django_project.api.exceptions import VersionError class DenyVersion(BaseVersioning): def determine_version(self, request, *args, **kwargs): raise VersionError
23.363636
58
0.758755
28
257
6.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.004566
0.14786
257
10
59
25.7
0.872146
0.081712
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
dab8190f44ed8cd8c464fdb6317d38e21d66fa74
2,385
py
Python
src/nexus/__init__.py
dlce-eva/python-nexus
44cd8eeece1522b2839fbf4d586913ccdef7fbfc
[ "BSD-2-Clause" ]
7
2020-12-16T14:17:15.000Z
2021-12-11T00:26:04.000Z
src/nexus/__init__.py
dlce-eva/python-nexus
44cd8eeece1522b2839fbf4d586913ccdef7fbfc
[ "BSD-2-Clause" ]
13
2021-01-19T11:58:47.000Z
2022-03-28T20:52:28.000Z
src/nexus/__init__.py
dlce-eva/python-nexus
44cd8eeece1522b2839fbf4d586913ccdef7fbfc
[ "BSD-2-Clause" ]
null
null
null
""" python-nexus - Generic nexus (.nex, .trees) reader for python ============================================================= Reading a Nexus --------------- >>> import os >>> EXAMPLE_DIR = os.path.join(os.path.dirname(__file__), 'examples') >>> >>> from nexus import NexusReader >>> n = NexusReader.from_file(os.pat...
24.090909
85
0.633543
331
2,385
4.492447
0.36858
0.030262
0.04035
0.0269
0.063215
0.063215
0.063215
0.063215
0.063215
0.063215
0
0.031235
0.127463
2,385
98
86
24.336735
0.683325
0.874633
0
0
0
0
0.224138
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
dab93e7c7257a0442c0e174affd62aeaaaa65bf6
161
py
Python
Codewars/8kyu/online-rpg-player-to-qualifying-stage/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
7
2017-09-20T16:40:39.000Z
2021-08-31T18:15:08.000Z
Codewars/8kyu/online-rpg-player-to-qualifying-stage/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
Codewars/8kyu/online-rpg-player-to-qualifying-stage/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
# Python - 3.6.0 playerRankUp = lambda pts: (pts >= 100) and 'Well done! You have advanced to the qualifying stage. Win 2 out of your next 3 games to rank up.'
40.25
142
0.701863
30
161
3.766667
0.9
0
0
0
0
0
0
0
0
0
0
0.0625
0.204969
161
3
143
53.666667
0.820313
0.086957
0
0
0
1
0.662069
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dadc9f24dc3b7631b5b5ce0cd9777c3789b8029d
21,085
py
Python
resources/rest-service/cloudify/migrations/versions/9aa6f74c9653_4_0_1.py
TS-at-WS/cloudify-manager
3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc
[ "Apache-2.0" ]
124
2015-01-22T22:28:37.000Z
2022-02-26T23:12:06.000Z
resources/rest-service/cloudify/migrations/versions/9aa6f74c9653_4_0_1.py
TS-at-WS/cloudify-manager
3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc
[ "Apache-2.0" ]
345
2015-01-08T15:49:40.000Z
2022-03-29T08:33:00.000Z
resources/rest-service/cloudify/migrations/versions/9aa6f74c9653_4_0_1.py
TS-at-WS/cloudify-manager
3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc
[ "Apache-2.0" ]
77
2015-01-07T14:04:35.000Z
2022-03-07T22:46:00.000Z
"""4.0.1 Revision ID: 9aa6f74c9653 Revises: 333998bc1627 Create Date: 2017-04-26 13:16:33.880756 """ from alembic import op import sqlalchemy as sa import manager_rest # Adding this manually # revision identifiers, used by Alembic. revision = '9aa6f74c9653' down_revision = '333998bc1627' branch_labels = None de...
29.823197
79
0.579749
2,161
21,085
5.281351
0.054142
0.030492
0.037589
0.050469
0.914922
0.845878
0.788925
0.687374
0.636204
0.521511
0
0.003936
0.289115
21,085
706
80
29.865439
0.757489
0.014608
0
0.678779
0
0
0.323063
0.151984
0
0
0
0
0
1
0.002907
false
0
0.00436
0
0.007267
0.027616
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dafee6100fc9a9a93b21fd77d67429fd4cbfea2d
170
py
Python
distributed/setup.py
OpenSourcePolicyCenter/PolicyBrain
5edffcd5cf8bb6544afc1ed982636abe66e246e1
[ "MIT" ]
13
2017-11-07T15:54:42.000Z
2018-09-27T20:56:28.000Z
distributed/setup.py
OpenSourcePolicyCenter/webapp-public
5edffcd5cf8bb6544afc1ed982636abe66e246e1
[ "MIT" ]
547
2015-08-07T21:32:51.000Z
2017-09-14T21:25:43.000Z
distributed/setup.py
OpenSourcePolicyCenter/webapp-public
5edffcd5cf8bb6544afc1ed982636abe66e246e1
[ "MIT" ]
23
2015-08-07T20:55:39.000Z
2017-08-25T19:20:20.000Z
from distutils.core import setup setup( name='api', version='0.1.0', packages=['api',], license='', long_description='API server for PolicyBrain', )
17
50
0.629412
21
170
5.047619
0.809524
0
0
0
0
0
0
0
0
0
0
0.022222
0.205882
170
9
51
18.888889
0.762963
0
0
0
0
0
0.217647
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9723e41cd0736da4afb068e0120dc7f467149b8f
1,805
py
Python
bentoml/frameworks/__init__.py
innoavator/BentoML
bf1f461351f02e220684c5e9513dfa8f0e770189
[ "Apache-2.0" ]
null
null
null
bentoml/frameworks/__init__.py
innoavator/BentoML
bf1f461351f02e220684c5e9513dfa8f0e770189
[ "Apache-2.0" ]
null
null
null
bentoml/frameworks/__init__.py
innoavator/BentoML
bf1f461351f02e220684c5e9513dfa8f0e770189
[ "Apache-2.0" ]
2
2021-05-19T15:37:37.000Z
2021-05-31T15:02:35.000Z
from bentoml.frameworks.coreml import CoreMLModelArtifact from bentoml.frameworks.detectron import DetectronModelArtifact from bentoml.frameworks.easyocr import EasyOCRArtifact from bentoml.frameworks.evalml import EvalMLModelArtifact from bentoml.frameworks.fastai import FastaiModelArtifact, Fastai1ModelArtifact from ...
41.022727
90
0.837119
138
1,805
10.92029
0.326087
0.138686
0.264764
0
0
0
0
0
0
0
0
0.003092
0.104155
1,805
43
91
41.976744
0.928881
0
0
0
0
0
0.238781
0.106371
0
0
0
0
0
1
0
false
0
0.452381
0
0.452381
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
972cb3293ffc497bdd7970bee0787608977b4be4
4,857
py
Python
pinject/arg_binding_keys.py
suraj-testing2/Android_Soda
bfc90fe03a3c41340f4af9077c20433ed87854db
[ "Apache-2.0" ]
1,032
2015-01-05T10:37:19.000Z
2022-03-31T22:18:16.000Z
pinject/arg_binding_keys.py
suraj-testing2/Android_Soda
bfc90fe03a3c41340f4af9077c20433ed87854db
[ "Apache-2.0" ]
44
2015-01-20T20:52:56.000Z
2021-11-12T06:49:32.000Z
pinject/arg_binding_keys.py
suraj-testing2/Android_Soda
bfc90fe03a3c41340f4af9077c20433ed87854db
[ "Apache-2.0" ]
85
2015-01-14T08:58:41.000Z
2022-03-11T15:44:14.000Z
"""Copyright 2013 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
36.518797
78
0.706197
693
4,857
4.714286
0.287157
0.057851
0.051423
0.016529
0.171411
0.080196
0.058157
0.058157
0.01959
0
0
0.002955
0.233477
4,857
132
79
36.795455
0.874564
0.499691
0
0
0
0
0.016224
0
0
0
0
0.015152
0
1
0.25
false
0
0.045455
0.113636
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
977f98f32d19350fffce971fa9feb11737ef2ea5
306
py
Python
capsul/plugins/__init__.py
denisri/capsul
ea1b41f08ab1acc95e50d90916c1e282807874ca
[ "CECILL-B" ]
5
2018-10-31T10:16:53.000Z
2022-03-11T08:11:32.000Z
capsul/plugins/__init__.py
denisri/capsul
ea1b41f08ab1acc95e50d90916c1e282807874ca
[ "CECILL-B" ]
78
2018-10-30T17:04:38.000Z
2022-03-17T17:39:41.000Z
capsul/plugins/__init__.py
denisri/capsul
ea1b41f08ab1acc95e50d90916c1e282807874ca
[ "CECILL-B" ]
11
2019-01-21T10:05:08.000Z
2022-02-22T17:02:22.000Z
# -*- coding: utf-8 -*- ''' This module is obsolete. ''' PLUGS = [ ("caps", "http://nsap.intra.cea.fr/caps-doc/"), ("qmri", "https://bioproj.extra.cea.fr/redmine/projects/qmri/publishing/"), ("funtk", "https://bioproj.extra.cea.fr/redmine/projects/funtk/publishing/"), ("pclinfmri", "") ]
25.5
81
0.604575
37
306
5
0.648649
0.081081
0.183784
0.216216
0.4
0.4
0.4
0
0
0
0
0.003759
0.130719
306
11
82
27.818182
0.691729
0.153595
0
0
0
0
0.721116
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
97cd7483ca64e282572516ce44f4fa1a3763b1bb
286
py
Python
aula_desafio_021.py
cacciella/Curso-em-Video
d229c04ce197544b73f39675e8cd2053ea536f4e
[ "MIT" ]
null
null
null
aula_desafio_021.py
cacciella/Curso-em-Video
d229c04ce197544b73f39675e8cd2053ea536f4e
[ "MIT" ]
null
null
null
aula_desafio_021.py
cacciella/Curso-em-Video
d229c04ce197544b73f39675e8cd2053ea536f4e
[ "MIT" ]
null
null
null
# reproduzir um audio de um arquivo MP3 import playsound playsound.playsound('bob.mp3') playsound.playsound('errolgarner.mp3') # reproduzir um audio de um arquivo MP3 import pygame pygame.init() pygame.mixer.music.load('errolgarner.mp3') pygame.mixer.music.play() pygame.event.wait()
22
42
0.783217
41
286
5.463415
0.439024
0.241071
0.151786
0.169643
0.330357
0.330357
0.330357
0.330357
0
0
0
0.01938
0.097902
286
12
43
23.833333
0.848837
0.262238
0
0
0
0
0.177885
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
1
0
0
0
0
0
0
3
97cebc66e9ce42fe6bcee10663c6646f2c377a02
73
py
Python
src/url/url_types.py
tritli/backend
ec3d94199e7170b9ea9a7f675fe1e599743a5cf7
[ "MIT" ]
null
null
null
src/url/url_types.py
tritli/backend
ec3d94199e7170b9ea9a7f675fe1e599743a5cf7
[ "MIT" ]
null
null
null
src/url/url_types.py
tritli/backend
ec3d94199e7170b9ea9a7f675fe1e599743a5cf7
[ "MIT" ]
null
null
null
URL = "url" IOTA = "iota" DOC = "document" URL_TYPES = [URL, IOTA, DOC]
12.166667
28
0.60274
11
73
3.909091
0.454545
0.325581
0
0
0
0
0
0
0
0
0
0
0.205479
73
5
29
14.6
0.741379
0
0
0
0
0
0.205479
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
97d100a9d17a6f7cd9731782b93d504a5be0a10b
122
py
Python
python_syntax_difference.py
akalenuk/playing_with_julia
56175e415acdcf13e4a9eaa99e68dd16c316c64c
[ "Unlicense" ]
4
2019-07-06T18:32:35.000Z
2019-09-06T07:55:57.000Z
python_syntax_difference.py
akalenuk/playing_with_julia
56175e415acdcf13e4a9eaa99e68dd16c316c64c
[ "Unlicense" ]
null
null
null
python_syntax_difference.py
akalenuk/playing_with_julia
56175e415acdcf13e4a9eaa99e68dd16c316c64c
[ "Unlicense" ]
null
null
null
# unexpected indent #a = 1 # + 2 # + 3 # invalid syntax #a = 1 + # 2 + # 3 a = 1 + \ 2 + \ 3 print(a)
8.133333
19
0.385246
18
122
2.611111
0.5
0.12766
0.191489
0.255319
0
0
0
0
0
0
0
0.132353
0.442623
122
14
20
8.714286
0.558824
0.557377
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8af90e515dea8cd316dbad3a56225c94a199589c
257
py
Python
datacube/__main__.py
eodcgmbh/datacube-core
0792e519ccfd33e0a0acf368aa6f33ca2c1ea50f
[ "Apache-2.0" ]
363
2017-03-17T07:33:18.000Z
2022-03-25T12:33:36.000Z
datacube/__main__.py
eodcgmbh/datacube-core
0792e519ccfd33e0a0acf368aa6f33ca2c1ea50f
[ "Apache-2.0" ]
1,035
2017-03-07T05:38:43.000Z
2022-03-29T03:19:10.000Z
datacube/__main__.py
eodcgmbh/datacube-core
0792e519ccfd33e0a0acf368aa6f33ca2c1ea50f
[ "Apache-2.0" ]
146
2017-03-08T01:08:37.000Z
2022-03-16T01:52:13.000Z
# This file is part of the Open Data Cube, see https://opendatacube.org for more information # # Copyright (c) 2015-2020 ODC Contributors # SPDX-License-Identifier: Apache-2.0 if __name__ == "__main__": from .config import auto_config auto_config()
32.125
92
0.7393
38
257
4.736842
0.921053
0.111111
0
0
0
0
0
0
0
0
0
0.046512
0.163424
257
7
93
36.714286
0.790698
0.649805
0
0
0
0
0.094118
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
c121e6e84a42b2c84775c1a6297201dd8c0d5183
2,409
py
Python
cortex/utils/dispatchers/repository.py
chib0/asd-winter2019
c7d95305b1e8b99013fd40da1e7ebe01c2d0102a
[ "Apache-2.0" ]
null
null
null
cortex/utils/dispatchers/repository.py
chib0/asd-winter2019
c7d95305b1e8b99013fd40da1e7ebe01c2d0102a
[ "Apache-2.0" ]
4
2021-02-02T22:38:53.000Z
2022-01-13T02:32:33.000Z
cortex/utils/dispatchers/repository.py
chib0/asd-winter2019
c7d95305b1e8b99013fd40da1e7ebe01c2d0102a
[ "Apache-2.0" ]
null
null
null
import abc from pathlib import Path from cortex import utils, configuration from cortex.utils.decorators import cache_res from cortex.utils import aop_gatherer module_logger = utils.logging.get_module_logger(__name__) class _BaseRepository(aop_gatherer.Repository, abc.ABC): def __init__(self, paths=(), module_na...
34.913043
121
0.665421
303
2,409
5.013201
0.29703
0.05925
0.05135
0.0553
0.337722
0.325872
0.23239
0.176432
0.131666
0.080316
0
0
0.226235
2,409
68
122
35.426471
0.814914
0
0
0.196078
0
0
0.050249
0
0
0
0
0
0
1
0.215686
false
0
0.098039
0.156863
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c1357aaaaf66ef7bb5bc154992b271accdb0227e
220
py
Python
language/equivalence/space/_equivalent.py
jedhsu/language
3772a4a0ff287e1fc5ebefc716b8d91928d04c72
[ "MIT" ]
null
null
null
language/equivalence/space/_equivalent.py
jedhsu/language
3772a4a0ff287e1fc5ebefc716b8d91928d04c72
[ "MIT" ]
null
null
null
language/equivalence/space/_equivalent.py
jedhsu/language
3772a4a0ff287e1fc5ebefc716b8d91928d04c72
[ "MIT" ]
null
null
null
""" *Homotopic* i.e. *Space-Equivalent* """ from __future__ import annotations from abc import ABCMeta __all__ = ["Homotopic"] class SpaceEquivalent: __metaclass__ = ABCMeta Homotopic = SpaceEquivalent
12.222222
41
0.713636
21
220
6.904762
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.190909
220
17
42
12.941176
0.814607
0.168182
0
0
0
0
0.053254
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c13ff6414017a0f59be0398b6a4f87619ad32da2
1,583
py
Python
setup.py
Kwpolska/cheqlist
cf72169b4e8a708f7196b8916378e2e094c92aa4
[ "BSD-3-Clause" ]
6
2016-08-07T16:40:35.000Z
2021-06-08T15:54:22.000Z
setup.py
Kwpolska/cheqlist
cf72169b4e8a708f7196b8916378e2e094c92aa4
[ "BSD-3-Clause" ]
5
2016-07-18T14:40:24.000Z
2016-11-20T19:31:25.000Z
setup.py
Kwpolska/cheqlist
cf72169b4e8a708f7196b8916378e2e094c92aa4
[ "BSD-3-Clause" ]
1
2017-12-04T14:39:02.000Z
2017-12-04T14:39:02.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- import io from setuptools import setup setup(name='cheqlist', version='0.3.2', description='A simple Qt checklist.', keywords='cheqlist', author='Chris Warrick', author_email='chris@chriswarrick.com', url='https://github.com/Kwpolska/c...
39.575
82
0.547694
152
1,583
5.611842
0.605263
0.15592
0.205158
0.213365
0.063306
0
0
0
0
0
0
0.021602
0.298168
1,583
39
83
40.589744
0.746175
0.062539
0
0
0
0
0.473329
0.064821
0
0
0
0
0
1
0
true
0
0.057143
0
0.057143
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
1
0
0
0
0
0
0
3
c142d285d5aca65d9255b8b55c9f13c05cf7bda8
508
py
Python
cartpole-v1/agent.py
luna-ml/leaderboard
9d427efde8ffedec6659883df1108583aaf0dd38
[ "Apache-2.0" ]
null
null
null
cartpole-v1/agent.py
luna-ml/leaderboard
9d427efde8ffedec6659883df1108583aaf0dd38
[ "Apache-2.0" ]
null
null
null
cartpole-v1/agent.py
luna-ml/leaderboard
9d427efde8ffedec6659883df1108583aaf0dd38
[ "Apache-2.0" ]
null
null
null
# Agent Template. # # Copy this agent.py in your model dir (e.g. models/mymodel/agent.py) # and implement predict(state) method to start class Agent(): def __init__(self, **kwargs): # initialize anything you need. # e.g. load pre-trained model pass def predict(self, state): # ...
28.222222
78
0.649606
74
508
4.405405
0.702703
0.042945
0
0
0
0
0
0
0
0
0
0.00813
0.273622
508
17
79
29.882353
0.875339
0.635827
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
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
1
0
0
1
0
0
3
c15b947cc66ebacfcddaea2963272f97f3a54bfe
19,040
py
Python
api/gen/test_platform/skylab_test_runner/result_pb2.py
khromiumos/chromiumos-chromite
a42a85481cdd9d635dc40a04585e427f89f3bb3f
[ "BSD-3-Clause" ]
null
null
null
api/gen/test_platform/skylab_test_runner/result_pb2.py
khromiumos/chromiumos-chromite
a42a85481cdd9d635dc40a04585e427f89f3bb3f
[ "BSD-3-Clause" ]
2
2021-03-26T00:29:32.000Z
2021-04-30T21:29:33.000Z
api/gen/test_platform/skylab_test_runner/result_pb2.py
khromiumos/chromiumos-chromite
a42a85481cdd9d635dc40a04585e427f89f3bb3f
[ "BSD-3-Clause" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: test_platform/skylab_test_runner/result.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.prot...
41.481481
1,957
0.765231
2,465
19,040
5.548884
0.092901
0.041527
0.075011
0.09168
0.750987
0.708071
0.691402
0.664717
0.624214
0.570697
0
0.033008
0.116912
19,040
458
1,958
41.572052
0.780481
0.041649
0
0.650718
1
0.002392
0.25314
0.21881
0
0
0
0
0
1
0
false
0.007177
0.014354
0
0.014354
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c16aa7d26699c8b451f9128c8a7784cec6f743c5
76
py
Python
configs/segtrack-frcnn_r50_fpn_12e_bdd10k_fixed.py
SysCV/pcan
06416f1c96b7a86754828582d9a95b9ce0d327ba
[ "Apache-2.0" ]
271
2021-11-24T16:57:54.000Z
2022-03-31T02:00:38.000Z
configs/segtrack-frcnn_r50_fpn_12e_bdd10k_fixed.py
msg4rajesh/pcan
5328f42349e19ff1acaccd2c776804df972b9afe
[ "Apache-2.0" ]
10
2021-11-28T10:48:13.000Z
2022-03-11T09:59:30.000Z
configs/segtrack-frcnn_r50_fpn_12e_bdd10k_fixed.py
msg4rajesh/pcan
5328f42349e19ff1acaccd2c776804df972b9afe
[ "Apache-2.0" ]
36
2021-11-25T07:43:05.000Z
2022-03-08T04:08:48.000Z
_base_ = './segtrack-frcnn_r50_fpn_12e_bdd10k.py' model = dict(fixed=True)
19
49
0.763158
12
76
4.333333
1
0
0
0
0
0
0
0
0
0
0
0.086957
0.092105
76
3
50
25.333333
0.666667
0
0
0
0
0
0.5
0.5
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c186346bb9c88f59d825744f81c32b298f10c21b
96
py
Python
Python Time Clock/time-clock.py
JKooll/code-segment
6431bb0a6bdee431ff150891bbfeb368d2c29479
[ "MIT" ]
null
null
null
Python Time Clock/time-clock.py
JKooll/code-segment
6431bb0a6bdee431ff150891bbfeb368d2c29479
[ "MIT" ]
null
null
null
Python Time Clock/time-clock.py
JKooll/code-segment
6431bb0a6bdee431ff150891bbfeb368d2c29479
[ "MIT" ]
null
null
null
import time startTime = time.clock() endTime = time.clock() timeElapsed = endTime - startTime
13.714286
33
0.739583
11
96
6.454545
0.545455
0.253521
0
0
0
0
0
0
0
0
0
0
0.15625
96
7
33
13.714286
0.876543
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c197858e214c9bca367e371be54a8ab19ab85569
3,799
py
Python
server.py
danielvdende/VizServe
6546ffdf7393b8a3364bbf7658724f1e93fef4b3
[ "Apache-2.0" ]
null
null
null
server.py
danielvdende/VizServe
6546ffdf7393b8a3364bbf7658724f1e93fef4b3
[ "Apache-2.0" ]
3
2016-05-10T16:19:02.000Z
2016-07-09T15:18:20.000Z
server.py
danielvdende/VizServe
6546ffdf7393b8a3364bbf7658724f1e93fef4b3
[ "Apache-2.0" ]
null
null
null
import sys sys.path.append("api") sys.path.append("util") from flask import Flask, make_response, request from flask.ext.cors import CORS import messages import api import json app = Flask(__name__) CORS(app) # GENERAL @app.errorhandler(404) def not_found(error): return make_response(json.dumps(messages.notFou...
32.75
90
0.758884
551
3,799
5.058076
0.23049
0.064586
0.09042
0.094726
0.497309
0.437747
0.380696
0.322928
0.263366
0.037316
0
0.009775
0.111345
3,799
115
91
33.034783
0.815758
0.269281
0
0
0
0
0.15734
0.108285
0
0
0
0.008696
0
1
0.25
false
0
0.1
0.25
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
1
1
0
0
3
c1a2b41659ca749bbefd51317824b9bfa9d65a1d
391
py
Python
config.py
fire/godot_vector_graphics
16c699bae56cfd23f79b2c59934bac5ad32f8f19
[ "MIT" ]
1
2022-03-14T03:18:13.000Z
2022-03-14T03:18:13.000Z
config.py
fire/godot_vector_graphics
16c699bae56cfd23f79b2c59934bac5ad32f8f19
[ "MIT" ]
null
null
null
config.py
fire/godot_vector_graphics
16c699bae56cfd23f79b2c59934bac5ad32f8f19
[ "MIT" ]
null
null
null
def can_build(env, platform): return env["tools"] def configure(env): pass def get_doc_path(): return "doc_classes" def get_doc_classes(): return [ "VGColor", "VGGradient", "VGLinearGradient", "VGMeshRenderer", "VGPaint", "VGPath", "VGRadialG...
16.291667
33
0.56266
33
391
6.484848
0.666667
0.056075
0.084112
0
0
0
0
0
0
0
0
0
0.314578
391
24
34
16.291667
0.798507
0
0
0
0
0
0.316327
0.056122
0
0
0
0
0
1
0.222222
false
0.055556
0.055556
0.166667
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
1
0
1
0
0
0
3
c1bf02421076d507c8b2c33385c79a411f209467
148
py
Python
learning/apps.py
CiganOliviu/MyWorkflow
85951c2e8ebdb3e970fcc0b3e24bd319360b852a
[ "Apache-2.0" ]
null
null
null
learning/apps.py
CiganOliviu/MyWorkflow
85951c2e8ebdb3e970fcc0b3e24bd319360b852a
[ "Apache-2.0" ]
null
null
null
learning/apps.py
CiganOliviu/MyWorkflow
85951c2e8ebdb3e970fcc0b3e24bd319360b852a
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class LearningConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'learning'
21.142857
56
0.763514
17
148
6.529412
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.148649
148
6
57
24.666667
0.880952
0
0
0
0
0
0.25
0.195946
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c1d0e131b561177232d24aa774644a7c1609f1ef
439
py
Python
nntoolbox/metrics/metrics.py
nhatsmrt/nn-toolbox
689b9924d3c88a433f8f350b89c13a878ac7d7c3
[ "Apache-2.0" ]
16
2019-07-11T15:57:41.000Z
2020-09-08T13:52:45.000Z
nntoolbox/metrics/metrics.py
nhatsmrt/nn-toolbox
689b9924d3c88a433f8f350b89c13a878ac7d7c3
[ "Apache-2.0" ]
1
2022-01-18T22:21:57.000Z
2022-01-18T22:21:57.000Z
nntoolbox/metrics/metrics.py
nhatsmrt/nn-toolbox
689b9924d3c88a433f8f350b89c13a878ac7d7c3
[ "Apache-2.0" ]
1
2019-08-07T10:07:09.000Z
2019-08-07T10:07:09.000Z
from typing import Dict, Any __all__ = ['Metric', 'Loss'] class Metric: _best: float def __call__(self, logs: Dict[str, Any]): pass def get_best(self) -> float: return self._best class Loss(Metric): def __init__(self): self._best = float('inf') def __call__(self, logs: Dict[str, Any...
18.291667
54
0.592255
58
439
4.103448
0.37931
0.134454
0.092437
0.12605
0.210084
0.210084
0.210084
0
0
0
0
0
0.259681
439
23
55
19.086957
0.732308
0
0
0
0
0
0.056948
0
0
0
0
0
0
1
0.307692
false
0.076923
0.076923
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
c1d232e34bd4a01cf76956352552ef6d3bfc2e27
480
py
Python
abel/__init__.py
Derollez/PyAbel
c8be4ed7e8e08ee026634b9e856fb473e58d7330
[ "MIT" ]
null
null
null
abel/__init__.py
Derollez/PyAbel
c8be4ed7e8e08ee026634b9e856fb473e58d7330
[ "MIT" ]
null
null
null
abel/__init__.py
Derollez/PyAbel
c8be4ed7e8e08ee026634b9e856fb473e58d7330
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from ._version import __version__ from . import basex from . import benchmark from . import direct from . import hansenlaw from . import linbasex from . import onion_bor...
24
39
0.825
64
480
5.78125
0.359375
0.27027
0.172973
0
0
0
0
0
0
0
0
0
0.145833
480
19
40
25.263158
0.902439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.058824
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
c1dfa41bacd7fb5a99d9a583b15daa9c7981381f
2,054
py
Python
opsmop/core/role.py
lachmanfrantisek/opsmop
562ae2d753ff84b3d794a6815d0436753e82d2a0
[ "Apache-2.0" ]
null
null
null
opsmop/core/role.py
lachmanfrantisek/opsmop
562ae2d753ff84b3d794a6815d0436753e82d2a0
[ "Apache-2.0" ]
null
null
null
opsmop/core/role.py
lachmanfrantisek/opsmop
562ae2d753ff84b3d794a6815d0436753e82d2a0
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Michael DeHaan LLC, <michael@michaeldehaan.net> # # 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 app...
32.09375
84
0.684031
271
2,054
5.077491
0.431734
0.043605
0.061047
0.023256
0.03343
0
0
0
0
0
0
0.005047
0.228335
2,054
63
85
32.603175
0.863091
0.357838
0
0
0
0
0.019547
0
0
0
0
0
0
1
0.242424
false
0
0.181818
0.151515
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c1e39514e1ae058774b8321513c2be13e62a9940
2,303
py
Python
tools_box/config/management_report.py
maisonarmani/Tools_Box
4f8cc3a0deac1be50a3ac80758a10608faf58454
[ "MIT" ]
null
null
null
tools_box/config/management_report.py
maisonarmani/Tools_Box
4f8cc3a0deac1be50a3ac80758a10608faf58454
[ "MIT" ]
null
null
null
tools_box/config/management_report.py
maisonarmani/Tools_Box
4f8cc3a0deac1be50a3ac80758a10608faf58454
[ "MIT" ]
1
2022-01-30T12:15:41.000Z
2022-01-30T12:15:41.000Z
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label": _("Finance"), "items": [ { "type": "report", "is_query_report": True, "name": "Profit and Loss St...
32.9
62
0.328267
139
2,303
5.23741
0.330935
0.123626
0.148352
0.210165
0.539835
0.539835
0.539835
0.539835
0.277473
0.173077
0
0.00197
0.559271
2,303
69
63
33.376812
0.715271
0
0
0.432836
0
0
0.304834
0
0
0
0
0
0
1
0.014925
true
0
0.029851
0.014925
0.059701
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c1eb4dcf0fce1df0af1b4bfe08c88b5b4a7cece5
663
py
Python
sphinxcontrib/swaggerui/__init__.py
albert2126/sphinxcontrib-swaggerui
c099fccb1911872cc64637c3a57c2dbce4c272eb
[ "BSD-2-Clause" ]
null
null
null
sphinxcontrib/swaggerui/__init__.py
albert2126/sphinxcontrib-swaggerui
c099fccb1911872cc64637c3a57c2dbce4c272eb
[ "BSD-2-Clause" ]
null
null
null
sphinxcontrib/swaggerui/__init__.py
albert2126/sphinxcontrib-swaggerui
c099fccb1911872cc64637c3a57c2dbce4c272eb
[ "BSD-2-Clause" ]
null
null
null
""" sphinxcontrib.swaggerui ~~~~~~~~~~~~~~~~~~~~~~~ Provides the swaggerui directive for reST files to build an interactive HTML page with your OpenAPI specification document. :copyright: Copyright 2017 by Albert Bagdasaryan <albert.bagd@gmail.com> :license: BSD, see LICENSE for details. """ impo...
26.52
127
0.689291
78
663
5.717949
0.717949
0.044843
0
0
0
0
0
0
0
0
0
0.007449
0.190045
663
24
128
27.625
0.823091
0.535445
0
0
0
0
0.122744
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
a9d6e6fa4fbdaadee4ffd97802cb2a9c4dacaa12
407
py
Python
micropy/utils/decorators.py
Josverl/micropy-cli
ad803f509685f5b9ab0d6ecbf33b1b9fda294b30
[ "MIT" ]
1
2020-07-20T17:16:40.000Z
2020-07-20T17:16:40.000Z
micropy/utils/decorators.py
Josverl/micropy-cli
ad803f509685f5b9ab0d6ecbf33b1b9fda294b30
[ "MIT" ]
null
null
null
micropy/utils/decorators.py
Josverl/micropy-cli
ad803f509685f5b9ab0d6ecbf33b1b9fda294b30
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ micropy.utils.decorators ~~~~~~~~~~~~~~ This module contains generic decorators used by MicropyCli """ __all__ = ['lazy_property'] def lazy_property(fn): attr = '_lazy__' + fn.__name__ @property def _lazy_property(self): if not hasattr(self, attr): setat...
16.958333
41
0.621622
47
407
5.021277
0.574468
0.20339
0.127119
0.194915
0
0
0
0
0
0
0
0.003185
0.228501
407
23
42
17.695652
0.748408
0.299754
0
0
0
0
0.072202
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
a9ec7279da5600671eef8e1e88e54d76e62f1c66
230
py
Python
projectjose/services/views.py
Chaoslecion123/blog_jose
f98b8046275028c0896ef36466a2e981de6468d5
[ "MIT" ]
null
null
null
projectjose/services/views.py
Chaoslecion123/blog_jose
f98b8046275028c0896ef36466a2e981de6468d5
[ "MIT" ]
5
2021-03-19T09:32:01.000Z
2022-01-13T02:00:15.000Z
projectjose/services/views.py
Chaoslecion123/blog_jose
f98b8046275028c0896ef36466a2e981de6468d5
[ "MIT" ]
null
null
null
from django.shortcuts import render from projectjose.services.models import Service def nosotros(request): services = Service.objects.all() return render(request,'core/nosotros.html',{ 'services': services })
25.555556
48
0.726087
26
230
6.423077
0.653846
0
0
0
0
0
0
0
0
0
0
0
0.169565
230
8
49
28.75
0.874346
0
0
0
0
0
0.113043
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a9f9d357bd0c2d570e15bbc78839d85401aad695
175
py
Python
teaching_activities/apps.py
iPelino/cst-research-api
f73e9d3d526aa37e756308a9cb262da3f319d7c0
[ "MIT" ]
1
2021-08-10T07:48:09.000Z
2021-08-10T07:48:09.000Z
teaching_activities/apps.py
iPelino/cst-research-api
f73e9d3d526aa37e756308a9cb262da3f319d7c0
[ "MIT" ]
null
null
null
teaching_activities/apps.py
iPelino/cst-research-api
f73e9d3d526aa37e756308a9cb262da3f319d7c0
[ "MIT" ]
1
2021-08-16T12:31:26.000Z
2021-08-16T12:31:26.000Z
from django.apps import AppConfig class TeachingActivitiesConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'teaching_activities'
25
57
0.765714
18
175
7.277778
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.16
175
6
58
29.166667
0.891156
0
0
0
0
0
0.284024
0.171598
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a9fe553a3129e4c4917a9b3e9c894d46385c2d1b
330
py
Python
pages/components/space/_simple.py
AnnMarieW/dmc-docs
5db1790b61e85209b85adb75ccf6e7462d93f231
[ "MIT" ]
null
null
null
pages/components/space/_simple.py
AnnMarieW/dmc-docs
5db1790b61e85209b85adb75ccf6e7462d93f231
[ "MIT" ]
null
null
null
pages/components/space/_simple.py
AnnMarieW/dmc-docs
5db1790b61e85209b85adb75ccf6e7462d93f231
[ "MIT" ]
null
null
null
import dash_mantine_components as dmc from dash import html component = html.Div( [ dmc.Group([dmc.Badge("Badge 1"), dmc.Badge("Badge 2")]), dmc.Group([dmc.Badge("Badge 1"), dmc.Space(w="sm"), dmc.Badge("Badge 2")]), dmc.Group([dmc.Badge("Badge 1"), dmc.Space(w="xl"), dmc.Badge("Badge 2")])...
30
83
0.6
51
330
3.843137
0.352941
0.244898
0.397959
0.244898
0.571429
0.571429
0.571429
0.459184
0.459184
0.459184
0
0.022305
0.184848
330
10
84
33
0.70632
0
0
0
0
0
0.139394
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e71ee3564061b051853625aff0f762b56f4987b6
83
py
Python
index.py
Talbot3/PracticeTensor
5bbb28d5007e53865ae04608d812d6237187addb
[ "MIT" ]
null
null
null
index.py
Talbot3/PracticeTensor
5bbb28d5007e53865ae04608d812d6237187addb
[ "MIT" ]
null
null
null
index.py
Talbot3/PracticeTensor
5bbb28d5007e53865ae04608d812d6237187addb
[ "MIT" ]
null
null
null
num1 = 10 num2 = 3 result = num1 / num2 print(result) # 10//3 # ==> 3 print(10//3);
13.833333
20
0.578313
15
83
3.2
0.4
0.125
0
0
0
0
0
0
0
0
0
0.212121
0.204819
83
6
21
13.833333
0.515152
0.144578
0
0
0
0
0
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
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e721e1a15ec9f7ac1804a6d5ec592a7fd8fa7224
194
py
Python
Test/train_test.py
fengduqianhe/CANE-master
4d94bbd0669ccb103292e1e1f2c51e7c7a961e54
[ "MIT" ]
null
null
null
Test/train_test.py
fengduqianhe/CANE-master
4d94bbd0669ccb103292e1e1f2c51e7c7a961e54
[ "MIT" ]
null
null
null
Test/train_test.py
fengduqianhe/CANE-master
4d94bbd0669ccb103292e1e1f2c51e7c7a961e54
[ "MIT" ]
null
null
null
from code.prepareData import prepare from code.train import start_train if __name__ == "__main__": dataset = "zhihu" ratio = 0.55 #prepare(dataset, ratio) start_train(dataset)
19.4
36
0.706186
25
194
5.08
0.6
0.125984
0
0
0
0
0
0
0
0
0
0.019355
0.201031
194
9
37
21.555556
0.8
0.118557
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e72f75760886c3edd8a522a88da62e80dcadc657
257
py
Python
app/schema/answers/radio_answer.py
qateam123/eq
704757952323647d659c49a71975c56406ff4047
[ "MIT" ]
null
null
null
app/schema/answers/radio_answer.py
qateam123/eq
704757952323647d659c49a71975c56406ff4047
[ "MIT" ]
8
2020-03-24T15:24:18.000Z
2022-03-02T04:32:56.000Z
app/schema/answers/radio_answer.py
qateam123/eq
704757952323647d659c49a71975c56406ff4047
[ "MIT" ]
null
null
null
from app.schema.answer import Answer from app.schema.widgets.radio_group_widget import RadioGroupWidget class RadioAnswer(Answer): def __init__(self, answer_id=None): super().__init__(answer_id) self.widget = RadioGroupWidget(self.id)
28.555556
66
0.758755
33
257
5.545455
0.545455
0.076503
0.142077
0
0
0
0
0
0
0
0
0
0.151751
257
8
67
32.125
0.83945
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e73873450367054290ab74d7d7243a097d33b204
12,577
py
Python
Evaluation.py
evanxia1018/CSE539_Project_LLE
881ea2278c39c16716e5de83dd8abbd267806a35
[ "MIT" ]
2
2019-11-10T02:04:52.000Z
2020-04-19T03:51:51.000Z
Evaluation.py
SarahLynnePu/CSE539_Project_LLE
881ea2278c39c16716e5de83dd8abbd267806a35
[ "MIT" ]
null
null
null
Evaluation.py
SarahLynnePu/CSE539_Project_LLE
881ea2278c39c16716e5de83dd8abbd267806a35
[ "MIT" ]
3
2017-12-28T14:09:24.000Z
2020-04-19T04:25:03.000Z
from matplotlib.mlab import PCA import numpy as np from sklearn.neighbors import NearestNeighbors def pca_dim_reduction(input_data, target_dim): reduced_dataset = [] # pca_obj = PCA(np.array(input_data)) pca_obj = PCA(np.array(input_data), standardize=False) projected_dataset = pca_obj.Y.tolist() f...
48.748062
159
0.655562
1,728
12,577
4.438657
0.073495
0.095046
0.091525
0.140808
0.74498
0.71708
0.705606
0.696871
0.695828
0.6794
0
0.013606
0.234476
12,577
257
160
48.937743
0.783029
0.696987
0
0.051948
0
0
0.00687
0
0
0
0
0
0
1
0.077922
false
0
0.064935
0
0.220779
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e75d07ed8d42f8c49c9745f42b7c6a48343c34ab
239
py
Python
Exercicios Curso Em Video Mundo 1/ex009.py
JorgeTranin/Python_Curso_Em_Video
be74c9301aafc055bdf883be649cb8b7716617e3
[ "MIT" ]
null
null
null
Exercicios Curso Em Video Mundo 1/ex009.py
JorgeTranin/Python_Curso_Em_Video
be74c9301aafc055bdf883be649cb8b7716617e3
[ "MIT" ]
null
null
null
Exercicios Curso Em Video Mundo 1/ex009.py
JorgeTranin/Python_Curso_Em_Video
be74c9301aafc055bdf883be649cb8b7716617e3
[ "MIT" ]
null
null
null
n1 = int(input('Digite um numero! ')) a = n1*1 b = n1*2 c = n1*3 d = n1*4 f = n1*5 print('_'* 12) print('tabuada é\n{} X 1 = {}\n{} X 2 = {}\n{} X 3 = {}\n{} X 4 = {}\n{} X 5 = {}'.format(n1, a, n1, b, n1, c, n1, d, n1, f)) print('_'* 12)
23.9
125
0.456067
54
239
1.981481
0.425926
0.093458
0
0
0
0
0
0
0
0
0
0.136612
0.23431
239
9
126
26.555556
0.448087
0
0
0.222222
0
0.111111
0.393305
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e75df0f2a317eb6e16b719fe5a36bfd39ba3bfdb
150
py
Python
Dataset/Leetcode/valid/9/432.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/9/432.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/9/432.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, x: int) -> bool: if ''.join(list(reversed(str(x))))==str(x): return True return False
21.428571
51
0.52
20
150
3.9
0.8
0.102564
0
0
0
0
0
0
0
0
0
0
0.32
150
6
52
25
0.764706
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e79e6a2d6f4be640ae5cb7c788c4538d86919c15
769
py
Python
main_hub/forms.py
emiledelmas/vkshub
214cc35985573654e3b81c6ab674049bd93262b8
[ "MIT" ]
1
2020-03-31T14:26:55.000Z
2020-03-31T14:26:55.000Z
main_hub/forms.py
emiledelmas/vkshub
214cc35985573654e3b81c6ab674049bd93262b8
[ "MIT" ]
null
null
null
main_hub/forms.py
emiledelmas/vkshub
214cc35985573654e3b81c6ab674049bd93262b8
[ "MIT" ]
null
null
null
from django import forms from .models import Document, Short, Youtube, Stegano,FaceRecognition class DocumentForm(forms.ModelForm): class Meta: model = Document file_field = forms.FileField(widget=forms.ClearableFileInput(attrs={'multiple': True})) fields = ('folder', 'file', 'password',) ...
24.03125
95
0.635891
77
769
6.337662
0.454545
0.143443
0.194672
0.235656
0.286885
0
0
0
0
0
0
0
0.243173
769
32
96
24.03125
0.838488
0
0
0.217391
0
0
0.077922
0
0
0
0
0
0
1
0
false
0.043478
0.086957
0
0.521739
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e7a1ffc9c6448446dccae51b41103fdff3e2a569
256
py
Python
lino_xl/lib/coachings/roles.py
khchine5/xl
b1634937a9ce87af1e948eb712b934b11f221d9d
[ "BSD-2-Clause" ]
1
2018-01-12T14:09:48.000Z
2018-01-12T14:09:48.000Z
lino_xl/lib/coachings/roles.py
khchine5/xl
b1634937a9ce87af1e948eb712b934b11f221d9d
[ "BSD-2-Clause" ]
1
2019-09-10T05:03:47.000Z
2019-09-10T05:03:47.000Z
lino_xl/lib/coachings/roles.py
khchine5/xl
b1634937a9ce87af1e948eb712b934b11f221d9d
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2015-2017 Luc Saffre # License: BSD (see file COPYING for details) """User roles for `lino_xl.lib.contacts`. """ from lino.core.roles import UserRole class CoachingsUser(UserRole): pass class CoachingsStaff(CoachingsUser): pass
19.692308
45
0.730469
33
256
5.636364
0.787879
0
0
0
0
0
0
0
0
0
0
0.037736
0.171875
256
12
46
21.333333
0.839623
0.449219
0
0.4
0
0
0
0
0
0
0
0
0
1
0
true
0.4
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
e7c8f645579242bfe0ee320a761ba9afdd682a79
3,606
py
Python
getmetric.py
ekollof/pymetrics
0698eb2a40887e6e5260885d1a2635ca46ddf5f6
[ "BSD-3-Clause" ]
null
null
null
getmetric.py
ekollof/pymetrics
0698eb2a40887e6e5260885d1a2635ca46ddf5f6
[ "BSD-3-Clause" ]
null
null
null
getmetric.py
ekollof/pymetrics
0698eb2a40887e6e5260885d1a2635ca46ddf5f6
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import os import sys import anydbm as dbm import select import imp import paramiko from pprint import pprint def getcmd(metric, param): """ Generate command for the target host :param metric: :param param: :return: """ # Load correct metric function from lib/mtype....
23.115385
79
0.572934
457
3,606
4.479212
0.391685
0.023937
0.015633
0.027846
0.041036
0.041036
0.041036
0.041036
0
0
0
0.009185
0.305602
3,606
155
80
23.264516
0.808307
0.100666
0
0.109756
1
0
0.104905
0
0
0
0
0.012903
0
0
null
null
0
0.085366
null
null
0.134146
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
1
0
1
0
0
0
0
0
0
0
0
3
e7cab03321504d33cc4ea18723f6e4103e21c5e1
438
py
Python
core/slack/matchers/regExpMatcher.py
ryanolee/pager-duty-sync
1fd88634e461b5db647d856bc6b59f990944685e
[ "MIT" ]
null
null
null
core/slack/matchers/regExpMatcher.py
ryanolee/pager-duty-sync
1fd88634e461b5db647d856bc6b59f990944685e
[ "MIT" ]
2
2020-09-27T18:19:17.000Z
2021-06-29T09:21:04.000Z
core/slack/matchers/regExpMatcher.py
ryanolee/pager-duty-sync
1fd88634e461b5db647d856bc6b59f990944685e
[ "MIT" ]
null
null
null
from .matcher import Matcher import re class RegExpMatcher(Matcher): def __init__(self, event_type, regexes = []): super().__init__(event_type) self.regexes = [re.compile(regex) for regex in regexes] def match(self, event): return any([regex.search(event['text']) for regex in self.reg...
33.692308
86
0.680365
57
438
4.947368
0.421053
0.12766
0.092199
0.141844
0
0
0
0
0
0
0
0
0.189498
438
13
86
33.692308
0.794366
0
0
0
0
0
0.164009
0.15262
0
0
0
0
0
1
0.3
false
0
0.2
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e7d4c5ef543fe10b1cbd6c8ea27e3bc3ea48d188
9,885
py
Python
tests/converter_tests/test_usfm2html_converter.py
mondele/tx-manager
ddbbeeae5990a327ffc14b42c478d3ea435c0533
[ "MIT" ]
3
2017-03-17T02:25:21.000Z
2017-05-18T22:18:20.000Z
tests/converter_tests/test_usfm2html_converter.py
mondele/tx-manager
ddbbeeae5990a327ffc14b42c478d3ea435c0533
[ "MIT" ]
184
2016-10-13T02:56:16.000Z
2021-03-25T21:27:20.000Z
tests/converter_tests/test_usfm2html_converter.py
mondele/tx-manager
ddbbeeae5990a327ffc14b42c478d3ea435c0533
[ "MIT" ]
16
2016-09-15T23:34:19.000Z
2019-07-25T07:06:32.000Z
from __future__ import absolute_import, unicode_literals, print_function import codecs import os import tempfile import unittest import shutil from contextlib import closing from libraries.converters.usfm2html_converter import Usfm2HtmlConverter from libraries.general_tools.file_utils import remove_tree, unzip, remove ...
45.976744
116
0.65564
1,382
9,885
4.434877
0.133864
0.076521
0.039158
0.042421
0.754936
0.73193
0.705498
0.691793
0.679883
0.673519
0
0.014978
0.230046
9,885
214
117
46.191589
0.790304
0.085685
0
0.597403
0
0.006494
0.136073
0.009431
0
0
0
0
0.194805
1
0.090909
false
0.012987
0.064935
0
0.175325
0.006494
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3