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
da48982c5d0c6163ec2e9654c124d812f977e516
14,174
py
Python
effects/card_draw.py
MrCoft/EngiMod
65c90bd9231ac388d8af7849a1835914f1eefc78
[ "MIT" ]
null
null
null
effects/card_draw.py
MrCoft/EngiMod
65c90bd9231ac388d8af7849a1835914f1eefc78
[ "MIT" ]
null
null
null
effects/card_draw.py
MrCoft/EngiMod
65c90bd9231ac388d8af7849a1835914f1eefc78
[ "MIT" ]
null
null
null
from engi_mod import * Java( path = "fruitymod.actions.ChooseCardActionBase", base = "AbstractGameAction", code = """ protected AbstractPlayer p; private String text; private boolean isDraw = false; // NOTE: to trigger events and disable on "No Draw" private boolean putsInto...
38.832877
182
0.506632
1,146
14,174
6.247819
0.22164
0.105587
0.019553
0.027933
0.382682
0.334358
0.326257
0.272346
0.25419
0.217039
0
0.003319
0.404826
14,174
364
183
38.93956
0.845424
0.0678
0
0.439628
0
0.01548
0.975286
0.243348
0
0
0
0
0
1
0
true
0
0.003096
0
0.021672
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
da49b2e919a71a34082302973c4047cd68a8918b
2,205
py
Python
data_structures.py
davecom/MazeSolvingGUI
291e0dfb146d7743ecb108413f5e7422e0719019
[ "Apache-2.0" ]
6
2020-06-26T00:45:35.000Z
2022-01-15T19:37:36.000Z
data_structures.py
davecom/MazeSolvingGUI
291e0dfb146d7743ecb108413f5e7422e0719019
[ "Apache-2.0" ]
null
null
null
data_structures.py
davecom/MazeSolvingGUI
291e0dfb146d7743ecb108413f5e7422e0719019
[ "Apache-2.0" ]
3
2021-05-03T16:48:29.000Z
2021-11-19T20:21:29.000Z
# data_structures.py # Copyright 2020 David Kopec # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
29.4
108
0.65805
307
2,205
4.625407
0.371336
0.091549
0.047887
0.03169
0.320423
0.307042
0.307042
0.307042
0.204225
0.204225
0
0.007092
0.232653
2,205
75
109
29.4
0.832151
0.303855
0
0.428571
0
0
0.00066
0
0
0
0
0
0
1
0.309524
false
0
0.047619
0.166667
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
da52f7ade412e44099bbd5c88acd3fc976745c19
1,002
py
Python
PROJ/LEVY/RN_CHF/cf_RN_KoBoL.py
mattslezak-shell/PROJ_Option_Pricing_Matlab
6105bd00ba3471802180c122fdf81e90833a91c4
[ "MIT" ]
null
null
null
PROJ/LEVY/RN_CHF/cf_RN_KoBoL.py
mattslezak-shell/PROJ_Option_Pricing_Matlab
6105bd00ba3471802180c122fdf81e90833a91c4
[ "MIT" ]
null
null
null
PROJ/LEVY/RN_CHF/cf_RN_KoBoL.py
mattslezak-shell/PROJ_Option_Pricing_Matlab
6105bd00ba3471802180c122fdf81e90833a91c4
[ "MIT" ]
1
2022-01-07T15:31:45.000Z
2022-01-07T15:31:45.000Z
# Generated with SMOP 0.41-beta try: from smop.libsmop import * except ImportError: raise ImportError('File compiled with `smop3`, please install `smop3` to run it.') from None # cf_RN_KoBoL.m @function def cf_RN_KoBoL(u=None,T=None,r=None,c=None,lam_p=None,lam_m=None,nu=None,*args,**kwargs): ...
27.833333
100
0.58483
185
1,002
2.983784
0.378378
0.07971
0.179348
0.144928
0.150362
0.09058
0.047101
0
0
0
0
0.022487
0.245509
1,002
36
101
27.833333
0.707672
0.259481
0
0
1
0
0.099138
0
0
0
0
0
0
1
0.055556
false
0.055556
0.166667
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
da5ad4fa6a5854b1d737a7b9cbf69ded01ce0a95
769
py
Python
EasyNN/optimizer/nesterov.py
danielwilczak101/EasyNN
89319e974c324dda228c6ecff7c39d723eda3ca2
[ "MIT" ]
5
2021-01-28T21:19:02.000Z
2022-02-03T05:47:47.000Z
EasyNN/optimizer/nesterov.py
danielwilczak101/EasyNN
89319e974c324dda228c6ecff7c39d723eda3ca2
[ "MIT" ]
1
2021-02-04T20:57:45.000Z
2021-03-03T14:49:44.000Z
EasyNN/optimizer/nesterov.py
danielwilczak101/EasyNN
89319e974c324dda228c6ecff7c39d723eda3ca2
[ "MIT" ]
2
2021-02-12T04:27:40.000Z
2021-12-19T20:11:20.000Z
""" TODO: Not complete. """ from __future__ import annotations from EasyNN.optimizer.momentum_descent import MomentumDescent import EasyNN.model.abc class Nesterov(MomentumDescent): """Nesterov uses parameters -= lr * momentum, where the momentum is computed by looking ahead.""" def get_derivatives(self: Nes...
36.619048
101
0.717815
87
769
6.183908
0.517241
0.078067
0.052045
0.089219
0
0
0
0
0
0
0
0.003185
0.183355
769
20
102
38.45
0.853503
0.20156
0
0
0
0
0
0
0
0
0
0.05
0
1
0.083333
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
da7627eec05c00f505b4e3736efa9cd06fb060ee
946
py
Python
app/restapi/apiMovieDetail.py
DucVinh2609/mtb_admin
0f67faabcda7b6a5bd5f30126b46a5367d00f77b
[ "MIT" ]
null
null
null
app/restapi/apiMovieDetail.py
DucVinh2609/mtb_admin
0f67faabcda7b6a5bd5f30126b46a5367d00f77b
[ "MIT" ]
4
2021-06-08T20:42:38.000Z
2022-03-12T00:07:41.000Z
app/restapi/apiMovieDetail.py
DucVinh2609/mtb_admin
0f67faabcda7b6a5bd5f30126b46a5367d00f77b
[ "MIT" ]
null
null
null
# import pymysql # from app import app # from flask import jsonify # from flask import flash, request # from flask_restful import Resource, Api # from flaskext.mysql import MySQL # mysql = MySQL() # # MySQL configurations # app.config['MYSQL_DATABASE_USER'] = 'root' # app.config['MYSQL_DATABASE_PASSWORD'] = '' # app....
36.384615
273
0.732558
127
946
5.283465
0.456693
0.053651
0.083458
0.131148
0
0
0
0
0
0
0
0.003727
0.149049
946
25
274
37.84
0.829814
0.948203
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
da776d50619a771e6d0a4ec84979dc6f33204a34
291
py
Python
wqxweblib/__main__.py
FlippingBinary/wqxweblib
129ac6d010f5fb726fe29dc9494f90f19a7ec4c0
[ "MIT" ]
null
null
null
wqxweblib/__main__.py
FlippingBinary/wqxweblib
129ac6d010f5fb726fe29dc9494f90f19a7ec4c0
[ "MIT" ]
null
null
null
wqxweblib/__main__.py
FlippingBinary/wqxweblib
129ac6d010f5fb726fe29dc9494f90f19a7ec4c0
[ "MIT" ]
null
null
null
import sys def main(argv:list): print('This module does not yet support direct execution. It should be used as a library.') print('More information is available at https://github.com/FlippingBinary/wqxweblib-python') return 0 if __name__ == "__main__": main(sys.argv[1:])
29.1
95
0.714777
43
291
4.651163
0.883721
0
0
0
0
0
0
0
0
0
0
0.008333
0.175258
291
9
96
32.333333
0.825
0
0
0
0
0
0.613475
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.285714
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
da8aea2d0e2cc438f1e2afe2e6c0015770e13ef8
6,106
py
Python
tpDcc/abstract/scene.py
tpDcc/tpDccLib
a4f77a3fdd981eac494331e429c92bd3e4a87d3b
[ "MIT" ]
6
2021-03-02T00:31:53.000Z
2021-03-30T09:02:54.000Z
tpDcc/abstract/scene.py
tpDcc/tpDccLib
a4f77a3fdd981eac494331e429c92bd3e4a87d3b
[ "MIT" ]
1
2021-03-02T08:43:34.000Z
2021-03-04T01:36:02.000Z
tpDcc/abstract/scene.py
tpDcc/tpDccLib
a4f77a3fdd981eac494331e429c92bd3e4a87d3b
[ "MIT" ]
1
2021-03-03T21:01:51.000Z
2021-03-03T21:01:51.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- """ Module that contains DCC scene abstract class implementation """ from __future__ import print_function, division, absolute_import from tpDcc import dcc from tpDcc.dcc import sceneobject from tpDcc.libs.python import python, decorators class AbstractScene(object): ...
34.891429
109
0.589912
691
6,106
5.037627
0.150507
0.037346
0.020684
0.031026
0.632577
0.555013
0.464234
0.424878
0.357656
0.335248
0
0.000218
0.250409
6,106
174
110
35.091954
0.760323
0.458238
0
0.26
0
0
0.041316
0
0
0
0
0
0
1
0.26
false
0
0.08
0
0.66
0.02
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
e5090e4da04384e2fbcd5b4f114deb2087c6f5f4
288
py
Python
postgres/scripts/test-db-connection.py
tcalmant/ldbc_snb_interactive
baf4a8150ffd0b193ba2c6d1dc7cdc3a99edeedf
[ "Apache-2.0" ]
null
null
null
postgres/scripts/test-db-connection.py
tcalmant/ldbc_snb_interactive
baf4a8150ffd0b193ba2c6d1dc7cdc3a99edeedf
[ "Apache-2.0" ]
null
null
null
postgres/scripts/test-db-connection.py
tcalmant/ldbc_snb_interactive
baf4a8150ffd0b193ba2c6d1dc7cdc3a99edeedf
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import os import psycopg2 con = psycopg2.connect( host="localhost", user=os.environ.get("POSTGRES_USER", "postgres"), password=os.environ.get("POSTGRES_PASSWORD", "mysecretpassword"), port=int(os.environ.get("POSTGRES_PORT", 5432)), ) con.close()
22.153846
69
0.704861
37
288
5.405405
0.567568
0.135
0.18
0.3
0
0
0
0
0
0
0
0.027778
0.125
288
12
70
24
0.765873
0.072917
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
false
0.111111
0.222222
0
0.222222
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
1
0
0
0
0
0
2
e50ca21b180f2193d02c55bbba259bcd1c32234b
5,292
py
Python
lonely/system.py
LonelyPale/lonely
328d0ef12b98a6d208ef8cf75e69f0cc421a0b2b
[ "Apache-2.0" ]
null
null
null
lonely/system.py
LonelyPale/lonely
328d0ef12b98a6d208ef8cf75e69f0cc421a0b2b
[ "Apache-2.0" ]
null
null
null
lonely/system.py
LonelyPale/lonely
328d0ef12b98a6d208ef8cf75e69f0cc421a0b2b
[ "Apache-2.0" ]
null
null
null
import os as _os import platform from lonely.cmd import command def lsb_release(): ret = command("cat /etc/openEuler-release", capture_output=True, print_out=False, print_err=False) if ret.returncode == 0: #print("success:", ret) if ret.stdout.lower().find("openeuler") > -1: return...
28.76087
104
0.493386
647
5,292
3.876352
0.185471
0.055821
0.052632
0.031898
0.665869
0.665869
0.665869
0.654306
0.63756
0.63756
0
0.022194
0.395503
5,292
183
105
28.918033
0.761801
0.022298
0
0.714286
0
0
0.06273
0.004259
0
0
0
0.005464
0
1
0.025974
false
0
0.019481
0
0.12987
0.019481
0
0
0
null
0
0
0
0
0
0
0
0
1
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
2
e50f03b5ad643f99fc6faba88c3fc2cee5a3768e
473
py
Python
mayan/apps/quotas/icons.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
2
2021-09-12T19:41:19.000Z
2021-09-12T19:41:20.000Z
mayan/apps/quotas/icons.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
37
2021-09-13T01:00:12.000Z
2021-10-02T03:54:30.000Z
mayan/apps/quotas/icons.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
1
2021-09-22T13:17:30.000Z
2021-09-22T13:17:30.000Z
from mayan.apps.appearance.classes import Icon icon_quota_create = Icon( driver_name='fontawesome-dual', primary_symbol='tachometer-alt', secondary_symbol='plus' ) icon_quota_delete = Icon(driver_name='fontawesome', symbol='times') icon_quota_edit = Icon(driver_name='fontawesome', symbol='pencil-alt') ...
43
76
0.77167
61
473
5.704918
0.409836
0.12931
0.201149
0.359195
0.431034
0.252874
0.252874
0
0
0
0
0
0.097252
473
10
77
47.3
0.814988
0
0
0
0
0
0.261339
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
1
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
2
e5115a401bd8efaf8cc688760dfac54cb7c36ec4
2,613
py
Python
tests/unit/sagemaker/cli/compatibility/v2/modifiers/test_shuffle_config.py
LastRemote/sagemaker-python-sdk
fddf29d9e4383cd3f939253eef47ee79a464dd37
[ "Apache-2.0" ]
1,690
2017-11-29T20:13:37.000Z
2022-03-31T12:58:11.000Z
tests/unit/sagemaker/cli/compatibility/v2/modifiers/test_shuffle_config.py
LastRemote/sagemaker-python-sdk
fddf29d9e4383cd3f939253eef47ee79a464dd37
[ "Apache-2.0" ]
2,762
2017-12-04T05:18:03.000Z
2022-03-31T23:40:11.000Z
tests/unit/sagemaker/cli/compatibility/v2/modifiers/test_shuffle_config.py
LastRemote/sagemaker-python-sdk
fddf29d9e4383cd3f939253eef47ee79a464dd37
[ "Apache-2.0" ]
961
2017-11-30T16:44:03.000Z
2022-03-30T23:12:09.000Z
# Copyright Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompan...
34.84
98
0.778416
323
2,613
6.071207
0.321981
0.053034
0.048955
0.081591
0.466599
0.395207
0.395207
0.298317
0.298317
0.229985
0
0.002686
0.145044
2,613
74
99
35.310811
0.875112
0.204746
0
0.380952
0
0
0.125424
0.030993
0
0
0
0
0.142857
1
0.190476
false
0
0.357143
0.047619
0.595238
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
e513cf10b1e10610d52f4966327c7e9e04459ede
385
py
Python
titanic/migrations/0002_passenger_name.py
azharmunir43/insightish
28c13b87ca1678c27de902b9633af4804d4e77cc
[ "Apache-2.0" ]
null
null
null
titanic/migrations/0002_passenger_name.py
azharmunir43/insightish
28c13b87ca1678c27de902b9633af4804d4e77cc
[ "Apache-2.0" ]
null
null
null
titanic/migrations/0002_passenger_name.py
azharmunir43/insightish
28c13b87ca1678c27de902b9633af4804d4e77cc
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0 on 2018-03-07 12:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('titanic', '0001_initial'), ] operations = [ migrations.AddField( model_name='passenger', name='name', fiel...
20.263158
63
0.587013
40
385
5.575
0.8
0
0
0
0
0
0
0
0
0
0
0.076923
0.290909
385
18
64
21.388889
0.739927
0.111688
0
0
1
0
0.094118
0
0
0
0
0
0
1
0
false
0.083333
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
1
0
0
0
0
0
2
e516cc75de61891aa46b50bf8464eedef233e194
148
py
Python
beerlists/__init__.py
dmofot/beerlists
deb2ab2416b63a8cb9fe9115b6650fdaa7ba36ca
[ "MIT" ]
null
null
null
beerlists/__init__.py
dmofot/beerlists
deb2ab2416b63a8cb9fe9115b6650fdaa7ba36ca
[ "MIT" ]
2
2017-06-21T17:33:24.000Z
2021-11-15T17:46:49.000Z
beerlists/__init__.py
dmofot/beerlists
deb2ab2416b63a8cb9fe9115b6650fdaa7ba36ca
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Top-level package for beerlists.""" __author__ = """David Todd""" __email__ = 'dmofot@gmail.com' __version__ = '0.9.0'
18.5
38
0.628378
19
148
4.263158
0.947368
0
0
0
0
0
0
0
0
0
0
0.031496
0.141892
148
7
39
21.142857
0.606299
0.371622
0
0
0
0
0.356322
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
e51832dae171e962185a92eae9c69298fd915ba4
545
py
Python
BufferOverflow3/p1.py
Mitsububunu/picoCTF_Code
69bc2fda655f68d619d559d8ebcac3f3002e1e9b
[ "MIT" ]
null
null
null
BufferOverflow3/p1.py
Mitsububunu/picoCTF_Code
69bc2fda655f68d619d559d8ebcac3f3002e1e9b
[ "MIT" ]
null
null
null
BufferOverflow3/p1.py
Mitsububunu/picoCTF_Code
69bc2fda655f68d619d559d8ebcac3f3002e1e9b
[ "MIT" ]
null
null
null
#!/usr/bin/env python from pwn import * debug = 0 user = 'mitsububunu' pw = 'password' if debug: p = process('./vuln') else: s = ssh(host = '2018shell.picoctf.com', user=user, password=pw) s.set_working_directory('/problems/buffer-overflow-3_1_2e6726e5326a80f8f5a9c350284e6c7f') p = s.process('./vuln') bin...
20.961538
105
0.695413
69
545
5.434783
0.681159
0.048
0.08
0.085333
0.128
0
0
0
0
0
0
0.073222
0.122936
545
26
106
20.961538
0.711297
0.036697
0
0.117647
0
0
0.342857
0.219048
0
0
0
0
0
0
null
null
0.117647
0.058824
null
null
0.176471
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
e51be0d0735b03c3a1c680ed0f0bc082a49173dd
241
py
Python
dictionary.py
Zackyy1/ehitusepood
130157f36be81523e65879e7fc08940c55a4dfa7
[ "MIT" ]
null
null
null
dictionary.py
Zackyy1/ehitusepood
130157f36be81523e65879e7fc08940c55a4dfa7
[ "MIT" ]
null
null
null
dictionary.py
Zackyy1/ehitusepood
130157f36be81523e65879e7fc08940c55a4dfa7
[ "MIT" ]
null
null
null
texts = { "browse":"🗂️ Browse categories", "orders":"📥 My orders", "cart":"🛒 My cart", "settings":"⚙ Settings", "contact":"📞 Contact us", "home":"🏠 Home", "contact1":"{Store_name} - {store_phone}", }
20.083333
47
0.497925
28
241
4.464286
0.714286
0
0
0
0
0
0
0
0
0
0
0.00565
0.26556
241
12
48
20.083333
0.661017
0
0
0
0
0
0.601732
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e51e619a4db0befa87c8923ad6fae00488c53cd0
3,006
py
Python
src/nucleotide/component/windows/translator.py
dmilos/nucleotide
aad5d60508c9e4baf4888069284f2cb5c9fd7c55
[ "Apache-2.0" ]
1
2020-09-04T13:00:04.000Z
2020-09-04T13:00:04.000Z
src/nucleotide/component/windows/translator.py
dmilos/nucleotide
aad5d60508c9e4baf4888069284f2cb5c9fd7c55
[ "Apache-2.0" ]
1
2020-04-10T01:52:32.000Z
2020-04-10T09:11:29.000Z
src/nucleotide/component/windows/translator.py
dmilos/nucleotide
aad5d60508c9e4baf4888069284f2cb5c9fd7c55
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 # Copyright 2015 Dejan D. M. Milosavljevic # # 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 # # ...
33.4
91
0.664338
339
3,006
5.784661
0.306785
0.174401
0.225395
0.146864
0.556859
0.302397
0.114227
0.114227
0.062213
0.062213
0
0.003935
0.239188
3,006
89
92
33.775281
0.85352
0.236194
0
0.269231
0
0
0.030151
0
0
0
0
0
0
1
0.096154
false
0.019231
0.269231
0.019231
0.519231
0.019231
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
1
0
0
2
e524ba293266362fb0efb791ef7088c82a4d7dd1
1,091
py
Python
asana/resources/custom_field_settings.py
FiyaFly/python-asana
ef9e6ff3e82e9f1ca18d526401f524698c7215c7
[ "MIT" ]
266
2015-02-13T18:14:08.000Z
2022-03-29T22:03:33.000Z
asana/resources/custom_field_settings.py
FiyaFly/python-asana
ef9e6ff3e82e9f1ca18d526401f524698c7215c7
[ "MIT" ]
77
2015-02-13T00:22:11.000Z
2022-02-20T07:56:14.000Z
asana/resources/custom_field_settings.py
FiyaFly/python-asana
ef9e6ff3e82e9f1ca18d526401f524698c7215c7
[ "MIT" ]
95
2015-03-18T23:28:57.000Z
2022-02-20T23:28:58.000Z
from .gen.custom_field_settings import _CustomFieldSettings class CustomFieldSettings(_CustomFieldSettings): """Custom Field Settings resource""" def find_by_project(self, project, params={}, **options): """Returns a list of all of the custom fields settings on a project. Parameters -...
40.407407
89
0.653529
128
1,091
5.460938
0.320313
0.094421
0.16309
0.060086
0.540773
0.503577
0.503577
0.503577
0.37196
0.37196
0
0
0.237397
1,091
26
90
41.961538
0.840144
0.425298
0
0.25
0
0
0.132576
0.132576
0
0
0
0
0
1
0.25
false
0
0.125
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e526d02ced91a04d460abfc609eec486e2c0557a
3,790
py
Python
falcon/request_helpers.py
elishacook/falcon
0a9431ff2fbd60329532c726744a842b7caeeaf9
[ "Apache-2.0" ]
1
2020-07-11T14:38:32.000Z
2020-07-11T14:38:32.000Z
falcon/request_helpers.py
elishacook/falcon
0a9431ff2fbd60329532c726744a842b7caeeaf9
[ "Apache-2.0" ]
null
null
null
falcon/request_helpers.py
elishacook/falcon
0a9431ff2fbd60329532c726744a842b7caeeaf9
[ "Apache-2.0" ]
null
null
null
# Copyright 2013 by Rackspace Hosting, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
28.931298
75
0.632718
506
3,790
4.66996
0.389328
0.046551
0.03851
0.035971
0.174778
0.174778
0.162928
0.162928
0.162928
0.162928
0
0.003757
0.297625
3,790
130
76
29.153846
0.883922
0.656728
0
0
0
0
0
0
0
0
0
0
0
1
0.346154
false
0
0
0.076923
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
1
0
0
0
0
1
0
0
2
e531bfa00c295cacf19737b9ff6143ce8070896d
149
py
Python
Python/desafios/d12.py
prazerfelipe/Python
b1f4c768b1823d34898935bbd037ae43711c79e1
[ "MIT" ]
null
null
null
Python/desafios/d12.py
prazerfelipe/Python
b1f4c768b1823d34898935bbd037ae43711c79e1
[ "MIT" ]
null
null
null
Python/desafios/d12.py
prazerfelipe/Python
b1f4c768b1823d34898935bbd037ae43711c79e1
[ "MIT" ]
null
null
null
p = float(input('Digite o preço do produto')) d = p - (p* 5/100) print ('o preço do produto é {:.2f} e com 5% de desconto fica {:.2f}'.format(p,d))
29.8
82
0.610738
30
149
3.033333
0.666667
0.131868
0.175824
0.32967
0
0
0
0
0
0
0
0.057851
0.187919
149
5
82
29.8
0.694215
0
0
0
0
0
0.566667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
1
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
2
e54424cb8a2e93ad7659fa0e0f3c23ae851505b8
5,458
py
Python
armada/tests/unit/utils/test_lint.py
sktelecom-oslab/armada
ebc71ff8eca7ecf0560493d5cdafc14e34c783c9
[ "Apache-2.0" ]
null
null
null
armada/tests/unit/utils/test_lint.py
sktelecom-oslab/armada
ebc71ff8eca7ecf0560493d5cdafc14e34c783c9
[ "Apache-2.0" ]
null
null
null
armada/tests/unit/utils/test_lint.py
sktelecom-oslab/armada
ebc71ff8eca7ecf0560493d5cdafc14e34c783c9
[ "Apache-2.0" ]
2
2018-05-28T13:00:42.000Z
2021-09-02T07:28:59.000Z
# Copyright 2017 The Armada Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
32.295858
74
0.622206
581
5,458
5.641997
0.253012
0.073215
0.033557
0.04881
0.733069
0.702563
0.688225
0.630262
0.599756
0.552166
0
0.007339
0.301026
5,458
168
75
32.488095
0.8519
0.101869
0
0.721429
0
0
0.485065
0.036007
0
0
0
0
0.085714
1
0.078571
false
0.028571
0.028571
0
0.114286
0
0
0
0
null
0
0
0
0
1
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
2
e55fd1183bbea7baae5e8cb8798441212de67d2a
286
py
Python
rxbp/indexed/init/initindexedflowable.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
24
2018-11-22T21:04:49.000Z
2021-11-08T11:18:09.000Z
rxbp/indexed/init/initindexedflowable.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2019-02-06T15:58:46.000Z
2019-02-12T20:31:50.000Z
rxbp/indexed/init/initindexedflowable.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2021-01-26T12:41:37.000Z
2021-01-26T12:41:37.000Z
from rxbp.indexed.impl.indexedflowableimpl import IndexedFlowableImpl from rxbp.indexed.mixins.indexedflowablemixin import IndexedFlowableMixin def init_indexed_flowable( underlying: IndexedFlowableMixin, ): return IndexedFlowableImpl( underlying=underlying )
26
73
0.800699
24
286
9.458333
0.541667
0.070485
0.132159
0
0
0
0
0
0
0
0
0
0.15035
286
10
74
28.6
0.934156
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
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
1
0
0
0
2
e566b297876dff7f7531c8e89abb6a0cb5ac2b19
3,589
py
Python
shogun/records/generic.py
menpo/shogun
013baff88cb495e8f4314826865ec7e332859636
[ "MIT", "BSD-3-Clause" ]
1
2020-11-26T21:04:20.000Z
2020-11-26T21:04:20.000Z
shogun/records/generic.py
menpo/shogun
013baff88cb495e8f4314826865ec7e332859636
[ "MIT", "BSD-3-Clause" ]
null
null
null
shogun/records/generic.py
menpo/shogun
013baff88cb495e8f4314826865ec7e332859636
[ "MIT", "BSD-3-Clause" ]
null
null
null
import inspect from abc import ABCMeta, abstractmethod from typing import Any, Generic, List, Mapping, Optional, Type, TypeVar from .error import NotARecordClass T = TypeVar("T") FieldType = TypeVar("FieldType") class DatargsParams: def __init__(self, parser: Optional[Mapping[str, Any]] = None): self.pa...
26.783582
113
0.633881
403
3,589
5.439206
0.272953
0.050182
0.059307
0.06615
0.060219
0.032847
0
0
0
0
0
0
0.275007
3,589
133
114
26.984962
0.842429
0.169964
0
0.371795
0
0
0.085327
0.017851
0
0
0
0
0
1
0.230769
false
0.089744
0.051282
0.038462
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
1
0
1
0
0
0
0
0
2
e569cd589ab6a45a901427f44fecdf26b339de4e
3,725
py
Python
applications/AdminSItes/controllers/sites.py
pigaov10/prodam.site.admin
9105c092a76fb7158085a08cd4d30d99b6e02ba9
[ "BSD-3-Clause" ]
null
null
null
applications/AdminSItes/controllers/sites.py
pigaov10/prodam.site.admin
9105c092a76fb7158085a08cd4d30d99b6e02ba9
[ "BSD-3-Clause" ]
null
null
null
applications/AdminSItes/controllers/sites.py
pigaov10/prodam.site.admin
9105c092a76fb7158085a08cd4d30d99b6e02ba9
[ "BSD-3-Clause" ]
null
null
null
### SITE PLONE import os, sys import xml.etree.cElementTree as tree_element_first @auth.requires_membership('admin') def add(): """ MÉTODO RESPONSÁVEL POR GERAR O SKELETON DE UM SITE PLONE @dir /sites/prodam.gerenciador.<project_name>/src/prodam/gerenciador/<project_name>/ """ if request.post_vars.site: site =...
27.389706
88
0.682953
506
3,725
4.922925
0.284585
0.028904
0.038539
0.03613
0.242473
0.196708
0.143717
0.082698
0.082698
0.082698
0
0.016537
0.172081
3,725
136
89
27.389706
0.79118
0.074899
0
0.223529
0
0
0.167712
0.030703
0
0
0
0.036765
0
0
null
null
0
0.023529
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
1
0
1
0
0
0
0
0
0
0
0
2
e56d517d2e7a6f8ec101aff647f99c75f46d671c
8,765
py
Python
VPR_Techniques/HybridNet.py
oravus/VPR-Bench
80ff8d1f18e3cd102af94b96b6fe9bd0041257cc
[ "MIT" ]
30
2021-04-24T12:25:50.000Z
2022-03-23T05:28:19.000Z
VPR_Techniques/HybridNet.py
UQEKV/VPR-Bench
5b3c6170a1c3f6137aba371468302efd612de66d
[ "MIT" ]
5
2021-06-28T00:48:24.000Z
2022-03-04T16:05:57.000Z
VPR_Techniques/HybridNet.py
UQEKV/VPR-Bench
5b3c6170a1c3f6137aba371468302efd612de66d
[ "MIT" ]
7
2021-04-16T06:46:05.000Z
2022-03-23T05:28:09.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Mar 5 15:34:18 2020 @author: mubariz """ import caffe import numpy as np import os def compute_map_features(ref_map): mean_npy = np.load(str(os.path.abspath(os.curdir))+'/VPR_Techniques/HybridNet/hybridnet_mean.npy') print('Mean Array Shape:'...
50.66474
189
0.610496
1,382
8,765
3.664978
0.10275
0.174531
0.153998
0.100691
0.835341
0.807305
0.546101
0.279171
0.226654
0.226654
0
0.073255
0.236851
8,765
172
190
50.959302
0.683959
0.074843
0
0.224138
0
0
0.051485
0.032426
0
0
0
0
0
1
0.025862
false
0
0.025862
0
0.077586
0.043103
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e57010f041e3598f7f9d0eae8d7344c471cefd8d
847
py
Python
topic_modeling.py
francescoferretto/Investigating-relationships-between-Twitter-latent-topics-and-political-orientation
c6f1ff05ac8960885f26a153d7c0c8ecf1364a6a
[ "MIT" ]
null
null
null
topic_modeling.py
francescoferretto/Investigating-relationships-between-Twitter-latent-topics-and-political-orientation
c6f1ff05ac8960885f26a153d7c0c8ecf1364a6a
[ "MIT" ]
null
null
null
topic_modeling.py
francescoferretto/Investigating-relationships-between-Twitter-latent-topics-and-political-orientation
c6f1ff05ac8960885f26a153d7c0c8ecf1364a6a
[ "MIT" ]
null
null
null
import csv import sys import json import pandas as pd import os import logging # Configure the path os.chdir('/home/emi/unipd/Sartori_CBSD/project/cbsdproject') accounts = pd.read_excel('LabelledAccounts.xlsx', skiprows=1) import operator import collections def get_party_label(votes, porcentage=0.75): porce...
26.46875
82
0.744982
123
847
5.03252
0.577236
0.072698
0.042003
0.051696
0.084006
0.084006
0
0
0
0
0
0.015449
0.159386
847
31
83
27.322581
0.853933
0.237308
0
0
0
0
0.177847
0.154446
0
0
0
0
0
1
0.047619
false
0
0.380952
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
e572bb9c99a87131d6b55a9f4ae160708893aa34
808
py
Python
ch03/question_5.py
dhrey112/IntroToPython_Deitel
7ecbff931d05c467ad64da0bd829f79fedf729ba
[ "MIT" ]
null
null
null
ch03/question_5.py
dhrey112/IntroToPython_Deitel
7ecbff931d05c467ad64da0bd829f79fedf729ba
[ "MIT" ]
null
null
null
ch03/question_5.py
dhrey112/IntroToPython_Deitel
7ecbff931d05c467ad64da0bd829f79fedf729ba
[ "MIT" ]
null
null
null
# TODO: 5 (if…else Statements) Reimplement the script of Fig2.1. using three # if…else statements rather than six if statements. [Hint: For example, # think of == and != as “opposite” tests.] print('Enter two integers and I will tell you', 'the relationships they satisfy.') # read first integer number1 = int...
27.862069
76
0.690594
118
808
4.779661
0.432203
0.12766
0.148936
0.111702
0.441489
0.409574
0.356383
0.159574
0.159574
0
0
0.035222
0.191832
808
28
77
28.857143
0.819296
0.279703
0
0.1875
0
0
0.375
0
0
0
0
0.035714
0
1
0
false
0
0
0
0
0.4375
0
0
0
null
0
0
0
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
1
0
2
e589291903c062b835adf5adc75c3f7669bcca6a
723
py
Python
dataset.py
chengsen/Pytorch_model_train_template
7da63210ac4015df74baef0205776abe9dc2b5d8
[ "MIT" ]
null
null
null
dataset.py
chengsen/Pytorch_model_train_template
7da63210ac4015df74baef0205776abe9dc2b5d8
[ "MIT" ]
null
null
null
dataset.py
chengsen/Pytorch_model_train_template
7da63210ac4015df74baef0205776abe9dc2b5d8
[ "MIT" ]
null
null
null
from torch.utils.data import DataLoader, Dataset __build__ = 2018 __author__ = "singsam_jam@126.com" def get_loader(args, kwargs): train_loader = DataLoader(dataset=ModelDataset, batch_size=args.test_batch_size, collate_fn=collate_fn, shuffle=True, **kwargs) test_loader = DataLo...
25.821429
121
0.672199
84
723
5.345238
0.488095
0.100223
0.10245
0.155902
0.383074
0.383074
0.383074
0.383074
0.383074
0.383074
0
0.012844
0.246196
723
27
122
26.777778
0.811009
0
0
0.210526
0
0
0.026279
0
0
0
0
0
0
1
0.263158
false
0.105263
0.052632
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
e59b01a27430e94ec873e872b409079f3cbd1265
781
py
Python
rznotifier/migrations/0004_auto_20160619_1004.py
rskokan/robozebra
907ef76b00bef7208078a6ec08260212b2f9aa20
[ "Apache-2.0" ]
null
null
null
rznotifier/migrations/0004_auto_20160619_1004.py
rskokan/robozebra
907ef76b00bef7208078a6ec08260212b2f9aa20
[ "Apache-2.0" ]
null
null
null
rznotifier/migrations/0004_auto_20160619_1004.py
rskokan/robozebra
907ef76b00bef7208078a6ec08260212b2f9aa20
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-19 08:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rznotifier', '0003_loan_notified'), ] operations = [ migrations.AlterField( ...
25.193548
61
0.582586
78
781
5.653846
0.628205
0.136054
0.170068
0.197279
0.287982
0.287982
0.204082
0.204082
0
0
0
0.040293
0.300896
781
30
62
26.033333
0.767399
0.085787
0
0.391304
1
0
0.106892
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e5ae60de2c631682842c6e19a0b866b268ecc7f0
203
py
Python
learning_python/ex19.py
wcsten/Python-exercises-
cd025b37fa37d847d8ce4f3aff4be6f7b0b5d487
[ "MIT" ]
null
null
null
learning_python/ex19.py
wcsten/Python-exercises-
cd025b37fa37d847d8ce4f3aff4be6f7b0b5d487
[ "MIT" ]
null
null
null
learning_python/ex19.py
wcsten/Python-exercises-
cd025b37fa37d847d8ce4f3aff4be6f7b0b5d487
[ "MIT" ]
null
null
null
# Ler dois valores (considere que não serão lidos valores iguais) e escrever o maior deles. n1 = float(input('Numero 1:')) n2 = float(input('Numero 2: ')) if n1 > n2: print(n1) else: print(n2)
20.3
91
0.660099
33
203
4.060606
0.727273
0.149254
0.238806
0
0
0
0
0
0
0
0
0.049689
0.206897
203
9
92
22.555556
0.782609
0.438424
0
0
0
0
0.169643
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
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
2
e5b95944808ec9a85548a9ce892ca8f3e8424bc3
751
py
Python
spammer.py
Potatosil/Pyhton-Discord-Spam-Bot
7d3f12ae4e9c9933754be484ec2755c22ca079d1
[ "CC0-1.0" ]
2
2021-11-27T15:54:27.000Z
2022-01-14T11:21:51.000Z
spammer.py
Potatosil/Python-Discord-Spam-Bot
7d3f12ae4e9c9933754be484ec2755c22ca079d1
[ "CC0-1.0" ]
null
null
null
spammer.py
Potatosil/Python-Discord-Spam-Bot
7d3f12ae4e9c9933754be484ec2755c22ca079d1
[ "CC0-1.0" ]
null
null
null
import pyautogui, time from time import sleep spamnum = int(input(f"Input Number: ")) spamtext = input(f"What is the Message u want to send?: ") time = 0 while time != 10: time += 1 sleep(1) print("spammer waitinig.." + str(time)) def spam (msg, maxMsg): count = 0 while count != maxMsg: count +...
25.033333
228
0.6498
111
751
4.396396
0.432432
0.245902
0.258197
0.086066
0
0
0
0
0
0
0
0.030303
0.209055
751
29
229
25.896552
0.791246
0
0
0.090909
0
0
0.131579
0
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.136364
0.090909
0
0
0
null
1
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
2
e5bfc9b67168b7368cc1fe061546a71eda82eb03
242
py
Python
zeroshot_topics/utils.py
charyeezy/zeroshot_topics
c77b12fcd82b87703eb6e92d6eac6d741c4de59f
[ "Apache-2.0", "MIT" ]
49
2021-11-21T08:33:05.000Z
2022-03-11T22:47:00.000Z
zeroshot_topics/utils.py
charyeezy/zeroshot_topics
c77b12fcd82b87703eb6e92d6eac6d741c4de59f
[ "Apache-2.0", "MIT" ]
4
2021-11-22T13:54:44.000Z
2022-01-07T19:43:08.000Z
zeroshot_topics/utils.py
charyeezy/zeroshot_topics
c77b12fcd82b87703eb6e92d6eac6d741c4de59f
[ "Apache-2.0", "MIT" ]
4
2021-11-22T18:39:45.000Z
2022-02-24T05:11:56.000Z
from functools import lru_cache from transformers import pipeline @lru_cache def load_zeroshot_model(model_name="valhalla/distilbart-mnli-12-6"): classifier = pipeline("zero-shot-classification", model=model_name) return classifier
26.888889
71
0.805785
32
242
5.90625
0.6875
0.084656
0.148148
0
0
0
0
0
0
0
0
0.013953
0.11157
242
8
72
30.25
0.865116
0
0
0
0
0
0.219008
0.219008
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
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
1
0
0
0
0
2
e5d49c1e85942ea8815872335e92c377df02dcdd
553
py
Python
fosspay/database.py
shleeable/fosspay
05aae16454463c0cd0211b4d706475837f2f007d
[ "MIT" ]
4
2020-06-01T07:09:38.000Z
2021-04-25T21:27:10.000Z
fosspay/database.py
shleeable/fosspay
05aae16454463c0cd0211b4d706475837f2f007d
[ "MIT" ]
3
2020-04-19T07:18:41.000Z
2020-10-15T21:11:12.000Z
fosspay/database.py
shleeable/fosspay
05aae16454463c0cd0211b4d706475837f2f007d
[ "MIT" ]
1
2021-02-28T08:26:28.000Z
2021-02-28T08:26:28.000Z
# import sqlite3 from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy.ext.declarative import declarative_base from .config import _cfg, _cfgi # engine = create_engine(_cfg('connection-string'), module=sqlite3.dbapi2) engine = create_engine(_cfg('connection-strin...
29.105263
81
0.797468
71
553
6.014085
0.464789
0.098361
0.117096
0.098361
0.173302
0.173302
0
0
0
0
0
0.006061
0.104882
553
18
82
30.722222
0.856566
0.157324
0
0
0
0
0.036717
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
e5d751700fbfc083b181f629d2da2225fc4505cb
9,593
py
Python
nessmado_discord_manager.py
subaru3535/discordpy-startup
94c700f6af590c56f05708a3556198c20f9ee9e4
[ "MIT" ]
null
null
null
nessmado_discord_manager.py
subaru3535/discordpy-startup
94c700f6af590c56f05708a3556198c20f9ee9e4
[ "MIT" ]
null
null
null
nessmado_discord_manager.py
subaru3535/discordpy-startup
94c700f6af590c56f05708a3556198c20f9ee9e4
[ "MIT" ]
null
null
null
# スクリプト名:nessmado_function.py # バージョン:5.01 # 作成日:2019/03/xx # 最終更新日:2019/10/14 # 作成者:(へっへ) # スクリプト概要: # |キャラ対策チャンネル(大元)に「質問」から始まるメッセージを投稿すると、 # |各キャラ別の対策チャンネルに文言をコピーした上で、 # |大元のキャラ対策チャンネルと雑談チャンネルに周知メッセージを送る。 """更新履歴 2019/03/xx ver 3.0?覚えてない。 オブジェクト指向に沿ってクラス化。 2019/07/31 Ver 5.0 勇者追加。 2019/10/14 Ver ...
40.306723
125
0.533618
1,145
9,593
4.393013
0.233188
0.248708
0.20338
0.158648
0.46004
0.443539
0.413121
0.139364
0.090855
0.090855
0
0.008361
0.351715
9,593
237
126
40.476793
0.799003
0.099969
0
0.27957
0
0
0.099247
0
0
0
0
0
0
1
0.026882
false
0
0.021505
0
0.322581
0
0
0
0
null
1
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
2
e5e3335794c38081b262ad2769536aeb3e3e96ca
471
py
Python
access/website_tests/make_profile.py
ldbiz/ukwa-services
afa30cf631a3464e53f41244b989e32984c40294
[ "Apache-2.0" ]
2
2020-05-12T18:01:21.000Z
2021-05-18T21:47:32.000Z
access/website_tests/make_profile.py
ldbiz/ukwa-services
afa30cf631a3464e53f41244b989e32984c40294
[ "Apache-2.0" ]
53
2020-01-23T16:10:53.000Z
2022-03-30T16:59:17.000Z
access/website_tests/make_profile.py
ldbiz/ukwa-services
afa30cf631a3464e53f41244b989e32984c40294
[ "Apache-2.0" ]
5
2020-01-20T17:28:27.000Z
2022-02-08T21:30:12.000Z
def make_profile(): from selenium import webdriver fp = webdriver.FirefoxProfile() fp.set_preference("network.proxy.http", "pywb"); fp.set_preference("network.proxy.http_port", 8080); fp.set_preference("network.proxy.share_proxy_settings", True); fp.set_preference("network.proxy.ssl", "pywb"); ...
33.642857
66
0.713376
62
471
5.225806
0.435484
0.092593
0.277778
0.407407
0.617284
0.617284
0.216049
0
0
0
0
0.022222
0.140127
471
13
67
36.230769
0.777778
0
0
0
0
0
0.297872
0.168085
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.272727
0
0
0
0
null
0
1
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
2
e5e4d509b89cb0862f92845dd6ce191e2a31dfb4
187
py
Python
scrapy_cookies/signals.py
scrapedia/scrapy-cookies
9741c767005254f5c427d3938ccad9ad74f93c2a
[ "BSD-3-Clause" ]
13
2019-05-29T03:31:58.000Z
2021-09-30T14:53:45.000Z
scrapy_cookies/signals.py
scrapedia/scrapy-cookies
9741c767005254f5c427d3938ccad9ad74f93c2a
[ "BSD-3-Clause" ]
18
2019-06-02T12:43:05.000Z
2022-03-08T01:07:21.000Z
scrapy_cookies/signals.py
scrapedia/scrapy-cookies
9741c767005254f5c427d3938ccad9ad74f93c2a
[ "BSD-3-Clause" ]
11
2019-08-14T12:06:38.000Z
2021-08-13T00:24:35.000Z
""" Scrapy-Cookies signals These signals are documented in docs/topics/signals.rst. Please don't add new signals here without documenting them there. """ cookies_invalidated = object()
20.777778
77
0.780749
26
187
5.576923
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.13369
187
8
78
23.375
0.895062
0.780749
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
e5e672aa538e6785d26c19832f02db4cd318b24e
471
py
Python
CSE-6239-assignment-1/code/sobel.py
shahidul56/computer-vision-resource
fd9f2a328e015bc0bf083578496e980681204614
[ "MIT" ]
null
null
null
CSE-6239-assignment-1/code/sobel.py
shahidul56/computer-vision-resource
fd9f2a328e015bc0bf083578496e980681204614
[ "MIT" ]
null
null
null
CSE-6239-assignment-1/code/sobel.py
shahidul56/computer-vision-resource
fd9f2a328e015bc0bf083578496e980681204614
[ "MIT" ]
null
null
null
# Some imports from matplotlib import pyplot as plt import cv2 # for display from skimage import data # for loading example data from skimage.color import rgb2gray # for converting to grayscale # Load image, convert to grayscale and show it image = rgb2gray(data.astronaut()) def draw_image_histogram(ima...
29.4375
66
0.704883
67
471
4.925373
0.58209
0.066667
0
0
0
0
0
0
0
0
0
0.039578
0.195329
471
15
67
31.4
0.831135
0.259023
0
0
0
0
0.003049
0
0
0
0
0
0
1
0.111111
false
0
0.444444
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
1
0
0
2
e5f747a9d4b2a20c7688e823ef456d609f3c3b3d
497
py
Python
scripts/MongoDash/callbacks/empty_graph.py
RodrigoNaves/ginan-bitbucket-update-tests
4bd5cc0a9dd0e94b1c2d8b35385e128404009b0c
[ "Apache-2.0" ]
73
2021-07-08T23:35:08.000Z
2022-03-31T15:17:58.000Z
scripts/MongoDash/callbacks/empty_graph.py
RodrigoNaves/ginan-bitbucket-update-tests
4bd5cc0a9dd0e94b1c2d8b35385e128404009b0c
[ "Apache-2.0" ]
5
2021-09-27T14:27:32.000Z
2022-03-21T23:50:02.000Z
scripts/MongoDash/callbacks/empty_graph.py
RodrigoNaves/ginan-bitbucket-update-tests
4bd5cc0a9dd0e94b1c2d8b35385e128404009b0c
[ "Apache-2.0" ]
39
2021-07-12T05:42:51.000Z
2022-03-31T15:15:34.000Z
import pdb def get_empty_graph(message): emptiness = { "layout": { "xaxis": { "visible": False }, "yaxis": { "visible": False }, "annotations": [ { "text": message, "xref": "paper", "yref"...
18.407407
35
0.325956
29
497
5.517241
0.793103
0.15
0
0
0
0
0
0
0
0
0
0.00885
0.545272
497
26
36
19.115385
0.699115
0
0
0.083333
0
0
0.161616
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e5fc1a53ac1718e28efd430f3370ee09b0452d38
5,441
py
Python
last_screen_tinkinter.py
cfrenkel/Songo
160c91ce8f191b94519437656a219d86dcd77f63
[ "MIT" ]
3
2019-02-07T12:25:21.000Z
2019-02-07T12:26:35.000Z
last_screen_tinkinter.py
cfrenkel/Songo
160c91ce8f191b94519437656a219d86dcd77f63
[ "MIT" ]
null
null
null
last_screen_tinkinter.py
cfrenkel/Songo
160c91ce8f191b94519437656a219d86dcd77f63
[ "MIT" ]
null
null
null
# import ctypes # # from PIL import ImageTk, Image # import cv2 # import tkinter as tk # import music_control # import speed_detection # import threading # # class MainWindow(tk.Frame): # def __init__(self, master=None): # super().__init__(master) # self.newMaster = master # self.master = ma...
27.760204
123
0.574343
674
5,441
4.510386
0.238872
0.010526
0.013816
0.015789
0.635197
0.597697
0.590132
0.573026
0.544408
0.544408
0
0.053227
0.285242
5,441
195
124
27.902564
0.728465
0.667341
0
0.851064
0
0.021277
0.083732
0.042464
0
0
0
0
0
1
0.042553
false
0
0.361702
0
0.446809
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
1
0
0
0
0
2
f91c199f67de38b80403807227afe0c66d3dfdc3
636
py
Python
cache/key.py
inktrap/async-cache
ebf289bdcd468e41638880c9b4fdabca858ae20b
[ "MIT" ]
31
2020-04-27T13:15:00.000Z
2022-03-11T07:44:30.000Z
cache/key.py
inktrap/async-cache
ebf289bdcd468e41638880c9b4fdabca858ae20b
[ "MIT" ]
11
2020-04-27T12:28:37.000Z
2022-03-09T09:42:52.000Z
cache/key.py
inktrap/async-cache
ebf289bdcd468e41638880c9b4fdabca858ae20b
[ "MIT" ]
15
2020-05-03T14:52:48.000Z
2022-02-25T15:50:49.000Z
from typing import Any class KEY: def __init__(self, *args, **kwargs): self.args = args self.kwargs = kwargs def __eq__(self, obj): return hash(self) == hash(obj) def __hash__(self): def _hash(param: Any): if isinstance(param, tuple): return tu...
26.5
58
0.537736
72
636
4.458333
0.375
0.099688
0.105919
0.11215
0.143302
0
0
0
0
0
0
0
0.347484
636
23
59
27.652174
0.773494
0
0
0
0
0
0.012579
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
00561d4e308ea135f91dd037033827ac63fb7d6c
860
py
Python
src/iemws/models/iemre.py
akrherz/iem-json-services
13fa3d7434c1ff3d0379f3b921d30ea79423dae8
[ "Apache-2.0" ]
null
null
null
src/iemws/models/iemre.py
akrherz/iem-json-services
13fa3d7434c1ff3d0379f3b921d30ea79423dae8
[ "Apache-2.0" ]
null
null
null
src/iemws/models/iemre.py
akrherz/iem-json-services
13fa3d7434c1ff3d0379f3b921d30ea79423dae8
[ "Apache-2.0" ]
null
null
null
"""Models for iemre API.""" # pylint: disable=no-name-in-module,too-few-public-methods from typing import List from pydantic import BaseModel, Field class HourlyItem(BaseModel): """Data Schema.""" valid_utc: str = Field(..., title="UTC Timestamp") valid_local: str = Field(..., title="Local Station Times...
34.4
76
0.65814
117
860
4.74359
0.555556
0.144144
0.162162
0.057658
0.165766
0.097297
0
0
0
0
0
0.011173
0.167442
860
24
77
35.833333
0.763966
0.145349
0
0
0
0
0.264256
0
0
0
0
0
0
1
0
true
0
0.153846
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
005e655a61a2b823a2eaa052e3d598b5802aada7
455
py
Python
snappytomato/utils.py
myedibleenso/snappytomato
24b1c3214bde2c30b198fcb488dc6f6da6fd054e
[ "Apache-2.0" ]
1
2016-07-14T06:17:40.000Z
2016-07-14T06:17:40.000Z
snappytomato/utils.py
myedibleenso/snappytomato
24b1c3214bde2c30b198fcb488dc6f6da6fd054e
[ "Apache-2.0" ]
null
null
null
snappytomato/utils.py
myedibleenso/snappytomato
24b1c3214bde2c30b198fcb488dc6f6da6fd054e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os def normalize_text(text): return text.lower() def attach_attributes(obj, data_dict): for d in data_dict: setattr(obj, d, data_dict[d]) def load_api_key(rtkey): """ Loads api key from provided path >>> load_api_key("~/path/to/my/rt...
18.958333
52
0.613187
70
455
3.857143
0.614286
0.088889
0.074074
0
0
0
0
0
0
0
0
0.002865
0.232967
455
23
53
19.782609
0.770774
0.29011
0
0
0
0
0.003356
0
0
0
0
0
0
1
0.3
false
0
0.1
0.1
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
00662f8d59a8f7056bb5c24fec7a04fdb3089fa8
826
py
Python
qpce/network.py
brunorijsman/quantum-path-computation-engine
021bca03f8555cd9cd0cdbd7d5c6a32050ab6271
[ "Apache-2.0" ]
null
null
null
qpce/network.py
brunorijsman/quantum-path-computation-engine
021bca03f8555cd9cd0cdbd7d5c6a32050ab6271
[ "Apache-2.0" ]
1
2021-06-01T23:56:41.000Z
2021-06-01T23:56:41.000Z
qpce/network.py
brunorijsman/quantum-path-computation-element
021bca03f8555cd9cd0cdbd7d5c6a32050ab6271
[ "Apache-2.0" ]
null
null
null
"""Quantum network.""" import collections class Network: # TODO: Remove this when we have more methods # pylint:disable=too-few-public-methods """A quantum network. A quantum network object describes the topology and available resources in a quantum network. It consists of quantum routers and qua...
30.592593
100
0.651332
103
826
5.174757
0.524272
0.131332
0.084428
0
0
0
0
0
0
0
0
0
0.269976
826
26
101
31.769231
0.883914
0.504843
0
0
0
0
0.166667
0
0
0
0
0.038462
0.125
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
0068549a5e18f924b5c614465024f9750375120b
745
py
Python
venv/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-distorm3.py
avrumnoor/NewsSummarizer
a963497ef9bc62d2148aa28e624ea32955992f57
[ "MIT" ]
12
2020-12-15T15:12:06.000Z
2022-03-18T16:17:42.000Z
venv/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-distorm3.py
avrumnoor/NewsSummarizer
a963497ef9bc62d2148aa28e624ea32955992f57
[ "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
venv/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-distorm3.py
avrumnoor/NewsSummarizer
a963497ef9bc62d2148aa28e624ea32955992f57
[ "MIT" ]
10
2020-12-15T15:12:14.000Z
2022-02-09T21:02:17.000Z
# ------------------------------------------------------------------ # Copyright (c) 2020 PyInstaller Development Team. # # This file is distributed under the terms of the GNU General Public # License (version 2.0 or later). # # The full license is available in LICENSE.GPL.txt, distributed with # this software. # # SPD...
35.47619
78
0.625503
92
745
5.021739
0.641304
0.008658
0.017316
0.038961
0
0
0
0
0
0
0
0.027439
0.119463
745
20
79
37.25
0.676829
0.802685
0
0
0
0
0.068182
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
008bb408834b492fff721d3fd36cd375a9df551c
590
py
Python
ThirdParty/protobuf-registry/tasks/__init__.py
getcircle/luno-ios
d18260abb537496d86cf607c170dd5e91c406f0f
[ "MIT" ]
null
null
null
ThirdParty/protobuf-registry/tasks/__init__.py
getcircle/luno-ios
d18260abb537496d86cf607c170dd5e91c406f0f
[ "MIT" ]
null
null
null
ThirdParty/protobuf-registry/tasks/__init__.py
getcircle/luno-ios
d18260abb537496d86cf607c170dd5e91c406f0f
[ "MIT" ]
null
null
null
from invoke import ( Collection, task, ) from . import ( go, java, js, python, release, rewrite, swift, ) @task(post=[python.compile, swift.compile, js.compile]) def compile(): print 'compiling protobufs...' @task(pre=[compile], post=[release.release], aliases=('release',)) ...
15.526316
66
0.69322
78
590
5.102564
0.307692
0.113065
0.263819
0
0
0
0
0
0
0
0
0
0.164407
590
37
67
15.945946
0.807302
0
0
0
0
0
0.049153
0
0
0
0
0
0
0
null
null
0.034483
0.068966
null
null
0.034483
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
1
0
0
0
0
0
0
0
0
2
0096fa841c0a8fedc796506d79a862ca237535ff
5,117
py
Python
post_gnome/tests/nc_particle_build_sample.py
rsignell-usgs/post_gnome
e24492751458570e00d07e7dd1958881f6dfa51b
[ "MIT", "Unlicense" ]
2
2017-02-15T20:45:42.000Z
2020-10-09T16:00:00.000Z
post_gnome/tests/nc_particle_build_sample.py
rsignell-usgs/post_gnome
e24492751458570e00d07e7dd1958881f6dfa51b
[ "MIT", "Unlicense" ]
10
2015-06-25T23:42:11.000Z
2021-06-22T16:19:19.000Z
post_gnome/tests/nc_particle_build_sample.py
rsignell-usgs/post_gnome
e24492751458570e00d07e7dd1958881f6dfa51b
[ "MIT", "Unlicense" ]
15
2016-01-11T20:49:10.000Z
2020-10-15T18:02:20.000Z
#!/usr/bin/env python """ A script to build a little example netcdf file for trajectories """ import numpy as np import datetime from post_gnome import nc_particles def write_sample_file(filename): start_time = datetime.datetime(2010, 11, 3, 12) #timesteps = [T.start_time + datetime.timedelta(hour=1) for i ...
44.112069
79
0.249756
331
5,117
3.78852
0.265861
0.100478
0.133971
0.059809
0.599681
0.560606
0.482456
0.482456
0.457735
0.416268
0
0.118644
0.665624
5,117
116
80
44.112069
0.614261
0.049248
0
0.723404
0
0
0.029254
0
0
0
0
0
0
1
0.010638
false
0
0.031915
0
0.042553
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
2
009d704aba81fb74bdc33994c358fcda0bd206ab
162
py
Python
python-files/Channel/config.py
AdrianLundell/ldpc-investigation-master-thesis
075f5cd10dae498e4fcda2f4aabedd0e27caf122
[ "MIT" ]
1
2022-03-07T15:52:10.000Z
2022-03-07T15:52:10.000Z
python-files/Channel/config.py
AdrianLundell/ldpc-investigation-master-thesis
075f5cd10dae498e4fcda2f4aabedd0e27caf122
[ "MIT" ]
6
2022-03-09T10:31:25.000Z
2022-03-09T10:50:34.000Z
python-files/Channel/config.py
AdrianLundell/ldpc-investigation-master-thesis
075f5cd10dae498e4fcda2f4aabedd0e27caf122
[ "MIT" ]
null
null
null
#! /usr/bin/env python import yaml config_file = "config.yml" with open(config_file, "r") as ymlfile: # script_name without .py cfg = yaml.safe_load(ymlfile)
27
65
0.722222
26
162
4.346154
0.807692
0.176991
0
0
0
0
0
0
0
0
0
0
0.148148
162
6
66
27
0.818841
0.277778
0
0
0
0
0.094828
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
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
2
00be6dee6ec68c04a3e8052f7079928fd3eb4b84
325
py
Python
301-400/361-370/365-waterAndJugProblem/waterAndJugProblem.py
xuychen/Leetcode
c8bf33af30569177c5276ffcd72a8d93ba4c402a
[ "MIT" ]
null
null
null
301-400/361-370/365-waterAndJugProblem/waterAndJugProblem.py
xuychen/Leetcode
c8bf33af30569177c5276ffcd72a8d93ba4c402a
[ "MIT" ]
null
null
null
301-400/361-370/365-waterAndJugProblem/waterAndJugProblem.py
xuychen/Leetcode
c8bf33af30569177c5276ffcd72a8d93ba4c402a
[ "MIT" ]
null
null
null
class Solution(object): def gcd(self, x, y): while y: x, y = y, x % y return x def canMeasureWater(self, x, y, z): """ :type x: int :type y: int :type z: int :rtype: bool """ return not z or (x + y >= z and not z % self.gcd(x...
20.3125
63
0.424615
48
325
2.875
0.395833
0.086957
0.086957
0
0
0
0
0
0
0
0
0
0.443077
325
16
63
20.3125
0.762431
0.156923
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
00c2bdd91433b93ef86d3b37bbd4f2a3a9658c1c
8,683
py
Python
orgpy/core.py
cwatson/orgpy
017b4ad98d125781803ce97a49d6900eae1a4846
[ "Apache-2.0" ]
null
null
null
orgpy/core.py
cwatson/orgpy
017b4ad98d125781803ce97a49d6900eae1a4846
[ "Apache-2.0" ]
null
null
null
orgpy/core.py
cwatson/orgpy
017b4ad98d125781803ce97a49d6900eae1a4846
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import import re, os, copy from datetime import datetime from . import const from . import utils __all__ = ['Orgfile', 'orgFromFile'] #=============================================================================== # Main class definition for entire org file #==========================...
38.93722
109
0.528158
1,070
8,683
4.220561
0.205607
0.041408
0.023915
0.0124
0.270151
0.204606
0.188884
0.147033
0.116032
0.092117
0
0.009937
0.28147
8,683
222
110
39.112613
0.713896
0.123114
0
0.215385
0
0
0.039923
0
0
0
0
0.027027
0
0
null
null
0
0.038462
null
null
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
00ca1e7787a82b32835a968f49e6305b0b5f4e86
2,688
py
Python
aioconsul/client/client.py
johnnoone/aioconsul
02f7a529d7dc2e49bed942111067aa5faf320e90
[ "BSD-3-Clause" ]
7
2015-03-17T18:29:14.000Z
2020-01-03T06:45:43.000Z
aioconsul/client/client.py
johnnoone/aioconsul
02f7a529d7dc2e49bed942111067aa5faf320e90
[ "BSD-3-Clause" ]
1
2015-06-04T03:06:46.000Z
2015-06-04T03:06:46.000Z
aioconsul/client/client.py
johnnoone/aioconsul
02f7a529d7dc2e49bed942111067aa5faf320e90
[ "BSD-3-Clause" ]
2
2015-06-03T16:53:11.000Z
2021-12-16T13:38:23.000Z
from aioconsul.api import API from aioconsul.common import cached_property from .acl_endpoint import ACLEndpoint from .agent_endpoint import AgentEndpoint from .catalog_endpoint import CatalogEndpoint from .checks_endpoint import ChecksEndpoint from .coordinate_endpoint import CoordinateEndpoint from .event_endpoint im...
23.787611
76
0.683408
297
2,688
6.006734
0.195286
0.086323
0.133408
0.153027
0.174888
0
0
0
0
0
0
0
0.239955
2,688
112
77
24
0.873226
0
0
0.22093
0
0
0.005208
0
0
0
0
0
0
1
0.255814
false
0
0.186047
0.209302
0.674419
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
00dae78e3cc4d02f68755469ad0f3ad8e487b9f7
477
py
Python
manage.py
isi-metaphor/mokujin
8283bcb79892833b54279052f671b54d846c932b
[ "Apache-2.0" ]
null
null
null
manage.py
isi-metaphor/mokujin
8283bcb79892833b54279052f671b54d846c932b
[ "Apache-2.0" ]
null
null
null
manage.py
isi-metaphor/mokujin
8283bcb79892833b54279052f671b54d846c932b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # Copyright (C) USC Information Sciences Institute # Author: Vladimir M. Zaytsev <zaytsev@usc.edu> # URL: <http://nlg.isi.edu/> # For more information, see README.md # For license information, see LICENSE import os import sys if __name__ == "__main__": os.environ.setdefault(...
25.105263
75
0.750524
67
477
5.104478
0.716418
0.081871
0.105263
0.128655
0
0
0
0
0
0
0
0.002427
0.136268
477
18
76
26.5
0.82767
0.480084
0
0
0
0
0.207469
0.091286
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
00efe3d9f291632450df7c20dcbcc38a81759c0a
1,388
py
Python
stats/db_utils.py
twist3dimages/nba-sql
980416440f296c2cd4e8afb49c95ba77a55daae5
[ "Apache-2.0" ]
null
null
null
stats/db_utils.py
twist3dimages/nba-sql
980416440f296c2cd4e8afb49c95ba77a55daae5
[ "Apache-2.0" ]
null
null
null
stats/db_utils.py
twist3dimages/nba-sql
980416440f296c2cd4e8afb49c95ba77a55daae5
[ "Apache-2.0" ]
null
null
null
from utils import chunk_list """ Database utilities (future middleware layer if we decide to use DuckDB by default.) """ def insert_many(settings, table, rows): """ Entry function on insert_many. """ if settings.db_type == 'sqlite': __insert_many_sqlite(settings, table, rows) else: ...
27.215686
83
0.670029
184
1,388
4.804348
0.288043
0.135747
0.115385
0.104072
0.794118
0.794118
0.782805
0.669683
0.574661
0.515837
0
0.005597
0.227666
1,388
50
84
27.76
0.81903
0.170749
0
0.521739
0
0
0.012012
0
0
0
0
0
0
1
0.173913
false
0
0.043478
0
0.217391
0
0
0
0
null
0
0
0
0
1
1
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
2
daadc2cf5cec9fff6add080dc7c4dc6375da7cf0
3,732
py
Python
ergasia4tel.py
nantinkpsl/Ergasies.python
160c8367a87903f6b444323f117351822bd62aa3
[ "CC0-1.0" ]
null
null
null
ergasia4tel.py
nantinkpsl/Ergasies.python
160c8367a87903f6b444323f117351822bd62aa3
[ "CC0-1.0" ]
null
null
null
ergasia4tel.py
nantinkpsl/Ergasies.python
160c8367a87903f6b444323f117351822bd62aa3
[ "CC0-1.0" ]
null
null
null
f = open("two_cities_ascii.txt", "r")#Άνοιγμα αρχείου για διάβασμα text=f.read()#Εκχώρηση του περιεχόμενου του αρχείου στηνν μεταβλητή text ως string f.close()#Κλείσιμο του αρχείου L = []#Δημιουργία κενής λίστας με σκοπό να βάλουμε ΄όλες τις λέξεις χωρίς τα σύμβολα """Καθάρισμα του κειμένου από όλους τους χαρακ...
27.850746
270
0.521704
563
3,732
3.454707
0.234458
0.168638
0.316195
0.293059
0.438046
0.414396
0.404113
0.246787
0.246787
0.246787
0
0.056636
0.21463
3,732
133
271
28.06015
0.606619
0.144427
0
0.016393
0
0
0.081681
0.017143
0
0
0
0
0
1
0
false
0
0
0
0
0.02459
0
0
0
null
0
1
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
2
dab0f9b97d8498de478ba17e126e3ab6a3a5d932
3,739
py
Python
profiles_api/migrations/0002_category_course_image_instructor_review_video.py
MohamedAboubasha/profiles-rest-api
0e5ede6b4771396c9f3399d05be06c19b9ac1530
[ "MIT" ]
null
null
null
profiles_api/migrations/0002_category_course_image_instructor_review_video.py
MohamedAboubasha/profiles-rest-api
0e5ede6b4771396c9f3399d05be06c19b9ac1530
[ "MIT" ]
null
null
null
profiles_api/migrations/0002_category_course_image_instructor_review_video.py
MohamedAboubasha/profiles-rest-api
0e5ede6b4771396c9f3399d05be06c19b9ac1530
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2022-01-08 21:51 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('profiles_api', '0001_initial'), ] operations = [ migrations.CreateModel( ...
47.935897
133
0.581171
373
3,739
5.66756
0.219839
0.085147
0.093661
0.124882
0.732734
0.695364
0.683065
0.650426
0.650426
0.650426
0
0.02123
0.269323
3,739
77
134
48.558442
0.752562
0.0115
0
0.619718
1
0
0.140769
0.03817
0
0
0
0
0
1
0
false
0
0.042254
0
0.084507
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dab15481ef318e82c0705f93a221be1485c98088
616
py
Python
src/backends/python/flask/core/repos.py
ferlikh/many-backends
933b94e13e368b9d73936e006f26d33aec7212b7
[ "MIT" ]
null
null
null
src/backends/python/flask/core/repos.py
ferlikh/many-backends
933b94e13e368b9d73936e006f26d33aec7212b7
[ "MIT" ]
null
null
null
src/backends/python/flask/core/repos.py
ferlikh/many-backends
933b94e13e368b9d73936e006f26d33aec7212b7
[ "MIT" ]
null
null
null
from core import ( config, db ) class Repo(): def __init__(self, table): self.table = table def create_one(self, model): return db.create_one(self.table, model) def update_one(self, model): return db.update_one(self.table, model) def delete_one(self, id): return db.d...
30.8
65
0.660714
91
616
4.318681
0.307692
0.142494
0.122137
0.091603
0.203562
0
0
0
0
0
0
0
0.219156
616
20
66
30.8
0.817048
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.055556
0.277778
0.722222
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
dab8d7a585af5b87de622c04d5bf382bd3e38332
2,755
py
Python
tests/test_cliently.py
elcaceres/cliently
5bb03f9c4c1dcd59d17c2bcb830a501a7215aca8
[ "MIT" ]
null
null
null
tests/test_cliently.py
elcaceres/cliently
5bb03f9c4c1dcd59d17c2bcb830a501a7215aca8
[ "MIT" ]
3
2018-04-04T18:55:16.000Z
2018-04-04T18:57:09.000Z
tests/test_cliently.py
elcaceres/cliently
5bb03f9c4c1dcd59d17c2bcb830a501a7215aca8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `cliently` package.""" import unittest from cliently import client import os # TODO: This hard coding needs to be fixed with a sandbox when doing things for realsies ACCESS_TOKEN=os.getenv("FEEDLY_ACCESS_TOKEN") UID = os.getenv("FEEDLY_UID") BASE_URL = "http...
39.927536
124
0.692922
374
2,755
4.863636
0.28877
0.057174
0.042881
0.04453
0.20066
0.20066
0.183617
0.183617
0.183617
0.08906
0
0.004507
0.194555
2,755
69
125
39.927536
0.815232
0.216697
0
0
0
0
0.068128
0
0
0
0
0.014493
0.243243
1
0.27027
false
0.027027
0.081081
0
0.378378
0
0
0
0
null
0
0
0
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
1
0
0
0
0
0
0
0
2
dab962fd7005a682b3d02a7ad6700beb39520d3f
3,907
py
Python
pyArango/validation.py
NeilduToit13/pyArango
75a883c073ee9b00ff4754139b823dd0df498036
[ "Apache-2.0" ]
null
null
null
pyArango/validation.py
NeilduToit13/pyArango
75a883c073ee9b00ff4754139b823dd0df498036
[ "Apache-2.0" ]
null
null
null
pyArango/validation.py
NeilduToit13/pyArango
75a883c073ee9b00ff4754139b823dd0df498036
[ "Apache-2.0" ]
null
null
null
from .theExceptions import ValidationError class Validator(object): """ All validators must inherit from this class """ def __init__(self, *args, **kwrags): pass def validate(self, value): """ The only function that a validator must implement. Must return True if er...
28.940741
131
0.600973
490
3,907
4.659184
0.240816
0.048182
0.065703
0.087604
0.266316
0.191853
0.12615
0.0841
0.031537
0.031537
0
0.002519
0.288713
3,907
134
132
29.156716
0.819
0.153826
0
0.333333
0
0.013889
0.130281
0.012254
0
0
0
0
0
1
0.236111
false
0.013889
0.027778
0.027778
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
1
0
0
0
0
1
0
0
2
dad20c62d339443c7b2314dec5e7926d16864103
751
py
Python
tools/gen_flask_secret.py
DVC-Viking-Robotics/webapp
39a13a86b46973328bd664308c6a3fa375629adc
[ "MIT" ]
6
2019-03-27T19:26:32.000Z
2019-10-14T09:17:28.000Z
tools/gen_flask_secret.py
DVC-Viking-Robotics/webapp
39a13a86b46973328bd664308c6a3fa375629adc
[ "MIT" ]
54
2019-02-24T12:38:52.000Z
2019-11-17T09:28:40.000Z
tools/gen_flask_secret.py
DVC-Viking-Robotics/webapp
39a13a86b46973328bd664308c6a3fa375629adc
[ "MIT" ]
12
2019-03-24T23:10:24.000Z
2019-12-07T02:48:32.000Z
""" This script allows the admin to generate a new Fernet key file and re-encrypt any '.encrypted' file, should the old key file be compromised. Run it with ``python -m tools.gen_flask_secret`` """ import os from webapp.utils.file_encryption import FernetVault from webapp.constants import SECRET_KEYFILE, FLASK_SECRET...
34.136364
110
0.750999
116
751
4.655172
0.551724
0.122222
0.077778
0
0
0
0
0
0
0
0
0.004815
0.170439
751
21
111
35.761905
0.861958
0.304927
0
0
1
0
0.177043
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
dadb199b4bbce57f73cf63b1e61db8a2e22975c4
3,339
py
Python
ooiservices/tests/test_cmislib.py
Bobfrat/ooi-ui-services
32f67948510e6af0bc06d62fe49ff3c991b22b40
[ "Apache-2.0" ]
2
2015-02-28T00:20:30.000Z
2015-04-30T12:40:31.000Z
ooiservices/tests/test_cmislib.py
Bobfrat/ooi-ui-services
32f67948510e6af0bc06d62fe49ff3c991b22b40
[ "Apache-2.0" ]
266
2015-01-02T21:29:25.000Z
2020-01-23T16:00:11.000Z
ooiservices/tests/test_cmislib.py
Bobfrat/ooi-ui-services
32f67948510e6af0bc06d62fe49ff3c991b22b40
[ "Apache-2.0" ]
13
2015-02-04T21:13:34.000Z
2016-10-18T14:39:36.000Z
#!/usr/bin/env python ''' Test the cmislib package created by Apache Chemistry project. Version is currently at 0.5.1 and has very good reviews from the community. Created: 10/04/2015 ''' __author__ = 'M@Campbell' import unittest from unittest import skipIf import os from base64 import b64encode from ooiservices.a...
34.42268
79
0.650195
388
3,339
5.530928
0.471649
0.019571
0.020503
0.030755
0.134203
0.088537
0.054986
0.054986
0
0
0
0.014788
0.250674
3,339
96
80
34.78125
0.842926
0.151542
0
0.122807
0
0
0.199535
0.013948
0
0
0
0
0.035088
0
null
null
0.087719
0.140351
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
dadd9c97dc297ce53e68887ddd85475bda9eda3c
11,356
py
Python
tests/tags_test.py
alexanderGugel/nate
18856142efe0b80f5260df3fb2ad9cd0a22a1c6f
[ "MIT" ]
3
2020-10-31T17:16:18.000Z
2022-01-27T06:42:44.000Z
tests/tags_test.py
alexanderGugel/nate
18856142efe0b80f5260df3fb2ad9cd0a22a1c6f
[ "MIT" ]
null
null
null
tests/tags_test.py
alexanderGugel/nate
18856142efe0b80f5260df3fb2ad9cd0a22a1c6f
[ "MIT" ]
null
null
null
import unittest from nate import ( H1, Body, Br, DangerousHtml, Div, Head, Hr, Html, Input, Meta, P, Title, Table, Thead, Tbody, Th, Tr, Td, Fragment, ) from .common import article_1, article_2, html, section class TagsTest(unittest.TestCas...
34.941538
82
0.566925
1,613
11,356
3.946063
0.146311
0.022624
0.009427
0.008798
0.697251
0.657659
0.646661
0.624666
0.614611
0.614611
0
0.032461
0.256693
11,356
324
83
35.049383
0.721597
0
0
0.525974
0
0.113636
0.638165
0.069831
0
0
0
0
0.035714
1
0.022727
false
0
0.00974
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
daed2dcd02c1f4f68af01100da13ec4d4ceacfa7
7,548
py
Python
kubernetes/test/test_v1_pod_status.py
mariusgheorghies/python
68ac7e168963d8b5a81dc493b1973d29e903a15b
[ "Apache-2.0" ]
null
null
null
kubernetes/test/test_v1_pod_status.py
mariusgheorghies/python
68ac7e168963d8b5a81dc493b1973d29e903a15b
[ "Apache-2.0" ]
null
null
null
kubernetes/test/test_v1_pod_status.py
mariusgheorghies/python
68ac7e168963d8b5a81dc493b1973d29e903a15b
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1.20.7 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unitte...
51
126
0.471118
712
7,548
4.849719
0.186798
0.111208
0.140168
0.152911
0.729511
0.695917
0.676803
0.676803
0.676803
0.676803
0
0.071445
0.417727
7,548
147
127
51.346939
0.714221
0.068627
0
0.689076
1
0
0.079258
0
0
0
0
0
0
1
0.033613
false
0.016807
0.05042
0
0.109244
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
daed91c325a084d2dc6fae9cb74a954c288fb74c
979
py
Python
dreamy-dingos/chat/models.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
40
2020-08-02T07:38:22.000Z
2021-07-26T01:46:50.000Z
dreamy-dingos/chat/models.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
134
2020-07-31T12:15:45.000Z
2020-12-13T04:42:19.000Z
dreamy-dingos/chat/models.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
101
2020-07-31T12:00:47.000Z
2021-11-01T09:06:58.000Z
from django.db import models from django.utils import timezone class Room(models.Model): name = models.CharField(max_length=50) def __str__(self): return self.name class SimpleUser(models.Model): objects = models.Manager() username = models.CharField(max_length=50, primary_key=True) roo...
26.459459
83
0.658836
123
979
5.04065
0.398374
0.048387
0.087097
0.116129
0.348387
0.132258
0.132258
0.132258
0.132258
0
0
0.018301
0.21859
979
36
84
27.194444
0.792157
0
0
0.269231
0
0
0.006129
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0.115385
0.884615
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
970ba5beb8c6e85ad0c97cba7c1ffb95b3ebed8b
174
py
Python
src/tests/test_config.py
RomanRuby/machine-learning-project-template
d9c26786b50345e5665f76c9e6976531432b58c9
[ "MIT" ]
null
null
null
src/tests/test_config.py
RomanRuby/machine-learning-project-template
d9c26786b50345e5665f76c9e6976531432b58c9
[ "MIT" ]
null
null
null
src/tests/test_config.py
RomanRuby/machine-learning-project-template
d9c26786b50345e5665f76c9e6976531432b58c9
[ "MIT" ]
null
null
null
import sys import unittest sys.path.append('.') class TestDataSet(unittest.TestCase): def test_cfg(self): pass if __name__ == '__main__': unittest.main()
13.384615
37
0.672414
21
174
5.142857
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.201149
174
12
38
14.5
0.776978
0
0
0
0
0
0.051724
0
0
0
0
0
0
1
0.125
false
0.125
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
1
0
0
0
0
0
2
970e676a6d9532be893c81dfaef34fee90098dda
267
py
Python
modelvshuman/__init__.py
TizianThieringer/model-vs-human
17729b8167520f682d93d55c340c27de07bb2681
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
158
2021-06-04T15:19:58.000Z
2022-03-30T00:31:28.000Z
modelvshuman/__init__.py
TizianThieringer/model-vs-human
17729b8167520f682d93d55c340c27de07bb2681
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
7
2021-07-20T03:57:34.000Z
2022-02-01T11:00:47.000Z
modelvshuman/__init__.py
TizianThieringer/model-vs-human
17729b8167520f682d93d55c340c27de07bb2681
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
14
2021-06-16T13:33:11.000Z
2022-03-29T15:04:09.000Z
from . import cli from . import datasets from . import evaluation from . import models from . import plotting from .model_evaluator import ModelEvaluator from .plotting.plot import plot from .version import __version__, VERSION Evaluate = ModelEvaluator Plot = plot
22.25
43
0.805243
34
267
6.176471
0.382353
0.238095
0
0
0
0
0
0
0
0
0
0
0.149813
267
11
44
24.272727
0.92511
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
1
0
0
0
0
2
9712a3e94e27eb26ea65554b310f650bc2e8048f
4,107
py
Python
sagbescheid/notifiers/ircnotifier.py
cedricpim/systemon
cb3fb027c94146f73fbef70f7a8546050e0de408
[ "MIT" ]
8
2017-03-23T17:19:31.000Z
2022-01-10T08:21:24.000Z
sagbescheid/notifiers/ircnotifier.py
cedricpim/systemon
cb3fb027c94146f73fbef70f7a8546050e0de408
[ "MIT" ]
2
2015-11-20T23:10:40.000Z
2018-09-15T10:59:32.000Z
sagbescheid/notifiers/ircnotifier.py
cedricpim/systemon
cb3fb027c94146f73fbef70f7a8546050e0de408
[ "MIT" ]
3
2016-09-13T20:56:43.000Z
2022-01-10T08:34:18.000Z
#!/usr/bin/env python # coding: utf-8 # Copyright © 2015, 2016, 2017, 2018 Wieland Hoffmann # License: MIT, see LICENSE for details from ..notifier import INotifier from ..version import version from functools import wraps from twisted.internet import protocol, reactor from twisted.plugin import IPlugin from twisted.wo...
25.196319
80
0.595569
447
4,107
5.288591
0.272931
0.131134
0.076988
0.096447
0.344755
0.336717
0.336717
0.336717
0.336717
0.336717
0
0.007612
0.296323
4,107
162
81
25.351852
0.810035
0.143414
0
0.24
0
0
0.085668
0
0
0
0
0
0
1
0.266667
false
0.106667
0.093333
0.013333
0.506667
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
0
2
9727bc8aa30eb95d9ede8bcd086222c6a52129c5
296
py
Python
conditional_statements_advanced/exercise/cinema.py
PetkoAndreev/Python-basics
a376362548380ae50c7c707551cb821547f44402
[ "MIT" ]
null
null
null
conditional_statements_advanced/exercise/cinema.py
PetkoAndreev/Python-basics
a376362548380ae50c7c707551cb821547f44402
[ "MIT" ]
null
null
null
conditional_statements_advanced/exercise/cinema.py
PetkoAndreev/Python-basics
a376362548380ae50c7c707551cb821547f44402
[ "MIT" ]
null
null
null
screeing_type = input() rows = int(input()) colums = int(input()) if screeing_type == 'Premiere': print(f'{rows * colums * 12:.2f} leva') elif screeing_type == 'Normal': print(f'{rows * colums * 7.5:.2f} leva') elif screeing_type == 'Discount': print(f'{rows * colums * 5:.2f} leva')
29.6
44
0.628378
43
296
4.232558
0.418605
0.263736
0.164835
0.263736
0.241758
0
0
0
0
0
0
0.032653
0.172297
296
10
45
29.6
0.710204
0
0
0
0
0
0.367003
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
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
2
9734144a99f5d18b0e4f695d09c169677a34f2e4
1,070
py
Python
python/Redis/get_100W_user.py
jokimina/miscellany
a2b80befb8037dc04cdbbe8185c5f7830976c837
[ "MIT" ]
1
2018-12-15T02:12:37.000Z
2018-12-15T02:12:37.000Z
python/Redis/get_100W_user.py
oldthreefeng/miscellany
8d3c7a14b53929d752c7356c85ae6681000cd526
[ "MIT" ]
null
null
null
python/Redis/get_100W_user.py
oldthreefeng/miscellany
8d3c7a14b53929d752c7356c85ae6681000cd526
[ "MIT" ]
2
2018-12-10T12:55:38.000Z
2019-01-04T07:43:55.000Z
#!/user/bin python # -*- coding:utf-8 -*- ''' @Author: xiaodong @Email: fuxd@jidongnet.com @DateTime: 2015-12-16 17:01:58 @Description: 加勒比 安卓平台遍历全区 搜索100W以上钻石的玩家 ''' import redis import sys import json redisList = [6510,6520,6530,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,6552,655...
28.157895
178
0.670093
171
1,070
4.134503
0.666667
0.063649
0.039604
0
0
0
0
0
0
0
0
0.225946
0.135514
1,070
37
179
28.918919
0.538378
0.057009
0
0
0
0
0.104287
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.045455
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
1
0
0
0
0
0
0
0
0
2
973968d98509e3e04d9d5ab44db4e2d6ef0a29e6
552
py
Python
psme/subcommand.py
claymcleod/psme
220f99085a5d3857ff0b48243923a8f0ba7a6822
[ "MIT" ]
null
null
null
psme/subcommand.py
claymcleod/psme
220f99085a5d3857ff0b48243923a8f0ba7a6822
[ "MIT" ]
null
null
null
psme/subcommand.py
claymcleod/psme
220f99085a5d3857ff0b48243923a8f0ba7a6822
[ "MIT" ]
null
null
null
import argparse from abc import ABC, abstractmethod from typing import Any, Dict class BaseSubcommand(ABC): @abstractmethod def name(self): """The name of the subcommand, recommended to be a single, kebab-cased word.""" pass @abstractmethod def register_args(self, subparser: argparse...
25.090909
87
0.668478
65
552
5.661538
0.6
0.138587
0.11413
0
0
0
0
0
0
0
0
0
0.242754
552
21
88
26.285714
0.880383
0.309783
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.230769
false
0.230769
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
97438315739c116902edf21da46316c314d7c58a
397
py
Python
lib/n1ql_exceptions.py
sumedhpb/TAF
fc6f4cb8dc0b8234393f2e52a7b4a1aa723d9449
[ "Apache-2.0" ]
9
2019-02-19T05:55:00.000Z
2022-01-20T10:37:28.000Z
lib/n1ql_exceptions.py
sumedhpb/TAF
fc6f4cb8dc0b8234393f2e52a7b4a1aa723d9449
[ "Apache-2.0" ]
2
2019-02-19T07:28:54.000Z
2019-06-18T11:22:29.000Z
lib/n1ql_exceptions.py
sumedhpb/TAF
fc6f4cb8dc0b8234393f2e52a7b4a1aa723d9449
[ "Apache-2.0" ]
155
2018-11-13T14:57:07.000Z
2022-03-28T11:53:22.000Z
class N1qlException(object): CasMismatchException = "CAS mismatch" DocumentExistsException = "document already exists" DocumentNotFoundException = "document not found" DocumentAlreadyExistsException = "Duplicate Key" AtrNotFoundException = "atr not found" SyncWriteInProgressException = "durable ...
49.625
62
0.775819
32
397
9.625
0.90625
0.051948
0
0
0
0
0
0
0
0
0
0.003012
0.163728
397
8
63
49.625
0.924699
0
0
0
0
0
0.344221
0
0
0
0
0
0
1
0
false
0
0
0
1
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
1
0
0
2
97444736c5b2cdc9d119e90cdabf47e85026939c
4,453
py
Python
example.py
jml/pyhazard
ba4985c6052dcd16d8e03ee971e2fead4c8d77c8
[ "Apache-2.0" ]
null
null
null
example.py
jml/pyhazard
ba4985c6052dcd16d8e03ee971e2fead4c8d77c8
[ "Apache-2.0" ]
null
null
null
example.py
jml/pyhazard
ba4985c6052dcd16d8e03ee971e2fead4c8d77c8
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2015 Jonathan M. Lange <jml@mumak.net> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
29.296053
78
0.660229
587
4,453
4.778535
0.303237
0.078788
0.037433
0.014973
0.124777
0.057754
0.057754
0.032086
0.032086
0.032086
0
0.004118
0.23647
4,453
151
79
29.490066
0.820882
0.222771
0
0.054945
0
0
0.093009
0
0
0
0
0.013245
0
0
null
null
0
0.054945
null
null
0.10989
0
0
0
null
0
0
0
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
1
0
0
0
0
0
0
0
0
2
97736b42eb349e18d83972c1a24aef06f993ff03
763
py
Python
tests/test_demo.py
jsam/demo
d644c6a8c4a4e04538abb1c506b00da29429eaa9
[ "MIT" ]
null
null
null
tests/test_demo.py
jsam/demo
d644c6a8c4a4e04538abb1c506b00da29429eaa9
[ "MIT" ]
null
null
null
tests/test_demo.py
jsam/demo
d644c6a8c4a4e04538abb1c506b00da29429eaa9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from click.testing import CliRunner from demo import cli import os import pytest def test_import_toplevel(): try: import demo except ImportError: pytest.fail("Unable to import `demo`.") def test_fail_env():...
24.612903
70
0.697248
104
763
4.923077
0.5
0.041016
0.070313
0.082031
0.179688
0
0
0
0
0
0
0.00813
0.193971
763
30
71
25.433333
0.82439
0.055046
0
0
0
0
0.161335
0
0
0
0
0
0.227273
1
0.136364
false
0
0.409091
0
0.545455
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9780b9be1e720e56671d5b30ede7867d5f95129a
127
py
Python
day1/part1.py
MatejBabis/AdventOfCode2k18
859044b132079a9bcc0cc6456c255dc3a70e1fbf
[ "MIT" ]
2
2018-12-17T22:02:50.000Z
2018-12-20T14:30:59.000Z
day1/part1.py
MatejBabis/AdventOfCode2k18
859044b132079a9bcc0cc6456c255dc3a70e1fbf
[ "MIT" ]
null
null
null
day1/part1.py
MatejBabis/AdventOfCode2k18
859044b132079a9bcc0cc6456c255dc3a70e1fbf
[ "MIT" ]
null
null
null
f = open("input.txt") total = 0 for number in f.readlines(): total += int(number[:-1]) f.close() print("Answer:", total)
14.111111
29
0.606299
20
127
3.85
0.75
0
0
0
0
0
0
0
0
0
0
0.019048
0.173228
127
8
30
15.875
0.714286
0
0
0
0
0
0.125984
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
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
2
97876bdf9ec44c4e43b01948ef9cb05a7a5c62d7
2,157
py
Python
species/__init__.py
vandalt/species
527dd900a60c4d691bd490569cd3b2007f9beead
[ "MIT" ]
null
null
null
species/__init__.py
vandalt/species
527dd900a60c4d691bd490569cd3b2007f9beead
[ "MIT" ]
null
null
null
species/__init__.py
vandalt/species
527dd900a60c4d691bd490569cd3b2007f9beead
[ "MIT" ]
null
null
null
from species.analysis.fit_model import FitModel from species.analysis.fit_spectrum import FitSpectrum from species.analysis.photometry import SyntheticPhotometry # from species.analysis.retrieval import AtmosphericRetrieval from species.read.read_calibration import ReadCalibration from species.read.read_filter imp...
30.814286
61
0.66064
226
2,157
6
0.367257
0.202802
0.099558
0.126106
0
0
0
0
0
0
0
0.001965
0.292072
2,157
69
62
31.26087
0.886051
0.077422
0
0
0
0
0.03575
0.013092
0
0
0
0
0
1
0
false
0
0.55
0
0.55
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
1
0
0
0
0
2
978c3f0eef7e90463917faf45f6b1c6c86a54b70
5,454
py
Python
LibraryManagementSystem/settings.py
TejasJogi/Library-Management-System-Django-MYSQL
f6dd1910d4270e42ac200b4eb47f2e76cb0c296d
[ "MIT" ]
2
2021-11-26T16:21:05.000Z
2022-02-25T16:02:48.000Z
LibraryManagementSystem/settings.py
TejasJogi/Library-Management-System-Django-MYSQL
f6dd1910d4270e42ac200b4eb47f2e76cb0c296d
[ "MIT" ]
null
null
null
LibraryManagementSystem/settings.py
TejasJogi/Library-Management-System-Django-MYSQL
f6dd1910d4270e42ac200b4eb47f2e76cb0c296d
[ "MIT" ]
null
null
null
""" Django settings for LibraryManagementSystem project. Generated by 'django-admin startproject' using Django 3.2.9. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ "...
24.790909
103
0.706637
599
5,454
6.247078
0.383973
0.059059
0.047034
0.053447
0.137627
0.137627
0.082042
0.082042
0.042758
0
0
0.008407
0.17125
5,454
220
104
24.790909
0.819469
0.229923
0
0.03125
1
0
0.468555
0.344695
0
0
0
0
0
1
0
false
0.0625
0.023438
0
0.023438
0
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
1
0
0
0
0
0
2
9796d5c78ed8b8b2d57b57dbb718992d6e9e2e56
935
py
Python
2020/day10.py
mbmackenzie/advent-of-code
66ef2723b67c84b9c03e05281106fb2811da17a1
[ "MIT" ]
null
null
null
2020/day10.py
mbmackenzie/advent-of-code
66ef2723b67c84b9c03e05281106fb2811da17a1
[ "MIT" ]
null
null
null
2020/day10.py
mbmackenzie/advent-of-code
66ef2723b67c84b9c03e05281106fb2811da17a1
[ "MIT" ]
null
null
null
"""Day 10: Adapter Array""" from collections import Counter from collections import defaultdict from aoc import Solution class Day10(Solution): """Solution to day 10 of the 2020 Advent of Code""" def __init__(self) -> None: super().__init__(2020, 10, "Adapter Array") @property def max_jolta...
25.972222
85
0.594652
129
935
4.178295
0.403101
0.059369
0.051948
0
0
0
0
0
0
0
0
0.044183
0.273797
935
35
86
26.714286
0.749632
0.11016
0
0
0
0
0.015931
0
0
0
0
0
0
1
0.238095
false
0
0.142857
0.047619
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
97c0da1f40fc823b2243e9c93e971592b96efa4c
318
py
Python
backend/api/admin.py
steviemsiy/FindTheGame
f4a86a38c8133089778735f34b04f9ce6b084c48
[ "MIT" ]
null
null
null
backend/api/admin.py
steviemsiy/FindTheGame
f4a86a38c8133089778735f34b04f9ce6b084c48
[ "MIT" ]
null
null
null
backend/api/admin.py
steviemsiy/FindTheGame
f4a86a38c8133089778735f34b04f9ce6b084c48
[ "MIT" ]
null
null
null
from django.contrib import admin #if ENVIRONMENT == 'PROD': # from api.models import * #else: from api.models import * # Register your models here. admin.site.register(Event, EventAdmin) admin.site.register(ApiKey, ApiKeyAdmin) admin.site.register(PlayerProfile) admin.site.register(Group) admin.site.register(Game)
22.714286
40
0.779874
43
318
5.767442
0.511628
0.181452
0.342742
0.153226
0
0
0
0
0
0
0
0
0.100629
318
13
41
24.461538
0.867133
0.257862
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
1
0
0
0
0
0
0
2
97c5657c514435f5241d15a78f30c3d6d353de51
487
py
Python
P2.2-Intro Data Science/exercises/lesson_5/aadhaar_generated_quiz/aadhaar_generated_reducer.py
lucasosouza/udacity-data-analysis
2603565cede0c5269ce643584475929f8f2053ce
[ "MIT" ]
null
null
null
P2.2-Intro Data Science/exercises/lesson_5/aadhaar_generated_quiz/aadhaar_generated_reducer.py
lucasosouza/udacity-data-analysis
2603565cede0c5269ce643584475929f8f2053ce
[ "MIT" ]
null
null
null
P2.2-Intro Data Science/exercises/lesson_5/aadhaar_generated_quiz/aadhaar_generated_reducer.py
lucasosouza/udacity-data-analysis
2603565cede0c5269ce643584475929f8f2053ce
[ "MIT" ]
null
null
null
import sys def reducer(): aadhaar_generated = 0 old_key = None #Cycle through the list of key-value pairs emitted #by your mapper, and print out each key once, #along with the total number of Aadhaar generated, #separated by a tab. Assume that the list of key- #value pairs will be ordered...
28.647059
57
0.679671
77
487
4.272727
0.662338
0.097264
0.054711
0.072948
0.133739
0.133739
0
0
0
0
0
0.008287
0.256674
487
17
58
28.647059
0.900552
0.712526
0
0
1
0
0
0
0
0
0
0.058824
0
1
0.2
false
0
0.2
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
1
0
0
0
0
0
0
0
0
0
0
2
97d09a3a5d1f3d145292ae525c74f813c38634ca
1,539
py
Python
app/account/migrations/0002_alter_user_options_alter_user_managers_and_more.py
NhatHox23/nhat-inventory-backend
d494d91c9b68a1a441e72d94018be86f07d2141e
[ "MIT" ]
1
2021-12-25T06:54:48.000Z
2021-12-25T06:54:48.000Z
app/account/migrations/0002_alter_user_options_alter_user_managers_and_more.py
NhatHox23/nhat-inventory-backend
d494d91c9b68a1a441e72d94018be86f07d2141e
[ "MIT" ]
null
null
null
app/account/migrations/0002_alter_user_options_alter_user_managers_and_more.py
NhatHox23/nhat-inventory-backend
d494d91c9b68a1a441e72d94018be86f07d2141e
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-17 08:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='user', options={}, ), ...
24.046875
64
0.489279
121
1,539
6.066116
0.421488
0.141689
0.177112
0.231608
0.485014
0.485014
0.277929
0
0
0
0
0.022581
0.395712
1,539
63
65
24.428571
0.766667
0.02794
0
0.578947
1
0
0.107764
0
0
0
0
0
0
1
0
false
0
0.017544
0
0.070175
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c10abea2f9bc648d3729f1ca476f5d8723fdfb12
3,914
py
Python
eph/interface.py
bluePhlavio/eph
9ad8d753ba70d7ed147a591c4181edd56b9533cc
[ "MIT" ]
1
2021-05-07T23:35:32.000Z
2021-05-07T23:35:32.000Z
eph/interface.py
bluePhlavio/eph
9ad8d753ba70d7ed147a591c4181edd56b9533cc
[ "MIT" ]
8
2019-11-02T01:04:26.000Z
2021-06-02T00:01:37.000Z
eph/interface.py
bluePhlavio/eph
9ad8d753ba70d7ed147a591c4181edd56b9533cc
[ "MIT" ]
1
2019-03-20T13:55:52.000Z
2019-03-20T13:55:52.000Z
""" Contains classes and functions useful to interact with the `Jpl Horizons service`_ from NASA. .. _`Jpl Horizons service`: https://ssd.jpl.nasa.gov/?horizons """ import requests from astropy.table import QTable from .util import addparams2url, wrap from .config import read_config from .models import BaseMap from...
28.992593
92
0.628258
478
3,914
4.983264
0.271967
0.055416
0.052897
0.026448
0.157431
0.130982
0.026029
0
0
0
0
0.000705
0.275677
3,914
134
93
29.208955
0.839506
0.441748
0
0.042553
0
0
0.003819
0
0
0
0
0
0
1
0.276596
false
0
0.148936
0.021277
0.680851
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
c1186e20834312aecb510b36bdf673c14a6fdea9
553
py
Python
studzie/keras_tutor/keras_cifar100.py
amozie/amozie
fb7c16ce537bc5567f9c87cfc22c564a4dffc4ef
[ "Apache-2.0" ]
null
null
null
studzie/keras_tutor/keras_cifar100.py
amozie/amozie
fb7c16ce537bc5567f9c87cfc22c564a4dffc4ef
[ "Apache-2.0" ]
null
null
null
studzie/keras_tutor/keras_cifar100.py
amozie/amozie
fb7c16ce537bc5567f9c87cfc22c564a4dffc4ef
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from keras.models import Sequential, Model from keras.layers import Dense, Activation, Input, Dropout, Flatten, Reshape, \ Conv2D, MaxPooling2D, concatenate, GlobalMaxPooling2D from keras.datasets import cifar100 from keras.callbacks import EarlyStopping from keras...
39.5
79
0.819168
77
553
5.779221
0.61039
0.141573
0.062921
0
0
0
0
0
0
0
0
0.026585
0.115732
553
13
80
42.538462
0.883436
0
0
0
0
0
0.007233
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
2
c11b5bc00c820d2149831a6a5219b716f80b5da6
497
py
Python
evaluate.py
QData/DeepDiff
2aef9c5520595b14da265578c2c04c3d65a4ad01
[ "Apache-2.0" ]
6
2021-04-28T22:46:11.000Z
2022-02-06T05:02:57.000Z
evaluate.py
QData/DeepDiff
2aef9c5520595b14da265578c2c04c3d65a4ad01
[ "Apache-2.0" ]
null
null
null
evaluate.py
QData/DeepDiff
2aef9c5520595b14da265578c2c04c3d65a4ad01
[ "Apache-2.0" ]
1
2022-03-11T01:41:49.000Z
2022-03-11T01:41:49.000Z
import numpy import torch import scipy import scipy.sparse as sp import logging from six.moves import xrange from collections import OrderedDict import sys import pdb from sklearn import metrics import torch.nn.functional as F from torch.autograd import Variable def compute_metrics(predictions, targets): pred=predic...
20.708333
70
0.810865
73
497
5.479452
0.520548
0.055
0
0
0
0
0
0
0
0
0
0.004556
0.1167
497
23
71
21.608696
0.906606
0
0
0
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0.666667
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
c12a3cb2ec282c49961e4c9f8bc0a286e747e3af
13,135
py
Python
pysnmp/HUAWEI-LswRSTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/HUAWEI-LswRSTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/HUAWEI-LswRSTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HUAWEI-LswRSTP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-LswRSTP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:34:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
125.095238
1,870
0.767035
1,447
13,135
6.961299
0.138217
0.015686
0.012211
0.015884
0.432145
0.37536
0.269731
0.254045
0.236275
0.218009
0
0.091075
0.081309
13,135
104
1,871
126.298077
0.743681
0.025124
0
0
0
0
0.11191
0.003439
0
0
0
0
0
1
0
false
0
0.083333
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c12ff6fc86fc337cb5664cef1cd543659806c57c
600
py
Python
staris.py
aertoria/MiscCode
a2e94d0fe0890e6620972f84adcb7976ca9f1408
[ "Apache-2.0" ]
null
null
null
staris.py
aertoria/MiscCode
a2e94d0fe0890e6620972f84adcb7976ca9f1408
[ "Apache-2.0" ]
null
null
null
staris.py
aertoria/MiscCode
a2e94d0fe0890e6620972f84adcb7976ca9f1408
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python #You are climbing a stair case. It takes n steps to reach to the top. #Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? class Solution: # @param {integer} n # @return {integer} count=0 def climbStairs(self, n): self.rec_climb(n) print self....
18.181818
97
0.675
103
600
3.893204
0.504854
0.079801
0.089776
0.097257
0
0
0
0
0
0
0
0.021322
0.218333
600
33
98
18.181818
0.833689
0.443333
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.0625
0
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
c15a19cb03f23c0c130c7938dd4eba13516d4750
71
py
Python
config.py
SuShu19/TiTIC
7dd83a1527ee0e57e354eb7843c75ad2e53d69fc
[ "Apache-2.0" ]
null
null
null
config.py
SuShu19/TiTIC
7dd83a1527ee0e57e354eb7843c75ad2e53d69fc
[ "Apache-2.0" ]
null
null
null
config.py
SuShu19/TiTIC
7dd83a1527ee0e57e354eb7843c75ad2e53d69fc
[ "Apache-2.0" ]
null
null
null
code_path = "F:/发表论文/apsec 2021/TiTIC" data_path = "D:/fasttext_data"
17.75
38
0.71831
12
71
4
0.833333
0
0
0
0
0
0
0
0
0
0
0.063492
0.112676
71
3
39
23.666667
0.698413
0
0
0
0
0
0.571429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
c164a2131f24d47c407acfa16109127338defe1a
102
py
Python
Beecrowd/Python/ex1060.py
yurifalves/Exercises
a4e84ac76b9432f6c2efdeef6e5e2a093c39882d
[ "MIT" ]
null
null
null
Beecrowd/Python/ex1060.py
yurifalves/Exercises
a4e84ac76b9432f6c2efdeef6e5e2a093c39882d
[ "MIT" ]
null
null
null
Beecrowd/Python/ex1060.py
yurifalves/Exercises
a4e84ac76b9432f6c2efdeef6e5e2a093c39882d
[ "MIT" ]
null
null
null
cont = 0 for i in range(6): if float(input()) >= 0: cont += 1 print(f'{cont} valores positivos')
17
37
0.598039
18
102
3.388889
0.833333
0
0
0
0
0
0
0
0
0
0
0.05
0.215686
102
5
38
20.4
0.7125
0
0
0
0
0
0.235294
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
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
2
c1665cfed8ff4a38680780c2f17d5964d1d9ed35
70
py
Python
00.source-code/02.Python/writeFile.py
wardensky/blogs
e8f347d05b59684f81ea6f7ee8cdbe0d701122f5
[ "Apache-2.0" ]
2
2018-12-20T12:19:56.000Z
2019-09-24T06:25:01.000Z
00.source-code/02.Python/writeFile.py
wardensky/blogs
e8f347d05b59684f81ea6f7ee8cdbe0d701122f5
[ "Apache-2.0" ]
null
null
null
00.source-code/02.Python/writeFile.py
wardensky/blogs
e8f347d05b59684f81ea6f7ee8cdbe0d701122f5
[ "Apache-2.0" ]
3
2018-09-18T06:58:56.000Z
2019-10-27T09:35:01.000Z
#!/usr/bin/python f = file('x1.txt', 'w') f.write('hello') f.close()
11.666667
23
0.571429
13
70
3.076923
0.846154
0
0
0
0
0
0
0
0
0
0
0.016129
0.114286
70
5
24
14
0.629032
0.228571
0
0
0
0
0.226415
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
c1786868690cfefd20cc751e90ea8b47ab54a55a
323
py
Python
app/__init__.py
uwase-diane/NewsAPI
49acb4e22f623818b5ee63f7b545f698953e2387
[ "Unlicense" ]
null
null
null
app/__init__.py
uwase-diane/NewsAPI
49acb4e22f623818b5ee63f7b545f698953e2387
[ "Unlicense" ]
null
null
null
app/__init__.py
uwase-diane/NewsAPI
49acb4e22f623818b5ee63f7b545f698953e2387
[ "Unlicense" ]
null
null
null
from flask import Flask from .config import DevConfig from flask_bootstrap import Bootstrap app = Flask(__name__,instance_relative_config= True) app.config.from_object(DevConfig) app.config.from_pyfile('config.py') # Initializing Flask Extensions bootstrap = Bootstrap(app) from app import views from app import er...
20.1875
52
0.817337
45
323
5.666667
0.4
0.070588
0.101961
0
0
0
0
0
0
0
0
0
0.117647
323
16
53
20.1875
0.894737
0.089783
0
0
0
0
0.030717
0
0
0
0
0
0
1
0
false
0
0.555556
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
1
0
0
2
c18ff04ae0b27c497f2250200b6017afaacf3341
271
py
Python
main/forms.py
levertco/stactistics
a62ba5e43b6ffb22f8b22d974aa4942d133bf7d1
[ "MIT" ]
null
null
null
main/forms.py
levertco/stactistics
a62ba5e43b6ffb22f8b22d974aa4942d133bf7d1
[ "MIT" ]
3
2021-03-19T03:26:02.000Z
2021-06-10T21:55:35.000Z
main/forms.py
levertco/stactistics
a62ba5e43b6ffb22f8b22d974aa4942d133bf7d1
[ "MIT" ]
null
null
null
from django import forms from .models import Review,Website class WebsiteForm(forms.ModelForm): class Meta: model= Website exclude= ['reviews','owner'] class ReviewForm(forms.ModelForm): class Meta: model= Review fields='__all__'
22.583333
36
0.671587
30
271
5.933333
0.6
0.157303
0.213483
0.258427
0.314607
0
0
0
0
0
0
0
0.236162
271
12
37
22.583333
0.859903
0
0
0.2
0
0
0.069853
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
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
2
c1a047f305103c02462a6d290c41963621ea947a
3,731
py
Python
scripts/evaluations/create_pruned_corpus.py
mikiec84/delphi
2e517f21e76e334c7dfb14325d25879ddf26d10d
[ "Apache-2.0" ]
25
2018-03-03T11:57:57.000Z
2022-01-16T21:19:54.000Z
scripts/evaluations/create_pruned_corpus.py
mikiec84/delphi
2e517f21e76e334c7dfb14325d25879ddf26d10d
[ "Apache-2.0" ]
385
2018-02-21T16:52:06.000Z
2022-02-17T07:44:56.000Z
scripts/evaluations/create_pruned_corpus.py
mikiec84/delphi
2e517f21e76e334c7dfb14325d25879ddf26d10d
[ "Apache-2.0" ]
19
2018-03-20T01:08:11.000Z
2021-09-29T01:04:49.000Z
""" Prune the preassembled corpus json file """ import json import sys from tqdm import tqdm def isInfluenceStatement(s): return s["type"] == "Influence" if __name__ == "__main__": with open(sys.argv[1], "r") as f: sts = json.load(f) filtered_sts = [] hasWMKey = lambda x: x.get("WM") is no...
42.397727
125
0.564996
395
3,731
5.078481
0.268354
0.11665
0.149551
0.209372
0.544865
0.490528
0.477069
0.439681
0.340977
0.340977
0
0.004693
0.314661
3,731
87
126
42.885057
0.77982
0.010453
0
0.077922
0
0
0.450054
0.408523
0
0
0
0
0
1
0.012987
false
0
0.038961
0.012987
0.064935
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c1b48598f2501dd038d05132ab6a96a3689973e1
18,205
py
Python
trace.py
rawoul/apitrace
e9fcdcf14a99f5cb4729abb7bbf7817d7aa59d18
[ "MIT" ]
1
2017-07-25T20:22:08.000Z
2017-07-25T20:22:08.000Z
trace.py
rawoul/apitrace
e9fcdcf14a99f5cb4729abb7bbf7817d7aa59d18
[ "MIT" ]
null
null
null
trace.py
rawoul/apitrace
e9fcdcf14a99f5cb4729abb7bbf7817d7aa59d18
[ "MIT" ]
null
null
null
########################################################################## # # Copyright 2008-2010 VMware, Inc. # All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software withou...
35.418288
166
0.572535
2,031
18,205
5.005416
0.151157
0.035412
0.0723
0.028133
0.42229
0.308971
0.211981
0.157289
0.108696
0.101023
0
0.005383
0.295853
18,205
513
167
35.487329
0.787659
0.071848
0
0.41555
0
0.005362
0.26304
0.087982
0
0
0
0
0.008043
0
null
null
0.042895
0.005362
null
null
0.41555
0
0
0
null
0
0
0
0
0
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
1
0
2
c1ce88fe488c659942b6230df65f6d5d692a9484
3,720
py
Python
tests/test_validator.py
MoseleyBioinformaticsLab/mwtab
1bc1e3715538348b29a5760a9c3184fe04f568a6
[ "BSD-3-Clause-Clear" ]
7
2018-02-02T07:50:20.000Z
2021-03-14T22:46:58.000Z
tests/test_validator.py
MoseleyBioinformaticsLab/mwtab
1bc1e3715538348b29a5760a9c3184fe04f568a6
[ "BSD-3-Clause-Clear" ]
2
2019-02-14T08:38:54.000Z
2020-02-19T08:08:02.000Z
tests/test_validator.py
MoseleyBioinformaticsLab/mwtab
1bc1e3715538348b29a5760a9c3184fe04f568a6
[ "BSD-3-Clause-Clear" ]
1
2019-10-12T23:38:44.000Z
2019-10-12T23:38:44.000Z
import pytest import mwtab @pytest.mark.parametrize("files_source", [ "tests/example_data/mwtab_files/ST000122_AN000204.json", "tests/example_data/mwtab_files/ST000122_AN000204.txt" ]) def test_validate(files_source): """Test method for validating passing mwTab and JSON files from Metabolomics Workbench. ...
43.255814
121
0.75672
485
3,720
5.496907
0.185567
0.131658
0.095649
0.086647
0.73856
0.729557
0.707052
0.610278
0.593023
0.476744
0
0.0534
0.13414
3,720
86
122
43.255814
0.774294
0.092742
0
0.424242
0
0
0.370083
0.210072
0
0
0
0
0.242424
1
0.106061
false
0
0.030303
0
0.136364
0
0
0
0
null
0
0
0
0
1
1
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
2
c1d03ba215616beda33d94352aa9954fa9534d44
3,666
py
Python
ledger/migrations/0001_initial.py
joatuapp/joatu-django
5626d03ba89c55650ff5bff2e706ca0883ae3b9c
[ "MIT" ]
10
2018-05-13T18:01:57.000Z
2018-12-23T17:11:14.000Z
ledger/migrations/0001_initial.py
moileretour/joatu
9d18cb58b4280235688e269be6fd2d34b77ccead
[ "MIT" ]
88
2018-05-04T15:33:46.000Z
2022-03-08T21:09:21.000Z
ledger/migrations/0001_initial.py
joatuapp/joatu-django
5626d03ba89c55650ff5bff2e706ca0883ae3b9c
[ "MIT" ]
7
2018-05-08T16:05:06.000Z
2018-09-13T05:49:05.000Z
# Generated by Django 2.0.3 on 2018-03-24 03:02 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('demands', '0001_initial'), ('projects', '0004_auto_20180323_1346'), ('profiles', '0009_p...
50.916667
158
0.611839
382
3,666
5.71466
0.230366
0.047641
0.070545
0.110857
0.702245
0.702245
0.643152
0.561612
0.561612
0.561612
0
0.016864
0.239771
3,666
71
159
51.633803
0.766416
0.012275
0
0.484375
1
0
0.155292
0.012434
0
0
0
0
0
1
0
false
0
0.03125
0
0.09375
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c1e179fd88680caa02ec8f42737513b72ccb61e5
1,167
py
Python
FindImmo/admin.py
sdaouda/immoniger
85b4f23fed6e73d8df8700103723725f267e31d8
[ "Apache-2.0" ]
null
null
null
FindImmo/admin.py
sdaouda/immoniger
85b4f23fed6e73d8df8700103723725f267e31d8
[ "Apache-2.0" ]
6
2021-03-19T00:41:08.000Z
2022-03-11T23:46:42.000Z
FindImmo/admin.py
sdaouda/immoniger
85b4f23fed6e73d8df8700103723725f267e31d8
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import Category, Product,Project, Vendor,Zone,Localite,TypeProject,Service,TypeService,Commodite class CategoryAdmin(admin.ModelAdmin): list_display = ['name', 'slug'] prepopulated_fields = {'slug': ('name',)} admin.site.register(Category, CategoryAdmin) class Com...
36.46875
109
0.718937
123
1,167
6.764228
0.357724
0.108173
0.204327
0.09375
0.272837
0.236779
0.236779
0.185096
0.185096
0.185096
0
0.00289
0.11054
1,167
31
110
37.645161
0.798651
0
0
0.185185
0
0
0.1491
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.518519
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
1
0
0
2
c1e31e1fa25e6136930d59b414288f8412c884ca
3,194
py
Python
04 - Classes-inheritance-oops/40-classes-numeric-unary-magic-methods.py
python-demo-codes/basics
2a151bbff4b528cefd52978829c632fd087c8f20
[ "DOC" ]
2
2019-08-23T06:05:55.000Z
2019-08-26T03:56:07.000Z
04 - Classes-inheritance-oops/40-classes-numeric-unary-magic-methods.py
python-lang-codes/basics
2a151bbff4b528cefd52978829c632fd087c8f20
[ "DOC" ]
null
null
null
04 - Classes-inheritance-oops/40-classes-numeric-unary-magic-methods.py
python-lang-codes/basics
2a151bbff4b528cefd52978829c632fd087c8f20
[ "DOC" ]
4
2020-10-01T07:16:07.000Z
2021-07-17T07:55:08.000Z
# HEAD # Classes - Magic Methods - Unary Numeric Magic Methods # DESCRIPTION # Describes the magic methods of classes # pos, neg, abs, invert # round, floor, ceil, trunc # RESOURCES # # https://rszalski.github.io/magicmethods/ # Now would be a good time to note that you don't have to define # ever...
47.671642
428
0.715404
460
3,194
4.791304
0.365217
0.084846
0.15245
0.158802
0.522686
0.517241
0.517241
0.517241
0.517241
0.517241
0
0.001188
0.209455
3,194
66
429
48.393939
0.871683
0.874452
0
0
0
0
0.014164
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
1
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
c1ef6cd665d8c946e334fa3d830567b1386f5e61
312
py
Python
src/helper/helper.py
JosephSalomon/GN-Core
9baf2c49bb176a4c9ffc76ab9feb823f7ca7bd20
[ "MIT" ]
null
null
null
src/helper/helper.py
JosephSalomon/GN-Core
9baf2c49bb176a4c9ffc76ab9feb823f7ca7bd20
[ "MIT" ]
null
null
null
src/helper/helper.py
JosephSalomon/GN-Core
9baf2c49bb176a4c9ffc76ab9feb823f7ca7bd20
[ "MIT" ]
null
null
null
###***********************************### ''' Grade Notifier File: helper.py Author: Ehud Adler Core Maintainers: Ehud Adler, Akiva Sherman, Yehuda Moskovits Copyright: Copyright 2019, Ehud Adler License: MIT ''' ###***********************************### def print_to_screen(text): print("RENDER::" + text)
20.8
44
0.541667
31
312
5.387097
0.774194
0.161677
0
0
0
0
0
0
0
0
0
0.014493
0.115385
312
14
45
22.285714
0.59058
0.746795
0
0
0
0
0.133333
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
2
c1f9b7556a7c50bccced5f81f9d0073842096cd3
21,532
py
Python
forms/models.py
CodeForAfrica/gmmp
d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf
[ "Apache-2.0" ]
4
2020-01-05T09:14:19.000Z
2022-02-17T03:22:09.000Z
forms/models.py
CodeForAfrica/gmmp
d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf
[ "Apache-2.0" ]
68
2019-12-23T02:19:55.000Z
2021-04-23T06:13:36.000Z
forms/models.py
CodeForAfrica/gmmp
d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf
[ "Apache-2.0" ]
2
2020-11-07T12:23:21.000Z
2021-11-07T18:21:31.000Z
from collections import OrderedDict from django.db import models from django.utils.translation import gettext_lazy as _ from forms.modelutils import * # The following necessitated for some of the channges # https://code.djangoproject.com/ticket/19539 necessitated removal of __metaclass__ # get_fields_with_model wa...
51.635492
454
0.711081
2,817
21,532
5.204118
0.124246
0.018417
0.014325
0.012005
0.741678
0.727763
0.695293
0.683765
0.668008
0.573738
0
0.016401
0.158973
21,532
416
455
51.759615
0.793142
0.038826
0
0.456376
0
0.043624
0.419158
0.010353
0
0
0
0
0
1
0.040268
false
0
0.013423
0
0.630872
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c1ff13cd5a2a14922d1493e6df72e80cbcc12e44
534
py
Python
saefportal/datasets/migrations/0020_auto_20210901_0612.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/datasets/migrations/0020_auto_20210901_0612.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/datasets/migrations/0020_auto_20210901_0612.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
1
2020-12-16T15:02:52.000Z
2020-12-16T15:02:52.000Z
# Generated by Django 3.1.6 on 2021-09-01 06:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('datasets', '0019_auto_20210826_2054'), ] operations = [ migrations.RenameField( model_name='connection', old_name='connectio...
22.25
48
0.580524
52
534
5.75
0.634615
0.140468
0.173913
0.200669
0.214047
0.214047
0.214047
0
0
0
0
0.084469
0.312734
534
23
49
23.217391
0.730245
0.08427
0
0.470588
1
0
0.203285
0.047228
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
de01c9c6a2cc6004b6daacdf13757b0791068e89
343
py
Python
cartes/__init__.py
xoolive/cartes
a9e8144e8e40eec66e2a21e96c46d09ad4f63853
[ "MIT" ]
20
2021-01-04T21:23:48.000Z
2021-12-14T15:28:15.000Z
cartes/__init__.py
xoolive/cartes
a9e8144e8e40eec66e2a21e96c46d09ad4f63853
[ "MIT" ]
null
null
null
cartes/__init__.py
xoolive/cartes
a9e8144e8e40eec66e2a21e96c46d09ad4f63853
[ "MIT" ]
null
null
null
import warnings import importlib_metadata from tqdm import TqdmExperimentalWarning # Monkey-patches GeoAxesSubplot for .set_extent() from .utils import geoaxes # noqa: F401 __version__ = importlib_metadata.version("cartes") # Silence this warning about autonotebook mode for tqdm warnings.simplefilter("ignore", Tq...
24.5
56
0.822157
38
343
7.236842
0.710526
0.123636
0
0
0
0
0
0
0
0
0
0.009901
0.116618
343
13
57
26.384615
0.89769
0.326531
0
0
0
0
0.052863
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
de149369b41d1ec4e6f661199e6f83b94f8b5653
416
py
Python
day4/00_composition.py
jduell12/CS35_IntroPython_GP
07036f884252497a9da0cd4aaeed017f3fe741bb
[ "MIT" ]
null
null
null
day4/00_composition.py
jduell12/CS35_IntroPython_GP
07036f884252497a9da0cd4aaeed017f3fe741bb
[ "MIT" ]
null
null
null
day4/00_composition.py
jduell12/CS35_IntroPython_GP
07036f884252497a9da0cd4aaeed017f3fe741bb
[ "MIT" ]
1
2021-04-09T17:35:57.000Z
2021-04-09T17:35:57.000Z
""" Inheritance - a base class is the 'parent' class which other classes can inherit attributes from - sub classes inherit from a parent class and can add more attributes to themselves in addition to the attributes inherited from the parent class - think of sub class as a 'is-a' relationship of the parent class C...
27.733333
145
0.762019
67
416
4.731343
0.462687
0.138801
0.132492
0
0
0
0
0
0
0
0
0
0.192308
416
14
146
29.714286
0.943452
0.975962
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
a9c43e4cb570112915981a697cd3fa398af9d942
528
py
Python
cmsplugin_pdf/cms_plugins.py
kaihoth/cmsplugin-pdf
5708947e7d40e7101f22198b2e3637499ec967ed
[ "MIT" ]
null
null
null
cmsplugin_pdf/cms_plugins.py
kaihoth/cmsplugin-pdf
5708947e7d40e7101f22198b2e3637499ec967ed
[ "MIT" ]
null
null
null
cmsplugin_pdf/cms_plugins.py
kaihoth/cmsplugin-pdf
5708947e7d40e7101f22198b2e3637499ec967ed
[ "MIT" ]
2
2021-01-15T12:01:24.000Z
2021-04-08T11:39:49.000Z
"""CMS Plugins for the ``cmsplugin_pdf`` app.""" from django.utils.translation import ugettext as _ from cms.plugin_base import CMSPluginBase from cms.plugin_pool import plugin_pool from .models import PDFPluginModel class PDFPlugin(CMSPluginBase): model = PDFPluginModel name = _('PDF File') render_temp...
26.4
55
0.75
64
528
6.015625
0.578125
0.077922
0.067532
0
0
0
0
0
0
0
0
0
0.159091
528
19
56
27.789474
0.867117
0.079545
0
0
0
0
0.102083
0.064583
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
a9d1738da8a05824ce4234b5aff1abc4836bc453
256
py
Python
Curso/ExMundo1/Ex031IfElse4PagarKm.py
DavidBitner/Aprendizado-Python
e1dcf18f9473c697fc2302f34a2d3e025ca6c969
[ "MIT" ]
null
null
null
Curso/ExMundo1/Ex031IfElse4PagarKm.py
DavidBitner/Aprendizado-Python
e1dcf18f9473c697fc2302f34a2d3e025ca6c969
[ "MIT" ]
null
null
null
Curso/ExMundo1/Ex031IfElse4PagarKm.py
DavidBitner/Aprendizado-Python
e1dcf18f9473c697fc2302f34a2d3e025ca6c969
[ "MIT" ]
null
null
null
d = int(input('Digite a distância percorrida: Km ')) p = float if d <= 200: p = d * 0.50 print('Total a pagar pelos {}Km rodados é R${:.2f}'.format(d, p)) else: p = d * 0.45 print('Total a pagar pelos {}Km rodados é R${:.2f}'.format(d, p))
28.444444
69
0.574219
48
256
3.0625
0.520833
0.027211
0.040816
0.217687
0.571429
0.571429
0.571429
0.571429
0.571429
0.571429
0
0.056122
0.234375
256
8
70
32
0.693878
0
0
0.25
0
0
0.46875
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
1
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
2