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
6cd272ae05038b5a4339d86005e7b571f993e7d4
330
py
Python
services/python-images/server.py
hpi-epic/mpcsl
05361acb0c8da68ddfa21f9fc9cd32a59255dc5c
[ "MIT" ]
1
2021-11-21T13:52:36.000Z
2021-11-21T13:52:36.000Z
services/python-images/server.py
hpi-epic/mpcsl
05361acb0c8da68ddfa21f9fc9cd32a59255dc5c
[ "MIT" ]
3
2021-10-06T13:23:43.000Z
2022-01-07T13:48:41.000Z
services/python-images/server.py
hpi-epic/mpcsl
05361acb0c8da68ddfa21f9fc9cd32a59255dc5c
[ "MIT" ]
null
null
null
from src.app import socketio, app from src.master.config import MPCI_ENVIRONMENT, PORT if __name__ == "__main__": isDevelopment = MPCI_ENVIRONMENT != 'production' and MPCI_ENVIRONMENT != 'staging' port = PORT if port is None: port = 5000 socketio.run(app, host="0.0.0.0", port=port, debug=isDev...
30
86
0.7
45
330
4.888889
0.533333
0.204545
0.027273
0
0
0
0
0
0
0
0
0.029963
0.190909
330
10
87
33
0.794007
0
0
0
0
0
0.09697
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6cd776c2f857355dcc8be1d2f3f3588c2dca0a95
519
py
Python
problems/pe2.py
tgetzoya/project-euler-python
c459dc0f853c27006db6865be731ad53ee2cd778
[ "BSD-2-Clause" ]
null
null
null
problems/pe2.py
tgetzoya/project-euler-python
c459dc0f853c27006db6865be731ad53ee2cd778
[ "BSD-2-Clause" ]
null
null
null
problems/pe2.py
tgetzoya/project-euler-python
c459dc0f853c27006db6865be731ad53ee2cd778
[ "BSD-2-Clause" ]
null
null
null
# Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: # # 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... # # By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms....
25.95
142
0.583815
88
519
3.443182
0.636364
0.033003
0.092409
0.145215
0
0
0
0
0
0
0
0.109195
0.32948
519
19
143
27.315789
0.761494
0.628131
0
0
1
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6cd8f5cd1a456c09836d701f0fea24d3f6da7736
1,987
py
Python
extractor.py
nataMamed/webscraping
68b8c9c98e14df73855b3def11e71215e810f42b
[ "MIT" ]
2
2021-06-02T21:16:30.000Z
2021-06-15T20:27:08.000Z
extractor.py
nataMamed/email-scraping
68b8c9c98e14df73855b3def11e71215e810f42b
[ "MIT" ]
null
null
null
extractor.py
nataMamed/email-scraping
68b8c9c98e14df73855b3def11e71215e810f42b
[ "MIT" ]
null
null
null
import re from requests import get from requests.exceptions import MissingSchema, ConnectionError import pandas as pd class Extractor: def __init__(self, regular_expression): self.regular_expression = regular_expression self.elements = set() def find_elements(self, text): new_eleme...
29.656716
122
0.65224
249
1,987
4.971888
0.373494
0.072698
0.050889
0.038772
0.229402
0.156704
0
0
0
0
0
0.00698
0.206844
1,987
67
123
29.656716
0.778553
0.382989
0
0.071429
0
0
0.05551
0.017399
0
0
0
0
0
0
null
null
0
0.142857
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
0
0
0
0
0
0
1
6cdc76b7958922046e3982c5fcbc6d2ff66de635
1,376
py
Python
shakelib/correlation/boore_2003.py
ynthdhj/shakemap
2771b8aee6b22f065cc80632c894a0ba77829619
[ "CC0-1.0" ]
null
null
null
shakelib/correlation/boore_2003.py
ynthdhj/shakemap
2771b8aee6b22f065cc80632c894a0ba77829619
[ "CC0-1.0" ]
null
null
null
shakelib/correlation/boore_2003.py
ynthdhj/shakemap
2771b8aee6b22f065cc80632c894a0ba77829619
[ "CC0-1.0" ]
null
null
null
import numpy as np class Boore2003(object): """ Implements the correlation model proposed in the appendix of Boore et al. (2003). To do - Inherit from SpatialCorrelation class. References: Boore, D. M., Gibbs, J. F., Joyner, W. B., Tinsley, J. C., & Ponti, D. J. (2003). E...
36.210526
83
0.612645
170
1,376
4.935294
0.694118
0.038141
0.016687
0
0
0
0
0
0
0
0
0.040942
0.289971
1,376
37
84
37.189189
0.81781
0.702035
0
0
0
0
0.134831
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6ce6e8d9537188868b4c69468b964ff8533cd15f
1,409
py
Python
data_structs/RewardFuncDictClass.py
david-abel/vpsa_aistats2020
06e3c7ce1691e27d0eb1757c585623bd35bc494b
[ "MIT" ]
4
2020-02-17T21:35:22.000Z
2021-08-29T07:07:23.000Z
data_structs/RewardFuncDictClass.py
david-abel/vpsa_aistats2020
06e3c7ce1691e27d0eb1757c585623bd35bc494b
[ "MIT" ]
null
null
null
data_structs/RewardFuncDictClass.py
david-abel/vpsa_aistats2020
06e3c7ce1691e27d0eb1757c585623bd35bc494b
[ "MIT" ]
null
null
null
# Python imports. import random from collections import defaultdict class RewardFuncDict(object): def __init__(self, reward_func_lambda, state_space, action_space, sample_rate=10): ''' Args: reward_func_lambda (lambda : simple_rl.State x str --> float) state_space (list) ...
29.354167
112
0.624556
173
1,409
4.745665
0.254335
0.085262
0.097442
0.076736
0.405603
0.405603
0.405603
0.405603
0.325213
0.165652
0
0.00199
0.286728
1,409
47
113
29.978723
0.814925
0.288148
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.133333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6ce9f324d55b6ae60b1dceae331b0a18c49e6cb8
606
py
Python
cpematcher/utils.py
alertot/cpematcher
3b7f1fc18988700764326e8299fffa26a0dd2cd6
[ "MIT" ]
3
2018-08-06T16:08:14.000Z
2019-12-10T17:18:21.000Z
cpematcher/utils.py
alertot/cpematcher
3b7f1fc18988700764326e8299fffa26a0dd2cd6
[ "MIT" ]
2
2019-06-26T19:23:04.000Z
2019-06-30T23:17:46.000Z
cpematcher/utils.py
alertot/cpematcher
3b7f1fc18988700764326e8299fffa26a0dd2cd6
[ "MIT" ]
3
2019-06-25T06:11:07.000Z
2021-11-02T13:13:37.000Z
# heavily inspired by https://stackoverflow.com/a/21882672 def split_cpe_string(string): ret = [] current = [] itr = iter(string) for ch in itr: if ch == "\\": try: # skip the next character; it has been escaped! current.append(next(itr)) e...
27.545455
63
0.50495
66
606
4.606061
0.636364
0.085526
0.085526
0.131579
0
0
0
0
0
0
0
0.021277
0.379538
606
21
64
28.857143
0.787234
0.244224
0
0.235294
0
0
0.006608
0
0
0
0
0
0
1
0.058824
false
0.058824
0
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6cea6d4c2bf84f2fcbdb49e2bfc9d402a5e6ec16
6,573
py
Python
wft_crawler.py
phulsechinmay/destiny-flavor-text-generator
a97879f892aa1bea0f1890ca4de7c28f3c366148
[ "MIT" ]
null
null
null
wft_crawler.py
phulsechinmay/destiny-flavor-text-generator
a97879f892aa1bea0f1890ca4de7c28f3c366148
[ "MIT" ]
null
null
null
wft_crawler.py
phulsechinmay/destiny-flavor-text-generator
a97879f892aa1bea0f1890ca4de7c28f3c366148
[ "MIT" ]
null
null
null
from requests import get from bs4 import BeautifulSoup import sys import re fileName = '' weaponFlavorTexts = [] weaponTitles = [] dismissedFlavorTexts = ['An Awoken gift from the Reef, marked with the Queen\'s crown.', 'A prestigious trophy earned in battle during the Trials of Osiris.', 'Executor-issued sidearm fo...
46.95
2,148
0.697855
756
6,573
6.043651
0.298942
0.010943
0.017728
0.02889
0.560517
0.512804
0.49617
0.46334
0.446925
0.427884
0
0.00823
0.205081
6,573
139
2,149
47.28777
0.86622
0.009128
0
0.413043
0
0.01087
0.376399
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.119565
0.021739
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ceeab74fac4b47e00b939e03b78599e3b6bd64d
1,602
py
Python
audioplayer/audioplayer_windows.py
mark-summerfield/AudioPlayer
1681eb9673f8cc8b26bbe646fda601c5caf3a27a
[ "MIT" ]
21
2020-07-01T20:31:25.000Z
2022-03-16T08:34:52.000Z
audioplayer/audioplayer_windows.py
Frankkkkk/AudioPlayer
5a9e666e462cd668084acc44af8eab68b1d9e2b4
[ "MIT" ]
12
2020-07-12T16:06:45.000Z
2021-12-24T17:14:36.000Z
audioplayer/audioplayer_windows.py
Frankkkkk/AudioPlayer
5a9e666e462cd668084acc44af8eab68b1d9e2b4
[ "MIT" ]
7
2020-07-12T15:49:59.000Z
2022-02-04T17:16:31.000Z
from .abstractaudioplayer import AbstractAudioPlayer, AudioPlayerError from ctypes import windll class AudioPlayerWindows(AbstractAudioPlayer): def __init__(self, filename): super().__init__(filename) self._alias = "A{}".format(id(self)) def _mciSendString(self, command): return windl...
34.826087
106
0.627341
177
1,602
5.497175
0.440678
0.073998
0.092497
0.055498
0
0
0
0
0
0
0
0.009926
0.245318
1,602
45
107
35.6
0.793218
0.121099
0
0
0
0
0.10307
0
0
0
0
0
0
1
0.3
false
0
0.066667
0.033333
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9f034d514b4b28895e441e4548cccf532da11adc
294
py
Python
simp-py-code/task5.py
Michaeloye/python-journey
ff8ce0e8796a129994f9a9a9dbb80340fa5790dc
[ "MIT" ]
null
null
null
simp-py-code/task5.py
Michaeloye/python-journey
ff8ce0e8796a129994f9a9a9dbb80340fa5790dc
[ "MIT" ]
null
null
null
simp-py-code/task5.py
Michaeloye/python-journey
ff8ce0e8796a129994f9a9a9dbb80340fa5790dc
[ "MIT" ]
null
null
null
# Given 2 strings, give a new string made of the fist, middle and last character #each string string1 = "david" string2 = "fishe" middle1 = int((len(string1)/2)) middle2 = int((len(string2)/2)) print(string1[0] + string2[0] + string1[middle1] + string2[middle2] + string1[-1:] + string2[-1:])
32.666667
98
0.690476
44
294
4.613636
0.613636
0.059113
0
0
0
0
0
0
0
0
0
0.083333
0.142857
294
8
99
36.75
0.722222
0.302721
0
0
0
0
0.049505
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f08003aeaa8031b3780b693184f29506dd94f39
634
py
Python
migrations/versions/3fe295f88b49_.py
EricSchles/investigator
88b4215667b24483efbd9aba690e7c3a231539f6
[ "MIT" ]
17
2016-06-17T23:42:42.000Z
2020-06-29T19:17:09.000Z
migrations/versions/3fe295f88b49_.py
EricSchles/investigator
88b4215667b24483efbd9aba690e7c3a231539f6
[ "MIT" ]
6
2016-06-16T18:46:45.000Z
2017-07-02T16:41:45.000Z
migrations/versions/3fe295f88b49_.py
EricSchles/investigator
88b4215667b24483efbd9aba690e7c3a231539f6
[ "MIT" ]
11
2016-06-21T21:17:46.000Z
2020-06-30T05:25:36.000Z
"""empty message Revision ID: 3fe295f88b49 Revises: 907bade2acf1 Create Date: 2017-05-23 15:06:40.128657 """ # revision identifiers, used by Alembic. revision = '3fe295f88b49' down_revision = '907bade2acf1' from alembic import op import sqlalchemy as sa def upgrade(): # ### commands auto generated by Alembic ...
23.481481
87
0.694006
80
634
5.3875
0.5875
0.062645
0.097448
0.106729
0.204176
0.204176
0.204176
0.204176
0
0
0
0.087452
0.170347
634
26
88
24.384615
0.731939
0.4653
0
0
0
0
0.231788
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9f085ce02f28aef0b1c7ea16f1fd47d0c2730891
2,053
py
Python
swagger_server/controllers/bill_controller.py
BlockChainProj/Server
d0ecc25146c9cc987861b9b3fd0473e975865bb7
[ "MIT" ]
null
null
null
swagger_server/controllers/bill_controller.py
BlockChainProj/Server
d0ecc25146c9cc987861b9b3fd0473e975865bb7
[ "MIT" ]
null
null
null
swagger_server/controllers/bill_controller.py
BlockChainProj/Server
d0ecc25146c9cc987861b9b3fd0473e975865bb7
[ "MIT" ]
null
null
null
import connexion import six from swagger_server.models.bill_list import BillList # noqa: E501 from swagger_server import util from client import bcosclient as bcos import json from client.datatype_parser import DatatypeParser from client.common import transaction_common # #找到abi文件 # def default_abi_file(contractn...
31.584615
121
0.715051
240
2,053
5.866667
0.395833
0.02983
0.024148
0.028409
0.080966
0.051136
0.051136
0.051136
0.051136
0
0
0.046707
0.186556
2,053
64
122
32.078125
0.796407
0.499756
0
0
0
0
0.13655
0.084189
0
0
0.043121
0
0
1
0.043478
false
0
0.347826
0
0.478261
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9f0b5e38de3ec452d91acd08493b31ff6bf47813
4,130
py
Python
Chessnut/variant/moves4p.py
redfox-gx/Chessnut
a9e2cf97193713dfeb36be799e44461abfb8600d
[ "Unlicense" ]
null
null
null
Chessnut/variant/moves4p.py
redfox-gx/Chessnut
a9e2cf97193713dfeb36be799e44461abfb8600d
[ "Unlicense" ]
null
null
null
Chessnut/variant/moves4p.py
redfox-gx/Chessnut
a9e2cf97193713dfeb36be799e44461abfb8600d
[ "Unlicense" ]
null
null
null
""" Generates and returns a dictionary containing the superset of (i.e., all) legal moves on a four player chessboard. """ from math import atan2 from copy import deepcopy row_size = 14 raster_size = row_size * row_size DIRECTIONS = [(1, 0), (1, 1), (0, 1), (-1, 1), # straight lines (-1, 0), (-1, -1), ...
37.545455
102
0.530024
687
4,130
3.09607
0.299854
0.013164
0.026328
0.039492
0.173954
0.138693
0.118007
0.09591
0.06488
0.06488
0
0.089505
0.310169
4,130
109
103
37.889908
0.657073
0.23632
0
0
1
0
0.016489
0
0
0
0
0
0
1
0.015625
false
0
0.03125
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f1319577b2a421c92d2899f666ae92db73d23c5
22,408
py
Python
tube_network/src/migration.py
rpatil524/examples
44d195615dba4fc320e041e1e552333e114b24a7
[ "Apache-2.0" ]
77
2018-09-26T20:28:27.000Z
2021-04-17T14:38:52.000Z
tube_network/src/migration.py
rpatil524/examples
44d195615dba4fc320e041e1e552333e114b24a7
[ "Apache-2.0" ]
53
2018-09-17T20:02:10.000Z
2021-01-21T16:29:29.000Z
tube_network/src/migration.py
rpatil524/examples
44d195615dba4fc320e041e1e552333e114b24a7
[ "Apache-2.0" ]
44
2018-10-08T11:53:03.000Z
2021-02-06T13:23:41.000Z
# Copyright 2021 Vaticle # # 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, soft...
50.696833
171
0.315691
1,325
22,408
5.149434
0.181887
0.038693
0.034882
0.023743
0.345596
0.271435
0.228638
0.228638
0.215448
0.185695
0
0.007371
0.60648
22,408
441
172
50.811791
0.766387
0.059354
0
0.323288
0
0
0.099981
0.003144
0
0
0
0
0
1
0.027397
false
0
0.019178
0.00274
0.057534
0.013699
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f20ad820250a8e83bcc8a69473c0a9c8790307e
361
py
Python
cpp-tensorflow-2.3.1/Docker/Dockerfile.py
p-geon/DockerBonsai
1b1deafe228438e5ce3b4a41026aef4748f98573
[ "MIT" ]
1
2021-11-28T13:27:41.000Z
2021-11-28T13:27:41.000Z
docker-cpp_tensorflow-2.3.1/Docker/Dockerfile.py
p-geon/DockerBonsai
1b1deafe228438e5ce3b4a41026aef4748f98573
[ "MIT" ]
8
2021-02-19T12:54:22.000Z
2021-02-25T02:32:23.000Z
docker-cpp_tensorflow-2.3.1/Docker/Dockerfile.py
p-geon/DockerBonsai
1b1deafe228438e5ce3b4a41026aef4748f98573
[ "MIT" ]
null
null
null
FROM tensorflow/tensorflow:2.3.1-gpu #ENV version_tf=2.4.0 ENV version_tf=2.3.1 RUN apt-get update && apt-get install -y --quiet --no-install-recommends \ vim \ wget # python RUN pip install -q --upgrade pip COPY ./requirements.txt ./ RUN pip install -r requirements.txt -q WORKDIR /work #ENTRYPOINT ["/bin/bash"] ...
24.066667
74
0.717452
60
361
4.283333
0.633333
0.015564
0.023346
0.101167
0
0
0
0
0
0
0
0.028754
0.132964
361
15
75
24.066667
0.792332
0.141274
0
0
0
0
0.071429
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9f2b59f05d5a6b83fb7fd5d45a4705ada5d9bf11
21,194
py
Python
tandyberg/tandylayout.py
callumsnowden/tandyberg
45515f102ab5ac983778787ea07658f8c7d214c4
[ "MIT" ]
11
2020-10-11T03:16:04.000Z
2021-11-26T09:12:46.000Z
tandyberg/tandylayout.py
callumsnowden/tandyberg
45515f102ab5ac983778787ea07658f8c7d214c4
[ "MIT" ]
1
2021-02-19T12:52:27.000Z
2021-12-26T17:59:53.000Z
tandyberg/tandylayout.py
callumsnowden/tandyberg
45515f102ab5ac983778787ea07658f8c7d214c4
[ "MIT" ]
3
2021-01-26T00:06:34.000Z
2021-06-01T20:25:43.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'tandylayout.ui' # # Created by: PyQt5 UI code generator 5.15.0 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, ...
55.192708
100
0.701991
2,093
21,194
7.063545
0.117535
0.097673
0.093209
0.044643
0.315544
0.082116
0.059321
0.042817
0.029424
0.021983
0
0.024593
0.176937
21,194
383
101
55.336815
0.822632
0.013023
0
0.0271
1
0
0.086705
0
0
0
0
0
0
1
0.00542
false
0
0.00271
0
0.01084
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f2d23c2c06b9bee99b5654eed887dc647598cdb
431
py
Python
Dataset/Leetcode/train/58/642.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/642.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/642.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, s: str) -> int: n = len(s) start, end = 0, -1 for i in range(n): if i == 0 and s[i] != " ": start = i if s[i] != " " and s[i-1] == " ": start = i if s[i] == " " and s[i-1] != " ": ...
26.9375
45
0.306265
60
431
2.2
0.35
0.090909
0.151515
0.136364
0.242424
0.242424
0.242424
0.242424
0.242424
0
0
0.039216
0.526682
431
15
46
28.733333
0.607843
0
0
0.142857
0
0
0.013953
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f41f73600157cb06a7b8994ef68c50d5f1ec0c3
6,783
py
Python
GPy/testing/link_function_tests.py
PAC-Bayesian/GPy
7fe76385dc832de7cf9e4ce37832902c4d35593f
[ "BSD-3-Clause" ]
9
2019-06-16T01:18:52.000Z
2021-11-03T15:43:55.000Z
GPy/testing/link_function_tests.py
PAC-Bayesian/GPy
7fe76385dc832de7cf9e4ce37832902c4d35593f
[ "BSD-3-Clause" ]
3
2020-09-09T06:12:51.000Z
2021-06-01T23:46:18.000Z
GPy/testing/link_function_tests.py
PAC-Bayesian/GPy
7fe76385dc832de7cf9e4ce37832902c4d35593f
[ "BSD-3-Clause" ]
5
2019-07-07T13:17:44.000Z
2020-09-09T06:06:17.000Z
import numpy as np import scipy from scipy.special import cbrt from GPy.models import GradientChecker _lim_val = np.finfo(np.float64).max _lim_val_exp = np.log(_lim_val) _lim_val_square = np.sqrt(_lim_val) _lim_val_cube = cbrt(_lim_val) from GPy.likelihoods.link_functions import Identity, Probit, Cloglog, Log, Log_ex_1...
47.433566
115
0.703671
1,018
6,783
4.392927
0.154224
0.043605
0.069767
0.045617
0.745975
0.713104
0.650268
0.613372
0.602191
0.594141
0
0.020704
0.195341
6,783
142
116
47.767606
0.798644
0.093027
0
0.394495
0
0
0.004235
0
0
0
0
0.007042
0.284404
1
0.100917
false
0
0.045872
0
0.155963
0.009174
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f432504ee87116b087e943679129ed7b61d0265
2,510
py
Python
scripts/light_controller.py
dniewinski/fancy_lights
7c505072a641bef71bb27dcb86ac2f292789fe38
[ "MIT" ]
null
null
null
scripts/light_controller.py
dniewinski/fancy_lights
7c505072a641bef71bb27dcb86ac2f292789fe38
[ "MIT" ]
null
null
null
scripts/light_controller.py
dniewinski/fancy_lights
7c505072a641bef71bb27dcb86ac2f292789fe38
[ "MIT" ]
null
null
null
#!/usr/bin/env python from ridgeback_msgs.msg import * from warthog_msgs.msg import * import rospy from std_msgs.msg import * from colour import Color import lightPatterns STATE = "IDLE" def RAINBOWS(): global STATE node = rospy.init_node('platform_indicator_light_controller') rate = rospy.get_param('~u...
31.772152
193
0.623506
321
2,510
4.766355
0.336449
0.041176
0.05098
0.052288
0.239869
0.172549
0.172549
0.152941
0.084967
0.054902
0
0.024691
0.257769
2,510
78
194
32.179487
0.796565
0.024701
0
0.065574
0
0
0.113339
0.014321
0
0
0
0
0
0
null
null
0.016393
0.098361
null
null
0.081967
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9f44061095db981eb348e3387e2f8f47d1cc4b47
1,161
py
Python
platypush/plugins/switch/__init__.py
RichardChiang/platypush
1777ebb0516118cdef20046a92caab496fa7c6cb
[ "MIT" ]
null
null
null
platypush/plugins/switch/__init__.py
RichardChiang/platypush
1777ebb0516118cdef20046a92caab496fa7c6cb
[ "MIT" ]
null
null
null
platypush/plugins/switch/__init__.py
RichardChiang/platypush
1777ebb0516118cdef20046a92caab496fa7c6cb
[ "MIT" ]
null
null
null
from platypush.plugins import Plugin, action class SwitchPlugin(Plugin): """ Abstract class for interacting with switch devices """ def __init__(self, **kwargs): super().__init__(**kwargs) @action def on(self, device, *args, **kwargs): """ Turn the device on """ raise...
25.23913
99
0.577089
132
1,161
5.015152
0.401515
0.054381
0.063444
0.090634
0.208459
0.099698
0.099698
0
0
0
0
0.003704
0.302326
1,161
45
100
25.8
0.81358
0.193798
0
0.307692
0
0
0.006696
0
0
0
0
0
0
1
0.230769
false
0
0.038462
0
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9f4c175b8a74c627aeeca1320d7e505c42821ba2
7,771
py
Python
lib/evernote/edam/limits/constants.py
McAlyster/evergraph
44d8485a21a29ab242321c0761258b89ad0bae4d
[ "Apache-2.0", "BSD-2-Clause" ]
131
2015-01-08T17:25:47.000Z
2022-03-25T16:24:04.000Z
lib/evernote/edam/limits/constants.py
McAlyster/evergraph
44d8485a21a29ab242321c0761258b89ad0bae4d
[ "Apache-2.0", "BSD-2-Clause" ]
15
2015-01-09T10:11:41.000Z
2018-11-30T23:15:43.000Z
lib/evernote/edam/limits/constants.py
McAlyster/evergraph
44d8485a21a29ab242321c0761258b89ad0bae4d
[ "Apache-2.0", "BSD-2-Clause" ]
46
2015-01-20T07:18:04.000Z
2021-12-16T06:46:21.000Z
# # Autogenerated by Thrift Compiler # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py:new_style # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from ttypes import * EDAM_ATTRIBUTE_LEN_MIN = 1 EDAM_ATTRIBUTE_LEN_MAX = 4096 EDAM_ATTRIBUTE_RE...
42.697802
553
0.725261
1,338
7,771
3.828102
0.182362
0.014447
0.018743
0.030066
0.28895
0.109723
0.087661
0.084733
0.075361
0.063452
0
0.072664
0.070261
7,771
181
554
42.933702
0.636263
0.016343
0
0.017442
1
0.081395
0.365375
0.309979
0
0
0
0
0
1
0
false
0.017442
0.011628
0
0.011628
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f5c9aa5050959865e3ea2b5411ee28634faf612
23,407
py
Python
sefontmap.py
zcold/sefontpy
2ac7d130408a4aa14079d9bc566f37850282f443
[ "MIT" ]
null
null
null
sefontmap.py
zcold/sefontpy
2ac7d130408a4aa14079d9bc566f37850282f443
[ "MIT" ]
null
null
null
sefontmap.py
zcold/sefontpy
2ac7d130408a4aa14079d9bc566f37850282f443
[ "MIT" ]
null
null
null
# coding: utf-8 # The MIT License (MIT) # Copyright (c) 2014 by Shuo Li (contact@shuo.li) # # 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 li...
29.932225
96
0.626522
3,026
23,407
4.596167
0.14078
0.018119
0.019773
0.015027
0.329594
0.263877
0.21333
0.180615
0.144234
0.121513
0
0.008761
0.263682
23,407
781
97
29.970551
0.798201
0.119665
0
0.178
0
0
0.09528
0.003143
0
0
0
0
0
0
null
null
0
0.03
null
null
0.028
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9f5f99c5ce8af3711fd17ec410b7454888498c73
53,035
py
Python
flydra_analysis/flydra_analysis/a2/kdviewer.py
liyi2017/flydra
9ec83f14514f73e660ae8fbda32a3cc0348d0cb4
[ "Apache-2.0", "MIT" ]
null
null
null
flydra_analysis/flydra_analysis/a2/kdviewer.py
liyi2017/flydra
9ec83f14514f73e660ae8fbda32a3cc0348d0cb4
[ "Apache-2.0", "MIT" ]
null
null
null
flydra_analysis/flydra_analysis/a2/kdviewer.py
liyi2017/flydra
9ec83f14514f73e660ae8fbda32a3cc0348d0cb4
[ "Apache-2.0", "MIT" ]
1
2019-11-18T07:57:47.000Z
2019-11-18T07:57:47.000Z
from __future__ import division if 1: # deal with old files, forcing to numpy import tables.flavor tables.flavor.restrict_flavors(keep=['numpy']) import os, sys, math import warnings import pkg_resources from tvtk.api import tvtk from tvtk.common import configure_input_data import numpy import numpy as n...
38.825037
165
0.535835
6,153
53,035
4.397692
0.128718
0.010902
0.024945
0.002957
0.380687
0.29942
0.248309
0.219557
0.196755
0.176503
0
0.033951
0.364646
53,035
1,365
166
38.85348
0.769082
0.065975
0
0.316135
0
0.001876
0.094679
0.006048
0
0
0
0
0.003752
0
null
null
0.000938
0.023452
null
null
0.040338
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9f754a28149b1273b74fae075d72f4e2b58600e3
234
py
Python
python/ucc21p2.py
ThePeeps191/dmoj-solutions
7137e945f3f595c481ad4d29e1dc3a77d8b26e55
[ "MIT" ]
1
2022-01-23T16:02:14.000Z
2022-01-23T16:02:14.000Z
python/ucc21p2.py
ThePeeps191/dmoj-solutions
7137e945f3f595c481ad4d29e1dc3a77d8b26e55
[ "MIT" ]
5
2022-01-23T00:16:49.000Z
2022-01-30T04:37:45.000Z
python/ucc21p2.py
ThePeeps191/dmoj-solutions
7137e945f3f595c481ad4d29e1dc3a77d8b26e55
[ "MIT" ]
1
2022-01-23T00:03:47.000Z
2022-01-23T00:03:47.000Z
N = int(input()) current = [] x = [] y = [] nums = [int(a) for a in input().split()] for n in nums: if n % 2 != 1: x.append(n) else: current.append(x) x = [] current.append(x) for l in current: y.append(sum(l)) print(max(y))
14.625
40
0.559829
44
234
2.977273
0.454545
0.198473
0.21374
0
0
0
0
0
0
0
0
0.010929
0.217949
234
16
41
14.625
0.704918
0
0
0.266667
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.066667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f76e95f35a4c7c1699943e77b916e89d7afdfbf
2,091
py
Python
src/EnvCNN/Exec/test_model.py
toppic-suite/envcnn
142d150e65b7fe7018904fa4536d2f1a7ece989d
[ "Apache-2.0" ]
1
2020-05-26T22:54:55.000Z
2020-05-26T22:54:55.000Z
src/EnvCNN/Exec/test_model.py
toppic-suite/envcnn
142d150e65b7fe7018904fa4536d2f1a7ece989d
[ "Apache-2.0" ]
null
null
null
src/EnvCNN/Exec/test_model.py
toppic-suite/envcnn
142d150e65b7fe7018904fa4536d2f1a7ece989d
[ "Apache-2.0" ]
null
null
null
##Copyright (c) 2014 - 2020, The Trustees of Indiana University. ## ##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 a...
40.211538
105
0.780488
327
2,091
4.788991
0.425076
0.030651
0.041507
0.030651
0.02682
0.02682
0
0
0
0
0
0.016103
0.109039
2,091
52
105
40.211538
0.824477
0.343376
0
0
0
0
0.106287
0
0
0
0
0
0
1
0
false
0
0.310345
0
0.310345
0.103448
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9f7be5ac13d54e991255943765be1a6ff6ff65bc
335
py
Python
setup.py
ESS-uzh/geoRpro
ddc9c0a757c72a72685ec203f98a6166bef9331f
[ "MIT" ]
null
null
null
setup.py
ESS-uzh/geoRpro
ddc9c0a757c72a72685ec203f98a6166bef9331f
[ "MIT" ]
1
2022-03-12T00:56:02.000Z
2022-03-12T00:56:02.000Z
setup.py
ESS-uzh/geoRpro
ddc9c0a757c72a72685ec203f98a6166bef9331f
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='geoRpro', version='0.1', description='Library to process geo raster data', url='https://github.com/ESS-uzh/geoRpro.git', author='Diego Villamaina', author_email='diego.villamaina@geo.uzh.ch', license='MIT', packages=['geoRpro'], z...
27.916667
55
0.647761
42
335
5.119048
0.809524
0.139535
0
0
0
0
0
0
0
0
0
0.007491
0.202985
335
11
56
30.454545
0.797753
0
0
0
0
0
0.402985
0.080597
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9f7eb4295b30dd333e36fd900eb43d8da500afdd
400
py
Python
downloadisimg/__main__.py
yaqoubihafsa/downloadimg
01e386e4db79faec01ad694d63487b044ea3b9dd
[ "MIT" ]
2
2021-04-26T21:34:25.000Z
2021-04-29T09:30:46.000Z
downloadisimg/__main__.py
yaqoubihafsa/downloadimg
01e386e4db79faec01ad694d63487b044ea3b9dd
[ "MIT" ]
null
null
null
downloadisimg/__main__.py
yaqoubihafsa/downloadimg
01e386e4db79faec01ad694d63487b044ea3b9dd
[ "MIT" ]
1
2021-04-29T11:54:30.000Z
2021-04-29T11:54:30.000Z
import requests def download(url, file_name): with open(file_name, 'wb') as handle: response = requests.get(url, stream=True) if not response.ok: print(response) for block in response.iter_content(1024): if not block: break handle.write(...
23.529412
49
0.5675
47
400
4.574468
0.617021
0.111628
0.139535
0.176744
0
0
0
0
0
0
0
0.015209
0.3425
400
17
50
23.529412
0.802281
0
0
0
0
0
0.024938
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
0.083333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f8350f70b6f8dafed5548685a85ca086bcc158b
3,022
py
Python
tests/base.py
TheSecEng/MarkdownTOC
7c69137249820dc586fd90b58fca2f34c54f2abc
[ "MIT" ]
null
null
null
tests/base.py
TheSecEng/MarkdownTOC
7c69137249820dc586fd90b58fca2f34c54f2abc
[ "MIT" ]
1
2020-05-24T11:44:49.000Z
2020-05-24T11:44:49.000Z
tests/base.py
TheSecEng/MarkdownTOC
7c69137249820dc586fd90b58fca2f34c54f2abc
[ "MIT" ]
null
null
null
# coding:utf-8 # import os import re import sublime from unittest import TestCase VERSION = sublime.version() class TestBase(TestCase): '''Super class includes common settings and functions. This class doesn't include any tests.''' def setUp(self): self.view = sublime.active_window().new_file() ...
31.154639
105
0.592323
386
3,022
4.507772
0.326425
0.082759
0.029885
0.032184
0.218391
0.135632
0.068966
0.04023
0.04023
0.04023
0
0.010724
0.259431
3,022
96
106
31.479167
0.766756
0.241562
0
0.122449
0
0.020408
0.124221
0.089938
0
0
0
0
0.122449
1
0.204082
false
0
0.061224
0.020408
0.367347
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9f8d2b5e9874c1c6314b2c9e8593fcd0669de315
2,045
py
Python
ocean_lib/web3_internal/test/test_contract_base.py
PosthumanMarket/ocean.py
e53f31934722ada2d3ff7d6d6fc18b82d9fa1790
[ "Apache-2.0" ]
null
null
null
ocean_lib/web3_internal/test/test_contract_base.py
PosthumanMarket/ocean.py
e53f31934722ada2d3ff7d6d6fc18b82d9fa1790
[ "Apache-2.0" ]
null
null
null
ocean_lib/web3_internal/test/test_contract_base.py
PosthumanMarket/ocean.py
e53f31934722ada2d3ff7d6d6fc18b82d9fa1790
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Ocean Protocol Foundation # SPDX-License-Identifier: Apache-2.0 import pytest from ocean_lib.ocean.util import to_base_18 from ocean_lib.web3_internal.contract_base import ContractBase from ocean_lib.web3_internal.contract_handler import ContractHandler from ocean_lib.web3_internal.wallet import Wal...
32.460317
81
0.733007
259
2,045
5.637066
0.409266
0.053425
0.032877
0.032877
0.060274
0.043836
0
0
0
0
0
0.012099
0.191687
2,045
62
82
32.983871
0.871143
0.235697
0
0.142857
0
0
0.04519
0
0
0
0
0.016129
0.314286
1
0.142857
false
0
0.171429
0.028571
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9f9031c94032aa9615c2643ade9e484c1f892e05
4,795
py
Python
accounts/migrations/0024_auto_20170814_1542.py
enrobyn/lookit-api
621fbb8b25100a21fd94721d39003b5d4f651dc5
[ "MIT" ]
null
null
null
accounts/migrations/0024_auto_20170814_1542.py
enrobyn/lookit-api
621fbb8b25100a21fd94721d39003b5d4f651dc5
[ "MIT" ]
null
null
null
accounts/migrations/0024_auto_20170814_1542.py
enrobyn/lookit-api
621fbb8b25100a21fd94721d39003b5d4f651dc5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-14 15:42 from __future__ import unicode_literals from django.db import migrations, models import django_countries.fields import multiselectfield.db.fields class Migration(migrations.Migration): dependencies = [ ('accounts', '0023_demographi...
61.474359
581
0.58123
528
4,795
5.189394
0.352273
0.087591
0.109489
0.127007
0.536131
0.519343
0.374818
0.357664
0.268613
0.183942
0
0.102754
0.212513
4,795
77
582
62.272727
0.622881
0.014181
0
0.514286
1
0
0.359441
0.017358
0
0
0
0
0
1
0
false
0
0.057143
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f9e0a660afee78b6e980996074f3fbe9f51b59d
1,769
py
Python
sessions/session_18.py
pavanmaradia/202102-Python-Django-Training
6ce836009acf037a921b7439a6edda7fc8370dcb
[ "MIT" ]
1
2021-02-09T16:14:36.000Z
2021-02-09T16:14:36.000Z
sessions/session_18.py
pavanmaradia/202102-Python-Django-Training
6ce836009acf037a921b7439a6edda7fc8370dcb
[ "MIT" ]
null
null
null
sessions/session_18.py
pavanmaradia/202102-Python-Django-Training
6ce836009acf037a921b7439a6edda7fc8370dcb
[ "MIT" ]
null
null
null
""" Built in functions String related Functions, upper, lower, title, capitalize, join, split Integer related Functions, abs, round, pow, div, divmod Data Structure related Functions min, max, count,len, zip, sorted Common Functions, sum, id, input, type, isinstance, prin...
22.679487
110
0.600339
245
1,769
4.297959
0.473469
0.034188
0.008547
0.015195
0
0
0
0
0
0
0
0.041164
0.203505
1,769
78
111
22.679487
0.706175
0.866591
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9faeeec0429ec597dcc9a08ebd24b97f34ccbd92
1,796
py
Python
rose/tests/test_profile.py
good-praxis/pronoun-discord-bot
c0c2a2bf7c902550dd03767dd80c563fdb620aac
[ "MIT" ]
1
2018-07-05T18:24:18.000Z
2018-07-05T18:24:18.000Z
rose/tests/test_profile.py
VulpineCat/pronoun-discord-bot
c0c2a2bf7c902550dd03767dd80c563fdb620aac
[ "MIT" ]
76
2018-12-09T15:59:12.000Z
2021-07-26T04:16:04.000Z
rose/tests/test_profile.py
VulpineCat/pronoun-discord-bot
c0c2a2bf7c902550dd03767dd80c563fdb620aac
[ "MIT" ]
null
null
null
import rose.profile.profile as prof import rose.profile.fields as fields class TestProfile(object): def test_profile_instantiation(self): profile = prof.Profile("133750022779961344") assert profile._id == "133750022779961344" def test_profile_generate_empty_profile(self): profile = pro...
43.804878
119
0.666481
200
1,796
5.765
0.25
0.042498
0.084996
0.133565
0.523851
0.465742
0.414571
0.322637
0.268864
0
0
0.065678
0.211581
1,796
40
120
44.9
0.748588
0
0
0.30303
0
0
0.242205
0
0
0
0
0
0.242424
1
0.212121
false
0
0.060606
0
0.30303
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9fafa0deb45966ae41b8eda8c2b724569bb49865
5,578
py
Python
mirlo.py
mike-thon/mirlo
8e8fd538c44e818531f019f140a190a2e7b3eb3d
[ "BSD-2-Clause" ]
null
null
null
mirlo.py
mike-thon/mirlo
8e8fd538c44e818531f019f140a190a2e7b3eb3d
[ "BSD-2-Clause" ]
null
null
null
mirlo.py
mike-thon/mirlo
8e8fd538c44e818531f019f140a190a2e7b3eb3d
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python import os import sys import csv import argparse import subprocess from Queue import Queue from threading import Thread from time import sleep import StringIO from Bio import SeqIO from Bio.AlignIO import convert from Bio.Phylo import read import pdb def parse_cli(): parser = argparse.ArgumentP...
27.751244
176
0.593223
717
5,578
4.446304
0.311018
0.017566
0.026662
0.008156
0
0
0
0
0
0
0
0.0045
0.282897
5,578
200
177
27.89
0.7925
0.015418
0
0.030075
0
0.015038
0.15236
0
0
0
0
0
0
0
null
null
0
0.097744
null
null
0.037594
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9fafea8d120eca237dc8ed8a9a98aff0979f7d85
2,669
py
Python
shellsql/aws.py
urq/awssql
7bdee8d955953499c6564072e10a9848ebc5df6a
[ "Apache-2.0" ]
null
null
null
shellsql/aws.py
urq/awssql
7bdee8d955953499c6564072e10a9848ebc5df6a
[ "Apache-2.0" ]
null
null
null
shellsql/aws.py
urq/awssql
7bdee8d955953499c6564072e10a9848ebc5df6a
[ "Apache-2.0" ]
null
null
null
import sys from boto3.session import Session from .models import Dataset from .utils import get_headers def get_instances_as_table(profile=None, region_name='us-east-1'): session = Session(profile_name=profile) ec2 = session.resource('ec2') data = extract_data_from_objects(ec2.instances.all()) # enr...
31.034884
93
0.624578
383
2,669
4.227154
0.360313
0.007412
0.009265
0.012971
0.042001
0.014824
0.014824
0
0
0
0
0.002579
0.273511
2,669
85
94
31.4
0.832388
0.238666
0
0.072727
0
0
0.031107
0
0
0
0
0.011765
0
1
0.127273
false
0.018182
0.072727
0.018182
0.345455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9fb4ca95fb4f399fd06c9bfbead8852bac3f493e
2,898
py
Python
BasicORM/model.py
giovani-dev/ORM-Firesore
3470aaa4f9db04192dde17e12b6c696a96ebc8d3
[ "MIT" ]
null
null
null
BasicORM/model.py
giovani-dev/ORM-Firesore
3470aaa4f9db04192dde17e12b6c696a96ebc8d3
[ "MIT" ]
null
null
null
BasicORM/model.py
giovani-dev/ORM-Firesore
3470aaa4f9db04192dde17e12b6c696a96ebc8d3
[ "MIT" ]
null
null
null
from typing import NamedTuple, Any, List from BasicORM.connection import DataBaseConnection from BasicORM.validate import BaseModelValidations class FilterConditional(NamedTuple): field: str conditional: str value: Any # class DefineBaseModel(object): class PostOperations(DataBaseConnection): def ...
29.571429
118
0.639061
334
2,898
5.254491
0.206587
0.123077
0.071795
0.087749
0.317379
0.300285
0.206268
0.206268
0.159544
0.159544
0
0
0.252933
2,898
97
119
29.876289
0.810624
0.031056
0
0.253521
0
0
0.000713
0
0
0
0
0
0
1
0.211268
false
0
0.042254
0.042254
0.492958
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9fb7b2d33cb1cf8a0df18c4c04bb9b424df00640
3,233
py
Python
contrib/status_testing/piped_status_testing/test/data/statustest_helper.py
alexbrasetvik/Piped
0312c14d6c4c293df378c915cc9787bcc7faed36
[ "MIT" ]
3
2015-02-12T20:34:30.000Z
2016-08-06T06:54:48.000Z
contrib/status_testing/piped_status_testing/test/data/statustest_helper.py
alexbrasetvik/Piped
0312c14d6c4c293df378c915cc9787bcc7faed36
[ "MIT" ]
null
null
null
contrib/status_testing/piped_status_testing/test/data/statustest_helper.py
alexbrasetvik/Piped
0312c14d6c4c293df378c915cc9787bcc7faed36
[ "MIT" ]
2
2015-12-16T14:18:14.000Z
2019-04-12T01:43:10.000Z
# Copyright (c) 2010-2011, Found IT A/S and Piped Project Contributors. # See LICENSE for details. from piped_status_testing import statustest, util from twisted.internet import reactor, defer """ This module contains statustests used only for internal testing of piped_status_testing. """ class HelperStatusTest(stat...
32.33
96
0.66347
378
3,233
5.539683
0.34127
0.086915
0.034384
0.032951
0.399713
0.350525
0.319962
0.296084
0.230659
0.230659
0
0.007894
0.25549
3,233
99
97
32.656566
0.862069
0.120012
0
0.43662
0
0
0.134115
0
0
0
0
0
0.098592
1
0.295775
false
0.028169
0.028169
0
0.380282
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9fc0d1b9a9c10748e46d20c0b5d1e05f290df6e6
1,769
py
Python
simpletextgenerator/models/worklist.py
thtroyer/simple-text-generator
2b84d5fc5efa6311331210cabfb74e4305fcf947
[ "MIT" ]
1
2018-08-04T02:01:15.000Z
2018-08-04T02:01:15.000Z
simpletextgenerator/models/worklist.py
thtroyer/simple-text-generator
2b84d5fc5efa6311331210cabfb74e4305fcf947
[ "MIT" ]
21
2020-09-25T22:52:32.000Z
2021-07-07T01:40:27.000Z
simpletextgenerator/models/worklist.py
thtroyer/simple-text-generator
2b84d5fc5efa6311331210cabfb74e4305fcf947
[ "MIT" ]
1
2019-01-11T21:00:26.000Z
2019-01-11T21:00:26.000Z
import abc from typing import List, Tuple class WorkList: def __init__(self, items_to_complete: Tuple): self._progress_current_task = 0 self._items_to_complete = items_to_complete self._current_item_index = 0 self._training_rate = 0 self._generating_rate = 0 def get_ti...
32.163636
111
0.701526
229
1,769
4.978166
0.209607
0.105263
0.118421
0.116667
0.39386
0.374561
0.328947
0.221053
0.221053
0.221053
0
0.014641
0.227812
1,769
54
112
32.759259
0.819912
0
0
0.128205
0
0
0
0
0
0
0
0
0
1
0.25641
false
0.025641
0.051282
0.051282
0.487179
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9fc11d45072844cb0cd37380e1602836f1deb636
2,547
py
Python
CistromeDB_metadata_QC_statistic_visualization(FRiP>0.25).py
yujijun/Higlass
0eec629a81a02d37a6872f3efee16da66accf832
[ "Apache-2.0" ]
null
null
null
CistromeDB_metadata_QC_statistic_visualization(FRiP>0.25).py
yujijun/Higlass
0eec629a81a02d37a6872f3efee16da66accf832
[ "Apache-2.0" ]
null
null
null
CistromeDB_metadata_QC_statistic_visualization(FRiP>0.25).py
yujijun/Higlass
0eec629a81a02d37a6872f3efee16da66accf832
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Sep 25 09:56:15 2019 @author: yujijun Description: QC by FRiP >= 0.25 and filter out non-information tissues Input: 03-Homo_sapiens_ca_DNase_QC(906)_add_info_mannually.csv Output: 04-Homo_sapiens_ca_DNase_QC(906)_non-info-tissue_FRiP0p25(5...
39.796875
142
0.709855
353
2,547
4.818697
0.379603
0.078189
0.10582
0.162258
0.326279
0.282187
0.253968
0.168136
0.168136
0.130511
0
0.074286
0.175501
2,547
64
143
39.796875
0.735714
0.146839
0
0
0
0.055556
0.177696
0.141601
0
0
0
0
0
1
0
false
0
0.138889
0
0.138889
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9fc41abfd81f224dca3b66260e6fcdbb8fc02f87
2,095
py
Python
tests/accounts/test_models.py
NjengaSaruni/Accountant-Web-Server
e77124307f235a4a446e1251d2830d7587cb8719
[ "MIT" ]
null
null
null
tests/accounts/test_models.py
NjengaSaruni/Accountant-Web-Server
e77124307f235a4a446e1251d2830d7587cb8719
[ "MIT" ]
19
2018-12-10T20:06:21.000Z
2021-06-10T21:03:31.000Z
tests/accounts/test_models.py
NjengaSaruni/Accountant-Web-Server
e77124307f235a4a446e1251d2830d7587cb8719
[ "MIT" ]
null
null
null
from django.core.exceptions import ValidationError from django.test import TestCase from app.accounts.models import User class UserModelTestCase(TestCase): def setUp(self): self.user = User.objects.create(first_name='James', last_name='Njenga', password='this!@#', email='jamesn...
36.754386
79
0.644391
239
2,095
5.48954
0.238494
0.073171
0.112043
0.128049
0.536585
0.303354
0.303354
0.303354
0.270579
0.234756
0
0.025974
0.228162
2,095
56
80
37.410714
0.785405
0.010024
0
0.3
0
0
0.185944
0.104929
0
0
0
0
0.175
1
0.175
false
0.075
0.075
0
0.275
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9fc68a4cdb7aede2fa706f461d87678b1999a5be
1,037
py
Python
Dataset/Leetcode/train/28/46.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/28/46.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/28/46.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: """ first time: total time: time complexity:O(m+n) space complexity:O(m+n) idea:KMP算法。将needle字符串、"#"、haystack字符串连接组成新的字符串s,利用kmp算法记录下needle字符串的所有位置的前缀函数值,迭代s中haystack部分字符串,依次计算每个位置的前缀函数值,但不用记录下来,只需用一个临时变量记下上一个位置的前缀函数值即可,直到找到某个位置的前缀函数值为m,停止迭代,利用停止迭代的下标值可以计算出needle字符串第一次在haystack中...
28.805556
214
0.528447
118
1,037
4.644068
0.398305
0.014599
0.058394
0.065693
0.189781
0.10219
0.054745
0.054745
0
0
0
0.020927
0.35487
1,037
35
215
29.628571
0.798206
0.057859
0
0.26087
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9fc9c247d6481a1122f3f4d83c3c28ba389eea83
1,903
py
Python
Davies_etal_GMD_2021/2D_cartesian/compressible_case/manual_diff_compressible_base.py
sghelichkhani/G-ADOPT
fc0144a6779b59899151b845a828d5357c36a372
[ "MIT" ]
6
2021-11-04T02:49:30.000Z
2022-02-11T10:01:04.000Z
Davies_etal_GMD_2021/2D_cartesian/compressible_case/manual_diff_compressible_base.py
sghelichkhani/G-ADOPT
fc0144a6779b59899151b845a828d5357c36a372
[ "MIT" ]
null
null
null
Davies_etal_GMD_2021/2D_cartesian/compressible_case/manual_diff_compressible_base.py
sghelichkhani/G-ADOPT
fc0144a6779b59899151b845a828d5357c36a372
[ "MIT" ]
null
null
null
# Additional constants and definition of compressible reference state: Ra = Constant(1e5) # Rayleigh number Di = Constant(0.5) # Dissipation number T0 = Constant(0.091) # Non-dimensional surface temperature tcond = Constant(1.0) # Thermal conductivity rho_0, alpha, cpr, cvr, gruneisen = 1.0, 1.0, 1.0, 1.0, 1.0 rhobar =...
61.387097
261
0.583815
243
1,903
4.514403
0.395062
0.021878
0.071103
0.014585
0.025524
0.025524
0.009116
0.009116
0
0
0
0.028725
0.121913
1,903
30
262
63.433333
0.627768
0.130846
0
0.142857
0
0
0.0743
0.045676
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9fcdc078a3c5fc9a267aa5dee40a6497f21a1428
1,469
py
Python
ArchiveTestScripts/TestMappingToolsPoint.py
simon-m-mudd/LSDMappingTools
d9137710ea18e54f3dc5b6782c5696cafdd2999f
[ "MIT" ]
34
2017-01-31T17:03:26.000Z
2021-09-15T17:23:21.000Z
ArchiveTestScripts/TestMappingToolsPoint.py
simon-m-mudd/LSDMappingTools
d9137710ea18e54f3dc5b6782c5696cafdd2999f
[ "MIT" ]
14
2017-01-11T19:45:08.000Z
2020-11-03T16:36:38.000Z
ArchiveTestScripts/TestMappingToolsPoint.py
LSDtopotools/LSDMappingTools
d9137710ea18e54f3dc5b6782c5696cafdd2999f
[ "MIT" ]
21
2015-11-26T10:24:19.000Z
2021-09-15T17:23:22.000Z
#============================================================================== # These are some scripts for testing the functionality of LSDMappingTools #============================================================================== # -*- coding: utf-8 -*- """ Created on Mon May 22 14:08:16 2016 @author: smudd """ i...
28.803922
80
0.633764
129
1,469
7.031008
0.581395
0.061742
0.072767
0.08269
0.2172
0.154355
0.154355
0.154355
0.154355
0.154355
0
0.010569
0.162696
1,469
51
81
28.803922
0.726829
0.354663
0
0
0
0
0.167235
0.075085
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4c7ef5af9648a44ab563c7f58736739886217b9f
1,362
py
Python
run_prod.py
quaintm/octopus
95a732207ee5f43cd0065d8ea6c643cbf3df2d61
[ "BSD-3-Clause" ]
null
null
null
run_prod.py
quaintm/octopus
95a732207ee5f43cd0065d8ea6c643cbf3df2d61
[ "BSD-3-Clause" ]
null
null
null
run_prod.py
quaintm/octopus
95a732207ee5f43cd0065d8ea6c643cbf3df2d61
[ "BSD-3-Clause" ]
null
null
null
from logging import INFO, getLogger, Formatter from logging.handlers import TimedRotatingFileHandler from gevent.wsgi import WSGIServer import os from octopus.app import create_app from octopus.settings import ProdConfig def main(): # Init the app app = create_app(ProdConfig) if not os.path.exists(os.path.dir...
34.05
87
0.68649
160
1,362
5.6375
0.41875
0.124169
0.113082
0.069845
0.075388
0.075388
0.075388
0
0
0
0
0
0.209251
1,362
40
88
34.05
0.837512
0.037445
0
0
0
0.035714
0.117737
0.018349
0
0
0
0
0
0
null
null
0
0.214286
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
0
0
0
0
0
0
1
4c7ef9027ceaf92eb61c91378c1f43643f9bf1e2
604
py
Python
global_config.py
mlscoder/douyin_robot
efb0495b902eecda4fc7afec254796ced6d73fba
[ "MIT" ]
6
2020-09-20T05:36:46.000Z
2022-01-03T11:20:02.000Z
global_config.py
mlscoder/douyin_robot
efb0495b902eecda4fc7afec254796ced6d73fba
[ "MIT" ]
null
null
null
global_config.py
mlscoder/douyin_robot
efb0495b902eecda4fc7afec254796ced6d73fba
[ "MIT" ]
5
2020-10-09T03:54:15.000Z
2022-01-03T11:19:56.000Z
# -- coding: utf-8 -- # 当前版本 VERSION = "0.0.1" DEBUG_SWITCH = True FACE_PATH = 'face/' # 你的adb安装目录 中间不能有空格 adb_path = "D:\\ClockworkMod\\Universal\\adb.exe" # 视频下载目录 需要先创建目录 没有新增创建方法 localVideoPath = 'E:/download' # 模拟器视频存放地址 # 我使用的逍遥模拟器,不同模拟器储存路径不一样,需要确认 address = '/storage/emulated/0/DCIM/Camera/' # 百度开放人脸识别API...
18.875
49
0.754967
66
604
6.818182
0.893939
0
0
0
0
0
0
0
0
0
0
0.060491
0.124172
604
31
50
19.483871
0.79017
0.316225
0
0
0
0
0.501247
0.448878
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
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c81e0b91aee1874fb0847aaca9e6ba1817a18a0
3,084
py
Python
app/base/models.py
Sharp-Objects/dashboard
4dbc64ce725d39e235c09405e720abc71f22f1c8
[ "MIT" ]
null
null
null
app/base/models.py
Sharp-Objects/dashboard
4dbc64ce725d39e235c09405e720abc71f22f1c8
[ "MIT" ]
15
2021-06-19T09:28:20.000Z
2021-06-20T07:03:08.000Z
app/base/models.py
Sharp-Objects/dashboard
4dbc64ce725d39e235c09405e720abc71f22f1c8
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- """ Copyright (c) 2021 - present SharpObjects """ from datetime import datetime from flask_login import UserMixin from sqlalchemy import Binary, Column, Integer, String, TIMESTAMP from app import db, login_manager from app.base.util import hash_pass class Recommendation(db.Model, UserMixin...
29.371429
84
0.653696
371
3,084
5.19407
0.253369
0.067462
0.033212
0.051894
0.445252
0.442657
0.412558
0.365854
0.318111
0.318111
0
0.006321
0.230545
3,084
104
85
29.653846
0.805731
0.021401
0
0.405405
0
0
0.040864
0.014618
0
0
0
0
0
1
0.135135
false
0.054054
0.067568
0.067568
0.675676
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4c8d5df56e5c869cf814f4c9392ec927f0c539f7
3,010
py
Python
xos/tosca/tests/observertest.py
xmaruto/mcord
3678a3d10c3703c2b73f396c293faebf0c82a4f4
[ "Apache-2.0" ]
null
null
null
xos/tosca/tests/observertest.py
xmaruto/mcord
3678a3d10c3703c2b73f396c293faebf0c82a4f4
[ "Apache-2.0" ]
5
2020-06-05T17:47:15.000Z
2021-09-23T23:21:27.000Z
xos/tosca/tests/observertest.py
pan2za/xos
c2a4da2ccaa12360b2718be303b247866aefdfe6
[ "Apache-2.0" ]
null
null
null
from basetest import * import logging import StringIO import subprocess import sys from synchronizers.base.event_loop import XOSObserver from synchronizers.model_policy import run_policy_once from xos.config import set_override from xos.logger import Logger, observer_logger class BaseObserverToscaTest(BaseToscaTest)...
30.714286
98
0.634219
339
3,010
5.39823
0.306785
0.04918
0.030601
0.039344
0.244809
0.229508
0.138798
0.138798
0.138798
0.138798
0
0.000453
0.26711
3,010
97
99
31.030928
0.829102
0
0
0.285714
0
0
0.109671
0.015287
0
0
0
0
0
0
null
null
0
0.116883
null
null
0.116883
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4c8dd18bf6b1f2a4486b4e2a0e51159bc676afcf
325
py
Python
cobra/basico/aula2/aula2.py
Matheusblz/learning_things
69c16d30db8a79dffd5b83e91070aec7ab376b8a
[ "MIT" ]
null
null
null
cobra/basico/aula2/aula2.py
Matheusblz/learning_things
69c16d30db8a79dffd5b83e91070aec7ab376b8a
[ "MIT" ]
null
null
null
cobra/basico/aula2/aula2.py
Matheusblz/learning_things
69c16d30db8a79dffd5b83e91070aec7ab376b8a
[ "MIT" ]
null
null
null
print('824','176','070', sep= '.', end= '-') print('18') print('ola', type('ola')) print(10, type(10)) print(10.5, type(10.5)) print(True, type(True)) nome = 'heder' idade = 22 altura = 1.72 print('\n') print(f'{nome} tem {idade} anos e {altura} de altura') print('{} tem {} anos e {} de altura'.format(nome,idade,altu...
21.666667
64
0.606154
55
325
3.581818
0.472727
0.071066
0
0
0
0
0
0
0
0
0
0.091873
0.129231
325
14
65
23.214286
0.60424
0
0
0
0
0
0.304615
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
4c8fd0fae2531e16841cf0bbd497e0d00735382d
325
py
Python
core/migrations/0002_auto_20181117_0622.py
girisagar46/KalaPatthar
1d4219f6a8f315fbeeece2355200a54acff70d1f
[ "MIT" ]
null
null
null
core/migrations/0002_auto_20181117_0622.py
girisagar46/KalaPatthar
1d4219f6a8f315fbeeece2355200a54acff70d1f
[ "MIT" ]
null
null
null
core/migrations/0002_auto_20181117_0622.py
girisagar46/KalaPatthar
1d4219f6a8f315fbeeece2355200a54acff70d1f
[ "MIT" ]
null
null
null
# Generated by Django 2.1.3 on 2018-11-17 06:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.AlterUniqueTogether( name='website', unique_together=set(), ), ...
18.055556
47
0.587692
33
325
5.727273
0.878788
0
0
0
0
0
0
0
0
0
0
0.083333
0.298462
325
17
48
19.117647
0.745614
0.138462
0
0
1
0
0.082734
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ca78fa765346c83978039b5933d69d06e638d05
308
py
Python
books_scrapy/utils/bili.py
hdtls/books-scrapy
d8e72463df05de16fafc4207e3c292284a7c126d
[ "Apache-2.0" ]
null
null
null
books_scrapy/utils/bili.py
hdtls/books-scrapy
d8e72463df05de16fafc4207e3c292284a7c126d
[ "Apache-2.0" ]
null
null
null
books_scrapy/utils/bili.py
hdtls/books-scrapy
d8e72463df05de16fafc4207e3c292284a7c126d
[ "Apache-2.0" ]
null
null
null
def keygen(id): table = "fZodR9XQDSUm21yCkr6zBqiveYah8bt4xsWpHnJE7jL5VG3guMTKNPAwcF" indices = [9, 8, 1, 6, 2, 4] x = (id ^ 177451812) + 8728348608 result = list(f"1 4 1 7 ") for i in range(len(indices)): result[indices[i]] = table[x // 58 ** i % 58] return "".join(result)
34.222222
72
0.603896
40
308
4.65
0.675
0
0
0
0
0
0
0
0
0
0
0.181034
0.246753
308
8
73
38.5
0.62069
0
0
0
0
0
0.220779
0.188312
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ca8d49e6589490aed254df06f33b92770647de9
1,076
py
Python
server/src/project_n/app/share/mem/McharacterManager.py
isuhao/gamein9miao
df8624b0e3223a12eb1dc833ce8fa89fd715aa5b
[ "MIT" ]
1
2018-04-18T02:38:14.000Z
2018-04-18T02:38:14.000Z
server/src/project_n/app/share/mem/McharacterManager.py
isuhao/gamein9miao
df8624b0e3223a12eb1dc833ce8fa89fd715aa5b
[ "MIT" ]
null
null
null
server/src/project_n/app/share/mem/McharacterManager.py
isuhao/gamein9miao
df8624b0e3223a12eb1dc833ce8fa89fd715aa5b
[ "MIT" ]
null
null
null
#-*-coding:utf8-*- ''' Created on 2013-4-27 @author: lan ''' from firefly.utils.singleton import Singleton from app.share.dbopear import dbCharacter from firefly.dbentrust.memclient import mclient from mcharacter import Mcharacter class McharacterManager: __metaclass__ = Singleton def __init__(self)...
23.911111
61
0.575279
98
1,076
6.234694
0.530612
0.06874
0.08347
0.12766
0.237316
0.237316
0.237316
0.176759
0.176759
0.176759
0
0.010929
0.319703
1,076
45
62
23.911111
0.82377
0.124535
0
0.15
0
0
0.039459
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4cae97a8b9b1d838dfdad2c01c8512a13a09b3ca
675
py
Python
plugs_auth/tests/test_models.py
solocompt/plugs-auth
0d9c683b34ea4128a78c1772cf361c65573ae005
[ "MIT" ]
1
2017-01-10T23:25:33.000Z
2017-01-10T23:25:33.000Z
plugs_auth/tests/test_models.py
solocompt/plugs-auth
0d9c683b34ea4128a78c1772cf361c65573ae005
[ "MIT" ]
1
2017-01-08T00:01:13.000Z
2017-01-08T00:01:13.000Z
plugs_auth/tests/test_models.py
yo-solo/plugs-auth
0d9c683b34ea4128a78c1772cf361c65573ae005
[ "MIT" ]
null
null
null
""" Testing Models """ from django.contrib.auth import get_user_model from plugs_core.testcases import PlugsAPITestCase model = get_user_model() class TestModels(PlugsAPITestCase): """ Testing Models """ def test_superuser_can_login_with_new_account(self): """ Ensures superuser is c...
23.275862
57
0.641481
71
675
5.901408
0.633803
0.064439
0.057279
0
0
0
0
0
0
0
0
0
0.251852
675
28
58
24.107143
0.829703
0.161481
0
0
0
0
0.111538
0
0
0
0
0
0.166667
1
0.083333
false
0.25
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4cb092e33092705019794a96c46a0832dd7384a9
605
py
Python
src/main.py
jasondelport/PythonPlayground
e3badf931e7209b339f38c101248033c888c1cd8
[ "MIT" ]
null
null
null
src/main.py
jasondelport/PythonPlayground
e3badf931e7209b339f38c101248033c888c1cd8
[ "MIT" ]
null
null
null
src/main.py
jasondelport/PythonPlayground
e3badf931e7209b339f38c101248033c888c1cd8
[ "MIT" ]
null
null
null
import os import sys import functions as func print (f'version -> {sys.version}') print (f'version info -> {sys.version_info}') print (f'path -> {sys.path}') print (f'cwd -> {os.getcwd()}') for k, v in os.environ.items(): print(f'{k} -> {v}') print (f'arguments -> {str(sys.argv)}') x = 3 # a whole...
17.794118
58
0.57686
89
605
3.910112
0.47191
0.12069
0.074713
0
0
0
0
0
0
0
0
0.035398
0.252893
605
33
59
18.333333
0.734513
0.132231
0
0
0
0
0.270633
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.130435
0.521739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
4cb24cadffc9b78656273d003057453de758f210
1,478
py
Python
marble/components/monitor.py
mcgibbon/marble
801abdf65e112203d2b3c8983b0f73b0a4c821da
[ "BSD-3-Clause" ]
3
2019-07-08T16:33:44.000Z
2019-09-03T18:34:25.000Z
marble/components/monitor.py
mcgibbon/marble
801abdf65e112203d2b3c8983b0f73b0a4c821da
[ "BSD-3-Clause" ]
null
null
null
marble/components/monitor.py
mcgibbon/marble
801abdf65e112203d2b3c8983b0f73b0a4c821da
[ "BSD-3-Clause" ]
null
null
null
import sympl as sp import numpy as np from marble.state import AliasDict class NotAColumnException(Exception): pass class ColumnStore(sp.Monitor): """ Stores single-column values as numpy arrays to later retrieve a timeseries. """ def __init__(self, *args, **kwargs): super(ColumnStore, ...
32.130435
81
0.577131
175
1,478
4.714286
0.44
0.09697
0.145455
0.092121
0.24
0.196364
0.196364
0.196364
0.196364
0.196364
0
0.005941
0.316644
1,478
45
82
32.844444
0.810891
0.18065
0
0.153846
0
0
0.048246
0
0
0
0
0
0
1
0.115385
false
0.076923
0.115385
0.038462
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4cb3542f6225736c4abeace73a4f769f34a28587
767
py
Python
tests/test_views/test_list_page.py
dmkskn/polka_curses
910b85671187c0a2eb44302ecac285e2d0ae92eb
[ "MIT" ]
2
2020-02-02T01:44:07.000Z
2020-06-06T13:27:33.000Z
tests/test_views/test_list_page.py
dmkskn/polka_curses
910b85671187c0a2eb44302ecac285e2d0ae92eb
[ "MIT" ]
null
null
null
tests/test_views/test_list_page.py
dmkskn/polka_curses
910b85671187c0a2eb44302ecac285e2d0ae92eb
[ "MIT" ]
null
null
null
import pytest from polka_curses.views.list_page import ListPage, BookInListItem @pytest.fixture def listpage(list_): return ListPage(list_) @pytest.fixture def bookitem(listpage): return BookInListItem(listpage.list_.books[0]) def test_get_list_from_page(listpage): assert listpage.list_ def test_ge...
21.914286
65
0.782269
104
767
5.432692
0.288462
0.084956
0.053097
0.090265
0.102655
0
0
0
0
0
0
0.003021
0.136897
767
34
66
22.558824
0.850453
0
0
0.095238
0
0
0
0
0
0
0
0
0.285714
1
0.285714
false
0
0.095238
0.095238
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4cc077a37142c3b4386ac8f190903bf434814a20
4,822
py
Python
ray/models.py
Shiqan/fortnite-replay-reader
5efb522704621c66ace840c9968777f682ae2adb
[ "MIT" ]
30
2018-11-08T16:33:50.000Z
2022-03-06T20:52:54.000Z
ray/models.py
Shiqan/fortnite-replay-reader
5efb522704621c66ace840c9968777f682ae2adb
[ "MIT" ]
20
2018-11-22T20:42:32.000Z
2021-08-07T00:09:39.000Z
ray/models.py
Shiqan/fortnite-replay-reader
5efb522704621c66ace840c9968777f682ae2adb
[ "MIT" ]
20
2018-11-12T22:31:46.000Z
2022-03-06T20:52:45.000Z
import datetime import re from collections import defaultdict from dataclasses import dataclass, field from enum import Enum from typing import List, Tuple from ray import logger __all__ = ['BitTypes', 'HistoryTypes', 'ChunkTypes', 'EventTypes', 'Elimination', 'Stats', 'TeamStats', 'Header', 'H...
28.364706
128
0.668602
581
4,822
5.35284
0.414802
0.024759
0.016399
0.010289
0.01672
0.01672
0
0
0
0
0
0.016902
0.251555
4,822
169
129
28.532544
0.844832
0.197843
0
0.107692
0
0.007692
0.095804
0.013988
0
0
0.002111
0
0
1
0.023077
false
0
0.053846
0
0.869231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4cc800bfe4dc3a21da35a227b447df7f3dadc120
364
py
Python
sweep/hooks.py
dropseedlabs/pullrespond
99cc529dac97fb737264e1e2743795c6f7257e8a
[ "MIT" ]
2
2018-01-24T16:49:50.000Z
2018-04-19T04:34:57.000Z
sweep/hooks.py
dropseed/sweep
99cc529dac97fb737264e1e2743795c6f7257e8a
[ "MIT" ]
26
2017-09-25T17:15:57.000Z
2018-11-05T17:07:29.000Z
sweep/hooks.py
dropseedlabs/reduce
99cc529dac97fb737264e1e2743795c6f7257e8a
[ "MIT" ]
2
2017-11-01T20:42:09.000Z
2019-02-13T21:45:12.000Z
from os import path from subprocess import check_call import click def run_hook(name, *args): hook_path = path.expanduser('~/.sweep/hooks/' + name) if path.exists(hook_path): # run the script with the given args click.secho('Found hook for {}, running {}'.format(name, hook_path), fg='blue') ...
28
87
0.667582
53
364
4.45283
0.566038
0.135593
0
0
0
0
0
0
0
0
0
0
0.203297
364
12
88
30.333333
0.813793
0.093407
0
0
0
0
0.146341
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4ccb64646aeb2b50f616763b71a0d4b8be17cc46
876
py
Python
euclidIR/fitlc.py
sdhawan21/euclidIR
15b3e8ba1a033ac6a1d80ea1a1a33176fa0633d3
[ "MIT" ]
null
null
null
euclidIR/fitlc.py
sdhawan21/euclidIR
15b3e8ba1a033ac6a1d80ea1a1a33176fa0633d3
[ "MIT" ]
null
null
null
euclidIR/fitlc.py
sdhawan21/euclidIR
15b3e8ba1a033ac6a1d80ea1a1a33176fa0633d3
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import sncosmo from simlc import simlc from astropy.table import Table class lcfit: def __init__(self): self.model = sncosmo.Model(source='Hsiao') def obs_tab(self, taxis, bandarr): """ Create the astropy table with the...
20.857143
66
0.482877
97
876
4.268041
0.525773
0.065217
0.067633
0
0
0
0
0
0
0
0
0.037594
0.392694
876
41
67
21.365854
0.740602
0
0
0
0
0
0.052219
0
0
0
0
0
0
0
null
null
0
0.217391
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4cdad0fc7f0f559ab2c9b190dbc34f788f6aa6ac
7,113
py
Python
CNN_train.py
5220243/taili_code_case
8cc6c36359336c64b8e3c13afa8e891ebfe73a1b
[ "MIT" ]
null
null
null
CNN_train.py
5220243/taili_code_case
8cc6c36359336c64b8e3c13afa8e891ebfe73a1b
[ "MIT" ]
null
null
null
CNN_train.py
5220243/taili_code_case
8cc6c36359336c64b8e3c13afa8e891ebfe73a1b
[ "MIT" ]
null
null
null
import numpy as np import tensorflow as tf import logging from CNN_input import read_dataset logging.basicConfig(format='%(levelname)s:%(asctime)s %(message)s', level=logging.INFO, datefmt='%Y-%m-%d %H:%M:%S') DATASET_DIR = r'C:\Users\PycharmProjects\Cifar' N_FEATURES = 3072 # 3072 = 32*32*3 N_CLASSES = 7 ...
44.45625
134
0.584563
963
7,113
4.128764
0.245068
0.03169
0.022636
0.033954
0.285966
0.201459
0.201459
0.152414
0.137324
0.108149
0
0.03263
0.280472
7,113
159
135
44.735849
0.744236
0.017433
0
0.2
0
0
0.064185
0.011284
0
0
0
0
0
0
null
null
0
0.030769
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4cdf00c034803945ee33601f9708a50316c04639
2,356
py
Python
app/order/service/business_rules.py
jonatasoli/fastapi-design-api-example
16e620123d77506e6b4d6cc3947749f46bcd08be
[ "MIT" ]
6
2021-06-21T19:38:07.000Z
2022-01-27T14:53:32.000Z
app/order/service/business_rules.py
jonatasoli/fastapi-design-api-example
16e620123d77506e6b4d6cc3947749f46bcd08be
[ "MIT" ]
null
null
null
app/order/service/business_rules.py
jonatasoli/fastapi-design-api-example
16e620123d77506e6b4d6cc3947749f46bcd08be
[ "MIT" ]
2
2021-06-27T13:22:07.000Z
2022-02-26T12:21:13.000Z
from enum import Enum from fastapi import status, HTTPException from order.adapters.orm_adapter import ordermodel class Order: async def create(self, data): return await ordermodel.create(obj_in=data) async def update(self, id, data): _order = await ordermodel.get(id) if not hasattr(...
30.597403
74
0.634975
272
2,356
5.327206
0.194853
0.083506
0.10628
0.069013
0.677019
0.677019
0.654934
0.654934
0.654934
0.654934
0
0.007101
0.282683
2,356
76
75
31
0.850296
0
0
0.45614
0
0
0.09635
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ce04faa5d749db078374857f3e01f70a177ea29
230
py
Python
Gathered CTF writeups/2017-01-21-insomnihack/internet_of_fail/get.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:00:41.000Z
2022-03-27T06:00:41.000Z
Gathered CTF writeups/2017-01-21-insomnihack/internet_of_fail/get.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
null
null
null
Gathered CTF writeups/2017-01-21-insomnihack/internet_of_fail/get.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:01:42.000Z
2022-03-27T06:01:42.000Z
import r2pipe, sys r2=r2pipe.open("iof.elf") s=r2.cmd("p8 4 @ "+sys.argv[1]) s=s[6:8]+s[4:6]+s[2:4]+s[0:2] print s print r2.cmd("xr 4 @ "+sys.argv[1]+"") r=open("esp32.rom").readlines() for l in r: if s in l: print l
19.166667
38
0.569565
54
230
2.425926
0.5
0.076336
0.122137
0.137405
0
0
0
0
0
0
0
0.105263
0.173913
230
11
39
20.909091
0.584211
0
0
0
0
0
0.130435
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.3
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ce456b332687b0aaab16e40b3ae7db032160a3e
655
py
Python
app/schemas/apps.py
NewShadesDAO/api
1e66336f0ea526f245918ecdc328c9a66280be91
[ "CC0-1.0" ]
1
2022-03-21T07:37:02.000Z
2022-03-21T07:37:02.000Z
app/schemas/apps.py
NewShadesDAO/api
1e66336f0ea526f245918ecdc328c9a66280be91
[ "CC0-1.0" ]
25
2022-01-16T13:18:21.000Z
2022-03-29T13:08:19.000Z
app/schemas/apps.py
NewShadesDAO/api
1e66336f0ea526f245918ecdc328c9a66280be91
[ "CC0-1.0" ]
1
2022-01-15T21:42:00.000Z
2022-01-15T21:42:00.000Z
from typing import List, Optional from app.schemas.base import APIBaseCreateSchema, APIBaseSchema, PyObjectId class AppSchema(APIBaseSchema): name: str creator: PyObjectId description: Optional[str] = "" class AppCreateSchema(APIBaseCreateSchema): name: str = "" description: Optional[str] = "" ...
24.259259
75
0.59542
56
655
6.910714
0.589286
0.036176
0.113695
0
0
0
0
0
0
0
0
0
0.29313
655
26
76
25.192308
0.835853
0
0
0.1
0
0
0.138931
0
0
0
0
0
0
1
0
false
0
0.1
0
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4ce47174b33e5c235fadc99814a377171134f0b5
1,365
py
Python
student_app/urls.py
abhinav042/COMP3297
3c37a4330d94a45cdabaa26bc17147ae73118cfb
[ "MIT" ]
null
null
null
student_app/urls.py
abhinav042/COMP3297
3c37a4330d94a45cdabaa26bc17147ae73118cfb
[ "MIT" ]
8
2020-06-05T17:52:40.000Z
2022-03-11T23:18:13.000Z
student_app/urls.py
abhinav042/COMP3297
3c37a4330d94a45cdabaa26bc17147ae73118cfb
[ "MIT" ]
1
2018-09-03T00:46:07.000Z
2018-09-03T00:46:07.000Z
from django.conf.urls import url from student_app import views from django.contrib.auth.views import password_reset,password_reset_done,password_reset_confirm,password_reset_complete # SET THE NAMESPACE! app_name = 'student_app' # Be careful setting the name to just /login use userlogin instead! urlpatterns=[ ur...
48.75
119
0.716484
192
1,365
4.895833
0.302083
0.068085
0.019149
0
0
0
0
0
0
0
0
0
0.098169
1,365
27
120
50.555556
0.763607
0.209524
0
0
0
0
0.296365
0.029823
0
0
0
0
0
1
0
false
0.105263
0.157895
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4ce56b8f20f90503acb560b9399f2299da64609c
260
py
Python
modelling/trust.py
glosophy/CatoHFI
cd9c285a919a1d6d11eef0c9eae115ad90116bc9
[ "MIT" ]
null
null
null
modelling/trust.py
glosophy/CatoHFI
cd9c285a919a1d6d11eef0c9eae115ad90116bc9
[ "MIT" ]
null
null
null
modelling/trust.py
glosophy/CatoHFI
cd9c285a919a1d6d11eef0c9eae115ad90116bc9
[ "MIT" ]
null
null
null
import pandas as pd trust = pd.read_csv('WVS_TimeSeries_1981_2020_ascii_v2_0.csv') trust = trust[['COUNTRY_ALPHA', 'S020', 'A165', 'A170', 'A169']] trust = trust.rename(columns={'COUNTRY_ALPHA': 'ISO', 'S020': 'year'}) trust.to_csv('trust.csv', index=None)
28.888889
70
0.703846
40
260
4.325
0.675
0.092486
0
0
0
0
0
0
0
0
0
0.106383
0.096154
260
9
71
28.888889
0.629787
0
0
0
0
0
0.386973
0.149425
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4cea47a6d8f11b1f745d5eb164a78367ed89d7e6
10,299
py
Python
pkgtools/pypi.py
rubik/pkgtools
17c9dc93835b01f49c4cd96725ec069c0b3db8c9
[ "MIT" ]
3
2015-07-11T09:11:43.000Z
2016-08-19T14:29:53.000Z
pkgtools/pypi.py
rubik/pkgtools
17c9dc93835b01f49c4cd96725ec069c0b3db8c9
[ "MIT" ]
1
2016-03-05T14:37:35.000Z
2016-03-10T17:04:31.000Z
pkgtools/pypi.py
rubik/pkgtools
17c9dc93835b01f49c4cd96725ec069c0b3db8c9
[ "MIT" ]
null
null
null
import sys from .utils import ext if sys.version_info >= (3,): import xmlrpc.client as xmlrpclib import urllib.request as urllib2 else: import xmlrpclib import urllib2 try: import simplejson as json except ImportError: import json def pypi_client(index_url='http://pypi.python.org/pypi', *arg...
34.793919
439
0.54549
1,276
10,299
4.315831
0.246865
0.008716
0.010169
0.022698
0.18649
0.165426
0.138369
0.134011
0.117124
0.104231
0
0.046699
0.311778
10,299
295
440
34.911864
0.730248
0.622779
0
0
0
0
0.069413
0
0
0
0
0
0
1
0.25
false
0
0.160714
0.035714
0.660714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4cf388cb65cadeeda551e64e41b0b9f0bada7835
813
py
Python
day13/day13-1.py
RobinRH/advent-of-code-2017
8996691abf4d9020294e5b750bef1e35effd5c68
[ "MIT" ]
null
null
null
day13/day13-1.py
RobinRH/advent-of-code-2017
8996691abf4d9020294e5b750bef1e35effd5c68
[ "MIT" ]
null
null
null
day13/day13-1.py
RobinRH/advent-of-code-2017
8996691abf4d9020294e5b750bef1e35effd5c68
[ "MIT" ]
null
null
null
# answer 1632 import csv import sys filename = sys.argv[1] layers = dict() with open(filename, 'r') as f: reader = csv.reader(f, delimiter=':') for row in reader: layer = map((lambda x : int(x)), row) layers[layer[0]] = layer[1] def getLayerAtTime(depth, time): # find the remainder of de...
19.829268
60
0.616236
105
813
4.771429
0.466667
0.023952
0.05988
0
0
0
0
0
0
0
0
0.023451
0.265683
813
40
61
20.325
0.815745
0.076261
0
0
0
0
0.002677
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4cfce375a86afb66fe5728f23e893da84b332753
948
py
Python
back-end/f1hub/results/models.py
mmzboys/F1Hub
5045c4c62dea738812a6856353d48e5b70d577e2
[ "MIT" ]
null
null
null
back-end/f1hub/results/models.py
mmzboys/F1Hub
5045c4c62dea738812a6856353d48e5b70d577e2
[ "MIT" ]
18
2019-08-29T12:42:11.000Z
2022-02-12T13:04:58.000Z
back-end/f1hub/results/models.py
mmzboys/F1Hub
5045c4c62dea738812a6856353d48e5b70d577e2
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Result(models.Model): resultId = models.IntegerField(primary_key=True) raceId = models.ForeignKey('races.Race', on_delete=models.CASCADE) driverId = models.ForeignKey('drivers.Driver', on_delete=models.CASCADE) constructorId= models.ForeignK...
41.217391
90
0.738397
100
948
6.95
0.46
0.181295
0.080576
0.120863
0
0
0
0
0
0
0
0
0.148734
948
22
91
43.090909
0.861214
0.025316
0
0
0
0
0.066161
0.02603
0
0
0
0
0
1
0
false
0
0.05
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4cffe546a9d5e7c7aca56e017a5ebdfc67617d85
1,257
py
Python
packages/badboy/badboy/scripts/sshlogin.py
AitzazImtiaz/Boydom-OS
805dfdc87524569c1cf11029e1ccd1a589fd368e
[ "MIT" ]
null
null
null
packages/badboy/badboy/scripts/sshlogin.py
AitzazImtiaz/Boydom-OS
805dfdc87524569c1cf11029e1ccd1a589fd368e
[ "MIT" ]
null
null
null
packages/badboy/badboy/scripts/sshlogin.py
AitzazImtiaz/Boydom-OS
805dfdc87524569c1cf11029e1ccd1a589fd368e
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # Written By: Sahar Hathiramani # Date: 01/11/2021 import pexpect import os os.system("clear") print("🄱🄰🄳 🄱🄾🅈 🄱🅄🅃 🄰 🅂🄰🄳 🄱🄾🅈") PROMPT = ['# ', '>>> ', '> ', '\$ ', '$ '] def send_command(connection, command): connection.sendline(command) connection.expect(PROMPT) print(co...
27.326087
71
0.597454
159
1,257
4.798742
0.471698
0.066841
0.034076
0.060288
0.107471
0.107471
0.107471
0.107471
0.107471
0.107471
0
0.01241
0.230708
1,257
45
72
27.933333
0.760083
0.050915
0
0.222222
0
0
0.243697
0
0
0
0
0
0
1
0.083333
false
0.111111
0.055556
0
0.222222
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
0
0
0
1
0
0
0
0
0
1
98033ee40832944f5bd276162a82aa4b3b960b16
1,438
py
Python
chapter_7/mailinglist.py
psd314/oop_with_python
325434394a1101fcb105ade7bf170e08afd00e14
[ "MIT" ]
null
null
null
chapter_7/mailinglist.py
psd314/oop_with_python
325434394a1101fcb105ade7bf170e08afd00e14
[ "MIT" ]
null
null
null
chapter_7/mailinglist.py
psd314/oop_with_python
325434394a1101fcb105ade7bf170e08afd00e14
[ "MIT" ]
null
null
null
from collections import defaultdict from send_email import send_email class MailingList: def __init__(self, data_file): self.data_file = data_file self.email_map = defaultdict(set) def add_to_group(self, email, group): self.email_map[email].add(group) def emails_in_group(self, *g...
29.346939
79
0.560501
174
1,438
4.413793
0.321839
0.082031
0.09375
0.059896
0.169271
0
0
0
0
0
0
0
0.331711
1,438
48
80
29.958333
0.799168
0
0
0.051282
0
0
0.00765
0
0
0
0
0
0
1
0.205128
false
0.025641
0.051282
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
980b9fef8c317b22263bc02b4687f9bb0cc0e714
1,836
py
Python
src/LecturaFicheros/Lectorcsv.py
2019-20-TFG-Presencial-Febr/PruebaNetExtractor
7f52e33954e6d32fb7bfee15181155674af089d2
[ "MIT" ]
2
2020-02-19T07:57:37.000Z
2020-04-20T14:32:56.000Z
src/LecturaFicheros/Lectorcsv.py
jornav/NetExtractor
92f39fb3ce2fe035532ffadbcb162c96b2fe5ccd
[ "MIT" ]
102
2019-01-14T21:07:56.000Z
2021-12-13T20:00:35.000Z
src/LecturaFicheros/Lectorcsv.py
adb1004/NetExtractor-2.0
92f39fb3ce2fe035532ffadbcb162c96b2fe5ccd
[ "MIT" ]
4
2019-04-01T08:40:36.000Z
2021-06-06T07:17:06.000Z
# -*- coding: utf-8 -*- import csv class Lectorcsv: """ Clase para importar y exportar diccionarios de personajes Args: m: instancia de la clase modelo """ def __init__(self,m): self.__modelo = m def importDict(self, fichero): """ Metod...
33.381818
99
0.505447
179
1,836
5.117318
0.458101
0.043668
0.037118
0.043668
0.061135
0.061135
0
0
0
0
0
0.00828
0.407952
1,836
54
100
34
0.834407
0.245098
0
0.137931
0
0
0.019983
0
0
0
0
0.037037
0
1
0.103448
false
0
0.068966
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9811373a0f25e81fb9ae75c84f79fe4c6eb02421
537
py
Python
web_login_background/tests/test_open_url.py
factorlibre/website-addons
9a0c7a238e2b6030d57f7a08d48816b4f2431524
[ "MIT" ]
1
2020-03-01T03:04:21.000Z
2020-03-01T03:04:21.000Z
web_login_background/tests/test_open_url.py
factorlibre/website-addons
9a0c7a238e2b6030d57f7a08d48816b4f2431524
[ "MIT" ]
null
null
null
web_login_background/tests/test_open_url.py
factorlibre/website-addons
9a0c7a238e2b6030d57f7a08d48816b4f2431524
[ "MIT" ]
3
2019-07-29T20:23:16.000Z
2021-01-07T20:51:24.000Z
import odoo.tests @odoo.tests.tagged("at_install", "post_install") class TestUi(odoo.tests.HttpCase): def test_open_url(self): # wait till page loaded code = """ setTimeout(function () { if ($('body').css('background-image').startsWith('url')) { cons...
28.263158
74
0.489758
52
537
4.961538
0.75
0.104651
0.108527
0
0
0
0
0
0
0
0
0.01173
0.364991
537
18
75
29.833333
0.744868
0.039106
0
0
0
0
0.618677
0.103113
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98188360c09379562a335e365455d7a14ea7cede
1,001
py
Python
001-Python-basico/024-desafio-forca.py
clebertonf/Python-course
a57f405cbd27f96e0cb61128df31e9249c79a962
[ "MIT" ]
null
null
null
001-Python-basico/024-desafio-forca.py
clebertonf/Python-course
a57f405cbd27f96e0cb61128df31e9249c79a962
[ "MIT" ]
null
null
null
001-Python-basico/024-desafio-forca.py
clebertonf/Python-course
a57f405cbd27f96e0cb61128df31e9249c79a962
[ "MIT" ]
null
null
null
palavra_secreta = input('Digite a palavra secreta: ') print('Ok, agora peça pro seu amigo advinhar!') letras_digitadas = [] contador = len(palavra_secreta) * 2 while True: if contador <= 0: print('Acabou as chances') break letra_usuario = input('Difite uma letra: ') if len(letra_usuario)...
25.025
66
0.652348
121
1,001
5.173554
0.396694
0.268371
0.14377
0
0
0
0
0
0
0
0
0.005413
0.261738
1,001
39
67
25.666667
0.841678
0
0
0.137931
0
0
0.22
0
0
0
0
0
0
1
0
false
0
0
0
0
0.241379
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9819ca0e55f2020d09e47a7ddbfb8d24790edf34
1,851
py
Python
dmpr/policies.py
protocollabs/dmpr-core
20810f3caba9f1299d5404dd633ed864db1cbc03
[ "MIT" ]
3
2017-04-07T11:31:46.000Z
2018-09-24T06:57:39.000Z
dmpr/policies.py
protocollabs/dmpr-core
20810f3caba9f1299d5404dd633ed864db1cbc03
[ "MIT" ]
27
2017-01-16T22:43:58.000Z
2019-04-09T16:40:13.000Z
dmpr/policies.py
protocollabs/dmpr-core
20810f3caba9f1299d5404dd633ed864db1cbc03
[ "MIT" ]
3
2017-01-16T18:30:27.000Z
2017-08-23T12:40:11.000Z
import functools from .path import Path class AbstractPolicy(object): """ A policy implements all routing decisions by providing comparison methods for interfaces and paths """ name = NotImplemented def __init__(self): if self.name == NotImplemented: raise NotImplemen...
25.708333
77
0.627769
220
1,851
5.159091
0.363636
0.042291
0.042291
0.034361
0.196476
0.164758
0.113656
0.09163
0.09163
0.09163
0
0.00301
0.28201
1,851
71
78
26.070423
0.851016
0.165856
0
0.131579
0
0
0.067215
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0.078947
0.605263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
981a526d7708c5b0576b0f4728fce065b96bfacd
21,905
py
Python
stateMachineClass.py
dainiuskreivenas/rbs
1d371963ccd64976b3f0603dead891f51996cfb1
[ "MIT" ]
1
2021-10-04T17:44:04.000Z
2021-10-04T17:44:04.000Z
stateMachineClass.py
dainiuskreivenas/rbs
1d371963ccd64976b3f0603dead891f51996cfb1
[ "MIT" ]
12
2019-07-16T08:31:50.000Z
2019-11-19T17:58:53.000Z
stateMachineClass.py
dainiuskreivenas/rbs
1d371963ccd64976b3f0603dead891f51996cfb1
[ "MIT" ]
null
null
null
#This is the class for construcing State Machines. The individual CAs #(both inputs and states) run at 5 ms. See the notes for running faster or #slower. #There are test functions at the end. #Note that to externally activate a CA State, you should only send #excitatory connections to the first 8 neurons. #Using ...
44.795501
87
0.617119
2,333
21,905
5.682812
0.134162
0.049781
0.055815
0.029869
0.67695
0.644969
0.607331
0.571202
0.567431
0.567431
0
0.011552
0.288656
21,905
488
88
44.887295
0.839302
0.122073
0
0.535714
0
0
0.025414
0
0
0
0
0
0
0
null
null
0
0.008929
null
null
0.008929
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
981a62866509fd578f5f6ee676f52f1de3518aca
1,318
py
Python
src/tools/python/scrape_iso_country_codes.py
Justintime50/easypost-tools
b5118eec331cd9ec5502e617c73ead61fc322c94
[ "MIT" ]
1
2022-02-17T21:04:05.000Z
2022-02-17T21:04:05.000Z
src/tools/python/scrape_iso_country_codes.py
Justintime50/easypost-tools
b5118eec331cd9ec5502e617c73ead61fc322c94
[ "MIT" ]
null
null
null
src/tools/python/scrape_iso_country_codes.py
Justintime50/easypost-tools
b5118eec331cd9ec5502e617c73ead61fc322c94
[ "MIT" ]
null
null
null
import json import sys import requests from bs4 import BeautifulSoup # Scrape the ISO Country Codes @ https://en.wikipedia.org/wiki/ISO_3166-1 # USAGE: venv/bin/python scrape_iso_country_codes.py def main(): iso_data = [] try: website = requests.get('https://en.wikipedia.org/wiki/ISO_3166-1') ...
34.684211
110
0.630501
189
1,318
4.222222
0.544974
0.06015
0.075188
0.045113
0.077694
0.077694
0.077694
0.077694
0
0
0
0.021516
0.259484
1,318
37
111
35.621622
0.796107
0.29742
0
0
0
0
0.178455
0.030468
0
0
0
0.027027
0
1
0.04
false
0
0.16
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
981b46a42efd40cda2d50db0a7c7120a540247b8
275
py
Python
setup.py
AlexMilanor/Q_gym
3c2cc0a602233dbf3f8d1e5461725efc2f00481d
[ "MIT" ]
null
null
null
setup.py
AlexMilanor/Q_gym
3c2cc0a602233dbf3f8d1e5461725efc2f00481d
[ "MIT" ]
null
null
null
setup.py
AlexMilanor/Q_gym
3c2cc0a602233dbf3f8d1e5461725efc2f00481d
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='q_gym', packages=find_packages(), version='0.1.0', description='Reinforcement Learning models to run on the environments of the OpenAI Gym.', author='Alexandre A. A. Almeida', license='MIT', )
25
94
0.694545
37
275
5.081081
0.783784
0.12766
0
0
0
0
0
0
0
0
0
0.013453
0.189091
275
10
95
27.5
0.829596
0
0
0
0
0
0.403636
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
981b7e5a635313c7a091099c9e5521f5ced7c348
3,769
py
Python
kisseru/stage.py
chamibuddhika/kisseru
6a77cbbf10f85c71a95c5e0d784bd41bdc5a00b6
[ "Apache-2.0" ]
4
2018-08-07T12:51:32.000Z
2021-04-07T22:10:26.000Z
kisseru/stage.py
chamibuddhika/kiseru
6a77cbbf10f85c71a95c5e0d784bd41bdc5a00b6
[ "Apache-2.0" ]
13
2018-07-30T17:57:40.000Z
2019-01-22T16:42:51.000Z
kisseru/stage.py
chamibuddhika/kiseru
6a77cbbf10f85c71a95c5e0d784bd41bdc5a00b6
[ "Apache-2.0" ]
1
2020-01-17T22:49:33.000Z
2020-01-17T22:49:33.000Z
import os import inspect import urllib.request import shutil import time import socket from colors import Colors from tasks import gen_runner from tasks import Task from tasks import Edge from passes import Pass from passes import PassResult from utils import get_file_extention from utils import get_file_name from uti...
32.773913
131
0.551871
432
3,769
4.715278
0.37037
0.017182
0.022091
0.02651
0.040255
0
0
0
0
0
0
0.000433
0.38684
3,769
114
132
33.061404
0.881004
0.226851
0
0
0
0
0.015004
0
0
0
0
0
0
1
0.064516
false
0.112903
0.241935
0
0.354839
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e2200e5524f72a2e5ad4b0ce1842141e8401e750
770
py
Python
tests/test_performance.py
blyxxyz/dtparse
de080668db3e74418e51b221669d9b2ebdb41ad8
[ "MIT" ]
71
2018-03-29T08:35:21.000Z
2022-02-28T06:58:23.000Z
tests/test_performance.py
blyxxyz/dtparse
de080668db3e74418e51b221669d9b2ebdb41ad8
[ "MIT" ]
9
2018-04-09T12:42:06.000Z
2021-10-14T18:43:21.000Z
tests/test_performance.py
blyxxyz/dtparse
de080668db3e74418e51b221669d9b2ebdb41ad8
[ "MIT" ]
3
2021-01-29T17:52:22.000Z
2021-05-27T06:35:42.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import import ciso8601 from datetime import datetime import dtparse def test_ciso8601(benchmark): assert benchmark.pedantic( ciso8601.parse_datetime, args=('2018-12-31T23:59:58', ), rounds=10 ** 6, iterations=100 ) == datetime(2018, 12,...
26.551724
77
0.628571
110
770
4.318182
0.345455
0.075789
0.151579
0.202105
0.431579
0.431579
0.391579
0.345263
0.345263
0.345263
0
0.185065
0.2
770
28
78
27.5
0.586039
0.027273
0
0.315789
0
0
0.121821
0
0
0
0
0
0.157895
1
0.157895
false
0
0.210526
0
0.368421
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2300afbe7a94521779836a884634caba5b65620
486
py
Python
scrnshot/screenshot.py
leovp/scrnshot
e5fa739663977955b072a1ae714935e5e4f1fa35
[ "MIT" ]
1
2017-11-22T22:14:12.000Z
2017-11-22T22:14:12.000Z
scrnshot/screenshot.py
leovp/scrnshot
e5fa739663977955b072a1ae714935e5e4f1fa35
[ "MIT" ]
null
null
null
scrnshot/screenshot.py
leovp/scrnshot
e5fa739663977955b072a1ae714935e5e4f1fa35
[ "MIT" ]
null
null
null
import subprocess import tempfile def do_screenshot(url): """ Screenshot an `url` (fullscreen) and return a path to an image. :param url: A previously validated URL of a webpage to capture. :return: A Path-like object representing a screenshot. """ _, path = tempfile.mkstemp(suffix='.png') ...
30.375
97
0.695473
66
486
5.090909
0.606061
0.041667
0.065476
0
0
0
0
0
0
0
0
0.007634
0.191358
486
15
98
32.4
0.847328
0.376543
0
0
0
0
0.129032
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e237ab6218d2278fe4e6deac02d0f478707e1998
4,374
py
Python
submission/transit_model.py
atravitz/transit_models
e7351fc57b253551e7c7d50d60bf2ab859b2eda6
[ "MIT" ]
null
null
null
submission/transit_model.py
atravitz/transit_models
e7351fc57b253551e7c7d50d60bf2ab859b2eda6
[ "MIT" ]
null
null
null
submission/transit_model.py
atravitz/transit_models
e7351fc57b253551e7c7d50d60bf2ab859b2eda6
[ "MIT" ]
null
null
null
import networkx as nx import random import numpy as np from matplotlib import cm import matplotlib.pyplot as plt class Passenger: def __init__(self): self.fees = 0 self.transit_time = 0 def initialize(n_passengers, node_capacity, itinerary=None, intermediate_stops=0): g = nx.read_gml('cta.gm...
34.992
99
0.578875
537
4,374
4.556797
0.249534
0.03678
0.03678
0.028606
0.258275
0.194524
0.161422
0.076011
0.044953
0.044953
0
0.010745
0.319159
4,374
124
100
35.274194
0.810947
0.108368
0
0.081395
0
0
0.052903
0
0
0
0
0
0
1
0.046512
false
0.151163
0.05814
0
0.116279
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e239d89aad607b40741aa259728cb33583bd2f79
3,526
py
Python
Week-3/Class2.py
bansalbhavishaya/PythonCourse
d89cbd746279d1f9d6dcb9cda0e6f63848e94f40
[ "MIT" ]
null
null
null
Week-3/Class2.py
bansalbhavishaya/PythonCourse
d89cbd746279d1f9d6dcb9cda0e6f63848e94f40
[ "MIT" ]
null
null
null
Week-3/Class2.py
bansalbhavishaya/PythonCourse
d89cbd746279d1f9d6dcb9cda0e6f63848e94f40
[ "MIT" ]
null
null
null
# oops in python class sample: data1= 10 data2= 'abc' def show(self): print(self.data1, self.data2) def putdata1(self, data1): self.data1 = data1 def putdata2(self.data2): self.data2 = data2 s1 = sample() s1.show() s1.putdata1(25) s1.show() print(s1.data1) # in this as we can see that th...
36.350515
203
0.615428
516
3,526
4.050388
0.304264
0.049761
0.043541
0.030622
0.317225
0.315311
0.315311
0.289952
0.289952
0.289952
0
0.04198
0.283891
3,526
96
204
36.729167
0.785743
0.509075
0
0.269841
0
0
0.020012
0
0
0
0
0
0
0
null
null
0.015873
0
null
null
0.079365
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e240ac6c4875acd9dc9a3981eae4c962d15c0da4
743
py
Python
myblog/posts/migrations/0003_auto_20200621_1945.py
DevinDai13/MyBlog
9d6a7b5f9a87b4d4e84f906cbeaf75756487b5bf
[ "Apache-2.0" ]
null
null
null
myblog/posts/migrations/0003_auto_20200621_1945.py
DevinDai13/MyBlog
9d6a7b5f9a87b4d4e84f906cbeaf75756487b5bf
[ "Apache-2.0" ]
null
null
null
myblog/posts/migrations/0003_auto_20200621_1945.py
DevinDai13/MyBlog
9d6a7b5f9a87b4d4e84f906cbeaf75756487b5bf
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.5 on 2020-06-21 19:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0002_auto_20200621_1606'), ] operations = [ migrations.AddField( model_name='post', name='height', ...
25.62069
117
0.565276
75
743
5.48
0.586667
0.065693
0.094891
0.124088
0.345499
0.345499
0
0
0
0
0
0.064202
0.30821
743
28
118
26.535714
0.735409
0.060565
0
0.454545
1
0
0.096264
0.033046
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2479703efb51fcc66276bd6c78cfb1dad7d15bb
891
py
Python
tests/unit_tests/test_exceptions.py
kurumuz/datacrunch-python
94b02c68da48b1017c0c837b3b37a97b4b2543a5
[ "MIT" ]
9
2021-01-07T17:56:11.000Z
2022-02-05T01:42:42.000Z
tests/unit_tests/test_exceptions.py
kurumuz/datacrunch-python
94b02c68da48b1017c0c837b3b37a97b4b2543a5
[ "MIT" ]
3
2021-05-26T16:17:33.000Z
2021-12-17T09:25:06.000Z
tests/unit_tests/test_exceptions.py
kurumuz/datacrunch-python
94b02c68da48b1017c0c837b3b37a97b4b2543a5
[ "MIT" ]
3
2021-05-16T00:47:40.000Z
2021-12-17T08:59:16.000Z
import pytest from datacrunch.exceptions import APIException ERROR_CODE = 'test_code' ERROR_MESSAGE = "test message" def test_api_exception_with_code(): # arrange error_str = f'error code: {ERROR_CODE}\nmessage: {ERROR_MESSAGE}' # act with pytest.raises(APIException) as excinfo: raise APIExc...
26.205882
69
0.702581
108
891
5.5
0.259259
0.141414
0.181818
0.063973
0.656566
0.589226
0.589226
0.454545
0.454545
0.454545
0
0
0.213244
891
33
70
27
0.847361
0.041526
0
0.333333
0
0
0.112161
0.025974
0
0
0
0
0.333333
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e24edf3db066bab5b7ad6420821b48f3976957ea
52,453
py
Python
test/chora/scripts/testing.py
jbreck/duet-jbreck
3bf4aa0c69983d15f199bf02f294d356c354e932
[ "MIT" ]
1
2020-08-15T15:26:25.000Z
2020-08-15T15:26:25.000Z
test/chora/scripts/testing.py
jbreck/duet-jbreck
3bf4aa0c69983d15f199bf02f294d356c354e932
[ "MIT" ]
null
null
null
test/chora/scripts/testing.py
jbreck/duet-jbreck
3bf4aa0c69983d15f199bf02f294d356c354e932
[ "MIT" ]
null
null
null
#!/usr/bin/python import os.path, sys, glob, datetime, time, subprocess, shutil, re import xml.sax.saxutils, csv, tempfile import choraconfig def usage() : print "USAGE: testing.py --run <batchname>" print " to start a new testing run" print " OR testing.py --format <run_id>" print " ...
46.749554
156
0.528282
6,074
52,453
4.462628
0.115575
0.011658
0.014388
0.020069
0.531875
0.483952
0.444145
0.414631
0.391537
0.384527
0
0.041001
0.329495
52,453
1,121
157
46.791258
0.729713
0.11925
0
0.377926
0
0.03233
0.136658
0.017458
0
0
0
0.000892
0.03456
0
null
null
0.017837
0.008919
null
null
0.06243
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e25126ad015fd0336328c504cfadac599a468d6d
1,233
py
Python
src/adj_generator.py
Rama-007/Utility_scoring_of_product_reviews
0b4ca33774128f55a606a546f7ed4e67cfa8d943
[ "MIT" ]
null
null
null
src/adj_generator.py
Rama-007/Utility_scoring_of_product_reviews
0b4ca33774128f55a606a546f7ed4e67cfa8d943
[ "MIT" ]
null
null
null
src/adj_generator.py
Rama-007/Utility_scoring_of_product_reviews
0b4ca33774128f55a606a546f7ed4e67cfa8d943
[ "MIT" ]
1
2018-05-17T17:42:19.000Z
2018-05-17T17:42:19.000Z
import os,sys import csv import numpy as np from sklearn.model_selection import train_test_split from sklearn import datasets from sklearn import svm from sklearn import linear_model from sklearn.metrics import matthews_corrcoef from sklearn.feature_extraction.text import TfidfVectorizer import re import nltk from coll...
25.163265
59
0.59043
181
1,233
3.955801
0.469613
0.092179
0.071229
0.027933
0
0
0
0
0
0
0
0.024202
0.262774
1,233
48
60
25.6875
0.763476
0
0
0
0
0
0.027575
0
0
0
0
0
0
0
null
null
0.020833
0.25
null
null
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e252dcbc46d6e9b468ac941a79802b5af9d1c4cb
849
py
Python
DjangoCountries/DjangoCountries/urls.py
xm4dn355x/specialist_DjangoCountries
debfbead4cc87faf1e60af374863498080c5fa8f
[ "MIT" ]
null
null
null
DjangoCountries/DjangoCountries/urls.py
xm4dn355x/specialist_DjangoCountries
debfbead4cc87faf1e60af374863498080c5fa8f
[ "MIT" ]
null
null
null
DjangoCountries/DjangoCountries/urls.py
xm4dn355x/specialist_DjangoCountries
debfbead4cc87faf1e60af374863498080c5fa8f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ######################################################################## # # # Main router # # # # MI...
38.590909
72
0.262662
42
849
5.309524
0.619048
0.089686
0
0
0
0
0
0
0
0
0
0.011682
0.495878
849
21
73
40.428571
0.509346
0.398115
0
0
0
0
0.136
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e25a9a6afbe98bdd354733d1dd35bd9291fc6eb1
407
py
Python
demo/catch/serve.py
marco-souza/falsy
0dd6f792061ee833f308372f0204dea0ad9bf2d1
[ "MIT" ]
127
2017-01-05T14:55:50.000Z
2022-02-01T06:02:49.000Z
demo/catch/serve.py
marco-souza/falsy
0dd6f792061ee833f308372f0204dea0ad9bf2d1
[ "MIT" ]
9
2017-03-08T21:38:16.000Z
2022-02-01T06:44:09.000Z
demo/catch/serve.py
marco-souza/falsy
0dd6f792061ee833f308372f0204dea0ad9bf2d1
[ "MIT" ]
26
2017-01-12T08:56:15.000Z
2022-02-01T06:02:52.000Z
import json from falsy.falsy import FALSY class CustomException(Exception): pass def handle_custom(req, resp, e): resp.body = json.dumps({'error': 'custom error catched'}) resp.content_type = 'application/json' f = FALSY(static_path='test', static_dir='demo/catch/static') f.swagger('demo/catch/spec.y...
22.611111
102
0.724816
57
407
5.087719
0.649123
0.082759
0
0
0
0
0
0
0
0
0
0
0.130221
407
17
103
23.941176
0.819209
0
0
0
0
0
0.223587
0
0
0
0
0
0
1
0.1
false
0.1
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e263e094c6996081261b4cf375cdf5d9eb8e965a
3,387
py
Python
tests/unit/test_api_connector.py
thomasperrot/weather
bc94d948f2c49a33b8ff3cf3dff850950825d161
[ "MIT" ]
1
2019-11-27T09:00:07.000Z
2019-11-27T09:00:07.000Z
tests/unit/test_api_connector.py
thomasperrot/weather
bc94d948f2c49a33b8ff3cf3dff850950825d161
[ "MIT" ]
14
2020-09-11T12:40:01.000Z
2020-10-06T07:17:26.000Z
tests/unit/test_api_connector.py
thomasperrot/weather
bc94d948f2c49a33b8ff3cf3dff850950825d161
[ "MIT" ]
2
2020-08-28T08:45:46.000Z
2020-10-06T07:15:01.000Z
import json import os import pytest import requests from weather import api_connector, exceptions def test_get_city_id_unknown_city(monkeypatch): class MockResponse: def json(self): return [] def raise_for_status(self): pass class MockRequest: @staticmethod ...
27.762295
82
0.649838
352
3,387
6.036932
0.230114
0.079059
0.050824
0.062118
0.704941
0.689882
0.689882
0.689882
0.647529
0.594824
0
0.011839
0.251845
3,387
121
83
27.991736
0.826756
0
0
0.593407
0
0
0.087688
0.014172
0
0
0
0
0.032967
1
0.208791
false
0.021978
0.054945
0.087912
0.483516
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e26982b2c89136e7d22b94863c422aab02333678
1,932
py
Python
scripts/searchtool.py
sirikata/sirikata-cdn
115e9ad264229eaecd05008cb292ac0b8376a4a2
[ "BSD-3-Clause" ]
1
2017-07-21T13:48:45.000Z
2017-07-21T13:48:45.000Z
scripts/searchtool.py
sirikata/sirikata-cdn
115e9ad264229eaecd05008cb292ac0b8376a4a2
[ "BSD-3-Clause" ]
2
2020-06-05T18:30:40.000Z
2021-06-10T20:21:24.000Z
scripts/searchtool.py
sirikata/sirikata-cdn
115e9ad264229eaecd05008cb292ac0b8376a4a2
[ "BSD-3-Clause" ]
1
2016-05-15T13:34:47.000Z
2016-05-15T13:34:47.000Z
import os import os.path import sys import argparse def list_all(args): results = search_index(q='*', start=0, rows=2000000) for result in results: print result['id'] print print 'Found %d results.' % len(results) def update_all(args): print 'Firing off task to update entire searc...
32.745763
114
0.706004
264
1,932
4.935606
0.333333
0.073676
0.041443
0.052955
0.242517
0.112049
0.072141
0.072141
0.072141
0.072141
0
0.005089
0.186335
1,932
58
115
33.310345
0.823791
0
0
0.086957
0
0
0.207039
0.011387
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.195652
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e26a38dd5db9e2db5acd9b9c4ba66fe869a0a241
684
py
Python
guppe/atividades/secao_7/ex029.py
WesleyLucas97/cursos_python
b2cbd393e8fed6e36b84253f7934766f2b4f1de8
[ "MIT" ]
null
null
null
guppe/atividades/secao_7/ex029.py
WesleyLucas97/cursos_python
b2cbd393e8fed6e36b84253f7934766f2b4f1de8
[ "MIT" ]
null
null
null
guppe/atividades/secao_7/ex029.py
WesleyLucas97/cursos_python
b2cbd393e8fed6e36b84253f7934766f2b4f1de8
[ "MIT" ]
null
null
null
""" Faça um programa que receba 6 números inteiros e mostre: - Os números pares digitados; - A soma dos números pares digitados; - Os números ímpares digitados; - A quantidade de números ímpares digitados. """ from random import randint vetor = [] pares = [] impares = [] for x in range(randint(6, 50)):...
26.307692
67
0.676901
98
684
4.72449
0.408163
0.077754
0.181425
0.099352
0.280778
0.280778
0
0
0
0
0
0.033088
0.204678
684
25
68
27.36
0.818015
0.317251
0
0
0
0
0.389978
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.266667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e26d97693b5c78f4bb3f85e734c99eec2f0dea90
220
py
Python
generativemagic/effect.py
misaka3/generativemagic
58f24a9fd95c94828281ed6c1267d570ee7c7b10
[ "MIT" ]
null
null
null
generativemagic/effect.py
misaka3/generativemagic
58f24a9fd95c94828281ed6c1267d570ee7c7b10
[ "MIT" ]
null
null
null
generativemagic/effect.py
misaka3/generativemagic
58f24a9fd95c94828281ed6c1267d570ee7c7b10
[ "MIT" ]
null
null
null
from generativemagic.movement import Movement DECK_TOP = 1 DECK_BOTTOM = 52 class Effect(Movement): def apply(self, sequence, chosen=None): raise Exception(f"Effect method not yet implemented for {self}")
22
72
0.740909
30
220
5.366667
0.833333
0
0
0
0
0
0
0
0
0
0
0.016575
0.177273
220
9
73
24.444444
0.872928
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2705dcc4290b06c5f8063fcbb0d06661bdc5307
1,170
py
Python
pki_framework/serializers.py
not-vibhu/aerobridge
2edcd5e75782663184ac57da8145427613f4ef2b
[ "Apache-2.0" ]
null
null
null
pki_framework/serializers.py
not-vibhu/aerobridge
2edcd5e75782663184ac57da8145427613f4ef2b
[ "Apache-2.0" ]
null
null
null
pki_framework/serializers.py
not-vibhu/aerobridge
2edcd5e75782663184ac57da8145427613f4ef2b
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from pki_framework.models import AerobridgeCredential from . import encrpytion_util from django.conf import settings class AerobridgeCredentialSerializer(serializers.ModelSerializer): token = serializers.SerializerMethodField() token_type = serializers.SerializerMethodFie...
35.454545
70
0.712821
123
1,170
6.560976
0.382114
0.089219
0.05948
0.101611
0.389095
0.225527
0.225527
0.225527
0.225527
0.225527
0
0.002132
0.198291
1,170
32
71
36.5625
0.858209
0
0
0.384615
0
0
0.058974
0
0
0
0
0
0
1
0.115385
false
0
0.153846
0.076923
0.653846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e27960049aaa598d72feec77e6c5226e0bfb23b5
266
py
Python
UICPC/21/nwerc2020all/islandtour/generators/rand.py
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
UICPC/21/nwerc2020all/islandtour/generators/rand.py
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
UICPC/21/nwerc2020all/islandtour/generators/rand.py
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys import random n = int(sys.argv[1]) max_w = int(sys.argv[2]) seed = int(sys.argv[3]) k = 3 random.seed(seed) print(n) for _ in range(k+1): A = [] for i in range(n): A.append(random.randint(1, max_w)) print(*A)
14.777778
42
0.601504
51
266
3.078431
0.490196
0.11465
0.191083
0
0
0
0
0
0
0
0
0.033493
0.214286
266
17
43
15.647059
0.717703
0.078947
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.153846
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e28416ab6b88181873526448c13827e0449894a1
292
py
Python
setup.py
Matatika/analyze-shopify
3450eae05fba5c3852c9e009a212acd0ffaa9dfc
[ "MIT" ]
null
null
null
setup.py
Matatika/analyze-shopify
3450eae05fba5c3852c9e009a212acd0ffaa9dfc
[ "MIT" ]
null
null
null
setup.py
Matatika/analyze-shopify
3450eae05fba5c3852c9e009a212acd0ffaa9dfc
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name="analyze-shopify", version="0.1.0", description="Matatika datasets for tap-shopify", packages=find_packages(), package_data={ "bundle": [ "analyze/datasets/tap-shopify/*.yml", ] }, )
20.857143
52
0.609589
31
292
5.645161
0.677419
0.137143
0
0
0
0
0
0
0
0
0
0.013699
0.25
292
13
53
22.461538
0.785388
0
0
0
0
0
0.318493
0.116438
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e285f7c748c8394c121ef615cb909893a57cfa34
11,641
py
Python
scripts/jetsmearing.py
xju2/monojet
7475a62f176425ae910f2f104f175b1ddc457fdf
[ "MIT" ]
null
null
null
scripts/jetsmearing.py
xju2/monojet
7475a62f176425ae910f2f104f175b1ddc457fdf
[ "MIT" ]
null
null
null
scripts/jetsmearing.py
xju2/monojet
7475a62f176425ae910f2f104f175b1ddc457fdf
[ "MIT" ]
null
null
null
#!/usr/bin/env python import ROOT import AtlasStyle import os import sys import threading import math from array import array ROOT.gROOT.SetBatch() if not hasattr(ROOT, "loader"): ROOT.gROOT.LoadMacro("/afs/cern.ch/user/x/xju/tool/loader.c") ROOT.gROOT.LoadMacro(os.getenv("ROOTCOREBIN")+"/lib/x86_64-slc6-gcc49-...
37.430868
99
0.556567
1,570
11,641
3.880892
0.170701
0.022157
0.025275
0.016412
0.312162
0.215821
0.136714
0.10389
0.08518
0.060561
0
0.059043
0.308908
11,641
310
100
37.551613
0.698322
0.089339
0
0.059072
0
0
0.128953
0.031339
0
0
0
0
0
0
null
null
0.008439
0.029536
null
null
0.021097
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e29799a419ccf766cb76b6c714c7fa023b5fc415
421
py
Python
backend/edw/utils/router.py
MMotionMan/django-edw
0f686429d29e0f40409a3b2318664973b2844c08
[ "BSD-3-Clause" ]
4
2019-09-18T05:51:12.000Z
2020-10-23T08:50:00.000Z
backend/edw/utils/router.py
MMotionMan/django-edw
0f686429d29e0f40409a3b2318664973b2844c08
[ "BSD-3-Clause" ]
10
2020-04-29T11:46:44.000Z
2022-03-11T23:38:27.000Z
backend/edw/utils/router.py
MMotionMan/django-edw
0f686429d29e0f40409a3b2318664973b2844c08
[ "BSD-3-Clause" ]
13
2020-04-09T07:49:48.000Z
2022-03-02T07:06:28.000Z
# -*- coding: utf-8 -*- from django.db import DEFAULT_DB_ALIAS from multidb import PinningReplicaRouter class EdwReplicationRouter(PinningReplicaRouter): def db_for_read(self, model, **hints): if not hasattr(model, '_rest_meta'): return DEFAULT_DB_ALIAS db = model._rest_meta.db_for_rea...
35.083333
76
0.703088
58
421
4.862069
0.5
0.053191
0.095745
0.092199
0.163121
0.163121
0
0
0
0
0
0.00295
0.194774
421
11
77
38.272727
0.828909
0.049881
0
0
0
0
0.025126
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e297d6fe5d987adf7ab2be9c741d006bb3a4ad4a
1,593
py
Python
compile.py
cobaltians/Cobalt-Web-Sources
a5bfc71b3d2aebaa799d1917c1d15025110c5c11
[ "MIT" ]
1
2020-07-28T13:49:50.000Z
2020-07-28T13:49:50.000Z
compile.py
cobaltians/Cobalt-Web-Sources
a5bfc71b3d2aebaa799d1917c1d15025110c5c11
[ "MIT" ]
1
2015-08-14T21:04:47.000Z
2015-08-15T16:07:53.000Z
compile.py
cobaltians/Cobalt-Web-Sources
a5bfc71b3d2aebaa799d1917c1d15025110c5c11
[ "MIT" ]
1
2015-08-14T20:12:19.000Z
2015-08-14T20:12:19.000Z
import os libName = "cobalt" distrib_path = os.path.normpath(os.path.abspath(os.path.join(os.pardir, 'Cobalt-Web'))) #../Cobalt-Web web_sources_path = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__)))) #here common_file_path= os.path.normpath(os.path.abspath(os.path.join(web_sources_path, 'comm...
33.1875
113
0.697426
238
1,593
4.521008
0.239496
0.122677
0.065056
0.083643
0.47026
0.438662
0.395911
0.286245
0.286245
0.286245
0
0
0.148776
1,593
47
114
33.893617
0.79351
0.010672
0
0.129032
0
0.032258
0.222363
0
0
0
0
0
0
0
null
null
0
0.032258
null
null
0.225806
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e2987a689cdb6912d64b87c167aed0504e4c8bc3
2,023
py
Python
mergify_engine/rules/types.py
eladb/mergify-engine
ca2eb9926be29d38feaf029caaa63cbb4c74659e
[ "Apache-2.0" ]
null
null
null
mergify_engine/rules/types.py
eladb/mergify-engine
ca2eb9926be29d38feaf029caaa63cbb4c74659e
[ "Apache-2.0" ]
null
null
null
mergify_engine/rules/types.py
eladb/mergify-engine
ca2eb9926be29d38feaf029caaa63cbb4c74659e
[ "Apache-2.0" ]
null
null
null
# -*- encoding: utf-8 -*- # # Copyright © 2020 Mergify SAS # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
28.492958
83
0.699456
258
2,023
5.418605
0.542636
0.042918
0.018598
0.02289
0.075823
0
0
0
0
0
0
0.010787
0.220959
2,023
70
84
28.9
0.875635
0.364805
0
0.054054
0
0
0.077593
0
0
0
0
0.014286
0
1
0.108108
false
0.027027
0.135135
0
0.432432
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e2996b4376288dcac854730f4d39f437175c6874
692
py
Python
backend/submission/migrations/0013_auto_20210730_2244.py
skku-npc/SKKU_Coding_Platform
1d972e8922484cf94f6735fd08b2565e5d3517d0
[ "MIT" ]
1
2022-03-30T14:03:23.000Z
2022-03-30T14:03:23.000Z
backend/submission/migrations/0013_auto_20210730_2244.py
skku-npc/SKKU_Coding_Platform
1d972e8922484cf94f6735fd08b2565e5d3517d0
[ "MIT" ]
56
2022-02-19T08:13:48.000Z
2022-03-25T10:17:07.000Z
backend/submission/migrations/0013_auto_20210730_2244.py
skku-npc/SKKU_Coding_Platform
1d972e8922484cf94f6735fd08b2565e5d3517d0
[ "MIT" ]
1
2022-03-25T15:02:46.000Z
2022-03-25T15:02:46.000Z
# Generated by Django 2.2.24 on 2021-07-30 13:44 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('assignment', '0001_initial'), ('submission', '0012_auto_20180501_0436'), ] operations = [ migratio...
26.615385
120
0.615607
71
692
5.901408
0.577465
0.057279
0.066826
0.105012
0.195704
0.195704
0
0
0
0
0
0.070588
0.263006
692
25
121
27.68
0.75098
0.066474
0
0.315789
1
0
0.17236
0.068323
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e29fca0332219f46c9db03e2a55a11fef6c52985
687
py
Python
src/appointments_has_payment/migrations/0001_initial.py
TheCleverlaure/sicco-web
8e734c9bfa9c99056b6abd5276b65b1e4bf21e23
[ "bzip2-1.0.6" ]
null
null
null
src/appointments_has_payment/migrations/0001_initial.py
TheCleverlaure/sicco-web
8e734c9bfa9c99056b6abd5276b65b1e4bf21e23
[ "bzip2-1.0.6" ]
null
null
null
src/appointments_has_payment/migrations/0001_initial.py
TheCleverlaure/sicco-web
8e734c9bfa9c99056b6abd5276b65b1e4bf21e23
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.2.2 on 2019-12-26 03:31 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('appointments', '0001_initial'), ] operations = [ migrations.CreateModel( na...
25.444444
175
0.580786
70
687
5.571429
0.642857
0.061538
0.071795
0.112821
0
0
0
0
0
0
0
0.039419
0.298399
687
26
176
26.423077
0.76971
0.065502
0
0
1
0
0.157813
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2a0ada4356b62ee8423668c3f8daf26b572107a
5,992
py
Python
examples/python/plots_boxplots.py
GreatWei/pythonStates
c4a9b326bfa312e2ae44a70f4dfaaf91f2d47a37
[ "BSD-3-Clause" ]
76
2019-12-28T08:37:10.000Z
2022-03-29T02:19:41.000Z
examples/python/plots_boxplots.py
cluterdidiw/statsmodels
543037fa5768be773a3ba31fba06e16a9edea46a
[ "BSD-3-Clause" ]
null
null
null
examples/python/plots_boxplots.py
cluterdidiw/statsmodels
543037fa5768be773a3ba31fba06e16a9edea46a
[ "BSD-3-Clause" ]
35
2020-02-04T14:46:25.000Z
2022-03-24T03:56:17.000Z
# DO NOT EDIT # Autogenerated from the notebook plots_boxplots.ipynb. # Edit the notebook and then sync the output with this file. # # flake8: noqa # DO NOT EDIT #!/usr/bin/env python # coding: utf-8 # # 箱线图 # 以下说明在 statsmodels 中的箱线图的一些选项。包括 `violin_plot` 和 `bean_plot`. import numpy as np import matplotlib.pyplot a...
26.990991
76
0.584112
744
5,992
4.53629
0.229839
0.073481
0.020741
0.033185
0.724741
0.696593
0.652741
0.633185
0.596148
0.568
0
0.033102
0.279039
5,992
221
77
27.113122
0.748148
0.101969
0
0.688742
1
0
0.262921
0.024719
0
0
0
0
0
1
0.006623
false
0
0.039735
0
0.046358
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2a3cfeded807fcc0d7d885eaf030b4b350af9cd
3,775
py
Python
tormentor/backgrounds.py
wsyCUHK/tormentor
683b37fd943368137ddb8fc78f75ab750cf05526
[ "Apache-2.0" ]
2
2021-09-04T14:03:45.000Z
2021-12-16T11:53:40.000Z
tormentor/backgrounds.py
wsyCUHK/tormentor
683b37fd943368137ddb8fc78f75ab750cf05526
[ "Apache-2.0" ]
null
null
null
tormentor/backgrounds.py
wsyCUHK/tormentor
683b37fd943368137ddb8fc78f75ab750cf05526
[ "Apache-2.0" ]
null
null
null
from .util import load_images_as_tensors import torch from diamond_square import functional_diamond_square from .random import Uniform, Bernoulli, Categorical, Constant, Normal from .base_augmentation import DeterministicImageAugmentation class AbstractBackground(DeterministicImageAugmentation): def blend_by_mask...
46.604938
193
0.717086
508
3,775
5.035433
0.222441
0.077404
0.009382
0.035184
0.257623
0.224785
0.194292
0.186083
0.175919
0.140344
0
0.022655
0.169801
3,775
80
194
47.1875
0.793555
0
0
0.145161
0
0
0.020397
0.016689
0
0
0
0
0.016129
1
0.112903
false
0
0.080645
0.048387
0.548387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1