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
9637f8491206f394aea0791103d4e2cc75fcd07e
15,043
py
Python
funfolding/binning/classic_binning.py
tudo-astroparticlephysics/funfolding
2f485b04f8d79698527fcaab015baf708505e8dd
[ "MIT" ]
1
2019-05-22T13:46:46.000Z
2019-05-22T13:46:46.000Z
funfolding/binning/classic_binning.py
tudo-astroparticlephysics/funfolding
2f485b04f8d79698527fcaab015baf708505e8dd
[ "MIT" ]
null
null
null
funfolding/binning/classic_binning.py
tudo-astroparticlephysics/funfolding
2f485b04f8d79698527fcaab015baf708505e8dd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from ._binning import Binning import itertools import numpy as np import copy try: from astroML.density_estimation.bayesian_blocks import bayesian_blocks got_astroML = True except ImportError: got_astroML = False class ClassicBinning(Binning): name = 'C...
38.670951
79
0.515456
1,821
15,043
3.908841
0.10324
0.057319
0.039337
0.016859
0.409666
0.339983
0.274515
0.240938
0.197949
0.182636
0
0.002779
0.401915
15,043
388
80
38.770619
0.788374
0.002792
0
0.320334
0
0
0.019135
0
0
0
0
0
0.011142
1
0.044568
false
0.008357
0.016713
0
0.108635
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
9639600eac70c10e9cb5e5d9d76147c7dda0b313
888
py
Python
PyTCI/models/alfentanil.py
jcia2192/PyTCI
952ac6312015514c8609af5d9a61cc3397758c94
[ "MIT" ]
6
2019-02-16T22:29:42.000Z
2020-10-17T17:22:52.000Z
PyTCI/models/alfentanil.py
jcia2192/PyTCI
952ac6312015514c8609af5d9a61cc3397758c94
[ "MIT" ]
91
2019-03-04T06:11:07.000Z
2022-03-30T01:31:27.000Z
PyTCI/models/alfentanil.py
jcia2192/PyTCI
952ac6312015514c8609af5d9a61cc3397758c94
[ "MIT" ]
3
2019-05-14T15:09:30.000Z
2020-02-19T13:03:03.000Z
from .base import Three class Alfentanil(Three): """base Alfentanil class""" pass class Maitre(Alfentanil): def __init__(self, age, weight, height, sex): if sex == "m": self.v1 = 0.111 * weight elif sex == "f": self.v1 = 0.128 * weight else: ...
24
83
0.516892
123
888
3.699187
0.487805
0.065934
0.065934
0.052747
0
0
0
0
0
0
0
0.15937
0.356982
888
36
84
24.666667
0.637478
0.108108
0
0
0
0
0.029262
0
0
0
0
0
0
1
0.041667
false
0.041667
0.041667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
963a7890170f483f8139e5e50f0f73025935d302
4,114
py
Python
custom_components/panasonic_smart_app/sensor.py
clspeter/panasonic_smart_app
22cf7e64f3b9685b94b38e4d7ffeb5deb900a8af
[ "MIT" ]
null
null
null
custom_components/panasonic_smart_app/sensor.py
clspeter/panasonic_smart_app
22cf7e64f3b9685b94b38e4d7ffeb5deb900a8af
[ "MIT" ]
null
null
null
custom_components/panasonic_smart_app/sensor.py
clspeter/panasonic_smart_app
22cf7e64f3b9685b94b38e4d7ffeb5deb900a8af
[ "MIT" ]
null
null
null
from datetime import timedelta import logging from homeassistant.components.sensor import SensorEntity from homeassistant.const import ( STATE_UNAVAILABLE, DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_TEMPERATURE, TEMP_CELSIUS, CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, PERCENTAGE, ) from .entity import ...
26.714286
75
0.622265
405
4,114
6.079012
0.237037
0.062551
0.052803
0.034119
0.397238
0.329813
0.319253
0.25589
0.232331
0.194963
0
0.012367
0.292416
4,114
153
76
26.888889
0.833391
0.029898
0
0.371901
0
0
0.065475
0.012339
0
0
0.003022
0
0
1
0.115702
false
0
0.049587
0.090909
0.31405
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
963b386535b3cdad7d06852710557f50ea31610a
5,664
py
Python
fluent.runtime/tests/format/test_placeables.py
jakub-szczepaniak/python-fluent
2b751220e4ced57fc256df0f25adc72400e5ce9a
[ "Apache-2.0" ]
null
null
null
fluent.runtime/tests/format/test_placeables.py
jakub-szczepaniak/python-fluent
2b751220e4ced57fc256df0f25adc72400e5ce9a
[ "Apache-2.0" ]
null
null
null
fluent.runtime/tests/format/test_placeables.py
jakub-szczepaniak/python-fluent
2b751220e4ced57fc256df0f25adc72400e5ce9a
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import, unicode_literals import unittest from fluent.runtime import FluentBundle from fluent.runtime.errors import FluentCyclicReferenceError, FluentReferenceError from ..utils import dedent_ftl class TestPlaceables(unittest.TestCase): def setUp(self): self.ctx = FluentB...
37.76
82
0.596751
646
5,664
5.117647
0.120743
0.167877
0.053237
0.067756
0.664549
0.616757
0.580157
0.529643
0.422868
0.422868
0
0.008185
0.266596
5,664
149
83
38.013423
0.787675
0
0
0.427419
0
0
0.296787
0.033016
0
0
0
0
0.298387
1
0.129032
false
0
0.040323
0
0.185484
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
963e5b6e89e0809787a1d58ba17bc95ac8ccc84f
911
py
Python
setup.py
sgillies/fio-taxa
a278f366c23d1e0946bc4675de905bda712c2490
[ "MIT" ]
2
2018-05-20T06:31:44.000Z
2021-12-02T20:59:46.000Z
setup.py
sgillies/fio-taxa
a278f366c23d1e0946bc4675de905bda712c2490
[ "MIT" ]
1
2018-12-19T17:05:05.000Z
2018-12-19T17:05:05.000Z
setup.py
sgillies/fio-taxa
a278f366c23d1e0946bc4675de905bda712c2490
[ "MIT" ]
null
null
null
from codecs import open as codecs_open from setuptools import setup, find_packages # Get the long description from the relevant file with codecs_open('README.rst', encoding='utf-8') as f: long_description = f.read() setup(name='fio_taxa', version='1.0.0', description=u"Classification of GeoJSON feat...
26.794118
72
0.630077
108
911
5.148148
0.666667
0.107914
0
0
0
0
0
0
0
0
0
0.005739
0.234907
911
33
73
27.606061
0.791966
0.051592
0
0
0
0
0.286543
0.060325
0
0
0
0
0
1
0
false
0
0.071429
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
963ee23183336e553e81e0efa85833a77f9df80d
6,108
py
Python
numba/core/itanium_mangler.py
auderson/numba
3d67c9850ab56457f418cf40af6245fd9c337705
[ "BSD-2-Clause" ]
null
null
null
numba/core/itanium_mangler.py
auderson/numba
3d67c9850ab56457f418cf40af6245fd9c337705
[ "BSD-2-Clause" ]
1
2020-07-28T20:47:24.000Z
2020-07-28T20:47:24.000Z
numba/core/itanium_mangler.py
auderson/numba
3d67c9850ab56457f418cf40af6245fd9c337705
[ "BSD-2-Clause" ]
null
null
null
""" Itanium CXX ABI Mangler Reference: http://mentorembedded.github.io/cxx-abi/abi.html The basics of the mangling scheme. We are hijacking the CXX mangling scheme for our use. We map Python modules into CXX namespace. A `module1.submodule2.foo` is mapped to `module1::submodule2::foo`. For parameterized numba ty...
29.650485
79
0.655861
859
6,108
4.551804
0.305006
0.021483
0.015345
0.021739
0.048593
0.038363
0.013299
0
0
0
0
0.010883
0.232809
6,108
205
80
29.795122
0.823517
0.445645
0
0.079545
0
0
0.032359
0
0
0
0
0
0
1
0.136364
false
0
0.022727
0.022727
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
964088ff23e1f89499e5fcf0c7eaef0bac779407
15,483
py
Python
viewers/trpl_h5.py
ScopeFoundry/FoundryDataBrowser
604506a2e9cabe757f1c5430b688fb98788b6251
[ "BSD-3-Clause" ]
6
2017-01-10T20:13:38.000Z
2019-05-23T16:25:12.000Z
viewers/trpl_h5.py
ScopeFoundry/FoundryDataBrowser
604506a2e9cabe757f1c5430b688fb98788b6251
[ "BSD-3-Clause" ]
null
null
null
viewers/trpl_h5.py
ScopeFoundry/FoundryDataBrowser
604506a2e9cabe757f1c5430b688fb98788b6251
[ "BSD-3-Clause" ]
null
null
null
from ScopeFoundry.data_browser import DataBrowser from FoundryDataBrowser.viewers.hyperspec_base_view import HyperSpectralBaseView import numpy as np import h5py from qtpy import QtWidgets from ScopeFoundry.logged_quantity import LQCollection import time from FoundryDataBrowser.viewers.plot_n_fit import MonoExponentia...
39.497449
124
0.580831
1,936
15,483
4.384814
0.182335
0.043821
0.018377
0.018848
0.291436
0.217929
0.13064
0.067028
0.050065
0.050065
0
0.01166
0.302073
15,483
392
125
39.497449
0.773922
0.037977
0
0.078603
0
0
0.094064
0.010615
0
0
0
0
0
1
0.056769
false
0
0.048035
0.004367
0.139738
0.0131
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
964093368998bbfce9f4d1b33cd4d8d11bcb3ef0
854
py
Python
python/matrices.py
silvajhonatan/robotics
d1097809e88c744658dab6d661092b6ea8f0e13a
[ "MIT" ]
3
2017-11-16T18:34:27.000Z
2021-01-28T15:33:46.000Z
python/matrices.py
sjhonatan/robotics
d1097809e88c744658dab6d661092b6ea8f0e13a
[ "MIT" ]
null
null
null
python/matrices.py
sjhonatan/robotics
d1097809e88c744658dab6d661092b6ea8f0e13a
[ "MIT" ]
null
null
null
import numpy as np import numpy.matlib # soma das matrizes A = np.array([[1,0],[0,2]]) B = np.array([[0,1],[1,0]]) C = A + B print(C) # soma das linhas A = np.array([[1,0],[0,2]]) B = np.array([[0,1],[1,0]]) s_linha = sum(A) print(s_linha) # soma dos elementos A = np.array([[1,0],[0,2]]) B = np.array([[0,1],[1,0]]...
16.423077
30
0.564403
189
854
2.492063
0.201058
0.178344
0.118896
0.133758
0.320594
0.320594
0.320594
0.295117
0.295117
0.295117
0
0.078947
0.154567
854
51
31
16.745098
0.573407
0.08548
0
0.378378
0
0
0
0
0
0
0
0
0
1
0
false
0
0.108108
0
0.108108
0.243243
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9641ba7ef69f2c86256af69c136b624ad8b36e71
1,025
py
Python
pype/hosts/fusion/plugins/publish/increment_current_file_deadline.py
simonebarbieri/pype
a6dc83aa1300738749cbe8e5e2e6d2d1794e0289
[ "MIT" ]
null
null
null
pype/hosts/fusion/plugins/publish/increment_current_file_deadline.py
simonebarbieri/pype
a6dc83aa1300738749cbe8e5e2e6d2d1794e0289
[ "MIT" ]
null
null
null
pype/hosts/fusion/plugins/publish/increment_current_file_deadline.py
simonebarbieri/pype
a6dc83aa1300738749cbe8e5e2e6d2d1794e0289
[ "MIT" ]
null
null
null
import pyblish.api class FusionIncrementCurrentFile(pyblish.api.ContextPlugin): """Increment the current file. Saves the current file with an increased version number. """ label = "Increment current file" order = pyblish.api.IntegratorOrder + 9.0 hosts = ["fusion"] families = ["render.f...
29.285714
76
0.66439
112
1,025
5.901786
0.580357
0.066566
0.04236
0.06354
0.075643
0
0
0
0
0
0
0.002628
0.257561
1,025
34
77
30.147059
0.865966
0.082927
0
0
0
0
0.185065
0
0
0
0
0
0.05
1
0.05
false
0
0.15
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9642f267112ae3cb7eec037a994d03366ec2da1a
2,346
py
Python
tests/integration_tests/framework/flask_utils.py
ilan-WS/cloudify-manager
510d8a277c848db351f38fc5b264806b2cb36d0b
[ "Apache-2.0" ]
124
2015-01-22T22:28:37.000Z
2022-02-26T23:12:06.000Z
tests/integration_tests/framework/flask_utils.py
cloudify-cosmo/cloudify-manager
4a3f44ceb49d449bc5ebc8766b1c7b9c174ff972
[ "Apache-2.0" ]
345
2015-01-08T15:49:40.000Z
2022-03-29T08:33:00.000Z
tests/integration_tests/framework/flask_utils.py
ilan-WS/cloudify-manager
510d8a277c848db351f38fc5b264806b2cb36d0b
[ "Apache-2.0" ]
77
2015-01-07T14:04:35.000Z
2022-03-07T22:46:00.000Z
######### # Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
36.65625
75
0.738704
319
2,346
5.175549
0.37931
0.048455
0.024228
0.041187
0.136887
0.069049
0
0
0
0
0
0.004126
0.173487
2,346
63
76
37.238095
0.847344
0.298806
0
0.060606
0
0
0.194444
0.083951
0
0
0
0
0
1
0.121212
false
0
0.181818
0
0.30303
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
9643d280cf21edb06bbf96df561f04888a36f82e
19,403
py
Python
pymach/present.py
EnriqueU/pymach
b9918dcb0964fc4645f548639a762ef03c3c2e13
[ "MIT" ]
null
null
null
pymach/present.py
EnriqueU/pymach
b9918dcb0964fc4645f548639a762ef03c3c2e13
[ "MIT" ]
null
null
null
pymach/present.py
EnriqueU/pymach
b9918dcb0964fc4645f548639a762ef03c3c2e13
[ "MIT" ]
null
null
null
# Standard Libraries import subprocess import datetime import sys # print en consola import os import json # Local Libraries import define import analyze import prepare import fselect import evaluate import improve import tools import pandas as pd from flask_login import LoginManager, login_required, login_user, logo...
35.931481
124
0.611091
2,347
19,403
4.881125
0.142735
0.026711
0.040154
0.04155
0.507507
0.444832
0.394466
0.310143
0.295478
0.252531
0
0.006043
0.206875
19,403
539
125
35.998145
0.738385
0.233881
0
0.445578
0
0
0.107783
0
0
0
0
0
0
1
0.057823
false
0
0.07483
0.003401
0.210884
0.003401
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96442ec34b3f08fd8d2dea36e730470c13f2a4b5
7,344
py
Python
api/ddu/management-zone-calculation/dduConsumptionPerMZ.py
pawelsiwek/snippets
6b551bf98e1ca514c0176363acfcb7dd20288b30
[ "Apache-2.0" ]
11
2019-07-26T08:35:08.000Z
2021-11-04T11:25:28.000Z
api/ddu/management-zone-calculation/dduConsumptionPerMZ.py
pawelsiwek/snippets
6b551bf98e1ca514c0176363acfcb7dd20288b30
[ "Apache-2.0" ]
12
2019-07-09T07:55:36.000Z
2022-03-10T22:26:42.000Z
api/ddu/management-zone-calculation/dduConsumptionPerMZ.py
pawelsiwek/snippets
6b551bf98e1ca514c0176363acfcb7dd20288b30
[ "Apache-2.0" ]
46
2019-04-24T13:35:46.000Z
2022-03-23T01:00:17.000Z
import sys, requests, json, time METRIC_NAME = "builtin:billing.ddu.metrics.byEntity" PAGE_SIZE = 500 sys.tracebacklimit = 0 # python .\dduConsumptionPerMZ.py 2020-08-01T12:00:00+02:00 2020-08-10T12:00:00+02:00 https://mySampleEnv.live.dynatrace.com/api/ abcdefghijklmnop 60 # python .\dduConsumptionPerMZ.py 2020-08-0...
42.697674
212
0.687228
761
7,344
6.534823
0.268068
0.053489
0.048663
0.01287
0.327368
0.226825
0.162678
0.139554
0.120249
0.120249
0
0.035665
0.205882
7,344
171
213
42.947368
0.817044
0.244826
0
0.186275
0
0.039216
0.195232
0.073024
0
0
0
0
0
1
0
false
0
0.009804
0
0.009804
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
964490d0c12237f4b5b63e54d5ed293032299a1f
414
py
Python
setup.py
10sr/pyltsv
d31286cef6caca941d20d364863bf3bd0d95b008
[ "Apache-2.0" ]
null
null
null
setup.py
10sr/pyltsv
d31286cef6caca941d20d364863bf3bd0d95b008
[ "Apache-2.0" ]
16
2020-06-15T11:04:39.000Z
2022-01-11T15:34:14.000Z
setup.py
10sr/pyltsv
d31286cef6caca941d20d364863bf3bd0d95b008
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # type: ignore """Setup script.""" from setuptools import setup def _get_version(): with open("pyltsv/_version.py") as f: for line in f: if line.startswith("__version__"): delim = '"' if '"' in line else "'" return line.split(delim)[1] ...
19.714286
56
0.589372
51
414
4.607843
0.705882
0.085106
0
0
0
0
0
0
0
0
0
0.003322
0.272947
414
20
57
20.7
0.777409
0.113527
0
0
0
0
0.172222
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96484d835344ea1b7665583dd26015806d06751a
4,233
py
Python
ellipses/script_train_radon_tiramisu_jitter_v6.py
jmaces/robust-nets
25d49302f9fa5fcc9ded2727de75e96e25243d09
[ "MIT" ]
14
2020-11-10T07:37:23.000Z
2022-03-21T15:19:22.000Z
ellipses/script_train_radon_tiramisu_jitter_v6.py
jmaces/robust-nets
25d49302f9fa5fcc9ded2727de75e96e25243d09
[ "MIT" ]
null
null
null
ellipses/script_train_radon_tiramisu_jitter_v6.py
jmaces/robust-nets
25d49302f9fa5fcc9ded2727de75e96e25243d09
[ "MIT" ]
2
2021-03-13T14:39:36.000Z
2022-02-17T06:44:29.000Z
import os import matplotlib as mpl import torch import torchvision from data_management import IPDataset, Jitter, SimulateMeasurements from networks import IterativeNet, Tiramisu from operators import Radon # ----- load configuration ----- import config # isort:skip # ----- global configuration ----- mpl.use("agg...
27.309677
75
0.617056
551
4,233
4.517241
0.31216
0.039775
0.030936
0.036561
0.305745
0.276818
0.201286
0.189634
0.157493
0.141422
0
0.025127
0.210253
4,233
154
76
27.487013
0.719414
0.074652
0
0.219512
0
0
0.179724
0.022529
0
0
0
0
0
1
0.00813
false
0
0.065041
0.00813
0.081301
0.01626
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
964a16c465623ad04aac69e828d235990e03190f
13,029
py
Python
invMLEnc_toy/main.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
1
2021-12-14T09:16:17.000Z
2021-12-14T09:16:17.000Z
invMLEnc_toy/main.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
null
null
null
invMLEnc_toy/main.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
2
2021-12-14T09:10:00.000Z
2022-01-21T16:57:44.000Z
import os import numpy as np import random as rd import time import argparse import torch import torch.utils.data from torch import optim import dataset import gifploter from trainer.InvML_trainer import InvML_trainer from generator.samplegenerater import SampleIndexGenerater def PlotLatenSpace(model, batch_size, d...
34.468254
126
0.523985
1,522
13,029
4.32523
0.197766
0.015494
0.01595
0.014583
0.120006
0.092207
0.063193
0.053167
0.048002
0.033419
0
0.031294
0.345153
13,029
378
127
34.468254
0.740272
0.121959
0
0.125461
0
0
0.071334
0
0
0
0
0
0
1
0.02583
false
0
0.066421
0
0.107011
0.01476
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
964a55bd656809ac77520d02fe3eb7d52ed867d8
16,896
py
Python
backend/openweathermap.py
tangb/cleepmod-openweathermap
cbef1cad7af36ac6b801cb0df6651dd732b4a160
[ "MIT" ]
null
null
null
backend/openweathermap.py
tangb/cleepmod-openweathermap
cbef1cad7af36ac6b801cb0df6651dd732b4a160
[ "MIT" ]
null
null
null
backend/openweathermap.py
tangb/cleepmod-openweathermap
cbef1cad7af36ac6b801cb0df6651dd732b4a160
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json import time import requests from cleep.exception import CommandError, MissingParameter from cleep.libs.internals.task import Task from cleep.core import CleepModule from cleep.common import CATEGORIES __all__ = ["Openweathermap"] class Openweathermap(CleepMo...
32
113
0.533381
1,725
16,896
5.106087
0.233043
0.028724
0.015327
0.008174
0.289964
0.25386
0.215827
0.189714
0.181994
0.176658
0
0.028419
0.358546
16,896
527
114
32.060721
0.784278
0.17371
0
0.182635
0
0
0.2465
0.004337
0
0
0
0
0
1
0.04491
false
0
0.020958
0
0.149701
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
964eca76f4c35f59907bf26e2512971b1aa50b0f
1,098
py
Python
Machine Learning/Regression/reg.py
brett-harvey/Brett-s-AI-Library
43f9bfd5eca92b9e28c6d4532afb943d03d80b67
[ "MIT" ]
null
null
null
Machine Learning/Regression/reg.py
brett-harvey/Brett-s-AI-Library
43f9bfd5eca92b9e28c6d4532afb943d03d80b67
[ "MIT" ]
null
null
null
Machine Learning/Regression/reg.py
brett-harvey/Brett-s-AI-Library
43f9bfd5eca92b9e28c6d4532afb943d03d80b67
[ "MIT" ]
null
null
null
from sklearn import preprocessing, svm from sklearn.linear_model import LinearRegression from sklearn.model_selection import train_test_split from sklearn import cross_validation import pandas as pd import numpy as np import quandl import math df = quandl.get('WIKI/GOOGL') df = df[['Adj. Open', 'Adj. High', 'Adj. Lo...
29.675676
90
0.6949
181
1,098
4.071823
0.348066
0.054274
0.036635
0.027137
0.043419
0.043419
0
0
0
0
0
0.019771
0.124772
1,098
36
91
30.5
0.747138
0
0
0.071429
0
0
0.177596
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
964ed654a2da39f4913b8a0e948783cdb15246e1
12,126
py
Python
src/app.py
tatianamaia/Corona
d944395d8b7b7a740b57e9bb7895f0835bc63d10
[ "MIT" ]
null
null
null
src/app.py
tatianamaia/Corona
d944395d8b7b7a740b57e9bb7895f0835bc63d10
[ "MIT" ]
null
null
null
src/app.py
tatianamaia/Corona
d944395d8b7b7a740b57e9bb7895f0835bc63d10
[ "MIT" ]
null
null
null
import datetime import os import yaml import numpy as np import pandas as pd import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output from scipy.integrate import solve_ivp from scipy.optimize import minimize import plotly.graph_objs as go ENV_F...
34.547009
289
0.455303
1,146
12,126
4.739093
0.252182
0.038667
0.036457
0.046584
0.330694
0.283926
0.240103
0.210827
0.192414
0.137728
0
0.019137
0.388092
12,126
351
290
34.547009
0.712803
0.053274
0
0.367698
0
0.003436
0.234098
0.003403
0
0
0
0
0
1
0.013746
false
0
0.041237
0
0.065292
0.006873
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
964f51bb97bc51b17e213093a0a26eca6712c8ec
1,014
py
Python
tests/io/test_kepseismic.py
jorgemarpa/lightkurve
86320a67eabb3a93f60e9faff0447e4b235bccf2
[ "MIT" ]
235
2018-01-22T01:22:10.000Z
2021-02-02T04:57:26.000Z
tests/io/test_kepseismic.py
jorgemarpa/lightkurve
86320a67eabb3a93f60e9faff0447e4b235bccf2
[ "MIT" ]
847
2018-01-22T05:49:16.000Z
2021-02-10T17:05:19.000Z
tests/io/test_kepseismic.py
jorgemarpa/lightkurve
86320a67eabb3a93f60e9faff0447e4b235bccf2
[ "MIT" ]
121
2018-01-22T01:11:19.000Z
2021-01-26T21:07:07.000Z
import pytest from astropy.io import fits import numpy as np from lightkurve.io.kepseismic import read_kepseismic_lightcurve from lightkurve.io.detect import detect_filetype @pytest.mark.remote_data def test_detect_kepseismic(): """Can we detect the correct format for KEPSEISMIC files?""" url = "https://arch...
32.709677
155
0.757396
146
1,014
5.061644
0.40411
0.075778
0.043302
0.054127
0.446549
0.446549
0.373478
0.373478
0.373478
0.373478
0
0.064699
0.131164
1,014
30
156
33.8
0.77412
0.106509
0
0.222222
0
0.111111
0.344134
0
0
0
0
0
0.111111
1
0.111111
false
0
0.277778
0
0.388889
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
9650401ec27713e595c5dbc7faa0b1080d66e16e
1,710
py
Python
spirit/topic/forms.py
ImaginaryLandscape/Spirit
58b563c1b2290a95219257045afaa4f08ac94cbf
[ "MIT" ]
974
2015-01-02T12:56:00.000Z
2022-03-24T00:01:54.000Z
spirit/topic/forms.py
ImaginaryLandscape/Spirit
58b563c1b2290a95219257045afaa4f08ac94cbf
[ "MIT" ]
247
2015-01-07T02:59:26.000Z
2022-02-23T08:27:57.000Z
spirit/topic/forms.py
ImaginaryLandscape/Spirit
58b563c1b2290a95219257045afaa4f08ac94cbf
[ "MIT" ]
366
2015-01-08T10:22:25.000Z
2022-02-21T12:58:31.000Z
# -*- coding: utf-8 -*- from django import forms from django.utils.translation import gettext_lazy as _ from django.utils.encoding import smart_bytes from django.utils import timezone from ..core import utils from ..core.utils.forms import NestedModelChoiceField from ..category.models import Category from .models imp...
29.482759
81
0.64269
201
1,710
5.283582
0.39801
0.050847
0.056497
0.043315
0
0
0
0
0
0
0
0.002318
0.243275
1,710
57
82
30
0.818393
0.012281
0
0
0
0
0.072318
0
0
0
0
0
0
1
0.095238
false
0
0.190476
0.02381
0.452381
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
965076565be0243a0d0b837e3affc60f4cce7858
7,931
py
Python
OST_helper/parameter.py
HomeletW/OST
5e359d00a547af194a2a1a2591a53c93d8f40b84
[ "MIT" ]
1
2020-07-31T16:43:13.000Z
2020-07-31T16:43:13.000Z
OST_helper/parameter.py
HomeletW/OST
5e359d00a547af194a2a1a2591a53c93d8f40b84
[ "MIT" ]
null
null
null
OST_helper/parameter.py
HomeletW/OST
5e359d00a547af194a2a1a2591a53c93d8f40b84
[ "MIT" ]
null
null
null
# constant import json import logging import os import platform import subprocess from datetime import date from os.path import exists, expanduser, isdir, isfile, join, abspath, dirname from PIL import Image logging.basicConfig( style="{", format="{threadName:<10s} <{levelname:<7s}> [{asctime:<15s}] {message}...
30.980469
80
0.651998
994
7,931
4.968813
0.291751
0.026321
0.029156
0.041911
0.119255
0.035635
0.025511
0.014578
0.014578
0
0
0.078215
0.211701
7,931
255
81
31.101961
0.711772
0.033287
0
0.072816
0
0
0.259966
0.064828
0
0
0
0
0
1
0.033981
false
0
0.043689
0
0.092233
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
965346317a700c60ccb16c29a2836bf7e207f10e
14,194
py
Python
src/train_tune.py
vanang/korquad-challenge
c5df887aaa7f6b68edb5d46ad12d42097132df46
[ "Apache-2.0" ]
null
null
null
src/train_tune.py
vanang/korquad-challenge
c5df887aaa7f6b68edb5d46ad12d42097132df46
[ "Apache-2.0" ]
null
null
null
src/train_tune.py
vanang/korquad-challenge
c5df887aaa7f6b68edb5d46ad12d42097132df46
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[1]: from __future__ import absolute_import, division, print_function import argparse import logging import os import random import sys from io import open import numpy as np import torch import json from torch.utils.data import (DataLoader, SequentialSampler, RandomSampl...
38.994505
193
0.659222
1,851
14,194
4.775257
0.197731
0.038579
0.011314
0.019912
0.3118
0.227514
0.158728
0.120602
0.108157
0.076932
0
0.013172
0.229815
14,194
363
194
39.101928
0.795371
0.067705
0
0.062241
0
0.004149
0.111903
0.013647
0
0
0
0
0
1
0.016598
false
0
0.120332
0.004149
0.149378
0.008299
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96566f3a27305df43ef46e729f0d4af5e2007006
1,275
py
Python
kaggle_downloader/kaggle_downloader.py
lars-reimann/kaggle-downloader
583e68ee1c4860a153ae38f2a1cdba108ea8cb5a
[ "MIT" ]
null
null
null
kaggle_downloader/kaggle_downloader.py
lars-reimann/kaggle-downloader
583e68ee1c4860a153ae38f2a1cdba108ea8cb5a
[ "MIT" ]
3
2021-08-05T11:05:32.000Z
2022-03-01T13:05:18.000Z
kaggle_downloader/kaggle_downloader.py
lars-reimann/kaggle-downloader
583e68ee1c4860a153ae38f2a1cdba108ea8cb5a
[ "MIT" ]
null
null
null
from typing import Callable, Union from kaggle import KaggleApi from kaggle.models.kaggle_models_extended import Competition, Kernel class KaggleDownloader: def __init__(self) -> None: self.client = KaggleApi() self.client.authenticate() def fetch_competition_refs(self) -> list[str]: ...
27.717391
69
0.614902
143
1,275
5.258741
0.398601
0.066489
0.051862
0.045213
0.132979
0.132979
0.132979
0.132979
0.132979
0.132979
0
0.006667
0.294118
1,275
45
70
28.333333
0.828889
0.027451
0
0.060606
0
0
0.000808
0
0
0
0
0
0
1
0.151515
false
0
0.090909
0.060606
0.393939
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
96578d44622fea775471eea152128045fac7dede
1,281
py
Python
trip/urls.py
tboonma/thairepose
89aff7836a29bfee58a633db10c19d5e1ce4475f
[ "MIT" ]
4
2021-11-07T05:50:41.000Z
2021-12-01T08:57:12.000Z
trip/urls.py
tboonma/thairepose
89aff7836a29bfee58a633db10c19d5e1ce4475f
[ "MIT" ]
111
2021-10-19T09:24:14.000Z
2021-11-28T18:02:21.000Z
trip/urls.py
tboonma/thairepose
89aff7836a29bfee58a633db10c19d5e1ce4475f
[ "MIT" ]
2
2021-11-28T06:37:03.000Z
2022-01-16T18:17:02.000Z
from django.urls import path from . import views app_name = 'trip' urlpatterns = [ path('', views.index, name='index'), path('tripblog/', views.AllTrip.as_view(), name="tripplan"), path('likereview/', views.like_comment_view, name="like_comment"), path('tripdetail/<int:pk>/', views.trip_detail, name="t...
53.375
101
0.698673
173
1,281
5.011561
0.306358
0.051903
0.069204
0.098039
0.109573
0
0
0
0
0
0
0.008718
0.104606
1,281
23
102
55.695652
0.747167
0.021858
0
0
0
0
0.373301
0.166267
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9657e65ccf97f075f8a25b19bf95a3ca2e2decf0
5,010
py
Python
tests/test_rpc.py
tzoiker/aio-pika
5a04853006310d2fbf458c449b0ea98427668fe8
[ "Apache-2.0" ]
null
null
null
tests/test_rpc.py
tzoiker/aio-pika
5a04853006310d2fbf458c449b0ea98427668fe8
[ "Apache-2.0" ]
null
null
null
tests/test_rpc.py
tzoiker/aio-pika
5a04853006310d2fbf458c449b0ea98427668fe8
[ "Apache-2.0" ]
null
null
null
import asyncio import logging import pytest from aio_pika import Message, connect_robust from aio_pika.exceptions import DeliveryError from aio_pika.patterns.rpc import RPC, log as rpc_logger from tests import AMQP_URL from tests.test_amqp import BaseTestCase pytestmark = pytest.mark.asyncio def rpc_func(*, foo, ...
28.146067
76
0.633533
618
5,010
4.998382
0.197411
0.103593
0.086112
0.061509
0.598899
0.598899
0.551311
0.525413
0.498543
0.498543
0
0.002998
0.267665
5,010
177
77
28.305085
0.838921
0.003992
0
0.42735
0
0
0.045309
0.004411
0
0
0
0
0.068376
1
0.008547
false
0
0.068376
0
0.111111
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
9658caeffcd376fc80bf7f4677ee09db9594f2eb
655
py
Python
code/strats/switcher.py
Barigamb738/PrisonersDilemmaTournament
22834192a30cbefdef4f06f41eea5ef7ec3a0652
[ "MIT" ]
23
2021-05-20T07:34:33.000Z
2021-06-20T13:09:04.000Z
code/strats/switcher.py
Barigamb738/PrisonersDilemmaTournament
22834192a30cbefdef4f06f41eea5ef7ec3a0652
[ "MIT" ]
19
2021-05-21T04:10:55.000Z
2021-06-13T15:17:52.000Z
code/strats/switcher.py
Barigamb738/PrisonersDilemmaTournament
22834192a30cbefdef4f06f41eea5ef7ec3a0652
[ "MIT" ]
43
2021-05-21T02:24:35.000Z
2021-06-24T21:08:11.000Z
def strategy(history, memory): round = history.shape[1] GRUDGE = 0 LASTACTION = 1 if round == 0: mem = [] mem.append(False) mem.append(0) return "cooperate", mem mem = memory if mem[GRUDGE]: return "defect", mem if round >= 5: sin = 0 f...
24.259259
36
0.464122
77
655
3.948052
0.337662
0.118421
0.148026
0.111842
0
0
0
0
0
0
0
0.042105
0.419847
655
26
37
25.192308
0.757895
0
0
0.192308
0
0
0.054962
0
0
0
0
0
0
1
0.038462
false
0
0
0
0.230769
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
96616a7644cba49b6924d5d5a5b5f061a8473987
7,865
py
Python
examples/task_sequence_labeling_ner_lstm_crf.py
lonePatient/TorchBlocks
4a65d746cc8a396cb7df73ed4644d97ddf843e29
[ "MIT" ]
82
2020-06-23T05:51:08.000Z
2022-03-29T08:11:08.000Z
examples/task_sequence_labeling_ner_lstm_crf.py
lonePatient/TorchBlocks
4a65d746cc8a396cb7df73ed4644d97ddf843e29
[ "MIT" ]
null
null
null
examples/task_sequence_labeling_ner_lstm_crf.py
lonePatient/TorchBlocks
4a65d746cc8a396cb7df73ed4644d97ddf843e29
[ "MIT" ]
22
2020-06-23T05:51:10.000Z
2022-03-18T07:01:43.000Z
import os import json from torchblocks.metrics import SequenceLabelingScore from torchblocks.trainer import SequenceLabelingTrainer from torchblocks.callback import TrainLogger from torchblocks.processor import SequenceLabelingProcessor, InputExample from torchblocks.utils import seed_everything, dict_to_text, bu...
46.264706
118
0.614495
938
7,865
4.947761
0.216418
0.023271
0.02521
0.024995
0.205559
0.160095
0.13941
0.123896
0.109244
0.098686
0
0.003133
0.269421
7,865
169
119
46.538462
0.80456
0.025302
0
0.125
0
0
0.089861
0
0
0
0
0
0.007353
1
0.036765
false
0
0.095588
0
0.161765
0.007353
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9662ad75421db9c9fefe25e938e00f34ee4e0c42
1,466
py
Python
Code/Main.py
iqbalsublime/EPCMS
d2a745bda9a1d256d8834d1fa1105bb2bab79e3f
[ "MIT" ]
null
null
null
Code/Main.py
iqbalsublime/EPCMS
d2a745bda9a1d256d8834d1fa1105bb2bab79e3f
[ "MIT" ]
null
null
null
Code/Main.py
iqbalsublime/EPCMS
d2a745bda9a1d256d8834d1fa1105bb2bab79e3f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Nov 20 01:33:18 2019 @author: iqbalsublime """ from Customer import Customer from Restaurent import Restaurent from Reserve import Reserve from Menu import Menu from Order import Order cust1= Customer(1,"Iqbal", "0167****671") rest1= Restaurent(1,"Farmgate", "102 Kazi Naz...
30.541667
100
0.680764
196
1,466
5.091837
0.423469
0.048096
0.04509
0.069138
0.076152
0
0
0
0
0
0
0.072409
0.105048
1,466
48
101
30.541667
0.688262
0.055252
0
0.071429
0
0
0.246269
0.029851
0
0
0
0
0
1
0
false
0
0.178571
0
0.178571
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
966342122018d47e80bbaf5398de1bb1a30423a0
4,544
py
Python
venv/Lib/site-packages/twisted/logger/_io.py
AironMattos/Web-Scraping-Project
89290fd376e2b42258c49e3ce2c3669932e03ad3
[ "MIT" ]
2
2021-05-30T16:35:00.000Z
2021-06-03T12:23:33.000Z
Lib/site-packages/twisted/logger/_io.py
Jriszz/guacamole-python
cf0dfcaaa7d85c3577571954fc5b2b9dcf55ba17
[ "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
Lib/site-packages/twisted/logger/_io.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
2
2021-05-29T21:12:22.000Z
2021-05-30T04:56:50.000Z
# -*- test-case-name: twisted.logger.test.test_io -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ File-like object that logs. """ import sys from typing import AnyStr, Iterable, Optional from constantly import NamedConstant from incremental import Version from twisted.python.deprecat...
24.170213
80
0.567342
513
4,544
4.947368
0.358674
0.021671
0.025217
0.014184
0.035461
0.021277
0
0
0
0
0
0.003612
0.329886
4,544
187
81
24.299465
0.829885
0.332746
0
0.111111
0
0
0.029857
0
0
0
0
0
0
1
0.185185
false
0.012346
0.08642
0.012346
0.493827
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
96636c79f61d2c52c4c27582d3d3210f08ece747
3,547
py
Python
bot/exts/cricket.py
ShakyaMajumdar/ShaqqueBot
f618ae21e4bf700d86674399670634e8d1cc1dc9
[ "MIT" ]
null
null
null
bot/exts/cricket.py
ShakyaMajumdar/ShaqqueBot
f618ae21e4bf700d86674399670634e8d1cc1dc9
[ "MIT" ]
null
null
null
bot/exts/cricket.py
ShakyaMajumdar/ShaqqueBot
f618ae21e4bf700d86674399670634e8d1cc1dc9
[ "MIT" ]
null
null
null
from dataclasses import dataclass # from pprint import pprint import aiohttp import discord from discord.ext import commands from bot import constants API_URL = "https://livescore6.p.rapidapi.com/matches/v2/" LIVE_MATCHES_URL = API_URL + "list-live" HEADERS = { "x-rapidapi-key": constants.RAPIDAPI_KEY, "x-r...
32.842593
120
0.480124
348
3,547
4.798851
0.347701
0.053892
0.064671
0.026946
0.100599
0.074252
0.038323
0.038323
0
0
0
0.023132
0.366225
3,547
107
121
33.149533
0.719751
0.016916
0
0.05814
0
0
0.219206
0.050204
0
0
0
0
0
1
0.034884
false
0
0.05814
0
0.22093
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9665d6688a28f3e81d1997d0e6bd30513e85d853
1,111
py
Python
shops/shop_util/test_shop_names.py
ikp4success/shopasource
9a9ed5c58a8b37b6ff169b45f7fdfcb44809fd88
[ "Apache-2.0" ]
3
2019-12-04T07:08:55.000Z
2020-12-08T01:38:46.000Z
shops/shop_util/test_shop_names.py
ikp4success/shopasource
9a9ed5c58a8b37b6ff169b45f7fdfcb44809fd88
[ "Apache-2.0" ]
null
null
null
shops/shop_util/test_shop_names.py
ikp4success/shopasource
9a9ed5c58a8b37b6ff169b45f7fdfcb44809fd88
[ "Apache-2.0" ]
null
null
null
from enum import Enum class TestShopNames(Enum): AMAZON = ("AMAZON",) TARGET = ("TARGET",) WALMART = ("WALMART",) TJMAXX = ("TJMAXX",) GOOGLE = ("GOOGLE",) NEWEGG = ("NEWEGG",) HM = ("HM",) MICROCENTER = ("MICROCENTER",) FASHIONNOVA = ("FASHIONNOVA",) SIXPM = ("SIXPM",) POS...
25.25
45
0.568857
85
1,111
7.435294
0.517647
0
0
0
0
0
0
0
0
0
0
0.004819
0.252925
1,111
43
46
25.837209
0.756627
0
0
0
0
0
0.266427
0
0
0
0
0
0
1
0
false
0
0.02439
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9666c26fde73b6b01161a9c3fc47311bfae3372e
2,477
py
Python
package_manager/util_test.py
shahriak/dotnet5
6b96c38b0f351b79750bd2b8bc0f77dc434afe00
[ "Apache-2.0" ]
10,302
2018-04-17T17:06:57.000Z
2022-03-31T17:29:36.000Z
package_manager/util_test.py
unasuke/distroless
859ce06093a899f31fffc1cd151cf9867faf49d5
[ "Apache-2.0" ]
623
2018-04-17T20:43:43.000Z
2022-03-30T13:08:57.000Z
package_manager/util_test.py
unasuke/distroless
859ce06093a899f31fffc1cd151cf9867faf49d5
[ "Apache-2.0" ]
726
2018-05-09T16:20:46.000Z
2022-03-31T15:09:07.000Z
import unittest import os from six import StringIO from package_manager import util CHECKSUM_TXT = "1915adb697103d42655711e7b00a7dbe398a33d7719d6370c01001273010d069" DEBIAN_JESSIE_OS_RELEASE = """PRETTY_NAME="Distroless" NAME="Debian GNU/Linux" ID="debian" VERSION_ID="8" VERSION="Debian GNU/Linux 8 (jessie)" HOME_UR...
34.887324
86
0.774727
306
2,477
6.01634
0.251634
0.052146
0.091255
0.110809
0.549158
0.549158
0.549158
0.549158
0.549158
0.549158
0
0.028188
0.097699
2,477
70
87
35.385714
0.795526
0.020993
0
0.413793
0
0
0.591003
0.066034
0
0
0
0
0.034483
1
0.034483
false
0
0.068966
0
0.12069
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
966918b396e78cd0cc9c87fbc4a01ea21e115709
2,926
py
Python
Tutorials/tutorial_01_intro.py
mseinstein/openCV
94bfd55e0d77fd78f2669244bbab5d9ea8f32666
[ "MIT" ]
null
null
null
Tutorials/tutorial_01_intro.py
mseinstein/openCV
94bfd55e0d77fd78f2669244bbab5d9ea8f32666
[ "MIT" ]
null
null
null
Tutorials/tutorial_01_intro.py
mseinstein/openCV
94bfd55e0d77fd78f2669244bbab5d9ea8f32666
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Sep 01 14:09:03 2017 @author: BJ """ import cv2 import os from matplotlib import pyplot as plt os.chdir('E:\\GitHub\\openCV\\Tutorials') # %% IMAGES # Load color image # Add the flags 1, 0 or -1, to load a color image, load an image in # grayscale mode or load image as...
31.462366
85
0.726931
467
2,926
4.537473
0.441113
0.016517
0.018405
0.016989
0.047192
0.047192
0.026428
0
0
0
0
0.022965
0.181476
2,926
92
86
31.804348
0.861795
0.655844
0
0.148148
0
0
0.122002
0.03024
0
0
0.004171
0
0
1
0
false
0
0.111111
0
0.111111
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
966a7103f706d3acd97c7d32abf73b5779105922
491
py
Python
redis_benchmarks_specification/__init__.py
LaudateCorpus1/redis-benchmarks-specification
71a7e28cd130499f02dacc00bdeca2eadfa62619
[ "Apache-2.0" ]
4
2022-01-24T10:15:55.000Z
2022-03-15T09:40:16.000Z
redis_benchmarks_specification/__init__.py
LaudateCorpus1/redis-benchmarks-specification
71a7e28cd130499f02dacc00bdeca2eadfa62619
[ "Apache-2.0" ]
27
2021-08-13T14:20:36.000Z
2021-09-21T16:49:40.000Z
redis_benchmarks_specification/__init__.py
LaudateCorpus1/redis-benchmarks-specification
71a7e28cd130499f02dacc00bdeca2eadfa62619
[ "Apache-2.0" ]
1
2022-02-02T14:07:55.000Z
2022-02-02T14:07:55.000Z
# Apache License Version 2.0 # # Copyright (c) 2021., Redis Labs # All rights reserved. # # This attribute is the only one place that the version number is written down, # so there is only one place to change it when the version number changes. import pkg_resources PKG_NAME = "redis-benchmarks-specification" try: ...
30.6875
79
0.763747
69
491
5.231884
0.652174
0.099723
0.066482
0
0
0
0
0
0
0
0
0.029126
0.160896
491
15
80
32.733333
0.847087
0.494908
0
0
0
0
0.159664
0.12605
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
966b4317dba886d84d6b354c4c49cfcc2476c374
10,426
py
Python
examples/guojiadianwang/devops/devopsPro.py
peng5550/DecryptLogin
43be0f3d9b68e4ea171cd4c3c200d29a4409d2e4
[ "MIT" ]
null
null
null
examples/guojiadianwang/devops/devopsPro.py
peng5550/DecryptLogin
43be0f3d9b68e4ea171cd4c3c200d29a4409d2e4
[ "MIT" ]
null
null
null
examples/guojiadianwang/devops/devopsPro.py
peng5550/DecryptLogin
43be0f3d9b68e4ea171cd4c3c200d29a4409d2e4
[ "MIT" ]
null
null
null
import requests from utils import loginFile, dataAnalysis import os import datetime from dateutil.relativedelta import relativedelta import json from utils.logCls import Logger dirpath = os.path.dirname(__file__) cookieFile = f"{dirpath}/utils/cookies.txt" dataFile = f"{dirpath}/datas" class DevopsProject: def...
45.929515
464
0.579513
1,153
10,426
5.187337
0.275802
0.038455
0.047818
0.058853
0.535195
0.473165
0.432704
0.404447
0.367999
0.350276
0
0.026529
0.276904
10,426
226
465
46.132743
0.766813
0.01314
0
0.372222
0
0.055556
0.23613
0.087113
0
0
0
0
0
1
0.061111
false
0
0.038889
0
0.172222
0.011111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
966b98dbd5e0be6079948a6cd3ac31f277a97210
6,186
py
Python
ezalor.py
WellerV/EzalorTools
8279c401c9970087af955ac094fe4ebd105e8174
[ "Apache-2.0" ]
13
2018-02-07T06:34:14.000Z
2020-03-04T08:12:08.000Z
ezalor.py
WellerV/EzalorTools
8279c401c9970087af955ac094fe4ebd105e8174
[ "Apache-2.0" ]
null
null
null
ezalor.py
WellerV/EzalorTools
8279c401c9970087af955ac094fe4ebd105e8174
[ "Apache-2.0" ]
2
2018-03-01T09:02:38.000Z
2021-02-16T12:16:28.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- # Copyright (c) 2018 - huwei <huwei@gionee.com> """ This is a python script for the ezalor tools which is used to io monitor. You can use the script to open or off the switch, or point the package name which you want to monitor it only. The core function is to export data wh...
32.387435
120
0.624313
803
6,186
4.663761
0.260274
0.02777
0.04486
0.060881
0.25474
0.217891
0.181041
0.173565
0.173565
0.148999
0
0.010487
0.260103
6,186
190
121
32.557895
0.807734
0.112512
0
0.110236
0
0.015748
0.180487
0.004576
0
0
0
0
0
1
0.07874
false
0
0.07874
0
0.220472
0.070866
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
966d171d2b44d0254f7759c28f9717f4faa2dc4c
3,904
py
Python
GUI/lib/plotData.py
apajon/GUIPythonEncodeur
05b58809ed7a287369c5bfa04b5fb69f5d9e36aa
[ "MIT" ]
null
null
null
GUI/lib/plotData.py
apajon/GUIPythonEncodeur
05b58809ed7a287369c5bfa04b5fb69f5d9e36aa
[ "MIT" ]
4
2021-06-03T23:34:17.000Z
2021-06-04T21:31:19.000Z
GUI/lib/plotData.py
apajon/GUIPythonEncodeur
05b58809ed7a287369c5bfa04b5fb69f5d9e36aa
[ "MIT" ]
null
null
null
# Copyright (c) 2021 Adrien Pajon (adrien.pajon@gmail.com) # # This software is released under the MIT License. # https://opensource.org/licenses/MIT import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as patches from api_phidget_n_MQTT.src.lib_global_python import searchLoggerFile def Plo...
38.27451
116
0.619365
526
3,904
4.528517
0.363118
0.018892
0.017632
0.028547
0.18094
0.149034
0.107473
0.107473
0.09194
0.09194
0
0.026189
0.25666
3,904
101
117
38.653465
0.794624
0.310451
0
0.224138
0
0
0.117333
0
0
0
0
0
0
1
0.017241
false
0
0.068966
0
0.12069
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
966d9c6d207cc79829fc35c116bf0cff41eb5f9c
4,945
py
Python
nova/tests/unit/objects/test_resource.py
Nexenta/nova
ccecb507ff4bdcdd23d90e7b5b02a22c5a46ecc3
[ "Apache-2.0" ]
1
2021-06-10T17:08:15.000Z
2021-06-10T17:08:15.000Z
nova/tests/unit/objects/test_resource.py
Nexenta/nova
ccecb507ff4bdcdd23d90e7b5b02a22c5a46ecc3
[ "Apache-2.0" ]
2
2021-03-31T20:04:16.000Z
2021-12-13T20:45:03.000Z
nova/tests/unit/objects/test_resource.py
Nexenta/nova
ccecb507ff4bdcdd23d90e7b5b02a22c5a46ecc3
[ "Apache-2.0" ]
1
2021-11-12T03:55:41.000Z
2021-11-12T03:55:41.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 # d...
39.879032
79
0.651769
556
4,945
5.517986
0.276978
0.055085
0.054759
0.063885
0.447197
0.363103
0.319426
0.3191
0.292373
0.280313
0
0.020116
0.266127
4,945
123
80
40.203252
0.825296
0.121739
0
0.306818
0
0
0.057546
0.010862
0
0
0
0
0.079545
1
0.125
false
0.022727
0.068182
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
966e2e4f01ba505a9a223a3984ad9d961a218e79
11,532
py
Python
mandala/storages/rel_impl/psql_utils.py
amakelov/mandala
a9ec051ef730ada4eed216c62a07b033126e78d5
[ "Apache-2.0" ]
9
2022-02-22T19:24:01.000Z
2022-03-23T04:46:41.000Z
mandala/storages/rel_impl/psql_utils.py
amakelov/mandala
a9ec051ef730ada4eed216c62a07b033126e78d5
[ "Apache-2.0" ]
null
null
null
mandala/storages/rel_impl/psql_utils.py
amakelov/mandala
a9ec051ef730ada4eed216c62a07b033126e78d5
[ "Apache-2.0" ]
null
null
null
from sqlalchemy.engine.base import Connection from sqlalchemy.sql.selectable import Select, CompoundSelect from sqlalchemy.engine.result import Result from sqlalchemy.dialects import postgresql from .utils import transaction from ...common_imports import * from ...util.common_ut import get_uid from ...core.config imp...
40.893617
129
0.583593
1,381
11,532
4.685735
0.225199
0.024108
0.018081
0.013136
0.229331
0.193942
0.18297
0.100603
0.088549
0.077422
0
0.004027
0.246271
11,532
282
130
40.893617
0.740451
0.155047
0
0.275
0
0.005
0.206658
0.060327
0
0
0
0
0.01
1
0.085
false
0.025
0.04
0.02
0.18
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
966fe34cabbdf144b4795af99c630f2fed4590e1
1,484
py
Python
tests/test_ami.py
seek-oss/aec
13a75c690542eec61727b9d92a2c11a3dbd1caba
[ "MIT" ]
6
2019-09-10T11:23:18.000Z
2021-03-25T04:37:28.000Z
tests/test_ami.py
seek-oss/aec
13a75c690542eec61727b9d92a2c11a3dbd1caba
[ "MIT" ]
162
2019-12-05T10:21:00.000Z
2022-03-27T06:00:45.000Z
tests/test_ami.py
seek-oss/aec
13a75c690542eec61727b9d92a2c11a3dbd1caba
[ "MIT" ]
6
2019-10-27T22:59:35.000Z
2021-02-10T22:36:59.000Z
import pytest from moto import mock_ec2 from moto.ec2.models import AMIS from aec.command.ami import delete, describe, share @pytest.fixture def mock_aws_config(): mock = mock_ec2() mock.start() return { "region": "ap-southeast-2", } def test_describe_images(mock_aws_config): # describ...
31.574468
97
0.735849
214
1,484
4.873832
0.28972
0.073826
0.137105
0.080537
0.61745
0.61745
0.590604
0.5465
0.5465
0.5465
0
0.071094
0.137466
1,484
46
98
32.26087
0.74375
0.144879
0
0.214286
0
0.107143
0.253956
0.184335
0
0
0
0
0.178571
1
0.178571
false
0
0.142857
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
96708ac825e30302b84cfd4e3368984095dd810a
3,168
py
Python
BrandDetails.py
p10rahulm/brandyz-reco
95d5e3f291cdb5b951e0c7d83ff30c59f8a3797f
[ "MIT" ]
null
null
null
BrandDetails.py
p10rahulm/brandyz-reco
95d5e3f291cdb5b951e0c7d83ff30c59f8a3797f
[ "MIT" ]
null
null
null
BrandDetails.py
p10rahulm/brandyz-reco
95d5e3f291cdb5b951e0c7d83ff30c59f8a3797f
[ "MIT" ]
null
null
null
# In this module we will get the brand count and the users per brand as a list. # Add more details as deemed necessary # I'm using mergesort here instead of quicksort as the size of data is much larger than for users import Mergesort import numpy as np def get_brand_purchase_deets(shoppers,brands): # Going to so...
40.615385
143
0.669192
420
3,168
4.759524
0.245238
0.042021
0.047524
0.038019
0.583292
0.503252
0.477239
0.477239
0.477239
0.477239
0
0.014712
0.249053
3,168
78
144
40.615385
0.825557
0.162879
0
0.576271
0
0
0.051098
0
0
0
0
0
0
1
0.033898
false
0
0.033898
0
0.101695
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96724dd749d0959e504802c78aa325cae8171f97
8,550
py
Python
lib/core/postprocess.py
Chris1nexus/tmp
a76b477d491688add434f1ef84bcc0e2dbedbef3
[ "BSD-3-Clause" ]
null
null
null
lib/core/postprocess.py
Chris1nexus/tmp
a76b477d491688add434f1ef84bcc0e2dbedbef3
[ "BSD-3-Clause" ]
null
null
null
lib/core/postprocess.py
Chris1nexus/tmp
a76b477d491688add434f1ef84bcc0e2dbedbef3
[ "BSD-3-Clause" ]
null
null
null
import torch from lib.utils import is_parallel import numpy as np np.set_printoptions(threshold=np.inf) import cv2 from sklearn.cluster import DBSCAN def build_targets(cfg, predictions, targets, model, bdd=True): ''' predictions [16, 3, 32, 32, 85] [16, 3, 16, 16, 85] [16, 3, 8, 8, 85] torch.t...
36.228814
119
0.535906
1,245
8,550
3.538153
0.183936
0.038138
0.034052
0.016345
0.353916
0.293984
0.222474
0.19773
0.189103
0.146198
0
0.045902
0.322222
8,550
235
120
36.382979
0.714236
0.21462
0
0.251748
0
0
0.009933
0
0
0
0
0
0
1
0.041958
false
0.006993
0.034965
0
0.132867
0.006993
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96740cc6a710cea9535394b9dcdca4bd9278e075
11,578
py
Python
buildbot/runCI.py
DenisBakhvalov/perf-ninja
d9d0a7ff3984e7cc3823bca3a3f106e7fbc00da0
[ "CC-BY-3.0" ]
1
2021-08-06T08:54:55.000Z
2021-08-06T08:54:55.000Z
buildbot/runCI.py
DenisBakhvalov/perf-ninja
d9d0a7ff3984e7cc3823bca3a3f106e7fbc00da0
[ "CC-BY-3.0" ]
null
null
null
buildbot/runCI.py
DenisBakhvalov/perf-ninja
d9d0a7ff3984e7cc3823bca3a3f106e7fbc00da0
[ "CC-BY-3.0" ]
null
null
null
import sys import subprocess import os import shutil import argparse import json import re from enum import Enum from dataclasses import dataclass import gbench from gbench import util, report from gbench.util import * class bcolors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKCYAN = '\033[96m' OKGREEN =...
34.458333
175
0.70228
1,404
11,578
5.736467
0.210114
0.013409
0.022349
0.025826
0.309411
0.264092
0.218277
0.174572
0.132853
0.132853
0
0.013773
0.172223
11,578
335
176
34.561194
0.826586
0.034203
0
0.270758
0
0
0.18858
0.004207
0
0
0
0
0
1
0.061372
false
0.018051
0.043321
0.01083
0.274368
0.133574
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
967557de1befe9d5c89674990959f86af65d7c4c
1,156
py
Python
main.py
TheSkidSlayer/VissageMassBanner
38f0a83ad9d625930cef5004787f8c4966312fd0
[ "BSL-1.0" ]
1
2021-12-31T23:15:47.000Z
2021-12-31T23:15:47.000Z
main.py
TheSkidSlayer/VissageMassBanner
38f0a83ad9d625930cef5004787f8c4966312fd0
[ "BSL-1.0" ]
null
null
null
main.py
TheSkidSlayer/VissageMassBanner
38f0a83ad9d625930cef5004787f8c4966312fd0
[ "BSL-1.0" ]
null
null
null
try: from concurrent.futures import ThreadPoolExecutor import random, time, os, httpx from colorama import Fore, Style except ImportError: print("Error [!] -> Modules Are not installed") token, guild = input("Token -> "), input("\nGuild ID -> ") threads = [] apiv = [6, 7, 8, 9] codes = [200, 201, 204...
24.083333
87
0.553633
127
1,156
4.968504
0.661417
0.063391
0.050713
0
0
0
0
0
0
0
0
0.021384
0.312284
1,156
47
88
24.595745
0.772327
0
0
0.111111
0
0
0.187716
0.021626
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.222222
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9678930e9778ab9e49deebe9a98a3436e67de53f
1,809
py
Python
homeassistant/components/smarthab/light.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
22,481
2020-03-02T13:09:59.000Z
2022-03-31T23:34:28.000Z
homeassistant/components/smarthab/light.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
homeassistant/components/smarthab/light.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,411
2020-03-02T14:19:20.000Z
2022-03-31T22:46:07.000Z
"""Support for SmartHab device integration.""" from datetime import timedelta import logging import pysmarthab from requests.exceptions import Timeout from homeassistant.components.light import LightEntity from . import DATA_HUB, DOMAIN _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=60) ...
26.602941
82
0.6534
225
1,809
5.048889
0.373333
0.06338
0.045775
0.050176
0.096831
0.056338
0.056338
0
0
0
0
0.001466
0.245992
1,809
67
83
27
0.831378
0.105583
0
0.076923
0
0
0.033732
0
0
0
0
0
0
1
0.102564
false
0
0.153846
0
0.358974
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
96797b706de9c91fb5c25b82dfacdb6b113734eb
14,277
py
Python
VCD/utils/utils.py
Xingyu-Lin/VCD
46ca993f79b23e5c73f5a7eb72b39dfacf3b282c
[ "MIT" ]
25
2022-01-28T02:13:42.000Z
2022-03-19T15:33:38.000Z
VCD/utils/utils.py
Xingyu-Lin/VCD
46ca993f79b23e5c73f5a7eb72b39dfacf3b282c
[ "MIT" ]
2
2022-01-28T05:58:32.000Z
2022-01-30T11:37:50.000Z
VCD/utils/utils.py
Xingyu-Lin/VCD
46ca993f79b23e5c73f5a7eb72b39dfacf3b282c
[ "MIT" ]
4
2022-01-31T08:22:49.000Z
2022-02-17T16:28:32.000Z
import os.path as osp import numpy as np import cv2 import torch from torchvision.utils import make_grid from VCD.utils.camera_utils import project_to_image import pyflex import re import h5py import os from softgym.utils.visualization import save_numpy_as_gif from chester import logger import random class VArgs(obje...
35.426799
128
0.6397
2,178
14,277
3.959596
0.155188
0.005566
0.019596
0.028641
0.289889
0.246058
0.192254
0.174165
0.16257
0.118506
0
0.034483
0.21391
14,277
402
129
35.514925
0.733939
0.050221
0
0.119863
0
0
0.007001
0
0
0
0
0
0.006849
1
0.099315
false
0
0.054795
0
0.232877
0.003425
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
967fc22994b7e8387bc0009833f00fda8cc5c3ce
18,675
py
Python
biosteam/units/_shortcut_column.py
tylerhuntington222/biosteam
234959180a3210d95e39a012454f455723c92686
[ "MIT" ]
null
null
null
biosteam/units/_shortcut_column.py
tylerhuntington222/biosteam
234959180a3210d95e39a012454f455723c92686
[ "MIT" ]
null
null
null
biosteam/units/_shortcut_column.py
tylerhuntington222/biosteam
234959180a3210d95e39a012454f455723c92686
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules # Copyright (C) 2020, Yoel Cortes-Pena <yoelcortes@gmail.com> # # This module is under the UIUC open-source license. See # github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt # for license details. """...
42.636986
148
0.584257
2,234
18,675
4.629812
0.207699
0.087015
0.027845
0.038674
0.286377
0.197815
0.140868
0.087886
0.077057
0.069709
0
0.02646
0.336225
18,675
438
149
42.636986
0.807922
0.354592
0
0.21519
0
0
0.016211
0.002353
0
0
0
0
0
1
0.097046
false
0.008439
0.021097
0.008439
0.202532
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
9681b53ab62bfb5ddd55b122e2a997c7da50a56f
11,477
py
Python
vital/bindings/python/vital/types/camera_intrinsics.py
dstoup/kwiver
a3a36317b446baf0feb6274235ab1ac6b4329ead
[ "BSD-3-Clause" ]
null
null
null
vital/bindings/python/vital/types/camera_intrinsics.py
dstoup/kwiver
a3a36317b446baf0feb6274235ab1ac6b4329ead
[ "BSD-3-Clause" ]
null
null
null
vital/bindings/python/vital/types/camera_intrinsics.py
dstoup/kwiver
a3a36317b446baf0feb6274235ab1ac6b4329ead
[ "BSD-3-Clause" ]
null
null
null
""" ckwg +31 Copyright 2016 by Kitware, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
38.773649
80
0.640673
1,485
11,477
4.748822
0.169697
0.018434
0.029495
0.038287
0.541123
0.521129
0.463556
0.431792
0.41747
0.342881
0
0.011952
0.270977
11,477
295
81
38.905085
0.830883
0.337196
0
0.5
0
0
0.087306
0.063047
0
0
0
0
0.033333
1
0.106667
false
0
0.033333
0.006667
0.246667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9681c77a186723aca18c1c0fe154bf16a7a4024b
2,333
py
Python
utils/lanzouyun.py
Firesuiry/jdmm-client
33defde409222ae49c6301cec3389ca72d19953c
[ "BSD-3-Clause" ]
null
null
null
utils/lanzouyun.py
Firesuiry/jdmm-client
33defde409222ae49c6301cec3389ca72d19953c
[ "BSD-3-Clause" ]
null
null
null
utils/lanzouyun.py
Firesuiry/jdmm-client
33defde409222ae49c6301cec3389ca72d19953c
[ "BSD-3-Clause" ]
null
null
null
from lanzou.api import LanZouCloud import urllib.parse final_files = [] final_share_infos = [] def lzy_login(cookies): lzy = LanZouCloud() cookie_dic = cookie_to_dic(cookies) print(cookie_dic) cookies = { 'ylogin': cookie_dic['ylogin'], 'phpdisk_info': urllib.parse.quote(cookie_dic['p...
25.637363
110
0.582512
319
2,333
4.015674
0.260188
0.070258
0.050742
0.032787
0.081187
0.035909
0
0
0
0
0
0.012522
0.281183
2,333
90
111
25.922222
0.751342
0.033862
0
0
0
0
0.065333
0
0
0
0
0
0
1
0.071429
false
0
0.028571
0
0.171429
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9681dcb1c6a4a00147da8d82baecc6e355120cf5
1,948
py
Python
util/ndcg.py
voschezang/Data-Mining
0762df1d9a63f81d6f44d8a35cc61802baad4c37
[ "MIT" ]
null
null
null
util/ndcg.py
voschezang/Data-Mining
0762df1d9a63f81d6f44d8a35cc61802baad4c37
[ "MIT" ]
null
null
null
util/ndcg.py
voschezang/Data-Mining
0762df1d9a63f81d6f44d8a35cc61802baad4c37
[ "MIT" ]
null
null
null
import numpy as np import util.data def ndcg(X_test, y_test, y_pred, ): Xy_pred = X_test.copy([['srch_id', 'prop_id', 'score']]) Xy_pred['score_pred'] = y_pred Xy_pred['score'] = y_test Xy_pred.sort_values(['srch_id', 'score_pred'], ascending=[True, False]) dcg_test = DCG_dict(Xy_pred) ndcg = ...
27.828571
75
0.569302
324
1,948
3.185185
0.240741
0.087209
0.01938
0.024225
0.268411
0.194767
0.125969
0.04845
0.04845
0.04845
0
0.016129
0.299795
1,948
69
76
28.231884
0.740469
0.095483
0
0.264151
0
0
0.041595
0
0
0
0
0
0
1
0.09434
false
0
0.037736
0
0.283019
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
9681fb5a4ab9afe1cfd4688c372d7a335ae0a5d6
4,364
py
Python
pycorrector/bert/bert_detector.py
zouning68/pycorrector
4daaf13e566f2cecc724fb5a77db5d89f1f25203
[ "Apache-2.0" ]
45
2020-01-18T03:46:07.000Z
2022-03-26T13:06:36.000Z
pycorrector/bert/bert_detector.py
zouning68/pycorrector
4daaf13e566f2cecc724fb5a77db5d89f1f25203
[ "Apache-2.0" ]
1
2020-08-16T12:42:05.000Z
2020-08-16T12:42:05.000Z
pycorrector/bert/bert_detector.py
zouning68/pycorrector
4daaf13e566f2cecc724fb5a77db5d89f1f25203
[ "Apache-2.0" ]
9
2020-01-04T09:09:01.000Z
2022-01-17T08:56:23.000Z
# -*- coding: utf-8 -*- """ @author:XuMing(xuming624@qq.com) @description: use bert detect chinese char error """ import sys import time import numpy as np import torch from pytorch_transformers import BertForMaskedLM from pytorch_transformers import BertTokenizer sys.path.append('../..') from pycorrector.detector im...
35.770492
107
0.613886
518
4,364
4.88417
0.272201
0.041107
0.06087
0.033597
0.167589
0.067984
0.052174
0
0
0
0
0.004535
0.292621
4,364
121
108
36.066116
0.815031
0.071723
0
0.065934
0
0
0.060226
0.011041
0
0
0
0
0
1
0.076923
false
0
0.098901
0
0.230769
0.010989
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9685eb2eb0a92cde4c6bccfdc2397e3ea1a606c7
1,056
py
Python
twindb_backup/modifiers/gzip.py
akuzminsky/twindb-mysql-backup
35755f18efb372dd05f856ca4732fba796de2549
[ "Apache-2.0" ]
1
2019-03-22T00:04:40.000Z
2019-03-22T00:04:40.000Z
twindb_backup/modifiers/gzip.py
akuzminsky/twindb-mysql-backup
35755f18efb372dd05f856ca4732fba796de2549
[ "Apache-2.0" ]
null
null
null
twindb_backup/modifiers/gzip.py
akuzminsky/twindb-mysql-backup
35755f18efb372dd05f856ca4732fba796de2549
[ "Apache-2.0" ]
1
2019-03-21T16:03:11.000Z
2019-03-21T16:03:11.000Z
# -*- coding: utf-8 -*- """ Module defines modifier that compresses a stream with gzip """ from contextlib import contextmanager from subprocess import Popen, PIPE from twindb_backup.modifiers.base import Modifier class Gzip(Modifier): """ Modifier that compresses the input_stream with gzip. """ @co...
27.076923
70
0.604167
122
1,056
5.163934
0.434426
0.087302
0.066667
0.053968
0.301587
0.301587
0.301587
0.301587
0.301587
0.301587
0
0.001372
0.309659
1,056
38
71
27.789474
0.862826
0.398674
0
0
0
0
0.02809
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
968781224af215504c720d13564d694353e11612
8,795
py
Python
heat/objects/resource.py
larsks/heat
11064586e90166a037f8868835e6ce36f7306276
[ "Apache-2.0" ]
null
null
null
heat/objects/resource.py
larsks/heat
11064586e90166a037f8868835e6ce36f7306276
[ "Apache-2.0" ]
null
null
null
heat/objects/resource.py
larsks/heat
11064586e90166a037f8868835e6ce36f7306276
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 Intel Corp. # # 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, soft...
37.909483
79
0.648778
1,011
8,795
5.351137
0.194857
0.036969
0.036044
0.022181
0.358965
0.263401
0.230129
0.175046
0.145102
0.145102
0
0.003277
0.271404
8,795
231
80
38.073593
0.84098
0.0639
0
0.224599
0
0
0.040292
0.00706
0
0
0
0
0
1
0.112299
false
0
0.074866
0.026738
0.299465
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
968a7365ef23f40cb8759f1ce7dce18d8b7a6114
6,371
py
Python
file.py
AllenGao6/P2P-File-Sharing
059f9ec75d10b7802d1a363f718ade640ac18223
[ "MIT" ]
null
null
null
file.py
AllenGao6/P2P-File-Sharing
059f9ec75d10b7802d1a363f718ade640ac18223
[ "MIT" ]
null
null
null
file.py
AllenGao6/P2P-File-Sharing
059f9ec75d10b7802d1a363f718ade640ac18223
[ "MIT" ]
null
null
null
''' objective of file.py: define the object class for file, information to include: name size of file chunk list (should automaticlly be splitted into chunks, each chunk should have indicator) ''' import base64 import sys import hashlib JPG, PNG, PDF, MP3, MP4, UNKNOWN = 1, 2, 3, 4, 5, 0...
33.888298
125
0.605086
845
6,371
4.352663
0.19645
0.095432
0.07776
0.046493
0.248777
0.181349
0.181349
0.157966
0.140294
0.115824
0
0.015245
0.310155
6,371
188
126
33.888298
0.821615
0.208758
0
0.161017
0
0
0.033521
0
0
0
0
0
0
1
0.144068
false
0
0.025424
0.033898
0.415254
0.050847
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
968b59a333622be17af9c9620da7baac069e951b
1,328
py
Python
.my_scripts/network/analyze_speedtest.py
infokiller/config-public
73fd61a0ad4d2f1ac7e7a73b13de8c4f1b80e5c4
[ "MIT" ]
17
2020-06-01T14:18:49.000Z
2022-03-23T04:32:52.000Z
.my_scripts/network/analyze_speedtest.py
Laworigin/config-public
527c42e0c5c274dd23c537674d789499b03ef912
[ "MIT" ]
1
2021-11-28T10:43:08.000Z
2021-11-28T10:43:08.000Z
.my_scripts/network/analyze_speedtest.py
Laworigin/config-public
527c42e0c5c274dd23c537674d789499b03ef912
[ "MIT" ]
3
2020-07-02T12:37:27.000Z
2021-12-15T17:03:54.000Z
#!/usr/bin/env python3 import argparse import datetime import os import matplotlib.pyplot as plt import pandas as pd def main(): parser = argparse.ArgumentParser(description='Analyze speedtest csv file') parser.add_argument('speedtest_file', help='Path to speedtest csv file') parser.add_argument('--min-...
30.883721
78
0.610693
169
1,328
4.627219
0.43787
0.084399
0.071611
0.056266
0.161125
0.084399
0
0
0
0
0
0.021912
0.243976
1,328
42
79
31.619048
0.756972
0.037651
0
0
0
0
0.19279
0
0
0
0
0
0
1
0.030303
false
0
0.151515
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
968b5a9ecbc7c7427f6fc38ea644b75122f74f7f
5,403
py
Python
tensorflow_datasets/text/wikipedia_toxicity_subtypes.py
stwind/datasets
118d3d2472a3bf2703d1374e25c2223dc7942c13
[ "Apache-2.0" ]
1
2020-10-11T19:15:49.000Z
2020-10-11T19:15:49.000Z
tensorflow_datasets/text/wikipedia_toxicity_subtypes.py
cbaront/datasets
b097e0985eaaadc6b0c1f4dfa3b3cf88d116c607
[ "Apache-2.0" ]
1
2021-02-23T20:16:05.000Z
2021-02-23T20:16:05.000Z
tensorflow_datasets/text/wikipedia_toxicity_subtypes.py
cbaront/datasets
b097e0985eaaadc6b0c1f4dfa3b3cf88d116c607
[ "Apache-2.0" ]
1
2022-03-14T16:17:53.000Z
2022-03-14T16:17:53.000Z
# coding=utf-8 # Copyright 2020 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
38.049296
130
0.713122
701
5,403
5.433666
0.406562
0.009189
0.022053
0.025203
0.271987
0.239695
0.221318
0.221318
0.221318
0.19979
0
0.032288
0.197483
5,403
141
131
38.319149
0.846172
0.267444
0
0.066667
0
0.022222
0.57732
0.016753
0
0
0
0
0
1
0.033333
false
0
0.044444
0.011111
0.133333
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
968b8d46ee387fdd215e0605696e260154647af3
480
py
Python
estimate-retrofit-impact-on-heat-pump-viability/plot_uvalue_distribution.py
rdmolony/projects
8cbbe215710cb9f1b1bf80f8c6a39153181d61a0
[ "MIT" ]
3
2021-09-02T16:38:27.000Z
2022-01-19T13:11:09.000Z
estimate-retrofit-impact-on-heat-pump-viability/plot_uvalue_distribution.py
rdmolony/projects
8cbbe215710cb9f1b1bf80f8c6a39153181d61a0
[ "MIT" ]
5
2021-10-17T16:25:47.000Z
2021-11-14T17:51:24.000Z
estimate-retrofit-impact-on-heat-pump-viability/plot_uvalue_distribution.py
rdmolony/projects
8cbbe215710cb9f1b1bf80f8c6a39153181d61a0
[ "MIT" ]
3
2021-10-04T08:34:26.000Z
2022-02-06T15:56:03.000Z
import pandas as pd import seaborn as sns sns.set() # + tags=["parameters"] upstream = ["download_buildings"] product = None # - buildings = pd.read_csv(upstream["download_buildings"]) buildings["wall_uvalue"].plot.hist(bins=30) buildings["roof_uvalue"].plot.hist(bins=30) buildings["window_uvalue"].plot.hist(bin...
19.2
55
0.739583
66
480
5.19697
0.378788
0.087464
0.122449
0.157434
0.253644
0.253644
0
0
0
0
0
0.013605
0.08125
480
24
56
20
0.764172
0.047917
0
0
0
0
0.264317
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
968d0a57d12d55c489796f697b6f5c53a64a6d4e
925
py
Python
src/core/base/Logging.py
albertmonfa/Banhmi
30052155316d3ba65e9bc7261f13f7e081c14ab2
[ "Apache-2.0" ]
null
null
null
src/core/base/Logging.py
albertmonfa/Banhmi
30052155316d3ba65e9bc7261f13f7e081c14ab2
[ "Apache-2.0" ]
1
2021-06-01T22:54:10.000Z
2021-06-01T22:54:10.000Z
src/core/base/Logging.py
albertmonfa/Banhmi
30052155316d3ba65e9bc7261f13f7e081c14ab2
[ "Apache-2.0" ]
1
2018-11-08T10:18:19.000Z
2018-11-08T10:18:19.000Z
#!/usr/bin/python ''' Copyright 2018 Albert Monfa 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 w...
27.205882
72
0.701622
133
925
4.827068
0.631579
0.093458
0.040498
0.049844
0
0
0
0
0
0
0
0.020979
0.227027
925
33
73
28.030303
0.876923
0.615135
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.076923
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
968e31be6937f07c12c6da1be7d293d1db2611e3
5,690
py
Python
src/envoxy/postgresql/client.py
muzzley/envoxy
b70f2d19ee27f7b4b12e68d441b1317966d87041
[ "MIT" ]
2
2018-10-29T09:39:43.000Z
2019-06-18T11:29:00.000Z
src/envoxy/postgresql/client.py
muzzley/envoxy
b70f2d19ee27f7b4b12e68d441b1317966d87041
[ "MIT" ]
null
null
null
src/envoxy/postgresql/client.py
muzzley/envoxy
b70f2d19ee27f7b4b12e68d441b1317966d87041
[ "MIT" ]
null
null
null
from psycopg2.pool import ThreadedConnectionPool import psycopg2.extras import psycopg2.sql as sql from contextlib import contextmanager from threading import Semaphore from ..db.exceptions import DatabaseException from ..utils.logs import Log from ..constants import MIN_CONN, MAX_CONN, TIMEOUT_CONN, DEFAULT_OFFSET_LI...
31.787709
119
0.564323
600
5,690
5.103333
0.243333
0.064664
0.025474
0.035924
0.101568
0.048988
0.048988
0.035924
0.035924
0.035924
0
0.003151
0.330756
5,690
178
120
31.966292
0.800945
0.02935
0
0.110169
0
0
0.077586
0
0
0
0
0
0.016949
1
0.09322
false
0.008475
0.076271
0.008475
0.245763
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
968eb0ff0a358625bf80189ad1c3b24c8d3d2439
4,380
py
Python
treadmill/cli/admin/blackout.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
2
2017-03-20T07:13:33.000Z
2017-05-03T03:39:53.000Z
treadmill/cli/admin/blackout.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
12
2017-07-10T07:04:06.000Z
2017-07-26T09:32:54.000Z
treadmill/cli/admin/blackout.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
2
2017-05-04T11:25:32.000Z
2017-07-11T09:10:01.000Z
"""Kills all connections from a given treadmill server.""" import logging import re import click import kazoo from treadmill import presence from treadmill import utils from treadmill import zkutils from treadmill import context from treadmill import cli from treadmill import zknamespace as z _LOGGER = logging.ge...
29.594595
73
0.638128
517
4,380
5.253385
0.305609
0.028351
0.041973
0.034978
0.162739
0.084315
0.072901
0.072901
0.040501
0.040501
0
0.00603
0.242694
4,380
147
74
29.795918
0.812783
0.111872
0
0.181818
0
0
0.068668
0
0
0
0
0
0
1
0.10101
false
0.030303
0.10101
0
0.222222
0.020202
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9690871dfe5b99b44cb726d4b08a75cadca848bb
3,200
py
Python
tests/view_tests/urls.py
peteralexandercharles/django
61c7350f41f2534daf3888709f3c987b7d779a29
[ "BSD-3-Clause", "0BSD" ]
null
null
null
tests/view_tests/urls.py
peteralexandercharles/django
61c7350f41f2534daf3888709f3c987b7d779a29
[ "BSD-3-Clause", "0BSD" ]
null
null
null
tests/view_tests/urls.py
peteralexandercharles/django
61c7350f41f2534daf3888709f3c987b7d779a29
[ "BSD-3-Clause", "0BSD" ]
null
null
null
import os from functools import partial from django.conf.urls.i18n import i18n_patterns from django.urls import include, path, re_path from django.utils.translation import gettext_lazy as _ from django.views import defaults, i18n, static from . import views base_dir = os.path.dirname(os.path.abspath(__file__)) media...
38.095238
88
0.684688
394
3,200
5.309645
0.281726
0.047323
0.060229
0.10325
0.256692
0.198853
0.151052
0.045889
0
0
0
0.045455
0.154375
3,200
83
89
38.554217
0.727642
0.03875
0
0.194444
0
0
0.285993
0.106189
0
0
0
0
0
1
0
false
0
0.097222
0
0.097222
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
969196b838a5ad3282e2d2bf20e3669c40ce0f82
20,323
py
Python
sympy/solvers/ode/systems.py
nsfinkelstein/sympy
cf87897234ad0d7eaac705ba47267caec2a6bcb1
[ "BSD-3-Clause" ]
2
2019-05-18T22:36:49.000Z
2019-05-24T05:56:16.000Z
sympy/solvers/ode/systems.py
mmelotti/sympy
bea29026d27cc50c2e6a5501b6a70a9629ed3e18
[ "BSD-3-Clause" ]
1
2020-04-22T12:45:26.000Z
2020-04-22T12:45:26.000Z
sympy/solvers/ode/systems.py
mmelotti/sympy
bea29026d27cc50c2e6a5501b6a70a9629ed3e18
[ "BSD-3-Clause" ]
3
2021-02-16T16:40:49.000Z
2022-03-07T18:28:41.000Z
from sympy import (Derivative, Symbol) from sympy.core.numbers import I from sympy.core.relational import Eq from sympy.core.symbol import Dummy from sympy.functions import exp, im, cos, sin, re from sympy.functions.combinatorial.factorials import factorial from sympy.matrices import zeros, Matrix from sympy.simplify i...
32.310016
104
0.59814
3,045
20,323
3.910673
0.154351
0.008398
0.006298
0.010581
0.236648
0.179795
0.146036
0.130165
0.079442
0.066006
0
0.012088
0.279486
20,323
628
105
32.361465
0.801134
0.606013
0
0.060976
0
0
0.073467
0
0
0
0
0
0
1
0.054878
false
0.012195
0.085366
0.006098
0.22561
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
96930cd599eda3b260c1fca7b9aaa84eeb3c1530
985
py
Python
docs/rips/tests/test_surfaces.py
OPM/ResInsight-UserDocumentation
2af2c3a5ef297c0061d842944360a83bf8e49c36
[ "MIT" ]
1
2020-04-25T21:24:45.000Z
2020-04-25T21:24:45.000Z
docs/rips/tests/test_surfaces.py
OPM/ResInsight-UserDocumentation
2af2c3a5ef297c0061d842944360a83bf8e49c36
[ "MIT" ]
7
2020-02-11T07:42:10.000Z
2020-09-28T17:18:01.000Z
docs/rips/tests/test_surfaces.py
OPM/ResInsight-UserDocumentation
2af2c3a5ef297c0061d842944360a83bf8e49c36
[ "MIT" ]
2
2020-04-02T09:33:45.000Z
2020-04-09T19:44:53.000Z
import sys import os import tempfile from pathlib import Path import pytest sys.path.insert(1, os.path.join(sys.path[0], "../../")) import rips import dataroot @pytest.mark.skipif( sys.platform.startswith("linux"), reason="Brugge is currently exceptionally slow on Linux", ) def test_create_and_export_surfac...
28.142857
85
0.722843
129
985
5.348837
0.511628
0.052174
0.055072
0
0
0
0
0
0
0
0
0.015739
0.161421
985
34
86
28.970588
0.819613
0
0
0
0
0
0.141117
0.047716
0
0
0
0
0.16
1
0.04
false
0
0.28
0
0.32
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
0
0
0
0
0
0
0
0
1
0
9693a5d83793a6353d6917bc38d706bca8e15158
1,816
py
Python
ast_to_json.py
visr/Py2Jl.jl
b2dee947299d064da2e443d0b1ad2ca90bbd1753
[ "MIT" ]
53
2018-08-20T12:47:47.000Z
2022-03-17T02:21:07.000Z
ast_to_json.py
visr/Py2Jl.jl
b2dee947299d064da2e443d0b1ad2ca90bbd1753
[ "MIT" ]
14
2019-01-24T15:27:15.000Z
2021-06-13T13:24:18.000Z
ast_to_json.py
visr/Py2Jl.jl
b2dee947299d064da2e443d0b1ad2ca90bbd1753
[ "MIT" ]
9
2019-02-12T01:07:11.000Z
2021-11-11T19:33:36.000Z
import ast import typing as t import numbers import json from wisepy.talking import Talking from Redy.Tools.PathLib import Path talking = Talking() def to_dict(node: t.Union[ast.AST, str, numbers.Number, list]): if isinstance(node, complex): return {"class": "complex", "real": node.real, "imag": node.ima...
25.942857
73
0.55837
227
1,816
4.352423
0.339207
0.030364
0.072874
0.066802
0.242915
0.133603
0.072874
0.072874
0.072874
0.072874
0
0.002373
0.303965
1,816
69
74
26.318841
0.779272
0.045154
0
0.134615
0
0
0.071051
0
0
0
0
0
0
1
0.057692
false
0.038462
0.115385
0
0.288462
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
96940da789aefea52af00e66e63f6bfcc1df6521
18,232
py
Python
src/python/pants/backend/docker/util_rules/docker_build_context_test.py
pantsbuild/pants
22c566e78b4dd982958429813c82e9f558957817
[ "Apache-2.0" ]
1,806
2015-01-05T07:31:00.000Z
2022-03-31T11:35:41.000Z
src/python/pants/backend/docker/util_rules/docker_build_context_test.py
pantsbuild/pants
22c566e78b4dd982958429813c82e9f558957817
[ "Apache-2.0" ]
9,565
2015-01-02T19:01:59.000Z
2022-03-31T23:25:16.000Z
src/python/pants/backend/docker/util_rules/docker_build_context_test.py
pantsbuild/pants
22c566e78b4dd982958429813c82e9f558957817
[ "Apache-2.0" ]
443
2015-01-06T20:17:57.000Z
2022-03-31T05:28:17.000Z
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations from textwrap import dedent from typing import Any, ContextManager import pytest from pants.backend.docker.goals import package_image from pants.backe...
32.042179
99
0.557975
1,830
18,232
5.332787
0.138251
0.044062
0.026232
0.029306
0.419613
0.330874
0.307818
0.281484
0.230761
0.199098
0
0.007836
0.321084
18,232
568
100
32.098592
0.780578
0.038559
0
0.326389
0
0
0.197712
0.05477
0
0
0
0
0.046296
1
0.034722
false
0
0.064815
0.002315
0.108796
0.002315
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9697d247dc37a959099c3ca64ced69e9f31cf6d0
670
py
Python
ESPNet/commons/general_details.py
sanket1414/Priority-Based-Alert-System
89d61d43eab8d7251fe99796e657bc95da1cc48c
[ "MIT" ]
1
2019-10-24T03:19:14.000Z
2019-10-24T03:19:14.000Z
ESPNet/commons/general_details.py
sanket1414/Priority-Based-Alert-System
89d61d43eab8d7251fe99796e657bc95da1cc48c
[ "MIT" ]
null
null
null
ESPNet/commons/general_details.py
sanket1414/Priority-Based-Alert-System
89d61d43eab8d7251fe99796e657bc95da1cc48c
[ "MIT" ]
null
null
null
# classification related details classification_datasets = ['imagenet', 'coco'] classification_schedulers = ['fixed', 'clr', 'hybrid', 'linear', 'poly'] classification_models = ['espnetv2', 'dicenet', 'shufflenetv2'] classification_exp_choices = ['main', 'ablation'] # segmentation related details segmentation_schedule...
35.263158
72
0.720896
64
670
7.34375
0.453125
0.089362
0.134043
0
0
0
0
0
0
0
0
0.006656
0.102985
670
18
73
37.222222
0.775374
0.126866
0
0
0
0
0.297762
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
969a1ae2aa1e6f093f672d0dc08a8182fddc7227
920
py
Python
oshino/run.py
CodersOfTheNight/oshino
08e35d004aa16a378d87d5e548649a1bc1f5dc17
[ "MIT" ]
6
2016-11-06T17:47:57.000Z
2020-04-08T12:20:59.000Z
oshino/run.py
CodersOfTheNight/oshino
08e35d004aa16a378d87d5e548649a1bc1f5dc17
[ "MIT" ]
24
2016-11-15T06:20:50.000Z
2019-02-08T18:54:57.000Z
oshino/run.py
CodersOfTheNight/oshino
08e35d004aa16a378d87d5e548649a1bc1f5dc17
[ "MIT" ]
null
null
null
import logging from argparse import ArgumentParser from dotenv import load_dotenv, find_dotenv from .config import load from .core.heart import start_loop logger = logging.getLogger(__name__) try: load_dotenv(find_dotenv()) except Exception as ex: logger.error("Error while loading .env: '{}'. Ignoring.".fo...
27.058824
127
0.71413
121
920
5.231405
0.495868
0.042654
0.080569
0.063191
0.097946
0.097946
0
0
0
0
0
0
0.157609
920
33
128
27.878788
0.816774
0
0
0
0
0
0.18587
0
0
0
0
0
0
1
0.043478
false
0
0.217391
0
0.26087
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
969aa0f8463c5dac76a29b27b5b12bf01e79a4cf
4,113
py
Python
sendmail_win_cs.py
Fatman13/gta_swarm
1c4603f39cd7831f5907fd619594452b3320f75f
[ "MIT" ]
null
null
null
sendmail_win_cs.py
Fatman13/gta_swarm
1c4603f39cd7831f5907fd619594452b3320f75f
[ "MIT" ]
null
null
null
sendmail_win_cs.py
Fatman13/gta_swarm
1c4603f39cd7831f5907fd619594452b3320f75f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 import glob import click import os import json import datetime import re import csv from requests.exceptions import ConnectionError from exchangelib import DELEGATE, IMPERSONATION, Account, Credentials, ServiceAccount, \ EWSDateTime, EWSTimeZone, Configuration, NT...
34.855932
102
0.706054
507
4,113
5.536489
0.410256
0.05985
0.094763
0.119701
0.146063
0.146063
0.146063
0.146063
0.146063
0.146063
0
0.009027
0.165086
4,113
118
103
34.855932
0.808387
0.17627
0
0.047059
0
0
0.185253
0.059601
0
0
0
0
0
1
0.023529
false
0.011765
0.105882
0
0.152941
0.094118
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
969bdd00695dbe7a914d09d8df086240e345cdbb
15,054
py
Python
plotDiff_log.py
kmoskovtsev/Electrons-on-Helium-Scripts
b7325c64a62def9b963b66bfb078ee82553c2ed4
[ "Unlicense" ]
null
null
null
plotDiff_log.py
kmoskovtsev/Electrons-on-Helium-Scripts
b7325c64a62def9b963b66bfb078ee82553c2ed4
[ "Unlicense" ]
null
null
null
plotDiff_log.py
kmoskovtsev/Electrons-on-Helium-Scripts
b7325c64a62def9b963b66bfb078ee82553c2ed4
[ "Unlicense" ]
null
null
null
from __future__ import division import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt import matplotlib.ticker as mticker import gsd import gsd.fl import numpy as np import os import sys import datetime import time import pickle from shutil import copyfile import inspect import md_tools...
43.634783
167
0.561778
2,178
15,054
3.670799
0.201102
0.009381
0.009006
0.013133
0.175985
0.142714
0.093183
0.045904
0.038399
0.038399
0
0.02933
0.261658
15,054
344
168
43.761628
0.689969
0.190581
0
0.108
0
0.004
0.157339
0.024745
0
0
0
0
0
1
0.024
false
0
0.068
0.004
0.112
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
969c409f7ce05c9902d3127ae8558f487796543d
1,609
py
Python
backuppy/cli/put.py
drmorr0/backuppy
ed6c60b049aaeb6107a073af2d81ccbe0a9abc59
[ "Apache-2.0" ]
4
2021-08-20T02:51:59.000Z
2022-01-06T18:18:53.000Z
backuppy/cli/put.py
drmorr0/backuppy
ed6c60b049aaeb6107a073af2d81ccbe0a9abc59
[ "Apache-2.0" ]
26
2019-06-06T02:23:29.000Z
2021-07-29T06:43:04.000Z
backuppy/cli/put.py
drmorr0/backuppy
ed6c60b049aaeb6107a073af2d81ccbe0a9abc59
[ "Apache-2.0" ]
null
null
null
import argparse import staticconf from backuppy.args import add_name_arg from backuppy.args import subparser from backuppy.manifest import lock_manifest from backuppy.manifest import Manifest from backuppy.stores import get_backup_store def main(args: argparse.Namespace) -> None: staticconf.YamlConfiguration(ar...
30.942308
100
0.705407
202
1,609
5.430693
0.415842
0.110301
0.049225
0.040109
0.052871
0
0
0
0
0
0
0
0.213797
1,609
51
101
31.54902
0.867194
0.009944
0
0.047619
0
0
0.235072
0
0
0
0
0
0
1
0.047619
false
0
0.166667
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
969caf4ae896145b97abded195e8a8ae66368a89
6,349
py
Python
OnePy/feeds/feedbase.py
sibuzu/OnePy
464fca1c68a10f90ad128da3bfb03f05d2fc24bc
[ "MIT" ]
null
null
null
OnePy/feeds/feedbase.py
sibuzu/OnePy
464fca1c68a10f90ad128da3bfb03f05d2fc24bc
[ "MIT" ]
null
null
null
OnePy/feeds/feedbase.py
sibuzu/OnePy
464fca1c68a10f90ad128da3bfb03f05d2fc24bc
[ "MIT" ]
null
null
null
from abc import abstractmethod, ABCMeta import csv from datetime import datetime import funcy as fy from OnePy.barbase import Current_bar, Bar from OnePy.event import events, MarketEvent class FeedMetabase(metaclass=ABCMeta): dtformat = "%Y-%m-%d %H:%M:%S" tmformat = "%H:%M:%S" timeindex = None de...
26.902542
83
0.575839
715
6,349
4.882517
0.194406
0.036093
0.006875
0.005729
0.213119
0.143512
0.143512
0.095388
0.065311
0.0613
0
0.000231
0.319105
6,349
235
84
27.017021
0.80731
0.054969
0
0.319277
0
0
0.042068
0
0
0
0
0
0
1
0.198795
false
0.03012
0.036145
0.054217
0.361446
0.006024
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
969ce91c3c9eb7731f2a4d716dfbab07efce7259
4,912
py
Python
conanfile.py
hsdk123/corrade
0d624d1f980f0376b2227356759f1d6e8761e6a3
[ "MIT", "Unlicense" ]
null
null
null
conanfile.py
hsdk123/corrade
0d624d1f980f0376b2227356759f1d6e8761e6a3
[ "MIT", "Unlicense" ]
null
null
null
conanfile.py
hsdk123/corrade
0d624d1f980f0376b2227356759f1d6e8761e6a3
[ "MIT", "Unlicense" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from conans import ConanFile, CMake, tools from conans.errors import ConanException import os import shutil def sort_libs(correct_order, libs, lib_suffix='', reverse_result=False): # Add suffix for correct string matching correct_order[:] = [s.__add__(lib_suffix)...
36.932331
125
0.631311
573
4,912
5.279232
0.39267
0.023802
0.027769
0.02281
0.102149
0.067107
0.044628
0
0
0
0
0.009247
0.251425
4,912
132
126
37.212121
0.813435
0.169381
0
0.021277
0
0
0.193604
0.016236
0
0
0
0
0
1
0.095745
false
0
0.042553
0
0.340426
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
969d12ed4be6b78b744d2cdccc1f9a2142ee0a79
416
py
Python
tests/test_null.py
StephenNneji/python-fastjsonschema
e7441c2efa40f5ac099a7788b8dafe6942146cf0
[ "BSD-3-Clause" ]
null
null
null
tests/test_null.py
StephenNneji/python-fastjsonschema
e7441c2efa40f5ac099a7788b8dafe6942146cf0
[ "BSD-3-Clause" ]
null
null
null
tests/test_null.py
StephenNneji/python-fastjsonschema
e7441c2efa40f5ac099a7788b8dafe6942146cf0
[ "BSD-3-Clause" ]
null
null
null
import pytest from fastjsonschema import JsonSchemaException exc = JsonSchemaException('data must be null', value='{data}', name='data', definition='{definition}', rule='type') @pytest.mark.parametrize('value, expected', [ (0, exc), (None, None), (True, exc), ('abc', exc), ([], exc), ({}, exc...
24.470588
115
0.632212
46
416
5.695652
0.543478
0.148855
0
0
0
0
0
0
0
0
0
0.002899
0.170673
416
16
116
26
0.756522
0
0
0
0
0
0.165865
0
0
0
0
0
0.153846
1
0.076923
false
0
0.153846
0
0.230769
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
969d8f8281712317dc2a93dac04a3282f946abb9
394
py
Python
checkrightrotate.py
parasshaha/Python-
6c0bdae04cf74aa2742585ebcedb2274075fa644
[ "Unlicense" ]
null
null
null
checkrightrotate.py
parasshaha/Python-
6c0bdae04cf74aa2742585ebcedb2274075fa644
[ "Unlicense" ]
null
null
null
checkrightrotate.py
parasshaha/Python-
6c0bdae04cf74aa2742585ebcedb2274075fa644
[ "Unlicense" ]
null
null
null
def checkrot(str1,str2): if len(str1)==len(str2): str3=str1+str1 ad=str3.__contains__(str2) if ad==True: print("it is right rotate") else: print("It is not right rotate ") else: print("It is invalid string.Out of range") def main(): str1=input(" Enter the first String : ") str2=input("Enter the s...
19.7
45
0.664975
61
394
4.098361
0.47541
0.072
0.108
0.144
0.192
0.192
0
0
0
0
0
0.040373
0.182741
394
19
46
20.736842
0.736025
0
0
0.125
0
0
0.338422
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
969e155793ce7396e91744cc2b8d9f9238771262
6,781
py
Python
bot.py
Fido2603/WatchDog
4607b374fdd29d2c82ea9a2a4a8de10f2ed3a94f
[ "MIT" ]
null
null
null
bot.py
Fido2603/WatchDog
4607b374fdd29d2c82ea9a2a4a8de10f2ed3a94f
[ "MIT" ]
null
null
null
bot.py
Fido2603/WatchDog
4607b374fdd29d2c82ea9a2a4a8de10f2ed3a94f
[ "MIT" ]
3
2018-11-12T14:02:57.000Z
2020-04-13T21:48:02.000Z
import discord from discord.ext import commands from discord import Embed, Permissions from Util import logger import os import database # Import the config try: import config except ImportError: print("Couldn't import config.py! Exiting!") exit() # Import a monkey patch, if that exists try: import mo...
38.748571
120
0.627636
811
6,781
5.191122
0.289766
0.033254
0.026603
0.044893
0.156295
0.095487
0.085036
0.059382
0.059382
0.059382
0
0.000397
0.256894
6,781
174
121
38.971264
0.834888
0.074178
0
0.21374
0
0.007634
0.199361
0.009425
0
0
0
0
0
1
0
false
0
0.083969
0
0.145038
0.030534
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
969ea9cfc35b7e706cf517d502bb8ce349a6ac08
2,004
py
Python
gsheetsdb/url.py
JagritiG/gsheet-db-api-plus
620247bb7ce36b327fc91feab8b48fc70e8c158f
[ "MIT" ]
null
null
null
gsheetsdb/url.py
JagritiG/gsheet-db-api-plus
620247bb7ce36b327fc91feab8b48fc70e8c158f
[ "MIT" ]
null
null
null
gsheetsdb/url.py
JagritiG/gsheet-db-api-plus
620247bb7ce36b327fc91feab8b48fc70e8c158f
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from collections import OrderedDict from moz_sql_parser import parse as parse_sql import pyparsing import re from six.moves.urllib import parse FROM_REGEX = re.compile...
21.782609
63
0.597804
258
2,004
4.507752
0.348837
0.034394
0.05503
0.029235
0.049871
0.049871
0
0
0
0
0
0.004788
0.270459
2,004
91
64
22.021978
0.790698
0.068862
0
0.071429
0
0
0.069022
0
0
0
0
0
0
1
0.053571
false
0
0.160714
0
0.303571
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
969f792ffed604b2cbdb6448c4f912247a60d7f2
5,676
py
Python
weechat/.weechat/python/autoload/weechat_bot2human.py
CoelacanthusHex/dotfiles
e9cc372ba1c5d90e29fdcb1a81c8eb06b6f83bc5
[ "Unlicense" ]
10
2021-01-22T08:40:51.000Z
2022-01-01T12:14:37.000Z
weechat/.weechat/python/autoload/weechat_bot2human.py
CoelacanthusHex/dotfiles
e9cc372ba1c5d90e29fdcb1a81c8eb06b6f83bc5
[ "Unlicense" ]
1
2020-04-18T16:47:51.000Z
2020-05-20T20:46:30.000Z
weechat/.weechat/python/autoload/weechat_bot2human.py
ayalhw/dotfiles
c43d0d8543e62a7196c3eddadf66df045bdbbdeb
[ "Unlicense" ]
1
2021-10-02T12:02:01.000Z
2021-10-02T12:02:01.000Z
# -*- coding:utf-8 -*- # Bot2Human # # Replaces messages from bots to humans # typically used in channels that are connected with other IMs using bots # # For example, if a bot send messages from XMPP is like `[nick] content`, # weechat would show `bot | [nick] content` which looks bad; this script # make weecaht displ...
33.988024
102
0.604651
784
5,676
4.196429
0.289541
0.040122
0.023708
0.024316
0.13921
0.09696
0.049544
0.025228
0.025228
0.019453
0
0.016375
0.236082
5,676
166
103
34.192771
0.742389
0.310782
0
0.098901
0
0
0.246636
0.062629
0
0
0
0.006024
0
1
0.076923
false
0
0.021978
0.010989
0.175824
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
96a3d255da97bc30ed9f93ea22fbcadc0ebc221e
1,013
py
Python
RFEM/SpecialObjects/intersection.py
Dlubal-Software/RFEM_Python_Client
9e29c598dadf380d49677c463931f0be659ccc40
[ "MIT" ]
16
2021-10-13T21:00:11.000Z
2022-03-21T11:12:09.000Z
RFEM/SpecialObjects/intersection.py
Dlubal-Software/RFEM_Python_Client
9e29c598dadf380d49677c463931f0be659ccc40
[ "MIT" ]
49
2021-10-19T13:18:51.000Z
2022-03-30T08:20:17.000Z
RFEM/SpecialObjects/intersection.py
Dlubal-Software/RFEM_Python_Client
9e29c598dadf380d49677c463931f0be659ccc40
[ "MIT" ]
7
2021-10-13T06:06:24.000Z
2022-03-29T17:48:39.000Z
from RFEM.initModel import Model, clearAtributes class Instersection(): def __init__(self, no: int = 1, surface_1: int = 1, surface_2: int = 2, comment: str = '', params: dict = None, model = Model): # Cl...
28.942857
75
0.582428
96
1,013
6.03125
0.520833
0.013817
0.037997
0
0
0
0
0
0
0
0
0.012158
0.350444
1,013
34
76
29.794118
0.867781
0.195459
0
0
0
0
0.019827
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
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
96a494380c4f8173563744e5544c96b9515e8e78
6,760
py
Python
tests/test_storage.py
HumanCellAtlas/data-store
6b27d0f7e0110c62b3079151708689ab5145f15b
[ "MIT" ]
46
2017-03-24T15:56:09.000Z
2021-03-15T19:49:07.000Z
tests/test_storage.py
HumanCellAtlas/DCC
6b27d0f7e0110c62b3079151708689ab5145f15b
[ "MIT" ]
1,799
2017-04-04T17:54:28.000Z
2020-11-19T12:30:13.000Z
tests/test_storage.py
HumanCellAtlas/DCC
6b27d0f7e0110c62b3079151708689ab5145f15b
[ "MIT" ]
13
2017-03-27T23:49:35.000Z
2021-01-18T07:39:49.000Z
#!/usr/bin/env python # coding: utf-8 import os import sys import string import unittest from uuid import uuid4 from unittest import mock from random import random, randint from datetime import datetime, timedelta pkg_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) # noqa sys.path.insert(0, pkg...
45.066667
117
0.660059
773
6,760
5.525226
0.230272
0.051744
0.023882
0.036525
0.316788
0.281667
0.272536
0.231328
0.206041
0.185905
0
0.009381
0.243047
6,760
149
118
45.369128
0.825288
0.037278
0
0.180328
0
0.008197
0.102138
0.053223
0
0
0
0.006711
0.122951
1
0.065574
false
0.016393
0.122951
0
0.254098
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
96a6810cf017f549b181521c6cc7573fff263c40
11,035
py
Python
headless/ches_prod_test_titles_headless.py
sherrli/Testing-Automation
d5a59ed10613b782cd4a8dc29d084c78ee883300
[ "MIT" ]
1
2019-04-05T15:51:30.000Z
2019-04-05T15:51:30.000Z
headless/ches_prod_test_titles_headless.py
shli17/Testing-Automation
d5a59ed10613b782cd4a8dc29d084c78ee883300
[ "MIT" ]
null
null
null
headless/ches_prod_test_titles_headless.py
shli17/Testing-Automation
d5a59ed10613b782cd4a8dc29d084c78ee883300
[ "MIT" ]
null
null
null
#!/usr/local/bin/python # coding=utf-8 # Headless firefox title test for jenkins build. intro=""" ---------------------------------------------------------------- File : ches_prod_test_titles_headless.py Description : Headless firefox title test for ches prod sites. Author : Sherri Li --------------------...
41.175373
181
0.553512
1,185
11,035
5.027004
0.221097
0.032231
0.044318
0.056404
0.544905
0.485647
0.466174
0.448212
0.439483
0.410945
0
0.013515
0.302673
11,035
267
182
41.329588
0.760624
0.48618
0
0.11215
0
0
0.123527
0.030597
0
0
0
0
0.018692
1
0.037383
false
0.028037
0.130841
0
0.271028
0.074766
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96a69bc47e9c073ff2335f4ac224effa211b40aa
4,579
py
Python
pyteiser/matchmaker.py
goodarzilab/pyteiser
3ac78604c768957022cc7751ccdd337960a816f2
[ "MIT" ]
6
2020-12-01T08:10:07.000Z
2022-01-17T02:09:13.000Z
pyteiser/matchmaker.py
goodarzilab/pyteiser
3ac78604c768957022cc7751ccdd337960a816f2
[ "MIT" ]
4
2021-05-19T06:24:30.000Z
2022-01-27T20:18:44.000Z
pyteiser/matchmaker.py
goodarzilab/pyteiser
3ac78604c768957022cc7751ccdd337960a816f2
[ "MIT" ]
5
2020-07-04T02:05:30.000Z
2021-06-26T10:24:16.000Z
import numba import time from . import glob_var from . import structures # for some reason, caching of this function fails the run on Columbia HPC and it doesn't really affect the speed # since it only needs to compile once but it's getting called so many times @numba.jit(cache=False, nopython=True, nogil=True) def...
42.794393
143
0.70736
708
4,579
4.367232
0.272599
0.029107
0.01132
0.024256
0.460867
0.404269
0.388745
0.37969
0.363519
0.363519
0
0.00451
0.225158
4,579
106
144
43.198113
0.866967
0.410352
0
0.263158
0
0
0.020942
0
0
0
0
0
0
1
0.087719
false
0
0.070175
0
0.298246
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96a6c1aaacc3e456bbd64b90f5f744423a7befea
4,574
py
Python
clean.py
stephtdouglas/k2spin
9a73e35e99b925015a91e37b5fd785440adf78f9
[ "MIT" ]
null
null
null
clean.py
stephtdouglas/k2spin
9a73e35e99b925015a91e37b5fd785440adf78f9
[ "MIT" ]
null
null
null
clean.py
stephtdouglas/k2spin
9a73e35e99b925015a91e37b5fd785440adf78f9
[ "MIT" ]
null
null
null
"""Basic cleanup on lightcurves (trimming, sigma-clipping).""" import logging import numpy as np import matplotlib.pyplot as plt import k2spin.utils as utils from k2spin import detrend def trim(time, flux, unc_flux): """Remove infs, NaNs, and negative flux values. Inputs ------ time, flux, unc_flux...
29.895425
79
0.630302
696
4,574
3.932471
0.222701
0.043478
0.044209
0.049324
0.25612
0.242236
0.184509
0.15053
0.10084
0.10084
0
0.013458
0.252733
4,574
152
80
30.092105
0.787303
0.336904
0
0.061538
0
0
0.024339
0
0
0
0
0
0
1
0.061538
false
0
0.076923
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96a81b3b0875d5b95d7dd34bd4be73ffcfb6fd0c
758
py
Python
pylinsql/timing.py
hunyadi/pylinsql
bba0017322edbda25a5a2c87f5b46407eea9a00a
[ "MIT" ]
null
null
null
pylinsql/timing.py
hunyadi/pylinsql
bba0017322edbda25a5a2c87f5b46407eea9a00a
[ "MIT" ]
null
null
null
pylinsql/timing.py
hunyadi/pylinsql
bba0017322edbda25a5a2c87f5b46407eea9a00a
[ "MIT" ]
null
null
null
import asyncio import functools import time def _log_func_timing(f, args, kw, sec: float): print("func: %r args: [%r, %r] took: %2.4f sec" % (f.__name__, args, kw, sec)) def timing(f): "Decorator to log" if asyncio.iscoroutinefunction(f): @functools.wraps(f) async def wrap(*args, **kw)...
22.294118
82
0.51847
99
758
3.838384
0.323232
0.126316
0.092105
0.094737
0.484211
0.484211
0.431579
0.431579
0.278947
0.278947
0
0.004032
0.345646
758
33
83
22.969697
0.762097
0.021108
0
0.416667
0
0
0.072559
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96a84245805dc4fa3773a993afd163825be5f67d
27,511
py
Python
dicomToProjection/convertDicoms.py
tarolangner/mri_biometry
8c52f48c2c9ff823a300c5298ea3992b53440816
[ "MIT" ]
null
null
null
dicomToProjection/convertDicoms.py
tarolangner/mri_biometry
8c52f48c2c9ff823a300c5298ea3992b53440816
[ "MIT" ]
null
null
null
dicomToProjection/convertDicoms.py
tarolangner/mri_biometry
8c52f48c2c9ff823a300c5298ea3992b53440816
[ "MIT" ]
null
null
null
import os import sys import io import time import zipfile import pydicom import numpy as np import scipy.interpolate import numba_interpolate from skimage import filters import nrrd import cv2 c_out_pixel_spacing = np.array((2.23214293, 2.23214293, 3.)) c_resample_tolerance = 0.01 # Only interpolate voxels furth...
32.947305
211
0.637963
3,955
27,511
4.23641
0.132491
0.027156
0.00752
0.007938
0.28111
0.215637
0.175112
0.124023
0.094837
0.077529
0
0.015314
0.252335
27,511
834
212
32.986811
0.799261
0.180546
0
0.105263
0
0
0.040439
0
0
0
0
0
0
1
0.059497
false
0
0.02746
0
0.141876
0.025172
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96aa0527808e7632054573910aceede43a35b2b3
6,422
py
Python
monitoring/perf-monitor-test.py
abhisheksawarkar/gcp-ml-ops
462780e6caad370781e191f530f1fd4a4a57431c
[ "Apache-2.0" ]
30
2021-04-14T16:52:19.000Z
2022-03-17T20:39:42.000Z
monitoring/perf-monitor-test.py
shashank3959/gcp-ml-ops
afa7885e0230c580296724d6dcc5e619a115f24c
[ "Apache-2.0" ]
null
null
null
monitoring/perf-monitor-test.py
shashank3959/gcp-ml-ops
afa7885e0230c580296724d6dcc5e619a115f24c
[ "Apache-2.0" ]
4
2021-04-14T16:52:28.000Z
2022-01-13T19:05:26.000Z
# Copyright (c) 2021 NVIDIA Corporation. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
34.902174
145
0.575833
744
6,422
4.826613
0.354839
0.02005
0.037872
0.018379
0.090504
0.05291
0.037316
0
0
0
0
0.01086
0.311741
6,422
184
146
34.902174
0.801584
0.128776
0
0.138211
0
0.00813
0.153515
0.016679
0
0
0
0
0
1
0.00813
false
0
0.146341
0
0.154472
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
96aa3bc5e94ffc210e626376f0da8dd2ffc01f94
3,996
py
Python
daemon/core/gui/dialogs/throughput.py
montag451/core
3be162b0b0f54b35520b980023abdfad4ff5e489
[ "BSD-2-Clause" ]
null
null
null
daemon/core/gui/dialogs/throughput.py
montag451/core
3be162b0b0f54b35520b980023abdfad4ff5e489
[ "BSD-2-Clause" ]
null
null
null
daemon/core/gui/dialogs/throughput.py
montag451/core
3be162b0b0f54b35520b980023abdfad4ff5e489
[ "BSD-2-Clause" ]
null
null
null
""" throughput dialog """ import tkinter as tk from tkinter import ttk from typing import TYPE_CHECKING from core.gui.dialogs.colorpicker import ColorPickerDialog from core.gui.dialogs.dialog import Dialog from core.gui.themes import FRAME_PAD, PADX, PADY if TYPE_CHECKING: from core.gui.app import Application c...
36
88
0.62037
493
3,996
4.94929
0.206897
0.052459
0.039344
0.022951
0.368443
0.235656
0.198361
0.169672
0.169672
0.153689
0
0.012475
0.257758
3,996
110
89
36.327273
0.810182
0.004254
0
0.126316
0
0
0.061697
0
0
0
0
0
0
1
0.042105
false
0
0.073684
0
0.126316
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
96aa991d741b497c4ac277aabd1b587505844ad6
5,488
py
Python
backend/api/tests/unit_tests/test_cards.py
hieutt99/aidudu
00dff59e8dff109904b340cd7ae763d6201773e8
[ "MIT" ]
3
2021-10-31T19:32:20.000Z
2022-01-02T15:31:11.000Z
backend/api/tests/unit_tests/test_cards.py
hieutt99/aidudu
00dff59e8dff109904b340cd7ae763d6201773e8
[ "MIT" ]
49
2021-10-31T16:08:35.000Z
2022-01-04T16:29:06.000Z
backend/api/tests/unit_tests/test_cards.py
hieutt99/aidudu
00dff59e8dff109904b340cd7ae763d6201773e8
[ "MIT" ]
2
2021-12-19T17:03:22.000Z
2022-01-03T08:27:01.000Z
from django.test.client import BOUNDARY from api.tests.unit_tests.utils import * class CardTest(APITestCase): # url = reverse('card-detail') def setUp(self): hook_init_APITestCase(self) self.test_workspace = Workspace.objects.create( name='test_workspace', # default va...
35.179487
111
0.598397
684
5,488
4.644737
0.119883
0.108278
0.056657
0.040919
0.642115
0.554926
0.494177
0.445074
0.425559
0.368587
0
0.013804
0.287172
5,488
156
112
35.179487
0.798313
0.05922
0
0.292683
0
0
0.085792
0.020575
0
0
0
0
0.121951
1
0.081301
false
0
0.01626
0
0.105691
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
96adbd6c68f6247e87e6ccdd7457197d2e799780
4,278
py
Python
routes/process_tag.py
PowerSaucisse/QuarKEY-api-server
ba327d3a49e8ea35efbb989550cb8a1429098b15
[ "MIT" ]
5
2021-07-26T14:46:35.000Z
2021-07-26T22:50:56.000Z
routes/process_tag.py
PowerSaucisse/quarkey-api-server
ba327d3a49e8ea35efbb989550cb8a1429098b15
[ "MIT" ]
null
null
null
routes/process_tag.py
PowerSaucisse/quarkey-api-server
ba327d3a49e8ea35efbb989550cb8a1429098b15
[ "MIT" ]
null
null
null
from utils.security.auth import AccountAuthToken import falcon, uuid, datetime from routes.middleware import AuthorizeResource from utils.base import api_validate_form, api_message from utils.config import AppState class ProcessTag: def __init__(self) -> None: self._token_controller = AccountAuthToken('...
39.981308
140
0.556568
513
4,278
4.51462
0.235867
0.023748
0.07772
0.060449
0.571244
0.505613
0.471934
0.397668
0.384283
0.341969
0
0.012983
0.315802
4,278
107
141
39.981308
0.778271
0
0
0.397727
0
0.022727
0.200514
0
0
0
0
0
0
1
0.045455
false
0.011364
0.056818
0
0.159091
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
96af356d59393d735c1df16fcdd2f437e70407ca
2,338
py
Python
HackerEarth/Python/BasicProgramming/InputOutput/BasicsOfInputOutput/SeatingArrangement.py
cychitivav/programming_exercises
e8e7ddb4ec4eea52ee0d3826a144c7dc97195e78
[ "MIT" ]
null
null
null
HackerEarth/Python/BasicProgramming/InputOutput/BasicsOfInputOutput/SeatingArrangement.py
cychitivav/programming_exercises
e8e7ddb4ec4eea52ee0d3826a144c7dc97195e78
[ "MIT" ]
null
null
null
HackerEarth/Python/BasicProgramming/InputOutput/BasicsOfInputOutput/SeatingArrangement.py
cychitivav/programming_exercises
e8e7ddb4ec4eea52ee0d3826a144c7dc97195e78
[ "MIT" ]
null
null
null
#!/Usr/bin/env python """ Akash and Vishal are quite fond of travelling. They mostly travel by railways. They were travelling in a train one day and they got interested in the seating arrangement of their compartment. The compartment looked something like So they got interested to know the seat number facing them ...
32.027397
230
0.582977
334
2,338
4.056886
0.344311
0.086347
0.132841
0.15941
0.408856
0.408856
0.408856
0.391144
0.391144
0.283395
0
0.043585
0.303251
2,338
72
231
32.472222
0.785758
0.368263
0
0.266667
0
0
0.062992
0.015748
0
0
0
0
0
1
0
false
0
0
0
0
0.266667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96af9cf77f54780c67f68a366b9f2da0eae70db7
3,149
py
Python
analysis/marc_verification_sharp.py
maxschalz/studious_potato
a368aa88036c1f0ffcd494e994b0975be2575210
[ "BSD-3-Clause" ]
null
null
null
analysis/marc_verification_sharp.py
maxschalz/studious_potato
a368aa88036c1f0ffcd494e994b0975be2575210
[ "BSD-3-Clause" ]
null
null
null
analysis/marc_verification_sharp.py
maxschalz/studious_potato
a368aa88036c1f0ffcd494e994b0975be2575210
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import matplotlib matplotlib.use('pgf') import matplotlib.pyplot as plt import numpy as np from multi_isotope_calculator import Multi_isotope import plotsettings as ps plt.style.use('seaborn-darkgrid') plt.rcParams.update(ps.tex_fonts()) def main(): plot() #figure5() def figure1(): ...
30.278846
73
0.580502
449
3,149
3.988864
0.318486
0.011725
0.008934
0.020101
0.227806
0.140704
0.109436
0.109436
0.018984
0
0
0.067192
0.23436
3,149
103
74
30.572816
0.675653
0.045094
0
0
0
0
0.090484
0.025042
0
0
0
0
0
1
0.055556
false
0
0.069444
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96b22687eb09935202fe84c81b4d3c7659c65ad8
1,753
py
Python
zipselected/__init__.py
raguay/ZipSelected
8663623498db6e87beded2aaecac65cd0979788d
[ "MIT" ]
6
2017-01-26T09:09:51.000Z
2021-12-14T11:38:54.000Z
zipselected/__init__.py
raguay/ZipSelected
8663623498db6e87beded2aaecac65cd0979788d
[ "MIT" ]
2
2017-03-17T11:24:26.000Z
2018-02-22T13:47:41.000Z
zipselected/__init__.py
raguay/ZipSelected
8663623498db6e87beded2aaecac65cd0979788d
[ "MIT" ]
2
2017-10-16T06:19:27.000Z
2020-05-15T13:42:26.000Z
from fman import DirectoryPaneCommand, show_alert import os import zipfile from fman.url import as_human_readable from fman.url import as_url def zipdir(rootZip, path, ziph): numf = 0 # ziph is zipfile handle for root, dirs, files in os.walk(path): for file in files: ziph.w...
39.840909
100
0.58243
220
1,753
4.513636
0.281818
0.084592
0.070493
0.054381
0.281974
0.223565
0.209466
0.147029
0.076536
0
0
0.00742
0.308043
1,753
43
101
40.767442
0.811212
0.01255
0
0.157895
0
0
0.033215
0
0
0
0
0
0
1
0.052632
false
0
0.131579
0
0.236842
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
96b3255531b199084f95bb09b62e2c476d0885f5
626
py
Python
functions/aurora_check_status.py
aws-samples/aws-stepfunctions-aurora-clone
ca60dbb1e98bb337662ac6140a2749fa03363d48
[ "MIT-0" ]
7
2022-02-22T16:23:00.000Z
2022-03-18T18:44:06.000Z
functions/aurora_check_status.py
aws-samples/aws-stepfunctions-aurora-clone
ca60dbb1e98bb337662ac6140a2749fa03363d48
[ "MIT-0" ]
null
null
null
functions/aurora_check_status.py
aws-samples/aws-stepfunctions-aurora-clone
ca60dbb1e98bb337662ac6140a2749fa03363d48
[ "MIT-0" ]
null
null
null
import boto3 client = boto3.client('rds') def lambda_handler(event, context): target_db_cluster_identifier=event['TargetDBClusterIdentifier'] payload = event.copy() try: response = client.describe_db_clusters(DBClusterIdentifier=target_db_cluster_identifier) payload...
25.04
96
0.629393
61
626
6.311475
0.639344
0.057143
0.077922
0.12987
0
0
0
0
0
0
0
0.006565
0.269968
626
24
97
26.083333
0.835886
0
0
0.142857
0
0
0.166134
0.039936
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.285714
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96b4507fab2d696dd5272cc8fb8efb5a6fdf9e81
6,545
py
Python
smellCatalog/InputProcessor.py
neilernst/smells
c093ee72a12f62693d8635359b7ca4958ecba0e0
[ "MIT" ]
null
null
null
smellCatalog/InputProcessor.py
neilernst/smells
c093ee72a12f62693d8635359b7ca4958ecba0e0
[ "MIT" ]
null
null
null
smellCatalog/InputProcessor.py
neilernst/smells
c093ee72a12f62693d8635359b7ca4958ecba0e0
[ "MIT" ]
1
2019-07-15T14:16:37.000Z
2019-07-15T14:16:37.000Z
import re from Smell import Smell from SmellCategory import SmellCategory from Reference import Reference SMELL = "\[smell\]" SMELL_ID = "\[smell-id\]" SMELL_NAME = "\[smell-name\]" SMELL_END = "\[smell-end\]" SMELL_DES = "\[smell-description\]" SMELL_AKA = "\[smell-aka\]" SMELL_CATEGORY = "\[smell-category\]" SMELL_S...
42.5
93
0.559664
798
6,545
4.323308
0.090226
0.052174
0.092754
0.088696
0.325797
0.308406
0.171014
0.061739
0.061739
0.061739
0
0.003159
0.322842
6,545
153
94
42.777778
0.775271
0.005042
0
0.131387
0
0
0.057305
0.02535
0
0
0
0
0
1
0.058394
false
0
0.029197
0
0.145985
0.007299
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96b51c0b082319955c9c8c901bb9467463e9b730
859
py
Python
mini_event.py
shubhamjain/earphone-event
0513a06904ea98c3962015d6edaf5f63943a03b7
[ "MIT" ]
6
2018-08-16T21:38:40.000Z
2020-11-19T05:53:09.000Z
mini_event.py
shubhamjain/earphone-event
0513a06904ea98c3962015d6edaf5f63943a03b7
[ "MIT" ]
1
2020-10-21T17:55:07.000Z
2020-10-21T17:55:07.000Z
mini_event.py
shubhamjain/earphone-event
0513a06904ea98c3962015d6edaf5f63943a03b7
[ "MIT" ]
1
2021-09-08T15:05:52.000Z
2021-09-08T15:05:52.000Z
import threading class mini_event: BUTTON_DOWN = 1 BUTTON_UP = 2 BUTTON_HOLD = 3 subscribers = { BUTTON_DOWN: [], BUTTON_UP : [], BUTTON_HOLD: [] } trigger_hold_stop = False # This value should be turned to True if the hold event callback needs to be stopped. def add_subscriber( self, callba...
28.633333
115
0.604191
103
859
4.854369
0.398058
0.09
0.09
0.102
0.088
0
0
0
0
0
0
0.005017
0.303842
859
29
116
29.62069
0.831104
0.096624
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.05
0
0.45
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
96b58e236e198367799150eb2cf1c9825aebfff3
13,225
py
Python
tin/utils.py
balazsdukai/tin2stardb
efb160ba744f757c4a6d4674c7abec8bf0694415
[ "MIT" ]
null
null
null
tin/utils.py
balazsdukai/tin2stardb
efb160ba744f757c4a6d4674c7abec8bf0694415
[ "MIT" ]
null
null
null
tin/utils.py
balazsdukai/tin2stardb
efb160ba744f757c4a6d4674c7abec8bf0694415
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Various utility functions for handling geometry etc.""" import math from statistics import mean from typing import Tuple, Union, Iterable, Generator, Mapping import logging MODULE_MATPLOTLIB_AVAILABLE = True try: import matplotlib.pyplot as plt import matplotlib.lines as lines exce...
38.444767
127
0.607108
1,810
13,225
4.335912
0.188398
0.007645
0.006881
0.004077
0.294215
0.230759
0.209735
0.206422
0.080275
0.063583
0
0.102354
0.261248
13,225
343
128
38.556851
0.700921
0.326957
0
0.147208
0
0
0.039701
0.003386
0
0
0.025222
0
0
1
0.121827
false
0.005076
0.035533
0
0.274112
0.010152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
96b5abda600a3ff8286fd10ad76e69e6c1844b69
7,748
py
Python
tfworker/cli.py
objectrocket/terraform-worker
5a3c81a465d31bf7c9186fa59be2bfa8f4578449
[ "Apache-2.0" ]
6
2020-02-10T21:53:18.000Z
2021-07-21T18:10:02.000Z
tfworker/cli.py
RSS-Engineering/terraform-worker
98b04eacd828448985bc9ded3a46497f06d7c6ae
[ "Apache-2.0" ]
4
2020-09-20T13:04:26.000Z
2021-03-23T21:20:57.000Z
tfworker/cli.py
RSS-Engineering/terraform-worker
98b04eacd828448985bc9ded3a46497f06d7c6ae
[ "Apache-2.0" ]
3
2020-06-12T18:38:33.000Z
2020-09-15T21:01:53.000Z
#!/usr/bin/env python # Copyright 2020 Richard Maynard (richard.maynard@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
28.277372
126
0.672303
1,015
7,748
5.061084
0.293596
0.059957
0.019077
0.015573
0.130621
0.107066
0.086432
0.071637
0.071637
0.071637
0
0.00709
0.199019
7,748
273
127
28.380952
0.820657
0.121838
0
0.276786
0
0.004464
0.408054
0.044566
0
0
0
0
0
1
0.03125
false
0.013393
0.035714
0
0.080357
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
96b74e78276fe832497e5e00ed9a762980bd1fbc
3,777
py
Python
shs/input/dialogs/ac_init.py
ansobolev/shs
7a5f61bd66fe1e8ae047a4d3400b055175a53f4e
[ "MIT" ]
1
2016-06-22T13:30:25.000Z
2016-06-22T13:30:25.000Z
shs/input/dialogs/ac_init.py
ansobolev/shs
7a5f61bd66fe1e8ae047a4d3400b055175a53f4e
[ "MIT" ]
1
2017-12-01T04:49:45.000Z
2017-12-01T04:49:45.000Z
shs/input/dialogs/ac_init.py
ansobolev/shs
7a5f61bd66fe1e8ae047a4d3400b055175a53f4e
[ "MIT" ]
null
null
null
import wx from wx.lib.agw.floatspin import FloatSpin from shs.input.fdf_options import ChoiceLine, MeasuredLine, NumberLine, ThreeNumberLine try: from geom import Geom except ImportError: from shs.geom import Geom class Bravais(ChoiceLine): label = 'Composition' choices = ['BCC', 'FCC', 'SC'] o...
32.282051
112
0.605507
507
3,777
4.392505
0.232742
0.014818
0.056578
0.030534
0.332286
0.251908
0.22811
0.173776
0.137405
0.137405
0
0.020151
0.264231
3,777
117
113
32.282051
0.781216
0
0
0.244681
0
0
0.039704
0.008735
0
0
0
0
0
1
0.053191
false
0
0.06383
0
0.361702
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
96b888fef4eb174221ced8eecdc0b4280bce51d8
3,932
py
Python
handledata.py
bioPunkKitchen/climate.local
ccd29da3d84542d5f9c73a5d75bc3ceefeef1f08
[ "MIT" ]
1
2019-05-28T18:33:49.000Z
2019-05-28T18:33:49.000Z
handledata.py
bioPunkKitchen/climate.local
ccd29da3d84542d5f9c73a5d75bc3ceefeef1f08
[ "MIT" ]
1
2019-12-30T14:52:02.000Z
2020-01-04T11:41:08.000Z
handledata.py
bioPunkKitchen/climate.local
ccd29da3d84542d5f9c73a5d75bc3ceefeef1f08
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import datetime import time import os import matplotlib.pyplot as plt import matplotlib.dates as md import numpy as np class handle_data: data_file = "./data/data.log" data_list = [] def __init__(self): pass def insert_data(self, timestamp, temp, state_onoff, state_light, state_cool...
30.015267
252
0.625127
589
3,932
4.03056
0.280136
0.026959
0.053075
0.060657
0.277169
0.244313
0.224937
0.224937
0.224937
0.224937
0
0.022365
0.169888
3,932
130
253
30.246154
0.704657
0.107325
0
0.234568
0
0
0.199539
0.044781
0
0
0
0
0
1
0.061728
false
0.012346
0.074074
0
0.222222
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
96bb265549d6f2b01a8d5a363f1cef448dfbda43
581
py
Python
xinyu/python/node/graphicNode/turtle/base_graphics.py
xzhuah/codingDimension
9b90b93a3a3b8afee28e3a2a571050ca3f86f066
[ "Apache-2.0" ]
1
2020-11-06T20:39:11.000Z
2020-11-06T20:39:11.000Z
xinyu/python/node/graphicNode/turtle/base_graphics.py
xzhuah/codingDimension
9b90b93a3a3b8afee28e3a2a571050ca3f86f066
[ "Apache-2.0" ]
1
2021-08-28T02:29:51.000Z
2021-08-28T02:29:51.000Z
xinyu/python/node/graphicNode/turtle/base_graphics.py
xzhuah/codingDimension
9b90b93a3a3b8afee28e3a2a571050ca3f86f066
[ "Apache-2.0" ]
null
null
null
# Created by Xinyu Zhu on 2021/6/6, 21:08 from turtle import Turtle import turtle def draw_rectangle(turtle: Turtle, llx, lly, width, height): turtle.up() turtle.goto(llx, lly) turtle.begin_fill() turtle.down() turtle.goto(llx + width, lly) turtle.goto(llx + width, lly + height) turtle.go...
22.346154
60
0.636833
85
581
4.211765
0.458824
0.111732
0.145251
0.089385
0.117318
0
0
0
0
0
0
0.06
0.225473
581
25
61
23.24
0.735556
0.067126
0
0
0
0
0.035185
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.157895
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
96bc131385537becfa54518e6876cbcdcb1526f8
2,439
py
Python
deform_conv/cnn.py
lone17/deform-conv
3502cedbeae61c961d7e988382c55b9d45fd1873
[ "MIT" ]
null
null
null
deform_conv/cnn.py
lone17/deform-conv
3502cedbeae61c961d7e988382c55b9d45fd1873
[ "MIT" ]
null
null
null
deform_conv/cnn.py
lone17/deform-conv
3502cedbeae61c961d7e988382c55b9d45fd1873
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division from keras.layers import * from deform_conv.layers import ConvOffset2D def get_cnn(): inputs = l = Input((None, None, 1), name='input') # conv11 l = Conv2D(32, (3, 3), padding='same', name='conv11')(l) l = Activation('relu', name='conv11_relu')(l) ...
32.959459
84
0.622796
321
2,439
4.610592
0.161994
0.02027
0.124324
0.113514
0.685811
0.526351
0.526351
0.464865
0.377027
0.285135
0
0.070401
0.202132
2,439
73
85
33.410959
0.690134
0.02583
0
0.477273
0
0
0.133672
0
0
0
0
0
0
1
0.045455
false
0
0.068182
0
0.159091
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