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
47286de1d0e694c808af4427da2a3ab8879e72be
6,890
py
Python
02-elevator/elevator.py
tecWang/software_engineering_homework
4a2eaf0f91e75418aa71cb72cfa5d5689bfc40d2
[ "Apache-2.0" ]
null
null
null
02-elevator/elevator.py
tecWang/software_engineering_homework
4a2eaf0f91e75418aa71cb72cfa5d5689bfc40d2
[ "Apache-2.0" ]
null
null
null
02-elevator/elevator.py
tecWang/software_engineering_homework
4a2eaf0f91e75418aa71cb72cfa5d5689bfc40d2
[ "Apache-2.0" ]
null
null
null
# _*_ coding:utf-8 _*_ from time import sleep from tools import wapper_localtask from threading import Thread from globaltask import GlobalTask from traceback import format_exc import random MIN_FLOOR=-5 MAX_FLOOR=100 INIT_FLOOR=1 class ElevatorBase(object): def __init__(self,min_floor=MIN_FLOOR,max_floor=MAX_F...
23.515358
100
0.538171
772
6,890
4.659326
0.185233
0.070058
0.075619
0.033361
0.268001
0.207395
0.147345
0.134001
0.088963
0.070614
0
0.008453
0.364731
6,890
292
101
23.59589
0.813342
0.032946
0
0.325714
0
0.005714
0.118613
0.005878
0
0
0
0
0.005714
0
null
null
0.017143
0.04
null
null
0.12
0
0
0
null
0
0
0
0
0
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
472fdc249ec4f23f5d646a6268eb48ba27a33a52
6,358
py
Python
gromacs/umbrella/setup_umbrella.py
cedelmaier/dragonfruit
01d5b8c2b329661c8addd0ca0d0c6fb099212608
[ "MIT" ]
null
null
null
gromacs/umbrella/setup_umbrella.py
cedelmaier/dragonfruit
01d5b8c2b329661c8addd0ca0d0c6fb099212608
[ "MIT" ]
null
null
null
gromacs/umbrella/setup_umbrella.py
cedelmaier/dragonfruit
01d5b8c2b329661c8addd0ca0d0c6fb099212608
[ "MIT" ]
1
2022-02-16T18:33:28.000Z
2022-02-16T18:33:28.000Z
#!/usr/bin/env python3 __description__ = \ """ Take a file containing the distance between the COM of the lipid bilayer and the protein and generate the proper shell scripts to process this for umbrella sampling """ import argparse import os import stat import sys import numpy as np def parse_args(): parser = ar...
31.79
137
0.61749
862
6,358
4.438515
0.342227
0.032933
0.02666
0.021955
0.126503
0.099843
0.074752
0.04966
0.018296
0.018296
0
0.016735
0.266908
6,358
199
138
31.949749
0.804119
0.134162
0
0.039063
1
0.039063
0.263847
0.03566
0
0
0
0
0
1
0.054688
false
0
0.039063
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4732289d8eb7c3dc965a5c063fbefc6773c74b2b
9,050
py
Python
warp.py
desty/warp
a54a0d791368448372ec17fdb7a5c771409e7f3b
[ "MIT" ]
1
2016-09-20T19:35:43.000Z
2016-09-20T19:35:43.000Z
warp.py
desty/warp
a54a0d791368448372ec17fdb7a5c771409e7f3b
[ "MIT" ]
null
null
null
warp.py
desty/warp
a54a0d791368448372ec17fdb7a5c771409e7f3b
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- VERSION = "v0.1 (poc code)" """ Copyright (c) 2013 devunt 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 Software without restriction, including without limitat...
35.912698
138
0.519448
1,054
9,050
4.378558
0.302657
0.007801
0.019718
0.0052
0.097291
0.076923
0.047887
0.029252
0.029252
0.029252
0
0.019288
0.369834
9,050
251
139
36.055777
0.789935
0.022983
0
0.223404
0
0
0.111575
0.005742
0
0
0
0
0
0
null
null
0.015957
0.047872
null
null
0.005319
0
0
0
null
0
0
0
0
0
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
5b2e5d299b8696c3b38fd918fae8a7268e781355
2,413
py
Python
examples_py/20_mesh.py
fixedchaos/delfem2
c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade
[ "MIT" ]
8
2020-11-23T01:51:20.000Z
2022-01-28T04:28:18.000Z
examples_py/20_mesh.py
fixedchaos/delfem2
c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade
[ "MIT" ]
null
null
null
examples_py/20_mesh.py
fixedchaos/delfem2
c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade
[ "MIT" ]
2
2021-07-13T06:30:37.000Z
2021-10-19T00:44:49.000Z
#################################################################### # Copyright (c) 2019 Nobuyuki Umetani # # # # This source code is licensed under the MIT license found in the # # LICENSE file in the root directory of this...
25.4
68
0.593038
374
2,413
3.692513
0.248663
0.082549
0.108617
0.206372
0.531499
0.444605
0.444605
0.276611
0.250543
0.250543
0
0.064257
0.174472
2,413
95
69
25.4
0.629016
0.104849
0
0.369231
0
0
0.065803
0.040379
0
0
0
0
0
1
0.076923
false
0
0.046154
0
0.123077
0.030769
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
5b34dec7cb30034c8038b18ff3ae833305121ef1
583
py
Python
server.py
marswon/bcloud
3bd2187c32f4ca89cd8570700f67fa9150780cf7
[ "Apache-2.0" ]
17
2016-04-06T05:44:51.000Z
2022-03-27T14:43:23.000Z
server.py
xin1195/bcloud
3bd2187c32f4ca89cd8570700f67fa9150780cf7
[ "Apache-2.0" ]
null
null
null
server.py
xin1195/bcloud
3bd2187c32f4ca89cd8570700f67fa9150780cf7
[ "Apache-2.0" ]
9
2016-06-12T07:12:44.000Z
2022-03-27T14:43:25.000Z
#!/usr/bin/python # _*_coding:utf-8_*_ import tornado.ioloop import tornado.options import tornado.httpserver from tornado.options import define, options from application import application define("port", default=8008, help="run on the given port", type=int) def main(): # debug|info|warning|error|none 日志级别 to...
26.5
68
0.749571
75
583
5.613333
0.573333
0.133017
0.095012
0
0
0
0
0
0
0
0
0.009881
0.132075
583
21
69
27.761905
0.822134
0.120069
0
0
0
0
0.072549
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5b4226f4b215adaec048764a4e37719fe6534eab
3,290
py
Python
test/unit/test_get_lfs.py
Nexenta/lfs
1dcdb260265391521c728e500c7589e9dfa997af
[ "Apache-2.0" ]
null
null
null
test/unit/test_get_lfs.py
Nexenta/lfs
1dcdb260265391521c728e500c7589e9dfa997af
[ "Apache-2.0" ]
null
null
null
test/unit/test_get_lfs.py
Nexenta/lfs
1dcdb260265391521c728e500c7589e9dfa997af
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2011-2012 Nexenta Systems Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
36.153846
77
0.637082
440
3,290
4.643182
0.363636
0.035242
0.026432
0.031816
0.28047
0.256486
0.234459
0.154675
0.154675
0.120411
0
0.020214
0.233131
3,290
90
78
36.555556
0.789536
0.171733
0
0.125
0
0
0.147612
0.010572
0
0
0
0
0.089286
0
null
null
0.017857
0.25
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
5b4a1996431eb60c4f1d0e5bb1c659f365687fa6
1,681
py
Python
src/outgoing/__init__.py
jwodder/outgoing
133d38c980fd6fe59e4edf0bb0f89392ecde68de
[ "MIT" ]
4
2021-03-05T00:53:03.000Z
2022-01-04T20:59:19.000Z
src/outgoing/__init__.py
jwodder/outgoing
133d38c980fd6fe59e4edf0bb0f89392ecde68de
[ "MIT" ]
null
null
null
src/outgoing/__init__.py
jwodder/outgoing
133d38c980fd6fe59e4edf0bb0f89392ecde68de
[ "MIT" ]
1
2021-09-04T13:25:51.000Z
2021-09-04T13:25:51.000Z
""" Common interface for multiple e-mail methods ``outgoing`` provides a common interface to multiple different e-mail sending methods (SMTP, sendmail, mbox, etc.). Just construct a sender from a configuration file or object, pass it an ``EmailMessage`` instance, and let the magical internet daemons take care of the ...
23.347222
79
0.708507
176
1,681
6.511364
0.568182
0.026178
0.024433
0.036649
0.169284
0.118674
0.118674
0.118674
0.118674
0.118674
0
0.002206
0.190958
1,681
71
80
23.676056
0.840441
0.320642
0
0
0
0
0.328924
0.07672
0
0
0
0
0
1
0
false
0.148148
0.074074
0
0.074074
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
5b4b2c5b5cc3998c535326aa0e16b54adf586d9e
675
py
Python
runclient.py
eskildsf/kismetclient
88bd74b6c3991f4c35ac2af96357ea00477e73e1
[ "MIT" ]
1
2015-10-03T16:42:40.000Z
2015-10-03T16:42:40.000Z
runclient.py
eskildsf/kismetclient
88bd74b6c3991f4c35ac2af96357ea00477e73e1
[ "MIT" ]
null
null
null
runclient.py
eskildsf/kismetclient
88bd74b6c3991f4c35ac2af96357ea00477e73e1
[ "MIT" ]
null
null
null
from kismetclient import Client as KismetClient from kismetclient import handlers import logging log = logging.getLogger('kismetclient') log.addHandler(logging.StreamHandler()) log.setLevel(logging.DEBUG) # Connect to Kismet server address = ('127.0.0.1', 2501) k = KismetClient(address) def handle_ssid(client, ssid,...
25
56
0.740741
89
675
5.561798
0.561798
0.064646
0.088889
0
0
0
0
0
0
0
0
0.017301
0.143704
675
26
57
25.961538
0.8391
0.143704
0
0
0
0
0.12892
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5b4c1634b71fcd1c02bb3fcb12b6dd5d824a8baa
385
py
Python
api/user/admin.py
luoyangC/island_django
e40a16f1465edc1376b00aa8f953b285f9802731
[ "Apache-2.0" ]
null
null
null
api/user/admin.py
luoyangC/island_django
e40a16f1465edc1376b00aa8f953b285f9802731
[ "Apache-2.0" ]
6
2020-05-05T07:13:16.000Z
2021-09-22T18:58:16.000Z
api/user/admin.py
luoyangC/island_django
e40a16f1465edc1376b00aa8f953b285f9802731
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin # Register your models here. from user.models import UserProfile class UserAdmin(admin.ModelAdmin): fields = ['username', 'mobile', 'email', 'avatar', 'is_staff'] search_fields = ['id', 'username'] list_display = ['id', 'username', 'mobile', 'email', 'is_staff', 'create_...
24.0625
94
0.696104
46
385
5.695652
0.630435
0.10687
0.145038
0
0
0
0
0
0
0
0
0
0.145455
385
15
95
25.666667
0.796353
0.067532
0
0
0
0
0.252101
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
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
5b4cea05d4bd068782c02a2f2659550c72c628e6
436
py
Python
examples/pkgs/sample/setup.py
nickchen-mitac/fork
64dab56012da47465b4923f30f26925476c87afc
[ "Apache-2.0" ]
null
null
null
examples/pkgs/sample/setup.py
nickchen-mitac/fork
64dab56012da47465b4923f30f26925476c87afc
[ "Apache-2.0" ]
null
null
null
examples/pkgs/sample/setup.py
nickchen-mitac/fork
64dab56012da47465b4923f30f26925476c87afc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ This is a setup.py script for packaging plugin/extension. Usage: python setup.py bdist_egg """ from setuptools import setup, find_packages setup( name="avax.sample", version="0.1.0", description="A sample extension", zip_safe=True, packages=find_packages(), ...
16.769231
57
0.616972
52
436
5.076923
0.711538
0.05303
0
0
0
0
0
0
0
0
0
0.012158
0.245413
436
25
58
17.44
0.790274
0.270642
0
0
0
0
0.280645
0.1
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5b4d4abc8c405c2179d8cba6bd0cbdeee1ec8924
1,079
py
Python
tests/test_visitor.py
d1618033/flake8-strings
2ad34a41eab65e2264da7aa91c54dbca701af1c5
[ "MIT" ]
null
null
null
tests/test_visitor.py
d1618033/flake8-strings
2ad34a41eab65e2264da7aa91c54dbca701af1c5
[ "MIT" ]
1
2021-02-19T13:50:29.000Z
2021-02-19T13:50:29.000Z
tests/test_visitor.py
d1618033/flake8-strings
2ad34a41eab65e2264da7aa91c54dbca701af1c5
[ "MIT" ]
null
null
null
import contextlib from textwrap import dedent from flake8_plugin_utils import utils from flake8_strings.errors import UnnecessaryBackslashEscapingError from flake8_strings.visitor import StringsVisitor @contextlib.contextmanager def setup_visitor_class(visitor, code): visitor.lines = code.splitlines() yield...
26.975
73
0.739574
137
1,079
5.620438
0.313869
0.1
0.083117
0.093506
0.425974
0.262338
0.111688
0.111688
0
0
0
0.003247
0.143652
1,079
39
74
27.666667
0.830087
0
0
0.16
0
0
0.074143
0.02595
0
0
0
0
0.28
1
0.24
false
0
0.2
0
0.44
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
5b4dde2a003e9678b6b0e10623ca8eb7bc440147
533
py
Python
danceschool/vouchers/migrations/0011_auto_20210127_2052.py
django-danceschool/django-danceschool
65ae09ffdcb0821e82df0e1f634fe13c0384a525
[ "BSD-3-Clause" ]
32
2017-09-12T04:25:25.000Z
2022-03-21T10:48:07.000Z
danceschool/vouchers/migrations/0011_auto_20210127_2052.py
django-danceschool/django-danceschool
65ae09ffdcb0821e82df0e1f634fe13c0384a525
[ "BSD-3-Clause" ]
97
2017-09-01T02:43:08.000Z
2022-01-03T18:20:34.000Z
danceschool/vouchers/migrations/0011_auto_20210127_2052.py
django-danceschool/django-danceschool
65ae09ffdcb0821e82df0e1f634fe13c0384a525
[ "BSD-3-Clause" ]
19
2017-09-26T13:34:46.000Z
2022-03-21T10:48:10.000Z
# Generated by Django 2.2.17 on 2021-01-28 01:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vouchers', '0010_auto_20200210_2346'), ] operations = [ migrations.AddField( model_name='voucheruse', name='applied...
22.208333
55
0.56848
49
533
6.081633
0.77551
0
0
0
0
0
0
0
0
0
0
0.089136
0.326454
533
23
56
23.173913
0.740947
0.086304
0
0.176471
1
0
0.164948
0.047423
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5b4ea4b88510901b3f2f7be23995eb6966c5ffc4
963
py
Python
numbers_in_text/core.py
BrendaLPhys/ProgrammingForDS
9a77684a4de9ca1a82ab3d3f0b3abab367548d39
[ "Apache-2.0" ]
null
null
null
numbers_in_text/core.py
BrendaLPhys/ProgrammingForDS
9a77684a4de9ca1a82ab3d3f0b3abab367548d39
[ "Apache-2.0" ]
1
2021-09-28T05:36:38.000Z
2021-09-28T05:36:38.000Z
numbers_in_text/core.py
BrendaLPhys/NumbersInText
9a77684a4de9ca1a82ab3d3f0b3abab367548d39
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_core.ipynb (unless otherwise specified). __all__ = ['number_sum', 'lettermax', 'numwords'] # Cell def number_sum(text): import re for line in text: y = re.findall("[0-9]+", text) sums = 0 for list in y: number = int(list) sums = s...
22.395349
95
0.579439
131
963
4.206107
0.435115
0.038113
0.032668
0.047187
0
0
0
0
0
0
0
0.013433
0.304258
963
43
96
22.395349
0.808955
0.103842
0
0.071429
1
0
0.147846
0
0
0
0
0
0
1
0.107143
false
0
0.035714
0
0.142857
0.107143
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
5b4f64237573bbe13cb7b3158b33a708c1516960
572
py
Python
buedafab/deploy/cron.py
meassinal/ops
d13a8c1a129577c9c2e0acc8bd5e6a48f735a6f5
[ "MIT" ]
20
2015-01-01T16:37:33.000Z
2018-07-01T10:59:34.000Z
buedafab/deploy/cron.py
meassinal/ops
d13a8c1a129577c9c2e0acc8bd5e6a48f735a6f5
[ "MIT" ]
null
null
null
buedafab/deploy/cron.py
meassinal/ops
d13a8c1a129577c9c2e0acc8bd5e6a48f735a6f5
[ "MIT" ]
6
2015-02-28T03:31:32.000Z
2021-04-15T09:35:53.000Z
"""Utilities to manage crontabs on a remote server. These aren't used at Bueda anymore, since migrating to celery's scheduled tasks. """ from fabric.operations import sudo import os from buedafab.operations import exists def conditional_install_crontab(base_path, crontab, user): """If the project specifies a cro...
30.105263
80
0.713287
82
572
4.890244
0.560976
0.082294
0.074813
0
0
0
0
0
0
0
0
0
0.204545
572
18
81
31.777778
0.881319
0.388112
0
0
0
0
0.04878
0
0
0
0
0
0
1
0.125
false
0
0.375
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
5b525ba2771f413225d43094591c187c53e3bb4b
9,827
py
Python
crossing/eval.py
Eroica/crossing
59169df06855ee462a617ea0562c8c88e97e78da
[ "Unlicense" ]
4
2015-02-05T21:20:28.000Z
2022-01-10T19:22:33.000Z
crossing/eval.py
Eroica/crossing
59169df06855ee462a617ea0562c8c88e97e78da
[ "Unlicense" ]
null
null
null
crossing/eval.py
Eroica/crossing
59169df06855ee462a617ea0562c8c88e97e78da
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # # ++++++++++++++++++++++++++++++++++++++++++++++ # Authors: # # Sebastian Spaar <spaar@stud.uni-heidelberg.de> # Dennis Ulmer <d.ulmer@stud.uni-heidelberg.de> # # Project: # CrOssinG (CompaRing Of AngliciSmS IN German) # # ++++++++++++++++++++++++++++++++++++++++++++++ """ e...
28.484058
80
0.659204
1,363
9,827
4.674982
0.214967
0.022599
0.004708
0.007533
0.225361
0.180791
0.173258
0.156623
0.113936
0.095731
0
0.021814
0.169635
9,827
345
81
28.484058
0.759069
0.089753
0
0.202479
0
0
0.149951
0.021282
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.033058
0
0
0
null
0
0
0
0
0
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
5b560aa5ae28e3caf573a6b5e02e2ae13bfe1407
715
py
Python
AlgoExpert/linked_lists/sumOfLinkedLists.py
Muzque/Leetcode
d06365792c9ef48e0a290da00ba5e71f212554d5
[ "MIT" ]
1
2021-05-11T09:52:38.000Z
2021-05-11T09:52:38.000Z
AlgoExpert/linked_lists/sumOfLinkedLists.py
Muzque/Leetcode
d06365792c9ef48e0a290da00ba5e71f212554d5
[ "MIT" ]
null
null
null
AlgoExpert/linked_lists/sumOfLinkedLists.py
Muzque/Leetcode
d06365792c9ef48e0a290da00ba5e71f212554d5
[ "MIT" ]
1
2021-05-05T04:13:17.000Z
2021-05-05T04:13:17.000Z
""" """ # This is an input class. Do not edit. class LinkedList: def __init__(self, value): self.value = value self.next = None def sumOfLinkedLists(linkedListOne, linkedListTwo): tmp = 0 node1 = linkedListOne node2 = linkedListTwo while node1 is not None: if node2 is no...
23.064516
51
0.558042
88
715
4.488636
0.329545
0.050633
0.091139
0.091139
0.141772
0.101266
0
0
0
0
0
0.050661
0.365035
715
30
52
23.833333
0.819383
0.05035
0
0.090909
1
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
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
5b5db8f3eef8d09c56fc3723f75a31a57643f000
19,651
py
Python
raven/utils/url_parse.py
collective/mr.poe
ac21f8ba4dfb612aff1420cdb96313ad3b20892c
[ "BSD-3-Clause" ]
1
2017-10-29T07:45:57.000Z
2017-10-29T07:45:57.000Z
raven/utils/url_parse.py
collective/mr.poe
ac21f8ba4dfb612aff1420cdb96313ad3b20892c
[ "BSD-3-Clause" ]
null
null
null
raven/utils/url_parse.py
collective/mr.poe
ac21f8ba4dfb612aff1420cdb96313ad3b20892c
[ "BSD-3-Clause" ]
null
null
null
"""Parse (absolute and relative) URLs. urlparse module is based upon the following RFC specifications. RFC 3986 (STD66): "Uniform Resource Identifiers" by T. Berners-Lee, R. Fielding and L. Masinter, January 2005. RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter and L.Masinter, Decemb...
37.71785
126
0.583278
2,481
19,651
4.537283
0.217654
0.020432
0.014213
0.01368
0.301146
0.265701
0.235143
0.235143
0.194101
0.175891
0
0.014609
0.296372
19,651
520
127
37.790385
0.799523
0.07333
0
0.225519
0
0
0.178247
0.016879
0
0
0
0
0
0
null
null
0.005935
0.008902
null
null
0.002967
0
0
0
null
0
0
0
0
0
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
5b67e6d3485da66c47f032f2ba8c79db3487b3c3
6,348
py
Python
options.py
yining043/VRP-DACT
89594758b9ac9cf7a8a3c9b56ac8a39990880514
[ "MIT" ]
13
2021-10-04T07:28:56.000Z
2022-03-07T08:05:11.000Z
options.py
yining043/VRP-DACT
89594758b9ac9cf7a8a3c9b56ac8a39990880514
[ "MIT" ]
null
null
null
options.py
yining043/VRP-DACT
89594758b9ac9cf7a8a3c9b56ac8a39990880514
[ "MIT" ]
5
2021-10-12T19:38:19.000Z
2022-03-30T02:20:20.000Z
import os import time import argparse import torch def get_options(args=None): parser = argparse.ArgumentParser(description="Dual-Aspect Collaborative Transformer") # Overall settings parser.add_argument('--problem', default='tsp', choices = ['vrp', 'tsp'], help="the targeted problem to solve, defau...
69.758242
157
0.716604
912
6,348
4.835526
0.285088
0.1
0.188889
0.038776
0.183673
0.034467
0.034467
0.034467
0.019048
0.019048
0
0.017665
0.135003
6,348
90
158
70.533333
0.785467
0.032924
0
0
0
0
0.405546
0.011582
0
0
0
0
0.014286
1
0.014286
false
0
0.057143
0
0.085714
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
5b72ce2c08a4e1b7440cdf8b7d4483cab1ef7c9c
22,179
py
Python
pypeit/wavetilts.py
seib2/PypeIt
18ce33aa8aa12b8ee51303ad87a723ec81e0e6f8
[ "BSD-3-Clause" ]
1
2018-12-18T21:56:23.000Z
2018-12-18T21:56:23.000Z
pypeit/wavetilts.py
feigewang/PypeIt
4c68b38cb907345a480d7afee58200a05ecd4556
[ "BSD-3-Clause" ]
null
null
null
pypeit/wavetilts.py
feigewang/PypeIt
4c68b38cb907345a480d7afee58200a05ecd4556
[ "BSD-3-Clause" ]
null
null
null
""" Module for guiding Arc/Sky line tracing .. _numpy.ndarray: https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.html """ import os import copy import inspect import numpy as np from astropy.io import fits from pypeit import msgs from pypeit import masterframe from pypeit import ginga from pypeit....
40.920664
127
0.572208
2,627
22,179
4.699277
0.179673
0.010207
0.010207
0.00648
0.197003
0.152774
0.118834
0.099635
0.06691
0.06691
0
0.004669
0.333694
22,179
541
128
40.996303
0.830694
0.380675
0
0.063415
1
0
0.067925
0
0
0
0
0.003697
0
1
0.058537
false
0.004878
0.058537
0
0.185366
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
5b7dd28075a6f83435743856337fea8c4672e856
3,940
py
Python
tests/colors/test_morphology.py
lukasbindreiter/white-brush
67e5dcda8043f2d7bba440bcb9a84c2fa85ec9ba
[ "MIT" ]
3
2018-04-27T23:04:04.000Z
2019-11-01T02:54:45.000Z
tests/colors/test_morphology.py
lukasbindreiter/white-brush
67e5dcda8043f2d7bba440bcb9a84c2fa85ec9ba
[ "MIT" ]
33
2018-04-29T15:12:29.000Z
2022-01-19T21:44:19.000Z
tests/colors/test_morphology.py
lukasbindreiter/white-brush
67e5dcda8043f2d7bba440bcb9a84c2fa85ec9ba
[ "MIT" ]
2
2018-06-16T17:09:25.000Z
2020-01-14T01:23:34.000Z
import numpy as np from numpy.testing import assert_allclose from white_brush.colors.morphology import erode, dilate, smooth class TestMorphology: def test_erosion(self): input = """ #------ -#----- --#---- ---#--- ----#-- ...
29.185185
79
0.367259
277
3,940
4.884477
0.303249
0.070953
0.130081
0.154472
0.575758
0.558019
0.558019
0.558019
0.558019
0.558019
0
0.002738
0.443909
3,940
134
80
29.402985
0.614788
0.056091
0
0.758929
0
0
0.466685
0
0
0
0
0
0.0625
1
0.044643
false
0
0.026786
0.008929
0.098214
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5b85aae75b5580c3803c8199ef8a9b26ccb13fb9
2,443
py
Python
Lesson4/subway_data_visualization1.py
rmhyman/DataScience
c839c97c76f104ab298563a5c8b48f6d90be5f60
[ "MIT" ]
1
2015-09-17T18:49:09.000Z
2015-09-17T18:49:09.000Z
Lesson4/subway_data_visualization1.py
rmhyman/DataScience
c839c97c76f104ab298563a5c8b48f6d90be5f60
[ "MIT" ]
null
null
null
Lesson4/subway_data_visualization1.py
rmhyman/DataScience
c839c97c76f104ab298563a5c8b48f6d90be5f60
[ "MIT" ]
null
null
null
from pandas import * from ggplot import * def unit_to_int(unit): unit = int(unit[1:4]) return unit def plot_weather_data(turnstile_weather): ''' You are passed in a dataframe called turnstile_weather. Use turnstile_weather along with ggplot to make a data visualization focused on the...
46.980769
148
0.697503
340
2,443
4.897059
0.432353
0.182583
0.084084
0.06006
0.17958
0.056456
0.056456
0.056456
0
0
0
0.007796
0.212444
2,443
51
149
47.901961
0.857588
0.67458
0
0
0
0
0.150215
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5b911c6c620d411254456c3b5a24057adf92f3ed
156
py
Python
learning/bs/bs6.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
2
2019-06-23T07:17:30.000Z
2019-07-06T15:15:42.000Z
learning/bs/bs6.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
null
null
null
learning/bs/bs6.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
1
2019-06-23T07:17:43.000Z
2019-06-23T07:17:43.000Z
# historgram def histogram(s): d = dict() for c in s: a = d.get(c, 0) d[c] = 1+a return sorted(d) h = histogram("brantosaurus") print(h)
14.181818
30
0.557692
27
156
3.222222
0.666667
0
0
0
0
0
0
0
0
0
0
0.017699
0.275641
156
10
31
15.6
0.752212
0.064103
0
0
0
0
0.089552
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
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
5b91a85f7b3593912d5ee32a3b78116f98a2930f
6,744
py
Python
test/test_db.py
JuampaMolina/ollivanders_shop
23b93ff38237a47ddcc1e195ef44aaa15e6b20f0
[ "MIT" ]
null
null
null
test/test_db.py
JuampaMolina/ollivanders_shop
23b93ff38237a47ddcc1e195ef44aaa15e6b20f0
[ "MIT" ]
null
null
null
test/test_db.py
JuampaMolina/ollivanders_shop
23b93ff38237a47ddcc1e195ef44aaa15e6b20f0
[ "MIT" ]
1
2021-04-12T09:29:25.000Z
2021-04-12T09:29:25.000Z
import json from repository.db_engine import default_inventory, default_users import pytest expectedInventoryDay0 = default_inventory expectedInventoryDay1 = [ { "name": "Aged Brie", "sell_in": 1, "quality": 1, }, { "name": "+5 Dexterity Vest", "sell_in": 9, ...
28.336134
98
0.595344
794
6,744
4.926952
0.153652
0.042945
0.084356
0.033998
0.587423
0.465746
0.382924
0.361196
0.326431
0.305982
0
0.023032
0.259638
6,744
237
99
28.455696
0.760465
0.023725
0
0.272727
0
0.025253
0.308289
0.086236
0
0
0
0
0.111111
1
0.055556
false
0.075758
0.015152
0
0.070707
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
5b9209d349b5a946015f2a4da4b5dda68ef7457a
42,365
py
Python
libs/models.py
mehrdad-shokri/lightbulb-framework
f103a1740548209dbc238d05a91c62bdd514bea7
[ "MIT" ]
497
2016-11-13T20:05:31.000Z
2022-03-08T06:20:15.000Z
libs/models.py
Kin9A/lightbulb-framework
9e8d6f37f28c784963dba3d726a0c8022a605baf
[ "MIT" ]
10
2016-11-10T10:44:47.000Z
2021-08-30T07:24:15.000Z
libs/models.py
Kin9A/lightbulb-framework
9e8d6f37f28c784963dba3d726a0c8022a605baf
[ "MIT" ]
79
2016-11-06T14:14:27.000Z
2022-03-23T14:04:58.000Z
""" This file contains all the in-memory Database implementation of the Burp Extension. The contained models are used for maintaining the Burp Proxy requests and responses, the lightbulb's filters (regexes, grammars), the lightbulb's trees, the user's campaigns, and other info. The models also include all the necessary...
31.311899
103
0.560935
4,290
42,365
5.47972
0.093939
0.023609
0.021695
0.026544
0.659903
0.57389
0.54675
0.509486
0.501744
0.493577
0
0.010118
0.365443
42,365
1,352
104
31.335059
0.864338
0.006515
0
0.50625
0
0
0.019299
0
0
0
0
0
0
0
null
null
0.001563
0.017188
null
null
0.0125
0
0
0
null
0
0
0
0
0
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
5b953f89c342989341fcfe2b60e568ac0f38b0db
600
py
Python
mnist/convmodeltest.py
Bharat123rox/kaggle-submissions
117b4623d64de6e3880e7a694f45f97067079bf1
[ "MIT" ]
null
null
null
mnist/convmodeltest.py
Bharat123rox/kaggle-submissions
117b4623d64de6e3880e7a694f45f97067079bf1
[ "MIT" ]
null
null
null
mnist/convmodeltest.py
Bharat123rox/kaggle-submissions
117b4623d64de6e3880e7a694f45f97067079bf1
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import os import keras from sklearn.model_selection import train_test_split from keras.models import load_model, Sequential model = Sequential() model_path = os.path.join(os.getcwd(),'convmodel.h5') model = load_model(model_path) test_data = pd.read_csv('test.csv').astype('float32...
31.578947
57
0.776667
101
600
4.435644
0.465347
0.142857
0.089286
0.071429
0
0
0
0
0
0
0
0.025641
0.09
600
19
58
31.578947
0.794872
0
0
0
0
0
0.071547
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5b9d77d6834bb4fd20d4036515b578de67cadccb
503
py
Python
truth_table_gen.py
apri-me/math_logic_toolkit
00d84b5be476e45ffa935824031e01b5d458912c
[ "MIT" ]
null
null
null
truth_table_gen.py
apri-me/math_logic_toolkit
00d84b5be476e45ffa935824031e01b5d458912c
[ "MIT" ]
null
null
null
truth_table_gen.py
apri-me/math_logic_toolkit
00d84b5be476e45ffa935824031e01b5d458912c
[ "MIT" ]
null
null
null
"""Using library PrettyTable, this function generates a normal printable truth table for a given truth function. """ from dcnf_gen import generate_states_and_output from prettytable import PrettyTable as PT # NOTE: Generates a printable table for a given truth function. def gen_table(truth_func, vars): n = len(v...
33.533333
112
0.72167
82
503
4.268293
0.5
0.057143
0.051429
0.08
0.154286
0.154286
0
0
0
0
0
0
0.192843
503
15
113
33.533333
0.862069
0.341948
0
0
1
0
0.024615
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
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
5b9e9e7c3ab1cf6882d2d2559461158786749ed5
2,909
py
Python
src/betamax/serializers/base.py
santosh653/betamax
73e601d34d692255d826b2fceec6d9bc8b4c0420
[ "Apache-2.0" ]
226
2017-10-19T20:46:53.000Z
2022-03-11T08:11:10.000Z
src/betamax/serializers/base.py
santosh653/betamax
73e601d34d692255d826b2fceec6d9bc8b4c0420
[ "Apache-2.0" ]
93
2015-01-01T15:47:33.000Z
2017-10-03T14:15:50.000Z
src/betamax/serializers/base.py
santosh653/betamax
73e601d34d692255d826b2fceec6d9bc8b4c0420
[ "Apache-2.0" ]
44
2015-03-25T19:42:13.000Z
2017-09-08T17:56:16.000Z
# -*- coding: utf-8 -*- NOT_IMPLEMENTED_ERROR_MSG = ('This method must be implemented by classes' ' inheriting from BaseSerializer.') class BaseSerializer(object): """ Base Serializer class that provides an interface for other serializers. Usage: .. code-block:: python ...
31.619565
79
0.612238
316
2,909
5.468354
0.424051
0.041667
0.043981
0.050926
0.280671
0.233796
0.207176
0.150463
0.150463
0.150463
0
0.000509
0.32451
2,909
91
80
31.967033
0.87888
0.607769
0
0.157895
0
0
0.158824
0
0
0
0
0
0
1
0.263158
false
0
0
0
0.473684
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
5ba5b62008eef69af0259780f4445fe20ed1a7e3
946
py
Python
app/main/forms.py
Johnonyango/Pitch
49e6bf783dcce464dcf407940b3aa4a5b143b0f4
[ "Unlicense" ]
null
null
null
app/main/forms.py
Johnonyango/Pitch
49e6bf783dcce464dcf407940b3aa4a5b143b0f4
[ "Unlicense" ]
null
null
null
app/main/forms.py
Johnonyango/Pitch
49e6bf783dcce464dcf407940b3aa4a5b143b0f4
[ "Unlicense" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, TextAreaField, SubmitField, SelectField from wtforms.validators import Required class PitchForm(FlaskForm): pitch = TextAreaField('Create a pitch', validators=[Required()]) # my_category = StringField('Category', validators=[Required()]) my_c...
55.647059
308
0.733615
95
946
7.273684
0.442105
0.130246
0.104197
0.151954
0
0
0
0
0
0
0
0
0.102537
946
17
309
55.647059
0.813899
0.065539
0
0
0
0
0.289921
0
0
0
0
0
0
1
0
false
0
0.230769
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5ba71c65d00505c22aea42ab604991498fd39095
6,844
py
Python
test/test_cp4d_authenticator.py
IBM/python-sdk-core
8bbeca9480a022c9f2f752a2a3ca4e22779aebe9
[ "Apache-2.0" ]
14
2019-03-13T19:13:48.000Z
2021-11-16T11:05:30.000Z
test/test_cp4d_authenticator.py
IBM/python-sdk-core
8bbeca9480a022c9f2f752a2a3ca4e22779aebe9
[ "Apache-2.0" ]
140
2019-03-14T19:49:40.000Z
2022-03-21T11:14:03.000Z
test/test_cp4d_authenticator.py
IBM/python-sdk-core
8bbeca9480a022c9f2f752a2a3ca4e22779aebe9
[ "Apache-2.0" ]
22
2019-05-08T14:50:08.000Z
2022-01-13T10:32:06.000Z
# pylint: disable=missing-docstring import json import jwt import pytest import responses from ibm_cloud_sdk_core.authenticators import CloudPakForDataAuthenticator, Authenticator def test_cp4d_authenticator(): authenticator = CloudPakForDataAuthenticator( 'my_username', 'my_password', 'http://my_url') ...
39.790698
113
0.682642
765
6,844
5.955556
0.196078
0.032924
0.049166
0.052239
0.649693
0.595478
0.571335
0.513389
0.470588
0.43525
0
0.015464
0.206312
6,844
171
114
40.023392
0.82327
0.054062
0
0.390625
0
0.007813
0.230555
0.015463
0
0
0
0
0.242188
1
0.039063
false
0.148438
0.039063
0
0.078125
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
5ba82f83beaf47623cbcf3b6d32bd0750a9b9ce3
1,639
py
Python
mach_cad/tests/dimensions/test_dim_linear_division.py
Severson-Group/MachEval
dbb7999188133f8744636da53cab475ae538ce80
[ "BSD-3-Clause" ]
6
2021-11-02T20:12:32.000Z
2021-11-13T10:50:35.000Z
mach_cad/tests/dimensions/test_dim_linear_division.py
Severson-Group/MachEval
dbb7999188133f8744636da53cab475ae538ce80
[ "BSD-3-Clause" ]
18
2021-11-29T20:14:55.000Z
2022-03-02T07:17:37.000Z
mach_cad/tests/dimensions/test_dim_linear_division.py
Severson-Group/MachEval
dbb7999188133f8744636da53cab475ae538ce80
[ "BSD-3-Clause" ]
1
2022-01-29T00:52:38.000Z
2022-01-29T00:52:38.000Z
import unittest import model_obj from model_obj.dimensions import DimInch, DimMillimeter oneInch = DimInch(1) twoInches = DimInch(2) oneMillimeter = DimMillimeter(1) twoMillimeters = DimMillimeter(2) class TestDivision(unittest.TestCase): def test_division_scalar(self): val = oneInch / 2 expect...
28.258621
55
0.650397
178
1,639
5.893258
0.241573
0.042898
0.160153
0.213537
0.505243
0.505243
0.505243
0.505243
0.505243
0.505243
0
0.025911
0.246492
1,639
57
56
28.754386
0.823482
0
0
0.325581
0
0
0.004881
0
0
0
0
0
0.348837
1
0.069767
false
0
0.069767
0
0.162791
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
5bad3db0f7f44807fd92228399f7e4c048230619
1,068
py
Python
kubism/client/state.py
regananalytics/kubism.dev
6eb4f621708298710dfd23c206483ae44b82db11
[ "MIT" ]
null
null
null
kubism/client/state.py
regananalytics/kubism.dev
6eb4f621708298710dfd23c206483ae44b82db11
[ "MIT" ]
null
null
null
kubism/client/state.py
regananalytics/kubism.dev
6eb4f621708298710dfd23c206483ae44b82db11
[ "MIT" ]
null
null
null
# Copyright 2020 Regan Analytics from kubism.util import greek from kubism.util.psql import DB DEBUG = False class State: t_idx = 0 def __init__(self): self.remote = DB() self.connect_to_remote() def connect_to_remote(self): if not self.remote_connected: s...
23.733333
69
0.653558
143
1,068
4.65035
0.328671
0.135338
0.078195
0.126316
0.306767
0.129323
0.129323
0.129323
0.129323
0
0
0.006173
0.241573
1,068
45
70
23.733333
0.814815
0.073034
0
0
0
0
0
0
0
0
0
0
0
1
0.28
false
0
0.08
0
0.52
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
1
0
0
0
0
0
0
0
1
5bad837f6fe0256043be2cc86421db9ee86309a7
1,860
py
Python
MyWebPJ/MyApp/forms.py
Z1Park/django
8f022b07e704f6533e5ef95449502cead79885ed
[ "MIT" ]
null
null
null
MyWebPJ/MyApp/forms.py
Z1Park/django
8f022b07e704f6533e5ef95449502cead79885ed
[ "MIT" ]
null
null
null
MyWebPJ/MyApp/forms.py
Z1Park/django
8f022b07e704f6533e5ef95449502cead79885ed
[ "MIT" ]
null
null
null
from django.contrib.auth import password_validation from django.contrib.auth.models import User from django import forms class SignUpForm(forms.ModelForm): TEAM_CHOICES = ( ('HW팀', 'HW팀'), ('SW팀', 'SW팀'), ('ME팀', 'ME팀',), ('경영지원팀', '경영지원팀') ) username = forms.CharField( ...
27.352941
75
0.593011
200
1,860
5.42
0.395
0.050738
0.069188
0.066421
0.083026
0.083026
0.083026
0
0
0
0
0.011244
0.282796
1,860
67
76
27.761194
0.801349
0
0
0.105263
0
0
0.128026
0
0
0
0
0
0
1
0.052632
false
0.22807
0.052632
0
0.298246
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
5bae5910c51aa747861f68b9f4061b3fbe8452b0
2,366
py
Python
particle_swarm.py
senadkurtisi/particle-swarm-optimization-for-classification
319e87ccc24e23e18f46597ba366496e65dc5fb2
[ "MIT" ]
2
2020-12-29T19:53:59.000Z
2021-10-31T19:01:03.000Z
particle_swarm.py
senadkurtisi/particle-swarm-optimization-for-classification
319e87ccc24e23e18f46597ba366496e65dc5fb2
[ "MIT" ]
null
null
null
particle_swarm.py
senadkurtisi/particle-swarm-optimization-for-classification
319e87ccc24e23e18f46597ba366496e65dc5fb2
[ "MIT" ]
null
null
null
from utils import * def generate_initial(generation_size, num_features): generation = [] neurons_copy = [num_features] + neurons num_w = 0 for i in range(1, len(neurons_copy)): num_w += neurons_copy[i-1] * neurons_copy[i] for _ in range(generation_size): generation.append(np.rando...
25.44086
83
0.612426
367
2,366
3.735695
0.234332
0.029176
0.021882
0.03647
0.342086
0.286652
0.234865
0.234865
0.182349
0.182349
0
0.023002
0.265004
2,366
92
84
25.717391
0.765382
0.02705
0
0.180328
1
0
0.001305
0
0
0
0
0
0
1
0.098361
false
0
0.016393
0.016393
0.196721
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
5bb60626354a5ec448880777f002a59791debfba
4,064
py
Python
tools/views.py
bitblueprint/RunningCause
22114cec0a68ba8a2b7a3c143b71a587f273c7f1
[ "MIT" ]
3
2015-09-29T14:12:34.000Z
2016-07-29T08:20:16.000Z
tools/views.py
bitblueprint/RunningCause
22114cec0a68ba8a2b7a3c143b71a587f273c7f1
[ "MIT" ]
1
2016-07-29T10:38:47.000Z
2016-08-01T08:32:48.000Z
tools/views.py
bitblueprint/RunningCause
22114cec0a68ba8a2b7a3c143b71a587f273c7f1
[ "MIT" ]
3
2015-07-16T07:52:27.000Z
2018-01-05T08:03:09.000Z
# coding: utf8 from django.views.decorators.cache import cache_page from django.contrib.auth.decorators import user_passes_test from django.contrib import messages from django.shortcuts import render, get_object_or_404, redirect from django.contrib.auth.decorators import login_required from django.db.models import Sum...
33.586777
77
0.709646
523
4,064
5.313576
0.235182
0.028787
0.030227
0.035984
0.237855
0.20511
0.161209
0.13674
0.13674
0.13674
0
0.003655
0.192175
4,064
120
78
33.866667
0.842827
0.034203
0
0.191489
0
0
0.106633
0.01352
0
0
0
0
0
1
0.06383
false
0.06383
0.159574
0
0.287234
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
5bb672dc86f60c9e5f3b898be324c94da4c245b9
345
py
Python
setup.py
FjodBorg/Multi_Agent_AI
471e1d62eab93d3d234feeabb53e1b90f13f8c26
[ "OML" ]
1
2020-05-27T17:59:14.000Z
2020-05-27T17:59:14.000Z
setup.py
FjodBorg/Multi_Agent_AI
471e1d62eab93d3d234feeabb53e1b90f13f8c26
[ "OML" ]
null
null
null
setup.py
FjodBorg/Multi_Agent_AI
471e1d62eab93d3d234feeabb53e1b90f13f8c26
[ "OML" ]
null
null
null
"""Setup installation file.""" from setuptools import setup, find_packages setup( name="multi_sokoban", version="0.2.0", description="Multi-Agent AI Sokoban solver", author="some students at DTU", author_email="", keywords="AI multi-agent-ai python PDDL", packages=find_packages(), insta...
24.642857
48
0.684058
43
345
5.372093
0.697674
0.103896
0.103896
0
0
0
0
0
0
0
0
0.010526
0.173913
345
13
49
26.538462
0.8
0.069565
0
0
0
0
0.320635
0
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
5bba358ca771a1cca6ece34e83a43443fe600e68
2,896
py
Python
cupProject/cupApp/views.py
cs-fullstack-2019-spring/django-moreviews-cw-bettyjware11-1
aa8f2631882af7afb36c0d4b87124a5df58b63d4
[ "Apache-2.0" ]
null
null
null
cupProject/cupApp/views.py
cs-fullstack-2019-spring/django-moreviews-cw-bettyjware11-1
aa8f2631882af7afb36c0d4b87124a5df58b63d4
[ "Apache-2.0" ]
null
null
null
cupProject/cupApp/views.py
cs-fullstack-2019-spring/django-moreviews-cw-bettyjware11-1
aa8f2631882af7afb36c0d4b87124a5df58b63d4
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def index(request): return HttpResponse("Test URL") # function takes a name in the URL and returns a response with "hello [NAME]" def getHello(request, name): return HttpResponse("hello" + name) # function take...
28.116505
96
0.683011
360
2,896
5.480556
0.302778
0.100355
0.050684
0.038013
0.412063
0.384187
0.384187
0.384187
0.342625
0.218449
0
0.014738
0.203384
2,896
102
97
28.392157
0.840485
0.71029
0
0
0
0
0.112565
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5bc5a319e0ff877406490382eb49bd0e5685d817
340
py
Python
Inventario/migrations/0003_remove_variante_precio_venta.py
yorlysoro/INCOLARA
ce09cac91a2fc0d3afa6a238369c59a0ae32f245
[ "BSD-3-Clause" ]
null
null
null
Inventario/migrations/0003_remove_variante_precio_venta.py
yorlysoro/INCOLARA
ce09cac91a2fc0d3afa6a238369c59a0ae32f245
[ "BSD-3-Clause" ]
null
null
null
Inventario/migrations/0003_remove_variante_precio_venta.py
yorlysoro/INCOLARA
ce09cac91a2fc0d3afa6a238369c59a0ae32f245
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.14 on 2020-07-14 16:26 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Inventario', '0002_auto_20200714_1220'), ] operations = [ migrations.RemoveField( model_name='variante', name='precio_venta...
18.888889
50
0.605882
36
340
5.583333
0.805556
0
0
0
0
0
0
0
0
0
0
0.131687
0.285294
340
17
51
20
0.695473
0.135294
0
0
1
0
0.181507
0.078767
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5bccf096d356217c1d62bf901f962e24a0525fcd
1,627
py
Python
backend/medicar/urls.py
diego-feitosa/desafio
c4aecb9b612a2d9e8b346b8aaecd92208252378a
[ "MIT" ]
null
null
null
backend/medicar/urls.py
diego-feitosa/desafio
c4aecb9b612a2d9e8b346b8aaecd92208252378a
[ "MIT" ]
null
null
null
backend/medicar/urls.py
diego-feitosa/desafio
c4aecb9b612a2d9e8b346b8aaecd92208252378a
[ "MIT" ]
null
null
null
"""medicar URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
41.717949
77
0.744315
222
1,627
5.364865
0.364865
0.040302
0.050378
0.020151
0.098237
0.098237
0.062972
0
0
0
0
0.005678
0.133989
1,627
38
78
42.815789
0.839603
0.382913
0
0
0
0
0.126379
0
0
0
0
0
0
1
0
false
0
0.47619
0
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5bcf474816d00e4d80e0ba284356b5eb41391094
3,838
py
Python
doc/generate_sample_repos.py
btel/binder
c3e0a41ad73067de65034afb8ae747a6a7d4dea3
[ "BSD-3-Clause" ]
null
null
null
doc/generate_sample_repos.py
btel/binder
c3e0a41ad73067de65034afb8ae747a6a7d4dea3
[ "BSD-3-Clause" ]
null
null
null
doc/generate_sample_repos.py
btel/binder
c3e0a41ad73067de65034afb8ae747a6a7d4dea3
[ "BSD-3-Clause" ]
null
null
null
"""This is a helper file to auto-generate the sample READMEs page for the mybinder documentation. It expects a couple of environment variables to be set corresponding to your github username / password, or to an access token you've created (see below for the proper variable names). The script grabs some metadata and t...
41.268817
138
0.651381
511
3,838
4.780822
0.407045
0.04912
0.026197
0.02456
0.082685
0.027016
0
0
0
0
0
0.001325
0.213653
3,838
92
139
41.717391
0.808151
0.180302
0
0.067797
1
0
0.348867
0.00766
0
0
0
0
0
1
0
false
0.016949
0.050847
0
0.050847
0.033898
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
5bcfb2038c31e1b2b0b24bb141128c385de2509e
4,225
py
Python
fig/plottingH1H2H3-gen.py
TianyiQ/ioi2021-thesis
f69eba928077637d539e5cecb60df1cddb27a3fd
[ "MIT" ]
5
2021-05-11T15:16:53.000Z
2022-01-22T10:14:57.000Z
fig/plottingH1H2H3-gen.py
TianyiQ/ioi2021-thesis
f69eba928077637d539e5cecb60df1cddb27a3fd
[ "MIT" ]
null
null
null
fig/plottingH1H2H3-gen.py
TianyiQ/ioi2021-thesis
f69eba928077637d539e5cecb60df1cddb27a3fd
[ "MIT" ]
1
2021-09-11T04:52:35.000Z
2021-09-11T04:52:35.000Z
costs=[1.9854540490170365,1.8897541219398266,1.783125960258785,1.697661177237779,1.5833520920472837,1.499519431563351,1.3999052841943496,1.299999325270233] x1s=[0.11394000787380809,0.1552115117282269,0.20341885780262836,0.23489489080820136,0.2850241829465864,0.3243740272124554,0.38111643418482016,0.4486791582817367,] x...
36.422414
164
0.699408
708
4,225
4.127119
0.298023
0.015058
0.004107
0.015058
0.120123
0.071526
0.066393
0
0
0
0
0.203675
0.098225
4,225
116
165
36.422414
0.563255
0.131598
0
0
0
0
0.067653
0
0
0
0
0
0.022222
1
0.088889
false
0
0.133333
0.066667
0.311111
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
5bdc998947d5931964555423fd5982d3351ad6a1
14,535
py
Python
vkwave/types/user_events.py
krasnovmv/vkwave
e0db86cc16f97797765aadfb811ec87ff7945b1f
[ "MIT" ]
1
2021-01-02T00:53:32.000Z
2021-01-02T00:53:32.000Z
vkwave/types/user_events.py
krasnovmv/vkwave
e0db86cc16f97797765aadfb811ec87ff7945b1f
[ "MIT" ]
null
null
null
vkwave/types/user_events.py
krasnovmv/vkwave
e0db86cc16f97797765aadfb811ec87ff7945b1f
[ "MIT" ]
null
null
null
import enum import typing import pydantic from .objects import MessagesKeyboard class BaseUserEvent(pydantic.BaseModel): object: typing.Union[ "MessageEventObject", "SetFlagsEventObject", "ReadIncomingMessagesEventObject", "ReadOutgoingMessagesEventObject", "FriendOnlineE...
32.015419
212
0.724389
1,653
14,535
6.090139
0.143376
0.10152
0.081057
0.062283
0.402404
0.321546
0.285984
0.247939
0.233337
0.223602
0
0.016399
0.177709
14,535
453
213
32.086093
0.82572
0.020915
0
0.269444
0
0
0.063976
0.025661
0
0
0
0
0
1
0.002778
false
0
0.013889
0
0.522222
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
5bde55a8e193ff6e554ad7ed5700a586e9fdce5b
918
py
Python
data.py
wagolemusa/myflaskapp
c84f35e57ed36b308897cbd2cad7da1453c90312
[ "Apache-2.0" ]
null
null
null
data.py
wagolemusa/myflaskapp
c84f35e57ed36b308897cbd2cad7da1453c90312
[ "Apache-2.0" ]
null
null
null
data.py
wagolemusa/myflaskapp
c84f35e57ed36b308897cbd2cad7da1453c90312
[ "Apache-2.0" ]
null
null
null
def Articles(): articles = [ { 'id' : 1, 'title' : 'Article one', 'body' : 'Now ParseHub will call this handler every time the status of a run changes. It doesnt matter how long the run takes, or if it queued up on our servers for a while. Itll just work', 'auther': 'Refuge', 'create_date' : ...
27
195
0.622004
132
918
4.30303
0.689394
0.06338
0.06338
0
0
0
0
0
0
0
0
0.039648
0.25817
918
34
196
27
0.79442
0
0
0
0
0.12
0.693145
0
0
0
0
0
0
1
0.04
false
0
0
0
0.08
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
5be5a91baba378b1a5cfea1417068efe0b6c2f10
495
py
Python
setup.py
robertchase/aiolistener
294f512995bc528c9e7f45588bb206524b7e392b
[ "MIT" ]
null
null
null
setup.py
robertchase/aiolistener
294f512995bc528c9e7f45588bb206524b7e392b
[ "MIT" ]
null
null
null
setup.py
robertchase/aiolistener
294f512995bc528c9e7f45588bb206524b7e392b
[ "MIT" ]
null
null
null
from setuptools import find_packages from distutils.core import setup setup( name='aiolistener', version='1.0.0', packages=find_packages(exclude=['tests']), description='asyncio listening socket wrapper', long_description=""" Documentation ------------- You can see the project and documentation...
27.5
111
0.690909
57
495
5.947368
0.701754
0.070796
0.082596
0.147493
0.212389
0
0
0
0
0
0
0.007194
0.157576
495
17
112
29.117647
0.805755
0
0
0
0
0.0625
0.509091
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5be8ba0b54a6dded10365a5559f1efcdddf4e1a0
1,067
py
Python
server-tutorial-wrapper/cgi-bin/get_config.py
roads/web-experiment-tutorial
4c942ffe62757f4672f436840b81ff8b4d99ee73
[ "MIT" ]
null
null
null
server-tutorial-wrapper/cgi-bin/get_config.py
roads/web-experiment-tutorial
4c942ffe62757f4672f436840b81ff8b4d99ee73
[ "MIT" ]
null
null
null
server-tutorial-wrapper/cgi-bin/get_config.py
roads/web-experiment-tutorial
4c942ffe62757f4672f436840b81ff8b4d99ee73
[ "MIT" ]
null
null
null
#!/usr/bin/python import os import sys import json import portalocker import datetime import cgitb import apputils # cgitb.enable() # enable gci traceback def main(): cfg = {} # Initialize dictionary execfile('config.python', cfg) # Import key-value pairs from config file form = apputils.getFieldStorageVal...
23.195652
99
0.727273
144
1,067
5.277778
0.430556
0.052632
0.068421
0.044737
0.252632
0.184211
0.184211
0.184211
0.184211
0.184211
0
0
0.155576
1,067
45
100
23.711111
0.843507
0.198688
0
0.193548
0
0
0.162736
0
0
0
0
0
0
0
null
null
0
0.225806
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
5bf6ca9c4c010c06a2059eba0e1f1721f21b10e2
1,139
py
Python
src/extract/fix_lob_lobbying.py
aaronwinter/graph-politics
afb240f8f37475fe38fe9f1d036666044984538e
[ "MIT" ]
9
2016-11-27T06:07:57.000Z
2021-04-02T04:38:47.000Z
src/extract/fix_lob_lobbying.py
aaronwinter/graph-politics
afb240f8f37475fe38fe9f1d036666044984538e
[ "MIT" ]
null
null
null
src/extract/fix_lob_lobbying.py
aaronwinter/graph-politics
afb240f8f37475fe38fe9f1d036666044984538e
[ "MIT" ]
2
2016-11-01T22:17:15.000Z
2018-03-23T01:11:25.000Z
# Dataset: dataset/raw/Congress/Lobby/lob_lobbying.txt # Issue: The column #16 has a broken delimiter # Example: # - '|B035CC2E-6E80-4A58-8E46-A1FBF084C2E4|,|CARMEN GROUP INC|,|Carmen Group|,|y|,|POLS ON, ERIC|,|Polson, Eric|,|Polson, Eric|,0.0,|Y4000|,| |,|n|,| |,|n|,| |,|2005| ,|mtn|,|MID-YEAR TERMI...
33.5
232
0.656716
166
1,139
4.385542
0.451807
0.048077
0.065934
0.052198
0.233516
0.233516
0.173077
0.173077
0.173077
0.173077
0
0.047374
0.147498
1,139
33
233
34.515152
0.702369
0.330114
0
0.181818
0
0.090909
0.282869
0.26826
0
0
0
0
0
0
null
null
0
0
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
5bf72f62f64cc1ba32090b07826ab55b707a3fc2
5,379
py
Python
utils.py
rohanpandey/central_line
3692df97b96fef08a5cae64a547d2175b27f8010
[ "MIT" ]
null
null
null
utils.py
rohanpandey/central_line
3692df97b96fef08a5cae64a547d2175b27f8010
[ "MIT" ]
null
null
null
utils.py
rohanpandey/central_line
3692df97b96fef08a5cae64a547d2175b27f8010
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np def preprocess_dropChars(number,column,dataframe): ''' Funtion for dropping a specified number of characters from a given dataframe's column. Input: - number: number of chars to drop from right - column: column name to to be dropped - dataframe...
48.026786
328
0.627812
967
5,379
3.447777
0.192347
0.113377
0.161968
0.178164
0.553689
0.441512
0.436113
0.382124
0.093581
0.093581
0
0.080345
0.160067
5,379
112
329
48.026786
0.657592
0.171407
0
0.1
0
0
0.117197
0
0
0
0
0
0
1
0.057143
false
0
0.028571
0
0.142857
0.071429
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
5bfb636aa00922d31d320c2ce9f05a74e1bcc4e0
194
py
Python
CSES/Python/03Repetitions.py
PIYSocial-India/CompetitiveProgramming
5993d09d10c0b5ff19ba8e424057494e547fe06d
[ "MIT" ]
null
null
null
CSES/Python/03Repetitions.py
PIYSocial-India/CompetitiveProgramming
5993d09d10c0b5ff19ba8e424057494e547fe06d
[ "MIT" ]
null
null
null
CSES/Python/03Repetitions.py
PIYSocial-India/CompetitiveProgramming
5993d09d10c0b5ff19ba8e424057494e547fe06d
[ "MIT" ]
2
2020-10-24T14:33:37.000Z
2020-10-24T14:47:23.000Z
a = list(input()) cnt = 0 x = 0 for i in range(len(a)-1): if a[i] == a[i+1]: cnt += 1 if x <= cnt: x = cnt elif a[i] != a[i+1]: cnt = 0 print(x+1)
12.933333
25
0.376289
38
194
1.921053
0.394737
0.109589
0.082192
0.109589
0.219178
0.219178
0
0
0
0
0
0.071429
0.42268
194
15
26
12.933333
0.580357
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
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
7502398da5096ad900a2b1014ce7242300affe50
2,423
py
Python
third_party/infra_libs/buildbucket/proto/launcher_pb2.py
khromiumos/chromiumos-chromite
a42a85481cdd9d635dc40a04585e427f89f3bb3f
[ "BSD-3-Clause" ]
null
null
null
third_party/infra_libs/buildbucket/proto/launcher_pb2.py
khromiumos/chromiumos-chromite
a42a85481cdd9d635dc40a04585e427f89f3bb3f
[ "BSD-3-Clause" ]
2
2021-03-26T00:29:32.000Z
2021-04-30T21:29:33.000Z
third_party/infra_libs/buildbucket/proto/launcher_pb2.py
khromiumos/chromiumos-chromite
a42a85481cdd9d635dc40a04585e427f89f3bb3f
[ "BSD-3-Clause" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: launcher.proto import sys _b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as...
29.91358
190
0.692117
264
2,423
6.083333
0.44697
0.031133
0.05604
0.07472
0.122042
0
0
0
0
0
0
0.026329
0.200578
2,423
80
191
30.2875
0.802788
0.089971
0
0.058824
1
0.014706
0.186448
0.135971
0
0
0
0
0
1
0
false
0
0.088235
0
0.088235
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
75036d78754b9126fe5678eef3527508f8be2e17
4,279
py
Python
behaviors/vigir_behavior_steering_calibration/src/vigir_behavior_steering_calibration/steering_calibration_sm_tmp.py
team-vigir/vigir_behaviors
6696e7b7aadb24bb5495475065cc7b10d80b7db4
[ "BSD-3-Clause" ]
5
2015-08-25T18:47:52.000Z
2019-12-04T21:40:28.000Z
behaviors/vigir_behavior_steering_calibration/src/vigir_behavior_steering_calibration/steering_calibration_sm_tmp.py
team-vigir/vigir_behaviors
6696e7b7aadb24bb5495475065cc7b10d80b7db4
[ "BSD-3-Clause" ]
2
2017-08-16T16:09:47.000Z
2020-08-18T17:25:22.000Z
behaviors/vigir_behavior_steering_calibration/src/vigir_behavior_steering_calibration/steering_calibration_sm_tmp.py
team-vigir/vigir_behaviors
6696e7b7aadb24bb5495475065cc7b10d80b7db4
[ "BSD-3-Clause" ]
5
2015-11-06T21:57:37.000Z
2022-03-30T10:15:57.000Z
#!/usr/bin/env python ########################################################### # WARNING: Generated code! # # ************************** # # Manual changes may get lost if file is generated again. # # Only code inside the [MANUAL] tags will be kept. ...
34.508065
138
0.675625
478
4,279
5.83682
0.384937
0.062724
0.015771
0.022939
0.125448
0.125448
0.088889
0.057348
0.030108
0
0
0.020548
0.181117
4,279
123
139
34.788618
0.775685
0.211498
0
0.075472
1
0
0.249446
0.018677
0
0
0
0
0
1
0.075472
false
0
0.09434
0
0.264151
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
7504f1456e86c6c87ee4101d23079ac0247c0ebd
1,686
py
Python
play.py
ThorbenQuast/GameOfLife
451b7b0da60ce6cfbea00c82d9880d5582050c5a
[ "MIT" ]
null
null
null
play.py
ThorbenQuast/GameOfLife
451b7b0da60ce6cfbea00c82d9880d5582050c5a
[ "MIT" ]
null
null
null
play.py
ThorbenQuast/GameOfLife
451b7b0da60ce6cfbea00c82d9880d5582050c5a
[ "MIT" ]
null
null
null
import universe import argparse import tqdm import random output_dir = "./evolutions" parser = argparse.ArgumentParser() parser.add_argument("--NEpochs", help="number of epochs to be placed", type=int) parser.add_argument("--InitialFile", help="file with the initial conditions", type=str) parser.add_argument("--Outpu...
31.222222
87
0.734282
241
1,686
5.087137
0.356846
0.073409
0.055465
0.02447
0.194127
0.194127
0.137031
0.091354
0.091354
0.091354
0
0.017473
0.117438
1,686
54
88
31.222222
0.806452
0
0
0.130435
0
0
0.170717
0
0
0
0
0
0
0
null
null
0
0.130435
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
75131392ac79e406f78ad357272f96707f7aa7f7
8,180
py
Python
gp307/graph.py
JohnDMcMaster/uvscada
0b2bc4af49c51060d385da003fda13540cf9af4e
[ "BSD-2-Clause" ]
16
2015-10-27T07:27:21.000Z
2020-11-13T20:05:49.000Z
gp307/graph.py
JohnDMcMaster/uvscada
0b2bc4af49c51060d385da003fda13540cf9af4e
[ "BSD-2-Clause" ]
null
null
null
gp307/graph.py
JohnDMcMaster/uvscada
0b2bc4af49c51060d385da003fda13540cf9af4e
[ "BSD-2-Clause" ]
8
2016-05-15T04:41:40.000Z
2021-02-04T09:15:29.000Z
#from uvscada import gp307 import argparse import sys import serial import time from PyQt4.QtCore import * from PyQt4.QtGui import QColor from PyQt4 import Qt import PyQt4.QtCore as QtCore import PyQt4.Qwt5 as Qwt from PyQt4.Qwt5.anynumpy import * from PyQt4.QtGui import * import sys from PyQt4 import QtCore, QtGui i...
29.854015
114
0.557335
949
8,180
4.661749
0.275026
0.025316
0.022378
0.011302
0.178119
0.148734
0.129521
0.065778
0.050181
0.019892
0
0.023901
0.329951
8,180
273
115
29.96337
0.783251
0.029462
0
0.127907
0
0
0.018089
0.003887
0
0
0
0
0
0
null
null
0
0.110465
null
null
0.040698
0
0
0
null
0
0
0
0
0
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
75154f8efc3c8d7b4ef8c23aa07b3b18dc6019de
2,386
py
Python
resources/mstats/timeseries.py
mvelezg99/distribuciones-de-probabilidad-python
2a3a413e67c2ba8b36b02cf44ad4be73b40a18ab
[ "MIT" ]
8
2019-02-24T16:15:24.000Z
2020-12-10T11:43:26.000Z
resources/mstats/timeseries.py
mvelezg99/distribuciones-de-probabilidad-python
2a3a413e67c2ba8b36b02cf44ad4be73b40a18ab
[ "MIT" ]
null
null
null
resources/mstats/timeseries.py
mvelezg99/distribuciones-de-probabilidad-python
2a3a413e67c2ba8b36b02cf44ad4be73b40a18ab
[ "MIT" ]
3
2019-06-13T08:43:14.000Z
2021-03-27T16:09:11.000Z
# -*- coding: utf-8 -*- """ Created on Tue May 21 16:40:27 2019 @author: Miguel Ángel Vélez """ from mstats import linregr #------------------------------------------------------------------------------------------------# #------------------------------------------- Time Series --------------------------------------...
20.747826
98
0.409472
287
2,386
3.334495
0.337979
0.031348
0.018809
0.034483
0.054336
0
0
0
0
0
0
0.081621
0.286253
2,386
114
99
20.929825
0.480329
0.333194
0
0.088889
0
0
0.000678
0
0
0
0
0
0
1
0.177778
false
0
0.022222
0
0.4
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
751629bd52e1e73f480c59860522f7c0677c1ff0
229
py
Python
exp/reproduce.py
yf-yang/OptimalClassificationTrees
82cf9b7d2b81c2ffb464e854f6217225c2e36792
[ "MIT" ]
null
null
null
exp/reproduce.py
yf-yang/OptimalClassificationTrees
82cf9b7d2b81c2ffb464e854f6217225c2e36792
[ "MIT" ]
null
null
null
exp/reproduce.py
yf-yang/OptimalClassificationTrees
82cf9b7d2b81c2ffb464e854f6217225c2e36792
[ "MIT" ]
null
null
null
import json import os.path as osp from helper import run data_dir = '../data/' flist = list(json.load(open('../filelist.json')).keys()) for dataset in flist: run(osp.join(data_dir, dataset)+'.npz', "50 25 25") break
22.9
56
0.659389
37
229
4.027027
0.675676
0.09396
0
0
0
0
0
0
0
0
0
0.031579
0.170306
229
10
57
22.9
0.752632
0
0
0
0
0
0.156522
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
75166f17f3fe8c1f2167a9550a4993a1e3bd3be2
1,669
py
Python
app/admin.py
KindtAnton/Haldis
6e3e5e7fb5a06640e48c7c6f91a13320ea760483
[ "MIT" ]
null
null
null
app/admin.py
KindtAnton/Haldis
6e3e5e7fb5a06640e48c7c6f91a13320ea760483
[ "MIT" ]
null
null
null
app/admin.py
KindtAnton/Haldis
6e3e5e7fb5a06640e48c7c6f91a13320ea760483
[ "MIT" ]
null
null
null
"Haldis admin related views and models" import flask_login as login from flask import Flask from flask_admin import Admin from flask_admin.contrib.sqla import ModelView from flask_sqlalchemy import SQLAlchemy from models import Location, Order, OrderItem, Product, User class ModelBaseView(ModelView): "Base mode...
31.490566
79
0.732175
199
1,669
6.01005
0.356784
0.033445
0.050167
0.076923
0.226589
0.181438
0.114548
0.078595
0
0
0
0.015206
0.172558
1,669
52
80
32.096154
0.850833
0.195327
0
0.085714
0
0
0.192994
0
0
0
0
0
0
1
0.057143
false
0
0.171429
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7525bbf46bcb0d455c271f2ac62ae5464fd8e162
1,468
py
Python
setup.py
jakubroztocil/httpbin
2299db88e467e1a787d9f87e97047f64e26f365c
[ "0BSD" ]
2
2019-04-30T05:34:43.000Z
2020-02-11T06:56:14.000Z
setup.py
jakubroztocil/httpbin
2299db88e467e1a787d9f87e97047f64e26f365c
[ "0BSD" ]
null
null
null
setup.py
jakubroztocil/httpbin
2299db88e467e1a787d9f87e97047f64e26f365c
[ "0BSD" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system("python setup.py sdist upload") sys.exit() deps = [ 'Flask==0.8', 'Flask-Script==0.3.1', 'Ji...
24.065574
54
0.572888
169
1,468
4.946746
0.532544
0.159091
0.20933
0.093301
0
0
0
0
0
0
0
0.041971
0.253406
1,468
60
55
24.466667
0.720803
0.140327
0
0
0
0
0.46258
0
0
0
0
0
0
1
0
false
0
0.106383
0
0.106383
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
752a62ee8625b4424e2a68d4671da18000b6f2a9
525
py
Python
oops/#053_inheritance.py
krishankansal/PythonPrograms
6d4d989068195b8c8dd9d71cf4f920fef1177cf2
[ "MIT" ]
null
null
null
oops/#053_inheritance.py
krishankansal/PythonPrograms
6d4d989068195b8c8dd9d71cf4f920fef1177cf2
[ "MIT" ]
null
null
null
oops/#053_inheritance.py
krishankansal/PythonPrograms
6d4d989068195b8c8dd9d71cf4f920fef1177cf2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Aug 10 21:31:18 2020 @author: krishan """ class Mammal: def __init__(self, age): self.age = age def legs(self): print("Two Legs") def run(self): print("Slow") class Men(Mammal): ...
14.189189
35
0.52
71
525
3.676056
0.507042
0.08046
0.099617
0.130268
0.153257
0
0
0
0
0
0
0.041899
0.318095
525
36
36
14.583333
0.687151
0.184762
0
0.111111
0
0
0.052758
0
0
0
0
0
0
1
0.277778
false
0
0
0
0.388889
0.277778
0
0
0
null
0
0
0
0
0
0
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
752a8723d7c68158eb8d606ca75a808e1ab80b06
3,055
py
Python
helpers.py
kkujawinski/sublime-text-live-demo
e5b35924fc0e7d72a383b2a84ac003173c184220
[ "BSD-3-Clause" ]
null
null
null
helpers.py
kkujawinski/sublime-text-live-demo
e5b35924fc0e7d72a383b2a84ac003173c184220
[ "BSD-3-Clause" ]
null
null
null
helpers.py
kkujawinski/sublime-text-live-demo
e5b35924fc0e7d72a383b2a84ac003173c184220
[ "BSD-3-Clause" ]
null
null
null
import hashlib import os.path import pickle import tempfile import sublime class SublimeTextHelpers(object): def __init__(self, edit): self.edit = edit self.window = sublime.active_window() def get_base_dir(self): return sublime.active_window().folders()[0] def error_message(sel...
27.276786
122
0.60491
390
3,055
4.551282
0.251282
0.036056
0.022535
0.014648
0.164507
0.12169
0.084507
0.084507
0.04507
0.04507
0
0.004539
0.278887
3,055
111
123
27.522523
0.80118
0
0
0.232558
0
0
0.011129
0
0
0
0
0
0
1
0.244186
false
0.023256
0.05814
0.046512
0.465116
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
752a9ace65b8ffa5ba7b850ebb7d6d4d5ed7ee19
3,572
py
Python
vra-services-check/src/run_vrahealthtestsuite.py
vmware-archive/vra-health-samples
ebf63a97a255d1e6b53bf4c29618198090bd74fa
[ "MIT" ]
1
2019-09-19T20:02:44.000Z
2019-09-19T20:02:44.000Z
vra-services-check/src/run_vrahealthtestsuite.py
vmware-archive/vra-health-samples
ebf63a97a255d1e6b53bf4c29618198090bd74fa
[ "MIT" ]
null
null
null
vra-services-check/src/run_vrahealthtestsuite.py
vmware-archive/vra-health-samples
ebf63a97a255d1e6b53bf4c29618198090bd74fa
[ "MIT" ]
1
2019-09-19T20:03:05.000Z
2019-09-19T20:03:05.000Z
# VMware vRA Health test Python SDK Community Samples # # Copyright 2018 VMware, Inc. All rights reserved # The MIT license (the “License”) set forth below applies to all parts of the VMware vRealize Health Service Code Samples project. You may not use this file except in compliance with the License.  # MIT Lic...
38
462
0.590985
391
3,572
5.360614
0.524297
0.041985
0.033397
0.031489
0.138359
0.101145
0.041985
0
0
0
0
0.007089
0.289194
3,572
93
463
38.408602
0.818432
0.454367
0
0.15625
0
0.015625
0.35851
0.077082
0
0
0
0
0
1
0
false
0.0625
0.03125
0
0.03125
0.03125
0
0
0
null
0
0
0
0
0
0
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
752becd8b11278396a6c499da0302a59a9165b89
1,437
py
Python
uob/apps/TrickleSim/sim/testTossim.py
tinyos-io/tinyos-3.x-contrib
3aaf036722a2afc0c0aad588459a5c3e00bd3c01
[ "BSD-3-Clause", "MIT" ]
1
2020-02-28T20:35:09.000Z
2020-02-28T20:35:09.000Z
uob/apps/TrickleSim/sim/testTossim.py
tinyos-io/tinyos-3.x-contrib
3aaf036722a2afc0c0aad588459a5c3e00bd3c01
[ "BSD-3-Clause", "MIT" ]
null
null
null
uob/apps/TrickleSim/sim/testTossim.py
tinyos-io/tinyos-3.x-contrib
3aaf036722a2afc0c0aad588459a5c3e00bd3c01
[ "BSD-3-Clause", "MIT" ]
null
null
null
import sys from TOSSIM import * from sim.TrickleSimMsg import * from sim.scenarios.RegularScenario import Scenario class SimulationRun: def __init__(self): print "\n" print "="*50 print "New simulation run" self.t = Tossim([]) self.t.setTime(0) self.t.init() ...
25.210526
63
0.583855
176
1,437
4.630682
0.346591
0.08589
0.07362
0.058896
0.198773
0.068712
0.068712
0.068712
0.068712
0
0
0.019531
0.287404
1,437
56
64
25.660714
0.776367
0.207376
0
0
0
0
0.071174
0
0
0
0
0
0
0
null
null
0
0.129032
null
null
0.258065
0
0
0
null
0
0
0
0
0
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
752cc5e4590e72fa1f1b6f1983f52ad7c7d2ec74
848
py
Python
stack/0503_next_greater_element_2.py
MartinMa28/Algorithms_review
3f2297038c00f5a560941360ca702e6868530f34
[ "MIT" ]
null
null
null
stack/0503_next_greater_element_2.py
MartinMa28/Algorithms_review
3f2297038c00f5a560941360ca702e6868530f34
[ "MIT" ]
null
null
null
stack/0503_next_greater_element_2.py
MartinMa28/Algorithms_review
3f2297038c00f5a560941360ca702e6868530f34
[ "MIT" ]
null
null
null
class Solution: def nextGreaterElements(self, nums: list) -> list: if not nums: return [] monotonic_stack = [(nums[0], 0)] nums = nums + nums next_greater = {} for i, num in enumerate(nums[1:], 1): while monotonic_stack: ...
30.285714
54
0.415094
89
848
3.853933
0.359551
0.204082
0.069971
0
0
0
0
0
0
0
0
0.022222
0.46934
848
28
55
30.285714
0.74
0
0
0
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0
0
0.190476
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
7536504e591d73fe49a5256071170c779112d339
2,505
py
Python
linkysets/entries/migrations/0001_initial.py
hqrrylyu/linkysets
1b8c319820bdf116a5cad7efff69178e739cf26b
[ "MIT" ]
null
null
null
linkysets/entries/migrations/0001_initial.py
hqrrylyu/linkysets
1b8c319820bdf116a5cad7efff69178e739cf26b
[ "MIT" ]
5
2021-04-08T19:20:07.000Z
2021-09-22T19:03:30.000Z
linkysets/entries/migrations/0001_initial.py
hqrrylyu/polemicflow
1b8c319820bdf116a5cad7efff69178e739cf26b
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-25 16:13 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.117647
234
0.61477
277
2,505
5.393502
0.34657
0.110442
0.028112
0.044177
0.215529
0.215529
0.215529
0.165997
0.165997
0.165997
0
0.014752
0.242315
2,505
50
235
50.1
0.772392
0.017964
0
0.302326
1
0
0.184703
0
0
0
0
0
0
1
0
false
0
0.069767
0
0.162791
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
7538289afe1576b76387925f85e5d42ca63ceb6f
3,453
py
Python
tests/testUtils.py
pir2/python-omniture
d23b00f3382416f9d7667d90bdffc6d6b3456a53
[ "MIT" ]
105
2015-02-04T22:27:37.000Z
2022-02-06T12:25:10.000Z
tests/testUtils.py
pir2/python-omniture
d23b00f3382416f9d7667d90bdffc6d6b3456a53
[ "MIT" ]
69
2015-03-18T15:35:13.000Z
2020-08-25T13:18:43.000Z
tests/testUtils.py
pir2/python-omniture
d23b00f3382416f9d7667d90bdffc6d6b3456a53
[ "MIT" ]
66
2015-05-15T13:34:40.000Z
2021-02-24T15:42:57.000Z
import datetime import unittest import omniture class UtilsTest(unittest.TestCase): def setUp(self): fakelist = [{"id":"123", "title":"abc"},{"id":"456","title":"abc"}] self.alist = omniture.Value.list("segemnts",fakelist,{}) def tearDown(self): del self.alist def test_addre...
39.238636
163
0.548798
414
3,453
4.449275
0.2657
0.105863
0.149837
0.18241
0.401737
0.319761
0.214984
0.092291
0
0
0
0.021121
0.286997
3,453
87
164
39.689655
0.727051
0.083985
0
0.066667
0
0.016667
0.1696
0.04576
0
0
0
0
0.3
1
0.15
false
0
0.05
0
0.216667
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
7547b711edb1cd1cabdf4ed7c380695f3dba5ef3
664
py
Python
sample/all_methods/listSharedNotebooks.py
matthewayne/evernote-sdk-python
53b0c1263d250b88a1810987b51bc9def586db02
[ "Apache-2.0", "BSD-3-Clause" ]
3
2016-02-14T13:39:46.000Z
2021-09-03T16:02:18.000Z
sample/all_methods/listSharedNotebooks.py
matthewayne/evernote-sdk-python
53b0c1263d250b88a1810987b51bc9def586db02
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
sample/all_methods/listSharedNotebooks.py
matthewayne/evernote-sdk-python
53b0c1263d250b88a1810987b51bc9def586db02
[ "Apache-2.0", "BSD-3-Clause" ]
1
2018-03-28T01:08:25.000Z
2018-03-28T01:08:25.000Z
# Import the Evernote client from evernote.api.client import EvernoteClient # Define access token either: # Developer Tokens (https://dev.evernote.com/doc/articles/dev_tokens.php) # or OAuth (https://dev.evernote.com/doc/articles/authentication.php) access_token = "insert dev or oauth token here" # Setup the client c...
33.2
73
0.777108
91
664
5.56044
0.516484
0.071146
0.063241
0.075099
0.118577
0.118577
0
0
0
0
0
0
0.128012
664
20
74
33.2
0.873921
0.403614
0
0
0
0
0.162371
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
754984277ed5410df57ebc7ccf7d6e6ade63e2cf
1,109
py
Python
automatedtest_backend/user/serializers.py
zhousheng0325/AutomationPlatform
e7e41e4a26c63fc8151b191bccb0f4a412a3388d
[ "MIT" ]
null
null
null
automatedtest_backend/user/serializers.py
zhousheng0325/AutomationPlatform
e7e41e4a26c63fc8151b191bccb0f4a412a3388d
[ "MIT" ]
10
2020-06-06T01:30:29.000Z
2022-03-12T00:16:52.000Z
automatedtest_backend/user/serializers.py
zhousheng0325/AutomationPlatform
e7e41e4a26c63fc8151b191bccb0f4a412a3388d
[ "MIT" ]
null
null
null
from .models import ApiUser, User from rest_framework import serializers class ApiUserSerializer(serializers.ModelSerializer): class Meta: model = User fields =('id','email', 'username', 'mobile') class UserSerializer(serializers.ModelSerializer): # password2 = serializers.CharFie...
31.685714
85
0.587015
102
1,109
6.294118
0.460784
0.074766
0.043614
0.056075
0.074766
0
0
0
0
0
0
0.003759
0.280433
1,109
34
86
32.617647
0.800752
0.22633
0
0.190476
0
0
0.153186
0
0
0
0
0
0
1
0.047619
false
0.142857
0.095238
0
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
754a3932fdd356bf15f30524c6436f9bd9ef9754
1,156
py
Python
django_cached_field/tasks.py
blackrobot/django-cached-field
1533d1045dc5d6ceac29eeb60b8a8ee6ce356d05
[ "BSD-3-Clause" ]
8
2016-04-01T17:28:56.000Z
2021-03-04T13:34:24.000Z
django_cached_field/tasks.py
blackrobot/django-cached-field
1533d1045dc5d6ceac29eeb60b8a8ee6ce356d05
[ "BSD-3-Clause" ]
7
2015-12-17T18:36:31.000Z
2020-05-06T23:03:29.000Z
django_cached_field/tasks.py
tuxtitlan/django-cached-field
6ee880d07d6bc6f0a58a06e286150c272ae89b2a
[ "BSD-3-Clause" ]
4
2015-12-05T17:52:51.000Z
2020-05-06T15:03:34.000Z
from __future__ import absolute_import import re from celery import shared_task from celery.utils.log import get_task_logger try: # Django 1.9 from django.apps import apps get_model = apps.get_model except ImportError: # Django 1.7 and before from django.db.models import get_model logger = get_...
31.243243
87
0.66955
153
1,156
4.836601
0.496732
0.043243
0.035135
0.035135
0
0
0
0
0
0
0
0.015891
0.237889
1,156
36
88
32.111111
0.824064
0.088235
0
0.076923
0
0
0.16381
0.050476
0
0
0
0.027778
0
1
0.038462
false
0
0.269231
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
754e101080458f3e5796fc696aba3397313fb334
1,726
py
Python
src/python/fuzzyvault/gen_secret.py
decentralized-identity/fuzzy-encryption
0d7205c7a444d1c4d17f57e0a706f756c1141dde
[ "Apache-2.0" ]
31
2020-06-16T16:08:08.000Z
2021-11-09T23:04:46.000Z
src/python/fuzzyvault/gen_secret.py
decentralized-identity/fuzzy-vault
0d7205c7a444d1c4d17f57e0a706f756c1141dde
[ "Apache-2.0" ]
6
2020-06-16T15:50:37.000Z
2021-02-13T17:33:54.000Z
src/python/fuzzyvault/gen_secret.py
decentralized-identity/fuzzy-vault
0d7205c7a444d1c4d17f57e0a706f756c1141dde
[ "Apache-2.0" ]
3
2020-10-19T17:54:11.000Z
2021-02-04T02:26:34.000Z
""" gen_secret.py Generates a secret using the Fuzzy Key Recovery scheme """ import json import click from fuzzyvault import gen_secret, FuzzyError def work(params_path: str, words: str, secret_path: str) -> None: "workhorse" original_words = json.dumps([int(word) for word in words.split()], indent=2) wi...
30.280702
80
0.612399
217
1,726
4.764977
0.396313
0.067698
0.027079
0.034816
0.073501
0.073501
0.073501
0.073501
0.073501
0
0
0.007855
0.262457
1,726
56
81
30.821429
0.804399
0.172074
0
0.081081
1
0
0.233146
0
0
0
0
0
0
1
0.054054
false
0
0.081081
0
0.135135
0.081081
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
754f1f3374d2e3e042297b4627f881954929d0e9
6,959
py
Python
openpyxl/tests/test_named_range.py
Wyss/customarrayformatter
40e395fb272e8e69bf64056748a87c0df716e2a3
[ "MIT" ]
null
null
null
openpyxl/tests/test_named_range.py
Wyss/customarrayformatter
40e395fb272e8e69bf64056748a87c0df716e2a3
[ "MIT" ]
null
null
null
openpyxl/tests/test_named_range.py
Wyss/customarrayformatter
40e395fb272e8e69bf64056748a87c0df716e2a3
[ "MIT" ]
null
null
null
# file openpyxl/tests/test_named_range.py # Copyright (c) 2010-2011 openpyxl # # 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 Software without restriction, including without limitation the rights #...
34.280788
185
0.655841
916
6,959
4.780568
0.283843
0.047728
0.020553
0.019411
0.251656
0.203699
0.131994
0.131994
0.10459
0.087691
0
0.013732
0.225607
6,959
202
186
34.450495
0.79885
0.177755
0
0.243902
0
0.00813
0.133275
0.007726
0
0
0
0
0.03252
1
0.203252
false
0
0.073171
0.03252
0.398374
0.02439
0
0
0
null
0
0
0
0
0
0
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
7555cc7789f1fba86999cb5b07095ccf1413350c
1,137
py
Python
Products/PloneGetPaid/browser/portlets/recurring.py
collective/Products.PloneGetPaid
8a89ce3585315d84221b7ab46bfb28beeefda3b2
[ "ZPL-2.1" ]
2
2019-10-27T22:12:10.000Z
2021-02-17T19:54:55.000Z
Products/PloneGetPaid/browser/portlets/recurring.py
collective/Products.PloneGetPaid
8a89ce3585315d84221b7ab46bfb28beeefda3b2
[ "ZPL-2.1" ]
1
2017-08-24T11:40:25.000Z
2017-08-24T13:38:45.000Z
Products/PloneGetPaid/browser/portlets/recurring.py
collective/Products.PloneGetPaid
8a89ce3585315d84221b7ab46bfb28beeefda3b2
[ "ZPL-2.1" ]
2
2016-02-04T09:06:52.000Z
2021-02-17T19:55:02.000Z
from zope.interface import implements from zope.component import getUtility from plone.app.portlets.portlets import base from plone.portlets.interfaces import IPortletDataProvider from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile from Products.PloneGetPaid.browser.portlets.base import GetPaidRend...
28.425
88
0.770449
109
1,137
8.009174
0.495413
0.054983
0.082474
0
0
0
0
0
0
0
0
0.002086
0.156552
1,137
39
89
29.153846
0.908238
0.029024
0
0
0
0
0.059688
0.044077
0
0
0
0
0
1
0.12
false
0.04
0.32
0.04
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f328fd3dba12b40ed9ad32f05def8fd908dcc511
529
py
Python
my_proj/vehicles/urls.py
J-S-Jayasree/SiteGuide-Internship-Assignment
1ef8dc036d91c1b76cc081e1a0c7bb012c7c17e5
[ "Apache-2.0" ]
null
null
null
my_proj/vehicles/urls.py
J-S-Jayasree/SiteGuide-Internship-Assignment
1ef8dc036d91c1b76cc081e1a0c7bb012c7c17e5
[ "Apache-2.0" ]
null
null
null
my_proj/vehicles/urls.py
J-S-Jayasree/SiteGuide-Internship-Assignment
1ef8dc036d91c1b76cc081e1a0c7bb012c7c17e5
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.VehicleList.as_view(), name='vehicle_list'), path('view/<int:pk>', views.VehicleView.as_view(), name='vehicle_view'), path('new', views.VehicleCreate.as_view(), name='vehicle_new'), path('view/<int:pk>', views.Vehi...
40.692308
83
0.672968
70
529
4.914286
0.314286
0.104651
0.174419
0.296512
0.313953
0.313953
0.313953
0.313953
0.313953
0.313953
0
0
0.128544
529
12
84
44.083333
0.746204
0
0
0.2
0
0
0.251451
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f329771543c7c69e133ef300505f6a2ee9678d64
6,747
py
Python
dash_latex/DashLatex.py
ndrezn/dash-latex
d5bf69de316982ba7bab619b41204da01a543e30
[ "MIT" ]
null
null
null
dash_latex/DashLatex.py
ndrezn/dash-latex
d5bf69de316982ba7bab619b41204da01a543e30
[ "MIT" ]
null
null
null
dash_latex/DashLatex.py
ndrezn/dash-latex
d5bf69de316982ba7bab619b41204da01a543e30
[ "MIT" ]
null
null
null
# AUTO GENERATED FILE - DO NOT EDIT from dash.development.base_component import Component, _explicitize_args class DashLatex(Component): """A DashLatex component. DashLatex is a Dash wrapper for ReactLatex (https://github.com/zzish/react-latex) which is itself a wrapper for Katex (https://katex.org/docs/options....
53.547619
412
0.716911
904
6,747
5.314159
0.394912
0.044963
0.008118
0.005412
0.073689
0.056203
0.046628
0.046628
0.046628
0.046628
0
0.004991
0.198162
6,747
125
413
53.976
0.882994
0.765377
0
0
1
0
0.193591
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
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
f32fa112cc06b5aef27d3aa41497dab430603b24
991
py
Python
research/ab_test.py
harshits333/MLaaS
7088b6972f884fbde890aaf0e7d281c5121d6fbe
[ "MIT" ]
null
null
null
research/ab_test.py
harshits333/MLaaS
7088b6972f884fbde890aaf0e7d281c5121d6fbe
[ "MIT" ]
null
null
null
research/ab_test.py
harshits333/MLaaS
7088b6972f884fbde890aaf0e7d281c5121d6fbe
[ "MIT" ]
null
null
null
import json # will be needed for saving preprocessing details import numpy as np # for data manipulation import pandas as pd # for data manipulation from sklearn.model_selection import train_test_split # will be used for data split import requests # load dataset df = pd.read_csv('https://raw.githubusercontent.com/pplo...
43.086957
126
0.734612
165
991
4.284848
0.527273
0.029703
0.053748
0.02546
0.053748
0.053748
0.053748
0.053748
0
0
0
0.036257
0.137235
991
23
127
43.086957
0.790643
0.209889
0
0
0
0.125
0.292903
0
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
f330b589fdf965e55d889693e749b3e6f03ec95e
2,131
py
Python
12-pyspark-mlib/logistic_regression.py
iproduct/coulse-ml
65577fd4202630d3d5cb6333ddc51cede750fb5a
[ "Apache-2.0" ]
1
2020-10-02T15:48:42.000Z
2020-10-02T15:48:42.000Z
12-pyspark-mlib/logistic_regression.py
iproduct/coulse-ml
65577fd4202630d3d5cb6333ddc51cede750fb5a
[ "Apache-2.0" ]
null
null
null
12-pyspark-mlib/logistic_regression.py
iproduct/coulse-ml
65577fd4202630d3d5cb6333ddc51cede750fb5a
[ "Apache-2.0" ]
null
null
null
import sys from pyspark.sql import SparkSession from pyspark import SparkContext from pyspark.mllib.regression import LabeledPoint from pyspark.mllib.classification import LogisticRegressionWithSGD from pyspark.ml.classification import LogisticRegression # def parsePoint(line): # """ # Parse a line of text in...
40.207547
108
0.671516
244
2,131
5.819672
0.438525
0.038732
0.022535
0.049296
0.123944
0.123944
0.076056
0.076056
0.076056
0
0
0.01421
0.207414
2,131
53
109
40.207547
0.826525
0.438761
0
0
0
0
0.157985
0.048676
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f3412e5b66ace6ec7b04ebc2045fda1bd15a381a
291
py
Python
middleman/acessors/__init__.py
scooterman/middleman
c765c9157cce02574e7191608dacd573156e333b
[ "Xnet", "X11" ]
null
null
null
middleman/acessors/__init__.py
scooterman/middleman
c765c9157cce02574e7191608dacd573156e333b
[ "Xnet", "X11" ]
null
null
null
middleman/acessors/__init__.py
scooterman/middleman
c765c9157cce02574e7191608dacd573156e333b
[ "Xnet", "X11" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2015, zup.com http://zup.com/, all rights reserved. # author: victor from middleman.database import db def to_persist(entity): db.session.add(entity) def save_all(): db.session.commit() def to_remove(entity): db.session.delete(entity)
19.4
67
0.687285
43
291
4.581395
0.674419
0.137056
0.152284
0
0
0
0
0
0
0
0
0.020408
0.158076
291
15
68
19.4
0.783673
0.350515
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f344070bf5b842a71c352c47fd8286ac8710a98b
2,615
py
Python
src/baboon_tracking/stages/motion_detector/noise_reduction/hysteresis_filter.py
radioactivebean0/baboon-tracking
062351c514073aac8e1207b8b46ca89ece987928
[ "MIT" ]
6
2019-07-15T19:10:59.000Z
2022-02-01T04:25:26.000Z
src/baboon_tracking/stages/motion_detector/noise_reduction/hysteresis_filter.py
radioactivebean0/baboon-tracking
062351c514073aac8e1207b8b46ca89ece987928
[ "MIT" ]
86
2019-07-02T17:59:46.000Z
2022-02-01T23:23:08.000Z
src/baboon_tracking/stages/motion_detector/noise_reduction/hysteresis_filter.py
radioactivebean0/baboon-tracking
062351c514073aac8e1207b8b46ca89ece987928
[ "MIT" ]
7
2019-10-16T12:58:21.000Z
2022-03-08T00:31:32.000Z
""" Implements a filter using Hysteriesis """ import numpy as np from baboon_tracking.decorators.show_result import show_result from baboon_tracking.models.frame import Frame from baboon_tracking.mixins.moving_foreground_mixin import MovingForegroundMixin from pipeline import Stage from pipeline.decorators import stag...
32.283951
86
0.708222
277
2,615
6.231047
0.202166
0.229432
0.115875
0.105446
0.378331
0.319235
0.263615
0.176709
0.121089
0.121089
0
0.005882
0.219885
2,615
80
87
32.6875
0.840196
0.028681
0
0.118644
0
0
0.075089
0.068335
0
0
0
0
0
1
0.033898
false
0
0.118644
0
0.186441
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
f352159071d32e1a4f60366a0293b190fff36715
1,036
py
Python
drf_generators/templates/modelviewset.py
AfftaR/drf-generators
868f2d67012fcd84a0511f38e775d4f8c8a2bda4
[ "MIT" ]
null
null
null
drf_generators/templates/modelviewset.py
AfftaR/drf-generators
868f2d67012fcd84a0511f38e775d4f8c8a2bda4
[ "MIT" ]
null
null
null
drf_generators/templates/modelviewset.py
AfftaR/drf-generators
868f2d67012fcd84a0511f38e775d4f8c8a2bda4
[ "MIT" ]
null
null
null
__all__ = ['MODEL_URL', 'MODEL_VIEW'] MODEL_URL = """from rest_framework.routers import SimpleRouter from {{ app }}.api import views router = SimpleRouter() {% for model in models %} router.register(r'{{ model | lower }}', views.{{ model }}ViewSet){% endfor %} urlpatterns = router.urls """ MODEL_VIEW = """from ...
21.142857
77
0.633205
116
1,036
5.534483
0.456897
0.080997
0.065421
0.049844
0
0
0
0
0
0
0
0
0.218147
1,036
48
78
21.583333
0.792593
0
0
0.129032
0
0
0.940097
0.105314
0
0
0
0
0
1
0
false
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f355fd5f79afcf7fb8f12d84de6e2db45aaa9888
1,066
py
Python
SleekSecurity/layers/plugins/fingerprint/cms/magento.py
GitInitDev/ZohoUniv
966704837e65f58b52492b56d08e7958df3d220a
[ "Unlicense" ]
null
null
null
SleekSecurity/layers/plugins/fingerprint/cms/magento.py
GitInitDev/ZohoUniv
966704837e65f58b52492b56d08e7958df3d220a
[ "Unlicense" ]
null
null
null
SleekSecurity/layers/plugins/fingerprint/cms/magento.py
GitInitDev/ZohoUniv
966704837e65f58b52492b56d08e7958df3d220a
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # # @name: Wascan - Web Application Scanner # @repo: https://github.com/m4ll0k/Wascan # @author: Momo Outaadi (M4ll0k) # @license: See the file 'LICENSE.txt' from re import search,I def magento(headers,content): _ = False if 'set-cookie' in headers.keys(): _ ...
53.3
166
0.636961
155
1,066
4.316129
0.567742
0.06278
0.080717
0.112108
0.161435
0.137519
0
0
0
0
0
0.013859
0.120075
1,066
20
167
53.3
0.69936
0.184803
0
0
0
0
0.3708
0.095017
0
0
0
0
0
0
null
null
0
0.090909
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
f359cb6a085ddac9257b7788bb8078eab96b761d
331
py
Python
Resources/cli.py
ksu-is/Advanced-Calc-1
e8d66ff5c4dfc99c527d272228624bfde700022e
[ "MIT" ]
null
null
null
Resources/cli.py
ksu-is/Advanced-Calc-1
e8d66ff5c4dfc99c527d272228624bfde700022e
[ "MIT" ]
null
null
null
Resources/cli.py
ksu-is/Advanced-Calc-1
e8d66ff5c4dfc99c527d272228624bfde700022e
[ "MIT" ]
2
2019-11-04T22:38:48.000Z
2019-11-05T00:10:22.000Z
import pyser as parser import graph import sys def run(): graph.setup() print("""Welcome to GraphCalc To understand how it works type /help """) while True: try: parser.parse(input("> ")) except KeyboardInterrupt: ...
20.6875
49
0.501511
33
331
5.030303
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.410876
331
15
50
22.066667
0.851282
0
0
0
0
0
0.18429
0
0
0
0
0
0
1
0.071429
true
0
0.214286
0
0.285714
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f35d27c69bcc19920859c11ae29cc95030bd9758
851
py
Python
devops-console/apps/requirements/serializers.py
lilinghell/devops
1b2890d3f2d9f6e15e5b32d0910bc4768f065adc
[ "Apache-2.0" ]
4
2019-12-06T06:19:33.000Z
2021-12-23T13:05:06.000Z
devops-console/apps/requirements/serializers.py
lilinghell/devops
1b2890d3f2d9f6e15e5b32d0910bc4768f065adc
[ "Apache-2.0" ]
8
2020-03-15T03:40:38.000Z
2022-03-12T00:50:27.000Z
devops-console/apps/requirements/serializers.py
lilinghell/devops
1b2890d3f2d9f6e15e5b32d0910bc4768f065adc
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from teams.serializers import TeamSerializer from projects.serializers import ProjectLabelBaseSerializer from .models import Requirement from users.serializers import BasicUserSerializer class RequirementSerializer(serializers.ModelSerializer): class Meta: model = Re...
29.344828
68
0.730905
80
851
7.55
0.4375
0.084437
0.069536
0.124172
0.389073
0.389073
0.389073
0.251656
0.251656
0.251656
0
0
0.188014
851
28
69
30.392857
0.874096
0
0
0.47619
0
0
0.083431
0
0
0
0
0
0
1
0
false
0
0.238095
0
0.619048
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
f366b1d258350a32c4ca8faba139cf18531845c1
4,655
py
Python
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Example.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
null
null
null
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Example.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
null
null
null
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Example.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
1
2022-01-15T12:22:30.000Z
2022-01-15T12:22:30.000Z
#!/usr/bin/env python """ .. module:: Example :synopsis: Basic main file example for using SModelS. This file must be run under the installation folder. """ """ Import basic functions (this file must be executed in the installation folder) """ from smodels.theory import slhaDecomposer from smodels.theor...
39.449153
120
0.646617
554
4,655
5.416968
0.33574
0.018327
0.016994
0.00933
0.105298
0.072642
0.042652
0.042652
0.042652
0.042652
0
0.003792
0.263588
4,655
117
121
39.786325
0.871645
0.253706
0
0
0
0
0.232933
0.017699
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.323077
0
0
0
null
0
0
0
0
0
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
f36d52017c65fe115b999b3531af8ed11888ec72
9,085
py
Python
jts/backend/users/migrations/0001_initial.py
goupaz/babylon
4e638d02705469061e563fec349676d8faa9f648
[ "MIT" ]
1
2021-06-23T05:06:31.000Z
2021-06-23T05:06:31.000Z
backend/users/migrations/0001_initial.py
goupaz/website
ce1bc8b6c52ee0815a7b98842ec3bde0c20e0add
[ "Apache-2.0" ]
2
2020-10-09T19:16:09.000Z
2020-10-10T20:40:41.000Z
jts/backend/users/migrations/0001_initial.py
goupaz/babylon-hackathon
4e638d02705469061e563fec349676d8faa9f648
[ "MIT" ]
1
2019-07-21T01:42:21.000Z
2019-07-21T01:42:21.000Z
# Generated by Django 2.2 on 2019-10-09 18:19 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators import django.core.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migrat...
57.866242
329
0.623996
985
9,085
5.595939
0.24467
0.04082
0.043541
0.058599
0.429608
0.416183
0.321843
0.230044
0.213353
0.213353
0
0.011936
0.234562
9,085
156
330
58.237179
0.780702
0.004733
0
0.317568
1
0
0.202544
0.024115
0
0
0
0
0
1
0.006757
false
0.02027
0.047297
0
0.081081
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
f37523945a2ee16d03888947709ed0f23fea7273
8,023
py
Python
parser/parser.py
ikeandmike/banks_analytics
9174e470630363e5fb2b76d53164fda4e3e0d98e
[ "OLDAP-2.6" ]
null
null
null
parser/parser.py
ikeandmike/banks_analytics
9174e470630363e5fb2b76d53164fda4e3e0d98e
[ "OLDAP-2.6" ]
null
null
null
parser/parser.py
ikeandmike/banks_analytics
9174e470630363e5fb2b76d53164fda4e3e0d98e
[ "OLDAP-2.6" ]
null
null
null
#!/usr/bin/python import pandas as pd import numpy as np import datetime as dt import argparse import string pd.options.mode.chained_assignment = None pd.set_option('mode.use_inf_as_null', True) ############################### ## Set Command Line Options ############################### # Initialize Argument Parser ...
31.837302
105
0.66247
1,131
8,023
4.567639
0.269673
0.017422
0.012582
0.018389
0.111498
0.071429
0.071429
0.05633
0.05633
0.05633
0
0.004684
0.20167
8,023
252
106
31.837302
0.801874
0.362832
0
0.098485
0
0.007576
0.168106
0.020013
0
0
0
0
0
0
null
null
0
0.037879
null
null
0.075758
0
0
0
null
0
0
0
0
0
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
f3834d4c6ce230dd5b2bce40117453354b4be522
1,331
py
Python
home/migrations/0031_auto_20210410_0622.py
witty-technologies-empowerment/codeupblood
a0aa1725e5776d80e083b6d4e9e67476bb97e983
[ "MIT" ]
null
null
null
home/migrations/0031_auto_20210410_0622.py
witty-technologies-empowerment/codeupblood
a0aa1725e5776d80e083b6d4e9e67476bb97e983
[ "MIT" ]
null
null
null
home/migrations/0031_auto_20210410_0622.py
witty-technologies-empowerment/codeupblood
a0aa1725e5776d80e083b6d4e9e67476bb97e983
[ "MIT" ]
1
2022-01-19T11:09:13.000Z
2022-01-19T11:09:13.000Z
# Generated by Django 3.1.6 on 2021-04-10 13:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0030_auto_20210410_0533'), ] operations = [ migrations.CreateModel( name='Hospital', fields=[ ...
33.275
114
0.546206
126
1,331
5.619048
0.52381
0.127119
0.101695
0.135593
0.221751
0.107345
0.107345
0
0
0
0
0.053669
0.31405
1,331
39
115
34.128205
0.721796
0.033809
0
0.212121
1
0
0.114486
0.017913
0
0
0
0
0
1
0
false
0
0.030303
0
0.121212
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
f38bd21a59a9ee98ba2a450a9ff84b9a361f6512
1,498
py
Python
src/main/derivx_py/sample/test_derivx.py
xurendong/derivx_py
5ef9e989b1a299d41fd14fd22b7c9c05e04a5e4c
[ "BSD-3-Clause" ]
null
null
null
src/main/derivx_py/sample/test_derivx.py
xurendong/derivx_py
5ef9e989b1a299d41fd14fd22b7c9c05e04a5e4c
[ "BSD-3-Clause" ]
null
null
null
src/main/derivx_py/sample/test_derivx.py
xurendong/derivx_py
5ef9e989b1a299d41fd14fd22b7c9c05e04a5e4c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2021-2022 the DerivX authors # All rights reserved. # # The project sponsor and lead author is Xu Rendong. # E-mail: xrd@ustc.edu, QQ: 277195007, WeChat: ustc_xrd # See the contributors file for names of other contributors. # # Commercial use of this code in source and binary f...
25.827586
62
0.70494
201
1,498
5.159204
0.502488
0.033751
0.057859
0.025072
0.171649
0.171649
0.171649
0.171649
0.171649
0.171649
0
0.016667
0.198932
1,498
57
63
26.280702
0.8475
0.487984
0
0
0
0
0.130027
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0
0.26087
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f38f3a57e64ac2b7090d12f0aacbc121504e48c6
1,529
py
Python
backend/unpp_api/apps/review/migrations/0019_auto_20180629_1245.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
6
2017-11-21T10:00:44.000Z
2022-02-12T16:51:48.000Z
backend/unpp_api/apps/review/migrations/0019_auto_20180629_1245.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
995
2017-07-31T02:08:36.000Z
2022-03-08T22:44:03.000Z
backend/unpp_api/apps/review/migrations/0019_auto_20180629_1245.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
1
2021-07-21T10:45:15.000Z
2021-07-21T10:45:15.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-29 12:45 from __future__ import unicode_literals import common.database_fields import django.contrib.postgres.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('review', '0018_auto_20180625_11...
46.333333
363
0.661216
167
1,529
5.844311
0.502994
0.057377
0.081967
0.089139
0.429303
0.389344
0.254098
0.254098
0.254098
0.254098
0
0.03537
0.186396
1,529
32
364
47.78125
0.749196
0.045128
0
0.36
1
0
0.317776
0.015786
0
0
0
0
0
1
0
false
0
0.16
0
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f39470e68819d2795b88bdcab9c40d42fe5908a1
1,230
py
Python
accelerator_abstract/models/base_observer.py
masschallenge/django-accelerator
8af898b574be3b8335edc8961924d1c6fa8b5fd5
[ "MIT" ]
6
2017-06-14T19:34:01.000Z
2020-03-08T07:16:59.000Z
accelerator_abstract/models/base_observer.py
masschallenge/django-accelerator
8af898b574be3b8335edc8961924d1c6fa8b5fd5
[ "MIT" ]
160
2017-06-20T17:12:13.000Z
2022-03-30T13:53:12.000Z
accelerator_abstract/models/base_observer.py
masschallenge/django-accelerator
8af898b574be3b8335edc8961924d1c6fa8b5fd5
[ "MIT" ]
null
null
null
# MIT License # Copyright (c) 2017 MassChallenge, Inc. from __future__ import unicode_literals import swapper from django.db import models from accelerator_abstract.models.accelerator_model import AcceleratorModel class BaseObserver(AcceleratorModel): first_name = models.CharField(max_length=50, blank=True, nu...
34.166667
79
0.705691
148
1,230
5.601351
0.439189
0.054282
0.086852
0.115802
0.167672
0.167672
0.126659
0
0
0
0
0.015167
0.195935
1,230
35
80
35.142857
0.823054
0.04065
0
0
0
0
0.079014
0
0
0
0
0
0
1
0.038462
false
0
0.153846
0
0.576923
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
f3a6793fec1921e2177ffc377cb366cccf5fe82a
462
py
Python
Experimenter/Experiments/script/resting.py
chrox/RealTimeElectrophy
e1a331b23d0a034894a0185324de235091e54bf0
[ "BSD-2-Clause" ]
4
2016-07-16T01:22:32.000Z
2019-01-07T16:23:54.000Z
Experimenter/Experiments/script/resting.py
chrox/RealTimeElectrophy
e1a331b23d0a034894a0185324de235091e54bf0
[ "BSD-2-Clause" ]
null
null
null
Experimenter/Experiments/script/resting.py
chrox/RealTimeElectrophy
e1a331b23d0a034894a0185324de235091e54bf0
[ "BSD-2-Clause" ]
null
null
null
# Display blank screen. # # Copyright (C) 2010-2012 Huang Xin # # See LICENSE.TXT that came with this file. from __future__ import division from StimControl.LightStim.FrameControl import FrameSweep from StimControl.LightStim.Core import Dummy_Stimulus duration = 15.0 dummy_stimulus = Dummy_Stimulus() sweep = FrameS...
25.666667
57
0.796537
64
462
5.59375
0.640625
0.145251
0.134078
0.145251
0
0
0
0
0
0
0
0.036408
0.108225
462
18
58
25.666667
0.832524
0.209957
0
0
0
0
0.019444
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
f3a97ca94fa27e6d153e3dd5f68db0fc7640b68c
1,542
py
Python
garfield/sims/models.py
RobSpectre/garfield
ab806b7ad9221bd1b17c92daadd0a53a4f261cbe
[ "MIT" ]
3
2017-10-15T20:55:00.000Z
2018-04-25T21:30:57.000Z
garfield/sims/models.py
RobSpectre/garfield
ab806b7ad9221bd1b17c92daadd0a53a4f261cbe
[ "MIT" ]
12
2018-07-15T20:42:01.000Z
2021-06-10T17:39:46.000Z
garfield/sims/models.py
RobSpectre/garfield
ab806b7ad9221bd1b17c92daadd0a53a4f261cbe
[ "MIT" ]
1
2018-06-30T02:51:31.000Z
2018-06-30T02:51:31.000Z
from django.db import models class Sim(models.Model): date_created = models.DateTimeField(auto_now_add=True) date_modified = models.DateTimeField(auto_now=True) deleted = models.BooleanField(default=False) friendly_name = models.CharField(max_length=255) sid = models.CharField(max_length=255) ...
37.609756
73
0.603113
157
1,542
5.681529
0.369427
0.084081
0.100897
0.134529
0.559417
0.408072
0.408072
0.408072
0.408072
0.300448
0
0.019608
0.305447
1,542
40
74
38.55
0.813259
0
0
0.451613
0
0
0.051881
0.016213
0
0
0
0
0
1
0.064516
false
0
0.032258
0.064516
0.741935
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
f3b2a12e29ce46e79e31208f85f81980bf10e684
885
py
Python
utils.py
kingb12/flask_probanno
c0c57d3bac987eebc037ac21903c85ac628705a1
[ "MIT" ]
null
null
null
utils.py
kingb12/flask_probanno
c0c57d3bac987eebc037ac21903c85ac628705a1
[ "MIT" ]
null
null
null
utils.py
kingb12/flask_probanno
c0c57d3bac987eebc037ac21903c85ac628705a1
[ "MIT" ]
null
null
null
from flask import request, flash, redirect from werkzeug.utils import secure_filename import os # Utility files are silly. Develop this with caution def upload_file(app, request_file, allowed_types=None): # if user does not select file, browser also # submit a empty part without filename file_name = None ...
38.478261
79
0.734463
125
885
5.016
0.44
0.140351
0.151515
0.076555
0
0
0
0
0
0
0
0.002782
0.187571
885
23
80
38.478261
0.869263
0.146893
0
0
0
0
0.041223
0
0
0
0
0
0
0
null
null
0
0.1875
null
null
0.0625
0
0
0
null
0
0
0
0
0
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
f3bdd04dd33dbf41cad27969662a7431e9acd824
842
py
Python
Exercicios Python/ex098.py
ClaudioSiqueira/Exercicios-Python
128387769b34b7d42aee5c1effda16de21216e10
[ "MIT" ]
null
null
null
Exercicios Python/ex098.py
ClaudioSiqueira/Exercicios-Python
128387769b34b7d42aee5c1effda16de21216e10
[ "MIT" ]
null
null
null
Exercicios Python/ex098.py
ClaudioSiqueira/Exercicios-Python
128387769b34b7d42aee5c1effda16de21216e10
[ "MIT" ]
null
null
null
from time import sleep def contagem(inicio, fim, passo): print('-=' * 20) print('Contagem de {} até {} de {} em {}'.format(inicio, fim, passo, passo)) if passo == 0: passo = 1 if passo < 0: passo *= (-1) if inicio < fim: cont = inicio while cont <= fim: ...
22.756757
80
0.505938
106
842
4.018868
0.349057
0.084507
0.098592
0.103286
0.394366
0.394366
0.323944
0.323944
0.323944
0.323944
0
0.042403
0.327791
842
36
81
23.388889
0.710247
0
0
0.266667
0
0
0.143705
0
0
0
0
0
0
1
0.033333
false
0.333333
0.033333
0
0.066667
0.266667
0
0
0
null
0
0
0
0
0
0
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
f3bf78dfdc34ef48345503d815c77fbfef74d7f1
3,844
py
Python
front/migrations/0001_initial.py
stuzov/mine
078a4210b8da01cfcd350e14a1ec224b262c8b34
[ "MIT" ]
null
null
null
front/migrations/0001_initial.py
stuzov/mine
078a4210b8da01cfcd350e14a1ec224b262c8b34
[ "MIT" ]
null
null
null
front/migrations/0001_initial.py
stuzov/mine
078a4210b8da01cfcd350e14a1ec224b262c8b34
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-06-29 11:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='DumpTruck', fields=[ ...
49.922078
163
0.601717
359
3,844
6.286908
0.317549
0.136464
0.084183
0.03899
0.52016
0.52016
0.507754
0.479397
0.427116
0.427116
0
0.014873
0.265349
3,844
76
164
50.578947
0.784348
0.011707
0
0.449275
1
0
0.21675
0
0
0
0
0
0
1
0
false
0
0.028986
0
0.086957
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
f3bfb1a1ff297f6b3452a0d59d2317d0b1bc359e
3,427
py
Python
SPCTemp.py
beskakotov/mavr-SPCTemp
270beb6a49b575b30fc194b2c9be8ce02eb2d172
[ "MIT" ]
null
null
null
SPCTemp.py
beskakotov/mavr-SPCTemp
270beb6a49b575b30fc194b2c9be8ce02eb2d172
[ "MIT" ]
null
null
null
SPCTemp.py
beskakotov/mavr-SPCTemp
270beb6a49b575b30fc194b2c9be8ce02eb2d172
[ "MIT" ]
null
null
null
import pywinusb.hid as hid # from time import sleep, time # from datetime import datetime, date # from os.path import isfile # import pickle from statistics import median class FanControl: def __init__(self): self.Device = hid.HidDeviceFilter(vendor_id=0x16c0).get_devices()[0] self.Device.open() ...
32.951923
113
0.538372
396
3,427
4.570707
0.30303
0.039779
0.00663
0.023204
0.18232
0.143646
0.143646
0.045304
0.045304
0
0
0.038445
0.324482
3,427
104
114
32.951923
0.742981
0.030639
0
0.159091
0
0
0.056376
0
0
0
0.001809
0
0
0
null
null
0
0.022727
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
f3c10dc098126597099f9f481d5ca7641d15c325
24,491
py
Python
autocnet/io/db/model.py
readthedocs-assistant/autocnet
579cccd0edc4cd870b5d9671165ebd830f1112b8
[ "CC0-1.0" ]
17
2016-11-21T17:07:18.000Z
2022-01-16T06:14:04.000Z
autocnet/io/db/model.py
readthedocs-assistant/autocnet
579cccd0edc4cd870b5d9671165ebd830f1112b8
[ "CC0-1.0" ]
504
2015-12-17T18:46:11.000Z
2021-12-17T19:19:49.000Z
autocnet/io/db/model.py
readthedocs-assistant/autocnet
579cccd0edc4cd870b5d9671165ebd830f1112b8
[ "CC0-1.0" ]
42
2015-12-09T15:30:15.000Z
2022-02-24T04:47:46.000Z
import enum import json import sqlalchemy from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import (Column, String, Integer, Float, \ ForeignKey, Boolean, LargeBinary, \ UniqueConstraint, event, DateTime ) from sqlalchemy.dia...
35.238849
147
0.603283
2,603
24,491
5.470995
0.167499
0.027386
0.018959
0.018538
0.349414
0.316551
0.291412
0.274489
0.241345
0.216909
0
0.002558
0.297538
24,491
694
148
35.289625
0.825215
0.078804
0
0.361111
0
0
0.065057
0.005018
0
0
0
0
0
1
0.077778
false
0.005556
0.035185
0.022222
0.514815
0.001852
0
0
0
null
0
0
0
0
0
0
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
f3c1f82833405caadb6b093ed6f7cb302f787ab1
4,869
py
Python
examples/plot.py
zhester/hzpy
d41c002493a4f5b4667870fca0a2849307d51b34
[ "BSD-2-Clause" ]
3
2016-08-31T21:54:06.000Z
2018-05-29T13:37:02.000Z
examples/plot.py
zhester/hzpy
d41c002493a4f5b4667870fca0a2849307d51b34
[ "BSD-2-Clause" ]
null
null
null
examples/plot.py
zhester/hzpy
d41c002493a4f5b4667870fca0a2849307d51b34
[ "BSD-2-Clause" ]
null
null
null
#******************************************************************************* # plot.py # # Zac Hester <zac.hester@gmail.com> # 2012-07-27 # # Minimal plotting reference using numpy + matplotlib # #******************************************************************************* import matplotlib import matplotlib...
26.318919
80
0.496817
579
4,869
4.08981
0.283247
0.054899
0.003801
0.010135
0.088682
0.034628
0.034628
0.034628
0.024493
0
0
0.028758
0.371534
4,869
184
81
26.461957
0.745098
0.181968
0
0.102273
0
0
0.027892
0
0
0
0
0
0
0
null
null
0
0.079545
null
null
0.011364
0
0
0
null
0
0
0
0
0
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
f3c4ba2f062145f49a67a238849cb78a89e9686c
1,867
py
Python
turbulette/apps/auth/resolvers/policy.py
turbulette/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
31
2020-12-21T23:55:14.000Z
2022-03-04T12:57:10.000Z
turbulette/apps/auth/resolvers/policy.py
turbulette/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
57
2020-12-06T16:51:06.000Z
2022-02-14T22:10:40.000Z
turbulette/apps/auth/resolvers/policy.py
gazorby/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
3
2020-09-26T17:26:46.000Z
2020-11-02T22:57:52.000Z
"""Base policy resolvers.""" from graphql.type.definition import GraphQLResolveInfo from turbulette.apps.auth import policy from turbulette.apps.auth.core import STAFF_SCOPE from turbulette.cache import cache from turbulette.type import Claims @policy.condition("claim") async def claim( val, claims: Claims, inf...
25.575342
84
0.687199
226
1,867
5.619469
0.261062
0.08189
0.119685
0.170079
0.459055
0.419685
0.419685
0.419685
0.419685
0.419685
0
0
0.19925
1,867
72
85
25.930556
0.849498
0.149438
0
0.363636
0
0
0.055873
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.218182
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
45ed0580e69e8e89b5f032375f149e442c8c90b0
669
py
Python
proteus/tests/POD/svd.py
robertsawko/proteus
6f1e4c2ca1af85a906b35a5162430006f0343861
[ "NASA-1.3" ]
null
null
null
proteus/tests/POD/svd.py
robertsawko/proteus
6f1e4c2ca1af85a906b35a5162430006f0343861
[ "NASA-1.3" ]
null
null
null
proteus/tests/POD/svd.py
robertsawko/proteus
6f1e4c2ca1af85a906b35a5162430006f0343861
[ "NASA-1.3" ]
null
null
null
#!/usr/bin/env python from read_hdf5 import * T = 1.0 nDTout = 100 DT = T/float(nDTout) archive = Archiver.XdmfArchive(".","heat_3d",readOnly=True) import numpy as np u = read_from_hdf5(archive.hdfFile,'/u0') S = np.reshape(u,(np.shape(u)[0],1)) for i in range(1,nDTout+1): time_level_to_read=i label="/%s%d...
23.892857
59
0.659193
119
669
3.579832
0.470588
0.056338
0.042254
0.061033
0.220657
0.220657
0.093897
0.093897
0
0
0
0.030035
0.153961
669
27
60
24.777778
0.722615
0.029895
0
0
0
0
0.11592
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.105263
0
0
0
null
0
0
0
0
0
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
45ef476d549caad39c40f40e33bbe6ee0f1aaae3
4,539
py
Python
templates/smeagle/runtests.py
spack/build-si-containers
ccee442a1ae4012d12a6b23f1219db7b61e89539
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2021-05-23T22:10:02.000Z
2021-05-23T22:10:02.000Z
templates/smeagle/runtests.py
spack/build-si-containers
ccee442a1ae4012d12a6b23f1219db7b61e89539
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
12
2021-06-04T19:57:20.000Z
2021-10-15T00:16:26.000Z
templates/smeagle/runtests.py
spack/build-si-containers
ccee442a1ae4012d12a6b23f1219db7b61e89539
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2021-06-24T21:06:50.000Z
2021-06-24T21:06:50.000Z
#!/usr/bin/env python3 from glob import glob import subprocess import pytest import os import sys # This runscript provides functions to run smeagle single_test = True if "{{ experiment }}" == "single-test" else False double_test = True if "{{ experiment }}" == "double-test" else False manual_test = True if "{{ expe...
32.654676
217
0.627231
613
4,539
4.569331
0.262643
0.021421
0.024991
0.028561
0.272046
0.203499
0.106391
0.082828
0.048554
0.048554
0
0.002846
0.225821
4,539
138
218
32.891304
0.794252
0.09165
0
0.075949
0
0
0.150329
0.008936
0
0
0
0
0
0
null
null
0
0.063291
null
null
0.063291
0
0
0
null
0
0
0
0
0
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
340155844a36da66e5c18cb9974ae0fc1740cb8a
963
py
Python
app/api/models.py
opacam/user-service
5814b5292162af2d382423b9038c5d45fe89f21d
[ "MIT" ]
null
null
null
app/api/models.py
opacam/user-service
5814b5292162af2d382423b9038c5d45fe89f21d
[ "MIT" ]
2
2020-06-08T20:04:41.000Z
2020-07-29T19:20:28.000Z
app/api/models.py
opacam/user-service
5814b5292162af2d382423b9038c5d45fe89f21d
[ "MIT" ]
null
null
null
from sqlalchemy import ( Boolean, Column, ForeignKey, Integer, String, ) from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship Base = declarative_base() class User(Base): """Description for `users` database table.""" __tablename__ = "users" id...
26.75
63
0.692627
108
963
6.018519
0.407407
0.069231
0.069231
0.067692
0.116923
0.116923
0.116923
0.116923
0
0
0
0
0.187954
963
35
64
27.514286
0.831202
0.084112
0
0.076923
0
0
0.059701
0
0
0
0
0
0
1
0
false
0.038462
0.115385
0
0.653846
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
340538a23972c647e41d2256e32840e021b2037a
5,923
py
Python
nineml/dcn_test.py
DaisukeMiyamoto/nineml_test
8caf99325a83d1f290e19d017574fb9bbb8fea40
[ "MIT" ]
null
null
null
nineml/dcn_test.py
DaisukeMiyamoto/nineml_test
8caf99325a83d1f290e19d017574fb9bbb8fea40
[ "MIT" ]
null
null
null
nineml/dcn_test.py
DaisukeMiyamoto/nineml_test
8caf99325a83d1f290e19d017574fb9bbb8fea40
[ "MIT" ]
null
null
null
from mpi4py import MPI simulator = 'neuron' import nineml if simulator == 'neuron': from pype9.cells.neuron import CellMetaClass # @UnusedImport from neuron import h else: from pype9.cells.nest import CellMetaClass # @Reimport import os.path import sys import matplotlib.pyplot as plt h.load_file("multisp...
29.17734
126
0.509033
713
5,923
4.093969
0.239832
0.039054
0.026721
0.02912
0.189448
0.170264
0.145255
0.10483
0.10483
0.10483
0
0.010948
0.321459
5,923
202
127
29.321782
0.715352
0.069222
0
0.29078
0
0
0.077489
0.023379
0
0
0
0
0
0
null
null
0
0.056738
null
null
0.049645
0
0
0
null
0
0
0
0
0
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
3406e695d309939d01b22808ead1ec4b7943e6f2
3,028
py
Python
run_adversarial.py
RandallBalestriero/DNN
37df842a9fb8c69c49c3f55a7b6008ea3039cb65
[ "MIT" ]
null
null
null
run_adversarial.py
RandallBalestriero/DNN
37df842a9fb8c69c49c3f55a7b6008ea3039cb65
[ "MIT" ]
null
null
null
run_adversarial.py
RandallBalestriero/DNN
37df842a9fb8c69c49c3f55a7b6008ea3039cb65
[ "MIT" ]
null
null
null
from pylab import * import tensorflow as tf tf.logging.set_verbosity(tf.logging.ERROR) execfile('utils.py') execfile('models.py') execfile('lasagne_tf.py') DATASET = sys.argv[-1] lr = 0.0001 x_train,x_test,y_train,y_test,c,n_epochs,input_shape=load_utility(DATASET) n_epochs=100 p=permutation(len(x_train)) d...
43.257143
124
0.653236
474
3,028
3.978903
0.206751
0.055673
0.038176
0.042418
0.538176
0.439024
0.318134
0.307529
0.273595
0.222163
0
0.045455
0.135403
3,028
69
125
43.884058
0.674943
0.166777
0
0
0
0
0.212435
0.014747
0
0
0
0
0
0
null
null
0
0.040816
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
3407bd5151f998d210218a3932d61f35c0c203dc
1,022
py
Python
example_bot/modules/utils.py
Dopuu/scrap
810f87095507b2f080de9ef7f03cbd8c41f4c80f
[ "MIT" ]
null
null
null
example_bot/modules/utils.py
Dopuu/scrap
810f87095507b2f080de9ef7f03cbd8c41f4c80f
[ "MIT" ]
null
null
null
example_bot/modules/utils.py
Dopuu/scrap
810f87095507b2f080de9ef7f03cbd8c41f4c80f
[ "MIT" ]
null
null
null
from discord import Embed, User from datetime import datetime def create_embed(title='', description='', color=0xFFFFFF, author=None, thumbnail=None): embed = Embed(title=title, description=description, colour=color, timestamp=datetime.utcnow()) if author: embed.set_author(name=get_formatted_name(autho...
32.967742
98
0.671233
152
1,022
4.427632
0.375
0.062407
0.071322
0.077266
0.22734
0.22734
0.22734
0.22734
0.190193
0.190193
0
0.019208
0.184932
1,022
30
99
34.066667
0.788715
0
0
0.166667
0
0.041667
0.201566
0.133072
0
0
0.007828
0
0
1
0.166667
false
0
0.083333
0.083333
0.541667
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