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
913761b87b7ebbbec82bddc1bdba8144eb580e3d
436
py
Python
PythonBasics/ExamPreparation/FamilyTrip.py
achoraev/SoftUni
0cc7db470a096cc33bbe0ca6bd90060b79120573
[ "Apache-2.0" ]
null
null
null
PythonBasics/ExamPreparation/FamilyTrip.py
achoraev/SoftUni
0cc7db470a096cc33bbe0ca6bd90060b79120573
[ "Apache-2.0" ]
null
null
null
PythonBasics/ExamPreparation/FamilyTrip.py
achoraev/SoftUni
0cc7db470a096cc33bbe0ca6bd90060b79120573
[ "Apache-2.0" ]
null
null
null
budget = float(input()) nights = int(input()) price_night = float(input()) percent_extra = int(input()) if nights > 7: price_night = price_night - (price_night * 0.05) sum = nights * price_night total_sum = sum + (budget * percent_extra / 100) if total_sum <= budget: print(f"Ivanovi will be left ...
29.066667
88
0.655963
63
436
4.365079
0.460317
0.181818
0.109091
0.145455
0
0
0
0
0
0
0
0.025714
0.197248
436
15
89
29.066667
0.76
0
0
0
0
0
0.264775
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
91381ad1149218813852e6f68213b5362dda4a67
2,573
py
Python
tex_live_package_manager/progress.py
csch0/SublimeText-TeX-Live-Package-Manager
ab21bd49a945f611250613e9cb862a7703dc534f
[ "Unlicense", "MIT" ]
2
2018-11-03T16:15:59.000Z
2018-11-23T16:14:57.000Z
tex_live_package_manager/progress.py
csch0/SublimeText-TeX-Live-Package-Manager
ab21bd49a945f611250613e9cb862a7703dc534f
[ "Unlicense", "MIT" ]
1
2016-12-08T05:39:58.000Z
2016-12-08T05:39:58.000Z
tex_live_package_manager/progress.py
csch0/SublimeText-TeX-Live-Package-Manager
ab21bd49a945f611250613e9cb862a7703dc534f
[ "Unlicense", "MIT" ]
null
null
null
import sublime, sublime_plugin import threading class ProcessQueueManager(): __shared = {} items = [] thread = None # Current item details messages = None function = None callback = None # Progress Bar preferences i = 0 size = 8 add = 1 def __new__(cls, *args, **kwargs): inst = object.__new__(cls) ...
23.605505
86
0.68869
351
2,573
4.940171
0.25641
0.05767
0.037486
0.039216
0.202422
0.153979
0.153979
0.11015
0.040369
0
0
0.011154
0.198601
2,573
109
87
23.605505
0.829777
0.169841
0
0.140625
0
0
0.028289
0
0
0
0
0
0
1
0.109375
false
0
0.03125
0
0.328125
0.015625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
91382da4e9ec5e3e22d31caf7faabb09a28c2093
10,199
py
Python
moscow_routes_parser/t_mos_ru.py
rscprof/moscow_routes_parser
692627dd43d62f70e3e12a761897571c79a022a0
[ "MIT" ]
null
null
null
moscow_routes_parser/t_mos_ru.py
rscprof/moscow_routes_parser
692627dd43d62f70e3e12a761897571c79a022a0
[ "MIT" ]
null
null
null
moscow_routes_parser/t_mos_ru.py
rscprof/moscow_routes_parser
692627dd43d62f70e3e12a761897571c79a022a0
[ "MIT" ]
null
null
null
import html import json import logging import re from abc import abstractmethod from datetime import datetime, time from typing import Optional import requests from moscow_routes_parser.model import Route, Timetable, Equipment, Timetable_builder from moscow_routes_parser.model_impl import Timetable_builder_t_mos_ru ...
42.144628
295
0.531817
1,121
10,199
4.632471
0.199822
0.02022
0.018486
0.009243
0.289621
0.219141
0.176776
0.14404
0.122858
0.067013
0
0.022978
0.359937
10,199
241
296
42.319502
0.772518
0.166095
0
0.285714
0
0.005714
0.093085
0.038685
0
0
0
0
0
1
0.045714
false
0.022857
0.057143
0
0.148571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
913b82f09ffffabfd9cdacbe8830d13b360f655c
6,762
py
Python
web/api/get_summary_data.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
2
2015-04-11T12:22:41.000Z
2016-08-18T11:12:06.000Z
web/api/get_summary_data.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
84
2015-01-22T14:33:49.000Z
2015-04-01T23:15:29.000Z
web/api/get_summary_data.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
1
2015-04-16T03:10:39.000Z
2015-04-16T03:10:39.000Z
from web.api import BaseAPI from utils import mongo import json class DataApi(BaseAPI): def __init__(self): BaseAPI.__init__(self) self._db = mongo.MongoInterface() self.query = {} self.fields = { "donation_count": "$influences.electoral_commission.donation_count", ...
40.981818
102
0.584147
668
6,762
5.525449
0.136228
0.043349
0.052831
0.065023
0.661338
0.625034
0.597941
0.458683
0.458683
0.445137
0
0.000431
0.313665
6,762
164
103
41.231707
0.794872
0.034161
0
0.342857
0
0
0.247394
0.124157
0
0
0
0
0
1
0.064286
false
0
0.021429
0.014286
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
913c3c69be248515aa6faa8629c29e1819e26c9e
21,616
py
Python
neutron/common/ovn/utils.py
guillermomolina/neutron
bd2933a2588d1e0b18790dd719ca1d89aa4a0c8d
[ "Apache-2.0" ]
3
2021-02-17T09:49:14.000Z
2022-01-19T08:40:34.000Z
neutron/common/ovn/utils.py
guillermomolina/neutron
bd2933a2588d1e0b18790dd719ca1d89aa4a0c8d
[ "Apache-2.0" ]
null
null
null
neutron/common/ovn/utils.py
guillermomolina/neutron
bd2933a2588d1e0b18790dd719ca1d89aa4a0c8d
[ "Apache-2.0" ]
null
null
null
# 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...
35.320261
79
0.672141
3,022
21,616
4.570483
0.166446
0.01267
0.007095
0.006082
0.252534
0.17854
0.147191
0.092963
0.065957
0.059079
0
0.005789
0.24084
21,616
611
80
35.378069
0.835893
0.263462
0
0.125731
0
0
0.068229
0.00475
0
0
0
0
0
1
0.149123
false
0.002924
0.078947
0.070175
0.400585
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
913c83f4f9cee2569debbb5a5301094fbb4ed18e
1,823
py
Python
ens/exceptions.py
pjryan93/web3.py
e066452a7b0e78d6cb8a9462532d169de901ef99
[ "MIT" ]
326
2016-04-29T21:51:06.000Z
2022-03-31T03:20:54.000Z
ens/exceptions.py
pjryan93/web3.py
e066452a7b0e78d6cb8a9462532d169de901ef99
[ "MIT" ]
283
2016-04-15T16:41:31.000Z
2017-11-28T16:41:36.000Z
ens/exceptions.py
pjryan93/web3.py
e066452a7b0e78d6cb8a9462532d169de901ef99
[ "MIT" ]
146
2016-04-14T16:27:54.000Z
2021-10-03T13:31:07.000Z
import idna class AddressMismatch(ValueError): ''' In order to set up reverse resolution correctly, the ENS name should first point to the address. This exception is raised if the name does not currently point to the address. ''' pass class InvalidName(idna.IDNAError): ''' This excep...
22.7875
81
0.673066
259
1,823
4.72973
0.490347
0.058776
0.044898
0.068571
0.146939
0.042449
0
0
0
0
0
0.004412
0.253977
1,823
79
82
23.075949
0.896324
0.646736
0
0.473684
0
0
0
0
0
0
0
0
0
1
0
true
0.473684
0.052632
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
913ca9c4582e3db5d9a5c8dc80fedece649fbdb9
1,082
py
Python
Submods/MAS Additions/MASM/scripts/midi_input.py
CaptainHorse/MAS-Additions
5714aaf8cfa3c57432f6231795cbe1d75df46f74
[ "MIT" ]
13
2019-09-24T00:09:17.000Z
2022-02-26T20:24:18.000Z
Submods/MAS Additions/MASM/scripts/midi_input.py
CaptainHorse/MAS-Additions
5714aaf8cfa3c57432f6231795cbe1d75df46f74
[ "MIT" ]
30
2019-06-28T03:16:33.000Z
2022-01-19T11:49:59.000Z
Submods/MAS Additions/MASM/scripts/midi_input.py
CaptainHorse/MAS-Additions
5714aaf8cfa3c57432f6231795cbe1d75df46f74
[ "MIT" ]
4
2019-10-04T01:59:17.000Z
2022-02-26T20:24:20.000Z
import mido from socketer import MASM inPort = None doReadInput = False def Start(): global inPort try: print(f"MIDI inputs: {mido.get_input_names()}") inPort = mido.open_input() print(f"MIDI input open: {inPort}") except Exception as e: inPort = None print(f"Could not open MIDI input: {e}") def Update(...
29.243243
99
0.677449
162
1,082
4.45679
0.395062
0.027701
0.078947
0.080332
0.252078
0.160665
0.160665
0.094183
0.094183
0.094183
0
0.021814
0.195009
1,082
37
100
29.243243
0.807118
0.07024
0
0.294118
0
0
0.18607
0.023881
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.117647
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
913cf201ceaa3cdf5791ad85165d65f001d7078a
1,896
py
Python
dash_carbon_components/Column.py
Matheus-Rangel/dash-carbon-components
e3f4aa4a8d649e2740db32677040f2548ef5da48
[ "Apache-2.0" ]
4
2021-04-25T22:55:25.000Z
2021-12-10T04:52:30.000Z
dash_carbon_components/Column.py
Matheus-Rangel/dash-carbon-components
e3f4aa4a8d649e2740db32677040f2548ef5da48
[ "Apache-2.0" ]
null
null
null
dash_carbon_components/Column.py
Matheus-Rangel/dash-carbon-components
e3f4aa4a8d649e2740db32677040f2548ef5da48
[ "Apache-2.0" ]
null
null
null
# AUTO GENERATED FILE - DO NOT EDIT from dash.development.base_component import Component, _explicitize_args class Column(Component): """A Column component. Row Column Keyword arguments: - children (list of a list of or a singular dash component, string or numbers | a list of or a singular dash component, strin...
49.894737
196
0.681962
239
1,896
5.267782
0.39749
0.023828
0.01112
0.014297
0.193805
0.193805
0.193805
0.114376
0.061954
0.061954
0
0.002686
0.214662
1,896
37
197
51.243243
0.842848
0.396097
0
0
1
0
0.159051
0.019332
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
913e527c83f21ed4118adbad50f5935916d3a9fa
2,221
py
Python
src/backend/schemas/vps.py
ddddhm1/LuWu
f9feaf10a6aca0dd31f250741a1c542ee5256633
[ "Apache-2.0" ]
658
2019-04-29T02:46:02.000Z
2022-03-30T03:58:42.000Z
src/backend/schemas/vps.py
ddddhm1/LuWu
f9feaf10a6aca0dd31f250741a1c542ee5256633
[ "Apache-2.0" ]
9
2020-06-04T13:38:58.000Z
2022-02-27T21:23:29.000Z
src/backend/schemas/vps.py
ddddhm1/LuWu
f9feaf10a6aca0dd31f250741a1c542ee5256633
[ "Apache-2.0" ]
130
2019-05-02T23:42:58.000Z
2022-03-24T04:35:37.000Z
from typing import List from typing import Optional from typing import Union from models.vps import VpsStatus from schemas.base import APIModel from schemas.base import BasePagination from schemas.base import BaseSchema from schemas.base import BaseSuccessfulResponseModel class VpsSshKeySchema(APIModel): name: s...
22.663265
59
0.714093
257
2,221
6.066148
0.2607
0.03592
0.042335
0.053881
0.127646
0.107761
0.07569
0
0
0
0
0
0.197659
2,221
97
60
22.896907
0.87486
0
0
0.152778
0
0
0
0
0
0
0
0
0
1
0
true
0
0.111111
0
1
0.013889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
913effe79b3a41e71c6774354a20673cc5bf2cf7
672
py
Python
main.py
hari-sh/sigplot
cd2359d7c868e35ed1d976d7eb8ac35d2dcc7e81
[ "MIT" ]
null
null
null
main.py
hari-sh/sigplot
cd2359d7c868e35ed1d976d7eb8ac35d2dcc7e81
[ "MIT" ]
null
null
null
main.py
hari-sh/sigplot
cd2359d7c868e35ed1d976d7eb8ac35d2dcc7e81
[ "MIT" ]
null
null
null
import sigplot as sp import matplotlib import matplotlib.pyplot as plt import numpy as np matplotlib.rcParams['toolbar'] = 'None' plt.style.use('dark_background') fig = plt.figure() # seed = np.linspace(3, 7, 1000) # a = (np.sin(2 * np.pi * seed)) # b = (np.cos(2 * np.pi * seed)) # sp.correlate(fig, b...
25.846154
118
0.623512
114
672
3.657895
0.45614
0.083933
0.119904
0.043165
0.220624
0.167866
0
0
0
0
0
0.09058
0.178571
672
25
119
26.88
0.664855
0.40625
0
0
0
0
0.070845
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
913f16898807024d65f74b71e35760e3bc3c6dbb
149,429
py
Python
test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py
msyyc/autorest.python
91aa86f51d5c43c10ead5d51ac102618d23e3a21
[ "MIT" ]
null
null
null
test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py
msyyc/autorest.python
91aa86f51d5c43c10ead5d51ac102618d23e3a21
[ "MIT" ]
null
null
null
test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py
msyyc/autorest.python
91aa86f51d5c43c10ead5d51ac102618d23e3a21
[ "MIT" ]
1
2022-03-28T08:58:03.000Z
2022-03-28T08:58:03.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
41.233168
245
0.675491
17,114
149,429
5.667407
0.019808
0.027219
0.031302
0.039467
0.971132
0.963956
0.952532
0.942201
0.933479
0.913684
0
0.020869
0.206332
149,429
3,623
246
41.244549
0.796959
0.20237
0
0.777554
0
0.007046
0.111029
0.043456
0
0
0
0
0
1
0.067942
false
0
0.005536
0
0.141419
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
913f9ce1958e1ba194c9448681b6fa2b1b835522
1,668
py
Python
baseplate_py_upgrader/docker.py
reddit/baseplate.py-upgrader
2e4b019de7c22e2d2467eba488867fe81d7d5fc1
[ "BSD-3-Clause" ]
6
2020-07-09T02:25:23.000Z
2021-09-24T17:28:41.000Z
baseplate_py_upgrader/docker.py
Seanpm2001-reddit/baseplate.py-upgrader
a554418c638022b461cf5cae17e894280cf76a25
[ "BSD-3-Clause" ]
9
2019-08-13T20:29:04.000Z
2022-03-04T19:11:47.000Z
baseplate_py_upgrader/docker.py
Seanpm2001-reddit/baseplate.py-upgrader
a554418c638022b461cf5cae17e894280cf76a25
[ "BSD-3-Clause" ]
4
2020-12-11T21:59:37.000Z
2022-03-04T00:10:43.000Z
import logging import re from pathlib import Path from typing import Match logger = logging.getLogger(__name__) IMAGE_RE = re.compile( r"/baseplate-py:(?P<version>[0-9.]+(\.[0-9]+)?)-py(?P<python>[23]\.[0-9]+)-(?P<distro>(bionic|buster))(?P<repo>-artifactory)?(?P<dev>-dev)?" ) def upgrade_docker_image_refere...
30.327273
144
0.658873
227
1,668
4.612335
0.343612
0.073543
0.100287
0.106972
0.164279
0.131805
0.131805
0.131805
0
0
0
0.007502
0.200839
1,668
54
145
30.888889
0.777944
0
0
0
0
0.051282
0.193645
0.116906
0
0
0
0
0
1
0.076923
false
0
0.102564
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
913fb3fc99b72d4e97ce88b0037ce6490e6db9c1
1,249
py
Python
model/swtz_ty.py
ArcherLuo233/election-s-prediction
9da72cb855f6d61f9cdec6e15f7ca832629ba51a
[ "MIT" ]
null
null
null
model/swtz_ty.py
ArcherLuo233/election-s-prediction
9da72cb855f6d61f9cdec6e15f7ca832629ba51a
[ "MIT" ]
1
2022-01-26T01:23:26.000Z
2022-01-26T01:23:34.000Z
model/swtz_ty.py
ArcherLuo233/election-s-prediction
9da72cb855f6d61f9cdec6e15f7ca832629ba51a
[ "MIT" ]
1
2021-11-08T10:58:23.000Z
2021-11-08T10:58:23.000Z
from sqlalchemy import Column, ForeignKey, Integer, String, Text from model.base import Base class SWTZ_TY(Base): __tablename__ = 'swtz_ty' class_name = '商务团组-团员' foreign_key = 'swtz_id' export_docx = False export_handle_file = ['identity'] field = [ 'id', 'nickname', 'job', 'id_card...
26.020833
73
0.566853
140
1,249
4.892857
0.492857
0.065693
0.116788
0.128467
0
0
0
0
0
0
0
0.017917
0.285028
1,249
47
74
26.574468
0.74916
0
0
0
0
0
0.106571
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
913fde7505a4c384507f28eb2cee97a556b8c075
3,515
py
Python
amy/dashboard/tests/test_autoupdate_profile.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
53
2015-01-10T17:39:19.000Z
2019-06-12T17:36:34.000Z
amy/dashboard/tests/test_autoupdate_profile.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
1,176
2015-01-02T06:32:47.000Z
2019-06-18T11:57:47.000Z
amy/dashboard/tests/test_autoupdate_profile.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
44
2015-01-03T15:08:56.000Z
2019-06-09T05:33:08.000Z
from django.urls import reverse from consents.models import Consent, Term from workshops.models import KnowledgeDomain, Person, Qualification from workshops.tests.base import TestBase class TestAutoUpdateProfile(TestBase): def setUp(self): self._setUpAirports() self._setUpLessons() self._...
34.80198
83
0.586629
377
3,515
5.331565
0.310345
0.063682
0.027861
0.029851
0.228856
0.112438
0.082587
0.049751
0
0
0
0.003992
0.28734
3,515
100
84
35.15
0.798403
0.011664
0
0.046512
0
0
0.098243
0
0
0
0
0
0.116279
1
0.034884
false
0.023256
0.046512
0
0.093023
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9140f295d54089cb5cee0de94bb54febfe097979
4,823
py
Python
bot/recognizer_bot/yolo/common/utils.py
kprokofi/animal-recognition-with-voice
e9e5235315255eb6e17df3dba616b2ed4c902c92
[ "MIT" ]
1
2021-03-18T05:51:10.000Z
2021-03-18T05:51:10.000Z
bot/recognizer_bot/yolo/common/utils.py
kprokofi/animal-recognition-with-voice
e9e5235315255eb6e17df3dba616b2ed4c902c92
[ "MIT" ]
3
2021-04-11T20:52:44.000Z
2021-06-13T13:46:08.000Z
bot/recognizer_bot/yolo/common/utils.py
kprokofi/animal-recognition-with-voice
e9e5235315255eb6e17df3dba616b2ed4c902c92
[ "MIT" ]
null
null
null
import numpy as np import time import cv2 import colorsys import tensorflow as tf from tensorflow.keras import backend as K from tensorflow.keras.layers import Activation, ReLU, Multiply # Custom objects from backbones package https://github.com/david8862/keras-YOLOv3-model-set/tree/master/common/backbones def mish(...
28.708333
120
0.618495
659
4,823
4.414264
0.330804
0.030938
0.016501
0.016501
0.01375
0
0
0
0
0
0
0.041526
0.261041
4,823
167
121
28.88024
0.774691
0.207755
0
0.060606
0
0
0.014781
0
0
0
0
0
0
1
0.131313
false
0.010101
0.070707
0.030303
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9142c85805b0c1a34b37861799a56fa0542af061
2,706
py
Python
ros/src/tl_detector/light_classification/tl_classifier.py
PhilippHafe/CarND-Capstone
9f933c817b11e7a093c3f2b07fad10710f7eb551
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
PhilippHafe/CarND-Capstone
9f933c817b11e7a093c3f2b07fad10710f7eb551
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
PhilippHafe/CarND-Capstone
9f933c817b11e7a093c3f2b07fad10710f7eb551
[ "MIT" ]
null
null
null
from styx_msgs.msg import TrafficLight import tensorflow as tf import numpy as np import datetime class TLClassifier(object): def __init__(self): PATH_TO_CKPT = "light_classification/frozen_inference_graph.pb" self.graph = tf.Graph() self.threshold = 0.5 with self.graph.as_default(...
39.217391
109
0.631929
328
2,706
5.015244
0.32622
0.04924
0.036474
0.054711
0.176292
0.089362
0.060182
0
0
0
0
0.007526
0.263489
2,706
68
110
39.794118
0.817863
0.023282
0
0.042553
0
0
0.104889
0.019223
0
0
0
0.014706
0
0
null
null
0
0.106383
null
null
0.06383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
9143774e616443b37cd584d3970647098c72f10f
16,563
py
Python
testGMDS.py
ctralie/SiRPyGL
e06c317ed60321d492725e39fd8fcc0ce56ff4c0
[ "Apache-2.0" ]
7
2017-10-06T05:33:28.000Z
2021-04-20T20:06:53.000Z
testGMDS.py
ctralie/SiRPyGL
e06c317ed60321d492725e39fd8fcc0ce56ff4c0
[ "Apache-2.0" ]
null
null
null
testGMDS.py
ctralie/SiRPyGL
e06c317ed60321d492725e39fd8fcc0ce56ff4c0
[ "Apache-2.0" ]
4
2015-03-20T13:14:36.000Z
2019-04-19T10:34:51.000Z
#Based off of http://wiki.wxpython.org/GLCanvas #Lots of help from http://wiki.wxpython.org/Getting%20Started from OpenGL.GL import * import wx from wx import glcanvas from Primitives3D import * from PolyMesh import * from LaplacianMesh import * from Geodesics import * from PointCloud import * from Cameras3D import * ...
34.010267
152
0.71871
2,321
16,563
5.065489
0.202068
0.044909
0.01548
0.014374
0.344646
0.303819
0.242409
0.216382
0.163562
0.143574
0
0.022834
0.153897
16,563
486
153
34.080247
0.816112
0.070036
0
0.24812
0
0
0.062004
0
0
0
0
0
0
0
null
null
0.002506
0.050125
null
null
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
1
0
0
0
0
0
0
0
0
1
91439c7735cd8dec720dbcbb904a5ff89db7c69f
17,382
py
Python
PySS/fem.py
manpan-1/PySS
1e4b13de3b2aed13ecf9818f9084a2fedb295cf1
[ "MIT" ]
2
2018-12-03T13:53:00.000Z
2019-10-20T14:30:57.000Z
PySS/fem.py
manpan-1/PySS
1e4b13de3b2aed13ecf9818f9084a2fedb295cf1
[ "MIT" ]
null
null
null
PySS/fem.py
manpan-1/PySS
1e4b13de3b2aed13ecf9818f9084a2fedb295cf1
[ "MIT" ]
1
2018-03-23T19:58:21.000Z
2018-03-23T19:58:21.000Z
import matplotlib.pyplot as plt import numpy as np import pickle # import csv # from collections import namedtuple # from mpl_toolkits.mplot3d import Axes3D # import matplotlib.animation as animation # import matplotlib.colors as mc class FEModel: def __init__(self, name=None, hist_data=None): self.name =...
47.884298
130
0.56921
2,713
17,382
3.468485
0.095466
0.071413
0.10712
0.130074
0.738363
0.718916
0.713815
0.705951
0.702976
0.696918
0
0.059203
0.233287
17,382
362
131
48.016575
0.646882
0.441721
0
0.09375
0
0
0.286353
0.007021
0
0
0
0
0
1
0.039063
false
0
0.023438
0
0.085938
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
9143b8c633adb2c76477406a889fd2a426c5cda8
278
py
Python
gigamonkeys/get.py
gigamonkey/sheets
a89e76360ad9a35e44e5e352346eeccbe6952b1f
[ "BSD-3-Clause" ]
null
null
null
gigamonkeys/get.py
gigamonkey/sheets
a89e76360ad9a35e44e5e352346eeccbe6952b1f
[ "BSD-3-Clause" ]
1
2021-04-03T23:07:35.000Z
2021-04-03T23:07:35.000Z
gigamonkeys/get.py
gigamonkey/sheets
a89e76360ad9a35e44e5e352346eeccbe6952b1f
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import json import sys from gigamonkeys.spreadsheets import spreadsheets spreadsheet_id = sys.argv[1] ranges = sys.argv[2:] data = spreadsheets().get(spreadsheet_id, include_grid_data=bool(ranges), ranges=ranges) json.dump(data, sys.stdout, indent=2)
19.857143
88
0.773381
41
278
5.146341
0.585366
0.123223
0
0
0
0
0
0
0
0
0
0.012048
0.104317
278
13
89
21.384615
0.835341
0.071942
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9143ca3c30c3da5376a215dd32db4d9aec05c6ba
282
py
Python
config.py
mhmddpkts/Get-Turkish-Words-with-Web-Scraping
6e344640f6dc512f03a9b59522876ce7b6339a86
[ "MIT" ]
null
null
null
config.py
mhmddpkts/Get-Turkish-Words-with-Web-Scraping
6e344640f6dc512f03a9b59522876ce7b6339a86
[ "MIT" ]
null
null
null
config.py
mhmddpkts/Get-Turkish-Words-with-Web-Scraping
6e344640f6dc512f03a9b59522876ce7b6339a86
[ "MIT" ]
null
null
null
root_URL = "https://tr.wiktionary.org/wiki/Vikis%C3%B6zl%C3%BCk:S%C3%B6zc%C3%BCk_listesi_" filepath = "words.csv" #letters=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O", # "P","R","S","T","U","V","Y","Z"] ##İ,Ç,Ö,Ş,Ü harfleri not work correctly letters=["C"]
35.25
90
0.539007
57
282
2.631579
0.859649
0.066667
0
0
0
0
0
0
0
0
0
0.023166
0.08156
282
8
91
35.25
0.552124
0.517731
0
0
0
0.333333
0.659091
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
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
91469ce6ec9fde95e8590b13e1386757a2494a57
1,374
py
Python
sow_generator/tasks.py
praekelt/sow-generator
eb5dab3b3231688966254a1797ced7eec67b6e8a
[ "BSD-3-Clause" ]
1
2016-04-14T08:34:48.000Z
2016-04-14T08:34:48.000Z
sow_generator/tasks.py
praekelt/sow-generator
eb5dab3b3231688966254a1797ced7eec67b6e8a
[ "BSD-3-Clause" ]
null
null
null
sow_generator/tasks.py
praekelt/sow-generator
eb5dab3b3231688966254a1797ced7eec67b6e8a
[ "BSD-3-Clause" ]
null
null
null
from github3 import login from github3.models import GitHubError from celery import task from celery.decorators import periodic_task from celery.task.schedules import crontab from sow_generator.models import Repository, AuthToken def _sync_repository(obj): dirty = False token = AuthToken.objects.get(id=1).to...
29.869565
72
0.621543
176
1,374
4.755682
0.403409
0.066906
0.060932
0.033453
0.188769
0.188769
0.188769
0.188769
0.188769
0.188769
0
0.004946
0.264192
1,374
45
73
30.533333
0.822948
0.051674
0
0.228571
0
0
0.035466
0
0
0
0
0
0
1
0.085714
false
0
0.171429
0
0.257143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9146c7949d8b05d057e0f629fb324a047f0358c0
6,145
py
Python
sources/wrappers.py
X-rayLaser/keras-auto-hwr
67cfc0209045b1e211f0491b0199cb9d6811bfd0
[ "MIT" ]
null
null
null
sources/wrappers.py
X-rayLaser/keras-auto-hwr
67cfc0209045b1e211f0491b0199cb9d6811bfd0
[ "MIT" ]
2
2020-01-04T09:03:31.000Z
2021-05-10T18:29:41.000Z
sources/wrappers.py
X-rayLaser/keras-auto-hwr
67cfc0209045b1e211f0491b0199cb9d6811bfd0
[ "MIT" ]
null
null
null
import numpy as np from sources import BaseSource from sources.base import BaseSourceWrapper from sources.preloaded import PreLoadedSource import json class WordsSource(BaseSource): def __init__(self, source): self._source = source def __len__(self): return len(self._source) def _remove_...
26.038136
87
0.588771
757
6,145
4.498018
0.198151
0.085169
0.032305
0.0558
0.314244
0.247577
0.208517
0.200587
0.174449
0.174449
0
0.008201
0.305452
6,145
235
88
26.148936
0.789597
0.014646
0
0.284848
0
0
0.00694
0
0
0
0
0
0
1
0.224242
false
0
0.030303
0.060606
0.406061
0.006061
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
91472db15a8c58afa56167fc11db5c1a1643924e
10,956
py
Python
multiworld/multiworld/core/image_env.py
yufeiwang63/ROLL
aba0b4530934946eb9c41fbe5a0d6c27775596ff
[ "MIT" ]
11
2020-11-04T03:15:27.000Z
2021-11-25T16:00:41.000Z
multiworld/multiworld/core/image_env.py
yufeiwang63/ROLL
aba0b4530934946eb9c41fbe5a0d6c27775596ff
[ "MIT" ]
null
null
null
multiworld/multiworld/core/image_env.py
yufeiwang63/ROLL
aba0b4530934946eb9c41fbe5a0d6c27775596ff
[ "MIT" ]
3
2020-11-19T14:16:56.000Z
2021-11-25T16:01:13.000Z
import random import cv2 import numpy as np import warnings from PIL import Image from gym.spaces import Box, Dict from multiworld.core.multitask_env import MultitaskEnv from multiworld.core.wrapper_env import ProxyEnv from multiworld.envs.env_util import concatenate_box_spaces from multiworld.envs.env_util import ge...
38.174216
104
0.621486
1,336
10,956
4.786677
0.170659
0.043784
0.052541
0.021267
0.247694
0.179672
0.078342
0.05301
0.05301
0.046286
0
0.006805
0.289157
10,956
286
105
38.307692
0.81433
0.08671
0
0.104348
0
0
0.092938
0.020177
0
0
0
0
0.013043
1
0.069565
false
0
0.043478
0.004348
0.178261
0.004348
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
91487dc34ce39dcba03a9475df5437871d95ebe4
2,546
py
Python
sample_full_post_processor.py
huynguyen82/Modified-Kaldi-GStream-OnlineServer
e7429a5e44b9567b603523c0046fb42d8503a275
[ "BSD-2-Clause" ]
null
null
null
sample_full_post_processor.py
huynguyen82/Modified-Kaldi-GStream-OnlineServer
e7429a5e44b9567b603523c0046fb42d8503a275
[ "BSD-2-Clause" ]
1
2021-03-25T23:17:23.000Z
2021-03-25T23:17:23.000Z
sample_full_post_processor.py
huynguyen82/Modified-Kaldi-GStream-OnlineServer
e7429a5e44b9567b603523c0046fb42d8503a275
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import sys import json import logging from math import exp import requests as rq import re ### For NLP post-processing header={"Content-Type": "application/json"} message='{"sample":"Hello bigdata"}' api_url="http://192.168.1.197:11992/norm" ### def NLP_process_output(pre_str): try: ...
34.405405
94
0.565593
297
2,546
4.693603
0.363636
0.055237
0.105452
0.043042
0.262554
0.262554
0.209469
0.176471
0.176471
0.176471
0
0.019016
0.297722
2,546
73
95
34.876712
0.760626
0.018853
0
0.265625
0
0
0.178313
0
0
0
0
0
0
0
null
null
0.015625
0.09375
null
null
0.046875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
914899652debcd6bf278b6bcd59488d3ca01a934
349
py
Python
lang_detect_gears.py
AlexMikhalev/cord19redisknowledgegraph
a143415aca8d4a6db820dc7a25280045f421a665
[ "Apache-2.0" ]
7
2020-05-18T09:25:17.000Z
2021-08-05T00:23:36.000Z
lang_detect_gears.py
maraqa1/CORD-19
a473f7b60b8dfa476ea46505678481e4b361d04e
[ "Apache-2.0" ]
10
2020-05-31T14:44:26.000Z
2022-03-25T19:17:37.000Z
lang_detect_gears.py
maraqa1/CORD-19
a473f7b60b8dfa476ea46505678481e4b361d04e
[ "Apache-2.0" ]
null
null
null
from langdetect import detect def detect_language(x): #detect language of the article try: lang=detect(x['value']) except: lang="empty" execute('SET', 'lang_article:' + x['key'], lang) if lang!='en': execute('SADD','titles_to_delete', x['key']) gb = GB() gb.foreach(detec...
23.266667
52
0.60745
47
349
4.404255
0.595745
0.202899
0
0
0
0
0
0
0
0
0
0
0.22063
349
15
53
23.266667
0.761029
0.08596
0
0
0
0
0.191223
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
91492cd2d90ac485784d8d45eca57302464591f8
21,084
py
Python
daemon/core/coreobj.py
shanv82/core
70abb8cc1426ffceb53a03e84edc26f56f9ed4c0
[ "BSD-2-Clause" ]
null
null
null
daemon/core/coreobj.py
shanv82/core
70abb8cc1426ffceb53a03e84edc26f56f9ed4c0
[ "BSD-2-Clause" ]
null
null
null
daemon/core/coreobj.py
shanv82/core
70abb8cc1426ffceb53a03e84edc26f56f9ed4c0
[ "BSD-2-Clause" ]
null
null
null
""" Defines the basic objects for CORE emulation: the PyCoreObj base class, along with PyCoreNode, PyCoreNet, and PyCoreNetIf. """ import os import shutil import socket import threading from socket import AF_INET from socket import AF_INET6 from core.data import NodeData, LinkData from core.enumerations import LinkTy...
27.852048
100
0.558338
2,345
21,084
4.952239
0.156077
0.019375
0.002325
0.006458
0.286231
0.247223
0.233015
0.198054
0.164213
0.15474
0
0.004872
0.357475
21,084
756
101
27.888889
0.852366
0.331057
0
0.262658
0
0
0.019024
0
0
0
0
0.003968
0
1
0.155063
false
0.006329
0.028481
0
0.281646
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
914969a6475944053d8a15e1118e2d12ecdc9855
349
py
Python
abc/128/b.py
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
3
2019-06-25T06:17:38.000Z
2019-07-13T15:18:51.000Z
abc/128/b.py
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
abc/128/b.py
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
# 入力 N = int(input()) S, P = ( zip(*( (s, int(p)) for s, p in (input().split() for _ in range(N)) )) if N else ((), ()) ) ans = '\n'.join( str(i) for _, _, i in sorted( zip( S, P, range(1, N + 1) ), key=lambda t: (t[0], -t[...
13.96
55
0.34384
49
349
2.387755
0.510204
0.051282
0
0
0
0
0
0
0
0
0
0.020833
0.449857
349
24
56
14.541667
0.588542
0.014327
0
0
0
0
0.005865
0
0
0
0
0
0
1
0
false
0
0
0
0
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
914b520c0a97da68019f1f6058aa11f3ec987d8a
1,915
py
Python
additional/hashcat_crack.py
mmmds/WirelessDiscoverCrackScan
2eda9bd7c474d91ea08511a7322f5ba14d034f3d
[ "MIT" ]
2
2020-02-09T15:35:05.000Z
2020-04-15T10:01:24.000Z
additional/hashcat_crack.py
mmmds/WirelessDiscoverCrackScan
2eda9bd7c474d91ea08511a7322f5ba14d034f3d
[ "MIT" ]
null
null
null
additional/hashcat_crack.py
mmmds/WirelessDiscoverCrackScan
2eda9bd7c474d91ea08511a7322f5ba14d034f3d
[ "MIT" ]
null
null
null
# External cracking script, part of https://github.com/mmmds/WirelessDiscoverCrackScan import datetime import subprocess import os ### CONFIGURATION HASHCAT_DIR = "C:\\hashcat-5.1.0" HASHCAT_EXE = "hashcat64.exe" LOG_FILE = "crack_log.txt" DICT_DIR = "./dicts" def load_dict_list(): for r,d,f in os.walk(DICT_DIR)...
27.357143
170
0.518538
254
1,915
3.807087
0.330709
0.010341
0.021717
0.031024
0.020683
0
0
0
0
0
0
0.026529
0.291384
1,915
69
171
27.753623
0.686072
0.051175
0
0.035714
0
0
0.09106
0
0
0
0
0
0
1
0.089286
false
0.017857
0.053571
0
0.196429
0.089286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
914c1ed0296d91a573e8d232f2ea7fec8dafd2e3
46,013
py
Python
editortools/player.py
bennettdc/MCEdit-Unified
90abfb170c65b877ac67193e717fa3a3ded635dd
[ "0BSD" ]
237
2018-02-04T19:13:31.000Z
2022-03-26T03:06:07.000Z
editortools/player.py
bennettdc/MCEdit-Unified
90abfb170c65b877ac67193e717fa3a3ded635dd
[ "0BSD" ]
551
2015-01-01T02:36:53.000Z
2018-02-01T00:03:12.000Z
editortools/player.py
bennettdc/MCEdit-Unified
90abfb170c65b877ac67193e717fa3a3ded635dd
[ "0BSD" ]
97
2015-01-02T01:31:12.000Z
2018-01-22T05:37:47.000Z
"""Copyright (c) 2010-2012 David Rio Vierra Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WA...
39.632214
219
0.578836
5,187
46,013
5.07326
0.125506
0.033441
0.015314
0.009576
0.455748
0.364279
0.312673
0.257458
0.235265
0.188448
0
0.018998
0.309043
46,013
1,160
220
39.666379
0.8087
0.0469
0
0.413636
0
0.002273
0.068162
0.004797
0
0
0
0
0
0
null
null
0.004545
0.023864
null
null
0.003409
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
914cca42f7c78c12fb45153e185381ce97dc5240
5,200
py
Python
seismic/checkpointing/checkpoint.py
slimgroup/Devito-Examples
449e1286a18ebc4172069372ba2bf3cd2ec99a2f
[ "MIT" ]
7
2020-08-19T18:23:08.000Z
2022-02-18T19:19:24.000Z
seismic/checkpointing/checkpoint.py
slimgroup/Devito-Examples
449e1286a18ebc4172069372ba2bf3cd2ec99a2f
[ "MIT" ]
null
null
null
seismic/checkpointing/checkpoint.py
slimgroup/Devito-Examples
449e1286a18ebc4172069372ba2bf3cd2ec99a2f
[ "MIT" ]
3
2020-12-01T22:17:09.000Z
2021-05-21T11:29:07.000Z
# The MIT License (MIT) # # Copyright (c) 2016, Imperial College, London # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in the # Software without restriction, including without limitation the rights t...
44.067797
129
0.68
722
5,200
4.804709
0.347645
0.025368
0.010378
0.011531
0.105794
0.081868
0.057077
0.043817
0.043817
0.043817
0
0.002288
0.243462
5,200
117
130
44.444444
0.879512
0.533269
0
0.117647
0
0
0.076023
0
0
0
0
0
0.039216
1
0.215686
false
0
0.058824
0.039216
0.45098
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
914cfd2421dd20bdadd6d7150cecf300e7699605
13,463
py
Python
lbrynet/file_manager/EncryptedFileManager.py
shyba/lbry
ab3278c50a8b7b5a8e9486a1c52be3d5e0c18297
[ "MIT" ]
1
2018-12-08T04:42:11.000Z
2018-12-08T04:42:11.000Z
lbrynet/file_manager/EncryptedFileManager.py
mrlucky9/lbry
bf6bc02828ed55e98a3002f487041acbd7841883
[ "MIT" ]
null
null
null
lbrynet/file_manager/EncryptedFileManager.py
mrlucky9/lbry
bf6bc02828ed55e98a3002f487041acbd7841883
[ "MIT" ]
null
null
null
""" Keep track of which LBRY Files are downloading and store their LBRY File specific metadata """ import logging import os from twisted.enterprise import adbapi from twisted.internet import defer, task, reactor from twisted.python.failure import Failure from lbrynet.reflector.reupload import reflect_stream from lbr...
40.18806
100
0.672733
1,695
13,463
5.021829
0.157522
0.078008
0.014803
0.015977
0.37453
0.239074
0.140625
0.104558
0.086466
0.080122
0
0.00199
0.253584
13,463
334
101
40.308383
0.845059
0.063507
0
0.18677
0
0
0.086035
0.003505
0
0
0
0.002994
0
1
0.14786
false
0.003891
0.054475
0.031128
0.291829
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
914dad243b4f6fd43e52b214d9db3b5771ad2444
623
py
Python
Perforce/AppUtils.py
TomMinor/MayaPerforce
52182c7e5c3e91e41973d0c2abbda8880e809e49
[ "MIT" ]
13
2017-03-31T21:52:19.000Z
2021-09-06T23:15:30.000Z
Perforce/AppUtils.py
TomMinor/MayaPerforce
52182c7e5c3e91e41973d0c2abbda8880e809e49
[ "MIT" ]
3
2017-05-08T02:27:43.000Z
2017-05-10T03:20:11.000Z
Perforce/AppUtils.py
TomMinor/MayaPerforce
52182c7e5c3e91e41973d0c2abbda8880e809e49
[ "MIT" ]
3
2017-05-05T14:03:03.000Z
2020-05-25T10:25:04.000Z
import os import sys import re import logging p4_logger = logging.getLogger("Perforce") # Import app specific utilities, maya opens scenes differently than nuke etc # Are we in maya or nuke? if re.match( "maya", os.path.basename( sys.executable ), re.I ): p4_logger.info("Configuring for Maya") from MayaU...
32.789474
90
0.738363
91
623
5.010989
0.593407
0.070175
0.061404
0.074561
0.245614
0.245614
0.245614
0.245614
0.245614
0.245614
0
0.007678
0.163724
623
18
91
34.611111
0.867562
0.157303
0
0
0
0
0.305556
0
0
0
0
0
0
1
0
false
0
0.5
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
1
0
0
0
0
1
914ea6fbc1fedc5c88691906b2f1c1f56a6d040c
5,907
py
Python
fhir/immunizations_demo/models/trainer/model.py
kourtneyshort/healthcare
1d1e2375304ac99f43a8b6aee7374fcdf641eb6f
[ "Apache-2.0" ]
null
null
null
fhir/immunizations_demo/models/trainer/model.py
kourtneyshort/healthcare
1d1e2375304ac99f43a8b6aee7374fcdf641eb6f
[ "Apache-2.0" ]
22
2019-12-16T22:18:37.000Z
2022-03-12T00:04:43.000Z
fhir/immunizations_demo/models/trainer/model.py
kourtneyshort/healthcare
1d1e2375304ac99f43a8b6aee7374fcdf641eb6f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
34.54386
78
0.744033
838
5,907
5.088305
0.332936
0.0197
0.033537
0.025797
0.154081
0.089353
0.06637
0.046435
0.046435
0.046435
0
0.011838
0.156255
5,907
170
79
34.747059
0.8437
0.344507
0
0.023256
0
0
0.154311
0.01367
0
0
0
0
0
1
0.104651
false
0
0.023256
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
914f974905119aa6df33b733c4b0cd0e4954c272
15,147
py
Python
heliosburn/django/hbproject/webui/models.py
thecodeteam/heliosburn
513f6335c9788948d82e5c9285d7869f3ff4cc10
[ "MIT" ]
null
null
null
heliosburn/django/hbproject/webui/models.py
thecodeteam/heliosburn
513f6335c9788948d82e5c9285d7869f3ff4cc10
[ "MIT" ]
null
null
null
heliosburn/django/hbproject/webui/models.py
thecodeteam/heliosburn
513f6335c9788948d82e5c9285d7869f3ff4cc10
[ "MIT" ]
1
2020-09-17T18:19:05.000Z
2020-09-17T18:19:05.000Z
import json import re from django.conf import settings import requests from webui.exceptions import BadRequestException, UnauthorizedException, ServerErrorException, RedirectException, \ UnexpectedException, LocationHeaderNotFoundException, NotFoundException def validate_response(response): if 200 <= response...
39.139535
115
0.642239
1,729
15,147
5.384615
0.058994
0.065736
0.047476
0.043287
0.834479
0.804082
0.800967
0.800967
0.793448
0.784211
0
0.002136
0.258335
15,147
387
116
39.139535
0.826598
0
0
0.731928
0
0
0.047927
0.00779
0
0
0
0
0
1
0.111446
false
0
0.01506
0.003012
0.283133
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
91504bbaea6d8835c5bee931052df81b48164c98
8,305
py
Python
src/ychaos/core/verification/controller.py
sushilkar/ychaos
6801390f0faf553789e3384440a72a0705310738
[ "Apache-2.0" ]
null
null
null
src/ychaos/core/verification/controller.py
sushilkar/ychaos
6801390f0faf553789e3384440a72a0705310738
[ "Apache-2.0" ]
null
null
null
src/ychaos/core/verification/controller.py
sushilkar/ychaos
6801390f0faf553789e3384440a72a0705310738
[ "Apache-2.0" ]
null
null
null
# Copyright 2021, Yahoo # Licensed under the terms of the Apache 2.0 license. See the LICENSE file in the project root for terms import time from typing import Dict, List, Optional, Type from pydantic import validate_arguments from ...app_logger import AppLogger from ...testplan import SystemState from ...testplan....
37.40991
125
0.656352
906
8,305
5.846578
0.249448
0.064565
0.013593
0.016991
0.253162
0.201246
0.162356
0.111761
0.094393
0.058146
0
0.002651
0.273329
8,305
221
126
37.579186
0.875062
0.389043
0
0.056604
0
0
0.069456
0.013389
0
0
0
0
0.009434
1
0.04717
false
0
0.150943
0.009434
0.235849
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9150df9e1d1933653f868e837eeb00ed20e37c8b
277
py
Python
tests/test_vimeodl.py
binary-signal/vimeo-channel-downloader
7c2ded9d07b2b698f4e52558ba7dc327c2827b6c
[ "BSD-3-Clause" ]
6
2019-06-05T17:06:17.000Z
2020-02-16T15:11:11.000Z
tests/test_vimeodl.py
binary-signal/vimeo-channel-downloader
7c2ded9d07b2b698f4e52558ba7dc327c2827b6c
[ "BSD-3-Clause" ]
1
2020-12-03T16:05:21.000Z
2020-12-03T16:05:21.000Z
tests/test_vimeodl.py
binary-signal/vimeo-channel-downloader
7c2ded9d07b2b698f4e52558ba7dc327c2827b6c
[ "BSD-3-Clause" ]
3
2018-07-06T10:04:08.000Z
2019-06-05T17:07:25.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from vimeodl import __version__ from vimeodl.vimeo import VimeoLinkExtractor, VimeoDownloader def test_version(): assert __version__ == '0.1.0' def test_vimeo_link_extractor(): vm = VimeoLinkExtractor() vm.extract()
21.307692
61
0.722022
34
277
5.529412
0.676471
0.117021
0
0
0
0
0
0
0
0
0
0.017094
0.155235
277
12
62
23.083333
0.786325
0.151625
0
0
0
0
0.021459
0
0
0
0
0
0.142857
1
0.285714
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
915138c1e205dea19655e55c824d89b847b800d5
6,160
py
Python
labgraph/graphs/node_test_harness.py
Yunusbcr/labgraph
a00ae7098b7b0e0eda8ce2e7e62dae86854616fb
[ "MIT" ]
124
2021-07-14T21:25:59.000Z
2022-03-08T20:40:16.000Z
labgraph/graphs/node_test_harness.py
Yunusbcr/labgraph
a00ae7098b7b0e0eda8ce2e7e62dae86854616fb
[ "MIT" ]
46
2021-07-16T18:41:11.000Z
2022-03-31T20:53:00.000Z
labgraph/graphs/node_test_harness.py
Yunusbcr/labgraph
a00ae7098b7b0e0eda8ce2e7e62dae86854616fb
[ "MIT" ]
22
2021-07-16T18:34:56.000Z
2022-03-31T15:12:06.000Z
#!/usr/bin/env python3 # Copyright 2004-present Facebook. All Rights Reserved. import asyncio import functools import inspect from contextlib import contextmanager from typing import ( Any, AsyncIterable, Awaitable, Callable, Generic, Iterator, List, Mapping, Optional, Sequence,...
30.49505
88
0.65276
827
6,160
4.70133
0.218863
0.040123
0.086934
0.013374
0.456276
0.401235
0.333076
0.291409
0.252058
0.210905
0
0.001308
0.255195
6,160
201
89
30.646766
0.84612
0.316396
0
0.296
0
0
0.044955
0.005245
0
0
0
0
0
1
0.072
false
0
0.096
0
0.216
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9151eafe84027e81a61010f1c158d9786b978a93
837
py
Python
pygamelearning/lrud.py
edward70/2021Computing
df8fb818480a6e23f2eac736744294871ec0e38c
[ "MIT" ]
null
null
null
pygamelearning/lrud.py
edward70/2021Computing
df8fb818480a6e23f2eac736744294871ec0e38c
[ "MIT" ]
null
null
null
pygamelearning/lrud.py
edward70/2021Computing
df8fb818480a6e23f2eac736744294871ec0e38c
[ "MIT" ]
null
null
null
import pygame import sys pygame.init() clock = pygame.time.Clock() screen = pygame.display.set_mode([500, 500]) gameOn = True x1 = 0 y1 = 100 x2 = 100 y2 = 0 while gameOn == True: screen.fill([255,255,255]) for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() ...
17.808511
52
0.520908
117
837
3.717949
0.367521
0.018391
0.022989
0.041379
0
0
0
0
0
0
0
0.127273
0.342891
837
46
53
18.195652
0.663636
0
0
0.108108
0
0
0
0
0
0
0
0
0
1
0
false
0
0.054054
0
0.054054
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
91522a760e718a02b548df8a5987a17cb9ed54b7
3,198
py
Python
pytorch/xor/training_a_perceptron.py
e93fem/PyTorchNLPBook
c9ea9e0b3d1b8bba6a983b425c6c03dd79d3d6b0
[ "Apache-2.0" ]
null
null
null
pytorch/xor/training_a_perceptron.py
e93fem/PyTorchNLPBook
c9ea9e0b3d1b8bba6a983b425c6c03dd79d3d6b0
[ "Apache-2.0" ]
null
null
null
pytorch/xor/training_a_perceptron.py
e93fem/PyTorchNLPBook
c9ea9e0b3d1b8bba6a983b425c6c03dd79d3d6b0
[ "Apache-2.0" ]
null
null
null
import numpy as np import torch import matplotlib.pyplot as plt from torch import optim, nn from pytorch.xor.multilayer_perceptron import MultilayerPerceptron from pytorch.xor.utils import LABELS, get_toy_data, visualize_results, plot_intermediate_representations input_size = 2 output_size = len(set(LABELS)) num_hidd...
30.169811
104
0.688555
451
3,198
4.629712
0.32816
0.038314
0.021073
0.022989
0.220785
0.202586
0.191571
0.157088
0.157088
0.104406
0
0.028899
0.210131
3,198
106
105
30.169811
0.797704
0.089118
0
0.055556
0
0
0.105372
0.054063
0
0
0
0
0
1
0.013889
false
0
0.083333
0
0.111111
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
91539993c3d566be3d6ad8bdfd6ab2f85574f003
8,157
py
Python
mysite/api/v0/tests.py
raccoongang/socraticqs2
06201005136ee139846f857dbb2f518736e441de
[ "Apache-2.0" ]
3
2015-11-20T07:33:28.000Z
2017-01-15T23:33:50.000Z
mysite/api/v0/tests.py
raccoongang/socraticqs2
06201005136ee139846f857dbb2f518736e441de
[ "Apache-2.0" ]
28
2015-07-14T11:33:24.000Z
2017-11-17T15:21:22.000Z
mysite/api/v0/tests.py
raccoongang/socraticqs2
06201005136ee139846f857dbb2f518736e441de
[ "Apache-2.0" ]
4
2015-04-29T09:04:59.000Z
2017-07-19T14:11:16.000Z
import json import mock from django.core.urlresolvers import reverse from pymongo.errors import ServerSelectionTimeoutError from analytics.models import CourseReport from core.common.mongo import c_onboarding_status, _conn from core.common import onboarding from ct.models import UnitLesson, StudentError from ctms.t...
32.369048
113
0.674635
991
8,157
5.350151
0.177598
0.045266
0.061109
0.055451
0.541305
0.501886
0.490192
0.482459
0.45794
0.423991
0
0.014697
0.207552
8,157
251
114
32.498008
0.805538
0.032365
0
0.371951
0
0
0.064138
0.023416
0
0
0
0
0.164634
1
0.134146
false
0.018293
0.054878
0
0.268293
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9153c783ea6530b33a82747aab7d0a7d6aae69be
8,934
py
Python
signbank/settings/base.py
anthonymark33/Global-signbank
ae61984a24f1cc0801d4621c81b882154ce99098
[ "BSD-3-Clause" ]
null
null
null
signbank/settings/base.py
anthonymark33/Global-signbank
ae61984a24f1cc0801d4621c81b882154ce99098
[ "BSD-3-Clause" ]
2
2021-06-10T23:11:53.000Z
2021-12-13T20:44:56.000Z
signbank/settings/base.py
anthonymark33/Global-signbank
ae61984a24f1cc0801d4621c81b882154ce99098
[ "BSD-3-Clause" ]
null
null
null
# Django settings for signbank project. import os from signbank.settings.server_specific import * from datetime import datetime DEBUG = True PROJECT_DIR = os.path.dirname(BASE_DIR) MANAGERS = ADMINS TIME_ZONE = 'Europe/Amsterdam' LOCALE_PATHS = [BASE_DIR+'conf/locale'] # in the database, SITE_ID 1 is example.com ...
31.020833
123
0.694426
1,015
8,934
5.95468
0.42266
0.036565
0.020847
0.030774
0.041363
0.007942
0
0
0
0
0
0.010481
0.199015
8,934
288
124
31.020833
0.834125
0.312066
0
0.011976
0
0.005988
0.443733
0.267784
0
0
0
0
0
1
0
false
0
0.023952
0
0.023952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e66c3efb17fe57a58924ade4ac24258abd570c92
50,042
py
Python
ocs_ci/ocs/cluster.py
crombus/ocs-ci
20340365882bdd06ddb6cd65bbd7df0ba7e2c2d8
[ "MIT" ]
null
null
null
ocs_ci/ocs/cluster.py
crombus/ocs-ci
20340365882bdd06ddb6cd65bbd7df0ba7e2c2d8
[ "MIT" ]
null
null
null
ocs_ci/ocs/cluster.py
crombus/ocs-ci
20340365882bdd06ddb6cd65bbd7df0ba7e2c2d8
[ "MIT" ]
null
null
null
""" A module for all rook functionalities and abstractions. This module has rook related classes, support for functionalities to work with rook cluster. This works with assumptions that an OCP cluster is already functional and proper configurations are made for interaction. """ import base64 import logging import ran...
33.56271
105
0.624675
6,633
50,042
4.5049
0.104779
0.018741
0.012516
0.009839
0.395536
0.312573
0.272749
0.241759
0.213647
0.193166
0
0.009078
0.291215
50,042
1,490
106
33.585235
0.833376
0.271952
0
0.285528
0
0
0.142667
0.006108
0
0
0
0.003356
0.015645
1
0.092568
false
0.002608
0.024772
0.006519
0.207301
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e66d5e1f08dc9a4e5c8cb49651bf2a219e4f50a8
3,621
py
Python
scenic/projects/baselines/detr/configs/detr_config.py
techthiyanes/scenic
05585b1189364e29d82413b9d4a50ffa8c246f0c
[ "Apache-2.0" ]
null
null
null
scenic/projects/baselines/detr/configs/detr_config.py
techthiyanes/scenic
05585b1189364e29d82413b9d4a50ffa8c246f0c
[ "Apache-2.0" ]
null
null
null
scenic/projects/baselines/detr/configs/detr_config.py
techthiyanes/scenic
05585b1189364e29d82413b9d4a50ffa8c246f0c
[ "Apache-2.0" ]
null
null
null
# pylint: disable=line-too-long r"""Default configs for COCO detection using DETR. """ # pylint: enable=line-too-long import copy import ml_collections _COCO_TRAIN_SIZE = 118287 NUM_EPOCHS = 300 def get_config(): """Returns the configuration for COCO detection using DETR.""" config = ml_collections.ConfigDict()...
34.160377
111
0.775753
491
3,621
5.421589
0.358452
0.030428
0.039444
0.05447
0.12284
0.045455
0
0
0
0
0
0.028865
0.138912
3,621
105
112
34.485714
0.824888
0.182546
0
0
0
0
0.053657
0.019822
0
0
0
0
0
1
0.013514
false
0
0.027027
0
0.054054
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e66dd75ae0bf7e3d43a0a0b5833ef2c98e86a332
581
py
Python
tests/conftest.py
artembashlak/share-youtube-to-mail
347f72ed8846b85cae8e4f39896ab54e698a6de9
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
artembashlak/share-youtube-to-mail
347f72ed8846b85cae8e4f39896ab54e698a6de9
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
artembashlak/share-youtube-to-mail
347f72ed8846b85cae8e4f39896ab54e698a6de9
[ "Apache-2.0" ]
null
null
null
import pytest from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager @pytest.fixture(scope="function") def browser(): options = webdriver.ChromeOptions() options.add_argument('ignore-certificate-errors') options.add_argument("--headless") options.add_argument('--no-san...
30.578947
79
0.753873
62
581
6.951613
0.516129
0.139211
0.25058
0.116009
0
0
0
0
0
0
0
0
0.123924
581
18
80
32.277778
0.846758
0
0
0
0
0
0.182444
0.043029
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.266667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e66dd9b0c4524178c41ae4349d387915dbfbc5a0
2,105
py
Python
prepare_cicero_peaks.py
lab-medvedeva/SCABFA-feature-selection
d5cd7568e667a75f75e753d9ab9dc645f3166902
[ "MIT" ]
null
null
null
prepare_cicero_peaks.py
lab-medvedeva/SCABFA-feature-selection
d5cd7568e667a75f75e753d9ab9dc645f3166902
[ "MIT" ]
null
null
null
prepare_cicero_peaks.py
lab-medvedeva/SCABFA-feature-selection
d5cd7568e667a75f75e753d9ab9dc645f3166902
[ "MIT" ]
null
null
null
from scale.dataset import read_mtx from argparse import ArgumentParser import pandas as pd import numpy as np import os def parse_args(): parser = ArgumentParser('Preparing raw peaks from cicero pipeline') parser.add_argument('--dataset_path', help='Path to Scale dataset: count, feature, barcode folder') ...
40.480769
113
0.669359
291
2,105
4.591065
0.309278
0.047904
0.068114
0.031437
0.167665
0.13997
0.13997
0.083832
0.083832
0.083832
0
0.008125
0.181473
2,105
51
114
41.27451
0.767266
0.045131
0
0
0
0.025
0.207773
0.035376
0
0
0
0
0
1
0.05
false
0
0.125
0
0.2
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e66e53547faa705c9a68f28dba07b4048f2f1b31
2,335
py
Python
crusoe_observe/neo4j-client/neo4jclient/CMSClient.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
3
2021-11-09T09:55:17.000Z
2022-02-19T02:58:27.000Z
crusoe_observe/neo4j-client/neo4jclient/CMSClient.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
crusoe_observe/neo4j-client/neo4jclient/CMSClient.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
from neo4jclient.AbsClient import AbstractClient class CMSClient(AbstractClient): def __init__(self, password, **kwargs): super().__init__(password=password, **kwargs) def get_domain_names(self): """ Gets all domain names from database. :return: domain names in JSON-like form...
39.576271
117
0.576017
282
2,335
4.652482
0.393617
0.027439
0.027439
0.036585
0.108232
0.108232
0.108232
0.057927
0.057927
0.057927
0
0.003672
0.300214
2,335
58
118
40.258621
0.799266
0.321627
0
0
0
0
0.455571
0.141749
0
0
0
0
0
1
0.16
false
0.08
0.04
0
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e66ec2107d63dfd849c5ad20ff3a6280caaa39d1
604
py
Python
location.py
jonasjucker/wildlife-telegram
5fb548d3779782467247cf5d1e165d1c2349de30
[ "MIT" ]
null
null
null
location.py
jonasjucker/wildlife-telegram
5fb548d3779782467247cf5d1e165d1c2349de30
[ "MIT" ]
null
null
null
location.py
jonasjucker/wildlife-telegram
5fb548d3779782467247cf5d1e165d1c2349de30
[ "MIT" ]
null
null
null
import time from datetime import date,datetime from astral import LocationInfo from astral.sun import sun class CamLocation: def __init__(self,lat,lon,info,country,timezone): self.info = LocationInfo(info, country, timezone, lat, lon) def is_night(self): s = sun(self.info.observer, date=date.t...
27.454545
80
0.652318
76
604
5.078947
0.447368
0.062176
0.098446
0
0
0
0
0
0
0
0
0
0.243377
604
21
81
28.761905
0.844639
0
0
0
0
0
0.021523
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e66eceebc9bb0cd90db3c066088340ee6f011e6e
545
py
Python
lang/py/cookbook/v2/source/cb2_20_9_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_20_9_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_20_9_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
class Skidoo(object): ''' a mapping which claims to contain all keys, each with a value of 23; item setting and deletion are no-ops; you can also call an instance with arbitrary positional args, result is 23. ''' __metaclass__ = MetaInterfaceChecker __implements__ = IMinimalMapping, ICallabl...
41.923077
70
0.702752
73
545
4.863014
0.684932
0.078873
0.073239
0
0
0
0
0
0
0
0
0.018779
0.218349
545
12
71
45.416667
0.814554
0.333945
0
0
0
0
0
0
0
0
0
0
0
1
0.555556
false
0.222222
0
0.333333
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
e66fe14aa361b0d83b0ed955a7d77eeda49c3b80
571
py
Python
face2anime/nb_utils.py
davidleonfdez/face2anime
896bf85a7aa28322cc9e9e586685db8cbbf39d89
[ "MIT" ]
null
null
null
face2anime/nb_utils.py
davidleonfdez/face2anime
896bf85a7aa28322cc9e9e586685db8cbbf39d89
[ "MIT" ]
1
2022-01-15T23:57:33.000Z
2022-01-15T23:57:33.000Z
face2anime/nb_utils.py
davidleonfdez/face2anime
896bf85a7aa28322cc9e9e586685db8cbbf39d89
[ "MIT" ]
null
null
null
import importlib __all__ = ['mount_gdrive'] def mount_gdrive() -> str: """Mount Google Drive storage of the current Google account and return the root path. Functionality only available in Google Colab Enviroment; otherwise, it raises a RuntimeError. """ if (importlib.util.find_spec("google.colab")...
28.55
97
0.712785
75
571
5.293333
0.6
0.110831
0.080605
0
0
0
0
0
0
0
0
0
0.196147
571
19
98
30.052632
0.864924
0.309982
0
0
0
0
0.300792
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e670e0b486388fd350ec3090250f4bbe49211d07
6,225
py
Python
wasch/tests.py
waschag-tvk/pywaschedv
8f0428827c4c1c7e9462eaa94ba02290db1c340f
[ "MIT" ]
1
2020-01-17T16:35:10.000Z
2020-01-17T16:35:10.000Z
wasch/tests.py
waschag-tvk/pywaschedv
8f0428827c4c1c7e9462eaa94ba02290db1c340f
[ "MIT" ]
6
2018-06-01T15:02:11.000Z
2018-09-04T15:33:05.000Z
wasch/tests.py
waschag-tvk/pywaschedv
8f0428827c4c1c7e9462eaa94ba02290db1c340f
[ "MIT" ]
null
null
null
import datetime from django.utils import timezone from django.test import TestCase from django.contrib.auth.models import ( User, ) from wasch.models import ( Appointment, WashUser, WashParameters, # not models: AppointmentError, StatusRights, ) from wasch import tvkutils, payment class Wa...
42.060811
79
0.676948
591
6,225
7.040609
0.204738
0.064888
0.050228
0.071377
0.504206
0.416246
0.416246
0.355203
0.267243
0.163422
0
0.007566
0.235663
6,225
147
80
42.346939
0.866961
0.031165
0
0.382353
0
0
0.005482
0
0
0
0
0
0.25
1
0.051471
false
0
0.044118
0
0.154412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e671c98e986dfbf41b15884e3c4cc078b893ecb2
1,040
py
Python
Python/problem1150.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem1150.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem1150.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
from typing import List from collections import Counter # class Solution: # def isMajorityElement(self, nums: List[int], target: int) -> bool: # d = Counter(nums) # return d[target] > len(nums)//2 # class Solution: # def isMajorityElement(self, nums: List[int], target: int) -> bool: # ...
25.365854
72
0.476923
125
1,040
3.968
0.256
0.056452
0.096774
0.199597
0.47379
0.372984
0.372984
0.372984
0.372984
0.372984
0
0.019386
0.404808
1,040
40
73
26
0.781906
0.356731
0
0.15
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.45
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e672d8fb22849a3e49b4cf1505ef89fb8d62430d
2,018
py
Python
day17/module.py
arcadecoffee/advent-2021
57d24cd6ba6e2b4d7e68ea492b955b73eaad7b6a
[ "MIT" ]
null
null
null
day17/module.py
arcadecoffee/advent-2021
57d24cd6ba6e2b4d7e68ea492b955b73eaad7b6a
[ "MIT" ]
null
null
null
day17/module.py
arcadecoffee/advent-2021
57d24cd6ba6e2b4d7e68ea492b955b73eaad7b6a
[ "MIT" ]
null
null
null
""" Advent of Code 2021 - Day 17 https://adventofcode.com/2021/day/17 """ import re from math import ceil, sqrt from typing import List, Tuple DAY = 17 FULL_INPUT_FILE = f'../inputs/day{DAY:02d}/input.full.txt' TEST_INPUT_FILE = f'../inputs/day{DAY:02d}/input.test.txt' def load_data(infile_path: str) -> Tuple[int,...
29.246377
92
0.617939
335
2,018
3.486567
0.268657
0.05137
0.03339
0.046233
0.239726
0.239726
0.171233
0.171233
0.085616
0.085616
0
0.05304
0.233895
2,018
68
93
29.676471
0.702458
0.03221
0
0.043478
0
0
0.096144
0.048843
0
0
0
0
0
1
0.130435
false
0
0.065217
0.021739
0.347826
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e67406a638efa86479227542aee6a924595e4826
4,235
py
Python
src/main/python/depysible/domain/rete.py
stefano-bragaglia/DePYsible
6b53ede459a10f5e24da89d3ebaa05f08ec7af12
[ "BSD-2-Clause" ]
4
2018-09-24T23:51:05.000Z
2021-01-06T09:13:52.000Z
src/main/python/depysible/domain/rete.py
stefano-bragaglia/DefeasiblePython
6b53ede459a10f5e24da89d3ebaa05f08ec7af12
[ "BSD-2-Clause" ]
1
2020-05-26T01:14:44.000Z
2020-05-27T07:54:15.000Z
src/main/python/depysible/domain/rete.py
stefano-bragaglia/DePYsible
6b53ede459a10f5e24da89d3ebaa05f08ec7af12
[ "BSD-2-Clause" ]
null
null
null
from typing import List from typing import Optional from typing import Tuple from typing import Union Payload = Tuple[List['Literal'], 'Substitutions'] class Root: def __init__(self): self.children = set() def notify(self, ground: 'Literal'): for child in self.children: child.not...
32.083333
100
0.563872
515
4,235
4.514563
0.130097
0.025806
0.036129
0.04086
0.327742
0.284301
0.260215
0.233548
0.196989
0.196989
0
0.013236
0.322078
4,235
131
101
32.328244
0.796587
0.033766
0
0.267327
0
0
0.051872
0
0
0
0
0
0
1
0.108911
false
0
0.049505
0
0.237624
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e6751ce031099f22bcc8f169d0324a7aff0147ed
15,501
py
Python
pythonbot_1.0/GameData.py
jeffreyzli/pokerbot-2017
df2aa31d6aaf0e3162d24ae5f4c2a918ab19831f
[ "MIT" ]
1
2017-01-18T21:25:21.000Z
2017-01-18T21:25:21.000Z
pythonbot_1.0/GameData.py
jeffreyzli/pokerbot-2017
df2aa31d6aaf0e3162d24ae5f4c2a918ab19831f
[ "MIT" ]
null
null
null
pythonbot_1.0/GameData.py
jeffreyzli/pokerbot-2017
df2aa31d6aaf0e3162d24ae5f4c2a918ab19831f
[ "MIT" ]
3
2017-02-06T04:35:02.000Z
2020-03-08T18:56:25.000Z
import HandRankings as Hand from deuces.deuces import Card, Evaluator class GameData: def __init__(self, name, opponent_name, stack_size, bb): # match stats self.name = name self.opponent_name = opponent_name self.starting_stack_size = int(stack_size) self.num_hands = 0 ...
43.298883
102
0.48055
1,701
15,501
4.100529
0.068783
0.098065
0.053333
0.048746
0.698351
0.629247
0.588387
0.535771
0.499211
0.493047
0
0.016226
0.451326
15,501
357
103
43.420168
0.80388
0.007741
0
0.657817
0
0
0.015936
0
0
0
0
0
0
1
0.014749
false
0
0.0059
0
0.035398
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e675854ddbd73f687dc3955ba80c468d17bec3c4
801
py
Python
todo/models.py
zyayoung/share-todo
84813545f9aa3e89441c560e64e85bc799835d30
[ "MIT" ]
null
null
null
todo/models.py
zyayoung/share-todo
84813545f9aa3e89441c560e64e85bc799835d30
[ "MIT" ]
null
null
null
todo/models.py
zyayoung/share-todo
84813545f9aa3e89441c560e64e85bc799835d30
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.utils import timezone class Todo(models.Model): time_add = models.DateTimeField(auto_now_add=True) title = models.CharField(max_length=64) detail = models.TextField(blank=True) deadline = models.DateTimeField(blank=Tr...
26.7
63
0.657928
97
801
5.309278
0.525773
0.058252
0.054369
0
0
0
0
0
0
0
0
0.004934
0.240949
801
29
64
27.62069
0.842105
0
0
0
0
0
0.029963
0
0
0
0
0
0
1
0.130435
false
0
0.130435
0.086957
0.826087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e675c9e19056933d226c148a0c8e55351caf07f1
20,377
py
Python
examples/Tutorial/Example/app.py
DrewLazzeriKitware/trame
fdc73f07f17d2601e1b1d3934d2d6326a3c0281e
[ "BSD-3-Clause" ]
null
null
null
examples/Tutorial/Example/app.py
DrewLazzeriKitware/trame
fdc73f07f17d2601e1b1d3934d2d6326a3c0281e
[ "BSD-3-Clause" ]
null
null
null
examples/Tutorial/Example/app.py
DrewLazzeriKitware/trame
fdc73f07f17d2601e1b1d3934d2d6326a3c0281e
[ "BSD-3-Clause" ]
null
null
null
import os from trame import change, update_state from trame.layouts import SinglePageWithDrawer from trame.html import vtk, vuetify, widgets from vtkmodules.vtkCommonDataModel import vtkDataObject from vtkmodules.vtkFiltersCore import vtkContourFilter from vtkmodules.vtkIOXML import vtkXMLUnstructuredGridReader from ...
31.739875
81
0.55332
1,855
20,377
5.863073
0.162803
0.00423
0.019309
0.025745
0.334958
0.297812
0.250736
0.224255
0.190051
0.184075
0
0.01246
0.224125
20,377
641
82
31.789392
0.675459
0.171517
0
0.360262
0
0
0.097857
0.010952
0
0
0
0
0
1
0.050218
false
0
0.024017
0
0.098253
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e6773e141755afe2a0e2167251aa0bc85bd1863f
2,849
py
Python
webots_ros2_tutorials/webots_ros2_tutorials/master.py
AleBurzio11/webots_ros2
99fa4a1a9d467e4ba71eff17ddf4e82444c78938
[ "Apache-2.0" ]
1
2021-09-09T13:11:15.000Z
2021-09-09T13:11:15.000Z
webots_ros2_tutorials/webots_ros2_tutorials/master.py
fmrico/webots_ros2
38d88e01fe174a8a00731f554f1a8646b9127bd2
[ "Apache-2.0" ]
1
2021-07-08T08:29:26.000Z
2021-10-01T07:57:12.000Z
webots_ros2_tutorials/webots_ros2_tutorials/master.py
fmrico/webots_ros2
38d88e01fe174a8a00731f554f1a8646b9127bd2
[ "Apache-2.0" ]
null
null
null
# Copyright 1996-2021 Soft_illusion. # # 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...
29.677083
88
0.657073
383
2,849
4.720627
0.375979
0.060841
0.033186
0.039823
0.191372
0.084624
0
0
0
0
0
0.024125
0.257985
2,849
95
89
29.989474
0.831126
0.274833
0
0.076923
0
0
0.026921
0
0
0
0
0
0
1
0.115385
false
0
0.076923
0
0.211538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e6774fb2431795bf70a9da58c9b195ced57c3c9e
839
py
Python
dev-template/src/mysql_connect_sample.py
arrowkato/pytest-CircleiCI
2f6a1460a48bf88547538cfc72880a9c86f9ec23
[ "MIT" ]
null
null
null
dev-template/src/mysql_connect_sample.py
arrowkato/pytest-CircleiCI
2f6a1460a48bf88547538cfc72880a9c86f9ec23
[ "MIT" ]
10
2020-08-24T00:25:06.000Z
2020-11-08T03:58:48.000Z
dev-template/src/mysql_connect_sample.py
arrowkato/pytest-CircleiCI
2f6a1460a48bf88547538cfc72880a9c86f9ec23
[ "MIT" ]
null
null
null
import mysql.connector from mysql.connector import errorcode config = { 'user': 'user', 'password': 'password', 'host': 'mysql_container', 'database': 'sample_db', 'port': '3306', } if __name__ == "__main__": try: conn = mysql.connector.connect(**config) cursor = conn.cursor() ...
28.931034
76
0.587604
99
839
4.79798
0.575758
0.117895
0.071579
0.08
0
0
0
0
0
0
0
0.009885
0.27652
839
28
77
29.964286
0.772652
0
0
0.153846
0
0
0.220501
0
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.076923
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e677b427e6603c8fe21acf94f00727cd3ed74b7a
920
py
Python
Mundo 1/ex011.py
viniciusbonito/CeV-Python-Exercicios
6182421332f6f0c0a567c3e125fdc05736fa6281
[ "MIT" ]
null
null
null
Mundo 1/ex011.py
viniciusbonito/CeV-Python-Exercicios
6182421332f6f0c0a567c3e125fdc05736fa6281
[ "MIT" ]
null
null
null
Mundo 1/ex011.py
viniciusbonito/CeV-Python-Exercicios
6182421332f6f0c0a567c3e125fdc05736fa6281
[ "MIT" ]
null
null
null
# criar um programa que pergunte as dimensões de uma parede, calcule sua área e informe quantos litros de tinta # seriam necessários para a pintura, após perguntar o rendimento da tinta informado na lata print('=' * 40) print('{:^40}'.format('Assistente de pintura')) print('=' * 40) altura = float(input('Informe a al...
46
111
0.723913
142
920
4.690141
0.443662
0.06006
0.045045
0.054054
0.039039
0
0
0
0
0
0
0.017834
0.146739
920
20
112
46
0.830573
0.216304
0
0.153846
0
0
0.527121
0
0
0
0
0
0
1
0
false
0
0
0
0
0.538462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e677b75c2a6dcc29dc727e2cdc804229c99df35d
591
py
Python
Python/Mundo 3/ex088.py
henrique-tavares/Coisas
f740518b1bedec5b0ea8c12ae07a2cac21eb51ae
[ "MIT" ]
1
2020-02-07T20:39:26.000Z
2020-02-07T20:39:26.000Z
Python/Mundo 3/ex088.py
neptune076/Coisas
85c064cc0e134465aaf6ef41acf747d47f108fc9
[ "MIT" ]
null
null
null
Python/Mundo 3/ex088.py
neptune076/Coisas
85c064cc0e134465aaf6ef41acf747d47f108fc9
[ "MIT" ]
null
null
null
from random import sample from time import sleep jogos = list() print('-' * 20) print(f'{"MEGA SENA":^20}') print('-' * 20) while True: n = int(input("\nQuatos jogos você quer que eu sorteie? ")) if (n > 0): break print('\n[ERRO] Valor fora do intervalo') print() print('-=' * 3, e...
17.909091
63
0.527919
88
591
3.545455
0.534091
0.102564
0.057692
0
0
0
0
0
0
0
0
0.040089
0.240271
591
33
64
17.909091
0.654788
0
0
0.090909
0
0
0.273649
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.545455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e6783e2d5b99dd220ab72c9c82dce296b3c378e7
49,475
py
Python
tests/test_utils.py
django-roles-access/master
066d0d6b99b986eacc736e6973b415cbb9172d46
[ "MIT" ]
5
2019-03-22T08:08:25.000Z
2019-04-11T11:46:52.000Z
tests/test_utils.py
django-roles-access/master
066d0d6b99b986eacc736e6973b415cbb9172d46
[ "MIT" ]
5
2019-04-03T21:53:52.000Z
2019-05-22T22:41:34.000Z
tests/test_utils.py
django-roles-access/master
066d0d6b99b986eacc736e6973b415cbb9172d46
[ "MIT" ]
null
null
null
from importlib import import_module from unittest import TestCase as UnitTestCase from django.contrib.auth.models import Group from django.core.management import BaseCommand from django.conf import settings from django.test import TestCase from django.views.generic import TemplateView try: from unittest.mock impor...
40.453802
85
0.661607
6,086
49,475
5.007394
0.048308
0.054471
0.033667
0.04187
0.844594
0.803774
0.76653
0.738113
0.702215
0.680558
0
0.004132
0.241839
49,475
1,222
86
40.486907
0.808318
0.009581
0
0.662439
0
0.001951
0.162688
0.065692
0
0
0
0
0.136585
1
0.142439
false
0.006829
0.01561
0
0.182439
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e67851bbe8e0d15c96340d34374c9950c15106d4
13,892
py
Python
favorite_files.py
jasondavis/FavoriteFiles
be088259ac36383399eebe85d8d5b35e235d25b0
[ "MIT", "Unlicense" ]
1
2019-04-27T20:13:19.000Z
2019-04-27T20:13:19.000Z
favorite_files.py
jasondavis/FavoriteFiles
be088259ac36383399eebe85d8d5b35e235d25b0
[ "MIT", "Unlicense" ]
null
null
null
favorite_files.py
jasondavis/FavoriteFiles
be088259ac36383399eebe85d8d5b35e235d25b0
[ "MIT", "Unlicense" ]
null
null
null
''' Favorite Files Licensed under MIT Copyright (c) 2012 Isaac Muse <isaacmuse@gmail.com> ''' import sublime import sublime_plugin from os.path import join, exists, normpath from favorites import Favorites Favs = Favorites(join(sublime.packages_path(), 'User', 'favorite_files_list.json')) class Refresh: dummy_f...
37.444744
136
0.500864
1,532
13,892
4.413185
0.140339
0.042893
0.026623
0.019672
0.450081
0.391066
0.315338
0.301435
0.281467
0.239018
0
0.008734
0.414843
13,892
370
137
37.545946
0.822979
0.115678
0
0.512727
0
0
0.061008
0.006788
0
0
0
0.002703
0
1
0.065455
false
0
0.014545
0.003636
0.127273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e678937ffa958feedad60c6818f9966146fc7fd7
229
py
Python
tests/list/list03.py
ktok07b6/polyphony
657c5c7440520db6b4985970bd50547407693ac4
[ "MIT" ]
83
2015-11-30T09:59:13.000Z
2021-08-03T09:12:28.000Z
tests/list/list03.py
jesseclin/polyphony
657c5c7440520db6b4985970bd50547407693ac4
[ "MIT" ]
4
2017-02-10T01:43:11.000Z
2020-07-14T03:52:25.000Z
tests/list/list03.py
jesseclin/polyphony
657c5c7440520db6b4985970bd50547407693ac4
[ "MIT" ]
11
2016-11-18T14:39:15.000Z
2021-02-23T10:05:20.000Z
from polyphony import testbench def list03(x, y, z): a = [1, 2, 3] r0 = x r1 = y a[r0] = a[r1] + z return a[r0] @testbench def test(): assert 4 == list03(0, 1 ,2) assert 5 == list03(2, 1 ,3) test()
14.3125
31
0.515284
41
229
2.878049
0.512195
0.20339
0
0
0
0
0
0
0
0
0
0.141026
0.318777
229
15
32
15.266667
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.083333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e679989ea74254d7fd372bced3748665b5351845
4,361
py
Python
sc2clanman/views.py
paskausks/sc2cm
9c80e581933531496333d4a54c40174d4fb583a5
[ "MIT" ]
null
null
null
sc2clanman/views.py
paskausks/sc2cm
9c80e581933531496333d4a54c40174d4fb583a5
[ "MIT" ]
null
null
null
sc2clanman/views.py
paskausks/sc2cm
9c80e581933531496333d4a54c40174d4fb583a5
[ "MIT" ]
null
null
null
#!/bin/env python3 from collections import Counter from django.conf import settings from django.contrib.auth.decorators import login_required, permission_required from django.db import models as dm from django.shortcuts import get_object_or_404, render from django.views.generic.list import BaseListView from django.vie...
33.037879
110
0.661546
532
4,361
5.244361
0.315789
0.043369
0.040143
0.024373
0.239427
0.21828
0.189247
0.189247
0.141935
0.141935
0
0.006807
0.225178
4,361
131
111
33.290076
0.818881
0.120385
0
0.179487
0
0
0.105639
0.012444
0
0
0
0
0
1
0.064103
false
0.025641
0.115385
0.012821
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e67abeee75de516885fc3f200a8feafafe7fd320
2,313
py
Python
manimlib/mobject/functions.py
parmentelat/manim
f05f94fbf51c70591bed3092587a5db0de439738
[ "MIT" ]
1
2021-02-04T12:54:36.000Z
2021-02-04T12:54:36.000Z
manimlib/mobject/functions.py
parmentelat/manim
f05f94fbf51c70591bed3092587a5db0de439738
[ "MIT" ]
null
null
null
manimlib/mobject/functions.py
parmentelat/manim
f05f94fbf51c70591bed3092587a5db0de439738
[ "MIT" ]
null
null
null
from manimlib.constants import * from manimlib.mobject.types.vectorized_mobject import VMobject from manimlib.utils.config_ops import digest_config from manimlib.utils.space_ops import get_norm class ParametricCurve(VMobject): CONFIG = { "t_range": [0, 1, 0.1], "min_samples": 10, "epsilon"...
31.684932
90
0.609166
313
2,313
4.239617
0.28115
0.058779
0.045215
0.030143
0.165787
0.096458
0.055765
0
0
0
0
0.016598
0.270644
2,313
72
91
32.125
0.770006
0.054907
0
0.071429
0
0
0.036647
0
0
0
0
0.013889
0
1
0.125
false
0
0.071429
0.071429
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
1
0
0
0
0
0
0
0
0
0
0
1
e67af792ae036b2a2bc22a1b166e10db5dcc3d7e
9,704
py
Python
lib/ecsmate/ecs.py
doudoudzj/ecsmate
dda508a64ef9d6979dcc83377bb007d2a0acec30
[ "Apache-2.0" ]
null
null
null
lib/ecsmate/ecs.py
doudoudzj/ecsmate
dda508a64ef9d6979dcc83377bb007d2a0acec30
[ "Apache-2.0" ]
null
null
null
lib/ecsmate/ecs.py
doudoudzj/ecsmate
dda508a64ef9d6979dcc83377bb007d2a0acec30
[ "Apache-2.0" ]
null
null
null
#-*- coding: utf-8 -*- # # Copyright (c) 2012, ECSMate development team # All rights reserved. # # ECSMate is distributed under the terms of the (new) BSD License. # The full license can be found in 'LICENSE.txt'. """ECS SDK """ import time import hmac import base64 import hashlib import urllib import...
36.344569
102
0.622424
941
9,704
6.27949
0.227418
0.057539
0.078186
0.111694
0.393975
0.393975
0.393975
0.393975
0.393975
0.393975
0
0.023729
0.266076
9,704
266
103
36.481203
0.805953
0.077597
0
0.375
0
0
0.041941
0
0
0
0
0
0
0
null
null
0.010417
0.046875
null
null
0.067708
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e67c1789de35ce33eb29e291ba0e431b4c1c574b
4,002
py
Python
tacker/api/v1/resource.py
mail2nsrajesh/tacker
dce6690659836c2885f1cf8227c19be234f8fe25
[ "Apache-2.0" ]
null
null
null
tacker/api/v1/resource.py
mail2nsrajesh/tacker
dce6690659836c2885f1cf8227c19be234f8fe25
[ "Apache-2.0" ]
null
null
null
tacker/api/v1/resource.py
mail2nsrajesh/tacker
dce6690659836c2885f1cf8227c19be234f8fe25
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 OpenStack Foundation. # 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 req...
33.630252
78
0.613193
449
4,002
5.318486
0.400891
0.032245
0.010888
0.0134
0
0
0
0
0
0
0
0.011761
0.298851
4,002
118
79
33.915254
0.839273
0.235382
0
0.028169
0
0
0.081842
0
0
0
0
0
0
1
0.042254
false
0.014085
0.056338
0
0.183099
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e67c30a42d5e25d4e6e974aeebd81a4f702b3cd2
5,417
py
Python
akinator/utils.py
GitHubEmploy/akinator.py
67c688b0332f4caa72bacc8fbc8f95abfe2290c9
[ "MIT" ]
null
null
null
akinator/utils.py
GitHubEmploy/akinator.py
67c688b0332f4caa72bacc8fbc8f95abfe2290c9
[ "MIT" ]
null
null
null
akinator/utils.py
GitHubEmploy/akinator.py
67c688b0332f4caa72bacc8fbc8f95abfe2290c9
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2019 NinjaSnail1080 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
44.04065
149
0.606055
747
5,417
4.364123
0.305221
0.044172
0.042945
0.060123
0.080368
0.044172
0.030675
0.030675
0.030675
0.030675
0
0.006101
0.243493
5,417
122
150
44.401639
0.789409
0.229463
0
0.035294
0
0.011765
0.355095
0
0
0
0
0
0
1
0.035294
false
0
0.035294
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e67e2b8d5cc36e4de07019122375c2f2fc7e621b
765
py
Python
ucs-python/create_ucs_sp_template.py
movinalot/ucs
dc0d37784592d6d78f46efee40c86b6f7ac928b4
[ "MIT" ]
null
null
null
ucs-python/create_ucs_sp_template.py
movinalot/ucs
dc0d37784592d6d78f46efee40c86b6f7ac928b4
[ "MIT" ]
null
null
null
ucs-python/create_ucs_sp_template.py
movinalot/ucs
dc0d37784592d6d78f46efee40c86b6f7ac928b4
[ "MIT" ]
2
2020-06-17T15:49:37.000Z
2021-01-28T07:21:21.000Z
""" create_ucs_sp_template.py Purpose: UCS Manager Create a UCS Service Profile Template Author: John McDonough (jomcdono@cisco.com) github: (@movinalot) Cisco Systems, Inc. """ from ucsmsdk.ucshandle import UcsHandle from ucsmsdk.mometa.ls.LsServer import LsServer from ucsmsdk.mometa.org.OrgOrg import Or...
19.125
60
0.732026
104
765
5.211538
0.490385
0.055351
0.062731
0.04428
0.177122
0.070111
0
0
0
0
0
0.001534
0.147712
765
39
61
19.615385
0.829755
0.237909
0
0.086957
0
0
0.177391
0.04
0
0
0
0
0
1
0
false
0.043478
0.130435
0
0.130435
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e67f72e9b27124ae9fe286846ee45d52e71dc993
4,105
py
Python
epab/core/config.py
132nd-etcher/epab
5226d3a36580f8cc50cf5dcac426adb1350a2c9b
[ "MIT" ]
2
2018-12-13T06:49:10.000Z
2018-12-13T07:37:49.000Z
epab/core/config.py
etcher-be/epab
5226d3a36580f8cc50cf5dcac426adb1350a2c9b
[ "MIT" ]
109
2018-08-22T04:25:56.000Z
2019-10-17T05:10:21.000Z
epab/core/config.py
etcher-be/epab
5226d3a36580f8cc50cf5dcac426adb1350a2c9b
[ "MIT" ]
1
2018-02-25T05:53:18.000Z
2018-02-25T05:53:18.000Z
# coding=utf-8 """ Handles EPAB's config file """ import logging import pathlib import elib_config CHANGELOG_DISABLE = elib_config.ConfigValueBool( 'changelog', 'disable', description='Disable changelog building', default=False ) CHANGELOG_FILE_PATH = elib_config.ConfigValuePath( 'changelog', 'file_path', de...
34.495798
107
0.747138
496
4,105
5.935484
0.316532
0.095109
0.091712
0.017663
0.096467
0
0
0
0
0
0
0.008422
0.132278
4,105
118
108
34.788136
0.81808
0.031181
0
0.020833
0
0
0.285316
0.00557
0
0
0
0
0
1
0.010417
false
0.010417
0.03125
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e67fead92c8110015c821a38623a6b98e6c63185
5,793
py
Python
create_flask_app.py
Creativity-Hub/create_flask_app
4c4e2c7360c7773f6f5e3d2fd30e310777650f57
[ "MIT" ]
2
2020-08-05T04:33:20.000Z
2020-08-06T23:03:40.000Z
create_flask_app.py
Creativity-Hub/create_flask_app
4c4e2c7360c7773f6f5e3d2fd30e310777650f57
[ "MIT" ]
null
null
null
create_flask_app.py
Creativity-Hub/create_flask_app
4c4e2c7360c7773f6f5e3d2fd30e310777650f57
[ "MIT" ]
null
null
null
import os import argparse def check_for_pkg(pkg): try: exec("import " + pkg) except: os.system("pip3 install --user " + pkg) def create_flask_app(app='flask_app', threading=False, wsgiserver=False, unwanted_warnings=False, logging=False, further_logging=False, site_endpoints=None, endpoints=None, request_endpoi...
39.141892
335
0.666494
763
5,793
4.943644
0.235911
0.043743
0.016702
0.021209
0.200954
0.156416
0.102333
0.082185
0.062036
0.062036
0
0.005339
0.12705
5,793
147
336
39.408163
0.740558
0
0
0.191667
0
0.041667
0.399793
0.113758
0
0
0
0
0
1
0.016667
false
0
0.066667
0
0.083333
0.058333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e680d5976ff70e83c58f67740990b745a8b0973b
1,835
py
Python
examples/flaskr/flaskr/__init__.py
Flared/flask-sqlalchemy
e73abd51d957a4436bca6b5eadbf5d63771cf5ef
[ "BSD-3-Clause" ]
2
2020-04-09T15:28:49.000Z
2020-04-18T02:55:16.000Z
examples/flaskr/flaskr/__init__.py
Flared/flask-sqlalchemy
e73abd51d957a4436bca6b5eadbf5d63771cf5ef
[ "BSD-3-Clause" ]
null
null
null
examples/flaskr/flaskr/__init__.py
Flared/flask-sqlalchemy
e73abd51d957a4436bca6b5eadbf5d63771cf5ef
[ "BSD-3-Clause" ]
1
2020-06-19T11:49:30.000Z
2020-06-19T11:49:30.000Z
import os import click from flask import Flask from flask.cli import with_appcontext from flask_sqlalchemy import SQLAlchemy __version__ = (1, 0, 0, "dev") db = SQLAlchemy() def create_app(test_config=None): """Create and configure an instance of the Flask application.""" app = Flask(__name__, instance_rel...
27.38806
80
0.689918
261
1,835
4.670498
0.409962
0.029532
0.031993
0
0
0
0
0
0
0
0
0.00208
0.214169
1,835
66
81
27.80303
0.843273
0.294823
0
0
0
0
0.076863
0
0
0
0
0
0
1
0.081081
false
0
0.162162
0
0.27027
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e681d9f0d0bbcd56a55111fcb8b7b0c2f584018e
142
py
Python
simulator/cc.py
mcfx/trivm
5b77ea157c562cfbfe87f7e7d256fb9702f8ceec
[ "MIT" ]
6
2022-02-21T15:49:52.000Z
2022-02-23T07:16:02.000Z
simulator/cc.py
mcfx/trivm
5b77ea157c562cfbfe87f7e7d256fb9702f8ceec
[ "MIT" ]
null
null
null
simulator/cc.py
mcfx/trivm
5b77ea157c562cfbfe87f7e7d256fb9702f8ceec
[ "MIT" ]
null
null
null
import os, sys fn = sys.argv[1] if os.system('python compile.py %s __tmp.S' % fn) == 0: os.system('python asm.py __tmp.S %s' % fn[:-2])
20.285714
55
0.598592
28
142
2.892857
0.571429
0.197531
0.345679
0
0
0
0
0
0
0
0
0.026087
0.190141
142
6
56
23.666667
0.678261
0
0
0
0
0
0.366197
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e6820129758b4a88f3d5692d1d9e3fcd58b99051
3,806
py
Python
ad2/Actor.py
ariadnepinheiro/Disease_Simulator
e875036f4b0485575327463a17f4282487350cb3
[ "MIT" ]
4
2020-11-06T22:28:51.000Z
2022-02-24T10:40:26.000Z
ad2/Actor.py
ariadnepinheiro/Disease_Simulator
e875036f4b0485575327463a17f4282487350cb3
[ "MIT" ]
null
null
null
ad2/Actor.py
ariadnepinheiro/Disease_Simulator
e875036f4b0485575327463a17f4282487350cb3
[ "MIT" ]
2
2021-03-07T20:26:42.000Z
2021-12-14T03:17:22.000Z
#!/usr/bin/env python # coding: UTF-8 # # @package Actor # @author Ariadne Pinheiro # @date 26/08/2020 # # Actor class, which is the base class for Disease objects. # ## class Actor: # Holds the value of the next "free" id. __ID = 0 ## # Construct a new Actor object. # - Sets the initial values of...
27.781022
86
0.584078
507
3,806
4.282051
0.282051
0.049747
0.041456
0.038692
0.208199
0.124367
0.080147
0.080147
0.080147
0.080147
0
0.013878
0.318445
3,806
136
87
27.985294
0.823053
0.516027
0
0.095238
0
0
0.056604
0
0
0
0
0
0
1
0.238095
false
0
0
0.119048
0.428571
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
e6821c09b4a2b0ae38dad98719d218377bec1dfe
1,516
py
Python
conversions/decimal_to_binary.py
smukk9/Python
5f4da5d616926dbe77ece828986b8d19c7d65cb5
[ "MIT" ]
6
2020-06-23T11:56:55.000Z
2021-10-03T17:21:34.000Z
conversions/decimal_to_binary.py
smukk9/Python
5f4da5d616926dbe77ece828986b8d19c7d65cb5
[ "MIT" ]
3
2020-06-08T07:03:15.000Z
2020-06-08T08:41:22.000Z
conversions/decimal_to_binary.py
smukk9/Python
5f4da5d616926dbe77ece828986b8d19c7d65cb5
[ "MIT" ]
2
2020-06-26T09:16:11.000Z
2020-07-01T08:55:48.000Z
"""Convert a Decimal Number to a Binary Number.""" def decimal_to_binary(num: int) -> str: """ Convert a Integer Decimal Number to a Binary Number as str. >>> decimal_to_binary(0) '0b0' >>> decimal_to_binary(2) '0b10' >>> decimal_to_binary(7) '0b111' ...
25.266667
77
0.558047
184
1,516
4.467391
0.347826
0.087591
0.145985
0.121655
0.549878
0.501217
0.43309
0.43309
0.3309
0.184915
0
0.038911
0.3219
1,516
59
78
25.694915
0.7607
0.437335
0
0
0
0
0.172727
0
0
0
0
0
0
1
0.047619
false
0
0.047619
0
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e68358c694510e180fb49e743ec559c977aea7b6
1,467
py
Python
src/HandNetwork.py
xausky/hand-network
e885003c5bb9157cd06dc3ea3aabddbb7162a0ab
[ "MIT" ]
2
2017-04-18T03:31:06.000Z
2017-06-08T10:27:59.000Z
src/HandNetwork.py
xausky/hand-network
e885003c5bb9157cd06dc3ea3aabddbb7162a0ab
[ "MIT" ]
null
null
null
src/HandNetwork.py
xausky/hand-network
e885003c5bb9157cd06dc3ea3aabddbb7162a0ab
[ "MIT" ]
null
null
null
#!/usr/bin/python3 #-*- coding: utf-8 -*- import urllib.parse import json import base64 import requests import logging class Network(): LOGIN_URL = 'http://192.168.211.101/portal/pws?t=li' BEAT_URL = 'http://192.168.211.101/portal/page/doHeartBeat.jsp' COMMON_HERADERS = { 'Accept-Language': 'en-US', ...
36.675
84
0.657805
166
1,467
5.740964
0.46988
0.044071
0.03148
0.027282
0.128017
0.128017
0.052466
0
0
0
0
0.03856
0.204499
1,467
39
85
37.615385
0.778063
0.025903
0
0.058824
0
0
0.149965
0
0
0
0
0
0
1
0.088235
false
0.088235
0.147059
0
0.382353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e684146ff5ca787d26fd1c2feebd83d974744890
1,725
py
Python
algorithms_keeper/parser/rules/use_fstring.py
Fongeme/algorithms-keeper
ea80d9342b4d2efd246a6bc409889ed780accf08
[ "MIT" ]
50
2021-02-27T04:13:11.000Z
2022-03-29T04:34:01.000Z
algorithms_keeper/parser/rules/use_fstring.py
dedsec-9/algorithms-keeper
0d98e4e24e239524c48d9eab19c493ac288ecf83
[ "MIT" ]
52
2021-08-09T22:40:20.000Z
2022-03-07T16:56:36.000Z
algorithms_keeper/parser/rules/use_fstring.py
dedsec-9/algorithms-keeper
0d98e4e24e239524c48d9eab19c493ac288ecf83
[ "MIT" ]
22
2021-04-28T06:56:27.000Z
2022-03-13T07:27:45.000Z
import libcst as cst import libcst.matchers as m from fixit import CstLintRule from fixit import InvalidTestCase as Invalid from fixit import ValidTestCase as Valid class UseFstringRule(CstLintRule): MESSAGE: str = ( "As mentioned in the [Contributing Guidelines]" + "(https://github.com/TheAlgori...
33.173077
85
0.576232
195
1,725
5.076923
0.517949
0.027273
0.045455
0.028283
0.038384
0.038384
0
0
0
0
0
0.004045
0.283478
1,725
51
86
33.823529
0.796926
0.068986
0
0.095238
0
0.02381
0.30025
0.031211
0
0
0
0
0
1
0.047619
false
0
0.119048
0
0.261905
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e6848af64f5fa82bd5d7d5132ff08186219ab513
15,634
py
Python
bert_multitask_learning/model_fn.py
akashnd/bert-multitask-learning
aee5be006ef6a3feadf0c751a6f9b42c24c3fd21
[ "Apache-2.0" ]
null
null
null
bert_multitask_learning/model_fn.py
akashnd/bert-multitask-learning
aee5be006ef6a3feadf0c751a6f9b42c24c3fd21
[ "Apache-2.0" ]
null
null
null
bert_multitask_learning/model_fn.py
akashnd/bert-multitask-learning
aee5be006ef6a3feadf0c751a6f9b42c24c3fd21
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: source_nbs/13_model_fn.ipynb (unless otherwise specified). __all__ = ['variable_summaries', 'filter_loss', 'BertMultiTaskBody', 'BertMultiTaskTop', 'BertMultiTask'] # Cell from typing import Dict, Tuple from inspect import signature import tensorflow as tf import transform...
42.368564
114
0.623321
1,840
15,634
5.036957
0.176087
0.064523
0.03798
0.028485
0.445619
0.34959
0.289167
0.233492
0.181916
0.171019
0
0.005824
0.286107
15,634
368
115
42.483696
0.824568
0.216579
0
0.162162
1
0
0.051026
0
0
0
0
0
0
1
0.058559
false
0
0.036036
0.004505
0.148649
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e685406479e82ae52847e5dad03d1463ba77358b
5,000
py
Python
SiMon/visualization.py
Jennyx18/SiMon
522432ff708954ac37050609cfd6f42dd96467e4
[ "BSD-2-Clause" ]
9
2017-03-04T08:00:58.000Z
2021-04-03T18:18:40.000Z
SiMon/visualization.py
Jennyx18/SiMon
522432ff708954ac37050609cfd6f42dd96467e4
[ "BSD-2-Clause" ]
52
2016-09-23T14:06:06.000Z
2021-08-05T12:21:29.000Z
SiMon/visualization.py
Jennyx18/SiMon
522432ff708954ac37050609cfd6f42dd96467e4
[ "BSD-2-Clause" ]
4
2016-09-15T02:09:42.000Z
2021-06-15T11:42:58.000Z
import os import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np import math from datetime import datetime from matplotlib.colors import ListedColormap, BoundaryNorm from matplotlib.collections import LineCollection from matplotlib import cm from SiMon.simulation import Simulation f...
32.894737
102
0.4948
593
5,000
4.026981
0.350759
0.035176
0.027638
0.023451
0.049414
0.028894
0
0
0
0
0
0.014594
0.397
5,000
152
103
32.894737
0.777446
0.1288
0
0.115044
0
0
0.036296
0
0
0
0
0
0
1
0.026549
false
0
0.115044
0
0.159292
0.00885
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e6855e47f2ad7aa6ba42d8fa11c100eb19915033
3,700
py
Python
bin/psm/oil_jet.py
ChrisBarker-NOAA/tamoc
c797cbb6fee28d788b76d21cc5b0cc0df5444ba8
[ "MIT" ]
18
2016-02-24T01:48:41.000Z
2021-11-05T03:18:24.000Z
bin/psm/oil_jet.py
ChrisBarker-NOAA/tamoc
c797cbb6fee28d788b76d21cc5b0cc0df5444ba8
[ "MIT" ]
16
2016-08-09T07:06:35.000Z
2021-12-23T19:38:37.000Z
bin/psm/oil_jet.py
ChrisBarker-NOAA/tamoc
c797cbb6fee28d788b76d21cc5b0cc0df5444ba8
[ "MIT" ]
9
2017-03-01T01:22:27.000Z
2021-09-17T12:13:40.000Z
""" Particle Size Models: Pure Oil Jet =================================== Use the ``TAMOC`` `particle_size_models` module to simulate a laboratory scale pure oil jet into water. This script demonstrates the typical steps involved in using the `particle_size_models.PureJet` object, which requires specification of all...
38.947368
78
0.635946
548
3,700
4.20438
0.374088
0.036458
0.054688
0.027778
0.211806
0.167535
0.12934
0.12934
0.12934
0.12934
0
0.041164
0.238378
3,700
95
79
38.947368
0.776437
0.451622
0
0.093023
0
0
0.322661
0.064032
0
0
0
0
0
1
0
false
0
0.093023
0
0.093023
0.372093
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e6862496cf199e7f27dd40deb80fa8e54704b966
1,121
py
Python
tron/Nubs/hal.py
sdss/tron
886c5c5fb6341ad85e4a9f5d6f5ecb6bbc0d8322
[ "BSD-3-Clause" ]
null
null
null
tron/Nubs/hal.py
sdss/tron
886c5c5fb6341ad85e4a9f5d6f5ecb6bbc0d8322
[ "BSD-3-Clause" ]
null
null
null
tron/Nubs/hal.py
sdss/tron
886c5c5fb6341ad85e4a9f5d6f5ecb6bbc0d8322
[ "BSD-3-Clause" ]
null
null
null
import os.path import tron.Misc from tron import g, hub from tron.Hub.Command.Encoders.ASCIICmdEncoder import ASCIICmdEncoder from tron.Hub.Nub.SocketActorNub import SocketActorNub from tron.Hub.Reply.Decoders.ASCIIReplyDecoder import ASCIIReplyDecoder name = 'hal' def start(poller): cfg = tron.Misc.cfg.get(g....
24.369565
77
0.637823
136
1,121
5.257353
0.514706
0.044755
0.046154
0
0
0
0
0
0
0
0
0.00464
0.231044
1,121
45
78
24.911111
0.824826
0.046387
0
0
0
0
0.060918
0
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e68682ac6ba97f9b172ff277c3a2a87e5c65354c
1,761
py
Python
tests/fixtures/defxmlschema/chapter15.py
gramm/xsdata
082c780757c6d76a5c31a6757276ef6912901ed2
[ "MIT" ]
null
null
null
tests/fixtures/defxmlschema/chapter15.py
gramm/xsdata
082c780757c6d76a5c31a6757276ef6912901ed2
[ "MIT" ]
null
null
null
tests/fixtures/defxmlschema/chapter15.py
gramm/xsdata
082c780757c6d76a5c31a6757276ef6912901ed2
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from decimal import Decimal from typing import Optional from xsdata.models.datatype import XmlDate @dataclass class SizeType: value: Optional[int] = field( default=None, metadata={ "required": True, } ) system: Optional[str] = fi...
20.241379
42
0.473027
135
1,761
6.162963
0.296296
0.144231
0.192308
0.288462
0.519231
0.519231
0.419471
0.313702
0.198317
0
0
0
0.398069
1,761
86
43
20.476744
0.784906
0
0
0.5
0
0
0.109029
0
0
0
0
0
0
1
0
false
0
0.05
0
0.225
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e68781e0de8404ad5b22f8d2f250a25084af55ff
1,092
py
Python
extensions/domain.py
anubhavsinha98/oppia
9a64ea2e91d2f471ce22bd39da77b43dccd5b51f
[ "Apache-2.0" ]
1
2019-08-31T17:06:41.000Z
2019-08-31T17:06:41.000Z
extensions/domain.py
anubhavsinha98/oppia
9a64ea2e91d2f471ce22bd39da77b43dccd5b51f
[ "Apache-2.0" ]
null
null
null
extensions/domain.py
anubhavsinha98/oppia
9a64ea2e91d2f471ce22bd39da77b43dccd5b51f
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2014 The Oppia Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
35.225806
77
0.746337
150
1,092
5.34
0.66
0.074906
0.032459
0.03995
0
0
0
0
0
0
0
0.010033
0.178571
1,092
30
78
36.4
0.882943
0.666667
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
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
e6885b17b97915311f8a8bd86b9f72a31641ef6d
7,392
py
Python
plugins/modules/oci_database_management_object_privilege_facts.py
LaudateCorpus1/oci-ansible-collection
2b1cd87b4d652a97c1ca752cfc4fdc4bdb37a7e7
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_database_management_object_privilege_facts.py
LaudateCorpus1/oci-ansible-collection
2b1cd87b4d652a97c1ca752cfc4fdc4bdb37a7e7
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_database_management_object_privilege_facts.py
LaudateCorpus1/oci-ansible-collection
2b1cd87b4d652a97c1ca752cfc4fdc4bdb37a7e7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2020, 2022 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
30.92887
133
0.626759
822
7,392
5.453771
0.284672
0.029668
0.037921
0.046844
0.274593
0.228418
0.154584
0.147223
0.116663
0.073388
0
0.004805
0.296131
7,392
238
134
31.058824
0.856813
0.05533
0
0.265
0
0.015
0.648114
0.03242
0
0
0
0
0
1
0.015
false
0.005
0.03
0.005
0.065
0.005
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e6889a8d19aba99a640a29f5b573f28a57dbd412
1,727
py
Python
rbc/externals/stdio.py
guilhermeleobas/rbc
4b568b91c6ce3ef7727fee001169302c3803c4fd
[ "BSD-3-Clause" ]
null
null
null
rbc/externals/stdio.py
guilhermeleobas/rbc
4b568b91c6ce3ef7727fee001169302c3803c4fd
[ "BSD-3-Clause" ]
null
null
null
rbc/externals/stdio.py
guilhermeleobas/rbc
4b568b91c6ce3ef7727fee001169302c3803c4fd
[ "BSD-3-Clause" ]
null
null
null
"""https://en.cppreference.com/w/c/io """ from rbc import irutils from llvmlite import ir from rbc.targetinfo import TargetInfo from numba.core import cgutils, extending from numba.core import types as nb_types from rbc.errors import NumbaTypeError # some errors are available for Numba >= 0.55 int32_t = ir.IntType(3...
28.783333
92
0.682687
229
1,727
4.973799
0.388646
0.036874
0.039508
0.033363
0.317823
0.317823
0.215979
0.215979
0.215979
0.215979
0
0.010249
0.209033
1,727
59
93
29.271186
0.823572
0.191662
0
0.375
0
0
0.048041
0.020695
0
0
0
0
0
1
0.15625
false
0
0.1875
0
0.40625
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e689526fba8d369acce37c9eab4574f56f8a1f4b
991
py
Python
setup.py
clach04/discoverhue
8f35cbc8ff9b5aab80b8be0443427058c1da51ed
[ "MIT" ]
10
2017-09-26T22:34:38.000Z
2021-11-19T22:37:59.000Z
setup.py
clach04/discoverhue
8f35cbc8ff9b5aab80b8be0443427058c1da51ed
[ "MIT" ]
7
2018-02-04T19:38:03.000Z
2021-10-30T13:20:33.000Z
setup.py
clach04/discoverhue
8f35cbc8ff9b5aab80b8be0443427058c1da51ed
[ "MIT" ]
4
2019-06-28T15:26:45.000Z
2022-01-20T02:26:05.000Z
from setuptools import setup try: import pypandoc long_description = pypandoc.convert_file('README.md', 'rst', extra_args=()) except ImportError: import codecs long_description = codecs.open('README.md', encoding='utf-8').read() long_description = '\n'.join(long_description.splitlines()) setup( n...
26.078947
79
0.649849
106
991
5.981132
0.669811
0.141956
0.118297
0.123028
0
0
0
0
0
0
0
0.012674
0.203835
991
37
80
26.783784
0.790875
0
0
0
0
0
0.388496
0.0222
0
0
0
0
0
1
0
false
0
0.137931
0
0.137931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e68a7efe5fb704c535ff7a5982b5a18ddc07817d
6,024
py
Python
utils/logmmse.py
dbonattoj/Real-Time-Voice-Cloning
7ce361b0e900cb0fad4289884f526578ba276481
[ "MIT" ]
3
2020-07-10T02:23:00.000Z
2021-08-17T12:35:09.000Z
utils/logmmse.py
amoliu/Real-Time-Voice-Cloning
7808d6f80aa9bbaffe367fde07b1c6f96cd3697e
[ "MIT" ]
1
2020-09-30T09:29:57.000Z
2020-10-31T15:38:50.000Z
utils/logmmse.py
amoliu/Real-Time-Voice-Cloning
7808d6f80aa9bbaffe367fde07b1c6f96cd3697e
[ "MIT" ]
5
2020-04-23T10:52:30.000Z
2021-08-17T12:35:19.000Z
# The MIT License (MIT) # # Copyright (c) 2015 braindead # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modif...
36.957055
100
0.659529
926
6,024
4.177106
0.292657
0.054292
0.015512
0.019648
0.192347
0.153568
0.096949
0.05455
0.04757
0.031024
0
0.03681
0.242364
6,024
162
101
37.185185
0.810692
0.3667
0
0.022472
0
0
0.035405
0
0
0
0
0
0
1
0.044944
false
0
0.044944
0
0.224719
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e68aea4ed97106ccbd90e2eca6ee1a3772751cb0
3,780
py
Python
lib/core/session.py
6un9-h0-Dan/CIRTKit
58b8793ada69320ffdbdd4ecdc04a3bb2fa83c37
[ "MIT" ]
97
2017-12-18T15:19:28.000Z
2022-03-25T07:10:00.000Z
lib/core/session.py
robertdigital/CIRTKit
58b8793ada69320ffdbdd4ecdc04a3bb2fa83c37
[ "MIT" ]
1
2019-01-29T16:29:27.000Z
2019-01-29T16:29:27.000Z
lib/core/session.py
robertdigital/CIRTKit
58b8793ada69320ffdbdd4ecdc04a3bb2fa83c37
[ "MIT" ]
21
2018-04-04T18:12:13.000Z
2021-06-12T09:40:58.000Z
# This file is part of Viper - https://github.com/viper-framework/viper # See the file 'LICENSE' for copying permission. import time import datetime from lib.common.out import * from lib.common.objects import File from lib.core.database import Database from lib.core.investigation import __project__ class Session(ob...
36
101
0.603439
509
3,780
4.385069
0.29666
0.072581
0.024194
0.035842
0.12724
0.05914
0.05914
0.05914
0.030466
0.030466
0
0.007722
0.314815
3,780
104
102
36.346154
0.854054
0.22328
0
0.164179
0
0
0.085704
0
0
0
0
0
0
1
0.089552
false
0.014925
0.089552
0
0.268657
0.089552
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e68c436db086a9f75f4ec9a1c59f8bdd8afa7f45
1,028
py
Python
src/simple_report/xls/document.py
glibin/simple-report
1e68b2fe568d6f7a7d9332d0e83b9a21661419e0
[ "Apache-2.0" ]
null
null
null
src/simple_report/xls/document.py
glibin/simple-report
1e68b2fe568d6f7a7d9332d0e83b9a21661419e0
[ "Apache-2.0" ]
null
null
null
src/simple_report/xls/document.py
glibin/simple-report
1e68b2fe568d6f7a7d9332d0e83b9a21661419e0
[ "Apache-2.0" ]
null
null
null
#coding: utf-8 import xlrd from simple_report.core.document_wrap import BaseDocument, SpreadsheetDocument from simple_report.xls.workbook import Workbook from simple_report.xls.output_options import XSL_OUTPUT_SETTINGS class DocumentXLS(BaseDocument, SpreadsheetDocument): """ Обертка для отчетов в ...
25.7
79
0.614786
109
1,028
5.568807
0.53211
0.079077
0.079077
0.062603
0
0
0
0
0
0
0
0.001389
0.299611
1,028
39
80
26.358974
0.841667
0.150778
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e68c5bbc6721a5ef393bdd04f567f863f9c93e3b
3,810
py
Python
tests/ut/datavisual/common/test_error_handler.py
zengchen1024/mindinsight
228a448b46707e889efc1fb23502158e27ab56ca
[ "Apache-2.0" ]
null
null
null
tests/ut/datavisual/common/test_error_handler.py
zengchen1024/mindinsight
228a448b46707e889efc1fb23502158e27ab56ca
[ "Apache-2.0" ]
null
null
null
tests/ut/datavisual/common/test_error_handler.py
zengchen1024/mindinsight
228a448b46707e889efc1fb23502158e27ab56ca
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
36.990291
98
0.683727
464
3,810
5.387931
0.30819
0.0384
0.054
0.0368
0.578
0.578
0.5496
0.4756
0.3796
0.3796
0
0.015589
0.208661
3,810
102
99
37.352941
0.813599
0.24357
0
0.589286
0
0
0.099013
0
0
0
0
0
0.160714
1
0.107143
false
0
0.125
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
e68c634de73f166e370b403383fc377943dc8b21
4,796
py
Python
pipeline_sdk/api/build/cancel_build_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
pipeline_sdk/api/build/cancel_build_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
pipeline_sdk/api/build/cancel_build_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cancel_build.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
35.791045
399
0.755004
591
4,796
5.832487
0.240271
0.039455
0.048738
0.034813
0.466783
0.441833
0.43371
0.411662
0.389614
0.389614
0
0.035342
0.120934
4,796
133
400
36.06015
0.782258
0.062969
0
0.559633
1
0.009174
0.191485
0.139545
0
0
0
0
0
1
0
false
0
0.055046
0
0.055046
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e68dece75266882db686c493e81051a931627936
5,118
py
Python
src/.ipynb_checkpoints/headpose_model-checkpoint.py
geochri/Intel_Edge_AI-Computer_Pointer_controller
068947fa0cbe0c5d1b74e2c0eb69a85bbc439131
[ "MIT" ]
null
null
null
src/.ipynb_checkpoints/headpose_model-checkpoint.py
geochri/Intel_Edge_AI-Computer_Pointer_controller
068947fa0cbe0c5d1b74e2c0eb69a85bbc439131
[ "MIT" ]
3
2021-03-19T14:38:26.000Z
2022-03-12T00:43:27.000Z
src/.ipynb_checkpoints/headpose_model-checkpoint.py
geochri/Intel_Edge_AI-Computer_Pointer_controller
068947fa0cbe0c5d1b74e2c0eb69a85bbc439131
[ "MIT" ]
null
null
null
''' This is a sample class for a model. You may choose to use it as-is or make any changes to it. This has been provided just to give you an idea of how to structure your model class. ''' from openvino.inference_engine import IENetwork, IECore import numpy as np import os import cv2 import sys class Model_HeadPose: ...
41.609756
107
0.59789
636
5,118
4.685535
0.27044
0.030537
0.026175
0.021477
0.365772
0.263423
0.252349
0.252349
0.230201
0.204698
0
0.006941
0.296209
5,118
123
108
41.609756
0.820378
0.314771
0
0.151515
0
0
0.115198
0
0
0
0
0
0
1
0.090909
false
0
0.075758
0
0.227273
0.121212
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e691c0247838523436befe1e1ccaf96b1e1135db
374
py
Python
src/minisaml/internal/constants.py
HENNGE/minisaml
d96aa5d294eee60521ad3c7084e8659b25935cee
[ "Apache-2.0" ]
2
2020-09-13T15:55:50.000Z
2021-01-07T07:40:24.000Z
src/minisaml/internal/constants.py
HENNGE/minisaml
d96aa5d294eee60521ad3c7084e8659b25935cee
[ "Apache-2.0" ]
11
2020-08-26T12:27:39.000Z
2021-11-17T16:10:00.000Z
src/minisaml/internal/constants.py
HENNGE/minisaml
d96aa5d294eee60521ad3c7084e8659b25935cee
[ "Apache-2.0" ]
1
2021-10-07T11:49:28.000Z
2021-10-07T11:49:28.000Z
NAMES_SAML2_PROTOCOL = "urn:oasis:names:tc:SAML:2.0:protocol" NAMES_SAML2_ASSERTION = "urn:oasis:names:tc:SAML:2.0:assertion" NAMEID_FORMAT_UNSPECIFIED = "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" BINDINGS_HTTP_POST = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" DATE_TIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ" ...
53.428571
83
0.759358
68
374
3.985294
0.397059
0.118081
0.191882
0.221402
0.346863
0.232472
0.232472
0
0
0
0
0.02809
0.048128
374
6
84
62.333333
0.733146
0
0
0
0
0
0.564171
0.516043
0
0
0
0
0.166667
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e692205969e07efd17736b63f7c1d2bf34e22ac0
833
py
Python
Contests/Snackdown19_Qualifier/CHEFPRMS.py
PK-100/Competitive_Programming
d0863feaaa99462b2999e85dcf115f7a6c08bb8d
[ "MIT" ]
70
2018-06-25T21:20:15.000Z
2022-03-24T03:55:17.000Z
Contests/Snackdown19_Qualifier/CHEFPRMS.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
4
2018-09-04T13:12:20.000Z
2021-06-20T08:29:12.000Z
Contests/Snackdown19_Qualifier/CHEFPRMS.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
24
2018-12-26T05:15:32.000Z
2022-01-23T23:04:54.000Z
import math def square(n): tmp=round(math.sqrt(n)) if tmp*tmp==n: return False else: return True def semprime(n): ch = 0 if square(n)==False: return False for i in range(2, int(math.sqrt(n)) + 1): while n%i==0: n//=i ch+=1 if ch...
21.921053
53
0.457383
129
833
2.945736
0.248062
0.036842
0.047368
0.057895
0.184211
0.121053
0.121053
0.121053
0.121053
0
0
0.029126
0.381753
833
37
54
22.513514
0.708738
0.094838
0
0.314286
0
0
0.006649
0
0
0
0
0
0
1
0.085714
false
0
0.028571
0
0.285714
0.057143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e692cff5589dc59f4785c76fbfa11c53ff5a1d4e
305
py
Python
setup.py
arokem/afq-deep-learning
61d7746f03914d63c56253d10d0f6a21e6c78e90
[ "BSD-3-Clause" ]
null
null
null
setup.py
arokem/afq-deep-learning
61d7746f03914d63c56253d10d0f6a21e6c78e90
[ "BSD-3-Clause" ]
null
null
null
setup.py
arokem/afq-deep-learning
61d7746f03914d63c56253d10d0f6a21e6c78e90
[ "BSD-3-Clause" ]
2
2021-12-01T17:04:39.000Z
2022-01-20T22:53:40.000Z
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='This repository hosts some work-in-progress experiments applying deep learning to predict age using tractometry data.', author='Joanna Qiao', license='BSD-3', )
27.727273
136
0.718033
40
305
5.425
0.875
0.110599
0
0
0
0
0
0
0
0
0
0.015873
0.17377
305
10
137
30.5
0.845238
0
0
0
0
0
0.462295
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
1
e692fc94ab5c1ffa86ca1f2d1e72224d55aaebca
8,474
py
Python
make_base_container.py
thiagodasilva/runway
a5455e885302df534fcfff0470881fbd2ad8eed5
[ "Apache-2.0" ]
null
null
null
make_base_container.py
thiagodasilva/runway
a5455e885302df534fcfff0470881fbd2ad8eed5
[ "Apache-2.0" ]
null
null
null
make_base_container.py
thiagodasilva/runway
a5455e885302df534fcfff0470881fbd2ad8eed5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import argparse import os import random import requests import sys import tempfile import uuid from libs import colorprint from libs.cli import run_command SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__)) # assume well-known lvm volume group on host # ...later we'll figure out how to ...
36.683983
116
0.628039
950
8,474
5.350526
0.235789
0.02833
0.015345
0.022624
0.325595
0.228015
0.171749
0.171749
0.144009
0.126697
0
0.038862
0.274251
8,474
230
117
36.843478
0.787642
0.132405
0
0.209877
0
0
0.149945
0.005772
0
0
0
0
0
1
0.074074
false
0.006173
0.148148
0.006173
0.271605
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
e693812c79b01a653cf7ed97ebf4b0c9deae4584
1,687
py
Python
exercicios_antigos/ex_01.py
jfklima/prog_pratica
72c795e3372e46f04ce0c92c05187aec651777cf
[ "MIT" ]
null
null
null
exercicios_antigos/ex_01.py
jfklima/prog_pratica
72c795e3372e46f04ce0c92c05187aec651777cf
[ "MIT" ]
null
null
null
exercicios_antigos/ex_01.py
jfklima/prog_pratica
72c795e3372e46f04ce0c92c05187aec651777cf
[ "MIT" ]
null
null
null
"""Criar uma função que retorne min e max de uma sequência numérica aleatória. Só pode usar if, comparações, recursão e funções que sejam de sua autoria. Se quiser usar laços também pode. Deve informar via docstring qual é a complexidade de tempo e espaço da sua solução """ from math import inf def minimo_e_maxim...
23.760563
72
0.627742
227
1,687
4.550661
0.343612
0.131655
0.050339
0.043562
0.212972
0.116167
0.116167
0.116167
0.116167
0.116167
0
0.038843
0.28275
1,687
70
73
24.1
0.814876
0.318317
0
0.272727
0
0
0
0
0
0
0
0
0
1
0.151515
false
0
0.030303
0
0.424242
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e693c2c06b451b4433b40c8836d35627ae32d7b5
806
py
Python
docs/demos/theme_explorer/util.py
harisbal/dash-bootstrap-components
d7c91c08e0821ccfd81330db912cde71ec57c171
[ "Apache-2.0" ]
1
2021-05-08T08:21:41.000Z
2021-05-08T08:21:41.000Z
docs/demos/theme_explorer/util.py
harisbal/dash-bootstrap-components
d7c91c08e0821ccfd81330db912cde71ec57c171
[ "Apache-2.0" ]
null
null
null
docs/demos/theme_explorer/util.py
harisbal/dash-bootstrap-components
d7c91c08e0821ccfd81330db912cde71ec57c171
[ "Apache-2.0" ]
null
null
null
import dash_bootstrap_components as dbc import dash_html_components as html DBC_DOCS = ( "https://dash-bootstrap-components.opensource.faculty.ai/docs/components/" ) def make_subheading(label, link): slug = label.replace(" ", "") heading = html.H2( html.Span( [ label,...
23.028571
78
0.473945
79
806
4.683544
0.544304
0.054054
0.124324
0.097297
0
0
0
0
0
0
0
0.006237
0.403226
806
34
79
23.705882
0.762994
0
0
0.172414
0
0
0.233251
0.052109
0
0
0
0
0
1
0.034483
false
0
0.068966
0
0.137931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e693c649026985a8de2994906ab2b8b27870d123
2,858
py
Python
pytorch_toolbox/visualization/visdom_logger.py
MathGaron/pytorch_toolbox
2afd13e50ba71dfce66467a4b070d9b922668502
[ "MIT" ]
10
2018-02-26T04:51:11.000Z
2021-10-01T02:30:37.000Z
pytorch_toolbox/visualization/visdom_logger.py
MathGaron/pytorch_toolbox
2afd13e50ba71dfce66467a4b070d9b922668502
[ "MIT" ]
9
2017-11-16T16:11:16.000Z
2020-02-13T13:10:55.000Z
pytorch_toolbox/visualization/visdom_logger.py
MathGaron/pytorch_toolbox
2afd13e50ba71dfce66467a4b070d9b922668502
[ "MIT" ]
7
2018-02-12T19:06:14.000Z
2021-03-25T19:13:51.000Z
''' The visualization class provides an easy access to some of the visdom functionalities Accept as input a number that will be ploted over time or an image of type np.ndarray ''' from visdom import Visdom import numpy as np import numbers class VisdomLogger: items_iterator = {} items_to_visualize = {} w...
35.283951
120
0.569979
357
2,858
4.507003
0.336134
0.048477
0.03729
0.04972
0.24363
0.210068
0.181479
0.181479
0.181479
0.181479
0
0.001053
0.335199
2,858
80
121
35.725
0.845789
0.246326
0
0.389831
0
0
0.094349
0
0
0
0
0
0
1
0.067797
false
0
0.050847
0
0.20339
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
e6957e411e3b025a67a76d0f0a74f5d86329bb6f
2,683
py
Python
analytical/conditionnumber.py
gyyang/olfaction_evolution
434baa85b91f450e1ab63c6b9eafb8d370f1df96
[ "MIT" ]
9
2021-10-11T01:16:23.000Z
2022-01-13T14:07:08.000Z
analytical/conditionnumber.py
gyyang/olfaction_evolution
434baa85b91f450e1ab63c6b9eafb8d370f1df96
[ "MIT" ]
1
2021-10-30T09:49:08.000Z
2021-10-30T09:49:08.000Z
analytical/conditionnumber.py
gyyang/olfaction_evolution
434baa85b91f450e1ab63c6b9eafb8d370f1df96
[ "MIT" ]
null
null
null
"""Analyze condition number of the network.""" import numpy as np import matplotlib.pyplot as plt # import model def _get_sparse_mask(nx, ny, non, complex=False, nOR=50): """Generate a binary mask. The mask will be of size (nx, ny) For all the nx connections to each 1 of the ny units, only non connectio...
27.10101
85
0.621319
502
2,683
3.10757
0.23506
0.069231
0.023077
0.030769
0.335256
0.326923
0.314103
0.305769
0.291026
0.260256
0
0.029808
0.224748
2,683
98
86
27.377551
0.720192
0.200149
0
0.240741
1
0
0.050645
0
0
0
0
0
0
1
0.092593
false
0
0.037037
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1