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
79ecb3b2b428677d25caa28181e21cb16577807d
259
py
Python
poem/urls.py
zakris/wordsworth
271031822284c72079bc67261310546f83f0aab9
[ "MIT" ]
null
null
null
poem/urls.py
zakris/wordsworth
271031822284c72079bc67261310546f83f0aab9
[ "MIT" ]
null
null
null
poem/urls.py
zakris/wordsworth
271031822284c72079bc67261310546f83f0aab9
[ "MIT" ]
null
null
null
from . import views from django.urls import path urlpatterns = [ path('', views.PoemList.as_view(), name='home'), # path('<slug:slug>/', views.PoemDetail.as_view(), name='poem_detail'), path('<slug:slug>/', views.post_detail, name='poem_detail') ]
32.375
74
0.671815
35
259
4.828571
0.485714
0.071006
0.118343
0.201183
0
0
0
0
0
0
0
0
0.127413
259
8
75
32.375
0.747788
0.266409
0
0
0
0
0.143617
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
79f7e55b99c31debc7e7f8f0757ca4a2a57a59f5
1,345
py
Python
.nix/pkgs/development/python-modules/nsf-test-lib/src/nsft_pgp_utils/errors.py
jraygauthier/nixos_secure_factory
67adb93b153902226301d4a68e7b6e3a0af660c2
[ "Apache-2.0" ]
1
2021-04-17T10:13:42.000Z
2021-04-17T10:13:42.000Z
.nix/pkgs/development/python-modules/nsf-test-lib/src/nsft_pgp_utils/errors.py
jraygauthier/nixos_secure_factory
67adb93b153902226301d4a68e7b6e3a0af660c2
[ "Apache-2.0" ]
4
2019-10-21T17:40:17.000Z
2021-11-11T13:46:20.000Z
.nix/pkgs/development/python-modules/nsf-test-lib/src/nsft_pgp_utils/errors.py
jraygauthier/nixos_secure_factory
67adb93b153902226301d4a68e7b6e3a0af660c2
[ "Apache-2.0" ]
2
2019-10-10T18:32:01.000Z
2021-08-24T16:02:09.000Z
import shlex from typing import Optional, List, Union from subprocess import CalledProcessError class GpgError(Exception): pass _CmdT = Union[str, List[str]] def _format_cmd(cmd: _CmdT) -> str: if isinstance(cmd, str): return cmd if not isinstance(cmd, list): return f"{cmd}" ret...
21.693548
76
0.615613
152
1,345
5.217105
0.289474
0.06053
0.088272
0.08575
0.124842
0.124842
0.088272
0
0
0
0
0
0.277323
1,345
61
77
22.04918
0.815844
0
0
0.162791
0
0
0.015625
0
0
0
0
0
0
1
0.209302
false
0.023256
0.069767
0.162791
0.55814
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
03131bcc981d78e2f90fd7f46e7290664d32c41d
71
py
Python
rulo/rulo.py
iremlaya/brainhack17
95e0374785dd7aa7856cac149e04c2949d3ee852
[ "MIT" ]
2
2017-06-04T10:01:49.000Z
2017-10-23T23:40:09.000Z
rulo/rulo.py
iremlaya/brainhack17
95e0374785dd7aa7856cac149e04c2949d3ee852
[ "MIT" ]
3
2017-10-23T22:54:43.000Z
2018-10-02T15:57:22.000Z
rulo/rulo.py
iremlaya/brainhack17
95e0374785dd7aa7856cac149e04c2949d3ee852
[ "MIT" ]
2
2018-10-02T16:00:23.000Z
2018-10-02T18:05:27.000Z
N=int(input()) V=list(map(int,input().split())) print(V.count(max(V)))
17.75
32
0.633803
14
71
3.214286
0.714286
0.355556
0
0
0
0
0
0
0
0
0
0
0.042254
71
3
33
23.666667
0.661765
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
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
3
03219d78ace5c18a08e1f81e4b9b52d1f74911eb
138
py
Python
test/input/020.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
test/input/020.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
test/input/020.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
import time from datetime import datetime SOME_CONSTANT = True ANOTHER_CONSTNAT = False def main(): "Nothing here but us chickens"
13.8
34
0.76087
19
138
5.421053
0.894737
0
0
0
0
0
0
0
0
0
0
0
0.188406
138
9
35
15.333333
0.919643
0.202899
0
0
0
0
0.202899
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
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
0329f72cb8a5711d6e842c84700883fac49ca334
94
py
Python
riskapi/apps.py
MaheshBodas/BriteCorePOCAPI
2f189bbcea64aa707992f7fa139eac71dd3e9c7c
[ "MIT" ]
null
null
null
riskapi/apps.py
MaheshBodas/BriteCorePOCAPI
2f189bbcea64aa707992f7fa139eac71dd3e9c7c
[ "MIT" ]
3
2020-06-05T18:17:25.000Z
2022-02-10T10:11:13.000Z
riskapi/apps.py
MaheshBodas/BriteCorePOCAPI
2f189bbcea64aa707992f7fa139eac71dd3e9c7c
[ "MIT" ]
null
null
null
from django.apps import AppConfig class RiskapiConfig(AppConfig): name = 'riskapi'
15.666667
34
0.712766
10
94
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.212766
94
5
35
18.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
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
032ad04d1de8fdf947200e4fc9bea01766cb5991
2,170
py
Python
utils/boilerplate/test_butterfly.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
utils/boilerplate/test_butterfly.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
utils/boilerplate/test_butterfly.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
import unittest from pysapets.butterfly import Butterfly from pysapets.animal import Animal import pysapets.constants as constants from unittest.mock import patch from io import StringIO from copy import deepcopy class ButterflyTest(unittest.TestCase): def setUp(self): self.butterfly = Butterfly() self.fri...
32.38806
98
0.751152
293
2,170
5.399317
0.204778
0.053097
0.031606
0.072693
0.564475
0.450063
0.295196
0.128319
0.079646
0.059418
0
0.015
0.170507
2,170
67
99
32.38806
0.863889
0.245161
0
0.205128
0
0
0
0
0
0
0
0.014925
0.230769
1
0.333333
false
0.102564
0.179487
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
1
0
0
1
0
1
0
0
0
0
0
3
036b68ec391233902bb037964aaf4dee18d68831
1,044
py
Python
Server/src/RoomHandler.py
peauc/VLC-together
51a34fe55c5d42b7bc145a421bfd7ef5af4198ae
[ "MIT" ]
null
null
null
Server/src/RoomHandler.py
peauc/VLC-together
51a34fe55c5d42b7bc145a421bfd7ef5af4198ae
[ "MIT" ]
null
null
null
Server/src/RoomHandler.py
peauc/VLC-together
51a34fe55c5d42b7bc145a421bfd7ef5af4198ae
[ "MIT" ]
null
null
null
import logging from .User import User from .Room import Room class RoomHandler: def __init__(self): self.__rooms = {} def __len__(self): return len(self.__rooms) def add_user_to_room(self, user: User, room_name: str, password=""): if room_name not in self.__rooms: ...
30.705882
90
0.613985
144
1,044
4.125
0.263889
0.13468
0.080808
0.080808
0.205387
0.077441
0
0
0
0
0
0
0.29023
1,044
33
91
31.636364
0.801619
0
0
0.076923
0
0
0.05364
0.023946
0
0
0
0
0
1
0.230769
false
0.115385
0.115385
0.038462
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
cee2f6e3487a79c32b2d01d33a8b6efba3797133
164
py
Python
sources/boltun/engine/environment/extension/nlp/namespaces/slot.py
meiblorn/boltun
d141f555b4f0ed604d8d71883c0bc8811e74370e
[ "MIT" ]
1
2019-12-06T04:19:37.000Z
2019-12-06T04:19:37.000Z
sources/boltun/engine/environment/extension/nlp/namespaces/slot.py
meiblorn/boltun
d141f555b4f0ed604d8d71883c0bc8811e74370e
[ "MIT" ]
null
null
null
sources/boltun/engine/environment/extension/nlp/namespaces/slot.py
meiblorn/boltun
d141f555b4f0ed604d8d71883c0bc8811e74370e
[ "MIT" ]
null
null
null
from boltun.engine.environment.extension import Namespace class SlotNamespace(Namespace): @classmethod def __boltun_name__(cls): return ['slot']
18.222222
57
0.731707
17
164
6.764706
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.182927
164
8
58
20.5
0.858209
0
0
0
0
0
0.02439
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
301645eded63a950c9ab527c496ffc2fd60fa4fc
916
py
Python
netpyne/cell/NML2Cell.py
pabloabur/netpyne
7763d835eb89b9c3c1d0b49489e215ceaceafd82
[ "MIT" ]
1
2018-01-23T00:05:57.000Z
2018-01-23T00:05:57.000Z
netpyne/cell/NML2Cell.py
pabloabur/netpyne
7763d835eb89b9c3c1d0b49489e215ceaceafd82
[ "MIT" ]
2
2019-11-05T00:05:56.000Z
2019-11-18T00:16:24.000Z
netpyne/cell/NML2Cell.py
pabloabur/netpyne
7763d835eb89b9c3c1d0b49489e215ceaceafd82
[ "MIT" ]
null
null
null
""" cell/NML2Cell.py Contains pointCell class Contributors: salvadordura@gmail.com """ from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() from cop...
26.171429
81
0.618996
95
916
5.694737
0.6
0.092421
0.147874
0
0
0
0
0
0
0
0
0.005148
0.151747
916
35
82
26.171429
0.69112
0.19869
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.916667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
3017fbeea4dd1c0e2fbaf9adbbd7a9211b8af8b4
450
py
Python
OpenGLCffi/EGL/EXT/NV/stream_metadata.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/EGL/EXT/NV/stream_metadata.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/EGL/EXT/NV/stream_metadata.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
from OpenGLCffi.EGL import params @params(api='egl', prms=['dpy', 'attribute', 'value']) def eglQueryDisplayAttribNV(dpy, attribute): pass @params(api='egl', prms=['dpy', 'stream', 'n', 'offset', 'size', 'data']) def eglSetStreamMetadataNV(dpy, stream, n, offset, size, data): pass @params(api='egl', prms=['dpy', ...
26.470588
81
0.666667
57
450
5.263158
0.368421
0.12
0.146667
0.2
0.576667
0.48
0.35
0
0
0
0
0
0.117778
450
16
82
28.125
0.755668
0
0
0.3
0
0
0.174107
0
0
0
0
0
0
1
0.3
false
0.3
0.1
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
302076412b9e8a39f7fca0d150090503586f64a2
179
py
Python
slackbot_settings.py
nexusz99/eastpot_slackbot
d7e67abf6f722cdcd06a39d4f6d89d920d7f2e25
[ "Apache-2.0" ]
null
null
null
slackbot_settings.py
nexusz99/eastpot_slackbot
d7e67abf6f722cdcd06a39d4f6d89d920d7f2e25
[ "Apache-2.0" ]
null
null
null
slackbot_settings.py
nexusz99/eastpot_slackbot
d7e67abf6f722cdcd06a39d4f6d89d920d7f2e25
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- API_TOKEN = "" DEFAULT_REPLY = "잘못된 명령어입니다. 고갱님" PLUGINS = [ 'eastbot.plugins.basic', 'eastbot.plugins.ethereum', 'eastbot.plugins.miner', ]
16.272727
33
0.620112
20
179
5.45
0.75
0.385321
0
0
0
0
0
0
0
0
0
0.006897
0.189944
179
10
34
17.9
0.744828
0.117318
0
0
0
0
0.519231
0.423077
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
302477f7160abb2240d40039131d7f78d819c173
597
py
Python
visualizers/kibana.py
bfortuner/VOCdetect
f11e363d60b1d91bd36bc98d69496f847287ad28
[ "MIT" ]
336
2017-08-22T18:54:19.000Z
2022-03-22T04:07:08.000Z
visualizers/kibana.py
emeraldic/kaggle-starter
7f993161afca8809e8a6ea46bffe76b4d6163082
[ "MIT" ]
1
2020-02-14T14:12:15.000Z
2020-02-14T14:12:15.000Z
visualizers/kibana.py
emeraldic/kaggle-starter
7f993161afca8809e8a6ea46bffe76b4d6163082
[ "MIT" ]
73
2017-08-26T22:09:58.000Z
2022-03-29T13:00:02.000Z
import json import pandas as pd import config import constants as c import clients.client_constants as cc import clients.es_client as es import copy class Kibana(): def __init__(self, exp_name): self.name = exp_name self.classname = 'Kibana' def init(self, exp_config): assert con...
20.586207
61
0.705193
86
597
4.674419
0.395349
0.089552
0.064677
0.084577
0.099502
0
0
0
0
0
0
0
0.222781
597
28
62
21.321429
0.866379
0
0
0
0
0
0.010084
0
0
0
0
0
0.105263
1
0.210526
false
0
0.368421
0.052632
0.684211
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
302d31e462b899a5687253372e142ec9fd1abf57
91
py
Python
tyrell/venv/lib/python3.8/site-packages/rpy2/__init__.py
YuehanLee/CS190I
c5e3dca9f3b936a15b254abfd0c245c470e8c27e
[ "Apache-2.0" ]
null
null
null
tyrell/venv/lib/python3.8/site-packages/rpy2/__init__.py
YuehanLee/CS190I
c5e3dca9f3b936a15b254abfd0c245c470e8c27e
[ "Apache-2.0" ]
null
null
null
tyrell/venv/lib/python3.8/site-packages/rpy2/__init__.py
YuehanLee/CS190I
c5e3dca9f3b936a15b254abfd0c245c470e8c27e
[ "Apache-2.0" ]
null
null
null
__version_vector__ = (3, 4, 4) __version__ = '.'.join(str(x) for x in __version_vector__)
22.75
58
0.703297
14
91
3.571429
0.642857
0.52
0
0
0
0
0
0
0
0
0
0.038462
0.142857
91
3
59
30.333333
0.602564
0
0
0
0
0
0.010989
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
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
3
303ed30db37a315d0acda3cfe354394914f4ddd0
347
py
Python
hylite/analyse/__init__.py
npucino/hylite
dff1314a2a0c281fd2fc1a5ee03bdba3e0c49f28
[ "MIT" ]
18
2020-11-19T12:53:44.000Z
2022-02-21T21:02:02.000Z
hylite/analyse/__init__.py
npucino/hylite
dff1314a2a0c281fd2fc1a5ee03bdba3e0c49f28
[ "MIT" ]
1
2022-02-22T07:02:26.000Z
2022-03-01T10:55:32.000Z
hylite/analyse/__init__.py
npucino/hylite
dff1314a2a0c281fd2fc1a5ee03bdba3e0c49f28
[ "MIT" ]
7
2021-01-12T09:46:40.000Z
2022-02-23T12:36:33.000Z
""" This package implements common analysis methods for hyperspectral datasets, including: - supervised and unsupervised classification. - minimum wavelength mapping. - endmember extraction and unmixing. - commonly used band ratios (e.g. NDVI). """ from .indices import * from .mwl import * from .sam im...
28.916667
86
0.731988
40
347
6.35
0.825
0.11811
0
0
0
0
0
0
0
0
0
0
0.18732
347
12
87
28.916667
0.900709
0.737752
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
30576a1c9c719f59f13bcf613b81967c5c07ce88
166
py
Python
django_graphene_utils/types.py
amille44420/django-graphene-utils
8ea588c5b141282d38c6f6743f988c06a32cd138
[ "MIT" ]
1
2018-02-28T19:23:08.000Z
2018-02-28T19:23:08.000Z
django_graphene_utils/types.py
amille44420/django-graphene-utils
8ea588c5b141282d38c6f6743f988c06a32cd138
[ "MIT" ]
null
null
null
django_graphene_utils/types.py
amille44420/django-graphene-utils
8ea588c5b141282d38c6f6743f988c06a32cd138
[ "MIT" ]
null
null
null
import graphene __all__ = ['FormError'] """ Form error type """ class FormError(graphene.ObjectType): key = graphene.String() message = graphene.String()
12.769231
37
0.680723
17
166
6.411765
0.705882
0.256881
0
0
0
0
0
0
0
0
0
0
0.180723
166
12
38
13.833333
0.801471
0
0
0
0
0
0.062937
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
30585d6d042849dad5f93f2d9f22e4d90bd497d6
226
py
Python
iplantauth/__init__.py
Duke-GCB/django-iplant-auth
8f2012649759193cbd1e7590aa65d5701968e7cf
[ "BSD-3-Clause" ]
null
null
null
iplantauth/__init__.py
Duke-GCB/django-iplant-auth
8f2012649759193cbd1e7590aa65d5701968e7cf
[ "BSD-3-Clause" ]
null
null
null
iplantauth/__init__.py
Duke-GCB/django-iplant-auth
8f2012649759193cbd1e7590aa65d5701968e7cf
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from collections import namedtuple version_info = namedtuple("version_info", ["major", "minor", "patch"]) version = version_info(0, 1, 14) __version__ = "{0.major}.{0.minor}.{0.patch}".format(version)
32.285714
70
0.685841
30
226
4.933333
0.533333
0.222973
0.283784
0
0
0
0
0
0
0
0
0.039604
0.106195
226
6
71
37.666667
0.693069
0.09292
0
0
0
0
0.275862
0.142857
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3063e52ee5fe17c44b4e3ed4060b6ec3b6206a0e
1,571
py
Python
scripts/pyBusPirateLite/pyBusPirateLite/rawwire.py
bopopescu/Bus-Pirate-1
62a449f4aa6edb2160e00537f06024b2e1ce6c48
[ "CC0-1.0" ]
1
2019-12-27T11:45:11.000Z
2019-12-27T11:45:11.000Z
scripts/pyBusPirateLite/pyBusPirateLite/rawwire.py
bopopescu/Bus-Pirate-1
62a449f4aa6edb2160e00537f06024b2e1ce6c48
[ "CC0-1.0" ]
1
2020-07-24T15:59:56.000Z
2020-07-24T15:59:56.000Z
scripts/pyBusPirateLite/pyBusPirateLite/rawwire.py
bopopescu/Bus-Pirate-1
62a449f4aa6edb2160e00537f06024b2e1ce6c48
[ "CC0-1.0" ]
1
2020-07-24T12:54:33.000Z
2020-07-24T12:54:33.000Z
from .BinBang import * class RawWireCfg: NA = 0x01 LSB = 0x02 _3WIRE = 0x04 OUTPUT = 0x08 class RawWire(BBIO): def __init__(self, port, speed): BBIO.__init__(self, port, speed) def start_bit(self): self.port.write("\x02") self.timeout(0.1) return self.response(1) def stop_bit(self): self.port....
19.158537
37
0.664545
257
1,571
3.972763
0.22179
0.125367
0.178257
0.178257
0.6905
0.511263
0.511263
0.511263
0.479922
0.342801
0
0.064368
0.169319
1,571
82
38
19.158537
0.718008
0
0
0.430769
0
0
0.030534
0
0
0
0.015267
0
0
1
0.230769
false
0
0.015385
0
0.553846
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
061cad37b03805e8f97ee62c43e93618f315bbe1
441
py
Python
c2dh_nerd/ned/ned.py
theorm/c2dh-nerd
790c945a75d25735e826fbbebb0441a00627dc1c
[ "MIT" ]
null
null
null
c2dh_nerd/ned/ned.py
theorm/c2dh-nerd
790c945a75d25735e826fbbebb0441a00627dc1c
[ "MIT" ]
null
null
null
c2dh_nerd/ned/ned.py
theorm/c2dh-nerd
790c945a75d25735e826fbbebb0441a00627dc1c
[ "MIT" ]
null
null
null
from typing import TypeVar, List, Tuple from segtok.segmenter import split_single from ..ner.ner import text_to_sentences, sentences_to_text, TextOrSentences from .result import NedResult, NedResource class NED: async def extract(self, text: TextOrSentences, **kwargs) -> NedResult: raise NotImplementedError() ...
33.923077
88
0.786848
54
441
6.277778
0.62963
0.112094
0
0
0
0
0
0
0
0
0
0
0.136054
441
12
89
36.75
0.889764
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
0648c48894663796abf8415ae349d01c407295d8
2,605
py
Python
py/legacy/selectZipcodeGeoJson.py
yenchiah/smell-pittsburgh-prediction
09f9c865ffa81eef4fbc0122ed915c66355c44a6
[ "BSD-3-Clause" ]
4
2019-08-17T01:06:26.000Z
2022-01-24T07:26:25.000Z
py/legacy/selectZipcodeGeoJson.py
yenchiah/smell-pittsburgh-prediction
09f9c865ffa81eef4fbc0122ed915c66355c44a6
[ "BSD-3-Clause" ]
null
null
null
py/legacy/selectZipcodeGeoJson.py
yenchiah/smell-pittsburgh-prediction
09f9c865ffa81eef4fbc0122ed915c66355c44a6
[ "BSD-3-Clause" ]
6
2019-08-15T18:24:00.000Z
2022-03-30T12:12:01.000Z
import numpy as np import json import sys sys.path.append("../analysis/") from util import * # This function is used for the heatmap visualization # Select only zipcode GeoJSON bounds in the Allegany county in PA # INPUT: GeoJSON of all zipcode bounds in the US # OUTPUT: GeoJSON of zipcode bounds (plus latlng bound...
44.913793
85
0.679079
360
2,605
4.794444
0.597222
0.032445
0.049247
0.055041
0.099073
0.086906
0.086906
0.053302
0.053302
0.053302
0
0.348232
0.218426
2,605
57
86
45.701754
0.499509
0.176967
0
0
0
0
0.133552
0.022962
0
0
0
0
0
0
null
null
0
0.1
null
null
0.075
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0669a17c51a6ce36db18640545cedc13bf17f914
86
py
Python
punto1.py
SebastianH03/TallerHerramineta
019832772bc4d7007ee99f88399386a56e689f69
[ "CNRI-Python" ]
null
null
null
punto1.py
SebastianH03/TallerHerramineta
019832772bc4d7007ee99f88399386a56e689f69
[ "CNRI-Python" ]
null
null
null
punto1.py
SebastianH03/TallerHerramineta
019832772bc4d7007ee99f88399386a56e689f69
[ "CNRI-Python" ]
null
null
null
#punto1 def triangulo(a,b): area = (b * a)/2 print(area) triangulo(30,50)
8.6
20
0.569767
14
86
3.5
0.714286
0
0
0
0
0
0
0
0
0
0
0.09375
0.255814
86
9
21
9.555556
0.671875
0.069767
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
068b8a559129dfc3500d0b4d0afd2b84b0b87992
378
py
Python
backend/api_v3/utils.py
AstroMatt/subjective-time-perception
cbe222b86d2ec98065038d2f7a55c2c6b9518b9e
[ "MIT" ]
null
null
null
backend/api_v3/utils.py
AstroMatt/subjective-time-perception
cbe222b86d2ec98065038d2f7a55c2c6b9518b9e
[ "MIT" ]
null
null
null
backend/api_v3/utils.py
AstroMatt/subjective-time-perception
cbe222b86d2ec98065038d2f7a55c2c6b9518b9e
[ "MIT" ]
1
2021-02-08T17:13:56.000Z
2021-02-08T17:13:56.000Z
from backend.api_v3.models import Result from backend.logger.models import HTTPRequest def http_requests_without_results(): all_results = Result.objects.all().values_list('request_sha1', flat=True) requests_without_results = HTTPRequest.objects.filter(api_version=3, data__isnull=False).exclude( sha1__...
37.8
101
0.798942
51
378
5.588235
0.607843
0.157895
0.231579
0
0
0
0
0
0
0
0
0.01194
0.113757
378
9
102
42
0.838806
0
0
0
0
0
0.031746
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
23038c640c0433479f2bdf90b1bd117eebeff516
228
py
Python
keyword_cluster_validation/urls.py
rohanjsuresh/extracted_keyword_validation
94e56c645c066d9d20097433b1716b3e76625b3d
[ "MIT" ]
null
null
null
keyword_cluster_validation/urls.py
rohanjsuresh/extracted_keyword_validation
94e56c645c066d9d20097433b1716b3e76625b3d
[ "MIT" ]
null
null
null
keyword_cluster_validation/urls.py
rohanjsuresh/extracted_keyword_validation
94e56c645c066d9d20097433b1716b3e76625b3d
[ "MIT" ]
1
2021-05-18T16:40:55.000Z
2021-05-18T16:40:55.000Z
from django.urls import path from . import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('cluster_validation', views.cluster_validation, name='cluster_validation'), ]
28.5
84
0.79386
30
228
5.933333
0.433333
0.168539
0.157303
0
0
0
0
0
0
0
0
0
0.118421
228
8
85
28.5
0.885572
0
0
0
0
0
0.157205
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
232024fdf36e7f84ec08131bf350a384f1211dfb
863
py
Python
src/singleton/singleton_decor.py
paulbodean88/automation-design-patterns
b160f317a0c0a1de409908f938fbeab0772c8147
[ "MIT" ]
14
2017-07-25T10:11:06.000Z
2022-03-25T10:17:25.000Z
src/singleton/singleton_decor.py
paulbodean88/automation-design-patterns
b160f317a0c0a1de409908f938fbeab0772c8147
[ "MIT" ]
3
2017-07-23T17:19:14.000Z
2017-07-24T19:54:52.000Z
src/singleton/singleton_decor.py
paulbodean88/automation-design-patterns
b160f317a0c0a1de409908f938fbeab0772c8147
[ "MIT" ]
5
2019-08-29T02:35:04.000Z
2020-02-24T14:39:09.000Z
""" Description: Singleton implementation using decorators @author: Paul Bodean @date: 23.01.2018 """ from selenium import webdriver from singleton_decorator import singleton def my_singleton(*args): """ :param cls: class to be changed as a singleton :return: instance of the singleton """ insta...
20.547619
89
0.668598
102
863
5.588235
0.54902
0.035088
0.049123
0.084211
0.157895
0.157895
0.157895
0
0
0
0
0.018377
0.243337
863
41
90
21.04878
0.854518
0.363847
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0.105263
0.631579
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
232595f8dba9d50b98cba7c2ba1017a6c15fbf2c
953
py
Python
app/__init__.py
yogeshwaran01/Projects
281d760b140d5fe212b8e3819aebbe3117ef2ead
[ "MIT" ]
2
2021-03-08T15:19:51.000Z
2021-04-13T01:30:29.000Z
app/__init__.py
yogeshwaran01/Projects
281d760b140d5fe212b8e3819aebbe3117ef2ead
[ "MIT" ]
7
2021-02-22T04:55:51.000Z
2022-03-12T00:54:47.000Z
app/__init__.py
yogeshwaran01/Projects
281d760b140d5fe212b8e3819aebbe3117ef2ead
[ "MIT" ]
null
null
null
from flask import Flask from flask import render_template from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from flask_login import LoginManager from config import Configuartion app = Flask(__name__) app.config.from_object(Configuartion) database = SQLAlchemy(app) migrate = Migrate(app, datab...
22.690476
54
0.804827
136
953
5.507353
0.279412
0.084112
0.140187
0.176235
0
0
0
0
0
0
0
0
0.110178
953
41
55
23.243902
0.883255
0
0
0
0
0
0.026233
0
0
0
0
0
0
1
0.032258
false
0
0.483871
0.032258
0.548387
0.225806
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
234a62c6a388e9f9c0fa5312c374f5bc2bbbbbb6
8,412
py
Python
tests/python/relay/test_primal_gradients.py
sgrechanik-h/tvm
8cad2d1e62272b3e192bfe08b896e07bc9550e94
[ "Apache-2.0" ]
null
null
null
tests/python/relay/test_primal_gradients.py
sgrechanik-h/tvm
8cad2d1e62272b3e192bfe08b896e07bc9550e94
[ "Apache-2.0" ]
null
null
null
tests/python/relay/test_primal_gradients.py
sgrechanik-h/tvm
8cad2d1e62272b3e192bfe08b896e07bc9550e94
[ "Apache-2.0" ]
3
2018-10-31T07:14:13.000Z
2020-01-13T02:23:19.000Z
import tvm import numpy as np from tvm import relay def to_int_array(arr, param_values=None): if param_values is None: param_values = {} return [tvm.ir_pass.Simplify(tvm.ir_pass.Substitute(s, param_values)).value for s in arr] def tvm2numpy(something): if isinstance(something, (tvm.nd...
43.8125
94
0.681526
1,372
8,412
3.922012
0.157434
0.204423
0.286192
0.363687
0.621632
0.518863
0.400483
0.285449
0.218733
0.152946
0
0.034836
0.153709
8,412
191
95
44.041885
0.721028
0.159772
0
0.042857
0
0
0.016338
0
0
0
0
0
0
1
0.028571
false
0.007143
0.021429
0
0.085714
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2358514fa403e0d08ff8447b0371eb5e1b0d7496
17,621
py
Python
src/javaproperties_cli/__main__.py
jwodder/javaproperties-cli
e1bbe04bbb961bf0832a591bdb8edc6f240cc950
[ "MIT" ]
4
2017-04-27T02:11:05.000Z
2021-12-14T14:53:30.000Z
src/javaproperties_cli/__main__.py
jwodder/javaproperties-cli
e1bbe04bbb961bf0832a591bdb8edc6f240cc950
[ "MIT" ]
null
null
null
src/javaproperties_cli/__main__.py
jwodder/javaproperties-cli
e1bbe04bbb961bf0832a591bdb8edc6f240cc950
[ "MIT" ]
2
2017-06-11T02:13:53.000Z
2019-02-07T22:15:54.000Z
""" :program:`javaproperties` ------------------------- NAME ^^^^ :program:`javaproperties` — Basic manipulation of Java ``.properties`` files SYNOPSIS ^^^^^^^^ .. code-block:: shell javaproperties get [<OPTIONS>] <file> <key> ... javaproperties select [<OPTIONS>] <file> <key> ... javaproperties set...
28.103668
88
0.617899
2,196
17,621
4.90847
0.113843
0.030058
0.015029
0.014194
0.762779
0.732907
0.705724
0.674367
0.642731
0.633268
0
0.004612
0.249418
17,621
626
89
28.148562
0.810298
0.489643
0
0.621711
0
0
0.155136
0.009389
0
0
0
0
0
1
0.032895
false
0.009868
0.009868
0
0.049342
0.032895
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
88cc9f193678e77b2beeca56f0e3fd1d39efafa6
111
py
Python
24/00/get_matching_blocks.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
24/00/get_matching_blocks.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
39
2017-07-31T22:54:01.000Z
2017-08-31T00:19:03.000Z
24/00/get_matching_blocks.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
#!python3.6 import difflib s = difflib.SequenceMatcher(None, "abxcd", "abcd") print(s.get_matching_blocks())
15.857143
50
0.738739
15
111
5.333333
0.866667
0
0
0
0
0
0
0
0
0
0
0.02
0.099099
111
6
51
18.5
0.78
0.09009
0
0
0
0
0.091837
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
88da99a9de7207f49933d54f91d238581b41b718
516
py
Python
conductance_congestion_approx.py
weinstein/FastMaxFlow
482b2734f1f9952528b9856d8111dd2874861fef
[ "MIT" ]
null
null
null
conductance_congestion_approx.py
weinstein/FastMaxFlow
482b2734f1f9952528b9856d8111dd2874861fef
[ "MIT" ]
null
null
null
conductance_congestion_approx.py
weinstein/FastMaxFlow
482b2734f1f9952528b9856d8111dd2874861fef
[ "MIT" ]
1
2020-12-26T08:59:54.000Z
2020-12-26T08:59:54.000Z
from __future__ import division import numpy as np from congestion_approx import CongestionApprox class ConductanceCongestionApprox(CongestionApprox): def __init__(s, g): s.vertex_degrees_inv = [ 1.0 / g.degree(v) if g.degree(v) > 0 else 0 for v in g.nodes()] def compute_dot(s, x): return np.m...
22.434783
71
0.707364
81
516
4.283951
0.518519
0.060519
0.121037
0.146974
0.242075
0.242075
0.242075
0.242075
0.242075
0.242075
0
0.014493
0.197674
516
22
72
23.454545
0.823672
0.073643
0
0.153846
0
0
0
0
0
0
0
0.045455
0
1
0.307692
false
0
0.230769
0.230769
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
1
0
0
1
0
0
0
1
0
0
0
3
000468f83ec7c5d828bce0f8cf192095eaa2c7a0
172
py
Python
homepage/urls.py
lejbron/arkenstone
d5341c27ba81eaf116e5ee5983b4fa422437d294
[ "MIT" ]
null
null
null
homepage/urls.py
lejbron/arkenstone
d5341c27ba81eaf116e5ee5983b4fa422437d294
[ "MIT" ]
4
2021-03-17T19:46:35.000Z
2021-04-09T11:37:53.000Z
homepage/urls.py
lejbron/arkenstone
d5341c27ba81eaf116e5ee5983b4fa422437d294
[ "MIT" ]
1
2021-04-11T07:50:56.000Z
2021-04-11T07:50:56.000Z
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('users/', views.users_list_view, name='users-list'), ]
19.111111
61
0.668605
23
172
4.913043
0.521739
0.159292
0
0
0
0
0
0
0
0
0
0
0.162791
172
8
62
21.5
0.784722
0
0
0
0
0
0.122093
0
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
00073ebb06fd497dba69c147efdb20087341896a
2,574
py
Python
tools/gen_Jenkinsfile.py
das7pad/reparser
9f4a40aa3deae8aa151aad1ffa0dc7b35f3181a2
[ "MIT" ]
null
null
null
tools/gen_Jenkinsfile.py
das7pad/reparser
9f4a40aa3deae8aa151aad1ffa0dc7b35f3181a2
[ "MIT" ]
null
null
null
tools/gen_Jenkinsfile.py
das7pad/reparser
9f4a40aa3deae8aa151aad1ffa0dc7b35f3181a2
[ "MIT" ]
null
null
null
"""Generate the declarative Jenkins pipeline""" __author__ = 'Jakob Ackermann <das7pad@outlook.com>' import pathlib VERSIONS = [ '3.5.3', '3.5.4', '3.5.5', '3.5.6', '3.6.0', '3.6.1', '3.6.2', '3.6.3', '3.6.4', '3.6.5', '3.6.6', '3.6.7', '3.7.0', '3.7.1', ] ...
23.189189
70
0.342657
200
2,574
4.305
0.435
0.018583
0.113821
0.132404
0
0
0
0
0
0
0
0.036318
0.540016
2,574
110
71
23.4
0.690878
0.015929
0
0.148936
1
0
0.79818
0.086664
0
0
0
0
0
1
0.010638
false
0
0.010638
0
0.021277
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cc492be3d9ca4a8afcf77b15c97f14e0bc81f6ce
82
py
Python
pycaprio/__init__.py
nipunsadvilkar/pycaprio
1fd425e9dbbe1311bae513c896873040fa330379
[ "MIT" ]
null
null
null
pycaprio/__init__.py
nipunsadvilkar/pycaprio
1fd425e9dbbe1311bae513c896873040fa330379
[ "MIT" ]
null
null
null
pycaprio/__init__.py
nipunsadvilkar/pycaprio
1fd425e9dbbe1311bae513c896873040fa330379
[ "MIT" ]
null
null
null
# flake8: noqa from pycaprio.core.pycaprio import Pycaprio __version__ = '0.0.4'
16.4
43
0.756098
12
82
4.833333
0.75
0
0
0
0
0
0
0
0
0
0
0.056338
0.134146
82
4
44
20.5
0.760563
0.146341
0
0
0
0
0.073529
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
cc4d7a79f2551e08af9f51409f6d24c6b782d61f
651
py
Python
01 - 09/99_bottles_of_beer.py
MayaScarlet/rosetta-code-tasks
83b0bfbc8c4de556af1ef9899eaea69d2bf8cc32
[ "MIT" ]
null
null
null
01 - 09/99_bottles_of_beer.py
MayaScarlet/rosetta-code-tasks
83b0bfbc8c4de556af1ef9899eaea69d2bf8cc32
[ "MIT" ]
null
null
null
01 - 09/99_bottles_of_beer.py
MayaScarlet/rosetta-code-tasks
83b0bfbc8c4de556af1ef9899eaea69d2bf8cc32
[ "MIT" ]
null
null
null
""" Display the complete lyrics for the song: 99 Bottles of Beer on the Wall. The lyrics follow this form: 99 bottles of beer on the wall 99 bottles of beer Take one down, pass it around 98 bottles of beer on the wall 98 bottles of beer on the wall 98 bottles of beer Take one down, pass it around """ def solution()...
19.147059
73
0.635945
109
651
3.724771
0.321101
0.199507
0.288177
0.184729
0.679803
0.679803
0.546798
0.428571
0.300493
0.155172
0
0.033684
0.270353
651
33
74
19.727273
0.821053
0.480799
0
0
0
0
0.354938
0
0
0
0
0
0
1
0.166667
false
0.083333
0
0
0.166667
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
cc6ac3459a21b631f0ced05a6422a5a09f041a28
199
py
Python
__main__.py
tanvirtin/CIFAR-10-Convolutional-Neural-Network-Classifier
d4629511c26a9dbc7e02dc60d2e9751a070fa6e9
[ "MIT" ]
null
null
null
__main__.py
tanvirtin/CIFAR-10-Convolutional-Neural-Network-Classifier
d4629511c26a9dbc7e02dc60d2e9751a070fa6e9
[ "MIT" ]
null
null
null
__main__.py
tanvirtin/CIFAR-10-Convolutional-Neural-Network-Classifier
d4629511c26a9dbc7e02dc60d2e9751a070fa6e9
[ "MIT" ]
null
null
null
from Model_A import Model_A from Model_B import Model_B def main(): model_A = Model_A() model_A.train() model_B = Model_B() model_B.train() if __name__ == "__main__": main()
13.266667
27
0.648241
32
199
3.46875
0.3125
0.27027
0.198198
0.216216
0
0
0
0
0
0
0
0
0.241206
199
14
28
14.214286
0.735099
0
0
0
0
0
0.040201
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cc7ba5acb4140b100d1e87f3c052c88f4d6530a8
540
py
Python
db/TableNoteType.py
eddiedb6/ej
04e7d79aafadad87bcb99879ead7195a7aee6d0c
[ "MIT" ]
null
null
null
db/TableNoteType.py
eddiedb6/ej
04e7d79aafadad87bcb99879ead7195a7aee6d0c
[ "MIT" ]
null
null
null
db/TableNoteType.py
eddiedb6/ej
04e7d79aafadad87bcb99879ead7195a7aee6d0c
[ "MIT" ]
null
null
null
{ PDBConst.Name: "notetype", PDBConst.Columns: [ { PDBConst.Name: "ID", PDBConst.Attributes: ["tinyint", "not null", "primary key"] }, { PDBConst.Name: "Type", PDBConst.Attributes: ["varchar(128)", "not null"] }, { PDBConst.Name: "SID", PDBCons...
25.714286
68
0.498148
47
540
5.723404
0.468085
0.178439
0.185874
0.208178
0.319703
0.319703
0.319703
0
0
0
0
0.025707
0.27963
540
20
69
27
0.66581
0
0
0.1
0
0
0.281481
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cc8f41d1b7b4abb906a0673dacf46ffb51ebd771
218
py
Python
code/100_extras/100_09_text_generation/main.py
padmalcom/AISpeechAssistant
b7501a23a8f513acb5043f3c7bb06df129bdc2cc
[ "Apache-2.0" ]
1
2021-09-08T09:21:16.000Z
2021-09-08T09:21:16.000Z
code/100_extras/100_09_text_generation/main.py
padmalcom/AISpeechAssistant
b7501a23a8f513acb5043f3c7bb06df129bdc2cc
[ "Apache-2.0" ]
null
null
null
code/100_extras/100_09_text_generation/main.py
padmalcom/AISpeechAssistant
b7501a23a8f513acb5043f3c7bb06df129bdc2cc
[ "Apache-2.0" ]
2
2022-02-06T09:54:40.000Z
2022-03-01T07:52:51.000Z
from transformers import pipeline text2text_generator = pipeline( "text-generation", model="dbmdz/german-gpt2", tokenizer="dbmdz/german-gpt2" ) print(text2text_generator("Wo steht der Triumfbogen? Er steht in "))
31.142857
68
0.775229
27
218
6.185185
0.740741
0.215569
0.179641
0
0
0
0
0
0
0
0
0.020619
0.110092
218
7
68
31.142857
0.840206
0
0
0
0
0
0.39726
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
1
0
0
null
1
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
3
cca9c7c0eae4370e01e20d6868402c6091e95c2d
171
py
Python
hello.py
SrutiBh/Learn-Python
fa232d7846622db0b6243e0bf77e6166a4bb79d2
[ "MIT" ]
null
null
null
hello.py
SrutiBh/Learn-Python
fa232d7846622db0b6243e0bf77e6166a4bb79d2
[ "MIT" ]
null
null
null
hello.py
SrutiBh/Learn-Python
fa232d7846622db0b6243e0bf77e6166a4bb79d2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Nov 20 20:51:09 2017 @author: sruti """ #python learning # This program prints Hello, world! print('Hello, world!')
15.545455
36
0.608187
24
171
4.333333
0.875
0.192308
0
0
0
0
0
0
0
0
0
0.097744
0.222222
171
11
37
15.545455
0.684211
0.719298
0
0
0
0
0.448276
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
ccb1c225333df14555b9741bdf0957858b74252e
688
py
Python
eth2/beacon/fork_choice/__init__.py
Gauddel/trinity
0b12943ac36f4090abc22fc965e9e9a4f42c6f35
[ "MIT" ]
null
null
null
eth2/beacon/fork_choice/__init__.py
Gauddel/trinity
0b12943ac36f4090abc22fc965e9e9a4f42c6f35
[ "MIT" ]
null
null
null
eth2/beacon/fork_choice/__init__.py
Gauddel/trinity
0b12943ac36f4090abc22fc965e9e9a4f42c6f35
[ "MIT" ]
null
null
null
""" A blockchain has a way to pick a canonical chain from the block tree called a fork choice. A fork choice works by using a scoring rule to attach a scalar quantity to a particular block given our local view of the network. The fork choice provides a "canonical" path through the block tree by recursively selecting t...
38.222222
95
0.787791
113
688
4.752212
0.539823
0.111732
0.044693
0
0
0
0
0
0
0
0
0.010638
0.180233
688
17
96
40.470588
0.941489
0.824128
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ccb2a9617a3101b005bca39123f8cd04d67bd6ba
424
py
Python
src/softframe/cli/__init__.py
pcastanha/frame
f3392e3660742db6beb3b6e1702d7aee6acedf62
[ "BSD-2-Clause" ]
null
null
null
src/softframe/cli/__init__.py
pcastanha/frame
f3392e3660742db6beb3b6e1702d7aee6acedf62
[ "BSD-2-Clause" ]
null
null
null
src/softframe/cli/__init__.py
pcastanha/frame
f3392e3660742db6beb3b6e1702d7aee6acedf62
[ "BSD-2-Clause" ]
null
null
null
'''from flask import Flask from flask_restful import Api from ml_api.api import TaskAPI, TaskListAPI __version__ = "0.1.0" # Flask configurations app = Flask(__name__, static_url_path="") api = Api(app) # Endpoint declarations api.add_resource(TaskListAPI, '/todo/api/v1.0/tasks', endpoint='tasks') api.add_resource(T...
23.555556
78
0.735849
63
424
4.666667
0.47619
0.061224
0.095238
0.068027
0.102041
0
0
0
0
0
0
0.018568
0.110849
424
17
79
24.941176
0.761273
0.882075
0
0
0
0
0.090909
0
0
0
0
0.117647
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
ccc155306cc6eb428465c80756a6717eab64070a
195
py
Python
actions/client_history.py
cognifloyd/stackstorm-sensu
445a2ec33618e7ac199034fa609e760d8377a936
[ "Apache-2.0" ]
164
2015-01-17T16:08:33.000Z
2021-08-03T02:34:07.000Z
actions/client_history.py
cognifloyd/stackstorm-sensu
445a2ec33618e7ac199034fa609e760d8377a936
[ "Apache-2.0" ]
442
2015-01-01T11:19:01.000Z
2017-09-06T23:26:17.000Z
actions/client_history.py
cognifloyd/stackstorm-sensu
445a2ec33618e7ac199034fa609e760d8377a936
[ "Apache-2.0" ]
202
2015-01-13T00:37:40.000Z
2020-11-07T11:30:10.000Z
from lib.sensu import SensuAction __all__ = [ 'ClientHistoryAction' ] class ClientHistoryAction(SensuAction): def run(self, client): return self.api.get_client_history(client)
17.727273
50
0.733333
21
195
6.52381
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.179487
195
10
51
19.5
0.85625
0
0
0
0
0
0.097436
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
aea3c1d8b7e862ce163fa3e0ad5a7246d5c99cd9
219
py
Python
disciplines/method/open_repositories.py
aidiss/disciplines
999844a6305ae1584429d75e0d5260e6f1dcbf4a
[ "MIT" ]
1
2018-02-11T02:09:05.000Z
2018-02-11T02:09:05.000Z
disciplines/method/open_repositories.py
aidiss/disciplines
999844a6305ae1584429d75e0d5260e6f1dcbf4a
[ "MIT" ]
null
null
null
disciplines/method/open_repositories.py
aidiss/disciplines
999844a6305ae1584429d75e0d5260e6f1dcbf4a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # open repositories """Todo: move src for acquiring data""" 'http://www.opendoar.org/countrylist.php' better = 'http://oaister.worldcat.org/' # Should access Terms and Conditions all the time.
24.333333
50
0.69863
30
219
5.1
0.933333
0
0
0
0
0
0
0
0
0
0
0.005263
0.13242
219
8
51
27.375
0.8
0.561644
0
0
0
0
0.761364
0
0
0
0
0.125
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
aea443abf3d3c71b43a2ce85be257723c2cb57e2
344
py
Python
server/tests/pyfiles/db/test_attributes.py
TheDarrenJoseph/AberWebMUD
c8b33e03a0c78e5d0aceaa1ce85a2924c71cdb1c
[ "MIT" ]
2
2018-08-20T18:09:47.000Z
2019-04-29T06:18:42.000Z
server/tests/pyfiles/db/test_attributes.py
TheDarrenJoseph/AberWebMUD
c8b33e03a0c78e5d0aceaa1ce85a2924c71cdb1c
[ "MIT" ]
6
2019-04-28T20:56:25.000Z
2022-02-12T04:33:23.000Z
server/tests/pyfiles/db/test_attributes.py
TheDarrenJoseph/AberWebMUD
c8b33e03a0c78e5d0aceaa1ce85a2924c71cdb1c
[ "MIT" ]
null
null
null
import unittest from pyfiles.db import attributes from pyfiles.db.attributes import ATTRIBUTE_NAMES class TestAttributes(unittest.TestCase): def test_get_json_attribute_score_options(self): json_options = attributes.Attributes.get_json_attribute_score_options() self.assertEqual(json_options, {'opt...
38.222222
79
0.811047
42
344
6.333333
0.452381
0.082707
0.097744
0.157895
0.240602
0.240602
0
0
0
0
0
0
0.119186
344
9
80
38.222222
0.877888
0
0
0
0
0
0.02029
0
0
0
0
0
0.142857
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
aea74bbe51e0f4285cd4a59101bb63b7a3eccd03
266
py
Python
run.py
wimjan123/AvidProjectSetup
71a863fa4d416991ce066c29e9b81eba57b28205
[ "MIT" ]
null
null
null
run.py
wimjan123/AvidProjectSetup
71a863fa4d416991ce066c29e9b81eba57b28205
[ "MIT" ]
null
null
null
run.py
wimjan123/AvidProjectSetup
71a863fa4d416991ce066c29e9b81eba57b28205
[ "MIT" ]
null
null
null
import wx app = wx.App() frmf = wx.Frame(None, title="NLE_KeyConvert") def avid_button_clicked(event): avid_button = wx.Button(frmf, label="Avid Media Composer", size=(0.4,3)) avid_button.Bind(wx.EVT_BUTTON, avid_button_clicked) frmf.Show() app.MainLoop()
14
72
0.729323
43
266
4.325581
0.581395
0.215054
0.182796
0
0
0
0
0
0
0
0
0.012821
0.120301
266
18
73
14.777778
0.782051
0
0
0
0
0
0.12406
0
0
0
0
0
0
0
null
null
0
0.125
null
null
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
1
0
0
0
0
0
0
0
0
3
aea844f68a57d33dbfb45f9d6d45a81cf9b6a368
59
py
Python
App/hefesto_core/__init__.py
ZikloSolar/Hefesto
b04675d9c0a70bbf4a637780dd098b9c7e93549b
[ "MIT" ]
1
2021-11-29T07:54:28.000Z
2021-11-29T07:54:28.000Z
App/hefesto_core/__init__.py
ZikloSolar/Hefesto
b04675d9c0a70bbf4a637780dd098b9c7e93549b
[ "MIT" ]
null
null
null
App/hefesto_core/__init__.py
ZikloSolar/Hefesto
b04675d9c0a70bbf4a637780dd098b9c7e93549b
[ "MIT" ]
3
2020-03-25T20:20:22.000Z
2021-11-10T05:20:20.000Z
default_app_config = 'hefesto_core.apps.HefestoCoreConfig'
29.5
58
0.864407
7
59
6.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.050847
59
1
59
59
0.857143
0
0
0
0
0
0.59322
0.59322
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aea8a6cfd02711dbe6f039936a9de1d40be46d49
128
py
Python
pymisp/__init__.py
KennethAdamMiller/PyMISP
497e874581afb7bdeb197df363b8cf8aa161cbda
[ "BSD-2-Clause" ]
1
2019-08-14T21:09:57.000Z
2019-08-14T21:09:57.000Z
pymisp/__init__.py
naxonez/PyMISP
497e874581afb7bdeb197df363b8cf8aa161cbda
[ "BSD-2-Clause" ]
null
null
null
pymisp/__init__.py
naxonez/PyMISP
497e874581afb7bdeb197df363b8cf8aa161cbda
[ "BSD-2-Clause" ]
1
2019-11-21T10:36:32.000Z
2019-11-21T10:36:32.000Z
__version__ = '2.4.49' from .api import PyMISP, PyMISPError, NewEventError, NewAttributeError, MissingDependency, NoURL, NoKey
32
103
0.796875
14
128
7
1
0
0
0
0
0
0
0
0
0
0
0.035088
0.109375
128
3
104
42.666667
0.824561
0
0
0
0
0
0.046875
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
aeb8e5697b5f03b16df8d8b69bc0d8e201d38c6a
7,604
py
Python
python/pyspark_cassandra/types.py
gfronza/pyspark-cassandra
7fa98bb27f460486805cf369306d28dcd9d364d7
[ "Apache-2.0" ]
67
2017-06-14T13:57:40.000Z
2021-09-06T14:30:36.000Z
python/pyspark_cassandra/types.py
gfronza/pyspark-cassandra
7fa98bb27f460486805cf369306d28dcd9d364d7
[ "Apache-2.0" ]
33
2017-06-13T10:37:38.000Z
2022-02-06T18:25:12.000Z
python/pyspark_cassandra/types.py
gfronza/pyspark-cassandra
7fa98bb27f460486805cf369306d28dcd9d364d7
[ "Apache-2.0" ]
32
2017-06-13T10:14:21.000Z
2022-01-25T11:25:59.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
27.060498
79
0.628353
1,001
7,604
4.493506
0.306693
0.037795
0.021787
0.005336
0.141619
0.106269
0.09004
0.057137
0.057137
0.033126
0
0.014501
0.265387
7,604
280
80
27.157143
0.790727
0.274987
0
0.186335
0
0
0.039571
0
0
0
0
0.003571
0
1
0.236025
false
0.006211
0.043478
0.118012
0.559006
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
aed47510a4b88970d732a69e08d710f85bf7ee81
669
py
Python
tests/test_match_cep.py
rennancockles/rastreio-correios
689f2d5ea26e45983834b2192d249c35e3db90aa
[ "MIT" ]
2
2021-11-16T16:54:19.000Z
2022-03-17T19:10:08.000Z
tests/test_match_cep.py
rennancockles/rastreio-correios
689f2d5ea26e45983834b2192d249c35e3db90aa
[ "MIT" ]
null
null
null
tests/test_match_cep.py
rennancockles/rastreio-correios
689f2d5ea26e45983834b2192d249c35e3db90aa
[ "MIT" ]
null
null
null
def test_cep_match(correios): matches = correios.match_cep(cep="28620000", cod="QC067757494BR") assert matches def test_cep_not_match_wrong_digit(correios): matches = correios.match_cep(cep="28620000", cod="QC067757490BR") assert not matches def test_cep_not_match(correios): matches = correios...
23.068966
78
0.745889
87
669
5.482759
0.206897
0.073375
0.24109
0.293501
0.725367
0.610063
0.522013
0.522013
0.339623
0.234801
0
0.148601
0.144993
669
28
79
23.892857
0.685315
0
0
0.266667
0
0
0.170404
0.032885
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
aede05f7876f4e0e4e2f6fbab02c68b1aa7cff70
1,921
py
Python
sk_dsp_comm/test/test_imports.py
toddrme2178/scikit-dsp-comm
e08427dfcf75d8389e921ab4d01ea3d2c7173a52
[ "BSD-2-Clause" ]
null
null
null
sk_dsp_comm/test/test_imports.py
toddrme2178/scikit-dsp-comm
e08427dfcf75d8389e921ab4d01ea3d2c7173a52
[ "BSD-2-Clause" ]
null
null
null
sk_dsp_comm/test/test_imports.py
toddrme2178/scikit-dsp-comm
e08427dfcf75d8389e921ab4d01ea3d2c7173a52
[ "BSD-2-Clause" ]
null
null
null
from unittest import TestCase class TestImports(TestCase): _multiprocess_can_split_ = True def test_coeff2header_import(self): import sk_dsp_comm.coeff2header def test_coeff2header_from(self): from sk_dsp_comm import coeff2header def test_digitalcom_import(self): import sk_d...
27.056338
49
0.744404
273
1,921
4.787546
0.10989
0.117827
0.151492
0.126243
0.649579
0.521041
0.388676
0.168324
0.06733
0.06733
0
0.002647
0.213431
1,921
71
50
27.056338
0.862343
0
0
0.042553
0
0
0
0
0
0
0
0
0
1
0.468085
false
0
0.744681
0
1.255319
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
aee12a8606af90886cbb9b24bdaba805549de981
531
py
Python
Codewars/Test/Mexican_wave_test.py
maxcohen31/A-bored-math-student
007beb4dabf7b4406f48e9a3a967c29d032eab89
[ "MIT" ]
null
null
null
Codewars/Test/Mexican_wave_test.py
maxcohen31/A-bored-math-student
007beb4dabf7b4406f48e9a3a967c29d032eab89
[ "MIT" ]
null
null
null
Codewars/Test/Mexican_wave_test.py
maxcohen31/A-bored-math-student
007beb4dabf7b4406f48e9a3a967c29d032eab89
[ "MIT" ]
null
null
null
import unittest from Mexican_wave_6_kyu import wave class MexicanWave(unittest.TestCase): def test_1(self): people = 'hello' result = ['Hello', 'hEllo', 'heLlo', 'helLo', 'hellO'] self.assertEqual(wave(people), result) def test_2(self): people = 'codewars' result = ['Cod...
33.1875
113
0.606403
55
531
5.618182
0.418182
0.36246
0.466019
0.517799
0.407767
0.20712
0.20712
0
0
0
0
0.007481
0.244821
531
16
114
33.1875
0.763092
0
0
0.153846
0
0
0.206767
0
0
0
0
0
0.153846
1
0.153846
false
0
0.153846
0
0.384615
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aeee6fc5349e40a306002d7cd130a69ff7eccdee
147
py
Python
sum.py
Baibhabswain/pythonPrograms
38380174f22e73b766b98754b00cd78a56b4bf59
[ "MIT" ]
1
2019-03-29T04:32:09.000Z
2019-03-29T04:32:09.000Z
sum.py
Baibhabswain/pythonPrograms
38380174f22e73b766b98754b00cd78a56b4bf59
[ "MIT" ]
null
null
null
sum.py
Baibhabswain/pythonPrograms
38380174f22e73b766b98754b00cd78a56b4bf59
[ "MIT" ]
null
null
null
def main(): sum=0 no=input("Please enter the number : ") while no>0: last=n%10 sum=sum+last no/=10 print "The sum is ",sum main()
16.333333
40
0.591837
27
147
3.222222
0.592593
0
0
0
0
0
0
0
0
0
0
0.054545
0.251701
147
9
41
16.333333
0.736364
0
0
0
0
0
0.264286
0
0
0
0
0
0
0
null
null
0
0
null
null
0.111111
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
1
0
0
0
0
0
0
0
0
3
4e2b473ae4106dced6cd574518ca13078eeaf9d1
283
py
Python
crawler/forms.py
bkosawa/admin-recommendation
8bc1acf20fde8e5e99b74da32cf426b037ccb98f
[ "Apache-2.0" ]
null
null
null
crawler/forms.py
bkosawa/admin-recommendation
8bc1acf20fde8e5e99b74da32cf426b037ccb98f
[ "Apache-2.0" ]
null
null
null
crawler/forms.py
bkosawa/admin-recommendation
8bc1acf20fde8e5e99b74da32cf426b037ccb98f
[ "Apache-2.0" ]
null
null
null
from django import forms from crawler import models class AppForm(forms.ModelForm): class Meta: model = models.App fields = '__all__' class AppDescriptionForm(forms.ModelForm): class Meta: model = models.AppDescription fields = '__all__'
17.6875
42
0.671378
30
283
6.066667
0.533333
0.153846
0.208791
0.252747
0.373626
0.373626
0
0
0
0
0
0
0.257951
283
15
43
18.866667
0.866667
0
0
0.4
0
0
0.04947
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9d68401dd093630784da476f2ab574ea408410c2
215
py
Python
optimesh/cvt/_helpers.py
jtpils/optimesh
24a8276235b1f4e86f2fb92cf814bf81e7fdbc48
[ "MIT" ]
1
2019-11-20T16:50:34.000Z
2019-11-20T16:50:34.000Z
optimesh/cvt/_helpers.py
jtpils/optimesh
24a8276235b1f4e86f2fb92cf814bf81e7fdbc48
[ "MIT" ]
null
null
null
optimesh/cvt/_helpers.py
jtpils/optimesh
24a8276235b1f4e86f2fb92cf814bf81e7fdbc48
[ "MIT" ]
null
null
null
def jac_uniform(mesh, mask): # create Jacobian cv = mesh.get_control_volumes(cell_mask=mask) cvc = mesh.get_control_volume_centroids(cell_mask=mask) return 2 * (mesh.node_coords - cvc) * cv[:, None]
35.833333
59
0.711628
32
215
4.5
0.625
0.097222
0.194444
0
0
0
0
0
0
0
0
0.005618
0.172093
215
5
60
43
0.803371
0.069767
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9d76a3888bec7f21950db366daeab78e546c46af
403
py
Python
usb_protocol/contextmgrs/descriptors/dfu.py
DX-MON/python-usb-protocol
ce0649683ee6a0839a3be8d2776b85fb1ec10dd6
[ "BSD-3-Clause" ]
null
null
null
usb_protocol/contextmgrs/descriptors/dfu.py
DX-MON/python-usb-protocol
ce0649683ee6a0839a3be8d2776b85fb1ec10dd6
[ "BSD-3-Clause" ]
null
null
null
usb_protocol/contextmgrs/descriptors/dfu.py
DX-MON/python-usb-protocol
ce0649683ee6a0839a3be8d2776b85fb1ec10dd6
[ "BSD-3-Clause" ]
null
null
null
# # This file is part of usb-protocol. # from ..manager import DescriptorContextManager from ...emitters.descriptors.standard import InterfaceDescriptorEmitter from ...emitters.descriptors.dfu import FunctionalDescriptorEmitter class FunctionalDescriptor(DescriptorContextManager): ParentDescriptor = InterfaceDe...
28.785714
71
0.831266
32
403
10.46875
0.71875
0.071642
0.137313
0
0
0
0
0
0
0
0
0
0.1067
403
13
72
31
0.930556
0.084367
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9dd87dcbfb181c5580002b72ea627d596dfdecca
1,494
py
Python
MetaStone/EnumFields/DatabaseModels/Internal/DbModelMapping.py
mrumming/MetaStonePhenoPointer
fc0b837b509ffec2db374723079a6fc97791f8e3
[ "BSD-3-Clause" ]
null
null
null
MetaStone/EnumFields/DatabaseModels/Internal/DbModelMapping.py
mrumming/MetaStonePhenoPointer
fc0b837b509ffec2db374723079a6fc97791f8e3
[ "BSD-3-Clause" ]
null
null
null
MetaStone/EnumFields/DatabaseModels/Internal/DbModelMapping.py
mrumming/MetaStonePhenoPointer
fc0b837b509ffec2db374723079a6fc97791f8e3
[ "BSD-3-Clause" ]
null
null
null
### # This file necessary due to cross importing errors if put to ./Uploads.py ### from MetaStone.models import Genome, GenomeIdMapping, GenomeLineage, EcosystemRelatedCharacteristics, \ SamplingSiteCharacteristics, SequencingCharacteristics, SpeciesRelatedCharacteristics, \ InferredSpeciesRelatedCharacteristi...
53.357143
119
0.777108
125
1,494
9.112
0.488
0.203687
0.291484
0.393327
0.223003
0
0
0
0
0
0
0.003101
0.136546
1,494
27
120
55.333333
0.879845
0.130522
0
0
0
0
0.133437
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9dfc40997d1e4478de499c2d8620c9d25304b235
1,271
py
Python
core/views.py
PayPal-Opportunity-Hack-Chennai-2016/gramium
d41d8cd39728fc8816ea0ce444c7289d668947a6
[ "Apache-2.0" ]
1
2016-11-14T07:58:02.000Z
2016-11-14T07:58:02.000Z
core/views.py
PayPal-Opportunity-Hack-Chennai-2016/gramium
d41d8cd39728fc8816ea0ce444c7289d668947a6
[ "Apache-2.0" ]
null
null
null
core/views.py
PayPal-Opportunity-Hack-Chennai-2016/gramium
d41d8cd39728fc8816ea0ce444c7289d668947a6
[ "Apache-2.0" ]
6
2016-11-12T09:20:09.000Z
2021-04-09T11:13:34.000Z
from django.shortcuts import render # Create your views here. from django.views.decorators.csrf import csrf_exempt from rest_framework import viewsets from core.models import Member, Group, Account, Identity, Loan, Repayment from core.serializers import GroupSerializer, MemberSerializer, AccountSerializer, IdentitySe...
34.351351
120
0.806452
118
1,271
8.618644
0.381356
0.117994
0.224189
0.283186
0.312684
0
0
0
0
0
0
0
0.124312
1,271
37
121
34.351351
0.913747
0.018096
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.038462
0.192308
0
0.923077
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d18d1045cf4fdc28660b3b80149d39f762e1724f
113
py
Python
garage/theano/baselines/__init__.py
shadiakiki1986/garage
095bb5d25b32df1d44b47e99a78a9b01796941d9
[ "MIT" ]
3
2019-08-11T22:26:55.000Z
2020-11-28T10:23:50.000Z
garage/theano/baselines/__init__.py
shadiakiki1986/garage
095bb5d25b32df1d44b47e99a78a9b01796941d9
[ "MIT" ]
null
null
null
garage/theano/baselines/__init__.py
shadiakiki1986/garage
095bb5d25b32df1d44b47e99a78a9b01796941d9
[ "MIT" ]
2
2019-08-11T22:30:14.000Z
2021-03-25T02:57:50.000Z
from garage.theano.baselines.gaussian_mlp_baseline import GaussianMLPBaseline __all__ = ["GaussianMLPBaseline"]
28.25
77
0.858407
11
113
8.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.070796
113
3
78
37.666667
0.866667
0
0
0
0
0
0.168142
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
d1a5a894910a11b743cb56ef4728df4c9da9ba93
260
py
Python
ramda/pick_by_test.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
56
2018-08-06T08:44:58.000Z
2022-03-17T09:49:03.000Z
ramda/pick_by_test.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
28
2019-06-17T11:09:52.000Z
2022-02-18T16:59:21.000Z
ramda/pick_by_test.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
5
2019-09-18T09:24:38.000Z
2021-07-21T08:40:23.000Z
from ramda.pick_by import pick_by from ramda.private.asserts import * def is_upper_case(val, key): return key.upper() == key def pick_by_test(): assert_equal( pick_by(is_upper_case, {"a": 1, "b": 2, "A": 3, "B": 4}), {"A": 3, "B": 4} )
20
82
0.6
45
260
3.244444
0.511111
0.164384
0.150685
0.054795
0
0
0
0
0
0
0
0.029412
0.215385
260
12
83
21.666667
0.686275
0
0
0
0
0
0.023077
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d1b47fe9d979173faeb05c4e209b3ec829b03080
106
py
Python
oasysapi/modules/annotation.py
SleepyCloud023/Oasys
0a2072f711acb5965fed05b18cd69e4537090560
[ "MIT" ]
null
null
null
oasysapi/modules/annotation.py
SleepyCloud023/Oasys
0a2072f711acb5965fed05b18cd69e4537090560
[ "MIT" ]
1
2022-01-25T10:42:53.000Z
2022-01-25T10:42:53.000Z
oasysapi/modules/annotation.py
SleepyCloud023/Oasys
0a2072f711acb5965fed05b18cd69e4537090560
[ "MIT" ]
2
2022-01-20T15:07:24.000Z
2022-01-20T15:10:44.000Z
import json DEFAULT_ANNO = json.dumps( {"category_list": [], "tag_list": [], "box_object_list": []})
21.2
65
0.632075
13
106
4.769231
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.150943
106
4
66
26.5
0.688889
0
0
0
0
0
0.339623
0
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
d1b72ee4c4f7ab5a6ac349afe0b38efb7ac6d1dc
357
py
Python
bin/helper_asymmetric_ciphers.py
adisakshya/pycrypto
0fd58ee9b76aec475720b068a32edde0d379ff75
[ "MIT" ]
2
2019-01-14T14:51:00.000Z
2019-10-31T14:34:36.000Z
bin/helper_asymmetric_ciphers.py
adisakshya/cryptoid
0fd58ee9b76aec475720b068a32edde0d379ff75
[ "MIT" ]
null
null
null
bin/helper_asymmetric_ciphers.py
adisakshya/cryptoid
0fd58ee9b76aec475720b068a32edde0d379ff75
[ "MIT" ]
null
null
null
""" MODULE NAME: helper_asymmetric_ciphers Author: Adisakshya Chauhan """ # import block ciphers from Crypto module # to use thier functions to encrypt and decrypt # messages from Crypto.PublicKey import RSA from Crypto.Cipher import PKCS1_OAEP import string # list of all supported ciphers """ ciphers = ['', RSA, vig...
21
51
0.764706
47
357
5.702128
0.680851
0.11194
0
0
0
0
0
0
0
0
0
0.003322
0.156863
357
16
52
22.3125
0.887043
0.535014
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d1ca32e04beef00892f7f19ffa40eccfe01ce0bd
1,082
py
Python
Chapter3/exercise3.py
ion-training/python-practical-programming
1b048da3c681ba534a6f0a8e3e1c3dc89f73694c
[ "MIT" ]
null
null
null
Chapter3/exercise3.py
ion-training/python-practical-programming
1b048da3c681ba534a6f0a8e3e1c3dc89f73694c
[ "MIT" ]
null
null
null
Chapter3/exercise3.py
ion-training/python-practical-programming
1b048da3c681ba534a6f0a8e3e1c3dc89f73694c
[ "MIT" ]
null
null
null
# define a function that: # has one parameter, a number, and returns that number tripled. # Q1: What do you name the function? # A: number_tripled # Q2: What are the parameters, and what types of information do they refer to? # A: one parameter of type number # Q2: What calculations are you doing with that informat...
25.761905
84
0.709797
175
1,082
4.365714
0.445714
0.085079
0.026178
0
0
0
0
0
0
0
0
0.022646
0.224584
1,082
41
85
26.390244
0.887962
0.866913
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d1ccce8127bf08b3f4c4712cf7fccd06abbe0cdd
8,301
py
Python
justin/sql_database/sqlite3_controller.py
emo8355/apple_music
17cafdfa5f3fcbbac32c8238e176524d36ccd7cf
[ "MIT" ]
1
2020-04-09T21:07:34.000Z
2020-04-09T21:07:34.000Z
justin/sql_database/sqlite3_controller.py
emo8355/apple_music
17cafdfa5f3fcbbac32c8238e176524d36ccd7cf
[ "MIT" ]
null
null
null
justin/sql_database/sqlite3_controller.py
emo8355/apple_music
17cafdfa5f3fcbbac32c8238e176524d36ccd7cf
[ "MIT" ]
null
null
null
import sqlite3 database = './orange-music.db' # #this line creates the file 'database = './file-name.db' - if it doesn't exist, if it does exist, it connects # connection = sqlite3.connect(database) # #cursor lets you execute sql commands # cursor = connection.cursor() default_album_cover = 'https://icons.iconarchiv...
33.881633
155
0.689555
1,016
8,301
5.405512
0.09252
0.154406
0.11799
0.15732
0.775674
0.747451
0.691551
0.664967
0.654042
0.654042
0
0.006042
0.182508
8,301
244
156
34.020492
0.803271
0.0618
0
0.767442
0
0.005814
0.223138
0
0
0
0
0
0
1
0.151163
false
0.011628
0.005814
0
0.232558
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d1f1cd3a32911da69b48aa30f8be2a093d351ce5
155
py
Python
midi-player/main.py
njanirudh/air-drums
07d0adddb70ae055d58efd2b0ae3a9f8fae3ae18
[ "MIT" ]
null
null
null
midi-player/main.py
njanirudh/air-drums
07d0adddb70ae055d58efd2b0ae3a9f8fae3ae18
[ "MIT" ]
null
null
null
midi-player/main.py
njanirudh/air-drums
07d0adddb70ae055d58efd2b0ae3a9f8fae3ae18
[ "MIT" ]
null
null
null
from drum_service import DrumService if __name__ == "__main__" : drums_srv = DrumService() drums_srv.initialize_services() drums_srv.start()
19.375
36
0.729032
18
155
5.555556
0.722222
0.24
0
0
0
0
0
0
0
0
0
0
0.180645
155
7
37
22.142857
0.787402
0
0
0
0
0
0.051613
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
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
3
0601d7ef09a23d682998050e14d62836cda2c502
467
py
Python
tests/operations/context.py
AlanHorowitz/open-ended-capstone
80590af5b09c2245f124cec20ed7594d62cff30e
[ "MIT" ]
null
null
null
tests/operations/context.py
AlanHorowitz/open-ended-capstone
80590af5b09c2245f124cec20ed7594d62cff30e
[ "MIT" ]
null
null
null
tests/operations/context.py
AlanHorowitz/open-ended-capstone
80590af5b09c2245f124cec20ed7594d62cff30e
[ "MIT" ]
null
null
null
import os import sys sys.path.insert( 0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../../WidgetsUnlimited")), ) from model.metadata import Table, Column from model.order import OrderTable from model.order_line_item import OrderLineItemTable from model.product import ProductTable from model.cus...
27.470588
87
0.815846
60
467
6.216667
0.516667
0.120643
0.075067
0.155496
0
0
0
0
0
0
0
0.002398
0.107066
467
16
88
29.1875
0.892086
0
0
0
0
0
0.047109
0.047109
0
0
0
0
0
1
0
true
0
0.692308
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ae0faf9742fd7f96fec1866d939e6b371fcedb94
80
py
Python
text_classification_with_pytorch/src/demo.py
rakeshku93/nlpProjects
b478a8e7895bd62547cf613b9f6cba2776eee0de
[ "MIT" ]
null
null
null
text_classification_with_pytorch/src/demo.py
rakeshku93/nlpProjects
b478a8e7895bd62547cf613b9f6cba2776eee0de
[ "MIT" ]
null
null
null
text_classification_with_pytorch/src/demo.py
rakeshku93/nlpProjects
b478a8e7895bd62547cf613b9f6cba2776eee0de
[ "MIT" ]
null
null
null
import pandas as pd from sklearn import metrics acc = metrics.accuracy_score()
16
30
0.8
12
80
5.25
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.15
80
5
30
16
0.926471
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
ae18fe38ef6b4ba2804bffce89459d82f0fb843d
336
py
Python
corehq/apps/style/templatetags/hqstyle_tags.py
dslowikowski/commcare-hq
ad8885cf8dab69dc85cb64f37aeaf06106124797
[ "BSD-3-Clause" ]
1
2015-02-10T23:26:39.000Z
2015-02-10T23:26:39.000Z
corehq/apps/style/templatetags/hqstyle_tags.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
1
2022-03-12T01:03:25.000Z
2022-03-12T01:03:25.000Z
corehq/apps/style/templatetags/hqstyle_tags.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
from django import template register = template.Library() @register.inclusion_tag('hqstyle/forms/basic_fieldset.html') def bootstrap_fieldset(form, fieldset_name=''): return {'form':form, 'legend':fieldset_name} @register.inclusion_tag('hqstyle/forms/basic_errors.html') def bootstrap_form_errors(form): retur...
28
60
0.77381
43
336
5.837209
0.465116
0.135458
0.159363
0.215139
0.294821
0.294821
0
0
0
0
0
0
0.089286
336
11
61
30.545455
0.820261
0
0
0
0
0
0.232143
0.190476
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
ae251d115d07be428b23887946cf216035783ed4
47
py
Python
3rd_party_software/pyca/Code/Python/__init__.py
ninamiolane/quicksilver
1baf251360dadea0afa3daaa09942d9d2d7c71fb
[ "Apache-2.0" ]
126
2017-04-06T03:19:03.000Z
2022-03-08T07:44:09.000Z
3rd_party_software/pyca/Code/Python/__init__.py
ninamiolane/quicksilver
1baf251360dadea0afa3daaa09942d9d2d7c71fb
[ "Apache-2.0" ]
7
2017-09-22T01:46:04.000Z
2021-04-29T07:22:44.000Z
3rd_party_software/pyca/Code/Python/__init__.py
ninamiolane/quicksilver
1baf251360dadea0afa3daaa09942d9d2d7c71fb
[ "Apache-2.0" ]
37
2017-04-03T17:14:44.000Z
2022-03-09T16:00:03.000Z
__all__=[ "Core", "Common", "Display", "VTK" ]
23.5
46
0.574468
5
47
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.12766
47
1
47
47
0.560976
0
0
0
0
0
0.425532
0
0
0
0
0
0
1
0
false
0
0
0
0
0
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
0
0
3
ae27cc5f73e240e7d3659b0527aac1f2dc2dd837
381
py
Python
ZhiHu-Spider/helper/launch_helper.py
xll-1994/ZhiHuSpider
f211cc24ad11ca632d0654812e17dd98088683cd
[ "MIT" ]
1
2021-12-20T13:38:22.000Z
2021-12-20T13:38:22.000Z
ZhiHu-Spider/helper/launch_helper.py
xll-1994/ZhiHuSpider
f211cc24ad11ca632d0654812e17dd98088683cd
[ "MIT" ]
3
2022-01-07T05:49:44.000Z
2022-01-17T07:31:16.000Z
ZhiHu-Spider/helper/launch_helper.py
xll-1994/ZhiHuSpider
f211cc24ad11ca632d0654812e17dd98088683cd
[ "MIT" ]
1
2022-01-07T06:48:40.000Z
2022-01-07T06:48:40.000Z
# -*- coding: utf-8 -*- # ProjectName: ZhiHu-Spider # FileName: launch_helper # Description: # CreateDate: 2021/12/25 def start_answer_spider(question_id): from spider.answer_spider import AnswerSpider AnswerSpider(question_id).run() def start_article_spider(article_id): from spider.article_spi...
23.8125
51
0.745407
46
381
5.934783
0.543478
0.058608
0.087912
0
0
0
0
0
0
0
0
0.02795
0.154856
381
15
52
25.4
0.819876
0.304462
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
ae4dad3b040b26032da3c30327f615dd3fffb8f8
1,930
py
Python
megfile/lib/stdio_handler.py
bbtfr/megfile
7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0
[ "Apache-2.0", "MIT" ]
69
2021-08-28T15:03:26.000Z
2022-03-04T23:43:22.000Z
megfile/lib/stdio_handler.py
bbtfr/megfile
7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0
[ "Apache-2.0", "MIT" ]
75
2021-08-30T02:36:46.000Z
2022-03-29T07:59:11.000Z
megfile/lib/stdio_handler.py
bbtfr/megfile
7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0
[ "Apache-2.0", "MIT" ]
9
2021-08-30T10:46:52.000Z
2022-01-08T08:26:58.000Z
import sys from io import UnsupportedOperation from typing import AnyStr, Optional from megfile.interfaces import Readable, Writable class STDHandler: def tell(self): raise UnsupportedOperation('not tellable') def _close(self): pass class STDReader(STDHandler, Readable): """ megfile e...
22.97619
90
0.604145
234
1,930
4.897436
0.311966
0.052356
0.052356
0.044503
0.593368
0.593368
0.593368
0.593368
0.593368
0.513089
0
0.003729
0.305181
1,930
83
91
23.253012
0.850858
0.22228
0
0.382979
0
0
0.02751
0
0
0
0
0
0
1
0.234043
false
0.021277
0.085106
0.148936
0.531915
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
ae645048091ead434ffa8c67a0201efce2e83b64
68
py
Python
kymatio/phaseexp1d/pyscatwave/scatwave/scattering1d/__init__.py
sixin-zh/kymatio_wph
237c0d2009766cf83b2145420a14d3c6e90dc983
[ "BSD-3-Clause" ]
1
2019-11-08T22:48:28.000Z
2019-11-08T22:48:28.000Z
kymatio/scattering1d/__init__.py
tingyuansen/kymatio
0073d325ee508ac2236a992d9c2e29190d40595c
[ "BSD-3-Clause" ]
3
2018-11-26T04:03:01.000Z
2021-04-26T19:17:52.000Z
kymatio/scattering1d/__init__.py
tingyuansen/kymatio
0073d325ee508ac2236a992d9c2e29190d40595c
[ "BSD-3-Clause" ]
1
2019-03-16T04:42:17.000Z
2019-03-16T04:42:17.000Z
__all__ = ['Scattering1D'] from .scattering1d import Scattering1D
13.6
38
0.779412
6
68
8.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0.050847
0.132353
68
4
39
17
0.779661
0
0
0
0
0
0.176471
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
ae668eb8a275407e9ab21b8bc820a30b1d92b2c8
825
py
Python
Python3/791.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
Python3/791.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
Python3/791.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 24 ms submission class Solution: def customSortString(self, s: str, t: str) -> str: order, end = { c: i for i, c in enumerate(s) }, 100 return "".join(sorted(t, key=lambda c: order.get(c, end))) ___...
43.421053
98
0.705455
82
825
3.512195
0.439024
0.104167
0.159722
0.180556
0.611111
0.611111
0.430556
0.430556
0.430556
0.430556
0
0.02439
0.204848
825
18
99
45.833333
0.414634
0
0
0.277778
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
ae7479634586747551e4d40882f78280c460768c
222
py
Python
real_trade/api/coincheck/trade.py
taka-mochi/cryptocurrency-autotrading
16677018c793d7bd3fffdcd3575aecb3535dbd04
[ "BSD-3-Clause" ]
3
2018-05-22T22:45:23.000Z
2020-02-13T16:45:03.000Z
real_trade/api/coincheck/trade.py
taka-mochi/cryptocurrency-autotrading
16677018c793d7bd3fffdcd3575aecb3535dbd04
[ "BSD-3-Clause" ]
null
null
null
real_trade/api/coincheck/trade.py
taka-mochi/cryptocurrency-autotrading
16677018c793d7bd3fffdcd3575aecb3535dbd04
[ "BSD-3-Clause" ]
null
null
null
from coincheck.servicebase import ServiceBase class Trade(ServiceBase): baseUrl = '/api/trades' def all(self, params = {}): return self.coinCheck.request(ServiceBase.METHOD_GET, self.baseUrl, params)
27.75
83
0.711712
25
222
6.28
0.68
0
0
0
0
0
0
0
0
0
0
0
0.18018
222
7
84
31.714286
0.862637
0
0
0
0
0
0.04955
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
ae7a17a272654e18a7f2b6b7510de652842a9e6b
11,136
py
Python
canvas/lib/dommatrixreadonly.py
elliottcarlson/pptx-canvas
1223e4abbc30de76359c8deefd5463c4c0eb7712
[ "MIT" ]
6
2016-10-20T09:31:23.000Z
2022-02-18T17:49:33.000Z
canvas/lib/dommatrixreadonly.py
elliottcarlson/pptx-canvas
1223e4abbc30de76359c8deefd5463c4c0eb7712
[ "MIT" ]
null
null
null
canvas/lib/dommatrixreadonly.py
elliottcarlson/pptx-canvas
1223e4abbc30de76359c8deefd5463c4c0eb7712
[ "MIT" ]
4
2016-06-02T08:59:32.000Z
2021-12-27T21:20:19.000Z
""" ================= DOMMatrixReadOnly ================= """ import numpy as np import re class DOMMatrixReadOnly(object): """ [Constructor(sequence<unrestricted double> numberSequence), Exposed=(Window,Worker)] interface DOMMatrixReadOnly { // These attributes are simple aliases for certa...
31.546742
83
0.558639
1,315
11,136
4.620532
0.156654
0.151086
0.052995
0.126728
0.266129
0.243252
0.227781
0.138084
0.130843
0.119816
0
0.066544
0.318517
11,136
352
84
31.636364
0.734089
0.378592
0
0.314136
0
0
0.068326
0
0
0
0
0.002841
0
1
0.209424
false
0.052356
0.015707
0.120419
0.397906
0.005236
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
88156214dc1d99b87a5a6e20ff630a46d1e53f84
797
py
Python
agentnet/environment/__init__.py
mraihan19/AgentNet
240b7ac351d5c7a156a6c9c25432d5a7afffe3cc
[ "MIT" ]
337
2016-04-20T09:34:06.000Z
2022-03-23T10:09:15.000Z
agentnet/environment/__init__.py
17minutes/AgentNet
a0df28f6110f0e492240e0264f8ccce6cde18f99
[ "MIT" ]
58
2016-04-04T10:21:10.000Z
2017-08-09T07:47:37.000Z
agentnet/environment/__init__.py
17minutes/AgentNet
a0df28f6110f0e492240e0264f8ccce6cde18f99
[ "MIT" ]
88
2016-04-28T01:18:11.000Z
2021-12-05T02:48:28.000Z
""" Environment is an MDP abstraction that defines which observations does agent get and how does environment external state change given agent actions and previous state. There's a base class for environment definition, as well as special environments for Experience Replay. When designing your own experiment, - i...
41.947368
128
0.824341
106
797
6.113208
0.735849
0.012346
0
0
0
0
0
0
0
0
0
0
0.139272
797
18
129
44.277778
0.944606
0.706399
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
0
1
0
1
0
1
0
0
3
88279a7017aa712660762c7e1168632ed57352f7
588
py
Python
src/auth/serializers/identifying_document_serializer.py
Midburn/midburn-profiles-django
e124a617986931baed0b17f5d7a1ba6c7d5528e9
[ "MIT" ]
null
null
null
src/auth/serializers/identifying_document_serializer.py
Midburn/midburn-profiles-django
e124a617986931baed0b17f5d7a1ba6c7d5528e9
[ "MIT" ]
20
2019-10-05T13:23:47.000Z
2022-03-11T23:37:37.000Z
src/auth/serializers/identifying_document_serializer.py
Midburn/midburn-profiles-django
e124a617986931baed0b17f5d7a1ba6c7d5528e9
[ "MIT" ]
1
2019-09-30T11:40:45.000Z
2019-09-30T11:40:45.000Z
from rest_framework import serializers from src.auth.auth_models.identifying_document import IdentifyingDocument class IDSerializer(serializers.ModelSerializer): user = serializers.HiddenField( default=serializers.CurrentUserDefault() ) def validate(self, data): if data['identification_ty...
29.4
99
0.678571
55
588
7.127273
0.672727
0.091837
0.061224
0
0
0
0
0
0
0
0
0
0.236395
588
19
100
30.947368
0.873051
0.042517
0
0.142857
0
0
0.147687
0.037367
0
0
0
0.052632
0
1
0.071429
false
0.071429
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
884335dc7d76a819c2e9227ff5951cb34d066677
320
py
Python
LineSync/__init__.py
l-mda/AsyncLine
161044424ec17d683651ff26a4f6ca49c905760c
[ "MIT" ]
2
2019-07-31T13:11:54.000Z
2019-10-10T03:19:57.000Z
LineSync/__init__.py
l-mda/AsyncLine
161044424ec17d683651ff26a4f6ca49c905760c
[ "MIT" ]
null
null
null
LineSync/__init__.py
l-mda/AsyncLine
161044424ec17d683651ff26a4f6ca49c905760c
[ "MIT" ]
2
2019-07-31T13:11:55.000Z
2021-07-09T22:24:22.000Z
from .connections import Connection from .main import LineNext from .proto import * from .filters import * from .utils import * from .auth import * from .models import * from .lib.Gen.ttypes import * __author__ = "Dyseo" __from_source__ = "Anysz" __base__ = "Anysz" __fixing__ = "Dyseo" __version__ = "1.3"
22.857143
36
0.7125
40
320
5.175
0.575
0.241546
0
0
0
0
0
0
0
0
0
0.007692
0.1875
320
14
37
22.857143
0.788462
0
0
0
0
0
0.074675
0
0
0
0
0
0
1
0
false
0
0.615385
0
0.615385
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
88482868aa55125971f66fa4a5ec7cfaf7859847
168
py
Python
setup.py
huangyh09/limix
bed5b8e0aaa9b11f19bdd13b76d21510e56064be
[ "Apache-2.0" ]
93
2017-05-25T21:54:45.000Z
2022-03-30T14:51:01.000Z
setup.py
huangyh09/limix
bed5b8e0aaa9b11f19bdd13b76d21510e56064be
[ "Apache-2.0" ]
90
2017-04-20T16:59:41.000Z
2022-02-02T17:40:58.000Z
setup.py
huangyh09/limix
bed5b8e0aaa9b11f19bdd13b76d21510e56064be
[ "Apache-2.0" ]
28
2017-05-31T21:59:19.000Z
2022-02-09T18:12:51.000Z
from setuptools import setup if __name__ == "__main__": console_scripts = ["limix = limix:_cli.cli"] setup(entry_points=dict(console_scripts=console_scripts))
28
61
0.75
21
168
5.380952
0.666667
0.371681
0
0
0
0
0
0
0
0
0
0
0.136905
168
5
62
33.6
0.77931
0
0
0
0
0
0.178571
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
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
3
8852af946407b78e06fbdc5cbc9a445d918c4d2d
319
py
Python
ievv_opensource/utils/desktopnotifications/base.py
appressoas/ievv_opensource
63e87827952ddc8f6f86145b79478ef21d6a0990
[ "BSD-3-Clause" ]
null
null
null
ievv_opensource/utils/desktopnotifications/base.py
appressoas/ievv_opensource
63e87827952ddc8f6f86145b79478ef21d6a0990
[ "BSD-3-Clause" ]
37
2015-10-26T09:14:12.000Z
2022-02-10T10:35:33.000Z
ievv_opensource/utils/desktopnotifications/base.py
appressoas/ievv_opensource
63e87827952ddc8f6f86145b79478ef21d6a0990
[ "BSD-3-Clause" ]
1
2015-11-06T07:56:34.000Z
2015-11-06T07:56:34.000Z
class AbstractNotification(object): def show_message(self, title, message): """ Show message in the notification system of the OS. Parameters: title: The title of the notification. message: The notification message. """ raise NotImplementedError()
24.538462
58
0.61442
31
319
6.290323
0.548387
0.230769
0.225641
0
0
0
0
0
0
0
0
0
0.316614
319
12
59
26.583333
0.894495
0.451411
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1
0
0
0
0
0
0
0
3
88558dea4dc8bffaaa123559ea69c944fd27f66f
574
py
Python
py_abac/policy/conditions/logic/any_of.py
farhah/py-abac
588ea2bba1cee4f6c234b5892d46faa34b2fc6e4
[ "Apache-2.0" ]
47
2019-10-17T03:23:01.000Z
2022-02-26T03:27:03.000Z
py_abac/policy/conditions/logic/any_of.py
farhah/py-abac
588ea2bba1cee4f6c234b5892d46faa34b2fc6e4
[ "Apache-2.0" ]
17
2020-02-24T02:17:34.000Z
2022-02-15T20:11:19.000Z
py_abac/policy/conditions/logic/any_of.py
ketgo/pyabac
8a44107a00f712bbb9c6cd3ecad155ef696cf035
[ "Apache-2.0" ]
10
2019-12-24T04:13:21.000Z
2021-08-01T08:21:41.000Z
""" Logical OR conditions """ from marshmallow import post_load from .base import LogicCondition, LogicConditionSchema class AnyOf(LogicCondition): """ Condition for any of sub-rules are satisfied """ def is_satisfied(self, ctx) -> bool: return any(value.is_satisfied(ctx) for value ...
21.259259
84
0.672474
68
574
5.588235
0.588235
0.063158
0.042105
0
0
0
0
0
0
0
0
0
0.226481
574
26
85
22.076923
0.855856
0.268293
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
0.888889
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
889da015204c80ce918f4392cfc5a260118ec022
231
py
Python
tarefas-poo/lista-01/calculos/programa.py
victoriaduarte/POO_UFSC
0c65b4f26383d1e3038d8469bd91fd2c0cb98c1a
[ "MIT" ]
null
null
null
tarefas-poo/lista-01/calculos/programa.py
victoriaduarte/POO_UFSC
0c65b4f26383d1e3038d8469bd91fd2c0cb98c1a
[ "MIT" ]
null
null
null
tarefas-poo/lista-01/calculos/programa.py
victoriaduarte/POO_UFSC
0c65b4f26383d1e3038d8469bd91fd2c0cb98c1a
[ "MIT" ]
null
null
null
# -------------------------- # UFSC - CTC - INE - INE5603 # Exercício calculos # -------------------------- # programa pincipal from view.interface_com_usuario import InterfaceComUsuario iu = InterfaceComUsuario() iu.interaja()
21
59
0.584416
19
231
7
0.894737
0.315789
0
0
0
0
0
0
0
0
0
0.019802
0.125541
231
10
60
23.1
0.638614
0.506494
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
88a6a4335da69c5a5f42caaeb3ae349dae80b9bb
924
py
Python
tests/test_challange2.py
joanlopez/tuenti-contest-5
4bb810013b75a6f0ba2892ecacd5bc6f2c2805b0
[ "MIT" ]
null
null
null
tests/test_challange2.py
joanlopez/tuenti-contest-5
4bb810013b75a6f0ba2892ecacd5bc6f2c2805b0
[ "MIT" ]
null
null
null
tests/test_challange2.py
joanlopez/tuenti-contest-5
4bb810013b75a6f0ba2892ecacd5bc6f2c2805b0
[ "MIT" ]
null
null
null
from unittest import TestCase from src.challange2.prime import Primes class TestChallange2(TestCase): def test_that_prime_factors_of_315_are_3_3_5_and_7(self): self.assertEquals(Primes.get_primes_of(315), [3, 3, 5, 7]) def test_that_6_is_an_almost_prime(self): self.assertTrue(Primes.is_almos...
34.222222
71
0.768398
150
924
4.26
0.273333
0.137715
0.120501
0.106416
0.485133
0.338028
0.338028
0.338028
0.338028
0.338028
0
0.060606
0.142857
924
26
72
35.538462
0.746212
0
0
0
0
0
0
0
0
0
0
0
0.411765
1
0.411765
false
0
0.117647
0
0.588235
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
1
0
0
3
88b085fa1d9dcc36b484a1a49396577252b876eb
170
pyde
Python
sketch_191010c.pyde
klimenkodasha/2019-fall-polytech-cs
19777f6adf6848af257a74db751e96f914a5f7e6
[ "MIT" ]
null
null
null
sketch_191010c.pyde
klimenkodasha/2019-fall-polytech-cs
19777f6adf6848af257a74db751e96f914a5f7e6
[ "MIT" ]
null
null
null
sketch_191010c.pyde
klimenkodasha/2019-fall-polytech-cs
19777f6adf6848af257a74db751e96f914a5f7e6
[ "MIT" ]
null
null
null
def setup(): size(500,500); background(0); smooth(); noLoop(); def draw(): strokeWeight(10); stroke(200); line(10, 10, 400, 400)
14.166667
27
0.5
20
170
4.25
0.75
0
0
0
0
0
0
0
0
0
0
0.191304
0.323529
170
11
28
15.454545
0.547826
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
true
0
0
0
0.222222
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
1
1
0
0
0
0
0
0
3
ee0475e1a4461205fe0067a99777c052eb86bb64
597
py
Python
word_vectorizer/tests/unittest/models/test_modelDataLoader.py
RodSernaPerez/WordVectorizer
097b2ccfc284b39ad43f56047ee25e393b7525ec
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
word_vectorizer/tests/unittest/models/test_modelDataLoader.py
RodSernaPerez/WordVectorizer
097b2ccfc284b39ad43f56047ee25e393b7525ec
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
word_vectorizer/tests/unittest/models/test_modelDataLoader.py
RodSernaPerez/WordVectorizer
097b2ccfc284b39ad43f56047ee25e393b7525ec
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from unittest import TestCase from unittest.mock import patch, MagicMock from word_vectorizer.models.model_data import ModelData from word_vectorizer.models.model_data_loader import ModelDataLoader class TestModelDataLoader(TestCase): @patch('word_vectorizer.models.model_data_loader.ModelData') def test_load...
37.3125
77
0.788945
76
597
5.934211
0.407895
0.093126
0.133038
0.166297
0.237251
0.237251
0
0
0
0
0
0
0.135678
597
15
78
39.8
0.874031
0
0
0
0
0
0.083752
0.083752
0
0
0
0
0.181818
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ee277a916a47b17afd4b5ede111ad49e9a3b5039
729
py
Python
server/read_big_file.py
tangchengdong/tangchengdong.github.io
62cc305481bc2df83d9db77be22ea13fcc181193
[ "MIT" ]
null
null
null
server/read_big_file.py
tangchengdong/tangchengdong.github.io
62cc305481bc2df83d9db77be22ea13fcc181193
[ "MIT" ]
1
2020-12-29T03:16:20.000Z
2020-12-29T03:16:20.000Z
server/read_big_file.py
tangchengdong/tangchengdong.github.io
62cc305481bc2df83d9db77be22ea13fcc181193
[ "MIT" ]
null
null
null
def readlines(f, separator): ''' 读取大文件方法 :param f: 文件句柄 :param separator: 每一行的分隔符 :return: ''' buf = '' while True: while separator in buf: position = buf.index(separator) # 分隔符的位置 yield buf[:position] # 切片, 从开始位置到分隔符位置 buf = buf[position + len(separator):] # 再切片...
729
729
0.578875
74
729
5.702703
0.662162
0.078199
0
0
0
0
0
0
0
0
0
0.017751
0.304527
729
1
729
729
0.814596
0.246914
0
0
0
0
0.035242
0
0
0
0
0
0
0
null
null
0
0
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
ee4435e762a4141f5ea02e73ec4eb50b306f6d66
356
py
Python
file_processing.py
kokapelli/Snake-AI
d214bac62b67e5cef5bda571aea9849e8a417696
[ "MIT" ]
null
null
null
file_processing.py
kokapelli/Snake-AI
d214bac62b67e5cef5bda571aea9849e8a417696
[ "MIT" ]
null
null
null
file_processing.py
kokapelli/Snake-AI
d214bac62b67e5cef5bda571aea9849e8a417696
[ "MIT" ]
null
null
null
import json # Load Game configurations def loadGameConfig() -> dict: with open('configurations/config.json') as json_file: config = json.load(json_file) return config # Load network parameter config def loadParams() -> dict: with open('configurations/params.json') as json_file: params = js...
27.384615
57
0.707865
45
356
5.511111
0.4
0.129032
0.096774
0.209677
0.177419
0
0
0
0
0
0
0
0.196629
356
13
58
27.384615
0.867133
0.151685
0
0
0
0
0.173333
0.173333
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
ee6d9e53dee1f7bd775a4b3d65ca783a8b49ad1b
1,104
py
Python
models/contract.py
muslax/aces-api
9d56f68277c284bd6985e13dca7f993e9db1b70f
[ "MIT" ]
null
null
null
models/contract.py
muslax/aces-api
9d56f68277c284bd6985e13dca7f993e9db1b70f
[ "MIT" ]
1
2020-08-17T04:17:58.000Z
2020-08-17T04:17:58.000Z
models/contract.py
muslax/aces-api
9d56f68277c284bd6985e13dca7f993e9db1b70f
[ "MIT" ]
2
2020-08-16T11:59:34.000Z
2020-08-26T05:35:07.000Z
from typing import List from datetime import date, datetime from pydantic import BaseModel from models.base import DBModel, WithClient, WithLicense from models.client import Contact # Module pricing model class PackagePricing(BaseModel): name: str = None priceLevel1: int = None priceLevel2: int = None ...
20.444444
60
0.725543
126
1,104
6.357143
0.428571
0.069913
0.062422
0.052434
0.072409
0
0
0
0
0
0
0.003436
0.209239
1,104
53
61
20.830189
0.914089
0.160326
0
0.09375
0
0
0
0
0
0
0
0
0
1
0
true
0.09375
0.15625
0
0.90625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
c99426238bc9443767fa9effbff1c1ea20b26cf0
258
py
Python
simplemath2.py
csamiselo/PythonScripsts
8ac0c086fca691d9c2dd0d8f758059c02f44e3e4
[ "MIT" ]
null
null
null
simplemath2.py
csamiselo/PythonScripsts
8ac0c086fca691d9c2dd0d8f758059c02f44e3e4
[ "MIT" ]
null
null
null
simplemath2.py
csamiselo/PythonScripsts
8ac0c086fca691d9c2dd0d8f758059c02f44e3e4
[ "MIT" ]
null
null
null
# csamiselo@github.com 15.10.2019 print("This is how i count my livestock") print("Goats",12 + 30 + 60) print("Cows", 13 + 15 + 10) print ("Layers" ,1000 + 250 + 503 ) print ("Are the layers more than the goats") print (12 + 30 + 60 < 1000 + 250 +503 )
19.846154
44
0.631783
44
258
3.704545
0.636364
0.04908
0.07362
0
0
0
0
0
0
0
0
0.22549
0.209302
258
12
45
21.5
0.573529
0.120155
0
0
0
0
0.361607
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
c994b46f59b511e7983256305291ea22eac2693c
618
py
Python
app.py
TheBotPlatform/POCInteractionEndPoint
d044a4d99d86c50fff635dad188130d21c3bc8fb
[ "MIT" ]
null
null
null
app.py
TheBotPlatform/POCInteractionEndPoint
d044a4d99d86c50fff635dad188130d21c3bc8fb
[ "MIT" ]
null
null
null
app.py
TheBotPlatform/POCInteractionEndPoint
d044a4d99d86c50fff635dad188130d21c3bc8fb
[ "MIT" ]
null
null
null
from thebotplatform import getBotResponse, BearerTokenGrab, CreateUserID from flask import Flask, render_template, request app = Flask(__name__) app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0 app.static_folder = 'static' @app.route("/") def home(): return render_template("index.html") @app.route("/example") def te...
22.888889
79
0.723301
77
618
5.506494
0.532468
0.075472
0.09434
0
0
0
0
0
0
0
0
0.001855
0.127832
618
26
80
23.769231
0.784787
0
0
0
0
0
0.152104
0.040453
0
0
0
0
0
1
0.210526
false
0
0.105263
0.210526
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
c9986a013735421e1b17254514a60b2e2193b959
151
py
Python
orange3/doc/data-mining-library/source/reference/code/imputation-default.py
rgschmitz1/BioDepot-workflow-builder
f74d904eeaf91ec52ec9b703d9fb38e9064e5a66
[ "MIT" ]
54
2017-01-08T17:21:49.000Z
2021-11-02T08:46:07.000Z
orange3/doc/data-mining-library/source/reference/code/imputation-default.py
Synthia-3/BioDepot-workflow-builder
4ee93abe2d79465755e82a145af3b6a6e1e79fd4
[ "MIT" ]
22
2017-03-28T06:03:14.000Z
2021-07-28T05:43:55.000Z
orange3/doc/data-mining-library/source/reference/code/imputation-default.py
Synthia-3/BioDepot-workflow-builder
4ee93abe2d79465755e82a145af3b6a6e1e79fd4
[ "MIT" ]
21
2017-01-26T21:12:09.000Z
2022-01-31T21:34:59.000Z
from Orange.data import Table from Orange.preprocess import Impute data = Table("heart-disease.tab") imputer = Impute() impute_heart = imputer(data)
18.875
36
0.774834
21
151
5.52381
0.52381
0.172414
0
0
0
0
0
0
0
0
0
0
0.125828
151
7
37
21.571429
0.878788
0
0
0
0
0
0.112583
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
c9afe0b4c494c13adb24a558e2baa809d9a553fd
1,143
py
Python
Others/medium/SpiralTraverse.py
GeorgianBadita/algorithmic-problems
6b260050b7a1768b5e47a1d7d4ef7138a52db210
[ "MIT" ]
1
2021-07-05T16:32:14.000Z
2021-07-05T16:32:14.000Z
Others/medium/SpiralTraverse.py
GeorgianBadita/algorithmic-problems
6b260050b7a1768b5e47a1d7d4ef7138a52db210
[ "MIT" ]
null
null
null
Others/medium/SpiralTraverse.py
GeorgianBadita/algorithmic-problems
6b260050b7a1768b5e47a1d7d4ef7138a52db210
[ "MIT" ]
1
2021-05-14T15:40:09.000Z
2021-05-14T15:40:09.000Z
def spiralTraverse(array): num_elements = len(array) * len(array[0]) n = len(array) m = len(array[0]) it = 0 result = [] while num_elements > 0: # Up side for j in range(it, m - it): result.append(array[it][j]) num_elements -= 1 if num_elemen...
24.847826
53
0.449694
141
1,143
3.553191
0.205674
0.285429
0.191617
0.195609
0.43513
0.391218
0.391218
0.391218
0.391218
0.321357
0
0.0347
0.445319
1,143
45
54
25.4
0.755521
0.034996
0
0.514286
0
0
0
0
0
0
0
0
0
1
0.028571
false
0
0
0
0.057143
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c9c4558073b2ff6042a0b197e50722ee569738c1
176
py
Python
squares.py
UCL-RITS/bisectdemo
dfdcd80b78c801b3974a910ac4f77ed1b1d51de6
[ "MIT" ]
null
null
null
squares.py
UCL-RITS/bisectdemo
dfdcd80b78c801b3974a910ac4f77ed1b1d51de6
[ "MIT" ]
null
null
null
squares.py
UCL-RITS/bisectdemo
dfdcd80b78c801b3974a910ac4f77ed1b1d51de6
[ "MIT" ]
2
2020-11-18T13:51:43.000Z
2020-12-17T22:29:44.000Z
#!/usr/bin/env python from __future__ import print_function import sys integer = int(sys.argv[1]) print(integer**2) # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
13.538462
53
0.75
27
176
4.703704
0.814815
0
0
0
0
0
0
0
0
0
0
0.032895
0.136364
176
12
54
14.666667
0.802632
0.409091
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
c9d06b78e433e7b980f6a22f982bf81875f86f90
124
py
Python
parrot/forms.py
whidbeyisland/Parrot
db85caf2d3083c8e9ec4b9eb1dc8e0d1b5834495
[ "MIT" ]
null
null
null
parrot/forms.py
whidbeyisland/Parrot
db85caf2d3083c8e9ec4b9eb1dc8e0d1b5834495
[ "MIT" ]
null
null
null
parrot/forms.py
whidbeyisland/Parrot
db85caf2d3083c8e9ec4b9eb1dc8e0d1b5834495
[ "MIT" ]
null
null
null
from django import forms class TextEntryForm(forms.Form): username = forms.CharField() prompt = forms.CharField()
17.714286
32
0.725806
14
124
6.428571
0.714286
0.311111
0
0
0
0
0
0
0
0
0
0
0.177419
124
6
33
20.666667
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
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
3
c9e2f0a77e67491d0454c210a2bac88425709725
251
py
Python
Week 4 Project - Adversarial Search and Games/BaseAI.py
edaaydinea/CSMM101X-Artificial-Intelligence
2490fab2a4ecfbcf21a68a2d7c5a18522301edea
[ "MIT" ]
3
2021-11-26T14:53:56.000Z
2021-11-27T11:46:16.000Z
Week 4 Project - Adversarial Search and Games/BaseAI.py
edaaydinea/CSMM101X-Artificial-Intelligence
2490fab2a4ecfbcf21a68a2d7c5a18522301edea
[ "MIT" ]
null
null
null
Week 4 Project - Adversarial Search and Games/BaseAI.py
edaaydinea/CSMM101X-Artificial-Intelligence
2490fab2a4ecfbcf21a68a2d7c5a18522301edea
[ "MIT" ]
null
null
null
""" This is the base class for any AI component. All AIs inherit from this module, and implement the getMove() function, which takes a Grid object as a parameter and returns a move. """ class BaseAI: def getMove(self,grid): pass
25.1
83
0.689243
39
251
4.435897
0.794872
0
0
0
0
0
0
0
0
0
0
0
0.243028
251
10
84
25.1
0.910526
0.705179
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
a008383bf0fe00702632fd153081760547448321
6,540
py
Python
branches/old/python/ansi-C-generator/generate_source_unroll.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
1
2018-01-05T16:13:08.000Z
2018-01-05T16:13:08.000Z
branches/old/python/ansi-C-generator/generate_source_unroll.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
null
null
null
branches/old/python/ansi-C-generator/generate_source_unroll.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
null
null
null
import fileinput import string import sys import os c_compiler = 'icc' c_link_flags = '-O1 -xT -march=core2 -mtune=core2 -align -strict-ansi' c_opt_flags = '-O3 -xT -march=core2 -mtune=core2 -funroll-loops -align -strict-ansi' fortran_compiler = 'ifort' fortran_link_flags = '-O1 -xT -march=core2 -mtune=core2 -align ' ...
51.09375
196
0.600612
1,041
6,540
3.644573
0.136407
0.16078
0.233263
0.295467
0.642066
0.578282
0.5
0.460727
0.352926
0.302847
0
0.036336
0.183639
6,540
127
197
51.496063
0.674284
0.070489
0
0.125
0
0.038462
0.334432
0.057854
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.009615
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
a01537870b51fa96b5ce424064af2988c6f35b45
135
py
Python
examples/bell_state.py
VIVelev/Quantsim
cde37880508dc3bd1db91186d19f09d8b0c0f4ae
[ "MIT" ]
null
null
null
examples/bell_state.py
VIVelev/Quantsim
cde37880508dc3bd1db91186d19f09d8b0c0f4ae
[ "MIT" ]
3
2020-03-31T02:55:21.000Z
2020-12-11T16:26:31.000Z
examples/bell_state.py
VIVelev/Quantsim
cde37880508dc3bd1db91186d19f09d8b0c0f4ae
[ "MIT" ]
null
null
null
from quantsim import Qubit, H, CNOT, D if __name__ == '__main__': q1, q2 = Qubit(), Qubit() q1 - H q1@q2 - CNOT(1, 2) - D
19.285714
38
0.555556
22
135
3.045455
0.636364
0.119403
0
0
0
0
0
0
0
0
0
0.072165
0.281481
135
6
39
22.5
0.618557
0
0
0
0
0
0.059259
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4e7447592d4e495ae23c3070e1bc068ee64d0c03
257
py
Python
datasets/prudent_life_insurance/info.py
deveshcode/benchmarks
c99516c2f953d4cd1516717c5695d29649824f69
[ "Apache-2.0" ]
null
null
null
datasets/prudent_life_insurance/info.py
deveshcode/benchmarks
c99516c2f953d4cd1516717c5695d29649824f69
[ "Apache-2.0" ]
null
null
null
datasets/prudent_life_insurance/info.py
deveshcode/benchmarks
c99516c2f953d4cd1516717c5695d29649824f69
[ "Apache-2.0" ]
null
null
null
from sklearn.metrics import r2_score from benchmarks.helpers.confidence import confidence_from_range_v1 file = 'data.csv' speed = 'medium' active = True accuracy_function = r2_score confidence_function = confidence_from_range_v1 target = 'Response'
28.555556
67
0.805447
34
257
5.794118
0.647059
0.071066
0.192893
0.213198
0
0
0
0
0
0
0
0.017937
0.132296
257
9
68
28.555556
0.865471
0
0
0
0
0
0.088
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
0
0
3
4e75780177d849ea37190a743a5c77f67e57c781
245
py
Python
ddns_manager/ddns_updater/base.py
hbontempo-br/ddns-manager
3d78ba540d433146fc61b4243c62a519830c1fb4
[ "MIT" ]
null
null
null
ddns_manager/ddns_updater/base.py
hbontempo-br/ddns-manager
3d78ba540d433146fc61b4243c62a519830c1fb4
[ "MIT" ]
15
2021-06-30T16:05:38.000Z
2021-07-11T16:14:29.000Z
ddns_manager/ddns_updater/base.py
hbontempo-br/ddns-manager
3d78ba540d433146fc61b4243c62a519830c1fb4
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import NoReturn class DDNSUpdaterError(Exception): pass class DDNSUpdater(ABC): @abstractmethod def update_ddns_record(self, ip: str) -> NoReturn: raise NotImplementedError
18.846154
54
0.746939
27
245
6.703704
0.740741
0.187845
0
0
0
0
0
0
0
0
0
0
0.191837
245
12
55
20.416667
0.914141
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.125
0.25
0
0.625
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
1
0
0
3
4e7a9644218c265c6d6edeba4364e82141b329c2
1,734
py
Python
metrics.py
andres-soto-h/ml-tarea-competencia
a639deff099706e8fad6e68333b64f19471d8570
[ "MIT" ]
null
null
null
metrics.py
andres-soto-h/ml-tarea-competencia
a639deff099706e8fad6e68333b64f19471d8570
[ "MIT" ]
null
null
null
metrics.py
andres-soto-h/ml-tarea-competencia
a639deff099706e8fad6e68333b64f19471d8570
[ "MIT" ]
1
2021-06-20T14:37:49.000Z
2021-06-20T14:37:49.000Z
""" In this module we store functions to measuer the performance of our model. """ import numpy as np from numpy.core.numeric import argwhere from sklearn.metrics import mean_absolute_error, make_scorer, f1_score, precision_score def get_metric_name_mapping(): return {_mae(): mean_absolute_error, _cm(): custom_e...
29.896552
122
0.71684
244
1,734
4.782787
0.32377
0.041988
0.072836
0.025707
0.161097
0.051414
0
0
0
0
0
0.009187
0.183968
1,734
58
123
29.896552
0.815548
0.115917
0
0
0
0
0.042763
0
0
0
0
0
0
1
0.243243
false
0
0.081081
0.162162
0.594595
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
4e90258ee386df119964fc9a8cace80b75e3cda7
145
py
Python
Bioinformatics_textbook/volumen_I/chapter_III/overlap.py
ugis22/bioinformatics_algorithm_text_book_problems
a0a5b24fca44aae8cb1cc3b0bd3b69bb76e1a09b
[ "MIT" ]
1
2018-05-07T08:38:27.000Z
2018-05-07T08:38:27.000Z
Bioinformatics_textbook/volumen_I/chapter_III/overlap.py
ugis22/bioinformatics_algorithm_text_book_problems
a0a5b24fca44aae8cb1cc3b0bd3b69bb76e1a09b
[ "MIT" ]
null
null
null
Bioinformatics_textbook/volumen_I/chapter_III/overlap.py
ugis22/bioinformatics_algorithm_text_book_problems
a0a5b24fca44aae8cb1cc3b0bd3b69bb76e1a09b
[ "MIT" ]
null
null
null
class Graph(object): def __init__(self, graph_dict=None): if graph_dict == None: graph_dict = {} self.__graph_dict = graph_dict
9.666667
37
0.668966
20
145
4.3
0.45
0.523256
0.302326
0
0
0
0
0
0
0
0
0
0.22069
145
14
38
10.357143
0.761062
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
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
3
4ead1eecd51def9d35f20b10b43d3d0377e8d3ef
6,192
py
Python
edwinServer/common/mail_helper.py
ljb-2000/edwin
0c699709853f3ba469c905136a7de18df8bc4d78
[ "Apache-2.0" ]
71
2015-01-17T16:59:05.000Z
2022-01-17T02:33:49.000Z
edwinServer/common/mail_helper.py
lucius-feng/edwin
0c699709853f3ba469c905136a7de18df8bc4d78
[ "Apache-2.0" ]
null
null
null
edwinServer/common/mail_helper.py
lucius-feng/edwin
0c699709853f3ba469c905136a7de18df8bc4d78
[ "Apache-2.0" ]
45
2015-01-18T03:10:41.000Z
2022-03-28T03:48:55.000Z
# -*- coding: utf-8 -*- ''' ''' from __future__ import absolute_import import logging import os class MailxMailSender(object): logger = logging.getLogger(__name__) def __init__(self): # read mail settings from configure file pass def _send(self, to_list, cc_list, subject, body): ...
34.021978
134
0.574935
765
6,192
4.428758
0.168627
0.044274
0.040142
0.060213
0.711334
0.697462
0.687721
0.687721
0.67503
0.67503
0
0.000711
0.31896
6,192
181
135
34.209945
0.802703
0.091408
0
0.765152
0
0.007576
0.142653
0
0
0
0
0
0
0
null
null
0.015152
0.060606
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4edb6e978ef3ac2991d42e824cd93de1ea7fe18c
354
py
Python
genelang/parsing/In.py
GabrielAmare/Genelang
af5294e900d2f79ff54375f9759c156a4b5a098a
[ "MIT" ]
null
null
null
genelang/parsing/In.py
GabrielAmare/Genelang
af5294e900d2f79ff54375f9759c156a4b5a098a
[ "MIT" ]
null
null
null
genelang/parsing/In.py
GabrielAmare/Genelang
af5294e900d2f79ff54375f9759c156a4b5a098a
[ "MIT" ]
null
null
null
from ._Name_Process import _Name_Process from genelang.lexing import TokenList from genelang.results import InResult class In(_Name_Process): def build(self, parser, tokens: TokenList, at_position: int) -> InResult: process_result = self.process.build(parser, tokens, at_position) return InResult(s...
35.4
77
0.771186
46
354
5.695652
0.456522
0.125954
0
0
0
0
0
0
0
0
0
0
0.152542
354
9
78
39.333333
0.873333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
14cdd30f850b6df676a57f2c4a0c7c3cfb8ad99c
179
py
Python
python-rrmngmnt-1/setup.py
evy972/bug-hunter
07b130f5f7a02b72abc1783c3edcebd2e561aa19
[ "Apache-2.0" ]
null
null
null
python-rrmngmnt-1/setup.py
evy972/bug-hunter
07b130f5f7a02b72abc1783c3edcebd2e561aa19
[ "Apache-2.0" ]
4
2018-05-29T03:58:15.000Z
2018-10-10T10:27:35.000Z
rrmng/setup.py
avihaie/bug-hunter
9a2730d9a61b268f45e9d3115b8bbba039b954db
[ "Apache-2.0" ]
null
null
null
import os from setuptools import setup os.environ['SKIP_GENERATE_AUTHORS'] = '1' if __name__ == "__main__": setup( setup_requires=['pbr'], pbr=True, )
13.769231
41
0.620112
21
179
4.761905
0.761905
0
0
0
0
0
0
0
0
0
0
0.007463
0.251397
179
12
42
14.916667
0.738806
0
0
0
1
0
0.184358
0.117318
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3