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
5d33f0625c53288d64064188bcbc357613405301
1,448
py
Python
tests/test_env.py
Majanao/pytorch-blender
eb5effb033094d037e7bdc2238c00806be7012ae
[ "MIT" ]
381
2019-07-03T14:15:16.000Z
2022-03-30T08:58:26.000Z
tests/test_env.py
ANABUR920/pytorch-blender
eb5effb033094d037e7bdc2238c00806be7012ae
[ "MIT" ]
18
2020-01-15T17:36:08.000Z
2021-12-31T08:37:54.000Z
tests/test_env.py
ANABUR920/pytorch-blender
eb5effb033094d037e7bdc2238c00806be7012ae
[ "MIT" ]
34
2019-07-09T03:15:02.000Z
2022-01-13T17:36:20.000Z
import pytest from pathlib import Path from blendtorch import btt BLENDDIR = Path(__file__).parent/'blender' class MyEnv(btt.env.OpenAIRemoteEnv): def __init__(self, background=True, **kwargs): super().__init__(version='1.0.0') self.launch(scene=BLENDDIR/'env.blend', script=BLENDDIR / ...
26.814815
81
0.641575
208
1,448
4.322115
0.360577
0.050056
0.057842
0.07564
0.369299
0.351502
0.320356
0.320356
0.320356
0.249166
0
0.026079
0.232044
1,448
53
82
27.320755
0.782374
0.112569
0
0.435897
0
0
0.037471
0
0
0
0
0
0.384615
1
0.102564
false
0
0.076923
0
0.205128
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
5d356088cb332b6a1cde85497c82874f1681387b
20
py
Python
sitetree/__init__.py
sitkatech/django-sitetree
5d7e9d503f97ff021c5c04855e04e098b3d2488c
[ "BSD-3-Clause" ]
3
2019-02-12T01:58:42.000Z
2019-06-08T10:50:33.000Z
sitetree/__init__.py
sitkatech/django-sitetree
5d7e9d503f97ff021c5c04855e04e098b3d2488c
[ "BSD-3-Clause" ]
null
null
null
sitetree/__init__.py
sitkatech/django-sitetree
5d7e9d503f97ff021c5c04855e04e098b3d2488c
[ "BSD-3-Clause" ]
null
null
null
VERSION = (0, 9, 5)
10
19
0.5
4
20
2.5
1
0
0
0
0
0
0
0
0
0
0
0.2
0.25
20
1
20
20
0.466667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5d36081f930dd6c0a745b46f1b5a299e738d247f
20,670
py
Python
deepvariant/runtime_by_region_vis.py
tahashmi/deepvariant
441c1809d3290f4a20b29a0a0bbf8ecfb929a6e3
[ "BSD-3-Clause" ]
4
2019-03-30T13:25:25.000Z
2020-10-14T18:47:21.000Z
deepvariant/runtime_by_region_vis.py
FrogEnthusiast7/deepvariant
84516dfacd1ed856a34507becb21848aa12e77a8
[ "BSD-3-Clause" ]
1
2021-06-18T15:04:47.000Z
2021-06-18T15:04:47.000Z
deepvariant/runtime_by_region_vis.py
FrogEnthusiast7/deepvariant
84516dfacd1ed856a34507becb21848aa12e77a8
[ "BSD-3-Clause" ]
1
2019-09-04T16:59:18.000Z
2019-09-04T16:59:18.000Z
# Copyright 2020 Google LLC. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # #...
34.335548
97
0.677504
2,943
20,670
4.633367
0.192321
0.024641
0.0176
0.010267
0.221326
0.170065
0.125623
0.086242
0.079642
0.066588
0
0.011457
0.206144
20,670
601
98
34.392679
0.81955
0.346589
0
0.165584
0
0.006494
0.267398
0.033882
0
0
0
0
0
1
0.058442
false
0
0.022727
0
0.12987
0.003247
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
5d36d6dbf217342990cb49eda55af38f42824619
4,238
py
Python
pkgs/dynd-python-0.7.2-py27_0/lib/python2.7/site-packages/dynd/tests/test_nd_fields.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
pkgs/dynd-python-0.7.2-py27_0/lib/python2.7/site-packages/dynd/tests/test_nd_fields.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
pkgs/dynd-python-0.7.2-py27_0/lib/python2.7/site-packages/dynd/tests/test_nd_fields.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
import sys import unittest from dynd import nd, ndt """ class TestFields(unittest.TestCase): def test_simple(self): a = nd.array([ (1, 2, 'a', 'b'), (3, 4, 'ab', 'cd'), (5, 6, 'def', 'ghi')], type='3 * {x: int32, y: int32, z: string, w: string...
42.808081
76
0.464606
617
4,238
3.051864
0.111831
0.084971
0.127456
0.201806
0.893255
0.893255
0.893255
0.893255
0.893255
0.893255
0
0.02387
0.34757
4,238
98
77
43.244898
0.657143
0
0
0
0
0
0.078431
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
1
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
1
0
1
0
1
0
0
10
5d373f0e4790917fc2d0b3ea420a4ad7a8c76024
4,096
py
Python
xeofs/pandas/_transformer.py
nicrie/xeofs
4c0ed49b45794ce0abb641c98b82638b2faa4828
[ "MIT" ]
3
2022-02-22T07:56:09.000Z
2022-03-30T10:47:20.000Z
xeofs/pandas/_transformer.py
nicrie/xeofs
4c0ed49b45794ce0abb641c98b82638b2faa4828
[ "MIT" ]
13
2022-02-15T13:44:34.000Z
2022-03-15T22:51:01.000Z
xeofs/pandas/_transformer.py
nicrie/xeofs
4c0ed49b45794ce0abb641c98b82638b2faa4828
[ "MIT" ]
2
2022-02-17T19:02:59.000Z
2022-02-22T07:56:15.000Z
from typing import Union, Iterable, List import numpy as np import pandas as pd from ..models._transformer import _ArrayTransformer, _MultiArrayTransformer class _DataFrameTransformer(_ArrayTransformer): '''`_ArrayTransformer` wrapper for `pandas.DataFrame`. ''' def __init__(self): super().__in...
35.310345
101
0.616211
517
4,096
4.736944
0.193424
0.112291
0.0343
0.0343
0.562679
0.463046
0.42303
0.42303
0.373622
0.318906
0
0.006651
0.265869
4,096
115
102
35.617391
0.807782
0.04126
0
0.329545
0
0
0.062672
0
0
0
0
0
0
1
0.181818
false
0
0.045455
0.079545
0.420455
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
5d38d81bebcb78fdcd3ec6d9d6e334cd582c79d5
1,004
py
Python
tests/bogus_python_model.py
FossilizedContainers/fossilized-controller
5aa14112b3728a619a37233906366c1cda2a0a77
[ "MIT" ]
1
2022-01-24T21:54:46.000Z
2022-01-24T21:54:46.000Z
tests/bogus_python_model.py
FossilizedContainers/fossilized-controller
5aa14112b3728a619a37233906366c1cda2a0a77
[ "MIT" ]
null
null
null
tests/bogus_python_model.py
FossilizedContainers/fossilized-controller
5aa14112b3728a619a37233906366c1cda2a0a77
[ "MIT" ]
null
null
null
import os import sys import lipd # import pythonAdapter, assumes in ../python-adapter/ tests_dir = os.path.dirname(os.path.realpath(__file__)) fc_dir = os.path.dirname(tests_dir) python_adapter_dir = os.path.join(fc_dir, "python-adapter") sys.path.append(python_adapter_dir) import adapter def fake_model(adapter): ...
26.421053
85
0.739044
157
1,004
4.55414
0.382166
0.072727
0.037762
0.044755
0.058741
0.058741
0
0
0
0
0
0
0.167331
1,004
37
86
27.135135
0.855263
0.34761
0
0
0
0
0.132921
0
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.315789
0.052632
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
5d38e4a873930da8bc4504369cb7f1bca6894323
13,421
py
Python
tello_control_ui.py
banne2266/UAV-autopilot-NCTU-2021
1a25d4add2de9659516d045054935e3b6e04d06d
[ "MIT" ]
null
null
null
tello_control_ui.py
banne2266/UAV-autopilot-NCTU-2021
1a25d4add2de9659516d045054935e3b6e04d06d
[ "MIT" ]
null
null
null
tello_control_ui.py
banne2266/UAV-autopilot-NCTU-2021
1a25d4add2de9659516d045054935e3b6e04d06d
[ "MIT" ]
null
null
null
from PIL import Image from PIL import ImageTk import tkinter as tki from tkinter import Toplevel, Scale import threading import datetime import cv2 import os import time import platform class TelloUI: """Wrapper class to enable the GUI.""" def __init__(self,tello,outputpath): """ Initial all t...
37.177285
113
0.580583
1,628
13,421
4.699631
0.203931
0.024703
0.027447
0.026663
0.319305
0.166253
0.120507
0.102732
0.092798
0.084172
0
0.010194
0.312942
13,421
360
114
37.280556
0.819542
0.154534
0
0.118943
0
0
0.107172
0.002176
0
0
0
0
0
1
0.15859
false
0
0.044053
0.061674
0.268722
0.057269
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
5d3a6779a16e847e6ab8367c806b8cd0393b9b7c
160
py
Python
__temp/examples/rhino/mesh-stanford-dragon.py
robin-gdwl/examples_topop-desc
3a10dfc891c3e6998029c7baf8a5a7a501870fe2
[ "MIT" ]
null
null
null
__temp/examples/rhino/mesh-stanford-dragon.py
robin-gdwl/examples_topop-desc
3a10dfc891c3e6998029c7baf8a5a7a501870fe2
[ "MIT" ]
null
null
null
__temp/examples/rhino/mesh-stanford-dragon.py
robin-gdwl/examples_topop-desc
3a10dfc891c3e6998029c7baf8a5a7a501870fe2
[ "MIT" ]
1
2022-01-16T02:32:43.000Z
2022-01-16T02:32:43.000Z
import compas import compas_rhino from compas.datastructures import Mesh mesh = Mesh.from_ply(compas.get('stanford_dragon.ply')) compas_rhino.mesh_draw(mesh)
20
55
0.825
24
160
5.291667
0.458333
0.188976
0
0
0
0
0
0
0
0
0
0
0.0875
160
7
56
22.857143
0.869863
0
0
0
0
0
0.11875
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
5d3b019f7105ea70804aca52b749a325dbd4f20c
416
py
Python
Python/ML_DL/DL/Neural-Networks-Demystified-master/partOne.py
vbsteja/code
0c8f4dc579f5de21b6c55fe6e65c3c8eb5473687
[ "Apache-2.0" ]
3
2018-08-06T15:34:58.000Z
2022-02-11T14:19:05.000Z
Python/ML_DL/DL/Neural-Networks-Demystified-master/partOne.py
vbsteja/code
0c8f4dc579f5de21b6c55fe6e65c3c8eb5473687
[ "Apache-2.0" ]
null
null
null
Python/ML_DL/DL/Neural-Networks-Demystified-master/partOne.py
vbsteja/code
0c8f4dc579f5de21b6c55fe6e65c3c8eb5473687
[ "Apache-2.0" ]
3
2018-08-06T15:35:01.000Z
2020-08-08T07:53:07.000Z
# Neural Networks Demystified # Part 1: Data + Architecture # # Supporting code for short YouTube series on artificial neural networks. # # Stephen Welch # @stephencwelch import numpy as np # X = (hours sleeping, hours studying), y = Score on test X = np.array(([3,5], [5,1], [10,2]), dtype=float) y = np.array(([75], ...
24.470588
73
0.673077
68
416
4.117647
0.676471
0.1
0
0
0
0
0
0
0
0
0
0.061047
0.173077
416
17
74
24.470588
0.752907
0.584135
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d3c91e42dac2041a621585dba8f1dfdc1e88107
19,048
py
Python
manubot/process/util.py
benstear/manubot
df184a5c7e5eb98894a3edb43d9772d1ac3e01ab
[ "BSD-3-Clause" ]
null
null
null
manubot/process/util.py
benstear/manubot
df184a5c7e5eb98894a3edb43d9772d1ac3e01ab
[ "BSD-3-Clause" ]
null
null
null
manubot/process/util.py
benstear/manubot
df184a5c7e5eb98894a3edb43d9772d1ac3e01ab
[ "BSD-3-Clause" ]
null
null
null
import json import logging import os import pathlib import re import textwrap import warnings from typing import List, Optional import jinja2 import pandas import requests import requests_cache import yaml from manubot.util import read_serialized_data, read_serialized_dict from manubot.process.bibliography import loa...
37.496063
118
0.679546
2,318
19,048
5.406816
0.195427
0.031118
0.012208
0.011968
0.129418
0.078034
0.040373
0.03399
0.028724
0.026171
0
0.001896
0.224801
19,048
507
119
37.57002
0.846878
0.249108
0
0.147147
0
0.003003
0.211811
0.028016
0
0
0
0
0.012012
1
0.042042
false
0
0.057057
0
0.147147
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
5d3efa01c738d69c4c33cd7d548df41216a056d7
3,738
py
Python
iba_scrape.py
wmwilcox/mix-mind
02da016f314bb5f30f267f1f46c67c6d4a4c370c
[ "Apache-2.0" ]
1
2021-05-02T19:50:44.000Z
2021-05-02T19:50:44.000Z
iba_scrape.py
wmwilcox/mix-mind
02da016f314bb5f30f267f1f46c67c6d4a4c370c
[ "Apache-2.0" ]
34
2018-08-07T13:09:29.000Z
2021-05-13T17:25:18.000Z
iba_scrape.py
wmwilcox/mix-mind
02da016f314bb5f30f267f1f46c67c6d4a4c370c
[ "Apache-2.0" ]
4
2019-02-14T04:17:24.000Z
2021-05-14T15:33:39.000Z
#! /usr/bin/env python # scrape the IBA pages for cocktail lists import sys import xml.etree.ElementTree as ET from lxml import html import requests from pprint import pprint from collections import OrderedDict import json url = 'http://iba-world.com/new-era-drinks/' jsonfile = 'IBA_new_era_drinks.json' url = 'http...
33.981818
132
0.584805
486
3,738
4.444444
0.312757
0.056019
0.081481
0.060185
0.188889
0.15463
0.124074
0.124074
0.124074
0.124074
0
0.009787
0.234617
3,738
109
133
34.293578
0.745194
0.031033
0
0.127907
0
0
0.162887
0.05365
0
0
0
0
0
0
null
null
0.011628
0.081395
null
null
0.104651
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
5d3f1eebd4bcf21a7d4d5c5ef291d2d1f120515e
1,101
py
Python
Data Structures/Tree.py
Royals-Aeo-Gamer/MyPyMods
be3a521e9f823ce0b704f925b19f6f34dcb5405d
[ "MIT" ]
null
null
null
Data Structures/Tree.py
Royals-Aeo-Gamer/MyPyMods
be3a521e9f823ce0b704f925b19f6f34dcb5405d
[ "MIT" ]
null
null
null
Data Structures/Tree.py
Royals-Aeo-Gamer/MyPyMods
be3a521e9f823ce0b704f925b19f6f34dcb5405d
[ "MIT" ]
null
null
null
class TreeNode: def __init__(self, name, data, parent=None): self.name = name self.parent = parent self.data = data self.childs = {} def add_child(self, name, data): self.childs.update({name:(type(self))(name, data, self)}) def rm_branch(self, name, ansistors_n: lis...
31.457143
73
0.551317
135
1,101
4.281481
0.340741
0.17301
0.076125
0.055363
0
0
0
0
0
0
0
0.005563
0.346957
1,101
34
74
32.382353
0.798331
0
0
0.137931
0
0
0.033636
0
0
0
0
0
0
1
0.206897
false
0
0
0.034483
0.275862
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
5d3f6e4da89be36858bff2a63bb4de2ff240849a
244
py
Python
config.py
ggiaquin16/GroupProject19
f491abc4e8f127552dc7384f3378e14029da8008
[ "CC-BY-3.0" ]
null
null
null
config.py
ggiaquin16/GroupProject19
f491abc4e8f127552dc7384f3378e14029da8008
[ "CC-BY-3.0" ]
null
null
null
config.py
ggiaquin16/GroupProject19
f491abc4e8f127552dc7384f3378e14029da8008
[ "CC-BY-3.0" ]
null
null
null
api_key = "9N7hvPP9yFrjBnELpBdthluBjiOWzJZw" mongo_url = 'mongodb://localhost:27017' mongo_db = 'CarPopularity' mongo_collections = ['CarSalesByYear', 'PopularCarsByRegion'] years_data = ['2019', '2018', '2017', '2016', '2015'] test_mode = True
40.666667
61
0.75
25
244
7.08
0.92
0
0
0
0
0
0
0
0
0
0
0.126126
0.090164
244
6
62
40.666667
0.671171
0
0
0
0
0
0.502041
0.232653
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
5d4008c47be6196efe901a8e83cca011533d0bf1
2,648
py
Python
pytorch_ares/pytorch_ares/attack_torch/mim.py
thu-ml/realsafe
474d549aa402b4cdd5e3629d23d035c31b60a360
[ "MIT" ]
107
2020-06-15T09:55:11.000Z
2020-12-20T11:27:11.000Z
pytorch_ares/pytorch_ares/attack_torch/mim.py
haichen-ber/ares
474d549aa402b4cdd5e3629d23d035c31b60a360
[ "MIT" ]
7
2020-06-14T03:00:18.000Z
2020-12-07T07:10:10.000Z
pytorch_ares/pytorch_ares/attack_torch/mim.py
haichen-ber/ares
474d549aa402b4cdd5e3629d23d035c31b60a360
[ "MIT" ]
19
2020-06-14T08:35:33.000Z
2020-12-19T13:43:41.000Z
import imp import torch import torch.nn as nn import numpy as np import torch.nn.functional as F from pytorch_ares.attack_torch.utils import loss_adv class MIM(object): '''Projected Gradient Descent''' def __init__(self, net, epsilon, p, stepsize, steps, decay_factor, data_name,target, loss, device): ...
39.522388
118
0.583837
324
2,648
4.691358
0.305556
0.007895
0.036842
0.011842
0.063158
0.026316
0
0
0
0
0
0.015427
0.314577
2,648
67
119
39.522388
0.822039
0.064955
0
0.072727
0
0
0.017423
0
0
0
0
0
0.018182
1
0.036364
false
0
0.109091
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d4029e498cad9d638e5fe5f4c3a65f28490da96
303
py
Python
src/utils/templatetags/menubutton.py
pwelzel/bornhack-website
af794e6a2fba06e09626259c7768feb30ff394be
[ "BSD-3-Clause" ]
null
null
null
src/utils/templatetags/menubutton.py
pwelzel/bornhack-website
af794e6a2fba06e09626259c7768feb30ff394be
[ "BSD-3-Clause" ]
null
null
null
src/utils/templatetags/menubutton.py
pwelzel/bornhack-website
af794e6a2fba06e09626259c7768feb30ff394be
[ "BSD-3-Clause" ]
null
null
null
from django import template register = template.Library() @register.simple_tag(takes_context=True) def menubuttonclass(context, appname): if appname == context['request'].resolver_match.func.view_class.__module__.split(".")[0]: return "btn-primary" else: return "btn-default"
25.25
93
0.716172
36
303
5.805556
0.805556
0.086124
0
0
0
0
0
0
0
0
0
0.003906
0.155116
303
11
94
27.545455
0.8125
0
0
0
0
0
0.099338
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5
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
5d41c3b8ea2fc0ea3e45c5b6768c95bfbb166b0c
1,965
py
Python
wiki/tests.py
Prones94/Make_Wiki
f8816eb31bb370f48affff8568a6b0d0ffaf7cd4
[ "MIT" ]
null
null
null
wiki/tests.py
Prones94/Make_Wiki
f8816eb31bb370f48affff8568a6b0d0ffaf7cd4
[ "MIT" ]
5
2020-06-06T01:41:16.000Z
2021-06-10T20:09:01.000Z
wiki/tests.py
Prones94/Make_Wiki
f8816eb31bb370f48affff8568a6b0d0ffaf7cd4
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth.models import User from wiki.models import Page from django.utils.text import slugify # Create your tests here. class WikiPageTest(TestCase): def test_edit(self): user = User.objects.create_user(username='admin', password='djangopony') self...
33.87931
85
0.641221
237
1,965
5.278481
0.28692
0.06235
0.100719
0.148681
0.634692
0.593126
0.56275
0.56275
0.56275
0.56275
0
0.00853
0.224427
1,965
58
86
33.87931
0.812336
0.011705
0
0.432432
0
0
0.139508
0
0
0
0
0
0.162162
1
0.081081
false
0.162162
0.108108
0
0.216216
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
5d42291558faa9e742ab82a57f0f93c0ba5ed168
66
py
Python
birdy/__init__.py
tkiapril/birdy
cf6a8f8d31c9363dbf7398ae3d78fe3069a5a936
[ "MIT" ]
1
2015-01-07T17:47:54.000Z
2015-01-07T17:47:54.000Z
birdy/__init__.py
tkiapril/birdy
cf6a8f8d31c9363dbf7398ae3d78fe3069a5a936
[ "MIT" ]
null
null
null
birdy/__init__.py
tkiapril/birdy
cf6a8f8d31c9363dbf7398ae3d78fe3069a5a936
[ "MIT" ]
null
null
null
__author__ = 'Mitja Pagon <mitja@inueni.com>' __version__ = '0.2'
22
45
0.712121
9
66
4.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0.034483
0.121212
66
2
46
33
0.637931
0
0
0
0
0
0.5
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
5d424aaa1fdb6fb518af8c5169d61b82bae9ef0f
1,928
py
Python
ares/defense/randomization.py
KuanKuanQAQ/ares
40dbefc18f6438e1812021fe6d6c3195f22ca295
[ "MIT" ]
206
2020-12-31T09:43:11.000Z
2022-03-30T07:02:41.000Z
ares/defense/randomization.py
afoolboy/ares
89610d41fdde194e4ad916d29961aaed73383692
[ "MIT" ]
7
2021-01-26T06:45:44.000Z
2022-02-26T05:25:48.000Z
ares/defense/randomization.py
afoolboy/ares
89610d41fdde194e4ad916d29961aaed73383692
[ "MIT" ]
61
2020-12-29T14:02:41.000Z
2022-03-26T14:21:10.000Z
''' The randomization defense method, which applies random . ''' import tensorflow as tf from ares.defense.input_transformation import input_transformation def randomize(xs, scale_min=0.875, pad_value=0.0): ''' Apply random rescaling and padding to xs. :param xs: A batch of inputs for some classifier. ...
43.818182
110
0.688797
289
1,928
4.401384
0.304498
0.050314
0.035377
0.018868
0.268868
0.240566
0.240566
0.240566
0.205975
0.205975
0
0.023196
0.195021
1,928
43
111
44.837209
0.796392
0.320539
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0.090909
0.454545
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
5d43ba93812ece31b158196b6ad2d32a374bd0f8
147
py
Python
annotate/backend/admin.py
hopeogbons/image-annotation
2d8b1799bc791428fd3ab29d8052195996923130
[ "Apache-2.0" ]
null
null
null
annotate/backend/admin.py
hopeogbons/image-annotation
2d8b1799bc791428fd3ab29d8052195996923130
[ "Apache-2.0" ]
11
2021-03-09T10:15:39.000Z
2022-02-26T13:53:51.000Z
annotate/backend/admin.py
hopeogbons/image-annotation
2d8b1799bc791428fd3ab29d8052195996923130
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from annotate.backend.models import Image, Annotation admin.site.register(Image) admin.site.register(Annotation)
24.5
53
0.836735
20
147
6.15
0.6
0.146341
0.276423
0
0
0
0
0
0
0
0
0
0.081633
147
5
54
29.4
0.911111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
5d451217c589da4fbfb78dd271865830d16162d1
826
py
Python
34. Find First and Last Position of Element in Sorted Array/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
2
2019-10-05T09:48:20.000Z
2019-10-05T15:40:01.000Z
34. Find First and Last Position of Element in Sorted Array/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
null
null
null
34. Find First and Last Position of Element in Sorted Array/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
null
null
null
class Solution: def searchRange(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """ if not nums: return [-1, -1] low = 0 high = len(nums) - 1 f = 0 while low<=high: mid = (low+h...
24.294118
52
0.361985
97
826
3.082474
0.298969
0.070234
0.130435
0.113712
0
0
0
0
0
0
0
0.04534
0.51937
826
33
53
25.030303
0.707809
0.069007
0
0.08
0
0
0
0
0
0
0
0
0
1
0.04
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d4867285dd6af6ea7e2fbae337fc27c75376241
1,893
py
Python
c/create.py
LMS57/domato
005739f55b49ead0ac47ea14b324decee05a7625
[ "Apache-2.0" ]
null
null
null
c/create.py
LMS57/domato
005739f55b49ead0ac47ea14b324decee05a7625
[ "Apache-2.0" ]
null
null
null
c/create.py
LMS57/domato
005739f55b49ead0ac47ea14b324decee05a7625
[ "Apache-2.0" ]
null
null
null
data = open('./original').readlines() alphabet = { "<":"lt", ">":"gt", "=":"=", "-":'-', "+":"+", "-":"-", "~":"~", "!":"ex", "%":"%", "^":"^", "&":"&", "*":"*", "(":"(", ")":"right_paran", "[":"[",...
18.742574
71
0.320655
184
1,893
3.293478
0.25
0.029703
0.049505
0.036304
0.036304
0.036304
0
0
0
0
0
0.014507
0.453777
1,893
100
72
18.93
0.571567
0.01215
0
0.168539
0
0
0.057785
0
0
0
0
0
0
0
null
null
0
0
null
null
0.044944
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
5d48a2b09ec3e91f3ac7c94a610ddffec5774abc
10,500
py
Python
AppServer/google/appengine/api/memcache/memcache_distributed.py
isabella232/scale-safe
8b887726768106b6b67d7be6ea257bee5cd83f9a
[ "Apache-2.0" ]
3
2016-06-12T01:18:49.000Z
2018-07-16T18:20:23.000Z
AppServer/google/appengine/api/memcache/memcache_distributed.py
davgit/appscale
17d35a14fa5a56975de1e3517bec9e7f9047d82a
[ "Apache-2.0" ]
1
2021-06-08T10:04:35.000Z
2021-06-08T10:04:35.000Z
AppServer/google/appengine/api/memcache/memcache_distributed.py
davgit/appscale
17d35a14fa5a56975de1e3517bec9e7f9047d82a
[ "Apache-2.0" ]
1
2020-05-25T02:59:15.000Z
2020-05-25T02:59:15.000Z
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
33.980583
77
0.701619
1,311
10,500
5.409611
0.223494
0.00987
0.016779
0.032572
0.218133
0.11943
0.078962
0.039763
0.01692
0.01692
0
0.005079
0.212381
10,500
308
78
34.090909
0.852479
0.094381
0
0.147929
0
0
0.018651
0.003646
0
0
0
0
0
0
null
null
0
0.065089
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
5d493476e5ae3fc5c2137c7a547ce012434fae4f
4,927
py
Python
inflateutils/exportmesh.py
arpruss/inflatemesh
ab4abfc7794fd4cf96f41bb797e1b2a61f687a46
[ "MIT" ]
8
2017-11-30T14:03:25.000Z
2021-03-02T03:16:01.000Z
inflateutils/exportmesh.py
arpruss/inflatemesh
ab4abfc7794fd4cf96f41bb797e1b2a61f687a46
[ "MIT" ]
2
2019-03-15T04:10:04.000Z
2021-01-11T17:44:31.000Z
inflateutils/exportmesh.py
arpruss/inflatemesh
ab4abfc7794fd4cf96f41bb797e1b2a61f687a46
[ "MIT" ]
2
2018-04-08T10:59:39.000Z
2021-01-28T03:37:57.000Z
from struct import pack from .vector import * from .formatdecimal import decimal from numbers import Number import os import sys try: basestring except: basestring = str def isColorTriangleList(polys): return isinstance(polys[0][1][0][0], Number) def toPolyhedra(polys): if isColorTriangleList(po...
33.517007
166
0.558149
601
4,927
4.574043
0.27787
0.003638
0.004365
0.022554
0.201528
0.120771
0.090215
0.069116
0.029101
0.029101
0
0.024005
0.306677
4,927
147
167
33.517007
0.780738
0.137
0
0.151786
0
0
0.040317
0
0.008929
0
0.00144
0.006803
0
1
0.071429
false
0
0.0625
0.008929
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
5d4b0bc52d1482cd0028c140868e692cfb38b3c0
3,982
py
Python
Assignment1/Identification/match_module.py
arywatt/FDS_2020_2021
392f360b219c6ef5e2c685da1f3c8aab7415ce32
[ "MIT" ]
null
null
null
Assignment1/Identification/match_module.py
arywatt/FDS_2020_2021
392f360b219c6ef5e2c685da1f3c8aab7415ce32
[ "MIT" ]
null
null
null
Assignment1/Identification/match_module.py
arywatt/FDS_2020_2021
392f360b219c6ef5e2c685da1f3c8aab7415ce32
[ "MIT" ]
1
2020-10-29T08:38:42.000Z
2020-10-29T08:38:42.000Z
import numpy as np from PIL import Image import matplotlib.pyplot as plt import histogram_module import dist_module def rgb2gray(rgb): r, g, b = rgb[:, :, 0], rgb[:, :, 1], rgb[:, :, 2] gray = 0.2989 * r + 0.5870 * g + 0.1140 * b return gray # model_images - list of file names of model images # query_...
33.745763
101
0.633852
563
3,982
4.26643
0.250444
0.054954
0.035387
0.036636
0.17985
0.146128
0.11657
0.090758
0.070774
0.070774
0
0.013213
0.27775
3,982
117
102
34.034188
0.821975
0.301356
0
0.096774
0
0
0.008724
0
0
0
0
0.008547
0
1
0.064516
false
0
0.080645
0
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
5d4c8cdbc546fb237f365ef954c77cb12a3738d8
1,566
py
Python
dycco/__main__.py
rojalator/dycco
84ace8727aef84bb3d886cdaa3d3aef1089f1935
[ "MIT" ]
null
null
null
dycco/__main__.py
rojalator/dycco
84ace8727aef84bb3d886cdaa3d3aef1089f1935
[ "MIT" ]
1
2022-03-22T07:35:15.000Z
2022-03-22T09:15:44.000Z
dycco/__main__.py
rojalator/dycco
84ace8727aef84bb3d886cdaa3d3aef1089f1935
[ "MIT" ]
null
null
null
import argparse import logging import sys from .dycco import document def main(paths, output_dir, use_ascii:bool, escape_html:bool, single_file:bool): try: document(paths, output_dir, use_ascii, escape_html, single_file) except IOError as e: logging.error('Unable to open file: %s', e) ...
46.058824
121
0.707535
219
1,566
4.872146
0.43379
0.059044
0.056232
0.093721
0.128397
0.08716
0
0
0
0
0
0.00536
0.166028
1,566
33
122
47.454545
0.811639
0
0
0.074074
0
0
0.344189
0
0
0
0
0
0
1
0.037037
false
0
0.148148
0
0.296296
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
5d4c9607e3defd3816cf4fbd7853e01e09dcb111
14,354
py
Python
jumpy/jumpy/ndarray.py
rghwer/testdocs
8fafa40407411ed7a3f8216e691e42e0c7d32083
[ "Apache-2.0" ]
13,006
2015-02-13T18:35:31.000Z
2022-03-18T12:11:44.000Z
jumpy/jumpy/ndarray.py
pxiuqin/deeplearning4j
e11ddf3c24d355b43d36431687b807c8561aaae4
[ "Apache-2.0" ]
5,319
2015-02-13T08:21:46.000Z
2019-06-12T14:56:50.000Z
jumpy/jumpy/ndarray.py
pxiuqin/deeplearning4j
e11ddf3c24d355b43d36431687b807c8561aaae4
[ "Apache-2.0" ]
4,719
2015-02-13T22:48:55.000Z
2022-03-22T07:25:36.000Z
################################################################################ # Copyright (c) 2015-2018 Skymind, Inc. # # This program and the accompanying materials are made available under the # terms of the Apache License, Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0. # # Unless...
27.980507
106
0.544448
1,713
14,354
4.42732
0.161705
0.056962
0.026108
0.019778
0.396493
0.370649
0.337553
0.320675
0.307489
0.281646
0
0.008914
0.335656
14,354
512
107
28.035156
0.786388
0.0565
0
0.41
0
0
0.045182
0
0
0
0
0
0.0075
1
0.0825
false
0
0.0125
0.0125
0.2425
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
5d4ce281f4ac42992169e4a43a604e5e249ccc55
592
py
Python
Python/usec_mode.py
hanayik/StimSync
f08ec01a36c47b00bfe4937b5a6eb2a60af0713d
[ "BSD-2-Clause" ]
6
2017-12-04T18:33:45.000Z
2021-08-04T02:07:21.000Z
source/Python/usec_mode.py
neurolabusc/StimSync
749908572bda3073b0911566d50fe92d74d3cdb7
[ "BSD-2-Clause" ]
null
null
null
source/Python/usec_mode.py
neurolabusc/StimSync
749908572bda3073b0911566d50fe92d74d3cdb7
[ "BSD-2-Clause" ]
3
2018-01-13T12:17:18.000Z
2021-08-01T06:43:10.000Z
import serial ser = serial.Serial('/dev/tty.usbmodem7071', 115200, timeout=10) ser.write("\xb1\xa3\xb5\xb5") #set usec mode 177,163,181,181 ser.flush() ser.flushInput() obs = ser.read(8) if len(obs) != 8: print('Error: no buttons presses detected') print 'Observed data (as hex): '+ obs.encode('hex') obsBin = [ord(...
37
87
0.663851
102
592
3.852941
0.598039
0.040712
0.05598
0.071247
0
0
0
0
0
0
0
0.11306
0.133446
592
16
88
37
0.653021
0.143581
0
0
0
0
0.27668
0.041502
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5d4e94cca5bcc101399e2e8aec4db86507599854
4,839
py
Python
torchaudio/datasets/libritts.py
hahaxun/audio
87a1886ecfa83b398a2a9a09d9a94bd9dabc5cf5
[ "BSD-2-Clause" ]
1
2021-04-20T09:04:24.000Z
2021-04-20T09:04:24.000Z
torchaudio/datasets/libritts.py
hahaxun/audio
87a1886ecfa83b398a2a9a09d9a94bd9dabc5cf5
[ "BSD-2-Clause" ]
null
null
null
torchaudio/datasets/libritts.py
hahaxun/audio
87a1886ecfa83b398a2a9a09d9a94bd9dabc5cf5
[ "BSD-2-Clause" ]
null
null
null
import os from typing import Tuple import torchaudio from torch import Tensor from torch.utils.data import Dataset from torchaudio.datasets.utils import ( download_url, extract_archive, walk_files, ) URL = "train-clean-100" FOLDER_IN_ARCHIVE = "LibriTTS" _CHECKSUMS = { "http://www.openslr.org/60/dev-c...
32.046358
98
0.619963
589
4,839
4.887946
0.229202
0.020841
0.038902
0.047239
0.207711
0.207711
0.148663
0.097951
0.06669
0.041681
0
0.052543
0.260591
4,839
150
99
32.26
0.752096
0.198388
0
0
0
0
0.191614
0.059448
0
0
0
0
0
1
0.040404
false
0
0.060606
0.010101
0.171717
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
5d4ed462393daeadb0c9bc3293879acfa5af3ab3
2,164
py
Python
Others/Source/19/19.2/barh_test.py
silence0201/Learn-Python
662da7c0e74221cedb445ba17d5cb1cd3af41c86
[ "MIT" ]
1
2018-05-30T01:38:23.000Z
2018-05-30T01:38:23.000Z
Others/Source/19/19.2/barh_test.py
silence0201/Learn-Python
662da7c0e74221cedb445ba17d5cb1cd3af41c86
[ "MIT" ]
null
null
null
Others/Source/19/19.2/barh_test.py
silence0201/Learn-Python
662da7c0e74221cedb445ba17d5cb1cd3af41c86
[ "MIT" ]
null
null
null
# coding: utf-8 ######################################################################### # 网站: <a href="http://www.crazyit.org">疯狂Java联盟</a> # # author yeeku.H.lee kongyeeku@163.com # # # # version...
46.042553
74
0.420055
221
2,164
4.004525
0.515837
0.090395
0.045198
0.047458
0.255367
0.255367
0.144633
0.090395
0.090395
0.090395
0
0.104625
0.390481
2,164
46
75
47.043478
0.566338
0.490296
0
0
0
0
0.128995
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d4ed8a99839b3110a2db17a408cf4dde65b3291
2,336
py
Python
03_docker_compose/03_c_simple_case_with_mongodb_orm/app/app.py
kendny/study_docker
edb376fb69319a78e05f60faa5dcc88d527602c4
[ "BSD-2-Clause" ]
2
2019-05-09T01:41:16.000Z
2022-01-06T01:06:07.000Z
03_docker_compose/03_c_simple_case_with_mongodb_orm/app/app.py
walkacross/docker_in_practice
da24da76b4fa3eabca5004abd59d7eef7a48988b
[ "BSD-2-Clause" ]
null
null
null
03_docker_compose/03_c_simple_case_with_mongodb_orm/app/app.py
walkacross/docker_in_practice
da24da76b4fa3eabca5004abd59d7eef7a48988b
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 18 20:13:57 2018 @author: allen """ import random, os, json, datetime, time from flask import Flask, Response from pymongo import MongoClient from bson import json_util app = Flask(__name__) MONGO_URI = "mongodb://mongodb:27017" # "mongodb:<con...
26.545455
110
0.630137
296
2,336
4.844595
0.435811
0.036262
0.027197
0.033473
0.114365
0.069735
0.069735
0.050209
0.050209
0
0
0.026913
0.188784
2,336
87
111
26.850575
0.729815
0.133562
0
0
0
0
0.169388
0.044898
0
0
0
0
0
1
0.075472
false
0
0.132075
0
0.377358
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
5d4f428d1c149bf1e2a1658ede1f6e9adcddbdd2
1,523
py
Python
goethe/eval/analogy_space.py
HPI-DeepLearning/wort2vek
bc91c2752a8516665d270c7a7a793ec484c970c4
[ "MIT" ]
4
2017-05-01T01:02:40.000Z
2022-02-03T16:14:19.000Z
goethe/eval/analogy_space.py
HPI-DeepLearning/wort2vek
bc91c2752a8516665d270c7a7a793ec484c970c4
[ "MIT" ]
6
2017-04-06T22:10:09.000Z
2017-04-06T22:10:57.000Z
goethe/eval/analogy_space.py
HPI-DeepLearning/wort2vek
bc91c2752a8516665d270c7a7a793ec484c970c4
[ "MIT" ]
null
null
null
#! /usr/bin/Python from gensim.models.keyedvectors import KeyedVectors from scipy import spatial from numpy import linalg import argparse import sys vector_file = sys.argv[1] if len(sys.argv) != 6: print('arguments wrong!') print(len(sys.argv)) exit() else: words = [sys.argv[2], sys.argv[3], sys.arg...
27.690909
91
0.644123
242
1,523
4.033058
0.297521
0.102459
0.098361
0.135246
0.110656
0.053279
0
0
0
0
0
0.064491
0.154957
1,523
54
92
28.203704
0.693862
0.06566
0
0.04878
0
0
0.137729
0
0
0
0
0
0
1
0
false
0
0.121951
0
0.121951
0.365854
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
5d5195b07f67a7785033de940e7003695bbf2ec4
2,497
py
Python
localgraphclustering/algorithms/eig2_nL.py
vishalbelsare/LocalGraphClustering
a6325350997932d548a876deb259c2387fc2c809
[ "MIT" ]
106
2017-09-06T04:47:02.000Z
2022-03-30T07:43:27.000Z
localgraphclustering/algorithms/eig2_nL.py
vishalbelsare/LocalGraphClustering
a6325350997932d548a876deb259c2387fc2c809
[ "MIT" ]
51
2017-09-06T02:22:09.000Z
2021-12-15T11:39:28.000Z
localgraphclustering/algorithms/eig2_nL.py
vishalbelsare/LocalGraphClustering
a6325350997932d548a876deb259c2387fc2c809
[ "MIT" ]
38
2017-09-04T21:45:13.000Z
2022-01-19T09:48:25.000Z
import numpy as np import scipy as sp import scipy.sparse.linalg as splinalg def eig2_nL(g, tol_eigs = 1.0e-6, normalize:bool = True, dim:int=1): """ DESCRIPTION ----------- Computes the eigenvector that corresponds to the second smallest eigenvalue of the normalized Laplacian matrix ...
33.293333
87
0.621946
353
2,497
4.260623
0.371105
0.031915
0.031915
0.043883
0.303191
0.292553
0.267287
0.240691
0.203457
0.163564
0
0.015292
0.26672
2,497
74
88
33.743243
0.806117
0.421706
0
0.086957
0
0
0.003597
0
0
0
0
0
0
1
0.086957
false
0
0.130435
0
0.304348
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
5d527097e73751e96803cabcd187b0fd2d52470c
1,737
py
Python
build/common/hex2carray.py
isabella232/nanos-nonsecure-firmware
d1ce2e0e01a8ed6d8840a24308e16f6560a626aa
[ "Apache-2.0" ]
16
2018-03-20T11:52:29.000Z
2021-02-12T07:39:54.000Z
build/common/hex2carray.py
LedgerHQ/nanos-nonsecure-firmware
d1ce2e0e01a8ed6d8840a24308e16f6560a626aa
[ "Apache-2.0" ]
1
2022-03-06T09:56:16.000Z
2022-03-06T09:56:16.000Z
build/common/hex2carray.py
isabella232/nanos-nonsecure-firmware
d1ce2e0e01a8ed6d8840a24308e16f6560a626aa
[ "Apache-2.0" ]
7
2017-08-24T00:42:09.000Z
2022-03-06T09:51:51.000Z
""" ******************************************************************************* * Ledger Blue * (c) 2016 Ledger * * 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....
31.581818
146
0.599885
240
1,737
4.333333
0.483333
0.060577
0.053846
0.05
0.057692
0
0
0
0
0
0
0.03771
0.17559
1,737
54
147
32.166667
0.688547
0.008636
0
0
0
0
0.15
0
0
0
0.016667
0
0
0
null
null
0
0.086957
null
null
0.130435
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
5d52775ef423ec088ebd9b5618d6a0b7639f157e
2,418
py
Python
setup.py
xames3/vdoxa
8fa945449bb34447ded0c421214c0252ff523d4a
[ "Apache-2.0" ]
1
2020-02-04T08:18:54.000Z
2020-02-04T08:18:54.000Z
setup.py
xames3/vdoxa
8fa945449bb34447ded0c421214c0252ff523d4a
[ "Apache-2.0" ]
null
null
null
setup.py
xames3/vdoxa
8fa945449bb34447ded0c421214c0252ff523d4a
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 XAMES3. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
31
72
0.715054
322
2,418
5.273292
0.562112
0.035336
0.015312
0.018846
0
0
0
0
0
0
0
0.007371
0.158395
2,418
77
73
31.402597
0.827027
0.460711
0
0.04878
0
0
0.269592
0
0
0
0
0
0
1
0.02439
false
0
0.04878
0
0.097561
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
5d52a5f4ab272695a4c951a2d0a2e0909bf0ed0b
1,413
py
Python
application/modules/login.py
BaggerFast/Simple_votings
843769fa6fd2c04feb542e6b301b7b4810260d4e
[ "MIT" ]
null
null
null
application/modules/login.py
BaggerFast/Simple_votings
843769fa6fd2c04feb542e6b301b7b4810260d4e
[ "MIT" ]
null
null
null
application/modules/login.py
BaggerFast/Simple_votings
843769fa6fd2c04feb542e6b301b7b4810260d4e
[ "MIT" ]
null
null
null
from django.contrib import messages from django.contrib.auth import login, authenticate from django.shortcuts import render, redirect from django.urls import reverse from django.views import View from application.forms import AuthenticateForm from application.views import get_navbar, Page class LoginView(View): ...
36.230769
95
0.640481
153
1,413
5.823529
0.359477
0.08642
0.060606
0.049383
0.332211
0.332211
0.332211
0.244669
0.145903
0.145903
0
0
0.255485
1,413
38
96
37.184211
0.846958
0
0
0.181818
0
0
0.108988
0
0
0
0
0
0
1
0.090909
false
0.090909
0.212121
0
0.424242
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
5d52ada1ae418220d17ef038d3cc8e85cc6253d2
2,938
py
Python
little_questions/utils/log.py
HelloChatterbox/little_questions
04bee86244b42fdaed9f8d010c2f83037ad753f6
[ "MIT" ]
null
null
null
little_questions/utils/log.py
HelloChatterbox/little_questions
04bee86244b42fdaed9f8d010c2f83037ad753f6
[ "MIT" ]
null
null
null
little_questions/utils/log.py
HelloChatterbox/little_questions
04bee86244b42fdaed9f8d010c2f83037ad753f6
[ "MIT" ]
null
null
null
# Copyright 2017 Mycroft AI Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
28.803922
74
0.596664
362
2,938
4.776243
0.400552
0.057837
0.037594
0.04627
0.08849
0
0
0
0
0
0
0.018276
0.273656
2,938
101
75
29.089109
0.79194
0.357386
0
0.185185
0
0
0.063562
0.012603
0
0
0
0
0
1
0.148148
false
0
0.055556
0
0.407407
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
5d53556c82d1a27255c1497656b5efc347cde76d
1,035
py
Python
alipay/aop/api/response/AlipayOpenMiniVersionAuditApplyResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayOpenMiniVersionAuditApplyResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayOpenMiniVersionAuditApplyResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayOpenMiniVersionAuditApplyResponse(AlipayResponse): def __init__(self): super(AlipayOpenMiniVersionAuditApplyResponse, self).__init__() self._speed_up = None ...
28.75
112
0.699517
124
1,035
5.459677
0.266129
0.186115
0.146233
0.088626
0.22452
0
0
0
0
0
0
0.00123
0.214493
1,035
35
113
29.571429
0.831488
0.04058
0
0.08
0
0
0.042381
0
0
0
0
0
0
1
0.24
false
0
0.08
0.08
0.44
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
5d53e848dc1be11f4d81bb7ffe655fc1c2f327c3
1,923
py
Python
cvstudio/view/widgets/loading_dialog/loading_dialog.py
haruiz/PytorchCvStudio
ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef
[ "MIT" ]
32
2019-10-31T03:10:52.000Z
2020-12-23T11:50:53.000Z
cvstudio/view/widgets/loading_dialog/loading_dialog.py
haruiz/CvStudio
ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef
[ "MIT" ]
19
2019-10-31T15:06:05.000Z
2020-06-15T02:21:55.000Z
cvstudio/view/widgets/loading_dialog/loading_dialog.py
haruiz/PytorchCvStudio
ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef
[ "MIT" ]
8
2019-10-31T03:32:50.000Z
2020-07-17T20:47:37.000Z
import os from PyQt5 import QtCore from PyQt5.QtCore import QRect, QPoint from PyQt5.QtGui import QMovie, QCloseEvent, QShowEvent from PyQt5.QtWidgets import QDialog, QLabel, QVBoxLayout, QApplication, QWidget class QLoadingDialog(QDialog): def __init__(self, parent=None): super(QLoadingDialog, self).__i...
36.283019
95
0.637546
200
1,923
6.05
0.43
0.044628
0.018182
0.026446
0.036364
0
0
0
0
0
0
0.009729
0.25169
1,923
52
96
36.980769
0.831133
0.034841
0
0
0
0
0.021047
0.01565
0
0
0
0
0
1
0.116279
false
0
0.116279
0
0.302326
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
5d546fd247cbdfbb018dec6e3f4e3273ffdefdb8
3,115
py
Python
pysnmp-with-texts/MWORKS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/MWORKS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/MWORKS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module MWORKS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/MWORKS-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:16:04 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:...
97.34375
505
0.759551
376
3,115
6.292553
0.345745
0.007608
0.011412
0.015216
0.476331
0.326712
0.326712
0.24049
0.231192
0.221048
0
0.070743
0.09695
3,115
31
506
100.483871
0.770352
0.100803
0
0
0
0
0.271848
0.015759
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d54ea522a32fa91aca889c9606f036f2de763c3
3,935
py
Python
Assets/Editor/PostprocessBuildPlayer_MpireNxusMeasurementPostBuildiOS.py
mpire-nxus/nxus_unity_sdk
34a1ebfc588c47c1c71fae11f29e82c1172c6dc2
[ "MIT" ]
1
2018-03-13T02:44:15.000Z
2018-03-13T02:44:15.000Z
Assets/Editor/PostprocessBuildPlayer_MpireNxusMeasurementPostBuildiOS.py
mpire-nxus/nxus_unity_sdk
34a1ebfc588c47c1c71fae11f29e82c1172c6dc2
[ "MIT" ]
null
null
null
Assets/Editor/PostprocessBuildPlayer_MpireNxusMeasurementPostBuildiOS.py
mpire-nxus/nxus_unity_sdk
34a1ebfc588c47c1c71fae11f29e82c1172c6dc2
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import re from subprocess import Popen, PIPE import argparse from pbxproj import XcodeProject, TreeType from pbxproj import FileOptions def main(): parser = argparse.ArgumentParser(description="MpireNxusMeasurement post build iOS script") parser.add_argument('ios_project_path...
38.578431
164
0.706226
516
3,935
5.131783
0.317829
0.086103
0.096299
0.087236
0.150302
0.135196
0.064955
0.064955
0
0
0
0.003803
0.198221
3,935
101
165
38.960396
0.835499
0.179161
0
0
0
0
0.175592
0.041719
0
0
0
0
0
1
0.118644
false
0
0.101695
0
0.288136
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
5d553e6733970b4280761ad4ec3ddb284ae1146d
1,382
py
Python
vars_in_python.py
klyusba/python-quiz
9f469417458f8ba6b21f9507cc860ca4547ea67b
[ "MIT" ]
null
null
null
vars_in_python.py
klyusba/python-quiz
9f469417458f8ba6b21f9507cc860ca4547ea67b
[ "MIT" ]
null
null
null
vars_in_python.py
klyusba/python-quiz
9f469417458f8ba6b21f9507cc860ca4547ea67b
[ "MIT" ]
null
null
null
# == 1 == bar = [1, 2] def foo(bar): bar = sum(bar) return bar print(foo(bar)) # == 2 == bar = [1, 2] def foo(bar): bar[0] = 1 return sum(bar) print(foo(bar)) # == 3 == bar = [1, 2] def foo(): bar = sum(bar) return bar print(foo()) # == 4 == bar = [1, 2] def foo(bar): bar =...
11.145161
32
0.469609
243
1,382
2.670782
0.127572
0.117103
0.138675
0.07396
0.701079
0.68567
0.588598
0.460709
0.460709
0.395994
0
0.065762
0.306802
1,382
123
33
11.235772
0.611691
0.096237
0
0.753425
0
0
0
0
0
0
0
0
0
1
0.082192
false
0
0
0.013699
0.164384
0.273973
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d55a06354d86f35af5fb38858161328b7581a23
10,786
py
Python
hack/dev/gh-replay-events.py
sm43/pipelines-as-code
bd21e48c96ab128d533701ecd1a2df7a0d136d65
[ "Apache-2.0" ]
null
null
null
hack/dev/gh-replay-events.py
sm43/pipelines-as-code
bd21e48c96ab128d533701ecd1a2df7a0d136d65
[ "Apache-2.0" ]
null
null
null
hack/dev/gh-replay-events.py
sm43/pipelines-as-code
bd21e48c96ab128d533701ecd1a2df7a0d136d65
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Author: Chmouel Boudjnah <chmouel@chmouel.com> # # 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...
30.555241
113
0.623215
1,409
10,786
4.610362
0.203691
0.039717
0.022167
0.020474
0.356681
0.29064
0.2246
0.197506
0.187038
0.175954
0
0.012112
0.242166
10,786
352
114
30.642045
0.782603
0.067495
0
0.300676
0
0.016892
0.262225
0.080968
0
0
0
0
0
1
0.040541
false
0.003378
0.047297
0
0.128378
0.060811
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
5d579c372853402ecfd7e953a09a9d04c6d7c725
114
py
Python
nintendeals/noa/api/__init__.py
Pooroomoo/nintendeals
993f4d159ff405ed82cd2bb023c7b75d921d0acb
[ "MIT" ]
37
2020-04-30T13:48:02.000Z
2022-03-09T04:55:54.000Z
nintendeals/noa/api/__init__.py
Pooroomoo/nintendeals
993f4d159ff405ed82cd2bb023c7b75d921d0acb
[ "MIT" ]
4
2020-05-09T03:17:44.000Z
2021-04-28T00:53:55.000Z
nintendeals/noa/api/__init__.py
Pooroomoo/nintendeals
993f4d159ff405ed82cd2bb023c7b75d921d0acb
[ "MIT" ]
5
2020-07-22T06:42:27.000Z
2022-02-07T22:35:57.000Z
from .algolia import search_by_nsuid from .algolia import search_by_platform from .algolia import search_by_query
28.5
39
0.868421
18
114
5.166667
0.444444
0.354839
0.548387
0.741935
0.806452
0
0
0
0
0
0
0
0.105263
114
3
40
38
0.911765
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
1
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
9
5d58e721508a643ec9487a7f661ca1a66cd5a971
3,659
py
Python
076_Minimum_Window_Substring.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
076_Minimum_Window_Substring.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
076_Minimum_Window_Substring.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
# Other solution # V2 def minWindow(s, t): need = collections.Counter(t) #hash table to store char frequency missing = len(t) #total number of chars we care start, end = 0, 0 i = 0 for j, char in enumerate(s, 1): #index j from 1 if need[char] > 0...
36.959596
179
0.52774
556
3,659
3.482014
0.296763
0.011364
0.018595
0.01343
0.052686
0.015496
0.015496
0.015496
0
0
0
0.017048
0.390817
3,659
98
180
37.336735
0.848811
0.52446
0
0.24
0
0
0
0
0
0
0
0
0
1
0.04
false
0
0
0
0.12
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
5d5c6de0926f1a98ed21db39c4944a17b7f61725
823
py
Python
home/migrations/0002_auto_20171017_0412.py
Taywee/amberherbert.com
6bf384d7cdf18dc613252fe4dde38545150eabbc
[ "MIT" ]
null
null
null
home/migrations/0002_auto_20171017_0412.py
Taywee/amberherbert.com
6bf384d7cdf18dc613252fe4dde38545150eabbc
[ "MIT" ]
2
2017-10-15T20:36:59.000Z
2017-10-17T05:27:49.000Z
home/migrations/0002_auto_20171017_0412.py
Taywee/amberherbert.com
6bf384d7cdf18dc613252fe4dde38545150eabbc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-17 04:12 from __future__ import unicode_literals from django.db import migrations import wagtail.core.blocks import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('home', '0001_initial'), ] operations ...
35.782609
384
0.684083
104
823
5.317308
0.663462
0.119349
0.122966
0
0
0
0
0
0
0
0
0.034175
0.18226
823
22
385
37.409091
0.787519
0.082625
0
0
1
0
0.194149
0
0
0
0
0
0
1
0
false
0
0.266667
0
0.466667
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
5d5caf5c5d1415de34379e45359c322cac37e6ff
2,766
py
Python
lib/adv_model.py
chawins/entangle-rep
3e9e0d6e7536b0de0e35d7f8717f2ccc8e887759
[ "MIT" ]
15
2019-06-30T12:30:17.000Z
2021-12-07T20:20:36.000Z
lib/adv_model.py
chawins/entangle-rep
3e9e0d6e7536b0de0e35d7f8717f2ccc8e887759
[ "MIT" ]
2
2020-06-11T10:10:52.000Z
2021-12-21T08:50:33.000Z
lib/adv_model.py
chawins/entangle-rep
3e9e0d6e7536b0de0e35d7f8717f2ccc8e887759
[ "MIT" ]
9
2019-07-09T14:52:30.000Z
2020-10-27T19:18:34.000Z
import torch import torch.nn as nn import torch.nn.functional as F class PGDModel(nn.Module): """ code adapted from https://github.com/karandwivedi42/adversarial/blob/master/main.py """ def __init__(self, basic_net, config): super(PGDModel, self).__init__() self.basic_net = basic_...
35.012658
78
0.578453
360
2,766
4.272222
0.233333
0.062419
0.078023
0.041612
0.748375
0.70091
0.70091
0.673602
0.63459
0.63459
0
0.012697
0.288142
2,766
78
79
35.461538
0.76841
0.060376
0
0.631579
0
0
0.063281
0
0
0
0
0
0.035088
1
0.070175
false
0
0.052632
0
0.22807
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5d5d633b271390741583d9b310e4391f6dfe899f
4,673
py
Python
fs_image/rpm/storage/tests/storage_base_test.py
singhaditya28/fs_image
3d122da48eab8b26e5add6754cc1f91296139c58
[ "MIT" ]
null
null
null
fs_image/rpm/storage/tests/storage_base_test.py
singhaditya28/fs_image
3d122da48eab8b26e5add6754cc1f91296139c58
[ "MIT" ]
null
null
null
fs_image/rpm/storage/tests/storage_base_test.py
singhaditya28/fs_image
3d122da48eab8b26e5add6754cc1f91296139c58
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import unittest from unittest.mock import patch, MagicMock from typing import List, Tuple from .. import Storage # M...
41.723214
79
0.558742
549
4,673
4.661202
0.380692
0.014068
0.033216
0.029699
0.116843
0.094177
0.068386
0.045721
0.031262
0
0
0.004627
0.35245
4,673
111
80
42.099099
0.841044
0.283544
0
0.077922
0
0
0.059552
0.006191
0
0
0
0
0.116883
1
0.025974
false
0
0.051948
0
0.116883
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
5d5d8bde571d6e8d8f2723242cd35348a71ff40f
8,457
py
Python
sdk/python/pulumi_gcp/kms/get_kms_crypto_key_version.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/kms/get_kms_crypto_key_version.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/kms/get_kms_crypto_key_version.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
41.253659
247
0.684522
1,010
8,457
5.506931
0.192079
0.055016
0.019417
0.024272
0.436893
0.385293
0.37918
0.330097
0.312118
0.312118
0
0.001358
0.216271
8,457
204
248
41.455882
0.837809
0.386898
0
0.119266
1
0
0.148293
0.04566
0
0
0
0
0
1
0.110092
false
0
0.055046
0.018349
0.275229
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
5d5e98fd28e904d5e1f509a5b35e66ec3047cc56
353
py
Python
lecture11/subsets.py
nd-cse-30872-fa20/cse-30872-fa20-examples
7a991a0499e03bf91ac8ba40c99245d5d926e20c
[ "MIT" ]
null
null
null
lecture11/subsets.py
nd-cse-30872-fa20/cse-30872-fa20-examples
7a991a0499e03bf91ac8ba40c99245d5d926e20c
[ "MIT" ]
null
null
null
lecture11/subsets.py
nd-cse-30872-fa20/cse-30872-fa20-examples
7a991a0499e03bf91ac8ba40c99245d5d926e20c
[ "MIT" ]
2
2020-08-10T15:05:39.000Z
2020-08-12T15:16:01.000Z
#!/usr/bin/env python3 import itertools # Constants NUMBERS = range(0, 10) # Main Execution def main(): count = 0 for length in range(0, len(NUMBERS) + 1): for subset in itertools.combinations(NUMBERS, length): if sum(subset) % 3 == 0: count += 1 print(count) if __...
16.045455
62
0.580737
45
353
4.377778
0.6
0.060914
0
0
0
0
0
0
0
0
0
0.040161
0.294618
353
21
63
16.809524
0.751004
0.130312
0
0
0
0
0.026316
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.181818
0.090909
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
5d5ec924b9a968b7509ed5badaef99e8de842bde
21,520
py
Python
src/toil/batchSystems/abstractBatchSystem.py
Hexotical/toil
312b6e1f221ee7f7f187dd6dbfce1aecffd00e09
[ "Apache-2.0" ]
348
2018-07-08T03:38:28.000Z
2022-03-11T18:57:44.000Z
src/toil/batchSystems/abstractBatchSystem.py
Hexotical/toil
312b6e1f221ee7f7f187dd6dbfce1aecffd00e09
[ "Apache-2.0" ]
1,700
2018-07-05T18:28:49.000Z
2022-03-31T14:09:04.000Z
src/toil/batchSystems/abstractBatchSystem.py
Hexotical/toil
312b6e1f221ee7f7f187dd6dbfce1aecffd00e09
[ "Apache-2.0" ]
126
2018-07-11T18:59:29.000Z
2022-01-24T03:14:02.000Z
# Copyright (C) 2015-2021 Regents of the University of California # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
42.613861
188
0.660037
2,646
21,520
5.345805
0.239229
0.020997
0.009897
0.02029
0.12796
0.114811
0.107741
0.096854
0.091481
0.088936
0
0.00187
0.279275
21,520
504
189
42.698413
0.910123
0.535781
0
0.215116
0
0
0.093696
0.018418
0
0
0
0.005952
0.011628
1
0.145349
false
0.017442
0.075581
0
0.372093
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
5d6066cbcb225097d2a844447d53060bd3350b74
1,969
py
Python
demo/other_demo.py
Heartfilia/lite_tools
b3432ba7cb60502ac64d45e23022e20555fb1588
[ "MIT" ]
5
2021-05-10T07:35:47.000Z
2022-03-07T01:31:12.000Z
demo/other_demo.py
Heartfilia/lite_tools
b3432ba7cb60502ac64d45e23022e20555fb1588
[ "MIT" ]
null
null
null
demo/other_demo.py
Heartfilia/lite_tools
b3432ba7cb60502ac64d45e23022e20555fb1588
[ "MIT" ]
1
2022-03-03T03:23:26.000Z
2022-03-03T03:23:26.000Z
# -*- coding: utf-8 -*- from lite_tools import get_md5, get_sha, get_sha3, get_b64e, get_b64d # about hashlib ==> get_md5, get_sha, get_sha3 || default mode=256 s = "test_information" # 这里只能丢字符串 print(get_md5(s)) # 5414ffd88fcb58417e64ecec51bb3a6b print(get_md5(s, upper=True)) # 5414FFD88FCB5841...
57.911765
176
0.718639
278
1,969
4.870504
0.374101
0.059084
0.017725
0.029542
0.259232
0.127031
0.098966
0.098966
0.062038
0.062038
0
0.247123
0.161503
1,969
33
177
59.666667
0.572986
0.565262
0
0
0
0
0.019254
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0.681818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
5d61828a9a51cb5ce1865c213ffd2c5903a688a4
47
py
Python
prereise/gather/solardata/tests/__init__.py
terrywqf/PreREISE
f8052dd37091eaa15024725d5c92a3ef0ee311ee
[ "MIT" ]
null
null
null
prereise/gather/solardata/tests/__init__.py
terrywqf/PreREISE
f8052dd37091eaa15024725d5c92a3ef0ee311ee
[ "MIT" ]
null
null
null
prereise/gather/solardata/tests/__init__.py
terrywqf/PreREISE
f8052dd37091eaa15024725d5c92a3ef0ee311ee
[ "MIT" ]
null
null
null
__all__ = ["mock_pv_info", "test_pv_tracking"]
23.5
46
0.744681
7
47
3.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.085106
47
1
47
47
0.627907
0
0
0
0
0
0.595745
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5d61d078db118ba78d2af9ae995c1fa84aa2f450
2,306
py
Python
arfit/cp_utils.py
farr/arfit
7ff6def331ef98f43f623da2d9867d1ac967448b
[ "MIT" ]
5
2015-04-29T21:46:52.000Z
2021-05-13T04:59:23.000Z
arfit/cp_utils.py
afcarl/arfit
7ff6def331ef98f43f623da2d9867d1ac967448b
[ "MIT" ]
null
null
null
arfit/cp_utils.py
afcarl/arfit
7ff6def331ef98f43f623da2d9867d1ac967448b
[ "MIT" ]
2
2015-12-03T12:08:32.000Z
2018-05-26T16:20:31.000Z
import carmcmc as cm from gatspy.periodic import LombScargleFast import matplotlib.pyplot as plt import numpy as np def csample_from_files(datafile, chainfile, p, q): data = np.loadtxt(datafile) times, tind = np.unique(data[:,0], return_index=True) data = data[tind, :] chain = np.loadtxt(chainfil...
37.193548
131
0.691674
359
2,306
4.328691
0.320334
0.092021
0.079794
0.095238
0.310811
0.258687
0.226512
0.171171
0.132561
0.132561
0
0.027509
0.148742
2,306
61
132
37.803279
0.764137
0
0
0.05
0
0
0.031223
0
0
0
0
0
0.025
1
0.1
false
0
0.1
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
5d65143322eb65bf3b9638c414999e21eb0323db
1,319
py
Python
pdiffcopy/hashing.py
xolox/python-pdiffcopy
ed765af92c0c0823818d545e61384753912a5725
[ "MIT" ]
5
2020-03-07T00:01:24.000Z
2020-12-03T03:44:26.000Z
pdiffcopy/hashing.py
xolox/python-pdiffcopy
ed765af92c0c0823818d545e61384753912a5725
[ "MIT" ]
null
null
null
pdiffcopy/hashing.py
xolox/python-pdiffcopy
ed765af92c0c0823818d545e61384753912a5725
[ "MIT" ]
null
null
null
# Fast large file synchronization inspired by rsync. # # Author: Peter Odding <peter@peterodding.com> # Last Change: March 6, 2020 # URL: https://pdiffcopy.readthedocs.io """Parallel hashing of files using :mod:`multiprocessing` and :mod:`pdiffcopy.mp`.""" # Standard library modules. import functools import hashlib i...
31.404762
106
0.720243
165
1,319
5.654545
0.587879
0.057878
0.036442
0
0
0
0
0
0
0
0
0.00553
0.177407
1,319
41
107
32.170732
0.854378
0.353298
0
0
0
0
0.032569
0
0
0
0
0
0
1
0.1
false
0
0.25
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5d65c01cd0ad11126b7931d199f6927d742a24e8
2,170
py
Python
pyscf/nao/test/test_0003_na2_nao.py
robert-anderson/pyscf
cdc56e168cb15f47e8cdc791a92d689fa9b655af
[ "Apache-2.0" ]
3
2021-02-28T00:52:53.000Z
2021-03-01T06:23:33.000Z
pyscf/nao/test/test_0003_na2_nao.py
robert-anderson/pyscf
cdc56e168cb15f47e8cdc791a92d689fa9b655af
[ "Apache-2.0" ]
36
2018-08-22T19:44:03.000Z
2020-05-09T10:02:36.000Z
pyscf/nao/test/test_0003_na2_nao.py
robert-anderson/pyscf
cdc56e168cb15f47e8cdc791a92d689fa9b655af
[ "Apache-2.0" ]
4
2018-02-14T16:28:28.000Z
2019-08-12T16:40:30.000Z
# Copyright 2014-2018 The PySCF Developers. 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 appl...
31.449275
87
0.657604
273
2,170
5.120879
0.553114
0.042918
0.018598
0.02289
0.040057
0.040057
0.040057
0
0
0
0
0.050155
0.25576
2,170
68
88
31.911765
0.81548
0.278802
0
0.086957
0
0
0.410323
0.042581
0
0
0
0
0.065217
1
0.021739
false
0.021739
0.130435
0
0.195652
0.065217
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
5d65f544314984a2fee60579b78ec312b1835ccc
491
py
Python
tests/moz_library/rental_books_test.py
mozkzki/moz-library
fb925414405a9fcba8bb7194cf983ba18c920e2f
[ "MIT" ]
null
null
null
tests/moz_library/rental_books_test.py
mozkzki/moz-library
fb925414405a9fcba8bb7194cf983ba18c920e2f
[ "MIT" ]
35
2021-10-09T13:08:33.000Z
2022-03-29T14:26:59.000Z
tests/moz_library/rental_books_test.py
mozkzki/moz-library
fb925414405a9fcba8bb7194cf983ba18c920e2f
[ "MIT" ]
null
null
null
import pytest from moz_library.rental_books import RentalBooks class TestRentalBooks: @pytest.fixture() def books1(self): return RentalBooks() def test_can_extend_period_1(self, books1): assert books1._can_extend_period("延長できません") is False def test_can_extend_period_2(self, books1): ...
27.277778
64
0.737271
66
491
5.136364
0.439394
0.159292
0.265487
0.141593
0.563422
0.498525
0.498525
0
0
0
0
0.025
0.185336
491
17
65
28.882353
0.8225
0
0
0
0
0
0.044807
0
0
0
0
0
0.25
1
0.333333
false
0
0.166667
0.083333
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
5d66ab6b71d371d38fa50d90c8734a50bf50ee30
2,625
py
Python
examples/src/Charts/MultiCategoryChart.py
aspose-slides/Aspose.Slides-for-Python-via-.NET
c55ad5c71f942598f1e67e22a52cbcd1cb286467
[ "MIT" ]
null
null
null
examples/src/Charts/MultiCategoryChart.py
aspose-slides/Aspose.Slides-for-Python-via-.NET
c55ad5c71f942598f1e67e22a52cbcd1cb286467
[ "MIT" ]
null
null
null
examples/src/Charts/MultiCategoryChart.py
aspose-slides/Aspose.Slides-for-Python-via-.NET
c55ad5c71f942598f1e67e22a52cbcd1cb286467
[ "MIT" ]
null
null
null
import aspose.pydrawing as drawing import aspose.slides as slides def charts_multi_category_chart(): #ExStart:MultiCategoryChart # The path to the documents directory. outDir = "./examples/out/" with slides.Presentation() as pres: slide = pres.slides[0] ch = pres.slides[0].shapes.add...
51.470588
106
0.708952
361
2,625
4.878116
0.268698
0.067575
0.10619
0.107325
0.662692
0.613288
0.613288
0.526973
0.526973
0.526973
0
0.030622
0.166476
2,625
51
107
51.470588
0.773766
0.053714
0
0
0
0
0.050424
0.014522
0
0
0
0
0
0
null
null
0
0.057143
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
5d66c8be8ed85e591a27c5733a7d2e134250bc39
9,393
py
Python
netbox/extras/forms/filtersets.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
null
null
null
netbox/extras/forms/filtersets.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
null
null
null
netbox/extras/forms/filtersets.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
null
null
null
from django import forms from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from django.utils.translation import gettext as _ from dcim.models import DeviceRole, DeviceType, Platform, Region, Site, SiteGroup from extras.choices import * from extras.models import * fr...
29.261682
117
0.639519
783
9,393
7.453384
0.189017
0.093557
0.077108
0.063057
0.447395
0.39085
0.347498
0.332077
0.322995
0.275017
0
0
0.251144
9,393
320
118
29.353125
0.829684
0
0
0.366667
0
0
0.118918
0.025232
0
0
0
0
0
1
0
false
0
0.04
0
0.246667
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
5d66ef032fbd2dcf091b5ffde482a5d596613146
1,940
py
Python
bin/write2cly.py
docdiesel/smartmetertools
3b7449c7a9069696af078631aa5440f53d0f57bc
[ "MIT" ]
1
2019-05-30T08:28:31.000Z
2019-05-30T08:28:31.000Z
bin/write2cly.py
docdiesel/smartmetertools
3b7449c7a9069696af078631aa5440f53d0f57bc
[ "MIT" ]
null
null
null
bin/write2cly.py
docdiesel/smartmetertools
3b7449c7a9069696af078631aa5440f53d0f57bc
[ "MIT" ]
null
null
null
#!/usr/bin/python3 ## write2cly.py - reads json (generated by sml_reader.py) from stdin ## - writes values to Corlysis time series InfluxDB ## ## Writes data from smart meter to time series database (InfluxDB) ## at Corlysis.com [1]. You need to configure your database and token ## in the config secti...
25.526316
71
0.652062
278
1,940
4.514388
0.496403
0.028685
0.044622
0.031873
0.039841
0
0
0
0
0
0
0.022581
0.201031
1,940
75
72
25.866667
0.787097
0.506186
0
0.117647
1
0
0.209836
0
0
0
0
0
0
1
0
false
0
0.088235
0
0.088235
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
5d672137217c3f190c65f38cc034a58e8ab7815b
1,440
py
Python
dns/rdtypes/ANY/__init__.py
Ashiq5/dnspython
5449af5318d88bada34f661247f3bcb16f58f057
[ "ISC" ]
null
null
null
dns/rdtypes/ANY/__init__.py
Ashiq5/dnspython
5449af5318d88bada34f661247f3bcb16f58f057
[ "ISC" ]
null
null
null
dns/rdtypes/ANY/__init__.py
Ashiq5/dnspython
5449af5318d88bada34f661247f3bcb16f58f057
[ "ISC" ]
null
null
null
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and ...
22.5
75
0.620833
180
1,440
4.944444
0.705556
0.040449
0
0
0
0
0
0
0
0
0
0.022367
0.254861
1,440
63
76
22.857143
0.807083
0.605556
0
0
0
0
0.326642
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
5d67812696614c7eac2050cda2d994e16e9201d7
10,519
py
Python
01_test.py
KhubbatulinMark/DCase2020-Task-2-on-Wigner-Ville-transform
6653d7abbaafe09fb17768d9902bb77db24945d4
[ "MIT" ]
3
2020-09-18T10:33:37.000Z
2020-11-04T12:53:50.000Z
01_test.py
KhubbatulinMark/DCase2020-Task-2-on-Wigner-Ville-transform
6653d7abbaafe09fb17768d9902bb77db24945d4
[ "MIT" ]
4
2020-09-26T01:07:55.000Z
2022-02-10T01:30:27.000Z
01_test.py
KhubbatulinMark/DCase2020-Task-2-on-Wigner-Ville-transform
6653d7abbaafe09fb17768d9902bb77db24945d4
[ "MIT" ]
null
null
null
""" @file 01_test.py @brief Script for test @author Toshiki Nakamura, Yuki Nikaido, and Yohei Kawaguchi (Hitachi Ltd.) Copyright (C) 2020 Hitachi, Ltd. All right reserved. """ ######################################################################## # import default python-library ###############################...
42.587045
118
0.456412
1,032
10,519
4.416667
0.197674
0.026108
0.019746
0.017552
0.285432
0.224002
0.212154
0.191751
0.148749
0.097411
0
0.004042
0.341477
10,519
246
119
42.760163
0.653963
0.166746
0
0.2
0
0
0.127278
0.046739
0
0
0
0
0
1
0.023077
false
0
0.084615
0
0.123077
0.061538
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
5d68067044bd41e0c94f3b4e115e6a6243c834c1
1,247
py
Python
src/text_split/split.py
i1123581321/word_split
6401cdc37f58aa8718793dd7cb9bf4d3a4b690a4
[ "MIT" ]
null
null
null
src/text_split/split.py
i1123581321/word_split
6401cdc37f58aa8718793dd7cb9bf4d3a4b690a4
[ "MIT" ]
null
null
null
src/text_split/split.py
i1123581321/word_split
6401cdc37f58aa8718793dd7cb9bf4d3a4b690a4
[ "MIT" ]
null
null
null
import argparse import os parser = argparse.ArgumentParser(description="a simple parser") parser.add_argument("filename", type=str) parser.add_argument("lineno", nargs="+", type=int) parser.add_argument("--same_length", action=argparse.BooleanOptionalAction) def main(): args = parser.parse_args() filename =...
30.414634
77
0.585405
149
1,247
4.845638
0.42953
0.055402
0.070637
0.099723
0.16205
0
0
0
0
0
0
0.018994
0.282277
1,247
40
78
31.175
0.78771
0
0
0.0625
0
0
0.061748
0
0
0
0
0
0
1
0.03125
false
0
0.0625
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
5d68e4a866db0948470d395c5ba6d5ad5676d177
23,037
py
Python
src/sentry/models/event.py
Ali-Tahir/sentry
aa7b306c5ea671ac002a3524982563679557cb31
[ "BSD-3-Clause" ]
null
null
null
src/sentry/models/event.py
Ali-Tahir/sentry
aa7b306c5ea671ac002a3524982563679557cb31
[ "BSD-3-Clause" ]
null
null
null
src/sentry/models/event.py
Ali-Tahir/sentry
aa7b306c5ea671ac002a3524982563679557cb31
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import import six import string import warnings import pytz from collections import OrderedDict from dateutil.parser import parse as parse_date from django.db import models from django.utils import timezone from django.utils.translation import ugettext_lazy as _ from hashlib import md5...
33.778592
99
0.623996
2,869
23,037
4.874869
0.19519
0.03003
0.020449
0.010725
0.152224
0.110396
0.088374
0.075147
0.051266
0.038253
0
0.001451
0.282242
23,037
681
100
33.828194
0.844391
0.282545
0
0.186441
0
0
0.085907
0.002773
0
0
0
0.004405
0.002421
1
0.1477
false
0
0.067797
0.03632
0.46247
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
5d6b89b1e8e521a2e81232c6e63ef4c5529270e8
2,920
py
Python
Assignment3/src/data/make_nowcast_dataset.py
shikashyam/BigDataSystemsCoursework
d7f9cabbfb18b0e3303292b65af1ffd530e24ccc
[ "MIT" ]
null
null
null
Assignment3/src/data/make_nowcast_dataset.py
shikashyam/BigDataSystemsCoursework
d7f9cabbfb18b0e3303292b65af1ffd530e24ccc
[ "MIT" ]
null
null
null
Assignment3/src/data/make_nowcast_dataset.py
shikashyam/BigDataSystemsCoursework
d7f9cabbfb18b0e3303292b65af1ffd530e24ccc
[ "MIT" ]
4
2022-02-12T23:59:54.000Z
2022-02-16T22:53:32.000Z
""" Makes training and test dataset for nowcasting model using SEVIR """ # -*- coding: utf-8 -*- import argparse import logging import os import h5py os.environ["HDF5_USE_FILE_LOCKING"]='FALSE' import sys import numpy as np import tensorflow as tf from nowcast_generator import get_nowcast_test_generator # parser = ...
42.941176
117
0.7
433
2,920
4.542725
0.297921
0.030503
0.017794
0.028978
0.213523
0.155567
0.141332
0.104728
0.104728
0
0
0.018444
0.14589
2,920
67
118
43.58209
0.770249
0.373973
0
0.057143
0
0
0.10962
0.011745
0
0
0
0
0
1
0.057143
false
0
0.228571
0
0.285714
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
5d6e1f190b9f10fc581499ca4a914cfa2670ffb2
9,576
py
Python
blender-plugin/import_cast.py
rtasan/ApexCastImporter
17f833ab8ff9757e295ca8eadb0cb210bfdd6476
[ "MIT" ]
null
null
null
blender-plugin/import_cast.py
rtasan/ApexCastImporter
17f833ab8ff9757e295ca8eadb0cb210bfdd6476
[ "MIT" ]
3
2021-05-24T12:29:43.000Z
2021-05-28T13:07:39.000Z
blender-plugin/import_cast.py
rtasan/ApexCastImporter
17f833ab8ff9757e295ca8eadb0cb210bfdd6476
[ "MIT" ]
null
null
null
# The Original importer was created by Nick # Copyright (c) 2020 Nick import bpy import bmesh import os import array import math from mathutils import * from bpy_extras.image_utils import load_image from .cast import Cast, Model, Animation, Curve, NotificationTrack, Mesh, Skeleton, Bone, Material, File def utilityB...
33.957447
130
0.631788
1,041
9,576
5.738713
0.290106
0.012052
0.021426
0.021091
0.152662
0.108637
0.060931
0.042518
0.042518
0.042518
0
0.008635
0.262322
9,576
281
131
34.078292
0.837061
0.064327
0
0.091837
0
0
0.042627
0
0
0
0.000448
0
0
1
0.045918
false
0.005102
0.091837
0
0.178571
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
5d6e47beb4576bf2e083ccdcb792c2e2830c83c4
50,279
py
Python
user_program/usb4vc_ui.py
dekuNukem/USB4VC
66c4f0b4a4acd7cec6654ea0dd4da026edf5d24c
[ "MIT" ]
78
2022-02-07T16:48:11.000Z
2022-03-31T12:25:35.000Z
user_program/usb4vc_ui.py
dekuNukem/USB4VC
66c4f0b4a4acd7cec6654ea0dd4da026edf5d24c
[ "MIT" ]
1
2022-02-26T20:16:08.000Z
2022-02-26T20:24:04.000Z
user_program/usb4vc_ui.py
dekuNukem/USB4VC
66c4f0b4a4acd7cec6654ea0dd4da026edf5d24c
[ "MIT" ]
1
2022-02-24T03:34:15.000Z
2022-02-24T03:34:15.000Z
# https://luma-oled.readthedocs.io/en/latest/software.html import os import sys import time import threading import usb4vc_oled from luma.core.render import canvas import RPi.GPIO as GPIO import usb4vc_usb_scan import usb4vc_shared import usb4vc_show_ev import usb4vc_check_update import json import subprocess from sub...
51.462641
1,075
0.63269
7,347
50,279
4.037566
0.087519
0.072141
0.06041
0.046117
0.560646
0.497573
0.421015
0.371932
0.311152
0.288498
0
0.079882
0.251318
50,279
976
1,076
51.515369
0.708153
0.015812
0
0.335267
0
0.00464
0.112747
0.030017
0
0
0.003387
0
0
1
0.053364
false
0.00116
0.024362
0.00348
0.11949
0.12065
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5d6f6e6ed3bbf01cb5af3d5c038344399c98f74f
384
py
Python
study/migrations/0003_auto_20200224_2316.py
hpathipati/Quick-Tutor
17476d79b87f51b12a6c8fc435d1a6506bff1e04
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
study/migrations/0003_auto_20200224_2316.py
hpathipati/Quick-Tutor
17476d79b87f51b12a6c8fc435d1a6506bff1e04
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
study/migrations/0003_auto_20200224_2316.py
hpathipati/Quick-Tutor
17476d79b87f51b12a6c8fc435d1a6506bff1e04
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-02-24 23:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('study', '0002_student'), ] operations = [ migrations.AlterField( model_name='student', name='bio', field...
20.210526
63
0.588542
42
384
5.309524
0.833333
0
0
0
0
0
0
0
0
0
0
0.080882
0.291667
384
18
64
21.333333
0.738971
0.117188
0
0
1
0
0.080119
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
5d6fd80c1e9176894348ae0d83e6981dbb3ecb3a
103,544
py
Python
tests/unit/resources/test_resource.py
gzecchi/oneview-python
949bc67ca3eaed324a6dc058620145d9e067e25b
[ "Apache-2.0" ]
null
null
null
tests/unit/resources/test_resource.py
gzecchi/oneview-python
949bc67ca3eaed324a6dc058620145d9e067e25b
[ "Apache-2.0" ]
null
null
null
tests/unit/resources/test_resource.py
gzecchi/oneview-python
949bc67ca3eaed324a6dc058620145d9e067e25b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ### # (C) Copyright [2019] Hewlett Packard Enterprise Development LP # # 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 #...
42.21117
127
0.665727
12,650
103,544
5.131146
0.037866
0.042845
0.058004
0.061625
0.921829
0.904235
0.885286
0.867969
0.849158
0.832812
0
0.026513
0.211002
103,544
2,452
128
42.228385
0.768006
0.011512
0
0.695062
0
0.011394
0.155244
0.065934
0
0
0
0
0.124254
1
0.119913
false
0.000543
0.004341
0.000543
0.137819
0
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
5d72ba13d02bd291e6fb1bfd1e3d024e5c0779f3
316
py
Python
workalendar/usa/colorado.py
vanadium23/workalendar
4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7
[ "MIT" ]
null
null
null
workalendar/usa/colorado.py
vanadium23/workalendar
4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7
[ "MIT" ]
null
null
null
workalendar/usa/colorado.py
vanadium23/workalendar
4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from .core import UnitedStates class Colorado(UnitedStates): """Colorado""" # Colorado has only federal state holidays. # NOTE: Cesar Chavez Day is an optional holiday
26.333333
66
0.677215
35
316
5.914286
0.828571
0
0
0
0
0
0
0
0
0
0
0.004132
0.234177
316
11
67
28.727273
0.85124
0.376582
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.75
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
5d72e502922a05a806cd65843fb08ea2947b5e7b
3,358
py
Python
dataloaders/augmentation.py
thierrypin/gei-pool
0a9e79b01148735f0e975c50d2476e41ba20af4f
[ "MIT" ]
null
null
null
dataloaders/augmentation.py
thierrypin/gei-pool
0a9e79b01148735f0e975c50d2476e41ba20af4f
[ "MIT" ]
null
null
null
dataloaders/augmentation.py
thierrypin/gei-pool
0a9e79b01148735f0e975c50d2476e41ba20af4f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import random import numpy as np # Generic data augmentation class Augmenter: """ Generic data augmentation class with chained operations """ def __init__(self, ops=[]): if not isinstance(ops, list): print("Error: ops must be a list of fu...
25.24812
158
0.549136
450
3,358
4.011111
0.193333
0.079778
0.016621
0.066482
0.658172
0.578947
0.550139
0.51856
0.47867
0.47867
0
0.024117
0.308517
3,358
132
159
25.439394
0.75323
0.139666
0
0.482759
0
0
0.024032
0
0
0
0
0
0
1
0.252874
false
0
0.022989
0.011494
0.609195
0.022989
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5d72ea525d5fca207b00f29574de0ed2864d8b1b
7,229
py
Python
cigeo/admin.py
CzechInvest/ciis
c6102598f564a717472e5e31e7eb894bba2c8104
[ "MIT" ]
1
2019-05-26T22:24:01.000Z
2019-05-26T22:24:01.000Z
cigeo/admin.py
CzechInvest/ciis
c6102598f564a717472e5e31e7eb894bba2c8104
[ "MIT" ]
6
2019-01-22T14:53:43.000Z
2020-09-22T16:20:28.000Z
cigeo/admin.py
CzechInvest/ciis
c6102598f564a717472e5e31e7eb894bba2c8104
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.gis import geos from leaflet.admin import LeafletGeoAdmin, LeafletGeoAdminMixin from .models import Lau1 from .models import Nuts3 from .models import Airport from .models import Road from .models import PublicTransportStop from .models import RailwayStation from dja...
30.761702
80
0.580025
727
7,229
5.590096
0.240715
0.024606
0.023622
0.039862
0.218996
0.176673
0.159449
0.159449
0.159449
0.159449
0
0.025725
0.327846
7,229
234
81
30.893162
0.810661
0.080924
0
0.174699
0
0
0.030027
0
0
0
0
0
0
1
0.048193
false
0
0.084337
0
0.385542
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
5d730d1afb5f1402b6e9a016eacea8ab0f918612
858
py
Python
umbra/monitor/main.py
RafaelAPB/umbra
cf075bbe73e46540e9edee25f9ec3d0828620d5f
[ "Apache-2.0" ]
null
null
null
umbra/monitor/main.py
RafaelAPB/umbra
cf075bbe73e46540e9edee25f9ec3d0828620d5f
[ "Apache-2.0" ]
null
null
null
umbra/monitor/main.py
RafaelAPB/umbra
cf075bbe73e46540e9edee25f9ec3d0828620d5f
[ "Apache-2.0" ]
null
null
null
import logging import json import asyncio from google.protobuf import json_format from umbra.common.protobuf.umbra_grpc import MonitorBase from umbra.common.protobuf.umbra_pb2 import Instruction, Snapshot from umbra.monitor.tools import Tools logger = logging.getLogger(__name__) logging.getLogger("hpack").setLevel(...
31.777778
99
0.757576
101
858
6.217822
0.445545
0.047771
0.047771
0.073248
0.089172
0
0
0
0
0
0
0.001391
0.162005
858
26
100
33
0.872045
0
0
0
0
0
0.029138
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.473684
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
5d733960d2eb830da7ca11bb10495536367425c3
6,207
py
Python
pycs/spells/hunters_mark.py
dwagon/pycs
4d02acbf380526d3bf0380f6bb8b757a827024b8
[ "MIT" ]
null
null
null
pycs/spells/hunters_mark.py
dwagon/pycs
4d02acbf380526d3bf0380f6bb8b757a827024b8
[ "MIT" ]
null
null
null
pycs/spells/hunters_mark.py
dwagon/pycs
4d02acbf380526d3bf0380f6bb8b757a827024b8
[ "MIT" ]
null
null
null
"""https://www.dndbeyond.com/spells/hunters-mark""" from unittest.mock import patch import dice from pycs.constant import ActionCategory from pycs.constant import SpellType from pycs.creature import Creature from pycs.effect import Effect from pycs.gear import Shortbow from pycs.spell import SpellAction from pycs.spel...
41.10596
85
0.475914
584
6,207
4.943493
0.296233
0.049532
0.047108
0.043644
0.283339
0.254243
0.241773
0.226533
0.120887
0.120887
0
0.005668
0.204124
6,207
150
86
41.38
0.578745
0.161592
0
0.180723
0
0
0.078366
0.008396
0
0
0
0
0.084337
1
0.13253
false
0
0.108434
0
0.349398
0.060241
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
5d7378673807f7e0283f1553a575bc82a4166826
390
py
Python
utilities.py
armandok/pySLAM-D
ef7398806e021885b29702adf55acbedaf544ce6
[ "MIT" ]
10
2020-12-24T16:40:46.000Z
2022-02-01T18:09:13.000Z
utilities.py
armandok/pySLAM-D
ef7398806e021885b29702adf55acbedaf544ce6
[ "MIT" ]
null
null
null
utilities.py
armandok/pySLAM-D
ef7398806e021885b29702adf55acbedaf544ce6
[ "MIT" ]
null
null
null
import numpy as np def rot_to_angle(rot): return np.arccos(0.5*np.trace(rot)-0.5) def rot_to_heading(rot): # This function calculates the heading angle of the rot matrix w.r.t. the y-axis new_rot = rot[0:3:2, 0:3:2] # remove the mid row and column corresponding to the y-axis new_rot = new_rot/np.li...
30
92
0.694872
80
390
3.2625
0.475
0.137931
0.061303
0.084291
0.10728
0
0
0
0
0
0
0.04717
0.184615
390
12
93
32.5
0.773585
0.348718
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5d7393f1d5071cf9d02bab3da993f038421d4d57
1,175
py
Python
robosuite/models/grippers/__init__.py
kyungjaelee/robosuite
0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1
[ "MIT" ]
397
2020-09-28T02:49:58.000Z
2022-03-30T18:08:19.000Z
robosuite/models/grippers/__init__.py
kyungjaelee/robosuite
0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1
[ "MIT" ]
169
2020-09-28T02:17:59.000Z
2022-03-29T13:32:43.000Z
robosuite/models/grippers/__init__.py
kyungjaelee/robosuite
0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1
[ "MIT" ]
131
2020-09-28T14:50:35.000Z
2022-03-31T02:27:33.000Z
from .gripper_model import GripperModel from .gripper_factory import gripper_factory from .gripper_tester import GripperTester from .panda_gripper import PandaGripper from .rethink_gripper import RethinkGripper from .robotiq_85_gripper import Robotiq85Gripper from .robotiq_three_finger_gripper import RobotiqThreeFinge...
39.166667
103
0.846809
96
1,175
10.135417
0.34375
0.120247
0.032888
0.045221
0.078109
0.078109
0
0
0
0
0
0.018975
0.102979
1,175
29
104
40.517241
0.904175
0
0
0.08
0
0
0.156596
0.095319
0
0
0
0
0
1
0
false
0
0.48
0
0.48
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5d7596fcdc1125f69dea760f3f07ca8ccf07185d
7,509
py
Python
src/pose/visualizations/visualizations.py
Idein/chainer-hand-pose
45c7b629a74bf13da8cc9b47d0ded7099c139e9b
[ "Apache-2.0" ]
11
2019-12-14T07:55:52.000Z
2021-06-22T06:38:34.000Z
src/pose/visualizations/visualizations.py
terasakisatoshi/chainer-hand-pose
a47e0c61c4fea3369db566eea3d539d1c9398bf7
[ "Apache-2.0" ]
1
2020-06-17T21:39:48.000Z
2020-06-26T13:16:43.000Z
src/pose/visualizations/visualizations.py
terasakisatoshi/chainer-hand-pose
a47e0c61c4fea3369db566eea3d539d1c9398bf7
[ "Apache-2.0" ]
3
2019-12-11T13:47:54.000Z
2020-10-23T07:10:15.000Z
import logging logger = logging.getLogger(__name__) import random import chainercv import numpy as np from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D # NOQA from pose.hand_dataset.geometry_utils import normalize_joint_zyx from pose.hand_dataset.image_utils import normalize_depth # Dec...
31.953191
96
0.632574
1,172
7,509
3.888225
0.162116
0.02765
0.03138
0.0316
0.681589
0.666228
0.658986
0.623875
0.57889
0.57889
0
0.027383
0.231589
7,509
234
97
32.089744
0.762392
0.085764
0
0.622857
0
0
0.042756
0
0
0
0
0
0
1
0.045714
false
0
0.057143
0
0.125714
0.011429
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
5d75bb550217d28f2cb95a0798b2a193f98c5dc4
190
py
Python
publication-erdf/flask_service.py
ticapix/automated-tasks
a0c73ad2939c6f1a2d91aea6fd309b5005455191
[ "Unlicense" ]
null
null
null
publication-erdf/flask_service.py
ticapix/automated-tasks
a0c73ad2939c6f1a2d91aea6fd309b5005455191
[ "Unlicense" ]
null
null
null
publication-erdf/flask_service.py
ticapix/automated-tasks
a0c73ad2939c6f1a2d91aea6fd309b5005455191
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 from flask import Flask app = Flask(__name__) @app.route('/process-email') def process_email(): return "Hello World!" if __name__ == "__main__": app.run()
14.615385
28
0.673684
26
190
4.423077
0.730769
0.208696
0
0
0
0
0
0
0
0
0
0.006329
0.168421
190
12
29
15.833333
0.721519
0.110526
0
0
0
0
0.202381
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
536f43c7085300c239b6e7cb90378b2df33381ad
1,134
py
Python
tools/nn/speaker.py
mikiec84/speaking_detection
ed680138627c156e1f7b0af20d6517e2bea754cc
[ "MIT" ]
null
null
null
tools/nn/speaker.py
mikiec84/speaking_detection
ed680138627c156e1f7b0af20d6517e2bea754cc
[ "MIT" ]
null
null
null
tools/nn/speaker.py
mikiec84/speaking_detection
ed680138627c156e1f7b0af20d6517e2bea754cc
[ "MIT" ]
null
null
null
import os import skimage.io from torch.nn import Module import torch.nn from torchvision.models import resnet18 from nn.speaker_dataset import Dataset # @UnusedImport os.environ['TORCH_MODEL_ZOO'] = '../data/' VIDTIMIT_PATH = '../data/vidtimit/' skimage.io.use_plugin('pil') class Net(Module): def __init__(s...
23.625
74
0.613757
153
1,134
4.424837
0.470588
0.051699
0.050222
0.076809
0.100443
0
0
0
0
0
0
0.014925
0.231922
1,134
47
75
24.12766
0.762342
0.078483
0
0.125
0
0
0.085495
0.026897
0
0
0
0
0
1
0.125
false
0
0.1875
0
0.4375
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
536ff8da70c0647265f2448d9db35e0d757a366c
1,551
py
Python
tensorflow_model_analysis/util_test.py
mdreves/model-analysis
73760b27b763e322a92ea80ff0a768ad9ef74526
[ "Apache-2.0" ]
null
null
null
tensorflow_model_analysis/util_test.py
mdreves/model-analysis
73760b27b763e322a92ea80ff0a768ad9ef74526
[ "Apache-2.0" ]
null
null
null
tensorflow_model_analysis/util_test.py
mdreves/model-analysis
73760b27b763e322a92ea80ff0a768ad9ef74526
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
32.3125
74
0.691812
244
1,551
4.295082
0.479508
0.057252
0.015267
0.019084
0.14313
0.062977
0.022901
0
0
0
0
0.040388
0.201805
1,551
47
75
33
0.806139
0.419084
0
0
0
0
0.077185
0
0
0
0
0
0.208333
1
0.083333
false
0
0.208333
0
0.375
0.041667
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
5370c3d3d7c64120cfceac3826e677a88c4d71af
3,556
py
Python
laia/data/transforms/vision/random_beta_morphology.py
eivtho/PyLaia
2a7a6e2eeb9b5af68c0faed0c564b02063e72be0
[ "MIT" ]
89
2018-12-12T23:06:26.000Z
2022-02-03T09:04:21.000Z
laia/data/transforms/vision/random_beta_morphology.py
eivtho/PyLaia
2a7a6e2eeb9b5af68c0faed0c564b02063e72be0
[ "MIT" ]
30
2019-03-06T14:29:48.000Z
2022-03-16T14:53:43.000Z
laia/data/transforms/vision/random_beta_morphology.py
jpuigcerver/PyLaia
1b2e864247f1bfb8d95ac1910de9c52df71c017a
[ "MIT" ]
26
2018-12-13T17:48:19.000Z
2022-02-28T12:52:29.000Z
from typing import List, Tuple, Union import numpy as np import scipy.special from PIL import Image, ImageFilter class RandomBetaMorphology: def __init__( self, filter_size_min: int, filter_size_max: int, alpha: float, beta: float ) -> None: assert filter_size_min % 2 != 0, "Filter size must ...
32.327273
86
0.615298
461
3,556
4.425163
0.240781
0.191176
0.095588
0.041667
0.385784
0.361765
0.311765
0.291176
0.258824
0.258824
0
0.010365
0.267435
3,556
109
87
32.623853
0.772745
0
0
0.224719
0
0
0.070304
0.031215
0
0
0
0
0.022472
1
0.101124
false
0
0.067416
0.022472
0.280899
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
537138998ce86bd69153421493a543bbc8be7c36
723
py
Python
hemp/internal/utils.py
Addvilz/hemp
2cd1d437fc59a8f7b24f5d150c623bf75c3b6747
[ "Apache-2.0" ]
1
2020-08-13T22:28:28.000Z
2020-08-13T22:28:28.000Z
hemp/internal/utils.py
Addvilz/hemp
2cd1d437fc59a8f7b24f5d150c623bf75c3b6747
[ "Apache-2.0" ]
null
null
null
hemp/internal/utils.py
Addvilz/hemp
2cd1d437fc59a8f7b24f5d150c623bf75c3b6747
[ "Apache-2.0" ]
null
null
null
import sys from fabric.utils import error, puts from git import RemoteProgress def print_err(message, func=None, exception=None, stdout=None, stderr=None): error('[Hemp] ' + message, func, exception, stdout, stderr) def print_info(text, show_prefix=None, end="\n", flush=True): puts('[Hemp] ' + text, show_p...
26.777778
76
0.637621
97
723
4.659794
0.42268
0.079646
0.066372
0.075221
0.159292
0.159292
0.159292
0.159292
0.159292
0
0
0
0.204703
723
26
77
27.807692
0.786087
0
0
0.235294
0
0
0.063624
0
0
0
0
0
0
1
0.235294
false
0
0.176471
0
0.470588
0.176471
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
53713acb71d2f50fa7d7472d8e125a179f1d5d33
417
py
Python
backend/links/sentence.py
dla1635/hyLink
8f3d1b6b0cad57ce2f6861583eb2b523f9fceee7
[ "MIT" ]
1
2020-07-17T05:57:47.000Z
2020-07-17T05:57:47.000Z
backend/links/sentence.py
dla1635/hyLink
8f3d1b6b0cad57ce2f6861583eb2b523f9fceee7
[ "MIT" ]
11
2020-06-06T00:30:23.000Z
2022-02-26T19:59:06.000Z
backend/links/sentence.py
dla1635/hylink
8f3d1b6b0cad57ce2f6861583eb2b523f9fceee7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from collections import Counter from konlpy.tag import Okt class Sentence(object): okt = Okt() def __init__(self, text, index=0): self.index = index self.text = text.strip() self.tokens = self.okt.phrases(self.text) self.bow = Counter(self.tokens) ...
18.954545
49
0.611511
54
417
4.5
0.481481
0.131687
0.115226
0
0
0
0
0
0
0
0
0.006579
0.270983
417
21
50
19.857143
0.792763
0.05036
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
53726406b1ce515956afb2308d74b2a4c7e1b255
4,227
py
Python
tests/arch/x86/test_x86parser.py
IMULMUL/barf-project
9547ef843b8eb021c2c32c140e36173c0b4eafa3
[ "BSD-2-Clause" ]
1,395
2015-01-02T11:43:30.000Z
2022-03-30T01:15:26.000Z
tests/arch/x86/test_x86parser.py
IMULMUL/barf-project
9547ef843b8eb021c2c32c140e36173c0b4eafa3
[ "BSD-2-Clause" ]
54
2015-02-11T05:18:05.000Z
2021-12-10T08:45:39.000Z
tests/arch/x86/test_x86parser.py
IMULMUL/barf-project
9547ef843b8eb021c2c32c140e36173c0b4eafa3
[ "BSD-2-Clause" ]
207
2015-01-05T09:47:54.000Z
2022-03-30T01:15:29.000Z
# Copyright (c) 2014, Fundacion Dr. Manuel Sadosky # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, this # list of condit...
33.283465
80
0.666903
588
4,227
4.639456
0.295918
0.058651
0.056452
0.087243
0.533724
0.435484
0.294721
0.180718
0.14956
0.14956
0
0.043772
0.194701
4,227
126
81
33.547619
0.757638
0.345162
0
0.034483
0
0
0.210507
0
0
0
0.044509
0
0.258621
1
0.293103
false
0
0.086207
0
0.413793
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
5374082003f5a0ab7717d7cbdda9e4ca3ac483ea
1,236
py
Python
Concurrency/codeSample/Part4_Thread_Synchronuzation_Primitives/sema_signal.py
Chyi341152/pyConPaper
851190d59f8dc85b4f2a0b47c6505edd0367a6fe
[ "MIT" ]
1
2018-05-30T02:36:46.000Z
2018-05-30T02:36:46.000Z
Concurrency/codeSample/Part4_Thread_Synchronuzation_Primitives/sema_signal.py
Chyi341152/pyConPaper
851190d59f8dc85b4f2a0b47c6505edd0367a6fe
[ "MIT" ]
null
null
null
Concurrency/codeSample/Part4_Thread_Synchronuzation_Primitives/sema_signal.py
Chyi341152/pyConPaper
851190d59f8dc85b4f2a0b47c6505edd0367a6fe
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # sema_signal.py # # An example of using a semaphore for signaling between threads import threading import time done = threading.Semaphore(0) # Resource control. item = None def producer(): global item print("I'm the producer and I produce data.") ...
29.428571
145
0.669903
163
1,236
5.07362
0.546012
0.029021
0.016929
0
0
0
0
0
0
0
0
0.011727
0.2411
1,236
41
146
30.146341
0.869936
0.207929
0
0
0
0
0.2832
0
0
0
0
0
0
1
0.095238
false
0
0.095238
0
0.190476
0.285714
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
5375dec1385aae371f742bbb1feff08c0d14da3b
3,199
py
Python
temp_wc_analysis/analysis.py
KarrLab/wc_sim
5b0ee03c3d19193fa67a3797d4258b753e6bc576
[ "MIT" ]
8
2018-03-27T21:35:25.000Z
2022-01-18T08:32:20.000Z
temp_wc_analysis/analysis.py
KarrLab/wc_sim
5b0ee03c3d19193fa67a3797d4258b753e6bc576
[ "MIT" ]
114
2018-02-27T14:14:39.000Z
2020-12-30T15:06:51.000Z
temp_wc_analysis/analysis.py
KarrLab/wc_sim
5b0ee03c3d19193fa67a3797d4258b753e6bc576
[ "MIT" ]
2
2019-04-05T16:17:28.000Z
2020-05-17T12:55:20.000Z
'''Analysis utility functions. :Author: Jonathan Karr <karr@mssm.edu> :Date: 2016-03-26 :Copyright: 2016-2018, Karr Lab :License: MIT ''' # TODO(Arthur): IMPORTANT: refactor and replace from matplotlib import pyplot from matplotlib import ticker from wc_lang import Model, Submodel from scipy.constants import Avogadr...
29.081818
96
0.56924
356
3,199
5
0.404494
0.020225
0.039326
0.042135
0.023596
0
0
0
0
0
0
0.024256
0.316974
3,199
109
97
29.348624
0.790389
0.102845
0
0.057143
0
0.014286
0.073983
0.02244
0
0
0
0.009174
0
1
0.014286
false
0
0.085714
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5378047f0579efdd010c7d57b8aefd313753aa1d
907
py
Python
setup.py
bstuddard/bonsai
3610fc50a3b24818288d850048c2a23306215367
[ "MIT" ]
26
2021-07-18T14:52:47.000Z
2022-01-27T10:35:44.000Z
setup.py
bstuddard/bonsai
3610fc50a3b24818288d850048c2a23306215367
[ "MIT" ]
null
null
null
setup.py
bstuddard/bonsai
3610fc50a3b24818288d850048c2a23306215367
[ "MIT" ]
3
2021-07-20T03:25:22.000Z
2021-08-17T04:06:27.000Z
from setuptools import setup, find_packages with open("README.md", "r") as readme_file: readme = readme_file.read() requirements = [ 'xgboost>=0.90', 'catboost>=0.26', 'bayesian-optimization>=1.2.0', 'numpy>=1.19.5', 'pandas>=1.1.5', 'matplotlib>=3.2.2', 'seaborn>=0.11.1', 'plotly>...
25.914286
65
0.607497
113
907
4.80531
0.610619
0.104972
0.138122
0.143646
0
0
0
0
0
0
0
0.052705
0.205072
907
35
66
25.914286
0.700416
0
0
0
0
0
0.437225
0.055066
0
0
0
0
0
1
0
false
0
0.03125
0
0.03125
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
537b221bff7d480fcdf886ab83757cc48372b358
823
py
Python
_scripts/increment_version.py
clockhart/pathogen
1764d4a7d2dd7c1f5dcc08afc016ec4edf809c36
[ "MIT" ]
null
null
null
_scripts/increment_version.py
clockhart/pathogen
1764d4a7d2dd7c1f5dcc08afc016ec4edf809c36
[ "MIT" ]
null
null
null
_scripts/increment_version.py
clockhart/pathogen
1764d4a7d2dd7c1f5dcc08afc016ec4edf809c36
[ "MIT" ]
null
null
null
""" increment_version.py written in Python3 author: C. Lockhart <chris@lockhartlab.org> """ import yaml # Read in version with open('version.yml', 'r') as f: version = yaml.safe_load(f.read()) # Strip "dev" out of micro version['micro'] = int(str(version['micro']).replace('dev', '')) # Update patch version['mi...
22.243243
78
0.660996
120
823
4.458333
0.491667
0.134579
0.056075
0.082243
0.093458
0
0
0
0
0
0
0.004292
0.150668
823
36
79
22.861111
0.761087
0.318348
0
0
0
0
0.212454
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
537c67be5a305675d3c345fd99a5e6be9b4b00c1
15,725
py
Python
holoviews/core/data/ibis.py
TheoMathurin/holoviews
0defcef994d6dd6d2054f75a0e332d02d121f8b0
[ "BSD-3-Clause" ]
1
2017-03-01T07:08:23.000Z
2017-03-01T07:08:23.000Z
holoviews/core/data/ibis.py
chrinide/holoviews
e1234a60ae0809ac561c204b1998dff0452b2bf0
[ "BSD-3-Clause" ]
null
null
null
holoviews/core/data/ibis.py
chrinide/holoviews
e1234a60ae0809ac561c204b1998dff0452b2bf0
[ "BSD-3-Clause" ]
null
null
null
import sys import numpy try: from collections.abc import Iterable except ImportError: from collections import Iterable from .. import util from ..element import Element from ..ndmapping import NdMapping, item_check, sorted_context from .interface import Interface from . import pandas from .util import cached ...
35.022272
106
0.569348
1,776
15,725
4.945946
0.161036
0.030055
0.034836
0.006261
0.14367
0.088798
0.068989
0.04531
0.025273
0.025273
0
0.003155
0.334817
15,725
448
107
35.100446
0.836616
0.034658
0
0.217507
0
0
0.027348
0.001982
0
0
0
0
0
1
0.076923
false
0
0.050398
0.029178
0.254642
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
537e41912df4cf73c680542167c1c109a8513d39
3,907
py
Python
chess/models/tournament.py
S0Imyr/Projet-4
1d93e125bc6e44bc560f3ffc9b11e14e35291c98
[ "MIT" ]
null
null
null
chess/models/tournament.py
S0Imyr/Projet-4
1d93e125bc6e44bc560f3ffc9b11e14e35291c98
[ "MIT" ]
null
null
null
chess/models/tournament.py
S0Imyr/Projet-4
1d93e125bc6e44bc560f3ffc9b11e14e35291c98
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Handles the tournament logic """ import datetime from chess.utils.utils import get_new_id from chess.models.actors import Player from chess.models.round import Round TOURNAMENT_ID_WIDTH = 8 NB_ROUND = 4 NB_PLAYERS = 8 NB_MATCH = 4 class Tournament: """ The class Tournament is t...
33.393162
102
0.621449
449
3,907
5.158129
0.211581
0.067358
0.039292
0.046632
0.141192
0.02418
0.02418
0
0
0
0
0.002896
0.293064
3,907
116
103
33.681034
0.835626
0.176606
0
0.029851
0
0
0.045649
0
0
0
0
0
0
1
0.089552
false
0
0.059701
0
0.19403
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
537ea975bc8b1468e691c88bd35a36f7347e9442
1,895
py
Python
set-config.py
astubenazy/vrops-metric-collection
c4e5b8d7058759aa5eded74cc619d1dedcbc821a
[ "MIT" ]
2
2020-04-08T13:03:00.000Z
2020-08-25T18:21:27.000Z
set-config.py
astubenazy/vrops-metric-collection
c4e5b8d7058759aa5eded74cc619d1dedcbc821a
[ "MIT" ]
1
2019-08-15T11:19:18.000Z
2019-08-17T11:38:48.000Z
set-config.py
astubenazy/vrops-metric-collection
c4e5b8d7058759aa5eded74cc619d1dedcbc821a
[ "MIT" ]
7
2018-06-06T13:47:52.000Z
2021-06-17T18:33:27.000Z
# !/usr/bin python """ # # set-config - a small python program to setup the configuration environment for data-collect.py # data-collect.py contain the python program to gather Metrics from vROps # Author Sajal Debnath <sdebnath@vmware.com> # """ # Importing the required modules import json import base64 import os,s...
29.153846
107
0.701847
250
1,895
5.224
0.448
0.049005
0.064319
0.087289
0.033691
0
0
0
0
0
0
0.006498
0.187863
1,895
65
107
29.153846
0.842105
0.244327
0
0
0
0
0.226761
0
0
0
0
0
0
1
0.057143
false
0.085714
0.085714
0.028571
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
1
0
0
0
0
0
1
537f1ecf5b58054b91b3f560bcbfa1d5fc3ac88d
16,328
py
Python
tests/test_app.py
inmanta/inmanta-core
ae2153d57f124d00ad1b58e6d4bc6818364be4a8
[ "Apache-2.0" ]
6
2021-03-09T10:24:02.000Z
2022-01-16T03:52:11.000Z
tests/test_app.py
inmanta/inmanta-core
ae2153d57f124d00ad1b58e6d4bc6818364be4a8
[ "Apache-2.0" ]
1,319
2020-12-18T08:52:29.000Z
2022-03-31T18:17:32.000Z
tests/test_app.py
inmanta/inmanta-core
ae2153d57f124d00ad1b58e6d4bc6818364be4a8
[ "Apache-2.0" ]
4
2021-03-03T15:36:50.000Z
2022-03-11T11:41:51.000Z
""" Copyright 2018 Inmanta Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
33.390593
125
0.614282
2,136
16,328
4.510768
0.164326
0.006642
0.004982
0.008718
0.506072
0.448573
0.394811
0.358588
0.348106
0.325272
0
0.013938
0.239833
16,328
488
126
33.459016
0.762327
0.052609
0
0.339523
0
0.045093
0.226046
0.047508
0
0
0
0
0.090186
1
0.066313
false
0.013263
0.029178
0.005305
0.124668
0.013263
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
537fda8bf126c424a17def77a9e57731a1bb799c
449
py
Python
AtC_Beg_Con_021-030/ABC027/C.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
AtC_Beg_Con_021-030/ABC027/C.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
AtC_Beg_Con_021-030/ABC027/C.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
n = int(input()) row = 0 for i in range(100): if 2 ** i <= n <= 2 ** (i + 1) - 1: row = i break def seki(k, n): for _ in range(n): k = 4 * k + 2 return k k = 0 if row % 2 != 0: k = 2 cri = seki(k, row // 2) if n < cri: print("Aoki") else: print("Ta...
14.966667
39
0.4098
72
449
2.541667
0.333333
0.081967
0.087432
0.120219
0.251366
0.251366
0.251366
0.251366
0.251366
0
0
0.065637
0.423163
449
29
40
15.482759
0.640927
0
0
0.44
0
0
0.057906
0
0
0
0
0
0
1
0.04
false
0
0
0
0.08
0.16
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
5382d0895ddebaa840fcd4f4a2179b700c0dfe67
21,396
py
Python
extplugins/codvote.py
Desi-Boyz/cod4x-server-B3-configs
03a323d7ea293efe1831ed315001391b9aaf532a
[ "MIT" ]
1
2017-07-17T22:21:10.000Z
2017-07-17T22:21:10.000Z
extplugins/codvote.py
Desi-Boyz/cod4x-server-B3-configs
03a323d7ea293efe1831ed315001391b9aaf532a
[ "MIT" ]
null
null
null
extplugins/codvote.py
Desi-Boyz/cod4x-server-B3-configs
03a323d7ea293efe1831ed315001391b9aaf532a
[ "MIT" ]
null
null
null
# CoDVote plugin for BigBrotherBot(B3) (www.bigbrotherbot.net) # Copyright (C) 2015 ph03n1x # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your optio...
37.081456
139
0.550804
2,445
21,396
4.736196
0.180368
0.026943
0.021762
0.01209
0.328756
0.260708
0.212263
0.181865
0.181865
0.165285
0
0.012919
0.33796
21,396
576
140
37.145833
0.804589
0.155403
0
0.403341
0
0
0.17158
0.002395
0
0
0
0
0
1
0.071599
false
0.016706
0.00716
0
0.195704
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
538362192f9fc22f5fcaa82bb61990dd548e6c63
3,947
py
Python
utils.py
bianan/cfl
e09043d213c7330d5410e27ba90c943d4323dbe8
[ "Apache-2.0" ]
4
2020-07-29T10:18:59.000Z
2021-06-27T22:57:37.000Z
utils.py
bianan/cfl
e09043d213c7330d5410e27ba90c943d4323dbe8
[ "Apache-2.0" ]
null
null
null
utils.py
bianan/cfl
e09043d213c7330d5410e27ba90c943d4323dbe8
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
28.395683
80
0.727135
612
3,947
4.405229
0.285948
0.038576
0.032641
0.031528
0.180267
0.128709
0.107196
0.08865
0
0
0
0.003984
0.173296
3,947
138
81
28.601449
0.822249
0.35698
0
0.060606
0
0
0.043689
0
0
0
0
0
0
1
0.227273
false
0
0.060606
0.106061
0.5
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
53840797fa9f83c58be0cb1122c4f31c4c62dc94
4,841
py
Python
unittest/scripts/py_devapi/scripts/mysqlx_collection_remove.py
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
119
2016-04-14T14:16:22.000Z
2022-03-08T20:24:38.000Z
unittest/scripts/py_devapi/scripts/mysqlx_collection_remove.py
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
9
2017-04-26T20:48:42.000Z
2021-09-07T01:52:44.000Z
unittest/scripts/py_devapi/scripts/mysqlx_collection_remove.py
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
51
2016-07-20T05:06:48.000Z
2022-03-09T01:20:53.000Z
# Assumptions: validate_crud_functions available # Assumes __uripwd is defined as <user>:<pwd>@<host>:<plugin_port> from __future__ import print_function from mysqlsh import mysqlx mySession = mysqlx.get_session(__uripwd) ensure_schema_does_not_exist(mySession, 'js_shell_test') schema = mySession.create_schema('js_s...
41.732759
126
0.685602
531
4,841
6.129944
0.218456
0.117972
0.110599
0.058986
0.577573
0.504455
0.463902
0.293088
0.278648
0.220891
0
0.040155
0.094609
4,841
115
127
42.095652
0.702487
0.244784
0
0.306452
0
0
0.278775
0.061827
0
0
0
0
0
0
null
null
0
0.032258
null
null
0.145161
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
538622f0e20beb2e31f0c54850a3e278464da569
1,323
py
Python
indian-flag.py
aditya270520/indian-flag
65851eefdd229cca150d2bbe8fa61c9e06e120e0
[ "MIT" ]
null
null
null
indian-flag.py
aditya270520/indian-flag
65851eefdd229cca150d2bbe8fa61c9e06e120e0
[ "MIT" ]
null
null
null
indian-flag.py
aditya270520/indian-flag
65851eefdd229cca150d2bbe8fa61c9e06e120e0
[ "MIT" ]
null
null
null
import turtle turtle.bgcolor('black') wn=turtle.Screen() tr=turtle.Turtle() move=1 tr.speed("fastest") for i in range (360): tr.write("ADITYA",'false','center',font=('Showcard gothic',50)) tr.penup() tr.goto(-200,100) tr.pendown() tr.color("orange") tr.right(move) tr.forward(100) tr...
17.64
67
0.543462
207
1,323
3.468599
0.299517
0.126741
0.058496
0.044568
0.275766
0.165738
0.05571
0
0
0
0
0.061162
0.258503
1,323
75
68
17.64
0.670744
0
0
0.465753
0
0
0.106495
0
0
0
0
0
0
1
0
false
0
0.013699
0
0.013699
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
538700fd5d58b1e117fad14517de686aecad4c56
171
py
Python
leaf/rbac/model/__init__.py
guiqiqi/leaf
79e34f4b8fba8c6fd208b5a3049103dca2064ab5
[ "Apache-2.0" ]
119
2020-01-30T04:25:03.000Z
2022-03-27T07:15:45.000Z
leaf/rbac/model/__init__.py
guiqiqi/leaf
79e34f4b8fba8c6fd208b5a3049103dca2064ab5
[ "Apache-2.0" ]
8
2020-02-02T05:49:47.000Z
2021-01-25T03:31:09.000Z
leaf/rbac/model/__init__.py
guiqiqi/leaf
79e34f4b8fba8c6fd208b5a3049103dca2064ab5
[ "Apache-2.0" ]
11
2020-01-31T15:07:11.000Z
2021-03-24T03:47:48.000Z
"""用户, 组, 及相关认证数据库模型""" from .group import Group from .user import User from .user import UserIndex from .auth import Authentication from .accesspoint import AccessPoint
21.375
36
0.783626
23
171
5.826087
0.478261
0.119403
0.208955
0
0
0
0
0
0
0
0
0
0.140351
171
7
37
24.428571
0.911565
0.099415
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
53898a41d0b3979d97ed59d9bf3e85e1664af2da
103
py
Python
programacao basica/7.py
m-brito/Neps-Academy
0d962fb921d74c5f97f10fcdd8a0f464c0ccdb14
[ "MIT" ]
null
null
null
programacao basica/7.py
m-brito/Neps-Academy
0d962fb921d74c5f97f10fcdd8a0f464c0ccdb14
[ "MIT" ]
null
null
null
programacao basica/7.py
m-brito/Neps-Academy
0d962fb921d74c5f97f10fcdd8a0f464c0ccdb14
[ "MIT" ]
null
null
null
bino = int(input()) cino = int(input()) if (bino+cino)%2==0: print("Bino") else: print("Cino")
14.714286
20
0.563107
16
103
3.625
0.5625
0.275862
0
0
0
0
0
0
0
0
0
0.02381
0.184466
103
6
21
17.166667
0.666667
0
0
0
0
0
0.07767
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5389a92b434b224efc0d211777895516ff271648
1,023
py
Python
update_readme.py
CalmScout/LeetCode
62720934b5906e6b255c7e91d3a6fa1d713e4391
[ "MIT" ]
null
null
null
update_readme.py
CalmScout/LeetCode
62720934b5906e6b255c7e91d3a6fa1d713e4391
[ "MIT" ]
null
null
null
update_readme.py
CalmScout/LeetCode
62720934b5906e6b255c7e91d3a6fa1d713e4391
[ "MIT" ]
null
null
null
""" Script updates `README.md` with respect to files at ./easy and ./medium folders. """ import os curr_dir = os.path.dirname(__file__) with open(os.path.join(curr_dir, "README.md"), 'w') as readme: readme.write("# LeetCode\nDeliberate practice in coding.\n") langs = [l for l in os.listdir(curr_dir) if os.path...
39.346154
105
0.572825
146
1,023
3.890411
0.321918
0.073944
0.035211
0.049296
0.288732
0.140845
0.09507
0
0
0
0
0.00641
0.237537
1,023
25
106
40.92
0.721795
0.078201
0
0
0
0
0.154011
0.049198
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
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
538a493d99ff3d905d532327c5a14418aa3d3b7e
10,614
py
Python
scripts/biotimesql.py
Jay-Iam/retriever
26e321cdb86fcb4cb78184c4bf5c0c6902a97d2c
[ "MIT" ]
null
null
null
scripts/biotimesql.py
Jay-Iam/retriever
26e321cdb86fcb4cb78184c4bf5c0c6902a97d2c
[ "MIT" ]
1
2019-02-23T14:11:34.000Z
2019-02-28T21:18:51.000Z
scripts/biotimesql.py
harshitbansal05/retriever
a5b849ee5ed3cc8a92f8aff93e5ec2ba54599213
[ "MIT" ]
1
2020-01-06T11:37:54.000Z
2020-01-06T11:37:54.000Z
# -*- coding: utf-8 -*- #retriever import csv from pkg_resources import parse_version from retriever.lib.models import Table from retriever.lib.templates import Script try: from retriever.lib.defaults import VERSION try: from retriever.lib.tools import open_fr, open_fw, open_csvw except ImportEr...
39.022059
216
0.531939
1,105
10,614
4.885068
0.224434
0.072249
0.055576
0.048166
0.326973
0.316969
0.316969
0.316969
0.316969
0.299555
0
0.026086
0.299322
10,614
271
217
39.166052
0.699745
0.029489
0
0.233766
0
0.004329
0.209917
0.002334
0
0
0
0
0
1
0.008658
false
0
0.04329
0
0.056277
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