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
ff8ce990defadd7ba91067f5390a302defb75739
4,608
py
Python
pyFolderLock/pyFolderLockCli.py
Writ3r/pyFolderLock
0cb4eac3c91fc0095b5bda9794eaff62c38000b7
[ "MIT" ]
1
2021-02-08T20:03:39.000Z
2021-02-08T20:03:39.000Z
pyFolderLock/pyFolderLockCli.py
Writ3r/pyFolderLock
0cb4eac3c91fc0095b5bda9794eaff62c38000b7
[ "MIT" ]
null
null
null
pyFolderLock/pyFolderLockCli.py
Writ3r/pyFolderLock
0cb4eac3c91fc0095b5bda9794eaff62c38000b7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import logging import argparse import multiprocessing from pathlib import Path from pyFolderLock import MultiFolderEncryptor, InvalidPasswordError, InvalidArgumentError # ================================================================ # # Program specific part...
33.151079
100
0.532986
443
4,608
5.462754
0.437923
0.026033
0.049174
0.024793
0.112397
0.08843
0.071074
0
0
0
0
0.002818
0.306858
4,608
138
101
33.391304
0.754853
0.24566
0
0.069444
0
0
0.257109
0.006157
0
0
0
0
0
1
0.097222
false
0.222222
0.083333
0.027778
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ff8fc1feea52ac13e885aa0cfdc3793215a7e44b
2,963
py
Python
firefox.py
G4ryDave/GoogleMapsSightsManager
651899bf29960d68e5023b0b215cb068e16f21c9
[ "MIT" ]
2
2018-12-15T17:56:16.000Z
2021-08-05T12:17:16.000Z
firefox.py
G4ryDave/GoogleMapsSightsManager
651899bf29960d68e5023b0b215cb068e16f21c9
[ "MIT" ]
null
null
null
firefox.py
G4ryDave/GoogleMapsSightsManager
651899bf29960d68e5023b0b215cb068e16f21c9
[ "MIT" ]
null
null
null
import getpass import os import sys import time from selenium import webdriver from selenium.common.exceptions import NoSuchWindowException from selenium.webdriver.firefox.options import Options as FirefoxOptions import savePlace def main(): print("Requested information about the Google Account where you want t...
36.134146
123
0.687479
363
2,963
5.443526
0.393939
0.032389
0.035425
0.021255
0
0
0
0
0
0
0
0.006418
0.211272
2,963
81
124
36.580247
0.83911
0.059737
0
0.090909
0
0
0.265996
0
0
0
0
0
0
1
0.015152
false
0.090909
0.136364
0
0.151515
0.19697
0
0
0
null
0
0
0
0
0
0
0
0
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
ff9604cd6caf292e5456cb41ef1485210012e577
335
py
Python
projects/python exceptions/exceptions.py
singularity-bit/univ
88fab22ecab47293ca27d149dcee4f2c0f1c347b
[ "MIT" ]
null
null
null
projects/python exceptions/exceptions.py
singularity-bit/univ
88fab22ecab47293ca27d149dcee4f2c0f1c347b
[ "MIT" ]
null
null
null
projects/python exceptions/exceptions.py
singularity-bit/univ
88fab22ecab47293ca27d149dcee4f2c0f1c347b
[ "MIT" ]
null
null
null
class exception(Exception): pass def num_there(s): return any(i.isdigit() for i in s) while True: user_input=input("introduceti un sir de caractere: ") try: if num_there(user_input): raise exception break except exception: print("introduceti un doar caractere") pr...
25.769231
57
0.653731
45
335
4.755556
0.644444
0.126168
0
0
0
0
0
0
0
0
0
0
0.259701
335
13
58
25.769231
0.862903
0
0
0
0
0
0.184524
0
0
0
0
0
0
1
0.076923
false
0.076923
0
0.076923
0.230769
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ff9c5b74ed756cbecfa296d7af1c79400ca156ad
4,869
py
Python
source-code/rupol/dumb25519.py
b-g-goodell/lab-mirror
5b994284677f556e30d189377a4c7a40705afc73
[ "Unlicense" ]
6
2018-08-30T19:17:00.000Z
2021-06-12T06:26:36.000Z
source-code/rupol/dumb25519.py
b-g-goodell/lab-mirror
5b994284677f556e30d189377a4c7a40705afc73
[ "Unlicense" ]
null
null
null
source-code/rupol/dumb25519.py
b-g-goodell/lab-mirror
5b994284677f556e30d189377a4c7a40705afc73
[ "Unlicense" ]
3
2018-08-30T19:49:48.000Z
2020-04-23T18:01:35.000Z
# Dumb25519: a stupid implementation of ed25519 # # Use this code only for prototyping # -- putting this code into production would be dumb # -- assuming this code is secure would also be dumb import random import hashlib # curve parameters b = 256 q = 2**255 - 19 l = 2**252 + 27742317777372353535851937790883648493 ...
23.635922
61
0.556788
773
4,869
3.371281
0.179819
0.047966
0.027629
0.021489
0.409056
0.359939
0.359939
0.342671
0.342671
0.342671
0
0.054856
0.314849
4,869
205
62
23.75122
0.726319
0.111111
0
0.291391
0
0
0.007889
0
0
0
0
0
0
1
0.205298
false
0
0.013245
0.05298
0.463576
0
0
0
0
null
0
0
0
0
0
0
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
ffa2c887adb04c58cc89f60669feffde0c12086e
567
py
Python
diff_ops.py
cetmann/robustness-interpretability
6da6a28c101a0763f3ca59c51f2913eb0525f5c3
[ "MIT" ]
15
2019-06-23T10:27:42.000Z
2021-12-02T13:10:46.000Z
diff_ops.py
cetmann/robustness-interpretability
6da6a28c101a0763f3ca59c51f2913eb0525f5c3
[ "MIT" ]
null
null
null
diff_ops.py
cetmann/robustness-interpretability
6da6a28c101a0763f3ca59c51f2913eb0525f5c3
[ "MIT" ]
1
2019-08-11T23:04:19.000Z
2019-08-11T23:04:19.000Z
""" This file defines the L-Op and R-Op, based on https://j-towns.github.io/2017/06/12/A-new-trick.html """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf def Lop(nodes, x, v): lop_out = tf.gradients(nodes, x, grad_ys=v) re...
23.625
99
0.677249
97
567
3.731959
0.546392
0.066298
0.132597
0.071823
0
0
0
0
0
0
0
0.017817
0.208113
567
23
100
24.652174
0.788419
0.174603
0
0
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.533333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ffac6d1ba809686f7d15e2cebadcb98e9286540c
497
py
Python
django_reports/python_jasper.py
empty/django-reports
14b00db4350d159470befc4a6edc48a28c7d4375
[ "MIT" ]
null
null
null
django_reports/python_jasper.py
empty/django-reports
14b00db4350d159470befc4a6edc48a28c7d4375
[ "MIT" ]
null
null
null
django_reports/python_jasper.py
empty/django-reports
14b00db4350d159470befc4a6edc48a28c7d4375
[ "MIT" ]
null
null
null
import requests class JasperServer(object): def __init__(self, endpoint, username, password): self.endpoint = endpoint self.username = username self.password = password def run_report(self, location, params): auth = (self.username, self.password) url = '{endpoint}{lo...
26.157895
72
0.617706
50
497
6.04
0.44
0.119205
0.13245
0
0
0
0
0
0
0
0
0
0.265594
497
18
73
27.611111
0.827397
0
0
0
0
0
0.072581
0
0
0
0
0
0
1
0.153846
false
0.230769
0.076923
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ffb28ac34185b8f470f18a82ae88db3fd1ffb636
8,774
py
Python
dashboard_loader/air_pollution_loader/loader.py
data61/Openboard
aaf7ef49e05c0771094efc6be811c6ae88055252
[ "Apache-2.0" ]
2
2017-08-29T23:05:51.000Z
2019-04-02T21:11:35.000Z
dashboard_loader/air_pollution_loader/loader.py
data61/Openboard
aaf7ef49e05c0771094efc6be811c6ae88055252
[ "Apache-2.0" ]
1
2019-04-02T21:11:26.000Z
2019-04-03T15:12:57.000Z
dashboard_loader/air_pollution_loader/loader.py
data61/Openboard
aaf7ef49e05c0771094efc6be811c6ae88055252
[ "Apache-2.0" ]
null
null
null
# Copyright 2015,2016 NICTA # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
45.226804
206
0.617734
1,085
8,774
4.773272
0.231336
0.020274
0.027805
0.027032
0.424986
0.358177
0.307395
0.268585
0.238463
0.210079
0
0.009862
0.283451
8,774
193
207
45.46114
0.813902
0.122293
0
0.198758
0
0.006211
0.098905
0.0043
0
0
0
0
0
0
null
null
0.006211
0.049689
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
ffb2e8312b0f715809945721f9f90a0a3d3d55b1
4,166
py
Python
4-bandit/code/multithreadedPolicyLinUCB.py
lukaselmer/ethz-data-mining
cb4215c202efc37f3626a25c8301a4ac36813493
[ "MIT" ]
2
2015-01-24T18:22:33.000Z
2019-08-14T06:30:58.000Z
4-bandit/code/multithreadedPolicyLinUCB.py
lukaselmer/ethz-data-mining
cb4215c202efc37f3626a25c8301a4ac36813493
[ "MIT" ]
null
null
null
4-bandit/code/multithreadedPolicyLinUCB.py
lukaselmer/ethz-data-mining
cb4215c202efc37f3626a25c8301a4ac36813493
[ "MIT" ]
2
2016-01-15T21:12:32.000Z
2019-08-14T06:30:59.000Z
# !/usr/bin/env python2.7 import threading import numpy as np # TODO: recommend most uncertain article in case of 2 very similar articles # TODO: use timestamp to lower ucb score over time class SimpleInputOutputThread(threading.Thread): def __init__(self, linucb, article): threading.Thread.__init__(sel...
30.188406
92
0.628661
545
4,166
4.636697
0.223853
0.060942
0.031658
0.021765
0.168579
0.098932
0.083102
0.056193
0.056193
0.056193
0
0.003979
0.276044
4,166
137
93
30.408759
0.833886
0.165867
0
0.022989
0
0
0.017067
0
0
0
0
0.007299
0
0
null
null
0
0.022989
null
null
0.022989
0
0
0
null
0
0
0
0
0
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
ffb3122f5b526c403a537fc7e2d88fda76411dec
13,767
py
Python
gpMgmt/test/behave_utils/PgHba.py
rodel-talampas/gpdb
9c955e350334abbd922102f289f782697eb52069
[ "PostgreSQL", "Apache-2.0" ]
9
2018-04-20T03:31:01.000Z
2020-05-13T14:10:53.000Z
gpMgmt/test/behave_utils/PgHba.py
rodel-talampas/gpdb
9c955e350334abbd922102f289f782697eb52069
[ "PostgreSQL", "Apache-2.0" ]
36
2017-09-21T09:12:27.000Z
2020-06-17T16:40:48.000Z
gpMgmt/test/behave_utils/PgHba.py
rodel-talampas/gpdb
9c955e350334abbd922102f289f782697eb52069
[ "PostgreSQL", "Apache-2.0" ]
32
2017-08-31T12:50:52.000Z
2022-03-01T07:34:53.000Z
#!python """ Copyright (C) 2004-2017 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 Li...
36.324538
189
0.567008
1,721
13,767
4.37362
0.166764
0.038528
0.0279
0.005314
0.26199
0.220805
0.189318
0.180284
0.163146
0.163146
0
0.006827
0.319024
13,767
378
190
36.420635
0.796053
0.083388
0
0.273148
0
0.018519
0.136237
0.050481
0
0
0
0
0
0
null
null
0.013889
0.013889
null
null
0.00463
0
0
0
null
0
0
0
0
0
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
4408550e2698b3c69c89d360e4d3811ead5179c0
307
py
Python
ramda/path.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
null
null
null
ramda/path.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
null
null
null
ramda/path.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
null
null
null
from toolz import curry @curry def path(keys, dict): """Retrieve the value at a given path""" if not keys: raise ValueError("Expected at least one key, got {0}".format(keys)) current_value = dict for key in keys: current_value = current_value[key] return current_value
23.615385
75
0.664495
45
307
4.444444
0.644444
0.24
0.16
0
0
0
0
0
0
0
0
0.004329
0.247557
307
12
76
25.583333
0.861472
0.110749
0
0
0
0
0.127341
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
440cd41dd7edeb177805774fe5728b8235f5028b
891
py
Python
heltour/tournament/migrations/0182_auto_20180728_2344.py
zbidwell/heltour
3895142695096a81cc65c3fefb7d4501ed796f46
[ "MIT" ]
41
2016-08-17T19:58:42.000Z
2021-11-08T10:52:07.000Z
heltour/tournament/migrations/0182_auto_20180728_2344.py
zbidwell/heltour
3895142695096a81cc65c3fefb7d4501ed796f46
[ "MIT" ]
257
2016-08-17T22:29:05.000Z
2022-01-13T00:42:05.000Z
heltour/tournament/migrations/0182_auto_20180728_2344.py
zbidwell/heltour
3895142695096a81cc65c3fefb7d4501ed796f46
[ "MIT" ]
31
2016-09-23T23:36:14.000Z
2022-01-14T17:05:08.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2018-07-28 23:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tournament', '0181_auto_20180610_2123'), ] operations = [ migrations.AlterField( model_name='modrequest...
42.428571
525
0.662177
103
891
5.553398
0.592233
0.041958
0.068182
0.083916
0
0
0
0
0
0
0
0.047749
0.177329
891
20
526
44.55
0.732606
0.075196
0
0
1
0
0.500609
0.08039
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
441277bbdeb2f71476a9501404fc0d74022c981a
1,212
py
Python
Implementations/content/various/Python3.py
maheshschand/USACO
52890a77f66f8b779ba2b1da0460b85dd9f38013
[ "CC0-1.0" ]
1,760
2017-05-21T21:07:06.000Z
2022-03-29T13:15:08.000Z
Implementations/content/various/Python3.py
maheshschand/USACO
52890a77f66f8b779ba2b1da0460b85dd9f38013
[ "CC0-1.0" ]
12
2018-01-24T02:41:53.000Z
2022-03-17T13:09:26.000Z
Implementations/content/various/Python3.py
maheshschand/USACO
52890a77f66f8b779ba2b1da0460b85dd9f38013
[ "CC0-1.0" ]
473
2017-07-06T04:53:41.000Z
2022-03-28T13:03:28.000Z
/** * Description: not PyPy3, solves CF Factorisation Collaboration * Source: own * Verification: * https://codeforces.com/contest/1091/problem/G * https://open.kattis.com/problems/catalansquare */ from math import * import sys, random def nextInt(): return int(input()) def nextStrs(): return input().split() ...
22.036364
64
0.632013
197
1,212
3.888325
0.472081
0.041775
0.020888
0
0
0
0
0
0
0
0
0.057
0.174917
1,212
55
65
22.036364
0.709
0.214521
0
0.040816
0
0
0.02439
0
0
0
0
0
0
0
null
null
0
0.061224
null
null
0.122449
0
0
0
null
0
0
0
0
0
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
44130381bb4278ab02d62ff66252d0c7a113341f
1,908
py
Python
src/observer/observer_test.py
LeRyc/Robust-Robotic-Manipulation
0463c55bd689081c119f1fc024f4c22704f91c6f
[ "MIT" ]
1
2020-12-07T08:39:52.000Z
2020-12-07T08:39:52.000Z
src/observer/observer_test.py
LeRyc/Robust-Robotic-Manipulation
0463c55bd689081c119f1fc024f4c22704f91c6f
[ "MIT" ]
null
null
null
src/observer/observer_test.py
LeRyc/Robust-Robotic-Manipulation
0463c55bd689081c119f1fc024f4c22704f91c6f
[ "MIT" ]
null
null
null
import unittest import numpy as np from src.commons import Box from src.observer.base_observer import BaseObserver from src.observer.noise_observer import NoiseObserver from src.observer.shift_observer import ShiftObserver class ObserverTests(unittest.TestCase): """Tests for the all Observer.""" #@unittest.ski...
36.692308
117
0.66457
284
1,908
4.242958
0.285211
0.086307
0.033195
0.049793
0.309544
0.289627
0.234025
0.20249
0.20249
0.119502
0
0.042913
0.19392
1,908
51
118
37.411765
0.740572
0.101153
0
0.078947
0
0
0.004684
0
0
0
0
0.019608
0.131579
1
0.105263
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
441d5ab56b037273d32e259b53e92f350b0a92db
893
py
Python
stubbs/constants.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
stubbs/constants.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
stubbs/constants.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
from reclaimer.constants import * from reclaimer.util import fourcc_to_int # maps tag class four character codes(fccs) in # their string encoding to their int encoding. stubbs_tag_class_fcc_to_be_int = {} stubbs_tag_class_fcc_to_le_int = {} # maps tag class four character codes(fccs) in # their int encoding to...
34.346154
69
0.771557
154
893
3.941558
0.220779
0.171334
0.230643
0.149918
0.706755
0.680395
0.607908
0.378913
0.378913
0.378913
0
0
0.157895
893
25
70
35.72
0.807181
0.200448
0
0
0
0
0.042398
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4423695274e7e7ebd5ce1d2a0f4802ad2c73958f
8,346
py
Python
mcnf_do_test.py
SuReLI/Dynamic_mcnf_paper_code
86a07ac31feac725d02ec55d553d20f12bb355c5
[ "CNRI-Python" ]
null
null
null
mcnf_do_test.py
SuReLI/Dynamic_mcnf_paper_code
86a07ac31feac725d02ec55d553d20f12bb355c5
[ "CNRI-Python" ]
null
null
null
mcnf_do_test.py
SuReLI/Dynamic_mcnf_paper_code
86a07ac31feac725d02ec55d553d20f12bb355c5
[ "CNRI-Python" ]
1
2022-03-01T09:53:20.000Z
2022-03-01T09:53:20.000Z
import random import time from mcnf_dynamic import * from instance_mcnf import generate_instance, mutate_instance from k_shortest_path import k_shortest_path_all_destination from launch_dataset_dynamic import analyse_results_list def update_graph_capacity(graph, path, demand, reverse_graph=False): # deecrease th...
57.958333
320
0.775222
1,187
8,346
5.10615
0.144903
0.034318
0.049497
0.056426
0.599736
0.564923
0.455205
0.431942
0.38624
0.376671
0
0.013822
0.124491
8,346
143
321
58.363636
0.815656
0.149173
0
0.06383
1
0
0.117722
0.008762
0
0
0
0
0.010638
1
0.010638
false
0
0.06383
0
0.085106
0.138298
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
442c5ef29de8908bad5f89548198064f8946d2de
1,447
py
Python
src/weapon.py
Jakub21/Disk-Game
bcfc11137f8c0c0d996cfdbfe45224cf0ed060ce
[ "MIT" ]
null
null
null
src/weapon.py
Jakub21/Disk-Game
bcfc11137f8c0c0d996cfdbfe45224cf0ed060ce
[ "MIT" ]
null
null
null
src/weapon.py
Jakub21/Disk-Game
bcfc11137f8c0c0d996cfdbfe45224cf0ed060ce
[ "MIT" ]
null
null
null
class Weapon: '''Create a weapon Init Parameters: damage [int] How much damage this weapon deals rate [int] How much ticks it takes for this weapon to prepare for next shoot range [int] Range of the weapon ignore_armor [bool] If this weapon ignores armor (armor value ...
37.102564
79
0.617139
200
1,447
4.375
0.37
0.082286
0.050286
0.029714
0.086857
0
0
0
0
0
0
0.008964
0.306151
1,447
38
80
38.078947
0.86255
0.45888
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
44360d34265fd7e06496bfa898e736b2d0b350b2
52,494
py
Python
test_main.py
zlijingtao/DAC20_reconstruction
c928cda1c8e492c05110d6c219c1ed529924e127
[ "Apache-2.0" ]
2
2021-03-13T19:27:04.000Z
2021-11-17T17:14:19.000Z
test_main.py
zlijingtao/DAC20_reconstruction
c928cda1c8e492c05110d6c219c1ed529924e127
[ "Apache-2.0" ]
null
null
null
test_main.py
zlijingtao/DAC20_reconstruction
c928cda1c8e492c05110d6c219c1ed529924e127
[ "Apache-2.0" ]
null
null
null
from __future__ import division from __future__ import absolute_import import os import sys import shutil import time import random import argparse import torch import torch.backends.cudnn as cudnn import torchvision.datasets as dset import torchvision.transforms as transforms import matplotlib.pyplot as plt from torc...
48.560592
364
0.600792
6,525
52,494
4.603525
0.095785
0.024769
0.015747
0.013982
0.678541
0.645749
0.615753
0.586624
0.577369
0.553932
0
0.018637
0.276317
52,494
1,080
365
48.605556
0.772066
0.119976
0
0.570175
0
0.003759
0.121566
0.0127
0.001253
0
0
0
0.002506
0
null
null
0.028822
0.035088
null
null
0.097744
0
0
0
null
0
0
0
0
0
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
443700d8d4a4dfd52eed31c8fee8a0bf946c135c
6,753
py
Python
fbnet/command_runner/device_info.py
singhaditya28/FCR
d582cc38a87940f799186e1a35637343b4ced3bd
[ "MIT" ]
null
null
null
fbnet/command_runner/device_info.py
singhaditya28/FCR
d582cc38a87940f799186e1a35637343b4ced3bd
[ "MIT" ]
null
null
null
fbnet/command_runner/device_info.py
singhaditya28/FCR
d582cc38a87940f799186e1a35637343b4ced3bd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import itertools import re from collections import namedtuple from .base_service import Servi...
28.858974
79
0.606101
831
6,753
4.722022
0.263538
0.022936
0.035678
0.030581
0.142966
0.090214
0.067533
0.019878
0
0
0
0.000861
0.312306
6,753
233
80
28.982833
0.8441
0.216941
0
0.130435
0
0
0.075675
0.025969
0
0
0
0.004292
0
1
0.166667
false
0.028986
0.036232
0.123188
0.405797
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
443b502ac58401b00845def4467d9edb1103c525
432
py
Python
iocage/tests/functional_tests/0003_ioc_fetch_test.py
project-fifo/iocage
1b8669bc2119718dbea8f2707a4eb4c92197c0f0
[ "BSD-2-Clause" ]
null
null
null
iocage/tests/functional_tests/0003_ioc_fetch_test.py
project-fifo/iocage
1b8669bc2119718dbea8f2707a4eb4c92197c0f0
[ "BSD-2-Clause" ]
null
null
null
iocage/tests/functional_tests/0003_ioc_fetch_test.py
project-fifo/iocage
1b8669bc2119718dbea8f2707a4eb4c92197c0f0
[ "BSD-2-Clause" ]
1
2022-03-06T10:09:18.000Z
2022-03-06T10:09:18.000Z
import pytest from iocage.lib.ioc_fetch import IOCFetch require_root = pytest.mark.require_root require_zpool = pytest.mark.require_zpool @require_root @require_zpool def test_fetch(release, server, user, password, auth, root_dir, http, _file, hardened): IOCFetch(release, server, user, password, a...
27
76
0.731481
57
432
5.298246
0.438596
0.109272
0.112583
0.152318
0.264901
0.264901
0.264901
0.264901
0
0
0
0
0.178241
432
15
77
28.8
0.850704
0
0
0
0
0
0
0
0
0
0
0
0.090909
1
0.090909
false
0.181818
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4442d92247cbfe0d0e84fd864ec88c5b85026c4b
860
py
Python
Error_Correction_in_Reads.py
Esprit-Nobel/ROSALIND
ec964f6d9cc5d97339106c89df865fb105251928
[ "MIT" ]
null
null
null
Error_Correction_in_Reads.py
Esprit-Nobel/ROSALIND
ec964f6d9cc5d97339106c89df865fb105251928
[ "MIT" ]
null
null
null
Error_Correction_in_Reads.py
Esprit-Nobel/ROSALIND
ec964f6d9cc5d97339106c89df865fb105251928
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed Oct 19 18:00:30 2016 @author: yannick """ import sys with open(sys.argv[1], "r") as fichier_lu: CONTENU = fichier_lu.readlines() [1::2] CONTENU = [ elt.strip("\n\r\t ") for elt in CONTENU ] for elta in CONTENU: REVERSE = [ elta.replace("A...
22.631579
73
0.540698
127
860
3.645669
0.511811
0.077754
0.038877
0.069114
0
0
0
0
0
0
0
0.037643
0.289535
860
37
74
23.243243
0.720131
0.05
0
0
0
0
0.023904
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4442e1e42c8a05325da84390b0857ac472f29c66
561
py
Python
Swati Singh/week 2_Q.13.py
singhs1234/Python-BootCamp
6f5ff8f4a4e5b8de32eb6506830f13d6939def1c
[ "MIT" ]
4
2022-03-20T10:59:53.000Z
2022-03-25T18:28:04.000Z
Swati Singh/week 2_Q.13.py
singhs1234/Python-BootCamp
6f5ff8f4a4e5b8de32eb6506830f13d6939def1c
[ "MIT" ]
null
null
null
Swati Singh/week 2_Q.13.py
singhs1234/Python-BootCamp
6f5ff8f4a4e5b8de32eb6506830f13d6939def1c
[ "MIT" ]
15
2022-03-12T11:49:10.000Z
2022-03-15T06:22:55.000Z
# 13. Accept any city from the user and display monument of that city. City Monument Delhi Red Fort Agra Taj Mahal Jaipur Jal Mahal city=input("Enter any city (Delhi, Agra, Jaipur, Lucknow, Kanpur) : ") city=city.lower() if city=="delhi": print("Monument: Red Fort") elif city=="agra": print("Monument: Taj Mahal...
35.0625
131
0.691622
81
561
4.790123
0.45679
0.167526
0.056701
0
0
0
0
0
0
0
0
0.004329
0.176471
561
15
132
37.4
0.835498
0.229947
0
0
0
0
0.527907
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
4444f0e3181e23072fbbbadc9683f81ee6d5b50a
609
py
Python
libcard2/localization/wave_ja.py
stmkza/arposandra
e76f9886f98b3e5068b5f135be398c9e77bd3b65
[ "MIT" ]
12
2020-02-01T03:41:17.000Z
2022-03-02T06:02:36.000Z
libcard2/localization/wave_ja.py
stmkza/arposandra
e76f9886f98b3e5068b5f135be398c9e77bd3b65
[ "MIT" ]
6
2020-03-15T02:28:52.000Z
2021-08-31T11:16:00.000Z
libcard2/localization/wave_ja.py
stmkza/arposandra
e76f9886f98b3e5068b5f135be398c9e77bd3b65
[ "MIT" ]
3
2020-03-19T12:42:00.000Z
2021-12-28T05:06:02.000Z
from ..wave_cs_enums import WaveType from ..wave_description_base import WaveMissionDescriber ###################################################### JA = WaveMissionDescriber() # fmt: off JA.missions[WaveType.MaxVoltage] = "1回で$1ボルテージを獲得する" JA.missions[WaveType.UseCardUniq] = "$1人のスクールアイドルでアピールする" JA.missions[WaveT...
32.052632
66
0.729064
59
609
7.457627
0.508475
0.159091
0.286364
0.15
0
0
0
0
0
0
0
0.014159
0.07225
609
18
67
33.833333
0.764602
0.026273
0
0
0
0
0.220149
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4446b6d9a76d9e3d9522a1991982c08308682321
7,889
py
Python
myflaskapp/public/views.py
IT-corridor/Parking
528a7e084cd4a54a80aad33488f9a83f4f07fb59
[ "BSD-3-Clause" ]
null
null
null
myflaskapp/public/views.py
IT-corridor/Parking
528a7e084cd4a54a80aad33488f9a83f4f07fb59
[ "BSD-3-Clause" ]
null
null
null
myflaskapp/public/views.py
IT-corridor/Parking
528a7e084cd4a54a80aad33488f9a83f4f07fb59
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Public section, including homepage and signup.""" import datetime from flask import Blueprint, flash, redirect, render_template, request, url_for, jsonify, session, g, abort from flask_login import login_required, login_user, logout_user, current_user from flask_cors import CORS, cross_origin...
34.600877
111
0.672962
971
7,889
5.333677
0.212152
0.015061
0.025488
0.030894
0.332304
0.255455
0.228616
0.204866
0.16258
0.16258
0
0.002223
0.201546
7,889
227
112
34.753304
0.819971
0.0739
0
0.295181
0
0
0.190489
0.025913
0
0
0
0
0
1
0.084337
false
0.078313
0.078313
0
0.295181
0.096386
0
0
0
null
0
0
0
0
0
0
0
0
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
4446c274e989ed70ad29771b455c77fbf8f5c5b0
391
py
Python
mobiles/migrations/0002_alter_product_details_star.py
saikatsingha/flipkart_crawl
dc0c4e82206bb974560d87e5d94ea778d9411a9c
[ "MIT" ]
null
null
null
mobiles/migrations/0002_alter_product_details_star.py
saikatsingha/flipkart_crawl
dc0c4e82206bb974560d87e5d94ea778d9411a9c
[ "MIT" ]
null
null
null
mobiles/migrations/0002_alter_product_details_star.py
saikatsingha/flipkart_crawl
dc0c4e82206bb974560d87e5d94ea778d9411a9c
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-09-08 18:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mobiles', '0001_initial'), ] operations = [ migrations.AlterField( model_name='product_details', name='star', ...
20.578947
59
0.595908
42
391
5.47619
0.833333
0
0
0
0
0
0
0
0
0
0
0.0681
0.286445
391
18
60
21.722222
0.756272
0.11509
0
0
1
0
0.110465
0
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
444ba1502ff8f9ffdc326e213b915090ee1da1e9
188
py
Python
factorial.py
ncooper76/Python-Scripts
e0197a8d613b761c123677699be974a7aec08c97
[ "MIT" ]
null
null
null
factorial.py
ncooper76/Python-Scripts
e0197a8d613b761c123677699be974a7aec08c97
[ "MIT" ]
null
null
null
factorial.py
ncooper76/Python-Scripts
e0197a8d613b761c123677699be974a7aec08c97
[ "MIT" ]
null
null
null
#Calculates the factorial of x, so 5! = 1*2*3*4*5 = 120 def factorial(x): product = 1 n = 1 while n <= x: product = product*n n += 1 return product
20.888889
56
0.510638
30
188
3.2
0.566667
0.166667
0
0
0
0
0
0
0
0
0
0.102564
0.37766
188
8
57
23.5
0.717949
0.287234
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
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
444cbbd79867b31c9d614358ce159cbee2d40095
269
py
Python
ex15.py
phyuthinzarmg/python-exercises
cfa907dd45623c1c58b96f3588af04e1e7b452ff
[ "MIT" ]
null
null
null
ex15.py
phyuthinzarmg/python-exercises
cfa907dd45623c1c58b96f3588af04e1e7b452ff
[ "MIT" ]
null
null
null
ex15.py
phyuthinzarmg/python-exercises
cfa907dd45623c1c58b96f3588af04e1e7b452ff
[ "MIT" ]
null
null
null
from sys import argv 2 3 script, filename = argv 4 5 txt = open(filename) 6 7 print(f"Here's your file {filename}:") 8 print(txt.read()) 9 10 print("Type the filename again:") 11 file_again = input("> ") 12 13 txt_again = open(file_again) 14 15 print(txt_again.read())
16.8125
40
0.70632
51
269
3.647059
0.647059
0.086022
0
0
0
0
0
0
0
0
0
0.088106
0.156134
269
15
41
17.933333
0.731278
0
0
0
0
0
0.200743
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.266667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
444ffd5c03aa03460e6f6f58b1c0373b3a4eb52f
2,132
py
Python
easy_mindoc/easy_mindoc.py
zsb514/easy_mindoc
326d926af8025ebcd69097028c2684c47d99f900
[ "WTFPL" ]
null
null
null
easy_mindoc/easy_mindoc.py
zsb514/easy_mindoc
326d926af8025ebcd69097028c2684c47d99f900
[ "WTFPL" ]
null
null
null
easy_mindoc/easy_mindoc.py
zsb514/easy_mindoc
326d926af8025ebcd69097028c2684c47d99f900
[ "WTFPL" ]
null
null
null
from mindoc import MinDoc from markdown import Markdown from easy_mindoc import load_cfg, write_config import sys, getopt, os import typer app = typer.Typer() '当前工作路径' os.getcwd() @app.command() def config(user: str, cookies: str): typer.echo("正在设置用户和cookies") user = load_cfg().get('user', {}) user['us...
22.924731
84
0.566604
269
2,132
4.330855
0.289963
0.036052
0.037768
0.048069
0.415451
0.309013
0.309013
0.309013
0.250644
0.250644
0
0.002538
0.260788
2,132
92
85
23.173913
0.736675
0.027674
0
0.342857
0
0
0.203111
0
0
0
0
0.01087
0
1
0.114286
false
0
0.142857
0
0.314286
0
0
0
0
null
0
0
0
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
445010b448f3c8808d15429f677ead36a271dff0
2,850
py
Python
shardDesigner/shardTemplateDir/shardNodeDir/starterFlask.py
vinci-project/rootShard
2f6633c7fb1c1b690c0a38ffbb16af0b50d532bb
[ "MIT" ]
null
null
null
shardDesigner/shardTemplateDir/shardNodeDir/starterFlask.py
vinci-project/rootShard
2f6633c7fb1c1b690c0a38ffbb16af0b50d532bb
[ "MIT" ]
7
2020-03-02T11:23:41.000Z
2022-03-11T23:52:51.000Z
shardDesigner/shardTemplateDir/shardNodeDir/starterFlask.py
vinci-project/rootShard
2f6633c7fb1c1b690c0a38ffbb16af0b50d532bb
[ "MIT" ]
null
null
null
import sys, os import json import redis import shutil from crypto.vncCrypto import VncCrypto from crypto.cryptoFernet import cryptoFernet from datetime import datetime, date, time from random import randint import psutil import uuid from werkzeug.utils import secure_filename import webbrowser #=====================...
29.6875
134
0.570526
305
2,850
5.229508
0.304918
0.043887
0.060188
0.037618
0.221317
0.082759
0
0
0
0
0
0.011516
0.268772
2,850
95
135
30
0.753839
0.01614
0
0.144928
0
0
0.137353
0.008205
0
0
0
0
0
1
0.144928
false
0.057971
0.188406
0.057971
0.478261
0.014493
0
0
0
null
0
0
0
0
0
0
0
0
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
44521e90db92fc5a401f00f8e02d47faa82b474b
288
py
Python
Testing.py
thetensor-space/SageTensorSpace
5fb48dbfa03fa89c9f714643e1e5d9ba60e98176
[ "MIT" ]
null
null
null
Testing.py
thetensor-space/SageTensorSpace
5fb48dbfa03fa89c9f714643e1e5d9ba60e98176
[ "MIT" ]
null
null
null
Testing.py
thetensor-space/SageTensorSpace
5fb48dbfa03fa89c9f714643e1e5d9ba60e98176
[ "MIT" ]
null
null
null
import SageTensorSpace as TS MS = MatrixSpace(GF(7), 5, 6) M = MS.random_element() t = TS.TensorFromMatrices([M], 2, 1) # Testing a property U = VectorSpace(GF(7), 5) V = VectorSpace(GF(7), 6) assert all(M[i][j] == t((U.basis()[i], V.basis()[j]))[0] for i in range(5) for j in range(6))
28.8
93
0.638889
56
288
3.267857
0.571429
0.04918
0.043716
0
0
0
0
0
0
0
0
0.04898
0.149306
288
9
94
32
0.697959
0.0625
0
0
0
0
0
0
0
0
0
0
0.142857
1
0
false
0
0.142857
0
0.142857
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
445428db18a5d529d31ee62c9b30f8bb8c4c0aea
1,763
py
Python
Asap-3.8.4/Debug/UnBalance.py
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
1
2021-10-19T11:35:34.000Z
2021-10-19T11:35:34.000Z
Asap-3.8.4/Debug/UnBalance.py
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
null
null
null
Asap-3.8.4/Debug/UnBalance.py
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
3
2016-07-18T19:22:48.000Z
2021-07-06T03:06:42.000Z
#PBS -N UnBalance #PBS -m ae #PBS -q long #PBS -l nodes=1:opteron:ppn=2 """Test handling of extreme load-unbalancing.""" from asap3 import * from asap3.md import MDLogger from ase.lattice.cubic import FaceCenteredCubic import numpy as np from asap3.mpi import world #DebugOutput("UnBalance.%d.out") #set_verbose(1) pr...
24.486111
81
0.618264
282
1,763
3.812057
0.432624
0.052093
0.013953
0.011163
0.042791
0
0
0
0
0
0
0.04738
0.20987
1,763
72
82
24.486111
0.724336
0.129892
0
0.170213
0
0.021277
0.042683
0
0
0
0
0
0
0
null
null
0
0.106383
null
null
0.06383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
44546d7a23a84bcd8913fc44866867d90b0aa3bc
2,721
py
Python
Notatki/1_Podstawy/3_Funkcje/2_Argumenty.py
bzglinicki/Programowanie-I-R
02a63a44bb9eeea2aa7dbbb0ec18c0462d692ef0
[ "MIT" ]
2
2022-03-01T14:45:01.000Z
2022-03-19T17:36:07.000Z
Notatki/1_Podstawy/3_Funkcje/2_Argumenty.py
bzglinicki/Programowanie-I-R
02a63a44bb9eeea2aa7dbbb0ec18c0462d692ef0
[ "MIT" ]
null
null
null
Notatki/1_Podstawy/3_Funkcje/2_Argumenty.py
bzglinicki/Programowanie-I-R
02a63a44bb9eeea2aa7dbbb0ec18c0462d692ef0
[ "MIT" ]
1
2021-03-20T21:01:37.000Z
2021-03-20T21:01:37.000Z
# Programowanie I R # Funkcje: argumenty # Funkcja z trzema argumentami: name, surname, age def printPersonalData(name, surname, age): print(f"Imię i nazwisko: {name} {surname}") print(f"Wiek: {age}") # Argumenty pozycyjne ************************************************************** print("Argu...
27.765306
84
0.593164
276
2,721
5.847826
0.307971
0.049566
0.083643
0.082404
0.291822
0.269517
0.197026
0.053284
0.053284
0.053284
0
0.016592
0.180448
2,721
98
85
27.765306
0.707175
0.55237
0
0.410256
0
0
0.261564
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0.897436
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
445599346e06ef1c078e67979b49a7714f6c5b59
541
py
Python
setup.py
sihrc/vortex
4b913946c8c1743a5cd7a07b80bc7ab516ce12f2
[ "MIT" ]
null
null
null
setup.py
sihrc/vortex
4b913946c8c1743a5cd7a07b80bc7ab516ce12f2
[ "MIT" ]
6
2018-08-04T21:29:11.000Z
2021-05-16T05:30:34.000Z
setup.py
sihrc/vortex
4b913946c8c1743a5cd7a07b80bc7ab516ce12f2
[ "MIT" ]
1
2019-08-22T11:48:30.000Z
2019-08-22T11:48:30.000Z
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="vortex-http", version="0.4.1", description="aiohttp wrapped web framework", author="Chris Lee", author_email="sihrc.c.lee@gmail.com", packages=find_packages(), install_requires=[ "aiodns==2.0.0", ...
23.521739
48
0.563771
69
541
4.347826
0.695652
0.08
0
0
0
0
0
0
0
0
0
0.058394
0.240296
541
22
49
24.590909
0.671533
0.036969
0
0
0
0
0.369231
0.040385
0
0
0
0
0
1
0
true
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
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
445a5c1f65437e8b862503db26771c6d527b8a82
11,681
py
Python
fandango/excepts.py
rhomspuron/fandango
51cc7659dfa7ea8c5890a993bbcc4c2049e45136
[ "CC-BY-3.0" ]
null
null
null
fandango/excepts.py
rhomspuron/fandango
51cc7659dfa7ea8c5890a993bbcc4c2049e45136
[ "CC-BY-3.0" ]
null
null
null
fandango/excepts.py
rhomspuron/fandango
51cc7659dfa7ea8c5890a993bbcc4c2049e45136
[ "CC-BY-3.0" ]
null
null
null
from __future__ import with_statement #!/usr/bin/env python2.5 """ ############################################################################# ## ## file : excepts.py ## ## description : see below ## ## project : Tango Control System ## ## $Author: Sergi Rubio Manrique, srubio@cells.es $ ## ## $Revision: 20...
35.941538
158
0.605256
1,447
11,681
4.780926
0.241189
0.026308
0.007806
0.01301
0.127204
0.082972
0.043654
0.007228
0
0
0
0.007271
0.258283
11,681
324
159
36.052469
0.791205
0.085866
0
0.252874
0
0
0.080242
0
0
0
0
0.003086
0
0
null
null
0.045977
0.068966
null
null
0.057471
0
0
0
null
0
0
0
0
0
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
445af064114f9ecae141a654e3f107b836136ba6
1,207
py
Python
vista.py
CristianCala/UIDesignPyQt5
6ba68813f86e46a47c4519f83ccbd46b6dd635ff
[ "MIT" ]
null
null
null
vista.py
CristianCala/UIDesignPyQt5
6ba68813f86e46a47c4519f83ccbd46b6dd635ff
[ "MIT" ]
null
null
null
vista.py
CristianCala/UIDesignPyQt5
6ba68813f86e46a47c4519f83ccbd46b6dd635ff
[ "MIT" ]
null
null
null
estiloFondo = ("QMainWindow{\n" "background-color: white;}") estiloFrame = ("QFrame{\n" "background-image: url(ui.png);}\n") estiloNombre = ("QLabel{\n" "color: #E84C70;}\n") estiloTitulo = ("QLabel{\n" "color: #2F475E;}\n") estiloLine = ("QLineEdit {\n" "color: black;\n" "background: transpa...
21.945455
47
0.610605
137
1,207
5.372263
0.321168
0.057065
0.086957
0.052989
0.302989
0.245924
0.139946
0
0
0
0
0.056716
0.167357
1,207
55
48
21.945455
0.675622
0
0
0.333333
0
0
0.667219
0.107616
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
44632699c65d23e5e6c27862e4557240a69f61f0
1,888
py
Python
Selenium-Test/script.py
zeabdelkhalek/TP-IGL-Client
b75904df147fa3905d5e8e1d666ef54e3aefe4a2
[ "MIT" ]
1
2020-05-11T02:38:22.000Z
2020-05-11T02:38:22.000Z
Selenium-Test/script.py
AbdelkhalekESI/TP-IGL-Client
b75904df147fa3905d5e8e1d666ef54e3aefe4a2
[ "MIT" ]
3
2020-07-19T04:53:34.000Z
2021-05-10T23:00:57.000Z
Selenium-Test/script.py
zeabdelkhalek/TP-IGL-Client
b75904df147fa3905d5e8e1d666ef54e3aefe4a2
[ "MIT" ]
null
null
null
from selenium import webdriver import time from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import TimeoutException options = webdriver.ChromeOptions() options.add_argument('--disable-web-security') url='http://127...
32.551724
73
0.739407
267
1,888
5.003745
0.41573
0.10479
0.178144
0.199102
0.303892
0.257485
0.043413
0
0
0
0
0.018641
0.119174
1,888
57
74
33.122807
0.784726
0.075742
0
0.052632
0
0
0.236479
0.024741
0
0
0
0
0
1
0
false
0
0.131579
0
0.131579
0.052632
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4463d5e39650a4e7422e085de2d3acc28f0ff1e9
815
py
Python
python100days/day09/multi.py
lanSeFangZhou/pythonbase
f4daa373573b2fc0a59a5eb919d02eddf5914e18
[ "Apache-2.0" ]
null
null
null
python100days/day09/multi.py
lanSeFangZhou/pythonbase
f4daa373573b2fc0a59a5eb919d02eddf5914e18
[ "Apache-2.0" ]
1
2021-06-02T00:58:26.000Z
2021-06-02T00:58:26.000Z
python100days/day09/multi.py
lanSeFangZhou/pythonbase
f4daa373573b2fc0a59a5eb919d02eddf5914e18
[ "Apache-2.0" ]
null
null
null
''' 多重继承 - 通过多重继承可以给一个类的对象具备多方面的能力 - 这样在设计类的时候可以避免设计太多层次的复杂的继承关系 ''' class Father(object): def _init_(self, name): self._name = name def gamble(self): print('%s在打麻将.' % self._name) def eat(self): print('%s在大吃大喝.' % self._name) class Monk(object): def _init_(self, name): ...
18.111111
38
0.619632
97
815
5
0.268041
0.197938
0.148454
0.092784
0.212371
0.148454
0.148454
0.148454
0.148454
0
0
0
0.230675
815
45
39
18.111111
0.773525
0.201227
0
0.291667
0
0
0.051482
0
0
0
0
0
0
1
0.291667
false
0
0
0
0.416667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4469f717f508277478e42eda4cc4da6b53f5509d
2,386
py
Python
bench_scenarios/generate_obj_based_scope.py
JanDorniak99/pmemkv-bench
c89cfec5bc12f8a54424572b149e843f9f5a5379
[ "Apache-2.0" ]
null
null
null
bench_scenarios/generate_obj_based_scope.py
JanDorniak99/pmemkv-bench
c89cfec5bc12f8a54424572b149e843f9f5a5379
[ "Apache-2.0" ]
null
null
null
bench_scenarios/generate_obj_based_scope.py
JanDorniak99/pmemkv-bench
c89cfec5bc12f8a54424572b149e843f9f5a5379
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # # SPDX-License-Identifier: Apache-2.0 # Copyright 2021, Intel Corporation # This script implements generate() method, which may be invoked by run_benchmark.py directly, # or used as standalone application, which prints configuration json (also validated against schema) # to stdout. Such once g...
29.097561
100
0.642498
267
2,386
5.569288
0.494382
0.03228
0.04035
0.02959
0.133154
0.102219
0.102219
0.102219
0.102219
0.102219
0
0.021846
0.232607
2,386
81
101
29.45679
0.790279
0.158424
0
0.067797
1
0
0.233383
0.108446
0
0
0
0
0
1
0.050847
false
0
0.067797
0
0.169492
0.033898
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
446c1a08792230c1d74587f3d323492f2871df02
3,273
py
Python
mouse.py
AlbertMelo/MouseExpressions
8e2bc36d8378541d512e04b17908bdefac6090e8
[ "MIT" ]
3
2019-07-22T18:29:10.000Z
2019-09-11T12:24:05.000Z
mouse.py
AlbertMelo/MouseExpressions
8e2bc36d8378541d512e04b17908bdefac6090e8
[ "MIT" ]
7
2019-12-16T22:20:58.000Z
2022-02-10T00:50:45.000Z
mouse.py
AlbertMelo/MouseExpressions
8e2bc36d8378541d512e04b17908bdefac6090e8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pyautogui as pyg import os import subprocess import programa class Mouse(object): def __init__(self, QuadroXI, QuadroYI, Dimensao): self.TEMPO = 0 #Touchpad do monitor self.QuadroXI = QuadroXI - Dimensao self.QuadroYI = QuadroYI - Dimensao + int(Dimensao/3) self.QuadroXF ...
21.966443
101
0.676749
481
3,273
4.511435
0.24948
0.045622
0.03318
0.04424
0.26682
0.231336
0.169585
0.140092
0.126267
0.092166
0
0.013973
0.190956
3,273
149
102
21.966443
0.805514
0.215399
0
0.1
0
0
0.00968
0
0
0
0
0.006711
0
1
0.2375
false
0
0.05
0.0125
0.325
0
0
0
0
null
0
0
0
0
0
0
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
447050f1592cecfe7f5d28a4335436f9cc0b4d7b
228
py
Python
regtests/loop/while_else.py
bpmbank/PythonJS
591a80afd8233fb715493591db2b68f1748558d9
[ "BSD-3-Clause" ]
319
2015-01-02T11:34:16.000Z
2022-03-25T00:43:33.000Z
regtests/loop/while_else.py
bpmbank/PythonJS
591a80afd8233fb715493591db2b68f1748558d9
[ "BSD-3-Clause" ]
10
2015-02-03T02:33:09.000Z
2021-11-09T21:41:00.000Z
regtests/loop/while_else.py
bpmbank/PythonJS
591a80afd8233fb715493591db2b68f1748558d9
[ "BSD-3-Clause" ]
61
2015-01-02T12:01:56.000Z
2021-12-08T07:16:16.000Z
''' while else loop (DEPRECATED) ''' def main(): a = False i = 0 while i < 10: i += 1 else: a = True TestError( a==True ) b = False i = 0 while i < 10: i += 1 break else: b = True TestError( b==False )
8.769231
28
0.517544
37
228
3.189189
0.432432
0.101695
0.118644
0.20339
0.288136
0.288136
0.288136
0.288136
0
0
0
0.052288
0.328947
228
25
29
9.12
0.718954
0.122807
0
0.5
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.0625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
447765c57c490141d0b8cee8dfb8c7b014fcc8e9
721
py
Python
truffe2/communication/forms2.py
JonathanCollaud/truffe2
5cbb055ac1acf7e7dc697340618fcb56c67fbd91
[ "BSD-2-Clause" ]
9
2016-09-14T02:19:19.000Z
2020-10-18T14:52:14.000Z
truffe2/communication/forms2.py
JonathanCollaud/truffe2
5cbb055ac1acf7e7dc697340618fcb56c67fbd91
[ "BSD-2-Clause" ]
19
2016-11-09T21:28:51.000Z
2021-02-10T22:37:31.000Z
truffe2/communication/forms2.py
JonathanCollaud/truffe2
5cbb055ac1acf7e7dc697340618fcb56c67fbd91
[ "BSD-2-Clause" ]
13
2016-12-31T14:22:09.000Z
2020-12-27T19:43:19.000Z
from django.forms import ModelForm from django.utils.safestring import mark_safe from django.utils.html import escape from .models import DisplayReservationLine, Display class DisplayReservationLineForm(ModelForm): class Meta: model = DisplayReservationLine exclude = ('display_reservation', '...
40.055556
130
0.705964
79
721
6.240506
0.56962
0.060852
0.060852
0
0
0
0
0
0
0
0
0
0.171983
721
18
130
40.055556
0.825796
0
0
0
0
0
0.083102
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
447ad10e9234f1a46678ef5e6f05c247b8fa544c
468
py
Python
windowsbuild/MSVC2017/python/3.7.7/Scripts/pygmentize-script.py
Tech-XCorp/visit-deps
23e2bd534bf9c332d6b7d32310495f1f65b1b936
[ "BSD-3-Clause" ]
null
null
null
windowsbuild/MSVC2017/python/3.7.7/Scripts/pygmentize-script.py
Tech-XCorp/visit-deps
23e2bd534bf9c332d6b7d32310495f1f65b1b936
[ "BSD-3-Clause" ]
null
null
null
windowsbuild/MSVC2017/python/3.7.7/Scripts/pygmentize-script.py
Tech-XCorp/visit-deps
23e2bd534bf9c332d6b7d32310495f1f65b1b936
[ "BSD-3-Clause" ]
null
null
null
#!C:\A_Visit\ForRegression\visit-deps\windowsbuild\MSVC2017\python\3.7.7\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pygments==2.5.2','console_scripts','pygmentize' __requires__ = 'pygments==2.5.2' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(...
36
84
0.675214
68
468
4.352941
0.573529
0.091216
0.101351
0.111486
0.236486
0.236486
0.236486
0
0
0
0
0.044335
0.132479
468
12
85
39
0.684729
0.337607
0
0
0
0
0.290541
0.077703
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
44862ca62ad76ed43e2aa3db0d2b5e1183483ba1
3,706
py
Python
tests/test_reference.py
foliant-docs/foliantcontrib.apireferences
4b4bfe865970b7adb1a8c7b5f3cb697ec3257976
[ "MIT" ]
null
null
null
tests/test_reference.py
foliant-docs/foliantcontrib.apireferences
4b4bfe865970b7adb1a8c7b5f3cb697ec3257976
[ "MIT" ]
null
null
null
tests/test_reference.py
foliant-docs/foliantcontrib.apireferences
4b4bfe865970b7adb1a8c7b5f3cb697ec3257976
[ "MIT" ]
null
null
null
import re from foliant.preprocessors.apireferences.apireferences import DEFAULT_REF_REGEX from foliant.preprocessors.apireferences.classes import Reference from unittest import TestCase class TestReference(TestCase): def test_repr_doesnt_throw_errors(self): ref = Reference( source='`MyAPI: GE...
32.79646
79
0.611441
413
3,706
5.338983
0.140436
0.197279
0.236735
0.15873
0.707483
0.654422
0.522449
0.522449
0.476644
0.454875
0
0.006225
0.263087
3,706
112
80
33.089286
0.801172
0
0
0.478723
0
0
0.122774
0
0
0
0
0
0.308511
1
0.085106
false
0
0.042553
0
0.138298
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4487941981e54376941db03ab4c7b9fc524aa4f4
316
py
Python
Section 3/33_alert.py
IgorPavlovski84/-Automating-Web-Testing-with-Selenium-and-Python
c57b43416bb4bdc7242e79aa9d202851a852daae
[ "MIT" ]
26
2018-12-21T00:52:01.000Z
2021-11-08T13:12:26.000Z
Section 3/33_alert.py
calvinkkd/-Automating-Web-Testing-with-Selenium-and-Python
ca6e427cf6393993245263e26a704beeea8c1fed
[ "MIT" ]
1
2021-02-02T22:05:36.000Z
2021-02-02T22:05:36.000Z
Section 3/33_alert.py
calvinkkd/-Automating-Web-Testing-with-Selenium-and-Python
ca6e427cf6393993245263e26a704beeea8c1fed
[ "MIT" ]
14
2018-12-08T11:40:38.000Z
2021-05-04T01:02:39.000Z
from selenium import webdriver import time driver = webdriver.Chrome() driver.get('http://localhost/se/33.html') driver.execute_script("document.body.style.zoom = '1.5'") time.sleep(1) driver.find_element_by_css_selector('button').click() time.sleep(1) driver.switch_to_alert().accept() time.sleep(1) driver.close()
28.727273
57
0.772152
49
316
4.836735
0.693878
0.113924
0.126582
0.202532
0
0
0
0
0
0
0
0.023569
0.060127
316
11
58
28.727273
0.774411
0
0
0.272727
0
0
0.205047
0.07571
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
448dcd1097bbc80970b03d1a55067eb7abf25a12
3,314
py
Python
account/views.py
Django-Pyhon/basic-banking-django
c0393fcc06101ebfde8a681fa2d6c8cd8d02a3bc
[ "MIT" ]
1
2021-07-27T22:20:17.000Z
2021-07-27T22:20:17.000Z
account/views.py
Django-Pyhon/basic-banking-django
c0393fcc06101ebfde8a681fa2d6c8cd8d02a3bc
[ "MIT" ]
null
null
null
account/views.py
Django-Pyhon/basic-banking-django
c0393fcc06101ebfde8a681fa2d6c8cd8d02a3bc
[ "MIT" ]
null
null
null
from django.http import Http404 from django.shortcuts import render # Create your views here. from django.contrib.auth.models import User, Group from rest_framework import views, status from rest_framework.response import Response from account.serializers import * class ListCustomers(views.APIView): def get(se...
31.865385
82
0.67592
358
3,314
6.189944
0.209497
0.08213
0.129964
0.113718
0.624097
0.563177
0.531137
0.40343
0.350632
0.230144
0
0.009471
0.235365
3,314
103
83
32.174757
0.865036
0.00694
0
0.512821
0
0
0.002432
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.551282
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
4490e5d26b0906c435e659bb5263d97c5a74554f
648
py
Python
tests/two_three_compat_test.py
dw/econtext
c1e72b82258752d4a3155e88806c2e1235805eff
[ "BSD-3-Clause" ]
null
null
null
tests/two_three_compat_test.py
dw/econtext
c1e72b82258752d4a3155e88806c2e1235805eff
[ "BSD-3-Clause" ]
27
2017-08-22T21:20:22.000Z
2017-09-10T07:35:55.000Z
tests/two_three_compat_test.py
dw/econtext
c1e72b82258752d4a3155e88806c2e1235805eff
[ "BSD-3-Clause" ]
null
null
null
import mitogen.core import testlib import simple_pkg.ping # TODO: this is a joke. 2/3 interop is one of the hardest bits to get right. # There should be 100 tests in this file. class TwoThreeCompatTest(testlib.RouterMixin, testlib.TestCase): if mitogen.core.PY3: python_path = 'python2' else: ...
28.173913
76
0.700617
90
648
4.944444
0.611111
0.089888
0.058427
0
0
0
0
0
0
0
0
0.021401
0.20679
648
22
77
29.454545
0.844358
0.175926
0
0
0
0
0.026365
0
0
0
0
0.045455
0.142857
1
0.071429
false
0
0.214286
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
921fdb31b845a38c9c0e90ae7d4068748c59af90
10,274
py
Python
json_to_relation/test/testModuleStoreImporter.py
paepcke/json_to_relation
acfa58d540f8f51d1d913d0c173ee3ded1b6c2a9
[ "BSD-3-Clause" ]
4
2015-10-10T19:09:49.000Z
2021-09-02T00:58:06.000Z
json_to_relation/test/testModuleStoreImporter.py
paepcke/json_to_relation
acfa58d540f8f51d1d913d0c173ee3ded1b6c2a9
[ "BSD-3-Clause" ]
null
null
null
json_to_relation/test/testModuleStoreImporter.py
paepcke/json_to_relation
acfa58d540f8f51d1d913d0c173ee3ded1b6c2a9
[ "BSD-3-Clause" ]
8
2015-05-16T14:33:33.000Z
2019-10-24T08:56:25.000Z
# Copyright (c) 2014, Stanford University # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
51.114428
757
0.662644
1,083
10,274
6.253001
0.357341
0.009746
0.024808
0.024365
0.104548
0.056113
0.056113
0.054489
0.022888
0.022888
0
0.025375
0.248199
10,274
201
758
51.114428
0.851372
0.353027
0
0.220183
0
0.027523
0.119124
0.084367
0
0
0
0
0.073395
1
0.073395
false
0.036697
0.311927
0
0.394495
0.009174
0
0
0
null
0
0
0
0
0
0
0
0
0
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
922341f36deca5a7a2891e78eb58b70f3fdc0eb8
1,981
py
Python
dmg/edits/pallete.py
Antolin1/DMG-Python
ba3942e13006e1a32f3fe9f1b29615311f667274
[ "MIT" ]
null
null
null
dmg/edits/pallete.py
Antolin1/DMG-Python
ba3942e13006e1a32f3fe9f1b29615311f667274
[ "MIT" ]
null
null
null
dmg/edits/pallete.py
Antolin1/DMG-Python
ba3942e13006e1a32f3fe9f1b29615311f667274
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Sep 6 11:36:49 2021 @author: Jose Antonio """ import random from networkx.algorithms.isomorphism import is_isomorphic from dmg.graphUtils import edge_match_type as edge_match from dmg.graphUtils import node_match_type as node_match import networkx as ...
30.953125
68
0.570419
236
1,981
4.639831
0.377119
0.09863
0.057534
0.042009
0.054795
0
0
0
0
0
0
0.012346
0.345785
1,981
64
69
30.953125
0.832562
0.118627
0
0.045455
0
0
0.003458
0
0
0
0
0.015625
0
1
0.090909
false
0
0.113636
0.045455
0.340909
0
0
0
0
null
0
0
0
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
92249c945ed95319b78da0f8f6f1d5710f928e02
4,598
py
Python
pipeline/config.py
felipemoran/tcc_sfm
b0b35e92c7c2f86d84120366147a8a650d0a4f7c
[ "MIT" ]
2
2020-10-27T21:45:01.000Z
2021-04-21T11:47:37.000Z
pipeline/config.py
felipemoran/tcc_sfm
b0b35e92c7c2f86d84120366147a8a650d0a4f7c
[ "MIT" ]
null
null
null
pipeline/config.py
felipemoran/tcc_sfm
b0b35e92c7c2f86d84120366147a8a650d0a4f7c
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Tuple, Any, List, Union import ruamel.yaml from ruamel.yaml.constructor import SafeConstructor import dacite import numpy as np @dataclass class CornerSelectionConfig: """ Config for the corner selection phase of KLT """ quality_level: float mi...
19
85
0.705524
527
4,598
5.918406
0.352941
0.062841
0.041039
0.019237
0.123758
0.096505
0.07791
0.07791
0.065406
0.065406
0
0.001134
0.232927
4,598
241
86
19.078838
0.883187
0.177251
0
0.272
0
0
0.019525
0
0
0
0
0
0.008
1
0.048
false
0
0.048
0
0.792
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
92295505eb2a2180c78b5213c3250cea2e678cad
2,995
py
Python
chaos_genius/controllers/alert_controller.py
rsohlot/chaos_genius
ee1f68bf44af36b50d0ccb8c0824bbbbb079b07d
[ "MIT" ]
320
2022-02-18T18:18:42.000Z
2022-03-31T16:42:38.000Z
chaos_genius/controllers/alert_controller.py
rsohlot/chaos_genius
ee1f68bf44af36b50d0ccb8c0824bbbbb079b07d
[ "MIT" ]
115
2022-02-18T16:39:01.000Z
2022-03-31T15:23:52.000Z
chaos_genius/controllers/alert_controller.py
rsohlot/chaos_genius
ee1f68bf44af36b50d0ccb8c0824bbbbb079b07d
[ "MIT" ]
18
2022-02-18T18:44:01.000Z
2022-03-10T08:33:34.000Z
# -*- coding: utf-8 -*- """alert controlller.""" from typing import Any, Dict, List, Literal, Optional, Sequence, Tuple, overload from flask_sqlalchemy import Pagination from chaos_genius.databases.models.alert_model import Alert ALERT_CHANNELS = { "email": "E-mail", "slack": "Slack", } """A mapping of chann...
30.876289
88
0.66611
414
2,995
4.661836
0.280193
0.020725
0.039896
0.031088
0.28342
0.243523
0.22487
0.196891
0.196891
0.196891
0
0.002612
0.233055
2,995
96
89
31.197917
0.837614
0.238397
0
0.42623
0
0
0.028241
0
0
0
0
0.010417
0
1
0.081967
false
0
0.04918
0
0.196721
0
0
0
0
null
0
0
0
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
92299645cac68849bfd2688dce2525ba1cb2cd5d
1,160
py
Python
webapp/forms.py
rustprooflabs/osm2pgsql-tuner
1a70cf591ed364f5f0f4a71ef9c164388558da52
[ "MIT" ]
3
2021-05-08T16:44:19.000Z
2021-12-04T20:12:19.000Z
webapp/forms.py
rustprooflabs/osm2pgsql-tuner
1a70cf591ed364f5f0f4a71ef9c164388558da52
[ "MIT" ]
13
2021-05-08T16:47:02.000Z
2022-02-23T14:06:26.000Z
webapp/forms.py
rustprooflabs/osm2pgsql-tuner
1a70cf591ed364f5f0f4a71ef9c164388558da52
[ "MIT" ]
null
null
null
"""Provides Flask Forms related functionality.""" from wtforms import SelectField, BooleanField from flask_wtf import FlaskForm from webapp import config def _get_pbf_gb_choices(): """Prepares list of PBF size choices for drop-down menu. Returns ------------------------- pbf_gb_choices : list ...
32.222222
69
0.580172
134
1,160
4.820896
0.462687
0.069659
0.148607
0.04644
0
0
0
0
0
0
0
0.022032
0.29569
1,160
35
70
33.142857
0.768666
0.181897
0
0
0
0
0.121711
0
0
0
0
0
0
1
0.047619
false
0
0.142857
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
922fe87b33a94fd0514ba31eace5ebb1c4d0f849
504
py
Python
APPS/PICK/models.py
RockhoRockho/Project_FG
362c75ebfdfcc8f1a8c88236279fefe24dfbd2c7
[ "MIT" ]
1
2022-03-25T12:45:24.000Z
2022-03-25T12:45:24.000Z
APPS/PICK/models.py
RockhoRockho/Project_FG
362c75ebfdfcc8f1a8c88236279fefe24dfbd2c7
[ "MIT" ]
null
null
null
APPS/PICK/models.py
RockhoRockho/Project_FG
362c75ebfdfcc8f1a8c88236279fefe24dfbd2c7
[ "MIT" ]
null
null
null
from django.db import models class Pick(models.Model): reason = models.CharField(max_length=30, default='', verbose_name='사유') comment = models.TextField(default='', verbose_name='덧글') member = models.ForeignKey('MEMBER.Member', on_delete=models.CASCADE) product = models.ForeignKey('PRODUCT.Product', o...
29.647059
76
0.676587
62
504
5.290323
0.564516
0.134146
0.109756
0.128049
0
0
0
0
0
0
0
0.004951
0.198413
504
16
77
31.5
0.806931
0
0
0
0
0
0.077381
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.083333
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
92372ee1b7c3e312c79430dd59dae4078f3316d3
948
py
Python
Python/Qiskit/Grower_search_algorithm.py
Pavel555-star/programs
d4cb812c0b9c5fff7b7c3cd20965bf820b1b95d8
[ "BSD-3-Clause" ]
1
2021-01-23T19:11:35.000Z
2021-01-23T19:11:35.000Z
Python/Qiskit/Grower_search_algorithm.py
Pavel555-star/programs
d4cb812c0b9c5fff7b7c3cd20965bf820b1b95d8
[ "BSD-3-Clause" ]
null
null
null
Python/Qiskit/Grower_search_algorithm.py
Pavel555-star/programs
d4cb812c0b9c5fff7b7c3cd20965bf820b1b95d8
[ "BSD-3-Clause" ]
null
null
null
from qiskit import * import matplotlib.pyplot as plt import numpy as np # define the oracle circuit oracle = QuantumCircuit(2, name='oracle') oracle.cz(0,1) -> cz-matrix ((1,0,0,0), (0,1,0,0), (0,0,1,0), (0,0,0,1)) oracle.to_gate() backend = Aer.get_backend('statevector_simulator') reflect = QuantumCircuit(2, name ...
28.727273
74
0.652954
171
948
3.538012
0.25731
0.059504
0.059504
0.039669
0.328926
0.328926
0.242975
0.242975
0.242975
0.208264
0
0.087112
0.116034
948
32
75
29.625
0.634845
0.220464
0
0.086957
0
0
0.069672
0.028689
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
92379068cb2a4bc0fdeb0bc56557ae60741cfaaa
687
py
Python
sympy/crypto/__init__.py
shipci/sympy
4b59927bed992b980c9b3faac01becb36feef26b
[ "BSD-3-Clause" ]
319
2016-09-22T15:54:48.000Z
2022-03-18T02:36:58.000Z
sympy/crypto/__init__.py
curzel-it/KiPyCalc
909c783d5e6967ea58ca93f875106d8a8e3ca5db
[ "MIT" ]
9
2016-11-03T21:56:41.000Z
2020-08-09T19:27:37.000Z
sympy/crypto/__init__.py
curzel-it/KiPyCalc
909c783d5e6967ea58ca93f875106d8a8e3ca5db
[ "MIT" ]
27
2016-10-06T16:05:32.000Z
2022-03-18T02:37:00.000Z
from sympy.crypto.crypto import (alphabet_of_cipher, cycle_list, encipher_shift, encipher_affine, encipher_substitution, encipher_vigenere, decipher_vigenere, bifid5_square, bifid6_square, bifid7_square, encipher_hill, decipher_hill, encipher_bifid5, encipher_bifid6, encipher_bifid7, decip...
57.25
74
0.804949
85
687
5.964706
0.4
0.047337
0.051282
0
0
0
0
0
0
0
0
0.013559
0.141194
687
11
75
62.454545
0.845763
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
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
923bc38bcf577c37aae6244f55a0e48675ccbfd5
5,200
py
Python
testing/testing_apiai_requests.py
Muflhi01/flow-dashboard
993320e2eb0f86d89b9904a3d5415c7479c5918e
[ "MIT" ]
1,623
2017-03-11T11:49:48.000Z
2022-03-30T06:44:11.000Z
testing/testing_apiai_requests.py
Muflhi01/flow-dashboard
993320e2eb0f86d89b9904a3d5415c7479c5918e
[ "MIT" ]
136
2017-03-11T17:08:57.000Z
2022-03-09T21:38:46.000Z
testing/testing_apiai_requests.py
Muflhi01/flow-dashboard
993320e2eb0f86d89b9904a3d5415c7479c5918e
[ "MIT" ]
217
2017-05-06T14:28:36.000Z
2022-03-29T16:56:01.000Z
#!/usr/bin/python # -*- coding: utf8 -*- from datetime import datetime from base_test_case import BaseTestCase from models import Goal from flow import app as tst_app from models import Habit, Task import json import imp try: imp.find_module('secrets', ['settings']) except ImportError: from settings import sec...
34.210526
133
0.363846
365
5,200
5.052055
0.545205
0.021692
0.02603
0.030369
0
0
0
0
0
0
0
0.039159
0.533462
5,200
151
134
34.437086
0.72094
0.010769
0
0.058824
0
0
0.194163
0.031323
0
0
0
0
0.014706
1
0.022059
false
0
0.073529
0
0.110294
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
923d6daeee1f26ba47d523d2b91fd5411beae0a5
937
py
Python
cozyfuse/binary.py
poupotte/couchdb-fuse
1e81098f62c41d9566c01d2a2fadd0bdfe54402d
[ "BSD-3-Clause" ]
1
2016-03-28T22:56:04.000Z
2016-03-28T22:56:04.000Z
cozyfuse/binary.py
poupotte/couchdb-fuse
1e81098f62c41d9566c01d2a2fadd0bdfe54402d
[ "BSD-3-Clause" ]
null
null
null
cozyfuse/binary.py
poupotte/couchdb-fuse
1e81098f62c41d9566c01d2a2fadd0bdfe54402d
[ "BSD-3-Clause" ]
null
null
null
import sys from kivy.app import App from kivy.uix.anchorlayout import AnchorLayout from kivy.properties import * from replication import recover_progression_binary from kivy.clock import Clock class Binary(AnchorLayout): ''' Manage binaries download window ''' progress = ObjectProperty() def ini...
20.822222
56
0.608324
103
937
5.38835
0.466019
0.057658
0.091892
0
0
0
0
0
0
0
0
0.018321
0.300961
937
44
57
21.295455
0.829008
0
0
0
0
0
0.009913
0
0
0
0
0
0
0
null
null
0.038462
0.230769
null
null
0.076923
0
0
0
null
0
0
0
0
0
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
9242d22fb136a3ab5cbefda78054161564a70807
5,308
py
Python
necroassembler/utils.py
rdeioris/necroassembler
3dd60f0b71158b15dac061ddae0e2048e9c20d86
[ "MIT" ]
2
2019-10-09T21:12:15.000Z
2020-01-27T03:09:03.000Z
necroassembler/utils.py
rdeioris/necroassembler
3dd60f0b71158b15dac061ddae0e2048e9c20d86
[ "MIT" ]
null
null
null
necroassembler/utils.py
rdeioris/necroassembler
3dd60f0b71158b15dac061ddae0e2048e9c20d86
[ "MIT" ]
1
2019-10-16T20:51:29.000Z
2019-10-16T20:51:29.000Z
import string import struct from necroassembler.exceptions import NotInBitRange, InvalidBitRange def neg_fix(value, bits): negative = 1 << (bits - 1) if value & negative: return -(1 << (bits)) + value return value def pack_byte(*args): return struct.pack('B' * len(args), *[n & 0xff if n is n...
27.936842
102
0.568953
732
5,308
3.991803
0.154372
0.043121
0.060233
0.08898
0.479466
0.455168
0.455168
0.37269
0.31896
0.31896
0
0.023678
0.31575
5,308
189
103
28.084656
0.780837
0.011869
0
0.333333
0
0
0.004579
0
0
0
0.020607
0
0
1
0.193798
false
0
0.023256
0.131783
0.457364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9252f6d1f1c84c37818126312a777ccbe609b205
842
py
Python
models/utils/scheduler/constant_warmup_scheduler.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
143
2021-12-03T02:33:36.000Z
2022-03-29T00:01:48.000Z
models/utils/scheduler/constant_warmup_scheduler.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
33
2021-12-03T10:32:05.000Z
2022-03-31T02:13:55.000Z
models/utils/scheduler/constant_warmup_scheduler.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
24
2021-12-04T06:46:42.000Z
2022-03-30T07:57:47.000Z
class ConstantWarmupScheduler: def __init__(self, warmup_steps, warmup_value, ultimate_value, per_iteration): self.warmup_steps = warmup_steps self.warmup_value = warmup_value self.ultimate_value = ultimate_value self.per_iteration = per_iteration self.position = 0 def s...
29.034483
82
0.643705
101
842
5.069307
0.277228
0.140625
0.125
0.140625
0.109375
0
0
0
0
0
0
0.003344
0.289786
842
28
83
30.071429
0.852843
0
0
0
0
0
0
0
0
0
0
0
0
1
0.26087
false
0
0
0.043478
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
0
0
0
1
0
0
0
0
0
0
0
1
92547b1bbce31fcc16cedbc5f31e0b560a198f06
687
py
Python
docsensesearch-backend/utilscripts/test_sp.py
docsense/search
a71ad708784270019612b6e037ad3c3f95dfa448
[ "MIT" ]
null
null
null
docsensesearch-backend/utilscripts/test_sp.py
docsense/search
a71ad708784270019612b6e037ad3c3f95dfa448
[ "MIT" ]
null
null
null
docsensesearch-backend/utilscripts/test_sp.py
docsense/search
a71ad708784270019612b6e037ad3c3f95dfa448
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys import requests reload(sys) sys.setdefaultencoding('utf-8') from bs4 import BeautifulSoup link = sys.argv[1] + "/_api/web/lists(guid'" + sys.argv[2] + "')/Items" ids = [] try: r = requests.get(link) bs = BeautifulSoup(r.text, features="xml") for i in bs.findAll('entry'): ...
25.444444
76
0.57933
90
687
4.366667
0.622222
0.035623
0
0
0
0
0
0
0
0
0
0.03
0.272198
687
26
77
26.423077
0.756
0.02329
0
0.181818
0
0
0.198507
0.076119
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.136364
0
0
0
null
0
0
0
0
0
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
925516901a3dfc5e7e1b727ddefa47860ebbf98a
395
py
Python
lists/v7/sum_numbers.py
py-bootcamp/learn-python-with-tdd
5d0c6fbbbea07204228323557a932bc4023fc8b5
[ "MIT" ]
5
2020-11-13T18:43:52.000Z
2022-03-23T01:07:11.000Z
lists/v7/sum_numbers.py
py-bootcamp/learn-python-with-tdd
5d0c6fbbbea07204228323557a932bc4023fc8b5
[ "MIT" ]
null
null
null
lists/v7/sum_numbers.py
py-bootcamp/learn-python-with-tdd
5d0c6fbbbea07204228323557a932bc4023fc8b5
[ "MIT" ]
null
null
null
from typing import List def sum_numbers(numbers: List[float]) -> float: "Calculate the total from a list of numbers." total = 0.0 for number in numbers: total += number return total def sum_all(*numbers_to_sum: List[float]) -> List[float]: "Calculate the respective sums of every list p...
23.235294
63
0.693671
59
395
4.525424
0.40678
0.101124
0.127341
0
0
0
0
0
0
0
0
0.006494
0.220253
395
16
64
24.6875
0.86039
0.248101
0
0
0
0
0.24557
0
0
0
0
0
0
1
0.2
false
0.1
0.1
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
1
0
0
0
0
0
1
925a12b56c9fb4a07f26e67c0db081323877aa7b
770
py
Python
buffer/in-vicinity-python/io_python/test_os_io.py
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
buffer/in-vicinity-python/io_python/test_os_io.py
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
15
2015-03-07T12:46:41.000Z
2015-04-11T09:08:36.000Z
matlab_ext/identification/dals/os_io/test_os_io.py
zaqwes8811/micro-apps
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- #!/usr/bin/env python ''' ''' from usaio import PCFileOperatons import unittest ''' Dropbox ''' class TestDropboxFileOperatons(unittest.TestCase): pass ''' PC ''' class TestPCFileOperatons(unittest.TestCase): ''' ''' def testOpenClose(self): pcfile = PCFileOperatons() # должно выкидыва...
28.518519
75
0.701299
88
770
6.045455
0.738636
0.06015
0.078947
0.093985
0
0
0
0
0
0
0
0.006024
0.137662
770
27
76
28.518519
0.795181
0.258442
0
0
0
0
0.062257
0
0
0
0
0
0.166667
1
0.083333
false
0.083333
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
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
925d8851eb0b2902f89aba2f36bb8f3af0d834ca
1,491
py
Python
accounts/models.py
bsugimoto/DymondTechnology
5b5740e0fabd546ad9770ac343235c2973d3a0c4
[ "MIT" ]
null
null
null
accounts/models.py
bsugimoto/DymondTechnology
5b5740e0fabd546ad9770ac343235c2973d3a0c4
[ "MIT" ]
null
null
null
accounts/models.py
bsugimoto/DymondTechnology
5b5740e0fabd546ad9770ac343235c2973d3a0c4
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from multiselectfield import MultiSelectField from django.dispatch import receiver def user_directory_path(instance, filename): # file will be uploaded to MEDIA_ROOT/user_<id>/<filename> # re...
45.181818
87
0.735748
172
1,491
6.261628
0.377907
0.155989
0.038997
0.03714
0.236769
0.053853
0
0
0
0
0
0.003949
0.150905
1,491
33
88
45.181818
0.846761
0.075788
0
0.076923
0
0
0.242733
0
0
0
0
0
0
1
0.115385
false
0
0.192308
0.038462
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
925dd9afa8ee77d0df78cadfcabe6966241f2767
3,416
py
Python
hypercane/actions/identify.py
ato/hypercane
290ef402006ee8f8d98090e31da52819e26145a0
[ "MIT" ]
2
2020-06-11T18:42:02.000Z
2020-10-06T21:17:15.000Z
hypercane/actions/identify.py
ato/hypercane
290ef402006ee8f8d98090e31da52819e26145a0
[ "MIT" ]
55
2020-06-01T00:23:00.000Z
2022-02-21T20:52:29.000Z
hypercane/actions/identify.py
ato/hypercane
290ef402006ee8f8d98090e31da52819e26145a0
[ "MIT" ]
3
2021-02-07T05:36:24.000Z
2021-12-17T05:45:14.000Z
import logging module_logger = logging.getLogger("hypercane.actions.sample") def discover_timemaps(args): from hypercane.utils import get_web_session, save_resource_data from hypercane.identify import discover_resource_data_by_input_type, \ discover_timemaps_by_input_type, generate_faux_urits, \ ...
35.583333
113
0.74678
430
3,416
5.574419
0.162791
0.071339
0.068836
0.064247
0.752607
0.737171
0.66917
0.641635
0.641635
0.564873
0
0
0.17096
3,416
95
114
35.957895
0.846398
0
0
0.327869
0
0
0.141686
0.007026
0
0
0
0
0
1
0.04918
false
0
0.114754
0
0.163934
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
92717020cb7b92c5eb59f2d9a730411c3f60cef4
101,305
py
Python
rtamt/parser/stl/StlParser.py
xiaoyaooo/rtamt
edb7bf664720c52e9d70920102c450b1f593af95
[ "BSD-3-Clause" ]
null
null
null
rtamt/parser/stl/StlParser.py
xiaoyaooo/rtamt
edb7bf664720c52e9d70920102c450b1f593af95
[ "BSD-3-Clause" ]
null
null
null
rtamt/parser/stl/StlParser.py
xiaoyaooo/rtamt
edb7bf664720c52e9d70920102c450b1f593af95
[ "BSD-3-Clause" ]
1
2021-05-18T12:57:46.000Z
2021-05-18T12:57:46.000Z
# Generated from StlParser.g4 by ANTLR 4.5.1 # encoding: utf-8 from __future__ import print_function from antlr4 import * from io import StringIO def serializedATN(): with StringIO() as buf: buf.write(u"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\3") buf.write(u"H\u010c\4\2\t\2\4\3\t\3\4\4\t...
37.040219
633
0.578965
10,855
101,305
5.305113
0.074159
0.011808
0.007658
0.00771
0.64617
0.588709
0.554413
0.474239
0.41551
0.396756
0
0.060258
0.314269
101,305
2,734
634
37.053767
0.768714
0.018923
0
0.475733
1
0.055262
0.088493
0.068277
0
0
0.000242
0
0.008169
1
0.147525
false
0.007208
0.019222
0.063912
0.397886
0.000481
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
927d630001b81a2b7cbcd0affc97c5a4e1a4fbf6
15,341
py
Python
scenarios/instance_provision_pressure.py
stdweird/cbtool
7ee1344c8bfa9d5cd6b4b6b620a35304509a1876
[ "Apache-2.0" ]
69
2015-01-29T14:19:57.000Z
2021-12-05T13:21:37.000Z
scenarios/instance_provision_pressure.py
stdweird/cbtool
7ee1344c8bfa9d5cd6b4b6b620a35304509a1876
[ "Apache-2.0" ]
132
2015-01-07T21:39:11.000Z
2022-01-28T19:12:18.000Z
scenarios/instance_provision_pressure.py
stdweird/cbtool
7ee1344c8bfa9d5cd6b4b6b620a35304509a1876
[ "Apache-2.0" ]
50
2015-02-10T15:53:22.000Z
2022-01-13T06:22:10.000Z
#!/usr/bin/python import itertools import fnmatch import json import os import pwd import redis import prettytable import datetime from sys import path, argv, stdout from time import sleep, time from optparse import OptionParser from common import * class ExpRunner: # ##########################################...
39.846753
154
0.472981
1,571
15,341
4.379376
0.171229
0.051017
0.054797
0.049709
0.290116
0.278779
0.257122
0.219767
0.198837
0.16686
0
0.014027
0.298286
15,341
385
155
39.846753
0.625081
0.090542
0
0.219697
0
0.003788
0.183897
0.018865
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.143939
0
0
0
null
0
0
0
0
0
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
927feb504f8852916c65fed6b6c9f88a6f9cb945
24,612
py
Python
tacker/tests/unit/db/utils.py
h1r0mu/tacker
8c69dda51fcfe215c4878a86b82018d2b96e5561
[ "Apache-2.0" ]
116
2015-10-18T02:57:08.000Z
2022-03-15T04:09:18.000Z
tacker/tests/unit/db/utils.py
h1r0mu/tacker
8c69dda51fcfe215c4878a86b82018d2b96e5561
[ "Apache-2.0" ]
6
2016-11-07T22:15:54.000Z
2021-05-09T06:13:08.000Z
tacker/tests/unit/db/utils.py
h1r0mu/tacker
8c69dda51fcfe215c4878a86b82018d2b96e5561
[ "Apache-2.0" ]
166
2015-10-20T15:31:52.000Z
2021-11-12T08:39:49.000Z
# Copyright 2015 Brocade Communications System, Inc. # 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 # #...
43.254833
79
0.596376
2,418
24,612
5.673284
0.11952
0.021869
0.036886
0.017349
0.771322
0.68873
0.615396
0.578291
0.527701
0.48892
0
0.087711
0.272266
24,612
568
80
43.330986
0.678187
0.030067
0
0.505593
0
0
0.397149
0.173004
0
0
0
0
0
1
0.111857
false
0.020134
0.008949
0.100671
0.232662
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9286688c082091e5345a71747b2028f3e00ce126
7,022
py
Python
cisco_deviot/gateway.py
CiscoDevIoT/gateway-python-sdk
6bc087cde44337dc76ee974775d116e2a8091c75
[ "Apache-2.0" ]
1
2019-02-27T00:50:27.000Z
2019-02-27T00:50:27.000Z
cisco_deviot/gateway.py
CiscoDevIoT/gateway-python-sdk
6bc087cde44337dc76ee974775d116e2a8091c75
[ "Apache-2.0" ]
null
null
null
cisco_deviot/gateway.py
CiscoDevIoT/gateway-python-sdk
6bc087cde44337dc76ee974775d116e2a8091c75
[ "Apache-2.0" ]
1
2019-03-01T19:03:51.000Z
2019-03-01T19:03:51.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
41.064327
126
0.51239
715
7,022
4.900699
0.251748
0.040811
0.031963
0.025114
0.245148
0.123288
0.089612
0.089612
0.060502
0.035959
0
0.005403
0.393762
7,022
170
127
41.305882
0.817712
0.074338
0
0.173913
0
0
0.11082
0.003545
0
0
0
0
0
0
null
null
0
0.057971
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
928812ba9d8d40761eede59af222c55c1b93f423
2,658
py
Python
vault/models.py
szaydel/locksmith
39316e1b321d973576d0b3dcc840a1fde98ef0f1
[ "Apache-2.0" ]
64
2015-01-04T00:04:26.000Z
2021-10-09T04:44:57.000Z
vault/models.py
szaydel/locksmith
39316e1b321d973576d0b3dcc840a1fde98ef0f1
[ "Apache-2.0" ]
2
2015-04-11T17:37:06.000Z
2015-05-04T13:41:44.000Z
vault/models.py
szaydel/locksmith
39316e1b321d973576d0b3dcc840a1fde98ef0f1
[ "Apache-2.0" ]
19
2015-01-19T21:31:07.000Z
2020-02-15T08:53:38.000Z
# Copyright 2013 Evan Hazlett and contributors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
41.53125
79
0.715576
364
2,658
5.134615
0.398352
0.057785
0.083467
0.109149
0.276083
0.276083
0.258962
0.228999
0.228999
0.178705
0
0.011024
0.180963
2,658
63
80
42.190476
0.847497
0.220467
0
0.238095
0
0
0.069033
0.022363
0
0
0
0
0
1
0.119048
false
0.047619
0.166667
0.095238
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
928ec887f63d3c4f2f730f5e35706d8bb96d40b2
8,087
py
Python
sdk/python/pulumi_azure_native/securityinsights/v20190101preview/get_automation_rule.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/securityinsights/v20190101preview/get_automation_rule.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/securityinsights/v20190101preview/get_automation_rule.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
37.439815
229
0.657722
938
8,087
5.359275
0.153518
0.03342
0.03342
0.045355
0.325642
0.183012
0.134673
0.074398
0.01114
0
0
0.001481
0.248671
8,087
215
230
37.613953
0.825872
0.13565
0
0.125874
1
0
0.171068
0.047869
0
0
0
0
0
1
0.104895
false
0
0.041958
0
0.258741
0
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
929107b27ad9748f2ff4956a92dd324eba875c13
437
py
Python
geotrek/feedback/migrations/0031_report_eid.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
geotrek/feedback/migrations/0031_report_eid.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
geotrek/feedback/migrations/0031_report_eid.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.1.14 on 2022-03-24 11:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('feedback', '0030_auto_20220324_0947'), ] operations = [ migrations.AddField( model_name='report', name='eid', ...
23
104
0.613272
49
437
5.346939
0.857143
0
0
0
0
0
0
0
0
0
0
0.111801
0.263158
437
18
105
24.277778
0.701863
0.105263
0
0
1
0
0.131105
0.059126
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
92978a18ec72ff57a63325176d0b1a9c34d9e043
849
py
Python
license_plate_classifier.py
neryay/OCR_SPACE_License_Plate_Detection
c61b620df4558cc7b0b9a868405395f7aa708dac
[ "Unlicense" ]
null
null
null
license_plate_classifier.py
neryay/OCR_SPACE_License_Plate_Detection
c61b620df4558cc7b0b9a868405395f7aa708dac
[ "Unlicense" ]
null
null
null
license_plate_classifier.py
neryay/OCR_SPACE_License_Plate_Detection
c61b620df4558cc7b0b9a868405395f7aa708dac
[ "Unlicense" ]
null
null
null
import ocr_space_api_engine as ocr_eng import licensePlate_string_parser as license_parser import DB_Utils import os import datetime def run(): dataset_rel_path = 'images/' files = os.listdir(dataset_rel_path) vehicles = {license_parser.tables_names[0]: {}, license_parser.tables...
32.653846
97
0.673734
102
849
5.196078
0.431373
0.171698
0.179245
0.226415
0
0
0
0
0
0
0
0.007716
0.236749
849
25
98
33.96
0.810185
0
0
0
0
0
0.008516
0
0
0
0
0
0
1
0.052632
false
0
0.263158
0
0.315789
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
92b599cdface562c0a63bce70f29c39376ec628b
2,699
py
Python
python/src/iceberg/avro/codecs/snappy_codec.py
felixYyu/iceberg
120cbe9a5db4cedec76d2a7f097ec67de9c25c96
[ "Apache-2.0" ]
1
2021-11-18T02:27:29.000Z
2021-11-18T02:27:29.000Z
python/src/iceberg/avro/codecs/snappy_codec.py
felixYyu/iceberg
120cbe9a5db4cedec76d2a7f097ec67de9c25c96
[ "Apache-2.0" ]
null
null
null
python/src/iceberg/avro/codecs/snappy_codec.py
felixYyu/iceberg
120cbe9a5db4cedec76d2a7f097ec67de9c25c96
[ "Apache-2.0" ]
null
null
null
# 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 # "License"); you may not u...
38.557143
115
0.675435
326
2,699
5.53681
0.423313
0.033241
0.014404
0.017729
0.18615
0.18615
0.142936
0.142936
0.093075
0.093075
0
0.01679
0.249722
2,699
69
116
39.115942
0.874568
0.419415
0
0.40625
0
0
0.123894
0
0
0
0.013615
0
0
1
0.15625
false
0
0.25
0
0.53125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
2b87549bbd51431d78948c0c0286d6c5c6d1c477
4,505
py
Python
src/JetRecognizer/JetRecognizerTensorflow.py
albertinopadin/PlaneRecognizer
399eddd8d58ec47219804f23cec1503b01ea6c4d
[ "MIT" ]
1
2022-02-24T23:39:12.000Z
2022-02-24T23:39:12.000Z
src/JetRecognizer/JetRecognizerTensorflow.py
albertinopadin/PlaneRecognizer
399eddd8d58ec47219804f23cec1503b01ea6c4d
[ "MIT" ]
null
null
null
src/JetRecognizer/JetRecognizerTensorflow.py
albertinopadin/PlaneRecognizer
399eddd8d58ec47219804f23cec1503b01ea6c4d
[ "MIT" ]
null
null
null
from ImagePreprocessing.ImagePreprocessing import load_label_encoder, save_label_encoder, \ convert_labels_to_one_hot_vectors from JetRecognizerPreprocessing import get_random_train_fighter_images_as_pixel_values_generator, \ get_random_validation_fighter_images_as_pixel_values_generator from BatchLoopGenerator...
45.505051
131
0.767592
635
4,505
5.062992
0.247244
0.070918
0.02395
0.027994
0.330327
0.231104
0.152722
0.152722
0.127838
0.092068
0
0.019145
0.153607
4,505
98
132
45.969388
0.824023
0.108102
0
0.027778
0
0.027778
0.161258
0.032451
0
0
0
0.010204
0
1
0
false
0
0.125
0
0.125
0.152778
0
0
0
null
0
0
0
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
2b8a7153a2c7fe04826c272ba305bcfaefa1482d
1,469
py
Python
color_gamma_analyzer/tests/test_diapason.py
AndrianCode/ColorGammaAnalyzer
0699c3f71c29308fca9983f45f2200443c68e757
[ "MIT" ]
null
null
null
color_gamma_analyzer/tests/test_diapason.py
AndrianCode/ColorGammaAnalyzer
0699c3f71c29308fca9983f45f2200443c68e757
[ "MIT" ]
null
null
null
color_gamma_analyzer/tests/test_diapason.py
AndrianCode/ColorGammaAnalyzer
0699c3f71c29308fca9983f45f2200443c68e757
[ "MIT" ]
null
null
null
import unittest from color_gamma_analyzer.diapason import calculate_ranges class TestCalculatingOfRanges(unittest.TestCase): def setUp(self): self.brightness_data = [0.56, 0.76, 0.12, 0.97, 0.121, 0.454, 0.656] def test_calculating_diapason_ranges(self): calculated_ranges_first = [ ...
26.232143
76
0.497617
177
1,469
3.920904
0.276836
0.025937
0.15562
0.208934
0.31268
0.170029
0.170029
0.170029
0
0
0
0.117068
0.377808
1,469
55
77
26.709091
0.642232
0
0
0.1875
0
0
0.005446
0
0
0
0
0
0.104167
1
0.041667
false
0
0.041667
0
0.104167
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b8e9143a4d8b498c35d6f0274755ccab7a27fe4
1,994
py
Python
Sources/Workflows/XLixian/iambus-xunlei-lixian/lixian_hash.py
yagosys/AlfredWorkflow.com
9e5087e61fb89640a7a6ca89ba554303aec0b037
[ "MIT" ]
2,177
2015-01-02T09:56:51.000Z
2022-03-27T01:48:37.000Z
lixian_hash.py
lincank/xunlei-lixian
fe96ee19c1af8a268dc39818a5e8d33ff71e50ee
[ "MIT" ]
24
2015-01-02T19:11:51.000Z
2021-01-27T07:20:33.000Z
lixian_hash.py
lincank/xunlei-lixian
fe96ee19c1af8a268dc39818a5e8d33ff71e50ee
[ "MIT" ]
516
2015-01-02T18:48:29.000Z
2022-01-26T07:12:35.000Z
#!/usr/bin/env python import hashlib import lixian_hash_ed2k import lixian_hash_bt import os def lib_hash_file(h, path): with open(path, 'rb') as stream: while True: bytes = stream.read(1024*1024) if not bytes: break h.update(bytes) return h.hexdigest() def sha1_hash_file(path): return lib_hash_fil...
23.458824
55
0.675025
309
1,994
4.126214
0.229773
0.100392
0.075294
0.053333
0.201569
0.183529
0.183529
0.142745
0
0
0
0.044311
0.162487
1,994
84
56
23.738095
0.719162
0.01003
0
0.171429
0
0
0.083164
0
0
0
0.015213
0
0.014286
0
null
null
0
0.071429
null
null
0.042857
0
0
0
null
0
0
0
0
0
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
2b9a383e24e5d4a41702986edf7f6ba4a61bd555
578
py
Python
EXC/CW2/task4-3/aggregate-combiner.py
easyCZ/UoE-Projects
7651c8caf329c4f7b4562eba441bfc24124cfcfd
[ "BSD-2-Clause" ]
null
null
null
EXC/CW2/task4-3/aggregate-combiner.py
easyCZ/UoE-Projects
7651c8caf329c4f7b4562eba441bfc24124cfcfd
[ "BSD-2-Clause" ]
1
2022-02-23T07:34:53.000Z
2022-02-23T07:34:53.000Z
EXC/CW2/task4-3/aggregate-combiner.py
easyCZ/UoE-Projects
7651c8caf329c4f7b4562eba441bfc24124cfcfd
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python # aggregate-combiner.py import sys answers = [] last_user_id = None MEM_THRESHOLD = 1024 * 1024 * 1024 # 1 GB def write(user, entries): if len(entries) > 0: print('{0}\t{1}'.format(user, ','.join(entries))) for line in sys.stdin: user_id, answer_id = line.strip().split('\t', 1) ...
22.230769
92
0.65917
90
578
4
0.433333
0.166667
0.194444
0.094444
0.211111
0
0
0
0
0
0
0.036876
0.202422
578
25
93
23.12
0.744035
0.074394
0
0.25
0
0
0.020677
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.125
0.0625
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b9edcb37a923970861e233477ef7c666f955383
601
py
Python
active_code_base/neo4jAPI/rest_server.py
justin-napolitano/USSupremeCourtMetaDataGraph
d2d53915cdba33848bdd81f661d3c496ca518966
[ "Apache-2.0" ]
null
null
null
active_code_base/neo4jAPI/rest_server.py
justin-napolitano/USSupremeCourtMetaDataGraph
d2d53915cdba33848bdd81f661d3c496ca518966
[ "Apache-2.0" ]
null
null
null
active_code_base/neo4jAPI/rest_server.py
justin-napolitano/USSupremeCourtMetaDataGraph
d2d53915cdba33848bdd81f661d3c496ca518966
[ "Apache-2.0" ]
null
null
null
from neo4j import GraphDatabase,basic_auth from neo4j.expections import ServiceUnavailable import neo_native_app as neo4j import json from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, Docker!' @app.route('/init_neo_driver') def db_init(): bolt ="bolt://127.0.0.0:7...
22.259259
52
0.71381
84
601
4.821429
0.5
0.024691
0.022222
0
0
0
0
0
0
0
0
0.045365
0.156406
601
26
53
23.115385
0.753452
0
0
0
0
0
0.154742
0.034942
0
0
0
0
0
1
0.1
false
0.1
0.25
0.05
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2bab34cabee96c50bbb6c626cf15d0541229eed3
376
py
Python
Gyandaan2/appointments/migrations/0023_remove_appointment_student_id.py
siddanthshetty000/Gyandaan
c65e3e021b84535dc86257e1c0d8152fdeda2269
[ "Apache-2.0" ]
null
null
null
Gyandaan2/appointments/migrations/0023_remove_appointment_student_id.py
siddanthshetty000/Gyandaan
c65e3e021b84535dc86257e1c0d8152fdeda2269
[ "Apache-2.0" ]
null
null
null
Gyandaan2/appointments/migrations/0023_remove_appointment_student_id.py
siddanthshetty000/Gyandaan
c65e3e021b84535dc86257e1c0d8152fdeda2269
[ "Apache-2.0" ]
null
null
null
# Generated by Django 4.0.1 on 2022-01-26 09:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('appointments', '0022_alter_appointment_end_time_and_more'), ] operations = [ migrations.RemoveField( model_name='appointmen...
20.888889
70
0.598404
39
376
5.564103
0.846154
0
0
0
0
0
0
0
0
0
0
0.072519
0.303191
376
17
71
22.117647
0.755725
0.119681
0
0
1
0
0.233974
0.128205
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2bb0744556e03bcafe147ce0dc50dc9bf26d2ee6
5,724
py
Python
ems_cli/commands/create_hls_stream.py
tomi77/ems-cli
4e249b58af03416f931264f7de56eadeb4b2bcf5
[ "MIT" ]
null
null
null
ems_cli/commands/create_hls_stream.py
tomi77/ems-cli
4e249b58af03416f931264f7de56eadeb4b2bcf5
[ "MIT" ]
null
null
null
ems_cli/commands/create_hls_stream.py
tomi77/ems-cli
4e249b58af03416f931264f7de56eadeb4b2bcf5
[ "MIT" ]
null
null
null
import os from . import BaseCommand from ..i18n import _ class Command(BaseCommand): name = os.path.splitext(os.path.basename(__file__))[0] description = _('create an HTTP Live Stream (HLS) out of an existing ' 'H.264/AAC stream') quiet_fields = { 'localStreamNames': _('loca...
48.10084
80
0.570231
668
5,724
4.796407
0.305389
0.081149
0.105493
0.170412
0.182584
0.090512
0.040574
0
0
0
0
0.01118
0.29682
5,724
118
81
48.508475
0.784845
0
0
0.236364
0
0
0.427673
0.015898
0
0
0
0
0
1
0.018182
false
0
0.027273
0
0.081818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2bb4fcba3285a569396ccc8016820835689216c0
1,368
py
Python
tests/helpers.py
oarepo/oarepo-fsm
f28471e10d0419e282dcc69744dbc7b2275d46b8
[ "MIT" ]
null
null
null
tests/helpers.py
oarepo/oarepo-fsm
f28471e10d0419e282dcc69744dbc7b2275d46b8
[ "MIT" ]
9
2020-06-19T16:34:08.000Z
2021-04-19T16:09:53.000Z
tests/helpers.py
oarepo/oarepo-fsm
f28471e10d0419e282dcc69744dbc7b2275d46b8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2020 CESNET. # # oarepo-fsm is free software; you can redistribute it and/or modify it under # the terms of the MIT License; see LICENSE file for more details. """Pytest helper methods.""" import copy import uuid from flask_security import login_user from invenio_db import db...
25.811321
77
0.703947
182
1,368
5.054945
0.5
0.048913
0.032609
0
0
0
0
0
0
0
0
0.00546
0.196637
1,368
52
78
26.307692
0.831665
0.207602
0
0
0
0
0.015123
0
0
0
0
0
0.033333
1
0.166667
false
0
0.233333
0
0.566667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
2bd921498006ca8970775bb2c1edd726ac7ac468
2,201
py
Python
leetcode/python/wildcardMatching.py
yaoxuanw007/forfun
db50bd40852d49bd68bae03ceb43cb4a901c6d37
[ "MIT" ]
null
null
null
leetcode/python/wildcardMatching.py
yaoxuanw007/forfun
db50bd40852d49bd68bae03ceb43cb4a901c6d37
[ "MIT" ]
null
null
null
leetcode/python/wildcardMatching.py
yaoxuanw007/forfun
db50bd40852d49bd68bae03ceb43cb4a901c6d37
[ "MIT" ]
null
null
null
# https://oj.leetcode.com/problems/wildcard-matching/ class Solution: @classmethod def _memorize(cls, f): def helper(self, s, p): key = s + '|' + p if key not in self.memo: self.memo[key] = f(self, s, p) return self.memo[key] return helper def __init__(self): self.memo = {}...
26.841463
93
0.548841
323
2,201
3.721362
0.291022
0.013311
0.075707
0.049917
0.168885
0
0
0
0
0
0
0.022407
0.290323
2,201
81
94
27.17284
0.747119
0.248523
0
0.181818
0
0
0.022616
0
0
0
0
0
0
0
null
null
0
0
null
null
0.127273
0
0
0
null
0
0
0
0
0
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
2bd961445c34c74c0a9eb7f394997d458e3c36e7
2,138
py
Python
python/nano/src/bigdl/nano/deps/neural_compressor/pytorch/utils.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
python/nano/src/bigdl/nano/deps/neural_compressor/pytorch/utils.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
python/nano/src/bigdl/nano/deps/neural_compressor/pytorch/utils.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
# # Copyright 2016 The BigDL Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.508772
92
0.597755
269
2,138
4.72119
0.509294
0.047244
0.020472
0.025197
0
0
0
0
0
0
0
0.009722
0.326473
2,138
56
93
38.178571
0.872222
0.409261
0
0.166667
0
0
0.176613
0
0
0
0
0.017857
0
1
0.066667
false
0
0.066667
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2be994b7f975fe87a3e9a788b292a3f07f0cb749
482
py
Python
apps/boot_blink_post.py
ssi5/circuitpython
34ff0d343b8918ecfdccfd8e54c0877180ad9740
[ "MIT" ]
null
null
null
apps/boot_blink_post.py
ssi5/circuitpython
34ff0d343b8918ecfdccfd8e54c0877180ad9740
[ "MIT" ]
null
null
null
apps/boot_blink_post.py
ssi5/circuitpython
34ff0d343b8918ecfdccfd8e54c0877180ad9740
[ "MIT" ]
null
null
null
# welcome blink and post import time import board import digitalio import microcontroller led = digitalio.DigitalInOut(board.LED) led.direction = digitalio.Direction.OUTPUT for x in range(3): led.value = False time.sleep(0.2) led.value = True time.sleep(0.2) print("This is a {}, running at {:.1f} MH...
25.368421
113
0.732365
72
482
4.902778
0.611111
0.045326
0.056657
0.062323
0
0
0
0
0
0
0
0.033816
0.141079
482
18
114
26.777778
0.816425
0.045643
0
0.153846
0
0
0.161572
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
920816e07c5759417fa72229f7b01ce5c519d585
1,466
py
Python
setup.py
koning/maestrowf
290b6780ab0c95c2b0927663551f1f91e879f8d4
[ "MIT" ]
null
null
null
setup.py
koning/maestrowf
290b6780ab0c95c2b0927663551f1f91e879f8d4
[ "MIT" ]
null
null
null
setup.py
koning/maestrowf
290b6780ab0c95c2b0927663551f1f91e879f8d4
[ "MIT" ]
null
null
null
from maestrowf import __version__ from setuptools import setup, find_packages setup( name='maestrowf', description='A tool to easily orchestrate general computational workflows ' 'both locally and on supercomputers.', version=__version__, author='Francesco Di Natale', maintainer='Francesco Di Natale', au...
30.541667
77
0.653479
159
1,466
5.893082
0.610063
0.08111
0.106724
0.110993
0
0
0
0
0
0
0
0.023392
0.183493
1,466
47
78
31.191489
0.759399
0
0
0.043478
0
0.021739
0.592769
0.046385
0
0
0
0
0
1
0
true
0
0.043478
0
0.043478
0
0
0
0
null
0
0
0
0
0
0
0
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
9215145b51d72c2317cfa268d80567e333b4f845
7,906
py
Python
forml/testing/_spec.py
formlio/forml
fd070da74a0107e37c0c643dd8df8680618fef74
[ "Apache-2.0" ]
78
2020-11-04T18:27:20.000Z
2022-02-07T03:32:53.000Z
forml/testing/_spec.py
formlio/forml
fd070da74a0107e37c0c643dd8df8680618fef74
[ "Apache-2.0" ]
3
2020-11-05T20:42:15.000Z
2021-01-13T19:57:01.000Z
forml/testing/_spec.py
formlio/forml
fd070da74a0107e37c0c643dd8df8680618fef74
[ "Apache-2.0" ]
7
2020-11-18T17:18:15.000Z
2021-03-24T05:14:29.000Z
# 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 # "License"); you may not u...
35.612613
114
0.634834
907
7,906
5.432194
0.190739
0.036533
0.012787
0.017252
0.236452
0.217577
0.180028
0.16095
0.138015
0.128882
0
0.000674
0.249178
7,906
221
115
35.773756
0.829346
0.229067
0
0.235294
0
0
0.073618
0
0
0
0
0
0
1
0.193277
false
0
0.05042
0.042017
0.521008
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
9218ab83d1d2ee572df4715f9f7a93fe6c1991f0
1,905
py
Python
ms2ldaviz/migrate_decomp_db.py
sdrogers/ms2ldaviz
ba311bc80891da595d2d6cef4abda95ab583c201
[ "MIT" ]
6
2017-10-27T02:37:55.000Z
2020-11-07T15:43:57.000Z
ms2ldaviz/migrate_decomp_db.py
sdrogers/ms2ldaviz
ba311bc80891da595d2d6cef4abda95ab583c201
[ "MIT" ]
134
2016-07-20T08:35:34.000Z
2020-07-22T13:51:49.000Z
ms2ldaviz/migrate_decomp_db.py
sdrogers/ms2ldaviz
ba311bc80891da595d2d6cef4abda95ab583c201
[ "MIT" ]
9
2016-07-19T15:39:27.000Z
2020-02-11T16:13:14.000Z
import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ms2ldaviz.settings_simon") import django django.setup() from basicviz.models import Experiment,Document from decomposition.models import FeatureSet,MotifSet,GlobalMotif,GlobalMotifsToSets,Decomposition,DocumentGlobalMass2Motif if __name__ == '__main__': # f...
30.238095
122
0.746457
236
1,905
5.872881
0.313559
0.021645
0.049784
0.038961
0.064935
0
0
0
0
0
0
0.011364
0.12231
1,905
62
123
30.725806
0.817584
0.032546
0
0.155556
0
0
0.193478
0.025
0
0
0
0
0
1
0
false
0
0.088889
0
0.088889
0.422222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
9219011cb4da371cd24e2b86c75ee95c35d59f2f
1,133
py
Python
strings.py
frizensami/sg-blood-stocks-bot
7783399330dcdf04870be85d004323a5c516a29a
[ "MIT" ]
1
2022-01-25T02:54:31.000Z
2022-01-25T02:54:31.000Z
strings.py
frizensami/sg-blood-stocks-bot
7783399330dcdf04870be85d004323a5c516a29a
[ "MIT" ]
4
2021-06-07T12:19:32.000Z
2021-06-09T05:02:36.000Z
strings.py
frizensami/sgbloodstocksbot
7783399330dcdf04870be85d004323a5c516a29a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 HELLO_MSG = """Welcome to the SG Blood Stocks Bot! We update you on the blood stock levels of the Singapore Red Cross. You can subscribe (/subscribe) to updates for specific blood types so you know when to donate. You can check for the latest change (/changes) in blood stock levels over the p...
29.815789
118
0.739629
186
1,133
4.494624
0.569892
0.041866
0.057416
0.038278
0.062201
0.062201
0
0
0
0
0
0.006237
0.150927
1,133
37
119
30.621622
0.859667
0.018535
0
0.105263
0
0.105263
0.891089
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a6022344a3d4840a64b5a3612dfb2d5eecb6808c
19,526
py
Python
ooni/runner.py
meejah/ooni-probe
f46dc5879da409763718cfa5aa2635ddf5332a54
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ooni/runner.py
meejah/ooni-probe
f46dc5879da409763718cfa5aa2635ddf5332a54
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ooni/runner.py
meejah/ooni-probe
f46dc5879da409763718cfa5aa2635ddf5332a54
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import os import sys import time import inspect import traceback import itertools import random import yaml from twisted.python import reflect, usage from twisted.internet import defer from twisted.trial.runner import filenameToModule from twisted.internet import reactor, threads from txtorcon import TorProtocolFact...
32.816807
93
0.678019
2,440
19,526
5.258607
0.182787
0.025251
0.027278
0.01473
0.214403
0.153456
0.104123
0.076378
0.060167
0.030239
0
0.002225
0.240449
19,526
594
94
32.872054
0.862922
0.01731
0
0.18306
0
0
0.104529
0
0
0
0
0
0
0
null
null
0.010929
0.060109
null
null
0.013661
0
0
0
null
0
0
0
0
0
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
a6037f9a95ecfd02fa62dc87371fde25d3dc01c6
3,308
py
Python
scripts/sdk_xml/xml_stub.py
vzaccaria/most
2b3b8768a960245e433a5a733cba6f08451e3fec
[ "Unlicense" ]
null
null
null
scripts/sdk_xml/xml_stub.py
vzaccaria/most
2b3b8768a960245e433a5a733cba6f08451e3fec
[ "Unlicense" ]
null
null
null
scripts/sdk_xml/xml_stub.py
vzaccaria/most
2b3b8768a960245e433a5a733cba6f08451e3fec
[ "Unlicense" ]
null
null
null
# Stub script for converting XML input values into command line parameters and writing out # and XML file. # # This script expects two parameters, as a specific: # --xml_system_configuration=input_filename.xml # --xml_system_metrics=output_filename.xml # # @author Sivieri Alessandro, Vittorio Zaccaria (2010/20...
26.253968
150
0.680169
441
3,308
4.981859
0.401361
0.032772
0.040055
0.017751
0.064634
0.064634
0.064634
0.064634
0.064634
0.064634
0
0.015356
0.173216
3,308
125
151
26.464
0.787934
0.191657
0
0.058824
0
0
0.211797
0.077593
0
0
0
0
0
0
null
null
0.011765
0.070588
null
null
0.047059
0
0
0
null
0
0
0
0
0
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
a60492a029f93b9e4059d6e51e8cafafd4226486
768
py
Python
rptools/rpthermo/Args.py
niraito/rptools
5c631c6cc4cd8cb497ccf573891235b36dfde65f
[ "MIT" ]
null
null
null
rptools/rpthermo/Args.py
niraito/rptools
5c631c6cc4cd8cb497ccf573891235b36dfde65f
[ "MIT" ]
null
null
null
rptools/rpthermo/Args.py
niraito/rptools
5c631c6cc4cd8cb497ccf573891235b36dfde65f
[ "MIT" ]
null
null
null
from argparse import ArgumentParser DEFAULT_pH = 7.5 DEFAULT_pMg = 3.0 DEFAULT_ionic_strength = 0.25 def add_arguments(parser: ArgumentParser) -> ArgumentParser: # positional arguments parser.add_argument('infile', type=str, help='pathway as rpSBML file') parser.add_argument('outfile', type=str, hel...
24
85
0.641927
88
768
5.409091
0.397727
0.113445
0.214286
0.144958
0
0
0
0
0
0
0
0.012238
0.255208
768
31
86
24.774194
0.81993
0.119792
0
0.26087
0
0
0.133929
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.130435
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a60930ad0dd78d95d72937ed81ded6b37a3f470b
501
py
Python
foodcartapp/serializers.py
savilard/delivery-drf-api
e9d7c17120f37b591bb1e305a8516115f5f92a75
[ "MIT" ]
null
null
null
foodcartapp/serializers.py
savilard/delivery-drf-api
e9d7c17120f37b591bb1e305a8516115f5f92a75
[ "MIT" ]
1
2022-02-10T14:02:58.000Z
2022-02-10T14:02:58.000Z
foodcartapp/serializers.py
savilard/delivery-drf-api
e9d7c17120f37b591bb1e305a8516115f5f92a75
[ "MIT" ]
null
null
null
from rest_framework.serializers import ModelSerializer from foodcartapp.models import Order, OrderProduct class OrderProductSerializer(ModelSerializer): class Meta: model = OrderProduct fields = ['id', 'product', 'quantity'] class OrderSerializer(ModelSerializer): products = OrderProductSer...
27.833333
86
0.714571
47
501
7.553191
0.659574
0.050704
0.078873
0
0
0
0
0
0
0
0
0
0.181637
501
17
87
29.470588
0.865854
0
0
0.181818
0
0
0.123753
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a60a74a8bdf1655be820f9cfcac1059f5d4956f4
882
py
Python
funcionario/views.py
Moisestuli/karrata
962ce0c573214bfc83720727c9cacae823a8c372
[ "MIT" ]
null
null
null
funcionario/views.py
Moisestuli/karrata
962ce0c573214bfc83720727c9cacae823a8c372
[ "MIT" ]
null
null
null
funcionario/views.py
Moisestuli/karrata
962ce0c573214bfc83720727c9cacae823a8c372
[ "MIT" ]
null
null
null
from django.shortcuts import render, get_object_or_404 from django.http import HttpResponse, HttpResponseRedirect from django.contrib.auth.models import User from funcionario.forms import FuncionarioForm from configuracao.models import Configuracao def funcionario_eliminar(request, username = None): user = User....
26.727273
60
0.717687
103
882
6.029126
0.407767
0.048309
0.05314
0.067633
0
0
0
0
0
0
0
0.012397
0.176871
882
32
61
27.5625
0.842975
0
0
0
0
0
0.052334
0.035361
0
0
0
0
0
1
0.176471
false
0
0.294118
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
a60d2023dee851677b4f026e9f20232d3cae3173
2,571
py
Python
ec2stack/secretkey_manager.py
sureshanaparti/cloudstack-ec2stack
8e07435d3d04357995f2a5d337adef62ecbfdd8d
[ "Apache-2.0" ]
13
2015-05-06T13:38:13.000Z
2021-11-09T21:39:01.000Z
ec2stack/secretkey_manager.py
sureshanaparti/cloudstack-ec2stack
8e07435d3d04357995f2a5d337adef62ecbfdd8d
[ "Apache-2.0" ]
3
2015-08-21T17:31:20.000Z
2021-07-07T08:39:11.000Z
ec2stack/secretkey_manager.py
sureshanaparti/cloudstack-ec2stack
8e07435d3d04357995f2a5d337adef62ecbfdd8d
[ "Apache-2.0" ]
17
2015-07-24T06:00:59.000Z
2021-11-09T21:38:52.000Z
#!/usr/bin/env python # encoding: utf-8 # # 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 Licens...
26.505155
80
0.698172
317
2,571
5.599369
0.470032
0.033803
0.028732
0.018028
0.064225
0.064225
0.064225
0.064225
0.064225
0.064225
0
0.007489
0.220926
2,571
96
81
26.78125
0.878682
0.31233
0
0.179487
0
0
0.278351
0.036479
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.025641
0
0
0
null
0
0
0
0
0
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
a6105ef939a3d47b3dd6af778e4ee27a4e38dd46
2,436
py
Python
src/keywords.py
sandialabs/nnsd-common
c106799d06276b5a980b790b5249e66e459ce682
[ "MIT" ]
3
2019-07-16T21:10:18.000Z
2021-09-01T03:01:23.000Z
src/keywords.py
sandialabs/nnsd-common
c106799d06276b5a980b790b5249e66e459ce682
[ "MIT" ]
9
2019-04-15T21:46:21.000Z
2021-02-09T16:17:24.000Z
src/keywords.py
sandialabs/nnsd-common
c106799d06276b5a980b790b5249e66e459ce682
[ "MIT" ]
1
2020-03-03T14:41:25.000Z
2020-03-03T14:41:25.000Z
#!/usr/bin/python3 # Gets all files below where this script is run, and checks to see if any contain # the specified keywords. A report is generated at the end. # # Files with certain extensions are excluded, and directories with certain names are excluded. # # The actual keywords are kept in a separate file so...
36.358209
193
0.619458
325
2,436
4.544615
0.461538
0.048747
0.02979
0.020311
0.028436
0
0
0
0
0
0
0.004417
0.256568
2,436
66
194
36.909091
0.811154
0.238506
0
0.04878
1
0
0.105856
0
0
0
0
0
0
1
0.097561
false
0.02439
0.02439
0
0.146341
0.04878
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
a615cb65339565e253a5ef2e1e9fe7fc3d78dd10
806
py
Python
python-leetcode/it_03.03.py
MDGSF/interviews
9faa9aacdb0cfbb777d4d3d4d1b14b55ca2c9f76
[ "MIT" ]
12
2020-01-16T08:55:27.000Z
2021-12-02T14:52:39.000Z
python-leetcode/it_03.03.py
MDGSF/interviews
9faa9aacdb0cfbb777d4d3d4d1b14b55ca2c9f76
[ "MIT" ]
null
null
null
python-leetcode/it_03.03.py
MDGSF/interviews
9faa9aacdb0cfbb777d4d3d4d1b14b55ca2c9f76
[ "MIT" ]
1
2019-12-11T12:00:38.000Z
2019-12-11T12:00:38.000Z
class StackOfPlates: def __init__(self, cap: int): self.stack = [] self.cap = cap def push(self, val: int) -> None: if len(self.stack) == 0 or len(self.stack[-1]) >= self.cap: self.stack.append([]) last = self.stack[-1] last.append(val) def pop(self) -> int: while len(self.stack) ...
25.1875
68
0.600496
124
806
3.854839
0.290323
0.24477
0.175732
0.087866
0.156904
0.096234
0
0
0
0
0
0.024272
0.233251
806
31
69
26
0.749191
0.188586
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.190476
false
0
0
0
0.47619
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
a615cdf949b68109cdb350bb44c0f837323c64f3
3,580
py
Python
siebenapp/ui/goalwidget.py
ahitrin/SiebenApp
1e3c8b9d90b6bed4efa28a9a9fa65ed37525c4ae
[ "MIT" ]
14
2016-11-26T08:35:19.000Z
2022-03-01T05:20:11.000Z
siebenapp/ui/goalwidget.py
ahitrin/SiebenApp
1e3c8b9d90b6bed4efa28a9a9fa65ed37525c4ae
[ "MIT" ]
98
2016-11-28T08:58:48.000Z
2022-03-18T17:59:04.000Z
siebenapp/ui/goalwidget.py
ahitrin/SiebenApp
1e3c8b9d90b6bed4efa28a9a9fa65ed37525c4ae
[ "MIT" ]
1
2017-12-20T12:42:18.000Z
2017-12-20T12:42:18.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui/goal.ui' # # Created by: PyQt5 UI code generator 5.8.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_GoalBody(object): def setupUi(self, GoalBody): GoalBody.set...
43.13253
88
0.708101
339
3,580
7.351032
0.250737
0.04695
0.042135
0.040931
0.349117
0.319021
0.287721
0.287721
0.287721
0.252006
0
0.011855
0.198883
3,580
82
89
43.658537
0.857043
0.050279
0
0.242857
1
0
0.033599
0
0
0
0
0
0
1
0.028571
false
0
0.014286
0
0.057143
0
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
a62b50d2b959f583c0aa23c6919ec3d633f00676
1,579
py
Python
tools/software-tool-chain/instruction_coding.py
jufo-ufo/Breadboard-Computer
f19089f88adaa13c53dfe79571ff90b0de9a34a3
[ "Apache-2.0" ]
null
null
null
tools/software-tool-chain/instruction_coding.py
jufo-ufo/Breadboard-Computer
f19089f88adaa13c53dfe79571ff90b0de9a34a3
[ "Apache-2.0" ]
null
null
null
tools/software-tool-chain/instruction_coding.py
jufo-ufo/Breadboard-Computer
f19089f88adaa13c53dfe79571ff90b0de9a34a3
[ "Apache-2.0" ]
null
null
null
from typing import Dict, Tuple INSTRUCTIONS: Dict[str, Tuple[str, str, str, int]] = { "nop": ("", "", "", 0x00), "mov": ("r", "", "rc", 0x01), "add": ("r", "r", "rc", 0x02), "sub": ("r", "r", "rc", 0x03), "mul": ("r", "r", "rc", 0x04), "div": ("r", "r", "rc", 0x05), "xor": ("r", "r", "rc", ...
29.240741
60
0.329322
179
1,579
2.899441
0.586592
0.115607
0.084778
0
0
0
0
0
0
0
0
0.100255
0.254592
1,579
53
61
29.792453
0.340697
0
0
0
0
0
0.166561
0
0
0
0.10133
0
0
1
0
false
0
0.021277
0
0.021277
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a637253ad3b575ae1f1d91f3dfdeda8b63c8e5e1
14,583
py
Python
gui.py
tea321000/image_semantic_segmentation
80409858e8d44c1b24695035abf3a68fd83e9574
[ "MIT" ]
14
2020-06-20T01:52:56.000Z
2021-12-11T01:13:23.000Z
gui.py
tea321000/image_semantic_segmentation
80409858e8d44c1b24695035abf3a68fd83e9574
[ "MIT" ]
1
2020-12-28T13:32:19.000Z
2020-12-28T13:32:19.000Z
gui.py
tea321000/image_semantic_segmentation
80409858e8d44c1b24695035abf3a68fd83e9574
[ "MIT" ]
1
2020-10-15T11:57:45.000Z
2020-10-15T11:57:45.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'gui4.ui' # # Created by: PyQt5 UI code generator 5.15.0 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, ...
55.873563
149
0.696907
1,644
14,583
5.995742
0.138686
0.041392
0.030334
0.060262
0.422441
0.344425
0.172568
0.125495
0.101958
0.095972
0
0.021547
0.185284
14,583
260
150
56.088462
0.808097
0.018446
0
0.081301
1
0
0.095205
0.028589
0
0
0
0
0
1
0.00813
false
0
0.004065
0
0.01626
0
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
a63d599dea6045877e02b25d4ad286249a4128fc
624
py
Python
racket_stringer/settings/development.py
rbennett91/racket_stringer
37cc583003ea924294955a6331bf82d60783c709
[ "PostgreSQL" ]
null
null
null
racket_stringer/settings/development.py
rbennett91/racket_stringer
37cc583003ea924294955a6331bf82d60783c709
[ "PostgreSQL" ]
6
2021-03-31T19:45:30.000Z
2022-02-10T11:58:21.000Z
racket_stringer/settings/development.py
rbennett91/racket_stringer
37cc583003ea924294955a6331bf82d60783c709
[ "PostgreSQL" ]
null
null
null
from .base import * # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = os.environ['SECRET_KEY'] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = [os.environ['ALLOWED_HOSTS']] # Database # https://docs.djangoproject.com/en/2.2/ref/settings/#...
26
66
0.647436
81
624
4.876543
0.555556
0.159494
0.139241
0
0
0
0
0
0
0
0
0.00396
0.190705
624
23
67
27.130435
0.778218
0.317308
0
0
0
0
0.304762
0.069048
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a64256e4855190c8d496f99dade4331c334760ed
7,159
py
Python
tests/test_training.py
Jimmy2027/MMVAE_mnist_svhn_text
e6e74059bd5feefc0af088f7b1abc31b0e9f2ab7
[ "MIT" ]
null
null
null
tests/test_training.py
Jimmy2027/MMVAE_mnist_svhn_text
e6e74059bd5feefc0af088f7b1abc31b0e9f2ab7
[ "MIT" ]
24
2021-11-15T14:22:08.000Z
2022-02-28T14:30:23.000Z
tests/test_training.py
Jimmy2027/MMVAE_mnist_svhn_text
e6e74059bd5feefc0af088f7b1abc31b0e9f2ab7
[ "MIT" ]
null
null
null
import tempfile from pathlib import Path import pytest from norby.utils import get_readable_elapsed_time from mmvae_hub.celeba.CelebaTrainer import CelebaTrainer from mmvae_hub.evaluation.eval_metrics.coherence import test_generation from mmvae_hub.mimic.MimicTrainer import MimicTrainer from mmvae_hub.mnistsvhntext.m...
46.187097
118
0.564744
717
7,159
5.380753
0.196653
0.062986
0.074132
0.085537
0.70451
0.617418
0.587092
0.550285
0.508813
0.468377
0
0.00259
0.352703
7,159
154
119
46.487013
0.829953
0.282302
0
0.391892
0
0
0.091255
0.009606
0
0
0
0.025974
0
1
0.094595
false
0
0.162162
0
0.256757
0.013514
0
0
0
null
0
0
0
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
a643b7cb05c62d6f05038a65215f5b01cb85f51d
1,284
py
Python
histomicstk/features/__init__.py
basanto/HistomicsTK
f3dbd93a7f31c7825574f9ccf0b86e09e9fee360
[ "Apache-2.0" ]
249
2016-04-04T12:00:54.000Z
2022-03-31T15:46:50.000Z
histomicstk/features/__init__.py
basanto/HistomicsTK
f3dbd93a7f31c7825574f9ccf0b86e09e9fee360
[ "Apache-2.0" ]
616
2016-01-13T21:06:01.000Z
2022-03-19T00:06:28.000Z
histomicstk/features/__init__.py
basanto/HistomicsTK
f3dbd93a7f31c7825574f9ccf0b86e09e9fee360
[ "Apache-2.0" ]
109
2016-01-21T16:14:34.000Z
2022-03-10T00:59:06.000Z
""" This package contains functions to computing a variety of image-based features that quantify the appearance and/or morphology of an objects/regions in the image. These are needed for classifying objects (e.g. nuclei) and regions (e.g. tissues) found in histopathology images. """ # make functions available at the p...
38.909091
82
0.82866
166
1,284
6.096386
0.415663
0.076087
0.145257
0.065217
0.088933
0
0
0
0
0
0
0
0.126168
1,284
32
83
40.125
0.901961
0.369159
0
0
0
0
0.245307
0.201502
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1