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
03b0fe0de4ae0636d00c55661484ca4dce955457
393
py
Python
find_file_string_in_dir.py
shmiko/big-fat-python-tests
275876a49f7d55226bd718f4b8e3ef574aeecb21
[ "Apache-2.0" ]
null
null
null
find_file_string_in_dir.py
shmiko/big-fat-python-tests
275876a49f7d55226bd718f4b8e3ef574aeecb21
[ "Apache-2.0" ]
null
null
null
find_file_string_in_dir.py
shmiko/big-fat-python-tests
275876a49f7d55226bd718f4b8e3ef574aeecb21
[ "Apache-2.0" ]
null
null
null
import glob,os data_dir = 'H:\Prism Report Exports\myCVS' file_dir_extension = os.path.join(data_dir, '*.txt') for file_name in glob.glob(file_dir_extension): if file_name.endswith('.txt'): print (file_name) with open(file_name) as f: # open file for line in f: # process line by line if '...
30.230769
52
0.656489
63
393
3.936508
0.52381
0.129032
0.129032
0
0
0
0
0
0
0
0
0
0.231552
393
13
53
30.230769
0.821192
0.122137
0
0
0
0
0.134503
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
03b4c35f996ae999b1f1649b4bf7e0c61b1a0b50
4,134
py
Python
tests/my_deployment.py
mkindahl/mysql-replicant-python
e627d29feae623f3f406ea472ca8cfae97abaa97
[ "Apache-2.0" ]
null
null
null
tests/my_deployment.py
mkindahl/mysql-replicant-python
e627d29feae623f3f406ea472ca8cfae97abaa97
[ "Apache-2.0" ]
null
null
null
tests/my_deployment.py
mkindahl/mysql-replicant-python
e627d29feae623f3f406ea472ca8cfae97abaa97
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2010, Mats Kindahl, Charles Bell, and Lars Thalmann # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # ...
40.930693
70
0.643687
508
4,134
5.120079
0.409449
0.027682
0.023068
0.030757
0.188005
0.149558
0.149558
0.149558
0.149558
0.149558
0
0.013752
0.261248
4,134
100
71
41.34
0.837917
0.380261
0
0.22807
0
0
0.134192
0.046531
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.035088
0
0
0
null
0
0
0
0
0
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
03b4eefb19809b3fda266c7c247c9a7831cb0fdd
1,378
py
Python
migration/versions/dbf1daf55faf_cascade_delete_for_period_stars.py
JS555/YayanRuhianResearch_
313df2ff308b2c7444bcd64094dd64ff69a8911d
[ "MIT" ]
80
2015-06-21T12:29:41.000Z
2022-03-24T11:44:13.000Z
migration/versions/dbf1daf55faf_cascade_delete_for_period_stars.py
JS555/YayanRuhianResearch_
313df2ff308b2c7444bcd64094dd64ff69a8911d
[ "MIT" ]
179
2015-06-21T21:49:03.000Z
2022-01-20T12:34:23.000Z
migration/versions/dbf1daf55faf_cascade_delete_for_period_stars.py
JS555/YayanRuhianResearch_
313df2ff308b2c7444bcd64094dd64ff69a8911d
[ "MIT" ]
27
2015-09-16T01:58:32.000Z
2021-02-01T20:07:14.000Z
"""cascade delete for period stars Revision ID: dbf1daf55faf Revises: 1a44b70c747 Create Date: 2016-10-08 10:14:03.852963 """ revision = 'dbf1daf55faf' down_revision = '1a44b70c747' branch_labels = None depends_on = None from alembic import op def upgrade(): op.drop_constraint('report_all_daily_ibfk_1', 'repo...
39.371429
99
0.722787
188
1,378
4.898936
0.244681
0.175896
0.104235
0.091205
0.771987
0.738328
0.664495
0.585233
0.304017
0.119435
0
0.03928
0.113208
1,378
34
100
40.529412
0.714403
0.086357
0
0
0
0
0.404476
0.115108
0
0
0
0
0
1
0.095238
false
0
0.047619
0
0.142857
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
03b504910612508ec9fd442b70d198e3e6e32b4d
631
py
Python
src/setup.py
abhishekverma0207/unbiased-random-forest-importances
ba047db803064fec1b4046e4b2e05eef6d9fc7e6
[ "MIT" ]
null
null
null
src/setup.py
abhishekverma0207/unbiased-random-forest-importances
ba047db803064fec1b4046e4b2e05eef6d9fc7e6
[ "MIT" ]
null
null
null
src/setup.py
abhishekverma0207/unbiased-random-forest-importances
ba047db803064fec1b4046e4b2e05eef6d9fc7e6
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='rfpimp', version='1.2', url='https://github.com/parrt/random-forest-importances', license='MIT', py_modules=['rfpimp'], author='Terence Parr, Kerem Turgutlu', author_email='parrt@antlr.org, kcturgutlu@dons.usfca.edu', install_requires=['numpy','...
37.117647
89
0.694136
71
631
6.126761
0.802817
0.055172
0.078161
0
0
0
0
0
0
0
0
0.003802
0.166403
631
16
90
39.4375
0.823194
0
0
0
0
0
0.575277
0.03962
0
0
0
0
0
1
0
true
0
0.266667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
03b8fff2cdb61a0df470273cef145435eda537da
4,189
py
Python
yue/core/SymTr/SymTr_test.py
nsetzer/YueMusicPlayer
feaf6fe5c046b1a7f6b7774d4e86a2fbb1e431cf
[ "MIT" ]
null
null
null
yue/core/SymTr/SymTr_test.py
nsetzer/YueMusicPlayer
feaf6fe5c046b1a7f6b7774d4e86a2fbb1e431cf
[ "MIT" ]
null
null
null
yue/core/SymTr/SymTr_test.py
nsetzer/YueMusicPlayer
feaf6fe5c046b1a7f6b7774d4e86a2fbb1e431cf
[ "MIT" ]
1
2019-03-06T14:29:27.000Z
2019-03-06T14:29:27.000Z
#! python34 # prove that there are not changes between versions of PyCrypto from __future__ import unicode_literals import unittest from yue.core.SymTr.SymTr import SymTr class TestSymTr(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def main_test(self,src,tar=None):...
34.336066
103
0.581046
576
4,189
4.105903
0.326389
0.131924
0.192812
0.035941
0.221142
0.147992
0.147992
0.104863
0.071882
0.047357
0
0.094868
0.232514
4,189
121
104
34.619835
0.640747
0.17546
0
0.135135
0
0
0.268065
0.072261
0
0
0
0
0.040541
1
0.135135
false
0.027027
0.040541
0
0.189189
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
03bcd02fc84235ce553da6b4605a08eff11f0a65
1,195
py
Python
DiceFinding/dice_finding/TransformUtil.py
TylerDodds/DiceFinding
5c0603f7f6fdfeb7fe1d160ca24c04ae04f3b2df
[ "Apache-2.0" ]
null
null
null
DiceFinding/dice_finding/TransformUtil.py
TylerDodds/DiceFinding
5c0603f7f6fdfeb7fe1d160ca24c04ae04f3b2df
[ "Apache-2.0" ]
null
null
null
DiceFinding/dice_finding/TransformUtil.py
TylerDodds/DiceFinding
5c0603f7f6fdfeb7fe1d160ca24c04ae04f3b2df
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Dice Finding Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
47.8
100
0.718828
157
1,195
5.388535
0.579618
0.070922
0.030733
0.037825
0
0
0
0
0
0
0
0.014749
0.148954
1,195
25
101
47.8
0.817109
0.676987
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
03d62f729da9db9708bf10b4b2156bf7ccff83fd
9,720
py
Python
mms/accounting/models.py
rtucker/django-mms
0636f472f8b3caa495ef18402a03af7057871945
[ "MIT" ]
4
2017-11-03T20:26:37.000Z
2021-03-26T17:59:40.000Z
mms/accounting/models.py
rtucker/django-mms
0636f472f8b3caa495ef18402a03af7057871945
[ "MIT" ]
null
null
null
mms/accounting/models.py
rtucker/django-mms
0636f472f8b3caa495ef18402a03af7057871945
[ "MIT" ]
2
2017-06-03T13:21:16.000Z
2017-09-03T22:06:05.000Z
from django.db import models from django.db.models import Sum, Q from django.utils import timezone from decimal import Decimal class LedgerAccount(models.Model): """A particular account in the accounting ledger system. All transactions must have a left side (debit) and a right side (credit), and they mu...
35.217391
79
0.606996
1,129
9,720
5.086802
0.23295
0.021069
0.017064
0.01985
0.236462
0.161762
0.122932
0.10343
0.10343
0.10343
0
0.008704
0.279012
9,720
275
80
35.345455
0.810788
0.479218
0
0.149533
0
0
0.073294
0
0
0
0
0
0
1
0.084112
false
0
0.037383
0.009346
0.560748
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
03d93a67d7577a3dad197f14d8fb05005b95c45c
281
py
Python
example_snippets/multimenus_snippets/Snippets/Python/Regular expressions/Lookaheadbehind/Negative lookbehind.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/Python/Regular expressions/Lookaheadbehind/Negative lookbehind.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/Python/Regular expressions/Lookaheadbehind/Negative lookbehind.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
string = "Janet Asimov" pattern = re.compile(r"(?<!Isaac )Asimov") # Will match any Asimov except Isaac, and only keep "Asimov" result = re.search(pattern, string) if result is not None: print("Substring '{0}' was found in the range {1}".format(result.group(), result.span()))
56.2
104
0.697509
43
281
4.55814
0.767442
0
0
0
0
0
0
0
0
0
0
0.008333
0.145907
281
5
105
56.2
0.808333
0.206406
0
0
0
0
0.31982
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
03da433f9740f51c44ddaf142341c57648e53fa8
9,084
py
Python
lang/py/parse.py
abhishek9594/nl_to_pl
09c6ad979e3b8d7b4432a4f701875d959adaa972
[ "MIT" ]
null
null
null
lang/py/parse.py
abhishek9594/nl_to_pl
09c6ad979e3b8d7b4432a4f701875d959adaa972
[ "MIT" ]
null
null
null
lang/py/parse.py
abhishek9594/nl_to_pl
09c6ad979e3b8d7b4432a4f701875d959adaa972
[ "MIT" ]
null
null
null
#adapted from https://github.com/pcyin/NL2code import ast import astor import re from astnode import ASTNode from grammar import is_compositional_leaf, PY_AST_NODE_FIELDS, NODE_FIELD_BLACK_LIST, is_builtin_type, is_terminal_ast_type from util import typename, parse_rule, extract_val_GenToken def python_ast_to_parse_...
33.397059
123
0.611515
1,227
9,084
4.234719
0.153219
0.04157
0.018476
0.018476
0.320054
0.260585
0.221709
0.153195
0.123172
0.123172
0
0.002959
0.293043
9,084
271
124
33.520295
0.806135
0.073426
0
0.193717
0
0
0.111337
0.02685
0
0
0
0
0.026178
1
0.041885
false
0.073298
0.031414
0
0.13089
0.005236
0
0
0
null
0
0
0
0
0
0
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
03e3493a7cdf3758897adc3f97302315625f65ae
516
py
Python
scripts/plot.py
saksham/CarND-Advanced-Lane-Lines
0ac649696bc00cf7be03107733eba0e4dbd27d9f
[ "MIT" ]
null
null
null
scripts/plot.py
saksham/CarND-Advanced-Lane-Lines
0ac649696bc00cf7be03107733eba0e4dbd27d9f
[ "MIT" ]
null
null
null
scripts/plot.py
saksham/CarND-Advanced-Lane-Lines
0ac649696bc00cf7be03107733eba0e4dbd27d9f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import math from matplotlib import image as mpimg from matplotlib import pyplot as plt # measured coordinates from lane corners for perspective transform # img = mpimg.imread('examples/straight_lines1.jpg') # measured lane marking for calculating curvature img = mpimg....
25.8
113
0.751938
77
516
5.012987
0.74026
0.072539
0.103627
0
0
0
0
0
0
0
0
0.04698
0.133721
516
19
114
27.157895
0.816555
0.401163
0
0
0
0
0.368421
0.134868
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
03e48a918f4c98d0eb131c1582601c0e76eac899
526
py
Python
notice/migrations/0003_auto_20200417_1223.py
kozlyuk/appart
4a02cd31035949eaf5966f5b1975e1c6430b4d40
[ "MIT" ]
null
null
null
notice/migrations/0003_auto_20200417_1223.py
kozlyuk/appart
4a02cd31035949eaf5966f5b1975e1c6430b4d40
[ "MIT" ]
4
2021-03-30T13:42:02.000Z
2021-09-22T19:19:17.000Z
notice/migrations/0003_auto_20200417_1223.py
kozlyuk/appart
4a02cd31035949eaf5966f5b1975e1c6430b4d40
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2020-04-17 12:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('notice', '0002_question_title'), ] operations = [ migrations.AlterField( model_name='notice', ...
26.3
158
0.655894
60
526
5.666667
0.65
0.070588
0.082353
0.129412
0
0
0
0
0
0
0
0.0489
0.222433
526
19
159
27.684211
0.782396
0.087452
0
0
1
0
0.146444
0.043933
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
03e73f0ca52a6eb7991e3dad64bf6878a037141e
1,565
py
Python
src/whacked4/dehacked/action_argument.py
atsb/WhackEd4
6b922370b81a5e77bcaff30ac3324a91ce4a1f8c
[ "BSD-2-Clause" ]
25
2015-04-21T03:08:39.000Z
2022-02-28T21:59:48.000Z
src/whacked4/dehacked/action_argument.py
atsb/WhackEd4
6b922370b81a5e77bcaff30ac3324a91ce4a1f8c
[ "BSD-2-Clause" ]
26
2015-01-21T14:44:43.000Z
2022-02-04T17:56:18.000Z
src/whacked4/dehacked/action_argument.py
atsb/WhackEd4
6b922370b81a5e77bcaff30ac3324a91ce4a1f8c
[ "BSD-2-Clause" ]
5
2015-09-30T19:46:15.000Z
2022-03-30T18:48:18.000Z
from typing import Tuple, Optional from whacked4.enum import WhackedEnum class ActionArgumentType(WhackedEnum): """ Types of action arguments. """ THING = 'thing' STATE = 'state' SOUND = 'sound' AMMO = 'ammo' WEAPON = 'weapon' INTEGER = 'integer' FIXED_POINT = 'fixedpoint' ...
25.655738
106
0.611502
170
1,565
5.570588
0.388235
0.063358
0.095037
0.038015
0.031679
0
0
0
0
0
0
0.002686
0.286262
1,565
60
107
26.083333
0.845121
0.273482
0
0
0
0
0.069608
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
03edbe6084147d37ea6427e2e295e8de76f21061
385
py
Python
echome/vmmanager/migrations/0012_alter_volume_size.py
jasoncolburne/echome
a5ab87666ae859d1ca8e4902d5c441c0ce36547a
[ "MIT" ]
2
2022-01-31T19:32:51.000Z
2022-01-31T22:42:13.000Z
echome/vmmanager/migrations/0012_alter_volume_size.py
jasoncolburne/echome
a5ab87666ae859d1ca8e4902d5c441c0ce36547a
[ "MIT" ]
7
2021-04-04T01:15:53.000Z
2022-02-07T03:34:48.000Z
echome/vmmanager/migrations/0012_alter_volume_size.py
jasoncolburne/echome
a5ab87666ae859d1ca8e4902d5c441c0ce36547a
[ "MIT" ]
1
2022-02-01T11:34:50.000Z
2022-02-01T11:34:50.000Z
# Generated by Django 3.2.6 on 2021-10-09 15:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vmmanager', '0011_auto_20211009_1531'), ] operations = [ migrations.AlterField( model_name='volume', name='size', ...
20.263158
49
0.597403
41
385
5.512195
0.853659
0
0
0
0
0
0
0
0
0
0
0.113139
0.288312
385
18
50
21.388889
0.711679
0.116883
0
0
1
0
0.12426
0.068047
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
03f0e053a1620a04d8e58a1bd97eccbe30370b46
826
py
Python
state_machines/timer.py
aweimeow/enodebd
e1cd20693153e6b85e5d1bf9d21af2501c358601
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
state_machines/timer.py
aweimeow/enodebd
e1cd20693153e6b85e5d1bf9d21af2501c358601
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
state_machines/timer.py
aweimeow/enodebd
e1cd20693153e6b85e5d1bf9d21af2501c358601
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# SPDX-FileCopyrightText: 2020 The Magma Authors. # SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org> # # SPDX-License-Identifier: BSD-3-Clause from datetime import datetime, timedelta class StateMachineTimer(): def __init__(self, seconds_remaining: int) -> None: self.s...
31.769231
86
0.693705
98
826
5.663265
0.459184
0.099099
0.07027
0.079279
0.126126
0.126126
0.126126
0
0
0
0
0.015267
0.207022
826
25
87
33.04
0.832061
0.205811
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.066667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
03f5ac58468892f08e698c93f991f91b7848be4c
435
py
Python
map/migrations/0004_auto_20171010_0937.py
noah-dev/meetup_map
fa047518e7c932960473018460a20c3149e61d98
[ "MIT" ]
null
null
null
map/migrations/0004_auto_20171010_0937.py
noah-dev/meetup_map
fa047518e7c932960473018460a20c3149e61d98
[ "MIT" ]
2
2020-02-11T23:22:17.000Z
2020-06-05T17:24:58.000Z
map/migrations/0004_auto_20171010_0937.py
noah-dev/event_mapper
fa047518e7c932960473018460a20c3149e61d98
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-10-10 14:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('map', '0003_stats'), ] operations = [ migrations.AlterField( mo...
20.714286
54
0.602299
48
435
5.291667
0.791667
0
0
0
0
0
0
0
0
0
0
0.066667
0.275862
435
20
55
21.75
0.739683
0.156322
0
0
1
0
0.06044
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
03fdfc6e1f55fec868ca12db530251a9d3ab93d3
1,976
py
Python
src/nameko_keycloak/auth.py
Emplocity/nameko-keycloak
64a2ad0f1b9fc17a2932edaf3d9192f89d0d33d4
[ "Apache-2.0" ]
4
2021-09-03T09:05:35.000Z
2022-01-14T20:05:27.000Z
src/nameko_keycloak/auth.py
Emplocity/nameko-keycloak
64a2ad0f1b9fc17a2932edaf3d9192f89d0d33d4
[ "Apache-2.0" ]
1
2021-10-09T19:00:00.000Z
2021-10-09T19:00:00.000Z
src/nameko_keycloak/auth.py
Emplocity/nameko-keycloak
64a2ad0f1b9fc17a2932edaf3d9192f89d0d33d4
[ "Apache-2.0" ]
null
null
null
import logging from typing import Optional from jose import JOSEError from keycloak import KeycloakOpenID from werkzeug import Request from .types import FetchUserCallable, Token, User logger = logging.getLogger(__name__) def get_token_from_request(request: Request) -> Optional[Token]: if "Authorization" not i...
31.365079
82
0.679656
240
1,976
5.4375
0.3625
0.067433
0.022989
0.029119
0.180843
0.102682
0.062835
0.062835
0
0
0
0.000673
0.248482
1,976
62
83
31.870968
0.878114
0.257591
0
0.090909
0
0
0.048516
0
0
0
0
0
0
1
0.151515
false
0
0.181818
0
0.575758
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
03fe6536810b5fe7ed2308bbf5c5f0d2fced1929
4,359
py
Python
high-confidence-biomarkers/high_confidence_files.py
elifesciences-publications/genomic-features-survival
8c7c62696f56a84b674369391c71ff0c223c9ffd
[ "MIT" ]
15
2019-04-15T21:24:02.000Z
2022-01-31T01:17:48.000Z
high-confidence-biomarkers/high_confidence_files.py
elifesciences-publications/genomic-features-survival
8c7c62696f56a84b674369391c71ff0c223c9ffd
[ "MIT" ]
null
null
null
high-confidence-biomarkers/high_confidence_files.py
elifesciences-publications/genomic-features-survival
8c7c62696f56a84b674369391c71ff0c223c9ffd
[ "MIT" ]
5
2018-12-07T10:03:28.000Z
2022-03-11T21:08:19.000Z
#!/usr/bin/env python # encoding: utf-8 ''' high_confidence_files.py Created by Joan Smith on 2017-11-04. Collect zscores across TCGA, MSKCC, and ICGC for finding high confidence biomarkers This script produces output files for mutation and cna for each cancer type included in the input file Copyright (c) 2018. All ...
35.153226
97
0.731819
594
4,359
5.138047
0.292929
0.042595
0.04194
0.04325
0.26671
0.184797
0.132372
0.097641
0.074705
0.074705
0
0.011355
0.131223
4,359
123
98
35.439024
0.79456
0.008259
0
0.067416
0
0
0.239801
0.13408
0
0
0
0
0
0
null
null
0
0.101124
null
null
0.022472
0
0
0
null
0
0
0
0
0
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
03fe6ad01a8991efad69bcaaebf696bd00ace612
1,410
py
Python
parameters_yolo.py
chawins/aml
f62254ff92ff67bab427cb44fe470a5f39975cbe
[ "MIT" ]
null
null
null
parameters_yolo.py
chawins/aml
f62254ff92ff67bab427cb44fe470a5f39975cbe
[ "MIT" ]
null
null
null
parameters_yolo.py
chawins/aml
f62254ff92ff67bab427cb44fe470a5f39975cbe
[ "MIT" ]
3
2019-07-31T10:45:06.000Z
2020-04-19T21:33:07.000Z
# Import packages for all files import os import pickle import random import threading import time from os import listdir import cv2 import keras import keras.backend as K import matplotlib.pyplot as plt import numpy as np import tensorflow as tf from keras.optimizers import SGD from keras.preprocessing.image import I...
33.571429
79
0.664539
185
1,410
4.956757
0.508108
0.043621
0.039258
0.062159
0
0
0
0
0
0
0
0.035714
0.285106
1,410
41
80
34.390244
0.874008
0.248227
0
0
0
0
0.053691
0.041227
0
0
0
0
0
1
0
false
0
0.53125
0
0.53125
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
ff0a0bfe699252c99a1d14504a2408546e4e02e9
1,001
py
Python
CodeWars/Python/4 kyu/Infix to Postfix Converter/main.py
opastushkov/codewars-solutions
0132a24259a4e87f926048318332dcb4d94858ca
[ "MIT" ]
null
null
null
CodeWars/Python/4 kyu/Infix to Postfix Converter/main.py
opastushkov/codewars-solutions
0132a24259a4e87f926048318332dcb4d94858ca
[ "MIT" ]
null
null
null
CodeWars/Python/4 kyu/Infix to Postfix Converter/main.py
opastushkov/codewars-solutions
0132a24259a4e87f926048318332dcb4d94858ca
[ "MIT" ]
null
null
null
def to_postfix(infix): priority = {'*': 1, '/': 1, '^': 1, '+': 0, '-': 0, '(': 0 } res = '' stack = [] for x in infix: if x.isdigit(): res += x elif x == '(': stack.a...
28.6
77
0.357642
102
1,001
3.5
0.22549
0.117647
0.134454
0.179272
0.560224
0.464986
0.464986
0.464986
0.464986
0.464986
0
0.032381
0.475524
1,001
34
78
29.441176
0.647619
0
0
0.28125
0
0
0.016983
0
0
0
0
0
0
1
0.03125
false
0
0
0
0.0625
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
ff0d0c33fe6f059d360f12c54b9824ab0d80b92b
2,113
py
Python
src/lib/pq_profile.py
hkrsnd/ml-pqgram
2e141586848969b3b2053a20b153d0c8cf8377f2
[ "MIT" ]
4
2021-09-04T07:21:08.000Z
2022-03-20T12:34:35.000Z
src/lib/pq_profile.py
hkrsnd/ml-pqgram
2e141586848969b3b2053a20b153d0c8cf8377f2
[ "MIT" ]
1
2019-11-12T04:44:18.000Z
2020-03-10T05:22:30.000Z
src/lib/pq_profile.py
hkrsnd/ml-pqgram
2e141586848969b3b2053a20b153d0c8cf8377f2
[ "MIT" ]
null
null
null
import copy class Profile(object): """ Profile represents the pq-gram profiles. """ def __init__(self, root, p=2, q=2): """ Create pq-gram profile from given p and q values. """ super(Profile, self).__init__() ancestors = ShiftRegister(p) self.list = li...
24.858824
113
0.555135
242
2,113
4.702479
0.31405
0.063269
0.038664
0.079086
0.173989
0.115993
0
0
0
0
0
0.003539
0.331283
2,113
84
114
25.154762
0.80184
0.147657
0
0.108696
0
0
0.001211
0
0
0
0
0
0
1
0.23913
false
0
0.021739
0.086957
0.413043
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
ff0e40e9d54271dc36fdf851e7fca111e98d29b3
15,680
py
Python
moviepy/video/compositing/MultiCam.py
theContentMint/moviepy
a2f74d1152563b4a6dafc6c9cdb688c7a5244965
[ "MIT" ]
1
2019-10-08T23:12:16.000Z
2019-10-08T23:12:16.000Z
moviepy/video/compositing/MultiCam.py
theContentMint/moviepy
a2f74d1152563b4a6dafc6c9cdb688c7a5244965
[ "MIT" ]
null
null
null
moviepy/video/compositing/MultiCam.py
theContentMint/moviepy
a2f74d1152563b4a6dafc6c9cdb688c7a5244965
[ "MIT" ]
null
null
null
""" This module is a collection of functions to help with multi cam editing, including the multicam class. Note: You need scipy for sync """ import os import subprocess #from moviepy.video.compositing.CompositeVideoClip import CompositeVideoClip #from moviepy.video.VideoClip import VideoClip from moviepy.audio.io.Audi...
38.62069
181
0.563839
1,962
15,680
4.420489
0.198267
0.029978
0.019601
0.029978
0.290672
0.238556
0.214228
0.176871
0.146316
0.12487
0
0.01702
0.329273
15,680
405
182
38.716049
0.807645
0.064031
0
0.246032
0
0
0.040881
0
0
0
0
0.004938
0
0
null
null
0
0.047619
null
null
0.043651
0
0
0
null
0
0
0
0
0
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
ff0e5be99bd5b0724c0575700fac6fcabfb9d914
412
py
Python
setup.py
ldgr/yorke
8f3af07c0751aef5e452ad250a02bd1445549d61
[ "Apache-2.0" ]
null
null
null
setup.py
ldgr/yorke
8f3af07c0751aef5e452ad250a02bd1445549d61
[ "Apache-2.0" ]
null
null
null
setup.py
ldgr/yorke
8f3af07c0751aef5e452ad250a02bd1445549d61
[ "Apache-2.0" ]
null
null
null
import setuptools setuptools.setup( name='yorke', version='0.0.1', url='https://github.com/ldgr/yorke', license='Apache', author='Ldgr Corporation', author_email='patrick@ldgr.io', description='Experimental encryption tools. ', long_description=open('README.md').read(), py_modules=...
22.888889
50
0.657767
48
412
5.541667
0.8125
0
0
0
0
0
0
0
0
0
0
0.008772
0.169903
412
17
51
24.235294
0.769006
0
0
0
0
0
0.322816
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
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
ff1022a3eb50970c5c393dacb9a623cdb73a8c74
6,155
py
Python
light.py
Fmstrat/FreeCAD-ArchTextures
e3af6198ea5e07848602a3b8ba01ebab2335d6b1
[ "MIT" ]
21
2018-11-16T05:56:31.000Z
2021-11-09T13:21:53.000Z
light.py
Fmstrat/FreeCAD-ArchTextures
e3af6198ea5e07848602a3b8ba01ebab2335d6b1
[ "MIT" ]
39
2018-10-02T18:16:18.000Z
2022-02-11T13:45:50.000Z
light.py
Fmstrat/FreeCAD-ArchTextures
e3af6198ea5e07848602a3b8ba01ebab2335d6b1
[ "MIT" ]
10
2019-07-15T16:34:51.000Z
2022-01-25T23:57:03.000Z
import FreeCAD import FreeCADGui from pivy import coin import arch_texture_utils.faceset_utils as faceset_utils class Light(): def __init__(self, obj): obj.Proxy = self self.setProperties(obj) def setProperties(self, obj): pl = obj.PropertiesList if not 'Color' in pl: ...
30.775
99
0.627782
612
6,155
6.251634
0.297386
0.023523
0.003136
0.013591
0.053319
0.030319
0.030319
0.030319
0.030319
0.030319
0
0.007421
0.277498
6,155
200
100
30.775
0.852935
0.086759
0
0.170543
0
0
0.071722
0.004996
0
0
0
0
0
1
0.20155
false
0.015504
0.031008
0.031008
0.310078
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
ff19b484b3543e9935c5a43760bfe2a1c1ea6fa9
488
py
Python
tests/test.py
oeg-upm/ssspotter
a9e2906c1193a9550bb7ebc3baf0d5f9b173ad50
[ "Apache-2.0" ]
null
null
null
tests/test.py
oeg-upm/ssspotter
a9e2906c1193a9550bb7ebc3baf0d5f9b173ad50
[ "Apache-2.0" ]
2
2019-07-09T09:13:09.000Z
2021-06-01T23:58:47.000Z
tests/test.py
oeg-upm/ssspotter
a9e2906c1193a9550bb7ebc3baf0d5f9b173ad50
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import os import sys sys.path.append(os.path.dirname(os.path.abspath(__file__))) # added this to import app.py sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from test_simple import TestSimpleSpotter import unittest test_cases = unittest.TestLoader...
28.705882
76
0.809426
66
488
5.742424
0.484848
0.079156
0.102902
0.118734
0.261214
0.261214
0.261214
0.168865
0
0
0
0
0.07582
488
16
77
30.5
0.840355
0.055328
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
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
0
0
0
0
1
0
0
0
0
1
205bfee45328ef7f04b9eb1346774cf479395d99
5,894
py
Python
honeybee/honeybee.py
Engineero/artificial_bee_colony
d19ffd177d11dae35bc518a464db6d6b0d8eaae4
[ "MIT" ]
7
2018-05-31T18:34:15.000Z
2021-11-24T12:06:13.000Z
honeybee/honeybee.py
Engineero/artificial_bee_colony
d19ffd177d11dae35bc518a464db6d6b0d8eaae4
[ "MIT" ]
7
2018-05-29T21:30:56.000Z
2021-03-15T00:07:34.000Z
honeybee/honeybee.py
Engineero/artificial_bee_colony
d19ffd177d11dae35bc518a464db6d6b0d8eaae4
[ "MIT" ]
2
2020-08-27T14:42:01.000Z
2020-10-07T15:30:46.000Z
""" Classes to implement the artificial bee colony algorithm. """ from numpy.random import uniform class Colony: """ Implements the artificial bee colony algorithm. Args: objective: objective function called by each bee at each food source. Must return a "honey" value that will be max...
37.541401
92
0.593315
733
5,894
4.701228
0.27558
0.031341
0.015961
0.013929
0.129135
0.089379
0.065003
0.065003
0.065003
0.065003
0
0.00281
0.335935
5,894
156
93
37.782051
0.877619
0.51527
0
0.163934
0
0
0.063537
0
0
0
0
0.012821
0
1
0.147541
false
0.032787
0.016393
0
0.213115
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
205de017c672a98e299e0f7f4e8c8058c7da46d0
1,286
py
Python
examples/morphology/find_pos.py
mertozen/TextMiningProject
4ddd2ce39525cc263e64167f68c3e8472a4da231
[ "Apache-2.0" ]
1
2019-12-02T19:53:06.000Z
2019-12-02T19:53:06.000Z
examples/morphology/find_pos.py
Nurhak/Zemberek-Python-Examples
165ab1fcab1bb26e49b79ad9a9d738401f0e7510
[ "Apache-2.0" ]
null
null
null
examples/morphology/find_pos.py
Nurhak/Zemberek-Python-Examples
165ab1fcab1bb26e49b79ad9a9d738401f0e7510
[ "Apache-2.0" ]
1
2019-12-16T05:34:49.000Z
2019-12-16T05:34:49.000Z
""" Zemberek: Finding POS Tag Example Documentation: https://bit.ly/32WCfyi Java Code Example: https://bit.ly/2Nn7hse """ from os.path import join from typing import List from jpype import JClass, getDefaultJVMPath, java, shutdownJVM, startJVM if __name__ == '__main__': ZEMBEREK_PATH: str = join('..', '..', 'bi...
26.244898
79
0.625194
133
1,286
5.969925
0.533835
0.04534
0.025189
0
0
0
0
0
0
0
0
0.006073
0.231726
1,286
48
80
26.791667
0.797571
0.087869
0
0
0
0
0.311588
0.136481
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
2072c307fd6b120fd0b53737c65e318282ed4a00
332
py
Python
L1TriggerConfig/L1GtConfigProducers/python/L1GtPrescaleFactorsTechTrigConfig_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
L1TriggerConfig/L1GtConfigProducers/python/L1GtPrescaleFactorsTechTrigConfig_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
L1TriggerConfig/L1GtConfigProducers/python/L1GtPrescaleFactorsTechTrigConfig_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from L1TriggerConfig.L1GtConfigProducers.l1GtPrescaleFactorsTechTrig_cfi import * # L1GtPrescaleFactorsTechTrigRcdSource = cms.ESSource("EmptyESSource", recordName = cms.string('L1GtPrescaleFactorsTechTrigRcd'), iovIsRunNotTime = cms.bool(True), firstValid = cms.vui...
27.666667
81
0.801205
28
332
9.464286
0.821429
0
0
0
0
0
0
0
0
0
0
0.027119
0.111446
332
11
82
30.181818
0.871186
0
0
0
0
0
0.130699
0.091185
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
207a2e7729ee2fbcf04c01b70d36e9cee7dc64fc
1,467
py
Python
orio/validators/base.py
NIEHS/orio
bf996ebcf41d14b945cd5848460b023376b637ad
[ "MIT" ]
6
2017-04-19T08:49:20.000Z
2020-12-18T16:13:28.000Z
orio/validators/base.py
NIEHS/orio
bf996ebcf41d14b945cd5848460b023376b637ad
[ "MIT" ]
null
null
null
orio/validators/base.py
NIEHS/orio
bf996ebcf41d14b945cd5848460b023376b637ad
[ "MIT" ]
1
2020-12-18T16:14:45.000Z
2020-12-18T16:14:45.000Z
import os from abc import abstractmethod from .. import utils class Validator(object): def __init__(self): self.validation_errors = [] self.validation_warnings = [] @property def is_valid(self): return len(self.validation_errors) == 0 @abstractmethod def validate(self):...
24.864407
74
0.66803
194
1,467
4.871134
0.283505
0.133333
0.10582
0.044444
0.396825
0.396825
0.339683
0.271958
0.237037
0.237037
0
0.002593
0.211316
1,467
58
75
25.293103
0.814175
0
0
0.2
0
0
0.074983
0
0
0
0
0
0
1
0.3
false
0.025
0.075
0.075
0.55
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
207a555b6de715c241d6c571c74000855010f433
11,389
py
Python
alphabrew/GUI/Base/MainWindow.py
jwjulien/alphabrew
2cd9a4662bad6252ee27562edd9116d0b224180f
[ "MIT" ]
null
null
null
alphabrew/GUI/Base/MainWindow.py
jwjulien/alphabrew
2cd9a4662bad6252ee27562edd9116d0b224180f
[ "MIT" ]
null
null
null
alphabrew/GUI/Base/MainWindow.py
jwjulien/alphabrew
2cd9a4662bad6252ee27562edd9116d0b224180f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'MainWindow.ui' ## ## Created by: Qt User Interface Compiler version 5.14.1 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! #######...
45.01581
107
0.689876
1,186
11,389
6.53204
0.161046
0.065057
0.112947
0.116174
0.396282
0.17439
0.067381
0.041823
0.014457
0
0
0.009072
0.187023
11,389
252
108
45.194444
0.827627
0.041883
0
0
1
0
0.07599
0
0
0
0
0
0
1
0.011236
false
0
0.033708
0
0.050562
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
2087770c7b25762d464cb570da0cc27137e5d812
1,360
py
Python
py/splunkfile.py
davidbailey/etc
9239a5e90a72e7d11d213ea5e7cc41176d066780
[ "Unlicense" ]
null
null
null
py/splunkfile.py
davidbailey/etc
9239a5e90a72e7d11d213ea5e7cc41176d066780
[ "Unlicense" ]
null
null
null
py/splunkfile.py
davidbailey/etc
9239a5e90a72e7d11d213ea5e7cc41176d066780
[ "Unlicense" ]
null
null
null
import pandas as pd import re //checked = input[(input['_raw'].str.contains(name, case=False))] names = ['name1','name2'] for name in names: infile = name + '.csv' outfile = 'success-' + name + '.csv' input = pd.read_csv(infile, sep=',') checked = input if not checked.empty: success = checked[(checked['_raw']...
43.870968
113
0.677941
198
1,360
4.515152
0.292929
0.053691
0.073826
0.071588
0.184564
0.184564
0.064877
0.064877
0.064877
0
0
0.019769
0.107353
1,360
30
114
45.333333
0.716639
0
0
0
0
0
0.163235
0.016176
0
0
0
0
0
0
null
null
0
0.071429
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
208ab7e1b6ecf958499e6aed5302bce0031874f6
19,416
py
Python
dialogue-engine/test/programytest/config/file/test_xml.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
104
2020-03-30T09:40:00.000Z
2022-03-06T22:34:25.000Z
dialogue-engine/test/programytest/config/file/test_xml.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
25
2020-06-12T01:36:35.000Z
2022-02-19T07:30:44.000Z
dialogue-engine/test/programytest/config/file/test_xml.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
10
2020-04-02T23:43:56.000Z
2021-05-14T13:47:01.000Z
""" Copyright (c) 2020 COTOBA DESIGN, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
33.189744
126
0.635558
1,988
19,416
6.025151
0.224346
0.031224
0.017365
0.030389
0.355652
0.32902
0.287193
0.250877
0.227667
0.193939
0
0.011792
0.240008
19,416
584
127
33.246575
0.799946
0.054697
0
0.361493
0
0.003929
0.763218
0.379047
0
0
0
0
0.078585
1
0.013752
false
0.005894
0.011788
0
0.027505
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
208ac67ff8da2fc1fef3708c65ca35d231113ba7
988
py
Python
build/lib/atmPy/tools/pandas_tools.py
msrconsulting/atm-py
d9d41a509743d473000d8325ce4e319615988589
[ "MIT" ]
null
null
null
build/lib/atmPy/tools/pandas_tools.py
msrconsulting/atm-py
d9d41a509743d473000d8325ce4e319615988589
[ "MIT" ]
null
null
null
build/lib/atmPy/tools/pandas_tools.py
msrconsulting/atm-py
d9d41a509743d473000d8325ce4e319615988589
[ "MIT" ]
null
null
null
def ensure_column_exists(df, col_name, col_alt = False): """Checks if a particular name is among the column names of a dataframe. Alternative names can be given, which when found will be changed to the desired name. The DataFrame will be changed in place. If no matching name is found an AttributeError is...
32.933333
119
0.580972
132
988
4.25
0.462121
0.064171
0.046346
0
0
0
0
0
0
0
0
0
0.352227
988
30
120
32.933333
0.876563
0.370445
0
0.125
0
0
0.094828
0
0
0
0
0
0
1
0.0625
false
0.0625
0
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
0
1
0
0
0
0
0
1
20a06997776c02a62dffdacdfb72c0910c389a33
2,700
py
Python
asyncio_rpc/models.py
nens/asyncio-rpc
26b963076fbc1c5ee412a5fbd3d949737fe7c946
[ "BSD-3-Clause" ]
9
2019-03-23T03:29:06.000Z
2022-02-26T01:04:15.000Z
asyncio_rpc/models.py
nens/asyncio-rpc
26b963076fbc1c5ee412a5fbd3d949737fe7c946
[ "BSD-3-Clause" ]
5
2019-04-09T09:05:42.000Z
2022-01-30T14:12:58.000Z
asyncio_rpc/models.py
nens/asyncio-rpc
26b963076fbc1c5ee412a5fbd3d949737fe7c946
[ "BSD-3-Clause" ]
null
null
null
from dataclasses import dataclass from typing import List, Dict, Any class RPCBase: """ Baseclass to identify all RPC dataclasses """ @dataclass class RPCMessage(RPCBase): """ Message definition. Can be used to publish some data :param uid: the unique id for this RPC message :param name...
21.09375
92
0.648889
322
2,700
5.388199
0.341615
0.064553
0.034582
0.041499
0.124496
0.124496
0.124496
0.124496
0.079539
0.079539
0
0.008
0.259259
2,700
127
93
21.259843
0.8595
0.562222
0
0.382979
0
0
0
0
0
0
0
0
0
1
0
false
0
0.042553
0
0.617021
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
20a5fa7d28093e90b6fde03c6bb8630dfaf71d8b
12,946
py
Python
pre_processing.py
meliude/ERAINTERIM
9d9ab640dc4e04d04443095fcb10ff24f3fb7c6f
[ "MIT" ]
null
null
null
pre_processing.py
meliude/ERAINTERIM
9d9ab640dc4e04d04443095fcb10ff24f3fb7c6f
[ "MIT" ]
null
null
null
pre_processing.py
meliude/ERAINTERIM
9d9ab640dc4e04d04443095fcb10ff24f3fb7c6f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Mar 24 17:44:54 2019 @author: meliude """ import pygrib import pandas as pd years = ['1998.grib', '1999.grib', '2000.grib', '2001.grib', '2002.grib', '2003.grib', '2004.grib', '2005.grib', '2006.grib', '2007.grib', '2008.grib'] data = [] dp = [] #dewp...
37.308357
177
0.584659
2,393
12,946
3.02758
0.074802
0.042236
0.079503
0.145756
0.647895
0.6098
0.607867
0.606487
0.575983
0.575983
0
0.106085
0.22308
12,946
347
178
37.308357
0.614237
0.053916
0
0.72069
0
0
0.03777
0
0
0
0
0
0
1
0.006897
false
0
0.006897
0.006897
0.02069
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
20a7f168b064b7c93ea697daa790e550e1ae252e
583
py
Python
Python/basic/functools_test.py
InnoFang/misc-code
561d0c5b02f81ad4978a97f7897b6c4c7b3b56ce
[ "MIT" ]
4
2018-01-02T07:06:49.000Z
2018-11-22T13:45:39.000Z
Python/basic/functools_test.py
InnoFang/playground
2998c024a5834be3712734f43fe945f83c64f989
[ "Apache-2.0" ]
1
2020-02-20T10:08:58.000Z
2020-02-20T10:08:58.000Z
Python/basic/functools_test.py
InnoFang/playground
2998c024a5834be3712734f43fe945f83c64f989
[ "Apache-2.0" ]
null
null
null
import time, functools def performance(unit): def perf_decorator(f): @functools.wraps(f) def wrapper(*args, **kwargs): start = time.time() res = f(*args, **kwargs) end = time.time() t = (start - end) * 1000 if unit == 'ms'else (start - end) ...
26.5
70
0.557461
76
583
4.144737
0.473684
0.08254
0
0
0
0
0
0
0
0
0
0.019802
0.307033
583
21
71
27.761905
0.759901
0
0
0
0
0
0.037736
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
20a861ae7ad714e8a8d3e060a162dba343661ce5
244
py
Python
ex04.py
ScottDig/Practice-Python-Exercises
3d89a61888c780b6df30e4f294a4468937612954
[ "MIT" ]
null
null
null
ex04.py
ScottDig/Practice-Python-Exercises
3d89a61888c780b6df30e4f294a4468937612954
[ "MIT" ]
null
null
null
ex04.py
ScottDig/Practice-Python-Exercises
3d89a61888c780b6df30e4f294a4468937612954
[ "MIT" ]
null
null
null
def divisors(integer): integer = abs(integer) divisor = [] for candidate in range(integer//2): if integer % (candidate+1) == 0: divisor.append(candidate+1) return divisor alist = divisors(10) print(alist)
18.769231
40
0.614754
29
244
5.172414
0.62069
0.133333
0
0
0
0
0
0
0
0
0
0.033333
0.262295
244
13
41
18.769231
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0.111111
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
20b9237c237d190ca3d20e253f797987e1bafd1d
2,399
py
Python
pythonhere/exception_manager_here.py
b3b/pythonhere
edd45b4f5087d63e1bf265ec6a7c6ade23580de3
[ "MIT" ]
2
2021-01-06T19:38:25.000Z
2022-01-25T10:00:20.000Z
pythonhere/exception_manager_here.py
b3b/pythonhere
edd45b4f5087d63e1bf265ec6a7c6ade23580de3
[ "MIT" ]
1
2021-01-04T10:44:12.000Z
2021-01-04T10:44:12.000Z
pythonhere/exception_manager_here.py
b3b/pythonhere
edd45b4f5087d63e1bf265ec6a7c6ade23580de3
[ "MIT" ]
null
null
null
"""App exceptions manager.""" import asyncio import traceback from typing import Optional from kivy.base import ( ExceptionHandler, ExceptionManager, ) from kivy.clock import Clock from kivy.properties import StringProperty # pylint: disable=no-name-in-module from kivy.lang import Builder from kivy.logger imp...
28.223529
88
0.66361
241
2,399
6.435685
0.452282
0.030948
0.034816
0.029658
0.037395
0
0
0
0
0
0
0.00717
0.244268
2,399
84
89
28.559524
0.848318
0.130054
0
0
0
0
0.019495
0
0
0
0
0
0
1
0.135135
false
0.027027
0.243243
0
0.513514
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
20be771f816a28cfadc3ec8d0c918bab3a054018
459
py
Python
proxy/examples/simple/libraries/data_transfer/mqtt_transfer.py
Smart-IoT-Systems/FaaS4IoT
094609808cf377d948ef99d2b752b806d05c756e
[ "Apache-2.0" ]
null
null
null
proxy/examples/simple/libraries/data_transfer/mqtt_transfer.py
Smart-IoT-Systems/FaaS4IoT
094609808cf377d948ef99d2b752b806d05c756e
[ "Apache-2.0" ]
null
null
null
proxy/examples/simple/libraries/data_transfer/mqtt_transfer.py
Smart-IoT-Systems/FaaS4IoT
094609808cf377d948ef99d2b752b806d05c756e
[ "Apache-2.0" ]
1
2021-08-17T08:38:00.000Z
2021-08-17T08:38:00.000Z
import paho.mqtt.client as mqtt def on_connect(client, userdata, flags, rc): print("Connected to mqtt broker with result code"+str(rc)) def publish(client,topic,dataToPublish): #client = mqtt.Client() client.publish(topic,dataToPublish,0) #print("here we are in publish method",dataToPublish) def configConnection...
28.6875
59
0.777778
67
459
5.223881
0.507463
0.085714
0.085714
0.125714
0
0
0
0
0
0
0
0.007353
0.111111
459
15
60
30.6
0.85049
0.16122
0
0
0
0
0.10705
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.5
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
20bf3531dd40e09fe7af6d802d465e9d4fdc3c34
416
py
Python
tests/basic.py
dobpp/magnet-contracts
ed3c9cd4dddb806d56e2d840a944dabc0d2f59c2
[ "MIT" ]
null
null
null
tests/basic.py
dobpp/magnet-contracts
ed3c9cd4dddb806d56e2d840a944dabc0d2f59c2
[ "MIT" ]
null
null
null
tests/basic.py
dobpp/magnet-contracts
ed3c9cd4dddb806d56e2d840a944dabc0d2f59c2
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import pytest from brownie import chain, accounts def test_basic(otoken, stoken): assert otoken.name() == "Magnet" assert otoken.decimals() == 9 otoken.setVault(accounts[0]) assert otoken.vault() == accounts[0] assert stoken.name() == "Staked Magnet" #token.mint(account...
20.8
47
0.663462
52
416
5.288462
0.538462
0.130909
0.109091
0.130909
0.167273
0
0
0
0
0
0
0.038462
0.1875
416
20
48
20.8
0.775148
0.283654
0
0
0
0
0.064407
0
0
0
0
0
0.5
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
20bf4875b1506306c60535b18e1211874a3cd698
1,793
py
Python
_pycharm_skeletons/renderdoc/BlendOperation.py
Lex-DRL/renderdoc-py-stubs
75d280e4f500ded506f3315a49fc432b37ab4fa6
[ "MIT" ]
null
null
null
_pycharm_skeletons/renderdoc/BlendOperation.py
Lex-DRL/renderdoc-py-stubs
75d280e4f500ded506f3315a49fc432b37ab4fa6
[ "MIT" ]
null
null
null
_pycharm_skeletons/renderdoc/BlendOperation.py
Lex-DRL/renderdoc-py-stubs
75d280e4f500ded506f3315a49fc432b37ab4fa6
[ "MIT" ]
null
null
null
# encoding: utf-8 # module renderdoc # from P:\1-Scripts\_Python\Py-Autocomplete\renderdoc.pyd # by generator 1.146 # no doc # imports import enum as __enum class BlendOperation(__enum.IntEnum): """ A blending operation to apply in color blending. .. note:: The "source" value is the value written ou...
21.865854
94
0.582264
207
1,793
4.879227
0.468599
0.044554
0.041584
0.029703
0.229703
0.229703
0.170297
0.10297
0.10297
0.10297
0
0.022538
0.331846
1,793
81
95
22.135802
0.820534
0.493028
0
0.083333
0
0
0.10567
0
0
0
0
0
0
1
0.083333
false
0.083333
0.027778
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
20c0b4e5babb472e0da06de4c115227a275cc54e
997
py
Python
python/get_reg_area_avg_rmse.py
E3SM-Project/a-prime
a8c084ab6f727904a2b38d8a93b9c83e2f978e3f
[ "BSD-3-Clause" ]
1
2017-06-07T13:13:32.000Z
2017-06-07T13:13:32.000Z
python/get_reg_area_avg_rmse.py
ACME-Climate/a-prime
a8c084ab6f727904a2b38d8a93b9c83e2f978e3f
[ "BSD-3-Clause" ]
31
2017-06-07T00:26:58.000Z
2018-04-09T17:03:15.000Z
python/get_reg_area_avg_rmse.py
ACME-Climate/a-prime
a8c084ab6f727904a2b38d8a93b9c83e2f978e3f
[ "BSD-3-Clause" ]
1
2018-08-05T23:43:59.000Z
2018-08-05T23:43:59.000Z
# # Copyright (c) 2017, UT-BATTELLE, LLC # All rights reserved. # # This software is released under the BSD license detailed # in the LICENSE file in the top level a-prime directory # import numpy def get_reg_area_avg_rmse(field, lat, lon, area_wgts, debug = False): nlon = lon.shape[0] nlat = lat.shape[0] ...
29.323529
129
0.652959
152
997
4.046053
0.407895
0.125203
0.170732
0.039024
0.188618
0.188618
0.188618
0.084553
0
0
0
0.020408
0.213641
997
33
130
30.212121
0.764031
0.169509
0
0.222222
0
0
0.078049
0.029268
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
20c2e90b4cc9f91227309bec13d9363b5b323a76
3,888
py
Python
webscraper2.py
kenzeng24/Linear-Regression-on-YouTube-Data
c81401733706f6d63eb0fcd717afca0518ffa30d
[ "MIT" ]
null
null
null
webscraper2.py
kenzeng24/Linear-Regression-on-YouTube-Data
c81401733706f6d63eb0fcd717afca0518ffa30d
[ "MIT" ]
null
null
null
webscraper2.py
kenzeng24/Linear-Regression-on-YouTube-Data
c81401733706f6d63eb0fcd717afca0518ffa30d
[ "MIT" ]
null
null
null
from requests import get import requests from lxml import html import csv from datetime import datetime from bs4 import BeautifulSoup from requests.exceptions import RequestException from contextlib import closing import csv from collections import defaultdict ########################################################...
28.173913
117
0.542953
470
3,888
4.385106
0.382979
0.021834
0.02329
0.032023
0.195051
0.134886
0.051431
0.051431
0.051431
0.051431
0
0.026237
0.225566
3,888
137
118
28.379562
0.658253
0.010545
0
0.029851
0
0
0.081553
0.015146
0
0
0
0
0
0
null
null
0
0.149254
null
null
0.029851
0
0
0
null
0
0
0
0
0
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
20cff06f2130e2e691ceb9a93697cb7e9838a185
436
py
Python
migrations/0006_addresslink_credit_limit.py
CloudCIX/membership
a7a62918c7d7c65dd1bf2068431dbf2ec2573e4b
[ "Apache-2.0" ]
null
null
null
migrations/0006_addresslink_credit_limit.py
CloudCIX/membership
a7a62918c7d7c65dd1bf2068431dbf2ec2573e4b
[ "Apache-2.0" ]
null
null
null
migrations/0006_addresslink_credit_limit.py
CloudCIX/membership
a7a62918c7d7c65dd1bf2068431dbf2ec2573e4b
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.5 on 2019-02-19 13:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('membership', '0005_transaction_type_cleanup'), ] operations = [ migrations.AddField( model_name='addresslink', name=...
22.947368
82
0.630734
48
436
5.583333
0.875
0
0
0
0
0
0
0
0
0
0
0.068111
0.259174
436
18
83
24.222222
0.76161
0.103211
0
0
1
0
0.159383
0.07455
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
20d03ed336ae5526053954900ca188c14dfc561e
15,480
py
Python
models/nets.py
jonnybluesman/emomucs
656b271b476b21990629477759f98fbdd09ac4c9
[ "Unlicense" ]
5
2020-10-10T17:39:24.000Z
2021-09-30T02:48:36.000Z
models/nets.py
jonnybluesman/emomucs
656b271b476b21990629477759f98fbdd09ac4c9
[ "Unlicense" ]
null
null
null
models/nets.py
jonnybluesman/emomucs
656b271b476b21990629477759f98fbdd09ac4c9
[ "Unlicense" ]
1
2021-03-30T14:37:27.000Z
2021-03-30T14:37:27.000Z
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np activations = nn.ModuleDict([ ['sigmoid', nn.Sigmoid()], ['tanh', nn.Tanh()], ['lrelu', nn.LeakyReLU()], ['relu', nn.ReLU()], ['selu', nn.SELU()], ...
38.034398
122
0.593605
2,094
15,480
4.226839
0.170965
0.007231
0.018077
0.016947
0.476443
0.434301
0.388092
0.365834
0.302904
0.272625
0
0.035195
0.284173
15,480
407
123
38.034398
0.763559
0.316408
0
0.268868
0
0
0.028667
0
0
0
0
0.017199
0.018868
1
0.084906
false
0
0.018868
0.004717
0.169811
0.018868
0
0
0
null
0
0
0
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
20d6f93b02459ef1e63c614551280cb6c3635f08
1,222
py
Python
testing/MLDB-694_external_python_procedure.py
kstepanmpmg/mldb
f78791cd34d01796705c0f173a14359ec1b2e021
[ "Apache-2.0" ]
665
2015-12-09T17:00:14.000Z
2022-03-25T07:46:46.000Z
testing/MLDB-694_external_python_procedure.py
tomzhang/mldb
a09cf2d9ca454d1966b9e49ae69f2fe6bf571494
[ "Apache-2.0" ]
797
2015-12-09T19:48:19.000Z
2022-03-07T02:19:47.000Z
testing/MLDB-694_external_python_procedure.py
matebestek/mldb
f78791cd34d01796705c0f173a14359ec1b2e021
[ "Apache-2.0" ]
103
2015-12-25T04:39:29.000Z
2022-02-03T02:55:22.000Z
# # MLDB-694_external_python_procedure.py # mldb.ai inc, 2015 # this file is part of mldb. copyright 2015 mldb.ai inc. all rights reserved. # from mldb import mldb conf = { "type": "experimental.external.procedure", "params": { "stdInData": "pwet", "scriptConfig": { "source": """ i...
22.218182
84
0.63748
185
1,222
4.145946
0.545946
0.019557
0.023468
0.039113
0.088657
0.088657
0
0
0
0
0
0.029805
0.203764
1,222
54
85
22.62963
0.758479
0.107201
0
0.052632
0
0.026316
0.702304
0.132719
0
0
0
0
0.026316
1
0
false
0
0.105263
0
0.131579
0.026316
0
0
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
20da5718b95d104c6186dce320608a0e2993c030
4,218
py
Python
PIconnect/test/test_VirtualPIPoint_calculus.py
jhvanderven/PIconnect
0f3b92a92419d3315b2ca33575a58317447235b5
[ "MIT" ]
1
2021-11-14T10:01:05.000Z
2021-11-14T10:01:05.000Z
PIconnect/test/test_VirtualPIPoint_calculus.py
jhvanderven/PIconnect
0f3b92a92419d3315b2ca33575a58317447235b5
[ "MIT" ]
null
null
null
PIconnect/test/test_VirtualPIPoint_calculus.py
jhvanderven/PIconnect
0f3b92a92419d3315b2ca33575a58317447235b5
[ "MIT" ]
1
2020-09-06T02:26:50.000Z
2020-09-06T02:26:50.000Z
"""Test VirtualPIPoint calculus.""" # Copyright 2017 Hugo van den Berg, Stijn de Jong # 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 ri...
45.847826
79
0.697724
562
4,218
5.120996
0.295374
0.125087
0.111188
0.069493
0.56706
0.548297
0.514941
0.514941
0.514941
0.514941
0
0.015758
0.217639
4,218
91
80
46.351648
0.856364
0.426743
0
0.238095
0
0
0
0
0
0
0
0
0.238095
1
0.238095
false
0
0.095238
0
0.380952
0.02381
0
0
0
null
0
0
0
0
0
0
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
20ddc9a218a8e5db7fda34c95e20dd92050c1bd4
451
py
Python
setup.py
cui-unige/mcc
bfbaeb6f9b4c581802a501a4f44edd1707b6bebe
[ "MIT" ]
1
2017-11-24T18:16:44.000Z
2017-11-24T18:16:44.000Z
setup.py
cui-unige/mcc
bfbaeb6f9b4c581802a501a4f44edd1707b6bebe
[ "MIT" ]
24
2018-01-30T14:21:19.000Z
2018-04-19T14:14:37.000Z
setup.py
cui-unige/mcc
bfbaeb6f9b4c581802a501a4f44edd1707b6bebe
[ "MIT" ]
2
2017-11-02T19:43:11.000Z
2017-11-24T11:12:38.000Z
from setuptools import setup setup( name="mcc4mcc", version="0.1", description="Model Checker Collection for the Model Checking Contest", author="Alban Linard", author_email="alban@linard.fr", packages=["mcc4mcc"], install_requires=[ "argparse", "docker", "frozendict", ...
19.608696
73
0.574279
42
451
6.095238
0.857143
0.085938
0
0
0
0
0
0
0
0
0
0.012346
0.281596
451
22
74
20.5
0.777778
0
0
0
0
0
0.390244
0
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
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
20e0214c89190cdd169156bb60ba558629342d6e
1,131
py
Python
upelis_settings.py
saknis/upelis
32b571f3596c561a53645c652ab4ae75b452f7a4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
upelis_settings.py
saknis/upelis
32b571f3596c561a53645c652ab4ae75b452f7a4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
upelis_settings.py
saknis/upelis
32b571f3596c561a53645c652ab4ae75b452f7a4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import locale import gettext DEBUG = True MAILSENDER="upelis@upe.lt" MAILRCPTTO="upelis@upe.lt" CURLOCALE = 'en_US' #current_locale = 'lt_LT' LANGUAGES={'ru': 'ru_RU', 'en': 'en_US', 'lt': 'lt_LT', 'ua': 'ua_UA', 'it': 'it_IT', 'lv': 'lv_LV', 'by': 'by_BY', 'pl': 'pl_PL', 'de': 'de_DE'} LANGUAGESNR={'...
32.314286
146
0.64191
177
1,131
4
0.559322
0.016949
0.031073
0
0
0
0
0
0
0
0
0.023069
0.118479
1,131
34
147
33.264706
0.687061
0.045977
0
0
0
0.037037
0.436242
0.106424
0
0
0
0
0
0
null
null
0
0.074074
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
20e02272d764fe7eb4c244f7cad64f150f590ce1
14,704
py
Python
S3/FileLists.py
aral/s3cmd
df748aa5cd87c4d63423523392ab5514d6d336dc
[ "ADSL" ]
1
2021-09-04T03:58:18.000Z
2021-09-04T03:58:18.000Z
S3/FileLists.py
aral/s3cmd
df748aa5cd87c4d63423523392ab5514d6d336dc
[ "ADSL" ]
null
null
null
S3/FileLists.py
aral/s3cmd
df748aa5cd87c4d63423523392ab5514d6d336dc
[ "ADSL" ]
null
null
null
## Create and compare lists of files/objects ## Author: Michal Ludvig <michal@logix.cz> ## http://www.logix.cz/michal ## License: GPL Version 2 from S3 import S3 from Config import Config from S3Uri import S3Uri from SortedDict import SortedDict from Utils import * from Exceptions import ParameterError from l...
42.49711
158
0.549034
1,743
14,704
4.452094
0.203098
0.025773
0.018428
0.018557
0.205412
0.133892
0.105412
0.080799
0.07049
0.066237
0
0.007787
0.345008
14,704
345
159
42.62029
0.797944
0.148259
0
0.253968
0
0.007937
0.091748
0.001828
0
0
0
0.002899
0.007937
0
null
null
0.003968
0.035714
null
null
0.003968
0
0
0
null
0
0
0
0
0
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
20e27aa907c8b2bd3b1cb2da4f56c1e64ba3db6e
957
py
Python
pyasciinet/asciinet/test/test_ascii.py
cosminbasca/asciinet
cec4d1f18d4c568622f3b51b9798c4502abf1cdc
[ "Apache-2.0" ]
16
2016-08-24T05:08:36.000Z
2021-10-06T08:00:16.000Z
pyasciinet/asciinet/test/test_ascii.py
cosminbasca/asciinet
cec4d1f18d4c568622f3b51b9798c4502abf1cdc
[ "Apache-2.0" ]
5
2017-11-26T18:10:44.000Z
2021-04-21T21:41:02.000Z
pyasciinet/asciinet/test/test_ascii.py
cosminbasca/asciinet
cec4d1f18d4c568622f3b51b9798c4502abf1cdc
[ "Apache-2.0" ]
4
2017-01-15T20:03:36.000Z
2018-05-03T11:51:45.000Z
#!/usr/bin/env python # # author: Cosmin Basca # # Copyright 2010 University of Zurich # # 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 # ...
31.9
109
0.732497
138
957
5
0.637681
0.086957
0.037681
0.046377
0
0
0
0
0
0
0
0.010038
0.167189
957
29
110
33
0.855709
0.629049
0
0
0
0
0.029674
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
20eb9f6077d9180c08c9035ad937ffa28a698e5d
6,141
py
Python
petl/test/transform/test_headers.py
a-musing-moose/petl
719cea43117543eaccadb53d255cbbe1177b3cc5
[ "MIT" ]
null
null
null
petl/test/transform/test_headers.py
a-musing-moose/petl
719cea43117543eaccadb53d255cbbe1177b3cc5
[ "MIT" ]
null
null
null
petl/test/transform/test_headers.py
a-musing-moose/petl
719cea43117543eaccadb53d255cbbe1177b3cc5
[ "MIT" ]
null
null
null
from __future__ import absolute_import, print_function, division from petl.test.helpers import ieq from petl.errors import FieldSelectionError from petl.util import fieldnames from petl.transform.headers import setheader, extendheader, pushheader, skip,\ rename, prefixheader, suffixheader def test_setheader(): ...
25.5875
78
0.500733
666
6,141
4.567568
0.138138
0.061144
0.115713
0.010519
0.77712
0.726824
0.665352
0.633794
0.542735
0.476989
0
0.067523
0.303045
6,141
239
79
25.694561
0.643224
0.063833
0
0.682081
0
0
0.104134
0
0
0
0
0
0.046243
1
0.080925
false
0.011561
0.028902
0
0.109827
0.00578
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
20ef08b0594fd66380a1801f563a4fe840171d4e
1,443
py
Python
src/sentry/api/endpoints/organization_incident_suspects_index.py
learninto/sentry
4f9f564841498b3af49c1677d6b61f3e47b01923
[ "BSD-3-Clause" ]
1
2019-10-17T17:46:16.000Z
2019-10-17T17:46:16.000Z
src/sentry/api/endpoints/organization_incident_suspects_index.py
learninto/sentry
4f9f564841498b3af49c1677d6b61f3e47b01923
[ "BSD-3-Clause" ]
null
null
null
src/sentry/api/endpoints/organization_incident_suspects_index.py
learninto/sentry
4f9f564841498b3af49c1677d6b61f3e47b01923
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from sentry.api.bases.incident import IncidentEndpoint, IncidentPermission from sentry.api.serializers import serialize from sentry.api.serializers.models.commit import CommitSerializer from sentry.incidents.logic import get_incident_suspects class OrganizationIncidentSuspectsI...
40.083333
93
0.679834
158
1,443
6.120253
0.525316
0.041365
0.040331
0.049638
0.078594
0.078594
0.078594
0
0
0
0
0
0.232155
1,443
35
94
41.228571
0.872744
0.305613
0
0
0
0
0.014846
0
0
0
0
0.028571
0
1
0.055556
false
0
0.277778
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
1
0
0
0
0
0
0
0
0
0
0
1
20f142762611e460290d5c3c4b16092fcfc72124
2,566
py
Python
api/resources/market.py
NathanBMcNamara/Speculator
e74aff778d6657a8c4993c62f264008c9be99e78
[ "MIT" ]
106
2017-11-09T13:58:45.000Z
2021-12-20T03:11:19.000Z
api/resources/market.py
NathanBMcNamara/Speculator
e74aff778d6657a8c4993c62f264008c9be99e78
[ "MIT" ]
6
2017-10-30T13:29:49.000Z
2021-09-13T12:06:59.000Z
api/resources/market.py
NathanBMcNamara/Speculator
e74aff778d6657a8c4993c62f264008c9be99e78
[ "MIT" ]
39
2017-10-30T16:35:01.000Z
2021-10-31T10:32:48.000Z
# TODO: Only require market stats that are being used by ML models # TODO: Allow storage/retrieval of multiple markets """ Allows storage/retrieval for custom market data instead of automatic gathering """ from api import api, db from api.helpers import HTTP_CODES, query_to_dict, validate_db from api.models.market impo...
35.150685
86
0.615744
337
2,566
4.581602
0.344214
0.042746
0.035622
0.056995
0.226684
0.186529
0.108808
0.108808
0.064767
0.064767
0
0.006476
0.277864
2,566
72
87
35.638889
0.826767
0.14887
0
0.383333
0
0
0.036347
0
0
0
0
0.013889
0
1
0.066667
false
0
0.116667
0
0.3
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
4545b03ada14dece977958db3accf844b1793965
478
py
Python
LeetCode/Python/remove_duplicates_from_sorted_array.py
tejeshreddy/competitive-programming
e98d3800c7f1dcca285286cac1ac056b11201e12
[ "MIT" ]
null
null
null
LeetCode/Python/remove_duplicates_from_sorted_array.py
tejeshreddy/competitive-programming
e98d3800c7f1dcca285286cac1ac056b11201e12
[ "MIT" ]
null
null
null
LeetCode/Python/remove_duplicates_from_sorted_array.py
tejeshreddy/competitive-programming
e98d3800c7f1dcca285286cac1ac056b11201e12
[ "MIT" ]
null
null
null
""" Title: 0026 - Remove Duplicates from Sorted Array Tags: Array Time: O(n) Space: O(1) Source: https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Difficulty: Easy """ class Solution: def removeDuplicates(self, nums: List[int]) -> int: if not nums: return 0 last = 0 ...
22.761905
74
0.564854
63
478
4.285714
0.603175
0.118519
0.148148
0.192593
0.22963
0
0
0
0
0
0
0.027273
0.309623
478
20
75
23.9
0.790909
0.368201
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
454f6845dd1744d0736b6966d1cbbdf4594ec3c7
1,601
py
Python
Main/Files/inference.py
123freezebrennan/OpenVINO-Car-Pedestrian-Tracker-and-Counter
cc582965ad001e5978ebe31bae649dd360c24dca
[ "Intel" ]
null
null
null
Main/Files/inference.py
123freezebrennan/OpenVINO-Car-Pedestrian-Tracker-and-Counter
cc582965ad001e5978ebe31bae649dd360c24dca
[ "Intel" ]
null
null
null
Main/Files/inference.py
123freezebrennan/OpenVINO-Car-Pedestrian-Tracker-and-Counter
cc582965ad001e5978ebe31bae649dd360c24dca
[ "Intel" ]
null
null
null
from openvino.inference_engine import IECore, IENetwork class Network: #Constructor class to declare variables, any of these still as 'None' in console, an error occured when initializing it def __init__(self): #NEED TO: put ntoes done indicating what each does self.plugin = None ...
34.06383
124
0.646471
213
1,601
4.704225
0.389671
0.065868
0.08982
0.031936
0.213573
0.11976
0
0
0
0
0
0.003422
0.269831
1,601
46
125
34.804348
0.853721
0.173641
0
0.096774
0
0
0.00236
0
0
0
0
0
0
1
0.225806
false
0
0.032258
0.064516
0.483871
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
4557624a574311269d5d40b75e0a58758e1e3760
4,379
py
Python
fitting_source/1D_fitting/plot_2_PASS_cross_sections.py
pjgrandinetti/mrsimulator
e603395e52ad162d4a9051a0741651c9030c3459
[ "BSD-3-Clause" ]
14
2019-05-28T20:06:13.000Z
2021-05-27T01:37:16.000Z
fitting_source/1D_fitting/plot_2_PASS_cross_sections.py
wushanyun64/mrsimulator
01b447239d9f469df62b7293a74a3d0c34500a19
[ "BSD-3-Clause" ]
74
2021-06-07T15:13:49.000Z
2022-03-29T20:09:19.000Z
fitting_source/1D_fitting/plot_2_PASS_cross_sections.py
wushanyun64/mrsimulator
01b447239d9f469df62b7293a74a3d0c34500a19
[ "BSD-3-Clause" ]
7
2019-05-28T20:19:29.000Z
2021-04-06T18:48:24.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 1D PASS/MAT sideband order cross-section ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ """ # %% # This example illustrates the use of mrsimulator and LMFIT modules in fitting the # sideband intensity profile across the isotropic chemical shift cross-section from a # PASS/MAT...
29.993151
87
0.718657
607
4,379
5.059308
0.360791
0.054705
0.04689
0.024422
0.183979
0.178118
0.131879
0.096711
0.096711
0.096711
0
0.019001
0.122631
4,379
145
88
30.2
0.780323
0.393697
0
0.328358
0
0
0.090629
0.014269
0
0
0
0
0
1
0
false
0.164179
0.119403
0
0.119403
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
45673bfeddfb34813b5ecce3dc070348d9fa392e
1,911
py
Python
photogram/models.py
Kat42272/capstone-instagram
40a529310b8ddb8c5292dfc7c0768401a947c58a
[ "MIT" ]
null
null
null
photogram/models.py
Kat42272/capstone-instagram
40a529310b8ddb8c5292dfc7c0768401a947c58a
[ "MIT" ]
null
null
null
photogram/models.py
Kat42272/capstone-instagram
40a529310b8ddb8c5292dfc7c0768401a947c58a
[ "MIT" ]
3
2020-10-05T19:07:18.000Z
2020-10-06T17:46:51.000Z
from django.db import models from django.utils import timezone # All models are registered with the admin interface 5.0 pts # At least five fields of the following list are used among all models: # BooleanField, CharField, DateField, DatetimeField, FloatField, EmailField, TextField, URLField 5.0 pts # Create your m...
43.431818
139
0.751439
235
1,911
6.025532
0.455319
0.044492
0.050847
0.067797
0.157486
0.157486
0.070621
0
0
0
0
0.017115
0.143904
1,911
43
140
44.44186
0.848411
0.316065
0
0.071429
0
0
0.02392
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0.071429
0.928571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
45753993cd83d5e80ba091586b3b8b7d32a85de7
268
py
Python
dashboard/utils/browse/asian_drama.py
TheBoringDude/zeta
d9c380d4823a669c986050757b822e2aadcc7b01
[ "MIT" ]
null
null
null
dashboard/utils/browse/asian_drama.py
TheBoringDude/zeta
d9c380d4823a669c986050757b822e2aadcc7b01
[ "MIT" ]
8
2021-04-29T11:50:29.000Z
2022-03-12T00:51:14.000Z
dashboard/utils/browse/asian_drama.py
TheBoringDude/zeta
d9c380d4823a669c986050757b822e2aadcc7b01
[ "MIT" ]
null
null
null
from dashboard.utils.finder import Finder import requests class AsianDrama(Finder): def search_asian(self, query): # search and get the response resp = requests.get(self.kuryana + query).json()["results"] print(resp) return resp
22.333333
67
0.66791
33
268
5.393939
0.69697
0.134831
0
0
0
0
0
0
0
0
0
0
0.238806
268
12
68
22.333333
0.872549
0.100746
0
0
0
0
0.029167
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
458719a6895a27215d068092e46d87ac1914cf23
618
py
Python
python/src/main/python/pyalink/alink/tests/examples/from_docs/test_berttextembeddingbatchop.py
wenwei8268/Alink
c00702538c95a32403985ebd344eb6aeb81749a7
[ "Apache-2.0" ]
null
null
null
python/src/main/python/pyalink/alink/tests/examples/from_docs/test_berttextembeddingbatchop.py
wenwei8268/Alink
c00702538c95a32403985ebd344eb6aeb81749a7
[ "Apache-2.0" ]
null
null
null
python/src/main/python/pyalink/alink/tests/examples/from_docs/test_berttextembeddingbatchop.py
wenwei8268/Alink
c00702538c95a32403985ebd344eb6aeb81749a7
[ "Apache-2.0" ]
null
null
null
import unittest from pyalink.alink import * import numpy as np import pandas as pd class TestBertTextEmbeddingBatchOp(unittest.TestCase): def test_berttextembeddingbatchop(self): df_data = pd.DataFrame([ [1, 'An english sentence.'], [2, '这是一个中文句子'] ]) batch_...
29.428571
91
0.585761
55
618
6.490909
0.745455
0.033613
0
0
0
0
0
0
0
0
0
0.014118
0.312298
618
21
92
29.428571
0.825882
0
0
0
0
0
0.095315
0
0
0
0
0
0
1
0.055556
false
0.055556
0.222222
0
0.333333
0.055556
0
0
0
null
0
0
0
0
0
0
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
4588829cd976e87e2e778e0ee5bd16d32f80092a
448
py
Python
task_0.py
MutterPedro/chicago_bikeshare_project
22797c0c4d7f42dd613486d14eb53ee53d8f4724
[ "MIT" ]
null
null
null
task_0.py
MutterPedro/chicago_bikeshare_project
22797c0c4d7f42dd613486d14eb53ee53d8f4724
[ "MIT" ]
null
null
null
task_0.py
MutterPedro/chicago_bikeshare_project
22797c0c4d7f42dd613486d14eb53ee53d8f4724
[ "MIT" ]
null
null
null
def run(data_list): # Vamos verificar quantas linhas nós temos print("Número de linhas:") print(len(data_list)) # Imprimindo a primeira linha de data_list para verificar se funcionou. print("Linha 0: ") print(data_list[0]) # É o cabeçalho dos dados, para que possamos identificar as colunas....
32
78
0.696429
66
448
4.636364
0.575758
0.156863
0.071895
0.098039
0
0
0
0
0
0
0
0.011429
0.21875
448
13
79
34.461538
0.862857
0.558036
0
0
0
0
0.181347
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.857143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
458aeda67a2f684b20324ca111f9f16de1f66698
1,927
py
Python
configure_django.py
pydanny/configure-django
82ee4c6584c89cedd48373824d3f34ba5aa4f560
[ "Apache-2.0" ]
8
2018-10-12T16:21:12.000Z
2020-07-09T00:37:22.000Z
configure_django.py
pydanny/configure-django
82ee4c6584c89cedd48373824d3f34ba5aa4f560
[ "Apache-2.0" ]
3
2018-10-12T19:17:48.000Z
2018-10-21T05:44:10.000Z
configure_django.py
pydanny/configure-django
82ee4c6584c89cedd48373824d3f34ba5aa4f560
[ "Apache-2.0" ]
1
2021-09-12T15:53:46.000Z
2021-09-12T15:53:46.000Z
# -*- coding: utf-8 -*- """Main module.""" import os import shlex import django from django.conf import settings as django_settings from django.core.exceptions import ImproperlyConfigured from django.core.management import call_command from decouple import config from dj_database_url import parse as db_url __autho...
27.528571
90
0.636741
225
1,927
5.28
0.506667
0.047138
0.023569
0.025253
0.074074
0.047138
0.047138
0
0
0
0
0.003551
0.269331
1,927
69
91
27.927536
0.840199
0.188895
0
0
0
0
0.143614
0.073461
0
0
0
0.028986
0
1
0.02381
false
0.02381
0.190476
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
458f94508acf24214bf9619115466da8bae13132
2,059
py
Python
Products/BeakerZopeSessionManager/SessionObject.py
gabrielgisoldo/Products.BeakerZopeSessionManager
8a764933af61bf734b8ee8ca941acb793169f66f
[ "MIT" ]
null
null
null
Products/BeakerZopeSessionManager/SessionObject.py
gabrielgisoldo/Products.BeakerZopeSessionManager
8a764933af61bf734b8ee8ca941acb793169f66f
[ "MIT" ]
null
null
null
Products/BeakerZopeSessionManager/SessionObject.py
gabrielgisoldo/Products.BeakerZopeSessionManager
8a764933af61bf734b8ee8ca941acb793169f66f
[ "MIT" ]
3
2021-03-17T19:38:40.000Z
2021-04-08T17:57:12.000Z
from collections import UserDict import time from AccessControl.class_init import InitializeClass from AccessControl.SecurityInfo import ClassSecurityInfo # from Acquisition import Implicit from zope.interface import implementer from .Interfaces import ISessionDataObject def session_mutator(func): """Decorator ...
25.419753
70
0.662458
209
2,059
6.129187
0.354067
0.087432
0.120219
0.021858
0
0
0
0
0
0
0
0.000634
0.233609
2,059
80
71
25.7375
0.811153
0.063623
0
0
0
0
0.010096
0
0
0
0
0
0
1
0.192308
false
0
0.115385
0.019231
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4593a3ffcee1627c3cdcaa7160acb77dddadb4ac
2,158
py
Python
leetcode/1220.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
leetcode/1220.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
leetcode/1220.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
""" File: 1220.py Title: Count Vowels Permutation Difficulty: Hard URL: https://leetcode.com/problems/count-vowels-permutation/ """ import unittest from collections import defaultdict class Solution: MOD = 10**9 + 7 def __init__(self): self.cache = defaultdict(dict) def count...
24.247191
67
0.507414
255
2,158
4.235294
0.243137
0.141667
0.148148
0.208333
0.492593
0.455556
0.436111
0.419444
0.339815
0.339815
0
0.026676
0.357275
2,158
88
68
24.522727
0.751983
0.075533
0
0.339286
0
0
0.014242
0
0
0
0
0
0.053571
1
0.107143
false
0
0.035714
0.017857
0.267857
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
4597a17c4a0c58c7fa7ad76f074b26be95cb7802
12,360
py
Python
utils/module_wrappers.py
limberc/hypercl
ad098a3b18cf2a2ae6e3ecd28a2b7af698f7b807
[ "Apache-2.0" ]
null
null
null
utils/module_wrappers.py
limberc/hypercl
ad098a3b18cf2a2ae6e3ecd28a2b7af698f7b807
[ "Apache-2.0" ]
null
null
null
utils/module_wrappers.py
limberc/hypercl
ad098a3b18cf2a2ae6e3ecd28a2b7af698f7b807
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2019 Christian Henning # # 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 l...
37.228916
80
0.644498
1,607
12,360
4.822651
0.203485
0.01471
0.018581
0.03071
0.361548
0.307871
0.223097
0.155226
0.137548
0.117677
0
0.003086
0.292071
12,360
331
81
37.34139
0.882629
0.614239
0
0.25
0
0
0.036378
0.020898
0
0
0
0.003021
0.134615
1
0.211538
false
0.019231
0.028846
0
0.423077
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
45a1d01de991db1f3c078db5c2a68149a65d0023
28,450
py
Python
hello.py
DevrisOfStar/SW
27fffb10d7a853875d8bd5a2579af9331be371ef
[ "MIT" ]
null
null
null
hello.py
DevrisOfStar/SW
27fffb10d7a853875d8bd5a2579af9331be371ef
[ "MIT" ]
null
null
null
hello.py
DevrisOfStar/SW
27fffb10d7a853875d8bd5a2579af9331be371ef
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import string reload(sys) sys.setdefaultencoding('utf8') from flask import Flask, request, url_for, redirect, session, flash from flask import render_template from flaskext.mysql import MySQL app = Flask(__name__) app.secret_key = '#ekd@aA/3g...
37.044271
145
0.587979
3,259
28,450
5.06413
0.106168
0.058289
0.07174
0.025206
0.727945
0.64239
0.59834
0.543989
0.509695
0.468492
0
0.004497
0.257434
28,450
767
146
37.092568
0.776673
0.045765
0
0.581059
0
0.00321
0.305716
0.063214
0
0
0
0
0
0
null
null
0.040128
0.008026
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
45a27a3546768593bd1d753cdff48074da35f8c3
1,047
py
Python
aiida/cmdline/tests/common.py
astamminger/aiida_core
b01ad8236f21804f273c9d2a0365ecee62255cbb
[ "BSD-2-Clause" ]
null
null
null
aiida/cmdline/tests/common.py
astamminger/aiida_core
b01ad8236f21804f273c9d2a0365ecee62255cbb
[ "BSD-2-Clause" ]
null
null
null
aiida/cmdline/tests/common.py
astamminger/aiida_core
b01ad8236f21804f273c9d2a0365ecee62255cbb
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################### # Copyright (c), The AiiDA team. All rights reserved. # # This file is part of the AiiDA code. # # ...
41.88
75
0.501433
111
1,047
4.63964
0.54955
0.069903
0.093204
0.139806
0
0
0
0
0
0
0
0.00133
0.281757
1,047
24
76
43.625
0.683511
0.461318
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
true
0
0.25
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
1
0
0
0
0
0
0
1
45a477a9154a8376aaf6ba23b6e1e874584ed222
903
py
Python
BackTracking/combinationSum.py
beforeuwait/myLintCode
db4ebc51f6f4a3d7c8d4fa5a6174547642b8de0b
[ "MIT" ]
null
null
null
BackTracking/combinationSum.py
beforeuwait/myLintCode
db4ebc51f6f4a3d7c8d4fa5a6174547642b8de0b
[ "MIT" ]
null
null
null
BackTracking/combinationSum.py
beforeuwait/myLintCode
db4ebc51f6f4a3d7c8d4fa5a6174547642b8de0b
[ "MIT" ]
null
null
null
# coding=utf-8 """ 数字组合 描述:给定一个候选数字的集合 candidates 和一个目标值 target. 找到 candidates 中所有的和为 target 的组合. 在同一个组合中, candidates 中的某个数字不限次数地出现. 思路: dfs backtricking的应用 """ class Solution: """ @param candidates: A list of integers @param target: An integer @return: A list of lists of integers """ def ...
23.153846
73
0.589147
104
903
5.115385
0.480769
0.120301
0.026316
0.086466
0
0
0
0
0
0
0
0.00638
0.305648
903
38
74
23.763158
0.842105
0.305648
0
0
0
0
0
0
0
0
0
0.026316
0
1
0.133333
false
0
0
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
45c3f4266f6d1555ab630fa752bf88942a2492bc
1,093
py
Python
output/models/nist_data/atomic/name/schema_instance/nistschema_sv_iv_atomic_name_enumeration_2_xsd/nistschema_sv_iv_atomic_name_enumeration_2.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/name/schema_instance/nistschema_sv_iv_atomic_name_enumeration_2_xsd/nistschema_sv_iv_atomic_name_enumeration_2.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/name/schema_instance/nistschema_sv_iv_atomic_name_enumeration_2_xsd/nistschema_sv_iv_atomic_name_enumeration_2.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from enum import Enum from typing import Optional __NAMESPACE__ = "NISTSchema-SV-IV-atomic-Name-enumeration-2-NS" class NistschemaSvIvAtomicNameEnumeration2Type(Enum): UOF_RETRIEVE_THE_PROVIDED_SPECIFIC_IN_SYSTEMS_ON_A_CHI = "uof.retrieve:the_provided_specific_in_systems-...
35.258065
117
0.763038
126
1,093
6.285714
0.484127
0.045455
0.05303
0.075758
0.393939
0.393939
0.393939
0.348485
0.232323
0.113636
0
0.006466
0.150961
1,093
30
118
36.433333
0.846983
0
0
0
0
0
0.331199
0.301921
0
0
0
0
0
1
0
false
0
0.125
0
0.625
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
45cc334386b9fcabfdda976b5f4b8ea2581f191f
356
py
Python
backend/api/migrations/0017_auto_20200311_1702.py
Abeeaad97/FinancialTracker
9e3f02b03de0404389653f6baf824f4b3b7ad958
[ "MIT" ]
3
2020-02-17T18:48:25.000Z
2020-03-17T12:20:59.000Z
backend/api/migrations/0017_auto_20200311_1702.py
Abeeaad97/FinancialTracker
9e3f02b03de0404389653f6baf824f4b3b7ad958
[ "MIT" ]
null
null
null
backend/api/migrations/0017_auto_20200311_1702.py
Abeeaad97/FinancialTracker
9e3f02b03de0404389653f6baf824f4b3b7ad958
[ "MIT" ]
1
2020-09-09T21:48:54.000Z
2020-09-09T21:48:54.000Z
# Generated by Django 3.0.3 on 2020-03-12 00:02 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0016_auto_20200311_1701'), ] operations = [ migrations.RenameField( model_name='crypto', old_name='names', ...
18.736842
47
0.575843
39
356
5.102564
0.794872
0
0
0
0
0
0
0
0
0
0
0.126016
0.308989
356
18
48
19.777778
0.682927
0.126404
0
0
1
0
0.132686
0.074434
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45d2410da98efc1ddb9ee43e196b2d82bc3da6ad
2,615
py
Python
tests/test_hooks.py
647-coder/Thrall
0876b49a8e5ad12e771e60a6e0cf1f62ce6d791c
[ "MIT" ]
6
2017-11-16T11:00:53.000Z
2021-05-04T13:56:09.000Z
tests/test_hooks.py
647-coder/Thrall
0876b49a8e5ad12e771e60a6e0cf1f62ce6d791c
[ "MIT" ]
2
2017-12-05T04:13:23.000Z
2018-02-23T03:47:20.000Z
tests/test_hooks.py
647-coder/Thrall
0876b49a8e5ad12e771e60a6e0cf1f62ce6d791c
[ "MIT" ]
1
2018-02-23T02:35:59.000Z
2018-02-23T02:35:59.000Z
# coding: utf-8 # flake8: noqa from thrall.hooks import _SetDefault, _SetDefaultWithParams, SetD class TestSetDefault(object): @_SetDefault def mock(self, **kwargs): return kwargs @_SetDefault def mock2(self, a=1, b=2): return a, b def test_set_ok(self): self.mock.set_de...
22.73913
65
0.584704
346
2,615
4.069364
0.150289
0.074574
0.038352
0.03196
0.716619
0.47017
0.346591
0.308239
0.264205
0.225852
0
0.028327
0.284512
2,615
114
66
22.938596
0.724212
0.009943
0
0.434211
0
0
0.029776
0
0
0
0
0
0.302632
1
0.210526
false
0.026316
0.013158
0.052632
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
1
0
0
0
0
0
0
0
1
45d498e17201a4a0cc73f89969248c177a35012a
344
py
Python
python-scow/listProcDefs.py
smart-cow/scow
8c18327605f863bbcaf897bab701f78e98c08de8
[ "Apache-2.0" ]
null
null
null
python-scow/listProcDefs.py
smart-cow/scow
8c18327605f863bbcaf897bab701f78e98c08de8
[ "Apache-2.0" ]
5
2017-05-08T14:40:58.000Z
2017-05-09T19:18:33.000Z
python-scow/listProcDefs.py
smart-cow/scow
8c18327605f863bbcaf897bab701f78e98c08de8
[ "Apache-2.0" ]
null
null
null
from scowclient import ScowClient import json def listProcs(): sclient = ScowClient() jsonObj = sclient.get('processDefinitions') prettyPrintJson(jsonObj['processDefinitions'][0:4]) def prettyPrintJson(obj): print json.dumps(obj, sort_keys=True, indent=4) def main(): listProcs() if __name__ ==...
18.105263
55
0.703488
38
344
6.131579
0.605263
0.137339
0
0
0
0
0
0
0
0
0
0.010526
0.171512
344
18
56
19.111111
0.807018
0
0
0
0
0
0.127907
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
afdfc88e519f844d49856d8646cb12c864aaf580
329
py
Python
django_project/bucket_list/migrations/0005_remove_task_owner.py
ugauniyal/Bucket-List-App
03ccff11d2ac8be1b875fb9f1d7da54bf9006f6f
[ "MIT" ]
null
null
null
django_project/bucket_list/migrations/0005_remove_task_owner.py
ugauniyal/Bucket-List-App
03ccff11d2ac8be1b875fb9f1d7da54bf9006f6f
[ "MIT" ]
null
null
null
django_project/bucket_list/migrations/0005_remove_task_owner.py
ugauniyal/Bucket-List-App
03ccff11d2ac8be1b875fb9f1d7da54bf9006f6f
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-13 06:02 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('bucket_list', '0004_auto_20201213_0600'), ] operations = [ migrations.RemoveField( model_name='task', name='owner', ...
18.277778
51
0.592705
36
329
5.277778
0.861111
0
0
0
0
0
0
0
0
0
0
0.133621
0.294833
329
17
52
19.352941
0.685345
0.136778
0
0
1
0
0.152482
0.08156
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
afe05e28765fbca6032890f232089c0aeafc38c8
2,114
py
Python
py4e/exercises/exercise_14_1.py
carlosviveros/Soluciones
115f4fa929c7854ca497e4c994352adc64565456
[ "MIT" ]
1
2022-02-02T04:44:56.000Z
2022-02-02T04:44:56.000Z
py4e/exercises/exercise_14_1.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
null
null
null
py4e/exercises/exercise_14_1.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
null
null
null
""" Instructions If you don't already have it, install the SQLite Browser from http://sqlitebrowser.org/ Then, create a SQLite database or use an existing database and create a table in the database called "Ages". +-----------------------+ | CREATE TABLE Ages ( | | name VARCHAR(128), | | age I...
37.087719
71
0.575686
268
2,114
4.537313
0.451493
0.065789
0.092105
0.118421
0.383224
0.383224
0.383224
0.383224
0.057566
0.057566
0
0.030249
0.20246
2,114
57
72
37.087719
0.690985
0.718543
0
0
0
0
0.607143
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
afe06c5256ce9107ec28e681e6b23f6a57519410
10,689
py
Python
db_toolkit/tests/test_mongoDb.py
ib-da-ncirl/db_toolkit
a93069889a0e6834775b22291cd528111c05ad2c
[ "MIT" ]
null
null
null
db_toolkit/tests/test_mongoDb.py
ib-da-ncirl/db_toolkit
a93069889a0e6834775b22291cd528111c05ad2c
[ "MIT" ]
null
null
null
db_toolkit/tests/test_mongoDb.py
ib-da-ncirl/db_toolkit
a93069889a0e6834775b22291cd528111c05ad2c
[ "MIT" ]
1
2019-12-05T19:12:05.000Z
2019-12-05T19:12:05.000Z
# The MIT License (MIT) # Copyright (c) 2019 Ian Buttimer # 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 # to use, copy, modify,...
36.986159
118
0.605389
1,332
10,689
4.701952
0.213213
0.029539
0.031295
0.01932
0.430305
0.411783
0.358933
0.335143
0.325243
0.314386
0
0.007959
0.294695
10,689
288
119
37.114583
0.822788
0.2148
0
0.336842
0
0
0.132474
0.045211
0
0
0
0
0.163158
1
0.021053
false
0.089474
0.031579
0
0.063158
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
afe3bc4af1abe3246448a2cdc2244e1f0c43c4fe
143
py
Python
models/tfidf_allinone/plot.py
shayxu-ai/A-Repository-for-Machine-Learning
4b4cea15bb005d1c58f4395fde97cadf44fb0186
[ "Apache-2.0" ]
1
2020-02-04T03:55:07.000Z
2020-02-04T03:55:07.000Z
models/tfidf_allinone/plot.py
NO-PASSWORD-HERE/A-Repository-for-Machine-Learning
4b4cea15bb005d1c58f4395fde97cadf44fb0186
[ "Apache-2.0" ]
null
null
null
models/tfidf_allinone/plot.py
NO-PASSWORD-HERE/A-Repository-for-Machine-Learning
4b4cea15bb005d1c58f4395fde97cadf44fb0186
[ "Apache-2.0" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np x = np.linspace(-1, 1, 50) y = 1.0/(1.0+np.exp(-5*x)) plt.figure() plt.plot(x, y) plt.show()
20.428571
31
0.657343
32
143
2.9375
0.5625
0.042553
0
0
0
0
0
0
0
0
0
0.072581
0.132867
143
7
32
20.428571
0.685484
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
afe40c913266e4cc1a0050ec40963b53cba16301
890
py
Python
model.py
splitline/Taiwan-Tech-GPA-Saviour
551efc68ec03873c423a7905bdec79b3cd0c46b6
[ "MIT" ]
18
2019-06-16T02:34:51.000Z
2021-11-08T10:57:45.000Z
model.py
splitline/Taiwan-Tech-GPA-Saviour
551efc68ec03873c423a7905bdec79b3cd0c46b6
[ "MIT" ]
null
null
null
model.py
splitline/Taiwan-Tech-GPA-Saviour
551efc68ec03873c423a7905bdec79b3cd0c46b6
[ "MIT" ]
null
null
null
from peewee import * db = SqliteDatabase('course.db', check_same_thread=True) class BaseModel(Model): class Meta: database = db class GradeData(BaseModel): semester = CharField(4) course_no = TextField() course_name = TextField() grades = TextField() total = IntegerField() type =...
24.054054
91
0.623596
90
890
6.055556
0.477778
0.058716
0.095413
0.099083
0.363303
0.363303
0.363303
0.231193
0.231193
0.231193
0
0.004532
0.25618
890
36
92
24.722222
0.818731
0
0
0.433333
0
0
0.060674
0
0
0
0
0
0
1
0
false
0
0.033333
0
0.733333
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
afedaf2261cd5c10cfeea556c23aa12e057e4f80
28,080
py
Python
epi_forecast_stat_mech/sir_sim.py
HopkinsIDD/EpiForecastStatMech
4ba57edff1ece0c56ec6dfa41eac4cfe4a1c66cb
[ "Apache-2.0" ]
4
2020-04-11T17:24:00.000Z
2022-01-21T09:28:03.000Z
epi_forecast_stat_mech/sir_sim.py
HopkinsIDD/EpiForecastStatMech
4ba57edff1ece0c56ec6dfa41eac4cfe4a1c66cb
[ "Apache-2.0" ]
2
2021-05-03T23:48:22.000Z
2022-03-08T12:15:58.000Z
epi_forecast_stat_mech/sir_sim.py
HopkinsIDD/EpiForecastStatMech
4ba57edff1ece0c56ec6dfa41eac4cfe4a1c66cb
[ "Apache-2.0" ]
3
2020-04-13T18:39:56.000Z
2020-04-14T02:02:54.000Z
"""Generate a single discrete time SIR model. """ from . import data_model import numpy as np from scipy import stats import xarray as xr # Generate Betas # Beta, or the growth rate of the infection, depends on the covariates. # Here we implement three different functional forms for the dependency. SPLIT_TIME = 100 ...
44.012539
113
0.70203
3,766
28,080
5.044875
0.090813
0.034739
0.024317
0.024212
0.67393
0.623717
0.585768
0.549082
0.539239
0.51729
0
0.009733
0.235256
28,080
637
114
44.081633
0.875012
0.504808
0
0.338776
1
0
0.118133
0
0
0
0
0.00157
0
1
0.053061
false
0
0.016327
0
0.126531
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
afee2a1d8dad5ee624b30f567447284c66df7058
1,821
py
Python
learnSipros/test/AMD/siprosV3/scripts/parseconfig.py
xyz1396/Projects
943ddb37039c13e2878a1d39a2d4d97c937f183a
[ "MIT" ]
null
null
null
learnSipros/test/AMD/siprosV3/scripts/parseconfig.py
xyz1396/Projects
943ddb37039c13e2878a1d39a2d4d97c937f183a
[ "MIT" ]
null
null
null
learnSipros/test/AMD/siprosV3/scripts/parseconfig.py
xyz1396/Projects
943ddb37039c13e2878a1d39a2d4d97c937f183a
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys, getopt, warnings, os, re def getConfigMasterKeyValue (sMasterKey, dictConfigKeyValues) : dictKeyValueSet = {} for currentKey, currentValue in dictConfigKeyValues.items() : if( currentKey.startswith(sMasterKey+"{") and currentKey.endswith("}") and ((len(sMasterKey) + 2) < len(curren...
30.35
121
0.680945
180
1,821
6.888889
0.372222
0.159677
0.065323
0.043548
0.082258
0.082258
0
0
0
0
0
0.008638
0.173531
1,821
59
122
30.864407
0.815282
0.14223
0
0.093023
0
0
0.028958
0
0
0
0
0
0
0
null
null
0
0.023256
null
null
0.069767
0
0
0
null
0
0
0
0
0
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
afee53d09f5fe2a081a1678b52df5f8dcf0d7330
1,238
py
Python
tests/factories/manga.py
sosolidkk/manga-unifier
4cca148affbb197b9284d46ef04c66d42d96c03a
[ "MIT" ]
6
2021-03-25T14:55:36.000Z
2021-05-25T15:12:41.000Z
tests/factories/manga.py
sosolidkk/manga-unifier
4cca148affbb197b9284d46ef04c66d42d96c03a
[ "MIT" ]
6
2021-02-19T12:32:26.000Z
2021-03-25T16:54:40.000Z
tests/factories/manga.py
sosolidkk/manga-unifier
4cca148affbb197b9284d46ef04c66d42d96c03a
[ "MIT" ]
null
null
null
from decimal import Decimal import factory from unifier.apps.core.models import Manga class MangaFactory(factory.django.DjangoModelFactory): class Meta: model = Manga title = "The Beginning After The End" year = 2018 chapters_count = 92 author = "TurtleMe" description = ( "Ki...
45.851852
120
0.708401
170
1,238
5.152941
0.723529
0.02968
0.038813
0.045662
0.052511
0
0
0
0
0
0
0.021717
0.218901
1,238
26
121
47.615385
0.884178
0
0
0
0
0.136364
0.649435
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.636364
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
affea9791d1b5b376a84f7735d19a245b967217a
1,398
py
Python
test/modules/tls/test_13_proxy.py
tititiou36/httpd
1348607c00ba58ce371f2f8ecb08abf610227043
[ "Apache-2.0" ]
2,529
2015-01-02T11:52:53.000Z
2022-03-30T19:54:27.000Z
test/modules/tls/test_13_proxy.py
tititiou36/httpd
1348607c00ba58ce371f2f8ecb08abf610227043
[ "Apache-2.0" ]
133
2015-04-21T05:50:45.000Z
2022-03-30T14:23:40.000Z
test/modules/tls/test_13_proxy.py
tititiou36/httpd
1348607c00ba58ce371f2f8ecb08abf610227043
[ "Apache-2.0" ]
1,113
2015-01-01T14:47:02.000Z
2022-03-29T16:47:18.000Z
from datetime import timedelta import pytest from .conf import TlsTestConf class TestProxy: @pytest.fixture(autouse=True, scope='class') def _class_scope(self, env): conf = TlsTestConf(env=env, extras={ 'base': "LogLevel proxy:trace1 proxy_http:trace1 ssl:trace1", env.domain...
34.097561
86
0.587983
183
1,398
4.284153
0.409836
0.080357
0.076531
0.035714
0.045918
0
0
0
0
0
0
0.014423
0.25608
1,398
40
87
34.95
0.739423
0.030043
0
0
0
0
0.27548
0.019202
0
0
0
0
0.125
1
0.09375
false
0.0625
0.09375
0
0.21875
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
b3001b605d248e64b4db5522adbf52faa85ab824
422
py
Python
follower_maze/events/operations.py
begor/follower_maze
d76315e5085d4566f5730d70b51559b2262bc827
[ "MIT" ]
null
null
null
follower_maze/events/operations.py
begor/follower_maze
d76315e5085d4566f5730d70b51559b2262bc827
[ "MIT" ]
null
null
null
follower_maze/events/operations.py
begor/follower_maze
d76315e5085d4566f5730d70b51559b2262bc827
[ "MIT" ]
null
null
null
from follower_maze.events import handler from follower_maze.events import parser def parse(payload: bytes): """ Parse given payload bytes into one of `types.Event` subclasses. """ return parser.EventParser(payload).parse() async def handle(payload: bytes): """ Parse event and handle ...
23.444444
71
0.687204
51
422
5.647059
0.54902
0.125
0.111111
0.152778
0.194444
0
0
0
0
0
0
0
0.21327
422
17
72
24.823529
0.86747
0.149289
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b309c952311c2ba99fc6444d9dabcacf6b2a8a7a
1,287
py
Python
apps/base/migrations/0052_fill_new_item_order.py
KolevDarko/lifehq
88d92f5fe76f2fb6511f2a892e096d95a69985d8
[ "MIT" ]
null
null
null
apps/base/migrations/0052_fill_new_item_order.py
KolevDarko/lifehq
88d92f5fe76f2fb6511f2a892e096d95a69985d8
[ "MIT" ]
null
null
null
apps/base/migrations/0052_fill_new_item_order.py
KolevDarko/lifehq
88d92f5fe76f2fb6511f2a892e096d95a69985d8
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2019-01-31 07:28 from django.db import migrations class Migration(migrations.Migration): def forwards_func(apps, schema_editor): ProjectTodoList = apps.get_model('base', 'ProjectTodoList') PersonalTodoList = apps.get_model('base', 'PersonalTodoList') for proj...
33.868421
73
0.62704
149
1,287
5.161074
0.369128
0.062419
0.046814
0.062419
0.247074
0.184655
0.127438
0.127438
0
0
0
0.02381
0.282051
1,287
37
74
34.783784
0.808442
0.033411
0
0.206897
1
0
0.075684
0.022544
0
0
0
0
0
1
0.068966
false
0
0.034483
0
0.206897
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
b30fe42f8cca7219a213d2592238401b41e2044f
2,184
py
Python
pysal/contrib/network/weights.py
cubensys/pysal
8d50990f6e6603ba79ae1a887a20a1e3a0734e51
[ "MIT", "BSD-3-Clause" ]
null
null
null
pysal/contrib/network/weights.py
cubensys/pysal
8d50990f6e6603ba79ae1a887a20a1e3a0734e51
[ "MIT", "BSD-3-Clause" ]
null
null
null
pysal/contrib/network/weights.py
cubensys/pysal
8d50990f6e6603ba79ae1a887a20a1e3a0734e51
[ "MIT", "BSD-3-Clause" ]
1
2021-07-19T01:46:17.000Z
2021-07-19T01:46:17.000Z
""" A library of spatial network functions. Not to be used without permission. Contact: Andrew Winslow GeoDa Center for Geospatial Analysis Arizona State University Tempe, AZ Andrew.Winslow@asu.edu """ import csv import numpy as np from pysal import W import unittest import test def dist_weights(distfile, weight_t...
26.962963
88
0.59478
289
2,184
4.404844
0.439446
0.023566
0.040063
0.031422
0
0
0
0
0
0
0
0.007208
0.301282
2,184
80
89
27.3
0.826999
0
0
0.0625
0
0
0.033608
0
0
0
0
0
0
0
null
null
0
0.104167
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
b318d361a232fadedbec8249fc2947955908bcbe
6,378
py
Python
correlations.py
afontainec/evalpro-demand-estimate
a4423b16dd2d81904b861f71d6a630454b77eda4
[ "MIT" ]
null
null
null
correlations.py
afontainec/evalpro-demand-estimate
a4423b16dd2d81904b861f71d6a630454b77eda4
[ "MIT" ]
null
null
null
correlations.py
afontainec/evalpro-demand-estimate
a4423b16dd2d81904b861f71d6a630454b77eda4
[ "MIT" ]
null
null
null
import Zones import Population import Scenarios import Printer import csv from Global import INITIAL_YEAR, FINAL_YEAR, YEARS, INTERVALS_LABELS def check_attr_exists_in_dictionary(attr, dictionary): if not attr in dictionary: dictionary[attr] = {} going_proportion = {} for zone in Zones.get(): patient...
39.8625
164
0.619003
816
6,378
4.578431
0.106618
0.038812
0.06424
0.068255
0.672377
0.631692
0.606531
0.582976
0.565846
0.565846
0
0.006699
0.227658
6,378
159
165
40.113208
0.751726
0.234556
0
0.387755
0
0
0.146846
0.071768
0
0
0
0
0
0
null
null
0
0.061224
null
null
0.030612
0
0
0
null
0
0
0
0
0
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
b31acfd9ef0b22cc00d423564148ee8cbd5800b7
1,639
py
Python
tests/operation_test.py
SeaOfOcean/EasyParallelLibrary
93baaa851f5ce078b1c55032a27398a588ca4107
[ "Apache-2.0" ]
100
2022-02-23T08:54:35.000Z
2022-03-31T04:02:38.000Z
tests/operation_test.py
chenyang472043503/EasyParallelLibrary
cd2873fe04c86c62e55418129ba2f1dc83d222b4
[ "Apache-2.0" ]
null
null
null
tests/operation_test.py
chenyang472043503/EasyParallelLibrary
cd2873fe04c86c62e55418129ba2f1dc83d222b4
[ "Apache-2.0" ]
22
2022-02-23T09:02:01.000Z
2022-03-18T03:24:00.000Z
# Copyright 2021 Alibaba Group Holding Limited. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
34.87234
79
0.704698
220
1,639
5.109091
0.581818
0.053381
0.042705
0.02847
0.064057
0
0
0
0
0
0
0.009972
0.14338
1,639
46
80
35.630435
0.790598
0.535082
0
0
0
0
0.20436
0.091281
0
0
0
0
0.052632
1
0.052632
false
0
0.315789
0
0.421053
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b324614aaf859130164590db9a2eb5dfbe394219
1,111
py
Python
models/db.py
mcnamara-charles/evote-3.9
d99f2d08631bfbdd90ea83622cb3c17715291ae5
[ "BSD-3-Clause" ]
null
null
null
models/db.py
mcnamara-charles/evote-3.9
d99f2d08631bfbdd90ea83622cb3c17715291ae5
[ "BSD-3-Clause" ]
null
null
null
models/db.py
mcnamara-charles/evote-3.9
d99f2d08631bfbdd90ea83622cb3c17715291ae5
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from gluon.tools import Auth from gluon.contrib.appconfig import AppConfig myconf = AppConfig(reload=True) DEVELOPMENT = myconf.take('app.development').lower()=='true' AS_SERVICE = myconf.take('app.as_service').lower()=='true' DEBUG_MODE = myconf.take('app.debug_mode').lower()=='true...
35.83871
105
0.742574
144
1,111
5.604167
0.465278
0.123916
0.048327
0.079306
0
0
0
0
0
0
0
0.003046
0.113411
1,111
30
106
37.033333
0.816244
0.122412
0
0
0
0
0.151547
0
0
0
0
0
0
1
0
false
0.052632
0.105263
0
0.105263
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
b328efc2e5e2255ab68e10b3d063a09ee14a42e8
6,173
py
Python
ElectreCredibilityWithCounterVeto/ElectreCredibilityWithCounterVeto.py
sbigaret/electre_diviz
ccfb990a2543799acdf3bb21cf8b0c7499a5a3b5
[ "MIT" ]
5
2018-01-13T16:19:04.000Z
2020-11-28T22:09:49.000Z
ElectreCredibilityWithCounterVeto/ElectreCredibilityWithCounterVeto.py
sbigaret/electre_diviz
ccfb990a2543799acdf3bb21cf8b0c7499a5a3b5
[ "MIT" ]
4
2015-02-22T14:01:20.000Z
2019-01-02T18:45:04.000Z
ElectreCredibilityWithCounterVeto/ElectreCredibilityWithCounterVeto.py
sbigaret/electre_diviz
ccfb990a2543799acdf3bb21cf8b0c7499a5a3b5
[ "MIT" ]
4
2015-01-08T23:04:11.000Z
2018-11-06T08:07:34.000Z
#!/usr/bin/env python """ ElectreCredibilityWithCounterVeto - computes credibility matrix using procedure which is common to the most methods from the Electre family. This module is an extended version of 'ElectreCredibility' in that it is designed to work with the 'counter-veto' concept - i.e. it requires an additio...
38.823899
82
0.590151
677
6,173
5.144756
0.319055
0.005168
0.036176
0.027562
0.098191
0.064312
0.028711
0.028711
0.028711
0
0
0.005783
0.327717
6,173
158
83
39.06962
0.833494
0.056051
0
0.116505
0
0
0.090072
0.016656
0
0
0
0
0
0
null
null
0
0.058252
null
null
0.019417
0
0
0
null
0
0
0
0
0
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
b335ee38f9e629274e4f7f2c955038cda98ed7bc
1,413
py
Python
lab1/file_client.py
xtutran/python-labs
252041d26125cfed300905a028f1c72e62a6e048
[ "BSD-3-Clause" ]
null
null
null
lab1/file_client.py
xtutran/python-labs
252041d26125cfed300905a028f1c72e62a6e048
[ "BSD-3-Clause" ]
null
null
null
lab1/file_client.py
xtutran/python-labs
252041d26125cfed300905a028f1c72e62a6e048
[ "BSD-3-Clause" ]
null
null
null
from socket import * # Import socket module import sys # main method to launch the client def main(): argv = sys.argv if len(argv) != 4: print 'Usage: python file_client.py 192.168.10.1 9090 filename' sys.exit(1) if not argv[2].isdigit(): print 'Port must be a number' sys...
26.660377
71
0.562633
176
1,413
4.431818
0.511364
0.05641
0.030769
0
0
0
0
0
0
0
0
0.033659
0.348195
1,413
52
72
27.173077
0.813246
0.136589
0
0.128205
0
0
0.176422
0
0
0
0
0
0
0
null
null
0
0.051282
null
null
0.205128
0
0
0
null
0
0
0
0
0
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
b33be3d81c428aa1780bf8e92dc9c2b133c3b923
3,681
py
Python
run_wallet.py
STR-Coding-Club/RobCoin
a47e232fdea193bea0c2c634f4c6fbf7d4806e0b
[ "MIT" ]
3
2021-05-27T23:00:58.000Z
2021-06-04T20:20:00.000Z
run_wallet.py
Ti1mmy/RobCoin
a47e232fdea193bea0c2c634f4c6fbf7d4806e0b
[ "MIT" ]
3
2021-05-20T19:31:35.000Z
2021-07-20T23:24:56.000Z
run_wallet.py
Ti1mmy/RobCoin
a47e232fdea193bea0c2c634f4c6fbf7d4806e0b
[ "MIT" ]
4
2021-05-27T23:01:13.000Z
2021-06-13T01:25:17.000Z
""" MIT License Copyright (c) 2021 STR-Coding-Club 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 to use, copy, modify, merge, publis...
36.445545
117
0.644933
475
3,681
4.955789
0.385263
0.037383
0.033985
0.016143
0.079014
0.056924
0.056924
0.056924
0.056924
0.056924
0
0.006543
0.252649
3,681
100
118
36.81
0.849146
0.299647
0
0.328358
0
0.029851
0.405995
0.056831
0
0
0
0
0
1
0.014925
false
0
0.044776
0
0.059701
0.477612
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
b33ee475b56ebbde098d5bba263d8b5d4412f847
539
py
Python
website/forms.py
yx1302317313/HexoWeb
7d37c58a1108f34795c5cbe161d3c0405ddb6795
[ "MIT" ]
null
null
null
website/forms.py
yx1302317313/HexoWeb
7d37c58a1108f34795c5cbe161d3c0405ddb6795
[ "MIT" ]
4
2021-03-19T11:30:54.000Z
2021-06-09T19:11:10.000Z
website/forms.py
yx1302317313/HexoWeb
7d37c58a1108f34795c5cbe161d3c0405ddb6795
[ "MIT" ]
null
null
null
from django.forms import ModelForm from .models import Website class WebsiteForm(ModelForm): class Meta: model = Website fields = ['title', 'subtitle', 'author', 'per_page', 'url', 'desc', 'keyword', 'repository', 'branch', 'git_username', 'git_email', 'git_password'] def sa...
25.666667
86
0.595547
61
539
5.131148
0.622951
0.089457
0
0
0
0
0
0
0
0
0
0
0.282004
539
20
87
26.95
0.808786
0
0
0
0
0
0.166976
0
0
0
0
0
0
1
0.133333
false
0.066667
0.133333
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
1
0
0
0
0
0
1
b349145897d9a1a95fac6e2faebd41ba8edd3362
2,379
py
Python
p2ner/components/produceroverlay/centralproducerclient/centralproducerclient/core.py
schristakidis/p2ner
46694a41e8c1ebdc28f520b58c126da8785f3eed
[ "Apache-2.0" ]
2
2015-06-01T22:04:34.000Z
2017-07-06T09:35:00.000Z
p2ner/components/produceroverlay/centralproducerclient/centralproducerclient/core.py
schristakidis/p2ner
46694a41e8c1ebdc28f520b58c126da8785f3eed
[ "Apache-2.0" ]
null
null
null
p2ner/components/produceroverlay/centralproducerclient/centralproducerclient/core.py
schristakidis/p2ner
46694a41e8c1ebdc28f520b58c126da8785f3eed
[ "Apache-2.0" ]
1
2019-11-26T10:22:35.000Z
2019-11-26T10:22:35.000Z
# -*- coding: utf-8 -*- # Copyright 2012 Loris Corazza, Sakis Christakidis # # 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 # # U...
34.478261
76
0.668768
281
2,379
5.633452
0.480427
0.037903
0.027795
0.020215
0
0
0
0
0
0
0
0.006601
0.235813
2,379
68
77
34.985294
0.864136
0.257251
0
0
0
0
0.126712
0
0
0
0
0
0
0
null
null
0
0.097561
null
null
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
1
0
0
0
0
0
0
0
0
1
b34984e609bcbd4c4032f1731bcf85cde9a8055f
2,040
py
Python
rides/models.py
petersoleeh/ShareRide
b37ce2f22dffd01e6c5671e76e708138966159b1
[ "MIT" ]
1
2019-01-24T01:01:45.000Z
2019-01-24T01:01:45.000Z
rides/models.py
petersoleeh/ShareRide
b37ce2f22dffd01e6c5671e76e708138966159b1
[ "MIT" ]
null
null
null
rides/models.py
petersoleeh/ShareRide
b37ce2f22dffd01e6c5671e76e708138966159b1
[ "MIT" ]
null
null
null
from django.db import models import datetime as dt from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver from django.db.models import Q, signals # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, on_del...
29.142857
75
0.746078
284
2,040
5.165493
0.292254
0.042945
0.06135
0.0818
0.483981
0.34015
0.263122
0.171097
0.171097
0
0
0.01087
0.143137
2,040
69
76
29.565217
0.828375
0.011765
0
0.177778
0
0
0.008441
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0.088889
0.844444
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
b34c35c7201cd8644d244aa50d49831bd70f1b9d
1,885
py
Python
diesis/scrapers/LyricsScraper.py
RyanJ93/diesis
56b98f36bae56d63fa8558f3ac1d0dfdca79e1a6
[ "MIT" ]
4
2020-12-23T11:50:45.000Z
2021-09-04T14:06:49.000Z
diesis/scrapers/LyricsScraper.py
RyanJ93/diesis
56b98f36bae56d63fa8558f3ac1d0dfdca79e1a6
[ "MIT" ]
null
null
null
diesis/scrapers/LyricsScraper.py
RyanJ93/diesis
56b98f36bae56d63fa8558f3ac1d0dfdca79e1a6
[ "MIT" ]
null
null
null
from typing import Optional class LyricsScraper: query: str = None minimal_query: str = None lyrics: str = None lyrics_writer: str = None def set_query(self, query: str, minimal_query: str) -> None: """ Sets the search query to use for lyrics look up. :param query: A strin...
36.25
119
0.625995
248
1,885
4.701613
0.318548
0.054889
0.072899
0.068611
0.274443
0.108062
0
0
0
0
0
0
0.302918
1,885
51
120
36.960784
0.887367
0.51618
0
0
0
0
0
0
0
0
0
0
0
1
0.190476
false
0
0.047619
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b34c8254e6a4c5b3bccbe362d148a969042a5295
3,403
py
Python
python/Brunel/_affiliations.py
brunels-network/kiosk
580b3ed55dc40a7c3427343334bc541f0e5e945e
[ "MIT" ]
3
2020-08-05T11:21:47.000Z
2020-10-19T12:40:23.000Z
python/Brunel/_affiliations.py
brunels-network/kiosk
580b3ed55dc40a7c3427343334bc541f0e5e945e
[ "MIT" ]
8
2020-08-17T09:51:23.000Z
2020-11-30T12:07:11.000Z
python/Brunel/_affiliations.py
brunels-network/kiosk
580b3ed55dc40a7c3427343334bc541f0e5e945e
[ "MIT" ]
2
2021-03-09T11:05:15.000Z
2021-04-15T11:25:46.000Z
from ._affiliation import Affiliation as _Affiliation __all__ = ["Affiliations"] def _generate_affiliation_uid(): import uuid as _uuid uid = _uuid.uuid4() return "A" + str(uid)[:7] class Affiliations: """This holds a registry of individual Affiliations """ def __init__(self, props=N...
27.007937
75
0.560094
336
3,403
5.559524
0.25
0.033726
0.054604
0.025696
0.178266
0.102784
0.049251
0.049251
0
0
0
0.003107
0.337937
3,403
125
76
27.224
0.82601
0.029386
0
0.141176
1
0
0.087393
0
0
0
0
0
0
1
0.105882
false
0.011765
0.023529
0.011765
0.305882
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
b34eadf4d81579fb600a710e3a3db935cbce1a41
1,862
py
Python
bot_modules/py/help_mgr.py
cumdata/irc_bot
6593215acb7850f435389ae64652d831279f3332
[ "WTFPL" ]
2
2021-09-30T03:19:15.000Z
2021-12-30T04:18:46.000Z
bot_modules/py/help_mgr.py
deacon-ralph/irc_bot
62c8a6d0f9890b3fbfd356f533e9d58c38bbc176
[ "WTFPL" ]
7
2021-10-01T02:38:39.000Z
2022-02-17T04:58:48.000Z
bot_modules/py/help_mgr.py
cumdata/irc_bot
6593215acb7850f435389ae64652d831279f3332
[ "WTFPL" ]
null
null
null
"""Help module, which displays help info for plugins""" import colors import plugin_api class Plugin(plugin_api.LocalPlugin): """Help plugin""" @property def enabled(self): """ALWAYS ENABLED!""" return True def help_msg(self): return { 'usage': '.help <module> <de...
32.666667
80
0.39957
150
1,862
4.913333
0.36
0.081411
0.081411
0.119403
0.542741
0.542741
0.542741
0.542741
0.542741
0.542741
0
0.007709
0.512352
1,862
56
81
33.25
0.803965
0.041353
0
0.479167
0
0
0.075184
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0.020833
0.145833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
b34eddd2342ab457169fc99bba34ed9a9c01335f
4,441
py
Python
egs/SBS-mul/s5_old/local/dt_to_ipa.py
irrawaddy28/SBS-kaldi-2015
01b056f429a673255975ad6b49d4116c1438c289
[ "Apache-2.0" ]
null
null
null
egs/SBS-mul/s5_old/local/dt_to_ipa.py
irrawaddy28/SBS-kaldi-2015
01b056f429a673255975ad6b49d4116c1438c289
[ "Apache-2.0" ]
null
null
null
egs/SBS-mul/s5_old/local/dt_to_ipa.py
irrawaddy28/SBS-kaldi-2015
01b056f429a673255975ad6b49d4116c1438c289
[ "Apache-2.0" ]
null
null
null
import fst import codecs import sys import cPickle as pickle import subprocess from kitchen.text.converters import getwriter DATA_DIR = sys.argv[1] FILE_LIST = sys.argv[2] DUTCH_FST_FILE = '/export/ws15-pt-data/rsloan/Dutch_ref_orthography_fst.txt' DUTCH_DICT = '/export/ws15-pt-data/rsloan/dt_pron.p' EN_DICT = '/expor...
36.401639
110
0.56181
606
4,441
4.023102
0.333333
0.010664
0.04799
0.032814
0.082034
0.082034
0.015587
0
0
0
0
0.023765
0.279892
4,441
121
111
36.702479
0.738587
0.168881
0
0.022472
0
0.011236
0.136404
0.064364
0
0
0
0
0
0
null
null
0
0.067416
null
null
0.011236
0
0
0
null
0
0
0
0
0
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
b350f86ad477380e6d7d4450d45c7f9f738b3dfe
893
py
Python
app/migrations/0002_participant.py
mma22-git/woc3.0-eventmanager-Meet_Mungra
b63948871bbf5e91392f21aee4f366809a4ff0f3
[ "MIT" ]
null
null
null
app/migrations/0002_participant.py
mma22-git/woc3.0-eventmanager-Meet_Mungra
b63948871bbf5e91392f21aee4f366809a4ff0f3
[ "MIT" ]
null
null
null
app/migrations/0002_participant.py
mma22-git/woc3.0-eventmanager-Meet_Mungra
b63948871bbf5e91392f21aee4f366809a4ff0f3
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-19 09:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.CreateModel( name='Participant', fields=[ ('id', ...
34.346154
114
0.56439
93
893
5.290323
0.666667
0.109756
0.044715
0
0
0
0
0
0
0
0
0.054096
0.275476
893
25
115
35.72
0.706337
0.050392
0
0
1
0
0.104019
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b351175b3982842561377d34a49cd98cea897393
1,881
py
Python
invenio_communities/fixtures/tasks.py
lhenze/invenio-communities
471abcf6b4429306ab39cc0c334cd78911a2dfb2
[ "MIT" ]
null
null
null
invenio_communities/fixtures/tasks.py
lhenze/invenio-communities
471abcf6b4429306ab39cc0c334cd78911a2dfb2
[ "MIT" ]
null
null
null
invenio_communities/fixtures/tasks.py
lhenze/invenio-communities
471abcf6b4429306ab39cc0c334cd78911a2dfb2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2016-2021 CERN. # Copyright (C) 2022 Graz University of Technology. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Celery tasks for fixtures...
28.938462
86
0.699628
229
1,881
5.620087
0.541485
0.02331
0.01554
0.049728
0
0
0
0
0
0
0
0.008844
0.218501
1,881
64
87
29.390625
0.866667
0.283892
0
0.230769
0
0
0.018925
0
0
0
0
0
0
1
0.076923
false
0.076923
0.179487
0
0.25641
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
b357ea7a98b7c2167eb8c26afbfc23ff4e5af43b
1,074
py
Python
user/models.py
farhad0085/django-money-management
d4622192d6b9df3f785abd5f4ef1bfcbf465d045
[ "MIT" ]
null
null
null
user/models.py
farhad0085/django-money-management
d4622192d6b9df3f785abd5f4ef1bfcbf465d045
[ "MIT" ]
null
null
null
user/models.py
farhad0085/django-money-management
d4622192d6b9df3f785abd5f4ef1bfcbf465d045
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver from common.currencies import CURRENCIES class UserProfile(models.Model): """User profile for extending default django User model""" user = models.OneTo...
35.8
93
0.755121
145
1,074
5.441379
0.441379
0.069708
0.030418
0.060837
0.073511
0.073511
0
0
0
0
0
0.006438
0.132216
1,074
30
94
35.8
0.840129
0.080074
0
0.1
0
0
0.033742
0
0
0
0
0
0
1
0.15
false
0
0.25
0.05
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b361b2cf0e7e9fe18efebbc5dd17ef328ebb1b63
3,646
py
Python
ml/gbdt/XgboostDemo.py
lj72808up/AI_handcraft
31c48b91eccf2a64a9fb2a24f1829045c1252358
[ "Apache-2.0" ]
null
null
null
ml/gbdt/XgboostDemo.py
lj72808up/AI_handcraft
31c48b91eccf2a64a9fb2a24f1829045c1252358
[ "Apache-2.0" ]
null
null
null
ml/gbdt/XgboostDemo.py
lj72808up/AI_handcraft
31c48b91eccf2a64a9fb2a24f1829045c1252358
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import pandas as pd import numpy as np import xgboost as xgb def getData(): data = pd.read_csv("../../datasets/census.csv") income_raw = data['income'] features_raw = data.drop('income', axis=1) # 独热编码,只取收入大于50k作为输出字段 income = pd.get_dummies(income_raw).iloc[:, 1:] # ...
36.46
139
0.687054
522
3,646
4.601533
0.260536
0.037469
0.014571
0.024979
0.538718
0.458784
0.443797
0.412989
0.38801
0.38801
0
0.018039
0.194185
3,646
100
140
36.46
0.799523
0.18486
0
0.271186
0
0
0.101999
0.008472
0
0
0
0
0
0
null
null
0
0.101695
null
null
0.067797
0
0
0
null
0
0
0
0
0
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