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
db758b3ac6b13b469a7817c73591f7f29379f85e
2,434
py
Python
test/test_ArticlesAPI.py
AngusLean/wechat_articles_spider
ff268beb8dbe774fb1ed87e425668f02f93a6c08
[ "Apache-2.0" ]
null
null
null
test/test_ArticlesAPI.py
AngusLean/wechat_articles_spider
ff268beb8dbe774fb1ed87e425668f02f93a6c08
[ "Apache-2.0" ]
null
null
null
test/test_ArticlesAPI.py
AngusLean/wechat_articles_spider
ff268beb8dbe774fb1ed87e425668f02f93a6c08
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 import os from pprint import pprint from wechatarticles.ReadOutfile import Reader from wechatarticles import ArticlesAPI from wechatarticles import tools if __name__ == '__main__': username = "896173273@qq.com" password = "19930520Am@" official_cookie = "pgv_pvid=1484837112; pgv_pvi=2263592...
51.787234
933
0.748973
218
2,434
8.09633
0.522936
0.037394
0.036261
0.037394
0.26289
0.211898
0.211898
0.211898
0
0
0
0.140516
0.172555
2,434
46
934
52.913043
0.735849
0.216105
0
0
0
0.041667
0.52907
0.375793
0
0
0
0
0
1
0
false
0.083333
0.208333
0
0.208333
0.208333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
db75f93c77d5a6a46b0e613a81adaf84f4e379a3
817
py
Python
days/apps/days/admin.py
rlucioni/days
6094c98f93f8b611d13fd67bdbc2b8b9aebe051c
[ "MIT" ]
1
2020-12-03T11:20:01.000Z
2020-12-03T11:20:01.000Z
days/apps/days/admin.py
rlucioni/days
6094c98f93f8b611d13fd67bdbc2b8b9aebe051c
[ "MIT" ]
null
null
null
days/apps/days/admin.py
rlucioni/days
6094c98f93f8b611d13fd67bdbc2b8b9aebe051c
[ "MIT" ]
null
null
null
"""Django admin configuration for days models.""" from django.contrib import admin from days.apps.days.models import Event, Subscriber @admin.register(Event) class EventAdmin(admin.ModelAdmin): """Admin config for the Event model.""" list_display = ('date', 'description', 'created', 'modified') search_fi...
30.259259
65
0.691554
89
817
6.213483
0.393258
0.162749
0.072333
0.094033
0.383363
0.383363
0
0
0
0
0
0
0.159119
817
26
66
31.423077
0.804949
0.141983
0
0.25
0
0
0.213139
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
db800cda41abc840398c87378d85466b95ec8156
3,791
py
Python
rstobj/markup/header.py
MacHu-GWU/rstobj-project
40601f08e9e7ee2df5c514af04b040f61f76ed78
[ "MIT" ]
null
null
null
rstobj/markup/header.py
MacHu-GWU/rstobj-project
40601f08e9e7ee2df5c514af04b040f61f76ed78
[ "MIT" ]
null
null
null
rstobj/markup/header.py
MacHu-GWU/rstobj-project
40601f08e9e7ee2df5c514af04b040f61f76ed78
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Header markups. Default `section header line <http://docutils.sourceforge.net/docs/user/rst/quickstart.html#sections>`_ character: - header 1: ``=`` - header 2: ``-`` - header 3: ``~`` - header 4: ``+`` - header 5: ``*`` - header 6: ``#`` - header 7: ``^`` """ import attr from ..base imp...
20.944751
114
0.60881
479
3,791
4.505219
0.265136
0.112141
0.041705
0.071362
0.226135
0.115848
0.088971
0.05468
0.05468
0.05468
0
0.01594
0.255342
3,791
180
115
21.061111
0.748495
0.245054
0
0.142857
0
0
0.033308
0
0
0
0
0
0
1
0.076923
false
0
0.021978
0.010989
0.505495
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
db85baca1470fd7cca362e3ddddf3e07c7473011
4,198
py
Python
proptools/optimizetab.py
Richard-Tarbell/pysalt
2815d5533c7e60b7042f2bc3cf46cecdd38fc609
[ "BSD-3-Clause" ]
12
2015-02-22T08:35:04.000Z
2020-11-12T11:32:34.000Z
proptools/optimizetab.py
Richard-Tarbell/pysalt
2815d5533c7e60b7042f2bc3cf46cecdd38fc609
[ "BSD-3-Clause" ]
17
2015-02-24T18:40:26.000Z
2018-06-05T12:52:59.000Z
proptools/optimizetab.py
Richard-Tarbell/pysalt
2815d5533c7e60b7042f2bc3cf46cecdd38fc609
[ "BSD-3-Clause" ]
12
2015-03-20T14:46:19.000Z
2021-08-12T18:30:01.000Z
# -*- coding: utf-8 -*- import os, sys import numpy as np from PyQt4 import QtCore, QtGui from slitlets import Slitlets import pyslit_optimize as opt class OptimizeTab: def __init__(self, ui, default_yspacing=1., default_iter=10): print 'loading OPT' self.ui = ui self.slitlets=Slitlets() ...
34.409836
114
0.587661
519
4,198
4.624277
0.32948
0.085
0.086667
0.028333
0.240417
0.159167
0.159167
0.145
0.12
0.103333
0
0.010738
0.312292
4,198
121
115
34.694215
0.820575
0.151501
0
0.218391
0
0
0.055826
0
0
0
0
0
0
0
null
null
0
0.057471
null
null
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
db8881206d75204ae3f98dc7aa8ffae559ccd369
450
py
Python
app/article/permissions.py
Hassan-gholipoor/thematic_app_api
f9f865cdbd3f5bd993b2db58e754eac76211c462
[ "MIT" ]
null
null
null
app/article/permissions.py
Hassan-gholipoor/thematic_app_api
f9f865cdbd3f5bd993b2db58e754eac76211c462
[ "MIT" ]
null
null
null
app/article/permissions.py
Hassan-gholipoor/thematic_app_api
f9f865cdbd3f5bd993b2db58e754eac76211c462
[ "MIT" ]
null
null
null
from rest_framework import permissions from core.models import Article class AuthorAccessPermission(permissions.BasePermission): def has_permission(self, request, view): if request.user.is_anonymous: return False elif request.user.is_author: return True def has_object...
28.125
66
0.697778
54
450
5.685185
0.574074
0.143322
0.127036
0.162866
0
0
0
0
0
0
0
0
0.237778
450
15
67
30
0.895044
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.727273
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db8e47789810f5ab221fa07d73545ba27b765018
1,156
py
Python
SpatialDE/_internal/distance_cache.py
ilia-kats/SpatialDE
78da0acc5a8fa78dec516423bb9d0f14ebb4c2e9
[ "MIT" ]
3
2021-11-30T19:28:13.000Z
2022-01-18T14:51:34.000Z
SpatialDE/_internal/distance_cache.py
ilia-kats/SpatialDE
78da0acc5a8fa78dec516423bb9d0f14ebb4c2e9
[ "MIT" ]
null
null
null
SpatialDE/_internal/distance_cache.py
ilia-kats/SpatialDE
78da0acc5a8fa78dec516423bb9d0f14ebb4c2e9
[ "MIT" ]
1
2022-01-07T08:39:54.000Z
2022-01-07T08:39:54.000Z
import functools import tensorflow as tf from gpflow import default_float from gpflow.utilities import to_default_float from gpflow.utilities.ops import square_distance, difference_matrix def cached(variable): def cache(func): func = tf.function(func, experimental_compile=True, experimental_relax_shapes=T...
28.195122
91
0.653114
136
1,156
5.367647
0.426471
0.065753
0.057534
0.060274
0.136986
0
0
0
0
0
0
0.001171
0.261246
1,156
40
92
28.9
0.85363
0
0
0.064516
0
0
0.021626
0
0
0
0
0
0
1
0.193548
false
0
0.16129
0.064516
0.548387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
db8f821c72a4e05a38e63a73f2c31b616807cd17
1,431
py
Python
purevpn_event_bus/src/event.py
sha-gaditek/purevpn_event_bus
34aadc66a788ade874ecbfc816733a8bca7a5c92
[ "MIT" ]
null
null
null
purevpn_event_bus/src/event.py
sha-gaditek/purevpn_event_bus
34aadc66a788ade874ecbfc816733a8bca7a5c92
[ "MIT" ]
null
null
null
purevpn_event_bus/src/event.py
sha-gaditek/purevpn_event_bus
34aadc66a788ade874ecbfc816733a8bca7a5c92
[ "MIT" ]
null
null
null
import json import shortuuid from abc import ABC from datetime import datetime class Event(ABC): def __init__( self, name: str, properties: dict, event_id: str, created_at: str, retries: int ): if event_id is None: event_id = shortuuid.uuid()...
21.358209
69
0.55276
163
1,431
4.558282
0.245399
0.084791
0.094213
0
0
0
0
0
0
0
0
0.002176
0.357792
1,431
66
70
21.681818
0.806311
0
0
0.09434
0
0
0.039133
0
0
0
0
0
0
1
0.169811
false
0
0.075472
0.132075
0.396226
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
db9180468959b282c7aee877fae9cca4a2a7dcdc
1,680
py
Python
blog/admin.py
jackylinwh/dinosaur
ee4488af5b433c6778ef87133ae8fbf97860e288
[ "Apache-2.0" ]
3
2019-12-04T10:05:13.000Z
2021-07-13T03:03:47.000Z
blog/admin.py
jackylinwh/dinosaur
ee4488af5b433c6778ef87133ae8fbf97860e288
[ "Apache-2.0" ]
6
2020-06-06T00:38:48.000Z
2022-02-10T09:04:31.000Z
blog/admin.py
jackylinwh/dinosaur
ee4488af5b433c6778ef87133ae8fbf97860e288
[ "Apache-2.0" ]
2
2020-01-04T02:27:54.000Z
2021-11-26T01:18:02.000Z
from django.contrib import admin # Register your models here. from django import forms from django.utils.html import format_html from mptt.admin import MPTTModelAdmin, DraggableMPTTAdmin from blog.models import Article, BlogSettings, BlogConfig, Tag class ArticleAdmin(DraggableMPTTAdmin): list_display = ['tree_...
34.285714
100
0.689881
198
1,680
5.732323
0.505051
0.031718
0.059912
0.045815
0.052863
0
0
0
0
0
0
0.001467
0.18869
1,680
49
101
34.285714
0.831255
0.105952
0
0
0
0
0.110204
0.02449
0
0
0
0
0
1
0.096774
false
0
0.16129
0.032258
0.612903
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
db938acc2e7d17d990aef0cfcc62f3bc481bbb83
326
py
Python
assets/shared_tools.py
agbs2k8/ML_Example_Notebooks
6e6a1dc9446dbfd39d669b637572c4504b42039f
[ "MIT" ]
null
null
null
assets/shared_tools.py
agbs2k8/ML_Example_Notebooks
6e6a1dc9446dbfd39d669b637572c4504b42039f
[ "MIT" ]
null
null
null
assets/shared_tools.py
agbs2k8/ML_Example_Notebooks
6e6a1dc9446dbfd39d669b637572c4504b42039f
[ "MIT" ]
null
null
null
#!/usr/bin/python """ This is a collections of functions common to the other, individual pieces of this project """ __author__ = "AJ Wilson" __copyright__ = " " __license__ = " " __version__ = "0.0.0.0" __maintainer__ = "AJ Wilson" __email__ = "aj.wilson08[at]gmail.com" __status__ = "WIP" def function1(): return...
19.176471
89
0.702454
43
326
4.674419
0.813953
0.029851
0.029851
0
0
0
0
0
0
0
0
0.025735
0.165644
326
16
90
20.375
0.713235
0.325153
0
0
0
0
0.254717
0.113208
0
0
0
0
0
1
0.111111
false
0
0
0.111111
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
db95edad39e8db2c7007eb3001d5809ca6cafd40
9,746
py
Python
targetedDropout.py
Pavelrst/targeted_dropout_pytorch
65ed82614046b970ef118fd3b4bdc3cf497a1a34
[ "MIT" ]
null
null
null
targetedDropout.py
Pavelrst/targeted_dropout_pytorch
65ed82614046b970ef118fd3b4bdc3cf497a1a34
[ "MIT" ]
null
null
null
targetedDropout.py
Pavelrst/targeted_dropout_pytorch
65ed82614046b970ef118fd3b4bdc3cf497a1a34
[ "MIT" ]
null
null
null
import torch from torch.nn.modules import Module from torch.nn import functional as F import numpy as np class _targetedDropout(Module): def __init__(self, drop_rate, targeted_percentage, device='cpu', inplace=False): super(_targetedDropout, self).__init__() if drop_rate < 0 or drop_rate > 1: ...
38.219608
177
0.615124
1,295
9,746
4.462548
0.16139
0.012459
0.026994
0.032705
0.615331
0.584357
0.557536
0.530715
0.509604
0.47638
0
0.010208
0.276318
9,746
255
178
38.219608
0.809159
0.236405
0
0.413534
0
0
0.040662
0.011357
0
0
0
0.019608
0
1
0.067669
false
0.030075
0.030075
0.007519
0.218045
0.075188
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
db971fa0e4b4fb3a632df7869eae0c3311a839aa
205
py
Python
Beginner/Fibonacci.py
man21/IOSD-UIETKUK-HacktoberFest-Meetup-2019
8ca1a8bf95ee98d303d3a909c448288fa5992210
[ "Apache-2.0" ]
22
2019-10-02T16:48:10.000Z
2020-11-14T23:28:41.000Z
Beginner/Fibonacci.py
man21/IOSD-UIETKUK-HacktoberFest-Meetup-2019
8ca1a8bf95ee98d303d3a909c448288fa5992210
[ "Apache-2.0" ]
46
2019-10-01T03:53:30.000Z
2020-10-20T16:34:37.000Z
Beginner/Fibonacci.py
man21/IOSD-UIETKUK-HacktoberFest-Meetup-2019
8ca1a8bf95ee98d303d3a909c448288fa5992210
[ "Apache-2.0" ]
415
2019-10-01T03:48:22.000Z
2021-02-27T04:57:28.000Z
def fib(n): ''' uses generater to return fibonacci sequence up to given # n dynamically ''' a,b = 1,1 for _ in range(0,n): yield a a,b = b,a+b return a
13.666667
48
0.492683
32
205
3.125
0.625
0.06
0
0
0
0
0
0
0
0
0
0.02459
0.404878
205
14
49
14.642857
0.795082
0.35122
0
0
1
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db99060021717dde564aea01f7c51fd799c4fb16
1,541
py
Python
src/dpll.py
oliverjakobs/algorithm
eec03a38c9b50800b9e1241a969e643a38723a98
[ "MIT" ]
1
2021-07-13T03:58:29.000Z
2021-07-13T03:58:29.000Z
src/dpll.py
oliverjakobs/algorithm
eec03a38c9b50800b9e1241a969e643a38723a98
[ "MIT" ]
null
null
null
src/dpll.py
oliverjakobs/algorithm
eec03a38c9b50800b9e1241a969e643a38723a98
[ "MIT" ]
null
null
null
def negate_literal(L): return L[1:] if L[0] == '!' else '!' + L def unit_subsumption(P, u): return [ C for C in P if u not in C ] def unit_resolution(P, u): n = negate_literal(u) return [ ([l for l in C if l != n]) for C in P ] def simplify(F, L): return unit_resolution(unit_subsumption(F, L), L...
21.704225
84
0.463984
263
1,541
2.65019
0.174905
0.050215
0.034433
0.030129
0.086083
0.063128
0.063128
0.063128
0
0
0
0.008174
0.285529
1,541
71
85
21.704225
0.624886
0.133679
0
0.083333
0
0
0.047333
0
0
0
0
0
0
1
0.1875
false
0
0
0.104167
0.416667
0.104167
0
0
0
null
0
0
0
0
0
0
0
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
0
0
0
1
db9a27de91fff9b94f5035d6d0d54866f38b848a
1,204
py
Python
propara/runProLocal_1.py
YiweiJiang2015/propara
9fe4b110b2dd57553c9e77235424fd0defe29a2d
[ "Apache-2.0" ]
null
null
null
propara/runProLocal_1.py
YiweiJiang2015/propara
9fe4b110b2dd57553c9e77235424fd0defe29a2d
[ "Apache-2.0" ]
null
null
null
propara/runProLocal_1.py
YiweiJiang2015/propara
9fe4b110b2dd57553c9e77235424fd0defe29a2d
[ "Apache-2.0" ]
null
null
null
import logging import os import sys import json, shutil from allennlp.commands import main from models.prolocal_model import ProLocalModel from data.prolocal_dataset_reader import ProLocalDatasetReader from service.predictors.prolocal_prediction import ProLocalPredictor sys.path.insert(0, os.path.dirname(os.path.absp...
30.871795
87
0.744186
168
1,204
5.238095
0.595238
0.020455
0.043182
0
0
0
0
0
0
0
0
0.006843
0.150332
1,204
38
88
31.684211
0.853372
0.334718
0
0
0
0
0.207595
0.097468
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
db9d81b8e5885474a75574b92675711ba53a7117
1,863
py
Python
jmp/__init__.py
anukaal/jmp
3baf761e2f058affc7e758eea7764131872ea070
[ "Apache-2.0" ]
72
2021-04-24T13:00:07.000Z
2022-03-18T08:59:58.000Z
jmp/__init__.py
anukaal/jmp
3baf761e2f058affc7e758eea7764131872ea070
[ "Apache-2.0" ]
1
2021-10-05T16:07:12.000Z
2021-10-05T16:07:12.000Z
jmp/__init__.py
anukaal/jmp
3baf761e2f058affc7e758eea7764131872ea070
[ "Apache-2.0" ]
5
2021-08-04T13:37:24.000Z
2021-10-05T16:06:08.000Z
# Copyright 2020 DeepMind Technologies Limited. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
31.576271
80
0.658078
235
1,863
4.812766
0.47234
0.068081
0.097259
0.074271
0.240495
0.18214
0.049514
0
0
0
0
0.007309
0.192163
1,863
58
81
32.12069
0.744186
0.559313
0
0
0
0
0.168142
0
0
0
0
0
0
1
0
false
0.034483
0.37931
0
0.37931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
db9e3b2c00b15df0209015c3f58fb0e98a721c67
3,588
py
Python
Code/odooerp/odoo-8.0/openerp/addons/crm_partner_assign/report/crm_partner_report.py
zhupangithub/WEBERP
714512082ec5c6db07cbf6af0238ceefe2d2c1a5
[ "MIT" ]
null
null
null
Code/odooerp/odoo-8.0/openerp/addons/crm_partner_assign/report/crm_partner_report.py
zhupangithub/WEBERP
714512082ec5c6db07cbf6af0238ceefe2d2c1a5
[ "MIT" ]
null
null
null
Code/odooerp/odoo-8.0/openerp/addons/crm_partner_assign/report/crm_partner_report.py
zhupangithub/WEBERP
714512082ec5c6db07cbf6af0238ceefe2d2c1a5
[ "MIT" ]
3
2020-10-08T14:42:10.000Z
2022-01-28T14:12:29.000Z
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
45.417722
131
0.59699
440
3,588
4.75
0.402273
0.045933
0.045933
0.052632
0.072727
0.047847
0.032536
0
0
0
0
0.012003
0.256968
3,588
78
132
46
0.771943
0.27369
0
0.043478
0
0.043478
0.578197
0.091824
0
0
0
0.012821
0
1
0.043478
false
0
0.043478
0
0.23913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
db9edb4ac3d17a18c0ccc4d994191680ad550252
401
py
Python
pretty.py
restful-open-annotation/eve-restoa
fd1096c74c3488e8d9d3f35a46ca035b9e065b8a
[ "MIT" ]
2
2016-12-15T00:12:37.000Z
2020-08-08T14:19:02.000Z
pretty.py
restful-open-annotation/eve-restoa
fd1096c74c3488e8d9d3f35a46ca035b9e065b8a
[ "MIT" ]
7
2015-03-04T14:23:04.000Z
2015-03-26T10:36:57.000Z
pretty.py
restful-open-annotation/eve-restoa
fd1096c74c3488e8d9d3f35a46ca035b9e065b8a
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Pretty-print JSON response from STDIN.""" import sys import json for l in sys.stdin: if l.strip().startswith('{'): break sys.stdout.write(l) else: l = '' rest = l + ''.join(i for i in sys.stdin) if not rest.strip(): sys.stdout.write(rest) else: doc = json.loads(r...
19.095238
75
0.613466
62
401
3.951613
0.564516
0.073469
0.081633
0.097959
0
0
0
0
0
0
0
0.003145
0.206983
401
20
76
20.05
0.767296
0.049875
0
0.142857
0
0
0.011905
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dba8321786f35345b7b127aaa1fc2eccaae2f7f5
1,435
gyp
Python
node/deps/brotli/brotli.gyp
schmitzn/node-packer
ff3457ffeaa227afeeb82956f145fec7b7b7a67a
[ "MIT" ]
1,666
2017-01-12T03:58:44.000Z
2017-08-20T23:39:20.000Z
node/deps/brotli/brotli.gyp
schmitzn/node-packer
ff3457ffeaa227afeeb82956f145fec7b7b7a67a
[ "MIT" ]
95
2017-08-21T07:38:56.000Z
2022-02-18T21:59:54.000Z
node/deps/brotli/brotli.gyp
schmitzn/node-packer
ff3457ffeaa227afeeb82956f145fec7b7b7a67a
[ "MIT" ]
161
2017-08-25T20:20:01.000Z
2022-02-08T02:59:03.000Z
{ 'targets': [ { 'target_name': 'brotli', 'type': 'static_library', 'include_dirs': ['c/include'], 'conditions': [ ['OS=="linux"', { 'defines': [ 'OS_LINUX' ] }], ['OS=="freebsd"', { 'defines': [ 'OS_FREEBSD' ...
22.421875
45
0.439024
154
1,435
3.915584
0.37013
0.069652
0.140962
0.063018
0.069652
0
0
0
0
0
0
0.001114
0.374216
1,435
63
46
22.777778
0.670379
0.015331
0
0.137931
0
0
0.494677
0.18027
0
0
0
0
0
1
0
true
0.017241
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
dba9813bea0a42420a898f8baf00b4e1ef334f5f
599
py
Python
visualization_apps/MgO_pareto/viz_param_v_err.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
4
2018-01-18T19:59:56.000Z
2020-08-25T11:56:52.000Z
visualization_apps/MgO_pareto/viz_param_v_err.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2018-04-22T23:02:13.000Z
2018-04-22T23:02:13.000Z
visualization_apps/MgO_pareto/viz_param_v_err.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
1
2019-09-14T07:04:42.000Z
2019-09-14T07:04:42.000Z
# imports here ''' TODO: scaling and box zoom probability density plot -histogram 1d fit 2s fit -multivariant normal distribution kernel density estimate -pyflames post module principal components analysis clustering manifold learning T-sne ''' import os import pypospack.visualization as visualization if __name__...
19.966667
67
0.776294
72
599
6.236111
0.791667
0.03118
0
0
0
0
0
0
0
0
0
0.005871
0.146912
599
29
68
20.655172
0.872798
0.400668
0
0
0
0
0.096866
0.062678
0
0
0
0.034483
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
dbaafb81e857d19036b4f7f19b811c174f8ba108
7,355
py
Python
old/server/result/bk/result.py
dcu-sharepoint/Browser-id
4baeb18cb6bef26dad5a1a6fcf815ac1024203da
[ "MIT" ]
1
2018-05-14T20:00:21.000Z
2018-05-14T20:00:21.000Z
old/server/result/bk/result.py
zakybstrd21215/cross_browser
4baeb18cb6bef26dad5a1a6fcf815ac1024203da
[ "MIT" ]
null
null
null
old/server/result/bk/result.py
zakybstrd21215/cross_browser
4baeb18cb6bef26dad5a1a6fcf815ac1024203da
[ "MIT" ]
null
null
null
import BaseHTTPServer import os.path from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer import SocketServer import urllib import json import linecache from PIL import Image, ImageChops, ImageFilter import numpy as np from scipy.ndimage import (label,find_objects) def not_insane_address_string(self): h...
34.530516
168
0.5569
952
7,355
4.19958
0.220588
0.013007
0.022511
0.016508
0.31941
0.275138
0.269635
0.263382
0.250375
0.221361
0
0.023274
0.304827
7,355
212
169
34.693396
0.758654
0.087424
0
0.18239
0
0
0.056186
0.011357
0
0
0
0
0
0
null
null
0
0.069182
null
null
0.012579
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dbafd73dff2b1bd0d1d256e0ccb005754a6de0a0
17,486
py
Python
test/test_values.py
craigthomas/CoCoAssembler
189ca514fb7bda635b61caaf776e64ee3ef87e0b
[ "MIT" ]
10
2020-02-13T21:31:57.000Z
2021-12-30T02:08:16.000Z
test/test_values.py
craigthomas/CoCoAssembler
189ca514fb7bda635b61caaf776e64ee3ef87e0b
[ "MIT" ]
44
2020-03-08T03:45:39.000Z
2022-03-31T03:00:56.000Z
test/test_values.py
craigthomas/CoCoAssembler
189ca514fb7bda635b61caaf776e64ee3ef87e0b
[ "MIT" ]
5
2020-09-13T15:50:28.000Z
2021-07-15T03:35:48.000Z
""" Copyright (C) 2019-2020 Craig Thomas This project uses an MIT style license - see LICENSE for details. A Color Computer Assembler - see the README.md file for details. """ # I M P O R T S ############################################################### import unittest from cocoasm.values import NumericValue, Stri...
37.283582
110
0.677857
2,083
17,486
5.417187
0.116179
0.048387
0.026055
0.038284
0.778536
0.682648
0.613612
0.541386
0.463222
0.399415
0
0.020979
0.203992
17,486
468
111
37.363248
0.789712
0.048953
0
0.406349
0
0
0.067321
0
0
0
0.002857
0
0.311111
1
0.269841
false
0.019048
0.015873
0
0.307937
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
dbb0f6ca9a74b0ed550f6304dee3919819bd64f3
728
py
Python
tools/pythonpkg/tests/fast/test_transaction.py
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
2,816
2018-06-26T18:52:52.000Z
2021-04-06T10:39:15.000Z
tools/pythonpkg/tests/fast/test_transaction.py
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
1,310
2021-04-06T16:04:52.000Z
2022-03-31T13:52:53.000Z
tools/pythonpkg/tests/fast/test_transaction.py
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
270
2021-04-09T06:18:28.000Z
2022-03-31T11:55:37.000Z
import duckdb import pandas as pd class TestConnectionTransaction(object): def test_transaction(self, duckdb_cursor): con = duckdb.connect() con.execute('create table t (i integer)') con.execute ('insert into t values (1)') con.begin() con.execute ('insert into t values (1)...
36.4
72
0.596154
94
728
4.595745
0.37234
0.185185
0.148148
0.203704
0.634259
0.634259
0.634259
0.571759
0.571759
0.476852
0
0.020183
0.251374
728
19
73
38.315789
0.772477
0
0
0.470588
0
0
0.260989
0
0
0
0
0
0.235294
1
0.058824
false
0
0.117647
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dbb39d9aa11bb53aacf930a3e647f4b317c030cb
4,758
py
Python
syllogistic-generalized/Seminar2020/models/2-matching-conversion/Matching/Matching_1/Matching_1.py
monthie/cogmods
62af4b8bf2effb77f26a8877d6a89949164d83f0
[ "MIT" ]
null
null
null
syllogistic-generalized/Seminar2020/models/2-matching-conversion/Matching/Matching_1/Matching_1.py
monthie/cogmods
62af4b8bf2effb77f26a8877d6a89949164d83f0
[ "MIT" ]
11
2020-05-04T09:05:29.000Z
2021-04-08T13:22:34.000Z
syllogistic-generalized/Seminar2020/models/2-matching-conversion/Matching/Matching_1/Matching_1.py
monthie/cogmods
62af4b8bf2effb77f26a8877d6a89949164d83f0
[ "MIT" ]
12
2020-05-02T09:36:14.000Z
2021-06-22T08:10:45.000Z
import ccobra import random class Matching_1(ccobra.CCobraModel): def __init__(self, name='Matching_1'): """ Model constructor for the generalized Matching Hypothesis. Does not use any pre-training as the Model is "static". """ # Call the super constructor to fully initialize th...
45.314286
120
0.641866
617
4,758
4.834684
0.285251
0.032182
0.015085
0.01408
0.122025
0.050955
0
0
0
0
0
0.012342
0.26776
4,758
104
121
45.75
0.843858
0.152795
0
0.118644
0
0
0.085502
0.007773
0
0
0
0
0
1
0.135593
false
0.050847
0.033898
0
0.288136
0.050847
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
dbb6e8f0f204fe9cef3592a2a32bb99299cdedb8
651
py
Python
classification/migrations/0018_auto_20210201_1004.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
classification/migrations/0018_auto_20210201_1004.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
classification/migrations/0018_auto_20210201_1004.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
# Generated by Django 3.1 on 2021-01-31 23:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('classification', '0017_discordancereport_resolved_text'), ] operations = [ migrations.RemoveField( model_name='conditiontext', ...
28.304348
171
0.596006
65
651
5.861538
0.769231
0.047244
0.115486
0.136483
0
0
0
0
0
0
0
0.039256
0.256528
651
22
172
29.590909
0.747934
0.066052
0
0.25
1
0
0.262376
0.059406
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dbbaa5e09270a802098de68efc94e66f1e1e7652
481
py
Python
vehicle/urls.py
beproxy/vehicle_api_django
5466d75c4dd9f4853ca7ed64e5f6962f639db119
[ "MIT" ]
null
null
null
vehicle/urls.py
beproxy/vehicle_api_django
5466d75c4dd9f4853ca7ed64e5f6962f639db119
[ "MIT" ]
null
null
null
vehicle/urls.py
beproxy/vehicle_api_django
5466d75c4dd9f4853ca7ed64e5f6962f639db119
[ "MIT" ]
null
null
null
import datetime from django.urls import path, re_path from rest_framework.routers import SimpleRouter from vehicle import views router = SimpleRouter() router.register('stolen_vehicles', views.StolenCarsViewSet) urlpatterns = [ path('stolen_vehicles/<int:pk>', views.DetailsStolenCarsViewSet.as_view({ 'g...
26.722222
77
0.727651
56
481
6.107143
0.607143
0.035088
0
0
0
0
0
0
0
0
0
0
0.120582
481
17
78
28.294118
0.808511
0
0
0
0
0
0.2079
0.108108
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
dbbc154d076bbf1ab3a042d0de6b855bcbd9c695
319
py
Python
tsim/ui/textures/ground.py
eduardomezencio/tsim
60ac63152a98fd7dabb59c66367bca216e6a7370
[ "MIT" ]
2
2021-04-24T06:48:13.000Z
2022-01-25T02:38:44.000Z
tsim/ui/textures/ground.py
eduardomezencio/tsim
60ac63152a98fd7dabb59c66367bca216e6a7370
[ "MIT" ]
null
null
null
tsim/ui/textures/ground.py
eduardomezencio/tsim
60ac63152a98fd7dabb59c66367bca216e6a7370
[ "MIT" ]
null
null
null
"""Ground texture generator.""" import aggdraw from PIL import Image def create() -> Image: """Generate the texture.""" image = Image.new('RGBA', (1, 1)) draw = aggdraw.Draw(image) draw.rectangle((0, 0, 1, 1), None, aggdraw.Brush((131, 150, 73))) draw.flush() # image.show() return image
21.266667
69
0.60815
43
319
4.511628
0.604651
0.020619
0
0
0
0
0
0
0
0
0
0.055777
0.213166
319
14
70
22.785714
0.717131
0.191223
0
0
1
0
0.016194
0
0
0
0
0
0
1
0.125
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
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dbbc7fe336227cd31c9a06bbd379baf2f40b74fd
328
py
Python
tests/parser2.py
gems-uff/release
08aee17c59f742e57518b69d0bd2c452e905e109
[ "MIT" ]
1
2018-10-06T02:16:33.000Z
2018-10-06T02:16:33.000Z
tests/parser2.py
gems-uff/release
08aee17c59f742e57518b69d0bd2c452e905e109
[ "MIT" ]
15
2018-09-18T17:57:00.000Z
2021-11-16T02:08:34.000Z
tests/parser2.py
gems-uff/release
08aee17c59f742e57518b69d0bd2c452e905e109
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta import pytest from releasy.miner.vcs.miner import Miner from tests.miner.vcs.mock import DifferentReleaseNameVcsMock miner = Miner(vcs=DifferentReleaseNameVcsMock(), release_prefixes=["v",""], ignored_suffixes=["Final"]) project = miner.mine_releases() print(project.release_s...
32.8
103
0.814024
39
328
6.74359
0.538462
0.091255
0
0
0
0
0
0
0
0
0
0
0.079268
328
10
104
32.8
0.870861
0
0
0
0
0
0.018237
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
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
0
0
0
1
dbccb07d99f65d704ec5f48d60074a6f6dfa523d
737
py
Python
DVDR_Client-master/client/connection_test.py
unimelb-networkedsociety/ser-pi
b94f476c6badc8306b6f609eb6169cd86aeab378
[ "MIT" ]
null
null
null
DVDR_Client-master/client/connection_test.py
unimelb-networkedsociety/ser-pi
b94f476c6badc8306b6f609eb6169cd86aeab378
[ "MIT" ]
null
null
null
DVDR_Client-master/client/connection_test.py
unimelb-networkedsociety/ser-pi
b94f476c6badc8306b6f609eb6169cd86aeab378
[ "MIT" ]
null
null
null
import paho.mqtt.client as mqtt import time #MQTT Server address server = '115.146.90.117' #subscribe topic pub_topic = 'test' #publish topic for device configuration i = 0 def on_connect(client, data, flags, rc): client.subscribe("reply", 1) print 'Connect with the result code ' + str(rc)#return connection sta...
27.296296
76
0.697422
108
737
4.675926
0.537037
0.053465
0.059406
0
0
0
0
0
0
0
0
0.037351
0.200814
737
27
77
27.296296
0.820034
0.169607
0
0
0
0
0.126645
0
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.173913
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dbd17492dcdc2b69fc71c85b44291dd583618f02
1,812
py
Python
entity.py
zJvco/ScoutZombiesGame
6cc7f613346b6eb122a32dc3eadfbefb69bb71b5
[ "MIT" ]
null
null
null
entity.py
zJvco/ScoutZombiesGame
6cc7f613346b6eb122a32dc3eadfbefb69bb71b5
[ "MIT" ]
null
null
null
entity.py
zJvco/ScoutZombiesGame
6cc7f613346b6eb122a32dc3eadfbefb69bb71b5
[ "MIT" ]
null
null
null
import pygame from settings import * class Entity: def __init__(self, x, y, w, h, speed, begin_act): self.x = x self.y = y self.w = w self.h = h self.rect = pygame.Rect(x, y, w, h) self.life = 100 self.life_rect = pygame.Rect(x, y, w, 4) self.action ...
29.225806
144
0.584989
248
1,812
4.133065
0.282258
0.070244
0.043902
0.050732
0.234146
0.234146
0.200976
0.120976
0.06439
0
0
0.017188
0.293598
1,812
61
145
29.704918
0.783594
0
0
0.122449
0
0
0.002759
0
0
0
0
0
0
1
0.204082
false
0
0.040816
0
0.306122
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
dbd7befde43516a8e29c01b9c28c7e51c3074f7f
611
py
Python
timecat/apps/course/migrations/0008_auto_20180326_2313.py
LinXueyuanStdio/memp
c6f6609cec7c54ec23881838dacb5f4ffba2e68c
[ "Apache-2.0" ]
null
null
null
timecat/apps/course/migrations/0008_auto_20180326_2313.py
LinXueyuanStdio/memp
c6f6609cec7c54ec23881838dacb5f4ffba2e68c
[ "Apache-2.0" ]
null
null
null
timecat/apps/course/migrations/0008_auto_20180326_2313.py
LinXueyuanStdio/memp
c6f6609cec7c54ec23881838dacb5f4ffba2e68c
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.2 on 2018-03-26 23:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0007_course_teacher'), ] operations = [ migrations.AddField( model_name='course', name='teacher_tell', ...
25.458333
85
0.590835
64
611
5.484375
0.59375
0.102564
0.131054
0.153846
0.495727
0.495727
0.2849
0.2849
0.2849
0
0
0.056948
0.281506
611
23
86
26.565217
0.742597
0.07365
0
0.352941
1
0
0.124113
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dbd96b3328340198d2a9752967a74c10aaf5a215
1,815
py
Python
parser/unroller.py
uiuc-arc/parallely
d6b4c3ed019eaab92c4585950ba6ef94625a390b
[ "Apache-2.0" ]
null
null
null
parser/unroller.py
uiuc-arc/parallely
d6b4c3ed019eaab92c4585950ba6ef94625a390b
[ "Apache-2.0" ]
null
null
null
parser/unroller.py
uiuc-arc/parallely
d6b4c3ed019eaab92c4585950ba6ef94625a390b
[ "Apache-2.0" ]
null
null
null
from ParallelyListener import ParallelyListener import TokenStreamRewriter from ParallelyLexer import ParallelyLexer from ParallelyParser import ParallelyParser class unrollRepeat(ParallelyListener): def __init__(self, stream, replacement, replacement_map): self.rewriter = TokenStreamRewriter.TokenStreamRe...
39.456522
92
0.638567
184
1,815
6.146739
0.353261
0.119363
0.030062
0.035367
0.065429
0.065429
0
0
0
0
0
0.006042
0.270523
1,815
45
93
40.333333
0.848187
0.07989
0
0.114286
0
0
0.015015
0
0
0
0
0.022222
0
1
0.085714
false
0
0.114286
0
0.314286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
dbdadb964433c14930d89ad5599356407e2ce3c1
792
py
Python
majora2/migrations/0034_abstractbioinformaticsprocess.py
CLIMB-COVID/majora2
46ea1809a61e4a768f8cbacaf54cba5c4d82e1f2
[ "MIT" ]
29
2019-04-04T18:03:43.000Z
2022-02-09T12:47:30.000Z
majora2/migrations/0034_abstractbioinformaticsprocess.py
CLIMB-COVID/majora2
46ea1809a61e4a768f8cbacaf54cba5c4d82e1f2
[ "MIT" ]
66
2019-04-02T16:18:40.000Z
2022-01-25T16:15:42.000Z
majora2/migrations/0034_abstractbioinformaticsprocess.py
CLIMB-COVID/majora2
46ea1809a61e4a768f8cbacaf54cba5c4d82e1f2
[ "MIT" ]
6
2020-04-10T14:15:32.000Z
2022-01-18T13:08:35.000Z
# Generated by Django 2.2.10 on 2020-03-26 15:54 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('majora2', '0033_auto_20200326_1516'), ] operations = [ migrations.CreateModel( name='AbstractB...
30.461538
221
0.619949
74
792
6.5
0.675676
0.049896
0.058212
0.091476
0
0
0
0
0
0
0
0.060241
0.266414
792
25
222
31.68
0.767642
0.058081
0
0
1
0
0.233871
0.181452
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
91561b364f44d3f5c2aef3dcf2e960b7924a7dc4
2,222
py
Python
6-Scripts/on-pc/autoParase.py
intellistream/PC-AMP
8525c72048b880f58f2f612a7c00b342f7105386
[ "Apache-2.0" ]
null
null
null
6-Scripts/on-pc/autoParase.py
intellistream/PC-AMP
8525c72048b880f58f2f612a7c00b342f7105386
[ "Apache-2.0" ]
null
null
null
6-Scripts/on-pc/autoParase.py
intellistream/PC-AMP
8525c72048b880f58f2f612a7c00b342f7105386
[ "Apache-2.0" ]
null
null
null
import csv def paraseValidStageNames(a): nameList=[] with open(a, 'r') as f: reader = csv.reader(f) #reader = [each for each in csv.DictReader(f, delimiter=',')] result = list(reader) rows=len(result) #print('rows=',rows) firstRow = result[0] #print(firs...
27.432099
69
0.462646
269
2,222
3.821561
0.237918
0.019455
0.014591
0.020428
0.678988
0.667315
0.667315
0.667315
0.667315
0.667315
0
0.021228
0.406391
2,222
81
70
27.432099
0.75815
0.151215
0
0.597015
0
0
0.010672
0
0
0
0
0
0
1
0.044776
false
0
0.014925
0
0.104478
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
915acd82d0450d7eb75bd8f81f70988d0537ace9
1,668
py
Python
genuuml/tests/test_genuuml.py
boarnasia/genuuml
2788d06436c6ecab367bbd9d353c240812ff74b2
[ "MIT" ]
null
null
null
genuuml/tests/test_genuuml.py
boarnasia/genuuml
2788d06436c6ecab367bbd9d353c240812ff74b2
[ "MIT" ]
1
2018-11-19T06:10:33.000Z
2018-11-19T06:10:33.000Z
genuuml/tests/test_genuuml.py
boarnasia/genuuml
2788d06436c6ecab367bbd9d353c240812ff74b2
[ "MIT" ]
null
null
null
""" Tests for genuuml.cli module """ import pytest from genuuml.genuuml import ( module_path_to_class_path, build_registry, ) def test_module_path_to_class_path(): # Class path is not converted. ret = module_path_to_class_path(['genuuml.tests.demo.Foo']) assert ret == ['genuuml.tests.demo.Foo'] ...
34.75
175
0.68765
236
1,668
4.673729
0.207627
0.174071
0.232094
0.107888
0.648232
0.471442
0.471442
0.409791
0.409791
0.300997
0
0
0.157674
1,668
47
176
35.489362
0.785053
0.18765
0
0
0
0
0.345034
0.240478
0
0
0
0
0.347826
1
0.086957
false
0
0.086957
0
0.173913
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
915b0997a2f95d4c352c9377ebc02ec42a5ca51e
1,093
py
Python
historical/vpc/differ.py
Netflix-Skunkworks/historical
1a16d4f0613f2466fa4033235e8e63028166fba3
[ "Apache-2.0" ]
83
2017-09-07T20:08:05.000Z
2022-02-07T16:45:53.000Z
historical/vpc/differ.py
Netflix-Skunkworks/historical
1a16d4f0613f2466fa4033235e8e63028166fba3
[ "Apache-2.0" ]
81
2017-09-10T02:44:16.000Z
2019-08-05T17:45:34.000Z
historical/vpc/differ.py
Netflix-Skunkworks/historical
1a16d4f0613f2466fa4033235e8e63028166fba3
[ "Apache-2.0" ]
10
2017-09-06T16:34:28.000Z
2019-12-12T21:06:51.000Z
""" .. module: historical.vpc.differ :platform: Unix :copyright: (c) 2017 by Netflix Inc., see AUTHORS for more :license: Apache, see LICENSE for more details. .. author:: Kevin Glisson <kglisson@netflix.com> """ import logging from raven_python_lambda import RavenLambdaWrapper from historical.common.dyna...
31.228571
116
0.771272
130
1,093
6.392308
0.569231
0.067389
0.048135
0.064982
0
0
0
0
0
0
0
0.00863
0.151876
1,093
34
117
32.147059
0.88781
0.400732
0
0
0
0
0.027287
0
0
0
0
0
0
1
0.071429
false
0
0.428571
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
91694f9dfb910889346bf868356247343c6b6b7f
1,221
py
Python
jax/scipy/special.py
mariogeiger/jax
7098088f4eb15cf750398889e4341dbc15cda1b3
[ "Apache-2.0" ]
2
2021-09-27T06:33:20.000Z
2022-01-08T10:03:33.000Z
jax/scipy/special.py
mariogeiger/jax
7098088f4eb15cf750398889e4341dbc15cda1b3
[ "Apache-2.0" ]
9
2022-01-03T06:09:33.000Z
2022-03-07T19:31:57.000Z
jax/scipy/special.py
mariogeiger/jax
7098088f4eb15cf750398889e4341dbc15cda1b3
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
25.4375
74
0.727273
195
1,221
4.517949
0.517949
0.068104
0.029512
0.036322
0
0
0
0
0
0
0
0.020812
0.21294
1,221
47
75
25.978723
0.895942
0.448812
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.030303
0
0.030303
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
916ef982154aa0322d8ec72a2e25c995b132ae4c
2,639
py
Python
python/scripts/avgdrgnt.py
KohlbacherLab/deregnet
b0a384d512b9e4b108fe8e0051d95f8600eb6244
[ "BSD-3-Clause" ]
null
null
null
python/scripts/avgdrgnt.py
KohlbacherLab/deregnet
b0a384d512b9e4b108fe8e0051d95f8600eb6244
[ "BSD-3-Clause" ]
null
null
null
python/scripts/avgdrgnt.py
KohlbacherLab/deregnet
b0a384d512b9e4b108fe8e0051d95f8600eb6244
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 ''' ''' import sys import os import argparse import igraph as ig # from biomap import BioMap SELFDIR = os.path.dirname(__file__) PKGPATH = os.path.join(SELFDIR, '..') sys.path.append(PKGPATH) import deregnet.core import deregnet.script import deregnet.visual def define_args(parser): der...
37.7
105
0.708602
322
2,639
5.580745
0.319876
0.080134
0.037841
0.044519
0.15025
0.134669
0.058987
0.058987
0.058987
0.058987
0
0.005131
0.187571
2,639
69
106
38.246377
0.833022
0.117469
0
0
0
0
0.207359
0.032468
0
0
0
0.014493
0
1
0.046512
false
0
0.162791
0
0.209302
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
916f7f9f23a1f1018149527321f2d47a3cf743a5
7,966
py
Python
Jainbo/media/views.py
SaibboRiginal/Jainbo
31295754da8588cfd2553aa3f3dc6441d110827b
[ "MIT" ]
null
null
null
Jainbo/media/views.py
SaibboRiginal/Jainbo
31295754da8588cfd2553aa3f3dc6441d110827b
[ "MIT" ]
null
null
null
Jainbo/media/views.py
SaibboRiginal/Jainbo
31295754da8588cfd2553aa3f3dc6441d110827b
[ "MIT" ]
null
null
null
from django.shortcuts import get_object_or_404, render from django.http import HttpResponse, HttpResponseRedirect, Http404, JsonResponse from django.urls import reverse from django.views import generic from django.template import loader from django.contrib.auth.models import User from background_task import background ...
27.095238
96
0.620387
888
7,966
5.449324
0.230856
0.037198
0.052077
0.031618
0.415582
0.380864
0.334367
0.32734
0.254805
0.237859
0
0.002904
0.265252
7,966
294
97
27.095238
0.823851
0.188802
0
0.331169
0
0
0.097899
0.041361
0
0
0
0
0
1
0.116883
false
0.006494
0.071429
0
0.564935
0.012987
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9173e6e5e395b4da7067eb72282aa8d5ea4af9de
2,123
py
Python
docs/source/examples/client-server-request.py
QuirianCordova/reto-ejercicio3
56d006fd2f5feeb6d88891cf4d2f90ba3bc60dd5
[ "MIT" ]
null
null
null
docs/source/examples/client-server-request.py
QuirianCordova/reto-ejercicio3
56d006fd2f5feeb6d88891cf4d2f90ba3bc60dd5
[ "MIT" ]
null
null
null
docs/source/examples/client-server-request.py
QuirianCordova/reto-ejercicio3
56d006fd2f5feeb6d88891cf4d2f90ba3bc60dd5
[ "MIT" ]
1
2019-11-14T20:27:38.000Z
2019-11-14T20:27:38.000Z
# -*- coding: utf-8 -*- # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope th...
33.171875
90
0.692887
288
2,123
5
0.506944
0.038889
0.027083
0.039583
0.138889
0.088889
0.05
0.05
0.05
0
0
0.013609
0.203957
2,123
63
91
33.698413
0.838462
0.368347
0
0
0
0
0.170713
0.056146
0.032258
0
0
0
0.096774
1
0
false
0.129032
0.129032
0
0.129032
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
917522b6408a0c16563e076842e07a6c4b42131c
334
py
Python
install_requirements.py
jasonbrown17/ssh-key-generation
78686d65b75caef4a25e2b6b3a22df57bd3c5bbe
[ "Apache-2.0" ]
null
null
null
install_requirements.py
jasonbrown17/ssh-key-generation
78686d65b75caef4a25e2b6b3a22df57bd3c5bbe
[ "Apache-2.0" ]
null
null
null
install_requirements.py
jasonbrown17/ssh-key-generation
78686d65b75caef4a25e2b6b3a22df57bd3c5bbe
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os def main() try: import pip except ImportError: print ('Installing pip\n\ Enter in your login credentials') os.system('sudo easy_install pip') print ('Installing required modules') os.system('pip install -r requirements.txt') if __name__ == '__ma...
16.7
45
0.682635
46
334
4.76087
0.73913
0.136986
0
0
0
0
0
0
0
0
0
0.003636
0.176647
334
20
46
16.7
0.792727
0.125749
0
0
0
0
0.298969
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9176753a72c3b3b9b5c94955a37d9f8e929ddbad
312
py
Python
python/adder.py
sorja/opetus
f00083ee01eae2ccff9251bd4ec02582b5074cd2
[ "MIT" ]
null
null
null
python/adder.py
sorja/opetus
f00083ee01eae2ccff9251bd4ec02582b5074cd2
[ "MIT" ]
null
null
null
python/adder.py
sorja/opetus
f00083ee01eae2ccff9251bd4ec02582b5074cd2
[ "MIT" ]
null
null
null
def adder(n): if n == 0: return 0 # n = n - 1 return n + adder(n - 1) if __name__ == '__main__': print(''' Give a number between 1 and 1000. We will count the sum 1 + 2 + ... + N ''') number = int(input('> Input a number: ')) total = adder(number) print total
17.333333
59
0.50641
46
312
3.26087
0.543478
0.08
0
0
0
0
0
0
0
0
0
0.054187
0.349359
312
17
60
18.352941
0.684729
0.028846
0
0
0
0
0.368771
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
917942435b71d109a367aaa77df68fcf667c648c
190
py
Python
Solutions/Problem_030.py
PraneethJain/Project-Euler
54fe34da444803ea55c49e4a4cda3ad6d4bca3b8
[ "MIT" ]
2
2022-03-11T21:31:52.000Z
2022-03-11T21:37:14.000Z
Solutions/Problem_030.py
PraneethJain/Project-Euler-100
54fe34da444803ea55c49e4a4cda3ad6d4bca3b8
[ "MIT" ]
null
null
null
Solutions/Problem_030.py
PraneethJain/Project-Euler-100
54fe34da444803ea55c49e4a4cda3ad6d4bca3b8
[ "MIT" ]
1
2022-03-07T12:55:36.000Z
2022-03-07T12:55:36.000Z
from time import time t1 = time() print( sum( i for i in range(2, 5 * (9**5)) if i == sum(int(j) ** 5 for j in list(str(i))) ) ) print(f"Process completed in {time()-t1}s")
19
86
0.547368
37
190
2.810811
0.594595
0.115385
0
0
0
0
0
0
0
0
0
0.05
0.263158
190
9
87
21.111111
0.692857
0
0
0
0
0
0.173684
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
917affaa51793c5b0d719b53dfbf8d4598acb144
1,087
py
Python
setup/pymoduleconnector/Linux/pymoduleconnector/examples/XEP_X4M200_X4M300_access_registers.py
kulia/x4m300-parser
f37451774daf9d35f225e614c09a26d5b25fce86
[ "MIT" ]
18
2020-06-02T11:21:47.000Z
2022-03-25T08:16:57.000Z
setup/pymoduleconnector/Linux/pymoduleconnector/examples/XEP_X4M200_X4M300_access_registers.py
kulia/x4m300-parser
f37451774daf9d35f225e614c09a26d5b25fce86
[ "MIT" ]
4
2020-06-20T13:53:44.000Z
2021-09-11T22:58:21.000Z
setup/pymoduleconnector/Linux/pymoduleconnector/examples/XEP_X4M200_X4M300_access_registers.py
kulia/x4m300-parser
f37451774daf9d35f225e614c09a26d5b25fce86
[ "MIT" ]
6
2020-04-23T21:30:17.000Z
2021-08-03T19:59:12.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ \example XEP_X4M200_X4M300_access_registers.py #Target module: X4M200,X4M300,X4M03 #Introduction: This is an example of how to use the XEP interface from python with the regmap class for easy access to chip registers. #Command to run: "python XEP_X4M200_X4M300_access...
27.871795
134
0.74425
159
1,087
4.893082
0.471698
0.044987
0.057841
0.080977
0.123393
0.123393
0
0
0
0
0
0.050111
0.173873
1,087
38
135
28.605263
0.816258
0.484821
0
0
0
0
0.08958
0
0
0
0
0
0
1
0.055556
false
0
0.388889
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
917f822d3ad6306da00fb86e4c9b7e0f42361483
1,045
py
Python
server/bots/migrations/0001_initial.py
Ymil/telegram-bot-manager
5d5364a94bdfa6d4a5ca4ded8592532f7a25eca1
[ "Apache-2.0" ]
4
2021-03-15T15:02:49.000Z
2022-03-16T15:21:14.000Z
server/bots/migrations/0001_initial.py
Ymil/telegram-bot-manager
5d5364a94bdfa6d4a5ca4ded8592532f7a25eca1
[ "Apache-2.0" ]
6
2021-03-15T15:10:17.000Z
2021-03-15T15:32:10.000Z
server/bots/migrations/0001_initial.py
Ymil/telegram-bot-manager
5d5364a94bdfa6d4a5ca4ded8592532f7a25eca1
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-12 01:30 from django.db import migrations from django.db import models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Bot', fields=[ ( ...
29.857143
82
0.487081
91
1,045
5.472527
0.604396
0.088353
0.048193
0.072289
0
0
0
0
0
0
0
0.031949
0.400957
1,045
34
83
30.735294
0.763578
0.043062
0
0.178571
1
0
0.067134
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
917fccf9aee3c9f015db36f3039152761a9c3103
10,477
py
Python
schema_enforcer/ansible_inventory.py
itdependsnetworks/schema-enforcer
8b81d09fa34496ea75bc12adb92c6fc2093776bc
[ "Apache-2.0" ]
null
null
null
schema_enforcer/ansible_inventory.py
itdependsnetworks/schema-enforcer
8b81d09fa34496ea75bc12adb92c6fc2093776bc
[ "Apache-2.0" ]
null
null
null
schema_enforcer/ansible_inventory.py
itdependsnetworks/schema-enforcer
8b81d09fa34496ea75bc12adb92c6fc2093776bc
[ "Apache-2.0" ]
null
null
null
"""Ansible Inventory class to generate final hostvars based on group_vars and host_vars.""" from ansible.inventory.manager import InventoryManager from ansible.parsing.dataloader import DataLoader from ansible.vars.manager import VariableManager from ansible.template import Templar # Referenced https://github.com/fgi...
43.115226
162
0.647704
1,270
10,477
5.167717
0.185827
0.045254
0.046625
0.03154
0.25918
0.215146
0.191376
0.159988
0.138504
0.100564
0
0.001472
0.286532
10,477
242
163
43.293388
0.876522
0.358977
0
0.10084
1
0.033613
0.243429
0.115705
0
0
0
0.004132
0
1
0.058824
false
0
0.033613
0
0.151261
0.084034
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
91808eb0ed2bd4e750c6abd03947cad25f34bf9c
530
py
Python
home_web/__init__.py
tengshan2008/home_web
6702defee466184edd38848d96efc1842ce6a2f9
[ "MIT" ]
null
null
null
home_web/__init__.py
tengshan2008/home_web
6702defee466184edd38848d96efc1842ce6a2f9
[ "MIT" ]
null
null
null
home_web/__init__.py
tengshan2008/home_web
6702defee466184edd38848d96efc1842ce6a2f9
[ "MIT" ]
null
null
null
import os from flask import Flask # Import the Flask class from .config import Config def create_app(): app = Flask(__name__, instance_relative_config=True) app.config.from_mapping(SECRET_KEY='dev') app.config.from_object(Config) try: os.makedirs(app.instance_path) except OSError: ...
20.384615
56
0.675472
74
530
4.608108
0.567568
0.064516
0.076246
0
0
0
0
0
0
0
0
0.009639
0.216981
530
25
57
21.2
0.812048
0.224528
0
0
0
0
0.05665
0
0
0
0
0
0
1
0.071429
false
0.071429
0.214286
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9181c4ff4ee7e8e7fa9dce55e9f1f99f90b4ccc2
2,565
py
Python
nightmare_control/src/joystick.py
nikisalli/niktab
5a02bd4d25ab65cc129d64754d52dc746037e33c
[ "MIT" ]
null
null
null
nightmare_control/src/joystick.py
nikisalli/niktab
5a02bd4d25ab65cc129d64754d52dc746037e33c
[ "MIT" ]
null
null
null
nightmare_control/src/joystick.py
nikisalli/niktab
5a02bd4d25ab65cc129d64754d52dc746037e33c
[ "MIT" ]
null
null
null
from PyQt5 import QtGui from PyQt5 import QtCore from PyQt5 import QtWidgets import sys from enum import Enum class Direction(Enum): Left = 0 Right = 1 Up = 2 Down = 3 class Joystick(QtWidgets.QWidget): def __init__(self, parent=None): super(Joystick, self).__init__(parent) self.se...
33.75
147
0.615595
290
2,565
5.334483
0.32069
0.077569
0.029089
0.037492
0.080155
0.080155
0.045249
0
0
0
0
0.037606
0.263938
2,565
76
148
33.75
0.78178
0.022612
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.057143
0.514286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9182854998d6661f6e18aa2481da7d464db696b8
2,704
py
Python
src/objects/series.py
lickorice/archive-shalltear
9b554355cf206eaaeb9e5cacf36731831f656e52
[ "MIT" ]
null
null
null
src/objects/series.py
lickorice/archive-shalltear
9b554355cf206eaaeb9e5cacf36731831f656e52
[ "MIT" ]
7
2021-02-08T20:47:05.000Z
2022-03-11T23:37:48.000Z
src/objects/series.py
lickorice/archive-shalltear
9b554355cf206eaaeb9e5cacf36731831f656e52
[ "MIT" ]
null
null
null
import discord, math from data import db_gacha class Series: """ A wrapper for gacha series, conaining Card objects that represent flagship cards, member cards, and et cetera. """ def __init__(self, s_id, s_name, s_url): self.id = int(s_id) self.name = s_name self.icon_url =...
29.391304
83
0.58395
357
2,704
4.238095
0.310924
0.035691
0.031725
0.055519
0.204891
0.167878
0.167878
0.100463
0.100463
0.100463
0
0.008021
0.308432
2,704
92
84
29.391304
0.800535
0.217456
0
0.314815
0
0
0.099186
0.028484
0
0
0.004069
0.01087
0
1
0.111111
false
0
0.037037
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9183c6fe70478df05cdddd61392f9ec21a8c7eba
3,501
py
Python
tests/chainer_tests/links_tests/connection_tests/test_inceptionbn.py
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
2
2019-08-12T21:48:04.000Z
2020-08-27T18:04:20.000Z
tests/chainer_tests/links_tests/connection_tests/test_inceptionbn.py
nolfwin/chainer
8d776fcc1e848cb9d3800a6aab356eb91ae9d088
[ "MIT" ]
2
2019-05-14T15:45:01.000Z
2019-05-15T07:12:49.000Z
tests/chainer_tests/links_tests/connection_tests/test_inceptionbn.py
nolfwin/chainer
8d776fcc1e848cb9d3800a6aab356eb91ae9d088
[ "MIT" ]
2
2019-07-16T00:24:47.000Z
2021-02-26T10:27:27.000Z
import unittest import numpy import chainer from chainer import backend from chainer.backends import cuda from chainer import links from chainer import testing from chainer.testing import attr class TestInceptionBNBase(unittest.TestCase): in_channels = 3 out1, proj3, out3, proj33, out33, proj_pool = 3, 2, ...
20.839286
67
0.672379
397
3,501
5.811083
0.274559
0.046814
0.069354
0.054616
0.212397
0.137408
0.032943
0
0
0
0
0.029795
0.233076
3,501
167
68
20.964072
0.829423
0.013139
0
0.317308
0
0
0.01477
0
0
0
0
0
0.086538
1
0.086538
false
0
0.076923
0
0.644231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9188add53caa39f9bd1476debd1d2e2564464255
19,756
py
Python
spirals/Pipe3D_rotation_curve_plottingFunctions.py
kadglass/RotationCurves
7f52dac022ca4df666e671eeb7f0aaf65c8515c3
[ "BSD-3-Clause" ]
2
2020-03-20T09:43:57.000Z
2020-05-27T23:50:38.000Z
spirals/Pipe3D_rotation_curve_plottingFunctions.py
kadglass/RotationCurves
7f52dac022ca4df666e671eeb7f0aaf65c8515c3
[ "BSD-3-Clause" ]
1
2021-09-14T07:16:09.000Z
2021-09-14T07:16:09.000Z
spirals/Pipe3D_rotation_curve_plottingFunctions.py
kadglass/RotationCurves
7f52dac022ca4df666e671eeb7f0aaf65c8515c3
[ "BSD-3-Clause" ]
3
2021-09-13T18:22:03.000Z
2022-02-08T20:00:24.000Z
import os import gc import numpy as np import numpy.ma as ma import matplotlib matplotlib.use('TKAgg') import matplotlib.pyplot as plt ############################################################################### ############################################################################### ####################...
34.966372
120
0.408433
1,782
19,756
4.321549
0.135241
0.037398
0.020777
0.025971
0.703675
0.631087
0.576419
0.537463
0.482665
0.482665
0
0.004248
0.201559
19,756
564
121
35.028369
0.483961
0.272373
0
0.419355
0
0
0.122955
0
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.064516
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
0
0
0
0
0
0
0
0
1
91890f431238d4006a249e826e2ff83ff7df7ef5
2,397
py
Python
python2/http_load_tools/http_load_multithreaded.py
cgoldberg/corey-projects
5e6ca9fd02f00a8e44692eed68234a12cf2d5bca
[ "WTFPL" ]
null
null
null
python2/http_load_tools/http_load_multithreaded.py
cgoldberg/corey-projects
5e6ca9fd02f00a8e44692eed68234a12cf2d5bca
[ "WTFPL" ]
null
null
null
python2/http_load_tools/http_load_multithreaded.py
cgoldberg/corey-projects
5e6ca9fd02f00a8e44692eed68234a12cf2d5bca
[ "WTFPL" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2008-2009 Corey Goldberg (corey@goldb.org) # # Multithreaded HTTP Load Generator import time import sys import httplib from threading import Thread # URL parameters USE_SSL = False # HTTPS/SSL support HOST = 'example.com' PATH = '/' # load parameters THR...
24.71134
67
0.511473
247
2,397
4.821862
0.392713
0.029387
0.053736
0.028547
0
0
0
0
0
0
0
0.015721
0.389654
2,397
97
68
24.71134
0.79836
0.089278
0
0.09375
0
0
0.035628
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.046875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
918a57e044c3f6150af4011f8054ad92b96cb0c8
14,130
py
Python
Lib/pagebot/web/nanosite/css/nanostyle_css.py
bghryct/PageBot
394150c0fd399f02faec28f4576046882f4d7d39
[ "MIT" ]
68
2018-10-22T22:42:58.000Z
2022-03-19T11:07:31.000Z
Lib/pagebot/web/nanosite/css/nanostyle_css.py
TypeNetwork/PageBot
394150c0fd399f02faec28f4576046882f4d7d39
[ "MIT" ]
97
2017-07-10T23:49:30.000Z
2018-10-03T08:17:55.000Z
Lib/pagebot/web/nanosite/css/nanostyle_css.py
TypeNetwork/PageBot
394150c0fd399f02faec28f4576046882f4d7d39
[ "MIT" ]
9
2017-07-11T09:59:00.000Z
2018-09-12T11:59:30.000Z
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # ----------------------------------------------------------------------------- # # P A G E B O T # # Copyright (c) 2016+ Buro Petr van Blokland + Claudia Mens # www.pagebot.io # Licensed under MIT conditions # # Supporting DrawBot, www.drawbot.com # ...
21.058122
189
0.575796
1,771
14,130
4.594015
0.208922
0.047198
0.044617
0.025811
0.40499
0.322026
0.253196
0.208088
0.15413
0.132989
0
0.043323
0.245294
14,130
670
190
21.089552
0.719617
0.066596
0
0.366269
0
0.003407
0.996809
0.069817
0
0
0
0
0
1
0
false
0
0.003407
0
0.003407
0.003407
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
918b43df0102dd3a66a7d597a925da94addc17b1
16,187
py
Python
gecosistema_spatial/spatialdb.py
valluzzi/gecosistema_spatial
2863afc6087eb44019babccd328942d52e2122da
[ "MIT" ]
null
null
null
gecosistema_spatial/spatialdb.py
valluzzi/gecosistema_spatial
2863afc6087eb44019babccd328942d52e2122da
[ "MIT" ]
null
null
null
gecosistema_spatial/spatialdb.py
valluzzi/gecosistema_spatial
2863afc6087eb44019babccd328942d52e2122da
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Licence: # Copyright (c) 2012-2019 Valerio for Gecosistema S.r.l. # # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", ...
37.556845
164
0.537715
1,628
16,187
5.267199
0.234644
0.016793
0.027988
0.013411
0.281399
0.258192
0.216443
0.174461
0.143207
0.138309
0
0.011475
0.321678
16,187
430
165
37.644186
0.76949
0.141101
0
0.273381
0
0
0.208626
0.047274
0
0
0
0
0
0
null
null
0.003597
0.05036
null
null
0.003597
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
918bf788f55c99e9c6412484cd7c026f7607f904
3,216
py
Python
sdk/python/core/samples/_config_builder.py
ygorelik/pydk
42ac7f2b33006c3ea99d07eb9f405346d35c6614
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/core/samples/_config_builder.py
ygorelik/pydk
42ac7f2b33006c3ea99d07eb9f405346d35c6614
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/core/samples/_config_builder.py
ygorelik/pydk
42ac7f2b33006c3ea99d07eb9f405346d35c6614
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# ---------------------------------------------------------------- # Copyright 2016 Cisco Systems # # 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/LICENS...
38.746988
94
0.751555
439
3,216
5.161731
0.29385
0.043248
0.055605
0.055605
0.38173
0.362754
0.362754
0.240953
0.211827
0.180053
0
0.0322
0.130908
3,216
82
95
39.219512
0.778533
0.237251
0
0
0
0
0.031237
0
0
0
0
0
0
1
0.066667
false
0.088889
0.066667
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
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
918c4526293856dbbc8eb87d70162267241cb212
709
py
Python
VV556/HW3/code/LegendreApproxmation.py
cangyu/lambdaflow
407a952bdf98f6ca161291fe50c5c903c72efb28
[ "MIT" ]
1
2019-07-22T14:24:06.000Z
2019-07-22T14:24:06.000Z
VV556/HW3/code/LegendreApproxmation.py
cangyu/lambdaflow
407a952bdf98f6ca161291fe50c5c903c72efb28
[ "MIT" ]
null
null
null
VV556/HW3/code/LegendreApproxmation.py
cangyu/lambdaflow
407a952bdf98f6ca161291fe50c5c903c72efb28
[ "MIT" ]
1
2018-10-27T08:35:24.000Z
2018-10-27T08:35:24.000Z
import numpy as np from matplotlib import pyplot as plt import math def f(x): return math.exp(x) def f_taylor(t): return 1+t+math.pow(t, 2) a0 = 1.1752 a1 = 1.1036 a2 = 0.3578 def f_legendre(x): return a0 + a1 * x + a2 * (3*math.pow(x, 2) -1)/2 N = 501 x = np.linspace(-1, 1, N) ex = np.array([f(t) f...
21.484848
124
0.605078
151
709
2.81457
0.331126
0.028235
0.056471
0.049412
0.056471
0
0
0
0
0
0
0.082474
0.179126
709
33
124
21.484848
0.647766
0
0
0
0
0
0.094366
0
0
0
0
0
0
1
0.130435
false
0
0.130435
0.130435
0.391304
0.043478
0
0
0
null
0
0
0
0
0
0
0
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
0
0
0
1
918dd98d48f356f7f51f1a9331ed624a0060645e
17,028
py
Python
plugins/modules/oci_dns_zone_facts.py
sagar2938/oci-ansible-collection
5b8ce583a0d5d0aabf14494d61aea4649e18d1e6
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_dns_zone_facts.py
sagar2938/oci-ansible-collection
5b8ce583a0d5d0aabf14494d61aea4649e18d1e6
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_dns_zone_facts.py
sagar2938/oci-ansible-collection
5b8ce583a0d5d0aabf14494d61aea4649e18d1e6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2020, 2021 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
34.609756
133
0.562896
1,805
17,028
5.151247
0.203324
0.03162
0.047537
0.058722
0.456442
0.394278
0.312325
0.24231
0.184556
0.166918
0
0.016331
0.356296
17,028
491
134
34.680244
0.83195
0.024313
0
0.416481
0
0.017817
0.773943
0.067763
0
0
0
0
0
1
0.011136
false
0.002227
0.013363
0.004454
0.037862
0.002227
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
919701738cda48b48cc8bb2f31b2b9fc5ba4cfbb
349
py
Python
objectModel/Python/cdm/resolvedmodel/expression_parser/predefined_type.py
rt112000/CDM
34bd34f9260140a8f8aa02bd87c23033f3daad4c
[ "CC-BY-4.0", "MIT" ]
884
2019-05-10T02:09:10.000Z
2022-03-31T14:02:00.000Z
objectModel/Python/cdm/resolvedmodel/expression_parser/predefined_type.py
spbast/CDM
bf97a3720c97ee4c9df3625084cf8b3bc65ff9c7
[ "CC-BY-4.0", "MIT" ]
171
2019-06-10T11:34:37.000Z
2022-03-31T22:50:12.000Z
objectModel/Python/cdm/resolvedmodel/expression_parser/predefined_type.py
spbast/CDM
bf97a3720c97ee4c9df3625084cf8b3bc65ff9c7
[ "CC-BY-4.0", "MIT" ]
340
2019-05-07T18:00:16.000Z
2022-03-31T12:00:15.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. from enum import IntEnum class PredefinedType(IntEnum): NOT_OPERATOR = 1 OPERATOR = 2 TOKEN = 3 CONSTANT = 4 OPEN_PARENTHESIS = 5 CLOSE_PA...
23.266667
94
0.713467
46
349
5.347826
0.869565
0
0
0
0
0
0
0
0
0
0
0.026119
0.232092
349
14
95
24.928571
0.891791
0.429799
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
91991c869b767335b4d05243961d26c5ada7490e
12,419
py
Python
plugins/modules/oci_email_dkim_facts.py
sagar2938/oci-ansible-collection
5b8ce583a0d5d0aabf14494d61aea4649e18d1e6
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_email_dkim_facts.py
sagar2938/oci-ansible-collection
5b8ce583a0d5d0aabf14494d61aea4649e18d1e6
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_email_dkim_facts.py
sagar2938/oci-ansible-collection
5b8ce583a0d5d0aabf14494d61aea4649e18d1e6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2020, 2021 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
36.101744
153
0.599324
1,378
12,419
5.251814
0.25762
0.023214
0.037585
0.046428
0.424623
0.373221
0.285339
0.226751
0.198839
0.176869
0
0.017173
0.310734
12,419
343
154
36.206997
0.828271
0.033336
0
0.281457
0
0.046358
0.755774
0.079046
0
0
0
0
0
1
0.016556
false
0.003311
0.019868
0.009934
0.056291
0.003311
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9199347664ac08a0254658126d8224d6bd7d1a97
6,776
py
Python
recipes/Python/577441_Run_command_in_Win32_Registry/recipe-577441.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577441_Run_command_in_Win32_Registry/recipe-577441.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577441_Run_command_in_Win32_Registry/recipe-577441.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
# ---------------------------------------------- # Name: Do # Description: Expand and execute command ## D20H-23 Do command from Windows registry # # Author: Philip S. Rist # Date: 10/12/2010 # Copyright 2010 by St. Thomas Software # ---------------------------------------------- # This program is freeware. It may be ...
33.37931
99
0.566263
735
6,776
5.194558
0.361905
0.007858
0.019644
0.026192
0.135673
0.110267
0.036668
0.036668
0.022525
0.022525
0
0.01223
0.324233
6,776
202
100
33.544554
0.821577
0.276269
0
0.209677
0
0
0.063514
0
0
0
0
0
0
0
null
null
0.024194
0.032258
null
null
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
919dcf4eed5e575fd35b9a84cc76436b22792660
1,421
py
Python
setup.py
aychedee/sniffer
356e47c5cf47d5f23c1ff41826c9bdc6040f79f4
[ "MIT" ]
null
null
null
setup.py
aychedee/sniffer
356e47c5cf47d5f23c1ff41826c9bdc6040f79f4
[ "MIT" ]
null
null
null
setup.py
aychedee/sniffer
356e47c5cf47d5f23c1ff41826c9bdc6040f79f4
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages # will fail to install via pip/easy_install #from sniffer.metadata import __version__, __author__, __author_email__ __version__, __author__, __author_email__ = "0.3.4", "Jeff Hui", "jeff@jeffhui.net" setup( name='sniffer', version=__version__, description='An a...
31.577778
83
0.606615
148
1,421
5.5
0.668919
0.058968
0.062654
0.058968
0
0
0
0
0
0
0
0.014829
0.240676
1,421
44
84
32.295455
0.739574
0.105559
0
0.052632
0
0
0.462085
0
0
0
0
0
0
1
0
true
0
0.026316
0
0.026316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
91a36c081d44297319a537977c9968634fdc0202
5,345
py
Python
serp/models.py
iagogarrido/django-serp
a0bffe855cef1f47495a2994da792805a7e2d83c
[ "BSD-3-Clause-Clear" ]
1
2016-03-15T17:57:54.000Z
2016-03-15T17:57:54.000Z
serp/models.py
iagogarrido/django-serp
a0bffe855cef1f47495a2994da792805a7e2d83c
[ "BSD-3-Clause-Clear" ]
11
2016-01-10T19:58:51.000Z
2016-09-22T21:48:48.000Z
serp/models.py
iagogarrido/django-serp
a0bffe855cef1f47495a2994da792805a7e2d83c
[ "BSD-3-Clause-Clear" ]
null
null
null
from django.db import models from django.core.urlresolvers import reverse from django.core.validators import validate_email from serp.validators import validate_bic, validate_iban, validate_nif, validate_codpostal # Create your models here. TIPO_COBRO = ( ('I', 'Ingreso'), ('G', 'Gasto'), ) TIPO_PRESENTADOR ...
39.592593
114
0.715622
648
5,345
5.716049
0.182099
0.170086
0.097192
0.12959
0.483261
0.396598
0.307505
0.285367
0.25621
0.24649
0
0.021878
0.153414
5,345
134
115
39.88806
0.796685
0.00449
0
0.330097
0
0
0.106223
0.0047
0
0
0
0
0
1
0.097087
false
0
0.067961
0.097087
0.883495
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
91a50515d6ddfd3b7262f7be8ec40e6696dd3187
304
py
Python
Chapter2_Python/ZipEnumerate.py
thisisjako/UdemyTF
ee4102391ed6bd50f764955f732f5740425a9209
[ "MIT" ]
null
null
null
Chapter2_Python/ZipEnumerate.py
thisisjako/UdemyTF
ee4102391ed6bd50f764955f732f5740425a9209
[ "MIT" ]
null
null
null
Chapter2_Python/ZipEnumerate.py
thisisjako/UdemyTF
ee4102391ed6bd50f764955f732f5740425a9209
[ "MIT" ]
null
null
null
list_a = [10, 20, 30] list_b = ["Jan", "Peter", "Max"] list_c = [True, False, True] for val_a, val_b, val_c in zip(list_a, list_b, list_c): print(val_a, val_b, val_c) print("\n") for i in range(len(list_a)): print(i, list_a[i]) print("\n") for i, val in enumerate(list_a): print(i, val)
17.882353
55
0.615132
63
304
2.730159
0.349206
0.145349
0.081395
0.093023
0.139535
0.139535
0
0
0
0
0
0.02439
0.190789
304
16
56
19
0.674797
0
0
0.181818
0
0
0.049342
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
91a5627bf43bc1c0a60fe517dd5348ccf5ac98cd
3,947
py
Python
tests/test_serializers.py
rojoca/django-rest-framework-jwt
cada38d8546dc374981853f2263c9005987cedc5
[ "MIT" ]
null
null
null
tests/test_serializers.py
rojoca/django-rest-framework-jwt
cada38d8546dc374981853f2263c9005987cedc5
[ "MIT" ]
null
null
null
tests/test_serializers.py
rojoca/django-rest-framework-jwt
cada38d8546dc374981853f2263c9005987cedc5
[ "MIT" ]
null
null
null
import unittest from distutils.version import StrictVersion import django from django.http import HttpRequest from django.test import TestCase from django.test.utils import override_settings import rest_framework from rest_framework.request import Request from rest_framework_jwt.compat import get_user_model from re...
30.596899
86
0.660755
430
3,947
5.881395
0.237209
0.041518
0.047054
0.074733
0.481218
0.451957
0.399367
0.333729
0.288256
0.288256
0
0.006002
0.240182
3,947
128
87
30.835938
0.837279
0
0
0.360825
0
0
0.14264
0.020015
0
0
0
0
0.123711
1
0.092784
false
0.061856
0.113402
0
0.226804
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
91bc32020f26853cfd18f7f31b2d4ec76ea845bd
2,129
py
Python
src/compute_privacy.py
sanixa/P3GM_custom
fbd8fb61ca58cc681fae7e8272df1655acf4d804
[ "MIT" ]
null
null
null
src/compute_privacy.py
sanixa/P3GM_custom
fbd8fb61ca58cc681fae7e8272df1655acf4d804
[ "MIT" ]
null
null
null
src/compute_privacy.py
sanixa/P3GM_custom
fbd8fb61ca58cc681fae7e8272df1655acf4d804
[ "MIT" ]
null
null
null
import hivae import vae import sys import torch import functools import my_util import math import pathlib import argparse import numpy as np filedir = pathlib.Path(__file__).resolve().parent sys.path.append(str(filedir.parent / "privacy")) from tensorflow_privacy.privacy.analysis.rdp_accountant import compute_rdp, get...
36.084746
118
0.695162
347
2,129
4.060519
0.371758
0.068133
0.046842
0.068133
0.147622
0.122072
0.080908
0.080908
0.080908
0.080908
0
0.04009
0.168154
2,129
58
119
36.706897
0.755505
0.153593
0
0
0
0.026316
0.109192
0.056825
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.394737
0.078947
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
91bcd83fc22c04d3867bb43dcc7092f82ce6ec79
577
py
Python
setup.py
pmp47/Security
414a6c0acd56aad13dff63a25ae5986bbfd14916
[ "MIT" ]
null
null
null
setup.py
pmp47/Security
414a6c0acd56aad13dff63a25ae5986bbfd14916
[ "MIT" ]
null
null
null
setup.py
pmp47/Security
414a6c0acd56aad13dff63a25ae5986bbfd14916
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='Security', version='1.1.15', description='A simple security library wrapping various well known primitives.', url='https://www.github.com/pmp47/Security', author='pmp47', author_email='phil@zeural.com', license='MIT', packages=['security'], install_requires=['bcrypt==3.1...
32.055556
158
0.72617
80
577
5.1375
0.725
0.043796
0
0
0
0
0
0
0
0
0
0.035647
0.076257
577
17
159
33.941176
0.73546
0
0
0
0
0.0625
0.500867
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
91bee9faf515c21a2b448f931f39b6e5f44e507d
2,498
py
Python
derivatives.py
jpbreuer/CMB-2D-grav_lensing-with-nifty
7e68f2de01fe68d51e71ec9ef33305fa84206203
[ "MIT" ]
1
2016-04-21T08:49:36.000Z
2016-04-21T08:49:36.000Z
derivatives.py
jpbreuer/2D-gravitational_lensing-CMB-with-nifty
7e68f2de01fe68d51e71ec9ef33305fa84206203
[ "MIT" ]
null
null
null
derivatives.py
jpbreuer/2D-gravitational_lensing-CMB-with-nifty
7e68f2de01fe68d51e71ec9ef33305fa84206203
[ "MIT" ]
null
null
null
from vector_field import * about.hermitianize.off() def Nabla_discrete(k_space,s_space=None,kfield=None): """ This function returns the difference operator represented in Fourier space. """ if(about.hermitianize.status): print 'It is not recommended to calculate derivatives in...
29.738095
91
0.633707
352
2,498
4.397727
0.235795
0.03876
0.034884
0.071059
0.710594
0.657623
0.564599
0.564599
0.564599
0.55168
0
0.004338
0.261809
2,498
83
92
30.096386
0.835141
0
0
0.5
0
0
0.155093
0
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
91d503c31210a49b924dbb63337d444d4de28f5c
2,853
py
Python
.vscode/extensions/ms-vscode.cpptools-1.9.0/debugAdapters/lldb/lib/python2.7/site-packages/lldb/formatters/Logger.py
Kvahn-ui/dotfiles
3f1364410f5bebcaacca6ae38a8e5fbb9bb51285
[ "MIT" ]
3
2016-02-10T14:18:40.000Z
2018-02-05T03:15:56.000Z
.vscode/extensions/ms-vscode.cpptools-1.9.0/debugAdapters/lldb/lib/python2.7/site-packages/lldb/formatters/Logger.py
Kvahn-ui/dotfiles
3f1364410f5bebcaacca6ae38a8e5fbb9bb51285
[ "MIT" ]
4
2019-06-16T09:52:03.000Z
2019-08-18T02:11:35.000Z
.vscode/extensions/ms-vscode.cpptools-1.9.0/debugAdapters/lldb/lib/python2.7/site-packages/lldb/formatters/Logger.py
Kvahn-ui/dotfiles
3f1364410f5bebcaacca6ae38a8e5fbb9bb51285
[ "MIT" ]
null
null
null
from __future__ import print_function import sys import os.path import inspect class NopLogger: def __init__(self): pass def write(self,data): pass def flush(self): pass def close(self): pass class StdoutLogger: def __init__(self): pass def write(self,data): print(data) def flush(self): pas...
23.195122
187
0.719243
423
2,853
4.650118
0.269504
0.092527
0.106253
0.082359
0.229792
0.175902
0.175902
0.103711
0.072191
0
0
0.003893
0.189625
2,853
122
188
23.385246
0.846886
0.230985
0
0.515464
0
0
0.046661
0
0
0
0
0
0
1
0.185567
false
0.113402
0.041237
0
0.278351
0.041237
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
91d96a586d0ed92425e8f519861c37f65d1c83f5
523
py
Python
backend/main_app/migrations/0006_message_category.py
AlexGeniusMan/NA-PROJECT
c9ba30490b2f15e47e4496caba95945a03cb9325
[ "Apache-2.0" ]
null
null
null
backend/main_app/migrations/0006_message_category.py
AlexGeniusMan/NA-PROJECT
c9ba30490b2f15e47e4496caba95945a03cb9325
[ "Apache-2.0" ]
null
null
null
backend/main_app/migrations/0006_message_category.py
AlexGeniusMan/NA-PROJECT
c9ba30490b2f15e47e4496caba95945a03cb9325
[ "Apache-2.0" ]
1
2021-07-03T14:51:12.000Z
2021-07-03T14:51:12.000Z
# Generated by Django 3.1.5 on 2021-03-03 14:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_app', '0005_message_short_description'), ] operations = [ migrations.AddField( model_name='message', name='cate...
27.526316
178
0.621415
55
523
5.781818
0.781818
0
0
0
0
0
0
0
0
0
0
0.05198
0.227533
523
18
179
29.055556
0.735149
0.086042
0
0
1
0
0.235294
0.063025
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
91da3aa078668d3702bc691574914275d126f7a6
915
py
Python
src/woolgatherer/routers/frontend.py
dojoteef/storium-frontend
fe1f1ebb7d26787dfdba4788260496b84e34f39c
[ "BSD-3-Clause" ]
3
2020-11-26T16:39:21.000Z
2022-02-03T17:14:09.000Z
src/woolgatherer/routers/frontend.py
dojoteef/storium-frontend
fe1f1ebb7d26787dfdba4788260496b84e34f39c
[ "BSD-3-Clause" ]
1
2020-11-06T15:49:47.000Z
2020-11-06T15:49:47.000Z
src/woolgatherer/routers/frontend.py
dojoteef/storium-frontend
fe1f1ebb7d26787dfdba4788260496b84e34f39c
[ "BSD-3-Clause" ]
null
null
null
""" This router handles the website frontend """ import os import aiofiles import markdown from fastapi import APIRouter from starlette.requests import Request from woolgatherer.utils.routing import CompressibleRoute from woolgatherer.utils.templating import TemplateResponse router = APIRouter() router.route_class ...
25.416667
81
0.736612
106
915
6.320755
0.509434
0.029851
0.053731
0
0
0
0
0
0
0
0
0
0.165027
915
35
82
26.142857
0.876963
0.080874
0
0
0
0
0.124487
0
0
0
0
0
0
1
0
false
0
0.368421
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
91dd5ae9fd042f00d501adedd26ecf20c8b7f731
1,792
py
Python
CalendarDay.py
ebraunkeller/kerouac-bobblehead
2f4fc48ae3adda8e11ae9e16f061edd355edeea9
[ "MIT" ]
null
null
null
CalendarDay.py
ebraunkeller/kerouac-bobblehead
2f4fc48ae3adda8e11ae9e16f061edd355edeea9
[ "MIT" ]
null
null
null
CalendarDay.py
ebraunkeller/kerouac-bobblehead
2f4fc48ae3adda8e11ae9e16f061edd355edeea9
[ "MIT" ]
null
null
null
# Open the calendar file, read it into memory. # Pick a date, determine if it's a school day # for now hardcode the file path and name import csv, time, string,sys from datetime import datetime # convert X2 date format to Python format mm/dd/yyyy def date(date): return date.split("/")[0].zfill(2)+"/"+date....
30.896552
95
0.631696
245
1,792
4.620408
0.42449
0.04947
0.018551
0.081272
0.162544
0.067138
0.067138
0.067138
0
0
0
0.040138
0.193638
1,792
57
96
31.438596
0.743253
0.125
0
0
0
0
0.133555
0.083721
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
91dd787cad65ef64800a6f991c0cd1909bf16678
1,756
py
Python
transifex.py
sthagen/tappy
5f03b385dee685289e5ed2ebaf5f153e15572a3e
[ "BSD-2-Clause" ]
null
null
null
transifex.py
sthagen/tappy
5f03b385dee685289e5ed2ebaf5f153e15572a3e
[ "BSD-2-Clause" ]
null
null
null
transifex.py
sthagen/tappy
5f03b385dee685289e5ed2ebaf5f153e15572a3e
[ "BSD-2-Clause" ]
null
null
null
# Copyright (c) 2019, Matt Layman and contributors from ConfigParser import ConfigParser, NoOptionError, NoSectionError import os import sys import requests API_URL = "https://www.transifex.com/api/2" LANGUAGES = ["ar", "de", "es", "fr", "it", "ja", "nl", "pt", "ru", "zh"] def fetch_po_for(language, username, pass...
33.132075
88
0.646355
229
1,756
4.80786
0.467249
0.087193
0.018165
0.032698
0.096276
0.061762
0
0
0
0
0
0.011503
0.207859
1,756
52
89
33.769231
0.780014
0.027335
0
0.05
0
0
0.212778
0.028722
0
0
0
0
0
1
0.05
false
0.15
0.1
0
0.175
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
91df7347399476ba96cc42f6cd61aab10281e0a1
860
py
Python
molecule/default/tests/test_default.py
darkwizard242/ansible-role-asciinema
19005cc5d94f8bc2116678a92a29ae050df83bae
[ "MIT" ]
2
2021-08-04T19:43:46.000Z
2021-09-18T15:59:18.000Z
molecule/default/tests/test_default.py
darkwizard242/ansible-role-asciinema
19005cc5d94f8bc2116678a92a29ae050df83bae
[ "MIT" ]
3
2020-04-05T02:09:19.000Z
2022-02-02T19:37:54.000Z
molecule/default/tests/test_default.py
darkwizard242/ansible-role-asciinema
19005cc5d94f8bc2116678a92a29ae050df83bae
[ "MIT" ]
null
null
null
import os import testinfra.utils.ansible_runner testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') PACKAGE = 'asciinema' PACKAGE_BINARY = '/usr/bin/asciinema' def test_asciinema_package_installed(host): """ Tests if asciinema package...
22.051282
65
0.726744
108
860
5.555556
0.351852
0.125
0.106667
0.1
0.176667
0
0
0
0
0
0
0
0.172093
860
38
66
22.631579
0.842697
0.201163
0
0
0
0
0.108626
0.036741
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
91e092a41d95a4ed3b2780d6326509942d64591f
428
py
Python
docs/examples/point_450glifs/run_pointnet.py
GregGlickert/bmtk
79bcbf5d7276aca08ab8a9c3a6015289149fdcdd
[ "BSD-3-Clause" ]
216
2017-10-03T17:02:42.000Z
2022-03-20T03:35:48.000Z
docs/examples/point_450glifs/run_pointnet.py
GregGlickert/bmtk
79bcbf5d7276aca08ab8a9c3a6015289149fdcdd
[ "BSD-3-Clause" ]
70
2017-10-05T00:50:41.000Z
2022-03-30T18:55:01.000Z
docs/examples/point_450glifs/run_pointnet.py
GregGlickert/bmtk
79bcbf5d7276aca08ab8a9c3a6015289149fdcdd
[ "BSD-3-Clause" ]
97
2017-10-03T22:15:06.000Z
2022-03-23T21:03:26.000Z
import os, sys from bmtk.simulator import pointnet import nest try: nest.Install('glifmodule') except Exception as e: pass def main(config_file): configure = pointnet.Config.from_json(config_file) configure.build_env() graph = pointnet.PointNetwork.from_config(configure) sim = pointnet.Poin...
18.608696
63
0.724299
54
428
5.481481
0.574074
0.067568
0.128378
0
0
0
0
0
0
0
0
0
0.172897
428
22
64
19.454545
0.836158
0
0
0
0
0
0.067757
0
0
0
0
0
0
1
0.066667
false
0.066667
0.2
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
91e4bfa20ff29ba21f61d3e89f8aaee867afd312
3,795
py
Python
core/admin.py
iankigen/art-backend
e46f8e1a530ae56b6a236af4ff686ca4e0dd6630
[ "MIT" ]
null
null
null
core/admin.py
iankigen/art-backend
e46f8e1a530ae56b6a236af4ff686ca4e0dd6630
[ "MIT" ]
null
null
null
core/admin.py
iankigen/art-backend
e46f8e1a530ae56b6a236af4ff686ca4e0dd6630
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth import get_user_model from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from .forms import UserRegistrationForm from .models.asset import ( AssetCategory, AssetType, AssetSubCategory, Asset, AssetMake, AssetLog, AssetStatus...
25.993151
79
0.57444
312
3,795
6.730769
0.288462
0.034286
0.064762
0.048571
0.242381
0.224762
0.111429
0.111429
0.111429
0.047619
0
0.001519
0.305929
3,795
145
80
26.172414
0.795748
0
0
0.381356
0
0
0.222925
0.012648
0
0
0
0
0
1
0
false
0.050847
0.050847
0
0.288136
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
91ef8185b8eacaa8782c8f93ad755aa4984928d6
531
py
Python
Task/Percentage-difference-between-images/Python/percentage-difference-between-images-2.py
LaudateCorpus1/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
Task/Percentage-difference-between-images/Python/percentage-difference-between-images-2.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
null
null
null
Task/Percentage-difference-between-images/Python/percentage-difference-between-images-2.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
from itertools import izip import Image i1 = Image.open("image1.jpg") i2 = Image.open("image2.jpg") assert i1.mode == i2.mode, "Different kinds of images." assert i1.size == i2.size, "Different sizes." pairs = izip(i1.getdata(), i2.getdata()) if len(i1.getbands()) == 1: # for gray-scale jpegs dif = sum(abs(p1...
29.5
68
0.6629
91
531
3.868132
0.516484
0.045455
0.051136
0.051136
0.079545
0
0
0
0
0
0
0.081448
0.167608
531
17
69
31.235294
0.714932
0.037665
0
0
0
0
0.168959
0
0
0
0
0
0.153846
0
null
null
0
0.153846
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
37ce33040c204587ae0855dc2ce2f2e0527c312e
1,508
py
Python
dd_augment.py
loveorchids/deformable_detection
b15e7fb2dd5248c6e6d6bc7febcf4c9fb66011c6
[ "MIT" ]
null
null
null
dd_augment.py
loveorchids/deformable_detection
b15e7fb2dd5248c6e6d6bc7febcf4c9fb66011c6
[ "MIT" ]
null
null
null
dd_augment.py
loveorchids/deformable_detection
b15e7fb2dd5248c6e6d6bc7febcf4c9fb66011c6
[ "MIT" ]
null
null
null
from imgaug import augmenters def aug_temp(args, bg_color=255): aug_list = [] stage_0, stage_1, stage_2, stage_3 = 2048, 2048, 512, 512 # Pad the height to stage_0 aug_list.append(augmenters.PadToFixedSize(width=1, height=stage_0, pad_cval=bg_color)) # Resize its height to stage_1, note that stage...
47.125
96
0.738064
234
1,508
4.542735
0.354701
0.079022
0.122295
0.216369
0.427093
0.283161
0.165569
0.165569
0
0
0
0.045242
0.149867
1,508
32
97
47.125
0.783931
0.319629
0
0
0
0
0.042365
0
0
0
0
0
0
1
0.066667
false
0
0.066667
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
0
0
0
0
0
0
0
1
37d288437e0cefcbf30f36ca438ca7535c5a7aa1
5,602
py
Python
rabbitmq_status.py
mancdaz/rpc-maas
4b4712e3af5c5658c9c45d18e42fb75fbecff1da
[ "Apache-2.0" ]
null
null
null
rabbitmq_status.py
mancdaz/rpc-maas
4b4712e3af5c5658c9c45d18e42fb75fbecff1da
[ "Apache-2.0" ]
null
null
null
rabbitmq_status.py
mancdaz/rpc-maas
4b4712e3af5c5658c9c45d18e42fb75fbecff1da
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2014, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
34.368098
129
0.569618
688
5,602
4.518895
0.321221
0.031843
0.024124
0.008684
0.246381
0.213574
0.213574
0.16211
0.16211
0.16211
0
0.005797
0.322563
5,602
162
130
34.580247
0.813439
0.171546
0
0.241071
0
0.008929
0.220131
0.005033
0
0
0
0
0
0
null
null
0.035714
0.035714
null
null
0.008929
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
37daf66c3c6661276478bea5e4c0b4e12e19975c
5,581
py
Python
tests/test_core.py
kajaste/pychoir
4c2498943c5d00b090dc4605735db2757d4bae7f
[ "MIT" ]
12
2020-12-09T00:15:04.000Z
2022-02-27T16:39:15.000Z
tests/test_core.py
kajaste/pychoir
4c2498943c5d00b090dc4605735db2757d4bae7f
[ "MIT" ]
1
2021-01-09T23:01:03.000Z
2021-01-15T00:39:48.000Z
tests/test_core.py
kajaste/pychoir
4c2498943c5d00b090dc4605735db2757d4bae7f
[ "MIT" ]
2
2021-06-01T12:17:12.000Z
2021-06-22T00:55:12.000Z
import sys from contextlib import contextmanager from typing import Any, Dict, List, cast from unittest.mock import MagicMock import pytest from pychoir import ( And, Anything, EqualTo, GreaterThan, InAnyOrder, IsInstance, IsTruthy, Matchable, Matcher, that, ) def test_matcha...
36.24026
108
0.63537
686
5,581
4.951895
0.157434
0.075066
0.055932
0.022078
0.548131
0.502797
0.404769
0.320871
0.261113
0.181925
0
0.014124
0.238846
5,581
153
109
36.477124
0.785546
0
0
0.157025
0
0.008264
0.114316
0.036911
0
0
0
0
0.413223
1
0.14876
false
0
0.057851
0.024793
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
37de59d47677f544fe8e5305f6515462f5c1acc6
4,197
py
Python
homeassistant/components/aussie_broadband/config_flow.py
mib1185/core
b17d4ac65cde9a27ff6032d70b148792e5eba8df
[ "Apache-2.0" ]
null
null
null
homeassistant/components/aussie_broadband/config_flow.py
mib1185/core
b17d4ac65cde9a27ff6032d70b148792e5eba8df
[ "Apache-2.0" ]
null
null
null
homeassistant/components/aussie_broadband/config_flow.py
mib1185/core
b17d4ac65cde9a27ff6032d70b148792e5eba8df
[ "Apache-2.0" ]
null
null
null
"""Config flow for Aussie Broadband integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from aiohttp import ClientError from aussiebb.asyncio import AussieBB, AuthenticationException from aussiebb.const import FETCH_TYPES import voluptuous as vol from homeass...
34.975
114
0.599476
455
4,197
5.283516
0.243956
0.041181
0.052413
0.023295
0.329035
0.231697
0.163478
0.056572
0.029118
0
0
0.000347
0.313319
4,197
119
115
35.268908
0.833796
0.033834
0
0.153846
0
0
0.02409
0
0
0
0
0
0
1
0.010989
false
0.054945
0.131868
0
0.274725
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
37e5ed2734af1e9a9f866ebdb7d68ca8248e48ff
350
py
Python
cryptography/shell_game/__init__.py
JASTYN/pythonmaster
46638ab09d28b65ce5431cd0759fe6df272fb85d
[ "Apache-2.0", "MIT" ]
3
2017-05-02T10:28:13.000Z
2019-02-06T09:10:11.000Z
cryptography/shell_game/__init__.py
JASTYN/pythonmaster
46638ab09d28b65ce5431cd0759fe6df272fb85d
[ "Apache-2.0", "MIT" ]
2
2017-06-21T20:39:14.000Z
2020-02-25T10:28:57.000Z
cryptography/shell_game/__init__.py
JASTYN/pythonmaster
46638ab09d28b65ce5431cd0759fe6df272fb85d
[ "Apache-2.0", "MIT" ]
2
2016-07-29T04:35:22.000Z
2017-01-18T17:05:36.000Z
class ShellGame(object): def __init__(self, start, swaps): self.start = start self.swaps = swaps def find_the_ball(self): if len(self.swaps) == 0: return self.start else: for pos in self.swaps: for x in pos: self.start ...
25
37
0.508571
43
350
4
0.465116
0.261628
0.174419
0
0
0
0
0
0
0
0
0.004831
0.408571
350
13
38
26.923077
0.826087
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.416667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37ec95cf92152c96f09d37818e9c5fe8f35c72a6
965
py
Python
backend/meertime/urls.py
gravitationalwavedc/meertime_dataportal
de06814d5b456c12ebd77d76eb38801458c97d26
[ "MIT" ]
1
2020-10-26T02:48:06.000Z
2020-10-26T02:48:06.000Z
backend/meertime/urls.py
gravitationalwavedc/meertime_dataportal
de06814d5b456c12ebd77d76eb38801458c97d26
[ "MIT" ]
null
null
null
backend/meertime/urls.py
gravitationalwavedc/meertime_dataportal
de06814d5b456c12ebd77d76eb38801458c97d26
[ "MIT" ]
null
null
null
"""meertime URL Configuration """ from django.contrib import admin from django.urls import include, path from graphene_django.views import GraphQLView from django.views.decorators.csrf import csrf_exempt from django.conf import settings from django.conf.urls.static import static from .schema import schema handler500 =...
32.166667
106
0.761658
118
965
6.076271
0.398305
0.069735
0.039052
0
0
0
0
0
0
0
0
0.007126
0.127461
965
29
107
33.275862
0.844418
0.083938
0
0
0
0
0.127708
0.058153
0
0
0
0
0
1
0
false
0
0.380952
0
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
37f01a5c10607dbe26eecdfe1048e0756242282d
6,561
py
Python
qiskit/aqua/operators/converters/abelian_grouper.py
johannes-weidenfeller/qiskit-aqua
7775410f4dabf09ec9f933bf411ead434550accf
[ "Apache-2.0" ]
1
2021-04-07T16:15:17.000Z
2021-04-07T16:15:17.000Z
qiskit/aqua/operators/converters/abelian_grouper.py
johannes-weidenfeller/qiskit-aqua
7775410f4dabf09ec9f933bf411ead434550accf
[ "Apache-2.0" ]
2
2020-10-07T17:11:48.000Z
2020-10-14T16:51:22.000Z
qiskit/aqua/operators/converters/abelian_grouper.py
johannes-weidenfeller/qiskit-aqua
7775410f4dabf09ec9f933bf411ead434550accf
[ "Apache-2.0" ]
2
2019-04-29T20:10:16.000Z
2021-04-01T17:27:49.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
41.789809
100
0.640299
865
6,561
4.759538
0.316763
0.029147
0.014574
0.010202
0.068496
0.037892
0.021375
0.021375
0
0
0
0.00721
0.281207
6,561
156
101
42.057692
0.865776
0.39811
0
0.058824
0
0
0.072782
0.007965
0
0
0
0.012821
0
1
0.058824
false
0
0.191176
0
0.397059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
37f0586ece5c6298973f3938d6c0203ba61b651f
2,477
py
Python
homebrew/ropgadget_addr.py
wiiu-env/ROBChain
b1749737303430e9691af42ac156e53ea2503763
[ "MIT" ]
1
2022-01-14T00:02:46.000Z
2022-01-14T00:02:46.000Z
homebrew/ropgadget_addr.py
wiiu-env/ROBChain
b1749737303430e9691af42ac156e53ea2503763
[ "MIT" ]
null
null
null
homebrew/ropgadget_addr.py
wiiu-env/ROBChain
b1749737303430e9691af42ac156e53ea2503763
[ "MIT" ]
1
2021-04-20T15:47:36.000Z
2021-04-20T15:47:36.000Z
ROP_POPJUMPLR_STACK12 = 0x0101CD24; ROP_POPJUMPLR_STACK20 = 0x01024D88; ROP_CALLFUNC = 0x01080274; ROP_CALLR28_POP_R28_TO_R31 = 0x0107DD70; ROP_POP_R28R29R30R31 = 0x0101D8D4; ROP_POP_R27 = 0x0101CB00; ROP_POP_R24_TO_R31 = 0x010204C8; ROP_CALLFUNCPTR_WITHARGS_FROM_R3MEM = 0x010253C0; ROP_SETR3TOR31_POP_R31 = 0x0101CC10;...
33.026667
72
0.850626
285
2,477
6.887719
0.592982
0.012736
0.01783
0.020377
0
0
0
0
0
0
0
0.286031
0.089625
2,477
74
73
33.472973
0.584479
0
0
0
0
0
0
0
0
0
0.298748
0
0
1
0
false
0
0
0
0
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37f1616f64a81d17af6f22b78769424d80350fab
580
py
Python
common/tests/test_context_processors.py
lund5000/chirpradio
e084d53e92d897766ac19fe85eeabad68a1d7e39
[ "ECL-2.0", "Apache-2.0" ]
2
2016-01-26T08:09:59.000Z
2019-03-23T23:27:07.000Z
common/tests/test_context_processors.py
lund5000/chirpradio
e084d53e92d897766ac19fe85eeabad68a1d7e39
[ "ECL-2.0", "Apache-2.0" ]
7
2016-02-16T03:36:14.000Z
2020-05-04T16:19:00.000Z
common/tests/test_context_processors.py
lund5000/chirpradio
e084d53e92d897766ac19fe85eeabad68a1d7e39
[ "ECL-2.0", "Apache-2.0" ]
3
2016-04-16T02:51:35.000Z
2021-12-06T19:25:15.000Z
from django.conf import settings from django.http import HttpRequest from django.test import TestCase as DjangoTestCase from django.template import RequestContext class TestBaseContext(DjangoTestCase): def test_logout_url_redirects_to_current_page(self): request = HttpRequest() request.method...
36.25
89
0.72069
66
580
6.227273
0.560606
0.097324
0.072993
0
0
0
0
0
0
0
0
0
0.184483
580
16
89
36.25
0.868922
0
0
0
0
0
0.139655
0.072414
0
0
0
0
0.153846
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
37f57785c11e52ef5a2b719c4474eacc2117de2d
900
py
Python
libs/models.py
kbressem/spa
52dcc4b5779e518034366efb1fb3c3f267d08ef6
[ "Apache-2.0" ]
null
null
null
libs/models.py
kbressem/spa
52dcc4b5779e518034366efb1fb3c3f267d08ef6
[ "Apache-2.0" ]
null
null
null
libs/models.py
kbressem/spa
52dcc4b5779e518034366efb1fb3c3f267d08ef6
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/04_classification_models.ipynb (unless otherwise specified). __all__ = ['SequentialModel'] # Cell # default_exp models import sys sys.path.append('..') from fastai.basics import * from fastai.layers import * from fastai.vision.learner import create_body as create_body_2...
29.032258
108
0.685556
114
900
5.22807
0.526316
0.050336
0.053691
0
0
0
0
0
0
0
0
0.023977
0.212222
900
31
109
29.032258
0.816643
0.15
0
0
1
0
0.022339
0
0
0
0
0
0
1
0.095238
false
0
0.285714
0
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37f78a33ed22b2c2364e1300042a015cee20423c
2,936
py
Python
peter_sslers/web/views_admin/acme_challenge_unknown_poll.py
aptise/peter_sslers
1dcae3fee0c1f4c67ae8a614aed7e2a3121e88b0
[ "MIT" ]
35
2016-04-21T18:55:31.000Z
2022-03-30T08:22:43.000Z
peter_sslers/web/views_admin/acme_challenge_unknown_poll.py
aptise/peter_sslers
1dcae3fee0c1f4c67ae8a614aed7e2a3121e88b0
[ "MIT" ]
8
2018-05-23T13:38:49.000Z
2021-03-19T21:05:44.000Z
peter_sslers/web/views_admin/acme_challenge_unknown_poll.py
aptise/peter_sslers
1dcae3fee0c1f4c67ae8a614aed7e2a3121e88b0
[ "MIT" ]
2
2016-08-18T21:07:11.000Z
2017-01-11T09:47:40.000Z
# pyramid from pyramid.response import Response from pyramid.view import view_config from pyramid.renderers import render, render_to_response from pyramid.httpexceptions import HTTPNotFound from pyramid.httpexceptions import HTTPSeeOther # stdlib import json # pypi import sqlalchemy # localapp from .. import lib fro...
32.622222
81
0.628406
311
2,936
5.684887
0.282958
0.102941
0.158371
0.169683
0.368213
0.309955
0.270362
0.221719
0.168552
0.140837
0
0.000896
0.240123
2,936
89
82
32.988764
0.791573
0.050749
0
0.186667
0
0
0.28705
0.234173
0
0
0
0
0
1
0.013333
false
0
0.213333
0
0.266667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37f83acaa550cfdcb297a5979aae3f961b994e43
317
py
Python
pm4pymdl/__init__.py
dorian1000/pm4py-mdl
71e0c2425abb183da293a58d31e25e50137c774f
[ "MIT" ]
null
null
null
pm4pymdl/__init__.py
dorian1000/pm4py-mdl
71e0c2425abb183da293a58d31e25e50137c774f
[ "MIT" ]
3
2021-07-07T15:32:55.000Z
2021-07-07T16:15:36.000Z
pm4pymdl/__init__.py
dorian1000/pm4py-mdl
71e0c2425abb183da293a58d31e25e50137c774f
[ "MIT" ]
null
null
null
from pm4pymdl import algo, objects, visualization, order_log_generation, util __version__ = '0.0.45' __doc__ = "Process Mining for Python - Multi-Dimensional Event Logs" __author__ = 'PADS' __author_email__ = 'a.berti@pads.rwth-aachen.de' __maintainer__ = 'PADS' __maintainer_email__ = "a.berti@pads.rwth-aachen.de"
35.222222
77
0.77918
43
317
5.093023
0.72093
0.054795
0.100457
0.136986
0.246575
0.246575
0.246575
0
0
0
0
0.017668
0.107256
317
8
78
39.625
0.756184
0
0
0
0
0
0.391167
0.170347
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37fa8d26db69de5352b7eb77c0a4ece45be8624b
2,541
py
Python
Zabbix_problems_notify/pyzabbix_with_aws.py
fipciu1996/devopstools
9bc2fd97d7228c20ca54663799cf13214d9ffab1
[ "MIT" ]
null
null
null
Zabbix_problems_notify/pyzabbix_with_aws.py
fipciu1996/devopstools
9bc2fd97d7228c20ca54663799cf13214d9ffab1
[ "MIT" ]
null
null
null
Zabbix_problems_notify/pyzabbix_with_aws.py
fipciu1996/devopstools
9bc2fd97d7228c20ca54663799cf13214d9ffab1
[ "MIT" ]
null
null
null
from zabbix_api import ZabbixAPI import time import datetime import boto3 from botocore.config import Config # Integration with AWS client = boto3.client( "sns", aws_access_key_id="Programmatic access key", aws_secret_access_key="Programmatic secret key", region_name="Region name for your sn...
30.614458
98
0.600157
290
2,541
5.189655
0.472414
0.037209
0.025914
0.026578
0
0
0
0
0
0
0
0.0141
0.302243
2,541
82
99
30.987805
0.834743
0.199134
0
0.061538
0
0
0.179474
0
0
0
0
0
0
0
null
null
0.015385
0.076923
null
null
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
37fb786c82706960ccbe970df0960649cc29dcf8
362
py
Python
scripts/initialize-scripts/import_configuration.py
SaxionAMI/AthleteLoadMonitor
36c6b18202d3ef9bd113d935a933fc5166ae0f9a
[ "MIT" ]
null
null
null
scripts/initialize-scripts/import_configuration.py
SaxionAMI/AthleteLoadMonitor
36c6b18202d3ef9bd113d935a933fc5166ae0f9a
[ "MIT" ]
null
null
null
scripts/initialize-scripts/import_configuration.py
SaxionAMI/AthleteLoadMonitor
36c6b18202d3ef9bd113d935a933fc5166ae0f9a
[ "MIT" ]
null
null
null
import sys import json import pymongo # run command: python import_configuration.py <path/file_name.json> <database_name> myclient = pymongo.MongoClient("mongodb://localhost:27017/") mydb = myclient[sys.argv[2]] mycol = mydb["file_import_configuration"] with open(f'{sys.argv[1]}') as f: data = json.load(f) myc...
27.846154
83
0.734807
52
362
5
0.634615
0.146154
0
0
0
0
0
0
0
0
0
0.022013
0.121547
362
12
84
30.166667
0.795597
0.223757
0
0
0
0
0.25448
0.182796
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5303ebf9b47d70b19b03b5f280effe0b8f7f99e1
973
py
Python
tests/test_voting.py
WaruiAlfred/sixty-seconds-impression
73654a8bb6927a58cac8b1af074f4443fb3d7e46
[ "MIT" ]
null
null
null
tests/test_voting.py
WaruiAlfred/sixty-seconds-impression
73654a8bb6927a58cac8b1af074f4443fb3d7e46
[ "MIT" ]
null
null
null
tests/test_voting.py
WaruiAlfred/sixty-seconds-impression
73654a8bb6927a58cac8b1af074f4443fb3d7e46
[ "MIT" ]
null
null
null
import unittest from app.models import Pitches,Upvote,Downvote,User from app import db class VotingTest(unittest.TestCase): '''Test class to test the behaviour of upvote class''' def setUp(self): ''' Set up method that will run before every Test ''' self.user_aldis = User(username = 'Aldis', use...
42.304348
149
0.739979
141
973
4.93617
0.382979
0.110632
0.094828
0.100575
0.261494
0.172414
0.172414
0.08908
0
0
0
0
0.147996
973
23
150
42.304348
0.839566
0.096608
0
0
0
0
0.091967
0
0
0
0
0
0.266667
1
0.2
false
0.066667
0.2
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
530672a05554b8df8abcb030cc206d87af67c732
7,290
py
Python
pyrap/communication.py
danielnyga/pyrap
c964c3044336913fe6768105aa771e0f47be2712
[ "MIT" ]
9
2017-07-21T23:44:12.000Z
2020-09-29T11:39:50.000Z
pyrap/communication.py
danielnyga/pyrap
c964c3044336913fe6768105aa771e0f47be2712
[ "MIT" ]
null
null
null
pyrap/communication.py
danielnyga/pyrap
c964c3044336913fe6768105aa771e0f47be2712
[ "MIT" ]
1
2019-03-07T12:14:07.000Z
2019-03-07T12:14:07.000Z
''' Created on Aug 1, 2015 @author: nyga ''' import threading import json import dnutils from dnutils import ifnone from pyrap import web from pyrap.exceptions import forbidden from pyrap.utils import RStorage, jsonify, rstorify from pyrap.web import internalerror logger = dnutils.getlogger(__name__) class RWTMess...
28.476563
84
0.620027
859
7,290
5.103609
0.251455
0.034672
0.025091
0.030338
0.250912
0.189325
0.115648
0.0625
0.052007
0
0
0.004571
0.279698
7,290
255
85
28.588235
0.830318
0.371056
0
0.278261
0
0
0.033737
0
0
0
0
0
0
1
0.191304
false
0
0.069565
0.06087
0.504348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5306fd1238881443e5e4eb756015dcea94e3fd71
2,298
py
Python
addons/sale_rental/models/product.py
nathanbangwa243/house-location
fa38203b2c92dd97f253fc3b4354af228f1b0338
[ "MIT" ]
1
2021-11-17T18:49:44.000Z
2021-11-17T18:49:44.000Z
addons/sale_rental/models/product.py
nathanbangwa243/house-location
fa38203b2c92dd97f253fc3b4354af228f1b0338
[ "MIT" ]
null
null
null
addons/sale_rental/models/product.py
nathanbangwa243/house-location
fa38203b2c92dd97f253fc3b4354af228f1b0338
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2014-2016 Akretion (http://www.akretion.com) # @author Alexis de Lattre <alexis.delattre@akretion.com> # Copyright 2016 Sodexis (http://sodexis.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models, fields, api, _ from odoo.exceptions import Va...
43.358491
77
0.616188
274
2,298
5.021898
0.423358
0.075581
0.076308
0.09593
0.176599
0.176599
0.109012
0
0
0
0
0.010322
0.28329
2,298
52
78
44.192308
0.825137
0.237598
0
0.2
0
0
0.229885
0.013218
0
0
0
0.019231
0
1
0.057143
false
0
0.057143
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
53117b3e64696dbc25ba9b89c3d07705635dfe19
16,507
py
Python
samples/realtime_beat_detection.py
rreusser/PyAUNetReceive
2c82ecb168b7c2084dad55b03273aa195c240d12
[ "MIT" ]
5
2015-01-13T13:29:59.000Z
2020-06-27T12:36:48.000Z
samples/realtime_beat_detection.py
rreusser/PyAUNetReceive
2c82ecb168b7c2084dad55b03273aa195c240d12
[ "MIT" ]
null
null
null
samples/realtime_beat_detection.py
rreusser/PyAUNetReceive
2c82ecb168b7c2084dad55b03273aa195c240d12
[ "MIT" ]
null
null
null
import numpy as np def hamming_window(n): return 0.54 - 0.46*np.cos(2.0*np.pi*np.arange(n)/(n-1.0)) def flattop_window(n): x = np.arange(n)/(n-1.0) return np.exp(-0.5*np.power((x-0.5)/0.4,8)) def absspectrum(y,window): y = np.abs(np.fft.rfft(y*window)) * np.arange(len(y)//2+1) #y[:10] *= 0 return y de...
26.495987
128
0.635246
2,712
16,507
3.757743
0.18326
0.017172
0.021588
0.020606
0.19007
0.144736
0.115887
0.094495
0.078304
0.060642
0
0.014763
0.244926
16,507
622
129
26.538585
0.802872
0.207488
0
0.310924
0
0
0.006597
0
0
0
0
0
0
0
null
null
0.002801
0.008403
null
null
0.002801
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5312b801a5cb90987983d473e984648498bd56be
410
py
Python
src/utils/schema/jobserver/migrations/0014_auto_20200518_2357.py
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
null
null
null
src/utils/schema/jobserver/migrations/0014_auto_20200518_2357.py
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
8
2020-06-06T08:39:37.000Z
2021-09-22T18:01:47.000Z
src/utils/schema/jobserver/migrations/0014_auto_20200518_2357.py
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-05-18 23:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobserver', '0013_migrate_job_completion'), ] operations = [ migrations.AlterField( model_name='jobhistory', name='w...
21.578947
66
0.614634
45
410
5.466667
0.844444
0
0
0
0
0
0
0
0
0
0
0.073826
0.273171
410
18
67
22.777778
0.751678
0.109756
0
0
1
0
0.137741
0.07438
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5313c2f37bf108d296c7f687e5fc34eb5c038b1a
525
py
Python
backend/app_api/migrations/0010_testtask_project.py
defnngj/quick
98031a0fddf325820ec135a62253468f46aa2ba6
[ "Apache-2.0" ]
1
2021-12-21T16:25:29.000Z
2021-12-21T16:25:29.000Z
backend/app_api/migrations/0010_testtask_project.py
defnngj/quick
98031a0fddf325820ec135a62253468f46aa2ba6
[ "Apache-2.0" ]
null
null
null
backend/app_api/migrations/0010_testtask_project.py
defnngj/quick
98031a0fddf325820ec135a62253468f46aa2ba6
[ "Apache-2.0" ]
1
2022-03-26T14:01:28.000Z
2022-03-26T14:01:28.000Z
# Generated by Django 4.0.2 on 2022-04-17 02:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app_api', '0009_alter_module_describe'), ] operations = [ migrations.AddField( model_name='test...
25
116
0.638095
61
525
5.360656
0.688525
0.073395
0.085627
0.134557
0
0
0
0
0
0
0
0.050378
0.24381
525
20
117
26.25
0.7733
0.085714
0
0
1
0
0.133891
0.054393
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5314a768a9226dac22fc1e77b80452064d6521ee
22,285
py
Python
ris2bib.py
janberges/ris2bib
2e4ae561d58e6183738f1183c1528e4353df9df0
[ "0BSD" ]
1
2021-07-23T11:33:43.000Z
2021-07-23T11:33:43.000Z
ris2bib.py
janberges/ris2bib
2e4ae561d58e6183738f1183c1528e4353df9df0
[ "0BSD" ]
null
null
null
ris2bib.py
janberges/ris2bib
2e4ae561d58e6183738f1183c1528e4353df9df0
[ "0BSD" ]
null
null
null
#!/usr/bin/env python3 r""" Overview ________ This scripts converts bibliographies from RIS to BibTeX format, preserving only relevant information. The RIS input file can be generated, for example, using Zotero's "Quick Copy" feature (Edit > Preferences > Export). It may contain certain Unicode characters, e.g., subs...
26.033879
83
0.477182
2,649
22,285
3.99698
0.297848
0.015111
0.00935
0.01105
0.100491
0.082263
0.065546
0.059312
0.052701
0.042501
0
0.040621
0.3151
22,285
855
84
26.064327
0.653083
0.189679
0
0.138699
1
0.001712
0.207988
0.006842
0.001712
0
0
0
0
1
0.008562
false
0
0.003425
0
0.037671
0.027397
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
531932fa057183c1526a91604c5423b2b4381703
584
py
Python
turtle3.py
diallog/GCPpy
dabd55ece1c12c1a390a228cd04cb7eb110e564b
[ "Unlicense" ]
null
null
null
turtle3.py
diallog/GCPpy
dabd55ece1c12c1a390a228cd04cb7eb110e564b
[ "Unlicense" ]
null
null
null
turtle3.py
diallog/GCPpy
dabd55ece1c12c1a390a228cd04cb7eb110e564b
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 import turtle def DrawSquare(len=100): turtle.forward(len) turtle.left(90) turtle.forward(len) turtle.left(90) turtle.forward(len) turtle.left(90) turtle.forward(len) turtle.left(90) def Main(): # do the main stuff for i in range(1,25): DrawSquar...
20.857143
73
0.636986
86
584
4.232558
0.569767
0.137363
0.175824
0.241758
0.307692
0.307692
0.307692
0.307692
0.307692
0.307692
0
0.038902
0.251712
584
27
74
21.62963
0.79405
0.349315
0
0.470588
0
0
0.021333
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0
0.176471
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
531fb8a5f1458c54f564357593bf664964c32056
1,164
py
Python
scripts/automation/trex_control_plane/interactive/trex/wireless/services/client/client_service_dhcp.py
timgates42/trex-core
efe94752fcb2d0734c83d4877afe92a3dbf8eccd
[ "Apache-2.0" ]
956
2015-06-24T15:04:55.000Z
2022-03-30T06:25:04.000Z
scripts/automation/trex_control_plane/interactive/trex/wireless/services/client/client_service_dhcp.py
angelyouyou/trex-core
fddf78584cae285d9298ef23f9f5c8725e16911e
[ "Apache-2.0" ]
782
2015-09-20T15:19:00.000Z
2022-03-31T23:52:05.000Z
scripts/automation/trex_control_plane/interactive/trex/wireless/services/client/client_service_dhcp.py
angelyouyou/trex-core
fddf78584cae285d9298ef23f9f5c8725e16911e
[ "Apache-2.0" ]
429
2015-06-27T19:34:21.000Z
2022-03-23T11:02:51.000Z
from .client_service import * from wireless.services.trex_stl_dhcp_parser import Dot11DHCPParser from wireless.services.wireless_service_dhcp import WirelessServiceDHCP from wireless.services.client.client_service_association import ClientAssociationAssociatedEvent parser = Dot11DHCPParser() class ClientServiceDHCP(...
48.5
170
0.780928
151
1,164
5.728477
0.403974
0.046243
0.069364
0.03237
0.189595
0
0
0
0
0
0
0.00498
0.137457
1,164
24
171
48.5
0.856574
0.137457
0
0
0
0
0.003003
0
0
0
0
0
0
1
0.2
false
0
0.266667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5325b13e4b19e3a64e291dea2627d9dca028db7f
305
py
Python
pyconll/__init__.py
dantiston/pyconll
046feef710e702c3347c5a37da9862ffcce220bb
[ "MIT" ]
132
2018-07-23T03:34:13.000Z
2022-03-11T17:40:37.000Z
instance_based_eval/myconll/__init__.py
boschresearch/negation_resolution_evaluation_conll2021
c0bdb1a6ee178ceb3fedd575bc4f4c9759cae35b
[ "MIT", "BSD-3-Clause" ]
91
2018-07-27T07:07:30.000Z
2021-10-22T04:58:22.000Z
pyconll/__init__.py
matgrioni/pyconllu
4698d057ca9bb1507aed91ddd64de385b7d232a7
[ "MIT" ]
10
2019-01-02T09:15:40.000Z
2021-07-28T03:39:53.000Z
""" A library whose purpose is to provide a low level layer between the CoNLL format and python code. """ __all__ = ['conllable', 'exception', 'load', 'tree', 'unit', 'util'] from .load import load_from_string, load_from_file, iter_from_string, \ iter_from_file from ._version import __version__
27.727273
80
0.731148
44
305
4.681818
0.681818
0.07767
0
0
0
0
0
0
0
0
0
0
0.160656
305
10
81
30.5
0.804688
0.318033
0
0
0
0
0.17
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
532689f93c60cf8430e1b396a45043a1af80e29c
1,874
py
Python
cli_args.py
torunar/repository-migrator
216aafff802581b07321ee1646cb9a5fcc57ec3a
[ "MIT" ]
null
null
null
cli_args.py
torunar/repository-migrator
216aafff802581b07321ee1646cb9a5fcc57ec3a
[ "MIT" ]
null
null
null
cli_args.py
torunar/repository-migrator
216aafff802581b07321ee1646cb9a5fcc57ec3a
[ "MIT" ]
null
null
null
import argparse def get_cli_args(): """Parses CLI arguments. :return: Program arguments passed via CLI :rtype Dict """ parser = get_cli_args_parser() return parser.parse_args() def get_cli_args_parser(): """Gets CLI arguments parser. :return: Configured arguments parser :rtyp...
23.425
110
0.570971
186
1,874
5.639785
0.376344
0.060057
0.113441
0.024786
0.06101
0
0
0
0
0
0
0
0.297759
1,874
79
111
23.721519
0.797112
0.087513
0
0.229508
0
0.016393
0.341303
0
0
0
0
0
0
1
0.032787
false
0.081967
0.016393
0
0.081967
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
532a37f08a6cb1fa356ea8c7aa95b921d884b4b8
1,141
py
Python
numpy_try.py
NathanKr/numpy-playground
5f36f7471fd7d182a8cbb6097f5d7332991bc7de
[ "MIT" ]
null
null
null
numpy_try.py
NathanKr/numpy-playground
5f36f7471fd7d182a8cbb6097f5d7332991bc7de
[ "MIT" ]
null
null
null
numpy_try.py
NathanKr/numpy-playground
5f36f7471fd7d182a8cbb6097f5d7332991bc7de
[ "MIT" ]
null
null
null
import numpy as np print("np.__version__ : \n",np.__version__) vec1 = np.array([1, 2, 3, 4, 5]) # [1 2 3 4 5] is created print("vec1 : \n",vec1) print("vec1.size : \n",vec1.size) vec2 = np.arange(5) # [0 1 2 3 4] is created print("vec2 : \n",vec2) print("vec2.size : \n",vec2.size) print("np.dot(vec1,vec2) : ",np.do...
30.026316
93
0.636284
198
1,141
3.590909
0.272727
0.049226
0.012658
0.016878
0.078762
0
0
0
0
0
0
0.084954
0.143734
1,141
37
94
30.837838
0.642784
0.241893
0
0
0
0
0.279343
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0.652174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1