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
a68c739ab7916b4de50c7192d0ae622ac8442c91
1,103
py
Python
tacotron/prepro.py
KanapaZombie/css10
5be5f0ade9f1853dc5e17e231b1762f731c514da
[ "Apache-2.0" ]
369
2018-05-11T06:46:19.000Z
2022-03-10T03:49:50.000Z
tacotron/prepro.py
cristianccq/tts_server
a847ca2d3d560377aa6ab6b1b58785f88afd13f0
[ "Apache-2.0" ]
11
2018-06-06T06:38:04.000Z
2021-10-04T19:00:21.000Z
tacotron/prepro.py
cristianccq/tts_server
a847ca2d3d560377aa6ab6b1b58785f88afd13f0
[ "Apache-2.0" ]
51
2018-06-05T23:11:46.000Z
2022-03-19T14:03:17.000Z
# -*- coding: utf-8 -*- #/usr/bin/python2 ''' By kyubyong park and tommy mulc. kbpark.linguist@gmail.com. tmulc18@gmail.com. https://www.github.com/kyubyong/tacotron ''' from __future__ import print_function from multiprocessing import Process, Pool from utils import load_spectrograms import os from data_load import ...
26.902439
88
0.708069
168
1,103
4.541667
0.488095
0.06291
0.094364
0.06291
0.180865
0.078637
0.078637
0
0
0
0
0.005203
0.12874
1,103
41
89
26.902439
0.788762
0.198549
0
0
0
0
0.068886
0
0
0
0
0
0
1
0.043478
false
0
0.391304
0
0.478261
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
1
0
0
0
0
1
a69030065f37d1ceaa437a120cc0c088fc97c6c9
363
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/video_pipeline/migrations/0007_delete_videopipelineintegration.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/video_pipeline/migrations/0007_delete_videopipelineintegration.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/video_pipeline/migrations/0007_delete_videopipelineintegration.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
# Generated by Django 2.2.16 on 2020-10-05 05:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('video_pipeline', '0006_remove_vempipelineintegration_vem_enabled_courses_percentage'), ] operations = [ migrations.DeleteModel( name='V...
21.352941
96
0.677686
36
363
6.638889
0.833333
0
0
0
0
0
0
0
0
0
0
0.071685
0.231405
363
16
97
22.6875
0.784946
0.126722
0
0
1
0
0.326984
0.28254
0
0
0
0
0
1
0
false
0
0.1
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a6a483414c5a9a20d568af93fc73cddda9bed154
939
py
Python
lizzy/configuration.py
scherniavsky/lizzy
b2bca022967042032aa5e4c3226d760cadc8db49
[ "Apache-2.0" ]
null
null
null
lizzy/configuration.py
scherniavsky/lizzy
b2bca022967042032aa5e4c3226d760cadc8db49
[ "Apache-2.0" ]
null
null
null
lizzy/configuration.py
scherniavsky/lizzy
b2bca022967042032aa5e4c3226d760cadc8db49
[ "Apache-2.0" ]
null
null
null
import environmental class Configuration: # pylint: disable=too-few-public-methods """ Configuration parameters to be fetched from the environment """ allowed_users = environmental.List('ALLOWED_USERS', None) allowed_user_pattern = environmental.Str('ALLOWED_USER_PATTERN', None) # Username patte...
42.681818
94
0.735889
110
939
6.072727
0.463636
0.239521
0.085329
0
0
0
0
0
0
0
0
0.001253
0.15016
939
21
95
44.714286
0.83584
0.197018
0
0
0
0
0.213896
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.928571
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
a6a7fe1e5500289a4a0adb8df3ba8f5a1a25d5ee
321
py
Python
dtlpy/examples/annotations_convert_to_yolo.py
dataloop-ai/dtlpy
2c73831da54686e047ab6aefd8f12a8e53ea97c2
[ "Apache-2.0" ]
10
2020-05-21T06:25:35.000Z
2022-01-07T20:34:03.000Z
dtlpy/examples/annotations_convert_to_yolo.py
dataloop-ai/dtlpy
2c73831da54686e047ab6aefd8f12a8e53ea97c2
[ "Apache-2.0" ]
22
2019-11-17T17:25:16.000Z
2022-03-10T15:14:28.000Z
dtlpy/examples/annotations_convert_to_yolo.py
dataloop-ai/dtlpy
2c73831da54686e047ab6aefd8f12a8e53ea97c2
[ "Apache-2.0" ]
8
2020-03-05T16:23:55.000Z
2021-12-27T11:10:42.000Z
def main(): import dtlpy as dl project = dl.projects.get(project_name='Jungle') dataset = project.datasets.get(dataset_name='Tigers') converter = dl.Converter() converter.convert_dataset(dataset=dataset, to_format='yolo', local_path='home/yolo_annotations/tigers')...
32.1
72
0.654206
37
321
5.513514
0.621622
0.137255
0
0
0
0
0
0
0
0
0
0
0.23053
321
9
73
35.666667
0.825911
0
0
0
0
0
0.137072
0.087227
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a6aaad79e67b39cf2d05994c6008bbfb39b65f3b
2,241
py
Python
.github/actions/explosion-bot-please/app/conf.py
tiangolo/spaCy
6c7ad304e4c6dcf1a678965470ce66837ac1d449
[ "BSD-3-Clause", "MIT" ]
5
2019-11-03T03:34:42.000Z
2021-06-09T10:00:07.000Z
.github/actions/explosion-bot-please/app/conf.py
tiangolo/spaCy
6c7ad304e4c6dcf1a678965470ce66837ac1d449
[ "BSD-3-Clause", "MIT" ]
2
2020-08-29T16:11:36.000Z
2020-08-29T18:53:02.000Z
.github/actions/explosion-bot-please/app/conf.py
tiangolo/spaCy
6c7ad304e4c6dcf1a678965470ce66837ac1d449
[ "BSD-3-Clause", "MIT" ]
2
2020-02-15T18:33:35.000Z
2022-02-13T14:11:41.000Z
from datetime import datetime from pathlib import Path from typing import List, Optional from github import Github from pydantic import AnyHttpUrl, BaseModel, BaseSettings, SecretStr, validator command_keyword = "@explosion-bot please" class PartialGitHubEventIssue(BaseModel): number: int class PartialGitHubE...
26.678571
80
0.687193
264
2,241
5.640152
0.325758
0.08865
0.060443
0.02552
0
0
0
0
0
0
0
0
0.218652
2,241
83
81
27
0.849229
0
0
0.063492
0
0
0.073628
0.011156
0
0
0
0
0.015873
1
0.047619
false
0
0.079365
0
0.634921
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
a6aacf13c5b3a4b59f264345eebb6f950a0f23ce
3,248
py
Python
Medical_Center/A3_Structuring/Vault Roof/PlaceBricksOnVault.py
Pirouz-Nourian/earthy_18
2f88d80c112d645f1a99cddf48860d44d0d72438
[ "CC-BY-4.0" ]
1
2020-12-28T17:24:31.000Z
2020-12-28T17:24:31.000Z
Medical_Center/A3_Structuring/Vault Roof/PlaceBricksOnVault.py
Pirouz-Nourian/earthy_18
2f88d80c112d645f1a99cddf48860d44d0d72438
[ "CC-BY-4.0" ]
null
null
null
Medical_Center/A3_Structuring/Vault Roof/PlaceBricksOnVault.py
Pirouz-Nourian/earthy_18
2f88d80c112d645f1a99cddf48860d44d0d72438
[ "CC-BY-4.0" ]
null
null
null
"""Provides a scripting component. Inputs: srf: Surface of vault brk_ht: Height of brick brk_len: Length of brick brk_width: Width of brick x_spacing: Horizontal space between bricks y_spacing: Vertical space between bricks Output: brick_out: brick BRep o...
29
83
0.66564
468
3,248
4.508547
0.346154
0.028436
0.020853
0.01327
0.051185
0.030332
0
0
0
0
0
0.017129
0.245074
3,248
111
84
29.261261
0.842985
0.197352
0
0.090909
0
0
0.010351
0
0
0
0
0
0
0
null
null
0
0.075758
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a6ab41a4d3c52727190b313a5896afa18d223cbc
3,777
py
Python
model/simplebase_model.py
lupalab/flowscan
a0fc8fd25cb62c9eeb6583c3d7505d54b969f88c
[ "MIT" ]
4
2019-10-09T09:03:49.000Z
2020-11-08T16:59:48.000Z
model/simplebase_model.py
lupalab/flowscan
a0fc8fd25cb62c9eeb6583c3d7505d54b969f88c
[ "MIT" ]
null
null
null
model/simplebase_model.py
lupalab/flowscan
a0fc8fd25cb62c9eeb6583c3d7505d54b969f88c
[ "MIT" ]
null
null
null
import tensorflow as tf # noqa import numpy as np # noqa from ..utils import nn # noqa import transforms as trans import conditionals as conds # noqa import likelihoods as likes from ..model import model as mod class SimpleBaseModel(mod.Model): # TODO: docstring. def __init__(self, transformations, ...
41.054348
79
0.621128
432
3,777
5.270833
0.347222
0.048309
0.036891
0.02635
0.098814
0.078612
0.067633
0.029864
0.029864
0
0
0.007277
0.308711
3,777
91
80
41.505495
0.864803
0.23749
0
0.034483
0
0
0.029475
0.007908
0
0
0
0.010989
0.017241
1
0.034483
false
0
0.12069
0
0.189655
0.017241
0
0
0
null
0
0
0
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
a6ba142ef741f4338e84769893182188e7de2bec
1,871
py
Python
main.py
EmoBSAMA/GomokuB
30bbaac84fd58c3b6837922a1286fa166bfc1e48
[ "Apache-2.0" ]
null
null
null
main.py
EmoBSAMA/GomokuB
30bbaac84fd58c3b6837922a1286fa166bfc1e48
[ "Apache-2.0" ]
null
null
null
main.py
EmoBSAMA/GomokuB
30bbaac84fd58c3b6837922a1286fa166bfc1e48
[ "Apache-2.0" ]
null
null
null
#初始化加载 version="0.0.1" #版本号 board = [[0 for i in range(15)] for j in range(15)] #内棋盘加载 boardsh=[[" " for i in range(15)] for j in range(15)] #外棋盘加载 a="" again="" x=0 y=0 ''' borad[x][y] 采用坐标轴形式表示 0=null,1=1P,2=2P ''' #调用其他文件函数 from AIChoose import * from Boardupdate import * from Judge import * def b...
19.694737
92
0.399252
221
1,871
4.371041
0.348416
0.014493
0.055901
0.022774
0.231884
0.182195
0.182195
0.182195
0.182195
0.182195
0
0.058781
0.263495
1,871
94
93
19.904255
0.483309
0.04062
0
0.173913
0
0
0.234843
0.15119
0
0
0
0
0
1
0.065217
false
0
0.065217
0
0.130435
0.26087
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a6ba4674c2a21a3463375676932f8f75d7339bfe
7,468
py
Python
limatix/steps/buttonstep.py
nscheirer/limatix
bd22ce349a59194834879aac5b2452d85d12293e
[ "BSD-3-Clause" ]
null
null
null
limatix/steps/buttonstep.py
nscheirer/limatix
bd22ce349a59194834879aac5b2452d85d12293e
[ "BSD-3-Clause" ]
3
2018-06-26T22:56:24.000Z
2018-07-09T18:33:00.000Z
limatix/steps/buttonstep.py
nscheirer/limatix
bd22ce349a59194834879aac5b2452d85d12293e
[ "BSD-3-Clause" ]
1
2022-03-03T19:26:11.000Z
2022-03-03T19:26:11.000Z
# This connects the push button to assigning a blank string value # to the specified parameter. import os import sys if "gi" in sys.modules: # gtk3 import gi gi.require_version('Gtk','3.0') from gi.repository import Gtk as gtk from gi.repository import Gdk as gdk from gi.repository import GObje...
32.754386
209
0.59601
780
7,468
5.530769
0.301282
0.059342
0.030134
0.026657
0.166203
0.151599
0.076263
0.022253
0.022253
0
0
0.00918
0.299813
7,468
227
210
32.898678
0.815835
0.192287
0
0.292208
0
0
0.128505
0
0
0
0
0
0
1
0.077922
false
0.142857
0.084416
0.012987
0.25974
0
0
0
0
null
0
0
0
0
0
0
0
0
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
a6bc64fb2b32388b90f56c13da85d8cdae207211
385
py
Python
src/python/codebay/common/twisted_error.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
5
2015-04-16T08:36:17.000Z
2017-05-12T17:20:12.000Z
src/python/codebay/common/twisted_error.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
null
null
null
src/python/codebay/common/twisted_error.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
4
2015-03-19T14:39:51.000Z
2019-01-23T08:22:55.000Z
""" Backported error classes for twisted. """ __docformat__ = 'epytext en' class VerifyError(Exception): """Could not verify something that was supposed to be signed. """ class PeerVerifyError(VerifyError): """The peer rejected our verify error. """ class CertificateError(Exception): """ We d...
21.388889
65
0.688312
45
385
5.8
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.207792
385
17
66
22.647059
0.855738
0.527273
0
0
0
0
0.067114
0
0
0
0
0
0
1
0
false
0
0
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
a6bc9315948fb594365e4c764823f872433836ef
2,626
py
Python
script/model/sklearn_like_model/NetModule/VGG16NetModule.py
demetoir/MLtools
8c42fcd4cc71728333d9c116ade639fe57d50d37
[ "MIT" ]
null
null
null
script/model/sklearn_like_model/NetModule/VGG16NetModule.py
demetoir/MLtools
8c42fcd4cc71728333d9c116ade639fe57d50d37
[ "MIT" ]
null
null
null
script/model/sklearn_like_model/NetModule/VGG16NetModule.py
demetoir/MLtools
8c42fcd4cc71728333d9c116ade639fe57d50d37
[ "MIT" ]
null
null
null
import tensorflow as tf from script.model.sklearn_like_model.NetModule.BaseNetModule import BaseNetModule from script.util.Stacker import Stacker from script.util.tensor_ops import CONV_FILTER_3311, relu, CONV_FILTER_2222 class VGG16NetModule(BaseNetModule): def __init__(self, x, n_classes, capacity=No...
43.04918
100
0.636329
342
2,626
4.605263
0.201754
0.188571
0.129524
0.161905
0.592381
0.592381
0.592381
0.592381
0.592381
0.592381
0
0.068241
0.274562
2,626
60
101
43.766667
0.75853
0.018279
0
0.47619
0
0
0.00558
0
0
0
0
0
0
1
0.047619
false
0
0.095238
0
0.166667
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
a6bdbd0dc35c8df43ed39b7437202b91fa4419c2
3,562
py
Python
pgoapi/protos/pogoprotos/data/telemetry/battle_party_telemetry_pb2.py
SkOODaT/Pgoapi
a0021998eb75f6b1a867d7348acb4fcf1298987d
[ "MIT" ]
1
2017-12-12T10:05:57.000Z
2017-12-12T10:05:57.000Z
pgoapi/protos/pogoprotos/data/telemetry/battle_party_telemetry_pb2.py
SkOODaT/Pgoapi
a0021998eb75f6b1a867d7348acb4fcf1298987d
[ "MIT" ]
null
null
null
pgoapi/protos/pogoprotos/data/telemetry/battle_party_telemetry_pb2.py
SkOODaT/Pgoapi
a0021998eb75f6b1a867d7348acb4fcf1298987d
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: pogoprotos/data/telemetry/battle_party_telemetry.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 go...
40.942529
424
0.793936
445
3,562
6.024719
0.283146
0.053338
0.07721
0.044759
0.43715
0.38605
0.336815
0.287579
0.183887
0.183887
0
0.033771
0.10219
3,562
86
425
41.418605
0.804565
0.077765
0
0.313433
1
0.014925
0.285148
0.249161
0
0
0
0
0
1
0
false
0
0.104478
0
0.104478
0
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
a6c2a7cda25fdf5b54c5684e8afb4b0ae15b0586
1,440
py
Python
loam/parts/xilinx/spartan3/usart.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
14
2017-10-08T09:16:10.000Z
2021-11-27T19:12:24.000Z
loam/parts/xilinx/spartan3/usart.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
7
2018-04-12T21:33:49.000Z
2018-08-21T22:14:20.000Z
loam/parts/xilinx/spartan3/usart.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
3
2018-07-24T04:55:02.000Z
2019-12-30T08:12:39.000Z
from magma import * from mantle import * from loam import Peripheral #from .peripherals.fifo import FIFO #from .peripherals.uart.tx import UARTTX class USART(Peripheral): name = 'usart' IO = ["RX", In(Bit), "TX", Out(Bit)] def __init__(self, fpga, name='usart0'): super(USART,self).__init__(fpga, ...
25.263158
76
0.58125
178
1,440
4.623596
0.382022
0.043742
0.047388
0.043742
0.051033
0
0
0
0
0
0
0.059524
0.3
1,440
56
77
25.714286
0.756944
0.391667
0
0.12
0
0
0.017503
0
0
0
0
0
0
1
0.2
false
0.04
0.12
0
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
a6d5e2d2f0757a13afeb353f13a2d35f475f02be
419
py
Python
ex-mundo3/ex090.py
PedroPegado/ex-cursoemvideo
46751a7238e6a142b639c4cc3acf1759411732d7
[ "MIT" ]
null
null
null
ex-mundo3/ex090.py
PedroPegado/ex-cursoemvideo
46751a7238e6a142b639c4cc3acf1759411732d7
[ "MIT" ]
null
null
null
ex-mundo3/ex090.py
PedroPegado/ex-cursoemvideo
46751a7238e6a142b639c4cc3acf1759411732d7
[ "MIT" ]
null
null
null
alunos = {'aluno':str(input('Digite o nome do aluno: ')),'media':float(input(f'Média do aluno: '))} print(f'Nome: {alunos["aluno"]}.') print(f'Média: {alunos["media"]}.') if alunos['media'] > 7: print(f'O aluno {alunos["aluno"]} foi aprovado.') else: print(f'O aluno {alunos["aluno"]} foi reprovado.') #PODERIA ...
32.230769
99
0.630072
68
419
3.882353
0.5
0.113636
0.083333
0.090909
0.19697
0.19697
0.19697
0
0
0
0
0.002793
0.145585
419
12
100
34.916667
0.734637
0.243437
0
0
0
0
0.584665
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
a6db9de345ec5ac60d8da60e5fd3eeff7080910b
174
py
Python
type_hints/typed_sample.py
Carsten-Leue/type-hints
839eff963d87d3ae93d7ae595b83962cf7cd570b
[ "MIT" ]
null
null
null
type_hints/typed_sample.py
Carsten-Leue/type-hints
839eff963d87d3ae93d7ae595b83962cf7cd570b
[ "MIT" ]
null
null
null
type_hints/typed_sample.py
Carsten-Leue/type-hints
839eff963d87d3ae93d7ae595b83962cf7cd570b
[ "MIT" ]
null
null
null
from typing import Tuple def add(a: int, b: int) -> int: return a + b x: int y: Tuple[int, str, float] if __name__ == '__main__': add(1, 2) add('1', '2')
10.235294
31
0.545977
30
174
2.9
0.633333
0.091954
0.114943
0
0
0
0
0
0
0
0
0.032
0.281609
174
17
32
10.235294
0.664
0
0
0
0
0
0.057471
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
a6dca8d7def2e345638cea69f75986e2b6644448
2,688
py
Python
TweetClassificationOnSpark/test_0.py
sampathsree/data-science-my-way
da3966f1363aa6de446671376b2621c351f695b4
[ "Apache-2.0" ]
null
null
null
TweetClassificationOnSpark/test_0.py
sampathsree/data-science-my-way
da3966f1363aa6de446671376b2621c351f695b4
[ "Apache-2.0" ]
null
null
null
TweetClassificationOnSpark/test_0.py
sampathsree/data-science-my-way
da3966f1363aa6de446671376b2621c351f695b4
[ "Apache-2.0" ]
null
null
null
import os import sys import string import csv,re,io import nltk os.environ['SPARK_HOME'] = "/home/sam/spark-1.6.1-bin-hadoop2.6/" sys.path.append("/home/sam/spark-1.6.1-bin-hadoop2.6/python") os.environ['PYSPARK_PYTHON'] = "/home/sam/anaconda3/bin/python3.5" try: from nltk.corpus import stopwords from nltk.s...
38.956522
97
0.736235
353
2,688
5.600567
0.422096
0.094588
0.064745
0.034901
0.13303
0.026302
0.026302
0.026302
0.026302
0
0
0.017444
0.146949
2,688
69
98
38.956522
0.844745
0.120164
0
0
0
0
0.163983
0.055932
0
0
0
0
0
1
0
false
0
0.490909
0
0.490909
0.054545
0
0
0
null
0
0
0
0
0
0
0
0
0
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
a6e20aafc1c33169fbaa119446b14a846bf1cbc2
3,689
py
Python
test/feature_relevant.py
loongson-zn/build
d4bedebfa046b763c316e31c98b48ed2779741b9
[ "BSL-1.0" ]
215
2015-01-10T17:16:34.000Z
2022-02-23T15:22:08.000Z
test/feature_relevant.py
loongson-zn/build
d4bedebfa046b763c316e31c98b48ed2779741b9
[ "BSL-1.0" ]
594
2015-01-22T16:17:55.000Z
2022-02-26T22:11:01.000Z
test/feature_relevant.py
loongson-zn/build
d4bedebfa046b763c316e31c98b48ed2779741b9
[ "BSL-1.0" ]
302
2015-02-03T01:20:29.000Z
2022-02-12T07:01:28.000Z
#!/usr/bin/python # Copyright 2018 Steven Watanabe # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.txt or copy at # https://www.bfgroup.xyz/b2/LICENSE.txt) # Tests the <relevant> feature import BoostBuild t = BoostBuild.Tester(use_test_config=False) t.write("xxx.jam", ...
25.797203
97
0.670371
579
3,689
4.259067
0.243523
0.011354
0.062044
0.046229
0.208435
0.191403
0.127332
0.068127
0.068127
0.06326
0
0.033389
0.188127
3,689
142
98
25.978873
0.789983
0.059908
0
0.252101
0
0.058824
0.920566
0.132871
0
0
0
0
0
1
0
false
0
0.151261
0
0.168067
0
0
0
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
a6e2ca6a09141d5ca140c6c80195d0fb8fb759f8
1,467
py
Python
pymls/layers/utils.py
cpplanes/pypw
717964d6a7df0f453c7327d350efa00333eccf3f
[ "MIT" ]
1
2019-06-27T07:01:18.000Z
2019-06-27T07:01:18.000Z
pymls/layers/utils.py
OlivierDAZEL/pymls
cd0e149f97f9c17f59125c827db5ca1b5b1d8630
[ "MIT" ]
3
2018-08-27T08:46:35.000Z
2021-06-01T22:32:48.000Z
pymls/layers/utils.py
OlivierDAZEL/pymls
cd0e149f97f9c17f59125c827db5ca1b5b1d8630
[ "MIT" ]
2
2019-08-29T11:56:38.000Z
2020-12-03T04:50:14.000Z
#! /usr/bin/env python # -*- coding:utf8 -*- # # utils.py # # This file is part of pymls, a software distributed under the MIT license. # For any question, please contact one of the authors cited below. # # Copyright (c) 2017 # Olivier Dazel <olivier.dazel@univ-lemans.fr> # Mathieu Gaborit <gaborit@kth.se> # Peter G...
34.928571
80
0.736196
205
1,467
5.219512
0.546341
0.051402
0.042056
0.033645
0
0
0
0
0
0
0
0.004181
0.184731
1,467
41
81
35.780488
0.890468
0.599182
0
0
0
0
0.111504
0
0
0
0
0
0
1
0.066667
false
0
0.266667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
a6f349d632ef7f3cca4048c92a1246b6414b54a3
1,504
py
Python
exercises/es/test_04_10.py
mariacamilagl/spacy-course
de9fcdfcbc75e6a8864e49f2f75ab1536969cb70
[ "MIT" ]
null
null
null
exercises/es/test_04_10.py
mariacamilagl/spacy-course
de9fcdfcbc75e6a8864e49f2f75ab1536969cb70
[ "MIT" ]
null
null
null
exercises/es/test_04_10.py
mariacamilagl/spacy-course
de9fcdfcbc75e6a8864e49f2f75ab1536969cb70
[ "MIT" ]
1
2020-06-08T13:26:06.000Z
2020-06-08T13:26:06.000Z
def test(): assert len(TRAINING_DATA) == 4, "Los datos de entrenamiento no concuerdan – esperaba 4 ejemplos." assert all( len(entry) == 2 and isinstance(entry[1], dict) for entry in TRAINING_DATA ), "Formato incorrecto de los datos de entrenamiento. Esperaba una lista de tuples dónde el segundo elem...
50.133333
125
0.65625
210
1,504
4.657143
0.495238
0.08589
0.07362
0.06953
0.179959
0.134969
0.134969
0.134969
0
0
0
0.027122
0.240027
1,504
29
126
51.862069
0.826772
0
0
0.071429
0
0.035714
0.586436
0
0
0
0
0
0.25
1
0.035714
true
0
0
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
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
a6f8fb4ecc21ebfd6c66b600ad50746bd6931bd3
1,779
py
Python
recipes/Python/580795_bind_all_tkinter_bug/recipe-580795.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/580795_bind_all_tkinter_bug/recipe-580795.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/580795_bind_all_tkinter_bug/recipe-580795.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
from __future__ import print_function import sys import collections import functools _handlers = collections.defaultdict(list) def _run_handlers(list_of_handlers, event): exc_info = None for func in list_of_handlers: try: func(event) except SystemExit: exc_info = sys.e...
24.369863
81
0.605958
218
1,779
4.665138
0.298165
0.061947
0.117994
0.025565
0.20649
0.041298
0
0
0
0
0
0.019531
0.280495
1,779
72
82
24.708333
0.775
0
0
0.150943
0
0
0.05059
0.016301
0
0
0
0
0
0
null
null
0
0.150943
null
null
0.113208
0
0
0
null
0
0
0
0
0
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
a6facbdd2af344085d37d8ff6edaf4e3ef7db96c
392
py
Python
EX./ex052.py
CamposRodrigo/Python
0c9a2214f710b76e012abbf8ea082a302f3f11f3
[ "MIT" ]
null
null
null
EX./ex052.py
CamposRodrigo/Python
0c9a2214f710b76e012abbf8ea082a302f3f11f3
[ "MIT" ]
null
null
null
EX./ex052.py
CamposRodrigo/Python
0c9a2214f710b76e012abbf8ea082a302f3f11f3
[ "MIT" ]
null
null
null
num = int(input('Digite um numero: ')) tot = 0 for c in range(1, num +1): if num% c == 0 : print('\033[33m', end='') tot += 1 else: print('\033[31m',end=' ') print('{}'.format(c) , end=' ') print('\n\033[mO numero {} foi divisivel {} vezes'.format(num, tot)) if tot == 2: print('E...
26.133333
68
0.52551
64
392
3.21875
0.515625
0.07767
0.087379
0.126214
0.15534
0
0
0
0
0
0
0.065972
0.265306
392
14
69
28
0.649306
0
0
0.142857
0
0
0.331633
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
a6ff16c4dc1df3b2c52bceef17f98d1904fa2b42
1,842
py
Python
src/easydmp/eventlog/migrations/0001_squashed_0002_switch_to_native_JSONField.py
hmpf/easydmp
650b241fedd839635335c1044f2d695f9c076e4c
[ "MIT" ]
5
2018-09-25T15:48:39.000Z
2020-06-04T11:56:36.000Z
src/easydmp/eventlog/migrations/0001_squashed_0002_switch_to_native_JSONField.py
hmpf/easydmp
650b241fedd839635335c1044f2d695f9c076e4c
[ "MIT" ]
233
2018-01-10T17:28:41.000Z
2022-03-30T09:38:03.000Z
src/easydmp/eventlog/migrations/0001_squashed_0002_switch_to_native_JSONField.py
hmpf/easydmp
650b241fedd839635335c1044f2d695f9c076e4c
[ "MIT" ]
2
2019-02-07T10:34:09.000Z
2019-03-12T07:25:09.000Z
# Generated by Django 3.2.3 on 2021-08-03 09:16 import django.core.serializers.json from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('contenttypes', '0002_remove_content_typ...
48.473684
198
0.65418
206
1,842
5.669903
0.378641
0.034247
0.047089
0.075342
0.291096
0.291096
0.291096
0.291096
0.291096
0.291096
0
0.015131
0.210641
1,842
37
199
49.783784
0.788171
0.02443
0
0
1
0
0.173816
0.083565
0
0
0
0
0
1
0
false
0
0.133333
0
0.266667
0
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
47070edea421c6ece49cc60be89e8a3177797333
367
py
Python
iam_docker_run/version.py
billtrust/iam-docker-run
3f951b54783a333af45e8ce149b0021e426ec0ae
[ "MIT" ]
62
2018-05-21T19:48:55.000Z
2021-05-18T13:25:13.000Z
iam_docker_run/version.py
billtrust/iam-docker-run
3f951b54783a333af45e8ce149b0021e426ec0ae
[ "MIT" ]
3
2019-05-15T15:20:40.000Z
2021-01-14T20:08:31.000Z
iam_docker_run/version.py
billtrust/iam-docker-run
3f951b54783a333af45e8ce149b0021e426ec0ae
[ "MIT" ]
5
2018-07-12T18:53:53.000Z
2020-12-16T22:55:10.000Z
__version__ = '0.3.7' __title__ = 'iam-docker-run' __description__ = 'Run Docker containers within the context of an AWS IAM Role, and other development workflow helpers.' __url__ = 'https://github.com/billtrust/iam-docker-run' __author__ = 'Doug Kerwin' __author_email__ = 'dwkerwin@gmail.com' __license__ = 'MIT' __key...
40.777778
120
0.741144
49
367
4.877551
0.734694
0.075314
0.100418
0
0
0
0
0
0
0
0
0.009259
0.117166
367
8
121
45.875
0.728395
0
0
0
0
0
0.583106
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
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
47071b17a1fea4bb58b3dc516c2488311173a5f8
271
py
Python
pouta/arcpy/test_data/my_arcpy_script.py
csc-training/geocomputing
1e8043c864fb663526d1c15cfd3bb390a1379181
[ "CC-BY-4.0" ]
25
2017-10-11T06:54:48.000Z
2022-03-14T07:27:07.000Z
pouta/arcpy/test_data/my_arcpy_script.py
csc-training/geocomputing
1e8043c864fb663526d1c15cfd3bb390a1379181
[ "CC-BY-4.0" ]
5
2020-04-15T08:02:10.000Z
2022-03-21T10:34:03.000Z
pouta/arcpy/test_data/my_arcpy_script.py
csc-training/geocomputing
1e8043c864fb663526d1c15cfd3bb390a1379181
[ "CC-BY-4.0" ]
17
2017-11-02T13:17:38.000Z
2022-03-28T12:54:46.000Z
import arcpy from arcpy.sa import * import os arcpy.env.overwriteOutput = True directory = "./output/" if not os.path.exists(directory): os.makedirs(directory) outFlowDirection = FlowDirection("./dem.tif", "NORMAL") outFlowDirection.save(directory+"flowdir.tif")
19.357143
55
0.749077
33
271
6.151515
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.114391
271
13
56
20.846154
0.845833
0
0
0
0
0
0.129151
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
470f32223302c0f501e1331e798f9f1e8796f9d5
859
py
Python
hydra/views.py
MaTachi/hydra
ac8539a5872900557c71bd5099a88ae6a96db14f
[ "MIT" ]
1
2015-10-03T03:36:19.000Z
2015-10-03T03:36:19.000Z
hydra/views.py
MaTachi/hydra
ac8539a5872900557c71bd5099a88ae6a96db14f
[ "MIT" ]
null
null
null
hydra/views.py
MaTachi/hydra
ac8539a5872900557c71bd5099a88ae6a96db14f
[ "MIT" ]
1
2015-10-03T03:36:24.000Z
2015-10-03T03:36:24.000Z
from django.views.generic import TemplateView, ListView from blog.models import Post class WelcomeView(ListView): template_name = 'hydra/welcome.html' def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context['page'] = 'index' return context def g...
26.030303
55
0.665891
100
859
5.55
0.4
0.108108
0.151351
0.091892
0.4
0.4
0.4
0.4
0.4
0.4
0
0.001471
0.208382
859
32
56
26.84375
0.814706
0
0
0.409091
0
0
0.10943
0.030268
0
0
0
0
0
1
0.181818
false
0
0.090909
0.045455
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
47156d251ef2d66722fe11db75262ded0ca816d7
930
py
Python
setup.py
etgalloway/fullqualname
c16fa82880219cf91cdcd5466db9bf2099592c59
[ "BSD-3-Clause" ]
1
2021-02-15T15:19:21.000Z
2021-02-15T15:19:21.000Z
setup.py
etgalloway/fullqualname
c16fa82880219cf91cdcd5466db9bf2099592c59
[ "BSD-3-Clause" ]
null
null
null
setup.py
etgalloway/fullqualname
c16fa82880219cf91cdcd5466db9bf2099592c59
[ "BSD-3-Clause" ]
null
null
null
"""Setup file for fullqualname.""" from setuptools import setup description = 'Fully qualified names for Python objects' with open('README.rst') as file: long_description = file.read() _classifiers = [ 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Langu...
26.571429
56
0.670968
97
930
6.360825
0.556701
0.184765
0.243112
0.126418
0
0
0
0
0
0
0
0.014647
0.192473
930
34
57
27.352941
0.806924
0.030108
0
0
0
0
0.504464
0.024554
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
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
471a768f6a5b6edb224feda16a413c1972aeb5cf
786
py
Python
Kattis/bestrelayteam.py
MohammadSalek/ACM-Problems
dd48b05d9d95df7b509a0c0f05a7147c7f0b8008
[ "MIT" ]
1
2018-10-25T11:45:14.000Z
2018-10-25T11:45:14.000Z
Kattis/bestrelayteam.py
MohammadSalek/ACM-Problems
dd48b05d9d95df7b509a0c0f05a7147c7f0b8008
[ "MIT" ]
null
null
null
Kattis/bestrelayteam.py
MohammadSalek/ACM-Problems
dd48b05d9d95df7b509a0c0f05a7147c7f0b8008
[ "MIT" ]
null
null
null
num = int(input()) first = [] second = [] for i in range(num): line = input().split(' ') name = line[0] t1 = float(line[1]) t2 = float(line[2]) first.append([name, t1]) second.append([name, t2]) first.sort(key=lambda x: x[1]) second.sort(key=lambda x: x[1]) total_time = 0 squad_list_of_lists =...
20.684211
45
0.55598
126
786
3.34127
0.301587
0.106888
0.130641
0.190024
0.194774
0.114014
0
0
0
0
0
0.04078
0.282443
786
37
46
21.243243
0.705674
0
0
0
0
0
0.001272
0
0
0
0
0
0
1
0
false
0
0
0
0
0.0625
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
4726c4776f1bc0920a04876d2bed895015e5f368
175
py
Python
Sem5SLLPYTHON/FINALS/partb/1b/1.py
tanisha03/5th-Sem-ISE
7adc291057e290572be3b52493a797aef167992f
[ "MIT" ]
1
2019-10-18T15:19:38.000Z
2019-10-18T15:19:38.000Z
Sem5SLLPYTHON/FINALS/partb/1b/1.py
tanisha03/5th-Sem-ISE
7adc291057e290572be3b52493a797aef167992f
[ "MIT" ]
2
2019-10-19T12:38:52.000Z
2019-12-23T11:05:18.000Z
Sem5SLLPYTHON/FINALS/partb/1b/1.py
tanisha03/5th-Sem-ISE
7adc291057e290572be3b52493a797aef167992f
[ "MIT" ]
19
2019-09-15T12:04:30.000Z
2020-10-02T13:21:28.000Z
def remdup(a): return list(set(a)) l=[] for i in range(0,5): l.append(input()) print(l) rev = l[::-1] print(rev) print(remdup(l)) print([i for i in range(0,10) if i%2==0])
15.909091
41
0.605714
39
175
2.717949
0.538462
0.075472
0.113208
0.207547
0.226415
0
0
0
0
0
0
0.053691
0.148571
175
10
42
17.5
0.657718
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0.1
0.2
0.4
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
47286c24abb318f2fdf7defc9f2b632d945c6b20
4,284
py
Python
reviewboard/hostingsvcs/management/commands/reset-github-tokens.py
amalik2/reviewboard
676aa2dce38ce619a74f2d4cb3cfae9bce21416e
[ "MIT" ]
2
2020-06-19T14:57:49.000Z
2020-06-19T15:17:40.000Z
reviewboard/hostingsvcs/management/commands/reset-github-tokens.py
amalik2/reviewboard
676aa2dce38ce619a74f2d4cb3cfae9bce21416e
[ "MIT" ]
1
2019-08-03T01:48:33.000Z
2019-08-03T01:48:33.000Z
reviewboard/hostingsvcs/management/commands/reset-github-tokens.py
amalik2/reviewboard
676aa2dce38ce619a74f2d4cb3cfae9bce21416e
[ "MIT" ]
null
null
null
"""Management command for resetting GitHub auth tokens.""" from __future__ import unicode_literals import getpass from django.utils.six.moves import input from django.utils.translation import ugettext as _ from djblets.util.compat.django.core.management.base import BaseCommand from reviewboard.hostingsvcs.errors im...
33.46875
78
0.544585
413
4,284
5.491525
0.341404
0.030864
0.022487
0.025573
0.074074
0.039683
0.039683
0
0
0
0
0
0.371382
4,284
127
79
33.732283
0.842183
0.171335
0
0.141026
0
0
0.145395
0
0
0
0
0
0
1
0.038462
false
0.089744
0.089744
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
472f057e2031f9bc81bc7f59e97e2222c3a39aa3
504
py
Python
archgenerator/ext/codewars/config.py
uriyyo/archgenerator
59c90b23a2318dadf60ab4c8bccbdc8a280f7deb
[ "MIT" ]
null
null
null
archgenerator/ext/codewars/config.py
uriyyo/archgenerator
59c90b23a2318dadf60ab4c8bccbdc8a280f7deb
[ "MIT" ]
null
null
null
archgenerator/ext/codewars/config.py
uriyyo/archgenerator
59c90b23a2318dadf60ab4c8bccbdc8a280f7deb
[ "MIT" ]
null
null
null
from ...configurator import add_config from ...platform import PlatformConfig SECTION_EMOJI = { "beta": "🌝", "retired": "😶", "1 kyu": "🏆", "2 kyu": "👑", "3 kyu": "💎", "4 kyu": "💍", "5 kyu": "🎯", "6 kyu": "🎩", "7 kyu": "🎁", "8 kyu": "🎒", } CONFIG: PlatformConfig = { ...
19.384615
51
0.555556
64
504
4.34375
0.546875
0.215827
0.122302
0
0
0
0
0
0
0
0
0.020305
0.218254
504
25
52
20.16
0.65736
0
0
0
0
0
0.289683
0.043651
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
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
5b2ddcaa3477446ae6f7d7ce229286e690da2623
1,002
py
Python
setup.py
MatthewTe/stockprice_database_api
5b4e16f4019cc842f7546044a866346b4602e371
[ "MIT" ]
null
null
null
setup.py
MatthewTe/stockprice_database_api
5b4e16f4019cc842f7546044a866346b4602e371
[ "MIT" ]
null
null
null
setup.py
MatthewTe/stockprice_database_api
5b4e16f4019cc842f7546044a866346b4602e371
[ "MIT" ]
null
null
null
import setuptools from os import path here = path.abspath(path.dirname(__file__)) with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="stockprice_db_api", version="0.1.1", description="A package that wraps the yfinance Yahoo Finance api in an api that interacts and ...
33.4
128
0.651697
115
1,002
5.565217
0.678261
0.11875
0.15625
0.1625
0
0
0
0
0
0
0
0.014031
0.217565
1,002
29
129
34.551724
0.802296
0
0
0
0
0
0.528942
0
0
0
0
0
0
1
0
false
0
0.08
0
0.08
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
5b37df305040b267e41623c89481330b6a04d964
294
py
Python
src/opencv4.py
Bridgie/image_video_processing
bbeb2b36875ff0217cc3594aaa0264d51e4bf29a
[ "MIT" ]
null
null
null
src/opencv4.py
Bridgie/image_video_processing
bbeb2b36875ff0217cc3594aaa0264d51e4bf29a
[ "MIT" ]
null
null
null
src/opencv4.py
Bridgie/image_video_processing
bbeb2b36875ff0217cc3594aaa0264d51e4bf29a
[ "MIT" ]
null
null
null
import numpy as np import cv2 img = cv2.imread('images/car.jpg', cv2.IMREAD_COLOR) img[55,55] = [255,255,255] px = img[55,55] img[100:150, 100:150] = [255,255,255] watch_face = img[37:111, 107:194] img[0:74, 0:87] = watch_face cv2.imshow('image', img) cv2.waitKey(0) cv2.destroyAllWindows
17.294118
52
0.690476
56
294
3.571429
0.517857
0.12
0.07
0
0
0
0
0
0
0
0
0.241245
0.12585
294
17
53
17.294118
0.536965
0
0
0
0
0
0.064407
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5b3eb9a59d30ebc5b2100178a11d6780be1970f4
609
py
Python
web/migrations/0027_auto_20181207_1713.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
2
2018-11-16T21:45:17.000Z
2019-02-03T19:55:46.000Z
web/migrations/0027_auto_20181207_1713.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
13
2018-08-17T19:12:11.000Z
2022-03-11T23:27:41.000Z
web/migrations/0027_auto_20181207_1713.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.1 on 2018-12-07 17:13 from django.db import migrations import django_resized.forms import web.models class Migration(migrations.Migration): dependencies = [ ('web', '0026_auto_20181203_2121'), ] operations = [ migrations.AlterField( model_name='user...
29
242
0.669951
76
609
5.197368
0.723684
0.065823
0.091139
0
0
0
0
0
0
0
0
0.080412
0.203612
609
20
243
30.45
0.734021
0.073892
0
0
1
0
0.099644
0.040925
0
0
0
0
0
1
0
false
0
0.214286
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5b42dc53299fa548a0c1accccb72bcdf81f6511f
2,233
py
Python
stellarpop/examples/testimator.py
Annarien/GravitationalLensesResources
55d653f95bfd1e19c66a64079b5af39ea1e000a5
[ "MIT" ]
null
null
null
stellarpop/examples/testimator.py
Annarien/GravitationalLensesResources
55d653f95bfd1e19c66a64079b5af39ea1e000a5
[ "MIT" ]
null
null
null
stellarpop/examples/testimator.py
Annarien/GravitationalLensesResources
55d653f95bfd1e19c66a64079b5af39ea1e000a5
[ "MIT" ]
null
null
null
from estimator import Estimator class Testimator(Estimator): def __init__(self,priors,data,model): self.data = data self.model = model Estimator.__init__(self,priors) def logLikelihood(self,pars): chi2 = 0. for datum in self.data: model = self.model(datu...
23.260417
79
0.65159
332
2,233
4.334337
0.35241
0.006949
0.019458
0.005559
0.008339
0.008339
0
0
0
0
0
0.036813
0.184953
2,233
95
80
23.505263
0.753846
0
0
0
0
0
0.113608
0
0
0
0
0
0
0
null
null
0
0.08
null
null
0.06
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5b468038ee7fba89f5d8c2bab7bb2b1746fe39e2
333
py
Python
bin/generate_presenters_mailchimp_list.py
koadman/abacbs2020
0c6a0ca31e7f2c807211b075cc1fa57e18830e00
[ "MIT" ]
1
2021-05-13T05:36:56.000Z
2021-05-13T05:36:56.000Z
bin/generate_presenters_mailchimp_list.py
koadman/abacbs2020
0c6a0ca31e7f2c807211b075cc1fa57e18830e00
[ "MIT" ]
null
null
null
bin/generate_presenters_mailchimp_list.py
koadman/abacbs2020
0c6a0ca31e7f2c807211b075cc1fa57e18830e00
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys presenter_file = open(sys.argv[1]) upload_links_file = open(sys.argv[2]) upload_links = {} for line in upload_links_file: d = line.rstrip().split('\t') upload_links[d[1]] = d[2] for line in presenter_file: d = line.rstrip().split('\t') print(line.rstrip()+'\t'+upload_...
23.785714
48
0.663664
56
333
3.785714
0.410714
0.259434
0.103774
0.141509
0.198113
0.198113
0
0
0
0
0
0.021127
0.147147
333
13
49
25.615385
0.725352
0.063063
0
0.2
0
0
0.019293
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.1
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
5b4717c67647463643ba1c4fc56164fd48626762
246
py
Python
playrcc/src/app/main.py
Gloryness/playrcc
3816a935f19c786db59ba5a46a98cc527053cc29
[ "MIT" ]
4
2020-09-24T14:25:01.000Z
2020-11-02T22:18:12.000Z
playrcc/src/app/main.py
Gloryness/playrcc
3816a935f19c786db59ba5a46a98cc527053cc29
[ "MIT" ]
null
null
null
playrcc/src/app/main.py
Gloryness/playrcc
3816a935f19c786db59ba5a46a98cc527053cc29
[ "MIT" ]
null
null
null
from sys import argv, exit as sys_exit from PyQt5.QtWidgets import QApplication if __name__ == '__main__': from gui import SecretCodeWindow app = QApplication(argv) win = SecretCodeWindow() win.show() sys_exit(app.exec_())
20.5
40
0.711382
31
246
5.290323
0.580645
0.085366
0
0
0
0
0
0
0
0
0
0.005102
0.203252
246
12
41
20.5
0.831633
0
0
0
0
0
0.032389
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5b49b170f736a14406b473a5637e55bf292787dd
1,354
py
Python
community/polls/tests.py
evinjaff/speedrunsunchained
335a127e6deffc280009ca86f2c4dd148c1629f0
[ "BSD-3-Clause-Clear" ]
1
2022-03-21T03:01:14.000Z
2022-03-21T03:01:14.000Z
community/polls/tests.py
evinjaff/speedrunsunchained
335a127e6deffc280009ca86f2c4dd148c1629f0
[ "BSD-3-Clause-Clear" ]
13
2022-03-21T18:07:43.000Z
2022-03-28T15:58:56.000Z
community/polls/tests.py
evinjaff/speedrunsunchained
335a127e6deffc280009ca86f2c4dd148c1629f0
[ "BSD-3-Clause-Clear" ]
null
null
null
import datetime from django.test import TestCase from django.utils import timezone from django.urls import reverse from .models import Game def create_question(question_text, days): """ Create a question with the given `question_text` and published the given number of `days` offset to now (negative fo...
33.85
84
0.712703
178
1,354
5.230337
0.382022
0.077336
0.128894
0.074114
0.39957
0.39957
0.075188
0
0
0
0
0.008364
0.205318
1,354
39
85
34.717949
0.856877
0.284343
0
0
0
0
0
0
0
0
0
0
0.117647
1
0.176471
false
0
0.294118
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
5b5c5c0c557a7e3a2af3c30ec7b3509e3304e9d3
4,457
py
Python
bot/plugins/inline.py
Roshan-Here/Eval-Code
3def7f40ac84991e347a622ec6063d8827bf379d
[ "Apache-2.0" ]
14
2021-09-10T08:06:14.000Z
2022-01-11T16:57:05.000Z
bot/plugins/inline.py
Roshan-Here/Eval-Code
3def7f40ac84991e347a622ec6063d8827bf379d
[ "Apache-2.0" ]
null
null
null
bot/plugins/inline.py
Roshan-Here/Eval-Code
3def7f40ac84991e347a622ec6063d8827bf379d
[ "Apache-2.0" ]
19
2021-09-10T08:06:03.000Z
2022-01-29T11:28:45.000Z
# © its-leo-bitch from bot import bot from bot.utils import langs, lang_names from pyrogram import types, errors from piston import Piston import asyncio import time piston = Piston() execute = {} NEXT_OFFSET = 25 @bot.on_inline_query() async def inline_exec(client, query): string = query.query offset = in...
36.235772
100
0.412385
339
4,457
5.280236
0.330383
0.043017
0.026816
0.070391
0.289385
0.194972
0.126816
0.126816
0.082123
0
0
0.006754
0.501683
4,457
122
101
36.532787
0.798739
0.003365
0
0.286957
0
0.008696
0.083784
0.03018
0
0
0
0
0
1
0
false
0
0.052174
0
0.078261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5b5d225aa74baab365574b5ca73e28c6c1699bee
3,378
py
Python
app/grandchallenge/algorithms/migrations/0010_auto_20190827_1159.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
1
2021-02-09T10:30:44.000Z
2021-02-09T10:30:44.000Z
app/grandchallenge/algorithms/migrations/0010_auto_20190827_1159.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
null
null
null
app/grandchallenge/algorithms/migrations/0010_auto_20190827_1159.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-27 11:59 import uuid import django.db.models.deletion import django_extensions.db.fields from django.db import migrations, models import grandchallenge.challenges.models class Migration(migrations.Migration): dependencies = [ ("auth", "0011_update_proxy_permissio...
33.117647
80
0.425992
227
3,378
6.167401
0.431718
0.034286
0.05
0.078571
0.213571
0.182143
0.182143
0.155714
0.155714
0.121429
0
0.031339
0.480462
3,378
101
81
33.445545
0.766382
0.013321
0
0.333333
1
0
0.126388
0.037526
0
0
0
0
0
1
0
false
0
0.053763
0
0.086022
0
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
5b6003e884519bc7f0d42383afceb3c569b3adba
743
py
Python
Examples/WorkingWithOutlookMSGs/SavingMessageInDraftStatus.py
Muzammil-khan/Aspose.Email-Python-Dotnet
04ca3a6f440339f3ddf316218f92d15d66f24e7e
[ "MIT" ]
5
2019-01-28T05:17:12.000Z
2020-04-14T14:31:34.000Z
Examples/WorkingWithOutlookMSGs/SavingMessageInDraftStatus.py
Muzammil-khan/Aspose.Email-Python-Dotnet
04ca3a6f440339f3ddf316218f92d15d66f24e7e
[ "MIT" ]
1
2019-01-28T16:07:26.000Z
2021-11-25T10:59:52.000Z
Examples/WorkingWithOutlookMSGs/SavingMessageInDraftStatus.py
Muzammil-khan/Aspose.Email-Python-Dotnet
04ca3a6f440339f3ddf316218f92d15d66f24e7e
[ "MIT" ]
6
2018-07-16T14:57:34.000Z
2020-08-30T05:59:52.000Z
from aspose.email import MailMessage from aspose.email.storage.pst import * from aspose.email.mime import HeaderCollection import aspose.email.mapi.msg as msg from aspose.email.mapi import MapiMessage, MapiProperty, MapiMessageFlags def run(): dataDir = "Data/" #ExStart: SavingMessageInDraftStatus # Create an insta...
28.576923
73
0.787349
88
743
6.522727
0.534091
0.095819
0.10453
0
0
0
0
0
0
0
0
0
0.133244
743
25
74
29.72
0.891304
0.236878
0
0
0
0
0.167558
0.060606
0
0
0
0
0
1
0.071429
false
0
0.357143
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
5b64bbd29a49d4cd3a48bf21797ac1cf633d477f
793
py
Python
capitulo-08/ex15.py
bryan-lima/exercicios-livro-introd-prog-python-3ed
b6bc26dced9728510865704a80cb0d97f81f756b
[ "MIT" ]
3
2021-11-09T17:54:10.000Z
2022-01-30T22:32:25.000Z
capitulo-08/ex15.py
bryan-lima/exercicios-livro-introd-prog-python-3ed
b6bc26dced9728510865704a80cb0d97f81f756b
[ "MIT" ]
null
null
null
capitulo-08/ex15.py
bryan-lima/exercicios-livro-introd-prog-python-3ed
b6bc26dced9728510865704a80cb0d97f81f756b
[ "MIT" ]
null
null
null
# Utilizando a função type, escreva uma função recursiva que imprima os elementos de uma lista # Cada elemento deve ser impresso separadamente, um por linha # Considere o caso de listas dentro de listas, como L = [1, [2, 3, 4, [5, 6, 7]]] # A cada nível, imprima a lista mais à direita, como fazemos para indentar blocos...
33.041667
130
0.663304
127
793
4.086614
0.551181
0.075145
0.011561
0.015414
0.030829
0.030829
0.030829
0.030829
0
0
0
0.028192
0.239596
793
23
131
34.478261
0.832504
0.568726
0
0
0
0
0.008929
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.083333
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
5b6574434d63bd8739a73a54c35d07c52702d5a0
858
py
Python
golf/migrations/0029_auto_20170824_1036.py
kenrumer/scorekeeper
c7f22676e84dfdf6ca3361c6ff56719f68fce31f
[ "MIT" ]
null
null
null
golf/migrations/0029_auto_20170824_1036.py
kenrumer/scorekeeper
c7f22676e84dfdf6ca3361c6ff56719f68fce31f
[ "MIT" ]
null
null
null
golf/migrations/0029_auto_20170824_1036.py
kenrumer/scorekeeper
c7f22676e84dfdf6ca3361c6ff56719f68fce31f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-24 17:36 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('golf', '0028_tournamentdate_date'), ] ...
31.777778
159
0.624709
97
858
5.391753
0.670103
0.045889
0.053537
0.08413
0
0
0
0
0
0
0
0.036164
0.258741
858
26
160
33
0.786164
0.079254
0
0.105263
1
0
0.186597
0.031537
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
0
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
5b688948b5966c57bf1bcc364fd5b4b347fb9ab0
447
py
Python
incursion.py
george21-meet/meet2019y1lab5
f695abcf6fa3a43aa620d850ca026c4219bd7ffd
[ "MIT" ]
null
null
null
incursion.py
george21-meet/meet2019y1lab5
f695abcf6fa3a43aa620d850ca026c4219bd7ffd
[ "MIT" ]
null
null
null
incursion.py
george21-meet/meet2019y1lab5
f695abcf6fa3a43aa620d850ca026c4219bd7ffd
[ "MIT" ]
null
null
null
import turtle import random x=150 def square(turtle,x): turtle.fd(x) turtle.right(90) def draw(): x=150 t=turtle.Turtle() t.speed(0) t.color("yellow") s=turtle.Screen() s.colormode(255) s.bgcolor("black") for i in range(1000): r=random.randint(1,255) g=random.rand...
17.192308
31
0.548098
70
447
3.5
0.471429
0.159184
0.171429
0.208163
0
0
0
0
0
0
0
0.092063
0.295302
447
25
32
17.88
0.685714
0
0
0.090909
0
0
0.024609
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.181818
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
5b6dc341c4c6ad072f5f8c885c528ce5d4864f82
707
py
Python
tgz_update.py
caltechlibrary/caltechdata_migrate
839feab326eb0b412d740db64e96d7ad0048c295
[ "BSD-3-Clause" ]
1
2019-01-31T21:47:06.000Z
2019-01-31T21:47:06.000Z
tgz_update.py
caltechlibrary/caltechdata_migrate
839feab326eb0b412d740db64e96d7ad0048c295
[ "BSD-3-Clause" ]
null
null
null
tgz_update.py
caltechlibrary/caltechdata_migrate
839feab326eb0b412d740db64e96d7ad0048c295
[ "BSD-3-Clause" ]
null
null
null
from caltechdata_api import caltechdata_edit from caltechdata_api import get_metadata from update_doi import update_doi from requests import session import os,glob,json,csv,subprocess,datetime,copy token = os.environ['TINDTOK'] tgz_id = 293 #Need to update date and file mfname ='/data/tccon/metadata/tccon.ggg2014.jso...
33.666667
84
0.742574
101
707
5.089109
0.544554
0.029183
0.070039
0.093385
0
0
0
0
0
0
0
0.011327
0.125884
707
20
85
35.35
0.820388
0.09901
0
0
0
0
0.179528
0.124409
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
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
1
0
0
0
0
1
5b6e9e767321bdddfb2bec6646c24f6d116df458
942
py
Python
src/functionality/comm_funcs.py
cyphyhouse/CyPyHous3
9ba2e9681391d6b9773258bcc73b5e10f403dda7
[ "MIT" ]
4
2019-05-25T00:48:40.000Z
2019-09-16T05:20:29.000Z
src/functionality/comm_funcs.py
cyphyhouse/CyPyHous3
9ba2e9681391d6b9773258bcc73b5e10f403dda7
[ "MIT" ]
17
2019-05-22T20:05:46.000Z
2020-02-24T16:18:59.000Z
src/functionality/comm_funcs.py
cyphyhouse/CyPyHous3
9ba2e9681391d6b9773258bcc73b5e10f403dda7
[ "MIT" ]
2
2019-06-19T20:41:55.000Z
2022-02-16T13:09:40.000Z
# Copyright (c) 2019 CyPhyHouse. All Rights Reserved. import pickle import socket import src.objects.message as message MAX_UDP_SIZE = 65507 # https://en.wikipedia.org/wiki/User_Datagram_Protocol def send(msg: message.Message, ip: str, port: int, retry=1) -> None: """ :param msg: message to be sent :...
25.459459
76
0.649682
137
942
4.372263
0.547445
0.050083
0.040067
0.033389
0.046745
0
0
0
0
0
0
0.015647
0.253716
942
36
77
26.166667
0.836415
0.389597
0
0
0
0
0.032567
0
0
0
0
0.055556
0
1
0.083333
false
0
0.25
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
1
0
0
0
0
0
0
0
0
0
0
1
5b7035b483d0308dec2c857b3bb6479d308e8992
445
py
Python
test_app/urls.py
areski/django-registration
6b81200d25094c9048f364ef7d6e30313b04befd
[ "BSD-3-Clause" ]
null
null
null
test_app/urls.py
areski/django-registration
6b81200d25094c9048f364ef7d6e30313b04befd
[ "BSD-3-Clause" ]
null
null
null
test_app/urls.py
areski/django-registration
6b81200d25094c9048f364ef7d6e30313b04befd
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 from django.conf.urls.defaults import patterns, include, url from django.views.generic import TemplateView from registration.views import LoginView urlpatterns = patterns('', (r'^accounts/', include('registration.backends.default.urls')), url(r'^login/', LoginView.as_view(), name='login'), ...
40.454545
126
0.752809
55
445
6.018182
0.545455
0.060423
0
0
0
0
0
0
0
0
0
0.002481
0.094382
445
10
127
44.5
0.818859
0.029213
0
0
0
0
0.27907
0.169767
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5b7bfa837d6f96792dd90e769bc1542cc9169944
2,483
py
Python
dietbox/data/analysis/descriptions.py
emptymalei/statistical-tests
8b5d4d4965c431be458271b25cca56fa8e2bf01f
[ "MIT" ]
null
null
null
dietbox/data/analysis/descriptions.py
emptymalei/statistical-tests
8b5d4d4965c431be458271b25cca56fa8e2bf01f
[ "MIT" ]
null
null
null
dietbox/data/analysis/descriptions.py
emptymalei/statistical-tests
8b5d4d4965c431be458271b25cca56fa8e2bf01f
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from loguru import logger def count_column_values_within_ranges(df_inp, column_name, bins=None): """ Count the number of values of a specific column according to the define ranges. :param pd.DataFrame df_inp: pandas dataframe :param column_name: column name to b...
31.833333
85
0.680628
350
2,483
4.48
0.285714
0.076531
0.043367
0.058673
0.267219
0.131378
0.090561
0.090561
0.044643
0
0
0.012552
0.229964
2,483
77
86
32.246753
0.807531
0.129279
0
0.038462
0
0
0.079283
0
0
0
0
0.012987
0
1
0.038462
false
0
0.057692
0
0.134615
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5b7ed6c7c44c1a5a30fff02f98f318a2fd06126a
1,942
py
Python
DocTestExample.py
bri-a/BriTest
e10f5f9690182c8f74cd1ba0759aeb21d63753a8
[ "MIT" ]
null
null
null
DocTestExample.py
bri-a/BriTest
e10f5f9690182c8f74cd1ba0759aeb21d63753a8
[ "MIT" ]
null
null
null
DocTestExample.py
bri-a/BriTest
e10f5f9690182c8f74cd1ba0759aeb21d63753a8
[ "MIT" ]
null
null
null
#!/usr/bin/python3 ################################ # File Name: DocTestExample.py # Author: Chadd Williams # Date: 10/17/2014 # Class: CS 360 # Assignment: Lecture Examples # Purpose: Demonstrate PyTest ################################ # Run these test cases via: # chadd@bart:~> python3 -m doctest -v DocTestE...
19.227723
68
0.638517
288
1,942
4.305556
0.447917
0.020161
0.016935
0.017742
0.024194
0.024194
0.024194
0
0
0
0
0.038259
0.219361
1,942
100
69
19.42
0.779683
0.712152
0
0
0
0
0.215496
0
0
0
0
0
0
1
0.230769
false
0
0
0
0.384615
0.307692
0
0
0
null
0
0
0
0
0
0
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
5b8e2a420e7966d905f740635522f85c7214ea85
2,581
py
Python
test_run.py
aliostad/deep-learning-lang-detection
d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
test_run.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
test_run.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
import data_helper import keras import numpy as np import defs import precision_recall import sys import os import shutil import math def sq_error(vector1, vector2): if len(vector1) != len(vector2): raise ValueError("vectors not of the same size") return sum(math.pow(vector1[i] - vector2[i], 2) for i in range(...
28.054348
128
0.67067
392
2,581
4.27551
0.303571
0.057279
0.01074
0.01969
0.081742
0.061456
0
0
0
0
0
0.018252
0.193336
2,581
92
129
28.054348
0.786744
0
0
0.027778
0
0
0.07825
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.069444
0
0
0
null
0
0
0
0
0
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
5b8e64923b89888b06e15c7aedccc0965b140dce
1,317
py
Python
momos/utils.py
codetent/project_momos
424a46f901941ae0b0641a0c407a1e38ee121e72
[ "MIT" ]
2
2021-05-12T09:36:08.000Z
2022-01-10T16:55:52.000Z
momos/utils.py
codetent/project_momos
424a46f901941ae0b0641a0c407a1e38ee121e72
[ "MIT" ]
null
null
null
momos/utils.py
codetent/project_momos
424a46f901941ae0b0641a0c407a1e38ee121e72
[ "MIT" ]
null
null
null
from __future__ import annotations from contextlib import suppress from dataclasses import asdict from typing import TYPE_CHECKING if TYPE_CHECKING: from typing import Any, Callable, Iterable class Resolvable: """Placeholder for component which can be resolved to the actual object at a later time. """ ...
30.627907
92
0.625664
150
1,317
5.393333
0.486667
0.054388
0.059333
0.034611
0.066749
0
0
0
0
0
0
0
0.283219
1,317
42
93
31.357143
0.856992
0.189825
0
0.08
0
0
0.047252
0
0
0
0
0
0
1
0.16
false
0
0.2
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
5b951365e60d287b8c3915711fa1c03544fbdb6e
283
py
Python
src/abc/121/121_c.py
ryuichi1208/atcoder_stack
19ec81fb9a3edb44be422b79e98b23e8ff17ef60
[ "MIT" ]
null
null
null
src/abc/121/121_c.py
ryuichi1208/atcoder_stack
19ec81fb9a3edb44be422b79e98b23e8ff17ef60
[ "MIT" ]
null
null
null
src/abc/121/121_c.py
ryuichi1208/atcoder_stack
19ec81fb9a3edb44be422b79e98b23e8ff17ef60
[ "MIT" ]
null
null
null
import sys n, m = list(map(int, input().split())) l = [list(map(int, input().split())) for i in range(n)] l.sort() ans=0 tot=0 for i in range(n): for j in range(l[i][1]): ans+=1 tot+=l[i][0] if(m <= ans): print(tot) sys.exit()
15.722222
55
0.473498
51
283
2.627451
0.45098
0.156716
0.149254
0.223881
0.477612
0
0
0
0
0
0
0.025773
0.314488
283
17
56
16.647059
0.664948
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
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
5b990496ff07bc248a59b422c4e6d357e6ce8199
1,634
py
Python
src/vigorish/patch/bbref_games_for_date.py
a-luna/vigorish
6cede5ced76c7d2c9ad0aacdbd2b18c2f1ee4ee6
[ "MIT" ]
2
2021-07-15T13:53:33.000Z
2021-07-25T17:03:29.000Z
src/vigorish/patch/bbref_games_for_date.py
a-luna/vigorish
6cede5ced76c7d2c9ad0aacdbd2b18c2f1ee4ee6
[ "MIT" ]
650
2019-05-18T07:00:12.000Z
2022-01-21T19:38:55.000Z
src/vigorish/patch/bbref_games_for_date.py
a-luna/vigorish
6cede5ced76c7d2c9ad0aacdbd2b18c2f1ee4ee6
[ "MIT" ]
2
2020-03-28T21:01:31.000Z
2022-01-06T05:16:11.000Z
from dataclasses import dataclass, field from datetime import datetime import vigorish.database as db from vigorish.enums import DataSet from vigorish.patch.base import Patch, PatchList from vigorish.util.dt_format_strings import DATE_ONLY from vigorish.util.result import Result @dataclass class BBRefGamesForDatePat...
32.68
103
0.723378
229
1,634
4.759825
0.266376
0.06055
0.100917
0.062385
0.256881
0.193578
0.165138
0.165138
0.108257
0.108257
0
0
0.21175
1,634
49
104
33.346939
0.846273
0
0
0.153846
0
0
0.044676
0.044676
0
0
0
0
0
1
0.153846
false
0
0.179487
0.025641
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
5b9db1008be7bd7755136820711f15e427bae620
2,723
py
Python
aliyun/log/etl_core/restrict_config_parser.py
topdown618/aliyun-log-python-sdk
395949a5c307722e8223d926b366c50dacd32126
[ "MIT" ]
130
2017-03-31T07:41:46.000Z
2022-03-27T14:31:22.000Z
aliyun/log/etl_core/restrict_config_parser.py
topdown618/aliyun-log-python-sdk
395949a5c307722e8223d926b366c50dacd32126
[ "MIT" ]
170
2017-02-17T06:07:31.000Z
2022-03-17T02:32:42.000Z
aliyun/log/etl_core/restrict_config_parser.py
topdown618/aliyun-log-python-sdk
395949a5c307722e8223d926b366c50dacd32126
[ "MIT" ]
111
2017-01-16T07:35:01.000Z
2022-03-18T03:31:32.000Z
import ast import logging import six import sys TRUST_AST_TYPES = (ast.Call, ast.Module, ast.List, ast.Tuple, ast.Dict, ast.Name, ast.Num, ast.Str, ast.Assign, ast.Load) if sys.version_info[:2] == (3, 3): TRUST_AST_TYPES = TRUST_AST_TYPES + (ast.Bytes,) elif six.PY3: TRUST_AST_TYPES = TRUS...
32.807229
121
0.605215
339
2,723
4.696165
0.309735
0.039573
0.109925
0.140704
0.211055
0.090452
0.042714
0.042714
0
0
0
0.005416
0.254131
2,723
82
122
33.207317
0.778434
0
0
0.111111
0
0
0.206098
0
0
0
0
0
0
1
0.079365
false
0.079365
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
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
5ba195494b63f6205f95b88cf18756781087ef15
554
py
Python
atest/testdata/test_libraries/PythonLibUsingTimestamps.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
4
2016-01-13T13:48:28.000Z
2021-09-05T07:14:07.000Z
atest/testdata/test_libraries/PythonLibUsingTimestamps.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
atest/testdata/test_libraries/PythonLibUsingTimestamps.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
2
2018-01-18T22:00:17.000Z
2018-07-26T10:53:00.000Z
import time def timezone_correction(): dst = 3600 if time.daylight == 0 else 0 tz = 7200 + time.timezone return (tz + dst) * 1000 def timestamp_as_integer(): t = 1308419034931 + timezone_correction() print '*INFO:%d* Known timestamp' % t print '*HTML:%d* <b>Current</b>' % int(time.time() * 10...
27.7
64
0.637184
78
554
4.435897
0.435897
0.156069
0.080925
0.156069
0.271676
0.132948
0.132948
0
0
0
0
0.138636
0.205776
554
19
65
29.157895
0.647727
0
0
0.133333
0
0
0.176895
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.266667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5ba598e67eed7c7c24e1157a01138ea17026e6df
2,118
py
Python
liftaway/low_level.py
elj/liftaway
5c8a7dc7666c77c0b206f5f975bb6789b2b23ac1
[ "BSD-2-Clause" ]
null
null
null
liftaway/low_level.py
elj/liftaway
5c8a7dc7666c77c0b206f5f975bb6789b2b23ac1
[ "BSD-2-Clause" ]
null
null
null
liftaway/low_level.py
elj/liftaway
5c8a7dc7666c77c0b206f5f975bb6789b2b23ac1
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Liftaway Low-Level (GPIO and PCA) module.""" import random import busio import RPi.GPIO as GPIO from adafruit_pca9685 import PCA9685 from board import SCL, SDA from liftaway.constants import control_outputs i2c_bus = busio.I2C(SCL, SDA) pca = PCA9685(i2c_bus) def i...
24.917647
69
0.645892
309
2,118
4.275081
0.304207
0.09084
0.090083
0.127176
0.329296
0.291446
0.254353
0.202877
0.043906
0
0
0.024909
0.222852
2,118
84
70
25.214286
0.777643
0.205382
0
0.212766
0
0
0.047823
0
0
0
0.014715
0.011905
0
1
0.170213
false
0
0.12766
0
0.297872
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5ba657cb7bf3c5a5ee17b5d60ecf090ef4c44e06
504
py
Python
podcasts/migrations/0003_auto_20190901_1334.py
janwh/selfhosted-podcast-archive
d5a5ba870b12d1c4c38820097402b1a785fd487a
[ "Apache-2.0" ]
26
2018-06-18T13:04:25.000Z
2022-02-14T23:07:53.000Z
podcasts/migrations/0003_auto_20190901_1334.py
janwh/selfhosted-podcast-archive
d5a5ba870b12d1c4c38820097402b1a785fd487a
[ "Apache-2.0" ]
16
2018-05-03T19:34:07.000Z
2018-05-10T06:50:31.000Z
podcasts/migrations/0003_auto_20190901_1334.py
janwh/selfhosted-podcast-archive
d5a5ba870b12d1c4c38820097402b1a785fd487a
[ "Apache-2.0" ]
3
2018-10-05T20:43:25.000Z
2021-07-21T15:12:24.000Z
# Generated by Django 2.2.4 on 2019-09-01 11:34 from django.db import migrations, models import podcasts.models.common class Migration(migrations.Migration): dependencies = [ ('podcasts', '0002_episode_image'), ] operations = [ migrations.AlterField( model_name='podcast', ...
25.2
142
0.654762
58
504
5.568966
0.672414
0.086687
0.123839
0
0
0
0
0
0
0
0
0.049096
0.232143
504
19
143
26.526316
0.78553
0.089286
0
0
1
0
0.107221
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
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
5bbc618b552beebd487c561bb7cc81476f2e851d
6,952
py
Python
feature_extractor/main.py
jeschkies/nyan
d9738383f64b096c174966a8fe732a8b26ae95ad
[ "MIT" ]
2
2021-12-15T01:59:07.000Z
2021-12-15T01:59:10.000Z
feature_extractor/main.py
jeschkies/nyan
d9738383f64b096c174966a8fe732a8b26ae95ad
[ "MIT" ]
null
null
null
feature_extractor/main.py
jeschkies/nyan
d9738383f64b096c174966a8fe732a8b26ae95ad
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' @author: Karsten Jeschkies <jeskar@web.de> The MIT License (MIT) Copyright (c) 2012-2013 Karsten Jeschkies <jeskar@web.de> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"...
35.835052
102
0.565449
782
6,952
4.94757
0.349105
0.016283
0.008271
0.012923
0.095632
0.051693
0.051693
0.038253
0.038253
0.038253
0
0.00808
0.341341
6,952
193
103
36.020725
0.836864
0.023159
0
0.201613
0
0.008065
0.14452
0.017643
0
0
0
0
0
0
null
null
0.016129
0.080645
null
null
0.048387
0
0
0
null
0
0
0
0
0
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
5bc4cbb44a5bfe74124ac82d8e454d7f018e165a
7,570
py
Python
amplitude/__init__.py
seyeojumu/amplitude-python-2
397a73fc42117da739a25f8ac497eb4058e1db98
[ "Apache-2.0" ]
null
null
null
amplitude/__init__.py
seyeojumu/amplitude-python-2
397a73fc42117da739a25f8ac497eb4058e1db98
[ "Apache-2.0" ]
null
null
null
amplitude/__init__.py
seyeojumu/amplitude-python-2
397a73fc42117da739a25f8ac497eb4058e1db98
[ "Apache-2.0" ]
null
null
null
import time import uuid import requests # The source repo is here - https://github.com/DataGreed/amplitude-python # # Documentation of AmplitudeHTTP API: # https://developers.amplitude.com/docs/http-api-v2 # # Convert Curl queries - such as below to - python: # https://curl.trillworks.com/ # # TODO: Example HTTP...
35.209302
128
0.598811
918
7,570
4.777778
0.213508
0.017784
0.017556
0.010944
0.473324
0.44642
0.406749
0.406749
0.388053
0.388053
0
0.004338
0.330119
7,570
214
129
35.373832
0.86058
0.406737
0
0.166667
0
0
0.084894
0
0
0
0
0.018692
0.009259
1
0.092593
false
0
0.027778
0.018519
0.194444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5bc50c554db196c2fe9710a05770abbe0136f957
367
py
Python
tests/app/urls.py
Frojd/wagtail-recycle-bin
6459f3a2a7ff9cfba8c36e7546d0c794a9ff5bd2
[ "MIT" ]
1
2020-10-29T12:37:01.000Z
2020-10-29T12:37:01.000Z
tests/app/urls.py
Frojd/wagtail-recycle-bin
6459f3a2a7ff9cfba8c36e7546d0c794a9ff5bd2
[ "MIT" ]
null
null
null
tests/app/urls.py
Frojd/wagtail-recycle-bin
6459f3a2a7ff9cfba8c36e7546d0c794a9ff5bd2
[ "MIT" ]
null
null
null
import wagtail.admin.urls import wagtail.core.urls from django.conf import settings from django.conf.urls.static import static from django.urls import include, re_path urlpatterns = [ re_path(r"^admin/", include(wagtail.admin.urls)), re_path(r"", include(wagtail.core.urls)), ] urlpatterns += static(settings.S...
28.230769
78
0.776567
53
367
5.264151
0.339623
0.107527
0.114695
0
0
0
0
0
0
0
0
0
0.106267
367
12
79
30.583333
0.85061
0
0
0
0
0
0.019074
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
5bc56d1afeacb1b49da08e400fde322aafd9f9fc
395
py
Python
python/requests/params.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
python/requests/params.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
1
2016-09-15T07:06:15.000Z
2016-09-15T07:06:15.000Z
python/requests/params.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
#!/usr/bin/python import requests payload = { 'key': 'value', 'option': 'value', 'list': [ 'val1', 'val2' ] } response = requests.get('http://httpbin.org/get', params = payload) print(response) for key, value in response.json().items(): print(key, '' if isinstance(value, dict) else value) if isinstance(v...
28.214286
76
0.605063
52
395
4.596154
0.557692
0.066946
0.142259
0.175732
0
0
0
0
0
0
0
0.00625
0.189873
395
13
77
30.384615
0.740625
0.040506
0
0
0
0
0.161644
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.333333
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
5bc72761243561c06270a5ed549d4654d6e12624
9,977
py
Python
View/pesquisa_fornecedores.py
felipezago/ControleEstoque
229659c4f9888fd01df34375ec92af7a1f734d10
[ "MIT" ]
null
null
null
View/pesquisa_fornecedores.py
felipezago/ControleEstoque
229659c4f9888fd01df34375ec92af7a1f734d10
[ "MIT" ]
null
null
null
View/pesquisa_fornecedores.py
felipezago/ControleEstoque
229659c4f9888fd01df34375ec92af7a1f734d10
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'UI/pesquisa_fornecedores.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 im...
43.951542
106
0.694297
1,156
9,977
5.863322
0.233564
0.035409
0.095603
0.022721
0.351726
0.251402
0.181174
0.148421
0.078784
0.045441
0
0.027017
0.172697
9,977
226
107
44.146018
0.79416
0.028967
0
0.254717
1
0
0.170455
0.01188
0
0
0
0
0
1
0.009434
false
0
0.004717
0
0.018868
0
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
5bd3a8cfd9b02f6d1a68753c7af92f3b5e42a9e7
5,582
py
Python
4-Behavioral Patterns/9-Mediator Pattern/Phone Exchange Example (1-to-1)/Python/model.py
Ziang-Lu/Design-Patterns
7a8167a85456b481aba15d5eee5a64b116b00adc
[ "MIT" ]
2
2020-05-05T05:50:59.000Z
2021-04-12T14:19:34.000Z
4-Behavioral Patterns/9-Mediator Pattern/Phone Exchange Example (1-to-1)/Python/model.py
Ziang-Lu/Design-Patterns
7a8167a85456b481aba15d5eee5a64b116b00adc
[ "MIT" ]
null
null
null
4-Behavioral Patterns/9-Mediator Pattern/Phone Exchange Example (1-to-1)/Python/model.py
Ziang-Lu/Design-Patterns
7a8167a85456b481aba15d5eee5a64b116b00adc
[ "MIT" ]
null
null
null
#!usr/bin/env python3 # -*- coding: utf-8 -*- """ Model module. """ __author__ = 'Ziang Lu' import random from abc import ABC class PhoneExchange: """ PhoneExchange class that works as "Mediator". A "Mediator" object acts as the communication center for "ConcreteColleague" objects by encapsulating ...
30.336957
80
0.610176
610
5,582
5.339344
0.22623
0.070924
0.032238
0.01965
0.38778
0.318698
0.272951
0.226282
0.186982
0.169174
0
0.004587
0.297026
5,582
183
81
30.502732
0.825433
0.357578
0
0.173913
0
0
0.142429
0.054908
0
0
0
0
0
1
0.202899
false
0
0.028986
0.028986
0.478261
0.057971
0
0
0
null
0
0
0
0
0
0
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
5bd5cc727695a0cf6465bb5a1ded6ec38d596d3e
5,186
py
Python
exif-update.py
dpjanes/exif-update
b327890147f1026e14ef4b57d6557e1e7287960f
[ "Apache-2.0" ]
null
null
null
exif-update.py
dpjanes/exif-update
b327890147f1026e14ef4b57d6557e1e7287960f
[ "Apache-2.0" ]
null
null
null
exif-update.py
dpjanes/exif-update
b327890147f1026e14ef4b57d6557e1e7287960f
[ "Apache-2.0" ]
null
null
null
# # exif-update.py # # David Janes # 2018-08-06 # import sys import os import pprint import optparse import yaml import piexif import dateutil.parser import datetime import fractions ## define arguments parser = optparse.OptionParser() parser.add_option( "", "--debug", default = False, action = "sto...
25.174757
95
0.596799
679
5,186
4.463918
0.298969
0.04223
0.036952
0.017816
0.205873
0.108875
0.108875
0.108875
0.08776
0.028373
0
0.020154
0.27285
5,186
205
96
25.297561
0.783612
0.042422
0
0.18
0
0
0.103741
0
0
0
0
0
0
0
null
null
0.006667
0.06
null
null
0.046667
0
0
0
null
0
0
0
0
0
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
5be0dec10e56103adbc030d6d220f0d709d166dd
1,891
py
Python
scripts/generate_to_errors.py
IlyaGusev/nghack
6e08a8ca975fdad4c6893e519856c5074ad4b746
[ "Apache-2.0" ]
6
2019-12-16T11:53:47.000Z
2021-05-07T23:04:50.000Z
scripts/generate_to_errors.py
IlyaGusev/nghack
6e08a8ca975fdad4c6893e519856c5074ad4b746
[ "Apache-2.0" ]
null
null
null
scripts/generate_to_errors.py
IlyaGusev/nghack
6e08a8ca975fdad4c6893e519856c5074ad4b746
[ "Apache-2.0" ]
1
2020-01-07T11:01:31.000Z
2020-01-07T11:01:31.000Z
# coding: utf-8 import pandas as pd from tqdm import tqdm from razdel import tokenize def generate_errors(text): tokens = list(tokenize(text)) pos = 0 while pos < len(tokens): token = tokens[pos] token_text = token.text if token_text.lower() in {'тоже', 'также'}: yiel...
32.050847
108
0.516129
227
1,891
4.145374
0.295154
0.114772
0.074389
0.100956
0.398512
0.36238
0.255048
0.146653
0.146653
0
0
0.014481
0.342676
1,891
58
109
32.603448
0.742558
0.006875
0
0.340426
1
0
0.079424
0.01226
0
0
0
0
0
1
0.042553
false
0
0.06383
0
0.106383
0
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
5beadb57a634d11daab536c9b711c2677e4c8498
1,166
py
Python
core/script/http/middleware/basicauth.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
core/script/http/middleware/basicauth.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
core/script/http/middleware/basicauth.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
# ---------------------------------------------------------------------- # HTTP Basic Auth Middleware # ---------------------------------------------------------------------- # Copyright (C) 2007-2020 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # P...
31.513514
81
0.519726
114
1,166
5.219298
0.526316
0.040336
0.047059
0.053782
0.10084
0.10084
0
0
0
0
0
0.011879
0.205832
1,166
36
82
32.388889
0.63067
0.318182
0
0
0
0
0.07513
0
0
0
0
0
0
1
0.111111
false
0.277778
0.166667
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
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
5bec9cd237e1002750b36862bdeea7155570bcb1
3,568
py
Python
archive/nexus-api-v2/API/AWS/DNS/Schema.py
cloud-hybrid/delta
402b00ed5aaa32ccef628361e9635879b7ace44f
[ "BSD-3-Clause" ]
null
null
null
archive/nexus-api-v2/API/AWS/DNS/Schema.py
cloud-hybrid/delta
402b00ed5aaa32ccef628361e9635879b7ace44f
[ "BSD-3-Clause" ]
null
null
null
archive/nexus-api-v2/API/AWS/DNS/Schema.py
cloud-hybrid/delta
402b00ed5aaa32ccef628361e9635879b7ace44f
[ "BSD-3-Clause" ]
1
2022-01-03T05:33:15.000Z
2022-01-03T05:33:15.000Z
from Model import * from enum import Enum TLD = { 0: "url-list.com", 1: "social-url.com", 2: "social-url.link", 3: "socials.name" } class Meta(Model): """ ... """ Data: dict = None class Enumeration(str, Enum): @classmethod def MRO(cls) -> List[str]: """ ... ...
24.438356
82
0.599776
407
3,568
5.056511
0.307125
0.026239
0.014577
0.030126
0.093294
0.093294
0.093294
0.093294
0.093294
0.093294
0
0.078304
0.266256
3,568
145
83
24.606897
0.707792
0.05185
0
0.094017
0
0
0.2607
0.037713
0
0
0
0
0
1
0.042735
false
0
0.017094
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
5bef2b9458d845407a900c9d0c43c2732cb2fa3e
2,304
py
Python
examples/skeleton_clean.py
yingxz/CapstoneProject
b9b302fc801ca8c07912ce195a097d7377a24715
[ "CC-BY-4.0" ]
8
2018-10-28T21:42:26.000Z
2022-02-21T17:27:11.000Z
examples/skeleton_clean.py
yingxz/CapstoneProject
b9b302fc801ca8c07912ce195a097d7377a24715
[ "CC-BY-4.0" ]
3
2021-01-05T22:13:41.000Z
2021-03-02T23:52:54.000Z
examples/skeleton_clean.py
yingxz/CapstoneProject
b9b302fc801ca8c07912ce195a097d7377a24715
[ "CC-BY-4.0" ]
9
2018-02-07T14:52:45.000Z
2021-05-23T23:15:37.000Z
#!/usr/bin/env python """ Usage: python clean_data.py <path/to/file.csv> This program cleans a .csv data set Adapted from Marcus Sherman for GWC 2017-2018 """ import os import sys import numpy as np print(sys.version) def main(path_to_file): """ This is the main driver function of the script. Args: ...
33.391304
80
0.644531
347
2,304
4.161383
0.446686
0.037396
0.034626
0.031163
0.054017
0.054017
0
0
0
0
0
0.010309
0.284288
2,304
69
81
33.391304
0.865373
0.217882
0
0.1
0
0
0.141638
0
0
0
0
0.014493
0
1
0.05
false
0.05
0.15
0
0.3
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5bf11dc6504afd5b3c13447fe10eb24c09ee390f
597
py
Python
PythonCurso01/aula83TryExcept/exemplo09.py
AlissonAnjos21/Aprendendo
9454d9e53ef9fb8bc61bf481b6592164f5bf8695
[ "MIT" ]
null
null
null
PythonCurso01/aula83TryExcept/exemplo09.py
AlissonAnjos21/Aprendendo
9454d9e53ef9fb8bc61bf481b6592164f5bf8695
[ "MIT" ]
null
null
null
PythonCurso01/aula83TryExcept/exemplo09.py
AlissonAnjos21/Aprendendo
9454d9e53ef9fb8bc61bf481b6592164f5bf8695
[ "MIT" ]
null
null
null
try: palavra = 'Palavrinha' print(palavra) except NameError as erro: print('Ocorreu um NameError ', erro) # (Neste caso não será executado). except (KeyError, IndexError) as erro: print('Ocorreu um KeyError ou um IndexError ', erro) # (Neste caso não será executado). except Exception as erro: p...
28.428571
92
0.715243
77
597
5.545455
0.454545
0.042155
0.077283
0.126464
0.372365
0.23185
0.163934
0
0
0
0
0
0.19263
597
20
93
29.85
0.885892
0.283082
0
0.142857
0
0
0.364066
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
5bf4e1a7bdd59ce8fa2ed4cb5579d1956efc3bfe
624
py
Python
clickhouse/tests/utils.py
jstoja/integrations-core
704fa31f7db642c6df9e0969b3b2778fc6144fa7
[ "BSD-3-Clause" ]
null
null
null
clickhouse/tests/utils.py
jstoja/integrations-core
704fa31f7db642c6df9e0969b3b2778fc6144fa7
[ "BSD-3-Clause" ]
null
null
null
clickhouse/tests/utils.py
jstoja/integrations-core
704fa31f7db642c6df9e0969b3b2778fc6144fa7
[ "BSD-3-Clause" ]
1
2019-12-23T13:35:17.000Z
2019-12-23T13:35:17.000Z
# (C) Datadog, Inc. 2019 # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import re import requests METRIC_PATTERN = re.compile(r'\s+M\((?P<metric>\w+),\s*"(?P<description>[^"]+)"\)\s*\\?') def parse_described_metrics(url): text = requests.get(url, timeout=10).text metrics =...
26
90
0.68109
92
624
4.543478
0.641304
0.062201
0
0
0
0
0
0
0
0
0
0.013283
0.155449
624
23
91
27.130435
0.779886
0.171474
0
0
0
0
0.128906
0.111328
0
0
0
0
0
1
0.272727
false
0
0.181818
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
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
5bf6ed041be0d0f57d4b480e770763140fe48a74
370
py
Python
day_05_1.py
andersonjonathan/advent-of-code-2020
3a3c46cb840553da292c41a1caa83a148f9fc241
[ "MIT" ]
1
2020-12-11T18:56:46.000Z
2020-12-11T18:56:46.000Z
day_05_1.py
andersonjonathan/advent-of-code-2020
3a3c46cb840553da292c41a1caa83a148f9fc241
[ "MIT" ]
null
null
null
day_05_1.py
andersonjonathan/advent-of-code-2020
3a3c46cb840553da292c41a1caa83a148f9fc241
[ "MIT" ]
null
null
null
from helper import get_input def decode_position(x): for z in ['f', 'F', 'l', 'L']: x = x.replace(''.join(z), '0') for o in ['b', 'B', 'r', 'R']: x = x.replace(''.join(o), '1') return int(x, 2) def main(): data = [decode_position(x) for x in get_input(5).split('\n') if x] print(m...
19.473684
70
0.516216
62
370
2.887097
0.532258
0.089385
0.167598
0.201117
0
0
0
0
0
0
0
0.014493
0.254054
370
18
71
20.555556
0.634058
0
0
0
0
0
0.054054
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.333333
0.083333
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
750be441a2d7672a45e81a2f1de41adfc96ec665
1,701
py
Python
account/urls.py
Moniter123/saltshaker
04da784207ddde516913a4b67bf47a2f5740b486
[ "Apache-2.0" ]
343
2015-12-31T06:33:03.000Z
2022-02-18T17:56:30.000Z
account/urls.py
Moniter123/saltshaker
04da784207ddde516913a4b67bf47a2f5740b486
[ "Apache-2.0" ]
35
2015-12-08T02:51:19.000Z
2020-06-08T08:56:52.000Z
account/urls.py
Moniter123/saltshaker
04da784207ddde516913a4b67bf47a2f5740b486
[ "Apache-2.0" ]
175
2016-01-20T10:06:37.000Z
2022-01-07T03:27:17.000Z
"""saltshaker URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
43.615385
78
0.718989
260
1,701
4.519231
0.230769
0.061277
0.051064
0.030638
0.147234
0.099574
0.06383
0.06383
0
0
0
0.005424
0.132863
1,701
38
79
44.763158
0.791186
0.3592
0
0
0
0
0.334257
0
0
0
0
0
0
1
0
false
0.052632
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
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
75185074923b39cd995260531bdf5c51a1bb3f31
1,808
py
Python
betagram/urls.py
UtkarshAgrawalDTU/Betagram
d0c82d87949361d7b66483c57ac2760eebd626fe
[ "MIT" ]
1
2020-03-22T17:30:30.000Z
2020-03-22T17:30:30.000Z
betagram/urls.py
UtkarshAgrawalDTU/Betagram
d0c82d87949361d7b66483c57ac2760eebd626fe
[ "MIT" ]
4
2021-04-08T19:17:13.000Z
2022-03-12T00:15:53.000Z
betagram/urls.py
UtkarshAgrawalDTU/Betagram
d0c82d87949361d7b66483c57ac2760eebd626fe
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from users.views import UserLogoutView, UserLoginView, UserRegisterView, ProfileView, EditProfileView, RequestView, FollowerListView, FollowingListView from django.conf.urls.static import static from . import settings from posts.views import PostCre...
58.322581
151
0.732854
189
1,808
6.910053
0.328042
0.079632
0.053599
0.05513
0.070444
0
0
0
0
0
0
0.001243
0.110066
1,808
31
152
58.322581
0.810441
0
0
0
0
0
0.260365
0.101161
0
0
0
0
0
1
0
false
0.172414
0.241379
0
0.241379
0
0
0
0
null
0
0
0
0
0
0
0
0
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
751908ecc667b9196f07ec9e4fc474a770885d2a
1,097
py
Python
loop/forms.py
Brian569/neighbourhood
ed4c4588f7278dc45d5b091acce526e155178bd0
[ "MIT" ]
null
null
null
loop/forms.py
Brian569/neighbourhood
ed4c4588f7278dc45d5b091acce526e155178bd0
[ "MIT" ]
null
null
null
loop/forms.py
Brian569/neighbourhood
ed4c4588f7278dc45d5b091acce526e155178bd0
[ "MIT" ]
null
null
null
from django import forms from .models import * class ProfileupdateForm(forms.ModelForm): class Meta: model = profileUser fields = ['profile_name', 'profile_pic', 'email', 'bio'] exclude = ['user', 'location'] class BussinessForm(forms.ModelForm): class Meta: model = Bussiness ...
28.868421
113
0.617138
106
1,097
6.311321
0.40566
0.125561
0.170404
0.206278
0.251121
0
0
0
0
0
0
0
0.239745
1,097
38
114
28.868421
0.802158
0
0
0.266667
0
0
0.23224
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.466667
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
75201b6ee80f7bd4bf08fbfb4f612497dbe0a302
23,097
py
Python
pymer4/models/Lm.py
jcheong0428/pymer4
7e98fa28f5fdc01e8f786e381179c6b36067ef90
[ "MIT" ]
1
2021-09-26T14:55:54.000Z
2021-09-26T14:55:54.000Z
pymer4/models/Lm.py
jarrelscy/pymer4
248c25c0c17918c7a2ed61d86f42f7188e9aad94
[ "MIT" ]
null
null
null
pymer4/models/Lm.py
jarrelscy/pymer4
248c25c0c17918c7a2ed61d86f42f7188e9aad94
[ "MIT" ]
null
null
null
""" Pymer4 Lm Class =============== Main class for linear regression models """ from copy import copy import warnings import numpy as np import pandas as pd from patsy import dmatrices from scipy.stats import t as t_dist from joblib import Parallel, delayed from ..stats import rsquared, rsquared_adj from ..utils impo...
43.579245
1,040
0.582067
2,805
23,097
4.711943
0.219964
0.009079
0.007263
0.003934
0.155028
0.136945
0.116744
0.0917
0.081864
0.069607
0
0.010539
0.330389
23,097
529
1,041
43.661626
0.844045
0.411136
0
0.244898
0
0.002915
0.117406
0
0.005831
0
0
0
0
1
0.017493
false
0
0.029155
0
0.06414
0.049563
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7529611cd5a5c14d45409449189928651bea3140
2,942
py
Python
1 hasama.py
MotiMatika/teaching
71adf8160d2127391d4fce98b75e9269b546fb70
[ "MIT" ]
null
null
null
1 hasama.py
MotiMatika/teaching
71adf8160d2127391d4fce98b75e9269b546fb70
[ "MIT" ]
null
null
null
1 hasama.py
MotiMatika/teaching
71adf8160d2127391d4fce98b75e9269b546fb70
[ "MIT" ]
null
null
null
# השמת ערכים "שלם ,שבר עשרוני ומחרוזת לתוך תא #a=5 #השמת ערך לתא #print(a) #פלט הערך של תא #b=6 #השמת ערך לתא #a=b #השמת ערך של תא בי לתוך איי #print(a) #פלט של ערך תא איי-התוצאה 6 #print(b) #פלט של תא בי - התוצאה 6 #print(a,b) #פלט של ערכי 2 תאי...
26.267857
80
0.515296
419
2,942
3.618138
0.293556
0.05277
0.068602
0.029024
0.454485
0.425462
0.346966
0.346966
0.319261
0.300792
0
0.010902
0.314072
2,942
111
81
26.504505
0.740337
0.778722
0
0.526316
0
0
0.099206
0
0
0
0
0
0
1
0
false
0
0
0
0
0.421053
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
752b61d283922a9853a9fbc1967391681fc4e760
754
py
Python
app/db.py
ad4437/airwaves
6e6edb2e50c1ac9d49a0a37f28e22df302cc142c
[ "MIT" ]
3
2020-08-12T02:30:23.000Z
2020-08-12T02:30:42.000Z
app/db.py
ad4437/airwaves
6e6edb2e50c1ac9d49a0a37f28e22df302cc142c
[ "MIT" ]
1
2021-03-19T03:30:13.000Z
2021-03-19T03:30:13.000Z
app/db.py
ad4437/airwaves
6e6edb2e50c1ac9d49a0a37f28e22df302cc142c
[ "MIT" ]
null
null
null
"""Query the db """ import sqlite3 as sql import pandas as pd path_to_db = "monitor.db" def load(query, *args, path=path_to_db) -> pd.DataFrame: """Converts sqlite3 db query to pandas df @param[in] query - str with direct sql query (for more complex queries) @param[in] args - query args (passed into q...
21.542857
75
0.657825
106
754
4.528302
0.481132
0.0375
0.033333
0.045833
0.129167
0.129167
0.129167
0
0
0
0
0.003503
0.242706
754
34
76
22.176471
0.837128
0.396552
0
0
0
0
0.042654
0
0
0
0
0
0
1
0.071429
false
0.071429
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
753ab77d345a99b15d78c49b1024a0a1a9a5b11b
745
py
Python
manage.py
dansimau/flask-bootstrap
4a026d58f8722a008d22ce86bec3531850f64ba9
[ "MIT" ]
23
2015-03-20T13:00:36.000Z
2019-01-16T11:36:01.000Z
manage.py
dansimau/flask-bootstrap
4a026d58f8722a008d22ce86bec3531850f64ba9
[ "MIT" ]
null
null
null
manage.py
dansimau/flask-bootstrap
4a026d58f8722a008d22ce86bec3531850f64ba9
[ "MIT" ]
10
2015-05-25T07:38:07.000Z
2019-09-07T03:37:51.000Z
import subprocess from os.path import join from app import create_app from flask import current_app from flask.ext.script import Shell, Manager, Server manager = Manager(create_app) def _make_shell_context(): """ Shell context: import helper objects here. """ return dict(app=current_app) manager.ad...
21.911765
101
0.718121
102
745
5.009804
0.441176
0.058708
0.046967
0
0
0
0
0
0
0
0
0.0064
0.161074
745
33
102
22.575758
0.8112
0.084564
0
0
0
0
0.113671
0
0
0
0
0
0
1
0.111111
false
0
0.333333
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
753be6146d9a370d32cc835349d3d36f024dd02d
2,952
py
Python
src/easy_pyrpc/common/fncodecntr.py
olegkas/py-sandbox-rpc
5ca979a5838889e13e0203e01b7b4bcecc692ea0
[ "MIT" ]
null
null
null
src/easy_pyrpc/common/fncodecntr.py
olegkas/py-sandbox-rpc
5ca979a5838889e13e0203e01b7b4bcecc692ea0
[ "MIT" ]
null
null
null
src/easy_pyrpc/common/fncodecntr.py
olegkas/py-sandbox-rpc
5ca979a5838889e13e0203e01b7b4bcecc692ea0
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # Created Date: 2020-04-16 15:45:59 # Author: Oleg Kashaev # Contact: oleg.kashaev.4@gmail.com # ----- # MIT License # Copyright (c) 2020 Oleg Kashaev import types import logging class RpcFnCodeContatiner: def __init__(self, fn): self.code_descriptor = self.__...
32.086957
77
0.591463
314
2,952
5.312102
0.261147
0.167866
0.183453
0.029976
0.057554
0.039568
0.039568
0
0
0
0
0.009634
0.296748
2,952
91
78
32.43956
0.793834
0.060976
0
0.125
0
0
0.097685
0
0
0
0
0
0.013889
1
0.083333
false
0
0.027778
0.013889
0.194444
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
753e51bef46c8a7c5a9f3515130e36bf47aec578
8,927
py
Python
sqlserver/sqlite_library/sqlite_sql_support_py3.py
bopopescu/docker_images_a
348d0982c5962f2ae34d10183ed9522b7a6fe286
[ "MIT" ]
null
null
null
sqlserver/sqlite_library/sqlite_sql_support_py3.py
bopopescu/docker_images_a
348d0982c5962f2ae34d10183ed9522b7a6fe286
[ "MIT" ]
null
null
null
sqlserver/sqlite_library/sqlite_sql_support_py3.py
bopopescu/docker_images_a
348d0982c5962f2ae34d10183ed9522b7a6fe286
[ "MIT" ]
null
null
null
from .sqlite_server_lib_py3 import Construct_RPC_Library from redis_support_py3.graph_query_support_py3 import Query_Support from redis_support_py3.construct_data_handlers_py3 import Generate_Handlers import datetime import msgpack class SQLITE_Client_Support(Construct_RPC_Library): def __init__( self, qs...
37.351464
117
0.621485
1,073
8,927
4.905871
0.151911
0.095745
0.045213
0.035904
0.56478
0.528685
0.470365
0.428571
0.347074
0.347074
0
0.004277
0.240506
8,927
239
118
37.351464
0.772124
0.029349
0
0.375758
1
0
0.160238
0.005357
0
0
0
0
0
1
0.072727
false
0
0.121212
0
0.254545
0.260606
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
753f7c43412fca32bc635c37e46b705ba4866662
3,735
py
Python
core/minisim/models/mini_narrowing.py
AlekseyZhelo/pytorch-rl
01cacb91a5983b5cb5b47f010c57b9085ecac1ca
[ "MIT" ]
18
2018-03-22T13:08:35.000Z
2021-09-29T06:12:55.000Z
core/minisim/models/mini_narrowing.py
AlekseyZhelo/pytorch-rl
01cacb91a5983b5cb5b47f010c57b9085ecac1ca
[ "MIT" ]
null
null
null
core/minisim/models/mini_narrowing.py
AlekseyZhelo/pytorch-rl
01cacb91a5983b5cb5b47f010c57b9085ecac1ca
[ "MIT" ]
1
2021-08-01T06:10:16.000Z
2021-08-01T06:10:16.000Z
from __future__ import absolute_import from __future__ import division import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from core.minisim.util.normalization import apply_normalization, get_state_statistics from core.model import Model from utils....
39.734043
108
0.640964
545
3,735
4.144954
0.201835
0.037185
0.046038
0.055777
0.402833
0.260735
0.242143
0.208499
0.208499
0.173085
0
0.019816
0.243373
3,735
93
109
40.16129
0.779547
0.032664
0
0.069444
0
0
0.010538
0
0
0
0
0.010753
0
1
0.041667
false
0
0.138889
0
0.222222
0
0
0
0
null
0
0
0
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
7556d5d552a00799f45d62c65d60dd6364f764a9
14,671
py
Python
test/test_collectors.py
sapcc/swift-health-statsd
0d5f161085f93e1eed5943077e8cd8c46991626a
[ "Apache-2.0" ]
2
2016-10-02T05:44:04.000Z
2016-12-26T06:54:08.000Z
test/test_collectors.py
sapcc/swift-health-statsd
0d5f161085f93e1eed5943077e8cd8c46991626a
[ "Apache-2.0" ]
4
2016-12-22T07:52:49.000Z
2018-04-20T11:51:54.000Z
test/test_collectors.py
sapcc/swift-health-statsd
0d5f161085f93e1eed5943077e8cd8c46991626a
[ "Apache-2.0" ]
1
2020-04-01T11:49:06.000Z
2020-04-01T11:49:06.000Z
# Copyright 2017 SAP SE # # 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, softw...
58.684
97
0.728648
2,079
14,671
4.903319
0.154401
0.173043
0.092702
0.105945
0.649402
0.594369
0.588385
0.583088
0.575829
0.194722
0
0.18925
0.147843
14,671
249
98
58.919679
0.62614
0.09195
0
0.020619
0
0
0.598567
0.597284
0
0
0
0
0.010309
1
0.041237
false
0
0.020619
0.010309
0.082474
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7558c5dff9598825635db6851e954d1f99a2f301
1,237
py
Python
commands/ssh.py
sadeghmohebbi/DokkuAPI
c2f3269544ab5821c10880e81e3d22fa323e963c
[ "MIT" ]
null
null
null
commands/ssh.py
sadeghmohebbi/DokkuAPI
c2f3269544ab5821c10880e81e3d22fa323e963c
[ "MIT" ]
null
null
null
commands/ssh.py
sadeghmohebbi/DokkuAPI
c2f3269544ab5821c10880e81e3d22fa323e963c
[ "MIT" ]
null
null
null
import os import socket from paramiko.client import SSHClient, AutoAddPolicy from config import settings ssh_hostname = settings.SSH_HOSTNAME ssh_port = settings.SSH_PORT ssh_key_path = settings.SSH_KEY_PATH ssh_key_passphrase = settings.SSH_KEY_PASSPHRASE def __execute_command(command, username, commander='dokku'):...
30.925
80
0.683104
147
1,237
5.503401
0.387755
0.044499
0.037083
0.044499
0.168109
0.121137
0.121137
0
0
0
0
0.004171
0.224737
1,237
39
81
31.717949
0.839416
0
0
0.0625
0
0
0.023444
0
0
0
0
0
0
1
0.09375
false
0.0625
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7560f556638a576faa1b03ba0b08dec0bb986e82
2,111
py
Python
GalDynPsr/galpyMWBHRfo.py
pathakdhruv/GalDynPsr
ed9b582454c3a09a1351cdd2cd529a3a50068e1d
[ "BSD-3-Clause" ]
1
2019-05-06T03:37:21.000Z
2019-05-06T03:37:21.000Z
GalDynPsr/galpyMWBHRfo.py
pathakdhruv/GalDynPsr
ed9b582454c3a09a1351cdd2cd529a3a50068e1d
[ "BSD-3-Clause" ]
null
null
null
GalDynPsr/galpyMWBHRfo.py
pathakdhruv/GalDynPsr
ed9b582454c3a09a1351cdd2cd529a3a50068e1d
[ "BSD-3-Clause" ]
1
2020-04-09T06:17:28.000Z
2020-04-09T06:17:28.000Z
import math from galpy.potential import MWPotential2014 from galpy.potential import PowerSphericalPotentialwCutoff from galpy.potential import MiyamotoNagaiPotential from galpy.potential import NFWPotential from galpy.util import bovy_conversion from astropy import units from galpy.potential import KeplerPotential from...
36.396552
118
0.746566
296
2,111
5.226351
0.256757
0.090498
0.069813
0.093083
0.403361
0.403361
0.346477
0.346477
0.346477
0.346477
0
0.042982
0.129323
2,111
57
119
37.035088
0.798694
0.169114
0
0
0
0
0
0
0
0
0
0
0
1
0.037037
false
0
0.37037
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
f331e1aa2e6dd7a6d253daff77af51819f04b53c
1,122
py
Python
src/spiders/MainSpider.py
rfgil/quarere
1edd56379cb1fc883308f69a4b9bf7b606954d5d
[ "MIT" ]
null
null
null
src/spiders/MainSpider.py
rfgil/quarere
1edd56379cb1fc883308f69a4b9bf7b606954d5d
[ "MIT" ]
null
null
null
src/spiders/MainSpider.py
rfgil/quarere
1edd56379cb1fc883308f69a4b9bf7b606954d5d
[ "MIT" ]
null
null
null
import json from scrapy.spiders import Spider from scrapy.selector import Selector from Quarere.src import ProductItem, ProductLoader #scrapyd class MySpider(Spider): name = 'Estado Líquido' download_delay = 2 allowed_domains = ['estadoliquido.pt'] start_urls = ['https://estadoliquido.pt/pt/catalogo/l...
37.4
122
0.576649
122
1,122
5.245902
0.532787
0.05625
0.065625
0.053125
0
0
0
0
0
0
0
0.002336
0.237077
1,122
29
123
38.689655
0.744159
0.243316
0
0
0
0
0.209026
0.034442
0
0
0
0
0
1
0.058824
false
0
0.235294
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f336bb8db8ae557fc5493410fe6ffdd59aa241ef
292
py
Python
redes/urls.py
arthurcordeiro/redes-sociais-cd
1764fb34a71ef25b8c4d0859ec9208e7ab07a6ff
[ "MIT" ]
null
null
null
redes/urls.py
arthurcordeiro/redes-sociais-cd
1764fb34a71ef25b8c4d0859ec9208e7ab07a6ff
[ "MIT" ]
null
null
null
redes/urls.py
arthurcordeiro/redes-sociais-cd
1764fb34a71ef25b8c4d0859ec9208e7ab07a6ff
[ "MIT" ]
null
null
null
from django.urls import path from . import views from django.views.generic import TemplateView from redes.views import TwitterView, FacebookView urlpatterns = [ path('twitter', TwitterView.as_view(), name="twitter"), path('facebook', FacebookView.as_view(), name="facebook"), ]
26.545455
62
0.739726
35
292
6.114286
0.485714
0.093458
0.093458
0
0
0
0
0
0
0
0
0
0.140411
292
11
63
26.545455
0.85259
0
0
0
0
0
0.102389
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
f3378ef9f40b027e6d649f0a8793593c798050b1
3,596
py
Python
getlongestCDS.py
TaliaferroLab/AnalysisScripts
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
[ "MIT" ]
null
null
null
getlongestCDS.py
TaliaferroLab/AnalysisScripts
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
[ "MIT" ]
null
null
null
getlongestCDS.py
TaliaferroLab/AnalysisScripts
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
[ "MIT" ]
1
2021-10-30T07:37:19.000Z
2021-10-30T07:37:19.000Z
import gffutils import os from Bio import SeqIO import argparse def getCDScoords(gff): allCDScoords = {} #{ENSGENE_strand : [[cdsexon1start, cdsexon1stop], [cdsexon2start, cdsexon2stop]]} genecount = 0 noCDSexonscount = 0 #Make gff database print 'Indexing gff...' gff_fn = gff db_fn = os.path.basename(gff_fn) ...
32.396396
166
0.700222
451
3,596
5.48337
0.341463
0.008087
0.027497
0.040437
0.052568
0.029114
0.029114
0.029114
0.029114
0
0
0.012264
0.161012
3,596
111
167
32.396396
0.807425
0.090934
0
0.022727
0
0.011364
0.14312
0.007968
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.056818
0
0
0
null
0
0
0
0
0
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
f33dda2f0b543a1d2cc5ceee098547607d39c966
915
py
Python
0.Start-Gaussian-Class/Gaussian-Test-Inheritance.py
RocqJones/distributions_gauss_bi
e90cfc1f72842a389fe1f93c6882a38aab91b7c0
[ "MIT" ]
1
2020-06-14T18:57:53.000Z
2020-06-14T18:57:53.000Z
0.Start-Gaussian-Class/Gaussian-Test-Inheritance.py
RocqJones/distributions_gauss_bi
e90cfc1f72842a389fe1f93c6882a38aab91b7c0
[ "MIT" ]
null
null
null
0.Start-Gaussian-Class/Gaussian-Test-Inheritance.py
RocqJones/distributions_gauss_bi
e90cfc1f72842a389fe1f93c6882a38aab91b7c0
[ "MIT" ]
2
2021-08-19T09:44:38.000Z
2021-08-19T09:54:46.000Z
import unittest from GaussianMain import Distribution from GaussianMain import Gaussian # initialize two gaussian distributions gaussian_one = Gaussian(25, 3) gaussian_two = Gaussian(30, 2) # initialize a third gaussian distribution reading in a data efile gaussian_three = Gaussian() gaussian_three.read_data_file('nu...
26.142857
66
0.695082
107
915
5.728972
0.373832
0.169657
0.083197
0
0
0
0
0
0
0
0
0.007203
0.089617
915
35
67
26.142857
0.728691
0.24153
0
0.15
0
0
0.211901
0.195936
0
0
0
0
0
1
0
false
0
0.15
0
0.15
0.45
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
f3481fa0e6eec3567c85bda69e1fd747c9d093c4
6,658
py
Python
tsanet.py
cgiraldo/tsa-mininet
6e0507a9ead8e8268271aeb4d5d2e9a0648d1378
[ "Apache-2.0" ]
3
2019-10-14T10:57:39.000Z
2021-11-16T11:36:51.000Z
tsanet.py
cgiraldo/tsa-mininet
6e0507a9ead8e8268271aeb4d5d2e9a0648d1378
[ "Apache-2.0" ]
null
null
null
tsanet.py
cgiraldo/tsa-mininet
6e0507a9ead8e8268271aeb4d5d2e9a0648d1378
[ "Apache-2.0" ]
2
2019-05-12T13:57:08.000Z
2020-01-22T22:03:59.000Z
from subprocess import call from mininet.net import Mininet from mininet.link import TCLink from wireless import WirelessHost class TsaHost(WirelessHost): def __init__(self, net, name, *args, **kwargs): super(TsaHost, self).__init__(name, *args, **kwargs) self.net = net self.host = net.a...
47.557143
117
0.56924
862
6,658
4.102088
0.184455
0.016968
0.029412
0.029412
0.399887
0.334842
0.292421
0.216629
0.170814
0.116516
0
0.017489
0.330129
6,658
140
118
47.557143
0.775336
0.05392
0
0.17094
0
0.017094
0.093944
0.026069
0
0
0.00159
0
0
0
null
null
0
0.034188
null
null
0.017094
0
0
0
null
0
0
0
0
0
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
f348305cd514c42415e707054f392f098f502e6a
397
py
Python
payment/forms.py
theonlykingpin/snapfoodclone
0c1a7839424e89d9bc7bfb55c150a92055759702
[ "MIT" ]
11
2021-09-17T07:44:05.000Z
2022-02-06T08:33:30.000Z
payment/forms.py
theonlykingpin/snapfoodclone
0c1a7839424e89d9bc7bfb55c150a92055759702
[ "MIT" ]
1
2021-10-09T07:37:14.000Z
2021-10-09T07:37:14.000Z
payment/forms.py
theonlykingpin/snapfoodclone
0c1a7839424e89d9bc7bfb55c150a92055759702
[ "MIT" ]
3
2021-09-27T14:12:13.000Z
2021-10-18T12:21:37.000Z
from django import forms from address.models import CustomerAddress from gateway.models import Gateway class AddressSelectForm(forms.Form): address = forms.ModelChoiceField(queryset=CustomerAddress.objects.all(), widget=forms.RadioSelect) class GatewaySelectForm(forms.Form): gateway = forms.ModelChoiceFiel...
30.538462
111
0.81864
45
397
7.2
0.488889
0.074074
0.179012
0
0
0
0
0
0
0
0
0
0.093199
397
12
112
33.083333
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f35297f0f91412d4cebb029d9c0b8b6bbe5ff93d
1,160
py
Python
setup.py
NogaOs/wit
52387598eb1e9c793d8215529f4e17433dbaf291
[ "MIT" ]
null
null
null
setup.py
NogaOs/wit
52387598eb1e9c793d8215529f4e17433dbaf291
[ "MIT" ]
null
null
null
setup.py
NogaOs/wit
52387598eb1e9c793d8215529f4e17433dbaf291
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='Swit', packages=find_packages(where='Swit'), package_dir={"": "Swit"}, include_package_data=True, version='0.2', license='MIT', description='Swit is a basic open-source implementation of Git, meant for experimenting and studying Git\...
32.222222
139
0.618966
128
1,160
5.53125
0.703125
0.080508
0.105932
0.110169
0.076271
0.076271
0
0
0
0
0
0.013423
0.22931
1,160
35
140
33.142857
0.778523
0
0
0.060606
0
0
0.508621
0.018966
0
0
0
0
0
1
0
true
0
0.030303
0
0.030303
0
0
0
0
null
0
0
0
0
0
0
0
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
f359e44011742c638afe897322a8d7ce489926e6
2,493
py
Python
examples/paper_generation_code/2020-03-2-cluster-single_ephys_inferrence_full_file.py
CoMind-Technologies/deepinterpolation
2f583c4fdde4ed92139e40eb8076dd5b129d29d9
[ "Unlicense" ]
178
2020-10-16T19:51:21.000Z
2022-03-11T01:25:22.000Z
examples/paper_generation_code/2020-03-2-cluster-single_ephys_inferrence_full_file.py
CoMind-Technologies/deepinterpolation
2f583c4fdde4ed92139e40eb8076dd5b129d29d9
[ "Unlicense" ]
46
2020-10-17T14:28:23.000Z
2022-02-18T18:09:12.000Z
examples/paper_generation_code/2020-03-2-cluster-single_ephys_inferrence_full_file.py
CoMind-Technologies/deepinterpolation
2f583c4fdde4ed92139e40eb8076dd5b129d29d9
[ "Unlicense" ]
40
2020-10-18T19:01:27.000Z
2022-03-17T15:49:54.000Z
import os import sys from pbstools import PythonJob from shutil import copyfile import datetime import numpy as np python_file = r"/home/jeromel/Documents/Projects/Deep2P/repos/deepinterpolation/examples/cluster_lib/generic_ephys_process_sync.py" output_folder = "/allen/programs/braintv/workgroups/neuralcoding/Neurop...
29.678571
277
0.735259
344
2,493
4.921512
0.43314
0.041347
0.03544
0.037803
0.304194
0.290018
0.235676
0.19433
0.19433
0.19433
0
0.069094
0.140794
2,493
83
278
30.036145
0.721289
0
0
0.028169
0
0.028169
0.413558
0.300441
0
0
0
0
0
1
0
false
0.056338
0.084507
0
0.084507
0.014085
0
0
0
null
0
0
0
0
0
0
0
0
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
f35a0fd77b9a754dc8853f98cfb4b43c67965206
433
py
Python
feed/migrations/0003_auto_20210307_0246.py
notabela-org/project-1-photoshare-GarlandQ
cd50d16beebfc5b68d6efc0c773ae03ef9c79993
[ "Apache-2.0" ]
2
2021-04-13T04:16:26.000Z
2021-06-18T03:58:20.000Z
feed/migrations/0003_auto_20210307_0246.py
notabela-org/project-1-photoshare-GarlandQ
cd50d16beebfc5b68d6efc0c773ae03ef9c79993
[ "Apache-2.0" ]
null
null
null
feed/migrations/0003_auto_20210307_0246.py
notabela-org/project-1-photoshare-GarlandQ
cd50d16beebfc5b68d6efc0c773ae03ef9c79993
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.6 on 2021-03-07 07:46 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('feed', '0002_auto_20210307_0227'), ] operations = [ ...
21.65
66
0.646651
48
433
5.666667
0.770833
0.073529
0
0
0
0
0
0
0
0
0
0.095975
0.254042
433
19
67
22.789474
0.74613
0.103926
0
0
1
0
0.11658
0.059585
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
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
f3629b8a3c249881ec2e060092938e10e822a2e4
1,590
py
Python
micropython_workshop/projects/main.py
NetApp-PTC/YWIT-2021
881835cafc1ca06b86ada961564f6868a565b3a2
[ "BSD-3-Clause" ]
null
null
null
micropython_workshop/projects/main.py
NetApp-PTC/YWIT-2021
881835cafc1ca06b86ada961564f6868a565b3a2
[ "BSD-3-Clause" ]
null
null
null
micropython_workshop/projects/main.py
NetApp-PTC/YWIT-2021
881835cafc1ca06b86ada961564f6868a565b3a2
[ "BSD-3-Clause" ]
null
null
null
def wifi_connect(interface): import network import time interface.active(True) print("Scanning for networks...") networks = interface.scan() for index, network in enumerate(networks): print("%s. %s" % (index + 1, network[0])) while True: try: network = i...
36.136364
85
0.5
152
1,590
5.210526
0.388158
0.018939
0.050505
0.063131
0
0
0
0
0
0
0
0.011815
0.414465
1,590
43
86
36.976744
0.838883
0.031447
0
0.238095
0
0
0.131773
0
0
0
0
0
0
1
0.02381
false
0.095238
0.047619
0
0.071429
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
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
f364a7d278135ed71e95083792feac4b88614f20
1,703
py
Python
mgt/datamanagers/time_shift/midi_generator.py
wingedsheep/music-generation-tools
02656eb75781925451f51d4ead7d8b6003bdeb29
[ "MIT" ]
12
2021-07-22T12:13:27.000Z
2022-02-13T09:09:08.000Z
mgt/datamanagers/time_shift/midi_generator.py
wingedsheep/music-generation-tools
02656eb75781925451f51d4ead7d8b6003bdeb29
[ "MIT" ]
9
2021-06-26T10:43:16.000Z
2021-12-03T17:25:10.000Z
mgt/datamanagers/time_shift/midi_generator.py
wingedsheep/music-generation-tools
02656eb75781925451f51d4ead7d8b6003bdeb29
[ "MIT" ]
null
null
null
import pretty_midi from mgt.datamanagers.time_shift.event_extractor import Event class MidiGenerator(object): @classmethod def events_to_midi(cls, events: [Event], starting_tempo=120) -> pretty_midi.PrettyMIDI: midi = pretty_midi.PrettyMIDI() events_per_instrument = cls.get_events_per_instru...
37.021739
91
0.612449
184
1,703
5.380435
0.293478
0.090909
0.191919
0.075758
0.056566
0
0
0
0
0
0
0.013687
0.313564
1,703
45
92
37.844444
0.833191
0
0
0
0
0
0.01879
0
0
0
0
0
0
1
0.054054
false
0
0.054054
0
0.189189
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
f36835b58c5d8cadfac7dc33730f3314e171c6cf
898
py
Python
var/spack/repos/builtin/packages/r-xde/package.py
nkianggiss/spack
3477d3375142a30f5714bb5966a6d8bb22c33c06
[ "ECL-2.0", "Apache-2.0", "MIT" ]
3
2019-06-27T13:26:50.000Z
2019-07-01T16:24:54.000Z
var/spack/repos/builtin/packages/r-xde/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
75
2016-07-27T11:43:00.000Z
2020-12-08T15:56:53.000Z
var/spack/repos/builtin/packages/r-xde/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
8
2015-10-16T13:51:49.000Z
2021-10-18T13:58:03.000Z
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RXde(RPackage): """Multi-level model for cross-study detection of differential gene ...
35.92
73
0.672606
122
898
4.893443
0.57377
0.105528
0.117253
0.190955
0.318258
0.221106
0
0
0
0
0
0.061358
0.146993
898
24
74
37.416667
0.718016
0.296214
0
0
0
0
0.428571
0.064935
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
f3685d9def02297f0507cf3029ca4d13bab7dc29
1,273
py
Python
setup.py
tufedtm/django-debug-toolbar-template-timings
450f2b869c6ad7c939463401cfce3f217dfd1eea
[ "MIT" ]
null
null
null
setup.py
tufedtm/django-debug-toolbar-template-timings
450f2b869c6ad7c939463401cfce3f217dfd1eea
[ "MIT" ]
null
null
null
setup.py
tufedtm/django-debug-toolbar-template-timings
450f2b869c6ad7c939463401cfce3f217dfd1eea
[ "MIT" ]
null
null
null
import os from setuptools import setup license = "" if os.path.isfile("LICENSE"): with open('LICENSE') as f: license = f.read() readme = "" if os.path.isfile("README.rst"): with open("README.rst") as f: readme = f.read() setup( zip_safe=False, name='django-debug-toolbar-template-ti...
29.604651
98
0.631579
143
1,273
5.559441
0.524476
0.143396
0.188679
0.098113
0.150943
0
0
0
0
0
0
0.012036
0.216811
1,273
42
99
30.309524
0.785356
0
0
0
0
0
0.516104
0.088767
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
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
f36a6fd342361bd2ec91d8a87b0b15e1dc5408f1
2,529
py
Python
soco_openqa/demo/reader.py
soco-ai/SF-QA
7996a6f6fbf4370eb7913658d6f8d61466a5ccac
[ "Apache-2.0" ]
20
2021-01-05T15:45:33.000Z
2021-12-25T20:23:20.000Z
soco_openqa/demo/reader.py
soco-ai/SF-QA
7996a6f6fbf4370eb7913658d6f8d61466a5ccac
[ "Apache-2.0" ]
null
null
null
soco_openqa/demo/reader.py
soco-ai/SF-QA
7996a6f6fbf4370eb7913658d6f8d61466a5ccac
[ "Apache-2.0" ]
3
2021-01-09T09:24:19.000Z
2021-05-18T01:34:20.000Z
import numpy as np from soco_openqa.soco_mrc.mrc_model import MrcModel from collections import defaultdict class Reader: def __init__(self, model): self.model_id = model self.reader = MrcModel('us', n_gpu=1) self.thresh = 0.8 def predict(self, query, top_passages): batch ...
42.15
98
0.460656
265
2,529
4.166038
0.30566
0.021739
0.021739
0.025362
0.134058
0.050725
0.050725
0.050725
0
0
0
0.006148
0.421115
2,529
60
99
42.15
0.747951
0.013444
0
0
0
0
0.111468
0
0
0
0
0
0
1
0.04
false
0.14
0.06
0
0.14
0
0
0
0
null
0
0
0
0
0
0
0
0
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
f36d5b230fa8fd75da4150f3996642e6084ff92e
6,597
py
Python
build/download_nacl_irt.py
roisagiv/webrtc-ios
953395a7d7a0922c825edb2304d2e458f3392686
[ "BSD-3-Clause" ]
1
2019-12-31T10:36:13.000Z
2019-12-31T10:36:13.000Z
build/download_nacl_irt.py
roisagiv/webrtc-ios
953395a7d7a0922c825edb2304d2e458f3392686
[ "BSD-3-Clause" ]
null
null
null
build/download_nacl_irt.py
roisagiv/webrtc-ios
953395a7d7a0922c825edb2304d2e458f3392686
[ "BSD-3-Clause" ]
4
2015-09-16T11:40:39.000Z
2019-06-10T01:08:46.000Z
#!/usr/bin/env python # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import hashlib import optparse import os import urllib2 import sys import time # Print a dot every time this number of bytes is r...
32.024272
78
0.65075
935
6,597
4.465241
0.314439
0.025868
0.03018
0.01006
0.088623
0.070419
0.042635
0.019162
0.019162
0.019162
0
0.013059
0.233894
6,597
205
79
32.180488
0.813019
0.195847
0
0.233333
0
0
0.212121
0.004825
0
0
0
0
0
0
null
null
0
0.04
null
null
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f37261210b8d549d48d103190ce7db53c81a58b1
18,733
py
Python
third_party/saltedge/swagger_client/models/insurance_account_extra.py
ltowarek/budget-supervisor
862a2d720aecd4ad2fded9c63bc839190ebbc77e
[ "MIT" ]
1
2022-03-01T10:28:31.000Z
2022-03-01T10:28:31.000Z
third_party/saltedge/swagger_client/models/insurance_account_extra.py
ltowarek/budget-supervisor
862a2d720aecd4ad2fded9c63bc839190ebbc77e
[ "MIT" ]
75
2020-11-07T20:14:55.000Z
2021-10-05T15:08:22.000Z
third_party/saltedge/swagger_client/models/insurance_account_extra.py
ltowarek/budget-supervisor
862a2d720aecd4ad2fded9c63bc839190ebbc77e
[ "MIT" ]
null
null
null
# coding: utf-8 """ Salt Edge Account Information API API Reference for services # noqa: E501 OpenAPI spec version: 5.0.0 Contact: support@saltedge.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class InsuranceAccountE...
37.09505
455
0.683286
2,133
18,733
5.682607
0.074543
0.051481
0.133652
0.11509
0.732448
0.603086
0.512334
0.395264
0.308555
0.199323
0
0.017326
0.248225
18,733
504
456
37.168651
0.843357
0.402498
0
0.081731
1
0
0.105859
0.050664
0
0
0
0
0
1
0.173077
false
0
0.014423
0
0.302885
0.009615
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
f374c6f692fbc680d81bebeb16ebb449a9cdfafb
508
py
Python
example.py
bwmabe/tufted-twitmouse
7317504590a45ada6a045860ee836ed7d86546e7
[ "MIT" ]
null
null
null
example.py
bwmabe/tufted-twitmouse
7317504590a45ada6a045860ee836ed7d86546e7
[ "MIT" ]
null
null
null
example.py
bwmabe/tufted-twitmouse
7317504590a45ada6a045860ee836ed7d86546e7
[ "MIT" ]
null
null
null
import asyncio from ttwitmouse import TTwitmouse async def main(): ttmouse = TTwitmouse('twitter_api_key', ID_TO_FOLLOW) queue = asyncio.Queue() tweet_getter = asyncio.create_task(ttmouse.listen_for(TERM_TO_SEARCH, queue, interval=30)) while True: tweets = await queue.get() for tweet i...
24.190476
94
0.685039
66
508
5.106061
0.651515
0.065282
0
0
0
0
0
0
0
0
0
0.004975
0.208661
508
20
95
25.4
0.833333
0
0
0
0
0
0.043307
0
0
0
0
0
0
1
0
false
0.0625
0.125
0
0.125
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1