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
456ce9a81e255b4fb4013dc47630ffa6a975e439
1,542
py
Python
sound.py
TWoolhouse/Libraries
26079ed387cb800cb97f20980720ae094008c7bf
[ "MIT" ]
1
2020-10-11T15:34:56.000Z
2020-10-11T15:34:56.000Z
sound.py
TWoolhouse/Libraries
26079ed387cb800cb97f20980720ae094008c7bf
[ "MIT" ]
null
null
null
sound.py
TWoolhouse/Libraries
26079ed387cb800cb97f20980720ae094008c7bf
[ "MIT" ]
null
null
null
import sinput import keys class Volume: __volume = None def __init__(self, sync: int=0): if sync != False or self.__volume is None: self.sync(sync) def __constrain(self, val: int, min: int=0, max: int=100): return (min if val < min else (max if val > max else val)) def _...
24.09375
66
0.559663
210
1,542
3.861905
0.233333
0.147965
0.080148
0.054254
0.202219
0.083847
0.083847
0.083847
0.083847
0.083847
0
0.019231
0.325551
1,542
63
67
24.47619
0.760577
0
0
0.183673
0
0
0
0
0
0
0
0
0
1
0.244898
false
0
0.040816
0.061224
0.44898
0
0
0
0
null
0
0
0
0
0
0
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
456e575a68c8ec3a64ef628b7c4703459442d23a
199
py
Python
python-fundamental/unit03/01.py
sharebook-kr/learningspoons-bootcamp-finance
0288f3f3b39f54420e4e9987f1de12892dc680ea
[ "MIT" ]
9
2020-10-25T15:13:32.000Z
2022-03-26T11:27:21.000Z
python-fundamental/unit03/01.py
sharebook-kr/learningspoons-bootcamp-finance
0288f3f3b39f54420e4e9987f1de12892dc680ea
[ "MIT" ]
null
null
null
python-fundamental/unit03/01.py
sharebook-kr/learningspoons-bootcamp-finance
0288f3f3b39f54420e4e9987f1de12892dc680ea
[ "MIT" ]
7
2021-03-01T11:06:45.000Z
2022-03-14T07:06:04.000Z
import requests import pandas as pd url = "http://comp.fnguide.com/SVO2/common/lookup_data.asp?mkt_gb=1&comp_gb=1" resp = requests.get(url) data = resp.json() df = pd.DataFrame(data=data) df.head()
22.111111
78
0.738693
36
199
4
0.666667
0.041667
0
0
0
0
0
0
0
0
0
0.01676
0.100503
199
9
79
22.111111
0.78771
0
0
0
0
0.142857
0.35
0
0
0
0
0
0
1
0
false
0
0.285714
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
4570e2df961c67f0b695d56e2b1d04a5a28131d6
7,316
py
Python
tank-wars/game/instruction_view.py
isabelaranguren/cse210-project
62c7812e7c592030cdfd4b08a91eea225c2820f6
[ "MIT" ]
1
2021-04-23T21:04:57.000Z
2021-04-23T21:04:57.000Z
tank-wars/game/instruction_view.py
isabelaranguren/cse210-project
62c7812e7c592030cdfd4b08a91eea225c2820f6
[ "MIT" ]
2
2021-03-04T19:48:38.000Z
2021-03-07T06:39:55.000Z
tank-wars/game/instruction_view.py
isabelaranguren/cse210-project
62c7812e7c592030cdfd4b08a91eea225c2820f6
[ "MIT" ]
2
2021-03-27T17:28:07.000Z
2021-04-23T21:05:05.000Z
import arcade from arcade.gui import UIImageButton, UIManager, UIToggle import game.constants as constants from game.gameview import GameView class MainView(arcade.View): """ View to show start screen. The responsibility of this class is to offer the user to either play or view the instructions Stereotype:...
33.254545
122
0.613313
809
7,316
5.380717
0.170581
0.05881
0.088215
0.068918
0.64737
0.542614
0.508615
0.452791
0.398346
0.398346
0
0.003183
0.312876
7,316
219
123
33.406393
0.862741
0.45749
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.206349
false
0
0.063492
0
0.31746
0
0
0
0
null
0
0
0
0
0
0
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
4571550f6f8b64310d107516d99e19dee198a41b
2,711
py
Python
src/api/datamanage/lite/dmonitor/filters.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
84
2021-06-30T06:20:23.000Z
2022-03-22T03:05:49.000Z
src/api/datamanage/lite/dmonitor/filters.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
7
2021-06-30T06:21:16.000Z
2022-03-29T07:36:13.000Z
src/api/datamanage/lite/dmonitor/filters.py
Chromico/bk-base
be822d9bbee544a958bed4831348185a75604791
[ "MIT" ]
40
2021-06-30T06:21:26.000Z
2022-03-29T12:42:26.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ---------------------------------------------...
41.707692
111
0.727407
365
2,711
5.323288
0.490411
0.045291
0.018528
0.029851
0.049408
0.049408
0.049408
0.049408
0
0
0
0.003138
0.177056
2,711
64
112
42.359375
0.867772
0.501291
0
0.133333
0
0
0.084821
0
0
0
0
0
0
1
0.033333
false
0
0.233333
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
4576b3475ac0244bd672a11541f51bd060fa0ab8
1,555
py
Python
dowsing/maturin.py
thatch/dowsing
ee81fb26ea4ac67bb951652706107d7f40a546bd
[ "MIT" ]
1
2022-03-21T22:41:58.000Z
2022-03-21T22:41:58.000Z
dowsing/maturin.py
thatch/dowsing
ee81fb26ea4ac67bb951652706107d7f40a546bd
[ "MIT" ]
47
2020-10-02T20:33:58.000Z
2022-03-31T19:10:18.000Z
dowsing/maturin.py
thatch/dowsing
ee81fb26ea4ac67bb951652706107d7f40a546bd
[ "MIT" ]
4
2020-05-25T04:50:51.000Z
2022-02-04T15:20:28.000Z
from pathlib import Path from typing import Sequence import tomlkit from .types import BaseReader, Distribution class MaturinReader(BaseReader): def __init__(self, path: Path): self.path = path def get_requires_for_build_sdist(self) -> Sequence[str]: return [] # TODO def get_requires_...
29.339623
91
0.534405
178
1,555
4.567416
0.449438
0.03075
0.0369
0.04182
0.164822
0.118081
0.076261
0
0
0
0
0.006938
0.351125
1,555
52
92
29.903846
0.798811
0.126688
0
0.057143
0
0
0.091179
0
0
0
0
0.019231
0
1
0.114286
false
0
0.114286
0.057143
0.342857
0
0
0
0
null
0
0
0
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
457e24632a032a8570bd0202286ce93c186089e2
1,285
py
Python
tests/test_init.py
Oprax/backup-utils
8de928d5257c9a67c65ca906e49596abe1e3b1ba
[ "MIT" ]
null
null
null
tests/test_init.py
Oprax/backup-utils
8de928d5257c9a67c65ca906e49596abe1e3b1ba
[ "MIT" ]
null
null
null
tests/test_init.py
Oprax/backup-utils
8de928d5257c9a67c65ca906e49596abe1e3b1ba
[ "MIT" ]
null
null
null
import sys import json from pathlib import Path from unittest.mock import patch import pytest from conftest import FakeFile, config @patch.object(sys, "argv", ["backup_utils", "-v"]) def test_version(capsys): from backup_utils import main, __version__ with pytest.raises(SystemExit): main() cap...
25.7
68
0.650584
166
1,285
4.873494
0.36747
0.122373
0.051916
0.066749
0.321384
0.290482
0.182942
0.093943
0.093943
0
0
0.000964
0.192996
1,285
49
69
26.22449
0.779171
0.355642
0
0.08
0
0
0.112883
0.038037
0
0
0
0
0.16
1
0.08
false
0
0.32
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
457e798e0ae1080ec8d8cbb20b32459584d047c1
4,997
py
Python
src/logisimpy/multiplexer.py
Kingorgg/logisimpy
de8764c931b42c04a2f6341a1d3811226b90c425
[ "MIT" ]
null
null
null
src/logisimpy/multiplexer.py
Kingorgg/logisimpy
de8764c931b42c04a2f6341a1d3811226b90c425
[ "MIT" ]
null
null
null
src/logisimpy/multiplexer.py
Kingorgg/logisimpy
de8764c931b42c04a2f6341a1d3811226b90c425
[ "MIT" ]
null
null
null
from logisimpy.circuit import Circuit, Wire from logisimpy.logic import AND, AND3, NOT, OR class MUX2x1(Circuit): """ 2x1 Multiplexer logic. The MUX element has two data inputs, one select input and one data output. If the select input is 0, the data from the first input is transfered to the outp...
26.721925
86
0.336202
692
4,997
2.404624
0.099711
0.127404
0.122596
0.115385
0.370192
0.370192
0.305288
0.304087
0.268029
0.26262
0
0.177754
0.44947
4,997
186
87
26.865591
0.427117
0.529318
0
0.163934
0
0
0
0
0
0
0
0
0
1
0.032787
false
0
0.032787
0
0.098361
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4580e5185df673dea05c4292da77636775a057d5
434
py
Python
flocka/forms/branch.py
sleekslush/flocka
3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68
[ "BSD-2-Clause" ]
null
null
null
flocka/forms/branch.py
sleekslush/flocka
3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68
[ "BSD-2-Clause" ]
null
null
null
flocka/forms/branch.py
sleekslush/flocka
3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68
[ "BSD-2-Clause" ]
null
null
null
from flask_wtf import Form from wtforms import StringField from wtforms.validators import DataRequired class BranchSlugField(StringField): def process_formdata(self, valuelist): if valuelist: if valuelist[0]: self.data = valuelist[0].strip() else: s...
25.529412
64
0.658986
46
434
6.173913
0.521739
0.105634
0.140845
0.126761
0
0
0
0
0
0
0
0.009259
0.253456
434
17
64
25.529412
0.867284
0
0
0
0
0
0.009195
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
4589ea2bd19fdb4c4eadac909d6adbd2ca938167
980
py
Python
python/problems/same_tree.py
vivaxy/algorithms
b2e49476ed2ad1fd82a1183f656d1907a666c347
[ "MIT" ]
1
2019-05-04T13:21:41.000Z
2019-05-04T13:21:41.000Z
python/problems/same_tree.py
vivaxy/algorithms
b2e49476ed2ad1fd82a1183f656d1907a666c347
[ "MIT" ]
1
2021-08-30T09:34:58.000Z
2021-08-30T09:34:58.000Z
python/problems/same_tree.py
vivaxy/algorithms
b2e49476ed2ad1fd82a1183f656d1907a666c347
[ "MIT" ]
null
null
null
""" https://leetcode.com/problems/same-tree/ https://leetcode.com/submissions/detail/109733704/ """ # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None from common.tree_node import TreeNode class So...
21.777778
111
0.584694
116
980
4.844828
0.431034
0.046263
0.05694
0.064057
0
0
0
0
0
0
0
0.021834
0.29898
980
44
112
22.272727
0.796215
0.306122
0
0.210526
0
0
0.009554
0
0
0
0
0
0.052632
1
0.105263
false
0
0.105263
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
458fa1840f8fd2566ce3891b8a4741c03204e606
5,295
py
Python
hivwholeseq/sequencing/split_reads_for_mapping.py
neherlab/hivwholeseq
978ce4060362e4973f92b122ed5340a5314d7844
[ "MIT" ]
3
2016-09-13T12:15:47.000Z
2021-07-03T01:28:56.000Z
hivwholeseq/sequencing/split_reads_for_mapping.py
iosonofabio/hivwholeseq
d504c63b446c3a0308aad6d6e484ea1666bbe6df
[ "MIT" ]
null
null
null
hivwholeseq/sequencing/split_reads_for_mapping.py
iosonofabio/hivwholeseq
d504c63b446c3a0308aad6d6e484ea1666bbe6df
[ "MIT" ]
3
2016-01-17T03:43:46.000Z
2020-03-25T07:00:11.000Z
#!/usr/bin/env python # vim: fdm=marker ''' author: Fabio Zanini date: 17/05/14 content: Split the reads for mapping into small aliquots, to exploit the short queue on the cluster. ''' # Modules import os import sys import time import argparse import pysam import numpy as np import subprocess a...
36.267123
115
0.630595
632
5,295
5.10443
0.30538
0.041847
0.036888
0.028518
0.141352
0.127092
0.127092
0.060756
0.034718
0.034718
0
0.012381
0.283097
5,295
145
116
36.517241
0.83746
0.05118
0
0.118812
0
0
0.103893
0
0
0
0
0
0
0
null
null
0
0.168317
null
null
0.059406
0
0
0
null
0
0
0
0
0
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
45916c29934819dc98d987bba06861eec3a41f1f
8,304
py
Python
backend/tools/code/merge/git-auto.py
lokiworks/codebase
48a7dfc65311f2776efc87d254dc006251f77628
[ "MIT" ]
2
2021-01-20T13:48:32.000Z
2021-11-14T13:29:19.000Z
backend/tools/code/merge/git-auto.py
lokiworks/codebase
48a7dfc65311f2776efc87d254dc006251f77628
[ "MIT" ]
4
2020-05-19T14:02:17.000Z
2021-08-15T11:17:30.000Z
backend/tools/code/merge/git-auto.py
lokiworks/codebase
48a7dfc65311f2776efc87d254dc006251f77628
[ "MIT" ]
null
null
null
"""" using python version 3.7+ python-gitlab version 1.8.0 python-jenkins version 1.7.0 """ import gitlab import jenkins import smtplib import ssl import markdown from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText class JenkinsAuto: __host = '' __user_name = '' __passwo...
32.4375
120
0.595376
901
8,304
5.108768
0.200888
0.040626
0.029329
0.014773
0.157071
0.147947
0.12557
0.080382
0.063437
0.063437
0
0.009675
0.31539
8,304
255
121
32.564706
0.8
0.078878
0
0.140244
0
0
0.055684
0
0
0
0
0
0
1
0.067073
false
0.079268
0.042683
0
0.292683
0.006098
0
0
0
null
0
0
0
0
0
0
0
0
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
45973111e2e222b6bc6613d5dc785ebea5705bc1
946
py
Python
cp_rest.py
cloudplugs/rest-python
63ea5c3ba699663912c728f67b190a9141448786
[ "Apache-2.0" ]
null
null
null
cp_rest.py
cloudplugs/rest-python
63ea5c3ba699663912c728f67b190a9141448786
[ "Apache-2.0" ]
null
null
null
cp_rest.py
cloudplugs/rest-python
63ea5c3ba699663912c728f67b190a9141448786
[ "Apache-2.0" ]
null
null
null
class CP_HTTP_RESULT(object): CP_HTTP_OK = 200 CP_HTTP_CREATED = 201 CP_HTTP_MULTI_STATUS = 207 CP_HTTP_BAD_REQUEST = 400 CP_HTTP_UNAUTHORIZED = 401 CP_HTTP_PAYMENT_REQUIRED = 402 CP_HTTP_FORBIDDEN = 403 CP_HTTP_NOT_FOUND = 404 CP_HTTP_NOT_ALLOWED = 405 CP_HTTP_NOT_ACCEPTABLE =...
27.823529
39
0.743129
151
946
4.066225
0.503311
0.156352
0.058632
0
0
0
0
0
0
0
0
0.076101
0.208245
946
33
40
28.666667
0.743658
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0.933333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
4599de31dc9c5682547c724f43eebc62f2ecf2f8
600
py
Python
components.py
andrewmccullough/linksaver
443dbe9ec4df76f30884550b7da3402cfad194d1
[ "Apache-2.0" ]
1
2017-09-18T01:39:08.000Z
2017-09-18T01:39:08.000Z
components.py
andrewmccullough/linksaver
443dbe9ec4df76f30884550b7da3402cfad194d1
[ "Apache-2.0" ]
null
null
null
components.py
andrewmccullough/linksaver
443dbe9ec4df76f30884550b7da3402cfad194d1
[ "Apache-2.0" ]
null
null
null
import praw # Visit the PRAW website for instructions on installation and configuration. # https://praw.readthedocs.io/en/latest/getting_started/authentication.html#script-application username="" #Your username. reddit = praw.Reddit( client_id = "", #14 character code. client_secret = "", #27 character code....
28.571429
117
0.688333
83
600
4.915663
0.783133
0.063725
0
0
0
0
0
0
0
0
0
0.008316
0.198333
600
20
118
30
0.839917
0.625
0
0.142857
0
0
0
0
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
459ba84999942fac75ac072ba3f560b858a33ebf
2,736
py
Python
indicatorParametersUI.py
webclinic017/backtrader-pyqt-ui
71630a387e63bb054e069e05efe1baa7e98551b2
[ "MIT" ]
105
2021-11-20T20:28:26.000Z
2022-03-31T14:19:07.000Z
indicatorParametersUI.py
tubu/backtrader-pyqt-ui
543ebb2049b0e58feb1b0bec760a32ea619097a0
[ "MIT" ]
2
2021-11-16T14:48:11.000Z
2022-01-20T19:20:08.000Z
indicatorParametersUI.py
tubu/backtrader-pyqt-ui
543ebb2049b0e58feb1b0bec760a32ea619097a0
[ "MIT" ]
48
2021-11-20T20:28:30.000Z
2022-03-28T16:18:15.000Z
from PyQt5 import QtCore, QtWidgets, QtGui, uic import os class IndicatorParametersUI(QtWidgets.QDialog): def __init__(self, parent = None): super(IndicatorParametersUI, self).__init__() #self.setParent(parent) # It does not finish by a "/" self.current_dir_path = os.path.dirna...
30.065934
87
0.613304
251
2,736
6.589641
0.326693
0.032648
0.039903
0.021765
0.090689
0.036276
0
0
0
0
0
0.000521
0.298246
2,736
91
88
30.065934
0.860938
0.025585
0
0.276923
0
0
0.026276
0.00976
0
0
0
0
0
1
0.169231
false
0.061538
0.030769
0.015385
0.369231
0
0
0
0
null
0
0
0
0
0
0
0
0
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
459cfc983851a8ba57e8cee990af42bcae99c62a
699
py
Python
django-simple-captcha/captcha/tests/urls.py
teeworldsCNFun/upTee
1c04b7421f4834f83bbb9f59f43dfebac08e56b0
[ "BSD-3-Clause" ]
null
null
null
django-simple-captcha/captcha/tests/urls.py
teeworldsCNFun/upTee
1c04b7421f4834f83bbb9f59f43dfebac08e56b0
[ "BSD-3-Clause" ]
null
null
null
django-simple-captcha/captcha/tests/urls.py
teeworldsCNFun/upTee
1c04b7421f4834f83bbb9f59f43dfebac08e56b0
[ "BSD-3-Clause" ]
null
null
null
try: from django.conf.urls import url, patterns, include except ImportError: from django.conf.urls.defaults import url, patterns, include urlpatterns = patterns('', url(r'test/$', 'captcha.tests.views.test', name='captcha-test'), url(r'test-modelform/$', 'captcha.tests.views.test_model_form', name='cap...
49.928571
111
0.719599
99
699
4.949495
0.313131
0.04898
0.173469
0.214286
0
0
0
0
0
0
0
0.003175
0.098712
699
13
112
53.769231
0.774603
0
0
0
0
0
0.516452
0.374821
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45a007eb5d03a7c8e9669fdf3b4bcdcd8f2e9700
2,922
py
Python
raxmlOutputWindows/standardLayout.py
chilleo/ALPHA
61ac17a08eb4eb778cec9236f4792c97969311a2
[ "MIT" ]
11
2017-09-18T20:32:04.000Z
2020-08-27T03:38:03.000Z
raxmlOutputWindows/standardLayout.py
chilleo/ALPHA
61ac17a08eb4eb778cec9236f4792c97969311a2
[ "MIT" ]
3
2017-09-30T00:13:47.000Z
2019-06-18T23:24:55.000Z
raxmlOutputWindows/standardLayout.py
chilleo/ALPHA
61ac17a08eb4eb778cec9236f4792c97969311a2
[ "MIT" ]
5
2017-09-28T01:17:15.000Z
2019-05-11T08:56:29.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'standardLayout.ui' # # Created by: PyQt4 UI code generator 4.12 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(...
39.486486
80
0.710815
293
2,922
6.96587
0.34471
0.092602
0.039196
0.054875
0.080353
0.080353
0.080353
0.080353
0.080353
0.080353
0
0.015807
0.177276
2,922
73
81
40.027397
0.833195
0.063655
0
0.105263
1
0
0.068548
0
0
0
0
0
0
1
0.087719
false
0
0.035088
0.052632
0.192982
0
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
45a09665933e84a803dd9206ddcc338279cc67a4
283
py
Python
setup.py
zauberzeug/rosys
10271c88ffd5dcc4fb8eec93d46fe4144a9e40d8
[ "MIT" ]
1
2022-02-20T08:21:07.000Z
2022-02-20T08:21:07.000Z
setup.py
zauberzeug/rosys
10271c88ffd5dcc4fb8eec93d46fe4144a9e40d8
[ "MIT" ]
1
2022-03-08T12:46:09.000Z
2022-03-08T12:46:09.000Z
setup.py
zauberzeug/rosys
10271c88ffd5dcc4fb8eec93d46fe4144a9e40d8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from distutils.core import setup setup( name='RoSys', version='0.1', description='Zauberzeug Robot System', author='Zauberzeug', author_email='info@zauberzeug.com', url='https://github.com/zauberzeug/rosys/', packages=['rosys'], )
21.769231
47
0.667845
34
283
5.529412
0.764706
0
0
0
0
0
0
0
0
0
0
0.012658
0.162544
283
12
48
23.583333
0.780591
0.074205
0
0
0
0
0.386973
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
45a91df091f1f1c66e15a3e3dba9ef0eebdccd22
406
py
Python
apps/courses/migrations/0003_auto_20200414_1516.py
wychmod/Taro-Education
869852b33c06f6eb2c06191c4544e74db9eba8ce
[ "Apache-2.0" ]
1
2020-04-14T16:50:04.000Z
2020-04-14T16:50:04.000Z
apps/courses/migrations/0003_auto_20200414_1516.py
wychmod/Taro-Education
869852b33c06f6eb2c06191c4544e74db9eba8ce
[ "Apache-2.0" ]
3
2021-03-10T14:51:26.000Z
2022-02-27T03:03:10.000Z
apps/courses/migrations/0003_auto_20200414_1516.py
wychmod/Taro-Education
869852b33c06f6eb2c06191c4544e74db9eba8ce
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.4 on 2020-04-14 07:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0002_chapter_add_time'), ] operations = [ migrations.AlterField( model_name='courses', name='title_pic', ...
21.368421
68
0.603448
45
406
5.311111
0.844444
0
0
0
0
0
0
0
0
0
0
0.064626
0.275862
406
18
69
22.555556
0.748299
0.110837
0
0
1
0
0.142061
0.058496
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45aad84988a3fb71c8fae9c7b834e17f70aac378
1,728
py
Python
nesi/huawei/huawei_resources/huawei_vlan_interface.py
Tubbz-alt/NESi
0db169dd6378fbd097380280cc41440e652de19e
[ "BSD-2-Clause" ]
1
2021-04-26T23:15:33.000Z
2021-04-26T23:15:33.000Z
nesi/huawei/huawei_resources/huawei_vlan_interface.py
Tubbz-alt/NESi
0db169dd6378fbd097380280cc41440e652de19e
[ "BSD-2-Clause" ]
null
null
null
nesi/huawei/huawei_resources/huawei_vlan_interface.py
Tubbz-alt/NESi
0db169dd6378fbd097380280cc41440e652de19e
[ "BSD-2-Clause" ]
null
null
null
# This file is part of the NESi software. # # Copyright (c) 2020 # Original Software Design by Ilya Etingof <https://github.com/etingof>. # # Software adapted by inexio <https://github.com/inexio>. # - Janis Groß <https://github.com/unkn0wn-user> # - Philip Konrath <https://github.com/Connyko65> # - Alexander Dincher <...
35.265306
102
0.740162
203
1,728
6.098522
0.413793
0.109047
0.067851
0.03231
0.045234
0
0
0
0
0
0
0.007422
0.142361
1,728
48
103
36
0.827935
0.269097
0
0
0
0
0.169082
0.016908
0
0
0
0
0
1
0.076923
false
0
0.076923
0.038462
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
45ab1de9e03a368e0762b53b648e16454e16ea66
4,147
py
Python
aea/cli/list.py
bryanchriswhite/agents-aea
d3f177a963eb855d9528555167255bf2b478f4ba
[ "Apache-2.0" ]
126
2019-09-07T09:32:44.000Z
2022-03-29T14:28:41.000Z
aea/cli/list.py
salman6049/agents-aea
d3f177a963eb855d9528555167255bf2b478f4ba
[ "Apache-2.0" ]
1,814
2019-08-24T10:08:07.000Z
2022-03-31T14:28:36.000Z
aea/cli/list.py
salman6049/agents-aea
d3f177a963eb855d9528555167255bf2b478f4ba
[ "Apache-2.0" ]
46
2019-09-03T22:13:58.000Z
2022-03-22T01:25:16.000Z
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # 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 ...
33.176
91
0.672534
524
4,147
5.137405
0.314886
0.035661
0.031204
0.03789
0.281575
0.225111
0.21471
0.14896
0.14896
0.118499
0
0.003906
0.197492
4,147
124
92
33.443548
0.804988
0.303593
0
0.179487
0
0
0.007077
0
0
0
0
0
0
1
0.089744
false
0.089744
0.141026
0
0.24359
0
0
0
0
null
0
0
0
0
0
0
0
0
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
45abcd25079db97a67b489f518bd398d367931de
423
py
Python
portfolio/admin.py
mucahitnezir/django-starter
2b5b571da19c37941ae1634d0bd26ac8b0063b7d
[ "MIT" ]
5
2019-01-09T13:17:09.000Z
2021-04-12T19:26:11.000Z
portfolio/admin.py
mucahitnezir/django-blog
2b5b571da19c37941ae1634d0bd26ac8b0063b7d
[ "MIT" ]
9
2019-06-10T18:52:42.000Z
2021-06-10T17:36:44.000Z
portfolio/admin.py
mucahitnezir/django-blog
2b5b571da19c37941ae1634d0bd26ac8b0063b7d
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Portfolio @admin.register(Portfolio) class PortfolioAdmin(admin.ModelAdmin): list_display = ('id', 'title', 'slug', 'category', 'published_at', 'image') list_display_links = ('id',) list_editable = ('title', 'category') list_filter = ('published_at...
30.214286
79
0.678487
46
423
6.043478
0.586957
0.079137
0
0
0
0
0
0
0
0
0
0
0.153664
423
13
80
32.538462
0.776536
0
0
0
0
0
0.217494
0
0
0
0
0
0
1
0
false
0
0.2
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
45b2b23d27a2e53c3f068def849224f1c8fabece
4,347
py
Python
fanuc_planning/src/scripts/workspace/scene.py
oaghub/FMS
f3a4836fcb993903d239935fe05b878f3fe1f874
[ "MIT" ]
null
null
null
fanuc_planning/src/scripts/workspace/scene.py
oaghub/FMS
f3a4836fcb993903d239935fe05b878f3fe1f874
[ "MIT" ]
null
null
null
fanuc_planning/src/scripts/workspace/scene.py
oaghub/FMS
f3a4836fcb993903d239935fe05b878f3fe1f874
[ "MIT" ]
null
null
null
#! /usr/bin/env python import sys import copy import rospy import moveit_commander import moveit_msgs.msg import geometry_msgs.msg from math import pi from std_msgs.msg import String from moveit_commander.conversions import pose_to_list from geometry_msgs.msg import Pose, PoseStamped # Initializing the node represent...
28.227273
130
0.731079
807
4,347
3.762082
0.169765
0.074111
0.192688
0.115942
0.58004
0.560935
0.528327
0.528327
0.509223
0.474638
0
0.055428
0.099379
4,347
153
131
28.411765
0.720051
0.468599
0
0.322581
0
0
0.062784
0.026388
0
0
0
0
0
1
0
false
0
0.16129
0
0.16129
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
45b65bda8190d8c14bc4023732f98de599eb5be5
959
py
Python
effective_python/pythonic_thought/str_demo.py
ftconan/python3
eb63ba33960072f792ecce6db809866b38c402f8
[ "MIT" ]
1
2018-12-19T22:07:56.000Z
2018-12-19T22:07:56.000Z
effective_python/pythonic_thought/str_demo.py
ftconan/python3
eb63ba33960072f792ecce6db809866b38c402f8
[ "MIT" ]
12
2020-03-14T05:32:26.000Z
2022-03-12T00:08:49.000Z
effective_python/pythonic_thought/str_demo.py
ftconan/python3
eb63ba33960072f792ecce6db809866b38c402f8
[ "MIT" ]
1
2018-12-19T22:08:00.000Z
2018-12-19T22:08:00.000Z
""" @author: magician @date: 2019/12/10 @file: str_demo.py """ import os def to_str(bytes_or_str): """ to_str(python2, python3) :param bytes_or_str: :return: """ if isinstance(bytes_or_str, bytes): value = bytes_or_str.decode('utf-8') else: value = bytes_or_str ...
17.759259
53
0.595412
132
959
3.977273
0.310606
0.142857
0.190476
0.121905
0.449524
0.405714
0.405714
0.339048
0.339048
0.339048
0
0.02432
0.271116
959
53
54
18.09434
0.726753
0.217935
0
0.363636
0
0
0.07413
0.034796
0
0
0
0
0
1
0.136364
false
0
0.045455
0
0.318182
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
45bb66efdc59c469de7d495c36cb9e1d35bdedf1
793
py
Python
src/contact/models.py
daniel-werner/stelagifts
809cb70f98a1ead3acbc2fd6aea99a87fdfd9435
[ "MIT" ]
null
null
null
src/contact/models.py
daniel-werner/stelagifts
809cb70f98a1ead3acbc2fd6aea99a87fdfd9435
[ "MIT" ]
null
null
null
src/contact/models.py
daniel-werner/stelagifts
809cb70f98a1ead3acbc2fd6aea99a87fdfd9435
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import ugettext_lazy as _ class ContactMessage(models.Model): name = models.CharField(max_length=500, verbose_name=_("Name")) email = models.EmailField(max_length=500, verbose_name=_("Email")) subject = models.CharField(max_length=1000, verbose_nam...
34.478261
74
0.686003
93
793
5.634409
0.537634
0.068702
0.068702
0.091603
0.087786
0
0
0
0
0
0
0.022082
0.200504
793
22
75
36.045455
0.804416
0
0
0
0
0
0.050441
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
45bdb36510e854f6de6cd3293f787a5c8f33e5a3
3,475
py
Python
tests/test_file_stream.py
cglewis/pyais
541fcc8a9edd5a826635273fc818587dbfb7ec42
[ "MIT" ]
51
2019-10-07T11:26:56.000Z
2022-03-16T10:45:15.000Z
tests/test_file_stream.py
cglewis/pyais
541fcc8a9edd5a826635273fc818587dbfb7ec42
[ "MIT" ]
57
2019-10-14T07:50:00.000Z
2022-03-28T06:52:27.000Z
tests/test_file_stream.py
cglewis/pyais
541fcc8a9edd5a826635273fc818587dbfb7ec42
[ "MIT" ]
31
2019-10-13T17:17:56.000Z
2022-03-26T16:46:54.000Z
import pathlib import unittest from unittest.case import skip from pyais.stream import FileReaderStream, should_parse from pyais.messages import NMEAMessage class TestFileReaderStream(unittest.TestCase): FILENAME = "tests/ais_test_messages" def test_reader(self): with FileReaderStream(self.FILENAME) ...
43.987342
118
0.673094
468
3,475
4.854701
0.275641
0.101673
0.100352
0.12588
0.556338
0.519366
0.492958
0.408011
0.408011
0.408011
0
0.044883
0.198561
3,475
78
119
44.551282
0.770916
0.107914
0
0.183333
0
0.033333
0.178653
0.131793
0
0
0
0
0.483333
1
0.116667
false
0
0.083333
0
0.233333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
45bfe5c078f298141870f59d4be7cfb5f40df620
659
py
Python
myUnittest/case_way/case_drive_config.py
ChenJiR/MyPyUnittest
77ecde87218a0ca7482e4d1dfebd403e2325165a
[ "MIT" ]
null
null
null
myUnittest/case_way/case_drive_config.py
ChenJiR/MyPyUnittest
77ecde87218a0ca7482e4d1dfebd403e2325165a
[ "MIT" ]
null
null
null
myUnittest/case_way/case_drive_config.py
ChenJiR/MyPyUnittest
77ecde87218a0ca7482e4d1dfebd403e2325165a
[ "MIT" ]
null
null
null
import os DRIVER_DB = 'db_to_case' DRIVER_EXCEL = 'excel_to_case' DRIVER_TXT = 'txt_to_case' db_case_config = { 'host': '127.0.0.1', 'username': 'root', 'password': 'root', 'port': 3306, 'db': 'test', } excel_case_config = { 'path': os.path.dirname(__file__) + str('/excel_case/'), 'defaul...
17.810811
60
0.654021
93
659
4.172043
0.333333
0.154639
0.061856
0.082474
0.293814
0.175258
0.175258
0.175258
0
0
0
0.020446
0.183612
659
36
61
18.305556
0.700743
0
0
0
0
0
0.283763
0
0
0
0
0
0
1
0.115385
false
0.038462
0.038462
0.115385
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
45c03052ca9a5026e2efea8fa7acae8f6c0c55cc
3,634
py
Python
manage/sawtooth_manage/node.py
trust-tech/sawtooth-core
fcd66ff2f13dba51d7642049e0c0306dbee3b07d
[ "Apache-2.0" ]
1
2017-08-04T10:31:00.000Z
2017-08-04T10:31:00.000Z
core/sawtooth/manage/node.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
1
2021-12-09T23:11:26.000Z
2021-12-09T23:11:26.000Z
core/sawtooth/manage/node.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Intel Corporation # # 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 wri...
26.333333
80
0.63869
391
3,634
5.647059
0.314578
0.068841
0.059783
0.033967
0.408062
0.338768
0.317029
0.237319
0.237319
0.237319
0
0.002978
0.26087
3,634
137
81
26.525547
0.819062
0.271326
0
0.469697
0
0
0
0
0
0
0
0
0
1
0.257576
false
0
0.030303
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
45c0e8bae3f25948b5b8cba3047d88441aee1315
1,253
py
Python
Python/Zelle/Chapter8_LoopStructuresBooleans/ProgrammingExercises/4_SyracuseSequence/syracuseSequence.py
jeffvswanson/CodingPractice
9ea8e0dd504230cea0e8684b31ef22c3ed90d2fb
[ "MIT" ]
null
null
null
Python/Zelle/Chapter8_LoopStructuresBooleans/ProgrammingExercises/4_SyracuseSequence/syracuseSequence.py
jeffvswanson/CodingPractice
9ea8e0dd504230cea0e8684b31ef22c3ed90d2fb
[ "MIT" ]
null
null
null
Python/Zelle/Chapter8_LoopStructuresBooleans/ProgrammingExercises/4_SyracuseSequence/syracuseSequence.py
jeffvswanson/CodingPractice
9ea8e0dd504230cea0e8684b31ef22c3ed90d2fb
[ "MIT" ]
null
null
null
# syracuseSequence.py # A program that prints a Syracuse sequence. """The Syracuse (also called "Collatz" or "Hailstone") sequence is generated by starting with a natural number and repeatedly applying the following function until reaching 1: syr(x) = x/2 (if x is even), 3x + 1 (if x is odd) For example, the Syracu...
30.560976
79
0.630487
178
1,253
4.438202
0.505618
0.081013
0.03038
0.058228
0.108861
0.108861
0.108861
0.108861
0.108861
0
0
0.022573
0.292897
1,253
40
80
31.325
0.869074
0.479649
0
0.086957
1
0
0.062016
0
0
0
0
0
0
1
0.086957
false
0
0
0
0.130435
0.173913
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
45c2208cd42d48ae80a6876c9b2e2896638c303c
731
py
Python
setup.py
waynew/todo-flask
3cb3c7b50e4c1b6370d63e21b23dca0ec56e9313
[ "BSD-2-Clause" ]
null
null
null
setup.py
waynew/todo-flask
3cb3c7b50e4c1b6370d63e21b23dca0ec56e9313
[ "BSD-2-Clause" ]
null
null
null
setup.py
waynew/todo-flask
3cb3c7b50e4c1b6370d63e21b23dca0ec56e9313
[ "BSD-2-Clause" ]
null
null
null
from setuptools import setup setup( name = "todo-flask", version = "0.0.1", author = "Wayne Werner", author_email = "waynejwerner@gmail.com", description = "A sample todo app written with Flask, unittest, and sqlite", license = "BSD", keywords = "example flask unittest", url = "https://...
30.458333
82
0.632011
83
731
5.493976
0.650602
0.085526
0.078947
0.096491
0.254386
0.254386
0.254386
0.254386
0.254386
0.254386
0
0.007055
0.22435
731
23
83
31.782609
0.797178
0
0
0
0
0
0.4829
0.030096
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
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
45c86dc6e97cf9f5c6efe3cc3e929be95a0cc82d
3,251
py
Python
app/auth/forms.py
austinmcconnell/myflaskapp
79223c0480387fd95e8dd26620bf0cd50659161c
[ "BSD-3-Clause" ]
null
null
null
app/auth/forms.py
austinmcconnell/myflaskapp
79223c0480387fd95e8dd26620bf0cd50659161c
[ "BSD-3-Clause" ]
41
2018-01-21T22:49:43.000Z
2022-01-21T19:11:52.000Z
app/auth/forms.py
austinmcconnell/myflaskapp
79223c0480387fd95e8dd26620bf0cd50659161c
[ "BSD-3-Clause" ]
1
2018-02-14T23:27:56.000Z
2018-02-14T23:27:56.000Z
from flask_babel import _, lazy_gettext as _l from flask_wtf import FlaskForm from wtforms import PasswordField, StringField, SubmitField from wtforms.validators import DataRequired, Email, EqualTo, Length from app.user.models import User class RegisterForm(FlaskForm): """Register form.""" username = String...
37.802326
116
0.62996
333
3,251
5.993994
0.261261
0.099198
0.07515
0.046593
0.499499
0.342685
0.235471
0.219439
0.134269
0.134269
0
0.004037
0.238081
3,251
85
117
38.247059
0.801776
0.030145
0
0.311475
0
0
0.097694
0
0
0
0
0
0
1
0.065574
false
0.213115
0.081967
0
0.57377
0
0
0
0
null
0
0
0
0
0
0
0
0
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
45cb875e47bdd91ec509e33643403788946586df
288
py
Python
setup.py
mrshurik/mean_average_precision
36634422426ab598918d0f7449bcbc8201cf4381
[ "MIT" ]
119
2017-08-25T00:59:22.000Z
2022-01-04T11:08:38.000Z
setup.py
mrshurik/mean_average_precision
36634422426ab598918d0f7449bcbc8201cf4381
[ "MIT" ]
22
2017-10-04T03:42:43.000Z
2021-01-16T15:43:30.000Z
setup.py
mrshurik/mean_average_precision
36634422426ab598918d0f7449bcbc8201cf4381
[ "MIT" ]
46
2017-10-17T18:38:00.000Z
2021-04-09T17:47:44.000Z
from distutils.core import setup from setuptools import find_packages setup( name='mean_average_precision', version='0.1', packages=find_packages(), url='', license='MIT', author='Mathieu Garon', author_email='mathieugaron91@gmail.com', description='' )
19.2
44
0.6875
33
288
5.848485
0.787879
0.124352
0
0
0
0
0
0
0
0
0
0.017021
0.184028
288
14
45
20.571429
0.804255
0
0
0
0
0
0.225694
0.159722
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
45d40de792c24807854989ee3810dccce94912de
945
py
Python
src/TeaRoom/urls.py
graipher/TeaRoom
0beb8c2c889b8685d5b7a463206de41947c2d669
[ "MIT" ]
null
null
null
src/TeaRoom/urls.py
graipher/TeaRoom
0beb8c2c889b8685d5b7a463206de41947c2d669
[ "MIT" ]
15
2015-05-20T12:55:13.000Z
2022-03-11T23:26:40.000Z
src/TeaRoom/urls.py
graipher/TeaRoom
0beb8c2c889b8685d5b7a463206de41947c2d669
[ "MIT" ]
2
2016-11-17T11:07:41.000Z
2017-07-07T11:18:36.000Z
from django.conf.urls import patterns, include, url from django.contrib import admin from django.conf import settings from django.conf.urls.static import static import profiles.urls import accounts.urls import courses.urls import uploader.urls from . import views # Links URLs to views urlpatterns = patterns( '', ...
36.346154
76
0.71746
130
945
5.169231
0.361538
0.047619
0.0625
0.053571
0
0
0
0
0
0
0
0
0.12381
945
25
77
37.8
0.811594
0.095238
0
0
0
0
0.091549
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
45e14d9917c6a309e9123db8edeb4be716e89467
631
py
Python
wordsToQubits/encoding/word_to_binar.py
VoicuTomut/Qountry
841467eca5704fd24c49000668f739cae8155b59
[ "MIT" ]
null
null
null
wordsToQubits/encoding/word_to_binar.py
VoicuTomut/Qountry
841467eca5704fd24c49000668f739cae8155b59
[ "MIT" ]
null
null
null
wordsToQubits/encoding/word_to_binar.py
VoicuTomut/Qountry
841467eca5704fd24c49000668f739cae8155b59
[ "MIT" ]
null
null
null
""" encode the word on a pure state. """ import pennylane as qml def put_word_on_qubits(word_rep, qubits, base="X"): """ :param word_rep: "00..10..0" :param qubits: :param base: """ word_rep = str(word_rep) if base == "X": for i in range(len(word_rep)): if word_rep[i]...
22.535714
51
0.496038
93
631
3.225806
0.365591
0.233333
0.12
0.11
0.35
0.35
0.35
0.35
0.35
0.35
0
0.019277
0.342314
631
27
52
23.37037
0.703614
0.141046
0
0.4
0
0
0.013725
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
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
afd7c2fda2691bfb467438d74810d6aea8783977
1,790
py
Python
python/tests/test_stacks.py
daveeS987/data-structures-and-algorithms
e2fc060a558bdf8696331ddeaf317259a56e36a3
[ "MIT" ]
null
null
null
python/tests/test_stacks.py
daveeS987/data-structures-and-algorithms
e2fc060a558bdf8696331ddeaf317259a56e36a3
[ "MIT" ]
null
null
null
python/tests/test_stacks.py
daveeS987/data-structures-and-algorithms
e2fc060a558bdf8696331ddeaf317259a56e36a3
[ "MIT" ]
1
2021-04-06T02:03:31.000Z
2021-04-06T02:03:31.000Z
import pytest from stacks.stacks import Stack def test_Can_successfully_instantiate_an_empty_stack(): new_stack = Stack() actual = new_stack.top expected = None assert actual == expected def test_Can_successfully_push_onto_a_stack(): new_stack = Stack() new_stack.push("a") actual = new_...
22.375
72
0.694413
250
1,790
4.632
0.288
0.193437
0.08981
0.11399
0.494819
0.442142
0.38601
0.259067
0.126079
0.126079
0
0
0.192737
1,790
79
73
22.658228
0.801384
0.088827
0
0.428571
0
0
0.006378
0
0
0
0
0
0.142857
1
0.204082
false
0
0.040816
0
0.265306
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
afe3dfd5642f95aed4d378dd2cc6de57d8567659
5,361
py
Python
rtsc_correlation.py
Bushell-lab/StructureFold2
bdeb7643e15aec92c5c56f6285bf7ed7f2dabe2c
[ "MIT" ]
13
2017-10-09T21:55:53.000Z
2021-12-13T03:07:38.000Z
rtsc_correlation.py
Bushell-lab/StructureFold2
bdeb7643e15aec92c5c56f6285bf7ed7f2dabe2c
[ "MIT" ]
4
2019-05-21T03:04:42.000Z
2020-11-07T05:19:52.000Z
rtsc_correlation.py
Bushell-lab/StructureFold2
bdeb7643e15aec92c5c56f6285bf7ed7f2dabe2c
[ "MIT" ]
9
2019-07-11T19:42:56.000Z
2020-01-30T17:01:39.000Z
#!/usr/bin/env python ''' Reformats <.rtsc> files such that correlation may be easily caluclated, either genome-wide or on a per transcript basis. Output is a <.csv>. You may filter output by using a coverage overlap. where you only want to get the correlation between transcripts mutually above a certain threshold. Yo...
40.613636
149
0.656594
744
5,361
4.584677
0.271505
0.015831
0.010554
0.006157
0.191733
0.181179
0.171211
0.147757
0.147757
0.126649
0
0.002145
0.21731
5,361
131
150
40.923664
0.810772
0.038799
0
0.133333
0
0
0.11426
0
0.011111
0
0
0
0
0
null
null
0
0.055556
null
null
0.033333
0
0
0
null
0
0
0
0
0
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
afe5ca73833ae0ee033f6a28eef4827d929c8ec5
3,744
py
Python
test_random_bscs.py
lordofhyphens/cpp-pysim
ac7532ab781cffe447e7e50bd2cd3d80c619eb0e
[ "MIT" ]
null
null
null
test_random_bscs.py
lordofhyphens/cpp-pysim
ac7532ab781cffe447e7e50bd2cd3d80c619eb0e
[ "MIT" ]
null
null
null
test_random_bscs.py
lordofhyphens/cpp-pysim
ac7532ab781cffe447e7e50bd2cd3d80c619eb0e
[ "MIT" ]
null
null
null
from trojan import Trojan, parasite from cktnet import read_bench_file, write_bench_file, get_partitions from random_bsc_partition import repartition_ckt import copy import argparse import random import os.path as path try: import cPickle as pickle except ImportError: import pickle def randbits(seed=None): r...
52
138
0.673611
521
3,744
4.715931
0.28023
0.067155
0.076109
0.021978
0.336996
0.287342
0.247456
0.222222
0.222222
0.132682
0
0.006346
0.200321
3,744
71
139
52.732394
0.814295
0
0
0.107692
0
0
0.2289
0
0
0
0
0
0
0
null
null
0.030769
0.153846
null
null
0.030769
0
0
0
null
0
0
0
0
0
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
aff0af697d2bc3a3686bb3de8766a23a8b175f26
437
py
Python
section4/summarychallenge.py
jgyy/python-masterclass
20b3dd49b2b2d3a9dccba0b0c52a261828c6cfd5
[ "Unlicense" ]
null
null
null
section4/summarychallenge.py
jgyy/python-masterclass
20b3dd49b2b2d3a9dccba0b0c52a261828c6cfd5
[ "Unlicense" ]
null
null
null
section4/summarychallenge.py
jgyy/python-masterclass
20b3dd49b2b2d3a9dccba0b0c52a261828c6cfd5
[ "Unlicense" ]
null
null
null
""" Challenge to choose options from lists """ CHOICE = "-" while CHOICE != "0": if CHOICE in "12345": print("You chose {}".format(CHOICE)) else: print("Please choose your option from the list below:") print("1:\tLearn Python") print("2:\tLearn Java") print("3:\tGo Swimmi...
24.277778
63
0.553776
55
437
4.4
0.690909
0
0
0
0
0
0
0
0
0
0
0.038217
0.281465
437
17
64
25.705882
0.732484
0.086957
0
0
0
0
0.373402
0
0
0
0
0
0
1
0
false
0
0
0
0
0.615385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
aff87a478cf339ba0cf9786a79d5da65b9d037b5
682
py
Python
pid_discreto.py
lodaniel/teoria_de_controle
97d9350f1c5534e11bfc891f32ec604d6a7ace33
[ "Apache-2.0" ]
null
null
null
pid_discreto.py
lodaniel/teoria_de_controle
97d9350f1c5534e11bfc891f32ec604d6a7ace33
[ "Apache-2.0" ]
null
null
null
pid_discreto.py
lodaniel/teoria_de_controle
97d9350f1c5534e11bfc891f32ec604d6a7ace33
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt tfinal = 10 T = 0.1 N = int(tfinal/T) t = np.linspace(0,tfinal,N) t[1] = T t[2] = 2*T y = np.linspace(0,tfinal,N) y[1] = 0 y[2] = 0 u = np.linspace(0,tfinal,N) u[1] = 0 u[2] = 0 r = np.linspace(0,tfinal,N) r[1] = 1 r[2] = 1 e = np.linspace(0,tfinal,N) e[1] = r[1] - y[1...
18.944444
51
0.526393
179
682
2.005587
0.22905
0.139276
0.153203
0.236769
0.278552
0
0
0
0
0
0
0.111314
0.196481
682
35
52
19.485714
0.543796
0
0
0
0
0
0.014663
0
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
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
b310e606ad80d3783d14d15dfa55c2d7051109dd
628
py
Python
libs/asyncio/windows_events.py
klmp200/sublime_db
d7fdb3e27d4520c9d65473c061b6ac3be40f9cb2
[ "MIT" ]
1
2019-01-21T17:37:32.000Z
2019-01-21T17:37:32.000Z
libs/asyncio/windows_events.py
klmp200/sublime_db
d7fdb3e27d4520c9d65473c061b6ac3be40f9cb2
[ "MIT" ]
null
null
null
libs/asyncio/windows_events.py
klmp200/sublime_db
d7fdb3e27d4520c9d65473c061b6ac3be40f9cb2
[ "MIT" ]
null
null
null
"""Selector and proactor event loops for Windows.""" from . import events from . import selector_events from . import windows_utils __all__ = ['SelectorEventLoop', 'DefaultEventLoopPolicy', ] class _WindowsSelectorEventLoop(selector_events.BaseSelectorEventLoop): """Windows version of selec...
24.153846
72
0.773885
50
628
9.42
0.54
0.063694
0.067941
0
0
0
0
0
0
0
0
0
0.157643
628
25
73
25.12
0.890359
0.136943
0
0
0
0
0.073446
0.041431
0
0
0
0
0
1
0.076923
false
0
0.230769
0.076923
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
b314d4941924cad54312d588bb8f7d87deb0ff9c
3,384
py
Python
app/ui/ui_modify_env.py
ctpbee/bee-box
6aa7339cdf04c54cca6bd0ae9908883c39402526
[ "MIT" ]
2
2020-08-17T01:59:51.000Z
2022-02-11T05:57:22.000Z
app/ui/ui_modify_env.py
ctpbee/bee-box
6aa7339cdf04c54cca6bd0ae9908883c39402526
[ "MIT" ]
null
null
null
app/ui/ui_modify_env.py
ctpbee/bee-box
6aa7339cdf04c54cca6bd0ae9908883c39402526
[ "MIT" ]
2
2020-03-18T02:28:38.000Z
2022-02-11T05:57:23.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'modify_env.ui', # licensing of 'modify_env.ui' applies. # # Created: Wed Dec 25 11:08:05 2019 # by: pyside2-uic running on PySide2 5.13.2 # # WARNING! All changes made in this file will be lost! from PySide2 import QtCore, QtGui, QtWi...
49.043478
115
0.714243
372
3,384
6.392473
0.287634
0.142977
0.052986
0.090833
0.286375
0.163162
0
0
0
0
0
0.021739
0.170804
3,384
68
116
49.764706
0.825731
0.077423
0
0
1
0
0.060713
0.007067
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.092593
0
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
b3153fee022b4111953bc5fe49844890599569bd
593
py
Python
webarm/facilities/models.py
AlexGolovaschenko/WebArm
1019b73b1ad5560a626261bbce05137c01edcee5
[ "MIT" ]
null
null
null
webarm/facilities/models.py
AlexGolovaschenko/WebArm
1019b73b1ad5560a626261bbce05137c01edcee5
[ "MIT" ]
null
null
null
webarm/facilities/models.py
AlexGolovaschenko/WebArm
1019b73b1ad5560a626261bbce05137c01edcee5
[ "MIT" ]
null
null
null
from django.db import models # TODO: from django.contrib.gis.db.models import RasterField from companies.models import Company class Facility(models.Model): company = models.ForeignKey(Company, on_delete=models.CASCADE, verbose_name='Компания') name = models.CharField(max_length=200, verbose_name='Наименова...
29.65
91
0.715008
74
593
5.567568
0.554054
0.133495
0
0
0
0
0
0
0
0
0
0.006098
0.17032
593
20
92
29.65
0.831301
0.197302
0
0
0
0.1
0.202532
0.063291
0
0
0
0.05
0
1
0.1
false
0
0.2
0.1
0.8
0
0
0
0
null
0
0
0
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
b317e8c8116cb267c95a2dc4fd78e3aa0e010d1f
31,470
py
Python
lib/tool_shed/scripts/check_repositories_for_functional_tests.py
bopopescu/phyG
023f505b705ab953f502cbc55e90612047867583
[ "CC-BY-3.0" ]
null
null
null
lib/tool_shed/scripts/check_repositories_for_functional_tests.py
bopopescu/phyG
023f505b705ab953f502cbc55e90612047867583
[ "CC-BY-3.0" ]
null
null
null
lib/tool_shed/scripts/check_repositories_for_functional_tests.py
bopopescu/phyG
023f505b705ab953f502cbc55e90612047867583
[ "CC-BY-3.0" ]
1
2020-07-25T21:03:18.000Z
2020-07-25T21:03:18.000Z
#!/usr/bin/env python import os, sys, logging, tempfile new_path = [ os.path.join( os.getcwd(), "lib" ), os.path.join( os.getcwd(), "test" ) ] new_path.extend( sys.path[1:] ) sys.path = new_path log = logging.getLogger() log.setLevel( 10 ) log.addHandler( logging.StreamHandler( sys.stdout ) ) from galaxy import egg...
57.743119
167
0.56584
3,413
31,470
5.044829
0.144448
0.054304
0.013416
0.009757
0.446219
0.40539
0.373156
0.353293
0.341852
0.333024
0
0.006398
0.34938
31,470
544
168
57.849265
0.83453
0.227709
0
0.159259
0
0.011111
0.155456
0.026093
0
0
0
0.001838
0.003704
0
null
null
0.003704
0.062963
null
null
0.103704
0
0
0
null
0
0
0
0
0
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
b3195e2c249e847996cf37ace335078f2ff006fa
2,365
py
Python
paraseres.py
Junking1/DeepLabV3
7480ba2351fd5baa740bd5b8d0441f3103f3bbb0
[ "MIT" ]
null
null
null
paraseres.py
Junking1/DeepLabV3
7480ba2351fd5baa740bd5b8d0441f3103f3bbb0
[ "MIT" ]
null
null
null
paraseres.py
Junking1/DeepLabV3
7480ba2351fd5baa740bd5b8d0441f3103f3bbb0
[ "MIT" ]
null
null
null
import argparse def ad1para(): parser = argparse.ArgumentParser(description="PyTorch DeeplabV3Plus Training") parser.add_argument('--train_path', type=str, default='E:/lab2_train_data.h5', help='the path of train data') parser.add_argument('--val_path', type=str, default='...
52.555556
83
0.578013
281
2,365
4.754448
0.33452
0.107784
0.203593
0.029192
0.133234
0.062874
0
0
0
0
0
0.027712
0.282875
2,365
44
84
53.75
0.760024
0.025793
0
0
0
0
0.332447
0.009309
0
0
0
0
0
1
0.027778
false
0
0.027778
0
0.083333
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
b32039c8d905e3757359516982b961e7aa3b1444
5,413
py
Python
data-processing/MongoDB/mongo.py
kennie98/AI-book-recommendation-system
2707b08fe190a9803d3dcb610b96d9b6a984adc0
[ "CC0-1.0" ]
null
null
null
data-processing/MongoDB/mongo.py
kennie98/AI-book-recommendation-system
2707b08fe190a9803d3dcb610b96d9b6a984adc0
[ "CC0-1.0" ]
null
null
null
data-processing/MongoDB/mongo.py
kennie98/AI-book-recommendation-system
2707b08fe190a9803d3dcb610b96d9b6a984adc0
[ "CC0-1.0" ]
null
null
null
import pandas as pd from pymongo import MongoClient from MongoDB.marc import Marc import re import sys class Mongo: tag_mongodb_connection_uri = 'MONGODB_CONNECTION_URI' tag_mongodb_user = 'MONGODB_USER' tag_mongodb_password = 'MONGODB_PASSWORD' tag_mongodb_database = 'MONGODB_DATABASE' tag_mongod...
41.320611
119
0.568631
548
5,413
5.399635
0.257299
0.033795
0.02636
0.032443
0.093951
0.055086
0.055086
0.045961
0
0
0
0.005042
0.303898
5,413
130
120
41.638462
0.780255
0.013117
0
0.069565
0
0
0.101498
0.00412
0
0
0
0
0
1
0.078261
false
0.095652
0.043478
0.034783
0.365217
0.034783
0
0
0
null
0
0
0
0
0
0
0
0
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
b324bf18045ea4a7f105aae6d323ab08dcfbf152
584
py
Python
058.py
souza-joao/cursoemvideo-python3
b9f747d1083c1c779630b25b321b291d76611901
[ "MIT" ]
null
null
null
058.py
souza-joao/cursoemvideo-python3
b9f747d1083c1c779630b25b321b291d76611901
[ "MIT" ]
null
null
null
058.py
souza-joao/cursoemvideo-python3
b9f747d1083c1c779630b25b321b291d76611901
[ "MIT" ]
null
null
null
from random import randint, choice from time import sleep print('_' * 40) print('Vou pensar em um número entre 0 e 10.\n') print('PROCESSANDO...') sleep(3) print('pronto!') sleep(0.5) n = int(input('Em que número eu pensei? ')) print('-' * 80) sleep(2) x = randint(0, 10) cont = 0 while n != x: if n < x: n...
27.809524
86
0.631849
88
584
4.181818
0.556818
0.032609
0.07337
0.173913
0.217391
0.217391
0.217391
0
0
0
0
0.037199
0.217466
584
21
87
27.809524
0.768053
0
0
0.095238
0
0
0.42735
0.082051
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0.285714
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
b325a4cdd05ee38f1c358b84ae1f77dc879858b0
6,142
py
Python
visual_novel/vn_core/migrations/0001_base_models_for_visual_novels.py
dolamroth/visual_novel
c67379df395561b3bca7e91e2db6547d2e943330
[ "MIT" ]
9
2018-03-11T12:53:12.000Z
2020-12-19T14:21:53.000Z
visual_novel/vn_core/migrations/0001_base_models_for_visual_novels.py
dolamroth/visual_novel
c67379df395561b3bca7e91e2db6547d2e943330
[ "MIT" ]
6
2020-02-11T22:19:22.000Z
2022-03-11T23:20:10.000Z
visual_novel/vn_core/migrations/0001_base_models_for_visual_novels.py
dolamroth/visual_novel
c67379df395561b3bca7e91e2db6547d2e943330
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-04-28 16:31 import core.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('cinfo', '0002_test_data'), ] operations = [ migrations.CreateModel( ...
49.934959
160
0.586454
616
6,142
5.663961
0.228896
0.1135
0.044139
0.069361
0.549728
0.531958
0.439954
0.439954
0.380338
0.355116
0
0.00959
0.269945
6,142
122
161
50.344262
0.76851
0.007327
0
0.46087
1
0
0.199344
0
0
0
0
0
0
1
0
false
0
0.026087
0
0.06087
0
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
b32e4e1996fb297287ca00c74f529be969c107ca
6,771
py
Python
sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/tools/binman/control.py
openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano
c463575de065aad080f730ffbd479628eb821105
[ "BSD-3-Clause" ]
1
2022-02-15T08:51:55.000Z
2022-02-15T08:51:55.000Z
sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/tools/binman/control.py
openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano
c463575de065aad080f730ffbd479628eb821105
[ "BSD-3-Clause" ]
null
null
null
sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/tools/binman/control.py
openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano
c463575de065aad080f730ffbd479628eb821105
[ "BSD-3-Clause" ]
1
2021-12-15T09:54:37.000Z
2021-12-15T09:54:37.000Z
# SPDX-License-Identifier: GPL-2.0+ # Copyright (c) 2016 Google, Inc # Written by Simon Glass <sjg@chromium.org> # # Creates binary images from input files controlled by a description # from collections import OrderedDict import os import sys import tools import command import elf from image import Image import state...
34.545918
80
0.585143
798
6,771
4.912281
0.363409
0.02551
0.016582
0.009184
0.046939
0.02398
0.017857
0.017857
0.017857
0
0
0.002251
0.343819
6,771
195
81
34.723077
0.880036
0.180623
0
0.176991
0
0
0.049628
0
0
0
0
0
0
0
null
null
0
0.106195
null
null
0.017699
0
0
0
null
0
0
0
0
0
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
b331152f9b2de99eab713f246fc00d258a2ce780
1,677
py
Python
workbooks/WiFi_email.py
DarishkaAMS/laughing-guacamole
f848a922fdccb40fe6bb5e3026ebea54b32fa78d
[ "MIT" ]
null
null
null
workbooks/WiFi_email.py
DarishkaAMS/laughing-guacamole
f848a922fdccb40fe6bb5e3026ebea54b32fa78d
[ "MIT" ]
null
null
null
workbooks/WiFi_email.py
DarishkaAMS/laughing-guacamole
f848a922fdccb40fe6bb5e3026ebea54b32fa78d
[ "MIT" ]
null
null
null
import subprocess import re import smtplib from email.message import EmailMessage command_output = subprocess.run(["netsh", "wlan", "show", "profiles"], capture_output=True)\ .stdout.decode('Windows-1251') profile_names = (re.findall("All User Profile : (.*)\r", command_output)) wifi_list = list() if len(pr...
32.882353
103
0.613596
195
1,677
5.138462
0.410256
0.05489
0.053892
0.065868
0.219561
0.193613
0.193613
0
0
0
0
0.015674
0.239117
1,677
50
104
33.54
0.769592
0
0
0.105263
0
0
0.24031
0.042338
0
0
0
0
0
1
0
false
0.184211
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
b334e4b92f0e14a486132725ee5eb22fdd3521f3
12,046
py
Python
stfsclient/apis.py
jagans94/stfsclient
e24f109a4256c05ecca9331c21bf8f76e172ad45
[ "MIT" ]
null
null
null
stfsclient/apis.py
jagans94/stfsclient
e24f109a4256c05ecca9331c21bf8f76e172ad45
[ "MIT" ]
2
2019-09-15T19:11:05.000Z
2019-09-21T13:05:11.000Z
stfsclient/apis.py
jagans94/stfsclient
e24f109a4256c05ecca9331c21bf8f76e172ad45
[ "MIT" ]
1
2020-01-19T03:46:32.000Z
2020-01-19T03:46:32.000Z
import grpc from stfsclient.tensorflow_serving import model_pb2 from stfsclient.tensorflow_serving import get_model_metadata_pb2, predict_pb2 from stfsclient.tensorflow_serving import get_model_status_pb2, model_management_pb2 from stfsclient.tensorflow_serving import prediction_service_pb2_grpc from stfsclient.tensor...
33.276243
110
0.648265
1,326
12,046
5.500754
0.115385
0.081437
0.044557
0.030847
0.556211
0.482726
0.426926
0.347546
0.301206
0.277214
0
0.002691
0.259754
12,046
361
111
33.368421
0.815297
0.047817
0
0.444867
0
0
0.045085
0.001835
0
0
0
0.00277
0
1
0.21673
false
0
0.038023
0.057034
0.39924
0
0
0
0
null
0
0
0
0
0
0
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
b339349f3a3b5700cfea185822ee49f0438d9f1b
4,905
py
Python
bin/EmMonitor.py
multi-service-fabric/element-manager
e550d1b5ec9419f1fb3eb6e058ce46b57c92ee2f
[ "Apache-2.0" ]
null
null
null
bin/EmMonitor.py
multi-service-fabric/element-manager
e550d1b5ec9419f1fb3eb6e058ce46b57c92ee2f
[ "Apache-2.0" ]
null
null
null
bin/EmMonitor.py
multi-service-fabric/element-manager
e550d1b5ec9419f1fb3eb6e058ce46b57c92ee2f
[ "Apache-2.0" ]
1
2020-04-02T01:17:43.000Z
2020-04-02T01:17:43.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright(c) 2019 Nippon Telegraph and Telephone Corporation # Filename: em_monitor.py ''' EM Monitoring Module for RA ''' import sys import os import time from ncclient import manager from ncclient import transport from ncclient import operations USERNAME = None PASSWO...
31.645161
108
0.640571
563
4,905
5.436945
0.337478
0.047043
0.035283
0.030382
0.152238
0.112382
0.112382
0.069258
0.069258
0.039856
0
0.009975
0.26422
4,905
154
109
31.850649
0.838182
0.025892
0
0.098901
0
0
0.100369
0
0
0
0
0
0
0
null
null
0.043956
0.065934
null
null
0.010989
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b3419549c4ca01cf1366c673fc700d7d9a60d784
5,710
py
Python
alab/norm.py
WeAllOneCode/PGS2
9df272984eacf4e0ea87f1f80e4fdcc9ea1a7a37
[ "MIT" ]
null
null
null
alab/norm.py
WeAllOneCode/PGS2
9df272984eacf4e0ea87f1f80e4fdcc9ea1a7a37
[ "MIT" ]
null
null
null
alab/norm.py
WeAllOneCode/PGS2
9df272984eacf4e0ea87f1f80e4fdcc9ea1a7a37
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (C) 2015 University of Southern California and # Nan Hua # # Authors: Nan Hua # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, eith...
31.032609
123
0.515762
800
5,710
3.58625
0.30375
0.03137
0.010457
0.01917
0.236668
0.158243
0.131056
0.131056
0.121994
0.097595
0
0.024123
0.375657
5,710
183
124
31.202186
0.780645
0.203328
0
0.333333
0
0
0.058513
0
0
0
0
0
0
0
null
null
0.008547
0.025641
null
null
0.059829
0
0
0
null
0
0
0
0
0
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
b346352117cdba0c6b2f29860a945cac009480d1
2,953
py
Python
nmcli/dummy/_device.py
thex12/nmcli
af0df0283b2d8dbf9158248e69cf1aebcdabeaa1
[ "MIT" ]
1
2021-12-29T17:02:28.000Z
2021-12-29T17:02:28.000Z
nmcli/dummy/_device.py
thex12/nmcli
af0df0283b2d8dbf9158248e69cf1aebcdabeaa1
[ "MIT" ]
45
2021-01-04T12:05:07.000Z
2021-04-21T14:35:55.000Z
nmcli/dummy/_device.py
thex12/nmcli
af0df0283b2d8dbf9158248e69cf1aebcdabeaa1
[ "MIT" ]
2
2021-03-26T12:35:07.000Z
2021-05-01T02:15:16.000Z
from typing import List, Tuple from .._device import DeviceControlInterface, DeviceDetails from ..data.device import Device, DeviceWifi class DummyDeviceControl(DeviceControlInterface): @property def show_args(self): return self._show_args @property def connect_args(self): return self...
31.084211
69
0.651202
358
2,953
4.97486
0.125698
0.089837
0.10219
0.111174
0.293655
0.253229
0.224031
0.224031
0.16283
0.16283
0
0
0.257027
2,953
94
70
31.414894
0.811759
0
0
0.24
0
0
0.013884
0
0
0
0
0
0
1
0.24
false
0.026667
0.04
0.08
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b34957302a3231537efa791864b2e7c0c023c81a
245
py
Python
40-49/44. strict_zip/strict_zip.py
dcragusa/PythonMorsels
5f75b51a68769036e4004e9ccdada6b220124ab6
[ "MIT" ]
1
2021-11-30T05:03:24.000Z
2021-11-30T05:03:24.000Z
40-49/44. strict_zip/strict_zip.py
dcragusa/PythonMorsels
5f75b51a68769036e4004e9ccdada6b220124ab6
[ "MIT" ]
null
null
null
40-49/44. strict_zip/strict_zip.py
dcragusa/PythonMorsels
5f75b51a68769036e4004e9ccdada6b220124ab6
[ "MIT" ]
2
2021-04-18T05:26:43.000Z
2021-11-28T18:46:43.000Z
from itertools import zip_longest def strict_zip(*sequences): sentinel = object() for tup in zip_longest(*sequences, fillvalue=sentinel): if sentinel in tup: raise ValueError('value out of range') yield tup
24.5
59
0.669388
31
245
5.193548
0.709677
0.124224
0
0
0
0
0
0
0
0
0
0
0.257143
245
9
60
27.222222
0.884615
0
0
0
0
0
0.073469
0
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
b349c7b8b877c643ef6d69427ce58c59318ed868
1,435
py
Python
src/tm/config/system/routes.py
calopez/pyramid_auth_api
d7854cf33ef5225f9e5d67c738775eaec99fb004
[ "MIT" ]
null
null
null
src/tm/config/system/routes.py
calopez/pyramid_auth_api
d7854cf33ef5225f9e5d67c738775eaec99fb004
[ "MIT" ]
2
2019-12-26T17:21:06.000Z
2020-01-06T19:31:59.000Z
src/tm/config/system/routes.py
calopez/pyramid_auth_api
d7854cf33ef5225f9e5d67c738775eaec99fb004
[ "MIT" ]
null
null
null
from pyramid.response import Response def my_view(request): return { 'user': { 'friendly_name': 'Carlos Andres Lopez'}} def home(request): return Response(''' <div style="margin: 200px"> <form action="login/facebook" method="POST"> <input type="submit" value="Authenticate With Facebook"...
39.861111
94
0.658537
166
1,435
5.566265
0.361446
0.107143
0.136364
0.233766
0.345238
0.227273
0
0
0
0
0
0.002542
0.1777
1,435
36
95
39.861111
0.780508
0.305923
0
0
0
0
0.389899
0.085859
0
0
0
0
0
1
0.125
false
0.041667
0.125
0.083333
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
b351c2add51385b9b29daeb766b3694fbfb43cd6
365
py
Python
src/string_format.py
thehimel/hackerrank-python
e7b172b9379f89d4dbf99161491ae1e552f2692c
[ "MIT" ]
null
null
null
src/string_format.py
thehimel/hackerrank-python
e7b172b9379f89d4dbf99161491ae1e552f2692c
[ "MIT" ]
null
null
null
src/string_format.py
thehimel/hackerrank-python
e7b172b9379f89d4dbf99161491ae1e552f2692c
[ "MIT" ]
null
null
null
""" https://www.hackerrank.com/challenges/whats-your-name/problem Input: Ross Taylor Output: Hello Ross Taylor! You just delved into python. """ def print_full_name(first, last): print(f'Hello {first} {last}! You just delved into python.') if __name__ == '__main__': first_name, last_name = 'Ross', 'Taylor...
18.25
64
0.715068
53
365
4.622642
0.509434
0.122449
0.106122
0.138776
0.187755
0
0
0
0
0
0
0
0.150685
365
19
65
19.210526
0.790323
0.378082
0
0
0
0
0.310502
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
b3689078026756fd3c5035e1b65e769c2b8ddc88
1,725
py
Python
transfer_characteristics/signals.py
qh73xe/transfer_characteristics
1cdf120602501bd744fe83c208394bf96cf3bf50
[ "MIT" ]
null
null
null
transfer_characteristics/signals.py
qh73xe/transfer_characteristics
1cdf120602501bd744fe83c208394bf96cf3bf50
[ "MIT" ]
null
null
null
transfer_characteristics/signals.py
qh73xe/transfer_characteristics
1cdf120602501bd744fe83c208394bf96cf3bf50
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -* """信号処理一般関数""" def gen_chirp(duration, fs=96, **kwargs): """Generate chirp signal. 特定の長さのチャープ信号を返します. Args: duration (float) : 生成する信号の持続時間 (単位は sec). fs (int, optional) : 生成する信号のサンプリング周波数 (単位は kHz. デフォルトでは 96kHz) **kwargs: scipy.signal.chirp 関数に...
23.310811
72
0.577391
226
1,725
4.29646
0.446903
0.024717
0.046344
0.032956
0.061792
0
0
0
0
0
0
0.0545
0.297971
1,725
73
73
23.630137
0.747316
0.458551
0
0.083333
1
0
0.014907
0
0
0
0
0
0
1
0.125
false
0
0.291667
0
0.541667
0
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
b3778118c079067408f2edb5b9e482453afbdd52
9,672
py
Python
couplet_composer/support/tools/llvm.py
anttikivi/couplet-composer
0f6aaf894b35ea60d8047c0072ec146d4e1d2a6f
[ "MIT" ]
null
null
null
couplet_composer/support/tools/llvm.py
anttikivi/couplet-composer
0f6aaf894b35ea60d8047c0072ec146d4e1d2a6f
[ "MIT" ]
16
2020-10-29T17:31:47.000Z
2022-03-07T17:01:52.000Z
couplet_composer/support/tools/llvm.py
anttikivi/couplet-composer
0f6aaf894b35ea60d8047c0072ec146d4e1d2a6f
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Antti Kivi # Licensed under the MIT License """A module that contains the class for the object that represents LLVM and various LLVM tools in the toolchain of the build script. """ import os import stat from argparse import Namespace from ...util import http, shell from ...build_directory impo...
29.487805
165
0.57072
1,218
9,672
4.372742
0.134647
0.040556
0.033796
0.047315
0.72944
0.685317
0.655652
0.637814
0.637814
0.637814
0
0.003118
0.336849
9,672
327
166
29.577982
0.827253
0.247312
0
0.563218
0
0.011494
0.073574
0.021622
0
0
0
0.006116
0
1
0.057471
false
0
0.045977
0
0.183908
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2fa3085303864c7e12eabfe87f9bd18ac95b7ca4
3,269
py
Python
perception/Old/CVChess-master/src/MarkImage.py
gabrieledamone/DE3-ROB1-CHESS
19ec74f10317d27683817989e729cacd6fe55a3f
[ "CC-BY-4.0" ]
25
2018-03-28T09:46:50.000Z
2022-02-10T02:51:46.000Z
perception/Old/CVChess-master/src/MarkImage.py
gabrieledamone/DE3-ROB1-CHESS
19ec74f10317d27683817989e729cacd6fe55a3f
[ "CC-BY-4.0" ]
2
2018-02-25T13:14:46.000Z
2020-06-15T09:24:09.000Z
perception/Old/CVChess-master/src/MarkImage.py
gabrieledamone/DE3-ROB1-CHESS
19ec74f10317d27683817989e729cacd6fe55a3f
[ "CC-BY-4.0" ]
21
2018-02-06T23:09:28.000Z
2021-06-24T16:58:59.000Z
#!/opt/local/bin/python import os, sys import numpy as np import cv, cv2 import CVAnalysis from Board import Board from util import print_message, print_status #==========[ Global Data ]========== corner_keypoints = [] corner_image_points = [] corner_board_points = [] corner_sift_desc = [] def get_closest_keyp...
28.675439
82
0.655552
429
3,269
4.792541
0.342657
0.029183
0.033074
0.036479
0.051556
0.051556
0.051556
0.051556
0.051556
0.051556
0
0.018308
0.164576
3,269
114
83
28.675439
0.734529
0.213827
0
0.034483
0
0
0.118916
0.011019
0
0
0
0
0
0
null
null
0.017241
0.103448
null
null
0.12069
0
0
0
null
0
0
0
0
0
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
2facf704e67c18a43aeaa59d0fa5a011f2590e09
398
py
Python
safe_relay_service/tokens/migrations/0008_priceoracleticker_inverse.py
vaporyorg/safe-relay-service
1289c3d31639f83aa2c0110ff3b84a69212b81f5
[ "MIT" ]
5
2021-06-07T14:07:32.000Z
2022-03-26T19:42:45.000Z
safe_relay_service/tokens/migrations/0008_priceoracleticker_inverse.py
vaporyorg/safe-relay-service
1289c3d31639f83aa2c0110ff3b84a69212b81f5
[ "MIT" ]
24
2019-12-11T14:43:38.000Z
2022-03-01T12:37:24.000Z
safe_relay_service/tokens/migrations/0008_priceoracleticker_inverse.py
vaporyorg/safe-relay-service
1289c3d31639f83aa2c0110ff3b84a69212b81f5
[ "MIT" ]
4
2020-05-25T03:30:53.000Z
2021-11-22T06:51:12.000Z
# Generated by Django 2.1.3 on 2018-12-12 10:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tokens', '0007_auto_20181205_1024'), ] operations = [ migrations.AddField( model_name='priceoracleticker', name='inv...
20.947368
53
0.610553
41
398
5.829268
0.829268
0
0
0
0
0
0
0
0
0
0
0.108014
0.278894
398
18
54
22.111111
0.724739
0.113065
0
0
1
0
0.150997
0.065527
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2fb1c6be4ef74a37e43239a8048564bf4ff487d1
2,389
py
Python
hw2-romv-scheduler/user_simulator/transaction_parsing_patterns.py
eladn/romv-scheduler-python
4afa4312686d7e218faa0cff9790096dff0501fc
[ "MIT" ]
1
2021-01-28T16:50:24.000Z
2021-01-28T16:50:24.000Z
hw2-romv-scheduler/user_simulator/transaction_parsing_patterns.py
eladn/romv-scheduler-python
4afa4312686d7e218faa0cff9790096dff0501fc
[ "MIT" ]
null
null
null
hw2-romv-scheduler/user_simulator/transaction_parsing_patterns.py
eladn/romv-scheduler-python
4afa4312686d7e218faa0cff9790096dff0501fc
[ "MIT" ]
null
null
null
# Collection of patterns used for parsing the input workload test file. # Used by the method: TransactionSimulator.parse_transaction_from_test_line(..) # Used by the method: TransactionSimulator.parse_and_add_operation(..) class TransactionParsingPatterns: number_pattern = '(([1-9][0-9]*)|0)' identifier_patte...
59.725
119
0.619506
241
2,389
5.66805
0.261411
0.11713
0.087848
0.076135
0.192533
0.108346
0
0
0
0
0
0.004836
0.221013
2,389
39
120
61.25641
0.729178
0.090414
0
0.066667
0
0
0.202584
0.116751
0
0
0
0
0
1
0
false
0
0
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
2fb498d7415d0de70777173de30217109842ad90
643
py
Python
wipe_slate_clean.py
tjgran01/DotNIRSToolboxTools
aa07f507095dc42d4af4c3d8616e826c401e6a54
[ "MIT" ]
null
null
null
wipe_slate_clean.py
tjgran01/DotNIRSToolboxTools
aa07f507095dc42d4af4c3d8616e826c401e6a54
[ "MIT" ]
null
null
null
wipe_slate_clean.py
tjgran01/DotNIRSToolboxTools
aa07f507095dc42d4af4c3d8616e826c401e6a54
[ "MIT" ]
null
null
null
import os import shutil def main(): """ Removes any and all files generated from eml_localizer_pipeline.py, resetting the repository back to it's native state w/r/t code and data. Will NOT get rid of your zipped data. WiLL get rid of your unzipped data. So, beware if you're working with a lot, ...
26.791667
80
0.637636
91
643
4.362637
0.714286
0.040302
0.040302
0.060453
0
0
0
0
0
0
0
0
0.258165
643
23
81
27.956522
0.832285
0.457232
0
0
1
0
0.340694
0.264984
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2fc3d10c1bf1b8fbca3ca021751b16b83e1a9d1e
7,709
py
Python
plotMO_deg.py
landyion/plotMO
8de33b925223a170a33fdea7a5645ff64d6638d5
[ "MIT" ]
null
null
null
plotMO_deg.py
landyion/plotMO
8de33b925223a170a33fdea7a5645ff64d6638d5
[ "MIT" ]
null
null
null
plotMO_deg.py
landyion/plotMO
8de33b925223a170a33fdea7a5645ff64d6638d5
[ "MIT" ]
1
2020-05-05T08:16:19.000Z
2020-05-05T08:16:19.000Z
#!/usr/bin/python2.7 # Create the gnuplot script for MO energy diagrams # This script is released under MIT license. # Usage: plotMO.py <datefile> > <tol> # Date file structure: # 1) different molecules diveded by blank line, # 2) for each molecule section, start with molecule name # 3) second line for HOMO number...
27.144366
126
0.592035
954
7,709
4.774633
0.331237
0.019319
0.030296
0.021734
0.147969
0.094621
0.094621
0.094621
0.094621
0.081229
0
0.023677
0.276819
7,709
283
127
27.240283
0.793363
0.393177
0
0.291925
0
0.006211
0.145908
0.014838
0
0
0
0
0
0
null
null
0
0.006211
null
null
0.086957
0
0
0
null
0
0
0
0
0
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
2fc44e44de4fa82a33eba71af9e9f0b7407fba0b
2,024
py
Python
apps/hq/tests/auth.py
commtrack/commtrack-old-to-del
cc9c22754ac192a45483cef609bdcf09aa990340
[ "BSD-3-Clause" ]
1
2017-05-19T07:23:00.000Z
2017-05-19T07:23:00.000Z
apps/hq/tests/auth.py
commtrack/commtrack-old-to-del
cc9c22754ac192a45483cef609bdcf09aa990340
[ "BSD-3-Clause" ]
null
null
null
apps/hq/tests/auth.py
commtrack/commtrack-old-to-del
cc9c22754ac192a45483cef609bdcf09aa990340
[ "BSD-3-Clause" ]
null
null
null
import hashlib from django.test import TestCase from django.test.client import Client from hq.models import ExtUser, Domain, Organization, ReporterProfile from hq.tests.util import create_user_and_domain from receiver.models import Submission from reporters.models import Reporter class AuthenticationTestCase(TestCase)...
49.365854
166
0.623518
220
2,024
5.65
0.454545
0.040225
0.045052
0.030571
0.06436
0.06436
0
0
0
0
0
0.023923
0.277174
2,024
40
167
50.6
0.825701
0.139328
0
0
0
0.030303
0.1326
0.064852
0
0
0
0
0.030303
1
0.090909
false
0.121212
0.212121
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
1
0
0
0
0
0
1
2fc91778fcd42d41ff8ba864c167436b5a44ede5
1,679
py
Python
utilities/test_DFT.py
matter-labs-archive/belle_cuda
36c48708920e0ae0a43539f4476312649bbefc97
[ "Apache-2.0" ]
2
2021-03-03T19:09:04.000Z
2021-11-23T22:13:52.000Z
utilities/test_DFT.py
matter-labs-archive/belle_cuda
36c48708920e0ae0a43539f4476312649bbefc97
[ "Apache-2.0" ]
null
null
null
utilities/test_DFT.py
matter-labs-archive/belle_cuda
36c48708920e0ae0a43539f4476312649bbefc97
[ "Apache-2.0" ]
3
2021-08-21T07:50:12.000Z
2022-03-20T17:59:47.000Z
#FFT p = 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001 field = GF(p) R = field(0xe0a77c19a07df2f666ea36f7879462e36fc76959f60cd29ac96341c4ffffffb) root_of_unity = field(0x1860ef942963f9e756452ac01eb203d8a22bf3742445ffd6636e735580d13d9c) / R FILE_LOCATION = "/home/k/TestCuda3/benches.txt" unity_ord...
20.9875
93
0.627755
223
1,679
4.533632
0.327354
0.063304
0.047478
0.059347
0.136499
0.061325
0.061325
0.061325
0.061325
0.061325
0
0.119125
0.265039
1,679
79
94
21.253165
0.700162
0.058368
0
0.044444
0
0
0.034854
0.018378
0
0
0.127376
0
0
0
null
null
0
0
null
null
0.066667
0
0
0
null
0
0
0
0
0
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
2fcdd52a443fa79c19be95378dac193232845c7f
2,684
py
Python
helloworld.py
sungwon89/starter
8da98db4275ed149ada7b72a768cf55f36241284
[ "Apache-2.0" ]
null
null
null
helloworld.py
sungwon89/starter
8da98db4275ed149ada7b72a768cf55f36241284
[ "Apache-2.0" ]
null
null
null
helloworld.py
sungwon89/starter
8da98db4275ed149ada7b72a768cf55f36241284
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python ##################################### # Name : Daily Check # Language : Python # Create date : 2017.03.23 # Version : 0.1 ###################################### import csv import platform import commands ###################################### # Variables # 0. System_ENV # 1. SyslogChecke...
27.670103
117
0.596125
281
2,684
5.505338
0.373665
0.036199
0.023271
0.032967
0.102133
0.102133
0.102133
0.043956
0
0
0
0.012591
0.230626
2,684
96
118
27.958333
0.736562
0.134128
0
0.135593
0
0
0.101624
0.025986
0
0
0
0
0
0
null
null
0
0.050847
null
null
0.033898
0
0
0
null
0
0
0
0
0
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
2fd7e97342ba7ba70c0c1d034f2b6f659e0d93a5
3,822
py
Python
python/table_bandits.py
lbiester/gem5
21e2743f0d71c7f729f1ce799ec6e73c13a2eaba
[ "BSD-3-Clause" ]
null
null
null
python/table_bandits.py
lbiester/gem5
21e2743f0d71c7f729f1ce799ec6e73c13a2eaba
[ "BSD-3-Clause" ]
null
null
null
python/table_bandits.py
lbiester/gem5
21e2743f0d71c7f729f1ce799ec6e73c13a2eaba
[ "BSD-3-Clause" ]
null
null
null
import random import numpy as np from scipy.stats import bernoulli # TODO: how best to assign rewards? Should "too soon" of use be penalized? Should max reward be > 1? # what if something is used twice? Shouldn't this increase reward? for now no extra reward is given class ContextBandit: def __init__(self, state...
52.356164
125
0.674254
524
3,822
4.717557
0.276718
0.029126
0.034385
0.037217
0.245146
0.199434
0.165858
0.104369
0.065534
0.065534
0
0.005577
0.249346
3,822
72
126
53.083333
0.856047
0.236264
0
0.074074
0
0
0
0
0
0
0
0.013889
0.018519
1
0.074074
false
0
0.055556
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2fda17987d3e3d4eee33a6885696e3d642ef4b29
336
py
Python
app/editor/migrations/0004_auto_20190809_1728.py
sappachok/django-anaconda
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
null
null
null
app/editor/migrations/0004_auto_20190809_1728.py
sappachok/django-anaconda
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
7
2019-12-06T05:34:28.000Z
2021-06-10T18:25:17.000Z
app/editor/migrations/0004_auto_20190809_1728.py
sappachok/django-datasci
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-09 17:28 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('editor', '0003_auto_20190809_1724'), ] operations = [ migrations.RenameModel( old_name='PythonLabs', new_name='PythonLab', ...
18.666667
47
0.60119
36
336
5.472222
0.833333
0
0
0
0
0
0
0
0
0
0
0.129707
0.28869
336
17
48
19.764706
0.694561
0.133929
0
0
1
0
0.16609
0.079585
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2fe90b31573edf5975fb492298b9d7925da1286f
2,230
py
Python
Flight/RC Overrides/Forward Movement.py
MissouriMRR/DroneKit
979fc814c333db843252abe642dfb741613bfc94
[ "MIT" ]
1
2020-07-20T02:53:01.000Z
2020-07-20T02:53:01.000Z
Flight/RC Overrides/Forward Movement.py
MissouriMRR/DroneKit
979fc814c333db843252abe642dfb741613bfc94
[ "MIT" ]
null
null
null
Flight/RC Overrides/Forward Movement.py
MissouriMRR/DroneKit
979fc814c333db843252abe642dfb741613bfc94
[ "MIT" ]
null
null
null
import time from dronekit import VehicleMode, connect from pymavlink import mavutil fly=False landing = False lat = 49.2778638 lon = -123.0633418 vehicle = connect('tcp:127.0.0.1:5763', wait_ready=True) print "Read channels individually:" print " Ch1: %s" % vehicle.channels['1'] print " Ch2: %s" % vehicle.channels['2...
30.972222
110
0.698206
319
2,230
4.824451
0.291536
0.175439
0.11436
0.097466
0.597141
0.345029
0.304094
0.304094
0.304094
0.304094
0
0.056233
0.154709
2,230
71
111
31.408451
0.760212
0.031839
0
0.333333
0
0
0.174397
0.00974
0
0
0
0
0
0
null
null
0
0.05
null
null
0.333333
0
0
0
null
0
0
0
0
0
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
2fe9d5bba8728b3052a65f08a998d3c145a7e3af
1,806
py
Python
enaml/qt/qt_web_view.py
pberkes/enaml
cbcbee929e3117dfe56c0b06dc2385acc832b0e8
[ "BSD-3-Clause-Clear" ]
26
2016-04-01T18:49:31.000Z
2020-07-21T22:19:46.000Z
enaml/qt/qt_web_view.py
pberkes/enaml
cbcbee929e3117dfe56c0b06dc2385acc832b0e8
[ "BSD-3-Clause-Clear" ]
29
2016-02-22T17:40:55.000Z
2018-08-21T18:18:36.000Z
enaml/qt/qt_web_view.py
pberkes/enaml
cbcbee929e3117dfe56c0b06dc2385acc832b0e8
[ "BSD-3-Clause-Clear" ]
4
2016-08-29T13:07:19.000Z
2018-11-04T01:31:46.000Z
#------------------------------------------------------------------------------ # Copyright (c) 2013, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-------------------------------------------------...
30.610169
79
0.477298
168
1,806
5.065476
0.434524
0.061105
0.059929
0.054054
0.077556
0.077556
0
0
0
0
0
0.002774
0.20155
1,806
58
80
31.137931
0.587379
0.544297
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.25
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
2feff27c4691f93b27ecb59a4c2ab20267c11251
7,151
py
Python
storops_test/lib/test_version.py
tunaruraul/storops
7092c516c55b4c2f00c7c22383e1ad46ecfec091
[ "Apache-2.0" ]
60
2016-04-18T23:42:10.000Z
2022-03-23T02:26:03.000Z
storops_test/lib/test_version.py
tunaruraul/storops
7092c516c55b4c2f00c7c22383e1ad46ecfec091
[ "Apache-2.0" ]
317
2016-05-25T06:45:37.000Z
2022-03-25T13:22:38.000Z
storops_test/lib/test_version.py
tunaruraul/storops
7092c516c55b4c2f00c7c22383e1ad46ecfec091
[ "Apache-2.0" ]
34
2016-03-18T02:39:12.000Z
2022-01-07T12:54:14.000Z
import functools from unittest import TestCase import ddt from hamcrest import assert_that, equal_to, raises from storops.exception import SystemAPINotSupported from storops.lib.resource import Resource from storops.lib.version import version, Criteria from storops_test.unity.rest_mock import t_rest, patch_rest from ...
32.652968
77
0.602014
860
7,151
4.702326
0.096512
0.089021
0.022255
0.037092
0.590257
0.55094
0.422107
0.331108
0.248764
0.248764
0
0.026336
0.267235
7,151
218
78
32.802752
0.74542
0.000559
0
0.383721
0
0
0.095451
0
0
0
0
0
0.098837
1
0.22093
false
0.005814
0.052326
0.081395
0.389535
0
0
0
0
null
0
0
0
0
0
0
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
64019954b6c9d169557d681eddbbc7a7c34584de
1,043
py
Python
key_gen.py
hamatz/efppap
5e1ea01e8436c30547db5805649cc64d16016e1a
[ "Apache-2.0" ]
1
2020-03-16T04:12:46.000Z
2020-03-16T04:12:46.000Z
key_gen.py
hamatz/efppap
5e1ea01e8436c30547db5805649cc64d16016e1a
[ "Apache-2.0" ]
null
null
null
key_gen.py
hamatz/efppap
5e1ea01e8436c30547db5805649cc64d16016e1a
[ "Apache-2.0" ]
null
null
null
import Crypto import Crypto.Random from Crypto.PublicKey import RSA from Crypto.Signature import PKCS1_v1_5 from Crypto.Hash import SHA256 import binascii import sys def main(my_pass): random_gen = Crypto.Random.new().read _private_key = RSA.generate(2048, random_gen) _public_key = _private_key.publickey(...
24.833333
69
0.676894
155
1,043
4.212903
0.374194
0.045942
0.049005
0.064319
0.070444
0
0
0
0
0
0
0.027678
0.20326
1,043
42
70
24.833333
0.758123
0.012464
0
0
0
0
0.091351
0
0
0
0
0
0
1
0.030303
false
0.151515
0.212121
0
0.242424
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6402d35f820b27a9431ba5e1113030c41f480c56
2,515
py
Python
Lecture Codes/Lecture 3 notebooks/dsLecture3.py
h0han/SE274_2020_spring
a699e1d7e7bbc7cc2035b3748eea039b9a95d634
[ "MIT" ]
null
null
null
Lecture Codes/Lecture 3 notebooks/dsLecture3.py
h0han/SE274_2020_spring
a699e1d7e7bbc7cc2035b3748eea039b9a95d634
[ "MIT" ]
null
null
null
Lecture Codes/Lecture 3 notebooks/dsLecture3.py
h0han/SE274_2020_spring
a699e1d7e7bbc7cc2035b3748eea039b9a95d634
[ "MIT" ]
null
null
null
class EmptyException(Exception): """Raised when the input value is too large""" pass class ArrayStack: # Space used: O(n) def __init__(self): self._data = [] # O(1) def __len__(self): return len(self._data) # O(1) def is_empty(self): return len(self._data) == 0 # O(1...
27.944444
82
0.551491
335
2,515
3.916418
0.232836
0.146341
0.064024
0.039634
0.346037
0.289634
0.224085
0.224085
0.224085
0.170732
0
0.014343
0.306958
2,515
90
83
27.944444
0.738382
0.075944
0
0.272727
0
0
0.070716
0.027332
0
0
0
0
0
1
0.242424
false
0.015152
0
0.060606
0.424242
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
640a14d0405eaeebc1bec3e73813a8225fe552d4
13,215
py
Python
generate-grammars/grammar_to_ply.py
mbaak/histogrammar-python
6311f5b0eec9c75f12018f22604535c64675fdf6
[ "Apache-2.0" ]
30
2016-09-25T16:36:06.000Z
2021-07-20T09:09:09.000Z
generate-grammars/grammar_to_ply.py
mbaak/histogrammar-python
6311f5b0eec9c75f12018f22604535c64675fdf6
[ "Apache-2.0" ]
15
2016-07-26T19:41:31.000Z
2021-02-07T16:30:11.000Z
generate-grammars/grammar_to_ply.py
mbaak/histogrammar-python
6311f5b0eec9c75f12018f22604535c64675fdf6
[ "Apache-2.0" ]
8
2016-09-19T20:48:37.000Z
2021-02-07T15:00:24.000Z
#!/usr/bin/env python # Written by Andrew Dalke # Copyright (c) 2008 by Dalke Scientific, AB # Modified by Jim Pivarski, 2016 # # (This is the MIT License with the serial numbers scratched off and my # name written in in crayon. I would prefer "share and enjoy" but # apparently that isn't a legally acceptable.) # #...
29.432071
193
0.583882
1,780
13,215
4.219663
0.20618
0.00426
0.003195
0.003728
0.249368
0.173213
0.136333
0.099055
0.099055
0.099055
0
0.01132
0.278017
13,215
448
194
29.497768
0.775914
0.11714
0
0.251553
0
0.012422
0.362501
0.029877
0
0
0
0
0.021739
0
null
null
0.003106
0.043478
null
null
0.006211
0
0
0
null
0
0
0
0
0
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
640fe67a8c0974d5bd49edced52848028ecff445
401
py
Python
bau_evaluations.py
cebe01/baupy
e75f877ef3749023fc7ea1c2585f7b2e1c8ec461
[ "Apache-2.0" ]
null
null
null
bau_evaluations.py
cebe01/baupy
e75f877ef3749023fc7ea1c2585f7b2e1c8ec461
[ "Apache-2.0" ]
null
null
null
bau_evaluations.py
cebe01/baupy
e75f877ef3749023fc7ea1c2585f7b2e1c8ec461
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Aug 28 15:27:21 2020 @author: Cb """ import numpy as np import pandas as pd import baupy as bp # #%% path = 'C:/Users/CB.MAGMA/Documents/GitHub/baupy/kennwerte.xlsx'# r'/home/cb/Dokumente/GitHub/baupy/kennwerte_streichholzstrasse.txt' container = bp.kennwerte(...
16.04
133
0.710723
58
401
4.844828
0.706897
0.078292
0.142349
0
0
0
0
0
0
0
0
0.037791
0.142145
401
24
134
16.708333
0.77907
0.416459
0
0
0
0
0.247748
0.247748
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
64103b78b35c825d3b872412c51c638e6905c754
425
py
Python
lang/py/pylib/code/string/string_template_missing.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
1
2022-01-29T08:32:11.000Z
2022-01-29T08:32:11.000Z
lang/py/pylib/code/string/string_template_missing.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/pylib/code/string/string_template_missing.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
1
2022-01-29T08:32:12.000Z
2022-01-29T08:32:12.000Z
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2008 Doug Hellmann All rights reserved. # """ """ __version__ = "$Id$" #end_pymotw_header import string values = { 'var':'foo' } t = string.Template("$var is here but $missing is not provided") try: print 'substitute() :', t.substitute(values) excep...
17.708333
64
0.661176
56
425
4.875
0.75
0.080586
0
0
0
0
0
0
0
0
0
0.014286
0.176471
425
23
65
18.478261
0.765714
0.251765
0
0
0
0
0.304918
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.333333
0
0
0
null
0
0
0
0
0
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
641d1843e490f1c82ee27a3b382c287be94e5ece
2,537
py
Python
webdriver/smoke.py
iamdoubz/webwormhole
a38b8f42debdf19808982d0777c130ea8d6f5815
[ "BSD-3-Clause" ]
1,647
2020-04-29T05:14:38.000Z
2022-03-31T01:19:43.000Z
webdriver/smoke.py
iamdoubz/webwormhole
a38b8f42debdf19808982d0777c130ea8d6f5815
[ "BSD-3-Clause" ]
76
2020-04-29T06:15:30.000Z
2022-03-22T21:20:28.000Z
webdriver/smoke.py
saljam/cpace-machine
0dcba5cf52a943a69340fa7243bbe092cbbc207a
[ "BSD-3-Clause" ]
87
2020-04-29T21:15:26.000Z
2022-03-17T03:50:19.000Z
# a hacky smoke test that sends a file from one chrome window to another. # docker build -t ww-selenium . # docker run --rm -it -v $PWD:$PWD -w $PWD ww-selenium python3 ./smoke.py # it isn't much but it's start. # TODO: # - use go package / go test # - run the server # - eventually smoke test *all* client com...
29.16092
84
0.736303
368
2,537
5.002717
0.467391
0.043998
0.053775
0.065182
0.172189
0.077675
0.057577
0.057577
0.057577
0.057577
0
0.015851
0.129681
2,537
86
85
29.5
0.817935
0.246748
0
0.036364
0
0
0.155591
0.042194
0
0
0
0.011628
0.054545
1
0
false
0
0.181818
0
0.181818
0.072727
0
0
0
null
0
0
0
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
641d97542f22ba65a623da3a27b56b49064773cb
649
py
Python
CCC/CCC '05 S1 - Snow Calls.py
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
2
2021-04-13T00:19:56.000Z
2021-04-13T01:19:45.000Z
CCC/CCC '05 S1 - Snow Calls.py
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
null
null
null
CCC/CCC '05 S1 - Snow Calls.py
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
1
2020-08-26T12:36:08.000Z
2020-08-26T12:36:08.000Z
keys_map = { 'A':'2', 'B':'2', 'C':'2', 'D':'3', 'E':'3', 'F':'3', 'G':'4', 'H':'4', 'I':'4', 'J':'5', 'K':'5', 'L':'5', 'M':'6', 'N':'6', 'O':'6', 'P':'7', 'Q':'7', 'R':'7', 'S':'7', 'T':'8', 'U':'8', 'V':'8', 'W':'9', 'X':'9', 'Y':'9', 'Z':'9', } n = int(input()) f...
15.452381
58
0.391371
109
649
2.266055
0.477064
0.129555
0.109312
0.089069
0
0
0
0
0
0
0
0.071575
0.246533
649
41
59
15.829268
0.433538
0
0
0
0
0
0.086287
0
0
0
0
0
0
1
0
false
0
0
0
0
0.025641
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
6425b466b0e6cf309b673b3dfca0d05f9849d1d2
3,813
py
Python
src/controllers/Database.py
UCHIC/ODMStreamingDataLoader
711886167a068754efff6dfbd604e3e19e545253
[ "BSD-3-Clause" ]
null
null
null
src/controllers/Database.py
UCHIC/ODMStreamingDataLoader
711886167a068754efff6dfbd604e3e19e545253
[ "BSD-3-Clause" ]
null
null
null
src/controllers/Database.py
UCHIC/ODMStreamingDataLoader
711886167a068754efff6dfbd604e3e19e545253
[ "BSD-3-Clause" ]
null
null
null
__author__ = 'Denver' import sys import logging from datetime import datetime # sys.path.append('/home/denver/Documents/ODM2PythonAPI') from odm2api.ODMconnection import dbconnection from odm2api.ODM2.services import * logger = logging.getLogger('SDL_logger') class Database: ''' This class uses the ...
31.512397
181
0.606609
397
3,813
5.758186
0.345088
0.072178
0.094488
0.034121
0.187664
0.111549
0.111549
0.052493
0.052493
0
0
0.009477
0.308156
3,813
120
182
31.775
0.857089
0.071859
0
0.172414
0
0.017241
0.088257
0
0
0
0
0.008333
0
0
null
null
0
0.086207
null
null
0.12069
0
0
0
null
0
0
0
0
0
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
6426a7aa1144603b703bbace9e0249804b2e5c54
1,160
py
Python
lab2/myutils/lab2_task1/checker.py
kinpa200296/python_labs
bb26c426cbe9bb27f45b8ee4c974c38db300468f
[ "MIT" ]
null
null
null
lab2/myutils/lab2_task1/checker.py
kinpa200296/python_labs
bb26c426cbe9bb27f45b8ee4c974c38db300468f
[ "MIT" ]
null
null
null
lab2/myutils/lab2_task1/checker.py
kinpa200296/python_labs
bb26c426cbe9bb27f45b8ee4c974c38db300468f
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse __author__ = 'kinpa200296' def check_if_sorted(filename, ascending=True): with open(filename, 'r') as f: s = f.readline() if s == '': return True prev = int(s) s = f.readline() while s != '': cur = int(s) ...
24.166667
86
0.534483
132
1,160
4.492424
0.439394
0.060708
0.05059
0.043845
0.104553
0.104553
0.104553
0.104553
0
0
0
0.008219
0.37069
1,160
47
87
24.680851
0.80411
0.017241
0
0.371429
0
0
0.175593
0
0
0
0
0
0
0
null
null
0
0.028571
null
null
0.085714
0
0
0
null
0
0
0
0
0
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
642e25c2894b68733c612d1de87dbe97de5ee5c2
1,925
py
Python
src/main.py
idrissneumann/rpi_flow
561d9e7803bbe7212b84f092afed21f8bae1c3d6
[ "Apache-2.0" ]
null
null
null
src/main.py
idrissneumann/rpi_flow
561d9e7803bbe7212b84f092afed21f8bae1c3d6
[ "Apache-2.0" ]
null
null
null
src/main.py
idrissneumann/rpi_flow
561d9e7803bbe7212b84f092afed21f8bae1c3d6
[ "Apache-2.0" ]
null
null
null
import json import requests import sys from datetime import date from datetime import datetime from elasticsearch import Elasticsearch from time import sleep from veggie_utils import * from elastic_utils import es_connect with open('flow_conf.json') as json_file: conf = json.load(json_file) override_conf_from_en...
34.375
125
0.748052
289
1,925
4.629758
0.283737
0.098655
0.13154
0.156203
0.202541
0.150972
0
0
0
0
0
0.002354
0.117403
1,925
55
126
35
0.785168
0
0
0
0
0
0.203636
0
0
0
0
0
0
1
0
false
0.06383
0.191489
0
0.191489
0
0
0
0
null
0
0
0
0
0
0
0
0
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
6436d87792524f633d16459439c3e34419da5cfe
6,805
py
Python
blueprints/authentication.py
avirois/ProjectManagement
9e05d1302336ca4ef32bef93e28bcc69fdad7d4f
[ "WTFPL" ]
null
null
null
blueprints/authentication.py
avirois/ProjectManagement
9e05d1302336ca4ef32bef93e28bcc69fdad7d4f
[ "WTFPL" ]
3
2021-03-24T11:53:18.000Z
2021-04-05T10:20:58.000Z
blueprints/authentication.py
avirois/ProjectManagement
9e05d1302336ca4ef32bef93e28bcc69fdad7d4f
[ "WTFPL" ]
null
null
null
from flask import Blueprint, render_template, request, session, redirect, current_app, Markup, jsonify import sqlite3 import os from static.classes.User import User, encryptPassword, decryptPassword from cryptography.fernet import Fernet authentication_blueprint = Blueprint("authentication_blueprint", __name__, templa...
38.01676
149
0.57928
678
6,805
5.769912
0.269912
0.019683
0.016871
0.02454
0.261503
0.253323
0.179448
0.179448
0.079243
0.058793
0
0.006296
0.323145
6,805
178
150
38.230337
0.843031
0.191477
0
0.245098
0
0
0.1551
0.012452
0
0
0
0
0
1
0.039216
false
0.058824
0.04902
0
0.196078
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
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
64376e8106131626dc32171ef1ab964eda092d64
6,487
py
Python
wrap/pyllbc/script/core/config/Property.py
zhouyanlt/llbc
a8cc4662401e9b077be7ee0058350b35fdd86060
[ "MIT" ]
null
null
null
wrap/pyllbc/script/core/config/Property.py
zhouyanlt/llbc
a8cc4662401e9b077be7ee0058350b35fdd86060
[ "MIT" ]
null
null
null
wrap/pyllbc/script/core/config/Property.py
zhouyanlt/llbc
a8cc4662401e9b077be7ee0058350b35fdd86060
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import llbc class pyllbcProperty(object): """ pyllbc property class encapsulation. property can read & write .cfg format file. file format: path.to.name = value # The comments path.to.anotherName = \#\#\# anotherValue \#\#\# # The comments too Property clas...
33.611399
98
0.612456
799
6,487
4.779725
0.18398
0.022257
0.035611
0.038492
0.210264
0.161299
0.090076
0.090076
0.069128
0.069128
0
0.003251
0.288731
6,487
192
99
33.786458
0.824447
0.003237
0
0.055556
0
0
0.001277
0
0
0
0
0
0
0
null
null
0
0.013889
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
643cc63033fb1b3e849c2c4070ffb4a5b3005b89
2,944
py
Python
src/2-ner.py
nicole-dwenger/sermon-networks.dk
83c89506b32f4f8d972d8e11c0c186815d7ffad6
[ "MIT" ]
1
2020-12-21T03:51:25.000Z
2020-12-21T03:51:25.000Z
src/2-ner.py
nicole-dwenger/sermon-networks.dk
83c89506b32f4f8d972d8e11c0c186815d7ffad6
[ "MIT" ]
null
null
null
src/2-ner.py
nicole-dwenger/sermon-networks.dk
83c89506b32f4f8d972d8e11c0c186815d7ffad6
[ "MIT" ]
3
2021-04-16T11:45:47.000Z
2022-03-06T12:33:26.000Z
""" NER for sermons in content.dat """ import os import pandas as pd import numpy as np from polyglot.text import Text import nltk.data from nltk.stem.snowball import DanishStemmer stemmer = DanishStemmer() if __name__ == "__main__": """ First processing to create NER outputs """ df = pd.read_csv(os.pa...
33.83908
87
0.569973
367
2,944
4.446866
0.384196
0.022059
0.042892
0.042892
0.167892
0.126225
0.028186
0
0
0
0
0.002885
0.293478
2,944
86
88
34.232558
0.781731
0
0
0
0
0
0.117057
0.020903
0
0
0
0
0
0
null
null
0
0.113208
null
null
0.018868
0
0
0
null
0
0
0
0
0
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
ff234cba60f02dcaf43134ee5acb4492e57d2cbb
4,009
py
Python
schools3/config/main_config.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
schools3/config/main_config.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
schools3/config/main_config.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
import sys import pandas as pd import sherpa from schools3.config import base_config from schools3.data.features.processors.impute_null_processor import ImputeNullProcessor, ImputeBy from schools3.data.features.processors.composite_feature_processor import CompositeFeatureProcessor from schools3.data.features.processor...
39.303922
235
0.833375
463
4,009
6.961123
0.323974
0.093081
0.078188
0.055849
0.075085
0.043438
0.043438
0.043438
0.043438
0.043438
0
0.012209
0.101023
4,009
101
236
39.693069
0.882075
0.068845
0
0.054054
0
0
0.004566
0
0
0
0
0
0.013514
1
0.040541
false
0
0.378378
0
0.445946
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
ff25db516b2acce8246e0ce6dbaafb46c8b2035b
623
py
Python
packaging_example/0_in_the_beginning/lab.py
sr105/python_packages_tutorial
e795ce1ff14463dd5c3da06d120a4e40da5ad732
[ "MIT" ]
1
2021-06-11T17:47:39.000Z
2021-06-11T17:47:39.000Z
packaging_example/0_in_the_beginning/lab.py
sr105/python_packages_tutorial
e795ce1ff14463dd5c3da06d120a4e40da5ad732
[ "MIT" ]
null
null
null
packaging_example/0_in_the_beginning/lab.py
sr105/python_packages_tutorial
e795ce1ff14463dd5c3da06d120a4e40da5ad732
[ "MIT" ]
null
null
null
# Computations def multiply_a_list_by(a_list, number): """Return a list with every item multiplied by number.""" return [item * number for item in a_list] def square_a_list(a_list): """Return a list with every item squared.""" return [item * item for item in a_list] # Constants PI = 3.14159 AVOGADRO...
22.25
61
0.680578
87
623
4.770115
0.45977
0.096386
0.053012
0.072289
0.183133
0.115663
0
0
0
0
0
0.048096
0.199037
623
27
62
23.074074
0.783567
0.402889
0
0
0
0
0
0
0
0
0
0
0
1
0.363636
false
0
0
0
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
1
0
0
0
0
0
0
0
1
ff2c61c10884e455b05064de9a81456bb3dbabf3
319
py
Python
setup.py
TimothyClaeys/SramAnalyzer
0f4d908730df4a227c2a9bbbea6739f24cbebdc7
[ "MIT" ]
null
null
null
setup.py
TimothyClaeys/SramAnalyzer
0f4d908730df4a227c2a9bbbea6739f24cbebdc7
[ "MIT" ]
null
null
null
setup.py
TimothyClaeys/SramAnalyzer
0f4d908730df4a227c2a9bbbea6739f24cbebdc7
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='sram_tools', version='0.1', py_modules=['sram_tools'], python_requires='>=3.6', install_requires=[ 'Click', 'pillow', 'matplotlib' ], entry_points=''' [console_scripts] sram_tools=sramanalyzer:cli ''', )
17.722222
35
0.561129
32
319
5.34375
0.8125
0.157895
0
0
0
0
0
0
0
0
0
0.017621
0.288401
319
17
36
18.764706
0.735683
0
0
0
0
0
0.363636
0.08464
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
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
ff3111c8ed012b9a11b5d7265507d9ec11c1c3e2
411
py
Python
slack_g_cal/g_cal/__init__.py
wfa207/slack_g_cal
2acfb19d156e3b6f14c4ad0b079b9c3a5f79c9b0
[ "Apache-2.0" ]
1
2018-11-01T15:53:18.000Z
2018-11-01T15:53:18.000Z
slack_g_cal/g_cal/__init__.py
wfa207/slack_g_cal
2acfb19d156e3b6f14c4ad0b079b9c3a5f79c9b0
[ "Apache-2.0" ]
null
null
null
slack_g_cal/g_cal/__init__.py
wfa207/slack_g_cal
2acfb19d156e3b6f14c4ad0b079b9c3a5f79c9b0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from os import environ, path from .client import GoogleCalClient SCOPES = ['https://www.googleapis.com/auth/calendar'] GOOGLE_AUTH_FILENAME = environ['GOOGLE_AUTH_FILENAME'] GOOGLE_AUTH_FILEPATH = path.abspath(path.join(path.dirname(__file__), './{}'.fo...
31.615385
107
0.785888
53
411
5.698113
0.566038
0.165563
0.178808
0
0
0
0
0
0
0
0
0.002667
0.087591
411
12
108
34.25
0.802667
0.051095
0
0
0
0
0.164948
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ff31983c8ac601d9ab46ea257efd05459537f8e8
17,403
py
Python
database_manager/database_manager.py
virbickt/tlc-data-pipeline
18e61e0e6dd4cb00e7ad0b2b13d48ac626a9e0b8
[ "MIT" ]
1
2022-01-30T12:16:36.000Z
2022-01-30T12:16:36.000Z
database_manager/database_manager.py
virbickt/tlc-data-pipeline
18e61e0e6dd4cb00e7ad0b2b13d48ac626a9e0b8
[ "MIT" ]
null
null
null
database_manager/database_manager.py
virbickt/tlc-data-pipeline
18e61e0e6dd4cb00e7ad0b2b13d48ac626a9e0b8
[ "MIT" ]
null
null
null
import os import time import pyodbc from azure.common.credentials import ServicePrincipalCredentials from azure.mgmt.resource import ResourceManagementClient from azure.mgmt.sql import SqlManagementClient from dotenv import find_dotenv, load_dotenv load_dotenv(find_dotenv()) class Database: def __init__( ...
43.616541
438
0.600011
2,064
17,403
4.928295
0.162306
0.048663
0.020645
0.027527
0.579335
0.548073
0.518777
0.512289
0.503834
0.492725
0
0.009505
0.316842
17,403
398
439
43.726131
0.846076
0.341206
0
0.527881
0
0.007435
0.412882
0.076787
0
0
0
0
0
1
0.040892
false
0.05948
0.026022
0
0.074349
0.04461
0
0
0
null
0
0
0
0
0
0
0
0
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
ff34bc72d0901db6c713baef231ab65634196f4b
194
py
Python
Course/functions/example_18.py
zevgenia/Python_shultais
e51c31de221c5e7f36ede857a960138009ec8a05
[ "Apache-2.0" ]
null
null
null
Course/functions/example_18.py
zevgenia/Python_shultais
e51c31de221c5e7f36ede857a960138009ec8a05
[ "Apache-2.0" ]
null
null
null
Course/functions/example_18.py
zevgenia/Python_shultais
e51c31de221c5e7f36ede857a960138009ec8a05
[ "Apache-2.0" ]
null
null
null
def func(arg1, arg2): arg1 = 20 arg2 = arg2[:] arg2[0] = 10 print('arg1', arg1) print('arg2', arg2) ten = 10 l = [1, 2, 3] func(ten, l) print("ten:", ten) print("l:", l)
12.125
23
0.5
32
194
3.03125
0.40625
0.247423
0
0
0
0
0
0
0
0
0
0.142857
0.278351
194
15
24
12.933333
0.55
0
0
0
0
0
0.072539
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0.363636
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
ff38e67a8c1a6702cdc8622934c8e106e37e5219
303
py
Python
BOJ/17000~17999/17800~17899/17826.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/17000~17999/17800~17899/17826.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/17000~17999/17800~17899/17826.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
L = list(map(int,input().split())) a = int(input()) L.sort(reverse= True) k = -1 for i in range(len(L)): if L[i] == a: k = i+1 D = [[1,5,'A+'],[6,15,'A0'],[16,30,'B+'],[31,35,'B0'],[36,45,'C+'],[46,48,'C0'],[49,50,'F']] for i in D: if i[0] <= k <= i[1]: print(i[2]) break
25.25
92
0.438944
64
303
2.078125
0.65625
0.120301
0.090226
0
0
0
0
0
0
0
0
0.140426
0.224422
303
12
93
25.25
0.425532
0
0
0
0
0
0.042763
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
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
ff3971eefa022c612a9b32f2288f8a495121ba39
1,036
py
Python
projects/code_combat/8_Cloudrip_Mountain/438-Steelclaw_Gap/steeclaw_gap.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/8_Cloudrip_Mountain/438-Steelclaw_Gap/steeclaw_gap.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/8_Cloudrip_Mountain/438-Steelclaw_Gap/steeclaw_gap.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
defendPoints = [{"x": 35, "y": 63},{"x": 61, "y": 63},{"x": 32, "y": 26},{"x": 64, "y": 26}]; summonTypes = ["soldier","soldier","soldier","soldier","archer","archer","archer","archer"]; def summonTroops(): type = summonTypes[hero.built.length % summonTypes.length] if hero.gold >= hero.costOf(type): ...
31.393939
94
0.533784
116
1,036
4.767241
0.387931
0.057866
0.014467
0.039783
0.075949
0.075949
0
0
0
0
0
0.027397
0.295367
1,036
32
95
32.375
0.730137
0
0
0.076923
0
0
0.088645
0
0
0
0
0
0
0
null
null
0
0
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
ff4ddad56cc09f4e515086639ef104f7e8cf7072
6,844
py
Python
databacon/tests/test.py
cameron/databacon
7065232d1e689f176aa298c42ecfe194ccf5b27d
[ "BSD-3-Clause" ]
4
2015-09-09T23:05:39.000Z
2016-10-20T15:24:58.000Z
databacon/tests/test.py
cameron/databacon
7065232d1e689f176aa298c42ecfe194ccf5b27d
[ "BSD-3-Clause" ]
null
null
null
databacon/tests/test.py
cameron/databacon
7065232d1e689f176aa298c42ecfe194ccf5b27d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys sys.path.insert(0, '/mummy/python') sys.path.insert(0, '/datahog/') sys.path.insert(0, '/src') def info(type, value, tb): if hasattr(sys, 'ps1') or not sys.stderr.isatty(): # we are in interactive mode or we don't have a tty-like # device, so we call the default hook ...
26.122137
142
0.720923
1,045
6,844
4.64689
0.270813
0.014827
0.012356
0.014003
0.1493
0.08855
0.050659
0.019769
0.019769
0
0
0.022063
0.145675
6,844
261
143
26.222222
0.808449
0.283168
0
0.07874
0
0
0.067138
0.004859
0
0
0
0.007663
0.283465
1
0.007874
false
0.062992
0.03937
0
0.047244
0.007874
0
0
0
null
0
0
0
0
0
0
0
0
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
ff5b34e968f98191d2753c8153930c996fac69c1
1,114
py
Python
alembic/versions/93ff199763ac_update_lib_raid_errors_table.py
pkgw/hera_mc
d2769a716a0e68fe709d3834362b94f547136836
[ "BSD-2-Clause" ]
4
2018-01-28T06:58:00.000Z
2020-04-16T11:19:38.000Z
alembic/versions/93ff199763ac_update_lib_raid_errors_table.py
pkgw/hera_mc
d2769a716a0e68fe709d3834362b94f547136836
[ "BSD-2-Clause" ]
474
2016-10-26T17:29:54.000Z
2022-02-15T21:51:52.000Z
alembic/versions/93ff199763ac_update_lib_raid_errors_table.py
pkgw/hera_mc
d2769a716a0e68fe709d3834362b94f547136836
[ "BSD-2-Clause" ]
2
2016-11-15T14:34:55.000Z
2020-11-02T08:07:19.000Z
"""update lib_raid_errors table Revision ID: 93ff199763ac Revises: b1063869f198 Create Date: 2017-07-27 00:13:29.765073+00:00 """ from alembic import op import sqlalchemy as sa from sqlalchemy.schema import Sequence, CreateSequence # revision identifiers, used by Alembic. revision = '93ff199763ac' down_revision = '...
29.315789
98
0.728905
151
1,114
5.059603
0.423841
0.11911
0.221204
0.089005
0.327225
0.280105
0.280105
0.280105
0.280105
0.280105
0
0.062176
0.133752
1,114
37
99
30.108108
0.729534
0.186715
0
0.117647
0
0
0.334088
0.073613
0
0
0
0
0
1
0.117647
false
0
0.176471
0
0.294118
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
ff637ccd06139e8711f83376afafd89f9be9cb1d
425
py
Python
store/migrations/0005_product_stock.py
Dinog59/ProyectoPizza
49c777970b5defa8fa92d22e9280c01efc54f97d
[ "MIT" ]
null
null
null
store/migrations/0005_product_stock.py
Dinog59/ProyectoPizza
49c777970b5defa8fa92d22e9280c01efc54f97d
[ "MIT" ]
null
null
null
store/migrations/0005_product_stock.py
Dinog59/ProyectoPizza
49c777970b5defa8fa92d22e9280c01efc54f97d
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-11-11 02:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0004_auto_20211012_1517'), ] operations = [ migrations.AddField( model_name='product', name='stock', ...
21.25
57
0.6
44
425
5.681818
0.818182
0
0
0
0
0
0
0
0
0
0
0.106312
0.291765
425
19
58
22.368421
0.724252
0.105882
0
0
1
0
0.10582
0.060847
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
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
ff67b713f5ee8c222855eceb330dedf872537124
374
py
Python
web_page_retrieve.py
yaya967/pythonbasics
94546a3eba1db166157b60f4f2f3c0115f4d2c31
[ "MIT" ]
10
2018-08-08T03:15:47.000Z
2022-01-21T15:31:53.000Z
web_page_retrieve.py
WebBreacher/pythonbasics
3b21ba785f38fa9e06b5018fd942cbb580087b4c
[ "MIT" ]
null
null
null
web_page_retrieve.py
WebBreacher/pythonbasics
3b21ba785f38fa9e06b5018fd942cbb580087b4c
[ "MIT" ]
5
2018-06-28T21:54:34.000Z
2020-11-06T07:24:38.000Z
''' Script to demonstrate how to retrieve a web page using the requests library ''' # Import the contents of the requests library import requests # URL to make the request to url = 'http://whatu.info' # Make the request, don't check for HTTPS certificate issues and store response in 'response' response = requests.ge...
24.933333
93
0.759358
58
374
4.896552
0.672414
0.077465
0.126761
0.169014
0
0
0
0
0
0
0
0.006349
0.157754
374
15
94
24.933333
0.895238
0.639037
0
0
0
0
0.134921
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
ff74ee1bc3fce59d2d7d4cb04d5cb940742c5669
703
py
Python
14_funcoes/a118_prog_funcional_spoiler_callable.py
smartao/estudos_python
252a2e592ff929dfc6c06fc09b42cb7063ad0b5a
[ "MIT" ]
null
null
null
14_funcoes/a118_prog_funcional_spoiler_callable.py
smartao/estudos_python
252a2e592ff929dfc6c06fc09b42cb7063ad0b5a
[ "MIT" ]
9
2019-11-15T14:21:43.000Z
2020-03-15T14:37:13.000Z
14_funcoes/a118_prog_funcional_spoiler_callable.py
smartao/estudos_python
252a2e592ff929dfc6c06fc09b42cb7063ad0b5a
[ "MIT" ]
null
null
null
#!/usr/bin/python3 ''' def executar(funcao): = Criando a funcao executar if callable(funcao): = Validando se o objeto é tipo de uma funcao funcao() = Executando a funcoa recebida ''' def executar(funcao): if callable(funcao): # server para ingorar o parametro (1) funcao() def bom_dia(): print('Bom ...
23.433333
70
0.699858
101
703
4.742574
0.584158
0.050104
0.070981
0
0
0
0
0
0
0
0
0.015817
0.190612
703
29
71
24.241379
0.826011
0.623044
0
0
0
0
0.103586
0
0
0
0
0
0
1
0.272727
false
0
0
0
0.272727
0.181818
0
0
0
null
0
0
0
0
0
0
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
ff76a6c284f6402781219fe1a5d5ef9cc1b7570a
1,161
py
Python
youtube_list.py
fumen/gae-fumen
cb73c92336ec20e4c5caf5276e51c9618e5a107d
[ "BSD-3-Clause" ]
null
null
null
youtube_list.py
fumen/gae-fumen
cb73c92336ec20e4c5caf5276e51c9618e5a107d
[ "BSD-3-Clause" ]
null
null
null
youtube_list.py
fumen/gae-fumen
cb73c92336ec20e4c5caf5276e51c9618e5a107d
[ "BSD-3-Clause" ]
null
null
null
# from apiclient.discovery import build # from apiclient.errors import HttpError from googleapiclient.discovery import build from googleapiclient.errors import HttpError from oauth2client.tools import argparser DEVELOPER_KEY = "AIzaSyCsrKjMf7_mHYrT6rIJ-oaA6KL5IYg389A" YOUTUBE_API_SERVICE_NAME = "youtube" YOUTUBE_API_V...
30.552632
94
0.70801
140
1,161
5.635714
0.507143
0.050697
0.050697
0.060837
0.070976
0
0
0
0
0
0
0.013556
0.173988
1,161
37
95
31.378378
0.809176
0.065461
0
0
0
0
0.159889
0.036044
0
0
0
0
0
0
null
null
0
0.115385
null
null
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ff79db00a80e1a45e4d85ba2459fb187941dbe4e
901
py
Python
count.py
amacd31/pypi_download_counter
10c0c239185d0c76dbb0717561b4548439847cc6
[ "BSD-3-Clause" ]
null
null
null
count.py
amacd31/pypi_download_counter
10c0c239185d0c76dbb0717561b4548439847cc6
[ "BSD-3-Clause" ]
null
null
null
count.py
amacd31/pypi_download_counter
10c0c239185d0c76dbb0717561b4548439847cc6
[ "BSD-3-Clause" ]
null
null
null
from datetime import date import pandas as pd import requests from phildb.database import PhilDB from phildb.exceptions import DuplicateError MEASURANDS = ['last_day', 'last_week', 'last_month'] db = PhilDB('pypi_downloads') def get_pypi_info(package_name): r = requests.get('https://pypi.python.org/pypi/{0}/jso...
23.710526
115
0.641509
118
901
4.762712
0.449153
0.049822
0.02847
0.064057
0
0
0
0
0
0
0
0.001437
0.227525
901
37
116
24.351351
0.806034
0
0
0.230769
0
0
0.121111
0
0
0
0
0
0
1
0.076923
false
0.076923
0.192308
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
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
ff82d04b9e540859b9ae5219908e24258f1feaee
21,785
py
Python
tutorial files/spectrast2spectrast_irt.py
tachengxmu/QuantPipe
5d75891dc8672284e90beab363d253ecf14e3775
[ "BSD-3-Clause" ]
1
2020-10-26T08:28:49.000Z
2020-10-26T08:28:49.000Z
tutorial files/spectrast2spectrast_irt.py
tachengxmu/QuantPipe
5d75891dc8672284e90beab363d253ecf14e3775
[ "BSD-3-Clause" ]
5
2020-11-01T03:01:15.000Z
2021-01-21T06:39:00.000Z
tutorial files/spectrast2spectrast_irt.py
tachengxmu/QuantPipe
5d75891dc8672284e90beab363d253ecf14e3775
[ "BSD-3-Clause" ]
null
null
null
#!C:\Anaconda3\python.exe """ Copyright (c) 2012, ETH Zurich, Insitute of Molecular Systems Biology, George Rosenberger All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source co...
50.780886
3,844
0.65972
2,876
21,785
4.920723
0.280598
0.012295
0.014132
0.013567
0.195308
0.144291
0.08762
0.057589
0.039146
0.033211
0
0.069304
0.176039
21,785
428
3,845
50.899533
0.719109
0.087537
0
0.111748
0
0.014327
0.25739
0.049
0
0
0
0
0
1
0.048711
false
0
0.034384
0
0.100287
0.100287
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
ff873ce57d71d33d7d0aa04efbb17bf2b6287acb
394
py
Python
Fundamentals/Exer.035.py
thiagokanagushiku/Python-Exercises
e536ff3c64911d3f25d4b1441c4ef070faab1764
[ "MIT" ]
null
null
null
Fundamentals/Exer.035.py
thiagokanagushiku/Python-Exercises
e536ff3c64911d3f25d4b1441c4ef070faab1764
[ "MIT" ]
null
null
null
Fundamentals/Exer.035.py
thiagokanagushiku/Python-Exercises
e536ff3c64911d3f25d4b1441c4ef070faab1764
[ "MIT" ]
null
null
null
print('\033[31m-=\033[m'*20) print('Analisador de Triângulos') print('\033[31m-=\033[m'*20) PS = float(input('Primeiro segmento:')) SS = float(input('Segundo segmento:')) TS = float(input('Terceiro segmento')) if PS < (SS + TS) and SS < (PS + TS) and TS < (PS + SS): print('Os segmentos acima PODEM FORMAR um triângu...
39.4
62
0.667513
61
394
4.311475
0.459016
0.114068
0.08365
0.106464
0.129278
0.129278
0
0
0
0
0
0.059524
0.147208
394
10
62
39.4
0.723214
0
0
0.2
0
0
0.511392
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