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
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
5d99e63583440bf3da1b852644d47a0c0ec5d4a3
349
py
Python
src/project/api/rankings/urls.py
jSkrod/djangae-react-browser-games-app
28c5064f0a126021afb08b195839305aba6b35a2
[ "CC-BY-4.0", "MIT" ]
null
null
null
src/project/api/rankings/urls.py
jSkrod/djangae-react-browser-games-app
28c5064f0a126021afb08b195839305aba6b35a2
[ "CC-BY-4.0", "MIT" ]
null
null
null
src/project/api/rankings/urls.py
jSkrod/djangae-react-browser-games-app
28c5064f0a126021afb08b195839305aba6b35a2
[ "CC-BY-4.0", "MIT" ]
null
null
null
from django.conf.urls import url, include from project.api.rankings.api import AddRanking, AddScore, GetScoresUser, GetScoresGame urlpatterns = [ url(r'add_ranking$', AddRanking.as_view()), url(r'add_score$', AddScore.as_view()), url(r'get_scores_game$', GetScoresGame.as_view()), url(r'get_scores_user$...
38.777778
87
0.739255
48
349
5.166667
0.520833
0.064516
0.108871
0.120968
0.153226
0.153226
0
0
0
0
0
0
0.114613
349
9
88
38.777778
0.802589
0
0
0
0
0
0.154286
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
5d9a69d3f7389d018e9e0d4577b31c493762c8e2
4,895
py
Python
ThirdParty/protobuf-registry/python/protobufs/services/feature/actions/get_flags_pb2.py
getcircle/luno-ios
d18260abb537496d86cf607c170dd5e91c406f0f
[ "MIT" ]
null
null
null
ThirdParty/protobuf-registry/python/protobufs/services/feature/actions/get_flags_pb2.py
getcircle/luno-ios
d18260abb537496d86cf607c170dd5e91c406f0f
[ "MIT" ]
null
null
null
ThirdParty/protobuf-registry/python/protobufs/services/feature/actions/get_flags_pb2.py
getcircle/luno-ios
d18260abb537496d86cf607c170dd5e91c406f0f
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: protobufs/services/feature/actions/get_flags.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database...
32.852349
371
0.765475
582
4,895
6.139175
0.218213
0.075567
0.110831
0.125945
0.600616
0.52281
0.490624
0.438567
0.376434
0.293591
0
0.034761
0.112564
4,895
148
372
33.074324
0.787753
0.091931
0
0.54918
1
0.008197
0.23259
0.201713
0
0
0
0
0
1
0
false
0
0.040984
0
0.040984
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
5d9ff4014ab10b4aacbc6a629a0aa9ded18d3d4a
895
py
Python
setup.py
philippWassibauer/django-activity-stream
766a372aea4803ef5fe051a5de16dde5b5efcc72
[ "BSD-3-Clause" ]
4
2015-05-21T04:28:43.000Z
2019-04-27T15:12:32.000Z
setup.py
philippWassibauer/django-activity-stream
766a372aea4803ef5fe051a5de16dde5b5efcc72
[ "BSD-3-Clause" ]
null
null
null
setup.py
philippWassibauer/django-activity-stream
766a372aea4803ef5fe051a5de16dde5b5efcc72
[ "BSD-3-Clause" ]
2
2018-02-10T22:31:07.000Z
2021-02-14T07:43:35.000Z
from distutils.core import setup """ django-activity-stream instalation script """ setup( name = 'activity_stream', description = 'generic activity feed system for users', author = 'Philipp Wassibauer', author_email = 'phil@maptales.com', url='http://github.com/philippWassibauer/django-activity-st...
33.148148
93
0.660335
86
895
6.732558
0.662791
0.120898
0.103627
0.055268
0.183074
0.183074
0.183074
0.183074
0
0
0
0.001412
0.208939
895
26
94
34.423077
0.816384
0
0
0
0
0
0.604982
0
0
0
0
0
0
1
0
true
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5da0ff4d3e7dbb3fe7c21095720798fb7df7ef6b
742
py
Python
02/selenium.02.py
study-machine-learning/dongheon.shin
6103ef9c73b162603bc39a27e4ecca0f1ac35e57
[ "MIT" ]
2
2017-09-24T02:29:48.000Z
2017-10-05T11:15:22.000Z
02/selenium.02.py
study-machine-learning/dongheon.shin
6103ef9c73b162603bc39a27e4ecca0f1ac35e57
[ "MIT" ]
null
null
null
02/selenium.02.py
study-machine-learning/dongheon.shin
6103ef9c73b162603bc39a27e4ecca0f1ac35e57
[ "MIT" ]
null
null
null
from selenium import webdriver username = "henlix" password = "my_password" browser = webdriver.PhantomJS() browser.implicitly_wait(5) url_login = "https://nid.naver.com/nidlogin.login" browser.get(url_login) el = browser.find_element_by_id("id") el.clear() el.send_keys(username) el = browser.find_element_by_id("p...
22.484848
76
0.777628
109
742
5.055046
0.559633
0.079855
0.098004
0.108893
0.14882
0.087114
0
0
0
0
0
0.007396
0.088949
742
32
77
23.1875
0.807692
0.08221
0
0.1
0
0
0.21944
0.04271
0
0
0
0
0
1
0
false
0.1
0.05
0
0.05
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
1
0
0
0
0
0
1
5da246d54547ba7b297b610234129f3853586daf
343
py
Python
visualization/matplotlib/barwitherror.py
Licas/datascienceexamples
cbb1293dbae875cb3f166dbde00b2ab629a43ece
[ "MIT" ]
null
null
null
visualization/matplotlib/barwitherror.py
Licas/datascienceexamples
cbb1293dbae875cb3f166dbde00b2ab629a43ece
[ "MIT" ]
null
null
null
visualization/matplotlib/barwitherror.py
Licas/datascienceexamples
cbb1293dbae875cb3f166dbde00b2ab629a43ece
[ "MIT" ]
null
null
null
from matplotlib import pyplot as plt drinks = ["cappuccino", "latte", "chai", "americano", "mocha", "espresso"] ounces_of_milk = [6, 9, 4, 0, 9, 0] error = [0.6, 0.9, 0.4, 0, 0.9, 0] #Yerr -> element at i position represents +/- error[i] variance on bar[i] value plt.bar( range(len(drinks)),ounces_of_milk, yerr=error,...
38.111111
79
0.667638
60
343
3.75
0.6
0.026667
0.04
0
0
0
0
0
0
0
0
0.061224
0.142857
343
9
80
38.111111
0.704082
0.227405
0
0
0
0
0.154717
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
5da38d402c0b885654d90358b5f682eddb296488
672
py
Python
03.py
SnowWolf75/aoc-2020
1745a6cf46dac097869e5af99194b710e78bed28
[ "Unlicense" ]
null
null
null
03.py
SnowWolf75/aoc-2020
1745a6cf46dac097869e5af99194b710e78bed28
[ "Unlicense" ]
null
null
null
03.py
SnowWolf75/aoc-2020
1745a6cf46dac097869e5af99194b710e78bed28
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 import sys, os import unittest from lib.common import * filename = "inputs/2020_12_03_input.txt" class day03: def __init__(self): pass class day03part1(day03): def solve(self, args): pass class day03part2(day03): def solve(self, args): pass class exampl...
16.8
40
0.638393
80
672
5.2
0.45
0.067308
0.0625
0.081731
0.144231
0.144231
0.144231
0
0
0
0
0.082
0.255952
672
39
41
17.230769
0.75
0.081845
0
0.391304
0
0
0.044046
0.044046
0
0
0
0
0
1
0.304348
false
0.130435
0.130435
0
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
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
5da47e4e4410b3e8309f308ed349c9a9599c9032
2,225
py
Python
dymos/utils/test/test_hermite.py
kaushikponnapalli/dymos
3fba91d0fc2c0e8460717b1bec80774676287739
[ "Apache-2.0" ]
104
2018-09-08T16:52:27.000Z
2022-03-10T23:35:30.000Z
dymos/utils/test/test_hermite.py
kaushikponnapalli/dymos
3fba91d0fc2c0e8460717b1bec80774676287739
[ "Apache-2.0" ]
628
2018-06-27T20:32:59.000Z
2022-03-31T19:24:32.000Z
dymos/utils/test/test_hermite.py
kaushikponnapalli/dymos
3fba91d0fc2c0e8460717b1bec80774676287739
[ "Apache-2.0" ]
46
2018-06-27T20:54:07.000Z
2021-12-19T07:23:32.000Z
import unittest import numpy as np from numpy.testing import assert_almost_equal from dymos.utils.hermite import hermite_matrices class TestHermiteMatrices(unittest.TestCase): def test_quadratic(self): # Interpolate with values and rates provided at [-1, 1] in tau space tau_given = [-1.0, 1.0]...
31.785714
79
0.613483
357
2,225
3.613445
0.226891
0.054264
0.065891
0.034109
0.788372
0.755814
0.755814
0.755814
0.755814
0.722481
0
0.044264
0.279101
2,225
69
80
32.246377
0.759975
0.279551
0
0.363636
0
0
0.005041
0
0
0
0
0
0.151515
1
0.060606
false
0
0.121212
0
0.212121
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
5da53bca28edc1a3193db977a15e4f5897d0d909
2,569
py
Python
xl_auth/settings.py
libris/xl_auth
33d705c287d2ecd81920d37c3751d947cd52588c
[ "Apache-2.0" ]
7
2017-09-04T10:24:02.000Z
2019-12-02T13:12:30.000Z
xl_auth/settings.py
libris/xl_auth
33d705c287d2ecd81920d37c3751d947cd52588c
[ "Apache-2.0" ]
140
2017-09-06T07:02:18.000Z
2022-02-26T01:26:25.000Z
xl_auth/settings.py
libris/xl_auth
33d705c287d2ecd81920d37c3751d947cd52588c
[ "Apache-2.0" ]
2
2017-09-13T16:42:57.000Z
2018-02-15T15:32:40.000Z
# -*- coding: utf-8 -*- """Application configuration.""" from __future__ import absolute_import, division, print_function, unicode_literals import os from . import __author__, __name__, __version__ class Config(object): """Base configuration.""" SERVER_NAME = os.environ.get('SERVER_NAME', None) PREFER...
34.716216
82
0.696769
329
2,569
5.069909
0.465046
0.048561
0.064748
0.040767
0.136691
0.089928
0.089928
0.044365
0
0
0
0.010091
0.189957
2,569
73
83
35.191781
0.791446
0.161541
0
0.12
0
0
0.149127
0.050967
0
0
0
0.013699
0
1
0
false
0.02
0.06
0
0.98
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
1
0
0
0
0
0
0
0
1
0
0
2
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
5da69a858193b1623616f277374a6ced50dc8b34
352
py
Python
tests_app/tests/functional/key_constructor/bits/models.py
maryokhin/drf-extensions
8223db2bdddaf3cd99f951b2291210c5fd5b0e6f
[ "MIT" ]
1
2019-06-18T16:40:33.000Z
2019-06-18T16:40:33.000Z
tests_app/tests/functional/key_constructor/bits/models.py
maryokhin/drf-extensions
8223db2bdddaf3cd99f951b2291210c5fd5b0e6f
[ "MIT" ]
null
null
null
tests_app/tests/functional/key_constructor/bits/models.py
maryokhin/drf-extensions
8223db2bdddaf3cd99f951b2291210c5fd5b0e6f
[ "MIT" ]
1
2018-07-17T00:13:19.000Z
2018-07-17T00:13:19.000Z
# -*- coding: utf-8 -*- from django.db import models class KeyConstructorUserProperty(models.Model): name = models.CharField(max_length=100) class Meta: app_label = 'tests_app' class KeyConstructorUserModel(models.Model): property = models.ForeignKey(KeyConstructorUserProperty) class Meta:...
22
60
0.713068
38
352
6.473684
0.605263
0.089431
0.097561
0.138211
0.203252
0.203252
0
0
0
0
0
0.013986
0.1875
352
16
61
22
0.846154
0.059659
0
0.444444
0
0
0.054545
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.777778
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
1
0
0
1
5da7c35c6f555424a35c54ce0dd94e20ac56d5b8
4,116
py
Python
ngraph_onnx/onnx_importer/utils/numeric_limits.py
cliveseldon/ngraph-onnx
a2d20afdc7acd5064e4717612ad372d864d03d3d
[ "Apache-2.0" ]
null
null
null
ngraph_onnx/onnx_importer/utils/numeric_limits.py
cliveseldon/ngraph-onnx
a2d20afdc7acd5064e4717612ad372d864d03d3d
[ "Apache-2.0" ]
null
null
null
ngraph_onnx/onnx_importer/utils/numeric_limits.py
cliveseldon/ngraph-onnx
a2d20afdc7acd5064e4717612ad372d864d03d3d
[ "Apache-2.0" ]
null
null
null
# ****************************************************************************** # Copyright 2018 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.o...
34.588235
94
0.640671
508
4,116
5.074803
0.283465
0.086889
0.037238
0.027929
0.438712
0.418154
0.418154
0.389837
0.355702
0.297517
0
0.002854
0.233722
4,116
118
95
34.881356
0.814521
0.536929
0
0.355556
0
0
0.025935
0
0
0
0
0
0
1
0.222222
false
0
0.155556
0
0.644444
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
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
5da8c5b2385d6f73170c02cb6de27d3641c827fa
6,653
py
Python
amd64-linux/lib/ppc64_simple_components.py
qiyancos/Simics-3.0.31
9bd52d5abad023ee87a37306382a338abf7885f1
[ "BSD-4-Clause", "FSFAP" ]
1
2020-06-15T10:41:18.000Z
2020-06-15T10:41:18.000Z
amd64-linux/lib/ppc64_simple_components.py
qiyancos/Simics-3.0.31
9bd52d5abad023ee87a37306382a338abf7885f1
[ "BSD-4-Clause", "FSFAP" ]
null
null
null
amd64-linux/lib/ppc64_simple_components.py
qiyancos/Simics-3.0.31
9bd52d5abad023ee87a37306382a338abf7885f1
[ "BSD-4-Clause", "FSFAP" ]
3
2020-08-10T10:25:02.000Z
2021-09-12T01:12:09.000Z
## Copyright 2005-2007 Virtutech AB ## ## The contents herein are Source Code which are a subset of Licensed ## Software pursuant to the terms of the Virtutech Simics Software ## License Agreement (the "Agreement"), and are being distributed under ## the Agreement. You should have received a copy of the Agreeme...
37.587571
78
0.599579
932
6,653
4.124464
0.262876
0.081946
0.028616
0.024714
0.21488
0.159729
0.114724
0.086889
0.086889
0.086889
0
0.058848
0.284834
6,653
176
79
37.801136
0.749054
0.167143
0
0.165354
0
0
0.105857
0
0
0
0.039651
0
0
0
null
null
0
0.023622
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5da9e73a716a3d83801c56b0312fd8f4d87f351c
385
py
Python
Front-end (Django)/course/migrations/0002_subject_number_of_questions.py
shadow0403bsr/AutomatedGradingSoftware
5031d22683a05f937615b3b8997152c285a2f930
[ "MIT" ]
null
null
null
Front-end (Django)/course/migrations/0002_subject_number_of_questions.py
shadow0403bsr/AutomatedGradingSoftware
5031d22683a05f937615b3b8997152c285a2f930
[ "MIT" ]
null
null
null
Front-end (Django)/course/migrations/0002_subject_number_of_questions.py
shadow0403bsr/AutomatedGradingSoftware
5031d22683a05f937615b3b8997152c285a2f930
[ "MIT" ]
null
null
null
# Generated by Django 3.0.1 on 2020-02-15 06:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0001_initial'), ] operations = [ migrations.AddField( model_name='subject', name='Number_Of_Questions', ...
20.263158
49
0.597403
41
385
5.512195
0.804878
0
0
0
0
0
0
0
0
0
0
0.072993
0.288312
385
18
50
21.388889
0.751825
0.116883
0
0
1
0
0.130178
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
5db0d4e1070be8121a1c33bca072f550967ebe82
6,969
py
Python
eek/spider.py
fusionbox/eek
8e962b7ad80c594a3498190fead016db826771e0
[ "BSD-2-Clause-FreeBSD" ]
5
2015-05-11T18:13:51.000Z
2021-07-17T04:53:27.000Z
eek/spider.py
fusionbox/eek
8e962b7ad80c594a3498190fead016db826771e0
[ "BSD-2-Clause-FreeBSD" ]
1
2015-03-06T20:32:14.000Z
2015-03-06T20:32:14.000Z
eek/spider.py
fusionbox/eek
8e962b7ad80c594a3498190fead016db826771e0
[ "BSD-2-Clause-FreeBSD" ]
2
2015-07-15T12:41:32.000Z
2015-10-12T21:40:14.000Z
import urlparse import csv import sys import re import collections import time import requests from eek import robotparser # this project's version from bs4 import BeautifulSoup try: import lxml except ImportError: HTML_PARSER = None else: HTML_PARSER = 'lxml' encoding_re = re.compile("charset\s*=\s*(\...
29.529661
99
0.605252
791
6,969
5.208597
0.25158
0.034709
0.01335
0.02233
0.215534
0.203155
0.129126
0.081553
0.081553
0.081553
0
0.004951
0.275506
6,969
235
100
29.655319
0.811052
0.004448
0
0.251397
0
0
0.056938
0.003889
0
0
0
0
0
0
null
null
0.039106
0.061453
null
null
0.022346
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5db204f5af9206eceaf400a510a5e3d05316e861
2,647
py
Python
observations/r/zea_mays.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/r/zea_mays.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/r/zea_mays.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def zea_mays(path): """Darwin's Heights of Cross- and Self-fertilized Zea...
32.679012
74
0.705327
394
2,647
4.65736
0.532995
0.015259
0.026158
0.025068
0.055586
0
0
0
0
0
0
0.015934
0.217605
2,647
80
75
33.0875
0.870111
0.671326
0
0
0
0
0.101394
0
0
0
0
0
0
1
0.045455
false
0
0.409091
0
0.5
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
1
0
0
0
0
1
5db3dae6928f712e933165c643051e536448b1fb
359
py
Python
ois_api_client/v3_0/dto/Lines.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
7
2020-10-22T08:15:29.000Z
2022-01-27T07:59:39.000Z
ois_api_client/v3_0/dto/Lines.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
null
null
null
ois_api_client/v3_0/dto/Lines.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
null
null
null
from typing import List from dataclasses import dataclass from .Line import Line @dataclass class Lines: """Product / service items :param merged_item_indicator: Indicates whether the data exchange contains merged line data due to size reduction :param line: Product / service item """ merged_ite...
22.4375
117
0.743733
47
359
5.595745
0.574468
0.106464
0.144487
0
0
0
0
0
0
0
0
0
0.203343
359
15
118
23.933333
0.91958
0.48468
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
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
5db477aeb7079f4d5d6c834082c575659d075877
161
py
Python
groups/admin.py
caktus/rapidsms-groups
eda6f30cdc60cf57833f1d37ba08e59454da8987
[ "BSD-3-Clause" ]
1
2016-06-19T07:34:19.000Z
2016-06-19T07:34:19.000Z
groups/admin.py
caktus/rapidsms-groups
eda6f30cdc60cf57833f1d37ba08e59454da8987
[ "BSD-3-Clause" ]
null
null
null
groups/admin.py
caktus/rapidsms-groups
eda6f30cdc60cf57833f1d37ba08e59454da8987
[ "BSD-3-Clause" ]
1
2016-08-31T05:02:03.000Z
2016-08-31T05:02:03.000Z
#!/usr/bin/env python # vim: ai ts=4 sts=4 et sw=4 encoding=utf-8 from django.contrib import admin from groups.models import Group admin.site.register(Group)
17.888889
43
0.751553
30
161
4.033333
0.8
0
0
0
0
0
0
0
0
0
0
0.028777
0.136646
161
8
44
20.125
0.841727
0.385093
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
5db48c51cdf7033a6dcea32b1d26408dd6d2dbc0
1,891
py
Python
avod/datasets/kitti/kitti_aug_test.py
Ascend-Huawei/AVOD
ea62372517bbfa9d4020bc5ab2739ee182c63c56
[ "BSD-2-Clause" ]
null
null
null
avod/datasets/kitti/kitti_aug_test.py
Ascend-Huawei/AVOD
ea62372517bbfa9d4020bc5ab2739ee182c63c56
[ "BSD-2-Clause" ]
null
null
null
avod/datasets/kitti/kitti_aug_test.py
Ascend-Huawei/AVOD
ea62372517bbfa9d4020bc5ab2739ee182c63c56
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
33.767857
78
0.670016
285
1,891
4.364912
0.368421
0.096463
0.041801
0.051447
0.728296
0.728296
0.728296
0.728296
0.728296
0.715434
0
0.035952
0.205711
1,891
55
79
34.381818
0.792277
0.647277
0
0.125
0
0
0
0
0
0
0
0
0.0625
1
0.0625
false
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
5db5a1d6975c3995d47712215ed2acd01be9b8ad
208
py
Python
application/model/_base.py
keysona/blog
783e0bdbed1e4d8ec9857ee609b39c9dfb958670
[ "MIT" ]
null
null
null
application/model/_base.py
keysona/blog
783e0bdbed1e4d8ec9857ee609b39c9dfb958670
[ "MIT" ]
null
null
null
application/model/_base.py
keysona/blog
783e0bdbed1e4d8ec9857ee609b39c9dfb958670
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy, Model # class BaseModel(Model): # def save(self): # db.session.add(self) # db.session.commit(self) # def delete(self): # db.session. db = SQLAlchemy()
16
46
0.673077
27
208
5.148148
0.555556
0.129496
0.280576
0
0
0
0
0
0
0
0
0
0.1875
208
12
47
17.333333
0.822485
0.605769
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5db6309005811059a99432092acd5ed62236c399
23,282
py
Python
kvmagent/kvmagent/plugins/prometheus.py
qianfei11/zstack-utility
e791bc6b6ae3a74e202f6fce84bde498c715aee8
[ "Apache-2.0" ]
null
null
null
kvmagent/kvmagent/plugins/prometheus.py
qianfei11/zstack-utility
e791bc6b6ae3a74e202f6fce84bde498c715aee8
[ "Apache-2.0" ]
null
null
null
kvmagent/kvmagent/plugins/prometheus.py
qianfei11/zstack-utility
e791bc6b6ae3a74e202f6fce84bde498c715aee8
[ "Apache-2.0" ]
null
null
null
import os.path import threading import typing from prometheus_client import start_http_server from prometheus_client.core import GaugeMetricFamily, REGISTRY from kvmagent import kvmagent from zstacklib.utils import http from zstacklib.utils import jsonobject from zstacklib.utils import lock from zstacklib.utils impor...
36.492163
157
0.583541
2,701
23,282
4.779341
0.171788
0.017042
0.019521
0.017662
0.296692
0.17972
0.103029
0.055078
0.043613
0.032458
0
0.009802
0.307663
23,282
637
158
36.549451
0.791054
0.013616
0
0.200787
0
0.011811
0.229337
0.058454
0
0
0
0
0
0
null
null
0.001969
0.027559
null
null
0.011811
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
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
5db982ba2f19c2538b3617256ac0549d6c262bb1
84
py
Python
icfs/filesystem/exceptions.py
bhanupratapjain/icfs
44a2d5baadbc31bfebb931d713b426d22aabd969
[ "MIT" ]
null
null
null
icfs/filesystem/exceptions.py
bhanupratapjain/icfs
44a2d5baadbc31bfebb931d713b426d22aabd969
[ "MIT" ]
null
null
null
icfs/filesystem/exceptions.py
bhanupratapjain/icfs
44a2d5baadbc31bfebb931d713b426d22aabd969
[ "MIT" ]
null
null
null
class ICFSError(IOError): """Error while making any filesystem API requests."""
28
57
0.72619
10
84
6.1
1
0
0
0
0
0
0
0
0
0
0
0
0.154762
84
2
58
42
0.859155
0.559524
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
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
5dba0da51e77fecfd4eb4bbfdb42e2e652206d09
1,322
py
Python
core/migrations/0011_itemvariation_variation.py
manulangat1/djcommerce
2cd92631479ef949e0f05a255f2f50feca728802
[ "MIT" ]
1
2020-02-08T16:29:41.000Z
2020-02-08T16:29:41.000Z
core/migrations/0011_itemvariation_variation.py
manulangat1/djcommerce
2cd92631479ef949e0f05a255f2f50feca728802
[ "MIT" ]
15
2020-05-04T13:22:32.000Z
2022-03-12T00:27:28.000Z
core/migrations/0011_itemvariation_variation.py
manulangat1/djcommerce
2cd92631479ef949e0f05a255f2f50feca728802
[ "MIT" ]
1
2020-10-17T08:54:31.000Z
2020-10-17T08:54:31.000Z
# Generated by Django 2.2.6 on 2020-02-09 12:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0010_auto_20200130_1135'), ] operations = [ migrations.CreateModel( name='Variation', ...
34.789474
115
0.555219
126
1,322
5.698413
0.452381
0.044568
0.058496
0.091922
0.456825
0.384401
0.384401
0.384401
0.384401
0.384401
0
0.037716
0.298033
1,322
37
116
35.72973
0.735991
0.034039
0
0.387097
1
0
0.137255
0.018039
0
0
0
0
0
1
0
false
0
0.064516
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
5dba9613244bd2e35eb89625f766b4f652fe90d8
2,901
py
Python
parse_scripts/import_osm.py
nokout/au_address
07138ecd8fedab9566435b609cb8124b67ad42ff
[ "MIT" ]
1
2018-11-16T15:41:38.000Z
2018-11-16T15:41:38.000Z
training/parse_scripts/import_osm.py
crccheck/us-address-parser
826fd365cba065a0588fa013cddbb23a8dac27a9
[ "MIT" ]
6
2016-10-05T11:21:36.000Z
2016-10-18T15:11:20.000Z
parse_scripts/import_osm.py
nokout/au_address
07138ecd8fedab9566435b609cb8124b67ad42ff
[ "MIT" ]
null
null
null
import requests import codecs query1 = """<union> <query type="way"> <has-kv k="addr:housenumber"/> <has-kv k="addr:street:name"/> <has-kv k="addr:street:type"/> <has-kv k="addr:state"/> <bbox-query e="%s" n="%s" s="%s" w="%s"/> </query> <query type="way"> <has-kv k="addr:housenumber"/> <ha...
28.441176
99
0.558083
482
2,901
3.329876
0.147303
0.105919
0.127103
0.211838
0.850467
0.828037
0.786916
0.786916
0.762617
0.674766
0
0.067155
0.153051
2,901
101
100
28.722772
0.586081
0.058256
0
0.788235
0
0.023529
0.802786
0.231305
0
0
0
0
0
1
0
false
0.023529
0.023529
0
0.023529
0.035294
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
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
5dbe1aa985f0f74b54e5721ad988a0ced87ead89
469
py
Python
mygallary/urls.py
mangowilliam/my_gallary
4c87fe055e5c28d6ca6a27ea5bde7df380750006
[ "MIT" ]
null
null
null
mygallary/urls.py
mangowilliam/my_gallary
4c87fe055e5c28d6ca6a27ea5bde7df380750006
[ "MIT" ]
6
2021-03-19T02:06:21.000Z
2022-03-11T23:53:21.000Z
mygallary/urls.py
mangowilliam/my_gallary
4c87fe055e5c28d6ca6a27ea5bde7df380750006
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls.static import static from django.conf.urls import url from . import views urlpatterns = [ url('^$', views.gallary,name = 'gallary'), url(r'^search/', views.search_image, name='search_image'), url(r'^details/(\d+)',views.search_location,name ='images'...
20.391304
81
0.656716
58
469
5.206897
0.413793
0.099338
0.139073
0.119205
0
0
0
0
0
0
0
0
0.211087
469
23
82
20.391304
0.816216
0
0
0
0
0
0.104255
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
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
5dc01810c4c1797d877a743bdf67e61535eee657
1,914
py
Python
exercise_2/exercise_2.1.py
lukaszbinden/ethz-iacv-2020
271de804315de98b816cda3e2498958ffa87ad59
[ "MIT" ]
null
null
null
exercise_2/exercise_2.1.py
lukaszbinden/ethz-iacv-2020
271de804315de98b816cda3e2498958ffa87ad59
[ "MIT" ]
null
null
null
exercise_2/exercise_2.1.py
lukaszbinden/ethz-iacv-2020
271de804315de98b816cda3e2498958ffa87ad59
[ "MIT" ]
null
null
null
camera_width = 640 camera_height = 480 film_back_width = 1.417 film_back_height = 0.945 x_center = 320 y_center = 240 P_1 = (-0.023, -0.261, 2.376) p_11 = P_1[0] p_12 = P_1[1] p_13 = P_1[2] P_2 = (0.659, -0.071, 2.082) p_21 = P_2[0] p_22 = P_2[1] p_23 = P_2[2] p_1_prime = (52, 163) x_1 = p_1_prime[0] y_1 = p_1_pr...
23.060241
129
0.642633
484
1,914
2.02686
0.097107
0.171254
0.033639
0.024465
0.455657
0.247706
0.187564
0.167176
0.140673
0.140673
0
0.159091
0.172414
1,914
83
130
23.060241
0.460227
0.016196
0
0.105263
0
0
0.145213
0
0
0
0
0
0
1
0
false
0
0
0
0
0.175439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
5dc1607dc008e8af7451051e5d28ffb9f945411a
998
py
Python
apps/zsh/singletons.py
codecat555/codecat555-fidgetingbits_knausj_talon
62f9be0459e6631c99d58eee97054ddd970cc5f3
[ "MIT" ]
4
2021-02-04T07:36:05.000Z
2021-07-03T06:53:30.000Z
apps/zsh/singletons.py
codecat555/codecat555-fidgetingbits_knausj_talon
62f9be0459e6631c99d58eee97054ddd970cc5f3
[ "MIT" ]
null
null
null
apps/zsh/singletons.py
codecat555/codecat555-fidgetingbits_knausj_talon
62f9be0459e6631c99d58eee97054ddd970cc5f3
[ "MIT" ]
null
null
null
# A rarely-updated module to assist in writing reload-safe talon modules using # things like threads, which are not normally safe for reloading with talon. # If this file is ever updated, you'll need to restart talon. import logging _singletons = {} def singleton(fn): name = f"{fn.__module__}.{fn.__name__}" ...
28.514286
78
0.645291
140
998
4.514286
0.621429
0.018987
0
0
0
0
0
0
0
0
0
0
0.288577
998
34
79
29.352941
0.890141
0.497996
0
0
0
0
0.179226
0.059063
0
0
0
0
0
1
0.055556
false
0.055556
0.055556
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
1
0
0
0
0
0
1
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
5dc4b2786f8172c270a1fc651693530424b90630
190
py
Python
python_program/condition.py
LiuKaiqiang94/PyStudyExample
b30212718b218c71e06b68677f55c33e3a1dbf46
[ "MIT" ]
5
2018-09-10T02:52:35.000Z
2018-09-20T07:50:42.000Z
python_program/condition.py
LiuKaiqiang94/PyStudyExample
b30212718b218c71e06b68677f55c33e3a1dbf46
[ "MIT" ]
null
null
null
python_program/condition.py
LiuKaiqiang94/PyStudyExample
b30212718b218c71e06b68677f55c33e3a1dbf46
[ "MIT" ]
null
null
null
def main(): val=int(input("input a num")) if val<10: print("A") elif val<20: print("B") elif val<30: print("C") else: print("D") main()
13.571429
33
0.442105
27
190
3.111111
0.62963
0.166667
0
0
0
0
0
0
0
0
0
0.05042
0.373684
190
13
34
14.615385
0.655462
0
0
0
0
0
0.079365
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0.363636
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
5dc789560fb397b3832cccec69534dcbf26e36d2
5,902
py
Python
emilia/modules/math.py
masterisira/ELIZA_OF-master
02a7dbf48e4a3d4ee0981e6a074529ab1497aafe
[ "Unlicense" ]
null
null
null
emilia/modules/math.py
masterisira/ELIZA_OF-master
02a7dbf48e4a3d4ee0981e6a074529ab1497aafe
[ "Unlicense" ]
null
null
null
emilia/modules/math.py
masterisira/ELIZA_OF-master
02a7dbf48e4a3d4ee0981e6a074529ab1497aafe
[ "Unlicense" ]
null
null
null
from typing import List import requests from telegram import Message, Update, Bot, MessageEntity from telegram.ext import CommandHandler, run_async from emilia import dispatcher from emilia.modules.disable import DisableAbleCommandHandler from emilia.modules.helper_funcs.alternate import send_message import pynewtonmat...
35.769697
252
0.763978
803
5,902
5.43462
0.17061
0.075619
0.037809
0.082493
0.376031
0.36824
0.296517
0.296517
0.285518
0.285518
0
0.005975
0.120976
5,902
164
253
35.987805
0.835197
0
0
0.371429
0
0.021429
0.192138
0.004575
0
0
0
0
0
1
0.107143
false
0.107143
0.064286
0
0.171429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
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
5dcb3695e4bb82f323f1875e14dd30d0eb26c6e3
199
py
Python
stograde/common/run_status.py
babatana/stograde
c1c447e99c44c23cef9dd857e669861f3708ae77
[ "MIT" ]
null
null
null
stograde/common/run_status.py
babatana/stograde
c1c447e99c44c23cef9dd857e669861f3708ae77
[ "MIT" ]
null
null
null
stograde/common/run_status.py
babatana/stograde
c1c447e99c44c23cef9dd857e669861f3708ae77
[ "MIT" ]
null
null
null
from enum import auto, Enum class RunStatus(Enum): SUCCESS = auto() CALLED_PROCESS_ERROR = auto() FILE_NOT_FOUND = auto() PROCESS_LOOKUP_ERROR = auto() TIMEOUT_EXPIRED = auto()
19.9
33
0.683417
25
199
5.16
0.64
0.139535
0
0
0
0
0
0
0
0
0
0
0.221106
199
9
34
22.111111
0.832258
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5dcb43dbc68228752388169be1e8b17fd1bf9290
112
py
Python
recsys/__init__.py
shenghuiliuu/recsys
d706d1ae2558816c1e11ca790baeb7748200b404
[ "MIT" ]
50
2016-10-27T07:28:35.000Z
2022-03-30T01:32:32.000Z
recsys/__init__.py
shenghuiliuu/recsys
d706d1ae2558816c1e11ca790baeb7748200b404
[ "MIT" ]
5
2016-11-10T16:22:37.000Z
2020-09-16T10:26:59.000Z
recsys/__init__.py
shenghuiliuu/recsys
d706d1ae2558816c1e11ca790baeb7748200b404
[ "MIT" ]
22
2016-11-19T08:56:22.000Z
2021-06-23T16:13:10.000Z
__all__ = ['cross_validation', 'metrics', 'datasets', 'recommender']
14
31
0.4375
6
112
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.4375
112
7
32
16
0.698413
0
0
0
0
0
0.411765
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
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
5dcd4858a80507237d1cda30d4f8de4336f40710
3,044
py
Python
src/views/age_results_widget.py
RubyMarsden/Crayfish
33bbb1248beec2fc40eee59e462711dd8cbc33da
[ "MIT" ]
null
null
null
src/views/age_results_widget.py
RubyMarsden/Crayfish
33bbb1248beec2fc40eee59e462711dd8cbc33da
[ "MIT" ]
8
2021-03-19T06:35:48.000Z
2021-03-31T14:23:24.000Z
src/views/age_results_widget.py
RubyMarsden/Crayfish
33bbb1248beec2fc40eee59e462711dd8cbc33da
[ "MIT" ]
null
null
null
import matplotlib from PyQt5.QtCore import Qt from PyQt5.QtWidgets import QHBoxLayout, QDialog, QPushButton, QWidget, QVBoxLayout, QLabel matplotlib.use('QT5Agg') import matplotlib.pyplot as plt from models.data_key import DataKey from utils import ui_utils class AgeResultsWidget(QWidget): def __init__(self, re...
30.747475
100
0.598555
352
3,044
4.971591
0.352273
0.052
0.038857
0.026286
0.035429
0.035429
0
0
0
0
0
0.00608
0.297635
3,044
98
101
31.061224
0.812442
0.017411
0
0.109589
0
0
0.045054
0
0
0
0
0.010204
0
1
0.068493
false
0
0.082192
0
0.232877
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
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
5dce8eb43814f4b1a92f8e04cfdb8ab66b1647ad
7,705
py
Python
astropy/io/fits/hdu/streaming.py
jayvdb/astropy
bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f
[ "BSD-3-Clause" ]
445
2019-01-26T13:50:26.000Z
2022-03-18T05:17:38.000Z
astropy/io/fits/hdu/streaming.py
jayvdb/astropy
bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f
[ "BSD-3-Clause" ]
242
2019-01-29T15:48:27.000Z
2022-03-31T22:09:21.000Z
astropy/io/fits/hdu/streaming.py
jayvdb/astropy
bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f
[ "BSD-3-Clause" ]
31
2019-03-10T09:51:27.000Z
2022-02-14T23:11:12.000Z
# Licensed under a 3-clause BSD style license - see PYFITS.rst import gzip import os from .base import _BaseHDU, BITPIX2DTYPE from .hdulist import HDUList from .image import PrimaryHDU from astropy.io.fits.file import _File from astropy.io.fits.header import _pad_length from astropy.io.fits.util import fileobj_name ...
33.5
79
0.573134
972
7,705
4.469136
0.257202
0.048343
0.014963
0.01174
0.101289
0.057781
0.034761
0.021409
0
0
0
0.004393
0.350032
7,705
229
80
33.646288
0.863019
0.416483
0
0.096774
0
0
0.094165
0
0
0
0
0.004367
0
1
0.064516
false
0
0.086022
0.010753
0.193548
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
5dce95b004d795178936b1032e10425b07f77812
3,815
py
Python
geoprisma/tests/test_templatetags.py
groupe-conseil-nutshimit-nippour/django-geoprisma
4732fdb8a0684eb4d7fd50aa43e11b454ee71d08
[ "BSD-3-Clause" ]
null
null
null
geoprisma/tests/test_templatetags.py
groupe-conseil-nutshimit-nippour/django-geoprisma
4732fdb8a0684eb4d7fd50aa43e11b454ee71d08
[ "BSD-3-Clause" ]
5
2020-02-12T00:23:17.000Z
2021-12-13T19:46:33.000Z
geoprisma/tests/test_templatetags.py
groupe-conseil-nutshimit-nippour/django-geoprisma
4732fdb8a0684eb4d7fd50aa43e11b454ee71d08
[ "BSD-3-Clause" ]
null
null
null
import django from django.test import TestCase from django.template import Template, Context class genericObj(object): """ A generic object for testing templatetags """ def __init__(self): self.name = "test" self.status = "ready" def getOption(self, optionName): ...
28.901515
127
0.550459
341
3,815
6.043988
0.249267
0.061135
0.081514
0.112567
0.423096
0.389617
0.389617
0.231926
0.054343
0
0
0
0.32346
3,815
131
128
29.122137
0.798528
0.021232
0
0.45098
0
0.019608
0.408009
0.116214
0
0
0
0
0.078431
1
0.098039
false
0
0.029412
0.009804
0.196078
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
5dceeb675241617c8282ee5a28736fe976ad2fa2
4,447
py
Python
src/ggrc_workflows/models/task_group.py
acidburn0zzz/ggrc-core
386781d08172102eb51030b65db8212974651628
[ "ECL-2.0", "Apache-2.0" ]
1
2016-11-06T05:21:24.000Z
2016-11-06T05:21:24.000Z
src/ggrc_workflows/models/task_group.py
acidburn0zzz/ggrc-core
386781d08172102eb51030b65db8212974651628
[ "ECL-2.0", "Apache-2.0" ]
2
2021-02-02T23:09:40.000Z
2021-02-08T21:00:48.000Z
src/ggrc_workflows/models/task_group.py
Acidburn0zzz/ggrc-core
386781d08172102eb51030b65db8212974651628
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """A module containing the workflow TaskGroup model.""" from sqlalchemy import or_ from ggrc import db from ggrc.login import get_current_user from ggrc.models.associationproxy import association_proxy fr...
29.256579
78
0.659996
505
4,447
5.570297
0.289109
0.067188
0.034127
0.017064
0.127266
0.07252
0.027017
0
0
0
0
0.002595
0.220148
4,447
151
79
29.450331
0.808535
0.064313
0
0.128205
0
0
0.156536
0
0
0
0
0
0
1
0.042735
false
0
0.08547
0
0.273504
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
5dcf0b13e0d53d6745a01c7cc15df8b5de13bc88
1,248
py
Python
src/tests/app_functions/menu/test_change_auto_login.py
DanielNoord/DuolingoPomodoro
307b386daf3216fb9ba86f983f0e39f6647ffd64
[ "MIT" ]
null
null
null
src/tests/app_functions/menu/test_change_auto_login.py
DanielNoord/DuolingoPomodoro
307b386daf3216fb9ba86f983f0e39f6647ffd64
[ "MIT" ]
4
2021-04-25T15:39:32.000Z
2022-02-18T20:58:00.000Z
src/tests/app_functions/menu/test_change_auto_login.py
DanielNoord/DuolingoPomodoro
307b386daf3216fb9ba86f983f0e39f6647ffd64
[ "MIT" ]
null
null
null
import pytest import rumps from src.app_functions.menu.change_auto_login import change_auto_login @pytest.fixture(name="basic_app") def create_app(): """Creates a basic app object with some variables to pass to functions Returns: rumps.App: Basic app """ app = rumps.App("TestApp") app.set...
34.666667
88
0.758814
183
1,248
4.863388
0.251366
0.116854
0.134831
0.106742
0.735955
0.640449
0.640449
0.602247
0.51236
0.51236
0
0
0.143429
1,248
35
89
35.657143
0.832554
0.15625
0
0.363636
0
0
0.261719
0.207031
0
0
0
0
0.181818
1
0.136364
false
0
0.136364
0
0.318182
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
5dcf455584ab00f2818650ba6fb4636dff7442e6
3,105
py
Python
deepobs/tensorflow/testproblems/cifar100_vgg19.py
H0merJayS1mpson/deepobscustom
e85816ce42466326dac18841c58b79f87a4a1a7c
[ "MIT" ]
null
null
null
deepobs/tensorflow/testproblems/cifar100_vgg19.py
H0merJayS1mpson/deepobscustom
e85816ce42466326dac18841c58b79f87a4a1a7c
[ "MIT" ]
null
null
null
deepobs/tensorflow/testproblems/cifar100_vgg19.py
H0merJayS1mpson/deepobscustom
e85816ce42466326dac18841c58b79f87a4a1a7c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """VGG 19 architecture for CIFAR-100.""" import tensorflow as tf from ._vgg import _vgg from ..datasets.cifar100 import cifar100 from .testproblem import TestProblem class cifar100_vgg19(TestProblem): """DeepOBS test problem class for the VGG 19 network on Cifar-100. The CIFAR-100 ima...
37.865854
85
0.679549
438
3,105
4.650685
0.319635
0.059401
0.034364
0.033382
0.299951
0.242514
0.242514
0.242514
0.242514
0.226313
0
0.035593
0.239936
3,105
81
86
38.333333
0.827542
0.544605
0
0
0
0
0.003867
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.233333
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
5dcfe247dd1cc19b83a077ac143e29f6729063b0
192
py
Python
write-a-function.py
TheHumanGoogle/Hackerrank-python-solution
ab2fa515444d7493340d7c7fbb88c3a090a3a8f5
[ "MIT" ]
1
2022-01-12T16:05:01.000Z
2022-01-12T16:05:01.000Z
write-a-function.py
TheHumanGoogle/Hackerrank-python-solution
ab2fa515444d7493340d7c7fbb88c3a090a3a8f5
[ "MIT" ]
null
null
null
write-a-function.py
TheHumanGoogle/Hackerrank-python-solution
ab2fa515444d7493340d7c7fbb88c3a090a3a8f5
[ "MIT" ]
null
null
null
def is_leap(year): leap=False if year%400==0: leap=True elif year%4==0 and year%100!=0: leap=True else: leap=False return leap year = int(input())
16
35
0.546875
30
192
3.466667
0.566667
0.153846
0.173077
0
0
0
0
0
0
0
0
0.077519
0.328125
192
11
36
17.454545
0.728682
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
5dcfe5f1b4cd41078d4a64e401536ccb2333c29f
1,827
py
Python
shortio/utils.py
byshyk/shortio
054014b3936495c86d2e2cd6a61c3cee9ab9b0f2
[ "MIT" ]
null
null
null
shortio/utils.py
byshyk/shortio
054014b3936495c86d2e2cd6a61c3cee9ab9b0f2
[ "MIT" ]
null
null
null
shortio/utils.py
byshyk/shortio
054014b3936495c86d2e2cd6a61c3cee9ab9b0f2
[ "MIT" ]
null
null
null
"""Contains utility functions.""" BIN_MODE_ARGS = {'mode', 'buffering', } TEXT_MODE_ARGS = {'mode', 'buffering', 'encoding', 'errors', 'newline'} def split_args(args): """Splits args into two groups: open args and other args. Open args are used by ``open`` function. Other args are used by ``load``/``dum...
26.478261
74
0.603175
235
1,827
4.531915
0.259574
0.075117
0.033803
0.039437
0.298592
0.298592
0.240376
0.097653
0.097653
0.097653
0
0
0.259442
1,827
68
75
26.867647
0.78714
0.423645
0
0.166667
0
0
0.054968
0
0
0
0
0
0
1
0.208333
false
0
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
5dd0559b06c4b507ddd6a8e8abd9d084e5c41c75
3,483
py
Python
paasta_tools/async_utils.py
sobolevn/paasta
8b87e0b13816c09b3d063b6d3271e6c7627fd264
[ "Apache-2.0" ]
1,711
2015-11-10T18:04:56.000Z
2022-03-23T08:53:16.000Z
paasta_tools/async_utils.py
sobolevn/paasta
8b87e0b13816c09b3d063b6d3271e6c7627fd264
[ "Apache-2.0" ]
1,689
2015-11-10T17:59:04.000Z
2022-03-31T20:46:46.000Z
paasta_tools/async_utils.py
sobolevn/paasta
8b87e0b13816c09b3d063b6d3271e6c7627fd264
[ "Apache-2.0" ]
267
2015-11-10T19:17:16.000Z
2022-02-08T20:59:52.000Z
import asyncio import functools import time import weakref from collections import defaultdict from typing import AsyncIterable from typing import Awaitable from typing import Callable from typing import Dict from typing import List from typing import Optional from typing import TypeVar T = TypeVar("T") # NOTE: thi...
32.858491
106
0.611829
447
3,483
4.677852
0.326622
0.038259
0.053563
0.018651
0.228599
0.21999
0.21999
0.171688
0.14395
0.066954
0
0.002867
0.29888
3,483
105
107
33.171429
0.853399
0.211025
0
0.337838
0
0
0.003663
0
0
0
0
0
0
1
0.081081
false
0
0.162162
0
0.378378
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
5dd208f2225a11d0691db8c3c2975ede5f79f7f1
3,470
py
Python
util/dataset.py
MTI830PyTraders/pytrade
33ea3e756019c999e9c3d78fca89cd72addf6ab2
[ "BSD-3-Clause" ]
3
2017-03-08T15:42:26.000Z
2021-03-10T23:47:15.000Z
util/dataset.py
fraka6/pytrade
8a94b6e1b3922dcba95067c03abbf45975878b33
[ "BSD-3-Clause" ]
15
2015-05-20T03:11:58.000Z
2018-03-30T23:42:18.000Z
util/dataset.py
MTI830PyTraders/pytrade
33ea3e756019c999e9c3d78fca89cd72addf6ab2
[ "BSD-3-Clause" ]
7
2016-04-12T09:49:22.000Z
2021-03-10T23:47:19.000Z
#!/usr/bin/python ''' generate dataset ''' import csv import argparse import numpy as np import sklearn.metrics import theanets from sklearn.metrics import accuracy_score import logging from trendStrategy import OptTrendStrategy, TrendStrategy from util import visu def compare(stock, field='orders', strategy="TrendSt...
35.408163
103
0.653602
453
3,470
4.834437
0.262693
0.031963
0.025571
0.027397
0.147945
0.147945
0.147945
0.127854
0.127854
0.127854
0
0.019244
0.191354
3,470
97
104
35.773196
0.761226
0.004611
0
0.216867
1
0
0.10424
0.014429
0
0
0
0
0
0
null
null
0
0.108434
null
null
0.096386
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
5dd235954e00e3353720380ad5e4fd1579960a8d
3,788
py
Python
examples/scripts/sc/bpdn.py
manvhah/sporco
9237d7fc37e75089a2a65ebfe02b7491410da7d4
[ "BSD-3-Clause" ]
null
null
null
examples/scripts/sc/bpdn.py
manvhah/sporco
9237d7fc37e75089a2a65ebfe02b7491410da7d4
[ "BSD-3-Clause" ]
null
null
null
examples/scripts/sc/bpdn.py
manvhah/sporco
9237d7fc37e75089a2a65ebfe02b7491410da7d4
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of the SPORCO package. Details of the copyright # and user license can be found in the 'LICENSE.txt' file distributed # with the package. """ Basis Pursuit DeNoising ======================= This example demonstrates the use of class :class:`.admm.bpdn....
30.063492
406
0.694298
570
3,788
4.596491
0.412281
0.00458
0.018321
0.019847
0.041603
0.041603
0.019847
0.019847
0.019847
0.019847
0
0.022166
0.166315
3,788
125
407
30.304
0.807473
0.297254
0
0.081633
0
0
0.154664
0
0
0
0
0
0
1
0.020408
false
0
0.122449
0
0.163265
0.061224
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
5dd288bce128d196a30c7168a6af79b6e365abd9
11,995
py
Python
saleor-env/lib/python3.7/site-packages/snowballstemmer/nepali_stemmer.py
tadartefactorist/mask
7967dd4ad39e3d26ac516719faefb40e00a8cbff
[ "BSD-3-Clause" ]
null
null
null
saleor-env/lib/python3.7/site-packages/snowballstemmer/nepali_stemmer.py
tadartefactorist/mask
7967dd4ad39e3d26ac516719faefb40e00a8cbff
[ "BSD-3-Clause" ]
1
2021-06-01T23:55:30.000Z
2021-06-01T23:55:30.000Z
venv/lib/python2.7/site-packages/snowballstemmer/nepali_stemmer.py
tvek/DatasciencePythonInitBase
e578b4a3026b55bc2935b200453e511f1731c75e
[ "MIT" ]
null
null
null
# This file was generated automatically by the Snowball to Python compiler # http://snowballstem.org/ from .basestemmer import BaseStemmer from .among import Among class NepaliStemmer(BaseStemmer): ''' This class was automatically generated by a Snowball to Python compiler It implements the stemming algo...
34.970845
75
0.469362
1,514
11,995
3.64465
0.099075
0.123958
0.135738
0.086988
0.694998
0.585357
0.376767
0.17597
0.10801
0.096412
0
0.239095
0.388412
11,995
342
76
35.073099
0.513086
0.085286
0
0.349206
1
0
0.202606
0.101854
0
0
0
0
0
1
0.019841
false
0.079365
0.007937
0
0.134921
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
5dd337ba7906e3c3c7b8bae81a44d4305edc633f
1,361
py
Python
tests/auto_test_class_creation_spec.py
MountainField/uspec
a4f8908b1a3af519d9d2ce7b85a4b4cca7b85883
[ "MIT" ]
2
2020-03-02T01:58:05.000Z
2022-01-25T08:44:40.000Z
tests/auto_test_class_creation_spec.py
MountainField/uspec
a4f8908b1a3af519d9d2ce7b85a4b4cca7b85883
[ "MIT" ]
null
null
null
tests/auto_test_class_creation_spec.py
MountainField/uspec
a4f8908b1a3af519d9d2ce7b85a4b4cca7b85883
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # ================================================================= # uspec # # Copyright (c) 2020 Takahide Nogayama # # This software is released under the MIT License. # http://opensource.org/licenses/mit-license.php # ================================================================= from __...
20.621212
67
0.556209
141
1,361
5.035461
0.432624
0.126761
0.146479
0.05493
0.184507
0.184507
0.184507
0.184507
0.123944
0.123944
0
0.01267
0.188097
1,361
65
68
20.938462
0.629864
0.214548
0
0.366667
0
0
0.046025
0
0
0
0
0
0.233333
1
0.133333
false
0.033333
0.166667
0
0.333333
0.033333
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
5dd4998614beb1247cc3bb983c52f0476fab9cb0
495
py
Python
main.py
Matthewk01/Snake-AI
d5f211334436676966f17bb6dbfea8aba61ee6b4
[ "MIT" ]
null
null
null
main.py
Matthewk01/Snake-AI
d5f211334436676966f17bb6dbfea8aba61ee6b4
[ "MIT" ]
null
null
null
main.py
Matthewk01/Snake-AI
d5f211334436676966f17bb6dbfea8aba61ee6b4
[ "MIT" ]
null
null
null
import pygame from game.game_logic.game import Game import matplotlib.pyplot as plt def main(): scores_history = [] GAME_COUNT = 2 for i in range(GAME_COUNT): game = Game(400, "Snake AI") score = game.start() scores_history.append(score) print("Game:", i) plt.ylim(0, 3...
20.625
56
0.628283
68
495
4.352941
0.544118
0.175676
0
0
0
0
0
0
0
0
0
0.018667
0.242424
495
23
57
21.521739
0.770667
0
0
0
0
0
0.086869
0
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.222222
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dd4d65be6fbb2b5be1a2991fade5b69cc8efed5
792
py
Python
closed/Intel/code/resnet50/openvino-cpu/src/tools/create_image_list.py
ctuning/inference_results_v1.1
d9176eca28fcf6d7a05ccb97994362a76a1eb5ab
[ "Apache-2.0" ]
19
2020-10-26T17:37:22.000Z
2022-01-20T09:32:38.000Z
closed/Intel/code/resnet50/openvino-cpu/src/tools/create_image_list.py
ctuning/inference_results_v1.1
d9176eca28fcf6d7a05ccb97994362a76a1eb5ab
[ "Apache-2.0" ]
24
2021-07-19T01:09:35.000Z
2022-03-17T11:44:02.000Z
closed/Intel/code/resnet50/openvino-cpu/src/tools/create_image_list.py
ctuning/inference_results_v1.1
d9176eca28fcf6d7a05ccb97994362a76a1eb5ab
[ "Apache-2.0" ]
19
2020-10-21T19:15:17.000Z
2022-01-04T08:32:08.000Z
import os import sys from glob import glob def create_list(images_dir, output_file, img_ext=".jpg"): ImgList = os.listdir(images_dir) val_list = [] for img in ImgList: img,ext = img.split(".") val_list.append(img) with open(os.path.join(images_dir, output_file),'w') as fid: ...
22.628571
64
0.582071
114
792
3.807018
0.421053
0.124424
0.103687
0.131336
0.258065
0.258065
0.124424
0
0
0
0
0.014159
0.286616
792
35
65
22.628571
0.753982
0
0
0.076923
0
0
0.069357
0
0
0
0
0
0
1
0.076923
false
0
0.115385
0
0.192308
0.038462
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
5dd5c073bdc1758efc5e43f31738feb8fc1ef917
4,434
py
Python
AI/others/churn/churn_2.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
null
null
null
AI/others/churn/churn_2.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
3
2020-03-24T16:26:35.000Z
2020-04-15T19:40:41.000Z
AI/others/churn/churn_2.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[1]: # src: http://datareview.info/article/prognozirovanie-ottoka-klientov-so-scikit-learn/ # In[ ]: # Показатель оттока клиентов – бизнес-термин, описывающий # насколько интенсивно клиенты покидают компанию или # прекращают оплачивать товары или услуги. # Это ключевой ...
21.735294
104
0.728913
637
4,434
4.908948
0.464678
0.006396
0.028782
0.027183
0.168212
0.133674
0.12472
0.12472
0.12472
0.07739
0
0.040947
0.151782
4,434
203
105
21.842365
0.790215
0.580289
0
0
0
0
0.074719
0
0
0
0
0.004926
0
1
0.027778
false
0
0.25
0
0.277778
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
5dd62019e7ff928c4383fc35d24cbff743f0c13d
2,157
py
Python
airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py
rajatariya21/airbyte
11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d
[ "MIT" ]
null
null
null
airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py
rajatariya21/airbyte
11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d
[ "MIT" ]
4
2021-04-30T08:10:26.000Z
2021-04-30T13:53:34.000Z
airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py
rajatariya21/airbyte
11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2020 Airbyte # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publ...
26.62963
80
0.730644
280
2,157
5.614286
0.446429
0.05598
0.089059
0.111323
0.187659
0.187659
0.076336
0.076336
0.076336
0.076336
0
0.002327
0.20306
2,157
80
81
26.9625
0.912158
0.49096
0
0.470588
0
0
0
0
0
0
0
0
0
1
0
false
0
0.088235
0
0.794118
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
1
0
0
1
5dd63a69cf7b02ed5bd4b36b349a9d84dec480ac
4,518
py
Python
pytrivia/trivia.py
Dnewman9/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
6
2018-01-15T15:17:56.000Z
2021-06-16T19:48:14.000Z
pytrivia/trivia.py
MaT1g3R/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
null
null
null
pytrivia/trivia.py
MaT1g3R/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
7
2017-05-15T23:41:43.000Z
2021-07-10T01:09:09.000Z
""" A simple python api wrapper for https://opentdb.com/ """ from aiohttp import ClientSession from requests import get from pytrivia.__helpers import decode_dict, get_token, make_request from pytrivia.enums import * class Trivia: def __init__(self, with_token: bool): """ Initialize an instance ...
35.857143
79
0.607791
547
4,518
4.90128
0.212066
0.071615
0.029094
0.038046
0.609474
0.597165
0.597165
0.567326
0.567326
0.567326
0
0.009699
0.315405
4,518
125
80
36.144
0.857097
0.18703
0
0.269231
0
0
0.04886
0
0
0
0
0
0
1
0.057692
false
0
0.076923
0
0.269231
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
5dd6aca7ea5896f561da5d7ef0e8b1303417fa33
1,249
py
Python
utils.py
py-ranoid/practical-nlp
514fd4da3b72f26597d91cdb89704a849bf6b36d
[ "MIT" ]
null
null
null
utils.py
py-ranoid/practical-nlp
514fd4da3b72f26597d91cdb89704a849bf6b36d
[ "MIT" ]
null
null
null
utils.py
py-ranoid/practical-nlp
514fd4da3b72f26597d91cdb89704a849bf6b36d
[ "MIT" ]
null
null
null
import requests import tarfile import os def download_file(url, directory): local_filename = os.path.join(directory, url.split('/')[-1]) print ("Downloading %s --> %s"%(url, local_filename)) with requests.get(url, stream=True) as r: r.raise_for_status() with open(local_filename, 'wb') as f:...
34.694444
64
0.602082
167
1,249
4.39521
0.401198
0.070845
0.027248
0.059946
0.089918
0.089918
0.089918
0
0
0
0
0.009464
0.238591
1,249
36
65
34.694444
0.762355
0
0
0.121212
0
0
0.0568
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.242424
0.121212
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
5dd6c916a8fdc58e1d4d7d9b990faa3a6330daf0
3,957
py
Python
spritecss/config.py
yostudios/Spritemapper
277cb76a14be639b6d7fa3191bc427409e72ad69
[ "MIT" ]
49
2015-01-22T14:27:32.000Z
2021-12-24T23:07:40.000Z
spritecss/config.py
tzuryby/Spritemapper
7cd3b68348a86982420b6231861fda4a0e676f35
[ "MIT" ]
2
2015-02-12T12:31:34.000Z
2015-04-12T10:43:17.000Z
spritecss/config.py
tzuryby/Spritemapper
7cd3b68348a86982420b6231861fda4a0e676f35
[ "MIT" ]
6
2015-04-03T07:29:54.000Z
2021-12-15T02:21:35.000Z
import shlex from os import path from itertools import imap, ifilter from urlparse import urljoin from .css import CSSParser, iter_events def parse_config_stmt(line, prefix="spritemapper."): line = line.strip() if line.startswith(prefix) and "=" in line: (key, value) = line.split("=", 1) return...
31.656
77
0.608036
515
3,957
4.508738
0.269903
0.05857
0.033161
0.020672
0.205857
0.147287
0.107666
0.070629
0.042205
0
0
0.002801
0.278241
3,957
124
78
31.91129
0.810224
0.014658
0
0.14
0
0
0.123044
0
0
0
0
0
0
0
null
null
0
0.08
null
null
0.06
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5dd72494fca93c6bb84fb81618dd74141e12e413
5,733
py
Python
plotting/make_bar_graph.py
DanielTakeshi/debridement-code
d1a946d1fa3c60b60284c977ecb2d6584e524ae2
[ "MIT" ]
3
2017-09-29T01:41:20.000Z
2021-03-29T01:51:18.000Z
plotting/make_bar_graph.py
DanielTakeshi/debridement-code
d1a946d1fa3c60b60284c977ecb2d6584e524ae2
[ "MIT" ]
null
null
null
plotting/make_bar_graph.py
DanielTakeshi/debridement-code
d1a946d1fa3c60b60284c977ecb2d6584e524ae2
[ "MIT" ]
3
2017-09-29T01:42:35.000Z
2019-10-20T07:10:44.000Z
""" A bar graph. (c) September 2017 by Daniel Seita """ import argparse from collections import defaultdict from keras.models import Sequential from keras.layers import Dense, Activation import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np import sys np.set_printoptions(suppress=...
33.138728
80
0.580499
784
5,733
4.08801
0.307398
0.022465
0.018721
0.037442
0.288924
0.197192
0.142902
0.135725
0.117629
0.117629
0
0.02141
0.2749
5,733
172
81
33.331395
0.749579
0.082679
0
0.230216
0
0
0.093188
0.017604
0
0
0
0
0.007194
1
0.014388
false
0
0.057554
0
0.071942
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
5dd728898f384c5addbd3fc04712cc8f4bb79103
998
py
Python
setup.py
tzengerink/groceries-api
a22cc3503006b87b731b956f6341d730b143bf10
[ "MIT" ]
null
null
null
setup.py
tzengerink/groceries-api
a22cc3503006b87b731b956f6341d730b143bf10
[ "MIT" ]
null
null
null
setup.py
tzengerink/groceries-api
a22cc3503006b87b731b956f6341d730b143bf10
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import find_packages, setup import os import re ROOT = os.path.dirname(__file__) VERSION_RE = re.compile(r'''__version__ = \'([0-9.]+)\'''') def get_version(): init = open(os.path.join(ROOT, 'application', '__init__.py')).read() return VERSION_RE.search(init).group(1) ...
22.177778
72
0.516032
133
998
3.706767
0.548872
0.01217
0
0
0
0
0
0
0
0
0
0.074792
0.276553
998
44
73
22.681818
0.608033
0.02004
0
0
0
0
0.307062
0.021494
0
0
0
0
0
1
0.027027
false
0
0.081081
0
0.135135
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
5dd847419564638f2f188cabc13087183aa80082
83,813
py
Python
toontown/suit/DistributedLawbotBoss.py
SuperM0use24/TT-CL-Edition
fdad8394f0656ae122b687d603f72afafd220c65
[ "MIT" ]
null
null
null
toontown/suit/DistributedLawbotBoss.py
SuperM0use24/TT-CL-Edition
fdad8394f0656ae122b687d603f72afafd220c65
[ "MIT" ]
1
2021-06-08T17:16:48.000Z
2021-06-08T17:16:48.000Z
toontown/suit/DistributedLawbotBoss.py
SuperM0use24/TT-CL-Edition
fdad8394f0656ae122b687d603f72afafd220c65
[ "MIT" ]
3
2021-06-03T05:36:36.000Z
2021-06-22T15:07:31.000Z
from direct.showbase.ShowBase import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import * from direct.distributed.ClockDelta import * from direct.showbase.PythonUtil import Functor from direct.showbase.PythonUtil import StackTrace from direct.gui.DirectGui import * from panda3d.core ...
45.157866
363
0.655889
7,598
83,813
7.184522
0.143064
0.024548
0.034073
0.017751
0.296237
0.240822
0.203488
0.162069
0.141075
0.114274
0
0.016161
0.235143
83,813
1,855
364
45.18221
0.835379
0
0
0.338452
0
0.000591
0.076122
0.024352
0
0
0
0
0
0
null
null
0.005316
0.019492
null
null
0.000591
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5dd8d749d5dd08650d2aee4a619e3e875e2659a0
19,959
py
Python
tests/test_custom_rnncell.py
lightmatter-ai/tensorflow-onnx
a08aa32e211b859e8a437c5d8a822ea55c46e7c6
[ "Apache-2.0" ]
null
null
null
tests/test_custom_rnncell.py
lightmatter-ai/tensorflow-onnx
a08aa32e211b859e8a437c5d8a822ea55c46e7c6
[ "Apache-2.0" ]
null
null
null
tests/test_custom_rnncell.py
lightmatter-ai/tensorflow-onnx
a08aa32e211b859e8a437c5d8a822ea55c46e7c6
[ "Apache-2.0" ]
1
2021-05-11T21:51:52.000Z
2021-05-11T21:51:52.000Z
# SPDX-License-Identifier: Apache-2.0 """Unit Tests for custom rnns.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import tensorflow as tf from tensorflow.python.ops import init_ops from backend_test_base import Tf2OnnxBackendTest...
46.962353
119
0.584348
2,555
19,959
4.228571
0.08454
0.019993
0.049334
0.036931
0.802943
0.787764
0.745187
0.724084
0.719363
0.715383
0
0.029786
0.310336
19,959
424
120
47.073113
0.755104
0.078761
0
0.692073
0
0
0.047087
0
0
0
0
0
0.003049
1
0.073171
false
0
0.027439
0.006098
0.146341
0.003049
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
5dda086e2a6749797c92ff4afeb274d3586e3b33
536
py
Python
cookie-cutter/src/templates/template.py
noname34/CHARM_Project_Hazard_Perception_I
2d03d9e8911afad21818c6f837558503508a59bd
[ "Unlicense", "MIT" ]
null
null
null
cookie-cutter/src/templates/template.py
noname34/CHARM_Project_Hazard_Perception_I
2d03d9e8911afad21818c6f837558503508a59bd
[ "Unlicense", "MIT" ]
null
null
null
cookie-cutter/src/templates/template.py
noname34/CHARM_Project_Hazard_Perception_I
2d03d9e8911afad21818c6f837558503508a59bd
[ "Unlicense", "MIT" ]
null
null
null
#!/user/bin/env python3 # -*- coding: utf-8 -*- #!/user/bin/env python3 # -*- coding: utf-8 -*- # @Author: Kevin Bürgisser # @Email: kevin.buergisser@edu.hefr.ch # @Date: 04.2020 # Context: CHARM PROJECT - Harzard perception """ Module documentation. """ # Imports import sys #import os # Global variables # Class...
14.888889
51
0.630597
67
536
4.925373
0.731343
0.042424
0.060606
0.10303
0.163636
0.163636
0.163636
0
0
0
0
0.028169
0.205224
536
36
52
14.888889
0.746479
0.589552
0
0
0
0
0.21
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0.125
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
5ddabeb7b320c12ce5eecb63db650328a9b8e392
903
py
Python
utils/gridpeak.py
siwill22/magSA
9f3a12e6ed971d67444804cad57734dc0b4772ff
[ "MIT" ]
null
null
null
utils/gridpeak.py
siwill22/magSA
9f3a12e6ed971d67444804cad57734dc0b4772ff
[ "MIT" ]
null
null
null
utils/gridpeak.py
siwill22/magSA
9f3a12e6ed971d67444804cad57734dc0b4772ff
[ "MIT" ]
null
null
null
import numpy def gridpeak(t, X=None): # GP = GRIDPEAK(...) # gp = gridpeak(t) return gridpeaks based on Blakely # and Simpson method # gp = gridpeak(t,X) optionally remove peak values scoring less than X, # where X can be between 1 and 4. print 'shape ', t.shap...
29.129032
78
0.447398
165
903
2.448485
0.284848
0.079208
0.074257
0.059406
0.158416
0.158416
0.158416
0.158416
0.158416
0.158416
0
0.014414
0.385382
903
30
79
30.1
0.713514
0.245847
0
0
0
0
0.008889
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1