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
e2cb51cdf74cd1db8742882782773976d8c62dcb
392
py
Python
api/staticdata/units/views.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
3
2019-05-15T09:30:39.000Z
2020-04-22T16:14:23.000Z
api/staticdata/units/views.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
85
2019-04-24T10:39:35.000Z
2022-03-21T14:52:12.000Z
api/staticdata/units/views.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
1
2021-01-17T11:12:19.000Z
2021-01-17T11:12:19.000Z
from django.http import JsonResponse from rest_framework.views import APIView from api.core.authentication import SharedAuthentication from api.staticdata.units.enums import Units class UnitsList(APIView): authentication_classes = (SharedAuthentication,) def get(self, request): unit_choices = dict(U...
28
57
0.77551
45
392
6.666667
0.622222
0.046667
0
0
0
0
0
0
0
0
0
0
0.147959
392
13
58
30.153846
0.898204
0
0
0
0
0
0.012755
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e2d268ffbb9d2b1d6b6c2b3711c301ac76e8db2a
379
py
Python
prepare_data/upload_data.py
ericstalbot/roadfollowing
275eb04ffb7a21fcfb3b9cc8bd5d38417bcffb6e
[ "BSD-2-Clause" ]
null
null
null
prepare_data/upload_data.py
ericstalbot/roadfollowing
275eb04ffb7a21fcfb3b9cc8bd5d38417bcffb6e
[ "BSD-2-Clause" ]
2
2016-04-21T21:50:35.000Z
2016-05-27T16:01:50.000Z
prepare_data/upload_data.py
ericstalbot/roadfollowing
275eb04ffb7a21fcfb3b9cc8bd5d38417bcffb6e
[ "BSD-2-Clause" ]
null
null
null
import requests apikey = open('apikey.txt').read() r = requests.post( 'https://ericstalbot.cartodb.com/api/v1/imports/', params={ 'api_key':apikey, }, files={ 'file': ( 'vermont_roads.geojson', open('vermont_roads.geojson', 'rb'), 'text/plain', ...
16.478261
54
0.498681
38
379
4.894737
0.736842
0.129032
0.204301
0
0
0
0
0
0
0
0
0.007782
0.3219
379
23
55
16.478261
0.715953
0
0
0
0
0
0.342105
0.110526
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.066667
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
e2d582c2ff05a5032541b0c0245c1e618a60b866
937
py
Python
sanic_jwt/cache.py
bastiendonjon/sanic-jwt
cb3befa7975eea02f0d630d968149b76e4fcf7d0
[ "MIT" ]
null
null
null
sanic_jwt/cache.py
bastiendonjon/sanic-jwt
cb3befa7975eea02f0d630d968149b76e4fcf7d0
[ "MIT" ]
null
null
null
sanic_jwt/cache.py
bastiendonjon/sanic-jwt
cb3befa7975eea02f0d630d968149b76e4fcf7d0
[ "MIT" ]
null
null
null
import asyncio from .exceptions import LoopNotRunning def _check_event_loop(): if not asyncio.get_event_loop().is_running(): raise LoopNotRunning def _get_or_create_cache(): loop = asyncio.get_event_loop() try: return asyncio.Task.current_task(loop=loop)._sanicjwt except AttributeE...
21.790698
61
0.70651
123
937
4.97561
0.284553
0.117647
0.114379
0.104575
0.519608
0.519608
0.333333
0.271242
0.189542
0
0
0
0.19317
937
42
62
22.309524
0.809524
0.004269
0
0.5
0
0
0
0
0
0
0
0
0
1
0.214286
false
0.035714
0.071429
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e2dcafefa665d94e8b1778c664398e068623c1d6
542
py
Python
annex_counts_app/admin.py
birkin/annex_counts_project
c005db564a1ec41eada14c282b33f9055b22c881
[ "MIT" ]
null
null
null
annex_counts_app/admin.py
birkin/annex_counts_project
c005db564a1ec41eada14c282b33f9055b22c881
[ "MIT" ]
2
2020-06-05T20:39:00.000Z
2020-09-30T20:45:37.000Z
annex_counts_app/admin.py
birkin/annex_counts_project
c005db564a1ec41eada14c282b33f9055b22c881
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .models import Counter from django.contrib import admin class CounterAdmin(admin.ModelAdmin): list_display = [ 'create_datetime', 'date_key', 'hay_accessions', 'hay_refiles', 'non_hay_accessions', 'non_hay_refiles', 'notes' ] list_filter = [ 'create_datetime', 'd...
20.846154
135
0.660517
59
542
5.762712
0.59322
0.123529
0.129412
0.123529
0
0
0
0
0
0
0
0.002331
0.208487
542
25
136
21.68
0.79021
0.077491
0
0
0
0
0.268145
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.692308
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
e2f196148169acfcdbbc69ac3a44fd543e3de67a
395
py
Python
django_server/application_evaluator/migrations/0006_auto_20210202_0854.py
ForumViriumHelsinki/ApplicationEvaluator
c40f22203160ccc4047b16f0f30278bab3a0d224
[ "MIT" ]
null
null
null
django_server/application_evaluator/migrations/0006_auto_20210202_0854.py
ForumViriumHelsinki/ApplicationEvaluator
c40f22203160ccc4047b16f0f30278bab3a0d224
[ "MIT" ]
null
null
null
django_server/application_evaluator/migrations/0006_auto_20210202_0854.py
ForumViriumHelsinki/ApplicationEvaluator
c40f22203160ccc4047b16f0f30278bab3a0d224
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-02-02 08:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('application_evaluator', '0005_criteriongroup_abbr'), ] operations = [ migrations.AlterField( model_name='score', name...
21.944444
62
0.610127
41
395
5.780488
0.804878
0.075949
0
0
0
0
0
0
0
0
0
0.070175
0.278481
395
17
63
23.235294
0.761404
0.113924
0
0
1
0
0.158046
0.12931
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2f88180c6034b4bcc6c5601e8f7859b2af623f0
22,187
py
Python
tests/test_client.py
jamesdarke/gwader
2b302e9139a854bfbfa1dd1e2394bfd7195c334d
[ "0BSD" ]
309
2019-01-28T17:15:49.000Z
2022-03-31T07:05:29.000Z
tests/test_client.py
jamesdarke/gwader
2b302e9139a854bfbfa1dd1e2394bfd7195c334d
[ "0BSD" ]
106
2018-12-27T22:39:42.000Z
2022-03-12T20:48:40.000Z
tests/test_client.py
jamesdarke/gwader
2b302e9139a854bfbfa1dd1e2394bfd7195c334d
[ "0BSD" ]
48
2019-02-18T12:30:50.000Z
2022-03-21T14:50:37.000Z
"""Tests for the `client` module.""" import json import os import signal import threading import time from base64 import b64encode from copy import deepcopy import pytest import requests from responses import mock as responses from aria2p import Client, ClientException from aria2p.client import JSONRPC_CODES, JSONRP...
40.561243
118
0.634786
2,642
22,187
5.139288
0.10106
0.068051
0.045368
0.030932
0.787892
0.73597
0.678082
0.64008
0.597879
0.575122
0
0.028026
0.252175
22,187
546
119
40.635531
0.790321
0.039663
0
0.468137
0
0
0.106629
0.011236
0
0
0
0
0.14951
1
0.151961
false
0
0.034314
0
0.203431
0.002451
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2f89b19ff57da9ba827f0dda4372579dd08072b
2,996
py
Python
craft2onnx.py
lee-seonghun/craft_tensorRT
2f27d641dd61a60ddd12f8119b4cdad1442f6632
[ "MIT" ]
2
2021-11-11T07:13:46.000Z
2022-01-19T12:21:24.000Z
craft2onnx.py
lee-seonghun/craft_tensorRT
2f27d641dd61a60ddd12f8119b4cdad1442f6632
[ "MIT" ]
null
null
null
craft2onnx.py
lee-seonghun/craft_tensorRT
2f27d641dd61a60ddd12f8119b4cdad1442f6632
[ "MIT" ]
null
null
null
import io import numpy as np from torch import nn import torch.utils.model_zoo as model_zoo import torch.onnx import torch.backends.cudnn as cudnn from torch.autograd import Variable import torch.nn as nn import torch.nn.init as init from craft import CRAFT from collections import OrderedDict #from torch...
36.096386
130
0.715955
442
2,996
4.599548
0.280543
0.053123
0.04181
0.049188
0.473684
0.414658
0.414658
0.367437
0.333989
0.29759
0
0.045635
0.158879
2,996
82
131
36.536585
0.761111
0.523698
0
0
0
0
0.050228
0.019026
0
0
0
0
0
1
0.02381
false
0
0.309524
0
0.357143
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
e2fed66a74ecbe6412e7a8154498e963f68f5125
1,001
py
Python
tests/test_migration.py
hiisi13/django-south-central
f5a145bd6ae5be08a93f3469c2aee245f3203e56
[ "BSD-3-Clause" ]
2
2018-03-27T21:21:06.000Z
2018-03-27T21:26:03.000Z
tests/test_migration.py
hiisi13/django-south-central
f5a145bd6ae5be08a93f3469c2aee245f3203e56
[ "BSD-3-Clause" ]
null
null
null
tests/test_migration.py
hiisi13/django-south-central
f5a145bd6ae5be08a93f3469c2aee245f3203e56
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_south_central ------------ Tests for `south_central` migration module. """ import os import unittest from south_central import migration class Test_Migrations(unittest.TestCase): test_app_name = 'test_app' @classmethod def setUpClass(cls): ...
25.666667
100
0.71029
127
1,001
5.299213
0.330709
0.052006
0.065379
0.041605
0.077266
0
0
0
0
0
0
0.005995
0.166833
1,001
38
101
26.342105
0.800959
0.118881
0
0
0
0
0.072165
0
0
0
0
0
0.210526
1
0.263158
false
0
0.157895
0
0.526316
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
39126c45c5f97c5bf0fd1482981be42c8a5d5661
282
py
Python
src/profiles/urls.py
anivalogy/project_Anivalogy
87841cc108a1ce546bbc7e94930b36535b7cdf2f
[ "Apache-2.0" ]
null
null
null
src/profiles/urls.py
anivalogy/project_Anivalogy
87841cc108a1ce546bbc7e94930b36535b7cdf2f
[ "Apache-2.0" ]
null
null
null
src/profiles/urls.py
anivalogy/project_Anivalogy
87841cc108a1ce546bbc7e94930b36535b7cdf2f
[ "Apache-2.0" ]
null
null
null
from django.urls import path ,include from . views import * urlpatterns = [ path('port',port,name='port'), path('projects',projects,name='projects'), path('blog',blog, name='blog'), path('resume',resume, name='resume'), path('callus',callus, name='callus'), ]
28.2
46
0.641844
35
282
5.171429
0.4
0
0
0
0
0
0
0
0
0
0
0
0.156028
282
9
47
31.333333
0.760504
0
0
0
0
0
0.198582
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
391a4c957b9e976de64e39ad517e1e70ab292ef4
17,794
py
Python
admit/util/filter/Filter1D.py
astroumd/admit
bbf3d79bb6e1a6f7523553ed8ede0d358d106f2c
[ "MIT" ]
4
2017-03-01T17:26:28.000Z
2022-03-03T19:23:06.000Z
admit/util/filter/Filter1D.py
astroumd/admit
bbf3d79bb6e1a6f7523553ed8ede0d358d106f2c
[ "MIT" ]
48
2016-10-04T01:25:33.000Z
2021-09-08T14:51:10.000Z
admit/util/filter/Filter1D.py
astroumd/admit
bbf3d79bb6e1a6f7523553ed8ede0d358d106f2c
[ "MIT" ]
2
2016-11-10T14:10:22.000Z
2017-03-30T18:58:05.000Z
""" .. _filter1D: Filter1D --- 1-dimensional spectral filtering. ---------------------------------------------- This module defines the 1D filter methods. """ import numpy as np import math from copy import deepcopy from collections import OrderedDict class Filter1D(object): """ This class defines ...
38.349138
136
0.489154
2,060
17,794
4.202913
0.180097
0.005775
0.010511
0.022869
0.364056
0.32444
0.30365
0.276623
0.265881
0.255717
0
0.018729
0.360852
17,794
463
137
38.431965
0.742548
0.011408
0
0.26
0
0
0.149838
0
0
0
0
0
0
0
null
null
0
0.026667
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
391fb8fff386f9395d03d1a59d3972c407acc0cd
882
py
Python
test_tensor.py
baixiaoustc/tensorflow_gym
d65e520c6e7049b201137bbefd800986d0ffa231
[ "MIT" ]
null
null
null
test_tensor.py
baixiaoustc/tensorflow_gym
d65e520c6e7049b201137bbefd800986d0ffa231
[ "MIT" ]
null
null
null
test_tensor.py
baixiaoustc/tensorflow_gym
d65e520c6e7049b201137bbefd800986d0ffa231
[ "MIT" ]
null
null
null
__author__ = 'baixiao' import tensorflow as tf import numpy as np if __name__ == '__main__': Q_value = tf.placeholder(tf.float32, [None, 6]) action_input = tf.placeholder(tf.float32, [None, 6]) Q_action = tf.reduce_sum(tf.multiply(Q_value, action_input), reduction_indices=1) y_input = tf.placeholder(t...
36.75
154
0.646259
137
882
3.883212
0.350365
0.026316
0.028195
0.12406
0.18797
0.169173
0
0
0
0
0
0.03913
0.217687
882
24
155
36.75
0.731884
0.063492
0
0
0
0
0.018182
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.25
0
0
0
null
0
0
0
0
0
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
39256404f03e9b3a980a3ddf830f5764c0d151c7
628
py
Python
examples/prime.py
silky/logpy
1415e720ee08b905ee962b31550914eca8d81d03
[ "BSD-3-Clause" ]
1
2019-06-27T11:28:39.000Z
2019-06-27T11:28:39.000Z
examples/prime.py
silky/logpy
1415e720ee08b905ee962b31550914eca8d81d03
[ "BSD-3-Clause" ]
null
null
null
examples/prime.py
silky/logpy
1415e720ee08b905ee962b31550914eca8d81d03
[ "BSD-3-Clause" ]
null
null
null
""" Example using SymPy to construct a prime number goal """ from kanren.core import (isvar, success, fail, assoc, goaleval, var, run, membero, condeseq, eq) from sympy.ntheory.generate import prime, isprime import itertools as it def primo(x): """ x is a prime number """ if isvar(x): return c...
28.545455
80
0.58758
103
628
3.582524
0.601942
0.04878
0.065041
0
0
0
0
0
0
0
0
0.073529
0.242038
628
21
81
29.904762
0.701681
0.16879
0
0
1
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.461538
0.153846
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
3929b0294b95ead0e1a2c9f5935347689891357b
1,496
py
Python
bin/expr_parse.py
asokoloski/oil
ef9f89c6049646e7a0c0dea12bedebcef8370e44
[ "Apache-2.0" ]
null
null
null
bin/expr_parse.py
asokoloski/oil
ef9f89c6049646e7a0c0dea12bedebcef8370e44
[ "Apache-2.0" ]
null
null
null
bin/expr_parse.py
asokoloski/oil
ef9f89c6049646e7a0c0dea12bedebcef8370e44
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 """ expr_parse.py -- Demo for translation. types/run.sh expr-parse """ from __future__ import print_function import sys from _devbuild.gen import grammar_nt from _devbuild.gen.syntax_asdl import source from asdl import format as fmt from core import alloc from core import error from core impor...
21.371429
59
0.73262
222
1,496
4.743243
0.436937
0.037987
0.066477
0.032289
0.039886
0
0
0
0
0
0
0.003215
0.168449
1,496
69
60
21.681159
0.843248
0.097594
0
0.045455
0
0
0.01419
0
0
0
0
0
0.022727
1
0.022727
false
0
0.340909
0
0.409091
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
0
1
0
0
0
0
1
392a1d14b4ca4aa43875cb5f23b49e044747e97c
157
py
Python
venv/Scripts/ex050.py
SamuelNunesDev/starting_point_in_python
9a9e39cabb5f3526ee0037012e3943898c1d9dfa
[ "MIT" ]
null
null
null
venv/Scripts/ex050.py
SamuelNunesDev/starting_point_in_python
9a9e39cabb5f3526ee0037012e3943898c1d9dfa
[ "MIT" ]
null
null
null
venv/Scripts/ex050.py
SamuelNunesDev/starting_point_in_python
9a9e39cabb5f3526ee0037012e3943898c1d9dfa
[ "MIT" ]
null
null
null
s = 0 for c in range(1, 7): n = int(input(f'Digite o {c}º número inteiro: ')) if n % 2 == 0: s += n print(f'A soma dos números pares é {s}')
22.428571
53
0.522293
33
157
2.484848
0.757576
0
0
0
0
0
0
0
0
0
0
0.045872
0.305732
157
6
54
26.166667
0.706422
0
0
0
0
0
0.382166
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
392fc41e21b0d93ade411cecbe3e0ca1641fd42c
1,812
py
Python
pyexchange/migrations/0001_initial.py
mchilicki/pyexchange-backend
6d3f0ac60c348df0afd846ee5f8f482e4633ad2e
[ "MIT" ]
null
null
null
pyexchange/migrations/0001_initial.py
mchilicki/pyexchange-backend
6d3f0ac60c348df0afd846ee5f8f482e4633ad2e
[ "MIT" ]
null
null
null
pyexchange/migrations/0001_initial.py
mchilicki/pyexchange-backend
6d3f0ac60c348df0afd846ee5f8f482e4633ad2e
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-10-16 11:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Currency', fields=[ ...
38.553191
119
0.567329
177
1,812
5.700565
0.361582
0.089197
0.107037
0.142716
0.620416
0.425173
0.363726
0.363726
0.363726
0.363726
0
0.03028
0.289183
1,812
46
120
39.391304
0.753106
0.024834
0
0.435897
1
0
0.086119
0
0
0
0
0
0
1
0
false
0.025641
0.051282
0
0.153846
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
39317c91b72b629e4d1bb4e35c3e795a80754c05
2,444
py
Python
classifier/tasks.py
the-deep/DEEPL
93f7bf7d61d7424250d01c1fc510347375d767c4
[ "MIT" ]
6
2018-05-17T07:40:16.000Z
2020-09-27T00:04:39.000Z
classifier/tasks.py
eoglethorpe/DEEPL
fb6403ceb63197ecd314905f060a2e5f1e790f66
[ "MIT" ]
11
2017-10-28T10:50:09.000Z
2021-06-10T20:07:44.000Z
classifier/tasks.py
eoglethorpe/DEEPL
fb6403ceb63197ecd314905f060a2e5f1e790f66
[ "MIT" ]
1
2018-10-04T21:27:58.000Z
2018-10-04T21:27:58.000Z
import pickle from django.utils import timezone from api.helpers import classify_text from helpers.common import classification_confidence from classifier.models import ClassifiedDocument, ClassifiedExcerpt # NOTE: this is for older classifier update, where user inputs recommended # label for classification, But at ...
37.030303
77
0.690262
278
2,444
5.94964
0.348921
0.039299
0.024184
0.031439
0.088271
0.050786
0
0
0
0
0
0.002123
0.229133
2,444
65
78
37.6
0.875796
0.145254
0
0
0
0
0.057032
0
0
0
0
0.015385
0
1
0.04
false
0
0.12
0
0.18
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
1
0
0
0
0
0
0
0
0
0
0
1
3938b2c48f871c505959e82c3cf3d07d188dab47
379
py
Python
AtCoder/ABC131/B.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
1
2018-11-25T04:15:45.000Z
2018-11-25T04:15:45.000Z
AtCoder/ABC131/B.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
null
null
null
AtCoder/ABC131/B.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
2
2018-08-08T13:01:14.000Z
2018-11-25T12:38:36.000Z
N, L = map(int, input().split()) ans = 0 margin = float("inf") for i in range(1, N + 1): tar = 0 for j in range(1, N + 1): tar += L + j - 1 res = 0 for j in range(1, N + 1): if j == i: continue else: res += L + j - 1 if abs(tar - res) < margin: ...
16.478261
32
0.422164
62
379
2.580645
0.387097
0.13125
0.15
0.16875
0.2875
0.2875
0.1875
0.1875
0
0
0
0.050691
0.427441
379
22
33
17.227273
0.686636
0
0
0.117647
0
0
0.007916
0
0
0
0
0
0
1
0
false
0
0
0
0
0.058824
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
393c3c3442a87957d53ee6ad6c6832af19a12376
1,328
py
Python
python_concurrency/simulationExample_multiprocessing.py
karthik/berkeley
966563f24320cb002a6e48318ece0e8fe9cf6983
[ "BSD-3-Clause" ]
106
2015-01-08T13:49:44.000Z
2022-03-12T13:32:03.000Z
python_concurrency/simulationExample_multiprocessing.py
karthik/berkeley
966563f24320cb002a6e48318ece0e8fe9cf6983
[ "BSD-3-Clause" ]
57
2015-01-29T21:44:08.000Z
2018-10-01T09:37:45.000Z
python_concurrency/simulationExample_multiprocessing.py
karthik/berkeley
966563f24320cb002a6e48318ece0e8fe9cf6983
[ "BSD-3-Clause" ]
86
2015-01-13T19:05:32.000Z
2021-09-14T08:42:45.000Z
import numpy as np import time from multiprocessing import Pool, cpu_count import sys sys.path.append('..') from numpyVectorization.motion_gauss import simulateParticles_loop # How do we pass multiple arguments via pool? Use wrapper functions! Note: # lambda functions will NOT work for this purpose def wrapper_fun(ar...
32.390244
110
0.73494
204
1,328
4.573529
0.504902
0.060021
0.064309
0.081458
0.081458
0.057878
0
0
0
0
0
0.009107
0.173193
1,328
40
111
33.2
0.840619
0.451054
0
0
0
0
0.058906
0
0
0
0
0
0
0
null
null
0
0.227273
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
393e7a08b3e1bbce0c29d38f5514efe82a58775e
3,412
py
Python
gui.py
dojafoja/Kii-U-Generator
0000132147813a3b44918a38679d819a1ad77e46
[ "MIT" ]
12
2020-06-07T14:56:09.000Z
2022-03-11T15:08:53.000Z
gui.py
dojafoja/Kii-U-Generator
0000132147813a3b44918a38679d819a1ad77e46
[ "MIT" ]
1
2020-06-09T07:04:19.000Z
2020-10-24T17:04:01.000Z
gui.py
dojafoja/Kii-U-Generator
0000132147813a3b44918a38679d819a1ad77e46
[ "MIT" ]
3
2020-12-22T17:22:03.000Z
2021-12-02T11:00:30.000Z
try: from Tkinter import Tk, END import ttk import tkMessageBox as message except ImportError: from tkinter import Tk, END from tkinter import messagebox as message from tkinter import ttk import json import keygen class RootWindow(Tk): def __init__(self): Tk.__init__(self) ...
40.619048
150
0.606975
494
3,412
4.119433
0.226721
0.044226
0.068796
0.082555
0.3086
0.286978
0.27715
0.250123
0.233415
0.10516
0
0.044496
0.235932
3,412
83
151
41.108434
0.736095
0
0
0.026667
0
0.013333
0.129543
0
0
0
0
0
0
1
0.04
false
0.066667
0.12
0
0.186667
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
3944fee33c22a583088f41543a12a9a187b10048
4,755
py
Python
test/simulator/ssh_server.py
lukaswinn/network-insight-sdk-generic-datasources
094479acdc19cf83ab613556746cd980c1741347
[ "BSD-2-Clause" ]
null
null
null
test/simulator/ssh_server.py
lukaswinn/network-insight-sdk-generic-datasources
094479acdc19cf83ab613556746cd980c1741347
[ "BSD-2-Clause" ]
null
null
null
test/simulator/ssh_server.py
lukaswinn/network-insight-sdk-generic-datasources
094479acdc19cf83ab613556746cd980c1741347
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2019 VMware, Inc. # SPDX-License-Identifier: BSD-2-Clause from twisted.conch import avatar, recvline from twisted.conch.interfaces import IConchUser, ISession from twisted.conch.ssh import factory, keys, session from twisted.conch.insults import insults from twisted.cred import portal, checkers from twiste...
28.993902
76
0.641009
511
4,755
5.8591
0.340509
0.088176
0.05678
0.03841
0.092518
0.05678
0.05678
0.05678
0.05678
0.05678
0
0.004186
0.246477
4,755
163
77
29.171779
0.831426
0.01367
0
0.125
0
0
0.049712
0
0.016667
0
0
0
0
0
null
null
0.016667
0.075
null
null
0.008333
0
0
0
null
0
0
0
0
0
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
394af93f4039309e8a302756f2be4570e6c8086c
1,204
py
Python
npz_data_generator.py
TankyFranky/Snow_Removal_GAN_ELEC825_Final_Project
16f912d08f4a760743117d62fb459d2af9cff35d
[ "MIT" ]
1
2022-02-25T04:01:56.000Z
2022-02-25T04:01:56.000Z
npz_data_generator.py
TankyFranky/Snow_Removal_GAN_ELEC825_Final_Project
16f912d08f4a760743117d62fb459d2af9cff35d
[ "MIT" ]
null
null
null
npz_data_generator.py
TankyFranky/Snow_Removal_GAN_ELEC825_Final_Project
16f912d08f4a760743117d62fb459d2af9cff35d
[ "MIT" ]
null
null
null
""" Based on the Pix2Pix GAN outlined by Jason Brownless https://machinelearningmastery.com/how-to-develop-a-pix2pix-gan-for-image-to-image-translation/ This helper script generates the .npz files required for the input of the cGAN """ from os import listdir from numpy import asarray, vstack, savez_compressed from ker...
32.540541
95
0.753322
179
1,204
4.921788
0.486034
0.056754
0.047673
0.045403
0.065834
0.065834
0
0
0
0
0
0.01088
0.160299
1,204
37
96
32.540541
0.860534
0.406977
0
0
1
0
0.117143
0.038571
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.294118
0.117647
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
394d7f4cc62235a2f7d101d3e06ff231b3381ef5
3,087
py
Python
bitcron/utils/file_utils.py
hepochen/Bitcron-CLI
efbdeb4cf915167cb76718b5560fd966b5ed497a
[ "MIT" ]
11
2017-06-26T05:06:32.000Z
2019-01-14T03:05:18.000Z
bitcron/utils/file_utils.py
hepochen/Bitcron-CLI
efbdeb4cf915167cb76718b5560fd966b5ed497a
[ "MIT" ]
1
2018-01-25T10:22:23.000Z
2021-06-28T02:18:13.000Z
bitcron/utils/file_utils.py
hepochen/Bitcron-CLI
efbdeb4cf915167cb76718b5560fd966b5ed497a
[ "MIT" ]
1
2018-01-17T02:47:11.000Z
2018-01-17T02:47:11.000Z
#coding: utf8 import os import sys import time import ctypes import subprocess import shutil try: import send2trash except: send2trash = None from . import run_commands from .path import same_slash as _ try: import win32file, win32con except: win32file = None win32con = None is_win = sys.platform =...
23.930233
128
0.586654
384
3,087
4.588542
0.369792
0.037457
0.018161
0.040863
0.137344
0.118048
0.085131
0.038593
0.038593
0
0
0.01165
0.304827
3,087
128
129
24.117188
0.809413
0.079041
0
0.38
0
0
0.038856
0
0
0
0
0
0
1
0.06
false
0.06
0.1
0
0.26
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
3950183ca706d66378eb3b77917d5e42d37927cd
2,204
py
Python
robustness_metrics/projects/revisiting_calibration/figures/__init__.py
Anselmoo/robustness_metrics
bf3bde93d0de60a288533469962b69f8f6fc09d5
[ "Apache-2.0" ]
null
null
null
robustness_metrics/projects/revisiting_calibration/figures/__init__.py
Anselmoo/robustness_metrics
bf3bde93d0de60a288533469962b69f8f6fc09d5
[ "Apache-2.0" ]
1
2022-02-01T08:48:18.000Z
2022-02-01T08:48:18.000Z
robustness_metrics/projects/revisiting_calibration/figures/__init__.py
Anselmoo/robustness_metrics
bf3bde93d0de60a288533469962b69f8f6fc09d5
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2022 The Robustness Metrics 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 appli...
43.215686
122
0.824864
301
2,204
5.810631
0.45515
0.087479
0.096055
0.132647
0.395655
0.366495
0.366495
0.334477
0.226415
0.142939
0
0.004651
0.122051
2,204
50
123
44.08
0.899225
0.480036
0
0
0
0
0.174222
0.123556
0
0
0
0
0
1
0
false
0
0.45
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
39544a86d4a00d00cdfbba1adad52f89bc0f97ea
375
py
Python
src/media_server/migrations/0014_auto_20190625_1737.py
nefarius/portfolio-backend
f595041354eedee71a4aa5b761501be030b81d09
[ "Apache-2.0" ]
6
2019-06-19T12:56:42.000Z
2021-12-26T07:22:47.000Z
src/media_server/migrations/0014_auto_20190625_1737.py
nefarius/portfolio-backend
f595041354eedee71a4aa5b761501be030b81d09
[ "Apache-2.0" ]
13
2019-12-20T10:39:44.000Z
2022-02-10T09:11:09.000Z
src/media_server/migrations/0014_auto_20190625_1737.py
nefarius/portfolio-backend
f595041354eedee71a4aa5b761501be030b81d09
[ "Apache-2.0" ]
1
2021-12-01T12:03:29.000Z
2021-12-01T12:03:29.000Z
# Generated by Django 2.2.2 on 2019-06-25 15:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('media_server', '0013_auto_20190625_1715'), ] operations = [ migrations.AlterField( model_name='media', name='exif', ...
19.736842
52
0.589333
40
375
5.4
0.775
0.018519
0
0
0
0
0
0
0
0
0
0.117424
0.296
375
18
53
20.833333
0.700758
0.12
0
0
1
0
0.134146
0.070122
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a3447ea133ce04c6977b72b8080f55ae3c4bc3e
7,848
py
Python
dash_docs/chapters/deployment/index.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
379
2017-06-21T14:35:52.000Z
2022-03-20T01:47:14.000Z
dash_docs/chapters/deployment/index.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
746
2017-06-21T19:58:17.000Z
2022-03-23T14:51:24.000Z
dash_docs/chapters/deployment/index.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
201
2017-06-21T21:53:19.000Z
2022-03-17T13:23:55.000Z
import dash_core_components as dcc import dash_html_components as html from dash_docs import styles from dash_docs import reusable_components as rc layout = html.Div(children=[ rc.Markdown(''' # Deploying Dash Apps By default, Dash apps run on `localhost` - you can only access them on your own machine...
31.019763
156
0.633537
1,002
7,848
4.91517
0.321357
0.045685
0.058071
0.073096
0.171371
0.134822
0.071878
0.041421
0.023959
0.023959
0
0.001329
0.232798
7,848
252
157
31.142857
0.816642
0
0
0.371134
0
0.07732
0.859327
0.038099
0
0
0
0
0
1
0
false
0
0.041237
0
0.046392
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
1a3b4dca8a2c81a6b80a140347433d710eda37f4
2,189
py
Python
server.py
dclark3774/PythonWebKit
76bb561a151c7a5b7b83a1bdfb8eb77726370e1f
[ "MIT" ]
null
null
null
server.py
dclark3774/PythonWebKit
76bb561a151c7a5b7b83a1bdfb8eb77726370e1f
[ "MIT" ]
null
null
null
server.py
dclark3774/PythonWebKit
76bb561a151c7a5b7b83a1bdfb8eb77726370e1f
[ "MIT" ]
null
null
null
# Import dependencies from flask import Flask, render_template, redirect, url_for, request from flask_login import LoginManager, login_required import logging import pxc_modules.plcnextAPI as API import socket import json # Get the local IP address of the PLCnext def get_ip(): s = socket.socket(socket....
26.373494
87
0.645957
278
2,189
4.960432
0.446043
0.060914
0.072516
0.054387
0.073241
0.052212
0
0
0
0
0
0.013897
0.211055
2,189
82
88
26.695122
0.784598
0.192782
0
0
0
0
0.204069
0
0
0
0
0
0
1
0.145833
false
0.083333
0.125
0.083333
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
1a409d0da25fa3c3cf12eee64ac5bdcadf5896b6
684
py
Python
setup.py
NickLeoMartin/tap-quaderno
4e9cba59f4ae5b18c5706a56f9dbe3c28d029b9f
[ "Apache-2.0" ]
null
null
null
setup.py
NickLeoMartin/tap-quaderno
4e9cba59f4ae5b18c5706a56f9dbe3c28d029b9f
[ "Apache-2.0" ]
null
null
null
setup.py
NickLeoMartin/tap-quaderno
4e9cba59f4ae5b18c5706a56f9dbe3c28d029b9f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup(name='tap-quaderno', version='0.1.0', description='Singer.io tap for extracting data from the Quaderno API', author='nickleomartin@gmail.com', classifiers=[ 'Programming Language :: Python :: 3 :: Only' ], py_module...
25.333333
76
0.554094
74
684
5
0.675676
0.178378
0
0
0
0
0
0
0
0
0
0.028926
0.292398
684
26
77
26.307692
0.735537
0.02924
0
0.086957
0
0
0.473605
0.07994
0
0
0
0
0
1
0
true
0
0.043478
0
0.043478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1a49ac5ff5a99a713656748d22b5625d306a6dce
731
py
Python
ondevice/core/exception.py
ondevice/ondevice-client
a291f22827684f192a4f03e6fce3325527f30268
[ "Linux-OpenIB" ]
2
2016-08-02T15:32:19.000Z
2016-08-25T08:51:50.000Z
ondevice/core/exception.py
ondevice/ondevice-python
a291f22827684f192a4f03e6fce3325527f30268
[ "Linux-OpenIB" ]
29
2016-07-08T06:56:06.000Z
2016-11-09T22:59:44.000Z
ondevice/core/exception.py
ondevice/ondevice-client
a291f22827684f192a4f03e6fce3325527f30268
[ "Linux-OpenIB" ]
null
null
null
""" Some exception classes for the ondevice client """ class _Exception(Exception): def __init__(self, *args, **kwargs): Exception.__init__(self, *args) self.msg = args[0] for k,v in kwargs.items(): setattr(self, k, v) class ConfigurationError(_Exception): """ Indicates a m...
29.24
101
0.682627
81
731
6
0.567901
0.148148
0.049383
0
0
0
0
0
0
0
0
0.001736
0.212038
731
24
102
30.458333
0.842014
0.399453
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.071429
false
0.285714
0
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1a4b3d955f5c04fe3e8e5455b052102e456b4574
364
py
Python
plant_disease_client/models.py
isacmoura/plants-disease-identifier2
ff345b21e4e2f8d2c5e3b4dbfe9c7630626ac02a
[ "MIT" ]
null
null
null
plant_disease_client/models.py
isacmoura/plants-disease-identifier2
ff345b21e4e2f8d2c5e3b4dbfe9c7630626ac02a
[ "MIT" ]
1
2020-01-28T22:49:38.000Z
2020-01-28T22:49:38.000Z
plant_disease_client/models.py
isacmoura/plants-disease-identifier2
ff345b21e4e2f8d2c5e3b4dbfe9c7630626ac02a
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone # Create your models here. class Feedback(models.Model): data = models.DateTimeField(blank = True) result = models.CharField(max_length = 3, null=True) def store(self): self.data = timezone.now() self.save() class Document(mo...
24.266667
56
0.695055
47
364
5.361702
0.659574
0.079365
0
0
0
0
0
0
0
0
0
0.003425
0.197802
364
15
57
24.266667
0.859589
0.065934
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1a4b614453d66484d9b45222b885cf8467c429a6
4,939
py
Python
torchbenchmark/models/timm_vision_transformer/__init__.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
torchbenchmark/models/timm_vision_transformer/__init__.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
torchbenchmark/models/timm_vision_transformer/__init__.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
# Generated by gen_timm_models.py import torch import timm.models.vision_transformer import time from ...util.model import BenchmarkModel from torchbenchmark.tasks import COMPUTER_VISION from .config import TimmConfig import torch.cuda.nvtx as nvtx class Model(BenchmarkModel): task = COMPUTER_VISION.GENERAT...
31.259494
122
0.661875
668
4,939
4.727545
0.226048
0.068398
0.049398
0.037999
0.374288
0.318239
0.276124
0.232109
0.217226
0.198227
0
0.016252
0.202673
4,939
158
123
31.259494
0.785678
0.031383
0
0.47619
1
0
0.071151
0.004542
0
0
0
0.006329
0.006803
1
0.047619
false
0.006803
0.047619
0.013605
0.122449
0.047619
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
1a4fb556da92d389c93bab7d62247a140ba17fcc
854
py
Python
api/endpoints/classification.py
titandrubbel/defect-predictor
701c9e9d48177216627d2b85dbbc3d58d42c303a
[ "Apache-2.0" ]
null
null
null
api/endpoints/classification.py
titandrubbel/defect-predictor
701c9e9d48177216627d2b85dbbc3d58d42c303a
[ "Apache-2.0" ]
null
null
null
api/endpoints/classification.py
titandrubbel/defect-predictor
701c9e9d48177216627d2b85dbbc3d58d42c303a
[ "Apache-2.0" ]
null
null
null
import json from flask import abort, Response from api.defect_prediction import DefectPredictor import random # TODO remove after imiplementing classify() def classify(script): """ This function responds to a request for /api/classification/classify (POST) with the result of a classification on the passed ...
29.448276
109
0.675644
108
854
5.305556
0.574074
0.068063
0
0
0
0
0
0
0
0
0
0.013825
0.237705
854
29
110
29.448276
0.866359
0.399297
0
0
0
0
0.100205
0
0
0
0
0.034483
0
1
0.0625
false
0
0.25
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
1
0
0
0
0
0
0
0
0
0
0
1
1a5723ca932e86aa088cfb33ea9a64fdb7cad210
6,396
py
Python
demos/demo_readers_writers.py
worc3131/CPO
de738f18188566327c407bd34f0683d827b5d5d5
[ "MIT" ]
null
null
null
demos/demo_readers_writers.py
worc3131/CPO
de738f18188566327c407bd34f0683d827b5d5d5
[ "MIT" ]
null
null
null
demos/demo_readers_writers.py
worc3131/CPO
de738f18188566327c407bd34f0683d827b5d5d5
[ "MIT" ]
null
null
null
import time from cpo import * def run_demo(): Sols = [ BadRWSolution, ReadFavouredRWSolution, WriteFavouredSolution, BalancedRWSolution, ] for Sol in Sols: run_solution(Sol) return Sols def run_solution(Solution): N_READERS = 20 N_WRITERS = 20 DATA...
25.280632
56
0.615385
748
6,396
5.004011
0.118984
0.074806
0.085493
0.06412
0.688218
0.616083
0.514293
0.478226
0.447769
0.404756
0
0.008308
0.284866
6,396
252
57
25.380952
0.810013
0.001094
0
0.588832
0
0
0.023493
0
0
0
0
0
0
1
0.208122
false
0.020305
0.010152
0.025381
0.279188
0.005076
0
0
0
null
0
0
0
0
0
0
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
1a5a22aa8804196dc6c582cbf3af352553dd54ff
11,013
py
Python
tools/clothing_ass_update.py
samson-wang/lwh-py-faster-rcnn
460c537de30982f74655cf6942de763ceb034157
[ "BSD-2-Clause" ]
null
null
null
tools/clothing_ass_update.py
samson-wang/lwh-py-faster-rcnn
460c537de30982f74655cf6942de763ceb034157
[ "BSD-2-Clause" ]
null
null
null
tools/clothing_ass_update.py
samson-wang/lwh-py-faster-rcnn
460c537de30982f74655cf6942de763ceb034157
[ "BSD-2-Clause" ]
null
null
null
import numpy as np import cv2 as cv import json from collections import defaultdict import os def load_bbox(bbox_file): img_to_bbox = {} with open(bbox_file, 'rb') as f: lines = f.readlines() for line in lines[2:]: flag = line.strip('\n').split(' ') img_to_bbox[flag[0]] ...
36.58804
113
0.560338
1,554
11,013
3.722008
0.122265
0.020574
0.041148
0.060512
0.406639
0.340249
0.280429
0.212137
0.166148
0.158887
0
0.022745
0.305366
11,013
300
114
36.71
0.733333
0.089985
0
0.230089
0
0
0.102822
0.06818
0
0
0
0
0.00885
0
null
null
0
0.022124
null
null
0.070796
0
0
0
null
0
0
0
0
0
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
1a66abee525c6fb70b3ec9fba4dd7897b0b8c0ce
3,053
py
Python
vfssh/vfs/command/curl.py
palwolus/Cyder
c6b123f3fd142b98017cf01ffb5efa28c2a075be
[ "MIT" ]
9
2020-02-14T15:49:57.000Z
2021-03-02T20:17:41.000Z
vfssh/vfs/command/curl.py
palwolus/Cyder
c6b123f3fd142b98017cf01ffb5efa28c2a075be
[ "MIT" ]
null
null
null
vfssh/vfs/command/curl.py
palwolus/Cyder
c6b123f3fd142b98017cf01ffb5efa28c2a075be
[ "MIT" ]
2
2020-02-13T18:55:07.000Z
2020-10-03T02:31:45.000Z
from vfssh.vfs.Command import Command from vfssh.vfs.error import VFSError from vfssh.vfs.fs_object import FileObject import requests class curl(Command): def __init__(self, vfs=None): super().__init__('curl') self.set_vfs(vfs) def process(self, **kwargs): full, cmd, = kwargs['full'],...
34.693182
120
0.456928
336
3,053
4.059524
0.395833
0.046921
0.015396
0.017595
0.069648
0.030059
0.030059
0.006598
0
0
0
0.010847
0.36587
3,053
87
121
35.091954
0.693698
0.108418
0
0.190476
0
0
0.111613
0
0
0
0
0.011494
0
1
0.047619
false
0
0.063492
0
0.222222
0.015873
0
0
0
null
0
0
0
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
1a6a4a0cbc5eb4d3d7e221c8e02e6ccde33147a4
521
py
Python
drapps/evalargs.py
schwa-lab/dr-apps-python
e1b7b68de54cb86f60e5c570f4ebce6c47820c39
[ "MIT" ]
3
2015-03-23T17:19:10.000Z
2016-01-11T16:40:57.000Z
drapps/evalargs.py
schwa-lab/dr-apps-python
e1b7b68de54cb86f60e5c570f4ebce6c47820c39
[ "MIT" ]
null
null
null
drapps/evalargs.py
schwa-lab/dr-apps-python
e1b7b68de54cb86f60e5c570f4ebce6c47820c39
[ "MIT" ]
null
null
null
# vim: set et nosi ai ts=2 sts=2 sw=2: # -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals import argparse from functools import partial ArgumentParser = partial(argparse.ArgumentParser, add_help=False) STRING_AP = ArgumentParser() STRING_AP.add_mutually_exclusive_group()...
37.214286
137
0.765835
79
521
4.835443
0.582278
0.08377
0.086387
0.099476
0
0
0
0
0
0
0
0.008602
0.107486
521
13
138
40.076923
0.812903
0.111324
0
0
0
0
0.165217
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1a6ab69b94c0e0633c280afae882d50dc61b2468
6,763
py
Python
pox_src/poxExtIf.py
tonyausi/SDN_POX
48a401d06ec2d6a42c130c76e6ef49f8894b19f8
[ "Apache-2.0" ]
null
null
null
pox_src/poxExtIf.py
tonyausi/SDN_POX
48a401d06ec2d6a42c130c76e6ef49f8894b19f8
[ "Apache-2.0" ]
null
null
null
pox_src/poxExtIf.py
tonyausi/SDN_POX
48a401d06ec2d6a42c130c76e6ef49f8894b19f8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python ''' Cloud project: - Software Defined Networking (SDN) -- External interface between POX top controller and other apps such as Mininet Tony Lin ''' import time import os, sys import logging #import numpy as np #import re from pox.core import core #import pox.openflow.libopenflow_01...
35.223958
152
0.577554
761
6,763
4.968463
0.316689
0.04073
0.038085
0.034382
0.157895
0.116107
0.107115
0.083576
0.059244
0.059244
0
0.007627
0.282715
6,763
192
153
35.223958
0.7718
0.23392
0
0.163793
0
0
0.069453
0.006431
0
0
0.001286
0
0
0
null
null
0.008621
0.103448
null
null
0.068966
0
0
0
null
0
0
0
0
0
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
1a71fe316a63cc25d47ab04b4aab19bf5d194f7d
1,429
py
Python
addon.py
boleanly/plugin.video.icdrama-boleanly
0ae81d66b5427deae49f20a64ff0940d887f0cd3
[ "MIT" ]
2
2018-11-12T17:18:24.000Z
2021-02-19T10:47:19.000Z
addon.py
boleanly/plugin.video.icdrama-boleanly
0ae81d66b5427deae49f20a64ff0940d887f0cd3
[ "MIT" ]
null
null
null
addon.py
boleanly/plugin.video.icdrama-boleanly
0ae81d66b5427deae49f20a64ff0940d887f0cd3
[ "MIT" ]
null
null
null
import sys from urlparse import parse_qsl from urllib import unquote from lib import actions from lib import cache import xbmcaddon ''' title_language = xbmcaddon.Addon().getSetting('title_language') language_override = xbmcaddon.Addon().getSetting('language_override') addon_settings = {} try: addon_settings = cac...
34.02381
114
0.702589
172
1,429
5.575581
0.30814
0.189781
0.065693
0.09072
0.298227
0.259645
0.218978
0.218978
0.218978
0.218978
0
0.000839
0.16585
1,429
41
115
34.853659
0.803691
0.050385
0
0
0
0
0.073786
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
1a75d6353647fe1f68be3f015f2c753e09356d0f
8,836
py
Python
postgresql_csv_loader/csv_loader.py
agnoldo/postgresql-csv-loader
af55f69b0b51183c2eefacd092bab67d72a2ac98
[ "MIT" ]
null
null
null
postgresql_csv_loader/csv_loader.py
agnoldo/postgresql-csv-loader
af55f69b0b51183c2eefacd092bab67d72a2ac98
[ "MIT" ]
null
null
null
postgresql_csv_loader/csv_loader.py
agnoldo/postgresql-csv-loader
af55f69b0b51183c2eefacd092bab67d72a2ac98
[ "MIT" ]
null
null
null
import csv import logging import os import re from psycopg2 import connect class CsvLoader(object): """ Automatically create tables and load data from CSV files to your database. This loader creates tables based on CSV headers. Then data is loaded using COPY command. It works only with PostgreSQL for...
45.312821
119
0.672363
1,111
8,836
5.176418
0.192619
0.031299
0.020344
0.029734
0.393323
0.372457
0.349504
0.339593
0.324813
0.314554
0
0.001358
0.250113
8,836
194
120
45.546392
0.866586
0.436623
0
0.105263
0
0
0.076129
0
0
0
0
0.005155
0
1
0.118421
false
0.052632
0.065789
0
0.355263
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
1a81bcdc8de5c953c16195b81874c354ce27bc12
1,447
py
Python
src/exco/cell_full_path.py
thegangtechnology/excel_comment_orm
b38156b406ccb3ce87737b8ed049bbf3b8a39050
[ "MIT" ]
2
2020-11-10T04:53:07.000Z
2020-11-12T03:53:46.000Z
src/exco/cell_full_path.py
thegangtechnology/excel_comment_orm
b38156b406ccb3ce87737b8ed049bbf3b8a39050
[ "MIT" ]
50
2020-11-09T06:30:31.000Z
2022-01-06T05:00:50.000Z
src/exco/cell_full_path.py
thegangtechnology/excel_comment_orm
b38156b406ccb3ce87737b8ed049bbf3b8a39050
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import TYPE_CHECKING from openpyxl import Workbook from openpyxl.cell import Cell from openpyxl.cell.read_only import EmptyCell from openpyxl.worksheet.worksheet import Worksheet if TYPE_CHECKING: from exco.cell_location \ import CellLocation @dataclass clas...
24.948276
74
0.606773
162
1,447
5.364198
0.333333
0.04603
0.036824
0.04603
0.087457
0.087457
0
0
0
0
0
0.002014
0.313753
1,447
57
75
25.385965
0.873112
0.143746
0
0
0
0
0.02139
0
0
0
0
0
0
1
0.129032
false
0
0.258065
0.032258
0.645161
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
1a88b16e432cd274dad6f4c75ea42e6691b19ff8
1,604
py
Python
backend/plugins/bs4_inline_alignment/migrations/0001_initial.py
Guanch1/rep1
a0ab377be65acd85f12e13cc2e1d340e5e0e76cd
[ "MIT" ]
20
2021-01-08T08:23:27.000Z
2022-03-17T10:16:25.000Z
backend/plugins/bs4_inline_alignment/migrations/0001_initial.py
Guanch1/rep1
a0ab377be65acd85f12e13cc2e1d340e5e0e76cd
[ "MIT" ]
7
2021-03-17T09:59:03.000Z
2022-02-06T08:56:48.000Z
backend/plugins/bs4_inline_alignment/migrations/0001_initial.py
Guanch1/rep1
a0ab377be65acd85f12e13cc2e1d340e5e0e76cd
[ "MIT" ]
20
2021-06-02T08:09:46.000Z
2022-03-29T14:40:55.000Z
# Generated by Django 2.1.10 on 2019-07-31 12:04 import django.db.models.deletion from django.db import migrations from django.db import models class Migration(migrations.Migration): initial = True dependencies = [ ('cms', '0022_auto_20180620_1551'), ] operations = [ migrations.Cre...
48.606061
251
0.604738
173
1,604
5.485549
0.393064
0.079031
0.105374
0.126449
0.4647
0.4647
0.434141
0.434141
0.434141
0.434141
0
0.037855
0.209476
1,604
32
252
50.125
0.710568
0.028678
0
0
1
0
0.221722
0.041131
0
0
0
0
0
1
0
false
0
0.12
0
0.28
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
1a892aca60bb3348bf6a05fcaeed4313e6bdca22
23,424
py
Python
management/python/lib/qpidstore/janal.py
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
1
2017-11-29T09:19:02.000Z
2017-11-29T09:19:02.000Z
management/python/lib/qpidstore/janal.py
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
null
null
null
management/python/lib/qpidstore/janal.py
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "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...
37.902913
120
0.561902
3,019
23,424
4.130176
0.1368
0.023578
0.010105
0.009624
0.327933
0.255353
0.201861
0.157831
0.102815
0.091427
0
0.004911
0.330601
23,424
617
121
37.964344
0.790306
0.069501
0
0.313679
0
0.002358
0.051516
0
0
0
0
0.001621
0
0
null
null
0.002358
0.004717
null
null
0.021226
0
0
0
null
0
0
0
0
0
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
1a912cdc999c18ad244f3b7532203a2abb68e856
91,356
py
Python
conary/repository/changeset.py
sassoftware/conary
d418968acd5e11ee17ed6d91ca395ea10a040222
[ "Apache-2.0" ]
43
2015-03-31T01:37:10.000Z
2021-11-14T16:26:48.000Z
conary/repository/changeset.py
sassoftware/conary
d418968acd5e11ee17ed6d91ca395ea10a040222
[ "Apache-2.0" ]
9
2015-06-10T16:39:41.000Z
2020-01-27T16:35:01.000Z
conary/repository/changeset.py
sassoftware/conary
d418968acd5e11ee17ed6d91ca395ea10a040222
[ "Apache-2.0" ]
9
2015-04-07T08:12:37.000Z
2020-01-26T09:54:18.000Z
# # Copyright (c) SAS Institute Inc. # # 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 w...
40.71123
147
0.531197
8,504
91,356
5.677328
0.132761
0.011185
0.008451
0.003542
0.253314
0.195816
0.157539
0.125476
0.104577
0.097038
0
0.007422
0.384977
91,356
2,243
148
40.72938
0.851867
0.102139
0
0.322864
0
0.000628
0.020655
0.000319
0
0
0.000281
0
0.018844
0
null
null
0.003141
0.010678
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1a962d6400886ab0e3c6ba87d49a66fb8703192d
1,316
py
Python
setup.py
rahulnadella/Calculator
b5d0d6207549832ead69c3ffd81f8f858f24e8bd
[ "BSD-2-Clause" ]
null
null
null
setup.py
rahulnadella/Calculator
b5d0d6207549832ead69c3ffd81f8f858f24e8bd
[ "BSD-2-Clause" ]
null
null
null
setup.py
rahulnadella/Calculator
b5d0d6207549832ead69c3ffd81f8f858f24e8bd
[ "BSD-2-Clause" ]
null
null
null
""" Calculator ---------- A simple implementation of a calculator containing several operators Usage:: import calculator calculator.add(10, 3) -> 13 calculator.subtract(10, 3) -> 7 calculator.multiply(10, 3) -> 30 calculator.divide(10, 3) -> 3.3333333 calculator.modulus(10, 3) -> 1 ...
24.830189
70
0.62614
144
1,316
5.659722
0.576389
0.018405
0.051534
0.056442
0.08589
0
0
0
0
0
0
0.047898
0.222644
1,316
52
71
25.307692
0.748778
0.452128
0
0
0
0
0.492286
0.030856
0
0
0
0
0
1
0
true
0
0.043478
0
0.043478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1a98146fc457f15c6fe39ec71bc559e03e9df50b
1,022
py
Python
bot/plugins/gnu.py
wholesomethought/twitch-chat-bot
b5a4ecd01407cdf824c6736138aa6bfa95bbc490
[ "MIT" ]
null
null
null
bot/plugins/gnu.py
wholesomethought/twitch-chat-bot
b5a4ecd01407cdf824c6736138aa6bfa95bbc490
[ "MIT" ]
null
null
null
bot/plugins/gnu.py
wholesomethought/twitch-chat-bot
b5a4ecd01407cdf824c6736138aa6bfa95bbc490
[ "MIT" ]
null
null
null
from __future__ import annotations import random import re from typing import Match from bot.config import Config from bot.data import COMMANDS from bot.data import esc from bot.data import format_msg from bot.data import handle_message # XXX: this doesn't belong here, but ordering is important @handle_message( ...
29.2
75
0.688845
159
1,022
4.333333
0.433962
0.050798
0.063861
0.098694
0.235123
0.174165
0.092888
0
0
0
0
0.008255
0.170254
1,022
34
76
30.058824
0.804245
0.054795
0
0.074074
0
0.037037
0.181535
0.044606
0
0
0
0
0
1
0
false
0
0.333333
0
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1aabed8f04add4055140040666f410951e1c2530
3,076
py
Python
create_noisy_filtred_images.py
WassimBouatay/MVA-SinGAN-for-Image-Denoising
fb5606eb30fe68bb14e828e3ed1b8661eced4b9a
[ "MIT" ]
null
null
null
create_noisy_filtred_images.py
WassimBouatay/MVA-SinGAN-for-Image-Denoising
fb5606eb30fe68bb14e828e3ed1b8661eced4b9a
[ "MIT" ]
null
null
null
create_noisy_filtred_images.py
WassimBouatay/MVA-SinGAN-for-Image-Denoising
fb5606eb30fe68bb14e828e3ed1b8661eced4b9a
[ "MIT" ]
null
null
null
import numpy as np import matplotlib import matplotlib.pylab as plt from scipy.ndimage import gaussian_filter from skimage.transform import resize from scipy import ndimage import imageio from os import walk import random input_path = 'C:/Files/M2 MVA/S1/Object recognition/Project/SinGAN-master/Input/Set14/' noisy_pa...
36.188235
95
0.607282
407
3,076
4.454545
0.199017
0.104799
0.062879
0.079426
0.558191
0.504137
0.504137
0.504137
0.460011
0.460011
0
0.032829
0.247399
3,076
85
96
36.188235
0.750324
0.004551
0
0.107143
0
0.142857
0.247392
0.147541
0
0
0
0
0
1
0
false
0
0.321429
0
0.321429
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1ab795bac2cfe60c79828e643305d6c34f4431a7
2,119
py
Python
regcore_write/tests/views_security_tests.py
navigo/regulations-core
0b2a2034baacfa1cc5ff87f14db7d1aaa8d260c3
[ "CC0-1.0" ]
17
2016-06-14T19:06:02.000Z
2021-10-03T23:46:00.000Z
regcore_write/tests/views_security_tests.py
navigo/regulations-core
0b2a2034baacfa1cc5ff87f14db7d1aaa8d260c3
[ "CC0-1.0" ]
42
2016-04-06T22:34:26.000Z
2020-04-14T22:00:24.000Z
regcore_write/tests/views_security_tests.py
navigo/regulations-core
0b2a2034baacfa1cc5ff87f14db7d1aaa8d260c3
[ "CC0-1.0" ]
20
2016-05-04T06:04:34.000Z
2020-10-07T16:16:03.000Z
import base64 from django.http import HttpResponse from django.test import TestCase from django.test.client import RequestFactory from django.test.utils import override_settings from regcore_write.views import security def _wrapped_fn(request): return HttpResponse(status=204) def _encode(username, password): ...
35.915254
78
0.686645
253
2,119
5.513834
0.272727
0.070968
0.12043
0.12043
0.595699
0.575627
0.575627
0.575627
0.571326
0.571326
0
0.01922
0.189712
2,119
58
79
36.534483
0.793244
0.079283
0
0.425
0
0
0.040827
0
0
0
0
0
0.175
1
0.125
false
0.225
0.15
0.025
0.35
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
1abd7e07bea909f102d02e4df6c75443506ffff7
6,044
py
Python
src/FeatureVolumeCacheSequence.py
collector-m/overlap_localization
df03a8f27408f33d07010774de3b11b0d272e065
[ "MIT" ]
188
2020-08-20T07:43:04.000Z
2022-03-08T12:11:11.000Z
src/FeatureVolumeCacheSequence.py
collector-m/overlap_localization
df03a8f27408f33d07010774de3b11b0d272e065
[ "MIT" ]
5
2020-12-10T07:19:41.000Z
2022-02-09T23:55:25.000Z
src/FeatureVolumeCacheSequence.py
collector-m/overlap_localization
df03a8f27408f33d07010774de3b11b0d272e065
[ "MIT" ]
59
2020-12-02T01:33:56.000Z
2022-03-18T04:30:39.000Z
#!/usr/bin/env python3 # Developed by Xieyuanli Chen and Thomas Läbe # This file is covered by the LICENSE file in the root of this project. # A keras generator which generates batches out of cached feature volumes import os import numpy as np from keras.utils import Sequence class FeatureVolumeCacheSequence(Sequen...
37.775
98
0.66413
845
6,044
4.543195
0.242604
0.071112
0.044282
0.034384
0.238083
0.182339
0.145611
0.061995
0.056265
0.029174
0
0.014744
0.225678
6,044
159
99
38.012579
0.805556
0.294176
0
0.111111
1
0
0.056769
0
0
0
0
0
0
1
0.111111
false
0
0.037037
0.012346
0.246914
0.037037
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
1ac1cdd3ba611d7f8e69370585a63c1bd7371ce8
3,242
py
Python
WebTest/Webserver/smartmail-data.py
BrianAtwell/SmartMailBox
1034cbe98596d21c7690e1a86c79a3ee1860f175
[ "MIT" ]
null
null
null
WebTest/Webserver/smartmail-data.py
BrianAtwell/SmartMailBox
1034cbe98596d21c7690e1a86c79a3ee1860f175
[ "MIT" ]
null
null
null
WebTest/Webserver/smartmail-data.py
BrianAtwell/SmartMailBox
1034cbe98596d21c7690e1a86c79a3ee1860f175
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import time import atexit import json import cgi import cgitb; cgitb.enable() # for troubleshooting import random print "Content-type: application/json\n\n" form = cgi.FieldStorage() vertIR = { "IRAnalog" : 4095, "IRState": 0, "IRLimitHigh": 4095, "IRLimitLow": 3000, "IRLimitTL...
23.664234
99
0.631709
381
3,242
5.375328
0.23622
0.046875
0.070313
0.044434
0.32373
0.174805
0.144531
0.144531
0.112305
0.068359
0
0.031083
0.136644
3,242
137
100
23.664234
0.700607
0.012338
0
0.210084
0
0
0.286161
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.02521
0
0
0
null
0
0
0
0
0
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
1ac9194ea3cff8e37f8a500dc8388899956dbfe9
398
py
Python
baekjoon/python/input_gen_1708.py
yskang/AlgorithmPracticeWithPython
f7129bd1924a7961489198f0ee052d2cd1e9cf40
[ "MIT" ]
null
null
null
baekjoon/python/input_gen_1708.py
yskang/AlgorithmPracticeWithPython
f7129bd1924a7961489198f0ee052d2cd1e9cf40
[ "MIT" ]
null
null
null
baekjoon/python/input_gen_1708.py
yskang/AlgorithmPracticeWithPython
f7129bd1924a7961489198f0ee052d2cd1e9cf40
[ "MIT" ]
null
null
null
import sys import random from collections import defaultdict def main(): n = random.randint(3, 5) print(n) dots = defaultdict(lambda:0) while len(dots) < n: x = random.randint(-10, 10) y = random.randint(-10, 10) dots[(x, y)] += 1 if dots[(x, y)] == 1: ...
22.111111
40
0.512563
52
398
3.769231
0.480769
0.19898
0.153061
0.173469
0
0
0
0
0
0
0
0.048507
0.326633
398
18
41
22.111111
0.682836
0
0
0
0
0
0.034031
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.266667
0.133333
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
1ace98046ed9484b00def0bbd6ca8e9b257e2ace
3,514
py
Python
bumblebee/comments/models.py
sthasam2/bumblebee-backend
22057399f34cdc1edb0ef04e622c97df46532de3
[ "Linux-OpenIB" ]
null
null
null
bumblebee/comments/models.py
sthasam2/bumblebee-backend
22057399f34cdc1edb0ef04e622c97df46532de3
[ "Linux-OpenIB" ]
null
null
null
bumblebee/comments/models.py
sthasam2/bumblebee-backend
22057399f34cdc1edb0ef04e622c97df46532de3
[ "Linux-OpenIB" ]
null
null
null
from django.contrib.postgres.fields import ArrayField from django.db import models from bumblebee.buzzes.models import Buzz, Rebuzz from bumblebee.users.models import CustomUser class IdDateField(models.Model): """ """ userid = models.PositiveIntegerField() date = models.DateTimeField() class Abstract...
26.824427
80
0.665623
376
3,514
6.031915
0.263298
0.039683
0.050705
0.046296
0.373457
0.311728
0.243386
0.136684
0.136684
0.049383
0
0.004065
0.229937
3,514
130
81
27.030769
0.834072
0.014229
0
0.230769
0
0
0.054332
0.009104
0
0
0
0
0
1
0.076923
false
0
0.043956
0.076923
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
46ba9d1b0757551f0a67a5547fc7c46d6d02d754
1,911
py
Python
analyzing_SNR_value.py
nuriyeyldrm/deep_image_fusion
a7d9e4a26b625b221e39271fecd00063d3b8491d
[ "MIT" ]
7
2021-04-23T06:37:17.000Z
2022-02-22T20:50:05.000Z
analyzing_SNR_value.py
nuriyeyldrm/deep_image_fusion
a7d9e4a26b625b221e39271fecd00063d3b8491d
[ "MIT" ]
1
2022-03-16T14:41:52.000Z
2022-03-17T11:18:35.000Z
analyzing_SNR_value.py
nuriyeyldrm/deep_image_fusion
a7d9e4a26b625b221e39271fecd00063d3b8491d
[ "MIT" ]
3
2021-09-23T06:14:11.000Z
2022-03-15T09:28:56.000Z
from sporco.util import tikhonov_filter import pywt import numpy as np from imageio import imread def Fusion_DWT_db2(image1, image2): # decomposing each image using Discrete wavelet transform(DWT) with Daubechies filter (db2) coefficients_1 = pywt.wavedec2(image1, 'db2', level=2) coefficients_2 = pywt.wav...
34.745455
113
0.677656
298
1,911
4.258389
0.369128
0.051221
0.035461
0.042553
0.14342
0.085106
0
0
0
0
0
0.062173
0.200419
1,911
54
114
35.388889
0.768325
0.242805
0
0
0
0
0.062587
0
0
0
0
0
0
1
0.088235
false
0.088235
0.117647
0.029412
0.294118
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
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
46bd3b8f817560871f82f369f49bad3d89fa0ed0
865
py
Python
tlg.py
DipakSalunke/Twitter-Selenium-Java
002ec70374f60ac4bc64d6abdc8f90c6398aaf9a
[ "Apache-2.0" ]
1
2022-03-30T09:30:38.000Z
2022-03-30T09:30:38.000Z
tlg.py
DipakSalunke/Twitter-Selenium-Java
002ec70374f60ac4bc64d6abdc8f90c6398aaf9a
[ "Apache-2.0" ]
null
null
null
tlg.py
DipakSalunke/Twitter-Selenium-Java
002ec70374f60ac4bc64d6abdc8f90c6398aaf9a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Oct 17 00:13:50 2019 @author: dipak """ from selenium import webdriver from getpass import getpass def login_twitter(username, password): driver = webdriver.Chrome("F:\LP II\Selenium\chromedriver.exe") driver.get("https://twitter.com/login") usern...
27.903226
76
0.698266
109
865
5.256881
0.495413
0.068063
0.089005
0.099476
0.17103
0.17103
0.122164
0.122164
0
0
0
0.023977
0.180347
865
30
77
28.833333
0.784203
0.085549
0
0.117647
0
0
0.189907
0.037185
0
0
0
0
0
1
0.058824
false
0.352941
0.117647
0
0.176471
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
46bdc165c778f37fb4be743ce5a553c1ebb578b4
11,532
py
Python
GUI/Main/form.py
diSp1rIt/VGA
8c8d957a048c45091b355be6fad57a542eb98c4e
[ "BSD-3-Clause" ]
1
2019-12-25T14:24:35.000Z
2019-12-25T14:24:35.000Z
GUI/Main/form.py
diSp1rIt/VGA
8c8d957a048c45091b355be6fad57a542eb98c4e
[ "BSD-3-Clause" ]
null
null
null
GUI/Main/form.py
diSp1rIt/VGA
8c8d957a048c45091b355be6fad57a542eb98c4e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'form.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("F...
52.899083
111
0.688432
1,331
11,532
5.842224
0.172802
0.026106
0.053755
0.021605
0.279192
0.16088
0.07446
0.048225
0.012731
0.012731
0
0.043414
0.183056
11,532
217
112
53.142857
0.781976
0.015435
0
0.034314
1
0
0.097735
0.003878
0
0
0
0
0
1
0.009804
false
0
0.009804
0
0.02451
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
46c270b4edc6ce9997fbfddc93b9395c760eebef
7,659
py
Python
genda/AEI/AEI_funcs.py
jeffhsu3/genda
5adbb5b5620c592849fa4a61126b934e1857cd77
[ "BSD-3-Clause" ]
5
2016-01-12T15:12:18.000Z
2022-02-10T21:57:39.000Z
genda/AEI/AEI_funcs.py
jeffhsu3/genda
5adbb5b5620c592849fa4a61126b934e1857cd77
[ "BSD-3-Clause" ]
5
2015-01-20T04:22:50.000Z
2018-10-02T19:39:12.000Z
genda/AEI/AEI_funcs.py
jeffhsu3/genda
5adbb5b5620c592849fa4a61126b934e1857cd77
[ "BSD-3-Clause" ]
1
2022-03-04T06:49:39.000Z
2022-03-04T06:49:39.000Z
#!/usr/local/bin import pickle import itertools import heapq from collections import defaultdict import numpy as np import pandas as pd from scipy.stats import binom import matplotlib.pyplot as plt def generate_mi(rsIDs): """ Usefuls for reindexing for a new subset of rsIDS """ BASES = ['A', 'C', 'G', '...
34.813636
87
0.606084
1,014
7,659
4.493097
0.282051
0.021071
0.015364
0.015803
0.374671
0.348771
0.322432
0.299166
0.264925
0.264925
0
0.005862
0.287244
7,659
219
88
34.972603
0.828723
0.30957
0
0.259259
0
0
0.035056
0
0
0
0
0.013699
0
1
0.166667
false
0.037037
0.074074
0
0.277778
0.009259
0
0
0
null
0
0
0
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
46c83b176707e705d2ac6d6463f392b979be8250
596
py
Python
talks/migrations/0004_talk_applicants_data.py
WebCampZg/conference-web
76ccae83924fdcd040d9280db5cf3a249d668606
[ "BSD-3-Clause" ]
4
2015-03-03T17:48:14.000Z
2019-02-27T20:28:42.000Z
talks/migrations/0004_talk_applicants_data.py
WebCampZg/conference-web
76ccae83924fdcd040d9280db5cf3a249d668606
[ "BSD-3-Clause" ]
104
2015-02-25T18:09:15.000Z
2019-06-21T10:02:53.000Z
talks/migrations/0004_talk_applicants_data.py
WebCampZg/conference-web
76ccae83924fdcd040d9280db5cf3a249d668606
[ "BSD-3-Clause" ]
9
2015-03-01T18:59:14.000Z
2019-06-10T06:48:45.000Z
# Generated by Django 2.1.7 on 2019-03-02 14:05 from django.db import migrations def populate_applicants(apps, schema_editor): Talk = apps.get_model("talks", "Talk") for talk in Talk.objects.all(): talk.applicants.add(talk.application.applicant) if talk.co_presenter: talk.applican...
22.923077
55
0.642617
68
596
5.514706
0.632353
0.112
0.090667
0.112
0
0
0
0
0
0
0
0.042601
0.251678
596
25
56
23.84
0.798206
0.075503
0
0
1
0
0.061931
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46c962a431c428cd13d4f838f0e7d3b54b92fc4e
2,101
py
Python
src/application/views.py
adamreis/nyc-jazz
3f4faac21511c2ddfb526e1735de68fedcee5b12
[ "MIT" ]
null
null
null
src/application/views.py
adamreis/nyc-jazz
3f4faac21511c2ddfb526e1735de68fedcee5b12
[ "MIT" ]
null
null
null
src/application/views.py
adamreis/nyc-jazz
3f4faac21511c2ddfb526e1735de68fedcee5b12
[ "MIT" ]
null
null
null
""" views.py URL route handlers Note that any handler params must match the URL route params. For example the *say_hello* handler, handling the URL route '/hello/<username>', must be passed *username* as the argument. """ from google.appengine.api import users from google.appengine.runtime.apiproxy_errors import C...
23.606742
91
0.682532
266
2,101
5.270677
0.454887
0.017118
0.036377
0.042796
0.03709
0
0
0
0
0
0
0.002441
0.219895
2,101
88
92
23.875
0.852959
0.184674
0
0
0
0
0.06868
0
0
0
0
0
0
1
0.156863
false
0
0.235294
0.058824
0.568627
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
46cbb540583bf73935dee91c99e4400a3e33c86b
6,561
py
Python
Katna/writer.py
viddik13/katna
12256602a5fd24368ffffe2c1a82a46a49215c15
[ "MIT" ]
125
2019-08-22T06:53:55.000Z
2022-03-24T05:53:41.000Z
Katna/writer.py
viddik13/katna
12256602a5fd24368ffffe2c1a82a46a49215c15
[ "MIT" ]
19
2020-02-13T07:14:59.000Z
2021-12-01T15:13:33.000Z
Katna/writer.py
viddik13/katna
12256602a5fd24368ffffe2c1a82a46a49215c15
[ "MIT" ]
28
2019-09-03T07:00:29.000Z
2021-12-30T04:20:14.000Z
import cv2 import os import ntpath class Writer: """The base class for writer to process data. Extend the class to implement different writers based on requirement. """ def _generate_filename_from_filepath(self, filepath): """Retreives filename from its path on disk :param filepath:...
31.094787
94
0.633135
814
6,561
4.914005
0.15602
0.044
0.022
0.03
0.60725
0.552
0.49625
0.463
0.446
0.446
0
0.001286
0.28898
6,561
211
95
31.094787
0.856163
0.441549
0
0.431034
0
0
0.019051
0
0
0
0
0
0
1
0.206897
false
0.017241
0.051724
0
0.37931
0.017241
0
0
0
null
0
0
0
0
0
0
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
46e1d78391859447e608a961cdbf08f9e9c9144c
816
py
Python
Python/SymetricTree.py
Jspsun/LEETCodePractice
9dba8c0441201a188b93e4d39a0a9b7602857a5f
[ "MIT" ]
3
2017-10-14T19:49:28.000Z
2019-01-12T21:51:11.000Z
Python/SymetricTree.py
Jspsun/LEETCodePractice
9dba8c0441201a188b93e4d39a0a9b7602857a5f
[ "MIT" ]
null
null
null
Python/SymetricTree.py
Jspsun/LEETCodePractice
9dba8c0441201a188b93e4d39a0a9b7602857a5f
[ "MIT" ]
5
2017-02-06T19:10:23.000Z
2020-12-19T01:58:10.000Z
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def isSymmetric(self, root): """ :type root: TreeNode :rtype: bool """ if root ...
24.727273
122
0.591912
99
816
4.838384
0.383838
0.050104
0.058455
0.079332
0
0
0
0
0
0
0
0
0.29902
816
32
123
25.5
0.837413
0.192402
0
0.133333
0
0
0
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
46e2487042ec0649025fb1588d7c9c0a7ed4c2e2
29,034
py
Python
tile_processor/worker.py
balazsdukai/tile-processor
2f7528fc31f205e50187003ce78e9dbfd6ecbaf3
[ "MIT" ]
null
null
null
tile_processor/worker.py
balazsdukai/tile-processor
2f7528fc31f205e50187003ce78e9dbfd6ecbaf3
[ "MIT" ]
null
null
null
tile_processor/worker.py
balazsdukai/tile-processor
2f7528fc31f205e50187003ce78e9dbfd6ecbaf3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Workers run the executables. Executables can be anything, but most likely they are compiled software that are called in a subprocess, for example *3dfier* (threedfier). In order to implement your own Worker, implement your class/function here and register it in the click command. The Factory...
37.08046
127
0.583729
3,329
29,034
4.870231
0.119555
0.035527
0.038488
0.037501
0.702214
0.678591
0.658237
0.639549
0.614754
0.600814
0
0.016203
0.313426
29,034
782
128
37.127877
0.797131
0.116829
0
0.672697
0
0.006579
0.252566
0.134348
0.003289
0
0
0.002558
0
1
0.027961
false
0.024671
0.014803
0
0.098684
0.001645
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
46f30e1c20cba4569a34a8ccaa6b244b9816d4c7
5,945
py
Python
src/ZPublisher/interfaces.py
arnaud-fontaine/Zope
818b530e294a33828b9f6527736354dcd72250af
[ "ZPL-2.1" ]
null
null
null
src/ZPublisher/interfaces.py
arnaud-fontaine/Zope
818b530e294a33828b9f6527736354dcd72250af
[ "ZPL-2.1" ]
null
null
null
src/ZPublisher/interfaces.py
arnaud-fontaine/Zope
818b530e294a33828b9f6527736354dcd72250af
[ "ZPL-2.1" ]
null
null
null
from zope.interface import Attribute from zope.interface import Interface ############################################################################# # Publication events # These are events notified in 'ZPublisher.Publish.publish'. class IPubEvent(Interface): '''Base class for publication events. Public...
34.970588
79
0.657191
718
5,945
5.409471
0.371866
0.026262
0.018538
0.020855
0.147271
0.129763
0.07415
0.07415
0.07415
0.053038
0
0.00173
0.222035
5,945
169
80
35.177515
0.838054
0.661733
0
0.142857
0
0
0.109304
0
0
0
0
0
0
1
0.178571
false
0
0.071429
0
0.928571
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
46f3ed926229f5d0e556ea82d7a59cbec6a57ac4
575
py
Python
backend/helpers/hertz_to_microtone.py
upulkkis/Score-Tool-2.0
9a6483bb41198be291a8b786ae8190ccb702a291
[ "MIT" ]
2
2021-10-30T17:28:31.000Z
2021-11-09T03:49:34.000Z
backend/helpers/hertz_to_microtone.py
upulkkis/Score-Tool-2.0
9a6483bb41198be291a8b786ae8190ccb702a291
[ "MIT" ]
null
null
null
backend/helpers/hertz_to_microtone.py
upulkkis/Score-Tool-2.0
9a6483bb41198be291a8b786ae8190ccb702a291
[ "MIT" ]
null
null
null
import pretty_midi def convert(val): nbr=pretty_midi.hz_to_note_number(val) frac=nbr%1 base_note=int(nbr) # print(frac) # print(base_note) notename = pretty_midi.note_number_to_name(base_note) if frac>0.25 and frac<0.75: if len(notename)==2: symb='+' if len(note...
28.75
67
0.633043
86
575
3.976744
0.348837
0.146199
0.157895
0.192982
0.374269
0.374269
0.374269
0.374269
0.374269
0.251462
0
0.037296
0.253913
575
20
68
28.75
0.759907
0.048696
0
0.125
0
0
0.00367
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.1875
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
46fc7544be723a94c1de46d9b5b6e3492062ac13
2,128
py
Python
python/test/cuda/test_dali_iterator.py
claymodel/nnabla-ext-cuda
cf5304884fe63675a704eaf6c94a4663ed7fc46b
[ "Apache-2.0" ]
null
null
null
python/test/cuda/test_dali_iterator.py
claymodel/nnabla-ext-cuda
cf5304884fe63675a704eaf6c94a4663ed7fc46b
[ "Apache-2.0" ]
1
2020-11-09T08:40:20.000Z
2020-11-09T08:40:20.000Z
python/test/cuda/test_dali_iterator.py
claymodel/nnabla-ext-cuda
cf5304884fe63675a704eaf6c94a4663ed7fc46b
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019 Sony Corporation. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
33.777778
84
0.667293
310
2,128
4.483871
0.467742
0.043165
0.018705
0.023022
0.017266
0
0
0
0
0
0
0.031618
0.242011
2,128
62
85
34.322581
0.83013
0.383929
0
0.114286
0
0
0.020882
0.016241
0
0
0
0.016129
0.228571
1
0.085714
false
0
0.142857
0
0.285714
0.028571
0
0
0
null
0
0
0
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
200305e9f68418fcc86cf2638a32d100322fcf83
3,179
py
Python
tests/test_tracy_widom.py
JohnnyDeuss/DPPy
cb4577f75ca998481ca6f248af10b19f986eca1c
[ "MIT" ]
176
2018-06-27T20:19:50.000Z
2022-03-31T16:20:32.000Z
tests/test_tracy_widom.py
Vincentius1990/DPPy
cb4577f75ca998481ca6f248af10b19f986eca1c
[ "MIT" ]
52
2018-06-28T23:03:32.000Z
2021-12-01T15:10:36.000Z
tests/test_tracy_widom.py
Vincentius1990/DPPy
cb4577f75ca998481ca6f248af10b19f986eca1c
[ "MIT" ]
46
2018-06-27T20:19:55.000Z
2022-02-28T14:29:48.000Z
# coding: utf8 import unittest import numpy as np import sys sys.path.append('..') from dppy.beta_ensemble_polynomial_potential_core import TracyWidom class TestTracyWidom(unittest.TestCase): """ Based on the work of Bornemann 2010 `https://arxiv.org/pdf/0804.2543.pdf <https://arxiv.org/pdf/0804.2543.pdf>`_ ...
32.111111
145
0.521548
404
3,179
3.841584
0.371287
0.025773
0.022552
0.027062
0.23067
0.201031
0.175258
0.119845
0.08634
0.08634
0
0.114413
0.364895
3,179
98
146
32.438776
0.654284
0.145014
0
0.101695
0
0
0.003772
0
0
0
0
0.010204
0.067797
1
0.101695
false
0
0.067797
0
0.220339
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
20045047877e44cf218e5d61c96063b4e7592b19
266
py
Python
wouso/games/quiz/urls.py
AlexandruGhergut/wouso
f26244ff58ae626808ae8c58ccc93d21f9f2666f
[ "Apache-2.0" ]
117
2015-01-02T18:07:33.000Z
2021-01-06T22:36:25.000Z
wouso/games/quiz/urls.py
AlexandruGhergut/wouso
f26244ff58ae626808ae8c58ccc93d21f9f2666f
[ "Apache-2.0" ]
229
2015-01-12T07:07:58.000Z
2019-10-12T08:27:01.000Z
wouso/games/quiz/urls.py
AlexandruGhergut/wouso
f26244ff58ae626808ae8c58ccc93d21f9f2666f
[ "Apache-2.0" ]
96
2015-01-07T05:26:09.000Z
2020-06-25T07:28:51.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('wouso.games.quiz.views', url(r'^$', 'index', name='quiz_index_view'), url(r'^cat/(?P<id>\d+)/$', 'category', name='quiz_category_view'), url(r'^(?P<id>\d+)/$', 'quiz', name='quiz_view'), )
33.25
70
0.616541
39
266
4.076923
0.564103
0.075472
0.100629
0
0
0
0
0
0
0
0
0
0.112782
266
7
71
38
0.673729
0
0
0
0
0
0.432331
0.082707
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
200697f25aece0e348efd54cd424dc42d6f71afc
527
py
Python
blender/arm/logicnode/math/LN_screen_to_world_space.py
Lykdraft/armory
da1cf33930ce9a8b1865d35c128fe4842bef2933
[ "Zlib" ]
null
null
null
blender/arm/logicnode/math/LN_screen_to_world_space.py
Lykdraft/armory
da1cf33930ce9a8b1865d35c128fe4842bef2933
[ "Zlib" ]
null
null
null
blender/arm/logicnode/math/LN_screen_to_world_space.py
Lykdraft/armory
da1cf33930ce9a8b1865d35c128fe4842bef2933
[ "Zlib" ]
null
null
null
from arm.logicnode.arm_nodes import * class ScreenToWorldSpaceNode(ArmLogicTreeNode): """Use to convert screen coordinates to world coordinates.""" bl_idname = 'LNScreenToWorldSpaceNode' bl_label = 'Screen To World Space' arm_version = 1 def init(self, context): super(ScreenToWorldSpaceNod...
35.133333
76
0.736243
57
527
6.649123
0.631579
0.036939
0
0
0
0
0
0
0
0
0
0.002262
0.16129
527
14
77
37.642857
0.855204
0.104364
0
0
0
0
0.201717
0.051502
0
0
0
0
0
1
0.1
false
0
0.1
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
2008ad82dd8e4c9a7dbb483ca4a1dc784fe925f0
1,936
py
Python
poc/tests/symbol_table_predicates/test_predicate.py
bookofproofs/fpl
527b43b0f8bb3d459ee906e5ed8524a676ce3a2c
[ "MIT" ]
4
2021-11-08T10:09:46.000Z
2021-11-13T22:25:46.000Z
poc/tests/symbol_table_predicates/test_predicate.py
bookofproofs/fpl
527b43b0f8bb3d459ee906e5ed8524a676ce3a2c
[ "MIT" ]
1
2020-09-04T13:02:09.000Z
2021-06-16T07:07:44.000Z
poc/tests/symbol_table_predicates/test_predicate.py
bookofproofs/fpl
527b43b0f8bb3d459ee906e5ed8524a676ce3a2c
[ "MIT" ]
1
2021-11-08T10:10:12.000Z
2021-11-08T10:10:12.000Z
import unittest from parameterized import parameterized from poc.util.fplutil import Utils from poc.fplinterpreter import FplInterpreter import os from poc.classes.AuxISourceAnalyser import AuxISourceAnalyser """ Tests of FPL predicate definitions and how they are represented in the symbol table """ class AuxPredica...
34.571429
92
0.681818
249
1,936
5.004016
0.35743
0.166934
0.192616
0.033708
0.085072
0.057785
0.057785
0
0
0
0
0.021696
0.21436
1,936
55
93
35.2
0.797502
0
0
0
0
0
0.20271
0.194038
0
0
0
0
0.021277
1
0.042553
false
0
0.12766
0
0.276596
0.021277
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
20096fdfa144b671329eaef22ce9e195cd23e378
1,110
py
Python
step3_train_model/pytorch/data_loader/data_loaders.py
weir12/DENA
0653826b4853264af75f7400e309e9e840f085c0
[ "MIT" ]
12
2021-08-21T07:45:46.000Z
2022-03-12T03:12:49.000Z
step3_train_model/pytorch/data_loader/data_loaders.py
q1134269149/DENA
c3cc7e897dd12143ddb06536e3d371f7fcaf3ded
[ "Apache-2.0" ]
7
2022-01-21T16:18:40.000Z
2022-03-31T06:43:28.000Z
step3_train_model/pytorch/data_loader/data_loaders.py
q1134269149/DENA
c3cc7e897dd12143ddb06536e3d371f7fcaf3ded
[ "Apache-2.0" ]
5
2021-08-25T05:07:21.000Z
2022-02-02T09:31:46.000Z
import data_set.data_set as datasets from base import BaseDataLoader class DENADataLoader(BaseDataLoader): """ DENA data loader hdf5_dir:folder(abs_path) contains total dataset (*.hdf5) file_list:list of all files in the hdf5_dir """ def __init__(self, hdf5_dir,file_list,dataset,batch_size=64, shuffle=True, valid...
50.454545
219
0.809009
165
1,110
5.133333
0.363636
0.049587
0.075561
0.035419
0.50059
0.377804
0.377804
0.377804
0.377804
0.377804
0
0.024319
0.073874
1,110
22
220
50.454545
0.799611
0.126126
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
200b10d70241bf298b013dd8a6e7bff790ac076b
7,850
py
Python
tools/test_synthesis_sym.py
aditya2592/PoseCNN
a763120ce0ceb55cf3432980287ef463728f8052
[ "MIT" ]
655
2018-03-21T19:55:45.000Z
2022-03-25T20:41:21.000Z
tools/test_synthesis_sym.py
SergioRAgostinho/PoseCNN
da9eaae850eed7521a2a48a4d27474d655caab42
[ "MIT" ]
122
2018-04-04T13:57:49.000Z
2022-03-18T09:28:44.000Z
tools/test_synthesis_sym.py
SergioRAgostinho/PoseCNN
da9eaae850eed7521a2a48a4d27474d655caab42
[ "MIT" ]
226
2018-03-22T01:40:04.000Z
2022-03-17T11:56:14.000Z
#!/usr/bin/env python # -------------------------------------------------------- # FCN # Copyright (c) 2016 RSE at UW # Licensed under The MIT License [see LICENSE for details] # Written by Yu Xiang # -------------------------------------------------------- """Test a FCN on an image database.""" import _init_paths i...
36.009174
128
0.553885
976
7,850
4.334016
0.266393
0.025532
0.048227
0.034043
0.229551
0.16643
0.159811
0.120804
0.068794
0.034515
0
0.037409
0.301911
7,850
217
129
36.175115
0.734489
0.060255
0
0.099379
0
0
0.118253
0.007005
0
0
0
0
0
0
null
null
0
0.062112
null
null
0.031056
0
0
0
null
0
0
0
0
0
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
201002d6b4387e636fcd94e85a1398b4b8b45746
984
py
Python
djsr/authentication/migrations/0005_auto_20210111_0341.py
Mikkow-acc/Generator-Spradzianow
85750c61652d7d6d6b6cf29343a1f2875bead1a0
[ "MIT" ]
null
null
null
djsr/authentication/migrations/0005_auto_20210111_0341.py
Mikkow-acc/Generator-Spradzianow
85750c61652d7d6d6b6cf29343a1f2875bead1a0
[ "MIT" ]
null
null
null
djsr/authentication/migrations/0005_auto_20210111_0341.py
Mikkow-acc/Generator-Spradzianow
85750c61652d7d6d6b6cf29343a1f2875bead1a0
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-11 03:41 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('authentication', '0004_auto_20210109_1950'), ] operations = [ migrations.A...
31.741935
145
0.602642
104
984
5.605769
0.567308
0.041166
0.128645
0.149228
0.12693
0.12693
0
0
0
0
0
0.05163
0.252033
984
30
146
32.8
0.740489
0.045732
0
0.333333
1
0
0.147279
0.024546
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
20138f3514cced0011d71a803306fbb1d2728024
1,546
py
Python
gym/gym/workout_app/migrations/0001_initial.py
rashkov7/gym-web-project
e4526099c91b0de5475562d76852e99f425f20fc
[ "MIT" ]
null
null
null
gym/gym/workout_app/migrations/0001_initial.py
rashkov7/gym-web-project
e4526099c91b0de5475562d76852e99f425f20fc
[ "MIT" ]
null
null
null
gym/gym/workout_app/migrations/0001_initial.py
rashkov7/gym-web-project
e4526099c91b0de5475562d76852e99f425f20fc
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-04-07 20:40 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Cr...
48.3125
207
0.633247
167
1,546
5.688623
0.479042
0.092632
0.050526
0.066316
0.172632
0.172632
0.086316
0.086316
0.086316
0
0
0.018107
0.214101
1,546
31
208
49.870968
0.763786
0.029107
0
0
1
0
0.162775
0.014009
0
0
0
0
0
1
0
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
201a728900e6f24068a353cccea88a7a4bbe9f3e
6,751
py
Python
valve/steam/client.py
Crowbar-Sledgehammer/python-valve
cb4428abed2da280c445b13da6ebcb3935e8defc
[ "MIT" ]
136
2017-09-21T13:12:05.000Z
2022-03-17T21:02:01.000Z
valve/steam/client.py
Crowbar-Sledgehammer/python-valve
cb4428abed2da280c445b13da6ebcb3935e8defc
[ "MIT" ]
47
2017-09-17T11:03:03.000Z
2022-02-26T15:26:51.000Z
valve/steam/client.py
Crowbar-Sledgehammer/python-valve
cb4428abed2da280c445b13da6ebcb3935e8defc
[ "MIT" ]
62
2017-10-01T20:13:03.000Z
2022-02-09T21:44:18.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2013 Oliver Ainsworth """ Provides an interface to the Steam client if present and running. Windows only. """ import itertools import _winreg as winreg import os AWAY = "away" BUSY = "busy" OFFLINE = "offline" ONLINE = "online" DOWNLOADS = "downloads" GAMES = "games"...
28.246862
77
0.6522
789
6,751
5.38403
0.325729
0.094868
0.042844
0.050847
0.204331
0.143832
0.085923
0.041902
0.024953
0.024953
0
0.004236
0.230633
6,751
238
78
28.365546
0.813631
0.176715
0
0.090909
0
0
0.151838
0.055147
0.006993
0
0
0.004202
0
1
0.300699
false
0.048951
0.020979
0.076923
0.412587
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
201aed94af580103c2c856282d6960d8b120d3cd
790
py
Python
netbox/extras/migrations/0037_configcontexts_clusters.py
aslafy-z/netbox
a5512dd4c46c005df8752fc330c1382ac22b31ea
[ "Apache-2.0" ]
2
2021-06-02T03:00:05.000Z
2021-07-30T18:52:32.000Z
netbox/extras/migrations/0037_configcontexts_clusters.py
emersonfelipesp/netbox
fecca5ad83fb6b48a2f15982dfd3242653f105f9
[ "Apache-2.0" ]
25
2019-09-17T19:40:50.000Z
2022-03-11T04:01:55.000Z
netbox/extras/migrations/0037_configcontexts_clusters.py
emersonfelipesp/netbox
fecca5ad83fb6b48a2f15982dfd3242653f105f9
[ "Apache-2.0" ]
1
2022-02-11T21:50:58.000Z
2022-02-11T21:50:58.000Z
# Generated by Django 2.2.8 on 2020-01-17 18:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('virtualization', '0013_deterministic_ordering'), ('extras', '0036_contenttype_filters_to_q_objects'), ] operations = [ migrations.Ad...
31.6
135
0.655696
75
790
6.653333
0.586667
0.136273
0.092184
0.108216
0.412826
0.412826
0.236473
0.236473
0
0
0
0.037829
0.23038
790
24
136
32.916667
0.782895
0.056962
0
0.333333
1
0
0.318977
0.227456
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
2021477ea5b04e931fb7fab537d6c23871a1af6d
7,366
py
Python
src/parse.py
JasonLearning/backupzh
33b4029a4321c4d7ee1afd5f94423630da53555c
[ "Apache-2.0" ]
null
null
null
src/parse.py
JasonLearning/backupzh
33b4029a4321c4d7ee1afd5f94423630da53555c
[ "Apache-2.0" ]
null
null
null
src/parse.py
JasonLearning/backupzh
33b4029a4321c4d7ee1afd5f94423630da53555c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/1/10 下午9:12 # @Author : Jason # @File : parse.py import re import os from src.config import * class Element: def __init__(self, start_pos, end_pos, content, tag, folder, is_block=False): self.start_pos = start_pos self.end_pos = e...
53.766423
2,198
0.588379
953
7,366
4.444911
0.231899
0.083097
0.040132
0.03966
0.457979
0.409821
0.377007
0.360482
0.345845
0.345845
0
0.054685
0.23785
7,366
136
2,199
54.161765
0.699858
0.040592
0
0.09009
0
0.018018
0.370659
0.164706
0
0
0
0
0
1
0.063063
false
0
0.027027
0.009009
0.144144
0.018018
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2039148608459e7c12fb511998a815ef4f57e4c0
242
py
Python
app.py
aspic2/NCAABB
b2a92e22f6c430fd8c02dae5657983c5a13250d1
[ "MIT" ]
1
2019-01-27T09:31:52.000Z
2019-01-27T09:31:52.000Z
app.py
aspic2/ncaabb
b2a92e22f6c430fd8c02dae5657983c5a13250d1
[ "MIT" ]
10
2018-03-07T18:22:16.000Z
2018-08-23T20:28:11.000Z
app.py
aspic2/ncaabb
b2a92e22f6c430fd8c02dae5657983c5a13250d1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- """ Run Flask App from here """ from ncaabb.app import app import os if __name__ == '__main__': port = int(os.environ.get("PORT", 5000)) app.run(host='0.0.0.0', port=port)
17.285714
45
0.582645
38
242
3.5
0.657895
0.045113
0.045113
0
0
0
0
0
0
0
0
0.047872
0.223141
242
13
46
18.615385
0.659574
0.272727
0
0
0
0
0.123377
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
204508001ffb2196eee11ad915ce656410804a9c
4,662
py
Python
test/annotate/test_annotate_api.py
groupdocs-annotation-cloud/groupdocs-annotation-cloud-python
a26453fed877210c60031252e164c053032d1449
[ "MIT" ]
null
null
null
test/annotate/test_annotate_api.py
groupdocs-annotation-cloud/groupdocs-annotation-cloud-python
a26453fed877210c60031252e164c053032d1449
[ "MIT" ]
null
null
null
test/annotate/test_annotate_api.py
groupdocs-annotation-cloud/groupdocs-annotation-cloud-python
a26453fed877210c60031252e164c053032d1449
[ "MIT" ]
null
null
null
# coding: utf-8 # ----------------------------------------------------------------------------------- # <copyright company="Aspose Pty Ltd"> # Copyright (c) 2003-2021 Aspose Pty Ltd # </copyright> # <summary> # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and ass...
40.894737
85
0.642214
548
4,662
5.270073
0.346715
0.055402
0.029086
0.038781
0.41205
0.402355
0.367036
0.34072
0.312327
0.312327
0
0.031063
0.247319
4,662
113
86
41.256637
0.791964
0.290433
0
0.422535
0
0
0.011287
0
0
0
0
0
0.056338
1
0.070423
false
0.056338
0.084507
0
0.183099
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
2047d0ed83d119bf702dd3b13b242f94c14967b6
9,070
py
Python
python/ccxtpro/zb.py
kakacaca/ccxt
4fdb7d450fb9c9e480b6f0a3e3866b784cf24ebf
[ "Unlicense" ]
1
2021-09-15T11:42:59.000Z
2021-09-15T11:42:59.000Z
python/ccxtpro/zb.py
bikidenny/ccxt
4fdb7d450fb9c9e480b6f0a3e3866b784cf24ebf
[ "Unlicense" ]
null
null
null
python/ccxtpro/zb.py
bikidenny/ccxt
4fdb7d450fb9c9e480b6f0a3e3866b784cf24ebf
[ "Unlicense" ]
1
2022-03-12T03:02:15.000Z
2022-03-12T03:02:15.000Z
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxtpro.base.exchange import Exchange import ccxt.async_support as ccxt from ccxtpro.base.cache import ArrayCache from ccxt.base.error...
38.432203
127
0.488754
833
9,070
5.246098
0.282113
0.032952
0.023799
0.028833
0.397025
0.378719
0.328604
0.328604
0.282838
0.261785
0
0.098446
0.382911
9,070
235
128
38.595745
0.68233
0.307387
0
0.276423
1
0
0.08123
0.004531
0
0
0
0
0
1
0.04065
false
0
0.03252
0.00813
0.146341
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
2047ec3a0750dac5297f8aaf146f7ea2dd032c99
2,014
py
Python
pgdumplib/constants.py
davidfetter/pgdumplib
56ffeb24b4e0f2e7cce7ce71a0afa118260cc231
[ "BSD-3-Clause" ]
null
null
null
pgdumplib/constants.py
davidfetter/pgdumplib
56ffeb24b4e0f2e7cce7ce71a0afa118260cc231
[ "BSD-3-Clause" ]
null
null
null
pgdumplib/constants.py
davidfetter/pgdumplib
56ffeb24b4e0f2e7cce7ce71a0afa118260cc231
[ "BSD-3-Clause" ]
null
null
null
""" Constants used in the reading and writing of a :command:`pg_dump` file. There are additional undocumented constants, but they should not be of concern unless you are hacking on the library itself. """ import typing APPEAR_AS: str = '11.3' """Version of PostgreSQL to appear as""" BLK_DATA: bytes = b'\x01' BLK_BLO...
23.418605
78
0.690169
333
2,014
4.021021
0.339339
0.017924
0.035848
0.050784
0.292756
0.256908
0.256908
0.236744
0.144137
0.144137
0
0.024894
0.182224
2,014
85
79
23.694118
0.7881
0.097319
0
0
0
0
0.099582
0
0
0
0
0
0
1
0
true
0
0.020833
0
0.020833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
204ed26bf67554da5b05aee1ec01c31bf9287b29
4,211
py
Python
ion_functions/data/obs_functions.py
steinermg/ion-functions
cea532ad9af51e86768572c8deb48547d99567c5
[ "Apache-2.0" ]
10
2015-04-03T15:32:21.000Z
2018-11-21T11:57:26.000Z
ion_functions/data/obs_functions.py
steinermg/ion-functions
cea532ad9af51e86768572c8deb48547d99567c5
[ "Apache-2.0" ]
8
2015-01-07T15:19:22.000Z
2015-12-08T18:14:04.000Z
ion_functions/data/obs_functions.py
steinermg/ion-functions
cea532ad9af51e86768572c8deb48547d99567c5
[ "Apache-2.0" ]
17
2015-01-14T16:23:00.000Z
2021-07-19T08:26:52.000Z
#!/usr/bin/env python """ @package ion_functions.data.obs_functions @file ion_functions/data/obs_functions.py @author Christopher Wingard @brief Module containing Ocean Bottom Seismometer instrument related functions """ import numexpr as ne def obs_bb_ground_velocity(raw, gain=3.2, sensitivity=1500.): """ De...
32.643411
81
0.663738
524
4,211
5.251908
0.240458
0.045785
0.015988
0.029433
0.781977
0.716933
0.666788
0.65407
0.65407
0.55814
0
0.049921
0.253147
4,211
128
82
32.898438
0.825119
0.783424
0
0.375
0
0
0.094192
0
0
0
0
0
0
1
0.1875
false
0
0.0625
0
0.4375
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2051bdb99c1dbfe32a458946ea4cd02ac8b6b7c0
1,863
py
Python
tests/endpoints/test_connections_connect.py
s0b0lev/raiden-client-python
4eecdda10650f081e4449449949067af6356d542
[ "MIT" ]
3
2019-08-01T12:47:16.000Z
2020-07-05T15:28:53.000Z
tests/endpoints/test_connections_connect.py
s0b0lev/raiden-client-python
4eecdda10650f081e4449449949067af6356d542
[ "MIT" ]
17
2019-08-01T07:51:58.000Z
2020-05-29T09:48:37.000Z
tests/endpoints/test_connections_connect.py
s0b0lev/raiden-client-python
4eecdda10650f081e4449449949067af6356d542
[ "MIT" ]
null
null
null
from raiden_client.endpoints.connections_connect import Connect def test_connection_connect_simple_request() -> None: connection = Connect(token_address="0x145737846791E749f96344135Ce211BE8C510a17", funds=100) assert connection.endpoint == f"/connections/{connection.token_address}" assert connection.metho...
38.8125
103
0.73913
198
1,863
6.732323
0.207071
0.08102
0.128282
0.112528
0.712678
0.693173
0.693173
0.693173
0.568642
0.387097
0
0.096671
0.161567
1,863
47
104
39.638298
0.756722
0
0
0.358974
0
0
0.283951
0.222222
0
0
0.090177
0
0.461538
1
0.102564
false
0
0.025641
0
0.128205
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
2051c8bfb861e577353ca556d8a1f2373caa3001
254
py
Python
fishCImport.py
AlishaMomin/Random-Walk-Probability-and-Statistic-
e9f71dacc1698a5d16a38d964c1ab717f1b50da1
[ "MIT" ]
null
null
null
fishCImport.py
AlishaMomin/Random-Walk-Probability-and-Statistic-
e9f71dacc1698a5d16a38d964c1ab717f1b50da1
[ "MIT" ]
null
null
null
fishCImport.py
AlishaMomin/Random-Walk-Probability-and-Statistic-
e9f71dacc1698a5d16a38d964c1ab717f1b50da1
[ "MIT" ]
null
null
null
import marshal try: s = open('fishC.pyc', 'rb') s.seek(16) # go past first 16 bytes code_obj = marshal.load(s) exec(code_obj) print("Import Succeeded") except: raise Exception("Function import error. Reach out to TA")
23.090909
62
0.625984
37
254
4.243243
0.783784
0.089172
0
0
0
0
0
0
0
0
0
0.021164
0.255906
254
10
63
25.4
0.809524
0.086614
0
0
0
0
0.295455
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
205306a0f79acea8c74ace2c0ad10264bd661f86
3,331
py
Python
moneydashboard/moneydashboard.py
chowder/moneydashboard
4c51d127cd816c0594baf96e83ec8cdcdc276dd9
[ "MIT" ]
null
null
null
moneydashboard/moneydashboard.py
chowder/moneydashboard
4c51d127cd816c0594baf96e83ec8cdcdc276dd9
[ "MIT" ]
null
null
null
moneydashboard/moneydashboard.py
chowder/moneydashboard
4c51d127cd816c0594baf96e83ec8cdcdc276dd9
[ "MIT" ]
null
null
null
import logging import requests from bs4 import BeautifulSoup logger = logging.getLogger(__name__) class MoneyDashboardException(Exception): pass class LoginFailedException(MoneyDashboardException): pass class MoneyDashboard(): def __init__(self, email, password, session=None): self.__session...
33.31
110
0.623837
342
3,331
5.865497
0.292398
0.043868
0.045862
0.055833
0.384845
0.255234
0.221336
0.221336
0.221336
0.221336
0
0.002458
0.267187
3,331
99
111
33.646465
0.819336
0.020414
0
0.333333
0
0
0.17234
0.023919
0
0
0
0
0
1
0.089744
false
0.064103
0.038462
0.012821
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
0
0
0
0
0
1
0
0
0
0
0
1
64476c5305b9119274250bf9d1c4cac3b9c7beec
224
py
Python
atcommands.py
dwmclean1/Aircard-Status
7178864549c6bf44622858497dc94950cc739b1d
[ "MIT" ]
null
null
null
atcommands.py
dwmclean1/Aircard-Status
7178864549c6bf44622858497dc94950cc739b1d
[ "MIT" ]
null
null
null
atcommands.py
dwmclean1/Aircard-Status
7178864549c6bf44622858497dc94950cc739b1d
[ "MIT" ]
null
null
null
# AT Commands MAKE = 'at+cgmi' MODEL = 'at+cgmm' STATUS = 'at!gstatus?' BANDMASK = 'at!gband?' SIGNALQ = 'at+csq' PWRMODE = { 'reboot': 'at!reset', 'lowpower': 'at+cfun=4', 'fullpower': 'at+cfun=1'}
20.363636
37
0.553571
29
224
4.275862
0.689655
0.096774
0
0
0
0
0
0
0
0
0
0.011628
0.232143
224
10
38
22.4
0.709302
0.049107
0
0
0
0
0.42381
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
644abb04e7b62264aef145ceec993ae1109e6413
6,635
py
Python
run.py
Bernard2030/passward-locker
4d654076197d58a78a9c782097c88b79c72a9653
[ "Unlicense" ]
null
null
null
run.py
Bernard2030/passward-locker
4d654076197d58a78a9c782097c88b79c72a9653
[ "Unlicense" ]
null
null
null
run.py
Bernard2030/passward-locker
4d654076197d58a78a9c782097c88b79c72a9653
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3.9 from unittest.main import main from passward import User from credentials import Credential def create_new_user(user_name, password): ''' create a new user with a username email and password ''' new_user = User(user_name, password) return new_user def save_user(user): ...
36.456044
216
0.586737
749
6,635
5.06275
0.202937
0.037975
0.033755
0.021097
0.235232
0.17827
0.134494
0.134494
0.134494
0.134494
0
0.006086
0.306556
6,635
182
217
36.456044
0.818083
0.089977
0
0.296875
0
0.015625
0.294288
0.02711
0
0
0
0
0
1
0.09375
false
0.3125
0.023438
0
0.179688
0.375
0
0
0
null
0
0
0
0
0
0
0
0
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
6454578fc4fa45fba801618e7576ed1e2d82b7af
2,680
py
Python
submitTurn.py
shawnwun/woz
e9147620137c7958ee7583f0bcb5000bf5871aef
[ "Apache-2.0" ]
13
2018-01-10T11:45:47.000Z
2020-02-13T11:44:26.000Z
submitTurn.py
shawnwun/woz
e9147620137c7958ee7583f0bcb5000bf5871aef
[ "Apache-2.0" ]
1
2018-11-06T03:08:18.000Z
2020-01-10T06:23:08.000Z
submitTurn.py
shawnwun/woz
e9147620137c7958ee7583f0bcb5000bf5871aef
[ "Apache-2.0" ]
5
2018-01-10T02:34:24.000Z
2019-07-31T08:26:08.000Z
###################################################################### ###################################################################### # Copyright Tsung-Hsien Wen, Cambridge Dialogue Systems Group, 2017 # ###################################################################### ####################################...
28.210526
84
0.565299
319
2,680
4.714734
0.445141
0.055851
0.030585
0.027926
0
0
0
0
0
0
0
0.010403
0.175
2,680
94
85
28.510638
0.669833
0.218657
0
0.072727
0
0
0.153717
0
0
0
0
0
0
0
null
null
0
0.163636
null
null
0.018182
0
0
0
null
0
0
0
0
0
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
6455e30ba6e9643fd37281296a7603121590b156
4,212
py
Python
server/papika/models.py
edbutler/papika-telemetry
c3a8ef25f50432f8bb84e7c0fe834a3f1f11f753
[ "MIT" ]
2
2016-07-21T06:35:36.000Z
2016-09-22T21:38:13.000Z
server/papika/models.py
edbutler/papika-telemetry
c3a8ef25f50432f8bb84e7c0fe834a3f1f11f753
[ "MIT" ]
null
null
null
server/papika/models.py
edbutler/papika-telemetry
c3a8ef25f50432f8bb84e7c0fe834a3f1f11f753
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy from sqlalchemy.dialects.postgresql import UUID db = SQLAlchemy() class Session(db.Model): id = db.Column(UUID, primary_key=True) # user id, specified by client, used to match up sessions with the same user user_id = db.Column(UUID, nullable=False) # the applic...
50.746988
100
0.729345
635
4,212
4.765354
0.259843
0.071381
0.052875
0.032386
0.515863
0.47885
0.433576
0.376404
0.356576
0.344019
0
0.002308
0.177113
4,212
82
101
51.365854
0.870744
0.445869
0
0.243902
0
0
0.039548
0
0
0
0
0
0
1
0
false
0
0.04878
0
0.97561
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
6458141d63c9ebdf2199f8fa01d23b3b7a2b65e2
3,921
py
Python
api/tests/test_serializers.py
levy5434/MessageAPI
e0c632bf6681a97e255ad6f9e4c6deda9dc577ac
[ "MIT" ]
null
null
null
api/tests/test_serializers.py
levy5434/MessageAPI
e0c632bf6681a97e255ad6f9e4c6deda9dc577ac
[ "MIT" ]
null
null
null
api/tests/test_serializers.py
levy5434/MessageAPI
e0c632bf6681a97e255ad6f9e4c6deda9dc577ac
[ "MIT" ]
null
null
null
import pytest from api.serializers import EmailSerializer, MessageSerializer class TestEmailSerializers: """Tests EmailSerializer.""" email_serializer = EmailSerializer def test_valid_serializer(self): """Tests initial views counter.""" serializer = self.email_serializer(data=...
41.712766
199
0.627136
422
3,921
5.687204
0.2109
0.153333
0.06375
0.08625
0.620417
0.588333
0.507917
0.41125
0.33
0.33
0
0.003438
0.258097
3,921
93
200
42.16129
0.821588
0.10176
0
0.373134
0
0.014925
0.178529
0
0
0
0
0
0.462687
1
0.134328
false
0
0.029851
0
0.223881
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
645e9e0df121234c83b3a2e81ad10e21b9ead535
1,325
py
Python
python/Utils/FileUtils.py
toilatester/sample-automation-frameworks-across-languages
4c1ceb3f8fff14ed838f94c92be7d92013c95d4a
[ "Apache-2.0" ]
8
2020-12-11T06:57:12.000Z
2021-10-11T12:53:49.000Z
python/Utils/FileUtils.py
toilatester/sample-automation-frameworks-across-languages
4c1ceb3f8fff14ed838f94c92be7d92013c95d4a
[ "Apache-2.0" ]
null
null
null
python/Utils/FileUtils.py
toilatester/sample-automation-frameworks-across-languages
4c1ceb3f8fff14ed838f94c92be7d92013c95d4a
[ "Apache-2.0" ]
2
2021-04-06T08:14:35.000Z
2021-08-05T01:43:54.000Z
from os import path class FileUtils(object): def __init__(self): pass def create_file(self, name: str, ext: str, content): filename = "{}.{}".format(name, ext) file = open(filename, "w+") file.write(content) file.close() @staticmethod def get_root_directory():...
28.804348
104
0.605283
152
1,325
5
0.381579
0.092105
0.034211
0.044737
0.147368
0.147368
0.078947
0
0
0
0
0.002096
0.28
1,325
45
105
29.444444
0.794549
0
0
0.305556
0
0
0.056604
0
0
0
0
0
0
1
0.194444
false
0.083333
0.027778
0.027778
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
646e7669828a25334257980243ccb5c59c26d490
8,621
py
Python
PyDynamicStructures/dynamic_structure.py
cpchrispye/PyDynamicStructures
4b90887e77b40e0823c04108ead72fea567c3f17
[ "MIT" ]
null
null
null
PyDynamicStructures/dynamic_structure.py
cpchrispye/PyDynamicStructures
4b90887e77b40e0823c04108ead72fea567c3f17
[ "MIT" ]
null
null
null
PyDynamicStructures/dynamic_structure.py
cpchrispye/PyDynamicStructures
4b90887e77b40e0823c04108ead72fea567c3f17
[ "MIT" ]
null
null
null
from PyDynamicStructures.descriptors import DynamicDescriptor, ClassDesc, ListDesc from collections import Sequence, OrderedDict, Iterable import weakref __all__ = ['Structure', 'StructureList', 'Selector', 'StructureBit', 'sizeof', 'get_variable'] def sizeof(struct): return struct.size() def get_variable(root, ...
27.025078
94
0.559912
1,007
8,621
4.609732
0.151936
0.038776
0.039207
0.034683
0.366652
0.292115
0.239552
0.199483
0.199483
0.177941
0
0.003142
0.33546
8,621
318
95
27.110063
0.807122
0
0
0.4
0
0
0.04899
0
0
0
0
0
0
1
0.212245
false
0
0.012245
0.077551
0.416327
0.004082
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
64705e3efe5902a506bbd344555900b368528130
605
py
Python
spirit/comment/poll/migrations/0002_auto_20190304_2115.py
Ke-xueting/Spirit
346d9a0db125ee8995ba5d0ab0fd8b43aa8c5dc7
[ "MIT" ]
974
2015-01-02T12:56:00.000Z
2022-03-24T00:01:54.000Z
spirit/comment/poll/migrations/0002_auto_20190304_2115.py
Ke-xueting/Spirit
346d9a0db125ee8995ba5d0ab0fd8b43aa8c5dc7
[ "MIT" ]
247
2015-01-07T02:59:26.000Z
2022-02-23T08:27:57.000Z
spirit/comment/poll/migrations/0002_auto_20190304_2115.py
BinaryTree0/fer3
85c3bbf2f328e69ad4d7c01b6e2c8d4ef1d9e0a3
[ "MIT" ]
366
2015-01-08T10:22:25.000Z
2022-02-21T12:58:31.000Z
# Generated by Django 2.1.7 on 2019-03-04 21:15 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('spirit_comment_poll', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='commentpoll', options={'verbose_...
27.5
115
0.616529
58
605
6.275862
0.655172
0.120879
0.17033
0
0
0
0
0
0
0
0
0.042035
0.252893
605
21
116
28.809524
0.763274
0.07438
0
0.266667
1
0
0.329749
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
647a49e16d2dff2a148f189b439351142f3be928
318
py
Python
platform/core/polyaxon/libs/repos/git/internal.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/polyaxon/libs/repos/git/internal.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/polyaxon/libs/repos/git/internal.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
import logging _logger = logging.getLogger('polyaxon.repos.git') def set_git_repo(repo: 'Repo') -> str: from libs.repos.git import ensure_repo_paths, get_git_repo # Ensure paths ensure_repo_paths(repo=repo) # Create a new repo get_git_repo(repo_path=repo.path, init=True) return repo.path
21.2
62
0.72327
49
318
4.44898
0.469388
0.146789
0.100917
0
0
0
0
0
0
0
0
0
0.179245
318
14
63
22.714286
0.835249
0.09434
0
0
0
0
0.077193
0
0
0
0
0
0
1
0.142857
false
0
0.285714
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
647af817f20404efa918cec75f8b9774f125d2a0
1,798
py
Python
app/views/api_utils.py
QualiChain/course_recommendation
998e4e4f93eea8a96b13dd4f4d5b957fb45eab3c
[ "MIT" ]
null
null
null
app/views/api_utils.py
QualiChain/course_recommendation
998e4e4f93eea8a96b13dd4f4d5b957fb45eab3c
[ "MIT" ]
null
null
null
app/views/api_utils.py
QualiChain/course_recommendation
998e4e4f93eea8a96b13dd4f4d5b957fb45eab3c
[ "MIT" ]
null
null
null
from services.recommendation import Recommendation import logging import sys logging.basicConfig(stream=sys.stdout, level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s") log = logging.getLogger(__name__) def start_recommendation(elk_rec=False, **kwargs): """This f...
37.458333
82
0.619577
187
1,798
5.770053
0.385027
0.166821
0.101946
0.096386
0.285449
0.237257
0.237257
0.237257
0.237257
0.237257
0
0.004651
0.282536
1,798
47
83
38.255319
0.831783
0.032814
0
0.348837
0
0
0.15176
0
0
0
0
0
0
1
0.023256
false
0.162791
0.069767
0
0.139535
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
64878b4924a432e12e9a5e3e8bf18d5525da0f18
1,465
py
Python
authlib/base_user.py
raratiru/django-authlib
cb0b7b2d61cc4938e0cc6e31492e90cdaf0995e4
[ "MIT" ]
35
2017-05-17T14:47:37.000Z
2022-01-20T10:58:43.000Z
authlib/base_user.py
raratiru/django-authlib
cb0b7b2d61cc4938e0cc6e31492e90cdaf0995e4
[ "MIT" ]
7
2017-01-13T15:41:49.000Z
2021-12-16T14:54:47.000Z
authlib/base_user.py
raratiru/django-authlib
cb0b7b2d61cc4938e0cc6e31492e90cdaf0995e4
[ "MIT" ]
9
2017-12-26T19:50:43.000Z
2021-12-15T18:33:58.000Z
from django.contrib.auth import models as auth_models from django.db import models from django.utils import timezone from django.utils.translation import gettext_lazy as _ class BaseUserManager(auth_models.BaseUserManager): def create_user(self, email, password=None): if not email: raise Value...
29.897959
78
0.683959
178
1,465
5.410112
0.382022
0.046729
0.043614
0.05919
0.140187
0.11215
0.060228
0
0
0
0
0.002622
0.219113
1,465
48
79
30.520833
0.839161
0
0
0.189189
0
0
0.044369
0
0
0
0
0
0
1
0.135135
false
0.108108
0.108108
0.081081
0.675676
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
6489f81235a45725c91e069dbe35b25791d58078
1,262
py
Python
t/kbr/memcache_test.py
brugger/kbr-tools
95c8f8274e28b986e7fd91c8404026433488c940
[ "MIT" ]
1
2021-02-02T09:47:40.000Z
2021-02-02T09:47:40.000Z
t/kbr/memcache_test.py
brugger/kbr-tools
95c8f8274e28b986e7fd91c8404026433488c940
[ "MIT" ]
1
2021-08-04T13:00:00.000Z
2021-08-04T13:00:00.000Z
t/kbr/memcache_test.py
brugger/kbr-tools
95c8f8274e28b986e7fd91c8404026433488c940
[ "MIT" ]
null
null
null
import unittest import time import kbr.memcache_utils as cache instance = 'localhost' port = 11211 namespace = '' def _connect(): cache.disconnect() cache.connect( instance, port, namespace=namespace ) def test_connect(): _connect() cache.disconnect() def test_set(): _connect() cache....
18.835821
56
0.618859
178
1,262
4.235955
0.213483
0.079576
0.159151
0.190981
0.570292
0.541114
0.419098
0.355438
0.355438
0.355438
0
0.053698
0.217908
1,262
66
57
19.121212
0.710233
0
0
0.509804
0
0
0.070523
0
0
0
0
0
0.137255
1
0.196078
false
0
0.058824
0
0.254902
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
6490241e885d472d3657ea798e2c87e239e8eafd
1,364
py
Python
Configuration/StandardSequences/python/RawToDigi_Repacked_cff.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Configuration/StandardSequences/python/RawToDigi_Repacked_cff.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Configuration/StandardSequences/python/RawToDigi_Repacked_cff.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.RawToDigi_cff import * scalersRawToDigi.scalersInputTag = 'rawDataRepacker' csctfDigis.producer = 'rawDataRepacker' dttfDigis.DTTF_FED_Source = 'rawDataRepacker' gctDigis.inputLabel = 'rawDataRepacker' gtDigis.DaqGtInputTag = 'rawDataRepack...
47.034483
206
0.856305
112
1,364
10.383929
0.428571
0.150473
0.036114
0.051591
0.239037
0.239037
0.239037
0.239037
0.239037
0.239037
0
0
0.059384
1,364
28
207
48.714286
0.906469
0.032991
0
0
0
0
0.186646
0.015933
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0
0
0
1
null
0
0
0
0
0
0
0
0
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
649196fa584874df8540ebfab3fc9a5dd2eb2290
934
py
Python
example/entrypoint.py
ckoerber/lsqfit-gui
65ce3fd8abd23dcf31124c2c981229b02e3984ea
[ "MIT" ]
2
2021-11-05T09:55:48.000Z
2021-11-05T09:55:56.000Z
example/entrypoint.py
ckoerber/lsqfit-gui
65ce3fd8abd23dcf31124c2c981229b02e3984ea
[ "MIT" ]
5
2021-11-05T10:42:54.000Z
2021-11-19T08:59:03.000Z
example/entrypoint.py
ckoerber/lsqfit-gui
65ce3fd8abd23dcf31124c2c981229b02e3984ea
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # coding: utf-8 """Entrypoint for GUI.""" from fit import generate_fit, A0 from dash import html from lsqfitgui import run_server def get_additional_content(fit): """Generate aditional dash html elements based on a fit object.""" return html.Div( [ html.H2("Compari...
23.35
80
0.583512
117
934
4.42735
0.564103
0.07529
0.11583
0
0
0
0
0
0
0
0
0.014881
0.280514
934
39
81
23.948718
0.755952
0.153105
0
0
1
0
0.152455
0
0
0
0
0
0
1
0.076923
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
64a68f30f5e743c99e7fadae377694f7fbc1ffb4
2,101
py
Python
writeToVideo.py
bckramer/PocketAces
56e304e724a0f7427533d1bc910dbd2cd3953ac0
[ "MIT" ]
null
null
null
writeToVideo.py
bckramer/PocketAces
56e304e724a0f7427533d1bc910dbd2cd3953ac0
[ "MIT" ]
null
null
null
writeToVideo.py
bckramer/PocketAces
56e304e724a0f7427533d1bc910dbd2cd3953ac0
[ "MIT" ]
3
2018-06-26T14:50:45.000Z
2021-03-25T20:26:37.000Z
import numpy as np import cv2 from PIL import ImageGrab from ScreenRead import * from Utils import * # VERY IMPORTANT: Without it, the entire screen will not be captured from ctypes import windll user32 = windll.user32 user32.SetProcessDPIAware() fourcc = cv2.VideoWriter_fourcc(*'XVID') out = cv2.VideoWriter('output....
38.907407
166
0.628272
301
2,101
4.352159
0.388704
0.053435
0.080153
0.048092
0.145802
0.145802
0.145802
0.145802
0.145802
0.115267
0
0.105012
0.202285
2,101
54
167
38.907407
0.676611
0.170395
0
0
0
0
0.044355
0
0
0
0.002304
0.018519
0
1
0
false
0
0.162162
0
0.162162
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
64a8fc678fa688de76aaee6e1c3aac21d6987c51
2,516
py
Python
python/pdf-to-txt/PDF2TXT2.py
kingwatam/misc
a454dd0ae0a59e2343355ce7d771af21006613ef
[ "MIT" ]
null
null
null
python/pdf-to-txt/PDF2TXT2.py
kingwatam/misc
a454dd0ae0a59e2343355ce7d771af21006613ef
[ "MIT" ]
null
null
null
python/pdf-to-txt/PDF2TXT2.py
kingwatam/misc
a454dd0ae0a59e2343355ce7d771af21006613ef
[ "MIT" ]
null
null
null
import sys from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.pdfpage import PDFPage from pdfminer.converter import TextConverter from pdfminer.layout import LAParams import io import os def pdfparser(data): fp = open(data, 'rb') rsrcmgr = PDFResourceManager() ...
36.463768
95
0.638712
286
2,516
5.608392
0.416084
0.022444
0.041147
0.067332
0.208229
0.208229
0.208229
0.162095
0.074813
0.074813
0
0.002672
0.256359
2,516
68
96
37
0.854623
0.113275
0
0
0
0
0.074526
0.03523
0
0
0
0
0
1
0.052632
false
0.078947
0.184211
0
0.263158
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
64aadc1da97ca244e36ab5d7b11dfc54182677b4
1,209
py
Python
code/test.py
xijunlee/SPC-POSM
d5b831445437f93d00cb5fe7eb7ac462512feb13
[ "MIT" ]
null
null
null
code/test.py
xijunlee/SPC-POSM
d5b831445437f93d00cb5fe7eb7ac462512feb13
[ "MIT" ]
null
null
null
code/test.py
xijunlee/SPC-POSM
d5b831445437f93d00cb5fe7eb7ac462512feb13
[ "MIT" ]
null
null
null
import numpy as np from sklearn.cluster import KMeans raw_data = [] fitness = [0,0,0,0,0,0] Population = [[1, 2], [1, 4], [1, 0], [4, 2], [4, 4], [4, 0]] for i in range(len(Population)): raw_data.append(Population[i]) raw_data = np.array(raw_data) num_cluster = int(2) kmeans = KMeans(n_clusters=num_cluster, random...
28.785714
69
0.655914
198
1,209
3.777778
0.232323
0.093583
0.121658
0.016043
0.165775
0.139037
0.074866
0
0
0
0
0.03072
0.219189
1,209
42
70
28.785714
0.761653
0
0
0.222222
0
0
0
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
64b20b45cb6cc73d2e4b9641064f539985e9d426
431
py
Python
estudos_paralelos/def.py
montalvas/python
483c2097f6f91bfae127dafcb63e3006eeecad1d
[ "MIT" ]
null
null
null
estudos_paralelos/def.py
montalvas/python
483c2097f6f91bfae127dafcb63e3006eeecad1d
[ "MIT" ]
null
null
null
estudos_paralelos/def.py
montalvas/python
483c2097f6f91bfae127dafcb63e3006eeecad1d
[ "MIT" ]
null
null
null
def mensagem(texto): print('-' * 30) print('{:^30}'.format(texto)) print('-' * 30) mensagem('CURSO EM VIDEO') def mostrar_nome(nome): print(f'Meu nome é {nome}') mostrar_nome('Lucas') def contador(*num): print(num) contador(1, 2, 4, 7, 9) def dobra(lista): pos = 0 while pos < len...
12.676471
33
0.556845
64
431
3.71875
0.484375
0.088235
0.10084
0
0
0
0
0
0
0
0
0.062305
0.25522
431
33
34
13.060606
0.679128
0
0
0.105263
0
0
0.102088
0
0
0
0
0
0
1
0.210526
false
0
0
0
0.210526
0.315789
0
0
0
null
0
0
0
0
0
0
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
64bbedecbc7bc23c4d8e6ae0eaa16677f686d5b2
179
py
Python
Chapter 8/openimage.py
PacktPublishing/Raspberry-Pi-Cookbook-for-Python-Programmers-SecondEdition
6df896e590e3b95b72d51f779ce732f0191f64ca
[ "MIT" ]
11
2016-11-18T15:06:16.000Z
2021-07-24T19:19:58.000Z
Chapter 8/openimage.py
PacktPublishing/Raspberry-Pi-Cookbook-for-Python-Programmers-SecondEdition
6df896e590e3b95b72d51f779ce732f0191f64ca
[ "MIT" ]
null
null
null
Chapter 8/openimage.py
PacktPublishing/Raspberry-Pi-Cookbook-for-Python-Programmers-SecondEdition
6df896e590e3b95b72d51f779ce732f0191f64ca
[ "MIT" ]
12
2017-01-28T18:31:35.000Z
2021-10-02T16:58:19.000Z
#!/usr/bin/python3 #openimage.py import cv2 # Load a color image in grayscale img = cv2.imread('testimage.jpg',0) cv2.imshow('image',img) cv2.waitKey(0) cv2.destroyAllWindows()
16.272727
35
0.73743
28
179
4.714286
0.75
0.090909
0
0
0
0
0
0
0
0
0
0.05
0.106145
179
10
36
17.9
0.775
0.340782
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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