hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
0aec7fad0f474867079a857e5fa0aa0966e20a00
2,472
py
Python
upload_from_folder.py
robinrobinzon/fastpic
966f1aa8c6d7e98651727e7ed7f6b25970d5da11
[ "MIT" ]
null
null
null
upload_from_folder.py
robinrobinzon/fastpic
966f1aa8c6d7e98651727e7ed7f6b25970d5da11
[ "MIT" ]
null
null
null
upload_from_folder.py
robinrobinzon/fastpic
966f1aa8c6d7e98651727e7ed7f6b25970d5da11
[ "MIT" ]
null
null
null
import datetime import os import shutil import tempfile from joblib import Parallel, delayed from fastpic_upload import upload_file_to_fastpic _n_jobs_for_upload = 20 _root_folders_set = ( '/path/to/folder', ) _spoiler_for_each_file = True if __name__ == '__main__': started = datetime.datetime.now() ...
29.783133
106
0.651294
0aecc3617c0fed4d5c58d568836e4b90d9b9886f
1,994
py
Python
tools/accuracy_checker/openvino/tools/accuracy_checker/postprocessor/clip_segmentation_mask.py
TolyaTalamanov/open_model_zoo
1697e60712df4ca72635a2080a197b9d3bc24129
[ "Apache-2.0" ]
2,201
2018-10-15T14:37:19.000Z
2020-07-16T02:05:51.000Z
tools/accuracy_checker/openvino/tools/accuracy_checker/postprocessor/clip_segmentation_mask.py
Pandinosaurus/open_model_zoo
2543996541346418919c5cddfb71e33e2cdef080
[ "Apache-2.0" ]
759
2018-10-18T07:43:55.000Z
2020-07-16T01:23:12.000Z
tools/accuracy_checker/openvino/tools/accuracy_checker/postprocessor/clip_segmentation_mask.py
Pandinosaurus/open_model_zoo
2543996541346418919c5cddfb71e33e2cdef080
[ "Apache-2.0" ]
808
2018-10-16T14:03:49.000Z
2020-07-15T11:41:45.000Z
""" Copyright (c) 2018-2022 Intel Corporation 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 wri...
38.346154
117
0.739218
0aee1a078e80effb05eed8b8321db099a4b35623
1,925
py
Python
tests/test_utils.py
isabella232/pynacl
b3f6c320569d858ba61d4bdf2ac788564528c1c9
[ "Apache-2.0" ]
756
2015-01-03T17:49:44.000Z
2022-03-31T13:54:33.000Z
tests/test_utils.py
isabella232/pynacl
b3f6c320569d858ba61d4bdf2ac788564528c1c9
[ "Apache-2.0" ]
540
2015-01-02T10:54:33.000Z
2022-03-05T18:47:01.000Z
tests/test_utils.py
isabella232/pynacl
b3f6c320569d858ba61d4bdf2ac788564528c1c9
[ "Apache-2.0" ]
217
2015-01-09T00:48:01.000Z
2022-03-26T08:53:32.000Z
# Copyright 2013 Donald Stufft and individual contributors # # 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...
32.083333
75
0.725195
0aefad001e36b9eae9b3eb392972175239563b8d
2,893
py
Python
guesstheword.py
Cha0sNation/RandomPython
7ba41d78f27bd90e9c09efcd4d5c26eac93e74ec
[ "MIT" ]
null
null
null
guesstheword.py
Cha0sNation/RandomPython
7ba41d78f27bd90e9c09efcd4d5c26eac93e74ec
[ "MIT" ]
null
null
null
guesstheword.py
Cha0sNation/RandomPython
7ba41d78f27bd90e9c09efcd4d5c26eac93e74ec
[ "MIT" ]
null
null
null
#! /home/cha0snation/anaconda3/bin/python import random if __name__ == "__main__": words, output, word, tries, playing = setup() while playing: print("Try to guess the word:") if tries == 1: print("You have {0} try left.".format(tries)) else: print("You ha...
24.726496
73
0.483927
0af0f43e75ad092a7a05698be61aa6dca9c4178e
2,131
py
Python
web_app/index.py
svakulenk0/ArtDATIS
29e646f7bcb931e733ee248cc973411ffb18be64
[ "MIT" ]
null
null
null
web_app/index.py
svakulenk0/ArtDATIS
29e646f7bcb931e733ee248cc973411ffb18be64
[ "MIT" ]
9
2020-03-24T17:57:03.000Z
2022-03-12T00:08:07.000Z
web_app/index.py
svakulenk0/ArtDATIS
29e646f7bcb931e733ee248cc973411ffb18be64
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on Dec 8, 2019 .. codeauthor: svitlana vakulenko <svitlana.vakulenko@gmail.com> Index docs into ES https://qbox.io/blog/building-an-elasticsearch-index-with-python ''' from settings import * import glob import re # n first characters for the doc preview L...
30.014085
99
0.603003
0af106828dec53475f13db7b60f12e654896ac46
277
py
Python
src/tokens.py
PythonIsMagic/ponyup
3b2630d573cd46d0569f713c6d4c3790688dc62d
[ "MIT" ]
1
2022-03-22T12:41:35.000Z
2022-03-22T12:41:35.000Z
src/tokens.py
PythonIsMagic/ponyup
3b2630d573cd46d0569f713c6d4c3790688dc62d
[ "MIT" ]
null
null
null
src/tokens.py
PythonIsMagic/ponyup
3b2630d573cd46d0569f713c6d4c3790688dc62d
[ "MIT" ]
1
2022-03-22T12:41:37.000Z
2022-03-22T12:41:37.000Z
""" A Token is a button or other object on the table that represents a position, a game state, layer state, or some other piece of info """
25.181818
131
0.65343
0af1145915916f93873c49da300235d391c3c012
95
py
Python
T05-09/program.py
maa76/SSof-Project1920
9b4ad9ac41a648c425fcfcd49cd52ff84e528bde
[ "MIT" ]
2
2019-11-20T19:26:07.000Z
2019-11-22T00:42:23.000Z
T05-09/program.py
maa76/SSof-Project1920
9b4ad9ac41a648c425fcfcd49cd52ff84e528bde
[ "MIT" ]
2
2019-11-28T05:21:24.000Z
2019-11-28T05:21:58.000Z
T05-09/program.py
maa76/SSof-Project1920
9b4ad9ac41a648c425fcfcd49cd52ff84e528bde
[ "MIT" ]
25
2019-11-27T01:40:56.000Z
2019-12-04T23:38:59.000Z
nis=get('nis') q1="xpto1" q2=nis + "xpto2" query=query1.q2 koneksi=0 q=execute(query,koneksi)
11.875
24
0.705263
0af1366c588c694d1d5fccc2c589b64a4b89883f
1,089
py
Python
Chapter09/interpolation_search.py
Xiangs18/Algorithms-with-Python-Second-Edition
96844e1ae7054e099772dc691c1f41f15c2bfba5
[ "MIT" ]
null
null
null
Chapter09/interpolation_search.py
Xiangs18/Algorithms-with-Python-Second-Edition
96844e1ae7054e099772dc691c1f41f15c2bfba5
[ "MIT" ]
null
null
null
Chapter09/interpolation_search.py
Xiangs18/Algorithms-with-Python-Second-Edition
96844e1ae7054e099772dc691c1f41f15c2bfba5
[ "MIT" ]
null
null
null
store = [2, 4, 5, 12, 43, 54, 60, 77] a = interpolation_search(store, 2) print("Index position of value 2 is ", a)
37.551724
83
0.693297
0af19b677c50c3526ce7825f2f9c6b76ac47738c
715
py
Python
projects/models.py
javixeneize/asvs-1
31e9fdfd2d538c8ed1adf23fcb4f143ef28541c6
[ "MIT" ]
1
2020-10-01T05:55:39.000Z
2020-10-01T05:55:39.000Z
projects/models.py
Tasha-Carty-220/asvs
634cc0e96daedc91d1acc06827ce82e9c13f520d
[ "MIT" ]
null
null
null
projects/models.py
Tasha-Carty-220/asvs
634cc0e96daedc91d1acc06827ce82e9c13f520d
[ "MIT" ]
null
null
null
from django.db import models from django.db.models import Q from django.contrib.auth.models import User from django.urls import reverse
28.6
65
0.738462
0af1a3c68967c05606abe6a22eb2bbc2a17f6f6f
1,164
py
Python
tests/serverless/checks/aws/test_AdminPolicyDocument.py
peaudecastor/checkov
a4804b61c1b1390b7abd44ab53285fcbc3e7e80b
[ "Apache-2.0" ]
null
null
null
tests/serverless/checks/aws/test_AdminPolicyDocument.py
peaudecastor/checkov
a4804b61c1b1390b7abd44ab53285fcbc3e7e80b
[ "Apache-2.0" ]
null
null
null
tests/serverless/checks/aws/test_AdminPolicyDocument.py
peaudecastor/checkov
a4804b61c1b1390b7abd44ab53285fcbc3e7e80b
[ "Apache-2.0" ]
null
null
null
import os import unittest from checkov.serverless.checks.function.aws.AdminPolicyDocument import check from checkov.serverless.runner import Runner from checkov.runner_filter import RunnerFilter if __name__ == '__main__': unittest.main()
36.375
102
0.668385
0af230c3ec87bec2b40fe4cc74ba6765304b22f0
13,752
py
Python
src/macro_pack.py
lulinsheng/macro_pack
4e9d0178354bad2aa557298f44ba5d4385a72a2b
[ "Apache-2.0" ]
null
null
null
src/macro_pack.py
lulinsheng/macro_pack
4e9d0178354bad2aa557298f44ba5d4385a72a2b
[ "Apache-2.0" ]
null
null
null
src/macro_pack.py
lulinsheng/macro_pack
4e9d0178354bad2aa557298f44ba5d4385a72a2b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # encoding: utf-8 import os import sys import getopt import logging import shutil import psutil from modules.com_run import ComGenerator from modules.web_server import ListenServer from modules.Wlisten_server import WListenServer from modules.payload_builder_factory import PayloadBuilderFactory from...
40.210526
171
0.592568
0af2fa6e42815eb039756485d8f3d3cde750d905
137
py
Python
faced/const.py
binhmuc/faced
cbc18f552da9c53628d61d56de7dfda451a6e25f
[ "MIT" ]
null
null
null
faced/const.py
binhmuc/faced
cbc18f552da9c53628d61d56de7dfda451a6e25f
[ "MIT" ]
null
null
null
faced/const.py
binhmuc/faced
cbc18f552da9c53628d61d56de7dfda451a6e25f
[ "MIT" ]
null
null
null
import os MODELS_PATH = os.path.join(os.path.dirname(__file__), "models") YOLO_SIZE = 288 YOLO_TARGET = 9 CORRECTOR_SIZE = 50
15.222222
64
0.70073
0af340336c716992b681bade66c39e840439919b
6,148
py
Python
etl/load/elasticsearch.py
bilalelhoudaigui/plant-brapi-etl-data-lookup-gnpis
973dc444eac6d1cc80c020dd8b9a4656f70eeafb
[ "BSD-3-Clause" ]
3
2018-06-04T09:14:55.000Z
2018-10-25T14:32:03.000Z
etl/load/elasticsearch.py
bilalelhoudaigui/plant-brapi-etl-data-lookup-gnpis
973dc444eac6d1cc80c020dd8b9a4656f70eeafb
[ "BSD-3-Clause" ]
18
2020-06-04T07:08:17.000Z
2022-02-02T17:02:17.000Z
etl/load/elasticsearch.py
bilalelhoudaigui/plant-brapi-etl-data-lookup-gnpis
973dc444eac6d1cc80c020dd8b9a4656f70eeafb
[ "BSD-3-Clause" ]
4
2019-04-18T12:53:19.000Z
2019-11-22T08:53:19.000Z
# Load json bulk files into elasticsearch import json import os import time import traceback import elasticsearch from etl.common.store import list_entity_files from etl.common.utils import get_folder_path, get_file_path, create_logger, first, replace_template # Init Elasticsearch and test connection def init_es_c...
40.183007
121
0.689655
0af3b89835e63f3225a17831847f039cebf091f8
6,798
py
Python
geoplot/crs.py
redfrexx/geoplot
8231baab0e286f1dec870dd5e8c6c8218e5b5da7
[ "MIT" ]
null
null
null
geoplot/crs.py
redfrexx/geoplot
8231baab0e286f1dec870dd5e8c6c8218e5b5da7
[ "MIT" ]
null
null
null
geoplot/crs.py
redfrexx/geoplot
8231baab0e286f1dec870dd5e8c6c8218e5b5da7
[ "MIT" ]
null
null
null
""" This module defines the ``geoplot`` coordinate reference system classes, wrappers on ``cartopy.crs`` objects meant to be used as parameters to the ``projection`` parameter of all front-end ``geoplot`` outputs. For the list of Cartopy CRS objects this module derives from, refer to http://scitools.org.uk/cartopy/docs...
39.523256
98
0.624595
0af3c3569db12057875193547cf2329c8c03ae92
581
py
Python
api/views/stores/att_handler.py
cderwin/maps
0146260935a749679396022b6d2b1d90b6df2539
[ "MIT" ]
null
null
null
api/views/stores/att_handler.py
cderwin/maps
0146260935a749679396022b6d2b1d90b6df2539
[ "MIT" ]
7
2016-02-09T07:18:48.000Z
2016-02-09T07:25:40.000Z
api/views/stores/att_handler.py
cderwin/maps
0146260935a749679396022b6d2b1d90b6df2539
[ "MIT" ]
null
null
null
from .default_handler import StoresHandler
36.3125
120
0.636833
0af3eac5180ad01027c97600a407eb3106203f56
349
py
Python
pythonProject/MUNDO 2/Desafio 54.py
lucasjlgc/Aulas-de-Python-
6aaed1c660487a680e9c449210600ccdfa326612
[ "MIT" ]
null
null
null
pythonProject/MUNDO 2/Desafio 54.py
lucasjlgc/Aulas-de-Python-
6aaed1c660487a680e9c449210600ccdfa326612
[ "MIT" ]
1
2021-06-25T15:29:11.000Z
2021-06-25T15:29:11.000Z
pythonProject/MUNDO 2/Desafio 54.py
lucasjlgc/Aulas-de-Python-
6aaed1c660487a680e9c449210600ccdfa326612
[ "MIT" ]
null
null
null
#Leia o ano de nascimento de 7 pessoas e mostre quantas ja atingiram a maioridade e quantas ainda no for c in range(1,8): p=int(input('Qual o ano de seu nascimento? ')) a=2021-p if a>= 18: print('A pessoa numero {} j maior de idade'.format(c)) else: print('A pessoa numero {} no maio...
29.083333
101
0.638968
0af473baeece942d5629ff430bbc40a3d23df7c3
559
py
Python
tmoga/utils/SDE.py
zjg540066169/tmoga
a3c3ecd0d72fc7c57fd5e5a624780e7ebf199c61
[ "Apache-2.0" ]
2
2021-10-06T04:45:52.000Z
2022-03-20T01:18:05.000Z
tmoga/utils/SDE.py
zjg540066169/tmoga
a3c3ecd0d72fc7c57fd5e5a624780e7ebf199c61
[ "Apache-2.0" ]
1
2022-03-20T01:45:09.000Z
2022-03-21T15:17:21.000Z
tmoga/utils/SDE.py
zjg540066169/tmoga
a3c3ecd0d72fc7c57fd5e5a624780e7ebf199c61
[ "Apache-2.0" ]
3
2021-10-09T08:08:44.000Z
2022-03-20T01:18:07.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Provide function to calculate SDE distance @auth: Jungang Zou @date: 2021/05/05 """
25.409091
95
0.554562
0af494f1b9f9c81499c5786b2c2ea3e48e90635b
1,361
py
Python
a1.py
pscly/shua_shouji
1c03056c8f5db4a3a1222b2d31fdf44c3ab07cf6
[ "MulanPSL-1.0" ]
null
null
null
a1.py
pscly/shua_shouji
1c03056c8f5db4a3a1222b2d31fdf44c3ab07cf6
[ "MulanPSL-1.0" ]
null
null
null
a1.py
pscly/shua_shouji
1c03056c8f5db4a3a1222b2d31fdf44c3ab07cf6
[ "MulanPSL-1.0" ]
null
null
null
# -*- encoding=utf8 -*- __author__ = "pscly" from airtest.core.api import * from airtest.cli.parser import cli_setup # from douyin import * if not cli_setup(): auto_setup(__file__, logdir=True, devices=[ "android://127.0.0.1:5037/decc8da3?cap_method=MINICAP_STREAM&&ori_method=MINICAPORI&&touch_method=...
23.877193
121
0.409993
0af54c84e47849c156e92dd294fed072b3ed4861
1,183
py
Python
tests/v3_validation/cattlevalidationtest/core/test_logs_api.py
bmdepesa/validation-tests
23e7ab95ce76744483a0657f790b42a88a93436d
[ "Apache-2.0" ]
7
2015-11-18T17:43:08.000Z
2021-07-14T09:48:18.000Z
tests/v3_validation/cattlevalidationtest/core/test_logs_api.py
bmdepesa/validation-tests
23e7ab95ce76744483a0657f790b42a88a93436d
[ "Apache-2.0" ]
175
2015-07-09T18:41:24.000Z
2021-06-10T21:23:27.000Z
tests/v3_validation/cattlevalidationtest/core/test_logs_api.py
bmdepesa/validation-tests
23e7ab95ce76744483a0657f790b42a88a93436d
[ "Apache-2.0" ]
25
2015-08-08T04:54:24.000Z
2021-05-25T21:10:37.000Z
from common_fixtures import * # NOQA import websocket as ws import pytest
28.853659
68
0.687236
0af5f234889bb24214fc2ee681419b82d7cdaceb
13,717
py
Python
models/psg_seed_resnet.py
VITA-Group/Peek-a-Boo
9290d4e5e3aee0dff994e1a664ec91bd6ec93176
[ "MIT" ]
2
2022-01-22T03:57:21.000Z
2022-01-30T20:44:32.000Z
models/psg_seed_resnet.py
VITA-Group/Peek-a-Boo
9290d4e5e3aee0dff994e1a664ec91bd6ec93176
[ "MIT" ]
null
null
null
models/psg_seed_resnet.py
VITA-Group/Peek-a-Boo
9290d4e5e3aee0dff994e1a664ec91bd6ec93176
[ "MIT" ]
2
2022-01-30T12:26:56.000Z
2022-03-14T12:42:06.000Z
'''ResNet using PSG in PyTorch. For Pre-activation ResNet, see 'preact_resnet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 ''' from numpy.lib.arraysetops import isin import torch import torch.nn as nn import torch.nn.functiona...
37.787879
139
0.679813
0af634a53b2ebcc4683b0c1863c9043af5a4905d
1,090
py
Python
drybell/drybell_lfs_spark.py
jsnlp/snorkel-tutorials
b4cda9f918daf77f4011ec1598c08d9bd7e51c39
[ "Apache-2.0" ]
315
2019-07-27T22:49:20.000Z
2022-03-30T10:02:02.000Z
drybell/drybell_lfs_spark.py
jsnlp/snorkel-tutorials
b4cda9f918daf77f4011ec1598c08d9bd7e51c39
[ "Apache-2.0" ]
133
2019-07-25T02:07:37.000Z
2022-03-29T12:08:32.000Z
drybell/drybell_lfs_spark.py
jsnlp/snorkel-tutorials
b4cda9f918daf77f4011ec1598c08d9bd7e51c39
[ "Apache-2.0" ]
173
2019-08-13T02:27:11.000Z
2022-03-30T05:26:40.000Z
from pyspark.sql import Row from snorkel.labeling.lf import labeling_function from snorkel.labeling.lf.nlp_spark import spark_nlp_labeling_function from snorkel.preprocess import preprocessor from drybell_lfs import load_celebrity_knowledge_base ABSTAIN = -1 NEGATIVE = 0 POSITIVE = 1
26.585366
83
0.748624
0af65b8666e4023ddc4b24aa0b03dd9c64d6dd98
15,465
py
Python
dreamplace/ops/dct/discrete_spectral_transform.py
dongleecsu/DREAMPlace
86b56521a3eacfb5cadff935631302bf6986a689
[ "BSD-3-Clause" ]
12
2022-03-01T06:46:42.000Z
2022-03-27T03:40:45.000Z
dreamplace/ops/dct/discrete_spectral_transform.py
dongleecsu/DREAMPlace
86b56521a3eacfb5cadff935631302bf6986a689
[ "BSD-3-Clause" ]
4
2022-03-08T13:00:01.000Z
2022-03-30T10:07:01.000Z
dreamplace/ops/dct/discrete_spectral_transform.py
dongleecsu/DREAMPlace
86b56521a3eacfb5cadff935631302bf6986a689
[ "BSD-3-Clause" ]
8
2022-03-01T06:46:45.000Z
2022-03-29T12:40:05.000Z
## # @file discrete_spectral_transform.py # @author Yibo Lin # @date Jun 2018 # import os import sys import numpy as np import torch import torch.nn.functional as F import pdb """ Discrete spectral transformation leveraging fast fourier transform engine. The math here mainly uses Prosthaphaeresis properties. The ...
35.798611
131
0.643453
0af766c917854c90cf7eae087d9105162f3eb248
8,667
py
Python
py/testdir_multi_jvm/test_many_fp_formats_libsvm_2.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
null
null
null
py/testdir_multi_jvm/test_many_fp_formats_libsvm_2.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
null
null
null
py/testdir_multi_jvm/test_many_fp_formats_libsvm_2.py
vkuznet/h2o
e08f7014f228cbaecfb21f57379970e6a3ac0756
[ "Apache-2.0" ]
null
null
null
import unittest, random, sys, time sys.path.extend(['.','..','py']) import h2o, h2o_cmd, h2o_hosts, h2o_browse as h2b, h2o_import as h2i, h2o_exec as h2e, h2o_glm import h2o_util zeroList = [ 'Result0 = 0', ] # the first column should use this exprList = [ 'Result<n> = sum(<keyX>[<col1>])', ] DO_S...
45.376963
151
0.572055
0af886d3e8e59b20a8f0a8f86ad88dbe765599d2
14,441
py
Python
python/influx/database_tables.py
SA-22C-smoothswing/spectrum-protect-sppmon
8a9c70f65d9faf6ffc35f3400383dcaa6e0fcbc6
[ "Apache-2.0" ]
null
null
null
python/influx/database_tables.py
SA-22C-smoothswing/spectrum-protect-sppmon
8a9c70f65d9faf6ffc35f3400383dcaa6e0fcbc6
[ "Apache-2.0" ]
null
null
null
python/influx/database_tables.py
SA-22C-smoothswing/spectrum-protect-sppmon
8a9c70f65d9faf6ffc35f3400383dcaa6e0fcbc6
[ "Apache-2.0" ]
null
null
null
"""Provides all database and table structures used for the influx database. Classes: Datatype Database Table RetentionPolicy """ from __future__ import annotations from enum import Enum, unique import re import json from typing import Any, Dict, List, Set, Tuple, Union import influx.influx_queries as ...
36.012469
119
0.628696
0af8af43646ac075b324487dffc3942d97354220
1,145
py
Python
examples/rpc_server_side.py
calendar42/SleekXMPP--XEP-0080-
d7bd5fd29f26a5d7de872a49ff63a353b8043e49
[ "BSD-3-Clause" ]
1
2016-10-24T05:30:25.000Z
2016-10-24T05:30:25.000Z
examples/rpc_server_side.py
vijayp/SleekXMPP
b2e7f57334d27f140f079213c2016615b7168742
[ "BSD-3-Clause" ]
null
null
null
examples/rpc_server_side.py
vijayp/SleekXMPP
b2e7f57334d27f140f079213c2016615b7168742
[ "BSD-3-Clause" ]
null
null
null
""" SleekXMPP: The Sleek XMPP Library Copyright (C) 2011 Dann Martens This file is part of SleekXMPP. See the file LICENSE for copying permission. """ from sleekxmpp.plugins.xep_0009.remote import Endpoint, remote, Remote, \ ANY_ALL import threading if __name__ == '__main__': main(...
22.019231
73
0.627074
0af8ec7bff7f3176683d674120e0f5944b63d168
11,868
py
Python
lib/TelloAPI.py
wuhuikai/DeepDrone
f4700178a7568fa9e308f34d0223e28635eb7660
[ "MIT" ]
1
2019-08-19T00:12:56.000Z
2019-08-19T00:12:56.000Z
lib/TelloAPI.py
wuhuikai/DeepDrone
f4700178a7568fa9e308f34d0223e28635eb7660
[ "MIT" ]
null
null
null
lib/TelloAPI.py
wuhuikai/DeepDrone
f4700178a7568fa9e308f34d0223e28635eb7660
[ "MIT" ]
null
null
null
import cv2 import time import socket import threading
28.528846
153
0.565133
0af8f9b563483812450b36d24892bee1c8265e62
388
py
Python
terrascript/resource/sematext.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/resource/sematext.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/resource/sematext.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/resource/sematext.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:26:36 UTC) # # For imports without namespace, e.g. # # >>> import terrascript.resource.sematext # # instead of # # >>> import terrascript.resource.sematext.sematext # # This is only available for 'official' and 'partne...
25.866667
73
0.75
0af95702c3886ad24fef9b7d2bef0b353d7f0d8a
5,779
py
Python
eval_encoder.py
lithium0003/Image2UTF8-Transformer
2620af2a8bdaf332e25b39ce05d610e21e6492fc
[ "MIT" ]
null
null
null
eval_encoder.py
lithium0003/Image2UTF8-Transformer
2620af2a8bdaf332e25b39ce05d610e21e6492fc
[ "MIT" ]
null
null
null
eval_encoder.py
lithium0003/Image2UTF8-Transformer
2620af2a8bdaf332e25b39ce05d610e21e6492fc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import tensorflow as tf physical_devices = tf.config.list_physical_devices('GPU') try: tf.config.experimental.set_memory_growth(physical_devices[0], True) except: # Invalid device or cannot modify virtual devices once initialized. pass import numpy as np import os, time, csv import ...
37.525974
167
0.554767
0afa87a4b421519306afb64f3b1e1263669a468c
22,351
py
Python
clipper_admin/clipper_admin/clipper_admin.py
SimonZsx/clipper
457088be2ebe68c68b94d90389d1308e35b4c844
[ "Apache-2.0" ]
2
2019-04-24T13:46:28.000Z
2019-05-28T06:59:26.000Z
clipper_admin/clipper_admin/clipper_admin.py
SimonZsx/clipper
457088be2ebe68c68b94d90389d1308e35b4c844
[ "Apache-2.0" ]
null
null
null
clipper_admin/clipper_admin/clipper_admin.py
SimonZsx/clipper
457088be2ebe68c68b94d90389d1308e35b4c844
[ "Apache-2.0" ]
4
2019-04-03T11:03:57.000Z
2019-06-26T08:22:38.000Z
from __future__ import absolute_import, division, print_function import logging import docker import tempfile import requests from requests.exceptions import RequestException import json import pprint import time import re import os import tarfile import sys from cloudpickle import CloudPickler import pickle import num...
39.629433
176
0.579437
0afb2dc8c2daf11d9a82ca819aeffdafacc6c971
2,515
py
Python
graph.py
VaniSHadow/tpGenerator
2a2e0a65df48c812d9fa2e2b1474573c6a6ab6c0
[ "Unlicense" ]
null
null
null
graph.py
VaniSHadow/tpGenerator
2a2e0a65df48c812d9fa2e2b1474573c6a6ab6c0
[ "Unlicense" ]
null
null
null
graph.py
VaniSHadow/tpGenerator
2a2e0a65df48c812d9fa2e2b1474573c6a6ab6c0
[ "Unlicense" ]
null
null
null
import random import numpy import copy
27.043011
113
0.622664
0afbde7fb6ef3a1d965ab24316c2720252ada994
970
py
Python
csv2googlesheets/to_google_sheets.py
AlexSkrn/csv2googlesheets
71656dcc6827b1c58ffe80bc55aa6f1ee816f216
[ "MIT" ]
null
null
null
csv2googlesheets/to_google_sheets.py
AlexSkrn/csv2googlesheets
71656dcc6827b1c58ffe80bc55aa6f1ee816f216
[ "MIT" ]
null
null
null
csv2googlesheets/to_google_sheets.py
AlexSkrn/csv2googlesheets
71656dcc6827b1c58ffe80bc55aa6f1ee816f216
[ "MIT" ]
null
null
null
"""This module provides a console interface to convert CSV to Google Sheets.""" from csv2googlesheets.gapi_authorization import auth_with_google from csv2googlesheets.gapi_create_sheet import create_sheet from csv2googlesheets.gapi_write_to_sheet import write_to_sheet from csv2googlesheets.parse_file import build_spr...
32.333333
79
0.786598
0afbe95b203d0f0c8eb9b8de7581ea6aec0cc6c2
450
py
Python
netforce_account/netforce_account/migrations/credit_remain_cur.py
nfco/netforce
35252eecd0a6633ab9d82162e9e3ff57d4da029a
[ "MIT" ]
27
2015-09-30T23:53:30.000Z
2021-06-07T04:56:25.000Z
netforce_account/netforce_account/migrations/credit_remain_cur.py
nfco/netforce
35252eecd0a6633ab9d82162e9e3ff57d4da029a
[ "MIT" ]
191
2015-10-08T11:46:30.000Z
2019-11-14T02:24:36.000Z
netforce_account/netforce_account/migrations/credit_remain_cur.py
nfco/netforce
35252eecd0a6633ab9d82162e9e3ff57d4da029a
[ "MIT" ]
32
2015-10-01T03:59:43.000Z
2022-01-13T07:31:05.000Z
from netforce.model import get_model from netforce import migration from netforce import database Migration.register()
32.142857
170
0.791111
0afc21eecdc60b266d8862b6f28eebf607699a5d
48,451
py
Python
chevah/compat/testing/testcase.py
chevah/compat
d22e5f551a628f8a1652c9f2eea306e17930cb8f
[ "BSD-3-Clause" ]
5
2016-12-03T22:54:50.000Z
2021-11-17T11:17:39.000Z
chevah/compat/testing/testcase.py
chevah/compat
d22e5f551a628f8a1652c9f2eea306e17930cb8f
[ "BSD-3-Clause" ]
76
2015-01-22T16:00:31.000Z
2022-02-09T22:13:34.000Z
chevah/compat/testing/testcase.py
chevah/compat
d22e5f551a628f8a1652c9f2eea306e17930cb8f
[ "BSD-3-Clause" ]
1
2016-12-10T15:57:31.000Z
2016-12-10T15:57:31.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2011 Adi Roiban. # See LICENSE for details. """ TestCase used for Chevah project. """ from __future__ import print_function from __future__ import division from __future__ import absolute_import from six import text_type from six.moves import range import contextlib import inspec...
33.049795
78
0.593053
0afd7a5b152406bcaea034f10b6d1b88302e3d68
434
py
Python
web/snowflake.py
jphacks/C_2118
a63279e92362e09d1856e3d44edb4793d370fd7a
[ "MIT" ]
null
null
null
web/snowflake.py
jphacks/C_2118
a63279e92362e09d1856e3d44edb4793d370fd7a
[ "MIT" ]
5
2021-10-30T00:55:45.000Z
2021-10-30T04:23:36.000Z
web/snowflake.py
jphacks/C_2118
a63279e92362e09d1856e3d44edb4793d370fd7a
[ "MIT" ]
null
null
null
import time
24.111111
74
0.546083
0afd820091335019ca4a87a89952513413136cc0
69
py
Python
src/metarl/tf/plotter/__init__.py
icml2020submission6857/metarl
9b66cefa2b6bcb6a38096d629ce8853b47c7171d
[ "MIT" ]
2
2020-03-15T14:35:15.000Z
2021-02-15T16:38:00.000Z
src/metarl/tf/plotter/__init__.py
neurips2020submission11699/metarl
ae4825d21478fa1fd0aa6b116941ea40caa152a5
[ "MIT" ]
null
null
null
src/metarl/tf/plotter/__init__.py
neurips2020submission11699/metarl
ae4825d21478fa1fd0aa6b116941ea40caa152a5
[ "MIT" ]
1
2020-02-24T03:04:23.000Z
2020-02-24T03:04:23.000Z
from metarl.tf.plotter.plotter import Plotter __all__ = ['Plotter']
17.25
45
0.768116
0afe13064838542a197bda7a6f3924d3d020b310
1,912
py
Python
generative_deep_learning/build_network.py
slaily/deep-learning-bits
cb9ce7ec539efbdfcaa023d141466f919bd31b71
[ "MIT" ]
null
null
null
generative_deep_learning/build_network.py
slaily/deep-learning-bits
cb9ce7ec539efbdfcaa023d141466f919bd31b71
[ "MIT" ]
null
null
null
generative_deep_learning/build_network.py
slaily/deep-learning-bits
cb9ce7ec539efbdfcaa023d141466f919bd31b71
[ "MIT" ]
null
null
null
from keras import layers # Single-layer LSTM model for next-character prediction model = keras.models.Sequential() model.add(layers.LSTM(128, input_shape=(maxlen, len(chars)))) model.add(layers.Dense(len(chars), activation='softmax')) # Model compilation configuration optimizer = keras.optimizers.RMSprop(lr=0.01) mod...
33.54386
69
0.668933
0afe1be38b21464d40015306f8c1387f5700680f
4,962
py
Python
tests/test_structure_learning.py
thunderbug1/pyanom
e442bff70a4d1880a9a698c020287edf1933d498
[ "MIT" ]
null
null
null
tests/test_structure_learning.py
thunderbug1/pyanom
e442bff70a4d1880a9a698c020287edf1933d498
[ "MIT" ]
null
null
null
tests/test_structure_learning.py
thunderbug1/pyanom
e442bff70a4d1880a9a698c020287edf1933d498
[ "MIT" ]
null
null
null
import io import unittest import numpy as np if __name__ == '__main__': unittest.main()
48.174757
77
0.438734
0afe544e807773d996329c44f23a45f84862abbe
2,610
py
Python
examples/MDF/states.py
29riyasaxena/MDF
476e6950d0f14f29463eb4f6e3be518dfb2160a5
[ "Apache-2.0" ]
12
2021-01-18T20:38:21.000Z
2022-03-29T15:01:10.000Z
examples/MDF/states.py
29riyasaxena/MDF
476e6950d0f14f29463eb4f6e3be518dfb2160a5
[ "Apache-2.0" ]
101
2020-12-14T15:23:07.000Z
2022-03-31T17:06:19.000Z
examples/MDF/states.py
29riyasaxena/MDF
476e6950d0f14f29463eb4f6e3be518dfb2160a5
[ "Apache-2.0" ]
15
2020-12-04T22:37:14.000Z
2022-03-31T09:48:03.000Z
""" Example of ModECI MDF - Testing state variables """ from modeci_mdf.mdf import * import sys if __name__ == "__main__": main()
25.841584
104
0.591188
0afefe0acef029f680c5802bbedac80261a2e2f4
8,958
py
Python
gremlin-python/src/main/jython/tests/driver/test_client.py
jseekamp/tinkerpop
5f7b7d2c4353cf2d8ee48eed6c0e5632666d16c0
[ "Apache-2.0" ]
1
2019-06-24T09:10:32.000Z
2019-06-24T09:10:32.000Z
gremlin-python/src/main/jython/tests/driver/test_client.py
jseekamp/tinkerpop
5f7b7d2c4353cf2d8ee48eed6c0e5632666d16c0
[ "Apache-2.0" ]
4
2021-01-21T01:33:32.000Z
2022-01-21T23:48:58.000Z
gremlin-python/src/main/jython/tests/driver/test_client.py
jseekamp/tinkerpop
5f7b7d2c4353cf2d8ee48eed6c0e5632666d16c0
[ "Apache-2.0" ]
null
null
null
''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
36.713115
113
0.667002
e40074d263a071da246090065d0ad8ae39b4da28
20,118
py
Python
gaia_tools/xmatch/__init__.py
henrysky/gaia_tools
c151a1d8f6896d8ef5a379291baa8a1f027bd53b
[ "MIT" ]
44
2016-09-13T06:37:46.000Z
2022-02-03T20:59:56.000Z
gaia_tools/xmatch/__init__.py
henrysky/gaia_tools
c151a1d8f6896d8ef5a379291baa8a1f027bd53b
[ "MIT" ]
24
2016-10-18T23:26:15.000Z
2020-12-08T18:24:27.000Z
gaia_tools/xmatch/__init__.py
henrysky/gaia_tools
c151a1d8f6896d8ef5a379291baa8a1f027bd53b
[ "MIT" ]
18
2016-10-18T22:26:45.000Z
2021-08-20T09:07:31.000Z
# Tools for cross-matching catalogs import csv import sys import os import os.path import platform import shutil import subprocess import tempfile import warnings WIN32= platform.system() == 'Windows' import numpy import astropy.coordinates as acoords from astropy.table import Table from astropy import units as u fro...
46.786047
261
0.607814
e400f6b243c2f7da007de4b3632bc30927997f62
14,873
py
Python
rllib/agents/dqn/dqn_torch_policy.py
ThomasLecat/ray
eb025ea8cb27583e8ef6287f5654f23d1ab270ef
[ "Apache-2.0" ]
null
null
null
rllib/agents/dqn/dqn_torch_policy.py
ThomasLecat/ray
eb025ea8cb27583e8ef6287f5654f23d1ab270ef
[ "Apache-2.0" ]
null
null
null
rllib/agents/dqn/dqn_torch_policy.py
ThomasLecat/ray
eb025ea8cb27583e8ef6287f5654f23d1ab270ef
[ "Apache-2.0" ]
null
null
null
from typing import Dict, List, Tuple import gym import ray from ray.rllib.agents.a3c.a3c_torch_policy import apply_grad_clipping from ray.rllib.agents.dqn.dqn_tf_policy import ( PRIO_WEIGHTS, Q_SCOPE, Q_TARGET_SCOPE, postprocess_nstep_and_prio) from ray.rllib.agents.dqn.dqn_torch_model import DQNTorchModel from ra...
39.76738
79
0.638741
e4011ff0a2fe000023c186be9341efbe90bde007
57
py
Python
formfyxer/__init__.py
SuffolkLITLab/FormFyxer
00a6a70b30f1899fc5273de1001f1f57c3728f60
[ "MIT" ]
1
2022-03-07T23:22:00.000Z
2022-03-07T23:22:00.000Z
formfyxer/__init__.py
SuffolkLITLab/FormFyxer
00a6a70b30f1899fc5273de1001f1f57c3728f60
[ "MIT" ]
32
2022-02-10T17:33:58.000Z
2022-03-23T18:27:08.000Z
formfyxer/__init__.py
SuffolkLITLab/FormFyxer
00a6a70b30f1899fc5273de1001f1f57c3728f60
[ "MIT" ]
null
null
null
from .lit_explorer import * from .pdf_wrangling import *
19
28
0.789474
e40169279b6d0abaccc4f8f3610827c98bbcceff
6,197
py
Python
Overview/11 - funktsioonid.py
priidupaomets/python_kursus
731ab386ca40c321288659db21db23912ca7f8dd
[ "MIT" ]
1
2021-02-19T15:21:28.000Z
2021-02-19T15:21:28.000Z
Overview/11 - funktsioonid.py
priidupaomets/python_kursus
731ab386ca40c321288659db21db23912ca7f8dd
[ "MIT" ]
null
null
null
Overview/11 - funktsioonid.py
priidupaomets/python_kursus
731ab386ca40c321288659db21db23912ca7f8dd
[ "MIT" ]
1
2018-03-24T11:01:46.000Z
2018-03-24T11:01:46.000Z
""" funktsioonid.py Funktsioonide ja protseduuride kasutamine """ # # Protseduur # # Kutsume funktsiooni vlja minu_funktsioon() # # Funktsioon # sum = liida(3, 5) print(sum) # Nide vaikevrtuste kasutamisest # def funk(arg1 = vrtus1, arg2 = vrtus2) # pass funk() # Kutsume funktsiooni vlja ilma argumente kaasa...
24.01938
116
0.606745
e401cec76e2495c504bab2f84a98dc13530872c1
6,865
py
Python
tests/integration/states/test_cmd.py
l2ol33rt/salt
ff68bbd9f4bda992a3e039822fb32f141e94347c
[ "Apache-2.0" ]
null
null
null
tests/integration/states/test_cmd.py
l2ol33rt/salt
ff68bbd9f4bda992a3e039822fb32f141e94347c
[ "Apache-2.0" ]
null
null
null
tests/integration/states/test_cmd.py
l2ol33rt/salt
ff68bbd9f4bda992a3e039822fb32f141e94347c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Tests for the file state ''' # Import python libs from __future__ import absolute_import import errno import os import textwrap import tempfile # Import Salt Testing libs from tests.support.case import ModuleCase from tests.support.paths import TMP_STATE_TREE from tests.support.mixins impor...
34.154229
94
0.57276
e402affb74681aeffbd7073f07e5537c7f847fc0
2,591
py
Python
mars/tensor/execution/datastore.py
ChenQuan/mars
46fc9747e99210cebfabfc2d85bcc8272440d1a3
[ "Apache-2.0" ]
null
null
null
mars/tensor/execution/datastore.py
ChenQuan/mars
46fc9747e99210cebfabfc2d85bcc8272440d1a3
[ "Apache-2.0" ]
null
null
null
mars/tensor/execution/datastore.py
ChenQuan/mars
46fc9747e99210cebfabfc2d85bcc8272440d1a3
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 1999-2018 Alibaba Group Holding Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
37.550725
89
0.63296
e4041f8f3f0e170375ff7b152259c16fb293ef71
1,689
py
Python
fastgc/model/mlp.py
ppmlguy/fastgradclip
0d8bff42ab13fa3471c520a2823050ccf0ff4a21
[ "MIT" ]
2
2020-10-16T10:14:25.000Z
2021-03-25T17:19:34.000Z
fastgc/model/mlp.py
ppmlguy/fastgradclip
0d8bff42ab13fa3471c520a2823050ccf0ff4a21
[ "MIT" ]
null
null
null
fastgc/model/mlp.py
ppmlguy/fastgradclip
0d8bff42ab13fa3471c520a2823050ccf0ff4a21
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F from fastgc.model.penet import PeGradNet from fastgc.layers.linear import Linear from fastgc.activation import activation
35.1875
102
0.605684
e40722bed82cf8f0cac95ef9146f043dd3dc25ca
5,318
py
Python
05-Environments/hw02/hw02/hw02.py
ericchen12377/CS61A_LearningDoc
31f23962b0e2834795bf61eeb0f4884cc5da1809
[ "MIT" ]
2
2020-04-24T18:36:53.000Z
2020-04-25T00:15:55.000Z
05-Environments/hw02/hw02/hw02.py
ericchen12377/CS61A_LearningDoc
31f23962b0e2834795bf61eeb0f4884cc5da1809
[ "MIT" ]
null
null
null
05-Environments/hw02/hw02/hw02.py
ericchen12377/CS61A_LearningDoc
31f23962b0e2834795bf61eeb0f4884cc5da1809
[ "MIT" ]
null
null
null
""" Homework 2: Higher Order Functions""" HW_SOURCE_FILE = 'hw02.py' from operator import add, mul, sub square = lambda x: x * x identity = lambda x: x triple = lambda x: 3 * x increment = lambda x: x + 1 ###################### # Required Questions # ###################### def product(n, f): """Return the pr...
25.690821
92
0.548326
e407a1b65cd96d68a622c0a025047b036e6148f4
21,659
py
Python
test_vector_handlers/src/awses_test_vectors/manifests/full_message/decrypt_generation.py
farleyb-amazon/aws-encryption-sdk-python
7950abd73ee333407d2dadd02ef2d57c3df464cf
[ "Apache-2.0" ]
95
2018-08-20T23:10:00.000Z
2022-02-17T02:54:32.000Z
test_vector_handlers/src/awses_test_vectors/manifests/full_message/decrypt_generation.py
farleyb-amazon/aws-encryption-sdk-python
7950abd73ee333407d2dadd02ef2d57c3df464cf
[ "Apache-2.0" ]
220
2018-08-01T20:56:29.000Z
2022-03-28T18:12:35.000Z
test_vector_handlers/src/awses_test_vectors/manifests/full_message/decrypt_generation.py
farleyb-amazon/aws-encryption-sdk-python
7950abd73ee333407d2dadd02ef2d57c3df464cf
[ "Apache-2.0" ]
63
2018-08-01T19:37:33.000Z
2022-03-20T17:14:15.000Z
# Copyright 2018 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
43.755556
120
0.722009
e409ad0c94dc67812d4ce4eb1f3a9b3b256b6a43
638
py
Python
acceptance/test/TestStartStopFeature.py
ismacaulay/qtcwatchdog
72f3588eef1019bac8788fa58c52722dfa7c4d28
[ "MIT" ]
null
null
null
acceptance/test/TestStartStopFeature.py
ismacaulay/qtcwatchdog
72f3588eef1019bac8788fa58c52722dfa7c4d28
[ "MIT" ]
12
2015-10-22T15:38:28.000Z
2016-03-22T18:53:57.000Z
acceptance/test/TestStartStopFeature.py
ismacaulay/qtcwatchdog
72f3588eef1019bac8788fa58c52722dfa7c4d28
[ "MIT" ]
null
null
null
from acceptance.harness.acceptance_test import WatchdogAcceptanceTest
26.583333
69
0.761755
e409e1ff47556f0c395cedaf6538d4e9082df50c
1,243
py
Python
neural_spline_flows/nde/transforms/transform_test.py
VincentStimper/nsf
6bde505639ebcb67bffa227ea0021e3de235e03d
[ "MIT" ]
null
null
null
neural_spline_flows/nde/transforms/transform_test.py
VincentStimper/nsf
6bde505639ebcb67bffa227ea0021e3de235e03d
[ "MIT" ]
null
null
null
neural_spline_flows/nde/transforms/transform_test.py
VincentStimper/nsf
6bde505639ebcb67bffa227ea0021e3de235e03d
[ "MIT" ]
null
null
null
import torch import torchtestcase from neural_spline_flows.nde.transforms import base
37.666667
78
0.693484
e40c283a7830ae526fea47bfe3f1719fdb809be3
358
py
Python
directory-traversal/validate-file-extension-null-byte-bypass.py
brandonaltermatt/penetration-testing-scripts
433b5d000a5573e60b9d8e49932cedce74937ebc
[ "MIT" ]
null
null
null
directory-traversal/validate-file-extension-null-byte-bypass.py
brandonaltermatt/penetration-testing-scripts
433b5d000a5573e60b9d8e49932cedce74937ebc
[ "MIT" ]
null
null
null
directory-traversal/validate-file-extension-null-byte-bypass.py
brandonaltermatt/penetration-testing-scripts
433b5d000a5573e60b9d8e49932cedce74937ebc
[ "MIT" ]
null
null
null
""" https://portswigger.net/web-security/file-path-traversal/lab-validate-file-extension-null-byte-bypass """ import sys import requests site = sys.argv[1] if 'https://' in site: site = site.rstrip('/').lstrip('https://') url = f'''https://{site}/image?filename=../../../etc/passwd%00.png''' s = requests.Session...
21.058824
101
0.664804
e40ca767179088e9b2626907b90dc14b9802c60c
10,237
py
Python
atmpro1_vsm2.py
joselynzhao/One-shot-Person-Re-ID-ATM
d039b1a66410f87cfe931774eba54a5f1a1a0260
[ "MIT" ]
3
2020-07-28T03:16:51.000Z
2020-11-23T05:39:54.000Z
atmpro1_vsm2.py
joselynzhao/One-shot-Person-Re-ID-ATM
d039b1a66410f87cfe931774eba54a5f1a1a0260
[ "MIT" ]
null
null
null
atmpro1_vsm2.py
joselynzhao/One-shot-Person-Re-ID-ATM
d039b1a66410f87cfe931774eba54a5f1a1a0260
[ "MIT" ]
null
null
null
#!/usr/bin/python3.6 # -*- coding: utf-8 -*- # @Time : 2020/9/3 11:03 # @Author : Joselynzhao # @Email : zhaojing17@forxmail.com # @File : atmpro1_vsm2.py # @Software: PyCharm # @Desc : #!/usr/bin/python3.6 # -*- coding: utf-8 -*- # @Time : 2020/9/1 7:07 # @Author : Joselynzhao # @Email : zhaojing17@...
41.783673
225
0.65019
7c0e42d68dd892a292e20be61de2cca89811eb9b
6,252
py
Python
consumer/tests/test__index_handler.py
eHealthAfrica/aether-elasticsearch-consumer
fc29a1da8cfd7482257b1023b50a1a43372886c5
[ "Apache-2.0" ]
null
null
null
consumer/tests/test__index_handler.py
eHealthAfrica/aether-elasticsearch-consumer
fc29a1da8cfd7482257b1023b50a1a43372886c5
[ "Apache-2.0" ]
8
2018-08-02T09:11:22.000Z
2021-09-13T14:12:22.000Z
consumer/tests/test__index_handler.py
eHealthAfrica/aether-elasticsearch-consumer
fc29a1da8cfd7482257b1023b50a1a43372886c5
[ "Apache-2.0" ]
1
2019-10-29T11:29:32.000Z
2019-10-29T11:29:32.000Z
# Copyright (C) 2019 by eHealth Africa : http://www.eHealthAfrica.org # # See the NOTICE file distributed with this work for additional information # regarding copyright ownership. # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with # the License. Y...
31.736041
85
0.679303
7c0e9d465eeddf2a8eeee673a92ff1e660a22216
57
py
Python
plans/config.py
datopian/plans
12bd9ff6f725703e7a73f3ad90680f5ade8cebdf
[ "MIT" ]
3
2019-11-18T12:04:27.000Z
2020-03-07T02:45:45.000Z
plans/config.py
datopian/plans
12bd9ff6f725703e7a73f3ad90680f5ade8cebdf
[ "MIT" ]
null
null
null
plans/config.py
datopian/plans
12bd9ff6f725703e7a73f3ad90680f5ade8cebdf
[ "MIT" ]
null
null
null
import os database_url = os.environ.get('DATABASE_URL')
14.25
45
0.77193
7c0efca532f7042e0db58c5e7fb4f25f0274261b
3,437
py
Python
Assignment Day 2 .py
ShubhamKahlon57/Letsupgrade-python-Batch-7
7989c2d2f17e58dd4ee8f278c37d2c1d18e5e3af
[ "Apache-2.0" ]
null
null
null
Assignment Day 2 .py
ShubhamKahlon57/Letsupgrade-python-Batch-7
7989c2d2f17e58dd4ee8f278c37d2c1d18e5e3af
[ "Apache-2.0" ]
null
null
null
Assignment Day 2 .py
ShubhamKahlon57/Letsupgrade-python-Batch-7
7989c2d2f17e58dd4ee8f278c37d2c1d18e5e3af
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[ ]: #List and function # In[6]: # empty list my_list = [] # list of integers my_list = [1, 2, 3] # list with mixed data types my_list = [1, "Hello", 3.4] # In[7]: # nested list my_list = ["mouse", [8, 4, 6], ['a']] # In[11]: # List indexing my_list = ['p', '...
12.059649
66
0.607507
7c0f8b607ed4a4992f5429c04c93d80a3e6a70fc
9,656
py
Python
tests/test_api_transaction.py
preston-wagner/authorizesauce
130ee30f500c8b5bf9a6384296ca4f5d5bb565e7
[ "MIT" ]
null
null
null
tests/test_api_transaction.py
preston-wagner/authorizesauce
130ee30f500c8b5bf9a6384296ca4f5d5bb565e7
[ "MIT" ]
null
null
null
tests/test_api_transaction.py
preston-wagner/authorizesauce
130ee30f500c8b5bf9a6384296ca4f5d5bb565e7
[ "MIT" ]
1
2020-06-17T15:48:46.000Z
2020-06-17T15:48:46.000Z
from datetime import date from six import BytesIO, binary_type, u from six.moves.urllib.parse import parse_qsl, urlencode from unittest2 import TestCase import mock from authorizesauce.apis.transaction import PROD_URL, TEST_URL, TransactionAPI from authorizesauce.data import Address, CreditCard from authorizesauce.e...
40.06639
79
0.629453
7c10a8d2f209ef6de0439f6adc19d3fc6d877d41
678
py
Python
src/genie/libs/parser/iosxe/tests/ShowIpv6ProtocolsSectionRip/cli/equal/golden_output_2_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/iosxe/tests/ShowIpv6ProtocolsSectionRip/cli/equal/golden_output_2_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/iosxe/tests/ShowIpv6ProtocolsSectionRip/cli/equal/golden_output_2_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { "vrf": { "VRF1": { "address_family": { "ipv6": { "instance": { "rip ripng": { "redistribute": { "static": {"route_policy": "static-to-rip"}, ...
29.478261
76
0.227139
7c11512944aa360a8ca2b2179d573b01222bea5e
2,621
py
Python
build_json.py
sungpyocho/covid19-aichi-tools
5170bf405f67b14179fe10838701ec5baa9d6cc1
[ "MIT" ]
null
null
null
build_json.py
sungpyocho/covid19-aichi-tools
5170bf405f67b14179fe10838701ec5baa9d6cc1
[ "MIT" ]
null
null
null
build_json.py
sungpyocho/covid19-aichi-tools
5170bf405f67b14179fe10838701ec5baa9d6cc1
[ "MIT" ]
null
null
null
import csv import io import json import pandas as pd import sys from dateutil import tz from datetime import datetime, date, time, timedelta # Japan Standard Time (UTC + 09:00) JST = tz.gettz('Asia/Tokyo') JST_current_time = datetime.now(tz=JST).strftime('%Y/%m/%d %H:%M') patients_list = [] patients_summary_dic = {}...
28.48913
96
0.655857
7c1199fad1c1f92e7be3b25334e3b5e42a47fbe5
6,633
py
Python
dl/models/ssd/modules/utils.py
jjjkkkjjj/pytorch.dl
d82aa1191c14f328c62de85e391ac6fa1b4c7ee3
[ "MIT" ]
2
2021-02-06T22:40:13.000Z
2021-03-26T09:15:34.000Z
dl/models/ssd/modules/utils.py
jjjkkkjjj/pytorch.dl
d82aa1191c14f328c62de85e391ac6fa1b4c7ee3
[ "MIT" ]
8
2020-07-11T07:10:51.000Z
2022-03-12T00:39:03.000Z
dl/models/ssd/modules/utils.py
jjjkkkjjj/pytorch.dl
d82aa1191c14f328c62de85e391ac6fa1b4c7ee3
[ "MIT" ]
2
2021-03-26T09:19:42.000Z
2021-07-27T02:38:09.000Z
import torch from ....data.utils.boxes import centroids2corners, iou def matching_strategy(targets, dboxes, **kwargs): """ :param targets: Tensor, shape is (batch*object num(batch), 1+4+class_labels) :param dboxes: shape is (default boxes num, 4) IMPORTANT: Note that means (cx, cy, w, h) :param kw...
41.45625
174
0.673903
7c120c632a3695672ca8dce5ff251b3540195c6e
68,026
py
Python
sandroad.py
lancelee82/bluelake
3ac3bba191ec5e331dcf66e0a20725445585c316
[ "MIT" ]
null
null
null
sandroad.py
lancelee82/bluelake
3ac3bba191ec5e331dcf66e0a20725445585c316
[ "MIT" ]
null
null
null
sandroad.py
lancelee82/bluelake
3ac3bba191ec5e331dcf66e0a20725445585c316
[ "MIT" ]
null
null
null
""" Flatpath, go forward forever. http://codeincomplete.com/posts/javascript-racer/ http://www.extentofthejam.com/pseudo/ http://pixel.garoux.net/screen/game_list Usage: * UP/DOWN/LEFT/RIGHT * SPACE : hide/show road map * TAB : replay this road * RETURN : go to a new road TODO: * hill road * more road sprites * soun...
28.824576
100
0.467263
7c12ff613b7b049edec918f0aa7806f03a342762
9,197
py
Python
First_course/test5_base.py
laetrid/learning
b28312c34db2118fb7d5691834b8f7e628117642
[ "Apache-2.0" ]
null
null
null
First_course/test5_base.py
laetrid/learning
b28312c34db2118fb7d5691834b8f7e628117642
[ "Apache-2.0" ]
null
null
null
First_course/test5_base.py
laetrid/learning
b28312c34db2118fb7d5691834b8f7e628117642
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python sw1_show_cdp_neighbors = ''' SW1>show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone Device ID Local Intrfce Holdtme Capability Platform ...
37.084677
127
0.677938
7c138f84c229bf0a17e877706fc36f489907d8bf
23,732
py
Python
scipy/optimize/_numdiff.py
jeremiedbb/scipy
2bea64c334b18fd445a7945b350d7ace2dc22913
[ "BSD-3-Clause" ]
1
2019-12-19T16:51:27.000Z
2019-12-19T16:51:27.000Z
scipy/optimize/_numdiff.py
jeremiedbb/scipy
2bea64c334b18fd445a7945b350d7ace2dc22913
[ "BSD-3-Clause" ]
null
null
null
scipy/optimize/_numdiff.py
jeremiedbb/scipy
2bea64c334b18fd445a7945b350d7ace2dc22913
[ "BSD-3-Clause" ]
null
null
null
"""Routines for numerical differentiation.""" from __future__ import division import numpy as np from numpy.linalg import norm from scipy.sparse.linalg import LinearOperator from ..sparse import issparse, csc_matrix, csr_matrix, coo_matrix, find from ._group_columns import group_dense, group_sparse EPS = np.finfo(n...
37.08125
79
0.583727
7c147e3dd10a5e110c033ad9ba1df174aabe3c39
20,303
py
Python
tests/models/test_hparams.py
abhinavg97/pytorch-lightning
0d54cf25a2dba33e4640ac52768a83406e7a0a94
[ "Apache-2.0" ]
1
2020-10-26T09:02:08.000Z
2020-10-26T09:02:08.000Z
tests/models/test_hparams.py
vivektalwar13071999/pytorch-lightning
7c4f80a1afe3d7b0f1e9ee834aacaf8439195cdf
[ "Apache-2.0" ]
null
null
null
tests/models/test_hparams.py
vivektalwar13071999/pytorch-lightning
7c4f80a1afe3d7b0f1e9ee834aacaf8439195cdf
[ "Apache-2.0" ]
null
null
null
# Copyright The PyTorch Lightning team. # # 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 i...
33.174837
116
0.713441
7c149f4f2e879ee66f71bed92f16a685a097e92b
20,142
py
Python
tests/space_test.py
hadrianmontes/jax-md
cea1cc6b22db6044a502eeeab4bddde35ac15d94
[ "ECL-2.0", "Apache-2.0" ]
713
2019-05-14T19:02:00.000Z
2022-03-31T17:42:23.000Z
tests/space_test.py
hadrianmontes/jax-md
cea1cc6b22db6044a502eeeab4bddde35ac15d94
[ "ECL-2.0", "Apache-2.0" ]
109
2019-05-15T13:27:09.000Z
2022-03-17T16:15:59.000Z
tests/space_test.py
hadrianmontes/jax-md
cea1cc6b22db6044a502eeeab4bddde35ac15d94
[ "ECL-2.0", "Apache-2.0" ]
117
2019-05-17T13:23:37.000Z
2022-03-18T10:32:29.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
35.52381
88
0.666369
7c14cbf83bd9f7d5d27ebfe3490cc6f31c415451
246
py
Python
functions/batch-custom-action/status-api/lambda.py
TrollPursePublishing/trollpurse-trollops
27e54cfd1ba1eed27097e2e3038dfab56691cf49
[ "Xnet", "Linux-OpenIB", "X11" ]
2
2020-11-18T06:04:27.000Z
2021-04-22T12:38:15.000Z
functions/batch-custom-action/status-api/lambda.py
TrollPursePublishing/trollpurse-ops
27e54cfd1ba1eed27097e2e3038dfab56691cf49
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
functions/batch-custom-action/status-api/lambda.py
TrollPursePublishing/trollpurse-ops
27e54cfd1ba1eed27097e2e3038dfab56691cf49
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
import boto3 batch_client = boto3.client('batch')
22.363636
65
0.678862
7c154bd7941e6664ea91468d29e01f725ad32c14
2,914
py
Python
app/auth/views.py
ifaraag/app
d952f0dc58fd703074c19ed3235c1520119baf5f
[ "MIT" ]
null
null
null
app/auth/views.py
ifaraag/app
d952f0dc58fd703074c19ed3235c1520119baf5f
[ "MIT" ]
null
null
null
app/auth/views.py
ifaraag/app
d952f0dc58fd703074c19ed3235c1520119baf5f
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template, redirect, url_for, request, flash from flask.ext.login import login_required, login_user, logout_user from werkzeug import check_password_hash, generate_password_hash from app import db, login_manager, pubnub, app, _callback from .models import User from .forms import Logi...
37.358974
133
0.630062
7c159cac6567c00ed5a82a064ec8c65b30f68447
1,595
py
Python
economist/migrations/0003_auto_20170406_1402.py
xingjianpan/news_reader_backend
c892e157460ef22720bfcbad5a7d2bfe9bcd4aa9
[ "MIT" ]
1
2017-11-01T02:12:24.000Z
2017-11-01T02:12:24.000Z
economist/migrations/0003_auto_20170406_1402.py
xingjianpan/news_reader_backend
c892e157460ef22720bfcbad5a7d2bfe9bcd4aa9
[ "MIT" ]
null
null
null
economist/migrations/0003_auto_20170406_1402.py
xingjianpan/news_reader_backend
c892e157460ef22720bfcbad5a7d2bfe9bcd4aa9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-06 06:02 from __future__ import unicode_literals from django.db import migrations, models
28.482143
58
0.552978
7c16097e2ba8634058cfc608cf9a3d535fa94016
2,051
py
Python
test/test_ethereum.py
coinplus-sa/coinplus-solo
e4f385a3d9eb7b72e14e397761fd9a113938917a
[ "MIT" ]
1
2018-08-21T06:28:36.000Z
2018-08-21T06:28:36.000Z
test/test_ethereum.py
coinplus-sa/coinplus-solo
e4f385a3d9eb7b72e14e397761fd9a113938917a
[ "MIT" ]
1
2019-05-30T06:23:41.000Z
2019-09-03T09:49:06.000Z
test/test_ethereum.py
coinplus-sa/coinplus-solo
e4f385a3d9eb7b72e14e397761fd9a113938917a
[ "MIT" ]
1
2021-06-30T12:36:25.000Z
2021-06-30T12:36:25.000Z
import unittest from coinplus_solo_redeem.common import wif_export_bitcoin, compute_public_key_sec256k1, address_from_publickey_ethereum
85.458333
149
0.741589
7c170adc77db7c06c4c5968ae2d5e3df343748b4
776
py
Python
python97/chapter05/list_gen.py
youaresherlock/PythonPractice
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
[ "Apache-2.0" ]
null
null
null
python97/chapter05/list_gen.py
youaresherlock/PythonPractice
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
[ "Apache-2.0" ]
null
null
null
python97/chapter05/list_gen.py
youaresherlock/PythonPractice
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
[ "Apache-2.0" ]
1
2019-11-05T01:10:15.000Z
2019-11-05T01:10:15.000Z
#!usr/bin/python # -*- coding:utf8 -*- # () # 1. 1-20 # odd_list = [] # for i in range(21): # if i % 2 == 1: # odd_list.append(i) # odd_list = [i for i in range(21) if i % 2 == 1] # print(odd_list) # 2. # odd_list = [handle_item(i) for i in range(21) if i % 2 == 1] print(odd_list) # odd_gen = (i for...
15.836735
61
0.627577
7c17743faf77b54c0516f30699a3b1dc9b050a25
11,409
py
Python
src/streamlink/plugin/plugin.py
isqad/streamlink
f6708f1d38d056177ac3d614ebbb740d956d46f0
[ "BSD-2-Clause" ]
1
2017-11-26T18:48:29.000Z
2017-11-26T18:48:29.000Z
src/streamlink/plugin/plugin.py
isqad/streamlink
f6708f1d38d056177ac3d614ebbb740d956d46f0
[ "BSD-2-Clause" ]
null
null
null
src/streamlink/plugin/plugin.py
isqad/streamlink
f6708f1d38d056177ac3d614ebbb740d956d46f0
[ "BSD-2-Clause" ]
1
2021-06-03T23:08:48.000Z
2021-06-03T23:08:48.000Z
import ast import operator import re from collections import OrderedDict from functools import partial from ..cache import Cache from ..exceptions import PluginError, NoStreamsError from ..options import Options # FIXME: This is a crude attempt at making a bitrate's # weight end up similar to the weight of a resolut...
29.104592
101
0.573582
7c18032075b4197ee9055f4f541529df445b2854
998
py
Python
tests/cli/conftest.py
Aahbree/reference-data-repository
f318c0532aaf941ec4f00c8375c9dea45c56f186
[ "MIT" ]
null
null
null
tests/cli/conftest.py
Aahbree/reference-data-repository
f318c0532aaf941ec4f00c8375c9dea45c56f186
[ "MIT" ]
5
2021-01-27T22:17:19.000Z
2021-12-14T17:13:58.000Z
tests/cli/conftest.py
Aahbree/reference-data-repository
f318c0532aaf941ec4f00c8375c9dea45c56f186
[ "MIT" ]
5
2021-12-08T02:33:44.000Z
2021-12-13T03:21:51.000Z
# This file is part of the Reference Data Repository (refdata). # # Copyright (C) 2021 New York University. # # refdata is free software; you can redistribute it and/or modify it under the # terms of the MIT License; see LICENSE file for more details. """Fixtures for testing the command-line interface.""" import os i...
30.242424
78
0.733467
7c1898e479d14fbe657ed1376514f87c04d2b942
2,971
py
Python
swav/vissl/vissl/data/ssl_transforms/img_patches_tensor.py
lhoestq/DeDLOC
36f5a6d043c3d727f9d098a35fba94aa351a5cd4
[ "Apache-2.0" ]
null
null
null
swav/vissl/vissl/data/ssl_transforms/img_patches_tensor.py
lhoestq/DeDLOC
36f5a6d043c3d727f9d098a35fba94aa351a5cd4
[ "Apache-2.0" ]
null
null
null
swav/vissl/vissl/data/ssl_transforms/img_patches_tensor.py
lhoestq/DeDLOC
36f5a6d043c3d727f9d098a35fba94aa351a5cd4
[ "Apache-2.0" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import logging import math from typing import Any, Dict import numpy as np from classy_vision.dataset.transforms import register_transform from classy_vision.dataset.transforms.classy_transform import ClassyTransform
37.607595
88
0.623023
7c1a4912119b5eeaa02dc5d6942de0df8f969733
1,783
py
Python
python/jittor/utils/publish.py
Jittor/Jittor
bc945bae94bded917214b0afe12be6bf5b919dbe
[ "Apache-2.0" ]
4
2020-01-12T13:16:16.000Z
2020-01-12T15:43:54.000Z
python/jittor/utils/publish.py
Jittor/Jittor
bc945bae94bded917214b0afe12be6bf5b919dbe
[ "Apache-2.0" ]
null
null
null
python/jittor/utils/publish.py
Jittor/Jittor
bc945bae94bded917214b0afe12be6bf5b919dbe
[ "Apache-2.0" ]
1
2020-01-12T13:17:17.000Z
2020-01-12T13:17:17.000Z
#!/usr/bin/python3 # *************************************************************** # Copyright (c) 2022 Jittor. All Rights Reserved. # Maintainers: # Dun Liang <randonlang@gmail.com>. # # This file is subject to the terms and conditions defined in # file 'LICENSE.txt', which is part of this source code packag...
34.288462
144
0.647224
7c1a65d75547f91601127884078028e187b93021
588
py
Python
prodapt_solutions/config/cliargs.py
DineshDevaraj/interview_answers
8d3d631dc96dc97ebef80604d6455c2c57c8823d
[ "MIT" ]
null
null
null
prodapt_solutions/config/cliargs.py
DineshDevaraj/interview_answers
8d3d631dc96dc97ebef80604d6455c2c57c8823d
[ "MIT" ]
null
null
null
prodapt_solutions/config/cliargs.py
DineshDevaraj/interview_answers
8d3d631dc96dc97ebef80604d6455c2c57c8823d
[ "MIT" ]
null
null
null
import argparse from helper.metaclasses_definition import Singleton
24.5
60
0.685374
7c1c295aedd09d62a7ca4222595cff9f7fd4e5fc
1,237
py
Python
plugins/flytekit-papermill/setup.py
TeoZosa/flytekit
c4f33c6deaf36a3feaf397cfc6de3bd62e986733
[ "Apache-2.0" ]
null
null
null
plugins/flytekit-papermill/setup.py
TeoZosa/flytekit
c4f33c6deaf36a3feaf397cfc6de3bd62e986733
[ "Apache-2.0" ]
null
null
null
plugins/flytekit-papermill/setup.py
TeoZosa/flytekit
c4f33c6deaf36a3feaf397cfc6de3bd62e986733
[ "Apache-2.0" ]
null
null
null
from setuptools import setup PLUGIN_NAME = "papermill" microlib_name = f"flytekitplugins-{PLUGIN_NAME}" plugin_requires = [ "flytekit>=0.16.0b0,<1.0.0", "flytekitplugins-spark>=0.16.0b0,<1.0.0,!=0.24.0b0", "papermill>=1.2.0", "nbconvert>=6.0.7", "ipykernel>=5.0.0", ] __version__ = "0.0.0+develop...
30.170732
71
0.645918
7c1d6fd7dc1976bcfc2727fbe10b4b7b22073b1a
705
py
Python
2017/third.py
vla3089/adventofcode
0aefb5509e9f816f89eeab703393be7222632e02
[ "Apache-2.0" ]
null
null
null
2017/third.py
vla3089/adventofcode
0aefb5509e9f816f89eeab703393be7222632e02
[ "Apache-2.0" ]
null
null
null
2017/third.py
vla3089/adventofcode
0aefb5509e9f816f89eeab703393be7222632e02
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python input = 368078 size = 1 s_size = size * size # squared size while (s_size < input): size += 2 s_size = size * size bottom_right = s_size bottom_left = s_size - size + 1 top_left = s_size - 2 * size + 2 top_right = s_size - 3 * size + 3 input_x = -1 input_y = -1 # bottom horizontal lin...
19.054054
47
0.631206
7c1dfdf1304b0b11fe75fef3682da8277a3d5207
2,981
py
Python
racer/methods/genetic_programming/parameterized.py
max-eth/racer
952991aedec5d8229bb1126c9c066613f5c30146
[ "MIT" ]
1
2022-02-26T00:10:03.000Z
2022-02-26T00:10:03.000Z
racer/methods/genetic_programming/parameterized.py
max-eth/racer
952991aedec5d8229bb1126c9c066613f5c30146
[ "MIT" ]
null
null
null
racer/methods/genetic_programming/parameterized.py
max-eth/racer
952991aedec5d8229bb1126c9c066613f5c30146
[ "MIT" ]
null
null
null
import copy import numpy as np from racer.utils import load_pickle from racer.methods.genetic_programming.program_tree import ProgramTree def __len__(self): return sum(len(tree) for tree in self.parameterized_trees) def set_flat_parameters(self, params): n_used = 0 for tree in self.p...
32.402174
146
0.637035
7c1e9749d62da31f126224b5dcf3c15abd4025bd
10,568
py
Python
base/frontends/views.py
danielecook/upvote.pub
fdda3c0895427ddc76f4680d0d63f2d4bac59da0
[ "MIT" ]
1
2020-09-13T09:16:44.000Z
2020-09-13T09:16:44.000Z
base/frontends/views.py
danielecook/upvote.pub
fdda3c0895427ddc76f4680d0d63f2d4bac59da0
[ "MIT" ]
null
null
null
base/frontends/views.py
danielecook/upvote.pub
fdda3c0895427ddc76f4680d0d63f2d4bac59da0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ """ import os import markdown2 from flask import (Blueprint, request, render_template, flash, g, session, redirect, url_for, abort, Markup) ...
35.582492
157
0.599924
7c1ed9a736672c0c84e29905bebe37cc7b644280
2,949
py
Python
Jarvis.py
vijayeshmt/Securitylock
5877663a170a22ab8b5931dcef07c74f149cf9b8
[ "CC0-1.0" ]
1
2021-05-27T09:05:00.000Z
2021-05-27T09:05:00.000Z
Jarvis.py
vijayeshmt/Securitylock
5877663a170a22ab8b5931dcef07c74f149cf9b8
[ "CC0-1.0" ]
null
null
null
Jarvis.py
vijayeshmt/Securitylock
5877663a170a22ab8b5931dcef07c74f149cf9b8
[ "CC0-1.0" ]
null
null
null
import pyttsx3 import datetime import speech_recognition as sr import wikipedia import webbrowser import os import smtplib engine = pyttsx3.init('sapi5') voices = engine.getProperty('voices') engine.setProperty('voice', voices[0].id) # To change the voice to female change 0 to 1. def take_c...
26.097345
121
0.664632
7c1ee1ca0bd0d4b48cc0fd831915fd050efb4c03
7,323
py
Python
clients/kratos/python/test/test_v0alpha1_api.py
kolotaev/sdk
0dda1becd70be8d7b9d678321ebe780c1ba00485
[ "Apache-2.0" ]
null
null
null
clients/kratos/python/test/test_v0alpha1_api.py
kolotaev/sdk
0dda1becd70be8d7b9d678321ebe780c1ba00485
[ "Apache-2.0" ]
null
null
null
clients/kratos/python/test/test_v0alpha1_api.py
kolotaev/sdk
0dda1becd70be8d7b9d678321ebe780c1ba00485
[ "Apache-2.0" ]
null
null
null
""" Ory Kratos API Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the admini...
28.944664
446
0.677455
7c1fee26199f1ac314e850e76b7a8f652294de76
171
py
Python
osrsapi/__init__.py
XaKingas/osrsapi
14b93e0f6902724e57ebb1f50d817bd557e41c3d
[ "MIT" ]
null
null
null
osrsapi/__init__.py
XaKingas/osrsapi
14b93e0f6902724e57ebb1f50d817bd557e41c3d
[ "MIT" ]
null
null
null
osrsapi/__init__.py
XaKingas/osrsapi
14b93e0f6902724e57ebb1f50d817bd557e41c3d
[ "MIT" ]
1
2020-07-03T11:24:55.000Z
2020-07-03T11:24:55.000Z
from .grandexchange import GrandExchange, GameItemNotFound, GameItemParseError from .item import Item from .priceinfo import PriceInfo from .pricetrend import PriceTrend
28.5
78
0.853801
7c1ff3b3368700c34adbc70fc88801c1bc52b535
2,838
py
Python
utils/data_loader.py
dilum1995/DAugmentor
6cc86dccf826415a88b8226265e16ae96b5cc05b
[ "MIT" ]
1
2020-08-02T13:06:03.000Z
2020-08-02T13:06:03.000Z
utils/data_loader.py
dilum1995/DAugmentor
6cc86dccf826415a88b8226265e16ae96b5cc05b
[ "MIT" ]
null
null
null
utils/data_loader.py
dilum1995/DAugmentor
6cc86dccf826415a88b8226265e16ae96b5cc05b
[ "MIT" ]
null
null
null
import pandas as pd import os import numpy as np import cv2 from utils import constants as const import matplotlib.pyplot as plt
31.88764
75
0.565891
7c2027c5e127752f77dcae4527133dc870a9894e
288
py
Python
CompilerPython/LexerPython/main.py
valternunez/Compiler
879cecbbeb1c21d9d19021664ace62442273d3ba
[ "MIT" ]
null
null
null
CompilerPython/LexerPython/main.py
valternunez/Compiler
879cecbbeb1c21d9d19021664ace62442273d3ba
[ "MIT" ]
null
null
null
CompilerPython/LexerPython/main.py
valternunez/Compiler
879cecbbeb1c21d9d19021664ace62442273d3ba
[ "MIT" ]
null
null
null
from lexer import * import sys if len(sys.argv) != 2: print("usage: main.py file") else: lex = Lexer(sys.argv[1]) with open(sys.argv[1]) as f: while True: c = f.read(1) if not c: break print(lex.scan().toString())
19.2
40
0.496528
7c203ac0f48d46b7efacaa17d6e53845b02eb976
7,512
py
Python
cms/tests/test_views.py
Ibrahem3amer/bala7
70638c121ea85ff0e6a650c5f2641b0b3b04d6d0
[ "Apache-2.0" ]
null
null
null
cms/tests/test_views.py
Ibrahem3amer/bala7
70638c121ea85ff0e6a650c5f2641b0b3b04d6d0
[ "Apache-2.0" ]
null
null
null
cms/tests/test_views.py
Ibrahem3amer/bala7
70638c121ea85ff0e6a650c5f2641b0b3b04d6d0
[ "Apache-2.0" ]
null
null
null
from django.core.urlresolvers import resolve from django.urls import reverse from django.test import TestCase, RequestFactory from django.http import HttpRequest, Http404 from django.contrib.auth.models import User from unittest import skip from users.models import University, Faculty, Department, UserProfile from cms....
36.823529
117
0.651092
7c20c3110a71ede08c1358d9822f7b43bb07338f
4,903
py
Python
3D/Train_Module_3D.py
geometatqueens/RCNN
2e1e67264969f05a2f554595577dfb1025938245
[ "Unlicense" ]
1
2020-04-30T21:31:59.000Z
2020-04-30T21:31:59.000Z
3D/Train_Module_3D.py
geometatqueens/RCNN
2e1e67264969f05a2f554595577dfb1025938245
[ "Unlicense" ]
null
null
null
3D/Train_Module_3D.py
geometatqueens/RCNN
2e1e67264969f05a2f554595577dfb1025938245
[ "Unlicense" ]
null
null
null
"""The present code is the Version 1.0 of the RCNN approach to perform MPS in 3D for categorical variables. It has been developed by S. Avalos and J. Ortiz in the Geometallurygical Group at Queen's University as part of a PhD program. The code is not free of bugs but running end-to-end. Any comments and further i...
53.879121
343
0.713237
7c21319778186a2abea07c3db5dcc502d14e209f
1,306
py
Python
feature_flags_project/feature_flags/providers.py
steuke/django_feature_flags_example
00e33378999d6d567c37593c17289405fc7b5847
[ "MIT" ]
null
null
null
feature_flags_project/feature_flags/providers.py
steuke/django_feature_flags_example
00e33378999d6d567c37593c17289405fc7b5847
[ "MIT" ]
3
2021-09-22T18:56:38.000Z
2021-11-29T16:11:59.000Z
feature_flags_project/feature_flags/providers.py
steuke/django_feature_flags_example
00e33378999d6d567c37593c17289405fc7b5847
[ "MIT" ]
null
null
null
import logging from typing import Dict from django.http import HttpRequest logger = logging.getLogger(__name__)
32.65
100
0.712098
7c2377aec1cdd1edd01522b34885f68b9680468a
82
py
Python
src/app/database/__init__.py
roch1990/aiohttp-blog
32e7b76b5b293d4517631ea82dfa2b268a1662eb
[ "MIT" ]
20
2020-02-29T19:03:31.000Z
2022-02-18T21:13:12.000Z
src/app/database/__init__.py
roch1990/aiohttp-blog
32e7b76b5b293d4517631ea82dfa2b268a1662eb
[ "MIT" ]
465
2020-02-29T19:08:18.000Z
2022-03-18T22:21:49.000Z
src/app/database/__init__.py
roch1990/aiohttp-blog
32e7b76b5b293d4517631ea82dfa2b268a1662eb
[ "MIT" ]
26
2020-11-26T09:00:03.000Z
2022-02-16T04:20:53.000Z
from sqlalchemy.ext.declarative import declarative_base Base = declarative_base()
27.333333
55
0.853659
7c23d8601d0a15002cc4ed3c1cea741aa47089e1
34,227
py
Python
src/plottoolbox/functions/kde.py
timcera/plottoolbox
b5f4b634d366eb5ba244e2f1fd33a7ef0eba7298
[ "BSD-3-Clause" ]
null
null
null
src/plottoolbox/functions/kde.py
timcera/plottoolbox
b5f4b634d366eb5ba244e2f1fd33a7ef0eba7298
[ "BSD-3-Clause" ]
6
2021-09-06T21:26:12.000Z
2022-03-30T11:55:56.000Z
src/plottoolbox/functions/kde.py
timcera/plottoolbox
b5f4b634d366eb5ba244e2f1fd33a7ef0eba7298
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Collection of functions for the manipulation of time series.""" from __future__ import absolute_import, division, print_function import itertools import os import warnings import mando import numpy as np import pandas as pd from mando.rst_text_formatter import RSTHelpFormatter from tstoolb...
29.918706
100
0.530984
7c241e9ea6651f1832b530bacf0b946a3f610e8c
2,255
py
Python
src/models/GNN.py
3verlyn/DL-abstract-argumentation
885e442077f5f8e576092c6648077e00ceb79dff
[ "MIT" ]
6
2020-05-01T10:04:16.000Z
2021-12-12T06:35:00.000Z
src/models/GNN.py
3verlyn/DL-abstract-argumentation
885e442077f5f8e576092c6648077e00ceb79dff
[ "MIT" ]
3
2020-05-01T09:58:16.000Z
2021-12-05T09:24:42.000Z
src/models/GNN.py
3verlyn/DL-abstract-argumentation
885e442077f5f8e576092c6648077e00ceb79dff
[ "MIT" ]
3
2021-12-01T12:09:40.000Z
2022-03-08T07:35:10.000Z
from collections import OrderedDict import torch import torch.nn as nn from torch_geometric.data.batch import Batch
32.214286
91
0.613747
7c247e4df77036ee1f8b8a7c4396fc03bed606ad
977
py
Python
configs/baselines/DACN/GNN/GCN_res_layer.py
vivek-r-2000/BoundaryNet
fce8d51a516646c1001116d03872dbba9e4c5082
[ "MIT" ]
17
2021-06-07T12:30:23.000Z
2022-03-07T06:32:25.000Z
configs/baselines/DACN/GNN/GCN_res_layer.py
vivek-r-2000/BoundaryNet
fce8d51a516646c1001116d03872dbba9e4c5082
[ "MIT" ]
2
2021-07-13T13:24:14.000Z
2022-03-08T07:21:09.000Z
configs/baselines/DACN/GNN/GCN_res_layer.py
vivek-r-2000/BoundaryNet
fce8d51a516646c1001116d03872dbba9e4c5082
[ "MIT" ]
4
2021-06-26T15:12:44.000Z
2021-11-08T16:36:52.000Z
import math import torch import torch.nn as nn from torch.nn.modules.module import Module from GNN.GCN_layer import GraphConvolution
23.829268
65
0.63869
7c24dd7d64e797088cd127f5acf19696ee37ca0f
28,569
py
Python
mtools/util/logfile.py
lukasvosyka/mtools
b94620cef48a9eb71b6a7fa93ad88f70cd36982f
[ "Apache-2.0" ]
null
null
null
mtools/util/logfile.py
lukasvosyka/mtools
b94620cef48a9eb71b6a7fa93ad88f70cd36982f
[ "Apache-2.0" ]
null
null
null
mtools/util/logfile.py
lukasvosyka/mtools
b94620cef48a9eb71b6a7fa93ad88f70cd36982f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from __future__ import print_function import os import re import sys from datetime import datetime from math import ceil from mtools.util.input_source import InputSource from mtools.util.logevent import LogEvent states = (['PRIMARY', 'SECONDARY', 'DOWN', 'STARTUP', 'STARTUP2', ...
35.755945
116
0.509573
7c26833e5360e6495c23a5b485ec7547b6bafa06
2,136
py
Python
tests/svg.py
Tillsten/pyqtgraph
0045863165fe526988c58cf4f8232ae2d261a5ee
[ "MIT" ]
null
null
null
tests/svg.py
Tillsten/pyqtgraph
0045863165fe526988c58cf4f8232ae2d261a5ee
[ "MIT" ]
null
null
null
tests/svg.py
Tillsten/pyqtgraph
0045863165fe526988c58cf4f8232ae2d261a5ee
[ "MIT" ]
null
null
null
""" SVG export test """ import test import pyqtgraph as pg app = pg.mkQApp() if __name__ == '__main__': test.unittest.main()
30.514286
96
0.557116
7c26b3633189c7cbd7b00d1addad30f94587f9ec
993
py
Python
src/api/models/enums/apschedulerevents.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
14
2020-12-19T15:06:13.000Z
2022-01-12T19:52:17.000Z
src/api/models/enums/apschedulerevents.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
43
2021-01-06T22:05:22.000Z
2022-03-10T10:30:30.000Z
src/api/models/enums/apschedulerevents.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
4
2020-12-18T23:10:09.000Z
2021-04-02T13:03:12.000Z
EVENT_SCHEDULER_STARTED = EVENT_SCHEDULER_START = 2 ** 0 EVENT_SCHEDULER_SHUTDOWN = 2 ** 1 EVENT_SCHEDULER_PAUSED = 2 ** 2 EVENT_SCHEDULER_RESUMED = 2 ** 3 EVENT_EXECUTOR_ADDED = 2 ** 4 EVENT_EXECUTOR_REMOVED = 2 ** 5 EVENT_JOBSTORE_ADDED = 2 ** 6 EVENT_JOBSTORE_REMOVED = 2 ** 7 EVENT_ALL_JOBS_REMOVED = 2 ** 8 EVENT_JO...
45.136364
96
0.75428
7c272bc2beff83ce709b4ecff735eaf333a85378
25,166
py
Python
scripts/build/build/targets.py
mrninhvn/matter
c577b233db9d2f3a6f87108a062b1699a40c5169
[ "Apache-2.0" ]
2
2022-03-29T12:17:41.000Z
2022-03-30T13:25:20.000Z
scripts/build/build/targets.py
mrninhvn/matter
c577b233db9d2f3a6f87108a062b1699a40c5169
[ "Apache-2.0" ]
null
null
null
scripts/build/build/targets.py
mrninhvn/matter
c577b233db9d2f3a6f87108a062b1699a40c5169
[ "Apache-2.0" ]
2
2022-02-24T15:42:39.000Z
2022-03-04T20:38:07.000Z
# Copyright (c) 2021 Project CHIP Authors # # 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 ...
42.510135
140
0.695581
7c279f6e16ec9934410f291dea61230ff38bf396
4,608
py
Python
src/musegan/data.py
TRINITRONIC/musegan
0a62e0303a8ff357d7f385dcc6edba76afb132b2
[ "MIT" ]
null
null
null
src/musegan/data.py
TRINITRONIC/musegan
0a62e0303a8ff357d7f385dcc6edba76afb132b2
[ "MIT" ]
null
null
null
src/musegan/data.py
TRINITRONIC/musegan
0a62e0303a8ff357d7f385dcc6edba76afb132b2
[ "MIT" ]
null
null
null
"""This file contains functions for loading and preprocessing pianoroll data. """ import logging import numpy as np import tensorflow.compat.v1 as tf from musegan.config import SHUFFLE_BUFFER_SIZE, PREFETCH_SIZE LOGGER = logging.getLogger(__name__) # --- Data loader ----------------------------------------------------...
39.724138
80
0.59809
7c2803d74bf17ec9bd8c3ff5ad734d4010f60546
20
py
Python
Python/hello-world-pt-BR.py
PushpneetSingh/Hello-world
def0f44737e02fb40063cd347e93e456658e2532
[ "MIT" ]
1,428
2018-10-03T15:15:17.000Z
2019-03-31T18:38:36.000Z
Python/hello-world-pt-BR.py
PushpneetSingh/Hello-world
def0f44737e02fb40063cd347e93e456658e2532
[ "MIT" ]
1,162
2018-10-03T15:05:49.000Z
2018-10-18T14:17:52.000Z
Python/hello-world-pt-BR.py
PushpneetSingh/Hello-world
def0f44737e02fb40063cd347e93e456658e2532
[ "MIT" ]
3,909
2018-10-03T15:07:19.000Z
2019-03-31T18:39:08.000Z
print(u"Ol mundo!")
20
20
0.7
7c283d63bcdc25c314b3c41b483eb7c2c6064da2
527
py
Python
02-static-templates-files/02_html_template.py
saidulislam/flask-bootcamp-2
4ba8f5e012aa0159275ab264f0247815dcf635e6
[ "Apache-2.0" ]
null
null
null
02-static-templates-files/02_html_template.py
saidulislam/flask-bootcamp-2
4ba8f5e012aa0159275ab264f0247815dcf635e6
[ "Apache-2.0" ]
null
null
null
02-static-templates-files/02_html_template.py
saidulislam/flask-bootcamp-2
4ba8f5e012aa0159275ab264f0247815dcf635e6
[ "Apache-2.0" ]
null
null
null
from flask import Flask, app = Flask(__name__) if __name__ == "__main__": app.run(debug=True)
31
91
0.677419
7c28fc0563fc8f73fd257c1d3e24a953c2e9ec7c
1,780
py
Python
src/compas/datastructures/mesh/bbox.py
arpastrana/compas
ed677a162c14dbe562c82d72f370279259faf7da
[ "MIT" ]
2
2021-03-17T18:14:22.000Z
2021-09-19T13:50:02.000Z
src/compas/datastructures/mesh/bbox.py
arpastrana/compas
ed677a162c14dbe562c82d72f370279259faf7da
[ "MIT" ]
9
2019-09-11T08:53:19.000Z
2019-09-16T08:35:39.000Z
src/compas/datastructures/mesh/bbox.py
Licini/compas
34f65adb3d0abc3f403312ffba62aa76f3376292
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from compas.geometry import bounding_box from compas.geometry import bounding_box_xy __all__ = [ 'mesh_bounding_box', 'mesh_bounding_box_xy', ] def mesh_bounding_box(mesh): """Compute the (axis...
23.733333
148
0.561236
7c2914b1e959a72c6f1d255196bf2c603b057db4
210
py
Python
crop/source_selection/__init__.py
Lars-H/federated_crop
8e936926462aa5df5a9b8e6b42b061a3623fddf4
[ "MIT" ]
null
null
null
crop/source_selection/__init__.py
Lars-H/federated_crop
8e936926462aa5df5a9b8e6b42b061a3623fddf4
[ "MIT" ]
null
null
null
crop/source_selection/__init__.py
Lars-H/federated_crop
8e936926462aa5df5a9b8e6b42b061a3623fddf4
[ "MIT" ]
null
null
null
from naive import NaiveSourceSelection from star_based import StarBasedSourceSelection from utils import AskSourceSelector, HybridSourceSelector, StatSourceSelector from charset_selector import CharSet_Selector
52.5
77
0.909524
7c29df3316dce7638b4588f6021b4bc59ffb4cfc
151
py
Python
base3_plus.py
Mhaiyang/iccv
04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb
[ "MIT" ]
2
2019-01-10T03:44:03.000Z
2019-05-24T08:50:14.000Z
base3_plus.py
Mhaiyang/iccv
04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb
[ "MIT" ]
null
null
null
base3_plus.py
Mhaiyang/iccv
04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb
[ "MIT" ]
null
null
null
""" @Time : 201/21/19 10:47 @Author : TaylorMei @Email : mhy845879017@gmail.com @Project : iccv @File : base3_plus.py @Function: """
15.1
34
0.596026