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
fc898bad2efa60cee2c4ef24696c39c99d84411b
8,634
py
Python
dashboard/tests/test_inventory.py
vishalvvr/transtats
ec71f40b338cab36eb907f6faba262dfeb858b80
[ "Apache-2.0" ]
null
null
null
dashboard/tests/test_inventory.py
vishalvvr/transtats
ec71f40b338cab36eb907f6faba262dfeb858b80
[ "Apache-2.0" ]
null
null
null
dashboard/tests/test_inventory.py
vishalvvr/transtats
ec71f40b338cab36eb907f6faba262dfeb858b80
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Red Hat, 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 a...
38.717489
101
0.67848
1,005
8,634
5.494527
0.18607
0.048171
0.094169
0.108294
0.476096
0.262405
0.174574
0.174574
0.118979
0.103223
0
0.007115
0.21867
8,634
222
102
38.891892
0.811444
0.122307
0
0.067227
0
0
0.075768
0.002947
0
0
0
0
0.378151
1
0.159664
false
0
0.058824
0
0.252101
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc8994bb32a375675e5f3f534446419ae71a9b08
9,221
py
Python
web_console_v2/api/fedlearner_webconsole/rpc/server.py
nolanliou/fedlearner
54127c465b3b5d77ae41b823e42efbc1b707e826
[ "Apache-2.0" ]
null
null
null
web_console_v2/api/fedlearner_webconsole/rpc/server.py
nolanliou/fedlearner
54127c465b3b5d77ae41b823e42efbc1b707e826
[ "Apache-2.0" ]
null
null
null
web_console_v2/api/fedlearner_webconsole/rpc/server.py
nolanliou/fedlearner
54127c465b3b5d77ae41b823e42efbc1b707e826
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 The FedLearner Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
39.74569
78
0.615335
980
9,221
5.564286
0.209184
0.03466
0.049514
0.03466
0.391711
0.338529
0.31689
0.268293
0.248487
0.226848
0
0.008184
0.310921
9,221
231
79
39.917749
0.850016
0.090771
0
0.371728
0
0
0.035279
0.002511
0
0
0
0.004329
0.020942
1
0.062827
false
0
0.04712
0
0.198953
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc8d8f892ae337d196878475837e1f9cc4ae1047
956
py
Python
chapter15/async_aiohttp.py
haru-256/ExpertPython3_Source
5ef412ef217c6078248ff9546e23ed9b69aadcff
[ "MIT" ]
9
2021-07-30T07:57:55.000Z
2021-12-30T12:38:21.000Z
chapter15/async_aiohttp.py
haru-256/ExpertPython3_Source
5ef412ef217c6078248ff9546e23ed9b69aadcff
[ "MIT" ]
null
null
null
chapter15/async_aiohttp.py
haru-256/ExpertPython3_Source
5ef412ef217c6078248ff9546e23ed9b69aadcff
[ "MIT" ]
2
2021-09-05T11:39:50.000Z
2021-09-17T05:27:37.000Z
""" 「非同期プログラミング」の節で登場するサンプルコード aiohttpを使って非同期にHTTPのリクエストを送信する方法 """ import asyncio import time import aiohttp from asyncrates import get_rates SYMBOLS = ('USD', 'EUR', 'PLN', 'NOK', 'CZK') BASES = ('USD', 'EUR', 'PLN', 'NOK', 'CZK') async def fetch_rates(session, place): return await get_rates(session, place)...
20.782609
75
0.641213
118
956
5.016949
0.483051
0.040541
0.030405
0.040541
0.050676
0
0
0
0
0
0
0.006658
0.214435
956
45
76
21.244444
0.781625
0.061715
0
0
0
0
0.126126
0
0
0
0
0
0
1
0
false
0
0.148148
0
0.185185
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc8f2034e17191e49d05923f9d20c0bfa677c7bb
4,433
py
Python
experiments/nginx/run.py
OleksiiOleksenko/intel_mpx_explained
dd6da57e0fcf22df358d1a742079b414620a7c88
[ "MIT" ]
15
2017-02-08T04:02:50.000Z
2021-02-20T16:47:25.000Z
experiments/nginx/run.py
OleksiiOleksenko/intel_mpx_explained
dd6da57e0fcf22df358d1a742079b414620a7c88
[ "MIT" ]
1
2020-02-01T00:29:32.000Z
2020-02-04T14:25:57.000Z
experiments/nginx/run.py
OleksiiOleksenko/intel_mpx_explained
dd6da57e0fcf22df358d1a742079b414620a7c88
[ "MIT" ]
3
2017-02-08T04:02:51.000Z
2018-03-30T07:58:45.000Z
#!/usr/bin/env python from __future__ import print_function import logging import os import signal from time import sleep from subprocess import Popen, PIPE import socket from core.common_functions import * from core.run import Runner class NginxPerf(Runner): """ Runs Nginx """ name = "nginx" e...
36.336066
268
0.551771
538
4,433
4.395911
0.386617
0.027907
0.021564
0.01945
0.082875
0.046512
0.029598
0.029598
0
0
0
0.020222
0.308369
4,433
121
269
36.636364
0.751142
0.056846
0
0.056818
0
0.011364
0.161213
0
0
0
0
0
0
1
0.056818
false
0.011364
0.102273
0
0.272727
0.011364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc9074fa7981c7335753a01097902625525ccf9a
17,367
py
Python
seqparse/test/test_seqparse.py
hoafaloaf/seqparse
1d2446070c5627a5cb880d00ef327b892b4dedef
[ "MIT" ]
1
2021-06-08T17:24:41.000Z
2021-06-08T17:24:41.000Z
seqparse/test/test_seqparse.py
hoafaloaf/seqparse
1d2446070c5627a5cb880d00ef327b892b4dedef
[ "MIT" ]
null
null
null
seqparse/test/test_seqparse.py
hoafaloaf/seqparse
1d2446070c5627a5cb880d00ef327b892b4dedef
[ "MIT" ]
1
2021-10-05T15:44:07.000Z
2021-10-05T15:44:07.000Z
"""Test file sequence discovery on disk.""" # "Future" Libraries from __future__ import print_function # Standard Libraries import os import unittest # Third Party Libraries import mock from builtins import range from future.utils import lrange from . import (DirEntry, generate_entries, initialise_mock_scandir_data...
35.442857
79
0.604653
2,188
17,367
4.543876
0.102834
0.074834
0.061557
0.027359
0.684872
0.640113
0.594548
0.536814
0.527962
0.519916
0
0.045518
0.259976
17,367
489
80
35.515337
0.728058
0.086313
0
0.553892
0
0
0.090515
0.023377
0
0
0
0
0.209581
1
0.032934
false
0.002994
0.026946
0
0.07485
0.116766
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc918b97de90432887a40a5ee37a55b41149a19b
12,666
py
Python
deliveroo_scraping.py
ragreener1/deliveroo-scraping
c8e3de2503a6198734904fb937a77dd38ef05581
[ "MIT" ]
null
null
null
deliveroo_scraping.py
ragreener1/deliveroo-scraping
c8e3de2503a6198734904fb937a77dd38ef05581
[ "MIT" ]
null
null
null
deliveroo_scraping.py
ragreener1/deliveroo-scraping
c8e3de2503a6198734904fb937a77dd38ef05581
[ "MIT" ]
1
2021-03-16T16:43:34.000Z
2021-03-16T16:43:34.000Z
import urllib.request import pandas as pd import sqlite3 import re from bs4 import BeautifulSoup # Parameters postcodes_list = ["W1F7EY"] db_name = "scraped.db" # This is so that Deliveroo think the scraper is Google Chrome # as opposed to a web scraper hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWeb...
41.527869
107
0.614243
1,611
12,666
4.617629
0.175667
0.054174
0.038849
0.020971
0.352063
0.282162
0.252857
0.230811
0.208227
0.184299
0
0.011449
0.282804
12,666
304
108
41.664474
0.807354
0.265435
0
0.2
0
0.005882
0.15116
0.034917
0
0
0
0
0
1
0.023529
false
0
0.029412
0
0.070588
0.011765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc91ff3844434233ea3b10e4ec6bd4eb042adfbd
2,455
py
Python
DataWrangling/TTNData2Gsheet_Auto.py
diliprk/SmartCityVisualization
618cd433c2f6bb55042c643ccaef12b5814ccb77
[ "MIT" ]
null
null
null
DataWrangling/TTNData2Gsheet_Auto.py
diliprk/SmartCityVisualization
618cd433c2f6bb55042c643ccaef12b5814ccb77
[ "MIT" ]
null
null
null
DataWrangling/TTNData2Gsheet_Auto.py
diliprk/SmartCityVisualization
618cd433c2f6bb55042c643ccaef12b5814ccb77
[ "MIT" ]
null
null
null
#### Reading Data from The Things Network Data and Automatically Storing it to a Google Spreadsheet # Author: Dilip Rajkumar # Email: d.rajkumar@hbksaar.de # Date: 19/01/2018 # Revision: version#1 # License: MIT License import pandas as pd import requests from df2gspread import df2gspread as d2g import time ## Set I...
41.610169
140
0.714053
341
2,455
5.058651
0.483871
0.048696
0.027826
0.048696
0
0
0
0
0
0
0
0.020287
0.176782
2,455
59
141
41.610169
0.833251
0.375967
0
0
0
0
0.271117
0.085831
0
0
0
0
0
1
0.060606
false
0
0.121212
0
0.242424
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc92c4f874ac07a82bec9855ab06be0ea305a134
4,323
py
Python
alleycat/reactive/property.py
mysticfall/alleycat-reactive
69ff2f283627a6c613b084677be707234b29164c
[ "MIT" ]
14
2020-07-13T08:15:27.000Z
2021-02-17T21:22:22.000Z
alleycat/reactive/property.py
mysticfall/alleycat-reactive
69ff2f283627a6c613b084677be707234b29164c
[ "MIT" ]
4
2020-08-18T18:50:00.000Z
2021-12-04T07:09:12.000Z
alleycat/reactive/property.py
mysticfall/alleycat-reactive
69ff2f283627a6c613b084677be707234b29164c
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import TypeVar, Generic, Callable, Optional, Any, cast, Tuple import rx from returns import pipeline from returns.functions import identity from returns.maybe import Maybe, Nothing from rx import Observable from rx.subject import BehaviorSubject from . import ReactiveVa...
30.443662
115
0.609762
483
4,323
5.310559
0.213251
0.042105
0.035088
0.02924
0.176218
0.132554
0.095127
0.070955
0.034308
0.034308
0
0
0.294471
4,323
141
116
30.659574
0.840984
0.04557
0
0.229167
0
0
0.008008
0
0
0
0
0.007092
0.114583
1
0.1875
false
0
0.104167
0.09375
0.447917
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc9452d9c2ee3ebb7757e04a3373872166150cb1
3,700
py
Python
utils/mask/converter.py
csgcmai/cvat
074500de7bf638fdf66f3874b80df9e87d58a746
[ "MIT" ]
4
2019-01-12T07:32:48.000Z
2019-08-01T12:11:33.000Z
utils/mask/converter.py
csgcmai/cvat
074500de7bf638fdf66f3874b80df9e87d58a746
[ "MIT" ]
12
2019-08-06T02:45:31.000Z
2022-02-10T00:16:32.000Z
utils/mask/converter.py
csgcmai/cvat
074500de7bf638fdf66f3874b80df9e87d58a746
[ "MIT" ]
11
2018-11-04T19:04:59.000Z
2018-12-02T13:30:22.000Z
#!/usr/bin/env python # # Copyright (C) 2018 Intel Corporation # # SPDX-License-Identifier: MIT from __future__ import absolute_import, division, print_function import argparse import os import glog as log import numpy as np import cv2 from lxml import etree from tqdm import tqdm def parse_args(): """Parse argu...
31.355932
94
0.603784
495
3,700
4.375758
0.319192
0.022161
0.039243
0.018006
0.036011
0
0
0
0
0
0
0.015048
0.245676
3,700
117
95
31.623932
0.761018
0.031892
0
0.055556
0
0.011111
0.162094
0.008679
0
0
0
0
0
1
0.055556
false
0
0.088889
0
0.177778
0.011111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc95ea517dd66fa33c7319705ecac90ffc97a9fe
2,099
py
Python
examples/plot_afq_callosal.py
gkiar/pyAFQ
fb6985c2a9715a378e1ca94dc89f6bc966c60ab5
[ "BSD-2-Clause" ]
null
null
null
examples/plot_afq_callosal.py
gkiar/pyAFQ
fb6985c2a9715a378e1ca94dc89f6bc966c60ab5
[ "BSD-2-Clause" ]
null
null
null
examples/plot_afq_callosal.py
gkiar/pyAFQ
fb6985c2a9715a378e1ca94dc89f6bc966c60ab5
[ "BSD-2-Clause" ]
null
null
null
""" ========================== Callosal bundles using AFQ API ========================== An example using the AFQ API to find callosal bundles using the templates from: http://hdl.handle.net/1773/34926 """ import os.path as op import plotly from AFQ import api from AFQ.mask import RoiMask import AFQ.data as afd ####...
34.409836
79
0.552644
232
2,099
4.900862
0.530172
0.049252
0.03518
0
0
0
0
0
0
0
0
0.018486
0.175322
2,099
60
80
34.983333
0.638359
0.512625
0
0
0
0
0.032999
0
0
0
0
0
0
1
0
false
0
0.294118
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc991b843e076978c3f0a3ec13e52528bd5dcb1e
2,157
py
Python
parsy-backend/flaskApp/assignment/views.py
dstambler17/Parsy.io
14c4905809f79f191efbbbdfbd0e8d9e838478e7
[ "MIT" ]
null
null
null
parsy-backend/flaskApp/assignment/views.py
dstambler17/Parsy.io
14c4905809f79f191efbbbdfbd0e8d9e838478e7
[ "MIT" ]
null
null
null
parsy-backend/flaskApp/assignment/views.py
dstambler17/Parsy.io
14c4905809f79f191efbbbdfbd0e8d9e838478e7
[ "MIT" ]
null
null
null
import sys from flask import Blueprint, request, jsonify from flaskApp import db from flaskApp.assignment.utils import * from flaskApp.error.error_handlers import * import json from flaskApp.helpers import getAssignmentData assignment = Blueprint('assignment', __name__) @assignment.route('/restoreAssignment/<calID>/<...
39.944444
88
0.72369
257
2,157
5.945525
0.315175
0.102094
0.02945
0.052356
0.342277
0.306937
0.306937
0.306937
0.240183
0.219241
0
0.006637
0.161799
2,157
53
89
40.698113
0.838496
0
0
0.333333
0
0
0.113009
0.090909
0
0
0
0
0
1
0.111111
false
0
0.155556
0
0.488889
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc998d9236fe5233cce504679e6058e6b30ca879
1,411
py
Python
Apache Spark with Python - Big Data with PySpark and Spark/6-PairRDD/filter/AirportsNotInUsa.py
jrderek/Big_Data_Engineering_Portfolio
bf7a5efb24f2c6e860e5ead544dadc08f791814e
[ "MIT" ]
null
null
null
Apache Spark with Python - Big Data with PySpark and Spark/6-PairRDD/filter/AirportsNotInUsa.py
jrderek/Big_Data_Engineering_Portfolio
bf7a5efb24f2c6e860e5ead544dadc08f791814e
[ "MIT" ]
null
null
null
Apache Spark with Python - Big Data with PySpark and Spark/6-PairRDD/filter/AirportsNotInUsa.py
jrderek/Big_Data_Engineering_Portfolio
bf7a5efb24f2c6e860e5ead544dadc08f791814e
[ "MIT" ]
null
null
null
import sys sys.path.insert(0, '.') from pyspark import SparkContext, SparkConf from commons.Utils import Utils if __name__ == "__main__": ''' Create a Spark program to read the airport data from in/airports.text; generate a pair RDD with airport name being the key and country name being the v...
35.275
133
0.659816
173
1,411
5.265896
0.589595
0.030735
0.026345
0.035126
0.120746
0.059276
0.059276
0
0
0
0
0.003777
0.249468
1,411
39
134
36.179487
0.856468
0
0
0
0
0
0.123229
0.058074
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc99f86b822d06474cc1888107ef3e865f27a1cd
16,668
py
Python
linux/keyman-config/keyman_config/keyboard_details.py
srl295/keyman
4dfd0f71f3f4ccf81d1badbd824900deee1bb6d1
[ "MIT" ]
null
null
null
linux/keyman-config/keyman_config/keyboard_details.py
srl295/keyman
4dfd0f71f3f4ccf81d1badbd824900deee1bb6d1
[ "MIT" ]
null
null
null
linux/keyman-config/keyman_config/keyboard_details.py
srl295/keyman
4dfd0f71f3f4ccf81d1badbd824900deee1bb6d1
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # Keyboard details window import logging import json from os import path import qrcode import tempfile import gi from gi.repository import Gtk from keyman_config import KeymanComUrl, _, secure_lookup from keyman_config.accelerators import init_accel from keyman_config.kmpmetadata import parsemeta...
45.917355
146
0.567075
1,964
16,668
4.568737
0.131874
0.047253
0.060849
0.069542
0.606152
0.581968
0.560236
0.450463
0.443776
0.356848
0
0.011093
0.329374
16,668
362
147
46.044199
0.791644
0.151548
0
0.370518
0
0.003984
0.064718
0
0
0
0
0.002762
0
1
0.003984
false
0
0.039841
0
0.051793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc9e17c4eb3df368c94743c5840b9e4da127a474
11,837
py
Python
codalab/lib/path_util.py
kl-chou/codalab-worksheets
101d1d9f86d3f7b8dae3b4fc3e2335fcf8d7c3d7
[ "Apache-2.0" ]
236
2015-12-29T22:50:03.000Z
2022-03-28T21:12:34.000Z
codalab/lib/path_util.py
kl-chou/codalab-worksheets
101d1d9f86d3f7b8dae3b4fc3e2335fcf8d7c3d7
[ "Apache-2.0" ]
2,628
2015-12-27T09:45:13.000Z
2022-03-30T16:18:25.000Z
codalab/lib/path_util.py
kl-chou/codalab-worksheets
101d1d9f86d3f7b8dae3b4fc3e2335fcf8d7c3d7
[ "Apache-2.0" ]
87
2015-12-30T01:36:46.000Z
2022-03-08T15:21:30.000Z
""" path_util contains helpers for working with local filesystem paths. There are a few classes of methods provided here: Functions to normalize paths and check that they are in normal form: normalize, check_isvalid, check_isdir, check_isfile, path_is_url Functions to list directories and to deal with subpath...
35.334328
103
0.630396
1,591
11,837
4.567568
0.212445
0.023944
0.008807
0.014862
0.22843
0.167057
0.152745
0.148892
0.112013
0.088069
0
0.001529
0.226662
11,837
334
104
35.44012
0.792331
0.345696
0
0.107143
0
0
0.059032
0
0
0
0.001036
0
0.005952
1
0.119048
false
0.005952
0.071429
0
0.297619
0.011905
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc9e3eb40f996353595bada2ec265eba3f86bf6f
25,948
py
Python
statsmodels/regression/tests/test_glsar_gretl.py
aliavni/statsmodels
ef5d57a8d45de76a895e9401705280d558d688ad
[ "BSD-3-Clause" ]
1
2022-01-24T15:17:37.000Z
2022-01-24T15:17:37.000Z
statsmodels/regression/tests/test_glsar_gretl.py
aliavni/statsmodels
ef5d57a8d45de76a895e9401705280d558d688ad
[ "BSD-3-Clause" ]
null
null
null
statsmodels/regression/tests/test_glsar_gretl.py
aliavni/statsmodels
ef5d57a8d45de76a895e9401705280d558d688ad
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Tests of GLSAR and diagnostics against Gretl Created on Thu Feb 02 21:15:47 2012 Author: Josef Perktold License: BSD-3 """ import os import numpy as np from numpy.testing import (assert_almost_equal, assert_equal, assert_allclose, assert_array_less) from stats...
40.1051
100
0.581509
3,662
25,948
4.001092
0.216821
0.040131
0.056852
0.03549
0.557603
0.497475
0.440622
0.4138
0.377218
0.350669
0
0.194039
0.283606
25,948
646
101
40.167183
0.594169
0.113535
0
0.175824
0
0
0.064351
0.003911
0
0
0
0.003096
0.269231
1
0.016484
false
0
0.054945
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fc9fa91745bf91e0ba0d83de869daec634544f40
377
py
Python
pondus/backends/__init__.py
enicklas/pondus
c94edce0351697c96f2ad046e8f602448d2e0df0
[ "MIT" ]
1
2021-12-20T18:18:52.000Z
2021-12-20T18:18:52.000Z
pondus/backends/__init__.py
enicklas/pondus
c94edce0351697c96f2ad046e8f602448d2e0df0
[ "MIT" ]
null
null
null
pondus/backends/__init__.py
enicklas/pondus
c94edce0351697c96f2ad046e8f602448d2e0df0
[ "MIT" ]
2
2021-12-20T18:18:57.000Z
2022-01-11T10:28:22.000Z
# -*- coding: UTF-8 -*- """ This file is part of Pondus, a personal weight manager. Copyright (C) 2011 Eike Nicklas <eike@ephys.de> This program is free software licensed under the MIT license. For details see LICENSE or http://www.opensource.org/licenses/mit-license.php """ __all__ = ['csv_backend', 'sportstracker...
29
73
0.713528
54
377
4.814815
0.814815
0.076923
0.130769
0
0
0
0
0
0
0
0
0.015823
0.161804
377
12
74
31.416667
0.806962
0.710875
0
0
0
0
0.574257
0.207921
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca036e2b91d7c4599177ff08add5e2065d64d53
1,053
py
Python
setup.py
specialprocedures/chpy
3bbe66da96abe95653722682754b4d48f9c8eba1
[ "MIT" ]
null
null
null
setup.py
specialprocedures/chpy
3bbe66da96abe95653722682754b4d48f9c8eba1
[ "MIT" ]
null
null
null
setup.py
specialprocedures/chpy
3bbe66da96abe95653722682754b4d48f9c8eba1
[ "MIT" ]
null
null
null
import pathlib from setuptools import find_packages, setup # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file README = (HERE / "README.md").read_text() # This call to setup() does all the work setup( name="chpy", version="0.1.1", descripti...
31.909091
81
0.633428
118
1,053
5.525424
0.661017
0.03681
0.076687
0.079755
0
0
0
0
0
0
0
0.007326
0.222222
1,053
32
82
32.90625
0.788767
0.266857
0
0
0
0
0.358799
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca03cd82b40377a907a5c97cfd27492d8e5ee1d
2,275
py
Python
src/sentry/eventtypes/error.py
boblail/sentry
71127331e58791d4651e480b65dd66f06cadc1c8
[ "BSD-3-Clause" ]
null
null
null
src/sentry/eventtypes/error.py
boblail/sentry
71127331e58791d4651e480b65dd66f06cadc1c8
[ "BSD-3-Clause" ]
null
null
null
src/sentry/eventtypes/error.py
boblail/sentry
71127331e58791d4651e480b65dd66f06cadc1c8
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import import six from sentry.utils.safe import get_path, trim from sentry.utils.strings import truncatechars from .base import BaseEvent def get_crash_location(exception, platform=None): default = None for frame in reversed(get_path(exception, 'stacktrace', 'frames', filter...
31.597222
90
0.586813
273
2,275
4.794872
0.307692
0.037433
0.048892
0.038197
0.07945
0.07945
0.07945
0.07945
0.07945
0.07945
0
0.008238
0.306374
2,275
71
91
32.042254
0.821293
0.068571
0
0.075472
0
0
0.09409
0
0
0
0
0
0
1
0.09434
false
0
0.113208
0.018868
0.415094
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca0ce34b50df500e879e8841c0ceca83a278655
8,333
py
Python
capirca/lib/ipset.py
google-admin/capirca
8c9e66456fedb3c0fc1c641dbefc41793e5c68d5
[ "Apache-2.0" ]
604
2015-08-08T22:44:25.000Z
2022-03-30T11:51:23.000Z
capirca/lib/ipset.py
google-admin/capirca
8c9e66456fedb3c0fc1c641dbefc41793e5c68d5
[ "Apache-2.0" ]
213
2015-08-04T20:11:22.000Z
2022-03-30T18:08:15.000Z
capirca/lib/ipset.py
google-admin/capirca
8c9e66456fedb3c0fc1c641dbefc41793e5c68d5
[ "Apache-2.0" ]
207
2015-08-07T10:55:00.000Z
2022-03-02T17:07:34.000Z
# Copyright 2015 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 a...
36.709251
80
0.657626
1,121
8,333
4.672614
0.251561
0.038183
0.034364
0.011455
0.194731
0.103093
0.053837
0
0
0
0
0.003251
0.26173
8,333
226
81
36.871681
0.848179
0.436817
0
0.075472
0
0
0.076435
0
0
0
0
0.004425
0
1
0.066038
false
0
0.028302
0
0.311321
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca0fd3742b37f4cd3594891d70e849a0cb23d56
5,580
py
Python
straxen/analyses/records_matrix.py
zhut19/straxen
20dea986790ef168ba7052d652a7aa19ab836943
[ "BSD-3-Clause" ]
14
2019-06-06T21:38:05.000Z
2022-02-16T16:35:16.000Z
straxen/analyses/records_matrix.py
zhut19/straxen
20dea986790ef168ba7052d652a7aa19ab836943
[ "BSD-3-Clause" ]
613
2018-10-04T09:15:55.000Z
2022-03-31T10:48:04.000Z
straxen/analyses/records_matrix.py
ahiguera-mx/straxen
25b92dd4f18b51700e6df83b230e58ec3bbb7163
[ "BSD-3-Clause" ]
48
2019-02-01T12:40:25.000Z
2022-02-28T16:59:18.000Z
import warnings import numba import numpy as np import strax import straxen DEFAULT_MAX_SAMPLES = 20_000 @straxen.mini_analysis(requires=('records',), warn_beyond_sec=10, default_time_selection='touching') def records_matrix(records, time_range, seconds_range, config, ...
37.702703
86
0.577061
714
5,580
4.341737
0.333333
0.045161
0.029032
0.042581
0.123871
0.040645
0.02
0
0
0
0
0.017669
0.32043
5,580
147
87
37.959184
0.799842
0.278136
0
0.136364
0
0
0.077488
0
0
0
0
0.006803
0.011364
1
0.034091
false
0
0.056818
0
0.136364
0.011364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca3b5ff0625e2c4785f87d64f205243acd800d3
4,311
py
Python
reviewboard/webapi/resources/change.py
mnoorenberghe/reviewboard
b8ba9d662c250cb5ec704a50f619adbf3be8cbf0
[ "MIT" ]
null
null
null
reviewboard/webapi/resources/change.py
mnoorenberghe/reviewboard
b8ba9d662c250cb5ec704a50f619adbf3be8cbf0
[ "MIT" ]
null
null
null
reviewboard/webapi/resources/change.py
mnoorenberghe/reviewboard
b8ba9d662c250cb5ec704a50f619adbf3be8cbf0
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.utils import six from djblets.util.decorators import augment_method_from from reviewboard.changedescs.models import ChangeDescription from reviewboard.reviews.fields import get_review_request_field from reviewboard.webapi.base import WebAPIResource from reviewboard....
33.944882
78
0.64579
530
4,311
5.092453
0.288679
0.077066
0.025936
0.02223
0.13857
0.128937
0.06595
0.06595
0.06595
0.042238
0
0.001235
0.248434
4,311
126
79
34.214286
0.83179
0.321967
0
0.119403
0
0
0.160702
0.01539
0
0
0
0
0
1
0.074627
false
0.029851
0.134328
0.014925
0.402985
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca4787d63d5c744297f12e8eaf44573826eecbb
1,990
py
Python
controllers/notes/NewNote.py
heminsatya/free_notes
88272a34c48e60d1a82e28b0b2d56883fa724bb3
[ "MIT" ]
null
null
null
controllers/notes/NewNote.py
heminsatya/free_notes
88272a34c48e60d1a82e28b0b2d56883fa724bb3
[ "MIT" ]
null
null
null
controllers/notes/NewNote.py
heminsatya/free_notes
88272a34c48e60d1a82e28b0b2d56883fa724bb3
[ "MIT" ]
null
null
null
# Dependencies from aurora import Controller, View, Forms from models import Users, Notes from aurora.security import login_required, get_session from flask import request from datetime import datetime # The controller class class NewNote(Controller): # POST Method @login_required(app='users') def post(se...
29.264706
105
0.529648
221
1,990
4.728507
0.371041
0.038278
0.025837
0.031579
0.327273
0.327273
0.269856
0.269856
0.269856
0.269856
0
0.009224
0.346231
1,990
67
106
29.701493
0.794005
0.155276
0
0.289474
0
0.078947
0.192423
0.027661
0
0
0
0
0
1
0.052632
false
0
0.131579
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca52f1665be31c3ef3732af8d77d4f70b20bc49
2,762
py
Python
EDA-&-Data-Preprocessing/code.py
udayraj-gupta/ga-learner-dsmp-repo
90b16345fb3fd4f6f4f201012995eea7ff1e73e9
[ "MIT" ]
null
null
null
EDA-&-Data-Preprocessing/code.py
udayraj-gupta/ga-learner-dsmp-repo
90b16345fb3fd4f6f4f201012995eea7ff1e73e9
[ "MIT" ]
null
null
null
EDA-&-Data-Preprocessing/code.py
udayraj-gupta/ga-learner-dsmp-repo
90b16345fb3fd4f6f4f201012995eea7ff1e73e9
[ "MIT" ]
null
null
null
# -------------- #Importing header files import pandas as pd import matplotlib.pyplot as plt import seaborn as sns #Code starts here data = pd.read_csv(path) data['Rating'].hist() data = data[data['Rating']<=5] data['Rating'].hist() #Code ends here # -------------- # code starts here total_null = data.isnull().sum...
24.442478
107
0.685373
403
2,762
4.590571
0.243176
0.071351
0.060541
0.034595
0.49027
0.347027
0.229189
0.153514
0.11027
0.11027
0
0.008775
0.092324
2,762
112
108
24.660714
0.729158
0.202028
0
0.22
0
0
0.214549
0
0
0
0
0
0
1
0
false
0
0.14
0
0.14
0.14
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca54a750bbd17151c5163b01b4d00722314de04
4,008
py
Python
openpnm/algorithms/ChargeConservation.py
rguan-uoft/OpenPNM
b3873d35270b0acaad019264368d0055c677d159
[ "MIT" ]
1
2020-02-06T19:21:20.000Z
2020-02-06T19:21:20.000Z
openpnm/algorithms/ChargeConservation.py
ChahatAggarwal/OpenPNM
b3873d35270b0acaad019264368d0055c677d159
[ "MIT" ]
null
null
null
openpnm/algorithms/ChargeConservation.py
ChahatAggarwal/OpenPNM
b3873d35270b0acaad019264368d0055c677d159
[ "MIT" ]
null
null
null
import numpy as np from openpnm.algorithms import ReactiveTransport from openpnm.models.physics import generic_source_term as gst from openpnm.utils import logging logger = logging.getLogger(__name__) class ChargeConservation(ReactiveTransport): r""" A class to enforce charge conservation in ionic transport s...
39.683168
79
0.560629
396
4,008
5.550505
0.338384
0.122839
0.023203
0.024568
0.079163
0.063694
0
0
0
0
0
0.000382
0.347305
4,008
100
80
40.08
0.839832
0.326597
0
0.039216
0
0
0.148676
0.029328
0
0
0
0
0
1
0.058824
false
0
0.078431
0
0.156863
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca7c37bc274f186e6ec2be9680fe84ac2ca179f
2,318
py
Python
jno/commands/upload.py
Kosinkadink/jno
773806dd737c1ef0b0a89a7e4086da9c2c1260c1
[ "MIT" ]
1
2017-03-07T20:15:44.000Z
2017-03-07T20:15:44.000Z
jno/commands/upload.py
Kosinkadink/jno
773806dd737c1ef0b0a89a7e4086da9c2c1260c1
[ "MIT" ]
null
null
null
jno/commands/upload.py
Kosinkadink/jno
773806dd737c1ef0b0a89a7e4086da9c2c1260c1
[ "MIT" ]
null
null
null
from jno.util import interpret_configs from jno.util import run_arduino_process from jno.util import create_build_directory from jno.util import get_common_parameters from jno.util import verify_arduino_dir from jno.util import verify_and_get_port from jno.util import JnoException from jno.commands.command import Comma...
34.597015
118
0.718723
346
2,318
4.644509
0.32659
0.069695
0.047915
0.074051
0.074673
0
0
0
0
0
0
0.001521
0.148835
2,318
66
119
35.121212
0.812975
0.10742
0
0.04
0
0.04
0.246602
0
0
0
0
0
0
1
0.04
false
0
0.2
0
0.34
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca94cd64ba4f1d65d89141aae52e93be1d8a3f6
11,440
py
Python
modelling/inference_multi_attribute.py
rizwan09/hydra-sum
42088dde4e2b109fdb222ad4c329ca7bbfe9db2f
[ "BSD-3-Clause" ]
5
2021-11-12T12:03:47.000Z
2022-02-09T11:07:23.000Z
modelling/inference_multi_attribute.py
rizwan09/hydra-sum
42088dde4e2b109fdb222ad4c329ca7bbfe9db2f
[ "BSD-3-Clause" ]
null
null
null
modelling/inference_multi_attribute.py
rizwan09/hydra-sum
42088dde4e2b109fdb222ad4c329ca7bbfe9db2f
[ "BSD-3-Clause" ]
1
2021-10-22T04:20:34.000Z
2021-10-22T04:20:34.000Z
import argparse import json import logging import os import torch from transformers.file_utils import ModelOutput from typing import Dict, Optional, Tuple from torch.utils.data import DataLoader, SequentialSampler from transformers.modeling_outputs import Seq2SeqLMOutput import train_seq2seq_utils import single_head_ut...
34.878049
118
0.600699
1,328
11,440
4.866717
0.205572
0.02847
0.02816
0.020424
0.33715
0.25762
0.191242
0.134303
0.127495
0.114498
0
0.016457
0.298864
11,440
327
119
34.984709
0.789303
0.021329
0
0.23221
0
0
0.161123
0.008137
0
0
0
0
0
1
0.022472
false
0
0.05618
0
0.11236
0.007491
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fca96624113002ffa1bf51ca5fff111307a9a56b
2,199
py
Python
stp_core/common/logging/handlers.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
148
2017-07-11T19:05:25.000Z
2022-03-16T21:31:20.000Z
stp_core/common/logging/handlers.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
561
2017-06-29T17:59:56.000Z
2022-03-09T15:47:14.000Z
stp_core/common/logging/handlers.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
378
2017-06-29T17:45:27.000Z
2022-03-26T07:27:59.000Z
import logging class CallbackHandler(logging.Handler): def __init__(self, typestr, default_tags, callback, override_tags): """ Initialize the handler. """ super().__init__() self.callback = callback self.tags = default_tags self.update_tags(override_tags or ...
28.558442
71
0.530241
215
2,199
5.12093
0.260465
0.108992
0.090827
0.038147
0.392371
0.346957
0.287012
0.287012
0.287012
0.287012
0
0
0.383811
2,199
76
72
28.934211
0.812546
0.053661
0
0.339623
0
0
0.0166
0
0
0
0
0
0
1
0.132075
false
0
0.018868
0
0.226415
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d78de49bd48a1e6e3f364af456fa6175d8f4166
10,534
py
Python
tools/python/utils/config_parser.py
hanhan9449/mace
63feaf5055bab6a081d36edfab8f963a624899aa
[ "Apache-2.0" ]
1
2020-09-07T02:40:28.000Z
2020-09-07T02:40:28.000Z
tools/python/utils/config_parser.py
hanhan9449/mace
63feaf5055bab6a081d36edfab8f963a624899aa
[ "Apache-2.0" ]
null
null
null
tools/python/utils/config_parser.py
hanhan9449/mace
63feaf5055bab6a081d36edfab8f963a624899aa
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The MACE Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
34.424837
78
0.638599
1,359
10,534
4.701987
0.231788
0.077308
0.0241
0.015023
0.371831
0.341002
0.291862
0.189045
0.13349
0.111424
0
0.01448
0.24606
10,534
305
79
34.537705
0.790103
0.062749
0
0.077253
0
0
0.189143
0.013496
0
0
0
0
0.004292
1
0.051502
false
0
0.051502
0.004292
0.399142
0.004292
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7980863ca4f07807819ec6305da79cbf107a53
14,852
py
Python
main_cross_testing_iseg.py
sami-ets/DeepNormalize
5ed53280d98a201d45bb9973e79736136273eaea
[ "MIT" ]
1
2020-05-21T20:52:48.000Z
2020-05-21T20:52:48.000Z
main_cross_testing_iseg.py
sami-ets/DeepNormalize
5ed53280d98a201d45bb9973e79736136273eaea
[ "MIT" ]
null
null
null
main_cross_testing_iseg.py
sami-ets/DeepNormalize
5ed53280d98a201d45bb9973e79736136273eaea
[ "MIT" ]
1
2020-05-21T20:52:54.000Z
2020-05-21T20:52:54.000Z
# -*- coding: utf-8 -*- # Copyright 2019 Pierre-Luc Delisle. All Rights Reserved. # # Licensed under the MIT License; # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/MIT # # Unless required by applicable law or agreed t...
52.295775
133
0.637961
1,509
14,852
5.963552
0.178926
0.085565
0.048005
0.045005
0.439604
0.383154
0.339482
0.309034
0.284476
0.274919
0
0.01535
0.271883
14,852
283
134
52.480565
0.816812
0.05373
0
0.299578
0
0
0.040057
0
0
0
0
0
0
1
0
false
0
0.097046
0
0.097046
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d799babef8aac803fb3da8b5588e54e7c3ffd6d
10,137
py
Python
docs/10.level3_demo_streaming/pc_server/server.py
FaBoPlatform/RobotCarAI
c89d3330a2beda0f253733d3252b2b035b153b6b
[ "Apache-2.0" ]
10
2017-12-27T20:51:26.000Z
2020-05-27T05:29:13.000Z
docs/10.level3_demo_streaming/pc_server/server.py
FaBoPlatform/RobotCarAI
c89d3330a2beda0f253733d3252b2b035b153b6b
[ "Apache-2.0" ]
null
null
null
docs/10.level3_demo_streaming/pc_server/server.py
FaBoPlatform/RobotCarAI
c89d3330a2beda0f253733d3252b2b035b153b6b
[ "Apache-2.0" ]
3
2017-12-27T20:51:30.000Z
2019-03-15T02:49:25.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ClientからOpenCV画像データを受け取り、ライン検出して制御命令を送る # Server: Jetson TX2 # Client: Jetson TX2/Raspberry Pi3 Docker # 1. FFMPEG UDP StreamingをClientで実行する。AWS向け10FPS,Jetson TX2向け1FPS # 2. Serverを起動する # 3. Clientを起動する # コード修正 # lib/camera.py: vid = cv2.VideoCapture()を環境に合わせて修正する必要がある # ...
32.594855
169
0.487126
948
10,137
5.006329
0.313291
0.062579
0.025284
0.040034
0.278129
0.228614
0.201011
0.201011
0.183312
0.163506
0
0.023891
0.364112
10,137
310
170
32.7
0.71238
0.124297
0
0.427835
0
0.005155
0.04855
0.007062
0
0
0
0
0
1
0.010309
false
0
0.07732
0
0.087629
0.07732
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d79ef8df5146da3723b7ca2139e31f87b3fe948
5,498
py
Python
client.py
zackorndorff/revsync
17255aebd281edffb3f3330c21cda00039bc51a3
[ "MIT" ]
94
2017-05-13T05:39:06.000Z
2022-01-11T18:14:54.000Z
client.py
zackorndorff/revsync
17255aebd281edffb3f3330c21cda00039bc51a3
[ "MIT" ]
5
2020-06-11T19:09:43.000Z
2021-05-01T05:01:55.000Z
client.py
zackorndorff/revsync
17255aebd281edffb3f3330c21cda00039bc51a3
[ "MIT" ]
25
2017-05-13T18:15:23.000Z
2022-02-03T22:32:41.000Z
from collections import defaultdict import json import re import redis import threading import time import traceback import uuid import base64 import binascii TTL = 2 hash_keys = ('cmd', 'user') cmd_hash_keys = { 'comment': ('addr',), 'extra_comment': ('addr',), 'area_comment': ('addr',), 'rename': ('...
34.797468
101
0.483812
634
5,498
4.094637
0.263407
0.006934
0.00963
0.013482
0.178351
0.137519
0.118259
0.118259
0.113251
0.113251
0
0.004939
0.373954
5,498
157
102
35.019108
0.749274
0.004183
0
0.185714
0
0
0.10433
0
0
0
0
0
0
1
0.071429
false
0.014286
0.071429
0.007143
0.192857
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7c0c4ed976d906f1c11a70f28b08240f91a61e
1,109
py
Python
ontask/condition/urls.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
33
2017-12-02T04:09:24.000Z
2021-11-07T08:41:57.000Z
ontask/condition/urls.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
189
2017-11-16T04:06:29.000Z
2022-03-11T23:35:59.000Z
ontask/condition/urls.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
30
2017-11-30T03:35:44.000Z
2022-01-31T03:08:08.000Z
# -*- coding: utf-8 -*- """URLs to manipulate columns.""" from django.urls import path from ontask.condition import views app_name = 'condition' urlpatterns = [ # # FILTERS # path( '<int:pk>/create_filter/', views.FilterCreateView.as_view(), name='create_filter'), path('<...
23.595745
79
0.598738
119
1,109
5.361345
0.268908
0.087774
0.112853
0.112853
0.166144
0.166144
0.166144
0.166144
0.166144
0
0
0.0012
0.248873
1,109
46
80
24.108696
0.764706
0.080252
0
0.322581
0
0
0.328699
0.207547
0
0
0
0
0
1
0
false
0
0.064516
0
0.064516
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7c6de5b4a074a83b3f637a428933b749ec22a8
13,437
py
Python
VideoClassification/SegmentLevelClassifier/model.py
googleinterns/via-content-understanding
ca12ebe6aa4da16224a8ca86dc45aaaaa7cfda09
[ "Apache-2.0" ]
1
2020-05-22T14:51:28.000Z
2020-05-22T14:51:28.000Z
VideoClassification/SegmentLevelClassifier/model.py
googleinterns/via-content-understanding
ca12ebe6aa4da16224a8ca86dc45aaaaa7cfda09
[ "Apache-2.0" ]
4
2020-05-31T21:57:44.000Z
2020-07-23T23:32:52.000Z
VideoClassification/SegmentLevelClassifier/model.py
googleinterns/via-content-understanding
ca12ebe6aa4da16224a8ca86dc45aaaaa7cfda09
[ "Apache-2.0" ]
1
2020-05-19T17:28:10.000Z
2020-05-19T17:28:10.000Z
"""Copyright 2020 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, software distr...
39.520588
172
0.723599
1,975
13,437
4.666835
0.126582
0.090051
0.036454
0.030379
0.668113
0.622328
0.59336
0.566996
0.549528
0.520017
0
0.013082
0.175113
13,437
340
173
39.520588
0.818477
0.316961
0
0.442623
0
0
0.070079
0.009449
0
0
0
0
0.005464
1
0.087432
false
0
0.010929
0.010929
0.185792
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7cd2c4d715d5bc952ad3e374f1d2268aa25788
310
py
Python
ivy/functional/backends/jax/old/math.py
faruq2021/ivy
1b24beadbd673d6a9dd504e037c68547e5640627
[ "Apache-2.0" ]
null
null
null
ivy/functional/backends/jax/old/math.py
faruq2021/ivy
1b24beadbd673d6a9dd504e037c68547e5640627
[ "Apache-2.0" ]
null
null
null
ivy/functional/backends/jax/old/math.py
faruq2021/ivy
1b24beadbd673d6a9dd504e037c68547e5640627
[ "Apache-2.0" ]
null
null
null
""" Collection of Jax math functions, wrapped to fit Ivy syntax and signature. """ # global import jax as _jax import jax.numpy as _jnp tan = _jnp.tan acos = _jnp.arccos atan = _jnp.arctan atan2 = _jnp.arctan2 cosh = _jnp.cosh atanh = _jnp.arctanh log = _jnp.log exp = _jnp.exp erf = _jax.scipy.special.erf
16.315789
74
0.729032
51
310
4.215686
0.627451
0.083721
0
0
0
0
0
0
0
0
0
0.007813
0.174194
310
18
75
17.222222
0.832031
0.264516
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7d4f2cec08d8e71851176546c2923392d1f51a
7,675
py
Python
test/tst_vlen.py
timgates42/netcdf4-python
d8b1cb11454f9beec674a29904c91f48db608c2c
[ "MIT" ]
574
2015-01-16T02:21:19.000Z
2022-03-27T14:05:55.000Z
test/tst_vlen.py
timgates42/netcdf4-python
d8b1cb11454f9beec674a29904c91f48db608c2c
[ "MIT" ]
681
2015-01-02T20:26:17.000Z
2022-03-24T00:59:15.000Z
test/tst_vlen.py
timgates42/netcdf4-python
d8b1cb11454f9beec674a29904c91f48db608c2c
[ "MIT" ]
257
2015-01-20T16:42:17.000Z
2022-03-29T03:49:37.000Z
import sys import unittest import os import tempfile from netCDF4 import Dataset import numpy as np from numpy.testing import assert_array_equal FILE_NAME = tempfile.NamedTemporaryFile(suffix='.nc', delete=False).name VL_NAME = 'vlen_type' VL_BASETYPE = np.int16 DIM1_NAME = 'lon' DIM2_NAME = 'lat' nlons = 5; nlats = 5...
33.515284
86
0.580456
961
7,675
4.51821
0.224766
0.02948
0.027637
0.02211
0.377706
0.305159
0.273837
0.255182
0.238139
0.198526
0
0.030915
0.283518
7,675
228
87
33.662281
0.758683
0.093029
0
0.360215
0
0
0.052746
0
0
0
0
0
0.086022
1
0.080645
false
0.010753
0.043011
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7e5adfacc7c05430120bb4ddda519a5d8edcca
9,774
py
Python
env.py
DGarciaMedina/PiArmDiego
cb4664796aa99b0717145f9e4889bfba5190059f
[ "MIT" ]
null
null
null
env.py
DGarciaMedina/PiArmDiego
cb4664796aa99b0717145f9e4889bfba5190059f
[ "MIT" ]
null
null
null
env.py
DGarciaMedina/PiArmDiego
cb4664796aa99b0717145f9e4889bfba5190059f
[ "MIT" ]
null
null
null
import piarm import time import numpy as np import cv2 import random class MyArm2D: def __init__(self, move_robot = False): self.move_robot = move_robot if self.move_robot: self.robot = piarm.PiArm() self.open_connection() self.DEFAULT = [500, 500, 500, 500, 5...
32.151316
137
0.563024
1,274
9,774
4.144427
0.17033
0.037121
0.061364
0.021591
0.429545
0.281629
0.195833
0.157955
0.106439
0.062121
0
0.043498
0.327297
9,774
304
138
32.151316
0.759544
0.067015
0
0.24
0
0
0.0385
0
0
0
0
0
0
1
0.08
false
0
0.025
0
0.185
0.045
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7e67724340bd64fb013a94027277d42f8215af
10,105
py
Python
src/python/src/grpc/_adapter/_links_test.py
jonywtf/grpc
124f3c5a4b65bb88f13be7c68482eb83d945ad02
[ "BSD-3-Clause" ]
1
2022-01-14T04:25:01.000Z
2022-01-14T04:25:01.000Z
src/python/src/grpc/_adapter/_links_test.py
jonywtf/grpc
124f3c5a4b65bb88f13be7c68482eb83d945ad02
[ "BSD-3-Clause" ]
null
null
null
src/python/src/grpc/_adapter/_links_test.py
jonywtf/grpc
124f3c5a4b65bb88f13be7c68482eb83d945ad02
[ "BSD-3-Clause" ]
1
2022-01-14T04:25:02.000Z
2022-01-14T04:25:02.000Z
# Copyright 2015, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
40.42
80
0.740129
1,358
10,105
5.182622
0.164212
0.070475
0.046036
0.050725
0.656579
0.615658
0.600739
0.578005
0.563228
0.528986
0
0.003881
0.183968
10,105
249
81
40.582329
0.849624
0.150322
0
0.543011
0
0
0.0076
0
0
0
0
0
0.026882
1
0.05914
false
0
0.048387
0
0.112903
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7f67f5f4955fd254f6885d027ea817e96c1e91
620
py
Python
tests/_test_progress_board.py
stjordanis/Hyperactive
5acf247d8023ff6761593b9d0954bdd912d20aed
[ "MIT" ]
382
2019-07-16T13:30:15.000Z
2022-03-30T22:29:07.000Z
tests/_test_progress_board.py
stjordanis/Hyperactive
5acf247d8023ff6761593b9d0954bdd912d20aed
[ "MIT" ]
46
2019-08-27T18:07:47.000Z
2022-03-16T16:28:10.000Z
tests/_test_progress_board.py
stjordanis/Hyperactive
5acf247d8023ff6761593b9d0954bdd912d20aed
[ "MIT" ]
35
2019-08-03T00:51:09.000Z
2021-12-03T19:06:07.000Z
import os, glob import subprocess from subprocess import DEVNULL, STDOUT abspath = os.path.abspath(__file__) dir_ = os.path.dirname(abspath) files = glob.glob(dir_ + "/_progress_board_tests/_test_progress_board_*.py") for file_path in files: file_name = str(file_path.rsplit("/", maxsplit=1)[1]) try: ...
29.52381
83
0.68871
88
620
4.613636
0.522727
0.078818
0.066502
0
0
0
0
0
0
0
0
0.050193
0.164516
620
20
84
31
0.733591
0
0
0
0
0
0.203226
0.077419
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7f92bfcfd4bf66faaae6ec55c26244db6de591
8,695
py
Python
pages/forest_pages.py
jhalljhall/beiwe-backend
06d28926a2830c7ad53c32ec41ff49320932aeed
[ "BSD-3-Clause" ]
1
2022-03-09T03:20:37.000Z
2022-03-09T03:20:37.000Z
pages/forest_pages.py
jhalljhall/beiwe-backend
06d28926a2830c7ad53c32ec41ff49320932aeed
[ "BSD-3-Clause" ]
null
null
null
pages/forest_pages.py
jhalljhall/beiwe-backend
06d28926a2830c7ad53c32ec41ff49320932aeed
[ "BSD-3-Clause" ]
null
null
null
import csv import datetime from collections import defaultdict from django.contrib import messages from django.http.response import FileResponse from django.shortcuts import redirect, render from django.utils import timezone from django.views.decorators.http import require_GET, require_http_methods, require_POST from...
36.533613
105
0.702588
1,045
8,695
5.629665
0.240191
0.020228
0.014958
0.026347
0.293728
0.211967
0.172871
0.102159
0.059493
0.043175
0
0.002332
0.210926
8,695
237
106
36.687764
0.855123
0.066475
0
0.260417
0
0
0.069693
0.032194
0
0
0
0.004219
0
1
0.052083
false
0
0.114583
0.005208
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d7fb293f532babd1479825528080b1664689540
6,138
py
Python
data_scout/transformations/math_custom.py
janthiemen/data_scout
6366eedfb20ed429bc96100de4dd2c7409e5dd88
[ "MIT" ]
null
null
null
data_scout/transformations/math_custom.py
janthiemen/data_scout
6366eedfb20ed429bc96100de4dd2c7409e5dd88
[ "MIT" ]
null
null
null
data_scout/transformations/math_custom.py
janthiemen/data_scout
6366eedfb20ed429bc96100de4dd2c7409e5dd88
[ "MIT" ]
null
null
null
from __future__ import division from .transformation import Transformation from pyparsing import (Literal, CaselessLiteral, Word, Combine, Group, Optional, ZeroOrMore, Forward, nums, alphas, oneOf) import math import re import operator __author__ = 'Paul McGuire' __version__ = '$Revision: 0.0 $...
37.2
144
0.515477
664
6,138
4.661145
0.343373
0.017448
0.042649
0.043619
0.044588
0.023263
0
0
0
0
0
0.017024
0.339687
6,138
164
145
37.426829
0.746607
0.161453
0
0.016949
0
0.008475
0.140933
0
0
0
0
0
0
1
0.050847
false
0
0.050847
0
0.211864
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d8266dee4d58a4d6dfa39e78c02bb8ed2be2717
6,261
py
Python
project/cloudmesh-storage/cloudmesh/vdir/api/manager.py
cybertraining-dsc/fa19-516-171
1dba8cde09f7b05c80557ea7ae462161c590568b
[ "Apache-2.0" ]
null
null
null
project/cloudmesh-storage/cloudmesh/vdir/api/manager.py
cybertraining-dsc/fa19-516-171
1dba8cde09f7b05c80557ea7ae462161c590568b
[ "Apache-2.0" ]
2
2019-12-02T03:11:42.000Z
2021-02-08T20:37:15.000Z
project/cloudmesh-storage/cloudmesh/vdir/api/manager.py
cybertraining-dsc/fa19-516-171
1dba8cde09f7b05c80557ea7ae462161c590568b
[ "Apache-2.0" ]
2
2019-09-10T00:56:11.000Z
2020-05-05T02:54:31.000Z
# # this manager stores directly into the db wit Database update from cloudmesh.mongo.DataBaseDecorator import DatabaseUpdate from cloudmesh.mongo.CmDatabase import CmDatabase from cloudmesh.common.console import Console from cloudmesh.storage.Provider import Provider import os from datetime import datetime class Vd...
40.921569
119
0.50008
629
6,261
4.891892
0.18283
0.038674
0.042899
0.045499
0.41794
0.342541
0.270393
0.238869
0.149496
0.149496
0
0.002528
0.368152
6,261
152
120
41.190789
0.775278
0.009583
0
0.330935
0
0
0.132946
0
0
0
0
0
0
1
0.057554
false
0
0.043165
0
0.165468
0.071942
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d830daa46eeb8bf91aea2f52e4b5f3c2d74b15e
2,605
py
Python
redash/query_runner/influx_db.py
cjpit/redash
27aafdb07e3a427da8f88d55a0c0d7cc64379da2
[ "BSD-2-Clause" ]
1
2018-09-13T13:50:17.000Z
2018-09-13T13:50:17.000Z
redash/query_runner/influx_db.py
cjpit/redash
27aafdb07e3a427da8f88d55a0c0d7cc64379da2
[ "BSD-2-Clause" ]
null
null
null
redash/query_runner/influx_db.py
cjpit/redash
27aafdb07e3a427da8f88d55a0c0d7cc64379da2
[ "BSD-2-Clause" ]
1
2018-10-25T12:09:32.000Z
2018-10-25T12:09:32.000Z
import json import logging from redash.query_runner import * from redash.utils import JSONEncoder logger = logging.getLogger(__name__) try: from influxdb import InfluxDBClusterClient enabled = True except ImportError: enabled = False def _transform_result(results): result_columns = [] result_r...
26.313131
74
0.542035
261
2,605
5.291188
0.318008
0.065894
0.043447
0.026068
0.182476
0.182476
0.125996
0.072411
0.072411
0.072411
0
0.000602
0.362764
2,605
98
75
26.581633
0.831325
0
0
0.157895
0
0
0.07025
0
0
0
0
0
0
1
0.078947
false
0
0.078947
0.052632
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d83ad6cff3db1b6e4ae4b1be6ce413b57641a09
9,537
py
Python
ics/mergeGatingSets.py
victorfica/utils
b61935a860838a0e70afde7c9ecf2c68f51a2c4b
[ "MIT" ]
5
2015-12-16T01:23:07.000Z
2020-04-27T11:41:43.000Z
ics/mergeGatingSets.py
victorfica/utils
b61935a860838a0e70afde7c9ecf2c68f51a2c4b
[ "MIT" ]
1
2021-05-06T23:47:20.000Z
2021-05-06T23:48:33.000Z
ics/mergeGatingSets.py
victorfica/utils
b61935a860838a0e70afde7c9ecf2c68f51a2c4b
[ "MIT" ]
6
2016-04-29T14:04:22.000Z
2021-05-06T23:49:34.000Z
#!/usr/bin/env python """ Usage examples: python /home/agartlan/gitrepo/utils/ics/mergeGatingSets.py --function functions --ncpus 4 --out functions_extract.csv sbatch -n 1 -t 3-0 -c 4 -o functions_slurm.txt --wrap="python /home/agartlan/gitrepo/utils/ics/mergeGatingSets.py --function functions --ncpus 4 --out functio...
52.401099
284
0.554996
923
9,537
5.63922
0.265439
0.034582
0.054755
0.069164
0.377714
0.34121
0.302017
0.278963
0.251297
0.251297
0
0.014208
0.34319
9,537
182
285
52.401099
0.816731
0.209919
0
0.217391
0
0
0.165529
0.016861
0
0
0
0
0
1
0.014493
false
0.007246
0.094203
0
0.123188
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d85c596f37801463f956fbf7ef5af170636decb
1,000
py
Python
setup.py
uuosio/uuosio.gscdk
a2e364d4499c1372567aa5933e2d8e02340a8385
[ "BSD-3-Clause" ]
6
2021-09-03T09:02:39.000Z
2022-01-12T06:31:09.000Z
setup.py
uuosio/uuosio.gscdk
a2e364d4499c1372567aa5933e2d8e02340a8385
[ "BSD-3-Clause" ]
1
2021-11-01T16:46:09.000Z
2021-11-04T12:51:45.000Z
setup.py
uuosio/uuosio.gscdk
a2e364d4499c1372567aa5933e2d8e02340a8385
[ "BSD-3-Clause" ]
2
2021-11-10T01:56:15.000Z
2022-01-13T14:27:31.000Z
import os import shutil import setuptools # from skbuild import setup from distutils.core import setup from distutils.sysconfig import get_python_lib import glob # if os.path.exists('pysrc/tinygo'): # shutil.rmtree('pysrc/tinygo') # shutil.copytree('tinygo/build/release/tinygo', 'pysrc/tinygo') release_files = ...
24.390244
77
0.658
126
1,000
5.126984
0.555556
0.068111
0.04644
0.074303
0
0
0
0
0
0
0
0.004884
0.181
1,000
40
78
25
0.783883
0.3
0
0
0
0
0.219477
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d88a4a57aa7fe412e25b74cc37254832f74121b
1,113
py
Python
treenode/debug.py
domlysi/django-treenode
86e7c76e2b2d60c071cfce6ad1493b2b51f2d304
[ "MIT" ]
null
null
null
treenode/debug.py
domlysi/django-treenode
86e7c76e2b2d60c071cfce6ad1493b2b51f2d304
[ "MIT" ]
null
null
null
treenode/debug.py
domlysi/django-treenode
86e7c76e2b2d60c071cfce6ad1493b2b51f2d304
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf import settings from django.db import connection import logging import timeit logger = logging.getLogger(__name__) class debug_performance(object): def __init__(self, message_prefix=''): super(debug_performance, self).__init__() self.__message_prefix =...
26.5
74
0.637017
120
1,113
5.408333
0.4
0.14792
0.117103
0.064715
0.215716
0.126348
0.126348
0
0
0
0
0.002445
0.265049
1,113
41
75
27.146341
0.790954
0.018868
0
0.068966
0
0
0.034862
0
0
0
0
0
0
1
0.172414
false
0
0.137931
0.068966
0.448276
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d8a580c6383e0fa95c751c549eb6cc5184e491f
3,705
py
Python
String_tool.py
vibhorvk/BlendString
3bf62083716b3b1f4976abeb3528771eeb79e2cf
[ "MIT" ]
null
null
null
String_tool.py
vibhorvk/BlendString
3bf62083716b3b1f4976abeb3528771eeb79e2cf
[ "MIT" ]
null
null
null
String_tool.py
vibhorvk/BlendString
3bf62083716b3b1f4976abeb3528771eeb79e2cf
[ "MIT" ]
null
null
null
bl_info = { "name": "STRING", "blender": (2, 80, 0), "category": "Object", 'Author' : 'Vibhor Gupta' } import bpy import bmesh class STRING(bpy.types.Operator): """My Object Moving Script""" # Use this as a tooltip for menu items and buttons. bl_idname = "object.stringtool_o...
29.879032
107
0.515789
413
3,705
4.51816
0.423729
0.041801
0.051447
0.042872
0.099678
0.071811
0.071811
0.071811
0.071811
0.071811
0
0.010022
0.380567
3,705
124
108
29.879032
0.80305
0.161673
0
0.105263
0
0
0.080397
0
0
0
0
0
0
1
0.105263
false
0
0.026316
0
0.328947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d8ccdbb74a4a8ff8a56e579b885b0bbd0743a4f
7,666
py
Python
awx/plugins/library/scan_services.py
Avinesh/awx
6310a2edd890d6062a9f6bcdeb2b46c4b876c2bf
[ "Apache-2.0" ]
17
2021-04-03T01:40:17.000Z
2022-03-03T11:45:20.000Z
awx/plugins/library/scan_services.py
Avinesh/awx
6310a2edd890d6062a9f6bcdeb2b46c4b876c2bf
[ "Apache-2.0" ]
24
2021-05-18T21:13:35.000Z
2022-03-29T10:23:52.000Z
awx/plugins/library/scan_services.py
Avinesh/awx
6310a2edd890d6062a9f6bcdeb2b46c4b876c2bf
[ "Apache-2.0" ]
14
2021-04-06T20:05:41.000Z
2022-03-24T14:16:03.000Z
#!/usr/bin/env python import re from ansible.module_utils.basic import * # noqa DOCUMENTATION = ''' --- module: scan_services short_description: Return service state information as fact data description: - Return service state information as fact data for various service management utilities version_added: "1.9"...
40.136126
155
0.530655
878
7,666
4.490888
0.235763
0.03297
0.024854
0.031955
0.339336
0.315496
0.23231
0.23231
0.124017
0.0667
0
0.009185
0.346726
7,666
190
156
40.347368
0.778155
0.059223
0
0.257862
0
0.025157
0.229262
0.044602
0
0
0
0
0
1
0.031447
false
0
0.012579
0
0.113208
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d8e9f525045331a16efdc9df5a7b8042480b89c
1,118
py
Python
cppgym/ToyText/BlackJack.py
anhydrous99/cppgym
0b1009a74faebfe5a31bcfd6a86c74cf13464d56
[ "MIT" ]
null
null
null
cppgym/ToyText/BlackJack.py
anhydrous99/cppgym
0b1009a74faebfe5a31bcfd6a86c74cf13464d56
[ "MIT" ]
1
2021-01-03T10:21:36.000Z
2021-01-26T03:59:07.000Z
cppgym/ToyText/BlackJack.py
anhydrous99/cppgym
0b1009a74faebfe5a31bcfd6a86c74cf13464d56
[ "MIT" ]
null
null
null
from .._BlackJack import BlackJackCPP import gym import ctypes import numpy as np from gym import spaces class BlackJack(gym.Env): def __init__(self, natural=False): self.env = BlackJackCPP(natural) self.action_space = spaces.Discrete(2) self.observation_space = spaces.Tuple(( ...
26.619048
53
0.593918
137
1,118
4.759124
0.357664
0.053681
0.046012
0.058282
0.058282
0
0
0
0
0
0
0.012804
0.301431
1,118
41
54
27.268293
0.822023
0
0
0
0
0
0.004472
0
0
0
0
0
0.029412
1
0.147059
false
0
0.147059
0.029412
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d8f21c23f88e0ce2aa150c385f666597b203749
5,827
py
Python
sdks/python/apache_beam/runners/direct/consumer_tracking_pipeline_visitor_test.py
ajothomas/beam
4774c1caf3dac3b6a7dd161f82559a26fa380920
[ "Apache-2.0", "BSD-3-Clause" ]
5
2019-07-27T11:54:33.000Z
2021-06-06T11:53:36.000Z
sdks/python/apache_beam/runners/direct/consumer_tracking_pipeline_visitor_test.py
ajothomas/beam
4774c1caf3dac3b6a7dd161f82559a26fa380920
[ "Apache-2.0", "BSD-3-Clause" ]
12
2019-04-15T15:27:23.000Z
2019-07-01T18:13:10.000Z
sdks/python/apache_beam/runners/direct/consumer_tracking_pipeline_visitor_test.py
ajothomas/beam
4774c1caf3dac3b6a7dd161f82559a26fa380920
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-06-03T19:54:48.000Z
2021-06-03T19:54:48.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 us...
35.530488
105
0.727476
748
5,827
5.474599
0.296791
0.037607
0.041026
0.035165
0.304029
0.205128
0.139438
0.139438
0.101832
0.069109
0
0.006255
0.176935
5,827
163
106
35.748466
0.847581
0.185172
0
0.11215
0
0
0.045763
0.009746
0
0
0
0
0.102804
1
0.074766
false
0
0.140187
0
0.252336
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d90667a56cb7c978d1072b2a27a14dbab5c4dfc
3,798
py
Python
agents/EWPublisherAgent.py
marc4gov/tokenspice2
1993383674f35b20e11e54606b3dac8e4c05c0f9
[ "Apache-2.0" ]
1
2021-01-12T08:06:21.000Z
2021-01-12T08:06:21.000Z
agents/EWPublisherAgent.py
marc4gov/tokenspice2
1993383674f35b20e11e54606b3dac8e4c05c0f9
[ "Apache-2.0" ]
null
null
null
agents/EWPublisherAgent.py
marc4gov/tokenspice2
1993383674f35b20e11e54606b3dac8e4c05c0f9
[ "Apache-2.0" ]
null
null
null
import logging log = logging.getLogger('marketagents') from enforce_typing import enforce_types # type: ignore[import] import random from agents.PublisherAgent import PublisherAgent from agents.PoolAgent import PoolAgent from util import constants from util.constants import POOL_WEIGHT_DT, POOL_WEIGHT_OCEAN from web3...
37.98
80
0.662191
466
3,798
5.128755
0.255365
0.025105
0.033473
0.026778
0.191632
0.107113
0
0
0
0
0
0.016152
0.250132
3,798
99
81
38.363636
0.823034
0.079516
0
0.114286
0
0
0.017564
0
0
0
0
0
0.014286
1
0.1
false
0
0.128571
0
0.328571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d930df4a535163668fcaae7a75a25d2de903db1
13,123
py
Python
tests/test_optimizers_v2/test_optimizers_v2.py
OverLordGoldDragon/dummy
5192b91c57721f37b906f670ad954a46f98bf5b5
[ "MIT" ]
null
null
null
tests/test_optimizers_v2/test_optimizers_v2.py
OverLordGoldDragon/dummy
5192b91c57721f37b906f670ad954a46f98bf5b5
[ "MIT" ]
null
null
null
tests/test_optimizers_v2/test_optimizers_v2.py
OverLordGoldDragon/dummy
5192b91c57721f37b906f670ad954a46f98bf5b5
[ "MIT" ]
null
null
null
import os import tempfile import numpy as np import tensorflow as tf from time import time from termcolor import cprint from unittest import TestCase from .. import K from .. import Input, Dense, GRU, Bidirectional, Embedding from .. import Model, load_model from .. import l2 from .. import maxnorm from .. import Ada...
44.334459
83
0.586375
1,542
13,123
4.714008
0.152399
0.059018
0.026826
0.017884
0.446416
0.377356
0.333608
0.301967
0.241574
0.177466
0
0.012393
0.311362
13,123
295
84
44.484746
0.791966
0.022556
0
0.265306
0
0
0.064617
0.004838
0
0
0
0
0.02449
1
0.040816
false
0.036735
0.061224
0
0.130612
0.073469
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d942ae26a14855b18361770889fe0b68867154b
1,433
py
Python
sympy/tensor/tests/test_functions.py
iamabhishek0/sympy
c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd
[ "BSD-3-Clause" ]
8,323
2015-01-02T15:51:43.000Z
2022-03-31T13:13:19.000Z
sympy/tensor/tests/test_functions.py
iamabhishek0/sympy
c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd
[ "BSD-3-Clause" ]
15,102
2015-01-01T01:33:17.000Z
2022-03-31T22:53:13.000Z
sympy/tensor/tests/test_functions.py
iamabhishek0/sympy
c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd
[ "BSD-3-Clause" ]
4,490
2015-01-01T17:48:07.000Z
2022-03-31T17:24:05.000Z
from sympy.tensor.functions import TensorProduct from sympy import MatrixSymbol, Matrix, Array from sympy.abc import x, y, z from sympy.abc import i, j, k, l A = MatrixSymbol("A", 3, 3) B = MatrixSymbol("B", 3, 3) C = MatrixSymbol("C", 3, 3) def test_TensorProduct_construction(): assert TensorProduct(3, 4) == 1...
25.589286
74
0.567341
201
1,433
4.014925
0.189055
0.148699
0.02974
0.034696
0.307311
0.242875
0.242875
0.2057
0.2057
0.116481
0
0.050704
0.256804
1,433
55
75
26.054545
0.707042
0
0
0.097561
0
0
0.002094
0
0
0
0
0
0.341463
1
0.073171
false
0
0.097561
0
0.170732
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d94582a86f1cb5da7910dcf3af0df5fef4be108
898
py
Python
app/views.py
Kgermando/sem
c76e97e1d526d4e92a925adb6bceee426f999655
[ "Apache-2.0" ]
null
null
null
app/views.py
Kgermando/sem
c76e97e1d526d4e92a925adb6bceee426f999655
[ "Apache-2.0" ]
null
null
null
app/views.py
Kgermando/sem
c76e97e1d526d4e92a925adb6bceee426f999655
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render # Create your views here. class MultipleProxyMiddleware: FORWARDED_FOR_FIELDS = [ 'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED_HOST', 'HTTP_X_FORWARDED_SERVER', ] def __init__(self, get_response): self.get_response = get_response def __...
26.411765
59
0.604677
102
898
5.058824
0.509804
0.085271
0.081395
0.081395
0
0
0
0
0
0
0
0.001597
0.302895
898
33
60
27.212121
0.822684
0.105791
0
0
0
0
0.111543
0.057069
0
0
0
0
0
1
0.142857
false
0
0.047619
0
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d968294f2b19ad9cf4d5cc885fbe7be0f0e3330
15,289
py
Python
byol_train.py
fjbriones/deep-text-recognition-benchmark
c85d12aa56495fe221656bac4c8cb159a28456b1
[ "Apache-2.0" ]
null
null
null
byol_train.py
fjbriones/deep-text-recognition-benchmark
c85d12aa56495fe221656bac4c8cb159a28456b1
[ "Apache-2.0" ]
null
null
null
byol_train.py
fjbriones/deep-text-recognition-benchmark
c85d12aa56495fe221656bac4c8cb159a28456b1
[ "Apache-2.0" ]
null
null
null
import os import sys import time import random import string import argparse import torch import torch.backends.cudnn as cudnn import torch.nn.init as init import torch.optim as optim import torch.utils.data import numpy as np from utils import CTCLabelConverter, CTCLabelConverterForBaiduWarpctc, AttnLabelConverter, ...
45.502976
152
0.636013
2,028
15,289
4.643984
0.204635
0.038225
0.072202
0.012742
0.267042
0.21735
0.172436
0.155447
0.135273
0.103844
0
0.024724
0.224868
15,289
335
153
45.638806
0.769977
0.057427
0
0.153226
0
0
0.228783
0.040433
0
0
0
0
0
1
0.004032
false
0.004032
0.084677
0
0.08871
0.084677
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d9879f28b9c13e35ac740f4cb5632764b5c35dd
2,426
py
Python
pipescaler/core/stage.py
KarlTDebiec/PipeScaler
b990ece8f3dd2c3506c226ed871871997fc57beb
[ "BSD-3-Clause" ]
1
2022-02-07T03:47:53.000Z
2022-02-07T03:47:53.000Z
pipescaler/core/stage.py
KarlTDebiec/PipeScaler
b990ece8f3dd2c3506c226ed871871997fc57beb
[ "BSD-3-Clause" ]
49
2022-01-17T15:16:22.000Z
2022-03-28T03:00:39.000Z
pipescaler/core/stage.py
KarlTDebiec/PipeScaler
b990ece8f3dd2c3506c226ed871871997fc57beb
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # pipescaler/core/stage.py # # Copyright (C) 2020-2021 Karl T Debiec # All rights reserved. # # This software may be modified and distributed under the terms of the # BSD license. from __future__ import annotations from abc import ABC, abstractmethod from importlib.util import module_fr...
27.568182
83
0.633965
301
2,426
4.873754
0.365449
0.059986
0.05726
0.02454
0.125426
0.04499
0.04499
0
0
0
0
0.004592
0.281946
2,426
87
84
27.885057
0.837543
0.201566
0
0.211538
0
0
0.026273
0
0
0
0
0
0
1
0.115385
false
0
0.096154
0.038462
0.326923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d987ab5c44436d3b47a96128fa67f2ac2b9fa8d
670
py
Python
leetcode/970_powerful_integers/970_powerful_integers.py
ryangillard/misc
d1f9919400636e6b988fa933493b94829a73331e
[ "Apache-2.0" ]
null
null
null
leetcode/970_powerful_integers/970_powerful_integers.py
ryangillard/misc
d1f9919400636e6b988fa933493b94829a73331e
[ "Apache-2.0" ]
null
null
null
leetcode/970_powerful_integers/970_powerful_integers.py
ryangillard/misc
d1f9919400636e6b988fa933493b94829a73331e
[ "Apache-2.0" ]
null
null
null
class Solution(object): def powerfulIntegers(self, x, y, bound): """ :type x: int :type y: int :type bound: int :rtype: List[int] """ # Find max exponent base = max(x, y) if x == 1 or y == 1 else min(x, y) exponent = 1 if base != 1: ...
26.8
59
0.444776
82
670
3.634146
0.47561
0.020134
0.100671
0
0
0
0
0
0
0
0
0.013514
0.447761
670
25
60
26.8
0.791892
0.176119
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d9a08394431a2356f36800cd3badfa0bed3c07f
7,730
py
Python
qiskit_metal/qlibrary/lumped/cap_n_interdigital.py
wdczdj/qiskit-metal
c77805f66da60021ef8d10d668715c1dc2ebcd1d
[ "Apache-2.0" ]
null
null
null
qiskit_metal/qlibrary/lumped/cap_n_interdigital.py
wdczdj/qiskit-metal
c77805f66da60021ef8d10d668715c1dc2ebcd1d
[ "Apache-2.0" ]
null
null
null
qiskit_metal/qlibrary/lumped/cap_n_interdigital.py
wdczdj/qiskit-metal
c77805f66da60021ef8d10d668715c1dc2ebcd1d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2017, 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
41.336898
100
0.51022
940
7,730
4.009574
0.218085
0.033961
0.027859
0.025471
0.336429
0.297161
0.236402
0.222075
0.190236
0.124436
0
0.022847
0.388486
7,730
186
101
41.55914
0.774487
0.346831
0
0.24
0
0
0.032862
0
0
0
0
0
0
1
0.01
false
0
0.03
0
0.07
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d9cfb201fcd48e23406da7a37202a4d1d0051f3
1,758
py
Python
Medium/102_2.py
Hellofafar/Leetcode
7a459e9742958e63be8886874904e5ab2489411a
[ "CNRI-Python" ]
6
2017-09-25T18:05:50.000Z
2019-03-27T00:23:15.000Z
Medium/102_2.py
Hellofafar/Leetcode
7a459e9742958e63be8886874904e5ab2489411a
[ "CNRI-Python" ]
1
2017-10-29T12:04:41.000Z
2018-08-16T18:00:37.000Z
Medium/102_2.py
Hellofafar/Leetcode
7a459e9742958e63be8886874904e5ab2489411a
[ "CNRI-Python" ]
null
null
null
# ------------------------------ # Binary Tree Level Order Traversal # # Description: # Given a binary tree, return the level order traversal of its nodes' values. (ie, from # left to right, level by level). # # For example: # Given binary tree [3,9,20,null,null,15,7], # 3 # / \ # 9 20 # / \ # 15 ...
26.636364
108
0.527873
219
1,758
4.182648
0.461187
0.043668
0.062227
0.0131
0.015284
0
0
0
0
0
0
0.027523
0.317975
1,758
66
109
26.636364
0.736447
0.591013
0
0
0
0
0.011834
0
0
0
0
0
0
1
0.05
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d9e54e4e20b43e465756409507c8caedb39d5b5
7,969
py
Python
mturk/comparison_among_different_models/sample_from_models_for_comparison.py
qiaone/GIF
2c551e844748c72395fc91fb080c7a2f9c8d5285
[ "MIT" ]
322
2020-08-28T22:23:09.000Z
2022-03-25T09:42:12.000Z
mturk/comparison_among_different_models/sample_from_models_for_comparison.py
qiaone/GIF
2c551e844748c72395fc91fb080c7a2f9c8d5285
[ "MIT" ]
25
2020-11-03T02:03:51.000Z
2022-03-18T13:06:42.000Z
mturk/comparison_among_different_models/sample_from_models_for_comparison.py
qiaone/GIF
2c551e844748c72395fc91fb080c7a2f9c8d5285
[ "MIT" ]
59
2020-08-28T23:32:08.000Z
2022-03-30T03:29:35.000Z
import sys sys.path.append('../../') import constants as cnst import os os.environ['PYTHONHASHSEED'] = '2' import tqdm from model.stg2_generator import StyledGenerator import numpy as np from my_utils.visualize_flame_overlay import OverLayViz from my_utils.flm_dynamic_fit_overlay import camera_ringnetpp from my_utils.g...
47.718563
119
0.676371
1,157
7,969
4.239412
0.215212
0.015902
0.036697
0.040367
0.312334
0.281549
0.229969
0.213252
0.198981
0.145566
0
0.032455
0.199649
7,969
167
120
47.718563
0.736595
0.107542
0
0.032
0
0
0.150247
0.073573
0
0
0
0
0
1
0.008
false
0
0.128
0
0.168
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5da2dcdc36e76038fe4e53bad3d9602bb03e2dea
38,961
py
Python
Packs/mnemonicMDR/Integrations/ArgusManagedDefence/ArgusManagedDefence.py
matan-xmcyber/content
7f02301c140b35956af3cd20cb8dfc64f34afb3e
[ "MIT" ]
null
null
null
Packs/mnemonicMDR/Integrations/ArgusManagedDefence/ArgusManagedDefence.py
matan-xmcyber/content
7f02301c140b35956af3cd20cb8dfc64f34afb3e
[ "MIT" ]
3
2019-12-13T13:27:20.000Z
2020-01-01T14:27:45.000Z
Packs/mnemonicMDR/Integrations/ArgusManagedDefence/ArgusManagedDefence.py
matan-xmcyber/content
7f02301c140b35956af3cd20cb8dfc64f34afb3e
[ "MIT" ]
null
null
null
import demistomock as demisto from CommonServerPython import * """ IMPORTS """ import json import urllib3 import dateparser import traceback from typing import Any, Dict, List, Union import logging from argus_api import session as argus_session from argus_api.api.currentuser.v1.user import get_current_user from ...
35.711274
117
0.65273
4,600
38,961
5.320652
0.088043
0.061777
0.044454
0.020592
0.636568
0.589663
0.534178
0.506149
0.465659
0.421982
0
0.002158
0.214856
38,961
1,090
118
35.744037
0.797941
0.009497
0
0.431306
0
0.001126
0.181596
0.033646
0
0
0
0
0
1
0.04955
false
0
0.021396
0
0.128378
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5da38e943cdd95f554ae0517d32417a9a5d31b05
699
py
Python
scripts/examples/tools/capturebat.py
fortinet/ips-bph-framework
145e14cced2181f388ade07d78b4f0e9452143dd
[ "Apache-2.0" ]
21
2019-10-24T04:59:52.000Z
2021-05-11T12:47:17.000Z
scripts/examples/tools/capturebat.py
fortinet/ips-bph-framework
145e14cced2181f388ade07d78b4f0e9452143dd
[ "Apache-2.0" ]
null
null
null
scripts/examples/tools/capturebat.py
fortinet/ips-bph-framework
145e14cced2181f388ade07d78b4f0e9452143dd
[ "Apache-2.0" ]
9
2019-10-26T16:56:08.000Z
2021-03-15T14:10:21.000Z
# Tool Imports from bph.tools.windows.capturebat import BphCaptureBat as CaptureBat # Core Imports from bph.core.server.template import BphTemplateServer as TemplateServer from bph.core.sample import BphSample as Sample from bph.core.sample import BphLabFile as LabFile from bph.core.session import BphSession as...
24.964286
73
0.786838
81
699
6.753086
0.419753
0.063985
0.080439
0.062157
0.084095
0
0
0
0
0
0
0.009836
0.127325
699
28
74
24.964286
0.886885
0.035765
0
0.157895
0
0
0.032558
0.032558
0
0
0
0
0
1
0
false
0
0.263158
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5da5c1523876b5ad6f15a38ad4bcfea7774fd3c9
3,083
py
Python
tests/mrp/test_mrp_auth.py
evanreichard/pyatv
d41bd749bbf8f8a9365e7fd36c1164543e334565
[ "MIT" ]
null
null
null
tests/mrp/test_mrp_auth.py
evanreichard/pyatv
d41bd749bbf8f8a9365e7fd36c1164543e334565
[ "MIT" ]
1
2020-06-13T15:14:47.000Z
2020-06-13T15:14:47.000Z
tests/mrp/test_mrp_auth.py
evanreichard/pyatv
d41bd749bbf8f8a9365e7fd36c1164543e334565
[ "MIT" ]
null
null
null
"""Functional authentication tests with fake MRP Apple TV.""" import inspect from aiohttp.test_utils import AioHTTPTestCase, unittest_run_loop import pyatv from pyatv import exceptions from pyatv.const import Protocol from pyatv.conf import MrpService, AppleTV from pyatv.mrp.server_auth import PIN_CODE, CLIENT_IDENT...
32.114583
81
0.705157
376
3,083
5.632979
0.210106
0.108593
0.083097
0.056657
0.565156
0.526912
0.526912
0.485836
0.467894
0.444759
0
0.002848
0.202725
3,083
95
82
32.452632
0.858828
0.01784
0
0.477612
0
0
0.005625
0
0
0
0
0
0.268657
1
0.014925
false
0
0.119403
0
0.164179
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5da817172273224f419b42630ca0117dc06b1363
5,158
py
Python
curvpack/utils.py
AbhilashReddyM/curvpack
74351624ec9ec50ec4445c7be85a48a4eabb029a
[ "BSD-3-Clause" ]
8
2019-04-30T19:31:57.000Z
2022-02-25T14:50:56.000Z
curvpack/utils.py
AbhilashReddyM/curvpack
74351624ec9ec50ec4445c7be85a48a4eabb029a
[ "BSD-3-Clause" ]
1
2019-06-14T06:32:40.000Z
2019-06-14T18:26:01.000Z
curvpack/utils.py
AbhilashReddyM/curvpack
74351624ec9ec50ec4445c7be85a48a4eabb029a
[ "BSD-3-Clause" ]
3
2020-04-18T10:13:55.000Z
2022-02-02T03:53:04.000Z
import numpy as np # The first two functions are modified from MNE surface project. LIcense follows # This software is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative. # # Copyright (c) 2011-2019, authors of MNE-Python. All rights reserved. # # Redistribu...
44.852174
757
0.65917
773
5,158
4.371281
0.347995
0.032554
0.026635
0.018941
0.16129
0.114827
0.098846
0.098846
0.098846
0.098846
0
0.033782
0.208026
5,158
114
758
45.245614
0.79339
0.594029
0
0.068182
0
0
0
0
0
0
0
0
0
1
0.113636
false
0
0.022727
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5da84607f0ca3d7ead02486a100adef7e245823f
14,805
py
Python
tests/unit/core/streams/test_stream_zero.py
tethys-platform/tethys
c27daf5a832b05f9d771b04355001c331bc08766
[ "ECL-2.0", "Apache-2.0" ]
2
2020-05-20T19:03:14.000Z
2020-06-03T20:43:34.000Z
tests/unit/core/streams/test_stream_zero.py
tethys-platform/tethys
c27daf5a832b05f9d771b04355001c331bc08766
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tests/unit/core/streams/test_stream_zero.py
tethys-platform/tethys
c27daf5a832b05f9d771b04355001c331bc08766
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright 2020 Konstruktor, 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 la...
30.779626
88
0.640662
1,710
14,805
5.277193
0.119883
0.120567
0.032137
0.066489
0.687722
0.644614
0.622008
0.618462
0.589428
0.578347
0
0.010725
0.269436
14,805
480
89
30.84375
0.823595
0.044377
0
0.578635
0
0
0.008709
0
0
0
0
0
0.240356
1
0.124629
false
0.005935
0.032641
0.014837
0.234421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5da9e91d7d69e5378260fe7c404a58e9aa312b9e
3,101
py
Python
cornflow/tests/unit/test_dags.py
pchtsp/corn
2811ad400f3f3681a159984eabf4fee1fc99b433
[ "MIT" ]
5
2021-11-24T02:43:22.000Z
2021-12-10T09:28:32.000Z
cornflow/tests/unit/test_dags.py
pchtsp/corn
2811ad400f3f3681a159984eabf4fee1fc99b433
[ "MIT" ]
125
2021-09-01T12:06:48.000Z
2022-03-30T11:32:57.000Z
cornflow/tests/unit/test_dags.py
pchtsp/corn
2811ad400f3f3681a159984eabf4fee1fc99b433
[ "MIT" ]
1
2022-03-23T17:57:59.000Z
2022-03-23T17:57:59.000Z
""" Unit test for the DAG endpoints """ # Import from libraries import json # Import from internal modules from cornflow.shared.const import EXEC_STATE_CORRECT, EXEC_STATE_MANUAL from cornflow.tests.const import ( DAG_URL, EXECUTION_URL_NORUN, CASE_PATH, INSTANCE_URL, ) from cornflow.tests.unit.test_e...
27.936937
80
0.563689
330
3,101
5.030303
0.206061
0.053012
0.031325
0.038554
0.573494
0.526506
0.507229
0.481928
0.450602
0.450602
0
0
0.335698
3,101
110
81
28.190909
0.805825
0.026766
0
0.580645
0
0
0.04553
0
0
0
0
0
0.021505
1
0.043011
false
0
0.043011
0
0.11828
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5daa62bfbc58bf60d68725712bf46468f85577d3
10,673
py
Python
nets/resnet.py
xwshi/faster-rcnn-keras
bfd99e3d0e786ada75a212c007111364b2c86312
[ "MIT" ]
null
null
null
nets/resnet.py
xwshi/faster-rcnn-keras
bfd99e3d0e786ada75a212c007111364b2c86312
[ "MIT" ]
null
null
null
nets/resnet.py
xwshi/faster-rcnn-keras
bfd99e3d0e786ada75a212c007111364b2c86312
[ "MIT" ]
null
null
null
#-------------------------------------------------------------# # ResNet50的网络部分 #-------------------------------------------------------------# import keras.backend as K from keras import backend as K from keras import initializers, layers, regularizers from keras.engine import InputSpec, Layer from keras.init...
45.417021
148
0.599082
1,345
10,673
4.554647
0.117472
0.047013
0.03526
0.036565
0.629122
0.597127
0.552726
0.531832
0.501632
0.480901
0
0.058831
0.246697
10,673
234
149
45.611111
0.703109
0.052375
0
0.317365
0
0
0.042596
0
0
0
0
0
0.005988
1
0.05988
false
0
0.035928
0
0.149701
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5daa836b2adc23c7d1169d134b820b47732f82c0
1,309
py
Python
app/api/deps.py
congdh/fastapi-realworld
42c8630aedf594b69bc96a327b04dfe636a785fe
[ "MIT" ]
null
null
null
app/api/deps.py
congdh/fastapi-realworld
42c8630aedf594b69bc96a327b04dfe636a785fe
[ "MIT" ]
null
null
null
app/api/deps.py
congdh/fastapi-realworld
42c8630aedf594b69bc96a327b04dfe636a785fe
[ "MIT" ]
null
null
null
from typing import Generator from fastapi import Depends, HTTPException from fastapi.security import APIKeyHeader from sqlalchemy.orm import Session from starlette import status from app import crud, models from app.core import security from app.db.session import SessionLocal JWT_TOKEN_PREFIX = "Token" # noqa: S105...
26.714286
81
0.694423
163
1,309
5.380368
0.368098
0.050171
0.082098
0.095781
0.191562
0.191562
0.191562
0.191562
0.191562
0.191562
0
0.011823
0.224599
1,309
48
82
27.270833
0.852217
0.007639
0
0.205128
0
0
0.071704
0
0
0
0
0
0
1
0.051282
false
0
0.205128
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5daaea4f5cbe880e71d3bbf0f6ec12e332c717ab
2,343
py
Python
src/raiden_libs/contract_info.py
netcriptus/raiden-services
3955d91852c616f6ba0a3a979757edbd852b2c6d
[ "MIT" ]
13
2019-02-07T23:23:33.000Z
2021-07-03T16:00:53.000Z
src/raiden_libs/contract_info.py
netcriptus/raiden-services
3955d91852c616f6ba0a3a979757edbd852b2c6d
[ "MIT" ]
1,095
2019-01-21T09:30:57.000Z
2022-03-25T05:13:30.000Z
src/raiden_libs/contract_info.py
netcriptus/raiden-services
3955d91852c616f6ba0a3a979757edbd852b2c6d
[ "MIT" ]
18
2019-01-21T09:17:19.000Z
2022-02-23T15:53:17.000Z
import sys from typing import Dict, List, Tuple import structlog from eth_utils import to_canonical_address from raiden.utils.typing import Address, BlockNumber, ChainID, Optional from raiden_contracts.contract_manager import ( ContractDevEnvironment, ContractManager, contracts_precompiled_path, get_c...
33.956522
96
0.714042
278
2,343
5.830935
0.356115
0.037014
0.037014
0.046268
0.037014
0
0
0
0
0
0
0.001651
0.224499
2,343
68
97
34.455882
0.890479
0.298335
0
0
0
0
0.058125
0
0
0
0
0
0
1
0.022222
false
0
0.133333
0
0.177778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dab624f1bba960c93bdbcfc0dd2115a637b7aae
8,749
py
Python
meta_dataset/models/functional_classifiers.py
letyrodridc/meta-dataset
d868ea1c767cce46fa6723f6f77c29552754fcc9
[ "Apache-2.0" ]
null
null
null
meta_dataset/models/functional_classifiers.py
letyrodridc/meta-dataset
d868ea1c767cce46fa6723f6f77c29552754fcc9
[ "Apache-2.0" ]
null
null
null
meta_dataset/models/functional_classifiers.py
letyrodridc/meta-dataset
d868ea1c767cce46fa6723f6f77c29552754fcc9
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2022 The Meta-Dataset 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 ...
41.861244
80
0.686821
1,215
8,749
4.748971
0.225514
0.072097
0.049567
0.018024
0.429983
0.387695
0.361005
0.361005
0.279029
0.279029
0
0.007115
0.244942
8,749
208
81
42.0625
0.866334
0.481426
0
0.290323
0
0
0.029224
0.013014
0
0
0
0
0.010753
1
0.043011
false
0.043011
0.064516
0
0.150538
0.010753
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dacac5c524e8494c9a0a1e27e5a00cc81bbbd7d
13,499
py
Python
app.py
Shrinidhi-C/Context-Based-Question-Answering
f2e0bbc03003aae65f4cabddecd5cd9fcdbfb333
[ "Apache-2.0" ]
16
2021-03-09T17:00:27.000Z
2022-01-07T15:49:46.000Z
app.py
Shrinidhi-C/Context-Based-Question-Answering
f2e0bbc03003aae65f4cabddecd5cd9fcdbfb333
[ "Apache-2.0" ]
1
2021-06-03T13:01:41.000Z
2021-06-03T13:01:41.000Z
app.py
Karthik-Bhaskar/Context-Based-Question-Answering
f2e0bbc03003aae65f4cabddecd5cd9fcdbfb333
[ "Apache-2.0" ]
7
2021-03-10T11:33:18.000Z
2022-01-07T17:48:17.000Z
import os import threading import shutil from datetime import timedelta, datetime from flask import Flask, render_template, request, session, jsonify, url_for, redirect from haystack.document_store.elasticsearch import * from haystack.preprocessor.utils import convert_files_to_dicts from haystack.preprocessor.cleaning ...
38.132768
120
0.588414
1,613
13,499
4.694358
0.201488
0.048336
0.047544
0.023772
0.384971
0.336371
0.288695
0.23785
0.222398
0.208531
0
0.005516
0.301652
13,499
353
121
38.240793
0.797709
0.142974
0
0.345196
0
0
0.114271
0.014739
0
0
0
0
0
1
0.039146
false
0
0.042705
0.003559
0.13879
0.024911
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dad62563785343452980a6c164a9cfda04650c2
7,486
py
Python
timevortex/utils/filestorage.py
timevortexproject/timevortex
2bc1a50b255524af8582e6624dee280d64d3c9f3
[ "MIT" ]
null
null
null
timevortex/utils/filestorage.py
timevortexproject/timevortex
2bc1a50b255524af8582e6624dee280d64d3c9f3
[ "MIT" ]
null
null
null
timevortex/utils/filestorage.py
timevortexproject/timevortex
2bc1a50b255524af8582e6624dee280d64d3c9f3
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf8 -*- # -*- Mode: Python; py-indent-offset: 4 -*- """File storage adapter for timevortex project""" import os from os import listdir, makedirs from os.path import isfile, join, exists from time import tzname from datetime import datetime import pytz import dateutil.parser from djan...
34.497696
119
0.612209
960
7,486
4.50625
0.183333
0.048544
0.038835
0.01387
0.37055
0.249884
0.237171
0.208507
0.16135
0.120203
0
0.006171
0.2856
7,486
216
120
34.657407
0.80273
0.134919
0
0.198582
0
0
0.031837
0.004457
0
0
0
0
0
1
0.113475
false
0.007092
0.078014
0
0.297872
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5daed49fa4c053c06f93d18e081f06b652a982e8
4,078
py
Python
main_tg.py
olegush/quiz-bot
ae370d42f32c42b290a507924a801c63901d5148
[ "MIT" ]
null
null
null
main_tg.py
olegush/quiz-bot
ae370d42f32c42b290a507924a801c63901d5148
[ "MIT" ]
null
null
null
main_tg.py
olegush/quiz-bot
ae370d42f32c42b290a507924a801c63901d5148
[ "MIT" ]
null
null
null
import os import logging import logging.config from functools import partial from dotenv import load_dotenv from telegram import Bot, ReplyKeyboardMarkup, ReplyKeyboardRemove from telegram.ext import (Updater, CommandHandler, MessageHandler, RegexHandler, ConversationHandler, Filters) from red...
31.612403
102
0.632908
439
4,078
5.676538
0.302961
0.0313
0.0313
0.01565
0.154896
0.104735
0.072231
0.072231
0.072231
0
0
0.000984
0.252084
4,078
128
103
31.859375
0.816066
0
0
0.121495
0
0
0.122609
0
0
0
0
0
0
1
0.074766
false
0.009346
0.093458
0
0.242991
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5daf4ad3d9f3b39d8355c443ca683a3b5708554c
3,082
py
Python
tf_fourier_features/fourier_features_mlp.py
titu1994/tf_fourier_features
3aead078ae79a278b9975e21f44560a7f51e3f31
[ "MIT" ]
37
2020-06-20T21:39:30.000Z
2021-11-08T09:31:22.000Z
tf_fourier_features/fourier_features_mlp.py
titu1994/tf_fourier_features
3aead078ae79a278b9975e21f44560a7f51e3f31
[ "MIT" ]
null
null
null
tf_fourier_features/fourier_features_mlp.py
titu1994/tf_fourier_features
3aead078ae79a278b9975e21f44560a7f51e3f31
[ "MIT" ]
5
2020-06-22T10:24:11.000Z
2021-09-10T10:40:08.000Z
import tensorflow as tf from typing import Optional from tf_fourier_features import fourier_features class FourierFeatureMLP(tf.keras.Model): def __init__(self, units: int, final_units: int, gaussian_projection: Optional[int], activation: str = 'relu', final_activation: str = "l...
48.15625
156
0.633679
357
3,082
5.35014
0.369748
0.025654
0.037696
0.027225
0.273298
0.257592
0.257592
0.227225
0.176963
0.176963
0
0.005553
0.298832
3,082
63
157
48.920635
0.878297
0.476963
0
0
0
0
0.021023
0
0
0
0
0
0
1
0.071429
false
0
0.107143
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5db3e4eb84b3d9fc5559048f6229e0e36618f2f4
1,545
py
Python
parsing_documents.py
leylafenix/belief-network-irs
9094e4cde738bd93ed1747dc958b5acb0e0fa684
[ "MIT" ]
null
null
null
parsing_documents.py
leylafenix/belief-network-irs
9094e4cde738bd93ed1747dc958b5acb0e0fa684
[ "MIT" ]
null
null
null
parsing_documents.py
leylafenix/belief-network-irs
9094e4cde738bd93ed1747dc958b5acb0e0fa684
[ "MIT" ]
null
null
null
__author__ = 'Jose Gabriel' import os import pprint def read_block(f): s = "" line = f.readline() while line and not line.startswith("."): s += line line = f.readline() return s, line def read_doc(f): doc = {"title": "", "authors": "", "content": ""} line ...
26.186441
79
0.514563
193
1,545
3.943005
0.362694
0.082786
0.065703
0.073587
0.241787
0.194481
0.194481
0.110381
0.110381
0
0
0.002841
0.316505
1,545
58
80
26.637931
0.717803
0.073139
0
0.093023
0
0
0.087591
0
0
0
0
0
0
1
0.093023
false
0.023256
0.046512
0
0.186047
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5db634e6fdac00dd4f3ce30f7fe7fbdaae184512
6,924
py
Python
recipes/libstudxml/all/conanfile.py
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
562
2019-09-04T12:23:43.000Z
2022-03-29T16:41:43.000Z
recipes/libstudxml/all/conanfile.py
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
9,799
2019-09-04T12:02:11.000Z
2022-03-31T23:55:45.000Z
recipes/libstudxml/all/conanfile.py
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
1,126
2019-09-04T11:57:46.000Z
2022-03-31T16:43:38.000Z
from conans import ConanFile, AutoToolsBuildEnvironment, MSBuild, tools from conans.errors import ConanInvalidConfiguration import os import shutil required_conan_version = ">=1.33.0" class LibStudXmlConan(ConanFile): name = "libstudxml" description = "A streaming XML pull parser and streaming XML serializer...
41.963636
124
0.633449
827
6,924
5.112455
0.252721
0.092242
0.103359
0.062441
0.374882
0.315279
0.255203
0.215705
0.158467
0.036897
0
0.00602
0.232236
6,924
164
125
42.219512
0.789315
0.039139
0
0.147287
0
0
0.175515
0.020003
0
0
0
0
0
1
0.124031
false
0
0.031008
0.031008
0.286822
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5db692792275a8f7aff10d7781c4cef5d88900db
6,263
py
Python
dataset/WebCariA.py
KeleiHe/DAAN
04e153c55f8d63e824adbee828e524573afe6a1c
[ "Apache-2.0" ]
9
2020-07-24T03:32:17.000Z
2022-03-25T12:01:24.000Z
dataset/WebCariA.py
KeleiHe/DAAN
04e153c55f8d63e824adbee828e524573afe6a1c
[ "Apache-2.0" ]
1
2020-10-14T17:22:43.000Z
2020-10-14T17:22:43.000Z
dataset/WebCariA.py
KeleiHe/DAAN
04e153c55f8d63e824adbee828e524573afe6a1c
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Wen Ji & Kelei He (hkl@nju.edu.cn) # 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 requ...
38.900621
113
0.440683
510
6,263
5.341176
0.390196
0.060573
0.020191
0.030837
0.20558
0.20558
0.108297
0.080396
0
0
0
0.005055
0.463037
6,263
160
114
39.14375
0.804936
0.095481
0
0.181818
0
0
0.166302
0.004559
0
0
0
0
0
1
0.022727
false
0
0.007576
0
0.05303
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5db7554e0b55f70192702d11bfb40d5a1d8f2459
4,081
py
Python
moonworm/crawler/state/json_state.py
zomglings/moonworm
930e60199629b6a04adecc7f9ff9450e51bb4640
[ "Apache-2.0" ]
10
2021-12-08T22:35:58.000Z
2022-03-30T07:38:12.000Z
moonworm/crawler/state/json_state.py
zomglings/moonworm
930e60199629b6a04adecc7f9ff9450e51bb4640
[ "Apache-2.0" ]
29
2021-11-04T12:30:31.000Z
2022-03-03T21:29:08.000Z
moonworm/crawler/state/json_state.py
zomglings/moonworm
930e60199629b6a04adecc7f9ff9450e51bb4640
[ "Apache-2.0" ]
5
2021-11-06T02:25:09.000Z
2022-02-15T03:09:26.000Z
import datetime import json import time from typing import Optional from web3.datastructures import AttributeDict from .event_scanner_state import EventScannerState class JSONifiedState(EventScannerState): """Store the state of scanned blocks and all events. All state is an in-memory dict. Simple load/...
35.486957
109
0.626072
524
4,081
4.778626
0.341603
0.050319
0.041933
0.039936
0.150559
0.076677
0
0
0
0
0
0.003771
0.285224
4,081
114
110
35.798246
0.854645
0.346729
0
0
0
0
0.116171
0.026631
0
0
0
0
0
1
0.145161
false
0.016129
0.096774
0
0.290323
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5db81c5e24b93ba19d16beaadd48634b1c9fd58a
4,934
py
Python
npbench/benchmarks/nbody/nbody_dace.py
frahlg/npbench
1bc4d9e2e22f3ca67fa2bc7f40e2e751a9c8dd26
[ "BSD-3-Clause" ]
27
2021-05-10T11:49:13.000Z
2022-03-22T18:07:19.000Z
npbench/benchmarks/nbody/nbody_dace.py
frahlg/npbench
1bc4d9e2e22f3ca67fa2bc7f40e2e751a9c8dd26
[ "BSD-3-Clause" ]
3
2021-12-01T13:03:17.000Z
2022-03-17T10:53:00.000Z
npbench/benchmarks/nbody/nbody_dace.py
frahlg/npbench
1bc4d9e2e22f3ca67fa2bc7f40e2e751a9c8dd26
[ "BSD-3-Clause" ]
7
2021-06-24T03:40:25.000Z
2022-01-26T09:04:33.000Z
# Adapted from https://github.com/pmocz/nbody-python/blob/master/nbody.py # TODO: Add GPL-3.0 License import numpy as np import dace as dc """ Create Your Own N-body Simulation (With Python) Philip Mocz (2020) Princeton Univeristy, @PMocz Simulate orbits of stars interacting due to gravity Code calculates pairwise for...
29.195266
85
0.561005
843
4,934
3.252669
0.189798
0.059081
0.043764
0.02407
0.507659
0.473377
0.408826
0.329322
0.317651
0.317651
0
0.043676
0.285367
4,934
168
86
29.369048
0.733976
0.452574
0
0.301587
0
0
0.001276
0
0
0
0
0.005952
0
1
0.047619
false
0
0.031746
0
0.126984
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5db8b350508cfde3359da0d0ee1d9036c8e97549
817
py
Python
application/__init__.py
Healthy-Kokoro/Hiroshima
87c6c533f97f55ceb33553a2409076bcd21a36d2
[ "MIT" ]
null
null
null
application/__init__.py
Healthy-Kokoro/Hiroshima
87c6c533f97f55ceb33553a2409076bcd21a36d2
[ "MIT" ]
null
null
null
application/__init__.py
Healthy-Kokoro/Hiroshima
87c6c533f97f55ceb33553a2409076bcd21a36d2
[ "MIT" ]
null
null
null
# Third-party imports from flask import Flask from flask_sqlalchemy import SQLAlchemy configurations = { 'development': 'configurations.DevelopmentConfiguration', 'testing': 'configurations.TestingConfiguration', 'staging': 'configurations.StagingConfiguration', 'production': 'configurations.ProductionConfiguratio...
30.259259
64
0.831089
78
817
8.538462
0.474359
0.027027
0.063063
0.093093
0.171171
0.171171
0.171171
0
0
0
0
0
0.082007
817
26
65
31.423077
0.888
0.023256
0
0.105263
0
0
0.248744
0.184673
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.315789
0.210526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5db8ca5f5d703991674fff33fa5c1ac47210c351
692
py
Python
lesson5/exceptions_except.py
drednout/letspython
9747442d63873b5f71e2c15ed5528bd98ad5ac31
[ "BSD-2-Clause" ]
1
2015-11-26T15:53:58.000Z
2015-11-26T15:53:58.000Z
lesson5/exceptions_except.py
drednout/letspython
9747442d63873b5f71e2c15ed5528bd98ad5ac31
[ "BSD-2-Clause" ]
null
null
null
lesson5/exceptions_except.py
drednout/letspython
9747442d63873b5f71e2c15ed5528bd98ad5ac31
[ "BSD-2-Clause" ]
null
null
null
def take_beer(fridge, number=1): if "beer" not in fridge: raise Exception("No beer at all:(") if number > fridge["beer"]: raise Exception("Not enough beer:(") fridge["beer"] -= number if __name__ == "__main__": fridge = { "beer": 2, "milk": 1, "meat": 3, }...
22.322581
54
0.559249
93
692
4.032258
0.44086
0.133333
0.149333
0.085333
0.144
0.144
0.144
0
0
0
0
0.018182
0.284682
692
30
55
23.066667
0.739394
0
0
0
0
0
0.323188
0
0
0
0
0
0
1
0.043478
false
0
0
0
0.043478
0.26087
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5db9f201356818f114d992f32b2d46869da4d326
23,877
py
Python
synapse/storage/data_stores/state/store.py
juhovan/synapse
57feeab364325374b14ff67ac97c288983cc5cde
[ "Apache-2.0" ]
1
2020-07-12T00:18:52.000Z
2020-07-12T00:18:52.000Z
synapse/storage/data_stores/state/store.py
juhovan/synapse
57feeab364325374b14ff67ac97c288983cc5cde
[ "Apache-2.0" ]
null
null
null
synapse/storage/data_stores/state/store.py
juhovan/synapse
57feeab364325374b14ff67ac97c288983cc5cde
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2014-2016 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
37.307813
88
0.590568
2,885
23,877
4.638128
0.161872
0.06726
0.019431
0.026979
0.3496
0.298408
0.249533
0.224273
0.184441
0.161572
0
0.003186
0.342631
23,877
639
89
37.366197
0.849325
0.320895
0
0.354571
0
0
0.087112
0.008445
0
0
0
0.001565
0
1
0.044321
false
0
0.033241
0.00277
0.127424
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dba8f581c63a89cafcdb31c2be81f0648adb964
1,422
py
Python
mnist/convolutional.py
Colins-Ford/mnist-webapp
20e9b6f5520d5bda957d9501347f787450555db8
[ "Apache-2.0" ]
null
null
null
mnist/convolutional.py
Colins-Ford/mnist-webapp
20e9b6f5520d5bda957d9501347f787450555db8
[ "Apache-2.0" ]
null
null
null
mnist/convolutional.py
Colins-Ford/mnist-webapp
20e9b6f5520d5bda957d9501347f787450555db8
[ "Apache-2.0" ]
null
null
null
import os from mnist import model import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data data = input_data.read_data_sets("data/dataset/", one_hot=True) # model with tf.variable_scope("convolutional"): x = tf.placeholder(tf.float32, [None, 784]) keep_prob = tf.placeholder(tf.float...
37.421053
100
0.69339
218
1,422
4.33945
0.417431
0.042283
0.047569
0.069767
0.118393
0.063425
0.063425
0.063425
0.063425
0.063425
0
0.031746
0.158228
1,422
37
101
38.432432
0.758563
0.007736
0
0
0
0
0.058949
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dbd482917f27cdd677d99ffd355bb76525f3a13
4,110
py
Python
tools/test_net_batch.py
abhirevan/pedestrian-detector
f4fa4cd59315ea515ace3c529b716ff3173e2205
[ "BSD-2-Clause" ]
null
null
null
tools/test_net_batch.py
abhirevan/pedestrian-detector
f4fa4cd59315ea515ace3c529b716ff3173e2205
[ "BSD-2-Clause" ]
null
null
null
tools/test_net_batch.py
abhirevan/pedestrian-detector
f4fa4cd59315ea515ace3c529b716ff3173e2205
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- """Test a Fast R-CNN network on an image databas...
33.145161
119
0.615572
540
4,110
4.496296
0.309259
0.022652
0.049012
0.043245
0.219522
0.124382
0.107908
0.078254
0.078254
0.039539
0
0.008021
0.241606
4,110
123
120
33.414634
0.770934
0.141119
0
0.049383
0
0
0.103803
0.011438
0
0
0
0
0
1
0.049383
false
0
0.111111
0
0.197531
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dbebf189d084ec54743890289ba79eb7c5bba5c
5,831
py
Python
yolox/data/datasets/mot.py
ldelzott/ByteTrack
5f8ab49a913a551d041918607a0bd2473602ad39
[ "MIT" ]
null
null
null
yolox/data/datasets/mot.py
ldelzott/ByteTrack
5f8ab49a913a551d041918607a0bd2473602ad39
[ "MIT" ]
null
null
null
yolox/data/datasets/mot.py
ldelzott/ByteTrack
5f8ab49a913a551d041918607a0bd2473602ad39
[ "MIT" ]
null
null
null
import cv2 import numpy as np from pycocotools.coco import COCO import os from ..dataloading import get_yolox_datadir from .datasets_wrapper import Dataset class MOTDataset(Dataset): """ COCO dataset class. """ def __init__( # This function is called in the exps yolox_x_mot17_half.py in this way: ...
40.776224
165
0.510547
703
5,831
4.056899
0.297297
0.02209
0.014025
0.01683
0.130435
0.117812
0.088359
0.088359
0.088359
0.042777
0
0.025099
0.391871
5,831
142
166
41.06338
0.779188
0.300463
0
0
0
0
0.033359
0
0
0
0
0
0.012821
1
0.089744
false
0
0.076923
0.038462
0.25641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dbf449975065338e5216b26f0b50de7db0d2cd0
4,740
py
Python
src/poetry/console/commands/remove.py
pkoch/poetry
d22c5a7187d8b5a30196a7df58111b3c90be7d22
[ "MIT" ]
null
null
null
src/poetry/console/commands/remove.py
pkoch/poetry
d22c5a7187d8b5a30196a7df58111b3c90be7d22
[ "MIT" ]
null
null
null
src/poetry/console/commands/remove.py
pkoch/poetry
d22c5a7187d8b5a30196a7df58111b3c90be7d22
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Any from cleo.helpers import argument from cleo.helpers import option from tomlkit.toml_document import TOMLDocument try: from poetry.core.packages.dependency_group import MAIN_GROUP except ImportError: MAIN_GROUP = "default" from poetry.console.command...
34.347826
88
0.59789
503
4,740
5.473161
0.276342
0.075554
0.045768
0.041773
0.120959
0.033418
0.033418
0
0
0
0
0.0003
0.29789
4,740
137
89
34.59854
0.826923
0.019409
0
0.067308
0
0
0.177003
0.017873
0
0
0
0
0.009615
1
0.019231
false
0
0.076923
0
0.182692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dbff166d1570c685dadc7e901e806b3102dde0f
3,316
py
Python
orrinjelo/aoc2021/day_11.py
orrinjelo/AdventOfCode2021
6fce5c48ec3dc602b393824f592a5c6db2a8b66f
[ "MIT" ]
null
null
null
orrinjelo/aoc2021/day_11.py
orrinjelo/AdventOfCode2021
6fce5c48ec3dc602b393824f592a5c6db2a8b66f
[ "MIT" ]
null
null
null
orrinjelo/aoc2021/day_11.py
orrinjelo/AdventOfCode2021
6fce5c48ec3dc602b393824f592a5c6db2a8b66f
[ "MIT" ]
null
null
null
from orrinjelo.utils.decorators import timeit import numpy as np def parse(lines): return np.array([[int(c) for c in line.strip()] for line in lines]) visited = [] def flash(a, x, y): global visited if (x,y) in visited: return for dx in range(-1,2): for dy in range(-1,2): i...
22.557823
85
0.518697
425
3,316
4.011765
0.294118
0.056305
0.014076
0.025806
0.139003
0.08915
0.08915
0.08915
0.046921
0
0
0.084015
0.335947
3,316
147
86
22.557823
0.690282
0.065139
0
0.142857
0
0
0.046572
0
0
0
0
0
0.019048
1
0.07619
false
0
0.038095
0.009524
0.161905
0.019048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc0c299dbdb6b798fc1619ba108af859bcce78e
3,329
py
Python
services/train/single.py
paper2code/torch2vec-restful-service
6c4412d84d067268bf988b1f31cef716a2ed23a5
[ "MIT" ]
2
2020-09-13T18:08:52.000Z
2020-09-19T05:26:50.000Z
services/train/single.py
paper2code/torch2vec-restful-service
6c4412d84d067268bf988b1f31cef716a2ed23a5
[ "MIT" ]
null
null
null
services/train/single.py
paper2code/torch2vec-restful-service
6c4412d84d067268bf988b1f31cef716a2ed23a5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 26 19:15:34 2020 @author: deviantpadam """ import pandas as pd import numpy as np import concurrent.futures import os import tqdm from collections import Counter from torch2vec.data import DataPreparation from torch2vec.torch2vec import DM # train ...
36.988889
151
0.681586
484
3,329
4.568182
0.340909
0.028494
0.029851
0.043419
0.252827
0.206242
0.152872
0.115785
0.029851
0
0
0.023001
0.151096
3,329
89
152
37.404494
0.759377
0.097927
0
0.061538
0
0
0.065217
0.008027
0
0
0
0
0
1
0.061538
false
0
0.123077
0
0.246154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc0fa811b71f512df88503ac7e13855083e0792
8,399
py
Python
tests/sources/test_document_oereblex.py
geo-bl-ch/pyramid_oereb
767375a4adda4589e12c4257377fc30258cdfcb3
[ "BSD-2-Clause" ]
null
null
null
tests/sources/test_document_oereblex.py
geo-bl-ch/pyramid_oereb
767375a4adda4589e12c4257377fc30258cdfcb3
[ "BSD-2-Clause" ]
null
null
null
tests/sources/test_document_oereblex.py
geo-bl-ch/pyramid_oereb
767375a4adda4589e12c4257377fc30258cdfcb3
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import datetime import pytest import requests_mock from geolink_formatter.entity import Document, File from requests.auth import HTTPBasicAuth from pyramid_oereb.contrib.sources.document import OEREBlexSource from pyramid_oereb.lib.records.documents import DocumentRecord, LegalProvisionRecord...
37.328889
102
0.604239
933
8,399
5.340836
0.148982
0.045756
0.072446
0.083885
0.613486
0.564319
0.539233
0.486655
0.486655
0.415613
0
0.016502
0.24241
8,399
224
103
37.495536
0.76662
0.0025
0
0.452261
0
0.01005
0.196991
0.024117
0
0
0
0
0.18593
1
0.050251
false
0.015075
0.045226
0
0.095477
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc1f18fa3f023890a5249859cd11435ad90ffca
1,088
py
Python
trainNN/run_bichrom.py
yztxwd/Bichrom
3939b8e52816a02b34122feef27c8e0a06e31d8e
[ "MIT" ]
3
2021-02-09T14:07:48.000Z
2021-06-21T18:31:54.000Z
trainNN/run_bichrom.py
yztxwd/Bichrom
3939b8e52816a02b34122feef27c8e0a06e31d8e
[ "MIT" ]
5
2021-02-05T03:46:37.000Z
2022-03-16T16:34:41.000Z
trainNN/run_bichrom.py
yztxwd/Bichrom
3939b8e52816a02b34122feef27c8e0a06e31d8e
[ "MIT" ]
4
2021-01-09T19:59:51.000Z
2021-11-12T21:08:40.000Z
import argparse import yaml from subprocess import call from train import train_bichrom if __name__ == '__main__': # parsing parser = argparse.ArgumentParser(description='Train and Evaluate Bichrom') parser.add_argument('-training_schema_yaml', required=True, help='YAML file with pa...
38.857143
81
0.662684
142
1,088
4.901408
0.443662
0.051724
0.097701
0
0
0
0
0
0
0
0
0
0.232537
1,088
28
82
38.857143
0.833533
0.071691
0
0
0
0
0.177756
0.020854
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc26a359dc3c1de1c2351ad0bab013c4dbc10a0
3,687
py
Python
setup.py
Fronius-SED/rapidyaml
20d44ff0c43085d08cb17f37fd6b0b305938a3ea
[ "MIT" ]
null
null
null
setup.py
Fronius-SED/rapidyaml
20d44ff0c43085d08cb17f37fd6b0b305938a3ea
[ "MIT" ]
null
null
null
setup.py
Fronius-SED/rapidyaml
20d44ff0c43085d08cb17f37fd6b0b305938a3ea
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # SPDX-License-Identifier: MIT import os import shutil import sys from pathlib import Path from distutils import log from setuptools import setup from setuptools.command.sdist import sdist as SdistCommand from cmake_build_extension import BuildExtension, CMakeExtension ...
32.342105
81
0.641714
448
3,687
5.069196
0.401786
0.051519
0.055482
0.029062
0.044474
0.044474
0.030823
0
0
0
0
0.001804
0.24844
3,687
113
82
32.628319
0.817755
0.152427
0
0.048193
0
0
0.182111
0.026705
0
0
0
0
0.036145
1
0.012048
false
0
0.096386
0
0.120482
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc297d8b74fa875a21b1642232b22d90653124f
5,193
py
Python
litex_boards/targets/digilent_arty_z7.py
machdyne/litex-boards
2311db18f8c92f80f03226fa984e6110caf25b88
[ "BSD-2-Clause" ]
null
null
null
litex_boards/targets/digilent_arty_z7.py
machdyne/litex-boards
2311db18f8c92f80f03226fa984e6110caf25b88
[ "BSD-2-Clause" ]
null
null
null
litex_boards/targets/digilent_arty_z7.py
machdyne/litex-boards
2311db18f8c92f80f03226fa984e6110caf25b88
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # # This file is part of LiteX-Boards. # # Copyright (c) 2021 Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> # SPDX-License-Identifier: BSD-2-Clause import argparse import subprocess from migen import * from litex_boards.platforms import digilent_arty_z7 from litex.build import ...
38.753731
123
0.561333
577
5,193
4.830156
0.320624
0.025834
0.035881
0.019376
0.109078
0.076067
0.040904
0
0
0
0
0.023521
0.222222
5,193
133
124
39.045113
0.666502
0.182168
0
0.046512
0
0
0.115949
0
0
0
0
0
0.011628
1
0.034884
false
0
0.162791
0
0.22093
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc2ee5e1dddc721c798287488da3cf41eba8ae1
6,899
py
Python
goose/parsers.py
allmalaysianews/article-extractor
8d0ff3ed01258d0fad56fc22d2c1852e603096b4
[ "Apache-2.0" ]
null
null
null
goose/parsers.py
allmalaysianews/article-extractor
8d0ff3ed01258d0fad56fc22d2c1852e603096b4
[ "Apache-2.0" ]
null
null
null
goose/parsers.py
allmalaysianews/article-extractor
8d0ff3ed01258d0fad56fc22d2c1852e603096b4
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """\ This is a python port of "Goose" orignialy licensed to Gravity.com under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Python port was written by Xavier Grangier for Recrutae Gravity.co...
28.159184
84
0.584433
824
6,899
4.879854
0.256068
0.104452
0.024372
0.006963
0.203929
0.161154
0.150211
0.130316
0.130316
0.130316
0
0.003838
0.320191
6,899
244
85
28.27459
0.853518
0.159009
0
0.348315
0
0
0.029569
0.003804
0
0
0
0
0
1
0.168539
false
0
0.033708
0.050562
0.353933
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc3595f9215ec36727d03f139d3d859982ac98f
2,352
py
Python
src/infrastructure/database/postgres/sqlhandler.py
SoyBeansLab/daizu-online-judge-backend
873f81fdad2f216e28b83341a6d88b0e21078d6e
[ "MIT" ]
7
2019-05-14T08:40:35.000Z
2019-08-20T08:15:21.000Z
src/infrastructure/database/postgres/sqlhandler.py
SoyBeansLab/daizu-online-judge-backend
873f81fdad2f216e28b83341a6d88b0e21078d6e
[ "MIT" ]
76
2019-05-14T08:56:40.000Z
2020-10-18T16:25:33.000Z
src/infrastructure/database/postgres/sqlhandler.py
SoyBeansLab/daizu-online-judge-backend
873f81fdad2f216e28b83341a6d88b0e21078d6e
[ "MIT" ]
3
2019-12-12T01:44:31.000Z
2020-11-22T03:24:40.000Z
from logging import getLogger import os from typing import List, Union import psycopg2 from interface.database.sqlhandler import Cursor as AbsCursor from interface.database.sqlhandler import Result as AbsResult from interface.database.sqlhandler import SqlHandler as AbsSqlHandler from exceptions.waf import SqlTransa...
29.4
75
0.627551
245
2,352
5.926531
0.293878
0.067493
0.035813
0.057851
0.310606
0.23416
0.23416
0.23416
0.23416
0.23416
0
0.004149
0.282738
2,352
79
76
29.772152
0.85655
0.021259
0
0.220339
0
0
0.061766
0.030883
0
0
0
0
0
1
0.135593
false
0.033898
0.135593
0.033898
0.423729
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc369e87fe800f32ded0cd2dc49e361f6723160
1,001
py
Python
virtualisation/wrapper/parser/xmlparser.py
CityPulse/CP_Resourcemanagement
aa670fa89d5e086a98ade3ccc152518be55abf2e
[ "MIT" ]
2
2016-11-03T14:57:45.000Z
2019-05-13T13:21:08.000Z
virtualisation/wrapper/parser/xmlparser.py
CityPulse/CP_Resourcemanagement
aa670fa89d5e086a98ade3ccc152518be55abf2e
[ "MIT" ]
null
null
null
virtualisation/wrapper/parser/xmlparser.py
CityPulse/CP_Resourcemanagement
aa670fa89d5e086a98ade3ccc152518be55abf2e
[ "MIT" ]
1
2020-07-23T11:27:15.000Z
2020-07-23T11:27:15.000Z
from virtualisation.clock.abstractclock import AbstractClock __author__ = 'Marten Fischer (m.fischer@hs-osnabrueck.de)' from virtualisation.wrapper.parser.abstractparser import AbstractParser from virtualisation.misc.jsonobject import JSONObject as JOb import datetime as dt class XMLParser(AbstractParser): """ ...
31.28125
91
0.682318
108
1,001
6.212963
0.601852
0.080477
0.080477
0
0
0
0
0
0
0
0
0.003953
0.241758
1,001
31
92
32.290323
0.880105
0.12987
0
0.157895
0
0
0.073857
0.032825
0
0
0
0
0
1
0.105263
false
0
0.210526
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc48b0f27c0b76d7893695e9d44f12dbfa7a376
19,404
py
Python
plaso/formatters/interface.py
jonathan-greig/plaso
b88a6e54c06a162295d09b016bddbfbfe7ca9070
[ "Apache-2.0" ]
1,253
2015-01-02T13:58:02.000Z
2022-03-31T08:43:39.000Z
plaso/formatters/interface.py
jonathan-greig/plaso
b88a6e54c06a162295d09b016bddbfbfe7ca9070
[ "Apache-2.0" ]
3,388
2015-01-02T11:17:58.000Z
2022-03-30T10:21:45.000Z
plaso/formatters/interface.py
jonathan-greig/plaso
b88a6e54c06a162295d09b016bddbfbfe7ca9070
[ "Apache-2.0" ]
376
2015-01-20T07:04:54.000Z
2022-03-04T23:53:00.000Z
# -*- coding: utf-8 -*- """This file contains the event formatters interface classes. The l2t_csv and other formats are dependent on a message field, referred to as description_long and description_short in l2t_csv. Plaso no longer stores these field explicitly. A formatter, with a format string definition, is used ...
33.112628
79
0.704958
2,393
19,404
5.479315
0.103218
0.113484
0.054912
0.032032
0.655201
0.598078
0.551175
0.533405
0.507474
0.47018
0
0.002283
0.209751
19,404
585
80
33.169231
0.852811
0.434034
0
0.399083
0
0.009174
0.052444
0.004065
0
0
0
0
0
1
0.12844
false
0
0.013761
0
0.243119
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc534af6da39531ee8b4ae7b4baf8841a23115e
1,608
py
Python
Annotated_video/test/Annotatedvideo_worm.py
Rukaume/LRCN
0d1928cc72544f59a4335fea7febc561d3dfc118
[ "MIT" ]
1
2020-11-07T05:57:32.000Z
2020-11-07T05:57:32.000Z
Annotated_video/test/Annotatedvideo_worm.py
Rukaume/LRCN
0d1928cc72544f59a4335fea7febc561d3dfc118
[ "MIT" ]
1
2020-11-07T00:30:22.000Z
2021-01-26T02:22:16.000Z
Annotated_video/test/Annotatedvideo_worm.py
Rukaume/LRCN
0d1928cc72544f59a4335fea7febc561d3dfc118
[ "MIT" ]
1
2020-11-07T05:57:52.000Z
2020-11-07T05:57:52.000Z
# -*- coding: utf-8 -*- """ Created on Fri Sep 4 22:27:11 2020 @author: Miyazaki """ imdir = "C:/Users/Miyazaki/Desktop/hayashi_lab/20200527_lethargus_analysis/renamed_pillar_chamber-N2/chamber3" resultdir= "C:/Users/Miyazaki/Desktop/hayashi_lab/20200527_lethargus_analysis/renamed_pillar_chamber-N2/result0918.csv" i...
36.545455
119
0.670398
246
1,608
4.308943
0.361789
0.059434
0.098113
0.049057
0.618868
0.567925
0.567925
0.567925
0.567925
0.401887
0
0.07808
0.131841
1,608
43
120
37.395349
0.681232
0.047886
0
0.25
0
0
0.22784
0.190414
0
0
0
0
0
1
0
false
0.03125
0.09375
0
0.09375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dc7dadf50bfb05ab92b9d5e96fde0df19295e15
4,996
py
Python
services/IAm.py
matteobjornsson/serverless-rock-paper-scissors
32b6f11644c59dc3bb159ee9e1118fed26a3983d
[ "MIT" ]
null
null
null
services/IAm.py
matteobjornsson/serverless-rock-paper-scissors
32b6f11644c59dc3bb159ee9e1118fed26a3983d
[ "MIT" ]
null
null
null
services/IAm.py
matteobjornsson/serverless-rock-paper-scissors
32b6f11644c59dc3bb159ee9e1118fed26a3983d
[ "MIT" ]
1
2021-04-20T23:55:37.000Z
2021-04-20T23:55:37.000Z
# # Created on Thu Apr 22 2021 # Matteo Bjornsson # import boto3 from botocore.exceptions import ClientError import logging logging.basicConfig(filename="rps.log", level=logging.INFO) iam_resource = boto3.resource("iam") sts_client = boto3.client("sts") def create_role( iam_role_name: str, assume_role_policy_js...
34.937063
116
0.664532
650
4,996
4.938462
0.255385
0.039252
0.030841
0.029907
0.268536
0.190031
0.142679
0.142679
0.142679
0.142679
0
0.002377
0.242194
4,996
142
117
35.183099
0.845483
0.273018
0
0.345238
0
0
0.155766
0.020941
0
0
0
0
0
1
0.059524
false
0
0.035714
0
0.178571
0.011905
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dcbed3a8321b9c6b63677f0f51fde0daacfda04
21,917
py
Python
audiomate/annotations/label_list.py
CostanzoPablo/audiomate
080402eadaa81f77f64c8680510a2de64bc18e74
[ "MIT" ]
133
2018-05-18T13:54:10.000Z
2022-02-15T02:14:20.000Z
audiomate/annotations/label_list.py
CostanzoPablo/audiomate
080402eadaa81f77f64c8680510a2de64bc18e74
[ "MIT" ]
68
2018-06-03T16:42:09.000Z
2021-01-29T10:58:30.000Z
audiomate/annotations/label_list.py
CostanzoPablo/audiomate
080402eadaa81f77f64c8680510a2de64bc18e74
[ "MIT" ]
37
2018-11-02T02:40:29.000Z
2021-11-30T07:44:50.000Z
import collections import copy import intervaltree from .label import Label class LabelList: """ Represents a list of labels which describe an utterance. An utterance can have multiple label-lists. Args: idx (str): An unique identifier for the label-list within a corpus f...
31.580692
115
0.505087
2,551
21,917
4.246962
0.128969
0.028429
0.022152
0.018276
0.272568
0.236847
0.221709
0.204264
0.169097
0.163744
0
0.027696
0.380572
21,917
693
116
31.626263
0.77033
0.50673
0
0.187817
0
0
0.02376
0
0
0
0
0
0
1
0.147208
false
0
0.020305
0.015228
0.284264
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dcd80b6fc81b5df240724a020510872ace9a270
791
py
Python
examples/single_run/ocaes_single_run.py
EnergyModels/OCAES
d848d9fa621767e036824110de87450d524b7687
[ "MIT" ]
null
null
null
examples/single_run/ocaes_single_run.py
EnergyModels/OCAES
d848d9fa621767e036824110de87450d524b7687
[ "MIT" ]
null
null
null
examples/single_run/ocaes_single_run.py
EnergyModels/OCAES
d848d9fa621767e036824110de87450d524b7687
[ "MIT" ]
null
null
null
import pandas as pd from OCAES import ocaes # ---------------------- # create and run model # ---------------------- data = pd.read_csv('timeseries_inputs_2019.csv') inputs = ocaes.get_default_inputs() # inputs['C_well'] = 5000.0 # inputs['X_well'] = 50.0 # inputs['L_well'] = 50.0 # inputs['X_cmp'] = 0 # inputs['X_exp...
23.969697
62
0.637168
111
791
4.324324
0.459459
0.058333
0.05
0.054167
0
0
0
0
0
0
0
0.024217
0.112516
791
32
63
24.71875
0.659544
0.333755
0
0
0
0
0.190291
0.093204
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dcda9f4b87b5d8b72500b6efa77e38a5d14806f
1,438
py
Python
tests/transformations/local_storage_test.py
am-ivanov/dace
c35f0b3cecc04a2c9fb668bd42a72045891e7a42
[ "BSD-3-Clause" ]
1
2021-09-13T06:36:18.000Z
2021-09-13T06:36:18.000Z
tests/transformations/local_storage_test.py
1C4nfaN/dace
4d65e0951c112160fe783766404a806b6043b521
[ "BSD-3-Clause" ]
null
null
null
tests/transformations/local_storage_test.py
1C4nfaN/dace
4d65e0951c112160fe783766404a806b6043b521
[ "BSD-3-Clause" ]
null
null
null
import unittest import dace import numpy as np from dace.transformation.dataflow import MapTiling, OutLocalStorage N = dace.symbol('N') @dace.program def arange(): out = np.ndarray([N], np.int32) for i in dace.map[0:N]: with dace.tasklet: o >> out[i] o = i return out cla...
30.595745
74
0.535466
158
1,438
4.727848
0.443038
0.046854
0.064257
0.084337
0.404284
0.369478
0.369478
0.310576
0.21419
0.21419
0
0.029947
0.349791
1,438
46
75
31.26087
0.768984
0.057719
0
0.277778
0
0
0.02145
0
0
0
0
0
0.083333
1
0.083333
false
0
0.111111
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0