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
142b4443621c1acb70282d9c52dd1a1bffed1834
37,110
py
Python
FLIRCam/USB_camera.py
johnnewto/FLIRCam
0a61474c80db34b81deab4e368443bfcc8914b0c
[ "Apache-2.0" ]
null
null
null
FLIRCam/USB_camera.py
johnnewto/FLIRCam
0a61474c80db34b81deab4e368443bfcc8914b0c
[ "Apache-2.0" ]
1
2021-09-28T00:13:35.000Z
2021-09-28T00:13:35.000Z
FLIRCam/USB_camera.py
johnnewto/FLIRCam
0a61474c80db34b81deab4e368443bfcc8914b0c
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: dev/52_USB_camera.ipynb (unless otherwise specified). __all__ = ['Camera'] # Cell from FLIRCam.core import * # Cell # Standard imports: from pathlib import Path import logging from logging.handlers import RotatingFileHandler from time import sleep, time as timestamp from ...
45.645756
133
0.615171
4,578
37,110
4.861512
0.126038
0.038372
0.051222
0.011503
0.36853
0.310388
0.266804
0.219491
0.182018
0.156452
0
0.004364
0.283643
37,110
813
134
45.645756
0.832832
0.229076
0
0.298456
1
0
0.191006
0.008075
0
0
0
0.00246
0.042882
1
0.101201
false
0
0.018868
0
0.180103
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
1438b2096ba63fe6d1a62b835d4279074c7a1b2c
3,247
py
Python
RecoLuminosity/LumiDB/python/normFunctors.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
RecoLuminosity/LumiDB/python/normFunctors.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
RecoLuminosity/LumiDB/python/normFunctors.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
import re,ast class normFunctionFactory(object): ''' luminorm and correction functions. The result of the functions are correction factors, not final luminosity all functions take 5 run time parameters, and arbituary named params ''' def fPoly(self,luminonorm,intglumi,nBXs,whatev,whatav,a0=1.0,...
43.878378
210
0.635972
434
3,247
4.737327
0.315668
0.011673
0.01751
0.024319
0.508268
0.485895
0.485895
0.485895
0.453794
0.365759
0
0.107072
0.220511
3,247
73
211
44.479452
0.705255
0.006775
0
0.327273
0
0.036364
0.179853
0.019048
0
0
0
0
0
0
null
null
0
0.018182
null
null
0.090909
0
0
0
null
0
0
0
0
0
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
143eb22c6257afcf231bbd0e0935076b25db422a
237
py
Python
xontrib/mpl.py
jianlingzhong/xonsh
42e2d792117ceeb0ab7ec8f92fb1177b21388f84
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
xontrib/mpl.py
jianlingzhong/xonsh
42e2d792117ceeb0ab7ec8f92fb1177b21388f84
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
xontrib/mpl.py
jianlingzhong/xonsh
42e2d792117ceeb0ab7ec8f92fb1177b21388f84
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
"""Matplotlib xontribution.""" from xonsh.proc import foreground as foreground __all__ = () @foreground def mpl(args, stdin=None): """Hooks to matplotlib""" from xontrib.mplhooks import show show() aliases['mpl'] = mpl
14.8125
47
0.683544
28
237
5.642857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.185654
237
15
48
15.8
0.818653
0.185654
0
0
0
0
0.016484
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
144171b6bafbda747d920f6c4ec6cca32b6b6574
2,396
py
Python
devito/core/intel.py
alisiahkoohi/devito
f535a44dff12de2837eb6e3217a65ffb2d371cb8
[ "MIT" ]
null
null
null
devito/core/intel.py
alisiahkoohi/devito
f535a44dff12de2837eb6e3217a65ffb2d371cb8
[ "MIT" ]
40
2019-02-26T22:59:16.000Z
2022-03-21T12:32:30.000Z
devito/core/intel.py
alisiahkoohi/devito
f535a44dff12de2837eb6e3217a65ffb2d371cb8
[ "MIT" ]
null
null
null
from devito.core.cpu import CPU64Operator, CPU64OpenMPOperator from devito.exceptions import InvalidOperator from devito.passes.clusters import (Blocking, Lift, cire, cse, eliminate_arrays, extract_increments, factorize, fuse, optimize_pows) from devito.tools import timed_pass __all...
35.761194
88
0.693239
222
2,396
7.382883
0.472973
0.024405
0.024405
0.039048
0
0
0
0
0
0
0
0.018349
0.226628
2,396
66
89
36.30303
0.866163
0.176544
0
0.054054
0
0
0.124552
0.033829
0
0
0
0
0
1
0.054054
false
0.081081
0.108108
0
0.297297
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
1446929b950cdd75632bd86fe36e30a44ab15685
32,585
py
Python
barometers.py
uriel1998/barometers
2a847fd578f9b9c16c091f86424e42dee52bd790
[ "MIT" ]
1
2022-02-04T23:25:29.000Z
2022-02-04T23:25:29.000Z
barometers.py
uriel1998/barometers
2a847fd578f9b9c16c091f86424e42dee52bd790
[ "MIT" ]
null
null
null
barometers.py
uriel1998/barometers
2a847fd578f9b9c16c091f86424e42dee52bd790
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 import pathlib import linecache import configparser import requests import time import datetime import pickle, sys, string, argparse, datetime from PIL import Image, ImageDraw, ImageFont # global variables appname = "barometers" dir_appname = "com.stevensaus.barometers" appauthor = "Steven Sa...
47.919118
1,617
0.55679
4,887
32,585
3.574381
0.119296
0.032917
0.013854
0.012652
0.340852
0.278853
0.223151
0.159263
0.121079
0.108026
0
0.132574
0.270124
32,585
679
1,618
47.989691
0.601606
0.077152
0
0.272212
0
0.005671
0.095567
0.000837
0
0
0
0
0
1
0.022684
false
0
0.017013
0
0.05293
0.039698
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
144bb441119acb66566f357965ffba64ab037d95
473
py
Python
CoderPro/day4/solution.py
akashzcoder/coding_discipline
82547ac2e9617c27df0950fe21e0c7fc56b01429
[ "MIT" ]
null
null
null
CoderPro/day4/solution.py
akashzcoder/coding_discipline
82547ac2e9617c27df0950fe21e0c7fc56b01429
[ "MIT" ]
null
null
null
CoderPro/day4/solution.py
akashzcoder/coding_discipline
82547ac2e9617c27df0950fe21e0c7fc56b01429
[ "MIT" ]
null
null
null
def sortNums(nums): # constant space solution i = 0 j = len(nums) - 1 index = 0 while index <= j: if nums[index] == 1: nums[index], nums[i] = nums[i], nums[index] index += 1 i += 1 if nums[index] == 2: index += 1 if nums[index] ...
23.65
55
0.437632
69
473
3
0.26087
0.304348
0.15942
0.115942
0
0
0
0
0
0
0
0.078014
0.403806
473
19
56
24.894737
0.656028
0.048626
0
0.125
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
0.0625
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
145a799b37a6657390f012c80bbdd132942facf2
627
py
Python
src/zif/sedna/tests.py
bitkeeper/zif.sedna
4b12d03d1e4110cf71c2ecffb0dcd5c22ef00919
[ "Apache-2.0" ]
null
null
null
src/zif/sedna/tests.py
bitkeeper/zif.sedna
4b12d03d1e4110cf71c2ecffb0dcd5c22ef00919
[ "Apache-2.0" ]
null
null
null
src/zif/sedna/tests.py
bitkeeper/zif.sedna
4b12d03d1e4110cf71c2ecffb0dcd5c22ef00919
[ "Apache-2.0" ]
null
null
null
import doctest import unittest def doTests(): doctest.testfile('README.txt') doctest.testfile('README_sednaobject.txt') def test_suite(): suite = unittest.TestSuite() suite.addTest(doctest.DocFileSuite('README.txt')) suite.addTest(doctest.DocFileSuite('README_sednaobject.txt')) #suite.addTest...
25.08
65
0.704944
66
627
6.5
0.333333
0.167832
0.13986
0.216783
0.258741
0
0
0
0
0
0
0
0.157895
627
24
66
26.125
0.8125
0.255183
0
0
0
0
0.155844
0.095238
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.357143
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
145eaba8f8369b5627ba5f7790d95404c5f0e4fc
932
py
Python
hathor/conf/testnet.py
khengleng/khathor
8728c7032e6785eaf560a9592df02856dc97900d
[ "Apache-2.0" ]
null
null
null
hathor/conf/testnet.py
khengleng/khathor
8728c7032e6785eaf560a9592df02856dc97900d
[ "Apache-2.0" ]
null
null
null
hathor/conf/testnet.py
khengleng/khathor
8728c7032e6785eaf560a9592df02856dc97900d
[ "Apache-2.0" ]
null
null
null
from hathor.conf.settings import HathorSettings SETTINGS = HathorSettings( P2PKH_VERSION_BYTE=b'\x49', MULTISIG_VERSION_BYTE=b'\x87', NETWORK_NAME='testnet-foxtrot', BOOTSTRAP_DNS=['foxtrot.testnet.hathor.network'], # Genesis stuff GENESIS_OUTPUT_SCRIPT=bytes.fromhex('76a914a584cf48b161e4a49223...
42.363636
105
0.804721
94
932
7.670213
0.542553
0.055479
0.066574
0.033287
0
0
0
0
0
0
0
0.233939
0.114807
932
21
106
44.380952
0.64
0.083691
0
0
0
0
0.346651
0.319624
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
145f271bdd1798d3b1381e3c8276e8c27e81a545
4,626
py
Python
sample_register/sample_register/page/jobboard/jobboard.py
TRUFIL/sampreg
d14155954b3a22b0a727d61e55f3619ade448379
[ "MIT" ]
null
null
null
sample_register/sample_register/page/jobboard/jobboard.py
TRUFIL/sampreg
d14155954b3a22b0a727d61e55f3619ade448379
[ "MIT" ]
null
null
null
sample_register/sample_register/page/jobboard/jobboard.py
TRUFIL/sampreg
d14155954b3a22b0a727d61e55f3619ade448379
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import frappe from frappe.utils import cstr,now,add_days import json import datetime @frappe.whitelist() def get_items(sales_order): print "\n\nser_____",sales_order dl = frappe.db.sql("""select sales_order from `tabService Request` where name='{0}'""".format(sales_order),as_l...
37.918033
159
0.748379
694
4,626
4.726225
0.158501
0.040549
0.064024
0.065854
0.525915
0.499695
0.442073
0.396341
0.34878
0.326829
0
0.004415
0.118677
4,626
121
160
38.231405
0.800098
0.060095
0
0.41
0
0.02
0.372608
0.023288
0
0
0
0
0
0
null
null
0
0.05
null
null
0.06
0
0
0
null
0
0
0
0
0
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
146143cc12bb001448993be5b3a0ea1472273e4d
1,644
py
Python
core/auth/viewsets.py
bharathjinka09/django-react-auth-backend
ca7f423bf8f115126e251d83db7ddf7e781620a2
[ "Apache-2.0" ]
null
null
null
core/auth/viewsets.py
bharathjinka09/django-react-auth-backend
ca7f423bf8f115126e251d83db7ddf7e781620a2
[ "Apache-2.0" ]
null
null
null
core/auth/viewsets.py
bharathjinka09/django-react-auth-backend
ca7f423bf8f115126e251d83db7ddf7e781620a2
[ "Apache-2.0" ]
null
null
null
from rest_framework.response import Response from rest_framework_simplejwt.views import TokenObtainPairView from rest_framework.viewsets import ModelViewSet from rest_framework.permissions import AllowAny from rest_framework import status from rest_framework_simplejwt.tokens import RefreshToken from rest_framework_simp...
33.55102
77
0.712287
171
1,644
6.666667
0.380117
0.049123
0.104386
0.068421
0.264912
0.264912
0.203509
0.203509
0.203509
0.203509
0
0.005339
0.202555
1,644
48
78
34.25
0.864226
0
0
0.27027
0
0
0.030432
0
0
0
0
0
0
1
0.054054
false
0
0.216216
0
0.540541
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
1467fa8e350f74f44fef6d724d06ef259b326090
547
py
Python
app/dashboard/migrations/0016_auto_20201119_1901.py
pnsn/squac_api
7b1741cd32dbc32972f75ac53958468fdf7d04ee
[ "MIT" ]
6
2019-11-07T09:32:43.000Z
2021-09-02T22:37:14.000Z
app/dashboard/migrations/0016_auto_20201119_1901.py
pnsn/squacapi
e330a925aff38937656983841e495ba3824c11e1
[ "MIT" ]
196
2019-10-04T17:03:36.000Z
2022-03-31T17:54:59.000Z
app/dashboard/migrations/0016_auto_20201119_1901.py
pnsn/squac_api
7b1741cd32dbc32972f75ac53958468fdf7d04ee
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-11-19 19:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dashboard', '0015_widget_color_palet'), ] operations = [ migrations.RemoveField( model_name='widget', name='color_pa...
23.782609
97
0.581353
56
547
5.535714
0.678571
0.064516
0.096774
0.122581
0.154839
0
0
0
0
0
0
0.053985
0.288848
547
22
98
24.863636
0.742931
0.082267
0
0.25
1
0
0.164
0.046
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
146ba3b7566bd83f0f955540a12f99010b5fe696
5,838
py
Python
program/client/net_client.py
Addision/ProtoExcelTool
17eaa08c08312e59c5a8f6114a121177ca65508a
[ "MIT" ]
null
null
null
program/client/net_client.py
Addision/ProtoExcelTool
17eaa08c08312e59c5a8f6114a121177ca65508a
[ "MIT" ]
null
null
null
program/client/net_client.py
Addision/ProtoExcelTool
17eaa08c08312e59c5a8f6114a121177ca65508a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : client.py @Time : 2022/03/08 22:05:10 @Author : felix @Version : 1.0 @Contact : laijia2008@126.com @License : (C)Copyright 2021-2025, felix&lai @Desc : 协议测试客户端 ''' # here put the import lib from time import sleep from client.session i...
30.248705
96
0.523638
579
5,838
5.229706
0.357513
0.021136
0.033686
0.035667
0.074637
0.064729
0.03963
0
0
0
0
0.033926
0.373929
5,838
192
97
30.40625
0.794528
0.133265
0
0.284615
0
0
0.077826
0.017118
0
0
0
0
0
1
0.076923
false
0.1
0.092308
0
0.261538
0.069231
0
0
0
null
0
0
0
0
0
0
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
146fb93e98742cc3c0fbbbd5436597f6f1f88231
555
py
Python
src/qimpy/electrons/__init__.py
shankar1729/qimpy
5a4c1ea1fedc88909d426ce54101d6d07fa82e8c
[ "BSD-3-Clause" ]
3
2021-05-25T00:11:50.000Z
2022-01-30T21:49:00.000Z
src/qimpy/electrons/__init__.py
shankar1729/qimpy
5a4c1ea1fedc88909d426ce54101d6d07fa82e8c
[ "BSD-3-Clause" ]
2
2021-09-28T19:18:38.000Z
2021-11-23T13:23:17.000Z
src/qimpy/electrons/__init__.py
shankar1729/qimpy
5a4c1ea1fedc88909d426ce54101d6d07fa82e8c
[ "BSD-3-Clause" ]
null
null
null
"""Electronic sub-system""" # List exported symbols for doc generation __all__ = [ "Electrons", "Kpoints", "Kmesh", "Kpath", "Fillings", "Basis", "Wavefunction", "Davidson", "CheFSI", "SCF", "LCAO", "xc", ] from ._electrons import Electrons from ._kpoints import Kpoints,...
19.821429
43
0.684685
63
555
5.825397
0.380952
0.065395
0.092643
0
0
0
0
0
0
0
0
0
0.209009
555
27
44
20.555556
0.835991
0.113514
0
0
0
0
0.152263
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1470bce787a0dc2ca831ce5037993d88bd061563
1,046
py
Python
evolvability.py
jal278/mazerobot-python
ec63e46c9821cb74c63e89d0f7dfc3dbe479e313
[ "MIT" ]
5
2017-05-16T08:41:58.000Z
2021-04-08T12:52:25.000Z
evolvability.py
jal278/mazerobot-python
ec63e46c9821cb74c63e89d0f7dfc3dbe479e313
[ "MIT" ]
null
null
null
evolvability.py
jal278/mazerobot-python
ec63e46c9821cb74c63e89d0f7dfc3dbe479e313
[ "MIT" ]
4
2015-09-08T20:02:47.000Z
2017-05-20T18:15:56.000Z
import mazepy #a function to map a robot's behavior into a grid of niches def map_into_grid(robot,grid_sz): x=mazepy.feature_detector.endx(robot) y=mazepy.feature_detector.endy(robot) x_grid=int(x*(grid_sz-1)) y_grid=int(y*(grid_sz-1)) return (x_grid,y_grid) #function to calculate evolvability via PLoS paper met...
25.512195
63
0.764818
166
1,046
4.644578
0.53012
0.038911
0.028534
0
0
0
0
0
0
0
0
0.00765
0.125239
1,046
40
64
26.15
0.834973
0.357553
0
0
0
0
0.058824
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
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
1
0
0
0
0
0
0
0
0
1
147ebe4c335504bd0b06c8c150171c759698d65a
1,152
py
Python
league/migrations/0001_initial.py
klauck/mettliga
a5fa9f06092274f22a69785ae9a869268c181967
[ "MIT" ]
1
2017-05-12T19:48:15.000Z
2017-05-12T19:48:15.000Z
league/migrations/0001_initial.py
klauck/mettliga
a5fa9f06092274f22a69785ae9a869268c181967
[ "MIT" ]
null
null
null
league/migrations/0001_initial.py
klauck/mettliga
a5fa9f06092274f22a69785ae9a869268c181967
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-05-09 08:19 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
32.914286
152
0.594618
117
1,152
5.700855
0.529915
0.035982
0.041979
0.065967
0.326837
0.326837
0.236882
0.236882
0.236882
0.236882
0
0.02497
0.269965
1,152
34
153
33.882353
0.768133
0.059028
0
0.384615
1
0
0.103608
0
0
0
0
0
0
1
0
false
0
0.115385
0
0.269231
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
1485c2a6fc3f26d77a4a7ee4e0fa3bc571a3f458
2,566
py
Python
get_unused_macros.py
1ethanhansen/unused-c-finder
38ece8ec66dab84d21d7eb4864e156a3d5cb723a
[ "MIT" ]
null
null
null
get_unused_macros.py
1ethanhansen/unused-c-finder
38ece8ec66dab84d21d7eb4864e156a3d5cb723a
[ "MIT" ]
6
2019-07-24T23:47:16.000Z
2019-08-08T23:34:16.000Z
get_unused_macros.py
1ethanhansen/unused-c-finder
38ece8ec66dab84d21d7eb4864e156a3d5cb723a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Author: Ethan Hansen <1ethanhansen@gmail.com> # For finding unused macros in c code # # Assumptions: # cscope and ctags installed # cscope has been used to generate cscope.out for your project # cscope.out exists in the current directory # # Usage: # enter the full path to the ...
33.763158
72
0.711224
435
2,566
4.05977
0.4
0.027746
0.031144
0.019253
0.087203
0.060023
0.032843
0
0
0
0
0.006635
0.177709
2,566
75
73
34.213333
0.830332
0.47311
0
0.076923
1
0.025641
0.089124
0
0
0
0
0
0
1
0
false
0
0.051282
0
0.051282
0.025641
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
14864a71b0480f6e682689fa5021c7fd9c6b53a0
241
py
Python
tests/test_app.py
simba999/dawdle
c858b6ecffefa1e4415fa79c368149c6f31176fa
[ "MIT" ]
null
null
null
tests/test_app.py
simba999/dawdle
c858b6ecffefa1e4415fa79c368149c6f31176fa
[ "MIT" ]
null
null
null
tests/test_app.py
simba999/dawdle
c858b6ecffefa1e4415fa79c368149c6f31176fa
[ "MIT" ]
null
null
null
from tests.test_base import TestBase class TestApp(TestBase): def test_404(self): response = self.client.get('/this/page/does/not/exist') assert response.status_code == 404 assert b'Not Found' in response.data
24.1
63
0.684647
34
241
4.764706
0.764706
0
0
0
0
0
0
0
0
0
0
0.031579
0.211618
241
9
64
26.777778
0.821053
0
0
0
0
0
0.141079
0.103734
0
0
0
0
0.333333
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14885d01d7c8cd8a744bbdcda87fbf4a5809372b
5,076
py
Python
FromUser.py
emportent/ToxWitter
da18b13d6ee5816631bfe279a27e24285f686353
[ "MIT" ]
1
2022-02-03T22:42:54.000Z
2022-02-03T22:42:54.000Z
FromUser.py
altunenes/ToxWitter
da18b13d6ee5816631bfe279a27e24285f686353
[ "MIT" ]
null
null
null
FromUser.py
altunenes/ToxWitter
da18b13d6ee5816631bfe279a27e24285f686353
[ "MIT" ]
null
null
null
# ========================================================================================================================================================== #import the libraries # ====================================================================...
52.329897
164
0.361111
346
5,076
5.210983
0.323699
0.039933
0.027732
0.042152
0.250693
0.117582
0.117582
0.086522
0.04548
0
0
0.009355
0.199764
5,076
96
165
52.875
0.434515
0.409574
0
0.098361
0
0.016393
0.144928
0.044489
0
0
0
0
0
1
0.065574
false
0
0.098361
0.016393
0.245902
0.131148
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
148ca8316f7bd2183a3dd360d725c0939652ebc0
540
py
Python
reserved/forms.py
Strangemother/coffee
e5ee7a62e3cb0fc5d4638decaded9905bf3cae74
[ "MIT" ]
null
null
null
reserved/forms.py
Strangemother/coffee
e5ee7a62e3cb0fc5d4638decaded9905bf3cae74
[ "MIT" ]
null
null
null
reserved/forms.py
Strangemother/coffee
e5ee7a62e3cb0fc5d4638decaded9905bf3cae74
[ "MIT" ]
null
null
null
from django import forms from django.forms import ModelForm from models import Venue, Location from django.forms.models import inlineformset_factory class VenueForm(ModelForm): def clean(self): super(VenueForm, self).clean() #I would always do this for forms. return self.cleaned_data full_add...
27
73
0.7
72
540
5.180556
0.583333
0.080429
0.080429
0
0
0
0
0
0
0
0
0
0.214815
540
19
74
28.421053
0.879717
0.061111
0
0
0
0
0.118812
0
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
148cd1dd6d60122bb69ada181f850b6a7cfd1ca8
503
py
Python
manage.py
LimaGuilherme/flask-boilerplate
4053dd2d24937d405fedcd839e15d2cc45d87f01
[ "MIT" ]
null
null
null
manage.py
LimaGuilherme/flask-boilerplate
4053dd2d24937d405fedcd839e15d2cc45d87f01
[ "MIT" ]
null
null
null
manage.py
LimaGuilherme/flask-boilerplate
4053dd2d24937d405fedcd839e15d2cc45d87f01
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- from flask_script import Manager from flask_migrate import Migrate, MigrateCommand import sys from app import initialize manager = Manager(initialize.web_app) def register_migrate(manager): from app import models migrate = Migrate(initialize.web_app, models.db...
20.958333
52
0.72167
65
503
5.353846
0.476923
0.051724
0.074713
0
0
0
0
0
0
0
0
0.002427
0.180915
503
23
53
21.869565
0.842233
0.085487
0
0
0
0
0.026201
0
0
0
0
0
0
1
0.071429
false
0
0.357143
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
148ddef9689b1cc3534e933d439a155288c4a936
799
py
Python
tests/generators/finality/main.py
jmyllyla/eth2.0-specs
68692f823201dbae61d94e8747b690412b7b8505
[ "CC0-1.0" ]
1
2021-05-11T09:42:58.000Z
2021-05-11T09:42:58.000Z
tests/generators/finality/main.py
amaraka/eth2.0-specs
1564f6217f50da6c74a815340de24ac62a26851b
[ "CC0-1.0" ]
null
null
null
tests/generators/finality/main.py
amaraka/eth2.0-specs
1564f6217f50da6c74a815340de24ac62a26851b
[ "CC0-1.0" ]
null
null
null
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators from eth2spec.phase0 import spec as spec_phase0 from eth2spec.altair import spec as spec_altair from eth2spec.merge import spec as spec_merge from eth2spec.test.helpers.constants import PHASE0, ALTAIR, MERGE specs = (spec_phase0, spec_altai...
34.73913
85
0.764706
113
799
5.053097
0.256637
0.105079
0.070053
0.084063
0.091068
0.091068
0
0
0
0
0
0.024024
0.166458
799
22
86
36.318182
0.833333
0.110138
0
0
0
0
0.094633
0.060734
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
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
148f5467be0c1884a0751b7194bdc3ee20ecfc30
1,689
py
Python
keras-yolo3-Traffic Sign/detect.py
qqww12345/001_AI_project
1ae0cf4cf80b2b97523b385d5b4472df1fadb935
[ "MIT" ]
null
null
null
keras-yolo3-Traffic Sign/detect.py
qqww12345/001_AI_project
1ae0cf4cf80b2b97523b385d5b4472df1fadb935
[ "MIT" ]
null
null
null
keras-yolo3-Traffic Sign/detect.py
qqww12345/001_AI_project
1ae0cf4cf80b2b97523b385d5b4472df1fadb935
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'detect.ui' # # Created by: PyQt5 UI code generator 5.12 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow...
39.27907
73
0.709888
169
1,689
7.065089
0.431953
0.071189
0.052764
0
0
0
0
0
0
0
0
0.0282
0.181172
1,689
42
74
40.214286
0.835141
0.105388
0
0
1
0
0.073236
0
0
0
0
0
0
1
0.071429
false
0
0.035714
0
0.142857
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
1491f392eeb8a859e356a191368c3f2331772984
1,321
py
Python
test/test_authentication.py
zaclochhead/flask_calendar
248de578f76ceb61fbbcd580c0fc6f686b09ad51
[ "Unlicense" ]
null
null
null
test/test_authentication.py
zaclochhead/flask_calendar
248de578f76ceb61fbbcd580c0fc6f686b09ad51
[ "Unlicense" ]
null
null
null
test/test_authentication.py
zaclochhead/flask_calendar
248de578f76ceb61fbbcd580c0fc6f686b09ad51
[ "Unlicense" ]
null
null
null
import pytest from flask_calendar.authentication import Authentication EXISTING_USERNAME = "a_username" CORRECT_PASSWORD = "a_password" @pytest.fixture def authentication() -> Authentication: return Authentication( data_folder="test/fixtures", password_salt="a test salt", failed_login_delay_base=0) ...
36.694444
119
0.7676
152
1,321
6.407895
0.309211
0.082136
0.047228
0.057495
0.281314
0.281314
0.281314
0.188912
0.188912
0.188912
0
0.000876
0.13626
1,321
35
120
37.742857
0.852761
0
0
0.08
0
0
0.140802
0.049962
0
0
0
0
0.24
1
0.16
false
0.48
0.08
0.04
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
14927b0fa7d5f7a14ba355e047c233b6f4ed3e21
1,990
py
Python
gehomesdk/erd/values/oven/erd_closed_loop_cooking_devices_status.py
willhayslett/gehome
7e407a1d31cede1453656eaef948332e808484ea
[ "MIT" ]
17
2021-05-18T01:58:06.000Z
2022-03-22T20:49:32.000Z
gehomesdk/erd/values/oven/erd_closed_loop_cooking_devices_status.py
willhayslett/gehome
7e407a1d31cede1453656eaef948332e808484ea
[ "MIT" ]
29
2021-05-17T21:43:16.000Z
2022-02-28T22:50:48.000Z
gehomesdk/erd/values/oven/erd_closed_loop_cooking_devices_status.py
willhayslett/gehome
7e407a1d31cede1453656eaef948332e808484ea
[ "MIT" ]
9
2021-05-17T04:40:58.000Z
2022-02-02T17:26:13.000Z
#WIP import enum #0x5771 #0x5772 #0x5773 #0x5774 #0x5775 #0x5776 #0x5777 class ErdCloseLoopCookingDevicesStatus: class CookingDeviceType(enum.Enum): DEFAULT = "Default" HESTANT_CUE_PAN = "HestanCuePan" HESTANT_CUE_POT = "HestanCuePot" PARAGON_SENSOR = "Paragon" POPUP_SENSO...
29.264706
103
0.556784
205
1,990
5.219512
0.390244
0.102804
0.117757
0.06729
0.169159
0.091589
0.091589
0.091589
0.091589
0
0
0.115091
0.340704
1,990
67
104
29.701493
0.700457
0.052764
0
0.156863
0
0
0.0784
0
0
0
0.0448
0.014925
0
1
0.039216
false
0.019608
0.019608
0
0.196078
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
149f5d5995e639e268c9ad3f198a4663178e8388
2,452
py
Python
regression-tests/exampletests/cumsum_doc_test.py
lewisc/spark-tk
5548fc925b5c278263cbdebbd9e8c7593320c2f4
[ "ECL-2.0", "Apache-2.0" ]
34
2016-05-20T22:26:05.000Z
2022-01-21T12:55:13.000Z
regression-tests/exampletests/cumsum_doc_test.py
lewisc/spark-tk
5548fc925b5c278263cbdebbd9e8c7593320c2f4
[ "ECL-2.0", "Apache-2.0" ]
70
2016-06-28T01:11:21.000Z
2021-03-15T21:40:01.000Z
regression-tests/exampletests/cumsum_doc_test.py
lewisc/spark-tk
5548fc925b5c278263cbdebbd9e8c7593320c2f4
[ "ECL-2.0", "Apache-2.0" ]
34
2016-04-21T22:25:22.000Z
2020-10-06T09:23:43.000Z
# vim: set encoding=utf-8 # Copyright (c) 2016 Intel Corporation  # # 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 require...
36.058824
75
0.599511
312
2,452
4.676282
0.554487
0.041124
0.01782
0.021933
0
0
0
0
0
0
0
0.028433
0.325856
2,452
67
76
36.597015
0.854204
0.506933
0
0.086957
0
0
0.028169
0
0
0
0
0
0.043478
0
null
null
0
0.086957
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14a1cf6a1772ada059dd2245477a5bfebacca215
923
py
Python
file_manager/migrations/0039_auto_20211021_1551.py
xiaofengxie128/Proteomic-Data-Manager
79756c7021b1d5e4cc4cdb26d741f6ea18846a02
[ "Apache-2.0" ]
null
null
null
file_manager/migrations/0039_auto_20211021_1551.py
xiaofengxie128/Proteomic-Data-Manager
79756c7021b1d5e4cc4cdb26d741f6ea18846a02
[ "Apache-2.0" ]
null
null
null
file_manager/migrations/0039_auto_20211021_1551.py
xiaofengxie128/Proteomic-Data-Manager
79756c7021b1d5e4cc4cdb26d741f6ea18846a02
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-21 21:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('file_manager', '0038_auto_20211021_1513'), ] operations ...
29.774194
135
0.620802
96
923
5.802083
0.5625
0.043088
0.086176
0.10772
0.136445
0.136445
0
0
0
0
0
0.052786
0.261105
923
30
136
30.766667
0.76393
0.048754
0
0.333333
1
0
0.196347
0.110731
0
0
0
0
0
1
0
false
0
0.083333
0
0.208333
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
14a1d06200da034e6818be44a657847c1ccf52ad
1,399
py
Python
setup.py
david-lindner/idrl
54cfad330b0598ad4f6621796f2411644e50a6ba
[ "MIT" ]
9
2021-11-20T18:14:38.000Z
2022-03-20T16:29:48.000Z
setup.py
david-lindner/idrl
54cfad330b0598ad4f6621796f2411644e50a6ba
[ "MIT" ]
null
null
null
setup.py
david-lindner/idrl
54cfad330b0598ad4f6621796f2411644e50a6ba
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name="active-reward-learning", author="David Lindner" version="0.1dev", description="", long_description=open("README.md").read(), classifiers=[ "Environment :: Console", "Intended Audience :: Science/Research", "Operating System :: Ma...
29.145833
80
0.577555
133
1,399
5.954887
0.774436
0.075758
0.050505
0
0
0
0
0
0
0
0
0.021401
0.265189
1,399
47
81
29.765957
0.749027
0.037884
0
0.043478
0
0
0.473214
0.094494
0
0
0
0
0
0
null
null
0
0.021739
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14a469f83ef71396263a24a645a5e5b5fba568c6
6,494
py
Python
mediapipe/calculators/tensorflow/tensorflow_inference_calculator_pb2.py
mengfu188/simple-mediapipe
85dc8a87c9586312c2d057ad587bfccf3b5e2eb6
[ "Apache-2.0" ]
5
2021-01-01T11:02:41.000Z
2022-03-11T19:44:29.000Z
mediapipe/calculators/tensorflow/tensorflow_inference_calculator_pb2.py
mengfu188/simple-mediapipe
85dc8a87c9586312c2d057ad587bfccf3b5e2eb6
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/tensorflow/tensorflow_inference_calculator_pb2.py
mengfu188/simple-mediapipe
85dc8a87c9586312c2d057ad587bfccf3b5e2eb6
[ "Apache-2.0" ]
1
2021-04-12T05:59:46.000Z
2021-04-12T05:59:46.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mediapipe/calculators/tensorflow/tensorflow_inference_calculator.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection...
53.669421
670
0.807515
763
6,494
6.487549
0.209699
0.035556
0.053737
0.049091
0.472121
0.441818
0.391111
0.333131
0.31596
0.31596
0
0.031026
0.096705
6,494
120
671
54.116667
0.81282
0.048506
0
0.37
1
0.01
0.210467
0.192158
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
14a5175064e139be4997e2b127498185ace5c05e
6,107
py
Python
pycacher/batcher.py
garindra/pycacher
b154edd1ed042c1fa122e571ad0ff07e4e0e7294
[ "MIT" ]
1
2015-05-26T14:01:24.000Z
2015-05-26T14:01:24.000Z
pycacher/batcher.py
garindra/pycacher
b154edd1ed042c1fa122e571ad0ff07e4e0e7294
[ "MIT" ]
null
null
null
pycacher/batcher.py
garindra/pycacher
b154edd1ed042c1fa122e571ad0ff07e4e0e7294
[ "MIT" ]
null
null
null
class Batcher(object): """ Batcher enables developers to batch multiple retrieval requests. Example usage #1:: from pycacher import Cacher cacher = Cacher() batcher = cacher.create_batcher() batcher.add('testkey') batcher.add('testkey1') batcher.add('test...
27.885845
105
0.594891
732
6,107
4.789617
0.215847
0.029663
0.053337
0.053908
0.327439
0.229321
0.185682
0.185682
0.185682
0.185682
0
0.007194
0.317177
6,107
218
106
28.013761
0.833573
0.405436
0
0.287671
0
0
0.087648
0
0
0
0
0
0
1
0.246575
false
0
0
0.054795
0.39726
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
14b0261226ffebcae1668c4ad7d7b57040f87032
1,072
py
Python
setup.py
drivet/pylint-server
8087202e55f03f6bc94c2c094a4b81e847868435
[ "MIT" ]
17
2016-02-20T21:51:05.000Z
2020-01-20T21:44:50.000Z
setup.py
drivet/pylint-server
8087202e55f03f6bc94c2c094a4b81e847868435
[ "MIT" ]
null
null
null
setup.py
drivet/pylint-server
8087202e55f03f6bc94c2c094a4b81e847868435
[ "MIT" ]
13
2016-04-21T13:44:10.000Z
2021-03-08T10:30:51.000Z
""" pylint-server ---- A small Flask application to keep keep track of pylint reports and ratings on a per-repository basis. """ from setuptools import setup setup( name='pylint-server', version='0.1', url='https://github.com/drivet/pylint-server/', license='MIT', author='Desmond Rivet', auth...
27.487179
79
0.634328
116
1,072
5.767241
0.689655
0.071749
0.053812
0.06577
0.116592
0.116592
0.116592
0.116592
0
0
0
0.002433
0.233209
1,072
38
80
28.210526
0.811436
0.112873
0
0.068966
0
0
0.52492
0.02439
0
0
0
0
0
1
0
true
0
0.034483
0
0.034483
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
14b031410a2918be93ce98132fa76e288f7eb36b
1,267
py
Python
vyperlogix/__init__.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
1
2020-09-29T01:36:33.000Z
2020-09-29T01:36:33.000Z
vyperlogix/__init__.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
null
null
null
vyperlogix/__init__.py
raychorn/chrome_gui
f1fade70b61af12ee43c55c075aa9cfd32caa962
[ "CC0-1.0" ]
null
null
null
__copyright__ = """\ (c). Copyright 2008-2020, Vyper Logix Corp., All Rights Reserved. Published under Creative Commons License (http://creativecommons.org/licenses/by-nc/3.0/) restricted to non-commercial educational use only., http://www.VyperLogix.com for details THE AUTHOR VYPER LOGIX CORP DISCLAIMS ALL WARRA...
35.194444
72
0.771113
185
1,267
5.113514
0.616216
0.021142
0.029598
0.031712
0.145877
0.103594
0.103594
0.103594
0.103594
0
0
0.012868
0.141279
1,267
35
73
36.2
0.856618
0.191002
0
0
0
0
0.730128
0
0
0
0
0
0
1
0.047619
false
0
0.095238
0.047619
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14b0f619b66382668e151f15f9cf2e1391201a13
7,763
py
Python
S4/S4 Library/simulation/objects/components/stored_sim_info_component.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/objects/components/stored_sim_info_component.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/objects/components/stored_sim_info_component.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
from protocolbuffers import SimObjectAttributes_pb2 as protocols from interactions import ParticipantType from interactions.utils.interaction_elements import XevtTriggeredElement from interactions.utils.loot_basic_op import BaseTargetedLootOperation, BaseLootOperation from objects.components import Component, types, co...
63.113821
1,021
0.747391
980
7,763
5.57551
0.170408
0.08071
0.076135
0.092606
0.518851
0.468521
0.418741
0.326135
0.280747
0.237921
0
0.000632
0.184465
7,763
122
1,022
63.631148
0.862423
0
0
0.264706
0
0.058824
0.19155
0.0152
0
0
0
0
0
1
0.147059
false
0
0.098039
0.029412
0.421569
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14b912241f1e120124eedac5d4897192fc07d7c3
2,862
py
Python
angr_seek.py
ucsb-seclab/hacrs-input-generator
7de089518541e3d0841622bcd3c950c7d83adc33
[ "BSD-2-Clause" ]
3
2019-12-20T02:04:42.000Z
2019-12-20T02:04:51.000Z
angr_seek.py
ucsb-seclab/hacrs-input-generator
7de089518541e3d0841622bcd3c950c7d83adc33
[ "BSD-2-Clause" ]
null
null
null
angr_seek.py
ucsb-seclab/hacrs-input-generator
7de089518541e3d0841622bcd3c950c7d83adc33
[ "BSD-2-Clause" ]
null
null
null
import json import re import sys import angr import IPython import os import logging import time import simuvex import select from angr.exploration_techniques import ExecuteAddressGoal from config import * #base_dir = KUBERNETES_BASE_DIR base_dir = DESKTOP_BASE_DIR def heardEnter(): i,o,e = select.select([sys....
30.446809
111
0.659679
401
2,862
4.508728
0.379052
0.054757
0.016593
0.006637
0.109513
0.109513
0.048673
0.048673
0
0
0
0.015723
0.222222
2,862
93
112
30.774194
0.796496
0.07652
0
0.089552
0
0
0.104964
0.020462
0
0
0.003789
0
0.014925
0
null
null
0
0.208955
null
null
0.074627
0
0
0
null
0
0
0
0
0
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
14bbf494af6d498078dce183e562b3ba88f7a1b2
2,950
py
Python
Scripts/patser_list_parallel.py
colinwalshbrown/CWB_utils
86675812f9398845d1994b57500830e2c3dc6cc0
[ "MIT" ]
null
null
null
Scripts/patser_list_parallel.py
colinwalshbrown/CWB_utils
86675812f9398845d1994b57500830e2c3dc6cc0
[ "MIT" ]
null
null
null
Scripts/patser_list_parallel.py
colinwalshbrown/CWB_utils
86675812f9398845d1994b57500830e2c3dc6cc0
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import re import patser_tools import xgrid_tools CHUNKSIZE=10000 class seq_scanner(): def __init__(self, seqs=None, matrices=None): self.seqs=seqs self.matrices=matrices self.results=None self.header=None ...
27.570093
114
0.488475
351
2,950
4.011396
0.264957
0.022727
0.017045
0.034091
0.089489
0.039773
0
0
0
0
0
0.010265
0.372542
2,950
106
115
27.830189
0.750405
0.019661
0
0.125
0
0
0.082785
0
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1ad1f2c074b1cac767b5eb5210d8eebfd92bc15f
367
py
Python
metadata/resources/xrt.py
bmampaey/SDA
4cbe6fc699a6f0724a4801b3cedf4ab47ca08721
[ "MIT" ]
null
null
null
metadata/resources/xrt.py
bmampaey/SDA
4cbe6fc699a6f0724a4801b3cedf4ab47ca08721
[ "MIT" ]
2
2021-07-06T12:14:40.000Z
2021-08-23T11:23:21.000Z
metadata/resources/xrt.py
bmampaey/SDA
4cbe6fc699a6f0724a4801b3cedf4ab47ca08721
[ "MIT" ]
null
null
null
# Generated by command write_metadata_files version 1 from metadata.models import Xrt from .base_metadata import BaseMetadataResource __all__ = ['XrtResource'] class XrtResource(BaseMetadataResource): '''RESTful resource for model Xrt''' class Meta(BaseMetadataResource.Meta): abstract = False queryset = Xrt....
24.466667
53
0.784741
42
367
6.642857
0.642857
0
0
0
0
0
0
0
0
0
0
0.003145
0.133515
367
14
54
26.214286
0.874214
0.226158
0
0
1
0
0.082734
0
0
0
0
0
0
1
0
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
1ade8087bff599830bb1fcde35fefd1903d08c74
4,656
py
Python
ascension/profiler.py
drekels/ascension
f76ca6e751d7d8162058a54a8d2c8ad3b94b8ccf
[ "MIT" ]
null
null
null
ascension/profiler.py
drekels/ascension
f76ca6e751d7d8162058a54a8d2c8ad3b94b8ccf
[ "MIT" ]
null
null
null
ascension/profiler.py
drekels/ascension
f76ca6e751d7d8162058a54a8d2c8ad3b94b8ccf
[ "MIT" ]
null
null
null
from util import Singleton import datetime as dt import logging import pyglet from ascension.settings import AscensionConf LOG = logging.getLogger(__name__) SLOW_FRAME_MESSAGE = ( "Last execution of '{profiler_label}' lasted {time_passed}, which is over the target " "{target_time} by {time_over}!" ) REPORT_...
33.985401
99
0.62457
576
4,656
4.817708
0.211806
0.079279
0.042162
0.030631
0.326847
0.19964
0.180901
0.111712
0.111712
0.111712
0
0.005954
0.278565
4,656
136
100
34.235294
0.820185
0
0
0.166667
0
0
0.118771
0
0
0
0
0
0
1
0.105263
false
0.149123
0.04386
0
0.210526
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
1adea649ac8ed1295e52a549b045ed329872cf68
447
py
Python
samples/through_put_test/receiver.py
LuigiVanin/ZigBee-Test-Tool
f3ce5be863435abc1360a5f19eae7c3668c2171b
[ "MIT" ]
2
2021-12-10T06:03:04.000Z
2022-03-10T05:21:46.000Z
samples/through_put_test/receiver.py
LuigiVanin/ZigBee-Test-Tool
f3ce5be863435abc1360a5f19eae7c3668c2171b
[ "MIT" ]
null
null
null
samples/through_put_test/receiver.py
LuigiVanin/ZigBee-Test-Tool
f3ce5be863435abc1360a5f19eae7c3668c2171b
[ "MIT" ]
null
null
null
from digi.xbee.devices import ZigBeeDevice from zigbee_tool.core.tests.throughput import throughput_receiver PORT_RECEIVER = "/dev/ttyUSB1" BAUD_RATE = 115200 device_receiver = ZigBeeDevice(PORT_RECEIVER, BAUD_RATE) try: device_receiver.open() print(device_receiver.get_node_id()) throughput_receiver(...
29.8
65
0.778523
58
447
5.706897
0.551724
0.296073
0.096677
0
0
0
0
0
0
0
0
0.018325
0.145414
447
15
66
29.8
0.848168
0
0
0
0
0
0.026786
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.083333
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
1aecec37baaa8bada01d725636bc5f5758b01f4a
1,319
py
Python
IPython/kernel/blocking/client.py
pyarnold/ipython
c4797f7f069d0a974ddfa1e4251c7550c809dba0
[ "BSD-3-Clause-Clear" ]
1
2020-12-18T01:07:55.000Z
2020-12-18T01:07:55.000Z
IPython/kernel/blocking/client.py
pyarnold/ipython
c4797f7f069d0a974ddfa1e4251c7550c809dba0
[ "BSD-3-Clause-Clear" ]
null
null
null
IPython/kernel/blocking/client.py
pyarnold/ipython
c4797f7f069d0a974ddfa1e4251c7550c809dba0
[ "BSD-3-Clause-Clear" ]
null
null
null
"""Implements a fully blocking kernel client. Useful for test suites and blocking terminal interfaces. """ #----------------------------------------------------------------------------- # Copyright (C) 2013 The IPython Development Team # # Distributed under the terms of the BSD License. The full license is in # th...
37.685714
78
0.504928
98
1,319
6.714286
0.612245
0.072948
0.097264
0
0
0
0
0
0
0
0
0.00339
0.105383
1,319
34
79
38.794118
0.554237
0.623199
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1af704ec3ef8384dd7fa420f6db113eaaa777ddf
955
py
Python
kingfisher_scrapy/spiders/kenya_makueni.py
open-contracting/kingfisher-collect
2fbbd6361a0ec959e0603343a4b363f97fae3815
[ "BSD-3-Clause" ]
7
2020-07-24T13:15:37.000Z
2021-12-11T22:40:07.000Z
kingfisher_scrapy/spiders/kenya_makueni.py
open-contracting/kingfisher-collect
2fbbd6361a0ec959e0603343a4b363f97fae3815
[ "BSD-3-Clause" ]
418
2020-04-27T22:15:27.000Z
2022-03-31T23:49:34.000Z
kingfisher_scrapy/spiders/kenya_makueni.py
open-contracting/kingfisher-collect
2fbbd6361a0ec959e0603343a4b363f97fae3815
[ "BSD-3-Clause" ]
6
2020-05-28T16:06:53.000Z
2021-03-16T02:54:15.000Z
from kingfisher_scrapy.base_spider import SimpleSpider from kingfisher_scrapy.util import handle_http_error, parameters class KenyaMakueni(SimpleSpider): """ Domain Makueni County Swagger API documentation https://opencontracting.makueni.go.ke/swagger-ui/#/ocds-controller """ name = 'k...
28.088235
107
0.679581
113
955
5.60177
0.522124
0.042654
0.063191
0.091627
0.173776
0
0
0
0
0
0
0.007968
0.211518
955
33
108
28.939394
0.832669
0.149738
0
0
0
0.058824
0.178799
0
0
0
0
0
0
1
0.176471
false
0
0.117647
0
0.529412
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
1afb19dfc43b73ca94cfc69a5f10c210cd33d89c
408
py
Python
recitations/01_apache_kafka/producer.py
DerekHJH/seai
5360511f2fc5410041d2e65bb5602aceae0bef7a
[ "CC0-1.0", "CC-BY-4.0" ]
1
2021-04-10T04:05:25.000Z
2021-04-10T04:05:25.000Z
recitations/01_apache_kafka/producer.py
DerekHJH/seai
5360511f2fc5410041d2e65bb5602aceae0bef7a
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
recitations/01_apache_kafka/producer.py
DerekHJH/seai
5360511f2fc5410041d2e65bb5602aceae0bef7a
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
from time import sleep from json import dumps from kafka import KafkaProducer # Create a producer to write data to kafka producer = KafkaProducer(bootstrap_servers=['localhost:9092'], value_serializer=lambda x: dumps(x).encode('utf-8')) # Write data via the producer for e in range(10): da...
29.142857
76
0.693627
57
408
4.929825
0.666667
0.064057
0
0
0
0
0
0
0
0
0
0.024615
0.203431
408
14
77
29.142857
0.84
0.166667
0
0
0
0
0.121662
0
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
1afbd393fe861a2532ec6146aff3a6840be412b1
3,042
py
Python
invenio_app_rdm/records_ui/views/deposits.py
ntarocco/invenio-app-rdm
9ce43cdd0caeb2fa95c98d2bb72aea4046fd383e
[ "MIT" ]
null
null
null
invenio_app_rdm/records_ui/views/deposits.py
ntarocco/invenio-app-rdm
9ce43cdd0caeb2fa95c98d2bb72aea4046fd383e
[ "MIT" ]
null
null
null
invenio_app_rdm/records_ui/views/deposits.py
ntarocco/invenio-app-rdm
9ce43cdd0caeb2fa95c98d2bb72aea4046fd383e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2019-2021 CERN. # Copyright (C) 2019-2021 Northwestern University. # Copyright (C) 2021 TU Wien. # # Invenio App RDM is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Routes for record-re...
30.42
79
0.724852
387
3,042
5.444444
0.351421
0.052207
0.039867
0.059801
0.209777
0.1813
0.147129
0.071191
0.071191
0.071191
0
0.010753
0.174556
3,042
99
80
30.727273
0.828355
0.183432
0
0.183333
0
0
0.09203
0.071487
0
0
0
0.010101
0
1
0.1
false
0.033333
0.183333
0
0.383333
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
21057b735e3589ba544283dfe1d82c84d2f81739
13,729
py
Python
dinette/migrations/0001_initial.py
agiliq/Dinette
b953a0e30cd05c2148c93c4d58d7e52f59668532
[ "BSD-3-Clause" ]
17
2015-06-28T10:12:19.000Z
2021-11-15T09:52:46.000Z
dinette/migrations/0001_initial.py
agiliq/Dinette
b953a0e30cd05c2148c93c4d58d7e52f59668532
[ "BSD-3-Clause" ]
1
2015-05-10T11:53:18.000Z
2015-05-10T11:54:30.000Z
dinette/migrations/0001_initial.py
agiliq/Dinette
b953a0e30cd05c2148c93c4d58d7e52f59668532
[ "BSD-3-Clause" ]
5
2015-08-05T16:54:35.000Z
2021-01-23T22:42:04.000Z
from south.db import db from django.db import models from dinette.models import * class Migration: def forwards(self, orm): # Adding model 'DinetteUserProfile' db.create_table('dinette_dinetteuserprofile', ( ('id', orm['dinette.DinetteUserProfile:id']), ('user...
62.404545
141
0.561294
1,344
13,729
5.601935
0.104911
0.083942
0.145039
0.207199
0.608049
0.563421
0.52756
0.489175
0.457697
0.387302
0
0.007322
0.214145
13,729
219
142
62.689498
0.690518
0.023673
0
0.221622
0
0
0.554444
0.332114
0
0
0
0
0
1
0.010811
false
0.005405
0.016216
0
0.043243
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
210b498577e4cc027ac98b5dbeb56074b21f5099
3,837
py
Python
tests/test_write.py
sphh/RPLCD
c4dc451623da5e02292046388be5201cbc25321e
[ "MIT" ]
231
2015-02-04T16:12:52.000Z
2022-01-18T22:03:10.000Z
tests/test_write.py
sphh/RPLCD
c4dc451623da5e02292046388be5201cbc25321e
[ "MIT" ]
106
2015-03-31T15:34:26.000Z
2022-03-04T14:23:50.000Z
tests/test_write.py
sphh/RPLCD
c4dc451623da5e02292046388be5201cbc25321e
[ "MIT" ]
74
2015-03-28T12:17:40.000Z
2021-11-15T08:14:51.000Z
# -*- coding: utf-8 -*- from __future__ import print_function, division, absolute_import, unicode_literals import pytest from RPLCD.gpio import CharLCD from RPLCD.common import LCD_SETDDRAMADDR def test_write_simple(mocker, charlcd_kwargs): """ Write "HelloWorld" to the display. """ lcd = CharLCD(**...
33.657895
82
0.654157
531
3,837
4.504708
0.216573
0.067726
0.06898
0.029264
0.458194
0.356187
0.33194
0.309783
0.272993
0.238712
0
0.053799
0.200678
3,837
113
83
33.955752
0.726117
0.060985
0
0.2
0
0
0.041784
0
0
0
0.006776
0
0.458824
1
0.047059
false
0
0.047059
0
0.094118
0.011765
0
0
0
null
0
0
0
0
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
211374e4e4769d751c8f61814e9c2a5ba889cc2a
2,081
py
Python
src/selfcoin/node/ui/ui.py
wangyubin112/selfcoin
f53528645f7d500108c7a258f07a2551f933ce7b
[ "MIT" ]
null
null
null
src/selfcoin/node/ui/ui.py
wangyubin112/selfcoin
f53528645f7d500108c7a258f07a2551f933ce7b
[ "MIT" ]
null
null
null
src/selfcoin/node/ui/ui.py
wangyubin112/selfcoin
f53528645f7d500108c7a258f07a2551f933ce7b
[ "MIT" ]
null
null
null
from tkinter import * from tkinter.font import Font from tkinter.ttk import * from tkinter.messagebox import * #import tkinter.filedialog as tkFileDialog #import tkinter.simpledialog as tkSimpleDialog #askstring() from node.ui.access import access from node.ui.trade import trade from node.ui.post import po...
33.564516
85
0.631427
276
2,081
4.634058
0.221014
0.120407
0.19312
0.093823
0.269742
0.177482
0.177482
0.048475
0.048475
0.048475
0
0.021332
0.256607
2,081
62
86
33.564516
0.80543
0.160019
0
0
0
0
0.0263
0
0
0
0
0
0
1
0.052632
false
0
0.263158
0
0.342105
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
211462b9e7195e8bbb864c0d5c6cc6a8a62078ca
1,146
py
Python
ros/src/tl_detector/light_classification/tl_classifier.py
adityasiwan/system-integration
7166044a7befe814952490528f02b58cd43d893b
[ "MIT" ]
1
2021-04-26T07:05:30.000Z
2021-04-26T07:05:30.000Z
ros/src/tl_detector/light_classification/tl_classifier.py
adityasiwan/system-integration
7166044a7befe814952490528f02b58cd43d893b
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
adityasiwan/system-integration
7166044a7befe814952490528f02b58cd43d893b
[ "MIT" ]
null
null
null
from styx_msgs.msg import TrafficLight import cv2 import numpy as np class TLClassifier(object): def __init__(self): pass def get_classification(self, image): """Determines the color of the traffic light in the image Args: image (cv::Mat): image containing the traffic ligh...
35.8125
125
0.655323
160
1,146
4.54375
0.41875
0.057772
0.061898
0.074278
0.178817
0.178817
0.123796
0
0
0
0
0.080682
0.232112
1,146
31
126
36.967742
0.745455
0.199825
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.0625
0.1875
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
1
0
0
0
0
0
1
2116d67c39a6ae8b7857e6fd14d1c9b55b54aa38
962
py
Python
quiz/admin.py
Afnarel/django-quiz
e84f91ac6ca4e082a6d7427ed98da9dfcbe989fe
[ "MIT" ]
5
2017-04-16T00:45:23.000Z
2020-12-14T10:07:14.000Z
quiz/admin.py
Afnarel/django-quiz
e84f91ac6ca4e082a6d7427ed98da9dfcbe989fe
[ "MIT" ]
null
null
null
quiz/admin.py
Afnarel/django-quiz
e84f91ac6ca4e082a6d7427ed98da9dfcbe989fe
[ "MIT" ]
3
2018-03-22T17:21:37.000Z
2021-01-07T09:42:31.000Z
from django.contrib import admin from quiz.models import Quiz, Category, Question, Answer from forms import QuizAdminForm class QuestionInline(admin.TabularInline): model = Question.quiz.through filter_horizontal = ('content',) class AnswerInline(admin.TabularInline): model = Answer class QuizAdmin(ad...
23.463415
60
0.713098
97
962
6.979381
0.381443
0.06647
0.075332
0.076809
0
0
0
0
0
0
0
0
0.155925
962
40
61
24.05
0.833744
0
0
0.08
0
0
0.119543
0
0
0
0
0
0
1
0
false
0
0.12
0
0.88
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
211bb9e1686403fc565edbda717b5247f8eb5a91
6,046
py
Python
sales/migrations/0001_initial.py
GeekGuste/ecommerce-nuxtjs-djoser
3ee49307eee0e8829504d6dc485fc163e94f18be
[ "MIT" ]
null
null
null
sales/migrations/0001_initial.py
GeekGuste/ecommerce-nuxtjs-djoser
3ee49307eee0e8829504d6dc485fc163e94f18be
[ "MIT" ]
null
null
null
sales/migrations/0001_initial.py
GeekGuste/ecommerce-nuxtjs-djoser
3ee49307eee0e8829504d6dc485fc163e94f18be
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-05-09 17:09 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
49.966942
147
0.585511
598
6,046
5.747492
0.20903
0.087285
0.094268
0.125691
0.680244
0.671516
0.587722
0.566773
0.554262
0.550771
0
0.018842
0.271419
6,046
120
148
50.383333
0.761407
0.007443
0
0.548673
1
0
0.108351
0.003834
0
0
0
0
0
1
0
false
0
0.026549
0
0.061947
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
211bc33d7750b204082362a769df466a992251f4
1,363
py
Python
tests/test_hello.py
smheidrich/lovely-pytest-docker
d1dc22836c9cd068f06b9e5c1a14c72c33e19776
[ "Apache-2.0" ]
1
2021-04-07T05:00:32.000Z
2021-04-07T05:00:32.000Z
tests/test_hello.py
Ch3LL/lovely-pytest-docker
d1dc22836c9cd068f06b9e5c1a14c72c33e19776
[ "Apache-2.0" ]
null
null
null
tests/test_hello.py
Ch3LL/lovely-pytest-docker
d1dc22836c9cd068f06b9e5c1a14c72c33e19776
[ "Apache-2.0" ]
null
null
null
from urllib.request import urlopen def test_hello_world(docker_hello_world): """Test if the container is reachable. The docker_hello_world fixture is used, so the container will start on test startup. Do a request to the docker service and read the body. """ res = urlopen(docker_hello_world).read...
27.26
79
0.72047
198
1,363
4.752525
0.388889
0.124336
0.100956
0.063762
0.05526
0
0
0
0
0
0
0.007299
0.195891
1,363
49
80
27.816327
0.851277
0.325752
0
0
0
0
0.088812
0
0
0
0
0
0.238095
1
0.238095
false
0
0.047619
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
1
0
0
0
0
0
0
0
1
211cab028e3854458a1443d18b03d0d277c05510
2,879
py
Python
portfolio/models.py
macmohan26/EagleFinancialServices
72a8210fb3a750113119fe2f67f516ab74f5bf8a
[ "MIT" ]
null
null
null
portfolio/models.py
macmohan26/EagleFinancialServices
72a8210fb3a750113119fe2f67f516ab74f5bf8a
[ "MIT" ]
null
null
null
portfolio/models.py
macmohan26/EagleFinancialServices
72a8210fb3a750113119fe2f67f516ab74f5bf8a
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from yahoo_finance import Share class Customer(models.Model): name = models.CharField(max_length=50) address = models.CharField(max_length=200) cust_number = models.IntegerField(blank=False, null=Fals...
31.637363
79
0.694686
366
2,879
5.254098
0.240437
0.051482
0.093604
0.124805
0.601664
0.469579
0.380655
0.380655
0.302132
0.158086
0
0.018293
0.202501
2,879
90
80
31.988889
0.819251
0
0
0.357143
0
0
0.008342
0
0
0
0
0
0
1
0.171429
false
0
0.057143
0.071429
0.728571
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
2139aa19dab5758c0854147c0c7b7f993ab66e37
4,251
py
Python
BandFilter.py
FullPint/Frequency-Filter-Server
60ed3f17f8873ff92b6f52e7dd861c9d99dea40c
[ "MIT" ]
null
null
null
BandFilter.py
FullPint/Frequency-Filter-Server
60ed3f17f8873ff92b6f52e7dd861c9d99dea40c
[ "MIT" ]
null
null
null
BandFilter.py
FullPint/Frequency-Filter-Server
60ed3f17f8873ff92b6f52e7dd861c9d99dea40c
[ "MIT" ]
null
null
null
import numpy as np import math as math import cv2 def get_ideal_low_pass_filter( shape, cutoff,width): [h, w] = shape mask_image = np.zeros((h, w)) for i in range(h): for j in range(w): distance = math.sqrt((i - (h / 2)) * (i - (h / 2)) + (j - (w / 2)) * (j - (w / 2))) if...
33.472441
114
0.635145
634
4,251
4.033123
0.118297
0.063355
0.050841
0.073915
0.766523
0.695346
0.635901
0.624951
0.554556
0.518968
0
0.021739
0.23171
4,251
126
115
33.738095
0.761176
0.025876
0
0.505263
0
0
0.025151
0
0
0
0
0
0
1
0.094737
false
0.231579
0.031579
0
0.221053
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
2143bacd6a76ee92f7ac8c6b2947548a4fd50d60
403
py
Python
setup.py
atkirtland/pyffe
f6788a70ed495fb7dd3721ad2f8fc876cd09ca13
[ "MIT" ]
8
2018-06-01T03:34:37.000Z
2021-07-28T11:58:03.000Z
setup.py
atkirtland/pyffe
f6788a70ed495fb7dd3721ad2f8fc876cd09ca13
[ "MIT" ]
2
2019-04-22T14:49:44.000Z
2020-05-05T23:37:46.000Z
setup.py
atkirtland/pyffe
f6788a70ed495fb7dd3721ad2f8fc876cd09ca13
[ "MIT" ]
3
2018-06-01T03:38:57.000Z
2020-10-29T11:09:21.000Z
from setuptools import setup setup(name='pyffe', version='0.1', description='Tools and utils for PyCaffe', # url='http://github.com/fabiocarrara/pyffe', author='Fabio Carrara', author_email='fabio.carrara@isti.cnr.it', license='MIT', packages=['pyffe', 'pyffe.models'], z...
28.785714
65
0.622829
47
403
5.297872
0.851064
0.096386
0
0
0
0
0
0
0
0
0
0.012422
0.200993
403
13
66
31
0.76087
0.1067
0
0
0
0
0.343575
0.069832
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
21491d739de0ac5003130a56685328460b5c6993
2,475
py
Python
dao/FollowerDAO.py
iosTeamofFour/iAimeServer
817c0d6bfa53225d948d30714f060a9670384cdc
[ "MIT" ]
null
null
null
dao/FollowerDAO.py
iosTeamofFour/iAimeServer
817c0d6bfa53225d948d30714f060a9670384cdc
[ "MIT" ]
null
null
null
dao/FollowerDAO.py
iosTeamofFour/iAimeServer
817c0d6bfa53225d948d30714f060a9670384cdc
[ "MIT" ]
null
null
null
import traceback import pymysql from dao.DatabaseConfig import * from pojo.Follower import Follower class FollowerDAO: __db_host = host __db_admin = admin __db_password = password __db = database __port = port __charset = charset def retrieve(self, user_id): retrieve_followers =...
34.859155
118
0.551515
244
2,475
5.29918
0.278689
0.037123
0.025522
0.027842
0.159319
0.131477
0.08662
0.08662
0.08662
0
0
0.005
0.353535
2,475
71
119
34.859155
0.803125
0.333333
0
0.054054
0
0
0.067077
0
0
0
0
0
0
1
0.027027
false
0.054054
0.108108
0
0.351351
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2149c62995ef709bfd5088a49347c689e6d278d0
2,905
py
Python
stackless/threadscheduling.py
irr/python-labs
43bb3a528c151653b2be832c7ff13240a10e18a4
[ "Apache-2.0" ]
4
2015-11-25T09:06:44.000Z
2019-12-11T21:35:21.000Z
stackless/threadscheduling.py
irr/python-labs
43bb3a528c151653b2be832c7ff13240a10e18a4
[ "Apache-2.0" ]
null
null
null
stackless/threadscheduling.py
irr/python-labs
43bb3a528c151653b2be832c7ff13240a10e18a4
[ "Apache-2.0" ]
2
2015-11-25T09:19:38.000Z
2016-02-26T03:54:06.000Z
# # A demonstration of how each thread has its own scheduler. # # Author: Richard Tew <richard.m.tew@gmail.com> # # This code was written to serve as an example of Stackless Python usage. # Feel free to email me with any questions, comments, or suggestions for # improvement. # # FURTHER DETAIL: # # This exam...
28.762376
91
0.659208
344
2,905
5.491279
0.462209
0.081525
0.046585
0.047644
0.148227
0.089995
0.089995
0.089995
0.089995
0.089995
0
0.007892
0.25852
2,905
100
92
29.05
0.869081
0.352496
0
0.156863
0
0
0.036551
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.078431
0
0
0
null
0
0
0
0
0
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
214b4b870d923d322188b30ebe9da712d905bbe8
3,281
py
Python
lib/bindings/samples/server/debug/profiling_output.py
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
lib/bindings/samples/server/debug/profiling_output.py
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
lib/bindings/samples/server/debug/profiling_output.py
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
import threading import errors import vs import logging import gc from blinker import signal from utils import performance from output.output import Output # We need to be able to load (not run) vs_server on windows to generate the documentation. # So we're skipping non-windows imports try: import psutil except...
37.284091
117
0.642182
389
3,281
5.282776
0.354756
0.043796
0.019465
0.03309
0.086618
0.086618
0.03017
0
0
0
0
0.001656
0.263944
3,281
87
118
37.712644
0.849275
0.110942
0
0.123077
0
0
0.072239
0
0
0
0
0.011494
0
1
0.076923
false
0.015385
0.153846
0
0.261538
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
214c4974c227509b0ccd6fb5b2226ec0cc186dbf
920
py
Python
tests/test-permissions.py
maurice0918/aioftp
a3967472bad8ce1ad255e08bd1bc8725dc5188ce
[ "Apache-2.0" ]
null
null
null
tests/test-permissions.py
maurice0918/aioftp
a3967472bad8ce1ad255e08bd1bc8725dc5188ce
[ "Apache-2.0" ]
null
null
null
tests/test-permissions.py
maurice0918/aioftp
a3967472bad8ce1ad255e08bd1bc8725dc5188ce
[ "Apache-2.0" ]
null
null
null
from common import * # noqa @aioftp_setup( server_args=([(aioftp.User( base_path="tests/foo", home_path="/", permissions=[aioftp.Permission(writable=False)], ),)], {})) @with_connection @expect_codes_in_exception("550") async def test_permission_denied(loop, client, server): awai...
24.864865
70
0.629348
102
920
5.45098
0.401961
0.138489
0.091727
0.124101
0.591727
0.535971
0.535971
0.535971
0.535971
0.535971
0
0.004155
0.215217
920
36
71
25.555556
0.765928
0.004348
0
0.6
0
0
0.04814
0
0
0
0
0
0
1
0
true
0
0.033333
0
0.033333
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
2152e8f8b468b553d891dc60dadef6103ec15bdf
330
py
Python
tests/test_library.py
dtomlinson91/panaetius
528f11c8ebcac41abc1dd3c83ab06196d8970eee
[ "MIT" ]
null
null
null
tests/test_library.py
dtomlinson91/panaetius
528f11c8ebcac41abc1dd3c83ab06196d8970eee
[ "MIT" ]
null
null
null
tests/test_library.py
dtomlinson91/panaetius
528f11c8ebcac41abc1dd3c83ab06196d8970eee
[ "MIT" ]
null
null
null
import panaetius def test_set_config(header, shared_datadir): # arrange config_path = str(shared_datadir / "without_logging") # act config = panaetius.Config(header, config_path) panaetius.set_config(config, "some_top_string") # assert assert getattr(config, "some_top_string") == "some_t...
23.571429
65
0.721212
41
330
5.463415
0.512195
0.09375
0.116071
0.169643
0
0
0
0
0
0
0
0
0.178788
330
13
66
25.384615
0.826568
0.054545
0
0
0
0
0.191558
0
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2157394d4d6a05ec7d2cc9c3034afc3ca32c7a21
276
py
Python
setup.py
guilledk/triopatterns
74e4962d7d66ed4168517f36419b95574543f7a0
[ "MIT" ]
12
2020-04-18T17:10:54.000Z
2021-05-11T05:23:22.000Z
setup.py
guilledk/triopatterns
74e4962d7d66ed4168517f36419b95574543f7a0
[ "MIT" ]
null
null
null
setup.py
guilledk/triopatterns
74e4962d7d66ed4168517f36419b95574543f7a0
[ "MIT" ]
1
2021-05-11T05:23:25.000Z
2021-05-11T05:23:25.000Z
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name="triopatterns", packages=find_packages(), version="0.1.0", description="Useful async patterns I repeat everywere when using trio.", install_requires=[ "trio" ] )
18.4
76
0.67029
33
276
5.515152
0.818182
0.131868
0
0
0
0
0
0
0
0
0
0.018433
0.213768
276
14
77
19.714286
0.820277
0.076087
0
0
0
0
0.307087
0
0
0
0
0
0
1
0
true
0
0.1
0
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
1
0
0
0
0
0
0
1
215d1f0fb889d782abf9df98d7c10e72bbb913bd
854
py
Python
testing/CinemaBaseTest.py
JonasLukasczyk/workbench
4a59faeb181185bc57d8bce605bdd1f0bfe4fe42
[ "BSD-3-Clause" ]
null
null
null
testing/CinemaBaseTest.py
JonasLukasczyk/workbench
4a59faeb181185bc57d8bce605bdd1f0bfe4fe42
[ "BSD-3-Clause" ]
null
null
null
testing/CinemaBaseTest.py
JonasLukasczyk/workbench
4a59faeb181185bc57d8bce605bdd1f0bfe4fe42
[ "BSD-3-Clause" ]
null
null
null
import unittest import numpy import os import matplotlib.pyplot as plt from matplotlib.testing.compare import compare_images class CinemaBaseTest(unittest.TestCase): gold = "testing/gold" scratch = "testing/scratch" def __init__(self, *args, **kwargs): super(CinemaBaseTest, self).__init__(*args...
29.448276
141
0.655738
101
854
5.405941
0.504951
0.047619
0.03663
0.087912
0.139194
0.139194
0.139194
0.139194
0
0
0
0.010606
0.227166
854
28
142
30.5
0.816667
0
0
0
0
0
0.076112
0
0
0
0
0
0.045455
1
0.181818
false
0.045455
0.227273
0
0.590909
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
215dffbd3b395f98e4bb44d86a2ef548f69dc34b
377
py
Python
com/LimePencil/Q11866/Main.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
2
2021-07-17T13:05:42.000Z
2021-09-12T09:14:24.000Z
com/LimePencil/Q11866/Main.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
null
null
null
com/LimePencil/Q11866/Main.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
null
null
null
import sys from collections import deque n, k = list(map(int,sys.stdin.readline().strip("\n").split(" "))) circle = deque(list(range(1, n+1))) order = [] for i in range(n): for j in range(k): if(k-1 !=j): circle.append(circle.popleft()) else: order.append(circle.popleft()) ...
23.5625
65
0.551724
56
377
3.714286
0.535714
0.067308
0.182692
0
0
0
0
0
0
0
0
0.010526
0.244032
377
16
66
23.5625
0.719298
0
0
0
0
0
0.018519
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.083333
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
21615a82f4eeea762a32dbee08d0aee8e0432a35
1,149
py
Python
tests/test_case_style.py
xkumiyu/case-style-changer
26405cf63a4a21572ab634c2a25aab33dc5b616d
[ "MIT" ]
2
2019-12-29T08:36:29.000Z
2021-05-27T19:08:24.000Z
tests/test_case_style.py
xkumiyu/case-style-changer
26405cf63a4a21572ab634c2a25aab33dc5b616d
[ "MIT" ]
58
2019-12-23T14:22:46.000Z
2021-06-25T15:31:27.000Z
tests/test_case_style.py
xkumiyu/case-style-changer
26405cf63a4a21572ab634c2a25aab33dc5b616d
[ "MIT" ]
null
null
null
import pytest from case_style_changer.case_style import CamelCase from case_style_changer.case_style import CapitalCase from case_style_changer.case_style import Case from case_style_changer.case_style import ConstantCase from case_style_changer.case_style import KebabCase from case_style_changer.case_style import Pas...
26.72093
54
0.739774
139
1,149
5.798561
0.294964
0.17866
0.129032
0.198511
0.347395
0.347395
0.347395
0
0
0
0
0
0.172324
1,149
42
55
27.357143
0.847529
0
0
0
0
0
0.052219
0
0
0
0
0
0.0625
1
0.09375
false
0
0.28125
0
0.375
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
2163ced377a0895a142ce1f15197017583e49e11
1,299
py
Python
planet_express.py
srobo/kit-packages
bf3cbdc530f8e99eb6825afcdff98894702b32d1
[ "MIT" ]
null
null
null
planet_express.py
srobo/kit-packages
bf3cbdc530f8e99eb6825afcdff98894702b32d1
[ "MIT" ]
9
2021-04-26T18:33:17.000Z
2021-06-14T19:56:14.000Z
planet_express.py
srobo/kit-packages
bf3cbdc530f8e99eb6825afcdff98894702b32d1
[ "MIT" ]
1
2021-09-26T08:50:39.000Z
2021-09-26T08:50:39.000Z
"""Our crew is replaceable, your package isn't!""" import subprocess from pathlib import Path from shutil import move from typing import List # NB: These are manually dependency sorted! # TODO: Tree shaking or DAG or equivalent PACKAGES: List[str] = [ "python-dbus-next", "python-gmqtt", "python-pyquaternio...
25.98
70
0.660508
168
1,299
4.946429
0.511905
0.060168
0.038508
0
0
0
0
0
0
0
0
0.003824
0.194765
1,299
49
71
26.510204
0.790631
0.105466
0
0
0
0
0.298261
0.01913
0
0
0
0.020408
0.081081
1
0.027027
false
0
0.108108
0
0.135135
0.162162
0
0
0
null
0
0
0
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
21673f4717e9c230bf9a2c72d0e8858c90f360db
470
py
Python
tests/test_issues/test_issue_8.py
hsolbrig/pyjsg
5ef46d9af6a94a0cd0e91ebf8b22f61c17e78429
[ "CC0-1.0" ]
3
2017-07-23T11:11:23.000Z
2020-11-30T15:36:51.000Z
tests/test_issues/test_issue_8.py
hsolbrig/pyjsg
5ef46d9af6a94a0cd0e91ebf8b22f61c17e78429
[ "CC0-1.0" ]
15
2018-01-05T17:18:34.000Z
2021-12-13T17:40:25.000Z
tests/test_issues/test_issue_8.py
hsolbrig/pyjsg
5ef46d9af6a94a0cd0e91ebf8b22f61c17e78429
[ "CC0-1.0" ]
null
null
null
import unittest class Issue8TestCase(unittest.TestCase): def test_none_as_string_instance(self): from pyjsg.jsglib import JSGString, JSGPattern class S(JSGString): pattern = JSGPattern(r'[a-zA-Z]+') self.assertTrue(isinstance('abc', S)) self.assertFalse(isinstance('...
22.380952
54
0.648936
52
470
5.634615
0.596154
0.051195
0.163823
0.266212
0
0
0
0
0
0
0
0.005479
0.223404
470
20
55
23.5
0.79726
0
0
0
0
0
0.051173
0
0
0
0
0
0.333333
1
0.083333
false
0
0.166667
0
0.416667
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
216a71e1deaa9152c743134526dc3dd3037872df
9,541
py
Python
backdoor/dump.py
alu96/coastermelt
8b62bad5dddfbe3f7555dafbc791158f75b14214
[ "MIT" ]
null
null
null
backdoor/dump.py
alu96/coastermelt
8b62bad5dddfbe3f7555dafbc791158f75b14214
[ "MIT" ]
null
null
null
backdoor/dump.py
alu96/coastermelt
8b62bad5dddfbe3f7555dafbc791158f75b14214
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys, struct, time # Use on the command line to interactively dump regions of memory. # Or import as a library for higher level dumping functions. __all__ = [ 'words_from_string', 'poke_words', 'poke_words_from_string', 'poke_bytes', 'read_block', 'scsi_read_buffer', 'hexdu...
35.468401
106
0.628655
1,364
9,541
4.269062
0.23827
0.030912
0.016486
0.017517
0.249356
0.178946
0.150438
0.133952
0.133952
0.093938
0
0.023426
0.257311
9,541
268
107
35.600746
0.798335
0.099675
0
0.167702
0
0
0.052951
0.003106
0
0
0.010167
0
0.037267
0
null
null
0
0.012422
null
null
0.018634
0
0
0
null
0
0
0
0
0
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
216afa10416ea1fb2e908a1dc12cbff0f2ab06cb
3,355
py
Python
nixnet/database/_collection.py
ni-ldp/nixnet-python
83f30c5b44098de0dc4828838e263b7be0866228
[ "MIT" ]
16
2017-06-14T19:44:45.000Z
2022-02-06T15:14:52.000Z
nixnet/database/_collection.py
ni-ldp/nixnet-python
83f30c5b44098de0dc4828838e263b7be0866228
[ "MIT" ]
216
2017-06-15T16:41:10.000Z
2021-09-23T23:00:50.000Z
nixnet/database/_collection.py
ni-ldp/nixnet-python
83f30c5b44098de0dc4828838e263b7be0866228
[ "MIT" ]
23
2017-06-14T22:51:08.000Z
2022-03-03T03:04:40.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import collections import typing # NOQA: F401 import six from nixnet import _cprops from nixnet import _funcs from nixnet import constants # NOQA: F401 from nixnet.database import _database_object # NOQA...
29.955357
96
0.634277
404
3,355
4.928218
0.242574
0.08438
0.04219
0.036163
0.325465
0.204922
0.189854
0.189854
0.099448
0.099448
0
0.003733
0.281371
3,355
111
97
30.225225
0.821651
0.043815
0
0.152542
0
0
0.010808
0
0
0
0
0
0
0
null
null
0
0.169492
null
null
0.016949
0
0
0
null
0
0
0
0
0
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
dcbf0f9d4808b82ba24b518b6bff4c74f260adfc
8,641
py
Python
lib2nbdev/convert.py
manisnesan/lib2nbdev
914133dcd6cd00fac1c63df137e465ff103b1047
[ "Apache-2.0" ]
27
2021-03-27T20:18:13.000Z
2022-02-07T23:54:27.000Z
lib2nbdev/convert.py
manisnesan/lib2nbdev
914133dcd6cd00fac1c63df137e465ff103b1047
[ "Apache-2.0" ]
11
2021-03-27T20:22:23.000Z
2021-09-27T15:10:57.000Z
lib2nbdev/convert.py
manisnesan/lib2nbdev
914133dcd6cd00fac1c63df137e465ff103b1047
[ "Apache-2.0" ]
5
2021-03-23T01:13:43.000Z
2021-09-24T08:38:28.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_convert.ipynb (unless otherwise specified). __all__ = ['code_cell', 'write_module_cell', 'init_nb', 'write_cell', 'write_nb', 'convert_lib'] # Cell import json from fastcore.basics import Path from fastcore.xtras import is_listy from fastcore.foundation import Config fr...
38.234513
135
0.60942
1,177
8,641
4.305013
0.233645
0.019538
0.013815
0.019341
0.153937
0.144069
0.136175
0.107559
0.083087
0.083087
0
0.005992
0.266057
8,641
226
136
38.234513
0.792968
0.187941
0
0.120567
1
0.021277
0.245632
0.015162
0
0
0
0
0
1
0.049645
false
0.035461
0.06383
0
0.148936
0.056738
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
dcc14f62b869ee50753b16d2ba0d59cb2f42b63b
1,297
py
Python
train.py
SumitM0432/Explicit-Content-Classifier-using-ResNet
2a5de322b018afd5fa32b461704f3e9f1ac44a45
[ "Apache-2.0" ]
3
2021-09-12T14:27:23.000Z
2022-01-23T02:32:15.000Z
train.py
SumitM0432/Explicit-Content-Classifier-using-ResNet
2a5de322b018afd5fa32b461704f3e9f1ac44a45
[ "Apache-2.0" ]
null
null
null
train.py
SumitM0432/Explicit-Content-Classifier-using-ResNet
2a5de322b018afd5fa32b461704f3e9f1ac44a45
[ "Apache-2.0" ]
null
null
null
import torch import config import engine import dataset_prep import torch.nn as nn import model import metrics import matplotlib.pyplot as plt if __name__ == '__main__': # DataLoaders train_loader, val_loader = dataset_prep.tr_dataset(batch_size = config.BATCH_SIZE) classes = val_loader.dataset.dataset.c...
31.634146
156
0.707787
165
1,297
5.315152
0.442424
0.051311
0.031927
0.04561
0.057013
0
0
0
0
0
0
0.01306
0.173477
1,297
40
157
32.425
0.805037
0.148805
0
0
0
0
0.127854
0.021005
0
0
0
0
0
1
0
false
0
0.32
0
0.32
0.16
0
0
0
null
0
0
0
0
0
0
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
dcc1589e3291049a618887f3067ed6490c47ef8f
9,279
py
Python
pydc1394/ui/qt/display.py
joristork/milovision
aeb09b9c75f7bc0900cb513079bbe08b3c439bbc
[ "MIT" ]
8
2015-01-04T14:45:04.000Z
2021-08-31T21:32:39.000Z
pydc1394/ui/qt/display.py
joristork/milovision
aeb09b9c75f7bc0900cb513079bbe08b3c439bbc
[ "MIT" ]
null
null
null
pydc1394/ui/qt/display.py
joristork/milovision
aeb09b9c75f7bc0900cb513079bbe08b3c439bbc
[ "MIT" ]
2
2016-03-21T08:19:32.000Z
2021-10-18T03:12:40.000Z
#!/usr/bin/env python # encoding: utf-8 # # This file is part of pydc1394. # # pydc1394 is free software: you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later ...
32.672535
121
0.594784
1,152
9,279
4.659722
0.337674
0.02608
0.035768
0.019374
0.1481
0.093517
0.051043
0.020119
0.010432
0.010432
0
0.026092
0.301972
9,279
283
122
32.787986
0.802686
0.181593
0
0.131737
0
0
0.021927
0
0
0
0
0
0
0
null
null
0.005988
0.053892
null
null
0.005988
0
0
0
null
0
0
0
0
0
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
dcc405c89554340cf79b4f36c0663ee5507b5afe
1,988
py
Python
waves_gateway/service/transaction_service_converter_proxy_impl.py
NeolithEra/WavesGatewayFramework
e7ba892427e1d0444f2bfdc2922c45ff5f4c4add
[ "MIT" ]
25
2018-03-04T07:49:21.000Z
2022-03-28T05:20:50.000Z
waves_gateway/service/transaction_service_converter_proxy_impl.py
NeolithEra/WavesGatewayFramework
e7ba892427e1d0444f2bfdc2922c45ff5f4c4add
[ "MIT" ]
22
2018-03-25T13:19:45.000Z
2020-11-28T17:21:08.000Z
waves_gateway/service/transaction_service_converter_proxy_impl.py
NeolithEra/WavesGatewayFramework
e7ba892427e1d0444f2bfdc2922c45ff5f4c4add
[ "MIT" ]
31
2018-03-25T09:45:13.000Z
2022-03-24T05:32:18.000Z
""" AssetTransactionServiceConverterProxyImpl """ from typing import Optional, cast from waves_gateway.common import Injectable from waves_gateway.model import Transaction, TransactionAttempt from waves_gateway.service.token import COIN_TRANSACTION_SERVICE, COIN_INTEGER_CONVERTER_SERVICE, \ ASSET_INTEGER_CONVERTE...
47.333333
115
0.840543
195
1,988
8.123077
0.261538
0.141414
0.130682
0.085227
0.164141
0
0
0
0
0
0
0
0.113179
1,988
41
116
48.487805
0.898469
0.077968
0
0.076923
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.346154
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
dcc4df84af30a2ba12b9e8f6b4fd38216da7e461
1,264
py
Python
vocabulary/models.py
ketzu/klang-api
d40849692b494c6b8ed86e69caa25a79f0910e96
[ "MIT" ]
null
null
null
vocabulary/models.py
ketzu/klang-api
d40849692b494c6b8ed86e69caa25a79f0910e96
[ "MIT" ]
null
null
null
vocabulary/models.py
ketzu/klang-api
d40849692b494c6b8ed86e69caa25a79f0910e96
[ "MIT" ]
null
null
null
from datetime import datetime, timezone from django.db import models # Create your models here. from users.models import User class Vocable(models.Model): vocab = models.CharField(max_length=200) translation = models.CharField(max_length=200) def __str__(self): return f"{self.vocab} ({self.tran...
30.095238
92
0.674842
157
1,264
5.280255
0.420382
0.033776
0.053076
0.077201
0.193004
0.069964
0
0
0
0
0
0.016016
0.209652
1,264
41
93
30.829268
0.813814
0.018987
0
0.107143
0
0
0.15105
0.029079
0
0
0
0
0
1
0.107143
false
0
0.107143
0.071429
0.821429
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
dcc8636110d4224c284906e668d86d7cfb169d1e
388
py
Python
app1/migrations/0006_flight_squack.py
awzdevelopers/FlightStrips_django
f7d89be6804c583bc9d2a86822b3538d8a340e92
[ "MIT" ]
null
null
null
app1/migrations/0006_flight_squack.py
awzdevelopers/FlightStrips_django
f7d89be6804c583bc9d2a86822b3538d8a340e92
[ "MIT" ]
null
null
null
app1/migrations/0006_flight_squack.py
awzdevelopers/FlightStrips_django
f7d89be6804c583bc9d2a86822b3538d8a340e92
[ "MIT" ]
1
2019-07-17T11:53:37.000Z
2019-07-17T11:53:37.000Z
# Generated by Django 2.0.3 on 2020-02-18 03:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app1', '0005_flight_printed'), ] operations = [ migrations.AddField( model_name='flight', name='squack', ...
20.421053
61
0.592784
43
388
5.255814
0.837209
0
0
0
0
0
0
0
0
0
0
0.07971
0.28866
388
18
62
21.555556
0.73913
0.115979
0
0
1
0
0.102639
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0.083333
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
dccda085ad159251ff9663e36a7699f423b09871
7,151
py
Python
align_to_wig_20180130.py
ethanagbaker/Rend_seq_core_scripts
5a06ce7f9c4801f3a5a8be3583d596443c3c3875
[ "Unlicense" ]
1
2020-08-26T15:29:36.000Z
2020-08-26T15:29:36.000Z
align_to_wig_20180130.py
ethanagbaker/Rend_seq_core_scripts
5a06ce7f9c4801f3a5a8be3583d596443c3c3875
[ "Unlicense" ]
null
null
null
align_to_wig_20180130.py
ethanagbaker/Rend_seq_core_scripts
5a06ce7f9c4801f3a5a8be3583d596443c3c3875
[ "Unlicense" ]
3
2018-06-23T00:50:04.000Z
2020-11-27T18:57:24.000Z
''' Generates pile-up files (reads counts that map along the genome, with position in nucleotides) wig format. Deals with mismatches (from non-template addition from reverse transcription) and possible multiple alignments, with the explicit purpose of correctly taking into account close paralogs (e.g., EF-Tu). Input:...
39.727778
308
0.638652
910
7,151
4.783516
0.217582
0.060648
0.044797
0.047783
0.317712
0.272686
0.224443
0.224443
0.20974
0.188146
0
0.026943
0.278562
7,151
179
309
39.949721
0.816825
0.293665
0
0.152941
1
0
0.021791
0
0
0
0
0
0
1
0.035294
false
0.011765
0.011765
0
0.058824
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
dccda6e5f9e0e2347d4ab0729bf6cec1800354e9
1,365
py
Python
Code/Web_app/mail_test.py
gokul-koganti/SRIJAS
8b0c03ce2b5a8af49dbee93f02dffce976cbb2c2
[ "MIT" ]
1
2021-10-02T10:43:18.000Z
2021-10-02T10:43:18.000Z
Code/Web_app/mail_test.py
gokul-koganti/SRIJAS
8b0c03ce2b5a8af49dbee93f02dffce976cbb2c2
[ "MIT" ]
49
2021-09-22T03:36:28.000Z
2021-10-01T03:17:05.000Z
Code/Web_app/mail_test.py
gokul-koganti/SRIJAS
8b0c03ce2b5a8af49dbee93f02dffce976cbb2c2
[ "MIT" ]
8
2021-09-30T18:33:40.000Z
2022-01-20T05:07:16.000Z
from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from socket import gaierror import sys import smtplib import json f = open ('parameters.json', "r") mail_params = json.loads(f.read()) password = mail_params['email_password'] smtp_server = "smtp.gmail.com" login = "srijas.alerts@gmai...
29.042553
161
0.686447
179
1,365
5.195531
0.463687
0.034409
0.054839
0.064516
0.066667
0.066667
0.066667
0
0
0
0
0.003663
0.2
1,365
46
162
29.673913
0.847985
0.060806
0
0.051282
0
0
0.229688
0.053906
0
0
0
0
0
1
0
false
0.076923
0.153846
0
0.153846
0.128205
0
0
0
null
0
0
0
0
0
0
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
dccdfba8cbd9590d04c985c054568a6a3fc8fb13
1,758
py
Python
blog/migrations/0001_initial.py
marcanuy/django-categories-example-app
eeaaf6a7c6276660da0193f00473958f94f3267d
[ "MIT" ]
1
2020-09-01T04:54:13.000Z
2020-09-01T04:54:13.000Z
blog/migrations/0001_initial.py
marcanuy/django-categories-example-app
eeaaf6a7c6276660da0193f00473958f94f3267d
[ "MIT" ]
null
null
null
blog/migrations/0001_initial.py
marcanuy/django-categories-example-app
eeaaf6a7c6276660da0193f00473958f94f3267d
[ "MIT" ]
3
2021-03-28T14:21:24.000Z
2021-10-01T02:06:37.000Z
# Generated by Django 2.2.13 on 2020-08-30 23:18 from django.db import migrations, models import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', ...
40.883721
168
0.595563
177
1,758
5.819209
0.384181
0.031068
0.046602
0.064078
0.357282
0.304854
0.304854
0.304854
0.304854
0.304854
0
0.021672
0.265074
1,758
42
169
41.857143
0.775542
0.026166
0
0.285714
1
0
0.084211
0
0
0
0
0
0
1
0
false
0
0.085714
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dcce541d9b18f210ebbb3ee26963e9eee4507a61
60,941
py
Python
FLaREON/__init__.py
sidgurun/FLaREON
58672e49bb6fdf5ad2802fa02310724b9c3198ac
[ "MIT" ]
null
null
null
FLaREON/__init__.py
sidgurun/FLaREON
58672e49bb6fdf5ad2802fa02310724b9c3198ac
[ "MIT" ]
null
null
null
FLaREON/__init__.py
sidgurun/FLaREON
58672e49bb6fdf5ad2802fa02310724b9c3198ac
[ "MIT" ]
null
null
null
import os import os.path #import imp import sys import shutil import urllib import numpy as np from sklearn.ensemble import RandomForestRegressor, ExtraTreesRegressor, GradientBoostingRegressor from sklearn.neighbors import KNeighborsRegressor import pickle #======================================================...
40.790495
219
0.469454
6,704
60,941
3.942572
0.091438
0.022852
0.057319
0.038137
0.718437
0.672808
0.640422
0.60255
0.564224
0.532973
0
0.033432
0.246583
60,941
1,493
220
40.817816
0.542231
0.202212
0
0.447005
0
0.018433
0.129668
0.001718
0
0
0
0
0.023041
0
null
null
0.001536
0.016897
null
null
0.086022
0
0
0
null
0
0
0
0
0
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
dcd247e8867803953ba2ad24643a7ffdd063ebeb
685
py
Python
keybert/_highlight.py
aucan/KeyBERT
563d37907939e21f10269c83fbfc55fa1681925a
[ "MIT" ]
null
null
null
keybert/_highlight.py
aucan/KeyBERT
563d37907939e21f10269c83fbfc55fa1681925a
[ "MIT" ]
null
null
null
keybert/_highlight.py
aucan/KeyBERT
563d37907939e21f10269c83fbfc55fa1681925a
[ "MIT" ]
null
null
null
from rich.console import Console from rich.highlighter import RegexHighlighter import string class NullHighlighter(RegexHighlighter): base_style = "" highlights = [r""] def clean_text(astr): clean_str = astr.translate(str.maketrans('', '', string.punctuation)) clean_str = ' '.join(clean_str.split())....
31.136364
92
0.706569
80
685
5.875
0.5
0.068085
0
0
0
0
0
0
0
0
0
0.003484
0.162044
685
21
93
32.619048
0.815331
0
0
0
0
0
0.056934
0.035037
0
0
0
0
0
1
0.117647
false
0
0.176471
0
0.529412
0.058824
0
0
0
null
0
0
0
0
0
0
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
dcd4294715737ac0067d08055130ee2d060f0c64
292
py
Python
app/api/__init__.py
mortimer2015/simple-flask-web
dc0ffb231c9fdb0e0178faaa3e13d2588bcf333c
[ "Apache-2.0" ]
1
2019-11-01T06:52:40.000Z
2019-11-01T06:52:40.000Z
app/api/__init__.py
mortimer2015/simple-flask-web
dc0ffb231c9fdb0e0178faaa3e13d2588bcf333c
[ "Apache-2.0" ]
null
null
null
app/api/__init__.py
mortimer2015/simple-flask-web
dc0ffb231c9fdb0e0178faaa3e13d2588bcf333c
[ "Apache-2.0" ]
1
2019-11-06T02:30:02.000Z
2019-11-06T02:30:02.000Z
# -*- coding: UTF-8 -*- __author__ = 'hunter' from flask import Blueprint from app.util.response_util import code_handle from app.util.login_util import login api = Blueprint('api', __name__) api.after_app_request(code_handle) api.before_app_request(login) from . import views, errors
17.176471
46
0.767123
43
292
4.837209
0.511628
0.067308
0.105769
0
0
0
0
0
0
0
0
0.003937
0.130137
292
16
47
18.25
0.814961
0.071918
0
0
0
0
0.033582
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
dcd4942f84f0020ce06ef9d3535eb96ad49c9ecd
300
py
Python
start.py
Victor804/Sky-s-Land
ae478493b07e8e32aff125dba2ad6900a00f0bd4
[ "MIT" ]
1
2018-07-15T10:35:37.000Z
2018-07-15T10:35:37.000Z
start.py
Victor804/Sky-s-Land
ae478493b07e8e32aff125dba2ad6900a00f0bd4
[ "MIT" ]
null
null
null
start.py
Victor804/Sky-s-Land
ae478493b07e8e32aff125dba2ad6900a00f0bd4
[ "MIT" ]
null
null
null
from game_files.character import Character from game_files.menu import Menu from game_files.game import Game menu = Menu() button = menu.main() if (button == "play"): game = Game() game.maps_draw() elif (button == "saves"): menu.saves() elif (button == "options"): menu.options()
17.647059
42
0.67
41
300
4.804878
0.365854
0.121827
0.19797
0
0
0
0
0
0
0
0
0
0.186667
300
16
43
18.75
0.807377
0
0
0
0
0
0.053333
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
dcd6fcd22b7116944765cc745738be46a59779e5
6,821
py
Python
visualizer.py
sgillen/sensel-visualizer
d14f8103667be89c36c2d1a8b3c4ae0c8ef3f1b6
[ "MIT" ]
null
null
null
visualizer.py
sgillen/sensel-visualizer
d14f8103667be89c36c2d1a8b3c4ae0c8ef3f1b6
[ "MIT" ]
null
null
null
visualizer.py
sgillen/sensel-visualizer
d14f8103667be89c36c2d1a8b3c4ae0c8ef3f1b6
[ "MIT" ]
1
2021-09-19T23:38:31.000Z
2021-09-19T23:38:31.000Z
#!/usr/bin/env python ########################################################################## # MIT License # # Copyright (c) 2013-2017 Sensel, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy of this # software and associated documentation files (the "Software"), to deal in the...
36.672043
203
0.661193
950
6,821
4.677895
0.390526
0.029253
0.018902
0.011251
0.034203
0.013051
0.013051
0.013051
0
0
0
0.007798
0.191614
6,821
185
204
36.87027
0.79815
0.521185
0
0.028986
0
0.014493
0.143465
0.016705
0
0
0
0
0
0
null
null
0
0.144928
null
null
0.057971
0
0
0
null
0
0
0
0
0
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
dcd936f26ca66c3833f9cc67058d79711ca7f979
6,506
py
Python
Emotif/motif_filtering.py
YichaoOU/Emotif_Alpha
1b98f82fe359ab5f16056b288b6a39694962992c
[ "MIT" ]
null
null
null
Emotif/motif_filtering.py
YichaoOU/Emotif_Alpha
1b98f82fe359ab5f16056b288b6a39694962992c
[ "MIT" ]
null
null
null
Emotif/motif_filtering.py
YichaoOU/Emotif_Alpha
1b98f82fe359ab5f16056b288b6a39694962992c
[ "MIT" ]
null
null
null
from __future__ import division import os import sys import argparse import shutil import re from utils import * import warnings warnings.filterwarnings("ignore") import sys import numpy as np from scipy.io.arff import loadarff as la from sklearn import svm from sklearn import datasets from sklearn.model_...
32.53
158
0.713188
898
6,506
5.001114
0.233853
0.037408
0.021376
0.021376
0.379871
0.353151
0.313961
0.291249
0.271654
0.271654
0
0.011201
0.162927
6,506
200
159
32.53
0.813441
0.096219
0
0.369863
0
0.006849
0.112444
0.019517
0
0
0
0
0
0
null
null
0
0.164384
null
null
0.082192
0
0
0
null
0
0
0
0
0
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
dcdbe7cbd1b8896c3200e5253c4ca892755ae5c3
3,118
py
Python
brian2/tests/test_morphology.py
moritzaugustin/brian2
d98ea0cb4af0c9426e71c8ee7659ddb13aea8593
[ "BSD-2-Clause" ]
null
null
null
brian2/tests/test_morphology.py
moritzaugustin/brian2
d98ea0cb4af0c9426e71c8ee7659ddb13aea8593
[ "BSD-2-Clause" ]
13
2015-10-05T15:33:42.000Z
2015-11-18T08:31:42.000Z
brian2/tests/test_morphology.py
moritzaugustin/brian2
d98ea0cb4af0c9426e71c8ee7659ddb13aea8593
[ "BSD-2-Clause" ]
null
null
null
from nose.plugins.attrib import attr from numpy.testing.utils import assert_equal, assert_allclose, assert_raises import numpy as np from brian2.spatialneuron import * from brian2.units import um, second @attr('codegen-independent') def test_basicshapes(): morpho = Soma(diameter=30*um) morpho.L = Cylinder(len...
41.026316
76
0.688903
498
3,118
4.222892
0.212851
0.059914
0.073229
0.085592
0.60485
0.494532
0.463148
0.358535
0.289111
0.212078
0
0.055365
0.160038
3,118
75
77
41.573333
0.747614
0.128608
0
0.222222
0
0
0.019608
0
0
0
0
0
0.574074
1
0.037037
false
0
0.092593
0
0.12963
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
dcde0ab6efc4257937fcecc2a7128299c81fde12
6,894
py
Python
tests/test_utils.py
ishtiaque06/vh-fst
ba908ad23d6792ecfd6cc39486a54775877f5bed
[ "MIT" ]
1
2022-01-28T12:43:32.000Z
2022-01-28T12:43:32.000Z
tests/test_utils.py
ishtiaque06/vh-fst
ba908ad23d6792ecfd6cc39486a54775877f5bed
[ "MIT" ]
14
2019-06-06T13:54:21.000Z
2019-08-02T17:34:29.000Z
tests/test_utils.py
ishtiaque06/vh-fst
ba908ad23d6792ecfd6cc39486a54775877f5bed
[ "MIT" ]
1
2019-08-31T16:48:12.000Z
2019-08-31T16:48:12.000Z
from utils import spe_to_fst def run_test_on_strings(input_list, output_list, object): for i in range(len(input_list)): assert "".join(object.step(list(input_list[i]))) == output_list[i] def test_spe_to_fst_a_b_c_d(): alphabet = {'a', 'b', 'c', 'd'} states = {0: '', 1: 'c', 2: 'ca'} transition...
26.413793
74
0.339571
785
6,894
2.86242
0.133758
0.024032
0.046284
0.048064
0.673342
0.622163
0.572319
0.524255
0.453049
0.394304
0
0.05358
0.380041
6,894
260
75
26.515385
0.472157
0.004497
0
0.542857
0
0
0.109475
0
0
0
0
0
0.077551
1
0.028571
false
0
0.004082
0
0.032653
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
dce4402ccd9cd70c583b2d954d6d7aee34c74eea
380
py
Python
app/sources_main/migrations/0027_auto_20190403_0759.py
DOSSIER-dev/DOSSIER-Sources
a89d3626ddf1bfcd021f2f7b4e927182aa5b3d8e
[ "MIT" ]
7
2019-04-05T11:28:50.000Z
2021-04-14T10:05:46.000Z
app/sources_main/migrations/0027_auto_20190403_0759.py
DOSSIER-dev/DOSSIER-Sources
a89d3626ddf1bfcd021f2f7b4e927182aa5b3d8e
[ "MIT" ]
1
2022-03-02T03:41:28.000Z
2022-03-02T03:41:28.000Z
app/sources_main/migrations/0027_auto_20190403_0759.py
DOSSIER-dev/DOSSIER-Sources
a89d3626ddf1bfcd021f2f7b4e927182aa5b3d8e
[ "MIT" ]
1
2019-04-15T10:41:08.000Z
2019-04-15T10:41:08.000Z
# Generated by Django 2.1 on 2019-04-03 07:59 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('sources_main', '0026_auto_20190326_1544'), ] operations = [ migrations.RenameField( model_name='source', old_name='sourceURI',...
20
52
0.605263
39
380
5.717949
0.846154
0
0
0
0
0
0
0
0
0
0
0.111111
0.289474
380
18
53
21.111111
0.714815
0.113158
0
0
1
0
0.2
0.068657
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
dce90efeaa78710f723cfe4bf1ae681944531b50
1,148
py
Python
setup.py
gabrielbdornas/gdlib
95228cb2197a81b31c50cf7cbb62ba2f969ecf60
[ "MIT" ]
null
null
null
setup.py
gabrielbdornas/gdlib
95228cb2197a81b31c50cf7cbb62ba2f969ecf60
[ "MIT" ]
null
null
null
setup.py
gabrielbdornas/gdlib
95228cb2197a81b31c50cf7cbb62ba2f969ecf60
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages import codecs import os import sys sys.path.insert(0, os.path.abspath('..')) if __name__ == '__main__': # Setting up setup( name='gdlib', version='0.0.1.9001', author='Gabriel Braico Dornas', author_email='pagueumcafepgabriel@gmail.com', de...
32.8
122
0.626307
124
1,148
5.653226
0.717742
0.064194
0
0
0
0
0
0
0
0
0
0.011338
0.231707
1,148
34
123
33.764706
0.783447
0.008711
0
0
0
0
0.46831
0.025528
0
0
0
0
0
1
0
true
0
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
1
0
0
0
0
0
0
1
dcee08fd5d3009b6f952e447fe04196d3a331859
4,732
py
Python
projects/tests/analysis-weibel.py
Krissmedt/imprunko
94171d0d47171cc4b199cd52f5f29385cbff903e
[ "MIT" ]
5
2018-10-26T07:08:16.000Z
2019-05-10T06:47:37.000Z
projects/tests/analysis-weibel.py
Krissmedt/imprunko
94171d0d47171cc4b199cd52f5f29385cbff903e
[ "MIT" ]
9
2018-11-09T08:50:48.000Z
2019-06-06T20:11:12.000Z
projects/tests/analysis-weibel.py
Krissmedt/imprunko
94171d0d47171cc4b199cd52f5f29385cbff903e
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import h5py import sys, os import matplotlib.ticker as ticker from scipy.stats import mstats from scipy.optimize import curve_fit from combine_files import combine_files, combine_tiles from configSetup import Configuration #------------------------------------------...
25.44086
89
0.595309
762
4,732
3.611549
0.230971
0.063953
0.047965
0.075945
0.34593
0.291061
0.235102
0.181686
0.144622
0.144622
0
0.035117
0.12743
4,732
185
90
25.578378
0.631388
0.263948
0
0.047619
0
0
0.109809
0.006786
0
0
0
0.005405
0
0
null
null
0
0.107143
null
null
0.095238
0
0
0
null
0
0
0
0
0
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
dcef2a08c1b46363973124c41a84f794accd9ca9
509
py
Python
app/article/migrations/0007_auto_20200419_1210.py
nabechin/article
63bbaaaa9c194cc259456c46d8c3ccd0f8ee10c1
[ "MIT" ]
null
null
null
app/article/migrations/0007_auto_20200419_1210.py
nabechin/article
63bbaaaa9c194cc259456c46d8c3ccd0f8ee10c1
[ "MIT" ]
9
2020-07-09T15:29:48.000Z
2020-07-29T13:05:30.000Z
app/article/migrations/0007_auto_20200419_1210.py
nabechin/article
63bbaaaa9c194cc259456c46d8c3ccd0f8ee10c1
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-19 12:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('article', '0006_auto_20200419_1015'), ] operations = [ migrations.AlterField( model_name='comme...
25.45
138
0.650295
59
509
5.508475
0.661017
0.073846
0.086154
0.135385
0
0
0
0
0
0
0
0.07888
0.227898
509
19
139
26.789474
0.748092
0.088409
0
0
1
0
0.142857
0.049784
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dcf08623012c6ea567c54c5386d8811d9336a8b0
885
py
Python
scrapyd/db/pgdbadapter.py
c9dong/scrapyd-heroku-postgres
90bf5c89ab3a181414e26ab4fd50b31fe937f052
[ "BSD-3-Clause" ]
null
null
null
scrapyd/db/pgdbadapter.py
c9dong/scrapyd-heroku-postgres
90bf5c89ab3a181414e26ab4fd50b31fe937f052
[ "BSD-3-Clause" ]
null
null
null
scrapyd/db/pgdbadapter.py
c9dong/scrapyd-heroku-postgres
90bf5c89ab3a181414e26ab4fd50b31fe937f052
[ "BSD-3-Clause" ]
null
null
null
import psycopg2 as pg import urlparse class PgDbAdapter: def __init__(self, db_url): url = urlparse.urlparse(db_url) # Remove query strings. path = url.path[1:] path = path.split('?', 2)[0] args = { 'dbname': path, 'user': url.username, 'password': url.password, 'host': u...
21.071429
67
0.60339
109
885
4.825688
0.495413
0.045627
0
0
0
0
0
0
0
0
0
0.006144
0.264407
885
41
68
21.585366
0.801843
0.023729
0
0.064516
0
0
0.051103
0
0
0
0
0
0
0
null
null
0.032258
0.064516
null
null
0.064516
0
0
0
null
0
0
0
0
0
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
dcf3a311abecd7face1b35e38d1a3917771364f5
339
py
Python
seebuoy/ndbc/_request.py
nickc1/seebuoy
d414c022f093f9aee4b8595d05e1e24e1f3ae169
[ "MIT" ]
5
2021-01-07T13:33:57.000Z
2021-08-30T12:28:01.000Z
seebuoy/ndbc/_request.py
nickc1/seebuoy
d414c022f093f9aee4b8595d05e1e24e1f3ae169
[ "MIT" ]
null
null
null
seebuoy/ndbc/_request.py
nickc1/seebuoy
d414c022f093f9aee4b8595d05e1e24e1f3ae169
[ "MIT" ]
2
2021-03-07T14:57:12.000Z
2021-08-30T12:16:43.000Z
import requests def make_request(url): resp = requests.get(url) if resp.status_code == 200: return resp.text elif resp.status_code == 404: print(f"Dataset not available (404 Error) for url: \n {url}") return None else: raise ValueError(f"Error code {resp.status_code} f...
24.214286
76
0.628319
49
339
4.265306
0.571429
0.143541
0.200957
0.095694
0
0
0
0
0
0
0
0.035857
0.259587
339
13
77
26.076923
0.796813
0
0
0
0
0
0.289086
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.4
0.1
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
dcf416d46d0f37fca5312df4542aec27ffd25e77
4,493
py
Python
methods and decorators/optimization.py
Zoki92/Snippets
bb92cf9dffcbe63994398ecd01bc9cbe4fb25c0b
[ "MIT" ]
null
null
null
methods and decorators/optimization.py
Zoki92/Snippets
bb92cf9dffcbe63994398ecd01bc9cbe4fb25c0b
[ "MIT" ]
24
2020-07-07T19:59:04.000Z
2022-03-08T22:47:11.000Z
methods and decorators/optimization.py
Zoki92/Snippets
bb92cf9dffcbe63994398ecd01bc9cbe4fb25c0b
[ "MIT" ]
null
null
null
""" Check if items are in list """ def has_invalid_fields(fields): for field in fields: if field not in ['foo', 'bar']: return True return False def has_invalid_fields2(fields): return bool(set(fields) - set(['foo', 'bar'])) """ set eliminates duplicates """ """ Code is valid but...
25.241573
70
0.707323
675
4,493
4.608889
0.377778
0.031823
0.014143
0.025715
0.122147
0.072003
0.072003
0.072003
0.039859
0.039859
0
0.027215
0.198531
4,493
177
71
25.384181
0.836712
0.018251
0
0.083333
0
0
0.068266
0
0
0
0
0
0
1
0.229167
false
0
0
0.020833
0.395833
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
dcf52e6d43aa843f0d43fe3cf3afcb17c0f6edbe
1,096
py
Python
python_scripts/criaCaracteristicas.py
LeoHSRodrigues/backendTCC
dd17794bda1241626a7982ad8d45fdd84df72acd
[ "MIT" ]
1
2019-11-07T15:37:29.000Z
2019-11-07T15:37:29.000Z
python_scripts/criaCaracteristicas.py
leo23fla/backendTCC
dd17794bda1241626a7982ad8d45fdd84df72acd
[ "MIT" ]
1
2021-05-10T07:29:07.000Z
2021-05-10T07:29:07.000Z
python_scripts/criaCaracteristicas.py
leo23fla/backendTCC
dd17794bda1241626a7982ad8d45fdd84df72acd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ PyFingerprint Copyright (C) 2015 Bastian Raschke <bastian.raschke@posteo.de> All rights reserved. """ import time from pyfingerprint import PyFingerprint # Inicializando o leitor try: f = PyFingerprint('COM4', 115200, 0xFFFFFFFF, 0x00000000) if (f.ve...
15.013699
75
0.673358
127
1,096
5.811024
0.653543
0.03794
0.04607
0.04878
0.143631
0.081301
0.081301
0
0
0
0
0.033879
0.218978
1,096
72
76
15.222222
0.828271
0.288321
0
0.347826
0
0
0.225131
0
0
0
0.031414
0
0
1
0
false
0.130435
0.086957
0
0.086957
0.391304
0
0
0
null
0
0
0
0
0
0
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
dcf606fb023305328c049b01203686f171cc3eb7
8,296
py
Python
lib/graph.py
bendmorris/beaver
4db3e1690145dee89d30144f3632396313218214
[ "MIT" ]
2
2018-10-06T08:35:41.000Z
2019-04-03T21:15:02.000Z
lib/graph.py
bendmorris/beaver
4db3e1690145dee89d30144f3632396313218214
[ "MIT" ]
null
null
null
lib/graph.py
bendmorris/beaver
4db3e1690145dee89d30144f3632396313218214
[ "MIT" ]
null
null
null
from types import BeaverException, Variable, Uri, Value, updated_context from statement import Statement from command import Command, PrefixCommand from parser import parse_string, parse_file, parse_stream import sys import urllib2 default = [ PrefixCommand('rdf', Uri('http://www.w3.org/1999/02/22-rdf-synt...
34.711297
115
0.472758
865
8,296
4.456647
0.180347
0.072633
0.056031
0.034241
0.381064
0.330739
0.303761
0.257069
0.257069
0.23061
0
0.00503
0.424904
8,296
238
116
34.857143
0.802976
0.022903
0
0.321839
0
0.011494
0.048551
0
0
0
0
0
0
0
null
null
0.005747
0.057471
null
null
0.011494
0
0
0
null
0
0
0
0
0
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
dcf92c1d716dc707ae6d33c42e39fb35fbc2f9aa
1,157
py
Python
SEResNet/Res_block.py
Yfyangd/TaiwanTree
6c1d929a127bb717ec98dec05b63ac5c258f4187
[ "MIT" ]
null
null
null
SEResNet/Res_block.py
Yfyangd/TaiwanTree
6c1d929a127bb717ec98dec05b63ac5c258f4187
[ "MIT" ]
null
null
null
SEResNet/Res_block.py
Yfyangd/TaiwanTree
6c1d929a127bb717ec98dec05b63ac5c258f4187
[ "MIT" ]
null
null
null
from keras.models import Model from keras.layers import * from keras.regularizers import l2 from keras import backend as K from keras.callbacks import EarlyStopping, ModelCheckpoint from keras.utils import to_categorical from keras import layers, Input, models import tensorflow as tf def resnet_block(input, f...
35.060606
91
0.650821
156
1,157
4.705128
0.339744
0.085831
0.057221
0.114441
0.377384
0.286104
0.286104
0.286104
0.286104
0.286104
0
0.018018
0.232498
1,157
33
92
35.060606
0.808559
0.020743
0
0.24
0
0
0.042727
0
0
0
0
0
0
1
0.04
false
0
0.32
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0d0062e684a0ba0d861023c00bc4650ccdd04907
463
py
Python
DialogXL/utils.py
ahsanMuh/DialogXL
3d87a52557768e2f4bb31b62d159e50cb5f1e69f
[ "Apache-2.0" ]
33
2021-05-28T09:45:03.000Z
2022-03-29T12:22:50.000Z
DialogXL/utils.py
ahsanMuh/DialogXL
3d87a52557768e2f4bb31b62d159e50cb5f1e69f
[ "Apache-2.0" ]
7
2021-02-04T03:02:05.000Z
2022-03-22T08:27:25.000Z
DialogXL/utils.py
ahsanMuh/DialogXL
3d87a52557768e2f4bb31b62d159e50cb5f1e69f
[ "Apache-2.0" ]
13
2020-12-30T10:19:07.000Z
2022-03-14T06:30:10.000Z
import numpy as np import torch def person_embed(speaker_ids, person_vec): ''' :param speaker_ids: torch.Tensor ( T, B) :param person_vec: numpy array (num_speakers, 100) :return: speaker_vec: torch.Tensor (T, B, D) ''' speaker_vec = [] for t in speaker_ids: speaker_vec.app...
28.9375
94
0.650108
70
463
4.1
0.457143
0.209059
0.083624
0.090592
0
0
0
0
0
0
0
0.022472
0.231102
463
16
95
28.9375
0.783708
0.302376
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
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
0d0af8a613ace31b796a4cdd733377afa4bad55f
15,303
py
Python
pyziabm/trader2017_r3.py
blakelucey/pyziabm
b4e62aa036233e58d7b44b654c375baf57ffc2d3
[ "BSD-3-Clause" ]
35
2017-11-27T13:10:42.000Z
2021-09-13T13:39:55.000Z
pyziabm/trader2017_r3.py
blakelucey/pyziabm
b4e62aa036233e58d7b44b654c375baf57ffc2d3
[ "BSD-3-Clause" ]
2
2017-10-10T20:28:49.000Z
2021-09-06T14:59:13.000Z
pyziabm/trader2017_r3.py
blakelucey/pyziabm
b4e62aa036233e58d7b44b654c375baf57ffc2d3
[ "BSD-3-Clause" ]
23
2017-08-28T18:29:09.000Z
2022-03-20T01:59:26.000Z
import random import numpy as np class ZITrader(object): ''' ZITrader generates quotes (dicts) based on mechanical probabilities. A general base class for specific trader types. Public attributes: quote_collector Public methods: none ''' def __init__(self, name, maxq): ''' ...
44.61516
143
0.612625
1,972
15,303
4.486308
0.108012
0.00746
0.009947
0.013564
0.738442
0.697977
0.67164
0.632757
0.613541
0.586187
0
0.014041
0.278638
15,303
342
144
44.745614
0.78739
0.245377
0
0.618812
1
0
0.079124
0
0
0
0
0
0
1
0.138614
false
0
0.009901
0.034653
0.232673
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
0d108d4f73950e9d5cc3c39ef0ebc4f0f7f8f74a
917
py
Python
osxnotification.py
ianribas/extrator-an
29d1d165e51b17492333c74f0bb4abb60e99782f
[ "MIT" ]
null
null
null
osxnotification.py
ianribas/extrator-an
29d1d165e51b17492333c74f0bb4abb60e99782f
[ "MIT" ]
null
null
null
osxnotification.py
ianribas/extrator-an
29d1d165e51b17492333c74f0bb4abb60e99782f
[ "MIT" ]
null
null
null
import Foundation import objc import AppKit import sys NSUserNotificationCenter = objc.lookUpClass('NSUserNotificationCenter') NSUserNotification = objc.lookUpClass('NSUserNotification') def notify(title, subtitle, info_text, delay=0, sound=False, userInfo={}): notification = NSUserNotification.alloc().init() ...
41.681818
117
0.812432
72
917
10.152778
0.569444
0.04104
0
0
0
0
0
0
0
0
0
0.001211
0.099237
917
21
118
43.666667
0.883777
0
0
0
0
0
0.091603
0.06325
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.263158
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0d16d8f96331d907d014265074772327ae018ecb
693
py
Python
e_ggp/evolving_gp.py
anonym-4989/e-ggp
b97da499e7f9c82c7835a0dd984321904264e66c
[ "BSD-3-Clause" ]
1
2021-02-18T18:51:27.000Z
2021-02-18T18:51:27.000Z
e_ggp/evolving_gp.py
anonym-4989/e-ggp
b97da499e7f9c82c7835a0dd984321904264e66c
[ "BSD-3-Clause" ]
null
null
null
e_ggp/evolving_gp.py
anonym-4989/e-ggp
b97da499e7f9c82c7835a0dd984321904264e66c
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2021 (c) anonymous-4989 - All Rights Reserved # from gpytorch import means from gpytorch.models import ExactGP from gpytorch.distributions import MultivariateNormal class eGGP(ExactGP): def __init__(self, train_x, train_y, likelihood, kernel): super(eGGP, self).__init__(train_x, train_y, li...
28.875
84
0.705628
103
693
4.398058
0.38835
0.092715
0.05298
0.072848
0.189845
0.092715
0
0
0
0
0
0.025455
0.206349
693
23
85
30.130435
0.798182
0.122655
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0d17c706a0c9f574d69e54b432b5703b1bb83fa0
520
py
Python
src/application.py
djFooFoo/aws-lambda-add-article
9573adfa2a0ead818ea48499d183aee2fc15f3dc
[ "Apache-2.0" ]
null
null
null
src/application.py
djFooFoo/aws-lambda-add-article
9573adfa2a0ead818ea48499d183aee2fc15f3dc
[ "Apache-2.0" ]
null
null
null
src/application.py
djFooFoo/aws-lambda-add-article
9573adfa2a0ead818ea48499d183aee2fc15f3dc
[ "Apache-2.0" ]
null
null
null
import os from images import image_service from rss import feed_reader from scraping import scraper def handler(event, context): latest_article_url = feed_reader.get_latest_article_url(os.environ['ARTICLE_RSS_FEED_URL']) article = scraper.get_article(latest_article_url) image_id = image_service.store_art...
27.368421
95
0.782692
74
520
5.040541
0.472973
0.096515
0.128686
0
0
0
0
0
0
0
0
0.008869
0.132692
520
18
96
28.888889
0.818182
0
0
0
0
0
0.080769
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
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
0d194a6e42ea2c9854f0b911ac2b36c0a3469526
281
py
Python
main.py
Gesporidgers/Logarifmer
0c14b1611bf2568a4f5bab75715086c75eff243a
[ "CC0-1.0" ]
null
null
null
main.py
Gesporidgers/Logarifmer
0c14b1611bf2568a4f5bab75715086c75eff243a
[ "CC0-1.0" ]
null
null
null
main.py
Gesporidgers/Logarifmer
0c14b1611bf2568a4f5bab75715086c75eff243a
[ "CC0-1.0" ]
null
null
null
import math print('Вас приветствует логарифмер.') print('Выберите тип (1 - Двоичный, 2 - Стандартный десятичный)') a = int(input()) b = float(input('Введите число: ')) if a == 1 : print(math.log(b, 2)) elif a == 2 : print(math.log(b)) else: print('Ошибка!')
23.416667
65
0.608541
40
281
4.275
0.625
0.105263
0.140351
0.152047
0
0
0
0
0
0
0
0.022624
0.213523
281
11
66
25.545455
0.751131
0
0
0
0
0
0.388889
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
0d32f492d955b188f489708e16256a44ff23585c
2,300
py
Python
tests/helpers/triple_store.py
data4knowledge/RdfOgm
18cf0e1ab2025e0541d34350533ac731aae0f7a1
[ "Apache-2.0" ]
null
null
null
tests/helpers/triple_store.py
data4knowledge/RdfOgm
18cf0e1ab2025e0541d34350533ac731aae0f7a1
[ "Apache-2.0" ]
null
null
null
tests/helpers/triple_store.py
data4knowledge/RdfOgm
18cf0e1ab2025e0541d34350533ac731aae0f7a1
[ "Apache-2.0" ]
null
null
null
import requests from requests.auth import HTTPBasicAuth class TripleStore: def __init__(self): self.__cfg__ = self.__store_config() def clear(self, graph='DEFAULT'): if graph != 'DEFAULT': graph = f'GRAPH <{graph}>' self.__update(f'CLEAR {graph}') def upload(self, f...
33.823529
123
0.593478
240
2,300
5.3875
0.270833
0.037896
0.027842
0.032483
0.278422
0.238206
0.238206
0.190255
0.190255
0.190255
0
0.002343
0.257826
2,300
67
124
34.328358
0.755126
0
0
0.203704
0
0
0.186522
0.072174
0
0
0
0
0
1
0.203704
false
0.037037
0.074074
0.037037
0.407407
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
0d37551de5f188b2138876e0899595a1f12cbd3f
1,395
py
Python
var/spack/repos/builtin/packages/r-mlinterfaces/package.py
whitfin/spack
aabd2be31a511d0e00c1017f7311a421659319d9
[ "ECL-2.0", "Apache-2.0", "MIT" ]
3
2019-06-27T13:26:50.000Z
2019-07-01T16:24:54.000Z
var/spack/repos/builtin/packages/r-mlinterfaces/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
75
2016-07-27T11:43:00.000Z
2020-12-08T15:56:53.000Z
var/spack/repos/builtin/packages/r-mlinterfaces/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
8
2015-10-16T13:51:49.000Z
2021-10-18T13:58:03.000Z
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RMlinterfaces(RPackage): """This package provides uniform interfaces to machine learning ...
41.029412
73
0.65233
190
1,395
4.705263
0.436842
0.161074
0.178971
0.297539
0.42953
0.344519
0
0
0
0
0
0.037625
0.142652
1,395
33
74
42.272727
0.709866
0.21362
0
0
0
0
0.384686
0.0369
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
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
0d3905c23eb526cd4fee0226a1138ba09fddd082
18,570
py
Python
openid/test/test_pape_draft5.py
pbx/python3-openid
9123d853268b919012ba9270b5bb1ec83fb89117
[ "Apache-2.0" ]
39
2015-02-21T13:51:37.000Z
2022-02-08T10:23:48.000Z
openid/test/test_pape_draft5.py
pbx/python3-openid
9123d853268b919012ba9270b5bb1ec83fb89117
[ "Apache-2.0" ]
36
2015-02-19T20:09:54.000Z
2021-05-02T13:47:16.000Z
openid/test/test_pape_draft5.py
pbx/python3-openid
9123d853268b919012ba9270b5bb1ec83fb89117
[ "Apache-2.0" ]
35
2015-02-21T13:51:37.000Z
2021-12-07T17:13:19.000Z
from openid.extensions.draft import pape5 as pape from openid.message import * from openid.server import server import warnings warnings.filterwarnings( 'ignore', module=__name__, message='"none" used as a policy URI') import unittest class PapeRequestTestCase(unittest.TestCase): def setUp(self): se...
37.289157
79
0.623802
2,035
18,570
5.443735
0.096806
0.096136
0.032858
0.048023
0.780737
0.717458
0.631612
0.56373
0.532407
0.433652
0
0.020356
0.261928
18,570
497
80
37.364185
0.787903
0.018201
0
0.590799
0
0
0.123971
0.017506
0
0
0
0
0.210654
1
0.099274
false
0
0.012107
0.007264
0.128329
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1