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
c5326de3fcb556f957b179e8c1dab4ef883fb5ff
1,357
py
Python
tests/test_draft.py
jsvine/tinyapi
ac2cf0400b2a9b22bd0b1f43b36be99f5d1a787c
[ "MIT" ]
12
2015-12-14T16:53:35.000Z
2022-01-18T03:31:19.000Z
tests/test_draft.py
jsvine/tinyapi
ac2cf0400b2a9b22bd0b1f43b36be99f5d1a787c
[ "MIT" ]
2
2017-03-17T04:04:03.000Z
2022-01-18T03:32:40.000Z
tests/test_draft.py
jsvine/tinyapi
ac2cf0400b2a9b22bd0b1f43b36be99f5d1a787c
[ "MIT" ]
4
2017-11-22T08:10:28.000Z
2019-02-28T06:25:31.000Z
import tinyapi from unittest import TestCase from getpass import getpass from nose.tools import raises import os DEFAULT_USERNAME = "tinyapi-test-account" USERNAME = os.environ.get("TINYAPI_TEST_USERNAME") or DEFAULT_USERNAME PASSWORD = os.environ.get("TINYAPI_TEST_PASSWORD") or getpass() class TestDraft(TestCase): ...
31.55814
70
0.68902
169
1,357
5.331361
0.301775
0.073252
0.08879
0.08879
0.382908
0.250832
0.079911
0
0
0
0
0.000935
0.212233
1,357
42
71
32.309524
0.841908
0
0
0.222222
0
0
0.068534
0.030951
0
0
0
0
0.111111
1
0.138889
false
0.083333
0.138889
0
0.305556
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
c538bac77d1b385a46d6dbc079b60917fab073d2
313
py
Python
corehq/ex-submodules/phonelog/migrations/0013_delete_olddevicereportentry.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/ex-submodules/phonelog/migrations/0013_delete_olddevicereportentry.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/ex-submodules/phonelog/migrations/0013_delete_olddevicereportentry.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
# Generated by Django 1.10.7 on 2017-07-11 12:26 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('phonelog', '0012_server_date_not_null'), ] operations = [ migrations.DeleteModel( name='OldDeviceReportEntry', ), ]
18.411765
50
0.626198
33
313
5.818182
0.878788
0
0
0
0
0
0
0
0
0
0
0.087336
0.268371
313
16
51
19.5625
0.751092
0.146965
0
0
1
0
0.2
0.09434
0
0
0
0
0
1
0
false
0
0.1
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c53d68c3be4ece4d51008e001e3a84d227ee3e2c
454
py
Python
app/common/cli_tools/db_operation.py
MU-Software/bca_backend
282db3908ee0b2c95c5e6bd6d6458077e941f343
[ "MIT" ]
6
2021-08-20T01:35:01.000Z
2021-12-22T18:23:17.000Z
app/common/cli_tools/db_operation.py
MU-Software/bca_backend
282db3908ee0b2c95c5e6bd6d6458077e941f343
[ "MIT" ]
null
null
null
app/common/cli_tools/db_operation.py
MU-Software/bca_backend
282db3908ee0b2c95c5e6bd6d6458077e941f343
[ "MIT" ]
null
null
null
import click import flask import flask.cli import app.database @click.command('drop-db') @flask.cli.with_appcontext def drop_db(): try: if flask.current_app.config.get('RESTAPI_VERSION', 'prod') != 'dev': print('Cannot drop DB: RESTAPI_VERSION is not \'dev\'') return app....
22.7
76
0.64978
59
454
4.898305
0.59322
0.062284
0
0
0
0
0
0
0
0
0
0
0.231278
454
19
77
23.894737
0.82808
0
0
0
0
0
0.268722
0
0
0
0
0
0
1
0.066667
true
0
0.266667
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c53f5ff898839b06c3ab976c6d17636eb261b4b6
1,839
py
Python
discordplus/errors.py
Ashenguard/DiscordPlus
94d2226c4e12cb2f4215cd956f19c7adf4420e9a
[ "MIT" ]
null
null
null
discordplus/errors.py
Ashenguard/DiscordPlus
94d2226c4e12cb2f4215cd956f19c7adf4420e9a
[ "MIT" ]
null
null
null
discordplus/errors.py
Ashenguard/DiscordPlus
94d2226c4e12cb2f4215cd956f19c7adf4420e9a
[ "MIT" ]
null
null
null
import traceback from io import StringIO from typing import Union from discord import Color, File from discord.ext.commands import Context from discord_slash.context import InteractionContext from discord_slash.error import SlashCommandError from .classes import BotPlus from .database.translation import Translation ...
27.863636
113
0.686243
208
1,839
5.942308
0.447115
0.035599
0.02589
0.032362
0.037217
0
0
0
0
0
0
0.000697
0.219685
1,839
65
114
28.292308
0.860627
0.067972
0
0.075
0
0
0.052882
0
0
0
0
0
0
1
0.025
false
0.075
0.225
0
0.475
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
c548108c0caae48cd90b7c2478e1e566df26d762
5,298
py
Python
rave_ec/Lib/odc_polarQC.py
DanielMichelson/drqc_article
cd7df2f7290adedb557bbc6ba484d30039a23ce2
[ "CC-BY-4.0" ]
null
null
null
rave_ec/Lib/odc_polarQC.py
DanielMichelson/drqc_article
cd7df2f7290adedb557bbc6ba484d30039a23ce2
[ "CC-BY-4.0" ]
null
null
null
rave_ec/Lib/odc_polarQC.py
DanielMichelson/drqc_article
cd7df2f7290adedb557bbc6ba484d30039a23ce2
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/env python ''' Copyright (C) 2012- Swedish Meteorological and Hydrological Institute (SMHI) This file is part of RAVE. RAVE is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of t...
32.703704
79
0.656663
723
5,298
4.749654
0.396957
0.017472
0.018928
0.017472
0.105125
0.068142
0.044846
0.025044
0
0
0
0.006614
0.229521
5,298
161
80
32.906832
0.83464
0.31125
0
0.126437
0
0
0.039474
0
0
0
0
0
0
0
null
null
0.011494
0.08046
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
c54bc3c8904fbde7648d30e7fd033a82166a061c
626
py
Python
6.28. Loop while.py
kyumiouchi/python-basic-to-advanced
a774085a5d0e0bfed90098e0f27c8fb7b760d9a7
[ "Apache-2.0" ]
null
null
null
6.28. Loop while.py
kyumiouchi/python-basic-to-advanced
a774085a5d0e0bfed90098e0f27c8fb7b760d9a7
[ "Apache-2.0" ]
null
null
null
6.28. Loop while.py
kyumiouchi/python-basic-to-advanced
a774085a5d0e0bfed90098e0f27c8fb7b760d9a7
[ "Apache-2.0" ]
null
null
null
""" Loop while General form; while bool_expression: //execute loop Repeat until bool expression is True bool expression is all expression where the result is True or False Sample: num = 5 num < 5 # False num > 5 # False # sample 1 number = 1 while number < 10: # 1, 2, 3, 4, 5, 6, 7, 8, 9 print(number...
13.041667
67
0.642173
95
626
4.221053
0.557895
0.104738
0.079801
0
0
0
0
0
0
0
0
0.038298
0.249201
626
47
68
13.319149
0.814894
0.848243
0
0
0
0
0.302326
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c54e3dd1dc63b912a2d341bf4789fa670662b98b
455
py
Python
UI/authenticate/migrations/0006_auto_20210820_1020.py
kanakmi/Delta-Diagnose
14f261f7d1111dc302432659f09c1a7aa1daba37
[ "MIT" ]
10
2021-08-10T05:18:48.000Z
2022-02-01T03:44:31.000Z
UI/authenticate/migrations/0006_auto_20210820_1020.py
kanakmi/Delta-Diagnose
14f261f7d1111dc302432659f09c1a7aa1daba37
[ "MIT" ]
null
null
null
UI/authenticate/migrations/0006_auto_20210820_1020.py
kanakmi/Delta-Diagnose
14f261f7d1111dc302432659f09c1a7aa1daba37
[ "MIT" ]
3
2021-08-17T14:17:37.000Z
2021-12-22T02:18:35.000Z
# Generated by Django 3.1.3 on 2021-08-20 10:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('authenticate', '0005_auto_20210701_2020'), ] operations = [ migrations.AlterField( model_name='profile', name='pictu...
23.947368
112
0.632967
49
455
5.77551
0.755102
0.106007
0
0
0
0
0
0
0
0
0
0.090909
0.250549
455
18
113
25.277778
0.739003
0.098901
0
0
1
0
0.242647
0.056373
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
c55849c833b97230a330c8130dcf603ad2ea2288
10,730
py
Python
src/syft/core/node/common/action/get_object_action.py
aeroaks/PySyft
88220c38faf3cd72ddc63c73f3c0533695df53c9
[ "Apache-2.0" ]
null
null
null
src/syft/core/node/common/action/get_object_action.py
aeroaks/PySyft
88220c38faf3cd72ddc63c73f3c0533695df53c9
[ "Apache-2.0" ]
null
null
null
src/syft/core/node/common/action/get_object_action.py
aeroaks/PySyft
88220c38faf3cd72ddc63c73f3c0533695df53c9
[ "Apache-2.0" ]
null
null
null
# stdlib from typing import Optional # third party from google.protobuf.reflection import GeneratedProtocolMessageType from nacl.signing import VerifyKey # syft relative from .....decorators.syft_decorator_impl import syft_decorator from .....logger import critical from .....logger import debug from .....logger impor...
38.876812
97
0.651445
1,269
10,730
5.385343
0.195429
0.010536
0.031607
0.030436
0.47849
0.464442
0.456541
0.438396
0.428739
0.408838
0
0.000914
0.28658
10,730
275
98
39.018182
0.891835
0.399814
0
0.237037
1
0
0.103079
0.041163
0
0
0
0.007273
0
1
0.074074
false
0
0.133333
0.007407
0.281481
0.007407
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
c559c56b370c60b4096517a751d0b3f011d2c54b
750
py
Python
pibackup/ssh.py
StowasserH/PiBackup
708e84d3ffcd35840ce92ec9bfa0ec29d9e69796
[ "MIT" ]
null
null
null
pibackup/ssh.py
StowasserH/PiBackup
708e84d3ffcd35840ce92ec9bfa0ec29d9e69796
[ "MIT" ]
null
null
null
pibackup/ssh.py
StowasserH/PiBackup
708e84d3ffcd35840ce92ec9bfa0ec29d9e69796
[ "MIT" ]
null
null
null
class Ssh: def __init__(self,user,server,port,mode): self.user=user self.server=server self.port=port self.mode=mode @classmethod def fromconfig(cls, config): propbag={} for key, item in config: if key.strip()[0] == ";": continue ...
26.785714
85
0.534667
90
750
4.377778
0.322222
0.081218
0.071066
0.071066
0.152284
0.152284
0.152284
0.152284
0
0
0
0.005814
0.312
750
28
86
26.785714
0.757752
0
0
0.083333
0
0
0.046605
0
0
0
0
0
0
1
0.208333
false
0
0
0.041667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c55e2663b12cbcbf70543d73178d39c52a0dd0d1
7,427
py
Python
bb-master/sandbox/lib/python3.5/site-packages/buildbot/pbmanager.py
Alecto3-D/testable-greeter
09e8e488edfb7e46cf5867b2b5a6ebe0b1929f78
[ "MIT" ]
2
2017-07-11T18:56:27.000Z
2017-07-28T14:01:12.000Z
bb-master/sandbox/lib/python3.5/site-packages/buildbot/pbmanager.py
Alecto3-D/testable-greeter
09e8e488edfb7e46cf5867b2b5a6ebe0b1929f78
[ "MIT" ]
1
2017-07-28T13:53:41.000Z
2017-07-31T15:30:40.000Z
bb-master/sandbox/lib/python3.5/site-packages/buildbot/pbmanager.py
Alecto3-D/testable-greeter
09e8e488edfb7e46cf5867b2b5a6ebe0b1929f78
[ "MIT" ]
null
null
null
# This file is part of Buildbot. Buildbot is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public # License as published by the Free Software Foundation, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without eve...
34.868545
81
0.654235
847
7,427
5.688312
0.293979
0.027397
0.019718
0.017435
0.088626
0.02885
0.011623
0
0
0
0
0.003497
0.26848
7,427
212
82
35.033019
0.883306
0.222836
0
0.169231
0
0
0.06713
0.007835
0
0
0
0
0.023077
1
0.146154
false
0.061538
0.115385
0.023077
0.423077
0.007692
0
0
0
null
0
0
0
0
0
0
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
c55e431a8097d693d5f79438ea70b57a3f917ea8
1,158
py
Python
pycoin/test/ecdsa_test.py
vbuterin/ngcccbase
c7c2b90627b99c3c1cd3526ff3986ee50745ea72
[ "MIT" ]
5
2016-01-07T13:48:42.000Z
2022-01-16T22:54:12.000Z
pycoin/test/ecdsa_test.py
vbuterin/ngcccbase
c7c2b90627b99c3c1cd3526ff3986ee50745ea72
[ "MIT" ]
null
null
null
pycoin/test/ecdsa_test.py
vbuterin/ngcccbase
c7c2b90627b99c3c1cd3526ff3986ee50745ea72
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest from pycoin.ecdsa import generator_secp256k1, sign, verify, public_pair_for_secret_exponent class ECDSATestCase(unittest.TestCase): def test_sign_verify(self): def do_test(secret_exponent, val_list): public_point = public_pair_for_secret_exponent(generat...
41.357143
96
0.722798
114
1,158
7
0.429825
0.052632
0.032581
0.047619
0.200501
0.132832
0.132832
0.132832
0.132832
0.132832
0
0.220765
0.209845
1,158
27
97
42.888889
0.651366
0.017271
0
0.105263
0
0
0.007036
0
0
0
0.174142
0
0.105263
1
0.105263
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c560582096dc330943e49694f700390fe7be20ef
16,004
py
Python
tutorados/models.py
jjmartinr01/gauss3
1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94
[ "MIT" ]
null
null
null
tutorados/models.py
jjmartinr01/gauss3
1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94
[ "MIT" ]
null
null
null
tutorados/models.py
jjmartinr01/gauss3
1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os from datetime import date from django.db import models from entidades.models import Gauser_extra from autenticar.models import Gauser from django.utils.text import slugify from horarios.models import Sesion # Manejo de los ficheros subidos para...
55.186207
145
0.696201
2,016
16,004
5.390873
0.190476
0.03975
0.044166
0.059441
0.589989
0.545271
0.507821
0.456662
0.392345
0.371273
0
0.016294
0.164021
16,004
289
146
55.377163
0.795874
0.502937
0
0.372093
0
0
0.123389
0
0
0
0
0
0
1
0.155039
false
0.007752
0.077519
0.093023
0.751938
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
c56298a3edbcf4c6358c9730118ccddc92cdfbf8
17,086
py
Python
baby_backend/apps/vendors/models.py
mthnglac/BabyTextile-Server
b60c460bf3d3f0250cfc6630acd40e182acae1df
[ "MIT" ]
1
2022-01-06T18:13:36.000Z
2022-01-06T18:13:36.000Z
baby_backend/apps/vendors/models.py
mthnglac/BabyTextile-Server
b60c460bf3d3f0250cfc6630acd40e182acae1df
[ "MIT" ]
null
null
null
baby_backend/apps/vendors/models.py
mthnglac/BabyTextile-Server
b60c460bf3d3f0250cfc6630acd40e182acae1df
[ "MIT" ]
null
null
null
import os import random from decimal import Decimal from django.contrib.auth.models import User from django.db import models from django.utils import timezone from django.utils.translation import ugettext_lazy as _ from baby_backend.utils.utils import calculate_nearest_half, unique_slug_generator BILLING_TYPE = ( ...
44.149871
120
0.683952
2,038
17,086
5.462218
0.119235
0.099802
0.044466
0.049587
0.556683
0.515631
0.45742
0.428494
0.389418
0.360672
0
0.009637
0.19835
17,086
386
121
44.264249
0.803096
0.009189
0
0.308411
0
0
0.111308
0.004372
0
0
0
0
0
1
0.093458
false
0.012461
0.024922
0.037383
0.570093
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
c566e8428075c502382acb7b6d53d54cf0c72006
399
py
Python
labs/backend/migrations/0012_dataset_dataslug.py
judaicalink/judaicalink-labs
037621ba14fb020e80cecfea2a6699dbd915c956
[ "MIT" ]
3
2020-04-03T11:34:38.000Z
2020-05-14T19:28:54.000Z
labs/backend/migrations/0012_dataset_dataslug.py
judaicalink/judaicalink-labs
037621ba14fb020e80cecfea2a6699dbd915c956
[ "MIT" ]
131
2021-08-31T11:38:05.000Z
2022-03-30T11:55:06.000Z
labs/backend/migrations/0012_dataset_dataslug.py
judaicalink/judaicalink-labs
037621ba14fb020e80cecfea2a6699dbd915c956
[ "MIT" ]
2
2020-01-14T12:45:27.000Z
2020-01-14T13:24:34.000Z
# Generated by Django 3.0.5 on 2020-07-15 10:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('backend', '0011_dataset_category'), ] operations = [ migrations.AddField( model_name='dataset', name='...
21
48
0.566416
40
399
5.575
0.825
0
0
0
0
0
0
0
0
0
0
0.07037
0.323308
399
18
49
22.166667
0.755556
0.112782
0
0
1
0
0.128743
0.062874
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
c56b7a7d47b5f698c83a629a6f8994cc9662f3a2
561
py
Python
ch49-计算摄影学-图像去噪/1-fastNlMeansDenoisingColored.py
makelove/OpenCV-Python-Tutorial
e428d648f7aa50d6a0fb4f4d0fb1bd1a600fef41
[ "MIT" ]
2,875
2016-10-21T01:33:22.000Z
2022-03-30T12:15:28.000Z
ch49-计算摄影学-图像去噪/1-fastNlMeansDenoisingColored.py
makelove/OpenCV-Python-Tutorial
e428d648f7aa50d6a0fb4f4d0fb1bd1a600fef41
[ "MIT" ]
12
2017-07-18T14:24:27.000Z
2021-07-04T10:32:25.000Z
ch49-计算摄影学-图像去噪/1-fastNlMeansDenoisingColored.py
makelove/OpenCV-Python-Tutorial
e428d648f7aa50d6a0fb4f4d0fb1bd1a600fef41
[ "MIT" ]
1,066
2017-03-11T01:43:28.000Z
2022-03-29T14:52:41.000Z
# -*- coding: utf-8 -*- # @Time : 2017/7/13 下午9:56 # @Author : play4fun # @File : 1-fastNlMeansDenoisingColored.py # @Software: PyCharm """ 1-fastNlMeansDenoisingColored.py: """ import numpy as np import cv2 from matplotlib import pyplot as plt img = cv2.imread('die.png') img = cv2.cvtColor(img, code=cv2.COLO...
22.44
63
0.707665
82
561
4.817073
0.536585
0.075949
0.151899
0.096203
0.111392
0
0
0
0
0
0
0.084016
0.130125
561
24
64
23.375
0.72541
0.442068
0
0
0
0
0.023411
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c56c01f95908c2e70602854101ef9364d5218f48
4,157
py
Python
src/parse_input.py
ukc-co663/dependency-solver-2019-ds576
a4b029ff53d87ee5e0f58f3f8f431b48410d2de0
[ "MIT" ]
1
2019-03-05T15:15:11.000Z
2019-03-05T15:15:11.000Z
src/parse_input.py
ukc-co663/dependency-solver-2019-ds576
a4b029ff53d87ee5e0f58f3f8f431b48410d2de0
[ "MIT" ]
null
null
null
src/parse_input.py
ukc-co663/dependency-solver-2019-ds576
a4b029ff53d87ee5e0f58f3f8f431b48410d2de0
[ "MIT" ]
null
null
null
import sys import itertools from package_filter import PackageFilter from util import list_flatten from package import Package def generate_repo(repo_json): """Takes a JSON repository description and generates a dictionary of corresponding Package objects. The repo is a dictionary organised via package n...
32.476563
106
0.579264
453
4,157
5.216336
0.214128
0.037241
0.016928
0.035548
0.08887
0.066864
0.035548
0.035548
0.035548
0.035548
0
0.001462
0.341833
4,157
128
107
32.476563
0.862208
0.219148
0
0.219512
1
0
0.021889
0
0
0
0
0
0
1
0.04878
false
0
0.060976
0
0.158537
0.012195
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
c56ec40604dc23620e14029c88183938a177692a
1,457
py
Python
algorithms/ways_of_making_change.py
avg-2049-joe/py-algo-ds
4f9c3c086e134ee23fcc0ee3b981e81f40e860cd
[ "MIT" ]
null
null
null
algorithms/ways_of_making_change.py
avg-2049-joe/py-algo-ds
4f9c3c086e134ee23fcc0ee3b981e81f40e860cd
[ "MIT" ]
null
null
null
algorithms/ways_of_making_change.py
avg-2049-joe/py-algo-ds
4f9c3c086e134ee23fcc0ee3b981e81f40e860cd
[ "MIT" ]
null
null
null
"""Algorithm demonstrating the power of dynamic programming: It is simple and elegant and one of the most important concepts in computer science.""" import unittest from typing import List def num_ways_of_making_change(amount: int, coins: List[int]): """Here amount represents the desired monetary value and coins ...
31.673913
96
0.670556
219
1,457
4.3379
0.484018
0.058947
0.041053
0.031579
0.087368
0.043158
0
0
0
0
0
0.014953
0.265614
1,457
45
97
32.377778
0.872897
0.520247
0
0
0
0
0.011782
0
0
0
0
0.022222
0.052632
1
0.105263
false
0
0.105263
0
0.315789
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
1
0
0
0
0
0
0
0
0
0
0
1
c56f2e9fac015808556c7216c2b9785bf8fe2635
1,362
py
Python
panelapp/panels/migrations/0071_auto_20190424_1526.py
genomicsengland/panelapp
f72537ae1e5ddf13eda74dd91d8018aba1890d32
[ "Apache-2.0" ]
7
2019-04-03T12:57:17.000Z
2021-11-16T12:53:14.000Z
panelapp/panels/migrations/0071_auto_20190424_1526.py
genomicsengland/panelapp
f72537ae1e5ddf13eda74dd91d8018aba1890d32
[ "Apache-2.0" ]
6
2019-04-11T01:55:22.000Z
2019-08-19T10:50:11.000Z
panelapp/panels/migrations/0071_auto_20190424_1526.py
genomicsengland/panelapp
f72537ae1e5ddf13eda74dd91d8018aba1890d32
[ "Apache-2.0" ]
5
2019-04-11T00:28:26.000Z
2019-05-15T13:03:07.000Z
# Generated by Django 2.1.3 on 2019-04-24 15:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('panels', '0070_historicalsnapshot'), ] operations = [ migrations.AlterField( model_name='genepa...
34.05
112
0.625551
132
1,362
6.371212
0.30303
0.066587
0.099881
0.156956
0.644471
0.644471
0.564804
0.564804
0.564804
0.564804
0
0.020669
0.254038
1,362
39
113
34.923077
0.807087
0.03304
0
0.575758
1
0
0.175665
0.088973
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
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
c572d238d8264e2ef24f5cf35dbbd244af9c7bb8
573
py
Python
testDB.py
thebillington/DBManager
22f7066c4860688e352c0b79a7b6ca589b7ceaf2
[ "MIT" ]
null
null
null
testDB.py
thebillington/DBManager
22f7066c4860688e352c0b79a7b6ca589b7ceaf2
[ "MIT" ]
null
null
null
testDB.py
thebillington/DBManager
22f7066c4860688e352c0b79a7b6ca589b7ceaf2
[ "MIT" ]
null
null
null
# Import the DBManager from DBManager import Database # Create a new database object db = Database("database.db", True) # Execute the create tables sql file # This should only be run the first time the code is executed db.fTransaction("create_tables.sql") # Get a username and password uname = input("Enter...
28.65
77
0.719023
80
573
5.125
0.5875
0.058537
0.073171
0
0
0
0
0
0
0
0
0
0.17452
573
19
78
30.157895
0.866808
0.408377
0
0
0
0
0.394231
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
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
1
0
0
0
0
0
1
c574a4266daa08a6a44282258ae583fa42c4c8db
3,272
py
Python
shenmeGUI/local_backends/cef.py
tigerjang/ShenMeGUI
55f30a2525a946b7b40fb3f17538b1f4f18c9fcc
[ "MIT" ]
1
2016-09-22T03:12:38.000Z
2016-09-22T03:12:38.000Z
shenmeGUI/local_backends/cef.py
tigerjang/ShenMeGUI
55f30a2525a946b7b40fb3f17538b1f4f18c9fcc
[ "MIT" ]
null
null
null
shenmeGUI/local_backends/cef.py
tigerjang/ShenMeGUI
55f30a2525a946b7b40fb3f17538b1f4f18c9fcc
[ "MIT" ]
null
null
null
from cefpython3 import cefpython # TODO: CEF 5 from ..backend import Backend from ..utils import ExceptHook, GetApplicationPath import sys from ..config import Config path_string = Config.FormatString(holders={ '%(CEF_DIR)s': cefpython.GetModuleDirectory(), '%(App_DIR)s': GetApplicationPath(), }) applicatio...
37.609195
91
0.663203
334
3,272
6.212575
0.419162
0.081928
0.033735
0.016386
0
0
0
0
0
0
0
0.00506
0.214853
3,272
86
92
38.046512
0.802647
0.132946
0
0.028571
0
0
0.298582
0.124113
0
0
0
0.011628
0
1
0.014286
false
0
0.071429
0
0.1
0.014286
0
0
0
null
0
0
0
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
3d674fad5002ca040b988f3a91575567194f8f8a
801
py
Python
polrev/areas/wagtail_hooks/state_hooks.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
1
2021-12-10T05:54:16.000Z
2021-12-10T05:54:16.000Z
polrev/areas/wagtail_hooks/state_hooks.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
null
null
null
polrev/areas/wagtail_hooks/state_hooks.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
null
null
null
from wagtail.contrib.modeladmin.options import ( ModelAdmin, modeladmin_register) from areas.models import State class StateAdmin(ModelAdmin): model = State menu_label = 'States' # ditch this to use verbose_name_plural from model #menu_icon = 'pilcrow' # change as required menu_order = 200 # wi...
44.5
102
0.739076
114
801
5.026316
0.605263
0.04712
0.038394
0.045375
0
0
0
0
0
0
0
0.018405
0.186017
801
18
103
44.5
0.860429
0.451935
0
0
0
0
0.12993
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.916667
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
3d67b8fe4b04d0dbfc10b2c3fa21edab041a1036
511
py
Python
property/migrations/0013_alter_property_property_status.py
farshadz1997/real-estate-project
982d620788c2e08c7b193b661ecb9eb2be4c6242
[ "MIT" ]
null
null
null
property/migrations/0013_alter_property_property_status.py
farshadz1997/real-estate-project
982d620788c2e08c7b193b661ecb9eb2be4c6242
[ "MIT" ]
null
null
null
property/migrations/0013_alter_property_property_status.py
farshadz1997/real-estate-project
982d620788c2e08c7b193b661ecb9eb2be4c6242
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-08-08 13:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('property', '0012_alter_property_property_status'), ] operations = [ migrations.AlterField( model_name='property', na...
26.894737
151
0.614481
58
511
5.275862
0.689655
0.137255
0.117647
0
0
0
0
0
0
0
0
0.051414
0.238748
511
18
152
28.388889
0.735219
0.088063
0
0
1
0
0.239224
0.075431
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
3d67cbae6110449b99c371966471ba1bc3f9d217
1,607
py
Python
calculate_paremeter_flop.py
Edward1900/Face-Detector-1MB-with-landmark
16c16c4efa74b0264e0fd7fe0ddc0160f540a4bf
[ "MIT" ]
907
2019-10-19T11:21:35.000Z
2022-03-30T07:58:53.000Z
calculate_paremeter_flop.py
YFCYFC/Face-Detector-1MB-with-landmark
2b075657aef954b9426f938ac7fce100b6910fe6
[ "MIT" ]
58
2019-10-22T07:15:18.000Z
2022-03-21T08:07:34.000Z
calculate_paremeter_flop.py
YFCYFC/Face-Detector-1MB-with-landmark
2b075657aef954b9426f938ac7fce100b6910fe6
[ "MIT" ]
241
2019-10-19T11:41:45.000Z
2022-03-21T13:29:06.000Z
from __future__ import print_function import os import argparse import torch import torch.backends.cudnn as cudnn import numpy as np from data import cfg_mnet, cfg_slim, cfg_rfb from layers.functions.prior_box import PriorBox from utils.nms.py_cpu_nms import py_cpu_nms import cv2 from thop import profile from thop impo...
29.218182
133
0.698195
238
1,607
4.529412
0.382353
0.051948
0.030612
0.041744
0.090909
0.055659
0.055659
0
0
0
0
0.01932
0.194773
1,607
54
134
29.759259
0.813756
0
0
0
0
0
0.142322
0
0
0
0
0
0
1
0
false
0
0.395349
0
0.395349
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
0
0
0
0
1
0
0
0
0
1
3d6c2e8664cf72a63db471ce560c95b285ce112b
5,283
py
Python
zeropassweb/passes/views.py
andreatulimiero/netsec-hs18
3892da50c45f6c9600f7675c9b1b9669f76492ae
[ "MIT" ]
null
null
null
zeropassweb/passes/views.py
andreatulimiero/netsec-hs18
3892da50c45f6c9600f7675c9b1b9669f76492ae
[ "MIT" ]
null
null
null
zeropassweb/passes/views.py
andreatulimiero/netsec-hs18
3892da50c45f6c9600f7675c9b1b9669f76492ae
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.db import connection from django.http import HttpResponse from django.views import View from django.contrib.auth.forms import UserCreationForm from django.contrib.auth import login, authenticate, logout from .forms import * from .models import * PASS_COST = 10...
34.986755
194
0.605716
614
5,283
5.104235
0.190554
0.024569
0.043076
0.060306
0.388641
0.313019
0.258775
0.258775
0.198149
0.198149
0
0.004743
0.281658
5,283
150
195
35.22
0.82108
0.004354
0
0.383333
0
0
0.140194
0.015028
0
0
0
0
0
1
0.091667
false
0.183333
0.066667
0.008333
0.408333
0.008333
0
0
0
null
0
0
0
0
0
0
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
3d7863c7bbd0f090510b68dc5c4eec83fb541fae
751
py
Python
migrations/versions/e349e6e65eb1_.py
digitaltembo/kismet
60c6ed470f3a891bad0aee90659bd40cea36d993
[ "MIT" ]
null
null
null
migrations/versions/e349e6e65eb1_.py
digitaltembo/kismet
60c6ed470f3a891bad0aee90659bd40cea36d993
[ "MIT" ]
null
null
null
migrations/versions/e349e6e65eb1_.py
digitaltembo/kismet
60c6ed470f3a891bad0aee90659bd40cea36d993
[ "MIT" ]
null
null
null
"""empty message Revision ID: e349e6e65eb1 Revises: acf7168fbf13 Create Date: 2019-04-29 22:00:40.312526 """ # revision identifiers, used by Alembic. revision = 'e349e6e65eb1' down_revision = 'acf7168fbf13' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
24.225806
77
0.677763
96
751
5.1875
0.520833
0.056225
0.084337
0.092369
0.373494
0.373494
0.373494
0.373494
0.373494
0.373494
0
0.075534
0.189081
751
30
78
25.033333
0.7422
0.687084
0
0.25
0
0
0.121212
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3d7c5ac7bdf62ef441bd30271ffbeb2dcc679eaa
2,797
py
Python
minicup_photo_classifier/main.py
litovel-minicup/photo-classifier
5fd87a36981a39166b6132cf4a2ddf1ca77ccda9
[ "MIT" ]
null
null
null
minicup_photo_classifier/main.py
litovel-minicup/photo-classifier
5fd87a36981a39166b6132cf4a2ddf1ca77ccda9
[ "MIT" ]
1
2018-03-23T10:41:11.000Z
2018-03-23T10:41:11.000Z
minicup_photo_classifier/main.py
litovel-minicup/photo-classifier
5fd87a36981a39166b6132cf4a2ddf1ca77ccda9
[ "MIT" ]
null
null
null
# coding=utf-8 # TODO: process argv # TODO: delegate to PhotoClassifier import sys from glob import iglob from itertools import chain from os import W_OK, access from os.path import exists, getmtime, abspath, dirname, join __author__ = "Josef Kolář, Son Hai Nguyen" __copyright__ = "Copyright 2017, /dej/uran/dom team...
30.736264
109
0.630318
339
2,797
5
0.421829
0.099705
0.038348
0.033628
0.178761
0.096165
0.044838
0
0
0
0
0.004919
0.27315
2,797
90
110
31.077778
0.828824
0.124419
0
0.114754
0
0
0.220619
0.011546
0
0
0
0.011111
0
1
0.032787
false
0
0.114754
0
0.213115
0.098361
0
0
0
null
0
0
0
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
3d8bc496ef743fdb63036ceefe3a1b51dd867c8b
3,930
py
Python
Leak #5 - Lost In Translation/windows/Resources/Pc/PyScripts/DataHandlers/Mcl_Cmd_PcStatus_DataHandler.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
9
2019-11-22T04:58:40.000Z
2022-02-26T16:47:28.000Z
Leak #5 - Lost In Translation/windows/Resources/Pc/PyScripts/DataHandlers/Mcl_Cmd_PcStatus_DataHandler.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
null
null
null
Leak #5 - Lost In Translation/windows/Resources/Pc/PyScripts/DataHandlers/Mcl_Cmd_PcStatus_DataHandler.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
8
2017-09-27T10:31:18.000Z
2022-01-08T10:30:46.000Z
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: Mcl_Cmd_PcStatus_DataHandler.py def DataHandlerMain(namespace, InputFilename, OutputFilename): import mcl.imports import mcl.data.Input ...
42.717391
86
0.713995
431
3,930
6.294664
0.313225
0.076668
0.117582
0.145964
0.307777
0.292296
0.141172
0.035385
0.035385
0
0
0.015246
0.182188
3,930
92
87
42.717391
0.828874
0.048855
0
0.04878
0
0
0.098848
0
0
0
0
0
0
0
null
null
0
0.109756
null
null
0.012195
0
0
0
null
0
0
0
0
0
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
3d8f9c2094a8396724026a436da8e4df031f2fb4
626
py
Python
app/migrations/versions/3243c3538fc_.py
SchrodingersCat00/Haldis
09c65e2bcc320a935b5b130b5086b52c2a55aa78
[ "MIT" ]
null
null
null
app/migrations/versions/3243c3538fc_.py
SchrodingersCat00/Haldis
09c65e2bcc320a935b5b130b5086b52c2a55aa78
[ "MIT" ]
null
null
null
app/migrations/versions/3243c3538fc_.py
SchrodingersCat00/Haldis
09c65e2bcc320a935b5b130b5086b52c2a55aa78
[ "MIT" ]
null
null
null
"""Add telephone number Revision ID: 3243c3538fc Revises: 2d696203e56 Create Date: 2015-06-04 18:39:54.895177 """ # revision identifiers, used by Alembic. revision = '3243c3538fc' down_revision = '2d696203e56' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic...
23.185185
90
0.699681
77
626
5.649351
0.584416
0.062069
0.096552
0.105747
0.202299
0.202299
0.202299
0.202299
0
0
0
0.107486
0.167732
626
26
91
24.076923
0.727447
0.472843
0
0
0
0
0.188552
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3d8fbdf315022d1fcbae9db1c6d79f7091cfaecc
3,890
py
Python
viz/data.py
WadhwaniAI/covid-modelling
db9f89bfbec392ad4de6b4583cfab7c3d823c1c9
[ "MIT" ]
3
2021-06-23T10:27:11.000Z
2022-02-09T07:50:42.000Z
viz/data.py
WadhwaniAI/covid-modelling
db9f89bfbec392ad4de6b4583cfab7c3d823c1c9
[ "MIT" ]
3
2021-06-23T09:36:29.000Z
2022-01-13T03:38:16.000Z
viz/data.py
WadhwaniAI/covid-modelling
db9f89bfbec392ad4de6b4583cfab7c3d823c1c9
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np from utils.generic.enums.columns import compartments from viz.utils import axis_formatter def plot_smoothing(orig_df_district, new_df_district, state, district, which_compartments=['active', 'total', 'recovered', 'deceased'], d...
38.514851
116
0.59383
466
3,890
4.817597
0.238197
0.053452
0.045434
0.023163
0.682405
0.653007
0.634298
0.551448
0.551448
0.551448
0
0.007145
0.280463
3,890
100
117
38.9
0.794927
0.1491
0
0.710526
0
0
0.051936
0
0
0
0
0
0
1
0.026316
false
0
0.052632
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3d90bea8178caed82f7d1a858fa4cf6d15a85314
227
py
Python
src/Variables/tests/fixme.py
Majunga/PythonTutorial
934d5b7ad9d19d41e55cbd372522e48ce6154896
[ "MIT" ]
null
null
null
src/Variables/tests/fixme.py
Majunga/PythonTutorial
934d5b7ad9d19d41e55cbd372522e48ce6154896
[ "MIT" ]
null
null
null
src/Variables/tests/fixme.py
Majunga/PythonTutorial
934d5b7ad9d19d41e55cbd372522e48ce6154896
[ "MIT" ]
null
null
null
# There a few problems with this file. Can you fix them? knightThatSayNi = ni print(knightThatSayNi) spam = 2 eggs = 10 total = if total == 12: print("Success!") else: print("Failed :'(") print(blackKnightLimbs)
12.611111
56
0.669604
30
227
5.066667
0.833333
0
0
0
0
0
0
0
0
0
0
0.027933
0.211454
227
17
57
13.352941
0.821229
0.237885
0
0
0
0
0.105263
0
0
0
0
0
0
0
null
null
0
0
null
null
0.4
0
0
0
null
0
0
0
0
0
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
3d91e677c369080336e2745bc8a28c260ee31184
2,131
py
Python
efls-data/xfl/data/store/sample_kv_store.py
universe-hcy/Elastic-Federated-Learning-Solution
4e047fbbe6ae9809cd631499b7d3a3855dfe2208
[ "Apache-2.0" ]
null
null
null
efls-data/xfl/data/store/sample_kv_store.py
universe-hcy/Elastic-Federated-Learning-Solution
4e047fbbe6ae9809cd631499b7d3a3855dfe2208
[ "Apache-2.0" ]
null
null
null
efls-data/xfl/data/store/sample_kv_store.py
universe-hcy/Elastic-Federated-Learning-Solution
4e047fbbe6ae9809cd631499b7d3a3855dfe2208
[ "Apache-2.0" ]
null
null
null
# 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 ...
23.677778
89
0.627874
286
2,131
4.622378
0.409091
0.054463
0.090772
0.024206
0.101362
0.069592
0
0
0
0
0
0.004869
0.229
2,131
89
90
23.94382
0.799757
0.473487
0
0.585366
0
0
0
0
0
0
0
0
0
1
0.317073
false
0
0.04878
0.097561
0.536585
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
3d942e9bdf08236d63bba4e79a046f0fbbb9e60e
1,329
py
Python
examples/community/article/views.py
junhoyeo/fastdj
73284946270d1f7ae13f077931b360f70e5a0143
[ "MIT" ]
7
2020-02-04T05:08:19.000Z
2022-01-01T15:49:38.000Z
examples/community/article/views.py
junhoyeo/fastdj
73284946270d1f7ae13f077931b360f70e5a0143
[ "MIT" ]
null
null
null
examples/community/article/views.py
junhoyeo/fastdj
73284946270d1f7ae13f077931b360f70e5a0143
[ "MIT" ]
5
2020-02-04T05:09:21.000Z
2021-11-26T00:46:41.000Z
from article.models import Article from article.serializers import ArticleSerializer from rest_framework import status from rest_framework.response import Response from rest_framework import generics from rest_framework import permissions from community.permissions import IsOwnerOrReadOnly from rest_framework.views imp...
37.971429
79
0.810384
156
1,329
6.679487
0.346154
0.046065
0.097889
0.066219
0.326296
0.326296
0.326296
0.326296
0.220729
0
0
0.007673
0.117381
1,329
34
80
39.088235
0.880648
0
0
0.275862
0
0
0.004515
0
0
0
0
0
0
1
0.103448
false
0
0.37931
0
0.827586
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
3d94475780004acec3ab385325af03a794e81c5d
444
py
Python
src/merge_qual_into_fastq.py
cmhill/q-compression
a6c83d12907d51efff124fa96a0a2f0f117b66b5
[ "MIT" ]
null
null
null
src/merge_qual_into_fastq.py
cmhill/q-compression
a6c83d12907d51efff124fa96a0a2f0f117b66b5
[ "MIT" ]
null
null
null
src/merge_qual_into_fastq.py
cmhill/q-compression
a6c83d12907d51efff124fa96a0a2f0f117b66b5
[ "MIT" ]
null
null
null
import sys with open(sys.argv[1], 'r') as in_fastq: with open(sys.argv[2], 'r') as in_qual: while True: try: line1 = next(in_fastq) line2 = next(in_fastq) line3 = next(in_fastq) _ = next(in_fastq) line4 = next(in_qu...
29.6
63
0.477477
52
444
3.923077
0.480769
0.171569
0.215686
0.147059
0
0
0
0
0
0
0
0.039216
0.425676
444
14
64
31.714286
0.760784
0
0
0
0
0
0.004505
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
3d952be79dcbf86326980cd40ceca7f721596f30
1,522
py
Python
snake.py
atashandroid/snake_game
bea0dd5cbf66094399de11226c513650585da120
[ "Unlicense" ]
null
null
null
snake.py
atashandroid/snake_game
bea0dd5cbf66094399de11226c513650585da120
[ "Unlicense" ]
null
null
null
snake.py
atashandroid/snake_game
bea0dd5cbf66094399de11226c513650585da120
[ "Unlicense" ]
null
null
null
from turtle import Turtle UP = 90 DOWN = 270 LEFT = 180 RIGHT = 0 class Snake: def __init__(self): self.snake = [] self.snake_make() self.snake[0].color('red') self.head = self.snake[0] def snake_make(self): for i in range(3): self.snake.app...
27.672727
58
0.518397
210
1,522
3.671429
0.228571
0.338521
0.142672
0.077821
0.313878
0.119326
0
0
0
0
0
0.033171
0.326544
1,522
54
59
28.185185
0.719024
0
0
0.090909
0
0
0.01703
0
0
0
0
0
0
1
0.181818
false
0
0.022727
0
0.227273
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3d9733f44ce0935e9166181ed05c94540105e2a5
1,189
py
Python
examples/server.py
Precognize/rsocket-py
31704d53c232e0c0f53783b9a56117e5bd0645ce
[ "MIT" ]
null
null
null
examples/server.py
Precognize/rsocket-py
31704d53c232e0c0f53783b9a56117e5bd0645ce
[ "MIT" ]
null
null
null
examples/server.py
Precognize/rsocket-py
31704d53c232e0c0f53783b9a56117e5bd0645ce
[ "MIT" ]
null
null
null
import asyncio import logging import sys from datetime import datetime from rsocket.helpers import create_future from rsocket.payload import Payload from rsocket.request_handler import BaseRequestHandler from rsocket.rsocket_server import RSocketServer from rsocket.transports.tcp import TransportTCP class Handler(Ba...
32.135135
74
0.758621
151
1,189
5.781457
0.450331
0.063001
0.032073
0
0
0
0
0
0
0
0
0.00994
0.153911
1,189
36
75
33.027778
0.857853
0.025231
0
0
0
0
0.05013
0
0
0
0
0
0
1
0.038462
false
0
0.346154
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3db9f9aec69423198205ea13b6b32b748dc77964
3,879
py
Python
src/const/weapon.py
MrTanoshii/PyWeek-33-Metro
a28f57bea76baeffcf091e52c936376b61c4a8b5
[ "MIT" ]
2
2022-03-15T10:26:47.000Z
2022-03-19T13:15:24.000Z
src/const/weapon.py
MrTanoshii/PyWeek-33-Metro
a28f57bea76baeffcf091e52c936376b61c4a8b5
[ "MIT" ]
63
2022-03-15T10:58:16.000Z
2022-03-31T13:17:59.000Z
src/const/weapon.py
MrTanoshii/PyWeek-33-Metro
a28f57bea76baeffcf091e52c936376b61c4a8b5
[ "MIT" ]
5
2022-03-20T17:41:51.000Z
2022-03-26T09:28:51.000Z
from .audio import * from .weapon_fire import * from .scale import * WEAPON_LIST = [ { "name": "Revolver", "img_name": "weapon_revolver", "init_angle": -90, "width": 1280, "height": 720, "scale": 1, "center_x": 0, "center_y": 0, "fire_mode": ...
33.439655
167
0.541119
489
3,879
3.936605
0.155419
0.114286
0.182857
0.083117
0.725714
0.527792
0.48
0.447792
0.400519
0.382338
0
0.064309
0.278422
3,879
115
168
33.730435
0.623437
0
0
0.415929
0
0
0.409126
0.05156
0
0
0
0
0
1
0
false
0
0.026549
0
0.026549
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
3dbde01d1402dc04be5d0d62142ac1bc8f4ef379
4,575
py
Python
pocketnet/routing/bird.py
cmsirbu/pocketinternet
7228d33afb6fdafaef2d81647acbbdc01387c057
[ "MIT" ]
27
2017-11-14T21:58:27.000Z
2021-12-06T04:28:55.000Z
pocketnet/routing/bird.py
cmsirbu/pocketinternet
7228d33afb6fdafaef2d81647acbbdc01387c057
[ "MIT" ]
16
2017-11-21T12:49:48.000Z
2017-12-22T16:49:45.000Z
pocketnet/routing/bird.py
cmsirbu/pocketinternet
7228d33afb6fdafaef2d81647acbbdc01387c057
[ "MIT" ]
5
2017-10-23T11:31:00.000Z
2021-04-21T17:43:58.000Z
import os import docker from pocketnet import CONFIG_ROOT from pocketnet.util import generate_ipv4_addr, generate_ipv6_addr, j2env from pocketnet.pods import get_pod_network_name from pocketnet.routing.util import generate_as_number, compile_peering_details def create_bird_config(pod_n, router_n, config): print...
30.5
88
0.598907
541
4,575
4.748614
0.208872
0.037369
0.058388
0.0471
0.655119
0.641495
0.582717
0.560919
0.511483
0.479564
0
0.011646
0.286776
4,575
149
89
30.704698
0.775667
0.040874
0
0.5
1
0
0.127368
0
0
0
0
0
0
1
0.025424
false
0
0.050847
0
0.076271
0.042373
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
3dc28dd22c1c23bb4891d8021ceac835bca67118
428
py
Python
projapp/migrations/0005_auto_20201025_2000.py
vsidera/V-Projects
5c23aeb8a605544994853830210196d2e6796f05
[ "MIT" ]
null
null
null
projapp/migrations/0005_auto_20201025_2000.py
vsidera/V-Projects
5c23aeb8a605544994853830210196d2e6796f05
[ "MIT" ]
null
null
null
projapp/migrations/0005_auto_20201025_2000.py
vsidera/V-Projects
5c23aeb8a605544994853830210196d2e6796f05
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-25 17:00 import cloudinary.models from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('projapp', '0004_rating'), ] operations = [ migrations.AlterField( model_name='post', name='image', ...
21.4
90
0.621495
46
428
5.695652
0.782609
0.122137
0
0
0
0
0
0
0
0
0
0.069841
0.264019
428
19
91
22.526316
0.761905
0.10514
0
0
1
0
0.08399
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
3dc2e57b6670f7dba89c2c588432c98e6f964026
269
py
Python
apps/chunksapi/serializers.py
kharann/onlineweb4
1130128c6233b623780779a25934ea73ef62c264
[ "MIT" ]
null
null
null
apps/chunksapi/serializers.py
kharann/onlineweb4
1130128c6233b623780779a25934ea73ef62c264
[ "MIT" ]
null
null
null
apps/chunksapi/serializers.py
kharann/onlineweb4
1130128c6233b623780779a25934ea73ef62c264
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from chunks.models import Chunk from rest_framework import serializers class ChunkSerializer(serializers.ModelSerializer): class Meta: model = Chunk fields = ( 'key', 'content', 'description', 'pk', )
19.214286
51
0.6171
26
269
6.346154
0.807692
0
0
0
0
0
0
0
0
0
0
0.005076
0.267658
269
13
52
20.692308
0.832487
0.078067
0
0
0
0
0.093496
0
0
0
0
0
0
1
0
false
0
0.25
0
0.5
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
3dc506caae15c00450f686cec3a44ebd34b9fb97
4,487
py
Python
pypeman/tests/test_message.py
klausfmh/pypeman
4eabfc537fb9b995480d65f8233f767fe99efcc1
[ "Apache-2.0" ]
6
2016-04-19T15:26:11.000Z
2021-03-16T18:06:53.000Z
pypeman/tests/test_message.py
mhcomm/pypeman
6583fae28bcb47e3b8091c39a91854ae36172cbd
[ "Apache-2.0" ]
68
2016-05-12T16:10:11.000Z
2022-03-02T01:30:36.000Z
pypeman/tests/test_message.py
klausfmh/pypeman
4eabfc537fb9b995480d65f8233f767fe99efcc1
[ "Apache-2.0" ]
9
2015-12-23T08:23:03.000Z
2021-09-03T09:22:51.000Z
import logging from unittest import mock from .common import generate_msg from pypeman.message import Message from pypeman.test import TearDownProjectTestCase as TestCase class MessageTests(TestCase): def test_message_dict_conversion(self): m = generate_msg(message_content={'answer': 42}, with_context...
36.479675
103
0.617562
546
4,487
4.934066
0.142857
0.083519
0.112843
0.056422
0.682257
0.646622
0.636229
0.609503
0.609503
0.59614
0
0.013199
0.223312
4,487
122
104
36.778689
0.759828
0.019389
0
0.416667
1
0
0.22674
0
0
0
0
0
0.297619
1
0.071429
false
0
0.059524
0
0.142857
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3dcb24cafc90ee60ac04c17223f8169fc338dac1
1,324
py
Python
backend/comment/migrations/0001_initial.py
solitariaa/CMPUT404-project-socialdistribution
f9e23a10e209f8bf7ed062e105f44038751f7c74
[ "W3C-20150513" ]
1
2022-03-01T03:03:40.000Z
2022-03-01T03:03:40.000Z
backend/comment/migrations/0001_initial.py
solitariaa/CMPUT404-project-socialdistribution
f9e23a10e209f8bf7ed062e105f44038751f7c74
[ "W3C-20150513" ]
51
2022-02-09T06:18:27.000Z
2022-03-28T19:01:54.000Z
backend/comment/migrations/0001_initial.py
solitariaa/CMPUT404-project-socialdistribution
f9e23a10e209f8bf7ed062e105f44038751f7c74
[ "W3C-20150513" ]
2
2022-03-13T20:58:10.000Z
2022-03-19T06:29:56.000Z
# Generated by Django 4.0.2 on 2022-03-04 11:06 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ('authors', '0003_alter_author_github'), ('posts', '0003_post_comments'), ] o...
41.375
234
0.611782
143
1,324
5.566434
0.538462
0.040201
0.052764
0.082915
0.09799
0.09799
0.09799
0.09799
0
0
0
0.039961
0.225076
1,324
31
235
42.709677
0.735867
0.033988
0
0
1
0
0.20047
0.018794
0
0
0
0
0
1
0
false
0
0.125
0
0.291667
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
3dcd1d15006aff6366fb29dd13a81de06dff2397
1,933
py
Python
portal/models.py
PedrinaBrasil/PortalLetrasPotengienses
89e12200a626583d938352859cabc2aff914bbc9
[ "Apache-2.0" ]
null
null
null
portal/models.py
PedrinaBrasil/PortalLetrasPotengienses
89e12200a626583d938352859cabc2aff914bbc9
[ "Apache-2.0" ]
null
null
null
portal/models.py
PedrinaBrasil/PortalLetrasPotengienses
89e12200a626583d938352859cabc2aff914bbc9
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.urls import reverse from django import forms # Create your models here. class Author(models.Model): name = models.CharField("Nome", max_length=255, blank=False) surname = models.CharField("Sobrenome", max_length=255, blank...
35.796296
91
0.674082
229
1,933
5.545852
0.39738
0.070866
0.047244
0.066929
0.174803
0.108661
0.108661
0
0
0
0
0.010925
0.195034
1,933
53
92
36.471698
0.80527
0.012416
0
0.102564
0
0
0.123755
0
0
0
0
0
0
1
0.051282
false
0
0.102564
0.051282
0.769231
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
3dcfd735a70a88e68032ad482f3a9e957cd169da
2,704
py
Python
tests/test_api.py
gcollard/lightbus
d04deeda8ccef5a582b79255725ca2025a085c02
[ "Apache-2.0" ]
178
2017-07-22T12:35:00.000Z
2022-03-28T07:53:13.000Z
tests/test_api.py
adamcharnock/warren
5e7069da06cd37a8131e8c592ee957ccb73603d5
[ "Apache-2.0" ]
26
2017-08-03T12:09:29.000Z
2021-10-19T16:47:18.000Z
tests/test_api.py
adamcharnock/warren
5e7069da06cd37a8131e8c592ee957ccb73603d5
[ "Apache-2.0" ]
19
2017-09-15T17:51:24.000Z
2022-02-28T13:00:16.000Z
import pytest from lightbus import Api, Event from lightbus.api import ApiRegistry from lightbus.exceptions import ( MisconfiguredApiOptions, InvalidApiEventConfiguration, InvalidApiRegistryEntry, UnknownApi, ) pytestmark = pytest.mark.unit @pytest.fixture() def SimpleApi(): class SimpleApi(Api)...
23.513043
64
0.690828
312
2,704
5.823718
0.217949
0.130985
0.066043
0.099064
0.526692
0.412768
0.305999
0.305999
0.242157
0.116676
0
0
0.209689
2,704
114
65
23.719298
0.850257
0.075074
0
0.310811
0
0
0.042067
0
0
0
0
0
0.121622
1
0.202703
false
0.013514
0.054054
0.013514
0.391892
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
3dd3129021f98fe5e95116c14cb5e491a54ecdcd
662
py
Python
caos/_internal/utils/working_directory.py
caotic-co/caos
27bdb25486cb37d26a821b7ff21d56526df8d6d2
[ "Apache-2.0" ]
null
null
null
caos/_internal/utils/working_directory.py
caotic-co/caos
27bdb25486cb37d26a821b7ff21d56526df8d6d2
[ "Apache-2.0" ]
null
null
null
caos/_internal/utils/working_directory.py
caotic-co/caos
27bdb25486cb37d26a821b7ff21d56526df8d6d2
[ "Apache-2.0" ]
null
null
null
import os def is_dev_environment() -> bool: """Returns True if the project source code structure is found in the working directory""" return os.path.isdir("caos") and \ os.path.isdir("caos/_cli_commands") and \ os.path.isfile("caos/_cli.py") and \ os.path.isdir("docs...
33.1
93
0.584592
92
662
4.108696
0.434783
0.15873
0.142857
0.111111
0.259259
0.15873
0.15873
0
0
0
0
0
0.26284
662
20
94
33.1
0.77459
0.125378
0
0
0
0
0.116725
0
0
0
0
0
0
1
0.133333
true
0
0.066667
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
3dd3f1cc84f2d700145d96784afea53dfa2454b9
6,347
py
Python
mogan/api/controllers/v1/keypairs.py
GURUIFENG9139/rocky-mogan
6008c1d12b00e70d2cc651f7bd5d47968fc3aec7
[ "Apache-2.0" ]
null
null
null
mogan/api/controllers/v1/keypairs.py
GURUIFENG9139/rocky-mogan
6008c1d12b00e70d2cc651f7bd5d47968fc3aec7
[ "Apache-2.0" ]
null
null
null
mogan/api/controllers/v1/keypairs.py
GURUIFENG9139/rocky-mogan
6008c1d12b00e70d2cc651f7bd5d47968fc3aec7
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Huawei Technologies Co.,LTD. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unl...
38.23494
78
0.632267
795
6,347
4.910692
0.25283
0.038422
0.043801
0.053023
0.298412
0.227459
0.186988
0.186988
0.160092
0.114498
0
0.002856
0.282811
6,347
165
79
38.466667
0.854789
0.23775
0
0.117021
0
0
0.029901
0
0
0
0
0.012121
0
1
0.074468
false
0
0.148936
0
0.393617
0.010638
0
0
0
null
0
0
0
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
3ddaf01b839b6d8a10512a8103a89589cc1187a7
1,883
py
Python
test/BankRuleTest.py
nudglabs/books-python-wrappers
8844eca8fe681542644a70749b72a6dc4e48c171
[ "MIT" ]
9
2015-04-01T08:59:49.000Z
2022-01-27T01:27:45.000Z
test/BankRuleTest.py
nudglabs/books-python-wrappers
8844eca8fe681542644a70749b72a6dc4e48c171
[ "MIT" ]
3
2020-05-14T04:22:22.000Z
2021-08-06T11:19:03.000Z
test/BankRuleTest.py
nudglabs/books-python-wrappers
8844eca8fe681542644a70749b72a6dc4e48c171
[ "MIT" ]
11
2016-04-14T10:59:36.000Z
2020-08-19T13:26:05.000Z
#$Id$# from books.model.BankRule import BankRule from books.model.Criteria import Criteria from books.service.ZohoBooks import ZohoBooks zoho_books = ZohoBooks("{auth_token}", "{organization_id}") bank_rules_api = zoho_books.get_bank_rules_api() accounts_api = zoho_books.get_bank_accounts_api() account_id = account...
26.521127
92
0.814126
304
1,883
4.631579
0.1875
0.099432
0.068182
0.060369
0.71804
0.674716
0.643466
0.643466
0.598011
0.546875
0
0.003405
0.064259
1,883
70
93
26.9
0.795687
0.037706
0
0.608696
0
0
0.08592
0.02439
0
0
0
0
0
0
null
null
0
0.065217
null
null
0.108696
0
0
0
null
0
0
0
0
0
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
3de168067d60f3776422d0349289b2240716b6f9
335
py
Python
Week 10/testSelect.py
IanWafer/dataRepresentation
456e1bc0d8a338c5d60098d2583533e77a808213
[ "Apache-2.0" ]
null
null
null
Week 10/testSelect.py
IanWafer/dataRepresentation
456e1bc0d8a338c5d60098d2583533e77a808213
[ "Apache-2.0" ]
null
null
null
Week 10/testSelect.py
IanWafer/dataRepresentation
456e1bc0d8a338c5d60098d2583533e77a808213
[ "Apache-2.0" ]
null
null
null
import mysql.connector import dbconfig as cfg db=mysql.connector.connect( host=cfg.mysql['host'], user=cfg.mysql['username'], password=cfg.mysql['password'], database=cfg.mysql['database'] ) cursor = db.cursor() sql="SELECT * FROM student" cursor.execute(sql) result = cursor.fetchall() for x in resul...
19.705882
35
0.698507
46
335
5.086957
0.543478
0.136752
0
0
0
0
0
0
0
0
0
0
0.149254
335
17
36
19.705882
0.821053
0
0
0
0
0
0.145833
0
0
0
0
0
0
1
0
false
0.071429
0.142857
0
0.142857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3de19f19facc0cfeae370a46ca577fddf1b564e3
374
py
Python
src/bbapp/migrations/0004_auto_20190303_1557.py
levinsamuel/baseballdb
c14d8cd102516814e68567e8b5efa31431a38af2
[ "Apache-2.0" ]
null
null
null
src/bbapp/migrations/0004_auto_20190303_1557.py
levinsamuel/baseballdb
c14d8cd102516814e68567e8b5efa31431a38af2
[ "Apache-2.0" ]
null
null
null
src/bbapp/migrations/0004_auto_20190303_1557.py
levinsamuel/baseballdb
c14d8cd102516814e68567e8b5efa31431a38af2
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-03 23:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bbapp', '0003_fielding'), ] operations = [ migrations.AlterField( model_name='batting', name='teamID', f...
19.684211
49
0.585561
40
374
5.4
0.825
0
0
0
0
0
0
0
0
0
0
0.076046
0.296791
374
18
50
20.777778
0.745247
0.120321
0
0
1
0
0.094801
0
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
3de3c5a8eba32d9dccfc73aee9d5067fb248bf3c
3,521
py
Python
cachalot/tests/test_utils.py
aemitos/django-cachalot
d632a79015783deb52a4216dd2f34603be0c3669
[ "BSD-3-Clause" ]
null
null
null
cachalot/tests/test_utils.py
aemitos/django-cachalot
d632a79015783deb52a4216dd2f34603be0c3669
[ "BSD-3-Clause" ]
null
null
null
cachalot/tests/test_utils.py
aemitos/django-cachalot
d632a79015783deb52a4216dd2f34603be0c3669
[ "BSD-3-Clause" ]
null
null
null
from django import VERSION as DJANGO_VERSION from django.core.management.color import no_style from django.db import connection, transaction from .models import PostgresModel from ..utils import _get_tables class TestUtilsMixin: def setUp(self): self.is_sqlite = connection.vendor == 'sqlite' self...
39.561798
126
0.605226
432
3,521
4.80787
0.347222
0.028888
0.017333
0.020221
0.044295
0.027925
0.027925
0
0
0
0
0.020025
0.305027
3,521
88
127
40.011364
0.82877
0.22096
0
0.1
0
0
0.017702
0
0
0
0
0.011364
0.2
1
0.1
false
0
0.083333
0
0.283333
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
3de5949d98582a09a4a5f3dde66a92dd796bcd6e
2,132
py
Python
app/notify_client/billing_api_client.py
karlchillmaid/notifications-admin
9ef6da4ef9e2fa97b7debb4b573cb035a5cb8880
[ "MIT" ]
null
null
null
app/notify_client/billing_api_client.py
karlchillmaid/notifications-admin
9ef6da4ef9e2fa97b7debb4b573cb035a5cb8880
[ "MIT" ]
null
null
null
app/notify_client/billing_api_client.py
karlchillmaid/notifications-admin
9ef6da4ef9e2fa97b7debb4b573cb035a5cb8880
[ "MIT" ]
null
null
null
from app.notify_client import NotifyAdminAPIClient class BillingAPIClient(NotifyAdminAPIClient): # Fudge assert in the super __init__ so # we can set those variables later. def __init__(self): super().__init__("a" * 73, "b") def get_billable_units(self, service_id, year): return self....
36.758621
103
0.651501
276
2,132
4.764493
0.26087
0.095817
0.114068
0.152091
0.614449
0.587833
0.587833
0.545247
0.545247
0.492776
0
0.00558
0.243433
2,132
57
104
37.403509
0.809671
0.129456
0
0.214286
0
0
0.192432
0.180541
0
0
0
0
0
1
0.190476
false
0
0.02381
0.119048
0.404762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
3dec57237378ec18baac5b35a1e0c9baf375099a
8,382
py
Python
example_project/demo_application/admin.py
timgates42/yawd-admin
c010bb2bf1e0dda3d1f6491f76cf278ee113aaa9
[ "BSD-3-Clause" ]
7
2019-06-21T23:01:55.000Z
2021-10-30T15:55:19.000Z
example_project/demo_application/admin.py
timgates42/yawd-admin
c010bb2bf1e0dda3d1f6491f76cf278ee113aaa9
[ "BSD-3-Clause" ]
2
2020-01-31T16:47:14.000Z
2021-01-29T11:17:33.000Z
example_project/demo_application/admin.py
timgates42/yawd-admin
c010bb2bf1e0dda3d1f6491f76cf278ee113aaa9
[ "BSD-3-Clause" ]
3
2019-09-03T04:06:03.000Z
2020-03-02T19:03:56.000Z
from django import forms from django.contrib import admin from django.contrib.contenttypes import generic from django.utils.text import mark_safe from yawdadmin import admin_site from yawdadmin.admin import SortableModelAdmin, PopupModelAdmin, PopupInline, \ OneToOneInline from yawdadmin.sites import YawdAdminDashb...
35.218487
107
0.668695
852
8,382
6.471831
0.342723
0.022851
0.030831
0.017229
0.085056
0.071454
0.071454
0.059485
0.059485
0.059485
0
0.004859
0.238845
8,382
237
108
35.367089
0.859404
0.19864
0
0.110345
0
0
0.214168
0.015759
0
0
0
0
0
1
0.013793
false
0
0.068966
0.006897
0.558621
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
3decc837f3ca1b05bc87b007560e9d00008dd982
573
py
Python
code/long_products/sol_452.py
bhavinjawade/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
2
2020-07-16T08:16:32.000Z
2020-10-01T07:16:48.000Z
code/long_products/sol_452.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
null
null
null
code/long_products/sol_452.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
1
2021-05-07T18:06:08.000Z
2021-05-07T18:06:08.000Z
# -*- coding: utf-8 -*- ''' File name: code\long_products\sol_452.py Author: Vaidic Joshi Date created: Oct 20, 2018 Python Version: 3.x ''' # Solution to Project Euler Problem #452 :: Long Products # # For more information see: # https://projecteuler.net/problem=452 # Problem Statement ''' Define ...
20.464286
116
0.668412
91
573
4.186813
0.714286
0.062992
0.036745
0.052493
0.068241
0
0
0
0
0
0
0.142544
0.204188
573
27
117
21.222222
0.692982
0.518325
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
3df3ad28fc376fdeb2f8df514bf429a7392ab89c
1,172
py
Python
setup.py
strixcuriosus/planetpixel
a9bd6843dee6da1d9f5dc6554211a9d93dec4ab5
[ "BSD-3-Clause" ]
6
2019-10-15T21:41:13.000Z
2021-07-14T10:37:55.000Z
setup.py
strixcuriosus/planetpixel
a9bd6843dee6da1d9f5dc6554211a9d93dec4ab5
[ "BSD-3-Clause" ]
3
2019-10-18T00:38:36.000Z
2020-02-05T19:52:51.000Z
setup.py
strixcuriosus/planetpixel
a9bd6843dee6da1d9f5dc6554211a9d93dec4ab5
[ "BSD-3-Clause" ]
1
2020-02-05T07:42:45.000Z
2020-02-05T07:42:45.000Z
#!/usr/bin/env python import os import sys from setuptools import setup # Prepare and send a new release to PyPI if "release" in sys.argv[-1]: os.system("python setup.py sdist") os.system("twine upload dist/planetpixel*") os.system("rm -rf dist/planetpixel*") sys.exit() # Load the __version__ variable...
32.555556
72
0.643345
132
1,172
5.621212
0.674242
0.032345
0
0
0
0
0
0
0
0
0
0.002208
0.226962
1,172
35
73
33.485714
0.816777
0.108362
0
0
0
0
0.482726
0.021113
0
0
0
0
0
1
0
true
0
0.103448
0
0.103448
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
3df6f6fa95690edd3a854f2015a6af97b62aacb6
39,049
py
Python
Perforce.py
zillow/Sublime-Text-2-Perforce-Plugin
163e1878a7073095c8a26d9c3b0273547b3ef950
[ "Unlicense", "MIT" ]
null
null
null
Perforce.py
zillow/Sublime-Text-2-Perforce-Plugin
163e1878a7073095c8a26d9c3b0273547b3ef950
[ "Unlicense", "MIT" ]
null
null
null
Perforce.py
zillow/Sublime-Text-2-Perforce-Plugin
163e1878a7073095c8a26d9c3b0273547b3ef950
[ "Unlicense", "MIT" ]
null
null
null
# Written by Eric Martel (emartel@gmail.com / www.ericmartel.com) # Available commands are listed in Default.sublime-commands # changelog # Eric Martel - first implementation of add / checkout # Tomek Wytrebowicz & Eric Martel - handling of forward slashes in clientspec folder # Rocco De Angelis & Eric Martel - first...
36.838679
156
0.65172
4,319
39,049
5.765687
0.115073
0.025299
0.013493
0.019396
0.589792
0.542165
0.514055
0.497149
0.46165
0.431491
0
0.006818
0.25258
39,049
1,059
157
36.873466
0.846399
0.125842
0
0.589041
0
0
0.083047
0.020923
0
0
0
0
0
0
null
null
0.023288
0.016438
null
null
0.00411
0
0
0
null
0
0
0
0
0
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
3df766ef04b2c7a012ef80152d4ef886eca73017
8,241
py
Python
src/aceinna/core/gnss.py
lihaiyong827/python-openimu
f1c536ba4182aaeabd87b63c08ebd92f97e8dbb4
[ "Apache-2.0" ]
41
2018-07-20T17:30:33.000Z
2022-02-24T08:17:39.000Z
src/aceinna/core/gnss.py
lihaiyong827/python-openimu
f1c536ba4182aaeabd87b63c08ebd92f97e8dbb4
[ "Apache-2.0" ]
52
2018-06-25T22:15:14.000Z
2022-03-10T07:30:56.000Z
src/aceinna/core/gnss.py
lihaiyong827/python-openimu
f1c536ba4182aaeabd87b63c08ebd92f97e8dbb4
[ "Apache-2.0" ]
31
2018-12-19T00:10:08.000Z
2022-03-19T02:14:03.000Z
import struct from .event_base import EventBase class ANALYSIS_STATUS: INIT = 0 FOUND_HEADER = 1 FOUND_PAYLOAD_LENGTH = 2 FOUND_PACKET_TYPE = 3 CRC_PASSED = 4 PACKET_HEADER = 0xD3 def bytes_to_usigned_integer(bytes_data: bytes, significant_len=10): return struct.unpack(">I", bytes_data)[0]...
42.261538
91
0.638515
880
8,241
5.685227
0.406818
0.058765
0.026384
0.031981
0.254447
0.173896
0.1661
0.156706
0.137517
0.089147
0
0.213804
0.280913
8,241
194
92
42.479381
0.630442
0.046718
0
0.127517
0
0
0.005626
0
0
0
0.263393
0.005155
0
1
0.09396
false
0.040268
0.013423
0.026846
0.288591
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3dfcf9026cb6f2e6fefb64c52fe83ee770f4c56e
3,557
py
Python
quantum_solver/utils/endianness.py
nakul-shahdadpuri/Minor_Project
a6d7a04cd45ca55fbd908752d140732421b33c73
[ "Apache-2.0" ]
null
null
null
quantum_solver/utils/endianness.py
nakul-shahdadpuri/Minor_Project
a6d7a04cd45ca55fbd908752d140732421b33c73
[ "Apache-2.0" ]
null
null
null
quantum_solver/utils/endianness.py
nakul-shahdadpuri/Minor_Project
a6d7a04cd45ca55fbd908752d140732421b33c73
[ "Apache-2.0" ]
null
null
null
"""This module define some useful functions and types to deal with endianness. """ import typing import qiskit from .registers import QRegisterBase, CRegisterBase # Type alias definition GateContainer = typing.Union[qiskit.QuantumCircuit, qiskit.CompositeGate] class QRegisterLE(QRegisterBase): """Quantum Regis...
32.935185
78
0.694124
442
3,557
5.50905
0.273756
0.044353
0.046817
0.029569
0.70308
0.6423
0.6423
0.604517
0.530595
0.530595
0
0.000744
0.244026
3,557
107
79
33.242991
0.904797
0.556368
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.085714
false
0.142857
0.085714
0
0.314286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9a781add20a29ebf080b3311f315e05c6c10cb49
1,433
py
Python
ext/scheduler/airflow2/tests/test_compiled_airflow_template.py
siddhanta-rath/optimus
500e3cdd44ec99b954378b803d59e7f6fbf37bca
[ "Apache-2.0" ]
651
2021-06-03T09:01:28.000Z
2022-03-30T23:30:26.000Z
ext/scheduler/airflow2/tests/test_compiled_airflow_template.py
siddhanta-rath/optimus
500e3cdd44ec99b954378b803d59e7f6fbf37bca
[ "Apache-2.0" ]
233
2021-06-10T17:34:38.000Z
2022-03-31T07:32:57.000Z
ext/scheduler/airflow2/tests/test_compiled_airflow_template.py
siddhanta-rath/optimus
500e3cdd44ec99b954378b803d59e7f6fbf37bca
[ "Apache-2.0" ]
162
2021-06-02T13:46:56.000Z
2022-03-25T11:30:42.000Z
import unittest import sys sys.path.insert(1, '../resources') import importlib.util def load_file_as_module(filepath): spec = importlib.util.spec_from_file_location("dag", filepath) compiled_dag_lib = importlib.util.module_from_spec(spec) spec.loader.exec_module(compiled_dag_lib) return compiled_dag_...
38.72973
92
0.739009
180
1,433
5.444444
0.327778
0.183673
0.104082
0.107143
0.309184
0.17551
0.118367
0
0
0
0
0.009709
0.137474
1,433
36
93
39.805556
0.783172
0
0
0
0
0
0.187718
0.153524
0
0
0
0
0.48
1
0.08
false
0
0.2
0
0.36
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
9a7f2600c45e2ae09b502e8db667189c00577e52
570
py
Python
450/Ratndeep/matrix/row with max1's.py
ayroti-18/Competitive-Programming
d1ea08a91c63e54f0bba2365e56f98db71eb9054
[ "MIT" ]
3
2020-12-20T10:23:11.000Z
2021-06-16T10:34:18.000Z
450/Ratndeep/matrix/row with max1's.py
Spring-dot/Competitive-Programming
98add277a8b029710c749d1082de25c524e12408
[ "MIT" ]
null
null
null
450/Ratndeep/matrix/row with max1's.py
Spring-dot/Competitive-Programming
98add277a8b029710c749d1082de25c524e12408
[ "MIT" ]
null
null
null
""" Given a boolean 2D array of n x m dimensions where each row is sorted. Find the 0-based index of the first row that has the maximum number of 1's. """ #https://practice.geeksforgeeks.org/problems/row-with-max-1s0023/1# class Solution: def rowWithMax1s(self,arr, n, m): # code here count=0 max_count=-1 ...
21.923077
146
0.587719
93
570
3.526882
0.602151
0.073171
0.054878
0
0
0
0
0
0
0
0
0.043257
0.310526
570
25
147
22.8
0.791349
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
9a7f6cd907d7d1f272047122edc4eb7f01a23197
580
py
Python
Section2_code_files/section2_6/use_cases.py
PacktPublishing/-Python-Network-Programming
3b9391f2b86678ee69655b26dea01d41fa71823d
[ "MIT" ]
4
2019-05-17T00:34:47.000Z
2021-10-11T17:54:53.000Z
Section2_code_files/section2_6/use_cases.py
PacktPublishing/-Python-Network-Programming
3b9391f2b86678ee69655b26dea01d41fa71823d
[ "MIT" ]
null
null
null
Section2_code_files/section2_6/use_cases.py
PacktPublishing/-Python-Network-Programming
3b9391f2b86678ee69655b26dea01d41fa71823d
[ "MIT" ]
4
2019-06-13T19:28:17.000Z
2021-04-22T12:00:53.000Z
#!/usr/env/bin python3 import subnet_calculator_v2 ip = '192.168.1.1' network = '192.168.1.4/30' cal = subnet_calculator_v2.subnet_calculator('192.168.1.0/29') print("My network is {0}".format(cal.network)) print("Is ip {0} in my network?".format(ip)) print(cal.ip_in_subnet('192.168.1.1')) print("Is network {0} a s...
27.619048
65
0.72931
110
580
3.709091
0.363636
0.196078
0.085784
0.039216
0.348039
0.132353
0.132353
0
0
0
0
0.104046
0.105172
580
20
66
29
0.682081
0.146552
0
0
0
0
0.350306
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.636364
0
0
0
null
0
0
0
0
0
0
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
9a825cc837072e2a6d387dc08b29a94697d20be2
8,641
py
Python
currency.py
furkansahin/InvestmentMonitor
563af9f366640500c427f4d6084e91b3e109e7c7
[ "MIT" ]
5
2016-11-10T17:52:59.000Z
2017-02-20T19:58:51.000Z
currency.py
furkansahin/InvestmentMonitor
563af9f366640500c427f4d6084e91b3e109e7c7
[ "MIT" ]
5
2016-11-10T17:52:53.000Z
2021-06-01T21:57:22.000Z
currency.py
furkansahin/InvestmentMonitor
563af9f366640500c427f4d6084e91b3e109e7c7
[ "MIT" ]
2
2016-11-10T17:58:33.000Z
2017-09-12T09:04:08.000Z
from copy import deepcopy import requests import time import telepot users = {} token = raw_input('token:') bot = telepot.Bot(token) currencies = {"USD", "TRY", "GBP", "CHF", "JPY", "EUR"} currencies_in_usage = set() def fetch_currency(currencies, to_currency): cur_values = {} query_keys = set() for cur...
43.862944
122
0.529105
1,078
8,641
4.124304
0.174397
0.064552
0.08637
0.057355
0.432524
0.334908
0.293972
0.273729
0.245839
0.216599
0
0.012017
0.325888
8,641
196
123
44.086735
0.751245
0
0
0.230303
0
0.030303
0.229719
0.010647
0
0
0
0
0
0
null
null
0
0.024242
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
9a90fe84d088a8d8140de44b0f51f62100978055
349
py
Python
small/users/urls.py
JNjinnan/small-blog
9c111ef0c421226913f091bbd73b41f72484182c
[ "MIT" ]
null
null
null
small/users/urls.py
JNjinnan/small-blog
9c111ef0c421226913f091bbd73b41f72484182c
[ "MIT" ]
null
null
null
small/users/urls.py
JNjinnan/small-blog
9c111ef0c421226913f091bbd73b41f72484182c
[ "MIT" ]
null
null
null
# 用于users子应用的视图路由 from django.urls import path from users.views import RegisterView from users.views import ImageCodeView urlpatterns = [ # path的第一个参数1:路由 # 参数2:视图函数 # 参数3:路由名,方便通过reverse来获取路由 path('register/',RegisterView.as_view(),name='register'), # 图片验证码的路由 path('imagecode/',ImageCodeView.a...
24.928571
63
0.727794
39
349
6.461538
0.615385
0.071429
0.111111
0.15873
0
0
0
0
0
0
0
0.010135
0.151862
349
13
64
26.846154
0.841216
0.209169
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9a948f926f19538106bd725aa628da2bcd207097
658
py
Python
tests/make_conf.py
philiparvidsson/pymake
64c8ebba4c9ae8502b53ff4420f404be1c6e50fb
[ "MIT" ]
2
2017-05-21T13:47:00.000Z
2021-04-22T15:19:47.000Z
tests/make_conf.py
philiparvidsson/pymake
64c8ebba4c9ae8502b53ff4420f404be1c6e50fb
[ "MIT" ]
5
2016-11-24T22:09:21.000Z
2016-12-02T08:18:48.000Z
tests/make_conf.py
philiparvidsson/pymake
64c8ebba4c9ae8502b53ff4420f404be1c6e50fb
[ "MIT" ]
1
2018-09-05T12:37:27.000Z
2018-09-05T12:37:27.000Z
#!/usr/bin/env python #--------------------------------------- # IMPORTS #--------------------------------------- import test from pymake2 import * #--------------------------------------- # FUNCTIONS #--------------------------------------- @target def my_target_1(conf): test.equal(conf.value, '123abc', "conf...
19.939394
70
0.428571
59
658
4.627119
0.491525
0.164835
0.080586
0.124542
0.271062
0.271062
0.271062
0.271062
0
0
0
0.030664
0.107903
658
32
71
20.5625
0.434412
0.424012
0
0.166667
0
0
0.281843
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a9c9f582caf10ba6b824089e07e381ec7dcfddd
3,442
py
Python
multimodelity/models/visdial_multi_modal.py
hahaxun/mmf
6d32c3925ed9bf938e19a071aaa5e72a5cf01ee1
[ "BSD-3-Clause" ]
null
null
null
multimodelity/models/visdial_multi_modal.py
hahaxun/mmf
6d32c3925ed9bf938e19a071aaa5e72a5cf01ee1
[ "BSD-3-Clause" ]
null
null
null
multimodelity/models/visdial_multi_modal.py
hahaxun/mmf
6d32c3925ed9bf938e19a071aaa5e72a5cf01ee1
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. from multimodelity.models.pythia import Pythia from multimodelity.modules.decoders import VisDialDiscriminator class VisDialMultiModalModel(Pythia): def __init__(self, config): super().__init__(config) def build(self): self._init_text_embedd...
35.484536
86
0.660081
380
3,442
5.628947
0.252632
0.066854
0.031791
0.029453
0.063581
0
0
0
0
0
0
0.004626
0.246368
3,442
96
87
35.854167
0.819969
0.034282
0
0.027778
0
0
0.046988
0
0
0
0
0.010417
0.013889
1
0.125
false
0
0.027778
0.027778
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9a9e97802f0981c4f0911036905ecc9eab3f2104
5,801
py
Python
hippy/phpcompiler.py
jweinraub/hippyvm
09c7643aaa1c4ade566e8681abd2543f12bf874c
[ "MIT" ]
289
2015-01-01T15:36:55.000Z
2022-03-27T00:22:27.000Z
hippy/phpcompiler.py
jweinraub/hippyvm
09c7643aaa1c4ade566e8681abd2543f12bf874c
[ "MIT" ]
26
2015-01-21T16:34:41.000Z
2020-08-26T15:12:54.000Z
hippy/phpcompiler.py
jweinraub/hippyvm
09c7643aaa1c4ade566e8681abd2543f12bf874c
[ "MIT" ]
35
2015-01-05T12:09:41.000Z
2022-03-16T09:30:16.000Z
from rply.token import SourcePosition from hippy.sourceparser import SourceParser, LexerWrapper, ParseError, get_lexer from hippy.astcompiler import compile_ast from rpython.rlib.objectmodel import we_are_translated MODE_LITERAL = 0 MODE_EQUALSIGN = 1 MODE_PHPCODE = 2 class PHPLexerWrapper(LexerWrapper): def __...
37.915033
82
0.572143
666
5,801
4.827327
0.246246
0.043546
0.022395
0.023639
0.119129
0.089891
0.072473
0.072473
0.05972
0
0
0.007503
0.333736
5,801
152
83
38.164474
0.824321
0.091191
0
0.173554
0
0
0.041955
0.009499
0
0
0
0
0.033058
0
null
null
0
0.033058
null
null
0.008264
0
0
0
null
0
0
0
0
0
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
9aa07d195a6231448037f925afd94a966dc8dea9
3,049
py
Python
roles/multirack/upload-config/library/generate_multirack_topology.py
Mirantis/bird-containers
4d3c8d7aee6b8dd277919aacff1605adc96e5ea7
[ "Apache-2.0" ]
1
2017-10-12T17:03:27.000Z
2017-10-12T17:03:27.000Z
roles/multirack/upload-config/library/generate_multirack_topology.py
Mirantis/bird-containers
4d3c8d7aee6b8dd277919aacff1605adc96e5ea7
[ "Apache-2.0" ]
null
null
null
roles/multirack/upload-config/library/generate_multirack_topology.py
Mirantis/bird-containers
4d3c8d7aee6b8dd277919aacff1605adc96e5ea7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from ansible.module_utils.basic import * import json DOCUMENTATION = """ --- module: generate_multirack_topology short_description: Generate multirack_topology hash which can be uploaded into etcd description: - Generate multirack_topology hash from inventory. Result can be...
34.258427
114
0.572319
361
3,049
4.66482
0.368421
0.06057
0.047506
0.053444
0.276722
0.139549
0.042755
0.042755
0
0
0
0.021229
0.27386
3,049
88
115
34.647727
0.739386
0.083962
0
0.2
1
0
0.377961
0.036971
0
0
0
0
0
1
0.013333
false
0
0.026667
0
0.04
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
9aa3850c3d586c3235e77c1783366d0ab0f8e5b2
508
py
Python
house_of_refuge/main/migrations/0009_submission_status.py
ludwiktrammer/house-of-refuge
d71624d5f796ab88724f43654659d85c09b8b44d
[ "MIT" ]
11
2022-03-12T18:38:49.000Z
2022-03-15T20:37:42.000Z
house_of_refuge/main/migrations/0009_submission_status.py
ludwiktrammer/house-of-refuge
d71624d5f796ab88724f43654659d85c09b8b44d
[ "MIT" ]
14
2022-03-12T13:23:46.000Z
2022-03-26T13:34:56.000Z
house_of_refuge/main/migrations/0009_submission_status.py
ludwiktrammer/house-of-refuge
d71624d5f796ab88724f43654659d85c09b8b44d
[ "MIT" ]
4
2022-03-12T16:30:30.000Z
2022-03-18T21:32:45.000Z
# Generated by Django 3.2.12 on 2022-03-01 15:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0008_submission'), ] operations = [ migrations.AddField( model_name='submission', name='status', ...
26.736842
180
0.598425
53
508
5.660377
0.849057
0
0
0
0
0
0
0
0
0
0
0.056848
0.238189
508
18
181
28.222222
0.718346
0.090551
0
0
1
0
0.223913
0
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
9aa42066c1cc04f559db27e4492bf05e5408eef2
757
py
Python
projects/python-desk/shadow/github_api/test-api.py
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
projects/python-desk/shadow/github_api/test-api.py
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
15
2015-03-07T12:46:41.000Z
2015-04-11T09:08:36.000Z
projects/python-desk/shadow/github_api/test-api.py
zaqwes8811/micro-apps
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
from github import Github g = Github("zaqwes8811", "a3fs4gd5h") for repo in g.get_user().get_repos(): print repo.name #repo.edit(has_wiki=False) """from pygithub3 import Github from pygithub3.services.repos import * gh = Github(login='zaqwes8811', password='a3fs4gd5h')""" """print gh octocat = gh.users.get...
22.264706
59
0.713342
101
757
5.257426
0.376238
0.052731
0.056497
0.082863
0
0
0
0
0
0
0
0.030581
0.136063
757
34
59
22.264706
0.781346
0.033025
0
0
0
0
0.140741
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9aa593d9f6d6852eff0bca63db59fd8d482d359e
4,043
py
Python
robotizr/output/writer.py
skiera/Robotizr
c6b17519bbcb533854d22b90d8197251448d2115
[ "MIT" ]
null
null
null
robotizr/output/writer.py
skiera/Robotizr
c6b17519bbcb533854d22b90d8197251448d2115
[ "MIT" ]
14
2019-11-14T09:15:38.000Z
2020-11-16T08:31:47.000Z
robotizr/output/writer.py
skiera/Robotizr
c6b17519bbcb533854d22b90d8197251448d2115
[ "MIT" ]
1
2020-11-16T08:29:49.000Z
2020-11-16T08:29:49.000Z
import os import re import codecs import unicodedata def write(config, suites, target): for suite in suites: name_parts = suite.name.strip("/").split("/") for i, s in enumerate(name_parts): name_parts[i] = slugify(s) path = "%s/%s" % (target, '/'.join(name_parts[:-1])) ...
45.943182
145
0.562701
477
4,043
4.649895
0.253669
0.015329
0.028404
0.032462
0.36294
0.272768
0.191614
0.139766
0.139766
0.087466
0
0.003841
0.291615
4,043
87
146
46.471264
0.770601
0.078902
0
0.134328
0
0
0.108649
0.011892
0
0
0
0.011494
0
1
0.059701
false
0
0.059701
0
0.134328
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
1
0
0
0
0
0
0
0
0
0
0
1
9aa786bf8843269449adf045c26513b3add83249
1,968
py
Python
run.py
fabiocody/mtds-project-tinyos
236bda5ae22805c17dbef9773332817de3fb021f
[ "MIT" ]
null
null
null
run.py
fabiocody/mtds-project-tinyos
236bda5ae22805c17dbef9773332817de3fb021f
[ "MIT" ]
null
null
null
run.py
fabiocody/mtds-project-tinyos
236bda5ae22805c17dbef9773332817de3fb021f
[ "MIT" ]
null
null
null
#!/usr/bin/python DBG_CHANNELS = "err data th ack" TOPO_FILE = "linkgain.out" #NOISE_FILE = "/usr/src/tinyos/tos/lib/tossim/noise/meyer-heavy.txt" NOISE_FILE = "/usr/src/tinyos/tos/lib/tossim/noise/casino-lab.txt" from TOSSIM import * from random import * import sys from argparse import ArgumentParser t = Tossim([])...
28.941176
106
0.593496
277
1,968
4.155235
0.393502
0.02172
0.044309
0.026064
0.152911
0.097307
0.097307
0.06603
0.06603
0
0
0.019839
0.180386
1,968
67
107
29.373134
0.693738
0.088415
0
0.078431
0
0
0.167691
0.099497
0
0
0
0
0
0
null
null
0
0.078431
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9aaa7474c4080b548f42f641b1dc066c628e93d1
325
py
Python
calepin/auth.py
Wittionary/calepin
6767e6f16d042d792b5f7ec66ffdc31bb6afcd39
[ "0BSD" ]
16
2015-01-05T21:07:42.000Z
2018-12-17T09:23:01.000Z
calepin/auth.py
Wittionary/calepin
6767e6f16d042d792b5f7ec66ffdc31bb6afcd39
[ "0BSD" ]
null
null
null
calepin/auth.py
Wittionary/calepin
6767e6f16d042d792b5f7ec66ffdc31bb6afcd39
[ "0BSD" ]
12
2015-02-28T04:43:54.000Z
2021-02-26T03:39:20.000Z
# encoding=utf-8 from flask_login import LoginManager, AnonymousUser from calepin.models import Blog login_manager = LoginManager() AnonymousUser.json = {} login_manager.anonymous_user = AnonymousUser login_manager.login_view = "frontend.site" @login_manager.user_loader def get_user(id): return Blog.query.get...
19.117647
51
0.796923
43
325
5.813953
0.581395
0.192
0
0
0
0
0
0
0
0
0
0.003484
0.116923
325
16
52
20.3125
0.867596
0.043077
0
0
0
0
0.042071
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9aaaf9c4d2b77355b814dfd0079f392c5555e7e4
1,796
py
Python
test/5229/variables_test.py
dburkart/check-sieve
667f0e9670e8820e37a8162ec09e794e6e4f1cb4
[ "MIT" ]
20
2015-09-06T04:16:04.000Z
2022-03-24T16:34:56.000Z
test/5229/variables_test.py
dburkart/mail-sieve-verifier
cb51fda06c933dd1e1d0ded05ccba9bedbe67e7f
[ "MIT" ]
24
2015-06-14T01:44:30.000Z
2015-09-05T17:25:11.000Z
test/5229/variables_test.py
dburkart/mail-sieve-verifier
cb51fda06c933dd1e1d0ded05ccba9bedbe67e7f
[ "MIT" ]
3
2015-09-08T05:24:08.000Z
2019-04-01T00:15:29.000Z
from sys import platform import unittest import checksieve class TestVariables(unittest.TestCase): def test_set(self): sieve = ''' require "variables"; set "honorific" "Mr"; ''' self.assertFalse(checksieve.parse_string(sieve, False)) def test_mod_length(self): ...
25.295775
63
0.55735
183
1,796
5.289617
0.306011
0.057851
0.132231
0.206612
0.676653
0.56095
0.488636
0.443182
0.381198
0.109504
0
0.000803
0.306236
1,796
70
64
25.657143
0.776083
0
0
0.551724
0
0
0.392539
0
0
0
0
0
0.137931
1
0.137931
false
0
0.051724
0
0.206897
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
9ab04c59bf48b8f7a475fa9876d1ce20a5594d07
1,727
py
Python
modules/system_funcs.py
SecTraversl/Toolbox_Python_3.8
0ad1d92d3a12225ea60e4eef3f263aecfffd1b65
[ "MIT" ]
null
null
null
modules/system_funcs.py
SecTraversl/Toolbox_Python_3.8
0ad1d92d3a12225ea60e4eef3f263aecfffd1b65
[ "MIT" ]
null
null
null
modules/system_funcs.py
SecTraversl/Toolbox_Python_3.8
0ad1d92d3a12225ea60e4eef3f263aecfffd1b65
[ "MIT" ]
null
null
null
####################################### ############ SYSTEM FUNCS ############# ####################################### # %% ####################################### def get_current_python_path(): """Returns the full path of the python interpreter that is currently in use. Examples: >>> get_current_pyt...
25.397059
80
0.522293
200
1,727
4.335
0.4
0.062284
0.103806
0.062284
0.262976
0.152249
0.152249
0.152249
0.152249
0.152249
0
0.045319
0.220614
1,727
67
81
25.776119
0.597325
0.531558
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.214286
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9ab467c1a3538cdb34a1401fbec16dd8bdd6a6f6
717
py
Python
keras_folder/Get_start.py
CoupleWinter/Kaggle
cb55a553f68364a9aff693986151f80a49967ec9
[ "MIT" ]
null
null
null
keras_folder/Get_start.py
CoupleWinter/Kaggle
cb55a553f68364a9aff693986151f80a49967ec9
[ "MIT" ]
null
null
null
keras_folder/Get_start.py
CoupleWinter/Kaggle
cb55a553f68364a9aff693986151f80a49967ec9
[ "MIT" ]
null
null
null
import numpy as np from keras.models import Sequential from keras.layers import Dense, Dropout # Generate dummy data x_train = np.random.random((1000, 20)) y_train = np.random.randint(2, size=(1000, 1)) x_test = np.random.random((100, 20)) y_test = np.random.randint(2, size=(100, 1)) model = Sequential() model.add(De...
29.875
54
0.712692
113
717
4.415929
0.442478
0.08016
0.078156
0.064128
0.256513
0.176353
0.176353
0.176353
0.176353
0.176353
0
0.065495
0.126918
717
23
55
31.173913
0.731629
0.026499
0
0.111111
1
0
0.070402
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
9ab6a52d8b36cf0d223f6f933f26f344726ecd2b
1,400
py
Python
Week 3/Contest Two/Game of Two Stacks.py
Dawit-Getachew/A2SV_Practice
2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61
[ "MIT" ]
null
null
null
Week 3/Contest Two/Game of Two Stacks.py
Dawit-Getachew/A2SV_Practice
2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61
[ "MIT" ]
null
null
null
Week 3/Contest Two/Game of Two Stacks.py
Dawit-Getachew/A2SV_Practice
2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61
[ "MIT" ]
null
null
null
#!/bin/python3 import math import os import random import re import sys # # Complete the 'twoStacks' function below. # # The function is expected to return an INTEGER. # The function accepts following parameters: # 1. INTEGER maxSum # 2. INTEGER_ARRAY a # 3. INTEGER_ARRAY b # def twoStacks(maxSum, a, b): # Wr...
19.444444
55
0.55
178
1,400
4.213483
0.421348
0.069333
0.096
0.084
0.069333
0.069333
0
0
0
0
0
0.012672
0.323571
1,400
71
56
19.71831
0.779303
0.16
0
0.142857
0
0
0.018884
0
0
0
0
0.014085
0
1
0.02381
false
0
0.119048
0
0.166667
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
9abb5a3f9f17fdcbe3b4ccfe2ef4a0160c80e4c1
217
py
Python
tensorflow_probability/examples/jupyter_notebooks/gp_regression/ex4/write_params.py
Chaztikov/probability
9d64bfd0a7907f220f910dae134bc30258f25b5e
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/examples/jupyter_notebooks/gp_regression/ex4/write_params.py
Chaztikov/probability
9d64bfd0a7907f220f910dae134bc30258f25b5e
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/examples/jupyter_notebooks/gp_regression/ex4/write_params.py
Chaztikov/probability
9d64bfd0a7907f220f910dae134bc30258f25b5e
[ "Apache-2.0" ]
null
null
null
for i in range(4): outfile = 'paramslist.txt' params = [0, 1, 2] with open(outfile, 'a+') as f: for param in params: f.write(str(param)) f.write(' ') f.write('\n')
21.7
34
0.474654
31
217
3.322581
0.677419
0.174757
0
0
0
0
0
0
0
0
0
0.028777
0.359447
217
9
35
24.111111
0.71223
0
0
0
0
0
0.087963
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
9abde9590954dcb678193a7a66faed82267b7746
192
py
Python
top/clearlight/base/runoob/error/error_01.py
ClearlightY/Python_learn
93b9b7efae5a1cf05faf8ee7c5e36dcc99c7a232
[ "Apache-2.0" ]
1
2020-01-16T09:23:43.000Z
2020-01-16T09:23:43.000Z
top/clearlight/base/runoob/error/error_01.py
ClearlightY/Python_learn
93b9b7efae5a1cf05faf8ee7c5e36dcc99c7a232
[ "Apache-2.0" ]
null
null
null
top/clearlight/base/runoob/error/error_01.py
ClearlightY/Python_learn
93b9b7efae5a1cf05faf8ee7c5e36dcc99c7a232
[ "Apache-2.0" ]
null
null
null
def mye(level): if level < 1: raise Exception("Invalid level!") # 触发异常后,后面的代码就不会再执行 try: mye(0) # 触发异常 except Exception as err: print(1, err) else: print(2)
14.769231
41
0.578125
26
192
4.269231
0.730769
0
0
0
0
0
0
0
0
0
0
0.029851
0.302083
192
12
42
16
0.798507
0.114583
0
0
0
0
0.083832
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.222222
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
9ac3b0856a3676abed6655bc995968cc8c7dcc21
500
py
Python
src/actions.py
flancast90/ParPy
897710f7664b9eb54d08dc90c0468858e8168f62
[ "MIT" ]
1
2021-08-30T22:15:53.000Z
2021-08-30T22:15:53.000Z
src/actions.py
flancast90/Patois
897710f7664b9eb54d08dc90c0468858e8168f62
[ "MIT" ]
null
null
null
src/actions.py
flancast90/Patois
897710f7664b9eb54d08dc90c0468858e8168f62
[ "MIT" ]
null
null
null
# ParPy: A python natural language # parser based on the one used # by Zork, for use in Python games # Copyright (c) Finn Lancaster 2021 # This file contains the BASE action words # accepted by the users program. For example # , take, move, etc. # ParPy handles similar entries and conversion # to program-accepted one...
29.411765
48
0.722
78
500
4.628205
0.75641
0.038781
0
0
0
0
0
0
0
0
0
0.009901
0.192
500
16
49
31.25
0.883663
0.872
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9ac3b49f85edda92533d232e2d7bd217aff4cfda
3,746
py
Python
src/engine.py
Murlocks/Ngram-Tiling-QA
3043be5a01fb20c51ea31c9f24b16b1f9fc43c8e
[ "MIT" ]
1
2017-06-26T11:28:05.000Z
2017-06-26T11:28:05.000Z
src/engine.py
Murlocks/Ngram-Tiling-QA
3043be5a01fb20c51ea31c9f24b16b1f9fc43c8e
[ "MIT" ]
null
null
null
src/engine.py
Murlocks/Ngram-Tiling-QA
3043be5a01fb20c51ea31c9f24b16b1f9fc43c8e
[ "MIT" ]
null
null
null
from pattern.web import Bing, Google, plaintext from pattern.en import ngrams, wordlist, parsetree from pattern.metrics import similarity import operator, re class Engine(object): def __init__(self, provider, key=None): if provider.lower() == "bing": key = key or 'd6Mz4slIdgIxcKR4609FO+QKOFTEF...
39.431579
92
0.488254
411
3,746
4.416058
0.316302
0.022039
0.019835
0.023141
0.150964
0.150964
0.150964
0.110193
0.079339
0.040771
0
0.015593
0.349439
3,746
94
93
39.851064
0.729175
0.048852
0
0.195122
0
0
0.102276
0.083169
0
0
0
0
0
0
null
null
0
0.04878
null
null
0.085366
0
0
0
null
0
0
0
0
0
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
9acc1cd271f59733f67fec02d59a8627068031d8
29,682
py
Python
MDIChildKeywords.py
rambasnet/MAKE2
3e4f31a0e39aab4aae117d8644fa4ae50e8531b5
[ "MIT" ]
null
null
null
MDIChildKeywords.py
rambasnet/MAKE2
3e4f31a0e39aab4aae117d8644fa4ae50e8531b5
[ "MIT" ]
null
null
null
MDIChildKeywords.py
rambasnet/MAKE2
3e4f31a0e39aab4aae117d8644fa4ae50e8531b5
[ "MIT" ]
null
null
null
#Boa:MiniFrame:MDIChildKeywords #----------------------------------------------------------------------------- # Name: MDIChildEmails.py # Purpose: # # Author: Ram Basnet # # Created: 2007/11/01 # Last Modified: 7/24/2009 # RCS-ID: $Id: MDIChildEmails.py,v 1.5 2008/03/17 04:18:38 rb...
41.805634
157
0.556634
2,724
29,682
6.018355
0.202643
0.011529
0.00976
0.006954
0.321581
0.277236
0.241918
0.201537
0.168598
0.158717
0
0.020685
0.340375
29,682
709
158
41.864598
0.81664
0.077791
0
0.368421
0
0.002024
0.071524
0.004458
0
0
0
0
0
0
null
null
0
0.032389
null
null
0.002024
0
0
0
null
0
0
0
0
0
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
9ace13f4ce54c40da183b56598105ab8ff88e587
1,355
py
Python
generate_conformations.py
corinwagen/utilities
3cee5ef517d6ef466c26394eaa2b63683f0ecefd
[ "Apache-2.0" ]
3
2021-07-29T16:04:01.000Z
2021-07-30T00:48:06.000Z
generate_conformations.py
corinwagen/utilities
3cee5ef517d6ef466c26394eaa2b63683f0ecefd
[ "Apache-2.0" ]
null
null
null
generate_conformations.py
corinwagen/utilities
3cee5ef517d6ef466c26394eaa2b63683f0ecefd
[ "Apache-2.0" ]
1
2021-08-05T20:35:23.000Z
2021-08-05T20:35:23.000Z
import copy, cctk, argparse, sys, re import numpy as np # usage: python generate_conformations.py molecule.gjf molecule parser = argparse.ArgumentParser(prog="generate_conformations.py") parser.add_argument("--procs", "-p", type=int, default=16, help="Number of processors to use.") parser.add_argument('-c', '--constr...
45.166667
150
0.726937
192
1,355
5.015625
0.46875
0.065421
0.123572
0.037383
0
0
0
0
0
0
0
0.004068
0.092989
1,355
29
151
46.724138
0.779496
0.045018
0
0
1
0
0.369481
0.046476
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9ad117734a1f1d18b6e8a183c6bcaa0a0000339a
466
py
Python
python-essential-libraries/pillow/basic_image_operations.py
alexprodan99/python-workspace
8c805afc29fafe3916759d1cf07e597f945b8b45
[ "MIT" ]
null
null
null
python-essential-libraries/pillow/basic_image_operations.py
alexprodan99/python-workspace
8c805afc29fafe3916759d1cf07e597f945b8b45
[ "MIT" ]
null
null
null
python-essential-libraries/pillow/basic_image_operations.py
alexprodan99/python-workspace
8c805afc29fafe3916759d1cf07e597f945b8b45
[ "MIT" ]
null
null
null
from PIL import Image image = Image.open('landscape.jpg') print(image.filename) print(image.format) print(image.size) print(image.height) print(image.width) print(image.mode) # pixel format for k,v in image.info.items(): print(k,v) # convert from one format to another outfile = 'landscape.png' image.save(outfil...
19.416667
49
0.718884
72
466
4.652778
0.5
0.179104
0
0
0
0
0
0
0
0
0
0
0.148069
466
23
50
20.26087
0.843829
0.203863
0
0
0
0
0.125341
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.533333
0
0
0
null
0
0
0
0
0
0
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
9ad13d1b169949e9a7d31ca7ee003a2d74394af1
407
py
Python
keygen/apiviews.py
encode1/keygen-api
84a69c40766f68daee866b5c305b6a0b1c99f056
[ "Apache-2.0" ]
null
null
null
keygen/apiviews.py
encode1/keygen-api
84a69c40766f68daee866b5c305b6a0b1c99f056
[ "Apache-2.0" ]
6
2021-03-19T00:40:57.000Z
2021-09-22T18:41:41.000Z
keygen/apiviews.py
encode1/keygen-api
84a69c40766f68daee866b5c305b6a0b1c99f056
[ "Apache-2.0" ]
null
null
null
from rest_framework.generics import ListCreateAPIView, DestroyAPIView from .models import Key from .serializers import KeySerializer class KeyList(ListCreateAPIView): queryset = Key.objects.all() serializer_class = KeySerializer class KeyDestroy(DestroyAPIView): queryset = Key.objects.all() def pe...
22.611111
69
0.751843
42
407
7.214286
0.619048
0.118812
0.118812
0.138614
0
0
0
0
0
0
0
0
0.174447
407
17
70
23.941176
0.901786
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.818182
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
9ad52479baec83168b03a063c16d8358f7c440bf
478
py
Python
py_solutions_51-60/Euler_55.py
tijko/Project-Euler
d953a2bf6932c2c4e1235409fedf760add65a0ba
[ "MIT" ]
null
null
null
py_solutions_51-60/Euler_55.py
tijko/Project-Euler
d953a2bf6932c2c4e1235409fedf760add65a0ba
[ "MIT" ]
1
2022-03-15T02:49:09.000Z
2022-03-15T02:49:09.000Z
py_solutions_51-60/Euler_55.py
tijko/Project-Euler
d953a2bf6932c2c4e1235409fedf760add65a0ba
[ "MIT" ]
null
null
null
# Lychrel Numbers import timeit start = timeit.default_timer() def euler_55(): lychrel = 0 for i in xrange(12, 10000): for l in xrange(51): palindrome = i + int(str(i)[::-1]) i = palindrome if str(palindrome) == str(palindrome)[::-1]: break ...
20.782609
56
0.531381
60
478
4.166667
0.55
0.104
0.144
0
0
0
0
0
0
0
0
0.059748
0.334728
478
22
57
21.727273
0.726415
0.031381
0
0
0
0
0.03913
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.125
0
0
0
null
0
0
0
0
0
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
9ad7a957a06b3e7e4869608b6a24f18250a0de50
18,126
py
Python
server/twilio/twilio_send_alerts.py
flexbox-nicaragua/flexbox-code
a55eba438624a0b8f048a2c48d56ad7165bb6f84
[ "MIT" ]
null
null
null
server/twilio/twilio_send_alerts.py
flexbox-nicaragua/flexbox-code
a55eba438624a0b8f048a2c48d56ad7165bb6f84
[ "MIT" ]
null
null
null
server/twilio/twilio_send_alerts.py
flexbox-nicaragua/flexbox-code
a55eba438624a0b8f048a2c48d56ad7165bb6f84
[ "MIT" ]
null
null
null
# Copyright 2016 The Flexbox Authors. All rights reserved. # Licensed under the open source MIT License, which is in the LICENSE file. import pandas as pd from twilio.rest import TwilioRestClient import os from pandas.tools.plotting import scatter_matrix from datetime import date, datetime, timedelta import copy import...
48.336
111
0.644599
2,311
18,126
4.778884
0.163566
0.030424
0.037668
0.047084
0.540565
0.45853
0.415972
0.36092
0.309218
0.281058
0
0.019309
0.254276
18,126
374
112
48.465241
0.797736
0.059638
0
0.205882
0
0
0.143488
0.004236
0
0
0
0
0
0
null
null
0
0.052288
null
null
0.042484
0
0
0
null
0
0
0
0
0
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
9ad891772f9d8d046bfc8ac36f8e647c297261bc
3,598
py
Python
saboteur/cli.py
tomakehurst/saboteur
d78cf5280ff8d6388748ab500aa1f66ba991604b
[ "Apache-2.0" ]
258
2015-01-15T22:28:43.000Z
2022-01-06T03:29:25.000Z
saboteur/cli.py
tomakehurst/saboteur
d78cf5280ff8d6388748ab500aa1f66ba991604b
[ "Apache-2.0" ]
2
2015-06-30T12:26:16.000Z
2015-08-28T17:27:30.000Z
saboteur/cli.py
tomakehurst/saboteur
d78cf5280ff8d6388748ab500aa1f66ba991604b
[ "Apache-2.0" ]
22
2015-02-07T13:30:57.000Z
2021-09-17T02:08:03.000Z
#!/usr/bin/env python import sys import httplib import json from optparse import OptionParser import os from os.path import expanduser from apicommands import FAULT_TYPES RESPONSES={ 200: 'OK', 400: 'Bad request', 500: 'Server error' } def add_fault(hosts, options): print('Adding fault: ' + json.dumps(options)) ...
42.329412
188
0.678988
491
3,598
4.867617
0.276986
0.085356
0.087866
0.123013
0.364435
0.282427
0.199163
0.199163
0.158996
0.158996
0
0.011453
0.150639
3,598
84
189
42.833333
0.770615
0.021401
0
0.287879
0
0.015152
0.312873
0
0.015152
0
0
0
0
0
null
null
0
0.106061
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
9ad960a686576a290ce25c35c471ea05346f4786
419
py
Python
src/dsalgo/queue_test.py
kagemeka/python-algorithms
dface89b8c618845cf524429aa8e97c4b2b10ceb
[ "MIT" ]
1
2022-02-10T02:13:07.000Z
2022-02-10T02:13:07.000Z
src/dsalgo/queue_test.py
kagemeka/python-algorithms
dface89b8c618845cf524429aa8e97c4b2b10ceb
[ "MIT" ]
6
2022-01-05T09:15:54.000Z
2022-01-09T05:48:43.000Z
src/dsalgo/queue_test.py
kagemeka/python-algorithms
dface89b8c618845cf524429aa8e97c4b2b10ceb
[ "MIT" ]
null
null
null
import unittest import dsalgo.queue class Test(unittest.TestCase): def test_singly_linked_list(self) -> None: que = dsalgo.queue.SinglyLinkedList[int]() que.append(1) self.assertEqual(len(que), 1) self.assertEqual(que.pop(), 1) self.assertEqual(len(que), 0) with se...
22.052632
50
0.630072
50
419
5.06
0.56
0.059289
0.189723
0.150198
0.173913
0
0
0
0
0
0
0.012579
0.24105
419
18
51
23.277778
0.783019
0
0
0
0
0
0.019093
0
0
0
0
0
0.307692
1
0.076923
false
0
0.153846
0
0.307692
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
9adb0af0bdf94d3514b9de4750938f8c40b976b0
2,452
py
Python
flir_lepton_auxiliary/scripts/produce_dataset.py
angetria/flir_lepton_rpi2
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
15
2015-11-10T10:39:53.000Z
2022-03-29T07:07:53.000Z
flir_lepton_auxiliary/scripts/produce_dataset.py
angetria/flir_lepton
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
6
2015-10-23T12:18:45.000Z
2019-07-02T09:55:46.000Z
flir_lepton_auxiliary/scripts/produce_dataset.py
angetria/flir_lepton_rpi2
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
6
2017-04-13T12:28:38.000Z
2019-07-03T21:58:51.000Z
#!usr/bin/python import sys # The area of interest(pixels) to find the mean temperature x1 = 52 x2 = 54 y1 = 18 y2 = 20 # The area of neutral pixels to find the mean temperature x3 = 66 x4 = 68 y3 = 6 y4 = 8 # Make the dataset from raw pixel flir-lepton images. try: dataset = open("dataset.iemb","w") except IOE...
24.039216
74
0.544454
365
2,452
3.643836
0.367123
0.047368
0.018045
0.033083
0.196992
0.171429
0.096241
0.096241
0.096241
0.051128
0
0.040829
0.350734
2,452
101
75
24.277228
0.794598
0
0
0.122449
0
0
0.10173
0
0
0
0
0
0
0
null
null
0
0.020408
null
null
0.081633
0
0
0
null
0
0
0
0
0
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
9addaffd2ada39402bef252274ff86d4bd2dcae5
1,588
py
Python
test_suite.py
lokaimoma/BLOGG
c8d56e28e13a30951caf0e123c27144b435231b4
[ "MIT" ]
13
2021-07-03T01:06:54.000Z
2022-03-24T12:19:56.000Z
test_suite.py
lokaimoma/BLOGG
c8d56e28e13a30951caf0e123c27144b435231b4
[ "MIT" ]
1
2021-07-03T00:06:20.000Z
2021-07-03T00:06:20.000Z
test_suite.py
lokaimoma/BLOGG
c8d56e28e13a30951caf0e123c27144b435231b4
[ "MIT" ]
2
2021-07-10T13:59:21.000Z
2022-02-24T18:09:25.000Z
import unittest from src.tests.DeleteBlogTestCase import DeleteBlogTestCase from src.tests.getters_test.test_get_all_blogs import GeAllBlogsTestCase from src.tests.getters_test.test_get_blog_detail import GetBlogDetailTestCase from src.tests.getters_test.test_get_blogs_user_id import GetBlogsByUserIdTestCase from src....
56.714286
82
0.823678
161
1,588
7.888199
0.291925
0.049606
0.085039
0.044882
0.200787
0.200787
0.200787
0
0
0
0
0.013343
0.103275
1,588
27
83
58.814815
0.878511
0
0
0
0
0
0.005038
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9ae28a5e622a5589a71c9151f72ed6447e1c7f9f
2,830
py
Python
script/validators/jdbc_validator.py
aaron-tian/peloton
2406b763b91d9cee2a5d9f4dee01c761b476cef6
[ "Apache-2.0" ]
3
2018-01-08T01:06:17.000Z
2019-06-17T23:14:36.000Z
script/validators/jdbc_validator.py
aaron-tian/peloton
2406b763b91d9cee2a5d9f4dee01c761b476cef6
[ "Apache-2.0" ]
1
2020-04-30T09:54:37.000Z
2020-04-30T09:54:37.000Z
script/validators/jdbc_validator.py
aaron-tian/peloton
2406b763b91d9cee2a5d9f4dee01c761b476cef6
[ "Apache-2.0" ]
3
2018-02-25T23:30:33.000Z
2018-04-08T10:11:42.000Z
#!/usr/bin/env python # encoding: utf-8 import sys import os import subprocess import time import re import platform ## ============================================== ## CONFIGURATION ## ============================================== # NOTE: absolute path to peloton directory is calculated from current directory # d...
30.106383
107
0.653004
361
2,830
4.908587
0.368421
0.030474
0.044018
0.056433
0.128668
0.027088
0
0
0
0
0
0.006244
0.207774
2,830
93
108
30.430108
0.784121
0.24735
0
0.037736
0
0
0.134634
0.01903
0
0
0
0
0
0
null
null
0
0.113208
null
null
0.075472
0
0
0
null
0
0
0
0
0
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
9aee0029c9cfe7481e2d3b0744c14725f0b5feda
5,233
py
Python
stocks/getnews.py
sada-narayanappa/data
c9c8cff46b91740ea2abf8da91f129ffca62d870
[ "Apache-2.0" ]
null
null
null
stocks/getnews.py
sada-narayanappa/data
c9c8cff46b91740ea2abf8da91f129ffca62d870
[ "Apache-2.0" ]
null
null
null
stocks/getnews.py
sada-narayanappa/data
c9c8cff46b91740ea2abf8da91f129ffca62d870
[ "Apache-2.0" ]
null
null
null
#!/usr/local/bin/python #GENERATED BY /aiservices/notebooks/stocks/01_GetData.ipynb import os, datetime, glob, sys, time, datetime, colabexts, shutil, argparse import numpy as np import pandas as pd import csv, requests from colabexts.jcommon import * import http.client, urllib.parse, json sys.path.append("/opt/dat...
30.964497
112
0.520925
670
5,233
4.01791
0.325373
0.015602
0.03789
0.044577
0.270059
0.205423
0.177192
0.119614
0.098068
0.076523
0
0.03148
0.247277
5,233
168
113
31.14881
0.651942
0.078349
0
0.1875
1
0.023438
0.388655
0.127372
0
0
0
0
0
1
0.039063
false
0.007813
0.054688
0
0.132813
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9af1e4a865ebef466e47ab9158600e43aa91c4b5
4,916
py
Python
Ch 4/TrainingModels.py
IESSC/Machine-Learning
0866f09ee7ee671b49f0c7340383f5051dcacb49
[ "Apache-2.0" ]
null
null
null
Ch 4/TrainingModels.py
IESSC/Machine-Learning
0866f09ee7ee671b49f0c7340383f5051dcacb49
[ "Apache-2.0" ]
null
null
null
Ch 4/TrainingModels.py
IESSC/Machine-Learning
0866f09ee7ee671b49f0c7340383f5051dcacb49
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Oct 16 09:57:44 2017 @author: hao """ import numpy as np import matplotlib.pyplot as plt # In[] # 4.1.1 The Normal Equation X = 2 * np.random.rand(100, 1) # generate a 100*1 array y = 4 + 3 * X + np.random.randn(100, 1) X_b = np.c_[np.ones((100, 1)), X] # add x0 = 1 to eac...
27.463687
92
0.689992
848
4,916
3.818396
0.222877
0.00803
0.017295
0.017295
0.262199
0.197962
0.115812
0.040148
0.02656
0
0
0.042936
0.151953
4,916
179
93
27.463687
0.733749
0.141172
0
0.160714
0
0
0.030046
0
0
0
0
0
0
0
null
null
0
0.116071
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
9af5ba8bd036f6956486bce08973e69df1f61b84
612
py
Python
src/lti_toolbox/admin.py
regisb/django-lti-toolbox
aab60dc94d25450cc717cfb8b6235c0bf2eb7d7e
[ "MIT" ]
5
2021-01-02T16:51:45.000Z
2021-04-05T13:40:50.000Z
src/lti_toolbox/admin.py
regisb/django-lti-toolbox
aab60dc94d25450cc717cfb8b6235c0bf2eb7d7e
[ "MIT" ]
3
2020-06-08T08:46:01.000Z
2022-02-03T15:09:52.000Z
src/lti_toolbox/admin.py
regisb/django-lti-toolbox
aab60dc94d25450cc717cfb8b6235c0bf2eb7d7e
[ "MIT" ]
2
2022-02-03T13:59:33.000Z
2022-03-21T20:35:57.000Z
"""Admin of the lti_toolbox application.""" from django.contrib import admin from .models import LTIConsumer, LTIPassport @admin.register(LTIConsumer) class LTIConsumerAdmin(admin.ModelAdmin): """Admin class for the LTIConsumer model.""" list_display = ( "slug", "title", ) @admin.regi...
19.125
48
0.643791
61
612
6.295082
0.540984
0.067708
0.104167
0.130208
0.161458
0.161458
0
0
0
0
0
0
0.24183
612
31
49
19.741935
0.827586
0.187909
0
0.315789
0
0
0.151767
0
0
0
0
0
0
1
0
false
0.157895
0.105263
0
0.368421
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
9af792836b25a38dca0f33e18695413380849894
3,211
py
Python
Sort List.py
lisnb/leetcode
7875e4ff20412b663c59e57f76d08cd62b91481c
[ "MIT" ]
2
2015-04-28T05:10:15.000Z
2015-11-20T17:05:29.000Z
Sort List.py
lisnb/leetcode
7875e4ff20412b663c59e57f76d08cd62b91481c
[ "MIT" ]
null
null
null
Sort List.py
lisnb/leetcode
7875e4ff20412b663c59e57f76d08cd62b91481c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: LiSnB # @Date: 2015-01-15 19:57:21 # @Last Modified by: LiSnB # @Last Modified time: 2015-01-20 09:07:49 # @Email: lisnb.h@gmail.com """ # @comment here: """ # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val =...
21.695946
67
0.463718
416
3,211
3.550481
0.223558
0.030467
0.016249
0.018957
0.098172
0.073121
0.036561
0.00677
0.00677
0
0
0.050598
0.427593
3,211
148
68
21.695946
0.752992
0.11336
0
0.27451
0
0
0.003915
0
0
0
0
0
0
0
null
null
0
0
null
null
0.04902
0
0
0
null
0
0
0
0
0
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
9af903d38a6a5a2358bcf238bfea118bc9c6eb9f
455
py
Python
codewof/users/migrations/0005_alter_invitation_date_expires.py
uccser-admin/programming-practice-prototype
3af4c7d85308ac5bb35bb13be3ec18cac4eb8308
[ "MIT" ]
3
2019-08-29T04:11:22.000Z
2021-06-22T16:05:51.000Z
codewof/users/migrations/0005_alter_invitation_date_expires.py
uccser-admin/programming-practice-prototype
3af4c7d85308ac5bb35bb13be3ec18cac4eb8308
[ "MIT" ]
265
2019-05-30T03:51:46.000Z
2022-03-31T01:05:12.000Z
codewof/users/migrations/0005_alter_invitation_date_expires.py
samuelsandri/codewof
c9b8b378c06b15a0c42ae863b8f46581de04fdfc
[ "MIT" ]
7
2019-06-29T12:13:37.000Z
2021-09-06T06:49:14.000Z
# Generated by Django 3.2.6 on 2021-09-02 04:02 from django.db import migrations, models import users.models class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20210822_1749'), ] operations = [ migrations.AlterField( model_name='invitation', ...
22.75
91
0.648352
50
455
5.74
0.72
0.076655
0
0
0
0
0
0
0
0
0
0.090643
0.248352
455
19
92
23.947368
0.748538
0.098901
0
0
1
0
0.122549
0.056373
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
b100f6c7b2f24a082a4e893998333ca9d8a308fe
497
py
Python
tests/test_skater_sk_theta.py
microprediction/sklearned
beaf6c73d09a0bc13cf97edf617ce5d836e6a1a5
[ "MIT" ]
null
null
null
tests/test_skater_sk_theta.py
microprediction/sklearned
beaf6c73d09a0bc13cf97edf617ce5d836e6a1a5
[ "MIT" ]
1
2021-11-04T23:01:45.000Z
2021-11-04T23:01:45.000Z
tests/test_skater_sk_theta.py
microprediction/sklearned
beaf6c73d09a0bc13cf97edf617ce5d836e6a1a5
[ "MIT" ]
null
null
null
import os from timemachines.skaters.localskaters import local_skater_from_name from timemachines.skating import prior import numpy as np if __name__=='__main__': from timemachines.skaters.sk.skinclusion import using_sktime assert using_sktime skater_name = __file__.split(os.path.sep)[-1].replace('test_skat...
29.235294
96
0.736419
74
497
4.608108
0.527027
0.140762
0.134897
0.111437
0
0
0
0
0
0
0
0.011905
0.15493
497
16
97
31.0625
0.8
0
0
0
0
0
0.046465
0
0
0
0
0
0.153846
1
0
false
0
0.384615
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b1035b5cfd94ffb03876e8f69b36c885078c4c1f
1,502
py
Python
usaspending_api/references/management/commands/update_location_usage_flags.py
gaybro8777/usaspending-api
fe9d730acd632401bbbefa168e3d86d59560314b
[ "CC0-1.0" ]
null
null
null
usaspending_api/references/management/commands/update_location_usage_flags.py
gaybro8777/usaspending-api
fe9d730acd632401bbbefa168e3d86d59560314b
[ "CC0-1.0" ]
null
null
null
usaspending_api/references/management/commands/update_location_usage_flags.py
gaybro8777/usaspending-api
fe9d730acd632401bbbefa168e3d86d59560314b
[ "CC0-1.0" ]
null
null
null
import logging from django.core.management.base import BaseCommand from django.db.models import Q from usaspending_api.references.models import Location, LegalEntity from usaspending_api.awards.models import Award from usaspending_api.awards.models import TransactionNormalized class Command(BaseCommand): help =...
42.914286
92
0.743675
198
1,502
5.505051
0.454545
0.044037
0.077064
0.03578
0.385321
0.293578
0.227523
0.150459
0.100917
0.100917
0
0.007335
0.183089
1,502
34
93
44.176471
0.881011
0.262317
0
0
0
0
0.110909
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b10a2bd920b03ae14a397a51a5ed0c57e94c3920
707
py
Python
mundo-02/aula13-ex051.py
fabiocoutoaraujo/CursoVideoPython
7e3b6ab89cbbba79f640d12e40f3d1e8c22295cf
[ "MIT" ]
1
2020-04-18T16:39:23.000Z
2020-04-18T16:39:23.000Z
mundo-02/aula13-ex051.py
fabiocoutoaraujo/CursoVideoPython
7e3b6ab89cbbba79f640d12e40f3d1e8c22295cf
[ "MIT" ]
null
null
null
mundo-02/aula13-ex051.py
fabiocoutoaraujo/CursoVideoPython
7e3b6ab89cbbba79f640d12e40f3d1e8c22295cf
[ "MIT" ]
null
null
null
# Progressão aritimética (PA) é toda sequência númerica em que cada um de seus termos, # a partir do segundo, é igual ao anterior somado a uma CONSTANTE r, denominada razão da # progressão aritimética. Para descobrimos qual é a razão de uma PA, basta subtrairmos um # termo qualquer do seu antecessor. print('='*25) prin...
30.73913
89
0.657709
107
707
4.345794
0.504673
0.090323
0.030108
0.047312
0
0
0
0
0
0
0
0.020654
0.178218
707
22
90
32.136364
0.77969
0.414427
0
0.222222
0
0
0.203636
0
0
0
0
0
0
1
0
false
0
0
0
0
0.555556
0
0
0
null
0
0
0
0
0
0
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
b10c9e9e96ec11e7d4c4cf2ab5f511584e4a35a7
3,806
py
Python
python/scraping_facebook.py
aviezab/scrape-marketplace
e4f935fe2d9e64789bfc2d99c73f02a4eff88438
[ "MIT" ]
null
null
null
python/scraping_facebook.py
aviezab/scrape-marketplace
e4f935fe2d9e64789bfc2d99c73f02a4eff88438
[ "MIT" ]
2
2021-03-31T19:39:34.000Z
2021-12-13T20:32:49.000Z
python/scraping_facebook.py
aviezab/scrape-marketplace
e4f935fe2d9e64789bfc2d99c73f02a4eff88438
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Scrapping facebook.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1E-mqgZWvaVyJvrwWYyW_n1po9er4rbMq """ from selenium import webdriver from selenium.webdriver.common.keys import Keys import bs4 from pprint import pprin...
38.06
175
0.704677
488
3,806
5.264344
0.30123
0.027248
0.040483
0.056053
0.592448
0.592448
0.592448
0.592448
0.592448
0.592448
0
0.02459
0.134524
3,806
99
176
38.444444
0.755313
0.100631
0
0.47619
1
0
0.309768
0.079202
0
0
0
0
0
1
0.031746
false
0
0.079365
0
0.126984
0.063492
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
b10e4d1daceb016ab49103ae22e504535c7a5cf1
3,323
py
Python
tasks/001_scraping-teams/001.00_scraping-teams.py
chema-mengibar/voice-of-germany-2018-report
f128a581a5f1676fc3b17487c12d63204a5ece5d
[ "Apache-2.0" ]
2
2020-04-30T02:18:06.000Z
2020-04-30T02:18:09.000Z
tasks/001_scraping-teams/001.00_scraping-teams.py
chema-mengibar/voice-of-germany-2018-report
f128a581a5f1676fc3b17487c12d63204a5ece5d
[ "Apache-2.0" ]
null
null
null
tasks/001_scraping-teams/001.00_scraping-teams.py
chema-mengibar/voice-of-germany-2018-report
f128a581a5f1676fc3b17487c12d63204a5ece5d
[ "Apache-2.0" ]
null
null
null
import os import sys DIR_TASK = os.path.basename(os.getcwd()) DIR_LIB = os.path.abspath(os.path.join(os.path.dirname(__file__),"../")) DIR_TASK = os.path.dirname(os.path.abspath(__file__)) import json, csv, time, string, itertools, copy, yaml import numpy as np import pandas as pd import datetime as dt from selenium ...
30.768519
127
0.705688
426
3,323
5.342723
0.387324
0.018453
0.024165
0.036907
0.22232
0.150264
0.112478
0.082601
0.049209
0.049209
0
0.00587
0.128498
3,323
108
128
30.768519
0.780041
0.159194
0
0.032258
0
0
0.134844
0.013305
0
0
0
0
0
0
null
null
0
0.193548
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b11379234473b952b533899b4eca5a914e052854
3,496
py
Python
rallyrolebot/cogs/role_cog.py
Ju99ernaut/RallyRoleBot
068a66fce957c2d65fa8d121fa96abe8c7b00e2d
[ "MIT" ]
7
2020-12-15T01:54:47.000Z
2022-01-09T13:48:23.000Z
rallyrolebot/cogs/role_cog.py
Ju99ernaut/RallyRoleBot
068a66fce957c2d65fa8d121fa96abe8c7b00e2d
[ "MIT" ]
19
2020-12-05T04:02:18.000Z
2021-06-27T01:09:33.000Z
rallyrolebot/cogs/role_cog.py
Ju99ernaut/RallyRoleBot
068a66fce957c2d65fa8d121fa96abe8c7b00e2d
[ "MIT" ]
13
2020-12-12T05:38:41.000Z
2021-11-09T17:36:07.000Z
import json import sys import traceback import discord from discord.ext import commands, tasks from discord.utils import get import data import rally_api import validation import errors from cogs import update_cog from constants import * from utils import pretty_print class RoleCommands(commands.Cog): def __i...
35.313131
117
0.637586
436
3,496
4.885321
0.272936
0.046948
0.04507
0.067606
0.353991
0.353991
0.333333
0.333333
0.233803
0.214554
0
0
0.273741
3,496
98
118
35.673469
0.838913
0.046339
0
0.238095
0
0
0.167217
0.030621
0
0
0
0.010204
0
1
0.011905
false
0
0.154762
0
0.178571
0.059524
0
0
0
null
0
0
0
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