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
fe4036ba021d5a543848f0719df15257dc0be8cd
7,239
py
Python
tests/ut/python/parallel/test_manual_gatherv2.py
PowerOlive/mindspore
bda20724a94113cedd12c3ed9083141012da1f15
[ "Apache-2.0" ]
3,200
2020-02-17T12:45:41.000Z
2022-03-31T20:21:16.000Z
tests/ut/python/parallel/test_manual_gatherv2.py
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
176
2020-02-12T02:52:11.000Z
2022-03-28T22:15:55.000Z
tests/ut/python/parallel/test_manual_gatherv2.py
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
621
2020-03-09T01:31:41.000Z
2022-03-30T03:43:19.000Z
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
37.703125
117
0.654234
1,016
7,239
4.448819
0.17126
0.016372
0.013274
0.014159
0.565044
0.546018
0.540265
0.530973
0.512389
0.49115
0
0.061707
0.194088
7,239
191
118
37.900524
0.713061
0.088134
0
0.479167
0
0
0.053143
0.006985
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.180556
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
fe4088c9d39d6abd819f54e637798544df93b9db
3,396
py
Python
ClemBot.Bot/bot/api/tag_route.py
makayla-moster/ClemBot
26503d25f1fbe2abcf99dbf0f68b17e88ad11a7c
[ "MIT" ]
121
2020-04-25T06:20:28.000Z
2021-06-07T03:08:46.000Z
ClemBot.Bot/bot/api/tag_route.py
makayla-moster/ClemBot
26503d25f1fbe2abcf99dbf0f68b17e88ad11a7c
[ "MIT" ]
180
2020-04-25T04:49:51.000Z
2021-06-22T15:21:30.000Z
ClemBot.Bot/bot/api/tag_route.py
makayla-moster/ClemBot
26503d25f1fbe2abcf99dbf0f68b17e88ad11a7c
[ "MIT" ]
72
2020-04-25T03:28:49.000Z
2021-06-20T20:17:00.000Z
from bot.api.api_client import ApiClient from bot.api.base_route import BaseRoute import typing as t from bot.models import Tag class TagRoute(BaseRoute): def __init__(self, api_client: ApiClient): super().__init__(api_client) async def create_tag(self, name: str, content: str, guild_id: int, user_...
33.294118
114
0.564193
457
3,396
4.030635
0.170678
0.068404
0.043431
0.053203
0.652009
0.598263
0.561346
0.4962
0.366992
0.317047
0
0
0.324794
3,396
101
115
33.623762
0.803314
0
0
0.506849
0
0
0.073814
0.007733
0
0
0
0
0
1
0.013699
false
0
0.054795
0
0.260274
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
fe40ab7f78d9978c2d19631879cf3439c2112560
2,967
py
Python
formfactor_AL.py
kirichoi/PolymerConnectome
064df932cfca57a97e62dfa9a32d1fa976500906
[ "MIT" ]
null
null
null
formfactor_AL.py
kirichoi/PolymerConnectome
064df932cfca57a97e62dfa9a32d1fa976500906
[ "MIT" ]
null
null
null
formfactor_AL.py
kirichoi/PolymerConnectome
064df932cfca57a97e62dfa9a32d1fa976500906
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Sep 7 10:59:00 2020 @author: user """ import numpy as np import multiprocessing as mp import matplotlib.pyplot as plt import time import itertools import ctypes def formfactor(args): # with AL_dist_flat_glo.get_lock: AL_dist_flat_glo_r = np.frombuffer(AL_dist_flat_...
33.337079
110
0.625211
528
2,967
3.291667
0.246212
0.069045
0.115075
0.112198
0.574799
0.478711
0.406214
0.372267
0.27733
0.253165
0
0.052326
0.188406
2,967
88
111
33.715909
0.669435
0.305022
0
0
0
0
0.047151
0.011788
0
0
0
0
0
1
0.042553
false
0
0.12766
0
0.191489
0.021277
0
0
0
null
0
0
0
0
0
0
0
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
fe427f872414bfa986cd9b2c48b6113399437840
1,039
py
Python
utils/tests.py
nanodude/cairocffi
9d6a9a420a91da80f7901ace9945fd864f5d04dc
[ "BSD-3-Clause" ]
null
null
null
utils/tests.py
nanodude/cairocffi
9d6a9a420a91da80f7901ace9945fd864f5d04dc
[ "BSD-3-Clause" ]
null
null
null
utils/tests.py
nanodude/cairocffi
9d6a9a420a91da80f7901ace9945fd864f5d04dc
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 import io import cairo # pycairo import cairocffi from pycairo_to_cairocffi import _UNSAFE_pycairo_context_to_cairocffi from cairocffi_to_pycairo import _UNSAFE_cairocffi_context_to_pycairo import pango_example def test(): cairocffi_context = cairocffi.Context(cairocffi.PDFSurface(N...
34.633333
79
0.73821
139
1,039
5.122302
0.33813
0.179775
0.105337
0.046348
0.296348
0.122191
0.122191
0.122191
0.122191
0.122191
0
0.032407
0.168431
1,039
29
80
35.827586
0.791667
0.06256
0
0
0
0
0.012752
0
0
0
0
0
0.25
1
0.05
false
0
0.3
0
0.35
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
fe433c22e1af644dfc7ebbadd44ff0872fa4438b
487
py
Python
riddle.py
robertlit/monty-hall-problem
746cab513dacdc1f47ce7269db35167df3520865
[ "MIT" ]
null
null
null
riddle.py
robertlit/monty-hall-problem
746cab513dacdc1f47ce7269db35167df3520865
[ "MIT" ]
null
null
null
riddle.py
robertlit/monty-hall-problem
746cab513dacdc1f47ce7269db35167df3520865
[ "MIT" ]
null
null
null
import random goat1 = random.randint(1, 3) goat2 = random.randint(1, 3) while goat1 == goat2: goat2 = random.randint(1, 3) success = 0 tries = 1_000_000 for _ in range(tries): options = [1, 2, 3] choice = random.randint(1, 3) options.remove(choice) if choice == goat1: options.remove(goat...
18.037037
43
0.61807
67
487
4.447761
0.343284
0.174497
0.187919
0.201342
0.134228
0
0
0
0
0
0
0.086111
0.26078
487
26
44
18.730769
0.741667
0
0
0.105263
0
0
0
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.052632
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe440692a08637fae6bb18f0a67dbb7336fec900
1,909
py
Python
gentable/gen_test_cases.py
selavy/studies
e17b91ffab193e46fec00cf2b8070dbf1f2c39e3
[ "MIT" ]
null
null
null
gentable/gen_test_cases.py
selavy/studies
e17b91ffab193e46fec00cf2b8070dbf1f2c39e3
[ "MIT" ]
null
null
null
gentable/gen_test_cases.py
selavy/studies
e17b91ffab193e46fec00cf2b8070dbf1f2c39e3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import random N = 32 M = 64 # NOTE: 0 is a reserved value randu = lambda x: random.randint(1, 2**x-1) randU32 = lambda: randu(32) randU64 = lambda: randu(64) fmt_by_dtype = { 'u32hex': '0x{:08x}', 'u64hex': '0x{:016x}', } cpp_by_dtype = { 'u32hex': 'uint32_t', 'u64hex': 'ui...
24.474359
83
0.572027
271
1,909
3.940959
0.313653
0.02809
0.05618
0.030899
0.169476
0.142322
0.041199
0
0
0
0
0.060201
0.216867
1,909
77
84
24.792208
0.654181
0.224725
0
0.102041
0
0
0.182561
0.014305
0
0
0
0
0
1
0.081633
false
0
0.020408
0.040816
0.122449
0.265306
0
0
0
null
0
0
0
0
0
0
0
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
fe449c44aa57e39f59499c7b75ef20b3e5b78b64
6,143
py
Python
examples/toy_env/run_toy_env.py
aaspeel/deer
3ced3695f0ca8537337019d2e3ec0ff8bd346d91
[ "BSD-3-Clause" ]
null
null
null
examples/toy_env/run_toy_env.py
aaspeel/deer
3ced3695f0ca8537337019d2e3ec0ff8bd346d91
[ "BSD-3-Clause" ]
null
null
null
examples/toy_env/run_toy_env.py
aaspeel/deer
3ced3695f0ca8537337019d2e3ec0ff8bd346d91
[ "BSD-3-Clause" ]
null
null
null
"""Toy environment launcher. See the docs for more details about this environment. """ import sys import logging import numpy as np from deer.default_parser import process_args from deer.agent import NeuralAgent from deer.learning_algos.q_net_keras import MyQNetwork from Toy_env import MyEnv as Toy_env import deer.e...
39.378205
120
0.689891
764
6,143
5.408377
0.33377
0.029042
0.018877
0.015247
0.055179
0.040658
0.023233
0
0
0
0
0.015886
0.221227
6,143
155
121
39.632258
0.847826
0.447664
0
0.11828
0
0
0.010756
0
0
0
0
0
0
1
0
false
0
0.096774
0
0.354839
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
fe44a3208c6d0b6455e3244b9bf2ee35ca9096e2
626
py
Python
equilibration/sodium_models/seed_1/post_processing/rdf_calculations.py
Dynamical-Systems-Laboratory/IPMCsMD
7f0662568d37dce7dcd07b648284aa62991d343c
[ "MIT" ]
2
2020-10-30T16:17:01.000Z
2021-08-23T13:58:03.000Z
equilibration/sodium_models/seed_9/post_processing/rdf_calculations.py
atruszkowska/IPMCsMD
d3900ea4da453bcc037fd946a2ae61cc67e316f5
[ "MIT" ]
null
null
null
equilibration/sodium_models/seed_9/post_processing/rdf_calculations.py
atruszkowska/IPMCsMD
d3900ea4da453bcc037fd946a2ae61cc67e316f5
[ "MIT" ]
3
2020-09-14T20:42:47.000Z
2021-12-13T07:58:16.000Z
# ------------------------------------------------------------------ # # RDF and CN related analysis # # ------------------------------------------------------------------ import sys py_path = '../../../../postprocessing/' sys.path.insert(0, py_path) py_path = '../../../../postprocessing/io_operations/' sys.path.inse...
17.885714
68
0.543131
77
626
4.194805
0.480519
0.074303
0.049536
0.086687
0.123839
0.123839
0
0
0
0
0
0.012821
0.127796
626
34
69
18.411765
0.578755
0.376997
0
0.166667
0
0
0.266667
0.181333
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fe463c850bc48b7b739387d099ca1d849b457791
1,675
py
Python
venv/Lib/site-packages/plotnine/geoms/geom_pointrange.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
null
null
null
venv/Lib/site-packages/plotnine/geoms/geom_pointrange.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
1
2020-10-02T21:43:06.000Z
2020-10-15T22:52:39.000Z
venv/Lib/site-packages/plotnine/geoms/geom_pointrange.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
null
null
null
from ..doctools import document from .geom import geom from .geom_path import geom_path from .geom_point import geom_point from .geom_linerange import geom_linerange @document class geom_pointrange(geom): """ Vertical interval represented by a line with a point {usage} Parameters ---------- ...
29.385965
70
0.577313
194
1,675
4.835052
0.42268
0.057569
0.063966
0.057569
0.284648
0.202559
0.202559
0.202559
0.127932
0.127932
0
0.004177
0.285373
1,675
56
71
29.910714
0.779449
0.216716
0
0.153846
0
0
0.121084
0
0
0
0
0
0
1
0.076923
false
0
0.192308
0
0.461538
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
fe468cffe0b2fb47619682741847648e0145af63
3,704
py
Python
app/backend-test/core_models/keras-experiments/run02_try_simple_CNN_generate.py
SummaLabs/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
32
2017-09-04T17:40:39.000Z
2021-02-16T23:08:34.000Z
app/backend-test/core_models/keras-experiments/run02_try_simple_CNN_generate.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
3
2017-10-09T12:52:54.000Z
2020-06-29T02:48:38.000Z
app/backend-test/core_models/keras-experiments/run02_try_simple_CNN_generate.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
20
2017-10-07T17:29:50.000Z
2021-01-23T22:01:54.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- __author__ = 'ar' import json import os import skimage.io as skio import matplotlib.pyplot as plt import numpy as np import keras from keras.models import Model from keras.layers import Input, Convolution2D, MaxPooling2D, Flatten, Dense from keras.utils.visualize_util import ...
31.389831
108
0.551026
418
3,704
4.739234
0.301435
0.04846
0.040384
0.055528
0.341747
0.289248
0.25896
0.229682
0.215548
0.215548
0
0.025516
0.280508
3,704
117
109
31.65812
0.717824
0.046976
0
0.145833
0
0
0.085773
0.00644
0
0
0
0
0
1
0.03125
false
0
0.09375
0
0.15625
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
fe4725d5ecf06c13eb1ec7a97c57345acb7badcb
760
py
Python
tests/integration/test_interface.py
Synodic-Software/CPPython
12e9acdf68e54d45bcf0b6c137d4fe627d1f6877
[ "MIT" ]
null
null
null
tests/integration/test_interface.py
Synodic-Software/CPPython
12e9acdf68e54d45bcf0b6c137d4fe627d1f6877
[ "MIT" ]
8
2021-11-28T23:46:36.000Z
2022-03-15T09:00:43.000Z
tests/integration/test_interface.py
Synodic-Software/CPPython
12e9acdf68e54d45bcf0b6c137d4fe627d1f6877
[ "MIT" ]
2
2021-11-28T23:17:49.000Z
2021-11-28T23:36:03.000Z
""" Test the integrations related to the internal interface implementation and the 'Interface' interface itself """ import pytest from cppython_core.schema import InterfaceConfiguration from pytest_cppython.plugin import InterfaceIntegrationTests from cppython.console import ConsoleInterface class TestCLIInterface(...
28.148148
107
0.735526
74
760
7.513514
0.540541
0.043165
0
0
0
0
0
0
0
0
0
0
0.205263
760
26
108
29.230769
0.92053
0.372368
0
0
0
0
0.021687
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fe48c3bafe5a6523868023e377aa4dab0192c3a1
407
py
Python
solutions/python3/894.py
sm2774us/amazon_interview_prep_2021
f580080e4a6b712b0b295bb429bf676eb15668de
[ "MIT" ]
42
2020-08-02T07:03:49.000Z
2022-03-26T07:50:15.000Z
solutions/python3/894.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
null
null
null
solutions/python3/894.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
40
2020-02-08T02:50:24.000Z
2022-03-26T15:38:10.000Z
class Solution: def allPossibleFBT(self, N): def constr(N): if N == 1: yield TreeNode(0) for i in range(1, N, 2): for l in constr(i): for r in constr(N - i - 1): m = TreeNode(0) m.left = l ...
33.916667
47
0.371007
49
407
3.081633
0.489796
0.139073
0
0
0
0
0
0
0
0
0
0.031915
0.538084
407
12
48
33.916667
0.771277
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
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
fe4908b1c0b067e1655d4c242e84ebb2602b1af5
11,218
py
Python
src/main.py
srijankr/DAIN
89edec24e63383dfd5ef19f2bfb48d11b75b3dde
[ "Apache-2.0" ]
3
2021-08-19T20:11:45.000Z
2021-08-23T14:20:11.000Z
src/main.py
srijankr/DAIN
89edec24e63383dfd5ef19f2bfb48d11b75b3dde
[ "Apache-2.0" ]
null
null
null
src/main.py
srijankr/DAIN
89edec24e63383dfd5ef19f2bfb48d11b75b3dde
[ "Apache-2.0" ]
null
null
null
#@contact Sejoon Oh (soh337@gatech.edu), Georgia Institute of Technology #@version 1.0 #@date 2021-08-17 #Influence-guided Data Augmentation for Neural Tensor Completion (DAIN) #This software is free of charge under research purposes. #For commercial purposes, please contact the main author. import torch f...
45.97541
201
0.668123
1,505
11,218
4.821262
0.168106
0.020673
0.019294
0.013093
0.375
0.29355
0.246692
0.213341
0.213341
0.191428
0
0.015459
0.204225
11,218
243
202
46.164609
0.797356
0.047602
0
0.179894
0
0.015873
0.125679
0.002343
0
0
0
0
0
1
0.021164
false
0
0.137566
0
0.174603
0.089947
0
0
0
null
0
0
0
0
0
0
0
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
fe4a3921bc3a55c6c61a10f07f322ae6a1bc443a
12,719
py
Python
pay-api/tests/unit/api/test_fee.py
saravanpa-aot/sbc-pay
fb9f61b99e506e43280bc69531ee107cc12cd92d
[ "Apache-2.0" ]
null
null
null
pay-api/tests/unit/api/test_fee.py
saravanpa-aot/sbc-pay
fb9f61b99e506e43280bc69531ee107cc12cd92d
[ "Apache-2.0" ]
null
null
null
pay-api/tests/unit/api/test_fee.py
saravanpa-aot/sbc-pay
fb9f61b99e506e43280bc69531ee107cc12cd92d
[ "Apache-2.0" ]
5
2019-03-01T01:12:12.000Z
2019-07-08T16:33:47.000Z
# Copyright © 2019 Province of British Columbia # # 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 agr...
41.029032
112
0.679928
1,730
12,719
4.755491
0.115029
0.045703
0.040841
0.030996
0.753738
0.734533
0.734533
0.727483
0.70767
0.698554
0
0.016225
0.190738
12,719
309
113
41.161812
0.782959
0.130907
0
0.622727
0
0
0.19145
0.060376
0
0
0
0
0.163636
1
0.068182
false
0
0.027273
0
0.113636
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
fe4b1dcb47180e465318d2ca261b6bc60c83e970
1,933
py
Python
backend/app/auth/service.py
pers0n4/yoonyaho
cf7518667bc7cefff0f9534a5e0af89b261cfed7
[ "MIT" ]
null
null
null
backend/app/auth/service.py
pers0n4/yoonyaho
cf7518667bc7cefff0f9534a5e0af89b261cfed7
[ "MIT" ]
16
2021-04-04T10:58:24.000Z
2021-05-23T11:52:08.000Z
backend/app/auth/service.py
pers0n4/yoonyaho
cf7518667bc7cefff0f9534a5e0af89b261cfed7
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta import jwt from flask import current_app from app import db from app.user.repository import UserRepository class AuthService: def __init__(self) -> None: self._user_repository = UserRepository(db.session) def create_token(self, data) -> dict: user = ...
30.203125
88
0.558717
201
1,933
5.174129
0.273632
0.040385
0.061538
0.084615
0.575
0.550962
0.495192
0.495192
0.495192
0.495192
0
0.013107
0.329022
1,933
63
89
30.68254
0.788743
0.019659
0
0.408163
0
0
0.079852
0
0
0
0
0
0
1
0.081633
false
0.020408
0.102041
0.020408
0.265306
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
fe4c72b51d2a6fb97aa207f15cdf6884d9d32013
4,843
py
Python
scripts/qlearn.py
kebaek/minigrid
3808c1401ea7846febf88d0a2fb2aa39e4a4913f
[ "MIT" ]
5
2021-09-29T18:53:37.000Z
2022-03-01T08:03:42.000Z
scripts/qlearn.py
kebaek/minigrid
3808c1401ea7846febf88d0a2fb2aa39e4a4913f
[ "MIT" ]
null
null
null
scripts/qlearn.py
kebaek/minigrid
3808c1401ea7846febf88d0a2fb2aa39e4a4913f
[ "MIT" ]
null
null
null
import _init_paths import argparse import random import time import utils import os from collections import defaultdict import numpy as np import csv from progress.bar import IncrementalBar from utils.hash import * def parse_arguments(): parser = argparse.ArgumentParser() # add arguments parser.add_argume...
38.133858
175
0.628536
617
4,843
4.726094
0.243112
0.039095
0.067215
0.01749
0.215706
0.159122
0.125514
0.093964
0.066529
0.066529
0
0.010301
0.258311
4,843
126
176
38.436508
0.801503
0.026843
0
0.118812
0
0
0.148597
0.009354
0
0
0
0
0
1
0.029703
false
0
0.108911
0
0.148515
0.069307
0
0
0
null
0
0
0
0
0
0
0
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
fe4cffed78f06b24cc3c09215a327c208310e601
1,634
py
Python
research/tunnel.py
carrino/FrisPy
db9e59f465ee25d1c037d580c37da8f35b930b50
[ "MIT" ]
null
null
null
research/tunnel.py
carrino/FrisPy
db9e59f465ee25d1c037d580c37da8f35b930b50
[ "MIT" ]
null
null
null
research/tunnel.py
carrino/FrisPy
db9e59f465ee25d1c037d580c37da8f35b930b50
[ "MIT" ]
null
null
null
import math from pprint import pprint import matplotlib.pyplot as plt from scipy.optimize import minimize from frispy import Disc from frispy import Discs from frispy import Model model = Discs.roc mph_to_mps = 0.44704 v = 56 * mph_to_mps rot = -v / model.diameter ceiling = 4 # 4 meter ceiling tunnel_width = 4 # 4 ...
27.694915
113
0.621787
274
1,634
3.649635
0.350365
0.036
0.044
0.04
0.282
0.282
0.216
0.16
0.16
0.16
0
0.04234
0.205018
1,634
58
114
28.172414
0.727483
0.050184
0
0.04878
0
0
0.047896
0
0
0
0
0
0
1
0.02439
false
0
0.170732
0
0.268293
0.073171
0
0
0
null
0
0
0
0
0
0
0
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
fe4e0e23c7947f7d713c88797190743b2b4ea285
1,450
py
Python
openfermioncirq/variational/ansatzes/swap_network_trotter_hubbard_test.py
unpilbaek/OpenFermion-Cirq
d2f5a871bb5aea1e53d280c0a0e4be999b0c8d9d
[ "Apache-2.0" ]
278
2018-07-18T23:43:16.000Z
2022-01-02T21:38:08.000Z
openfermioncirq/variational/ansatzes/swap_network_trotter_hubbard_test.py
unpilbaek/OpenFermion-Cirq
d2f5a871bb5aea1e53d280c0a0e4be999b0c8d9d
[ "Apache-2.0" ]
131
2018-07-18T19:04:58.000Z
2020-08-04T21:05:42.000Z
openfermioncirq/variational/ansatzes/swap_network_trotter_hubbard_test.py
unpilbaek/OpenFermion-Cirq
d2f5a871bb5aea1e53d280c0a0e4be999b0c8d9d
[ "Apache-2.0" ]
101
2018-07-18T21:43:50.000Z
2022-03-04T09:51:02.000Z
# 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, software # distribu...
41.428571
80
0.65931
210
1,450
4.471429
0.414286
0.021299
0.019169
0.021299
0.374867
0.374867
0.374867
0.374867
0.366347
0.366347
0
0.049912
0.212414
1,450
34
81
42.647059
0.772329
0.370345
0
0.470588
0
0
0.027809
0
0
0
0
0
0.352941
1
0.058824
false
0
0.058824
0
0.117647
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
fe4e2e11b7395e1b93b6ba3044a09072e2e8f08b
1,230
py
Python
Modules/Phylogenetic.py
DaneshMoradigaravand/PlasmidPerm
7a84c1d4dbf7320dd5ba821ff0e715a89fe4b3e4
[ "MIT" ]
null
null
null
Modules/Phylogenetic.py
DaneshMoradigaravand/PlasmidPerm
7a84c1d4dbf7320dd5ba821ff0e715a89fe4b3e4
[ "MIT" ]
null
null
null
Modules/Phylogenetic.py
DaneshMoradigaravand/PlasmidPerm
7a84c1d4dbf7320dd5ba821ff0e715a89fe4b3e4
[ "MIT" ]
null
null
null
import os from Bio import AlignIO, Phylo from Bio.Phylo.TreeConstruction import DistanceCalculator, DistanceTreeConstructor class Phylogenetic: def __init__(self, PATH): self.PATH=PATH def binary_sequence_generator(self, input_kmer_pattern, label): string_inp="".join([ 'A' if x==0 else 'C'...
45.555556
102
0.71626
143
1,230
5.895105
0.454545
0.04745
0.035587
0.049822
0.168446
0.168446
0.168446
0.168446
0.168446
0.116251
0
0.000988
0.177236
1,230
27
102
45.555556
0.832016
0
0
0
0
0
0.105605
0.083672
0
0
0
0
0
1
0.227273
false
0
0.136364
0
0.409091
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
fe50481354faa15f773f5ba3bf0a4fb0f0ded16b
8,854
py
Python
retrieve_regmod_values.py
cbcommunity/cbapi-examples
f8a81006b27c724582b4b04c124eb97a8c8e75d3
[ "MIT" ]
17
2016-07-21T14:58:49.000Z
2020-10-26T15:51:38.000Z
retrieve_regmod_values.py
cbcommunity/cbapi-examples
f8a81006b27c724582b4b04c124eb97a8c8e75d3
[ "MIT" ]
5
2017-06-07T02:42:09.000Z
2019-10-23T12:26:29.000Z
retrieve_regmod_values.py
cbcommunity/cbapi-examples
f8a81006b27c724582b4b04c124eb97a8c8e75d3
[ "MIT" ]
9
2016-10-03T02:18:23.000Z
2021-03-08T22:44:33.000Z
#!/usr/bin/env python # #The MIT License (MIT) # # Copyright (c) 2015 Bit9 + Carbon Black # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
42.980583
146
0.61588
1,065
8,854
5.015023
0.367136
0.026212
0.013106
0.013481
0.126006
0.105785
0.077514
0.049803
0.035199
0.016102
0
0.004838
0.299639
8,854
205
147
43.190244
0.856475
0.332279
0
0.135135
0
0.009009
0.138755
0.003745
0
0
0
0.009756
0
0
null
null
0.045045
0.117117
null
null
0.09009
0
0
0
null
0
0
0
0
0
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
fe509cc8fe00e2ec571d053ee6c5713299416d2c
1,225
py
Python
h/exceptions.py
ssin122/test-h
c10062ae23b690afaac0ab4af7b9a5a5e4b686a9
[ "MIT" ]
2
2021-11-07T23:14:54.000Z
2021-11-17T10:11:55.000Z
h/exceptions.py
ssin122/test-h
c10062ae23b690afaac0ab4af7b9a5a5e4b686a9
[ "MIT" ]
null
null
null
h/exceptions.py
ssin122/test-h
c10062ae23b690afaac0ab4af7b9a5a5e4b686a9
[ "MIT" ]
1
2017-03-12T00:18:33.000Z
2017-03-12T00:18:33.000Z
# -*- coding: utf-8 -*- """Exceptions raised by the h application.""" from __future__ import unicode_literals from h.i18n import TranslationString as _ # N.B. This class **only** covers exceptions thrown by API code provided by # the h package. memex code has its own base APIError class. class APIError(Exception):...
27.222222
79
0.702041
150
1,225
5.466667
0.486667
0.085366
0.040244
0.065854
0.060976
0
0
0
0
0
0
0.01227
0.201633
1,225
44
80
27.840909
0.826176
0.411429
0
0
0
0
0.046547
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0
0.571429
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
1
0
0
2
fe52100e092cba8f28b9f872d87740877e78ee29
5,535
py
Python
functest/opnfv_tests/openstack/shaker/shaker.py
opnfv-poc/functest
4f54b282cabccef2a53e21c77c81b60fe890a8a4
[ "Apache-2.0" ]
null
null
null
functest/opnfv_tests/openstack/shaker/shaker.py
opnfv-poc/functest
4f54b282cabccef2a53e21c77c81b60fe890a8a4
[ "Apache-2.0" ]
null
null
null
functest/opnfv_tests/openstack/shaker/shaker.py
opnfv-poc/functest
4f54b282cabccef2a53e21c77c81b60fe890a8a4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2018 Orange and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 """ Shaker_...
37.910959
79
0.605239
679
5,535
4.740795
0.39028
0.041007
0.036347
0.014911
0.131718
0.082634
0.068966
0.068966
0.068966
0.045356
0
0.012935
0.273713
5,535
145
80
38.172414
0.787811
0.134417
0
0.073395
0
0.009174
0.218935
0.042688
0
0
0
0
0.009174
1
0.045872
false
0.018349
0.055046
0
0.247706
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
fe52c241e006580225be521c666de64401063758
410
py
Python
lib/models/bn_helper.py
hongrui16/naic2020_B
9321bdd19e7d2d47ac9c711eb8437cd364e25f44
[ "MIT" ]
null
null
null
lib/models/bn_helper.py
hongrui16/naic2020_B
9321bdd19e7d2d47ac9c711eb8437cd364e25f44
[ "MIT" ]
null
null
null
lib/models/bn_helper.py
hongrui16/naic2020_B
9321bdd19e7d2d47ac9c711eb8437cd364e25f44
[ "MIT" ]
null
null
null
import torch import functools if torch.__version__.startswith('0'): from .sync_bn.inplace_abn.bn import InPlaceABNSync BatchNorm2d = functools.partial(InPlaceABNSync, activation='none') BatchNorm2d_class = InPlaceABNSync relu_inplace = False else: # BatchNorm2d_class = BatchNorm2d = torch.nn.SyncBa...
34.166667
70
0.770732
45
410
6.777778
0.533333
0.157377
0.177049
0.209836
0.222951
0
0
0
0
0
0
0.023055
0.153659
410
12
71
34.166667
0.855908
0.136585
0
0
0
0
0.014164
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fe551b06355686622edde6ba5da6a8305143cb35
2,193
py
Python
ordered_model/tests/models.py
HiddenClever/django-ordered-model
c94709403cfbb35fa4da3d6470ead816096fdec8
[ "BSD-3-Clause" ]
null
null
null
ordered_model/tests/models.py
HiddenClever/django-ordered-model
c94709403cfbb35fa4da3d6470ead816096fdec8
[ "BSD-3-Clause" ]
null
null
null
ordered_model/tests/models.py
HiddenClever/django-ordered-model
c94709403cfbb35fa4da3d6470ead816096fdec8
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from ordered_model.models import OrderedModel, OrderedModelBase class Item(OrderedModel): name = models.CharField(max_length=100) class Question(models.Model): pass class TestUser(models.Model): pass class Answer(OrderedModel): question = models.ForeignKey(Question, ...
29.24
117
0.735522
259
2,193
6.042471
0.301158
0.06901
0.092013
0.092013
0.31885
0.301597
0.174441
0.053674
0
0
0
0.022642
0.154127
2,193
74
118
29.635135
0.821024
0
0
0.22449
0
0
0.077063
0.0114
0
0
0
0
0
1
0.020408
false
0.040816
0.040816
0.020408
0.877551
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fe5674a5616780733e828478139977dd1166a1db
2,288
py
Python
library/pandas_utils.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
library/pandas_utils.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
library/pandas_utils.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
import os import sys import numpy as np import pandas as pd def get_columns_percent_dataframe(df: pd.DataFrame, totals_column=None, percent_names=True) -> pd.DataFrame: """ @param totals_column: (default = use sum of columns) @param percent_names: Rename names from 'col' => 'col %' Return a dataframe...
28.6
108
0.649913
338
2,288
4.213018
0.281065
0.108146
0.063904
0.042135
0.257725
0.192416
0.183287
0.161517
0.11236
0.11236
0
0.010315
0.237325
2,288
79
109
28.962025
0.805731
0.137675
0
0.039216
0
0
0.013361
0
0
0
0
0
0
1
0.176471
false
0
0.078431
0.039216
0.431373
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
fe56b7b7af27f780f7fa9407871404e8b6436b3d
1,587
py
Python
app/services/base.py
grace1307/lan_mapper
5d244078732b86a2e38a5b21436ffca83c689eeb
[ "MIT" ]
null
null
null
app/services/base.py
grace1307/lan_mapper
5d244078732b86a2e38a5b21436ffca83c689eeb
[ "MIT" ]
null
null
null
app/services/base.py
grace1307/lan_mapper
5d244078732b86a2e38a5b21436ffca83c689eeb
[ "MIT" ]
null
null
null
from app.db import db # Ignore it if db can't find the row when updating/deleting # Todo: not ignore it, raise some error, remove checkers in view class BaseService: __abstract__ = True model = None # Create def add_one(self, **kwargs): new_row = self.model(**kwargs) db.session.add(ne...
28.339286
91
0.609326
225
1,587
4.124444
0.328889
0.067888
0.05819
0.038793
0.071121
0.071121
0.071121
0.071121
0
0
0
0
0.297417
1,587
55
92
28.854545
0.832287
0.127914
0
0.088235
0
0
0.002907
0
0
0
0
0.018182
0
1
0.147059
false
0
0.029412
0.029412
0.382353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
fe56cfdabfdb2c62e991e0ff5887c5fa113a7477
694
py
Python
set.py
QUDUSKUNLE/Python-Flask
5990572b17923c976907c2fa5c2a9790f3a7c869
[ "MIT" ]
null
null
null
set.py
QUDUSKUNLE/Python-Flask
5990572b17923c976907c2fa5c2a9790f3a7c869
[ "MIT" ]
null
null
null
set.py
QUDUSKUNLE/Python-Flask
5990572b17923c976907c2fa5c2a9790f3a7c869
[ "MIT" ]
null
null
null
""" How to set up virtual environment pip install virtualenv pip install virtualenvwrapper # export WORKON_HOME=~/Envs source /usr/local/bin/virtualenvwrapper.sh # To activate virtualenv and set up flask 1. mkvirtualenv my-venv ###2. workon my-venv 3. pip install Flask 4. pip freeze 5. #...
30.173913
79
0.714697
97
694
5.103093
0.701031
0.060606
0.113131
0.137374
0
0
0
0
0
0
0
0.013084
0.229107
694
23
80
30.173913
0.91215
0.936599
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
fe5734aaedd2488a65c2f70b6e6de6bc38f3f4ec
1,346
py
Python
test/test_generate_data_coassembly.py
Badboy-16/SemiBin
501bc1a7e310104c09475ca233a3f16d081f129a
[ "MIT" ]
null
null
null
test/test_generate_data_coassembly.py
Badboy-16/SemiBin
501bc1a7e310104c09475ca233a3f16d081f129a
[ "MIT" ]
null
null
null
test/test_generate_data_coassembly.py
Badboy-16/SemiBin
501bc1a7e310104c09475ca233a3f16d081f129a
[ "MIT" ]
null
null
null
from SemiBin.main import generate_data_single import os import pytest import logging import pandas as pd def test_generate_data_coassembly(): logger = logging.getLogger('SemiBin') logger.setLevel(logging.INFO) sh = logging.StreamHandler() sh.setFormatter(logging.Formatter('%(asctime)s - %(message)s')) ...
42.0625
80
0.604012
147
1,346
5.292517
0.442177
0.107969
0.154242
0.18509
0.313625
0.239075
0
0
0
0
0
0.023256
0.297177
1,346
32
81
42.0625
0.799154
0
0
0
1
0
0.288048
0.23905
0
0
0
0
0.071429
1
0.035714
false
0
0.178571
0
0.214286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe5794e6af44c9c1406d19b02f67dd498db59356
2,676
py
Python
create/create_args_test.py
CarbonROM/android_tools_acloud
0ed5352df639789767d8ea6fe0a510d7a84cfdcc
[ "Apache-2.0" ]
null
null
null
create/create_args_test.py
CarbonROM/android_tools_acloud
0ed5352df639789767d8ea6fe0a510d7a84cfdcc
[ "Apache-2.0" ]
null
null
null
create/create_args_test.py
CarbonROM/android_tools_acloud
0ed5352df639789767d8ea6fe0a510d7a84cfdcc
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 - The Android Open Source Project # # 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 ...
32.240964
74
0.702167
339
2,676
5.336283
0.454277
0.039801
0.039801
0.039801
0.114981
0.071863
0.071863
0.071863
0.071863
0.071863
0
0.004331
0.223468
2,676
82
75
32.634146
0.866218
0.37855
0
0.093023
0
0
0.004994
0
0
0
0
0
0.069767
1
0.069767
false
0.023256
0.139535
0
0.255814
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
fe57a342e2e561171bed3dec28d69a69629da501
452
py
Python
setup.py
Kannuki-san/msman
adc275ad0508d65753c8424e7f6b94becee0b855
[ "MIT" ]
null
null
null
setup.py
Kannuki-san/msman
adc275ad0508d65753c8424e7f6b94becee0b855
[ "MIT" ]
null
null
null
setup.py
Kannuki-san/msman
adc275ad0508d65753c8424e7f6b94becee0b855
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from cx_Freeze import setup,Executable icondata='icon.ico' base = None # GUI=有効, CUI=無効 にする if sys.platform == 'win32' : base = 'win32GUI' exe = Executable(script = 'main.py', base = base, #icon=icondata ...
17.384615
47
0.550885
52
452
4.769231
0.807692
0
0
0
0
0
0
0
0
0
0
0.022436
0.309735
452
26
48
17.384615
0.772436
0.163717
0
0
0
0
0.16
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
fe57f5cf47823b7ec7c95916bb4e6edc61679b1b
2,903
py
Python
stereotype/roles.py
petee-d/stereotype
33a2efc826fd907bd23ffb4e8f7cba119ff022ce
[ "MIT" ]
6
2021-05-26T10:45:50.000Z
2022-01-31T17:36:10.000Z
stereotype/roles.py
petee-d/stereotype
33a2efc826fd907bd23ffb4e8f7cba119ff022ce
[ "MIT" ]
null
null
null
stereotype/roles.py
petee-d/stereotype
33a2efc826fd907bd23ffb4e8f7cba119ff022ce
[ "MIT" ]
null
null
null
from __future__ import annotations from threading import Lock from typing import List, Set, Optional, Any, Tuple from stereotype.utils import ConfigurationError class Role: __slots__ = ('code', 'name', 'empty_by_default') def __init__(self, name: str, empty_by_default: bool = False): self.name = na...
34.975904
111
0.654151
344
2,903
5.18314
0.241279
0.092541
0.047112
0.050477
0.154795
0.117779
0.089736
0.089736
0.089736
0.089736
0
0.000456
0.244575
2,903
82
112
35.402439
0.812586
0
0
0.081967
0
0
0.093352
0.021702
0
0
0
0
0.016393
1
0.163934
false
0
0.065574
0.081967
0.42623
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
fe59e0ae9caf8657811351b2ce6b7040c6d723dc
7,175
py
Python
WEB21-1-12/WEB2/power/zvl_test.py
coderdq/vuetest
28ea4f36e2c4e7e80d1ba1777ef312733ef84048
[ "MIT" ]
null
null
null
WEB21-1-12/WEB2/power/zvl_test.py
coderdq/vuetest
28ea4f36e2c4e7e80d1ba1777ef312733ef84048
[ "MIT" ]
null
null
null
WEB21-1-12/WEB2/power/zvl_test.py
coderdq/vuetest
28ea4f36e2c4e7e80d1ba1777ef312733ef84048
[ "MIT" ]
null
null
null
# coding:utf-8 ''' 矢网的测试项,包括增益,带内波动,VSWR 一个曲线最多建10个marker ''' import os import logging from commoninterface.zvlbase import ZVLBase logger = logging.getLogger('ghost') class HandleZVL(object): def __init__(self, ip, offset): self.zvl = None self.ip = ip self.offset = float(offset) def...
34.830097
108
0.557073
879
7,175
4.386803
0.202503
0.058091
0.073911
0.032676
0.486515
0.432313
0.392894
0.280083
0.256743
0.225104
0
0.043612
0.319303
7,175
205
109
35
0.745905
0.106481
0
0.414286
0
0
0.058075
0.011256
0
0
0
0
0
1
0.078571
false
0
0.021429
0
0.192857
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
fe5a25378e13e098be2b1cdb76f7062e2c91b9b5
2,410
py
Python
kshell/partial_level_density.py
ErlendLima/70Zn
1bf73adec5a3960e195788bc1f4bc79b2086be64
[ "MIT" ]
null
null
null
kshell/partial_level_density.py
ErlendLima/70Zn
1bf73adec5a3960e195788bc1f4bc79b2086be64
[ "MIT" ]
null
null
null
kshell/partial_level_density.py
ErlendLima/70Zn
1bf73adec5a3960e195788bc1f4bc79b2086be64
[ "MIT" ]
null
null
null
from __future__ import division import numpy as np import matplotlib.pyplot as plt import shellmodelutilities as smutil # Set bin width and range bin_width = 0.20 Emax = 14 Nbins = int(np.ceil(Emax/bin_width)) Emax_adjusted = bin_width*Nbins # Trick to get an integer number of bins bins = np.linspace(0,Emax_adjust...
34.927536
170
0.674274
446
2,410
3.515695
0.374439
0.040179
0.044643
0.033163
0.102041
0.102041
0.102041
0.102041
0.102041
0.102041
0
0.068226
0.148548
2,410
68
171
35.441176
0.695906
0.26805
0
0.047619
0
0
0.04298
0.012607
0
0
0
0
0
1
0.02381
false
0
0.119048
0
0.190476
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
fe5b20986b78369a49dfb31999fcc5213f36f3e2
15,480
py
Python
tests/integration/test_provider_base.py
neuro-inc/platform-buckets-api
ba04edeb8565fa06e5af6d0316957a8816b087b2
[ "Apache-2.0" ]
null
null
null
tests/integration/test_provider_base.py
neuro-inc/platform-buckets-api
ba04edeb8565fa06e5af6d0316957a8816b087b2
[ "Apache-2.0" ]
55
2021-11-16T00:26:52.000Z
2022-03-29T03:16:55.000Z
tests/integration/test_provider_base.py
neuro-inc/platform-buckets-api
ba04edeb8565fa06e5af6d0316957a8816b087b2
[ "Apache-2.0" ]
null
null
null
import abc import secrets from collections.abc import AsyncIterator, Awaitable, Callable, Mapping from contextlib import AbstractAsyncContextManager, asynccontextmanager from dataclasses import dataclass from datetime import datetime, timezone import pytest from aiohttp import ClientSession from yarl import URL from ...
35.022624
88
0.655749
1,686
15,480
5.734282
0.094306
0.124535
0.080575
0.097745
0.738519
0.695801
0.6536
0.618225
0.609433
0.597745
0
0.005208
0.268152
15,480
441
89
35.102041
0.848177
0.000969
0
0.577128
0
0
0.030201
0
0
0
0
0
0.047872
1
0.007979
false
0.010638
0.047872
0.005319
0.103723
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
fe5b28c8c0a814b5544650e3dacd259358d5495e
4,972
py
Python
sbpy/photometry/bandpass.py
jianyangli/sbpy
6b79cbea9bada89207fba17d02dc0c321fa46bf4
[ "BSD-3-Clause" ]
1
2017-11-28T02:58:51.000Z
2017-11-28T02:58:51.000Z
sbpy/photometry/bandpass.py
jianyangli/sbpy
6b79cbea9bada89207fba17d02dc0c321fa46bf4
[ "BSD-3-Clause" ]
null
null
null
sbpy/photometry/bandpass.py
jianyangli/sbpy
6b79cbea9bada89207fba17d02dc0c321fa46bf4
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ sbpy bandpass Module """ __all__ = [ 'bandpass' ] import os from astropy.utils.data import get_pkg_data_filename def bandpass(name): """Retrieve bandpass transmission spectrum from sbpy. Parameters ---------- name : string ...
34.054795
75
0.377715
464
4,972
3.974138
0.331897
0.034707
0.030369
0.042299
0.093818
0
0
0
0
0
0
0.060244
0.292237
4,972
145
76
34.289655
0.463768
0.651649
0
0
0
0
0.444444
0.118234
0
0
0
0
0
1
0.02439
false
0.04878
0.121951
0
0.170732
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fe5bf9f4fe33b1e74de5e5a8a91381afcd0d937c
576
py
Python
appserver/search/views.py
sinag/SWE574-Horuscope
9725dd356cbfd19f0ce88d4a208c872be765bd88
[ "MIT" ]
null
null
null
appserver/search/views.py
sinag/SWE574-Horuscope
9725dd356cbfd19f0ce88d4a208c872be765bd88
[ "MIT" ]
null
null
null
appserver/search/views.py
sinag/SWE574-Horuscope
9725dd356cbfd19f0ce88d4a208c872be765bd88
[ "MIT" ]
1
2020-08-07T12:54:51.000Z
2020-08-07T12:54:51.000Z
from django.http import HttpResponse from django.shortcuts import render, redirect from community.models import Community # Create your views here. def search_basic(request): communities = None if request.POST: community_query = request.POST.get('community_search', False) communities = Commun...
30.315789
88
0.744792
65
576
6.476923
0.492308
0.078385
0.109264
0.142518
0.320665
0.320665
0.320665
0.320665
0.320665
0.320665
0
0
0.161458
576
18
89
32
0.871636
0.039931
0
0.181818
0
0
0.156934
0.087591
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
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
fe5c54cf485f5924948c2f9e92bdf0e6152fda9f
1,566
py
Python
teams/migrations/0001_initial.py
Sudani-Coder/teammanager
857082bc14d7a783d2327b4e982edba7c061f303
[ "MIT" ]
null
null
null
teams/migrations/0001_initial.py
Sudani-Coder/teammanager
857082bc14d7a783d2327b4e982edba7c061f303
[ "MIT" ]
null
null
null
teams/migrations/0001_initial.py
Sudani-Coder/teammanager
857082bc14d7a783d2327b4e982edba7c061f303
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-18 17:19 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='GameScore', fields=[ ('id', models.AutoFiel...
36.418605
141
0.541507
151
1,566
5.470199
0.410596
0.090799
0.072639
0.116223
0.521792
0.521792
0.361985
0.361985
0.361985
0.361985
0
0.032997
0.303321
1,566
42
142
37.285714
0.724106
0.028736
0
0.428571
1
0
0.095458
0
0
0
0
0
0
1
0
false
0
0.028571
0
0.142857
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
fe5c97158341c4d0d209389c3a2affb30b2d34bf
9,772
py
Python
qcodes_contrib_drivers/drivers/Oxford/ILM200.py
jenshnielsen/Qcodes_contrib_drivers
dc878cdd99a62f4643a62163a3a6341f98cee440
[ "MIT" ]
null
null
null
qcodes_contrib_drivers/drivers/Oxford/ILM200.py
jenshnielsen/Qcodes_contrib_drivers
dc878cdd99a62f4643a62163a3a6341f98cee440
[ "MIT" ]
2
2020-05-29T11:00:52.000Z
2020-10-09T06:18:11.000Z
qcodes_contrib_drivers/drivers/Oxford/ILM200.py
jenshnielsen/Qcodes_contrib_drivers
dc878cdd99a62f4643a62163a3a6341f98cee440
[ "MIT" ]
1
2020-04-24T01:15:44.000Z
2020-04-24T01:15:44.000Z
# OxfordInstruments_ILM200.py class, to perform the communication between the Wrapper and the device # Copyright (c) 2017 QuTech (Delft) # Code is available under the available under the `MIT open-source license <https://opensource.org/licenses/MIT>`__ # # Pieter Eendebak <pieter.eendebak@tno.nl>, 2017 # Takafumi Fujit...
32.144737
115
0.556283
1,147
9,772
4.589364
0.28422
0.018617
0.031345
0.028875
0.237652
0.140957
0.115122
0.079407
0.06345
0.06345
0
0.019994
0.344863
9,772
303
116
32.250825
0.802249
0.360827
0
0.134921
0
0
0.163254
0
0
0
0
0
0
1
0.126984
false
0
0.031746
0
0.222222
0.007937
0
0
0
null
0
0
0
0
0
0
0
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
fe5cdd0275ff0c38add8e228ff02333ee397a98c
4,417
py
Python
load_cifar_10.py
xgxofdream/CNN-Using-Local-CIFAR-10-dataset
8076056da58a5b564ded50f4cdb059585deb900d
[ "Apache-2.0" ]
null
null
null
load_cifar_10.py
xgxofdream/CNN-Using-Local-CIFAR-10-dataset
8076056da58a5b564ded50f4cdb059585deb900d
[ "Apache-2.0" ]
null
null
null
load_cifar_10.py
xgxofdream/CNN-Using-Local-CIFAR-10-dataset
8076056da58a5b564ded50f4cdb059585deb900d
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import pickle """ The CIFAR-10 dataset consists of 60000 32x32 colour images in 10 classes, with 6000 images per class. There are 50000 training images and 10000 test images. The dataset is divided into five training batches and one test batch, each with 10000 image...
36.808333
118
0.699796
645
4,417
4.494574
0.244961
0.096585
0.086927
0.037254
0.361159
0.298034
0.162815
0.12832
0.098655
0.073129
0
0.029047
0.197193
4,417
119
119
37.117647
0.788494
0.150781
0
0.078125
0
0
0.070058
0
0
0
0
0
0
1
0.03125
false
0
0.046875
0
0.109375
0.109375
0
0
0
null
0
0
0
0
0
0
0
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
fe5d25adf1fa45402acfda5811c79b3110e5df76
3,054
py
Python
volatility3/framework/plugins/mac/lsmod.py
leohearts/volatility3
f52bd8d74fc47e63ea2611d0171b63dc589d4fdf
[ "Linux-OpenIB" ]
null
null
null
volatility3/framework/plugins/mac/lsmod.py
leohearts/volatility3
f52bd8d74fc47e63ea2611d0171b63dc589d4fdf
[ "Linux-OpenIB" ]
null
null
null
volatility3/framework/plugins/mac/lsmod.py
leohearts/volatility3
f52bd8d74fc47e63ea2611d0171b63dc589d4fdf
[ "Linux-OpenIB" ]
null
null
null
# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # """A module containing a collection of plugins that produce data typically found in Mac's lsmod command.""" from volatility3.framewor...
34.704545
114
0.630321
337
3,054
5.599407
0.388724
0.039746
0.063593
0.023847
0.073132
0.073132
0.073132
0.073132
0.073132
0.073132
0
0.013755
0.285855
3,054
87
115
35.103448
0.851444
0.208579
0
0.28
0
0
0.044406
0
0
0
0
0
0
1
0.08
false
0
0.1
0.04
0.34
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
fe5e44d3d94cf663368e7d42480218daf9100e40
16,722
py
Python
instahunter.py
Araekiel/instahunter
c07c10773bcf33bdc0d46b39a0dda3f55936b1f3
[ "MIT" ]
17
2020-09-06T18:10:51.000Z
2021-12-04T07:04:00.000Z
instahunter.py
Araekiel/instahunter
c07c10773bcf33bdc0d46b39a0dda3f55936b1f3
[ "MIT" ]
1
2020-09-30T18:43:10.000Z
2021-05-17T09:59:03.000Z
instahunter.py
Araekiel/instahunter
c07c10773bcf33bdc0d46b39a0dda3f55936b1f3
[ "MIT" ]
5
2020-11-10T15:08:37.000Z
2022-01-02T21:20:24.000Z
''' instahunter.py Author: Araekiel Copyright: Copyright © 2019, Araekiel License: MIT Version: 1.6.3 ''' import click import requests import json from datetime import datetime @click.group() def cli(): """Made by Araekiel | v1.6.3""" headers = { "User-Agent": "Mozilla/5.0 (Macintosh; Inte...
59.297872
425
0.57224
2,111
16,722
4.378494
0.113216
0.104728
0.092394
0.00779
0.759926
0.744888
0.697825
0.673483
0.653684
0.627502
0
0.004668
0.256967
16,722
281
426
59.508897
0.739155
0.075649
0
0.512605
0
0.054622
0.40625
0.044504
0
0
0
0
0
1
0.021008
false
0
0.016807
0
0.037815
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe5f1c04bf52b3ba6d57139fe21bba52f39a4f4c
6,901
py
Python
pyscf/prop/esr/uks.py
azag0/pyscf
1e3e27b61b3cfd22c9679d2c9851c13b3ebc5a1b
[ "Apache-2.0" ]
2
2021-08-03T12:32:25.000Z
2021-09-29T08:19:02.000Z
pyscf/prop/esr/uks.py
azag0/pyscf
1e3e27b61b3cfd22c9679d2c9851c13b3ebc5a1b
[ "Apache-2.0" ]
null
null
null
pyscf/prop/esr/uks.py
azag0/pyscf
1e3e27b61b3cfd22c9679d2c9851c13b3ebc5a1b
[ "Apache-2.0" ]
2
2020-06-01T05:31:38.000Z
2022-02-08T02:38:33.000Z
#!/usr/bin/env python # Copyright 2014-2019 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 # # U...
36.707447
89
0.613534
1,128
6,901
3.580674
0.263298
0.02253
0.035405
0.040852
0.321862
0.281753
0.240654
0.235702
0.195098
0.167863
0
0.060419
0.246921
6,901
187
90
36.903743
0.71676
0.156354
0
0.092308
0
0
0.045643
0
0
0
0
0
0
1
0.038462
false
0
0.084615
0
0.169231
0.023077
0
0
0
null
0
0
0
0
0
0
0
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
fe5f635d76dff706767d5a4351544f241f8b385b
3,192
py
Python
examples/gather_demo.py
mununum/MAgent
7272cd726182280444597310d52369fac5e13e37
[ "MIT" ]
1
2021-06-22T10:22:26.000Z
2021-06-22T10:22:26.000Z
examples/gather_demo.py
mununum/MAgent
7272cd726182280444597310d52369fac5e13e37
[ "MIT" ]
null
null
null
examples/gather_demo.py
mununum/MAgent
7272cd726182280444597310d52369fac5e13e37
[ "MIT" ]
null
null
null
import random import magent from magent.builtin.rule_model import RandomActor import numpy as np def init_food(env, food_handle): tree = np.asarray([[-1,0], [0,0], [0,-1], [0,1], [1,0]]) third = map_size//4 # mapsize includes walls for i in range(1, 4): for j in range(1, 4): base = np...
28
87
0.580201
458
3,192
3.818777
0.275109
0.056032
0.04574
0.046312
0.284734
0.174957
0.141795
0.129788
0.046312
0.046312
0
0.034378
0.280075
3,192
114
88
28
0.726719
0.107143
0
0.053333
0
0
0.048643
0
0
0
0
0
0
0
null
null
0
0.053333
null
null
0.04
0
0
0
null
0
0
0
0
0
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
fe605cdea9d8787846418bf36b3fc74d17111206
11,661
py
Python
corehq/apps/domain/deletion.py
shyamkumarlchauhan/commcare-hq
99df931bcf56e9fbe15d8fcb0dc98b5a3957fb48
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/domain/deletion.py
shyamkumarlchauhan/commcare-hq
99df931bcf56e9fbe15d8fcb0dc98b5a3957fb48
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/domain/deletion.py
shyamkumarlchauhan/commcare-hq
99df931bcf56e9fbe15d8fcb0dc98b5a3957fb48
[ "BSD-3-Clause" ]
null
null
null
import itertools import logging from datetime import date from django.apps import apps from django.conf import settings from django.db import connection, transaction from django.db.models import Q from dimagi.utils.chunked import chunked from corehq.apps.accounting.models import Subscription from corehq.apps.account...
41.646429
108
0.725924
1,290
11,661
6.266667
0.256589
0.117516
0.027214
0.020411
0.17949
0.120732
0.063582
0.029193
0.029193
0.029193
0
0.000821
0.164051
11,661
279
109
41.795699
0.828478
0.047595
0
0.059091
0
0
0.223795
0.038666
0
0
0
0.003584
0
1
0.086364
false
0
0.104545
0.004545
0.227273
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
fe609a5c6fba0b3499c6abf7b2ebbe251d3d8901
8,056
py
Python
icosphere/icosphere.py
JackWalpole/icosahedron
5317d8eb9509abe275beb2693730e3efaa986672
[ "MIT" ]
2
2017-10-02T23:36:49.000Z
2021-12-21T06:12:16.000Z
icosphere/icosphere.py
JackWalpole/icosphere
5317d8eb9509abe275beb2693730e3efaa986672
[ "MIT" ]
null
null
null
icosphere/icosphere.py
JackWalpole/icosphere
5317d8eb9509abe275beb2693730e3efaa986672
[ "MIT" ]
null
null
null
"""Subdivided icosahedral mesh generation""" from __future__ import print_function import numpy as np # following: http://blog.andreaskahler.com/2009/06/creating-icosphere-mesh-in-code.html # hierarchy: # Icosphere -> Triangle -> Point class IcoSphere: """ Usage: IcoSphere(level) Maximum supported level =...
37.64486
96
0.544067
1,052
8,056
4.118821
0.19962
0.077544
0.083083
0.106162
0.36649
0.291715
0.17586
0.14355
0.14355
0.14355
0
0.032816
0.303997
8,056
214
97
37.64486
0.739968
0.1893
0
0.037313
0
0
0.042502
0
0
0
0
0
0
1
0.089552
false
0.007463
0.029851
0
0.186567
0.022388
0
0
0
null
0
0
0
0
0
0
0
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
fe60c7c64b76bb62e7927a82cb0d30249ff0793b
1,840
py
Python
src/main.py
Lidenbrock-ed/challenge-prework-backend-python
d2f46a5cf9ad649de90d4194d115cd9492eb583d
[ "MIT" ]
null
null
null
src/main.py
Lidenbrock-ed/challenge-prework-backend-python
d2f46a5cf9ad649de90d4194d115cd9492eb583d
[ "MIT" ]
null
null
null
src/main.py
Lidenbrock-ed/challenge-prework-backend-python
d2f46a5cf9ad649de90d4194d115cd9492eb583d
[ "MIT" ]
null
null
null
# Resolve the problem!! import string import random SYMBOLS = list('!"#$%&\'()*+,-./:;?@[]^_`{|}~') def generate_password(): # Start coding here letters_min = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','x','y','z'] letters_may = ['A','B','C','D','E','F','G','H...
27.058824
119
0.547283
234
1,840
4.111111
0.363248
0.049896
0.037422
0.070686
0.227651
0.227651
0.227651
0.227651
0.227651
0.149688
0
0.011407
0.285326
1,840
67
120
27.462687
0.720152
0.021196
0
0.166667
1
0
0.059511
0
0
0
0
0
0
1
0.0625
false
0.375
0.041667
0
0.166667
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
fe6109edbf02869c5f97fef83d0ae614ddf0da76
8,091
py
Python
targets/baremetal-sdk/curie-bsp/setup.py
ideas-detoxes/jerryscript
42523bd6e2b114755498c9f68fd78545f9b33476
[ "Apache-2.0" ]
4,324
2016-11-25T11:25:27.000Z
2022-03-31T03:24:49.000Z
targets/baremetal-sdk/curie-bsp/setup.py
ideas-detoxes/jerryscript
42523bd6e2b114755498c9f68fd78545f9b33476
[ "Apache-2.0" ]
2,099
2016-11-25T08:08:59.000Z
2022-03-12T07:41:20.000Z
targets/baremetal-sdk/curie-bsp/setup.py
lygstate/jerryscript
55acdf2048b390d0f56f12e64dbfb2559f0e70ad
[ "Apache-2.0" ]
460
2016-11-25T07:16:10.000Z
2022-03-24T14:05:29.000Z
#!/usr/bin/env python # Copyright JS Foundation and other contributors, http://js.foundation # # 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....
32.107143
113
0.66024
1,100
8,091
4.607273
0.224545
0.036701
0.04341
0.027624
0.20955
0.143646
0.113852
0.060576
0.053275
0.053275
0
0.006365
0.20393
8,091
251
114
32.23506
0.780469
0.193548
0
0
0
0
0.274537
0.066635
0
0
0
0
0
1
0.077419
false
0
0.019355
0
0.129032
0.025806
0
0
0
null
0
0
0
0
0
0
0
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
fe6124434f4049e2a32ac1bce2dbe6c619c4fd73
222
py
Python
pythonteste/aula08a.py
genisyskernel/cursoemvideo-python
dec301e33933388c886fe78010f38adfb24dae82
[ "MIT" ]
1
2020-10-26T04:33:14.000Z
2020-10-26T04:33:14.000Z
pythonteste/aula08a.py
genisyskernel/cursoemvideo-python
dec301e33933388c886fe78010f38adfb24dae82
[ "MIT" ]
null
null
null
pythonteste/aula08a.py
genisyskernel/cursoemvideo-python
dec301e33933388c886fe78010f38adfb24dae82
[ "MIT" ]
null
null
null
from math import sqrt import emoji num = int(input("Digite um número: ")) raiz = sqrt(num) print("A raiz do número {0} é {1:.2f}.".format(num, raiz)) print(emoji.emojize("Hello World! :earth_americas:", use_aliases=True))
31.714286
71
0.707207
37
222
4.189189
0.756757
0
0
0
0
0
0
0
0
0
0
0.015385
0.121622
222
6
72
37
0.779487
0
0
0
0
0
0.351351
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
fe613281281e5fa651291114e4bc822aff3309a5
2,001
py
Python
duke-cs671-fall21-coupon-recommendation/outputs/rules/RF/17_features/numtrees_30/rule_20.py
apcarrik/kaggle
6e2d4db58017323e7ba5510bcc2598e01a4ee7bf
[ "MIT" ]
null
null
null
duke-cs671-fall21-coupon-recommendation/outputs/rules/RF/17_features/numtrees_30/rule_20.py
apcarrik/kaggle
6e2d4db58017323e7ba5510bcc2598e01a4ee7bf
[ "MIT" ]
null
null
null
duke-cs671-fall21-coupon-recommendation/outputs/rules/RF/17_features/numtrees_30/rule_20.py
apcarrik/kaggle
6e2d4db58017323e7ba5510bcc2598e01a4ee7bf
[ "MIT" ]
null
null
null
def findDecision(obj): #obj[0]: Passanger, obj[1]: Weather, obj[2]: Time, obj[3]: Coupon, obj[4]: Coupon_validity, obj[5]: Gender, obj[6]: Age, obj[7]: Maritalstatus, obj[8]: Children, obj[9]: Education, obj[10]: Occupation, obj[11]: Income, obj[12]: Bar, obj[13]: Coffeehouse, obj[14]: Restaurant20to50, obj[15]: Direct...
37.754717
347
0.571714
289
2,001
3.913495
0.211073
0.123784
0.095491
0.105217
0.392573
0.296198
0.20336
0.121132
0.070734
0
0
0.092534
0.216892
2,001
52
348
38.480769
0.629228
0.54023
0
0.5
0
0
0.10011
0
0
0
0
0
0
1
0.02381
false
0
0
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
fe619b4bba8137e17d2356d7038bb205bbb3ddcb
8,074
py
Python
src/ralph/discovery/tests/plugins/samples/http_ibm_system_x.py
quamilek/ralph
bf7231ea096924332b874718b33cd1f43f9c783b
[ "Apache-2.0" ]
null
null
null
src/ralph/discovery/tests/plugins/samples/http_ibm_system_x.py
quamilek/ralph
bf7231ea096924332b874718b33cd1f43f9c783b
[ "Apache-2.0" ]
null
null
null
src/ralph/discovery/tests/plugins/samples/http_ibm_system_x.py
quamilek/ralph
bf7231ea096924332b874718b33cd1f43f9c783b
[ "Apache-2.0" ]
null
null
null
macs_response = '''<?xml version="1.0"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wxf="http://schemas.xmlsoap.org/ws/2004/09/transfer"><s:Header><wsa:To>http://schemas.xmlsoap.org...
621.076923
2,572
0.792172
1,050
8,074
6.085714
0.198095
0.016432
0.042254
0.049296
0.746479
0.715493
0.647261
0.602973
0.592958
0.582316
0
0.100038
0.012014
8,074
12
2,573
672.833333
0.701015
0
1
0.5
0
0.5
0.983775
0.541244
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1
0
0
1
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fe61ee9fb03a144ec04e2fb8220326b27f35be96
18,786
py
Python
main.py
AdrienCourtois/DexiNed
1198c043f4ed46efd7ad7bc77edf39ba66f0f3b1
[ "MIT" ]
null
null
null
main.py
AdrienCourtois/DexiNed
1198c043f4ed46efd7ad7bc77edf39ba66f0f3b1
[ "MIT" ]
null
null
null
main.py
AdrienCourtois/DexiNed
1198c043f4ed46efd7ad7bc77edf39ba66f0f3b1
[ "MIT" ]
null
null
null
from __future__ import print_function import argparse import os import time, platform import cv2 import torch import torch.optim as optim from torch.utils.data import DataLoader from datasets import DATASET_NAMES, BipedDataset, TestDataset, dataset_info from losses import * from model import DexiNed # from model0C ...
42.406321
121
0.524806
2,107
18,786
4.475083
0.170859
0.026726
0.050483
0.01209
0.42645
0.370877
0.322304
0.303001
0.285396
0.252731
0
0.026567
0.370861
18,786
442
122
42.502262
0.771216
0.103535
0
0.340058
0
0
0.131715
0.00161
0
0
0
0
0
1
0.017291
false
0
0.037464
0
0.060519
0.048991
0
0
0
null
0
0
0
0
0
0
0
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
fe62800d500daa91f541e4f0b0257370caac7c78
5,905
py
Python
src/core/build/pretreat_targets.py
chaoyangcui/test_developertest
151309bf6cdc7e31493a3461d3c7f17a1b371c09
[ "Apache-2.0" ]
null
null
null
src/core/build/pretreat_targets.py
chaoyangcui/test_developertest
151309bf6cdc7e31493a3461d3c7f17a1b371c09
[ "Apache-2.0" ]
null
null
null
src/core/build/pretreat_targets.py
chaoyangcui/test_developertest
151309bf6cdc7e31493a3461d3c7f17a1b371c09
[ "Apache-2.0" ]
1
2021-09-13T12:03:37.000Z
2021-09-13T12:03:37.000Z
#!/usr/bin/env python3 # coding=utf-8 # # Copyright (c) 2021 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
39.366667
78
0.573412
746
5,905
4.30563
0.219839
0.03736
0.0467
0.056663
0.307908
0.232254
0.188356
0.146015
0.136364
0.136364
0
0.007667
0.271126
5,905
149
79
39.630872
0.738615
0.11685
0
0.115385
0
0
0.089885
0
0
0
0
0
0
1
0.086538
false
0
0.057692
0
0.211538
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
fe63a253f1cf19a404c6e2b601535edfb1888800
657
py
Python
tests/testapp/urls.py
lukaszbanasiak/django-contrib-comments
8a99ed810e9e94cb9dff1c362b2c4ebe2e37dead
[ "BSD-3-Clause" ]
1
2018-05-29T08:43:57.000Z
2018-05-29T08:43:57.000Z
tests/testapp/urls.py
lukaszbanasiak/django-contrib-comments
8a99ed810e9e94cb9dff1c362b2c4ebe2e37dead
[ "BSD-3-Clause" ]
null
null
null
tests/testapp/urls.py
lukaszbanasiak/django-contrib-comments
8a99ed810e9e94cb9dff1c362b2c4ebe2e37dead
[ "BSD-3-Clause" ]
1
2018-08-25T01:38:12.000Z
2018-08-25T01:38:12.000Z
from __future__ import absolute_import from django.conf.urls import patterns, url from django_comments.feeds import LatestCommentFeed from custom_comments import views feeds = { 'comments': LatestCommentFeed, } urlpatterns = patterns('', url(r'^post/$', views.custom_submit_comment), url(r'^flag/(\d+)...
26.28
105
0.692542
78
657
5.641026
0.384615
0.045455
0.1
0
0
0
0
0
0
0
0
0
0.121766
657
24
106
27.375
0.762565
0
0
0
0
0
0.232877
0.09589
0
0
0
0
0
1
0
false
0
0.235294
0
0.235294
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
fe6407132244604eabc2321eb05eb24333b3bd82
669
py
Python
pyTorch/utils.py
rajasekar-venkatesan/Deep_Learning
c375dab303f44043a4dc30ea53b298d7eca1d5a7
[ "MIT" ]
null
null
null
pyTorch/utils.py
rajasekar-venkatesan/Deep_Learning
c375dab303f44043a4dc30ea53b298d7eca1d5a7
[ "MIT" ]
null
null
null
pyTorch/utils.py
rajasekar-venkatesan/Deep_Learning
c375dab303f44043a4dc30ea53b298d7eca1d5a7
[ "MIT" ]
null
null
null
import pandas as pd, numpy as np from sklearn.preprocessing import OneHotEncoder author_int_dict = {'EAP':0,'HPL':1,'MWS':2} def load_train_test_data (num_samples=None): train_data = pd.read_csv('../data/train.csv') train_data['author'] = [author_int_dict[a] for a in train_data['author'].tolist()] ...
33.45
87
0.689088
96
669
4.510417
0.5
0.083141
0.096998
0.083141
0.078522
0
0
0
0
0
0
0.012567
0.167414
669
20
88
33.45
0.764811
0.083707
0
0
0
0
0.104377
0
0
0
0
0
0
1
0.142857
false
0.071429
0.142857
0
0.428571
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
fe64404bf937356d7de814318a6e0bdf49ea36b3
6,987
py
Python
example/dec/dec.py
TheBurningCrusade/A_mxnet
fa2a8e3c438bea16b993e9537f75e2082d83346f
[ "Apache-2.0" ]
159
2016-08-23T22:13:26.000Z
2021-10-24T01:31:35.000Z
example/dec/dec.py
mrgloom/FaceDetection-ConvNet-3D
f9251c48eb40c5aec8fba7455115c355466555be
[ "Apache-2.0" ]
10
2016-08-23T05:59:07.000Z
2018-05-24T02:31:41.000Z
example/dec/dec.py
mrgloom/FaceDetection-ConvNet-3D
f9251c48eb40c5aec8fba7455115c355466555be
[ "Apache-2.0" ]
77
2016-08-21T00:35:00.000Z
2021-06-01T05:03:34.000Z
# pylint: skip-file import sys import os # code to automatically download dataset curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__))) sys.path = [os.path.join(curr_path, "../autoencoder")] + sys.path import mxnet as mx import numpy as np import data from scipy.spatial.distance import cdist from s...
44.788462
116
0.586232
1,067
6,987
3.665417
0.208997
0.028126
0.035796
0.013296
0.284838
0.207875
0.157504
0.12631
0.117617
0.094605
0
0.033561
0.266495
6,987
156
117
44.788462
0.729561
0.008015
0
0.128571
0
0
0.041276
0
0
0
0
0
0.021429
0
null
null
0
0.085714
null
null
0.028571
0
0
0
null
0
0
0
0
0
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
fe646aafd2f602c63f8aacb84f51c78795b63990
7,537
py
Python
cctbx/maptbx/tst_target_and_gradients.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
cctbx/maptbx/tst_target_and_gradients.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
cctbx/maptbx/tst_target_and_gradients.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division from cctbx.array_family import flex from cctbx import xray from cctbx import crystal from cctbx import maptbx from cctbx.maptbx import minimization from libtbx.test_utils import approx_equal import random from cctbx.development import random_structure from cctbx import sgtbx if (1): r...
36.235577
80
0.667109
1,089
7,537
4.277319
0.146924
0.025762
0.036496
0.041219
0.681408
0.653499
0.608416
0.588235
0.563332
0.5
0
0.031118
0.21547
7,537
207
81
36.410628
0.756638
0.043784
0
0.502793
0
0
0.009516
0
0
0
0
0
0.089385
1
0.055866
false
0
0.055866
0
0.139665
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
fe66e2796ab20353c3b7dbe7a834d55cb22ebb8a
1,212
py
Python
open_imagilib/matrix.py
viktor-ferenczi/open-imagilib
3e7328840d58fd49eda28490e9bddf91390b1981
[ "MIT" ]
2
2022-01-17T17:22:01.000Z
2022-01-22T13:11:33.000Z
open_imagilib/matrix.py
viktor-ferenczi/open-imagilib
3e7328840d58fd49eda28490e9bddf91390b1981
[ "MIT" ]
null
null
null
open_imagilib/matrix.py
viktor-ferenczi/open-imagilib
3e7328840d58fd49eda28490e9bddf91390b1981
[ "MIT" ]
null
null
null
""" LED matrix """ __all__ = ['Matrix'] from .colors import Color, on, off from .fonts import font_6x8 class Matrix(list): def __init__(self, source=None) -> None: if source is None: row_iter = ([off for _ in range(8)] for _ in range(8)) elif isinstance(source, list): row...
26.347826
89
0.487624
159
1,212
3.559748
0.36478
0.04947
0.056537
0.038869
0
0
0
0
0
0
0
0.02578
0.391914
1,212
45
90
26.933333
0.742198
0.008251
0
0
0
0
0.045226
0
0
0
0
0
0
1
0.09375
false
0
0.0625
0
0.21875
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
fe67c40ce9ecf1d76fc170ecd6e31ab09246551a
64
py
Python
prml/linear/_classifier.py
alexandru-dinu/PRML
acd823e098df67abe0306a70225e7539f8edda40
[ "MIT" ]
null
null
null
prml/linear/_classifier.py
alexandru-dinu/PRML
acd823e098df67abe0306a70225e7539f8edda40
[ "MIT" ]
null
null
null
prml/linear/_classifier.py
alexandru-dinu/PRML
acd823e098df67abe0306a70225e7539f8edda40
[ "MIT" ]
1
2019-06-22T20:56:02.000Z
2019-06-22T20:56:02.000Z
class Classifier(object): """Base class for classifiers."""
21.333333
37
0.6875
7
64
6.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.15625
64
2
38
32
0.814815
0.421875
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
fe6806edfc8769087714d9060a7456450c7a5f90
1,608
py
Python
tests/env_config/test_base.py
DAtek/datek-app-utils
4783345d548bd85b1f6f99679be30b978e368e0e
[ "MIT" ]
null
null
null
tests/env_config/test_base.py
DAtek/datek-app-utils
4783345d548bd85b1f6f99679be30b978e368e0e
[ "MIT" ]
2
2022-02-05T12:15:03.000Z
2022-03-27T09:55:51.000Z
tests/env_config/test_base.py
DAtek/datek-app-utils
4783345d548bd85b1f6f99679be30b978e368e0e
[ "MIT" ]
null
null
null
from pytest import raises from datek_app_utils.env_config.base import BaseConfig from datek_app_utils.env_config.errors import InstantiationForbiddenError class SomeOtherMixinWhichDoesntRelateToEnvConfig: color = "red" class TestConfig: def test_iter(self, monkeypatch, key_volume, base_config_class): ...
28.714286
84
0.651741
193
1,608
5.26943
0.300518
0.162242
0.058997
0.070796
0.328417
0.208456
0.088496
0.088496
0
0
0
0.015847
0.254353
1,608
55
85
29.236364
0.83236
0
0
0.052632
0
0
0.056592
0.030473
0
0
0
0
0.473684
1
0.078947
false
0.026316
0.078947
0
0.289474
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
1
0
0
0
0
0
0
0
0
0
1
fe68679524344d1cb6b9cfd2e5daf3c7c5e16099
1,704
py
Python
comprehend.py
korniichuk/cvr-features
ed3569222781258d4de242db3c9b51f19573bacb
[ "Unlicense" ]
null
null
null
comprehend.py
korniichuk/cvr-features
ed3569222781258d4de242db3c9b51f19573bacb
[ "Unlicense" ]
null
null
null
comprehend.py
korniichuk/cvr-features
ed3569222781258d4de242db3c9b51f19573bacb
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Name: comprehend # Version: 0.1a2 # Owner: Ruslan Korniichuk # Maintainer(s): import boto3 def get_sentiment(text, language_code='en'): """Get sentiment. Inspects text and returns an inference of the prevailing sentiment (positive, neutral, mixed, or negative). Args: ...
32.150943
78
0.6473
242
1,704
4.528926
0.450413
0.027372
0.029197
0.05292
0.432482
0.432482
0.361314
0.361314
0.361314
0.361314
0
0.014354
0.264085
1,704
52
79
32.769231
0.859649
0.687793
0
0
0
0
0.059957
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.357143
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
fe68c2686760a20f5158d8a2bc5c4a835377dc27
6,801
py
Python
mapclientplugins/argonsceneexporterstep/ui_configuredialog.py
Kayvv/mapclientplugins.argonsceneexporterstep
59b0b9cb15660c5747c1a7cba9da0e1eaf0bdf48
[ "Apache-2.0" ]
null
null
null
mapclientplugins/argonsceneexporterstep/ui_configuredialog.py
Kayvv/mapclientplugins.argonsceneexporterstep
59b0b9cb15660c5747c1a7cba9da0e1eaf0bdf48
[ "Apache-2.0" ]
null
null
null
mapclientplugins/argonsceneexporterstep/ui_configuredialog.py
Kayvv/mapclientplugins.argonsceneexporterstep
59b0b9cb15660c5747c1a7cba9da0e1eaf0bdf48
[ "Apache-2.0" ]
3
2021-07-26T00:53:24.000Z
2021-11-17T23:23:11.000Z
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'configuredialog.ui' ## ## Created by: Qt User Interface Compiler version 5.15.2 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ##########...
44.45098
113
0.723276
642
6,801
7.5919
0.190031
0.06032
0.07222
0.092532
0.24723
0
0
0
0
0
0
0.012017
0.155712
6,801
152
114
44.743421
0.836816
0.034113
0
0.021053
1
0
0.088208
0.007507
0
0
0
0
0
1
0.021053
false
0
0.031579
0
0.063158
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
fe6923b1aa562920cf3b40c7be4c7dd797b7d3f4
1,039
py
Python
pbx_gs_python_utils/lambdas/utils/puml_to_slack.py
owasp-sbot/pbx-gs-python-utils
f448aa36c4448fc04d30c3a5b25640ea4d44a267
[ "Apache-2.0" ]
3
2018-12-14T15:43:46.000Z
2019-04-25T07:44:58.000Z
pbx_gs_python_utils/lambdas/utils/puml_to_slack.py
owasp-sbot/pbx-gs-python-utils
f448aa36c4448fc04d30c3a5b25640ea4d44a267
[ "Apache-2.0" ]
1
2019-05-11T14:19:37.000Z
2019-05-11T14:51:04.000Z
pbx_gs_python_utils/lambdas/utils/puml_to_slack.py
owasp-sbot/pbx-gs-python-utils
f448aa36c4448fc04d30c3a5b25640ea4d44a267
[ "Apache-2.0" ]
4
2018-12-27T04:54:14.000Z
2019-05-11T14:07:47.000Z
import base64 import tempfile import requests from osbot_aws.apis import Secrets from osbot_aws.apis.Lambdas import Lambdas def upload_png_file(channel_id, file): bot_token = Secrets('slack-gs-bot').value() my_file = { 'file': ('/tmp/myfile.png', open(file, 'rb'), 'png') } p...
28.081081
86
0.589028
128
1,039
4.609375
0.460938
0.040678
0.045763
0.054237
0
0
0
0
0
0
0
0.007722
0.252166
1,039
36
87
28.861111
0.751609
0
0
0
0
0
0.167469
0
0
0
0
0
0
1
0.074074
false
0
0.185185
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fe694e90c7ac984d467776f89ad0bcfbd5ee4819
2,131
py
Python
src/system_io/input.py
DeseineClement/bigdata-housing-classifier
aa864056c8b25217821f59d16c1ba5725c21a185
[ "MIT" ]
null
null
null
src/system_io/input.py
DeseineClement/bigdata-housing-classifier
aa864056c8b25217821f59d16c1ba5725c21a185
[ "MIT" ]
null
null
null
src/system_io/input.py
DeseineClement/bigdata-housing-classifier
aa864056c8b25217821f59d16c1ba5725c21a185
[ "MIT" ]
null
null
null
from sys import argv from getopt import getopt from os import R_OK, access from string import Template DEFAULT_DATASET_FILE_PATH = "dataset/data.csv" DEFAULT_DATASET_COLUMNS = ['surface (m2)', 'height (m)', 'latitude', 'housing_type', 'longitude', 'country_code', 'city'] DEFAULT_VISU = ["sca...
41.784314
120
0.633975
264
2,131
4.924242
0.310606
0.076154
0.064615
0.073846
0.132308
0.061538
0.061538
0.061538
0
0
0
0.011229
0.247771
2,131
50
121
42.62
0.79975
0
0
0
0
0
0.177851
0
0
0
0
0
0
1
0.02381
false
0
0.095238
0
0.142857
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
fe6bf9a13a6fe5e608e3131b9e7d5730fd32e4d4
1,490
py
Python
netmiko/example7.py
Tes3awy/Ntemiko-Examples
b29aa3b0de14916f1ebac5b0f1ed7fe37d8740ba
[ "MIT" ]
3
2021-05-20T05:34:49.000Z
2022-02-14T03:35:10.000Z
netmiko/example7.py
Tes3awy/Ntemiko-Examples
b29aa3b0de14916f1ebac5b0f1ed7fe37d8740ba
[ "MIT" ]
null
null
null
netmiko/example7.py
Tes3awy/Ntemiko-Examples
b29aa3b0de14916f1ebac5b0f1ed7fe37d8740ba
[ "MIT" ]
2
2021-08-19T12:34:47.000Z
2022-03-28T15:48:55.000Z
# Must run example4.py first # Read an Excel sheet and save running config of devices using pandas import pandas as pd from netmiko import ConnectHandler # Read Excel file of .xlsx format data = pd.read_excel(io="Example4-Device-Details.xlsx", sheet_name=0) # Convert data to data frame df = pd.DataFrame(data=data) ...
31.702128
85
0.658389
212
1,490
4.533019
0.495283
0.031217
0.067638
0.05411
0.187305
0.187305
0.187305
0
0
0
0
0.014311
0.249664
1,490
46
86
32.391304
0.845259
0.357718
0
0
0
0
0.177282
0.057325
0
0
0
0
0
1
0
false
0.038462
0.076923
0
0.076923
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
fe6cc530fb4e5b20aac699a77d75b91318a5ca68
2,385
py
Python
inference-engine/tests/ie_test_utils/functional_test_utils/layer_tests_summary/utils/constants.py
plaidml/openvino
e784ab8ab7821cc1503d9c5ca6034eea112bf52b
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/ie_test_utils/functional_test_utils/layer_tests_summary/utils/constants.py
plaidml/openvino
e784ab8ab7821cc1503d9c5ca6034eea112bf52b
[ "Apache-2.0" ]
105
2020-06-04T00:23:29.000Z
2022-02-21T13:04:33.000Z
inference-engine/tests/ie_test_utils/functional_test_utils/layer_tests_summary/utils/constants.py
mpapaj/openvino
37b46de1643a2ba6c3b6a076f81d0a47115ede7e
[ "Apache-2.0" ]
1
2020-10-23T06:45:11.000Z
2020-10-23T06:45:11.000Z
# Copyright (C) 2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 VERIFIED_OP_REFERENCES = [ 'Abs-1', 'Acos-1', 'Add-1', 'Asin-1', 'Asinh-3', 'Assign-6', 'AvgPool-1', 'BatchNormInference-5', 'BatchToSpace-2', 'BinaryConvolution-1', 'Broadcast-1', 'Broadcast-3'...
20.211864
58
0.568134
238
2,385
5.684874
0.52521
0.014782
0.019217
0
0
0
0
0
0
0
0
0.066814
0.240671
2,385
117
59
20.384615
0.680287
0.030189
0
0.017544
0
0
0.6
0.131602
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
fe6ce225addf6075e565169dfeb40c47ef8bca4d
18,542
py
Python
ghub/githubutils.py
mahanthathreyee/ghub
b212ca068ef530d034095e6ef5d964e4e78dc022
[ "MIT" ]
null
null
null
ghub/githubutils.py
mahanthathreyee/ghub
b212ca068ef530d034095e6ef5d964e4e78dc022
[ "MIT" ]
null
null
null
ghub/githubutils.py
mahanthathreyee/ghub
b212ca068ef530d034095e6ef5d964e4e78dc022
[ "MIT" ]
null
null
null
"""Utilities for interacting with GitHub""" import os import json import webbrowser import stat import sys from git import Repo from .context import Context event_dict = { "added_to_project": ( lambda event: "{} added the issue to a project.".format(event["actor"]["login"]) ), "assigned": ( ...
36.936255
99
0.584349
2,146
18,542
4.912861
0.122088
0.093901
0.064877
0.047804
0.63701
0.589111
0.524044
0.485535
0.465617
0.44143
0
0.008335
0.288211
18,542
501
100
37.00998
0.790499
0.010355
0
0.504405
0
0
0.178146
0.004912
0
0
0
0
0
1
0.04185
false
0.002203
0.015419
0
0.129956
0.085903
0
0
0
null
0
0
0
0
0
0
0
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
fe6de4a21365edf7ffd30ec000387c588b119366
9,086
py
Python
equipments/migrations/0001_initial.py
fagrimacs/fagrimacs_production
ea1a8f92c41c416309cc1fdd8deb02f41a9c95a0
[ "MIT" ]
null
null
null
equipments/migrations/0001_initial.py
fagrimacs/fagrimacs_production
ea1a8f92c41c416309cc1fdd8deb02f41a9c95a0
[ "MIT" ]
8
2020-09-16T05:28:33.000Z
2020-09-28T06:29:03.000Z
equipments/migrations/0001_initial.py
fagrimacs/fagrimacs_production
ea1a8f92c41c416309cc1fdd8deb02f41a9c95a0
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-09-18 05:52 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import multiselectfield.db.fields class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(setting...
75.716667
499
0.637134
959
9,086
5.893639
0.224192
0.08758
0.029724
0.030255
0.587226
0.509377
0.487615
0.402335
0.382166
0.355096
0
0.010819
0.216707
9,086
119
500
76.352941
0.783336
0.004953
0
0.473214
1
0
0.323708
0.018254
0
0
0
0
0
1
0
false
0
0.035714
0
0.071429
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
fe6f28fa08fad0c5dcac3f523f0415850eb9e77c
3,495
py
Python
dcos_installer/test_cli.py
nkhanal0/dcos
fe0571b6519c86b6c33db4af42c63ab3e9087dcf
[ "Apache-2.0" ]
3
2017-02-05T06:58:28.000Z
2017-05-12T07:28:53.000Z
dcos_installer/test_cli.py
nkhanal0/dcos
fe0571b6519c86b6c33db4af42c63ab3e9087dcf
[ "Apache-2.0" ]
720
2017-02-08T04:04:19.000Z
2021-09-14T14:04:56.000Z
dcos_installer/test_cli.py
nkhanal0/dcos
fe0571b6519c86b6c33db4af42c63ab3e9087dcf
[ "Apache-2.0" ]
14
2017-02-08T03:57:24.000Z
2019-10-28T12:14:49.000Z
import pytest import gen from dcos_installer import cli def test_default_arg_parser(): parser = cli.get_argument_parser().parse_args([]) assert parser.verbose is False assert parser.port == 9000 assert parser.action == 'genconf' def test_set_arg_parser(): argument_parser = cli.get_argument_pars...
34.60396
76
0.571674
434
3,495
4.520737
0.239631
0.12844
0.107034
0.022936
0.279307
0.222222
0.222222
0.20999
0.155963
0.014271
0
0.017285
0.205436
3,495
100
77
34.95
0.689233
0.065522
0
0.136986
0
0
0.180479
0.046041
0
0
0
0
0.547945
1
0.054795
false
0.178082
0.041096
0.013699
0.109589
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
1
0
0
0
1
0
0
0
0
0
2
fe70b613f1b25d8770820b6d2050c23b8fcae093
47,242
py
Python
gralog-fx/src/main/java/gralog/gralogfx/piping/scripts/Gralog.py
gralog/gralog
0ab2e3137b83950cdc4e9234d4df451a22034285
[ "Apache-2.0", "BSD-3-Clause" ]
12
2016-11-11T13:24:48.000Z
2022-01-27T19:49:36.000Z
gralog-fx/src/main/java/gralog/gralogfx/piping/scripts/Gralog.py
gralog/gralog
0ab2e3137b83950cdc4e9234d4df451a22034285
[ "Apache-2.0", "BSD-3-Clause" ]
6
2017-01-05T14:23:59.000Z
2018-09-20T19:14:57.000Z
gralog-fx/src/main/java/gralog/gralogfx/piping/scripts/Gralog.py
gralog/gralog
0ab2e3137b83950cdc4e9234d4df451a22034285
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-11-25T18:17:00.000Z
2020-06-04T21:38:50.000Z
#!/usr/bin/env python3 import sys from random import randint import os try: import networkx as nx except: print("gPrint#-1#" + "netwrokx not installed for " + sys.executable) sys.stdout.flush() try: import igraph as ig except: print("gPrint#-1#" + "igraph not installed for " + ...
35.870919
203
0.460522
4,056
47,242
5.345168
0.112919
0.023524
0.032934
0.029751
0.445987
0.398293
0.370111
0.340821
0.329151
0.314299
0
0.005918
0.434846
47,242
1,316
204
35.898176
0.806098
0
0
0.466251
0
0
0.035761
0.003676
0.001038
0
0
0.00076
0
0
null
null
0.004154
0.007269
null
null
0.053998
0
0
0
null
0
0
0
0
0
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
fe7228704cb0dda0e1c0b7305078fa094d1a0478
2,843
py
Python
influxdb/tests/server_tests/base.py
ocworld/influxdb-python
a6bfe3e4643fdc775c97e1c4f457bc35d86e631e
[ "MIT" ]
2
2019-10-17T05:36:51.000Z
2020-06-30T00:27:22.000Z
influxdb/tests/server_tests/base.py
ocworld/influxdb-python
a6bfe3e4643fdc775c97e1c4f457bc35d86e631e
[ "MIT" ]
null
null
null
influxdb/tests/server_tests/base.py
ocworld/influxdb-python
a6bfe3e4643fdc775c97e1c4f457bc35d86e631e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Define the base module for server test.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import sys from influxdb.tests import using_pypy from influxdb.tests.server_tests.influxdb_instanc...
30.902174
74
0.655645
303
2,843
5.940594
0.343234
0.054444
0.04
0.033333
0.263889
0.166667
0.166667
0.098889
0.098889
0
0
0.000479
0.266268
2,843
91
75
31.241758
0.862416
0.322898
0
0.382979
0
0
0.029252
0
0
0
0
0
0
1
0.170213
false
0
0.191489
0
0.404255
0.021277
0
0
0
null
0
0
0
0
0
0
0
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
fe739da7293d52a3a7c4940166ba21b32df8a642
9,107
py
Python
genemail/testing.py
cadithealth/genemail
d906ad9deec70a6b19b66c244044d4466df2371a
[ "MIT" ]
5
2015-08-13T05:22:54.000Z
2018-08-28T14:14:55.000Z
genemail/testing.py
cadithealth/genemail
d906ad9deec70a6b19b66c244044d4466df2371a
[ "MIT" ]
null
null
null
genemail/testing.py
cadithealth/genemail
d906ad9deec70a6b19b66c244044d4466df2371a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #------------------------------------------------------------------------------ # file: $Id$ # auth: Philip J Grabner <grabner@cadit.com> # date: 2013/10/21 # copy: (C) Copyright 2013 Cadit Health Inc., All Rights Reserved. #-----------------------------------------------------------------------...
41.584475
88
0.533326
899
9,107
5.302558
0.220245
0.043633
0.041536
0.029369
0.310678
0.28005
0.259702
0.200336
0.155444
0.127124
0
0.017458
0.16976
9,107
218
89
41.775229
0.613014
0.284616
0
0.216783
0
0
0.072536
0.003875
0
0
0
0.004587
0.321678
1
0.13986
false
0.027972
0.020979
0.013986
0.251748
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
fe74b07194e48e39b48840554a34c0fb3e4605a4
13,815
py
Python
telemetry/telemetry/testing/internal/fake_gpu_info.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
telemetry/telemetry/testing/internal/fake_gpu_info.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
4,640
2015-07-08T16:19:08.000Z
2019-12-02T15:01:27.000Z
telemetry/telemetry/testing/internal/fake_gpu_info.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
698
2015-06-02T19:18:35.000Z
2022-03-29T16:57:15.000Z
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # This dictionary of GPU information was captured from a run of # Telemetry on a Linux workstation with NVIDIA GPU. It helps test # telemetry.internal.platfo...
57.086777
78
0.668983
1,740
13,815
4.636782
0.262069
0.083044
0.043133
0.016857
0.055528
0.013014
0
0
0
0
0
0.014368
0.284618
13,815
241
79
57.323651
0.801983
0.06464
0
0
0
0
0.680902
0.493024
0
0
0
0
0
1
0
false
0
0.004545
0
0.004545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe759c78dfaceadf537006e1685f7155df52a71a
10,073
py
Python
vm_setup/pmevo/measurement-server/PITE/register_file.py
qcjiang/pmevo-artifact
bf5da1788f9ede42086c31b3996d9e41363cc7ee
[ "MIT" ]
6
2020-04-21T12:16:19.000Z
2022-02-10T09:18:08.000Z
vm_setup/pmevo/measurement-server/PITE/register_file.py
qcjiang/pmevo-artifact
bf5da1788f9ede42086c31b3996d9e41363cc7ee
[ "MIT" ]
1
2021-12-07T13:09:53.000Z
2021-12-07T13:09:53.000Z
vm_setup/pmevo/measurement-server/PITE/register_file.py
qcjiang/pmevo-artifact
bf5da1788f9ede42086c31b3996d9e41363cc7ee
[ "MIT" ]
2
2021-03-30T12:40:01.000Z
2021-11-23T15:49:50.000Z
#! /usr/bin/env python3 # vim: et:ts=4:sw=4:fenc=utf-8 from abc import ABC, abstractmethod from collections import defaultdict import re class RegisterFile(ABC): registers = NotImplemented def __init__(self): # for each register kind an index pointing to the next register to use self.reset_...
54.448649
111
0.37119
1,145
10,073
3.237555
0.367686
0.01133
0.01079
0.015107
0.194227
0.132722
0.132722
0.116536
0.116536
0.116536
0
0.194602
0.33426
10,073
184
112
54.744565
0.358187
0.157054
0
0.148936
0
0
0.255478
0
0
0
0
0
0
1
0.049645
false
0
0.021277
0.014184
0.134752
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fe75c11d0a13c6adf86f05d6ce0d9f94ca54fb9c
5,410
py
Python
src/training_utils/training.py
JoseLuisRojasAranda/tfmodels
56dce0236f0cc03dd7031aecf305d470c9fb97a9
[ "MIT" ]
1
2020-06-05T23:25:03.000Z
2020-06-05T23:25:03.000Z
src/training_utils/training.py
JoseLuisRojasAranda/tfmodels
56dce0236f0cc03dd7031aecf305d470c9fb97a9
[ "MIT" ]
null
null
null
src/training_utils/training.py
JoseLuisRojasAranda/tfmodels
56dce0236f0cc03dd7031aecf305d470c9fb97a9
[ "MIT" ]
null
null
null
import os from os import path import json import shutil import tensorflow as tf import numpy as np # Importa cosas de Keras API from tensorflow.keras.optimizers import Adam, RMSprop from tensorflow.keras.models import Sequential from tensorflow.keras.utils import plot_model # Importa callbacks del modelo from traini...
35.359477
84
0.697227
717
5,410
5.153417
0.267782
0.029229
0.017862
0.020568
0.200271
0.18295
0.15751
0.117997
0.106631
0.064411
0
0.002079
0.199815
5,410
152
85
35.592105
0.851467
0.302773
0
0.074074
0
0
0.154775
0.011803
0
0
0
0.006579
0
1
0.049383
false
0
0.160494
0
0.234568
0.061728
0
0
0
null
0
0
0
0
0
0
0
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
fe774ebe12faa6fdf372c8d9db66e886229109cb
3,563
py
Python
setup.py
truggles/pudl
6f41664f8243b8f7aafdbbfc8522f96043dbf561
[ "MIT" ]
null
null
null
setup.py
truggles/pudl
6f41664f8243b8f7aafdbbfc8522f96043dbf561
[ "MIT" ]
null
null
null
setup.py
truggles/pudl
6f41664f8243b8f7aafdbbfc8522f96043dbf561
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Setup script to make PUDL directly installable with pip.""" import os from pathlib import Path from setuptools import find_packages, setup install_requires = [ 'coloredlogs', 'datapackage>=1.9.0', 'dbfread', 'goodtables', 'matplotlib', 'networkx>=2.2', 'numpy', ...
30.452991
79
0.641033
419
3,563
5.310263
0.563246
0.026966
0.017079
0.026966
0.033258
0.033258
0
0
0
0
0
0.016181
0.219478
3,563
116
80
30.715517
0.783891
0.156329
0
0.020408
0
0
0.488473
0.078851
0
0
0
0.008621
0
1
0
false
0
0.030612
0
0.030612
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
fe77c98170bf9d8232497412401b6f749ddb70f7
7,836
py
Python
src/vulnix/nvd.py
dermetfan/vulnix
06daccda0e51098fbdbc65f61b6663c5c6df9358
[ "BSD-3-Clause" ]
217
2016-07-03T10:45:56.000Z
2022-03-30T12:06:51.000Z
src/vulnix/nvd.py
dermetfan/vulnix
06daccda0e51098fbdbc65f61b6663c5c6df9358
[ "BSD-3-Clause" ]
70
2016-06-27T08:47:22.000Z
2022-01-22T19:10:53.000Z
src/vulnix/nvd.py
dermetfan/vulnix
06daccda0e51098fbdbc65f61b6663c5c6df9358
[ "BSD-3-Clause" ]
24
2016-06-27T09:23:50.000Z
2022-01-30T05:32:22.000Z
from BTrees import OOBTree from datetime import datetime, date, timedelta from persistent import Persistent from .vulnerability import Vulnerability import fcntl import glob import gzip import json import logging import os import os.path as p import requests import transaction import ZODB import ZODB.FileStorage DEFAU...
32.786611
79
0.590225
963
7,836
4.660436
0.268951
0.032086
0.018717
0.018939
0.143939
0.113859
0.085784
0.049465
0.049465
0.049465
0
0.004897
0.296325
7,836
238
80
32.92437
0.809032
0.144206
0
0.16185
0
0
0.083627
0.003216
0
0
0
0
0
1
0.115607
false
0
0.086705
0.011561
0.32948
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
fe7996f8bc015e9c1e0a7458bde9909f14df8fbf
316
py
Python
ScapyDoS-main/simp.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
2
2021-11-17T03:35:03.000Z
2021-12-08T06:00:31.000Z
ScapyDoS-main/simp.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
null
null
null
ScapyDoS-main/simp.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
2
2021-11-05T18:07:48.000Z
2022-02-24T21:25:07.000Z
from scapy.all import * src = input("Source IP: ") target = input("Target IP: ") i=1 while True: for srcport in range(1, 65535): ip = IP(src=src, dst=target) tcp = TCP(sport=srcport, dport=80) pkt = ip / tcp send(pkt, inter= .0001) print("Packet Sent ", i) i=i+1
22.571429
42
0.550633
48
316
3.625
0.625
0.022989
0
0
0
0
0
0
0
0
0
0.063636
0.303797
316
14
43
22.571429
0.727273
0
0
0
0
0
0.107256
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.083333
0
0
0
null
0
0
0
0
0
0
0
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
fe79e20af0abaadf27ef0edd6010a9d9587df465
2,019
py
Python
test/test_basic_functions.py
azagajewski/ColiCoords
fa26e46971e24ff582c4d33331c5b8181f605c9f
[ "MIT" ]
18
2018-09-11T01:14:31.000Z
2021-12-27T10:21:59.000Z
test/test_basic_functions.py
azagajewski/ColiCoords
fa26e46971e24ff582c4d33331c5b8181f605c9f
[ "MIT" ]
77
2018-09-19T09:28:33.000Z
2021-11-12T13:31:50.000Z
test/test_basic_functions.py
azagajewski/ColiCoords
fa26e46971e24ff582c4d33331c5b8181f605c9f
[ "MIT" ]
8
2019-06-17T16:02:32.000Z
2021-06-30T23:31:17.000Z
import hashlib import unittest from colicoords.cell import Cell, CellList from colicoords.preprocess import data_to_cells from test import testcase from test.test_functions import load_testdata class DataTest(testcase.ArrayTestCase): def setUp(self): self.data = load_testdata('ds1') def t...
30.590909
93
0.618128
266
2,019
4.522556
0.274436
0.099751
0.036575
0.0399
0.382377
0.276808
0.276808
0.276808
0.181214
0.181214
0
0.042056
0.258049
2,019
66
94
30.590909
0.761015
0.007925
0
0.183673
0
0
0.016512
0
0
0
0
0.015152
0.244898
1
0.122449
false
0
0.122449
0
0.285714
0.081633
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
fe7a4e994d80d1a5a6af69534d2790e8dc14f03c
4,354
py
Python
data_importer_ftp.py
supsi-dacd-isaac/oasi-ozone-forecaster
01d23c374e857dcc6d556d073c0380186c2934d2
[ "MIT" ]
null
null
null
data_importer_ftp.py
supsi-dacd-isaac/oasi-ozone-forecaster
01d23c374e857dcc6d556d073c0380186c2934d2
[ "MIT" ]
null
null
null
data_importer_ftp.py
supsi-dacd-isaac/oasi-ozone-forecaster
01d23c374e857dcc6d556d073c0380186c2934d2
[ "MIT" ]
null
null
null
# --------------------------------------------------------------------------- # # Importing section # --------------------------------------------------------------------------- # import os import sys import argparse import logging import json from classes.alerts import SlackClient from influxdb import InfluxDBClient...
41.075472
119
0.475195
406
4,354
4.955665
0.344828
0.049205
0.014911
0.02833
0.115308
0.102386
0.081511
0.049702
0.049702
0
0
0.003368
0.181672
4,354
105
120
41.466667
0.561325
0.307304
0
0.064516
0
0
0.262097
0.018817
0
0
0
0
0
1
0.016129
false
0.016129
0.16129
0
0.177419
0.016129
0
0
0
null
0
0
0
0
0
0
0
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
fe7b77f497a02a03531071b294b121357332567e
2,791
py
Python
autoindent_code_JASS_war3map_j.py
gil9red/SimplePyScripts
c191ce08fbdeb29377639184579e392057945154
[ "CC-BY-4.0" ]
117
2015-12-18T07:18:27.000Z
2022-03-28T00:25:54.000Z
autoindent_code_JASS_war3map_j.py
gil9red/SimplePyScripts
c191ce08fbdeb29377639184579e392057945154
[ "CC-BY-4.0" ]
8
2018-10-03T09:38:46.000Z
2021-12-13T19:51:09.000Z
autoindent_code_JASS_war3map_j.py
gil9red/SimplePyScripts
c191ce08fbdeb29377639184579e392057945154
[ "CC-BY-4.0" ]
28
2016-08-02T17:43:47.000Z
2022-03-21T08:31:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' import re DEBUG = False def merge_str_literal(text: str) -> str: def _on_match(m: re.Match): return m.group().replace('"+"', '') return re.sub(r'".+?"(\+".+?")+ ', _on_match, text) lines = """ function II1I1_II takes real I...
23.258333
80
0.638839
360
2,791
4.741667
0.25
0.098418
0.094903
0.049209
0.507323
0.437024
0.437024
0.437024
0.437024
0.437024
0
0.041551
0.223934
2,791
119
81
23.453782
0.746537
0.032605
0
0.144928
0
0
0.342194
0.123731
0
0
0
0
0
1
0.028986
false
0
0.014493
0.014493
0.072464
0.028986
0
0
0
null
0
0
0
0
0
0
0
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
fe7bebb9c7d420d8879b0fc07f857afa803296a1
5,656
py
Python
python/addNewData.py
TruX-DTF/fixminer_source
5ab2d6f582743c377eadb21cd466a3a25809bc2d
[ "MIT" ]
5
2021-07-19T12:30:00.000Z
2022-01-14T16:41:00.000Z
python/addNewData.py
SerVal-DTF/fixminer_source
5ab2d6f582743c377eadb21cd466a3a25809bc2d
[ "MIT" ]
10
2020-04-06T09:52:19.000Z
2021-06-01T08:05:25.000Z
python/addNewData.py
SerVal-DTF/fixminer_source
5ab2d6f582743c377eadb21cd466a3a25809bc2d
[ "MIT" ]
5
2019-08-26T11:02:35.000Z
2021-03-23T15:42:09.000Z
from common.commons import * DATA_PATH = os.environ["DATA_PATH"] def core(): clusterPath = join(DATA_PATH, 'shapes') roots = listdir(clusterPath) roots = [i for i in roots if not (i.startswith('.') or i.endswith('.pickle'))] pattern = {} for root in roots: root sizes = listdir(join(...
39.552448
299
0.592999
635
5,656
5.248819
0.2
0.040804
0.091209
0.10141
0.415242
0.380138
0.341134
0.341134
0.341134
0.341134
0
0.003672
0.277758
5,656
142
300
39.830986
0.81224
0.130304
0
0.357143
0
0
0.036145
0
0
0
0
0
0
1
0.035714
false
0
0.071429
0
0.107143
0.026786
0
0
0
null
0
0
0
0
0
0
0
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
fe7d3ca44a30c1b45cb010d74a7365ccccfb69bc
691
py
Python
app.py
aosjehdgus/transliteration
1934999385863009cdf9f8806e949157d653a9f4
[ "Apache-2.0" ]
null
null
null
app.py
aosjehdgus/transliteration
1934999385863009cdf9f8806e949157d653a9f4
[ "Apache-2.0" ]
null
null
null
app.py
aosjehdgus/transliteration
1934999385863009cdf9f8806e949157d653a9f4
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys import tensorflow as tf import numpy as np import data_utils from translate import Transliteration from flask import Flask, request, jsonify transliteration = Transliteration() app = Flask(__name__) # Flask 객체 선언, 파라미터로 어플리케이션 패키지의 이름을 넣어 준다. app.config['JSON_AS_ASCII'] =...
24.678571
68
0.727931
98
691
4.959184
0.622449
0.012346
0.012346
0
0
0
0
0
0
0
0
0.011925
0.150507
691
27
69
25.592593
0.816014
0.124457
0
0
0
0
0.083333
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.473684
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
1
0
0
0
0
1
fe7e1b8337434731ea17dce123e62981ed1e6ab4
87
py
Python
pyano2/apps.py
mental689/pyano
2bc75e79618392f2013dfde2ac8035fe5fa1dc61
[ "MIT" ]
1
2022-01-31T17:34:37.000Z
2022-01-31T17:34:37.000Z
pyano2/apps.py
mental689/pyano
2bc75e79618392f2013dfde2ac8035fe5fa1dc61
[ "MIT" ]
null
null
null
pyano2/apps.py
mental689/pyano
2bc75e79618392f2013dfde2ac8035fe5fa1dc61
[ "MIT" ]
null
null
null
from django.apps import AppConfig class Pyano2Config(AppConfig): name = 'pyano2'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0.027778
0.172414
87
5
34
17.4
0.875
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
fe7f812fda345139b99dd24f883eb46ae8bf8541
609
py
Python
cime/scripts/lib/CIME/XML/env_build.py
cbeall123/E3SM
ec32b40d549b292f14acd11e6774686564539d3c
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
1
2020-08-28T14:57:15.000Z
2020-08-28T14:57:15.000Z
cime/scripts/lib/CIME/XML/env_build.py
cbeall123/E3SM
ec32b40d549b292f14acd11e6774686564539d3c
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
cime/scripts/lib/CIME/XML/env_build.py
cbeall123/E3SM
ec32b40d549b292f14acd11e6774686564539d3c
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
1
2021-03-11T23:20:58.000Z
2021-03-11T23:20:58.000Z
""" Interface to the env_build.xml file. This class inherits from EnvBase """ from CIME.XML.standard_module_setup import * from CIME.XML.env_base import EnvBase logger = logging.getLogger(__name__) class EnvBuild(EnvBase): # pylint: disable=unused-argument def __init__(self, case_root=None, infile="env_buil...
33.833333
91
0.714286
84
609
4.880952
0.595238
0.058537
0.080488
0.078049
0
0
0
0
0
0
0
0
0.175698
609
17
92
35.823529
0.816733
0.292282
0
0
0
0
0.115
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fe8041c5c55101ae0dcfff5c78088fd9a509554f
6,805
py
Python
services/ops/LogStatisticsAgent/logstatisticsagent/agent.py
gnmerritt/volttron
ebfbf62bab77d46fd3e8d6aaca1fc4f33932ccf3
[ "Apache-2.0" ]
1
2020-05-26T01:29:50.000Z
2020-05-26T01:29:50.000Z
services/ops/LogStatisticsAgent/logstatisticsagent/agent.py
gnmerritt/volttron
ebfbf62bab77d46fd3e8d6aaca1fc4f33932ccf3
[ "Apache-2.0" ]
null
null
null
services/ops/LogStatisticsAgent/logstatisticsagent/agent.py
gnmerritt/volttron
ebfbf62bab77d46fd3e8d6aaca1fc4f33932ccf3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- {{{ # vim: set fenc=utf-8 ft=python sw=4 ts=4 sts=4 et: # # Copyright 2019, Battelle Memorial Institute. # # 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...
38.885714
103
0.680235
842
6,805
5.308789
0.349169
0.026846
0.020134
0.021477
0.146085
0.108725
0.057718
0.038926
0.019687
0
0
0.006887
0.231888
6,805
174
104
39.109195
0.848288
0.416605
0
0.052632
0
0
0.108058
0.012682
0
0
0
0
0
1
0.078947
false
0.013158
0.105263
0
0.223684
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
fe83754072cf9c384870b3ad7538706613b6e5d9
675
py
Python
apps/inventory/serializers.py
sseits-skku/its-backend
faf020568b930aaff4958d47602c511aad8a6c8e
[ "MIT" ]
null
null
null
apps/inventory/serializers.py
sseits-skku/its-backend
faf020568b930aaff4958d47602c511aad8a6c8e
[ "MIT" ]
8
2020-06-05T23:00:49.000Z
2022-03-11T23:59:32.000Z
apps/inventory/serializers.py
sseits-skku/its-backend
faf020568b930aaff4958d47602c511aad8a6c8e
[ "MIT" ]
1
2019-10-01T13:07:22.000Z
2019-10-01T13:07:22.000Z
from rest_framework.serializers import ModelSerializer from .models import Place, Status, OSType, Stock, ComputerStock class PlaceSerializer(ModelSerializer): class Meta: model = Place fields = '__all__' class StatusSerializer(ModelSerializer): class Meta: model = Status fie...
19.852941
63
0.675556
59
675
7.372881
0.372881
0.229885
0.275862
0.333333
0
0
0
0
0
0
0
0
0.256296
675
33
64
20.454545
0.866534
0
0
0.454545
0
0
0.051852
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.545455
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
fe8661c1fd9d01528fabb6e5da9f0d2b06361f3b
2,857
py
Python
fmpy/cswrapper/__init__.py
CSchulzeTLK/FMPy
fde192346c36eb69dbaca60a96e80cdc8ef37b89
[ "CC-BY-3.0", "CC-BY-4.0" ]
225
2017-05-17T22:33:38.000Z
2022-03-29T12:41:52.000Z
fmpy/cswrapper/__init__.py
CSchulzeTLK/FMPy
fde192346c36eb69dbaca60a96e80cdc8ef37b89
[ "CC-BY-3.0", "CC-BY-4.0" ]
381
2017-05-20T13:31:52.000Z
2022-03-31T08:20:47.000Z
fmpy/cswrapper/__init__.py
CSchulzeTLK/FMPy
fde192346c36eb69dbaca60a96e80cdc8ef37b89
[ "CC-BY-3.0", "CC-BY-4.0" ]
90
2017-05-20T13:34:34.000Z
2022-03-31T05:14:57.000Z
def add_cswrapper(filename, outfilename=None): from fmpy import read_model_description, extract, sharedLibraryExtension, platform, __version__ from lxml import etree import os from shutil import copyfile, rmtree if outfilename is None: outfilename = filename model_description = read...
34.841463
125
0.672384
336
2,857
5.556548
0.357143
0.054633
0.042849
0.038565
0.162828
0.151044
0.109266
0.080343
0.080343
0
0
0.002699
0.221911
2,857
81
126
35.271605
0.837157
0.021351
0
0.115385
0
0
0.109996
0
0
0
0
0
0
1
0.038462
false
0
0.115385
0
0.153846
0.019231
0
0
0
null
0
0
0
0
0
0
0
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
fe86745dc1d7b386636a2027dae3d2552bd3e833
2,412
py
Python
test/dict_parameter_test.py
shouldsee/luigi
54a347361ae1031f06105eaf30ff88f5ef65b00c
[ "Apache-2.0" ]
14,755
2015-01-01T09:33:34.000Z
2022-03-31T15:38:39.000Z
test/dict_parameter_test.py
shouldsee/luigi
54a347361ae1031f06105eaf30ff88f5ef65b00c
[ "Apache-2.0" ]
2,387
2015-01-01T09:16:13.000Z
2022-03-12T13:55:43.000Z
test/dict_parameter_test.py
shouldsee/luigi
54a347361ae1031f06105eaf30ff88f5ef65b00c
[ "Apache-2.0" ]
2,630
2015-01-02T06:11:32.000Z
2022-03-27T22:11:20.000Z
# -*- coding: utf-8 -*- # # Copyright 2012-2015 Spotify AB # # 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...
37.6875
105
0.679934
282
2,412
5.719858
0.382979
0.100434
0.055797
0.074396
0.236826
0.109113
0.066956
0
0
0
0
0.00651
0.172056
2,412
63
106
38.285714
0.801202
0.236318
0
0
0
0
0.166575
0.019726
0
0
0
0
0.242424
1
0.212121
false
0.151515
0.151515
0
0.484848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
fe87946e35b940790f2abaab6a2a55e9294ad44f
7,305
py
Python
echoscope/source/mysql_source.py
treeyh/echoscope
ef8933ce9a5dfe2ac8fb6e82bad8d5fa0d72a6da
[ "MIT" ]
1
2022-01-18T09:19:38.000Z
2022-01-18T09:19:38.000Z
echoscope/source/mysql_source.py
treeyh/echoscope
ef8933ce9a5dfe2ac8fb6e82bad8d5fa0d72a6da
[ "MIT" ]
null
null
null
echoscope/source/mysql_source.py
treeyh/echoscope
ef8933ce9a5dfe2ac8fb6e82bad8d5fa0d72a6da
[ "MIT" ]
1
2022-01-18T09:19:39.000Z
2022-01-18T09:19:39.000Z
# -*- coding: UTF-8 -*- import logging from typing import List from echoscope.config import config from echoscope.util import mysql_util, str_util, log_util from echoscope.model import ds_model, config_model from echoscope.source import source class MysqlSource(source.Source): def __init__(self): self.exclude...
39.701087
411
0.675975
951
7,305
4.921136
0.178759
0.032906
0.061111
0.075214
0.379915
0.350214
0.296154
0.247009
0.13141
0.103419
0
0.001034
0.205613
7,305
183
412
39.918033
0.805445
0.113895
0
0.046296
0
0.018519
0.240057
0.036286
0
0
0
0
0
1
0.064815
false
0.009259
0.055556
0
0.194444
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
fe87ead9a791db821c1f883b4076bac8b4dc4efb
99,064
py
Python
lib/XChemPANDDA.py
graeme-winter/XChemExplorer
7b0779387705ab37074d80f77baf22891eb56907
[ "MIT" ]
2
2018-03-11T08:38:43.000Z
2021-09-25T07:46:44.000Z
lib/XChemPANDDA.py
graeme-winter/XChemExplorer
7b0779387705ab37074d80f77baf22891eb56907
[ "MIT" ]
208
2017-06-30T10:32:12.000Z
2022-03-29T10:38:32.000Z
lib/XChemPANDDA.py
graeme-winter/XChemExplorer
7b0779387705ab37074d80f77baf22891eb56907
[ "MIT" ]
6
2017-06-01T20:33:31.000Z
2021-10-04T09:44:09.000Z
# last edited: 10/08/2017, 10:25 import os, sys, glob, subprocess from datetime import datetime from PyQt4 import QtGui, QtCore import math #from XChemUtils import mtztools import XChemDB import XChemRefine import XChemUtils import XChemLog import XChemToolTips import csv try: import gemmi import pandas excep...
50.594484
265
0.589447
11,782
99,064
4.772704
0.077661
0.037167
0.043836
0.02415
0.627952
0.557049
0.516467
0.482288
0.439305
0.404823
0
0.008995
0.290762
99,064
1,958
266
50.594484
0.791346
0.084077
0
0.391509
0
0.022911
0.22382
0.037865
0
0
0
0
0
0
null
null
0.001348
0.014825
null
null
0.006739
0
0
0
null
0
0
0
0
0
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
fe8a256140b6390c55cadca6d58880f260544702
5,253
py
Python
OmegaErp/Apps/base/forms/__init__.py
OMAR-EHAB777/FerpMenu
6aee4616bc9bc7801023fe51acfa28e1e1267b66
[ "BSD-3-Clause" ]
null
null
null
OmegaErp/Apps/base/forms/__init__.py
OMAR-EHAB777/FerpMenu
6aee4616bc9bc7801023fe51acfa28e1e1267b66
[ "BSD-3-Clause" ]
null
null
null
OmegaErp/Apps/base/forms/__init__.py
OMAR-EHAB777/FerpMenu
6aee4616bc9bc7801023fe51acfa28e1e1267b66
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Global app forms """ # Standard Library import re # Django Library from django import forms from django.contrib.auth.forms import UserChangeForm, UserCreationForm from django.utils.translation import ugettext_lazy as _ # Thirdparty Library from dal import autocomplete # Localfolder Librar...
26.938462
80
0.491148
421
5,253
6.035629
0.320665
0.039355
0.055096
0.082645
0.420307
0.408107
0.341598
0.250295
0.250295
0.250295
0
0.009204
0.358843
5,253
195
81
26.938462
0.745249
0.118409
0
0.387755
0
0
0.187035
0.004818
0
0
0
0
0
1
0.006803
false
0.129252
0.047619
0
0.190476
0.006803
0
0
0
null
0
0
0
0
0
0
0
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
fe8a7abf97fc4938deedb4a0e775164e6040fb1b
1,042
py
Python
test-drf-project/tests/conftest.py
fvlima/drf-view-profiler
a61d48e9835679f812d69d24ea740b947836108c
[ "MIT" ]
30
2019-10-16T12:48:16.000Z
2021-11-23T08:57:27.000Z
test-drf-project/tests/conftest.py
fvlima/drf-view-profiler
a61d48e9835679f812d69d24ea740b947836108c
[ "MIT" ]
null
null
null
test-drf-project/tests/conftest.py
fvlima/drf-view-profiler
a61d48e9835679f812d69d24ea740b947836108c
[ "MIT" ]
1
2021-11-23T07:28:04.000Z
2021-11-23T07:28:04.000Z
from unittest import mock import pytest from django.http import HttpRequest from rest_framework.response import Response from rest_framework.test import APIClient from drf_viewset_profiler.middleware import LineProfilerViewSetMiddleware @pytest.fixture def api_client(): return APIClient() @pytest.fixture def ...
24.809524
100
0.794626
126
1,042
6.246032
0.285714
0.111817
0.101652
0.101652
0.060991
0
0
0
0
0
0
0
0.130518
1,042
41
101
25.414634
0.868653
0
0
0.172414
0
0
0.06334
0.049904
0
0
0
0
0
1
0.172414
false
0
0.206897
0.068966
0.551724
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
fe8b3957ceddf0ec804e544f4e167363b9d84f54
3,553
py
Python
Examples/VirtualLab/virtual_experiment_f.py
diehlpk/muDIC
b5d90aa62267b4bd0b88ae0a989cf09a51990654
[ "MIT" ]
70
2019-04-15T08:08:23.000Z
2022-03-23T08:24:25.000Z
Examples/VirtualLab/virtual_experiment_f.py
diehlpk/muDIC
b5d90aa62267b4bd0b88ae0a989cf09a51990654
[ "MIT" ]
34
2019-05-03T18:09:43.000Z
2022-02-10T11:36:29.000Z
Examples/VirtualLab/virtual_experiment_f.py
diehlpk/muDIC
b5d90aa62267b4bd0b88ae0a989cf09a51990654
[ "MIT" ]
37
2019-04-25T15:39:23.000Z
2022-03-28T21:40:24.000Z
# This allows for running the example when the repo has been cloned import sys from os.path import abspath sys.path.extend([abspath(".")]) # Example code follows import logging import numpy as np import matplotlib.pyplot as plt import muDIC.vlab as vlab import muDIC as dic """ This example case runs an experiment whe...
36.628866
112
0.731776
554
3,553
4.595668
0.406137
0.009427
0.005892
0.010605
0.070699
0.016496
0.016496
0.010212
0
0
0
0.036651
0.162961
3,553
96
113
37.010417
0.819435
0.249648
0
0
0
0
0.121317
0.014731
0
0
0
0
0
1
0
false
0
0.137255
0
0.137255
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
fe8b6fcdfeb01114b63f0a0d1b3c6d4bd1396297
81
py
Python
src/template_config.py
ckaestne/toxicity-detector
bb00ffe4470c6c1a2f561212d487d56eab5a5da7
[ "MIT" ]
7
2020-03-03T18:09:48.000Z
2022-03-23T16:55:26.000Z
src/template_config.py
ckaestne/toxicity-detector
bb00ffe4470c6c1a2f561212d487d56eab5a5da7
[ "MIT" ]
67
2020-06-09T23:57:49.000Z
2022-02-05T19:09:49.000Z
src/template_config.py
sophieball/toxicity-detector
7c07c5e6a6915428fdae64cbd3bc07caa697774e
[ "MIT" ]
6
2020-02-21T00:19:57.000Z
2022-03-03T23:00:42.000Z
mongo = { "user": "", "passwd": "", "db": "ghtorrent" } perspective_api_key = ""
27
55
0.555556
8
81
5.375
1
0
0
0
0
0
0
0
0
0
0
0
0.160494
81
2
56
40.5
0.632353
0
0
0
0
0
0.259259
0
0
0
0
0
0
1
0
false
0.5
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
1
0
0
0
0
0
3
fe8c212fdb626e028311eb927a139fd3cc7bba51
1,455
py
Python
tests/unit/dataactvalidator/test_fabs38_detached_award_financial_assistance_2.py
COEJKnight/one
6a5f8cd9468ab368019eb2597821b7837f74d9e2
[ "CC0-1.0" ]
1
2018-10-29T12:54:44.000Z
2018-10-29T12:54:44.000Z
tests/unit/dataactvalidator/test_fabs38_detached_award_financial_assistance_2.py
COEJKnight/one
6a5f8cd9468ab368019eb2597821b7837f74d9e2
[ "CC0-1.0" ]
null
null
null
tests/unit/dataactvalidator/test_fabs38_detached_award_financial_assistance_2.py
COEJKnight/one
6a5f8cd9468ab368019eb2597821b7837f74d9e2
[ "CC0-1.0" ]
null
null
null
from tests.unit.dataactcore.factories.staging import DetachedAwardFinancialAssistanceFactory from tests.unit.dataactvalidator.utils import number_of_errors, query_columns _FILE = 'fabs38_detached_award_financial_assistance_2' def test_column_headers(database): expected_subset = {"row_number", "awarding_office_co...
45.46875
120
0.808935
164
1,455
6.762195
0.347561
0.100992
0.129847
0.359784
0.427412
0.427412
0.427412
0.308386
0.308386
0.308386
0
0.022446
0.112027
1,455
31
121
46.935484
0.835913
0.065979
0
0
0
0
0.077323
0.032714
0
0
0
0
0.15
1
0.15
false
0
0.1
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fe8d5aa19fb8f623818fa75491db0f6d028311d8
3,203
py
Python
Optimisation Portfolios/HERC.py
BrandonAFong/Ideas
5d38be2dfaba12a534220e3f28a6c9da9aefcdec
[ "MIT" ]
null
null
null
Optimisation Portfolios/HERC.py
BrandonAFong/Ideas
5d38be2dfaba12a534220e3f28a6c9da9aefcdec
[ "MIT" ]
null
null
null
Optimisation Portfolios/HERC.py
BrandonAFong/Ideas
5d38be2dfaba12a534220e3f28a6c9da9aefcdec
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Aug 31 22:48:21 2021 @author: apple """ import numpy as np import pandas as pd from HRP import seriation import fastcluster from scipy.cluster.hierarchy import fcluster from gap_statistic import OptimalK from backtest import df_to_matrix #HERC def...
28.345133
84
0.609429
435
3,203
4.34023
0.328736
0.014831
0.023305
0.027542
0.10911
0.055085
0
0
0
0
0
0.015866
0.271933
3,203
113
85
28.345133
0.793739
0.086794
0
0.058824
0
0
0.007898
0
0
0
0
0
0
1
0.044118
false
0
0.102941
0
0.191176
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
fe8e1c215219c1805761ef6232ba7b858bfbd7b4
3,641
py
Python
src/conv/convertManifest2Curation.py
nakamura196/i3
16d7695e5412b45dc8e0192d9ca285723ac9f788
[ "Apache-2.0" ]
3
2020-04-21T11:36:10.000Z
2022-02-01T00:46:59.000Z
src/conv/convertManifest2Curation.py
nakamura196/i3
16d7695e5412b45dc8e0192d9ca285723ac9f788
[ "Apache-2.0" ]
17
2021-01-08T17:20:38.000Z
2021-06-29T05:55:47.000Z
src/conv/convertManifest2Curation.py
nakamura196/i3
16d7695e5412b45dc8e0192d9ca285723ac9f788
[ "Apache-2.0" ]
null
null
null
import urllib.request from bs4 import BeautifulSoup import csv import requests import os import json import time import glob files = glob.glob("/Users/nakamura/git/d_iiif/iiif/src/collections/nijl/data/json/*.json") for i in range(len(files)): file = files[i] file_id = file.split("/")[-1].replace(".json", "...
31.938596
106
0.355397
275
3,641
4.64
0.4
0.014107
0.025078
0.026646
0.131661
0.131661
0.073668
0.073668
0.073668
0.073668
0
0.007688
0.535567
3,641
113
107
32.221239
0.746895
0.00412
0
0.024691
0
0.024691
0.173289
0.037528
0
0
0
0
0
1
0
false
0
0.098765
0
0.098765
0.024691
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
fe8e3a04a382b9b727449826066c850475d83dbe
190
py
Python
programme.py
GaLaXy102/Vacationing
e476f1047deeca8f68897a497716319afab3e7f0
[ "MIT" ]
null
null
null
programme.py
GaLaXy102/Vacationing
e476f1047deeca8f68897a497716319afab3e7f0
[ "MIT" ]
null
null
null
programme.py
GaLaXy102/Vacationing
e476f1047deeca8f68897a497716319afab3e7f0
[ "MIT" ]
null
null
null
from lib import get_itineraries import data if __name__ == '__main__': for itinerary in get_itineraries(data.sicily): print("#" * 24) print(itinerary) print("")
21.111111
50
0.636842
22
190
5.045455
0.681818
0.252252
0
0
0
0
0
0
0
0
0
0.014085
0.252632
190
8
51
23.75
0.767606
0
0
0
0
0
0.047368
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
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
1
0
4
fe908006796adb02dbc2aa1b3ab9fa0ac75b1812
5,574
py
Python
sawyer/mujoco/tasks/transition_pick_and_place_task.py
rlagywjd802/gym-sawyer
385bbeafcccb61afb9099554f6a99b16f1f1a7c5
[ "MIT" ]
null
null
null
sawyer/mujoco/tasks/transition_pick_and_place_task.py
rlagywjd802/gym-sawyer
385bbeafcccb61afb9099554f6a99b16f1f1a7c5
[ "MIT" ]
null
null
null
sawyer/mujoco/tasks/transition_pick_and_place_task.py
rlagywjd802/gym-sawyer
385bbeafcccb61afb9099554f6a99b16f1f1a7c5
[ "MIT" ]
null
null
null
import numpy as np from sawyer.mujoco.tasks.base import ComposableTask class TransitionTask(ComposableTask): """ Task to pick up an object with the robot gripper. Success condition: - Object is grasped and has been lifted above the table """ def __init__(self): pass def compute_...
28.880829
121
0.571582
760
5,574
3.911842
0.142105
0.084763
0.0518
0.065927
0.685167
0.612176
0.54995
0.523713
0.523713
0.506895
0
0.028877
0.329028
5,574
192
122
29.03125
0.766043
0.079117
0
0.669118
0
0
0.054884
0.004755
0
0
0
0
0
1
0.147059
false
0.014706
0.014706
0.022059
0.308824
0.080882
0
0
0
null
0
0
0
0
0
0
0
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
fe90ddd8fb4cfe4289850e4b9709b973ed6310cd
36,485
py
Python
tests/app/test_jinja_filters.py
nealedj/eq-survey-runner
b8e6cddae6068f6c8fd60e21d31d58aaa79bbb34
[ "MIT" ]
null
null
null
tests/app/test_jinja_filters.py
nealedj/eq-survey-runner
b8e6cddae6068f6c8fd60e21d31d58aaa79bbb34
[ "MIT" ]
1
2018-11-05T12:00:51.000Z
2018-11-05T12:00:51.000Z
tests/app/test_jinja_filters.py
nealedj/eq-survey-runner
b8e6cddae6068f6c8fd60e21d31d58aaa79bbb34
[ "MIT" ]
null
null
null
# coding: utf-8 from types import SimpleNamespace from datetime import datetime, timedelta from unittest.mock import patch from dateutil.relativedelta import relativedelta from jinja2 import Undefined, Markup from mock import Mock from app.jinja_filters import ( format_date, format_conditional_date, format_curre...
38.005208
143
0.615952
4,321
36,485
4.926637
0.093265
0.11274
0.123309
0.052847
0.757187
0.680994
0.60668
0.528091
0.441798
0.405909
0
0.046522
0.25531
36,485
959
144
38.044838
0.736732
0.04495
0
0.324324
0
0.001689
0.176201
0.030794
0
0
0
0
0.302365
1
0.14527
false
0.006757
0.013514
0
0.160473
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