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
f44166a542bf3c794ed65c6aaf0e797e87ff2cd3
11,990
py
Python
ui_UpdateChecker_Fortschritt.py
ManuelDeV-exe/FFW_NAS
28383c52be70cd51718b9d453566a3763fc8922b
[ "CC0-1.0" ]
null
null
null
ui_UpdateChecker_Fortschritt.py
ManuelDeV-exe/FFW_NAS
28383c52be70cd51718b9d453566a3763fc8922b
[ "CC0-1.0" ]
null
null
null
ui_UpdateChecker_Fortschritt.py
ManuelDeV-exe/FFW_NAS
28383c52be70cd51718b9d453566a3763fc8922b
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'UpdateChecker_Fortschritt.ui' ## ## Created by: Qt User Interface Compiler version 6.2.3 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! #...
23.417969
153
0.605421
1,626
11,990
4.448339
0.228782
0.060003
0.051846
0.044795
0.42237
0.355869
0.285082
0.248445
0.20683
0.148763
0
0.05631
0.158716
11,990
511
154
23.463796
0.660751
0.0201
0
0.58502
1
0.012146
0.641179
0.156471
0
0
0
0
0
1
0.004049
false
0
0.008097
0
0.01417
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f459f4557196993f53cd6da0dbc1b33782bbd9a3
352
py
Python
KalmanShip/PythonFiles/GameClient/communication/speaker_channel.py
karshUniBremen/Godot_tutorial
f8df53d678e30a9be70a19b0ce2e6dd39b820750
[ "MIT" ]
null
null
null
KalmanShip/PythonFiles/GameClient/communication/speaker_channel.py
karshUniBremen/Godot_tutorial
f8df53d678e30a9be70a19b0ce2e6dd39b820750
[ "MIT" ]
null
null
null
KalmanShip/PythonFiles/GameClient/communication/speaker_channel.py
karshUniBremen/Godot_tutorial
f8df53d678e30a9be70a19b0ce2e6dd39b820750
[ "MIT" ]
null
null
null
import socket class speaker_channel: def __init__(self,ipaddress,portnumber): self.address=(ipaddress,portnumber) self.UDPClientSocket = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM) def send(self,message): bytesToSend = str.encode(message) self.UDPClientSocket.s...
35.2
91
0.732955
40
352
6.275
0.6
0.151394
0.183267
0
0
0
0
0
0
0
0
0
0.167614
352
10
92
35.2
0.856655
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
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
1
0
0
0
0
0
0
0
2
f45f6c9548d8e06c70779911bfed04f62dfc1118
347
py
Python
hypernets/hyperctl/__init__.py
lyhue1991/Hypernets
d726bd297869eacb0cba84376fbac30206bbb60a
[ "Apache-2.0" ]
3
2022-03-25T23:27:44.000Z
2022-03-27T01:32:28.000Z
hypernets/hyperctl/__init__.py
lyhue1991/Hypernets
d726bd297869eacb0cba84376fbac30206bbb60a
[ "Apache-2.0" ]
null
null
null
hypernets/hyperctl/__init__.py
lyhue1991/Hypernets
d726bd297869eacb0cba84376fbac30206bbb60a
[ "Apache-2.0" ]
null
null
null
from typing import Optional from .runtime import get_job_params class Context: def __init__(self, executor_manager, batch): self.executor_manager = executor_manager self.batch = batch _context = None def set_context(c): global _context _context = c def get_context() -> Optional[Con...
15.086957
48
0.708934
43
347
5.372093
0.488372
0.194805
0.164502
0
0
0
0
0
0
0
0
0
0.224784
347
22
49
15.772727
0.858736
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f46629b0c22af11222eab9238d9ed1bb2b98517c
486
py
Python
auth_api/serializers.py
delitamakanda/scrumboard-app
e6dacaa644569f3fc2f4cfd3c5ced92a07e7095e
[ "MIT" ]
6
2019-04-12T22:28:44.000Z
2020-06-30T08:06:16.000Z
auth_api/serializers.py
delitamakanda/scrumboard-app
e6dacaa644569f3fc2f4cfd3c5ced92a07e7095e
[ "MIT" ]
5
2019-11-13T23:43:32.000Z
2022-03-22T12:57:35.000Z
auth_api/serializers.py
delitamakanda/scrumboard-app
e6dacaa644569f3fc2f4cfd3c5ced92a07e7095e
[ "MIT" ]
1
2020-04-05T18:34:49.000Z
2020-04-05T18:34:49.000Z
from django.contrib.auth.models import User from rest_framework import serializers class UserSerializer(serializers.ModelSerializer): password = serializers.CharField(write_only=True) def create(self, validated_data): user = User.objects.create(username=validated_data['username']) user.set...
23.142857
71
0.6893
53
486
6.207547
0.603774
0.118541
0
0
0
0
0
0
0
0
0
0
0.207819
486
20
72
24.3
0.854545
0
0
0
0
0
0.069959
0
0
0
0
0
0
1
0.083333
false
0.25
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
f46735e2be34546b83ddc8a2b3631ad430182023
8,447
py
Python
EOS_API/My_First_API_Scriptv2.py
Hugh-Adams/Example_Scripts
21cd3c2857ec41c6fef4108ca3614d1f1ee9d9c6
[ "BSD-3-Clause" ]
5
2019-06-03T14:42:25.000Z
2022-03-03T21:04:29.000Z
EOS_API/My_First_API_Scriptv2.py
Hugh-Adams/Example_Scripts
21cd3c2857ec41c6fef4108ca3614d1f1ee9d9c6
[ "BSD-3-Clause" ]
null
null
null
EOS_API/My_First_API_Scriptv2.py
Hugh-Adams/Example_Scripts
21cd3c2857ec41c6fef4108ca3614d1f1ee9d9c6
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # Copyright (c) 2019, Arista Networks, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # - Redistributions of source code must retain the above copyright notice, # ...
43.096939
162
0.677637
1,117
8,447
5.080573
0.303492
0.019031
0.022907
0.014097
0.153656
0.121586
0.100088
0.085286
0.085286
0.052863
0
0.005515
0.227181
8,447
195
163
43.317949
0.863817
0.329466
0
0.089286
0
0
0.171997
0.006355
0
0
0
0
0
0
null
null
0.151786
0.089286
null
null
0.035714
0
0
0
null
0
0
0
0
0
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
f4680738e04071404ac03c3013ca7b7230c25354
107
py
Python
ABC089/ABC089a.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
ABC089/ABC089a.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
ABC089/ABC089a.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
# ABC089a import sys input = sys.stdin.readline sys.setrecursionlimit(10**6) n = int(input()) print(n//3)
13.375
28
0.71028
17
107
4.470588
0.764706
0
0
0
0
0
0
0
0
0
0
0.074468
0.121495
107
7
29
15.285714
0.734043
0.065421
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
f471298626453a2e9d886c99a481fa1c50afd395
4,361
py
Python
rekallpy/rekall/interval.py
pierrerappolt/rekall
f63659c6b12c68f235bca8df11e418daa2f82995
[ "Apache-2.0" ]
58
2019-04-06T08:22:07.000Z
2021-09-24T17:06:48.000Z
rekallpy/rekall/interval.py
pierrerappolt/rekall
f63659c6b12c68f235bca8df11e418daa2f82995
[ "Apache-2.0" ]
17
2019-03-31T18:00:57.000Z
2021-03-08T23:09:07.000Z
rekallpy/rekall/interval.py
pierrerappolt/rekall
f63659c6b12c68f235bca8df11e418daa2f82995
[ "Apache-2.0" ]
12
2018-12-09T05:04:08.000Z
2021-01-28T05:22:18.000Z
"""An Interval is a wrapper around a Bounds instance with a payload. """ class Interval: """A single Interval. An Interval is a wrapper around a Bounds and a payload. The payload can be referenced with the 'payload' key - i.e. ``interval['payload']``, as can the fields of the Bounds. The bounds field...
33.290076
81
0.598487
528
4,361
4.867424
0.25
0.046693
0.024903
0.010117
0.183658
0.16965
0.124514
0.091829
0.066148
0.066148
0
0.001677
0.316441
4,361
130
82
33.546154
0.86045
0.553084
0
0
0
0
0.049472
0
0
0
0
0
0
1
0.275
false
0
0
0.05
0.575
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
f472135c7e880a5e4faa0fa45f224d48470cec19
387
py
Python
algorithms/strings/reverse_string.py
zhengli0817/algorithms
3c98813f0329d9a5fff1107dbcd40e7f38d2275d
[ "MIT" ]
22,426
2017-01-17T04:01:44.000Z
2022-03-31T12:06:16.000Z
algorithms/strings/reverse_string.py
zhengli0817/algorithms
3c98813f0329d9a5fff1107dbcd40e7f38d2275d
[ "MIT" ]
523
2017-04-18T12:05:11.000Z
2022-03-20T11:10:41.000Z
algorithms/strings/reverse_string.py
zhengli0817/algorithms
3c98813f0329d9a5fff1107dbcd40e7f38d2275d
[ "MIT" ]
4,900
2017-01-19T23:47:05.000Z
2022-03-31T10:00:47.000Z
def recursive(s): l = len(s) if l < 2: return s return recursive(s[l//2:]) + recursive(s[:l//2]) def iterative(s): r = list(s) i, j = 0, len(s) - 1 while i < j: r[i], r[j] = r[j], r[i] i += 1 j -= 1 return "".join(r) def pythonic(s): r = list(reversed(s)...
17.590909
52
0.462532
67
387
2.656716
0.298507
0.168539
0.185393
0.134831
0
0
0
0
0
0
0
0.031128
0.335917
387
21
53
18.428571
0.661479
0
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.055556
0.5
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
1
0
0
0
0
0
0
0
2
f4721664cade02f50a4c53ff847f02d01146d168
2,343
py
Python
nmapthon/exceptions.py
cblopez/nmapthon
28d9887f2177d34c48f5c06279c7cadf83a8a9f6
[ "MIT" ]
11
2020-02-03T10:21:08.000Z
2022-02-26T23:16:16.000Z
nmapthon/exceptions.py
cblopez/nmapthon
28d9887f2177d34c48f5c06279c7cadf83a8a9f6
[ "MIT" ]
7
2020-05-07T05:24:48.000Z
2021-09-12T05:16:46.000Z
nmapthon/exceptions.py
cblopez/nmapthon
28d9887f2177d34c48f5c06279c7cadf83a8a9f6
[ "MIT" ]
3
2019-07-26T22:55:27.000Z
2021-11-28T10:44:41.000Z
#!/usr/bin/env python # Copyright (c) 2019 Christian Barral # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modi...
32.541667
98
0.732394
288
2,343
5.770833
0.430556
0.052948
0.090253
0.061372
0.23586
0.199759
0.199759
0.199759
0.199759
0.199759
0
0.002105
0.189074
2,343
72
99
32.541667
0.872632
0.60478
0
0.5
0
0
0.113272
0.026316
0
0
0
0
0
1
0.3
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f47a102cd5eb65133e9e75f29cb9b196ff6dc99c
701
py
Python
manage.py
jsphpl/nds-quota
ebe871320ee83b90dde046dad5948c20ae05913b
[ "MIT" ]
3
2019-12-06T03:52:00.000Z
2020-01-02T04:39:36.000Z
manage.py
jsphpl/nds-quota
ebe871320ee83b90dde046dad5948c20ae05913b
[ "MIT" ]
2
2019-11-23T16:24:28.000Z
2020-04-21T18:38:58.000Z
manage.py
jsphpl/nds-quota
ebe871320ee83b90dde046dad5948c20ae05913b
[ "MIT" ]
2
2019-11-23T15:59:43.000Z
2021-06-02T17:24:12.000Z
#!/usr/bin/env python3 from app import BaseApp from commands.seed import Seed from commands.list_users import ListUsers from commands.update_quota import UpdateQuota from commands.deauth_exceeded import DeauthExceeded class Manage(BaseApp): """Management script License: MIT Author: Joseph Paul <joseph@s...
23.366667
59
0.708987
84
701
5.714286
0.5
0.1
0.116667
0
0
0
0
0
0
0
0
0.001767
0.192582
701
29
60
24.172414
0.84629
0.142653
0
0
0
0
0.084192
0
0
0
0
0
0
1
0.125
false
0.0625
0.3125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
f47cec19783c14aa940246a17adbb7c131dcf7c3
9,669
py
Python
rmgpy/exceptions.py
cainja/RMG-Py
f9ad0f4244e476a28768c8a4a37410ad55bcd556
[ "MIT" ]
7
2017-10-04T16:04:14.000Z
2021-03-27T21:54:41.000Z
code/rmgpy/exceptions.py
tiger-tiger/Molecular-Image-Recognition
413e74bb526f56077cd5f70bb41fb7a075636174
[ "MIT" ]
null
null
null
code/rmgpy/exceptions.py
tiger-tiger/Molecular-Image-Recognition
413e74bb526f56077cd5f70bb41fb7a075636174
[ "MIT" ]
6
2017-10-04T15:37:05.000Z
2021-12-29T06:50:16.000Z
#!/usr/bin/env python # encoding: utf-8 ################################################################################ # # RMG - Reaction Mechanism Generator # # Copyright (c) 2002-2017 Prof. William H. Green (whgreen@mit.edu), # Prof. Richard H. West (r.west@neu.edu) and the RMG Team (rmg_dev@mit.edu) # # ...
32.337793
95
0.704623
1,207
9,669
5.622204
0.308202
0.038462
0.079576
0.064987
0.362216
0.314618
0.296788
0.274978
0.212644
0.191129
0
0.003051
0.220395
9,669
298
96
32.446309
0.897188
0.672045
0
0.4
0
0
0.015185
0
0
0
0
0
0
1
0.053333
false
0.4
0.013333
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
f47d1ef25edb2e6dfc7bce5d3052711371eed4c9
520
py
Python
grr/lib/rdfvalues/cronjobs.py
Onager/grr
646196bbfb332e4cb546b6d0fe1c09b57c675f7d
[ "Apache-2.0" ]
null
null
null
grr/lib/rdfvalues/cronjobs.py
Onager/grr
646196bbfb332e4cb546b6d0fe1c09b57c675f7d
[ "Apache-2.0" ]
1
2018-05-08T21:15:51.000Z
2018-05-08T21:15:51.000Z
grr/lib/rdfvalues/cronjobs.py
Onager/grr
646196bbfb332e4cb546b6d0fe1c09b57c675f7d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """RDFValues for cronjobs.""" from grr.lib import rdfvalue from grr.lib.rdfvalues import structs from grr_response_proto import jobs_pb2 from grr_response_proto import sysinfo_pb2 class CronTabEntry(structs.RDFProtoStruct): protobuf = sysinfo_pb2.CronTabEntry class CronTabFile(structs.RDFPr...
21.666667
47
0.788462
61
520
6.557377
0.442623
0.07
0.2175
0.1
0.325
0
0
0
0
0
0
0.011136
0.136538
520
23
48
22.608696
0.879733
0.084615
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.785714
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
f47eb63e8b30f8fa46c943d06a4f70c203c1ad5c
646
py
Python
CLV-dataset-weekly-training-and-prediction/config.py
mbrummerstedt/CLV_Production_Google_Cloud
7e34567503b070b273a1baebae1c0892bd16d5af
[ "Apache-2.0" ]
1
2021-09-07T18:45:48.000Z
2021-09-07T18:45:48.000Z
CLV-dataset-weekly-training-and-prediction/config.py
mbrummerstedt/CLV_Production_Google_Cloud
7e34567503b070b273a1baebae1c0892bd16d5af
[ "Apache-2.0" ]
null
null
null
CLV-dataset-weekly-training-and-prediction/config.py
mbrummerstedt/CLV_Production_Google_Cloud
7e34567503b070b273a1baebae1c0892bd16d5af
[ "Apache-2.0" ]
1
2021-02-25T03:30:25.000Z
2021-02-25T03:30:25.000Z
config_vars = { # Set Variables that will be used in script 'PENALIZER_COEF': 0.03, 'DISCOUNT_RATE': 0.01, 'PREDICTION_LENGTH_IN_MONTHS': 6, 'MODEL_TYPE':'BGNBD', 'FREQUENZY':'M', 'GCS_BUCKET_MODELS': 'your_company_trained_ml_models_production', 'GCS_BUCKET_PREDICTIONS': 'your_company_ml...
43.066667
101
0.733746
83
646
5.349398
0.662651
0.040541
0.067568
0.094595
0.189189
0.189189
0.189189
0
0
0
0
0.012478
0.131579
646
14
102
46.142857
0.778966
0.063467
0
0
0
0
0.736318
0.548922
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
be3b8429802183c6d0cd3b066a37b27444781b25
81,776
py
Python
imgaug/augmenters/pillike.py
dukebw/imgaug
eba6eef5808704926edce97de39af23cab18cb7f
[ "MIT" ]
null
null
null
imgaug/augmenters/pillike.py
dukebw/imgaug
eba6eef5808704926edce97de39af23cab18cb7f
[ "MIT" ]
null
null
null
imgaug/augmenters/pillike.py
dukebw/imgaug
eba6eef5808704926edce97de39af23cab18cb7f
[ "MIT" ]
null
null
null
""" Augmenters that have identical outputs to well-known PIL functions. The ``like`` in ``pillike`` indicates that the augmenters in this module have identical outputs and mostly identical inputs to corresponding PIL functions, but do not *have to* wrap these functions internally. They may use internally different (e....
30.253792
262
0.612588
10,205
81,776
4.808623
0.064282
0.020541
0.038148
0.015039
0.740606
0.717008
0.692758
0.666612
0.652022
0.632866
0
0.021827
0.273931
81,776
2,702
263
30.264989
0.804648
0.636532
0
0.4573
0
0.001377
0.046175
0.006806
0
0
0
0.00185
0.006887
1
0.084022
false
0
0.026171
0.002755
0.210744
0.001377
0
0
0
null
0
0
0
0
1
0
0
0
1
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
be3bf8723ce00f51c6f029bdf4f84c07392924a9
874
py
Python
flambe/export/exporter.py
iconix/flambe
939e28853ece75094ae9335e3d10e3821235a97a
[ "MIT" ]
null
null
null
flambe/export/exporter.py
iconix/flambe
939e28853ece75094ae9335e3d10e3821235a97a
[ "MIT" ]
null
null
null
flambe/export/exporter.py
iconix/flambe
939e28853ece75094ae9335e3d10e3821235a97a
[ "MIT" ]
null
null
null
from typing import Dict from flambe import Component class Exporter(Component): """Implement an Exporter computable. This object can be viewed as a dummy computable. It is useful to group objects into a block when those get save, to more easily refer to them later on, for instance in an object build...
22.410256
69
0.583524
105
874
4.819048
0.590476
0.039526
0.051383
0.086957
0
0
0
0
0
0
0
0
0.326087
874
38
70
23
0.859083
0.488558
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
be425c01285aae8222a3fa6c10c7722c795d1dc4
1,583
py
Python
tests/test_route.py
briancappello/flask-controller-bundle
1a5b9c58156083b711f90133d8ccb45d50b79aab
[ "MIT" ]
null
null
null
tests/test_route.py
briancappello/flask-controller-bundle
1a5b9c58156083b711f90133d8ccb45d50b79aab
[ "MIT" ]
null
null
null
tests/test_route.py
briancappello/flask-controller-bundle
1a5b9c58156083b711f90133d8ccb45d50b79aab
[ "MIT" ]
null
null
null
import pytest from flask_controller_bundle import Controller from flask_controller_bundle.attr_constants import CONTROLLER_ROUTES_ATTR from flask_controller_bundle.route import Route class TestRoute: def test_should_register_defaults_to_true(self): route = Route('/path', lambda: 'view_func') asse...
34.413043
75
0.687303
201
1,583
5.124378
0.278607
0.095146
0.066019
0.097087
0.569903
0.500971
0.500971
0.405825
0.405825
0.332039
0
0.001635
0.227416
1,583
45
76
35.177778
0.840556
0
0
0.323529
0
0
0.086545
0.037903
0
0
0
0
0.205882
1
0.264706
false
0.088235
0.117647
0
0.470588
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
be481a2e68fcb0c8c9ab862ee8fbc38986202832
378
py
Python
applications/app2 (copy)/models/db1.py
sanuptpm/web2py
598e3aae391b092f1ab8873c55b937cb7607faf9
[ "BSD-3-Clause" ]
null
null
null
applications/app2 (copy)/models/db1.py
sanuptpm/web2py
598e3aae391b092f1ab8873c55b937cb7607faf9
[ "BSD-3-Clause" ]
null
null
null
applications/app2 (copy)/models/db1.py
sanuptpm/web2py
598e3aae391b092f1ab8873c55b937cb7607faf9
[ "BSD-3-Clause" ]
null
null
null
# auth.signature add default fields like the created on/ create by/ modified by/ modified on db.define_table('blog_post', Field('title', requires=IS_NOT_EMPTY()), Field('body', 'text', requires=IS_NOT_EMPTY()), auth.signature) db.define_table('blog_comment', Field('blog_post', 'reference blog_post'), Field('comme...
34.363636
92
0.740741
55
378
4.872727
0.509091
0.145522
0.145522
0.201493
0.261194
0.261194
0.261194
0
0
0
0
0
0.100529
378
11
93
34.363636
0.788235
0.238095
0
0
0
0
0.25784
0
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
0
0
2
be4e76aec3bfd99f938d1610738b7579d3483a6e
485
py
Python
qspreadsheet/__init__.py
SabevAtGitHub/qspreadsheet
29127dd6f38573c7ede7680cf8f4852368fb2c38
[ "MIT" ]
null
null
null
qspreadsheet/__init__.py
SabevAtGitHub/qspreadsheet
29127dd6f38573c7ede7680cf8f4852368fb2c38
[ "MIT" ]
null
null
null
qspreadsheet/__init__.py
SabevAtGitHub/qspreadsheet
29127dd6f38573c7ede7680cf8f4852368fb2c38
[ "MIT" ]
null
null
null
import os import PySide2 plugin_path = os.path.join(os.path.dirname( PySide2.__file__), 'plugins', 'platforms') os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = plugin_path import pandas import numpy if pandas.__version__ < '1.0.0': pandas.NA = numpy.nan from . import resources_rc from .common import * from .cust...
24.25
55
0.76701
70
485
5.014286
0.514286
0.17094
0.108262
0
0
0
0
0
0
0
0
0.011933
0.136082
485
20
56
24.25
0.825776
0
0
0
0
0
0.098765
0.055556
0
0
0
0
0
1
0
false
0
0.705882
0
0.705882
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
be66df991fbac61b26c35b6e206cc14226fb8b65
863
py
Python
build/lib/GetArgs/ManagingArgs/Criteria.py
MSBeni/PublishArgparse
140d8e5f503248a0b06b76c7d698ffb3875ba580
[ "MIT" ]
null
null
null
build/lib/GetArgs/ManagingArgs/Criteria.py
MSBeni/PublishArgparse
140d8e5f503248a0b06b76c7d698ffb3875ba580
[ "MIT" ]
null
null
null
build/lib/GetArgs/ManagingArgs/Criteria.py
MSBeni/PublishArgparse
140d8e5f503248a0b06b76c7d698ffb3875ba580
[ "MIT" ]
null
null
null
class ArgsCriteria: """Search parameters class""" def __init__(self): self.maxTweets = 0 self.topTweets = False self.within = "15mi" self.emoji = "ignore" def setcounttill100(self, counttill100): """Set the permission to count to 100 Parameters -----...
23.972222
56
0.527231
87
863
5.183908
0.448276
0.059867
0.070953
0.079823
0
0
0
0
0
0
0
0.052727
0.362688
863
35
57
24.657143
0.767273
0.301275
0
0
0
0
0.020704
0
0
0
0
0
0
1
0.266667
false
0
0
0
0.533333
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
be75690b5a40f63a9da2b9fc06ef6edbe905d187
2,162
py
Python
rigi/axioms.py
wangjwchn/autogr
c6b5404f6165ea6374f628dbd433ef25253ab5f8
[ "MIT" ]
null
null
null
rigi/axioms.py
wangjwchn/autogr
c6b5404f6165ea6374f628dbd433ef25253ab5f8
[ "MIT" ]
null
null
null
rigi/axioms.py
wangjwchn/autogr
c6b5404f6165ea6374f628dbd433ef25253ab5f8
[ "MIT" ]
null
null
null
from z3 import * def __Unique(idA,idB): return idA != idB def __TimeStamp(tA,tB): return tA != tB def AxiomUniqueArgument(opname,arg): def Axiom(argvA,argvB): A = argvA[opname][arg] B = argvB[opname][arg] return And(__Unique(A,B)) return Axiom def AxiomUniqueArguments(opname,...
26.365854
59
0.574006
296
2,162
4.084459
0.172297
0.090984
0.111663
0.119107
0.661704
0.529363
0.529363
0.529363
0.504549
0.504549
0
0.040748
0.307586
2,162
82
60
26.365854
0.766867
0
0
0.647887
0
0
0
0
0
0
0
0
0
1
0.267606
false
0
0.014085
0.070423
0.549296
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
be85ef7288892c4bbc9a3a1320eab2512f5107d4
2,450
py
Python
tests/test_parametric_components/test_CoolantChannelRingCurved.py
PullRequest-Agent/paramak
f807d88098458d1975dd1a4a47dcea22d9f74785
[ "MIT" ]
null
null
null
tests/test_parametric_components/test_CoolantChannelRingCurved.py
PullRequest-Agent/paramak
f807d88098458d1975dd1a4a47dcea22d9f74785
[ "MIT" ]
null
null
null
tests/test_parametric_components/test_CoolantChannelRingCurved.py
PullRequest-Agent/paramak
f807d88098458d1975dd1a4a47dcea22d9f74785
[ "MIT" ]
null
null
null
import unittest import paramak import pytest class test_CoolantChannelRingCurved(unittest.TestCase): def test_CoolantChannelRingCurved_creation(self): """creates a coolant channel ring using the CoolantChannelRingCurved parametric shape and checks that a cadquery solid is created""" tes...
30.246914
93
0.617143
257
2,450
5.564202
0.233463
0.094406
0.083916
0.128671
0.727273
0.727273
0.727273
0.648951
0.648951
0.581818
0
0.053108
0.323673
2,450
80
94
30.625
0.809897
0.114286
0
0.677419
0
0
0
0
0
0
0
0
0.080645
1
0.032258
false
0
0.048387
0
0.096774
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
be8d5e95e6e7a85aa7f8408ea67cf7d1e7b7db74
99
py
Python
quiz33.py
DailyCodingHabit/dailyquiz
06d2bdd73cde41ce93449cbeed336115a3131dd9
[ "Apache-2.0" ]
null
null
null
quiz33.py
DailyCodingHabit/dailyquiz
06d2bdd73cde41ce93449cbeed336115a3131dd9
[ "Apache-2.0" ]
null
null
null
quiz33.py
DailyCodingHabit/dailyquiz
06d2bdd73cde41ce93449cbeed336115a3131dd9
[ "Apache-2.0" ]
null
null
null
List1 = [2,6,3] List2 = List1 List1.append(9); List1 = sum(List2) print(str(List1)[0])
11
21
0.575758
16
99
3.5625
0.6875
0
0
0
0
0
0
0
0
0
0
0.157895
0.232323
99
8
22
12.375
0.592105
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
be93c39551c6f4d0f3205923c5d2f11065b4f447
2,704
py
Python
extras/satoshiDiceStats.py
Manny27nyc/BitcoinArmory
1d02a6640d6257ab0c37013e5cd4b99681a5cfc3
[ "MIT" ]
505
2016-02-04T15:54:46.000Z
2022-03-27T18:43:01.000Z
extras/satoshiDiceStats.py
jimmysong/BitcoinArmory
1c7190176897a2e0f3e4e198ab2f199059bb2402
[ "MIT" ]
528
2016-02-06T19:50:12.000Z
2022-01-15T10:21:16.000Z
extras/satoshiDiceStats.py
jimmysong/BitcoinArmory
1c7190176897a2e0f3e4e198ab2f199059bb2402
[ "MIT" ]
208
2015-01-02T10:31:40.000Z
2021-12-14T07:37:36.000Z
from math import log, sqrt from sys import argv Targets = [1,2,4,8,16,32,64,128,256,512,1000,2000,3000,4000,6000,8000,12000,16000,24000,32000, 32768,48000,64000] # Assumptions # Expected Return as defined by the site E = 0.97 # Standard fee to be returned F = 0.0000 # Number of bets for the cumulative statistics nB...
30.044444
113
0.608358
461
2,704
3.56833
0.305857
0.051064
0.058359
0.039514
0.424316
0.424316
0.393921
0.345289
0.345289
0.345289
0
0.124709
0.205251
2,704
89
114
30.382022
0.640763
0.080621
0
0.4
0
0
0.263816
0
0
0
0
0
0
0
null
null
0
0.030769
null
null
0.492308
0
0
0
null
0
0
0
0
0
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
be9610a741a627b88780d3b344bbe8c09cd68400
5,316
py
Python
text classification naive bayes.py
touir1/Spam-Classifier-machine-learning-Gaussian-Naive-Bayes-
872ed4704bd91cadc9c1c70d09e7550ae90e61b3
[ "MIT" ]
1
2017-10-16T06:38:52.000Z
2017-10-16T06:38:52.000Z
text classification naive bayes.py
touir1/Spam-Classifier-machine-learning-Gaussian-Naive-Bayes-
872ed4704bd91cadc9c1c70d09e7550ae90e61b3
[ "MIT" ]
null
null
null
text classification naive bayes.py
touir1/Spam-Classifier-machine-learning-Gaussian-Naive-Bayes-
872ed4704bd91cadc9c1c70d09e7550ae90e61b3
[ "MIT" ]
null
null
null
from sklearn.naive_bayes import GaussianNB from sklearn.feature_extraction.text import CountVectorizer import json import random import numpy as np import pickle as pkl _DATA_FILE = "msgs_2.json" _CLASSIFIER_MODEL_FILE = "spam_classifier_model.pkl" _VECTORIZER_FILE = "spam_vectorizer.pkl" def label_to_int(lbl): i...
69.947368
2,928
0.708239
811
5,316
4.584464
0.41307
0.019365
0.013717
0.020172
0.094406
0.058096
0.049489
0.033889
0.033889
0.033889
0
0.025325
0.190369
5,316
75
2,929
70.88
0.838058
0
0
0.125
0
0.03125
0.637886
0.052295
0
0
0
0
0
1
0.03125
false
0
0.109375
0
0.1875
0.015625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
be9ad9d1760cf9052bf7206a0092cc1edc06fdb9
993
py
Python
records/tests/test_urls.py
SNFernandes24/church-ims
944b7e65e926276adfe376ace01cf0adf135b954
[ "MIT" ]
null
null
null
records/tests/test_urls.py
SNFernandes24/church-ims
944b7e65e926276adfe376ace01cf0adf135b954
[ "MIT" ]
null
null
null
records/tests/test_urls.py
SNFernandes24/church-ims
944b7e65e926276adfe376ace01cf0adf135b954
[ "MIT" ]
null
null
null
from django.test import SimpleTestCase from django.urls import resolve from django.utils.module_loading import import_string class TemperatureRecordsListURLTestCase(SimpleTestCase): def setUp(self): self.match = resolve("/records/temperature/") def test_view_func(self): self.assertEqual( ...
31.03125
83
0.713998
106
993
6.5
0.301887
0.069666
0.063861
0.133527
0.606676
0.606676
0.606676
0.606676
0.606676
0.432511
0
0
0.191339
993
31
84
32.032258
0.858032
0
0
0.434783
0
0
0.202417
0.202417
0
0
0
0
0.173913
1
0.26087
false
0
0.217391
0
0.565217
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
be9ecae8f4ffbfd462b19acbe11fe1fedee4b3af
3,566
py
Python
inference/smart_init.py
chris-stock/pyglm
fff2e91b0936275f37a7860bd75f867b560f4993
[ "MIT" ]
1
2017-03-11T19:10:17.000Z
2017-03-11T19:10:17.000Z
inference/smart_init.py
chris-stock/pyglm
fff2e91b0936275f37a7860bd75f867b560f4993
[ "MIT" ]
null
null
null
inference/smart_init.py
chris-stock/pyglm
fff2e91b0936275f37a7860bd75f867b560f4993
[ "MIT" ]
null
null
null
import numpy as np from components.bkgd import BasisStimulus, SpatiotemporalStimulus from utils.sta import sta from utils.basis import project_onto_basis def initialize_with_data(population, data, x0, Ns=None): """ Initialize the parameters x0 with smart draws from the data """ initialize_stim_with_sta(p...
35.66
99
0.584969
492
3,566
4.091463
0.26626
0.009935
0.067561
0.087432
0.399901
0.337308
0.318927
0.228515
0.140089
0.086438
0
0.011976
0.297532
3,566
99
100
36.020202
0.791617
0.141054
0
0.163934
0
0
0.049638
0
0
0
0
0.020202
0
0
null
null
0
0.065574
null
null
0.016393
0
0
0
null
0
0
0
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
bea0811b8f4640b9e71ef41f387f5f8177c0fdb9
451
py
Python
rspec/last_run.py
cwilbur/TestRSpec
e69209d5891667f90003b32c2190bda41b309663
[ "MIT" ]
null
null
null
rspec/last_run.py
cwilbur/TestRSpec
e69209d5891667f90003b32c2190bda41b309663
[ "MIT" ]
null
null
null
rspec/last_run.py
cwilbur/TestRSpec
e69209d5891667f90003b32c2190bda41b309663
[ "MIT" ]
null
null
null
import sublime class LastRun(object): SETTINGS_FILE = "TestRSpec.last-run" @classmethod def save(klass, command_hash): settings = sublime.load_settings(klass.SETTINGS_FILE) settings.set("command_hash", command_hash) sublime.save_settings(klass.SETTINGS_FILE) @classmethod ...
26.529412
61
0.709534
52
451
5.923077
0.384615
0.178571
0.204545
0.243506
0.285714
0.285714
0.285714
0
0
0
0
0
0.197339
451
16
62
28.1875
0.850829
0
0
0.333333
0
0
0.093126
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.5
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
beae1640b8c15656cd1f46bfaa2b373bb8056262
214
py
Python
modifiedNLM/estimate/__init__.py
CIERMag-FFPaivaStudents/NLM
1d63b7ed9512e9b902c2c77d889d55a287bd1b41
[ "MIT" ]
null
null
null
modifiedNLM/estimate/__init__.py
CIERMag-FFPaivaStudents/NLM
1d63b7ed9512e9b902c2c77d889d55a287bd1b41
[ "MIT" ]
1
2022-03-22T15:58:23.000Z
2022-03-31T22:10:20.000Z
modifiedNLM/estimate/__init__.py
CIERMag-FFPaivaStudents/NLM
1d63b7ed9512e9b902c2c77d889d55a287bd1b41
[ "MIT" ]
null
null
null
"""Python code for estimating a Rician standard deviation.""" from .noise_estimate import rician_estimate __version__ = '0.1.0' __author__ = 'Gustavo Solcia <gustavo.solcia@usp.br>' __all__ = ['rician_estimate']
26.75
61
0.761682
28
214
5.285714
0.75
0.189189
0
0
0
0
0
0
0
0
0
0.015873
0.116822
214
7
62
30.571429
0.767196
0.257009
0
0
0
0
0.379085
0.150327
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
beb06471576193a065e26bc97fa8c5f939e27d79
2,365
py
Python
types/booleans.py
anthony-walker/me499
1ec5761a822956b4e18f83b3e0cda93715b74b3e
[ "BSD-3-Clause" ]
11
2020-03-31T21:27:19.000Z
2022-01-11T09:50:13.000Z
types/booleans.py
anthony-walker/me499
1ec5761a822956b4e18f83b3e0cda93715b74b3e
[ "BSD-3-Clause" ]
null
null
null
types/booleans.py
anthony-walker/me499
1ec5761a822956b4e18f83b3e0cda93715b74b3e
[ "BSD-3-Clause" ]
5
2020-05-13T05:47:23.000Z
2021-09-27T18:43:25.000Z
#!/usr/bin/env python3 def yes(): """ Simple function that returns True :return: True """ print(' yes()') return True def no(): """ Simple function that returns False :return: False """ print(' no()') return False def get_value(): """ Function that just ...
24.894737
120
0.604651
354
2,365
4
0.347458
0.016949
0.027542
0.035311
0.107345
0.024011
0
0
0
0
0
0.007932
0.306977
2,365
94
121
25.159574
0.85601
0.473996
0
0.133333
0
0
0.207692
0
0
0
0
0
0
1
0.066667
false
0.066667
0
0
0.133333
0.422222
0
0
0
null
0
0
0
0
0
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
1
0
2
beb260e240f2c21a40ac66d4484d862e805e068b
2,398
py
Python
catalyst_rl/rl2/core/runner.py
rhololkeolke/catalyst-rl
ec18ff4a58b6d00652f772231db8de86debb4b3d
[ "Apache-2.0" ]
46
2020-03-27T20:12:32.000Z
2021-11-21T19:08:51.000Z
catalyst_rl/rl2/core/runner.py
rhololkeolke/catalyst-rl
ec18ff4a58b6d00652f772231db8de86debb4b3d
[ "Apache-2.0" ]
2
2020-04-06T10:43:04.000Z
2020-07-01T18:26:10.000Z
catalyst_rl/rl2/core/runner.py
rhololkeolke/catalyst-rl
ec18ff4a58b6d00652f772231db8de86debb4b3d
[ "Apache-2.0" ]
5
2020-04-17T14:09:53.000Z
2021-05-10T08:58:29.000Z
from typing import Any, List, Mapping import numpy as np import torch from catalyst_rl.core import _Runner from catalyst_rl.rl2 import ( AlgorithmSpec, EnvironmentSpec, RLExperiment, RLState, utils ) # RLRunner has only one stage (?) - endless training # each Epoch we recalculate training loader based on curren...
31.552632
79
0.648874
279
2,398
5.401434
0.426523
0.039814
0.033842
0.026543
0.112143
0.091573
0.054413
0
0
0
0
0.00169
0.2598
2,398
75
80
31.973333
0.847324
0.35613
0
0.078947
0
0
0
0
0
0
0
0.013333
0
1
0.157895
false
0.078947
0.131579
0
0.394737
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
1
0
0
0
0
0
2
beb5049f25cc33481448dce92df2025c888ad87d
499
py
Python
tests/test_network_info.py
rborden-appsec/yawast
121ea626365c581cf3165bc81c6670508362cf56
[ "MIT" ]
200
2016-02-06T17:14:03.000Z
2022-03-14T00:50:25.000Z
tests/test_network_info.py
rborden-appsec/yawast
121ea626365c581cf3165bc81c6670508362cf56
[ "MIT" ]
341
2016-02-06T21:53:47.000Z
2021-09-27T22:40:25.000Z
tests/test_network_info.py
rborden-appsec/yawast
121ea626365c581cf3165bc81c6670508362cf56
[ "MIT" ]
68
2016-02-17T08:10:47.000Z
2021-05-27T23:26:07.000Z
# Copyright (c) 2013 - 2019 Adam Caudill and Contributors. # This file is part of YAWAST which is released under the MIT license. # See the LICENSE file or go to https://yawast.org/license/ for full license details. from unittest import TestCase from yawast.scanner.plugins.dns import network_info class TestNetwo...
33.266667
86
0.739479
72
499
5.055556
0.736111
0.120879
0
0
0
0
0
0
0
0
0
0.041262
0.174349
499
14
87
35.642857
0.842233
0.422846
0
0
0
0
0.173145
0
0
0
0
0
0.166667
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
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
bebe99570cabcce44084297f2edfb88a7980d8bc
323
py
Python
Python Basics/For Loop/Lab/Task10.py
DonikaChervenkova/SoftUni
bff579c037ec48f39ed193b34bc3502a32e90732
[ "MIT" ]
1
2022-03-16T10:23:04.000Z
2022-03-16T10:23:04.000Z
Python Basics/For Loop/Lab/Task10.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
Python Basics/For Loop/Lab/Task10.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
1
2021-12-04T12:30:57.000Z
2021-12-04T12:30:57.000Z
n = int(input()) sum_odd = 0 sum_even = 0 for i in range(1, n + 1): num = int(input()) if i % 2 == 0: sum_even += num else: sum_odd += num if sum_even == sum_odd: print("Yes") print(f"Sum = {sum_even}") else: diff = abs(sum_even - sum_odd) print("No") print(f"Diff = {diff...
20.1875
34
0.526316
55
323
2.927273
0.4
0.217391
0.099379
0.161491
0.223602
0
0
0
0
0
0
0.026549
0.30031
323
16
35
20.1875
0.685841
0
0
0.125
0
0
0.104938
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
bec65251e086f603c1094954883fc1548a6115d9
455
py
Python
task014.py
lessunc/python-guanabara
5c4c41eb46cc1742fdf36e3dc3c830a189344fad
[ "MIT" ]
32
2018-12-09T00:44:20.000Z
2022-03-11T19:28:53.000Z
task014.py
lessunc/python-guanabara
5c4c41eb46cc1742fdf36e3dc3c830a189344fad
[ "MIT" ]
null
null
null
task014.py
lessunc/python-guanabara
5c4c41eb46cc1742fdf36e3dc3c830a189344fad
[ "MIT" ]
4
2019-01-21T08:04:29.000Z
2020-06-01T14:27:15.000Z
#coding: utf-8 #---------------------------------------------- # Um programa que recebe e converte uma # temperatura em °C para °F. #---------------------------------------------- # Conversor de Temperaturas - Exercício #014 #---------------------------------------------- c = float(input('Informe a temperatura em ...
30.333333
57
0.452747
55
455
3.836364
0.654545
0.123223
0.132701
0.14218
0
0
0
0
0
0
0
0.027919
0.134066
455
14
58
32.5
0.494924
0.646154
0
0
0
0
0.523179
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
bec7281c4093188db92741b40c8cc215affb722d
214
py
Python
config_template.py
fghcdp/dydxbot
7889c4276ec25dba2f8e51c9eec91b4bcc33041c
[ "MIT" ]
6
2021-10-06T06:28:58.000Z
2022-03-28T03:55:31.000Z
config_template.py
ccyanxyz/dydxbot
7889c4276ec25dba2f8e51c9eec91b4bcc33041c
[ "MIT" ]
null
null
null
config_template.py
ccyanxyz/dydxbot
7889c4276ec25dba2f8e51c9eec91b4bcc33041c
[ "MIT" ]
3
2021-10-06T06:29:06.000Z
2022-01-07T14:22:38.000Z
HOST = 'https://api.dydx.exchange' ETHEREUM_ADDRESS = '' API_KEY_CREDENTIALS = { 'key': '', 'secret': '', 'passphrase': '' } STARK_PRIVATE_KEY = '' QUOTATION_ASSET = 'USD' BASE_ASSETS = [ 'ETH', ]
15.285714
34
0.593458
22
214
5.454545
0.863636
0
0
0
0
0
0
0
0
0
0
0
0.205607
214
13
35
16.461538
0.705882
0
0
0
0
0
0.233645
0
0
0
0
0
0
1
0
false
0.083333
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
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
fe2f87ec273ebb0b923f20752bb31172f7c7d2b2
3,523
py
Python
packages/pyre/constraints/__init__.py
PyreFramework/pyre
345c7449a3416eea1c1affa74fb32faff30a6aaa
[ "BSD-3-Clause" ]
null
null
null
packages/pyre/constraints/__init__.py
PyreFramework/pyre
345c7449a3416eea1c1affa74fb32faff30a6aaa
[ "BSD-3-Clause" ]
null
null
null
packages/pyre/constraints/__init__.py
PyreFramework/pyre
345c7449a3416eea1c1affa74fb32faff30a6aaa
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2022 all rights reserved # """ This package provides access to the set of builtin constraints. Constraints are predicates that raise a ConstraintViolationError exception whenever the value they were asked to validate fails to meet their specifi...
23.177632
95
0.685211
486
3,523
4.967078
0.351852
0.055924
0.029826
0.042254
0.136288
0.10232
0.072494
0.060481
0.030655
0
0
0.007435
0.236446
3,523
151
96
23.331126
0.889963
0.597502
0
0
0
0
0
0
0
0
0
0
0
1
0.35
false
0
0.3
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
1
0
0
0
0
1
0
0
2
fe3e729adadbe49a38ddd5a910c079a2cee3eaeb
319,298
py
Python
application/workprogramsapp/bars_merge/educational_program_list.py
dimova17/analytics_backend
4ee4762f8766073e57266fa281b78b742df8ca5e
[ "MIT" ]
1
2021-08-24T08:52:54.000Z
2021-08-24T08:52:54.000Z
application/workprogramsapp/bars_merge/educational_program_list.py
dimova17/analytics_backend
4ee4762f8766073e57266fa281b78b742df8ca5e
[ "MIT" ]
3
2022-01-13T03:57:45.000Z
2022-03-12T01:01:21.000Z
application/workprogramsapp/bars_merge/educational_program_list.py
dimova17/analytics_backend
4ee4762f8766073e57266fa281b78b742df8ca5e
[ "MIT" ]
null
null
null
ep_list = [ { "id": 4334, "code": "09.04.03.", "name": "Мобильные и сетевые технологии" }, { "id": 4332, "code": "09.04.01.", "name": "Компьютерные системы и технологии" }, { "id": 1839, "code": "12.04.02.", "name": "Прикладная ...
24.879071
212
0.501375
27,386
319,298
5.774702
0.153911
0.159473
0.202598
0.224982
0.651898
0.619181
0.507727
0.39289
0.33132
0.293849
0
0.067403
0.358599
319,298
12,834
213
24.879071
0.704802
0
0
0.426757
0
0.000935
0.462773
0.009364
0
0
0
0
0
1
0
false
0
0
0
0
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
fe6c54efc2714a3cdfcbf3a33e57fc413160fcdd
186
py
Python
ex012.py
almmessias/CursoPython
4cec6946f32002cbd5d3b802df11ea1ba74169f5
[ "MIT" ]
null
null
null
ex012.py
almmessias/CursoPython
4cec6946f32002cbd5d3b802df11ea1ba74169f5
[ "MIT" ]
null
null
null
ex012.py
almmessias/CursoPython
4cec6946f32002cbd5d3b802df11ea1ba74169f5
[ "MIT" ]
null
null
null
preco = float(input ('Qual valor do produto? R$')) desconto = preco - (preco * 5 / 100) print ('O valor do produto é R${:.2f} com desconto de 5% fica R${:.2f}'.format(preco, desconto))
37.2
96
0.645161
31
186
3.870968
0.612903
0.116667
0.233333
0
0
0
0
0
0
0
0
0.045455
0.172043
186
4
97
46.5
0.733766
0
0
0
0
0
0.467742
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
fe7083c7ff9f33959d66a5e8dfd7697d80176d20
6,289
py
Python
tensorflow/contrib/distributions/python/ops/uniform.py
connectthefuture/tensorflow
93812423fcd5878aa2c1d0b68dc0496980c8519d
[ "Apache-2.0" ]
1
2016-12-12T09:46:14.000Z
2016-12-12T09:46:14.000Z
tensorflow/contrib/distributions/python/ops/uniform.py
connectthefuture/tensorflow
93812423fcd5878aa2c1d0b68dc0496980c8519d
[ "Apache-2.0" ]
null
null
null
tensorflow/contrib/distributions/python/ops/uniform.py
connectthefuture/tensorflow
93812423fcd5878aa2c1d0b68dc0496980c8519d
[ "Apache-2.0" ]
1
2020-07-20T18:02:33.000Z
2020-07-20T18:02:33.000Z
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
34.554945
92
0.648752
871
6,289
4.500574
0.262916
0.034694
0.045918
0.015306
0.169898
0.082143
0.057653
0.044898
0.044898
0.022449
0
0.015464
0.228812
6,289
181
93
34.745856
0.792784
0.343139
0
0.04
0
0
0.012843
0
0
0
0
0
0.02
1
0.18
false
0
0.15
0.13
0.51
0.01
0
0
0
null
0
0
0
0
0
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
fe7ff21a1f3d9b2001383f6fa2b4fdcea2b3a2f7
335
py
Python
Front/views.py
Rat-Shop/RatShop
e3878584fe8cd865bd00a36b0b039e543aaf85aa
[ "MIT" ]
null
null
null
Front/views.py
Rat-Shop/RatShop
e3878584fe8cd865bd00a36b0b039e543aaf85aa
[ "MIT" ]
null
null
null
Front/views.py
Rat-Shop/RatShop
e3878584fe8cd865bd00a36b0b039e543aaf85aa
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.conf import settings from categories.models import ShopCategory # Create your views here. def home_view(request): context = { 'shopName': settings.SHOP_NAME, 'categories': ShopCategory.objects.all(), } return render(request, 'Front/index.htm...
20.9375
55
0.713433
39
335
6.076923
0.717949
0.084388
0
0
0
0
0
0
0
0
0
0
0.191045
335
15
56
22.333333
0.874539
0.068657
0
0
0
0
0.11039
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fe851fd31625348477dc1a5903a4bf686b9511a6
3,548
py
Python
ethtx/semantics/solidity/precompiles.py
0xbhoori/ethtx
00c1c90d0d67f4854cb1a759f47d6deb0685f7d3
[ "Apache-2.0" ]
238
2021-07-26T15:06:35.000Z
2022-03-28T07:01:50.000Z
ethtx/semantics/solidity/precompiles.py
0xbhoori/ethtx
00c1c90d0d67f4854cb1a759f47d6deb0685f7d3
[ "Apache-2.0" ]
13
2021-08-04T14:39:37.000Z
2022-03-18T08:44:11.000Z
ethtx/semantics/solidity/precompiles.py
0xbhoori/ethtx
00c1c90d0d67f4854cb1a759f47d6deb0685f7d3
[ "Apache-2.0" ]
38
2021-07-26T15:33:03.000Z
2022-03-28T13:41:07.000Z
# Copyright 2021 DAI Foundation # # 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 writing,...
42.238095
86
0.665163
331
3,548
6.969789
0.338369
0.304291
0.349371
0.148244
0.51062
0.51062
0.31166
0.31166
0.31166
0.280884
0
0.025586
0.206877
3,548
83
87
42.746988
0.794243
0.156708
0
0.478261
0
0
0.098019
0
0
0
0
0
0
1
0
false
0
0.014493
0
0.014493
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
fe900c2116d8bb10d8424fdb9509dee0ebeda523
1,284
py
Python
code_snippets/param_changes.py
Alan052918/Undergraduate-Graduation-Project-Thesis
1a72f57742fbf7e320eeb07af3b23ab88b150e9c
[ "MIT" ]
null
null
null
code_snippets/param_changes.py
Alan052918/Undergraduate-Graduation-Project-Thesis
1a72f57742fbf7e320eeb07af3b23ab88b150e9c
[ "MIT" ]
null
null
null
code_snippets/param_changes.py
Alan052918/Undergraduate-Graduation-Project-Thesis
1a72f57742fbf7e320eeb07af3b23ab88b150e9c
[ "MIT" ]
1
2021-05-20T09:40:24.000Z
2021-05-20T09:40:24.000Z
# insert parameter a def foo_a(a): print("Hello, One!") # remove parameter b def foo_b(): print("Hello, Two!") # update parameter c to d def foo_c(d): print("Hello, Three!") # update self to cls def foo_d(cls): print("Hello, Four!"); # insert parameter e with default value def foo_e(e="Alan"): ...
17.351351
57
0.66433
201
1,284
4.169154
0.328358
0.178998
0.125298
0.128878
0.116945
0
0
0
0
0
0
0.00388
0.197041
1,284
73
58
17.589041
0.808923
0.429128
0
0
0
0
0.312413
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0.5
0
0
0
null
0
0
0
0
0
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
fe97e96e1680b2ca779cc192a08bb2a62d8308ff
1,099
py
Python
ros2_message_converter/json_message_converter.py
ubica-robotics/ros2_message_converter
a383a06bdbe47288d2ab13db2e6c71fbc25cae8a
[ "BSD-3-Clause" ]
2
2021-09-09T12:50:25.000Z
2021-09-17T12:19:39.000Z
ros2_message_converter/json_message_converter.py
ubica-robotics/ros2_message_converter
a383a06bdbe47288d2ab13db2e6c71fbc25cae8a
[ "BSD-3-Clause" ]
3
2021-10-04T11:30:07.000Z
2021-12-01T07:51:57.000Z
ros2_message_converter/json_message_converter.py
ubica-robotics/ros2_message_converter
a383a06bdbe47288d2ab13db2e6c71fbc25cae8a
[ "BSD-3-Clause" ]
2
2021-09-21T09:54:12.000Z
2021-11-26T21:06:58.000Z
import json from ros2_message_converter import message_converter def convert_json_to_ros_message(message_type, json_message, strict_mode=True): """ Takes in the message type and a JSON-formatted string and returns a ROS message. If strict_mode is set, an exception will be thrown if the json message co...
36.633333
113
0.747043
150
1,099
5.146667
0.293333
0.142487
0.046632
0.073834
0.205959
0.11658
0.11658
0.11658
0.11658
0
0
0.001114
0.182894
1,099
29
114
37.896552
0.858575
0.482257
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fe9aef03e08eb84e3dda88f3a80b2cbac89fd386
151
py
Python
2019/9/example.py
yammesicka/advent
4d251ddc42b59ea5d0dc68157c23f8f1c6bac1d8
[ "MIT" ]
2
2019-12-07T13:25:59.000Z
2019-12-07T16:00:43.000Z
2019/9/example.py
yammesicka/advent
4d251ddc42b59ea5d0dc68157c23f8f1c6bac1d8
[ "MIT" ]
null
null
null
2019/9/example.py
yammesicka/advent
4d251ddc42b59ea5d0dc68157c23f8f1c6bac1d8
[ "MIT" ]
1
2020-11-19T09:09:22.000Z
2020-11-19T09:09:22.000Z
import random print("Hello World") until = int(input("Please enter a number: ")) for i in range(until): print(f"The current number is {i}")
21.571429
46
0.655629
24
151
4.125
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.205298
151
7
47
21.571429
0.825
0
0
0
0
0
0.40411
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
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
fe9bd9bf8219c376974a8f44beda9814d8ef669a
3,638
py
Python
scripts/network/ping/prepare_tftp_bootfile.py
Codegass/cloudstack
71056191f2bdad4be1a7eaf9bb73a7dcee3516f2
[ "Apache-2.0" ]
1,131
2015-01-08T18:59:06.000Z
2022-03-29T11:31:10.000Z
scripts/network/ping/prepare_tftp_bootfile.py
Codegass/cloudstack
71056191f2bdad4be1a7eaf9bb73a7dcee3516f2
[ "Apache-2.0" ]
5,908
2015-01-13T15:28:37.000Z
2022-03-31T20:31:07.000Z
scripts/network/ping/prepare_tftp_bootfile.py
Codegass/cloudstack
71056191f2bdad4be1a7eaf9bb73a7dcee3516f2
[ "Apache-2.0" ]
1,083
2015-01-05T01:16:52.000Z
2022-03-31T12:14:10.000Z
#!/usr/bin/python # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Licens...
37.895833
584
0.709456
525
3,638
4.75619
0.392381
0.024029
0.030036
0.048058
0.473769
0.473769
0.473769
0.457749
0.457749
0.457749
0
0.012795
0.183617
3,638
95
585
38.294737
0.827946
0.244365
0
0.21875
0
0.03125
0.5119
0.102527
0
0
0
0
0
0
null
null
0.09375
0.0625
null
null
0.046875
0
0
0
null
0
0
0
0
0
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
fe9d6c3395a407ab5cd18b63e5738dd621d43324
175
py
Python
February 2021/Arithmetic Slices.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
February 2021/Arithmetic Slices.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
February 2021/Arithmetic Slices.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
class Solution: def numberOfArithmeticSlices(self, A): B = [j-i for i,j in zip(A, A[1:])] return sum(((2*len(list(j))-1)**2-1)//8 for i, j in groupby(B))
35
71
0.56
33
175
2.969697
0.606061
0.081633
0.102041
0.142857
0
0
0
0
0
0
0
0.044776
0.234286
175
4
72
43.75
0.686567
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
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
1
0
0
0
0
0
0
0
2
fe9ed7f2e70132f2bfb8a34a3f6951fcfcaebe12
1,826
py
Python
tensorforce/core/parameters/__init__.py
DLPerf/tensorforce
33a2d84fa850e8842dfe2cef3901de32cf7cd221
[ "Apache-2.0" ]
1,132
2019-01-03T14:41:04.000Z
2022-03-29T07:44:50.000Z
tensorforce/core/parameters/__init__.py
DLPerf/tensorforce
33a2d84fa850e8842dfe2cef3901de32cf7cd221
[ "Apache-2.0" ]
353
2019-01-02T19:46:10.000Z
2022-03-30T10:38:45.000Z
tensorforce/core/parameters/__init__.py
DLPerf/tensorforce
33a2d84fa850e8842dfe2cef3901de32cf7cd221
[ "Apache-2.0" ]
219
2019-01-03T16:55:39.000Z
2022-03-14T00:27:05.000Z
# Copyright 2020 Tensorforce Team. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
38.851064
99
0.757941
214
1,826
6.38785
0.443925
0.087783
0.111192
0.169715
0
0
0
0
0
0
0
0.005
0.123768
1,826
46
100
39.695652
0.849375
0.35816
0
0
0
0
0.150389
0
0
0
0
0
0.043478
1
0
false
0
0.391304
0
0.391304
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
fea9db3cef026ec5daf6fbd686c4b7b97b685e25
516
py
Python
eshop/store/admin.py
shruti0419/templates-hacktoberfest
748b8d8a335dc53dc6b80a928ca38c53d33b9798
[ "MIT" ]
8
2021-10-01T13:29:58.000Z
2021-10-06T16:19:50.000Z
eshop/store/admin.py
shruti0419/templates-hacktoberfest
748b8d8a335dc53dc6b80a928ca38c53d33b9798
[ "MIT" ]
31
2021-09-30T17:45:36.000Z
2021-10-12T04:57:21.000Z
eshop/store/admin.py
shruti0419/templates-hacktoberfest
748b8d8a335dc53dc6b80a928ca38c53d33b9798
[ "MIT" ]
31
2021-09-30T19:49:54.000Z
2021-10-05T17:32:42.000Z
from django.contrib import admin from .models.product import Product from .models.category import Category from .models.customer import Customer from .models.orders import Order class AdminProduct(admin.ModelAdmin): list_display = ['name', 'price', 'category'] class AdminCategory(admin.ModelAdmin): list_di...
23.454545
48
0.77907
63
516
6.349206
0.365079
0.1
0.17
0.13
0.15
0
0
0
0
0
0
0
0.118217
516
21
49
24.571429
0.879121
0.050388
0
0
0
0
0.043033
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.692308
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
227ef9da061939eb5284e8397ddce3bfcf4bb98e
700
py
Python
rpi_led_demo.py
anthony-k-franks/akf-iot
012cd6287611617eeea41129c78ff296ab6428dd
[ "MIT" ]
null
null
null
rpi_led_demo.py
anthony-k-franks/akf-iot
012cd6287611617eeea41129c78ff296ab6428dd
[ "MIT" ]
null
null
null
rpi_led_demo.py
anthony-k-franks/akf-iot
012cd6287611617eeea41129c78ff296ab6428dd
[ "MIT" ]
null
null
null
import RPi.GPIO as gpio import time greenLed = 17 yellowLed = 13 redLed = 26 gpio.setmode(gpio.BCM) gpio.setup(greenLed, gpio.OUT) gpio.setup(yellowLed, gpio.OUT) gpio.setup(redLed, gpio.OUT) gpio.output(greenLed, gpio.LOW) gpio.output(greenLed, gpio.HIGH) time.sleep(0.075) gpio.output(greenLed, gpio.LOW) time.sleep(...
21.875
35
0.737143
117
700
4.410256
0.205128
0.213178
0.135659
0.176357
0.55814
0.494186
0.453488
0.453488
0.290698
0
0
0.055732
0.102857
700
31
36
22.580645
0.765924
0.167143
0
0.478261
0
0
0
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0
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
2285eb841b2ca17cfa05c03ac536d000d57c0f80
288
py
Python
cooltools/__init__.py
nvictus/cooltools
1fec21c919cc19c9669fc941cf3b06cce51239e6
[ "MIT" ]
null
null
null
cooltools/__init__.py
nvictus/cooltools
1fec21c919cc19c9669fc941cf3b06cce51239e6
[ "MIT" ]
null
null
null
cooltools/__init__.py
nvictus/cooltools
1fec21c919cc19c9669fc941cf3b06cce51239e6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Cool tools ~~~~~~~~~~ The tools for your .cool's. :author: Cooltools developers :license: MIT """ import logging __version__ = "0.4.0-dev" from . import io from . import lib from .lib import numutils, download_data, print_available_datasets, get_data_dir
15.157895
80
0.690972
41
288
4.634146
0.756098
0.105263
0
0
0
0
0
0
0
0
0
0.016461
0.15625
288
18
81
16
0.765432
0.409722
0
0
0
0
0.055901
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
228dea3c8dcb20358fc6518ae349e9b73dd8c1f3
3,982
py
Python
tests/train/losses_tests.py
leanhphuong201/microDL
6ba9ec242d38a0ec32183cb4a9974b27a8722e30
[ "MIT" ]
21
2018-11-07T15:34:37.000Z
2022-03-18T14:51:05.000Z
tests/train/losses_tests.py
leanhphuong201/microDL
6ba9ec242d38a0ec32183cb4a9974b27a8722e30
[ "MIT" ]
72
2018-10-01T21:58:47.000Z
2022-03-28T20:26:38.000Z
tests/train/losses_tests.py
leanhphuong201/microDL
6ba9ec242d38a0ec32183cb4a9974b27a8722e30
[ "MIT" ]
7
2018-11-20T19:30:12.000Z
2022-02-23T06:56:14.000Z
import nose.tools import numpy as np import tensorflow as tf import micro_dl.train.losses as losses def test_mae_loss(): y_true = np.zeros((5, 10, 1), np.float32) y_true[:, :5, 0] = 2 y_pred = np.zeros_like(y_true) + 2. y_true = tf.convert_to_tensor(y_true, dtype=tf.float32) y_pred = tf.convert_t...
36.87037
86
0.65118
663
3,982
3.645551
0.119155
0.086885
0.052131
0.098469
0.805958
0.735209
0.682251
0.630947
0.610674
0.576748
0
0.045898
0.201155
3,982
107
87
37.214953
0.713926
0.029382
0
0.477273
0
0
0
0
0
0
0
0
0.170455
1
0.079545
false
0
0.045455
0
0.125
0
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
22909db8e7cd26b1d2cf463670e380d603ecf089
508
py
Python
slayer/generation/volume.py
Habidatum/slayer
ee3f46f3f392e494bc029db9140888298f824dfa
[ "MIT" ]
null
null
null
slayer/generation/volume.py
Habidatum/slayer
ee3f46f3f392e494bc029db9140888298f824dfa
[ "MIT" ]
null
null
null
slayer/generation/volume.py
Habidatum/slayer
ee3f46f3f392e494bc029db9140888298f824dfa
[ "MIT" ]
null
null
null
class Volume(object): def __init__(self): self.__slices = {} self.__min = 1 self.__max = 0 def add_slice(self, name_data): name, data = name_data self.__slices[name] = data self.__min = min(self.__min, data.min()) self.__max = max(self.__max, data.max()...
19.538462
48
0.564961
63
508
4.095238
0.269841
0.108527
0.162791
0.124031
0
0
0
0
0
0
0
0.005814
0.322835
508
25
49
20.32
0.744186
0
0
0.157895
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0
0.157895
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
229349e520f99c938b15494a0cac680291e9d55f
14,533
py
Python
seglinregtest.py
undera/segmented-linear
5a450046714d736af2a35684f5b0f130ffe74537
[ "Apache-2.0" ]
null
null
null
seglinregtest.py
undera/segmented-linear
5a450046714d736af2a35684f5b0f130ffe74537
[ "Apache-2.0" ]
null
null
null
seglinregtest.py
undera/segmented-linear
5a450046714d736af2a35684f5b0f130ffe74537
[ "Apache-2.0" ]
null
null
null
import logging import numpy import unittest import seglinreg logging.basicConfig(format='%(asctime)s\t%(message)s', level=logging.INFO) class SegLinRegTestCase(unittest.TestCase): def test_something(self): obj = seglinreg.SegLinRegAuto(int(numpy.random.sample() * 10 + 2)) normal = numpy.random....
81.646067
120
0.539393
1,952
14,533
4.006148
0.601947
0.009847
0.01087
0.007417
0.079412
0.079412
0.074425
0.064962
0.064962
0.064962
0
0.618286
0.242895
14,533
177
121
82.107345
0.092429
0
0
0.150943
0
0
0.003578
0.001651
0
0
0
0
0.012579
1
0.031447
false
0
0.025157
0
0.062893
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2297d10fcaf4a45979ca76ec7e0bf684f5fe9838
952
py
Python
pyVmomi vSphere python SDK/get_vcha_cluster_mode.py
vThinkBeyondVM/vThinkBVM-scripts
f076be85e3bbb02b276888f438537bebeae01a41
[ "MIT" ]
20
2016-10-30T16:05:23.000Z
2021-09-16T11:55:58.000Z
pyVmomi vSphere python SDK/get_vcha_cluster_mode.py
ajesha007/vThinkBVM-scripts
f076be85e3bbb02b276888f438537bebeae01a41
[ "MIT" ]
3
2017-10-24T11:17:59.000Z
2019-11-12T06:36:07.000Z
pyVmomi vSphere python SDK/get_vcha_cluster_mode.py
ajesha007/vThinkBVM-scripts
f076be85e3bbb02b276888f438537bebeae01a41
[ "MIT" ]
27
2015-12-30T09:22:58.000Z
2022-03-19T05:21:11.000Z
# Author: Vikas Shitole # Website: www.vThinkBeyondVM.com # Product: vCenter server/vCenter Server High Availability (VCHA) # Description: Python Script to get vCenter Server High Availability (VCHA) mode # Reference:http://vthinkbeyondvm.com/how-to-manage-vcenter-server-ha-using-vsphere-python-sdk-pyvmomi-part-1/ # Ho...
43.272727
138
0.794118
144
952
5.215278
0.569444
0.086551
0.067909
0.115846
0.171771
0.12783
0.12783
0.12783
0.12783
0
0
0.017361
0.092437
952
21
139
45.333333
0.851852
0.610294
0
0
0
0
0.18232
0.074586
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.111111
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
2
22a29bd287b33fbcd319a464a0bf35d131091f5c
99
py
Python
pdfminer/__init__.py
cjmayo/pdfminer
39900c64e7116186e66e4e828ed0441ca870ac29
[ "MIT" ]
null
null
null
pdfminer/__init__.py
cjmayo/pdfminer
39900c64e7116186e66e4e828ed0441ca870ac29
[ "MIT" ]
null
null
null
pdfminer/__init__.py
cjmayo/pdfminer
39900c64e7116186e66e4e828ed0441ca870ac29
[ "MIT" ]
null
null
null
#!/usr/bin/env python __version__ = '20191020' if __name__ == '__main__': print (__version__)
16.5
26
0.686869
11
99
4.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0.096386
0.161616
99
5
27
19.8
0.53012
0.20202
0
0
0
0
0.205128
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
22ad8634656906cf88ab01154cc0085e42b8d6b2
489
py
Python
asl_test_recognizer.py
faberhenrique/AIND-Recognizer
725c462734d267fe5c23acfd3a2ce5233f732145
[ "MIT" ]
null
null
null
asl_test_recognizer.py
faberhenrique/AIND-Recognizer
725c462734d267fe5c23acfd3a2ce5233f732145
[ "MIT" ]
null
null
null
asl_test_recognizer.py
faberhenrique/AIND-Recognizer
725c462734d267fe5c23acfd3a2ce5233f732145
[ "MIT" ]
null
null
null
from unittest import TestCase from asl_data import AslDb from asl_utils import train_all_words from my_model_selectors import SelectorConstant from my_recognizer import recognize FEATURES = ['right-y', 'right-x'] class TestRecognize(TestCase): def setUp(self): self.asl = AslDb() self.training_set...
27.166667
74
0.752556
66
489
5.363636
0.469697
0.059322
0.073446
0.084746
0
0
0
0
0
0
0
0
0.169734
489
17
75
28.764706
0.871921
0
0
0
0
0
0.02863
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
22ae29ec9262e3ad0b7bfc1882be787bcc516cf2
772
py
Python
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/model/machine_dimensions.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
2
2020-11-01T13:22:11.000Z
2020-11-01T13:22:20.000Z
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/model/machine_dimensions.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/model/machine_dimensions.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
class MachineDimensions(object): """ Represents the size of a machine in chips """ def __init__(self, width, height): """ :param width: The width of the machine in chips :type width: int :param height: The height of the machine in chips :type height: int :rai...
23.393939
57
0.556995
91
772
4.637363
0.318681
0.106635
0.165877
0.132701
0.322275
0.322275
0.303318
0
0
0
0
0
0.360104
772
32
58
24.125
0.854251
0.462435
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
22b024d304d67d12fe0fa9dd68dd604a0911bf5f
1,194
py
Python
scripts/functions.py
okumakito/dnb-tsod
26789adf38bd4947887fad53ea462af3af6c9573
[ "MIT" ]
null
null
null
scripts/functions.py
okumakito/dnb-tsod
26789adf38bd4947887fad53ea462af3af6c9573
[ "MIT" ]
null
null
null
scripts/functions.py
okumakito/dnb-tsod
26789adf38bd4947887fad53ea462af3af6c9573
[ "MIT" ]
1
2021-11-22T09:20:09.000Z
2021-11-22T09:20:09.000Z
import numpy as np import pandas as pd import matplotlib as mpl import matplotlib.pyplot as plt import seaborn as sns import os, sys import subprocess from scipy import stats from scipy.cluster.hierarchy import distance, linkage, fcluster from sklearn.decomposition import PCA from sklearn.manifold import TSNE from util...
31.421053
76
0.668342
196
1,194
3.964286
0.479592
0.02574
0.023166
0.030888
0.033462
0
0
0
0
0
0
0.024024
0.163317
1,194
37
77
32.27027
0.753754
0.066164
0
0
0
0
0.068345
0
0
0
0
0
0
1
0.133333
false
0
0.4
0.033333
0.6
0.033333
0
0
0
null
0
0
0
0
0
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
22b0b8adfbcac5361cce6ff940ba54b30ae5edb0
1,909
py
Python
confulaga/inputs.py
ir210/confulaga
26446e48fe230a28a8598f5a61b51dff4475025a
[ "MIT" ]
null
null
null
confulaga/inputs.py
ir210/confulaga
26446e48fe230a28a8598f5a61b51dff4475025a
[ "MIT" ]
null
null
null
confulaga/inputs.py
ir210/confulaga
26446e48fe230a28a8598f5a61b51dff4475025a
[ "MIT" ]
null
null
null
import re from typing import List from confulaga import Cursor class Input: def __init__(self, source: str, cursor: Cursor = None, ignore_list: List['Sanitizer'] = None): self.source = source self.cursor = cursor or Cursor.zero() self.sanitizers = ignore_list or [] @property def...
25.453333
98
0.586695
241
1,909
4.551867
0.253112
0.100273
0.087511
0.091158
0.195077
0.061987
0.061987
0
0
0
0
0.000752
0.3033
1,909
74
99
25.797297
0.82406
0
0
0.132075
0
0
0.01362
0
0
0
0
0
0
1
0.207547
false
0
0.056604
0.09434
0.509434
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
22d4a1d49a195523cbcc08565b41b60297b2c0e6
1,768
py
Python
flapp/pmath/rect.py
rpwagner/tiled-display
52d135bc163360fe55ce5521784b0ef48a8c82c9
[ "Apache-2.0" ]
1
2020-12-11T17:11:45.000Z
2020-12-11T17:11:45.000Z
flapp/pmath/rect.py
rpwagner/tiled-display
52d135bc163360fe55ce5521784b0ef48a8c82c9
[ "Apache-2.0" ]
null
null
null
flapp/pmath/rect.py
rpwagner/tiled-display
52d135bc163360fe55ce5521784b0ef48a8c82c9
[ "Apache-2.0" ]
null
null
null
class Rect: def __init__(self, x, y, width, height): self.x = x self.y = y self.width = width self.height = height def __str__(self): return str("Rect(%s,%s,%s,%s)" % (self.x, self.y, self.width, self.height) ) def __eq__(self, obj): return self.x == obj.x ...
27.2
108
0.513575
276
1,768
3.231884
0.155797
0.117713
0.070628
0.067265
0.285874
0.213004
0.159193
0.159193
0.159193
0.118834
0
0.010256
0.338235
1,768
64
109
27.625
0.752137
0.015271
0
0.217391
0
0
0.019585
0
0
0
0
0
0
1
0.304348
false
0
0
0.108696
0.521739
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
22d6310286440ef99996e094a94bef806a17c16b
569
py
Python
shopdb/frame/value.py
jaywoong/learn_sql
ed0ed29e27d8ad7ac5fbb2297b508bf2b28d2e40
[ "Apache-2.0" ]
null
null
null
shopdb/frame/value.py
jaywoong/learn_sql
ed0ed29e27d8ad7ac5fbb2297b508bf2b28d2e40
[ "Apache-2.0" ]
null
null
null
shopdb/frame/value.py
jaywoong/learn_sql
ed0ed29e27d8ad7ac5fbb2297b508bf2b28d2e40
[ "Apache-2.0" ]
null
null
null
class Cust: def __init__(self, id, pwd, name): self.id = id; self.pwd = pwd; self.name = name; def __str__(self): return self.id+' '+self.pwd+' '+self.name+' '; class Item: def __init__(self, id, name, price, imgname, regdate ): self.id = id; self.name = name...
29.947368
77
0.521968
69
569
4.072464
0.202899
0.128114
0.078292
0.092527
0
0
0
0
0
0
0
0
0.319859
569
19
77
29.947368
0.726098
0
0
0.352941
0
0
0.012281
0
0
0
0
0
0
1
0.235294
false
0
0
0.117647
0.470588
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
22e0ce7f7ef9e5c3a044350be02cf49ac0a2ce10
2,358
py
Python
src/Q1-4.py
AMorteza/ML-Bayesian-Analysis
c46bcca841aa7a0bf72b37eefac811833fc294d0
[ "Apache-2.0" ]
null
null
null
src/Q1-4.py
AMorteza/ML-Bayesian-Analysis
c46bcca841aa7a0bf72b37eefac811833fc294d0
[ "Apache-2.0" ]
null
null
null
src/Q1-4.py
AMorteza/ML-Bayesian-Analysis
c46bcca841aa7a0bf72b37eefac811833fc294d0
[ "Apache-2.0" ]
null
null
null
import sys from pprint import pprint import numpy as np from sklearn.discriminant_analysis import LinearDiscriminantAnalysis X_dict = {} X_dict["Outlook"] = {"Sunny": 0, "Overcast": 1, "Rain": 2} X_dict["Temp"] = {"Hot": 0, "Mild": 1, "Cool": 2} X_dict["Humidity"] = {"High": 0, "Normal": 1} X_dict["Wind"] = {"False": ...
52.4
111
0.617048
365
2,358
3.769863
0.145205
0.236192
0.148256
0.098837
0.666424
0.627907
0.627907
0.627907
0.627907
0.627907
0
0.01342
0.083545
2,358
44
112
53.590909
0.623323
0
0
0.052632
0
0
0.308867
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0.078947
0
0
0
null
1
0
0
0
0
0
0
0
1
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
22ee9ae3667e7ec00e46af1db73df34bf83ca486
214
py
Python
meteoalertapi/test.py
roaldnefs/meteoalert-api
10e467d7ddaa35cf1016cb98f5b14510640724ac
[ "MIT" ]
null
null
null
meteoalertapi/test.py
roaldnefs/meteoalert-api
10e467d7ddaa35cf1016cb98f5b14510640724ac
[ "MIT" ]
null
null
null
meteoalertapi/test.py
roaldnefs/meteoalert-api
10e467d7ddaa35cf1016cb98f5b14510640724ac
[ "MIT" ]
null
null
null
from meteoalertapi import Meteoalert meteo = Meteoalert("IT","Toscana","it") alert = meteo.get_alert() #print(str(alert)) #print(alert['headline']) for key, value in alert.items(): print(key) print(value)
21.4
39
0.700935
29
214
5.137931
0.586207
0.134228
0
0
0
0
0
0
0
0
0
0
0.130841
214
9
40
23.777778
0.801075
0.191589
0
0
0
0
0.064327
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
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
22f592a2ad582e26f8031d31cb97d6d8a0e214fb
3,482
py
Python
tests/test_03_random_csv.py
jdfekete/progressivis
3bc79ce229cd628ef0aa4663136a674743697b47
[ "BSD-2-Clause" ]
51
2015-09-14T16:31:02.000Z
2022-01-12T17:56:53.000Z
tests/test_03_random_csv.py
jdfekete/progressivis
3bc79ce229cd628ef0aa4663136a674743697b47
[ "BSD-2-Clause" ]
10
2017-11-15T15:10:05.000Z
2022-01-19T07:36:43.000Z
tests/test_03_random_csv.py
jdfekete/progressivis
3bc79ce229cd628ef0aa4663136a674743697b47
[ "BSD-2-Clause" ]
5
2017-11-14T20:20:56.000Z
2020-01-22T06:26:51.000Z
from progressivis.core.utils import RandomBytesIO from . import ProgressiveTest import tempfile, os, os.path, shutil class TestRandomCsv(ProgressiveTest): def setUp(self): # fixed rows number self.dtemp = tempfile.mkdtemp(prefix='p10s_') fixed_rows_obj = RandomBytesIO(cols=10, rows=50) ...
44.075949
86
0.650488
485
3,482
4.426804
0.131959
0.108989
0.089427
0.143456
0.742431
0.735911
0.683745
0.648347
0.648347
0.608291
0
0.037355
0.231189
3,482
78
87
44.641026
0.764662
0.008041
0
0.515152
0
0
0.017676
0
0
0
0
0
0.242424
1
0.121212
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
1
0
0
0
1
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
22fadcb6ea46858582d17e3a62f97e7b499faa14
5,213
gyp
Python
binding.gyp
node-rdkafka-next/node-rdkafka-next
da0a477a0de4a0edcecb33ecb19a8acf2c420d07
[ "MIT" ]
null
null
null
binding.gyp
node-rdkafka-next/node-rdkafka-next
da0a477a0de4a0edcecb33ecb19a8acf2c420d07
[ "MIT" ]
null
null
null
binding.gyp
node-rdkafka-next/node-rdkafka-next
da0a477a0de4a0edcecb33ecb19a8acf2c420d07
[ "MIT" ]
null
null
null
{ "variables": { # may be redefined in command line on configuration stage # "BUILD_LIBRDKAFKA%": "<!(echo ${BUILD_LIBRDKAFKA:-1})" "BUILD_LIBRDKAFKA%": "<!(node ./util/get-env.js BUILD_LIBRDKAFKA 1)", }, "targets": [ { "target_name": "node-librdkafka", 'sources': [ 'src/bindin...
31.593939
78
0.35258
320
5,213
5.625
0.428125
0.038889
0.037778
0.02
0.083333
0.067778
0.041111
0
0
0
0
0.006284
0.511606
5,213
164
79
31.786585
0.700707
0.059083
0
0.240506
0
0
0.364917
0.152338
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
22fb0e863627acdccd89bb6d0d7eb21f0e01099e
349
py
Python
src/flask_batteries/installers/flask_marshmallow.py
graydenshand/flask_boot
2aeb0d47543fc85a15e752a00bfa0d0ba9e23988
[ "MIT" ]
1
2021-09-17T13:41:10.000Z
2021-09-17T13:41:10.000Z
src/flask_batteries/installers/flask_marshmallow.py
graydenshand/flask_boot
2aeb0d47543fc85a15e752a00bfa0d0ba9e23988
[ "MIT" ]
null
null
null
src/flask_batteries/installers/flask_marshmallow.py
graydenshand/flask_boot
2aeb0d47543fc85a15e752a00bfa0d0ba9e23988
[ "MIT" ]
null
null
null
from .base_installer import FlaskExtInstaller from ..config import TAB class FlaskMarshmallowInstaller(FlaskExtInstaller): package_name = "Flask-Marshmallow" pypi_dependencies = ["marshmallow-sqlalchemy"] imports = ["from flask_marshmallow import Marshmallow"] inits = ["ma = Marshmallow()"] attach...
31.727273
59
0.744986
34
349
7.5
0.647059
0.12549
0
0
0
0
0
0
0
0
0
0
0.148997
349
10
60
34.9
0.858586
0
0
0
0
0
0.326648
0.063037
0
0
0
0
0
1
0
false
0
0.375
0
1.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
22fc2bb3b5a04f264696de64bdf64e511d62fae5
491
py
Python
src/ghutil/cli/label/__init__.py
jwodder/ghutil
f0b903a76177cd49f5d48ac9890609f4da9071d9
[ "MIT" ]
6
2017-05-29T19:29:44.000Z
2020-04-05T00:01:02.000Z
src/ghutil/cli/label/__init__.py
jwodder/ghutil
f0b903a76177cd49f5d48ac9890609f4da9071d9
[ "MIT" ]
2
2017-06-29T09:39:32.000Z
2020-01-07T22:48:02.000Z
src/ghutil/cli/label/__init__.py
jwodder/ghutil
f0b903a76177cd49f5d48ac9890609f4da9071d9
[ "MIT" ]
1
2017-06-11T16:43:47.000Z
2017-06-11T16:43:47.000Z
import click from ghutil.util import default_command, package_group @package_group(__package__, __file__, invoke_without_command=True) @click.pass_context def cli(ctx): """ Manage issue labels. Labels are specified on the command line by name. By default, the label subcommands only operate on label...
30.6875
78
0.739308
66
491
5.272727
0.636364
0.08046
0.109195
0
0
0
0
0
0
0
0
0
0.187373
491
15
79
32.733333
0.87218
0.507128
0
0
0
0
0.019048
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
fe1d15b713d4b80fea1896b42ec34ef6a8351677
334
py
Python
HLTrigger/Configuration/python/HLT_75e33/eventsetup/hltPhase2L3MuonTrackAlgoPriorityOrder_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
HLTrigger/Configuration/python/HLT_75e33/eventsetup/hltPhase2L3MuonTrackAlgoPriorityOrder_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
HLTrigger/Configuration/python/HLT_75e33/eventsetup/hltPhase2L3MuonTrackAlgoPriorityOrder_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
import FWCore.ParameterSet.Config as cms hltPhase2L3MuonTrackAlgoPriorityOrder = cms.ESProducer("TrackAlgoPriorityOrderESProducer", ComponentName = cms.string('hltPhase2L3MuonTrackAlgoPriorityOrder'), algoOrder = cms.vstring( 'initialStep', 'highPtTripletStep' ), appendToDataLabel = cms...
30.363636
90
0.745509
22
334
11.318182
0.727273
0.072289
0
0
0
0
0
0
0
0
0
0.014235
0.158683
334
10
91
33.4
0.871886
0
0
0
0
0
0.290419
0.206587
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3cb62167a2c8ed3afae55341134db67075694c6
105
py
Python
Python/Tests/TestData/Classification/Program.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
404
2019-05-07T02:21:57.000Z
2022-03-31T17:03:04.000Z
Python/Tests/TestData/Classification/Program.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
1,672
2019-05-06T21:09:38.000Z
2022-03-31T23:16:04.000Z
Python/Tests/TestData/Classification/Program.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
186
2019-05-13T03:17:37.000Z
2022-03-31T16:24:05.000Z
#comment 1 "abc" def f(): pass 'abc\ def' fob = 'ONE \ ONE' + message_text + 'TWOXXXXXXXXXXXX\ TWO'
9.545455
43
0.609524
15
105
4.2
0.8
0.190476
0
0
0
0
0
0
0
0
0
0.012195
0.219048
105
10
44
10.5
0.756098
0.066667
0
0
0
0
0.216495
0
0
0
0
0
0
1
0.125
false
0.125
0
0
0.125
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
a3d180117d2d5ece51f96226b88831654d2eaca0
97
py
Python
kinopoisk/__init__.py
ramusus/kinopoiskpy
e49b41eff7ae4252987636ec14c060109a50fad6
[ "BSD-3-Clause" ]
141
2015-01-26T19:11:27.000Z
2022-03-24T14:35:26.000Z
kinopoisk/__init__.py
ramusus/kinopoiskpy
e49b41eff7ae4252987636ec14c060109a50fad6
[ "BSD-3-Clause" ]
49
2015-03-07T13:59:34.000Z
2021-10-04T07:19:41.000Z
kinopoisk/__init__.py
ramusus/kinopoiskpy
e49b41eff7ae4252987636ec14c060109a50fad6
[ "BSD-3-Clause" ]
62
2015-03-07T14:02:19.000Z
2022-03-24T14:35:37.000Z
""" Python API to kinopoisk.ru """ VERSION = (0, 9, 0) __version__ = '.'.join(map(str, VERSION))
16.166667
41
0.618557
14
97
4
0.785714
0
0
0
0
0
0
0
0
0
0
0.036585
0.154639
97
5
42
19.4
0.646341
0.268041
0
0
0
0
0.015873
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
a3dc6b1ee896bca2b675251cbbb2607a2aa3a7ea
385
py
Python
Course-2-python_data_structures/list_methods.py
Mohamed2011-bit/-Python-For-Everybody-Coursera-
ec9686e0d21bb4f05436187abf36a1424bfd155a
[ "MIT" ]
3
2020-06-06T05:48:03.000Z
2022-01-15T23:27:13.000Z
Course-2-python_data_structures/list_methods.py
Mohamed2011-bit/-Python-For-Everybody-Coursera-
ec9686e0d21bb4f05436187abf36a1424bfd155a
[ "MIT" ]
null
null
null
Course-2-python_data_structures/list_methods.py
Mohamed2011-bit/-Python-For-Everybody-Coursera-
ec9686e0d21bb4f05436187abf36a1424bfd155a
[ "MIT" ]
3
2021-03-24T22:05:38.000Z
2022-03-27T13:45:30.000Z
# Constructor, gives an empty list # Or x = [] x = list() print type(x) # This gives you the methods available print dir(x) # Appending x.append('book') x.append(99) print x # Is something in List? if 99 in x: print '99 in x' if 88 not in x: print '88 not in x' # Ordering List a = [3, 1, 2, 5, 4] print ...
11
38
0.625974
75
385
3.213333
0.493333
0.049793
0.041494
0.06639
0
0
0
0
0
0
0
0.051546
0.244156
385
34
39
11.323529
0.776632
0.324675
0
0
0
0
0.086957
0
0
0
0
0
0
0
null
null
0
0
null
null
0.625
0
0
0
null
0
0
0
0
0
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
a3e9e34b39f452c3e86e0791b181f70b42e4e6d6
587
py
Python
py/garage/tests/test_timezones.py
clchiou/garage
446ff34f86cdbd114b09b643da44988cf5d027a3
[ "MIT" ]
3
2016-01-04T06:28:52.000Z
2020-09-20T13:18:40.000Z
py/garage/tests/test_timezones.py
clchiou/garage
446ff34f86cdbd114b09b643da44988cf5d027a3
[ "MIT" ]
null
null
null
py/garage/tests/test_timezones.py
clchiou/garage
446ff34f86cdbd114b09b643da44988cf5d027a3
[ "MIT" ]
null
null
null
import unittest import datetime from garage.timezones import TimeZone class TimeZoneTest(unittest.TestCase): def test_time_zone(self): utc = datetime.datetime(2000, 1, 2, 3, 4, 0, 0, TimeZone.UTC) cst = utc.astimezone(TimeZone.CST) self.assertEqual(2000, cst.year) self.assertEqu...
24.458333
69
0.660988
75
587
5.04
0.48
0.277778
0.084656
0.100529
0
0
0
0
0
0
0
0.046053
0.223169
587
23
70
25.521739
0.782895
0
0
0
0
0
0.013629
0
0
0
0
0
0.4375
1
0.0625
false
0
0.1875
0
0.3125
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
1
0
0
0
0
0
0
0
0
0
2
a3f2f73a1a8fdfef83a26a4ce3c3ed2a0b84f069
362
py
Python
Desafios/desafio75.py
gustavodoamaral/115_Desafios_Python
8baa1c0353a40f7a63f442293bc0f6852fd94da0
[ "MIT" ]
1
2022-02-07T01:12:19.000Z
2022-02-07T01:12:19.000Z
Desafios/desafio75.py
gustavodoamaral/desafios_python_gustavo_guanabara
8baa1c0353a40f7a63f442293bc0f6852fd94da0
[ "MIT" ]
null
null
null
Desafios/desafio75.py
gustavodoamaral/desafios_python_gustavo_guanabara
8baa1c0353a40f7a63f442293bc0f6852fd94da0
[ "MIT" ]
null
null
null
abcd = "a", "b", "c", "d" a = int(input("Digite um valor ")) b = int(input("Digite um valor ")) c = int(input("Digite um valor ")) d = int(input("Digite um valor ")) par = [] for n in abcd: if n % 2 == 0: par.append(n) print(f'Quantidade de números 9: {abcd.count(9)}\n Posição do primeiro N° 3: {abcd.ind...
32.909091
128
0.588398
68
362
3.161765
0.485294
0.148837
0.260465
0.297674
0.390698
0
0
0
0
0
0
0.024306
0.20442
362
11
128
32.909091
0.715278
0
0
0
0
0.1
0.512397
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
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
a3fff486c270b6d2572dcaf468d6c06b4acdfbb1
569
py
Python
python/phonenumbers/data/region_881.py
rodgar-nvkz/python-phonenumbers
4c7c4892211dbc9bc328bc3356b03853eaf993dc
[ "Apache-2.0" ]
2,424
2015-01-05T05:34:45.000Z
2022-03-28T22:37:53.000Z
python/phonenumbers/data/region_881.py
rodgar-nvkz/python-phonenumbers
4c7c4892211dbc9bc328bc3356b03853eaf993dc
[ "Apache-2.0" ]
166
2015-01-30T23:59:18.000Z
2022-03-14T21:08:42.000Z
python/phonenumbers/data/region_881.py
rodgar-nvkz/python-phonenumbers
4c7c4892211dbc9bc328bc3356b03853eaf993dc
[ "Apache-2.0" ]
345
2015-01-02T00:33:27.000Z
2022-03-26T13:06:57.000Z
"""Auto-generated file, do not edit by hand. 881 metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_881 = PhoneMetadata(id='001', country_code=881, international_prefix=None, general_desc=PhoneNumberDesc(national_number_pattern='[0-36-9]\\d{8}', possible_length=(9,)...
71.125
125
0.727592
77
569
5.181818
0.584416
0.06015
0.075188
0.082707
0.210526
0.210526
0.210526
0.210526
0.210526
0
0
0.079848
0.075571
569
7
126
81.285714
0.678707
0.094903
0
0
1
0
0.157171
0.041257
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
430990f588398a005f590c9711d15f7d2c23498a
782
py
Python
pytglib/api/types/update_trending_sticker_sets.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/update_trending_sticker_sets.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/update_trending_sticker_sets.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class UpdateTrendingStickerSets(Object): """ The list of trending sticker sets was updated or some of them were viewed Attributes: ID (:obj:`str`): ``UpdateTrendingStickerSets`` Args: sticker_sets (:class:`telegram.api.types.stickerSets`): Th...
23.69697
78
0.650895
80
782
6.225
0.5375
0.198795
0.056225
0.084337
0.100402
0
0
0
0
0
0
0
0.251918
782
32
79
24.4375
0.851282
0.411765
0
0
0
0
0.152709
0.123153
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4315b546d762b45487698b5f9bd5ec374aaa5bf9
104
py
Python
telebot/credentials.py
Lesley-Nicole/Telegram-Flooring-Bot
26095041702d950692dc7e427f9cab4a4a2f3544
[ "MIT" ]
null
null
null
telebot/credentials.py
Lesley-Nicole/Telegram-Flooring-Bot
26095041702d950692dc7e427f9cab4a4a2f3544
[ "MIT" ]
null
null
null
telebot/credentials.py
Lesley-Nicole/Telegram-Flooring-Bot
26095041702d950692dc7e427f9cab4a4a2f3544
[ "MIT" ]
null
null
null
bot_token = "" bot_user_name = "AandLFlooring_Bot" URL = "https://git.heroku.com/a-lflooringbot.git"
26
50
0.721154
15
104
4.733333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.115385
104
3
51
34.666667
0.771739
0
0
0
0
0
0.574257
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
4323cd80594537b66d02cc649543c41c97f97ef3
2,738
py
Python
test/test_SepiaHierThetaMCMC.py
lanl/SEPIA
0a1e606e1d1072f49e4f3f358962bd8918a5d3a3
[ "BSD-3-Clause" ]
19
2020-06-22T16:37:07.000Z
2022-02-18T22:50:59.000Z
test/test_SepiaHierThetaMCMC.py
lanl/SEPIA
0a1e606e1d1072f49e4f3f358962bd8918a5d3a3
[ "BSD-3-Clause" ]
41
2020-07-07T22:52:33.000Z
2021-11-04T14:05:03.000Z
test/test_SepiaHierThetaMCMC.py
lanl/SEPIA
0a1e606e1d1072f49e4f3f358962bd8918a5d3a3
[ "BSD-3-Clause" ]
6
2020-08-14T18:58:45.000Z
2022-03-01T21:00:14.000Z
import unittest import numpy as np import generate_data from sepia.SepiaData import SepiaData from sepia.SepiaModel import SepiaModel from sepia.SepiaHierarchicalThetaModels import SepiaHierarchicalThetaModels np.random.seed(42) class SepiaHierThetaMCMCTestCase(unittest.TestCase): def setUp(self, m=100, n=1, nt...
39.114286
122
0.636961
393
2,738
4.119593
0.229008
0.049413
0.044472
0.034589
0.502779
0.380482
0.340951
0.258184
0.258184
0.208771
0
0.016467
0.268079
2,738
69
123
39.681159
0.791417
0.113587
0
0.146341
1
0
0.069954
0
0
0
0
0.014493
0
1
0.073171
false
0
0.146341
0
0.243902
0.04878
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
4323dee1cb3c1c259775119aee2d3d1bc25453b3
2,981
py
Python
Utilities/playground_transaction.py
C3ald/Token-API
5bb34ac1276b23a6f3c780c8d7011d621f02ab90
[ "MIT" ]
4
2021-12-20T22:51:20.000Z
2021-12-30T17:55:34.000Z
Utilities/playground_transaction.py
C3ald/Token-API
5bb34ac1276b23a6f3c780c8d7011d621f02ab90
[ "MIT" ]
14
2021-12-08T18:30:00.000Z
2022-01-06T05:27:08.000Z
Utilities/playground_transaction.py
C3ald/Token-API
5bb34ac1276b23a6f3c780c8d7011d621f02ab90
[ "MIT" ]
null
null
null
from Crypto.PublicKey import ECC from wallet import Wallet import base64 import secrets from Crypto.Cipher import AES import hashlib, secrets, binascii from tinyec import registry # Generates the keys #Generate 2 ECC Private keys wallet = Wallet() DATA = {'sender': 'Bob', 'receiver': 'Jen', 'amount': 100.0} key1 = EC...
34.662791
111
0.719557
423
2,981
4.921986
0.307329
0.014409
0.028818
0.023055
0.17195
0.152738
0.044188
0.044188
0.044188
0.044188
0
0.018331
0.139886
2,981
86
112
34.662791
0.793682
0.39584
0
0
1
0
0.106195
0.018879
0
0
0
0
0
1
0.116279
false
0.139535
0.162791
0
0.372093
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
4328e1f1d7f34b36d5a968f75ed957f17afc214b
145
py
Python
rb/core/text_element_type.py
readerbench/ReaderBench
f0588a9a63ba21e3b8c2e5e5bc474904c07f6897
[ "Apache-2.0" ]
1
2022-03-05T17:12:55.000Z
2022-03-05T17:12:55.000Z
rb/core/text_element_type.py
rwth-acis/readerbenchpy
1a070ae678f58ccd6f358c0802bdf0b3b3dde9d3
[ "Apache-2.0" ]
2
2021-10-17T14:00:52.000Z
2021-10-17T14:00:52.000Z
rb/core/text_element_type.py
rwth-acis/readerbenchpy
1a070ae678f58ccd6f358c0802bdf0b3b3dde9d3
[ "Apache-2.0" ]
null
null
null
from enum import Enum, unique @unique class TextElementType(Enum): WORD = 0 SPAN = 1 SENT = 2 BLOCK = 3 DOC = 4 COMM = 5
14.5
29
0.57931
21
145
4
0.857143
0
0
0
0
0
0
0
0
0
0
0.063158
0.344828
145
10
30
14.5
0.821053
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.888889
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
433640fd41d9e6e3cb12a338912e0c2c66f93126
1,076
py
Python
easy/python/c0161_669_trim-a-binary-search-tree/00_leetcode_0161.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
easy/python/c0161_669_trim-a-binary-search-tree/00_leetcode_0161.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
easy/python/c0161_669_trim-a-binary-search-tree/00_leetcode_0161.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
3
2018-02-09T02:46:48.000Z
2021-02-20T08:32:03.000Z
# DRUNKWATER TEMPLATE(add description and prototypes) # Question Title and Description on leetcode.com # Function Declaration and Function Prototypes on leetcode.com #669. Trim a Binary Search Tree #Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies ...
21.098039
264
0.567844
154
1,076
3.941558
0.493506
0.034596
0.079077
0.056013
0
0
0
0
0
0
0
0.029851
0.315056
1,076
51
265
21.098039
0.793758
0.902416
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
4343353666e2ef270df2659a70c07e08552af37f
197
py
Python
netests/converters/facts/arista/nc.py
Netests/netests
1a48bda461761c4ec854d6fa0c38629049009a4a
[ "MIT" ]
14
2020-06-08T07:34:59.000Z
2022-03-14T08:52:03.000Z
netests/converters/facts/arista/nc.py
Netests/netests
1a48bda461761c4ec854d6fa0c38629049009a4a
[ "MIT" ]
null
null
null
netests/converters/facts/arista/nc.py
Netests/netests
1a48bda461761c4ec854d6fa0c38629049009a4a
[ "MIT" ]
3
2020-06-19T03:57:05.000Z
2020-06-22T22:46:42.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from netests.protocols.facts import Facts def _arista_facts_nc_converter( hostname: str(), cmd_output, options={} ) -> Facts: pass
15.153846
41
0.649746
25
197
4.92
0.88
0
0
0
0
0
0
0
0
0
0
0.012739
0.203046
197
12
42
16.416667
0.770701
0.218274
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
43451b292dbf070625e45b384c51e41a0f18dc86
672
py
Python
alice_ml/tests/test_features.py
lellight/alice-eeg-ml
cac18c9820ce451d6d83ad816884739c815f2006
[ "Apache-2.0" ]
2
2021-06-23T09:54:42.000Z
2021-06-23T09:57:48.000Z
alice_ml/tests/test_features.py
lellight/alice-eeg-ml
cac18c9820ce451d6d83ad816884739c815f2006
[ "Apache-2.0" ]
1
2022-01-19T19:08:20.000Z
2022-01-19T19:08:20.000Z
alice_ml/tests/test_features.py
lellight/alice-eeg-ml
cac18c9820ce451d6d83ad816884739c815f2006
[ "Apache-2.0" ]
3
2021-12-28T14:17:36.000Z
2021-12-30T08:47:47.000Z
import importlib.resources as pkg_resources import os import mne import os print(os.getcwd()) from alice_ml import data from alice_ml.features import get_features_from_mne def test_get_features_from_mne(): raw = mne.io.read_raw_fif(pkg_resources.open_binary(data, 'test_raw.fif'), preload=True, verbose=Fals...
26.88
107
0.727679
110
672
4.181818
0.427273
0.06087
0.097826
0.117391
0.091304
0
0
0
0
0
0
0.017986
0.172619
672
25
108
26.88
0.809353
0.105655
0
0.142857
0
0
0.060201
0
0
0
0
0.04
0.142857
1
0.071429
false
0
0.428571
0
0.5
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
43473c9aef335a8f162ee9b485fc51c21c15bddc
463
py
Python
strawberry/schema/config.py
huonw/strawberry
8e61b2fdcf17ce99acdb8aecce9f6392c121c564
[ "MIT" ]
null
null
null
strawberry/schema/config.py
huonw/strawberry
8e61b2fdcf17ce99acdb8aecce9f6392c121c564
[ "MIT" ]
3
2021-11-08T01:12:10.000Z
2022-03-21T06:33:38.000Z
strawberry/schema/config.py
uvicorn/strawberry
100e47fd430f0552c9ef9549306faceac610431d
[ "MIT" ]
null
null
null
from __future__ import annotations from dataclasses import InitVar, dataclass, field from .name_converter import NameConverter @dataclass class StrawberryConfig: auto_camel_case: InitVar[bool] = None name_converter: NameConverter = field(default_factory=NameConverter) def __post_init__( self, ...
24.368421
72
0.740821
55
463
5.818182
0.490909
0.140625
0.203125
0
0
0
0
0
0
0
0
0
0.207343
463
18
73
25.722222
0.871935
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.538462
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
4a288191e2360629158879b0d2d61f86fd452e73
598
py
Python
boucanpy/cli/alembic/alembic_init.py
bbhunter/boucanpy
7d2fb105e7b1e90653a511534fb878bb62d02f17
[ "MIT" ]
34
2019-11-16T17:22:15.000Z
2022-02-11T23:12:46.000Z
boucanpy/cli/alembic/alembic_init.py
bbhunter/boucanpy
7d2fb105e7b1e90653a511534fb878bb62d02f17
[ "MIT" ]
1
2021-02-09T09:34:55.000Z
2021-02-10T21:46:20.000Z
boucanpy/cli/alembic/alembic_init.py
bbhunter/boucanpy
7d2fb105e7b1e90653a511534fb878bb62d02f17
[ "MIT" ]
9
2019-11-18T22:18:07.000Z
2021-02-08T13:23:51.000Z
from os.path import join from boucanpy.core.utils import db_dir from boucanpy.db.session import session, db_register from boucanpy.db.utils import make_db_url from boucanpy.db.migrate.initialize import initialize from boucanpy.cli.base import BaseCommand class AlembicInit(BaseCommand): name = "alembic-init" a...
27.181818
53
0.727425
81
598
5.246914
0.45679
0.141176
0.098824
0
0
0
0
0
0
0
0
0
0.182274
598
21
54
28.47619
0.869121
0
0
0
0
0
0.075251
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0.058824
0.764706
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
4a31aecf0a31ed3d93d3dc1adc73dc82c62346a5
17,039
py
Python
lib/hypervisor/hv_lxc.py
yiannist/pkg-ganeti
26704f530a70d585fa576971cbe2612b1ebb0d76
[ "BSD-2-Clause" ]
null
null
null
lib/hypervisor/hv_lxc.py
yiannist/pkg-ganeti
26704f530a70d585fa576971cbe2612b1ebb0d76
[ "BSD-2-Clause" ]
null
null
null
lib/hypervisor/hv_lxc.py
yiannist/pkg-ganeti
26704f530a70d585fa576971cbe2612b1ebb0d76
[ "BSD-2-Clause" ]
null
null
null
# # # Copyright (C) 2010, 2013 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of condition...
34.078
80
0.639063
2,062
17,039
5.186227
0.260427
0.034786
0.016832
0.009819
0.228165
0.196746
0.157378
0.116701
0.075369
0.056854
0
0.004859
0.26322
17,039
499
81
34.146293
0.846981
0.13252
0
0.158301
0
0
0.142781
0.018435
0
0
0
0.01002
0.003861
0
null
null
0.003861
0.042471
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
4a3aa35c62346748e48ba603304d5209f57f8057
1,742
py
Python
tests/examples/todomvc/pageobjects_aka_widgets_approach/todomvc_test.py
KalinkinaMaria/selene
859e1102c85740b52af8d0f08dd6b6490b4bd2ff
[ "MIT" ]
null
null
null
tests/examples/todomvc/pageobjects_aka_widgets_approach/todomvc_test.py
KalinkinaMaria/selene
859e1102c85740b52af8d0f08dd6b6490b4bd2ff
[ "MIT" ]
1
2021-06-02T04:21:17.000Z
2021-06-02T04:21:17.000Z
tests/examples/todomvc/pageobjects_aka_widgets_approach/todomvc_test.py
vkarpenko/selene
4776357430c940be38f38be9981006dd156f9730
[ "MIT" ]
null
null
null
from selene import browser from selene.conditions import exact_text, hidden, exact_texts from selene.support.jquery_style_selectors import s, ss from tests.acceptance.helpers.helper import get_test_driver from tests.acceptance.helpers.todomvc import given_active def setup_module(m): browser.set_driver(get_test_d...
24.885714
102
0.690011
229
1,742
4.9869
0.296943
0.079685
0.034151
0.044658
0.054291
0.054291
0.054291
0
0
0
0
0.000708
0.188863
1,742
69
103
25.246377
0.807502
0
0
0.086957
0
0
0.041906
0
0
0
0
0
0
1
0.282609
false
0
0.108696
0.065217
0.586957
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
4a67313ae4c5bbebf88bd29697f9133ee61918d4
9,879
py
Python
bigtable/google/cloud/bigtable/column_family.py
mdornseif/google-cloud-python
6f73d1a32959baf1a5c17914adf86ceda6cbc3cf
[ "Apache-2.0" ]
2
2018-02-01T06:30:24.000Z
2018-04-12T15:39:56.000Z
bigtable/google/cloud/bigtable/column_family.py
mdornseif/google-cloud-python
6f73d1a32959baf1a5c17914adf86ceda6cbc3cf
[ "Apache-2.0" ]
7
2020-03-24T15:50:06.000Z
2021-06-08T19:57:39.000Z
bigtable/google/cloud/bigtable/column_family.py
y1ngyang/google-cloud-python
1acc8c22664229b6681ff91654932998e611e1c2
[ "Apache-2.0" ]
1
2018-09-19T05:55:27.000Z
2018-09-19T05:55:27.000Z
# Copyright 2015 Google LLC # # 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 writing, s...
33.040134
79
0.656342
1,278
9,879
4.838811
0.184664
0.064036
0.02749
0.028461
0.488842
0.417044
0.397154
0.374515
0.363357
0.363357
0
0.007758
0.256301
9,879
298
80
33.151007
0.833946
0.42889
0
0.512397
0
0
0.015579
0
0
0
0
0
0
1
0.206612
false
0
0.024793
0.041322
0.504132
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
4a6a9a5e7783c34db523deb5b66e549d4f37ef2f
11,274
py
Python
watcher/tests/db/test_action_description.py
ajaytikoo/watcher
6dbac1f6ae7f3e10dfdcef5721fa4af7af54e159
[ "Apache-2.0" ]
64
2015-10-18T02:57:24.000Z
2022-01-13T11:27:51.000Z
watcher/tests/db/test_action_description.py
ajaytikoo/watcher
6dbac1f6ae7f3e10dfdcef5721fa4af7af54e159
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
watcher/tests/db/test_action_description.py
ajaytikoo/watcher
6dbac1f6ae7f3e10dfdcef5721fa4af7af54e159
[ "Apache-2.0" ]
35
2015-12-25T13:53:21.000Z
2021-07-19T15:50:16.000Z
# -*- encoding: utf-8 -*- # Copyright (c) 2017 ZTE # # 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 a...
39.010381
75
0.658772
1,472
11,274
4.686821
0.108696
0.0574
0.040006
0.060009
0.750544
0.723873
0.688071
0.667778
0.640673
0.612408
0
0.015672
0.235941
11,274
288
76
39.145833
0.785233
0.057389
0
0.42
0
0
0.06744
0.007357
0
0
0
0
0.12
1
0.13
false
0
0.02
0
0.175
0
0
0
0
null
0
0
0
0
1
0
0
0
1
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
4a6ebb7b9cbc447ccc459b149c338710669bd49f
1,183
py
Python
gaphor/UML/profiles/packageimportconnect.py
Mu-L/gaphor
eee60fee165aa10a0e657840a568af000d484e0d
[ "Apache-2.0" ]
null
null
null
gaphor/UML/profiles/packageimportconnect.py
Mu-L/gaphor
eee60fee165aa10a0e657840a568af000d484e0d
[ "Apache-2.0" ]
null
null
null
gaphor/UML/profiles/packageimportconnect.py
Mu-L/gaphor
eee60fee165aa10a0e657840a568af000d484e0d
[ "Apache-2.0" ]
null
null
null
"""Package Import connection adapters.""" from gaphor import UML from gaphor.diagram.connectors import Connector, RelationshipConnect from gaphor.diagram.presentation import Named from gaphor.UML.profiles.packageimport import PackageImportItem @Connector.register(Named, PackageImportItem) class PackageImportConnect(...
33.8
80
0.695689
133
1,183
6.165414
0.421053
0.04878
0.041463
0.029268
0.180488
0.180488
0.180488
0.121951
0.121951
0
0
0
0.230769
1,183
34
81
34.794118
0.901099
0.190194
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.095238
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4a7811887858fb11f1ceb9d1a21afcbdb6b0a2e5
237
py
Python
lxfpython/oop-advance/use-type.py
dronly/python
3f7c2e4a36b2066262f92125d12c07cd72925621
[ "Apache-2.0" ]
null
null
null
lxfpython/oop-advance/use-type.py
dronly/python
3f7c2e4a36b2066262f92125d12c07cd72925621
[ "Apache-2.0" ]
null
null
null
lxfpython/oop-advance/use-type.py
dronly/python
3f7c2e4a36b2066262f92125d12c07cd72925621
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3.5 #-*- coding: utf-8-*- def fn(self, name = 'world'): # 定义函数 print('Hellow, %s.' % name) Hello = type('Hello', (object,), dict(hello=fn)) #创建Hello class h = Hello() h.hello() print(type(Hello)) print(type(h))
16.928571
63
0.607595
37
237
3.891892
0.648649
0.125
0.194444
0
0
0
0
0
0
0
0
0.014778
0.14346
237
13
64
18.230769
0.694581
0.257384
0
0
0
0
0.122093
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.428571
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
4a82b540cdc521634918d6a1b28e78c40ac85280
7,246
py
Python
pagarmecoreapi/models/get_plan_response.py
pagarme/pagarme-core-api-python
c7b11ca78ab3e7e896e5b75048e6f72b511db00e
[ "MIT" ]
6
2021-09-02T19:55:04.000Z
2022-03-16T14:06:15.000Z
pagarmecoreapi/models/get_plan_response.py
pagarme/pagarme-core-api-python
c7b11ca78ab3e7e896e5b75048e6f72b511db00e
[ "MIT" ]
2
2021-10-11T22:48:15.000Z
2022-01-24T18:24:23.000Z
pagarmecoreapi/models/get_plan_response.py
pagarme/pagarme-core-api-python
c7b11ca78ab3e7e896e5b75048e6f72b511db00e
[ "MIT" ]
2
2021-09-12T21:43:32.000Z
2022-03-07T16:58:54.000Z
# -*- coding: utf-8 -*- """ pagarmecoreapi This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ from pagarmecoreapi.api_helper import APIHelper import pagarmecoreapi.models.get_plan_item_response class GetPlanResponse(object): """Implementation of the 'GetPla...
39.380435
139
0.589705
707
7,246
5.871287
0.158416
0.078294
0.096121
0.116358
0.249578
0.12503
0.050108
0
0
0
0
0.005538
0.327215
7,246
183
140
39.595628
0.845949
0.26525
0
0
1
0
0.133791
0
0
0
0
0.114754
0
1
0.016667
false
0
0.016667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
4a88ec7565c89091ae3d1a210d171b5b10f08572
881
py
Python
cmd/list_corpus.py
raaj2045/watson4swamiji
e77be4fc8497f71cd299fd9802ee5961fef2f477
[ "Apache-2.0" ]
null
null
null
cmd/list_corpus.py
raaj2045/watson4swamiji
e77be4fc8497f71cd299fd9802ee5961fef2f477
[ "Apache-2.0" ]
null
null
null
cmd/list_corpus.py
raaj2045/watson4swamiji
e77be4fc8497f71cd299fd9802ee5961fef2f477
[ "Apache-2.0" ]
1
2020-07-30T09:40:59.000Z
2020-07-30T09:40:59.000Z
# -*- coding: utf-8 -*- import requests import json import codecs import sys, time from requests.packages.urllib3.exceptions import InsecureRequestWarning import env requests.packages.urllib3.disable_warnings(InsecureRequestWarning) ########################################################################## # List the...
31.464286
113
0.61748
101
881
5.316832
0.613861
0.03352
0.085661
0
0
0
0
0
0
0
0
0.011278
0.094211
881
27
114
32.62963
0.661654
0.072645
0
0
0
0
0.252252
0
0
0
0
0
0
1
0
false
0.055556
0.333333
0
0.333333
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
4a895fcf16ffad3431221f83c3067ccf097bc01d
7,376
py
Python
webauthbrute_random_usersupport.py
lucthienphong1120/full-45-bruteforce-tools
443f19f29bd815764c43f94f06453fb899ed6215
[ "MIT" ]
1
2022-03-24T07:52:35.000Z
2022-03-24T07:52:35.000Z
webauthbrute_random_usersupport.py
lucthienphong1120/full-45-bruteforce-tools
443f19f29bd815764c43f94f06453fb899ed6215
[ "MIT" ]
null
null
null
webauthbrute_random_usersupport.py
lucthienphong1120/full-45-bruteforce-tools
443f19f29bd815764c43f94f06453fb899ed6215
[ "MIT" ]
null
null
null
#!usr/bin/python #Pop-up Basic Authentication Random Brute Forcer + user loopup #It will scan for 401 authentication, collect users from google, brute force and save #successfull logins to a file. #Not fully tested, encourage feedback. #d3hydr8[at]gmail[dot]com import threading, time, random, sys, urllib2, httplib, r...
30.991597
136
0.62256
1,002
7,376
4.543912
0.259481
0.016912
0.028553
0.034043
0.207775
0.158796
0.158796
0.158796
0.085219
0.085219
0
0.021302
0.204447
7,376
237
137
31.122363
0.754601
0.034029
0
0.174757
0
0.009709
0.222956
0.025007
0
0
0
0
0
0
null
null
0.058252
0.009709
null
null
0.218447
0
0
0
null
0
0
0
0
0
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
4a8c03b6157b539f34d797e3563eab27f1d8b5e3
706
py
Python
PokerRL/_/CppWrapper.py
MAWUT0R/PokerRL
95708a5f7a16cb151bc4253132bdfd22ea7a9b25
[ "MIT" ]
247
2019-06-20T16:41:36.000Z
2022-03-28T11:40:12.000Z
PokerRL/_/CppWrapper.py
MAWUT0R/PokerRL
95708a5f7a16cb151bc4253132bdfd22ea7a9b25
[ "MIT" ]
11
2019-08-23T09:20:31.000Z
2021-12-05T23:44:27.000Z
PokerRL/_/CppWrapper.py
MAWUT0R/PokerRL
95708a5f7a16cb151bc4253132bdfd22ea7a9b25
[ "MIT" ]
61
2019-06-17T06:06:11.000Z
2022-03-01T17:55:44.000Z
# Copyright (c) 2019 Eric Steinberger import ctypes import os import numpy as np class CppWrapper: """ Baseclass to wrap a C++ library using ctypes """ ARR_2D_ARG_TYPE = np.ctypeslib.ndpointer(dtype=np.intp, ndim=1, flags='C') CPP_LIB_FILE_ENDING = "dll" if os.name == 'nt' else "so" def __...
25.214286
87
0.674221
113
706
3.858407
0.530973
0.045872
0.080275
0.036697
0
0
0
0
0
0
0
0.026882
0.209632
706
27
88
26.148148
0.75448
0.114731
0
0.133333
0
0
0.019704
0
0
0
0
0
0
1
0.2
false
0
0.2
0.133333
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
4a9157b38af902172de3f753d049be5d169f0aab
1,061
py
Python
app/main/errors.py
mapan1984/blog
9d60bbce0ee3cb67a8b9ae2ef1bd8c6e52720aad
[ "MIT" ]
null
null
null
app/main/errors.py
mapan1984/blog
9d60bbce0ee3cb67a8b9ae2ef1bd8c6e52720aad
[ "MIT" ]
2
2020-07-22T10:32:34.000Z
2020-07-22T10:34:00.000Z
app/main/errors.py
mapan1984/blog
9d60bbce0ee3cb67a8b9ae2ef1bd8c6e52720aad
[ "MIT" ]
null
null
null
from flask import render_template, request, jsonify from app.main import main @main.app_errorhandler(404) def page_not_found(error): if (request.accept_mimetypes.accept_json and not request.accept_mimetypes.accept_html): response = jsonify({'error': 'not found'}) response.status_code ...
30.314286
62
0.70311
130
1,061
5.538462
0.253846
0.108333
0.183333
0.233333
0.570833
0.570833
0.404167
0.404167
0.404167
0.404167
0
0.042453
0.200754
1,061
34
63
31.205882
0.806604
0
0
0.346154
0
0
0.093396
0
0
0
0
0
0
1
0.115385
false
0
0.076923
0
0.423077
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
4aa53c350131084f3aeb373bfc3594ded2767eff
1,095
py
Python
expenses/api/create.py
danngalann/myfinance-backend
c7a6d939c7f917c11e7374c1a48128a40acb983a
[ "MIT" ]
null
null
null
expenses/api/create.py
danngalann/myfinance-backend
c7a6d939c7f917c11e7374c1a48128a40acb983a
[ "MIT" ]
null
null
null
expenses/api/create.py
danngalann/myfinance-backend
c7a6d939c7f917c11e7374c1a48128a40acb983a
[ "MIT" ]
null
null
null
from rest_framework.generics import CreateAPIView from rest_framework import status from rest_framework.response import Response from django.shortcuts import get_object_or_404 from accounts.models import Account from expenses.serializer import ExpenseSerializer from expenses.models import Expense class ExpenseCreate...
34.21875
89
0.741553
132
1,095
6
0.424242
0.030303
0.064394
0.035354
0
0
0
0
0
0
0
0.013438
0.184475
1,095
31
90
35.322581
0.87346
0.044749
0
0
0
0
0.010536
0
0
0
0
0
0
1
0.045455
false
0
0.318182
0
0.590909
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
4aaa62c126e95e704547a4d1e1ce22c38a619b8f
8,462
py
Python
rabbit/pyfact.py
orneryhippo/saturdays
525ce086452e96a01d1762418c79d4c84fd605b5
[ "Apache-2.0" ]
null
null
null
rabbit/pyfact.py
orneryhippo/saturdays
525ce086452e96a01d1762418c79d4c84fd605b5
[ "Apache-2.0" ]
null
null
null
rabbit/pyfact.py
orneryhippo/saturdays
525ce086452e96a01d1762418c79d4c84fd605b5
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import math def bar(y,z): return 0 == ((6*y*z + y + z) % 35) def bar(y, z, ysgn = 1, zsgn = -1): return 0 == ((6*y*z + ysgn*y + zsgn*z) % 35) def foo(ysgn,zsgn): for y in range(35): for z in range(35): if bar(y,z,ysgn,zsgn): yield y,z, (-1*(y*ysgn + z*zsgn-3))%6 ...
17.777311
93
0.486883
1,883
8,462
2.163038
0.090813
0.023079
0.024306
0.027498
0.675178
0.651854
0.638841
0.626565
0.626565
0.617235
0
0.115884
0.262704
8,462
475
94
17.814737
0.536945
0.019026
0
0.60218
0
0
0.017658
0
0
0
0
0
0
0
null
null
0.00545
0.00545
null
null
0.079019
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
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
4aab3d974de2ff4a28058b4b102b3b86a015ef66
597
py
Python
src/db/address.py
huoyinghui/awesome-web
4c5576b42872a83b17931086b89ab23960f27051
[ "MIT" ]
null
null
null
src/db/address.py
huoyinghui/awesome-web
4c5576b42872a83b17931086b89ab23960f27051
[ "MIT" ]
9
2018-06-03T07:56:22.000Z
2018-06-04T04:31:15.000Z
src/db/address.py
huoyinghui/awesome-web
4c5576b42872a83b17931086b89ab23960f27051
[ "MIT" ]
null
null
null
import hashlib from sqlalchemy import Column, Integer, String, Boolean, Date, ForeignKey from sqlalchemy.orm import relationship from datetime import date, datetime from base import Base, encryted_salt class Address(Base): __tablename__ = 'addresses' id = Column(Integer, primary_key=True) email_address = ...
27.136364
73
0.730318
72
597
5.736111
0.555556
0.094431
0.072639
0
0
0
0
0
0
0
0
0
0.165829
597
21
74
28.428571
0.829317
0
0
0
0
0
0.112416
0.048658
0
0
0
0
0
1
0.066667
false
0.066667
0.333333
0.066667
0.866667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
4ab437ee03ae0f5e9791f0a4ae10387879de99ac
658
py
Python
matrices/test_operate_on_cols.py
elli0ttB/problems
65bdfca8b191422af683d91606baae92bd00cb80
[ "MIT" ]
null
null
null
matrices/test_operate_on_cols.py
elli0ttB/problems
65bdfca8b191422af683d91606baae92bd00cb80
[ "MIT" ]
null
null
null
matrices/test_operate_on_cols.py
elli0ttB/problems
65bdfca8b191422af683d91606baae92bd00cb80
[ "MIT" ]
null
null
null
from operate_on_cols import transform_matrix def setup_function(fn): global mat mat = [[0, 1, 2, 3, 4, 5], [7, 8, 9, 10, 11, 12], [13, 14, 15, 16, 17, 18], [19, 20, 21, 22, 23, 24]] global mary mary = [[0, 1, 0], [3, 4, 5], [6, 7, 0]] d...
22.689655
44
0.37234
95
658
2.515789
0.431579
0.100418
0.112971
0.100418
0.263598
0.029289
0
0
0
0
0
0.261838
0.454407
658
28
45
23.5
0.4039
0
0
0
0
0
0
0
0
0
0
0
0.095238
1
0.095238
false
0
0.047619
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4ab863b40ddd5d60c799180f12e7e59b5a6adf56
284
py
Python
backend/atlas/queries/__init__.py
getsentry/atlas
9bf4a236b99a24a7a17700591a0ff94feecf7ce7
[ "Apache-2.0" ]
18
2019-09-24T23:49:41.000Z
2020-11-14T17:30:27.000Z
backend/atlas/queries/__init__.py
getsentry/atlas
9bf4a236b99a24a7a17700591a0ff94feecf7ce7
[ "Apache-2.0" ]
53
2019-09-24T18:50:25.000Z
2022-02-27T11:44:55.000Z
backend/atlas/queries/__init__.py
getsentry/atlas
9bf4a236b99a24a7a17700591a0ff94feecf7ce7
[ "Apache-2.0" ]
2
2020-02-03T08:22:36.000Z
2021-02-28T12:55:48.000Z
import graphene from . import changes, departments, employeetypes, me, offices, teams, users class RootQuery( me.Query, changes.Query, departments.Query, employeetypes.Query, offices.Query, teams.Query, users.Query, graphene.ObjectType, ): pass
16.705882
76
0.68662
30
284
6.5
0.5
0
0
0
0
0
0
0
0
0
0
0
0.221831
284
16
77
17.75
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.076923
0.153846
0
0.230769
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
1
0
0
0
0
0
2
4349b6a5985d36ee673d6e41f23586f5d0bb7b9d
1,933
py
Python
tests/test_utils.py
pksol/mock_autogen
5eff3db7bac5f59c5c1c54cfcb4e66576d261ed9
[ "MIT" ]
26
2018-12-24T15:02:34.000Z
2022-03-17T06:26:08.000Z
tests/test_utils.py
pksol/mock_autogen
5eff3db7bac5f59c5c1c54cfcb4e66576d261ed9
[ "MIT" ]
29
2018-10-20T17:45:53.000Z
2022-03-08T02:24:24.000Z
tests/test_utils.py
pksol/mock_autogen
5eff3db7bac5f59c5c1c54cfcb4e66576d261ed9
[ "MIT" ]
null
null
null
import pyperclip from mock_autogen.utils import print_result, copy_result_to_clipboard, \ get_unique_item @copy_result_to_clipboard @print_result def my_simple_func(param): return param + param def safe_assert_clipboard(expected): """ Asserts that the clipboard contains the expected string. If...
25.773333
77
0.684946
270
1,933
4.681481
0.340741
0.060918
0.092563
0.050633
0.255538
0.207278
0.207278
0.207278
0.207278
0.207278
0
0.009973
0.221935
1,933
74
78
26.121622
0.830452
0.219865
0
0.227273
1
0
0.029372
0
0
0
0
0
0.454545
1
0.159091
false
0.022727
0.045455
0.022727
0.227273
0.068182
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
1
0
0
0
0
0
0
0
0
0
2