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
a471818b81303d9f9e59947e01ca26f73e324df2
1,029
py
Python
wiki_db.py
johannesemme/ESA
0d2dcafff6c9b5f270ddcaee8520824fdd19d523
[ "MIT" ]
null
null
null
wiki_db.py
johannesemme/ESA
0d2dcafff6c9b5f270ddcaee8520824fdd19d523
[ "MIT" ]
null
null
null
wiki_db.py
johannesemme/ESA
0d2dcafff6c9b5f270ddcaee8520824fdd19d523
[ "MIT" ]
null
null
null
# String data in a MARISA-trie may take up to 50x-100x less memory than in a standard Python dict; # the raw lookup speed is comparable; trie also provides fast advanced methods like prefix search. from marisa_trie import Trie import logging from logging import basicConfig import re import click from typing import L...
33.193548
106
0.74344
150
1,029
4.88
0.513333
0.04918
0.065574
0.046448
0
0
0
0
0
0
0
0.005754
0.155491
1,029
31
107
33.193548
0.836594
0.188533
0
0
0
0
0.048019
0
0
0
0
0
0
1
0.090909
false
0
0.318182
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a47b60143f2bf103adfeb094af0580d28b157b18
997
py
Python
presto-benchto-benchmarks/generate_schemas/generate-tpch.py
sreekanth370/presto
6be1558cfa40e8122eb714ba21e94927b410098b
[ "Apache-2.0" ]
9,782
2016-03-18T15:16:19.000Z
2022-03-31T07:49:41.000Z
presto-benchto-benchmarks/generate_schemas/generate-tpch.py
sreekanth370/presto
6be1558cfa40e8122eb714ba21e94927b410098b
[ "Apache-2.0" ]
10,310
2016-03-18T01:03:00.000Z
2022-03-31T23:54:08.000Z
presto-benchto-benchmarks/generate_schemas/generate-tpch.py
sreekanth370/presto
6be1558cfa40e8122eb714ba21e94927b410098b
[ "Apache-2.0" ]
3,803
2016-03-18T22:54:24.000Z
2022-03-31T07:49:46.000Z
#!/usr/bin/env python schemas = [ # (new_schema, source_schema) ('tpch_10gb_orc', 'tpch.sf10'), ('tpch_100gb_orc', 'tpch.sf100'), ('tpch_1tb_orc', 'tpch.sf1000'), ('tpch_10tb_orc', 'tpch.sf10000'), ('tpch_10gb_text', 'hive.tpch_10gb_orc'), ('tpch_100gb_text', 'hive.tpch_100gb_orc'), ('...
24.925
98
0.592778
124
997
4.475806
0.379032
0.113514
0.086486
0.075676
0
0
0
0
0
0
0
0.049223
0.225677
997
39
99
25.564103
0.669689
0.048144
0
0
0
0
0.412883
0
0
0
0
0
0
0
null
null
0
0
null
null
0.064516
0
0
0
null
0
0
0
0
0
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
a48457d4c56bf89ed629812aa015d3614a5a757d
1,036
py
Python
litenn/core/Saveable.py
dna2fork/litenn
016aade87446c41ba666ddfa2422a777ced39fd0
[ "MIT" ]
61
2020-11-06T14:50:35.000Z
2022-03-19T21:31:51.000Z
litenn/core/Saveable.py
dna2fork/litenn
016aade87446c41ba666ddfa2422a777ced39fd0
[ "MIT" ]
3
2020-11-18T22:42:38.000Z
2020-12-31T10:40:30.000Z
litenn/core/Saveable.py
dna2fork/litenn
016aade87446c41ba666ddfa2422a777ced39fd0
[ "MIT" ]
3
2021-01-21T13:43:57.000Z
2022-02-24T14:39:40.000Z
import pickle from pathlib import Path class Saveable: """ Base class of saveable classes. """ #override def dump_state(self): """ return a picklable state_dict that should be saved/loaded """ raise NotImplementedError() #override def load_state(self, state...
24.093023
67
0.585907
113
1,036
5.274336
0.495575
0.073826
0.107383
0.11745
0
0
0
0
0
0
0
0.001433
0.326255
1,036
42
68
24.666667
0.852436
0.30695
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
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
a48f041584537e7e453cce952cafca38ea14f057
501
py
Python
geonames/readers.py
flyingdice/geonames-sqlite
acf51d9af723d46815c43509ce22712ce910a61e
[ "Apache-2.0" ]
null
null
null
geonames/readers.py
flyingdice/geonames-sqlite
acf51d9af723d46815c43509ce22712ce910a61e
[ "Apache-2.0" ]
null
null
null
geonames/readers.py
flyingdice/geonames-sqlite
acf51d9af723d46815c43509ce22712ce910a61e
[ "Apache-2.0" ]
null
null
null
""" geonames/readers ~~~~~~~~~~~~~~~~ Contains reader implementations. """ import contextlib import io import os import zipfile from typing import IO @contextlib.contextmanager def text_reader(path: str) -> IO: with io.open(path, mode='r', encoding='utf-8') as f: yield f @contextlib.contex...
19.269231
58
0.660679
67
501
4.910448
0.492537
0.048632
0.164134
0.091185
0
0
0
0
0
0
0
0.004926
0.189621
501
25
59
20.04
0.805419
0.133733
0
0.142857
0
0
0.016908
0
0
0
0
0
0
1
0.142857
false
0
0.357143
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
a4963802072b4dafafe7b78b58b259b04ca72574
2,100
py
Python
src/runtime/runtime_test.py
JoeinChina/DeepWeather
2677edc16d9865ec98401aaf121aaabd24974aaf
[ "MIT" ]
1
2020-07-23T04:13:02.000Z
2020-07-23T04:13:02.000Z
src/runtime/runtime_test.py
JoeBuzh/DeepWeather
2677edc16d9865ec98401aaf121aaabd24974aaf
[ "MIT" ]
null
null
null
src/runtime/runtime_test.py
JoeBuzh/DeepWeather
2677edc16d9865ec98401aaf121aaabd24974aaf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Author: Joe BU # Date: 2019-3-26 18:00:00 from model_config import base_config import os from datetime import datetime, timedelta import sys sys.path.append(base_config['append_path']) from mylog import mylog as lg runtime_log = lg.init_logger(base_config['runtime_log_path']) def main(t1):...
35
131
0.585714
292
2,100
4.020548
0.311644
0.099659
0.11925
0.076661
0.401193
0.358603
0.358603
0.331346
0.232538
0.232538
0
0.031072
0.249048
2,100
59
132
35.59322
0.71338
0.07
0
0.25
0
0.022727
0.265537
0.125835
0
0
0
0
0
0
null
null
0
0.113636
null
null
0.045455
0
0
0
null
0
0
0
0
0
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
a4a14609e2de74ffcb20735a477a1cd518d114d7
1,007
py
Python
apps/songbook/tables.py
Lego-Songbook/lego-songbook-django
a97f757410feadf9d821e89501d7d23e87843768
[ "MIT" ]
null
null
null
apps/songbook/tables.py
Lego-Songbook/lego-songbook-django
a97f757410feadf9d821e89501d7d23e87843768
[ "MIT" ]
null
null
null
apps/songbook/tables.py
Lego-Songbook/lego-songbook-django
a97f757410feadf9d821e89501d7d23e87843768
[ "MIT" ]
null
null
null
import django_tables2 as tables from .models import Song # from django.db.models import F # from pypinyin import lazy_pinyin class SongTable(tables.Table): sheet_type = tables.Column(orderable=False) class Meta: model = Song # template_name = "django_tables2/bootstrap.html" fields =...
32.483871
85
0.610725
121
1,007
4.942149
0.454545
0.080268
0.046823
0.080268
0.19398
0.19398
0.086957
0
0
0
0
0.002646
0.249255
1,007
30
86
33.566667
0.78836
0.629593
0
0
0
0
0.11236
0
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
0
1
0
0
1
a4a58eead3738d75b77d9111edfbe17a3af72944
383
py
Python
misc/annotare_files.py
arrayexpress/ae_auto
78e50cc31997cb5a69d0d74258b6b1a089ba387a
[ "Apache-2.0" ]
null
null
null
misc/annotare_files.py
arrayexpress/ae_auto
78e50cc31997cb5a69d0d74258b6b1a089ba387a
[ "Apache-2.0" ]
4
2020-06-05T19:26:42.000Z
2022-03-29T21:55:14.000Z
misc/annotare_files.py
arrayexpress/ae_auto
78e50cc31997cb5a69d0d74258b6b1a089ba387a
[ "Apache-2.0" ]
1
2019-03-27T13:15:37.000Z
2019-03-27T13:15:37.000Z
from dal.mysql.annotare.data_files import retrieve_data_files_by_owned_by from dal.mysql.annotare.submission import retrieve_submission_by_accession __author__ = 'Ahmed G. Ali' def main(acc): submission = retrieve_submission_by_accession(acc)[0] files = retrieve_data_files_by_owned_by(submission['id']) ...
27.357143
74
0.780679
55
383
4.909091
0.490909
0.1
0.088889
0.148148
0.192593
0.192593
0
0
0
0
0
0.014925
0.125326
383
14
75
27.357143
0.791045
0
0
0
0
0
0.085938
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a4a91ef32bf6783320cd392d1a5fdc8dfc98d01c
715
py
Python
noteapp/noteapp/static/creds/apikey.py
stuhl232/noteapp
9f55f8268ed0e5db6d21c806cf9e975c44ae8d59
[ "MIT" ]
null
null
null
noteapp/noteapp/static/creds/apikey.py
stuhl232/noteapp
9f55f8268ed0e5db6d21c806cf9e975c44ae8d59
[ "MIT" ]
null
null
null
noteapp/noteapp/static/creds/apikey.py
stuhl232/noteapp
9f55f8268ed0e5db6d21c806cf9e975c44ae8d59
[ "MIT" ]
null
null
null
import requests apikey = '"7ad86c93d9b344b0bc4db49ded1311709c244048991740039de7d36638618530"' url = "https://messagingapis.paylite.net/api/email/send" payload = '''{ ApiKey:''' + apikey + ''', FromEmail: { Email: 'stuphikappa@gmail.com', Name: 'Stu' }, ToEmail: [ { ...
26.481481
87
0.593007
67
715
6.328358
0.731343
0.037736
0.056604
0
0
0
0
0
0
0
0
0.089354
0.264336
715
26
88
27.5
0.71673
0
0
0
0
0
0.718881
0.163636
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.095238
0
0
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
8efc8abe4e2e7e5979a0404853e71e272fb72a4a
4,018
py
Python
bangBangController.py
Dewpal/Humidistat
d40ff02ac36586bdf1f5e286ab4256c43a067f21
[ "MIT" ]
3
2016-10-15T20:34:18.000Z
2016-10-16T16:34:16.000Z
bangBangController.py
Dewpal/Humidistat
d40ff02ac36586bdf1f5e286ab4256c43a067f21
[ "MIT" ]
1
2016-10-15T16:32:29.000Z
2016-10-16T19:42:51.000Z
bangBangController.py
Dewpal/Humidistat
d40ff02ac36586bdf1f5e286ab4256c43a067f21
[ "MIT" ]
null
null
null
#!/usr/bin/python import RPi.GPIO as GPIO import Adafruit_DHT import pandas as pd import datetime import time import threading try: import Queue except: import queue as Queue class virtualSystem: def __init__(self): self.humidityFrame=[40, 40] # current and previous humidity self.inputFram...
34.637931
168
0.59781
486
4,018
4.888889
0.320988
0.023569
0.026936
0.022727
0.124579
0.090067
0.077441
0.048822
0.048822
0.048822
0
0.023818
0.289447
4,018
115
169
34.93913
0.808406
0.169985
0
0.239583
0
0
0.047446
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.052083
0
0
0
null
0
0
0
0
0
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
f1028ab80bcddc2b5b8ab2fb7cb3da6d2d7d908a
8,629
py
Python
breakhis_gradcam/resnet.py
dthiagarajan/breakhis_gradcam
3e68861ead8b7138cae3e10e2f629de996549dd8
[ "Apache-2.0" ]
null
null
null
breakhis_gradcam/resnet.py
dthiagarajan/breakhis_gradcam
3e68861ead8b7138cae3e10e2f629de996549dd8
[ "Apache-2.0" ]
1
2021-09-28T00:42:30.000Z
2021-09-28T00:42:30.000Z
breakhis_gradcam/resnet.py
dthiagarajan/breakhis_gradcam
3e68861ead8b7138cae3e10e2f629de996549dd8
[ "Apache-2.0" ]
1
2020-09-04T10:00:38.000Z
2020-09-04T10:00:38.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_resnet.ipynb (unless otherwise specified). __all__ = ['model_urls', 'conv3x3', 'conv1x1', 'BasicBlock', 'Bottleneck', 'ResNet', 'resnet18', 'resnet34', 'resnet50', 'resnet101', 'resnet152'] # Cell import os import shutil import time import torch.nn as nn impo...
35.364754
120
0.639819
1,132
8,629
4.753534
0.19258
0.019513
0.016726
0.021371
0.575729
0.467943
0.38097
0.325776
0.299015
0.299015
0
0.038754
0.237455
8,629
244
121
35.364754
0.779027
0.148453
0
0.319277
1
0
0.102518
0.013558
0
0
0
0
0.006024
1
0.096386
false
0
0.03012
0
0.222892
0.018072
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
f1078e7b220f9c21e60ea949a59c92e0839a93ca
317
py
Python
RPi.GPIO_BP/test/led_read.py
k0staa/ProjectRobot
5dc897a6e3890f5b025c93abb6bf8a3748f4da04
[ "Unlicense", "MIT" ]
null
null
null
RPi.GPIO_BP/test/led_read.py
k0staa/ProjectRobot
5dc897a6e3890f5b025c93abb6bf8a3748f4da04
[ "Unlicense", "MIT" ]
null
null
null
RPi.GPIO_BP/test/led_read.py
k0staa/ProjectRobot
5dc897a6e3890f5b025c93abb6bf8a3748f4da04
[ "Unlicense", "MIT" ]
null
null
null
#!/usr/bin/env python import RPi.GPIO as GPIO import time PIN_NUM = 18 GPIO.setmode(GPIO.BCM) GPIO.setup(PIN_NUM,GPIO.OUT) GPIO.output(PIN_NUM,True) print "\n value = %d\n" %(GPIO.input(PIN_NUM)) time.sleep(1) GPIO.output(PIN_NUM,False) print "\n value = %d\n" %(GPIO.input(PIN_NUM)) time.sleep(1) GPIO.cleanup()
18.647059
47
0.712934
60
317
3.666667
0.45
0.163636
0.118182
0.145455
0.381818
0.381818
0.381818
0.381818
0.381818
0.381818
0
0.014134
0.107256
317
16
48
19.8125
0.763251
0.063091
0
0.333333
0
0
0.101351
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f10dbcbc59ac138fa4eb32b5924168c31bd01bfb
368
py
Python
src/1646.py
zhaoyi3264/leetcode-solutions
1a3a2d441cdd07a17e80b0ea43b7b266844f530c
[ "MIT" ]
null
null
null
src/1646.py
zhaoyi3264/leetcode-solutions
1a3a2d441cdd07a17e80b0ea43b7b266844f530c
[ "MIT" ]
null
null
null
src/1646.py
zhaoyi3264/leetcode-solutions
1a3a2d441cdd07a17e80b0ea43b7b266844f530c
[ "MIT" ]
null
null
null
class Solution: def getMaximumGenerated(self, n: int) -> int: if n < 2: return n ans = [None for _ in range(n + 1)] ans[0] = 0 ans[1] = 1 for i in range(1, n // 2 + 1): ans[2 * i] = ans[i] if 2 * i + 1 < n + 1: ans[2 * i + 1...
28.307692
52
0.394022
57
368
2.526316
0.333333
0.111111
0.069444
0.083333
0
0
0
0
0
0
0
0.080808
0.461957
368
12
53
30.666667
0.646465
0
0
0
1
0
0
0
0
0
0
0
0
1
0.083333
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
f1107f34441431dadcbe6995f1e6e2ca2b36834c
1,186
py
Python
gwlfe/Input/WaterBudget/UnsatStor_inner.py
mudkipmaster/gwlf-e
9e058445537dd32d1916f76c4b73ca64261771cd
[ "Apache-2.0" ]
null
null
null
gwlfe/Input/WaterBudget/UnsatStor_inner.py
mudkipmaster/gwlf-e
9e058445537dd32d1916f76c4b73ca64261771cd
[ "Apache-2.0" ]
6
2018-07-24T22:46:28.000Z
2018-07-29T19:13:09.000Z
gwlfe/Input/WaterBudget/UnsatStor_inner.py
mudkipmaster/gwlf-e
9e058445537dd32d1916f76c4b73ca64261771cd
[ "Apache-2.0" ]
1
2018-07-24T18:22:01.000Z
2018-07-24T18:22:01.000Z
from numba.pycc import CC from numpy import zeros cc = CC('UnsatStor_inner_compiled') @cc.export('UnsatStor_inner', '(int64,int64[:,::1],float64,float64,float64[:,:,::1],float64[:,:,::1])') def UnsatStor_inner(NYrs, DaysMonth, MaxWaterCap, UnsatStor_0, infiltration, DailyET): unsatstor = zeros((NYrs, 12, 31)) ...
40.896552
103
0.524452
153
1,186
4
0.228758
0.058824
0.083333
0.215686
0.369281
0.27451
0.196078
0.174837
0.088235
0.088235
0
0.034022
0.306071
1,186
28
104
42.357143
0.709599
0
0
0.08
0
0
0.091906
0.079258
0
0
0
0
0
1
0.04
false
0.04
0.08
0
0.16
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1120a4e3f81d8c9392463feb587023bb434d90f
2,178
py
Python
demos/main_filereader_reading_writing.py
taskcontrols/py-taskcontrols
0f3f8d64cafc77dfbf23e70b0c86a91fea858ce4
[ "MIT" ]
1
2021-12-11T03:25:02.000Z
2021-12-11T03:25:02.000Z
demos/main_filereader_reading_writing.py
taskcontrols/py-taskcontrols
0f3f8d64cafc77dfbf23e70b0c86a91fea858ce4
[ "MIT" ]
14
2021-11-26T15:18:05.000Z
2021-12-12T03:05:31.000Z
demos/main_filereader_reading_writing.py
taskcontrols/py-taskcontrols
0f3f8d64cafc77dfbf23e70b0c86a91fea858ce4
[ "MIT" ]
1
2021-11-26T15:05:52.000Z
2021-11-26T15:05:52.000Z
from taskcontrol.lib import FileReaderBase fr = FileReaderBase() logfile = { "name": "logtest", "file": "./demos/logs/filereaderdemo.log", "mode": "r", "encoding": "UTF-8" } writelogfile = { "name": "filetest", "file": "./demos/logs/filereaderdemo_filename.log", "mode": "a",...
34.03125
73
0.607438
284
2,178
4.598592
0.225352
0.073507
0.112557
0.058959
0.657734
0.657734
0.657734
0.657734
0.632466
0.632466
0
0.007738
0.22865
2,178
63
74
34.571429
0.769643
0.27686
0
0.289474
0
0
0.246964
0.047908
0
0
0
0
0
1
0
false
0
0.026316
0
0.026316
0.184211
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f11682c13b3d2a520a52e910bc1579d3f0f3676e
646
py
Python
sicgan/models/encoder.py
hansalshah/SICGAN
ea9967cdaabff894b1f729a16d22fa098262db24
[ "MIT" ]
5
2021-01-27T14:23:36.000Z
2021-12-22T13:26:32.000Z
sicgan/models/encoder.py
hansalshah/SICGAN
ea9967cdaabff894b1f729a16d22fa098262db24
[ "MIT" ]
null
null
null
sicgan/models/encoder.py
hansalshah/SICGAN
ea9967cdaabff894b1f729a16d22fa098262db24
[ "MIT" ]
4
2020-05-17T02:00:41.000Z
2021-12-05T20:43:45.000Z
import torch import torch.nn as nn from sicgan.models.heads import vae_encoder_head from torch.autograd import Variable class encoder_head(nn.Module): def __init__(self,cfg): super(encoder_head,self).__init__() self.vae_encoder = vae_encoder_head(cfg) def sample_z(self, mu, logvar): s...
29.363636
58
0.657895
94
646
4.287234
0.457447
0.099256
0.069479
0
0
0
0
0
0
0
0
0.003976
0.221362
646
22
59
29.363636
0.797217
0
0
0
0
0
0.01391
0
0
0
0
0
0
1
0.166667
false
0
0.222222
0
0.555556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f11e9237899540dbdc5f740a0a2dd6e0b59d536b
1,584
py
Python
metadefender_menlo/api/handlers/file_submit.py
OPSWAT/metadefender-menlo-integration
2687d1b08e4cc2610dd4d871402a126d8e5fa59e
[ "MIT" ]
null
null
null
metadefender_menlo/api/handlers/file_submit.py
OPSWAT/metadefender-menlo-integration
2687d1b08e4cc2610dd4d871402a126d8e5fa59e
[ "MIT" ]
1
2022-03-08T03:39:10.000Z
2022-03-08T03:39:10.000Z
metadefender_menlo/api/handlers/file_submit.py
OPSWAT/metadefender-menlo-integration
2687d1b08e4cc2610dd4d871402a126d8e5fa59e
[ "MIT" ]
5
2021-02-10T11:38:26.000Z
2021-09-17T07:07:42.000Z
import tornado from tornado.web import HTTPError import logging from metadefender_menlo.api.responses.file_submit import FileSubmit from metadefender_menlo.api.handlers.base_handler import BaseHandler class FileSubmitHandler(BaseHandler): async def post(self): logging.info("POST /api/v1/file > Parse m...
42.810811
112
0.659091
194
1,584
5.273196
0.412371
0.064516
0.062561
0.064516
0.162268
0.162268
0.162268
0.099707
0.099707
0
0
0.010682
0.231692
1,584
37
113
42.810811
0.82991
0.031566
0
0
0
0
0.166667
0
0
0
0
0.027027
0
1
0
false
0
0.185185
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f126c3894876aedeb0a4e0b28b77a0b7363097ff
5,803
py
Python
localization/pipeline/ArmInstLoc.py
cameronwp/MMGIS
5e6277bd4f0c8ff77cd12dce51d41abffe0ac394
[ "Apache-2.0", "Unlicense" ]
63
2019-03-28T18:46:55.000Z
2022-03-25T02:49:24.000Z
localization/pipeline/ArmInstLoc.py
cameronwp/MMGIS
5e6277bd4f0c8ff77cd12dce51d41abffe0ac394
[ "Apache-2.0", "Unlicense" ]
75
2019-10-14T08:54:18.000Z
2022-03-30T02:33:29.000Z
localization/pipeline/ArmInstLoc.py
cameronwp/MMGIS
5e6277bd4f0c8ff77cd12dce51d41abffe0ac394
[ "Apache-2.0", "Unlicense" ]
15
2019-12-15T11:26:01.000Z
2022-03-25T02:49:27.000Z
#! /usr/local/msl/bin/python #****************************************************************************** # ArmInstLoc.py <image.IMG> # # Project: Fixed Instrument Localization # Purpose: Localizations for fixed rover instruments on planetary surface # Note: This script processes only MAHLI and APXS...
28.870647
145
0.628813
744
5,803
4.822581
0.267473
0.010033
0.01505
0.026756
0.245541
0.198161
0.190078
0.164437
0.125418
0.061316
0
0.010114
0.216267
5,803
200
146
29.015
0.778804
0.154058
0
0.145161
0
0
0.211493
0.044221
0.008065
0
0
0
0
0
null
null
0
0.104839
null
null
0.193548
0
0
0
null
0
0
0
0
0
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
f12a309c4d4e7917ae80b356a7a7fc287d219d86
220
py
Python
testing/streaming/hdfs2v_mapper.py
dvryaboy/Vertica-Hadoop-Connector
8949a9c4de2cef6543f4ea6962690336eff7a317
[ "Apache-2.0" ]
1
2020-07-05T19:28:38.000Z
2020-07-05T19:28:38.000Z
testing/streaming/hdfs2v_mapper.py
dvryaboy/Vertica-Hadoop-Connector
8949a9c4de2cef6543f4ea6962690336eff7a317
[ "Apache-2.0" ]
null
null
null
testing/streaming/hdfs2v_mapper.py
dvryaboy/Vertica-Hadoop-Connector
8949a9c4de2cef6543f4ea6962690336eff7a317
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys if len(sys.argv) != 2: sys.exit(1); delim=sys.argv[1]; for line in sys.stdin.readlines(): line = line.strip(); line = line.replace('|',delim); sys.stdout.write("streaming\t%s\n" % line)
22
43
0.654545
38
220
3.789474
0.657895
0.097222
0
0
0
0
0
0
0
0
0
0.015544
0.122727
220
9
44
24.444444
0.73057
0.072727
0
0
0
0
0.078818
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f12c8f2c780f64a880b7167e6bababc032e8e97c
7,383
py
Python
ingestor/reference_logic.py
dlf412/comscore
1e79d6af3b4cbf7e281d49e39bf5765a87a6ac43
[ "MIT" ]
1
2021-06-10T02:56:42.000Z
2021-06-10T02:56:42.000Z
ingestor/reference_logic.py
dlf412/comscore
1e79d6af3b4cbf7e281d49e39bf5765a87a6ac43
[ "MIT" ]
null
null
null
ingestor/reference_logic.py
dlf412/comscore
1e79d6af3b4cbf7e281d49e39bf5765a87a6ac43
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 from __future__ import division import os from os.path import join, basename import datetime from config import (config_fail_max_count, config_fail_max_percent, config_check_ftp_frequency, config_check_ftp_interval) from include import PAR_DIR, logger, video_...
40.565934
90
0.616416
941
7,383
4.516472
0.170032
0.045176
0.022588
0.035294
0.378824
0.290824
0.244235
0.223059
0.205176
0.18
0
0.009595
0.280103
7,383
181
91
40.790055
0.790028
0.024651
0
0.116129
0
0
0.093218
0.008792
0
0
0
0
0.006452
0
null
null
0.012903
0.064516
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
f1360bd30cf68e9711e7af6b3b21fe5bd3d29b70
7,638
py
Python
third_party/catapult/perf_insights/perf_insights_build/perf_insights_dev_server_config.py
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
third_party/catapult/perf_insights/perf_insights_build/perf_insights_dev_server_config.py
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/catapult/perf_insights/perf_insights_build/perf_insights_dev_server_config.py
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import datetime import json import os import tempfile import time import urllib import urllib2 import perf_insights_project import webapp2 from webapp2...
34.405405
80
0.680283
912
7,638
5.480263
0.260965
0.043217
0.018007
0.037815
0.377751
0.328731
0.244298
0.203681
0.187275
0.187275
0
0.006315
0.212228
7,638
221
81
34.561086
0.824331
0.08209
0
0.22561
0
0
0.122642
0.034162
0
0
0
0.004525
0
0
null
null
0
0.097561
null
null
0.060976
0
0
0
null
0
0
0
0
0
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
f13731c87b46e34d1438f3c1478a2a489ca3fbe9
224
py
Python
classgroup/urls/oj.py
wanderknight/OnlineJudge
dc1a085867a7f26799931f7ab6d58e071f75cf1c
[ "MIT" ]
null
null
null
classgroup/urls/oj.py
wanderknight/OnlineJudge
dc1a085867a7f26799931f7ab6d58e071f75cf1c
[ "MIT" ]
null
null
null
classgroup/urls/oj.py
wanderknight/OnlineJudge
dc1a085867a7f26799931f7ab6d58e071f75cf1c
[ "MIT" ]
null
null
null
__author__ = 'wanderknight' __time__ = '2019/8/9 20:31' from django.conf.urls import url from ..views.oj import ClassgroupAPI urlpatterns = [ url(r"^classgroups/?$", ClassgroupAPI.as_view(), name="classgroup_api"), ]
20.363636
76
0.71875
29
224
5.206897
0.862069
0
0
0
0
0
0
0
0
0
0
0.051282
0.129464
224
10
77
22.4
0.723077
0
0
0
0
0
0.245536
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
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
f137d716194edb2240994d2d7a7f2ea0df75e9e1
1,512
py
Python
Authorisation.py
Oliver-Parry/GCSE-Computer-Science
b6d1ddaccc834f323913294bad03692bc4169005
[ "MIT" ]
null
null
null
Authorisation.py
Oliver-Parry/GCSE-Computer-Science
b6d1ddaccc834f323913294bad03692bc4169005
[ "MIT" ]
null
null
null
Authorisation.py
Oliver-Parry/GCSE-Computer-Science
b6d1ddaccc834f323913294bad03692bc4169005
[ "MIT" ]
null
null
null
################################################################################################ # Python authorisation # Write a program that asks the user for a username and password. (7 marks) # -> The program keeps asking for the username and password until the correct username and # password have been e...
40.864865
112
0.560185
165
1,512
5.133333
0.49697
0.051948
0.089728
0.049587
0.132231
0
0
0
0
0
0
0.013799
0.185185
1,512
37
113
40.864865
0.673701
0.531746
0
0
0
0
0.315789
0
0
0
0
0
0
1
0
false
0.25
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f13cf1bbe61fb1d6a94e25f85c68cae51837c407
513
py
Python
magnet/cli/commands/queue.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
null
null
null
magnet/cli/commands/queue.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
4
2021-03-24T23:38:22.000Z
2021-03-31T07:24:30.000Z
magnet/cli/commands/queue.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
null
null
null
import typer app = typer.Typer() @app.command(help="メッセージの購読を開始します。") def consume(reload: bool = False): queueing = get_queuing_instance() queueing.run() def get_queuing_instance(): import sys from importlib import import_module attr = "magnet.worker:queueing" module, attr = attr.split(":"...
19.730769
45
0.690058
61
513
5.672131
0.52459
0.086705
0.104046
0
0
0
0
0
0
0
0
0
0.206628
513
25
46
20.52
0.850123
0.019493
0
0
0
0
0.075848
0.043912
0
0
0
0
0
1
0.125
false
0
0.3125
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
f140fd46f00c155548d00bc498f915f9e8858acb
470
py
Python
Stage4-security/sha1_password_hacker/main.py
xiaopeipangzii/The-Note-of-Javascript
14667f2006d9c52b2daea0a5f43774e6a51bb290
[ "MIT" ]
3
2020-12-02T13:58:36.000Z
2020-12-04T14:13:53.000Z
SHA-1 Password Cracker/main.py
javitocor/Information-and-Security
3841b4f9f4527c2f5dcb3a6d4c9bc3a09454b79c
[ "MIT" ]
5
2020-09-05T07:33:58.000Z
2020-09-05T07:33:59.000Z
Stage4-security/sha1_password_hacker/main.py
fengqiangzhao/FCC.cn-solutions
14667f2006d9c52b2daea0a5f43774e6a51bb290
[ "MIT" ]
1
2022-02-08T19:55:54.000Z
2022-02-08T19:55:54.000Z
# This entrypoint file to be used in development. Start by reading README.md import password_cracker from unittest import main cracked_password1 = password_cracker.crack_sha1_hash( "fbbe7e952d1050bfb09dfdb71d4c2ff2b3d845d2") print(cracked_password1) cracked_password2 = password_cracker.crack_sha1_hash( "dcc46...
31.333333
76
0.83617
55
470
6.909091
0.709091
0.118421
0.105263
0.126316
0.147368
0
0
0
0
0
0
0.132701
0.102128
470
14
77
33.571429
0.767773
0.219149
0
0
0
0
0.25
0.21978
0
0
0
0
0
1
0
false
0.555556
0.222222
0
0.222222
0.222222
0
0
0
null
0
0
0
0
0
0
0
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
f14287edbda72b44c8e1b02cdf864350938c6b26
7,229
py
Python
Mac/scripts/unweave.py
deadsnakes/python2.3
0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849
[ "PSF-2.0" ]
3
2022-01-30T20:08:24.000Z
2022-02-12T08:51:12.000Z
Mac/scripts/unweave.py
SaadBazaz/ChinesePython
800955539dda912d4a1621bcf5a700aaaddc012f
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
Mac/scripts/unweave.py
SaadBazaz/ChinesePython
800955539dda912d4a1621bcf5a700aaaddc012f
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
"""An attempt at an unweave script. Jack Jansen, jack@oratrix.com, 13-Dec-00 """ import re import sys import macfs import os import macostools BEGINDEFINITION=re.compile("^<<(?P<name>.*)>>=\s*") USEDEFINITION=re.compile("^(?P<pre>.*)<<(?P<name>.*)>>(?P<post>[^=].*)") ENDDEFINITION=re.compile("^@") GREMLINS=re.compile(...
27.803846
79
0.657214
953
7,229
4.933893
0.238195
0.022969
0.019353
0.012761
0.076563
0.027222
0.017865
0.017865
0.017865
0.017865
0
0.007603
0.199474
7,229
259
80
27.911197
0.804908
0.073731
0
0.205607
0
0
0.078622
0.010714
0
0
0
0
0
0
null
null
0
0.023364
null
null
0.023364
0
0
0
null
0
0
0
0
0
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
f14a0851bbf9097f9b528567f9e716f360ef0a34
3,406
py
Python
versions/V1.3/Components/UI/UI_areaDialog.py
qifwa493/Camera_surface_area
ebac18bd01ba7c615be63626aeb30bd9e07f53bb
[ "MIT" ]
null
null
null
versions/V1.3/Components/UI/UI_areaDialog.py
qifwa493/Camera_surface_area
ebac18bd01ba7c615be63626aeb30bd9e07f53bb
[ "MIT" ]
null
null
null
versions/V1.3/Components/UI/UI_areaDialog.py
qifwa493/Camera_surface_area
ebac18bd01ba7c615be63626aeb30bd9e07f53bb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'areaDialog.ui' # # Created by: PyQt5 UI code generator 5.13.0 from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtGui import QIcon class Ui_areaDialog(object): def setupUi(self, areaDialog): areaDialog.setObjectName("area...
47.305556
132
0.70963
331
3,406
7.220544
0.29003
0.133891
0.025105
0.050209
0.28159
0.194142
0.194142
0.17908
0.17908
0.146444
0
0.023356
0.182913
3,406
71
133
47.971831
0.835429
0.038462
0
0.101695
1
0
0.078923
0.016825
0
0
0
0
0
1
0.033898
false
0
0.033898
0
0.084746
0
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
f14c38366b3902fbe05b51312b66ea53fff90f07
896
py
Python
tests_full/test_vm_compiler.py
wqx081/bobscheme
ba61c0cc53031bff544cb0793cf8df225594e35a
[ "Unlicense" ]
98
2015-01-22T15:43:25.000Z
2022-02-15T02:22:04.000Z
tests_full/test_vm_compiler.py
vonwenm/bobscheme
ba61c0cc53031bff544cb0793cf8df225594e35a
[ "Unlicense" ]
2
2015-08-09T02:17:35.000Z
2015-10-23T14:20:41.000Z
tests_full/test_vm_compiler.py
vonwenm/bobscheme
ba61c0cc53031bff544cb0793cf8df225594e35a
[ "Unlicense" ]
26
2015-02-13T11:39:44.000Z
2021-12-24T11:49:00.000Z
#!/usr/bin/env python #------------------------------------------------------------------------------- # bob: tests_full/test_vm_compiler.py # # Run the full tests for the compiler and VM of Bob # # Eli Bendersky (eliben@gmail.com) # This code is in the public domain #---------------------------------------------------...
28.903226
80
0.621652
107
896
5.046729
0.514019
0.055556
0.040741
0
0
0
0
0
0
0
0
0
0.136161
896
30
81
29.866667
0.697674
0.445313
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.416667
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
f14fadd2d181dbbb5b8840a3b07af421429aa399
1,014
py
Python
profiles/forms.py
enockabere/Insta
09c86438e40ee3c927a892a7a9c65e8097b134f7
[ "Unlicense" ]
null
null
null
profiles/forms.py
enockabere/Insta
09c86438e40ee3c927a892a7a9c65e8097b134f7
[ "Unlicense" ]
null
null
null
profiles/forms.py
enockabere/Insta
09c86438e40ee3c927a892a7a9c65e8097b134f7
[ "Unlicense" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from .models import Comment from django.contrib.auth import get_user_model User = get_user_model() #create forms class NewUserForm(UserCreationForm): email = forms.EmailField(required=True) class Meta: model = User ...
30.727273
64
0.637081
112
1,014
5.642857
0.464286
0.047468
0.053797
0.066456
0
0
0
0
0
0
0
0.006519
0.24359
1,014
33
65
30.727273
0.817471
0.011834
0
0.074074
0
0
0.073852
0
0
0
0
0
0
1
0.074074
false
0.074074
0.148148
0
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
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
f1522bd7bfde080df2b51e0fa6808e2ede2aead1
261
py
Python
zotler/gui/ui_app.py
vrbacky/zotler
7e5642f96727e2bca52cce1be941b0805aed0444
[ "MIT" ]
null
null
null
zotler/gui/ui_app.py
vrbacky/zotler
7e5642f96727e2bca52cce1be941b0805aed0444
[ "MIT" ]
null
null
null
zotler/gui/ui_app.py
vrbacky/zotler
7e5642f96727e2bca52cce1be941b0805aed0444
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys from PyQt5.QtWidgets import QApplication from zotler.gui.ui.main_window import MainWindow def main(): app = QApplication(sys.argv) MainWindow() sys.exit(app.exec_()) if __name__ == '__main__': exit(main())
16.3125
48
0.701149
35
261
4.942857
0.657143
0
0
0
0
0
0
0
0
0
0
0.009259
0.172414
261
16
49
16.3125
0.791667
0.08046
0
0
0
0
0.033333
0
0
0
0
0
0
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
f156988430f1399593b6db2dd3f74f7bfaa9a41b
827
py
Python
setup.py
HJFG/django-micro
fec06c9c54944a72db219b309b2d236575e6ae2c
[ "BSD-2-Clause" ]
1
2020-07-19T03:02:10.000Z
2020-07-19T03:02:10.000Z
setup.py
HJFG/django-micro
fec06c9c54944a72db219b309b2d236575e6ae2c
[ "BSD-2-Clause" ]
null
null
null
setup.py
HJFG/django-micro
fec06c9c54944a72db219b309b2d236575e6ae2c
[ "BSD-2-Clause" ]
null
null
null
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='django-micro', description='Django as a microframework', # long_description=read('README.rst'), keywords='django microframework', py_modules=['django_micro'],...
27.566667
70
0.614268
95
827
5.252632
0.578947
0.152305
0.200401
0.156313
0
0
0
0
0
0
0
0.023256
0.220073
827
29
71
28.517241
0.750388
0.043531
0
0.076923
0
0
0.453503
0.028025
0
0
0
0
0
1
0.038462
false
0
0.076923
0.038462
0.153846
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
f15a1ad77b7650d2a30739ce0278414534850611
639
py
Python
backend/webscrape.py
matthewyu01/merge-esports-TL-Hacks
a62a04c20ed86b43e787c4f9e27b1eabb86fd0f4
[ "MIT" ]
2
2020-11-07T01:27:38.000Z
2020-11-07T02:51:02.000Z
backend/webscrape.py
matthewyu01/merge-esports-TL-Hacks
a62a04c20ed86b43e787c4f9e27b1eabb86fd0f4
[ "MIT" ]
null
null
null
backend/webscrape.py
matthewyu01/merge-esports-TL-Hacks
a62a04c20ed86b43e787c4f9e27b1eabb86fd0f4
[ "MIT" ]
null
null
null
"""Webscrape Module""" import pandas as pd from bs4 import BeautifulSoup import requests import urllib.request user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Edg/86.0.622.63' def get_soup(link): link_request = urllib.r...
30.428571
147
0.70892
92
639
4.826087
0.532609
0.087838
0.04955
0
0
0
0
0
0
0
0
0.071698
0.170579
639
21
148
30.428571
0.766038
0.025039
0
0
0
0.066667
0.249164
0
0
0
0
0
0
1
0.2
false
0
0.266667
0.066667
0.6
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
0
0
0
0
0
0
1
0
0
1
f15f3ddd342974a40dbbf2437aab931fc5f10afd
399
py
Python
services/python-images/src/models/node.py
hpi-epic/mpcsl
05361acb0c8da68ddfa21f9fc9cd32a59255dc5c
[ "MIT" ]
1
2021-11-21T13:52:36.000Z
2021-11-21T13:52:36.000Z
services/python-images/src/models/node.py
hpi-epic/mpcsl
05361acb0c8da68ddfa21f9fc9cd32a59255dc5c
[ "MIT" ]
3
2021-10-06T13:23:43.000Z
2022-01-07T13:48:41.000Z
services/python-images/src/models/node.py
hpi-epic/mpcsl
05361acb0c8da68ddfa21f9fc9cd32a59255dc5c
[ "MIT" ]
null
null
null
from src.db import db from src.models.base import BaseModel, BaseSchema class Node(BaseModel): dataset_id = db.Column(db.Integer, db.ForeignKey('dataset.id'), nullable=False) dataset = db.relationship('Dataset', backref=db.backref('nodes', cascade="all, delete-orphan")) name = db.Column(db.String) class...
28.5
99
0.716792
53
399
5.377358
0.54717
0.049123
0.070175
0
0
0
0
0
0
0
0
0
0.150376
399
13
100
30.692308
0.840708
0
0
0
0
0
0.100251
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
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
f16e7e3d856b0b4741d8cd244128cd439dcf6570
537
py
Python
python/code/webservice/hgfserver/cgi-bin/index.py
hgfgood/note
f89febca3ce925cba4cd4c8068a4fa124f23c810
[ "Apache-2.0" ]
null
null
null
python/code/webservice/hgfserver/cgi-bin/index.py
hgfgood/note
f89febca3ce925cba4cd4c8068a4fa124f23c810
[ "Apache-2.0" ]
null
null
null
python/code/webservice/hgfserver/cgi-bin/index.py
hgfgood/note
f89febca3ce925cba4cd4c8068a4fa124f23c810
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #coding=utf-8 print "Content-type: text/html\n\n"; print "<html><head><title>Python冒泡排序测试</title></head><body>" my_list = [23,45,67,3,56,82,24,23,5,77,19,33,51,99] def bubble(bad_list): length = len(bad_list) - 1 sorted = False while not sorted: sorted = True for i i...
25.571429
71
0.599628
92
537
3.380435
0.521739
0.180064
0.154341
0.086817
0.163987
0.163987
0.163987
0
0
0
0
0.074879
0.22905
537
21
72
25.571429
0.676329
0.05959
0
0.133333
0
0
0.184524
0.103175
0
0
0
0
0
0
null
null
0
0
null
null
0.266667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f1703206213d048ebbc8c2b7f355abda364a2ccf
910
py
Python
to_do/migrations/0010_auto_20200718_1541.py
Aditya-aot/todo-app-with-Django-python-
861d867c6d392e35e6c890ddfcc37585cb7ef9ed
[ "MIT" ]
null
null
null
to_do/migrations/0010_auto_20200718_1541.py
Aditya-aot/todo-app-with-Django-python-
861d867c6d392e35e6c890ddfcc37585cb7ef9ed
[ "MIT" ]
null
null
null
to_do/migrations/0010_auto_20200718_1541.py
Aditya-aot/todo-app-with-Django-python-
861d867c6d392e35e6c890ddfcc37585cb7ef9ed
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-07-18 10:11 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('to_do', '0009_auto_20200718_1523'), ] operations = [ migrations.CreateModel( ...
28.4375
122
0.581319
99
910
5.212121
0.59596
0.046512
0.023256
0.065891
0
0
0
0
0
0
0
0.07764
0.292308
910
31
123
29.354839
0.723602
0.049451
0
0.2
1
0
0.089224
0.026651
0
0
0
0
0
1
0
false
0
0.12
0
0.24
0
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
f181b0339c784e190e39f5e8f573cf2cbc2d5815
3,068
py
Python
utils/nets.py
kylestach/learn-you-a-soccer
e4163602ffb73b51d1b9ab35e75f2033f7179fff
[ "MIT" ]
24
2020-01-12T08:20:36.000Z
2022-03-17T13:07:30.000Z
utils/nets.py
kylestach/learn-you-a-soccer
e4163602ffb73b51d1b9ab35e75f2033f7179fff
[ "MIT" ]
null
null
null
utils/nets.py
kylestach/learn-you-a-soccer
e4163602ffb73b51d1b9ab35e75f2033f7179fff
[ "MIT" ]
10
2020-01-21T04:43:20.000Z
2021-11-02T02:50:56.000Z
import torch import numpy as np import torch.nn as nn import torch.nn.functional as F # if gpu is to be used device = torch.device("cuda" if torch.cuda.is_available() else "cpu") WEIGHTS_FINAL_INIT = 3e-3 BIAS_FINAL_INIT = 3e-4 def fan_in_uniform_init(tensor, fan_in=None): """Utility function for initializing ac...
27.63964
81
0.617666
449
3,068
3.991091
0.182628
0.078125
0.060268
0.080357
0.71596
0.691406
0.691406
0.657924
0.657924
0.657924
0
0.024172
0.271838
3,068
110
82
27.890909
0.777977
0.094198
0
0.523077
0
0
0.002539
0
0
0
0
0
0
1
0.076923
false
0
0.061538
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1825865e92fdab20152b97a1e9e014916db2c8f
2,354
py
Python
CCR/run.py
MateRyze/InformatiCup-2019
eeca3ff7f8a102f4093697c6badee21ce25e2e87
[ "MIT" ]
3
2019-03-21T17:02:55.000Z
2019-04-04T18:16:10.000Z
CCR/run.py
MateRyze/InformatiCup-2019
eeca3ff7f8a102f4093697c6badee21ce25e2e87
[ "MIT" ]
11
2019-10-30T12:05:39.000Z
2022-03-11T23:43:54.000Z
CCR/run.py
MateRyze/InformatiCup-2019
eeca3ff7f8a102f4093697c6badee21ce25e2e87
[ "MIT" ]
1
2019-10-30T12:04:00.000Z
2019-10-30T12:04:00.000Z
import requests import os import skimage import time import csv from PIL import Image import pandas as pd # dir with test images rootdir = './Images' # resize images to 64x64 and convert from PPM to PNG format def convertImages(): for subdir, dirs, files in os.walk(rootdir): for file in files: path = os.path.j...
26.155556
108
0.616822
342
2,354
4.219298
0.336257
0.01386
0.04158
0.018711
0.182952
0.163548
0.130284
0.130284
0.101178
0.101178
0
0.01742
0.219626
2,354
89
109
26.449438
0.7681
0.113849
0
0.214286
0
0
0.109877
0.019753
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
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
f18309ae4f65e195084a39184af3f119bb87951f
869
py
Python
pages/migrations/0001_initial.py
TareqMonwer/reading-track
dfa1e922703a1fc6d2fa65bc3449dab54c49074a
[ "bzip2-1.0.6" ]
1
2020-11-01T22:02:43.000Z
2020-11-01T22:02:43.000Z
pages/migrations/0001_initial.py
TareqMonwer/reading-track
dfa1e922703a1fc6d2fa65bc3449dab54c49074a
[ "bzip2-1.0.6" ]
7
2020-06-05T20:34:48.000Z
2022-03-12T00:16:02.000Z
pages/migrations/0001_initial.py
TareqMonwer/reading-track
dfa1e922703a1fc6d2fa65bc3449dab54c49074a
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 3.0.2 on 2020-01-14 14:43 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Note', fields=[ ('id', models.AutoField(aut...
33.423077
139
0.606444
91
869
5.637363
0.604396
0.062378
0.087719
0.101365
0.116959
0
0
0
0
0
0
0.027994
0.260069
869
25
140
34.76
0.769829
0.051784
0
0
1
0
0.147202
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.277778
0
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
f18334630f8f2232a5e3728f3badb70b964207cf
1,029
py
Python
censor.py
vimalsheoran/parental_advisory
6a23d99c3026af2ca6d8ac1467285f99bfff6a54
[ "IJG" ]
null
null
null
censor.py
vimalsheoran/parental_advisory
6a23d99c3026af2ca6d8ac1467285f99bfff6a54
[ "IJG" ]
null
null
null
censor.py
vimalsheoran/parental_advisory
6a23d99c3026af2ca6d8ac1467285f99bfff6a54
[ "IJG" ]
null
null
null
import time from censor_conf import swear_list, censor_list, LYRICS swear_count = 0 # Providing swear word analysis lyrics_file = open(LYRICS, "U") print("Running Analysis.......") time.sleep(1) all_words = list(lyrics_file.read().split()) #print all_words for swear in swear_list: for word in all_words: if word ==...
23.386364
63
0.716229
158
1,029
4.481013
0.310127
0.09887
0.04661
0.056497
0.313559
0.259887
0.186441
0.186441
0.186441
0.186441
0
0.008989
0.135083
1,029
43
64
23.930233
0.786517
0.084548
0
0.392857
0
0
0.171429
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.178571
0
0
0
null
0
0
0
0
0
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
f183c239c921c4181bbc948781d503c8c0bb5144
633
py
Python
core/daemons/monitor.py
Thalmann/django_postgres_docker_compose
a912454a21071e0752b24e879d1b32275f85feec
[ "Apache-2.0" ]
null
null
null
core/daemons/monitor.py
Thalmann/django_postgres_docker_compose
a912454a21071e0752b24e879d1b32275f85feec
[ "Apache-2.0" ]
null
null
null
core/daemons/monitor.py
Thalmann/django_postgres_docker_compose
a912454a21071e0752b24e879d1b32275f85feec
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys if sys.stdout.encoding is None: reload(sys) sys.setdefaultencoding('UTF-8') sys.path += ["."] os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'monitoring.settings') import django django.setup() import subprocess from time import sleep from cor...
24.346154
70
0.660348
84
633
4.952381
0.607143
0.019231
0.086538
0.120192
0.163462
0.163462
0
0
0
0
0
0.009843
0.197472
633
25
71
25.32
0.809055
0
0
0
0
0
0.091681
0.037351
0
0
0
0
0
0
null
null
0
0.3
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
f18b89a88a8e3a091bd558eb96f8225e5f15f9ed
5,802
py
Python
pyris/raster/pruner.py
fmonegaglia/pyris
35e2c2bb01e1411b5dfc87d464b58604d80d820c
[ "MIT" ]
12
2018-04-17T18:17:17.000Z
2022-03-30T11:15:25.000Z
pyris/raster/pruner.py
fmonegaglia/pyris
35e2c2bb01e1411b5dfc87d464b58604d80d820c
[ "MIT" ]
2
2019-06-07T07:27:10.000Z
2020-05-06T20:04:41.000Z
pyris/raster/pruner.py
fmonegaglia/pyris
35e2c2bb01e1411b5dfc87d464b58604d80d820c
[ "MIT" ]
5
2019-08-22T16:45:58.000Z
2021-06-03T14:09:35.000Z
from __future__ import division import numpy as np from numpy.lib import stride_tricks from skimage.measure import regionprops class Pruner( object ): ''' Spurs Removal Class ''' # Primitives primitives = ( np.array([[0,0,0], [1,1,0], [...
37.921569
112
0.472596
688
5,802
3.93314
0.213663
0.021434
0.018847
0.011826
0.290096
0.250924
0.199557
0.178123
0.154841
0.124538
0
0.049771
0.397449
5,802
152
113
38.171053
0.724256
0.022923
0
0.234783
0
0
0.028352
0
0
0
0
0
0
0
null
null
0
0.034783
null
null
0.034783
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f18ea54eda64ff985f23851295045d3842df6b3f
4,468
py
Python
src/charge_collection.py
khelsabeck/felony_records_nc
f0dfa065329727df0ce2976d812bcf4c37d0bb1b
[ "MIT" ]
null
null
null
src/charge_collection.py
khelsabeck/felony_records_nc
f0dfa065329727df0ce2976d812bcf4c37d0bb1b
[ "MIT" ]
null
null
null
src/charge_collection.py
khelsabeck/felony_records_nc
f0dfa065329727df0ce2976d812bcf4c37d0bb1b
[ "MIT" ]
null
null
null
''' This is a custom data structure for getting all of the charges for a given D. A rewrite, it could clean up the fsms for analyzing pending charges and criminal records/points and habitual felon eligibility. It has a list for all of the pending charges, and add and remove functions. Remember, a D can be charged mo...
40.618182
81
0.674127
618
4,468
4.750809
0.270227
0.015327
0.020436
0.021798
0.35252
0.310967
0.299387
0.281676
0.281676
0.250341
0
0.001213
0.261862
4,468
110
82
40.618182
0.889024
0
0
0.230769
0
0
0.015523
0
0
0
0
0
0
0
null
null
0
0.038462
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
f18f5193a55ced7e401a58164f7da89b4d7d2e62
996
py
Python
oop-intro/cheater_sim.py
emptyspace42/mycode
834c0a2817ffffa92b90ec3bd05ef41cb73a8879
[ "MIT" ]
5
2018-05-21T18:16:13.000Z
2018-05-22T22:41:40.000Z
oop-intro/cheater_sim.py
cazzara/mycode
834c0a2817ffffa92b90ec3bd05ef41cb73a8879
[ "MIT" ]
null
null
null
oop-intro/cheater_sim.py
cazzara/mycode
834c0a2817ffffa92b90ec3bd05ef41cb73a8879
[ "MIT" ]
null
null
null
from Cheater import Cheater_Loaded, Cheater_Swapper def run_sim(): swapper = Cheater_Swapper('') loaded = Cheater_Loaded('') swapper_score = 0 loaded_score = 0 num_games = 100000 curr = 0 while curr < num_games: swapper.roll() swapper.cheat() loaded.roll() ...
23.714286
74
0.589357
117
996
4.777778
0.350427
0.128801
0.128801
0.16458
0.282648
0.182469
0.182469
0.182469
0.182469
0
0
0.020115
0.301205
996
41
75
24.292683
0.783046
0
0
0.125
0
0
0.098394
0
0
0
0
0
0
1
0.03125
false
0.03125
0.03125
0
0.0625
0.15625
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
74b273bf189147f6bdbe30f46e609797083a629c
335
py
Python
setup.py
JohnyTheCarrot/snowflake
f902d3e68972f32433eb4797f6574991da34dd00
[ "MIT" ]
null
null
null
setup.py
JohnyTheCarrot/snowflake
f902d3e68972f32433eb4797f6574991da34dd00
[ "MIT" ]
null
null
null
setup.py
JohnyTheCarrot/snowflake
f902d3e68972f32433eb4797f6574991da34dd00
[ "MIT" ]
1
2019-12-08T18:58:27.000Z
2019-12-08T18:58:27.000Z
from distutils.core import setup, find_packages from __init__ import VERSION setup(name='Snowflake', version=VERSION, description='Snowflake generator.', author='JohnyTheCarrot', author_email='johnythecarrot@gmail.com', url='https://github.com/JohnyTheCarrot/snowflake', packages=fin...
27.916667
56
0.722388
35
335
6.714286
0.6
0.102128
0
0
0
0
0
0
0
0
0
0
0.164179
335
11
57
30.454545
0.839286
0
0
0
0
0
0.328358
0.071642
0
0
0
0
0
1
0
true
0
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
1
0
0
0
0
0
0
1
74b8c50bbcc94caa3bac75da6b8a1925a2b82b47
8,466
py
Python
tests/test_turbomoleparser.py
nomad-coe/electronic-parsers
defb47be6ac22b2e48d4fb9204c85390a3c2f328
[ "Apache-2.0" ]
null
null
null
tests/test_turbomoleparser.py
nomad-coe/electronic-parsers
defb47be6ac22b2e48d4fb9204c85390a3c2f328
[ "Apache-2.0" ]
null
null
null
tests/test_turbomoleparser.py
nomad-coe/electronic-parsers
defb47be6ac22b2e48d4fb9204c85390a3c2f328
[ "Apache-2.0" ]
null
null
null
# # Copyright The NOMAD Authors. # # This file is part of NOMAD. See https://nomad-lab.eu for further info. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
42.974619
131
0.73494
1,257
8,466
4.772474
0.235481
0.090015
0.070012
0.050008
0.465744
0.377563
0.295549
0.26171
0.171862
0.153692
0
0.087377
0.133475
8,466
196
132
43.193878
0.730371
0.073352
0
0.213235
0
0
0.050594
0.037179
0
0
0
0
0.595588
1
0.073529
false
0
0.029412
0.014706
0.117647
0
0
0
0
null
0
0
0
0
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
74bea36816a50d6b240e63308e19dca48ec11feb
8,451
py
Python
app/services.py
brighthive/program-registry
daa14be20e5e9748d38970a7f2dfda67b9c5311b
[ "Apache-2.0" ]
1
2018-06-12T13:18:22.000Z
2018-06-12T13:18:22.000Z
app/services.py
brighthive/program-registry
daa14be20e5e9748d38970a7f2dfda67b9c5311b
[ "Apache-2.0" ]
7
2018-07-16T18:48:11.000Z
2018-07-17T14:43:47.000Z
app/services.py
workforce-data-initiative/programs-registry
daa14be20e5e9748d38970a7f2dfda67b9c5311b
[ "Apache-2.0" ]
null
null
null
from flask import Blueprint, make_response, request, jsonify, abort from flask.views import MethodView from app.models import Service, Organization, Program service_blueprint = Blueprint('service', __name__) class ServiceView(MethodView): """ This class handles api requests for the service resource. A...
39.306977
104
0.545261
900
8,451
4.98
0.14
0.068719
0.056225
0.07809
0.722445
0.681838
0.657742
0.61245
0.575859
0.512048
0
0.017378
0.359957
8,451
214
105
39.490654
0.811241
0.126612
0
0.730769
0
0
0.080236
0.049376
0
0
0
0
0
1
0.025641
false
0
0.019231
0
0.141026
0.044872
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
74c5e461ddb6b6e12364af8e9cd29a0a252e1cbb
281
py
Python
Profflow/home/migrations/0012_delete_entry.py
tirtharajsinha/profflow-PortfolioBuilderTool
8b2c628b7af8a88e78adaa62e9cc7d72f2758d92
[ "MIT" ]
1
2021-01-29T08:42:48.000Z
2021-01-29T08:42:48.000Z
Profflow/home/migrations/0012_delete_entry.py
tirtharajsinha/profflow-PortfolioBuilderTool
8b2c628b7af8a88e78adaa62e9cc7d72f2758d92
[ "MIT" ]
null
null
null
Profflow/home/migrations/0012_delete_entry.py
tirtharajsinha/profflow-PortfolioBuilderTool
8b2c628b7af8a88e78adaa62e9cc7d72f2758d92
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-03-16 16:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('home', '0011_analytic'), ] operations = [ migrations.DeleteModel( name='Entry', ), ]
16.529412
47
0.58363
30
281
5.433333
0.833333
0
0
0
0
0
0
0
0
0
0
0.096447
0.298932
281
16
48
17.5625
0.730964
0.160142
0
0
1
0
0.094017
0
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
74d8d5ae95ade5e5ba105b27f77839e25b2460d4
633
py
Python
src/schemathesis/cli/debug.py
bronsen/schemathesis
bf60043af9f9271dddd7bb74a4fa55b94a2fa27e
[ "MIT" ]
null
null
null
src/schemathesis/cli/debug.py
bronsen/schemathesis
bf60043af9f9271dddd7bb74a4fa55b94a2fa27e
[ "MIT" ]
null
null
null
src/schemathesis/cli/debug.py
bronsen/schemathesis
bf60043af9f9271dddd7bb74a4fa55b94a2fa27e
[ "MIT" ]
null
null
null
import json import attr from click.utils import LazyFile from ..runner import events from .handlers import EventHandler, ExecutionContext @attr.s(slots=True) # pragma: no mutate class DebugOutputHandler(EventHandler): file_handle: LazyFile = attr.ib() # pragma: no mutate def handle_event(self, context: E...
27.521739
92
0.695103
76
633
5.618421
0.526316
0.070258
0.065574
0
0
0
0
0
0
0
0
0
0.195893
633
22
93
28.772727
0.8389
0.055292
0
0
0
0
0.020168
0
0
0
0
0
0
1
0.125
false
0
0.3125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
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
74dc99e9922b25f4a5cc7554bce896c9791ebd13
2,420
py
Python
src/db_layer.py
shivamp99/face-recog
fb5456139c1bc5294dff0ec9b54255e2fb1a91d3
[ "MIT" ]
1
2020-05-15T15:55:41.000Z
2020-05-15T15:55:41.000Z
src/db_layer.py
shivamp99/face-recog
fb5456139c1bc5294dff0ec9b54255e2fb1a91d3
[ "MIT" ]
4
2020-04-09T15:30:26.000Z
2020-04-12T06:14:38.000Z
src/db_layer.py
shivamp99/face-recog
fb5456139c1bc5294dff0ec9b54255e2fb1a91d3
[ "MIT" ]
null
null
null
# provides functions for calling from gui and api from pymongo import MongoClient from shutil import copyfile import os # used to get the next number in serial order to assign to a new person # input parameter: (pymongo) db.collection # output: next serial number def get_next_value(collection): result = collection...
39.672131
105
0.735124
336
2,420
5.223214
0.28869
0.031909
0.064957
0.068376
0.288319
0.225641
0.167521
0.167521
0.110541
0
0
0.001475
0.159504
2,420
60
106
40.333333
0.861357
0.497934
0
0.266667
0
0
0.093356
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
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
74e075b1f17f706a87a2e369395dd643b93dde1f
795
py
Python
pythonlearn/Algorithms/Sorting/select_sort.py
yc19890920/Learn
3990e75b469225ba7b430539ef9a16abe89eb863
[ "Apache-2.0" ]
1
2021-01-11T06:30:44.000Z
2021-01-11T06:30:44.000Z
pythonlearn/Algorithms/Sorting/select_sort.py
yc19890920/Learn
3990e75b469225ba7b430539ef9a16abe89eb863
[ "Apache-2.0" ]
23
2020-02-12T02:35:49.000Z
2022-02-11T03:45:40.000Z
pythonlearn/Algorithms/Sorting/select_sort.py
yc19890920/Learn
3990e75b469225ba7b430539ef9a16abe89eb863
[ "Apache-2.0" ]
2
2020-04-08T15:39:46.000Z
2020-10-10T10:13:09.000Z
# -*- coding: utf-8 -*- """ 基本思想: 从未排序的序列中找到一个最小的元素,放到第一位,再从剩余未排序的序列中找到最小的元素,放到第二位,依此类推,直到所有元素都已排序完毕。 假设序列元素总共n+1个,则我们需要找n轮,就可以使该序列排好序。 在每轮中,我们可以这样做: 用未排序序列的第一个元素和后续的元素依次相比较,如果后续元素小,则后续元素和第一个元素交换位置放到,这样一轮后,排在第一位的一定是最小的。这样进行n轮,就可排序。 选择排序(Selection sort)是一种简单直观的排序算法。它的工作原理大致是将后面的元素最小元素一个个取出然后按顺序放置。 步骤: ...
24.090909
86
0.631447
96
795
5.125
0.635417
0.036585
0.028455
0
0
0
0
0
0
0
0
0.02649
0.240252
795
32
87
24.84375
0.788079
0.026415
0
0
0
0
0.022409
0
0
0
0
0
0
0
null
null
0
0
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
74e395a02414ada0ea5da7e63aae2041a2f3a650
223
py
Python
prediction/forms.py
enisteper1/AWS-Deployed-ML
555f9b6ad72728bee079fdea4dd5ee91deacc75f
[ "Apache-2.0" ]
null
null
null
prediction/forms.py
enisteper1/AWS-Deployed-ML
555f9b6ad72728bee079fdea4dd5ee91deacc75f
[ "Apache-2.0" ]
null
null
null
prediction/forms.py
enisteper1/AWS-Deployed-ML
555f9b6ad72728bee079fdea4dd5ee91deacc75f
[ "Apache-2.0" ]
null
null
null
from django.forms import ModelForm, Textarea from .models import Data class DataForm(ModelForm): class Meta: model = Data fields = '__all__' widgets = { 'body': Textarea() }
20.272727
44
0.58296
22
223
5.727273
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.331839
223
11
45
20.272727
0.845638
0
0
0
0
0
0.049107
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
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
74e49794dc47765e6abc4f6bbfe3b1a04d88d129
4,860
py
Python
script_data/make_wave_patch_features.py
oliverwatts/snickery
6d7e0b48cbb21760089bbbe85f6d7bd206f89821
[ "Apache-2.0" ]
28
2018-06-26T02:57:45.000Z
2021-12-01T01:07:23.000Z
script_data/make_wave_patch_features.py
oliverwatts/snickery
6d7e0b48cbb21760089bbbe85f6d7bd206f89821
[ "Apache-2.0" ]
1
2018-11-02T09:29:29.000Z
2018-11-02T10:20:28.000Z
script_data/make_wave_patch_features.py
oliverwatts/snickery
6d7e0b48cbb21760089bbbe85f6d7bd206f89821
[ "Apache-2.0" ]
5
2018-12-21T08:05:06.000Z
2021-01-16T16:43:42.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ## Project: ... - February 2017 - ... ## Contact: Oliver Watts - owatts@staffmail.ed.ac.uk # python make_wave_patch_features.py -w /afs/inf.ed.ac.uk/group/cstr/projects/blizzard_entries/blizzard2017/data/segmented/wav/ -p /afs/inf.ed.ac.uk/group/cstr/projects/nst/olive...
28.421053
241
0.637037
685
4,860
4.348905
0.324088
0.026183
0.028197
0.018127
0.165492
0.152736
0.069151
0.069151
0.030883
0.030883
0
0.01224
0.209877
4,860
170
242
28.588235
0.763542
0.149588
0
0.061856
0
0
0.075123
0.005172
0
0
0
0
0.020619
0
null
null
0
0.164948
null
null
0.041237
0
0
0
null
0
0
0
0
0
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
74e576479d59fd049090baf8abbabb708dadc00e
9,286
py
Python
app/auth/views.py
Group-3-in-CS10070901/web-development
f38e11bfad5f00be60fb82433561434f28c7b476
[ "MIT" ]
null
null
null
app/auth/views.py
Group-3-in-CS10070901/web-development
f38e11bfad5f00be60fb82433561434f28c7b476
[ "MIT" ]
null
null
null
app/auth/views.py
Group-3-in-CS10070901/web-development
f38e11bfad5f00be60fb82433561434f28c7b476
[ "MIT" ]
null
null
null
import os import cv2 from flask import render_template, redirect, request, url_for, flash,current_app,flash from flask_login import login_user, logout_user, login_required, \ current_user from . import auth from .. import db from ..models import User from ..email import send_email #判断上传图片的类型 ALLOWED_EXTENSIONS=se...
35.442748
121
0.640857
1,124
9,286
5.116548
0.156584
0.078421
0.056164
0.066075
0.611198
0.574857
0.471918
0.428447
0.428447
0.416449
0
0.005353
0.215486
9,286
261
122
35.578544
0.784077
0.009692
0
0.483412
0
0
0.159856
0.031928
0
0
0
0
0
1
0.075829
false
0.061611
0.037915
0.009479
0.265403
0.004739
0
0
0
null
0
0
0
0
0
0
0
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
74ed57bb99495803c891c1dc1fede64edace79b1
662
py
Python
tests/test_convert.py
dektoud/convert_toggl
b000bdd0e04b27e632c5b413e64265b353c69d2b
[ "MIT" ]
1
2021-11-01T08:42:49.000Z
2021-11-01T08:42:49.000Z
tests/test_convert.py
dektoud/convert_toggl
b000bdd0e04b27e632c5b413e64265b353c69d2b
[ "MIT" ]
null
null
null
tests/test_convert.py
dektoud/convert_toggl
b000bdd0e04b27e632c5b413e64265b353c69d2b
[ "MIT" ]
null
null
null
import convert_toggl import pandas as pd def test_rounding(): assert convert_toggl.round_to_nearest_15('00:25:00') == pd.Timedelta('00:30:00') assert convert_toggl.round_to_nearest_15('00:15:00') == pd.Timedelta('00:15:00') assert convert_toggl.round_to_nearest_15('15:05:00') == pd.Timedelta('15:00:00')...
34.842105
84
0.617825
89
662
4.348315
0.41573
0.155039
0.139535
0.178295
0.284238
0.284238
0.284238
0.284238
0
0
0
0.084677
0.250755
662
18
85
36.777778
0.695565
0
0
0
0
0
0.165152
0
0
0
0
0
0.333333
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
74efdb762ed498379a2cd5d3d047e279a29c3dbe
2,513
py
Python
ranking.py
championballer/DeFrauder
8b96582fa71ee98c8752feab18dfb26565806004
[ "MIT" ]
14
2019-08-05T12:17:26.000Z
2021-09-08T16:19:52.000Z
ranking.py
championballer/DeFrauder
8b96582fa71ee98c8752feab18dfb26565806004
[ "MIT" ]
1
2019-09-10T09:20:30.000Z
2021-09-15T12:28:49.000Z
ranking.py
championballer/DeFrauder
8b96582fa71ee98c8752feab18dfb26565806004
[ "MIT" ]
7
2019-08-09T06:45:31.000Z
2020-10-03T10:38:30.000Z
from scipy.spatial import distance import operator import json import numpy as np import sys import math import argparse parser = argparse.ArgumentParser(description='Ranking groups') parser.add_argument('--groups' , help = 'path to groups') parser.add_argument('--ef' , help = 'path to reviewer embeddings') ...
24.637255
130
0.650617
378
2,513
4.272487
0.272487
0.122601
0.089164
0.058824
0.147988
0.091641
0.029721
0.029721
0.029721
0
0
0.019797
0.175885
2,513
102
131
24.637255
0.760019
0
0
0.071429
0
0
0.079569
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.011905
0
0
0
null
0
0
0
0
0
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
74f16ca34750d8fb7dea42cf3796062a297adbfc
2,599
py
Python
ibeis/control/manual_lbltype_funcs.py
brmscheiner/ibeis
9bb93a6cd74ac47921e734c80917a38609dfe661
[ "Apache-2.0" ]
1
2019-01-17T22:59:14.000Z
2019-01-17T22:59:14.000Z
ibeis/control/manual_lbltype_funcs.py
holmbergius/ibeisold
da3a1480057a6a5d5c68304760642edaae680502
[ "Apache-2.0" ]
null
null
null
ibeis/control/manual_lbltype_funcs.py
holmbergius/ibeisold
da3a1480057a6a5d5c68304760642edaae680502
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from ibeis import constants as const from ibeis.control.accessor_decors import (adder, getter_1to1, ider) import utool as ut from ibeis.control.controller_inject import make_ibs_register_decorator print, rrr, profile = ut.inject2(_...
32.4875
130
0.744902
350
2,599
5.128571
0.322857
0.093593
0.062396
0.036769
0.308078
0.198886
0.198886
0.160446
0
0
0
0.005563
0.170065
2,599
79
131
32.898734
0.826611
0.163909
0
0.243902
0
0
0.054198
0
0
0
0
0.012658
0
1
0.121951
false
0
0.170732
0
0.414634
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
74f76d29d92df8e04ab7c94d93be07f5dda7fb99
1,776
py
Python
railguns/django/generics.py
larryhq/railguns-1
d76367a2d12f2330f8a370fba5e3c07013a763f6
[ "MIT" ]
null
null
null
railguns/django/generics.py
larryhq/railguns-1
d76367a2d12f2330f8a370fba5e3c07013a763f6
[ "MIT" ]
null
null
null
railguns/django/generics.py
larryhq/railguns-1
d76367a2d12f2330f8a370fba5e3c07013a763f6
[ "MIT" ]
null
null
null
from urllib.parse import urlparse from django.conf import settings from django.shortcuts import render from django.utils.translation import gettext from django.utils.translation import gettext_lazy as _ from django.views.generic.base import TemplateView def get_headers(request, keys=[]): return dict((key, value)...
41.302326
128
0.664414
226
1,776
5.048673
0.384956
0.047327
0.044698
0.045574
0.120947
0.120947
0
0
0
0
0
0.000708
0.204392
1,776
42
129
42.285714
0.806794
0.123874
0
0.096774
0
0
0.054264
0
0
0
0
0.02381
0
1
0.096774
false
0
0.193548
0.032258
0.580645
0
0
0
0
null
0
0
0
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
74fa15f338d828d45d8f5256174dd76a4f19f0f0
33,498
py
Python
build/lib.linux-x86_64-2.7_ucs4/mx/Misc/ConfigFile.py
mkubux/egenix-mx-base
3e6f9186334d9d73743b0219ae857564c7208247
[ "eGenix" ]
null
null
null
build/lib.linux-x86_64-2.7_ucs4/mx/Misc/ConfigFile.py
mkubux/egenix-mx-base
3e6f9186334d9d73743b0219ae857564c7208247
[ "eGenix" ]
null
null
null
build/lib.linux-x86_64-2.7_ucs4/mx/Misc/ConfigFile.py
mkubux/egenix-mx-base
3e6f9186334d9d73743b0219ae857564c7208247
[ "eGenix" ]
null
null
null
""" ConfigFile -- Interface to simple template based configuration files. The format of these files is as follows: globalvar = 2 [ABC] a = 1 b = abc.html c = text with spaces [DEF] a = 2 b = a + 3 c = a string Entries in square brackets indicate new subsections. Global ...
28.679795
77
0.55875
3,706
33,498
4.993524
0.164868
0.028801
0.020426
0.020534
0.355993
0.338917
0.309197
0.295472
0.274073
0.264185
0
0.004784
0.363514
33,498
1,167
78
28.70437
0.863187
0.067258
0
0.370656
0
0.001931
0.087893
0.006882
0
0
0
0
0
0
null
null
0.005792
0.028958
null
null
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
74faf253dc86f1f95a25ea3889c49ac15d294561
2,155
py
Python
networking_ansible/config.py
larsks/networking-ansible
99e0811d4ed34f06f8f5709ee633c2979d5478f6
[ "Apache-2.0" ]
null
null
null
networking_ansible/config.py
larsks/networking-ansible
99e0811d4ed34f06f8f5709ee633c2979d5478f6
[ "Apache-2.0" ]
null
null
null
networking_ansible/config.py
larsks/networking-ansible
99e0811d4ed34f06f8f5709ee633c2979d5478f6
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2018 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
34.758065
78
0.658933
294
2,155
4.748299
0.513605
0.04298
0.018625
0.022923
0
0
0
0
0
0
0
0.006266
0.259397
2,155
61
79
35.327869
0.868421
0.497912
0
0
0
0
0.048991
0
0
0
0
0.016393
0
1
0.037037
false
0
0.111111
0
0.185185
0
0
0
0
null
0
0
0
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
74feb81c7912785f0ece0b52422d753d3d456b0c
1,788
py
Python
extras/migrations/0002_auto_20200219_1614.py
D-GopalKrishna/RobotixWeb2021
3f99d41b2c4c99a3d1a214db1489f3e2fb1bfbb2
[ "Apache-2.0" ]
null
null
null
extras/migrations/0002_auto_20200219_1614.py
D-GopalKrishna/RobotixWeb2021
3f99d41b2c4c99a3d1a214db1489f3e2fb1bfbb2
[ "Apache-2.0" ]
null
null
null
extras/migrations/0002_auto_20200219_1614.py
D-GopalKrishna/RobotixWeb2021
3f99d41b2c4c99a3d1a214db1489f3e2fb1bfbb2
[ "Apache-2.0" ]
2
2021-01-30T08:22:57.000Z
2021-02-04T09:42:59.000Z
# Generated by Django 2.1.7 on 2020-02-19 10:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('extras', '0001_initial'), ] operations = [ migrations.CreateModel( name='DIY', fields=[ ('id', model...
38.042553
114
0.552573
180
1,788
5.361111
0.411111
0.139896
0.093264
0.124352
0.412435
0.300518
0.300518
0.300518
0.300518
0.163731
0
0.035857
0.298098
1,788
46
115
38.869565
0.733068
0.025168
0
0.35
1
0
0.083285
0
0
0
0
0
0
1
0
false
0
0.025
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2d050e458d5908a1d6a55a7b20d1ee5f5b26fbe3
442
py
Python
13.py
arvinddoraiswamy/LearnPython
f731a7390a0d335640c23a1e76fa1eb6887b6894
[ "MIT" ]
10
2015-02-05T04:46:25.000Z
2020-12-17T21:11:36.000Z
13.py
arvinddoraiswamy/LearnPython
f731a7390a0d335640c23a1e76fa1eb6887b6894
[ "MIT" ]
null
null
null
13.py
arvinddoraiswamy/LearnPython
f731a7390a0d335640c23a1e76fa1eb6887b6894
[ "MIT" ]
12
2015-05-23T08:55:54.000Z
2020-09-04T15:47:59.000Z
import pefile def get_sections(filename): sections= {} pe= pefile.PE(filename) sections= {section.Name+'_'+str(section.SizeOfRawData): section.get_data() for section in pe.sections} return sections # This file is a malicious file that I copied for demo purposes from another repo. Be careful while runn...
34
113
0.744344
66
442
4.924242
0.636364
0.067692
0
0
0
0
0
0
0
0
0
0.005405
0.162896
442
12
114
36.833333
0.872973
0.251131
0
0
0
0
0.167173
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.222222
0
0
0
null
0
0
0
0
0
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
2d06c6c222feb6533580e22c0454084e05996193
5,051
py
Python
estrategias/2021_Grisha_Yeager.py
rsouza/jogos_vorazes
807031a981b18e8fed0a73b5edb35fa4d486c269
[ "MIT" ]
null
null
null
estrategias/2021_Grisha_Yeager.py
rsouza/jogos_vorazes
807031a981b18e8fed0a73b5edb35fa4d486c269
[ "MIT" ]
null
null
null
estrategias/2021_Grisha_Yeager.py
rsouza/jogos_vorazes
807031a981b18e8fed0a73b5edb35fa4d486c269
[ "MIT" ]
19
2016-01-15T17:24:45.000Z
2021-01-28T18:12:50.000Z
#Diogo David Sánchez Lima from estrategias.jogadores import Jogador import numpy import numpy as np import os.path from numpy import round import pickle import random listaRep5=[] def n_melhores(a1,n): 'a=lista n=posições' a=list(a1) a.sort() return a[-n:] class MeuJogador(Jogador): def _...
32.171975
108
0.459117
477
5,051
4.685535
0.220126
0.075168
0.196868
0.111857
0.537808
0.47651
0.459508
0.459508
0.459508
0.41566
0
0.02
0.445654
5,051
157
109
32.171975
0.778214
0.019204
0
0.548673
0
0
0.062538
0.033782
0
0
0
0
0
1
0.026549
false
0
0.061947
0
0.123894
0.026549
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
2d077fe9e473add0adbd5334e8b0240ea08ba27f
679
py
Python
cms/templatetags/utils.py
siruku6/life_recorder
1cda45144a2cef832e8b1ffb44894810cc096164
[ "MIT" ]
1
2021-05-08T10:04:20.000Z
2021-05-08T10:04:20.000Z
cms/templatetags/utils.py
siruku6/life_recorder
1cda45144a2cef832e8b1ffb44894810cc096164
[ "MIT" ]
34
2021-02-23T09:00:24.000Z
2021-11-28T02:02:15.000Z
cms/templatetags/utils.py
siruku6/life_recorder
1cda45144a2cef832e8b1ffb44894810cc096164
[ "MIT" ]
2
2021-05-03T10:16:48.000Z
2021-05-08T10:04:23.000Z
import django from widget_tweaks.templatetags.widget_tweaks import add_class register = django.template.Library() @register.filter(name='multiply') def multiply(value: int, args: int): return value * args @register.filter(name='divide') def divide(value: int, args: int): return value / args @register.fi...
25.148148
82
0.723122
91
679
5.241758
0.428571
0.08805
0.113208
0.062893
0.201258
0.201258
0.201258
0.201258
0.201258
0.201258
0
0
0.167894
679
26
83
26.115385
0.844248
0
0
0
0
0
0.094256
0.038292
0
0
0
0
0
1
0.166667
false
0
0.111111
0.111111
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
0
1
0
0
0
1
2d116f3846aa48f7c89544bc47063d4a0c1d01d9
487
py
Python
tests/references/signals.exponential_sweep_time.py
pyfar-seminar/pyfar
5477f594c539bc74e3022a4594402cdeacd0af54
[ "MIT" ]
1
2020-11-19T08:50:30.000Z
2020-11-19T08:50:30.000Z
tests/references/signals.exponential_sweep_time.py
pyfar-seminar/pyfar
5477f594c539bc74e3022a4594402cdeacd0af54
[ "MIT" ]
2
2021-01-15T10:00:37.000Z
2022-01-31T16:35:23.000Z
tests/references/signals.exponential_sweep_time.py
pyfar-seminar/pyfar
5477f594c539bc74e3022a4594402cdeacd0af54
[ "MIT" ]
2
2020-12-07T22:39:49.000Z
2021-03-29T08:43:05.000Z
# Write exponential sweep to csv for testing. # The sweep was manually inspected. # The time signal was inspected for smootheness and maximum amplitudes of +/-1. # The spectrum was inspected for the ripple at the edges of the frequency range # (typical for time domain sweep generation) and the 1/f slope. import numpy a...
44.272727
79
0.788501
77
487
4.909091
0.545455
0.169312
0.15873
0
0
0
0
0
0
0
0
0.023923
0.141684
487
10
80
48.7
0.880383
0.605749
0
0
0
0
0.182796
0.182796
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2d12ecc25b59d74bcf442feb96938d9bf09c0794
5,419
py
Python
bin/import_guest.py
GOMYWAY-NETWORKS-LLC/karesansui
f4ba1cf6f88cf76c3e4dbc444139d73134f7c9d1
[ "MIT" ]
54
2015-01-09T16:49:34.000Z
2022-02-03T10:08:30.000Z
bin/import_guest.py
GOMYWAY-NETWORKS-LLC/karesansui
f4ba1cf6f88cf76c3e4dbc444139d73134f7c9d1
[ "MIT" ]
2
2016-02-22T08:23:36.000Z
2021-05-10T04:13:01.000Z
bin/import_guest.py
GOMYWAY-NETWORKS-LLC/karesansui
f4ba1cf6f88cf76c3e4dbc444139d73134f7c9d1
[ "MIT" ]
27
2015-08-21T13:33:49.000Z
2021-11-19T02:56:20.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # This file is part of Karesansui. # # Copyright (C) 2012 HDE, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, incl...
38.707143
132
0.606569
609
5,419
5.292282
0.390805
0.027304
0.026373
0.013031
0.105492
0.105492
0.089978
0.089978
0.089978
0.089978
0
0.003433
0.301163
5,419
139
133
38.985612
0.847637
0.216645
0
0.144444
0
0
0.139607
0
0
0
0
0
0
0
null
null
0.022222
0.277778
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2d1a029d64668f4afb0f3f061c13d6145f92c0ce
713
py
Python
Otsu'sThresh.py
RohitAsegaonkar/vision-based-automation-lab
be9205abe7789f05f2808b46e32a6a8285f51f1f
[ "MIT" ]
2
2020-12-09T13:08:40.000Z
2021-10-10T13:58:39.000Z
Otsu'sThresh.py
RohitAsegaonkar/vision-based-automation-lab
be9205abe7789f05f2808b46e32a6a8285f51f1f
[ "MIT" ]
null
null
null
Otsu'sThresh.py
RohitAsegaonkar/vision-based-automation-lab
be9205abe7789f05f2808b46e32a6a8285f51f1f
[ "MIT" ]
null
null
null
import numpy as np import skimage.color import skimage.filters import skimage.io import skimage.viewer # read and display the original image image = skimage.io.imread('images/coins.png') viewer = skimage.viewer.ImageViewer(image) viewer.show() # blur and grayscale before thresholding blur = skimage.color.rgb2gray(im...
23.766667
60
0.776999
102
713
5.411765
0.431373
0.094203
0.103261
0.163043
0
0
0
0
0
0
0
0.001597
0.12202
713
30
61
23.766667
0.880192
0.255259
0
0.166667
0
0
0.030418
0
0
0
0
0
0
1
0
false
0
0.277778
0
0.277778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2d27cda7b31c0383839a55f78aba16e820834e4f
2,586
py
Python
python/vast/test/test_V2_util.py
DESI-UR/VoidFinder
cc016425caebb534e9ed176a9b1059241a85c3d1
[ "BSD-3-Clause" ]
1
2020-02-21T17:05:59.000Z
2020-02-21T17:05:59.000Z
python/vast/test/test_V2_util.py
DESI-UR/VoidFinder
cc016425caebb534e9ed176a9b1059241a85c3d1
[ "BSD-3-Clause" ]
11
2020-02-21T17:03:25.000Z
2020-03-15T21:09:53.000Z
python/vast/test/test_V2_util.py
DESI-UR/Voids
cc016425caebb534e9ed176a9b1059241a85c3d1
[ "BSD-3-Clause" ]
3
2019-06-05T22:31:03.000Z
2019-07-31T15:43:16.000Z
# -*- coding: utf-8 -*- """Unit tests of utilities in the vsquared submodule. """ import unittest from vast.vsquared import util as util import numpy as np class TestV2Util(unittest.TestCase): def test_toCoord(self): z = np.array([0.1, 0.2, 0.5, 1.]) ra = np.array([0., 0., 0., 0.]) dec =...
38.597015
125
0.518561
406
2,586
3.280788
0.285714
0.162913
0.084084
0.060811
0.250751
0.207207
0.159159
0.130631
0.130631
0.130631
0
0.196838
0.241686
2,586
66
126
39.181818
0.482407
0.028229
0
0.188679
0
0
0
0
0
0
0
0
0.132075
1
0.132075
false
0
0.056604
0
0.207547
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2d29d75f8cdfedc54a2996066dea69d3a91d7736
4,148
py
Python
shape_recognition/libraries/UR10/older_read_ur.py
ys1998/tactile-shape-recognition
b5ab6f1cdf04ff23e14b467a590533e7ee740b52
[ "MIT" ]
null
null
null
shape_recognition/libraries/UR10/older_read_ur.py
ys1998/tactile-shape-recognition
b5ab6f1cdf04ff23e14b467a590533e7ee740b52
[ "MIT" ]
null
null
null
shape_recognition/libraries/UR10/older_read_ur.py
ys1998/tactile-shape-recognition
b5ab6f1cdf04ff23e14b467a590533e7ee740b52
[ "MIT" ]
null
null
null
import socket import time import struct HOST = "10.1.1.4" # The remote host PORT_30003 = 30003 print "Starting Program" count = 0 home_status = 0 program_run = 0 while (True): if program_run == 0: try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(10) s.connect((HOST,...
30.277372
161
0.601013
690
4,148
3.524638
0.143478
0.041118
0.085526
0.098684
0.303865
0.303865
0.303865
0.268914
0.244243
0.244243
0
0.096267
0.21866
4,148
137
162
30.277372
0.654119
0.124156
0
0.102564
0
0
0.085198
0
0
0
0
0
0
0
null
null
0
0.025641
null
null
0.188034
0
0
0
null
0
0
0
0
0
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
2d2eb5cbdfda3f588e12f4a8b286b9ce47aca417
573
py
Python
examples/start.py
cyrilbois/PFNET.py
81d2fd911c6e6aae4c5de0d1739c6f5361799ce2
[ "BSD-2-Clause" ]
3
2018-03-21T11:54:38.000Z
2020-12-29T16:46:14.000Z
examples/start.py
cyrilbois/PFNET.py
81d2fd911c6e6aae4c5de0d1739c6f5361799ce2
[ "BSD-2-Clause" ]
23
2018-03-29T00:42:06.000Z
2021-01-05T19:15:05.000Z
examples/start.py
cyrilbois/PFNET.py
81d2fd911c6e6aae4c5de0d1739c6f5361799ce2
[ "BSD-2-Clause" ]
5
2018-10-01T19:05:11.000Z
2020-05-27T06:19:11.000Z
#***************************************************# # This file is part of PFNET. # # # # Copyright (c) 2015, Tomas Tinoco De Rubira. # # # # PFNET is released under the BSD 2-clause license...
28.65
53
0.408377
53
573
4.415094
0.792453
0
0
0
0
0
0
0
0
0
0
0.015584
0.328098
573
19
54
30.157895
0.592208
0.668412
0
0
0
0
0.005714
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2d31f7e8e914edb96822c60adee42cf9a2cf07f6
863
py
Python
setup.py
rebill/flask-zmq
1bc3693a5fdf7d486a4d4b12b54db5ed8a5a17ed
[ "BSD-3-Clause" ]
6
2015-05-30T22:45:49.000Z
2020-04-13T04:19:19.000Z
setup.py
rebill/flask-zmq
1bc3693a5fdf7d486a4d4b12b54db5ed8a5a17ed
[ "BSD-3-Clause" ]
null
null
null
setup.py
rebill/flask-zmq
1bc3693a5fdf7d486a4d4b12b54db5ed8a5a17ed
[ "BSD-3-Clause" ]
1
2020-03-25T14:41:07.000Z
2020-03-25T14:41:07.000Z
""" Flask-ZMQ ---------- Adds ZMQ support to your Flask application. """ from setuptools import setup setup( name='Flask-ZMQ', version='0.1.1', url='https://github.com/rebill/flask-zmq', license='BSD', author='Rebill', author_email='rebill@qq.com', description='Flask extension for ZMQ', ...
24.657143
70
0.60139
89
863
5.719101
0.719101
0.062868
0
0
0
0
0
0
0
0
0
0.004608
0.245655
863
35
71
24.657143
0.777266
0.075319
0
0
0
0
0.489254
0
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
0
0
0
0
null
0
0
0
0
0
0
0
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
2d366cfc0ffe2cedb59eaef20d3fca1b482dcc64
1,059
py
Python
bkmrk/__init__.py
bkmrk/bkmrk
827549eade2ed075345ef054ab159331201429d1
[ "MIT" ]
1
2018-04-01T13:41:30.000Z
2018-04-01T13:41:30.000Z
bkmrk/__init__.py
bkmrk/bkmrk
827549eade2ed075345ef054ab159331201429d1
[ "MIT" ]
2
2018-05-06T03:54:23.000Z
2021-04-20T17:22:22.000Z
bkmrk/__init__.py
bkmrk/bkmrk
827549eade2ed075345ef054ab159331201429d1
[ "MIT" ]
null
null
null
from flask import Flask from flask_bootstrap import Bootstrap from flask_login import LoginManager from flask_mail import Mail from flask_migrate import Migrate from flask_moment import Moment from flask_sqlalchemy import SQLAlchemy from .config import Config from . import utils bootstrap = Bootstrap() db = SQLAlche...
23.021739
58
0.75543
157
1,059
4.878981
0.273885
0.082245
0.078329
0.086162
0
0
0
0
0
0
0
0
0.169027
1,059
45
59
23.533333
0.870455
0
0
0
0
0
0.04627
0
0
0
0
0
0
1
0.029412
false
0
0.352941
0
0.411765
0.088235
0
0
0
null
0
0
0
0
0
0
0
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
2d3671408a73637f5f724dcedba8134d813a20ca
1,721
py
Python
tests/libs/datasets/zeros_filter_test.py
ConsultingMD/covid-data-model
f3d23f98eccca1ce33c7a11ab546e9aab5d0aa4d
[ "MIT" ]
null
null
null
tests/libs/datasets/zeros_filter_test.py
ConsultingMD/covid-data-model
f3d23f98eccca1ce33c7a11ab546e9aab5d0aa4d
[ "MIT" ]
null
null
null
tests/libs/datasets/zeros_filter_test.py
ConsultingMD/covid-data-model
f3d23f98eccca1ce33c7a11ab546e9aab5d0aa4d
[ "MIT" ]
null
null
null
import more_itertools import structlog from covidactnow.datapublic.common_fields import CommonFields from libs.datasets.sources import zeros_filter from libs.pipeline import Region from tests import test_helpers from tests.test_helpers import TimeseriesLiteral import pandas as pd def test_basic(): region_tx = Re...
35.854167
98
0.68158
210
1,721
5.295238
0.380952
0.01259
0.195144
0.115108
0.316547
0.111511
0.111511
0.111511
0.111511
0.111511
0
0.02021
0.223707
1,721
47
99
36.617021
0.812126
0.034863
0
0.047619
0
0
0.018686
0
0
0
0
0
0.071429
1
0.02381
false
0
0.190476
0
0.214286
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
2d3b017018e1dacb8cb7b2a49aae42bab2d2efb0
414
py
Python
sis_provisioner/management/commands/load_users.py
uw-it-aca/canvas-sis-provisioner
28f54ce101704a8feaaea1e514618aba5a330a25
[ "Apache-2.0" ]
null
null
null
sis_provisioner/management/commands/load_users.py
uw-it-aca/canvas-sis-provisioner
28f54ce101704a8feaaea1e514618aba5a330a25
[ "Apache-2.0" ]
451
2016-10-25T22:08:19.000Z
2022-03-23T20:27:52.000Z
sis_provisioner/management/commands/load_users.py
uw-it-aca/canvas-sis-provisioner
28f54ce101704a8feaaea1e514618aba5a330a25
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 from sis_provisioner.management.commands import SISProvisionerCommand from sis_provisioner.models.user import User class Command(SISProvisionerCommand): help = "Loads users for provisioning, from pre-defined groups" def h...
29.571429
69
0.76087
52
414
5.961538
0.807692
0.045161
0.116129
0
0
0
0
0
0
0
0
0.017094
0.152174
414
13
70
31.846154
0.866097
0.198068
0
0
0
0
0.161094
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2d3d6bf3808e827c0878f5ac41bd5ee69516f7fc
1,789
py
Python
inifiles.py
danlyke/squareplay
30783579c3e4dc9a61890b78102fa4020f80c6aa
[ "MIT" ]
null
null
null
inifiles.py
danlyke/squareplay
30783579c3e4dc9a61890b78102fa4020f80c6aa
[ "MIT" ]
null
null
null
inifiles.py
danlyke/squareplay
30783579c3e4dc9a61890b78102fa4020f80c6aa
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import configparser import os.path class IniFile : def __init__(self): self.configfile = os.path.expanduser("~/.squareplay.ini") self.config = configparser.RawConfigParser() self.main_section = 'Squareplay' self.read() def read(self): if os.path.exis...
28.854839
74
0.598099
199
1,789
5.266332
0.271357
0.076336
0.057252
0.043893
0.351145
0.307252
0.307252
0.240458
0.240458
0.156489
0
0.000778
0.281163
1,789
61
75
29.327869
0.814152
0.009503
0
0.340426
0
0
0.082486
0
0
0
0
0
0
1
0.170213
false
0.06383
0.042553
0
0.319149
0.06383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2d3e32760e03000bdfa65b29c41f2f2fb78395cb
701
py
Python
wapy-lib/zipfile/zipfile.py
pmp-p/wapy-pack
dff596e126272ad9684f92a9bc5318b7e53b350f
[ "MIT" ]
null
null
null
wapy-lib/zipfile/zipfile.py
pmp-p/wapy-pack
dff596e126272ad9684f92a9bc5318b7e53b350f
[ "MIT" ]
null
null
null
wapy-lib/zipfile/zipfile.py
pmp-p/wapy-pack
dff596e126272ad9684f92a9bc5318b7e53b350f
[ "MIT" ]
null
null
null
import _zipfile # https://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZipFile # (file, mode='r', compression=ZIP_STORED, allowZip64=True, compresslevel=None, *, strict_timestamps=True) def ZipFile(file, mode='r', compression=0, allowZip64=True, compresslevel=None, *, strict_timestamps=True): z...
35.05
107
0.730385
101
701
5.019802
0.534653
0.08284
0.059172
0.063116
0.406312
0.299803
0.299803
0
0
0
0
0.011382
0.122682
701
19
108
36.894737
0.813008
0.701854
0
0
0
0
0.005076
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2d4601b2832a8b660af5a6d11f04308b0d5e4e3a
438
py
Python
test/end-to-end/source/gitignored-files/main.py
neomatrix369/plz
12f05a8d071e9c1976c444d34161530ffa73eeae
[ "MIT" ]
1
2020-09-06T16:35:27.000Z
2020-09-06T16:35:27.000Z
test/end-to-end/source/gitignored-files/main.py
neomatrix369/plz
12f05a8d071e9c1976c444d34161530ffa73eeae
[ "MIT" ]
null
null
null
test/end-to-end/source/gitignored-files/main.py
neomatrix369/plz
12f05a8d071e9c1976c444d34161530ffa73eeae
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 for file_name in ['file_ignored_by_git_included_explicitly', 'file_managed_by_git']: with open(file_name) as f: print(f.read(), end='') for file_name in ['file_managed_by_git_excluded', 'file_ignored_by_git']: try: with open(file_name)...
29.2
67
0.625571
61
438
4.163934
0.52459
0.15748
0.086614
0.102362
0.283465
0.149606
0
0
0
0
0
0.003125
0.269406
438
14
68
31.285714
0.790625
0.047945
0
0.181818
0
0
0.3125
0.161058
0
0
0
0
0
1
0
false
0.090909
0
0
0
0.090909
0
0
0
null
0
0
0
0
0
0
0
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
7423a61e27a39fa201b21623a8a2c4001a3dbd71
404
py
Python
clustergrammer/local_tests/test_matrix_upload_API_locally.py
delosrogers/clustergrammer-web
14102cfca328214d3bc8285e8331663fe0e5fad4
[ "MIT" ]
5
2018-04-04T16:25:06.000Z
2021-04-10T23:47:20.000Z
clustergrammer/local_tests/test_matrix_upload_API_locally.py
delosrogers/clustergrammer-web
14102cfca328214d3bc8285e8331663fe0e5fad4
[ "MIT" ]
8
2016-07-16T02:55:12.000Z
2022-02-02T16:42:17.000Z
clustergrammer/local_tests/test_matrix_upload_API_locally.py
delosrogers/clustergrammer-web
14102cfca328214d3bc8285e8331663fe0e5fad4
[ "MIT" ]
4
2019-05-28T08:52:41.000Z
2021-01-11T22:14:48.000Z
import requests origin = 'http://amp.pharm.mssm.edu' entry_point = '/clustergrammer' filename = 'example_matrix.txt' # upload_url = 'http://localhost:9000/clustergrammer/matrix_upload/' # upload_url = 'http://0.0.0.0:8087/clustergrammer/matrix_upload/' upload_url = origin + entry_point + '/matrix_upload/' r = request...
28.857143
68
0.732673
56
404
5.107143
0.535714
0.125874
0.090909
0.223776
0.244755
0
0
0
0
0
0
0.032877
0.096535
404
14
69
28.857143
0.750685
0.324257
0
0
0
0
0.291513
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
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
74257913c54659eac221b71d754125b907681401
1,699
py
Python
setup.py
Symbo1/wsltools
0b6e536fc85c707a1c81f0296c4e91ca835396a1
[ "MIT" ]
412
2020-04-16T08:11:58.000Z
2022-02-02T19:49:53.000Z
setup.py
Symbo1/wsltools
0b6e536fc85c707a1c81f0296c4e91ca835396a1
[ "MIT" ]
1
2020-04-16T14:03:46.000Z
2020-04-17T03:41:18.000Z
setup.py
Symbo1/wsltools
0b6e536fc85c707a1c81f0296c4e91ca835396a1
[ "MIT" ]
33
2020-04-16T08:48:53.000Z
2021-10-20T04:39:29.000Z
# -*- coding: utf-8 -*- #!/usr/bin/env python from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup(name="wsltools", version="0.2.4", description="Web Scan Lazy Tools", long_description=long_description, long_description_content_...
39.511628
125
0.608005
179
1,699
5.698324
0.513966
0.186275
0.245098
0.127451
0.107843
0
0
0
0
0
0
0.023952
0.213655
1,699
43
126
39.511628
0.739521
0.024132
0
0
0
0.026316
0.560386
0.0157
0
0
0
0
0
1
0
false
0
0.026316
0
0.026316
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
7426263147cf688a5448552fb9cd5ddbcd554399
6,664
py
Python
tests/epyccel/test_epyccel_pow.py
nandiniraja348/pyccel
d857efcb8ff327f72473daeb86903c7e9ef93a36
[ "MIT" ]
3
2017-08-31T14:11:55.000Z
2018-03-05T04:47:58.000Z
tests/epyccel/test_epyccel_pow.py
nandiniraja348/pyccel
d857efcb8ff327f72473daeb86903c7e9ef93a36
[ "MIT" ]
null
null
null
tests/epyccel/test_epyccel_pow.py
nandiniraja348/pyccel
d857efcb8ff327f72473daeb86903c7e9ef93a36
[ "MIT" ]
1
2018-02-13T23:46:49.000Z
2018-02-13T23:46:49.000Z
# pylint: disable=missing-function-docstring, missing-module-docstring/ import sys from numpy.random import rand, randint, uniform from numpy import isclose from pyccel.decorators import types from pyccel.epyccel import epyccel RTOL = 2e-14 ATOL = 1e-15 # this smallest positive float number min_float = sys.float_inf...
30.153846
78
0.597689
1,130
6,664
3.40885
0.073451
0.024403
0.123572
0.141225
0.746885
0.713655
0.652129
0.623053
0.607736
0.554517
0
0.01444
0.210234
6,664
220
79
30.290909
0.717462
0.029112
0
0.327485
0
0
0.017639
0
0
0
0
0
0.298246
1
0.187135
false
0
0.02924
0.099415
0.315789
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7427faf7c4c5b7bf7e92c7075085764d04f35d2f
3,689
py
Python
tools/secure_data.py
Koosli/koosli.org
56d8276bb4f68727df95419222429379ec5be302
[ "MIT" ]
null
null
null
tools/secure_data.py
Koosli/koosli.org
56d8276bb4f68727df95419222429379ec5be302
[ "MIT" ]
null
null
null
tools/secure_data.py
Koosli/koosli.org
56d8276bb4f68727df95419222429379ec5be302
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Encrypt/decrypt secrets for storage in salt/pillar. Travis has an encrypted copy of the encryption key to deploy the stuff. """ import argparse import base64 import Crypto.Random import Crypto.Cipher import getpass import os import os.path import yaml def main(): args = get_arg...
35.815534
99
0.675522
505
3,689
4.764356
0.283168
0.041147
0.037822
0.028263
0.24148
0.224023
0.224023
0.177473
0.128845
0.088944
0
0.011514
0.199512
3,689
102
100
36.166667
0.803251
0.029276
0
0.0625
0
0
0.22636
0.012802
0
0
0
0
0
0
null
null
0.025
0.1
null
null
0.05
0
0
0
null
0
0
0
0
0
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
74512f81f1ed7de8a78d5ac735002159d7ba0b07
9,057
py
Python
scripts/network_creation/spatial_and_network_functions.py
nismod/snail
11eea772a2444e639f3bf0dc3331e0f688d93f86
[ "MIT" ]
2
2021-03-31T02:58:46.000Z
2021-12-04T11:47:39.000Z
scripts/network_creation/spatial_and_network_functions.py
nismod/snail
11eea772a2444e639f3bf0dc3331e0f688d93f86
[ "MIT" ]
27
2021-01-25T15:03:33.000Z
2022-03-09T11:09:12.000Z
scripts/network_creation/spatial_and_network_functions.py
nismod/snail
11eea772a2444e639f3bf0dc3331e0f688d93f86
[ "MIT" ]
null
null
null
"""Generate darthmouth events """ import os import sys import configparser import csv import pandas as pd import geopandas as gpd import subprocess import numpy as np import igraph as ig from shapely.geometry import Point from geopy.distance import vincenty from boltons.iterutils import pairwise from snkit import Netwo...
29.028846
146
0.633543
1,113
9,057
4.969452
0.21743
0.014102
0.014645
0.018442
0.185138
0.174652
0.132707
0.070331
0.017718
0.017718
0
0.005344
0.276913
9,057
311
147
29.122187
0.839212
0.327923
0
0.20339
1
0
0.051122
0
0
0
0
0
0
1
0.039548
false
0
0.084746
0
0.175141
0.033898
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7453e325674fb5e0b6544c8f9731c0e0ae68b610
2,833
py
Python
tests/test_postgresql.py
sinnud/py_pkg_db
1c94f3277c773050677a7f6fca1de9512cba0b5b
[ "MIT" ]
null
null
null
tests/test_postgresql.py
sinnud/py_pkg_db
1c94f3277c773050677a7f6fca1de9512cba0b5b
[ "MIT" ]
null
null
null
tests/test_postgresql.py
sinnud/py_pkg_db
1c94f3277c773050677a7f6fca1de9512cba0b5b
[ "MIT" ]
null
null
null
""" * File name: test_postgresql.py * Purpose: test postgresql.py * Use python moduel unittest """ # the inclusion of the tests module is not meant to offer best practices for # testing in general, but rather to support the `find_packages` example in # setup.py that excludes installing the "tests" package import os im...
33.72619
126
0.575009
325
2,833
4.941538
0.421538
0.029888
0.052304
0.082192
0.283935
0.251557
0.251557
0.251557
0.251557
0.251557
0
0.006154
0.311684
2,833
84
127
33.72619
0.817436
0.171197
0
0.350877
0
0
0.192882
0.035149
0
0
0
0
0.035088
1
0.052632
false
0.245614
0.140351
0
0.245614
0.070175
0
0
0
null
0
0
0
0
0
0
0
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
74555c6f9c891a57a685ab529c241d9659daba51
2,555
py
Python
Consensus/users/views.py
thirdgroup/Consensus
f0d67618c6f5c7c2e6d575b12f889b8f9f1fa3db
[ "Apache-2.0" ]
null
null
null
Consensus/users/views.py
thirdgroup/Consensus
f0d67618c6f5c7c2e6d575b12f889b8f9f1fa3db
[ "Apache-2.0" ]
null
null
null
Consensus/users/views.py
thirdgroup/Consensus
f0d67618c6f5c7c2e6d575b12f889b8f9f1fa3db
[ "Apache-2.0" ]
1
2020-05-20T16:19:34.000Z
2020-05-20T16:19:34.000Z
from django.shortcuts import render, redirect from users.models import User from django.contrib.auth import login, logout def register_index(request): # 注册 if request.method == 'POST': info = request.POST username = info.get('username', None) password = info.get('password', None) ...
40.555556
98
0.601174
270
2,555
5.614815
0.22963
0.079156
0.12533
0.158311
0.630607
0.581794
0.581794
0.581794
0.457784
0.457784
0
0.006455
0.272407
2,555
62
99
41.209677
0.809037
0.001957
0
0.470588
0
0
0.207303
0.102081
0
0
0
0
0
1
0.058824
false
0.156863
0.058824
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
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
7456c49205402a7487b34da0daf1d8ed899cf2bf
253
py
Python
server.py
paulagc22/OpenFDA
db3bf85624ec6ae9894a2cbb0638501b37191de1
[ "Apache-2.0" ]
null
null
null
server.py
paulagc22/OpenFDA
db3bf85624ec6ae9894a2cbb0638501b37191de1
[ "Apache-2.0" ]
null
null
null
server.py
paulagc22/OpenFDA
db3bf85624ec6ae9894a2cbb0638501b37191de1
[ "Apache-2.0" ]
null
null
null
import web import socketserver ## #WEB SERVER ## PORT=8000 socketserver.TCPServer.allow_reuse_address = True Handler = web.testHTTPRequestHandler httpd = socketserver.TCPServer(("", PORT), Handler) print("serving at port", PORT) httpd.serve_forever()
18.071429
51
0.778656
30
253
6.466667
0.633333
0.216495
0
0
0
0
0
0
0
0
0
0.017699
0.106719
253
13
52
19.461538
0.840708
0.039526
0
0
0
0
0.063025
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.125
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
74597a2303a9ea0d1def32613410b3835748a47f
890
py
Python
test/unit/test_init.py
tracelytics/python-traceview
0e5ff36f16aa03c458a6f581388606915219b23a
[ "Apache-2.0" ]
null
null
null
test/unit/test_init.py
tracelytics/python-traceview
0e5ff36f16aa03c458a6f581388606915219b23a
[ "Apache-2.0" ]
1
2019-06-05T19:04:26.000Z
2019-06-06T17:23:02.000Z
test/unit/test_init.py
tracelytics/python-traceview
0e5ff36f16aa03c458a6f581388606915219b23a
[ "Apache-2.0" ]
2
2017-03-15T01:45:19.000Z
2017-10-30T13:26:35.000Z
""" Tests for oboeware/oninit.py functionality. """ import base from oboeware import oninit import oboe import unittest2 as unittest import logging class TestOnInit(base.TraceTestCase): def __init__(self, *args, **kwargs): super(TestOnInit, self).__init__(*args, **kwargs) def setUp(self): sel...
27.8125
86
0.686517
112
890
5.160714
0.508929
0.086505
0.083045
0.103806
0.086505
0.086505
0
0
0
0
0
0.004202
0.197753
890
31
87
28.709677
0.805322
0.102247
0
0
0
0
0.064394
0
0
0
0
0
0.136364
1
0.227273
false
0
0.227273
0
0.5
0.045455
0
0
0
null
0
0
0
0
0
0
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
746435865f43e121a37f391481d8275d7ab36282
2,289
py
Python
app/views.py
hongphuong0211/Shrimp-Farming-Management-System
ffc172612dd75e58aa091b0bbb64d5c699b546d0
[ "MIT" ]
null
null
null
app/views.py
hongphuong0211/Shrimp-Farming-Management-System
ffc172612dd75e58aa091b0bbb64d5c699b546d0
[ "MIT" ]
null
null
null
app/views.py
hongphuong0211/Shrimp-Farming-Management-System
ffc172612dd75e58aa091b0bbb64d5c699b546d0
[ "MIT" ]
null
null
null
from app.utils import CheckQuality from django.shortcuts import redirect, render from django.contrib.auth.decorators import login_required from django.views.generic.detail import DetailView from rest_framework.decorators import api_view from rest_framework.response import Response from rest_framework import status from...
28.974684
103
0.69419
274
2,289
5.664234
0.408759
0.025773
0.032861
0.046392
0.050258
0.050258
0
0
0
0
0
0.004945
0.204893
2,289
78
104
29.346154
0.847802
0.075142
0
0.04
0
0
0.08808
0.012446
0
0
0
0
0
1
0.08
false
0.02
0.26
0.02
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
746dcbc9e4b01894541bac0bb9c6546ee2829d2f
262
py
Python
binomial_coefficients.py
webkadiz/olympiad-problems
620912815904c0f95b91ccd193ca3db0ea20e507
[ "MIT" ]
null
null
null
binomial_coefficients.py
webkadiz/olympiad-problems
620912815904c0f95b91ccd193ca3db0ea20e507
[ "MIT" ]
null
null
null
binomial_coefficients.py
webkadiz/olympiad-problems
620912815904c0f95b91ccd193ca3db0ea20e507
[ "MIT" ]
null
null
null
n, m = map(int, input().split()) arr = [[0] * (m + 1) for i in range(n + 1)] arr[0][1] = 1 import sys print(sys.getsizeof(arr) / 1024 / 1024) for i in range(1, n + 1): for j in range(1, m + 1): arr[i][j] = arr[i - 1][j] + arr[i][j - 1] print(arr[n][m])
16.375
43
0.515267
57
262
2.368421
0.333333
0.155556
0.088889
0.162963
0
0
0
0
0
0
0
0.099502
0.232824
262
16
44
16.375
0.572139
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.222222
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
746ef8c015d288242b0050c660ed9f71e9ce005c
8,364
py
Python
sdk/python/pulumi_checkly/environment_variable.py
checkly/pulumi-checkly
e65680ff86516e95e2bcf3ce600ea5e641e28fe2
[ "MIT" ]
7
2022-02-16T15:04:48.000Z
2022-03-30T16:40:17.000Z
sdk/python/pulumi_checkly/environment_variable.py
checkly/pulumi-checkly
e65680ff86516e95e2bcf3ce600ea5e641e28fe2
[ "MIT" ]
5
2022-03-11T17:01:17.000Z
2022-03-16T02:33:14.000Z
sdk/python/pulumi_checkly/environment_variable.py
checkly/pulumi-checkly
e65680ff86516e95e2bcf3ce600ea5e641e28fe2
[ "MIT" ]
1
2022-03-11T16:55:01.000Z
2022-03-11T16:55:01.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
35.591489
134
0.615375
897
8,364
5.476031
0.16165
0.069422
0.08123
0.053746
0.60342
0.567997
0.540106
0.501018
0.434243
0.407573
0
0.003152
0.279292
8,364
234
135
35.74359
0.811712
0.203132
0
0.574324
1
0
0.073384
0.012098
0
0
0
0
0
1
0.148649
false
0.006757
0.033784
0.060811
0.27027
0
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
746ffcbf57e1fcd93c48e021b12aa0b2e553c4da
245
py
Python
src/figure/admin.py
pddg/django_sample_api
9e4566070f372db2b3f53bc55cddde4071e2764a
[ "MIT" ]
null
null
null
src/figure/admin.py
pddg/django_sample_api
9e4566070f372db2b3f53bc55cddde4071e2764a
[ "MIT" ]
null
null
null
src/figure/admin.py
pddg/django_sample_api
9e4566070f372db2b3f53bc55cddde4071e2764a
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Image class ImageAdmin(admin.ModelAdmin): list_display = ( 'name', 'created_at' ) readonly_fields = ( 'img_tag', ) admin.site.register(Image, ImageAdmin)
14.411765
38
0.64898
27
245
5.740741
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.24898
245
16
39
15.3125
0.842391
0
0
0
0
0
0.085714
0
0
0
0
0
0
1
0
false
0
0.2
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
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
7474b7d8c696a8054a873656b358df645f05a29c
4,179
py
Python
pip_login.py
skaughtx0r/pip-login
6aa0f139d1fd6f7cd25ede7910ed4cd8bc4c6054
[ "MIT" ]
1
2019-11-21T18:42:33.000Z
2019-11-21T18:42:33.000Z
pip_login.py
skaughtx0r/pip-login
6aa0f139d1fd6f7cd25ede7910ed4cd8bc4c6054
[ "MIT" ]
null
null
null
pip_login.py
skaughtx0r/pip-login
6aa0f139d1fd6f7cd25ede7910ed4cd8bc4c6054
[ "MIT" ]
2
2019-08-14T21:04:35.000Z
2020-06-05T16:58:11.000Z
import os import platform from prompt_toolkit import prompt from prompt_toolkit.history import FileHistory from prompt_toolkit.auto_suggest import AutoSuggestFromHistory from pathlib import Path from getpass import getpass from urllib.parse import urlparse from configparser import ConfigParser from argparse import Argu...
33.432
86
0.633166
513
4,179
4.951267
0.243665
0.066142
0.082283
0.040945
0.317717
0.277165
0.182677
0.117323
0.085827
0.085827
0
0.000318
0.24671
4,179
124
87
33.701613
0.806544
0.004068
0
0.134615
0
0
0.188374
0.013989
0
0
0
0
0
1
0.009615
false
0.086538
0.115385
0
0.125
0.009615
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7476a868da952d1267c38cc1bf391c28c768d638
3,969
py
Python
tests/test_signature.py
takluyver/dbus-objects
7cbd99c2ee1322bcc8e2437626c34bc6c869cec4
[ "MIT" ]
null
null
null
tests/test_signature.py
takluyver/dbus-objects
7cbd99c2ee1322bcc8e2437626c34bc6c869cec4
[ "MIT" ]
null
null
null
tests/test_signature.py
takluyver/dbus-objects
7cbd99c2ee1322bcc8e2437626c34bc6c869cec4
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT import typing import xml.etree.ElementTree as ET import pytest import dbus_objects.types from dbus_objects.object import DBusObject, DBusObjectException from dbus_objects.signature import DBusSignature @pytest.mark.parametrize( ('types', 'signature'), [ (str, 's'), ...
30.068182
88
0.605946
465
3,969
5.027957
0.258065
0.051326
0.050043
0.050898
0.377673
0.263473
0.245081
0.120188
0.029085
0
0
0.008488
0.228269
3,969
131
89
30.29771
0.754816
0.05417
0
0.148515
0
0
0.139727
0.011221
0
0
0
0
0.128713
1
0.118812
false
0.069307
0.059406
0
0.178218
0
0
0
0
null
0
0
0
0
0
0
0
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
747da759b06c7b8edae4093aa8c63e8a18341541
431
py
Python
fetcher/migrations/0002_auto_20200201_1658.py
ulsdevteam/pisces
c3c6a513e8c29bf95673971b158828e1cc85c744
[ "MIT" ]
1
2019-05-13T21:05:20.000Z
2019-05-13T21:05:20.000Z
fetcher/migrations/0002_auto_20200201_1658.py
ulsdevteam/pisces
c3c6a513e8c29bf95673971b158828e1cc85c744
[ "MIT" ]
307
2019-04-03T13:11:57.000Z
2022-03-16T21:57:35.000Z
fetcher/migrations/0002_auto_20200201_1658.py
RockefellerArchiveCenter/pisces
0fcdfd7a6055e6df58cc27058e31249cfe3ecca7
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2020-02-01 21:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fetcher', '0001_initial'), ] operations = [ migrations.AlterField( model_name='fetchrun', name='source', ...
22.684211
104
0.596288
45
431
5.644444
0.844444
0
0
0
0
0
0
0
0
0
0
0.075949
0.266821
431
18
105
23.944444
0.727848
0.104408
0
0
1
0
0.151042
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
747e6cc481f01ba1c8eb8af7d6eebe6818a34b98
5,114
py
Python
archive/YDSP WOS Signal Processing Codes/Fourier.py
zhengyang-c/photonLauncher
76215f47ccd1178f1826834533f5702c4b8f2c35
[ "Apache-2.0" ]
6
2015-11-26T15:03:38.000Z
2020-10-05T14:08:54.000Z
archive/YDSP WOS Signal Processing Codes/Fourier.py
zhengyang-c/photonLauncher
76215f47ccd1178f1826834533f5702c4b8f2c35
[ "Apache-2.0" ]
7
2015-12-09T06:44:34.000Z
2021-12-14T15:51:28.000Z
archive/YDSP WOS Signal Processing Codes/Fourier.py
zhengyang-c/photonLauncher
76215f47ccd1178f1826834533f5702c4b8f2c35
[ "Apache-2.0" ]
3
2016-07-25T10:43:21.000Z
2021-12-07T14:12:47.000Z
# -*- coding: utf-8 -*- """ WOS 2015 - Signal Processing Day 1 Fourier Transform Analysis Created on Tue Jun 09 08:42:58 2015 @author: YZhanyou """ #%% from __future__ import division from scipy.io import wavfile import matplotlib.pyplot as plt import wave import numpy as num import pyaudio import ti...
27.494624
104
0.575479
678
5,114
4.265487
0.29351
0.027663
0.04426
0.058091
0.428423
0.392462
0.378631
0.290111
0.269364
0.269364
0
0.043642
0.220375
5,114
186
105
27.494624
0.681716
0.118303
0
0.221154
0
0
0.096073
0
0
0
0
0
0
0
null
null
0
0.067308
null
null
0.028846
0
0
0
null
0
0
0
0
0
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
7485d9d830768741b36bd411ff0c575b00871ca7
162
py
Python
python/class_case/case_1.py
1005281342/learn
c9d1e2e256842d9b4846c4870ac72e83d172b20e
[ "Apache-2.0" ]
1
2018-11-29T01:01:32.000Z
2018-11-29T01:01:32.000Z
python/class_case/case_1.py
1005281342/learn
c9d1e2e256842d9b4846c4870ac72e83d172b20e
[ "Apache-2.0" ]
null
null
null
python/class_case/case_1.py
1005281342/learn
c9d1e2e256842d9b4846c4870ac72e83d172b20e
[ "Apache-2.0" ]
null
null
null
from python.class_case.base import Base class Case1(Base): def __init__(self): Base.__init__(self) self.a = 'a' A = Case1() print(A.a)
10.8
39
0.604938
24
162
3.708333
0.5
0.067416
0
0
0
0
0
0
0
0
0
0.016807
0.265432
162
14
40
11.571429
0.731092
0
0
0
0
0
0.006173
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.142857
1
0
0
null
0
0
0
0
0
0
0
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
7488a47876e840fd3a7029f6c33470a2878e8121
1,538
py
Python
pygecko/lib/cg_api_simple/test_vs_currency.py
SrJMaia/coin-gecko-api
2f011f23b104b0ee3a0561e68c6ec974536a59ec
[ "MIT" ]
null
null
null
pygecko/lib/cg_api_simple/test_vs_currency.py
SrJMaia/coin-gecko-api
2f011f23b104b0ee3a0561e68c6ec974536a59ec
[ "MIT" ]
null
null
null
pygecko/lib/cg_api_simple/test_vs_currency.py
SrJMaia/coin-gecko-api
2f011f23b104b0ee3a0561e68c6ec974536a59ec
[ "MIT" ]
null
null
null
from vs_currency import get_supported_vs_currencies_api import unittest class TestVsCurrency(unittest.TestCase): def test_api_status_without_status_code(self): url = url = "https://api.coingecko.com/api/v3/" actual = get_supported_vs_currencies_api(url=url) expected = [ "btc", ...
20.783784
57
0.293238
107
1,538
4.084112
0.82243
0.05492
0.064073
0.10984
0.12357
0
0
0
0
0
0
0.001502
0.56697
1,538
73
58
21.068493
0.654655
0
0
0
0
0
0.142393
0
0
0
0
0
0.014085
1
0.014085
false
0
0.028169
0
0.056338
0.014085
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
74944113acc687cb12c3cd0da7f4f685d6070244
937
py
Python
nntoolbox/components/maxout.py
nhatsmrt/nn-toolbox
689b9924d3c88a433f8f350b89c13a878ac7d7c3
[ "Apache-2.0" ]
16
2019-07-11T15:57:41.000Z
2020-09-08T13:52:45.000Z
nntoolbox/components/maxout.py
nhatsmrt/nn-toolbox
689b9924d3c88a433f8f350b89c13a878ac7d7c3
[ "Apache-2.0" ]
1
2022-01-18T22:21:57.000Z
2022-01-18T22:21:57.000Z
nntoolbox/components/maxout.py
nhatsmrt/nn-toolbox
689b9924d3c88a433f8f350b89c13a878ac7d7c3
[ "Apache-2.0" ]
1
2019-08-07T10:07:09.000Z
2019-08-07T10:07:09.000Z
import torch from torch import nn, Tensor class MaxoutLinear(nn.Module): """ A linear maxout layer: output_i = max_{j = 1,...,k} (w_1 input + b_1, w_2 input + b_2,..., w_k input + b_k) References: Ian J. Goodfellow et al. "Maxout Networks." https://arxiv.org/pdf/1302.4389.pdf """ ...
34.703704
114
0.626467
131
937
4.236641
0.442748
0.072072
0.068468
0
0
0
0
0
0
0
0
0.022284
0.233725
937
26
115
36.038462
0.750696
0.304162
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.181818
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
749c5b43c9562db447729475f0fcba40af928c31
944
py
Python
cosmic_ray/exit_codes.py
sobolevn/cosmic-ray
0d5ba9c773299385195f6c32e5bf4de55d3494a6
[ "MIT" ]
null
null
null
cosmic_ray/exit_codes.py
sobolevn/cosmic-ray
0d5ba9c773299385195f6c32e5bf4de55d3494a6
[ "MIT" ]
null
null
null
cosmic_ray/exit_codes.py
sobolevn/cosmic-ray
0d5ba9c773299385195f6c32e5bf4de55d3494a6
[ "MIT" ]
null
null
null
from enum import IntEnum class ExitCode(IntEnum): """Exit status codes. These mimic those on many unixes (and provided by `os`) but makes them available on all platforms. """ # successful termination OK = 0 # command line usage error Usage = 64 # data format error DataErr = ...
16.561404
74
0.614407
116
944
5
0.827586
0.013793
0
0
0
0
0
0
0
0
0
0.048589
0.324153
944
56
75
16.857143
0.860502
0.522246
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.055556
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7762fc27fdcaf312643828c9934a329d08f95028
835
py
Python
CMx/Onboarding/ccgetusers/ccgetusers/command_line.py
afroschauer/Developer-Community
226006846c1109edc1c5da0e3c1394cb583f084d
[ "MIT" ]
26
2018-11-20T17:17:30.000Z
2021-07-18T01:27:23.000Z
CMx/Onboarding/ccgetusers/ccgetusers/command_line.py
afroschauer/Developer-Community
226006846c1109edc1c5da0e3c1394cb583f084d
[ "MIT" ]
12
2019-01-03T02:03:07.000Z
2021-09-07T23:52:01.000Z
CMx/Onboarding/ccgetusers/ccgetusers/command_line.py
afroschauer/Developer-Community
226006846c1109edc1c5da0e3c1394cb583f084d
[ "MIT" ]
16
2018-11-16T01:44:59.000Z
2022-03-10T15:00:53.000Z
from ccgetusers.generator import GenerateToken from ccgetusers.customerid import CustomerId from ccgetusers.users import Users import sys def main(): if len(sys.argv) < 4: print('Must provide CloudCheckr CMx auth endpoint, client id and access key') print('ccgetusers <cloudcheckr endpoint> <client...
37.954545
104
0.704192
110
835
5.172727
0.327273
0.123023
0.084359
0.105448
0.175747
0.175747
0.175747
0.175747
0.175747
0.175747
0
0.007599
0.211976
835
21
105
39.761905
0.857143
0
0
0
1
0
0.150898
0
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.315789
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
77639b8d0ab11b5c854e7c2700d97d4edc40e157
14,831
py
Python
train_imagenet.py
xieydd/Pytorch-Single-Path-One-Shot-NAS
67af6500cca0094f91e27f289700dd5e75b87707
[ "MIT" ]
17
2019-10-30T07:26:10.000Z
2021-11-01T23:50:32.000Z
train_imagenet.py
xieydd/Pytorch-Single-Path-One-Shot-NAS
67af6500cca0094f91e27f289700dd5e75b87707
[ "MIT" ]
1
2020-05-11T06:14:00.000Z
2020-05-19T01:52:32.000Z
train_imagenet.py
xieydd/Pytorch-Single-Path-One-Shot-NAS
67af6500cca0094f91e27f289700dd5e75b87707
[ "MIT" ]
4
2019-10-30T13:42:30.000Z
2020-04-15T08:12:00.000Z
''' @Description: Train Search SuperNet Single Path One Shot Nas @Author: xieydd @Date: 2019-10-05 15:37:47 @LastEditTime: 2019-10-11 18:22:59 @LastEditors: Please set LastEditors ''' import os import sys import time import numpy as np import torch import logging import torch.nn as nn import torch.utils import torch.nn...
39.339523
175
0.622143
1,858
14,831
4.740043
0.187298
0.02146
0.017032
0.018167
0.469059
0.435222
0.386397
0.37527
0.359827
0.350971
0
0.019298
0.269773
14,831
376
176
39.444149
0.793906
0.078889
0
0.313167
0
0
0.036299
0
0
0
0
0
0
0
null
null
0
0.067616
null
null
0.02847
0
0
0
null
0
0
0
0
0
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
776531ce36b2cd32b07e19057d9b4e8877ca72d9
523
py
Python
grid/grid_codes.py
H4LL/PyGrid
62d5ba6f207498ca365c12ac59dbcd11c1337881
[ "Apache-2.0" ]
1
2020-02-18T21:51:01.000Z
2020-02-18T21:51:01.000Z
grid/grid_codes.py
jazken/PyGrid
0538a3b84420cccb7e95312fb343c0479319afb4
[ "Apache-2.0" ]
1
2019-12-13T13:30:00.000Z
2019-12-13T13:30:00.000Z
grid/grid_codes.py
jazken/PyGrid
0538a3b84420cccb7e95312fb343c0479319afb4
[ "Apache-2.0" ]
null
null
null
class REQUEST_MSG(object): TYPE_FIELD = "type" GET_ID = "get-id" CONNECT_NODE = "connect-node" AUTHENTICATE = "authentication" HOST_MODEL = "host-model" RUN_INFERENCE = "run-inference" LIST_MODELS = "list-models" DELETE_MODEL = "delete-model" DOWNLOAD_MODEL = "download-model" SYF...
24.904762
37
0.65392
60
523
5.483333
0.483333
0.054711
0.109422
0
0
0
0
0
0
0
0
0
0.225621
523
20
38
26.15
0.812346
0
0
0
0
0
0.284895
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7768df013112d3998558989c895dfd0caa8f0e34
1,558
py
Python
tests/ini_train_dialog.py
suryatejabandlamudi/Rasa-Chatbot
4c18dd868f138cdcf73bcd646c7698af9c3bfad0
[ "Apache-2.0" ]
null
null
null
tests/ini_train_dialog.py
suryatejabandlamudi/Rasa-Chatbot
4c18dd868f138cdcf73bcd646c7698af9c3bfad0
[ "Apache-2.0" ]
6
2020-09-25T23:15:36.000Z
2022-02-10T00:07:20.000Z
tests/ini_train_dialog.py
suryatejabandlamudi/Rasa-Chatbot
4c18dd868f138cdcf73bcd646c7698af9c3bfad0
[ "Apache-2.0" ]
null
null
null
# Imports #----------- # rasa core import logging from rasa_core import training from rasa_core.actions import Action from rasa_core.agent import Agent from rasa_core.domain import Domain from rasa_core.policies.keras_policy import KerasPolicy from rasa_core.policies.memoization import MemoizationPolicy from rasa_core....
38
147
0.768935
210
1,558
5.509524
0.414286
0.076059
0.103717
0.057044
0.120138
0.070009
0
0
0
0
0
0.00976
0.145058
1,558
40
148
38.95
0.858859
0.264442
0
0
0
0
0.144876
0.121025
0
0
0
0
0
1
0.04
false
0
0.44
0
0.48
0.08
0
0
0
null
0
0
0
0
0
0
0
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