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
b35206db6eaaa312fca86f170531ab36f181b6a0
6,745
py
Python
server.py
eugenetan01/TranslatorBot
e814d11b5a492a26ecb84737c31dc2c92c9711d8
[ "MIT" ]
null
null
null
server.py
eugenetan01/TranslatorBot
e814d11b5a492a26ecb84737c31dc2c92c9711d8
[ "MIT" ]
null
null
null
server.py
eugenetan01/TranslatorBot
e814d11b5a492a26ecb84737c31dc2c92c9711d8
[ "MIT" ]
null
null
null
import json import logging from telegram import InlineKeyboardButton, InlineKeyboardMarkup from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, CallbackQueryHandler, ConversationHandler import os from googletrans import Translator import Controller as controller import DBController as dbController...
40.878788
166
0.722016
767
6,745
6.273794
0.33116
0.043225
0.033666
0.041147
0.317747
0.238155
0.191604
0.168329
0.15212
0.15212
0
0.002345
0.178206
6,745
164
167
41.128049
0.865777
0.238251
0
0.153061
0
0
0.135013
0.014958
0
0
0
0
0
1
0.081633
false
0.010204
0.091837
0
0.214286
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
b3530c3a8484a4747a14654a1eca8555cff02513
60
py
Python
login.py
saaassin13/test_python10
102acab0417b238cba5f452604bda09ea2a98591
[ "MIT" ]
null
null
null
login.py
saaassin13/test_python10
102acab0417b238cba5f452604bda09ea2a98591
[ "MIT" ]
null
null
null
login.py
saaassin13/test_python10
102acab0417b238cba5f452604bda09ea2a98591
[ "MIT" ]
null
null
null
num = 1 num1 = 1111 num2 = 2222 num3 = 3333 num4 = 4444
6
11
0.6
10
60
3.6
1
0
0
0
0
0
0
0
0
0
0
0.512195
0.316667
60
9
12
6.666667
0.365854
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b354e2175d42b27df0d6c702ef00771b60b91fe6
60
py
Python
modules/shared/infrastructure/requests/django/__init__.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
6
2020-08-09T23:41:08.000Z
2021-03-16T22:05:40.000Z
modules/shared/infrastructure/requests/django/__init__.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
1
2020-10-02T02:59:38.000Z
2020-10-02T02:59:38.000Z
modules/shared/infrastructure/requests/django/__init__.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
2
2021-03-16T22:05:43.000Z
2021-04-30T06:35:25.000Z
from .django_request import Request __all__ = ('Request',)
15
35
0.75
7
60
5.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.133333
60
3
36
20
0.769231
0
0
0
0
0
0.116667
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b35557efbdcd9de6dfaad18c72d80170e6a3f1c7
871
py
Python
tests/test_cluster_assignment.py
mo6zes/Reproducing-Deep-Fair-Clustering
91f915436821eb05cdd021d3e9eb050a248fe993
[ "Unlicense" ]
4
2021-01-30T12:36:18.000Z
2022-03-23T10:10:45.000Z
tests/test_cluster_assignment.py
mo6zes/Reproducing-Deep-Fair-Clustering
91f915436821eb05cdd021d3e9eb050a248fe993
[ "Unlicense" ]
1
2021-11-05T09:16:36.000Z
2021-11-05T15:27:25.000Z
tests/test_cluster_assignment.py
mo6zes/Reproducing-Deep-Fair-Clustering
91f915436821eb05cdd021d3e9eb050a248fe993
[ "Unlicense" ]
1
2021-03-21T19:44:45.000Z
2021-03-21T19:44:45.000Z
""" Source: https://github.com/vlukiyanov/pt-dec/blob/master/tests/test_cluster.py """ import torch from unittest import TestCase from module import ClusterAssignment class TestClusterAssignment(TestCase): @classmethod def setUpClass(cls) -> None: cls.cluster = ClusterAssignment( clu...
30.034483
82
0.608496
106
871
4.933962
0.45283
0.045889
0.011472
0.118547
0.141491
0.141491
0
0
0
0
0
0.041979
0.234214
871
28
83
31.107143
0.742129
0.089552
0
0
0
0
0
0
0
0
0
0
0.105263
1
0.105263
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b357152a7c97a6a98a37a74b2b7b43161d57c224
2,789
py
Python
products/models.py
anonshubh/eCommerce-rostores-
7503e855d650556e216c42fc1c5b95a42bb9c501
[ "Apache-2.0" ]
null
null
null
products/models.py
anonshubh/eCommerce-rostores-
7503e855d650556e216c42fc1c5b95a42bb9c501
[ "Apache-2.0" ]
null
null
null
products/models.py
anonshubh/eCommerce-rostores-
7503e855d650556e216c42fc1c5b95a42bb9c501
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.urls import reverse import random,os from ecommerce_src.utils import unique_slug_generator,get_filename from django.db.models.signals import pre_save from django.utils.encoding import smart_str from django.core.files.storage import FileSystemStorage from django.conf import setti...
32.811765
122
0.726067
363
2,789
5.380165
0.311295
0.030722
0.064004
0.061444
0.119816
0.059396
0.059396
0.059396
0.059396
0.059396
0
0.009528
0.172105
2,789
84
123
33.202381
0.836293
0.017569
0
0.0625
0
0
0.042748
0.014615
0
0
0
0
0
1
0.1875
false
0
0.125
0.09375
0.734375
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
b35836893267f52783e00ae095462a2ce8e96ecc
5,473
py
Python
ai/project/scraper.py
BoraKurucu/Artificial-Intelligence
5681ad43a79e349b36eab3f8c1fd994fffcf0cfe
[ "MIT" ]
null
null
null
ai/project/scraper.py
BoraKurucu/Artificial-Intelligence
5681ad43a79e349b36eab3f8c1fd994fffcf0cfe
[ "MIT" ]
null
null
null
ai/project/scraper.py
BoraKurucu/Artificial-Intelligence
5681ad43a79e349b36eab3f8c1fd994fffcf0cfe
[ "MIT" ]
1
2021-02-23T19:34:12.000Z
2021-02-23T19:34:12.000Z
import time from selenium import webdriver from selenium.webdriver.chrome.options import Options class SeleniumCrosswordHelper: """ A class to determine the web-operations of Selenium. Methods --------- get_clues() Returns the data of the clues using the tags that are embedded...
35.083333
101
0.610451
660
5,473
4.80303
0.251515
0.04164
0.032808
0.039748
0.320505
0.17918
0.141325
0.076025
0.076025
0.076025
0
0.002314
0.289421
5,473
155
102
35.309677
0.812805
0.251233
0
0.105263
0
0
0.133572
0.027541
0
0
0
0
0
1
0.144737
false
0
0.039474
0.013158
0.263158
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b359b7be06a297e1d25880bf92aada1e13ba8821
3,930
py
Python
server.py
LutherMckeiver/http-server
4ce81dfad82c5b2792bf21f088985ddb784d43c9
[ "MIT" ]
null
null
null
server.py
LutherMckeiver/http-server
4ce81dfad82c5b2792bf21f088985ddb784d43c9
[ "MIT" ]
null
null
null
server.py
LutherMckeiver/http-server
4ce81dfad82c5b2792bf21f088985ddb784d43c9
[ "MIT" ]
null
null
null
from http.server import BaseHTTPRequestHandler, HTTPServer from urllib.parse import urlparse, parse_qs from cowpy import cow import os import json httpcow = '''<!DOCTYPE html> <html> <head> <title> cowsay </title> </head> <body> <header> <nav> <ul> <li><a href="/cow">cowsay</a></li...
28.273381
97
0.526718
432
3,930
4.655093
0.261574
0.06365
0.071606
0.073098
0.584784
0.584784
0.584784
0.584784
0.584784
0.584784
0
0.02015
0.35598
3,930
138
98
28.478261
0.774397
0.08855
0
0.540816
0
0
0.193825
0.016581
0
0
0
0
0
1
0.040816
false
0
0.05102
0
0.183673
0.010204
0
0
0
null
0
0
0
0
0
0
0
0
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
b35e517ebb50cbef91f32f99c017eebf79d3a397
2,873
py
Python
byceps/services/site/dbmodels/site.py
GSH-LAN/byceps
ab8918634e90aaa8574bd1bb85627759cef122fe
[ "BSD-3-Clause" ]
33
2018-01-16T02:04:51.000Z
2022-03-22T22:57:29.000Z
byceps/services/site/dbmodels/site.py
GSH-LAN/byceps
ab8918634e90aaa8574bd1bb85627759cef122fe
[ "BSD-3-Clause" ]
7
2019-06-16T22:02:03.000Z
2021-10-02T13:45:31.000Z
byceps/services/site/dbmodels/site.py
GSH-LAN/byceps
ab8918634e90aaa8574bd1bb85627759cef122fe
[ "BSD-3-Clause" ]
14
2019-06-01T21:39:24.000Z
2022-03-14T17:56:43.000Z
""" byceps.services.site.dbmodels.site ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Copyright: 2006-2021 Jochen Kupperschmidt :License: Revised BSD (see `LICENSE` file for details) """ from typing import Optional from ....database import db from ....typing import BrandID, PartyID from ....util.instances import ReprBuilder f...
34.202381
110
0.678037
355
2,873
5.295775
0.256338
0.055319
0.058511
0.078191
0.257979
0.180319
0.180319
0.046809
0
0
0
0.003456
0.194222
2,873
83
111
34.614458
0.808639
0.06126
0
0
0
0
0.053651
0
0
0
0
0
0
1
0.032258
false
0
0.145161
0.016129
0.435484
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
b35f49c197da4ac821ef9e64e2d19def9b56f814
178
py
Python
setup.py
cxu-fork/pipupgradeall
fcca62aa0c334d9f9eca8323c7d17f228d937ee7
[ "MIT" ]
null
null
null
setup.py
cxu-fork/pipupgradeall
fcca62aa0c334d9f9eca8323c7d17f228d937ee7
[ "MIT" ]
1
2020-10-27T01:51:33.000Z
2020-10-27T01:51:33.000Z
setup.py
cxu-fork/pipupgradeall
fcca62aa0c334d9f9eca8323c7d17f228d937ee7
[ "MIT" ]
2
2020-10-26T20:36:01.000Z
2020-10-26T21:00:47.000Z
import setuptools setuptools.setup( name='pipupgradeall', py_modules=['pipupgradeall'], entry_points={"console_scripts": ["pipupgradeall = pipupgradeall:_main"],}, )
25.428571
79
0.724719
16
178
7.8125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.123596
178
6
80
29.666667
0.801282
0
0
0
0
0
0.426966
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
0
0
0
0
0
3
b35f99354012d3ad1fdad1496663748a0d44b801
1,799
py
Python
src/air_controller.py
n-guitar/flask-natuer-remo
197ff7b6031caa3ac36eaf2bbeca71fbeac090db
[ "MIT" ]
5
2021-08-13T14:55:58.000Z
2022-03-21T12:11:11.000Z
src/air_controller.py
n-guitar/flask-natuer-remo
197ff7b6031caa3ac36eaf2bbeca71fbeac090db
[ "MIT" ]
null
null
null
src/air_controller.py
n-guitar/flask-natuer-remo
197ff7b6031caa3ac36eaf2bbeca71fbeac090db
[ "MIT" ]
null
null
null
from flask import Blueprint from api.json_dataclient import AppliancesDataClient from api.remoclient import NatureRemoClient air_controller = Blueprint('air_controller', __name__, url_prefix='/air/api') @air_controller.route('/send/power/<appliance_id>/<signal>', methods=['POST']) def send_power(appliance_id,signal...
38.276596
100
0.761534
220
1,799
5.95
0.213636
0.184874
0.12987
0.10084
0.71505
0.621849
0.583652
0.288006
0.288006
0.166539
0
0.001889
0.117287
1,799
46
101
39.108696
0.822418
0.008894
0
0.324324
0
0
0.122965
0.094891
0
0
0
0
0
1
0.135135
false
0
0.081081
0
0.351351
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
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
b360a4c4991b238fe7765fcb44a5651558f24263
275
py
Python
kollect/management/commands/runserver.py
dcramer/kollect
a8586ec07f671e01e80df2336ad1fa5dfe4804e5
[ "Apache-2.0" ]
7
2018-09-03T20:52:00.000Z
2021-09-12T20:52:43.000Z
kollect/management/commands/runserver.py
dcramer/kollect
a8586ec07f671e01e80df2336ad1fa5dfe4804e5
[ "Apache-2.0" ]
9
2020-02-11T23:11:31.000Z
2022-01-13T00:53:07.000Z
tabletop/management/commands/runserver.py
dcramer/tabletop-server
062f56d149a29d5ab8605e220c156c1b4fb52d2f
[ "Apache-2.0" ]
null
null
null
from django.conf import settings from django.contrib.staticfiles.management.commands.runserver import Command as BaseCommand class Command(BaseCommand): def execute(self, *args, **options): settings.DEBUG = True return super().execute(*args, **options)
30.555556
91
0.738182
32
275
6.34375
0.71875
0.098522
0
0
0
0
0
0
0
0
0
0
0.16
275
8
92
34.375
0.878788
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b36181990f0e7a289739c1df1c506a6c08cadfb1
1,952
py
Python
code/api_controlers/apis.py
AICyberTeam/retrievalSystem
3a6b4a3f38ed179b529d3ac0cf0aad9aa6b98903
[ "MIT" ]
51
2021-11-07T03:14:12.000Z
2022-03-31T11:47:56.000Z
code/api_controlers/apis.py
AICyberTeam/retrievalSystem
3a6b4a3f38ed179b529d3ac0cf0aad9aa6b98903
[ "MIT" ]
null
null
null
code/api_controlers/apis.py
AICyberTeam/retrievalSystem
3a6b4a3f38ed179b529d3ac0cf0aad9aa6b98903
[ "MIT" ]
13
2021-11-07T03:14:14.000Z
2022-03-20T11:14:03.000Z
from flask import Flask, request, jsonify import json, os from threading import Timer from api_controlers import base_function, image_encode_ctl, delete_encode_ctl,\ text_search_ctl, image_search_ctl, semantic_localization_ctl, utils def api_run(cfg): app = Flask(__name__) # Flask 初始化 # ================...
36.830189
83
0.665471
245
1,952
5.012245
0.228571
0.134365
0.044788
0.061075
0.513844
0.289088
0.235342
0.235342
0.235342
0.235342
0
0.00372
0.173668
1,952
52
84
37.538462
0.757595
0.059426
0
0.285714
0
0
0.100219
0.011501
0
0
0
0
0
1
0.171429
false
0
0.114286
0
0.428571
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
b36472502cc6bb056b8f449921017ab2cdc6baa1
2,440
py
Python
atnp/collecter.py
alanfgn/text-analysis-political-news
2a6e81bbc68eac7cacd63b0fcf157161264a91b1
[ "MIT" ]
null
null
null
atnp/collecter.py
alanfgn/text-analysis-political-news
2a6e81bbc68eac7cacd63b0fcf157161264a91b1
[ "MIT" ]
null
null
null
atnp/collecter.py
alanfgn/text-analysis-political-news
2a6e81bbc68eac7cacd63b0fcf157161264a91b1
[ "MIT" ]
null
null
null
import atnp.utils as utils import requests import csv import re import os def slice_url(url): match = re.search(utils.LINK_PATTERN, url) return match.group(1), match.group(2), match.group(3) def gen_unique_name(domain, path): return "{}__{}".format(domain, path.replace("/", "_")) def makerequest(row, ...
28.045977
73
0.611475
312
2,440
4.644231
0.262821
0.043478
0.048309
0.033126
0.196687
0.081435
0.041408
0.041408
0
0
0
0.009698
0.239344
2,440
86
74
28.372093
0.771013
0
0
0
0
0
0.133607
0.011475
0
0
0
0
0
1
0.084746
false
0
0.084746
0.016949
0.220339
0.20339
0
0
0
null
0
0
0
0
0
0
0
0
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
b3654a8261cc1c66da5a7989b216f4998e241a89
754
py
Python
alembic/versions/5ce477cd7ee3_add_otp_column.py
ashrafmahmood/oscarine-api
775f3ad5a3d3c50e36e228ee348ef40f075e95ec
[ "MIT" ]
7
2019-09-18T19:45:46.000Z
2020-05-18T20:07:07.000Z
alembic/versions/5ce477cd7ee3_add_otp_column.py
ashrafmahmood/oscarine-api
775f3ad5a3d3c50e36e228ee348ef40f075e95ec
[ "MIT" ]
252
2019-09-18T20:25:03.000Z
2022-03-25T11:23:50.000Z
alembic/versions/5ce477cd7ee3_add_otp_column.py
ashrafmahmood/oscarine-api
775f3ad5a3d3c50e36e228ee348ef40f075e95ec
[ "MIT" ]
8
2019-09-18T11:02:45.000Z
2021-05-18T17:08:51.000Z
"""add otp column Revision ID: 5ce477cd7ee3 Revises: 54f029830204 Create Date: 2020-05-12 19:04:09.302116 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '5ce477cd7ee3' down_revision = '54f029830204' branch_labels = None depends_on = None def upgrade(): #...
24.322581
74
0.679045
97
754
5.206186
0.494845
0.053465
0.083168
0.091089
0.304951
0.304951
0.304951
0.174257
0
0
0
0.0864
0.171088
754
30
75
25.133333
0.7216
0.392573
0
0
0
0
0.128266
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
0
0
0
0
1
0
b3665ca9272e655d3f741a8fee81a4c7439cc490
631
py
Python
setup.py
claranet/boto-mfa-profile
c789cc01fccf9014862ae64ee36895b1458c0237
[ "MIT" ]
1
2019-05-15T04:46:22.000Z
2019-05-15T04:46:22.000Z
setup.py
claranet/boto-mfa-profile
c789cc01fccf9014862ae64ee36895b1458c0237
[ "MIT" ]
2
2019-10-28T14:44:14.000Z
2020-05-27T12:14:16.000Z
setup.py
claranet/boto-source-profile-mfa
c789cc01fccf9014862ae64ee36895b1458c0237
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name='boto-source-profile-mfa', version='0.0.11', description='AWS boto helper library for reusing MFA tokens in profiles with the same source profile', author='Raymond Butcher', author_email='ray.butcher@claranet.uk', url='https://gith...
24.269231
106
0.62599
74
631
5.202703
0.702703
0.168831
0.176623
0.207792
0
0
0
0
0
0
0
0.010438
0.240887
631
25
107
25.24
0.793319
0.031696
0
0.136364
0
0
0.490164
0.165574
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b367a99d2eea02a6be2ff588beeb604ce121f954
870
py
Python
packs/kubernetes/actions/secret_delete.py
pearsontechnology/st2contrib
f60ff517079b91de7ee84fdf91cd742784e2731e
[ "Apache-2.0" ]
5
2016-10-11T11:52:53.000Z
2017-06-15T05:21:05.000Z
packs/kubernetes/actions/secret_delete.py
pearsontechnology/st2contrib
f60ff517079b91de7ee84fdf91cd742784e2731e
[ "Apache-2.0" ]
25
2016-07-28T17:50:35.000Z
2017-09-25T09:26:18.000Z
packs/kubernetes/actions/secret_delete.py
pearsontechnology/st2contrib
f60ff517079b91de7ee84fdf91cd742784e2731e
[ "Apache-2.0" ]
1
2017-05-05T19:12:01.000Z
2017-05-05T19:12:01.000Z
#!/usr/bin/python import json import base64 from st2actions.runners.pythonrunner import Action from lib import k8s from datetime import datetime deleteoptions = {} class SecretDelete(Action): def run(self, ns, name): k8suser = self.config.get('user') k8spass = self.config.get('password') ...
29
90
0.67931
109
870
5.330275
0.587156
0.051635
0.067126
0
0
0
0
0
0
0
0
0.024927
0.216092
870
29
91
30
0.826979
0.018391
0
0
0
0
0.065217
0
0
0
0
0
0
0
null
null
0.105263
0.263158
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
b367e04a0c647330d45d344829776dd6eaf4daa7
3,087
py
Python
keras_approach.py
NicolaOrritos/pricenet
1667e564d48bf0021eb16dcd529017cd00643b03
[ "MIT" ]
null
null
null
keras_approach.py
NicolaOrritos/pricenet
1667e564d48bf0021eb16dcd529017cd00643b03
[ "MIT" ]
null
null
null
keras_approach.py
NicolaOrritos/pricenet
1667e564d48bf0021eb16dcd529017cd00643b03
[ "MIT" ]
null
null
null
#!/usr/bin/env python import tensorflow import pandas as pd import numpy as np from time import time from keras.models import Sequential from keras.layers import Dense from keras.callbacks import TensorBoard from keras.wrappers.scikit_learn import KerasRegressor from sklearn.model_selection import train_test...
27.318584
112
0.694201
424
3,087
4.898585
0.360849
0.031777
0.025036
0.03611
0.105922
0.048146
0.048146
0.048146
0
0
0
0.01536
0.177519
3,087
112
113
27.5625
0.802678
0.169096
0
0
0
0
0.049302
0
0
0
0
0
0
1
0.035088
false
0
0.22807
0
0.298246
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
b3689078026756fd3c5035e1b65e769c2b8ddc88
1,725
py
Python
transfer_characteristics/signals.py
qh73xe/transfer_characteristics
1cdf120602501bd744fe83c208394bf96cf3bf50
[ "MIT" ]
null
null
null
transfer_characteristics/signals.py
qh73xe/transfer_characteristics
1cdf120602501bd744fe83c208394bf96cf3bf50
[ "MIT" ]
null
null
null
transfer_characteristics/signals.py
qh73xe/transfer_characteristics
1cdf120602501bd744fe83c208394bf96cf3bf50
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -* """信号処理一般関数""" def gen_chirp(duration, fs=96, **kwargs): """Generate chirp signal. 特定の長さのチャープ信号を返します. Args: duration (float) : 生成する信号の持続時間 (単位は sec). fs (int, optional) : 生成する信号のサンプリング周波数 (単位は kHz. デフォルトでは 96kHz) **kwargs: scipy.signal.chirp 関数に...
23.310811
72
0.577391
226
1,725
4.29646
0.446903
0.024717
0.046344
0.032956
0.061792
0
0
0
0
0
0
0.0545
0.297971
1,725
73
73
23.630137
0.747316
0.458551
0
0.083333
1
0
0.014907
0
0
0
0
0
0
1
0.125
false
0
0.291667
0
0.541667
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
b369861278c0f6577303d1013bf15fd9eaf975ac
55
py
Python
D02/set/hapus_clear.py
shdx8/dtwrhs
108decb8056931fc7601ed455a72ef0d65983ab0
[ "MIT" ]
null
null
null
D02/set/hapus_clear.py
shdx8/dtwrhs
108decb8056931fc7601ed455a72ef0d65983ab0
[ "MIT" ]
null
null
null
D02/set/hapus_clear.py
shdx8/dtwrhs
108decb8056931fc7601ed455a72ef0d65983ab0
[ "MIT" ]
null
null
null
set_saya = {1,2,3,4,5} set_saya.clear() print(set_saya)
18.333333
22
0.709091
13
55
2.769231
0.692308
0.583333
0
0
0
0
0
0
0
0
0
0.098039
0.072727
55
3
23
18.333333
0.607843
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b36db078f5ad5b524a09271c885138fe8560c69f
40
py
Python
lale/datasets/uci/__init__.py
haodeqi/lale
b58cda5d17ba6ee233e9afa91844afa413af5520
[ "Apache-2.0" ]
null
null
null
lale/datasets/uci/__init__.py
haodeqi/lale
b58cda5d17ba6ee233e9afa91844afa413af5520
[ "Apache-2.0" ]
null
null
null
lale/datasets/uci/__init__.py
haodeqi/lale
b58cda5d17ba6ee233e9afa91844afa413af5520
[ "Apache-2.0" ]
null
null
null
from .uci_datasets import fetch_drugscom
40
40
0.9
6
40
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.075
40
1
40
40
0.918919
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
b36f756e8c02928780345bf238c0fd02acb4022d
37
py
Python
pyautoeasy/__main__.py
SaranshBaniyal/pyautoeasy
22d7cf556fd05f94a1a5806ce731011523779ef5
[ "MIT" ]
4
2021-10-10T18:20:49.000Z
2021-12-06T18:38:59.000Z
pyautoeasy/__main__.py
SaranshBaniyal/pyautoeasy
22d7cf556fd05f94a1a5806ce731011523779ef5
[ "MIT" ]
8
2021-10-10T18:05:28.000Z
2021-12-07T03:37:45.000Z
pyautoeasy/__main__.py
SaranshBaniyal/pyautoeasy
22d7cf556fd05f94a1a5806ce731011523779ef5
[ "MIT" ]
5
2021-10-11T13:41:15.000Z
2021-12-27T15:02:31.000Z
from pyautoeasy import cli cli.main()
18.5
26
0.810811
6
37
5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
2
27
18.5
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
5
b36f7b55fef96f9aeb10f4219fd2d711b6be42d7
39,009
py
Python
invoice_ar/tests/test_serializers.py
mbaragiola/heimdallerp
8d32131a20bd0f3609d772ac437f4f24622abfc7
[ "0BSD" ]
8
2016-04-07T11:58:42.000Z
2019-06-24T01:38:12.000Z
invoice_ar/tests/test_serializers.py
mbaragiola/heimdallerp
8d32131a20bd0f3609d772ac437f4f24622abfc7
[ "0BSD" ]
null
null
null
invoice_ar/tests/test_serializers.py
mbaragiola/heimdallerp
8d32131a20bd0f3609d772ac437f4f24622abfc7
[ "0BSD" ]
null
null
null
from datetime import date, timedelta from decimal import Decimal from contact.models import Contact from django.contrib.auth.models import User from django.core.urlresolvers import reverse from geo.models import Country, Locality from invoice.models import (INVOICE_STATUSTYPE_DRAFT, VAT, CompanyInvoice, ...
33.628448
76
0.503243
3,389
39,009
5.604603
0.071407
0.125566
0.111825
0.063178
0.909182
0.883174
0.852532
0.802359
0.741708
0.687217
0
0.026315
0.394063
39,009
1,159
77
33.657463
0.777256
0
0
0.641629
0
0
0.161159
0.059805
0
0
0
0
0.143891
1
0.025339
false
0
0.009955
0
0.046154
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b36ff8b258a3b936864a267d1093c9ac36b4d023
1,412
py
Python
tests/misc/test_ordersort.py
BarrensZeppelin/PyRival
bb01523283af0130c3921445ed5e532bfcf053af
[ "Apache-2.0" ]
748
2018-09-27T01:08:12.000Z
2022-03-25T17:31:56.000Z
tests/misc/test_ordersort.py
swarajspatil158/PyRival
07c4c38b2b6ca69a275d2ed3743b6c09af80b732
[ "Apache-2.0" ]
38
2019-02-24T14:50:02.000Z
2022-03-25T01:27:50.000Z
tests/misc/test_ordersort.py
swarajspatil158/PyRival
07c4c38b2b6ca69a275d2ed3743b6c09af80b732
[ "Apache-2.0" ]
288
2018-10-29T11:55:57.000Z
2022-03-20T04:37:27.000Z
import random from pyrival.ordersort import * def test_ordersort(): for _ in range(10000): l = random.randint(1, 100) arr = [random.randint(0, 1000) for _ in range(l)] got = ordersort(range(l), arr) expected = sorted(range(l), key=arr.__getitem__) assert [arr[i] for i i...
26.641509
77
0.596317
210
1,412
3.847619
0.161905
0.089109
0.111386
0.079208
0.790842
0.756188
0.756188
0.715347
0.67698
0.633663
0
0.05486
0.264164
1,412
52
78
27.153846
0.72281
0
0
0.516129
0
0
0
0
0
0
0
0
0.129032
1
0.129032
false
0
0.064516
0
0.193548
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b370896f47311d0de8df8d3319b14b23e5a40b32
912
py
Python
agmcs/0010/0010.py
saurabh896/python-1
f8d3aedf4c0fe6e24dfa3269ea7e642c9f7dd9b7
[ "MIT" ]
3,976
2015-01-01T15:49:39.000Z
2022-03-31T03:47:56.000Z
agmcs/0010/0010.py
oyesam7/python-1
220734af09fa09a6f615d4f1b4612a0ab75d91d1
[ "MIT" ]
97
2015-01-11T02:59:46.000Z
2022-03-16T14:01:56.000Z
agmcs/0010/0010.py
oyesam7/python-1
220734af09fa09a6f615d4f1b4612a0ab75d91d1
[ "MIT" ]
3,533
2015-01-01T06:19:30.000Z
2022-03-28T13:14:54.000Z
from PIL import Image, ImageDraw, ImageFont import random im = Image.new('RGBA',(120,50),(255,255,255)) text = random.sample('abcdefghijklmnopqrstuvwxyz\ ABCDEFGHIJKLMNOPQRSTUVWXYZ',4) draw = ImageDraw.Draw(im) font = ImageFont.truetype("msyh.ttf",40) x=0 y=0 for i in xrange(200): x1 = random.randint(0,120) ...
27.636364
84
0.671053
148
912
4.135135
0.337838
0.318627
0.205882
0.093137
0.264706
0.264706
0.264706
0.264706
0
0
0
0.137356
0.145833
912
32
85
28.5
0.648267
0
0
0
0
0
0.01864
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b370d17d5c8b1ddccff4041e2effd7503de95a5e
8,292
py
Python
home/templatetags/table_tags.py
davidjrichardson/toucans
7446b78ec2a09ff90eb83d4a78638c909deb06e1
[ "MIT" ]
1
2020-04-20T05:37:09.000Z
2020-04-20T05:37:09.000Z
home/templatetags/table_tags.py
davidjrichardson/toucans
7446b78ec2a09ff90eb83d4a78638c909deb06e1
[ "MIT" ]
23
2019-03-13T10:54:36.000Z
2022-03-11T23:33:59.000Z
home/templatetags/table_tags.py
davidjrichardson/toucans
7446b78ec2a09ff90eb83d4a78638c909deb06e1
[ "MIT" ]
null
null
null
from functools import reduce from django import template register = template.Library() def rank_leg(scores): points = {} ranked = sorted(scores, key=lambda x: x[1], reverse=True) for i in range(0, len(ranked)): if ranked[i][1] != (0, 0, 0): points[ranked[i][0]] = (len(ranked) - i, r...
43.873016
113
0.599735
1,243
8,292
3.860016
0.103781
0.029179
0.034389
0.034181
0.834931
0.834931
0.834931
0.827637
0.793039
0.793039
0
0.032693
0.265919
8,292
188
114
44.106383
0.75538
0.154848
0
0.628788
0
0.212121
0.041518
0.014889
0
0
0
0
0
1
0.068182
false
0
0.015152
0.007576
0.159091
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b371587fd6814326d2d07cd04a37a379d3827420
1,893
py
Python
Playlist.py
FloSewn/Jukeberry
9afb4a544ba1f35c6bde41b7bc25be0aa6b87954
[ "MIT" ]
null
null
null
Playlist.py
FloSewn/Jukeberry
9afb4a544ba1f35c6bde41b7bc25be0aa6b87954
[ "MIT" ]
null
null
null
Playlist.py
FloSewn/Jukeberry
9afb4a544ba1f35c6bde41b7bc25be0aa6b87954
[ "MIT" ]
null
null
null
from Songlist import Songlist import random class Playlist(Songlist): def __init__(self, songpool, n_minimum=3, n_maximum=7): super().__init__("Playlist") random.seed(539) self.songpool = songpool self.n_minimum = min((n_minimum, len(songpool.data))) self.n_maximum = ma...
26.291667
113
0.577919
243
1,893
4.333333
0.316872
0.068376
0.041785
0.037037
0.174739
0.144349
0.144349
0.144349
0.091168
0.091168
0
0.024352
0.327522
1,893
71
114
26.661972
0.802828
0.207079
0
0.166667
0
0
0.00567
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b37267d6c2c6d0c826bf45142f7dbce6bb47ab24
4,131
py
Python
model.py
khk4912/slash-dpy
751f66cb0eb330d230695c179e44ce99b4575fd1
[ "MIT" ]
2
2021-05-09T17:46:10.000Z
2021-05-09T17:46:13.000Z
model.py
khk4912/slash-dpy
751f66cb0eb330d230695c179e44ce99b4575fd1
[ "MIT" ]
null
null
null
model.py
khk4912/slash-dpy
751f66cb0eb330d230695c179e44ce99b4575fd1
[ "MIT" ]
null
null
null
import inspect from dataclasses import dataclass from typing import Callable, Optional, OrderedDict import aiohttp import discord from discord.member import Member from discord.role import Role from discord.user import User from exceptions import InvaildArgument SUB_COMMAND = 1 SUB_COMMAND_GROUP = 2 STRING = 3 INTEG...
25.5
88
0.535706
417
4,131
5.270983
0.316547
0.045496
0.030937
0.030027
0.040946
0
0
0
0
0
0
0.004651
0.375454
4,131
161
89
25.658385
0.847287
0.123699
0
0.142857
0
0.010204
0.079922
0
0
0
0
0
0
1
0.010204
false
0
0.091837
0
0.214286
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
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
b37268a6e2b21c06a412ba95af142dfc30df87fd
20,192
py
Python
labelprop/voxelmorph2d.py
nathandecaux/labelprop
c92c453e12cc8575929d947db4ae7b266433eb52
[ "MIT" ]
null
null
null
labelprop/voxelmorph2d.py
nathandecaux/labelprop
c92c453e12cc8575929d947db4ae7b266433eb52
[ "MIT" ]
null
null
null
labelprop/voxelmorph2d.py
nathandecaux/labelprop
c92c453e12cc8575929d947db4ae7b266433eb52
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F from torch.distributions.normal import Normal from monai.networks.nets import UNet,Classifier,DenseNet,BasicUNet,DynUNet import numpy as np import math from kornia.geometry.transform import get_perspective_transform,get_affine_matrix2d from .MultiLevelN...
37.186004
314
0.595186
2,683
20,192
4.320164
0.169586
0.019843
0.004659
0.004831
0.312398
0.268398
0.217151
0.159952
0.126305
0.11923
0
0.02218
0.296652
20,192
543
315
37.186004
0.793902
0.332359
0
0.221053
0
0
0.016905
0
0
0
0
0
0.010526
1
0.105263
false
0
0.045614
0.003509
0.273684
0.014035
0
0
0
null
0
0
0
0
0
0
0
0
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
b3778118c079067408f2edb5b9e482453afbdd52
9,672
py
Python
couplet_composer/support/tools/llvm.py
anttikivi/couplet-composer
0f6aaf894b35ea60d8047c0072ec146d4e1d2a6f
[ "MIT" ]
null
null
null
couplet_composer/support/tools/llvm.py
anttikivi/couplet-composer
0f6aaf894b35ea60d8047c0072ec146d4e1d2a6f
[ "MIT" ]
16
2020-10-29T17:31:47.000Z
2022-03-07T17:01:52.000Z
couplet_composer/support/tools/llvm.py
anttikivi/couplet-composer
0f6aaf894b35ea60d8047c0072ec146d4e1d2a6f
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Antti Kivi # Licensed under the MIT License """A module that contains the class for the object that represents LLVM and various LLVM tools in the toolchain of the build script. """ import os import stat from argparse import Namespace from ...util import http, shell from ...build_directory impo...
29.487805
165
0.57072
1,218
9,672
4.372742
0.134647
0.040556
0.033796
0.047315
0.72944
0.685317
0.655652
0.637814
0.637814
0.637814
0
0.003118
0.336849
9,672
327
166
29.577982
0.827253
0.247312
0
0.563218
0
0.011494
0.073574
0.021622
0
0
0
0.006116
0
1
0.057471
false
0
0.045977
0
0.183908
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2fa25397bfe9a1bf7f421c4c55cc856fda3104b8
435
py
Python
openet_client/exceptions.py
water3d/openet
c3c0b8c2c4fadd163121702c37e9f862f93d5bd2
[ "MIT" ]
null
null
null
openet_client/exceptions.py
water3d/openet
c3c0b8c2c4fadd163121702c37e9f862f93d5bd2
[ "MIT" ]
null
null
null
openet_client/exceptions.py
water3d/openet
c3c0b8c2c4fadd163121702c37e9f862f93d5bd2
[ "MIT" ]
null
null
null
class DataProcessingError(RuntimeError): def __init__(self, text, data=None): self.text = text self.data = data def __str__(self): return self.text def __repr__(self): return self.text class AuthenticationError(PermissionError): pass class BadRequestError(ValueError...
17.4
43
0.694253
43
435
6.744186
0.44186
0.110345
0.096552
0.124138
0
0
0
0
0
0
0
0
0.229885
435
25
44
17.4
0.865672
0
0
0.375
0
0
0
0
0
0
0
0
0
1
0.1875
false
0.25
0
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
0
0
0
2
2fa3085303864c7e12eabfe87f9bd18ac95b7ca4
3,269
py
Python
perception/Old/CVChess-master/src/MarkImage.py
gabrieledamone/DE3-ROB1-CHESS
19ec74f10317d27683817989e729cacd6fe55a3f
[ "CC-BY-4.0" ]
25
2018-03-28T09:46:50.000Z
2022-02-10T02:51:46.000Z
perception/Old/CVChess-master/src/MarkImage.py
gabrieledamone/DE3-ROB1-CHESS
19ec74f10317d27683817989e729cacd6fe55a3f
[ "CC-BY-4.0" ]
2
2018-02-25T13:14:46.000Z
2020-06-15T09:24:09.000Z
perception/Old/CVChess-master/src/MarkImage.py
gabrieledamone/DE3-ROB1-CHESS
19ec74f10317d27683817989e729cacd6fe55a3f
[ "CC-BY-4.0" ]
21
2018-02-06T23:09:28.000Z
2021-06-24T16:58:59.000Z
#!/opt/local/bin/python import os, sys import numpy as np import cv, cv2 import CVAnalysis from Board import Board from util import print_message, print_status #==========[ Global Data ]========== corner_keypoints = [] corner_image_points = [] corner_board_points = [] corner_sift_desc = [] def get_closest_keyp...
28.675439
82
0.655552
429
3,269
4.792541
0.342657
0.029183
0.033074
0.036479
0.051556
0.051556
0.051556
0.051556
0.051556
0.051556
0
0.018308
0.164576
3,269
114
83
28.675439
0.734529
0.213827
0
0.034483
0
0
0.118916
0.011019
0
0
0
0
0
0
null
null
0.017241
0.103448
null
null
0.12069
0
0
0
null
0
0
0
0
0
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
2fa6051aedcd77c23a8930e26b6cd51d26ec9f9d
607
py
Python
4fun/open_web.py
gatitoz-luan/extras
b5caf73afcdc5e24f3ad97ef565cb15a7fee2764
[ "MIT" ]
null
null
null
4fun/open_web.py
gatitoz-luan/extras
b5caf73afcdc5e24f3ad97ef565cb15a7fee2764
[ "MIT" ]
null
null
null
4fun/open_web.py
gatitoz-luan/extras
b5caf73afcdc5e24f3ad97ef565cb15a7fee2764
[ "MIT" ]
null
null
null
from time import sleep import urllib.request import webbrowser try: urllib.request.urlopen("https://www.youtube.com/watch?v=ffbI0JMW7g4") except Exception as erro: # Desligando o wifi, ou o site não estiver no ar print('\033[1; 31mO melhor vídeo do youtube não está acessível no momento.\033[m') er = erro ...
43.357143
86
0.708402
97
607
4.43299
0.618557
0.060465
0.069767
0.083721
0.162791
0.162791
0.162791
0
0
0
0
0.057884
0.174629
607
14
87
43.357143
0.800399
0.197694
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
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
2fa6797946f30447b24a6199a63c2d91f44255e0
5,546
py
Python
crystal_toolkit/components/symmetry.py
mkhorton/mp-dash-components
b9af1b59f0120a90897631d9a7f8d9f0ae561de9
[ "MIT" ]
null
null
null
crystal_toolkit/components/symmetry.py
mkhorton/mp-dash-components
b9af1b59f0120a90897631d9a7f8d9f0ae561de9
[ "MIT" ]
5
2018-10-18T19:52:12.000Z
2018-11-17T19:02:49.000Z
crystal_toolkit/components/symmetry.py
mkhorton/mp-dash-components
b9af1b59f0120a90897631d9a7f8d9f0ae561de9
[ "MIT" ]
null
null
null
from fractions import Fraction from dash import html import numpy as np from dash import callback_context from dash.dependencies import Input, Output from pymatgen.core.structure import Structure from pymatgen.symmetry.analyzer import SpacegroupAnalyzer from pymatgen.util.string import unicodeify_spacegroup, unicodeif...
33.817073
94
0.545979
555
5,546
5.284685
0.331532
0.062053
0.021821
0.020457
0.065462
0.034777
0.034777
0
0
0
0
0.005674
0.364407
5,546
163
95
34.02454
0.826383
0
0
0.086957
0
0
0.182474
0.009196
0
0
0
0
0
1
0.043478
false
0
0.072464
0.014493
0.188406
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
2fa6c536a0c61526a9ec8c3d285219c9f61ba8f1
14,306
py
Python
operation_obj.py
Frichetten/aws_api_shapeshifter
c5b8891ca98eb290c0773c5fb46672d64cd7fae0
[ "MIT" ]
16
2022-02-13T00:35:30.000Z
2022-02-14T20:11:55.000Z
operation_obj.py
Frichetten/aws_api_shapeshifter
c5b8891ca98eb290c0773c5fb46672d64cd7fae0
[ "MIT" ]
null
null
null
operation_obj.py
Frichetten/aws_api_shapeshifter
c5b8891ca98eb290c0773c5fb46672d64cd7fae0
[ "MIT" ]
1
2022-02-16T18:27:34.000Z
2022-02-16T18:27:34.000Z
from xeger import Xeger import api_signer import protocol_formatter import aws_api_shapeshifter """ The operation_obj will be the primary location where parameters are altered and configured. Every user generated modification will pass throug here. As a result this code is ugly and I'm only partially sorry. "...
34.555556
134
0.572557
1,556
14,306
5.073907
0.184447
0.036479
0.021279
0.022799
0.30665
0.223813
0.174668
0.133882
0.08993
0.077517
0
0.004787
0.342933
14,306
414
135
34.555556
0.835106
0.14113
0
0.281588
0
0
0.073753
0.001835
0
0
0
0.002415
0
1
0.093863
false
0.01083
0.01444
0.00722
0.33213
0.00361
0
0
0
null
0
0
0
0
0
0
0
0
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
2fa7cb7b773d534e726796a3ee44b6013d7d462d
244
py
Python
get_confluence_page_latex_path.py
Open-Measure/TOME-Python
55159b3fbb55224b34e4fb71b63e4678c84ab4b7
[ "CC-BY-4.0" ]
1
2021-04-17T14:44:47.000Z
2021-04-17T14:44:47.000Z
get_confluence_page_latex_path.py
Open-Measure/TOME-Python
55159b3fbb55224b34e4fb71b63e4678c84ab4b7
[ "CC-BY-4.0" ]
null
null
null
get_confluence_page_latex_path.py
Open-Measure/TOME-Python
55159b3fbb55224b34e4fb71b63e4678c84ab4b7
[ "CC-BY-4.0" ]
null
null
null
import settings def get_confluence_page_latex_path(space_key, page_id): confluence_page_latex_path = \ f"{settings.LOCAL_CONFLUENCE_PAGE_LATEX_FOLDER}/" \ f"{space_key}_{page_id}.tex" return confluence_page_latex_path
27.111111
59
0.758197
34
244
4.882353
0.470588
0.337349
0.457831
0.415663
0
0
0
0
0
0
0
0
0.159836
244
8
60
30.5
0.809756
0
0
0
0
0
0.290984
0.290984
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2fa7dec69496a095a2c47ea6cc15a0aee006cc97
29,064
py
Python
chesstab/gui/uci.py
RogerMarsh/chesstab
01d375dc6bf025b621612a84513e55c4640a78ad
[ "BSD-3-Clause" ]
null
null
null
chesstab/gui/uci.py
RogerMarsh/chesstab
01d375dc6bf025b621612a84513e55c4640a78ad
[ "BSD-3-Clause" ]
null
null
null
chesstab/gui/uci.py
RogerMarsh/chesstab
01d375dc6bf025b621612a84513e55c4640a78ad
[ "BSD-3-Clause" ]
null
null
null
# uci.py # Copyright 2015 Roger Marsh # License: See LICENSE.TXT (BSD licence) """Control multiple UCI compliant chess engines.""" import tkinter import tkinter.messagebox import tkinter.filedialog from solentware_grid.core.dataclient import DataSource from solentware_misc.gui.exceptionhandler import ExceptionHandl...
37.071429
87
0.525495
2,928
29,064
5.044057
0.155738
0.035751
0.02749
0.025323
0.553389
0.496648
0.459747
0.420272
0.39197
0.354865
0
0.004698
0.392169
29,064
783
88
37.118774
0.831314
0.150874
0
0.483713
0
0
0.120238
0
0
0
0
0
0
1
0.061889
false
0
0.019544
0
0.09772
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
2fa9b6e0222d2c0b70dc7ec3aecbef873f179373
4,704
py
Python
Exercises/flask-blogly/app.py
pedwards95/Springboard_Class
9df8dbd8832223e89b89d12db3f7e0b178e2ed79
[ "MIT" ]
null
null
null
Exercises/flask-blogly/app.py
pedwards95/Springboard_Class
9df8dbd8832223e89b89d12db3f7e0b178e2ed79
[ "MIT" ]
null
null
null
Exercises/flask-blogly/app.py
pedwards95/Springboard_Class
9df8dbd8832223e89b89d12db3f7e0b178e2ed79
[ "MIT" ]
null
null
null
# python -m venv venv # source venv/Scripts/activate # pip install pylint # pip install ipython # pip install flask # pip install flask_debugtoolbar # pip install pylint-flask # pip install psycopg2-binary # pip install flask-sqlalchemy # pip install pylint_flask_sqlalchemy # pip install pylint-sqlalchemy # pip install...
31.36
87
0.713435
723
4,704
4.384509
0.159059
0.039748
0.0347
0.036909
0.481388
0.38265
0.34858
0.278549
0.227445
0.209148
0
0.007153
0.13818
4,704
150
88
31.36
0.77479
0.129889
0
0.194444
0
0
0.229328
0.065589
0
0
0
0
0
1
0.138889
false
0
0.027778
0
0.305556
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
2fac0c4396b2a1e4917a749d9f069dc4251273b4
541
py
Python
src/errors/errors.py
stdevAdrianPaez/cool-compiler-2020
7a783a0a69eabe9d7c80bdeddeabbb9d06445aba
[ "MIT" ]
null
null
null
src/errors/errors.py
stdevAdrianPaez/cool-compiler-2020
7a783a0a69eabe9d7c80bdeddeabbb9d06445aba
[ "MIT" ]
null
null
null
src/errors/errors.py
stdevAdrianPaez/cool-compiler-2020
7a783a0a69eabe9d7c80bdeddeabbb9d06445aba
[ "MIT" ]
null
null
null
""" Copyright (c) 2020 School of Math and Computer Science, University of Havana COOL compiler project """ LEXER_ERRORS = [] PARSER_ERRORS = [] SEMANTIC_ERRORS = [] def add_lexer_error(line, column, message): LEXER_ERRORS.append(f'({line}, {column}) - LexicographicError: {message}') def add_parser_error(line,...
24.590909
78
0.715342
66
541
5.681818
0.439394
0.16
0.12
0.176
0.184
0
0
0
0
0
0
0.008547
0.134935
541
21
79
25.761905
0.792735
0.182994
0
0
0
0
0.324885
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
2facf704e67c18a43aeaa59d0fa5a011f2590e09
398
py
Python
safe_relay_service/tokens/migrations/0008_priceoracleticker_inverse.py
vaporyorg/safe-relay-service
1289c3d31639f83aa2c0110ff3b84a69212b81f5
[ "MIT" ]
5
2021-06-07T14:07:32.000Z
2022-03-26T19:42:45.000Z
safe_relay_service/tokens/migrations/0008_priceoracleticker_inverse.py
vaporyorg/safe-relay-service
1289c3d31639f83aa2c0110ff3b84a69212b81f5
[ "MIT" ]
24
2019-12-11T14:43:38.000Z
2022-03-01T12:37:24.000Z
safe_relay_service/tokens/migrations/0008_priceoracleticker_inverse.py
vaporyorg/safe-relay-service
1289c3d31639f83aa2c0110ff3b84a69212b81f5
[ "MIT" ]
4
2020-05-25T03:30:53.000Z
2021-11-22T06:51:12.000Z
# Generated by Django 2.1.3 on 2018-12-12 10:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tokens', '0007_auto_20181205_1024'), ] operations = [ migrations.AddField( model_name='priceoracleticker', name='inv...
20.947368
53
0.610553
41
398
5.829268
0.829268
0
0
0
0
0
0
0
0
0
0
0.108014
0.278894
398
18
54
22.111111
0.724739
0.113065
0
0
1
0
0.150997
0.065527
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
2fad9a654e68fbbd2c8a4a136f03a32478751ee4
1,177
py
Python
emmet/action_utils/utils.py
jingyuexing/py-emmet
e3b1ecb875e0067fc9ef4f4479c7a8d4646aaa11
[ "MIT" ]
29
2019-11-12T16:15:15.000Z
2022-02-06T10:51:25.000Z
emmet/action_utils/utils.py
jingyuexing/py-emmet
e3b1ecb875e0067fc9ef4f4479c7a8d4646aaa11
[ "MIT" ]
3
2020-04-25T11:02:53.000Z
2021-11-25T10:39:09.000Z
emmet/action_utils/utils.py
jingyuexing/py-emmet
e3b1ecb875e0067fc9ef4f4479c7a8d4646aaa11
[ "MIT" ]
7
2020-04-25T09:42:54.000Z
2021-02-16T20:29:41.000Z
from ..scanner_utils import is_space class SelectItemModel: __slots__ = ('start', 'end', 'ranges') def __init__(self, start: int, end: int, ranges: list=None): self.start = start self.end = end self.ranges = ranges def to_json(self): return { 'start': self.sta...
23.078431
89
0.531011
155
1,177
3.935484
0.316129
0.034426
0.045902
0.039344
0.095082
0
0
0
0
0
0
0.016883
0.345794
1,177
50
90
23.54
0.775325
0.062872
0
0.054054
0
0
0.086661
0
0
0
0
0
0
1
0.108108
false
0
0.027027
0.027027
0.243243
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
2fae65f69504a377cf97ec0ffdf0a00d4a9c2141
434
py
Python
VisualPy/engine/ext/ErrorTypes.py
xTrayambak/visualpy
10a68c023b230f9c2f11e57680dab06e68078d0a
[ "BSD-2-Clause" ]
null
null
null
VisualPy/engine/ext/ErrorTypes.py
xTrayambak/visualpy
10a68c023b230f9c2f11e57680dab06e68078d0a
[ "BSD-2-Clause" ]
null
null
null
VisualPy/engine/ext/ErrorTypes.py
xTrayambak/visualpy
10a68c023b230f9c2f11e57680dab06e68078d0a
[ "BSD-2-Clause" ]
null
null
null
class NoDialogError(Exception): """ Occurs when the user has not inputted any dialog. """ pass class DialogTooBigError(Exception): """ Occurs when the user has inputted too big of a dialog. """ pass class DiscordRPCFailed(Exception): """ Occurs when pypresence fails to connect to Discord. """ ...
20.666667
56
0.695853
52
434
5.807692
0.480769
0.198676
0.251656
0.145695
0.562914
0.562914
0.370861
0.370861
0.370861
0.370861
0
0
0.211982
434
21
57
20.666667
0.883041
0.479263
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
2faef444b1852c4a4b65fb3d4c3766d0712c2492
2,765
py
Python
tests/test_effect_overlay.py
niklasR/brave
5234bd9cecd6d7282cd0b50acfda44890cf4cfb8
[ "Apache-2.0" ]
1
2018-12-04T21:58:27.000Z
2018-12-04T21:58:27.000Z
tests/test_effect_overlay.py
niklasR/brave
5234bd9cecd6d7282cd0b50acfda44890cf4cfb8
[ "Apache-2.0" ]
null
null
null
tests/test_effect_overlay.py
niklasR/brave
5234bd9cecd6d7282cd0b50acfda44890cf4cfb8
[ "Apache-2.0" ]
1
2018-12-07T12:21:08.000Z
2018-12-07T12:21:08.000Z
import time, pytest, inspect from utils import * from PIL import Image def test_effect_overlay_visible_after_creation(run_brave): run_brave() time.sleep(0.5) check_brave_is_running() add_overlay({'type': 'effect', 'props': {'effect_name': 'edgetv'}}) time.sleep(0.1) assert_overlays([{'id': 0,...
41.893939
109
0.632911
353
2,765
4.739377
0.23796
0.089659
0.059773
0.046025
0.66049
0.607292
0.512851
0.355051
0.337119
0.317394
0
0.018325
0.171067
2,765
65
110
42.538462
0.711606
0.100543
0
0.354167
0
0
0.266263
0
0
0
0
0
0.166667
1
0.0625
false
0
0.0625
0
0.125
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
2fafadc84ca6d4bd015e4f90fe2035ddef798fc3
1,659
py
Python
RaNDaL/packages/models/text_fields/tree_field.py
adam-bentley/RaNDaL
d079ea4773815630f25f83ab0fbb8eefdbf2d17c
[ "MIT" ]
null
null
null
RaNDaL/packages/models/text_fields/tree_field.py
adam-bentley/RaNDaL
d079ea4773815630f25f83ab0fbb8eefdbf2d17c
[ "MIT" ]
null
null
null
RaNDaL/packages/models/text_fields/tree_field.py
adam-bentley/RaNDaL
d079ea4773815630f25f83ab0fbb8eefdbf2d17c
[ "MIT" ]
null
null
null
import json from numpy import ndarray from tensorflow.python.keras import Sequential from ...helpers.segmentation import split_characters from .text_field import TextArea class Tree(TextArea): def __init__(self, frame: ndarray, model: Sequential, inverted: bool = False): """ Constrctor for a tre...
33.18
82
0.502712
200
1,659
4.11
0.395
0.145985
0.058394
0.058394
0
0
0
0
0
0
0
0.020833
0.392405
1,659
50
83
33.18
0.794643
0.201929
0
0
0
0
0.043239
0
0
0
0
0
0
1
0.071429
false
0
0.178571
0.035714
0.321429
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
2fb05c28f9fc1d23f3b79a475475fc481afb0de9
2,742
py
Python
pyez/PyEZ_Cookbook_2017/15-Monitoring_IPSEC_tunnels/ike-tunnels.py
rsmekala/junosautomation
b76b3e8ce34048e3460cb071d0aeef176ab3836f
[ "Apache-2.0" ]
117
2016-08-22T15:52:28.000Z
2022-01-08T00:53:28.000Z
pyez/PyEZ_Cookbook_2017/15-Monitoring_IPSEC_tunnels/ike-tunnels.py
rsmekala/junosautomation
b76b3e8ce34048e3460cb071d0aeef176ab3836f
[ "Apache-2.0" ]
12
2017-10-28T09:44:44.000Z
2018-11-21T15:12:42.000Z
pyez/PyEZ_Cookbook_2017/15-Monitoring_IPSEC_tunnels/ike-tunnels.py
rsmekala/junosautomation
b76b3e8ce34048e3460cb071d0aeef176ab3836f
[ "Apache-2.0" ]
78
2016-08-19T05:35:28.000Z
2022-03-13T07:16:27.000Z
# Copyright 2017, Juniper Networks Pvt Ltd. # All rights reserved. from jnpr.junos import Device from jnpr.junos.utils.config import Config from lxml import etree import dill import xmltodict from io import StringIO from contextlib import redirect_stdout from collections import defaultdict from operator import itemget...
32.642857
77
0.539023
286
2,742
5.13986
0.416084
0.054422
0.038095
0.05034
0.269388
0.213605
0.213605
0.213605
0.213605
0.213605
0
0.01442
0.342451
2,742
83
78
33.036145
0.800887
0.063093
0
0.369863
0
0
0.152496
0.035491
0
0
0
0
0
1
0.013699
false
0.027397
0.123288
0
0.150685
0.041096
0
0
0
null
0
0
0
0
0
0
0
0
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
2fb06c21eb891caf2ba79588b761d865ccf7d6e3
21,869
py
Python
sdk/python/pulumi_newrelic/service_level.py
pulumi/pulumi-newrelic
cd9a882f3524883ed155f87ff26c4c17cd048c9a
[ "ECL-2.0", "Apache-2.0" ]
6
2019-09-17T20:41:26.000Z
2022-01-13T23:54:14.000Z
sdk/python/pulumi_newrelic/service_level.py
pulumi/pulumi-newrelic
cd9a882f3524883ed155f87ff26c4c17cd048c9a
[ "ECL-2.0", "Apache-2.0" ]
136
2019-04-29T21:34:57.000Z
2022-03-30T17:07:03.000Z
sdk/python/pulumi_newrelic/service_level.py
pulumi/pulumi-newrelic
cd9a882f3524883ed155f87ff26c4c17cd048c9a
[ "ECL-2.0", "Apache-2.0" ]
3
2019-10-05T10:33:59.000Z
2021-06-15T16:37:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
44.630612
241
0.637661
2,460
21,869
5.534959
0.105691
0.071093
0.048326
0.045241
0.858769
0.838058
0.819771
0.805964
0.802218
0.787823
0
0.004789
0.26485
21,869
489
242
44.721881
0.842135
0.455622
0
0.659193
1
0
0.110541
0.05014
0
0
0
0
0
1
0.156951
false
0.004484
0.03139
0
0.282511
0
0
0
0
null
0
0
0
1
1
1
1
1
1
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
7
2fb0c6198b297677732f2c4daf939edfc49f4ce4
3,484
py
Python
tools/precommit_converter/extractor/extractor.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
52
2018-08-24T02:28:43.000Z
2021-07-06T04:44:22.000Z
tools/precommit_converter/extractor/extractor.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
62
2018-09-17T06:59:16.000Z
2021-12-15T06:02:51.000Z
tools/precommit_converter/extractor/extractor.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
35
2018-09-14T02:42:10.000Z
2022-02-05T10:34:46.000Z
import json from typing import List, Tuple, Optional from iconservice.base.block import Block from tools.precommit_converter.data.icon_service_info import IconServiceInfo from tools.precommit_converter.data.key_value import KeyValue class NotSupportFileException(Exception): pass class ExtractException(Exceptio...
39.590909
99
0.528703
360
3,484
4.936111
0.272222
0.040518
0.047271
0.04502
0.130557
0.070906
0
0
0
0
0
0.004627
0.379736
3,484
87
100
40.045977
0.817677
0.054535
0
0.095238
0
0
0.061325
0
0
0
0
0
0
1
0.063492
false
0.031746
0.079365
0
0.269841
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
2fb1c6be4ef74a37e43239a8048564bf4ff487d1
2,389
py
Python
hw2-romv-scheduler/user_simulator/transaction_parsing_patterns.py
eladn/romv-scheduler-python
4afa4312686d7e218faa0cff9790096dff0501fc
[ "MIT" ]
1
2021-01-28T16:50:24.000Z
2021-01-28T16:50:24.000Z
hw2-romv-scheduler/user_simulator/transaction_parsing_patterns.py
eladn/romv-scheduler-python
4afa4312686d7e218faa0cff9790096dff0501fc
[ "MIT" ]
null
null
null
hw2-romv-scheduler/user_simulator/transaction_parsing_patterns.py
eladn/romv-scheduler-python
4afa4312686d7e218faa0cff9790096dff0501fc
[ "MIT" ]
null
null
null
# Collection of patterns used for parsing the input workload test file. # Used by the method: TransactionSimulator.parse_transaction_from_test_line(..) # Used by the method: TransactionSimulator.parse_and_add_operation(..) class TransactionParsingPatterns: number_pattern = '(([1-9][0-9]*)|0)' identifier_patte...
59.725
119
0.619506
241
2,389
5.66805
0.261411
0.11713
0.087848
0.076135
0.192533
0.108346
0
0
0
0
0
0.004836
0.221013
2,389
39
120
61.25641
0.729178
0.090414
0
0.066667
0
0
0.202584
0.116751
0
0
0
0
0
1
0
false
0
0
0
0.733333
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
2fb1dc0865cc26fff0ec597322348e9156d9ffbc
298
py
Python
ssb_sparktools/utils/utils.py
statisticsnorway/SSB_Spark_tools
95271519b0babcfbc9ec2c93503e287d776eaedb
[ "Apache-2.0" ]
1
2021-06-25T06:16:50.000Z
2021-06-25T06:16:50.000Z
ssb_sparktools/utils/utils.py
statisticsnorway/SSB_Spark_tools
95271519b0babcfbc9ec2c93503e287d776eaedb
[ "Apache-2.0" ]
6
2020-09-04T07:32:29.000Z
2021-07-08T11:04:02.000Z
ssb_sparktools/utils/utils.py
statisticsnorway/SSB_Spark_tools
95271519b0babcfbc9ec2c93503e287d776eaedb
[ "Apache-2.0" ]
null
null
null
import os import sys def set_runpath(repo): repo = '/' + repo if os.getcwd()[:13] =='/home/runner/': os.chdir(os.getcwd()[:(os.getcwd().index(repo) + ((len(repo)*2)+1))] ) else: os.chdir(os.getcwd()[:(os.getcwd().index(repo) + ((len(repo))+1))] ) return os.getcwd()
29.8
78
0.550336
43
298
3.790698
0.44186
0.294479
0.110429
0.184049
0.478528
0.478528
0.478528
0.478528
0.478528
0.478528
0
0.020747
0.191275
298
10
79
29.8
0.655602
0
0
0
0
0
0.046823
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2fb29c745c8c1dc478e042622cebe679734864c2
185
py
Python
home/tests.py
mennonitengemeinde/church_site
ae9ef5f0f78811cecd734705339511dc0efb8340
[ "MIT" ]
null
null
null
home/tests.py
mennonitengemeinde/church_site
ae9ef5f0f78811cecd734705339511dc0efb8340
[ "MIT" ]
44
2020-05-13T20:15:26.000Z
2022-03-04T02:58:58.000Z
home/tests.py
mennonitengemeinde/church_site
ae9ef5f0f78811cecd734705339511dc0efb8340
[ "MIT" ]
4
2020-06-05T17:59:52.000Z
2021-02-06T19:09:43.000Z
from django.test import TestCase class HomeTests(TestCase): def test_home_page(self): response = self.client.get('/') self.assertEqual(response.status_code, 200)
20.555556
51
0.697297
23
185
5.478261
0.782609
0
0
0
0
0
0
0
0
0
0
0.020134
0.194595
185
8
52
23.125
0.825503
0
0
0
0
0
0.005405
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2fb2fdfa61351569e57447f454e2aeffc1bbdbb3
104
py
Python
crud/crudexample/admin.py
Neeraj2701/numpy
bbc3167427eb8ecafeee3c5c9606b3532405dd96
[ "BSD-3-Clause" ]
null
null
null
crud/crudexample/admin.py
Neeraj2701/numpy
bbc3167427eb8ecafeee3c5c9606b3532405dd96
[ "BSD-3-Clause" ]
null
null
null
crud/crudexample/admin.py
Neeraj2701/numpy
bbc3167427eb8ecafeee3c5c9606b3532405dd96
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from crudexample.models import employee admin.site.register(employee)
20.8
39
0.846154
14
104
6.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.096154
104
4
40
26
0.93617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
2fb476dd66bd0ab1d1e4099cd971c61bf78c0144
2,325
py
Python
api/models/predict.py
sanjeet1207/Batman
658a1bab55de425b23288ffec69f2d7ac93bb007
[ "MIT" ]
null
null
null
api/models/predict.py
sanjeet1207/Batman
658a1bab55de425b23288ffec69f2d7ac93bb007
[ "MIT" ]
null
null
null
api/models/predict.py
sanjeet1207/Batman
658a1bab55de425b23288ffec69f2d7ac93bb007
[ "MIT" ]
null
null
null
from datetime import datetime from PIL import Image from torchvision import transforms from urllib.request import urlopen import requests import logging import os import sys import torch model = torch.hub.load('pytorch/vision:v0.5.0', 'resnet18', pretrained=True) model.eval() def get_class_labels(): class_dict = ...
33.695652
96
0.630968
293
2,325
4.866894
0.474403
0.031557
0.019635
0.026648
0
0
0
0
0
0
0
0.029582
0.258495
2,325
69
97
33.695652
0.797564
0.128172
0
0
0
0
0.066271
0.010386
0
0
0
0
0
1
0.035714
false
0
0.160714
0
0.232143
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
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
2fb498d7415d0de70777173de30217109842ad90
643
py
Python
wipe_slate_clean.py
tjgran01/DotNIRSToolboxTools
aa07f507095dc42d4af4c3d8616e826c401e6a54
[ "MIT" ]
null
null
null
wipe_slate_clean.py
tjgran01/DotNIRSToolboxTools
aa07f507095dc42d4af4c3d8616e826c401e6a54
[ "MIT" ]
null
null
null
wipe_slate_clean.py
tjgran01/DotNIRSToolboxTools
aa07f507095dc42d4af4c3d8616e826c401e6a54
[ "MIT" ]
null
null
null
import os import shutil def main(): """ Removes any and all files generated from eml_localizer_pipeline.py, resetting the repository back to it's native state w/r/t code and data. Will NOT get rid of your zipped data. WiLL get rid of your unzipped data. So, beware if you're working with a lot, ...
26.791667
80
0.637636
91
643
4.362637
0.714286
0.040302
0.040302
0.060453
0
0
0
0
0
0
0
0
0.258165
643
23
81
27.956522
0.832285
0.457232
0
0
1
0
0.340694
0.264984
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2fb6f09cc2a00f81943353736fc4cc723e1daf09
1,471
py
Python
nlp_helper/nlp_helper_sentence_split.py
mstaschik/nlp-helper
9f0722637cdcce6ae0063a152db735bb99818ec1
[ "MIT" ]
null
null
null
nlp_helper/nlp_helper_sentence_split.py
mstaschik/nlp-helper
9f0722637cdcce6ae0063a152db735bb99818ec1
[ "MIT" ]
null
null
null
nlp_helper/nlp_helper_sentence_split.py
mstaschik/nlp-helper
9f0722637cdcce6ae0063a152db735bb99818ec1
[ "MIT" ]
null
null
null
from pathlib import Path import logging logging.basicConfig(level=logging.DEBUG) def split_text_into_columns(nlp_models, df) -> None: """ Takes Text Content of one DataFrame Cell and splits into multiple Columns Args: nlp_models (list): List of Spacy Language Models df (Pandas DataFrame):...
25.807018
87
0.60775
165
1,471
5.339394
0.50303
0.051078
0.024972
0
0
0
0
0
0
0
0
0.005742
0.289599
1,471
57
88
25.807018
0.837321
0.380693
0
0
0
0
0.072664
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0
0.263158
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
2fb82aeb0795716862ec22bbeb4fb9c9fa7db7dd
5,592
py
Python
ribo_annotate.py
everyday847/RiboAnnotate
a53abc6987e71538527b5b282129ead54497b31a
[ "MIT" ]
null
null
null
ribo_annotate.py
everyday847/RiboAnnotate
a53abc6987e71538527b5b282129ead54497b31a
[ "MIT" ]
null
null
null
ribo_annotate.py
everyday847/RiboAnnotate
a53abc6987e71538527b5b282129ead54497b31a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from PIL import Image, ImageFont, ImageDraw base_fields = ["x", "y", "chain", "segid", "seqpos", "name"] def base_info_of(line): """ Line format: x y chain segid seqpos name 205.500 -150.750 C AB 0 L14 """ return dict(zip(...
38.833333
160
0.599428
804
5,592
3.988806
0.241294
0.060804
0.016838
0.021827
0.396632
0.368257
0.243218
0.189585
0.140318
0.088556
0
0.027581
0.241416
5,592
143
161
39.104895
0.72843
0.21191
0
0.177215
0
0
0.119098
0.018558
0
0
0
0
0
1
0.113924
false
0
0.025316
0.012658
0.189873
0.075949
0
0
0
null
0
0
0
0
0
0
0
0
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
2fb8fc30976ab33b0e15ec82896875c44dae5fcd
108
py
Python
lang/py/cookbook/v2/source/cb2_1_23_exm_4.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_23_exm_4.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_23_exm_4.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
outfile = codecs.open('out.html', mode='w', encoding='ascii', errors='html_replace')
36
61
0.555556
12
108
4.916667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.268519
108
2
62
54
0.746835
0
0
0
0
0
0.240741
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2fb91561e56ca96f56198adfb8680ae6a7d77cc6
14,969
py
Python
phi/math/backend/_numpy_backend.py
Sh0cktr4p/PhiFlow
cc87c5887bc3abfa1ef3c03252122a06e9fd2c18
[ "MIT" ]
null
null
null
phi/math/backend/_numpy_backend.py
Sh0cktr4p/PhiFlow
cc87c5887bc3abfa1ef3c03252122a06e9fd2c18
[ "MIT" ]
null
null
null
phi/math/backend/_numpy_backend.py
Sh0cktr4p/PhiFlow
cc87c5887bc3abfa1ef3c03252122a06e9fd2c18
[ "MIT" ]
1
2021-09-15T11:14:42.000Z
2021-09-15T11:14:42.000Z
import numbers import os import sys import warnings from typing import List import numpy as np import scipy.signal import scipy.sparse from scipy.sparse.linalg import cg, LinearOperator from . import Backend, ComputeDevice from ._backend_helper import combined_dim from ._dtype import from_numpy_dtype, to_numpy_dtype,...
34.175799
176
0.594161
1,963
14,969
4.441161
0.15894
0.054141
0.013765
0.014912
0.189722
0.13237
0.115049
0.075017
0.047488
0.027988
0
0.011118
0.278977
14,969
437
177
34.254005
0.796627
0.035807
0
0.101227
0
0
0.027999
0
0
0
0
0
0.030675
1
0.220859
false
0
0.039877
0.138037
0.542945
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
2fbb0c4e75b2c3ddc001608e2927153cc660a8eb
5,560
py
Python
web_app.py
frank-chris/HospitalDatabaseSystem
4861582d8cdca0ea28c7ef7ed46b2bdcecb3bf0b
[ "MIT" ]
null
null
null
web_app.py
frank-chris/HospitalDatabaseSystem
4861582d8cdca0ea28c7ef7ed46b2bdcecb3bf0b
[ "MIT" ]
null
null
null
web_app.py
frank-chris/HospitalDatabaseSystem
4861582d8cdca0ea28c7ef7ed46b2bdcecb3bf0b
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, redirect, url_for, session from flask_mysqldb import MySQL from sql_helper import * from html_helper import * app = Flask(__name__) app.debug = True app.secret_key = 'mango' # Enter your database connection details below app.config['MYSQL_HOST'] = 'localhost' app.co...
42.442748
121
0.645863
711
5,560
4.80872
0.14346
0.094765
0.076046
0.042118
0.617724
0.586721
0.568002
0.538462
0.503656
0.503656
0
0.002097
0.228237
5,560
131
122
42.442748
0.794687
0.010791
0
0.45614
0
0
0.109131
0
0
0
0
0
0
1
0.035088
false
0.008772
0.035088
0.008772
0.201754
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
2fbcf0d92ad2b40b429d3953d100953a69f41fd2
4,379
py
Python
seq2seq_dataset.py
Leon-Francis/blue-badminton
4b267ac355173a2ed717f9fcf16edd008960b502
[ "Apache-2.0" ]
null
null
null
seq2seq_dataset.py
Leon-Francis/blue-badminton
4b267ac355173a2ed717f9fcf16edd008960b502
[ "Apache-2.0" ]
null
null
null
seq2seq_dataset.py
Leon-Francis/blue-badminton
4b267ac355173a2ed717f9fcf16edd008960b502
[ "Apache-2.0" ]
null
null
null
import os import re from victim_module.victim_config import IMDB_Config from torch.utils.data import Dataset from tools import logging from transformers import AutoTokenizer from nltk.stem import WordNetLemmatizer from nltk.corpus import stopwords os.environ["TOKENIZERS_PARALLELISM"] = "false" # Setup stopwords list ...
38.752212
97
0.542818
468
4,379
4.891026
0.290598
0.045435
0.010485
0.010485
0.349498
0.330275
0.330275
0.301442
0.301442
0.264744
0
0.004904
0.348025
4,379
113
98
38.752212
0.796848
0.053665
0
0.351648
0
0
0.057879
0.00535
0
0
0
0
0
1
0.054945
false
0.010989
0.087912
0.021978
0.208791
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
2fbd1a3f064e91f24a62fbd3f2c26b8c21d38fe6
14,285
py
Python
devilry/devilry_import_v2database/tests/test_modelimporters/test_qualifiesforexam_importer.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
null
null
null
devilry/devilry_import_v2database/tests/test_modelimporters/test_qualifiesforexam_importer.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
null
null
null
devilry/devilry_import_v2database/tests/test_modelimporters/test_qualifiesforexam_importer.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
null
null
null
from django import test from django.conf import settings from django.utils import timezone from django.utils.dateparse import parse_date from model_mommy import mommy from .importer_testcase_mixin import ImporterTestCaseMixin from devilry.devilry_import_v2database.modelimporters.qualifiesforexam_importer import \ ...
48.260135
119
0.706265
1,537
14,285
6.222511
0.07352
0.105813
0.035132
0.041719
0.854036
0.831347
0.788896
0.776349
0.776349
0.763174
0
0.005122
0.20735
14,285
295
120
48.423729
0.83953
0
0
0.632959
0
0
0.152398
0.123906
0
0
0
0
0.101124
1
0.086142
false
0
0.228464
0.014981
0.337079
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2fbeda5ce9c154a9ab00881c49315865e5d2e8ad
197,887
py
Python
boto3_type_annotations_with_docs/boto3_type_annotations/lex_models/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/lex_models/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/lex_models/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Optional from botocore.client import BaseClient from typing import Dict from botocore.paginate import Paginator from botocore.waiter import Waiter from typing import Union from typing import List class Client(BaseClient): def can_paginate(self, operation_name: str = None): """ C...
59.74849
1,198
0.557945
21,454
197,887
5.130046
0.041158
0.01581
0.012993
0.007741
0.827013
0.805406
0.778712
0.755061
0.740187
0.728757
0
0.006678
0.349932
197,887
3,311
1,199
59.766536
0.848888
0.844836
0
0.454545
0
0
0
0
0
0
0
0
0
1
0.454545
false
0.454545
0.102273
0
0.568182
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
11
2fbf69f0c7833581d5b839c771d79dfeca5e3540
771
py
Python
tests/read_head_test.py
aescwork/sqliteminor
83aa4f76a28141b085bbfc7f725531e0b67aeed5
[ "BSD-2-Clause" ]
1
2020-01-31T11:38:47.000Z
2020-01-31T11:38:47.000Z
tests/read_head_test.py
aescwork/sqliteminor
83aa4f76a28141b085bbfc7f725531e0b67aeed5
[ "BSD-2-Clause" ]
null
null
null
tests/read_head_test.py
aescwork/sqliteminor
83aa4f76a28141b085bbfc7f725531e0b67aeed5
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import unittest import sys sys.path.append("../sqliteminor/") sys.path.append("../temp/") import sqliteminor import setup_db class ReadHeadTest(unittest.TestCase): def setUp(self): self.conn = setup_db.setup_db() self.read_head_comp = [(1, u'Ash'), (2, u'Yew'), (3, u'White Pine'), (4...
15.734694
124
0.673152
116
771
4.232759
0.431034
0.09776
0.09776
0.065173
0.089613
0
0
0
0
0
0
0.012195
0.149157
771
48
125
16.0625
0.73628
0.027237
0
0
0
0
0.123306
0
0
0
0
0
0.095238
1
0.190476
false
0
0.190476
0
0.428571
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
2fbf7f011904cba5b1dd2d9a8b76bf67ae5b7a0e
5,955
py
Python
Gallery/views.py
CiganOliviu/InfiniteShoot
14f7fb21e360e3c58876d82ebbe206054c72958e
[ "MIT" ]
1
2021-04-02T16:45:37.000Z
2021-04-02T16:45:37.000Z
Gallery/views.py
CiganOliviu/InfiniteShoot-1
6322ae34f88caaffc1de29dfa4f6d86d175810a7
[ "Apache-2.0" ]
null
null
null
Gallery/views.py
CiganOliviu/InfiniteShoot-1
6322ae34f88caaffc1de29dfa4f6d86d175810a7
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin from django.shortcuts import render from django.urls import reverse from django.views import generic from django.views.generic.edit import FormMixin from .models import * from Gallery.form import ClientC...
37.21875
116
0.751637
718
5,955
5.82312
0.13649
0.091844
0.130112
0.126525
0.597226
0.478833
0.410428
0.376704
0.376704
0.329347
0
0.000607
0.170109
5,955
159
117
37.45283
0.845407
0
0
0.25
0
0
0.140218
0.093535
0
0
0
0
0
1
0.111111
false
0
0.074074
0.018519
0.398148
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
2fc03895160f2fd0bb43ba9092bb74994194db31
4,766
py
Python
kat/controller.py
TOT0RoKR/kat
5fafe688593a60700f1067ca51ec9d5f148a396e
[ "MIT" ]
3
2019-10-27T08:26:15.000Z
2019-11-26T12:23:38.000Z
kat/controller.py
tot0rokr/kat
5fafe688593a60700f1067ca51ec9d5f148a396e
[ "MIT" ]
null
null
null
kat/controller.py
tot0rokr/kat
5fafe688593a60700f1067ca51ec9d5f148a396e
[ "MIT" ]
1
2020-01-25T00:14:51.000Z
2020-01-25T00:14:51.000Z
from kat.lib.tag import Tag from kat.lib.file import File from kat.lib.scope import Scope from kat.tracer import ccscanner as ccs from kat.tracer import ccparser as ccp from kat.tracer import ppscanner as pps from kat.tracer import ppparser as ppp from kat.ui.tabpage import * import kat.ui.filetree as ft import kat.ui....
29.974843
78
0.610575
619
4,766
4.578352
0.198708
0.042343
0.050459
0.028229
0.37156
0.304164
0.255469
0.184898
0.166549
0.166549
0
0.007345
0.257239
4,766
158
79
30.164557
0.79322
0.051616
0
0.338462
0
0
0.065824
0
0
0
0
0
0.007692
1
0.038462
false
0.015385
0.123077
0
0.2
0.007692
0
0
0
null
0
0
0
0
0
0
0
0
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
2fc3d10c1bf1b8fbca3ca021751b16b83e1a9d1e
7,709
py
Python
plotMO_deg.py
landyion/plotMO
8de33b925223a170a33fdea7a5645ff64d6638d5
[ "MIT" ]
null
null
null
plotMO_deg.py
landyion/plotMO
8de33b925223a170a33fdea7a5645ff64d6638d5
[ "MIT" ]
null
null
null
plotMO_deg.py
landyion/plotMO
8de33b925223a170a33fdea7a5645ff64d6638d5
[ "MIT" ]
1
2020-05-05T08:16:19.000Z
2020-05-05T08:16:19.000Z
#!/usr/bin/python2.7 # Create the gnuplot script for MO energy diagrams # This script is released under MIT license. # Usage: plotMO.py <datefile> > <tol> # Date file structure: # 1) different molecules diveded by blank line, # 2) for each molecule section, start with molecule name # 3) second line for HOMO number...
27.144366
126
0.592035
954
7,709
4.774633
0.331237
0.019319
0.030296
0.021734
0.147969
0.094621
0.094621
0.094621
0.094621
0.081229
0
0.023677
0.276819
7,709
283
127
27.240283
0.793363
0.393177
0
0.291925
0
0.006211
0.145908
0.014838
0
0
0
0
0
0
null
null
0
0.006211
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2fc44e44de4fa82a33eba71af9e9f0b7407fba0b
2,024
py
Python
apps/hq/tests/auth.py
commtrack/commtrack-old-to-del
cc9c22754ac192a45483cef609bdcf09aa990340
[ "BSD-3-Clause" ]
1
2017-05-19T07:23:00.000Z
2017-05-19T07:23:00.000Z
apps/hq/tests/auth.py
commtrack/commtrack-old-to-del
cc9c22754ac192a45483cef609bdcf09aa990340
[ "BSD-3-Clause" ]
null
null
null
apps/hq/tests/auth.py
commtrack/commtrack-old-to-del
cc9c22754ac192a45483cef609bdcf09aa990340
[ "BSD-3-Clause" ]
null
null
null
import hashlib from django.test import TestCase from django.test.client import Client from hq.models import ExtUser, Domain, Organization, ReporterProfile from hq.tests.util import create_user_and_domain from receiver.models import Submission from reporters.models import Reporter class AuthenticationTestCase(TestCase)...
49.365854
166
0.623518
220
2,024
5.65
0.454545
0.040225
0.045052
0.030571
0.06436
0.06436
0
0
0
0
0
0.023923
0.277174
2,024
40
167
50.6
0.825701
0.139328
0
0
0
0.030303
0.1326
0.064852
0
0
0
0
0.030303
1
0.090909
false
0.121212
0.212121
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
1
0
0
0
0
0
1
2fc482b29b5ed517acbe06792cf699b040d68832
7,015
py
Python
corehq/apps/data_interfaces/utils.py
andyasne/commcare-hq
c59a24e57bdd4d2536493f9ecdcc9906f4ae1b88
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/apps/data_interfaces/utils.py
andyasne/commcare-hq
c59a24e57bdd4d2536493f9ecdcc9906f4ae1b88
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/apps/data_interfaces/utils.py
andyasne/commcare-hq
c59a24e57bdd4d2536493f9ecdcc9906f4ae1b88
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
from typing import List, Optional from django.utils.translation import ugettext as _ from couchdbkit import ResourceNotFound from soil import DownloadBase from corehq.apps.casegroups.models import CommCareCaseGroup from corehq.apps.hqcase.utils import get_case_by_identifier from corehq.form_processor.interfaces.dba...
33.564593
115
0.606557
771
7,015
5.285344
0.217899
0.029448
0.039264
0.020614
0.242454
0.211043
0.16638
0.132515
0.113865
0.090307
0
0.002015
0.292373
7,015
208
116
33.725962
0.818896
0.00727
0
0.327381
0
0
0.149691
0
0
0
0
0
0
1
0.035714
false
0
0.059524
0.005952
0.172619
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
2fc4fb97dec276ac9c856a99d96ed1184a3ff45c
4,725
py
Python
category_prediction/evalCategoryModel.py
jakelever/corona-ml
8ceb22af50d7277ebf05f2fd21bbbf68c080ed76
[ "MIT" ]
7
2021-02-01T22:39:23.000Z
2021-08-09T16:28:38.000Z
category_prediction/evalCategoryModel.py
jakelever/corona-ml
8ceb22af50d7277ebf05f2fd21bbbf68c080ed76
[ "MIT" ]
1
2021-05-17T13:14:40.000Z
2021-05-20T10:26:09.000Z
category_prediction/evalCategoryModel.py
jakelever/corona-ml
8ceb22af50d7277ebf05f2fd21bbbf68c080ed76
[ "MIT" ]
1
2021-01-04T14:11:18.000Z
2021-01-04T14:11:18.000Z
import argparse import json import sys from sklearn.model_selection import train_test_split from sklearn.preprocessing import MultiLabelBinarizer import sklearn.metrics from coronacode import DocumentClassifier def main(): parser = argparse.ArgumentParser('Build a model for a classifier') parser.add_argument('-...
35.526316
148
0.729735
721
4,725
4.571429
0.209431
0.024272
0.016384
0.014867
0.168386
0.134102
0.118325
0.069175
0.053398
0.053398
0
0.012364
0.126984
4,725
132
149
35.795455
0.786667
0.084444
0
0.072289
0
0
0.171296
0.033796
0
0
0
0
0.012048
1
0.012048
false
0
0.084337
0
0.096386
0.168675
0
0
0
null
0
0
0
0
0
0
0
0
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
2fc5e09486ca793c293ae78afb5fd7c1bcc6bbb2
1,930
py
Python
simple/cubes.py
sawantss/simple-cozmo
54c85d7a42e351616edfc19ea000c94b3eee47f4
[ "Apache-2.0" ]
1
2019-10-19T22:03:33.000Z
2019-10-19T22:03:33.000Z
simple/cubes.py
sawantss/simple-cozmo
54c85d7a42e351616edfc19ea000c94b3eee47f4
[ "Apache-2.0" ]
null
null
null
simple/cubes.py
sawantss/simple-cozmo
54c85d7a42e351616edfc19ea000c94b3eee47f4
[ "Apache-2.0" ]
null
null
null
""" This class makes it easier to deal with cube tapped events in a procedural way using if statements. """ from __future__ import with_statement __all__ = ["LightCubesEventsSerializer"] __author__ = "Shitalkumar Sawant" __copyright__ = "Copyright(c) 2018 All rights reserved" from threading import Lock import cozmo...
31.129032
99
0.672021
265
1,930
4.615094
0.366038
0.07359
0.040065
0.044154
0.133279
0.100572
0.04906
0.04906
0
0
0
0.015007
0.240415
1,930
61
100
31.639344
0.819236
0.051295
0
0.054054
0
0
0.084482
0.015578
0
0
0
0
0
1
0.162162
false
0
0.135135
0.027027
0.459459
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
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
2fc616d3f84483fe97876ef204e5c1ea508cf80c
7,771
py
Python
test/test_basic.py
brunoginciene/mergin-db-sync
0126e952df0e290ce503629b9831fbd1623edf7e
[ "MIT" ]
null
null
null
test/test_basic.py
brunoginciene/mergin-db-sync
0126e952df0e290ce503629b9831fbd1623edf7e
[ "MIT" ]
null
null
null
test/test_basic.py
brunoginciene/mergin-db-sync
0126e952df0e290ce503629b9831fbd1623edf7e
[ "MIT" ]
null
null
null
import pytest import os import shutil import sqlite3 import tempfile import psycopg2 from mergin import MerginClient, ClientError import sys sys.path.insert(0, '/home/martin/lutra/mergin-db-sync') from dbsync import dbsync_init, dbsync_pull, dbsync_push, dbsync_status, config GEODIFFINFO_EXE = os.environ.get('TES...
34.847534
111
0.713808
1,143
7,771
4.633421
0.167979
0.049849
0.030211
0.024169
0.545128
0.510385
0.487915
0.487538
0.480929
0.456193
0
0.005991
0.18376
7,771
222
112
35.004505
0.828945
0.245528
0
0.476563
0
0.007813
0.187435
0.046467
0
0
0
0
0.078125
1
0.054688
false
0.03125
0.070313
0
0.132813
0.039063
0
0
0
null
0
0
0
0
0
0
0
0
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
2fc6dec78a4c6244e5db1d19faef976eaab1b58b
20,773
py
Python
code/ARAX/ARAXQuery/Expand/bte_querier.py
MayankMurali/RTX
7d86305fb654c013c5ed2450dfe222f8666bfab2
[ "MIT" ]
null
null
null
code/ARAX/ARAXQuery/Expand/bte_querier.py
MayankMurali/RTX
7d86305fb654c013c5ed2450dfe222f8666bfab2
[ "MIT" ]
null
null
null
code/ARAX/ARAXQuery/Expand/bte_querier.py
MayankMurali/RTX
7d86305fb654c013c5ed2450dfe222f8666bfab2
[ "MIT" ]
null
null
null
#!/bin/env python3 import sys import os import traceback import asyncio from biothings_explorer.user_query_dispatcher import SingleEdgeQueryDispatcher sys.path.append(os.path.dirname(os.path.abspath(__file__))+"/../../UI/OpenAPI/python-flask-server/") from swagger_server.models.node import Node from swagger_server.mo...
60.211594
140
0.620854
2,670
20,773
4.500749
0.146442
0.023966
0.017475
0.022468
0.397603
0.293917
0.217276
0.169843
0.124906
0.121994
0
0.000547
0.296154
20,773
344
141
60.386628
0.821353
0.090983
0
0.1875
0
0.007353
0.163779
0.035445
0
0
0
0.002907
0
1
0.044118
false
0
0.029412
0
0.161765
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
2fc91778fcd42d41ff8ba864c167436b5a44ede5
1,679
py
Python
utilities/test_DFT.py
matter-labs-archive/belle_cuda
36c48708920e0ae0a43539f4476312649bbefc97
[ "Apache-2.0" ]
2
2021-03-03T19:09:04.000Z
2021-11-23T22:13:52.000Z
utilities/test_DFT.py
matter-labs-archive/belle_cuda
36c48708920e0ae0a43539f4476312649bbefc97
[ "Apache-2.0" ]
null
null
null
utilities/test_DFT.py
matter-labs-archive/belle_cuda
36c48708920e0ae0a43539f4476312649bbefc97
[ "Apache-2.0" ]
3
2021-08-21T07:50:12.000Z
2022-03-20T17:59:47.000Z
#FFT p = 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001 field = GF(p) R = field(0xe0a77c19a07df2f666ea36f7879462e36fc76959f60cd29ac96341c4ffffffb) root_of_unity = field(0x1860ef942963f9e756452ac01eb203d8a22bf3742445ffd6636e735580d13d9c) / R FILE_LOCATION = "/home/k/TestCuda3/benches.txt" unity_ord...
20.9875
93
0.627755
223
1,679
4.533632
0.327354
0.063304
0.047478
0.059347
0.136499
0.061325
0.061325
0.061325
0.061325
0.061325
0
0.119125
0.265039
1,679
79
94
21.253165
0.700162
0.058368
0
0.044444
0
0
0.034854
0.018378
0
0
0.127376
0
0
0
null
null
0
0
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
2fc96bd9749d33c45053ca208a6959e1316c8c1b
320
py
Python
zhaquirks/linkind/__init__.py
Siglis-AG/zha-device-handlers
2e8d6a117fbc1bec50cad463a8a2dcf948588838
[ "Apache-2.0" ]
56
2018-12-07T19:45:36.000Z
2020-03-30T15:01:58.000Z
zhaquirks/linkind/__init__.py
Siglis-AG/zha-device-handlers
2e8d6a117fbc1bec50cad463a8a2dcf948588838
[ "Apache-2.0" ]
207
2018-12-07T20:34:30.000Z
2020-04-03T11:50:39.000Z
zhaquirks/linkind/__init__.py
Siglis-AG/zha-device-handlers
2e8d6a117fbc1bec50cad463a8a2dcf948588838
[ "Apache-2.0" ]
65
2018-12-08T01:11:41.000Z
2020-03-24T18:23:17.000Z
"""Linkind sensors.""" from zigpy.quirks import CustomCluster import zigpy.types as t from zigpy.zcl.clusters.general import Basic class LinkindBasicCluster(CustomCluster, Basic): """Linkind Basic cluster.""" attributes = Basic.attributes.copy() attributes.update({0x0400A: ("linkind", t.uint8_t, True)})
26.666667
62
0.740625
38
320
6.210526
0.605263
0.076271
0
0
0
0
0
0
0
0
0
0.021583
0.13125
320
11
63
29.090909
0.827338
0.121875
0
0
0
0
0.025926
0
0
0
0.025926
0
0
1
0
false
0
0.5
0
0.833333
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
2fc9f7217040262d94ce5133df432d66dd60db6a
48
py
Python
src/ui/menus.py
KathTheDragon/spindizzy-client
7ad7c5b330e707ab40fa572c2c25049959544d11
[ "MIT" ]
null
null
null
src/ui/menus.py
KathTheDragon/spindizzy-client
7ad7c5b330e707ab40fa572c2c25049959544d11
[ "MIT" ]
null
null
null
src/ui/menus.py
KathTheDragon/spindizzy-client
7ad7c5b330e707ab40fa572c2c25049959544d11
[ "MIT" ]
null
null
null
import tkinter as tk def menubar(ui): pass
9.6
20
0.6875
8
48
4.125
1
0
0
0
0
0
0
0
0
0
0
0
0.25
48
4
21
12
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0.333333
0
0.666667
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
1
0
1
1
0
1
0
0
7
2fcabbf4dd03d68a4332042abb2b0e3d729ffc0b
2,088
py
Python
filehandling.py
theambidextrous/py-learn-trail
33283d29862654972edaab5baf318ae7298e6f76
[ "Apache-2.0" ]
null
null
null
filehandling.py
theambidextrous/py-learn-trail
33283d29862654972edaab5baf318ae7298e6f76
[ "Apache-2.0" ]
null
null
null
filehandling.py
theambidextrous/py-learn-trail
33283d29862654972edaab5baf318ae7298e6f76
[ "Apache-2.0" ]
null
null
null
### FILE HADLING ############# ## File OPen """" Use open() to manipulate files. Open() function takes two parameters; filename, and mode. There are four different methods (modes) for opening a file: =================================================================== "r" - Read - Default value. Opens a file for reading...
34.229508
120
0.534962
270
2,088
4.137037
0.4
0.037601
0.044763
0.058192
0.14145
0.128021
0.128021
0.053715
0
0
0
0.00111
0.137452
2,088
60
121
34.8
0.619101
0.440613
0
0.48
0
0
0.556818
0.378409
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0.4
0
0
0
null
0
0
0
0
0
0
0
0
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
2fcb5b1b96a29a0e18900da614e07c230a2d10b4
5,046
py
Python
train_utils.py
mengcz13/pytorch_training_toolbox
fae446b53d687248c7cf4667b45530b6a9676f43
[ "MIT" ]
null
null
null
train_utils.py
mengcz13/pytorch_training_toolbox
fae446b53d687248c7cf4667b45530b6a9676f43
[ "MIT" ]
null
null
null
train_utils.py
mengcz13/pytorch_training_toolbox
fae446b53d687248c7cf4667b45530b6a9676f43
[ "MIT" ]
null
null
null
import os import sys import socket import time import argparse import pickle import datetime import multiprocessing import numpy as np import torch import torch.optim as optim import torch.nn.functional as torchF from torch.optim import lr_scheduler from torch.utils.data import DataLoader import torch.multiprocessing...
36.565217
169
0.652794
669
5,046
4.763827
0.306428
0.033888
0.018826
0.032005
0.213681
0.187951
0.136806
0.127393
0.106056
0.077816
0
0.002104
0.246334
5,046
138
170
36.565217
0.835919
0.291518
0
0.214286
0
0
0.053444
0
0
0
0
0
0
1
0.081633
false
0
0.153061
0
0.306122
0.030612
0
0
0
null
0
0
0
0
0
0
0
0
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
2fcdd52a443fa79c19be95378dac193232845c7f
2,684
py
Python
helloworld.py
sungwon89/starter
8da98db4275ed149ada7b72a768cf55f36241284
[ "Apache-2.0" ]
null
null
null
helloworld.py
sungwon89/starter
8da98db4275ed149ada7b72a768cf55f36241284
[ "Apache-2.0" ]
null
null
null
helloworld.py
sungwon89/starter
8da98db4275ed149ada7b72a768cf55f36241284
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python ##################################### # Name : Daily Check # Language : Python # Create date : 2017.03.23 # Version : 0.1 ###################################### import csv import platform import commands ###################################### # Variables # 0. System_ENV # 1. SyslogChecke...
27.670103
117
0.596125
281
2,684
5.505338
0.373665
0.036199
0.023271
0.032967
0.102133
0.102133
0.102133
0.043956
0
0
0
0.012591
0.230626
2,684
96
118
27.958333
0.736562
0.134128
0
0.135593
0
0
0.101624
0.025986
0
0
0
0
0
0
null
null
0
0.050847
null
null
0.033898
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2fcee79f2e3618a6a53efa3b80dd76c30155b9ef
140
py
Python
ExPython/CursoemVideo/ex030.py
MatheusEwen/Exercicios_Do_CursoDePython
7c21f95f0d31ec1e6c17e1b957c1442843118c48
[ "MIT" ]
1
2020-10-06T00:27:05.000Z
2020-10-06T00:27:05.000Z
ExPython/CursoemVideo/ex030.py
MatheusEwen/Exercicios_Do_CursoDePython
7c21f95f0d31ec1e6c17e1b957c1442843118c48
[ "MIT" ]
null
null
null
ExPython/CursoemVideo/ex030.py
MatheusEwen/Exercicios_Do_CursoDePython
7c21f95f0d31ec1e6c17e1b957c1442843118c48
[ "MIT" ]
null
null
null
import math n = int(input('Digite um número:')) resul = n % 2 if resul == 0: print('O número é par') else: print('O número é impar')
20
35
0.614286
25
140
3.44
0.72
0.139535
0.27907
0.302326
0
0
0
0
0
0
0
0.018519
0.228571
140
7
36
20
0.777778
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2fcf43e4ac6a474d5fc5c5ee29da212ada27726d
933
py
Python
exercicios/Exercicios Diversos/ex026.py
Roberto-Sartore/Python
98f91f13cf78d761893c4a1f3264ed999244d32b
[ "MIT" ]
null
null
null
exercicios/Exercicios Diversos/ex026.py
Roberto-Sartore/Python
98f91f13cf78d761893c4a1f3264ed999244d32b
[ "MIT" ]
null
null
null
exercicios/Exercicios Diversos/ex026.py
Roberto-Sartore/Python
98f91f13cf78d761893c4a1f3264ed999244d32b
[ "MIT" ]
null
null
null
"""Faça um programa que pergunte o preço de três produtos e informe qual produto você deve comprar, sabendo que a decisão é sempre pelo mais barato""" p1 = float(input('Digite a 1º valor R$ : ').replace(',', '.')) p2 = float(input('Digite a 2º valor R$ : ').replace(',', '.')) p3 = float(input('Digite a 3º valor R$ : ...
34.555556
99
0.620579
167
933
3.467066
0.341317
0.062176
0.134715
0.088083
0.343696
0.214162
0.151986
0
0
0
0
0.059238
0.240086
933
26
100
35.884615
0.757405
0.219721
0
0
0
0
0.418056
0
0
0
0
0.038462
0
1
0
false
0
0
0
0
0.411765
0
0
0
null
0
0
0
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
1
0
2
2fd0cfd1e79c1ace8d687b73297ea9d7a24a0964
79
py
Python
pdr/__init__.py
jmzhao/CS704-asn3
95020c5198e50d520f34e51dbc77e195c06e6473
[ "MIT" ]
null
null
null
pdr/__init__.py
jmzhao/CS704-asn3
95020c5198e50d520f34e51dbc77e195c06e6473
[ "MIT" ]
1
2016-05-14T04:08:55.000Z
2016-05-14T07:20:30.000Z
pdr/__init__.py
jmzhao/CS704-asn3
95020c5198e50d520f34e51dbc77e195c06e6473
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @author: jmzhao """ from pdr import * import test
11.285714
23
0.56962
10
79
4.5
0.9
0
0
0
0
0
0
0
0
0
0
0.015873
0.202532
79
7
24
11.285714
0.698413
0.481013
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
0
5
2fd3ac7c1ba41bd5ab199c3429b9b16299c4d677
3,677
py
Python
get_images.py
agnes-yang/firecam
9282d1b5b83be3abf6a137f7a72c090a9eca05f6
[ "Apache-2.0" ]
10
2019-12-19T02:37:33.000Z
2021-12-07T04:47:08.000Z
get_images.py
agnes-yang/firecam
9282d1b5b83be3abf6a137f7a72c090a9eca05f6
[ "Apache-2.0" ]
5
2019-10-27T23:22:52.000Z
2020-02-13T23:08:15.000Z
get_images.py
agnes-yang/firecam
9282d1b5b83be3abf6a137f7a72c090a9eca05f6
[ "Apache-2.0" ]
13
2019-09-24T18:53:24.000Z
2021-07-16T05:57:18.000Z
# Copyright 2018 The Fuego Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
39.537634
144
0.689421
447
3,677
5.61745
0.438479
0.023895
0.010354
0.012744
0.044604
0.044604
0.044604
0.044604
0.044604
0.044604
0
0.015862
0.19418
3,677
92
145
39.967391
0.83159
0.226815
0
0.064516
0
0.048387
0.173111
0
0
0
0
0
0.080645
1
0.016129
false
0.016129
0.145161
0
0.16129
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
2fd4b59a4281b93484f61543a3964063cbea187d
2,578
py
Python
run_compile_all_cython.py
SamanFekri/BookRecommendation
07dfa875154af39546cb263d4407339ce26d47e8
[ "MIT" ]
null
null
null
run_compile_all_cython.py
SamanFekri/BookRecommendation
07dfa875154af39546cb263d4407339ce26d47e8
[ "MIT" ]
null
null
null
run_compile_all_cython.py
SamanFekri/BookRecommendation
07dfa875154af39546cb263d4407339ce26d47e8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on 30/03/2019 @author: Maurizio Ferrari Dacrema """ import sys, glob, traceback, os from CythonCompiler.run_compile_subprocess import run_compile_subprocess if __name__ == '__main__': # cython_file_list = glob.glob('**/*.pyx', recursive=True) subf...
28.644444
137
0.643134
324
2,578
4.762346
0.333333
0.081659
0.072586
0.062216
0.207388
0.17628
0.139987
0.08814
0.08814
0.08814
0
0.008024
0.226532
2,578
90
138
28.644444
0.765797
0.074864
0
0.215686
0
0
0.194105
0.048842
0
0
0
0
0
1
0
false
0.019608
0.039216
0
0.039216
0.137255
0
0
0
null
0
0
0
0
0
0
0
0
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
2fd7e97342ba7ba70c0c1d034f2b6f659e0d93a5
3,822
py
Python
python/table_bandits.py
lbiester/gem5
21e2743f0d71c7f729f1ce799ec6e73c13a2eaba
[ "BSD-3-Clause" ]
null
null
null
python/table_bandits.py
lbiester/gem5
21e2743f0d71c7f729f1ce799ec6e73c13a2eaba
[ "BSD-3-Clause" ]
null
null
null
python/table_bandits.py
lbiester/gem5
21e2743f0d71c7f729f1ce799ec6e73c13a2eaba
[ "BSD-3-Clause" ]
null
null
null
import random import numpy as np from scipy.stats import bernoulli # TODO: how best to assign rewards? Should "too soon" of use be penalized? Should max reward be > 1? # what if something is used twice? Shouldn't this increase reward? for now no extra reward is given class ContextBandit: def __init__(self, state...
52.356164
125
0.674254
524
3,822
4.717557
0.276718
0.029126
0.034385
0.037217
0.245146
0.199434
0.165858
0.104369
0.065534
0.065534
0
0.005577
0.249346
3,822
72
126
53.083333
0.856047
0.236264
0
0.074074
0
0
0
0
0
0
0
0.013889
0.018519
1
0.074074
false
0
0.055556
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
1
0
0
0
0
0
0
0
0
0
0
1
2fd84b89ad959d00f7cb28ec23fef9355fc7136b
1,473
py
Python
angr/procedures/posix/getenv.py
BA7JCM/angr
187a713c35759d998d93dfc5280630976d42d717
[ "BSD-2-Clause" ]
null
null
null
angr/procedures/posix/getenv.py
BA7JCM/angr
187a713c35759d998d93dfc5280630976d42d717
[ "BSD-2-Clause" ]
null
null
null
angr/procedures/posix/getenv.py
BA7JCM/angr
187a713c35759d998d93dfc5280630976d42d717
[ "BSD-2-Clause" ]
null
null
null
import angr ###################################### # getenv ###################################### class getenv(angr.SimProcedure): ''' The getenv() function searches the environment list to find the environment variable name, and returns a pointer to the corresponding value string. ''' #pylin...
39.810811
120
0.596062
199
1,473
4.236181
0.386935
0.117438
0.071174
0.067616
0.207592
0.180308
0.066429
0
0
0
0
0.005357
0.239647
1,473
36
121
40.916667
0.747321
0.126273
0
0
0
0
0.035413
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2fd88f709bdb101553b7e313c87147a9ef4f3e60
1,571
py
Python
pyblaze/utils/examples/normalizing_flows.py
Greenroom-Robotics/pyblaze
e45e27fbd400b6ae2365ad2347165c7b5154ac51
[ "MIT" ]
20
2020-03-29T08:43:15.000Z
2021-12-17T21:38:17.000Z
pyblaze/utils/examples/normalizing_flows.py
borchero/bxtorch
8d01568c8ee9fc05f5b3c84ca3ec68ea74eef9eb
[ "MIT" ]
4
2020-10-27T20:43:40.000Z
2021-04-29T12:19:39.000Z
pyblaze/utils/examples/normalizing_flows.py
borchero/bxtorch
8d01568c8ee9fc05f5b3c84ca3ec68ea74eef9eb
[ "MIT" ]
2
2020-08-16T18:10:49.000Z
2021-03-31T23:17:28.000Z
# pylint: disable=missing-docstring import torch import torch.optim as optim from torch.utils.data.dataset import TensorDataset import matplotlib.pyplot as plt import pyblaze.nn as xnn import pyblaze.plot as P def train(engine, data, lr=1e-2, epochs=1000): data_ = torch.as_tensor(data, dtype=torch.float) # pyl...
29.092593
100
0.615532
206
1,571
4.621359
0.456311
0.016807
0.015756
0.021008
0.072479
0.008403
0
0
0
0
0
0.029851
0.232336
1,571
53
101
29.641509
0.759536
0.037556
0
0.095238
0
0
0.033135
0.016567
0
0
0
0
0
1
0.047619
false
0
0.142857
0
0.214286
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
2fd8994fcfe97d0f5782b8f01e1cbbee48079342
4,896
py
Python
pracnbastats/team.py
practicallypredictable/pracnbstats
55cd6e285394686a62f3d1535a5b3468cd5410ea
[ "MIT" ]
null
null
null
pracnbastats/team.py
practicallypredictable/pracnbstats
55cd6e285394686a62f3d1535a5b3468cd5410ea
[ "MIT" ]
null
null
null
pracnbastats/team.py
practicallypredictable/pracnbstats
55cd6e285394686a62f3d1535a5b3468cd5410ea
[ "MIT" ]
null
null
null
import numpy as np from . import params from . import scrape from . import utils from . import league class BoxScores(league.BoxScores): def __init__( self, *, scraper, season=params.Season.default(), season_type=params.SeasonType.default(), date_from=params.DateFro...
30.409938
70
0.500817
483
4,896
4.795031
0.250518
0.044905
0.01943
0.015544
0.143782
0.050086
0.050086
0.050086
0.050086
0
0
0.000975
0.371324
4,896
160
71
30.6
0.751462
0.005515
0
0.137255
0
0
0.120814
0
0
0
0
0
0
1
0.026144
false
0
0.03268
0
0.078431
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
2fd9979293758751fadd18729d122db6a313068a
2,192
py
Python
anaf/changes/urls.py
tovmeod/anaf
80e4a00532ce6f4ce76c5ffc858ff90c759a9879
[ "BSD-3-Clause" ]
2
2016-03-15T13:17:26.000Z
2017-03-22T15:39:01.000Z
anaf/changes/urls.py
tovmeod/anaf
80e4a00532ce6f4ce76c5ffc858ff90c759a9879
[ "BSD-3-Clause" ]
4
2021-03-19T21:42:58.000Z
2022-03-11T23:13:07.000Z
anaf/changes/urls.py
tovmeod/anaf
80e4a00532ce6f4ce76c5ffc858ff90c759a9879
[ "BSD-3-Clause" ]
4
2016-08-31T16:55:41.000Z
2020-04-22T18:48:54.000Z
""" Change Control module URLs """ from django.conf.urls import url, patterns from anaf.changes import views urlpatterns = patterns('anaf.changes.views', url(r'^(\.(?P<response_format>\w+))?$', views.index, name='changes_index'), url(r'^owned(\.(?P<response_format>\w+))?$...
57.684211
120
0.485858
237
2,192
4.257384
0.14346
0.051536
0.193261
0.206145
0.393459
0.393459
0.20218
0.20218
0.20218
0.20218
0
0
0.320712
2,192
37
121
59.243243
0.677636
0.02281
0
0
0
0
0.422608
0.342402
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
0
0
0
0
0
0
0
2
2fda17987d3e3d4eee33a6885696e3d642ef4b29
336
py
Python
app/editor/migrations/0004_auto_20190809_1728.py
sappachok/django-anaconda
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
null
null
null
app/editor/migrations/0004_auto_20190809_1728.py
sappachok/django-anaconda
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
7
2019-12-06T05:34:28.000Z
2021-06-10T18:25:17.000Z
app/editor/migrations/0004_auto_20190809_1728.py
sappachok/django-datasci
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-09 17:28 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('editor', '0003_auto_20190809_1724'), ] operations = [ migrations.RenameModel( old_name='PythonLabs', new_name='PythonLab', ...
18.666667
47
0.60119
36
336
5.472222
0.833333
0
0
0
0
0
0
0
0
0
0
0.129707
0.28869
336
17
48
19.764706
0.694561
0.133929
0
0
1
0
0.16609
0.079585
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2fde19d1fd4d8c645e2a58569add1946141ead92
3,429
py
Python
aishell/prepare_data.py
luweishuang/GSoC-2019-ASR-Pipeline
db43575418d57711e8be2ea83c32b931b90fa814
[ "MIT" ]
1
2019-12-25T03:37:01.000Z
2019-12-25T03:37:01.000Z
aishell/prepare_data.py
luweishuang/GSoC-2019-ASR-Pipeline
db43575418d57711e8be2ea83c32b931b90fa814
[ "MIT" ]
null
null
null
aishell/prepare_data.py
luweishuang/GSoC-2019-ASR-Pipeline
db43575418d57711e8be2ea83c32b931b90fa814
[ "MIT" ]
1
2020-03-20T07:59:37.000Z
2020-03-20T07:59:37.000Z
""" Command : prepare_data.py --src [...] --dst [...] """ import argparse import os import sys from tqdm import tqdm def findaudiofiles(dir): files = [] for dirpath, _, filenames in os.walk(dir): for filename in filenames: if filename.endswith(".wav"): files.append(os.path....
29.560345
89
0.580927
443
3,429
4.417607
0.316027
0.030659
0.030659
0.018396
0.100664
0.043945
0.022483
0.022483
0
0
0
0.004736
0.261009
3,429
115
90
29.817391
0.767561
0.083115
0
0.038961
0
0
0.130838
0.012156
0
0
0
0
0.025974
1
0.025974
false
0
0.051948
0
0.116883
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
2fdee606c545c725c7021d340c2c47cba95c6f8a
5,317
py
Python
server/config.py
BlankDAO/user-dashboard
b94e82366aeafab9aa08ed523f06e8ea6682f7a5
[ "BSD-2-Clause" ]
3
2019-03-10T06:07:39.000Z
2019-04-08T12:52:58.000Z
server/config.py
BlankDAO/user-dashboard
b94e82366aeafab9aa08ed523f06e8ea6682f7a5
[ "BSD-2-Clause" ]
null
null
null
server/config.py
BlankDAO/user-dashboard
b94e82366aeafab9aa08ed523f06e8ea6682f7a5
[ "BSD-2-Clause" ]
null
null
null
def Obj(): return lambda: None INFURA_URL = 'https://mainnet.infura.io/v3/81a17a01107e4ac9bf8a556da267ae2d' BLANKDAO_PUBLIC_KEY = '117f893e-9184-427a-892c-6993e88981f0' BLANK_TOKEN_ABI = '[{"constant": true, "inputs": [], "name": "mintingFinished", "outputs": [{"name": "", "type": "bool"}], "payable": false,...
231.173913
4,861
0.595637
504
5,317
6.22619
0.180556
0.063735
0.16348
0.11791
0.7645
0.700446
0.67304
0.640535
0.612492
0.543658
0
0.025835
0.10457
5,317
22
4,862
241.681818
0.63327
0
0
0
0
0.071429
0.949764
0.023041
0
0
0.007932
0
0
1
0.071429
false
0
0
0.071429
0.071429
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2fdfd7c8de26fc11a29c348de139d64a9c7837bf
1,034
py
Python
bin/analytic/catalog/regressor.py
DarkEnergyScienceCollaboration/chroma
64fc123a065334b307654f29b3bea52885b46ec8
[ "BSD-2-Clause", "BSD-3-Clause" ]
3
2015-10-22T14:57:27.000Z
2016-08-25T08:16:02.000Z
bin/analytic/catalog/regressor.py
DarkEnergyScienceCollaboration/chroma
64fc123a065334b307654f29b3bea52885b46ec8
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2017-08-28T14:42:46.000Z
2017-08-28T16:08:37.000Z
bin/analytic/catalog/regressor.py
DarkEnergyScienceCollaboration/chroma
64fc123a065334b307654f29b3bea52885b46ec8
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
""" Simple wrapper for sklearn regession classes that scales features to have zero mean and unit variance. Can also easily unscale features of predicted data. """ import numpy as np class regress(): def __init__(self, regressor): self.regressor = regressor def add_training_data(self, train_X, train_...
36.928571
90
0.689555
167
1,034
3.946108
0.275449
0.259484
0.151745
0.113809
0.254932
0.084977
0.084977
0.084977
0.084977
0
0
0.002472
0.217602
1,034
27
91
38.296296
0.812114
0.149903
0
0
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0
0.368421
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
1
0
0
0
0
0
0
0
2
2fe14f420e86345764e26b8b68fa3a9d231ede94
7,717
py
Python
ddpg.py
fengredrum/DDPG-v2
78d7bfbedb52b4dec76d2723f4e5d04d340f1275
[ "MIT" ]
3
2018-12-26T09:33:30.000Z
2020-04-22T12:11:30.000Z
ddpg.py
fengredrum/DDPG-v2
78d7bfbedb52b4dec76d2723f4e5d04d340f1275
[ "MIT" ]
null
null
null
ddpg.py
fengredrum/DDPG-v2
78d7bfbedb52b4dec76d2723f4e5d04d340f1275
[ "MIT" ]
1
2018-12-20T08:19:08.000Z
2018-12-20T08:19:08.000Z
import time import numpy as np from replayBuffer import Memory from network import * class DDPG: """docstring for DDPG""" def __init__(self, sess, env, args): self.s_dim = env.observation_space.shape[0] self.act_dim = env.action_space.shape[0] self.sess = sess self.args = args...
51.791946
120
0.621485
1,022
7,717
4.446184
0.181018
0.035651
0.017606
0.029269
0.387544
0.25132
0.193222
0.18794
0.166813
0.109155
0
0.008487
0.267073
7,717
148
121
52.141892
0.794908
0.041208
0
0.078125
0
0
0.019093
0
0
0
0
0
0
1
0.070313
false
0
0.03125
0
0.117188
0.007813
0
0
0
null
0
0
0
0
0
0
0
0
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
2fe4fadf475b13cfb0692513254c3cb049b9b1c5
3,025
py
Python
chainlet_unittests/test_grammar/test_subscription.py
maxfischer2781/chainlet
4e17f9992b4780bd0d9309202e2847df640bffe8
[ "MIT" ]
1
2017-11-22T21:23:34.000Z
2017-11-22T21:23:34.000Z
chainlet_unittests/test_grammar/test_subscription.py
maxfischer2781/chainlet
4e17f9992b4780bd0d9309202e2847df640bffe8
[ "MIT" ]
10
2017-02-16T16:20:09.000Z
2018-03-12T16:57:38.000Z
chainlet_unittests/test_grammar/test_subscription.py
maxfischer2781/chainlet
4e17f9992b4780bd0d9309202e2847df640bffe8
[ "MIT" ]
null
null
null
import itertools import unittest from chainlet.dataflow import MergeLink from chainlet_unittests.utility import Adder class ChainSubscription(unittest.TestCase): def test_pair(self): """Subscribe chain[i:j:k] for `a >> b`""" elements = [Adder(val) for val in (0, -2, -1E6)] for elements i...
44.485294
120
0.596364
347
3,025
5.0317
0.210375
0.178694
0.068729
0.060137
0.571019
0.44559
0.365979
0.306987
0.306987
0.292096
0
0.007878
0.286612
3,025
67
121
45.149254
0.801205
0.042975
0
0.425926
0
0
0.025009
0
0
0
0
0
0.203704
1
0.12963
false
0
0.074074
0.055556
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2fe84a2906f5bf097d1442024ee1714c19469089
2,727
py
Python
tests/test_rules.py
f213/richtypo.py
717cf4b640289c410b5ecddbd240d7cc818b8b68
[ "MIT" ]
9
2017-01-12T16:52:35.000Z
2020-11-08T19:08:34.000Z
tests/test_rules.py
f213/richtypo.py
717cf4b640289c410b5ecddbd240d7cc818b8b68
[ "MIT" ]
115
2018-06-12T20:48:09.000Z
2020-07-29T02:14:58.000Z
tests/test_rules.py
f213/richtypo.py
717cf4b640289c410b5ecddbd240d7cc818b8b68
[ "MIT" ]
1
2022-02-10T06:40:58.000Z
2022-02-10T06:40:58.000Z
# -*- coding: utf-8 import re import six from richtypo import Richtypo from richtypo.rules import ABRule, Rule try: from unittest.mock import patch except ImportError: from mock import patch def test_rule_generic(): r = Rule( pattern='b{2}', replacement='c' ) assert r.apply('abb...
20.350746
70
0.604327
364
2,727
4.337912
0.258242
0.048765
0.053198
0.032932
0.395187
0.372388
0.349588
0.349588
0.295124
0.243192
0
0.011341
0.256326
2,727
133
71
20.503759
0.767258
0.059406
0
0.382979
0
0
0.082482
0.042419
0
0
0
0
0.138298
1
0.117021
false
0
0.074468
0
0.191489
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
2fe8b058bff633879ee2bcceb0dc667d24109f50
786
py
Python
accounts/urls.py
UTpay/UTpay
5e43f07f9046781ab2b50ada3c3a022d13da1765
[ "MIT" ]
1
2017-11-04T20:33:04.000Z
2017-11-04T20:33:04.000Z
accounts/urls.py
UTpay/utpay
5e43f07f9046781ab2b50ada3c3a022d13da1765
[ "MIT" ]
7
2020-06-05T17:38:37.000Z
2022-03-11T23:17:27.000Z
accounts/urls.py
UTpay/UTpay
5e43f07f9046781ab2b50ada3c3a022d13da1765
[ "MIT" ]
null
null
null
from django.contrib.auth import views as auth_views from django.urls import path from .views import * app_name = 'accounts' urlpatterns = [ path('signup/', SignUpView.as_view(), name='signup'), path('activation/<key>/', ActivationView.as_view(), name='activation'), path('login/', auth_views.LoginView.as_v...
46.235294
96
0.717557
97
786
5.649485
0.350515
0.087591
0.109489
0.09854
0
0
0
0
0
0
0
0
0.100509
786
16
97
49.125
0.775106
0
0
0
0
0
0.270992
0.064886
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
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
2fe90b31573edf5975fb492298b9d7925da1286f
2,230
py
Python
Flight/RC Overrides/Forward Movement.py
MissouriMRR/DroneKit
979fc814c333db843252abe642dfb741613bfc94
[ "MIT" ]
1
2020-07-20T02:53:01.000Z
2020-07-20T02:53:01.000Z
Flight/RC Overrides/Forward Movement.py
MissouriMRR/DroneKit
979fc814c333db843252abe642dfb741613bfc94
[ "MIT" ]
null
null
null
Flight/RC Overrides/Forward Movement.py
MissouriMRR/DroneKit
979fc814c333db843252abe642dfb741613bfc94
[ "MIT" ]
null
null
null
import time from dronekit import VehicleMode, connect from pymavlink import mavutil fly=False landing = False lat = 49.2778638 lon = -123.0633418 vehicle = connect('tcp:127.0.0.1:5763', wait_ready=True) print "Read channels individually:" print " Ch1: %s" % vehicle.channels['1'] print " Ch2: %s" % vehicle.channels['2...
30.972222
110
0.698206
319
2,230
4.824451
0.291536
0.175439
0.11436
0.097466
0.597141
0.345029
0.304094
0.304094
0.304094
0.304094
0
0.056233
0.154709
2,230
71
111
31.408451
0.760212
0.031839
0
0.333333
0
0
0.174397
0.00974
0
0
0
0
0
0
null
null
0
0.05
null
null
0.333333
0
0
0
null
0
0
0
0
0
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
2fe9d5bba8728b3052a65f08a998d3c145a7e3af
1,806
py
Python
enaml/qt/qt_web_view.py
pberkes/enaml
cbcbee929e3117dfe56c0b06dc2385acc832b0e8
[ "BSD-3-Clause-Clear" ]
26
2016-04-01T18:49:31.000Z
2020-07-21T22:19:46.000Z
enaml/qt/qt_web_view.py
pberkes/enaml
cbcbee929e3117dfe56c0b06dc2385acc832b0e8
[ "BSD-3-Clause-Clear" ]
29
2016-02-22T17:40:55.000Z
2018-08-21T18:18:36.000Z
enaml/qt/qt_web_view.py
pberkes/enaml
cbcbee929e3117dfe56c0b06dc2385acc832b0e8
[ "BSD-3-Clause-Clear" ]
4
2016-08-29T13:07:19.000Z
2018-11-04T01:31:46.000Z
#------------------------------------------------------------------------------ # Copyright (c) 2013, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-------------------------------------------------...
30.610169
79
0.477298
168
1,806
5.065476
0.434524
0.061105
0.059929
0.054054
0.077556
0.077556
0
0
0
0
0
0.002774
0.20155
1,806
58
80
31.137931
0.587379
0.544297
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.25
0
0.55
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
2feaafe4312b2826f2437121c11a4ae1d7ccd4e8
10,940
py
Python
latest version/web/index.py
Kanae25805/Arcaea-server
0218e797aec835e07488a1dfbd121925d56245b5
[ "MIT" ]
null
null
null
latest version/web/index.py
Kanae25805/Arcaea-server
0218e797aec835e07488a1dfbd121925d56245b5
[ "MIT" ]
null
null
null
latest version/web/index.py
Kanae25805/Arcaea-server
0218e797aec835e07488a1dfbd121925d56245b5
[ "MIT" ]
null
null
null
from flask import ( Blueprint, flash, g, redirect, render_template, request, url_for ) from web.login import login_required from werkzeug.utils import secure_filename import sqlite3 import web.webscore import web.system import time import server.arcscore import os UPLOAD_FOLDER = 'database' ALLOWED_EXTENSIONS = {'...
30.304709
139
0.522121
1,262
10,940
4.38748
0.177496
0.018422
0.046957
0.054
0.484017
0.443742
0.382156
0.355066
0.324183
0.312805
0
0.012717
0.345887
10,940
360
140
30.388889
0.76104
0.009049
0
0.491639
0
0.003344
0.176056
0.041287
0
0
0
0
0
1
0.046823
false
0.003344
0.0301
0.010033
0.160535
0.010033
0
0
0
null
0
0
0
0
0
0
0
0
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
2feb74471e168c7ba1d30e8dffed81e0e52414c6
3,271
py
Python
feedreader/fallback/atom.py
webos-goodies/feedreader
42f44a98980af3a9bc39fa5c436a48fc31733d0f
[ "BSD-2-Clause" ]
1
2015-11-15T18:45:50.000Z
2015-11-15T18:45:50.000Z
feedreader/fallback/atom.py
webos-goodies/feedreader
42f44a98980af3a9bc39fa5c436a48fc31733d0f
[ "BSD-2-Clause" ]
null
null
null
feedreader/fallback/atom.py
webos-goodies/feedreader
42f44a98980af3a9bc39fa5c436a48fc31733d0f
[ "BSD-2-Clause" ]
null
null
null
""" Malformed Atom fallback """ from feedreader.fallback.base import (PREFERRED_LINK_TYPES, PREFERRED_CONTENT_TYPES, Feed, Item, get_element_text, get_attribute, search_child, get_xpath_node, get_xpath_text, get_xpath_datetime, ...
31.757282
97
0.670131
378
3,271
5.505291
0.195767
0.121576
0.121096
0.061509
0.64248
0.600673
0.547333
0.466603
0.415185
0.369053
0
0.003494
0.212473
3,271
102
98
32.068627
0.804348
0.020483
0
0.473684
0
0
0.130788
0.039424
0
0
0
0
0
1
0.223684
false
0
0.013158
0.171053
0.513158
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
2feca74f95fd3ef72f4807ca5abf86a33a361fda
14,122
py
Python
taggd/core/demultiplex.py
jfnavarro/taggd
c423a4bb8a2afc1ffaabc6704a8968dc3e829b4f
[ "BSD-3-Clause" ]
3
2015-05-07T12:23:12.000Z
2019-12-07T11:30:43.000Z
taggd/core/demultiplex.py
JoelSjostrand/taggd
d778dcce5205ca61bd82cb518854583f32f63baf
[ "BSD-3-Clause" ]
1
2017-06-29T11:49:28.000Z
2017-06-29T17:59:03.000Z
taggd/core/demultiplex.py
JoelSjostrand/taggd
d778dcce5205ca61bd82cb518854583f32f63baf
[ "BSD-3-Clause" ]
3
2015-05-11T08:00:03.000Z
2020-11-30T07:49:27.000Z
""" Runs taggd, a tool to demultiplex (link molecular barcodes back to) a file of genetic reads, typically obtained by sequencing. For matched reads, the barcode and its related properties are added to the read. Unmatched reads, ambiguously matched reads, and stats are by default produced as output files as well. The...
52.303704
195
0.599278
1,651
14,122
5.028468
0.20533
0.024934
0.047097
0.020597
0.283064
0.215972
0.174175
0.150325
0.133341
0.112985
0
0.006452
0.29755
14,122
269
196
52.498141
0.830444
0.087877
0
0.125
0
0.009259
0.333489
0.008958
0.00463
0
0
0
0
1
0.00463
false
0
0.037037
0
0.041667
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
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
2fed9c1cc996668efe8fcc3cc02dc64126644948
18,586
py
Python
plots_matlabformat.py
apiasecki/benthic_calibration
739a42096018f51af2c2043413b90aa072fcd81d
[ "MIT" ]
null
null
null
plots_matlabformat.py
apiasecki/benthic_calibration
739a42096018f51af2c2043413b90aa072fcd81d
[ "MIT" ]
null
null
null
plots_matlabformat.py
apiasecki/benthic_calibration
739a42096018f51af2c2043413b90aa072fcd81d
[ "MIT" ]
null
null
null
# THIS TAKES AN ALREADY FORMATED DATA TABLE from matlab AND DOES THE REGRESSIONS # IT ALSO MAKES THE PLOTS # LAST EDITED 11-29-17 import pandas import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit from pylab import * from pyteomics import mass # can do cool isotope math stuff, not us...
46.698492
112
0.620144
2,961
18,586
3.783857
0.116852
0.017137
0.029008
0.040164
0.535077
0.464834
0.432703
0.37076
0.36362
0.315602
0
0.085677
0.137146
18,586
397
113
46.816121
0.612958
0.421554
0
0.123762
0
0
0.175914
0.007764
0.034653
0
0
0
0
1
0.009901
false
0
0.029703
0.00495
0.049505
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