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
92799feccf4a1361a1ddbaeca85667a04610ecb8
1,007
py
Python
anecAPI/anecAPI.py
suborofu/anecAPI
ddf54e63254fc4b00748e673d8b48aa59abd6526
[ "MIT" ]
null
null
null
anecAPI/anecAPI.py
suborofu/anecAPI
ddf54e63254fc4b00748e673d8b48aa59abd6526
[ "MIT" ]
null
null
null
anecAPI/anecAPI.py
suborofu/anecAPI
ddf54e63254fc4b00748e673d8b48aa59abd6526
[ "MIT" ]
null
null
null
from modern_jokes import modern_jokes from soviet_jokes import soviet_jokes import random import argparse def soviet_joke(): return random.choice(soviet_jokes) def modern_joke(): return random.choice(modern_jokes) def random_joke(): return random.choice(soviet_jokes + modern_jokes) # TODO: Auto-gene...
27.972222
119
0.681231
130
1,007
5.046154
0.369231
0.067073
0.073171
0.10061
0.222561
0.182927
0
0
0
0
0
0
0.196624
1,007
35
120
28.771429
0.810878
0.025819
0
0
0
0
0.226762
0
0
0
0
0.028571
0
1
0.130435
false
0
0.173913
0.130435
0.434783
0.130435
0
0
0
null
0
0
0
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
1
0
0
0
2
929548cb4fdb28eda560c96f789724f2f74e54ef
4,090
py
Python
Smaug/models/users.py
luviiv/Smaug
d26d837bb97ef583e05c43d16aed265356b7cf74
[ "Apache-2.0" ]
null
null
null
Smaug/models/users.py
luviiv/Smaug
d26d837bb97ef583e05c43d16aed265356b7cf74
[ "Apache-2.0" ]
null
null
null
Smaug/models/users.py
luviiv/Smaug
d26d837bb97ef583e05c43d16aed265356b7cf74
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ users.py ~~~~~~~~~~~ user manage :copyright: (c) 2015 by Lu Tianchao. :license: Apache, see LICENSE for more details. """ import hashlib from datetime import datetime from werkzeug import generate_password_hash, check_password_hash, \ cached_property from flask.ex...
25.72327
71
0.601467
453
4,090
5.269316
0.273731
0.029326
0.035191
0.017595
0.11814
0.099707
0.036866
0.036866
0.036866
0
0
0.008124
0.307824
4,090
159
72
25.72327
0.835041
0.083374
0
0.18
0
0
0.017969
0
0
0
0
0
0
1
0.17
false
0.16
0.07
0.07
0.58
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
92a63e6d9950d24608b3bbb002e036b82919a7bf
2,541
py
Python
pyalgs/data_structures/commons/queue.py
vertexproject/pyalgs
11b9ea37afc9e9f9e38ffacc42b53f9cd96f5f83
[ "BSD-3-Clause" ]
12
2017-05-01T10:31:42.000Z
2021-06-23T14:03:28.000Z
pyalgs/data_structures/commons/queue.py
vertexproject/pyalgs
11b9ea37afc9e9f9e38ffacc42b53f9cd96f5f83
[ "BSD-3-Clause" ]
2
2018-08-01T10:09:09.000Z
2020-07-16T11:41:46.000Z
pyalgs/data_structures/commons/queue.py
vertexproject/pyalgs
11b9ea37afc9e9f9e38ffacc42b53f9cd96f5f83
[ "BSD-3-Clause" ]
6
2017-06-04T01:41:14.000Z
2021-01-19T05:05:44.000Z
from abc import abstractmethod, ABCMeta class Queue(object): """ Queue interface """ __metaclass__ = ABCMeta @abstractmethod def enqueue(self, item): pass @abstractmethod def dequeue(self): pass @abstractmethod def is_empty(self): pass @abstrac...
19.546154
45
0.528926
319
2,541
4.128527
0.178683
0.037965
0.045558
0.041002
0.214882
0.214882
0.098709
0.098709
0.057707
0.057707
0
0.010599
0.368752
2,541
129
46
19.697674
0.810474
0.005903
0
0.340426
0
0
0
0
0
0
0
0
0
1
0.202128
false
0.053191
0.010638
0.053191
0.457447
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
92acbaaddd86f818bb28122d75c4dba5ebed8fa5
366
py
Python
tests/test_core.py
blacktanktop/vivid
e85837bcd86575f8a275517250dd026aac3e451f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/test_core.py
blacktanktop/vivid
e85837bcd86575f8a275517250dd026aac3e451f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/test_core.py
blacktanktop/vivid
e85837bcd86575f8a275517250dd026aac3e451f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from vivid.core import BaseBlock, network_hash def test_network_hash(): a = BaseBlock('a') b = BaseBlock('b') assert network_hash(a) != network_hash(b) assert network_hash(a) == network_hash(a) c = BaseBlock('c', parent=[a, b]) hash1 = network_hash(c) a._parent = [BaseBlock('z')] hash...
24.4
46
0.642077
52
366
4.326923
0.326923
0.391111
0.213333
0.16
0.266667
0.266667
0.266667
0
0
0
0
0.013889
0.213115
366
14
47
26.142857
0.767361
0
0
0
0
0
0.010929
0
0
0
0
0
0.272727
1
0.090909
false
0
0.090909
0
0.181818
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2b8f14ec9702e12886e533477032b0cf4a2e6d8f
1,918
py
Python
tests/test_analysis_status_response.py
s0b0lev/mythx-models
0fc14fef9e41a68a7d97e0bb170fd0eca5693d9a
[ "MIT" ]
null
null
null
tests/test_analysis_status_response.py
s0b0lev/mythx-models
0fc14fef9e41a68a7d97e0bb170fd0eca5693d9a
[ "MIT" ]
null
null
null
tests/test_analysis_status_response.py
s0b0lev/mythx-models
0fc14fef9e41a68a7d97e0bb170fd0eca5693d9a
[ "MIT" ]
null
null
null
import json import pytest from mythx_models.exceptions import ValidationError from mythx_models.response import Analysis, AnalysisStatusResponse from mythx_models.util import serialize_api_timestamp from . import common as testdata def assert_analysis_data(expected, analysis: Analysis): assert expected["apiVer...
34.872727
84
0.792492
226
1,918
6.367257
0.247788
0.09729
0.122307
0.166782
0.436414
0.411397
0.175122
0.175122
0.175122
0.175122
0
0
0.123045
1,918
54
85
35.518519
0.855529
0
0
0.108108
0
0
0.051095
0
0
0
0
0
0.405405
1
0.189189
false
0
0.162162
0
0.351351
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
1
0
0
0
0
0
0
0
0
0
2
2b92b611127a05b1d87d98fdcdf787a237a82dc6
129
py
Python
faced/const.py
hseguro/faced
4ad42c54fb8e8679fb5feda30af5db3ac74ccc8c
[ "MIT" ]
575
2018-08-27T18:30:53.000Z
2022-03-31T03:25:36.000Z
faced/const.py
18718615232/faced
31ef0d30e1567a06113f49ff4a1202760d952df2
[ "MIT" ]
35
2018-09-04T08:16:59.000Z
2022-02-03T18:28:29.000Z
faced/const.py
18718615232/faced
31ef0d30e1567a06113f49ff4a1202760d952df2
[ "MIT" ]
172
2018-08-31T16:55:50.000Z
2022-02-28T12:03:58.000Z
import os MODELS_PATH = os.path.join(os.path.dirname(__file__), "models") YOLO_SIZE = 288 YOLO_TARGET = 9 CORRECTOR_SIZE = 50
14.333333
63
0.744186
21
129
4.190476
0.666667
0.136364
0
0
0
0
0
0
0
0
0
0.054054
0.139535
129
8
64
16.125
0.738739
0
0
0
0
0
0.046512
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2b97f27689c29817d3fc17a2b5b71b9419f2063e
6,023
py
Python
indexerNew.py
philophilo/searchingReddit
5c10dc70ecf6a614863403f28a91efe73c11fede
[ "MIT" ]
null
null
null
indexerNew.py
philophilo/searchingReddit
5c10dc70ecf6a614863403f28a91efe73c11fede
[ "MIT" ]
null
null
null
indexerNew.py
philophilo/searchingReddit
5c10dc70ecf6a614863403f28a91efe73c11fede
[ "MIT" ]
null
null
null
#!/home/master00/anaconda23/bin/python from util import * import argparse import base64 import os import json from collections import defaultdict # Two main type of indexes # -- Forward index # -- Inverted index # Forward index # doc1 -> [learning, python, how, to] # doc2 -> [learning, c++] # ... # doc3 -> [python, c...
37.64375
120
0.65034
844
6,023
4.344787
0.221564
0.049086
0.050995
0.023998
0.238069
0.16553
0.114535
0.097627
0.097627
0.097627
0
0.011487
0.248381
6,023
159
121
37.880503
0.798542
0.141624
0
0.141414
0
0
0.035946
0.004468
0
0
0
0.012579
0.010101
0
null
null
0
0.060606
null
null
0.020202
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
2b9d72d72fd5c63abb08e7957792d60430f4fc1f
490
py
Python
metadeploy/api/migrations/0045_product_license_requirements.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
33
2019-03-20T15:34:39.000Z
2022-03-30T15:59:40.000Z
metadeploy/api/migrations/0045_product_license_requirements.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
2,718
2019-02-27T19:46:07.000Z
2022-03-11T23:18:09.000Z
metadeploy/api/migrations/0045_product_license_requirements.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
28
2019-03-28T04:57:16.000Z
2022-02-04T16:49:25.000Z
# Generated by Django 2.1.5 on 2019-01-28 21:04 import sfdo_template_helpers.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [("api", "0044_merge_20190125_1502")] operations = [ migrations.AddField( model_name="product", name="li...
24.5
61
0.640816
52
490
5.826923
0.807692
0.079208
0.125413
0.165017
0
0
0
0
0
0
0
0.085873
0.263265
490
19
62
25.789474
0.753463
0.091837
0
0
1
0
0.142212
0.054176
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2ba7860171b35ef1fd22e6ca196a4bf0cdd6ce68
841
py
Python
main.py
fmiju/fssg3
ffda53e9e65a9ecd22c853e80a0af0226a4b22e4
[ "BSD-3-Clause" ]
null
null
null
main.py
fmiju/fssg3
ffda53e9e65a9ecd22c853e80a0af0226a4b22e4
[ "BSD-3-Clause" ]
null
null
null
main.py
fmiju/fssg3
ffda53e9e65a9ecd22c853e80a0af0226a4b22e4
[ "BSD-3-Clause" ]
null
null
null
import pygame from pygame.locals import * gameState = 0 pygame.init() while 1: # print "state: ", gameState # idle if gameState == 0: print pygame.event.get() for event in pygame.event.get(): if (event.type == KEYDOWN and event.key == K_SPACE): gameState = 1 # build ship elif gameState == 1: ...
21.025
55
0.630202
124
841
4.233871
0.298387
0.104762
0.133333
0.180952
0.464762
0.464762
0.464762
0.411429
0.411429
0.411429
0
0.021841
0.237812
841
39
56
21.564103
0.797192
0.068966
0
0.214286
0
0
0.015464
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.107143
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
1
0
0
0
0
0
0
0
0
2
2bb394837f98ad170af7ac4403fbc8f5bff79198
272
py
Python
newbitcoin/newbitcoin/code-ch03/helper.py
tys-hiroshi/test_programmingbitcoin
6eb6fb1c087f6dd2cb2b01f527488a904065efa6
[ "MIT" ]
null
null
null
newbitcoin/newbitcoin/code-ch03/helper.py
tys-hiroshi/test_programmingbitcoin
6eb6fb1c087f6dd2cb2b01f527488a904065efa6
[ "MIT" ]
null
null
null
newbitcoin/newbitcoin/code-ch03/helper.py
tys-hiroshi/test_programmingbitcoin
6eb6fb1c087f6dd2cb2b01f527488a904065efa6
[ "MIT" ]
null
null
null
from unittest import TestSuite, TextTestRunner import hashlib def run(test): suite = TestSuite() suite.addTest(test) TextTestRunner().run(suite) def hash256(s): '''two rounds of sha256''' return hashlib.sha256(hashlib.sha256(s).digest()).digest()
18.133333
62
0.694853
33
272
5.727273
0.575758
0.137566
0
0
0
0
0
0
0
0
0
0.053333
0.172794
272
14
63
19.428571
0.786667
0.073529
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
2bb98fcaa1938a0b80ec364136a3876078651d5b
2,083
py
Python
dialogs.py
6dba/async-telegram-bot
3950f5bc51be9f2f93924442948a98db52332d8e
[ "MIT" ]
null
null
null
dialogs.py
6dba/async-telegram-bot
3950f5bc51be9f2f93924442948a98db52332d8e
[ "MIT" ]
null
null
null
dialogs.py
6dba/async-telegram-bot
3950f5bc51be9f2f93924442948a98db52332d8e
[ "MIT" ]
null
null
null
from dataclasses import dataclass from aiogram.types import ReplyKeyboardRemove, \ ReplyKeyboardMarkup, KeyboardButton, \ InlineKeyboardMarkup, InlineKeyboardButton """Диалоги бота""" @dataclass(frozen=True) class Messages: SMILE = ['🤷‍♀️','🧐','🤷‍♂️','🤔','😐','🤨','🤯','🥱','👀','👋','�...
40.057692
318
0.649544
305
2,083
4.498361
0.619672
0.005831
0.037172
0.043732
0.107143
0.078717
0.034985
0.034985
0
0
0
0.014328
0.195871
2,083
51
319
40.843137
0.780896
0
0
0
0
0.28
0.613591
0.011905
0
0
0
0
0
1
0
false
0
0.08
0
0.84
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2bbb687f364745f2b77d52b36e535e60715406d8
1,584
py
Python
reflexy/base/tests/test_reflex.py
eso/reflexy
5ea03bae806488c01a53ccffe9701066baa5964d
[ "BSD-3-Clause" ]
null
null
null
reflexy/base/tests/test_reflex.py
eso/reflexy
5ea03bae806488c01a53ccffe9701066baa5964d
[ "BSD-3-Clause" ]
null
null
null
reflexy/base/tests/test_reflex.py
eso/reflexy
5ea03bae806488c01a53ccffe9701066baa5964d
[ "BSD-3-Clause" ]
null
null
null
import unittest from reflexy.base import reflex class TestReflexModule(unittest.TestCase): sof = 'datasetname|file1.fits;PRO_CATG1;PURPOSE1:PURPOSE2,file2;' \ 'PRO_CAT2;PURPOSE1' sopexp = [('long_param1', '3'), ('param2', '3'), ('param3', 'ser'), ('param_not_shown', 'none')] sop = ...
35.2
71
0.625631
196
1,584
4.923469
0.326531
0.217617
0.074611
0.035233
0.053886
0.053886
0
0
0
0
0
0.035159
0.227904
1,584
44
72
36
0.753884
0
0
0.054054
0
0
0.195076
0.100379
0
0
0
0
0.432432
1
0.081081
false
0
0.054054
0
0.243243
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
2bd58136299dfe9fb78fc5afd520e4be379aa582
10,136
py
Python
accounts/serializers.py
aniruddha2000/foodfeeda
4dffbbe0310a1809c9743b3525e63bac8a8a0768
[ "Apache-2.0" ]
null
null
null
accounts/serializers.py
aniruddha2000/foodfeeda
4dffbbe0310a1809c9743b3525e63bac8a8a0768
[ "Apache-2.0" ]
null
null
null
accounts/serializers.py
aniruddha2000/foodfeeda
4dffbbe0310a1809c9743b3525e63bac8a8a0768
[ "Apache-2.0" ]
1
2022-03-17T12:47:40.000Z
2022-03-17T12:47:40.000Z
from django.contrib.auth.password_validation import validate_password from django.contrib.auth.tokens import PasswordResetTokenGenerator from django.utils.encoding import force_str from django.utils.http import urlsafe_base64_decode from rest_framework.exceptions import AuthenticationFailed from rest_framework.serializ...
29.811765
82
0.594909
965
10,136
6.081865
0.146114
0.101891
0.037655
0.037485
0.719543
0.671835
0.615267
0.59022
0.558869
0.558869
0
0.00575
0.296468
10,136
339
83
29.899705
0.817277
0.001677
0
0.72119
0
0
0.136108
0
0
0
0
0
0
1
0.05948
false
0.204461
0.033457
0
0.289963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
2bdae61f57803109d14c71c62a57ac97f4c10c5b
724
py
Python
v002/__init__.py
cgarcia-UCO/AgentSurvival
34c4b265c90f0b74fec8dbc65c275eb5cdd16ba3
[ "MIT" ]
null
null
null
v002/__init__.py
cgarcia-UCO/AgentSurvival
34c4b265c90f0b74fec8dbc65c275eb5cdd16ba3
[ "MIT" ]
null
null
null
v002/__init__.py
cgarcia-UCO/AgentSurvival
34c4b265c90f0b74fec8dbc65c275eb5cdd16ba3
[ "MIT" ]
null
null
null
try: from IPython import get_ipython if get_ipython().__class__.__name__ not in ['NoneType']: from IPython import display i_am_in_interatcive = True import pylab as pl pl.rcParams['figure.figsize'] = [13, 13] # print("INTERACTIVE") else: import matplotlib.pyp...
28.96
78
0.718232
94
724
5.180851
0.457447
0.01848
0.030801
0.098563
0.213552
0.213552
0.213552
0.213552
0.213552
0.213552
0
0.007055
0.216851
724
24
79
30.166667
0.851852
0.099448
0
0.222222
0
0
0.033951
0
0
0
0
0
0
1
0
false
0
0.555556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2bdcd33401ff8240d2bd02c4fb44f1db772552fb
1,587
py
Python
main.py
maxBombrun/lipidDroplets
d624b718a7f70c45c1058938d916b78aa14390a7
[ "BSD-3-Clause" ]
null
null
null
main.py
maxBombrun/lipidDroplets
d624b718a7f70c45c1058938d916b78aa14390a7
[ "BSD-3-Clause" ]
null
null
null
main.py
maxBombrun/lipidDroplets
d624b718a7f70c45c1058938d916b78aa14390a7
[ "BSD-3-Clause" ]
null
null
null
import os import csv import multiprocessing import settings import segmentNucAndGFP import cellProfilerGetRelation import measureGFPSize import plotFeatures import fusionCSV import clusterDroplets import computeZprime settings.init() CPPath=settings.pathList[0] inputDataPath=settings.pathList[1]...
27.362069
158
0.7908
169
1,587
7.408284
0.568047
0.076677
0.015974
0
0
0
0
0
0
0
0
0.005102
0.135476
1,587
57
159
27.842105
0.907434
0.281033
0
0
0
0
0.015052
0
0
0
0
0
0
0
null
null
0
0.37931
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
2bddb9b7282ff011959fc2aa41a6520b2612a723
503
py
Python
test/integration/test_load_shapefile_networkx_native.py
JoachimC/magicbox_distance
3706172315f406a391bb643d494dad121b858e97
[ "BSD-3-Clause" ]
null
null
null
test/integration/test_load_shapefile_networkx_native.py
JoachimC/magicbox_distance
3706172315f406a391bb643d494dad121b858e97
[ "BSD-3-Clause" ]
12
2018-08-11T13:26:33.000Z
2018-10-16T15:36:16.000Z
test/integration/test_load_shapefile_networkx_native.py
JoachimC/magicbox_distance
3706172315f406a391bb643d494dad121b858e97
[ "BSD-3-Clause" ]
null
null
null
import unittest import networkx as nx class TestLoadColumbiaRoadsNetworkXNative(unittest.TestCase): def test_load(self): # https://data.humdata.org/dataset/d8f6feda-6755-4e84-bd14-5c719bc5f37a (hotosm_col_roads_lines_shp.zip) roads_file = "/Users/joachim/Downloads/hotosm_col_roads_lines_shp/hoto...
29.588235
112
0.739563
66
503
5.272727
0.666667
0.077586
0.12069
0.163793
0.189655
0
0
0
0
0
0
0.042353
0.15507
503
16
113
31.4375
0.776471
0.33002
0
0
0
0
0.257485
0.233533
0
0
0
0.0625
0
1
0.125
false
0
0.25
0
0.5
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
1
0
0
0
0
0
0
0
0
0
0
2
2bf76e6c71e2e4b130aa3da1d86af45c54dbc8eb
261
py
Python
Exercises/Exercise 15 - Hard.py
MikelShifrin/Python1
0096a327023a28e0c639042ae01268b07e61943e
[ "MIT" ]
3
2019-07-02T13:46:23.000Z
2019-08-19T14:41:25.000Z
Exercises/Exercise 15 - Hard.py
MikelShifrin/Python1
0096a327023a28e0c639042ae01268b07e61943e
[ "MIT" ]
null
null
null
Exercises/Exercise 15 - Hard.py
MikelShifrin/Python1
0096a327023a28e0c639042ae01268b07e61943e
[ "MIT" ]
null
null
null
#Assignment 12 #create 2 files on Desktop: #input.txt #output.txt #inside input.txt write the following lines: #apple #orange #banana #cucumber #Your program will add an s to each line #and write it to output.txt #Hint: name = 'hello\n' # name.rstrip('\n')
20.076923
44
0.720307
44
261
4.272727
0.795455
0.085106
0
0
0
0
0
0
0
0
0
0.013761
0.164751
261
13
45
20.076923
0.848624
0.904215
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
9210cd1a83170ca2842ecbe0ae9f1b20d789338b
219
py
Python
compare_two_values.py
jenildesai25/Visa_interview
9077d01e122267e5708b12293c8cb6d9801cdc46
[ "MIT" ]
null
null
null
compare_two_values.py
jenildesai25/Visa_interview
9077d01e122267e5708b12293c8cb6d9801cdc46
[ "MIT" ]
null
null
null
compare_two_values.py
jenildesai25/Visa_interview
9077d01e122267e5708b12293c8cb6d9801cdc46
[ "MIT" ]
null
null
null
VISA full time master's MCQ. def func(a, b): x = a y = b while x != y: if x > y: x = x - y if x < y: y = y - x return x or y print(func(2437, 875))
15.642857
29
0.374429
37
219
2.216216
0.513514
0.097561
0.097561
0.121951
0.146341
0
0
0
0
0
0
0.066038
0.515982
219
13
30
16.846154
0.707547
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.090909
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
1
0
0
0
0
0
0
0
0
2
92153cba78723d1570ff0bdccee6e07fae76883e
649
py
Python
consts.py
honey96dev/python-coinbase-tradingbot
ec5fad4336a10ed28c44373dc9509581dd96264f
[ "MIT" ]
1
2021-12-29T09:31:37.000Z
2021-12-29T09:31:37.000Z
consts.py
honey96dev/python-coinbase-tradingbot
ec5fad4336a10ed28c44373dc9509581dd96264f
[ "MIT" ]
null
null
null
consts.py
honey96dev/python-coinbase-tradingbot
ec5fad4336a10ed28c44373dc9509581dd96264f
[ "MIT" ]
null
null
null
months_json = { "1": "January", "2": "February", "3": "March", "4": "April", "5": "May", "6": "June", "7": "July", "8": "August", "9": "September", "01": "January", "02": "February", "03": "March", "04": "April", "05": "May", "06": "June", "07": "July", "08": "August", "09": "Septem...
12.98
20
0.391371
88
649
2.863636
0.454545
0
0
0
0
0
0
0
0
0
0
0.229787
0.275809
649
49
21
13.244898
0.306383
0
0
0
0
0
0.294299
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9219f5cfa01beb284c389cfb42e21e0246c37a82
1,063
py
Python
datumaro/datumaro/util/test_utils.py
godlikejay/cvat
50c40ba70dd8f890478068f29ce3de1057ec848c
[ "MIT" ]
2
2020-01-10T08:50:50.000Z
2020-01-23T06:11:11.000Z
datumaro/datumaro/util/test_utils.py
godlikejay/cvat
50c40ba70dd8f890478068f29ce3de1057ec848c
[ "MIT" ]
5
2022-02-13T20:46:25.000Z
2022-02-27T10:34:53.000Z
datumaro/datumaro/util/test_utils.py
godlikejay/cvat
50c40ba70dd8f890478068f29ce3de1057ec848c
[ "MIT" ]
1
2020-06-26T00:27:43.000Z
2020-06-26T00:27:43.000Z
# Copyright (C) 2019 Intel Corporation # # SPDX-License-Identifier: MIT import inspect import os import os.path as osp import shutil def current_function_name(depth=1): return inspect.getouterframes(inspect.currentframe())[depth].function class FileRemover: def __init__(self, path, is_dir=False, ignore_err...
27.25641
73
0.687676
139
1,063
4.971223
0.42446
0.156295
0.054993
0.063676
0.075253
0
0
0
0
0
0
0.007168
0.212606
1,063
39
74
27.25641
0.818399
0.124177
0
0
0
0
0.007568
0
0
0
0
0
0
1
0.208333
false
0
0.166667
0.083333
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ecfcea4ccf7a5523cf5c703502dd1432cbaa0c9e
3,545
py
Python
oncopolicy/models/deterministic_progression.py
yala/Tempo
bf3e0e78d64869bb2079c582a4a35982f78386ad
[ "MIT" ]
6
2022-01-15T11:57:19.000Z
2022-02-13T21:15:22.000Z
oncopolicy/models/deterministic_progression.py
yala/Tempo
bf3e0e78d64869bb2079c582a4a35982f78386ad
[ "MIT" ]
null
null
null
oncopolicy/models/deterministic_progression.py
yala/Tempo
bf3e0e78d64869bb2079c582a4a35982f78386ad
[ "MIT" ]
2
2022-02-02T13:09:29.000Z
2022-02-18T07:06:19.000Z
import torch import torch.nn as nn from oncopolicy.models.factory import RegisterModel import pdb class AbstractDeterministicGuideline(nn.Module): def __init__(self, args): super(AbstractDeterministicGuideline, self).__init__() self.args = args self.max_steps = args.max_steps def get_...
37.315789
129
0.640621
451
3,545
4.858093
0.239468
0.044728
0.065723
0.047467
0.540849
0.484254
0.484254
0.484254
0.484254
0.448654
0
0.007148
0.250212
3,545
94
130
37.712766
0.817156
0.337941
0
0.232558
0
0
0.035306
0
0
0
0
0
0
1
0.209302
false
0
0.093023
0.023256
0.511628
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a6049452e4aac0634d91765ee03449bd362ab74a
1,046
py
Python
swagger_ui/__init__.py
dirkgomez/voice-skill-sdk
ff8a3cc226f48d65fe9ad06741a03b8205f1f0b5
[ "MIT" ]
null
null
null
swagger_ui/__init__.py
dirkgomez/voice-skill-sdk
ff8a3cc226f48d65fe9ad06741a03b8205f1f0b5
[ "MIT" ]
null
null
null
swagger_ui/__init__.py
dirkgomez/voice-skill-sdk
ff8a3cc226f48d65fe9ad06741a03b8205f1f0b5
[ "MIT" ]
null
null
null
# # voice-skill-sdk # # (C) 2020, Deutsche Telekom AG # # Deutsche Telekom AG and all other contributors / # copyright owners license this file to you under the MIT # License (the "License"); you may not use this file # except in compliance with the License. # You may obtain a copy of the License at # # https://opensou...
26.820513
62
0.739006
156
1,046
4.891026
0.589744
0.078637
0.044561
0.04194
0.04325
0
0
0
0
0
0
0.00454
0.157744
1,046
38
63
27.526316
0.861521
0.595602
0
0
0
0
0.223881
0.136816
0
0
0
0
0
1
0.181818
false
0
0.181818
0.181818
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
a61fb4cae066d888d2f215862b59d8af6c32f27d
537
py
Python
src/mainmodulename/plugins/type_one_plugin/__init__.py
portikCoder/basic_python_plugin_project
3176f6d5683ec03ec670ebda7ca6513289c72699
[ "MIT" ]
1
2021-04-09T20:10:04.000Z
2021-04-09T20:10:04.000Z
src/mainmodulename/plugins/type_one_plugin/__init__.py
portikCoder/basic_python_plugin_project
3176f6d5683ec03ec670ebda7ca6513289c72699
[ "MIT" ]
1
2021-02-06T21:48:45.000Z
2021-02-06T21:48:45.000Z
src/mainmodulename/plugins/type_one_plugin/__init__.py
portikCoder/basic_python_plugin_project
3176f6d5683ec03ec670ebda7ca6513289c72699
[ "MIT" ]
null
null
null
# Copyright (c) 2021 portikCoder. All rights reserved. # See the license text under the root package. from typing import Type from mainmodulename.common.plugin_template import Plugin from mainmodulename.plugins.type_one_plugin.type_one_plugin import TypeOnePlugin PLUGIN_CLASS: Type[Plugin] = TypeOnePlugin ALIASES =...
29.833333
80
0.757914
70
537
5.671429
0.614286
0.083123
0.065491
0.105793
0
0
0
0
0
0
0
0.008869
0.160149
537
17
81
31.588235
0.871397
0.340782
0
0
0
0
0.09009
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a6353e0352eb39b16f50a9f0e0699f0ab72b2a30
756
py
Python
22. Generate Parentheses/solution1.py
sunshot/LeetCode
8f6503201831055f1d49ed3abb25be44a13ec317
[ "MIT" ]
null
null
null
22. Generate Parentheses/solution1.py
sunshot/LeetCode
8f6503201831055f1d49ed3abb25be44a13ec317
[ "MIT" ]
null
null
null
22. Generate Parentheses/solution1.py
sunshot/LeetCode
8f6503201831055f1d49ed3abb25be44a13ec317
[ "MIT" ]
null
null
null
from typing import List class Solution: def generateParenthesis(self, n: int) -> List[str]: if n == 0: return [''] if n == 1: return ['()'] if n == 2: result = [] result.append('()()') result.append('(())') return result...
26.068966
61
0.488095
79
756
4.56962
0.405063
0.024931
0.049862
0.171745
0.216066
0.216066
0
0
0
0
0
0.012712
0.375661
756
29
62
26.068966
0.752119
0
0
0.153846
1
0
0.031704
0
0
0
0
0
0
1
0.038462
false
0
0.038462
0
0.269231
0.076923
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a63c831ec9710b64344fb7dfa36c7cec29b0cae2
358
py
Python
Intern/variables2.py
AalsiCodeMan/Notebook-Ex
fd1cf8beddf26f6dd94f476f4c308b9057cc5ac7
[ "Unlicense" ]
1
2020-06-28T12:35:55.000Z
2020-06-28T12:35:55.000Z
Intern/variables2.py
AalsiCodeMan/Notebook-Ex
fd1cf8beddf26f6dd94f476f4c308b9057cc5ac7
[ "Unlicense" ]
1
2021-10-02T05:33:51.000Z
2021-10-02T05:34:02.000Z
Intern/variables2.py
AalsiCodeMan/Notebook-Ex
fd1cf8beddf26f6dd94f476f4c308b9057cc5ac7
[ "Unlicense" ]
3
2020-10-17T08:19:02.000Z
2021-10-11T12:33:18.000Z
## Data Categorisation ''' 1) Whole Number (Ints) - 100, 1000, -450, 999 2) Real Numbers (Floats) - 33.33, 44.01, -1000.033 3) String - "Bangalore", "India", "Raj", "abc123" 4) Boolean - True, False Variables in python are dynamic in nature ''' a = 10 print(a) print(type(a)) a = 10.33 print(a) print(type(a)) a =...
14.916667
50
0.636872
60
358
3.8
0.666667
0.078947
0.144737
0.197368
0.219298
0.149123
0
0
0
0
0
0.139456
0.178771
358
23
51
15.565217
0.636054
0.659218
0
0.666667
0
0
0.089286
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
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
1
0
2
a63d1ac18dbb8521b652e406baf4c3ebd14d1bd4
1,281
py
Python
PycharmProjects/PythonExercicios/ex045.py
RodrigoMASRamos/Projects.py
ed15981b320914c9667305dcd5fb5b7906fd9b00
[ "MIT" ]
null
null
null
PycharmProjects/PythonExercicios/ex045.py
RodrigoMASRamos/Projects.py
ed15981b320914c9667305dcd5fb5b7906fd9b00
[ "MIT" ]
null
null
null
PycharmProjects/PythonExercicios/ex045.py
RodrigoMASRamos/Projects.py
ed15981b320914c9667305dcd5fb5b7906fd9b00
[ "MIT" ]
null
null
null
# Exercício Python #045 - GAME: Pedra Papel e Tesoura # # Crie um programa que faça o computador jogar JOKENPÔ com você. # Aprenda a arrumar as cores nas respostas! from random import choice from random import randint # Maneira utilizada na resolução deste exercício from time import sleep print('\033[1;31mATENÇÃO! ...
38.818182
117
0.672912
223
1,281
3.865471
0.443946
0.051044
0.027842
0.034803
0.148492
0.148492
0.12529
0.12529
0.12529
0.12529
0
0.158234
0.151444
1,281
33
118
38.818182
0.634775
0.157689
0
0.095238
0
0.238095
0.628145
0.132339
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a644ae4c04f7d11053b8e2b79110bf1aa7213f69
1,882
py
Python
tests/script/test_p2pk.py
meherett/btmhdw
6929750edb7747a9937806272127c98db86e4c98
[ "MIT" ]
3
2019-06-02T06:31:06.000Z
2019-06-16T20:46:38.000Z
tests/script/test_p2pk.py
meherett/btmhdw
6929750edb7747a9937806272127c98db86e4c98
[ "MIT" ]
3
2020-09-10T04:40:58.000Z
2021-06-25T15:38:35.000Z
tests/script/test_p2pk.py
meherett/btmhdw
6929750edb7747a9937806272127c98db86e4c98
[ "MIT" ]
1
2020-08-11T07:48:19.000Z
2020-08-11T07:48:19.000Z
#!/usr/bin/env python3 import json import os from pybytom.script import ( get_public_key_hash, get_p2pkh_program, get_p2wpkh_program, get_p2wpkh_address ) # Test Values base_path = os.path.dirname(__file__) file_path = os.path.abspath(os.path.join(base_path, "..", "values.json")) values = open(file_path, "r") _ ...
37.64
94
0.658874
230
1,882
4.978261
0.178261
0.165066
0.215721
0.165939
0.703057
0.654148
0.557205
0.557205
0.557205
0.557205
0
0.020333
0.13762
1,882
49
95
38.408163
0.685151
0.017535
0
0.210526
0
0
0.275041
0
0
0
0
0
0.236842
1
0.026316
false
0
0.078947
0
0.105263
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a64954da5abc2b618672c110a9d724b19813f598
9,145
py
Python
benchmarks/compare_with_others.py
ProLoD/icontract-hypothesis
fe6c12a7395807d78880c2bbead48580fe8a1cff
[ "MIT" ]
57
2021-01-14T12:01:19.000Z
2022-03-02T10:54:43.000Z
benchmarks/compare_with_others.py
ProLoD/icontract-hypothesis
fe6c12a7395807d78880c2bbead48580fe8a1cff
[ "MIT" ]
7
2021-02-15T16:28:55.000Z
2021-07-23T10:58:21.000Z
benchmarks/compare_with_others.py
ProLoD/icontract-hypothesis
fe6c12a7395807d78880c2bbead48580fe8a1cff
[ "MIT" ]
2
2021-01-21T05:35:58.000Z
2021-04-02T08:28:06.000Z
#!/usr/bin/env python3 """Benchmark icontract against deal when used together with hypothesis.""" import os import sys import timeit from typing import List import deal import dpcontracts import hypothesis import hypothesis.extra.dpcontracts import hypothesis.strategies import icontract import tabulate import icontr...
29.310897
115
0.584254
1,058
9,145
4.910208
0.155009
0.043118
0.031184
0.027719
0.692397
0.686044
0.6795
0.675265
0.642733
0.625217
0
0.018053
0.303445
9,145
311
116
29.405145
0.797488
0.096227
0
0.65
0
0
0.05825
0.011942
0
0
0
0
0.018182
1
0.109091
false
0.054545
0.059091
0
0.168182
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
1
0
0
0
0
0
2
a6502bc8d3efa4a62ed9b5abd448b7a3fdc28b1d
12,184
py
Python
models/edhoc/draftedhoc-20200301/oracle.py
hoheinzollern/EDHOC-Verification
b62bb5192021b9cee52845943ba0c1999cb84119
[ "MIT" ]
null
null
null
models/edhoc/draftedhoc-20200301/oracle.py
hoheinzollern/EDHOC-Verification
b62bb5192021b9cee52845943ba0c1999cb84119
[ "MIT" ]
null
null
null
models/edhoc/draftedhoc-20200301/oracle.py
hoheinzollern/EDHOC-Verification
b62bb5192021b9cee52845943ba0c1999cb84119
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys, re from functools import reduce DEBUG = False #DEBUG = True # Put prios between 0 and 100. Above 100 is for default strategy MAXNPRIO = 200 # max number of prios, 0 is lowest prio FALLBACKPRIO = MAXNPRIO # max number of prios, 0 is lowest prio prios = [(i, []) for i in range(MAXNP...
43.514286
105
0.403234
1,313
12,184
3.724296
0.115765
0.19182
0.157055
0.255215
0.716155
0.707771
0.670961
0.647853
0.596319
0.578937
0
0.015187
0.367695
12,184
279
106
43.670251
0.619159
0.046454
0
0.643443
0
0
0.213571
0
0
0
0
0
0
1
0.02459
false
0
0.008197
0
0.032787
0.053279
0
0
0
null
0
0
1
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
2
a6645500bd9415fcb00c5c1063997449655e7a5b
464
py
Python
supriya/ugens/LFNoise1.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/LFNoise1.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/LFNoise1.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
import collections from supriya import CalculationRate from supriya.synthdefs import UGen class LFNoise1(UGen): """ A ramp noise generator. :: >>> supriya.ugens.LFNoise1.ar() LFNoise1.ar() """ ### CLASS VARIABLES ### __documentation_section__ = "Noise UGens" _ordered...
18.56
79
0.68319
45
464
6.8
0.666667
0.071895
0
0
0
0
0
0
0
0
0
0.019022
0.206897
464
24
80
19.333333
0.8125
0.213362
0
0
0
0
0.060606
0
0
0
0
0
0
1
0
false
0
0.428571
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
1
0
1
0
0
2
a66f853bf9f33f87146ba3858b82466747a4ba7f
133
py
Python
nicos_mlz/refsans/setups/elements/alphai.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
12
2019-11-06T15:40:36.000Z
2022-01-01T16:23:00.000Z
nicos_mlz/refsans/setups/elements/alphai.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
91
2020-08-18T09:20:26.000Z
2022-02-01T11:07:14.000Z
nicos_mlz/refsans/setups/elements/alphai.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
6
2020-01-11T10:52:30.000Z
2022-02-25T12:35:23.000Z
description = 'Alphai alias device' group = 'lowlevel' devices = dict( alphai = device('nicos.devices.generic.DeviceAlias'), )
16.625
57
0.706767
14
133
6.714286
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.157895
133
7
58
19
0.839286
0
0
0
0
0
0.451128
0.24812
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a66fb86f66ae53aa1b1feda298a87c0ab06d20d0
268
py
Python
src/core/migrations/0055_merge_20190305_1616.py
metabolism-of-cities/ARCHIVED-metabolism-of-cities-platform-v3
c754d3b1b401906a21640b8eacb6b724a448b31c
[ "MIT" ]
null
null
null
src/core/migrations/0055_merge_20190305_1616.py
metabolism-of-cities/ARCHIVED-metabolism-of-cities-platform-v3
c754d3b1b401906a21640b8eacb6b724a448b31c
[ "MIT" ]
null
null
null
src/core/migrations/0055_merge_20190305_1616.py
metabolism-of-cities/ARCHIVED-metabolism-of-cities-platform-v3
c754d3b1b401906a21640b8eacb6b724a448b31c
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2019-03-05 16:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0054_auto_20190305_1613'), ('core', '0054_merge_20190304_0758'), ] operations = [ ]
17.866667
47
0.641791
33
268
5.030303
0.787879
0.096386
0
0
0
0
0
0
0
0
0
0.229268
0.235075
268
14
48
19.142857
0.580488
0.16791
0
0
1
0
0.248869
0.21267
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a6844d436f3ac8eae3409198b262402806d0a4c7
1,022
py
Python
class3/exercises/exercise3/exercise3.py
EndlessDynamics/Fork_nornir_course
04bf7e3819659f481a4e04059152877b795177b2
[ "Apache-2.0" ]
null
null
null
class3/exercises/exercise3/exercise3.py
EndlessDynamics/Fork_nornir_course
04bf7e3819659f481a4e04059152877b795177b2
[ "Apache-2.0" ]
null
null
null
class3/exercises/exercise3/exercise3.py
EndlessDynamics/Fork_nornir_course
04bf7e3819659f481a4e04059152877b795177b2
[ "Apache-2.0" ]
null
null
null
from nornir import InitNornir from nornir.core.filter import F def main(): nr = InitNornir() print("\nExercise 3a (role AGG)") print("-" * 20) agg_devs = nr.filter(F(role__contains="AGG")) print(agg_devs.inventory.hosts) print("-" * 20) print("\nExercise 3b (sea or sfo group)") print...
25.55
76
0.620352
130
1,022
4.646154
0.3
0.092715
0.059603
0.139073
0.548013
0.461921
0.221854
0.221854
0.221854
0.221854
0
0.024876
0.213307
1,022
39
77
26.205128
0.726368
0
0
0.258065
0
0
0.204501
0
0
0
0
0
0
1
0.032258
false
0.129032
0.064516
0
0.096774
0.548387
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
2
a68c2fae55a4172bd6d6344ce187492035975eee
1,263
py
Python
app/analyzers/indicators/sar.py
r15ch13/crypto-signal
d423681223124278a3942cf2e930aafe5b84a855
[ "MIT" ]
4
2021-03-03T16:39:59.000Z
2021-08-28T21:05:34.000Z
app/analyzers/indicators/sar.py
r15ch13/crypto-signal
d423681223124278a3942cf2e930aafe5b84a855
[ "MIT" ]
1
2021-05-10T16:11:48.000Z
2021-05-10T16:11:48.000Z
app/analyzers/indicators/sar.py
r15ch13/crypto-signal
d423681223124278a3942cf2e930aafe5b84a855
[ "MIT" ]
6
2019-03-07T10:58:45.000Z
2021-05-08T22:18:01.000Z
""" MACD Indicator """ import math import pandas from talib import abstract from analyzers.utils import IndicatorUtils class SAR(IndicatorUtils): def analyze(self, historical_data, signal=['sar'], hot_thresh=None, cold_thresh=None): """Performs a macd analysis on the historical data Args: ...
33.236842
97
0.648456
159
1,263
5.018868
0.421384
0.090226
0.067669
0.06015
0.172932
0.172932
0.172932
0.172932
0.172932
0.172932
0
0.00432
0.266825
1,263
37
98
34.135135
0.857451
0.436263
0
0
0
0
0.031148
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a68d575600de2c24556e7348001ad2a913abac90
1,178
py
Python
tools/csv2kml.py
platypii/BASElineFlightComputer
7881febb680b32c88c7331563e6b4ed15db9a433
[ "MIT" ]
22
2016-06-28T15:18:25.000Z
2022-03-20T01:44:13.000Z
tools/csv2kml.py
Probot9/BASElineFlightComputer
cd449d32887e82d8a187586894cbd1a44c5b668a
[ "MIT" ]
5
2018-04-30T00:54:03.000Z
2020-01-30T18:11:45.000Z
tools/csv2kml.py
Probot9/BASElineFlightComputer
cd449d32887e82d8a187586894cbd1a44c5b668a
[ "MIT" ]
5
2015-05-27T03:26:49.000Z
2021-12-11T05:49:33.000Z
#!/usr/bin/python import sys if len(sys.argv) != 2: print 'Usage: csv2kml input.csv' exit() kml_header = """<?xml version=\"1.0\" encoding=\"UTF-8\"?> <kml xmlns=\"http://www.opengis.net/kml/2.2\" xmlns:gx=\"http://www.google.com/kml/ext/2.2\" xmlns:kml=\"http://www.opengis.net/kml/2.2\" xmlns:atom=\"http://www.w3...
21.418182
181
0.565365
153
1,178
4.326797
0.503268
0.042296
0.031722
0.05136
0.081571
0.081571
0.081571
0.081571
0
0
0
0.03118
0.237691
1,178
54
182
21.814815
0.706013
0.06961
0
0
0
0.02439
0.708257
0.104587
0
0
0
0
0
0
null
null
0
0.02439
null
null
0.097561
0
0
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
1
0
0
0
0
0
0
0
0
2
a69449e89ea900074212b71558e97b166df355bd
1,388
py
Python
skassist-docs/python/doc_definitions.py
radmerti/scikit-assist
6ecd58608632c2ef8b52f6f71fd3695db522e22e
[ "BSD-2-Clause" ]
null
null
null
skassist-docs/python/doc_definitions.py
radmerti/scikit-assist
6ecd58608632c2ef8b52f6f71fd3695db522e22e
[ "BSD-2-Clause" ]
null
null
null
skassist-docs/python/doc_definitions.py
radmerti/scikit-assist
6ecd58608632c2ef8b52f6f71fd3695db522e22e
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # ______________________________________________________________________________ def boolean_func(experiment): """Function that returns True when an experiment matches and False otherwise. Args: experiment (:class:`~skassist.Experiment`): Experiment that is to be tested. ...
42.060606
84
0.701009
159
1,388
5.08805
0.584906
0.074166
0.032138
0.039555
0.046972
0
0
0
0
0
0
0.005592
0.226945
1,388
33
85
42.060606
0.748369
0.852305
0
0
0
0
0
0
0
0
0
0
0
1
1
false
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
a696ee2566ea61b7ea08a6739c150d86fe1efe72
1,526
py
Python
bostaSDK/pickup/create/CreatePickupResponse.py
bostaapp/bosta-python
df3f48dafac49b2577669fd4d74a5e5e9d28f2c1
[ "MIT" ]
null
null
null
bostaSDK/pickup/create/CreatePickupResponse.py
bostaapp/bosta-python
df3f48dafac49b2577669fd4d74a5e5e9d28f2c1
[ "MIT" ]
1
2020-11-18T11:01:32.000Z
2020-11-18T11:10:52.000Z
bostaSDK/pickup/create/CreatePickupResponse.py
bostaapp/bosta-python
df3f48dafac49b2577669fd4d74a5e5e9d28f2c1
[ "MIT" ]
null
null
null
class CreatePickupResponse: def __init__(self, res): """ Initialize new instance from CreatePickupResponse class Parameters: res (dict, str): JSON response object or response text message Returns: instance from CreatePickupResponse """ self.fromR...
29.921569
70
0.609436
142
1,526
6.450704
0.309859
0.048035
0.058952
0.043668
0.128821
0.128821
0.128821
0.128821
0.128821
0.128821
0
0
0.303408
1,526
50
71
30.52
0.861712
0.26671
0
0.083333
0
0
0.108458
0
0
0
0
0
0
1
0.208333
false
0
0
0.125
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
1
0
0
0
1
0
0
0
2
a6983bd2dae45fdbaac009e69a080431f0e315a5
522
py
Python
code/bot/mapping-bringup/launch/slam_launch.py
jacobwaller/beer-bot
60d89bee2029d87a870940081bd6ab93d05c4eca
[ "MIT" ]
null
null
null
code/bot/mapping-bringup/launch/slam_launch.py
jacobwaller/beer-bot
60d89bee2029d87a870940081bd6ab93d05c4eca
[ "MIT" ]
null
null
null
code/bot/mapping-bringup/launch/slam_launch.py
jacobwaller/beer-bot
60d89bee2029d87a870940081bd6ab93d05c4eca
[ "MIT" ]
null
null
null
from launch import LaunchDescription import launch_ros.actions from ament_index_python.packages import get_package_share_directory def generate_launch_description(): return LaunchDescription([ launch_ros.actions.Node( parameters=[ get_package_share_directory("slam_toolbox") + '/confi...
30.705882
95
0.683908
53
522
6.358491
0.584906
0.130564
0.094955
0.142433
0
0
0
0
0
0
0
0
0.235632
522
17
96
30.705882
0.844612
0
0
0
1
0
0.196941
0.116635
0
0
0
0
0
1
0.066667
true
0
0.2
0.066667
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
a69c6da5a24875fb6294bf1da51edf46e3db4865
475
py
Python
hw/hw09/tests/q1_3.py
ds-modules/Colab-demo
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
[ "BSD-3-Clause" ]
null
null
null
hw/hw09/tests/q1_3.py
ds-modules/Colab-demo
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
[ "BSD-3-Clause" ]
null
null
null
hw/hw09/tests/q1_3.py
ds-modules/Colab-demo
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
[ "BSD-3-Clause" ]
null
null
null
test = { 'name': 'q1_3', 'points': 1, 'suites': [ { 'cases': [ {'code': '>>> type(max_estimate) in set([int, np.int32, np.int64])\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> max_estimate in observations.column(0)\nTrue', 'hidden': False, 'locked': False}],...
52.777778
144
0.414737
42
475
4.619048
0.714286
0.113402
0.134021
0.226804
0.278351
0
0
0
0
0
0
0.027027
0.376842
475
8
145
59.375
0.628378
0
0
0
0
0
0.414737
0.058947
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a6a06d990fb107f6d173990c09e667ce4615e46e
283
py
Python
backend0bit/serializers.py
piotrb5e3/0bit-backend
1df105ab57d0ddde5868ae4b03b359e0c3f00b13
[ "Apache-2.0" ]
null
null
null
backend0bit/serializers.py
piotrb5e3/0bit-backend
1df105ab57d0ddde5868ae4b03b359e0c3f00b13
[ "Apache-2.0" ]
1
2020-06-05T19:21:04.000Z
2020-06-05T19:21:04.000Z
backend0bit/serializers.py
piotrb5e3/0bit-backend
1df105ab57d0ddde5868ae4b03b359e0c3f00b13
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from backend0bit.models import StaticPage class StaticPageSerializer(serializers.ModelSerializer): class Meta: model = StaticPage fields = ('id', 'title', 'url', 'contents', 'order') read_only_fields = ('order',)
25.727273
60
0.696113
28
283
6.928571
0.75
0
0
0
0
0
0
0
0
0
0
0.004405
0.19788
283
10
61
28.3
0.85022
0
0
0
0
0
0.09894
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
a6a1b6d7205087acf58bd99258d54c81c8cb5272
6,538
py
Python
test_routes.py
Varini/CHALLENGE_SFNewsAPI
439bf7dfc10f83466786f6bd054afc8ab07b1b58
[ "MIT" ]
null
null
null
test_routes.py
Varini/CHALLENGE_SFNewsAPI
439bf7dfc10f83466786f6bd054afc8ab07b1b58
[ "MIT" ]
null
null
null
test_routes.py
Varini/CHALLENGE_SFNewsAPI
439bf7dfc10f83466786f6bd054afc8ab07b1b58
[ "MIT" ]
null
null
null
from operator import index from fastapi.testclient import TestClient from index import app client = TestClient(app) def test_get_item(): response = client.get("/articles/10000") assert response.status_code == 200 assert response.json() == {"id": 10000, "title": "NASA TV to ...
40.608696
277
0.487611
634
6,538
4.958991
0.258675
0.089059
0.063613
0.076336
0.748728
0.716285
0.68416
0.68416
0.677481
0.647583
0
0.081903
0.376262
6,538
160
278
40.8625
0.689063
0
0
0.640288
0
0.05036
0.359437
0.05231
0
0
0
0
0.143885
1
0.071942
false
0
0.021583
0
0.093525
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a6a650997a0e40d341164565e71707c592c13050
1,372
py
Python
src/producto18.py
alonsosilvaallende/Datos-COVID19
a52b586ce0c9eb41a3f7443a164402124ffef504
[ "MIT" ]
null
null
null
src/producto18.py
alonsosilvaallende/Datos-COVID19
a52b586ce0c9eb41a3f7443a164402124ffef504
[ "MIT" ]
null
null
null
src/producto18.py
alonsosilvaallende/Datos-COVID19
a52b586ce0c9eb41a3f7443a164402124ffef504
[ "MIT" ]
null
null
null
''' MIT License Copyright (c) 2020 Sebastian Cornejo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publ...
41.575758
78
0.78207
211
1,372
5.037915
0.587678
0.082785
0.024459
0
0
0
0
0
0
0
0
0.00695
0.161079
1,372
33
79
41.575758
0.916594
0.819242
0
0
0
0
0.3361
0.290456
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
a6a93fa998370452499035e80f03dcb57488747c
516
py
Python
listwords.py
corbinmcneill/bonkbot
5d355d9b8d2377176fc8ec317a7cba03ff3bb37a
[ "MIT" ]
1
2020-12-07T06:58:38.000Z
2020-12-07T06:58:38.000Z
listwords.py
corbinmcneill/bonkbot
5d355d9b8d2377176fc8ec317a7cba03ff3bb37a
[ "MIT" ]
1
2021-01-06T06:36:11.000Z
2021-01-06T09:06:15.000Z
listwords.py
corbinmcneill/bonkbot
5d355d9b8d2377176fc8ec317a7cba03ff3bb37a
[ "MIT" ]
2
2021-01-06T06:34:42.000Z
2021-01-28T08:41:40.000Z
#!/usr/bin/env python3 import discord import config import util from functools import reduce from handler import Handler class ListWordsHandler(Handler): name = "listwords" async def message_handler(self, message, jail, bonkbot): print("Starting listwords handler") if self.cf.get("list_words_t...
28.666667
119
0.718992
65
516
5.6
0.661538
0
0
0
0
0
0
0
0
0
0
0.002415
0.197674
516
17
120
30.352941
0.876812
0.040698
0
0
0
0
0.121704
0.05071
0
0
0
0
0
1
0
false
0
0.384615
0
0.692308
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a6ca5dc72a2a53aa7dccb88c27d8a3fa44186150
1,175
py
Python
tests/conftest.py
dclimber/python-kzt-exchangerates
60eca52b776f889848d631be43c843bd9bd50d06
[ "MIT" ]
1
2021-05-15T15:19:00.000Z
2021-05-15T15:19:00.000Z
tests/conftest.py
dclimber/python-kzt-exchangerates
60eca52b776f889848d631be43c843bd9bd50d06
[ "MIT" ]
null
null
null
tests/conftest.py
dclimber/python-kzt-exchangerates
60eca52b776f889848d631be43c843bd9bd50d06
[ "MIT" ]
null
null
null
import pytest from pathlib import Path import xml.etree.ElementTree as ET @pytest.fixture def date_for_tests(): return '24.04.2013' @pytest.fixture def result_date(): return '2013-04-24' @pytest.fixture def latest_url(): return 'https://nationalbank.kz/rss/rates_all.xml' @pytest.fixture def dated_ur...
24.479167
79
0.577872
155
1,175
4.270968
0.490323
0.137462
0.169184
0.054381
0.148036
0.063444
0.063444
0
0
0
0
0.026549
0.230638
1,175
47
80
25
0.705752
0.060426
0
0.225806
0
0
0.233424
0
0
0
0
0
0
1
0.225806
false
0
0.096774
0.193548
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
1
0
0
0
1
0
0
0
2
a6df1b58a3503a041b065c001a210524d030e7a9
493
py
Python
src/apps/account/test_utils.py
plitzenberger/graphene-auth-examples
93694f10977feb35f73ffe1f84dea631fd6d17dc
[ "MIT" ]
71
2017-06-09T13:02:15.000Z
2021-06-15T20:00:38.000Z
src/apps/account/test_utils.py
plitzenberger/graphene-auth-examples
93694f10977feb35f73ffe1f84dea631fd6d17dc
[ "MIT" ]
13
2017-07-11T16:08:40.000Z
2019-07-01T04:33:17.000Z
src/apps/account/test_utils.py
plitzenberger/graphene-auth-examples
93694f10977feb35f73ffe1f84dea631fd6d17dc
[ "MIT" ]
14
2017-05-18T16:27:30.000Z
2019-09-20T12:57:17.000Z
import pytest from django.core import mail from test_fixtures.users import user from .utils import send_activation_email, send_password_reset_email @pytest.mark.django_db def test_send_activtion_email(user, rf): request = rf.request() send_activation_email(user, request) assert len(mail.outbox) == 1 @...
23.47619
67
0.770791
73
493
4.931507
0.356164
0.1
0.141667
0.183333
0.605556
0.533333
0.533333
0.2
0
0
0
0.004739
0.144016
493
20
68
24.65
0.848341
0
0
0.428571
0
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0.214286
0.285714
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
472afc21ea7eeaee85fc2d73a6095f40e07d89e4
22,482
py
Python
oompa/tracking/github/GitHubNeo.py
sjtsp2008/oompa
2dfdecba192c408c0463da27e0b5859ef9ce3db6
[ "Apache-2.0" ]
2
2016-02-23T00:58:11.000Z
2017-06-14T15:39:22.000Z
oompa/tracking/github/GitHubNeo.py
sjtsp2008/oompa
2dfdecba192c408c0463da27e0b5859ef9ce3db6
[ "Apache-2.0" ]
3
2015-06-21T11:13:50.000Z
2015-06-21T13:27:03.000Z
oompa/tracking/github/GitHubNeo.py
sjtsp2008/oompa
2dfdecba192c408c0463da27e0b5859ef9ce3db6
[ "Apache-2.0" ]
null
null
null
# # GitHubNeo.py # # note: i tried using bulbs, which would be easier to # migrate to other tinkerpop graph engines, but had # trouble authenticating # # """ package oompa.tracking.github experiments with working on github graphs in neo uses py2neo TODO: i think bulb seems to have better object modeling...
26.892344
96
0.526644
2,122
22,482
5.539585
0.262488
0.006891
0.004083
0.006125
0.051638
0.028839
0.026202
0.007997
0.007997
0
0
0.005689
0.38235
22,482
835
97
26.924551
0.840847
0.259541
0
0.3125
0
0
0.070037
0.004954
0
0
0
0.014371
0
1
0.05625
false
0.134375
0.0125
0.00625
0.14375
0.040625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
472bc55d336ce348951bd8eeba92c1a80bba3988
526
py
Python
webServ/app.py
harryparkdotio/dabdabrevolution
ffb8a28379edd5e44d23d39ee5e5cc38ddf5181a
[ "MIT" ]
9
2017-01-10T03:40:18.000Z
2019-03-20T11:27:22.000Z
webServ/app.py
harryparkdotio/dabdabrevolution
ffb8a28379edd5e44d23d39ee5e5cc38ddf5181a
[ "MIT" ]
null
null
null
webServ/app.py
harryparkdotio/dabdabrevolution
ffb8a28379edd5e44d23d39ee5e5cc38ddf5181a
[ "MIT" ]
3
2018-02-28T04:10:55.000Z
2018-12-21T14:19:12.000Z
from flask import Flask, Response, send_from_directory import random, time app = Flask(__name__, static_folder='www') @app.route('/') def index(): return '' @app.route('/stream') def stream(): def event(): while True: yield "data: " + random.choice(['a', 'b', 'c', 'd']) + "nn" with app.app_context(): ti...
22.869565
62
0.671103
76
526
4.394737
0.552632
0.071856
0
0
0
0
0
0
0
0
0
0.002198
0.134981
526
23
63
22.869565
0.731868
0
0
0
0
0
0.127135
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0.105263
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
472ccb20b84f3fb1960515f43b725476c316bd05
212
py
Python
SRC/Chapter_03-When-Object-Are-Alike/supplier.py
eminemence/python3_OOPs
a61f2649cf9c68a782a3e90c1f667877597dfb1d
[ "MIT" ]
null
null
null
SRC/Chapter_03-When-Object-Are-Alike/supplier.py
eminemence/python3_OOPs
a61f2649cf9c68a782a3e90c1f667877597dfb1d
[ "MIT" ]
null
null
null
SRC/Chapter_03-When-Object-Are-Alike/supplier.py
eminemence/python3_OOPs
a61f2649cf9c68a782a3e90c1f667877597dfb1d
[ "MIT" ]
1
2021-01-13T08:25:04.000Z
2021-01-13T08:25:04.000Z
import contact class Supplier(contact.Contact): def order(self, order): print( "If this were a real system we would send" "{} order to {}".format(order, self.name) )
21.2
54
0.566038
26
212
4.615385
0.769231
0.15
0
0
0
0
0
0
0
0
0
0
0.325472
212
9
55
23.555556
0.839161
0
0
0
0
0
0.254717
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5b2ea698bf453d5761c99858fd3248bda11d4d8d
160
py
Python
main.py
NChechulin/telegram-renderer-bot
3b66a550022bce1604a073a2c922d6c9597f508f
[ "MIT" ]
1
2020-09-20T04:36:11.000Z
2020-09-20T04:36:11.000Z
main.py
NChechulin/telegram-renderer-bot
3b66a550022bce1604a073a2c922d6c9597f508f
[ "MIT" ]
2
2020-04-04T21:02:49.000Z
2020-04-06T11:16:17.000Z
main.py
NChechulin/telegram-renderer-bot
3b66a550022bce1604a073a2c922d6c9597f508f
[ "MIT" ]
null
null
null
"""Main file which starts the bot and sets all of the parameters""" from bot import Bot if __name__ == '__main__': bot = Bot('token.txt') bot.start()
20
67
0.6625
25
160
3.92
0.72
0
0
0
0
0
0
0
0
0
0
0
0.2125
160
7
68
22.857143
0.777778
0.38125
0
0
0
0
0.182796
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5b3953f91cb7e3a0cd0d67201766483abefb5893
229
py
Python
Week 3/Python Track/Permituation.py
Dawit-Getachew/A2SV_Practice
2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61
[ "MIT" ]
null
null
null
Week 3/Python Track/Permituation.py
Dawit-Getachew/A2SV_Practice
2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61
[ "MIT" ]
null
null
null
Week 3/Python Track/Permituation.py
Dawit-Getachew/A2SV_Practice
2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61
[ "MIT" ]
null
null
null
# Enter your code here. Read input from STDIN. Print output to STDOUT from itertools import permutations s1 = input().split() S2 = sorted(tuple(s1[0])) out = tuple(permutations(S2,int(s1[1]))) for i in out: print("".join(i))
28.625
69
0.69869
38
229
4.210526
0.736842
0
0
0
0
0
0
0
0
0
0
0.036082
0.152838
229
7
70
32.714286
0.78866
0.292576
0
0
0
0
0
0
0
0
0
0.142857
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
1
0
0
0
0
0
0
0
0
0
0
2
5b458116a42dd7d10c7864067436041dfcef5bf1
1,226
py
Python
Software 1/Practical/Week 09/Practical 14/vector.py
KristoffLiu/YorkCSSolution
cae76529b1e5956a59ac4bd51797a30a5a23fb8d
[ "Apache-2.0" ]
3
2019-11-14T22:04:32.000Z
2019-11-17T16:07:58.000Z
Software 1/Practical/Week 09/Practical 14/vector.py
KristoffLiu/YorkCSSolution
cae76529b1e5956a59ac4bd51797a30a5a23fb8d
[ "Apache-2.0" ]
null
null
null
Software 1/Practical/Week 09/Practical 14/vector.py
KristoffLiu/YorkCSSolution
cae76529b1e5956a59ac4bd51797a30a5a23fb8d
[ "Apache-2.0" ]
1
2019-11-15T07:52:14.000Z
2019-11-15T07:52:14.000Z
class Vector: #exercise 01 def __init__(self,inputlist): self._vector = [] _vector = inputlist #exercise 02 def __str__(self): return "<" + str(self._vector).strip("[]") + ">" #exercise 03 def dim(self): return len(self._vector) #exercise 04 def get...
25.541667
81
0.551387
141
1,226
4.595745
0.312057
0.152778
0.069444
0.052469
0.131173
0.074074
0
0
0
0
0
0.014963
0.34584
1,226
47
82
26.085106
0.793017
0.053834
0
0.21875
0
0
0.003466
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
5b45b7ebc3202d65284b774cf188919577862056
370
py
Python
Stomp/Utils/util.py
phan91/STOMP_agilis
c47394e7b58809fdd3eba539b6fa610eb8b476ce
[ "MIT" ]
null
null
null
Stomp/Utils/util.py
phan91/STOMP_agilis
c47394e7b58809fdd3eba539b6fa610eb8b476ce
[ "MIT" ]
null
null
null
Stomp/Utils/util.py
phan91/STOMP_agilis
c47394e7b58809fdd3eba539b6fa610eb8b476ce
[ "MIT" ]
null
null
null
import re def replace_all(repls, str): """ Applies replacements as described in the repls dictionary on input str. :param repls: Dictionary of replacements :param str: The string to be changed :return: The changed string """ return re.sub('|'.join(re.escape(key) for key in repls.keys()), ...
30.833333
75
0.645946
53
370
4.490566
0.622642
0.12605
0
0
0
0
0
0
0
0
0
0.003584
0.245946
370
12
76
30.833333
0.849462
0.478378
0
0
0
0
0.006024
0
0
0
0
0
0
1
0.25
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
1
0
0
0
0
1
0
0
2
5b4d5fdd9c41e3cd542218051f15a30c5892c606
161
py
Python
Configs/UNet_Configs.py
zeeshanalipnhwr/Semantic-Segmentation-Keras
304af52c60a16e32da9f1e3f57c653f578cc8bf5
[ "MIT" ]
3
2020-04-13T07:56:03.000Z
2020-10-13T12:56:00.000Z
Configs/UNet_Configs.py
zeeshanalipnhwr/Semantic-Segmentation-Keras
304af52c60a16e32da9f1e3f57c653f578cc8bf5
[ "MIT" ]
null
null
null
Configs/UNet_Configs.py
zeeshanalipnhwr/Semantic-Segmentation-Keras
304af52c60a16e32da9f1e3f57c653f578cc8bf5
[ "MIT" ]
2
2020-04-06T02:09:04.000Z
2020-04-06T09:43:36.000Z
DEPTH = 16 # the number of filters of the first conv layer of the encoder of the UNet # Training hyperparameters BATCHSIZE = 16 EPOCHS = 100 OPTIMIZER = "adam"
23
85
0.751553
25
161
4.84
0.72
0.123967
0
0
0
0
0
0
0
0
0
0.054264
0.198758
161
6
86
26.833333
0.883721
0.602484
0
0
0
0
0.065574
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5b6ad3dccf84bb8ff4fe870c3a1a16f0ee7630a4
263
py
Python
Python_codes/palindrome_string/palindrome.py
latedeveloper08/hacktober2021
3b2b4781668221b32dd96e2335157572b00dcf56
[ "MIT" ]
null
null
null
Python_codes/palindrome_string/palindrome.py
latedeveloper08/hacktober2021
3b2b4781668221b32dd96e2335157572b00dcf56
[ "MIT" ]
null
null
null
Python_codes/palindrome_string/palindrome.py
latedeveloper08/hacktober2021
3b2b4781668221b32dd96e2335157572b00dcf56
[ "MIT" ]
null
null
null
string=input("Enter a string:") length=len(string) mid=length//2 rev=-1 for a in range(mid): if string[a]==string[rev]: a+=1 rev=-1 else: print(string,"is a palindrome") break else: print(string,"is not a palindrome")
17.533333
39
0.585551
41
263
3.756098
0.487805
0.090909
0.194805
0.220779
0
0
0
0
0
0
0
0.020619
0.262357
263
14
40
18.785714
0.773196
0
0
0.307692
0
0
0.187023
0
0
0
0
0
0
1
0
false
0
0
0
0
0.153846
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5b7391d6b2a463ec5ffec394ba3d99bf008d1599
1,182
py
Python
src/authentication/migrations/0003_user_additional_fiels_nullable.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
3
2021-04-01T19:42:53.000Z
2022-03-01T09:50:17.000Z
src/authentication/migrations/0003_user_additional_fiels_nullable.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
null
null
null
src/authentication/migrations/0003_user_additional_fiels_nullable.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-27 10:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("authentication", "0002_auto_20210326_1814"), ] operations = [ migrations.AlterField( model_name="user", name="avatar...
26.863636
62
0.51692
102
1,182
5.872549
0.5
0.133556
0.166945
0.193656
0.549249
0.549249
0.42571
0.295492
0.295492
0
0
0.042062
0.376481
1,182
43
63
27.488372
0.770692
0.038071
0
0.513514
1
0
0.110132
0.020264
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5b75d17a228cb623b421648bad8d7be7041786ab
841
py
Python
Chapter 3/Q19_Match_output.py
inshaal/CBSE_NCERT_SOLUTIONS
0804c2b42e80ccf42ad7dc4d91998848529e216d
[ "Unlicense" ]
null
null
null
Chapter 3/Q19_Match_output.py
inshaal/CBSE_NCERT_SOLUTIONS
0804c2b42e80ccf42ad7dc4d91998848529e216d
[ "Unlicense" ]
null
null
null
Chapter 3/Q19_Match_output.py
inshaal/CBSE_NCERT_SOLUTIONS
0804c2b42e80ccf42ad7dc4d91998848529e216d
[ "Unlicense" ]
null
null
null
''' Q19 Predict the output''' class Match: ''"Runs and Wickets"'' runs=281 wickets=5 def __init__(self,runs,wickets): self.runs=runs self.wickets=wickets print "Runs scored are : ",runs print "Wickets taken are : ",wickets print "Test.__do__ :",Match.__doc__ pr...
26.28125
149
0.653983
102
841
4.529412
0.313725
0.097403
0.090909
0
0
0
0
0
0
0
0
0.03177
0.214031
841
31
150
27.129032
0.667171
0
0
0
0
0
0.303167
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
5b858246ad28edd0c4482b11bf509db078683da1
12,676
py
Python
TAR/dataset.py
jiyanggao/CTAP
4c8ed32c72763f1b47e607b6e957695f9381930e
[ "MIT" ]
49
2018-07-11T06:33:39.000Z
2022-02-24T04:43:32.000Z
TAR/dataset.py
jiyanggao/CTAP
4c8ed32c72763f1b47e607b6e957695f9381930e
[ "MIT" ]
10
2018-07-31T07:01:53.000Z
2021-01-23T11:16:49.000Z
TAR/dataset.py
jiyanggao/CTAP
4c8ed32c72763f1b47e607b6e957695f9381930e
[ "MIT" ]
12
2018-07-21T10:30:04.000Z
2021-07-12T00:32:34.000Z
import numpy as np from math import sqrt import os import random import pickle def calculate_IoU(i0,i1): union=(min(i0[0],i1[0]) , max(i0[1],i1[1])) inter=(max(i0[0],i1[0]) , min(i0[1],i1[1])) iou=1.0*(inter[1]-inter[0])/(union[1]-union[0]) return iou ''' A class that handles the training set ''' cla...
46.602941
157
0.631982
1,820
12,676
4.058242
0.083516
0.058489
0.035743
0.049824
0.728676
0.685215
0.659491
0.646223
0.62984
0.62984
0
0.013132
0.249053
12,676
271
158
46.774908
0.76279
0.034553
0
0.652968
0
0
0.0243
0
0
0
0
0
0
0
null
null
0
0.022831
null
null
0.022831
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
5ba8bd99382a6bd8f9062e85811ea5bbc00b9220
345
py
Python
main.py
alextremblay962/Hydropinic_System
7fcc87f110425183fb8e18c7f7c6664781565f65
[ "MIT" ]
null
null
null
main.py
alextremblay962/Hydropinic_System
7fcc87f110425183fb8e18c7f7c6664781565f65
[ "MIT" ]
null
null
null
main.py
alextremblay962/Hydropinic_System
7fcc87f110425183fb8e18c7f7c6664781565f65
[ "MIT" ]
null
null
null
import serial import json import io import time ser = serial.Serial("COM24" , 9600, timeout=2) topic = "hydro/light1" payload = 1 #data = json.dumps({"topic":topic,"payload":payload}) data = "{\"topic\":\"hydro/light1\",\"payload\":1}" data = data.encode() print(data) ser.write(b'A') hello = ser.readline()#.dec...
16.428571
53
0.669565
49
345
4.714286
0.530612
0.08658
0.138528
0.199134
0.242424
0.242424
0
0
0
0
0
0.036304
0.121739
345
21
54
16.428571
0.726073
0.197101
0
0
0
0
0.097826
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.153846
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5baf938ce58015edbc41bd4ae801eee8162b79c1
2,282
py
Python
profileparser.py
JimKnowler/profile-visualiser
2398b17c68ea748fc82e7cc15e43ccbfb64f8e2c
[ "MIT" ]
3
2018-06-19T16:23:35.000Z
2021-07-15T05:35:21.000Z
profileparser.py
JimKnowler/profile-visualiser
2398b17c68ea748fc82e7cc15e43ccbfb64f8e2c
[ "MIT" ]
null
null
null
profileparser.py
JimKnowler/profile-visualiser
2398b17c68ea748fc82e7cc15e43ccbfb64f8e2c
[ "MIT" ]
null
null
null
class ProfileParser: def __init__(self, consumer): self._consumer = consumer def load_file(self, filename): with open(filename, "r") as file: for line_number, line in enumerate(file): try: line = line.rstrip() self.parse(line) except Exception as e: print "exception while parsing line ...
25.931818
69
0.667835
345
2,282
4.113043
0.17971
0.20296
0.15222
0.128259
0.546159
0.493305
0.447498
0.339676
0.291755
0.291755
0
0.017401
0.194128
2,282
87
70
26.229885
0.754214
0.008764
0
0.369231
0
0
0.026991
0
0
0
0
0
0
0
null
null
0
0
null
null
0.046154
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
1
0
0
0
0
0
0
0
0
2
5bb90766f7b85944500acf3f02a74757b861fc3d
8,492
py
Python
orquesta/tests/unit/graphing/native/test_routes_split.py
batk0/orquesta
f03f3f2f3820bf111a9277f4f6c5d6c83a89d004
[ "Apache-2.0" ]
null
null
null
orquesta/tests/unit/graphing/native/test_routes_split.py
batk0/orquesta
f03f3f2f3820bf111a9277f4f6c5d6c83a89d004
[ "Apache-2.0" ]
null
null
null
orquesta/tests/unit/graphing/native/test_routes_split.py
batk0/orquesta
f03f3f2f3820bf111a9277f4f6c5d6c83a89d004
[ "Apache-2.0" ]
null
null
null
# 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, software # distributed under th...
32.166667
74
0.321597
666
8,492
3.537538
0.148649
0.024618
0.032683
0.040747
0.566214
0.502122
0.502122
0.494058
0.485569
0.476655
0
0.125811
0.546043
8,492
263
75
32.288973
0.485344
0.061352
0
0.620253
0
0
0.223144
0
0
0
0
0
0.016878
1
0.016878
false
0
0.004219
0
0.025316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5bc0cb9ffa299ad9d23aa50d9179c1903fd178ee
811
py
Python
PSA/modules/BroEventDispatcher.py
SECURED-FP7/secured-psa-nsm
20c8f790ebc2d2aa8c33bda1e047f8f29275a0be
[ "Apache-2.0" ]
null
null
null
PSA/modules/BroEventDispatcher.py
SECURED-FP7/secured-psa-nsm
20c8f790ebc2d2aa8c33bda1e047f8f29275a0be
[ "Apache-2.0" ]
null
null
null
PSA/modules/BroEventDispatcher.py
SECURED-FP7/secured-psa-nsm
20c8f790ebc2d2aa8c33bda1e047f8f29275a0be
[ "Apache-2.0" ]
null
null
null
# -*- Mode:Python;indent-tabs-mode:nil; -*- # # BroEventDispatcher.py # # A simple event dispatcher. # # Author: jju / VTT Technical Research Centre of Finland Ltd., 2016 # import logging callbacks = { } def init(): pass def register( key, obj ): """ Register a callback for key 'key' """ global ...
19.309524
76
0.588163
95
811
5.021053
0.557895
0.050314
0.075472
0.09434
0.184486
0.134172
0
0
0
0
0
0.006944
0.289766
811
41
77
19.780488
0.821181
0.35635
0
0.166667
0
0
0.053305
0
0
0
0
0
0
1
0.222222
false
0.055556
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
5bc3b76b4051d6f7137b9c441c17bb2450602f26
50,408
py
Python
StackApp/env/lib/python2.7/site-packages/blueprint/backend/files.py
jonathanmusila/StackOverflow-Lite
a9a03f129592c6f741eb4d1e608ca2db0e40bf11
[ "MIT" ]
null
null
null
StackApp/env/lib/python2.7/site-packages/blueprint/backend/files.py
jonathanmusila/StackOverflow-Lite
a9a03f129592c6f741eb4d1e608ca2db0e40bf11
[ "MIT" ]
null
null
null
StackApp/env/lib/python2.7/site-packages/blueprint/backend/files.py
jonathanmusila/StackOverflow-Lite
a9a03f129592c6f741eb4d1e608ca2db0e40bf11
[ "MIT" ]
null
null
null
""" Search for configuration files to include in the blueprint. """ import base64 from collections import defaultdict import errno import glob import grp import hashlib import logging import os.path import pwd import re import stat import subprocess from blueprint import util # An extra list of pathnames and MD5 su...
51.860082
79
0.607047
4,253
50,408
7.151893
0.232542
0.086794
0.153861
0.193149
0.383536
0.344906
0.038926
0.026531
0.026531
0.018049
0
0.170259
0.272
50,408
971
80
51.913491
0.65861
0.070029
0
0.124851
0
0
0.556766
0.539428
0
0
0
0
0
1
0.007134
false
0.015458
0.015458
0
0.03805
0.007134
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5bc9e6c226f00a75b8cdcda4f0faf8b1dc74f397
429
py
Python
quickforex/providers/__init__.py
jean-edouard-boulanger/python-quickforex
be95a795719f8bb77eceeb543d2ab963182b3f56
[ "MIT" ]
null
null
null
quickforex/providers/__init__.py
jean-edouard-boulanger/python-quickforex
be95a795719f8bb77eceeb543d2ab963182b3f56
[ "MIT" ]
null
null
null
quickforex/providers/__init__.py
jean-edouard-boulanger/python-quickforex
be95a795719f8bb77eceeb543d2ab963182b3f56
[ "MIT" ]
null
null
null
from quickforex.providers.base import ProviderBase from quickforex.providers.provider_metadata import ( ProviderMetadata, SettingFieldDescription, ) from quickforex.providers.exchangerate_host import ExchangeRateHostProvider from quickforex.providers.dummy import DummyProvider __all__ = [ "ProviderBase", ...
26.8125
75
0.797203
33
429
10.181818
0.484848
0.166667
0.27381
0
0
0
0
0
0
0
0
0
0.132867
429
15
76
28.6
0.903226
0
0
0
0
0
0.205128
0.109557
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
1
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
2
5bd0173040b2f2d05f3a1e8d1fe723aa238abeb6
421
py
Python
Windows10_structed_data/get_report_data.py
naporium/tools_for_windows-main
4be11a033b5b5ee39c1d4af2e2013e7c5b144772
[ "MIT" ]
null
null
null
Windows10_structed_data/get_report_data.py
naporium/tools_for_windows-main
4be11a033b5b5ee39c1d4af2e2013e7c5b144772
[ "MIT" ]
null
null
null
Windows10_structed_data/get_report_data.py
naporium/tools_for_windows-main
4be11a033b5b5ee39c1d4af2e2013e7c5b144772
[ "MIT" ]
null
null
null
from json import load, dumps REPORT_FILE = "report.txt" with open(REPORT_FILE, "r") as file: data = load(file) # EXAMPLE ON ACESSING THE JSON DATA REPORT print(dumps(data["INTERFACES_INFO"]["Ethernet adapter Ethernet"], indent=4)) print(dumps(data["INTERFACES_INFO"]["Ethernet adapter Ethernet"]["IPv4 ...
38.272727
87
0.72209
56
421
5.339286
0.482143
0.100334
0.140468
0.240803
0.511706
0.511706
0.511706
0.511706
0
0
0
0.005479
0.133017
421
10
88
42.1
0.813699
0.095012
0
0
0
0
0.430894
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
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
1
0
2
5bd463296b1effec64cbf25d42163fc58e8ce63e
259
py
Python
setup.py
kevinmooreiii/moldriver
65a0a9cef8971737076f81720a61aa5b607333d2
[ "Apache-2.0" ]
null
null
null
setup.py
kevinmooreiii/moldriver
65a0a9cef8971737076f81720a61aa5b607333d2
[ "Apache-2.0" ]
null
null
null
setup.py
kevinmooreiii/moldriver
65a0a9cef8971737076f81720a61aa5b607333d2
[ "Apache-2.0" ]
null
null
null
""" Install moldriver """ from distutils.core import setup setup(name="moldr", version="0.1.1", packages=["moldr", "autofile", "autofile.info", "autofile.file", "autofile.system"])
19.923077
35
0.490347
23
259
5.521739
0.73913
0
0
0
0
0
0
0
0
0
0
0.018072
0.359073
259
12
36
21.583333
0.746988
0.065637
0
0
0
0
0.273504
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5bed867c2db74e773ad7534adb7486f3bfecb2cd
707
py
Python
calculator/calculator.py
swilltec/calculator
3c5e076a996e53117ba19ef438369cfe8753a3cc
[ "MIT" ]
null
null
null
calculator/calculator.py
swilltec/calculator
3c5e076a996e53117ba19ef438369cfe8753a3cc
[ "MIT" ]
null
null
null
calculator/calculator.py
swilltec/calculator
3c5e076a996e53117ba19ef438369cfe8753a3cc
[ "MIT" ]
null
null
null
"""Main module.""" from functools import reduce class Calc: def add(self, *args): return sum(args) def subtract(self, a, b): return a - b def multiply(self, *args): if not all(args): raise ValueError return reduce(lambda x, y: x*y, args) def divide(self...
18.128205
49
0.478076
96
707
3.4375
0.395833
0.024242
0.078788
0.054545
0.109091
0.109091
0.109091
0.109091
0
0
0
0.00241
0.413013
707
38
50
18.605263
0.792771
0.016973
0
0
0
0
0.004354
0
0
0
0
0
0
1
0.208333
false
0
0.041667
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5bf631e50626c44c993a9984bac16fda807b9125
596
py
Python
fullcontact/schema/company_schema.py
michaelcredera/fullcontact-python-client
482970b00b134409e6c9f303e7c2a7a6fc4a4685
[ "Apache-2.0" ]
8
2020-04-13T15:53:43.000Z
2022-02-04T07:37:17.000Z
fullcontact/schema/company_schema.py
michaelcredera/fullcontact-python-client
482970b00b134409e6c9f303e7c2a7a6fc4a4685
[ "Apache-2.0" ]
9
2020-06-04T15:30:50.000Z
2022-02-04T07:36:39.000Z
fullcontact/schema/company_schema.py
michaelcredera/fullcontact-python-client
482970b00b134409e6c9f303e7c2a7a6fc4a4685
[ "Apache-2.0" ]
7
2020-09-18T16:02:43.000Z
2022-02-17T09:22:54.000Z
# -*- coding: utf-8 -*- """ This module serves the class for validating FullContact Company Enrich and Search API requests. """ from .base.schema_base import BaseRequestSchema class CompanyEnrichRequestSchema(BaseRequestSchema): schema_name = "Company Enrich" domain: str webhookUrl: str required_...
18.625
52
0.706376
61
596
6.819672
0.590164
0.0625
0.129808
0.163462
0.144231
0
0
0
0
0
0
0.002119
0.208054
596
31
53
19.225806
0.879237
0.199664
0
0.125
0
0
0.095949
0
0
0
0
0
0
1
0
false
0
0.0625
0
1
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
1
0
0
2
75079e3853a4f1c859f848cdaeaff5686ff6bb5e
934
py
Python
setup.py
sfable/malias
6a5f6dc17eb42b6579e7981696427cf9deae56fb
[ "MIT" ]
null
null
null
setup.py
sfable/malias
6a5f6dc17eb42b6579e7981696427cf9deae56fb
[ "MIT" ]
null
null
null
setup.py
sfable/malias
6a5f6dc17eb42b6579e7981696427cf9deae56fb
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages from malias import __version__ setup( name = "malias", version = __version__, author = 'Stuart Fable', author_email = 'stuart.fable@gmail.com', license = 'MIT', keywords = 'malias system alias', description = '', url = 'https://github.com/sfa...
30.129032
73
0.611349
96
934
5.78125
0.583333
0.136937
0.18018
0.140541
0.201802
0.104505
0
0
0
0
0
0.01138
0.247323
934
30
74
31.133333
0.778094
0
0
0
0
0
0.464668
0.047109
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
750918e8872a1b7a4b9376e1b5490cc0edf34be0
210
py
Python
hjhj.py
jatinchaudhary/python_dump
5f7d63237fcb96a66bc3c4151599c7849f0f2735
[ "bzip2-1.0.6" ]
null
null
null
hjhj.py
jatinchaudhary/python_dump
5f7d63237fcb96a66bc3c4151599c7849f0f2735
[ "bzip2-1.0.6" ]
null
null
null
hjhj.py
jatinchaudhary/python_dump
5f7d63237fcb96a66bc3c4151599c7849f0f2735
[ "bzip2-1.0.6" ]
null
null
null
a=int(input()) b=int(input()) c=int(input()) if(a>b and a>c): print("number 1 is greatest") elif(b>a and b>c): print("number 2 is greatest") else: print("number 3 is greatest")
15
34
0.557143
37
210
3.162162
0.432432
0.205128
0.205128
0
0
0
0
0
0
0
0
0.019355
0.261905
210
13
35
16.153846
0.735484
0
0
0
0
0
0.304569
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
750a3aa09148f31ca78defa66da3c665dedc7552
695
py
Python
Python with functions/W11-12/week 12/Activities/fruit.py
marcosamos/Python-tasks-and-proyects
00426323647639016a407c40af1fd00f35ea2229
[ "MIT" ]
null
null
null
Python with functions/W11-12/week 12/Activities/fruit.py
marcosamos/Python-tasks-and-proyects
00426323647639016a407c40af1fd00f35ea2229
[ "MIT" ]
null
null
null
Python with functions/W11-12/week 12/Activities/fruit.py
marcosamos/Python-tasks-and-proyects
00426323647639016a407c40af1fd00f35ea2229
[ "MIT" ]
null
null
null
def main(): # Create and print a list named fruit. fruit_list = ["pear", "banana", "apple", "mango"] print(f"original: {fruit_list}") fruit_list.reverse() print(f"Reverse {fruit_list}") fruit_list.append("Orange") print(f"Append Orange {fruit_list}") pos = fruit_list.index("apple") ...
24.821429
53
0.635971
94
695
4.43617
0.329787
0.366906
0.167866
0.215827
0
0
0
0
0
0
0
0
0.195683
695
28
54
24.821429
0.745975
0.051799
0
0
0
0
0.361702
0
0
0
0
0
0
1
0.05
false
0
0
0
0.05
0.4
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
75226d063cbc9f7c130c7e84b92141262adc03ae
293
py
Python
prepoint/__init__.py
edose/prepoint
1239ea3962cc33c4d640bb4ba8b1b00e032b74d4
[ "MIT" ]
null
null
null
prepoint/__init__.py
edose/prepoint
1239ea3962cc33c4d640bb4ba8b1b00e032b74d4
[ "MIT" ]
null
null
null
prepoint/__init__.py
edose/prepoint
1239ea3962cc33c4d640bb4ba8b1b00e032b74d4
[ "MIT" ]
null
null
null
__author__ = "Eric Dose :: New Mexico Mira Project, Albuquerque" # PyInstaller (__init__.py file should be in place as peer to .py file to run): # in Windows Command Prompt (E. Dose dev PC): # cd c:\Dev\prepoint\prepoint # C:\Programs\Miniconda\Scripts\pyinstaller app.spec
36.625
79
0.699659
43
293
4.581395
0.790698
0.060914
0
0
0
0
0
0
0
0
0
0
0.201365
293
7
80
41.857143
0.84188
0.740614
0
0
0
0
0.7
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7523e5848177e8777c98952e7fd199b4781b9cbb
1,329
py
Python
setup.py
merwok-forks/shortuuid
4da632a986c3a43f75c7df64f27a90bbf7ff8039
[ "BSD-3-Clause" ]
null
null
null
setup.py
merwok-forks/shortuuid
4da632a986c3a43f75c7df64f27a90bbf7ff8039
[ "BSD-3-Clause" ]
null
null
null
setup.py
merwok-forks/shortuuid
4da632a986c3a43f75c7df64f27a90bbf7ff8039
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys from setuptools import setup from shortuuid import __version__ assert sys.version >= "2.5", "Requires Python v2.5 or above." classifiers = [ "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Program...
31.642857
86
0.676448
148
1,329
5.993243
0.533784
0.192785
0.253664
0.146561
0
0
0
0
0
0
0
0.018536
0.188111
1,329
41
87
32.414634
0.803522
0.015049
0
0
0
0
0.629205
0.0237
0
0
0
0
0.029412
1
0
false
0
0.088235
0
0.088235
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7537d9ff6f54603cb0471062e3b58878836382b5
4,362
py
Python
moe/optimal_learning/python/interfaces/domain_interface.py
misokg/Cornell-MOE
1547d6b168b7fc70857d522baa0d5d45c41d3cdf
[ "Apache-2.0" ]
218
2017-10-14T03:54:00.000Z
2022-03-25T14:48:38.000Z
moe/optimal_learning/python/interfaces/domain_interface.py
Tracy3370/Cornell-MOE
df299d1be882d2af9796d7a68b3f9505cac7a53e
[ "Apache-2.0" ]
45
2017-09-27T14:33:31.000Z
2020-12-16T09:32:50.000Z
moe/optimal_learning/python/interfaces/domain_interface.py
Tracy3370/Cornell-MOE
df299d1be882d2af9796d7a68b3f9505cac7a53e
[ "Apache-2.0" ]
63
2017-09-25T14:23:57.000Z
2022-03-17T01:41:42.000Z
# -*- coding: utf-8 -*- """Interface for a domain: in/out test, random point generation, and update limiting (for constrained optimization).""" from builtins import object from abc import ABCMeta, abstractmethod, abstractproperty from future.utils import with_metaclass class DomainInterface(with_metaclass(ABCMeta, ob...
40.388889
123
0.684319
559
4,362
5.214669
0.32737
0.041166
0.043225
0.03705
0.200686
0.178388
0.125557
0.091252
0.091252
0.063122
0
0.006379
0.2453
4,362
107
124
40.766355
0.879101
0.703576
0
0.464286
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.107143
0
0.392857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
7540ff40645b92068ec7fcaab55701834909aa30
672
py
Python
scripts/make_agg_intervals.py
mitchute/Open-GHX
7a88872c36200c620cfd07994119cfb243a998c9
[ "MIT" ]
4
2017-10-09T21:08:44.000Z
2020-11-18T11:09:56.000Z
scripts/make_agg_intervals.py
mitchute/Open-GHX
7a88872c36200c620cfd07994119cfb243a998c9
[ "MIT" ]
1
2017-08-18T01:44:13.000Z
2017-08-18T02:23:21.000Z
scripts/make_agg_intervals.py
mitchute/Open-GHX
7a88872c36200c620cfd07994119cfb243a998c9
[ "MIT" ]
3
2016-09-08T14:57:21.000Z
2021-06-29T08:42:08.000Z
def make_interval(depth, depth_integer_multiplier, num, step_num, start_val): all_groups_str = "[\n" for n in range(num): all_groups_str += "\t[" for d in range(depth): val = str(start_val * pow(depth_integer_multiplier, d)) if d == depth - 1: i...
26.88
78
0.486607
86
672
3.511628
0.337209
0.208609
0.278146
0.129139
0.182119
0.182119
0.182119
0.182119
0.182119
0.182119
0
0.026961
0.392857
672
24
79
28
0.713235
0
0
0.117647
0
0
0.037037
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.117647
0.058824
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
754420bf10ce818718b6b91f9f308e99e3df1a1e
423
py
Python
RecoPPS/Local/python/ctppsDiamondLocalReconstruction_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoPPS/Local/python/ctppsDiamondLocalReconstruction_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoPPS/Local/python/ctppsDiamondLocalReconstruction_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # reco hit production from RecoPPS.Local.ctppsDiamondRecHits_cfi import ctppsDiamondRecHits # local track fitting from RecoPPS.Local.ctppsDiamondLocalTracks_cfi import ctppsDiamondLocalTracks ctppsDiamondLocalReconstructionTask = cms.Task( ctppsDiamondRecHits, ctppsDi...
30.214286
83
0.865248
35
423
10.4
0.6
0.06044
0.087912
0
0
0
0
0
0
0
0
0
0.094563
423
13
84
32.538462
0.950392
0.092199
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f32c53cc845f82e4bd29dd3cc7b2266b7a8d4e51
73
py
Python
GoogleColab/InteligenciaAnalitica/Ex5/trainbase.py
AlexandroLuis/ComputerScience
273c3f6797737d98ffdf00ae870ceafa3aba59d1
[ "MIT" ]
2
2021-02-06T21:48:24.000Z
2022-03-21T00:16:17.000Z
GoogleColab/InteligenciaAnalitica/Ex5/trainbase.py
AlexandroLuis/ComputerScience
273c3f6797737d98ffdf00ae870ceafa3aba59d1
[ "MIT" ]
null
null
null
GoogleColab/InteligenciaAnalitica/Ex5/trainbase.py
AlexandroLuis/ComputerScience
273c3f6797737d98ffdf00ae870ceafa3aba59d1
[ "MIT" ]
1
2022-02-10T20:59:23.000Z
2022-02-10T20:59:23.000Z
dataset = pd.read_csv('Corona_NLP_train.csv',encoding='iso8859') dataset
24.333333
64
0.794521
11
73
5
0.818182
0
0
0
0
0
0
0
0
0
0
0.057971
0.054795
73
2
65
36.5
0.73913
0
0
0
0
0
0.369863
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f344faaed6efdb55380a728e18b9884b9e5e2388
639
py
Python
cisco_umbrella_enforcement/setup.py
xhennessy-r7/insightconnect-plugins
59268051313d67735b5dd3a30222eccb92aca8e9
[ "MIT" ]
null
null
null
cisco_umbrella_enforcement/setup.py
xhennessy-r7/insightconnect-plugins
59268051313d67735b5dd3a30222eccb92aca8e9
[ "MIT" ]
null
null
null
cisco_umbrella_enforcement/setup.py
xhennessy-r7/insightconnect-plugins
59268051313d67735b5dd3a30222eccb92aca8e9
[ "MIT" ]
null
null
null
# GENERATED BY KOMAND SDK - DO NOT EDIT from setuptools import setup, find_packages setup(name='cisco_umbrella_enforcement-rapid7-plugin', version='1.0.0', description='Cisco Umbrella Enforcement give technology partners the ability to send security events from their platform/service/appliance within a cu...
42.6
220
0.733959
79
639
5.822785
0.708861
0.084783
0.156522
0
0
0
0
0
0
0
0
0.009524
0.178404
639
14
221
45.642857
0.866667
0.1518
0
0
1
0.090909
0.543599
0.191095
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
1
0
0
0
0
0
0
2
f34959f0169dcb486cb4bef10086593c4a815fed
628
py
Python
auth0login/migrations/0001_initial.py
nkawa/vimeo-coursetool
729215fe23b1bf05918a38d21e585a7b8862e75a
[ "Apache-2.0" ]
null
null
null
auth0login/migrations/0001_initial.py
nkawa/vimeo-coursetool
729215fe23b1bf05918a38d21e585a7b8862e75a
[ "Apache-2.0" ]
null
null
null
auth0login/migrations/0001_initial.py
nkawa/vimeo-coursetool
729215fe23b1bf05918a38d21e585a7b8862e75a
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-10 14:32 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Ticket', fields=[ ('id', models.BigAutoFiel...
26.166667
117
0.58121
63
628
5.698413
0.68254
0.125348
0.150418
0.200557
0.144847
0
0
0
0
0
0
0.047297
0.292994
628
23
118
27.304348
0.761261
0.071656
0
0
1
0
0.075732
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.3125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f351c677fbd55b35040364f1c638b44dd7ef0b32
1,291
py
Python
watchmate_v2.0.1/app/models.py
rroy11705/Rest_API_With_Django
6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60
[ "CNRI-Python" ]
null
null
null
watchmate_v2.0.1/app/models.py
rroy11705/Rest_API_With_Django
6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60
[ "CNRI-Python" ]
null
null
null
watchmate_v2.0.1/app/models.py
rroy11705/Rest_API_With_Django
6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60
[ "CNRI-Python" ]
null
null
null
from django.db import models from django.core.validators import MinValueValidator, MaxValueValidator from django.contrib.auth.models import User class StreamPlatform(models.Model): name = models.CharField(max_length=64) about = models.TextField(max_length=512) website = models.URLField(max_length=128) ...
33.973684
94
0.749032
152
1,291
6.184211
0.401316
0.057447
0.057447
0.076596
0.280851
0.159574
0.159574
0.159574
0.159574
0.159574
0
0.018265
0.15182
1,291
37
95
34.891892
0.840183
0
0
0.25
0
0
0.012393
0
0
0
0
0
0
1
0.107143
false
0
0.107143
0.107143
0.964286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
f3539262cba46ff60c76205e56634f13ca25de23
190
py
Python
Python 201/enumeration.py
PacktPublishing/The-Complete-Python-Course-including-Django-Web-Framework
402b35d4739ed91e50d6c3380cab6f085a46c52b
[ "MIT" ]
3
2021-07-09T01:24:20.000Z
2022-03-24T06:30:19.000Z
Python 201/enumeration.py
PacktPublishing/The-Complete-Python-Course-including-Django-Web-Framework
402b35d4739ed91e50d6c3380cab6f085a46c52b
[ "MIT" ]
null
null
null
Python 201/enumeration.py
PacktPublishing/The-Complete-Python-Course-including-Django-Web-Framework
402b35d4739ed91e50d6c3380cab6f085a46c52b
[ "MIT" ]
3
2021-07-01T21:52:53.000Z
2021-09-02T08:54:23.000Z
animals = ["Gully", "Rhubarb", "Zephyr", "Henry"] for index, animal in enumerate(animals): # if index % 2 == 0: # continue # print(animal) print(f"{index+1}.\t{animal}")
27.142857
49
0.573684
24
190
4.541667
0.75
0
0
0
0
0
0
0
0
0
0
0.020408
0.226316
190
6
50
31.666667
0.721088
0.236842
0
0
0
0
0.304965
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f363d12a0b564c0f2c4645099bd660201af5ca16
4,428
py
Python
clac_line_index.py
shichenhui/Data-mining-techniques-on-astronomical-spectra-data.-I-Clustering-analysis
fd6a7c27cfe2110ee1a2ffc31ddca26340d2cabc
[ "Apache-2.0" ]
null
null
null
clac_line_index.py
shichenhui/Data-mining-techniques-on-astronomical-spectra-data.-I-Clustering-analysis
fd6a7c27cfe2110ee1a2ffc31ddca26340d2cabc
[ "Apache-2.0" ]
null
null
null
clac_line_index.py
shichenhui/Data-mining-techniques-on-astronomical-spectra-data.-I-Clustering-analysis
fd6a7c27cfe2110ee1a2ffc31ddca26340d2cabc
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt class LineIndex: def __init__(self): self.elements = [(4143.375, 4178.375, 4081.375, 4118.875, 4245.375, 4285.375), (4143.375, 4178.375, 4085.125, 4097.625, 4245.375, 4285.375), (4223.500, 42...
45.649485
116
0.497967
583
4,428
3.672384
0.380789
0.058851
0.016815
0.018216
0.117702
0.117702
0.084073
0.060719
0
0
0
0.332981
0.359079
4,428
97
117
45.649485
0.421424
0.059846
0
0.059701
0
0
0.018458
0.016463
0
0
0
0
0
1
0.044776
false
0
0.044776
0
0.134328
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f366bab7949be48bac13c8ce7427325ee3cbe177
896
py
Python
tests/clvm/benchmark_costs.py
Flax-Network/flax-light-wallet
1745850a28a47bbbc4b5f3d460f35b34b4ed4f25
[ "Apache-2.0" ]
1
2021-12-02T14:38:11.000Z
2021-12-02T14:38:11.000Z
tests/clvm/benchmark_costs.py
Flax-Network/flax-light-wallet
1745850a28a47bbbc4b5f3d460f35b34b4ed4f25
[ "Apache-2.0" ]
null
null
null
tests/clvm/benchmark_costs.py
Flax-Network/flax-light-wallet
1745850a28a47bbbc4b5f3d460f35b34b4ed4f25
[ "Apache-2.0" ]
6
2021-11-21T00:38:27.000Z
2021-12-03T01:25:19.000Z
from flaxlight.types.blockchain_format.program import INFINITE_COST from flaxlight.types.spend_bundle import SpendBundle from flaxlight.types.generator_types import BlockGenerator from flaxlight.consensus.cost_calculator import calculate_cost_of_program, NPCResult from flaxlight.consensus.default_constants import DEFAU...
52.705882
103
0.856027
118
896
6.118644
0.355932
0.126039
0.074792
0.060942
0.074792
0
0
0
0
0
0
0
0.094866
896
16
104
56
0.890259
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.5
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f3884809bd62f0f776b8c21dd23802afacf22c1c
349
py
Python
EASTAR/main/templatetags/extra.py
DightMerc/EASTAR
04a3578932f8b4b842e0898513ef279c2f750f48
[ "Apache-2.0" ]
1
2020-09-21T16:46:19.000Z
2020-09-21T16:46:19.000Z
EASTAR/main/templatetags/extra.py
DightMerc/EASTAR
04a3578932f8b4b842e0898513ef279c2f750f48
[ "Apache-2.0" ]
null
null
null
EASTAR/main/templatetags/extra.py
DightMerc/EASTAR
04a3578932f8b4b842e0898513ef279c2f750f48
[ "Apache-2.0" ]
null
null
null
from django import template from django.template.defaultfilters import stringfilter register = template.Library() @register.filter @stringfilter def FindPhoto(value): if "%photo%" in str(value): return True else: return False @register.filter @stringfilter def ReplacePhoto(value): return...
18.368421
55
0.719198
39
349
6.435897
0.564103
0.079681
0.207171
0.231076
0
0
0
0
0
0
0
0
0.17765
349
18
56
19.388889
0.874564
0
0
0.285714
0
0
0.040115
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.071429
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f3896211c27faf122c9bf819667c176a83dab4ba
1,058
py
Python
influxable/db/function/transformations.py
AndyBryson/influxable
8a2f798cc5ae12b04f803afc84d7e064a3afd250
[ "MIT" ]
30
2019-07-28T12:57:21.000Z
2022-03-30T05:02:57.000Z
influxable/db/function/transformations.py
AndyBryson/influxable
8a2f798cc5ae12b04f803afc84d7e064a3afd250
[ "MIT" ]
9
2020-04-23T11:29:29.000Z
2022-02-04T09:15:16.000Z
influxable/db/function/transformations.py
AndyBryson/influxable
8a2f798cc5ae12b04f803afc84d7e064a3afd250
[ "MIT" ]
5
2021-03-23T04:05:42.000Z
2022-01-28T12:04:37.000Z
from . import _generate_function Abs = _generate_function('ABS') ACos = _generate_function('ACOS') ASin = _generate_function('ASIN') ATan = _generate_function('ATAN') ATan2 = _generate_function('ATAN2') Ceil = _generate_function('CEIL') Cos = _generate_function('COS') CumulativeSum = _generate_function('CUMULATIVE_SUM...
36.482759
69
0.797732
114
1,058
6.877193
0.315789
0.55102
0.048469
0.068878
0
0
0
0
0
0
0
0.008205
0.07845
1,058
28
70
37.785714
0.795897
0
0
0
1
0
0.167297
0.043478
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f396ce948df906683a7c38c39ca570318694f325
120
py
Python
config_web/uberon.py
NikkiBytes/pending.api
3c83bb8e413c3032a3a4539d19a779b5f0b67650
[ "Apache-2.0" ]
3
2019-02-17T23:36:35.000Z
2022-03-01T16:43:06.000Z
config_web/uberon.py
NikkiBytes/pending.api
3c83bb8e413c3032a3a4539d19a779b5f0b67650
[ "Apache-2.0" ]
56
2019-01-26T16:34:12.000Z
2022-03-23T06:57:03.000Z
config_web/uberon.py
NikkiBytes/pending.api
3c83bb8e413c3032a3a4539d19a779b5f0b67650
[ "Apache-2.0" ]
6
2020-10-22T17:37:54.000Z
2022-03-01T16:56:55.000Z
ES_HOST = 'localhost:9200' ES_INDEX = 'pending-uberon' ES_DOC_TYPE = 'anatomy' API_PREFIX = 'uberon' API_VERSION = ''
15
27
0.716667
17
120
4.705882
0.764706
0
0
0
0
0
0
0
0
0
0
0.038835
0.141667
120
7
28
17.142857
0.737864
0
0
0
0
0
0.344538
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f3a26881a4ca1cefb8ab84deb4c848ac0e3245ce
285
py
Python
zip_submission.py
RapidsAtHKUST/TriangleCounting
b63541f8f9f32d3cb2f52b9b8f07e5974238b6e1
[ "MIT" ]
null
null
null
zip_submission.py
RapidsAtHKUST/TriangleCounting
b63541f8f9f32d3cb2f52b9b8f07e5974238b6e1
[ "MIT" ]
null
null
null
zip_submission.py
RapidsAtHKUST/TriangleCounting
b63541f8f9f32d3cb2f52b9b8f07e5974238b6e1
[ "MIT" ]
null
null
null
import datetime import os if __name__ == '__main__': date_str = datetime.datetime.now().strftime("%Y-%m-%d-%H-%M") print(date_str) os.system('zip -r tc-rapids-{}.zip triangle-counting technical_report.pdf -x *cmake-build-debug/* -x */CMake* -x *.idea/*'.format(date_str))
35.625
144
0.673684
44
285
4.090909
0.704545
0.116667
0
0
0
0
0
0
0
0
0
0
0.126316
285
7
145
40.714286
0.722892
0
0
0
0
0.166667
0.463158
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f3a2c44f9a438f736d2343eb401aac7338e90dca
382
py
Python
binarysearch/loneInteger.py
Ry4nW/python-wars
76e3fb24b7ae2abf35db592f1ad59cf8d5f9e508
[ "MIT" ]
1
2021-06-06T19:55:22.000Z
2021-06-06T19:55:22.000Z
binarysearch/loneInteger.py
Ry4nW/python-wars
76e3fb24b7ae2abf35db592f1ad59cf8d5f9e508
[ "MIT" ]
1
2022-01-20T19:20:33.000Z
2022-01-20T23:51:46.000Z
binarysearch/loneInteger.py
Ry4nW/python-wars
76e3fb24b7ae2abf35db592f1ad59cf8d5f9e508
[ "MIT" ]
null
null
null
class Solution: def solve(self, nums): integersDict = {} for i in range(len(nums)): try: integersDict[nums[i]] += 1 except: integersDict[nums[i]] = 1 for integer in integersDict: if integersDict[integer] != 3: ...
19.1
42
0.455497
36
382
4.833333
0.555556
0.183908
0.195402
0.206897
0
0
0
0
0
0
0
0.019231
0.455497
382
20
43
19.1
0.817308
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f3a82067b35984c55df054378d7da2b20c33f677
524
py
Python
projects/admin.py
BridgesLab/Lab-Website
d6f6c9c068bbf668c253e5943d9514947023e66d
[ "CC0-1.0", "MIT" ]
6
2015-08-31T16:55:16.000Z
2022-02-10T08:23:07.000Z
projects/admin.py
BridgesLab/Lab-Website
d6f6c9c068bbf668c253e5943d9514947023e66d
[ "CC0-1.0", "MIT" ]
30
2015-03-22T15:49:31.000Z
2020-05-25T23:59:37.000Z
projects/admin.py
BridgesLab/Lab-Website
d6f6c9c068bbf668c253e5943d9514947023e66d
[ "CC0-1.0", "MIT" ]
6
2016-09-07T08:25:21.000Z
2020-03-27T10:24:57.000Z
'''This package sets up the admin interface for the :mod:`papers` app.''' from django.contrib import admin from projects.models import Funding, FundingAgency class FundingAdmin(admin.ModelAdmin): '''The :class:`~projects.models.Funding` model admin is the default.''' pass admin.site.register(Funding, Fundi...
37.428571
81
0.751908
63
524
6.253968
0.460317
0.106599
0.091371
0.116751
0.406091
0.406091
0.218274
0.218274
0.218274
0
0
0
0.133588
524
13
82
40.307692
0.867841
0.391221
0
0.25
0
0
0
0
0
0
0
0
0
1
0
true
0.25
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
0
1
1
0
0
0
0
0
2
f3aa39200a91e8ee89c1f49153a1bf66342a6c27
1,666
py
Python
tests/functional/parser/schemas.py
n2N8Z/aws-lambda-powertools-python
0cb5d506f534ac76b42f2d5959d93c7b2bb4d8e9
[ "MIT-0" ]
null
null
null
tests/functional/parser/schemas.py
n2N8Z/aws-lambda-powertools-python
0cb5d506f534ac76b42f2d5959d93c7b2bb4d8e9
[ "MIT-0" ]
null
null
null
tests/functional/parser/schemas.py
n2N8Z/aws-lambda-powertools-python
0cb5d506f534ac76b42f2d5959d93c7b2bb4d8e9
[ "MIT-0" ]
null
null
null
from typing import Dict, List, Optional from pydantic import BaseModel from typing_extensions import Literal from aws_lambda_powertools.utilities.parser.models import ( DynamoDBStreamChangedRecordModel, DynamoDBStreamModel, DynamoDBStreamRecordModel, EventBridgeModel, SnsModel, SnsNotification...
19.833333
61
0.779712
134
1,666
9.656716
0.440299
0.037094
0.044049
0.062597
0.081144
0.081144
0
0
0
0
0
0
0.156062
1,666
83
62
20.072289
0.920341
0
0
0.117647
0
0
0.0012
0
0
0
0
0
0
1
0
true
0
0.078431
0
0.803922
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
f3aec13ab37c42864f83f8353ef76bbf6e8e00c7
420
py
Python
pokemon_combat/body_part.py
ryndovaira/telebot_fight_game
660473fea0de9635935495b0b2fd827bb51c47c9
[ "MIT" ]
null
null
null
pokemon_combat/body_part.py
ryndovaira/telebot_fight_game
660473fea0de9635935495b0b2fd827bb51c47c9
[ "MIT" ]
null
null
null
pokemon_combat/body_part.py
ryndovaira/telebot_fight_game
660473fea0de9635935495b0b2fd827bb51c47c9
[ "MIT" ]
null
null
null
from enum import Enum, auto class BodyPart(Enum): NOTHING = auto() # ничего (начальное состояние) HEAD = auto() # голова BELLY = auto() # живот LEGS = auto() # ноги @classmethod def min_index(cls): return cls.HEAD.value @classmethod def max_index(cls): return cls....
20
52
0.619048
52
420
4.884615
0.576923
0.165354
0.110236
0.133858
0
0
0
0
0
0
0
0
0.285714
420
20
53
21
0.846667
0.109524
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.066667
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
f3b81f0da5b4d78d7f7a29ad65dbfe51dd9c3d39
2,411
py
Python
modules/dialogue_importer.py
KAIST-AILab/PyOpenDial
c9bca653c18ccc082dc8b86b4a8feee9ed00a75b
[ "MIT" ]
9
2019-09-23T01:56:43.000Z
2022-03-13T17:58:40.000Z
modules/dialogue_importer.py
KAIST-AILab/PyOpenDial
c9bca653c18ccc082dc8b86b4a8feee9ed00a75b
[ "MIT" ]
2
2019-11-18T17:02:30.000Z
2021-07-14T15:47:08.000Z
modules/dialogue_importer.py
KAIST-AILab/PyOpenDial
c9bca653c18ccc082dc8b86b4a8feee9ed00a75b
[ "MIT" ]
1
2022-02-08T06:41:19.000Z
2022-02-08T06:41:19.000Z
import logging from threading import Thread from time import sleep from multipledispatch import dispatch from dialogue_state import DialogueState from modules.dialogue_recorder import DialogueRecorder from modules.forward_planner import ForwardPlanner class DialogueImporter(Thread): """ Functionality to im...
33.486111
103
0.635421
286
2,411
5.188811
0.388112
0.080863
0.040431
0.048518
0.11186
0.11186
0.11186
0.11186
0.11186
0.067385
0
0.001753
0.290336
2,411
71
104
33.957746
0.865576
0.29158
0
0.105263
0
0
0.022082
0
0
0
0
0.014085
0
1
0.105263
false
0.052632
0.210526
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
f3c435d0d39f9e66d72d19cb75fb37c344115fe5
364
py
Python
Q6.2_brain_teaser.py
latika18/learning
a57c9aacc0157bf7c318f46c1e7c4971d1d55aea
[ "Unlicense" ]
null
null
null
Q6.2_brain_teaser.py
latika18/learning
a57c9aacc0157bf7c318f46c1e7c4971d1d55aea
[ "Unlicense" ]
null
null
null
Q6.2_brain_teaser.py
latika18/learning
a57c9aacc0157bf7c318f46c1e7c4971d1d55aea
[ "Unlicense" ]
null
null
null
There is an 8x8 chess board in which two diagonally opposite corners have been cut off. You are given 31 dominos, and a single domino can cover exactly two squares. Can you use the 31 dominos to cover the entire board? Prove your answer (by providing an example, or showing why it’s impossible). _ _____________________...
60.666667
130
0.821429
54
364
4.333333
0.833333
0.076923
0
0
0
0
0
0
0
0
0
0.019481
0.153846
364
5
131
72.8
0.74026
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
f3c7491e9e71d4e9502531e23a18eb825a935574
1,906
py
Python
online.py
abraker95/auto-loved-bot
07e050a8804cea7614af917476c193797a453cb1
[ "MIT" ]
null
null
null
online.py
abraker95/auto-loved-bot
07e050a8804cea7614af917476c193797a453cb1
[ "MIT" ]
null
null
null
online.py
abraker95/auto-loved-bot
07e050a8804cea7614af917476c193797a453cb1
[ "MIT" ]
null
null
null
import time import requests import json class Online(): session = requests.session() REQUEST_OK = 0 # Data can be handled REQUEST_RETRY = 1 # Try getting data again REQUEST_BAD = 2 # No point in trying, skip and go to next one @staticmethod def fetch_web_data(url): response...
39.708333
100
0.681532
248
1,906
5.100806
0.379032
0.132806
0.210277
0.205534
0
0
0
0
0
0
0
0.031425
0.248688
1,906
47
101
40.553191
0.851955
0.198321
0
0.0625
0
0
0.007963
0
0
0
0
0
0
1
0.0625
false
0
0.09375
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
45ee805f01f9aaeb166bd38905c0d475f3c26174
538
py
Python
ibsng/handler/invoice/get_invoice_by_i_d.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
6
2018-03-06T10:16:36.000Z
2021-12-05T12:43:10.000Z
ibsng/handler/invoice/get_invoice_by_i_d.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
3
2018-03-06T10:27:08.000Z
2022-01-02T15:21:27.000Z
ibsng/handler/invoice/get_invoice_by_i_d.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
3
2018-01-06T16:28:31.000Z
2018-09-17T19:47:19.000Z
"""Get invoice by id API method.""" from ibsng.handler.handler import Handler class getInvoiceByID(Handler): """Get invoice by id method class.""" def control(self): """Validate inputs after setup method. :return: None :rtype: None """ self.is_valid(self.invoice_id, i...
21.52
47
0.598513
64
538
4.9375
0.4375
0.170886
0.123418
0.088608
0.14557
0
0
0
0
0
0
0
0.295539
538
24
48
22.416667
0.833773
0.410781
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3403f5c550e586734e611cd55d8e1765defe86ed
297
py
Python
aiida/cmdline/groups/__init__.py
aiidateam/aiida_core
46d244e32ac5eca2e22a3d088314591ce064be57
[ "PSF-2.0", "MIT" ]
153
2016-12-23T20:59:03.000Z
2019-07-02T06:47:52.000Z
aiida/cmdline/groups/__init__.py
aiidateam/aiida_core
46d244e32ac5eca2e22a3d088314591ce064be57
[ "PSF-2.0", "MIT" ]
2,466
2016-12-24T01:03:52.000Z
2019-07-04T13:41:08.000Z
aiida/cmdline/groups/__init__.py
aiidateam/aiida_core
46d244e32ac5eca2e22a3d088314591ce064be57
[ "PSF-2.0", "MIT" ]
88
2016-12-23T16:28:00.000Z
2019-07-01T15:55:20.000Z
# -*- coding: utf-8 -*- """Module with custom implementations of :class:`click.Group`.""" # AUTO-GENERATED # yapf: disable # pylint: disable=wildcard-import from .dynamic import * from .verdi import * __all__ = ( 'DynamicEntryPointCommandGroup', 'VerdiCommandGroup', ) # yapf: enable
16.5
65
0.686869
30
297
6.666667
0.833333
0.1
0
0
0
0
0
0
0
0
0
0.004032
0.164983
297
17
66
17.470588
0.802419
0.525253
0
0
1
0
0.351145
0.221374
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
340b8f990c1b32dcdd389654c6b09c11a8ed3506
2,418
py
Python
incubator/kafka-connect/kafka-connect.py
CiscoM31/functions
96e34dfc815d92563ce2421b41c9c18906c8278b
[ "Apache-2.0" ]
74
2017-07-26T17:02:39.000Z
2021-07-27T22:27:57.000Z
incubator/kafka-connect/kafka-connect.py
CiscoM31/functions
96e34dfc815d92563ce2421b41c9c18906c8278b
[ "Apache-2.0" ]
15
2017-06-23T23:48:39.000Z
2019-10-01T09:49:32.000Z
incubator/kafka-connect/kafka-connect.py
CiscoM31/functions
96e34dfc815d92563ce2421b41c9c18906c8278b
[ "Apache-2.0" ]
35
2017-06-20T14:44:21.000Z
2021-11-04T12:28:31.000Z
import json import base64 from kubernetes import client, config config.load_incluster_config() v1=client.CoreV1Api() #Get slack secret for secrets in v1.list_secret_for_all_namespaces().items: if secrets.metadata.name == 'slack': token = base64.b64decode(secrets.data['token']) print "==> Function ready t...
42.421053
244
0.58354
292
2,418
4.667808
0.263699
0.112252
0.19956
0.112986
0.482025
0.432869
0.311079
0.180484
0.067498
0.067498
0
0.004921
0.24359
2,418
56
245
43.178571
0.740295
0.027709
0
0.177778
0
0.022222
0.298679
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.133333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
3414b567571ba9fec00a916eb601f4d6648a9a43
483
py
Python
src/Models/loss.py
HomerW/CSGNet
4ecc7f3e836867118dba3d5f220ed5e74a536b93
[ "MIT" ]
null
null
null
src/Models/loss.py
HomerW/CSGNet
4ecc7f3e836867118dba3d5f220ed5e74a536b93
[ "MIT" ]
null
null
null
src/Models/loss.py
HomerW/CSGNet
4ecc7f3e836867118dba3d5f220ed5e74a536b93
[ "MIT" ]
null
null
null
import torch import torch.nn as nn from torch.autograd import Variable nllloss = nn.NLLLoss() def losses_joint(out, labels, time_steps: int): """ Defines loss :param out: output from the network :param labels: Ground truth labels :param time_steps: Length of the program :return loss: Sum of ca...
24.15
47
0.670807
69
483
4.637681
0.536232
0.084375
0
0
0
0
0
0
0
0
0
0.002681
0.227743
483
19
48
25.421053
0.855228
0.339545
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3430dc2aab0b9a66724eea76329a3c8960caccb6
1,640
py
Python
day06/ftp_server.py
zhangyage/Python-oldboy
a95c1b465929e2be641e425fcb5e15b366800831
[ "Apache-2.0" ]
1
2020-06-04T08:44:09.000Z
2020-06-04T08:44:09.000Z
day06/ftp_server.py
zhangyage/Python-oldboy
a95c1b465929e2be641e425fcb5e15b366800831
[ "Apache-2.0" ]
null
null
null
day06/ftp_server.py
zhangyage/Python-oldboy
a95c1b465929e2be641e425fcb5e15b366800831
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- ''' G:/temp 目录要提前创建一下,做为ftp的根目录 ''' import SocketServer import os class MyServer(SocketServer.BaseRequestHandler): def handle(self): base_path = 'G:/temp' conn = self.request print 'connected...' while True: pre_data = co...
22.777778
71
0.35122
117
1,640
4.794872
0.589744
0.057041
0.042781
0.057041
0
0
0
0
0
0
0
0.041667
0.57561
1,640
72
72
22.777778
0.764368
0.065244
0
0.074074
0
0
0.032236
0
0
0
0
0
0
0
null
null
0
0.074074
null
null
0.074074
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
1
0
0
0
0
0
0
0
0
2
3442e1c11024fc9efc57990cff859cf751f64fe7
396
py
Python
rest_framework_push_notifications/serializers.py
incuna/rest-framework-push-notifications
e57f06db45754af9e0b50159b8f12104222b2f68
[ "BSD-2-Clause" ]
1
2021-09-18T08:13:11.000Z
2021-09-18T08:13:11.000Z
rest_framework_push_notifications/serializers.py
incuna/rest-framework-push-notifications
e57f06db45754af9e0b50159b8f12104222b2f68
[ "BSD-2-Clause" ]
7
2015-06-22T11:39:45.000Z
2021-06-10T17:46:53.000Z
rest_framework_push_notifications/serializers.py
incuna/rest-framework-push-notifications
e57f06db45754af9e0b50159b8f12104222b2f68
[ "BSD-2-Clause" ]
null
null
null
from push_notifications import models from rest_framework.serializers import HyperlinkedModelSerializer class APNSDevice(HyperlinkedModelSerializer): class Meta: fields = ('url', 'registration_id', 'name', 'device_id', 'active') model = models.APNSDevice class APNSDeviceUpdate(APNSDevice): c...
28.285714
74
0.742424
39
396
7.358974
0.589744
0.216028
0
0
0
0
0
0
0
0
0
0
0.164141
396
13
75
30.461538
0.867069
0
0
0
0
0
0.131313
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.666667
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
1
0
0
2
34495a06737335e1258b7f38ad90e67ba9e2259e
2,532
py
Python
enaml/mpl_canvas.py
viz4biz/PyDataNYC2015
066154ea9f1837c355e6108a28b85889f3020da3
[ "Apache-2.0" ]
11
2015-11-11T13:57:21.000Z
2019-08-14T15:53:43.000Z
enaml/mpl_canvas.py
viz4biz/PyDataNYC2015
066154ea9f1837c355e6108a28b85889f3020da3
[ "Apache-2.0" ]
null
null
null
enaml/mpl_canvas.py
viz4biz/PyDataNYC2015
066154ea9f1837c355e6108a28b85889f3020da3
[ "Apache-2.0" ]
6
2015-11-11T13:57:25.000Z
2018-09-12T07:53:03.000Z
#------------------------------------------------------------------------------ # Copyright (c) 2013, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-------------------------------------------------...
31.65
87
0.612164
271
2,532
5.612546
0.424354
0.078895
0.071006
0.059172
0.048652
0
0
0
0
0
0
0.001961
0.194313
2,532
79
88
32.050633
0.743627
0.453791
0
0.21875
0
0
0.052985
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.71875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2