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
d5b52472e7e5df33cf0c5865ffdc86c08a3ea627
1,881
py
Python
dhf_wrapper/base_client.py
Enflow-io/dhf-pay-python
7c32461d3b2a5018151b2a16a0cc0ad6850b88b1
[ "Apache-2.0" ]
null
null
null
dhf_wrapper/base_client.py
Enflow-io/dhf-pay-python
7c32461d3b2a5018151b2a16a0cc0ad6850b88b1
[ "Apache-2.0" ]
null
null
null
dhf_wrapper/base_client.py
Enflow-io/dhf-pay-python
7c32461d3b2a5018151b2a16a0cc0ad6850b88b1
[ "Apache-2.0" ]
null
null
null
from typing import Optional, Callable import requests from requests.auth import AuthBase from requests.exceptions import RequestException class BearerAuth(AuthBase): def __init__(self, token): self.token = token def __call__(self, r): r.headers['Authorization'] = f'Bearer {self.token}' ...
25.767123
94
0.576289
208
1,881
5.014423
0.322115
0.051774
0.06232
0.048897
0
0
0
0
0
0
0
0.004762
0.330144
1,881
72
95
26.125
0.823016
0.129718
0
0.04878
0
0
0.036266
0.014103
0
0
0
0
0
1
0.195122
false
0
0.097561
0
0.512195
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d5b58f8a34e9535374ceecc69e4b47358c97ddb9
1,395
py
Python
flametree/utils.py
Edinburgh-Genome-Foundry/Flametree
a189de5d83ca1eb3526a439320e41df9e2a1162e
[ "MIT" ]
165
2017-02-04T00:40:01.000Z
2021-06-08T03:51:58.000Z
flametree/utils.py
Edinburgh-Genome-Foundry/Flametree
a189de5d83ca1eb3526a439320e41df9e2a1162e
[ "MIT" ]
8
2017-02-10T00:47:09.000Z
2021-05-30T04:38:41.000Z
flametree/utils.py
Edinburgh-Genome-Foundry/Flametree
a189de5d83ca1eb3526a439320e41df9e2a1162e
[ "MIT" ]
19
2017-02-09T17:38:31.000Z
2021-03-23T16:04:32.000Z
import os import shutil from .ZipFileManager import ZipFileManager from .DiskFileManager import DiskFileManager from .Directory import Directory import string printable = set(string.printable) - set("\x0b\x0c") def is_hex(s): return any(c not in printable for c in s) def file_tree(target, replace=False): ...
32.44186
86
0.703226
195
1,395
4.994872
0.384615
0.061602
0.077002
0.051335
0.065708
0
0
0
0
0
0
0.001818
0.21147
1,395
42
87
33.214286
0.883636
0.373477
0
0
0
0
0.040097
0
0
0
0
0
0
1
0.1
false
0
0.3
0.05
0.7
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d5b74bc11e212074f29e2869fb5c41c2c3cd585b
628
py
Python
audio/audio_client.py
artigianitecnologici/marrtino_apps
b58bf4daa1d06db2f1c8a47be02b29948d41f48d
[ "BSD-4-Clause" ]
null
null
null
audio/audio_client.py
artigianitecnologici/marrtino_apps
b58bf4daa1d06db2f1c8a47be02b29948d41f48d
[ "BSD-4-Clause" ]
null
null
null
audio/audio_client.py
artigianitecnologici/marrtino_apps
b58bf4daa1d06db2f1c8a47be02b29948d41f48d
[ "BSD-4-Clause" ]
null
null
null
import sys import socket import time ip = '127.0.0.1' port = 9001 if (len(sys.argv)>1): ip = sys.argv[1] if (len(sys.argv)>2): port = int(sys.argv[2]) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((ip,port)) sock.send('bip\n\r') data = sock.recv(80) print data sock.send('TTS[it-IT...
14.604651
56
0.66879
120
628
3.483333
0.383333
0.172249
0.07177
0.119617
0.397129
0.397129
0.397129
0.397129
0.337321
0.337321
0
0.046642
0.146497
628
42
57
14.952381
0.733209
0
0
0.357143
0
0
0.200957
0
0
0
0
0
0
0
null
null
0
0.107143
null
null
0.178571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d5b8242c634dcf60f9e745fdadd1c86fe716bf6e
3,461
py
Python
qmotor/message/matcher.py
yulinfeng000/qmotor
ad3e9eea291f5b87e09fcdd5e42f1eb13d752565
[ "MIT" ]
null
null
null
qmotor/message/matcher.py
yulinfeng000/qmotor
ad3e9eea291f5b87e09fcdd5e42f1eb13d752565
[ "MIT" ]
null
null
null
qmotor/message/matcher.py
yulinfeng000/qmotor
ad3e9eea291f5b87e09fcdd5e42f1eb13d752565
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import List from .common import ( AtCell, BasicMessage, GroupMessage, FriendMessage, MsgCellType, MessageType, PlainCell, ) from ..utils import is_str_blank, str_contains class MsgMatcher(ABC): def msg_chain_from_ctx(self, ctx): r...
25.637037
74
0.612251
422
3,461
4.760664
0.182464
0.047785
0.059731
0.074664
0.374813
0.339472
0.339472
0.31558
0.31558
0.31558
0
0.010125
0.258018
3,461
134
75
25.828358
0.772196
0
0
0.27551
0
0
0.033805
0
0
0
0
0
0
1
0.183673
false
0.010204
0.040816
0.05102
0.55102
0.010204
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d5b8367e1c83c38e170646eb1abb34d55d607542
240
py
Python
invert-binary-tree/invert-binary-tree.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
1
2021-10-10T20:21:18.000Z
2021-10-10T20:21:18.000Z
invert-binary-tree/invert-binary-tree.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
null
null
null
invert-binary-tree/invert-binary-tree.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
null
null
null
class Solution: def invertTree(self, root: Optional[TreeNode]) -> Optional[TreeNode]: if root: root.left,root.right = self.invertTree(root.right),self.invertTree(root.left) return root return None
40
89
0.641667
28
240
5.5
0.464286
0.207792
0.168831
0.298701
0.324675
0
0
0
0
0
0
0
0.25
240
6
90
40
0.855556
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
1
0
0
null
1
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
1
0
0
5
d5b96915a161658ab58f977d3518461eda8624b2
1,407
py
Python
main/admin.py
sinahmr/childf
4e01f46867425b36b6431713b79debf585d69d37
[ "MIT" ]
null
null
null
main/admin.py
sinahmr/childf
4e01f46867425b36b6431713b79debf585d69d37
[ "MIT" ]
null
null
null
main/admin.py
sinahmr/childf
4e01f46867425b36b6431713b79debf585d69d37
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as DjangoUserAdmin from django.contrib.auth.models import Group from django.utils.translation import ugettext_lazy as _ from main.models import UserInfo, User, Child, Volunteer, Donor, Letter, Need, PurchaseForInstitute, PurchaseForNeed, ...
31.977273
119
0.687278
149
1,407
6.355705
0.442953
0.095037
0.161563
0.044351
0
0
0
0
0
0
0
0.003428
0.170576
1,407
43
120
32.72093
0.808055
0
0
0
0
0
0.154229
0
0
0
0
0
0
1
0
false
0.054054
0.162162
0
0.378378
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d5b9d02c239d39cdf1dcff5670b5cc5e359e73a5
2,515
py
Python
hunting/display/render.py
MoyTW/RL_Arena_Experiment
fb79c67576cd4de3e4a58278b4515098f38fb584
[ "MIT" ]
null
null
null
hunting/display/render.py
MoyTW/RL_Arena_Experiment
fb79c67576cd4de3e4a58278b4515098f38fb584
[ "MIT" ]
null
null
null
hunting/display/render.py
MoyTW/RL_Arena_Experiment
fb79c67576cd4de3e4a58278b4515098f38fb584
[ "MIT" ]
null
null
null
import tdl import time import hunting.constants as c class Renderer: def __init__(self, main_console=None, level_display_width=c.SCREEN_WIDTH, level_display_height=c.SCREEN_HEIGHT): if main_console is None: self.main_console = tdl.init(level_display_width, level_display_height, 'From Renderer ...
36.985294
120
0.603579
350
2,515
4.08
0.234286
0.094538
0.112045
0.098039
0.392157
0.340336
0.261905
0.240896
0.240896
0.218487
0
0.02784
0.285885
2,515
68
121
36.985294
0.767261
0.063221
0
0.28
0
0
0.01617
0
0
0
0
0.014706
0
1
0.12
false
0
0.06
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d5ba579f0453b95d1e8c11d5b88d94830943af72
1,732
py
Python
ideas/models.py
neosergio/hackatrix-api
27f0180415efa97bd7345d100b314d8807486b67
[ "Apache-2.0" ]
1
2021-02-12T10:25:28.000Z
2021-02-12T10:25:28.000Z
ideas/models.py
neosergio/hackatrix-api
27f0180415efa97bd7345d100b314d8807486b67
[ "Apache-2.0" ]
7
2020-02-21T00:53:38.000Z
2022-02-10T12:22:53.000Z
ideas/models.py
neosergio/hackatrix-api
27f0180415efa97bd7345d100b314d8807486b67
[ "Apache-2.0" ]
null
null
null
from django.db import models class Idea(models.Model): title = models.CharField(max_length=255, unique=True) description = models.TextField() author = models.OneToOneField('events.Registrant', related_name='author_idea', on_delete=models....
39.363636
108
0.560624
165
1,732
5.660606
0.4
0.058887
0.074946
0.11242
0.320128
0.233405
0.134904
0.134904
0.134904
0
0
0.003527
0.345266
1,732
43
109
40.27907
0.820106
0
0
0.305556
0
0
0.092956
0
0
0
0
0
0
1
0.027778
false
0
0.027778
0.027778
0.527778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d5ba81a91490ddb0a286042ea3d0c0e723e0af52
2,348
py
Python
section2/out/src/data_prep/SlicesDataset.py
ssheikh85/AIHCND_c3_3d_imaging
6502985d4199244328a683459b4d819090d58f3c
[ "MIT" ]
null
null
null
section2/out/src/data_prep/SlicesDataset.py
ssheikh85/AIHCND_c3_3d_imaging
6502985d4199244328a683459b4d819090d58f3c
[ "MIT" ]
null
null
null
section2/out/src/data_prep/SlicesDataset.py
ssheikh85/AIHCND_c3_3d_imaging
6502985d4199244328a683459b4d819090d58f3c
[ "MIT" ]
null
null
null
""" Module for Pytorch dataset representations """ import torch from torch.utils.data import Dataset class SlicesDataset(Dataset): """ This class represents an indexable Torch dataset which could be consumed by the PyTorch DataLoader class """ def __init__(self, data): self.data = data ...
35.044776
103
0.609881
329
2,348
4.303951
0.419453
0.028249
0.04661
0.025424
0.070621
0.070621
0.070621
0.070621
0.070621
0.070621
0
0.010481
0.309199
2,348
66
104
35.575758
0.862515
0.572828
0
0
0
0
0.026467
0
0
0
0
0
0
1
0.15
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5bb9bbb0fed4afc892e132a8963124e532f19f2
845
py
Python
zenslackchat/zendesk_webhooks.py
uktrade/zenslackchat
8071757e1ea20a433783c6a7c47f25b046692682
[ "MIT" ]
2
2020-12-30T07:46:12.000Z
2022-02-01T16:37:34.000Z
zenslackchat/zendesk_webhooks.py
uktrade/zenslackchat
8071757e1ea20a433783c6a7c47f25b046692682
[ "MIT" ]
7
2021-04-14T16:17:29.000Z
2022-01-25T11:48:18.000Z
zenslackchat/zendesk_webhooks.py
uktrade/zenslackchat
8071757e1ea20a433783c6a7c47f25b046692682
[ "MIT" ]
1
2021-06-06T09:46:47.000Z
2021-06-06T09:46:47.000Z
from zenslackchat.zendesk_base_webhook import BaseWebHook from zenslackchat.zendesk_email_to_slack import email_from_zendesk from zenslackchat.zendesk_comments_to_slack import comments_from_zendesk class CommentsWebHook(BaseWebHook): """Handle Zendesk Comment Events. """ def handle_event(self, event, slac...
33.8
72
0.744379
103
845
5.854369
0.368932
0.091211
0.106136
0.15257
0.328358
0.328358
0.328358
0.195688
0.195688
0.195688
0
0
0.186982
845
24
73
35.208333
0.877729
0.280473
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
d5bbaeac59cde7e794de669fe4ec0942d528fc8d
699
py
Python
Examples/PagesOperations/MovePage.py
groupdocs-merger-cloud/groupdocs-merger-cloud-python-samples
af736c94240eeefef28bd81012c96ab2ea779088
[ "MIT" ]
null
null
null
Examples/PagesOperations/MovePage.py
groupdocs-merger-cloud/groupdocs-merger-cloud-python-samples
af736c94240eeefef28bd81012c96ab2ea779088
[ "MIT" ]
null
null
null
Examples/PagesOperations/MovePage.py
groupdocs-merger-cloud/groupdocs-merger-cloud-python-samples
af736c94240eeefef28bd81012c96ab2ea779088
[ "MIT" ]
null
null
null
# Import modules import groupdocs_merger_cloud from Common import Common # This example demonstrates how to move document page to a new position class MovePage: @classmethod def Run(cls): pagesApi = groupdocs_merger_cloud.PagesApi.from_config(Common.GetConfig()) options = groupdocs_merger_cl...
36.789474
93
0.711016
83
699
5.795181
0.53012
0.155925
0.2079
0
0
0
0
0
0
0
0
0.00363
0.211731
699
19
94
36.789474
0.869328
0.120172
0
0
0
0
0.115824
0.084829
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0.076923
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5bbb325b8069e32756e2756a7150bcc81d9e24f
221
py
Python
src/models/predict_model.py
joseluistello/Regression-Analysis-Apple-Data
85952edd22ba8c382f43357efc510763185fd6d1
[ "MIT" ]
null
null
null
src/models/predict_model.py
joseluistello/Regression-Analysis-Apple-Data
85952edd22ba8c382f43357efc510763185fd6d1
[ "MIT" ]
null
null
null
src/models/predict_model.py
joseluistello/Regression-Analysis-Apple-Data
85952edd22ba8c382f43357efc510763185fd6d1
[ "MIT" ]
null
null
null
y_pred=ml.predict(x_test) print(y_pred) from sklearn.metrics import r2_score r2_score(y_test,y_pred) pred_y_df=pd.DataFrame({'Actual Value':y_test,'Predicted Value':y_pred, 'Difference': y_test-y_pred}) pred_y_df[0:20]
24.555556
101
0.791855
44
221
3.636364
0.5
0.15625
0.075
0.125
0.2125
0.2125
0.2125
0
0
0
0
0.024272
0.067873
221
9
102
24.555556
0.752427
0
0
0
0
0
0.166667
0
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
0
1
d5bd90ba6b204f06ed13dd7eaecdd9ec577e33cb
5,512
py
Python
src/models/utils_func.py
Soufiane-Fartit/cars-prices
8eee8aa168251adab7f4947c45a78752e4145041
[ "MIT" ]
null
null
null
src/models/utils_func.py
Soufiane-Fartit/cars-prices
8eee8aa168251adab7f4947c45a78752e4145041
[ "MIT" ]
null
null
null
src/models/utils_func.py
Soufiane-Fartit/cars-prices
8eee8aa168251adab7f4947c45a78752e4145041
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ This module offers util functions to be called and used in other modules """ from datetime import datetime import os import json import pickle import string import random import numpy as np import pandas as pd from matplotlib import pyplot as plt import seaborn as sns from sklearn impo...
33.815951
90
0.649492
747
5,512
4.658635
0.263722
0.032184
0.028161
0.013793
0.267816
0.193103
0.165517
0.144253
0.112644
0.112644
0
0.006775
0.250181
5,512
163
91
33.815951
0.835229
0.347424
0
0.142857
0
0
0.10565
0.039435
0
0
0
0
0.02381
1
0.083333
false
0
0.238095
0
0.345238
0.047619
0
0
0
null
0
0
0
0
0
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
1
0
d5c0292ca1d781849b4c6bb27642731423800d86
7,504
py
Python
modules/finance.py
KpaBap/palbot
38d2b7958e310f45a28cf1b3173967b92f819946
[ "MIT" ]
null
null
null
modules/finance.py
KpaBap/palbot
38d2b7958e310f45a28cf1b3173967b92f819946
[ "MIT" ]
null
null
null
modules/finance.py
KpaBap/palbot
38d2b7958e310f45a28cf1b3173967b92f819946
[ "MIT" ]
null
null
null
import asyncio import discord from discord.ext import commands import re import sqlite3 from urllib.parse import quote as uriquote import html CURR = ["AUD", "BRL", "CAD", "CHF", "CLP", "CNY", "CZK", "DKK", "EUR", "GBP", "HKD", "HUF", "IDR", "ILS", "INR", "JPY", "KRW", "MXN", "MYR", "NOK", "NZD", "P...
40.344086
166
0.518124
853
7,504
4.534584
0.277843
0.025595
0.015512
0.020683
0.261634
0.261634
0.202689
0.157187
0.122285
0.094623
0
0.010974
0.319963
7,504
185
167
40.562162
0.747012
0.003598
0
0.22
0
0.02
0.245019
0.006779
0
0
0
0
0
1
0.02
false
0
0.046667
0.006667
0.126667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5c051b72ce68a91896ab21b2fd4b6e93e7e9a10
174
py
Python
SG_GetDataForClassifier.py
shubha1593/MovieReviewAnalysis
c485eea0c8b35e554027cce7a431212b406e672c
[ "MIT" ]
7
2015-04-01T12:41:55.000Z
2019-08-01T18:13:56.000Z
SG_GetDataForClassifier.py
shubha1593/MovieReviewAnalysis
c485eea0c8b35e554027cce7a431212b406e672c
[ "MIT" ]
null
null
null
SG_GetDataForClassifier.py
shubha1593/MovieReviewAnalysis
c485eea0c8b35e554027cce7a431212b406e672c
[ "MIT" ]
null
null
null
from SG_GetFeatureMatrix import * from SG_VectorY import * featureMatrix = featureMatrixFromReviews() Y = getYVector() def getDataForClassifier() : return featureMatrix, Y
21.75
42
0.804598
17
174
8.117647
0.705882
0.086957
0
0
0
0
0
0
0
0
0
0
0.126437
174
8
43
21.75
0.907895
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
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
1
1
1
0
0
5
d5c05a70d2bfb21530d973639155b0914281d250
1,882
py
Python
greenbounty/bounties/migrations/0001_initial.py
Carnales/green-bounty
beb765082b32c096139463bf75ccc1ec3d530692
[ "MIT" ]
1
2021-01-18T21:43:05.000Z
2021-01-18T21:43:05.000Z
greenbounty/bounties/migrations/0001_initial.py
Thinkr3/green-bounty
c74fe79121d211728c9f70ffd87e239c8ba5d131
[ "MIT" ]
1
2021-01-18T06:35:07.000Z
2021-01-18T06:35:07.000Z
greenbounty/bounties/migrations/0001_initial.py
Thinkr3/green-bounty
c74fe79121d211728c9f70ffd87e239c8ba5d131
[ "MIT" ]
2
2021-01-18T06:22:50.000Z
2021-01-18T06:24:22.000Z
# Generated by Django 3.1.4 on 2021-01-17 19:12 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
40.042553
144
0.584485
196
1,882
5.494898
0.346939
0.059424
0.066852
0.089136
0.528319
0.528319
0.528319
0.49675
0.49675
0.49675
0
0.016801
0.272582
1,882
46
145
40.913043
0.769905
0.023911
0
0.487179
1
0
0.056676
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.179487
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5c06f16c3fcc96993938e0c35fe7c62d8dfa422
8,621
py
Python
nova/tests/virt/docker/test_driver.py
osrg/nova
14b6bc655145c832bd9c822e48f877818e0e53ff
[ "Apache-2.0" ]
null
null
null
nova/tests/virt/docker/test_driver.py
osrg/nova
14b6bc655145c832bd9c822e48f877818e0e53ff
[ "Apache-2.0" ]
null
null
null
nova/tests/virt/docker/test_driver.py
osrg/nova
14b6bc655145c832bd9c822e48f877818e0e53ff
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright (c) 2013 dotCloud, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache...
40.85782
79
0.629741
984
8,621
5.243902
0.256098
0.04186
0.034884
0.034884
0.395543
0.320736
0.290891
0.277326
0.251744
0.230426
0
0.011036
0.274794
8,621
210
80
41.052381
0.814299
0.117968
0
0.234177
0
0
0.110319
0.00673
0
0
0
0
0.113924
0
null
null
0.012658
0.082278
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d5c1a9c69d580b85cf1676ca01e443acef7eb239
9,048
py
Python
pyx/tests/test_http.py
l04m33/pyx
b70efec605832ba3c7079e991584db3f5d1da8cb
[ "MIT" ]
2
2015-08-25T11:31:42.000Z
2015-10-16T11:30:15.000Z
pyx/tests/test_http.py
l04m33/pyx
b70efec605832ba3c7079e991584db3f5d1da8cb
[ "MIT" ]
null
null
null
pyx/tests/test_http.py
l04m33/pyx
b70efec605832ba3c7079e991584db3f5d1da8cb
[ "MIT" ]
null
null
null
import unittest import unittest.mock as mock import asyncio import pyx.http as http def create_dummy_message(): msg = http.HttpMessage(None) msg.headers = [ http.HttpHeader('Server', 'Pyx'), http.HttpHeader('Cookie', 'a'), http.HttpHeader('Cookie', 'b'), ] return msg def crea...
33.511111
92
0.59527
1,049
9,048
4.987607
0.148713
0.12328
0.061927
0.025994
0.639526
0.522362
0.477446
0.408257
0.36143
0.260703
0
0.011743
0.265915
9,048
269
93
33.635688
0.775971
0
0
0.318841
0
0.004831
0.138594
0.039567
0
0
0
0
0.294686
1
0.082126
false
0
0.019324
0
0.154589
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5c40e739be914cd8694a4a6735e497e975d7778
1,791
py
Python
tests/test_webdriver_chrome.py
kidosoft/splinter
6d5052fd73c0a626299574cea76924e367c67faa
[ "BSD-3-Clause" ]
1
2016-09-21T19:32:47.000Z
2016-09-21T19:32:47.000Z
tests/test_webdriver_chrome.py
kidosoft/splinter
6d5052fd73c0a626299574cea76924e367c67faa
[ "BSD-3-Clause" ]
null
null
null
tests/test_webdriver_chrome.py
kidosoft/splinter
6d5052fd73c0a626299574cea76924e367c67faa
[ "BSD-3-Clause" ]
1
2019-12-02T15:19:07.000Z
2019-12-02T15:19:07.000Z
# -*- coding: utf-8 -*- # Copyright 2013 splinter authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. import os import unittest from splinter import Browser from .fake_webapp import EXAMPLE_APP from .base import WebDriverTests from selen...
25.225352
69
0.672808
213
1,791
5.539906
0.455399
0.055085
0.044068
0.069492
0.372034
0.372034
0.372034
0.372034
0.372034
0.372034
0
0.004357
0.231156
1,791
70
70
25.585714
0.852578
0.123953
0
0.382979
0
0
0.070676
0
0
0
0
0
0.042553
1
0.212766
false
0.042553
0.12766
0
0.425532
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d5c480f55405e4b344842fed3a1082b875de03dd
1,349
py
Python
main.py
DuskXi/ArkX
7b416ae0c4ec2b383c6f414ed475930dd228909f
[ "Apache-2.0" ]
2
2022-02-18T03:08:38.000Z
2022-03-03T04:20:08.000Z
main.py
DuskXi/ArkX
7b416ae0c4ec2b383c6f414ed475930dd228909f
[ "Apache-2.0" ]
null
null
null
main.py
DuskXi/ArkX
7b416ae0c4ec2b383c6f414ed475930dd228909f
[ "Apache-2.0" ]
null
null
null
import os import json from File.file import File os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' def fileRead(fileName, encoding='utf-8'): with open(fileName, encoding=encoding) as f: return f.read() def main(): from Automation.distributor import Distributor from Performance import recoder from ...
30.659091
127
0.681987
136
1,349
6.669118
0.455882
0.029768
0.056229
0.076075
0
0
0
0
0
0
0
0.006346
0.182357
1,349
43
128
31.372093
0.815956
0.220904
0
0
0
0
0.176414
0.044104
0
0
0
0
0
1
0.086957
false
0
0.26087
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5c5f4f5c79da67180264a12457b76158e4ccc4b
4,814
py
Python
tests/test_simple.py
cprogrammer1994/miniglm
696764ff200dd106dd533264ff45a060d5f7b230
[ "MIT" ]
4
2017-11-03T14:48:52.000Z
2019-03-07T03:48:11.000Z
tests/test_simple.py
cprogrammer1994/miniglm
696764ff200dd106dd533264ff45a060d5f7b230
[ "MIT" ]
2
2017-11-27T15:40:01.000Z
2021-01-30T08:40:51.000Z
tests/test_simple.py
cprogrammer1994/miniglm
696764ff200dd106dd533264ff45a060d5f7b230
[ "MIT" ]
3
2017-11-27T15:25:07.000Z
2021-03-02T10:31:30.000Z
import struct import numpy as np import pytest import miniglm def test_add_vec_vec(): res = miniglm.add((1.0, 2.0, 3.0), (1.5, 1.8, 1.2)) np.testing.assert_almost_equal(res, (2.5, 3.8, 4.2)) assert type(res) is tuple def test_add_vec_scalar(): res = miniglm.add((1.0, 2.0, 3.0), 0.5) np.testing...
28.826347
91
0.623598
958
4,814
3.007307
0.086639
0.022215
0.156196
0.218674
0.705311
0.687608
0.636237
0.542867
0.454703
0.334606
0
0.130116
0.177815
4,814
166
92
29
0.597777
0
0
0.169643
0
0
0.004985
0
0
0
0
0
0.419643
1
0.232143
false
0
0.035714
0
0.267857
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
1
0
0
0
0
0
0
0
3
d5c61844c85a34a814f44efd7ddfec47f1e2a5e5
1,131
py
Python
flaskbb/plugins/news/views.py
konstantin1985/forum
7d4de24ccc932e9764699d89c8cc9d210b7fac7f
[ "BSD-3-Clause" ]
null
null
null
flaskbb/plugins/news/views.py
konstantin1985/forum
7d4de24ccc932e9764699d89c8cc9d210b7fac7f
[ "BSD-3-Clause" ]
null
null
null
flaskbb/plugins/news/views.py
konstantin1985/forum
7d4de24ccc932e9764699d89c8cc9d210b7fac7f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Blueprint, redirect from flaskbb.utils.helpers import render_template from .forms import AddForm, DeleteForm from .models import MyPost from flaskbb.extensions import db news = Blueprint("news", __name__, template_folder="templates") def inject_news_link(): return rende...
26.928571
72
0.660477
143
1,131
5.104895
0.370629
0.09589
0.109589
0.046575
0.279452
0.227397
0.227397
0.147945
0.147945
0.147945
0
0.001091
0.189213
1,131
41
73
27.585366
0.794984
0.018568
0
0.206897
0
0
0.09132
0.020796
0
0
0
0
0
1
0.137931
false
0
0.172414
0.068966
0.517241
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d5c64f687d9f59ed689fc14b8df6d5ee61f23931
23,742
py
Python
stix_shifter_modules/aws_athena/tests/stix_translation/test_aws_athena_json_to_stix.py
nkhetia31/stix-shifter
ace07581cb227fd35e450b2f8871475227a041d0
[ "Apache-2.0" ]
33
2018-05-25T17:07:28.000Z
2019-09-30T10:08:53.000Z
stix_shifter_modules/aws_athena/tests/stix_translation/test_aws_athena_json_to_stix.py
nkhetia31/stix-shifter
ace07581cb227fd35e450b2f8871475227a041d0
[ "Apache-2.0" ]
54
2018-06-01T18:17:24.000Z
2019-09-30T18:36:15.000Z
stix_shifter_modules/aws_athena/tests/stix_translation/test_aws_athena_json_to_stix.py
subbyte/stix-shifter
36d71c172a5fc5b97d872e623753b0dd1bf4fe6c
[ "Apache-2.0" ]
37
2018-07-24T13:29:46.000Z
2019-09-29T19:06:27.000Z
from stix_shifter_utils.stix_translation.src.json_to_stix import json_to_stix_translator from stix_shifter_utils.stix_translation.src.utils.transformer_utils import get_module_transformers from stix_shifter_modules.aws_athena.entry_point import EntryPoint import unittest MODULE = "aws_athena" entry_point = EntryPoint(...
52.18022
126
0.539087
1,921
23,742
6.401353
0.160333
0.039034
0.087826
0.090022
0.855818
0.839229
0.823941
0.810116
0.810116
0.798325
0
0.097047
0.3581
23,742
454
127
52.295154
0.709843
0.015879
0
0.717073
0
0
0.402752
0.205675
0
0
0
0
0.121951
1
0.017073
false
0.007317
0.009756
0
0.034146
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d5c68966a759ee86d163e95dee1679657c063de3
2,236
py
Python
Python Spider/xpath/03 login.py
CodingGorit/Coding-with-Python
b0f1d5d704b816a85b0ae57b46d00314de2a67b9
[ "Apache-2.0" ]
1
2020-01-31T15:57:29.000Z
2020-01-31T15:57:29.000Z
Python Spider/xpath/03 login.py
CodingGorit/Coding-with-Python
b0f1d5d704b816a85b0ae57b46d00314de2a67b9
[ "Apache-2.0" ]
null
null
null
Python Spider/xpath/03 login.py
CodingGorit/Coding-with-Python
b0f1d5d704b816a85b0ae57b46d00314de2a67b9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- #file: 03 login.py #@author: Gorit #@contact: gorit@qq.com #@time: 2020/1/20 12:44 import requests from lxml import etree # 封装类,进行学习猿地的登录和订单的获取 class lMonKey(): # 登录请求地址 loginUrl = "https://www.lmonkey.com/login" # 账户中心地址 orderUrl = "https://www.lmonkey.com/my...
27.268293
175
0.549195
280
2,236
4.339286
0.507143
0.023045
0.042798
0.037037
0.181893
0.134156
0.06749
0.06749
0.06749
0
0
0.048021
0.310823
2,236
81
176
27.604938
0.740428
0.18381
0
0.170213
0
0.021277
0.210556
0.053333
0
0
0
0
0
1
0.085106
false
0.042553
0.042553
0
0.297872
0.148936
0
0
0
null
0
0
0
0
0
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
1
0
d5c72a3c1f9827cd7d71f3da809f2313db6f0a32
9,730
py
Python
src/gui/MultiplayerPlayerInfo.py
fireclawthefox/AnkandoraLight
05b71e1a2919141cce02cb1aade95fbac682614b
[ "BSD-2-Clause" ]
3
2020-07-31T10:27:06.000Z
2022-01-11T20:28:55.000Z
src/gui/MultiplayerPlayerInfo.py
fireclawthefox/AnkandoraLight
05b71e1a2919141cce02cb1aade95fbac682614b
[ "BSD-2-Clause" ]
null
null
null
src/gui/MultiplayerPlayerInfo.py
fireclawthefox/AnkandoraLight
05b71e1a2919141cce02cb1aade95fbac682614b
[ "BSD-2-Clause" ]
1
2020-07-30T08:23:28.000Z
2020-07-30T08:23:28.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # This file was created using the DirectGUI Designer from direct.gui import DirectGuiGlobals as DGG from direct.gui.DirectFrame import DirectFrame from direct.gui.DirectLabel import DirectLabel from direct.gui.DirectButton import DirectButton from direct.gui.DirectOptionMenu...
35.126354
104
0.528777
1,198
9,730
4.196995
0.128548
0.057279
0.036993
0.062053
0.589897
0.554694
0.539578
0.50358
0.498011
0.442323
0
0.133963
0.336382
9,730
276
105
35.253623
0.644727
0.009147
0
0.484
0
0
0.030193
0.017016
0
0
0
0
0
1
0.016
false
0
0.024
0
0.044
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5c7e9662e071c24633307f69bc18856ffa49ecf
634
py
Python
publications/time_mag.py
mkoo21/rss-review-scraper
4adde8586ce55d7bb211bcfbb9bcccd1edc8b6a5
[ "BSD-3-Clause" ]
null
null
null
publications/time_mag.py
mkoo21/rss-review-scraper
4adde8586ce55d7bb211bcfbb9bcccd1edc8b6a5
[ "BSD-3-Clause" ]
1
2021-06-01T23:47:57.000Z
2021-06-01T23:47:57.000Z
publications/time_mag.py
mkoo21/rss-review-scraper
4adde8586ce55d7bb211bcfbb9bcccd1edc8b6a5
[ "BSD-3-Clause" ]
null
null
null
from . import FROM_FEED_PUBLISHED_TODAY, STRINGIFY def filter_by_tag(tag, entries): matches = list(filter( lambda x: any(list(map( lambda y: y.term == tag, x.tags ))), entries )) if len(matches) == 0: return "" return "<h2>TIME {} - {} result...
28.818182
93
0.594637
79
634
4.582278
0.468354
0.066298
0.09116
0.121547
0
0
0
0
0
0
0
0.008475
0.255521
634
21
94
30.190476
0.758475
0
0
0
0
0
0.152997
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5c8ad01f8962aad9216b71e8846b60294d68306
3,017
py
Python
2020/21/code.py
irobin591/advent-of-code-2019
279c28a2863558bd014b289802fff4b444c5d6cf
[ "MIT" ]
null
null
null
2020/21/code.py
irobin591/advent-of-code-2019
279c28a2863558bd014b289802fff4b444c5d6cf
[ "MIT" ]
null
null
null
2020/21/code.py
irobin591/advent-of-code-2019
279c28a2863558bd014b289802fff4b444c5d6cf
[ "MIT" ]
null
null
null
# Advent of Code 2020 # Day 21 # Author: irobin591 import os import doctest import re re_entry = re.compile(r'^([a-z ]+) \(contains ([a-z, ]*)\)$') with open(os.path.join(os.path.dirname(__file__), "input.txt"), 'r') as input_file: input_data = input_file.read().strip().split('\n') def part1(input_data): "...
30.785714
114
0.599271
355
3,017
4.969014
0.270423
0.056122
0.017007
0.02381
0.576531
0.576531
0.576531
0.576531
0.558957
0.558957
0
0.013483
0.262512
3,017
98
115
30.785714
0.779326
0.2118
0
0.461538
0
0
0.036989
0
0
0
0
0
0
1
0.038462
false
0.019231
0.057692
0
0.134615
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5c9c3dcfd93144a733bdffa2a7d7a7dc364d51d
2,807
py
Python
tests/test_html_escaping.py
copart/pandoc-mustache
f6ace29cd0c8d6b4d8f182eedcf36ad38a2412fa
[ "CC0-1.0" ]
43
2017-12-27T05:57:00.000Z
2022-03-18T10:07:28.000Z
tests/test_html_escaping.py
copart/pandoc-mustache
f6ace29cd0c8d6b4d8f182eedcf36ad38a2412fa
[ "CC0-1.0" ]
10
2018-02-07T11:20:37.000Z
2021-04-22T21:44:19.000Z
tests/test_html_escaping.py
copart/pandoc-mustache
f6ace29cd0c8d6b4d8f182eedcf36ad38a2412fa
[ "CC0-1.0" ]
8
2018-11-05T13:10:35.000Z
2021-08-30T18:14:02.000Z
""" Test that escaping characters for HTML is disabled. """ import os, subprocess def test_escape_singlequote(tmpdir): # Define empty dictionaries doc = {} template = {} # Prepare file names doc['path'] = tmpdir.join("document.md") template['path'] = tmpdir.join("template.yaml") # Prepar...
28.642857
139
0.617385
311
2,807
5.533762
0.199357
0.036607
0.048809
0.050552
0.944218
0.944218
0.944218
0.944218
0.944218
0.944218
0
0
0.19487
2,807
97
140
28.938144
0.761504
0.140363
0
0.818182
0
0
0.307789
0
0
0
0
0
0.054545
1
0.054545
false
0
0.018182
0
0.072727
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d5cb7cb45edf1a90b51258da74fc6a1d2b6758fa
2,761
py
Python
app.py
iandees/microdata2osm
1505b8072880055033ddbb85626fcdb857c97d4e
[ "MIT" ]
1
2019-11-05T16:02:17.000Z
2019-11-05T16:02:17.000Z
app.py
iandees/microdata2osm
1505b8072880055033ddbb85626fcdb857c97d4e
[ "MIT" ]
null
null
null
app.py
iandees/microdata2osm
1505b8072880055033ddbb85626fcdb857c97d4e
[ "MIT" ]
null
null
null
from flask import Flask, jsonify, request from w3lib.html import get_base_url import extruct import requests app = Flask(__name__) def extract_osm_tags(data): tags = {} schema_org_type = data.get('@type') if schema_org_type == 'Restaurant': tags['amenity'] = 'restaurant' serves_cuisine...
25.803738
75
0.589279
324
2,761
4.901235
0.302469
0.052897
0.040932
0.066121
0.093199
0.078086
0
0
0
0
0
0.005429
0.266208
2,761
106
76
26.04717
0.778381
0
0
0.060241
0
0
0.191959
0
0
0
0
0
0
1
0.024096
false
0
0.048193
0
0.13253
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5cdc3a0f5e46ad0ab740a282e0265f0e1bb27d5
702
py
Python
dags/simple_python_taskflow_api.py
davemasino/airflow101
f940e169b9c562e3834a201827b615744a99b86d
[ "Apache-2.0" ]
null
null
null
dags/simple_python_taskflow_api.py
davemasino/airflow101
f940e169b9c562e3834a201827b615744a99b86d
[ "Apache-2.0" ]
null
null
null
dags/simple_python_taskflow_api.py
davemasino/airflow101
f940e169b9c562e3834a201827b615744a99b86d
[ "Apache-2.0" ]
null
null
null
""" A simple Python DAG using the Taskflow API. """ import logging import time from datetime import datetime from airflow import DAG from airflow.decorators import task log = logging.getLogger(__name__) with DAG( dag_id='simple_python_taskflow_api', schedule_interval=None, start_date=datetime(2021, 1, 1)...
20.057143
43
0.665242
96
702
4.604167
0.458333
0.061086
0.045249
0
0
0
0
0
0
0
0
0.021858
0.217949
702
34
44
20.647059
0.783242
0.109687
0
0
0
0
0.120264
0.042834
0
0
0
0
0
1
0.090909
false
0
0.227273
0
0.318182
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5cdc4a618ee4e3bc14a1bf765626931e9530f36
1,744
py
Python
pyunmarked/roylenichols.py
kenkellner/pyunmarked
485bd96b4ca12a019b478fc19f68f577279ac9b8
[ "MIT" ]
null
null
null
pyunmarked/roylenichols.py
kenkellner/pyunmarked
485bd96b4ca12a019b478fc19f68f577279ac9b8
[ "MIT" ]
null
null
null
pyunmarked/roylenichols.py
kenkellner/pyunmarked
485bd96b4ca12a019b478fc19f68f577279ac9b8
[ "MIT" ]
null
null
null
from . import model import numpy as np from scipy import special, stats class RoyleNicholsModel(model.UnmarkedModel): def __init__(self, det_formula, abun_formula, data): self.response = model.Response(data.y) abun = model.Submodel("Abundance", "abun", abun_formula, np.exp, data.site_covs) ...
37.913043
91
0.544151
253
1,744
3.695652
0.328063
0.010695
0.019251
0.049198
0.079144
0.053476
0
0
0
0
0
0.01141
0.296445
1,744
45
92
38.755556
0.750611
0
0
0.04878
0
0
0.026376
0
0
0
0
0
0
1
0.073171
false
0
0.073171
0
0.219512
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5cdf640db99a0e2d2dcf804807be669d9939f1e
75,933
py
Python
proc_chords_xarray.py
pgriewank/ASR_tools
306a7d92725888485a35f8824433ad7b0451b569
[ "MIT" ]
null
null
null
proc_chords_xarray.py
pgriewank/ASR_tools
306a7d92725888485a35f8824433ad7b0451b569
[ "MIT" ]
null
null
null
proc_chords_xarray.py
pgriewank/ASR_tools
306a7d92725888485a35f8824433ad7b0451b569
[ "MIT" ]
null
null
null
#Contains the functions needed to process both chords and regularized beards # proc_chords is used for chords #proc_beard_regularize for generating beards #proc_pdf saves pdfs of a variable below cloud base #Both have a large overlap, but I split them in two to keep the one script from getting to confusing. import nu...
40.605882
218
0.563326
10,852
75,933
3.660892
0.074825
0.00589
0.011352
0.009817
0.702376
0.657874
0.624547
0.607858
0.584122
0.56474
0
0.030185
0.334663
75,933
1,869
219
40.627608
0.756181
0.252841
0
0.641026
0
0
0.058283
0.003896
0
0
0
0.000535
0
1
0.003945
false
0
0.013807
0
0.021696
0.100592
0
0
0
null
0
0
0
0
0
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
1
0
d5ce012afb2ebb7c4522ad96e38d4259432b472d
1,656
py
Python
expression-atlas-wf/scripts/dmel_tau_housekeeping.py
jfear/larval_gonad
624a71741864b74e0372f89bdcca578e5cca3722
[ "MIT" ]
1
2019-09-13T13:24:18.000Z
2019-09-13T13:24:18.000Z
expression-atlas-wf/scripts/dmel_tau_housekeeping.py
jfear/larval_gonad
624a71741864b74e0372f89bdcca578e5cca3722
[ "MIT" ]
65
2019-07-24T16:23:08.000Z
2020-03-06T22:18:47.000Z
expression-atlas-wf/scripts/dmel_tau_housekeeping.py
jfear/larval_gonad
624a71741864b74e0372f89bdcca578e5cca3722
[ "MIT" ]
1
2021-06-02T19:09:35.000Z
2021-06-02T19:09:35.000Z
"""D. mel housekeeping genes based on tau. Uses the intersection of w1118 and orgR to create a list of D. mel housekeeping genes. """ import os from functools import partial import pandas as pd from larval_gonad.io import pickle_load, pickle_dump def main(): # Load mapping of YOgn to FBgn annot = pickle_loa...
30.109091
96
0.630435
203
1,656
4.940887
0.364532
0.089731
0.101695
0.114656
0.251246
0.251246
0.175474
0.089731
0
0
0
0.010647
0.262681
1,656
54
97
30.666667
0.810811
0.094807
0
0.055556
0
0
0.230563
0.205094
0
0
0
0
0
1
0.083333
false
0
0.138889
0.055556
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
0
0
0
0
0
0
0
1
0
d5ce93a21169fedfe3df6edeca6f8d5d29633b0f
2,226
py
Python
api-server/server/core/key.py
TK-IBM-Call-for-Code-Challange-2021/call-for-code-challenge-2021
7a3d78d4067303d61c4a25d45c0671ae7e984222
[ "MIT" ]
75
2020-07-22T15:24:56.000Z
2022-03-30T08:34:06.000Z
api-server/server/core/key.py
TK-IBM-Call-for-Code-Challange-2021/call-for-code-challenge-2021
7a3d78d4067303d61c4a25d45c0671ae7e984222
[ "MIT" ]
null
null
null
api-server/server/core/key.py
TK-IBM-Call-for-Code-Challange-2021/call-for-code-challenge-2021
7a3d78d4067303d61c4a25d45c0671ae7e984222
[ "MIT" ]
34
2020-07-23T02:54:03.000Z
2022-03-29T09:51:21.000Z
""" Api Key validation """ from typing import Optional from fastapi.security.api_key import APIKeyHeader from fastapi import HTTPException, Security, Depends from starlette.status import HTTP_401_UNAUTHORIZED, HTTP_400_BAD_REQUEST, HTTP_403_FORBIDDEN from server.core.security import verify_key from server.db.mongodb ...
33.223881
92
0.666667
281
2,226
5.071174
0.291815
0.063158
0.101053
0.117895
0.214035
0.191579
0.191579
0.191579
0.117193
0.081404
0
0.016197
0.251123
2,226
66
93
33.727273
0.838632
0.063792
0
0.136364
0
0
0.063004
0
0
0
0
0
0
1
0
false
0
0.204545
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5cee84d7663e55b77b23428667b37ccfb80fbf9
1,253
py
Python
scripts/kconfig-split.py
Osirium/linuxkit
b710224cdf9a8425a7129cdcb84fc1af00f926d7
[ "Apache-2.0" ]
7,798
2017-04-18T15:19:24.000Z
2022-03-30T19:34:42.000Z
scripts/kconfig-split.py
Osirium/linuxkit
b710224cdf9a8425a7129cdcb84fc1af00f926d7
[ "Apache-2.0" ]
1,673
2017-04-18T16:15:20.000Z
2022-03-31T06:14:17.000Z
scripts/kconfig-split.py
Osirium/linuxkit
b710224cdf9a8425a7129cdcb84fc1af00f926d7
[ "Apache-2.0" ]
1,099
2017-04-18T15:19:33.000Z
2022-03-31T20:23:20.000Z
#!/usr/bin/env python # This is a slightly modified version of ChromiumOS' splitconfig # https://chromium.googlesource.com/chromiumos/third_party/kernel/+/stabilize-5899.B-chromeos-3.14/chromeos/scripts/splitconfig """See this page for more details: http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/kern...
27.844444
127
0.651237
165
1,253
4.921212
0.49697
0.098522
0.054187
0.077586
0.153941
0.061576
0.061576
0
0
0
0
0.008955
0.197925
1,253
44
128
28.477273
0.799005
0.321628
0
0.115385
0
0
0.090692
0.03222
0
0
0
0
0
1
0
false
0
0.115385
0
0.115385
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
0
0
0
0
1
0
d5cef9720c8cb2b94870da749da3f4cf31757f01
1,631
py
Python
src/synapse/azext_synapse/vendored_sdks/azure_synapse/models/livy_statement_output.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
2
2021-06-05T17:51:26.000Z
2021-11-17T11:17:56.000Z
src/synapse/azext_synapse/vendored_sdks/azure_synapse/models/livy_statement_output.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
3
2020-05-27T20:16:26.000Z
2020-07-23T19:46:49.000Z
src/synapse/azext_synapse/vendored_sdks/azure_synapse/models/livy_statement_output.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
5
2020-05-09T17:47:09.000Z
2020-10-01T19:52:06.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
33.285714
76
0.563458
170
1,631
5.311765
0.411765
0.093023
0.039867
0
0
0
0
0
0
0
0
0.000772
0.205395
1,631
48
77
33.979167
0.695988
0.429185
0
0
0
0
0.23175
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5d04044860f90c923e15fee006637515d70252d
6,215
py
Python
src/main.py
mafshar/sub-puppo
20fe5bf3ca3d250d846c545085f748e706c4a33e
[ "MIT" ]
1
2018-03-02T04:24:33.000Z
2018-03-02T04:24:33.000Z
src/main.py
mafshar/sub-puppo
20fe5bf3ca3d250d846c545085f748e706c4a33e
[ "MIT" ]
null
null
null
src/main.py
mafshar/sub-puppo
20fe5bf3ca3d250d846c545085f748e706c4a33e
[ "MIT" ]
null
null
null
#!/usr/bin/env python ''' Notes: - Weak implies weakly supervised learning (4 classes) - Strong implies strongly (fully) superversied learning (10 classes) - frame number is set to 22ms (default); that is the "sweet spot" based on dsp literature - sampling rate is 16kHz (for the MFCC of each track) ...
32.710526
187
0.665809
863
6,215
4.615295
0.261877
0.032137
0.027115
0.033141
0.380115
0.344715
0.32011
0.271906
0.248054
0.220939
0
0.019966
0.234433
6,215
189
188
32.883598
0.81715
0.020274
0
0.326087
0
0
0.090346
0.004007
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.144928
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d5d07c6912264faadbd6b41b6918a6a30e91f2bc
8,638
py
Python
plugins/Operations/Crypto/blowfish_encrypt_dialog.py
nmantani/FileInsight-plugins
a6b036672e4c72ed06678729a86293212b7213db
[ "BSD-2-Clause", "CC0-1.0", "MIT" ]
120
2015-02-28T14:49:12.000Z
2022-03-27T07:13:24.000Z
plugins/Operations/Crypto/blowfish_encrypt_dialog.py
nmantani/FileInsight-plugins
a6b036672e4c72ed06678729a86293212b7213db
[ "BSD-2-Clause", "CC0-1.0", "MIT" ]
null
null
null
plugins/Operations/Crypto/blowfish_encrypt_dialog.py
nmantani/FileInsight-plugins
a6b036672e4c72ed06678729a86293212b7213db
[ "BSD-2-Clause", "CC0-1.0", "MIT" ]
17
2016-04-04T15:53:03.000Z
2021-12-10T18:07:59.000Z
# # Blowfish encrypt - Encrypt selected region with Blowfish # # Copyright (c) 2019, Nobutaka Mantani # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code...
44.297436
210
0.678629
1,310
8,638
4.363359
0.207634
0.019944
0.058782
0.020994
0.480231
0.393982
0.349895
0.329076
0.28394
0.222183
0
0.0131
0.186965
8,638
194
211
44.525773
0.800797
0.205487
0
0.146154
0
0.007692
0.103636
0
0
0
0
0.005155
0
1
0.015385
false
0
0.076923
0
0.123077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5d16bd87f7bfb96643e0e75dbd1d494645de558
5,734
py
Python
dns/rdtypes/IN/IPSECKEY.py
preo/dnspython
465785f85f87508209117264c677080e901e957c
[ "0BSD" ]
null
null
null
dns/rdtypes/IN/IPSECKEY.py
preo/dnspython
465785f85f87508209117264c677080e901e957c
[ "0BSD" ]
null
null
null
dns/rdtypes/IN/IPSECKEY.py
preo/dnspython
465785f85f87508209117264c677080e901e957c
[ "0BSD" ]
null
null
null
# Copyright (C) 2006, 2007, 2009-2011 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and this permission notice # appear in all copies. # # THE SOFTWARE IS PROVIDED ...
38.743243
81
0.591734
688
5,734
4.819767
0.257267
0.119421
0.049759
0.034379
0.271713
0.226176
0.191797
0.124849
0.068758
0.025332
0
0.018108
0.316184
5,734
147
82
39.006803
0.827595
0.202302
0
0.28972
0
0
0.047239
0
0
0
0
0
0
1
0.046729
false
0.018692
0.046729
0
0.158879
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5d20f7a81be3ee7ffae45e074584da66ec78259
210
py
Python
multistream_select/__init__.py
Projjol/py-multistream-select
624becaaeefa0a76d6841e27fbf7dea3240d2fe0
[ "MIT" ]
null
null
null
multistream_select/__init__.py
Projjol/py-multistream-select
624becaaeefa0a76d6841e27fbf7dea3240d2fe0
[ "MIT" ]
null
null
null
multistream_select/__init__.py
Projjol/py-multistream-select
624becaaeefa0a76d6841e27fbf7dea3240d2fe0
[ "MIT" ]
null
null
null
__version = '0.1.0' __all__ = ['MultiStreamSelect', 'hexify'] __author__ = 'Natnael Getahun (connect@ngetahun.me)' __name__ = 'multistream' from .multistream import MultiStreamSelect from .utils import hexify
26.25
52
0.766667
23
210
6.391304
0.73913
0
0
0
0
0
0
0
0
0
0
0.016129
0.114286
210
7
53
30
0.774194
0
0
0
0
0
0.361905
0.1
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
d5d2163f998824781f4cf67aa89ebfc2260b9f51
42,648
py
Python
python/input_reader.py
dagesundholm/DAGE
0d0ef1d3e74ba751ca4d288db9f1ac7f9a822138
[ "MIT" ]
3
2018-03-29T08:48:57.000Z
2020-02-16T22:40:22.000Z
python/input_reader.py
dagesundholm/DAGE
0d0ef1d3e74ba751ca4d288db9f1ac7f9a822138
[ "MIT" ]
null
null
null
python/input_reader.py
dagesundholm/DAGE
0d0ef1d3e74ba751ca4d288db9f1ac7f9a822138
[ "MIT" ]
1
2019-04-08T14:40:57.000Z
2019-04-08T14:40:57.000Z
"""---------------------------------------------------------------------------------* * Copyright (c) 2010-2018 Pauli Parkkinen, Eelis Solala, Wen-Hua Xu, * * Sergio Losilla, Elias Toivanen, Jonas Juselius * * ...
47.020948
179
0.559487
4,646
42,648
4.959535
0.105252
0.010416
0.014061
0.016275
0.393803
0.285305
0.228105
0.204149
0.169951
0.135622
0
0.004375
0.356898
42,648
906
180
47.072848
0.835746
0.170559
0
0.245347
0
0
0.075603
0.001987
0
0
0
0
0
1
0.06599
false
0.001692
0.011844
0.005076
0.175973
0.013536
0
0
0
null
0
0
0
0
0
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
1
0
d5d27a9aec4e8518393324c6681b93cf4f6993a5
506
py
Python
tests/test_mate_hashes_methods.py
MacHu-GWU/pathlib_mate-project
5b8f5441e681730d02209211cce7f46986147418
[ "MIT" ]
9
2017-09-07T21:21:43.000Z
2020-10-11T09:47:24.000Z
tests/test_mate_hashes_methods.py
MacHu-GWU/pathlib_mate-project
5b8f5441e681730d02209211cce7f46986147418
[ "MIT" ]
2
2018-10-16T14:30:26.000Z
2020-12-05T02:40:46.000Z
tests/test_mate_hashes_methods.py
MacHu-GWU/pathlib_mate-project
5b8f5441e681730d02209211cce7f46986147418
[ "MIT" ]
2
2017-09-05T14:06:01.000Z
2021-06-29T15:31:13.000Z
# -*- coding: utf-8 -*- import pytest from pathlib_mate.pathlib2 import Path class TestHashesMethods(object): def test(self): p = Path(__file__) assert len({ p.md5, p.get_partial_md5(nbytes=1 << 20), p.sha256, p.get_partial_sha256(nbytes=1 << 20), p.sha512, p.g...
23
59
0.592885
66
506
4.19697
0.560606
0.043321
0.119134
0.072202
0
0
0
0
0
0
0
0.068966
0.254941
506
21
60
24.095238
0.665782
0.041502
0
0
0
0
0.043478
0
0
0
0
0
0.071429
1
0.071429
false
0
0.214286
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5d2a60bb0dcf9c3c7f564f0707f97c252020d5c
4,183
py
Python
tools/lib/auth.py
shoes22/openpilot
a965de3c96a53b67d106cfa775e3407db82dd0e1
[ "MIT" ]
121
2019-03-27T06:34:51.000Z
2021-06-15T14:37:29.000Z
tools/lib/auth.py
shoes22/openpilot
a965de3c96a53b67d106cfa775e3407db82dd0e1
[ "MIT" ]
54
2019-04-11T08:51:58.000Z
2021-06-13T17:04:22.000Z
tools/lib/auth.py
shoes22/openpilot
a965de3c96a53b67d106cfa775e3407db82dd0e1
[ "MIT" ]
139
2019-07-16T07:25:05.000Z
2021-06-09T11:27:53.000Z
#!/usr/bin/env python3 """ Usage:: usage: auth.py [-h] [{google,apple,github,jwt}] [jwt] Login to your comma account positional arguments: {google,apple,github,jwt} jwt optional arguments: -h, --help show this help message and exit Examples:: ./auth.py # Log in with google accou...
28.650685
140
0.672962
536
4,183
5.126866
0.384328
0.029476
0.043304
0.043668
0.049491
0
0
0
0
0
0
0.014052
0.183361
4,183
145
141
28.848276
0.790398
0.130528
0
0.161616
0
0
0.283154
0.026192
0
0
0
0
0
1
0.040404
false
0.010101
0.090909
0
0.20202
0.080808
0
0
0
null
0
0
0
0
0
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
1
0
d5d313602da6567472c45152b7f1fb43db070947
901
py
Python
datedfolder.py
IgorRidanovic/flapi
7eb35cc670a5d1a06b01fb13982ffa63345369de
[ "MIT" ]
3
2020-09-21T13:07:05.000Z
2021-01-29T19:44:02.000Z
datedfolder.py
IgorRidanovic/flapi
7eb35cc670a5d1a06b01fb13982ffa63345369de
[ "MIT" ]
null
null
null
datedfolder.py
IgorRidanovic/flapi
7eb35cc670a5d1a06b01fb13982ffa63345369de
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- ''' Create a Baselight folder with current date and time stamp. You must refresh the Job Manager after running the script. Copyright (c) 2020 Igor Riđanović, Igor [at] hdhead.com, www.metafide.com ''' import flapi from getflapi import getflapi from datetime import dateti...
23.710526
73
0.662597
115
901
5.06087
0.669565
0.041237
0.051546
0.058419
0
0
0
0
0
0
0
0.01
0.223085
901
37
74
24.351351
0.821429
0.056604
0
0.1
0
0
0.119011
0
0
0
0
0
0
0
null
null
0
0.15
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d5d51d8a99234145a06442d575334e8b8cd54c32
4,762
py
Python
elastica/wrappers/callbacks.py
zhidou2/PyElastica
0f5502bc5349ab5e5dc794d8dfc82b7c2bd69eb6
[ "MIT" ]
71
2020-04-15T17:02:42.000Z
2022-03-26T04:53:51.000Z
elastica/wrappers/callbacks.py
zhidou2/PyElastica
0f5502bc5349ab5e5dc794d8dfc82b7c2bd69eb6
[ "MIT" ]
59
2020-05-15T03:51:46.000Z
2022-03-28T13:53:01.000Z
elastica/wrappers/callbacks.py
zhidou2/PyElastica
0f5502bc5349ab5e5dc794d8dfc82b7c2bd69eb6
[ "MIT" ]
57
2020-06-17T20:34:02.000Z
2022-03-16T08:09:54.000Z
__doc__ = """ CallBacks ----------- Provides the callBack interface to collect data over time (see `callback_functions.py`). """ from elastica.callback_functions import CallBackBaseClass class CallBacks: """ CallBacks class is a wrapper for calling callback functions, set by the user. If the user wants ...
29.214724
94
0.584208
542
4,762
4.972325
0.350554
0.040816
0.024119
0.018924
0.060853
0.045269
0.045269
0.045269
0.045269
0
0
0.004685
0.327593
4,762
162
95
29.395062
0.836977
0.414112
0
0
0
0
0.161223
0.010469
0
0
0
0.006173
0.016949
1
0.135593
false
0
0.016949
0.016949
0.254237
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5d580ea25dd4fecd8cfeb8103bdbe268c389416
2,961
py
Python
vitrage/evaluator/template_data.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
vitrage/evaluator/template_data.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
vitrage/evaluator/template_data.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 - Nokia # # 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, sof...
27.933962
77
0.667342
323
2,961
6.006192
0.312694
0.061856
0.043299
0.037113
0.113402
0.05567
0.05567
0
0
0
0
0.0036
0.249578
2,961
105
78
28.2
0.869487
0.196217
0
0.173913
0
0
0.035095
0
0
0
0
0
0
1
0.217391
false
0
0.014493
0.101449
0.362319
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
d5d5b53df6261a4974bd6d3bb678fc4435a6413e
15,032
py
Python
scripts/summarize-kmer-counts.py
rpetit3/anthrax-metagenome-study
b4a6f2c4d49b57aeae898afd6a95c8f6cb437945
[ "MIT" ]
null
null
null
scripts/summarize-kmer-counts.py
rpetit3/anthrax-metagenome-study
b4a6f2c4d49b57aeae898afd6a95c8f6cb437945
[ "MIT" ]
null
null
null
scripts/summarize-kmer-counts.py
rpetit3/anthrax-metagenome-study
b4a6f2c4d49b57aeae898afd6a95c8f6cb437945
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 """Parse through the simulated sequencing group specific kmer counts.""" import argparse as ap from collections import OrderedDict import glob import gzip import os import sys import time import numpy as np import multiprocessing as mp SAMPLES = OrderedDict() KMERS = {} HAMMING = OrderedDict() ...
40.408602
87
0.549494
1,738
15,032
4.478711
0.116801
0.057554
0.020555
0.028777
0.434481
0.3398
0.212616
0.13335
0.103931
0.098535
0
0.006367
0.320849
15,032
371
88
40.51752
0.756098
0.033196
0
0.181818
0
0
0.220811
0.082234
0
0
0
0
0
1
0.031348
false
0
0.028213
0
0.0721
0.040752
0
0
0
null
0
0
0
0
0
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
1
0
d5d6cadbdf0418e7793af6364477d1005bd12ded
327
py
Python
movies/exceptions.py
te0dor/netguru-movies
8e2cc4585851ad31794ec9e6a3e4dd70cc0980c5
[ "MIT" ]
null
null
null
movies/exceptions.py
te0dor/netguru-movies
8e2cc4585851ad31794ec9e6a3e4dd70cc0980c5
[ "MIT" ]
null
null
null
movies/exceptions.py
te0dor/netguru-movies
8e2cc4585851ad31794ec9e6a3e4dd70cc0980c5
[ "MIT" ]
null
null
null
from marshmallow.exceptions import ValidationError class ObjectDoesNotExist(Exception): """Exception if not found results""" pass class CommunicationError(Exception): """Exception for diferents problem with communications.""" pass __all__ = ('ValidationError', 'ObjectDoesNotExist', 'CommunicationE...
21.8
73
0.75841
28
327
8.714286
0.714286
0.147541
0
0
0
0
0
0
0
0
0
0
0.146789
327
14
74
23.357143
0.874552
0.253823
0
0.333333
0
0
0.218884
0
0
0
0
0
0
1
0
false
0.333333
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
d5d747b80a8ea5e6c6c092c35a44d7f1c0635eb8
117
py
Python
music_api/apps/music_app/admin.py
fejiroofficial/Simple_music
2dd9dcf8e5c7374e29dcf96987c053eebf1cba2a
[ "MIT" ]
null
null
null
music_api/apps/music_app/admin.py
fejiroofficial/Simple_music
2dd9dcf8e5c7374e29dcf96987c053eebf1cba2a
[ "MIT" ]
8
2019-12-04T23:40:12.000Z
2022-02-10T07:58:28.000Z
music_api/apps/music_app/admin.py
fejiroofficial/simple_music
2dd9dcf8e5c7374e29dcf96987c053eebf1cba2a
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Songs admin.site.register(Songs) # Register your models here.
16.714286
32
0.794872
17
117
5.470588
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.136752
117
6
33
19.5
0.920792
0.222222
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
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
1
0
1
0
1
0
0
5
d5d9540eff941a339f643e59edbea5708ee6a194
2,354
py
Python
scripts/generate_image_series.py
JIC-Image-Analysis/senescence-in-field
f310e34df377eb807423c38cf27d1ade0782f5a2
[ "MIT" ]
null
null
null
scripts/generate_image_series.py
JIC-Image-Analysis/senescence-in-field
f310e34df377eb807423c38cf27d1ade0782f5a2
[ "MIT" ]
null
null
null
scripts/generate_image_series.py
JIC-Image-Analysis/senescence-in-field
f310e34df377eb807423c38cf27d1ade0782f5a2
[ "MIT" ]
null
null
null
# Draw image time series for one or more plots from jicbioimage.core.image import Image import dtoolcore import click from translate_labels import rack_plot_to_image_plot from image_utils import join_horizontally, join_vertically def identifiers_where_match_is_true(dataset, match_function): return [i for i i...
26.75
75
0.712404
307
2,354
5.074919
0.319218
0.03466
0.060976
0.070603
0.279204
0.185494
0.080873
0
0
0
0
0.007519
0.209006
2,354
87
76
27.057471
0.829216
0.095157
0
0.0625
0
0
0.053252
0.035344
0
0
0
0
0
0
null
null
0
0.104167
null
null
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d5d98de44dcdd3336c05cb1bd2a44010685446b0
4,505
py
Python
pytpp/properties/response_objects/system_status.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
4
2022-02-04T23:58:55.000Z
2022-02-15T18:53:08.000Z
pytpp/properties/response_objects/system_status.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
pytpp/properties/response_objects/system_status.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
from pytpp.properties.response_objects.dataclasses import system_status from pytpp.tools.helpers.date_converter import from_date_string class SystemStatus: @staticmethod def Engine(response_object: dict): if not isinstance(response_object, dict): response_object = {} return system_...
42.102804
116
0.668368
460
4,505
6.26087
0.195652
0.311111
0.236111
0.06875
0.556944
0.477431
0.450347
0.426042
0.4125
0.336806
0
0
0.227747
4,505
106
117
42.5
0.827824
0
0
0.428571
0
0
0.089456
0.004661
0
0
0
0
0
1
0.087912
false
0
0.021978
0
0.208791
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
d5d9b42548010e4777afbfec7a0536b09a13b146
1,883
py
Python
src/data/dataModule.py
mikkelfo/Title-prediction-from-abstract
45c9b64c963ae9b00c6b34a3f2b9f7c25496350e
[ "MIT" ]
null
null
null
src/data/dataModule.py
mikkelfo/Title-prediction-from-abstract
45c9b64c963ae9b00c6b34a3f2b9f7c25496350e
[ "MIT" ]
null
null
null
src/data/dataModule.py
mikkelfo/Title-prediction-from-abstract
45c9b64c963ae9b00c6b34a3f2b9f7c25496350e
[ "MIT" ]
null
null
null
from typing import Optional import pytorch_lightning as pl import torch from omegaconf import OmegaConf from torch.utils.data import DataLoader, random_split from transformers import T5Tokenizer from src.data.PaperDataset import PaperDataset class ArvixDataModule(pl.LightningDataModule): def __init__(self, conf...
32.465517
73
0.669676
227
1,883
5.334802
0.330396
0.069364
0.02725
0.074319
0.314616
0.314616
0.205615
0.11891
0.072667
0
0
0.011019
0.22889
1,883
57
74
33.035088
0.823003
0.038237
0
0
0
0
0.037611
0.012168
0
0
0
0
0
1
0.15
false
0
0.175
0.075
0.425
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5d9d4fd434e21de06a534a9b7ddf3881191564e
10,573
py
Python
shs/gui/RootFrame.py
ansobolev/shs
7a5f61bd66fe1e8ae047a4d3400b055175a53f4e
[ "MIT" ]
1
2016-06-22T13:30:25.000Z
2016-06-22T13:30:25.000Z
shs/gui/RootFrame.py
ansobolev/shs
7a5f61bd66fe1e8ae047a4d3400b055175a53f4e
[ "MIT" ]
1
2017-12-01T04:49:45.000Z
2017-12-01T04:49:45.000Z
shs/gui/RootFrame.py
ansobolev/shs
7a5f61bd66fe1e8ae047a4d3400b055175a53f4e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys import time import subprocess import wx import ConfigParser from wx.lib.mixins.listctrl import getListCtrlSelection from wx.lib.pubsub import pub from gui.RootGUI import RootGUI from StepsDialog import StepsDialog from PlotFrame import PlotFuncFrame, PlotCorrFrame import i...
39.01476
120
0.608909
1,240
10,573
5.083871
0.243548
0.028553
0.012373
0.017767
0.215419
0.189245
0.16894
0.14118
0.126904
0.111675
0
0.005157
0.284782
10,573
270
121
39.159259
0.828485
0.127873
0
0.160804
0
0
0.027796
0
0
0
0
0
0
1
0.075377
false
0
0.080402
0
0.21608
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5da19776d7a24ff632b755eb644da772dbdd1cc
6,063
py
Python
saleor/order/migrations/0015_auto_20170206_0407.py
acabezasg/urpi-master
7c9cd0fbe6d89dad70652482712ca38b21ba6f84
[ "BSD-3-Clause" ]
6
2019-01-06T08:39:20.000Z
2022-03-04T18:07:47.000Z
saleor/order/migrations/0015_auto_20170206_0407.py
valentine217/saleor
323963748e6a2702265ec6635b930a234abde4f5
[ "BSD-3-Clause" ]
5
2021-03-09T16:22:37.000Z
2022-02-10T19:10:03.000Z
saleor/order/migrations/0015_auto_20170206_0407.py
valentine217/saleor
323963748e6a2702265ec6635b930a234abde4f5
[ "BSD-3-Clause" ]
1
2020-12-26T10:25:37.000Z
2020-12-26T10:25:37.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-06 10:07 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_prices.models class Migration(migrations.Migration): dependencies = [ ...
45.586466
181
0.626752
615
6,063
5.990244
0.193496
0.089577
0.12215
0.141694
0.561889
0.551846
0.371064
0.307003
0.294788
0.280402
0
0.012865
0.243609
6,063
132
182
45.931818
0.790449
0.011216
0
0.544
1
0
0.192256
0.003838
0
0
0
0
0
1
0
false
0
0.04
0
0.064
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5dac56aef00dcc6cc7a0b56db80a25f82caafb4
3,357
py
Python
testrail_client/api/configurations.py
tonybearpan/testrail-lib
267070bd017bb1d80ac40e1b84ea40dc2c2e3956
[ "MIT" ]
null
null
null
testrail_client/api/configurations.py
tonybearpan/testrail-lib
267070bd017bb1d80ac40e1b84ea40dc2c2e3956
[ "MIT" ]
null
null
null
testrail_client/api/configurations.py
tonybearpan/testrail-lib
267070bd017bb1d80ac40e1b84ea40dc2c2e3956
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from .base import TestRailAPIBase class Config(TestRailAPIBase): """ Use the following API methods to request details ...
36.48913
165
0.597557
398
3,357
4.879397
0.193467
0.084964
0.08033
0.032441
0.751287
0.681771
0.61792
0.600927
0.523687
0.471164
0
0.007331
0.309205
3,357
91
166
36.89011
0.830099
0.488531
0
0.153846
0
0
0.125639
0.03214
0
0
0
0
0
1
0.384615
false
0
0.038462
0.038462
0.846154
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
d5db929efd07ee76ec7142cbf1f91188279ae61e
1,104
py
Python
tests/asserts_wrapper.py
QARancher/k8s_client
b290caa5db12498ed9fbb2c972ab20141ff2c401
[ "Unlicense" ]
null
null
null
tests/asserts_wrapper.py
QARancher/k8s_client
b290caa5db12498ed9fbb2c972ab20141ff2c401
[ "Unlicense" ]
4
2020-05-05T14:42:33.000Z
2020-05-10T08:15:28.000Z
tests/asserts_wrapper.py
QARancher/k8s_client
b290caa5db12498ed9fbb2c972ab20141ff2c401
[ "Unlicense" ]
null
null
null
def assert_not_none(actual_result, message=""): if not message: message = f"{actual_result} resulted with None" assert actual_result, message def assert_equal(actual_result, expected_result, message=""): if not message: message = f"{actual_result} is not equal to expected " \ ...
35.612903
78
0.701087
147
1,104
5.013605
0.22449
0.097693
0.081411
0.128901
0.404342
0.332429
0.214383
0.122117
0.122117
0
0
0
0.209239
1,104
30
79
36.8
0.844215
0
0
0.227273
0
0
0.253623
0
0
0
0
0
0.454545
1
0.227273
false
0
0
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
d5dbc4975d95ff84c0f9a2e3857f8af1ed9103e1
40,713
py
Python
tools/proto/transaction_pb2.py
ctring/Detock
a1171a511d9cd1f79cc3a8d54ec17f759d088de4
[ "MIT" ]
null
null
null
tools/proto/transaction_pb2.py
ctring/Detock
a1171a511d9cd1f79cc3a8d54ec17f759d088de4
[ "MIT" ]
null
null
null
tools/proto/transaction_pb2.py
ctring/Detock
a1171a511d9cd1f79cc3a8d54ec17f759d088de4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: proto/transaction.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goo...
42.277259
4,079
0.759315
5,119
40,713
5.684313
0.071303
0.060004
0.106433
0.090006
0.66606
0.603753
0.588013
0.578322
0.577016
0.577016
0
0.042362
0.12679
40,713
962
4,080
42.321206
0.776124
0.018053
0
0.643094
1
0.00442
0.179734
0.135414
0
0
0
0
0
1
0
false
0
0.005525
0
0.005525
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d5dc3b0ac30486b996b5ad01fe0ad1a247834e86
1,411
py
Python
srl/simulation_test.py
google/simple-reinforcement-learning
9bdac29427cd5c556d7ea7531b807645f043aae3
[ "Apache-2.0" ]
60
2017-01-10T06:35:11.000Z
2020-12-19T07:33:40.000Z
srl/simulation_test.py
google/simple-reinforcement-learning
9bdac29427cd5c556d7ea7531b807645f043aae3
[ "Apache-2.0" ]
null
null
null
srl/simulation_test.py
google/simple-reinforcement-learning
9bdac29427cd5c556d7ea7531b807645f043aae3
[ "Apache-2.0" ]
29
2017-01-11T22:15:36.000Z
2022-03-17T02:17:37.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
32.068182
74
0.722892
207
1,411
4.850242
0.487923
0.059761
0.038845
0.044821
0.222112
0.172311
0.172311
0.172311
0.172311
0.172311
0
0.012766
0.167257
1,411
43
75
32.813953
0.841702
0.388377
0
0.208333
0
0
0.010601
0
0
0
0
0
0.166667
1
0.125
false
0
0.208333
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5dc76ad37d386c3045e8ed5404e25dd2364d605
26,564
py
Python
src/xmltollvm.py
Tejvinder/thesis-ghidra
2e59bc48d6bb820ecf6b390e5cf5893fc6ea0216
[ "MIT" ]
101
2019-10-22T09:48:19.000Z
2022-03-30T07:03:40.000Z
src/xmltollvm.py
Tejvinder/thesis-ghidra
2e59bc48d6bb820ecf6b390e5cf5893fc6ea0216
[ "MIT" ]
4
2020-03-06T14:18:47.000Z
2021-11-05T04:10:59.000Z
src/xmltollvm.py
Tejvinder/thesis-ghidra
2e59bc48d6bb820ecf6b390e5cf5893fc6ea0216
[ "MIT" ]
15
2019-10-22T13:12:39.000Z
2022-03-04T20:08:06.000Z
from llvmlite import ir import xml.etree.ElementTree as et int32 = ir.IntType(32) int64 = ir.IntType(64) int1 = ir.IntType(1) void_type = ir.VoidType() function_names = [] registers, functions, uniques, extracts = {}, {}, {}, {} internal_functions = {} memory = {} flags = ["ZF", "CF", "OF", "SF"] pointers = ["RSP", "R...
49.932331
118
0.571074
3,003
26,564
4.885115
0.084582
0.07362
0.092706
0.101431
0.730539
0.675596
0.651738
0.599932
0.537014
0.510907
0
0.010864
0.306994
26,564
532
119
49.932331
0.786029
0.012686
0
0.46856
0
0
0.094969
0.002403
0
0
0.000114
0
0
1
0.022312
false
0.002028
0.004057
0
0.052738
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5dc93546bee372b907de208f03583a6f68c3b62
925
py
Python
modules/WPSeku/modules/discovery/generic/wplisting.py
Farz7/Darkness
4f3eb5fee3d8a476d001ad319ca22bca274eeac9
[ "MIT" ]
18
2020-04-24T06:50:23.000Z
2022-03-14T08:00:38.000Z
modules/WPSeku/modules/discovery/generic/wplisting.py
Farz7/Darkness
4f3eb5fee3d8a476d001ad319ca22bca274eeac9
[ "MIT" ]
null
null
null
modules/WPSeku/modules/discovery/generic/wplisting.py
Farz7/Darkness
4f3eb5fee3d8a476d001ad319ca22bca274eeac9
[ "MIT" ]
5
2020-06-28T16:21:22.000Z
2022-01-30T14:17:32.000Z
#/usr/bin/env python # -*- Coding: UTF-8 -*- # # WPSeku: Wordpress Security Scanner # # @url: https://github.com/m4ll0k/WPSeku # @author: Momo Outaadi (M4ll0k) import re from lib import wphttp from lib import wpprint class wplisting: chk = wphttp.UCheck() out = wpprint.wpprint() def __init__(self,agent,proxy...
24.342105
82
0.656216
131
925
4.587786
0.541985
0.044925
0.043261
0
0
0
0
0
0
0
0
0.010652
0.188108
925
38
83
24.342105
0.789614
0.157838
0
0
0
0
0.141009
0
0
0
0
0
0
0
null
null
0.038462
0.115385
null
null
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
1
0
0
0
0
0
0
0
0
1
d5deac526ab7e57ca5c90998d8462e6ef3d52eff
350
py
Python
tw2/jit/widgets/__init__.py
toscawidgets/tw2.jit
c5e8059975115385f225029ba5c7380673524122
[ "MIT" ]
1
2020-01-12T05:11:24.000Z
2020-01-12T05:11:24.000Z
tw2/jit/widgets/__init__.py
toscawidgets/tw2.jit
c5e8059975115385f225029ba5c7380673524122
[ "MIT" ]
null
null
null
tw2/jit/widgets/__init__.py
toscawidgets/tw2.jit
c5e8059975115385f225029ba5c7380673524122
[ "MIT" ]
null
null
null
from tw2.jit.widgets.chart import (AreaChart, BarChart, PieChart) from tw2.jit.widgets.graph import (ForceDirectedGraph, RadialGraph) from tw2.jit.widgets.tree import (SpaceTree, HyperTree, Sunburst, Icicle, TreeMap) from tw2.jit.widgets.ajax import AjaxRadialGraph from tw2.jit.widget...
43.75
67
0.742857
42
350
6.190476
0.52381
0.134615
0.192308
0.326923
0
0
0
0
0
0
0
0.017361
0.177143
350
7
68
50
0.885417
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
1
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
1
0
1
0
1
0
0
6
d5dfc52594a99b2ee5b9d8578f257b3fdecb0fcf
4,726
py
Python
bot.py
tiianprb/TikTok-Downloader-Bot
91b6fd64d5a151c3e439772c69850a18b7562ceb
[ "MIT" ]
null
null
null
bot.py
tiianprb/TikTok-Downloader-Bot
91b6fd64d5a151c3e439772c69850a18b7562ceb
[ "MIT" ]
null
null
null
bot.py
tiianprb/TikTok-Downloader-Bot
91b6fd64d5a151c3e439772c69850a18b7562ceb
[ "MIT" ]
null
null
null
import json, requests, os, shlex, asyncio, uuid, shutil from typing import Tuple from pyrogram import Client, filters from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup, CallbackQuery # Configs API_HASH = os.environ['API_HASH'] APP_ID = int(os.environ['APP_ID']) BOT_TOKEN = os.environ['BOT_T...
33.757143
152
0.643039
634
4,726
4.711356
0.252366
0.030465
0.060261
0.049213
0.504185
0.483763
0.483763
0.483763
0.483763
0.483763
0
0.008463
0.199958
4,726
139
153
34
0.781539
0.019044
0
0.575
0
0.008333
0.139929
0
0
0
0
0
0
1
0
false
0
0.033333
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5e12ba6cbfd755e451e70540ba00bbbd7d6bc8c
24,254
py
Python
frontend-gui/rpanel.py
skyu0221/660-iot
d31f973c93871bfa8122f1b83364d0147d402e9e
[ "Apache-2.0" ]
null
null
null
frontend-gui/rpanel.py
skyu0221/660-iot
d31f973c93871bfa8122f1b83364d0147d402e9e
[ "Apache-2.0" ]
8
2021-03-19T01:36:06.000Z
2022-03-12T00:22:43.000Z
frontend-gui/rpanel.py
skyu0221/660-iot
d31f973c93871bfa8122f1b83364d0147d402e9e
[ "Apache-2.0" ]
null
null
null
import wx import wx.adv import random import util import config import time import datetime import threading import requests import json from functools import partial class ReqeusterThread(threading.Thread): # https://www.oreilly.com/library/view/python-cookbook/0596001673/ch06s03.html def __init__(self, ...
34.599144
158
0.580564
2,968
24,254
4.55593
0.096361
0.024848
0.043485
0.054578
0.651679
0.59259
0.580905
0.5088
0.49327
0.479515
0
0.030045
0.293271
24,254
700
159
34.648571
0.758824
0.123196
0
0.464455
0
0
0.075221
0.000995
0
0
0
0
0
1
0.047393
false
0.00237
0.026066
0
0.085308
0.042654
0
0
0
null
0
0
0
0
0
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
1
0
d5e19c75c00ba0d6d2f1c4a0eb15f229a98c4904
7,259
py
Python
webapp/search.py
henchan/memfinity
3860985e29b203f0569f60eea68ffb22aaf34b1f
[ "MIT" ]
null
null
null
webapp/search.py
henchan/memfinity
3860985e29b203f0569f60eea68ffb22aaf34b1f
[ "MIT" ]
null
null
null
webapp/search.py
henchan/memfinity
3860985e29b203f0569f60eea68ffb22aaf34b1f
[ "MIT" ]
null
null
null
"""High-level search API. This module implements application-specific search semantics on top of App Engine's search API. There are two chief operations: querying for entities, and managing entities in the search facility. Add and remove Card entities in the search facility: insert_cards([models.Card]) delete_ca...
37.035714
81
0.667998
993
7,259
4.728097
0.277946
0.025346
0.024281
0.012141
0.083493
0.034292
0.021086
0
0
0
0
0.005597
0.236947
7,259
195
82
37.225641
0.842029
0.402673
0
0.05
0
0
0.045155
0
0
0
0
0.010256
0.01
1
0.1
false
0
0.03
0.01
0.21
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d5e280ff84ed8b441621c5c137faf53691c8d37c
3,422
py
Python
Bot/Bot/board.py
Baidi96/AI-Agent-for-Light-Rider
6ae0cd4ea07248751c0f015ed74123ae3dec33d1
[ "MIT" ]
1
2019-12-18T08:24:22.000Z
2019-12-18T08:24:22.000Z
Bot/Bot/board.py
Baidi96/AI-Agent-for-Light-Rider
6ae0cd4ea07248751c0f015ed74123ae3dec33d1
[ "MIT" ]
null
null
null
Bot/Bot/board.py
Baidi96/AI-Agent-for-Light-Rider
6ae0cd4ea07248751c0f015ed74123ae3dec33d1
[ "MIT" ]
null
null
null
import copy import sys PLAYER1, PLAYER2, EMPTY, BLOCKED = [0, 1, 2, 3] S_PLAYER1, S_PLAYER2, S_EMPTY, S_BLOCKED, = ['0', '1', '.', 'x'] CHARTABLE = [(PLAYER1, S_PLAYER1), (PLAYER2, S_PLAYER2), (EMPTY, S_EMPTY), (BLOCKED, S_BLOCKED)] DIRS = [ ((-1, 0), "up"), ((1, 0), "down"), ((0, 1), "right"), ((0, ...
29.247863
124
0.504383
457
3,422
3.636761
0.183807
0.057762
0.033093
0.042118
0.138387
0.104693
0.028881
0.028881
0.028881
0
0
0.018097
0.370251
3,422
116
125
29.5
0.753132
0.009643
0
0.173469
0
0
0.007674
0
0
0
0
0
0
1
0.132653
false
0.010204
0.020408
0.010204
0.244898
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5e2b128cd1d2cb827ad4460d329a4ebc4a12998
884
py
Python
baekjoon/1012.py
wonnerky/coteMaster
360e491e6342c1ee42ff49750b838a2ead865613
[ "Apache-2.0" ]
null
null
null
baekjoon/1012.py
wonnerky/coteMaster
360e491e6342c1ee42ff49750b838a2ead865613
[ "Apache-2.0" ]
null
null
null
baekjoon/1012.py
wonnerky/coteMaster
360e491e6342c1ee42ff49750b838a2ead865613
[ "Apache-2.0" ]
null
null
null
import sys sys.setrecursionlimit(10000) def dfs(r, c): global visit visit[r][c] = True mov = [(-1, 0), (0, -1), (1, 0), (0, 1)] for i in range(4): dr, dc = mov[i] nr, nc = r + dr, c + dc if 0 <= nr < N and 0 <= nc < M and visit[nr][nc] == False and board[nr][nc] == 1: ...
27.625
90
0.417421
138
884
2.644928
0.282609
0.134247
0.109589
0.021918
0.180822
0
0
0
0
0
0
0.042471
0.414027
884
32
91
27.625
0.662162
0
0
0
0
0
0
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.068966
0.103448
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5e2b817212060ef7c5fee7505c4febd057adc71
5,827
py
Python
collection/cp/algorithms-master/python/binary_tree.py
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/algorithms-master/python/binary_tree.py
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/algorithms-master/python/binary_tree.py
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
""" Binary Tree and basic properties 1. In-Order Traversal 2. Pre-Order Traversal 3. Post-Order Traversal 4. Level-Order Traversal """ from collections import deque class BinaryTree(object): """ Representation of a general binary tree data: value of element left: Left subtree right: Right subtree ...
33.488506
120
0.579372
744
5,827
4.428763
0.157258
0.073748
0.027314
0.030956
0.557511
0.509863
0.509863
0.472231
0.435812
0.395448
0
0.012182
0.351982
5,827
173
121
33.682081
0.860434
0.386477
0
0.505747
0
0
0.030284
0
0
0
0
0
0.045977
1
0.091954
false
0
0.011494
0
0.16092
0.045977
0
0
0
null
0
0
0
0
0
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
1
0
d5e30ec5517ff0e5f54798d022557ddc8306de32
445
py
Python
custom_components/vaddio_conferenceshot/const.py
rohankapoorcom/vaddio_conferenceshot
71744710df10f77e21e9e7568e3f6c7175b0d11d
[ "Apache-2.0" ]
null
null
null
custom_components/vaddio_conferenceshot/const.py
rohankapoorcom/vaddio_conferenceshot
71744710df10f77e21e9e7568e3f6c7175b0d11d
[ "Apache-2.0" ]
null
null
null
custom_components/vaddio_conferenceshot/const.py
rohankapoorcom/vaddio_conferenceshot
71744710df10f77e21e9e7568e3f6c7175b0d11d
[ "Apache-2.0" ]
null
null
null
import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_PATH, CONF_USERNAME DOMAIN = "vaddio_conferenceshot" DATA_SCHEMA = vol.Schema( { vol.Required(CONF_HOST): cv.string, vol.Required(CONF_USERNAME): cv.string,...
24.722222
82
0.750562
58
445
5.482759
0.517241
0.103774
0.141509
0.119497
0.144654
0
0
0
0
0
0
0
0.161798
445
17
83
26.176471
0.852547
0
0
0
0
0
0.092135
0.047191
0
0
0
0
0
1
0
false
0.153846
0.230769
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d5e3869d32d3fe51b72766bc724a95897a33b8c9
32,841
py
Python
lightonml/opu.py
lightonai/lightonml
451327cccecdca4e8ec65df30f30d3fd8ad2194f
[ "Apache-2.0" ]
27
2021-02-24T15:37:20.000Z
2022-01-12T00:28:22.000Z
lightonml/opu.py
lightonai/lightonml
451327cccecdca4e8ec65df30f30d3fd8ad2194f
[ "Apache-2.0" ]
4
2021-02-26T12:58:21.000Z
2021-09-10T09:54:49.000Z
lightonml/opu.py
lightonai/lightonml
451327cccecdca4e8ec65df30f30d3fd8ad2194f
[ "Apache-2.0" ]
9
2021-02-26T15:58:32.000Z
2021-06-21T09:18:48.000Z
# Copyright (c) 2020 LightOn, All Rights Reserved. # This file is subject to the terms and conditions defined in # file 'LICENSE.txt', which is part of this source code package. """ This module contains the OPU class """ import time from math import sqrt import pkg_resources from lightonml.encoding.base import NoEnco...
44.319838
114
0.645595
4,068
32,841
5.048673
0.146264
0.017528
0.009933
0.00779
0.384069
0.334989
0.304996
0.300224
0.282063
0.262392
0
0.004078
0.283152
32,841
740
115
44.37973
0.86832
0.392832
0
0.23796
0
0
0.114696
0.007588
0
0
0
0.001351
0.031161
1
0.084986
false
0.022663
0.07932
0.011331
0.226629
0.014164
0
0
0
null
0
0
0
0
0
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
1
0
d5e4c8d6143747e9fa0113815e838834d857b208
1,022
py
Python
example/shovel/bar.py
demiurgestudios/shovel
3db497164907d3765fae182959147d19064671c7
[ "MIT" ]
202
2015-01-12T13:47:29.000Z
2022-02-09T19:13:36.000Z
example/shovel/bar.py
demiurgestudios/shovel
3db497164907d3765fae182959147d19064671c7
[ "MIT" ]
14
2017-04-09T17:04:53.000Z
2021-05-16T11:08:34.000Z
example/shovel/bar.py
demiurgestudios/shovel
3db497164907d3765fae182959147d19064671c7
[ "MIT" ]
22
2015-09-11T18:35:10.000Z
2021-05-16T11:04:56.000Z
from shovel import task @task def hello(name='Foo'): '''Prints "Hello, " followed by the provided name. Examples: shovel bar.hello shovel bar.hello --name=Erin http://localhost:3000/bar.hello?Erin''' print('Hello, %s' % name) @task def args(*args): '''Echos back all the ar...
27.621622
65
0.614481
148
1,022
4.243243
0.385135
0.057325
0.08121
0.095541
0.417197
0.235669
0.200637
0.200637
0
0
0
0.031788
0.261252
1,022
37
66
27.621622
0.8
0.619374
0
0.25
0
0
0.154362
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.333333
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d5e5a12f0690f68a0f2da693b51965dfe681eeea
22,938
py
Python
scripts/external_libs/scapy-2.4.3/scapy/config.py
timgates42/trex-core
efe94752fcb2d0734c83d4877afe92a3dbf8eccd
[ "Apache-2.0" ]
956
2015-06-24T15:04:55.000Z
2022-03-30T06:25:04.000Z
scripts/external_libs/scapy-2.4.3/scapy/config.py
angelyouyou/trex-core
fddf78584cae285d9298ef23f9f5c8725e16911e
[ "Apache-2.0" ]
782
2015-09-20T15:19:00.000Z
2022-03-31T23:52:05.000Z
scripts/external_libs/scapy-2.4.3/scapy/config.py
angelyouyou/trex-core
fddf78584cae285d9298ef23f9f5c8725e16911e
[ "Apache-2.0" ]
429
2015-06-27T19:34:21.000Z
2022-03-23T11:02:51.000Z
# This file is part of Scapy # See http://www.secdev.org/projects/scapy for more information # Copyright (C) Philippe Biondi <phil@secdev.org> # This program is published under a GPLv2 license """ Implementation of the configuration object. """ from __future__ import absolute_import from __future__ import print_funct...
33.584187
122
0.624161
2,856
22,938
4.82423
0.22479
0.012774
0.006387
0.00871
0.146973
0.119756
0.097692
0.085426
0.06358
0.06358
0
0.017981
0.275046
22,938
682
123
33.633431
0.810572
0.187287
0
0.171717
0
0
0.064815
0.002007
0
0
0
0
0
1
0.131313
false
0.008081
0.074747
0.016162
0.523232
0.00404
0
0
0
null
0
0
0
0
0
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
1
0
d5e70f438163ee68472f800dcc1f45bfb446e30f
5,797
py
Python
tests/base/test_server.py
Prodigy123/rasa_nlu_zh
b85717063a493f6b148504ee550a0642c6c379ae
[ "Apache-2.0" ]
4
2017-07-20T03:06:29.000Z
2021-04-20T03:25:17.000Z
tests/base/test_server.py
imsakshi/rasa_nlu
6dafc37825b99139248fdea9e9745f416734d4dd
[ "Apache-2.0" ]
null
null
null
tests/base/test_server.py
imsakshi/rasa_nlu
6dafc37825b99139248fdea9e9745f416734d4dd
[ "Apache-2.0" ]
2
2017-10-03T00:56:22.000Z
2018-08-15T10:41:41.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import import tempfile import pytest import time from treq.testing import StubTreq from rasa_nlu.config import RasaNLUConfig import json import io fr...
32.205556
104
0.656719
709
5,797
5.19464
0.234133
0.036655
0.048873
0.068422
0.503665
0.473799
0.459408
0.437958
0.3489
0.309802
0
0.01256
0.203381
5,797
179
105
32.385475
0.784972
0.030533
0
0.461538
0
0
0.247185
0.020912
0
0
0
0
0.125874
1
0.076923
false
0
0.097902
0
0.188811
0.006993
0
0
0
null
0
0
0
0
0
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
1
0
d5e7507528f57c95fde0e247aa2531f1d8579112
15,277
py
Python
bugsnag/configuration.py
ForroKulcs/bugsnag-python
107c1add31a2202cc08ef944aa00ab96996b247a
[ "MIT" ]
null
null
null
bugsnag/configuration.py
ForroKulcs/bugsnag-python
107c1add31a2202cc08ef944aa00ab96996b247a
[ "MIT" ]
null
null
null
bugsnag/configuration.py
ForroKulcs/bugsnag-python
107c1add31a2202cc08ef944aa00ab96996b247a
[ "MIT" ]
null
null
null
import os import platform import socket import sysconfig from typing import List, Any, Tuple, Union import warnings from bugsnag.sessiontracker import SessionMiddleware from bugsnag.middleware import DefaultMiddleware, MiddlewareStack from bugsnag.utils import (fully_qualified_class_name, validate_str_setter, ...
31.695021
99
0.636185
1,714
15,277
5.456243
0.163944
0.023952
0.02021
0.027802
0.313195
0.155796
0.13719
0.066082
0.026946
0.015825
0
0.001204
0.292989
15,277
481
100
31.760915
0.864642
0.199057
0
0.173913
0
0
0.044747
0.008791
0
0
0
0
0
1
0.170569
false
0.003344
0.046823
0.006689
0.317726
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5e7f6433ef2aafee2885217cc2a65201e60c31e
587
py
Python
secret_injector/secret.py
failk8s/failk8s-operator
457890a09a2551b9002eec73386b11a37469569f
[ "Apache-2.0" ]
null
null
null
secret_injector/secret.py
failk8s/failk8s-operator
457890a09a2551b9002eec73386b11a37469569f
[ "Apache-2.0" ]
null
null
null
secret_injector/secret.py
failk8s/failk8s-operator
457890a09a2551b9002eec73386b11a37469569f
[ "Apache-2.0" ]
null
null
null
import kopf from .functions import global_logger, reconcile_secret @kopf.on.event("", "v1", "secrets") def injector_secret_event(type, event, logger, **_): obj = event["object"] namespace = obj["metadata"]["namespace"] name = obj["metadata"]["name"] # If secret already exists, indicated by type bein...
30.894737
67
0.67632
77
587
5.064935
0.597403
0.061538
0
0
0
0
0
0
0
0
0
0.002146
0.206133
587
18
68
32.611111
0.834764
0.289608
0
0
0
0
0.138015
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5e86c6edc684a9da3a98d63325e3f3c6ab77abb
25,390
py
Python
src/py/gee/utils.py
openforis/collectearthonline
1af48e373c393a1d8c48b17472f6aa6c41f65769
[ "MIT" ]
null
null
null
src/py/gee/utils.py
openforis/collectearthonline
1af48e373c393a1d8c48b17472f6aa6c41f65769
[ "MIT" ]
null
null
null
src/py/gee/utils.py
openforis/collectearthonline
1af48e373c393a1d8c48b17472f6aa6c41f65769
[ "MIT" ]
null
null
null
import datetime import os import ee import math import sys import json from ee.ee_exception import EEException from gee.inputs import getLandsat, getS1 ########## Helper functions ########## def initialize(ee_account='', ee_key_path=''): try: if ee_account and ee_key_path and os.path.exis...
38.704268
130
0.605593
2,617
25,390
5.838365
0.185327
0.032463
0.021598
0.014137
0.387394
0.317691
0.278814
0.252634
0.236861
0.213496
0
0.038154
0.24746
25,390
655
131
38.763359
0.761501
0.035841
0
0.294231
0
0.059615
0.12065
0.026416
0
0
0
0.001527
0
1
0.094231
false
0.003846
0.015385
0.015385
0.244231
0.001923
0
0
0
null
0
0
0
0
0
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
1
0
d5e8cedec4a5704ab1636f88d9b806e93b86ff8a
1,186
py
Python
userManagement/management/urls.py
shubhamguptaorg/user_managementl
ad98e0e4886d9b0547b05ae424c10d8f6268d470
[ "MIT" ]
null
null
null
userManagement/management/urls.py
shubhamguptaorg/user_managementl
ad98e0e4886d9b0547b05ae424c10d8f6268d470
[ "MIT" ]
4
2021-03-19T03:22:44.000Z
2022-03-11T23:58:10.000Z
userManagement/management/urls.py
shubhamguptaorg/user_managementl
ad98e0e4886d9b0547b05ae424c10d8f6268d470
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path,include from django.views.generic import TemplateView from .views import Index,SignUp,UserDashboard,AdminDashboard,logout,showAdminData,deleteuser,activeUser,deactiveUser,UserDetailEdit,uploadImage # from .views import Index,UserDashboard,SignUp,AdminDashboa...
49.416667
143
0.764755
122
1,186
7.377049
0.270492
0.04
0.066667
0.044444
0
0
0
0
0
0
0
0
0.080101
1,186
23
144
51.565217
0.824931
0.077572
0
0
0
0
0.331193
0.156881
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5e96b9312873b5f396a18010caddd4d11bd8888
16,962
py
Python
sickbeard/lib/hachoir_parser/container/riff.py
Branlala/docker-sickbeardfr
3ac85092dc4cc8a4171fb3c83e9682162245e13e
[ "MIT" ]
null
null
null
sickbeard/lib/hachoir_parser/container/riff.py
Branlala/docker-sickbeardfr
3ac85092dc4cc8a4171fb3c83e9682162245e13e
[ "MIT" ]
null
null
null
sickbeard/lib/hachoir_parser/container/riff.py
Branlala/docker-sickbeardfr
3ac85092dc4cc8a4171fb3c83e9682162245e13e
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- """ RIFF parser, able to parse: * AVI video container * WAV audio container * CDA file Documents: - libavformat source code from ffmpeg library http://ffmpeg.mplayerhq.hu/ - Video for Windows Programmer's Guide http://www.opennet.ru/docs/formats/avi.txt - What is an animated curso...
38.55
103
0.614432
2,069
16,962
4.958434
0.212663
0.054586
0.076031
0.00926
0.172336
0.107905
0.064919
0.058485
0.035676
0.027878
0
0.027067
0.242012
16,962
439
104
38.637813
0.770864
0.092619
0
0.147929
0
0
0.274117
0.001633
0
0
0.000392
0.002278
0
1
0.085799
false
0
0.026627
0
0.210059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5eae8227c1380d3fce1267b4a1949ca968db82b
1,041
py
Python
Utils.py
MartinEngen/NaiveBayesianClassifier
a28813708a4d2adcdcd629e6d4d8b4f438a9c799
[ "MIT" ]
null
null
null
Utils.py
MartinEngen/NaiveBayesianClassifier
a28813708a4d2adcdcd629e6d4d8b4f438a9c799
[ "MIT" ]
null
null
null
Utils.py
MartinEngen/NaiveBayesianClassifier
a28813708a4d2adcdcd629e6d4d8b4f438a9c799
[ "MIT" ]
null
null
null
import os import re def get_subfolder_paths(folder_relative_path: str) -> list: """ Gets all subfolders of a given path :param folder_relative_path: Relative path of folder to find subfolders of :return: list of relative paths to any subfolders """ return [f.path for f in os.scandir(folder_rel...
30.617647
83
0.659942
154
1,041
4.246753
0.409091
0.045872
0.067278
0.061162
0
0
0
0
0
0
0
0.002415
0.204611
1,041
33
84
31.545455
0.78744
0.178674
0
0
0
0
0.031288
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0.105263
0.526316
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
1
0
0
3
d5eb56662663b212c6709a52f8fbe61a75880b3c
800
py
Python
tools/ldbc_benchmark/neo4j/load_scripts/time_index.py
carlboudreau007/ecosys
d415143837a85ceb6213a0f0588128a86a4a3984
[ "Apache-2.0" ]
245
2018-04-07T00:14:56.000Z
2022-03-28T05:51:35.000Z
tools/ldbc_benchmark/neo4j/load_scripts/time_index.py
carlboudreau007/ecosys
d415143837a85ceb6213a0f0588128a86a4a3984
[ "Apache-2.0" ]
47
2018-04-02T16:41:22.000Z
2022-03-24T01:40:46.000Z
tools/ldbc_benchmark/neo4j/load_scripts/time_index.py
carlboudreau007/ecosys
d415143837a85ceb6213a0f0588128a86a4a3984
[ "Apache-2.0" ]
140
2018-08-09T15:54:47.000Z
2022-03-30T12:44:48.000Z
from datetime import datetime with open('/home/neo4j/neo4j-community-3.5.1/logs/debug.log', 'r') as log: begin = [] end = [] for line in log: if 'Index population started' in line: begin.append(line[:23]) elif 'Index creation finished' in line: end.append(line[:23]) if len(begin) == 0 or le...
34.782609
77
0.6175
128
800
3.796875
0.46875
0.065844
0.049383
0.016461
0.032922
0.032922
0.032922
0.032922
0
0
0
0.021807
0.1975
800
22
78
36.363636
0.735202
0
0
0
0
0
0.28375
0.06
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0.15
0
0
0
null
0
0
0
0
0
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
1
0
d5ec93a99d9c113668c2693c8d65499328f692cd
1,489
py
Python
zf-setup.py
Ziki2001/new-school-sdk
b606e666888e1c9813e2f1a6a64bbede3744026e
[ "MIT" ]
null
null
null
zf-setup.py
Ziki2001/new-school-sdk
b606e666888e1c9813e2f1a6a64bbede3744026e
[ "MIT" ]
null
null
null
zf-setup.py
Ziki2001/new-school-sdk
b606e666888e1c9813e2f1a6a64bbede3744026e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' :file: setup.py :author: -Farmer :url: https://blog.farmer233.top :date: 2021/09/20 11:11:54 ''' from os import path from setuptools import setup, find_packages basedir = path.abspath(path.dirname(__file__)) with open(path.join(basedir, "README.md"), encoding='utf-8') as f...
26.589286
70
0.620551
172
1,489
5.244186
0.662791
0.066519
0.02439
0.066519
0
0
0
0
0
0
0
0.021701
0.226326
1,489
56
71
26.589286
0.761285
0.126931
0
0
0
0
0.403454
0
0
0
0
0
0
1
0
false
0
0.051282
0
0.051282
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5ecb68fc8ba51b00e1a946759c8f1a77d41211f
1,635
py
Python
RunIt/airt/poker_cards.py
antx-code/funcode
a8a9b99274e169562771b488a3a9551277ef4b99
[ "MIT" ]
3
2021-09-27T08:07:07.000Z
2022-03-11T04:46:30.000Z
RunIt/airt/poker_cards.py
antx-code/funcode
a8a9b99274e169562771b488a3a9551277ef4b99
[ "MIT" ]
null
null
null
RunIt/airt/poker_cards.py
antx-code/funcode
a8a9b99274e169562771b488a3a9551277ef4b99
[ "MIT" ]
null
null
null
# Square 方片 => sq => RGB蓝色(Blue) # Plum 梅花 => pl => RGB绿色(Green) # Spade 黑桃 => sp => RGB黑色(Black) # Heart 红桃 => he => RGB红色(Red) init_poker = { 'local': { 'head': [-1, -1, -1], 'mid': [-1, -1, -1, -1, -1], 'tail': [-1, -1, -1, -1, -1], 'drop': [-1, -1...
14.469027
40
0.263609
227
1,635
1.889868
0.38326
0.20979
0.20979
0.13986
0.272727
0.272727
0.272727
0.272727
0.272727
0.272727
0
0.22103
0.429969
1,635
112
41
14.598214
0.23927
0.107645
0
0.153061
0
0
0.10069
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
1
1
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
5
d5edbea518993ed30402ca6ed7151f569ce035ff
42
py
Python
main.py
reflective21/iportfolio
39db626a9754c1df44ac698f3d8988fdc4e7c6d5
[ "MIT" ]
null
null
null
main.py
reflective21/iportfolio
39db626a9754c1df44ac698f3d8988fdc4e7c6d5
[ "MIT" ]
null
null
null
main.py
reflective21/iportfolio
39db626a9754c1df44ac698f3d8988fdc4e7c6d5
[ "MIT" ]
null
null
null
name = "David Asiru Adetomiwa" print(name)
21
30
0.761905
6
42
5.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.119048
42
2
31
21
0.864865
0
0
0
0
0
0.488372
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
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
1
0
4
d5edd2119227be04c5621c163a6292b04c441de0
10,716
py
Python
tcex/services/api_service.py
kdeltared/tcex
818c0d09256764f871e42d9ca5916f92d941d882
[ "Apache-2.0" ]
null
null
null
tcex/services/api_service.py
kdeltared/tcex
818c0d09256764f871e42d9ca5916f92d941d882
[ "Apache-2.0" ]
null
null
null
tcex/services/api_service.py
kdeltared/tcex
818c0d09256764f871e42d9ca5916f92d941d882
[ "Apache-2.0" ]
null
null
null
"""TcEx Framework API Service module.""" # standard library import json import sys import threading import traceback from io import BytesIO from typing import Any from .common_service import CommonService class ApiService(CommonService): """TcEx Framework API Service module.""" def __init__(self, tcex: obje...
38.271429
100
0.535741
1,131
10,716
4.971706
0.220159
0.028632
0.019918
0.04695
0.295038
0.27014
0.254846
0.223546
0.201672
0.176774
0
0.004131
0.344905
10,716
279
101
38.408602
0.796866
0.205767
0
0.216374
0
0.005848
0.196624
0.041271
0
0
0
0.003584
0
1
0.046784
false
0
0.040936
0
0.122807
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5ee43eaf3c3033dcd289654572ab9b3e0e7b99a
1,540
py
Python
mmpose/core/optimizer/builder.py
vsatyakumar/mmpose
2fffccb19dad3b59184b41be94653f75523b8585
[ "Apache-2.0" ]
1
2021-05-06T08:40:13.000Z
2021-05-06T08:40:13.000Z
mmpose/core/optimizer/builder.py
CV-IP/mmpose
3ef8e6dbbeb6262b7ed6c51faa74b83c23f4c6a1
[ "Apache-2.0" ]
null
null
null
mmpose/core/optimizer/builder.py
CV-IP/mmpose
3ef8e6dbbeb6262b7ed6c51faa74b83c23f4c6a1
[ "Apache-2.0" ]
null
null
null
from mmcv.runner import build_optimizer def build_optimizers(model, cfgs): """Build multiple optimizers from configs. If `cfgs` contains several dicts for optimizers, then a dict for each constructed optimizers will be returned. If `cfgs` only contains one optimizer config, the constructed optimizer ...
29.056604
78
0.635065
190
1,540
5.105263
0.378947
0.051546
0.097938
0.040206
0.124742
0.109278
0.049485
0
0
0
0
0.005249
0.257792
1,540
52
79
29.615385
0.843395
0.627922
0
0
0
0
0.012658
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5eeb5cec1758e31f96e4ef111f8b5ec32383697
1,189
py
Python
register/views.py
angel-vazquez25/My-Backlog-Handler
60880cfc6bcc5a7fb2d5c752c11bdfe741f76531
[ "MIT" ]
3
2021-05-11T20:56:41.000Z
2022-03-15T01:26:13.000Z
register/views.py
angel-vazquez25/My-Backlog-Handler
60880cfc6bcc5a7fb2d5c752c11bdfe741f76531
[ "MIT" ]
null
null
null
register/views.py
angel-vazquez25/My-Backlog-Handler
60880cfc6bcc5a7fb2d5c752c11bdfe741f76531
[ "MIT" ]
1
2021-05-19T15:46:32.000Z
2021-05-19T15:46:32.000Z
import datetime from django.contrib.auth import logout from django.shortcuts import render, redirect from .forms import RegisterForm from django.http import HttpResponse from django.contrib.auth.forms import AuthenticationForm from django.conf import settings from django.contrib.auth import authenticate, login from dj...
33.971429
91
0.641716
126
1,189
6
0.444444
0.10582
0.089947
0.083333
0.071429
0
0
0
0
0
0
0.001164
0.277544
1,189
34
92
34.970588
0.878929
0.081581
0
0.153846
0
0
0.057958
0.020239
0
0
0
0
0
1
0.038462
false
0.038462
0.384615
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
d5eefeb4c414f13bc2793346ebb57b29f5de79db
572
py
Python
forum/migrations/0001_initial.py
Aerodlyn/mu
2c3b95e5a83d0f651dd8ad287b471803e1fec3a1
[ "MIT" ]
1
2021-06-25T22:27:39.000Z
2021-06-25T22:27:39.000Z
forum/migrations/0001_initial.py
Aerodlyn/mu
2c3b95e5a83d0f651dd8ad287b471803e1fec3a1
[ "MIT" ]
1
2022-03-12T00:55:31.000Z
2022-03-12T00:55:31.000Z
forum/migrations/0001_initial.py
Aerodlyn/mu
2c3b95e5a83d0f651dd8ad287b471803e1fec3a1
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-26 01:27 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Community', fields=[ ('name', models.CharFi...
23.833333
93
0.552448
53
572
5.924528
0.792453
0
0
0
0
0
0
0
0
0
0
0.043702
0.31993
572
23
94
24.869565
0.763496
0.078671
0
0
1
0
0.066667
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5efef002e68abbec6057f8677301ab26bdc9a66
16,846
py
Python
custom_train.py
shirley-wu/text_to_table
44cb100b8ff2543b5b4efe1461502c00c34ef846
[ "MIT" ]
3
2022-03-17T05:55:23.000Z
2022-03-30T08:34:14.000Z
custom_train.py
shirley-wu/text_to_table
44cb100b8ff2543b5b4efe1461502c00c34ef846
[ "MIT" ]
1
2022-03-30T09:04:54.000Z
2022-03-30T09:04:54.000Z
custom_train.py
shirley-wu/text_to_table
44cb100b8ff2543b5b4efe1461502c00c34ef846
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 -u # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Train a new model on one or across multiple GPUs. """ import collections import logging import math import os im...
36.306034
114
0.633919
2,120
16,846
4.789623
0.171226
0.022848
0.012803
0.011818
0.348533
0.293776
0.219125
0.200315
0.167323
0.143983
0
0.003597
0.273893
16,846
463
115
36.384449
0.826521
0.10038
0
0.208092
0
0
0.06815
0.007087
0
0
0
0
0.00289
1
0.034682
false
0
0.046243
0.00578
0.124277
0.00578
0
0
0
null
0
0
0
0
0
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
1
0
d5eff585130a0defb51fd844556d3dea1143c55d
18,862
py
Python
src/ucar/unidata/idv/resources/python/griddiag.py
JessicaWiedemeier/IDV
e5f67c755cc95f8ad2123bdc45a91f0e5eca0d64
[ "CNRI-Jython" ]
1
2021-06-09T11:24:48.000Z
2021-06-09T11:24:48.000Z
src/ucar/unidata/idv/resources/python/griddiag.py
JessicaWiedemeier/IDV
e5f67c755cc95f8ad2123bdc45a91f0e5eca0d64
[ "CNRI-Jython" ]
null
null
null
src/ucar/unidata/idv/resources/python/griddiag.py
JessicaWiedemeier/IDV
e5f67c755cc95f8ad2123bdc45a91f0e5eca0d64
[ "CNRI-Jython" ]
null
null
null
""" This is the doc for the Grid Diagnostics module. These functions are based on the grid diagnostics from the GEneral Meteorological PAcKage (GEMPAK). Note that the names are case sensitive and some are named slightly different from GEMPAK functions to avoid conflicts with Jython built-ins (e.g. st...
26.75461
89
0.584721
2,684
18,862
4.100596
0.152385
0.044339
0.077594
0.018808
0.494821
0.429675
0.404052
0.350809
0.320462
0.276576
0
0.024786
0.264182
18,862
704
90
26.792614
0.768211
0.590658
0
0.078431
0
0
0.012306
0
0
0
0
0
0
1
0.382353
false
0
0
0
0.77451
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d5effb4acc4b4904be8e5099e47cd060230843fe
2,376
py
Python
app.py
DevilBit/Twitter-Bot
6f1b285aeb5faf37906d575775a927e69a5321d6
[ "MIT" ]
null
null
null
app.py
DevilBit/Twitter-Bot
6f1b285aeb5faf37906d575775a927e69a5321d6
[ "MIT" ]
null
null
null
app.py
DevilBit/Twitter-Bot
6f1b285aeb5faf37906d575775a927e69a5321d6
[ "MIT" ]
1
2021-03-08T20:05:23.000Z
2021-03-08T20:05:23.000Z
from selenium import webdriver #to get the browser from selenium.webdriver.common.keys import Keys #to send key to browser import getpass #to get password safely import time #to pause the program #a calss to store all twetter related objects and functions class twitter_bot: def __init__(self, username, pas...
34.941176
95
0.603114
295
2,376
4.718644
0.359322
0.051724
0.039511
0.045977
0.119971
0.074713
0.038793
0
0
0
0
0.010241
0.301347
2,376
67
96
35.462687
0.828313
0.170875
0
0.191489
0
0
0.140964
0.014308
0
0
0
0
0
1
0.06383
false
0.170213
0.085106
0
0.170213
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d5f13f54fb0bf75e7d45a4d1bb426a38fb3fb255
3,403
py
Python
visualization.py
shyhyawJou/GradCAM-pytorch
8159f077552fc71055fe97c17bf8544d32cc8b0f
[ "Apache-2.0" ]
null
null
null
visualization.py
shyhyawJou/GradCAM-pytorch
8159f077552fc71055fe97c17bf8544d32cc8b0f
[ "Apache-2.0" ]
null
null
null
visualization.py
shyhyawJou/GradCAM-pytorch
8159f077552fc71055fe97c17bf8544d32cc8b0f
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn from torch.nn import functional as F from PIL import Image import cv2 as cv from matplotlib import cm import numpy as np class GradCAM: """ #### Args: layer_name: module name (not child name), if None, will use the last layer befor...
34.72449
85
0.528945
416
3,403
4.151442
0.300481
0.062536
0.034742
0.015055
0.104227
0.08454
0.061378
0.032426
0.032426
0.032426
0
0.015242
0.363797
3,403
97
86
35.082474
0.782448
0.083162
0
0.117647
0
0
0.034771
0
0
0
0
0
0
1
0.073529
false
0
0.102941
0
0.220588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5f302c5d8d693812839ea69e155909e598db642
19,149
py
Python
frame_2D_alg/alternative versions/intra_blob_xy.py
Mechachleopteryx/CogAlg
723104e1f57010e52f1dc249ba53ba58db0a991b
[ "MIT" ]
null
null
null
frame_2D_alg/alternative versions/intra_blob_xy.py
Mechachleopteryx/CogAlg
723104e1f57010e52f1dc249ba53ba58db0a991b
[ "MIT" ]
null
null
null
frame_2D_alg/alternative versions/intra_blob_xy.py
Mechachleopteryx/CogAlg
723104e1f57010e52f1dc249ba53ba58db0a991b
[ "MIT" ]
null
null
null
''' 2D version of 1st-level algorithm is a combination of frame_blobs, intra_blob, and comp_P: optional raster-to-vector conversion. intra_blob recursively evaluates each blob for two forks of extended internal cross-comparison and sub-clustering: der+: incremental derivation cross-comp in high-variati...
44.740654
144
0.576584
2,827
19,149
3.700035
0.140785
0.034417
0.024092
0.005736
0.225621
0.205736
0.190153
0.16262
0.142925
0.139866
0
0.016623
0.318293
19,149
428
145
44.740654
0.784664
0.353804
0
0.293729
0
0
0.001977
0
0
0
0
0
0
1
0.026403
false
0
0.029703
0
0.224422
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5f33371ef4b57ee6f5f8e58e37840bbabd0819e
10,275
py
Python
examples/pybullet/gym/pybullet_envs/minitaur/envs/env_randomizers/minitaur_terrain_randomizer.py
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
9,136
2015-01-02T00:41:45.000Z
2022-03-31T15:30:02.000Z
examples/pybullet/gym/pybullet_envs/minitaur/envs/env_randomizers/minitaur_terrain_randomizer.py
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
2,424
2015-01-05T08:55:58.000Z
2022-03-30T19:34:55.000Z
examples/pybullet/gym/pybullet_envs/minitaur/envs/env_randomizers/minitaur_terrain_randomizer.py
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
2,921
2015-01-02T10:19:30.000Z
2022-03-31T02:48:42.000Z
"""Generates a random terrain at Minitaur gym environment reset.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os, inspect currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(os.path...
35.309278
98
0.706667
1,519
10,275
4.553654
0.21264
0.021975
0.013156
0.007518
0.237675
0.183895
0.127078
0.061443
0.052479
0.040335
0
0.013917
0.21674
10,275
290
99
35.431034
0.845552
0.42219
0
0.034188
1
0
0.016667
0.016667
0
0
0
0
0
1
0.111111
false
0
0.076923
0
0.299145
0.008547
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5f35dd267171d89db5d5ed7c57d46dbcf723ae2
2,502
py
Python
polecat/db/sql/expression/values.py
furious-luke/polecat
7be5110f76dc42b15c922c1bb7d49220e916246d
[ "MIT" ]
4
2019-08-10T12:56:12.000Z
2020-01-21T09:51:20.000Z
polecat/db/sql/expression/values.py
furious-luke/polecat
7be5110f76dc42b15c922c1bb7d49220e916246d
[ "MIT" ]
71
2019-04-09T05:39:21.000Z
2020-05-16T23:09:24.000Z
polecat/db/sql/expression/values.py
furious-luke/polecat
7be5110f76dc42b15c922c1bb7d49220e916246d
[ "MIT" ]
null
null
null
from functools import partial from polecat.db.query import query as query_module from psycopg2.sql import SQL, Placeholder from .expression import Expression class Values(Expression): def __init__(self, values, relation=None): self.values = values self.relation = relation self.keyword = ...
34.75
79
0.61311
304
2,502
4.713816
0.151316
0.138172
0.092114
0.044662
0.406141
0.36776
0.291696
0.177251
0.121424
0.066992
0
0.00057
0.298961
2,502
71
80
35.239437
0.81642
0
0
0.213115
0
0
0.008393
0
0
0
0
0
0
1
0.114754
false
0
0.065574
0
0.327869
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5f3f84aa262b2485923b0060a6795013deae56c
1,292
py
Python
python/day3p1.py
swilcox/2019adventofcode
b67261aae74805ba8c2f4b72f09dd79277224ebb
[ "MIT" ]
1
2020-01-18T18:24:18.000Z
2020-01-18T18:24:18.000Z
python/day3p1.py
swilcox/2019adventofcode
b67261aae74805ba8c2f4b72f09dd79277224ebb
[ "MIT" ]
null
null
null
python/day3p1.py
swilcox/2019adventofcode
b67261aae74805ba8c2f4b72f09dd79277224ebb
[ "MIT" ]
null
null
null
# 2019 advent day 3 MOVES = { 'R': (lambda x: (x[0], x[1] + 1)), 'L': (lambda x: (x[0], x[1] - 1)), 'U': (lambda x: (x[0] + 1, x[1])), 'D': (lambda x: (x[0] - 1, x[1])), } def build_route(directions: list) -> list: current_location = (0, 0) route = [] for d in directions: directio...
26.367347
79
0.600619
198
1,292
3.787879
0.464646
0.066667
0.042667
0.048
0.064
0.064
0.064
0
0
0
0
0.112512
0.202012
1,292
48
80
26.916667
0.614937
0.200464
0
0
0
0
0.026341
0
0
0
0
0
0
1
0.148148
false
0
0
0.074074
0.259259
0.037037
0
0
0
null
0
0
0
0
0
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
1
0
d5f42d830df55813fe6234674e4d597dccbd7f59
1,054
py
Python
examples/demo/python/catalog.py
JavDomGom/mist
83ae9f67df61ff2387a7d424cff0f8591a6a645f
[ "Apache-2.0" ]
1
2021-04-23T17:13:31.000Z
2021-04-23T17:13:31.000Z
examples/demo/python/catalog.py
JavDomGom/mist
83ae9f67df61ff2387a7d424cff0f8591a6a645f
[ "Apache-2.0" ]
null
null
null
examples/demo/python/catalog.py
JavDomGom/mist
83ae9f67df61ff2387a7d424cff0f8591a6a645f
[ "Apache-2.0" ]
null
null
null
import asyncio async def searchDomains(domain, q): domains = [] proc = await asyncio.create_subprocess_shell(f"dnsrecon -d {domain} -t crt", stdout=asyncio.subprocess.PIPE) line = True while line: line = (await proc.stdout.readline()).decode('utf-8') fields = line.split() if len...
36.344828
112
0.588235
133
1,054
4.631579
0.368421
0.045455
0.051948
0.071429
0.642857
0.603896
0.506494
0.383117
0.383117
0.383117
0
0.016645
0.259013
1,054
28
113
37.642857
0.772087
0
0
0.384615
0
0
0.091082
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.115385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5f5577604a264eefbdbdf102a315e607e68f2da
15,156
py
Python
tests/api/v3_1_0/test_security_groups_acls.py
CiscoISE/ciscoisesdk
860b0fc7cc15d0c2a39c64608195a7ab3d5f4885
[ "MIT" ]
36
2021-05-18T16:24:19.000Z
2022-03-05T13:44:41.000Z
tests/api/v3_1_0/test_security_groups_acls.py
CiscoISE/ciscoisesdk
860b0fc7cc15d0c2a39c64608195a7ab3d5f4885
[ "MIT" ]
15
2021-06-08T19:03:37.000Z
2022-02-25T14:47:33.000Z
tests/api/v3_1_0/test_security_groups_acls.py
CiscoISE/ciscoisesdk
860b0fc7cc15d0c2a39c64608195a7ab3d5f4885
[ "MIT" ]
6
2021-06-10T09:32:01.000Z
2022-01-12T08:34:39.000Z
# -*- coding: utf-8 -*- """IdentityServicesEngineAPI security_groups_acls API fixtures and tests. Copyright (c) 2021 Cisco and/or its affiliates. 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 w...
31.509356
109
0.720375
1,864
15,156
5.491416
0.110515
0.150449
0.127882
0.061254
0.837632
0.831575
0.828351
0.823857
0.813794
0.795526
0
0.015608
0.209488
15,156
480
110
31.575
0.838745
0.076933
0
0.684492
0
0
0.060216
0.024601
0
0
0
0
0.128342
1
0.106952
false
0
0.013369
0
0.205882
0.02139
0
0
0
null
0
0
0
1
1
1
1
1
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
6
d5f5d714834d96889f873a0d7ec900fdf1926bca
21,522
py
Python
geomstats/geometry/riemannian_metric.py
stefanheyder/geomstats
c4e6d959db7b1bcc99b00b535b8aa5d832b62e28
[ "MIT" ]
null
null
null
geomstats/geometry/riemannian_metric.py
stefanheyder/geomstats
c4e6d959db7b1bcc99b00b535b8aa5d832b62e28
[ "MIT" ]
null
null
null
geomstats/geometry/riemannian_metric.py
stefanheyder/geomstats
c4e6d959db7b1bcc99b00b535b8aa5d832b62e28
[ "MIT" ]
null
null
null
"""Riemannian and pseudo-Riemannian metrics.""" import math import warnings import autograd import geomstats.backend as gs from geomstats.geometry.connection import Connection EPSILON = 1e-4 N_CENTERS = 10 TOLERANCE = 1e-5 N_REPETITIONS = 20 N_MAX_ITERATIONS = 50000 N_STEPS = 10 def loss(y_pred, y_true, metric):...
33.315789
79
0.557987
2,505
21,522
4.552495
0.120559
0.038583
0.038057
0.040775
0.472466
0.372939
0.334883
0.273413
0.257804
0.215714
0
0.010714
0.349456
21,522
645
80
33.367442
0.8038
0.232599
0
0.243077
0
0
0.049
0.003026
0
0
0
0.003101
0.012308
1
0.064615
false
0
0.015385
0
0.153846
0.009231
0
0
0
null
0
0
0
0
0
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
1
0
d5f67147c5059c64bf2090a7f0dd93d9aec0092b
9,842
py
Python
app/main/pages/instrument/hrs/red/order/plots.py
hettlage/salt-data-quality-site
da9ff4a51e8affa47e0bc1c0383c7fdeaac2155e
[ "MIT" ]
null
null
null
app/main/pages/instrument/hrs/red/order/plots.py
hettlage/salt-data-quality-site
da9ff4a51e8affa47e0bc1c0383c7fdeaac2155e
[ "MIT" ]
null
null
null
app/main/pages/instrument/hrs/red/order/plots.py
hettlage/salt-data-quality-site
da9ff4a51e8affa47e0bc1c0383c7fdeaac2155e
[ "MIT" ]
null
null
null
import pandas as pd from bokeh.models import HoverTool from bokeh.models.formatters import DatetimeTickFormatter from bokeh.palettes import Plasma256 from bokeh.plotting import figure, ColumnDataSource from app import db from app.decorators import data_quality # creates your plot date_formatter = DatetimeTickFormatt...
35.530686
109
0.517984
1,144
9,842
4.298951
0.138112
0.04026
0.058154
0.076047
0.817405
0.782432
0.754168
0.741765
0.729565
0.729565
0
0.01578
0.356127
9,842
277
110
35.530686
0.760297
0.146617
0
0.672515
0
0.070175
0.471564
0.021701
0
0
0
0
0
1
0.035088
false
0
0.040936
0
0.111111
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
d5f72b6bb8de932265e3494ed6520e23b33d2b72
705
py
Python
p6e8.py
yannickbf-prog/python
da4bd2c8668966359b829a8ac2a896afeca2b150
[ "MIT" ]
null
null
null
p6e8.py
yannickbf-prog/python
da4bd2c8668966359b829a8ac2a896afeca2b150
[ "MIT" ]
null
null
null
p6e8.py
yannickbf-prog/python
da4bd2c8668966359b829a8ac2a896afeca2b150
[ "MIT" ]
null
null
null
#Yannick p6e8 Escribe un programa que te pida primero un número y luego te pida números hasta que la suma de los números introducidos coincida con el número inicial. El programa termina escribiendo la lista de números. limite = int(input("Escribe limite:")) valores = int(input("Escribe un valor:")) listavalore...
30.652174
219
0.704965
100
705
4.97
0.51
0.04829
0.090543
0.044266
0
0
0
0
0
0
0
0.003521
0.194326
705
22
220
32.045455
0.871479
0.307801
0
0.181818
0
0
0.340564
0
0
0
0
0
0
1
0
false
0
0
0
0
0.272727
0
0
0
null
0
0
0
0
0
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
1
0
d5f73b66aea43800edd9e2977d37ade872174872
1,574
py
Python
.venv/lib/python3.8/site-packages/cleo/application.py
RivtLib/replit01
ce1ae18b446a9c844f40e88a51c71fbc45ab3ad7
[ "MIT" ]
1
2020-08-07T16:09:57.000Z
2020-08-07T16:09:57.000Z
.venv/lib/python3.8/site-packages/cleo/application.py
RivtLib/replit01
ce1ae18b446a9c844f40e88a51c71fbc45ab3ad7
[ "MIT" ]
null
null
null
.venv/lib/python3.8/site-packages/cleo/application.py
RivtLib/replit01
ce1ae18b446a9c844f40e88a51c71fbc45ab3ad7
[ "MIT" ]
null
null
null
from typing import Optional from typing import Tuple from clikit.console_application import ConsoleApplication from .commands import BaseCommand from .commands.completions_command import CompletionsCommand from .config import ApplicationConfig class Application(ConsoleApplication, object): """ A...
29.148148
77
0.623888
168
1,574
5.75
0.375
0.021739
0.033126
0
0
0
0
0
0
0
0
0.003509
0.275731
1,574
53
78
29.698113
0.84386
0.250953
0
0
0
0
0.00094
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.464286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0