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
13df15048eacc1016bef69b88d083a155dfca25f
584
py
Python
stock_trading/admin.py
SaurabhPanja/herodha
bb78877cd7d29b80f446245b1b5feb6e16984489
[ "MIT" ]
3
2019-10-20T07:35:22.000Z
2021-07-18T13:39:02.000Z
stock_trading/admin.py
SaurabhPanja/herodha
bb78877cd7d29b80f446245b1b5feb6e16984489
[ "MIT" ]
7
2020-06-05T23:51:41.000Z
2022-02-10T09:18:21.000Z
stock_trading/admin.py
SaurabhPanja/herodha
bb78877cd7d29b80f446245b1b5feb6e16984489
[ "MIT" ]
3
2019-10-15T06:12:58.000Z
2019-11-04T12:07:24.000Z
from django.contrib import admin from .models import User, SellTransaction, BuyTransaction, Bookmark admin.site.register(SellTransaction) admin.site.register(BuyTransaction) admin.site.register(Bookmark) # Register your models here. from django.contrib.auth import get_user_model from django.contrib.auth.admin import U...
26.545455
67
0.799658
66
584
7.015152
0.439394
0.077754
0.146868
0.090713
0
0
0
0
0
0
0
0
0.121575
584
21
68
27.809524
0.902534
0.092466
0
0
0
0
0.024715
0
0
0
0
0
0
1
0
false
0
0.384615
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
1
0
1
0
0
2
13e810afa620c13d68c61f1e12f1a66b3a2213aa
546
py
Python
scipy/signal/__init__.py
GaelVaroquaux/scipy
aa80ab6a6d62a3923253bb6b296f41afa3d31845
[ "BSD-3-Clause" ]
null
null
null
scipy/signal/__init__.py
GaelVaroquaux/scipy
aa80ab6a6d62a3923253bb6b296f41afa3d31845
[ "BSD-3-Clause" ]
null
null
null
scipy/signal/__init__.py
GaelVaroquaux/scipy
aa80ab6a6d62a3923253bb6b296f41afa3d31845
[ "BSD-3-Clause" ]
null
null
null
# # signal - Signal Processing Tools # from info import __doc__ import sigtools from waveforms import * # The spline module (a C extension) provides: # cspline2d, qspline2d, sepfir2d, symiirord1, symiirord2 from spline import * from bsplines import * from filter_design import * from fir_filter_design import * f...
21
60
0.760073
71
546
5.676056
0.56338
0.198511
0.08933
0.109181
0
0
0
0
0
0
0
0.010989
0.166667
546
25
61
21.84
0.874725
0.247253
0
0
0
0
0.002469
0
0
0
0
0
0
1
0
false
0
0.866667
0
0.866667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
13e81901f67f7570368bde8b92fefb6c9a70c301
1,500
py
Python
sympy/physics/quantum/constants.py
shipci/sympy
4b59927bed992b980c9b3faac01becb36feef26b
[ "BSD-3-Clause" ]
319
2016-09-22T15:54:48.000Z
2022-03-18T02:36:58.000Z
sympy/physics/quantum/constants.py
shipci/sympy
4b59927bed992b980c9b3faac01becb36feef26b
[ "BSD-3-Clause" ]
9
2016-11-03T21:56:41.000Z
2020-08-09T19:27:37.000Z
sympy/physics/quantum/constants.py
shipci/sympy
4b59927bed992b980c9b3faac01becb36feef26b
[ "BSD-3-Clause" ]
27
2016-10-06T16:05:32.000Z
2022-03-18T02:37:00.000Z
"""Constants (like hbar) related to quantum mechanics.""" from __future__ import print_function, division from sympy.core.numbers import NumberSymbol from sympy.core.singleton import Singleton from sympy.core.compatibility import u, with_metaclass from sympy.printing.pretty.stringpict import prettyForm import sympy.m...
24.193548
78
0.59
161
1,500
5.304348
0.52795
0.052693
0.070258
0.07377
0.065574
0.065574
0
0
0
0
0
0.027592
0.202667
1,500
61
79
24.590164
0.686455
0.344667
0
0
0
0
0.031116
0
0
0
0
0
0
1
0.178571
false
0
0.214286
0.142857
0.821429
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
0
0
0
0
0
1
1
0
0
2
13ee1649758294ad34e713fc2cc036dd2e133326
282
py
Python
mite/web/__init__.py
tonysimpson/mite
2a99a7b05204de444006e57e2c66e9f87fbcc357
[ "MIT" ]
1
2017-11-19T21:43:55.000Z
2017-11-19T21:43:55.000Z
mite/web/__init__.py
tonysimpson/mite
2a99a7b05204de444006e57e2c66e9f87fbcc357
[ "MIT" ]
null
null
null
mite/web/__init__.py
tonysimpson/mite
2a99a7b05204de444006e57e2c66e9f87fbcc357
[ "MIT" ]
null
null
null
import sys from flask import Flask, Response from .prometheus import PrometheusMetrics app = Flask(__name__) prometheus_metrics = PrometheusMetrics() @app.route('/metrics') def metrics(): text = prometheus_metrics.format() return Response(text, mimetype='text/plain')
17.625
48
0.755319
32
282
6.46875
0.53125
0.193237
0
0
0
0
0
0
0
0
0
0
0.141844
282
15
49
18.8
0.855372
0
0
0
0
0
0.064286
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
13f7760283241b44387910bfaf8c44e55327fb13
4,116
py
Python
userprofile/urls/es.py
jijo-paulose/django-profile
b3aaf225f5728474047d9e41f9d6a65b6de1f70f
[ "BSD-2-Clause" ]
7
2015-01-08T11:11:08.000Z
2019-07-01T08:12:38.000Z
userprofile/urls/es.py
jijo-paulose/django-profile
b3aaf225f5728474047d9e41f9d6a65b6de1f70f
[ "BSD-2-Clause" ]
1
2016-03-08T21:27:45.000Z
2016-03-08T21:27:45.000Z
userprofile/urls/es.py
jijo-paulose/django-profile
b3aaf225f5728474047d9e41f9d6a65b6de1f70f
[ "BSD-2-Clause" ]
3
2016-03-10T16:08:36.000Z
2019-09-18T16:28:35.000Z
from django.conf.urls.defaults import * from django.views.generic.simple import direct_to_template from userprofile.views import * from django.conf import settings urlpatterns = patterns('', # Private profile url(r'^perfil/$', overview, name='profile_overview'), url(r'^perfil/editar/ubicacion/$', location...
38.830189
147
0.677357
467
4,116
5.745182
0.214133
0.038763
0.037272
0.065598
0.317928
0.251584
0.081252
0.081252
0
0
0
0.002874
0.154519
4,116
105
148
39.2
0.768103
0.018222
0
0
0
0.013699
0.574969
0.440149
0
0
0
0
0
1
0
false
0.30137
0.054795
0
0.054795
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b92fc8c4f12a3495c3c287978d0d7bbf37e3eae2
549
py
Python
tests/test_compose/test_write/test_tag/test_th.py
schireson/htmxl
d4adef9fe0630f39c3664d3913bbbbe3db3ec069
[ "MIT" ]
2
2021-08-11T15:15:29.000Z
2022-03-20T04:04:54.000Z
tests/test_compose/test_write/test_tag/test_th.py
schireson/htmxl
d4adef9fe0630f39c3664d3913bbbbe3db3ec069
[ "MIT" ]
5
2021-08-18T20:54:32.000Z
2022-01-24T20:06:46.000Z
tests/test_compose/test_write/test_tag/test_th.py
schireson/htmxl
d4adef9fe0630f39c3664d3913bbbbe3db3ec069
[ "MIT" ]
null
null
null
from tests.utils import WriteTests class WriteTh(WriteTests): fixture_dir = "tests/fixtures/templates/tags/th" class TestColspanMergesCells(WriteTh): template_file = "colspan_merges.html.jinja2" expected_result_file = "colspan_merges.xlsx" class TestRowspanMergesCells(WriteTh): template_file = "ro...
26.142857
55
0.788707
62
549
6.693548
0.451613
0.106024
0.137349
0.173494
0.26506
0.26506
0
0
0
0
0
0.00625
0.125683
549
20
56
27.45
0.858333
0
0
0
0
0
0.32969
0.260474
0
0
0
0
0
1
0
false
0
0.083333
0
1
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
1
0
0
2
b930c55fe27b75765321f96d389fdf468a4819f5
1,181
py
Python
bismuthcore/Utils/export_json100k.py
bismuthfoundation/BismuthCore
cad565c8874dc65c4004c92a29a533190f73a51a
[ "MIT" ]
2
2020-03-04T12:35:59.000Z
2020-03-28T04:17:45.000Z
bismuthcore/Utils/export_json100k.py
bismuthfoundation/BismuthCore
cad565c8874dc65c4004c92a29a533190f73a51a
[ "MIT" ]
1
2019-01-11T15:57:06.000Z
2019-01-11T18:30:47.000Z
bismuthcore/Utils/export_json100k.py
bismuthfoundation/BismuthCore
cad565c8874dc65c4004c92a29a533190f73a51a
[ "MIT" ]
null
null
null
""" Export 100k tx to json format for benchmark Test temp util """ import json import sqlite3 import sys from os import remove sys.path.append('../') from bismuthcore.transaction import Transaction if __name__ == "__main__": try: remove('tx_dataset.json') except: pass try: remo...
28.804878
117
0.622354
156
1,181
4.576923
0.474359
0.061625
0.022409
0.058824
0.394958
0.394958
0.394958
0.394958
0.394958
0.394958
0
0.034803
0.27011
1,181
40
118
29.525
0.793503
0.142252
0
0.444444
0
0
0.25996
0.079681
0
0
0
0.025
0
1
0
false
0.074074
0.185185
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
b93f18ef93d7e5da9a3f030989e1fad2e2b4d074
3,124
py
Python
Core/Reddit.py
mickylindsay/VinnyBot
c62245c1631b2505ac724124bc666387b30129ac
[ "MIT" ]
2
2020-01-01T15:08:38.000Z
2020-06-24T03:09:42.000Z
Core/Reddit.py
mickylindsay/VinnyBot
c62245c1631b2505ac724124bc666387b30129ac
[ "MIT" ]
null
null
null
Core/Reddit.py
mickylindsay/VinnyBot
c62245c1631b2505ac724124bc666387b30129ac
[ "MIT" ]
null
null
null
import praw import random import itertools from nsfw import isEnabled def main(): print("--------------------") print("asdf " + random_hot_post('')) print("--------------------") def random_hot_post(subreddit, limit, message): r = praw.Reddit(user_agent='Discord Bot', client_id='byorb8K1SwaO1g', cl...
28.925926
150
0.650768
371
3,124
5.374663
0.231806
0.055166
0.052658
0.045135
0.744734
0.692076
0.692076
0.676028
0.676028
0.611836
0
0.018813
0.234315
3,124
107
151
29.196262
0.814799
0
0
0.721519
0
0.012658
0.214469
0.025928
0
0
0
0
0
1
0.050633
false
0
0.050633
0
0.329114
0.037975
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b942231006eb0a5aae5f3073e47e25dd1946c4a2
3,022
py
Python
setup.py
0xflotus/fluxgui
a3b55da976053fc978b29d191db52dfb8da2f8ee
[ "MIT" ]
1
2018-11-11T17:10:57.000Z
2018-11-11T17:10:57.000Z
setup.py
0xflotus/fluxgui
a3b55da976053fc978b29d191db52dfb8da2f8ee
[ "MIT" ]
null
null
null
setup.py
0xflotus/fluxgui
a3b55da976053fc978b29d191db52dfb8da2f8ee
[ "MIT" ]
1
2018-03-21T07:04:29.000Z
2018-03-21T07:04:29.000Z
#!/usr/bin/env python from distutils.core import setup import os data_files = [ ('share/icons/hicolor/16x16/apps', ['icons/hicolor/16x16/apps/fluxgui.svg']), ('share/icons/hicolor/22x22/apps', ['icons/hicolor/22x22/apps/fluxgui.svg']), ('share/icons/hicolor/24x24/apps', ['icons/hicolor/24x24/apps/fluxgui....
52.103448
109
0.697551
423
3,022
4.966903
0.307329
0.090433
0.111376
0.114231
0.495002
0.437887
0.240838
0.143265
0.123751
0
0
0.041916
0.115817
3,022
57
110
53.017544
0.744386
0.006618
0
0
0
0
0.744
0.506333
0
0
0
0
0
1
0
false
0
0.040816
0
0.040816
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b94931090c0b381ceed02988dafe7587242b1557
1,280
py
Python
Winter 2017/lec2/codingpractice.py
hyunjaemoon/pythonteaching
ee4da847cab548b9a39767d22b2586de927d8513
[ "CECILL-B" ]
null
null
null
Winter 2017/lec2/codingpractice.py
hyunjaemoon/pythonteaching
ee4da847cab548b9a39767d22b2586de927d8513
[ "CECILL-B" ]
null
null
null
Winter 2017/lec2/codingpractice.py
hyunjaemoon/pythonteaching
ee4da847cab548b9a39767d22b2586de927d8513
[ "CECILL-B" ]
null
null
null
def lambda_curry2(func): """ Returns a Curried version of a two-argument function FUNC. >>> from operator import add >>> curried_add = lambda_curry2(add) >>> add_three = curried_add(3) >>> add_three(5) 8 """ "*** YOUR CODE HERE ***" return ______ def compose1(f, g): """Retu...
27.826087
78
0.503906
192
1,280
3.255208
0.359375
0.0672
0.064
0.0416
0.128
0.128
0.128
0.128
0.128
0.128
0
0.061393
0.338281
1,280
45
79
28.444444
0.676505
0.735156
0
0.285714
0
0
0.22335
0
0
0
0
0
0
1
0.428571
false
0
0
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b94d1d604d91064566630972c17d17b92ac0902f
1,837
py
Python
RQ1/periodic_activations.py
SuShu19/TiTIC
7dd83a1527ee0e57e354eb7843c75ad2e53d69fc
[ "Apache-2.0" ]
null
null
null
RQ1/periodic_activations.py
SuShu19/TiTIC
7dd83a1527ee0e57e354eb7843c75ad2e53d69fc
[ "Apache-2.0" ]
null
null
null
RQ1/periodic_activations.py
SuShu19/TiTIC
7dd83a1527ee0e57e354eb7843c75ad2e53d69fc
[ "Apache-2.0" ]
null
null
null
import torch from torch import nn import numpy as np import math def t2v(tau, f, out_features, w, b, w0, b0, arg=None): if arg: v1 = f(torch.matmul(tau, w) + b, arg) else: #print(w.shape, t1.shape, b.shape) v1 = f(torch.matmul(tau, w) + b) v2 = torch.matmul(tau, w0) + b0 #print(...
37.489796
84
0.656505
269
1,837
4.30855
0.193309
0.123382
0.131148
0.172563
0.698878
0.667817
0.667817
0.63503
0.63503
0.63503
0
0.028649
0.20196
1,837
49
85
37.489796
0.761937
0.042461
0
0.421053
0
0
0.004553
0
0
0
0
0
0
1
0.131579
false
0
0.105263
0.052632
0.368421
0.052632
0
0
0
null
0
0
1
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
2
b9825b70794b01d7fbb843dae656b4c1648d3f4b
1,999
py
Python
Lib/site-packages/boto3/exceptions.py
bopopescu/django-estore
c092ffa965b8ef68e71d27d34a17fde1beacd90e
[ "MIT" ]
4
2015-10-20T15:18:40.000Z
2018-01-17T10:03:19.000Z
venv/lib/python2.7/site-packages/boto3/exceptions.py
LockScreen/Backend
42485a997f365172c7a63527f0df3b5707fd23f9
[ "MIT" ]
null
null
null
venv/lib/python2.7/site-packages/boto3/exceptions.py
LockScreen/Backend
42485a997f365172c7a63527f0df3b5707fd23f9
[ "MIT" ]
2
2019-04-29T14:16:10.000Z
2020-07-23T12:04:17.000Z
# Copyright 2014 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
32.770492
78
0.708354
232
1,999
5.987069
0.5
0.043197
0.051836
0.011519
0.148308
0.148308
0.148308
0.099352
0.099352
0.099352
0
0.006285
0.204102
1,999
60
79
33.316667
0.86675
0.332666
0
0.3
0
0
0.248665
0
0
0
0
0.016667
0
1
0.1
false
0.166667
0
0
0.366667
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
1
0
0
0
0
0
2
b992f85554a1d8a02b573ab84d518b5c77b73dc2
2,109
py
Python
vega/algorithms/nas/__init__.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
vega/algorithms/nas/__init__.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
vega/algorithms/nas/__init__.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. 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...
50.214286
114
0.720721
199
2,109
7.557789
0.78392
0.039894
0.017287
0.021277
0
0
0
0
0
0
0
0.007638
0.130868
2,109
41
115
51.439024
0.812875
0.30441
0
0
0
0
0.656077
0.239641
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
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
1
0
0
0
0
0
0
2
b99f8eafe24314fcf5c72b1fe45f17e88b0f9c67
7,077
py
Python
plugins/cuckoo/komand_cuckoo/actions/cuckoo_status/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/cuckoo/komand_cuckoo/actions/cuckoo_status/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/cuckoo/komand_cuckoo/actions/cuckoo_status/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Returns status of the cuckoo server" class Input: pass class Output: CPULOAD = "cpuload" DISKSPACE = "diskspace" HOSTNAME = "hostname" MACHINES = "machines" TASKS = "tasks" VERSION = "v...
23.127451
133
0.403278
488
7,077
5.79918
0.163934
0.097173
0.141343
0.059364
0.498233
0.498233
0.476325
0.476325
0.476325
0.476325
0
0.0093
0.422637
7,077
305
134
23.203279
0.683309
0.005228
0
0.576792
1
0.003413
0.924979
0.028559
0
0
0
0
0
1
0.006826
false
0.003413
0.006826
0
0.061433
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b9b72a7b0eff2f1080736f3c1b9adc48a9e7d140
1,612
py
Python
authApp/models/user.py
lauraC4MP0/reto_carvajal_auth_ms
eb3d04602b16ba7f3e518e0be289e24c52c6ed91
[ "MIT" ]
null
null
null
authApp/models/user.py
lauraC4MP0/reto_carvajal_auth_ms
eb3d04602b16ba7f3e518e0be289e24c52c6ed91
[ "MIT" ]
null
null
null
authApp/models/user.py
lauraC4MP0/reto_carvajal_auth_ms
eb3d04602b16ba7f3e518e0be289e24c52c6ed91
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin, BaseUserManager from django.contrib.auth.hashers import make_password class UserManager(BaseUserManager): def create_user(self, username, password=None): """ Creates and saves a user with the giv...
38.380952
90
0.676179
183
1,612
5.852459
0.382514
0.05042
0.031746
0.039216
0.112045
0.112045
0.054155
0
0
0
0
0.0128
0.224566
1,612
42
91
38.380952
0.844
0.080645
0
0.125
0
0
0.071727
0.01532
0
0
0
0
0
1
0.09375
false
0.21875
0.09375
0
0.59375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
b9b7778bc4a3296be2a52431b9f052859bac98c7
1,130
py
Python
aux_funcs.py
mcmissile007/trader
06070f0d786d08ffe4b8bbb5a08dcb2808cf16c4
[ "MIT" ]
null
null
null
aux_funcs.py
mcmissile007/trader
06070f0d786d08ffe4b8bbb5a08dcb2808cf16c4
[ "MIT" ]
null
null
null
aux_funcs.py
mcmissile007/trader
06070f0d786d08ffe4b8bbb5a08dcb2808cf16c4
[ "MIT" ]
null
null
null
from datetime import datetime def decideCurrentTimeFrame(last_signals): current_timeframes = [] now = datetime.now() minute = int(now.minute) hour = int(now.hour) day = int(now.day) month = int(now.month) year = int(now.year) key = str(year) + "/" + str(month) + "/" + str(day) key ...
33.235294
58
0.566372
128
1,130
4.90625
0.273438
0.216561
0.219745
0.10828
0.248408
0.159236
0.159236
0.159236
0.159236
0.159236
0
0.064171
0.338053
1,130
34
59
33.235294
0.775401
0.138053
0
0.296296
0
0
0.004119
0
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.148148
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b9ce571815a9800b79e7a948d91827dfada7dd6b
1,065
py
Python
src/cart/entities/shopping_cart.py
galvaof/li-cart
c59519c7e68b6df9bc41ca8a86a367d6e02d51d0
[ "Unlicense" ]
null
null
null
src/cart/entities/shopping_cart.py
galvaof/li-cart
c59519c7e68b6df9bc41ca8a86a367d6e02d51d0
[ "Unlicense" ]
null
null
null
src/cart/entities/shopping_cart.py
galvaof/li-cart
c59519c7e68b6df9bc41ca8a86a367d6e02d51d0
[ "Unlicense" ]
null
null
null
from cart.services.inventory_services import InventoryService class CartItem: product_id: int quantity: int class ShoppingCart: id: int voucher: str discount_ratio: float @property def items(self): return tuple(self._items) def __init__(self): self._items = [] ...
24.204545
69
0.620657
131
1,065
4.854962
0.351145
0.127358
0.037736
0.053459
0
0
0
0
0
0
0
0.00133
0.293897
1,065
44
70
24.204545
0.844415
0
0
0
0
0
0.018762
0
0
0
0
0
0
1
0.225806
false
0
0.032258
0.064516
0.580645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b9d4ce6b860ca646286fd20c37ec4c5c1cd84007
4,367
py
Python
tests/technical_bollinger_test.py
bopo/mooquant
244a87d4cd8b4d918eec4f16905e0921c3b39f50
[ "Apache-2.0" ]
21
2017-09-07T16:08:21.000Z
2020-10-15T13:42:21.000Z
tests/technical_bollinger_test.py
bopo/MooQuant
244a87d4cd8b4d918eec4f16905e0921c3b39f50
[ "Apache-2.0" ]
209
2018-10-09T11:57:39.000Z
2021-03-25T21:40:30.000Z
tests/technical_bollinger_test.py
bopo/MooQuant
244a87d4cd8b4d918eec4f16905e0921c3b39f50
[ "Apache-2.0" ]
15
2018-11-17T20:14:37.000Z
2022-02-04T23:55:29.000Z
# -*- coding: utf-8 -*- # MooQuant # # Copyright 2011-2015 Gabriel Martin Becedillas Ruiz # # 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 # # ...
55.278481
395
0.660179
675
4,367
4.260741
0.312593
0.09388
0.05007
0.075104
0.639082
0.615786
0.60605
0.57128
0.57128
0.457232
0
0.240984
0.180902
4,367
78
396
55.987179
0.563042
0.205175
0
0.186047
0
0
0
0
0
0
0
0
0.418605
1
0.046512
false
0
0.069767
0
0.139535
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
b9e2ae2347b453e32686bad3aecb00da54ed51ee
2,848
py
Python
pyy1/.pycharm_helpers/python_stubs/-1550516950/_symtable.py
pyy1988/pyy_test1
6bea878409e658aa87441384419be51aaab061e7
[ "Apache-2.0" ]
null
null
null
pyy1/.pycharm_helpers/python_stubs/-1550516950/_symtable.py
pyy1988/pyy_test1
6bea878409e658aa87441384419be51aaab061e7
[ "Apache-2.0" ]
null
null
null
pyy1/.pycharm_helpers/python_stubs/-1550516950/_symtable.py
pyy1988/pyy_test1
6bea878409e658aa87441384419be51aaab061e7
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 # module _symtable # from (built-in) # by generator 1.145 # no doc # no imports # Variables with simple values CELL = 5 DEF_BOUND = 134 DEF_FREE = 32 DEF_FREE_CLASS = 64 DEF_GLOBAL = 1 DEF_IMPORT = 128 DEF_LOCAL = 2 DEF_PARAM = 4 FREE = 4 GLOBAL_EXPLICIT = 2 GLOBAL_IMPLICIT = 3 LOCAL = 1 SCOP...
22.967742
101
0.61868
359
2,848
4.777159
0.387187
0.058309
0.081633
0.134111
0.321866
0.292711
0.230321
0.0793
0.0793
0.0793
0
0.015818
0.289677
2,848
123
102
23.154472
0.831933
0.454354
0
0.365385
0
0
0
0
0
0
0
0
0
1
0.211538
false
0.211538
0.019231
0
0.288462
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
1
0
0
0
0
0
2
b9e50c87aa136c29aeed2932fad8b23b00f7b960
603
py
Python
src/utils/epoch_logger.py
alphagov-mirror/govuk-entity-personalisation
a674bca4c15691fe2c4e32ea213dfccf3cb0e8ec
[ "MIT" ]
1
2021-02-15T17:35:59.000Z
2021-02-15T17:35:59.000Z
src/utils/epoch_logger.py
alphagov-mirror/govuk-entity-personalisation
a674bca4c15691fe2c4e32ea213dfccf3cb0e8ec
[ "MIT" ]
16
2020-11-30T14:41:31.000Z
2021-09-09T15:33:46.000Z
src/utils/epoch_logger.py
alphagov-mirror/govuk-entity-personalisation
a674bca4c15691fe2c4e32ea213dfccf3cb0e8ec
[ "MIT" ]
4
2020-12-14T17:36:31.000Z
2021-04-10T20:12:46.000Z
from gensim.models.callbacks import CallbackAny2Vec from datetime import datetime class EpochLogger(CallbackAny2Vec): """ Callback to log information about training Reference: - https://colab.research.google.com/drive/1A4x2yNS3V1nDZFYoQavpoX7AEQ9Rqtve#scrollTo=m1An-k0q9PMr """ def __init__...
30.15
105
0.689884
71
603
5.746479
0.577465
0.088235
0.04902
0.073529
0.259804
0.259804
0.259804
0.259804
0.259804
0.259804
0
0.028926
0.197347
603
19
106
31.736842
0.81405
0.257048
0
0
0
0
0.273585
0
0
0
0
0
0
1
0.3
false
0
0.2
0
0.6
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b9f70879cfaf2dc4de3fb20ae608378a0a8658a0
2,394
py
Python
ucb_cs61A/lab/lab02/lab02_2015/lab02/lab02.py
tavaresdong/courses-notes
7fb89103bca679f5ef9b14cbc777152daac1402e
[ "MIT" ]
null
null
null
ucb_cs61A/lab/lab02/lab02_2015/lab02/lab02.py
tavaresdong/courses-notes
7fb89103bca679f5ef9b14cbc777152daac1402e
[ "MIT" ]
1
2017-07-31T08:15:26.000Z
2017-07-31T08:15:26.000Z
ucb_cs61A/lab/lab02/lab02_2015/lab02/lab02.py
tavaresdong/courses-notes
7fb89103bca679f5ef9b14cbc777152daac1402e
[ "MIT" ]
1
2019-10-06T16:52:31.000Z
2019-10-06T16:52:31.000Z
"""Lab 2: Higher Order Functions & Lambdas""" from utils import letter_to_num, num_to_letter, looper, mirror_letter def make_derivative(f, h=1e-5): """Returns a function that approximates the derivative of f. Recall that f'(a) = (f(a + h) - f(a)) / h as h approaches 0. We will approximate the derivative b...
28.843373
84
0.62406
336
2,394
4.339286
0.330357
0.072016
0.037723
0.037037
0.163923
0.092593
0.075446
0.075446
0.075446
0.075446
0
0.035695
0.227652
2,394
82
85
29.195122
0.752839
0.625313
0
0.333333
0
0
0.124294
0
0
0
0
0
0
1
0.277778
false
0
0.111111
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6a190cd499dbb89c719d97cb729f8f182774c9c8
375
py
Python
rackio/dao/core.py
crivero7/rackio-framework
d3362041b1fc4c3af7eb51ac06b1f0f1b5aa497c
[ "MIT" ]
null
null
null
rackio/dao/core.py
crivero7/rackio-framework
d3362041b1fc4c3af7eb51ac06b1f0f1b5aa497c
[ "MIT" ]
null
null
null
rackio/dao/core.py
crivero7/rackio-framework
d3362041b1fc4c3af7eb51ac06b1f0f1b5aa497c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """rackio/dao/core.py This module implements Core Data Object. """ from ..engine import CVTEngine from ..logger import QueryLogger, LoggerEngine class RackioDAO: tag_engine = CVTEngine() logger_engine = LoggerEngine() query_logger = QueryLogger() def get_app(self): ...
17.857143
46
0.666667
43
375
5.72093
0.651163
0
0
0
0
0
0
0
0
0
0
0.003436
0.224
375
21
47
17.857143
0.841924
0.221333
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6a19141ebda644f3bac452ed368ebd79184e18dc
1,085
py
Python
from_json.py
IDEA-Research-Group/conformancechecking4spark
c8fb8d76ab86cc76654bba7cbd19d678e86ef8cd
[ "IJG" ]
null
null
null
from_json.py
IDEA-Research-Group/conformancechecking4spark
c8fb8d76ab86cc76654bba7cbd19d678e86ef8cd
[ "IJG" ]
null
null
null
from_json.py
IDEA-Research-Group/conformancechecking4spark
c8fb8d76ab86cc76654bba7cbd19d678e86ef8cd
[ "IJG" ]
null
null
null
from conformancechecking4spark.utils import create_default_spark_session from conformancechecking4spark import log_rdd from pyspark.sql import functions as f import os import config from datetime import datetime from pm4py.objects.log.exporter.xes import exporter as xes_exporter from pm4py.objects.log.obj import EventS...
36.166667
110
0.770507
158
1,085
5.101266
0.43038
0.059553
0.037221
0.059553
0.122829
0.122829
0.122829
0.08933
0.08933
0
0
0.009165
0.094931
1,085
30
111
36.166667
0.811609
0.076498
0
0
0
0
0.101
0
0
0
0
0
0
1
0.052632
false
0
0.421053
0.052632
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
0
0
0
1
0
1
0
0
2
6a1a707f8bc186fb2f5a1d9a31e01fab3f9ec3e2
748
py
Python
demisto_sdk/commands/common/content/objects/pack_objects/widget/widget.py
cpforbes/demisto-sdk
4fe122e6f614e605f96bd47aa089b215dc7c2c5f
[ "MIT" ]
null
null
null
demisto_sdk/commands/common/content/objects/pack_objects/widget/widget.py
cpforbes/demisto-sdk
4fe122e6f614e605f96bd47aa089b215dc7c2c5f
[ "MIT" ]
null
null
null
demisto_sdk/commands/common/content/objects/pack_objects/widget/widget.py
cpforbes/demisto-sdk
4fe122e6f614e605f96bd47aa089b215dc7c2c5f
[ "MIT" ]
null
null
null
from typing import Union import demisto_client from demisto_sdk.commands.common.constants import WIDGET from demisto_sdk.commands.common.content.objects.pack_objects.abstract_pack_objects.json_content_object import \ JSONContentObject from wcmatch.pathlib import Path class Widget(JSONContentObject): def __in...
31.166667
112
0.720588
94
748
5.510638
0.425532
0.125483
0.054054
0.084942
0.108108
0
0
0
0
0
0
0
0.213904
748
23
113
32.521739
0.880952
0.252674
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.545455
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6a23f1771f1ea86d89316c9cb32670b8ac9d18f1
500
py
Python
primaseru/admin.py
Lukmanhakim112/ppdb
c6179478b4c1f0b6cec77a8a059a6e418f6263f1
[ "MIT" ]
null
null
null
primaseru/admin.py
Lukmanhakim112/ppdb
c6179478b4c1f0b6cec77a8a059a6e418f6263f1
[ "MIT" ]
null
null
null
primaseru/admin.py
Lukmanhakim112/ppdb
c6179478b4c1f0b6cec77a8a059a6e418f6263f1
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import StudentProfile, FatherStudentProfile, MotherStudentProfile, StudentGuardianProfile, MajorStudent, PhotoProfile, StudentFile, RegisterSchedule admin.site.register(StudentProfile) admin.site.register(FatherStudentProfile) admin.site.register(MotherStudentProfile) adm...
38.461538
161
0.868
48
500
9.041667
0.333333
0.165899
0.313364
0
0
0
0
0
0
0
0
0
0.05
500
12
162
41.666667
0.913684
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
6a28afe94b3342e27b30213c63563d6b863351c6
4,615
py
Python
api/models.py
AppointmentGuru/CodeGuru
d8871ff68b02cc5e9833a01b090572384be2bdaf
[ "MIT" ]
null
null
null
api/models.py
AppointmentGuru/CodeGuru
d8871ff68b02cc5e9833a01b090572384be2bdaf
[ "MIT" ]
null
null
null
api/models.py
AppointmentGuru/CodeGuru
d8871ff68b02cc5e9833a01b090572384be2bdaf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.contrib.postgres.fields import ArrayField """ Chapter -> Section -> Code -> Code -> ... """ class Chapter(models.Model): name = models.CharField(max_length=250, blank=True, null=True) description = models....
76.916667
1,117
0.742795
662
4,615
5.117825
0.302115
0.058442
0.084416
0.11039
0.286895
0.250295
0.250295
0.227273
0.227273
0.171783
0
0.01039
0.165764
4,615
59
1,118
78.220339
0.86961
0.010834
0
0.133333
0
0.155556
0.43082
0
0
0
0
0
0
1
0.044444
false
0
0.066667
0.022222
0.8
0
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
1
0
0
2
6a316af543b65c5417ab353e57bdde93cbdddc73
664
py
Python
Algorithms/Minimum Path Sum.py
KushRabadia/Leetcode
f6af5bf0b9ef8daf9870570b52012297128aa9e1
[ "MIT" ]
null
null
null
Algorithms/Minimum Path Sum.py
KushRabadia/Leetcode
f6af5bf0b9ef8daf9870570b52012297128aa9e1
[ "MIT" ]
null
null
null
Algorithms/Minimum Path Sum.py
KushRabadia/Leetcode
f6af5bf0b9ef8daf9870570b52012297128aa9e1
[ "MIT" ]
null
null
null
class Solution: def minPathSum(self, grid: List[List[int]]) -> int: if len(grid) <= 0 or grid is None: return 0 rows = len(grid) cols = len(grid[0]) for r in range(rows): for c in range(cols): if r==0 and c==0: con...
33.2
92
0.376506
94
664
2.659574
0.297872
0.2
0.192
0.2
0.24
0.204
0.152
0.152
0.152
0.152
0
0.042614
0.46988
664
19
93
34.947368
0.667614
0
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.235294
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6a31ece1ffcd44964e0cbcf7dfa05deed79fd220
685
py
Python
daily-coding-problem/Amazon/problem_7.py
HouariZegai/problem-solving
77f2b397cfc798e7a0933daf65b849a81192f9d8
[ "MIT" ]
1
2022-03-24T02:02:40.000Z
2022-03-24T02:02:40.000Z
daily-coding-problem/Amazon/problem_7.py
HouariZegai/problem-solving
77f2b397cfc798e7a0933daf65b849a81192f9d8
[ "MIT" ]
null
null
null
daily-coding-problem/Amazon/problem_7.py
HouariZegai/problem-solving
77f2b397cfc798e7a0933daf65b849a81192f9d8
[ "MIT" ]
1
2022-03-24T02:03:21.000Z
2022-03-24T02:03:21.000Z
""" Asked by: Amazon [Medium] Given a string s and an integer k, break up the string into multiple lines such that each line has a length of k or less. You must break it up so that words don't break across lines. Each line has to have the maximum possible amount of words. If there's no way to break the text up, the...
45.666667
122
0.731387
132
685
3.795455
0.568182
0.053892
0.043912
0.047904
0.139721
0.139721
0.139721
0.139721
0.139721
0
0
0.007366
0.207299
685
15
123
45.666667
0.915285
0.986861
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
6a37c091ccab554ea5fd5aee771040f06549a64c
375
py
Python
apps/projects/signals.py
jfterpstra/onepercentclub-site
43e8e01ac4d3d1ffdd5959ebd048ce95bb2dba0e
[ "BSD-3-Clause" ]
7
2015-01-02T19:31:14.000Z
2021-03-22T17:30:23.000Z
apps/projects/signals.py
jfterpstra/onepercentclub-site
43e8e01ac4d3d1ffdd5959ebd048ce95bb2dba0e
[ "BSD-3-Clause" ]
1
2015-03-06T08:34:59.000Z
2015-03-06T08:34:59.000Z
apps/projects/signals.py
jfterpstra/onepercentclub-site
43e8e01ac4d3d1ffdd5959ebd048ce95bb2dba0e
[ "BSD-3-Clause" ]
null
null
null
from django.dispatch import Signal # This signal indicates that the supplied project has been funded. # # :param first_time_funded: Whether or not the project has reached the funded state before. For instance, a project # can become "unfunded" when a donation that was pending fails. # project...
41.666667
115
0.738667
52
375
5.211538
0.692308
0.073801
0.110701
0
0
0
0
0
0
0
0
0
0.202667
375
8
116
46.875
0.906355
0.709333
0
0
0
0
0.165049
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
6a4a54d27668c7970e5dabc84b44fa1b0c0b94fb
8,757
py
Python
tests/test_simplecalc.py
facundobatista/simplecalc
8c0f72ef90be28d16f407ef439275a229dc5aa2e
[ "Apache-2.0" ]
2
2020-03-21T14:38:49.000Z
2020-10-12T12:55:17.000Z
tests/test_simplecalc.py
facundobatista/simplecalc
8c0f72ef90be28d16f407ef439275a229dc5aa2e
[ "Apache-2.0" ]
null
null
null
tests/test_simplecalc.py
facundobatista/simplecalc
8c0f72ef90be28d16f407ef439275a229dc5aa2e
[ "Apache-2.0" ]
null
null
null
# Copyright 2015-2018 Canonical Ltd. # Copyright 2020 Facundo Batista # All Rights Reserved """Tests for a simple calculator.""" import math from decimal import Decimal from unittest import TestCase import simplecalc class BaseTestCase(TestCase): """Common code for all test cases.""" def check(self, opera...
29.287625
95
0.410871
829
8,757
4.302774
0.25573
0.014017
0.076535
0.054948
0.404542
0.340342
0.324082
0.320157
0.308382
0.294645
0
0.237901
0.38415
8,757
298
96
29.385906
0.423512
0.039397
0
0.197531
0
0
0.249073
0.086572
0
0
0
0
0.00823
1
0.09465
false
0
0.016461
0
0.144033
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dbe823d848d5486e3ac6d7d2500214da2ae58893
245
py
Python
src/PlayFair/CheckButton.py
Paarzivall/Praca-Inzynierska
f6e7b0ba6a89ec7406d0553cbd6c9ac0db7651ee
[ "MIT" ]
null
null
null
src/PlayFair/CheckButton.py
Paarzivall/Praca-Inzynierska
f6e7b0ba6a89ec7406d0553cbd6c9ac0db7651ee
[ "MIT" ]
null
null
null
src/PlayFair/CheckButton.py
Paarzivall/Praca-Inzynierska
f6e7b0ba6a89ec7406d0553cbd6c9ac0db7651ee
[ "MIT" ]
null
null
null
import src.MainImages as main_img class CheckButton(object): def __init__(self): self.image = main_img.try_open_button self.position = (500, 450) def draw(self, surface): surface.blit(self.image, self.position)
24.5
47
0.677551
33
245
4.787879
0.666667
0.088608
0
0
0
0
0
0
0
0
0
0.031414
0.220408
245
10
47
24.5
0.795812
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
dbf69936a33ed64d8d0960ca2c562a62619d16e2
825
py
Python
tests/roadmap/test_random_sampler.py
omron-sinicx/ctrm
83e7fe4abb8ad8559bfb6e64170878575a03fd20
[ "MIT" ]
8
2022-01-25T08:04:32.000Z
2022-02-20T10:47:40.000Z
tests/roadmap/test_random_sampler.py
omron-sinicx/ctrm
83e7fe4abb8ad8559bfb6e64170878575a03fd20
[ "MIT" ]
null
null
null
tests/roadmap/test_random_sampler.py
omron-sinicx/ctrm
83e7fe4abb8ad8559bfb6e64170878575a03fd20
[ "MIT" ]
null
null
null
import numpy as np import pytest from ctrm.environment import Instance, ObstacleSphere from ctrm.roadmap import ( get_timed_roadmaps_fully_random, get_timed_roadmaps_random, get_timed_roadmaps_random_common, ) @pytest.fixture def ins(): return Instance( 2, [np.array([0, 0]), np.array(...
26.612903
76
0.637576
123
825
4.04065
0.300813
0.112676
0.225352
0.221328
0.452716
0.275654
0.197183
0.197183
0.197183
0.197183
0
0.047401
0.207273
825
30
77
27.5
0.712538
0
0
0.16
0
0
0.008485
0
0
0
0
0
0.12
1
0.08
false
0
0.16
0.04
0.28
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e00872684bb202491e7ce3058256ccfc7e250169
969
py
Python
barsystem/src/barsystem/migrations/0004_auto_20150430_1648.py
TkkrLab/barsystem
17d138f19c8f6a61b14477f034d8519bb83e00fb
[ "MIT" ]
1
2016-03-28T16:19:53.000Z
2016-03-28T16:19:53.000Z
barsystem/src/barsystem/migrations/0004_auto_20150430_1648.py
TkkrLab/barsystem
17d138f19c8f6a61b14477f034d8519bb83e00fb
[ "MIT" ]
11
2015-09-22T20:34:34.000Z
2017-04-12T13:55:27.000Z
barsystem/src/barsystem/migrations/0004_auto_20150430_1648.py
TkkrLab/barsystem
17d138f19c8f6a61b14477f034d8519bb83e00fb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('barsystem', '0003_product_active'), ] operations = [ migrations.AlterField( model_name='product', na...
27.685714
97
0.582043
91
969
6.021978
0.494505
0.145985
0.182482
0.211679
0.465328
0.465328
0.392336
0.392336
0.30292
0.30292
0
0.0162
0.299278
969
34
98
28.5
0.790869
0.021672
0
0.5
0
0
0.088795
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e01359ea7ce9ef9ed28c6bdeb820ddda6b87d448
8,929
py
Python
orttraining/orttraining/eager/opgen/opgen/ast.py
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
orttraining/orttraining/eager/opgen/opgen/ast.py
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
orttraining/orttraining/eager/opgen/opgen/ast.py
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import io from typing import TextIO, List, Union from opgen.lexer import Token class Node(object): def __init__(self): self.tokens = [] def write(self, writer: TextIO): raise NotImplementedError(self.write) d...
25.731988
69
0.70971
1,094
8,929
5.477148
0.130713
0.048064
0.038551
0.051068
0.404373
0.355808
0.285214
0.213785
0.194092
0.194092
0
0
0.181991
8,929
347
70
25.731988
0.820372
0.019711
0
0.377778
0
0
0.002287
0
0
0
0
0
0
1
0.203704
false
0.07037
0.011111
0.044444
0.455556
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
1
0
0
0
0
0
2
e01d31ae690a7e714bd7b6f8f97399563e0fc2ee
489
py
Python
mongoengine/__init__.py
alex/mongoengine
3c1e7af5bb4e5d2360ea525ab54ee4c85e6d523e
[ "MIT" ]
1
2015-11-08T12:46:12.000Z
2015-11-08T12:46:12.000Z
mongoengine/__init__.py
alex/mongoengine
3c1e7af5bb4e5d2360ea525ab54ee4c85e6d523e
[ "MIT" ]
null
null
null
mongoengine/__init__.py
alex/mongoengine
3c1e7af5bb4e5d2360ea525ab54ee4c85e6d523e
[ "MIT" ]
null
null
null
import document from document import * import fields from fields import * import connection from connection import * import queryset from queryset import * __all__ = (document.__all__ + fields.__all__ + connection.__all__ + queryset.__all__) __author__ = 'Harry Marr' VERSION = (0, 3, 0) def get_version()...
19.56
67
0.678937
60
489
5.033333
0.333333
0.119205
0.059603
0.10596
0
0
0
0
0
0
0
0.017995
0.204499
489
24
68
20.375
0.758355
0
0
0
0
0
0.040984
0
0
0
0
0
0
1
0.055556
false
0
0.444444
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e02206fad8b2780bb2f890a64c63d8df73ea7aae
11,478
py
Python
lenstronomy/LensModel/profile_list_base.py
franyancr/lenstronomy
3a7b33512a474bf1796d23276d9028b580580cf1
[ "MIT" ]
null
null
null
lenstronomy/LensModel/profile_list_base.py
franyancr/lenstronomy
3a7b33512a474bf1796d23276d9028b580580cf1
[ "MIT" ]
null
null
null
lenstronomy/LensModel/profile_list_base.py
franyancr/lenstronomy
3a7b33512a474bf1796d23276d9028b580580cf1
[ "MIT" ]
null
null
null
import numpy as np class ProfileListBase(object): """ class that manages the list of lens model class instances. This class is applicable for single plane and multi plane lensing """ def __init__(self, lens_model_list, numerical_alpha_class=None, lens_redshift_list=None, z_source_convention=None):...
46.469636
125
0.634692
1,223
11,478
5.735078
0.148814
0.066153
0.164243
0.218991
0.314656
0.225121
0.126319
0.08982
0.068149
0.045338
0
0
0.297526
11,478
246
126
46.658537
0.8699
0.08329
0
0.045
0
0
0.073045
0.016124
0
0
0
0
0
1
0.03
false
0
0.28
0
0.57
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
1
0
0
2
e0225cc7ae574faae313b96ffc7ec237e3fa82bb
1,412
py
Python
rqalpha/mod/rqalpha_mod_sys_accounts/testing.py
HaidongHe/rqalpha
bb824178425909e051c456f6062a6c5bdc816421
[ "Apache-2.0" ]
1
2020-11-10T05:44:39.000Z
2020-11-10T05:44:39.000Z
rqalpha/mod/rqalpha_mod_sys_accounts/testing.py
HaidongHe/rqalpha
bb824178425909e051c456f6062a6c5bdc816421
[ "Apache-2.0" ]
null
null
null
rqalpha/mod/rqalpha_mod_sys_accounts/testing.py
HaidongHe/rqalpha
bb824178425909e051c456f6062a6c5bdc816421
[ "Apache-2.0" ]
1
2020-03-05T05:06:45.000Z
2020-03-05T05:06:45.000Z
# -*- coding: utf-8 -*- # 版权所有 2019 深圳米筐科技有限公司(下称“米筐科技”) # # 除非遵守当前许可,否则不得使用本软件。 # # * 非商业用途(非商业用途指个人出于非商业目的使用本软件,或者高校、研究所等非营利机构出于教育、科研等目的使用本软件): # 遵守 Apache License 2.0(下称“Apache 2.0 许可”),您可以在以下位置获得 Apache 2.0 许可的副本:http://www.apache.org/licenses/LICENSE-2.0。 # 除非法律有要求或以书面形式达成协议,否则本软件分发时需保持当前许可“原样”...
42.787879
144
0.752125
154
1,412
6.720779
0.558442
0.011594
0.030918
0.019324
0.123672
0.067633
0.067633
0
0
0
0
0.0175
0.150142
1,412
32
145
44.125
0.845
0.447592
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e0258af44d55807f60df8224c29a281eeca5b21b
41,056
py
Python
tests/test_framework_enrichment.py
varunvarma/panoptes
733e1b17e01d47fe0a399e2fe635f614cc5a0b88
[ "Apache-2.0" ]
null
null
null
tests/test_framework_enrichment.py
varunvarma/panoptes
733e1b17e01d47fe0a399e2fe635f614cc5a0b88
[ "Apache-2.0" ]
null
null
null
tests/test_framework_enrichment.py
varunvarma/panoptes
733e1b17e01d47fe0a399e2fe635f614cc5a0b88
[ "Apache-2.0" ]
null
null
null
""" Copyright 2018, Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE file in project root for terms. """ import time import unittest import json import os from mock import * from yahoo_panoptes.framework.enrichment import PanoptesEnrichmentSet, PanoptesEnrichmentGroup, \ PanoptesEnrichme...
52.234097
121
0.579842
3,507
41,056
6.432563
0.064728
0.074471
0.029523
0.026952
0.779201
0.70668
0.670686
0.630037
0.583049
0.547985
0
0.034224
0.322462
41,056
785
122
52.300637
0.776755
0.003946
0
0.493548
0
0.01129
0.183387
0.083348
0
0
0
0
0.122581
0
null
null
0
0.016129
null
null
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
1
0
0
0
0
0
0
0
0
2
e02e4d70ac3a010882b6bdce086e8a5e5bfc1c40
758
py
Python
UR Computer Vision/Multi-Label Actor-Action Classification/code/network.py
ChenweWu/Computer-Vision--UR
d0b9f65c292dd04a28c77b87f1f8bbd7005500e3
[ "MIT" ]
1
2021-02-24T02:20:25.000Z
2021-02-24T02:20:25.000Z
UR Computer Vision/Multi-Label Actor-Action Classification/code/network.py
ChenweWu/Computer-Vision--UR
d0b9f65c292dd04a28c77b87f1f8bbd7005500e3
[ "MIT" ]
null
null
null
UR Computer Vision/Multi-Label Actor-Action Classification/code/network.py
ChenweWu/Computer-Vision--UR
d0b9f65c292dd04a28c77b87f1f8bbd7005500e3
[ "MIT" ]
1
2021-03-02T19:50:22.000Z
2021-03-02T19:50:22.000Z
import torch import torch.nn as nn import torchvision.models as models import torch.autograd as autograd from torch.autograd import Variable import math class net(nn.Module): def __init__(self, args): super(net, self).__init__() self.resnet = nn.Sequential(*list(models.resnet152(pretrained=True).ch...
34.454545
93
0.670185
106
758
4.679245
0.462264
0.066532
0.100806
0.116935
0
0
0
0
0
0
0
0.031457
0.203166
758
21
94
36.095238
0.789735
0
0
0
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0.315789
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
0
0
0
1
0
1
0
0
2
e0365b6e874402d5849dee01101a7b56a5ddcc53
743
py
Python
example/test_model2.py
kirichoi/NSSR
d5ff39b4ca4be48f8bfe0a811c25c5e4afde135d
[ "MIT" ]
null
null
null
example/test_model2.py
kirichoi/NSSR
d5ff39b4ca4be48f8bfe0a811c25c5e4afde135d
[ "MIT" ]
null
null
null
example/test_model2.py
kirichoi/NSSR
d5ff39b4ca4be48f8bfe0a811c25c5e4afde135d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Oct 12 03:00:22 2017 @author: KIRI """ import tellurium as te import roadrunner #r1 = te.loada(""" #S1 + S2 -> S3 + S4; k1*S1*S2; # #S1 = 1.0; S2 = 2.0; S3 = 0.1; S4 = .5; #k1 = 0.1 #""") # #rr1 = r1.simulate(0, 100, 100) #r1.plot() # #r2 = te.loada(""" #S1 -> S3; k1*S1; #S...
16.511111
44
0.487214
155
743
2.335484
0.283871
0.066298
0.074586
0.049724
0.243094
0.243094
0.243094
0.243094
0.243094
0.243094
0
0.272569
0.224764
743
45
45
16.511111
0.355903
0.555855
0
0
0
0.166667
0.544851
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e03b99a0d6ed7482bf975115157496b08652fabc
547
py
Python
data_preprocess/make_columns.py
DariaMishina/stock-news
15fd3292f80656ab96b43dbb61122babde0b0c2c
[ "MIT" ]
6
2021-02-03T04:25:06.000Z
2022-01-28T15:28:45.000Z
data_preprocess/make_columns.py
DariaMishina/stock-news
15fd3292f80656ab96b43dbb61122babde0b0c2c
[ "MIT" ]
null
null
null
data_preprocess/make_columns.py
DariaMishina/stock-news
15fd3292f80656ab96b43dbb61122babde0b0c2c
[ "MIT" ]
5
2021-02-01T08:41:30.000Z
2021-09-30T22:10:49.000Z
import pandas as pd def get_shift_percentage(numerator: pd.Series, denominator: pd.Series) -> pd.Series: """ На сколько процентов изменилась переменная numerator относительно текущего denominator """ return numerator / denominator * 100 def get_shift_digit(s: pd.Series) -> pd.Series: """ ...
27.35
84
0.702011
70
547
5.428571
0.6
0.105263
0.057895
0.084211
0
0
0
0
0
0
0
0.011468
0.202925
547
19
85
28.789474
0.860092
0.352834
0
0
0
0
0.107937
0
0
0
0
0
0.166667
1
0.333333
false
0
0.166667
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e0470133f70ed1035f49b3237df6217abdc69e52
807
py
Python
Python_libraries/const.py
dorucioclea/Elrond-NFT-Trading
82259c367128a2a6410c5deb471ad54622b9fc89
[ "MIT" ]
3
2022-02-23T09:51:49.000Z
2022-03-01T07:19:55.000Z
Python_libraries/const.py
dorucioclea/Elrond-NFT-Trading
82259c367128a2a6410c5deb471ad54622b9fc89
[ "MIT" ]
null
null
null
Python_libraries/const.py
dorucioclea/Elrond-NFT-Trading
82259c367128a2a6410c5deb471ad54622b9fc89
[ "MIT" ]
1
2022-02-23T09:51:52.000Z
2022-02-23T09:51:52.000Z
DECIMALS = {"GNG-8d7e05" : 1000000000000000000, "MEX-4183e7" : 1000000000000000000, "LKMEX-9acade" : 1000000000000000000, "WATER-104d38" : 1000000000000000000} TOKEN_TYPE = {"GNG-8d7e05" : "token", "MEX-4183e7" : "token", "WARMY-cc922b": "NFT", ...
33.625
51
0.443618
58
807
6.103448
0.482759
0.076271
0
0
0
0
0
0
0
0
0
0.298319
0.410161
807
23
52
35.086957
0.445378
0
0
0
0
0
0.309789
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e04cb21549efa116cc9086cdef036c0fd6951e82
12,761
py
Python
sdk/python/feast/specs/ImportSpec_pb2.py
davidheryanto/feast
72cc8bd2cd0040f7bc44df255f95bad00cacd720
[ "Apache-2.0" ]
null
null
null
sdk/python/feast/specs/ImportSpec_pb2.py
davidheryanto/feast
72cc8bd2cd0040f7bc44df255f95bad00cacd720
[ "Apache-2.0" ]
null
null
null
sdk/python/feast/specs/ImportSpec_pb2.py
davidheryanto/feast
72cc8bd2cd0040f7bc44df255f95bad00cacd720
[ "Apache-2.0" ]
2
2020-05-20T22:07:11.000Z
2021-07-25T17:28:24.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: feast/specs/ImportSpec.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goog...
40.382911
1,174
0.749471
1,594
12,761
5.720828
0.120452
0.044742
0.052637
0.041452
0.654129
0.572651
0.538656
0.513543
0.513543
0.513543
0
0.036302
0.11927
12,761
315
1,175
40.511111
0.775069
0.040671
0
0.626335
1
0.010676
0.14357
0.097784
0
0
0
0
0
1
0
false
0
0.163701
0
0.163701
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e0508b48620632e8ca7a48fd7699a12b16c9dfa4
1,373
py
Python
app/Model/Peaks/Peak.py
MrPSnrub/NMRVisualisation
1831689ed0cd22be8f42d9a4d17d0b4db47241e8
[ "MIT" ]
null
null
null
app/Model/Peaks/Peak.py
MrPSnrub/NMRVisualisation
1831689ed0cd22be8f42d9a4d17d0b4db47241e8
[ "MIT" ]
null
null
null
app/Model/Peaks/Peak.py
MrPSnrub/NMRVisualisation
1831689ed0cd22be8f42d9a4d17d0b4db47241e8
[ "MIT" ]
null
null
null
class Peak: """A peak found in spectra. Attributes: id: Rounded X-coordinate used to collate peak data x: X-coordinates of peak along its traversal through spectra y: Y-coordinates of peak along its traversal through spectra z: Z-coordinates of peak along its traversal through s...
30.511111
116
0.607429
200
1,373
4.1
0.32
0.030488
0.062195
0.080488
0.17561
0.17561
0.17561
0.17561
0
0
0
0
0.298616
1,373
44
117
31.204545
0.851506
0.431173
0
0
0
0
0
0
0
0
0
0
0
1
0.28
false
0
0
0.12
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
e06481e842e46fa5ae5ce92a1fcdb40eb1b3e92a
326
py
Python
aiida/orm/nodes/data/remote/stash/__init__.py
azadoks/aiida-core
b806b7fef8fc79090deccfe2019b77cb922e0581
[ "MIT", "BSD-3-Clause" ]
180
2019-07-12T07:45:26.000Z
2022-03-22T13:16:57.000Z
aiida/orm/nodes/data/remote/stash/__init__.py
azadoks/aiida-core
b806b7fef8fc79090deccfe2019b77cb922e0581
[ "MIT", "BSD-3-Clause" ]
2,466
2016-12-24T01:03:52.000Z
2019-07-04T13:41:08.000Z
aiida/orm/nodes/data/remote/stash/__init__.py
azadoks/aiida-core
b806b7fef8fc79090deccfe2019b77cb922e0581
[ "MIT", "BSD-3-Clause" ]
88
2019-07-06T01:42:39.000Z
2022-03-18T14:20:09.000Z
# -*- coding: utf-8 -*- """Module with data plugins that represent files of completed calculations jobs that have been stashed.""" # AUTO-GENERATED # yapf: disable # pylint: disable=wildcard-import from .base import * from .folder import * __all__ = ( 'RemoteStashData', 'RemoteStashFolderData', ) # yapf: e...
18.111111
106
0.702454
37
326
6.081081
0.837838
0.088889
0
0
0
0
0
0
0
0
0
0.003731
0.177914
326
17
107
19.176471
0.835821
0.604294
0
0
1
0
0.302521
0.176471
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
e06d2fd158511a6c7851923a7b2f037169754fcb
947
py
Python
PYTFUN/170_Test_Driven_Development/bank_account.py
Pazzobg/PRG_PYTFUN
b661a3dd99279b3b7e3971ed1f1a194b26959f74
[ "MIT" ]
null
null
null
PYTFUN/170_Test_Driven_Development/bank_account.py
Pazzobg/PRG_PYTFUN
b661a3dd99279b3b7e3971ed1f1a194b26959f74
[ "MIT" ]
null
null
null
PYTFUN/170_Test_Driven_Development/bank_account.py
Pazzobg/PRG_PYTFUN
b661a3dd99279b3b7e3971ed1f1a194b26959f74
[ "MIT" ]
null
null
null
from datetime import datetime as dt class Account(): def __init__(self, account_nr, client_name, opening_date, interest_rate, opening_amount): self.account_nr = account_nr self.client_name = client_name self.opening_date = dt.strptime(opening_date, "%Y-%m-%d") self.interest_rate = ...
29.59375
93
0.668427
117
947
5.136752
0.324786
0.0599
0.1198
0.069884
0.362729
0.362729
0.362729
0.362729
0.362729
0.362729
0
0.001401
0.24604
947
31
94
30.548387
0.840336
0
0
0.409091
0
0
0.04963
0
0
0
0
0
0
1
0.227273
false
0.136364
0.045455
0.045455
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
e06d3507b4fe8967f6e4ef688a697c57ce276b97
380
py
Python
Chapter09/hikingapp/application/hiking/server.py
maggias/Python-Web-Development-with-Sanic
a0337b9324b4d898f79c5621705b7d0171eeb21d
[ "MIT" ]
16
2022-01-03T22:17:20.000Z
2022-03-26T09:41:35.000Z
Chapter09/hikingapp/application/hiking/server.py
maggias/Python-Web-Development-with-Sanic
a0337b9324b4d898f79c5621705b7d0171eeb21d
[ "MIT" ]
3
2022-01-18T11:21:56.000Z
2022-03-13T08:51:14.000Z
Chapter09/hikingapp/application/hiking/server.py
maggias/Python-Web-Development-with-Sanic
a0337b9324b4d898f79c5621705b7d0171eeb21d
[ "MIT" ]
4
2022-01-11T21:16:07.000Z
2022-03-30T06:24:30.000Z
from sanic import Sanic from hiking.common.log import setup_logging def create_app(): app = Sanic("HikingApp") setup_logging(app) from hiking.blueprints.view import bp # noqa from hiking.middleware import request_context # noqa from hiking.worker import postgres # noqa from hiking.worker ...
21.111111
57
0.718421
51
380
5.27451
0.470588
0.185874
0.156134
0.148699
0.193309
0
0
0
0
0
0
0
0.218421
380
17
58
22.352941
0.905724
0.05
0
0
0
0
0.025281
0
0
0
0
0
0
1
0.090909
false
0
0.545455
0
0.727273
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e071df6180dbb912b02250e2cc25fc29c18881bc
16,659
py
Python
packages/gsl/Vector.py
gmgunter/pyre
e9ff3f8c04661f8b2cd2ba0caded08b6fe8054e2
[ "BSD-3-Clause" ]
25
2018-04-23T01:45:39.000Z
2021-12-10T06:01:23.000Z
packages/gsl/Vector.py
gmgunter/pyre
e9ff3f8c04661f8b2cd2ba0caded08b6fe8054e2
[ "BSD-3-Clause" ]
53
2018-05-31T04:55:00.000Z
2021-10-07T21:41:32.000Z
packages/gsl/Vector.py
gmgunter/pyre
e9ff3f8c04661f8b2cd2ba0caded08b6fe8054e2
[ "BSD-3-Clause" ]
12
2018-04-23T22:50:40.000Z
2022-02-20T17:27:23.000Z
# -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2021 all rights reserved # # externals import numbers from . import gsl # the extension # the class declaration class Vector: """ A wrapper over a gsl vector """ # types from .Permutation import Permutation as permutation...
27.951342
109
0.563779
1,967
16,659
4.724453
0.179461
0.036802
0.022598
0.028624
0.470354
0.428495
0.399548
0.385451
0.36436
0.350802
0
0.001777
0.358305
16,659
595
110
27.998319
0.86754
0.360466
0
0.376812
0
0
0.015714
0
0
0
0
0
0
1
0.202899
false
0
0.033816
0.014493
0.512077
0.028986
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e075957167bccf1ecb23bf44924b30eb7476d30f
1,532
py
Python
day8.py
mayitbeegh/advent-of-code-2020
1b35bdad595db3ce72712e5e81163ae7f48c344c
[ "MIT" ]
3
2020-12-07T22:20:32.000Z
2020-12-07T22:21:56.000Z
day8.py
mayitbeegh/advent-of-code-2020
1b35bdad595db3ce72712e5e81163ae7f48c344c
[ "MIT" ]
null
null
null
day8.py
mayitbeegh/advent-of-code-2020
1b35bdad595db3ce72712e5e81163ae7f48c344c
[ "MIT" ]
null
null
null
def part_one(inputs): return get_acc(inputs, False) def part_two(inputs): for current_line in range(len(inputs)): backup = inputs[current_line] try: if inputs[current_line][:3] == 'nop' and inputs[current_line][4:] != '+0': inputs[current_line] = 'jmp' + inp...
27.357143
86
0.577023
205
1,532
4.107317
0.273171
0.287411
0.28266
0.149644
0.311164
0.209026
0.095012
0.095012
0.095012
0
0
0.025759
0.29047
1,532
55
87
27.854545
0.74885
0
0
0.208333
0
0
0.063969
0
0
0
0
0
0.041667
1
0.0625
false
0
0
0.020833
0.166667
0.041667
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0eba2208744f07369091fb7690933857649738bb
1,695
py
Python
25. python lists.py
JatinR05/Python-3-basics-series
e4b3d8056e2074602c9ed0cd201676484dd0d179
[ "MIT" ]
41
2015-05-12T12:49:35.000Z
2021-07-13T11:07:09.000Z
25. python lists.py
JatinR05/Python-3-basics-series
e4b3d8056e2074602c9ed0cd201676484dd0d179
[ "MIT" ]
null
null
null
25. python lists.py
JatinR05/Python-3-basics-series
e4b3d8056e2074602c9ed0cd201676484dd0d179
[ "MIT" ]
37
2016-10-13T04:02:09.000Z
2021-12-16T18:28:27.000Z
''' Since lists are mutable, this means that we will be using lists for things where we might intend to manipulate the list of data, so how can we do that? Turns out we can do all sorts of things. We can add, remove, count, sort, search, and do quite a few other things to python lists. ''' # first we need an example...
21.455696
80
0.703245
328
1,695
3.634146
0.448171
0.033557
0.011745
0.020134
0
0
0
0
0
0
0
0.018587
0.20649
1,695
78
81
21.730769
0.867658
0.821239
0
0.266667
0
0
0.077491
0
0
0
0
0
0
1
0
false
0
0
0
0
0.533333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
0ec1392f92d3736989af6b49b2a5ac2ae00a5f3f
401
py
Python
test/test_decode.py
jzkj-luolinh/simonsc
a3c47d4ae6eba71e91f6110fe53bf1fc2e99736d
[ "Apache-2.0" ]
2
2020-12-09T01:55:42.000Z
2021-06-30T18:28:25.000Z
test/test_decode.py
jzkj-luolinh/simonsc
a3c47d4ae6eba71e91f6110fe53bf1fc2e99736d
[ "Apache-2.0" ]
1
2020-12-31T06:09:56.000Z
2020-12-31T06:09:56.000Z
test/test_decode.py
jzkj-luolinh/simonsc
a3c47d4ae6eba71e91f6110fe53bf1fc2e99736d
[ "Apache-2.0" ]
10
2020-10-16T07:36:04.000Z
2021-01-25T08:57:47.000Z
# #!/usr/bin/env python3 # # -*- coding: utf-8 -*- # import pandas as pd # import datetime # from simonsc import auth # from simonsc import history_bars # auth("quantresearch","quantresearch") # dt = datetime.datetime(2020,4,20) # fields=["datetime","open","high","low","close"] # data = history_bars(order_book_id="...
23.588235
102
0.690773
56
401
4.857143
0.678571
0.080882
0.125
0
0
0
0
0
0
0
0
0.051282
0.124688
401
16
103
25.0625
0.723647
0.925187
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
0ec1f5b1cff3e8873b8bdbe0baa64e19fe70f666
2,550
py
Python
subreddit_summarizer/auth.py
uszkaisandor/subreddit-summarizer
6dd36836181bb3047f0ef17bf8542fd3ceab61de
[ "MIT" ]
null
null
null
subreddit_summarizer/auth.py
uszkaisandor/subreddit-summarizer
6dd36836181bb3047f0ef17bf8542fd3ceab61de
[ "MIT" ]
null
null
null
subreddit_summarizer/auth.py
uszkaisandor/subreddit-summarizer
6dd36836181bb3047f0ef17bf8542fd3ceab61de
[ "MIT" ]
null
null
null
from flask import ( Blueprint, redirect, render_template, request, session, url_for, current_app ) import pymongo from werkzeug.security import check_password_hash, generate_password_hash bp = Blueprint('auth', __name__, url_prefix='/') """ Connect to MongoDB """ conn = pymongo.MongoClient() # connect to ...
31.097561
97
0.619216
286
2,550
5.405594
0.272727
0.023286
0.054981
0.064683
0.354463
0.21216
0.21216
0.164295
0.10608
0.10608
0
0.001022
0.232549
2,550
81
98
31.481481
0.788963
0.023529
0
0.306452
1
0
0.185567
0
0
0
0
0
0
1
0.080645
false
0.145161
0.048387
0
0.258065
0.032258
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
1
0
0
0
0
0
2
0ec8d41d280ea99101dd0eda23622d3bd2ba7264
130
py
Python
d-series/d579.py
TheLurkingCat/ZeroJudge
6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee
[ "MIT" ]
1
2018-10-21T10:03:42.000Z
2018-10-21T10:03:42.000Z
d-series/d579.py
TheLurkingCat/ZeroJudge
6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee
[ "MIT" ]
null
null
null
d-series/d579.py
TheLurkingCat/ZeroJudge
6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee
[ "MIT" ]
2
2018-10-12T16:40:11.000Z
2021-04-05T12:05:36.000Z
while True: try: a = float(input()) except EOFError: break print('|{:.4f}|={:.4f}'.format(a, abs(a)))
18.571429
46
0.476923
16
130
3.875
0.8125
0
0
0
0
0
0
0
0
0
0
0.021978
0.3
130
6
47
21.666667
0.659341
0
0
0
0
0
0.115385
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0edb193daed3f23599e865e05db17baf8d451a4c
423
py
Python
tests/test_ledger.py
aslehigh/piecash
797aca5abd08b686e5d47f077b00a095fb4804ed
[ "MIT" ]
null
null
null
tests/test_ledger.py
aslehigh/piecash
797aca5abd08b686e5d47f077b00a095fb4804ed
[ "MIT" ]
null
null
null
tests/test_ledger.py
aslehigh/piecash
797aca5abd08b686e5d47f077b00a095fb4804ed
[ "MIT" ]
null
null
null
# -*- coding: latin-1 -*- import pytest import sys import codecs import piecash from test_helper import file_template_full if sys.version_info.major == 2: out = codecs.getwriter('UTF-8')(sys.stdout) else: out = sys.stdout class TestLedger_out_write(object): def test_out_write(self): with piecash....
24.882353
80
0.718676
63
423
4.619048
0.619048
0.082474
0.109966
0
0
0
0
0
0
0
0
0.008596
0.174941
423
17
81
24.882353
0.825215
0.054374
0
0
0
0
0.012531
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0ef671b4c13504159cc80475fd98eba6e1706ee2
5,786
py
Python
Tools/HIL/run_tests.py
AlexanderAurora/Firmware
c307a046f9370f7a4016a6eeeaa5ef2a30549eae
[ "BSD-3-Clause" ]
null
null
null
Tools/HIL/run_tests.py
AlexanderAurora/Firmware
c307a046f9370f7a4016a6eeeaa5ef2a30549eae
[ "BSD-3-Clause" ]
null
null
null
Tools/HIL/run_tests.py
AlexanderAurora/Firmware
c307a046f9370f7a4016a6eeeaa5ef2a30549eae
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/python import serial, time import subprocess from subprocess import call, Popen from argparse import ArgumentParser import re import unittest import os def do_test(port, baudrate, test_name): databits = serial.EIGHTBITS stopbits = serial.STOPBITS_ONE parity = serial.PARITY_NONE ser = seria...
31.445652
132
0.673349
735
5,786
5.053061
0.165986
0.129241
0.145396
0.161551
0.526387
0.516963
0.516963
0.516963
0.516963
0.516963
0
0.006333
0.208607
5,786
183
133
31.617486
0.804761
0.06654
0
0.198347
0
0
0.076067
0
0
0
0
0
0.223141
1
0.239669
false
0.008264
0.057851
0
0.330579
0.041322
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0eff23cb96a53d97373dd9fa43c22fb3599cd690
3,118
py
Python
test_user.py
Marah-uwase/Password_locker
d658d72e3e3b8f3317d30e6bb8f2d1cad7fdaed0
[ "MIT" ]
null
null
null
test_user.py
Marah-uwase/Password_locker
d658d72e3e3b8f3317d30e6bb8f2d1cad7fdaed0
[ "MIT" ]
null
null
null
test_user.py
Marah-uwase/Password_locker
d658d72e3e3b8f3317d30e6bb8f2d1cad7fdaed0
[ "MIT" ]
null
null
null
import unittest from user import User import pyperclip class testUser(unittest.TestCase): ''' Test class that defines test cases for the user class behaviours. Args: unittest.TestCase: TestCase class that helps in creating test cases ''' def setUp(self): """ Method to ru...
28.09009
106
0.610969
398
3,118
4.577889
0.248744
0.05708
0.066411
0.041164
0.367179
0.29034
0.235456
0.187706
0.13337
0.13337
0
0.008119
0.288967
3,118
110
107
28.345455
0.813712
0.259461
0
0.255814
0
0
0.118022
0
0
0
0
0
0.232558
1
0.209302
false
0.093023
0.069767
0
0.302326
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
1
0
0
0
0
0
2
160180fa6ac15c2ea8ee0daf13623e94eaf6e581
143
py
Python
solution-bank/pattern/solution_16.py
anishLearnsToCode/python-training-1
ef5d6b64f888e167faecd1410563173dcc27f319
[ "MIT" ]
3
2021-01-05T18:00:14.000Z
2021-11-28T15:43:04.000Z
solution-bank/pattern/solution_16.py
anishLearnsToCode/python-training-1
ef5d6b64f888e167faecd1410563173dcc27f319
[ "MIT" ]
null
null
null
solution-bank/pattern/solution_16.py
anishLearnsToCode/python-training-1
ef5d6b64f888e167faecd1410563173dcc27f319
[ "MIT" ]
null
null
null
rows = int(input()) number = 1 for i in range(rows): for j in range(i + 1): print(number, end=' ') number += 1 print()
17.875
30
0.51049
22
143
3.318182
0.545455
0.191781
0
0
0
0
0
0
0
0
0
0.03125
0.328671
143
7
31
20.428571
0.729167
0
0
0
0
0
0.006993
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1607e7fa48537da1777d4826e25725a95fc6728a
213
py
Python
Pi2/GPIO sandbox.py
jakehyvonen/BTSPython
9580a04622226a30fea4d5cbd036c7f88a9b732d
[ "MIT" ]
null
null
null
Pi2/GPIO sandbox.py
jakehyvonen/BTSPython
9580a04622226a30fea4d5cbd036c7f88a9b732d
[ "MIT" ]
null
null
null
Pi2/GPIO sandbox.py
jakehyvonen/BTSPython
9580a04622226a30fea4d5cbd036c7f88a9b732d
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(18,GPIO.OUT) while True: GPIO.output(18,GPIO.HIGH) time.sleep(1) GPIO.output(18,GPIO.LOW) time.sleep(1)
21.3
29
0.71831
37
213
4.135135
0.513514
0.117647
0.156863
0.20915
0
0
0
0
0
0
0
0.043716
0.140845
213
10
30
21.3
0.79235
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
160d85b3ec6a83b6bae2c34f841706d000d4e119
481
py
Python
site/tests/test_list.py
JamesHutchison/brython
3beb92bb6125a3e2e96b3e25e8fdac5f73a58871
[ "BSD-3-Clause" ]
2
2018-06-09T15:29:48.000Z
2019-11-13T09:15:08.000Z
site/tests/test_list.py
JamesHutchison/brython
3beb92bb6125a3e2e96b3e25e8fdac5f73a58871
[ "BSD-3-Clause" ]
2
2017-04-14T03:52:41.000Z
2017-04-14T04:02:06.000Z
site/tests/test_list.py
JamesHutchison/brython
3beb92bb6125a3e2e96b3e25e8fdac5f73a58871
[ "BSD-3-Clause" ]
2
2018-02-22T09:48:18.000Z
2020-06-04T17:00:09.000Z
# list examples z=[1,2,3] assert z.__class__ == list assert isinstance(z,list) assert str(z)=="[1, 2, 3]" a=['spam','eggs',100,1234] print(a[:2]+['bacon',2*2]) print(3*a[:3]+['Boo!']) print(a[:]) a[2]=a[2]+23 print(a) a[0:2]=[1,12] print(a) a[0:2]=[] print(a) a[1:1]=['bletch','xyzzy'] print(a) a[:0]=a print(a) a[:]=[...
14.147059
27
0.5842
101
481
2.70297
0.287129
0.21978
0.205128
0.087912
0.065934
0
0
0
0
0
0
0.093023
0.106029
481
33
28
14.575758
0.54186
0.039501
0
0.285714
0
0
0.098039
0
0
0
0
0
0.214286
1
0
false
0
0
0
0
0.392857
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
161f91d8b95c7a757527e07d67a4e5ab0740a5bd
566
py
Python
noticias/migrations/0003_auto_20190507_1727.py
miglesias91/dt
6e00f883ebdb581f87750852f18cf9e3058aae2f
[ "MIT" ]
null
null
null
noticias/migrations/0003_auto_20190507_1727.py
miglesias91/dt
6e00f883ebdb581f87750852f18cf9e3058aae2f
[ "MIT" ]
null
null
null
noticias/migrations/0003_auto_20190507_1727.py
miglesias91/dt
6e00f883ebdb581f87750852f18cf9e3058aae2f
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-05-07 20:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('noticias', '0002_remove_nota_comentario'), ] operations = [ migrations.AddField( model_name='nota', name='slug', ...
23.583333
64
0.572438
57
566
5.561404
0.631579
0.113565
0.14511
0.170347
0.29653
0.29653
0.29653
0.29653
0.29653
0
0
0.063131
0.300353
566
23
65
24.608696
0.737374
0.079505
0
0.470588
1
0
0.11368
0.052023
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1624dfaddc8d62bba59be7995c9ec30250e26ba8
268
py
Python
users/serializers.py
radwanov/EEnergy
c3a690c23d27efbe28faba07bc43441d0c0a0903
[ "MIT" ]
2
2022-03-14T15:42:12.000Z
2022-03-27T13:47:15.000Z
users/serializers.py
ahmedelmaghallawy/EEnergy
c3a690c23d27efbe28faba07bc43441d0c0a0903
[ "MIT" ]
4
2021-03-30T13:31:44.000Z
2021-09-22T18:55:23.000Z
users/serializers.py
ahmedelmaghallawy/EEnergy
c3a690c23d27efbe28faba07bc43441d0c0a0903
[ "MIT" ]
null
null
null
from rest_framework import serializers from django.contrib.auth import get_user_model class UserSerializer(serializers.ModelSerializer): """serialize user instance""" class Meta: model = get_user_model() fields = ['id', 'username', 'email']
24.363636
50
0.712687
30
268
6.2
0.7
0.075269
0.129032
0
0
0
0
0
0
0
0
0
0.186567
268
10
51
26.8
0.853211
0.085821
0
0
0
0
0.062762
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
16359a81bfbc505f5296b8d20108473ca48808e9
2,042
py
Python
src/apps/climsoft/schemas/instrument_schema.py
opencdms/opencdms-api
f1ed6e1d883025a8658746fe457e0c975718c7be
[ "MIT" ]
3
2020-12-01T09:25:18.000Z
2022-02-14T23:57:34.000Z
src/apps/climsoft/schemas/instrument_schema.py
opencdms/opencdms-api
f1ed6e1d883025a8658746fe457e0c975718c7be
[ "MIT" ]
11
2021-12-05T10:09:00.000Z
2022-02-17T08:11:22.000Z
src/apps/climsoft/schemas/instrument_schema.py
opencdms/opencdms-api
f1ed6e1d883025a8658746fe457e0c975718c7be
[ "MIT" ]
2
2021-03-10T19:03:05.000Z
2021-12-11T08:36:04.000Z
from typing import List from pydantic import BaseModel, constr from apps.climsoft.schemas import station_schema from apps.climsoft.schemas import Response field_names = { "instrumentName": "instrument_name", "instrumentId": "instrument_id", "serialNumber": "serial_number", "instrumentUncertainty": "in...
28.361111
56
0.754163
209
2,042
7.177033
0.282297
0.126
0.21
0.204
0.57
0.513333
0.470667
0.470667
0.470667
0.470667
0
0.034402
0.160137
2,042
71
57
28.760563
0.840233
0
0
0.518519
0
0
0.130328
0.053405
0
0
0
0
0
1
0
false
0
0.074074
0
0.722222
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
163b17e6e3928cdf7ab459de812eee18a84c688a
526
py
Python
ch3_Processing_Raw_Text/regexp_tokenize.py
MingjunZhou/nltk_book
62eef0f5a1855e3d6c523a8d58e8725f459d2fbd
[ "BSD-3-Clause" ]
1
2015-01-06T11:37:14.000Z
2015-01-06T11:37:14.000Z
ch3_Processing_Raw_Text/regexp_tokenize.py
MingjunZhou/nltk_book
62eef0f5a1855e3d6c523a8d58e8725f459d2fbd
[ "BSD-3-Clause" ]
null
null
null
ch3_Processing_Raw_Text/regexp_tokenize.py
MingjunZhou/nltk_book
62eef0f5a1855e3d6c523a8d58e8725f459d2fbd
[ "BSD-3-Clause" ]
null
null
null
import nltk text = 'That U.S.A. poster-print costs $12.40...' pattern = r'''(?x) # set flag to allow verbose regexps ([A-Z]\.)+ # abbreviations, e.g. U.S.A. | \w+(-\w+)* # words with optional internal hyphens | \$?\d+(\.\d+)?%? # curren...
40.461538
81
0.439163
57
526
4.017544
0.754386
0.017467
0.026201
0
0
0
0
0
0
0
0
0.030211
0.370722
526
12
82
43.833333
0.661631
0
0
0
0
0.1
0.840304
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
165aea16cee92f41a58d74bcedca5180d887ff9e
4,660
py
Python
tests/core/actions/test_loops.py
fintzd/rasa
6359be5509c7d87cd29c2ab5149bc45e843fea85
[ "Apache-2.0" ]
9,701
2019-04-16T15:46:27.000Z
2022-03-31T11:52:18.000Z
tests/core/actions/test_loops.py
fintzd/rasa
6359be5509c7d87cd29c2ab5149bc45e843fea85
[ "Apache-2.0" ]
6,420
2019-04-16T15:58:22.000Z
2022-03-31T17:54:35.000Z
tests/core/actions/test_loops.py
fintzd/rasa
6359be5509c7d87cd29c2ab5149bc45e843fea85
[ "Apache-2.0" ]
3,063
2019-04-16T15:23:52.000Z
2022-03-31T00:01:12.000Z
from typing import List, Any, Text import pytest from rasa.core.actions.loops import LoopAction from rasa.core.channels import CollectingOutputChannel from rasa.shared.core.domain import Domain from rasa.shared.core.events import ( Event, ActionExecutionRejected, ActionExecuted, ActiveLoop, SlotSet...
27.738095
88
0.627039
473
4,660
5.983087
0.173362
0.048057
0.062191
0.031802
0.780919
0.759011
0.699647
0.690459
0.690459
0.690459
0
0.00089
0.276609
4,660
167
89
27.904192
0.838624
0
0
0.685039
0
0
0.03133
0
0
0
0
0
0.03937
1
0.023622
false
0
0.062992
0.023622
0.220472
0
0
0
0
null
0
0
0
0
1
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
2
1670f0992ad528fa54171da132322e8c1a3fb07a
2,147
py
Python
2018/wip/makemap.py
Deph0/adventofcode
79433579954d177d886cfb550b3e03d2e3ca21dc
[ "MIT" ]
null
null
null
2018/wip/makemap.py
Deph0/adventofcode
79433579954d177d886cfb550b3e03d2e3ca21dc
[ "MIT" ]
1
2021-05-26T20:36:27.000Z
2021-05-26T21:42:06.000Z
2018/wip/makemap.py
Deph0/adventofcode
79433579954d177d886cfb550b3e03d2e3ca21dc
[ "MIT" ]
null
null
null
# AdventOfCode 2018 day 3 pt 1 # https://adventofcode.com/2018/day/3 #r = [1,1,4,4] # x,y,w,h r1 = [1,3,4,4] r2 = [3,1,4,4] r3 = [5,5,2,2] r = [r1,r2,r3] size = 8 #map = [['.' for i in range(size)]]*size # copies the reference to each row map = [x[:] for x in [['.'] * size] * size] #map = [['.', '.', '.', '.', '.', ...
25.258824
343
0.372613
346
2,147
2.309249
0.184971
0.075094
0.105131
0.130163
0.660826
0.628285
0.590738
0.590738
0.590738
0.590738
0
0.041063
0.228691
2,147
84
344
25.559524
0.441425
0.542152
0
0.595745
0
0
0.008556
0
0
0
0
0
0
0
null
null
0
0
null
null
0.085106
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
168607652349f1ae2e6a5dbff382bd0a9c85e8e0
504
py
Python
tests/unit/test_get_lending_pool.py
ZeroEkkusu/aave_brownie_py
a237ca2534a891a0ef4934b70d94e3b62a93cadc
[ "MIT" ]
1
2022-03-02T06:05:00.000Z
2022-03-02T06:05:00.000Z
tests/unit/test_get_lending_pool.py
ZeroEkkusu/aave_brownie_py
a237ca2534a891a0ef4934b70d94e3b62a93cadc
[ "MIT" ]
1
2022-01-26T10:42:32.000Z
2022-01-26T11:04:43.000Z
tests/unit/test_get_lending_pool.py
ZeroEkkusu/aave_brownie_py
a237ca2534a891a0ef4934b70d94e3b62a93cadc
[ "MIT" ]
null
null
null
from brownie import interface, network, config def test_get_lending_pool(test_only_locally): # Arrange/Act lending_pool_addresses_provider = interface.ILendingPoolAddressesProvider( config["networks"][network.show_active()]["lending_pool_addresses_provider"]) lending_pool_address = lending_pool_ad...
42
85
0.80754
51
504
7.568627
0.509804
0.227979
0.15544
0.217617
0
0
0
0
0
0
0
0.053933
0.117063
504
11
86
45.818182
0.813483
0.035714
0
0
0
0
0.167702
0.151139
0
0
0.086957
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
168c067e0f4da6002751ff9b182a14b19565b33f
3,173
py
Python
src/process/domain/integration/services/DataIntegrationConnectionQueueService.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
null
null
null
src/process/domain/integration/services/DataIntegrationConnectionQueueService.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
null
null
null
src/process/domain/integration/services/DataIntegrationConnectionQueueService.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
null
null
null
from injector import inject from infrastructor.data.DatabaseSessionManager import DatabaseSessionManager from infrastructor.data.Repository import Repository from infrastructor.dependency.scopes import IScoped from models.dao.integration import DataIntegrationConnectionQueue from models.dao.integration.DataIntegrationC...
56.660714
132
0.669083
240
3,173
8.479167
0.191667
0.162162
0.27027
0.176904
0.42801
0.42801
0.306634
0.306634
0.306634
0.306634
0
0.000857
0.264103
3,173
55
133
57.690909
0.870664
0
0
0.212766
0
0
0
0
0
0
0
0
0
1
0.12766
false
0
0.148936
0
0.382979
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
16a4359618521739ad22a39abac86f02f7d06b82
346
py
Python
streamduo/api/health.py
streamduo-inc/streamduo-python-sdk
740e37c29656861522be718c216f99cba8cad70c
[ "MIT" ]
1
2022-02-02T15:30:10.000Z
2022-02-02T15:30:10.000Z
streamduo/api/health.py
streamduo-inc/streamduo-python-sdk
740e37c29656861522be718c216f99cba8cad70c
[ "MIT" ]
null
null
null
streamduo/api/health.py
streamduo-inc/streamduo-python-sdk
740e37c29656861522be718c216f99cba8cad70c
[ "MIT" ]
null
null
null
class HealthController: """ Manages interactions with the /health endpoints """ def __init__(self, client): self.client = client def check_health(self): """ GET request ot the /health endpoint :return: Requests Response Object """ return self.client.c...
24.714286
53
0.601156
36
346
5.611111
0.638889
0.148515
0
0
0
0
0
0
0
0
0
0
0.294798
346
13
54
26.615385
0.827869
0.33815
0
0
0
0
0.054945
0
0
0
0
0
0
1
0.4
false
0
0
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
1
0
0
0
0
1
0
0
2
16bc02c67abb460c961171cc1c638c4aa3eff90b
3,984
py
Python
src/pwinput/__init__.py
MrDebugger/pwinput
2ec28c5fbde9b67d255e1eaeef0a9187eb709edf
[ "MIT" ]
null
null
null
src/pwinput/__init__.py
MrDebugger/pwinput
2ec28c5fbde9b67d255e1eaeef0a9187eb709edf
[ "MIT" ]
null
null
null
src/pwinput/__init__.py
MrDebugger/pwinput
2ec28c5fbde9b67d255e1eaeef0a9187eb709edf
[ "MIT" ]
null
null
null
"""PWInput By Al Sweigart al@inventwithpython.com A cross-platform Python module that displays **** for password input. Works on Windows, unlike getpass. Formerly called stdiomask.""" __version__ = '1.0.2' # type: str import sys """Notes about making this code backwards-compatible with Python 2: sys.stdout.write(...
39.84
133
0.625
549
3,984
4.468124
0.371585
0.040359
0.045658
0.026091
0.202201
0.19364
0.175703
0.158174
0.158174
0.128007
0
0.014276
0.279116
3,984
99
134
40.242424
0.839833
0.313002
0
0.234375
0
0
0.083078
0
0
0
0
0.010101
0
1
0.03125
false
0.15625
0.09375
0
0.171875
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
1
0
0
0
0
0
2
16d2e529be1a7776f054de0133178cada0985e7b
1,342
py
Python
dpm/distributions/generator.py
nextBillyonair/DPM
840ffaafe15c208b200b74094ffa8fe493b4c975
[ "MIT" ]
1
2021-07-20T14:02:55.000Z
2021-07-20T14:02:55.000Z
dpm/distributions/generator.py
nextBillyonair/DPM
840ffaafe15c208b200b74094ffa8fe493b4c975
[ "MIT" ]
null
null
null
dpm/distributions/generator.py
nextBillyonair/DPM
840ffaafe15c208b200b74094ffa8fe493b4c975
[ "MIT" ]
null
null
null
import torch from torch import nn from torch import distributions as dists from torch.nn import Module, Parameter, ModuleList from torch.nn.functional import softplus import numpy as np import math from .distribution import Distribution from .normal import Normal from .conditional_model import ConditionalModel from .di...
38.342857
108
0.71237
157
1,342
5.853503
0.401274
0.137106
0.119695
0.056583
0
0
0
0
0
0
0
0.005687
0.21386
1,342
34
109
39.470588
0.865403
0
0
0
0
0
0.036513
0
0
0
0
0
0
1
0.137931
false
0
0.37931
0.034483
0.62069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
16de93fe16916392547641a1dcaf11b095f41e1b
775
py
Python
steps/ShoutSteps.py
cucumber-ltd/shouty-python
cb6081ea75f1a7cb1e49c134a47136a05d55789b
[ "MIT" ]
null
null
null
steps/ShoutSteps.py
cucumber-ltd/shouty-python
cb6081ea75f1a7cb1e49c134a47136a05d55789b
[ "MIT" ]
null
null
null
steps/ShoutSteps.py
cucumber-ltd/shouty-python
cb6081ea75f1a7cb1e49c134a47136a05d55789b
[ "MIT" ]
1
2021-07-15T08:27:46.000Z
2021-07-15T08:27:46.000Z
from behave import * from Coordinate import Coordinate from Shouty import Shouty # use_step_matcher("re") SHOUTY = Shouty() ARBITRARY_MESSAGE = "Hello, world" @given('Lucy is at {xCoord:d}, {yCoord:d}') def step_impl(context, xCoord, yCoord): SHOUTY.set_location("Lucy", Coordinate(xCoord, yCoord)) @step('Sea...
22.142857
59
0.717419
111
775
4.855856
0.36036
0.064935
0.102041
0.166976
0.437848
0.348794
0.348794
0.241187
0.241187
0.241187
0
0.002972
0.131613
775
34
60
22.794118
0.79792
0.028387
0
0.25
0
0
0.20506
0
0
0
0
0
0.1
1
0.25
false
0
0.15
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
16e34ce2c90e292ff9a71ce49fe01c8a2302c7d6
572
py
Python
tests/models/test_inv_resourcegroup.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
tests/models/test_inv_resourcegroup.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
tests/models/test_inv_resourcegroup.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
# ---------------------------------------------------------------------- # inv.ResourceGroup tests # ---------------------------------------------------------------------- # Copyright (C) 2007-2018 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # NOC ...
38.133333
86
0.466783
50
572
5.14
0.78
0.062257
0
0
0
0
0
0
0
0
0
0.015534
0.09965
572
14
87
40.857143
0.483495
0.545455
0
0
0
0
0.238095
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
16eb2a1ab98fa4018a67799fd70122be35a4a06c
19,381
py
Python
act/thermo.py
RPGroup-PBoC/mwc_activation
6ef3f02a53ecd80877082006ecc4b8fe4204c1d6
[ "MIT" ]
null
null
null
act/thermo.py
RPGroup-PBoC/mwc_activation
6ef3f02a53ecd80877082006ecc4b8fe4204c1d6
[ "MIT" ]
null
null
null
act/thermo.py
RPGroup-PBoC/mwc_activation
6ef3f02a53ecd80877082006ecc4b8fe4204c1d6
[ "MIT" ]
null
null
null
""" A module for computing properties of various transcriptional regulatory architectures. """ import numpy as np import scipy.optimize class MWC(object): R""" A base class for the Monod - Wyman - Changeux model for allostery. """ def __init__(self, effector_conc=None, ka=None, ki=None, ep_ai=None...
35.561468
97
0.562716
2,464
19,381
4.336445
0.096591
0.02555
0.033692
0.030884
0.746748
0.723538
0.687412
0.670566
0.658306
0.645297
0
0.008859
0.34766
19,381
544
98
35.626838
0.836273
0.438574
0
0.568282
0
0
0.070096
0
0
0
0
0
0
1
0.092511
false
0
0.008811
0
0.193833
0
0
0
0
null
0
0
0
0
1
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
2
bc3ffd9a63aec03ae7504d78e07335c16e7a2800
634
py
Python
src/pirateplayer/utils/confparse.py
TestDotCom/pirateplayer
c7c23f670d35b7c4f236d0f22a084cb6ee6ab5b9
[ "MIT" ]
12
2020-05-25T18:52:48.000Z
2022-03-15T15:12:54.000Z
src/pirateplayer/utils/confparse.py
TestDotCom/pirateplayer
c7c23f670d35b7c4f236d0f22a084cb6ee6ab5b9
[ "MIT" ]
4
2020-09-11T13:29:52.000Z
2021-12-17T16:55:54.000Z
src/pirateplayer/utils/confparse.py
TestDotCom/pirateplayer
c7c23f670d35b7c4f236d0f22a084cb6ee6ab5b9
[ "MIT" ]
null
null
null
# pylint: disable=missing-module-docstring import configparser import logging import os _LOGGER = logging.getLogger(__name__) _CONF = configparser.ConfigParser() def init(): """Read configuration file""" _CONF.read(os.path.expanduser('~/.config/pirateplayer/conf.ini')) def get_root() -> str: """Return ...
25.36
71
0.690852
79
634
5.392405
0.607595
0.028169
0.075117
0
0
0
0
0
0
0
0
0
0.149842
634
24
72
26.416667
0.790353
0.309148
0
0
0
0
0.145278
0.075061
0
0
0
0
0
1
0.272727
false
0
0.272727
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
bc4accac7ce0137550f2c96a5cd901c5465b8400
136
py
Python
base/site-packages/authsub/urls.py
edisonlz/fastor
342078a18363ac41d3c6b1ab29dbdd44fdb0b7b3
[ "Apache-2.0" ]
285
2019-12-23T09:50:21.000Z
2021-12-08T09:08:49.000Z
pinax/apps/authsub/urls.py
SMiGL/pinax
d08b2655fe661566bd13c5c170b1a4cad9e67a1d
[ "MIT" ]
null
null
null
pinax/apps/authsub/urls.py
SMiGL/pinax
d08b2655fe661566bd13c5c170b1a4cad9e67a1d
[ "MIT" ]
9
2019-12-23T12:59:25.000Z
2022-03-15T05:12:11.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('', url(r'^login/$', 'authsub.views.login', name="authsub_login"), )
27.2
66
0.691176
17
136
5.470588
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.110294
136
5
67
27.2
0.768595
0
0
0
0
0
0.291971
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bc53433b45808b824f9ef21a112a8b6ae1bcc1b8
4,652
py
Python
src/about_dlg.py
Bertrand256/dash-masternode-tool
8fd15e956fd50d4e0da49b7b47fcfdddad14f19d
[ "MIT" ]
75
2017-03-20T06:33:14.000Z
2022-02-15T16:16:45.000Z
src/about_dlg.py
Bertrand256/dash-masternode-tool
8fd15e956fd50d4e0da49b7b47fcfdddad14f19d
[ "MIT" ]
42
2017-10-25T06:34:54.000Z
2022-02-10T20:53:46.000Z
src/about_dlg.py
Bertrand256/dash-masternode-tool
8fd15e956fd50d4e0da49b7b47fcfdddad14f19d
[ "MIT" ]
98
2017-03-20T05:27:36.000Z
2022-03-20T05:03:08.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Author: Bertrand256 # Created on: 2017-03 import os import sys from PyQt5 import QtWidgets from PyQt5.QtCore import QSize, pyqtSlot from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import QDialog from ui import ui_about_dlg from wnd_utils import WndUtils, QDetectT...
56.048193
267
0.699699
687
4,652
4.673945
0.298399
0.086889
0.044534
0.065089
0.453753
0.427593
0.41389
0.41389
0.384615
0.353161
0
0.037884
0.126182
4,652
83
268
56.048193
0.75203
0.017842
0
0.157143
0
0.3
0.631187
0.073149
0
0
0
0
0
1
0.071429
false
0
0.114286
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bc53f5427f1766b08a1850c7f243ebf9b07df940
1,978
py
Python
tests/test_pipelines.py
akamanzi/scrapy
4d594b8c2bf32cb2e171805cdb71c68b5184cca3
[ "BSD-3-Clause" ]
1
2020-01-04T15:53:27.000Z
2020-01-04T15:53:27.000Z
tests/test_pipelines.py
billkangbin/scrapy
ce618fb6f234a854ae3b2a14a8a4e488539999bb
[ "BSD-3-Clause" ]
null
null
null
tests/test_pipelines.py
billkangbin/scrapy
ce618fb6f234a854ae3b2a14a8a4e488539999bb
[ "BSD-3-Clause" ]
1
2021-06-24T17:15:29.000Z
2021-06-24T17:15:29.000Z
from twisted.internet import defer from twisted.internet.defer import Deferred from twisted.trial import unittest from scrapy import Spider, signals, Request from scrapy.utils.test import get_crawler from tests.mockserver import MockServer class SimplePipeline: def process_item(self, item, spider): item...
27.472222
76
0.674924
224
1,978
5.763393
0.3125
0.065066
0.055771
0.027885
0.255616
0.255616
0.106894
0.106894
0.106894
0.106894
0
0.005229
0.226491
1,978
71
77
27.859155
0.838562
0
0
0.226415
0
0
0.044489
0
0
0
0
0
0.075472
1
0.207547
false
0.056604
0.113208
0.018868
0.509434
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
1
0
0
0
0
0
2
bc6d5e8dd3f3a74c05ebab2b43fbfc0a5c262f8d
2,626
py
Python
molsysmt/tests/topology/get_sequence_identity/test_get_sequence_identity.py
dprada/molsysmt
83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d
[ "MIT" ]
null
null
null
molsysmt/tests/topology/get_sequence_identity/test_get_sequence_identity.py
dprada/molsysmt
83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d
[ "MIT" ]
null
null
null
molsysmt/tests/topology/get_sequence_identity/test_get_sequence_identity.py
dprada/molsysmt
83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d
[ "MIT" ]
null
null
null
""" Unit and regression test for the get_sequence_identity module of the molsysmt package on molsysmt MolSys molecular systems. """ # Import package, test suite, and other packages as needed import molsysmt as msm import numpy as np import math as math # Distance between atoms in space and time def test_get_sequence...
70.972973
131
0.613481
467
2,626
3.374732
0.468951
0.050761
0.036168
0.021574
0.568528
0.536802
0.536802
0.497462
0.497462
0.497462
0
0.375492
0.2262
2,626
36
132
72.944444
0.400098
0.084539
0
0
0
0
0.054302
0.02005
0
0
0
0
0.038462
1
0.038462
false
0
0.115385
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bc87c4fd05dad0241a52bffc55c49157b5f7dc36
1,444
py
Python
geneticalgorithm/selectionfunctions.py
grajekf/wae-2018
609423ad5a6431da3cc481aedfe23c5fdd156373
[ "MIT" ]
null
null
null
geneticalgorithm/selectionfunctions.py
grajekf/wae-2018
609423ad5a6431da3cc481aedfe23c5fdd156373
[ "MIT" ]
null
null
null
geneticalgorithm/selectionfunctions.py
grajekf/wae-2018
609423ad5a6431da3cc481aedfe23c5fdd156373
[ "MIT" ]
null
null
null
import numpy as np from geneticalgorithm.selectionfunctor import SelectionFunctor class TournamentSelection(SelectionFunctor): def __init__(self, torunament_size): self.tournament_size = torunament_size def _select(self, population, fitness): population_with_fitness = list(zip(population, fitn...
33.581395
126
0.668283
165
1,444
5.654545
0.290909
0.163987
0.135048
0.07074
0.466238
0.351554
0.351554
0.351554
0.293676
0.293676
0
0.004533
0.23615
1,444
42
127
34.380952
0.841342
0.335873
0
0
0
0
0.031646
0
0
0
0
0
0
1
0.238095
false
0
0.095238
0.095238
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
1
0
0
0
0
1
0
0
2
bc96f40fb40b644c2ae4d1967127065007a23b3b
114
py
Python
modelsearch/src/common.py
stevencdang/AutoML-DS-Components
b0490262d3db5307c37f82c92e25cd938dd3a242
[ "Apache-2.0" ]
null
null
null
modelsearch/src/common.py
stevencdang/AutoML-DS-Components
b0490262d3db5307c37f82c92e25cd938dd3a242
[ "Apache-2.0" ]
8
2020-09-04T17:39:26.000Z
2022-03-02T03:28:38.000Z
modelsearch/src/common.py
stevencdang/AutoML-DS-Components
b0490262d3db5307c37f82c92e25cd938dd3a242
[ "Apache-2.0" ]
null
null
null
import logging logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) __version__ = '0.1'
16.285714
39
0.789474
14
114
5.857143
0.785714
0
0
0
0
0
0
0
0
0
0
0.019417
0.096491
114
6
40
19
0.776699
0
0
0
0
0
0.026316
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bc999a8cba585f6ba3d8b7997aad9afe89cf1510
317
py
Python
src/django_dynamicfields/table_storage/admin.py
saxix/django-dynamicfields
4c200a3de1b2082f18d89f6b2484103888524f93
[ "BSD-3-Clause" ]
1
2021-07-14T02:48:25.000Z
2021-07-14T02:48:25.000Z
src/django_dynamicfields/table_storage/admin.py
saxix/django-dynamicfields
4c200a3de1b2082f18d89f6b2484103888524f93
[ "BSD-3-Clause" ]
null
null
null
src/django_dynamicfields/table_storage/admin.py
saxix/django-dynamicfields
4c200a3de1b2082f18d89f6b2484103888524f93
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals from django.contrib import admin from django.contrib.admin import ModelAdmin from .models import TableStorage @admin.register(TableStorage) class ICustomFieldHolder(ModelAdmin): list_display = ('field', 'value')
24.384615
72
0.785489
37
317
6.513514
0.648649
0.082988
0.141079
0
0
0
0
0
0
0
0
0.003584
0.119874
317
12
73
26.416667
0.860215
0.066246
0
0
0
0
0.034014
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.857143
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
bca044293a22ab251d85ea4c7ebcefa165d6b650
79
py
Python
test.py
php568/FlapPyBird-master
0afcfc8c96762cd2f1931c668681b89bd2f0de44
[ "MIT" ]
null
null
null
test.py
php568/FlapPyBird-master
0afcfc8c96762cd2f1931c668681b89bd2f0de44
[ "MIT" ]
null
null
null
test.py
php568/FlapPyBird-master
0afcfc8c96762cd2f1931c668681b89bd2f0de44
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- a = ['doge1','doge2','doge3','doge4'] print(a)
6.583333
37
0.468354
10
79
3.7
0.9
0
0
0
0
0
0
0
0
0
0
0.080645
0.21519
79
11
38
7.181818
0.516129
0.265823
0
0
0
0
0.416667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
bca64fd690ec5ac86896993d46e62da31694a534
322
py
Python
apps/organization/migrations/0017_merge.py
SVArago/alexia
96ae6dfabb893388bd4610ea971574a993b8029d
[ "BSD-3-Clause" ]
3
2015-12-22T00:50:43.000Z
2017-01-07T18:09:36.000Z
apps/organization/migrations/0017_merge.py
SVArago/alexia
96ae6dfabb893388bd4610ea971574a993b8029d
[ "BSD-3-Clause" ]
24
2015-11-02T15:38:40.000Z
2017-01-07T21:18:42.000Z
apps/organization/migrations/0017_merge.py
SVArago/alexia
96ae6dfabb893388bd4610ea971574a993b8029d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-10-11 19:00 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('organization', '0011_merge'), ('organization', '0016_merge'), ] operations = [ ...
18.941176
48
0.645963
37
322
5.432432
0.783784
0
0
0
0
0
0
0
0
0
0
0.1
0.223602
322
16
49
20.125
0.704
0.21118
0
0
1
0
0.175299
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
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
1
0
0
2
bcb135fd17acb275088df3eac095e655af0416c1
3,283
py
Python
romcomma/mogpflow/mean_functions.py
C-O-M-M-A/rom-comma
2e4c5e200b3a3cc9a5c578c803575cf76445f2cf
[ "BSD-3-Clause" ]
1
2021-06-08T16:01:09.000Z
2021-06-08T16:01:09.000Z
romcomma/mogpflow/mean_functions.py
C-O-M-M-A/rom-comma
2e4c5e200b3a3cc9a5c578c803575cf76445f2cf
[ "BSD-3-Clause" ]
null
null
null
romcomma/mogpflow/mean_functions.py
C-O-M-M-A/rom-comma
2e4c5e200b3a3cc9a5c578c803575cf76445f2cf
[ "BSD-3-Clause" ]
2
2021-07-05T11:58:05.000Z
2021-11-06T17:35:11.000Z
# BSD 3-Clause License. # # Copyright (c) 2019-2021 Robert A. Milton. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, ...
49.742424
148
0.736521
449
3,283
5.302895
0.443207
0.076438
0.027719
0.01932
0.077278
0.057119
0.057119
0.057119
0.057119
0.057119
0
0.005323
0.198903
3,283
65
149
50.507692
0.9
0.660676
0
0.130435
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.217391
0.043478
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
bcb43e9b5d3b68b89e53bad3933456c3adcdc7da
33,529
py
Python
pysnmp/DAVID-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/DAVID-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/DAVID-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module DAVID-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DAVID-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:21:39 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23...
129.455598
5,017
0.752185
3,873
33,529
6.511748
0.081332
0.020301
0.014988
0.019984
0.492308
0.466812
0.380174
0.374148
0.32839
0.275337
0
0.078064
0.084971
33,529
258
5,018
129.957364
0.74397
0.009305
0
0
0
0
0.09844
0.002078
0
0
0
0
0
1
0
false
0
0.027888
0
0.027888
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bcc2aade9ea83649520c64810e09e87b3fbcfdfb
273
py
Python
documents/error_calculate/error_calculate.py
fe1t/wifi_positioning
a4059704ed66404b9c2f143b07b5c02fdb69c8a7
[ "MIT" ]
2
2017-12-20T14:01:01.000Z
2021-12-29T08:31:44.000Z
documents/error_calculate/error_calculate.py
fe1t/wifi_positioning
a4059704ed66404b9c2f143b07b5c02fdb69c8a7
[ "MIT" ]
null
null
null
documents/error_calculate/error_calculate.py
fe1t/wifi_positioning
a4059704ed66404b9c2f143b07b5c02fdb69c8a7
[ "MIT" ]
null
null
null
import math with open("error_collection") as f: data = eval(f.read()) def find_erdst(x1, y1, x2, y2): return math.sqrt( (x1-x2)**2 + (y1 - y2) ** 2) error_distance = 0 for i in data: error_distance += find_erdst(*i) print float(error_distance) / len(data)
18.2
50
0.644689
46
273
3.695652
0.630435
0.229412
0
0
0
0
0
0
0
0
0
0.050228
0.197802
273
14
51
19.5
0.726027
0
0
0
0
0
0.058824
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
bcc36e7cdd3a9e6085424429b5fb4d4950ab10ef
1,414
py
Python
cooking_dl.py
ilvar/coursera_cooking_dl
31ab3ed551d087ad0b03df52d4949f09587dee15
[ "MIT" ]
null
null
null
cooking_dl.py
ilvar/coursera_cooking_dl
31ab3ed551d087ad0b03df52d4949f09587dee15
[ "MIT" ]
null
null
null
cooking_dl.py
ilvar/coursera_cooking_dl
31ab3ed551d087ad0b03df52d4949f09587dee15
[ "MIT" ]
null
null
null
import netrc import os import selenium.webdriver import wget rc = netrc.netrc() user, host, password = rc.hosts['coursera-dl'] try: os.makedirs(os.path.join('.', 'videos')) except OSError: pass browser = selenium.webdriver.Firefox() browser.implicitly_wait(10) try: browser.get('https://www.coursera.org/...
32.136364
108
0.681047
196
1,414
4.734694
0.464286
0.082974
0.116379
0.12931
0.206897
0.174569
0.174569
0.174569
0.174569
0.174569
0
0.005106
0.169024
1,414
43
109
32.883721
0.784681
0
0
0.058824
0
0
0.23338
0.113861
0
0
0
0
0
0
null
null
0.088235
0.117647
null
null
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
bcc91f3666662e9b6a5c9d87f7ed3c4635394635
7,142
py
Python
securetea/args/arguments.py
jay13patel/SecureTea-Project
73686512bd3633809bb3e83948d3d4ea45cc0218
[ "MIT" ]
1
2019-03-26T11:01:03.000Z
2019-03-26T11:01:03.000Z
securetea/args/arguments.py
jay13patel/SecureTea-Project
73686512bd3633809bb3e83948d3d4ea45cc0218
[ "MIT" ]
null
null
null
securetea/args/arguments.py
jay13patel/SecureTea-Project
73686512bd3633809bb3e83948d3d4ea45cc0218
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- u"""Arguments module for SecureTea. Project: ╔═╗┌─┐┌─┐┬ ┬┬─┐┌─┐╔╦╗┌─┐┌─┐ ╚═╗├┤ │ │ │├┬┘├┤ ║ ├┤ ├─┤ ╚═╝└─┘└─┘└─┘┴└─└─┘ ╩ └─┘┴ ┴ Author: Rejah Rehim <rejah@appfabs.com> , Aug 31 2018 Version: 1.1 Module: SecureTea """ import argparse def get_args(): """Docstring....
20.347578
76
0.521143
742
7,142
4.959569
0.200809
0.107609
0.203261
0.190217
0.608696
0.495652
0.326359
0.170652
0.082065
0
0
0.005388
0.350322
7,142
350
77
20.405714
0.772845
0.042705
0
0.452962
0
0
0.290119
0.021583
0
0
0
0
0
1
0.003484
false
0
0.003484
0
0.010453
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bccfcffbb39fca37f60ccc443b121849785ebf24
88
py
Python
chapter10/examples/file_examples/with_file.py
YordanIH/Intro_to_CS_w_Python
eebbb8efd7ef0d07be9bc45b6b1e8f20737ce01a
[ "MIT" ]
null
null
null
chapter10/examples/file_examples/with_file.py
YordanIH/Intro_to_CS_w_Python
eebbb8efd7ef0d07be9bc45b6b1e8f20737ce01a
[ "MIT" ]
null
null
null
chapter10/examples/file_examples/with_file.py
YordanIH/Intro_to_CS_w_Python
eebbb8efd7ef0d07be9bc45b6b1e8f20737ce01a
[ "MIT" ]
null
null
null
with open('file_example.txt', 'r') as file: contents = file.read() print(contents)
17.6
43
0.670455
13
88
4.461538
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.159091
88
4
44
22
0.783784
0
0
0
0
0
0.193182
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bce9d13708c55bad3aa02aa3011288d4cd4b2fed
3,906
py
Python
tests/test_app.py
eliksir/Flask-RQ2
e90a624d5429539e2c91243d2d1d11b435b375ad
[ "MIT" ]
160
2018-02-06T15:18:20.000Z
2022-03-31T09:39:31.000Z
tests/test_app.py
eliksir/Flask-RQ2
e90a624d5429539e2c91243d2d1d11b435b375ad
[ "MIT" ]
62
2018-02-05T11:23:13.000Z
2022-02-19T16:34:58.000Z
tests/test_app.py
eliksir/Flask-RQ2
e90a624d5429539e2c91243d2d1d11b435b375ad
[ "MIT" ]
33
2018-03-02T01:26:18.000Z
2022-02-05T09:07:58.000Z
# -*- coding: utf-8 -*- from redis import StrictRedis from rq.queue import Queue from rq.utils import import_attribute from rq.worker import Worker from rq_scheduler import Scheduler import pytest from flask_rq2 import RQ def exception_handler(*args, **kwargs): pass def test_init_app(app, config): rq = RQ(...
27.125
70
0.740143
541
3,906
5.085028
0.133087
0.048346
0.032715
0.026172
0.272628
0.189022
0.139586
0.117048
0.051618
0.051618
0
0.007983
0.166155
3,906
143
71
27.314685
0.83666
0.014593
0
0.129032
0
0
0.037962
0.012481
0
0
0
0
0.451613
1
0.215054
false
0.010753
0.11828
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
bcedf0f2d815f1f2aee3c13ec37a18efe1beeae6
258
py
Python
winregistry/__init__.py
michael-rolfe/winregistry
f3f2cfcb794a0482283ce7c96d03b13f665c3695
[ "MIT" ]
18
2017-04-04T04:19:13.000Z
2022-01-11T09:16:52.000Z
winregistry/__init__.py
michael-rolfe/winregistry
f3f2cfcb794a0482283ce7c96d03b13f665c3695
[ "MIT" ]
6
2017-09-21T21:14:05.000Z
2022-03-30T11:35:24.000Z
winregistry/__init__.py
michael-rolfe/winregistry
f3f2cfcb794a0482283ce7c96d03b13f665c3695
[ "MIT" ]
4
2019-03-21T08:24:09.000Z
2021-10-13T10:49:22.000Z
from winregistry.consts import ShortRootAlias, WinregType from winregistry.models import RegEntry, RegKey from winregistry.winregistry import WinRegistry __all__ = ( "WinRegistry", "RegEntry", "RegKey", "WinregType", "ShortRootAlias", )
21.5
57
0.74031
23
258
8.130435
0.434783
0.240642
0
0
0
0
0
0
0
0
0
0
0.170543
258
11
58
23.454545
0.873832
0
0
0
0
0
0.189922
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bcfab6b007439fd9ae2c247f08fd70da16c4508b
1,613
py
Python
lambda/custom/core/interceptors/logger_interceptors.py
Antoninj/stib-alexa-skill
bb6335fe9ac37f7fd0630d51a514071143467ecb
[ "Apache-2.0" ]
1
2020-05-15T19:42:52.000Z
2020-05-15T19:42:52.000Z
lambda/custom/core/interceptors/logger_interceptors.py
Antoninj/stib-alexa-skill
bb6335fe9ac37f7fd0630d51a514071143467ecb
[ "Apache-2.0" ]
127
2020-05-18T05:48:27.000Z
2022-03-01T04:12:44.000Z
lambda/custom/core/interceptors/logger_interceptors.py
Antoninj/stib-alexa-skill
bb6335fe9ac37f7fd0630d51a514071143467ecb
[ "Apache-2.0" ]
1
2020-08-27T10:17:41.000Z
2020-08-27T10:17:41.000Z
# Copyright 2020 Antonin Jousson # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license" file accompanying this file. This fi...
35.844444
74
0.733416
188
1,613
6.207447
0.489362
0.051414
0.025707
0.023993
0.094259
0.094259
0.094259
0.094259
0.094259
0
0
0.006079
0.184129
1,613
44
75
36.659091
0.880699
0.466832
0
0
0
0
0.072816
0
0
0
0
0
0
1
0.142857
false
0
0.357143
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
bcfea4dd69268c2de2af8fbd371a1fc8ba6ee819
1,506
py
Python
rankings/migrations/0033_auto_20190505_1042.py
rubenvanerk/lifesavingrankings
7d3ed8d5011d9de16e4dd8bffe89faa506041350
[ "MIT" ]
5
2018-06-04T05:12:18.000Z
2021-01-24T13:37:41.000Z
rankings/migrations/0033_auto_20190505_1042.py
rubenvanerk/lifesavingrankings
7d3ed8d5011d9de16e4dd8bffe89faa506041350
[ "MIT" ]
39
2019-12-07T16:07:05.000Z
2021-05-09T10:57:48.000Z
rankings/migrations/0033_auto_20190505_1042.py
rubenvanerk/lifesavingrankings
7d3ed8d5011d9de16e4dd8bffe89faa506041350
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-05-05 08:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('rankings', '0032_individualresult_round'), ] operations = [ migrations.Alt...
33.466667
147
0.61421
152
1,506
5.953947
0.421053
0.110497
0.138122
0.160221
0.352486
0.352486
0.223204
0.223204
0.117127
0.117127
0
0.020871
0.26826
1,506
44
148
34.227273
0.800363
0.02988
0
0.394737
1
0
0.141878
0.033585
0
0
0
0
0
1
0
false
0
0.078947
0
0.157895
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c14e411a1e09ca88b97eac85b5439f49ef56afb
368
py
Python
src/bci4als/__init__.py
Chgabri2/bci4als
cfa8bfb6190389e473100cc37281c304b6a3bc4a
[ "MIT" ]
3
2021-12-15T09:57:51.000Z
2022-01-26T09:52:39.000Z
src/bci4als/__init__.py
Chgabri2/bci4als
cfa8bfb6190389e473100cc37281c304b6a3bc4a
[ "MIT" ]
3
2020-12-25T14:50:44.000Z
2021-03-16T14:08:34.000Z
src/bci4als/__init__.py
Chgabri2/bci4als
cfa8bfb6190389e473100cc37281c304b6a3bc4a
[ "MIT" ]
6
2021-11-10T19:43:26.000Z
2021-12-23T18:02:57.000Z
"""Top-level package for BCI-4-ALS.""" import importlib_metadata __author__ = """Evyatar Luvaton, Noam Siegel""" __email__ = 'noamsi@post.bgu.ac.il' __version__ = importlib_metadata.version('bci4als') from bci4als.experiments.offline import OfflineExperiment from bci4als.experiments.online import OnlineExperiment fro...
30.666667
57
0.80163
47
368
5.957447
0.702128
0.121429
0.157143
0
0
0
0
0
0
0
0
0.012048
0.097826
368
11
58
33.454545
0.831325
0.086957
0
0
0
0
0.169697
0.063636
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4c3616d754ebfd2e7013ed646a2882a86d60cdfb
3,154
py
Python
ooobuild/lo/sheet/x_sheet_auditing.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/sheet/x_sheet_auditing.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/sheet/x_sheet_auditing.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
37.105882
132
0.693722
399
3,154
5.370927
0.41604
0.05553
0.055996
0.074662
0.371442
0.371442
0.331311
0.331311
0.331311
0.331311
0
0.022643
0.229867
3,154
84
133
37.547619
0.859613
0.548827
0
0.28
0
0
0.179376
0.057192
0
0
0
0
0
1
0.28
false
0
0.16
0
0.64
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4c548f08a22c9f738e8832ce62e66653a4a2e6e6
12,736
py
Python
tests/plugins/test_excel.py
hbruch/frictionless-py
0f97d33c8fea7ef60cf8458b72eb0f54f4649798
[ "MIT" ]
null
null
null
tests/plugins/test_excel.py
hbruch/frictionless-py
0f97d33c8fea7ef60cf8458b72eb0f54f4649798
[ "MIT" ]
null
null
null
tests/plugins/test_excel.py
hbruch/frictionless-py
0f97d33c8fea7ef60cf8458b72eb0f54f4649798
[ "MIT" ]
null
null
null
import io import pytest from decimal import Decimal from datetime import datetime from frictionless import Resource, Layout, FrictionlessException, helpers from frictionless.plugins.excel import ExcelDialect BASE_URL = "https://raw.githubusercontent.com/frictionlessdata/tabulator-py/master/%s" # Read def test_xlsx...
34.421622
151
0.611338
1,499
12,736
5.0507
0.134757
0.028662
0.046493
0.061022
0.799498
0.791969
0.755911
0.692511
0.623432
0.567693
0
0.03052
0.233354
12,736
369
152
34.514905
0.744879
0.002748
0
0.585859
0
0.003367
0.172273
0.034423
0
0
0
0
0.161616
1
0.104377
false
0
0.020202
0
0.124579
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c5dbd664b24a1dde1d54b1ffce013942ad4d73c
1,251
py
Python
tests/pybaseball/test_plotting.py
akern40/pybaseball
55a3e35b2dd2d4fc5c59f8d3f17bfee1364a86f3
[ "MIT" ]
650
2017-06-29T20:05:19.000Z
2022-03-31T03:27:25.000Z
tests/pybaseball/test_plotting.py
akern40/pybaseball
55a3e35b2dd2d4fc5c59f8d3f17bfee1364a86f3
[ "MIT" ]
216
2017-10-21T05:05:08.000Z
2022-03-31T04:04:53.000Z
tests/pybaseball/test_plotting.py
akern40/pybaseball
55a3e35b2dd2d4fc5c59f8d3f17bfee1364a86f3
[ "MIT" ]
214
2017-07-18T21:40:01.000Z
2022-03-29T03:19:55.000Z
import pytest import pandas as pd from pandas.testing import assert_frame_equal, assert_series_equal from pybaseball.plotting import transform_coordinates @pytest.fixture def coords(): return pd.DataFrame({"x": [1.0, 2.0, -1.0], "y": [1.0, 0.0, 10.0]}) def test_transform_coordinates_identity_scale(coords): ...
37.909091
89
0.738609
190
1,251
4.621053
0.215789
0.212984
0.135535
0.168565
0.54328
0.432802
0.291572
0.223235
0.127563
0
0
0.042241
0.129496
1,251
32
90
39.09375
0.764004
0
0
0
0
0
0.004796
0
0
0
0
0
0.347826
1
0.130435
false
0
0.173913
0.043478
0.347826
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c63aabbb2299991a78620198288a1c46c57e023
8,240
py
Python
src/kbpo/sampling.py
arunchaganty/kbp-online
9f8763d8f4bfb1fb8a01f1f4f506f56625dd38d8
[ "MIT" ]
4
2017-08-09T14:05:48.000Z
2018-12-25T01:34:23.000Z
src/kbpo/sampling.py
arunchaganty/kbp-online
9f8763d8f4bfb1fb8a01f1f4f506f56625dd38d8
[ "MIT" ]
12
2017-01-19T23:18:18.000Z
2018-12-23T18:57:54.000Z
src/kbpo/sampling.py
arunchaganty/kbp-online
9f8763d8f4bfb1fb8a01f1f4f506f56625dd38d8
[ "MIT" ]
2
2017-08-08T09:48:20.000Z
2018-07-09T09:12:43.000Z
""" Generate samples for a corpus tag and for a submission. """ import json import logging import numpy as np from . import db from . import distribution from .sample_util import sample_without_replacement from .counter_utils import normalize logger = logging.getLogger(__name__) def sample_document_uniform(corpus_...
41.827411
206
0.678883
1,042
8,240
5.107486
0.104607
0.110485
0.063134
0.058625
0.729613
0.685269
0.6708
0.655393
0.655393
0.636415
0
0.013055
0.20983
8,240
196
207
42.040816
0.804331
0.028277
0
0.576159
1
0
0.358037
0.045568
0
0
0
0.005102
0.231788
1
0.05298
false
0
0.046358
0
0.10596
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c65364049fc0c809f78550c6a6143be6864d0e0
704
py
Python
terrascript/heroku/r.py
vfoucault/python-terrascript
fe82b3d7e79ffa72b7871538f999828be0a115d0
[ "BSD-2-Clause" ]
null
null
null
terrascript/heroku/r.py
vfoucault/python-terrascript
fe82b3d7e79ffa72b7871538f999828be0a115d0
[ "BSD-2-Clause" ]
null
null
null
terrascript/heroku/r.py
vfoucault/python-terrascript
fe82b3d7e79ffa72b7871538f999828be0a115d0
[ "BSD-2-Clause" ]
null
null
null
from terrascript import _resource class heroku_addon(_resource): pass addon = heroku_addon class heroku_addon_attachment(_resource): pass addon_attachment = heroku_addon_attachment class heroku_app(_resource): pass app = heroku_app class heroku_app_feature(_resource): pass app_feature = heroku_app_feature class her...
22
47
0.838068
93
704
5.913978
0.182796
0.2
0.058182
0
0
0
0
0
0
0
0
0
0.105114
704
31
48
22.709677
0.873016
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.47619
0.047619
0
0.52381
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
1
0
0
2
d5c46687c0b6853b7ffcf1ac3a09bb36dad4dd21
889
py
Python
batman/symlinks.py
RealGeeks/batman
ac61d193cbc6cc736f61ae8cf5e933a576b50698
[ "MIT" ]
1
2018-01-09T20:50:49.000Z
2018-01-09T20:50:49.000Z
batman/symlinks.py
RealGeeks/batman
ac61d193cbc6cc736f61ae8cf5e933a576b50698
[ "MIT" ]
1
2021-03-25T21:27:26.000Z
2021-03-25T21:27:26.000Z
batman/symlinks.py
RealGeeks/batman
ac61d193cbc6cc736f61ae8cf5e933a576b50698
[ "MIT" ]
1
2019-12-26T12:25:23.000Z
2019-12-26T12:25:23.000Z
import os from path_utils import normalize_path def ensure(links, basedir): for target, link_name in links.iteritems(): target, link_name = \ normalize_path(target, basedir), \ normalize_path(link_name, basedir) if os.path.exists(link_name) and not os.path.islink(link_name)...
38.652174
77
0.613048
117
889
4.495727
0.367521
0.228137
0.079848
0.091255
0.125475
0.087452
0
0
0
0
0
0.001603
0.298088
889
22
78
40.409091
0.841346
0.089989
0
0
0
0
0.104218
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2