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
bfc4c4ec186ec83ad923e2b9cf71b87520c6a873
755
py
Python
My_Account/migrations/0006_auto_20200426_1701.py
CHESyrian/Syrians
8376e9bed6e3a03f536d8aacd523d630f6bc4345
[ "MIT" ]
null
null
null
My_Account/migrations/0006_auto_20200426_1701.py
CHESyrian/Syrians
8376e9bed6e3a03f536d8aacd523d630f6bc4345
[ "MIT" ]
null
null
null
My_Account/migrations/0006_auto_20200426_1701.py
CHESyrian/Syrians
8376e9bed6e3a03f536d8aacd523d630f6bc4345
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-04-26 14:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('My_Account', '0005_auto_20200426_1643'), ] operations = [ migrations.AlterField( model_name='profile_model', name='C...
31.458333
147
0.664901
84
755
5.690476
0.488095
0.075314
0.100418
0.121339
0.502092
0.502092
0.380753
0
0
0
0
0.052991
0.225166
755
23
148
32.826087
0.764103
0.059603
0
0.352941
1
0
0.347458
0.262712
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bfc92f5dcf23f382d12d6bd9cbb5c26b13f0c728
268
py
Python
PythonBehave/features/environment.py
adamd1985/BDDArticle
be1f7fd67d8e195c31864622966ee88d3a2e257a
[ "Apache-2.0" ]
null
null
null
PythonBehave/features/environment.py
adamd1985/BDDArticle
be1f7fd67d8e195c31864622966ee88d3a2e257a
[ "Apache-2.0" ]
null
null
null
PythonBehave/features/environment.py
adamd1985/BDDArticle
be1f7fd67d8e195c31864622966ee88d3a2e257a
[ "Apache-2.0" ]
null
null
null
from flaskr import app def before_feature(context, feature): flask_app = app.create_app() flask_app.testing = True context.client = flask_app.test_client() def before_scenario(context, scenario): context.users = list() context.results = list()
20.615385
44
0.716418
35
268
5.285714
0.514286
0.12973
0
0
0
0
0
0
0
0
0
0
0.182836
268
12
45
22.333333
0.844749
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bfd00740f86fba0d1df5af433b0fc3f4e9436cc0
3,962
py
Python
lambda/ec2-event-processor/handler.py
mattmcclean/mlops-ray-cdk
202e127a11ac84749ec45b4d345e2557bf3e8121
[ "Apache-2.0" ]
null
null
null
lambda/ec2-event-processor/handler.py
mattmcclean/mlops-ray-cdk
202e127a11ac84749ec45b4d345e2557bf3e8121
[ "Apache-2.0" ]
null
null
null
lambda/ec2-event-processor/handler.py
mattmcclean/mlops-ray-cdk
202e127a11ac84749ec45b4d345e2557bf3e8121
[ "Apache-2.0" ]
null
null
null
import os import json import boto3 # create the boto3 clients ec2 = boto3.client('ec2') elbv2 = boto3.client('elbv2') # Get the ALB Target Group ARNs MLFLOW_TARGET_GROUP_ARN=os.getenv('MLFLOW_TARGET_GROUP_ARN') TENSORBOARD_TARGET_GROUP_ARN=os.getenv('TENSORBOARD_TARGET_GROUP_ARN') RAY_DASHBOARD_TARGET_GROUP_ARN=os.g...
37.377358
115
0.692075
503
3,962
5.115308
0.180915
0.218033
0.168675
0.037311
0.474155
0.405752
0.385542
0.271279
0.211426
0.211426
0
0.011879
0.19258
3,962
105
116
37.733333
0.792435
0.033317
0
0.090909
0
0
0.306667
0.133856
0
0
0
0
0
1
0.068182
false
0
0.034091
0
0.125
0.238636
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
bfd85a1488c8ca4d9abcbfd556e3a3f3dfa1b395
1,877
py
Python
trainNaiveBayes.py
tianxiangchen2015/bayes-Apache-spark-reuters
705a05a1d8dddef27c4bdd68c08174996822ca3a
[ "Apache-2.0" ]
null
null
null
trainNaiveBayes.py
tianxiangchen2015/bayes-Apache-spark-reuters
705a05a1d8dddef27c4bdd68c08174996822ca3a
[ "Apache-2.0" ]
null
null
null
trainNaiveBayes.py
tianxiangchen2015/bayes-Apache-spark-reuters
705a05a1d8dddef27c4bdd68c08174996822ca3a
[ "Apache-2.0" ]
null
null
null
from pyspark.mllib.feature import HashingTF, IDF from pyspark.mllib.regression import LabeledPoint from pyspark.mllib.classification import NaiveBayes import os.path os.environ["SPARK_HOME"] = "/usr/local/spark" os.environ["PYSPARK_PYTHON"]="/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7" from p...
34.127273
101
0.726692
271
1,877
5.01845
0.439114
0.032353
0.035294
0.023529
0.029412
0.029412
0
0
0
0
0
0.018519
0.136921
1,877
55
102
34.127273
0.820988
0.078316
0
0
0
0.028571
0.132818
0.064652
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.114286
0
0
0
null
0
0
0
0
0
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
449d14cc3d79279400a714ef3f44c1383e23b569
2,937
py
Python
main.py
danialre/ise_ipsk
a11929c19a7fcff7311cea2f457a6eac1823d77b
[ "Apache-2.0" ]
null
null
null
main.py
danialre/ise_ipsk
a11929c19a7fcff7311cea2f457a6eac1823d77b
[ "Apache-2.0" ]
null
null
null
main.py
danialre/ise_ipsk
a11929c19a7fcff7311cea2f457a6eac1823d77b
[ "Apache-2.0" ]
null
null
null
import traceback, logging, signal, time, ssl from functools import partial from tornado import httpserver, ioloop, log from tornado.web import Application import settings, isetools, isehandlers, ruckushandlers PORT = 2443 def create_server(serverlist, username, password, emailer=None, certfile=None, keyfile=...
40.232877
90
0.706844
353
2,937
5.736544
0.396601
0.017778
0.044444
0.061728
0.124938
0.051852
0
0
0
0
0
0.003378
0.193735
2,937
72
91
40.791667
0.851774
0.113041
0
0.037736
0
0
0.149167
0
0
0
0
0
0
1
0.075472
false
0.09434
0.09434
0
0.207547
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
44a242250b25eed8bf545b060d0762a2f0751de5
2,949
py
Python
etc/pip_install/setup.py
hmost1/incubator-toree
f58a86f2a9466c122d52ed5abd8122c8ce40b2c5
[ "Apache-2.0" ]
31
2017-03-02T09:00:22.000Z
2021-03-27T12:14:46.000Z
etc/pip_install/setup.py
hmost1/incubator-toree
f58a86f2a9466c122d52ed5abd8122c8ce40b2c5
[ "Apache-2.0" ]
3
2016-11-03T16:05:08.000Z
2020-02-20T07:12:50.000Z
etc/pip_install/setup.py
hmost1/incubator-toree
f58a86f2a9466c122d52ed5abd8122c8ce40b2c5
[ "Apache-2.0" ]
8
2016-09-27T12:58:48.000Z
2020-12-01T11:35:48.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 us...
36.407407
102
0.707358
389
2,949
5.275064
0.51928
0.02924
0.016569
0.026316
0.02924
0
0
0
0
0
0
0.005968
0.204476
2,949
80
103
36.8625
0.868713
0.300441
0
0
0
0
0.60225
0.014677
0
0
0
0
0
1
0
false
0
0.056604
0
0.056604
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
44a6f0369943db97ab0830abb53adb928e4a9136
356
py
Python
src/pyglottolog/admin_commands/evobib.py
SimonGreenhill/pyglottolog
1e0aa0cdc5ae35906c763f9219c6db9b976f8d38
[ "Apache-2.0" ]
7
2019-07-28T16:09:05.000Z
2021-09-12T20:21:55.000Z
src/pyglottolog/admin_commands/evobib.py
SimonGreenhill/pyglottolog
1e0aa0cdc5ae35906c763f9219c6db9b976f8d38
[ "Apache-2.0" ]
52
2019-06-18T05:16:38.000Z
2022-02-21T11:20:02.000Z
src/pyglottolog/admin_commands/evobib.py
SimonGreenhill/pyglottolog
1e0aa0cdc5ae35906c763f9219c6db9b976f8d38
[ "Apache-2.0" ]
6
2019-07-26T17:40:25.000Z
2021-12-08T00:59:38.000Z
""" """ from clldutils.clilib import PathType from pyglottolog.references import evobib def register(parser): parser.add_argument( 'bib', type=PathType(type='file'), help='path to downloaded evobib-converted.bib') def run(args): # pragma: no cover evobib.update(args.bib, args.repo...
19.777778
72
0.676966
45
356
5.333333
0.666667
0.058333
0
0
0
0
0
0
0
0
0
0
0.188202
356
17
73
20.941176
0.83045
0.044944
0
0
0
0
0.169697
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
1
0
0
0
0
0
0
0
1
44a98b03850d9eb1474c0e0ef2e1403a15713bb9
1,198
py
Python
Chapter 3/latihan03.py
Gadeth/Basic-Python
470b6e1ccb1da6c0b17801970004bda38e462d19
[ "Apache-2.0" ]
null
null
null
Chapter 3/latihan03.py
Gadeth/Basic-Python
470b6e1ccb1da6c0b17801970004bda38e462d19
[ "Apache-2.0" ]
null
null
null
Chapter 3/latihan03.py
Gadeth/Basic-Python
470b6e1ccb1da6c0b17801970004bda38e462d19
[ "Apache-2.0" ]
null
null
null
# import library import datetime # input nama user nama = input("Hallo... nama saya Mr. Kompie, nama Anda siapa? ") # tampilkan nama user print("Oh.. nama Anda", nama, ", nama yang bagus sekali.") # kasih jeda 3 detik time.sleep(3) # input tahun lahir thnLahir = int(input("BTW... " + nama + "kamu lah...
23.96
70
0.643573
169
1,198
4.56213
0.491124
0.046693
0.051881
0.077821
0.178988
0.13489
0.13489
0.070039
0
0
0
0.017094
0.218698
1,198
49
71
24.44898
0.806624
0.186144
0
0.166667
0
0
0.495614
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
0.458333
0
0
0
null
0
0
0
0
0
0
0
0
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
44aa0a66e785bf81c7382dde12bd47b1cd507bfb
155
py
Python
Baekjoon/Python/10814.py
KHJcode/Algorithm-study
fa08d3c752fcb3557fd45fb394157926afc0de4a
[ "MIT" ]
2
2020-05-23T01:55:38.000Z
2020-07-07T15:59:00.000Z
Baekjoon/Python/10814.py
KHJcode/Algorithm-study
fa08d3c752fcb3557fd45fb394157926afc0de4a
[ "MIT" ]
null
null
null
Baekjoon/Python/10814.py
KHJcode/Algorithm-study
fa08d3c752fcb3557fd45fb394157926afc0de4a
[ "MIT" ]
null
null
null
n = int(input()) person = [] for i in range(n): a,b = map(str, input().split()) person.append((int(a),i,b)) for i in sorted(person): print(i[0],i[2])
22.142857
42
0.580645
31
155
2.903226
0.580645
0.088889
0.133333
0
0
0
0
0
0
0
0
0.015385
0.16129
155
7
42
22.142857
0.676923
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
44ae9d732979b2682fbbac20b12b7e914fab8154
388
py
Python
src/377. Combination Sum IV.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
src/377. Combination Sum IV.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
src/377. Combination Sum IV.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
class Solution(object): def combinationSum4(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ dp = [0] * (target + 1) dp[0] = 1 for i in xrange(1, target+1): fi = 0 for n in nums: if i < n: continue fi += dp[i - n] dp[i] = fi return dp[target] nums =...
17.636364
46
0.574742
62
388
3.596774
0.451613
0.089686
0
0
0
0
0
0
0
0
0
0.045455
0.262887
388
22
46
17.636364
0.734266
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.071429
0
0
0
null
0
0
0
0
0
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
44b0bea0625ce86caee7e87e49ae974396869730
2,714
py
Python
scripts/crawlAll.py
hysds/sciflo
f706288405c8eee59a2f883bab3dcb5229615367
[ "Apache-2.0" ]
null
null
null
scripts/crawlAll.py
hysds/sciflo
f706288405c8eee59a2f883bab3dcb5229615367
[ "Apache-2.0" ]
null
null
null
scripts/crawlAll.py
hysds/sciflo
f706288405c8eee59a2f883bab3dcb5229615367
[ "Apache-2.0" ]
1
2019-02-07T01:08:34.000Z
2019-02-07T01:08:34.000Z
#!/usr/bin/env python # ----------------------------------------------------------------------------- # Name: crawlAll.py # Purpose: Crawl and catalog using crawler config in crawler directory. # # Author: Gerald Manipon # # Created: Wed Nov 29 18:42:34 2006 # Copyright: (c) 2006, California Insti...
33.925
79
0.611643
304
2,714
5.457237
0.460526
0.0217
0.024111
0.047016
0.162749
0.137432
0.094033
0.094033
0.065099
0.065099
0
0.017423
0.196389
2,714
79
80
34.35443
0.743237
0.208917
0
0.140351
0
0
0.154784
0.047842
0
0
0
0
0
1
0
false
0.070175
0.140351
0
0.140351
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
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
44b22136f8f7845ba30e0d616c9b44281b0dd3fc
913
py
Python
core/migrations/0009_auto_20190421_1740.py
support-me/support-me
385e605c5a5506e2e712d007df9c0241ef941dee
[ "Unlicense" ]
null
null
null
core/migrations/0009_auto_20190421_1740.py
support-me/support-me
385e605c5a5506e2e712d007df9c0241ef941dee
[ "Unlicense" ]
29
2019-04-12T21:08:33.000Z
2022-02-10T07:46:06.000Z
core/migrations/0009_auto_20190421_1740.py
support-me/support-me
385e605c5a5506e2e712d007df9c0241ef941dee
[ "Unlicense" ]
null
null
null
# Generated by Django 2.2 on 2019-04-21 21:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0008_auto_20190421_1144'), ] operations = [ migrations.AlterField( ...
32.607143
161
0.661555
102
913
5.77451
0.470588
0.054329
0.071307
0.112054
0.302207
0.302207
0.302207
0.302207
0.302207
0.302207
0
0.042553
0.22782
913
27
162
33.814815
0.792908
0.047097
0
0.285714
1
0
0.124424
0.026498
0
0
0
0
0
1
0
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
44bcca6b59578ac7da93d3743cc3030c283f7d93
4,698
py
Python
apis/betterself/v1/supplements/views.py
jeffshek/betterself
51468253fc31373eb96e0e82189b9413f3d76ff5
[ "MIT" ]
98
2017-07-29T14:26:36.000Z
2022-02-28T04:10:15.000Z
apis/betterself/v1/supplements/views.py
jeffshek/betterself
51468253fc31373eb96e0e82189b9413f3d76ff5
[ "MIT" ]
1,483
2017-05-30T00:05:56.000Z
2022-03-31T12:37:06.000Z
apis/betterself/v1/supplements/views.py
lawrendran/betterself
51468253fc31373eb96e0e82189b9413f3d76ff5
[ "MIT" ]
13
2017-11-08T00:02:35.000Z
2022-02-28T04:10:32.000Z
from django.db.models.query import Prefetch from rest_framework.generics import ListAPIView, ListCreateAPIView from apis.betterself.v1.supplements.filters import IngredientCompositionFilter, SupplementFilter, \ UserSupplementStackFilter, UserSupplementStackCompositionFilter from apis.betterself.v1.supplements.seri...
43.906542
117
0.801618
407
4,698
9.051597
0.285012
0.089577
0.034202
0.039902
0.258686
0.198426
0.189739
0.189739
0.189739
0.189739
0
0.000993
0.142614
4,698
106
118
44.320755
0.913605
0.030226
0
0.260274
0
0
0.019743
0.00528
0
0
0
0
0
1
0.136986
false
0
0.09589
0.123288
0.863014
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
44be78e2d92511ba650938e4b2a465810360de31
435
py
Python
app/utils.py
scorpioza/tele2-profit
99514eb6bce404ce4cf672ea6f5ddf84388d46c1
[ "MIT" ]
16
2020-06-26T13:20:52.000Z
2021-01-05T09:35:08.000Z
app/utils.py
scorpioza/tele2-profit
99514eb6bce404ce4cf672ea6f5ddf84388d46c1
[ "MIT" ]
3
2020-09-25T18:04:16.000Z
2020-11-16T15:02:52.000Z
app/utils.py
scorpioza/tele2-profit
99514eb6bce404ce4cf672ea6f5ddf84388d46c1
[ "MIT" ]
5
2020-09-26T19:29:41.000Z
2020-12-29T08:42:21.000Z
import asyncio import os from _version import __version__ def _print_version(): print(f'tele2-profit v{__version__} by archie') def run_main(main): try: _print_version() event_loop = asyncio.get_event_loop() future = asyncio.ensure_future(main()) event_loop.run_until_complete...
21.75
51
0.657471
54
435
4.907407
0.574074
0.101887
0
0
0
0
0
0
0
0
0
0.003067
0.250575
435
19
52
22.894737
0.809816
0
0
0
0
0
0.110345
0
0
0
0
0
0
1
0.133333
false
0.066667
0.2
0
0.333333
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
44c5095346311b6017f0569e809826181a4a55f9
526
py
Python
mac_numbers.py
dmayan-ss/diegoflow
2225c24f7c5a6b331946c3c0d550bed26e92ee39
[ "BSD-3-Clause" ]
22
2019-02-24T13:12:23.000Z
2022-03-08T08:55:18.000Z
mac_numbers.py
dmayan-ss/diegoflow
2225c24f7c5a6b331946c3c0d550bed26e92ee39
[ "BSD-3-Clause" ]
3
2017-06-10T13:39:11.000Z
2018-10-10T22:15:50.000Z
mac_numbers.py
dmayan-ss/diegoflow
2225c24f7c5a6b331946c3c0d550bed26e92ee39
[ "BSD-3-Clause" ]
13
2019-03-24T06:03:19.000Z
2021-10-31T02:27:25.000Z
# Copyright (c) 2017, Manito Networks, LLC # All rights reserved. # NOTE: This is updated as we have time, and is by no means comprehensive yet. mac_prefix = { "00CDFE":"Apple", "18AF61":"Apple", "CC46D6":"Cisco", "58AC78":"Cisco", "0050BA":"D-Link", "00179A":"D-Link", "1CBDB9":"D-Link", "9094E4":"D-Link", "28107B"...
18.137931
78
0.657795
71
526
4.859155
0.704225
0.101449
0
0
0
0
0
0
0
0
0
0.130342
0.110266
526
29
79
18.137931
0.606838
0.262357
0
0
0
0
0.623377
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
44c5b067e13fdd1e1ad2cc1a2c99d3c5b3330ac5
1,410
py
Python
stellapy/utils/decorators/restrict_sizeList.py
SStroteich/stella-1
104556a07b9736e7c28e6f1bf2f799384732f38b
[ "MIT" ]
4
2021-12-15T08:23:45.000Z
2022-02-18T15:14:42.000Z
stellapy/utils/decorators/restrict_sizeList.py
SStroteich/stella-1
104556a07b9736e7c28e6f1bf2f799384732f38b
[ "MIT" ]
37
2021-07-05T16:41:33.000Z
2022-03-21T15:58:05.000Z
stellapy/utils/decorators/restrict_sizeList.py
SStroteich/stella-1
104556a07b9736e7c28e6f1bf2f799384732f38b
[ "MIT" ]
7
2021-07-05T15:35:55.000Z
2022-03-09T09:23:42.000Z
#=============================================================== # Restrict size of printed list #=============================================================== import numpy as np def restrict_sizeList(input_list, size): ''' Print a long list as [ a b c ... x y z ] ''' # For 1D arrays or list, return [ a b ...
30
98
0.458865
184
1,410
3.418478
0.353261
0.228935
0.019078
0.019078
0.251192
0.251192
0.120827
0
0
0
0
0.020243
0.299291
1,410
46
99
30.652174
0.616397
0.295745
0
0.1
0
0
0.051387
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.3
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
44ce0f9db9fe5919a4a1f3796a0fe0c4e1d331ae
2,882
py
Python
lessons/migrations/0005_auto_20180911_1600.py
keeperaft/personalaltwebsite
b8ad2679c2809c316e8f746ffe1b302460f336be
[ "MIT" ]
null
null
null
lessons/migrations/0005_auto_20180911_1600.py
keeperaft/personalaltwebsite
b8ad2679c2809c316e8f746ffe1b302460f336be
[ "MIT" ]
2
2020-06-05T20:35:57.000Z
2021-06-10T21:24:24.000Z
lessons/migrations/0005_auto_20180911_1600.py
keeperaft/personalaltwebsite
b8ad2679c2809c316e8f746ffe1b302460f336be
[ "MIT" ]
1
2019-04-10T02:03:35.000Z
2019-04-10T02:03:35.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-09-11 07:00 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import lessons.filefield class Migration(migrations.Migration): dependencies = [ ('lessons', '0004_flashcard_is_borde...
45.746032
256
0.590909
295
2,882
5.644068
0.471186
0.081081
0.105105
0.121922
0.282282
0.207808
0.182583
0.063664
0.063664
0
0
0.018323
0.24254
2,882
62
257
46.483871
0.744388
0.023595
0
0.381818
1
0
0.253646
0.01672
0
0
0
0
0
1
0
false
0
0.072727
0
0.127273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
44d405a3b963e1575bfadf95aec209b7044e8452
3,152
py
Python
environments/icds-cas/migrations/nic_to_tcl/couchdb-files-post.py
rohit-dimagi/commcare-cloud
55576713f3a12acc3f2df4f24c405df9c30143b3
[ "BSD-3-Clause" ]
null
null
null
environments/icds-cas/migrations/nic_to_tcl/couchdb-files-post.py
rohit-dimagi/commcare-cloud
55576713f3a12acc3f2df4f24c405df9c30143b3
[ "BSD-3-Clause" ]
null
null
null
environments/icds-cas/migrations/nic_to_tcl/couchdb-files-post.py
rohit-dimagi/commcare-cloud
55576713f3a12acc3f2df4f24c405df9c30143b3
[ "BSD-3-Clause" ]
null
null
null
import getpass import requests import argparse def main(): parser = argparse.ArgumentParser() parser.add_argument('username') parser.add_argument('-p', '--password') args = parser.parse_args() if not args.password: args.password = getpass.getpass("Password") auth = (args.username, a...
33.178947
121
0.580901
403
3,152
4.295285
0.235732
0.031774
0.067591
0.024263
0.284229
0.206817
0.145581
0.080878
0.046216
0.046216
0
0.062099
0.259201
3,152
94
122
33.531915
0.679229
0
0
0.101266
0
0
0.232868
0.037437
0
0
0
0
0
1
0.012658
false
0.063291
0.037975
0
0.050633
0.101266
0
0
0
null
0
0
0
0
0
0
0
0
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
44e04665233d45cb831ee9757a5d9394bae0f183
1,504
py
Python
app/blueprints/auth/mail.py
hbradleyiii/spa-base
ac79535d63778dc0793b1e2d7ecac5547927798d
[ "MIT" ]
null
null
null
app/blueprints/auth/mail.py
hbradleyiii/spa-base
ac79535d63778dc0793b1e2d7ecac5547927798d
[ "MIT" ]
null
null
null
app/blueprints/auth/mail.py
hbradleyiii/spa-base
ac79535d63778dc0793b1e2d7ecac5547927798d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ app.blueprints.auth.email ~~~~~~~~~~~~~~~~~~~~~~~~~ The auth routes for spa-base. """ from flask import current_app, render_template from app.mail import send_mail def send_email_verification_mail(user, email): token = email.verification_token send_mail('[SPA-Base] Please Verify...
40.648649
86
0.619681
176
1,504
5.039773
0.232955
0.071026
0.121759
0.148816
0.633596
0.588501
0.588501
0.367531
0.117249
0.117249
0
0.000891
0.253989
1,504
36
87
41.777778
0.789661
0.069814
0
0.173913
0
0
0.229331
0.134436
0
0
0
0
0
1
0.130435
false
0.217391
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
44e1e41758ba5e233b4268bbcdad68104bb8d0a0
2,008
py
Python
logger/publish_http.py
scsibug/Raspberry-Pi-Sensor-Node
606cf2a15a72ac1503c7318a39c9f3cc523a9c4a
[ "Unlicense" ]
1
2015-12-23T04:27:16.000Z
2015-12-23T04:27:16.000Z
logger/publish_http.py
scsibug/Raspberry-Pi-Sensor-Node
606cf2a15a72ac1503c7318a39c9f3cc523a9c4a
[ "Unlicense" ]
null
null
null
logger/publish_http.py
scsibug/Raspberry-Pi-Sensor-Node
606cf2a15a72ac1503c7318a39c9f3cc523a9c4a
[ "Unlicense" ]
null
null
null
#!/usr/bin/python import redis import sys import hmac import hashlib import json import decimal import urllib2 import time import argparse import os from settings import * r = redis.StrictRedis(host='localhost', port=6379, db=0) print "using "+os.environ['EVENT_SECRET_KEY'] parser = argparse.ArgumentParser(descriptio...
32.918033
110
0.729084
291
2,008
4.934708
0.460481
0.058496
0.019499
0.027855
0.064067
0.032033
0
0
0
0
0
0.024433
0.143924
2,008
60
111
33.466667
0.810937
0.253984
0
0.088889
0
0
0.235887
0
0
0
0
0
0
0
null
null
0
0.244444
null
null
0.133333
0
0
0
null
0
0
0
0
0
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
44f47fa7be7161ab737b4f9c294931c50761dff9
1,710
py
Python
python/sorting/quick_sort.py
suddi/coding-challenges
f31b53790084dce1ad0be65ec1d61bf177cddb39
[ "MIT" ]
null
null
null
python/sorting/quick_sort.py
suddi/coding-challenges
f31b53790084dce1ad0be65ec1d61bf177cddb39
[ "MIT" ]
11
2020-01-09T06:53:45.000Z
2022-02-11T01:34:44.000Z
python/sorting/quick_sort.py
suddi/coding-challenges
f31b53790084dce1ad0be65ec1d61bf177cddb39
[ "MIT" ]
1
2017-03-18T17:19:43.000Z
2017-03-18T17:19:43.000Z
def partition(A, left, right): # O(N) pivot = A[right] # O(1) i = left # O(1) for j in range(left, right): # O(N) if A[j] <= ...
42.75
78
0.261988
178
1,710
2.449438
0.230337
0.045872
0.114679
0.075688
0.119266
0.09633
0
0
0
0
0
0.089802
0.615789
1,710
39
79
43.846154
0.57382
0.192982
0
0
0
0
0.006047
0
0
0
0
0
0
1
0.142857
false
0
0.047619
0
0.285714
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
44f538f3949e70e9287024559503410db3c272af
1,691
py
Python
setup.py
syncrypt/trio-inspector
386167e09e056fd27fbed8738891dedc72578ee4
[ "Apache-2.0", "MIT" ]
8
2019-04-17T22:29:14.000Z
2021-05-27T23:34:40.000Z
setup.py
syncrypt/trio-inspector
386167e09e056fd27fbed8738891dedc72578ee4
[ "Apache-2.0", "MIT" ]
3
2019-08-13T13:32:13.000Z
2021-05-08T07:18:38.000Z
setup.py
syncrypt/trio-inspector
386167e09e056fd27fbed8738891dedc72578ee4
[ "Apache-2.0", "MIT" ]
2
2020-01-03T08:11:11.000Z
2021-05-07T07:02:12.000Z
from setuptools import setup, find_packages exec(open("trio_inspector/_version.py", encoding="utf-8").read()) LONG_DESC = open("README.md", encoding="utf-8").read() setup( name="trio-inspector", version=__version__, description="A browser-based monitor for Trio", url="https://github.com/syncrypt/trio...
31.90566
70
0.581904
166
1,691
5.837349
0.608434
0.053664
0.077399
0.033024
0
0
0
0
0
0
0
0.00641
0.261975
1,691
52
71
32.519231
0.770032
0.043761
0
0.06383
0
0
0.526022
0.02912
0
0
0
0.019231
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
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
44f7b040ae5a720fbeb66ef4b27631b354791099
1,119
py
Python
Python/95.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
1
2020-12-10T05:36:15.000Z
2020-12-10T05:36:15.000Z
Python/95.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
null
null
null
Python/95.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
3
2020-04-06T05:55:08.000Z
2021-08-29T14:26:54.000Z
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def generateTrees(self, n: int) -> List[TreeNode]: if n == 0: return [] self.seen = {} return self.df...
26.642857
54
0.422699
125
1,119
3.752
0.288
0.153518
0.110874
0.136461
0.200426
0
0
0
0
0
0
0.008418
0.469169
1,119
42
55
26.642857
0.781145
0.133155
0
0.074074
1
0
0
0
0
0
0
0
0
1
0.074074
false
0
0
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
44f8c47600b789d5dd92cdc562549d532583231e
2,362
py
Python
tests/functional/api/test_user_api.py
PhilipWafula/faulu-apis-demo
082735ce8b2bfd010d5b4be9491a5c94a8f745d6
[ "MIT" ]
2
2020-05-29T03:43:28.000Z
2020-06-11T16:03:36.000Z
tests/functional/api/test_user_api.py
PhilipWafula/Flask-Server-Side
082735ce8b2bfd010d5b4be9491a5c94a8f745d6
[ "MIT" ]
15
2020-04-06T10:27:06.000Z
2020-08-16T09:25:20.000Z
tests/functional/api/test_user_api.py
PhilipWafula/faulu-apis-demo
082735ce8b2bfd010d5b4be9491a5c94a8f745d6
[ "MIT" ]
1
2020-06-07T14:09:05.000Z
2020-06-07T14:09:05.000Z
from app.server.models.user import User def test_get_all_users(test_client, activated_admin_user): """ GIVEN a flask application WHEN a GET request sent to '/api/v1/user/' with a valid auth token THEN check all users are returned. """ authentication_token = activated_admin_user.encode_auth_tok...
35.787879
90
0.647756
294
2,362
5.003401
0.251701
0.055065
0.097893
0.085656
0.638341
0.617947
0.558124
0.558124
0.558124
0.490143
0
0.012799
0.239204
2,362
65
91
36.338462
0.805787
0.212108
0
0.536585
0
0
0.191513
0.071468
0
0
0
0.015385
0.146341
1
0.073171
false
0
0.02439
0
0.097561
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
44fcb92ee46b65e1d813631b2192b3e9c704fc0b
2,622
py
Python
tetris/tetris.py
janmaltel/pytetris
a60475c89ed0fd9666c6e0f1df42c63f62a5b2aa
[ "MIT" ]
2
2019-11-19T12:54:17.000Z
2020-08-19T13:25:35.000Z
tetris/tetris.py
janmaltel/pytetris
a60475c89ed0fd9666c6e0f1df42c63f62a5b2aa
[ "MIT" ]
null
null
null
tetris/tetris.py
janmaltel/pytetris
a60475c89ed0fd9666c6e0f1df42c63f62a5b2aa
[ "MIT" ]
null
null
null
from tetris.board import generate_empty_board from tetris import board, tetromino import numba from numba import jitclass, bool_, int64 from tetris.utils import print_tetromino, print_board_to_string # Needed for numba.@jitclass specTetris = [ ('num_columns', int64), ('num_rows', int64), ('feature_type', ...
35.432432
112
0.690694
326
2,622
5.239264
0.282209
0.083724
0.065574
0.031616
0.263466
0.194379
0.111241
0.111241
0.07377
0.07377
0
0.010244
0.218154
2,622
73
113
35.917808
0.822927
0.129672
0
0.153846
1
0
0.079626
0
0
0
0
0
0.019231
1
0.115385
false
0
0.096154
0.019231
0.269231
0.096154
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
44fdd039c46ad6223ab5a5bf2364e61f4d9c428e
658
py
Python
adv/yuya.py
qwewqa/dl
d6a1d035178e1e67ae9045829c6ad5c85c3ec2e0
[ "Apache-2.0" ]
null
null
null
adv/yuya.py
qwewqa/dl
d6a1d035178e1e67ae9045829c6ad5c85c3ec2e0
[ "Apache-2.0" ]
null
null
null
adv/yuya.py
qwewqa/dl
d6a1d035178e1e67ae9045829c6ad5c85c3ec2e0
[ "Apache-2.0" ]
null
null
null
import adv.adv_test from core.advbase import * from slot.d import Dreadking_Rathalos def module(): return Yuya class Yuya(Adv): conf = {} conf['slot.d'] = Dreadking_Rathalos() conf['acl'] = """ `s3, fsc and not self.s3_buff `s1, fsc `fs, seq=2 """ a3 = ('primed_crit...
21.225806
55
0.542553
92
658
3.706522
0.554348
0.017595
0.058651
0.070381
0.146628
0.146628
0.146628
0.146628
0
0
0
0.05042
0.276596
658
30
56
21.933333
0.665966
0
0
0.083333
0
0
0.225266
0
0
0
0
0
0
1
0.125
false
0.083333
0.125
0.041667
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
7804747b1e4973dfb20f21c2d72f6ee3df3427ee
508
py
Python
tests/test_django_cms_templates.py
judy2k/epcon
0a033f915bd79c1e93e6408069e33655990fbf07
[ "BSD-2-Clause" ]
null
null
null
tests/test_django_cms_templates.py
judy2k/epcon
0a033f915bd79c1e93e6408069e33655990fbf07
[ "BSD-2-Clause" ]
null
null
null
tests/test_django_cms_templates.py
judy2k/epcon
0a033f915bd79c1e93e6408069e33655990fbf07
[ "BSD-2-Clause" ]
null
null
null
# coding: utf-8 from __future__ import unicode_literals, absolute_import from pytest import mark from tests.common_tools import template_used # , template_paths # needs to be marked because Django CMS will interfere @mark.django_db def test_if_menu_html_template_is_used_on_404_page(client): url = "/asasd/foo/...
29.882353
69
0.777559
77
508
4.831169
0.623377
0.096774
0.096774
0.139785
0
0
0
0
0
0
0
0.036446
0.135827
508
16
70
31.75
0.810934
0.163386
0
0
0
0
0.097387
0
0
0
0
0
0.222222
1
0.111111
false
0
0.333333
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
780c8d67ab8158a6c2a0fc0dac2bd5c621680885
1,660
py
Python
python_scripts/load_script/helper.py
Tutkovics/Scaling_MSc
66ffda5df7acc6b310c55905a147d812193b4be4
[ "Apache-2.0" ]
null
null
null
python_scripts/load_script/helper.py
Tutkovics/Scaling_MSc
66ffda5df7acc6b310c55905a147d812193b4be4
[ "Apache-2.0" ]
null
null
null
python_scripts/load_script/helper.py
Tutkovics/Scaling_MSc
66ffda5df7acc6b310c55905a147d812193b4be4
[ "Apache-2.0" ]
null
null
null
import time import yaml def read_config_file(file_name): """Setup config parameters Read and store configuration parameters from given config file """ with open(file_name) as config_file: config_values = {} config = yaml.safe_load(config_file) # get values from yaml ...
36.086957
71
0.633133
181
1,660
5.535912
0.237569
0.263473
0.127745
0.062874
0.11976
0.11976
0.11976
0.095808
0.095808
0
0
0
0.205422
1,660
45
72
36.888889
0.759666
0.06506
0
0.111111
0
0
0.286367
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.148148
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
780cec5f5edff01a3292dabe0c19af13755eed4a
8,789
py
Python
tiddlyweb/web/wsgi.py
funkyeah/tiddlyweb
2346e6c05aa03ae9c8f2687d9ef9e46103267a8e
[ "BSD-3-Clause" ]
null
null
null
tiddlyweb/web/wsgi.py
funkyeah/tiddlyweb
2346e6c05aa03ae9c8f2687d9ef9e46103267a8e
[ "BSD-3-Clause" ]
null
null
null
tiddlyweb/web/wsgi.py
funkyeah/tiddlyweb
2346e6c05aa03ae9c8f2687d9ef9e46103267a8e
[ "BSD-3-Clause" ]
null
null
null
""" WSGI Middleware apps that haven't gotten around to being extracted to their own modules. """ import logging import time import urllib from tiddlyweb.model.policy import UserRequiredError, ForbiddenError from tiddlyweb.store import Store from tiddlyweb.web.http import HTTP403, HTTP302 from tiddlyweb.web.util impor...
30.730769
78
0.596882
1,009
8,789
5.032706
0.251734
0.059078
0.059078
0.033084
0.225876
0.186097
0.139622
0.111855
0.111855
0.111855
0
0.004339
0.291956
8,789
285
79
30.838596
0.811666
0.026966
0
0.270588
0
0.005882
0.170592
0.008095
0
0
0
0
0
0
null
null
0.005882
0.047059
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
780d135009c65b71e679ad98d281b418ce5f55fe
1,534
py
Python
tests/test_parent_data_param.py
robhowley/treetl
fef395edb077fc73ca7621f1e5099c04bb781d68
[ "MIT" ]
8
2016-07-16T19:24:31.000Z
2019-05-28T06:34:47.000Z
tests/test_parent_data_param.py
robhowley/treetl
fef395edb077fc73ca7621f1e5099c04bb781d68
[ "MIT" ]
null
null
null
tests/test_parent_data_param.py
robhowley/treetl
fef395edb077fc73ca7621f1e5099c04bb781d68
[ "MIT" ]
2
2017-09-16T20:25:20.000Z
2019-10-27T13:44:33.000Z
import unittest class TestParentDataParams(unittest.TestCase): def setUp(self): from treetl import Job self.expected_results = { jn: i+1 for i, jn in enumerate([ 'JobA', 'JobB', 'JobC', 'JobD' ]) } self.actual_results = { } def update_actual_results(job): self.actua...
28.943396
102
0.591917
177
1,534
4.875706
0.305085
0.104287
0.10197
0.12051
0.28737
0.28737
0.28737
0.206257
0
0
0
0.004655
0.29987
1,534
52
103
29.5
0.798883
0
0
0.055556
0
0
0.041748
0
0
0
0
0
0.027778
1
0.222222
false
0
0.083333
0
0.472222
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
780fadebf915440001592a011c8b065de65bb374
1,243
py
Python
ml_recommend/cos_demo.py
jarvisqi/machine_learning
cba3f2fed87a3de2c6b707903d37f936e5f0cd5b
[ "MIT" ]
2
2018-09-25T07:54:31.000Z
2021-01-12T08:57:23.000Z
ml_recommend/cos_demo.py
jarvisqi/nlp_learn
53c5b4087dbfc30e47451fd3f5261ba44f523f39
[ "MIT" ]
null
null
null
ml_recommend/cos_demo.py
jarvisqi/nlp_learn
53c5b4087dbfc30e47451fd3f5261ba44f523f39
[ "MIT" ]
1
2019-06-25T07:28:27.000Z
2019-06-25T07:28:27.000Z
# -*- coding: utf-8 -*- # 计算修正余弦相似度的Python代码 from math import sqrt users3 = { "David": {"爱乐之城": 4, "荒野猎人": 5,"银河护卫队2": 4, "长城": 1}, "Matt": {"爱乐之城": 3, "荒野猎人": 4,"银河护卫队2": 4, "长城": 1}, "Ben": {"美国队长3": 4, "爱乐之城": 3,"银河护卫队2": 3, "长城": 1}, "Chris": {"美国队长3": 3, "爱乐之城": 4,"荒野猎人"...
36.558824
81
0.5358
154
1,243
4.331169
0.357143
0.022489
0.04048
0.049475
0.125937
0
0
0
0
0
0
0.063922
0.257442
1,243
33
82
37.666667
0.657638
0.04103
0
0
0
0
0.172007
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.12
0
0
0
null
0
0
0
0
0
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
7812d67db7a500259addfa44401133c4cd5059de
403
py
Python
iapcompython/prog_4_2.py
edmilsonlibanio/Ola-Mundo-Python
33fb08da5878f2784983c623df04d2bbdfb30f25
[ "MIT" ]
null
null
null
iapcompython/prog_4_2.py
edmilsonlibanio/Ola-Mundo-Python
33fb08da5878f2784983c623df04d2bbdfb30f25
[ "MIT" ]
null
null
null
iapcompython/prog_4_2.py
edmilsonlibanio/Ola-Mundo-Python
33fb08da5878f2784983c623df04d2bbdfb30f25
[ "MIT" ]
null
null
null
# Programa: Carro Velho ou Carro Novo (usando apenas if 2 vezes)? idade = int(input('Digite a idade do seu carro: ')) if idade <= 3: print('O seu carro é novo!') if idade > 3: print('O seu carro é velho!') #Se observarmos de perto não há um só numero que torne ambas as condições verdadeiras ao mesmo tempo. A...
44.777778
186
0.722084
70
403
4.157143
0.671429
0.082474
0.054983
0.089347
0.158076
0.158076
0.158076
0.158076
0
0
0
0.009317
0.200993
403
9
186
44.777778
0.89441
0.617866
0
0
0
0
0.447368
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
7813c500e651edf48e529ef83919155389e7b77e
3,069
py
Python
nixie_clock/nixie_clock.py
sdenisen/test
709bcdd16d0f83f03b04e0bc7918bb3785993c59
[ "Unlicense" ]
null
null
null
nixie_clock/nixie_clock.py
sdenisen/test
709bcdd16d0f83f03b04e0bc7918bb3785993c59
[ "Unlicense" ]
2
2017-08-24T18:55:37.000Z
2017-08-24T18:59:06.000Z
nixie_clock/nixie_clock.py
sdenisen/test
709bcdd16d0f83f03b04e0bc7918bb3785993c59
[ "Unlicense" ]
null
null
null
import RPi.GPIO as GPIO from socket import AF_INET, SOCK_DGRAM import socket import struct, time GPIO.setmode(GPIO.BOARD) __author__ = 'Sergey' class NixieClock(object): CHANNEL_HOUR_0 = 3 CHANNEL_HOUR_1 = 5 CHANNEL_MINUTE_0 = 7 CHANNEL_MINUTE_1 = 11 CHANNEL_SECOND_0 = 13 CHANNEL_SECOND_1 =...
33
116
0.614532
417
3,069
4.273381
0.318945
0.040404
0.029181
0.044893
0.202581
0.122896
0.090909
0.056117
0.056117
0.056117
0
0.063377
0.280222
3,069
93
117
33
0.743323
0.061258
0
0.084507
0
0
0.034783
0.008
0
0
0
0
0
0
null
null
0.014085
0.056338
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
7816f05b04eda6b9f559f45e46216ae5a6fecedf
609
py
Python
code/util/create_dir.py
96jhwei/Genetic-U-Net
25116f01afcf8ed4386cd0fc258da15e1c982cb5
[ "MIT" ]
14
2021-09-09T11:22:17.000Z
2022-03-14T10:06:36.000Z
code/util/create_dir.py
96jhwei/Genetic-U-Net
25116f01afcf8ed4386cd0fc258da15e1c982cb5
[ "MIT" ]
1
2021-11-24T10:30:36.000Z
2021-11-24T10:30:36.000Z
code/util/create_dir.py
96jhwei/Genetic-U-Net
25116f01afcf8ed4386cd0fc258da15e1c982cb5
[ "MIT" ]
5
2021-11-02T09:29:49.000Z
2022-03-25T09:44:25.000Z
""" Helper function for create directories """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging import os def create_dirs(dirs): """ Utility function for creating directories Args: dirs (list of string): A list of direct...
22.555556
71
0.678161
71
609
5.56338
0.56338
0.075949
0.121519
0
0
0
0
0
0
0
0
0
0.256158
609
26
72
23.423077
0.871965
0.313629
0
0
0
0
0.122715
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
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
7819128754038c5b686dca37e3fccc203c4ae962
7,751
py
Python
reman/migrations/0001_initial.py
Nels885/csd_dashboard
aa5a3b970c50a2a93af722f962bd87c3728f233c
[ "MIT" ]
null
null
null
reman/migrations/0001_initial.py
Nels885/csd_dashboard
aa5a3b970c50a2a93af722f962bd87c3728f233c
[ "MIT" ]
null
null
null
reman/migrations/0001_initial.py
Nels885/csd_dashboard
aa5a3b970c50a2a93af722f962bd87c3728f233c
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-22 07:34 from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AU...
63.532787
183
0.633338
847
7,751
5.617473
0.198347
0.094788
0.040984
0.06053
0.690206
0.672551
0.62253
0.587642
0.527743
0.428752
0
0.011808
0.224229
7,751
121
184
64.057851
0.779311
0.005806
0
0.385965
1
0
0.153167
0
0
0
0
0
0
1
0
false
0
0.035088
0
0.070175
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
781c36222d396a1f95b5c079f6b6cc5e00a4eb34
1,172
py
Python
pinax/wiki/conf.py
pinax/pinax-wiki
8d116fbfd40bdcf1ff0f66d6a0cb30f29e8d5e5e
[ "MIT" ]
29
2015-04-07T11:51:22.000Z
2022-02-16T06:41:34.000Z
pinax/wiki/conf.py
pinax/pinax-wiki
8d116fbfd40bdcf1ff0f66d6a0cb30f29e8d5e5e
[ "MIT" ]
20
2015-03-26T00:33:49.000Z
2020-08-30T21:55:05.000Z
pinax/wiki/conf.py
pinax/pinax-wiki
8d116fbfd40bdcf1ff0f66d6a0cb30f29e8d5e5e
[ "MIT" ]
6
2015-04-15T02:48:45.000Z
2019-05-06T21:03:13.000Z
import importlib from django.conf import settings # noqa from django.core.exceptions import ImproperlyConfigured from appconf import AppConf def load_path_attr(path): i = path.rfind(".") module, attr = path[:i], path[i + 1:] try: mod = importlib.import_module(module) except ImportError as e...
25.478261
83
0.662116
139
1,172
5.438849
0.453237
0.042328
0.063492
0.034392
0.084656
0.084656
0.084656
0
0
0
0
0.001119
0.237201
1,172
45
84
26.044444
0.844519
0.003413
0
0.058824
0
0
0.174957
0.084048
0
0
0
0
0
1
0.117647
false
0
0.205882
0.058824
0.617647
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
781e0a0704d2f7732109db9bb6f242cbca4737e9
2,471
py
Python
kathisattic/apps/product/views.py
ninapavlich/kathisattic
0585e63f43da6841f7fc0d69f090d7ab556dcec0
[ "MIT" ]
null
null
null
kathisattic/apps/product/views.py
ninapavlich/kathisattic
0585e63f43da6841f7fc0d69f090d7ab556dcec0
[ "MIT" ]
null
null
null
kathisattic/apps/product/views.py
ninapavlich/kathisattic
0585e63f43da6841f7fc0d69f090d7ab556dcec0
[ "MIT" ]
null
null
null
from django.db.models import Q from django.views.generic.edit import CreateView from django.views.generic.list import ListView from carbon.compounds.page.views import PageDetail as BasePageDetail from carbon.compounds.page.views import PageTagView as BasePageTagView from carbon.compounds.page.views import PageBlockVi...
27.764045
154
0.68879
281
2,471
5.900356
0.320285
0.079614
0.033776
0.041616
0.188179
0.126659
0.065139
0
0
0
0
0
0.227438
2,471
88
155
28.079545
0.868518
0
0
0.101695
0
0
0.040065
0
0
0
0
0
0
1
0.118644
false
0
0.186441
0.067797
0.677966
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
781f4fc5078b64546c321f926c3e524d78132cf7
5,124
py
Python
snowCore_dailyMeanProfiles_2017-2019.py
michaeltown-phd/snowisoDataMunging
dea0ebcd41a1b2022af38f0a8fd86a99eecbfd39
[ "MIT" ]
null
null
null
snowCore_dailyMeanProfiles_2017-2019.py
michaeltown-phd/snowisoDataMunging
dea0ebcd41a1b2022af38f0a8fd86a99eecbfd39
[ "MIT" ]
11
2022-03-25T22:46:57.000Z
2022-03-30T22:48:59.000Z
snowCore_dailyMeanProfiles_2017-2019.py
michaeltown-phd/snowisoDataMunging
dea0ebcd41a1b2022af38f0a8fd86a99eecbfd39
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Apr 18 09:08:20 2022 A script to plot mean daily cores for intercomparison of features as a function of time through a season. @author: michaeltown """ #libraries import pandas as pd import numpy as np import matplotlib.pyplot as plt import os import...
46.162162
127
0.680523
834
5,124
3.890887
0.197842
0.141757
0.209553
0.120185
0.539291
0.515871
0.506009
0.400308
0.400308
0.364253
0
0.02362
0.165496
5,124
111
128
46.162162
0.735267
0.131928
0
0.059701
0
0
0.152856
0.041319
0
0
0
0
0
1
0
false
0
0.119403
0
0.119403
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
78251293e5c3da715709caaa79f7051c05a25145
724
py
Python
tests/util/test_immutabledict.py
SelfHacked/django-model-wrappers
2aa0bb773d61c6b5c794126b1dc4f06d622ff079
[ "MIT" ]
null
null
null
tests/util/test_immutabledict.py
SelfHacked/django-model-wrappers
2aa0bb773d61c6b5c794126b1dc4f06d622ff079
[ "MIT" ]
null
null
null
tests/util/test_immutabledict.py
SelfHacked/django-model-wrappers
2aa0bb773d61c6b5c794126b1dc4f06d622ff079
[ "MIT" ]
1
2021-06-03T12:04:22.000Z
2021-06-03T12:04:22.000Z
import pytest from model_wrappers.util.datatypes import ImmutableDict d = { 'a': 0, 'b': 'x', } im = ImmutableDict(d) def test_str(): assert repr(im) == repr(d) assert str(im) == str(d) def test_items(): assert set(im.keys()) == {'a', 'b'} assert set(im.values()) == {0, 'x'} assert set...
17.238095
55
0.537293
109
724
3.513761
0.348624
0.091384
0.114883
0.020888
0
0
0
0
0
0
0
0.014898
0.258287
724
41
56
17.658537
0.698324
0
0
0
0
0
0.023481
0
0
0
0
0
0.413793
1
0.172414
false
0
0.068966
0
0.241379
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
783363529819816ac2b465db1a4d67cdbd93edcd
481
py
Python
keephistory/keephistory/signals.py
ivangeorgiev/django-bootcamp
53d5d06cb3414419bbd99ff6f0e1b751cbe02a06
[ "CC0-1.0" ]
null
null
null
keephistory/keephistory/signals.py
ivangeorgiev/django-bootcamp
53d5d06cb3414419bbd99ff6f0e1b751cbe02a06
[ "CC0-1.0" ]
null
null
null
keephistory/keephistory/signals.py
ivangeorgiev/django-bootcamp
53d5d06cb3414419bbd99ff6f0e1b751cbe02a06
[ "CC0-1.0" ]
null
null
null
from django.db.models.signals import pre_delete from django.dispatch import receiver from django.utils.timezone import now from .models import Task, TaskUpdate @receiver(pre_delete, sender=Task) def close_task_updates(sender, instance:Task, **kwargs): now_ts = now() for update in TaskUpdate.objects.fil...
34.357143
84
0.75052
68
481
5.102941
0.485294
0.086455
0.092219
0.126801
0
0
0
0
0
0
0
0
0.160083
481
13
85
37
0.858911
0.10395
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7834c30ab8619ffee86e60107eaa29650d251c74
3,239
py
Python
lib/jsonprocesser(old).py
wmizzi/tn2capstone
e9855ba6b49e2d05293df74846c64fa0c220a25d
[ "BSD-2-Clause" ]
null
null
null
lib/jsonprocesser(old).py
wmizzi/tn2capstone
e9855ba6b49e2d05293df74846c64fa0c220a25d
[ "BSD-2-Clause" ]
null
null
null
lib/jsonprocesser(old).py
wmizzi/tn2capstone
e9855ba6b49e2d05293df74846c64fa0c220a25d
[ "BSD-2-Clause" ]
null
null
null
import json import uuid import datetime import os import socket class jsonprocesser: def __init__(self): self.client_mac = str(hex(uuid.getnode())) self.timestamp = datetime.datetime.now().strftime("%H-%M_%d-%m-%y") #filename = client_mac + timestamp + '.json' ...
32.39
137
0.521766
363
3,239
4.553719
0.253444
0.079855
0.087114
0.072595
0.271627
0.271627
0.271627
0.271627
0.245009
0.217786
0
0.024176
0.297623
3,239
100
138
32.39
0.702418
0.021303
0
0.287879
0
0
0.14989
0
0
0
0
0
0
0
null
null
0
0.075758
null
null
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7843611d198318d6de99e455666135c54010d9a9
2,509
py
Python
packages/w3af/w3af/core/controllers/profiling/pytracemalloc.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
3
2019-04-09T22:59:33.000Z
2019-06-14T09:23:24.000Z
tools/w3af/w3af/core/controllers/profiling/pytracemalloc.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
tools/w3af/w3af/core/controllers/profiling/pytracemalloc.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
""" pytracemalloc.py Copyright 2015 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. w3af is distributed in the hope th...
25.09
81
0.723794
347
2,509
5.07781
0.463977
0.051078
0.022134
0.03235
0.046538
0.031782
0
0
0
0
0
0.017043
0.204863
2,509
99
82
25.343434
0.866165
0.062176
0
0.102564
0
0
0.060883
0.020548
0
0
0
0
0
0
null
null
0
0.205128
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
78458e44258fabd7ac71356828e9e387c8902634
3,262
py
Python
utils/watcher.py
OliRafa/SRFR-GAN
b7995421f5a965d35dd83f3107e095d83446868b
[ "Unlicense" ]
null
null
null
utils/watcher.py
OliRafa/SRFR-GAN
b7995421f5a965d35dd83f3107e095d83446868b
[ "Unlicense" ]
3
2021-04-30T21:14:05.000Z
2022-02-10T01:29:47.000Z
utils/watcher.py
OliRafa/SRFR-GAN
b7995421f5a965d35dd83f3107e095d83446868b
[ "Unlicense" ]
1
2020-07-11T18:43:48.000Z
2020-07-11T18:43:48.000Z
import os import psutil import multiprocessing as mp from mtcnn import MTCNN class Watcher(): def __init__(self): self._manager = mp.Manager() self._generate_queues() self._face_detector = MtcnnDetectFaces( self._images_queue, self._detected_faces_queue, ...
30.203704
81
0.64347
359
3,262
5.448468
0.245125
0.064417
0.153374
0.121677
0.191718
0.157464
0.093047
0
0
0
0
0.004193
0.268853
3,262
107
82
30.485981
0.815933
0.01962
0
0.126437
1
0
0.03035
0
0
0
0
0
0
1
0.183908
false
0
0.057471
0.034483
0.333333
0.034483
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
784e5bf0a0b8655d9a0a603fb8012750676dd86a
1,450
py
Python
trafficgen/benignGenerator/DataGen/wordpressautonew/LoginWordPressData.py
cyberdeception/deepdig
482061bc5039181a95631fcb8515d990eb2e16a9
[ "Apache-2.0" ]
5
2020-03-07T21:28:51.000Z
2022-03-11T06:03:46.000Z
trafficgen/benignGenerator/DataGen/wordpressautonew/LoginWordPressData.py
cyberdeception/deepdig
482061bc5039181a95631fcb8515d990eb2e16a9
[ "Apache-2.0" ]
null
null
null
trafficgen/benignGenerator/DataGen/wordpressautonew/LoginWordPressData.py
cyberdeception/deepdig
482061bc5039181a95631fcb8515d990eb2e16a9
[ "Apache-2.0" ]
4
2019-10-18T18:32:35.000Z
2021-07-16T11:52:38.000Z
import unittest from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.ui import WebDriverWait import time from BaseWordpressData import BaseWordPressData class LoginWordPressData(BaseWordPressData): def __init__(self,type, dataDict,browser): ...
28.431373
78
0.671034
174
1,450
5.45977
0.471264
0.063158
0.047368
0.069474
0.090526
0.090526
0.063158
0
0
0
0
0.00457
0.245517
1,450
50
79
29
0.863803
0.206897
0
0
0
0
0.063269
0
0
0
0
0
0
1
0.08
false
0.12
0.24
0
0.36
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
78505ac1a273f3c03ae2bd2074823ab5e86e19af
4,688
py
Python
src/utils/options.py
JiachengLi1995/FastRec
88174f8beb822c6b5b348c888de184d48d9d013c
[ "MIT" ]
null
null
null
src/utils/options.py
JiachengLi1995/FastRec
88174f8beb822c6b5b348c888de184d48d9d013c
[ "MIT" ]
null
null
null
src/utils/options.py
JiachengLi1995/FastRec
88174f8beb822c6b5b348c888de184d48d9d013c
[ "MIT" ]
null
null
null
from src.datasets import DATASETS from src.dataloaders import DATALOADERS from src.models import MODELS from src.trainers import TRAINERS import argparse parser = argparse.ArgumentParser(description='SASRec') ################ # Test ################ parser.add_argument('--load_pretrained_weights', type=str, default=...
50.956522
132
0.706485
640
4,688
5.003125
0.234375
0.120862
0.228295
0.033729
0.333854
0.205809
0.157402
0.157402
0.157402
0.131168
0
0.019981
0.092577
4,688
91
133
51.516484
0.732722
0.03477
0
0
0
0.018868
0.334501
0.056996
0
0
0
0
0
1
0
false
0
0.09434
0
0.09434
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
7852009b941cee12bd32debb6b11c9f5ed52309b
3,416
py
Python
progress_job_iterator.py
Ariel96cs/SimpleMapReduceFramework
7cf482f94b1ed1e6436a7b229dfe09c3c0906d56
[ "MIT" ]
null
null
null
progress_job_iterator.py
Ariel96cs/SimpleMapReduceFramework
7cf482f94b1ed1e6436a7b229dfe09c3c0906d56
[ "MIT" ]
null
null
null
progress_job_iterator.py
Ariel96cs/SimpleMapReduceFramework
7cf482f94b1ed1e6436a7b229dfe09c3c0906d56
[ "MIT" ]
null
null
null
import message_tools as mt import time class ProgressTaskIterator: def __init__(self, job_id, task, status_handler, file_sys_addr): ''' Tengo que poner a esperar a que inserten en la tabla block de status_db_url los bloques correspodientes a la tarea de task. lo que tengo que esper...
40.188235
116
0.602459
461
3,416
4.262473
0.286334
0.032061
0.039186
0.040712
0.292621
0.23257
0.147074
0.105344
0.076845
0.05598
0
0.0068
0.311183
3,416
84
117
40.666667
0.828304
0.318794
0
0.190476
0
0
0.060606
0
0
0
0
0.02381
0
1
0.071429
false
0
0.047619
0.02381
0.166667
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
785958f309382a011e6f540a7d611fcf8a976c4a
2,082
py
Python
kernel/Settings.py
flopezag/fiware-scrum-reports
56773c2b1d0603f019f08ca7b66fc091e2b975a0
[ "Apache-2.0" ]
null
null
null
kernel/Settings.py
flopezag/fiware-scrum-reports
56773c2b1d0603f019f08ca7b66fc091e2b975a0
[ "Apache-2.0" ]
6
2018-09-04T08:49:29.000Z
2018-09-05T10:31:32.000Z
kernel/Settings.py
flopezag/fiware-scrum-reports
56773c2b1d0603f019f08ca7b66fc091e2b975a0
[ "Apache-2.0" ]
null
null
null
import os from xml.etree import ElementTree as ET from datetime import datetime from collections import namedtuple __author__ = "Manuel Escriche < mev@tid.es>" class Settings: def __init__(self): self._dashboard = dict() self._review = dict() self.home = os.path.split(os.path.dirname(os.p...
33.047619
112
0.628242
241
2,082
5.26556
0.390041
0.052009
0.063042
0.088258
0.130024
0.073286
0.073286
0
0
0
0
0.0031
0.225264
2,082
62
113
33.580645
0.783633
0.020173
0
0.086957
0
0
0.143839
0.010309
0
0
0
0
0
1
0.108696
false
0.086957
0.086957
0.086957
0.304348
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
7862362c2a685a044c14e4b97a8f43d0e7baa1f5
1,352
py
Python
hackerearth/Algorithms/Largest Windmill/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerearth/Algorithms/Largest Windmill/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerearth/Algorithms/Largest Windmill/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
""" # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail """ # Write your code here from collections import defaultdict, deque ...
23.719298
94
0.517751
204
1,352
3.426471
0.362745
0.030043
0.034335
0.04721
0.11588
0.048641
0
0
0
0
0
0.016685
0.335059
1,352
56
95
24.142857
0.760845
0.196746
0
0.044444
0
0
0
0
0
0
0
0.017857
0
1
0
false
0
0.022222
0
0.022222
0.044444
0
0
0
null
0
0
0
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
78634d639d85d08c0ec70e8b376d62a31e283863
6,622
py
Python
code/release/normalize_to_vcd.py
williamgibb/la-data-graphing
dba49e4dcc65256566474f9c8ff407c164d188c2
[ "ECL-1.0" ]
null
null
null
code/release/normalize_to_vcd.py
williamgibb/la-data-graphing
dba49e4dcc65256566474f9c8ff407c164d188c2
[ "ECL-1.0" ]
null
null
null
code/release/normalize_to_vcd.py
williamgibb/la-data-graphing
dba49e4dcc65256566474f9c8ff407c164d188c2
[ "ECL-1.0" ]
null
null
null
# # This script is Copyrighted (c) 2012 by William Gibb and # licensed under the OSI Educational Community License version 1.0 # # Please see the LICENSE.txt file for a full reading of the appopriate # license. # import sys import os import csv import optparse import string import logging import re imp...
31.235849
114
0.614467
905
6,622
4.41105
0.297238
0.037575
0.012024
0.018788
0.117986
0.102705
0.037074
0.037074
0.037074
0.018537
0
0.008808
0.262761
6,622
212
115
31.235849
0.80889
0.078828
0
0.133333
0
0.006667
0.228408
0.007673
0
0
0
0
0
0
null
null
0
0.053333
null
null
0.006667
0
0
0
null
0
0
0
0
0
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
786b2cbe165ff3efeddb8ce434ec54fe8e4cbb38
2,189
py
Python
Projecto1/basico/Exercicio3.py
CarlosMacaneta/Basic-Python
13034a23ca4cb45eab1226c6b719476d713803b9
[ "MIT" ]
1
2021-05-13T11:09:16.000Z
2021-05-13T11:09:16.000Z
Projecto1/basico/Exercicio3.py
CarlosMacaneta/Basic-Python
13034a23ca4cb45eab1226c6b719476d713803b9
[ "MIT" ]
null
null
null
Projecto1/basico/Exercicio3.py
CarlosMacaneta/Basic-Python
13034a23ca4cb45eab1226c6b719476d713803b9
[ "MIT" ]
null
null
null
import os.path import random def gerar_id(): return "AZ" + str(random.randrange(1, 1000)) def designar_arq(): return gerar_id() + ".txt" def formulario(fich): fich.write("Id: " + gerar_id() + "\n") fich.write("Nome: " + input("Nome: ").capitalize() + "\n") fich.write("Perfil: Docente\n") f...
23.042105
69
0.583828
283
2,189
4.40636
0.282686
0.079391
0.057739
0.067362
0.038492
0.038492
0.038492
0
0
0
0
0.003752
0.269529
2,189
94
70
23.287234
0.77611
0
0
0.171429
0
0
0.125171
0
0
0
0
0
0
1
0.142857
false
0.071429
0.028571
0.028571
0.257143
0.057143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
78768458d1d5d8763041828ce894b1405751ca58
5,872
py
Python
pyjobs_web/pyjobsweb/controllers/jobs.py
pyjobs/web
183742ae571ee83d4fe4b34f1f0ce9f2204c449e
[ "MIT" ]
8
2016-01-29T13:06:26.000Z
2020-11-02T07:23:57.000Z
pyjobs_web/pyjobsweb/controllers/jobs.py
pyjobs/web
183742ae571ee83d4fe4b34f1f0ce9f2204c449e
[ "MIT" ]
18
2016-02-11T08:17:13.000Z
2022-03-02T14:53:38.000Z
pyjobs_web/pyjobsweb/controllers/jobs.py
pyjobs/web
183742ae571ee83d4fe4b34f1f0ce9f2204c449e
[ "MIT" ]
5
2016-02-05T08:57:12.000Z
2018-01-15T08:19:43.000Z
# -*- coding: utf-8 -*- import json import logging from elasticsearch_dsl import Q, SF from sqlalchemy.orm.exc import NoResultFound from tg.decorators import expose, redirect, paginate from tg.exceptions import HTTPNotFound from pyjobsweb.model import JobAlchemy from pyjobsweb.model import JobElastic from pyjobsweb.m...
28.504854
76
0.552282
580
5,872
5.367241
0.312069
0.025699
0.038548
0.013492
0.212014
0.147767
0.130421
0.130421
0.116929
0.116929
0
0.010893
0.358992
5,872
205
77
28.643902
0.816153
0.041383
0
0.345238
0
0.005952
0.075965
0.024017
0
0
0
0
0
0
null
null
0.005952
0.071429
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
7877594dfebd86d5488c351f1f1c7312d5340ea1
2,143
py
Python
market/checkout/urls.py
katomaso/django-market
84c4fa10aefbd792a956cef3d727623ca78cb5fd
[ "MIT" ]
null
null
null
market/checkout/urls.py
katomaso/django-market
84c4fa10aefbd792a956cef3d727623ca78cb5fd
[ "MIT" ]
null
null
null
market/checkout/urls.py
katomaso/django-market
84c4fa10aefbd792a956cef3d727623ca78cb5fd
[ "MIT" ]
null
null
null
# coding: utf-8 from django.utils.translation import gettext as _ from market.core.urls import api from urljects import U, slug, url from market.checkout.views import cart, checkout, order, payment action = slug.replace("slug", "action") def active(user): """Check if the user is active with verified email.""" ...
44.645833
109
0.679421
284
2,143
5.038732
0.415493
0.030748
0.018868
0.016771
0.092243
0.092243
0.092243
0
0
0
0
0.000561
0.168455
2,143
47
110
45.595745
0.802469
0.25385
0
0
0
0
0.245891
0.034134
0
0
0
0.021277
0
1
0.038462
false
0
0.192308
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
787b63dc0fd0b28ae87da2a327123d0389504e2a
4,881
py
Python
blockchain/toycoin/block.py
tkuriyama/toycoin
aace6c2f2b55ddb2003dcbffff8b923ea6a47670
[ "MIT" ]
2
2021-07-14T07:45:26.000Z
2021-08-11T19:28:42.000Z
blockchain/toycoin/block.py
tkuriyama/toycoin
aace6c2f2b55ddb2003dcbffff8b923ea6a47670
[ "MIT" ]
null
null
null
blockchain/toycoin/block.py
tkuriyama/toycoin
aace6c2f2b55ddb2003dcbffff8b923ea6a47670
[ "MIT" ]
null
null
null
"""Construct blocks. A block consists of a collection of transactions (of some limited number), plus additional metadata in a header. Blocks are generated with a proof-of-work hash. """ import math # type: ignore from toycoin import hash, merkle, transaction, utils # type: ignore from typing import List, Optional, Tu...
28.881657
80
0.597828
589
4,881
4.85399
0.2309
0.036376
0.01539
0.01574
0.06086
0.04687
0.012592
0
0
0
0
0.010315
0.225364
4,881
168
81
29.053571
0.745834
0.202008
0
0.02381
1
0
0.067049
0
0
0
0
0
0.011905
1
0.142857
false
0
0.035714
0
0.452381
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
787d2f3c3a6fd4faa65d2cb284cf88e6378a574b
1,484
py
Python
archai/algos/divnas/divnas_exp_runner.py
cclauss/archai
a5fb8f937f7f1319e3204120803b2a045e9f768b
[ "MIT" ]
344
2020-06-12T22:12:56.000Z
2022-03-29T06:48:20.000Z
archai/algos/divnas/divnas_exp_runner.py
cclauss/archai
a5fb8f937f7f1319e3204120803b2a045e9f768b
[ "MIT" ]
29
2020-06-13T19:56:49.000Z
2022-03-30T20:26:48.000Z
archai/algos/divnas/divnas_exp_runner.py
cclauss/archai
a5fb8f937f7f1319e3204120803b2a045e9f768b
[ "MIT" ]
68
2020-06-12T19:32:43.000Z
2022-03-05T06:58:40.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from typing import Type from overrides import overrides from archai.common.common import get_conf from archai.nas.exp_runner import ExperimentRunner from archai.nas.arch_trainer import ArchTrainer, TArchTrainer from archai.algos.darts.bilevel_a...
29.098039
70
0.715633
149
1,484
7
0.389262
0.057526
0.037392
0
0
0
0
0
0
0
0
0
0.207547
1,484
50
71
29.68
0.886905
0.045822
0
0.2
0
0
0.048936
0
0
0
0
0
0
1
0.085714
false
0
0.314286
0.028571
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
788255405425a8b525763b34fd49429697be3d01
915
py
Python
main.py
sonmezerekrem/pytool
181a35ef6d45eba90c5f22cb812aa9fb713443cf
[ "MIT" ]
null
null
null
main.py
sonmezerekrem/pytool
181a35ef6d45eba90c5f22cb812aa9fb713443cf
[ "MIT" ]
null
null
null
main.py
sonmezerekrem/pytool
181a35ef6d45eba90c5f22cb812aa9fb713443cf
[ "MIT" ]
null
null
null
import argparse from src import passwordops from src import fileops parser = argparse.ArgumentParser( formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument("--password", help="Password operations") parser.add_argument("--file", help="File operations") parser.add_argument("--network", help="...
29.516129
75
0.727869
116
915
5.698276
0.344828
0.121029
0.090772
0.113464
0.255673
0.173979
0
0
0
0
0
0
0.138798
915
30
76
30.5
0.838832
0
0
0
0
0
0.19235
0
0
0
0
0
0
1
0
false
0.28
0.12
0
0.12
0.04
0
0
0
null
0
0
0
0
0
0
0
0
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
78833315feaedc364d2bfb0b40ea41f96410349e
369
py
Python
myCompany/dashboard/containers/dashboard.py
Rom4eg/myCompany
31846a861d8b0560191e2e1d9791f101b88874df
[ "MIT" ]
null
null
null
myCompany/dashboard/containers/dashboard.py
Rom4eg/myCompany
31846a861d8b0560191e2e1d9791f101b88874df
[ "MIT" ]
null
null
null
myCompany/dashboard/containers/dashboard.py
Rom4eg/myCompany
31846a861d8b0560191e2e1d9791f101b88874df
[ "MIT" ]
null
null
null
import datetime from dashboard.mixins import DashboardMixin class DashboardContainer(object): title = "" date = None content = "" url = ""; author = "" def __init__(self, title, content, date, url, author): self.title = title self.content = content self.date = date ...
20.5
58
0.598916
39
369
5.564103
0.461538
0.082949
0
0
0
0
0
0
0
0
0
0
0.303523
369
17
59
21.705882
0.844358
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.642857
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
78888d554122d723a2a040946bd993cce961a9e0
2,685
py
Python
metalearn/metalearn/data_environments/sklearn_regression.py
cosmicBboy/ml-research
04fd31f68e7a44152caf6eaaf66ab59f136dd8f5
[ "MIT" ]
8
2018-03-04T21:14:27.000Z
2021-11-16T11:50:12.000Z
metalearn/metalearn/data_environments/sklearn_regression.py
cosmicBboy/ml-research
04fd31f68e7a44152caf6eaaf66ab59f136dd8f5
[ "MIT" ]
24
2018-08-01T04:39:35.000Z
2020-08-18T13:21:56.000Z
metalearn/metalearn/data_environments/sklearn_regression.py
cosmicBboy/ml-research
04fd31f68e7a44152caf6eaaf66ab59f136dd8f5
[ "MIT" ]
4
2020-01-22T04:21:44.000Z
2021-06-25T10:11:22.000Z
"""Module for sampling from a distribution of regression environments.""" from collections import OrderedDict from functools import partial import sklearn.datasets from .data_environment import DataEnvironment from ..data_types import FeatureType, TargetType, DataSourceType def envs(n=5, test_size=None, random_sta...
38.913043
73
0.603352
248
2,685
6.326613
0.310484
0.187381
0.049713
0.063098
0.458891
0.458891
0.428936
0.312938
0.312938
0.312938
0
0.004921
0.318808
2,685
68
74
39.485294
0.852925
0.058845
0
0.57377
0
0
0.036683
0
0
0
0
0.014706
0
1
0.016393
false
0
0.081967
0.016393
0.114754
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
788e61041c9a49c346500289a402234d7ce95ad1
6,820
py
Python
jobs.py
jeinarsson/josync
03cd5690f72d1dffb46f5668c3539fd7da2ae9a9
[ "MIT" ]
null
null
null
jobs.py
jeinarsson/josync
03cd5690f72d1dffb46f5668c3539fd7da2ae9a9
[ "MIT" ]
2
2015-01-13T23:01:22.000Z
2015-08-13T10:55:43.000Z
jobs.py
jeinarsson/josync
03cd5690f72d1dffb46f5668c3539fd7da2ae9a9
[ "MIT" ]
null
null
null
import utils import json import os import logging import subprocess as sp import re import datetime logger = logging.getLogger(__name__) class Job(object): """Parent class for backup jobs.""" def __init__(self,params): super(Job, self).__init__() logger.debug("Entering Job constructor.") ...
36.084656
114
0.590469
787
6,820
4.959339
0.251588
0.029977
0.019985
0.030746
0.125288
0.042531
0.029208
0.029208
0.029208
0
0
0.007103
0.298094
6,820
188
115
36.276596
0.808022
0.059238
0
0.133858
0
0
0.151131
0.003598
0
0
0
0
0
0
null
null
0
0.055118
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
78907edec7992fb491f3918fa2ca9ac505827ceb
1,553
py
Python
gender-age/test.py
hazxone/insightface
215e0b602c05be204051225cf84d3691a8672b31
[ "MIT" ]
null
null
null
gender-age/test.py
hazxone/insightface
215e0b602c05be204051225cf84d3691a8672b31
[ "MIT" ]
null
null
null
gender-age/test.py
hazxone/insightface
215e0b602c05be204051225cf84d3691a8672b31
[ "MIT" ]
null
null
null
import face_model import argparse import cv2 import sys import numpy as np import datetime import os import csv parser = argparse.ArgumentParser(description='face model test') # general parser.add_argument('--image-size', default='112,112', help='') parser.add_argument('--image', default='Tom_Hanks_54745.png', help=''...
31.693878
119
0.692853
241
1,553
4.323651
0.39834
0.043186
0.081574
0.048944
0.107486
0.071017
0.049904
0
0
0
0
0.033809
0.142949
1,553
49
120
31.693878
0.749061
0.281391
0
0
0
0
0.229091
0.053636
0
0
0
0
0
0
null
null
0
0.275862
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
7897d25e3d9c9fe5aa2e8cfd3788a5de8d96e834
2,791
py
Python
pylti1p3/launch_data_storage/base.py
edubadges/pylti1.3
46534384b79076d254ff3e94676ae6155e77a05e
[ "MIT" ]
62
2019-08-13T11:24:36.000Z
2022-03-11T16:24:55.000Z
pylti1p3/launch_data_storage/base.py
edubadges/pylti1.3
46534384b79076d254ff3e94676ae6155e77a05e
[ "MIT" ]
58
2019-08-13T13:27:27.000Z
2022-03-28T11:00:56.000Z
pylti1p3/launch_data_storage/base.py
edubadges/pylti1.3
46534384b79076d254ff3e94676ae6155e77a05e
[ "MIT" ]
35
2019-10-11T18:26:02.000Z
2022-03-29T08:33:00.000Z
import typing as t from abc import ABCMeta, abstractmethod if t.TYPE_CHECKING: from ..request import Request _T_DISABLED_SESSION_ID = t.TypeVar('_T_DISABLED_SESSION_ID', bound='DisableSessionId') T = t.TypeVar('T') class LaunchDataStorage(t.Generic[T]): __metaclass__ = ABCMeta _request = None # type: t...
29.691489
86
0.627732
336
2,791
4.848214
0.1875
0.127072
0.104359
0.077348
0.218539
0.111725
0.081031
0.045427
0
0
0
0.000976
0.265855
2,791
93
87
30.010753
0.794046
0.183805
0
0.169492
0
0
0.025255
0.009747
0
0
0
0
0
1
0.237288
false
0.016949
0.050847
0.033898
0.525424
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
789bdd5e34a470287b773e590ecc610782669894
545
py
Python
pyro/CaseInsensitiveList.py
dmdemoura/pyro
cf4b6651a9e5d603abb6e0b8c0b3bbaf407c0b08
[ "MIT" ]
null
null
null
pyro/CaseInsensitiveList.py
dmdemoura/pyro
cf4b6651a9e5d603abb6e0b8c0b3bbaf407c0b08
[ "MIT" ]
null
null
null
pyro/CaseInsensitiveList.py
dmdemoura/pyro
cf4b6651a9e5d603abb6e0b8c0b3bbaf407c0b08
[ "MIT" ]
null
null
null
from collections import UserList class CaseInsensitiveList(UserList): """ Simple list type for storing and comparing strings case-insensitively """ def __contains__(self, item: object) -> bool: if isinstance(item, str): return any(item.casefold() == x.casefold() for x in s...
30.277778
75
0.607339
63
545
5.190476
0.539683
0.097859
0.085627
0.116208
0
0
0
0
0
0
0
0
0.289908
545
17
76
32.058824
0.844961
0.126606
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.545455
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
789fa2729424c49d88156fb0210d7cb6917ce60b
357
py
Python
examples/grid_numbers.py
lebalz/smartphone-connector
303cbdb851416c1da7329e7bae2ee4a12aa7f5b0
[ "MIT" ]
1
2021-01-24T01:22:12.000Z
2021-01-24T01:22:12.000Z
examples/grid_numbers.py
lebalz/smartphone-connector
303cbdb851416c1da7329e7bae2ee4a12aa7f5b0
[ "MIT" ]
1
2020-09-14T17:12:53.000Z
2020-09-14T17:12:53.000Z
examples/grid_numbers.py
lebalz/smartphone-connector
303cbdb851416c1da7329e7bae2ee4a12aa7f5b0
[ "MIT" ]
1
2020-09-14T12:51:48.000Z
2020-09-14T12:51:48.000Z
import os import sys from pprint import pprint sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from smartphone_connector import Connector from examples.server_address import SERVER_ADDRESS device = Connector(SERVER_ADDRESS, 'FooBar') device.set_grid([1, 2, 3, 4], base_color='blue') ...
25.5
82
0.77591
54
357
4.944444
0.555556
0.067416
0
0
0
0
0
0
0
0
0
0.018519
0.092437
357
13
83
27.461538
0.805556
0
0
0
0
0
0.033613
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
78a2c697223c67940447a26395bef5e289aebf8d
736
py
Python
tests/actions/_action.py
zduey/shap
1bb8203f2d43f7552396a5f26167a258cbdc505c
[ "MIT" ]
16,097
2016-12-01T20:01:26.000Z
2022-03-31T20:27:40.000Z
tests/actions/_action.py
zduey/shap
1bb8203f2d43f7552396a5f26167a258cbdc505c
[ "MIT" ]
2,217
2017-09-18T20:06:45.000Z
2022-03-31T21:00:25.000Z
tests/actions/_action.py
zduey/shap
1bb8203f2d43f7552396a5f26167a258cbdc505c
[ "MIT" ]
2,634
2017-06-29T21:30:46.000Z
2022-03-30T07:30:36.000Z
""" Unit tests for the Exact explainer. """ # pylint: disable=missing-function-docstring import numpy as np import pandas as pd import shap def test_create_and_run(): X = pd.DataFrame({"feature1": np.ones(5), "feature2": np.ones(5)}) class IncreaseFeature1(shap.actions.Action): """ Sample action. ...
23.741935
70
0.601902
91
736
4.659341
0.549451
0.09434
0.033019
0
0
0
0
0
0
0
0
0.025926
0.266304
736
30
71
24.533333
0.759259
0.139946
0
0
0
0
0.106624
0
0
0
0
0
0.111111
1
0.222222
false
0
0.166667
0.055556
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
1
0
0
0
0
0
0
0
1
78a4817896a145e970020819125dee94a1bc26c2
1,221
py
Python
Code/venv/src/Unit Testing/test_register.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
null
null
null
Code/venv/src/Unit Testing/test_register.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
38
2021-04-01T18:09:31.000Z
2021-05-08T17:27:03.000Z
Code/venv/src/Unit Testing/test_register.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
3
2021-04-16T07:25:11.000Z
2022-01-29T10:24:33.000Z
from django.conf import settings from django.test import TestCase from django.contrib.auth import get_user_model # Create your tests here. User = get_user_model() class RegistrationTestCase(TestCase): # Setup for our Tests def setUp(self): user_a = User(email='abcd@invalid.com') user_a_pw =...
30.525
72
0.670762
161
1,221
4.826087
0.42236
0.057915
0.036036
0.042471
0.039897
0
0
0
0
0
0
0.01179
0.235872
1,221
39
73
31.307692
0.821008
0.164619
0
0
0
0
0.092977
0
0
0
0
0
0.125
1
0.125
false
0.125
0.125
0
0.291667
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
78abd190bf2a63aa7b7a97ea20a03a84acf5f2f9
1,032
py
Python
Regular_Expressions/Regular_Expressions.py
Jadams29/Coding_Problems
780af79cfa3933922a06b571e13322ff517b87ef
[ "MIT" ]
null
null
null
Regular_Expressions/Regular_Expressions.py
Jadams29/Coding_Problems
780af79cfa3933922a06b571e13322ff517b87ef
[ "MIT" ]
null
null
null
Regular_Expressions/Regular_Expressions.py
Jadams29/Coding_Problems
780af79cfa3933922a06b571e13322ff517b87ef
[ "MIT" ]
null
null
null
# Regular Expressions (RegEx) are used to # 1. Search for a specific string in a large amount of data # 2. Verify that a string has the proper format (Email, Phone #) # 3. Find a string and replace it with another string # 4. Format data into the proper form for importing for example import re if re.search("ape", "T...
23.454545
89
0.689922
171
1,032
4.163743
0.438596
0.02809
0.042135
0.046348
0.172753
0.101124
0.101124
0.067416
0.067416
0
0
0.007212
0.193798
1,032
44
90
23.454545
0.848558
0.349806
0
0.291667
0
0
0.206325
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
0.416667
0
0
0
null
0
0
0
0
0
0
0
0
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
78ae8759ea2b129373c29e7f5013918d787344a7
10,347
py
Python
doc/jupyter_execute/notebooks/protocol_examples.py
edshee/seldon-core
78c10fbca16a5e2a0c25b9673aa3deb220070e26
[ "Apache-2.0" ]
null
null
null
doc/jupyter_execute/notebooks/protocol_examples.py
edshee/seldon-core
78c10fbca16a5e2a0c25b9673aa3deb220070e26
[ "Apache-2.0" ]
null
null
null
doc/jupyter_execute/notebooks/protocol_examples.py
edshee/seldon-core
78c10fbca16a5e2a0c25b9673aa3deb220070e26
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # # Basic Examples with Different Protocols # # ## Prerequisites # # * A kubernetes cluster with kubectl configured # * curl # * grpcurl # * pygmentize # # ## Examples # # * [Seldon Protocol](#Seldon-Protocol-Model) # * [Tensorflow Protocol](#Tensorflow-Protocol-Model...
35.313993
912
0.663381
1,502
10,347
4.503329
0.208389
0.039917
0.033117
0.047605
0.616795
0.592697
0.547901
0.508131
0.475754
0.458752
0
0.049096
0.155504
10,347
292
913
35.434932
0.724994
0.182082
0
0.352941
0
0.152941
0.645604
0.15301
0.011765
0
0
0
0.082353
1
0.011765
false
0
0.105882
0
0.117647
0.129412
0
0
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
78b122bff610d3b425a22d6e2a005f675785a7e9
11,595
py
Python
ballgameActorCritic.py
ranok92/toySocialNav
06b935621c088605f0d395c01ae73e2f37a2e7e4
[ "MIT" ]
1
2021-05-26T01:41:13.000Z
2021-05-26T01:41:13.000Z
ballgameActorCritic.py
ranok92/toySocialNav
06b935621c088605f0d395c01ae73e2f37a2e7e4
[ "MIT" ]
null
null
null
ballgameActorCritic.py
ranok92/toySocialNav
06b935621c088605f0d395c01ae73e2f37a2e7e4
[ "MIT" ]
null
null
null
import ballenv_pygame as BE #from flat_game import ballgamepyg as BE import numpy as np from itertools import count from collections import namedtuple import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.distributions import Categorical import datetime from matplotli...
29.206549
170
0.601811
1,502
11,595
4.515979
0.235686
0.014153
0.013268
0.017691
0.214507
0.145953
0.120301
0.086392
0.07681
0.056317
0
0.031511
0.277447
11,595
396
171
29.280303
0.778109
0.20345
0
0.209402
0
0
0.025584
0.014077
0.004274
0
0
0
0
0
null
null
0
0.051282
null
null
0.017094
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
78c52171bb8eb9ca8c41c0f6116afa3c336f5adc
272
py
Python
tests/urls.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
39
2016-01-04T04:13:27.000Z
2022-01-18T19:17:24.000Z
tests/urls.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
140
2015-11-01T01:19:54.000Z
2022-03-10T13:00:33.000Z
tests/urls.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
35
2016-01-20T12:42:21.000Z
2022-01-20T07:06:47.000Z
import ajax_select.urls from django.contrib import admin from django.urls import include, path import tracker.urls urlpatterns = [ path('tracker/', include(tracker.urls)), path('admin/lookups/', include(ajax_select.urls)), path('admin/', admin.site.urls), ]
22.666667
54
0.724265
36
272
5.416667
0.388889
0.102564
0.14359
0
0
0
0
0
0
0
0
0
0.136029
272
11
55
24.727273
0.829787
0
0
0
0
0
0.102941
0
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
78c9bc9408903efdc0986a05e0b857a063a87fe5
12,849
py
Python
examples/pvmlnet_classify.py
claudio-unipv/pvml
9f583c2658218003bba2efa70cdbb7499b22d843
[ "MIT" ]
3
2020-03-30T11:17:17.000Z
2021-05-15T10:27:30.000Z
examples/pvmlnet_classify.py
claudio-unipv/pvml
9f583c2658218003bba2efa70cdbb7499b22d843
[ "MIT" ]
null
null
null
examples/pvmlnet_classify.py
claudio-unipv/pvml
9f583c2658218003bba2efa70cdbb7499b22d843
[ "MIT" ]
2
2020-07-15T09:42:42.000Z
2021-09-14T07:24:50.000Z
#!/usr/bin/env python3 import pvml import numpy as np import sys try: import PIL.Image except ImportError: print("To use this script you need the `Pillow' libray") print("Install it with 'pip install Pillow' or 'pip3 install Pillow'") sys.exit() IMAGENET_CLASSES = list(map(str.strip, """ tench, g...
57.361607
95
0.770332
1,670
12,849
5.923952
0.752096
0.002426
0.002224
0.00283
0
0
0
0
0
0
0
0.002512
0.132462
12,849
223
96
57.618834
0.884991
0.00895
0
0.033654
0
0
0.930783
0.001728
0
0
0
0
0
1
0
false
0.009615
0.024038
0
0.024038
0.048077
0
0
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
78d0b802679c2bf3956836361c0881169949c091
1,024
py
Python
mezzo-server/mezzo-server.py
AKAMEDIASYSTEM/mezzo
ed864bc2d4768fc8cac5b99f448c714965094693
[ "MIT" ]
null
null
null
mezzo-server/mezzo-server.py
AKAMEDIASYSTEM/mezzo
ed864bc2d4768fc8cac5b99f448c714965094693
[ "MIT" ]
null
null
null
mezzo-server/mezzo-server.py
AKAMEDIASYSTEM/mezzo
ed864bc2d4768fc8cac5b99f448c714965094693
[ "MIT" ]
null
null
null
import os import config import sys import logging import datetime import tornado.web import tornado.ioloop import tornado.options import random import handlers DEBUG = True DIRNAME = os.path.dirname(os.path.abspath(__file__)) STATIC_PATH = os.path.join(DIRNAME, 'static') TEMPLATE_PATH = os.path.join(DIRNAME, 'templat...
23.813953
78
0.695313
120
1,024
5.758333
0.425
0.034732
0.060781
0.040521
0.060781
0
0
0
0
0
0
0.009174
0.148438
1,024
42
79
24.380952
0.783257
0.152344
0
0
0
0
0.11124
0
0
0
0
0
0
1
0
false
0
0.322581
0
0.322581
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
78d11678dc0b5c1d63f9dbe772a552b6ffe091af
1,227
py
Python
pi_turret/blaster/hyperfire.py
iot-foam-turret/pi-turret
583d72a7625eb702ccde7afe66a085162854555a
[ "MIT" ]
2
2021-05-12T21:13:14.000Z
2022-03-27T15:24:08.000Z
pi_turret/blaster/hyperfire.py
iot-foam-turret/pi-turret
583d72a7625eb702ccde7afe66a085162854555a
[ "MIT" ]
7
2019-09-14T15:21:46.000Z
2019-09-29T02:58:46.000Z
pi_turret/blaster/hyperfire.py
iot-foam-turret/pi-turret
583d72a7625eb702ccde7afe66a085162854555a
[ "MIT" ]
null
null
null
"""Hyperfire Class to model the actual BLASTER. """ import time from pi_turret.dc_motor.motor import DCMotor, FEED_PIN, FLYWHEEL_PIN class Hyperfire: """Hyperfire Class to model the actual BLASTER. """ def __init__(self): self.flywheels = DCMotor(FLYWHEEL_PIN) self.feeder = DCMotor(FEED_P...
23.150943
78
0.590872
149
1,227
4.677852
0.328859
0.093257
0.045911
0.060258
0.241033
0.106169
0.106169
0
0
0
0
0.006993
0.300734
1,227
53
79
23.150943
0.805361
0.290954
0
0.076923
0
0
0.009615
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.346154
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
78d72d12cf61116aa37a06dd0e9a986b1ccb232d
1,026
py
Python
students/k33401/Litvak_Igor/Lr3/cities/models.py
igorlitvak/ITMO_ICT_WebDevelopment_2021-2022
b12a2c5ab2bcb96683190e20f0a0915b8d185134
[ "MIT" ]
null
null
null
students/k33401/Litvak_Igor/Lr3/cities/models.py
igorlitvak/ITMO_ICT_WebDevelopment_2021-2022
b12a2c5ab2bcb96683190e20f0a0915b8d185134
[ "MIT" ]
null
null
null
students/k33401/Litvak_Igor/Lr3/cities/models.py
igorlitvak/ITMO_ICT_WebDevelopment_2021-2022
b12a2c5ab2bcb96683190e20f0a0915b8d185134
[ "MIT" ]
null
null
null
from django.db import models from django.core.validators import MinValueValidator, MaxValueValidator from django.contrib.auth.models import User class City(models.Model): """City""" class Meta: verbose_name = "City" verbose_name_plural = "Cities" name = models.CharField("City name", max_...
31.090909
103
0.707602
118
1,026
5.991525
0.381356
0.062235
0.045262
0.056577
0.260255
0.118812
0.118812
0
0
0
0
0.016471
0.17154
1,026
32
104
32.0625
0.815294
0.026316
0
0.2
0
0
0.12753
0.022267
0
0
0
0
0
1
0.1
false
0
0.15
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1523f297062c94b271f453046aaeb2c896da4afe
1,079
py
Python
setup.py
mpastell/pyageng
6ca71870e6c81bd0841725e0547cd7af6ef9e99c
[ "MIT" ]
12
2016-10-24T23:45:01.000Z
2021-08-19T01:43:30.000Z
setup.py
mpastell/pyageng
6ca71870e6c81bd0841725e0547cd7af6ef9e99c
[ "MIT" ]
null
null
null
setup.py
mpastell/pyageng
6ca71870e6c81bd0841725e0547cd7af6ef9e99c
[ "MIT" ]
5
2017-12-31T02:20:11.000Z
2020-12-30T14:47:24.000Z
#!/usr/bin/env python from setuptools import setup import os import pyageng setup(name='pyageng', version = pyageng.__version__, description='Code for the book "Measurements and Data Analysis for Agricultural Engineers using Python"', author='Matti Pastell', author_email='matti.pastell@helsinki...
32.69697
135
0.651529
119
1,079
5.84874
0.630252
0.064655
0.103448
0.066092
0.189655
0.189655
0.189655
0.189655
0.189655
0.189655
0
0.005841
0.206673
1,079
32
136
33.71875
0.807243
0.018536
0
0
0
0
0.531662
0.062005
0
0
0
0
0
1
0
true
0
0.136364
0
0.136364
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
152410300ce02f61b88ddec4e21ac68de252371f
935
py
Python
Day32/send_quote_monday_using_email.py
CodePuzzler/100-Days-Of-Code-Python
4f6da9dabc73f747266ce0e66057d10754ecc54e
[ "MIT" ]
null
null
null
Day32/send_quote_monday_using_email.py
CodePuzzler/100-Days-Of-Code-Python
4f6da9dabc73f747266ce0e66057d10754ecc54e
[ "MIT" ]
null
null
null
Day32/send_quote_monday_using_email.py
CodePuzzler/100-Days-Of-Code-Python
4f6da9dabc73f747266ce0e66057d10754ecc54e
[ "MIT" ]
null
null
null
# Day32 of my 100DaysOfCode Challenge # send a quote on monday using email import random import smtplib import datetime as dt # function to send email def send_email(_quote): my_email = "abc@example.com" password = "qwerty@1234" # opening connection using 'with', as done for opening a file with smtpli...
28.333333
76
0.678075
128
935
4.851563
0.484375
0.057971
0.045089
0
0
0
0
0
0
0
0
0.01387
0.228877
935
32
77
29.21875
0.847434
0.257754
0
0
0
0
0.154294
0.032023
0
0
0
0
0
1
0.047619
false
0.095238
0.142857
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1528eaebe677c388daabca3a03f6965008666a40
6,109
py
Python
cisco_platforms_pillar/CUCMConnectorAXL.py
MatiasBanega/devnet-webinar
990617f042d16c798191efad9284585f4e62e99a
[ "MIT" ]
null
null
null
cisco_platforms_pillar/CUCMConnectorAXL.py
MatiasBanega/devnet-webinar
990617f042d16c798191efad9284585f4e62e99a
[ "MIT" ]
null
null
null
cisco_platforms_pillar/CUCMConnectorAXL.py
MatiasBanega/devnet-webinar
990617f042d16c798191efad9284585f4e62e99a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Cisco CUCM connector class This class creates a connection object via AXL\SOAP to the specified CUCM server using the specified AXL-enabled credentials @author: Alfonso Sandoval Rosas """ import urllib3, logging from ZeepDebugPlugin import * from zeep import Client, xsd from zeep.cache impo...
42.72028
141
0.608774
663
6,109
5.452489
0.263952
0.024896
0.027663
0.016598
0.525311
0.51397
0.493499
0.473029
0.433748
0.432089
0
0.008879
0.299394
6,109
143
142
42.72028
0.835748
0.167294
0
0.475728
0
0
0.188629
0.023553
0
0
0
0
0
1
0.048544
false
0.087379
0.07767
0
0.15534
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
152d1cff312cd7c0d9d40008bb1d4a1b6465afe3
3,651
py
Python
silksnake/api/eth.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
3
2020-09-16T14:47:58.000Z
2021-03-08T13:26:40.000Z
silksnake/api/eth.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
null
null
null
silksnake/api/eth.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
1
2021-03-15T11:02:08.000Z
2021-03-15T11:02:08.000Z
# -*- coding: utf-8 -*- """The API equivalent to Ethereum JSON RPC.""" from typing import Tuple, Union from ..core.constants import HASH_SIZE from ..core import chain, reader from ..helpers import hashing from ..remote import kv_remote from ..rlp import sedes from ..stagedsync import stages # pylint: disable=broad-e...
44.52439
119
0.672692
482
3,651
4.838174
0.246888
0.044597
0.056604
0.053602
0.454117
0.427959
0.352916
0.352916
0.305746
0.267153
0
0.003589
0.236921
3,651
81
120
45.074074
0.833453
0.171734
0
0.245614
0
0
0.00135
0
0
0
0
0
0
1
0.157895
false
0
0.122807
0
0.508772
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
1534543e156931eab7224fef982035431ba8c699
503
py
Python
stlearn/tools/microenv/cci/r_helpers.py
duypham2108/stLearn
91b6bae91b29aba8b4f055bf92da13f1558ddbe8
[ "BSD-3-Clause" ]
null
null
null
stlearn/tools/microenv/cci/r_helpers.py
duypham2108/stLearn
91b6bae91b29aba8b4f055bf92da13f1558ddbe8
[ "BSD-3-Clause" ]
null
null
null
stlearn/tools/microenv/cci/r_helpers.py
duypham2108/stLearn
91b6bae91b29aba8b4f055bf92da13f1558ddbe8
[ "BSD-3-Clause" ]
1
2019-12-12T12:46:55.000Z
2019-12-12T12:46:55.000Z
""" Helper functions for porting R code into python/stLearn. """ import os ro = None pandas2ri = None localconverter = None def rpy2_setup(r_path): """Sets up rpy2.""" os.environ["R_HOME"] = r_path import rpy2.robjects as robjects_ from rpy2.robjects import pandas2ri as pandas2ri_ from rpy2.rob...
20.958333
74
0.729622
61
503
5.852459
0.459016
0.10084
0.089636
0
0
0
0
0
0
0
0
0.027295
0.198807
503
23
75
21.869565
0.858561
0.139165
0
0
0
0
0.014286
0
0
0
0
0
0
1
0.076923
false
0
0.307692
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
0
1
0
0
0
0
1
153723abc4a87465acdbe4e0af24e7f4398d265c
460
py
Python
pynsett/examples/discourse_example.py
fractalego/python-nlulite
982b780adedebf2c8a1e119f0f8b46ae72a9c384
[ "MIT" ]
26
2019-01-12T21:52:36.000Z
2022-03-30T11:28:52.000Z
pynsett/examples/discourse_example.py
fractalego/python-nlulite
982b780adedebf2c8a1e119f0f8b46ae72a9c384
[ "MIT" ]
2
2022-02-04T12:03:10.000Z
2022-02-09T13:24:07.000Z
pynsett/examples/discourse_example.py
fractalego/python-nlulite
982b780adedebf2c8a1e119f0f8b46ae72a9c384
[ "MIT" ]
3
2019-08-18T18:45:48.000Z
2022-02-04T11:39:38.000Z
import os from pynsett.discourse import Discourse from pynsett.extractor import Extractor from pynsett.knowledge import Knowledge _path = os.path.dirname(__file__) text = "Jane was born on 10 August 1979." knowledge = Knowledge() knowledge.add_rules(open(os.path.join(_path, '../rules/test.rules')).read()) discours...
23
76
0.771739
60
460
5.8
0.5
0.094828
0
0
0
0
0
0
0
0
0
0.014851
0.121739
460
19
77
24.210526
0.846535
0
0
0
0
0
0.11087
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
0
0
0
0
1
0
0
0
0
1
1539cf3e5cae3c14764559eae2f60b5775ee8b16
450
py
Python
setup.py
sebasgverde/music-geometry-eval
24a1267282c85bcf4c97dba33e6975e038994ccc
[ "MIT" ]
2
2021-11-06T01:45:40.000Z
2022-01-10T00:16:04.000Z
setup.py
sebasgverde/music-geometry-eval
24a1267282c85bcf4c97dba33e6975e038994ccc
[ "MIT" ]
null
null
null
setup.py
sebasgverde/music-geometry-eval
24a1267282c85bcf4c97dba33e6975e038994ccc
[ "MIT" ]
1
2021-11-05T21:55:47.000Z
2021-11-05T21:55:47.000Z
from setuptools import setup setup(name='music_geometry_eval', version='2.0', description='A python library to automatically evaluate music tonality based on geometry', url='https://github.com/sebasgverde/music-geometry-eval', author='Sebastian Garcia Valencia', author_email='sebasgverde@g...
37.5
96
0.695556
53
450
5.773585
0.716981
0.127451
0.166667
0
0
0
0
0
0
0
0
0.010811
0.177778
450
11
97
40.909091
0.816216
0
0
0
0
0
0.488889
0.046667
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
154822303284556e43d319547825ccd2f3e0fac4
622
py
Python
figet/Optim.py
nlpAThits/figet
f628973bfdd49d8b95030c93787d52f07fd1fcb3
[ "MIT" ]
16
2018-04-19T23:54:10.000Z
2021-06-28T15:35:40.000Z
figet/Optim.py
nlpAThits/figet
f628973bfdd49d8b95030c93787d52f07fd1fcb3
[ "MIT" ]
3
2018-06-17T20:50:52.000Z
2019-05-18T08:04:32.000Z
figet/Optim.py
nlpAThits/figet
f628973bfdd49d8b95030c93787d52f07fd1fcb3
[ "MIT" ]
2
2019-04-07T19:17:28.000Z
2020-02-07T15:19:46.000Z
#!/usr/bin/env python # encoding: utf-8 import torch.optim as optim from torch.nn.utils import clip_grad_norm class Optim(object): def __init__(self, lr, max_grad_norm): self.lr = lr self.max_grad_norm = max_grad_norm def set_parameters(self, params): self.params = list(params) ...
24.88
60
0.66881
93
622
4.204301
0.387097
0.143223
0.140665
0.11509
0
0
0
0
0
0
0
0.004141
0.223473
622
24
61
25.916667
0.805383
0.057878
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0
0.466667
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
154e8533b41f0ce6ac61c16ecbfbb8ffcbee0f6b
1,618
py
Python
seminar2/rules.py
savineugenioan/rau-mas-ai
ddab8979fca0fe6f6f42bcc273be75b159185607
[ "Apache-2.0" ]
null
null
null
seminar2/rules.py
savineugenioan/rau-mas-ai
ddab8979fca0fe6f6f42bcc273be75b159185607
[ "Apache-2.0" ]
null
null
null
seminar2/rules.py
savineugenioan/rau-mas-ai
ddab8979fca0fe6f6f42bcc273be75b159185607
[ "Apache-2.0" ]
null
null
null
# IF () THEN () # IF direction = left THEN position = (-1, 0) class RuleAntecedent: def __init__(self, direction=None, world=None): self.direction = direction # up, down, left, right self.world = world # (-1, 0, 0) (-1, 0, 1) class RuleConsequent: def __init__(self, position=None, direction=...
27.896552
59
0.596415
175
1,618
5.445714
0.142857
0.023085
0.226653
0.130115
0.627492
0.627492
0.627492
0.482686
0.302204
0.302204
0
0.036184
0.248455
1,618
57
60
28.385965
0.747533
0.062423
0
0.354167
0
0
0.029762
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
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
15514b08bd5a63930470922fc566fbf8d19309de
412
py
Python
setup.py
ebenolson/loadconfig
e16962a0934f64ad7c36e3c0aee2c9e867687b80
[ "MIT" ]
7
2016-07-11T16:49:47.000Z
2021-04-25T10:55:41.000Z
setup.py
ebenolson/loadconfig
e16962a0934f64ad7c36e3c0aee2c9e867687b80
[ "MIT" ]
3
2016-01-22T23:21:09.000Z
2018-09-01T07:58:13.000Z
setup.py
ebenolson/loadconfig
e16962a0934f64ad7c36e3c0aee2c9e867687b80
[ "MIT" ]
3
2016-01-06T00:58:49.000Z
2020-01-10T14:32:43.000Z
#!/usr/bin/env python # Create wheel with: python setup.py bdist_wheel # Install with: pip install -U dist/loadconfig-*.whl from os import environ from re import sub from setuptools import setup for line in open('loadconfig/__init__.py'): if line.startswith('__version__'): version = sub(".+'(.+?)'\...
25.75
58
0.686893
59
412
4.610169
0.627119
0.102941
0
0
0
0
0
0
0
0
0
0.002899
0.162621
412
15
59
27.466667
0.785507
0.303398
0
0
0
0
0.211268
0.077465
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
155f9a04aa790cb4447a738281b3858fe2e0ef10
309
py
Python
dv2.py
dhruv-varshney/cleargit
e001f2bf594106110488e1aa44a74b95d30e6b4c
[ "MIT" ]
2
2021-05-27T17:45:38.000Z
2021-06-09T17:18:25.000Z
dv2.py
dhruv-varshney/Python
e001f2bf594106110488e1aa44a74b95d30e6b4c
[ "MIT" ]
null
null
null
dv2.py
dhruv-varshney/Python
e001f2bf594106110488e1aa44a74b95d30e6b4c
[ "MIT" ]
null
null
null
val = int(input('enter the number: ')) x=0 y=0 for i in range(1,val+1): if(i%2!=0): x= x+7 else: y = y+6 if(val%2!=0): print(' {} term in accordance to the program is {}'.format(val,x-7)) else: print('{} term in accordance to the program is {}'.format(val,y-6))
12.875
72
0.527508
57
309
2.859649
0.45614
0.02454
0.07362
0.257669
0.539877
0.539877
0.539877
0.539877
0.539877
0.539877
0
0.054054
0.281553
309
23
73
13.434783
0.68018
0
0
0.166667
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
15640a5c0d434045a81705bb7b215eb96c897603
626
py
Python
apps/settings/middleware.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
25
2021-06-13T03:38:44.000Z
2022-03-15T15:53:31.000Z
apps/settings/middleware.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
59
2021-06-12T23:35:06.000Z
2022-03-24T21:40:24.000Z
apps/settings/middleware.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
null
null
null
from .models import MSiteSettings class SettingsMiddleware: """Set our settings object on the request""" def __init__(self, get_response): self.get_response = get_response # One-time configuration and initialization. def __call__(self, request): # Code to be executed for each req...
29.809524
75
0.680511
74
626
5.594595
0.567568
0.10628
0.108696
0.111111
0.178744
0.178744
0.178744
0.178744
0
0
0
0
0.252396
626
20
76
31.3
0.884615
0.386581
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
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
1569c967632f707014360811bbac3595ce760ece
6,803
py
Python
ui_error_screen.py
frux-c/ValorantBot
532b40f8f6db4ee3639701bd658da9f78cab82d9
[ "MIT" ]
null
null
null
ui_error_screen.py
frux-c/ValorantBot
532b40f8f6db4ee3639701bd658da9f78cab82d9
[ "MIT" ]
null
null
null
ui_error_screen.py
frux-c/ValorantBot
532b40f8f6db4ee3639701bd658da9f78cab82d9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'error_screen.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # 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. import sys, os ...
45.966216
176
0.679994
730
6,803
6.236986
0.276712
0.073139
0.041731
0.036899
0.249067
0.132221
0.091588
0.071821
0
0
0
0.038681
0.20197
6,803
147
177
46.278912
0.799779
0.040717
0
0.106061
1
0
0.152723
0.016481
0
0
0
0
0
1
0.015152
false
0
0.05303
0
0.075758
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
15701bb8175673d8adcfe6e80f96492b05abf7ac
313
py
Python
lz4/__init__.py
ajholyoake/python-lz4
c4e16e27971707d84f5436c19dbe2520cc041d35
[ "BSD-3-Clause" ]
null
null
null
lz4/__init__.py
ajholyoake/python-lz4
c4e16e27971707d84f5436c19dbe2520cc041d35
[ "BSD-3-Clause" ]
null
null
null
lz4/__init__.py
ajholyoake/python-lz4
c4e16e27971707d84f5436c19dbe2520cc041d35
[ "BSD-3-Clause" ]
null
null
null
from pkg_resources import get_distribution, DistributionNotFound try: __version__ = get_distribution(__name__).version except DistributionNotFound: # package is not installed pass VERSION = __version__ from ._version import ( # noqa: F401 library_version_number, library_version_string, )
20.866667
64
0.776358
33
313
6.757576
0.636364
0.134529
0
0
0
0
0
0
0
0
0
0.011583
0.172524
313
14
65
22.357143
0.849421
0.111821
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.1
0.2
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
0
0
0
0
0
1
0
0
0
0
0
1
157224a749b4260b67c28ec33f01c0b9086b5863
393
py
Python
snuggle/data/types/score.py
halfak/snuggle
384818aaf8a783013b076ada3c74226f10e5dc18
[ "MIT" ]
2
2021-04-26T20:34:25.000Z
2021-11-12T11:26:57.000Z
snuggle/data/types/score.py
halfak/snuggle
384818aaf8a783013b076ada3c74226f10e5dc18
[ "MIT" ]
null
null
null
snuggle/data/types/score.py
halfak/snuggle
384818aaf8a783013b076ada3c74226f10e5dc18
[ "MIT" ]
null
null
null
from . import serializable from .user import User class Score(serializable.Type): def __init__(self, id, user, score=None, attempts=0): self.id = int(id) self.user = User.deserialize(user) self.score = float(score) if score != None else None self.attempts = int(attempts) def add_attempt(self, inc=1): s...
23.117647
54
0.699746
59
393
4.576271
0.40678
0.1
0.103704
0.140741
0
0
0
0
0
0
0
0.006154
0.173028
393
16
55
24.5625
0.824615
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
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
1
0
0
0
0
0
0
0
1
15770097bf230a6328771ee66ddf68f1a6f8f5d3
1,446
py
Python
pages/views.py
benoitc/dj-pages
d049cb196e7b9f7a6dffa987e82d75cf86565621
[ "MIT" ]
1
2020-01-21T11:12:12.000Z
2020-01-21T11:12:12.000Z
pages/views.py
benoitc/dj-pages
d049cb196e7b9f7a6dffa987e82d75cf86565621
[ "MIT" ]
null
null
null
pages/views.py
benoitc/dj-pages
d049cb196e7b9f7a6dffa987e82d75cf86565621
[ "MIT" ]
null
null
null
# -*- coding: utf-8 - # # This file is part of dj-pages released under the MIT license. # See the NOTICE for more information. from django.conf import settings from django.contrib.auth.models import Group from django.http import Http404, HttpResponse, HttpResponseServerError from django.shortcuts import render_to_res...
27.807692
70
0.675657
170
1,446
5.670588
0.441176
0.051867
0.03527
0.043568
0.126556
0.126556
0.126556
0
0
0
0
0.009874
0.229599
1,446
51
71
28.352941
0.855476
0.082296
0
0.057143
0
0
0.030116
0
0
0
0
0
0
0
null
null
0
0.142857
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
157a79f284da8d9cc66390e1b5b8a99dc5554bc6
391
py
Python
garden_api/migrations/0004_auto_20190206_1731.py
401-pi-rates/raspberry-garden
4e0e55e66d73b19c0c0fc8c03f8f34a090ed322d
[ "MIT" ]
1
2019-02-27T01:56:16.000Z
2019-02-27T01:56:16.000Z
garden_api/migrations/0004_auto_20190206_1731.py
joyliao07/raspberry-garden
4e0e55e66d73b19c0c0fc8c03f8f34a090ed322d
[ "MIT" ]
19
2019-02-02T00:53:48.000Z
2021-09-08T00:58:30.000Z
garden_api/migrations/0004_auto_20190206_1731.py
joyliao07/raspberry-garden
4e0e55e66d73b19c0c0fc8c03f8f34a090ed322d
[ "MIT" ]
2
2019-02-27T01:55:53.000Z
2019-03-25T06:49:23.000Z
# Generated by Django 2.1.5 on 2019-02-07 01:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('garden_api', '0003_auto_20190206_1440'), ] operations = [ migrations.AlterField( model_name='soilmoisture', name='ha...
20.578947
50
0.606138
41
391
5.634146
0.853659
0
0
0
0
0
0
0
0
0
0
0.110714
0.283887
391
18
51
21.722222
0.714286
0.11509
0
0
1
0
0.165698
0.06686
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
157b0ae1f08d4650c9cffb2abc6ff2bb8e194a0e
888
py
Python
webapp/request.py
eude313/goal
8ebc6c3fa3011d11ee106536e0b9d315b1f5cc2b
[ "MIT" ]
null
null
null
webapp/request.py
eude313/goal
8ebc6c3fa3011d11ee106536e0b9d315b1f5cc2b
[ "MIT" ]
null
null
null
webapp/request.py
eude313/goal
8ebc6c3fa3011d11ee106536e0b9d315b1f5cc2b
[ "MIT" ]
null
null
null
import urllib.request,json from .models import Quote # Getting the news base url quote_api = None def configure_request(app): global quote_api quote_api = app.config["QUOTES_API"] def get_quotes(): ''' Function that gets the random quotes ''' get_article_details_url = 'http://quo...
25.371429
89
0.662162
112
888
4.991071
0.401786
0.144902
0.182469
0.143113
0
0
0
0
0
0
0
0
0.245496
888
34
90
26.117647
0.834328
0.070946
0
0
0
0
0.099256
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.263158
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
15855175c606cca38de789368d87a49ec8fe0b51
1,209
py
Python
setup.py
twdb/sonde3
5d6c9672870f9186c22db1a88fc5a143e8fd887c
[ "BSD-3-Clause" ]
1
2017-08-11T18:50:08.000Z
2017-08-11T18:50:08.000Z
setup.py
twdb/sonde3
5d6c9672870f9186c22db1a88fc5a143e8fd887c
[ "BSD-3-Clause" ]
11
2018-03-06T14:31:13.000Z
2018-07-27T14:14:19.000Z
setup.py
twdb/sonde3
5d6c9672870f9186c22db1a88fc5a143e8fd887c
[ "BSD-3-Clause" ]
1
2017-08-21T22:45:16.000Z
2017-08-21T22:45:16.000Z
""" sonde3 ------- PySonde is a module for reading water quality data from various sensor formats. """ from setuptools import Command, setup, find_packages # note: the minimum version numbers are just what I know will work, # but they could probably be a few versions lower setup( name='sonde3', version='0.2', ...
31
82
0.652605
139
1,209
5.589928
0.76259
0.046332
0.041184
0
0
0
0
0
0
0
0
0.011803
0.229115
1,209
38
83
31.815789
0.821888
0.17287
0
0.068966
0
0
0.50555
0.050454
0
0
0
0
0
1
0
true
0
0.034483
0
0.034483
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
158af3b9c1b0eba24baf15a53f726d6ea44ae733
1,982
py
Python
pipeline/visual_main.py
ElfatihZiad/realtime-market-data-pipeline
bc92f89c310d6b654141fe79c14f962d35899320
[ "Apache-2.0" ]
4
2021-12-14T23:54:14.000Z
2022-01-01T21:09:24.000Z
pipeline/visual_main.py
ElfatihZiad/realtime-market-data-pipeline
bc92f89c310d6b654141fe79c14f962d35899320
[ "Apache-2.0" ]
1
2022-01-07T20:26:49.000Z
2022-01-07T20:26:49.000Z
pipeline/visual_main.py
ElfatihZiad/realtime-market-data-pipeline
bc92f89c310d6b654141fe79c14f962d35899320
[ "Apache-2.0" ]
1
2022-01-20T20:00:58.000Z
2022-01-20T20:00:58.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import json import datetime import pandas as pd from bokeh.models.widgets import Tabs from warehouse import CassandraStorage import util.util as util from util.util import pandas_factory,symbol_list from bokeh.models import ColumnDataSource, Panel from bokeh.layouts impor...
34.172414
97
0.754793
270
1,982
5.403704
0.396296
0.04318
0.041124
0.04318
0.070596
0.070596
0.047978
0
0
0
0
0.034443
0.12109
1,982
57
98
34.77193
0.8031
0.025227
0
0
0
0
0.058667
0
0
0
0
0
0
1
0
false
0
0.45
0
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
0
1
0
0
0
0
1
158ca93802eb9dccc421c636270c924dd054fd75
1,650
py
Python
src/graph_transpiler/webdnn/util/flags/optimize.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
1
2018-07-26T13:52:21.000Z
2018-07-26T13:52:21.000Z
src/graph_transpiler/webdnn/util/flags/optimize.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
null
null
null
src/graph_transpiler/webdnn/util/flags/optimize.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
null
null
null
import os OPTIMIZE = os.environ.get("OPTIMIZE", "1") == "1" # basic (non-accuracy loss) optimization REMOVE_REDUNDANT_OPERATOR = os.environ.get("REMOVE_REDUNDANT_OPERATOR", "1") == "1" SIMPLIFY_ELEMENTWISE = os.environ.get("SIMPLIFY_ELEMENTWISE", "1") == "1" REPLACE_SCALAR_OPERATOR = os.environ.get("REPLACE_SCALAR_OP...
55
95
0.753333
221
1,650
5.280543
0.239819
0.14653
0.195373
0.08569
0.191945
0
0
0
0
0
0
0.025066
0.081212
1,650
29
96
56.896552
0.744723
0.049697
0
0
0
0
0.31158
0.234165
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
1591fa0cac2c7d80e07b73ac86f219bf9123ba87
1,953
py
Python
client/jsonrpc/_tests/test_proxy.py
bmwiedemann/bitcoin
d956a409451ae38b0135f74774929e25ded16936
[ "MIT" ]
45
2015-03-16T00:51:40.000Z
2022-01-16T23:03:35.000Z
client/jsonrpc/_tests/test_proxy.py
bmwiedemann/bitcoin
d956a409451ae38b0135f74774929e25ded16936
[ "MIT" ]
87
2018-01-06T10:18:31.000Z
2022-03-11T23:32:30.000Z
client/jsonrpc/_tests/test_proxy.py
bmwiedemann/bitcoin
d956a409451ae38b0135f74774929e25ded16936
[ "MIT" ]
14
2017-02-18T02:55:13.000Z
2021-03-29T09:58:16.000Z
""" Copyright (c) 2007 Jan-Klaas Kollhof This file is part of jsonrpc. jsonrpc is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later...
32.016393
111
0.673323
248
1,953
5.282258
0.512097
0.027481
0.027481
0.043511
0.138931
0.138931
0.114504
0
0
0
0
0.013245
0.226831
1,953
61
112
32.016393
0.854305
0
0
0.071429
0
0
0.160173
0.07619
0
0
0
0
0.142857
0
null
null
0
0.142857
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
15932452db9b9061ffd7215580037a3f59475126
650
py
Python
deployments/migrations/0029_auto_20200625_1019.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
11
2018-06-11T06:05:12.000Z
2022-03-25T09:31:44.000Z
deployments/migrations/0029_auto_20200625_1019.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
498
2017-11-07T21:20:13.000Z
2022-03-31T14:37:18.000Z
deployments/migrations/0029_auto_20200625_1019.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
6
2018-04-11T13:29:50.000Z
2020-07-16T16:52:11.000Z
# Generated by Django 2.2.13 on 2020-06-25 10:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('deployments', '0028_auto_20200618_0904'), ] operations = [ migrations.AddField( model_name='project', name='actual_...
27.083333
96
0.618462
67
650
5.865672
0.597015
0.045802
0.081425
0.101781
0.259542
0.259542
0.259542
0.259542
0.259542
0
0
0.067227
0.267692
650
23
97
28.26087
0.758403
0.070769
0
0.235294
1
0
0.182724
0.038206
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
15976fcea0f40cbc07e06c9cc6783d32da92191e
5,123
py
Python
src/tuplenet/lcp/middle_table.py
qwjhq/TupleNet
c0f2c2e876c8425c503385bfebc3d6c1b5d4e50f
[ "Apache-2.0" ]
2
2020-02-10T16:06:34.000Z
2020-02-12T14:55:19.000Z
src/tuplenet/lcp/middle_table.py
rockmenjack/TupleNet
b740f4c25b15e72616495bfcb12f2e6d9b7091ad
[ "Apache-2.0" ]
null
null
null
src/tuplenet/lcp/middle_table.py
rockmenjack/TupleNet
b740f4c25b15e72616495bfcb12f2e6d9b7091ad
[ "Apache-2.0" ]
null
null
null
from pyDatalog import pyDatalog import action import match from reg import * from logicalview import * from flow_common import TABLE_LSP_EGRESS_FIRST, TABLE_LRP_INGRESS_IP_ROUTE, \ TABLE_EMBED2_METADATA, TABLE_DROP_PACKET, TABLE_OUTPUT_PKT pyDatalog.create_terms('Table, Priority, Match, Action')...
39.10687
82
0.663869
704
5,123
4.521307
0.197443
0.03393
0.028275
0.040214
0.562363
0.520892
0.437637
0.361609
0.309142
0.309142
0
0.035096
0.199102
5,123
130
83
39.407692
0.740678
0.086863
0
0.363636
0
0
0.071107
0.00921
0
0
0
0
0
1
0
true
0
0.054545
0
0.054545
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
15998ca5e704d0ce300f88ec9f63d2edf52a1311
469
py
Python
tbx/people/migrations/0011_auto_20190216_1748.py
elviva404/wagtail-torchbox
718d9e2c4337073f010296932d369c726a01dbd3
[ "MIT" ]
103
2015-02-24T17:58:21.000Z
2022-03-23T08:08:58.000Z
tbx/people/migrations/0011_auto_20190216_1748.py
elviva404/wagtail-torchbox
718d9e2c4337073f010296932d369c726a01dbd3
[ "MIT" ]
145
2015-01-13T17:13:43.000Z
2022-03-29T12:56:20.000Z
tbx/people/migrations/0011_auto_20190216_1748.py
elviva404/wagtail-torchbox
718d9e2c4337073f010296932d369c726a01dbd3
[ "MIT" ]
57
2015-01-03T12:00:37.000Z
2022-02-09T13:11:30.000Z
# Generated by Django 2.1.5 on 2019-02-16 17:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("people", "0010_contact_default_contact"), ] operations = [ migrations.AlterField( model_name="contact", name="defaul...
22.333333
65
0.586354
48
469
5.625
0.729167
0.103704
0
0
0
0
0
0
0
0
0
0.058462
0.307036
469
20
66
23.45
0.772308
0.095949
0
0.142857
1
0
0.132701
0.066351
0
0
0
0
0
1
0
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
15a285c25f5f655b57f5a6de7f026ed992a0785f
23,320
py
Python
api_test/models.py
RockyLiys/api_auto_test_platform
7e6aec23b6f54d20c534b77a2679daf37b65c960
[ "MIT" ]
null
null
null
api_test/models.py
RockyLiys/api_auto_test_platform
7e6aec23b6f54d20c534b77a2679daf37b65c960
[ "MIT" ]
10
2019-12-04T23:30:37.000Z
2022-02-10T12:05:45.000Z
api_test/models.py
RockyLiys/api_auto_test_platform
7e6aec23b6f54d20c534b77a2679daf37b65c960
[ "MIT" ]
3
2019-07-01T10:18:40.000Z
2019-07-06T00:59:19.000Z
from django.contrib.auth.models import User from django.db import models # Create your models here. from django.conf import settings from django.db.models.signals import post_save from django.dispatch import receiver from rest_framework.authtoken.models import Token HTTP_CHOICE = ( ('HTTP', 'HTTP'), ('HTTPS',...
36.551724
133
0.683962
2,756
23,320
5.55479
0.135704
0.148018
0.096414
0.128552
0.707166
0.685544
0.651055
0.60435
0.53805
0.520413
0
0.016469
0.187607
23,320
637
134
36.609105
0.791607
0.018611
0
0.392694
0
0
0.064252
0
0
0
0
0
0
1
0.086758
false
0.004566
0.013699
0.084475
0.721461
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
15a40abfd2080856f8b0424f55c6b76f48786a86
511
py
Python
src/server.py
themis-project/themis-finals-devenv-master
b004a12af8c98fb0286642ca0becd69e146bc6f3
[ "MIT" ]
null
null
null
src/server.py
themis-project/themis-finals-devenv-master
b004a12af8c98fb0286642ca0becd69e146bc6f3
[ "MIT" ]
null
null
null
src/server.py
themis-project/themis-finals-devenv-master
b004a12af8c98fb0286642ca0becd69e146bc6f3
[ "MIT" ]
null
null
null
from gevent import monkey monkey.patch_all() from gevent.pywsgi import WSGIServer from werkzeug.serving import run_with_reloader import os from app import app SERVER_HOST = os.getenv('SERVER_HOST', '0.0.0.0') SERVER_PORT = int(os.getenv('SERVER_PORT', '80')) SERVER_RELOAD = os.getenv('SERVER_RELOAD', 'no') == 'yes' ...
23.227273
61
0.747554
77
511
4.701299
0.402597
0.082873
0.116022
0
0
0
0
0
0
0
0
0.013514
0.131115
511
21
62
24.333333
0.801802
0
0
0
0
0
0.09589
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
15b528691ced37fef4bc2f524d86160eed2c75df
7,525
py
Python
visualization/panda/rpc/rviz_pb2.py
takuya-ki/wrs
f6e1009b94332504042fbde9b39323410394ecde
[ "MIT" ]
23
2021-04-02T09:02:04.000Z
2022-03-22T05:31:03.000Z
visualization/panda/rpc/rviz_pb2.py
takuya-ki/wrs
f6e1009b94332504042fbde9b39323410394ecde
[ "MIT" ]
35
2021-04-12T09:41:05.000Z
2022-03-26T13:32:46.000Z
visualization/panda/rpc/rviz_pb2.py
takuya-ki/wrs
f6e1009b94332504042fbde9b39323410394ecde
[ "MIT" ]
16
2021-03-30T11:55:45.000Z
2022-03-30T07:10:59.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: rviz.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf i...
29.509804
557
0.749635
879
7,525
6.056883
0.183163
0.050714
0.064237
0.076071
0.482908
0.441773
0.441773
0.439895
0.396694
0.386551
0
0.031688
0.127708
7,525
254
558
29.625984
0.779403
0.053422
0
0.59633
1
0.004587
0.151217
0.094247
0
0
0
0
0
1
0
false
0
0.018349
0
0.018349
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