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
6c8f6f5b606269573ee9e3bfd8fed2b6b02cb54b
637
py
Python
reptile/urls.py
kartoza/kbims-reptile
4273857d7a2b8f373622f8e06149581bd43703c5
[ "MIT" ]
null
null
null
reptile/urls.py
kartoza/kbims-reptile
4273857d7a2b8f373622f8e06149581bd43703c5
[ "MIT" ]
null
null
null
reptile/urls.py
kartoza/kbims-reptile
4273857d7a2b8f373622f8e06149581bd43703c5
[ "MIT" ]
null
null
null
# coding=utf-8 from django.conf.urls import url from reptile.api_views.reptile_collection_record import ( ReptileCollectionList, ReptileCollectionDetail, ) from django.contrib.auth.decorators import login_required from reptile.views.csv_upload import CsvUploadView api_urls = [ url(r'^api/reptile-collecti...
25.48
72
0.722135
77
637
5.831169
0.493506
0.026726
0.03118
0.062361
0.111359
0
0
0
0
0
0
0.005525
0.147567
637
24
73
26.541667
0.821363
0.059655
0
0
0
0
0.171429
0.112605
0
0
0
0
0
1
0
false
0
0.235294
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6c91e45aa3f7f410f20888f0c707dfdcc826ab8f
5,359
py
Python
EvalBox/Attack/AdvAttack/blb.py
Yzx835/AISafety
eb09551814898c7f6d86641b47faf7845c948640
[ "MIT" ]
32
2020-10-20T06:12:48.000Z
2022-03-30T03:31:24.000Z
EvalBox/Attack/AdvAttack/blb.py
Yzx835/AISafety
eb09551814898c7f6d86641b47faf7845c948640
[ "MIT" ]
2
2021-03-24T13:54:50.000Z
2021-10-11T13:37:31.000Z
EvalBox/Attack/AdvAttack/blb.py
Yzx835/AISafety
eb09551814898c7f6d86641b47faf7845c948640
[ "MIT" ]
19
2020-10-22T05:42:51.000Z
2022-02-04T07:07:39.000Z
#!/usr/bin/env python # coding=UTF-8 """ @Author: Tao Hang @LastEditors: Tao Hang @Description: @Date: 2019-03-29 10:41:16 @LastEditTime: 2019-04-15 09:25:43 """ import numpy as np import torch from torch.autograd import Variable from EvalBox.Attack.AdvAttack.attack import Attack class BLB(Attack): def __init__...
35.726667
113
0.54861
632
5,359
4.436709
0.276899
0.021398
0.027461
0.025678
0.208987
0.191869
0.191869
0.136947
0.136947
0.119116
0
0.023701
0.34652
5,359
149
114
35.966443
0.776985
0.141258
0
0.195402
0
0
0.014844
0
0
0
0
0
0
1
0.057471
false
0
0.045977
0
0.16092
0.011494
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6c92d27382dba0aad5c7403248ee9b4f5c933459
85
py
Python
ABC_A/ABC143_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_A/ABC143_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_A/ABC143_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
a, b = map(int, input().split()) if b * 2 >= a: print(0) else: print(a-b*2)
12.142857
32
0.482353
17
85
2.411765
0.647059
0.097561
0
0
0
0
0
0
0
0
0
0.048387
0.270588
85
6
33
14.166667
0.612903
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6c958808bc4913c6337e5be759dac5c2df2ce99d
351
py
Python
collective/teamwork/skins/collective_teamwork/pwreset_constructURL.py
upiq/collective.teamwork
3751eeafa7f585a3ed2ff1e06f610e64145ac4d7
[ "BSD-4-Clause-UC" ]
null
null
null
collective/teamwork/skins/collective_teamwork/pwreset_constructURL.py
upiq/collective.teamwork
3751eeafa7f585a3ed2ff1e06f610e64145ac4d7
[ "BSD-4-Clause-UC" ]
null
null
null
collective/teamwork/skins/collective_teamwork/pwreset_constructURL.py
upiq/collective.teamwork
3751eeafa7f585a3ed2ff1e06f610e64145ac4d7
[ "BSD-4-Clause-UC" ]
1
2015-06-25T14:36:21.000Z
2015-06-25T14:36:21.000Z
## Script (Python) "pwreset_constructURL.py" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##title=Create the URL where passwords are reset ##parameters=randomstring host = container.absolute_url().replace('http:','https:') return "%s/passwordre...
31.909091
57
0.766382
43
351
6.186047
0.674419
0
0
0
0
0
0
0
0
0
0
0
0.08547
351
10
58
35.1
0.82866
0.615385
0
0
0
0
0.254237
0
0
0
0
0
0
1
0
false
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6c966217b6d2aa15884d34a5166e0544588e8af4
1,144
py
Python
main.py
pratipo/wsd
b1322dc5372cb09e46f601fecac0394ade3d4c76
[ "MIT" ]
null
null
null
main.py
pratipo/wsd
b1322dc5372cb09e46f601fecac0394ade3d4c76
[ "MIT" ]
null
null
null
main.py
pratipo/wsd
b1322dc5372cb09e46f601fecac0394ade3d4c76
[ "MIT" ]
null
null
null
#!/usr/bin/python # wsd project main script # hardware: ws2801 led strips + raspberry pi + internet adapter # software pulls twits from an 'admin' (twits and retwits) and # displays the last result through the led strip # Written by Pratipo.org, hightly based on Adafruit's IoT Pinter. MIT license. # MUST BE RUN AS...
20.070175
78
0.678322
165
1,144
4.70303
0.606061
0.046392
0.03866
0.046392
0.085052
0.085052
0.085052
0
0
0
0
0.020474
0.188811
1,144
56
79
20.428571
0.815733
0.307692
0
0.21875
0
0
0.128991
0
0
0
0
0
0
0
null
null
0
0.09375
null
null
0.09375
0
0
0
null
0
0
0
0
0
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
6c966a95b20a1ce63d9f131af2e82012975b3710
7,252
py
Python
q1/search_problem.py
dyrnade/ai_course
32ef66ba3f8a733da3ac4010266f7868bff56a7f
[ "BSD-2-Clause" ]
2
2017-02-05T20:03:29.000Z
2017-12-25T22:47:14.000Z
q1/search_problem.py
dyrnade/ai_course
32ef66ba3f8a733da3ac4010266f7868bff56a7f
[ "BSD-2-Clause" ]
null
null
null
q1/search_problem.py
dyrnade/ai_course
32ef66ba3f8a733da3ac4010266f7868bff56a7f
[ "BSD-2-Clause" ]
null
null
null
# Cem GURESCI 200201027 from __future__ import print_function from collections import deque # you will use it for breadth-first search class State: def __init__(self, name): self.name = name self.actions = [] self.is_goal = False def add_action(self, action): self...
43.42515
156
0.644926
1,023
7,252
4.364614
0.162268
0.030235
0.049272
0.047032
0.516013
0.475028
0.399104
0.354759
0.340873
0.280851
0
0.00924
0.268753
7,252
166
157
43.686747
0.832736
0.292609
0
0.283019
0
0
0.044928
0
0
0
0
0
0
1
0.103774
false
0
0.018868
0
0.198113
0.113208
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6c96edce20f4f33056bc7d4162a68ff6c49c41f5
1,170
py
Python
signature_gen.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
signature_gen.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
signature_gen.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
__author__ = 'talluri' #!/usr/bin/env python # by carlcarl import getopt import sys import hmac import hashlib import base64 import urllib def formattedCmd(api, cmd): s = 'apiKey=' + api + '&' + cmd return s def encypt(string, key): h = hmac.new(key, string, hashlib.sha1) return base64.b64encode(...
20.172414
99
0.567521
144
1,170
4.527778
0.493056
0.064417
0.082822
0.076687
0.104294
0
0
0
0
0
0
0.015439
0.280342
1,170
57
100
20.526316
0.758907
0.02735
0
0
0
0
0.09243
0
0
0
0
0
0.025641
0
null
null
0
0.153846
null
null
0.051282
0
0
0
null
0
0
0
0
0
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
6c972dfb7033788ac0c0ebbf3dcb12d3878b4343
511
py
Python
skytour/skytour/apps/observe/migrations/0012_alter_observinglocation_time_zone.py
ursomniac/skytour
3320d96d7ca41b8f52ede87e7112477902a37a0e
[ "MIT" ]
null
null
null
skytour/skytour/apps/observe/migrations/0012_alter_observinglocation_time_zone.py
ursomniac/skytour
3320d96d7ca41b8f52ede87e7112477902a37a0e
[ "MIT" ]
1
2022-03-17T01:19:23.000Z
2022-03-17T01:19:23.000Z
skytour/skytour/apps/observe/migrations/0012_alter_observinglocation_time_zone.py
ursomniac/skytour
3320d96d7ca41b8f52ede87e7112477902a37a0e
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-31 22:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('observe', '0011_observinglocation_time_zone'), ] operations = [ migrations.AlterField( model_name='observinglocation', ...
26.894737
154
0.626223
56
511
5.589286
0.696429
0.076677
0.076677
0
0
0
0
0
0
0
0
0.050891
0.23092
511
18
155
28.388889
0.745547
0.084149
0
0
1
0
0.236052
0.06867
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
6c9779400ff460d7f43eb4923020d7f32bcafb52
1,304
py
Python
tests/conftest.py
ENVIRO-Module/enbios
10e93df9a168627833eca6d04e4e2b864de8e8d9
[ "BSD-3-Clause" ]
2
2022-01-28T09:38:28.000Z
2022-01-28T09:38:32.000Z
tests/conftest.py
ENVIRO-Module/enbios
10e93df9a168627833eca6d04e4e2b864de8e8d9
[ "BSD-3-Clause" ]
1
2022-01-27T21:42:42.000Z
2022-01-27T21:42:42.000Z
tests/conftest.py
ENVIRO-Module/enbios
10e93df9a168627833eca6d04e4e2b864de8e8d9
[ "BSD-3-Clause" ]
null
null
null
import os import pytest import sys import datetime import time import ctypes.util from typing import Union # scopes (broader to narrower): session, module, class, function (default) @pytest.fixture(scope="session") def chrome_driver(): """ Prepare Chrome driver, visible or headless :return: """ ...
19.176471
85
0.68865
167
1,304
5.329341
0.473054
0.073034
0.101124
0.11236
0.125843
0
0
0
0
0
0
0.004907
0.218558
1,304
67
86
19.462687
0.868499
0.430215
0
0.137931
0
0
0.052326
0
0
0
0
0.029851
0
1
0.172414
false
0
0.241379
0.034483
0.448276
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
6c9842a0e63f1e0fc07d93d96a3cc727ac82586d
15,495
py
Python
hyperformer/finetune_mt5_trainer.py
acsets/hyperformer_for_mmt
883a825f77b76a4bff292660392e8e37755c5ed6
[ "Apache-2.0" ]
null
null
null
hyperformer/finetune_mt5_trainer.py
acsets/hyperformer_for_mmt
883a825f77b76a4bff292660392e8e37755c5ed6
[ "Apache-2.0" ]
null
null
null
hyperformer/finetune_mt5_trainer.py
acsets/hyperformer_for_mmt
883a825f77b76a4bff292660392e8e37755c5ed6
[ "Apache-2.0" ]
null
null
null
import sys import torch import datasets import json import logging import os from pathlib import Path from transformers import AutoTokenizer, HfArgumentParser, set_seed from transformers.trainer_utils import EvaluationStrategy from hyperformer.third_party.models import T5Config, T5ForConditionalGeneration from hyperf...
47.824074
236
0.671765
1,947
15,495
5.045198
0.177196
0.084292
0.034205
0.019546
0.373511
0.32658
0.285962
0.270182
0.243612
0.228952
0
0.003265
0.248854
15,495
323
237
47.972136
0.840708
0.110681
0
0.266917
0
0.003759
0.104708
0.019501
0
0
0
0
0.003759
1
0.011278
false
0
0.06391
0
0.082707
0.078947
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6c985a99c0a2b41fd096b3e8f426894174fe0bd5
1,422
py
Python
src/charma/downloader/services.py
mononobi/charma-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
1
2020-01-16T23:36:10.000Z
2020-01-16T23:36:10.000Z
src/charma/downloader/services.py
mononobi/imovie-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
24
2020-06-08T18:27:04.000Z
2021-06-06T12:01:39.000Z
src/charma/downloader/services.py
mononobi/charma-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
1
2020-12-20T05:29:04.000Z
2020-12-20T05:29:04.000Z
# -*- coding: utf-8 -*- """ downloader services module. """ from pyrin.application.services import get_component from charma.downloader import DownloaderPackage def download(url, target, **options): """ downloads the file from given url and saves it to target path. it returns a tuple of two items. firs...
30.913043
91
0.634318
186
1,422
4.784946
0.360215
0.044944
0.047191
0.053933
0.325843
0.325843
0.283146
0.092135
0.092135
0
0
0.001
0.296765
1,422
45
92
31.6
0.889
0.540788
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6c992faf65ce404eb87c15d05139a599ca297ab2
162
py
Python
venv/bin/django-admin.py
kouroshshafi/demo-woid-github
a3619d8f5348b7138b143e12c54539dd2b94bbb0
[ "Apache-2.0" ]
null
null
null
venv/bin/django-admin.py
kouroshshafi/demo-woid-github
a3619d8f5348b7138b143e12c54539dd2b94bbb0
[ "Apache-2.0" ]
null
null
null
venv/bin/django-admin.py
kouroshshafi/demo-woid-github
a3619d8f5348b7138b143e12c54539dd2b94bbb0
[ "Apache-2.0" ]
null
null
null
#!/Users/albalbaloo/Desktop/woid-master/venv/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
27
55
0.790123
21
162
5.571429
0.904762
0
0
0
0
0
0
0
0
0
0
0
0.092593
162
5
56
32.4
0.795918
0.333333
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
6c99f811bd8abcc5ae5f56fe91c193c7152c1b5e
286
py
Python
src/feature_detection/sift.py
jerry-le/computer-vision
bd81a0561680aa976c21c7902cf929257ffeedda
[ "MIT" ]
1
2018-10-14T02:05:58.000Z
2018-10-14T02:05:58.000Z
src/feature_detection/sift.py
jerry-le/computer-vision
bd81a0561680aa976c21c7902cf929257ffeedda
[ "MIT" ]
1
2018-10-05T01:48:48.000Z
2018-10-05T01:48:48.000Z
src/feature_detection/sift.py
jerry-le/computer-vision
bd81a0561680aa976c21c7902cf929257ffeedda
[ "MIT" ]
null
null
null
import cv2 import numpy as np from __utils__.general import show_image img = cv2.imread('../../asserts/images/zigzac.jpg') gray = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY) sift = cv2.xfeatures2d.SIFT_create() kp = sift.detect(gray, None) cv2.drawKeypoints(gray, kp, img) show_image(img)
22
51
0.755245
44
286
4.727273
0.613636
0.086538
0.115385
0
0
0
0
0
0
0
0
0.031373
0.108392
286
12
52
23.833333
0.784314
0
0
0
0
0
0.108392
0.108392
0
0
0
0
0.111111
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6c9b1eefd25dc21d37e4f4c876fc31060898bc73
203
py
Python
com/bigroad/python/demo/test3.py
liuyangyang2015/PythonDemo
a72c009a31ff833dd12405bb97e688ae91ceda6c
[ "MIT" ]
null
null
null
com/bigroad/python/demo/test3.py
liuyangyang2015/PythonDemo
a72c009a31ff833dd12405bb97e688ae91ceda6c
[ "MIT" ]
null
null
null
com/bigroad/python/demo/test3.py
liuyangyang2015/PythonDemo
a72c009a31ff833dd12405bb97e688ae91ceda6c
[ "MIT" ]
null
null
null
import numpy as np np.ones((3,4)) # film demo list = [(3,104),(2,100),(1,81),(101,10),(99,5),(98,2),(18,90)] print(list) for key , value in list: a = (key-18)**2+(value-90)**2 print(np.sqrt(a))
20.3
62
0.561576
43
203
2.651163
0.674419
0
0
0
0
0
0
0
0
0
0
0.197674
0.152709
203
10
63
20.3
0.465116
0.044335
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
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
6c9b3c5cc62a2d5ac5dd14196042eed862b77aa0
858
py
Python
recruitment_agency_api/agency_api/views.py
swingthrough/recruitment-agency-storage-api-task
ab388cdfb21cf5611e9fb00a0e7dfc20c125c5c3
[ "MIT" ]
null
null
null
recruitment_agency_api/agency_api/views.py
swingthrough/recruitment-agency-storage-api-task
ab388cdfb21cf5611e9fb00a0e7dfc20c125c5c3
[ "MIT" ]
null
null
null
recruitment_agency_api/agency_api/views.py
swingthrough/recruitment-agency-storage-api-task
ab388cdfb21cf5611e9fb00a0e7dfc20c125c5c3
[ "MIT" ]
null
null
null
from rest_framework import generics from rest_framework import mixins from . import models from . import serializers # Create your views here. # class JobCandidateView( # mixins.CreateModelMixin, # mixins.RetrieveModelMixin, # mixins.ListModelMixin, # mixins.UpdateModelMixin, # mixins.DestroyModel...
26.8125
59
0.719114
74
858
8.256757
0.459459
0.026187
0.055646
0.075286
0.599018
0.481178
0.481178
0.481178
0.481178
0.481178
0
0
0.187646
858
32
60
26.8125
0.876614
0.799534
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
6c9d0cee4b66d405049e042c0811870e370692e9
841
py
Python
UserProfile/signals.py
DSM-App/Backend
384e4d219e3a6474027eb62d9a8fa1c986f09e8b
[ "MIT" ]
null
null
null
UserProfile/signals.py
DSM-App/Backend
384e4d219e3a6474027eb62d9a8fa1c986f09e8b
[ "MIT" ]
3
2021-09-22T18:50:33.000Z
2022-03-12T00:58:50.000Z
UserProfile/signals.py
DSM-App/Backend
384e4d219e3a6474027eb62d9a8fa1c986f09e8b
[ "MIT" ]
null
null
null
from django.dispatch import receiver from django.core.mail import send_mail from django.contrib.auth import get_user_model from django.conf import settings from .models import Profile from django.db.models.signals import post_save @receiver(post_save, sender=get_user_model()) def create_profile(sender, instance, crea...
28.033333
66
0.613555
93
841
5.430108
0.516129
0.09901
0.047525
0
0
0
0
0
0
0
0
0
0.293698
841
29
67
29
0.850168
0.353151
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.6
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6c9e9142e74f3b537a895131950a2b5f3457ba18
931
py
Python
home/migrations/0010_apply.py
kovoor/Crew
e6af475c7dd006b21a06ce8101d3735d483b2140
[ "MIT" ]
null
null
null
home/migrations/0010_apply.py
kovoor/Crew
e6af475c7dd006b21a06ce8101d3735d483b2140
[ "MIT" ]
null
null
null
home/migrations/0010_apply.py
kovoor/Crew
e6af475c7dd006b21a06ce8101d3735d483b2140
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2018-06-14 06:53 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('home', '0009_auto_201806...
34.481481
123
0.633727
104
931
5.519231
0.538462
0.055749
0.073171
0.114983
0.191638
0.191638
0.191638
0.191638
0.191638
0.191638
0
0.043662
0.237379
931
26
124
35.807692
0.764789
0.048335
0
0
1
0
0.080317
0.026018
0
0
0
0
0
1
0
false
0
0.15
0
0.3
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
6c9ecfa28a220e7ab85d4b37494ab5624209e1ee
330
py
Python
data-set-without-time-with-negative_2.py
baruaranojoy/Mini-Project-3rd-Sem
8ae699f1e52764b744179d84d14ffde95d70eea7
[ "MIT" ]
null
null
null
data-set-without-time-with-negative_2.py
baruaranojoy/Mini-Project-3rd-Sem
8ae699f1e52764b744179d84d14ffde95d70eea7
[ "MIT" ]
null
null
null
data-set-without-time-with-negative_2.py
baruaranojoy/Mini-Project-3rd-Sem
8ae699f1e52764b744179d84d14ffde95d70eea7
[ "MIT" ]
null
null
null
fobj = open("mini_project_data_set_with_time_only.txt") f = open("mini_project_dynamic_graph_data_set_without_time.txt", "w") for line in fobj: a,b,c = map(int,line.rstrip().split()) e = [b,c] d1 = e[0] d2 = e[1] final = str(d1) + ' ' + str(d2) + '\n' f.write(final) #print e fobj...
25.384615
70
0.587879
56
330
3.232143
0.642857
0.088398
0.165746
0
0
0
0
0
0
0
0
0.02381
0.236364
330
12
71
27.5
0.694444
0.021212
0
0
0
0
0.309677
0.296774
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6c9ed6e280c75bd9911e58f5c65043665bd54cc5
1,313
py
Python
gesso/gesso/git.py
machineeeee/builder-python
a01415ef8675e5a11afaa0fe33f794f8ab2a98dc
[ "Apache-2.0" ]
null
null
null
gesso/gesso/git.py
machineeeee/builder-python
a01415ef8675e5a11afaa0fe33f794f8ab2a98dc
[ "Apache-2.0" ]
null
null
null
gesso/gesso/git.py
machineeeee/builder-python
a01415ef8675e5a11afaa0fe33f794f8ab2a98dc
[ "Apache-2.0" ]
null
null
null
import os import sys import pygit2 import util def clone_github_repository(username, repository, clone_dir_path=None): if clone_dir_path == None: clone_dir_path = '%s/%s' % (util.get_gesso_dir(), 'components') remote_repository_uri = 'https://github.com/%s/%s' % (username, repository) local_repository_clone_pa...
35.486486
97
0.72658
187
1,313
4.839572
0.363636
0.01989
0.066298
0.064088
0.172376
0.048619
0
0
0
0
0
0.006071
0.121858
1,313
36
98
36.472222
0.778838
0.144707
0
0
0
0
0.122367
0
0
0
0
0.027778
0
1
0.1
false
0
0.2
0
0.3
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
1
0
0
0
0
0
0
0
0
0
0
1
6c9f54bb218aacec1eeb0a5b1ef242f9d63757ed
5,723
py
Python
bin/make_dataset.py
htwangtw/nkicap
fa270a71d8e527560da791b18263ee8b63c8c25f
[ "MIT" ]
1
2021-05-18T09:08:00.000Z
2021-05-18T09:08:00.000Z
bin/make_dataset.py
htwangtw/nkicap
fa270a71d8e527560da791b18263ee8b63c8c25f
[ "MIT" ]
13
2021-03-12T16:21:01.000Z
2021-06-01T16:54:25.000Z
bin/make_dataset.py
htwangtw/nkicap
fa270a71d8e527560da791b18263ee8b63c8c25f
[ "MIT" ]
1
2021-05-17T18:30:59.000Z
2021-05-17T18:30:59.000Z
""" Get CAP data and MRIQ of the current sample. Only need to be ran once for tidying things up, but keep it here for book keeping. """ import json import os import numpy as np import pandas as pd from scipy import io from nkicap import get_project_path, read_tsv SOURCE_MAT = "sourcedata/CAP_results_organized_toHaoT...
33.863905
87
0.643544
803
5,723
4.383562
0.246575
0.041761
0.025568
0.027273
0.155682
0.113068
0.096591
0.074432
0.074432
0.048864
0
0.019201
0.208282
5,723
168
88
34.065476
0.757669
0.10519
0
0.082645
0
0
0.201349
0.119818
0
0
0
0
0.041322
1
0.033058
false
0
0.049587
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6c9fe2985c452a0c234c3052c6dde474ab221968
4,770
py
Python
apps/combine-service/src/handlers/combine/validate.py
biosimulations/Biosimulations
3b55968d810110459a126deabe6d36d8d2a6e1ae
[ "MIT" ]
7
2020-09-30T16:57:55.000Z
2021-07-15T12:24:03.000Z
apps/combine-service/src/handlers/combine/validate.py
biosimulations/Biosimulations
3b55968d810110459a126deabe6d36d8d2a6e1ae
[ "MIT" ]
1,884
2020-08-23T17:40:26.000Z
2021-09-01T16:29:20.000Z
apps/combine-service/src/handlers/combine/validate.py
biosimulations/Biosimulations
3b55968d810110459a126deabe6d36d8d2a6e1ae
[ "MIT" ]
2
2020-10-07T14:20:15.000Z
2021-06-25T04:19:18.000Z
from ...exceptions import BadRequestException from ...utils import get_temp_dir, make_validation_report from biosimulators_utils.combine.data_model import CombineArchiveContentFormat from biosimulators_utils.combine.io import CombineArchiveReader from biosimulators_utils.combine.validation import validate from biosimul...
43.363636
143
0.685744
512
4,770
6.273438
0.289063
0.023973
0.039228
0.034247
0.157534
0.12391
0.106476
0.024284
0
0
0
0
0.224528
4,770
109
144
43.761468
0.868343
0.299161
0
0.152778
0
0
0.133109
0
0
0
0
0
0
1
0.013889
false
0
0.138889
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ca0a4392aee98f70061228d3dfca357a004c16a
748
py
Python
dc17/models/food.py
lamby/dc17.dc.o
83cc79ad6f627b8c203fe62b7fcc9ff7abd84ee4
[ "0BSD" ]
null
null
null
dc17/models/food.py
lamby/dc17.dc.o
83cc79ad6f627b8c203fe62b7fcc9ff7abd84ee4
[ "0BSD" ]
null
null
null
dc17/models/food.py
lamby/dc17.dc.o
83cc79ad6f627b8c203fe62b7fcc9ff7abd84ee4
[ "0BSD" ]
null
null
null
from django.db import models from dc17.models.attendee import Attendee class Meal(models.Model): date = models.DateField(db_index=True) meal = models.CharField(max_length=16) @property def form_name(self): return '{}_{}'.format(self.meal, self.date.isoformat()) def __str__(self): ...
24.933333
66
0.673797
90
748
5.422222
0.444444
0.061475
0.07377
0.098361
0.106557
0
0
0
0
0
0
0.009868
0.187166
748
29
67
25.793103
0.792763
0
0
0.105263
0
0
0.048128
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0.157895
0.894737
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
1
0
0
2
6ca0c6fedfee99769e4ad267d4ff6ff792aef598
316
py
Python
app/errors/__init__.py
mauermbq/flask-blueprint
eed1c9a4ef357de4bdb20ec81856275fba75637f
[ "MIT" ]
null
null
null
app/errors/__init__.py
mauermbq/flask-blueprint
eed1c9a4ef357de4bdb20ec81856275fba75637f
[ "MIT" ]
3
2021-05-07T21:32:56.000Z
2021-05-07T21:33:01.000Z
app/errors/__init__.py
mauermbq/flask-blueprint
eed1c9a4ef357de4bdb20ec81856275fba75637f
[ "MIT" ]
null
null
null
""" Blueprint of error handler module It's possible to defie template_folder='templates' as argument to the Blueprint() constructor. Default is keeping html files in template subfolder. """ from flask import Blueprint bp = Blueprint('errors', __name__, template_folder='templates') from app.errors import handlers
28.727273
94
0.791139
43
316
5.674419
0.744186
0.114754
0.188525
0
0
0
0
0
0
0
0
0
0.129747
316
10
95
31.6
0.887273
0.572785
0
0
0
0
0.11811
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
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
1
0
1
1
0
4
6ca1d97f0fbfd4bb8f6635c24a81cb79a9e200fe
2,433
py
Python
chazhi/newton.py
Tigeraus/MA
45ff4e09e7dbf0b556922a13f4e42e928f996b80
[ "MIT" ]
null
null
null
chazhi/newton.py
Tigeraus/MA
45ff4e09e7dbf0b556922a13f4e42e928f996b80
[ "MIT" ]
null
null
null
chazhi/newton.py
Tigeraus/MA
45ff4e09e7dbf0b556922a13f4e42e928f996b80
[ "MIT" ]
null
null
null
# coding: utf-8 import matplotlib.pyplot as plt """ @brief: 计算n阶差商 f[x0, x1, x2 ... xn] @param: xi 所有插值节点的横坐标集合 o @param: fi 所有插值节点的纵坐标集合 / \ @return: 返回xi的i阶差商(i为xi长度减1) ...
27.965517
157
0.452117
314
2,433
3.372611
0.33121
0.022663
0.033994
0.060434
0.120869
0.032106
0.032106
0.032106
0
0
0
0.036005
0.394986
2,433
87
158
27.965517
0.683424
0.017263
0
0.055556
0
0
0.016938
0
0
0
0
0
0
1
0.166667
false
0
0.027778
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ca2c09182cc5e54b66ed55e21933f11d1311b83
687
py
Python
editpe.py
CyberSecLabBS/AdversarialMLMalwareSI2021
a2d9d4e6049bcf8f11d412a85c40fc68a33d8643
[ "CC0-1.0", "MIT" ]
null
null
null
editpe.py
CyberSecLabBS/AdversarialMLMalwareSI2021
a2d9d4e6049bcf8f11d412a85c40fc68a33d8643
[ "CC0-1.0", "MIT" ]
null
null
null
editpe.py
CyberSecLabBS/AdversarialMLMalwareSI2021
a2d9d4e6049bcf8f11d412a85c40fc68a33d8643
[ "CC0-1.0", "MIT" ]
null
null
null
import lief path_benign_exe = 'good.exe' path_strings_exe = 'good.txt' path_bad_exe = 'jigsaw_compress.exe' path_angel_exe = 'angel.exe' with open(path_bad_exe, 'rb') as f: bytez = f.read() # AGGIUNGI BINARIO with open(path_benign_exe, 'rb') as f: good_binary = f.read() bytez += good_binary #AGGIUNGI STRIN...
22.16129
49
0.740902
110
687
4.409091
0.454545
0.049485
0.074227
0.03299
0
0
0
0
0
0
0
0.006711
0.13246
687
30
50
22.9
0.807047
0.142649
0
0
0
0
0.092624
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ca3529ff35cdf5a1181dde039a07d3a4c603eca
2,657
py
Python
test.py
shaun95/variational-diffwave
b3edc2f1c3dc13fb72c068fb1dd0b24a2b9b423a
[ "Apache-2.0" ]
1
2022-01-29T15:22:41.000Z
2022-01-29T15:22:41.000Z
test.py
shaun95/variational-diffwave
b3edc2f1c3dc13fb72c068fb1dd0b24a2b9b423a
[ "Apache-2.0" ]
null
null
null
test.py
shaun95/variational-diffwave
b3edc2f1c3dc13fb72c068fb1dd0b24a2b9b423a
[ "Apache-2.0" ]
null
null
null
import argparse import json import torch import torchaudio import models as module_arch from utils.utils import get_instance from inference import * def main(config, ckpt, infile, outfile, T, amp, deterministic): device = torch.device('cuda') trainer_config = config['trainer'] ckpt_dict = torch.load(ckp...
35.426667
84
0.663154
370
2,657
4.5
0.294595
0.062462
0.071471
0.028829
0.140541
0.037237
0.037237
0.037237
0.037237
0
0
0.01381
0.209635
2,657
74
85
35.905405
0.779048
0
0
0.04918
0
0
0.071886
0
0
0
0
0
0
1
0.016393
false
0
0.114754
0
0.131148
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ca361412d77a53e9f88dd91d91611b188b04118
5,471
py
Python
app.py
darshil-IBI/ibi-jeopardy
dbaaf5ec3139d734a99681c95af6e14210aa98ba
[ "Apache-2.0" ]
null
null
null
app.py
darshil-IBI/ibi-jeopardy
dbaaf5ec3139d734a99681c95af6e14210aa98ba
[ "Apache-2.0" ]
null
null
null
app.py
darshil-IBI/ibi-jeopardy
dbaaf5ec3139d734a99681c95af6e14210aa98ba
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function from future.standard_library import install_aliases install_aliases() from urllib.parse import urlparse, urlencode from urllib.request import urlopen, Request from urllib.error import HTTPError import json import random import os from flask import Flask from flask import request...
29.896175
243
0.634984
609
5,471
5.642036
0.247947
0.028522
0.016298
0.018335
0.083527
0.083527
0.060827
0.060827
0.034633
0.034633
0
0.002838
0.227198
5,471
182
244
30.06044
0.809839
0.027966
0
0.080882
0
0
0.191453
0.018261
0
0
0
0
0
1
0.058824
false
0
0.080882
0
0.227941
0.191176
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ca3c3072f88c49c10e934740064094359f1f4b8
999
py
Python
kalasearch/http_client.py
oeddyo/kalasearch-python-sdk
bbb0cd44bd19d23ee4f1a3ea0aa5599e3e1fd38b
[ "MIT" ]
9
2020-08-19T06:48:25.000Z
2022-02-05T07:24:30.000Z
kalasearch/http_client.py
oeddyo/kalasearch-python-sdk
bbb0cd44bd19d23ee4f1a3ea0aa5599e3e1fd38b
[ "MIT" ]
1
2020-08-24T00:55:32.000Z
2020-08-24T00:55:32.000Z
kalasearch/http_client.py
oeddyo/kalasearch-python-sdk
bbb0cd44bd19d23ee4f1a3ea0aa5599e3e1fd38b
[ "MIT" ]
4
2021-11-09T20:41:13.000Z
2022-03-22T09:13:54.000Z
import requests class HttpClient(): config = None headers = {} def __init__(self, config): self.config = config self.headers = { "X-Kalasearch-Id": self.config.appId, "X-Kalasearch-Key": self.config.apiKey, "Content-Type": "application/json" } ...
28.542857
76
0.613614
120
999
5.008333
0.3
0.083195
0.093178
0.139767
0.415973
0.415973
0.415973
0.14975
0.14975
0
0
0
0.27027
999
34
77
29.382353
0.824417
0
0
0
0
0
0.06006
0
0
0
0
0
0
1
0.230769
false
0
0.038462
0.153846
0.576923
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
1
1
0
0
3
6ca7e63f09f8c91237fce98092950d3ca3cab92d
36
py
Python
pymicropel/test/__init__.py
vkorecky/pymicropel
9333ba1d691664a01d0ec63f89ae13956f37d633
[ "Apache-2.0" ]
null
null
null
pymicropel/test/__init__.py
vkorecky/pymicropel
9333ba1d691664a01d0ec63f89ae13956f37d633
[ "Apache-2.0" ]
null
null
null
pymicropel/test/__init__.py
vkorecky/pymicropel
9333ba1d691664a01d0ec63f89ae13956f37d633
[ "Apache-2.0" ]
null
null
null
"""Tests for Micropel Connector."""
18
35
0.694444
4
36
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.78125
0.805556
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
6ca86f71b1eb54a5e578ed82970ef4d7a40e87f8
2,309
py
Python
auto_mark.py
CallowBlack/sevmoodle-automark
db1dc6c45f55b8f34b539a20eef7d73b4cef2294
[ "Apache-2.0" ]
null
null
null
auto_mark.py
CallowBlack/sevmoodle-automark
db1dc6c45f55b8f34b539a20eef7d73b4cef2294
[ "Apache-2.0" ]
null
null
null
auto_mark.py
CallowBlack/sevmoodle-automark
db1dc6c45f55b8f34b539a20eef7d73b4cef2294
[ "Apache-2.0" ]
null
null
null
import asyncio from src.moodle_session import MoodleSession import src.session_manager as session_manager import src.data_manager as data_manager import aioconsole async def terminal_loop(): print_command_list(None) while True: command_args = (await aioconsole.ainput("> ")).split() if len(comm...
25.097826
83
0.573841
262
2,309
4.774809
0.248092
0.035971
0.057554
0.052758
0.207034
0.198241
0.161471
0.068745
0.068745
0
0
0.009656
0.282373
2,309
91
84
25.373626
0.745323
0
0
0.236111
0
0
0.136856
0.009095
0
0
0
0
0
1
0.041667
false
0.055556
0.069444
0
0.111111
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
6ca8738934dc7eaf5bb06a890c1ae40dbbcbfebc
80
py
Python
wsgi.py
foozzi/cilantro
db730bd5bc91e7110187a15627904371ab99c0d9
[ "BSD-4-Clause-UC" ]
49
2020-07-10T18:27:47.000Z
2022-02-10T10:54:48.000Z
wsgi.py
foozzi/cilantro
db730bd5bc91e7110187a15627904371ab99c0d9
[ "BSD-4-Clause-UC" ]
4
2020-07-17T13:57:39.000Z
2020-08-14T12:40:42.000Z
wsgi.py
foozzi/cilantro
db730bd5bc91e7110187a15627904371ab99c0d9
[ "BSD-4-Clause-UC" ]
4
2020-07-17T16:00:20.000Z
2020-09-29T16:53:11.000Z
from cilantropy.cilantropy import app if __name__ == '__main__': app.run()
16
37
0.7125
10
80
4.9
0.8
0
0
0
0
0
0
0
0
0
0
0
0.175
80
4
38
20
0.742424
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
6ca90bc02d88cb1363f2ce7f4466d8d966e749f6
228
py
Python
flask_reddit/subreddits/constants.py
bgigous/flask-labs-project4
46a62fd2b28d66acc2de7e89488f4750de8ab0df
[ "MIT" ]
null
null
null
flask_reddit/subreddits/constants.py
bgigous/flask-labs-project4
46a62fd2b28d66acc2de7e89488f4750de8ab0df
[ "MIT" ]
null
null
null
flask_reddit/subreddits/constants.py
bgigous/flask-labs-project4
46a62fd2b28d66acc2de7e89488f4750de8ab0df
[ "MIT" ]
null
null
null
# For simplicity, these values are shared among both threads and comments. MAX_THREADS = 1000 MAX_NAME = 50 MAX_DESCRIPTION = 3000 MAX_ADMINS = 2 # status DEAD = 0 ALIVE = 1 STATUS = { DEAD: 'dead', ALIVE: 'alive', }
14.25
74
0.684211
33
228
4.606061
0.727273
0.131579
0
0
0
0
0
0
0
0
0
0.073446
0.223684
228
15
75
15.2
0.785311
0.346491
0
0
0
0
0.062069
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ca943dcea2e6106828fb2f413dbeb83826f198e
171
py
Python
tests/pyb/pyb_f405.py
TG-Techie/circuitpython
390295dd218fb705fe652de77132dea472adf1ed
[ "MIT", "BSD-3-Clause", "MIT-0", "Unlicense" ]
3
2020-01-09T21:50:22.000Z
2020-01-15T08:27:48.000Z
tests/pyb/pyb_f405.py
TG-Techie/circuitpython
390295dd218fb705fe652de77132dea472adf1ed
[ "MIT", "BSD-3-Clause", "MIT-0", "Unlicense" ]
null
null
null
tests/pyb/pyb_f405.py
TG-Techie/circuitpython
390295dd218fb705fe652de77132dea472adf1ed
[ "MIT", "BSD-3-Clause", "MIT-0", "Unlicense" ]
1
2020-01-11T12:42:41.000Z
2020-01-11T12:42:41.000Z
# test pyb module on F405 MCUs import os, pyb if not "STM32F405" in os.uname().machine: print("SKIP") raise SystemExit print(pyb.freq()) print(type(pyb.rng()))
15.545455
41
0.672515
27
171
4.259259
0.777778
0
0
0
0
0
0
0
0
0
0
0.057143
0.181287
171
10
42
17.1
0.764286
0.163743
0
0
0
0
0.092199
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.5
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
1
0
0
0
0
1
0
3
6ca9521ccb6f1c2fb4f4b01dbc898fa8324bbc73
676
py
Python
scripts/main.py
rmanders/unlabeled-graphical-enumeration
ff9a5bdfa9e846e18308b428d24418dea5006f23
[ "MIT" ]
null
null
null
scripts/main.py
rmanders/unlabeled-graphical-enumeration
ff9a5bdfa9e846e18308b428d24418dea5006f23
[ "MIT" ]
null
null
null
scripts/main.py
rmanders/unlabeled-graphical-enumeration
ff9a5bdfa9e846e18308b428d24418dea5006f23
[ "MIT" ]
null
null
null
#!/bin/usr/env python """Primary script for testing""" from graphs.orderly import * import sys import argparse def setupArgs(): """Set up command line arguments""" parser = argparse.ArgumentParser(description='Program for generating unlabeled graphs over n vertices') parser.add_argument('--vertices', '-...
22.533333
107
0.634615
79
676
5.291139
0.670886
0.057416
0
0
0
0
0
0
0
0
0
0.001965
0.247041
676
29
108
23.310345
0.819253
0.029586
0
0
0
0
0.202726
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6ca986af7ca2960e93337363cd7ded1661a6a8ac
7,544
py
Python
gcn/bin/mksnpdb.py
kalon33/divine
2db92c093d98722f011224140e652c162a4f4336
[ "Intel" ]
11
2018-11-09T15:47:14.000Z
2021-08-18T18:05:11.000Z
gcn/bin/mksnpdb.py
kalon33/divine
2db92c093d98722f011224140e652c162a4f4336
[ "Intel" ]
5
2018-08-31T15:07:20.000Z
2020-03-30T18:52:04.000Z
gcn/bin/mksnpdb.py
kalon33/divine
2db92c093d98722f011224140e652c162a4f4336
[ "Intel" ]
1
2019-04-18T13:42:30.000Z
2019-04-18T13:42:30.000Z
#!/usr/bin/env python """ Script to build an sqlite database from a dbsnp or 1000 genomes vcf file. The script ignores all sample information and only processes those INFO fields that are described in the meta INFO section of the vcf file. Additionally QUAL and FILTER fields are also ignored since these tend to be sup...
33.678571
90
0.535525
896
7,544
4.452009
0.283482
0.025069
0.016546
0.011281
0.154926
0.113813
0.099774
0.082226
0.082226
0.056656
0
0.006926
0.349284
7,544
223
91
33.829596
0.805663
0.005302
0
0.09816
0
0
0.1991
0
0
0
0
0
0
0
null
null
0
0.04908
null
null
0.006135
0
0
0
null
0
0
0
0
0
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
6caa5053a07e5367a324d4aaa0f90ca9445678bb
2,829
py
Python
fff2_input_models_wrapper.py
jprchlik/cms2_python_helpers
8017598d6be01f9880a6f3350e5d6017212cd9c2
[ "MIT" ]
null
null
null
fff2_input_models_wrapper.py
jprchlik/cms2_python_helpers
8017598d6be01f9880a6f3350e5d6017212cd9c2
[ "MIT" ]
5
2018-01-12T22:12:25.000Z
2018-01-25T15:45:17.000Z
fff2_input_models_wrapper.py
jprchlik/cms2_python_helpers
8017598d6be01f9880a6f3350e5d6017212cd9c2
[ "MIT" ]
null
null
null
import sys, getopt import fff2_input_models as fim def main(argv): inargs1 = 'ht:c:o:i:n:s:l:' snargs1 = inargs1[1:].split(':') inargs2 = ['time','cmsdir','outdir','ifile',"nproc","minmod","maxmod"] helpinfo = "create_model_files_wrapper.py is a command line utility which calls the class create_mod...
32.147727
153
0.594203
395
2,829
4.192405
0.362025
0.029589
0.038043
0.043478
0.157005
0.102657
0.102657
0.06401
0.06401
0.06401
0
0.016999
0.272181
2,829
87
154
32.517241
0.787275
0.093319
0
0.066667
0
0.033333
0.360579
0.040282
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6caa67bed589d7b7cb2df1a1cf71d7085f927d76
689
py
Python
src/web/dates/admin.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
5
2018-03-08T17:22:27.000Z
2018-03-11T14:20:53.000Z
src/web/dates/admin.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
263
2018-03-08T18:05:12.000Z
2022-03-11T23:26:20.000Z
src/web/dates/admin.py
fossabot/SIStema
1427dda2082688a9482c117d0e24ad380fdc26a6
[ "MIT" ]
6
2018-03-12T19:48:19.000Z
2022-01-14T04:58:52.000Z
from django.contrib import admin from dates import models class GroupKeyDateExceptionInline(admin.StackedInline): model = models.GroupKeyDateException extra = 0 autocomplete_fields = ('group',) class UserKeyDateExceptionInline(admin.StackedInline): model = models.UserKeyDateException extra = 0 ...
23.758621
71
0.690856
60
689
7.816667
0.55
0.076759
0.098081
0.123667
0
0
0
0
0
0
0
0.003623
0.198839
689
28
72
24.607143
0.846014
0
0
0.095238
0
0
0.089985
0
0
0
0
0
0
1
0
false
0
0.095238
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
0
0
1
0
6caaa9a050f2a054c12f817e66ba775c13180ecd
470
py
Python
application/utils/ssl_required.py
xrlin/flask-personal-blog
58c8943a92a5040b80e0ec7ef098f610bdfe32aa
[ "BSD-2-Clause" ]
4
2015-11-22T07:59:32.000Z
2021-10-09T14:39:17.000Z
application/utils/ssl_required.py
xrlin/flask-personal-blog
58c8943a92a5040b80e0ec7ef098f610bdfe32aa
[ "BSD-2-Clause" ]
1
2017-02-08T02:25:39.000Z
2017-03-19T15:29:25.000Z
application/utils/ssl_required.py
xrlin/SimpleFlaskBlog
58c8943a92a5040b80e0ec7ef098f610bdfe32aa
[ "BSD-2-Clause" ]
null
null
null
#coding=utf-8 __author__ = 'archer' from functools import wraps from flask import request, redirect, current_app def ssl_required(fn): @wraps(fn) def decorated_view(*args, **kwargs): if current_app.config.get("SSL"): if request.is_secure: return fn(*args, **kwargs) ...
23.5
75
0.606383
56
470
4.910714
0.589286
0.109091
0.087273
0.130909
0
0
0
0
0
0
0
0.002899
0.265957
470
19
76
24.736842
0.794203
0.025532
0
0.153846
0
0
0.052516
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6cab23e29a5031e22270336c8ac40d73529295af
7,652
py
Python
generate_skeleton_try1-12.py
Luna86/tensorflow-wavenet_ssp
b0b9b55b16284f3810c7ac7f6d7eb0d637a3200d
[ "MIT" ]
null
null
null
generate_skeleton_try1-12.py
Luna86/tensorflow-wavenet_ssp
b0b9b55b16284f3810c7ac7f6d7eb0d637a3200d
[ "MIT" ]
null
null
null
generate_skeleton_try1-12.py
Luna86/tensorflow-wavenet_ssp
b0b9b55b16284f3810c7ac7f6d7eb0d637a3200d
[ "MIT" ]
null
null
null
from __future__ import division from __future__ import print_function import argparse from datetime import datetime import json import os import numpy as np import tensorflow as tf import scipy.io as sio from wavenet_skeleton import WaveNetModel SAMPLES = 16000 LOGDIR = './logdir' WINDOW = 25 #1 second of past samp...
36.966184
196
0.619054
928
7,652
4.934267
0.297414
0.045425
0.029701
0.017471
0.090194
0.057873
0.057873
0.034069
0
0
0
0.007758
0.275614
7,652
206
197
37.145631
0.818329
0
0
0.180645
0
0
0.154914
0.009721
0
0
0
0.004854
0
0
null
null
0.006452
0.064516
null
null
0.083871
0
0
0
null
0
0
0
0
0
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
6cab25a8711c049f37f9159e9bd87638f067fa1d
711
py
Python
estimate_cca.py
kshmelkov/forrestgump
da9a034854ccfc283d03bbc7d47855c2afba5c45
[ "BSD-3-Clause" ]
null
null
null
estimate_cca.py
kshmelkov/forrestgump
da9a034854ccfc283d03bbc7d47855c2afba5c45
[ "BSD-3-Clause" ]
null
null
null
estimate_cca.py
kshmelkov/forrestgump
da9a034854ccfc283d03bbc7d47855c2afba5c45
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python from fg_constants import * import cross_validation as cv import matplotlib.pyplot as plt import numpy as np from scipy.linalg import svd def load_regressor(name, num): lags = cv.REGRESSORS[name](num) return lags[:, :(lags.shape[1]/3)] def trunc_svd(x, d): u, s, _ = svd(x, full_matric...
20.911765
67
0.627286
120
711
3.55
0.483333
0.091549
0.042254
0.046948
0.037559
0
0
0
0
0
0
0.028933
0.222222
711
33
68
21.545455
0.74141
0.022504
0
0
0
0
0.057637
0
0
0
0
0
0
0
null
null
0
0.227273
null
null
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
1
0
0
0
0
0
0
0
0
1
6cab64af28bc93b2303a0d7f1d16396512a065a5
2,475
py
Python
HTTP/HTTPserver.py
jhonatheberson/sockets
43a0a4744caf94423281db77b5f826bce489aacb
[ "MIT" ]
null
null
null
HTTP/HTTPserver.py
jhonatheberson/sockets
43a0a4744caf94423281db77b5f826bce489aacb
[ "MIT" ]
null
null
null
HTTP/HTTPserver.py
jhonatheberson/sockets
43a0a4744caf94423281db77b5f826bce489aacb
[ "MIT" ]
1
2022-03-24T14:30:53.000Z
2022-03-24T14:30:53.000Z
# AUTOR: JHONAT HEBERSON AVELINO DE SOUZA # # SCRIPT: servidor com metodo GET (python 3) # # importacao das bibliotecas import socket # definicao do host e da porta do servidor HOST = '' # ip do servidor (em branco) PORT = 8081 # porta do servidor # cria o socket com IPv4 (AF_INET) usando TCP (SOCK_STREAM) listen_so...
34.859155
100
0.637576
341
2,475
4.539589
0.387097
0.05168
0.041344
0.05168
0.126615
0.090439
0.052972
0.052972
0.052972
0.052972
0
0.022198
0.253737
2,475
71
101
34.859155
0.815918
0.343434
0
0.097561
0
0
0.119003
0
0
0
0
0.014085
0
1
0
false
0
0.02439
0
0.02439
0.073171
0
0
0
null
0
0
0
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
6cabc970a9b88e0dc2f995b14b61a394cc817f90
4,870
py
Python
baseStation/src/vision/infrastructure/cvGoalFinder.py
olgam4/design3
6e05d123a24deae7dda646df535844a158ef5cc0
[ "WTFPL" ]
null
null
null
baseStation/src/vision/infrastructure/cvGoalFinder.py
olgam4/design3
6e05d123a24deae7dda646df535844a158ef5cc0
[ "WTFPL" ]
null
null
null
baseStation/src/vision/infrastructure/cvGoalFinder.py
olgam4/design3
6e05d123a24deae7dda646df535844a158ef5cc0
[ "WTFPL" ]
null
null
null
import logging from math import pi from typing import Tuple, List import cv2 import numpy as np from pathfinding.domain.angle import Angle from vision.domain.iGoalFinder import IGoalFinder from vision.domain.image import Image from vision.domain.rectangle import Rectangle from vision.domain.visionError import VisionE...
38.96
119
0.660986
591
4,870
5.192893
0.252115
0.026067
0.032584
0.022483
0.088954
0.029326
0.029326
0
0
0
0
0.019489
0.251951
4,870
124
120
39.274194
0.822948
0.048255
0
0.064516
0
0
0.02701
0
0
0
0
0
0
1
0.086022
false
0
0.150538
0
0.290323
0.021505
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cacbe3591ce7a5a39f6923fe754eaa23866efc3
1,980
py
Python
Chapter25/forest_random.py
haohaoxiao/Deep-Reinforcement-Learning-Hands-On-Second-Edition
1cbdff216fdc5cec02cc0da8664b788941f025c1
[ "MIT" ]
621
2019-07-27T19:24:56.000Z
2022-03-31T14:19:52.000Z
Chapter25/forest_random.py
haohaoxiao/Deep-Reinforcement-Learning-Hands-On-Second-Edition
1cbdff216fdc5cec02cc0da8664b788941f025c1
[ "MIT" ]
40
2019-09-01T09:45:22.000Z
2022-03-24T13:13:00.000Z
Chapter25/forest_random.py
haohaoxiao/Deep-Reinforcement-Learning-Hands-On-Second-Edition
1cbdff216fdc5cec02cc0da8664b788941f025c1
[ "MIT" ]
346
2019-07-26T15:16:56.000Z
2022-03-30T15:33:20.000Z
#!/usr/bin/env python3 import os import sys sys.path.append(os.path.join(os.getcwd(), "MAgent/python")) import magent from magent.builtin.rule_model import RandomActor MAP_SIZE = 64 if __name__ == "__main__": env = magent.GridWorld("forest", map_size=MAP_SIZE) env.set_render_dir("render") # two groups ...
31.428571
66
0.612626
288
1,980
3.947917
0.291667
0.047493
0.034301
0.024626
0
0
0
0
0
0
0
0.016801
0.248485
1,980
62
67
31.935484
0.747312
0.029293
0
0
0
0
0.1037
0
0
0
0
0
0
1
0
false
0
0.081633
0
0.081633
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cad0222fc45b37be1b4bf924700e5712a233db1
809
py
Python
sorting algorithms/quickSort.py
luizgfalqueto/algoritmosPython
a5f3d4728dbcce61c06e978f0aed7540d84eca54
[ "MIT" ]
null
null
null
sorting algorithms/quickSort.py
luizgfalqueto/algoritmosPython
a5f3d4728dbcce61c06e978f0aed7540d84eca54
[ "MIT" ]
null
null
null
sorting algorithms/quickSort.py
luizgfalqueto/algoritmosPython
a5f3d4728dbcce61c06e978f0aed7540d84eca54
[ "MIT" ]
null
null
null
def swap(vet, i, j): aux = vet[i] vet[i] = vet[j] vet[j] = aux def partition(vet, left, right): i = left + 1 j = right pivot = vet[left] while i <= j: if vet[i] <= pivot: i += 1 else: if vet[j] >= pivot: j -= 1 else: ...
18.386364
44
0.42398
112
809
2.991071
0.276786
0.125373
0.107463
0.053731
0
0
0
0
0
0
0
0.045852
0.433869
809
43
45
18.813953
0.68559
0
0
0.1875
0
0
0.009889
0
0
0
0
0
0
1
0.125
false
0
0
0
0.1875
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cae9624f9080d7829c2ab10ec2a57f9015d91e3
635
py
Python
app.py
thobiasn/steam-server-monitor
681f5d5d5b6d27ecd8623cd08929241d850f665d
[ "MIT" ]
null
null
null
app.py
thobiasn/steam-server-monitor
681f5d5d5b6d27ecd8623cd08929241d850f665d
[ "MIT" ]
null
null
null
app.py
thobiasn/steam-server-monitor
681f5d5d5b6d27ecd8623cd08929241d850f665d
[ "MIT" ]
null
null
null
import logging import sys from aiohttp import web import aiohttp_jinja2 import jinja2 import config from routes.api import routes_api from routes.ui import routes_ui def make_app(): app = web.Application() aiohttp_jinja2.setup(app, loader=jinja2.FileSystemLoader('templates')) handlers = [ loggi...
19.84375
74
0.730709
85
635
5.282353
0.411765
0.060134
0.053452
0.080178
0
0
0
0
0
0
0
0.015094
0.165354
635
31
75
20.483871
0.832075
0
0
0
0
0
0.085039
0
0
0
0
0
0
1
0.047619
false
0
0.380952
0
0.47619
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
6cafeb9db3437527f31f0b9bf6699f3b1024f814
2,124
py
Python
model/layer.py
gzn00417/RandomResidualGCN
0e5c1df07657cfc02451b20fe5293aefbed655c3
[ "Apache-2.0" ]
null
null
null
model/layer.py
gzn00417/RandomResidualGCN
0e5c1df07657cfc02451b20fe5293aefbed655c3
[ "Apache-2.0" ]
null
null
null
model/layer.py
gzn00417/RandomResidualGCN
0e5c1df07657cfc02451b20fe5293aefbed655c3
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn from torch.nn.parameter import Parameter import math class GCN(nn.Module): # 初始化层:输入feature,输出feature,权重,偏移 def __init__(self, in_features, out_features, bias=True): super(GCN, self).__init__() self.in_features = in_features self.out_feat...
39.333333
129
0.64548
239
2,124
5.577406
0.426778
0.049512
0.018755
0.022506
0.046512
0.042011
0.013503
0.013503
0.013503
0.013503
0
0.02037
0.237288
2,124
53
130
40.075472
0.802469
0.397834
0
0.086957
0
0
0.010547
0
0
0
0
0
0
1
0.130435
false
0
0.173913
0.043478
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cb15b5fa4c388b5d318004d7ed72dd97abb681e
3,887
py
Python
dashboard/forms.py
vulture990/Django-MangementApp
eafd2219bae7f565510d7aeefa64167329060582
[ "Apache-2.0" ]
null
null
null
dashboard/forms.py
vulture990/Django-MangementApp
eafd2219bae7f565510d7aeefa64167329060582
[ "Apache-2.0" ]
null
null
null
dashboard/forms.py
vulture990/Django-MangementApp
eafd2219bae7f565510d7aeefa64167329060582
[ "Apache-2.0" ]
null
null
null
from django import forms from django.forms import widgets from django.utils.safestring import mark_safe from decimal import Decimal from bootstrap_modal_forms.forms import BSModalForm from .models import SmartLinks, Earnings, Payments, SupportManager, Balance from profiles.models import User TYPE_CHOICES = [ ...
32.663866
117
0.605351
395
3,887
5.860759
0.298734
0.052268
0.04838
0.07257
0.346004
0.346004
0.346004
0.346004
0.346004
0.286393
0
0.004124
0.251351
3,887
118
118
32.940678
0.791409
0
0
0.333333
0
0.022222
0.220748
0.034757
0
0
0
0
0
1
0.011111
false
0
0.077778
0.011111
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cb18bde8984f3d41ba8709bb51f9df5446e4811
5,316
py
Python
alphastarmini/core/sl/sl_train_by_tensor.py
liuruoze/mini-AlphaStar
cf9de2507d526a5fb8ef67676aab2ffb92738640
[ "Apache-2.0" ]
108
2021-02-10T13:24:56.000Z
2022-03-21T09:58:28.000Z
alphastarmini/core/sl/sl_train_by_tensor.py
liuruoze/Raw-vs-Human-in-AlphaStar
99acae772eb5c93000dca87b78d6acdf7699f331
[ "Apache-2.0" ]
21
2021-04-09T18:46:05.000Z
2022-03-29T02:44:15.000Z
alphastarmini/core/sl/sl_train_by_tensor.py
liuruoze/Raw-vs-Human-in-AlphaStar
99acae772eb5c93000dca87b78d6acdf7699f331
[ "Apache-2.0" ]
19
2021-08-03T01:49:02.000Z
2022-03-30T10:21:13.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- " Train from the replay .pt files through pytorch tensor" import os USED_DEVICES = "7" import os os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = USED_DEVICES os.environ["CUDA_LAUNCH_BLOCKING"] = "1" import sys import time import trace...
31.455621
114
0.68924
742
5,316
4.746631
0.292453
0.025554
0.024134
0.019591
0.105054
0.081772
0.024986
0.024986
0.024986
0.024986
0
0.006042
0.190557
5,316
168
115
31.642857
0.812456
0.126975
0
0.055046
0
0
0.098781
0
0
0
0
0
0
1
0.027523
false
0
0.174312
0
0.211009
0.036697
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cb21cadafcaede98463d01a49a737848c8a0cd7
360
py
Python
quantdsl/infrastructure/event_sourced_repos/simulated_price_dependencies_repo.py
johnbywater/quantdsl
81c1c69f27e094a6ed0542b28cf1ac8fcce5494a
[ "BSD-3-Clause" ]
269
2015-01-09T00:56:41.000Z
2022-03-30T17:09:46.000Z
quantdsl/infrastructure/event_sourced_repos/simulated_price_dependencies_repo.py
johnbywater/quantdsl
81c1c69f27e094a6ed0542b28cf1ac8fcce5494a
[ "BSD-3-Clause" ]
22
2017-04-01T13:44:56.000Z
2018-09-10T11:48:56.000Z
quantdsl/infrastructure/event_sourced_repos/simulated_price_dependencies_repo.py
johnbywater/quantdsl
81c1c69f27e094a6ed0542b28cf1ac8fcce5494a
[ "BSD-3-Clause" ]
59
2015-01-09T00:56:50.000Z
2022-03-13T23:52:27.000Z
from eventsourcing.infrastructure.event_sourced_repo import EventSourcedRepository from quantdsl.domain.model.simulated_price_requirements import SimulatedPriceRequirements, SimulatedPriceRequirementsRepository class SimulatedPriceRequirementsRepo(SimulatedPriceRequirementsRepository, EventSourcedRepository): d...
45
127
0.908333
25
360
12.88
0.72
0
0
0
0
0
0
0
0
0
0
0
0.061111
360
8
128
45
0.952663
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
6cb558227ac1e84bef92016016290a758a6aca30
21,544
py
Python
tests/primitives/test_repartition.py
philippwitte/distdl
e77e0c355d617def88b4acfcc12f0e92e9fb2fe5
[ "BSD-2-Clause" ]
null
null
null
tests/primitives/test_repartition.py
philippwitte/distdl
e77e0c355d617def88b4acfcc12f0e92e9fb2fe5
[ "BSD-2-Clause" ]
null
null
null
tests/primitives/test_repartition.py
philippwitte/distdl
e77e0c355d617def88b4acfcc12f0e92e9fb2fe5
[ "BSD-2-Clause" ]
null
null
null
import os import numpy as np import pytest import torch from adjoint_test import check_adjoint_test_tight use_cuda = 'USE_CUDA' in os.environ adjoint_parametrizations = [] # Main functionality adjoint_parametrizations.append( pytest.param( np.arange(4, 8), [4, 1], # P_x_ranks, P_x_shape np.aran...
32.741641
97
0.618084
2,942
21,544
4.230795
0.065602
0.0188
0.055274
0.015425
0.937093
0.932916
0.912188
0.891138
0.868
0.854342
0
0.023238
0.286901
21,544
657
98
32.791476
0.786956
0.143706
0
0.806653
0
0
0.050674
0.022528
0
0
0
0
0.008316
1
0.014553
false
0
0.085239
0
0.114345
0
0
0
0
null
0
0
0
1
1
1
1
1
1
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
7
6cb8388b7958b4b4de72f977446539bd94faa728
1,265
py
Python
pycroft/model/alembic/versions/ae8f4b63876a_add_confirmed_status_to_transaction.py
agdsn/pycroft
ea771141d59c88fdb8a782eafbe106240550a33a
[ "Apache-2.0" ]
18
2016-04-20T19:00:56.000Z
2021-12-19T16:43:57.000Z
pycroft/model/alembic/versions/ae8f4b63876a_add_confirmed_status_to_transaction.py
agdsn/pycroft
ea771141d59c88fdb8a782eafbe106240550a33a
[ "Apache-2.0" ]
461
2016-07-20T00:42:59.000Z
2022-03-25T17:03:07.000Z
pycroft/model/alembic/versions/ae8f4b63876a_add_confirmed_status_to_transaction.py
agdsn/pycroft
ea771141d59c88fdb8a782eafbe106240550a33a
[ "Apache-2.0" ]
15
2016-07-15T18:46:43.000Z
2021-03-17T20:08:39.000Z
"""Add confirmed status to transaction Revision ID: ae8f4b63876a Revises: 7c1927c937af Create Date: 2019-05-31 18:08:19.462983 """ from alembic import op import sqlalchemy as sa import pycroft # revision identifiers, used by Alembic. revision = 'ae8f4b63876a' down_revision = '7c1927c937af' branch_labels = None depe...
29.418605
131
0.665613
147
1,265
5.537415
0.462585
0.085995
0.09828
0.081081
0.176904
0.108108
0.108108
0.108108
0
0
0
0.052579
0.203162
1,265
42
132
30.119048
0.75496
0.250593
0
0
0
0
0.246981
0.032931
0
0
0
0
0
1
0.1
false
0
0.15
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cbad915ffd2da94701b301e5b98fdc0b1cbc5ae
4,592
py
Python
TempoFinder.py
b0nz0/TwisterTempo
fc975af4095509d8ec4fe2f84313fe152577bed2
[ "MIT" ]
null
null
null
TempoFinder.py
b0nz0/TwisterTempo
fc975af4095509d8ec4fe2f84313fe152577bed2
[ "MIT" ]
null
null
null
TempoFinder.py
b0nz0/TwisterTempo
fc975af4095509d8ec4fe2f84313fe152577bed2
[ "MIT" ]
null
null
null
""" class TempoFinder """ from time import time, perf_counter, sleep import logging import numpy import sounddevice from aubio import tempo, pitch, sink WRITE_WAV = False WAV_NAME = "out.wav" class TempoFinder(object): MAX_LISTEN_PER_RECORD_MS = 20. * 1000. def __init__(self, win_size=512, samplerate=44100...
37.032258
100
0.624347
578
4,592
4.622837
0.268166
0.053892
0.053892
0.039296
0.23765
0.160554
0.128743
0.08009
0.08009
0.047904
0
0.018385
0.277439
4,592
123
101
37.333333
0.78692
0.12696
0
0.037975
0
0
0.051231
0
0
0
0
0
0.012658
1
0.126582
false
0
0.063291
0.012658
0.227848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cbc4c893bebb0e0fdc746c032f287d046336644
1,116
py
Python
CeaserCipher.py
suresh021/ISA
90430babd72137e98c0554657ba91284755f64fc
[ "MIT" ]
null
null
null
CeaserCipher.py
suresh021/ISA
90430babd72137e98c0554657ba91284755f64fc
[ "MIT" ]
null
null
null
CeaserCipher.py
suresh021/ISA
90430babd72137e98c0554657ba91284755f64fc
[ "MIT" ]
null
null
null
"""Ceaser Cipher Implementation""" def encrypt(text, k): cipher = [] for character in text: # convert character to ascii and add k temp = ord(character) - 96 # Assuming message is in lowercases, assign 1 to 26 # encipher the character temp = (temp + k) % 26 # conver...
22.32
88
0.640681
142
1,116
5.014085
0.359155
0.021067
0.050562
0.064607
0.11236
0.11236
0.11236
0
0
0
0
0.020556
0.258961
1,116
49
89
22.77551
0.840387
0.333333
0
0
0
0
0.096419
0
0
0
0
0
0
1
0.090909
false
0.045455
0
0
0.181818
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cbc7e8c90e67810830495fd2b86b4fdef9cc60e
5,294
py
Python
grpc4bmi/bmi_client_docker.py
cffbots/grpc4bmi
4924f4155e78d4d1215ece36d49c88b3eccd2d58
[ "Apache-2.0" ]
4
2019-04-17T12:52:01.000Z
2021-03-25T09:22:27.000Z
grpc4bmi/bmi_client_docker.py
cffbots/grpc4bmi
4924f4155e78d4d1215ece36d49c88b3eccd2d58
[ "Apache-2.0" ]
78
2018-06-05T08:00:54.000Z
2021-11-11T08:32:38.000Z
grpc4bmi/bmi_client_docker.py
cffbots/grpc4bmi
4924f4155e78d4d1215ece36d49c88b3eccd2d58
[ "Apache-2.0" ]
2
2019-04-17T12:52:04.000Z
2022-02-03T08:56:36.000Z
import os import errno import time import docker from grpc4bmi.bmi_grpc_client import BmiClient from grpc4bmi.utils import stage_config_file class LogsException(Exception): pass class DeadDockerContainerException(ChildProcessError): """ Exception for when a Docker container has died. Args: ...
41.685039
159
0.618247
637
5,294
5.029827
0.326531
0.024969
0.018727
0.011236
0.05618
0.021848
0.021848
0.021848
0
0
0
0.003786
0.301473
5,294
126
160
42.015873
0.862628
0.350963
0
0.029412
0
0.014706
0.09782
0
0
0
0
0
0
1
0.088235
false
0.029412
0.088235
0
0.264706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cbdfec8b49dc333209a13496c7bf2001116ce84
13,023
py
Python
GA/Individual.py
rexzhang2014/geneticalgorithm
bd48924511c64285bb6f5ab3540ee8a0bd2e6874
[ "MIT" ]
null
null
null
GA/Individual.py
rexzhang2014/geneticalgorithm
bd48924511c64285bb6f5ab3540ee8a0bd2e6874
[ "MIT" ]
null
null
null
GA/Individual.py
rexzhang2014/geneticalgorithm
bd48924511c64285bb6f5ab3540ee8a0bd2e6874
[ "MIT" ]
null
null
null
#params aaaaa import numpy as np from copy import copy , deepcopy from collections import Iterable, Collection import pandas as pd import random DEBUG = False class InvalidArguments(Exception) : def __init__(self, err="invalid arguments") : self.err = err def __str__(self) : return self.err c...
34.452381
121
0.574215
1,537
13,023
4.777489
0.113208
0.114395
0.032412
0.034318
0.67629
0.630805
0.606019
0.583277
0.572927
0.546643
0
0.010209
0.307994
13,023
378
122
34.452381
0.804594
0.124088
0
0.611538
0
0
0.038367
0
0
0
0
0
0
1
0.138462
false
0
0.019231
0.015385
0.315385
0.026923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cbec43cc046b63a3a8368a3e6c0c6785dde4c1c
652
py
Python
setup.py
garonfok/Scorechive
925ca50f91fa18a61f8e18425d0480d968112ee6
[ "MIT" ]
null
null
null
setup.py
garonfok/Scorechive
925ca50f91fa18a61f8e18425d0480d968112ee6
[ "MIT" ]
null
null
null
setup.py
garonfok/Scorechive
925ca50f91fa18a61f8e18425d0480d968112ee6
[ "MIT" ]
null
null
null
from scorechive._version import __version__ from setuptools import setup with open("README.md", "r") as fh: long_description = fh.read() setup( name="scorechive", version=__version__, author="Garon Fok", author_email="fokgaron@gmail.com", packages=["example_pkg"], description="Scorechive i...
28.347826
133
0.687117
84
652
5.107143
0.75
0.13986
0.088578
0.13986
0
0
0
0
0
0
0
0.018939
0.190184
652
22
134
29.636364
0.793561
0
0
0
0
0.05
0.340491
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cbf411962fa4328504fcd5ad3302c946a121d0c
12,071
py
Python
volatility/framework/symbols/__init__.py
fengjixuchui/volatility3
8d3cc1dc1e6e301798aac1072b77cadecfc16091
[ "Linux-OpenIB" ]
3
2021-05-31T19:43:14.000Z
2021-08-02T00:09:26.000Z
volatility/framework/symbols/__init__.py
fengjixuchui/volatility3
8d3cc1dc1e6e301798aac1072b77cadecfc16091
[ "Linux-OpenIB" ]
null
null
null
volatility/framework/symbols/__init__.py
fengjixuchui/volatility3
8d3cc1dc1e6e301798aac1072b77cadecfc16091
[ "Linux-OpenIB" ]
1
2021-04-08T03:02:20.000Z
2021-04-08T03:02:20.000Z
# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import collections import collections.abc import enum import logging from typing import Any, Dict, Iterable, Iterator, TypeVar, List...
46.072519
118
0.648993
1,422
12,071
5.326301
0.203938
0.035648
0.026406
0.0169
0.23277
0.144045
0.109982
0.056113
0.038289
0.023237
0
0.003954
0.266672
12,071
261
119
46.249042
0.851672
0.227322
0
0.190476
0
0
0.031487
0.002312
0
0
0
0
0
1
0.130952
false
0
0.035714
0.017857
0.315476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cbfa6bedeec652c883c19b7a0bf5801e903affa
1,962
py
Python
src/blog/models.py
myth/overflow
269f950b6584b327832deb9f9309c2eea527612b
[ "MIT" ]
4
2018-08-21T05:33:40.000Z
2019-05-06T09:03:06.000Z
src/blog/models.py
myth/overflow
269f950b6584b327832deb9f9309c2eea527612b
[ "MIT" ]
1
2020-08-09T10:33:58.000Z
2020-08-09T10:33:58.000Z
src/blog/models.py
myth/overflow
269f950b6584b327832deb9f9309c2eea527612b
[ "MIT" ]
1
2019-05-06T13:33:06.000Z
2019-05-06T13:33:06.000Z
""" Blog models """ from django.contrib.auth import get_user_model from django.db import models from django.utils.text import slugify from markdown2 import markdown class Tag(models.Model): """ Blog tag model """ name = models.CharField(max_length=256) def __str__(self) -> str: """ ...
22.295455
86
0.614169
229
1,962
5.139738
0.371179
0.041631
0.061172
0.081563
0.278675
0.239592
0.208156
0.158879
0.158879
0.158879
0
0.011822
0.267074
1,962
87
87
22.551724
0.806676
0.149847
0
0.205882
0
0
0.026405
0
0
0
0
0
0
1
0.147059
false
0
0.117647
0
0.852941
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
6cbfae888700fbf15186058110371fc5dde3d25e
2,578
py
Python
Notebooks/mnist_loader.py
sashakarimi/ML-Hult-Summer-2019
12d4204914760c05951314e3a8de3e1af3cf8cc8
[ "MIT" ]
2
2019-07-06T20:14:49.000Z
2019-11-21T17:50:16.000Z
Notebooks/mnist_loader.py
sashakarimi/ML-Hult-Summer-2019
12d4204914760c05951314e3a8de3e1af3cf8cc8
[ "MIT" ]
null
null
null
Notebooks/mnist_loader.py
sashakarimi/ML-Hult-Summer-2019
12d4204914760c05951314e3a8de3e1af3cf8cc8
[ "MIT" ]
4
2019-07-06T20:14:54.000Z
2019-12-10T05:25:28.000Z
# Adapted from https://github.com/sorki/python-mnist/blob/master/mnist/loader.py import os import struct from array import array import numpy as np from matplotlib import pyplot as plt class MNIST(object): def __init__(self, path=os.path.join('..', 'DataSets')): self.path = path self.test...
30.690476
95
0.567494
328
2,578
4.32622
0.317073
0.045102
0.035236
0.039464
0.288936
0.250881
0.162086
0.102889
0.060606
0.060606
0
0.021155
0.321567
2,578
84
96
30.690476
0.790166
0.091932
0
0.150943
0
0
0.088613
0.038527
0
0
0
0
0
1
0.09434
false
0
0.09434
0
0.283019
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cc1feb632fd2d7254708480eb59522de73462c8
29,678
py
Python
core/feature/phone_screen_touch_features/phone_screen_touch_features_all_app.py
MD2Korg/CerebralCortex-DataAnalysis
73f5ea2430bc7c23de422dccb7b65ef9f8917595
[ "BSD-2-Clause" ]
1
2018-04-24T18:11:24.000Z
2018-04-24T18:11:24.000Z
core/feature/phone_screen_touch_features/phone_screen_touch_features_all_app.py
Boris69bg/CerebralCortex-DataAnalysis
49565bdff348d69153bd5d3a37e73f1645f82b32
[ "BSD-2-Clause" ]
10
2018-03-13T19:04:09.000Z
2018-05-12T01:40:03.000Z
core/feature/phone_screen_touch_features/phone_screen_touch_features_all_app.py
Boris69bg/CerebralCortex-DataAnalysis
49565bdff348d69153bd5d3a37e73f1645f82b32
[ "BSD-2-Clause" ]
42
2017-12-07T17:08:14.000Z
2019-06-02T08:25:12.000Z
# Copyright (c) 2018, MD2K Center of Excellence # - Md Shiplu Hawlader <shiplu.cse.du@gmail.com; mhwlader@memphis.edu> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of sour...
46.663522
120
0.593335
3,603
29,678
4.724951
0.125173
0.028548
0.0168
0.020677
0.429276
0.369831
0.340637
0.326598
0.292411
0.278548
0
0.008232
0.320574
29,678
635
121
46.737008
0.836044
0.263731
0
0.411911
0
0
0.043532
0.0193
0
0
0
0
0
1
0.034739
false
0
0.027295
0
0.109181
0.002481
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cc2380f179da03035e761cb03c466795eb19876
2,477
py
Python
src/pybedforms/new_dunes.py
RichardScottOZ/pybedfroms
4805823f0b25a27499c462be724d48866c261c03
[ "BSD-3-Clause" ]
22
2021-05-11T17:35:59.000Z
2021-07-29T13:21:07.000Z
src/pybedforms/new_dunes.py
RichardScottOZ/pybedfroms
4805823f0b25a27499c462be724d48866c261c03
[ "BSD-3-Clause" ]
4
2021-05-28T15:34:09.000Z
2021-08-06T20:25:44.000Z
src/pybedforms/new_dunes.py
RichardScottOZ/pybedfroms
4805823f0b25a27499c462be724d48866c261c03
[ "BSD-3-Clause" ]
4
2021-05-11T17:42:15.000Z
2021-05-28T22:39:42.000Z
import argparse import numpy as np import configparser from .dune_topo import DuneTopo def main(color, k, n, f, r, t, w, erosion, d, *infiles): c = configparser.ConfigParser() for file in infiles: with open(file) as src: c.read_file(src) config = c.defaults() make_movie(col...
33.472973
115
0.616875
391
2,477
3.841432
0.278772
0.065246
0.079893
0.065246
0.40213
0.280293
0.225699
0.103196
0.057923
0.045273
0
0.01828
0.249092
2,477
74
116
33.472973
0.789247
0.007267
0
0.040816
0
0
0.192308
0
0
0
0
0
0
1
0.040816
false
0.040816
0.081633
0
0.122449
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cc410667aa1dc5ed4d11b72dfa40fd1bb4977db
3,854
py
Python
model/loss.py
lycantrope/SleepStage
a6c8c6c353fe281e06f642eb7da1cbccfbedc1e4
[ "MIT" ]
null
null
null
model/loss.py
lycantrope/SleepStage
a6c8c6c353fe281e06f642eb7da1cbccfbedc1e4
[ "MIT" ]
null
null
null
model/loss.py
lycantrope/SleepStage
a6c8c6c353fe281e06f642eb7da1cbccfbedc1e4
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np # mean false error by Wang+16, IJCNN. class MFE_Loss(nn.Module): def __init__(self, orig_loss): super().__init__() self.set_orig_loss(self, orig_loss) print("using MFE_Loss") def set_orig_loss(self, o...
43.303371
117
0.579398
415
3,854
5.224096
0.192771
0.055351
0.116236
0.114391
0.478321
0.383764
0.325185
0.299354
0.266144
0.181734
0
0.015059
0.276336
3,854
88
118
43.795455
0.76228
0.379865
0
0.156863
0
0
0.018275
0
0
0
0
0.011364
0.019608
1
0.137255
false
0
0.078431
0
0.27451
0.019608
0
0
0
null
0
0
0
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
6cc6984a118ef4825fe0b09329eb2f6b70a70968
4,155
py
Python
tableau.py
frank4466/inkscape-tableau
40ff7febcf7d5711acbafd5ae2fce5dccfb38ca5
[ "FSFAP" ]
5
2017-11-28T13:03:17.000Z
2020-04-21T10:26:15.000Z
tableau.py
frank4466/inkscape-tableau
40ff7febcf7d5711acbafd5ae2fce5dccfb38ca5
[ "FSFAP" ]
2
2020-05-16T08:13:14.000Z
2020-10-14T09:07:52.000Z
tableau.py
frank4466/inkscape-tableau
40ff7febcf7d5711acbafd5ae2fce5dccfb38ca5
[ "FSFAP" ]
2
2020-04-21T10:26:11.000Z
2021-01-13T12:49:43.000Z
#!/usr/bin/env python # coding: utf-8 # toutes les chaines sont en unicode (même les docstrings) from __future__ import unicode_literals """ tableau.py Création de tableau simple pour Inkscape Codé par Frank SAURET - http://www.electropol.fr - License : Public Domain """ import inkex __version__ = '2020.2' #...
39.951923
116
0.699398
617
4,155
4.638574
0.28363
0.103774
0.04717
0.050314
0.368274
0.305381
0.207198
0.174703
0.162124
0.139064
0
0.01459
0.142238
4,155
104
117
39.951923
0.78844
0.159326
0
0.032258
0
0
0.130135
0
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.096774
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cc6e2f2075b25aafd82cb80821c29d8bb2bae8b
2,196
py
Python
crop_to_train.py
watcharap0n/dlib-dc
0c6dce2618686f4ae2ee41213da9e073c8b62825
[ "MIT" ]
2
2021-06-16T07:16:15.000Z
2021-07-29T03:22:38.000Z
crop_to_train.py
watcharap0n/FaceRecognition-DC
0c6dce2618686f4ae2ee41213da9e073c8b62825
[ "MIT" ]
null
null
null
crop_to_train.py
watcharap0n/FaceRecognition-DC
0c6dce2618686f4ae2ee41213da9e073c8b62825
[ "MIT" ]
null
null
null
import cv2 from os import listdir import os import dlib import time import pickle detector = dlib.get_frontal_face_detector() sp = dlib.shape_predictor('model_image/shape_predictor_68_face_landmarks.dat') model = dlib.face_recognition_model_v1('model_image/dlib_face_recognition_resnet_model_v1.dat') path = 'datasets/...
39.927273
107
0.600638
305
2,196
4.118033
0.334426
0.042994
0.039809
0.055732
0.101911
0.033439
0.033439
0
0
0
0
0.016907
0.272769
2,196
54
108
40.666667
0.769568
0.00592
0
0.04
0
0
0.089867
0.046768
0
0
0
0
0
1
0
false
0
0.12
0
0.12
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cc853f69acfcdf92a2864e2ae98eea2353230d2
3,614
py
Python
video_demo.py
zhreshold/mxnet-yolo
711daacecdb3ab603e1b37b86171bdac066d60b8
[ "MIT" ]
266
2017-05-22T08:07:50.000Z
2022-02-15T03:01:06.000Z
video_demo.py
liben2018/mxnet-yolov2
5f822a6022de7bc5d154174fc7dcf598ada40223
[ "MIT" ]
44
2017-05-22T06:44:30.000Z
2018-12-11T02:58:49.000Z
video_demo.py
liben2018/mxnet-yolov2
5f822a6022de7bc5d154174fc7dcf598ada40223
[ "MIT" ]
100
2017-06-24T06:23:16.000Z
2022-03-18T21:29:05.000Z
import os import cv2 import numpy as np import random from moviepy.editor import * import mxnet as mx from detect.detector import Detector class video_generator: def __init__(self,video_path,fps,output_path='./result.mp4'): self.clip = VideoFileClip(video_path) self.output_path = output_...
33.775701
103
0.565855
479
3,614
4.137787
0.292276
0.036327
0.020182
0.032291
0.165489
0.165489
0.165489
0.136226
0.136226
0.136226
0
0.037185
0.307969
3,614
106
104
34.09434
0.755298
0.073326
0
0
0
0
0.026283
0.021027
0
0
0
0
0
1
0.104651
false
0.011628
0.081395
0
0.255814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cc863462beb8552be03ca2688c76f0614e388b1
3,135
py
Python
aws_quality_of_life/route53_record.py
opentokix/yolo-dangerzone
7ea5ab54e3369997c9715fb762cc5604023b3aee
[ "Unlicense" ]
2
2020-02-13T02:38:25.000Z
2022-01-24T15:02:29.000Z
aws_quality_of_life/route53_record.py
opentokix/yolo-dangerzone
7ea5ab54e3369997c9715fb762cc5604023b3aee
[ "Unlicense" ]
null
null
null
aws_quality_of_life/route53_record.py
opentokix/yolo-dangerzone
7ea5ab54e3369997c9715fb762cc5604023b3aee
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # Very simple tool to add A or AAAA records in a route53 hosted zone from the command line. import boto3 import click import os import logging import ipaddress logger = logging.getLogger('route53_tool') logger.setLevel(logging.ERROR) ch = logging.StreamHandler() ch.setLevel(logging.DEBUG) format...
34.076087
116
0.638278
435
3,135
4.496552
0.381609
0.028119
0.014315
0.02454
0.027607
0.027607
0.027607
0
0
0
0
0.016373
0.220734
3,135
91
117
34.450549
0.784282
0.1126
0
0.078947
0
0
0.234058
0
0
0
0
0
0
1
0.052632
false
0
0.065789
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cc8b81b0bf5fb8e1755277b7ccc4e2995a908cd
860
py
Python
scripts/download_deps_linux.py
MikuAuahDark/love-fuser
042acb78bb5e1c713c4478eb29e7596b66167c4e
[ "Xnet", "X11" ]
7
2021-08-01T16:36:59.000Z
2022-03-22T21:05:34.000Z
scripts/download_deps_linux.py
MikuAuahDark/love-fuser
042acb78bb5e1c713c4478eb29e7596b66167c4e
[ "Xnet", "X11" ]
2
2021-12-06T09:22:01.000Z
2022-01-05T13:25:00.000Z
scripts/download_deps_linux.py
MikuAuahDark/love-fuser
042acb78bb5e1c713c4478eb29e7596b66167c4e
[ "Xnet", "X11" ]
2
2021-10-11T04:27:44.000Z
2022-02-04T18:02:11.000Z
import argparse import os def run_command(command: str): ret = os.system(command) if ret != 0: raise RuntimeError(f"Command returned {ret}") if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("url", type=str, help="tarball url") parser.add_argument("dest", ty...
33.076923
73
0.644186
112
860
4.8125
0.455357
0.074212
0.061224
0.06679
0
0
0
0
0
0
0
0.004392
0.205814
860
26
74
33.076923
0.784773
0.072093
0
0
0
0
0.207809
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cca1bf9bd8e3138ff009d66eb9a75fe744c9ce3
163
py
Python
description.py
firmwaremodules/iot-firmware-loader
cd46d2a8c3a8489f9bb370cd340c3ed26e6c3ad6
[ "Apache-2.0" ]
null
null
null
description.py
firmwaremodules/iot-firmware-loader
cd46d2a8c3a8489f9bb370cd340c3ed26e6c3ad6
[ "Apache-2.0" ]
1
2018-02-13T18:56:47.000Z
2018-02-13T18:56:47.000Z
description.py
firmwaremodules/iot-firmware-loader
cd46d2a8c3a8489f9bb370cd340c3ed26e6c3ad6
[ "Apache-2.0" ]
null
null
null
def main(): print "iot-firmware-loader is a python tool that interfaces with CMSIS-DAP and ST-LINK ARM debuggers." if __name__ == '__main__': main()
23.285714
106
0.680982
24
163
4.291667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.214724
163
6
107
27.166667
0.804688
0
0
0
0
0.25
0.625767
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
6ccb1061c6f26ea1ddc8b2931ac8a8a5db981ffb
222
py
Python
src/tic/plane/admin.py
gunduzhuseyn/Tic-SPLE
d6321be0a3824c6b071e558df47f372bcf855e07
[ "MIT" ]
null
null
null
src/tic/plane/admin.py
gunduzhuseyn/Tic-SPLE
d6321be0a3824c6b071e558df47f372bcf855e07
[ "MIT" ]
null
null
null
src/tic/plane/admin.py
gunduzhuseyn/Tic-SPLE
d6321be0a3824c6b071e558df47f372bcf855e07
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import PlaneEvent, SeatingPlan, Seat, PlaneTicket admin.site.register(PlaneEvent) admin.site.register(SeatingPlan) admin.site.register(Seat) admin.site.register(PlaneTicket)
24.666667
62
0.828829
28
222
6.571429
0.428571
0.195652
0.369565
0
0
0
0
0
0
0
0
0
0.076577
222
8
63
27.75
0.897561
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
6ccb856d1e3f4a1865f3be09e3538cbf927298dd
3,130
py
Python
utils/mpl.py
dlzcn/MemoryMonitor
863ef0c82917128c94575931661c7e666d56e20c
[ "MIT" ]
null
null
null
utils/mpl.py
dlzcn/MemoryMonitor
863ef0c82917128c94575931661c7e666d56e20c
[ "MIT" ]
null
null
null
utils/mpl.py
dlzcn/MemoryMonitor
863ef0c82917128c94575931661c7e666d56e20c
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # ****************************************************** # @author: Haifeng CHEN - optical.dlz@gmail.com # @date (created): 2019-10-22 21:27 # @file: mpl.py # @brief: Matplotlib utilities # @internal: # revision: 2 # last modifie...
48.90625
120
0.563578
378
3,130
4.55291
0.253968
0.130738
0.209181
0.264962
0.645555
0.638001
0.575247
0.575247
0.525276
0.486345
0
0.016638
0.251118
3,130
63
121
49.68254
0.717577
0.17508
0
0.444444
0
0
0.335544
0
0
0
0
0
0
1
0.022222
true
0
0.066667
0
0.088889
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6ccd66394aaf44082f5f50651314b7e0684b38a8
33
py
Python
xy_agent/__init__.py
kmharrington/xy_stage_control
1aef165a2ecebf9bd7a659435ff6905ed79b1726
[ "MIT" ]
null
null
null
xy_agent/__init__.py
kmharrington/xy_stage_control
1aef165a2ecebf9bd7a659435ff6905ed79b1726
[ "MIT" ]
2
2021-04-09T15:57:41.000Z
2021-09-27T15:50:56.000Z
xy_agent/__init__.py
kmharrington/xy_stage_control
1aef165a2ecebf9bd7a659435ff6905ed79b1726
[ "MIT" ]
1
2021-04-23T18:29:43.000Z
2021-04-23T18:29:43.000Z
from .xy_connect import XY_Stage
16.5
32
0.848485
6
33
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.896552
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6ccd6a5a170a585da97a15eaae7284f19869a7aa
4,526
py
Python
importer/anki_importer.py
evandroforks/CrowdAnki
00a8ca39650f1eee2258d0d087f89600338238c1
[ "MIT" ]
null
null
null
importer/anki_importer.py
evandroforks/CrowdAnki
00a8ca39650f1eee2258d0d087f89600338238c1
[ "MIT" ]
null
null
null
importer/anki_importer.py
evandroforks/CrowdAnki
00a8ca39650f1eee2258d0d087f89600338238c1
[ "MIT" ]
null
null
null
import json import os import shutil from pathlib import Path from typing import Callable, Optional import aqt import aqt.utils import yaml from ..representation import deck_initializer from ..utils.constants import DECK_FILE_NAME, DECK_FILE_EXTENSION, MEDIA_SUBDIRECTORY_NAME, IMPORT_CONFIG_NAME from ..importer.import...
38.355932
110
0.670791
548
4,526
5.288321
0.248175
0.094203
0.024845
0.011042
0.160801
0.089027
0.089027
0.042788
0.042788
0.042788
0
0.000882
0.248343
4,526
117
111
38.683761
0.85097
0.07711
0
0.137931
0
0
0.082011
0.012204
0
0
0
0
0
1
0.103448
false
0
0.413793
0.011494
0.609195
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6ccd93a30d23fe43a26e36aa441642380e3dd346
3,501
py
Python
src/GUI/path_find_GUI.py
jonny21099/path-find
b409905e0c8c0d1615d00e22188d056dd696ba8b
[ "Apache-2.0" ]
null
null
null
src/GUI/path_find_GUI.py
jonny21099/path-find
b409905e0c8c0d1615d00e22188d056dd696ba8b
[ "Apache-2.0" ]
1
2020-04-25T05:48:45.000Z
2020-04-27T00:23:46.000Z
src/GUI/path_find_GUI.py
jonny21099/path-find
b409905e0c8c0d1615d00e22188d056dd696ba8b
[ "Apache-2.0" ]
null
null
null
import kivy kivy.require('1.11.1') import sqlite3 from kivy.config import Config from kivy.app import App from kivy.properties import ObjectProperty from kivy.uix.screenmanager import ScreenManager, Screen from kivy.lang import Builder from kivy.uix.popup import Popup from kivy.uix.floatlayout import FloatLayout fro...
36.852632
145
0.732362
470
3,501
5.382979
0.331915
0.031621
0.026087
0.03913
0.348617
0.348617
0.332016
0.332016
0.30751
0.253755
0
0.018115
0.148529
3,501
95
146
36.852632
0.830594
0.167381
0
0.257576
0
0
0.130165
0.008264
0
0
0
0
0
1
0.045455
false
0.090909
0.181818
0.015152
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6cce0038f12dcc1c0161fccaf35951d15f13f876
2,230
py
Python
ProtectionDomains/scripts/Profile_Nutanix_Action_ListVMSnapshots_Task_ListSnapshot.py
kingsleyck/NutanixCalm
35012c983a78490ee454d564ebbcbaf221055b8d
[ "MIT" ]
null
null
null
ProtectionDomains/scripts/Profile_Nutanix_Action_ListVMSnapshots_Task_ListSnapshot.py
kingsleyck/NutanixCalm
35012c983a78490ee454d564ebbcbaf221055b8d
[ "MIT" ]
null
null
null
ProtectionDomains/scripts/Profile_Nutanix_Action_ListVMSnapshots_Task_ListSnapshot.py
kingsleyck/NutanixCalm
35012c983a78490ee454d564ebbcbaf221055b8d
[ "MIT" ]
null
null
null
# REST API call to Prism Central to list all available VM snapshots # setup common variables uri = 'localhost:9440' cluster_uuid = '@@{platform.status.cluster_reference.uuid}@@' vm_uuid = '@@{id}@@' hostname = '@@{calm_application_name}@@' remote_cluster = '@@{remote_protection_domain_cluster}@@' # setup credentials ...
28.589744
113
0.589686
236
2,230
5.449153
0.466102
0.054432
0.034215
0.026439
0.161742
0.102644
0.102644
0.102644
0.102644
0.102644
0
0.009484
0.243498
2,230
78
114
28.589744
0.752816
0.103587
0
0.315789
0
0
0.243342
0.103916
0
0
0
0
0
1
0.017544
false
0.035088
0
0
0.052632
0.122807
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cce0af4fc80f8a76f65a2e1945b84732ac968c9
2,885
py
Python
src/methods_saxs/ensemble.py
spirit01/ensemble-fit_docker_version
6396184c9bf311ac83c012f94ad293605a32798c
[ "MIT" ]
1
2018-10-23T17:12:44.000Z
2018-10-23T17:12:44.000Z
src/methods_saxs/ensemble.py
spirit01/ensemble-fit_docker_version
6396184c9bf311ac83c012f94ad293605a32798c
[ "MIT" ]
null
null
null
src/methods_saxs/ensemble.py
spirit01/ensemble-fit_docker_version
6396184c9bf311ac83c012f94ad293605a32798c
[ "MIT" ]
null
null
null
#Script must have these three parts: # prepare_data() # make_experiment() # collect_result() import logging import pathlib import shutil import subprocess import sys from saxs_experiment import Colors from saxs_experiment import LogPipe def prepare_data(all_files, tmpdir, mydirvariable): pathlib.Path(f'{tmpdir}...
39.520548
112
0.632582
408
2,885
4.357843
0.303922
0.031496
0.03937
0.035996
0.245782
0.15973
0.15973
0.15973
0.15973
0.15973
0
0.065122
0.206932
2,885
72
113
40.069444
0.711976
0.143501
0
0
0
0.02
0.234458
0.114181
0
0
0
0
0
1
0.06
false
0
0.14
0
0.22
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ccf32f517955fcbf679927cd5f7f3e4219cdd8f
6,138
py
Python
scionlab/tests/test_certificates.py
andreatulimiero/scionlab
d6063ca4fbc5cbf153287e1b4b98cdf8d507f6ba
[ "Apache-2.0" ]
null
null
null
scionlab/tests/test_certificates.py
andreatulimiero/scionlab
d6063ca4fbc5cbf153287e1b4b98cdf8d507f6ba
[ "Apache-2.0" ]
null
null
null
scionlab/tests/test_certificates.py
andreatulimiero/scionlab
d6063ca4fbc5cbf153287e1b4b98cdf8d507f6ba
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 ETH Zurich # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, sof...
35.275862
92
0.631313
847
6,138
4.31405
0.220779
0.030651
0.035577
0.027915
0.435413
0.372195
0.301587
0.252326
0.244937
0.198686
0
0.024994
0.269958
6,138
173
93
35.479769
0.790449
0.144347
0
0.252252
0
0
0.026955
0
0
0
0
0
0.081081
1
0.09009
false
0
0.045045
0.018018
0.189189
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ccfedad79753d6e4523328c7738c36856cbbfea
475
py
Python
test.py
CraneLu/Basic_CNNs_TensorFlow2
9fe6df17899e53c82a99615703721c6e409fe489
[ "MIT" ]
null
null
null
test.py
CraneLu/Basic_CNNs_TensorFlow2
9fe6df17899e53c82a99615703721c6e409fe489
[ "MIT" ]
null
null
null
test.py
CraneLu/Basic_CNNs_TensorFlow2
9fe6df17899e53c82a99615703721c6e409fe489
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import tensorflow as tf datasets = tf.keras.datasets.fashion_mnist (train_images, train_labels), (test_images, test_labels) = datasets.load_data() print(train_images.shape) # (60000, 28, 28) print(len(train_labels)) # 60000 print(train_labels) # ([9, 0, 0, ..., 3,...
29.6875
79
0.707368
76
475
4.263158
0.447368
0.101852
0.055556
0.074074
0
0
0
0
0
0
0
0.102941
0.141053
475
15
80
31.666667
0.691176
0.242105
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0.545455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6ccfef2e1ab4ccf5e76fbf6c645bae7f3e9a2201
9,994
py
Python
python/swagger_client/models/vehicle_type.py
byung90/graphhopper
443891657e20cd1393675b1d4a1b9f38c691cdff
[ "Apache-2.0" ]
null
null
null
python/swagger_client/models/vehicle_type.py
byung90/graphhopper
443891657e20cd1393675b1d4a1b9f38c691cdff
[ "Apache-2.0" ]
null
null
null
python/swagger_client/models/vehicle_type.py
byung90/graphhopper
443891657e20cd1393675b1d4a1b9f38c691cdff
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ GraphHopper Directions API You use the GraphHopper Directions API to add route planning, navigation and route optimization to your software. E.g. the Routing API has turn instructions and elevation data and the Route Optimization API solves your logistic problems and supports various const...
31.526814
420
0.61667
1,244
9,994
4.737138
0.150322
0.071271
0.092313
0.085525
0.554896
0.471237
0.421178
0.284236
0.214152
0.133548
0
0.02103
0.30058
9,994
316
421
31.626582
0.822031
0.396938
0
0.074627
0
0
0.09218
0
0
0
0
0
0
1
0.164179
false
0
0.022388
0
0.313433
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cd00de5c8d59f007ac8ba764e45305035fd1e13
1,029
py
Python
python/linguagem-de-programacao/estrutura/exercicio_1.py
BrenoPremoli/Faculdade
dcf5d106b10453224e37af830a53b2214af1d2ee
[ "MIT" ]
1
2022-03-19T22:50:12.000Z
2022-03-19T22:50:12.000Z
python/linguagem-de-programacao/estrutura/exercicio_1.py
BrenoPremoli/Faculdade
dcf5d106b10453224e37af830a53b2214af1d2ee
[ "MIT" ]
null
null
null
python/linguagem-de-programacao/estrutura/exercicio_1.py
BrenoPremoli/Faculdade
dcf5d106b10453224e37af830a53b2214af1d2ee
[ "MIT" ]
null
null
null
# 1. Elabore uma estrutura para representar um produto (código, nome, preço). Aplique 10% de aumento no preço do produto e apresente. class TipoProduto: codigo = 0 nome = '' preco = 0.0 def main(): p1 = TipoProduto() p1.codigo = int ( input('Cadastre o código do produto: ')) p1.nome = input('C...
42.875
133
0.623907
158
1,029
4.063291
0.259494
0.098131
0.087227
0.068536
0.660436
0.660436
0.629283
0.53271
0.41433
0.41433
0
0.059041
0.209913
1,029
24
134
42.875
0.730627
0.127308
0
0.2
0
0.2
0.479376
0
0
0
0
0
0
1
0.05
false
0
0
0
0.25
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cd1eedeb6f3bee8fa8a7be3d35140384637a572
568
py
Python
tests/algorithms/gd/test_adamax.py
vishalbelsare/neupy
684313cdaddcad326f2169384fb15ec3aa29d991
[ "MIT" ]
null
null
null
tests/algorithms/gd/test_adamax.py
vishalbelsare/neupy
684313cdaddcad326f2169384fb15ec3aa29d991
[ "MIT" ]
null
null
null
tests/algorithms/gd/test_adamax.py
vishalbelsare/neupy
684313cdaddcad326f2169384fb15ec3aa29d991
[ "MIT" ]
null
null
null
from neupy import algorithms from data import simple_classification from base import BaseTestCase class AdamaxTestCase(BaseTestCase): def test_simple_adamax(self): x_train, _, y_train, _ = simple_classification() mnet = algorithms.Adamax( (10, 20, 1), step=.01, ...
27.047619
67
0.598592
66
568
4.984848
0.681818
0.121581
0.042553
0.072948
0
0
0
0
0
0
0
0.063131
0.302817
568
20
68
28.4
0.767677
0
0
0
0
0
0.007042
0
0
0
0
0
0.058824
1
0.058824
false
0
0.176471
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cd272ae05038b5a4339d86005e7b571f993e7d4
330
py
Python
services/python-images/server.py
hpi-epic/mpcsl
05361acb0c8da68ddfa21f9fc9cd32a59255dc5c
[ "MIT" ]
1
2021-11-21T13:52:36.000Z
2021-11-21T13:52:36.000Z
services/python-images/server.py
hpi-epic/mpcsl
05361acb0c8da68ddfa21f9fc9cd32a59255dc5c
[ "MIT" ]
3
2021-10-06T13:23:43.000Z
2022-01-07T13:48:41.000Z
services/python-images/server.py
hpi-epic/mpcsl
05361acb0c8da68ddfa21f9fc9cd32a59255dc5c
[ "MIT" ]
null
null
null
from src.app import socketio, app from src.master.config import MPCI_ENVIRONMENT, PORT if __name__ == "__main__": isDevelopment = MPCI_ENVIRONMENT != 'production' and MPCI_ENVIRONMENT != 'staging' port = PORT if port is None: port = 5000 socketio.run(app, host="0.0.0.0", port=port, debug=isDev...
30
86
0.7
45
330
4.888889
0.533333
0.204545
0.027273
0
0
0
0
0
0
0
0
0.029963
0.190909
330
10
87
33
0.794007
0
0
0
0
0
0.09697
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6cd379fefb41f2c248ad774a6765389d5cc95be5
5,363
py
Python
src/sources/house_of_tartan.py
thetartan/tartan-database
55adcebed4c68c717fbf714d7619da95da6a70db
[ "MIT" ]
7
2016-11-11T06:49:44.000Z
2021-10-13T03:45:46.000Z
src/sources/house_of_tartan.py
kravets-levko/tartan-database
55adcebed4c68c717fbf714d7619da95da6a70db
[ "MIT" ]
null
null
null
src/sources/house_of_tartan.py
kravets-levko/tartan-database
55adcebed4c68c717fbf714d7619da95da6a70db
[ "MIT" ]
1
2018-04-27T08:42:48.000Z
2018-04-27T08:42:48.000Z
from ..core import Source, log, utils import re import json import requests re_extract_ids = re.compile( 'onclick="Frm\(\'([0-9]+)\'\)"', re.IGNORECASE ) # 'a'..'z' catalogue_index = [chr(i) for i in range(ord('a'), ord('z') + 1)] re_extract_attr = re.compile( '<div class="(title|ftr-hdr|ftr-txt|ftr-cpy)...
28.833333
79
0.495059
550
5,363
4.738182
0.28
0.020721
0.004605
0.023024
0.17383
0.13891
0.056792
0.033001
0
0
0
0.009259
0.315309
5,363
185
80
28.989189
0.700436
0.018833
0
0.102041
0
0.006803
0.211337
0.039186
0
0
0
0
0
1
0.034014
false
0
0.027211
0
0.14966
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cd386ab342045a23e42596447462146553393d0
7,543
py
Python
valet/utils/core/communicate.py
sadmicrowave/valet
39724c3f2a49b2253e89044af2b103e3e89d4cd8
[ "MIT" ]
null
null
null
valet/utils/core/communicate.py
sadmicrowave/valet
39724c3f2a49b2253e89044af2b103e3e89d4cd8
[ "MIT" ]
null
null
null
valet/utils/core/communicate.py
sadmicrowave/valet
39724c3f2a49b2253e89044af2b103e3e89d4cd8
[ "MIT" ]
null
null
null
########################################################################### # ## @file communicate.py # ########################################################################### import os, sys, textwrap, subprocess, queue from . import communicate_pb2_grpc #from collections.abc import Iterable from ..canonical.c...
29.464844
108
0.463343
652
7,543
5.282209
0.338957
0.013066
0.010453
0.013066
0.24158
0.24158
0.234611
0.184088
0.184088
0.184088
0
0.000502
0.207477
7,543
255
109
29.580392
0.575443
0.552698
0
0.069767
0
0
0.021586
0
0
0
0
0
0
1
0.093023
false
0
0.139535
0
0.44186
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cd432537cf723bb57e727d757ab1c0b4f8e3c03
3,335
py
Python
app/routes/dog_routes.py
Kbhlee2121/flasky
1ddf91cb5cfcc17aa082cfee0b28e30896adfea8
[ "MIT" ]
null
null
null
app/routes/dog_routes.py
Kbhlee2121/flasky
1ddf91cb5cfcc17aa082cfee0b28e30896adfea8
[ "MIT" ]
null
null
null
app/routes/dog_routes.py
Kbhlee2121/flasky
1ddf91cb5cfcc17aa082cfee0b28e30896adfea8
[ "MIT" ]
null
null
null
from app import db from app.models.dog import Dog from flask import Blueprint, jsonify, make_response, request, abort import random dog_bp = Blueprint("dog", __name__, url_prefix="/dogs") # Helper Functions def valid_int(number, parameter_type): try: number = int(number) except: # abort(make_...
27.791667
94
0.647376
504
3,335
4.049603
0.210317
0.046546
0.024008
0.035277
0.320431
0.215091
0.130818
0.130818
0.098971
0.068594
0
0.011796
0.211994
3,335
119
95
28.02521
0.76484
0.111844
0
0.130952
0
0
0.101356
0
0
0
0
0
0
1
0.107143
false
0
0.047619
0
0.261905
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cd4566dbb8ea3de66173852554eabaa75b0fa54
145
py
Python
pomodoro_timer/configs/app_configs.py
asvatov/pomodoro-timer
d0079372850aed45021f81c2b936fecf5298b63f
[ "MIT" ]
null
null
null
pomodoro_timer/configs/app_configs.py
asvatov/pomodoro-timer
d0079372850aed45021f81c2b936fecf5298b63f
[ "MIT" ]
1
2019-06-25T16:01:47.000Z
2019-06-25T16:01:47.000Z
pomodoro_timer/configs/app_configs.py
asvatov/pomodoro-timer
d0079372850aed45021f81c2b936fecf5298b63f
[ "MIT" ]
null
null
null
APP = "pomodoro-timer" APP_NAME = "Pomodoro Timer" APP_INDICATOR_ID = "pomodoro-timer" APP_DBUS_NAME = "com.github.Pomodoro" APP_VERSION = 0.1
18.125
37
0.751724
22
145
4.681818
0.545455
0.378641
0.466019
0
0
0
0
0
0
0
0
0.015748
0.124138
145
7
38
20.714286
0.795276
0
0
0
0
0
0.42069
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
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
4
6cd776c2f857355dcc8be1d2f3f3588c2dca0a95
519
py
Python
problems/pe2.py
tgetzoya/project-euler-python
c459dc0f853c27006db6865be731ad53ee2cd778
[ "BSD-2-Clause" ]
null
null
null
problems/pe2.py
tgetzoya/project-euler-python
c459dc0f853c27006db6865be731ad53ee2cd778
[ "BSD-2-Clause" ]
null
null
null
problems/pe2.py
tgetzoya/project-euler-python
c459dc0f853c27006db6865be731ad53ee2cd778
[ "BSD-2-Clause" ]
null
null
null
# Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: # # 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... # # By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms....
25.95
142
0.583815
88
519
3.443182
0.636364
0.033003
0.092409
0.145215
0
0
0
0
0
0
0
0.109195
0.32948
519
19
143
27.315789
0.761494
0.628131
0
0
1
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
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
6cd78c1488e93654d55446138cbdbe038987ba0a
293
py
Python
factories/PebbleConnectionFactory.py
JDVDev/TaskRelay
20213d31c90c0420e62f1e75c138ca1cb89211ee
[ "Apache-2.0" ]
null
null
null
factories/PebbleConnectionFactory.py
JDVDev/TaskRelay
20213d31c90c0420e62f1e75c138ca1cb89211ee
[ "Apache-2.0" ]
null
null
null
factories/PebbleConnectionFactory.py
JDVDev/TaskRelay
20213d31c90c0420e62f1e75c138ca1cb89211ee
[ "Apache-2.0" ]
null
null
null
from libpebble2.communication.transports.serial import SerialTransport from libpebble2.communication import PebbleConnection class PebbleConnectionFactory(): @staticmethod def produceSerial(name): return PebbleConnection(SerialTransport("/dev/tty." + name + "-SerialPortSe"))
41.857143
86
0.791809
26
293
8.961538
0.730769
0.120172
0.23176
0
0
0
0
0
0
0
0
0.007752
0.119454
293
7
86
41.857143
0.891473
0
0
0
0
0
0.075085
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
5
6cd7906a50836e3522d33376e9729ff7ca341359
403
py
Python
sorting/bubble_sort.py
rpg711/Interview-Prep
2d12a11738d4c709bc593dcfdbf54d9f92141d61
[ "MIT" ]
null
null
null
sorting/bubble_sort.py
rpg711/Interview-Prep
2d12a11738d4c709bc593dcfdbf54d9f92141d61
[ "MIT" ]
null
null
null
sorting/bubble_sort.py
rpg711/Interview-Prep
2d12a11738d4c709bc593dcfdbf54d9f92141d61
[ "MIT" ]
null
null
null
def bubble_sort(A, compare_func): if len(A) <= 1: return swapoccurred = True while swapoccurred: swapoccurred = False for i in range(len(A) - 1): if compare_func(A[i], A[i+1]): A[i], A[i+1] = A[i+1], A[i] swapoccurred = True if __name__ ==...
26.866667
43
0.503722
63
403
3.031746
0.428571
0.062827
0.04712
0.062827
0.078534
0.062827
0.062827
0
0
0
0
0.037879
0.344913
403
15
44
26.866667
0.685606
0
0
0.142857
0
0
0.019802
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cd861724dfed64644d3ee4472a173f378bc5c7a
16,863
py
Python
goblin/session.py
brean/goblin
c61177de7f0e59661fbe74531ea4cb58558a1f31
[ "Apache-2.0" ]
null
null
null
goblin/session.py
brean/goblin
c61177de7f0e59661fbe74531ea4cb58558a1f31
[ "Apache-2.0" ]
null
null
null
goblin/session.py
brean/goblin
c61177de7f0e59661fbe74531ea4cb58558a1f31
[ "Apache-2.0" ]
null
null
null
"""Main OGM API classes and constructors""" import asyncio import collections import logging import weakref import aiogremlin from aiogremlin.driver.protocol import Message from aiogremlin.driver.resultset import ResultSet from aiogremlin.process.graph_traversal import __ from gremlin_python.process.traversal import ...
36.032051
79
0.592896
1,921
16,863
5.022384
0.141593
0.027052
0.022388
0.014511
0.350228
0.298404
0.250933
0.201907
0.148839
0.11619
0
0.000777
0.313349
16,863
467
80
36.109208
0.832455
0.094289
0
0.221453
0
0
0.022
0
0
0
0
0.002141
0
1
0.038062
false
0
0.051903
0.013841
0.211073
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cd8d4430b71d1605ae8e8e1181821f85d3d6750
8,108
py
Python
routes/fa12_route.py
hicetnunc2000/-
11810bb682a5800b5ca079a4e803519297c9db55
[ "MIT" ]
11
2020-10-27T16:36:07.000Z
2021-07-11T15:38:03.000Z
routes/fa12_route.py
hicetnunc2000/tezos-storage-flask
11810bb682a5800b5ca079a4e803519297c9db55
[ "MIT" ]
2
2020-11-19T20:28:28.000Z
2020-12-08T20:32:43.000Z
routes/fa12_route.py
hicetnunc2000/tezos-storage-flask
11810bb682a5800b5ca079a4e803519297c9db55
[ "MIT" ]
5
2021-03-06T02:06:39.000Z
2021-11-12T21:53:32.000Z
# @crzypatchwork from flask import Blueprint, request, session from pytezos import Contract from pytezos import pytezos from pytezos.operation.result import OperationResult from flask import Flask from flask_restx import fields, Resource, Api, Namespace from controllers.validate import Validate import distutils.util...
24.947692
154
0.540824
872
8,108
4.942661
0.142202
0.025522
0.030626
0.043387
0.640835
0.62993
0.592575
0.569838
0.553132
0.523202
0
0.01402
0.322644
8,108
324
155
25.024691
0.770757
0.03663
0
0.681633
0
0
0.160062
0.003206
0
0
0
0
0
1
0.044898
false
0.040816
0.044898
0
0.216327
0.004082
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cd8f5cd1a456c09836d701f0fea24d3f6da7736
1,987
py
Python
extractor.py
nataMamed/webscraping
68b8c9c98e14df73855b3def11e71215e810f42b
[ "MIT" ]
2
2021-06-02T21:16:30.000Z
2021-06-15T20:27:08.000Z
extractor.py
nataMamed/email-scraping
68b8c9c98e14df73855b3def11e71215e810f42b
[ "MIT" ]
null
null
null
extractor.py
nataMamed/email-scraping
68b8c9c98e14df73855b3def11e71215e810f42b
[ "MIT" ]
null
null
null
import re from requests import get from requests.exceptions import MissingSchema, ConnectionError import pandas as pd class Extractor: def __init__(self, regular_expression): self.regular_expression = regular_expression self.elements = set() def find_elements(self, text): new_eleme...
29.656716
122
0.65224
249
1,987
4.971888
0.373494
0.072698
0.050889
0.038772
0.229402
0.156704
0
0
0
0
0
0.00698
0.206844
1,987
67
123
29.656716
0.778553
0.382989
0
0.071429
0
0
0.05551
0.017399
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6cd9f0184447f45b3373feb9a260b5d46e898c01
7,760
py
Python
tests/test_annotate.py
BookLaugh/serialization
a3ff87aa2cd5b3322daee7ebee1e025783438b46
[ "MIT" ]
12
2016-03-01T15:04:08.000Z
2020-11-23T14:49:32.000Z
tests/test_annotate.py
BookLaugh/serialization
a3ff87aa2cd5b3322daee7ebee1e025783438b46
[ "MIT" ]
1
2020-11-23T15:31:24.000Z
2020-11-23T19:46:50.000Z
tests/test_annotate.py
BookLaugh/serialization
a3ff87aa2cd5b3322daee7ebee1e025783438b46
[ "MIT" ]
2
2020-11-23T14:45:38.000Z
2020-11-23T17:03:48.000Z
# F3AT - Flumotion Asynchronous Autonomous Agent Toolkit # Copyright (C) 2010,2011 Flumotion Services, S.A. # All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version...
28.955224
76
0.633763
872
7,760
5.511468
0.269495
0.02705
0.036621
0.027466
0.229713
0.217228
0.184769
0.102788
0.086975
0.086975
0
0.006039
0.274485
7,760
267
77
29.06367
0.847602
0.194072
0
0.231707
0
0
0.084907
0
0
0
0
0
0.207317
1
0.170732
false
0.030488
0.02439
0.030488
0.335366
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6cdc76b7958922046e3982c5fcbc6d2ff66de635
1,376
py
Python
shakelib/correlation/boore_2003.py
ynthdhj/shakemap
2771b8aee6b22f065cc80632c894a0ba77829619
[ "CC0-1.0" ]
null
null
null
shakelib/correlation/boore_2003.py
ynthdhj/shakemap
2771b8aee6b22f065cc80632c894a0ba77829619
[ "CC0-1.0" ]
null
null
null
shakelib/correlation/boore_2003.py
ynthdhj/shakemap
2771b8aee6b22f065cc80632c894a0ba77829619
[ "CC0-1.0" ]
null
null
null
import numpy as np class Boore2003(object): """ Implements the correlation model proposed in the appendix of Boore et al. (2003). To do - Inherit from SpatialCorrelation class. References: Boore, D. M., Gibbs, J. F., Joyner, W. B., Tinsley, J. C., & Ponti, D. J. (2003). E...
36.210526
83
0.612645
170
1,376
4.935294
0.694118
0.038141
0.016687
0
0
0
0
0
0
0
0
0.040942
0.289971
1,376
37
84
37.189189
0.81781
0.702035
0
0
0
0
0.134831
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
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
6cde088d71029a4817455be15e096daa0cb13688
98,320
py
Python
GammaEyes.py
Edshree/GammaEyes
c601d78445fbe399524512df6ae56ce31f0b6cec
[ "MIT" ]
1
2021-11-13T02:35:14.000Z
2021-11-13T02:35:14.000Z
GammaEyes.py
Edshree/GammaEyes
c601d78445fbe399524512df6ae56ce31f0b6cec
[ "MIT" ]
null
null
null
GammaEyes.py
Edshree/GammaEyes
c601d78445fbe399524512df6ae56ce31f0b6cec
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ ========================================== GammaEyes Version 1.0.1 == Created at: 2021.07.19 == Author@Aiyun Sun == Email say@insmea.cn == ========================================== GammaEyes is an open sourc...
43.408389
186
0.495932
10,718
98,320
4.301269
0.052062
0.022841
0.044381
0.054467
0.817032
0.756274
0.697902
0.655994
0.599315
0.551116
0
0.014893
0.377187
98,320
2,265
187
43.408389
0.73796
0.057893
0
0.601432
0
0.001193
0.067389
0.001599
0.001193
0
0
0
0
1
0.046539
false
0.00716
0.013126
0
0.086516
0.00716
0
0
0
null
0
0
0
1
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
2
6cdfe4e21850718998221c09a4f2c81fea03da87
2,138
py
Python
brew_thermometer/aws_iot_reporter.py
ksletmoe/brew_thermometer
740cee8e237d401ae0f5d97bd1f4916969365b6b
[ "BSD-3-Clause" ]
null
null
null
brew_thermometer/aws_iot_reporter.py
ksletmoe/brew_thermometer
740cee8e237d401ae0f5d97bd1f4916969365b6b
[ "BSD-3-Clause" ]
null
null
null
brew_thermometer/aws_iot_reporter.py
ksletmoe/brew_thermometer
740cee8e237d401ae0f5d97bd1f4916969365b6b
[ "BSD-3-Clause" ]
null
null
null
from paho.mqtt import client as mqtt import ssl from brew_thermometer.errors import ReporterError import json class AwsIotReporter: def __init__(self, config_hash, logger): self._logger = logger.getChild("AwsIotReporter") self._broker_host = config_hash["host"] self._broker_port = config_h...
40.339623
115
0.658559
268
2,138
4.902985
0.335821
0.068493
0.03653
0.027397
0.035008
0.035008
0
0
0
0
0
0.004917
0.239008
2,138
52
116
41.115385
0.802704
0.009822
0
0.116279
0
0
0.12299
0.017029
0
0
0
0
0
1
0.116279
false
0
0.093023
0
0.27907
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ce2af899c72663acbd5323a33647b4be50b34f9
4,905
py
Python
tests/test_utils_hyper_params_factory.py
gcattan/pyRiemann-qiskit
a53f2f891f4d8726b97ed8f0baaf89f86b5ea731
[ "BSD-3-Clause" ]
7
2022-01-10T19:19:59.000Z
2022-02-21T20:13:24.000Z
tests/test_utils_hyper_params_factory.py
toncho11/pyRiemann-qiskit
93c11801127ef8d80c9e94ea0f31549a6b863238
[ "BSD-3-Clause" ]
28
2021-09-27T11:53:29.000Z
2022-03-29T08:39:55.000Z
tests/test_utils_hyper_params_factory.py
toncho11/pyRiemann-qiskit
93c11801127ef8d80c9e94ea0f31549a6b863238
[ "BSD-3-Clause" ]
2
2021-09-25T17:04:23.000Z
2022-02-07T16:34:20.000Z
import pytest from pyriemann_qiskit.utils.hyper_params_factory import (gen_zz_feature_map, gen_two_local, gates, get_spsa) class TestGenZZFeatureMapParams: @pytest.mark.parametrize( 'entanglem...
41.218487
79
0.651376
578
4,905
5.179931
0.178201
0.069472
0.04008
0.0501
0.546092
0.500334
0.422178
0.379426
0.367067
0.352037
0
0.009197
0.268502
4,905
118
80
41.567797
0.825251
0.12946
0
0.406977
0
0
0.029758
0
0
0
0
0
0.209302
1
0.139535
false
0
0.023256
0
0.197674
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ce6e8d9537188868b4c69468b964ff8533cd15f
1,409
py
Python
data_structs/RewardFuncDictClass.py
david-abel/vpsa_aistats2020
06e3c7ce1691e27d0eb1757c585623bd35bc494b
[ "MIT" ]
4
2020-02-17T21:35:22.000Z
2021-08-29T07:07:23.000Z
data_structs/RewardFuncDictClass.py
david-abel/vpsa_aistats2020
06e3c7ce1691e27d0eb1757c585623bd35bc494b
[ "MIT" ]
null
null
null
data_structs/RewardFuncDictClass.py
david-abel/vpsa_aistats2020
06e3c7ce1691e27d0eb1757c585623bd35bc494b
[ "MIT" ]
null
null
null
# Python imports. import random from collections import defaultdict class RewardFuncDict(object): def __init__(self, reward_func_lambda, state_space, action_space, sample_rate=10): ''' Args: reward_func_lambda (lambda : simple_rl.State x str --> float) state_space (list) ...
29.354167
112
0.624556
173
1,409
4.745665
0.254335
0.085262
0.097442
0.076736
0.405603
0.405603
0.405603
0.405603
0.325213
0.165652
0
0.00199
0.286728
1,409
47
113
29.978723
0.814925
0.288148
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.133333
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
6ce76a463b6a97c5763ca5f9e8e9046e6b614846
13,344
py
Python
bin/kerdenSOM.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
bin/kerdenSOM.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
bin/kerdenSOM.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
1
2019-09-05T20:58:37.000Z
2019-09-05T20:58:37.000Z
#!/bin/python """ Kernel Probability Density Estimator Self-Organizing Map """ # python import re import os import sys import glob import time import numpy import shutil import subprocess # appion from appionlib import appionScript from appionlib import apXmipp from appionlib import apDisplay from appionlib import app...
34.040816
101
0.684502
1,510
13,344
6.023179
0.249007
0.04398
0.020891
0.012534
0.255965
0.215393
0.182628
0.139967
0.104013
0.081363
0
0.007478
0.148231
13,344
391
102
34.127877
0.792715
0.119529
0
0.234043
0
0.003546
0.164987
0.002068
0
0
0
0
0
1
0.046099
false
0
0.06383
0
0.148936
0.046099
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ce79e7fd96bdac62db00f64aee93bac8d10eccd
1,941
py
Python
storagetransfer/nearline_request_test.py
InstantDomain/python-docs-samples
f8e293c722998b269da38b7fe11b98aae8932b8f
[ "Apache-2.0" ]
1
2022-01-30T07:11:54.000Z
2022-01-30T07:11:54.000Z
storagetransfer/nearline_request_test.py
InstantDomain/python-docs-samples
f8e293c722998b269da38b7fe11b98aae8932b8f
[ "Apache-2.0" ]
1
2021-12-13T05:15:00.000Z
2021-12-13T05:15:00.000Z
storagetransfer/nearline_request_test.py
FFHixio/python-docs-samples
b39441b3ca0a7b27e9c141e9b43e78e729105573
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Google LLC # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, sof...
32.35
74
0.751159
252
1,941
5.579365
0.448413
0.042674
0.065434
0.02276
0.307255
0.266003
0.266003
0.221906
0.221906
0.221906
0
0.008772
0.177743
1,941
59
75
32.898305
0.87218
0.281298
0
0.352941
0
0
0.02822
0
0
0
0
0
0.058824
1
0.058824
false
0
0.205882
0
0.264706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6ce7c2ce79cf658bc50b58c911a0662bac5e5baa
508
py
Python
nbviewer/nbmanager/scheduler/quartz_scheduler_provider.py
netcadlabs/nbviewer
19546e4e913b66d755a830619e404a6e704dbb30
[ "BSD-3-Clause-Clear" ]
null
null
null
nbviewer/nbmanager/scheduler/quartz_scheduler_provider.py
netcadlabs/nbviewer
19546e4e913b66d755a830619e404a6e704dbb30
[ "BSD-3-Clause-Clear" ]
null
null
null
nbviewer/nbmanager/scheduler/quartz_scheduler_provider.py
netcadlabs/nbviewer
19546e4e913b66d755a830619e404a6e704dbb30
[ "BSD-3-Clause-Clear" ]
null
null
null
from nbviewer.nbmanager.api.scheduler_provider import SchedulerProvider # TODO - https://www.quartz-scheduler.net/documentation class QuartzSchedulerProvider(SchedulerProvider): def __init__(self, log: any, url: str): super().__init__(log) self.url = url def add_notebook_job(self, notebook):...
23.090909
71
0.692913
60
508
5.566667
0.55
0.062874
0.083832
0.137725
0
0
0
0
0
0
0
0
0.218504
508
21
72
24.190476
0.84131
0.104331
0
0.307692
0
0
0
0
0
0
0
0.047619
0
1
0.384615
false
0.307692
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
4