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
a1b83509e0fd110605657bbbd977da84c0c17676
434
py
Python
crawler/crawler.py
AntonyMoes/cyberhelper
125805b19190250968bf6deef836a600e8b25af6
[ "MIT" ]
1
2019-08-19T18:48:52.000Z
2019-08-19T18:48:52.000Z
crawler/crawler.py
AntonyMoes/cyberkotsenko
125805b19190250968bf6deef836a600e8b25af6
[ "MIT" ]
18
2019-08-18T14:56:58.000Z
2019-08-30T18:07:06.000Z
crawler/crawler.py
AntonyMoes/cyberhelper
125805b19190250968bf6deef836a600e8b25af6
[ "MIT" ]
1
2019-08-19T19:45:36.000Z
2019-08-19T19:45:36.000Z
from base import BaseBot import crawler.crawler_funcs as cf class Crawler(BaseBot): def __init__(self, token: str, pg_user: str, pg_password: str, pg_database: str, pg_host: str): super().__init__(token, pg_user, pg_password, pg_database, pg_host) async def run(self): coros = [ cf...
27.125
99
0.652074
60
434
4.35
0.483333
0.076628
0
0
0
0
0
0
0
0
0
0
0.24424
434
15
100
28.933333
0.795732
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0.181818
0.181818
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a1bc1ea317a5cace755d1e8e80d79a1224976254
2,893
py
Python
examples/coolmagic/utils.py
est/werkzeug
1a852423e6fc6d9bd3a0e0c756dde5680c38cee0
[ "BSD-3-Clause" ]
null
null
null
examples/coolmagic/utils.py
est/werkzeug
1a852423e6fc6d9bd3a0e0c756dde5680c38cee0
[ "BSD-3-Clause" ]
null
null
null
examples/coolmagic/utils.py
est/werkzeug
1a852423e6fc6d9bd3a0e0c756dde5680c38cee0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ coolmagic.utils ~~~~~~~~~~~~~~~ This module contains the subclasses of the base request and response objects provided by werkzeug. The subclasses know about their charset and implement some additional functionallity like the ability to link to view functions. :c...
25.377193
75
0.651918
342
2,893
5.295322
0.385965
0.039757
0.011044
0.01767
0
0
0
0
0
0
0
0.005538
0.250951
2,893
113
76
25.60177
0.83018
0.242309
0
0.037736
0
0
0.02
0
0
0
0
0
0
1
0.150943
false
0
0.169811
0.018868
0.584906
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
a1c1a872bb2a637ea76d91ba44c6a2d6d3dd28e9
514
py
Python
app/discovery/management/commands/populate_cache.py
snakrani/discovery
99690f186a194cabef6a5d1ad18fca715be1e187
[ "CC0-1.0" ]
null
null
null
app/discovery/management/commands/populate_cache.py
snakrani/discovery
99690f186a194cabef6a5d1ad18fca715be1e187
[ "CC0-1.0" ]
null
null
null
app/discovery/management/commands/populate_cache.py
snakrani/discovery
99690f186a194cabef6a5d1ad18fca715be1e187
[ "CC0-1.0" ]
null
null
null
from django.core.management.base import BaseCommand from django.core.cache import cache from discovery import models as system import urllib class Command(BaseCommand): def handle(self, *args, **options): cache.clear() for page in system.CachePage.objects.all().order_by('-count'): ...
27.052632
70
0.603113
58
514
5.327586
0.689655
0.064725
0.090615
0
0
0
0
0
0
0
0
0
0.27821
514
18
71
28.555556
0.832884
0
0
0
0
0
0.033074
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a1c300976e945621e9c78362f5d2109d95c875b2
6,790
py
Python
app/core/tests.py
tuipik/starnavi
38e97caf5ee6038baa05a275bca68a9a8d6d8a9f
[ "MIT" ]
null
null
null
app/core/tests.py
tuipik/starnavi
38e97caf5ee6038baa05a275bca68a9a8d6d8a9f
[ "MIT" ]
4
2021-03-30T14:08:49.000Z
2021-09-22T19:30:23.000Z
app/core/tests.py
tuipik/starnavi
38e97caf5ee6038baa05a275bca68a9a8d6d8a9f
[ "MIT" ]
null
null
null
import datetime from django.db import IntegrityError from freezegun import freeze_time from django.test import TestCase from django.contrib.auth import get_user_model from django.urls import reverse from rest_framework import status from rest_framework.test import APIClient from .models import User, Post from user.s...
35.181347
78
0.627688
844
6,790
4.798578
0.171801
0.05679
0.028889
0.059259
0.458272
0.396296
0.36963
0.332099
0.274568
0.256296
0
0.010121
0.257879
6,790
192
79
35.364583
0.79361
0.027246
0
0.265734
0
0
0.096386
0.030807
0
0
0
0
0.160839
1
0.104895
false
0.06993
0.06993
0.013986
0.216783
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
a1c788002416b0847e25c374bfd4e42095643637
905
py
Python
torch2trt/converters/matmul.py
liaopeiyuan/torch2trt
40860f6d0d3513eaf35df67fce6b9fbbd33eee2f
[ "MIT" ]
null
null
null
torch2trt/converters/matmul.py
liaopeiyuan/torch2trt
40860f6d0d3513eaf35df67fce6b9fbbd33eee2f
[ "MIT" ]
null
null
null
torch2trt/converters/matmul.py
liaopeiyuan/torch2trt
40860f6d0d3513eaf35df67fce6b9fbbd33eee2f
[ "MIT" ]
null
null
null
from torch2trt.torch2trt import * from torch2trt.module_test import add_module_test @tensorrt_converter('torch.matmul') def convert_mul(ctx): input_a = ctx.method_args[0] input_b = ctx.method_args[1] input_a_trt, input_b_trt = trt_(ctx.network, input_a, input_b) output = ctx.method_return layer = ...
29.193548
121
0.708287
136
905
4.426471
0.367647
0.066445
0.064784
0.039867
0.146179
0.146179
0.146179
0.146179
0.146179
0.146179
0
0.032637
0.153591
905
30
122
30.166667
0.753264
0
0
0.090909
0
0
0.022099
0
0
0
0
0
0
1
0.227273
false
0
0.090909
0.090909
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a1cd32780356197e06d088d21142061c4b145073
13,244
py
Python
cmm/parser.py
idbord/CMM_Python
a80734c11326ca911449e59ed671735162c7c254
[ "MIT" ]
null
null
null
cmm/parser.py
idbord/CMM_Python
a80734c11326ca911449e59ed671735162c7c254
[ "MIT" ]
null
null
null
cmm/parser.py
idbord/CMM_Python
a80734c11326ca911449e59ed671735162c7c254
[ "MIT" ]
1
2018-10-23T05:51:57.000Z
2018-10-23T05:51:57.000Z
# -*- coding: utf-8 -*- __author__ = 'idbord' from model.bi_iterator import BiIterator from model.token import Token from model.node import Node from exception.parserException import ErrorParse class Parser: def __init__(self): pass iterator = None nodeList = [] currentToken = None @cla...
38.388406
114
0.571353
1,621
13,244
4.380629
0.072178
0.096324
0.074356
0.086608
0.748486
0.694832
0.632728
0.598085
0.545134
0.495846
0
0.000113
0.333585
13,244
344
115
38.5
0.804441
0.004832
0
0.565916
0
0
0.006302
0
0
0
0
0
0
0
null
null
0.003215
0.012862
null
null
0.061093
0
0
0
null
0
0
0
0
0
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
a1ceb791250343913bf9c68bc46b91949c36d038
281
py
Python
lessons/misc-python-testing/DNA_tools.py
wltrimbl/2013-12-03-sesync
80aa50c4190760988902aa31bda2b1f56a933957
[ "CC-BY-3.0" ]
null
null
null
lessons/misc-python-testing/DNA_tools.py
wltrimbl/2013-12-03-sesync
80aa50c4190760988902aa31bda2b1f56a933957
[ "CC-BY-3.0" ]
1
2016-09-10T15:42:35.000Z
2016-09-10T15:42:35.000Z
lessons/misc-python-testing/DNA_tools.py
wltrimbl/2013-12-03-sesync
80aa50c4190760988902aa31bda2b1f56a933957
[ "CC-BY-3.0" ]
null
null
null
import string def calculate_gc(x): """Calculates the GC content of DNA sequence x. x: a string composed only of A's, T's, G's, and C's.""" if x == '': return 1 x = x.upper() gc = float(string.count(x, "G") +string.count(x, "C")) / len(x) return gc
25.545455
67
0.565836
50
281
3.16
0.54
0.025316
0.151899
0
0
0
0
0
0
0
0
0.004854
0.266904
281
10
68
28.1
0.762136
0.345196
0
0
0
0
0.011494
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a1cff45b156df8c4e1a24836e7ccc152b45fa09d
1,128
py
Python
make_raw_counts.py
johnkerl/bridge-walk-count
d17765e9376c11a858f7f7a9627ab70648b12c9c
[ "BSD-2-Clause" ]
1
2021-12-06T17:12:21.000Z
2021-12-06T17:12:21.000Z
make_raw_counts.py
johnkerl/bridge-walk-count
d17765e9376c11a858f7f7a9627ab70648b12c9c
[ "BSD-2-Clause" ]
null
null
null
make_raw_counts.py
johnkerl/bridge-walk-count
d17765e9376c11a858f7f7a9627ab70648b12c9c
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python -Wall from __future__ import division import sys, os, re Nmin = 10 Nmax = 20 dir='data' frac_strings = [ '0/1', '1/10', '1/9', '1/8', '1/7', '1/6', '1/5', '2/9', '1/4', '2/7', '3/10', '1/3', '3/8', '2/5', '3/7', '4/9', '1/2', '3/6', '5/9', '4/7', '3/5', '5/8', '2/3', '7/10',...
15.452055
58
0.539894
212
1,128
2.754717
0.283019
0.119863
0.10274
0.071918
0.099315
0.099315
0.099315
0.099315
0.099315
0
0
0.09681
0.194149
1,128
72
59
15.666667
0.545655
0.04078
0
0.031746
0
0
0.193519
0.021296
0
0
0
0
0
0
null
null
0
0.031746
null
null
0.031746
0
0
0
null
0
0
0
0
0
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
a1d4a472aa81a6a605144108d11fbb0c941daf33
344
py
Python
test-examples/scale_translate.py
tlambert03/image-demos
a2974bcc7f040fd4d14e659c4cbfeabcf726c707
[ "BSD-3-Clause" ]
null
null
null
test-examples/scale_translate.py
tlambert03/image-demos
a2974bcc7f040fd4d14e659c4cbfeabcf726c707
[ "BSD-3-Clause" ]
null
null
null
test-examples/scale_translate.py
tlambert03/image-demos
a2974bcc7f040fd4d14e659c4cbfeabcf726c707
[ "BSD-3-Clause" ]
null
null
null
"""Test converting an image to a pyramid. """ import numpy as np import napari with napari.gui_qt(): img = np.random.random((28, 28)) viewer = napari.view_image(img, scale=[2, 1], translate=[30, 0]) print('shape: ', img.shape) print(viewer.dims.range) print(viewer.layers[0].shape) print(viewe...
22.933333
68
0.659884
53
344
4.245283
0.603774
0.146667
0.142222
0.16
0
0
0
0
0
0
0
0.038732
0.174419
344
14
69
24.571429
0.753521
0.110465
0
0
0
0
0.023411
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
a1da6e04f23895b7d0f26c13b33d221d7a02a771
435
py
Python
coreapp/migrations/0015_projectendpoint_alignment_object.py
Quanscendence/braynai
ab828ca95571c6dffef2b2392522e6a4160a2304
[ "MIT" ]
null
null
null
coreapp/migrations/0015_projectendpoint_alignment_object.py
Quanscendence/braynai
ab828ca95571c6dffef2b2392522e6a4160a2304
[ "MIT" ]
null
null
null
coreapp/migrations/0015_projectendpoint_alignment_object.py
Quanscendence/braynai
ab828ca95571c6dffef2b2392522e6a4160a2304
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2020-01-30 13:28 from django.db import migrations import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('coreapp', '0014_auto_20200129_1801'), ] operations = [ migrations.AddField( model_name='projectendpoint', ...
21.75
68
0.634483
46
435
5.891304
0.76087
0.110701
0
0
0
0
0
0
0
0
0
0.093168
0.25977
435
19
69
22.894737
0.748447
0.098851
0
0
1
0
0.15641
0.058974
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1defcd7862ad02197ec1af1418ea8dcf5f63db4
6,104
py
Python
player/views/game.py
Saevon/webdnd
4dd5d30ae105ede51bbd92bf5281a6965b7d55f4
[ "MIT" ]
4
2015-09-26T01:12:36.000Z
2020-01-04T19:36:58.000Z
player/views/game.py
Saevon/webdnd
4dd5d30ae105ede51bbd92bf5281a6965b7d55f4
[ "MIT" ]
null
null
null
player/views/game.py
Saevon/webdnd
4dd5d30ae105ede51bbd92bf5281a6965b7d55f4
[ "MIT" ]
null
null
null
from django.core.urlresolvers import reverse from django.conf import settings from django.http import HttpResponseRedirect from webdnd.shared.views import render_to_response from django.template import RequestContext from django.views.generic import View from django.contrib.auth.models import User from django.db.models...
28.523364
94
0.574541
637
6,104
5.427002
0.248038
0.050911
0.02777
0.040498
0.318195
0.27654
0.21753
0.07492
0.060168
0.042233
0
0.000733
0.329784
6,104
213
95
28.657277
0.844292
0.040957
0
0.326923
0
0
0.089929
0.003827
0
0
0
0
0
0
null
null
0.00641
0.076923
null
null
0.00641
0
0
0
null
0
0
0
0
0
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
a1dfa246577045302283de117f13e575776b2d8b
795
py
Python
inventory/inventory/report/actual_qty/actual_qty.py
riconova92/inventory
7cc4f49bda31f802af36ee4ea6eb43092b5094a7
[ "MIT" ]
null
null
null
inventory/inventory/report/actual_qty/actual_qty.py
riconova92/inventory
7cc4f49bda31f802af36ee4ea6eb43092b5094a7
[ "MIT" ]
null
null
null
inventory/inventory/report/actual_qty/actual_qty.py
riconova92/inventory
7cc4f49bda31f802af36ee4ea6eb43092b5094a7
[ "MIT" ]
null
null
null
# Copyright (c) 2013, Myme and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe def execute(filters=None): columns, data = [], [] columns = ["Item Code:Link/Master Inventory:100", "Item Name:Data:200", "UOM:Data:150", "Colour:Data:100", "Yard...
24.090909
58
0.69434
119
795
4.470588
0.487395
0.052632
0.073308
0.06391
0.075188
0
0
0
0
0
0
0.041605
0.153459
795
32
59
24.84375
0.748886
0.11195
0
0
0
0
0.669986
0.14936
0
0
0
0
0
1
0.04
false
0
0.08
0
0.16
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1e0db225e21f55ee26e8e6001b951776e1146b1
3,056
py
Python
src/app/tasks/migrations/0004_auto_20200411_1042.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
9
2020-04-05T07:35:55.000Z
2021-08-03T05:50:05.000Z
src/app/tasks/migrations/0004_auto_20200411_1042.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
89
2020-01-26T11:50:06.000Z
2022-03-31T07:14:18.000Z
src/app/tasks/migrations/0004_auto_20200411_1042.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
13
2020-03-10T14:45:07.000Z
2021-07-31T02:43:40.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-04-11 10:42 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('tasks', '0003_auto_20200330_1225'), ] operations ...
35.534884
210
0.54712
282
3,056
5.755319
0.365248
0.094886
0.046211
0.058534
0.34504
0.34504
0.150339
0.150339
0.097351
0.097351
0
0.023289
0.311518
3,056
85
211
35.952941
0.748099
0.022579
0
0.5
1
0
0.168566
0.007708
0
0
0
0
0
1
0
false
0
0.038462
0
0.076923
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
a1e37944ec5232c9b5b2016ae13b7e850210d65f
338
py
Python
blog/migrations/0012_auto_20200922_1555.py
pranjalbareth/codeplay
767103a2b2747f833dac7b02a3bbec2a487ebfe6
[ "MIT" ]
1
2020-10-13T08:50:53.000Z
2020-10-13T08:50:53.000Z
blog/migrations/0012_auto_20200922_1555.py
pranjalbareth/codeplay
767103a2b2747f833dac7b02a3bbec2a487ebfe6
[ "MIT" ]
null
null
null
blog/migrations/0012_auto_20200922_1555.py
pranjalbareth/codeplay
767103a2b2747f833dac7b02a3bbec2a487ebfe6
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-09-22 15:55 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0011_auto_20200922_1553'), ] operations = [ migrations.RenameModel( old_name='Applications', new_name='Application',...
18.777778
47
0.60355
36
338
5.527778
0.861111
0
0
0
0
0
0
0
0
0
0
0.128631
0.286982
338
17
48
19.882353
0.697095
0.133136
0
0
1
0
0.171821
0.079038
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
a1e418b5a0c031c2f18be31adc64274a4d1b5e20
3,144
py
Python
Front-End/Details_song_ui2.py
RubyLegend/Music_Search_System
251e89269e619afb31ddcb4e1339427b1ed46921
[ "MIT" ]
null
null
null
Front-End/Details_song_ui2.py
RubyLegend/Music_Search_System
251e89269e619afb31ddcb4e1339427b1ed46921
[ "MIT" ]
null
null
null
Front-End/Details_song_ui2.py
RubyLegend/Music_Search_System
251e89269e619afb31ddcb4e1339427b1ed46921
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Details_song.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore,...
41.368421
87
0.70388
375
3,144
5.677333
0.266667
0.155002
0.075153
0.087365
0.302489
0.119305
0.119305
0.119305
0.119305
0.093001
0
0.016104
0.190204
3,144
75
88
41.92
0.82011
0.088104
0
0.118644
1
0
0.090241
0
0
0
0
0
0
1
0.033898
false
0
0.033898
0
0.084746
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1e427bee43f0a7057fa1ac48297e9e5a5f1a867
1,565
py
Python
join_sampling_python/test/test_sample.py
ixlab/join_sampling_public
ca3e1faced5d248ad81d935badbbb5eb580b3c9e
[ "Apache-2.0" ]
3
2016-05-13T20:50:35.000Z
2022-03-25T22:07:33.000Z
join_sampling_python/test/test_sample.py
ixlab/join_sampling
ca3e1faced5d248ad81d935badbbb5eb580b3c9e
[ "Apache-2.0" ]
null
null
null
join_sampling_python/test/test_sample.py
ixlab/join_sampling
ca3e1faced5d248ad81d935badbbb5eb580b3c9e
[ "Apache-2.0" ]
null
null
null
import unittest import src.create_relations as create_relations import src.sample as Sample # pylint: disable=R0904 class SampleTest(unittest.TestCase): def test_sample(self): counts1 = {1: 100, 2: 10, 3: 10} counts2 = {1: 100, 2: 10, 3: 1} [relation1, relation2] = create_relations.create_2_relations(c...
39.125
75
0.587859
189
1,565
4.761905
0.232804
0.06
0.086667
0.1
0.551111
0.443333
0.443333
0.292222
0.1
0
0
0.07919
0.30607
1,565
39
76
40.128205
0.74954
0.02492
0
0
0
0
0.140512
0
0
0
0
0
0.413793
1
0.034483
false
0
0.103448
0
0.172414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
a1e5deac10ce7ef8e076ce5c8ba9d08b383f690c
373
py
Python
clients/models.py
Ulzahk/Practica-Python-CRUD
2657be639bce88e5774f3b16c11ecbb33c41bc83
[ "MIT" ]
null
null
null
clients/models.py
Ulzahk/Practica-Python-CRUD
2657be639bce88e5774f3b16c11ecbb33c41bc83
[ "MIT" ]
null
null
null
clients/models.py
Ulzahk/Practica-Python-CRUD
2657be639bce88e5774f3b16c11ecbb33c41bc83
[ "MIT" ]
null
null
null
from common.models import PVClient class Client(PVClient): def __init__(self, name, company, email, position, uid=None): super().__init__(uid) self.name = name self.company = company self.email = email self.position = position @staticmethod def schema(): r...
24.866667
65
0.613941
41
373
5.390244
0.487805
0.072398
0.144796
0.217195
0.244344
0
0
0
0
0
0
0
0.262735
373
15
66
24.866667
0.803636
0
0
0
0
0
0.072193
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0.090909
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1e6831da5ce3d1b9e0f7d937c5a589403fa1b1e
6,784
py
Python
bindings/python/examples/Distributed/CifarResNet_Distributed.py
oplatek/CNTK
35f05cbf7b14bf10e1b4207eaf1cfd4cc7e252b4
[ "RSA-MD" ]
null
null
null
bindings/python/examples/Distributed/CifarResNet_Distributed.py
oplatek/CNTK
35f05cbf7b14bf10e1b4207eaf1cfd4cc7e252b4
[ "RSA-MD" ]
null
null
null
bindings/python/examples/Distributed/CifarResNet_Distributed.py
oplatek/CNTK
35f05cbf7b14bf10e1b4207eaf1cfd4cc7e252b4
[ "RSA-MD" ]
null
null
null
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE.md file in the project root # for full license information. # ============================================================================== # NOTE: # This example is meant as an illustration of how to use CNTKs distributed...
41.365854
165
0.706073
891
6,784
5.08642
0.278339
0.013239
0.013239
0.012357
0.208297
0.169462
0.169462
0.152692
0.130185
0.088261
0
0.01166
0.203567
6,784
164
166
41.365854
0.826948
0.182636
0
0.127451
0
0
0.055053
0.008149
0
0
0
0
0
0
null
null
0
0.098039
null
null
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a1e8b5020d05a3234c361a29a2daa7712b0c1f02
5,604
py
Python
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/ATI/vertex_array_object.py
temelkirci/Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
1
2022-03-02T17:07:20.000Z
2022-03-02T17:07:20.000Z
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/ATI/vertex_array_object.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/ATI/vertex_array_object.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
'''OpenGL extension ATI.vertex_array_object Automatically generated by the get_gl_extensions script, do not edit! ''' from OpenGL import platform, constants, constant, arrays from OpenGL import extensions from OpenGL.GL import glget import ctypes EXTENSION_NAME = 'GL_ATI_vertex_array_object' _DEPRECATED = False GL_STA...
39.188811
122
0.803712
582
5,604
7.582474
0.152921
0.050986
0.03535
0.059823
0.504872
0.474054
0.395649
0.382053
0.285067
0.238613
0
0.00758
0.058351
5,604
142
123
39.464789
0.828691
0.030871
0
0.387097
1
0.024194
0.309098
0.155195
0
0
0.008858
0
0
1
0.008065
false
0
0.032258
0
0.048387
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
a1e9e26acfc7837ef9f370f45cf0c845798ba8d1
3,363
py
Python
pointgreycamera/detect_circles.py
ustyui/robot-image-processing
70563f4531b75c88d8c212be941e52156ec31a98
[ "MIT" ]
null
null
null
pointgreycamera/detect_circles.py
ustyui/robot-image-processing
70563f4531b75c88d8c212be941e52156ec31a98
[ "MIT" ]
null
null
null
pointgreycamera/detect_circles.py
ustyui/robot-image-processing
70563f4531b75c88d8c212be941e52156ec31a98
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os, sys, time #sys.path.append('/usr/local/lib/python2.7/dist-packages/PyCapture2-0.0.0-py2.7-linux-x86_64.egg') # adding PyCapture2 path import cv2 import PyCapture2 import numpy as np "omit buildinfo, camerainfo" numCams = 0 "Operation parameters" #CLOSE_KERNEL_SHAPE = (3,3) #CLOSE_KE...
27.341463
125
0.675885
485
3,363
4.610309
0.461856
0.024598
0.0322
0.050089
0.105993
0.105993
0.105993
0.046512
0
0
0
0.055535
0.196848
3,363
122
126
27.565574
0.772307
0.156111
0
0.024096
0
0
0.162172
0
0
0
0.001419
0.008197
0
0
null
null
0.012048
0.048193
null
null
0.060241
0
0
0
null
0
0
0
0
0
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
a1eb7a036a0bd4ff510794b00c3a9bfe917255f0
658
py
Python
landlord/migrations/0014_auto_20210717_0633.py
manishwins/Greenline
28085358eb6d8e500075067747f242e457117c44
[ "Apache-2.0" ]
null
null
null
landlord/migrations/0014_auto_20210717_0633.py
manishwins/Greenline
28085358eb6d8e500075067747f242e457117c44
[ "Apache-2.0" ]
null
null
null
landlord/migrations/0014_auto_20210717_0633.py
manishwins/Greenline
28085358eb6d8e500075067747f242e457117c44
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.7 on 2021-07-17 06:33 from django.db import migrations, models import landlord.models class Migration(migrations.Migration): dependencies = [ ('landlord', '0013_apartment_number_of_pets'), ] operations = [ migrations.AddField( model_name='notificati...
26.32
105
0.62462
72
658
5.555556
0.666667
0.07
0
0
0
0
0
0
0
0
0
0.045455
0.264438
658
24
106
27.416667
0.780992
0.068389
0
0.111111
1
0
0.119476
0.047463
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1ecc4cda80b7486165bc2d72009eb4bc0aea171
8,358
py
Python
B2G/gecko/testing/xpcshell/runtestsb2g.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/testing/xpcshell/runtestsb2g.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/testing/xpcshell/runtestsb2g.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
#!/usr/bin/env python # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. import sys import os sys.path.insert(0, os.path.abspath(os.path.realpath(os.path.dirname(sys.arg...
37.990909
104
0.572146
892
8,358
5.248879
0.290359
0.024989
0.030543
0.035882
0.124733
0.043571
0.043571
0.027339
0.027339
0.027339
0
0.007372
0.318378
8,358
219
105
38.164384
0.814464
0.121082
0
0.044025
0
0
0.191289
0.00669
0
0
0
0
0
0
null
null
0.006289
0.037736
null
null
0.025157
0
0
0
null
0
0
0
0
0
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
a1f360815454f2cc877abcc0fd253ac4f265440b
398
py
Python
blocks.py
TomaszKolek/datamanager
d46dbab00e30a14fc26eb9368c32dcdbbda7309d
[ "MIT" ]
null
null
null
blocks.py
TomaszKolek/datamanager
d46dbab00e30a14fc26eb9368c32dcdbbda7309d
[ "MIT" ]
null
null
null
blocks.py
TomaszKolek/datamanager
d46dbab00e30a14fc26eb9368c32dcdbbda7309d
[ "MIT" ]
null
null
null
from wagtail.core import blocks class SectionBlock(blocks.StructBlock): presentation_class = blocks.ChoiceBlock(choices=[ ('is-default', 'Default'), ('is-invisible', 'No background/border'), ('is-bevel', 'Bevel'), ]) heading = blocks.CharBlock() content = blocks.RichTextBlock()...
26.533333
59
0.653266
39
398
6.615385
0.717949
0
0
0
0
0
0
0
0
0
0
0
0.208543
398
14
60
28.428571
0.819048
0
0
0
0
0
0.251256
0.095477
0
0
0
0
0
1
0
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a1f5550fdd7893e3172af1955c9eb24572a89d99
1,268
py
Python
tests/test_RDS_Data_Generator.py
danilocgsilva/aws-data-mock
07e0013f04bccb8c756a8911acd047813cf176f9
[ "MIT" ]
null
null
null
tests/test_RDS_Data_Generator.py
danilocgsilva/aws-data-mock
07e0013f04bccb8c756a8911acd047813cf176f9
[ "MIT" ]
null
null
null
tests/test_RDS_Data_Generator.py
danilocgsilva/aws-data-mock
07e0013f04bccb8c756a8911acd047813cf176f9
[ "MIT" ]
null
null
null
import unittest import sys sys.path.insert(1, "..") from aws_api_mock.RDS_Data_Generator import RDS_Data_Generator class test_RDS_Data_Generator(unittest.TestCase): def setUp(self): self.rds_data_generator = RDS_Data_Generator() def test_generate_return_type(self): return_dict = self.rds_data...
40.903226
119
0.756309
157
1,268
5.681529
0.280255
0.078475
0.179372
0.134529
0.273543
0.17713
0.17713
0.17713
0.17713
0.121076
0
0.013966
0.152997
1,268
30
120
42.266667
0.816574
0
0
0.130435
0
0
0.08123
0
0
0
0
0
0.173913
1
0.217391
false
0
0.130435
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a1f7f48b79cf448cfbf6318e922da460491cbb19
1,003
py
Python
sympy/parsing/latex/rename.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
sympy/parsing/latex/rename.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
sympy/parsing/latex/rename.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
import glob import os header = """ # encoding: utf-8 # *** GENERATED BY `setup.py antlr`, DO NOT EDIT BY HAND *** # # Generated from ../LaTeX.g4, derived from latex2sympy # latex2sympy is licensed under the MIT license # https://github.com/augustt198/latex2sympy/blob/master/LICENSE.txt # # Generated with antl...
27.861111
72
0.643071
144
1,003
4.402778
0.493056
0.056782
0.047319
0.07571
0.130915
0.100946
0.100946
0.100946
0
0
0
0.017456
0.200399
1,003
35
73
28.657143
0.773067
0.02991
0
0
1
0
0.445932
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1fa6d797afb94d3af86c79ccadd34c575463e11
638
py
Python
visualSHARK/migrations/0018_auto_20201221_1923.py
smartshark/visualSHARK
57d95da29726e3b5521c316a52e4ffddf4cd5028
[ "Apache-2.0" ]
1
2021-12-14T13:21:07.000Z
2021-12-14T13:21:07.000Z
visualSHARK/migrations/0018_auto_20201221_1923.py
smartshark/visualSHARK
57d95da29726e3b5521c316a52e4ffddf4cd5028
[ "Apache-2.0" ]
19
2017-09-28T12:45:11.000Z
2022-02-10T06:50:04.000Z
visualSHARK/migrations/0018_auto_20201221_1923.py
smartshark/visualSHARK
57d95da29726e3b5521c316a52e4ffddf4cd5028
[ "Apache-2.0" ]
2
2018-01-11T14:55:06.000Z
2020-11-10T15:34:25.000Z
# Generated by Django 2.2.13 on 2020-12-21 19:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('visualSHARK', '0017_technologylabelcommit_has_technology'), ] operations = [ migrations.AddField( model_name='technologylabel',...
25.52
69
0.60815
60
638
6.333333
0.733333
0.047368
0.126316
0.147368
0
0
0
0
0
0
0
0.052632
0.285266
638
24
70
26.583333
0.780702
0.0721
0
0.222222
1
0
0.166102
0.069492
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1ffe559c062f8d81cd365f7ec79188d2cb67861
2,067
py
Python
df_cli/cli.py
lucarin91/dockerfinder-cli
7c199a5e63fba6e01de81867916a3af528649c31
[ "MIT" ]
null
null
null
df_cli/cli.py
lucarin91/dockerfinder-cli
7c199a5e63fba6e01de81867916a3af528649c31
[ "MIT" ]
null
null
null
df_cli/cli.py
lucarin91/dockerfinder-cli
7c199a5e63fba6e01de81867916a3af528649c31
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Console script for dfinder.""" from __future__ import print_function import json import sys import click from tabulate import tabulate from .df_request import search_images class SoftwareType(click.ParamType): name = 'software_type' def convert(self, value, param, ctx): ...
28.315068
79
0.583938
250
2,067
4.756
0.44
0.037847
0.021867
0
0
0
0
0
0
0
0
0.015252
0.27044
2,067
72
80
28.708333
0.77321
0.106918
0
0.163265
0
0
0.125683
0
0
0
0
0.013889
0
1
0.040816
false
0
0.122449
0
0.285714
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
1
0
0
0
0
0
0
0
0
0
0
1
b800a5171a7c81152743881cdee3508e32ef00ed
876
py
Python
src/arguments/ml.py
tianjuxue/AmorFEA
5ddf6c1c9d4489e74a207d5d63ca00af57911ab0
[ "MIT" ]
8
2020-07-20T04:12:18.000Z
2022-03-05T18:45:22.000Z
src/arguments/ml.py
tianjuxue/AmorFEA
5ddf6c1c9d4489e74a207d5d63ca00af57911ab0
[ "MIT" ]
2
2020-11-16T12:46:56.000Z
2020-12-28T02:52:18.000Z
src/arguments/ml.py
tianjuxue/AmorFEA
5ddf6c1c9d4489e74a207d5d63ca00af57911ab0
[ "MIT" ]
1
2021-03-11T16:07:29.000Z
2021-03-11T16:07:29.000Z
"""Args defining output and networks""" def add_args(parser): parser.add_argument('--log_interval', type=int, default=100, metavar='N', help='how many batches to wait before logging training status') parser.add_argument('--input_size', type=int, default=16, help...
48.666667
87
0.599315
109
876
4.715596
0.486239
0.105058
0.198444
0.070039
0
0
0
0
0
0
0
0.029734
0.270548
876
17
88
51.529412
0.774648
0.065068
0
0
0
0
0.292743
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b800faa4be1a19aaca1fbf820586e6ff448723d1
3,270
py
Python
language/question_answering/decatt_docreader/datasets/nq_short_pipeline_dataset.py
naveenjafer/language
efc5183855a7aeecac3e81fe12ce60fc824f8ca7
[ "Apache-2.0" ]
1,199
2018-10-16T01:30:18.000Z
2022-03-31T21:05:24.000Z
language/question_answering/decatt_docreader/datasets/nq_short_pipeline_dataset.py
naveenjafer/language
efc5183855a7aeecac3e81fe12ce60fc824f8ca7
[ "Apache-2.0" ]
116
2018-10-18T03:31:46.000Z
2022-03-24T13:40:50.000Z
language/question_answering/decatt_docreader/datasets/nq_short_pipeline_dataset.py
naveenjafer/language
efc5183855a7aeecac3e81fe12ce60fc824f8ca7
[ "Apache-2.0" ]
303
2018-10-22T12:35:12.000Z
2022-03-27T17:38:17.000Z
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 ...
36.741573
78
0.730887
455
3,270
5.052747
0.38022
0.026098
0.024358
0.040017
0.177903
0.131361
0.061766
0.035668
0
0
0
0.013981
0.168807
3,270
88
79
37.159091
0.831862
0.360245
0
0.12766
0
0
0.118447
0.029612
0
0
0
0.011364
0.021277
1
0.085106
false
0
0.106383
0.042553
0.276596
0.021277
0
0
0
null
0
0
0
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
b801d61d49066cd88345d25761805a634e2a5e9f
474
py
Python
blender/arm/logicnode/canvas_get_slider.py
Sanva/armory
61b2d008e3b73bd978966b3209b646d162923e18
[ "Zlib" ]
null
null
null
blender/arm/logicnode/canvas_get_slider.py
Sanva/armory
61b2d008e3b73bd978966b3209b646d162923e18
[ "Zlib" ]
null
null
null
blender/arm/logicnode/canvas_get_slider.py
Sanva/armory
61b2d008e3b73bd978966b3209b646d162923e18
[ "Zlib" ]
null
null
null
import bpy from bpy.props import * from bpy.types import Node, NodeSocket from arm.logicnode.arm_nodes import * class CanvasGetSliderNode(Node, ArmLogicTreeNode): '''Set canvas text''' bl_idname = 'LNCanvasGetSliderNode' bl_label = 'Canvas Get Slider' bl_icon = 'NONE' def init(self, context): ...
27.882353
54
0.7173
55
474
6.090909
0.672727
0.041791
0
0
0
0
0
0
0
0
0
0
0.168776
474
16
55
29.625
0.850254
0.031646
0
0
0
0
0.200883
0.046358
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b80dd47b675ce440c967ff1fb28016ec96f30bf3
28,339
py
Python
vcr/modules/resnet_vlbert_for_vcr.py
xiling42/VL-BERT
4573b4e1e82b6c092d4830d0b88821e9ee1a81fb
[ "MIT" ]
671
2019-11-22T06:29:37.000Z
2022-03-26T02:06:11.000Z
vcr/modules/resnet_vlbert_for_vcr.py
xiling42/VL-BERT
4573b4e1e82b6c092d4830d0b88821e9ee1a81fb
[ "MIT" ]
83
2019-12-01T04:14:29.000Z
2022-02-14T17:16:13.000Z
vcr/modules/resnet_vlbert_for_vcr.py
xiling42/VL-BERT
4573b4e1e82b6c092d4830d0b88821e9ee1a81fb
[ "MIT" ]
123
2019-12-03T12:58:37.000Z
2022-03-30T02:42:01.000Z
import os import torch import torch.nn as nn import torch.nn.functional as F from external.pytorch_pretrained_bert import BertTokenizer from common.module import Module from common.fast_rcnn import FastRCNN from common.nlp.time_distributed import TimeDistributed from common.visual_linguistic_bert import VisualLinguisti...
52.970093
150
0.570062
3,221
28,339
4.667184
0.088792
0.058804
0.04071
0.02275
0.742367
0.690148
0.662942
0.644781
0.628484
0.618572
0
0.011878
0.328628
28,339
534
151
53.069288
0.778251
0.016691
0
0.59276
0
0
0.018719
0.00335
0
0
0
0
0.006787
1
0.022624
false
0
0.022624
0
0.061086
0.002262
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
b80feaccf7b79c6116df4eb77e612e37ffd95021
424
py
Python
registration/migrations/0019_child_unique_child.py
screw-pack/hazel
ade9b6c6a396b3da2bb2d5505cfb63e1579cdab8
[ "MIT" ]
null
null
null
registration/migrations/0019_child_unique_child.py
screw-pack/hazel
ade9b6c6a396b3da2bb2d5505cfb63e1579cdab8
[ "MIT" ]
null
null
null
registration/migrations/0019_child_unique_child.py
screw-pack/hazel
ade9b6c6a396b3da2bb2d5505cfb63e1579cdab8
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-07-21 13:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('registration', '0018_child_category'), ] operations = [ migrations.AddConstraint( model_name='child', constraint=mod...
23.555556
112
0.634434
43
424
6.162791
0.813953
0
0
0
0
0
0
0
0
0
0
0.058824
0.238208
424
17
113
24.941176
0.76161
0.106132
0
0
1
0
0.188329
0
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
b813365d2074312c97fb989e06fa433a40232fbb
500
py
Python
marshmallow_utils/fields/__init__.py
lnielsen/marshmallow-utils
1d1b685ecbe8a5c6c209ea091e06353f56ba995b
[ "MIT" ]
null
null
null
marshmallow_utils/fields/__init__.py
lnielsen/marshmallow-utils
1d1b685ecbe8a5c6c209ea091e06353f56ba995b
[ "MIT" ]
null
null
null
marshmallow_utils/fields/__init__.py
lnielsen/marshmallow-utils
1d1b685ecbe8a5c6c209ea091e06353f56ba995b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2016-2020 CERN. # # Marshmallow-Utils is free software; you can redistribute it and/or modify # it under the terms of the MIT License; see LICENSE file for more details. """Marshmallow fields.""" from .isodate import ISODateString from .sanitizedhtml import SanitizedHTML from...
23.809524
75
0.736
57
500
6.385965
0.719298
0
0
0
0
0
0
0
0
0
0
0.021583
0.166
500
20
76
25
0.851319
0.44
0
0
0
0
0.204461
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b81d657ce4ef297c2e6c83f7d87fad89ff90b9ff
35,194
py
Python
ossync/sdk/oss_util.py
lanbaba/Ossyncone
a015d13df203e3dcfba9f66caf4bfa6cf3dbbc07
[ "MIT" ]
22
2015-05-29T01:46:40.000Z
2021-07-02T08:49:05.000Z
ossync/sdk/oss_util.py
lanbaba/Ossyncone
a015d13df203e3dcfba9f66caf4bfa6cf3dbbc07
[ "MIT" ]
1
2015-11-25T09:04:46.000Z
2015-11-25T09:04:46.000Z
ossync/sdk/oss_util.py
lanbaba/Ossyncone
a015d13df203e3dcfba9f66caf4bfa6cf3dbbc07
[ "MIT" ]
7
2015-10-30T02:06:56.000Z
2018-06-17T15:03:59.000Z
#!/usr/bin/env python #coding=utf-8 import urllib import base64 import hmac import time from hashlib import sha1 as sha import os import sys import md5 import StringIO from threading import Thread import threading import ConfigParser import logging from logging.handlers import RotatingFileHandler from xml.sax.saxutils ...
34.268744
230
0.5593
4,274
35,194
4.384885
0.094993
0.022411
0.015261
0.014407
0.474735
0.397204
0.36743
0.32693
0.275332
0.275332
0
0.013815
0.331534
35,194
1,026
231
34.302144
0.782794
0.008609
0
0.443654
0
0.005931
0.07994
0.015656
0
0
0
0
0
0
null
null
0.005931
0.021352
null
null
0.034401
0
0
0
null
0
0
0
0
0
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
6292b10bc4b8f5e4ed08d88d7b6c30eb7be862ce
452
py
Python
django/projects/serializers.py
trckr/trckr-backend
c13e71035bf0d5428ed9584c86e1c82215ec8cb8
[ "MIT" ]
4
2018-03-31T13:56:46.000Z
2021-09-07T19:21:58.000Z
django/projects/serializers.py
trckr/trckr-backend
c13e71035bf0d5428ed9584c86e1c82215ec8cb8
[ "MIT" ]
null
null
null
django/projects/serializers.py
trckr/trckr-backend
c13e71035bf0d5428ed9584c86e1c82215ec8cb8
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from rest_framework import serializers from .models import Project class ProjectSerializer(serializers.ModelSerializer): createdBy = serializers.HiddenField( default=serializers.CurrentUserDefault()) class Meta: model = Project fields = ('i...
28.25
77
0.688053
41
452
7.512195
0.682927
0.077922
0
0
0
0
0
0
0
0
0
0
0.214602
452
15
78
30.133333
0.867606
0
0
0
0
0
0.128319
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6295fbd9cc4e4992102c248384ef651049e46c28
2,389
py
Python
grouporder/api/users.py
ErnstHaagsman/grouporder
887ce94403cff50a82c2b321c98a6341a67a499a
[ "MIT" ]
10
2018-03-14T19:05:15.000Z
2021-10-04T06:53:49.000Z
grouporder/api/users.py
urimessi/grouporder
887ce94403cff50a82c2b321c98a6341a67a499a
[ "MIT" ]
null
null
null
grouporder/api/users.py
urimessi/grouporder
887ce94403cff50a82c2b321c98a6341a67a499a
[ "MIT" ]
2
2019-09-17T03:40:02.000Z
2020-04-11T09:34:19.000Z
import base64 from flask import request from functools import wraps from flask_restful import Resource, reqparse, abort from data.users import User, DuplicateUserError, login class UsersApi(Resource): def post(self): parser = reqparse.RequestParser() parser.add_argument('username', type=str, req...
31.434211
74
0.537882
236
2,389
5.360169
0.360169
0.042688
0.080632
0.090119
0.273518
0.273518
0.224506
0.224506
0.224506
0.148617
0
0.011842
0.363751
2,389
75
75
31.853333
0.820395
0.009627
0
0.263158
0
0
0.138748
0
0
0
0
0
0
1
0.070175
false
0.105263
0.087719
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
1
0
0
0
0
0
1
62965a9c0c3677d31a2accceb30bee26490976c0
2,121
py
Python
Tests/Plot/LamWind/test_Slot_60_plot.py
mxgnsr/pyleecan
2b0a04e4ae67c073a91362ab42332908fef53bdd
[ "Apache-2.0" ]
null
null
null
Tests/Plot/LamWind/test_Slot_60_plot.py
mxgnsr/pyleecan
2b0a04e4ae67c073a91362ab42332908fef53bdd
[ "Apache-2.0" ]
null
null
null
Tests/Plot/LamWind/test_Slot_60_plot.py
mxgnsr/pyleecan
2b0a04e4ae67c073a91362ab42332908fef53bdd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from os.path import join import matplotlib.pyplot as plt from numpy import array, pi, zeros from pyleecan.Classes.Frame import Frame from pyleecan.Classes.LamSlotWind import LamSlotWind from pyleecan.Classes.LamSquirrelCage import LamSquirrelCage from pyleecan.Classes.MachineDFIM import Machin...
30.73913
70
0.712871
318
2,121
4.638365
0.320755
0.105763
0.167458
0.054237
0.218305
0.175593
0.175593
0.175593
0.175593
0.175593
0
0.051754
0.180104
2,121
68
71
31.191176
0.796435
0.048562
0
0.169811
0
0
0.060622
0.042792
0
0
0
0
0.037736
1
0.018868
false
0
0.339623
0
0.358491
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
62970fe8dc8dbf5e262a7f5e6731b74187866a4c
3,449
py
Python
data/split_data_num.py
xiangyue9607/QVE
c7e8ce69e541ef558a2a730789e5ee6303de95ba
[ "MIT" ]
4
2022-03-14T20:22:23.000Z
2022-03-22T14:28:06.000Z
data/split_data_num.py
xiangyue9607/QVE
c7e8ce69e541ef558a2a730789e5ee6303de95ba
[ "MIT" ]
null
null
null
data/split_data_num.py
xiangyue9607/QVE
c7e8ce69e541ef558a2a730789e5ee6303de95ba
[ "MIT" ]
null
null
null
import json import random from argparse import ArgumentParser from numpy.random import default_rng parser = ArgumentParser() parser.add_argument("--in_file", type=str, default="data/NewsQA.train.json",) parser.add_argument("--out_file_dev", type=str, default="dataNewsQA.sample.dev.json") parser.add_argument("...
34.49
99
0.602493
464
3,449
4.211207
0.153017
0.061412
0.036847
0.022518
0.471853
0.392016
0.285568
0.242579
0.214944
0.162743
0
0.009846
0.263845
3,449
99
100
34.838384
0.759748
0
0
0.298701
0
0
0.132239
0.022985
0
0
0
0
0
1
0.025974
false
0.103896
0.051948
0
0.090909
0.038961
0
0
0
null
0
0
0
0
0
0
0
0
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
62a581f66aa806e4c7323586fbea84dec9e34312
6,217
py
Python
pylearn2/costs/autoencoder.py
Refefer/pylearn2
bb9b8605edef3c1a86fc935307fad4fda37241a1
[ "BSD-3-Clause" ]
null
null
null
pylearn2/costs/autoencoder.py
Refefer/pylearn2
bb9b8605edef3c1a86fc935307fad4fda37241a1
[ "BSD-3-Clause" ]
null
null
null
pylearn2/costs/autoencoder.py
Refefer/pylearn2
bb9b8605edef3c1a86fc935307fad4fda37241a1
[ "BSD-3-Clause" ]
null
null
null
""" .. todo:: WRITEME """ from theano import tensor import theano.sparse from pylearn2.costs.cost import Cost, DefaultDataSpecsMixin from theano.tensor.shared_randomstreams import RandomStreams class GSNFriendlyCost(DefaultDataSpecsMixin, Cost): """ .. todo:: WRITEME """ @staticmethod ...
25.690083
79
0.572141
715
6,217
4.876923
0.236364
0.0347
0.01606
0.024089
0.581589
0.530542
0.505879
0.482937
0.482937
0.452538
0
0.018462
0.311726
6,217
241
80
25.796681
0.796448
0.349204
0
0.460526
0
0
0.006972
0.006972
0
0
0
0.045643
0
1
0.131579
false
0
0.052632
0
0.342105
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
62a5c4a2f8c65345486a340a383f7a9e304acb1f
372
py
Python
lab06/tests/q0_3.py
ucsb-ds/ds1-f20-content
25f62c7a597b98da436ca39631761c1f3feccfdd
[ "MIT" ]
2
2020-10-14T12:43:18.000Z
2021-01-06T18:06:16.000Z
lab06/tests/q0_3.py
ucsb-ds/ds1-f20-content
25f62c7a597b98da436ca39631761c1f3feccfdd
[ "MIT" ]
2
2020-10-13T05:21:15.000Z
2020-12-11T18:03:54.000Z
lab06/tests/q0_3.py
ucsb-ds/ds1-f20-content
25f62c7a597b98da436ca39631761c1f3feccfdd
[ "MIT" ]
3
2021-01-05T05:30:01.000Z
2021-03-16T22:09:08.000Z
test = { 'name': 'q0_3', 'points': 1, 'suites': [ { 'cases': [{'code': '>>> np.all(flavor_ratings_sorted.take(0).column("Rating list") == [1, 2, 4, 5]) == True\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardo...
46.5
173
0.403226
35
372
4.2
0.914286
0
0
0
0
0
0
0
0
0
0
0.033898
0.365591
372
7
174
53.142857
0.588983
0
0
0
0
0.142857
0.44086
0.137097
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62a92f747192683aad6a9721f275a2053a03987e
17,205
py
Python
sympy/printing/fcode.py
matthew-brett/sympy
7b87b62144c28f2e734e9106897c72806b99d181
[ "BSD-3-Clause" ]
null
null
null
sympy/printing/fcode.py
matthew-brett/sympy
7b87b62144c28f2e734e9106897c72806b99d181
[ "BSD-3-Clause" ]
null
null
null
sympy/printing/fcode.py
matthew-brett/sympy
7b87b62144c28f2e734e9106897c72806b99d181
[ "BSD-3-Clause" ]
null
null
null
""" Fortran code printer The FCodePrinter converts single sympy expressions into single Fortran expressions, using the functions defined in the Fortran 77 standard where possible. Some useful pointers to Fortran can be found on wikipedia: http://en.wikipedia.org/wiki/Fortran Most of the code below is based on the "P...
37.079741
83
0.558326
1,996
17,205
4.599699
0.205912
0.044657
0.049014
0.060996
0.207712
0.181026
0.132121
0.102276
0.09792
0.064699
0
0.008274
0.346702
17,205
463
84
37.159827
0.808541
0.055333
0
0.223242
0
0
0.048356
0.003907
0
0
0
0.00216
0
0
null
null
0
0.021407
null
null
0.211009
0
0
0
null
0
0
0
0
0
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
62aba8d8fbb1b20e2bf9cb0d0aeebfb24b97ba70
982
py
Python
src/config.py
elkindi/dagger
9a80f121b75819bd546fe8ae873a6daee5920f9f
[ "MIT" ]
1
2020-09-28T14:26:22.000Z
2020-09-28T14:26:22.000Z
src/config.py
elkindi/dagger
9a80f121b75819bd546fe8ae873a6daee5920f9f
[ "MIT" ]
null
null
null
src/config.py
elkindi/dagger
9a80f121b75819bd546fe8ae873a6daee5920f9f
[ "MIT" ]
null
null
null
from configparser import ConfigParser DATABASE_CONFIG_PATH = '../database.ini' # Get the database config from the config file # Returns a dictionary with the configs def config(filename=DATABASE_CONFIG_PATH, section='postgresql'): parser = ConfigParser() parser.read(filename) db = {} if parser.has_s...
33.862069
97
0.59776
110
982
5.263636
0.445455
0.096718
0.093264
0.096718
0.169257
0.169257
0.169257
0
0
0
0
0.007123
0.285132
982
29
98
33.862069
0.817664
0.152749
0
0
0
0
0.164053
0.043426
0
0
0
0
0
1
0.105263
false
0.052632
0.052632
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
1
0
0
0
0
0
1
62abc2419420d3b5e8f61268abd1ce042d352006
896
py
Python
hello_app/migrations/0002_auto_20160321_0846.py
Lessica/StatusHub
2771f74a51a71316a435a352ef8675d3d7f16a97
[ "MIT" ]
null
null
null
hello_app/migrations/0002_auto_20160321_0846.py
Lessica/StatusHub
2771f74a51a71316a435a352ef8675d3d7f16a97
[ "MIT" ]
null
null
null
hello_app/migrations/0002_auto_20160321_0846.py
Lessica/StatusHub
2771f74a51a71316a435a352ef8675d3d7f16a97
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-03-21 08:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hello_app', '0001_initial'), ] operations = [ migrations.RenameField( ...
25.6
47
0.579241
83
896
6.036145
0.590361
0.071856
0.175649
0.155689
0.391218
0.207585
0.207585
0
0
0
0
0.032362
0.310268
896
34
48
26.352941
0.778317
0.074777
0
0.444444
1
0
0.176755
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62b1b5f3ed1b1cf6d2cea271230c813ddfa205b6
3,223
py
Python
pgoapi/protos/POGOProtos/Networking/Requests/Messages/UseItemReviveMessage_pb2.py
PogoHop/pgoapi-hsvr
b5761159e0240bbb81ef6c257fe2eb1bc1ce2d47
[ "MIT" ]
null
null
null
pgoapi/protos/POGOProtos/Networking/Requests/Messages/UseItemReviveMessage_pb2.py
PogoHop/pgoapi-hsvr
b5761159e0240bbb81ef6c257fe2eb1bc1ce2d47
[ "MIT" ]
null
null
null
pgoapi/protos/POGOProtos/Networking/Requests/Messages/UseItemReviveMessage_pb2.py
PogoHop/pgoapi-hsvr
b5761159e0240bbb81ef6c257fe2eb1bc1ce2d47
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: POGOProtos/Networking/Requests/Messages/UseItemReviveMessage.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message a...
40.2875
340
0.779088
371
3,223
6.474394
0.315364
0.074938
0.108243
0.134888
0.397169
0.300999
0.248543
0.221898
0.149875
0.10741
0
0.023617
0.119764
3,223
79
341
40.797468
0.823053
0.094012
0
0.266667
1
0
0.191887
0.155908
0
0
0
0
0
1
0
false
0
0.116667
0
0.116667
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
62b8e2dea155e5788d4dd436192731ff089fe132
3,105
py
Python
tools/flecsit/flecsit/services/compile_driver/execute.py
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
tools/flecsit/flecsit/services/compile_driver/execute.py
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
tools/flecsit/flecsit/services/compile_driver/execute.py
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
#------------------------------------------------------------------------------# # Copyright (c) 2014 Los Alamos National Security, LLC # All rights reserved. #------------------------------------------------------------------------------# from cmakelists import cmakelists_template import os import shutil import subp...
31.05
80
0.549114
307
3,105
5.397394
0.381107
0.050694
0.031382
0.022933
0.111044
0.078455
0.044659
0.044659
0
0
0
0.005922
0.238647
3,105
99
81
31.363636
0.695008
0.224477
0
0.15625
0
0
0.208246
0.055532
0
0
0
0
0
0
null
null
0
0.09375
null
null
0.078125
0
0
0
null
0
0
0
0
0
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
62be1b0b25dd213bd0291562caa3508acb6c2ef2
177
py
Python
riemann/vc_acoustics_3D_constants.py
ranocha/riemann
d7b4d72d1147eee12e60a64f46a7e076b28a212d
[ "BSD-3-Clause" ]
27
2015-03-08T03:42:34.000Z
2021-12-21T01:46:12.000Z
riemann/vc_acoustics_3D_constants.py
ranocha/riemann
d7b4d72d1147eee12e60a64f46a7e076b28a212d
[ "BSD-3-Clause" ]
47
2015-02-11T15:39:22.000Z
2021-04-25T01:56:46.000Z
riemann/vc_acoustics_3D_constants.py
ranocha/riemann
d7b4d72d1147eee12e60a64f46a7e076b28a212d
[ "BSD-3-Clause" ]
37
2015-01-09T21:44:08.000Z
2021-11-21T12:53:04.000Z
num_waves = 2 num_eqn = 4 num_aux = 2 # Conserved quantities pressure = 0 x_velocity = 1 y_velocity = 2 z_velocity = 3 # Auxiliary variables impedance = 0 sound_speed = 1
12.642857
22
0.717514
29
177
4.137931
0.724138
0
0
0
0
0
0
0
0
0
0
0.065217
0.220339
177
13
23
13.615385
0.804348
0.225989
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
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
62c141b003af6d80b58d7918c6d83c01234ad8e4
5,467
py
Python
homeassistant/components/toon/config_flow.py
petewill/home-assistant
5859dba4344f05fb8774aa1207e47ac28f627a67
[ "Apache-2.0" ]
3
2020-10-23T14:39:11.000Z
2021-02-17T14:40:17.000Z
homeassistant/components/toon/config_flow.py
petewill/home-assistant
5859dba4344f05fb8774aa1207e47ac28f627a67
[ "Apache-2.0" ]
39
2016-12-16T12:40:34.000Z
2017-02-13T17:53:42.000Z
homeassistant/components/toon/config_flow.py
petewill/home-assistant
5859dba4344f05fb8774aa1207e47ac28f627a67
[ "Apache-2.0" ]
6
2020-04-10T06:21:11.000Z
2021-07-01T08:53:38.000Z
"""Config flow to configure the Toon component.""" from collections import OrderedDict import logging from functools import partial import voluptuous as vol from homeassistant import config_entries from homeassistant.const import CONF_PASSWORD, CONF_USERNAME from homeassistant.core import callback from .const import...
32.158824
87
0.62173
592
5,467
5.491554
0.212838
0.044294
0.04614
0.043064
0.393725
0.371578
0.279914
0.262073
0.25223
0.182098
0
0.00026
0.295592
5,467
169
88
32.349112
0.843937
0.036217
0
0.248
0
0
0.046359
0
0
0
0
0
0
1
0.016
false
0.056
0.088
0
0.264
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
62c34248ec0f4780e4cd9e940c7aa4180af3c851
2,209
py
Python
bin/foldx_tsv.py
allydunham/mutfunc_sars_cov_2
1a2f5c3c949c539f43f2a17040beadc754253dad
[ "Apache-2.0" ]
1
2021-04-22T10:14:43.000Z
2021-04-22T10:14:43.000Z
bin/foldx_tsv.py
allydunham/mutfunc_sars_cov_2
1a2f5c3c949c539f43f2a17040beadc754253dad
[ "Apache-2.0" ]
null
null
null
bin/foldx_tsv.py
allydunham/mutfunc_sars_cov_2
1a2f5c3c949c539f43f2a17040beadc754253dad
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """ Generate overall table of FoldX results across all genes """ import argparse import logging from pathlib import Path def get_template(path, model): """ Identify template for a given model based on the model table """ with open(path, 'r') as models_file: for line in mo...
35.063492
92
0.610231
246
2,209
5.256098
0.520325
0.04331
0.010828
0.020108
0
0
0
0
0
0
0
0.001834
0.259393
2,209
62
93
35.629032
0.788509
0.072431
0
0
1
0
0.273547
0.052104
0.02439
0
0
0
0
1
0.073171
false
0
0.073171
0
0.219512
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62c4809c0c5b6db2196790c5f09f3c4f1c355b76
782
py
Python
materials/models.py
manavshrivastavagit/django-restapi
52261c93b58422b0e39cae656ae9409ea03a488d
[ "MIT" ]
5
2017-01-13T08:17:25.000Z
2020-04-07T12:50:51.000Z
materials/models.py
manavshrivastavagit/django-restapi
52261c93b58422b0e39cae656ae9409ea03a488d
[ "MIT" ]
2
2016-10-25T12:51:30.000Z
2017-10-14T18:38:59.000Z
materials/models.py
manavshrivastavagit/django-restapi
52261c93b58422b0e39cae656ae9409ea03a488d
[ "MIT" ]
4
2017-09-05T19:03:13.000Z
2021-03-23T07:47:41.000Z
from django.db import models from students.models import Subject, Teacher, Class class Material(models.Model): title = models.CharField(max_length=150, blank=True) section = models.CharField(max_length=150, blank=True) content = models.TextField(blank=False) class_number = models.IntegerField( ...
35.545455
92
0.704604
94
782
5.702128
0.489362
0.05597
0.067164
0.089552
0.134328
0.134328
0.134328
0
0
0
0
0.009375
0.181586
782
21
93
37.238095
0.828125
0
0
0
0
0
0.051151
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0.058824
0.705882
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
62ce73e46dfae058e7f334c41d83c3abda2159b3
3,667
py
Python
p3/p3.py
Semedi/python
73840a0cfb64fec3837fca92cd7715fa2bc22338
[ "Apache-2.0" ]
null
null
null
p3/p3.py
Semedi/python
73840a0cfb64fec3837fca92cd7715fa2bc22338
[ "Apache-2.0" ]
null
null
null
p3/p3.py
Semedi/python
73840a0cfb64fec3837fca92cd7715fa2bc22338
[ "Apache-2.0" ]
null
null
null
import urllib import xml.dom.minidom from xml.dom.minidom import parse class site: def __init__(self): self.name ="" self.country ="" self.short ="" self.lvl ="Ninguna" self.address ="" self.lat ="" self.lon ="" def setName(self,name): self.name...
36.67
238
0.583311
390
3,667
5.438462
0.348718
0.046676
0.063649
0.060349
0.136728
0.114097
0.114097
0.114097
0.063178
0.063178
0
0.011416
0.283338
3,667
99
239
37.040404
0.795662
0.029725
0
0.077922
0
0
0.16081
0.007591
0
0
0
0.010101
0
1
0.12987
false
0
0.038961
0.012987
0.233766
0.064935
0
0
0
null
0
0
0
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
62d00481037171548e36a6661eb580d27230ee31
3,400
py
Python
nbdev/conda.py
MSeal/nbdev
2b2338cb264d6c359018df713e1086d62c5c5a31
[ "Apache-2.0" ]
null
null
null
nbdev/conda.py
MSeal/nbdev
2b2338cb264d6c359018df713e1086d62c5c5a31
[ "Apache-2.0" ]
null
null
null
nbdev/conda.py
MSeal/nbdev
2b2338cb264d6c359018df713e1086d62c5c5a31
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/05a_conda.ipynb (unless otherwise specified). __all__ = ['pypi_json', 'latest_pypi', 'write_pip_conda_meta', 'write_conda_meta'] # Cell from .imports import * from .export import * import yaml from copy import deepcopy try: from packaging.version import parse except Im...
33.663366
102
0.597941
455
3,400
4.336264
0.305495
0.030411
0.024328
0.024328
0.351749
0.30816
0.287886
0.259503
0.259503
0.259503
0
0.011667
0.218529
3,400
101
103
33.663366
0.7309
0.148235
0
0.297297
1
0.013514
0.324584
0
0
0
0
0
0
1
0.094595
false
0
0.108108
0
0.256757
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
62d34635be7506781650c8181b90c05146c71d82
199
py
Python
Python/_02_Basic_Data_Types/_04_Find_the_Second_Largest_Number/solution.py
avtomato/HackerRank
96f9cf770ac57d782bb05cccc23764a529bb27ae
[ "MIT" ]
null
null
null
Python/_02_Basic_Data_Types/_04_Find_the_Second_Largest_Number/solution.py
avtomato/HackerRank
96f9cf770ac57d782bb05cccc23764a529bb27ae
[ "MIT" ]
null
null
null
Python/_02_Basic_Data_Types/_04_Find_the_Second_Largest_Number/solution.py
avtomato/HackerRank
96f9cf770ac57d782bb05cccc23764a529bb27ae
[ "MIT" ]
2
2019-09-21T16:04:13.000Z
2020-03-25T09:07:47.000Z
if __name__ == '__main__': n = int(input()) arr = map(int, input().split()) total = list() [total.append(i) for i in arr if i not in total] total.sort() print(total[-2])
22.111111
52
0.547739
30
199
3.366667
0.633333
0.158416
0
0
0
0
0
0
0
0
0
0.006944
0.276382
199
8
53
24.875
0.694444
0
0
0
0
0
0.040404
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62d552af2167d1cfa7893f92c62ecbbc4042455b
5,947
py
Python
proj4/part2/train.py
chengxuxin/CS194_projects
13adba5586e7ed0b509bea79af6e5d9bf0b5bd6c
[ "MIT" ]
null
null
null
proj4/part2/train.py
chengxuxin/CS194_projects
13adba5586e7ed0b509bea79af6e5d9bf0b5bd6c
[ "MIT" ]
null
null
null
proj4/part2/train.py
chengxuxin/CS194_projects
13adba5586e7ed0b509bea79af6e5d9bf0b5bd6c
[ "MIT" ]
null
null
null
import os import time import cv2 import matplotlib.pyplot as plt import numpy as np import png import torch import torch.nn as nn import torch.optim as optim import torchvision from colormap.colors import Color, hex2rgb from sklearn.metrics import average_precision_score as ap_score from torch.utils.data import DataLo...
31.632979
93
0.571717
737
5,947
4.511533
0.264586
0.021654
0.027068
0.020451
0.220451
0.177444
0.177444
0.139549
0.127519
0.127519
0
0.020925
0.276778
5,947
187
94
31.802139
0.752151
0.061375
0
0.206897
0
0
0.065402
0.007922
0
0
0
0.010695
0.013793
1
0.055172
false
0
0.110345
0
0.193103
0.048276
0
0
0
null
0
0
0
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
62d5ddd41ceee42bf5f032924092df2f226ea984
3,963
py
Python
pKaTool/pKa_setup.py
shambo001/peat
7a26e896aa9914b084a9064df09ed15df4047cf3
[ "MIT" ]
3
2016-11-11T06:11:03.000Z
2021-09-12T22:13:51.000Z
pKaTool/pKa_setup.py
shambo001/peat
7a26e896aa9914b084a9064df09ed15df4047cf3
[ "MIT" ]
null
null
null
pKaTool/pKa_setup.py
shambo001/peat
7a26e896aa9914b084a9064df09ed15df4047cf3
[ "MIT" ]
2
2016-02-15T16:10:36.000Z
2018-02-27T10:33:21.000Z
#!/usr/bin/env python # # pKaTool - analysis of systems of titratable groups # Copyright (C) 2010 Jens Erik Nielsen # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Lice...
26.959184
81
0.553116
458
3,963
4.709607
0.401747
0.060269
0.025962
0.026426
0.200742
0.085304
0.059342
0.030598
0
0
0
0.012072
0.352006
3,963
146
82
27.143836
0.827882
0.3351
0
0.277778
0
0
0.067368
0
0
0
0
0
0
0
null
null
0
0
null
null
0.018519
0
0
0
null
0
0
0
0
0
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
62d769c6ca4df1f742a76d3245423ded95970919
498
py
Python
tests/test_gflanguages_api.py
davelab6/gflanguages
75e6907c9ca2f59881a67d60e54e50fa1e0f7e1a
[ "Apache-2.0" ]
1
2022-02-26T16:25:40.000Z
2022-02-26T16:25:40.000Z
tests/test_gflanguages_api.py
davelab6/gflanguages
75e6907c9ca2f59881a67d60e54e50fa1e0f7e1a
[ "Apache-2.0" ]
1
2022-03-03T18:04:54.000Z
2022-03-03T18:04:54.000Z
tests/test_gflanguages_api.py
davelab6/gflanguages
75e6907c9ca2f59881a67d60e54e50fa1e0f7e1a
[ "Apache-2.0" ]
1
2022-02-26T00:04:40.000Z
2022-02-26T00:04:40.000Z
from gflanguages import lang_support def test_LoadLanguages(): langs = lang_support.LoadLanguages() numerals = langs["yi_Hebr"].exemplar_chars.numerals assert numerals == '- ‑ , . % ‰ + 0 1 2 3 4 5 6 7 8 9' def test_LoadScripts(): scripts = lang_support.LoadScripts() assert scripts["Tagb"].name ...
24.9
58
0.670683
64
498
5.09375
0.609375
0.134969
0
0
0
0
0
0
0
0
0
0.025063
0.198795
498
19
59
26.210526
0.786967
0
0
0
0
0
0.136546
0
0
0
0
0
0.307692
1
0.230769
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
62d8bfe4f0ba3e7d381e8944b61d300658020324
2,810
py
Python
v2sub/config.py
skydreamever/v2sub
75f932bb1b59e3880feaf5dec9824676140b68b8
[ "MIT" ]
2
2019-08-21T00:39:55.000Z
2019-12-06T23:03:33.000Z
v2sub/config.py
skydreamever/v2sub
75f932bb1b59e3880feaf5dec9824676140b68b8
[ "MIT" ]
null
null
null
v2sub/config.py
skydreamever/v2sub
75f932bb1b59e3880feaf5dec9824676140b68b8
[ "MIT" ]
1
2020-10-09T00:05:06.000Z
2020-10-09T00:05:06.000Z
from v2sub import utils V2RAY_CONFIG_FILE = "/usr/local/etc/v2ray/config.json" def _get_config(addr: str, port: int, id_: str, alterId=0, network="tcp", type="none", tls="",client_port=1080) -> dict: return { "inbounds": [ { "listen": "127.0.0.1", "protocol": "socks", ...
27.019231
120
0.323488
174
2,810
5.103448
0.5
0.061937
0.033784
0
0
0
0
0
0
0
0
0.019985
0.537011
2,810
103
121
27.281553
0.662567
0
0
0.091837
0
0
0.199644
0.011388
0
0
0
0
0
1
0.020408
false
0
0.010204
0.010204
0.040816
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62e2a5ab3d097ab4afcee8735cee6c5b39814c50
2,203
py
Python
tests/test_drug.py
topspinj/medcodes
b4a6aae29b8cea5a6af75b60071d85189ed96fc2
[ "BSD-3-Clause" ]
5
2019-08-24T15:50:50.000Z
2021-12-26T03:40:38.000Z
tests/test_drug.py
topspinj/medcodes
b4a6aae29b8cea5a6af75b60071d85189ed96fc2
[ "BSD-3-Clause" ]
null
null
null
tests/test_drug.py
topspinj/medcodes
b4a6aae29b8cea5a6af75b60071d85189ed96fc2
[ "BSD-3-Clause" ]
3
2020-03-18T19:00:19.000Z
2021-09-23T07:04:46.000Z
""" Drug Class ========== """ import pytest import pandas as pd from medcodes.drugs.standardization import Drug, get_rxcui, get_atc, get_mesh, get_pharm_class, get_pharm_class, spelling_suggestions ####################################### # spelling_suggestion() ####################################### def test_spelli...
27.197531
133
0.598729
252
2,203
4.972222
0.269841
0.127694
0.105347
0.035914
0.176377
0.138069
0.119713
0.062251
0.062251
0.062251
0
0.003191
0.146618
2,203
81
134
27.197531
0.663298
0.119383
0
0.184211
0
0
0.055591
0
0
0
0
0
0.315789
1
0.236842
false
0
0.078947
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
62e638ee05091f255bc7da31594abd79581fdc83
279
py
Python
lib/test.py
Apollon77/iobroker.broadlink2
89875d64a7790f79a386a6a00bea656d764ce666
[ "MIT" ]
43
2017-10-11T15:31:52.000Z
2022-01-09T15:49:56.000Z
lib/test.py
Amnesia1211/ioBroker.broadlink2
f284d843bfe40eeb71cb077bb4cba5b40cc5fd11
[ "MIT" ]
117
2017-09-19T17:49:30.000Z
2022-02-17T11:11:03.000Z
lib/test.py
Amnesia1211/ioBroker.broadlink2
f284d843bfe40eeb71cb077bb4cba5b40cc5fd11
[ "MIT" ]
16
2017-09-19T05:29:58.000Z
2022-01-09T15:48:59.000Z
#!/usr/bin/python import broadlink strHost="192.168.0.187" strMac="34:ea:34:9b:92:46" strType = '0x4ead' macbytes = bytearray.fromhex(strMac.replace(':','')) device = broadlink.hysen((strHost,80),macbytes,strType) print device.auth() data = device.get_full_status() print data
21.461538
55
0.734767
41
279
4.95122
0.756098
0
0
0
0
0
0
0
0
0
0
0.089844
0.082437
279
12
56
23.25
0.703125
0.057348
0
0
0
0
0.141221
0
0
0
0.022901
0
0
0
null
null
0
0.111111
null
null
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
62efd5d1ef9d3dc0334b4dd40ea879e3ceb19c54
2,842
py
Python
mass-cat-index-wikisource.py
krls-ca/viquitexts-calaix-de-sastre
a805e24a535f41c5fcfc218c8fc0e987a9f931d3
[ "MIT" ]
null
null
null
mass-cat-index-wikisource.py
krls-ca/viquitexts-calaix-de-sastre
a805e24a535f41c5fcfc218c8fc0e987a9f931d3
[ "MIT" ]
null
null
null
mass-cat-index-wikisource.py
krls-ca/viquitexts-calaix-de-sastre
a805e24a535f41c5fcfc218c8fc0e987a9f931d3
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import pywikibot, re, time from bs4 import BeautifulSoup from pywikibot.proofreadpage import ProofreadPage from pywikibot.proofreadpage import IndexPage def getCategoryNeeded(ql): if ql == 0: #WITHOUT_TEXT return u'[[Category:Testurik gabe]]' #Testurik gabe elif ql ==...
33.435294
193
0.672766
363
2,842
5.209366
0.344353
0.057113
0.039662
0.031729
0.141195
0.105235
0.105235
0.073506
0.050767
0
0
0.010697
0.177692
2,842
85
194
33.435294
0.79846
0.143561
0
0
0
0
0.222963
0.095848
0
0
0
0
0
0
null
null
0
0.08
null
null
0.08
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
62f2716f5955edb27c4d2a92bccb08d56a2bc456
1,942
py
Python
cdk/app.py
aws-samples/amazon-kda-studio-flinksql-example
da7a3662be9d7d4b14ac2c4e786233b70d3a94b7
[ "MIT-0" ]
1
2021-10-24T01:51:37.000Z
2021-10-24T01:51:37.000Z
cdk/app.py
aws-samples/amazon-kda-studio-flinksql-example
da7a3662be9d7d4b14ac2c4e786233b70d3a94b7
[ "MIT-0" ]
null
null
null
cdk/app.py
aws-samples/amazon-kda-studio-flinksql-example
da7a3662be9d7d4b14ac2c4e786233b70d3a94b7
[ "MIT-0" ]
1
2022-02-04T06:33:41.000Z
2022-02-04T06:33:41.000Z
#!/usr/bin/env python3 import os import boto3 from aws_cdk import core as cdk # For consistency with TypeScript code, `cdk` is the preferred import name for # the CDK's core module. The following line also imports it as `core` for use # with examples from the CDK Developer's Guide, which are in the process of # being...
39.632653
162
0.746138
289
1,942
4.892734
0.456747
0.039604
0.033946
0.033946
0.113154
0.084866
0.084866
0.084866
0.084866
0.057992
0
0.024722
0.166838
1,942
48
163
40.458333
0.849197
0.535015
0
0
0
0.045455
0.253664
0.05637
0
0
0
0
0
1
0
false
0
0.318182
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
62f418306a9f44b91f592656311bf39a2011f78a
408
py
Python
mumbletemps/templatetags/timetags.py
wengole/allianceauth-mumble-temp
5d79dfb966335e0471b2844fd553d6b922ab3dff
[ "MIT" ]
null
null
null
mumbletemps/templatetags/timetags.py
wengole/allianceauth-mumble-temp
5d79dfb966335e0471b2844fd553d6b922ab3dff
[ "MIT" ]
null
null
null
mumbletemps/templatetags/timetags.py
wengole/allianceauth-mumble-temp
5d79dfb966335e0471b2844fd553d6b922ab3dff
[ "MIT" ]
null
null
null
from django import template import datetime from django.utils import timezone register = template.Library() def print_timestamp(timestamp): try: # assume, that timestamp is given in seconds with decimal point ts = float(timestamp) except ValueError: return None return datetime.dat...
22.666667
75
0.742647
49
408
6.142857
0.673469
0.066445
0
0
0
0
0
0
0
0
0
0
0.191176
408
17
76
24
0.912121
0.14951
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
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
62f67aecc613bdc21c61a0cf8d61ef5ae7844171
4,036
py
Python
modules/database.py
davidrehbinder/learning-cypress
787546536e9d91b9c2e34b02a98a0fcf2d53e7a8
[ "MIT" ]
null
null
null
modules/database.py
davidrehbinder/learning-cypress
787546536e9d91b9c2e34b02a98a0fcf2d53e7a8
[ "MIT" ]
null
null
null
modules/database.py
davidrehbinder/learning-cypress
787546536e9d91b9c2e34b02a98a0fcf2d53e7a8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import datetime import sqlite3 from random import randint # con = sqlite3.connect('database.db', check_same_thread=False) # cur = con.cursor() def create_tables(con, cur): cur.execute('''CREATE TABLE IF NOT EXISTS users( username TEXT NOT NULL UNIQUE, password TEXT NOT NULL)''') ...
34.20339
118
0.575818
513
4,036
4.467836
0.220273
0.061082
0.033595
0.027487
0.240401
0.189354
0.189354
0.175393
0.141361
0.141361
0
0.015609
0.269822
4,036
117
119
34.495727
0.762131
0.025273
0
0.25
0
0
0.29102
0
0
0
0
0
0
1
0.076923
false
0.067308
0.028846
0.009615
0.269231
0.028846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
62f74992e16c073045cabd93c76d2ec81692217c
1,940
py
Python
app/core/tests/test_admin.py
HKSenior/recipe-api
5229320ad5d1f7d06c7e78b1d48ad371b2aea9d4
[ "MIT" ]
null
null
null
app/core/tests/test_admin.py
HKSenior/recipe-api
5229320ad5d1f7d06c7e78b1d48ad371b2aea9d4
[ "MIT" ]
null
null
null
app/core/tests/test_admin.py
HKSenior/recipe-api
5229320ad5d1f7d06c7e78b1d48ad371b2aea9d4
[ "MIT" ]
null
null
null
from django.test import TestCase, Client from django.contrib.auth import get_user_model from django.urls import reverse class AdminSiteTests(TestCase): def setUp(self): """ Set up function that creates a test client, with a new user and a regular user that will be list...
27.714286
68
0.594845
242
1,940
4.657025
0.301653
0.042591
0.031943
0.037267
0.388642
0.323869
0.192547
0.133984
0.133984
0.133984
0
0.009084
0.319072
1,940
69
69
28.115942
0.844058
0.255155
0
0.172414
0
0
0.110514
0.036838
0
0
0
0
0.137931
1
0.137931
false
0.068966
0.103448
0
0.275862
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
62fa633936ea2d24fc8b1db1415af9d29e6e58ce
1,466
py
Python
bagnets/keras.py
tanimutomo/bag-of-local-features-models
6cc7b353f1bd596924f7a34af14f481aff2ab80c
[ "MIT" ]
320
2019-01-18T21:42:02.000Z
2022-03-30T16:15:45.000Z
bagnets/keras.py
tanimutomo/bag-of-local-features-models
6cc7b353f1bd596924f7a34af14f481aff2ab80c
[ "MIT" ]
23
2019-02-08T03:48:09.000Z
2021-03-11T13:43:23.000Z
bagnets/keras.py
tanimutomo/bag-of-local-features-models
6cc7b353f1bd596924f7a34af14f481aff2ab80c
[ "MIT" ]
56
2019-02-03T17:16:48.000Z
2022-01-06T01:40:56.000Z
import keras from keras.models import load_model __all__ = ['bagnet9', 'bagnet17', 'bagnet33'] model_urls = { 'bagnet9': 'https://bitbucket.org/wielandbrendel/bag-of-feature-pretrained-models/raw/d413271344758455ac086992beb579e256447839/bagnet8.h5', 'bagnet17': 'https://bitbucket.org/wieland...
38.578947
154
0.674625
128
1,466
7.515625
0.289063
0.056133
0.053015
0.096674
0.558212
0.455301
0.318087
0.318087
0.318087
0.318087
0
0.218914
0.22101
1,466
37
155
39.621622
0.623468
0
0
0.310345
0
0.103448
0.469304
0.130969
0
0
0
0
0
1
0.103448
false
0
0.068966
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
1a0dcc59b35371f548a9dd695000b33abce494bd
2,341
py
Python
prettyqt/location/__init__.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
7
2019-05-01T01:34:36.000Z
2022-03-08T02:24:14.000Z
prettyqt/location/__init__.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
141
2019-04-16T11:22:01.000Z
2021-04-14T15:12:36.000Z
prettyqt/location/__init__.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
5
2019-04-17T11:48:19.000Z
2021-11-21T10:30:19.000Z
"""Location module.""" import prettyqt.qt from .qlocation import VISIBILITY, VisibilityStr from .georouterequest import GeoRouteRequest from .placeattribute import PlaceAttribute from .placeratings import PlaceRatings from .placecontactdetail import PlaceContactDetail from .placeicon import PlaceIcon from .placesuppl...
28.901235
64
0.787698
187
2,341
9.839572
0.26738
0.01087
0
0
0
0
0
0
0
0
0
0.000999
0.144383
2,341
80
65
29.2625
0.917624
0.017941
0
0
0
0
0.211513
0.010903
0
0
0
0
0
1
0
false
0
0.479452
0
0.479452
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1a10ccb12bf4aaffd11af453679629979ffa6026
3,418
py
Python
tests/PingMeTests.py
thegreatco/PingMePy
d95c5c10a4d6f7bab69da4fafac10969ef9b8935
[ "Apache-2.0" ]
1
2017-08-16T19:27:29.000Z
2017-08-16T19:27:29.000Z
tests/PingMeTests.py
thegreatco/PingMePy
d95c5c10a4d6f7bab69da4fafac10969ef9b8935
[ "Apache-2.0" ]
null
null
null
tests/PingMeTests.py
thegreatco/PingMePy
d95c5c10a4d6f7bab69da4fafac10969ef9b8935
[ "Apache-2.0" ]
null
null
null
import unittest import json from PingMePy import PingMeClient __author__ = 'TheGreatCO' class PingMeTests(unittest.TestCase): client = PingMeClient("pete@mongodb.com", "c954a569-3905-4e51-9590-714be9fafe62", "http://ec2-52-27-76-79.us-west-2.compute.amazonaws.com:8080") ...
38.840909
103
0.600059
365
3,418
5.515068
0.268493
0.074516
0.09687
0.044709
0.545455
0.529061
0.529061
0.501242
0.481868
0.453552
0
0.015561
0.285547
3,418
87
104
39.287356
0.808763
0
0
0.438356
0
0.013699
0.160612
0.010808
0
0
0
0
0.164384
0
null
null
0
0.041096
null
null
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
1
0
0
0
0
0
0
0
0
1
1a127f81ea2bbcde2dbe2fb28e90bf0f93348de9
2,051
py
Python
cvxpy/reductions/flip_objective.py
hashstat/cvxpy
20d667ebe8614821fa38e41b1e333257512d9594
[ "ECL-2.0", "Apache-2.0" ]
3,285
2015-01-03T04:02:29.000Z
2021-04-19T14:51:29.000Z
cvxpy/reductions/flip_objective.py
h-vetinari/cvxpy
86307f271819bb78fcdf64a9c3a424773e8269fa
[ "ECL-2.0", "Apache-2.0" ]
1,138
2015-01-01T19:40:14.000Z
2021-04-18T23:37:31.000Z
cvxpy/reductions/flip_objective.py
h-vetinari/cvxpy
86307f271819bb78fcdf64a9c3a424773e8269fa
[ "ECL-2.0", "Apache-2.0" ]
765
2015-01-02T19:29:39.000Z
2021-04-20T00:50:43.000Z
""" Copyright 2017 Robin Verschueren Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
30.161765
75
0.634812
245
2,051
5.285714
0.481633
0.046332
0.032432
0.02471
0
0
0
0
0
0
0
0.005453
0.284739
2,051
67
76
30.61194
0.877301
0.5451
0
0
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0.1875
0.0625
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1a1828fe7a5e33877d4fd19f538630c4750fec97
2,193
py
Python
src/downscale_images.py
ternaus/lsun_2017
e1ceefd131289953e765b79a58f8cd868a979ae6
[ "MIT" ]
6
2017-07-07T13:17:10.000Z
2019-05-20T03:16:01.000Z
src/downscale_images.py
ternaus/lsun_2017
e1ceefd131289953e765b79a58f8cd868a979ae6
[ "MIT" ]
1
2020-06-06T09:11:33.000Z
2020-06-06T09:11:33.000Z
src/downscale_images.py
ternaus/lsun_2017
e1ceefd131289953e765b79a58f8cd868a979ae6
[ "MIT" ]
2
2017-12-16T03:47:07.000Z
2018-12-10T08:32:57.000Z
""" No time, no resources => Let's downscale images """ from __future__ import division import os from joblib import Parallel, delayed import cv2 min_size = 192 def downscale(old_file_name): img = cv2.imread(os.path.join(old_file_name)) new_file_name = (old_file_name .replace('training...
33.227273
93
0.598267
286
2,193
4.297203
0.237762
0.062653
0.065094
0.056957
0.496338
0.496338
0.393816
0.393816
0.393816
0.393816
0
0.008861
0.279526
2,193
65
94
33.738462
0.768987
0.170543
0
0.15
0
0
0.074032
0
0
0
0
0
0
0
null
null
0.05
0.1
null
null
0.025
0
0
0
null
0
0
0
0
0
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
1a19b6c98df85e22fb6cdb37da468efa13fc90e0
4,717
py
Python
thekensql.py
blutonium/orderpad
c7b9364e95b13702a6bc54f809f39a1b8ee98e95
[ "MIT" ]
null
null
null
thekensql.py
blutonium/orderpad
c7b9364e95b13702a6bc54f809f39a1b8ee98e95
[ "MIT" ]
null
null
null
thekensql.py
blutonium/orderpad
c7b9364e95b13702a6bc54f809f39a1b8ee98e95
[ "MIT" ]
null
null
null
import mysql.connector import base64 import json import os product_table = 'products' product_key = 'product_id' product_rows_to_fetch = ['product_id', 'name', 'liter', 'min_age'] order_table = 'orders' class ThekenSQL: def __init__(self, id): self.db = None self.host:str = '' ...
34.430657
144
0.44541
455
4,717
4.525275
0.263736
0.032054
0.013599
0.026226
0.18747
0.18747
0.18747
0.146187
0.082564
0.082564
0
0.006564
0.450922
4,717
137
145
34.430657
0.788417
0.00318
0
0.226087
0
0
0.123741
0
0
0
0
0
0
1
0.06087
false
0.069565
0.034783
0.008696
0.165217
0.095652
0
0
0
null
0
0
0
0
0
0
0
0
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
1a1e14156804654385c43a98dff22f7fcffbb6de
9,365
py
Python
lianjia/pipelines.py
pyday/lianjia
bf6e8629495b4d69d92ff5c34f07f29274ab9682
[ "Apache-2.0" ]
null
null
null
lianjia/pipelines.py
pyday/lianjia
bf6e8629495b4d69d92ff5c34f07f29274ab9682
[ "Apache-2.0" ]
null
null
null
lianjia/pipelines.py
pyday/lianjia
bf6e8629495b4d69d92ff5c34f07f29274ab9682
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import copy from lianjia.items import ResidenceInfoItem,ResidencePriceItem,DealItem,EsfItem import MySQLdb import MySQLdb.cursors from lianjia.Exception.readUtils import MysqlConfig import datetime from lianjia.Exception.emailSender import emailSender # Define your item pipelines here # # Don't ...
50.349462
158
0.546823
1,039
9,365
4.747834
0.154957
0.038111
0.054733
0.069734
0.690857
0.642206
0.62761
0.585242
0.555443
0.525441
0
0.0018
0.288094
9,365
185
159
50.621622
0.738113
0.020609
0
0.454545
0
0.030303
0.168332
0.018487
0
0
0
0
0
0
null
null
0.030303
0.05303
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1a1e8458a1df01e49d69772b2d1ef52677792bd1
3,614
py
Python
04Machine Learning 2/09Telecom Churn - ML Group Case Study/temp.py
talk2sunil83/UpgradLearning
70c4f993c68ce5030e9df0edd15004bbb9fc71e7
[ "Apache-2.0" ]
null
null
null
04Machine Learning 2/09Telecom Churn - ML Group Case Study/temp.py
talk2sunil83/UpgradLearning
70c4f993c68ce5030e9df0edd15004bbb9fc71e7
[ "Apache-2.0" ]
null
null
null
04Machine Learning 2/09Telecom Churn - ML Group Case Study/temp.py
talk2sunil83/UpgradLearning
70c4f993c68ce5030e9df0edd15004bbb9fc71e7
[ "Apache-2.0" ]
null
null
null
# %% [markdown] ''' Logistic Regression Classifier Random forest Classifier Decision Tree Classifier PCA Logistic Regression Classifier Random forest Classifier Decision Tree Classifier Normalization Modeling With PCA Without PCA ''' all_metrics.append(["Logistic Regression", rou...
47.552632
548
0.721915
647
3,614
3.418856
0.224111
0.052441
0.031646
0.035262
0.166365
0.133816
0.065099
0.065099
0.065099
0
0
0.05377
0.130327
3,614
75
549
48.186667
0.650016
0.143885
0
0
0
0
0.633333
0.009524
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a21bc68ab67317c4c641d4ccb2224dff8f2053a
535
py
Python
python/creating-submodules/module/constants/defines.py
sdsmt-robotics/tip-and-whatnot
6c82d0664b68864a0e9ed50758d1a2e0cd64550c
[ "MIT" ]
null
null
null
python/creating-submodules/module/constants/defines.py
sdsmt-robotics/tip-and-whatnot
6c82d0664b68864a0e9ed50758d1a2e0cd64550c
[ "MIT" ]
null
null
null
python/creating-submodules/module/constants/defines.py
sdsmt-robotics/tip-and-whatnot
6c82d0664b68864a0e9ed50758d1a2e0cd64550c
[ "MIT" ]
null
null
null
NAME = 'Jane P. Roult' # Communication Definitions BAUDRATE = 115200 COMMAND_COMM_LOCATION = "/dev/robot/arduino" # For sending commands SENSORS_COMM_LOCATION = "/dev/robot/sensors" # For receiving sensor telemetry # Physical Definitions WHEEL_BASE_MM = 153.0 # Blue Wheels with geared steppers: STEPS_PER_CM = 132....
24.318182
78
0.762617
81
535
4.814815
0.54321
0.123077
0.128205
0.184615
0.184615
0.184615
0.184615
0.184615
0
0
0
0.053097
0.15514
535
21
79
25.47619
0.809735
0.553271
0
0
0
0
0.215859
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a24ddaf20122d58ad6997dace8fe4bb7b4ea03e
9,301
py
Python
URLSHORT/app.py
its-mr-monday/Url-Shortener
bca0f9c1a8d6c5a686704d7a410351b9ce31439b
[ "MIT" ]
null
null
null
URLSHORT/app.py
its-mr-monday/Url-Shortener
bca0f9c1a8d6c5a686704d7a410351b9ce31439b
[ "MIT" ]
null
null
null
URLSHORT/app.py
its-mr-monday/Url-Shortener
bca0f9c1a8d6c5a686704d7a410351b9ce31439b
[ "MIT" ]
null
null
null
from flask import Flask, render_template, flash, redirect, url_for, session, logging, request from flask_mysqldb import MySQL from functools import wraps from passlib.hash import sha256_crypt from webforms import * from lib import * from config import * from table_matrix import * from queries import * app = Flask(__na...
34.705224
142
0.609074
1,123
9,301
4.898486
0.178094
0.048355
0.061807
0.043628
0.334485
0.256317
0.174877
0.12525
0.115797
0.097255
0
0.005021
0.272014
9,301
268
143
34.705224
0.807414
0.069347
0
0.312195
0
0.004878
0.175307
0.007174
0
0
0
0
0
1
0.078049
false
0.121951
0.043902
0.019512
0.282927
0.029268
0
0
0
null
0
0
0
0
0
0
0
0
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
1a25cd43d10dbae35857d92cc1b92b0c44c41cc2
888
py
Python
examples/05-functions.py
evermorn/skillbox-chat
f0d9392ec916aefd7f88d6d1a4dd6db6848628da
[ "MIT" ]
null
null
null
examples/05-functions.py
evermorn/skillbox-chat
f0d9392ec916aefd7f88d6d1a4dd6db6848628da
[ "MIT" ]
4
2021-03-19T02:47:58.000Z
2022-01-13T01:32:10.000Z
examples/05-functions.py
evermorn/skillbox-chat
f0d9392ec916aefd7f88d6d1a4dd6db6848628da
[ "MIT" ]
1
2022-01-19T08:24:32.000Z
2022-01-19T08:24:32.000Z
# Created by Artem Manchenkov # artyom@manchenkoff.me # # Copyright © 2019 # # Функции и аргументы # # Простая функция def simple_action(): print('I am a simple function! Nothing interesting yet...') simple_action() # вызывает выполнение функции # Функция с аргументами def say_hello(name: str): print...
17.411765
63
0.703829
129
888
4.666667
0.573643
0.079734
0.074751
0.049834
0.126246
0.076412
0
0
0
0
0
0.021828
0.17455
888
50
64
17.76
0.79809
0.306306
0
0.111111
0
0
0.199667
0
0
0
0
0
0
1
0.277778
false
0
0
0.055556
0.333333
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1a26cd4131d8a6f5d08ce0c51ec779cc43ae572c
597
py
Python
src/utils/shell.py
MohamedAteya/Transformers-Domain-Adaptation
1c66addeb63fdc7e3c1ab50441a87b1c2777553a
[ "MIT" ]
45
2021-03-07T08:08:38.000Z
2022-03-12T12:33:36.000Z
src/utils/shell.py
MohamedAteya/Transformers-Domain-Adaptation
1c66addeb63fdc7e3c1ab50441a87b1c2777553a
[ "MIT" ]
5
2021-03-03T17:43:32.000Z
2022-01-20T20:13:51.000Z
src/utils/shell.py
MohamedAteya/Transformers-Domain-Adaptation
1c66addeb63fdc7e3c1ab50441a87b1c2777553a
[ "MIT" ]
7
2021-04-12T10:20:49.000Z
2022-03-02T01:44:21.000Z
"""Utility module for interacting with the shell.""" import shlex from subprocess import run, Popen, PIPE def run_shell(cmd: str) -> str: """Run a shell command using the subprocess module.""" return run(shlex.split(cmd), stdout=PIPE, stderr=PIPE, check=True, universal_newlines=T...
33.166667
69
0.675042
84
597
4.738095
0.571429
0.075377
0.065327
0
0
0
0
0
0
0
0
0
0.201005
597
17
70
35.117647
0.834382
0.242881
0
0
0
0
0.068807
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a7e40b7365e52c5fc203be1c4c21689f70ed8f06
46,790
py
Python
c3x/enomo/energy_optimiser.py
bsgip/c3x-enomo
046fb0d8b283e605361c006765d63516349bc5de
[ "MIT" ]
null
null
null
c3x/enomo/energy_optimiser.py
bsgip/c3x-enomo
046fb0d8b283e605361c006765d63516349bc5de
[ "MIT" ]
null
null
null
c3x/enomo/energy_optimiser.py
bsgip/c3x-enomo
046fb0d8b283e605361c006765d63516349bc5de
[ "MIT" ]
2
2020-12-09T00:59:00.000Z
2021-11-28T10:40:29.000Z
from pyomo.opt import SolverFactory, SolverStatus, TerminationCondition import pyomo.environ as en import os import numpy as np import logging logger = logging.getLogger(__name__) #################################################################### # Define some useful container objects to define the optimisation ob...
56.577993
207
0.65499
5,430
46,790
5.410313
0.088029
0.083328
0.034516
0.022874
0.682994
0.634352
0.579481
0.5386
0.494656
0.44918
0
0.003277
0.269609
46,790
826
208
56.646489
0.856357
0.219662
0
0.206549
0
0
0.008432
0.000846
0
0
0
0.010896
0
1
0.11335
false
0
0.148615
0.055416
0.413098
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
a7e4c7e5d9d84fe63b39b67b10ff169ebc965fef
1,422
py
Python
feb long/MEET.py
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
4
2021-04-13T11:04:45.000Z
2021-12-06T16:32:28.000Z
feb long/MEET.py
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
feb long/MEET.py
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
def calculate( time, realtime ): starting = time[6] hhs = int(time[:2]) mms = int(time[3:5]) ending = time[15] hhe = int(time[9:11]) mme = int(time[12:15]) if time[6]== 'A': if time[15] == 'A': if hhs!=12: sum=0 sum = sum + (hh*60)+mm ...
22.935484
63
0.440928
168
1,422
3.732143
0.261905
0.057416
0.105263
0.175439
0.491228
0.491228
0.491228
0.438596
0.438596
0.393939
0
0.055762
0.432489
1,422
61
64
23.311475
0.72119
0.021097
0
0.618182
0
0
0.002882
0
0
0
0
0
0
1
0.036364
false
0
0
0
0.145455
0.109091
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a7e6632dfcb6ded36b8fd5b381a0441c2cf0f09d
21,058
py
Python
src/pvc/widget/inventory.py
derekschrock/pvc
8727ce2967579f7da56c548c8e8d4b278ffb01ac
[ "BSD-2-Clause" ]
54
2015-04-02T16:42:35.000Z
2020-08-03T19:28:53.000Z
src/pvc/widget/inventory.py
derekschrock/pvc
8727ce2967579f7da56c548c8e8d4b278ffb01ac
[ "BSD-2-Clause" ]
29
2015-04-13T01:56:46.000Z
2021-03-06T11:32:22.000Z
src/pvc/widget/inventory.py
derekschrock/pvc
8727ce2967579f7da56c548c8e8d4b278ffb01ac
[ "BSD-2-Clause" ]
15
2015-04-13T14:17:52.000Z
2022-02-22T12:40:46.000Z
# Copyright (c) 2015 Marin Atanasov Nikolov <dnaeon@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, th...
28.886145
96
0.534951
2,061
21,058
5.374575
0.1213
0.059312
0.053986
0.054979
0.704523
0.688724
0.653787
0.63528
0.629503
0.620294
0
0.000456
0.375012
21,058
728
97
28.925824
0.841197
0.10623
0
0.637899
0
0
0.126648
0.00828
0
0
0
0
0
1
0.041276
false
0
0.015009
0
0.086304
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
a7e996911d78b5066cf048e391822552458d8833
4,444
py
Python
Python/plotLagrangian.py
eliotayache/1D-Lagrangian-hydrocode
51e02feea3064fc6ca027d89ce7ebc4a8481bbdb
[ "MIT" ]
1
2020-08-19T00:22:44.000Z
2020-08-19T00:22:44.000Z
Python/plotLagrangian.py
eliotayache/1D-Lagrangian-hydrocode
51e02feea3064fc6ca027d89ce7ebc4a8481bbdb
[ "MIT" ]
null
null
null
Python/plotLagrangian.py
eliotayache/1D-Lagrangian-hydrocode
51e02feea3064fc6ca027d89ce7ebc4a8481bbdb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # ==================================================================================== # # ================================ Program plot.py =================================== # # ==================================================================================== # # Author and corrections: ...
26.295858
101
0.385689
466
4,444
3.626609
0.396996
0.008876
0.014201
0.007101
0.069231
0.069231
0.069231
0.069231
0.069231
0.069231
0
0.021733
0.2545
4,444
168
102
26.452381
0.488379
0.427768
0
0
0
0
0.189113
0.020968
0
0
0
0
0
1
0
false
0
0.046512
0
0.046512
0.05814
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a7ebb29d820ab151b993912911d51e9cf45b6ed7
1,499
py
Python
asyncssh_sample/server.py
butla/experiments
8c8ade15bb01978763d6618342fa42ad7563e38f
[ "MIT" ]
1
2020-06-01T02:41:45.000Z
2020-06-01T02:41:45.000Z
asyncssh_sample/server.py
butla/experiments
8c8ade15bb01978763d6618342fa42ad7563e38f
[ "MIT" ]
48
2019-12-26T16:38:19.000Z
2021-07-06T13:29:50.000Z
asyncssh_sample/server.py
butla/experiments
8c8ade15bb01978763d6618342fa42ad7563e38f
[ "MIT" ]
null
null
null
import asyncio, asyncssh, crypt, sys passwords = {'guest': '', # guest account with no password 'user123': 'qV2iEadIGV2rw' # password of 'secretpw' } def handle_client(process): process.stdout.write('Welcome to my SSH server, %s!\n' % process.get...
31.893617
74
0.611074
174
1,499
5.12069
0.5
0.026936
0.060606
0
0
0
0
0
0
0
0
0.010148
0.276851
1,499
46
75
32.586957
0.811808
0.078052
0
0
0
0
0.133527
0
0
0
0
0
0
1
0.176471
false
0.176471
0.029412
0.058824
0.323529
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a7ed27d4dfd602c6ccc033e172c0ed3b2717acb8
3,393
py
Python
graphics/draw_map_canvas.py
krzs13/AntColonyOptimization
c4c11359f41d92854b7351dd1a3644eba1964c99
[ "MIT" ]
null
null
null
graphics/draw_map_canvas.py
krzs13/AntColonyOptimization
c4c11359f41d92854b7351dd1a3644eba1964c99
[ "MIT" ]
null
null
null
graphics/draw_map_canvas.py
krzs13/AntColonyOptimization
c4c11359f41d92854b7351dd1a3644eba1964c99
[ "MIT" ]
null
null
null
from graphics.base_map_canvas import BaseMapCanvas class DrawMapCanvas(BaseMapCanvas): def __init__(self, width, height, field_size, master): super().__init__(width, height, field_size, master) self.canvas.bind('<Button-1>', self._draw_wall) self.canvas.bind('<B1-Motion>', self._draw_wall)...
37.285714
99
0.567639
399
3,393
4.586466
0.14787
0.10929
0.085246
0.078689
0.725137
0.512568
0.418579
0.418579
0.353005
0.27541
0
0.012953
0.317418
3,393
90
100
37.7
0.777202
0
0
0.378378
0
0
0.03242
0
0
0
0
0
0
1
0.081081
false
0.054054
0.013514
0
0.108108
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
a7f6f2651258a7af1af9b5ef1c003ac9e0a13b01
343
py
Python
packages/pytea/pytest/unit_tests/passes/pass_flatten_basic02.py
lego0901/pytea
8ede650def2e68f4610ba816451d8b9e28f09f76
[ "MIT" ]
null
null
null
packages/pytea/pytest/unit_tests/passes/pass_flatten_basic02.py
lego0901/pytea
8ede650def2e68f4610ba816451d8b9e28f09f76
[ "MIT" ]
null
null
null
packages/pytea/pytest/unit_tests/passes/pass_flatten_basic02.py
lego0901/pytea
8ede650def2e68f4610ba816451d8b9e28f09f76
[ "MIT" ]
null
null
null
''' pass_flatten_basic02.py Copyright (c) Seoul National University Licensed under the MIT license. Author: Woo Sung Song Basic functionality check for torch.flatten. ''' import torch import torch.nn as nn import torch.nn.functional as F a = torch.rand(2, 3, 4, 5, 6, 7) b = torch.flatten(a) # shape assertion b + to...
19.055556
44
0.731778
62
343
4.016129
0.645161
0.13253
0.104418
0
0
0
0
0
0
0
0
0.051546
0.151604
343
18
45
19.055556
0.804124
0.524781
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a7f98b02eba366f7b52549a2bc108f9f45dc8f09
1,480
py
Python
watertap/examples/flowsheets/full_treatment_train/analysis/flowsheet_NF_no_bypass.py
srikanthallu/proteuslib
c0d62e6af61afc493bb81b9aab9bbefc3be0bcfd
[ "BSD-3-Clause-LBNL" ]
3
2021-06-03T08:02:59.000Z
2021-07-17T07:45:56.000Z
watertap/examples/flowsheets/full_treatment_train/analysis/flowsheet_NF_no_bypass.py
srikanthallu/proteuslib
c0d62e6af61afc493bb81b9aab9bbefc3be0bcfd
[ "BSD-3-Clause-LBNL" ]
128
2021-05-19T22:29:59.000Z
2021-10-04T20:44:58.000Z
watertap/examples/flowsheets/full_treatment_train/analysis/flowsheet_NF_no_bypass.py
srikanthallu/proteuslib
c0d62e6af61afc493bb81b9aab9bbefc3be0bcfd
[ "BSD-3-Clause-LBNL" ]
13
2021-05-19T22:23:19.000Z
2021-07-07T16:36:09.000Z
############################################################################### # WaterTAP Copyright (c) 2021, The Regents of the University of California, # through Lawrence Berkeley National Laboratory, Oak Ridge National # Laboratory, National Renewable Energy Laboratory, and National Energy # Technology Laboratory ...
28.461538
94
0.650676
185
1,480
5.032432
0.459459
0.106337
0.077336
0.080559
0.09667
0
0
0
0
0
0
0.00318
0.15
1,480
51
95
29.019608
0.736884
0.577027
0
0.166667
0
0
0.047836
0
0
0
0
0
0
1
0.166667
false
0.083333
0.083333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a7fbb6a52b7cd3e510a440f1b783ad01eae05a5f
2,606
py
Python
yosai_alchemystore/conf/settings.py
YosaiProject/yosai_account_alchemy
6479c159ab2ac357e6b70cdd71a2d673279e86bb
[ "Apache-2.0" ]
null
null
null
yosai_alchemystore/conf/settings.py
YosaiProject/yosai_account_alchemy
6479c159ab2ac357e6b70cdd71a2d673279e86bb
[ "Apache-2.0" ]
null
null
null
yosai_alchemystore/conf/settings.py
YosaiProject/yosai_account_alchemy
6479c159ab2ac357e6b70cdd71a2d673279e86bb
[ "Apache-2.0" ]
null
null
null
""" Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
48.259259
94
0.634689
322
2,606
5.059006
0.363354
0.073665
0.088398
0.055862
0.061387
0.061387
0.061387
0
0
0
0
0.002122
0.276669
2,606
53
95
49.169811
0.862069
0.2901
0
0
0
0
0.144951
0.053203
0
0
0
0
0
1
0.0625
false
0.125
0
0.03125
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
1
0
0
0
0
0
1
c516c9e993f4de334bd064e584d1a7cf52214c85
1,144
py
Python
habixbackend/api/migrations/0001_initial.py
Tiqur/habix-backend
b3bfed38fd82d4047a2155dd9983bdb5dc860b7b
[ "MIT" ]
1
2021-01-04T00:59:11.000Z
2021-01-04T00:59:11.000Z
habixbackend/api/migrations/0001_initial.py
Tiqur/habix-backend
b3bfed38fd82d4047a2155dd9983bdb5dc860b7b
[ "MIT" ]
null
null
null
habixbackend/api/migrations/0001_initial.py
Tiqur/habix-backend
b3bfed38fd82d4047a2155dd9983bdb5dc860b7b
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-03 04:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='HabixUser', fields=[ ...
33.647059
193
0.596154
115
1,144
5.791304
0.591304
0.036036
0.042042
0.066066
0.084084
0
0
0
0
0
0
0.031363
0.27535
1,144
33
194
34.666667
0.772014
0.039336
0
0.307692
1
0
0.111212
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.230769
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
c517c6caa8f672d60caad3d6749b94cf213e4df0
1,376
py
Python
cloudmesh_client/common/StopWatch.py
izelarabm/client
d257de3b5ded6714b7cb52765b4b7fd0bffecd0c
[ "Apache-2.0" ]
3
2016-07-16T20:35:41.000Z
2017-03-27T23:31:27.000Z
cloudmesh_client/common/StopWatch.py
izelarabm/client
d257de3b5ded6714b7cb52765b4b7fd0bffecd0c
[ "Apache-2.0" ]
259
2015-06-18T19:19:14.000Z
2021-09-23T23:22:30.000Z
cloudmesh_client/common/StopWatch.py
izelarabm/client
d257de3b5ded6714b7cb52765b4b7fd0bffecd0c
[ "Apache-2.0" ]
19
2015-12-09T05:55:13.000Z
2018-12-02T08:08:43.000Z
""" Class for starting and stopping named timers. This class is based on a similar java class in cyberaide, and java cog kit. """ import time class StopWatch(object): """ A class to measure times between events. """ # Timer start dict timer_start = {} # Timer end dict timer_end = {} ...
20.537313
75
0.56032
172
1,376
4.412791
0.313953
0.073781
0.057971
0.063241
0.27141
0.202899
0.202899
0.202899
0.202899
0.202899
0
0
0.342297
1,376
66
76
20.848485
0.838674
0.401163
0
0.227273
0
0
0
0
0
0
0
0
0
1
0.227273
false
0
0.045455
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c51b723723a06b2c10709f52f0a5ca4dbdbbddc1
2,376
py
Python
gbq/dto.py
wayfair-incubator/gbq
6843c999a9969c3a70c562b43efb349f2adc4ad6
[ "MIT" ]
6
2021-01-16T00:56:39.000Z
2022-01-01T18:19:54.000Z
gbq/dto.py
wayfair-incubator/gbq
6843c999a9969c3a70c562b43efb349f2adc4ad6
[ "MIT" ]
229
2021-01-14T17:36:41.000Z
2022-03-31T08:09:43.000Z
gbq/dto.py
wayfair-incubator/gbq
6843c999a9969c3a70c562b43efb349f2adc4ad6
[ "MIT" ]
1
2022-02-04T07:44:28.000Z
2022-02-04T07:44:28.000Z
from enum import Enum from typing import Dict, List, Optional, Union from pydantic import BaseModel, Field, root_validator, validator class StructureType(Enum): table = "table" view = "view" stored_procedure = "stored_procedure" class PartitionType(Enum): time = "time" range = "range" class T...
23.524752
80
0.632997
266
2,376
5.571429
0.338346
0.037787
0.02969
0.032389
0.031039
0.031039
0.031039
0.031039
0
0
0
0.004505
0.252525
2,376
100
81
23.76
0.829955
0
0
0.026316
0
0
0.093013
0.008838
0
0
0
0
0
1
0.039474
false
0
0.039474
0.013158
0.842105
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
c52ad7aca9ba1922407d368df6adac4bf3e598b5
16,931
py
Python
manifest-build-tools/application/reprove.py
dalebremner/on-tools
18b826bca2a3608c5b50116ec710bbeb630a586e
[ "Apache-2.0" ]
4
2015-12-08T20:02:53.000Z
2019-03-08T07:42:24.000Z
manifest-build-tools/application/reprove.py
dalebremner/on-tools
18b826bca2a3608c5b50116ec710bbeb630a586e
[ "Apache-2.0" ]
48
2016-01-28T23:50:38.000Z
2017-10-20T13:38:03.000Z
manifest-build-tools/application/reprove.py
dalebremner/on-tools
18b826bca2a3608c5b50116ec710bbeb630a586e
[ "Apache-2.0" ]
38
2015-11-02T23:49:37.000Z
2021-05-27T01:24:03.000Z
#!/usr/bin/env python # see http://stackoverflow.com/questions/1783405/checkout-remote-git-branch # and http://stackoverflow.com/questions/791959/download-a-specific-tag-with-git # check out a set of repositories to match the manifest file # Copyright 2015, EMC, Inc. """ usage: ./on-tools/manifest-build-tools/HWIMO-...
35.644211
194
0.595358
1,974
16,931
4.957447
0.148936
0.024525
0.008175
0.015941
0.293685
0.218067
0.192826
0.176579
0.161251
0.161251
0
0.005583
0.322958
16,931
474
195
35.719409
0.84812
0.050027
0
0.325301
0
0
0.13206
0.00663
0
0
0
0
0
0
null
null
0
0.040161
null
null
0.088353
0
0
0
null
0
0
0
0
0
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
c52f4d41e78d8ac37575ceda65a52b213bbc1855
288
py
Python
src/sharing_code/urls.py
4lexbit/code-share-django
7dc0e0bb278e933da1f9051a0b5e737fe2c8948c
[ "MIT" ]
null
null
null
src/sharing_code/urls.py
4lexbit/code-share-django
7dc0e0bb278e933da1f9051a0b5e737fe2c8948c
[ "MIT" ]
null
null
null
src/sharing_code/urls.py
4lexbit/code-share-django
7dc0e0bb278e933da1f9051a0b5e737fe2c8948c
[ "MIT" ]
null
null
null
from django.urls import path from . import views from .decorators import check_recaptcha urlpatterns = [ path('create', check_recaptcha(views.CreateSnippet.as_view()), name='create'), path('snippet/<uuid:pk>', views.ViewSnippet.as_view(), name='detail'), ] app_name = 'snippet'
26.181818
82
0.729167
37
288
5.540541
0.567568
0.136585
0.097561
0
0
0
0
0
0
0
0
0
0.121528
288
10
83
28.8
0.810277
0
0
0
0
0
0.145833
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c52f8912729f8b35515b22edeac6627c54bccc64
1,730
py
Python
konduto/api/clients/v1/restrict_list.py
ZXVentures/konduto-sdk
1a8151115232c9de4abe1acc6754c593542f2569
[ "MIT" ]
4
2020-04-29T07:53:59.000Z
2021-05-26T20:13:51.000Z
konduto/api/clients/v1/restrict_list.py
ZXVentures/konduto-sdk
1a8151115232c9de4abe1acc6754c593542f2569
[ "MIT" ]
7
2020-04-05T08:05:55.000Z
2021-04-07T19:24:15.000Z
konduto/api/clients/v1/restrict_list.py
ZXVentures/konduto-sdk
1a8151115232c9de4abe1acc6754c593542f2569
[ "MIT" ]
1
2021-06-15T17:37:20.000Z
2021-06-15T17:37:20.000Z
from typing import Union from konduto import KONDUTO_DOMAIN from konduto.api import KondutoHttpClient from konduto.api.resources.requests.konduto_restrict_email_request import KondutoRestrictEmailRequest from konduto.api.resources.response.restrict_email_response import KondutoRestrictEmailResponseMapper from konduto....
35.306122
101
0.718497
184
1,730
6.619565
0.26087
0.073892
0.045977
0.065681
0.559934
0.520525
0.520525
0.402299
0.402299
0.402299
0
0.000716
0.192486
1,730
48
102
36.041667
0.871152
0
0
0.5
0
0
0.066474
0.019653
0
0
0
0
0
1
0.125
false
0
0.1875
0
0.59375
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
c537580b543ffefb1376addbd6d5deeef97687ef
277
py
Python
eventmanager/categories/forms.py
ralcabes/EventManager
dd73b2387228b4508d27974a8eeb222d5ffeecdc
[ "MIT" ]
4
2019-01-06T16:58:20.000Z
2019-04-08T10:20:46.000Z
eventmanager/categories/forms.py
ralcabes/EventManager
dd73b2387228b4508d27974a8eeb222d5ffeecdc
[ "MIT" ]
297
2018-11-14T13:59:19.000Z
2022-03-11T23:33:28.000Z
eventmanager/categories/forms.py
ralcabes/EventManager
dd73b2387228b4508d27974a8eeb222d5ffeecdc
[ "MIT" ]
1
2019-04-22T15:17:32.000Z
2019-04-22T15:17:32.000Z
from django import forms from django.forms import ModelForm from categories.models import SuggestedCategory class SuggestedCategoryForm(ModelForm): class Meta: model = SuggestedCategory fields = [ 'name', 'description', ]
19.785714
47
0.65343
24
277
7.541667
0.625
0.110497
0
0
0
0
0
0
0
0
0
0
0.288809
277
13
48
21.307692
0.918782
0
0
0
0
0
0.054152
0
0
0
0
0
0
1
0
false
0
0.3
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c53a7202c02c10b5e0e321a647542461adb5d0a0
1,128
py
Python
terra/quotas/migrations/0001_initial.py
dymaxionlabs/platform
98fe893d4632d62fea3e2357f16d970014037cdf
[ "BSD-3-Clause" ]
null
null
null
terra/quotas/migrations/0001_initial.py
dymaxionlabs/platform
98fe893d4632d62fea3e2357f16d970014037cdf
[ "BSD-3-Clause" ]
null
null
null
terra/quotas/migrations/0001_initial.py
dymaxionlabs/platform
98fe893d4632d62fea3e2357f16d970014037cdf
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.5 on 2020-07-21 18:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
36.387097
121
0.639184
123
1,128
5.658537
0.544715
0.103448
0.143678
0.063218
0.181034
0
0
0
0
0
0
0.026869
0.241135
1,128
30
122
37.6
0.786215
0.039894
0
0
1
0
0.110083
0.06383
0
0
0
0
0
1
0
false
0
0.130435
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c540dd7dac8e110b44cb7957043790f629cc876c
900
py
Python
examples/async_example.py
Jegarde/RecNet-Login
79965341ab9a8f80883bbef99656e4f2f98ee4e2
[ "MIT" ]
3
2021-11-09T08:41:28.000Z
2022-03-20T17:26:33.000Z
examples/async_example.py
Jegarde/RecNet-Login
79965341ab9a8f80883bbef99656e4f2f98ee4e2
[ "MIT" ]
null
null
null
examples/async_example.py
Jegarde/RecNet-Login
79965341ab9a8f80883bbef99656e4f2f98ee4e2
[ "MIT" ]
null
null
null
import asyncio import sys import aiohttp from recnetlogin import RecNetLoginAsync # Include the async client # Insert your Rec Room account credentials USERNAME: str = "" PASSWORD: str = "" async def main() -> None: session = aiohttp.ClientSession() rnl = RecNetLoginAsync( username=USERNAME, ...
32.142857
174
0.693333
109
900
5.541284
0.587156
0.059603
0.043046
0.05298
0
0
0
0
0
0
0
0.007032
0.21
900
28
175
32.142857
0.842475
0.155556
0
0
0
0
0.048877
0.034346
0
0
0
0
0
1
0
false
0.090909
0.181818
0
0.181818
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c541899678d62f82e4109895634da406e2544079
551
py
Python
packages/jet_bridge_base/jet_bridge_base/fields/json.py
KrunchMuffin/jet-bridge
c3ce8428d3bf46eb6b6cdcf562d23cdd3c576217
[ "MIT" ]
1,247
2019-01-10T22:22:08.000Z
2022-03-29T20:54:32.000Z
packages/jet_bridge_base/jet_bridge_base/fields/json.py
dennisae/jet-admin
2256391275f7b147886cd7495986dda43347ca96
[ "MIT" ]
12
2019-03-15T20:06:14.000Z
2022-01-07T10:28:20.000Z
packages/jet_bridge_base/jet_bridge_base/fields/json.py
dennisae/jet-admin
2256391275f7b147886cd7495986dda43347ca96
[ "MIT" ]
130
2019-02-26T17:36:53.000Z
2022-03-17T22:46:27.000Z
from __future__ import absolute_import import json from six import string_types from jet_bridge_base.fields.field import Field class JSONField(Field): field_error_messages = { 'invalid': 'not a valid JSON' } def to_internal_value_item(self, value): if isinstance(value, string_types): ...
22.04
46
0.631579
64
551
5.1875
0.5625
0.066265
0.078313
0
0
0
0
0
0
0
0
0
0.303085
551
24
47
22.958333
0.864583
0
0
0.111111
0
0
0.054446
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.055556
0.611111
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
c5466528afa74ec3d86caf5858eeb26ae6cdfefe
1,556
py
Python
tests/const.py
kuchel77/python-synology
0676d94127cb8814e1d32c38cb62539b5ead68c3
[ "MIT" ]
1
2021-12-19T17:24:34.000Z
2021-12-19T17:24:34.000Z
tests/const.py
kuchel77/python-synology
0676d94127cb8814e1d32c38cb62539b5ead68c3
[ "MIT" ]
null
null
null
tests/const.py
kuchel77/python-synology
0676d94127cb8814e1d32c38cb62539b5ead68c3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Test constants.""" # API test data are localized in # `tests/api_data/dsm_[dsm_major_version]` # Data constant names should be like : # "DSM_[dsm_version]_[API_KEY]" # if data failed, add "_FAILED" SESSION_ID = "session_id" SYNO_TOKEN = "Syñ0_T0k€ñ" DEVICE_TOKEN = "Dév!cè_T0k€ñ" UNIQUE_KEY ...
45.764706
81
0.701157
212
1,556
4.825472
0.429245
0.158358
0.232649
0.143695
0.070381
0
0
0
0
0
0
0.039683
0.109255
1,556
33
82
47.151515
0.69697
0.160026
0
0
0
0
0.230294
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c5467135fedc631bd8ccfa265e5e4b2d1a253d75
969
py
Python
py/orbit/utils/fitting/general_minimization/__init__.py
drabusov/py-orbit
539081cb6464a4465e8366272ddc437f0f712afd
[ "MIT" ]
null
null
null
py/orbit/utils/fitting/general_minimization/__init__.py
drabusov/py-orbit
539081cb6464a4465e8366272ddc437f0f712afd
[ "MIT" ]
null
null
null
py/orbit/utils/fitting/general_minimization/__init__.py
drabusov/py-orbit
539081cb6464a4465e8366272ddc437f0f712afd
[ "MIT" ]
null
null
null
## \namespace orbit::utils::fitting ## from orbit.utils.fitting.PolynomialFit import PolynomialFit from SimplexSearch import SimplexSearchAlgorithm from GoldenSectionSearch1D import GoldenSectionSearchAlgorithm from BisectionSearch1D import BisectionSearchAlgorithm from Solver import Solver from Solver import TrialP...
28.5
62
0.846233
92
969
8.347826
0.25
0.140625
0.166667
0
0
0
0
0
0
0
0
0.002235
0.076367
969
33
63
29.363636
0.855866
0.033024
0
0
0
0
0.205376
0.105376
0
0
0
0
0
1
0
false
0
0.48
0
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c5477ee2c27b76b54d4ee0d8544a9a567496a8be
9,203
py
Python
irc/client_aio.py
kratz00/irc
1331ba85b5d093f06304d316a03a832959eaf4da
[ "MIT" ]
362
2015-01-28T03:39:11.000Z
2022-03-29T12:15:09.000Z
irc/client_aio.py
kratz00/irc
1331ba85b5d093f06304d316a03a832959eaf4da
[ "MIT" ]
187
2015-02-25T16:14:28.000Z
2022-02-20T02:02:44.000Z
irc/client_aio.py
kratz00/irc
1331ba85b5d093f06304d316a03a832959eaf4da
[ "MIT" ]
129
2015-07-03T09:52:11.000Z
2022-03-17T01:56:12.000Z
# -*- coding: utf-8 -*- """ Internet Relay Chat (IRC) asyncio-based protocol client library. This an extension of the IRC client framework in irc.client that replaces original select-based event loop with one that uses Python 3's native asyncio event loop. This implementation shares many of the features of its selec...
31.091216
87
0.666848
1,121
9,203
5.392507
0.293488
0.016377
0.00397
0.006948
0.028784
0.009926
0
0
0
0
0
0.004107
0.259155
9,203
295
88
31.19661
0.882517
0.496469
0
0.020408
0
0
0.023883
0
0
0
0
0
0
1
0.102041
false
0.05102
0.05102
0
0.244898
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
c55203a4e4b1852b2bbecad6b6625f8536a0833b
1,105
py
Python
tests/cli/test_cli_container.py
UvaCsl/desist
932616447329682f2276d1d4619058fd18b73807
[ "BSD-3-Clause" ]
null
null
null
tests/cli/test_cli_container.py
UvaCsl/desist
932616447329682f2276d1d4619058fd18b73807
[ "BSD-3-Clause" ]
null
null
null
tests/cli/test_cli_container.py
UvaCsl/desist
932616447329682f2276d1d4619058fd18b73807
[ "BSD-3-Clause" ]
null
null
null
import pathlib from click.testing import CliRunner from desist.cli.container import create, run # FIXME: make these parametric over `[Docker, Singularity]` def test_container_create(tmpdir): runner = CliRunner() path = pathlib.Path(tmpdir) with runner.isolated_filesystem(): result = runner.invok...
30.694444
72
0.647059
138
1,105
5.086957
0.311594
0.059829
0.068376
0.106838
0.621083
0.561254
0.561254
0.561254
0.519943
0.519943
0
0.005807
0.220814
1,105
35
73
31.571429
0.809524
0.051584
0
0.538462
0
0
0.044933
0
0
0
0
0.028571
0.230769
1
0.115385
false
0
0.115385
0
0.230769
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
c554cc95f1276f50460ee437f41e545b423ebcb8
363
py
Python
fixture/navigation.py
Oliebert/Testing_training
e77f60e6e6d895740cb6806ea023b72d17533835
[ "Apache-2.0" ]
null
null
null
fixture/navigation.py
Oliebert/Testing_training
e77f60e6e6d895740cb6806ea023b72d17533835
[ "Apache-2.0" ]
null
null
null
fixture/navigation.py
Oliebert/Testing_training
e77f60e6e6d895740cb6806ea023b72d17533835
[ "Apache-2.0" ]
null
null
null
from selenium import webdriver class NavigationHelper: def __init__(self, app, browser, base_url): self.app = app self.base_url = base_url def open_home_page(self ): wd = self.app.wd wd.get(self.base_url) def return_to_home_page(self): wd = self.app.wd wd...
21.352941
52
0.641873
53
363
4.075472
0.490566
0.12963
0.101852
0.12963
0.231481
0.231481
0.231481
0.231481
0
0
0
0
0.261708
363
16
53
22.6875
0.80597
0
0
0.181818
0
0
0.011019
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c55700c613dd09ad06a8392c5efda5f8e91ab933
3,055
py
Python
pyshell-old.py
GameMaker2k/Neo-Hockey-Test
5737bfedf0d83f69964e85ac1dbf7e6a93c13f44
[ "BSD-3-Clause" ]
1
2020-04-04T10:25:42.000Z
2020-04-04T10:25:42.000Z
pyshell-old.py
GameMaker2k/Neo-Hockey-Test
5737bfedf0d83f69964e85ac1dbf7e6a93c13f44
[ "BSD-3-Clause" ]
null
null
null
pyshell-old.py
GameMaker2k/Neo-Hockey-Test
5737bfedf0d83f69964e85ac1dbf7e6a93c13f44
[ "BSD-3-Clause" ]
3
2021-09-07T08:44:33.000Z
2021-12-07T23:49:39.000Z
#!/usr/bin/env python ''' This program is free software; you can redistribute it and/or modify it under the terms of the Revised BSD License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FO...
33.944444
165
0.686416
433
3,055
4.7806
0.325635
0.074396
0.061836
0.05314
0.535266
0.535266
0.535266
0.500483
0.500483
0.500483
0
0.027149
0.131915
3,055
89
166
34.325843
0.753394
0.211129
0
0.753846
0
0
0.160881
0
0
0
0
0
0
1
0
false
0
0.061538
0
0.061538
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1