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
7fb8436c321cd41d538c60fc97d0a72987f9c800
1,837
py
Python
app.py
dev-ng/report-text-extraction
1a476bdd3c5d835ccdf736588184b014bd8a20f1
[ "BSD-3-Clause" ]
null
null
null
app.py
dev-ng/report-text-extraction
1a476bdd3c5d835ccdf736588184b014bd8a20f1
[ "BSD-3-Clause" ]
null
null
null
app.py
dev-ng/report-text-extraction
1a476bdd3c5d835ccdf736588184b014bd8a20f1
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding:utf-8 -*- import os from flask import Flask, request, jsonify, send_from_directory, redirect # , send_file from flask_cors import CORS from flask_httpauth import HTTPBasicAuth import lng import pdf import storage import services app = Flask(__name__) auth = HTTPBasicAuth() CORS(app) ...
26.623188
105
0.686445
247
1,837
4.959514
0.388664
0.042449
0.044082
0.032653
0.096327
0.057143
0
0
0
0
0
0.011749
0.166032
1,837
68
106
27.014706
0.787859
0.075667
0
0.045455
0
0
0.1772
0
0
0
0
0
0.045455
1
0.136364
false
0.068182
0.181818
0.068182
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7fb884cdf3b199693369a238fa941c8032007550
510
py
Python
205-isomorphic-strings/205-isomorphic-strings.py
marzy-bn/Leetcode_2022
07d6b9050279e82f610ed4a54209b33db3e3f8f9
[ "MIT" ]
null
null
null
205-isomorphic-strings/205-isomorphic-strings.py
marzy-bn/Leetcode_2022
07d6b9050279e82f610ed4a54209b33db3e3f8f9
[ "MIT" ]
null
null
null
205-isomorphic-strings/205-isomorphic-strings.py
marzy-bn/Leetcode_2022
07d6b9050279e82f610ed4a54209b33db3e3f8f9
[ "MIT" ]
null
null
null
class Solution: def isIsomorphic(self, s: str, t: str) -> bool: lookup = {} out = [] i = 0 for l1 in s: if l1 not in lookup: lookup[l1] = i i += 1 out.append(lookup[l1]) lookup2 = {} i = 0 out2 =...
24.285714
51
0.366667
57
510
3.280702
0.421053
0.02139
0.032086
0
0
0
0
0
0
0
0
0.080169
0.535294
510
21
52
24.285714
0.708861
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7fb891be986425209fac4babd0667c2c41294a2b
683
py
Python
setup.py
simon-weber/kleroteria
750ddf926ad0c4ab993bdde5c2f05edc1c2a2ba5
[ "Apache-2.0" ]
6
2020-12-01T01:41:07.000Z
2021-03-10T05:18:22.000Z
setup.py
simon-weber/kleroteria
750ddf926ad0c4ab993bdde5c2f05edc1c2a2ba5
[ "Apache-2.0" ]
null
null
null
setup.py
simon-weber/kleroteria
750ddf926ad0c4ab993bdde5c2f05edc1c2a2ba5
[ "Apache-2.0" ]
null
null
null
from codecs import open import re from setuptools import setup, find_packages setup( name='kleroteria', # this version doesn't really mean anything since this ships as an app. # it's also hardcoded in the requirements files. version='0.0.1', description='An email lottery and spiritual successor to ...
23.551724
77
0.660322
82
683
5.426829
0.817073
0.053933
0
0
0
0
0
0
0
0
0
0.013333
0.231332
683
28
78
24.392857
0.834286
0.169839
0
0.1
0
0
0.35461
0.037234
0
0
0
0
0
1
0
true
0
0.15
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
7fb8a2d01a0b8780de371becc7f40508be277d45
8,596
py
Python
Algorithms/Off-Policy/DDPG-TD3/main.py
baturaysaglam/DISCOVER
423158c84a5935ca5755ccad06ea5fe20fb57d76
[ "MIT" ]
null
null
null
Algorithms/Off-Policy/DDPG-TD3/main.py
baturaysaglam/DISCOVER
423158c84a5935ca5755ccad06ea5fe20fb57d76
[ "MIT" ]
null
null
null
Algorithms/Off-Policy/DDPG-TD3/main.py
baturaysaglam/DISCOVER
423158c84a5935ca5755ccad06ea5fe20fb57d76
[ "MIT" ]
null
null
null
import argparse import os import socket import gym import numpy as np import torch import DDPG import TD3 import DISCOVER_DDPG import DISCOVER_TD3 import utils # DDPG tuned hyper-parameters are imported from # OpenAI Baselines3 Zoo: https://github.com/DLR-RM/rl-baselines3-zoo def hyper_parameter_dict_DDPG(args): ...
40.168224
136
0.620405
1,074
8,596
4.800745
0.211359
0.03142
0.059348
0.0064
0.228084
0.131885
0.100465
0.073701
0.073701
0.073701
0
0.021145
0.246277
8,596
213
137
40.356808
0.774657
0.071894
0
0.118421
0
0.013158
0.241899
0.04308
0
0
0
0
0
1
0.013158
false
0
0.072368
0
0.098684
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7fbb4e52d64906788fb583d0d26e7df5468dcdca
1,590
py
Python
setup.py
PlaidCloud/sqlalchemy-greenplum
b40beeee8b775290b262d3b9989e8faeba8b2d20
[ "BSD-3-Clause" ]
6
2019-05-10T18:31:05.000Z
2021-09-08T16:59:46.000Z
setup.py
PlaidCloud/sqlalchemy-greenplum
b40beeee8b775290b262d3b9989e8faeba8b2d20
[ "BSD-3-Clause" ]
2
2018-06-04T23:28:16.000Z
2022-03-08T14:20:14.000Z
setup.py
PlaidCloud/sqlalchemy-greenplum
b40beeee8b775290b262d3b9989e8faeba8b2d20
[ "BSD-3-Clause" ]
1
2019-06-13T10:12:44.000Z
2019-06-13T10:12:44.000Z
import os from setuptools import setup, find_packages source_location = os.path.abspath(os.path.dirname(__file__)) def get_version(): with open(os.path.join(source_location, "VERSION")) as version: return version.readline().strip() setup( name="sqlalchemy-greenplum", version=get_version(), li...
33.829787
78
0.648428
159
1,590
6.352201
0.591195
0.075248
0.074257
0.051485
0
0
0
0
0
0
0
0.004804
0.214465
1,590
46
79
34.565217
0.803843
0.036478
0
0.046512
0
0
0.483322
0.051668
0
0
0
0
0
1
0.023256
false
0
0.046512
0
0.093023
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7fbd170ddca2f532e47d512537a2706fb3db9b79
4,976
py
Python
src/cray/cfs/operator/__main__.py
Cray-HPE/cfs-operator
16cd12155ba52b89e504ed668c49b544b92d3794
[ "MIT" ]
null
null
null
src/cray/cfs/operator/__main__.py
Cray-HPE/cfs-operator
16cd12155ba52b89e504ed668c49b544b92d3794
[ "MIT" ]
2
2021-12-16T19:29:28.000Z
2022-03-02T22:38:35.000Z
src/cray/cfs/operator/__main__.py
Cray-HPE/cfs-operator
16cd12155ba52b89e504ed668c49b544b92d3794
[ "MIT" ]
1
2021-11-10T22:28:36.000Z
2021-11-10T22:28:36.000Z
#!/usr/bin/env python # # MIT License # # (C) Copyright 2019-2022 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including wi...
33.395973
94
0.712018
650
4,976
5.336923
0.418462
0.020755
0.017296
0.010954
0
0
0
0
0
0
0
0.005851
0.210008
4,976
148
95
33.621622
0.876622
0.384244
0
0.102564
0
0
0.14694
0.007397
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.25641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7fbd6c101c88c86adca08569b698ed439f1e762d
25,986
py
Python
disco_aws_automation/disco_metanetwork.py
amplifylitco/asiaq
a1a292f6e9cbf32a30242405e4947b17910e5369
[ "BSD-2-Clause" ]
27
2016-03-08T16:50:22.000Z
2018-11-26T06:33:25.000Z
disco_aws_automation/disco_metanetwork.py
amplifylitco/asiaq
a1a292f6e9cbf32a30242405e4947b17910e5369
[ "BSD-2-Clause" ]
202
2016-03-08T17:13:08.000Z
2019-02-01T00:49:06.000Z
disco_aws_automation/disco_metanetwork.py
amplify-education/asiaq
fb6004bc4da0acef40e7bc18b148db4f72fa2f32
[ "BSD-2-Clause" ]
2
2016-03-17T18:52:37.000Z
2016-10-06T20:36:37.000Z
""" Network abstraction """ import logging from random import choice from netaddr import IPNetwork, IPAddress from boto.ec2.networkinterface import ( NetworkInterfaceSpecification, NetworkInterfaceCollection ) from boto.exception import EC2ResponseError from boto.vpc import VPCConnection import boto3 from di...
42.881188
109
0.619949
3,119
25,986
4.878807
0.111254
0.038115
0.052441
0.047644
0.366235
0.291648
0.214563
0.17763
0.155747
0.146941
0
0.006887
0.307165
25,986
605
110
42.952066
0.838314
0.166628
0
0.244019
0
0
0.06811
0.001285
0
0
0
0.001653
0
1
0.093301
false
0
0.028708
0
0.191388
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7fbda92d5e5b22dc691a6f5f033c42ec9d5340cb
602
py
Python
examples/docs/example1.py
jzuhone/xija
1e423d0c48056cc4ea9e4993d28e34794c1420fa
[ "BSD-3-Clause" ]
2
2016-01-05T19:20:43.000Z
2021-06-04T08:23:08.000Z
examples/docs/example1.py
jzuhone/xija
1e423d0c48056cc4ea9e4993d28e34794c1420fa
[ "BSD-3-Clause" ]
61
2015-02-24T02:27:11.000Z
2022-03-23T13:52:15.000Z
examples/docs/example1.py
jzuhone/xija
1e423d0c48056cc4ea9e4993d28e34794c1420fa
[ "BSD-3-Clause" ]
1
2016-01-04T21:08:17.000Z
2016-01-04T21:08:17.000Z
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ Example with a single node (ACA CCD temperature) with solar heating (2 bins). """ import xija name = __file__[:-3] model = xija.XijaModel(name, start='2015:001', stop='2015:050') model.add(xija.Node, 'aacccdpt') model.add(xija.Pitch) model.add(xi...
20.066667
67
0.607973
84
602
4.27381
0.595238
0.089136
0.133705
0
0
0
0
0
0
0
0
0.075594
0.230897
602
29
68
20.758621
0.699784
0.232558
0
0
0
0
0.129956
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
1
0
7fbe5ab33f430353b7e3d2a97fe210687b0799f6
856
py
Python
Flask/Graph/flask_graph.py
stanman71/Python
fe442e421362b22f61d05235e835a568d9ce3aef
[ "MIT" ]
1
2019-02-18T18:56:07.000Z
2019-02-18T18:56:07.000Z
Flask/Graph/flask_graph.py
stanman71/Python
fe442e421362b22f61d05235e835a568d9ce3aef
[ "MIT" ]
null
null
null
Flask/Graph/flask_graph.py
stanman71/Python
fe442e421362b22f61d05235e835a568d9ce3aef
[ "MIT" ]
null
null
null
# https://technovechno.com/creating-graphs-in-python-using-matplotlib-flask-framework-pythonanywhere/ # https://stackoverflow.com/questions/50728328/python-how-to-show-matplotlib-in-flask from flask import Flask, render_template from graph import build_graph app = Flask(__name__) @app.route('/') # Change U...
27.612903
102
0.625
127
856
4.023622
0.496063
0.078278
0.017613
0.023483
0.029354
0
0
0
0
0
0
0.107903
0.231308
856
31
103
27.612903
0.668693
0.272196
0
0
0
0
0.033956
0
0
0
0
0
0
1
0.047619
false
0
0.095238
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7fc041998c5f911ec0835b904ff421afbc6ae394
594
py
Python
webapp/extensions.py
openbikebox/open-bike-box-connect
ed153dd191c75810cbd2d9b74aee2962380a54d0
[ "MIT" ]
1
2021-04-07T18:42:41.000Z
2021-04-07T18:42:41.000Z
webapp/extensions.py
openbikebox/open-bike-box-connect
ed153dd191c75810cbd2d9b74aee2962380a54d0
[ "MIT" ]
null
null
null
webapp/extensions.py
openbikebox/open-bike-box-connect
ed153dd191c75810cbd2d9b74aee2962380a54d0
[ "MIT" ]
1
2021-04-07T18:42:55.000Z
2021-04-07T18:42:55.000Z
# encoding: utf-8 """ open booking connect Copyright (c) 2021, binary butterfly GmbH Use of this source code is governed by an MIT-style license that can be found in the LICENSE file. """ from .common.database import QuartDatabase db = QuartDatabase() from .common.logger import Logger logger = Logger() from .common...
22.846154
98
0.781145
80
594
5.75
0.5875
0.130435
0.065217
0
0
0
0
0
0
0
0
0.009785
0.139731
594
25
99
23.76
0.890411
0.299663
0
0
0
0
0.04902
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f68110d06e89b1eedf0ec730b2d3342465b0961c
2,687
py
Python
inventory-check.py
jwnichols3/s3-batch-ops-restore-status-check
0331cdbf68f5b7dc71042aece8d128af4cd523f0
[ "Apache-2.0" ]
null
null
null
inventory-check.py
jwnichols3/s3-batch-ops-restore-status-check
0331cdbf68f5b7dc71042aece8d128af4cd523f0
[ "Apache-2.0" ]
null
null
null
inventory-check.py
jwnichols3/s3-batch-ops-restore-status-check
0331cdbf68f5b7dc71042aece8d128af4cd523f0
[ "Apache-2.0" ]
null
null
null
import argparse import boto3 from botocore.exceptions import ClientError from urllib.parse import unquote import time from smart_open import open import os import sys s3 = boto3.resource('s3') parser = argparse.ArgumentParser( description="Analyze Inventory Files") parser.add_argument('--inventory_file', '-i', ...
33.5875
226
0.694827
369
2,687
4.897019
0.363144
0.071942
0.037631
0.023243
0.034864
0
0
0
0
0
0
0.007989
0.208039
2,687
79
227
34.012658
0.841165
0.116859
0
0.098361
0
0.016393
0.287828
0.035503
0
0
0
0
0
1
0
false
0
0.131148
0
0.131148
0.114754
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6827b188401595203a70b0eec5054bb98bd151d
999
py
Python
source/faker_extensions/tattoo_provider.py
UKHomeOffice/PythonFakerExtensions
7b515956e36608a9344ab2a8a57b48387a1be54c
[ "MIT" ]
null
null
null
source/faker_extensions/tattoo_provider.py
UKHomeOffice/PythonFakerExtensions
7b515956e36608a9344ab2a8a57b48387a1be54c
[ "MIT" ]
null
null
null
source/faker_extensions/tattoo_provider.py
UKHomeOffice/PythonFakerExtensions
7b515956e36608a9344ab2a8a57b48387a1be54c
[ "MIT" ]
1
2021-04-11T09:14:48.000Z
2021-04-11T09:14:48.000Z
from enum import Enum from random import randint from faker import Faker from faker_extensions.abstract_providers import WeightedProvider from faker_extensions.common_categories import Gender from faker_extensions.distinguishing_features_provider import BodyArea class TattooProvider(WeightedProvider): """ Eye we...
27
74
0.704705
120
999
5.566667
0.5
0.053892
0.085329
0.05988
0
0
0
0
0
0
0
0.008783
0.202202
999
36
75
27.75
0.82936
0.119119
0
0
0
0
0.015116
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6871130aca8bc035570cfce18414c9e75c78265
238
py
Python
lpthw/ex15p2.py
jaredmanning/learning
1d1767ea78a8f9f72275b18147d47bfc44a1696e
[ "MIT" ]
null
null
null
lpthw/ex15p2.py
jaredmanning/learning
1d1767ea78a8f9f72275b18147d47bfc44a1696e
[ "MIT" ]
null
null
null
lpthw/ex15p2.py
jaredmanning/learning
1d1767ea78a8f9f72275b18147d47bfc44a1696e
[ "MIT" ]
null
null
null
from sys import argv script, filename = argv # First we open the file that was created in the normal excercise textfile = open(filename) #Next we print its contents print textfile.read() # Now we close the damn thing textfile.close()
18.307692
65
0.760504
38
238
4.763158
0.710526
0
0
0
0
0
0
0
0
0
0
0
0.180672
238
12
66
19.833333
0.928205
0.491597
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f687363bbe027e7fee10fb9ed06c03c8bca72792
1,626
py
Python
dbas/helper/tests/test_query.py
tbsschroeder/dbas
9c86eccde65cd64bc5719573b3b8449d8f333e08
[ "MIT" ]
23
2017-05-18T13:33:51.000Z
2021-12-26T18:04:09.000Z
dbas/helper/tests/test_query.py
tbsschroeder/dbas
9c86eccde65cd64bc5719573b3b8449d8f333e08
[ "MIT" ]
8
2019-12-26T17:19:44.000Z
2020-05-28T15:38:31.000Z
dbas/helper/tests/test_query.py
tbsschroeder/dbas
9c86eccde65cd64bc5719573b3b8449d8f333e08
[ "MIT" ]
7
2017-09-27T11:15:42.000Z
2021-12-26T18:12:38.000Z
from dbas.database import DBDiscussionSession from dbas.database.discussion_model import ShortLinks from dbas.helper.query import set_user_language, generate_short_url from dbas.tests.utils import TestCaseWithConfig class QueryHelperTest(TestCaseWithConfig): def test_set_german_language(self): result = s...
36.954545
86
0.686962
195
1,626
5.523077
0.307692
0.111421
0.066852
0.111421
0.512535
0.462396
0.462396
0.462396
0.414113
0.330548
0
0.003065
0.197417
1,626
43
87
37.813953
0.822222
0.01599
0
0.363636
1
0
0.093867
0
0
0
0
0
0.484848
1
0.090909
false
0
0.121212
0
0.242424
0
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
1
0
0
0
0
0
0
0
0
0
2
f687ceae557a30b4c24e95330633294a15df8931
1,029
py
Python
src/lib/StandardSensorSweep.py
sredbull/steep-hooked
8a624927a22f39c728dc116e059ab1639daadbc1
[ "MIT" ]
null
null
null
src/lib/StandardSensorSweep.py
sredbull/steep-hooked
8a624927a22f39c728dc116e059ab1639daadbc1
[ "MIT" ]
16
2021-12-22T20:26:29.000Z
2022-03-01T00:08:04.000Z
src/lib/StandardSensorSweep.py
sredbull/steep-hooked
8a624927a22f39c728dc116e059ab1639daadbc1
[ "MIT" ]
null
null
null
from sensorSimulation import sweeper from System.Timers import Timer eventTimer = Timer(1000) sweepCadence = sweeper() sweepCadence.minValue = 0.0 sweepCadence.maxValue = 254.0 sweepCadence.sweepTime = 60 sweepCadence.constantTime = 5.0 eventCount = 1 logScriptEvent("Sweeping Instantaneous Power & Ins...
27.810811
74
0.782313
94
1,029
8.574468
0.457447
0.193548
0.08933
0.114144
0.223325
0.223325
0.223325
0
0
0
0
0.017978
0.135083
1,029
36
75
28.583333
0.886517
0
0
0.137931
0
0
0.055444
0
0
0
0
0
0
0
null
null
0
0.068966
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
f68b865589b413c178df9c90f4d9076655b75ea3
4,036
py
Python
hw2/test.py
zeynepCankara/NTU_DLCV2019
2dc44584ec7b9e1d84e688551eb8cef48d501b45
[ "MIT" ]
1
2022-01-17T14:28:46.000Z
2022-01-17T14:28:46.000Z
hw2/test.py
zeynepCankara/NTU_DLCV2019
2dc44584ec7b9e1d84e688551eb8cef48d501b45
[ "MIT" ]
null
null
null
hw2/test.py
zeynepCankara/NTU_DLCV2019
2dc44584ec7b9e1d84e688551eb8cef48d501b45
[ "MIT" ]
2
2021-11-08T19:05:57.000Z
2022-01-17T14:28:48.000Z
import os import parser import models import data import data_test import numpy as np import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from sklearn.metrics import accuracy_score import skimage from mean_iou_evaluate import mean_iou_score # import torch library import torch # model...
30.345865
106
0.557483
475
4,036
4.587368
0.267368
0.041303
0.026159
0.015603
0.509408
0.427719
0.427719
0.392841
0.392841
0.392841
0
0.004456
0.332755
4,036
132
107
30.575758
0.804679
0.105302
0
0.488636
0
0
0.038286
0
0
0
0
0
0
1
0.034091
false
0.034091
0.170455
0
0.238636
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f68c0aed306b7f3cb69cdebd512e4da33319782f
7,028
py
Python
config/custom_components/ir_fan/fan.py
Poeschl/home-assistant-config
380640bc46b14542866fbf8bbdc4218b2d58b55c
[ "MIT" ]
7
2020-05-29T11:54:36.000Z
2021-11-20T06:24:31.000Z
config/custom_components/ir_fan/fan.py
Poeschl/home-assistant-config
380640bc46b14542866fbf8bbdc4218b2d58b55c
[ "MIT" ]
null
null
null
config/custom_components/ir_fan/fan.py
Poeschl/home-assistant-config
380640bc46b14542866fbf8bbdc4218b2d58b55c
[ "MIT" ]
1
2022-02-17T03:13:52.000Z
2022-02-17T03:13:52.000Z
import logging import asyncio import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.components.fan import ( FanEntity, PLATFORM_SCHEMA, SPEED_OFF, SUPPORT_SET_SPEED, SUPPORT_OSCILLATE, SPEED_LOW, SPEED_MEDIUM, SPEED_HIGH) from homeassistant.const import ( CONF_NAME, ...
33.788462
140
0.652675
858
7,028
4.972028
0.158508
0.048992
0.030942
0.028129
0.367089
0.257853
0.158462
0.094233
0.080638
0.051102
0
0.001356
0.265509
7,028
207
141
33.951691
0.825068
0.019067
0
0.147651
0
0
0.025071
0.005074
0
0
0
0
0
1
0.073826
false
0
0.060403
0.04698
0.221477
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f68c414cfe15c93050fbef9ed4e125294af5c073
2,405
py
Python
billingclient/v1/client.py
nubeliu/billingclient
f2539e211ca049f3ddc9ce5680932f8f5eff7434
[ "Apache-2.0" ]
1
2018-01-04T16:20:51.000Z
2018-01-04T16:20:51.000Z
billingclient/v1/client.py
nubeliu/billingclient
f2539e211ca049f3ddc9ce5680932f8f5eff7434
[ "Apache-2.0" ]
null
null
null
billingclient/v1/client.py
nubeliu/billingclient
f2539e211ca049f3ddc9ce5680932f8f5eff7434
[ "Apache-2.0" ]
null
null
null
# NubeliU Billing SDK # @autor: Sergio Colinas from stevedore import extension from billingclient import client as ckclient from billingclient.openstack.common.apiclient import client from billingclient.v1 import chart from billingclient.v1 import core from billingclient.v1 import metric from billingclient.v1.rating.g...
38.790323
74
0.664449
274
2,405
5.69708
0.343066
0.069186
0.071749
0.069186
0.070468
0.03075
0
0
0
0
0
0.004396
0.243243
2,405
61
75
39.42623
0.853297
0.167983
0
0
0
0
0.063136
0.011202
0
0
0
0
0
1
0.046512
false
0
0.209302
0
0.27907
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f68c7b6a1c337b78b3059bef1f2eeb2a9a2ad6e5
208
py
Python
stackoverflow/__init__.py
wereii/we-cogs
327ef21f0a777b7411bbe51f6df69ef46433f597
[ "MIT" ]
null
null
null
stackoverflow/__init__.py
wereii/we-cogs
327ef21f0a777b7411bbe51f6df69ef46433f597
[ "MIT" ]
1
2019-11-13T18:55:10.000Z
2019-11-13T18:55:10.000Z
stackoverflow/__init__.py
wereii/we-cogs
327ef21f0a777b7411bbe51f6df69ef46433f597
[ "MIT" ]
null
null
null
# This init is required for each cog. # Import your main class from the cog's folder. from .stackoverflow import StackOverflow def setup(bot): # Add the cog to the bot. bot.add_cog(StackOverflow())
23.111111
47
0.725962
33
208
4.545455
0.636364
0.08
0
0
0
0
0
0
0
0
0
0
0.197115
208
8
48
26
0.898204
0.504808
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
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
1
0
0
1
0
1
0
0
4
f68ee06b4403b24127d1bc436027460ec0d3f2b5
2,658
py
Python
Console/Module/ClassBroadcast.py
yangzhongtian001/PYCM
081e200cf53024c45d94f9896bafdde0e23e0aa4
[ "Apache-2.0" ]
29
2021-02-01T12:30:19.000Z
2022-03-24T13:40:34.000Z
Console/Module/ClassBroadcast.py
yangzhongtian001/PYCM
081e200cf53024c45d94f9896bafdde0e23e0aa4
[ "Apache-2.0" ]
4
2021-02-01T12:33:52.000Z
2021-11-06T02:27:21.000Z
Console/Module/ClassBroadcast.py
yangzhongtian001/PYCM
081e200cf53024c45d94f9896bafdde0e23e0aa4
[ "Apache-2.0" ]
18
2021-11-16T15:28:27.000Z
2022-03-17T00:09:42.000Z
from PyQt5.QtCore import QObject import socket import struct import base64 from Module.Packages import ClassBroadcastFlag class ClassBroadcast(QObject): current_ip = None socket_ip = None socket_port = None socket_buffer_size = None socket_obj = None def __init__(self, config): super(...
39.671642
100
0.701279
335
2,658
5.313433
0.277612
0.061798
0.036517
0.087079
0.221348
0.150562
0.150562
0.051685
0.051685
0
0
0.009736
0.188488
2,658
66
101
40.272727
0.815484
0
0
0
0
0
0.062077
0.042513
0
0
0
0
0
1
0.207547
false
0
0.09434
0
0.415094
0
0
0
0
null
0
0
0
0
0
0
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
f6908dcaaa5d2842b23cd9c05cdda3c923e0e6a0
3,572
py
Python
main.py
berkurka/chameleon
ee84a5a7da1e49734ffd885606aa39db73e6ae9d
[ "MIT" ]
null
null
null
main.py
berkurka/chameleon
ee84a5a7da1e49734ffd885606aa39db73e6ae9d
[ "MIT" ]
null
null
null
main.py
berkurka/chameleon
ee84a5a7da1e49734ffd885606aa39db73e6ae9d
[ "MIT" ]
1
2020-11-16T01:07:33.000Z
2020-11-16T01:07:33.000Z
#!/usr/bin/env python # coding: utf-8 # In[ ]: # pip install pypdf2 # conda install -c conda-forge pypdf2 # In[ ]: import os import re import pandas as pd import PyPDF2 # In[ ]: INP_PATH = './input/' OUT_PATH = './output/' # In[ ]: def load_pdf_files(file_path:str): ''' Loads pdf files and into P...
22.049383
84
0.468085
373
3,572
4.343164
0.359249
0.018519
0.02037
0.017284
0.101235
0.082716
0.055556
0.055556
0.055556
0.055556
0
0.009836
0.402296
3,572
161
85
22.186335
0.748946
0.191209
0
0.119403
0
0
0.120215
0
0
0
0
0
0
1
0.014925
false
0
0.059701
0
0.089552
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f690fdd47205b08324635e05a16d09bdf0637cc9
8,913
py
Python
pydyn/solvers/RungeKuttaFehlberg.py
rwl/PyDyn
87f89c63fdb1bc9449c05430dd4265eece771739
[ "Apache-2.0" ]
4
2017-04-12T05:19:19.000Z
2021-08-28T18:41:53.000Z
pydyn/solvers/RungeKuttaFehlberg.py
rwl/PyDyn
87f89c63fdb1bc9449c05430dd4265eece771739
[ "Apache-2.0" ]
null
null
null
pydyn/solvers/RungeKuttaFehlberg.py
rwl/PyDyn
87f89c63fdb1bc9449c05430dd4265eece771739
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2009 Stijn Cole # Copyright (C) 2010-2011 Richard Lincoln # # 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 require...
32.889299
131
0.556042
1,150
8,913
4.303478
0.248696
0.027278
0.026874
0.027884
0.170944
0.170944
0.160032
0.109113
0.096585
0.029905
0
0.115611
0.312914
8,913
270
132
33.011111
0.692521
0.177718
0
0.096
0
0
0
0
0
0
0
0
0
1
0.008
false
0
0.048
0
0.072
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f692b2b698a75b104d98d5b6025c0874f29e10b4
279
py
Python
ArticleSpider/utils/zhihu_login.py
zxjlm/ArticleSpider
0fdfa29733c1739ddb230cf15f9331ea2122905c
[ "MIT" ]
null
null
null
ArticleSpider/utils/zhihu_login.py
zxjlm/ArticleSpider
0fdfa29733c1739ddb230cf15f9331ea2122905c
[ "MIT" ]
null
null
null
ArticleSpider/utils/zhihu_login.py
zxjlm/ArticleSpider
0fdfa29733c1739ddb230cf15f9331ea2122905c
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- __author__ = 'harumonia' import requests import cookiejar as cookielib import re def zhihulogin(account,pwd): if re.match("1\d{10}",account): print("shoujihaomadenglu") url_post='https://www.zhihu.com/signin' req=requests.get()
18.6
47
0.666667
36
279
5.027778
0.861111
0
0
0
0
0
0
0
0
0
0
0.017467
0.179211
279
15
48
18.6
0.772926
0.071685
0
0
0
0
0.236434
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
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
f69362c8e53efb7e2fecf441d12805e528ccf267
188
py
Python
util/tokenizer/base_tokenizer.py
Kimgijoon/Product-recommendation-system
6163dc8ff46f8f4b003c13f56eb7ed30943d03b0
[ "Apache-2.0" ]
2
2021-04-03T13:32:55.000Z
2021-04-04T07:20:12.000Z
util/tokenizer/base_tokenizer.py
Kimgijoon/Product-recommendation-system
6163dc8ff46f8f4b003c13f56eb7ed30943d03b0
[ "Apache-2.0" ]
null
null
null
util/tokenizer/base_tokenizer.py
Kimgijoon/Product-recommendation-system
6163dc8ff46f8f4b003c13f56eb7ed30943d03b0
[ "Apache-2.0" ]
null
null
null
from abc import abstractmethod from typing import List class BaseTokenizer(object): """tokenizer meta class""" @abstractmethod def tokenize(self, text: str) -> List[str]: pass
18.8
45
0.723404
23
188
5.913043
0.73913
0
0
0
0
0
0
0
0
0
0
0
0.175532
188
9
46
20.888889
0.877419
0.106383
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
5
f695a0f7bbf428a5741cd48621797ea600fe6aa3
1,898
py
Python
twitter/dbconnect.py
madeleinel/womentor
3623ced61a2ee81e9d403d4011e3830c36e50918
[ "MIT" ]
2
2017-03-16T09:11:54.000Z
2017-03-24T13:29:15.000Z
twitter/dbconnect.py
madeleinel/womentor
3623ced61a2ee81e9d403d4011e3830c36e50918
[ "MIT" ]
42
2017-03-12T10:08:18.000Z
2017-04-05T11:08:21.000Z
twitter/dbconnect.py
madeleinel/womentor
3623ced61a2ee81e9d403d4011e3830c36e50918
[ "MIT" ]
1
2017-04-03T17:12:37.000Z
2017-04-03T17:12:37.000Z
from configvars import database_url from sqlalchemy import * from sqlalchemy.orm import relationship from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm.session import sessionmaker engine = create_engine(database_url) Session = sessionmaker(bind=engine) session = Session() # # now session is a...
34.509091
78
0.721286
236
1,898
5.597458
0.275424
0.13626
0.15897
0.069644
0.277063
0.193036
0.124905
0.124905
0.124905
0.124905
0
0.034183
0.152266
1,898
54
79
35.148148
0.786824
0.096944
0
0.142857
0
0
0.066823
0
0
0
0
0
0
1
0
false
0
0.119048
0
0.904762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f696efa59729939ba926957507833fcd86d29ed3
288,902
py
Python
google/ads/google_ads/v6/proto/services/google_ads_service_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
1
2021-04-09T04:28:47.000Z
2021-04-09T04:28:47.000Z
google/ads/google_ads/v6/proto/services/google_ads_service_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v6/proto/services/google_ads_service_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v6/proto/services/google_ads_service.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from g...
89.3051
38,948
0.833279
39,538
288,902
5.577748
0.028605
0.059506
0.042152
0.051149
0.855124
0.826353
0.799803
0.765591
0.729419
0.670584
0
0.032439
0.082554
288,902
3,234
38,949
89.332715
0.799598
0.003697
0
0.522082
1
0.003155
0.286416
0.198625
0
0
0
0
0
1
0
false
0.000315
0.053312
0
0.053312
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f69743b787b702578c7ba56ec9b8b5874bcafb55
6,668
py
Python
main.py
foobarbazblarg/subreddit-grabber
03d240c824e5dd810ccd40674df950f3e26d02c6
[ "MIT" ]
null
null
null
main.py
foobarbazblarg/subreddit-grabber
03d240c824e5dd810ccd40674df950f3e26d02c6
[ "MIT" ]
null
null
null
main.py
foobarbazblarg/subreddit-grabber
03d240c824e5dd810ccd40674df950f3e26d02c6
[ "MIT" ]
null
null
null
import praw import datetime from ConfigParser import ConfigParser import OAuth2Util import os import markdown import bleach import sys import mysql.connector from mysql.connector import errorcode reload(sys) sys.setdefaultencoding('utf8') config = ConfigParser() config.read("./subreddit-grabber.cfg") subredditName = ...
42.471338
275
0.673965
641
6,668
6.976599
0.319813
0.004472
0.006038
0.007156
0.089669
0.089669
0.03153
0.03153
0.03153
0.03153
0
0.008491
0.205159
6,668
156
276
42.74359
0.835283
0.09808
0
0.137405
0
0.015267
0.195199
0.026004
0
0
0
0.00641
0
0
null
null
0.053435
0.076336
null
null
0.129771
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
f697747af011ec78b14bc18aa233c9ce0da6df30
205
py
Python
tests/unit/test_module.py
briancline/jmap
475198b5598c0fa4ae9c44d9dfcac88e36fe8ef1
[ "MIT" ]
6
2017-07-31T20:01:59.000Z
2021-07-10T21:48:11.000Z
tests/unit/test_module.py
briancline/jmap
475198b5598c0fa4ae9c44d9dfcac88e36fe8ef1
[ "MIT" ]
1
2017-05-13T07:30:00.000Z
2017-05-13T07:30:00.000Z
tests/unit/test_module.py
briancline/jmap
475198b5598c0fa4ae9c44d9dfcac88e36fe8ef1
[ "MIT" ]
3
2017-10-31T15:25:55.000Z
2020-12-10T16:58:52.000Z
import unittest import jmap class TestModule(unittest.TestCase): def test_module_semantic_version(self): ver_info = jmap.VERSION.split('.') self.assertGreaterEqual(len(ver_info), 3)
20.5
49
0.721951
25
205
5.72
0.72
0.097902
0
0
0
0
0
0
0
0
0
0.005917
0.17561
205
9
50
22.777778
0.840237
0
0
0
0
0
0.004878
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
f697902655c546a9b52d9b54de085df083209dfb
2,120
py
Python
app.py
zelihaerim/ToDoAppWithFlask
c4c904976a25e4781a6366ec753f2ac7774be2c3
[ "Apache-2.0" ]
null
null
null
app.py
zelihaerim/ToDoAppWithFlask
c4c904976a25e4781a6366ec753f2ac7774be2c3
[ "Apache-2.0" ]
null
null
null
app.py
zelihaerim/ToDoAppWithFlask
c4c904976a25e4781a6366ec753f2ac7774be2c3
[ "Apache-2.0" ]
null
null
null
from flask import Flask,render_template,request from flask.globals import request from flask.helpers import url_for from werkzeug.utils import redirect from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////Users/Zeliha/Desktop/TodoApp/todo.db' db = SQLAlchem...
32.121212
89
0.690566
298
2,120
4.822148
0.352349
0.03897
0.048713
0.043841
0.244955
0.244955
0.244955
0.205985
0.111343
0.066806
0
0.006108
0.150472
2,120
66
90
32.121212
0.791782
0.10566
0
0.195652
0
0
0.122971
0.056804
0
0
0
0.030303
0
1
0.108696
false
0
0.108696
0
0.434783
0
0
0
0
null
0
0
0
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
f697ec6fc787c238ea294d841019f5bb361224e4
4,558
py
Python
knn_kdtree.py
zhoucen/ml
8f0386f57597f3f25ff2e844f682325ed7d97f20
[ "MIT" ]
1
2015-06-17T04:30:40.000Z
2015-06-17T04:30:40.000Z
knn_kdtree.py
zhoucen/ml
8f0386f57597f3f25ff2e844f682325ed7d97f20
[ "MIT" ]
null
null
null
knn_kdtree.py
zhoucen/ml
8f0386f57597f3f25ff2e844f682325ed7d97f20
[ "MIT" ]
null
null
null
#coding=utf-8 import os import math import collections class KdNode(object): """docstring for KdNode""" def __init__(self, train_set): super(KdNode, self).__init__() self.train_set = train_set self.dot = None self.dimension = None self.left_set = None self.left_...
31.652778
126
0.529399
590
4,558
3.89661
0.183051
0.041757
0.031318
0.034798
0.249674
0.230535
0.181818
0.15224
0.036538
0.036538
0
0.017271
0.352128
4,558
144
127
31.652778
0.76126
0.016893
0
0.191304
0
0
0.003618
0
0
0
0
0
0
0
null
null
0
0.026087
null
null
0.008696
0
0
0
null
0
0
0
0
0
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
f697fcf33036f0447c00db52e0fcc8aab5a7c40c
3,488
py
Python
utils/build_nfr_dataset.py
chaiyujin/AudioDVP
1b7a6bc85bda6df16c9709d08d7b1415b449c584
[ "MIT" ]
200
2020-11-14T16:23:11.000Z
2022-03-31T17:40:37.000Z
utils/build_nfr_dataset.py
chaiyujin/AudioDVP
1b7a6bc85bda6df16c9709d08d7b1415b449c584
[ "MIT" ]
36
2020-11-15T14:17:51.000Z
2022-01-04T08:22:43.000Z
utils/build_nfr_dataset.py
chaiyujin/AudioDVP
1b7a6bc85bda6df16c9709d08d7b1415b449c584
[ "MIT" ]
42
2020-11-14T16:29:18.000Z
2022-03-20T01:16:39.000Z
""" Following https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/blob/master/datasets/combine_A_and_B.py """ import os import cv2 import numpy as np from tqdm import tqdm import sys sys.path.append(".") from models import networks from options.options import Options from utils.util import create_dir, load_coef,...
39.191011
106
0.639335
553
3,488
3.811935
0.195298
0.07685
0.113852
0.117173
0.455408
0.374288
0.343928
0.327324
0.287002
0.078748
0
0.018712
0.203268
3,488
88
107
39.636364
0.739834
0.064794
0
0
0
0
0.044882
0
0
0
0
0
0
1
0
false
0
0.126984
0
0.126984
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f698dad22020589950c8089c9875710976db064e
502
py
Python
lit_main.py
Mindful/gector
92d13263a9ccf402070ee1ec5825de1f8c28fc14
[ "Apache-2.0" ]
null
null
null
lit_main.py
Mindful/gector
92d13263a9ccf402070ee1ec5825de1f8c28fc14
[ "Apache-2.0" ]
null
null
null
lit_main.py
Mindful/gector
92d13263a9ccf402070ee1ec5825de1f8c28fc14
[ "Apache-2.0" ]
null
null
null
from lit_nlp import dev_server from lit_nlp import server_flags from absl import app from lit_classes import GectorBertModel, GeceProdigyData def main(_): models = {"gector": GectorBertModel('bert_0_gector.th')} datasets = {"test_data": GeceProdigyData('test_sample.jsonl')} # Start the LIT server. See s...
26.421053
78
0.741036
69
502
5.043478
0.521739
0.060345
0.057471
0.091954
0
0
0
0
0
0
0
0.002358
0.155378
502
18
79
27.888889
0.818396
0.121514
0
0
0
0
0.127563
0
0
0
0
0
0
1
0.090909
false
0
0.363636
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
0
0
0
1
0
0
0
0
1
f699061b2bbf5ff76fa79f4d51d6a690622f7110
666
py
Python
pyxrd/file_parsers/goniometer_parsers/__init__.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
27
2018-06-15T15:28:18.000Z
2022-03-10T12:23:50.000Z
pyxrd/file_parsers/goniometer_parsers/__init__.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
22
2018-06-14T08:29:16.000Z
2021-07-05T13:33:44.000Z
pyxrd/file_parsers/goniometer_parsers/__init__.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
8
2019-04-13T13:03:51.000Z
2021-06-19T09:29:11.000Z
# coding=UTF-8 # ex:ts=4:sw=4:et=on # Copyright (c) 2013, Mathijs Dumon # All rights reserved. # Complete license can be found in the LICENSE file. import zipfile from pyxrd.generic.io import get_case_insensitive_glob, COMPRESSION from pyxrd.file_parsers.json_parser import JSONParser from pyxrd.file_parsers.registr...
26.64
67
0.780781
85
666
5.976471
0.682353
0.05315
0.070866
0.086614
0
0
0
0
0
0
0
0.012048
0.127628
666
24
68
27.75
0.862306
0.223724
0
0
0
0
0.160784
0.047059
0
0
0
0
0
1
0
false
0.090909
0.363636
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
0
0
1
1
0
0
0
0
2
f69a0402d79e3e6e23987987a39cea442751a085
5,650
py
Python
src/genotype/mutagen/option.py
sash-a/CoDeepNEAT
3476078a48986107ea1fc1a7ab1b42a55ac4f62f
[ "MIT" ]
28
2019-10-18T06:44:00.000Z
2021-11-09T18:54:52.000Z
src/genotype/mutagen/option.py
sash-a/CoDeepNEAT
3476078a48986107ea1fc1a7ab1b42a55ac4f62f
[ "MIT" ]
2
2019-10-21T07:21:52.000Z
2022-01-12T22:34:03.000Z
src/genotype/mutagen/option.py
sash-a/CoDeepNEAT
3476078a48986107ea1fc1a7ab1b42a55ac4f62f
[ "MIT" ]
11
2019-07-01T13:01:32.000Z
2022-03-31T20:18:56.000Z
import random from typing import Dict, Any, Union, List from src.genotype.mutagen import mutagen as MutagenFile from src.genotype.mutagen.mutagen import Mutagen from src.genotype.neat.operators.mutators.mutation_report import MutationReport class _Null: """Default current value, allows for an option to be None""...
37.417219
120
0.641239
683
5,650
5.155198
0.18448
0.064754
0.031809
0.015905
0.182335
0.105368
0.091167
0.061914
0.061914
0.036921
0
0.002906
0.269204
5,650
150
121
37.666667
0.849843
0.022655
0
0.161616
0
0
0.065335
0
0
0
0
0
0
1
0.121212
false
0.020202
0.050505
0.030303
0.333333
0.020202
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f69a6a8b42d76e0e9d08c5bd6c7c15447c9d0847
1,351
py
Python
solutions/0169-majority-element/majority-element.py
iFun/Project-G
d33b3b3c7bcee64f93dc2539fd9955a27f321d96
[ "MIT" ]
null
null
null
solutions/0169-majority-element/majority-element.py
iFun/Project-G
d33b3b3c7bcee64f93dc2539fd9955a27f321d96
[ "MIT" ]
null
null
null
solutions/0169-majority-element/majority-element.py
iFun/Project-G
d33b3b3c7bcee64f93dc2539fd9955a27f321d96
[ "MIT" ]
null
null
null
# Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. # # You may assume that the array is non-empty and the majority element always exist in the array. # # Example 1: # # # Input: [3,2,3] # Output: 3 # # Example 2: # # # Input: [2,2,1,1,1...
18.506849
129
0.592894
204
1,351
3.946078
0.397059
0.149068
0.134161
0.034783
0.559006
0.559006
0.559006
0.559006
0.559006
0.559006
0
0.067358
0.285714
1,351
72
130
18.763889
0.762694
0.65433
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f69a7073c8aa756b577c30107b1f581b0badf39a
1,709
py
Python
servers/viewset.py
foundations/nodequery-server
f0ee517e17fbd15d1fc7f8ed83ede07539fe93c1
[ "MIT" ]
81
2021-01-05T14:30:23.000Z
2021-11-10T23:26:38.000Z
servers/viewset.py
foundations/nodequery-server
f0ee517e17fbd15d1fc7f8ed83ede07539fe93c1
[ "MIT" ]
2
2021-02-09T05:16:10.000Z
2021-02-26T02:21:11.000Z
servers/viewset.py
foundations/nodequery-server
f0ee517e17fbd15d1fc7f8ed83ede07539fe93c1
[ "MIT" ]
32
2021-01-05T15:23:20.000Z
2021-10-20T08:17:14.000Z
from django.http import Http404 from django.db.models import Q from rest_framework.response import Response from rest_framework import status, generics, viewsets from django_filters.rest_framework import DjangoFilterBackend # from rest_framework_filters.backends import DjangoFilterBackend as rsf_DjangoFilterBackend ...
37.152174
96
0.800468
216
1,709
6.180556
0.37963
0.031461
0.050936
0.026966
0.065918
0.037453
0
0
0
0
0
0.009855
0.109421
1,709
45
97
37.977778
0.86728
0.262727
0
0.137931
0
0
0.017558
0
0
0
0
0
0
1
0.068966
false
0
0.344828
0
0.655172
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f69b35574cfb6a7f842438c399bfb0ddf88909e6
3,972
py
Python
old_phase_gen.py
cthom055/gen_audio_rnn
bb244a538cf83ae283bc490d6f9f0d245f4e6cc0
[ "MIT" ]
1
2020-01-09T06:45:18.000Z
2020-01-09T06:45:18.000Z
old_phase_gen.py
cthom055/gen_audio_rnn
bb244a538cf83ae283bc490d6f9f0d245f4e6cc0
[ "MIT" ]
null
null
null
old_phase_gen.py
cthom055/gen_audio_rnn
bb244a538cf83ae283bc490d6f9f0d245f4e6cc0
[ "MIT" ]
null
null
null
#This python script acts a function library used by the other files to the generate phases. # coding: utf-8 # In[13]: #inport nessessary libraries. import os import numpy as np import librosa # In[9]: #Polar to read convertion of numpy matricies def polar2real(mag, angle): #Matrix of magnitudes * the exponent ...
43.173913
171
0.73716
644
3,972
4.419255
0.332298
0.039353
0.031975
0.026704
0.063949
0.055517
0.037245
0.037245
0
0
0
0.022642
0.199396
3,972
92
172
43.173913
0.872327
0.626636
0
0
1
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.107143
0.035714
0.392857
0
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
f69b801d1aad3f7c50691c620ba96ade26870d95
8,145
py
Python
kite-python/kite_pkgexploration/kite/pkgexploration/reflectutils.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
17
2022-01-10T11:01:50.000Z
2022-03-25T03:21:08.000Z
kite-python/kite_pkgexploration/kite/pkgexploration/reflectutils.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
1
2022-01-13T14:28:47.000Z
2022-01-13T14:28:47.000Z
kite-python/kite_pkgexploration/kite/pkgexploration/reflectutils.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
7
2022-01-07T03:58:10.000Z
2022-03-24T07:38:20.000Z
import inspect import logging import re import sys from .runtime.qualname import get_qualname from .runtime.decorated import get_decorated try: # py2/3 compatibility basestring except NameError: basestring = (str, bytes) try: import builtins except ImportError: import __builtin__ as builtins _PY3 =...
31.206897
130
0.641621
1,005
8,145
5.021891
0.277612
0.023182
0.033882
0.018229
0.081633
0.057856
0.032891
0.017832
0
0
0
0.004057
0.273665
8,145
260
131
31.326923
0.849053
0.282996
0
0.260116
0
0
0.070617
0.003671
0
0
0
0.003846
0
1
0.063584
false
0.052023
0.057803
0
0.277457
0
0
0
0
null
0
0
0
0
0
0
0
0
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
f69d50b79bb2cf94bbd6f6e08bfe1cc9753de50a
3,929
py
Python
tests/st/ops/gpu/test_dropout_nd.py
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
tests/st/ops/gpu/test_dropout_nd.py
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
tests/st/ops/gpu/test_dropout_nd.py
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
# Copyright 2021-2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
39.29
114
0.694833
565
3,929
4.624779
0.304425
0.061232
0.026789
0.034443
0.255262
0.209721
0.166093
0.112132
0.049751
0.049751
0
0.027162
0.18478
3,929
99
115
39.686869
0.788636
0.281497
0
0.196721
0
0
0.010149
0
0
0
0
0
0.04918
1
0.098361
false
0
0.098361
0.032787
0.262295
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f69d983260154b7c587e7a2f65e955149432f5db
99
py
Python
CodeChef/Python Codes/TSORT.py
khaleeque-ansari/Online-Coding-Problems-Solutions-Python
c8378ccad88ce5f50239f82cf9569344e1b92f18
[ "Apache-2.0" ]
null
null
null
CodeChef/Python Codes/TSORT.py
khaleeque-ansari/Online-Coding-Problems-Solutions-Python
c8378ccad88ce5f50239f82cf9569344e1b92f18
[ "Apache-2.0" ]
null
null
null
CodeChef/Python Codes/TSORT.py
khaleeque-ansari/Online-Coding-Problems-Solutions-Python
c8378ccad88ce5f50239f82cf9569344e1b92f18
[ "Apache-2.0" ]
null
null
null
import sys n=int(raw_input()) a=[] a=map(int,sys.stdin) a.sort() for _ in a: print _
11
21
0.565657
18
99
2.944444
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.262626
99
8
22
12.375
0.726027
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f69f1fed5cdb673fcdaeff3944d87246ff0fa59c
1,846
py
Python
custom_components/envoystream/config_flow.py
PoppyPop/integration_envoystream
8faf951e30c9fae5cea1cf13a56255cd291dd569
[ "MIT" ]
null
null
null
custom_components/envoystream/config_flow.py
PoppyPop/integration_envoystream
8faf951e30c9fae5cea1cf13a56255cd291dd569
[ "MIT" ]
28
2022-01-26T18:22:37.000Z
2022-03-31T18:23:34.000Z
custom_components/envoystream/config_flow.py
PoppyPop/integration_envoystream
8faf951e30c9fae5cea1cf13a56255cd291dd569
[ "MIT" ]
null
null
null
"""Config flow for IRegul integration.""" from __future__ import annotations import logging from typing import Any import voluptuous as vol from homeassistant import config_entries from homeassistant.core import HomeAssistant from .const import CONF_HOST from .const import CONF_PASSWORD from .const import CONF_USERN...
27.969697
86
0.686891
235
1,846
5.153191
0.370213
0.046243
0.069364
0.059455
0.110652
0.110652
0.110652
0.110652
0.110652
0.110652
0
0.000702
0.228602
1,846
65
87
28.4
0.849719
0.053088
0
0.04878
0
0
0.027511
0
0
0
0
0
0
1
0
false
0.073171
0.268293
0
0.439024
0
0
0
0
null
0
0
0
0
0
0
0
0
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
f69f531965456d98859d0057da7c70b698a88862
4,940
py
Python
controllers/vessel/vessel_vpn_update.py
gbf-labs/rh-api
317a812164ad8943ab638c06f61723cb928bfd12
[ "Apache-2.0" ]
null
null
null
controllers/vessel/vessel_vpn_update.py
gbf-labs/rh-api
317a812164ad8943ab638c06f61723cb928bfd12
[ "Apache-2.0" ]
6
2020-03-30T23:11:27.000Z
2022-03-12T00:21:45.000Z
controllers/vessel/vessel_vpn_update.py
gbf-labs/rh-api
317a812164ad8943ab638c06f61723cb928bfd12
[ "Apache-2.0" ]
null
null
null
# pylint: disable=too-many-arguments, too-many-locals, too-many-statements, too-many-instance-attributes, too-many-branches, no-member, no-name-in-module, anomalous-backslash-in-string, too-many-function-args, no-self-use """VPN Update""" import time import urllib.request from configparser import ConfigParser from...
31.666667
222
0.548583
501
4,940
5.203593
0.269461
0.037975
0.058305
0.061757
0.157652
0.112773
0.094361
0
0
0
0
0.016646
0.34332
4,940
155
223
31.870968
0.786991
0.216397
0
0.108108
0
0
0.156269
0.028223
0
0
0
0
0
1
0.027027
false
0
0.121622
0
0.175676
0.067568
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6a1ab7a5685a3961db0eeae7e99d46d7957d6a0
1,297
py
Python
d12p1.py
Maselkov/advent-of-code-2020
a719127ce21e4731ddb9132c8c7f42856c972220
[ "MIT" ]
null
null
null
d12p1.py
Maselkov/advent-of-code-2020
a719127ce21e4731ddb9132c8c7f42856c972220
[ "MIT" ]
null
null
null
d12p1.py
Maselkov/advent-of-code-2020
a719127ce21e4731ddb9132c8c7f42856c972220
[ "MIT" ]
null
null
null
import puzzleinput x = 0 y = 0 x_direction = 1 y_direction = 0 for line in puzzleinput.lines: action = line[0] value = int(line[1:]) if action == "F": x += x_direction * value y += y_direction * value if action == "N": y -= value if action == "S": y += value if a...
25.431373
36
0.428682
152
1,297
3.486842
0.190789
0.283019
0.186792
0.158491
0.618868
0.618868
0.577358
0.577358
0.577358
0.577358
0
0.047059
0.475713
1,297
50
37
25.94
0.732353
0
0
0.541667
0
0
0.005397
0
0
0
0
0
0
1
0
false
0
0.020833
0
0.020833
0.020833
0
0
0
null
1
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
2
f6a218a53ac1edd1067e3e1d89028beb187d4302
47
py
Python
football/__init__.py
Zebfred/DS-OOP-Review
e44577d145f40039457793caa484016443bb39c6
[ "MIT" ]
null
null
null
football/__init__.py
Zebfred/DS-OOP-Review
e44577d145f40039457793caa484016443bb39c6
[ "MIT" ]
null
null
null
football/__init__.py
Zebfred/DS-OOP-Review
e44577d145f40039457793caa484016443bb39c6
[ "MIT" ]
4
2019-12-04T22:35:09.000Z
2020-01-21T08:53:34.000Z
""" Still empty, but will keep you updated """
15.666667
39
0.659574
7
47
4.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.191489
47
3
40
15.666667
0.815789
0.808511
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
f6a2c7e0854b4bfb4bdf91f358afcc75ceac053b
167
py
Python
app.py
Pandelytics/pandelytics
5950d4a95595dadf076ac9270be0dbcdcfa59a1a
[ "Apache-2.0" ]
null
null
null
app.py
Pandelytics/pandelytics
5950d4a95595dadf076ac9270be0dbcdcfa59a1a
[ "Apache-2.0" ]
11
2020-04-02T22:36:36.000Z
2020-09-27T11:19:23.000Z
app.py
Pandelytics/pandelytics
5950d4a95595dadf076ac9270be0dbcdcfa59a1a
[ "Apache-2.0" ]
1
2020-10-07T15:48:06.000Z
2020-10-07T15:48:06.000Z
import json from pandelytics import search if __name__ == "__main__": news = search.search("jhu", "Data") if news: print(json.dumps(news, indent=4))
18.555556
41
0.652695
22
167
4.590909
0.681818
0
0
0
0
0
0
0
0
0
0
0.007634
0.215569
167
8
42
20.875
0.763359
0
0
0
0
0
0.08982
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f6a31c2011000a082736d9d587f09c391b1c8680
900
py
Python
5-python-dataviz-notebook/4-matplotlib_decorating_plots.py
reetasharma11/winter2020-code
6875ca13e4f3d2a95ad36dca386a3a87e8ed08f7
[ "MIT" ]
1
2020-02-11T04:29:14.000Z
2020-02-11T04:29:14.000Z
5-python-dataviz-notebook/4-matplotlib_decorating_plots.py
reetasharma11/winter2020-code
6875ca13e4f3d2a95ad36dca386a3a87e8ed08f7
[ "MIT" ]
null
null
null
5-python-dataviz-notebook/4-matplotlib_decorating_plots.py
reetasharma11/winter2020-code
6875ca13e4f3d2a95ad36dca386a3a87e8ed08f7
[ "MIT" ]
5
2020-01-18T21:22:04.000Z
2020-02-27T23:00:07.000Z
#!/usr/bin/env python3 import numpy as np import matplotlib.pyplot as plt import os linear = np.arange(1, 20) square = linear ** 2 log = np.log(linear) random = np.random.randint(0, 100, 20) fig, axes = plt.subplots(2, 1, figsize=(5, 5)) # In order to decorate plots we can set the title, the x/y label and the ticks...
27.272727
84
0.735556
158
900
4.06962
0.512658
0.046656
0.049767
0.080871
0.096423
0
0
0
0
0
0
0.033835
0.113333
900
32
85
28.125
0.77193
0.244444
0
0
0
0
0.25
0.131657
0
0
0
0
0
1
0
false
0
0.157895
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6a5507a124cc84322328feab772d57c8ebeb1a8
772
py
Python
markdown2pdf/css_styles.py
simao-ferreira/markdown-resume
c01fd8700e40d2eda4ba7ea3a03be13b00d0709c
[ "MIT" ]
null
null
null
markdown2pdf/css_styles.py
simao-ferreira/markdown-resume
c01fd8700e40d2eda4ba7ea3a03be13b00d0709c
[ "MIT" ]
null
null
null
markdown2pdf/css_styles.py
simao-ferreira/markdown-resume
c01fd8700e40d2eda4ba7ea3a03be13b00d0709c
[ "MIT" ]
null
null
null
import os from settings import STYLES_DIR class CssStyles: bar_style = os.path.join(STYLES_DIR, "bar-style.css") divider_style = os.path.join(STYLES_DIR, "divider-style.css") simple_style = os.path.join(STYLES_DIR, "simple-style.css") default_style = simple_style @staticmethod def stylenames...
29.692308
69
0.651554
104
772
4.673077
0.423077
0.092593
0.067901
0.092593
0.148148
0.148148
0
0
0
0
0
0.016639
0.221503
772
25
70
30.88
0.792013
0.09456
0
0
0
0
0.12936
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.588235
0.176471
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f6a5f9427bcd35cf17e213bb60dc81bb58e7cdee
783
py
Python
forecast/util/univariate_forecast_item.py
jobine/smartAI-plugin
b19709315eccf553518fceed1b369be709b113ce
[ "MIT" ]
null
null
null
forecast/util/univariate_forecast_item.py
jobine/smartAI-plugin
b19709315eccf553518fceed1b369be709b113ce
[ "MIT" ]
null
null
null
forecast/util/univariate_forecast_item.py
jobine/smartAI-plugin
b19709315eccf553518fceed1b369be709b113ce
[ "MIT" ]
null
null
null
from common.util.constant import TIMESTAMP FORECAST_VALUE = 'forecastValue' CONFIDENCE = 'confidence' UPPER_BOUNDARY = 'upperBoundary' LOWER_BOUNDARY = 'lowerBoundary' class UnivariateForecastItem: def __init__(self, forecast_value, lower_boundary, upper_boundary, confidence, timestamp): self.forecast_val...
41.210526
116
0.739464
88
783
6.318182
0.340909
0.140288
0.091727
0.089928
0
0
0
0
0
0
0
0
0.164751
783
18
117
43.5
0.850153
0
0
0
0
0
0.084291
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0.066667
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6a60d0fa2163b6eee0c0cf66c93273831f0ea5e
33,075
py
Python
configuration_driver.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
null
null
null
configuration_driver.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
1
2019-10-22T21:28:31.000Z
2019-10-22T21:39:12.000Z
configuration_driver.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
2
2019-06-06T15:06:46.000Z
2020-07-20T02:03:22.000Z
""" Data base save and recall motor positions Author: Friedrich Schotte Date created: 2013-11-29 Date last modified: 2019-05-28 """ __version__ = "4.1.2" # "%s.line%d.%s" % (..,int(row),..): ValueError: cannot convert float NaN to integer from logging import debug,info,warn,error import numpy numpy.warnings.filterwarn...
39.993954
106
0.641391
4,072
33,075
4.993124
0.090373
0.030297
0.00905
0.008263
0.361893
0.286888
0.251377
0.219801
0.2048
0.183455
0
0.004776
0.253001
33,075
826
107
40.042373
0.818149
0.058957
0
0.294702
0
0.001656
0.036573
0.00303
0
0
0
0
0
0
null
null
0.001656
0.069536
null
null
0.009934
0
0
0
null
0
0
0
0
0
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
f6a6f92bdae1e2320d7606a320a1b644f61b3a4d
191
py
Python
python_tuto_variables.py
khinthandarkyaw98/Python_Practice
9b431129c79315a57dae81048a22bf85c4b5132c
[ "MIT" ]
null
null
null
python_tuto_variables.py
khinthandarkyaw98/Python_Practice
9b431129c79315a57dae81048a22bf85c4b5132c
[ "MIT" ]
null
null
null
python_tuto_variables.py
khinthandarkyaw98/Python_Practice
9b431129c79315a57dae81048a22bf85c4b5132c
[ "MIT" ]
null
null
null
# global variables x = "awesome" def myfunc(): print("Python is " + x) myfunc() print("Python is " + x) # Global Keyword def func(): global x x = "fantastic" func()
10.611111
25
0.560209
24
191
4.458333
0.5
0.205607
0.317757
0.35514
0.373832
0
0
0
0
0
0
0
0.293194
191
18
26
10.611111
0.792593
0.162304
0
0.222222
0
0
0.255319
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.222222
0.222222
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
5
f6a6f96660b59865f95a5c11e6f5b37b62d8c6b8
19,911
py
Python
glycan_profiling/composition_distribution_model/glycome_network_smoothing.py
mstim/glycresoft
1d305c42c7e6cba60326d8246e4a485596a53513
[ "Apache-2.0" ]
4
2019-04-26T15:47:57.000Z
2021-04-20T22:53:58.000Z
glycan_profiling/composition_distribution_model/glycome_network_smoothing.py
mstim/glycresoft
1d305c42c7e6cba60326d8246e4a485596a53513
[ "Apache-2.0" ]
8
2017-11-22T19:20:20.000Z
2022-02-14T01:49:58.000Z
glycan_profiling/composition_distribution_model/glycome_network_smoothing.py
mstim/glycresoft
1d305c42c7e6cba60326d8246e4a485596a53513
[ "Apache-2.0" ]
3
2017-11-21T18:05:28.000Z
2021-09-23T18:38:33.000Z
import numpy as np from glypy import GlycanComposition from glycan_profiling.database.composition_network import ( CompositionGraphNode, NeighborhoodWalker) from glycan_profiling.task import log_handle from .constants import ( DEFAULT_LAPLACIAN_REGULARIZATION, NORMALIZATION, DEFAULT_RHO, RESET_T...
46.412587
114
0.657626
2,244
19,911
5.640374
0.175579
0.046536
0.034368
0.02868
0.357273
0.292328
0.240657
0.232994
0.205815
0.166153
0
0.006121
0.2697
19,911
428
115
46.521028
0.864315
0.266134
0
0.280576
0
0
0.014686
0
0
0
0
0
0.003597
1
0.053957
false
0
0.032374
0.007194
0.125899
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6a940ae1fea232392cf90b5597c48422a8248e7
626
py
Python
37_function.py
onowdev/python-selflearning
3d7245de0207a5bfcbce4f7adde60e7316b70a8e
[ "MIT" ]
null
null
null
37_function.py
onowdev/python-selflearning
3d7245de0207a5bfcbce4f7adde60e7316b70a8e
[ "MIT" ]
null
null
null
37_function.py
onowdev/python-selflearning
3d7245de0207a5bfcbce4f7adde60e7316b70a8e
[ "MIT" ]
null
null
null
# A function is a block of organized, reusable code that is used to perform a single, related action. # Functions provide better modularity for your application and a high degree of code reusing. # As you already know, Python gives you many built-in functions like print(), # etc. but you can also create your own func...
41.733333
102
0.758786
99
626
4.79798
0.646465
0.025263
0.037895
0
0
0
0
0
0
0
0
0
0.185304
626
15
103
41.733333
0.931373
0.722045
0
0
0
0
0.611111
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.333333
0.833333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
3
f6ab1104eb009ad9680af17ef349cc7bccac8a09
204
py
Python
Inventario/baixa/urls.py
FuryAndRage/InventarioTeste
6ee92fc2e209863558082f8bd88be88dfaaa1c76
[ "Unlicense" ]
null
null
null
Inventario/baixa/urls.py
FuryAndRage/InventarioTeste
6ee92fc2e209863558082f8bd88be88dfaaa1c76
[ "Unlicense" ]
null
null
null
Inventario/baixa/urls.py
FuryAndRage/InventarioTeste
6ee92fc2e209863558082f8bd88be88dfaaa1c76
[ "Unlicense" ]
null
null
null
from django.urls import path from . import views app_name='baixa' urlpatterns = [ path('log/', views.log_baixa, name='log_baixa'), path('<int:pk>/produto/', views.baixa_produto, name='baixa_produto') ]
25.5
69
0.72549
30
204
4.766667
0.466667
0.125874
0
0
0
0
0
0
0
0
0
0
0.102941
204
8
70
25.5
0.781421
0
0
0
0
0
0.234146
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
f6abd2bb70c830656d6dec419339541fc37671cc
97
py
Python
office365/sharepoint/lists/list_rule.py
rikeshtailor/Office365-REST-Python-Client
ca7bfa1b22212137bb4e984c0457632163e89a43
[ "MIT" ]
null
null
null
office365/sharepoint/lists/list_rule.py
rikeshtailor/Office365-REST-Python-Client
ca7bfa1b22212137bb4e984c0457632163e89a43
[ "MIT" ]
null
null
null
office365/sharepoint/lists/list_rule.py
rikeshtailor/Office365-REST-Python-Client
ca7bfa1b22212137bb4e984c0457632163e89a43
[ "MIT" ]
null
null
null
from office365.sharepoint.base_entity import BaseEntity class SPListRule(BaseEntity): pass
16.166667
55
0.814433
11
97
7.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0.035714
0.134021
97
5
56
19.4
0.892857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
f6ad4eb8b29be724bdb073d946e7e0063a5425fb
95
py
Python
classTest.py
csitedexperts/Python2.xPractice
fd03ceebe920a76ca47aec3651a69ba5a1cc412b
[ "Apache-2.0" ]
3
2019-04-13T04:00:42.000Z
2020-10-02T01:14:42.000Z
classTest.py
csitedexperts/Python2.xPractice
fd03ceebe920a76ca47aec3651a69ba5a1cc412b
[ "Apache-2.0" ]
null
null
null
classTest.py
csitedexperts/Python2.xPractice
fd03ceebe920a76ca47aec3651a69ba5a1cc412b
[ "Apache-2.0" ]
2
2019-03-30T18:55:32.000Z
2020-05-10T16:30:34.000Z
class things(object): def test(hi): print "Hi" t = things() t.test("hello world")
13.571429
21
0.578947
14
95
3.928571
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.252632
95
6
22
15.833333
0.774648
0
0
0
0
0
0.136842
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f6ae515cfe79c68afb075360cf5f75341ab00831
1,497
py
Python
tests/test_wrappers.py
chrisbrake/aerial
6a33cf048820aab948dd24d5867e53f0f1eaa11d
[ "BSD-3-Clause" ]
null
null
null
tests/test_wrappers.py
chrisbrake/aerial
6a33cf048820aab948dd24d5867e53f0f1eaa11d
[ "BSD-3-Clause" ]
1
2018-09-20T04:39:02.000Z
2018-09-21T04:19:15.000Z
tests/test_wrappers.py
chrisbrake/aerial
6a33cf048820aab948dd24d5867e53f0f1eaa11d
[ "BSD-3-Clause" ]
null
null
null
import signal as s from aerial import Feed, wrappers as w def test_feed_init(): """ Confirm feed is initialized if it is None """ w.feed = None w.received(s.SIGINT) assert isinstance(w.feed, Feed) def test_received_false(): """ Confirm the method returns False if no signal recieved """ asser...
29.352941
78
0.678023
232
1,497
4.267241
0.185345
0.127273
0.141414
0.226263
0.787879
0.765657
0.765657
0.765657
0.765657
0.724242
0
0
0.205745
1,497
50
79
29.94
0.832632
0.261857
0
0.6875
0
0
0.01885
0
0
0
0
0
0.3125
1
0.1875
true
0
0.0625
0
0.25
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
f6aee9f9d96c710dc628f8ed454d998f3e896d5b
923
py
Python
setup.py
newliver/tencentyun-porndetect
0941931fd78f49c530e2071248114721154b3c9e
[ "MIT" ]
18
2016-05-11T12:19:42.000Z
2021-10-03T10:43:21.000Z
setup.py
newliver/tencentyun-porndetect
0941931fd78f49c530e2071248114721154b3c9e
[ "MIT" ]
null
null
null
setup.py
newliver/tencentyun-porndetect
0941931fd78f49c530e2071248114721154b3c9e
[ "MIT" ]
5
2015-12-01T04:00:28.000Z
2020-01-19T13:18:34.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- from os import path from codecs import open try: from setuptools import setup except ImportError: from distutils.core import setup here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description =...
23.666667
63
0.704225
104
923
6.057692
0.567308
0.222222
0.038095
0
0
0
0
0
0
0
0
0.002594
0.16468
923
38
64
24.289474
0.814527
0.047671
0
0
0
0
0.255416
0.071836
0
0
0
0
0
1
0
false
0
0.206897
0
0.206897
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
f6b06e24315b971b76d107d8572119071dcbbe2e
7,230
py
Python
heredity/heredity.py
immortal-zeus/CS50-AI_Projects
cac627ea75650960ddc22f9dd60777e3ee64eacf
[ "BSD-3-Clause" ]
1
2021-06-22T06:31:59.000Z
2021-06-22T06:31:59.000Z
heredity/heredity.py
immortal-zeus/CS50-AI_Projects
cac627ea75650960ddc22f9dd60777e3ee64eacf
[ "BSD-3-Clause" ]
null
null
null
heredity/heredity.py
immortal-zeus/CS50-AI_Projects
cac627ea75650960ddc22f9dd60777e3ee64eacf
[ "BSD-3-Clause" ]
null
null
null
import csv import itertools import sys PROBS = { # Unconditional probabilities for having gene "gene": { 2: 0.01, 1: 0.03, 0: 0.96 }, "trait": { # Probability of trait given two copies of gene 2: { True: 0.65, False: 0.35 }, ...
31.572052
117
0.547303
880
7,230
4.404545
0.184091
0.083333
0.06192
0.01548
0.2887
0.25774
0.193756
0.160733
0.160733
0.083849
0
0.016974
0.348133
7,230
228
118
31.710526
0.805432
0.226003
0
0.25
0
0
0.057735
0.003849
0
0
0
0
0
1
0.0375
false
0
0.01875
0
0.075
0.01875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6b0f025ad48f88945b93b850eb2f1bf03a9f188
2,977
py
Python
Lab5_7/Repositories/PickleRepo.py
alexnaiman/Fundamentals-Of-Programming---Lab-assignments
ef066e6036e20b9c686799f507f10e15e50e3285
[ "MIT" ]
4
2018-02-19T13:57:38.000Z
2022-01-08T04:10:54.000Z
Lab5_7/Repositories/PickleRepo.py
alexnaiman/Fundamentals-Of-Programming---Lab-assignments
ef066e6036e20b9c686799f507f10e15e50e3285
[ "MIT" ]
null
null
null
Lab5_7/Repositories/PickleRepo.py
alexnaiman/Fundamentals-Of-Programming---Lab-assignments
ef066e6036e20b9c686799f507f10e15e50e3285
[ "MIT" ]
null
null
null
import pickle from Repositories.BaseRepository import Repository class PickleRepo(Repository): ''' A generic class for a repository for a given class ''' def __init__(self, fileName, name): ''' The constructor of the Repository class :param fileName: the ...
31.336842
102
0.575076
357
2,977
4.719888
0.336134
0.024926
0.018991
0.026706
0.189911
0.147181
0.105638
0.077151
0.077151
0.077151
0
0
0.354384
2,977
94
103
31.670213
0.876691
0.33994
0
0.266667
0
0
0.002843
0
0
0
0
0
0
1
0.2
false
0
0.044444
0.022222
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6b2c3a5a820b975a2e3e297c5d76cb1dc060bb6
5,322
py
Python
bibtex_interface/import_bibtex_file.py
julio-navarro-lara/biblio
3a86b9133d6470e89425e7a1fdea72cef0b6528b
[ "Apache-2.0" ]
1
2020-09-23T11:54:16.000Z
2020-09-23T11:54:16.000Z
bibtex_interface/import_bibtex_file.py
julio-navarro-lara/biblio
3a86b9133d6470e89425e7a1fdea72cef0b6528b
[ "Apache-2.0" ]
null
null
null
bibtex_interface/import_bibtex_file.py
julio-navarro-lara/biblio
3a86b9133d6470e89425e7a1fdea72cef0b6528b
[ "Apache-2.0" ]
null
null
null
#Copyright 2018 Julio Navarro #Built at the University of Strasbourg (France). CSTB team @ ICube laboratory # -*- coding: utf-8 -*- import sys sys.path.insert(0,'../') sys.path.insert(0,'../database_queries/') from database_queries_biblio import * import bibtexparser import codecs import unidecode def recover_acce...
29.731844
105
0.649192
706
5,322
4.586402
0.203966
0.11118
0.05559
0.069487
0.278258
0.177888
0.139592
0.139592
0.139592
0.116739
0
0.009669
0.222661
5,322
178
106
29.898876
0.773024
0.047914
0
0.04065
0
0
0.13199
0.004545
0
0
0
0
0
0
null
null
0
0.073171
null
null
0.056911
0
0
0
null
0
0
0
0
0
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
f6b3328c566ef126d74431b64f1f2183ec8ed890
9,565
py
Python
src/tests/ftest/security/container_security_acl.py
sherintg/daos
a54e347938a0a7b2fe8771c982336f1d28654b1f
[ "BSD-2-Clause-Patent" ]
2
2021-07-14T12:21:50.000Z
2021-07-14T12:21:52.000Z
src/tests/ftest/security/container_security_acl.py
sherintg/daos
a54e347938a0a7b2fe8771c982336f1d28654b1f
[ "BSD-2-Clause-Patent" ]
null
null
null
src/tests/ftest/security/container_security_acl.py
sherintg/daos
a54e347938a0a7b2fe8771c982336f1d28654b1f
[ "BSD-2-Clause-Patent" ]
1
2021-11-03T05:00:42.000Z
2021-11-03T05:00:42.000Z
#!/usr/bin/python3 """ (C) Copyright 2020-2021 Intel Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent """ import os import security_test_base as secTestBase from cont_security_test_base import ContSecurityTestBase from pool_security_test_base import PoolSecurityTestBase class DaosContainterSecurityTest(C...
46.658537
79
0.612964
1,123
9,565
4.964381
0.15138
0.050224
0.039462
0.034439
0.450583
0.379193
0.35713
0.255247
0.249507
0.249507
0
0.011868
0.295243
9,565
204
80
46.887255
0.815161
0.225196
0
0.263158
0
0.015038
0.209582
0.008762
0
0
0
0
0
1
0.007519
false
0.030075
0.030075
0
0.045113
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6b3c15f1c2351ca221f6a3291a1eb60723fa6bc
1,205
py
Python
get_links.py
jabbalaci/Bash-Utils
c6fb115834a221c4aaba8eaa37f650beea45ef29
[ "MIT" ]
73
2015-03-31T01:12:26.000Z
2021-07-10T19:45:04.000Z
get_links.py
doc22940/Bash-Utils
c6fb115834a221c4aaba8eaa37f650beea45ef29
[ "MIT" ]
2
2017-01-06T17:17:42.000Z
2017-08-23T18:35:55.000Z
get_links.py
doc22940/Bash-Utils
c6fb115834a221c4aaba8eaa37f650beea45ef29
[ "MIT" ]
27
2015-01-03T18:51:23.000Z
2020-11-15T11:49:51.000Z
#!/usr/bin/env python3 """ Extract all links from a web page ================================= Author: Laszlo Szathmary, 2011 (jabba.laci@gmail.com) Website: https://pythonadventures.wordpress.com/2011/03/10/extract-all-links-from-a-web-page/ GitHub: https://github.com/jabbalaci/Bash-Utils Given a webpage, extract ...
24.1
99
0.6
169
1,205
4.207101
0.568047
0.042194
0.063291
0.053446
0.075949
0.075949
0.075949
0
0
0
0
0.048563
0.162656
1,205
49
100
24.591837
0.656095
0.365975
0
0
0
0.05
0.185841
0
0
0
0
0
0
1
0.1
false
0
0.25
0
0.35
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6b6c0f6b1a695df96a661e8da3cdd75b9963602
2,563
py
Python
texas/views/AnnotationViewSet.py
HeglerTissot/TEXAS
fdcfc4e4042b9c6de49d50324937858d7c1a7c45
[ "Apache-2.0" ]
null
null
null
texas/views/AnnotationViewSet.py
HeglerTissot/TEXAS
fdcfc4e4042b9c6de49d50324937858d7c1a7c45
[ "Apache-2.0" ]
null
null
null
texas/views/AnnotationViewSet.py
HeglerTissot/TEXAS
fdcfc4e4042b9c6de49d50324937858d7c1a7c45
[ "Apache-2.0" ]
1
2021-02-11T15:54:35.000Z
2021-02-11T15:54:35.000Z
#!/usr/bin/python #-*- coding: utf-8 -*- from texas.annotations.AnnotationSet import AnnotationSet from texas.views.AnnotationView import AnnotationView from texas.views.CharView import CharView from texas.views.TokenView import TokenView from texas.views.SpanView import SpanView from texas.views.RelationView import R...
40.046875
123
0.633632
263
2,563
6.098859
0.269962
0.079801
0.082918
0.082294
0.166459
0.089776
0
0
0
0
0
0.000532
0.266875
2,563
63
124
40.68254
0.853113
0.014436
0
0.113208
0
0
0.172742
0.04794
0
0
0
0
0
1
0.132075
false
0
0.113208
0.018868
0.377358
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6b8ddf5ee17747909885ae7a8e492c2e777ab81
1,496
py
Python
examples/todo_react/app.py
Lothiraldan/ZeroServices
c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37
[ "MIT" ]
21
2015-01-31T17:45:42.000Z
2017-11-12T05:02:44.000Z
examples/todo_react/app.py
Lothiraldan/ZeroServices
c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37
[ "MIT" ]
7
2015-01-07T09:52:06.000Z
2015-02-01T00:59:35.000Z
examples/todo_react/app.py
Lothiraldan/ZeroServices
c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37
[ "MIT" ]
2
2017-06-29T19:40:42.000Z
2019-06-01T12:18:56.000Z
import pymongo from zeroservices import ResourceService, ZeroMQMedium from zeroservices.backend.mongodb import MongoDBCollection, MongoDBResource from zeroservices.memory import MemoryCollection, MemoryCollection from zeroservices.resources import is_callable import sys from zmq.eventloop import ioloop, zmqstream iol...
27.703704
87
0.760027
175
1,496
6.365714
0.491429
0.100539
0.045781
0.066427
0.190305
0.116697
0.116697
0
0
0
0
0.006289
0.149733
1,496
53
88
28.226415
0.869497
0.009358
0
0.057143
0
0
0.039892
0
0
0
0
0
0
1
0.057143
false
0
0.514286
0.028571
0.657143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f6ba94639224284f876fee2bcfe84861cc05d4cf
2,743
py
Python
slideshows/views.py
hossein20s/emencia-django-slideshows
83b194be3943573bf3b6ed7a3839bbbcc949df67
[ "MIT" ]
null
null
null
slideshows/views.py
hossein20s/emencia-django-slideshows
83b194be3943573bf3b6ed7a3839bbbcc949df67
[ "MIT" ]
null
null
null
slideshows/views.py
hossein20s/emencia-django-slideshows
83b194be3943573bf3b6ed7a3839bbbcc949df67
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Views """ import random from django.db.models import Count from django import template from django.views.generic.detail import DetailView from django.utils.safestring import mark_safe from slideshows.models import Slideshow, DEFAULT_SLIDESHOWS_TEMPLATE, DEFAULT_SLIDESHOWS_RANDOM_SLIDE_TEMP...
31.895349
110
0.683558
313
2,743
5.840256
0.306709
0.019694
0.030635
0.030635
0.272429
0.159737
0.086433
0.04267
0
0
0
0.001884
0.22603
2,743
85
111
32.270588
0.859162
0.294203
0
0.216216
0
0
0.042565
0
0
0
0
0
0
1
0.162162
false
0
0.162162
0.054054
0.675676
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f6baeadb060a169301ac91bc55252c337b0c1960
12,212
py
Python
preprocessing_2.0/entityExtraction/code/addEntitiesToText.py
ahsi/Multilingual_Event_Extraction
eed002e864e16dc06c2b2970267b1465adcf825c
[ "MIT" ]
34
2017-11-28T12:23:00.000Z
2022-01-19T16:10:52.000Z
preprocessing_2.0/entityExtraction/code/addEntitiesToText.py
ahsi/Multilingual_Event_Extraction
eed002e864e16dc06c2b2970267b1465adcf825c
[ "MIT" ]
3
2018-12-24T09:53:45.000Z
2019-11-19T03:26:41.000Z
preprocessing_2.0/entityExtraction/code/addEntitiesToText.py
ahsi/Multilingual_Event_Extraction
eed002e864e16dc06c2b2970267b1465adcf825c
[ "MIT" ]
9
2018-01-16T03:37:17.000Z
2021-11-05T21:18:07.000Z
import sys import xml.etree.ElementTree as ET import string from xml.sax.saxutils import escape # set to maintain unique coref labels across all entities corefSet = set() def processEvents(root, triggerDict, argDict): if root.tag == "event": eventType = root.attrib["TYPE"] eventSubtype = root.attr...
34.016713
135
0.560432
1,202
12,212
5.670549
0.168053
0.018486
0.029343
0.039026
0.440141
0.37632
0.301496
0.279049
0.266725
0.218897
0
0.005893
0.333033
12,212
358
136
34.111732
0.830939
0.073534
0
0.388278
0
0
0.051625
0.001948
0
0
0
0
0
0
null
null
0
0.014652
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
f6bd4d588241d1dc77c6591b3c2c3f80f0410cf6
2,737
py
Python
modules/data_handler/__init__.py
tamslo/koala
9f8bb0e201bd9a773752f1fd70ecbfc2fe98eb5c
[ "MIT" ]
null
null
null
modules/data_handler/__init__.py
tamslo/koala
9f8bb0e201bd9a773752f1fd70ecbfc2fe98eb5c
[ "MIT" ]
null
null
null
modules/data_handler/__init__.py
tamslo/koala
9f8bb0e201bd9a773752f1fd70ecbfc2fe98eb5c
[ "MIT" ]
null
null
null
import os import yaml import json import modules.file_utils as file_utils from .instance_handler import InstanceHandler from .instances.experiment import Experiment from .instances.dataset import Dataset from .cache import Cache class DataHandler: def __init__(self, data_directory): self.experiments_direct...
48.017544
91
0.679576
299
2,737
6.010033
0.270903
0.043406
0.073456
0.026711
0.152476
0.081247
0.048971
0
0
0
0
0.000476
0.232371
2,737
56
92
48.875
0.854831
0.022653
0
0.083333
0
0
0.080808
0
0
0
0
0
0
1
0.104167
false
0
0.166667
0
0.354167
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6bfbf21f0ab05b2cba9ffc3d4de3d8629a8d0b9
7,512
py
Python
vmock/methodmock.py
vburenin/vmock
8af296938328a1178418e479cb60a008111eb1d3
[ "MIT" ]
1
2015-07-04T05:57:45.000Z
2015-07-04T05:57:45.000Z
vmock/methodmock.py
vburenin/vmock
8af296938328a1178418e479cb60a008111eb1d3
[ "MIT" ]
null
null
null
vmock/methodmock.py
vburenin/vmock
8af296938328a1178418e479cb60a008111eb1d3
[ "MIT" ]
null
null
null
"""MethodMock class that keeps method data. """ import inspect import functools from vmock import matchers from vmock.mockerrors import CallSequenceError from vmock.mockerrors import InterfaceError from vmock.mockerrors import UnexpectedCall class MethodMock(object): """Method mock. Method mock object rec...
34.939535
79
0.600905
942
7,512
4.605096
0.220807
0.041494
0.029046
0.016598
0.179806
0.067773
0.067773
0.067773
0.067773
0.050715
0
0.001933
0.311502
7,512
214
80
35.102804
0.836814
0.283679
0
0.2
0
0
0.062561
0
0
0
0
0
0
1
0.095652
false
0
0.06087
0
0.278261
0.017391
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6c0e78179bef616d68fd16014e74c5008efe77d
2,532
py
Python
in.py
dlinsley/youtube-resource
82ef203c292a6a6ceb9ac84a9931f1aeec1ebdce
[ "MIT" ]
null
null
null
in.py
dlinsley/youtube-resource
82ef203c292a6a6ceb9ac84a9931f1aeec1ebdce
[ "MIT" ]
null
null
null
in.py
dlinsley/youtube-resource
82ef203c292a6a6ceb9ac84a9931f1aeec1ebdce
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from __future__ import unicode_literals import yt_dlp import json import sys import os class MyLogger(object): def __init__(self): self.vidmeta = {} def debug(self, msg): if msg.startswith('{"'): self.vidmeta = json.loads(msg) return print...
33.315789
100
0.644945
317
2,532
4.974763
0.299685
0.097654
0.136969
0.096386
0.205453
0.135701
0
0
0
0
0
0.004296
0.172591
2,532
75
101
33.76
0.748449
0.008294
0
0.065574
0
0
0.190837
0
0
0
0
0
0
1
0.081967
false
0.016393
0.081967
0
0.262295
0.065574
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6c11c4d0de6932b651c3860ae6be6b7daceb829
321
py
Python
game_exceptions.py
thomasmarlow/chessterisk
be759474c550584949cb189cb6817fbee32304d9
[ "MIT" ]
null
null
null
game_exceptions.py
thomasmarlow/chessterisk
be759474c550584949cb189cb6817fbee32304d9
[ "MIT" ]
null
null
null
game_exceptions.py
thomasmarlow/chessterisk
be759474c550584949cb189cb6817fbee32304d9
[ "MIT" ]
null
null
null
class NoSuchPlayerInGame(Exception): pass class GameIsFull(Exception): pass class NoSuchColor(Exception): pass class ThisPieceCantMoveThere(Exception): pass class InvalidStringCoordinates(Exception): pass class NoSuchPieceSubtype(Exception): pass class NotThisColorsTurn(Exception): pas...
16.05
42
0.766355
28
321
8.785714
0.357143
0.369919
0.439024
0
0
0
0
0
0
0
0
0
0.168224
321
20
43
16.05
0.921348
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
1
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
1
1
0
0
0
0
0
5
f6c1cb6598ac1209aec6a6d526452c0ee83bb0ea
4,579
py
Python
ossreport/printer/printer.py
craftslab/ossreport
7c60963af28e9cc22a4c107c58b697e02261d105
[ "Apache-2.0" ]
null
null
null
ossreport/printer/printer.py
craftslab/ossreport
7c60963af28e9cc22a4c107c58b697e02261d105
[ "Apache-2.0" ]
null
null
null
ossreport/printer/printer.py
craftslab/ossreport
7c60963af28e9cc22a4c107c58b697e02261d105
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import openpyxl import os from reportlab.lib import colors from reportlab.lib.styles import getSampleStyleSheet from reportlab.platypus import Paragraph, SimpleDocTemplate, Table from ossreport.proto.proto import Component, File, Level, Risk risk_head = { "A": Risk.__name__.capitalize()...
30.939189
88
0.540293
517
4,579
4.584139
0.305609
0.029536
0.005063
0.027004
0.171308
0.136709
0.05654
0.05654
0.032068
0.032068
0
0.010611
0.320812
4,579
147
89
31.14966
0.751447
0.004586
0
0.048387
0
0
0.032704
0
0
0
0
0
0
1
0.104839
false
0
0.048387
0.032258
0.209677
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6c2888bef0b0d4bea8c7f3b58dc3320eb64f8f4
3,411
py
Python
pydmap_read.py
loxodes/SuperDARN_pydmap_write
63b08e77a7725ff8e73e3d011880ca1b71649ce1
[ "MIT" ]
null
null
null
pydmap_read.py
loxodes/SuperDARN_pydmap_write
63b08e77a7725ff8e73e3d011880ca1b71649ce1
[ "MIT" ]
null
null
null
pydmap_read.py
loxodes/SuperDARN_pydmap_write
63b08e77a7725ff8e73e3d011880ca1b71649ce1
[ "MIT" ]
null
null
null
# script for reading in dmap strings over a socket into a dictionary # 7/1/2015 # jon klein, jtklein@alaska.edu import numpy as np import pdb import socket import time import json import datetime import time DATACODE = 33 DATACHAR = 1 DATASHORT = 2 DATAINT = 3 DATAFLOAT = 4 DATADOUBLE = 8 DATASTRING = 9 DATALONG = 1...
24.021127
95
0.602756
428
3,411
4.714953
0.352804
0.053518
0.077304
0.066898
0.157582
0.083251
0.083251
0.049554
0.049554
0.049554
0
0.029571
0.296101
3,411
141
96
24.191489
0.810912
0.093814
0
0.133333
0
0
0.016548
0.007463
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.019048
0
0
0
null
0
0
0
0
0
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
f6c2acd218cca04a11f0f3775ecde0c74f8938eb
1,179
py
Python
transformer-openai/parse_output.py
fredriko/tweet-stance-prediction
f12cf924db7c947d5b681c01f492da029c08c415
[ "MIT" ]
109
2019-01-16T01:47:34.000Z
2022-03-07T08:02:45.000Z
transformer-openai/parse_output.py
fredriko/tweet-stance-prediction
f12cf924db7c947d5b681c01f492da029c08c415
[ "MIT" ]
2
2019-11-04T07:15:16.000Z
2020-09-16T18:45:40.000Z
transformer-openai/parse_output.py
fredriko/tweet-stance-prediction
f12cf924db7c947d5b681c01f492da029c08c415
[ "MIT" ]
65
2019-01-20T20:51:47.000Z
2022-03-27T15:50:46.000Z
import pandas as pd import sys def output_predictions(test_path, pred_path, out_path, topic): test = pd.read_csv(test_path, delimiter='\t', header=0, encoding = "latin-1") if topic is not None: test = test.loc[test["Target"] == topic].reset_index() def clean_ascii(text): # function to remov...
39.3
90
0.631043
175
1,179
4.085714
0.411429
0.044755
0.05035
0.067133
0.158042
0.158042
0.125874
0.125874
0.125874
0
0
0.012672
0.196777
1,179
29
91
40.655172
0.742344
0.063613
0
0
0
0
0.129208
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0.043478
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6c39ed6dcaa6f4e4a1e00abaa066ab255bcf56d
1,333
py
Python
entifyfishing_client/models/category.py
kairntech/entifyfishing-client
10a86166cf7895d681fe7e4adf0f01622b48dcb8
[ "Apache-2.0" ]
null
null
null
entifyfishing_client/models/category.py
kairntech/entifyfishing-client
10a86166cf7895d681fe7e4adf0f01622b48dcb8
[ "Apache-2.0" ]
null
null
null
entifyfishing_client/models/category.py
kairntech/entifyfishing-client
10a86166cf7895d681fe7e4adf0f01622b48dcb8
[ "Apache-2.0" ]
null
null
null
from typing import Any, Dict, Type, TypeVar, Union import attr from ..types import UNSET, Unset T = TypeVar("T", bound="Category") @attr.s(auto_attribs=True) class Category: """ """ category: str source: Union[Unset, str] = UNSET weight: Union[Unset, float] = UNSET page_id: Union[Unset, int] =...
22.59322
63
0.546137
161
1,333
4.391304
0.254658
0.084866
0.042433
0.063649
0.131542
0
0
0
0
0
0
0
0.341335
1,333
58
64
22.982759
0.805239
0
0
0
0
0
0.047511
0
0
0
0
0
0
1
0.047619
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6c538bf317f0f8bf220aa7aa6e223706398ea78
12,890
py
Python
gen.py
roj4s/FSRCNN-TensorFlow
17fec785296a4c125d37432a176d523040a7a26d
[ "MIT" ]
9
2017-10-19T14:20:39.000Z
2022-02-08T09:45:28.000Z
gen.py
roj4s/FSRCNN-TensorFlow
17fec785296a4c125d37432a176d523040a7a26d
[ "MIT" ]
1
2019-05-14T08:14:29.000Z
2019-05-14T08:14:29.000Z
gen.py
roj4s/FSRCNN-TensorFlow
17fec785296a4c125d37432a176d523040a7a26d
[ "MIT" ]
7
2017-08-06T10:49:46.000Z
2021-10-03T04:33:39.000Z
import sys import math from itertools import islice radius = 1 def get_line_number(phrase, file_name): with open(file_name) as f: for i, line in enumerate(f, 1): if phrase in line: return i return False def read_weights(file_name, ln, size=1): content = [] with...
47.389706
236
0.482933
1,780
12,890
3.417416
0.088202
0.12576
0.044386
0.072497
0.689956
0.607102
0.556962
0.46145
0.409831
0.386487
0
0.039029
0.322188
12,890
271
237
47.564576
0.657205
0.007292
0
0.38843
0
0.024793
0.172805
0.019235
0
0
0
0
0
1
0.049587
false
0
0.012397
0.004132
0.082645
0.004132
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6c590d35cefe876370b91aaeb9f5e4722545073
451
py
Python
library/migrations/0011_auto_20200703_0906.py
moonbirddk/networked-toolbox
b059b77bfda173794b3cad55874cb06edc70d0e1
[ "BSD-2-Clause-FreeBSD" ]
2
2016-09-02T12:45:31.000Z
2018-02-10T10:18:11.000Z
library/migrations/0011_auto_20200703_0906.py
Socialsquare/networked-toolbox
b059b77bfda173794b3cad55874cb06edc70d0e1
[ "BSD-2-Clause-FreeBSD" ]
17
2020-03-24T15:58:05.000Z
2022-02-10T08:08:57.000Z
library/migrations/0011_auto_20200703_0906.py
moonbirddk/networked-toolbox
b059b77bfda173794b3cad55874cb06edc70d0e1
[ "BSD-2-Clause-FreeBSD" ]
1
2018-01-05T08:02:18.000Z
2018-01-05T08:02:18.000Z
# Generated by Django 2.2.8 on 2020-07-03 09:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('library', '0010_onlinecourse_course_url'), ] operations = [ migrations.AlterField( model_name='onlinecourse', name='...
23.736842
100
0.629712
51
451
5.431373
0.72549
0.097473
0.093863
0
0
0
0
0
0
0
0
0.065476
0.254989
451
18
101
25.055556
0.758929
0.099778
0
0
1
0
0.165842
0.069307
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
f6c6629b33bb8ab2ddebf182d46d07ca242a6b8c
10,568
py
Python
SAFEcomments/safe_comments.py
kittypr/SAFEcomments
5157335941477d58492538ffe80fbe4aaa749932
[ "MIT" ]
null
null
null
SAFEcomments/safe_comments.py
kittypr/SAFEcomments
5157335941477d58492538ffe80fbe4aaa749932
[ "MIT" ]
null
null
null
SAFEcomments/safe_comments.py
kittypr/SAFEcomments
5157335941477d58492538ffe80fbe4aaa749932
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse import os from lxml import etree from SAFEcomments import annotation from SAFEcomments import archive_handler from SAFEcomments import compare from SAFEcomments import odt_namespaces exact_similarity = 0.6 fuzzy_similarity = 0.6 parser = argparse.ArgumentParser(description='T...
46.968889
177
0.674962
1,447
10,568
4.654458
0.100898
0.097996
0.094581
0.058797
0.745657
0.715071
0.679881
0.626281
0.578025
0.550854
0
0.016883
0.226533
10,568
224
178
47.178571
0.807071
0.013153
0
0.494845
0
0
0.061397
0.021393
0
0
0
0
0
1
0.046392
false
0
0.036082
0
0.159794
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
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
f6c7c421ad38800a15857692e302afbb85bc977e
18,997
py
Python
musegan.py
vab10266/wolfGANg_Vaud
254634cd2eb9043d282236d3af86ba7938d92319
[ "MIT" ]
null
null
null
musegan.py
vab10266/wolfGANg_Vaud
254634cd2eb9043d282236d3af86ba7938d92319
[ "MIT" ]
null
null
null
musegan.py
vab10266/wolfGANg_Vaud
254634cd2eb9043d282236d3af86ba7938d92319
[ "MIT" ]
null
null
null
import time import argparse from copy import deepcopy from progress.bar import IncrementalBar import numpy as np import torch from torch import nn import torch.nn.functional as F import torch.optim as optim from torchvision import utils as vutils from itertools import chain from gan.generator import MuseGenerator from ...
44.804245
155
0.549245
2,495
18,997
3.943086
0.117435
0.030189
0.01545
0.021244
0.448567
0.396422
0.354544
0.327506
0.292844
0.26418
0
0.020055
0.335948
18,997
423
156
44.910165
0.75981
0.103543
0
0.166667
0
0.007752
0.027654
0
0
0
0
0
0
1
0.050388
false
0
0.05814
0.003876
0.151163
0.01938
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6cad5ab473aa63a7aa0c5477b6f59c7555c512a
304
py
Python
setup.py
techborn/pIRC
cb866e307e082947ef209bca88d01706311552c3
[ "MIT" ]
null
null
null
setup.py
techborn/pIRC
cb866e307e082947ef209bca88d01706311552c3
[ "MIT" ]
null
null
null
setup.py
techborn/pIRC
cb866e307e082947ef209bca88d01706311552c3
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='pIRC', version='0.5.5', description='A light, customizable python-based IRC bot library.', url='https://github.com/techborn/pIRC', author='Techborn', author_email='unborntech@pm.me', license='Custom', packages=['pIRC'])
27.636364
72
0.641447
37
304
5.243243
0.837838
0
0
0
0
0
0
0
0
0
0
0.012346
0.200658
304
10
73
30.4
0.786008
0
0
0
0
0
0.414474
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f6cb8c44cdef8528ecf631c976c8504ece69afaf
2,880
py
Python
company/tests/test_emails.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
1
2021-11-06T12:08:26.000Z
2021-11-06T12:08:26.000Z
company/tests/test_emails.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
null
null
null
company/tests/test_emails.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
null
null
null
from django.db.models import signals from unittest import mock from unittest.mock import ANY, Mock import factory import pytest from django.conf import settings from company.email import CollaboratorNotification, OwnershipChangeNotification from .factories import CollaboratorInviteFactory, OwnershipInviteFactory @p...
33.103448
79
0.782639
309
2,880
7
0.187702
0.02589
0.044383
0.049931
0.730005
0.694406
0.694406
0.694406
0.694406
0.694406
0
0
0.127431
2,880
86
80
33.488372
0.860724
0
0
0.636364
0
0
0.071528
0.014583
0
0
0
0
0.090909
1
0.090909
false
0
0.121212
0
0.212121
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
f6cbb638c7d86c902db1e8bf832a0ff78bbdb70f
523
py
Python
citybuilder/core.py
Tankernn/citybuilder
aee8ac217d7371df854a151bab4f5345ff1cd9b7
[ "Apache-2.0" ]
null
null
null
citybuilder/core.py
Tankernn/citybuilder
aee8ac217d7371df854a151bab4f5345ff1cd9b7
[ "Apache-2.0" ]
null
null
null
citybuilder/core.py
Tankernn/citybuilder
aee8ac217d7371df854a151bab4f5345ff1cd9b7
[ "Apache-2.0" ]
null
null
null
import yaml import _thread from . import server import time config = yaml.load(open("config/game.yaml"))['game'] def main_loop(): for player in list(server.players.values()): player.update(time.time() - main_loop.last_tick) main_loop.last_tick = time.time() time.sleep(1) main_loop.last_tick = tim...
21.791667
56
0.661568
72
523
4.513889
0.472222
0.123077
0.110769
0.147692
0.147692
0.147692
0
0
0
0
0
0.004785
0.200765
523
23
57
22.73913
0.772727
0
0
0.111111
0
0
0.107075
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.333333
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6cbe6216c1d3065e771a051dc775fda5c1d5d09
14,266
py
Python
dart_backend/Components/Calibration/EllipseUtils.py
Akkarin007/TeamProject-WiSe-DartImageProcessing
14ecabb795bbda3c5158ce92750c12baae147294
[ "MIT" ]
null
null
null
dart_backend/Components/Calibration/EllipseUtils.py
Akkarin007/TeamProject-WiSe-DartImageProcessing
14ecabb795bbda3c5158ce92750c12baae147294
[ "MIT" ]
null
null
null
dart_backend/Components/Calibration/EllipseUtils.py
Akkarin007/TeamProject-WiSe-DartImageProcessing
14ecabb795bbda3c5158ce92750c12baae147294
[ "MIT" ]
null
null
null
import cv2 import numpy as np import math import sys from .Utils import * def getEllipseLineIntersection(Ellipse, lines_seg, image_proc_img): x = Ellipse.x y = Ellipse.y a = Ellipse.a b = Ellipse.b angle = (Ellipse.angle) * math.pi / 180 # build transformation matrix http://math.stac...
42.082596
156
0.589724
1,764
14,266
4.586168
0.14229
0.041162
0.054883
0.023733
0.328677
0.219036
0.18665
0.117923
0.109023
0.104821
0
0.06911
0.280878
14,266
339
157
42.082596
0.719466
0.067784
0
0.105882
0
0
0.055053
0
0
0
0
0.00295
0
1
0.05098
false
0.003922
0.019608
0.003922
0.105882
0.007843
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6ce139e91ce806c7fc0cc9832e37d0e3f9265fe
279
py
Python
arlobot_common/src/common/utils.py
tslator/arlobot_tx2
5b6b0ead86e54ec7ba5664f32263a1c8c27249c9
[ "MIT" ]
null
null
null
arlobot_common/src/common/utils.py
tslator/arlobot_tx2
5b6b0ead86e54ec7ba5664f32263a1c8c27249c9
[ "MIT" ]
null
null
null
arlobot_common/src/common/utils.py
tslator/arlobot_tx2
5b6b0ead86e54ec7ba5664f32263a1c8c27249c9
[ "MIT" ]
null
null
null
import rospy # Wraps Rate so that the hz parameter can be retrieved ''' class RateWrapper(rospy.Rate): def __init__(self, rate): self.super(self, RateWrapper).__init__(rate) self._hz = rate @attr.getter def Rate(self): return self._hz '''
17.4375
54
0.641577
37
279
4.567568
0.567568
0.142012
0
0
0
0
0
0
0
0
0
0
0.250896
279
16
55
17.4375
0.808612
0.18638
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
3
f6ce9204eef4f76cb6594dc3744ddcbcbae73ea5
720
py
Python
dms/exceptions/__init__.py
zhmsg/dms
3ac2b71c4a83ac721987c6f5a2f81bc0618ceca2
[ "MIT" ]
null
null
null
dms/exceptions/__init__.py
zhmsg/dms
3ac2b71c4a83ac721987c6f5a2f81bc0618ceca2
[ "MIT" ]
12
2015-09-18T01:19:28.000Z
2021-12-13T19:51:10.000Z
dms/exceptions/__init__.py
zhmsg/dms
3ac2b71c4a83ac721987c6f5a2f81bc0618ceca2
[ "MIT" ]
1
2017-06-30T08:11:10.000Z
2017-06-30T08:11:10.000Z
# !/usr/bin/env python # coding: utf-8 __author__ = 'zhouhenglc' class DmsException(Exception): code = 500 message = '' def __init__(self, detail=None, *args, **kwargs): self.msg = self.message % kwargs if detail is None: self.detail = self.msg else: self...
18.947368
61
0.593056
83
720
4.975904
0.481928
0.096852
0.053269
0
0
0
0
0
0
0
0
0.019569
0.290278
720
37
62
19.459459
0.78865
0.047222
0
0
0
0
0.102489
0
0
0
0
0
0
1
0.086957
false
0
0
0
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f6ceb83178b7c8b4ff2b9f133bd2f18c84b420ff
247
py
Python
output/models/nist_data/atomic/any_uri/schema_instance/nistschema_sv_iv_atomic_any_uri_pattern_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/any_uri/schema_instance/nistschema_sv_iv_atomic_any_uri_pattern_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/any_uri/schema_instance/nistschema_sv_iv_atomic_any_uri_pattern_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.atomic.any_uri.schema_instance.nistschema_sv_iv_atomic_any_uri_pattern_1_xsd.nistschema_sv_iv_atomic_any_uri_pattern_1 import NistschemaSvIvAtomicAnyUriPattern1 __all__ = [ "NistschemaSvIvAtomicAnyUriPattern1", ]
41.166667
189
0.890688
31
247
6.387097
0.612903
0.136364
0.181818
0.20202
0.343434
0.343434
0.343434
0.343434
0
0
0
0.017167
0.05668
247
5
190
49.4
0.832618
0
0
0
0
0
0.137652
0.137652
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f6cf14095733225d606bb01959662b8b0abc07a2
1,011
py
Python
koala/message/message.py
egmkang/koala
70ea68c0d4380242c61faa8a6f023fa248049ec8
[ "MIT" ]
15
2021-06-02T12:43:26.000Z
2022-01-24T19:14:02.000Z
koala/message/message.py
egmkang/flash
70ea68c0d4380242c61faa8a6f023fa248049ec8
[ "MIT" ]
1
2021-06-14T10:08:46.000Z
2021-06-14T10:08:46.000Z
koala/message/message.py
egmkang/flash
70ea68c0d4380242c61faa8a6f023fa248049ec8
[ "MIT" ]
1
2021-01-20T06:38:01.000Z
2021-01-20T06:38:01.000Z
from koala.typing import * from koala.message.base import JsonMessage from dataclasses import dataclass @dataclass class RpcRequest(JsonMessage): service_name: str = "" method_name: str = "" actor_id: ActorID = "" reentrant_id: int = 0 request_id: int = 0 # server_id为0, 那么就不强制校验server_id #...
21.0625
70
0.678536
112
1,011
5.955357
0.4375
0.041979
0.035982
0.038981
0.08096
0
0
0
0
0
0
0.01039
0.238378
1,011
47
71
21.510638
0.855844
0.105836
0
0.323529
0
0
0
0
0
0
0
0
0
1
0.088235
false
0
0.088235
0.088235
0.794118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f6d12a9824b023acf8f17981d556e586819b533f
389
py
Python
flask/Docs/10_request_object.py
shubhamnag14/Python-Documents
d3fee0ad90232b413f6ac1b562588fb255b79e42
[ "Apache-2.0" ]
2
2020-11-27T13:21:05.000Z
2021-04-19T21:14:21.000Z
flask/Docs/10_request_object.py
shubhamnag14/Python-Documents
d3fee0ad90232b413f6ac1b562588fb255b79e42
[ "Apache-2.0" ]
null
null
null
flask/Docs/10_request_object.py
shubhamnag14/Python-Documents
d3fee0ad90232b413f6ac1b562588fb255b79e42
[ "Apache-2.0" ]
1
2021-06-27T20:31:42.000Z
2021-06-27T20:31:42.000Z
from flask import Flask, request app = Flask(__name__) @app.route('/login', methods=['POST', 'GET']) def login(): error = None if request.method == 'POST': if valid_login(request.form['username'], request.form['password']): return log_the_user_in(request.form['usern...
25.933333
60
0.588689
44
389
5.022727
0.613636
0.149321
0.171946
0
0
0
0
0
0
0
0
0
0.267352
389
14
61
27.785714
0.775439
0
0
0
0
0
0.169666
0
0
0
0
0
0
1
0.090909
false
0.181818
0.090909
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f6d2d74f3f54c4f51662dfe6138f6ef14972234c
1,261
py
Python
src/largest_rectangle.py
kemingy/daily-coding-problem
0839311ec0848f8f0b4a9edba817ecceb8f944a0
[ "Unlicense" ]
3
2019-03-06T03:14:56.000Z
2020-01-07T16:00:48.000Z
src/largest_rectangle.py
kemingy/daily-coding-problem
0839311ec0848f8f0b4a9edba817ecceb8f944a0
[ "Unlicense" ]
null
null
null
src/largest_rectangle.py
kemingy/daily-coding-problem
0839311ec0848f8f0b4a9edba817ecceb8f944a0
[ "Unlicense" ]
null
null
null
# Given an N by M matrix consisting only of 1's and 0's, find the largest # rectangle containing only 1's and return its area. # For example, given the following matrix: # [[1, 0, 0, 0], # [1, 0, 1, 1], # [1, 0, 1, 1], # [0, 1, 0, 0]] # Return 4. def largest_rectangle(matrix): if not matrix or...
24.25
74
0.436955
190
1,261
2.815789
0.236842
0.037383
0.033645
0.029907
0.190654
0.082243
0.082243
0.082243
0.082243
0.082243
0
0.070652
0.416336
1,261
51
75
24.72549
0.65625
0.184774
0
0.193548
0
0
0.008264
0
0
0
0
0
0
1
0.032258
false
0
0
0
0.096774
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6d2e5c6ff68cb1bdb35e291b71a6f58705d4f91
7,207
py
Python
anodos/swarm/models.py
abezpalov/anodos.ru
6b905eb44b6f4a54f6e199b80cd714522deed277
[ "MIT" ]
2
2020-04-26T07:28:38.000Z
2022-03-31T14:24:44.000Z
anodos/swarm/models.py
abezpalov/anodos.ru
6b905eb44b6f4a54f6e199b80cd714522deed277
[ "MIT" ]
9
2017-12-01T04:43:31.000Z
2022-01-01T13:26:04.000Z
anodos/swarm/models.py
abezpalov/anodos.ru
6b905eb44b6f4a54f6e199b80cd714522deed277
[ "MIT" ]
null
null
null
import os import uuid from django.db import models from django.conf import settings from django.utils import timezone class SourceManager(models.Manager): def take(self, name, **kwargs): if not name: return None try: o = self.get(name=name) except Source.DoesNotE...
29.780992
100
0.579159
813
7,207
5.02214
0.146371
0.061964
0.066128
0.083762
0.563801
0.460201
0.385746
0.337742
0.337742
0.335048
0
0.003176
0.301096
7,207
241
101
29.904564
0.807425
0.005273
0
0.367232
0
0
0.045347
0.006
0
0
0
0
0
1
0.073446
false
0.011299
0.028249
0.016949
0.468927
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6d41864018d10abd6471ccdb2d9fb3efa2863e0
2,675
py
Python
inventory/inv_admin/item_admin.py
kaajavi/itsventory
0543f402e124828c2af662f73361c68fc45002a2
[ "Apache-2.0" ]
null
null
null
inventory/inv_admin/item_admin.py
kaajavi/itsventory
0543f402e124828c2af662f73361c68fc45002a2
[ "Apache-2.0" ]
null
null
null
inventory/inv_admin/item_admin.py
kaajavi/itsventory
0543f402e124828c2af662f73361c68fc45002a2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' # Model admin <= https://docs.djangoproject.com/es/1.10/_modules/django/contrib/admin/options/#ModelAdmin In the after link, see you all configuration and options about model admin. Is very important understand the getters: + e.g.: get_form(self, request, obj=None,...
33.860759
264
0.585794
298
2,675
5.197987
0.560403
0.058102
0.032924
0
0
0
0
0
0
0
0
0.01179
0.30243
2,675
78
265
34.294872
0.818328
0.248224
0
0.09434
0
0
0.089048
0
0
0
0
0
0
1
0.018868
false
0
0.226415
0
0.509434
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f6d505231ba879f61e9253759941879591d04805
2,098
py
Python
raxcli/actions.py
racker/python-raxcli
c59d7ef9abca0a7cea56882113bd71feb6c5c6ef
[ "Apache-2.0" ]
1
2020-01-16T09:45:28.000Z
2020-01-16T09:45:28.000Z
raxcli/actions.py
racker/python-raxcli
c59d7ef9abca0a7cea56882113bd71feb6c5c6ef
[ "Apache-2.0" ]
null
null
null
raxcli/actions.py
racker/python-raxcli
c59d7ef9abca0a7cea56882113bd71feb6c5c6ef
[ "Apache-2.0" ]
null
null
null
# Copyright 2013 Rackspace # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the...
36.807018
79
0.606292
257
2,098
4.883268
0.501946
0.047809
0.044622
0.025498
0.066932
0.066932
0.066932
0.066932
0.066932
0
0
0.008299
0.310772
2,098
56
80
37.464286
0.859613
0.410867
0
0.214286
0
0
0.07244
0
0
0
0
0
0
1
0.035714
false
0
0.071429
0
0.142857
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6d563aa962d8c0e6ddaba79c71c22e3395f937e
5,146
py
Python
backend/app/api/api_v1/endpoints/cars.py
rufusnufus/BTSParking
3bb6e7fd20943f258e297428ab1624c4f2786444
[ "MIT" ]
2
2021-11-13T08:05:14.000Z
2021-12-02T11:36:11.000Z
backend/app/api/api_v1/endpoints/cars.py
rufusnufus/BTSParking
3bb6e7fd20943f258e297428ab1624c4f2786444
[ "MIT" ]
44
2021-11-23T10:06:11.000Z
2021-12-18T07:23:22.000Z
backend/app/api/api_v1/endpoints/cars.py
rufusnufus/BTSParking
3bb6e7fd20943f258e297428ab1624c4f2786444
[ "MIT" ]
null
null
null
from fastapi import APIRouter, Body, Depends, HTTPException, Response, status from fastapi.encoders import jsonable_encoder from app.core.security import cookie_is_none, oauth2_scheme from app.logs import logger from app.models.car import Car as ModelCar from app.models.user import User as ModelUser from app.schemas.c...
34.536913
85
0.570152
561
5,146
5.00713
0.215686
0.0534
0.035244
0.060876
0.552154
0.53293
0.412602
0.360627
0.360627
0.331435
0
0.017356
0.328216
5,146
148
86
34.77027
0.795198
0.019433
0
0.285714
0
0
0.211863
0
0
0
0
0
0.007519
1
0
false
0
0.052632
0
0.075188
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6d776568eca974a8ecbb4a81cd83bc189940526
121
py
Python
output/models/ms_data/regex/re_e13_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/regex/re_e13_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/regex/re_e13_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.regex.re_e13_xsd.re_e13 import ( Regex, Doc, ) __all__ = [ "Regex", "Doc", ]
12.1
59
0.603306
17
121
3.823529
0.705882
0.153846
0
0
0
0
0
0
0
0
0
0.043956
0.247934
121
9
60
13.444444
0.67033
0
0
0
0
0
0.066116
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f6d7eedf8e35cf51f0468c77344e42c3f74d4297
15,170
py
Python
python/paddle/fluid/contrib/slim/graph/graph.py
wanghaoshuang/Paddle
8c19599bc640f51b279d95054bbd5eccde210c0c
[ "Apache-2.0" ]
2
2019-04-03T05:36:17.000Z
2020-04-29T03:38:54.000Z
python/paddle/fluid/contrib/slim/graph/graph.py
wanghaoshuang/Paddle
8c19599bc640f51b279d95054bbd5eccde210c0c
[ "Apache-2.0" ]
null
null
null
python/paddle/fluid/contrib/slim/graph/graph.py
wanghaoshuang/Paddle
8c19599bc640f51b279d95054bbd5eccde210c0c
[ "Apache-2.0" ]
3
2019-01-07T06:50:29.000Z
2019-03-13T08:48:23.000Z
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
31.213992
80
0.57416
1,961
15,170
4.222336
0.142784
0.013889
0.01256
0.0157
0.357126
0.244444
0.141787
0.109058
0.075121
0.054831
0
0.005175
0.324918
15,170
485
81
31.278351
0.80334
0.148121
0
0.319489
0
0
0.031328
0.005879
0
0
0
0.002062
0
1
0.175719
false
0.060703
0.038339
0.044728
0.309904
0
0
0
0
null
0
0
0
0
0
0
0
0
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
f6da820c4abc9ef5201cde172e227e1dceff3e33
117
py
Python
main.py
cgmon/code-challenge
07d058ca679d8f2094a5f61dcd8b32baafbba8a5
[ "Apache-2.0" ]
null
null
null
main.py
cgmon/code-challenge
07d058ca679d8f2094a5f61dcd8b32baafbba8a5
[ "Apache-2.0" ]
null
null
null
main.py
cgmon/code-challenge
07d058ca679d8f2094a5f61dcd8b32baafbba8a5
[ "Apache-2.0" ]
1
2021-02-26T08:22:11.000Z
2021-02-26T08:22:11.000Z
from utils import lazy_iterator, iterator import sys if("-s" in sys.argv): lazy_iterator() else: iterator()
16.714286
42
0.700855
17
117
4.705882
0.647059
0.3
0
0
0
0
0
0
0
0
0
0
0.188034
117
7
43
16.714286
0.842105
0
0
0
0
0
0.016949
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
f6da904f7f681efcd992cf44a70eccaeb7874412
133
py
Python
random/d.py
tjguk/winsys
346a5bc0ad74f3f70b1099e714b544a6f008b72c
[ "MIT" ]
51
2015-01-14T09:23:48.000Z
2021-11-08T12:53:54.000Z
random/d.py
tjguk/winsys
346a5bc0ad74f3f70b1099e714b544a6f008b72c
[ "MIT" ]
2
2019-05-30T12:34:40.000Z
2020-06-13T20:00:55.000Z
random/d.py
tjguk/winsys
346a5bc0ad74f3f70b1099e714b544a6f008b72c
[ "MIT" ]
15
2015-04-21T19:48:48.000Z
2020-07-29T19:30:43.000Z
#!python3 import os, sys print(sys.executable) from winsys import fs, dialogs print(dialogs.dialog("abc", ("def", ["1", "2", "3"])))
22.166667
54
0.661654
20
133
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0.033898
0.112782
133
5
55
26.6
0.711864
0.06015
0
0
0
0
0.072581
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
f6db0c0fe44871d66aec1af61af13db4d5dd28cf
555
py
Python
backend/cubes/migrations/0008_auto_20200729_1234.py
landdafku11/mobile-backend
3f3328afd81f85f90170a57689af72f8f705b8a3
[ "MIT" ]
null
null
null
backend/cubes/migrations/0008_auto_20200729_1234.py
landdafku11/mobile-backend
3f3328afd81f85f90170a57689af72f8f705b8a3
[ "MIT" ]
null
null
null
backend/cubes/migrations/0008_auto_20200729_1234.py
landdafku11/mobile-backend
3f3328afd81f85f90170a57689af72f8f705b8a3
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-07-29 04:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cubes', '0007_auto_20200729_1232'), ] operations = [ migrations.AlterField( model_name='cubecomment', name='created_...
23.125
50
0.585586
55
555
5.781818
0.672727
0.125786
0.157233
0.18239
0.490566
0.490566
0
0
0
0
0
0.080103
0.302703
555
23
51
24.130435
0.741602
0.081081
0
0.470588
1
0
0.137795
0.045276
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f6ddf629e795a6505fd5e3933f0fe8bde89f8a86
4,438
py
Python
src/mpdb_api/views.py
casol/MotionPictureDB-API
478e73726f40a41fea2de88f6441f5c3ecd8dd68
[ "MIT" ]
null
null
null
src/mpdb_api/views.py
casol/MotionPictureDB-API
478e73726f40a41fea2de88f6441f5c3ecd8dd68
[ "MIT" ]
7
2020-06-06T01:08:08.000Z
2021-06-10T19:37:35.000Z
src/mpdb_api/views.py
casol/MotionPictureDB-API
478e73726f40a41fea2de88f6441f5c3ecd8dd68
[ "MIT" ]
null
null
null
from rest_framework import permissions, viewsets from mpdb_api.filters import CustomSearchFilter from users.models import CustomUser from mpdb_api.models import Comment, Movie, Watchlist, Favorite, UserRating from mpdb_api.permissions import IsOwnerOrReadOnly, IsAdminOrReadOnly from mpdb_api.serializers import ( C...
24.655556
75
0.681839
476
4,438
6.30042
0.228992
0.030343
0.036679
0.043348
0.423474
0.415805
0.415805
0.41047
0.332778
0.332778
0
0.000597
0.245381
4,438
179
76
24.793296
0.894894
0.32402
0
0.457627
0
0
0.006878
0
0
0
0
0
0
1
0.135593
false
0
0.101695
0
0.711864
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f6de152204ab9a0e887e32daa4b8b1a96f2cbbad
37
py
Python
login.py
JOHN-XW/test007
4aa258010591c2f697fa40fc28dcaa28fe83a893
[ "MIT" ]
null
null
null
login.py
JOHN-XW/test007
4aa258010591c2f697fa40fc28dcaa28fe83a893
[ "MIT" ]
null
null
null
login.py
JOHN-XW/test007
4aa258010591c2f697fa40fc28dcaa28fe83a893
[ "MIT" ]
null
null
null
num1=1 num2=2 num3=3 num4=4 num5=100
6.166667
8
0.72973
10
37
2.7
1
0
0
0
0
0
0
0
0
0
0
0.375
0.135135
37
5
9
7.4
0.46875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
f6df525bd0becdd17eea24b4afd64de5fe57d9ff
1,359
py
Python
server/server.py
wooky/xtremettt
e8088fce6ddc8a01ce9530a6bb5eb4434328bef5
[ "WTFPL" ]
null
null
null
server/server.py
wooky/xtremettt
e8088fce6ddc8a01ce9530a6bb5eb4434328bef5
[ "WTFPL" ]
null
null
null
server/server.py
wooky/xtremettt
e8088fce6ddc8a01ce9530a6bb5eb4434328bef5
[ "WTFPL" ]
null
null
null
import SocketServer class Server(SocketServer.BaseRequestHandler): clients = 0 def setup(self): print "Received connection from " + self.client_address[0] + ":" + str(self.client_address[1]) self.lost = False self.shutdown = False if Server.clients > 1: print "Server is full!" self.request.send("S...
29.543478
96
0.70493
180
1,359
5.216667
0.411111
0.063898
0.108626
0.076677
0.303514
0.169329
0.169329
0.169329
0.169329
0.169329
0
0.024933
0.173657
1,359
46
97
29.543478
0.81122
0.105224
0
0.111111
0
0
0.100494
0
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.111111
0
0
0
null
0
0
0
0
0
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