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
9b1a990d979c28365667513f1bd4ea2aa118f94c
773
py
Python
sources/vox.py
wybiral/firehose
aa11460a2143fbde0375a76e9cc5975e3d678825
[ "MIT" ]
7
2020-03-23T00:35:41.000Z
2022-01-30T07:21:05.000Z
sources/vox.py
wybiral/firehose
aa11460a2143fbde0375a76e9cc5975e3d678825
[ "MIT" ]
16
2019-09-29T16:06:02.000Z
2022-02-16T15:38:06.000Z
sources/vox.py
wybiral/firehose
aa11460a2143fbde0375a76e9cc5975e3d678825
[ "MIT" ]
null
null
null
from sources import RSSSource class Source(RSSSource): name = 'Vox' url = 'https://www.vox.com' feeds = [ ('https://www.vox.com/rss/business-and-finance/index.xml', 'business'), ('https://www.vox.com/rss/policy-and-politics/index.xml', 'politics'), ('https://www.vox.com/rss/technolo...
30.92
79
0.530401
105
773
3.866667
0.419048
0.118227
0.162562
0.206897
0.20936
0
0
0
0
0
0
0.003546
0.270375
773
25
80
30.92
0.716312
0
0
0
0
0
0.373385
0
0
0
0
0
0
1
0.090909
false
0
0.045455
0
0.409091
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b1d80a55032df804bdd39962265601567060f32
4,937
py
Python
multirunnable/framework/executor.py
Chisanan232/pyocean
9f283d97e32d97e241dc93ee6fb2ef2bf5cbd6c9
[ "Apache-2.0" ]
null
null
null
multirunnable/framework/executor.py
Chisanan232/pyocean
9f283d97e32d97e241dc93ee6fb2ef2bf5cbd6c9
[ "Apache-2.0" ]
null
null
null
multirunnable/framework/executor.py
Chisanan232/pyocean
9f283d97e32d97e241dc93ee6fb2ef2bf5cbd6c9
[ "Apache-2.0" ]
null
null
null
from .task import BaseQueueTask as _BaseQueueTask from .features import BaseFeatureAdapterFactory as _BaseFeatureAdapterFactory from .adapter.collection import BaseList as _BaseList from .result import MRResult as _MRResult from ..mode import RunningMode as _RunningMode from ..types import MRTasks as _MRTasks import mu...
28.537572
107
0.579502
458
4,937
5.978166
0.259825
0.068298
0.076698
0.07889
0.423667
0.385683
0.385683
0.385683
0.385683
0.385683
0
0.001215
0.333401
4,937
172
108
28.703488
0.830751
0.308892
0
0.41791
0
0
0.03666
0.01222
0
0
0
0
0
1
0.179104
false
0.134328
0.164179
0.014925
0.38806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9b1ed06d53fbfa8970d1fcf73c0876985c4dc153
1,859
py
Python
client/cli.py
leni1/click-cli-news-api
63e4242496cab9b7d65f9a3eb0d68c89f5ad5b2c
[ "BSD-3-Clause" ]
null
null
null
client/cli.py
leni1/click-cli-news-api
63e4242496cab9b7d65f9a3eb0d68c89f5ad5b2c
[ "BSD-3-Clause" ]
1
2021-06-01T23:32:02.000Z
2021-06-01T23:32:02.000Z
client/cli.py
leni1/click-cli-news-api
63e4242496cab9b7d65f9a3eb0d68c89f5ad5b2c
[ "BSD-3-Clause" ]
null
null
null
from random import sample from urllib.parse import urljoin import click import requests from .settings import API_KEY, SOURCES, TOP_HEAD SOURCE_URL = urljoin(SOURCES, '?apiKey={}'.format(API_KEY)) # TODO: Try a deliberate failure to see how the remote API responds # so that your code knows how to catch those except...
28.166667
76
0.653039
258
1,859
4.604651
0.449612
0.026936
0.031987
0.030303
0.048822
0.048822
0
0
0
0
0
0.002177
0.258741
1,859
65
77
28.6
0.859942
0.342657
0
0
0
0
0.138289
0.01815
0
0
0
0.015385
0
1
0.030303
false
0
0.151515
0
0.212121
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9b2041afd8d3697785429e828b67c0b05552fa6f
455
py
Python
users/migrations/0002_user_course.py
samul-1/js-exercise-platform
5b8a099deb59fc550065e179ec81d584cc8b48b9
[ "MIT" ]
null
null
null
users/migrations/0002_user_course.py
samul-1/js-exercise-platform
5b8a099deb59fc550065e179ec81d584cc8b48b9
[ "MIT" ]
null
null
null
users/migrations/0002_user_course.py
samul-1/js-exercise-platform
5b8a099deb59fc550065e179ec81d584cc8b48b9
[ "MIT" ]
1
2021-05-01T10:46:08.000Z
2021-05-01T10:46:08.000Z
# Generated by Django 3.1.7 on 2021-04-11 09:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AddField( model_name='user', name='course', field=m...
23.947368
136
0.567033
54
455
4.722222
0.759259
0
0
0
0
0
0
0
0
0
0
0.06006
0.268132
455
18
137
25.277778
0.705706
0.098901
0
0
1
0
0.125
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f197e9ffed83916f0a17656eb17c31a32900787b
2,330
py
Python
tests/test_common.py
decarsg/pykoop
6a8b7c83bdc7de3419e2fac48c1035fa06966e24
[ "MIT" ]
9
2021-10-18T21:49:46.000Z
2022-01-31T16:06:01.000Z
tests/test_common.py
decarsg/pykoop
6a8b7c83bdc7de3419e2fac48c1035fa06966e24
[ "MIT" ]
6
2021-10-19T18:02:08.000Z
2022-03-31T18:45:37.000Z
tests/test_common.py
decarsg/pykoop
6a8b7c83bdc7de3419e2fac48c1035fa06966e24
[ "MIT" ]
1
2022-03-08T14:59:33.000Z
2022-03-08T14:59:33.000Z
import pytest import sklearn.utils.estimator_checks from sklearn import preprocessing import pykoop import pykoop.lmi_regressors @pytest.mark.slow @sklearn.utils.estimator_checks.parametrize_with_checks([ pykoop.Edmd(), pykoop.Dmdc(), pykoop.Dmd(), pykoop.lmi_regressors.LmiEdmd(alpha=0), pykoop.l...
38.196721
79
0.722747
264
2,330
6.185606
0.276515
0.088181
0.18616
0.062462
0.516228
0.405389
0.361911
0.270055
0.270055
0.229639
0
0.021483
0.160944
2,330
60
80
38.833333
0.813811
0.018455
0
0.196429
0
0
0.030197
0
0
0
0
0
0
1
0.017857
false
0
0.089286
0
0.107143
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f19dd0ad01d3752d9fd69e65480c9e007f6394fe
576
py
Python
kubepy/base_commands.py
riklaunim/kubepy
2b4ccba4a32f77a494a65e812019dd3b5a47b997
[ "BSD-3-Clause" ]
13
2016-10-05T20:37:54.000Z
2021-07-16T00:56:40.000Z
kubepy/base_commands.py
riklaunim/kubepy
2b4ccba4a32f77a494a65e812019dd3b5a47b997
[ "BSD-3-Clause" ]
29
2016-10-20T17:01:52.000Z
2019-11-06T17:54:22.000Z
kubepy/base_commands.py
riklaunim/kubepy
2b4ccba4a32f77a494a65e812019dd3b5a47b997
[ "BSD-3-Clause" ]
7
2016-10-20T15:23:47.000Z
2020-12-25T17:19:42.000Z
import sys class CommandError(Exception): def __init__(self, message): super().__init__(message) self.message = message class BaseCommand: def run(self): parser = self.get_optparser() (options, names) = parser.parse_args() try: self.handle(names, options) ...
22.153846
46
0.604167
60
576
5.6
0.5
0.065476
0
0
0
0
0
0
0
0
0
0.0025
0.305556
576
25
47
23.04
0.8375
0
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0
0.368421
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f19e304bb10f52e26e0eda5610c794d71bdef650
1,277
py
Python
tests/test_lektor_twitter_embed.py
cigar-factory/lektor-twitter-embed
a4681be4a440a90e672de45e4b5da96c737eb976
[ "MIT" ]
null
null
null
tests/test_lektor_twitter_embed.py
cigar-factory/lektor-twitter-embed
a4681be4a440a90e672de45e4b5da96c737eb976
[ "MIT" ]
18
2021-04-16T07:25:41.000Z
2022-03-29T20:12:18.000Z
tests/test_lektor_twitter_embed.py
cigar-factory/lektor-twitter-embed
a4681be4a440a90e672de45e4b5da96c737eb976
[ "MIT" ]
null
null
null
import unittest.mock import pytest import requests from lektor_twitter_embed import _init_params, _tweet def _mock_request_valid(url, params): return {"html": "<blockquote..."} def _mock_request_exception(url, params): raise requests.exceptions.HTTPError() _tweet_url = "https://twitter.com/thisstuartlaw...
25.039216
87
0.713391
156
1,277
5.358974
0.294872
0.095694
0.086124
0.082536
0.388756
0.340909
0.276316
0.276316
0.276316
0.276316
0
0.01756
0.152702
1,277
50
88
25.54
0.755083
0
0
0.125
0
0
0.223179
0.108066
0
0
0
0
0.125
1
0.21875
false
0
0.125
0.03125
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f19f7242f23de6ad376fee1597815297f261f4ec
3,477
py
Python
python/common/diagnostic/decorators.py
CountZer0/PipelineConstructionSet
0aa73a8a63c72989b2d1c677efd78dad4388d335
[ "BSD-3-Clause" ]
21
2015-04-27T05:01:36.000Z
2021-11-22T13:45:14.000Z
python/common/diagnostic/decorators.py
0xb1dd1e/PipelineConstructionSet
621349da1b6d1437e95d0c9e48ee9f36d59f19fd
[ "BSD-3-Clause" ]
null
null
null
python/common/diagnostic/decorators.py
0xb1dd1e/PipelineConstructionSet
621349da1b6d1437e95d0c9e48ee9f36d59f19fd
[ "BSD-3-Clause" ]
7
2015-04-11T11:37:19.000Z
2020-05-22T09:49:04.000Z
''' Author: Jason.Parks Created: Apr 17, 2012 Module: common.diagnostic.decorators Purpose: some convenient decorators ''' import hotshot.stats import profile import warnings def deprecated(funcOrMessage, className=None): """the decorator can either receive parameters or the function directly. If passed a message,...
29.974138
129
0.704055
459
3,477
5.108932
0.326797
0.029851
0.035821
0.044776
0.206823
0.191471
0.191471
0.191471
0.191471
0.179531
0
0.005782
0.154443
3,477
116
130
29.974138
0.791837
0.06845
0
0.253165
0
0
0.19291
0.038433
0
0
0
0
0
0
null
null
0
0.088608
null
null
0.164557
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f1a05405c74cece56a208ff682b8a39685c99c9e
3,092
py
Python
termpixels/sparsebuffer.py
loganzartman/termpixels
4353cc0eb9f6947cd5bb8286322a8afea597d741
[ "MIT" ]
17
2019-04-11T20:05:13.000Z
2022-03-08T22:26:44.000Z
termpixels/sparsebuffer.py
loganzartman/termpixels
4353cc0eb9f6947cd5bb8286322a8afea597d741
[ "MIT" ]
14
2019-05-16T19:26:58.000Z
2020-10-27T09:35:02.000Z
termpixels/sparsebuffer.py
loganzartman/termpixels
4353cc0eb9f6947cd5bb8286322a8afea597d741
[ "MIT" ]
1
2020-12-09T16:39:44.000Z
2020-12-09T16:39:44.000Z
from collections import defaultdict from termpixels.buffer import Buffer from termpixels.color import Color from termpixels.pixeldata import PixelData, ImmutablePixelData class SparseBuffer(Buffer): """An implementation of Buffer that stores pixels in a sparse data structure. SparseBuffer stores only pixels ...
38.17284
81
0.639715
429
3,092
4.5338
0.370629
0.020566
0.013882
0.025707
0.117224
0.046272
0.046272
0.046272
0
0
0
0.008925
0.275226
3,092
80
82
38.65
0.858992
0.467658
0
0.114286
0
0
0.000689
0
0
0
0
0
0
1
0.2
false
0
0.114286
0
0.514286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f1a0efd61eff19c942a5d60fac3ebf9788f8c191
5,990
py
Python
pvc_produce_graphs.py
GauthierLaurent/cats
a5a3519fcc77329f3142a0fa9e3dc8975286d0aa
[ "MIT" ]
null
null
null
pvc_produce_graphs.py
GauthierLaurent/cats
a5a3519fcc77329f3142a0fa9e3dc8975286d0aa
[ "MIT" ]
null
null
null
pvc_produce_graphs.py
GauthierLaurent/cats
a5a3519fcc77329f3142a0fa9e3dc8975286d0aa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #%run produce_graphs_script.py Sensitivity_Analysis_48 W99cc1_3.0 """ Created on Thu Jul 17 11:29:28 2014 @author: Laurent """ ################################ # Importing dependencies ################################ #Native dependencies import os, sys, optparse ...
43.093525
235
0.634057
734
5,990
5.040872
0.282016
0.038919
0.054054
0.055135
0.438919
0.375135
0.357297
0.347838
0.315405
0.243514
0
0.006052
0.2
5,990
138
236
43.405797
0.766068
0.193322
0
0.19403
0
0
0.206776
0.034112
0
0
0
0
0
0
null
null
0.029851
0.059701
null
null
0.074627
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f1a14949b3d62fa55726a4bd83134494954b0343
572
py
Python
search/migrations/0003_adstest.py
katieefrey/Bib_Search
de86e33e5e2d44fd974f10d2efd41377eb5d8c8f
[ "MIT" ]
null
null
null
search/migrations/0003_adstest.py
katieefrey/Bib_Search
de86e33e5e2d44fd974f10d2efd41377eb5d8c8f
[ "MIT" ]
6
2020-06-15T20:20:16.000Z
2021-09-22T18:50:23.000Z
search/migrations/0003_adstest.py
katieefrey/Bib_Search
de86e33e5e2d44fd974f10d2efd41377eb5d8c8f
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-04-01 14:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('search', '0002_mymodel'), ] operations = [ migrations.CreateModel( name='ADStest', fields=[ ('id', m...
26
114
0.573427
58
572
5.551724
0.758621
0
0
0
0
0
0
0
0
0
0
0.049505
0.293706
572
21
115
27.238095
0.747525
0.078671
0
0
1
0
0.078095
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1a18bbfe66307ab62aa8530190445e5dd4b41dd
2,305
py
Python
docs/conf.py
sprockets/sprockets.mixins.mediatype
776f23fee5ca60b7e92fab3fe24f31e8088a3550
[ "BSD-3-Clause" ]
null
null
null
docs/conf.py
sprockets/sprockets.mixins.mediatype
776f23fee5ca60b7e92fab3fe24f31e8088a3550
[ "BSD-3-Clause" ]
12
2020-02-07T12:25:56.000Z
2021-10-05T14:22:50.000Z
docs/conf.py
sprockets/sprockets.mixins.media_type
776f23fee5ca60b7e92fab3fe24f31e8088a3550
[ "BSD-3-Clause" ]
7
2017-06-07T10:46:49.000Z
2018-11-26T18:53:08.000Z
import os import pkg_resources needs_sphinx = '4.0' extensions = ['sphinx.ext.viewcode', 'sphinxcontrib.httpdomain'] master_doc = 'index' project = 'sprockets.mixins.mediatype' copyright = '2015-2021, AWeber Communications' release = pkg_resources.get_distribution('sprockets.mixins.mediatype').version version = '.'.j...
37.177419
78
0.706725
273
2,305
5.868132
0.40293
0.018727
0.074906
0.031835
0.401373
0.303995
0.303995
0.303995
0.303995
0.223471
0
0.0065
0.132321
2,305
61
79
37.786885
0.7945
0.203905
0
0.173913
0
0
0.499452
0.101862
0
0
0
0.016393
0
1
0
false
0
0.065217
0
0.065217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f1a60924bbcf12d505512ed68987d951cf31c418
1,612
py
Python
src/complete_analysis.py
joigno/cloudlight
8a6510047abd97e0bf3a568322205beb56fa5260
[ "BSD-3-Clause" ]
3
2020-08-21T00:18:50.000Z
2020-10-21T17:40:47.000Z
src/complete_analysis.py
joigno/cloudlight
8a6510047abd97e0bf3a568322205beb56fa5260
[ "BSD-3-Clause" ]
null
null
null
src/complete_analysis.py
joigno/cloudlight
8a6510047abd97e0bf3a568322205beb56fa5260
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import sys from cloudlight.classes.graph import Graph from cloudlight.algorithms.plot import Plot import cloudlight.tests.data_enc1 graph = Graph() graph.debug = True graph.input_debug_links = 200000 graph.output_debug_nodes = 100 graph.max_links_input = 5*10**7 graph.max_nodes_analysis = 10000 ...
23.705882
85
0.636476
219
1,612
4.56621
0.43379
0.042
0.03
0
0
0
0
0
0
0
0
0.055692
0.242556
1,612
67
86
24.059701
0.763309
0.024814
0
0.044444
0
0
0.193218
0.072937
0
0
0
0
0
0
null
null
0
0.088889
null
null
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f1a71cbd59cd78ecbee34549bdf8799254dad3af
291
py
Python
aoc/2020/Day 1/part_2.py
Brodevil/Advent-of-Code
c0533c65e13d8a1791897c908aeeddce84cd814c
[ "MIT" ]
null
null
null
aoc/2020/Day 1/part_2.py
Brodevil/Advent-of-Code
c0533c65e13d8a1791897c908aeeddce84cd814c
[ "MIT" ]
null
null
null
aoc/2020/Day 1/part_2.py
Brodevil/Advent-of-Code
c0533c65e13d8a1791897c908aeeddce84cd814c
[ "MIT" ]
null
null
null
# Advent of code 2021 : Day 1 | Part 2 # Source : https://adventofcode.com/2020/day/1 infile = "aoc/2020/Day 1/input.txt" inputs = list(map(int, open(infile).read().splitlines())) print([i*j*_ for i in inputs for j in inputs for _ in inputs if i + j + _ == 2020][0]) # Answer : 165080960
29.1
86
0.66323
51
291
3.72549
0.647059
0.063158
0.084211
0
0
0
0
0
0
0
0
0.125
0.175258
291
9
87
32.333333
0.666667
0.343643
0
0
0
0
0.128342
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1aacedcc77c80c70a3d1e2f8405e1773c316b77
1,197
py
Python
test/test/sklearndf/pipeline/test_classification_pipeline_df.py
mtsokol/sklearndf
172fb9d5497d6a8f5586d9f4d02e9b48b9bf62c3
[ "Apache-2.0" ]
37
2021-01-12T08:06:45.000Z
2022-02-02T02:32:25.000Z
test/test/sklearndf/pipeline/test_classification_pipeline_df.py
mtsokol/sklearndf
172fb9d5497d6a8f5586d9f4d02e9b48b9bf62c3
[ "Apache-2.0" ]
13
2021-01-20T13:03:13.000Z
2022-03-04T15:44:58.000Z
test/test/sklearndf/pipeline/test_classification_pipeline_df.py
mtsokol/sklearndf
172fb9d5497d6a8f5586d9f4d02e9b48b9bf62c3
[ "Apache-2.0" ]
4
2021-01-31T16:14:24.000Z
2022-03-14T08:20:08.000Z
import numpy as np import pandas as pd import pytest from sklearn.base import is_classifier from sklearn.ensemble import RandomForestClassifier from sklearn.preprocessing import OneHotEncoder from sklearndf.classification import RandomForestClassifierDF from sklearndf.pipeline import ClassifierPipelineDF from test.skl...
31.5
87
0.752715
131
1,197
6.625954
0.458015
0.069124
0.02765
0.057604
0.087558
0.087558
0
0
0
0
0
0
0.187135
1,197
37
88
32.351351
0.892086
0.051796
0
0
0
0
0
0
0
0
0
0
0.035714
1
0.035714
false
0
0.321429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f1ab54e7249bbf152e0f17295ce008838961cb31
1,538
py
Python
IMServer/test_speed.py
listenzcc/PinyinInputMethod
70e76ed615dae9c50ca06fff6d17eb15d68cfd85
[ "MIT" ]
null
null
null
IMServer/test_speed.py
listenzcc/PinyinInputMethod
70e76ed615dae9c50ca06fff6d17eb15d68cfd85
[ "MIT" ]
null
null
null
IMServer/test_speed.py
listenzcc/PinyinInputMethod
70e76ed615dae9c50ca06fff6d17eb15d68cfd85
[ "MIT" ]
null
null
null
''' Test the speed of worker backend. ''' # %% import time import pandas as pd from tqdm.auto import tqdm from IMServer.test_speed import generate_random_pinYin, query, suggest # %% # How many testing samples we used num = 100 # %% report = pd.DataFrame(columns=['Name', 'Cost', 'Num', 'Start', 'Stop']...
19.717949
72
0.573472
209
1,538
4.172249
0.382775
0.055046
0.045872
0.034404
0.165138
0.123853
0.123853
0.123853
0.123853
0.123853
0
0.009483
0.245774
1,538
77
73
19.974026
0.742241
0.150195
0
0.318182
1
0
0.111848
0
0
0
0
0
0.022727
1
0
false
0
0.090909
0
0.090909
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1abcd39f5a37f0a7c2cdbf0e4bc4bdc6237ab04
1,734
py
Python
bookshop/bookshop/home/migrations/0001_initial.py
jntushar/bookStoreWebsite
4cfba8cbb86400d43c2fc5cb50072ee0f1cb903a
[ "MIT" ]
3
2019-12-10T16:18:52.000Z
2021-07-06T02:25:54.000Z
bookshop/bookshop/home/migrations/0001_initial.py
jntushar/BookstoreWebsite
4cfba8cbb86400d43c2fc5cb50072ee0f1cb903a
[ "MIT" ]
null
null
null
bookshop/bookshop/home/migrations/0001_initial.py
jntushar/BookstoreWebsite
4cfba8cbb86400d43c2fc5cb50072ee0f1cb903a
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2019-07-28 15:46 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blogpost', fields=[ ('id', models.AutoField...
36.125
114
0.530565
156
1,734
5.788462
0.403846
0.059801
0.099668
0.13289
0.58361
0.497231
0.497231
0.497231
0.497231
0.497231
0
0.027165
0.320646
1,734
47
115
36.893617
0.739389
0.025952
0
0.525
1
0
0.079431
0
0
0
0
0
0
1
0
false
0
0.025
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1ada533bb7aa368adfde96e7930b453641a652d
2,391
py
Python
src/221-MaximalSquare.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
1
2022-03-03T15:11:48.000Z
2022-03-03T15:11:48.000Z
src/221-MaximalSquare.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
null
null
null
src/221-MaximalSquare.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
2
2022-01-20T22:49:58.000Z
2022-01-20T22:53:13.000Z
#!/usr/bin/env python """ CREATED AT: 2021/10/10 Des: https://leetcode.com/problems/maximal-square/ https://leetcode.com/study-plan/dynamic-programming/ GITHUB: https://github.com/Jiezhi/myleetcode Difficulty: Medium Tags: DP """ from typing import List class Solution: def maximalSquare(self, matrix: List[List[...
33.676056
87
0.348808
301
2,391
2.744186
0.282392
0.067797
0.065375
0.053269
0.294189
0.271186
0.228814
0.227603
0.067797
0
0
0.101512
0.419072
2,391
70
88
34.157143
0.493161
0.17064
0
0.15
0
0
0.058544
0
0
0
0
0
0.1
1
0.05
false
0
0.025
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1b1086cd176fee8249d66fa806b5831bc4a0fef
679
py
Python
leetcode/permutations/permutation.py
matrix65537/lab
f1d9e0d7aa93083d493ccbad2439726f5c0f93c3
[ "MIT" ]
null
null
null
leetcode/permutations/permutation.py
matrix65537/lab
f1d9e0d7aa93083d493ccbad2439726f5c0f93c3
[ "MIT" ]
null
null
null
leetcode/permutations/permutation.py
matrix65537/lab
f1d9e0d7aa93083d493ccbad2439726f5c0f93c3
[ "MIT" ]
null
null
null
#!/usr/bin/env python #coding:utf8 class Solution(object): def permute(self, nums): length = len(nums) if length == 0: return [[]] rlists = [[nums[0]]] for i in range(1, length): tlists = [] for L in rlists: v = nums[i] ...
21.21875
40
0.438881
79
679
3.670886
0.481013
0.082759
0.041379
0.082759
0
0
0
0
0
0
0
0.023622
0.438881
679
31
41
21.903226
0.737533
0.045655
0
0.083333
0
0
0.012384
0
0
0
0
0
0
0
null
null
0
0
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f1b728b3d88c98649e92ed3c2c3b92628e4c045e
38,067
py
Python
parsers/nampi_by_prodomo/importer_prodomo.py
nam-pi/data_conversion
dbded1b82a831118d6fe5b55e5afa68d17ced41e
[ "MIT" ]
1
2020-10-23T07:16:49.000Z
2020-10-23T07:16:49.000Z
parsers/nampi_by_prodomo/importer_prodomo.py
nam-pi/data_conversion
dbded1b82a831118d6fe5b55e5afa68d17ced41e
[ "MIT" ]
1
2021-11-02T11:14:22.000Z
2021-11-02T11:14:22.000Z
parsers/nampi_by_prodomo/importer_prodomo.py
nam-pi/data-conversion
dbded1b82a831118d6fe5b55e5afa68d17ced41e
[ "MIT" ]
2
2020-10-28T07:12:25.000Z
2021-08-12T11:30:27.000Z
# -*- coding: utf-8 -*- import glob import json import logging import os import sys import traceback from collections import OrderedDict from operator import contains from types import SimpleNamespace import gspread import requests import xmltodict from lxml import etree from oauth2client.service_accoun...
37.652819
1,107
0.424147
2,913
38,067
5.496052
0.137659
0.026483
0.013117
0.008994
0.274204
0.240537
0.17208
0.142411
0.129482
0.11599
0
0.002372
0.490661
38,067
1,010
1,108
37.690099
0.823353
0.058476
0
0.292985
0
0.005502
0.102412
0.020724
0
0
0
0
0
1
0.015131
false
0
0.038514
0
0.074278
0.016506
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1bfdd29909a67cfc1425f748fb8180307cb4127
3,815
py
Python
2016/python/day23.py
astonshane/AdventOfCode
25c7380e73eede3f79287de6a9dedc8314ab7965
[ "MIT" ]
null
null
null
2016/python/day23.py
astonshane/AdventOfCode
25c7380e73eede3f79287de6a9dedc8314ab7965
[ "MIT" ]
null
null
null
2016/python/day23.py
astonshane/AdventOfCode
25c7380e73eede3f79287de6a9dedc8314ab7965
[ "MIT" ]
null
null
null
import re from copy import copy cpyRegisterRegex = 'cpy ([a-z]) ([a-z])' cpyValueRegex = 'cpy (\-\d+|\d+) ([a-z])' incDecRegex = '(inc|dec) ([a-z])' jnzValueRegex = 'jnz (\d+) (\-\d+|\d+)' jnzRegisterRegex = 'jnz ([a-z]) (\-\d+|\d+)' jnzValueRegisterRegex = 'jnz (\d+) ([a-z])' jnzRegisterRegisterRegex = 'jnz ([a-z]) (...
26.866197
83
0.42595
378
3,815
4.285714
0.243386
0.011111
0.049383
0.024691
0.288889
0.217284
0.198765
0.185185
0.17284
0.11358
0
0.029913
0.430406
3,815
142
84
26.866197
0.715601
0.020446
0
0.410256
0
0
0.059508
0
0
0
0
0
0.008547
0
null
null
0
0.017094
null
null
0.017094
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f1c657d7cc74825eb6fb529116d187f5c826c260
994
py
Python
dueros/directive/DPL/Commands/SetPageCommand.py
Mryan2005/bot-sdk-python
f961aedf141e966badd5cd577ad8913dd9733998
[ "Apache-2.0" ]
70
2018-01-04T06:47:58.000Z
2021-07-28T03:08:48.000Z
dueros/directive/DPL/Commands/SetPageCommand.py
mlzboy/bot-sdk-python
664c90ec6d0abbb0844c030cd3114693a96b12ab
[ "Apache-2.0" ]
16
2018-01-02T15:25:23.000Z
2020-03-14T07:25:44.000Z
dueros/directive/DPL/Commands/SetPageCommand.py
mlzboy/bot-sdk-python
664c90ec6d0abbb0844c030cd3114693a96b12ab
[ "Apache-2.0" ]
32
2018-01-09T10:19:46.000Z
2021-05-06T08:35:52.000Z
#!/usr/bin/env python3 # -*- encoding=utf-8 -*- # description: # author:jack # create_time: 2019-06-13 import enum from dueros.Utils import Utils from dueros.directive.DPL.Commands.BaseCommand import BaseCommand class SetPageCommand(BaseCommand): """ SetPageCommand 页面切换指令 """ def __init__(self): ...
21.148936
65
0.61167
97
994
6.14433
0.515464
0.040268
0.053691
0.080537
0
0
0
0
0
0
0
0.013755
0.268612
994
46
66
21.608696
0.806052
0.184105
0
0
0
0
0.072931
0
0
0
0
0
0
1
0.176471
false
0
0.176471
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
0
0
0
0
0
0
0
1
0
0
1
f1d10e35da58639a0ad258905ad308aade837803
1,711
py
Python
concrete/common/fhe_circuit.py
iciac/concrete-numpy
debf888e9281263b731cfc4b31feb5de7ec7f47a
[ "FTL" ]
1
2022-01-17T14:44:13.000Z
2022-01-17T14:44:13.000Z
concrete/common/fhe_circuit.py
iciac/concrete-numpy
debf888e9281263b731cfc4b31feb5de7ec7f47a
[ "FTL" ]
null
null
null
concrete/common/fhe_circuit.py
iciac/concrete-numpy
debf888e9281263b731cfc4b31feb5de7ec7f47a
[ "FTL" ]
null
null
null
"""Module to hold the result of compilation.""" from pathlib import Path from typing import List, Optional, Union import numpy from concrete.compiler import CompilerEngine from .debugging import draw_graph, format_operation_graph from .operator_graph import OPGraph class FHECircuit: """Class which is the resul...
29
95
0.648743
221
1,711
4.914027
0.352941
0.038674
0.040516
0.073665
0.14733
0.084715
0
0
0
0
0
0
0.270602
1,711
58
96
29.5
0.870192
0.42256
0
0
0
0
0
0
0
0
0
0
0
1
0.173913
false
0
0.26087
0.043478
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f1e0516483c3ee2937ac35aa3623bc953a1e0dfe
3,589
py
Python
cart/models.py
MokkoFm/django-rest-api
db61eba845a951dd6083f20c06e18e289d01de46
[ "MIT" ]
null
null
null
cart/models.py
MokkoFm/django-rest-api
db61eba845a951dd6083f20c06e18e289d01de46
[ "MIT" ]
null
null
null
cart/models.py
MokkoFm/django-rest-api
db61eba845a951dd6083f20c06e18e289d01de46
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone from django.core.validators import MaxValueValidator, MinValueValidator from phonenumber_field.modelfields import PhoneNumberField class Product(models.Model): title = models.CharField(verbose_name='title', max_length=50) description = models.Text...
30.159664
76
0.670382
416
3,589
5.579327
0.274038
0.123223
0.021542
0.034468
0.239983
0.190866
0.102973
0
0
0
0
0.008244
0.222625
3,589
118
77
30.415254
0.823656
0
0
0.173913
0
0
0.111173
0
0
0
0
0
0
1
0.108696
false
0
0.043478
0.086957
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f1e1239aba3ea1a54a8c4dfa3d834e4f675224cd
831
py
Python
src/scenarios/wpfsfc/pre.py
tannergooding/performance
51db24df94e3683a0f2f9103dd2d2873ff7b61f6
[ "MIT" ]
null
null
null
src/scenarios/wpfsfc/pre.py
tannergooding/performance
51db24df94e3683a0f2f9103dd2d2873ff7b61f6
[ "MIT" ]
null
null
null
src/scenarios/wpfsfc/pre.py
tannergooding/performance
51db24df94e3683a0f2f9103dd2d2873ff7b61f6
[ "MIT" ]
null
null
null
''' pre-command ''' import sys import os, subprocess from performance.logger import setup_loggers from shared.precommands import PreCommands from shared import const from logging import getLogger setup_loggers(True) getLogger().info("Checking status of Microsoft-Windows-WPF Event manifest") exitcode = subprocess.call...
37.772727
123
0.768953
105
831
6.066667
0.514286
0.100471
0.119309
0.075353
0.171115
0
0
0
0
0
0
0.011796
0.081829
831
22
124
37.772727
0.823067
0.013237
0
0
0
0.0625
0.349323
0.185732
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f1e3c8b57ec21d842dd27ae2198913652da75d8d
12,356
py
Python
bubblebbs/templating.py
kawa-kokosowa/bubblebbs
2b70fd66c27f717ed009cbe5efc0d0d5433f3423
[ "MIT" ]
7
2019-01-03T01:21:32.000Z
2020-09-03T01:52:09.000Z
bubblebbs/templating.py
lily-mayfield/bubblebbs
2b70fd66c27f717ed009cbe5efc0d0d5433f3423
[ "MIT" ]
109
2018-05-04T10:32:23.000Z
2018-06-24T03:35:01.000Z
bubblebbs/templating.py
kawa-kokosowa/bubblebbs
2b70fd66c27f717ed009cbe5efc0d0d5433f3423
[ "MIT" ]
3
2018-05-14T15:10:03.000Z
2018-05-19T01:13:03.000Z
"""Code specifically used by Jinja for rendering HTML from Jinja templates. """ # TODO: move all the model stuff that's templating into here import re import os import copy import datetime import base64 from urllib.parse import urlparse from typing import Tuple from flask import request from bs4 import BeautifulSoup...
29.48926
168
0.616704
1,502
12,356
4.944075
0.286951
0.026663
0.012928
0.014005
0.142876
0.10342
0.082413
0.072987
0.072987
0.061945
0
0.008955
0.267967
12,356
418
169
29.559809
0.811719
0.231952
0
0.099174
0
0.004132
0.112063
0.038837
0
0
0
0.011962
0
1
0.066116
false
0
0.086777
0.016529
0.239669
0.004132
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f1e4685fbe309867867b4760c333d3a208be9629
5,957
py
Python
scouter.host/scouter/lang/pack.py
lunastar12/scouter
715f7edda67e5450d43122fef2707d3585d049e6
[ "Apache-2.0" ]
1
2021-09-09T09:56:11.000Z
2021-09-09T09:56:11.000Z
scouter.host/scouter/lang/pack.py
lunastar12/scouter
715f7edda67e5450d43122fef2707d3585d049e6
[ "Apache-2.0" ]
null
null
null
scouter.host/scouter/lang/pack.py
lunastar12/scouter
715f7edda67e5450d43122fef2707d3585d049e6
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- ''' Copyright (c) 2015 Scouter Project. 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 app...
26.59375
100
0.540541
675
5,957
4.699259
0.237037
0.070933
0.064313
0.045397
0.393443
0.234237
0.217844
0.195776
0.127049
0.107188
0
0.007534
0.353869
5,957
223
101
26.713004
0.816576
0.097532
0
0.416149
0
0
0.004284
0
0
0
0
0
0
1
0.217391
false
0.018634
0.012422
0.055901
0.459627
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f1f350db4d99cacac8f03a24fffd4595816382c0
5,076
py
Python
pyvttbl/tests/test_stats_ttest_paired.py
yk/pyvttbl
af66c1aba410ba5386249cd5b95f2ae0ed01d870
[ "BSD-3-Clause" ]
null
null
null
pyvttbl/tests/test_stats_ttest_paired.py
yk/pyvttbl
af66c1aba410ba5386249cd5b95f2ae0ed01d870
[ "BSD-3-Clause" ]
null
null
null
pyvttbl/tests/test_stats_ttest_paired.py
yk/pyvttbl
af66c1aba410ba5386249cd5b95f2ae0ed01d870
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2011, Roger Lew [see LICENSE.txt] # This software is funded in part by NIH Grant P20 RR016454. import unittest import warnings import os import math from random import shuffle, random from collections import Counter,OrderedDict from dictset import DictSet,_rep_generator from math import isnan, isinf,...
36.782609
580
0.478132
594
5,076
4.045455
0.407407
0.020807
0.007491
0.009988
0.233042
0.157303
0.15231
0.113608
0.054099
0.037453
0
0.256951
0.38357
5,076
137
581
37.051095
0.511026
0.031324
0
0.17757
0
0
0.402245
0.022653
0
0
0
0
0.037383
1
0.046729
false
0
0.140187
0.009346
0.205607
0.009346
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
0
0
0
0
0
0
0
1
f1f55a646af8fa3d66cc17388f4c3a70847dbf45
2,710
py
Python
scale_perf/vertica_db_filler.py
monasca/monasca-perf
d85af02a880fe181a2148a3a0da45490b1277381
[ "Apache-2.0" ]
2
2019-05-11T08:24:50.000Z
2020-12-17T14:57:03.000Z
scale_perf/vertica_db_filler.py
monasca/monasca-perf
d85af02a880fe181a2148a3a0da45490b1277381
[ "Apache-2.0" ]
1
2019-11-07T05:02:11.000Z
2019-11-07T05:02:11.000Z
scale_perf/vertica_db_filler.py
monasca/monasca-perf
d85af02a880fe181a2148a3a0da45490b1277381
[ "Apache-2.0" ]
1
2019-12-10T13:39:05.000Z
2019-12-10T13:39:05.000Z
import datetime import sys import vertica_python """ vertica_db_filler Run this after simulating the number of nodes, or in a performance testing configuration that has the desired number of metric definitions. This will use the existing dimensions in the DB to add measurements for each metric definition....
36.133333
100
0.652768
336
2,710
5.047619
0.422619
0.018868
0.026533
0.01533
0.058962
0.058962
0
0
0
0
0
0.016585
0.243542
2,710
74
101
36.621622
0.810732
0.147232
0
0.086957
0
0
0.2357
0.098126
0
0
0
0
0
0
null
null
0.021739
0.065217
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f1f6365d88b52a39be8a42cd8e895d8c54b102df
819
py
Python
tasksupervisor/TaskSupervisor/taskState.py
iml130/mod.sw.tp.ts
4cda3ef0d3791eb204d5510631fdb9ec7ec57aab
[ "Apache-2.0" ]
null
null
null
tasksupervisor/TaskSupervisor/taskState.py
iml130/mod.sw.tp.ts
4cda3ef0d3791eb204d5510631fdb9ec7ec57aab
[ "Apache-2.0" ]
1
2021-04-24T08:43:59.000Z
2021-04-24T08:43:59.000Z
tasksupervisor/TaskSupervisor/taskState.py
iml130/mod.sw.tp.ts
4cda3ef0d3791eb204d5510631fdb9ec7ec57aab
[ "Apache-2.0" ]
1
2021-03-04T10:32:52.000Z
2021-03-04T10:32:52.000Z
""" Contains TaskState class """ from tasksupervisor.endpoint.fiware_orion.entities.entity import FiwareEntity from tasksupervisor.endpoint.fiware_orion.entities.task import Task class TaskState(FiwareEntity): """ Represents the current state of the Task """ def __init__(self, _task): if not isinstanc...
24.818182
77
0.659341
95
819
5.473684
0.526316
0.046154
0.1
0.123077
0.173077
0.173077
0
0
0
0
0
0.016313
0.251526
819
32
78
25.59375
0.831974
0.080586
0
0.083333
0
0
0.017591
0
0
0
0
0
0
1
0.041667
false
0
0.083333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7b0eccfbc894a18b245bf0567146c208d07bdf5b
598
py
Python
pygismeteo_base/http.py
monosans/pygismeteo-base
b8148e3c97b8ca627e9c9b87cee67b2e034f0039
[ "MIT" ]
2
2021-12-10T09:53:54.000Z
2021-12-25T11:40:30.000Z
pygismeteo_base/http.py
monosans/pygismeteo-base
b8148e3c97b8ca627e9c9b87cee67b2e034f0039
[ "MIT" ]
null
null
null
pygismeteo_base/http.py
monosans/pygismeteo-base
b8148e3c97b8ca627e9c9b87cee67b2e034f0039
[ "MIT" ]
null
null
null
from typing import Tuple from pygismeteo_base import constants, types, validators class BaseHttpClient: __slots__ = ("settings",) def __init__(self, settings: validators.Settings) -> None: self.settings = settings def _get_params_and_headers( self, params: types.Params ) -> Tuple[ty...
31.473684
78
0.680602
71
598
5.478873
0.43662
0.154242
0.082262
0
0
0
0
0
0
0
0
0
0.20903
598
18
79
33.222222
0.82241
0
0
0
0
0
0.046823
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7b0ffc141985f8c8f82cd3dbcdf21cbfd73eae36
9,121
py
Python
FarmerApp/forms.py
Harshvartak/TSEC-Codestorm
7a596d288b4f802c05328b4676b9d36015276ac3
[ "MIT" ]
1
2020-07-07T15:29:07.000Z
2020-07-07T15:29:07.000Z
FarmerApp/forms.py
Harshvartak/TSEC-Codestorm
7a596d288b4f802c05328b4676b9d36015276ac3
[ "MIT" ]
null
null
null
FarmerApp/forms.py
Harshvartak/TSEC-Codestorm
7a596d288b4f802c05328b4676b9d36015276ac3
[ "MIT" ]
3
2020-07-02T05:56:20.000Z
2020-07-02T06:28:21.000Z
from django import forms from .models import * from django.forms import ModelForm from django.contrib.auth import get_user_model from crispy_forms.layout import Layout, Field, ButtonHolder, Submit from crispy_forms.helper import FormHelper from django.contrib.auth import authenticate class FarmerForm(ModelFo...
50.672222
142
0.635457
981
9,121
5.79103
0.148828
0.109136
0.07041
0.077451
0.708854
0.649005
0.495863
0.414012
0.360324
0.360324
0
0.002745
0.201184
9,121
180
143
50.672222
0.77697
0.006798
0
0.367742
0
0
0.285167
0.018921
0
0
0
0
0
1
0.058065
false
0.245161
0.045161
0
0.225806
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7b101e33261fd3c2b22b56c3b1ee83ff9b92ea78
3,374
py
Python
smr/test/integrated/test_mem_disk_change.py
lynix94/nbase-arc
4de3c20ebd2f5ed13ab83dbc6a608f44e812ca78
[ "Apache-2.0" ]
176
2015-12-30T08:44:30.000Z
2022-03-15T08:10:39.000Z
smr/test/integrated/test_mem_disk_change.py
lynix94/nbase-arc
4de3c20ebd2f5ed13ab83dbc6a608f44e812ca78
[ "Apache-2.0" ]
35
2016-03-24T08:29:51.000Z
2021-12-09T20:06:39.000Z
smr/test/integrated/test_mem_disk_change.py
lynix94/nbase-arc
4de3c20ebd2f5ed13ab83dbc6a608f44e812ca78
[ "Apache-2.0" ]
65
2015-12-30T09:05:13.000Z
2022-03-15T08:10:43.000Z
# # Copyright 2015 Naver Corp. # # 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...
28.837607
74
0.524007
411
3,374
4.182482
0.394161
0.048866
0.020942
0.022688
0.08726
0.034904
0
0
0
0
0
0.021521
0.380261
3,374
116
75
29.086207
0.800574
0.212804
0
0.057143
0
0
0.037955
0
0
0
0
0
0.028571
0
null
null
0.014286
0.042857
null
null
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7b10fc11d8a11f6cb21b3776fb64c15a1aec0bb1
2,326
py
Python
pyxel/user_examples/pynasour/main.py
mrmleonard/pyxel_examples
3677d9e5324f493754011a1cb2d7b98a13fb0372
[ "MIT" ]
null
null
null
pyxel/user_examples/pynasour/main.py
mrmleonard/pyxel_examples
3677d9e5324f493754011a1cb2d7b98a13fb0372
[ "MIT" ]
null
null
null
pyxel/user_examples/pynasour/main.py
mrmleonard/pyxel_examples
3677d9e5324f493754011a1cb2d7b98a13fb0372
[ "MIT" ]
null
null
null
import pyxel from utils import Vec, ColPal, Rect from player import Player from enemy import Enemy, BackGround import music from constants import (Score, WINDOW_WIDTH, WINDOW_HEIGHT, CAPTION, FPS, COLKEY, DEBUG) # === MAIN === ...
31.863014
83
0.55374
261
2,326
4.823755
0.360153
0.06116
0.038126
0.047657
0.100079
0.052423
0
0
0
0
0
0.015404
0.330181
2,326
72
84
32.305556
0.792683
0.097163
0
0.037736
0
0
0.036877
0
0
0
0
0.013889
0
1
0.056604
false
0
0.113208
0
0.226415
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7b1565689323bfe1d0504d6f89cec0b06d952271
363
py
Python
deployments/docker/barter/main/consumers.py
slimflex2/barter
6c591bc597671837483a62e368daa6d2014e05c4
[ "Apache-2.0" ]
null
null
null
deployments/docker/barter/main/consumers.py
slimflex2/barter
6c591bc597671837483a62e368daa6d2014e05c4
[ "Apache-2.0" ]
null
null
null
deployments/docker/barter/main/consumers.py
slimflex2/barter
6c591bc597671837483a62e368daa6d2014e05c4
[ "Apache-2.0" ]
null
null
null
import json from random import randint from asyncio import sleep from channels.generic.websocket import AsyncWebsocketConsumer class GraphConsumer(AsyncWebsocketConsumer): async def connect(self): await self.accept() for item in range(1000): await self.send(json.dumps({'value': randi...
25.928571
68
0.694215
43
363
5.860465
0.674419
0.071429
0
0
0
0
0
0
0
0
0
0.031802
0.220386
363
13
69
27.923077
0.858657
0
0
0
0
0
0.013812
0
0
0
0
0
0
1
0
false
0
0.4
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7b161add974a99d6f21141c47fa348286a447668
500
py
Python
src/level1/완주하지_못한_선수.py
iml1111/programmers_coding_study
07e89220c59c3b40dd92edc39d1b573d018efae4
[ "MIT" ]
1
2021-01-03T13:01:33.000Z
2021-01-03T13:01:33.000Z
src/level1/완주하지_못한_선수.py
iml1111/programmers_coding_study
07e89220c59c3b40dd92edc39d1b573d018efae4
[ "MIT" ]
null
null
null
src/level1/완주하지_못한_선수.py
iml1111/programmers_coding_study
07e89220c59c3b40dd92edc39d1b573d018efae4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' 해시 완주하지 못한 선수 ''' from collections import defaultdict def solution(participant, completion): complete_dict = defaultdict(int) for i in completion: complete_dict[i] += 1 for name in participant: if name in complete_dict and complete_dict[name] > 0: complete_dict[name] -= 1 els...
20
79
0.704
64
500
5.421875
0.5
0.172911
0.126801
0.184438
0
0
0
0
0
0
0
0.012077
0.172
500
25
80
20
0.826087
0.072
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7b2ef677cfa040e3ae89a7746d6e2ff609fbacc5
6,589
py
Python
lcs/agents/acs2/Effect.py
GodspeedYouBlackEmperor/pyalcs
9811bc5cde935e04e0fd87fb5930bd1b9170e73a
[ "MIT" ]
11
2018-02-13T05:37:26.000Z
2022-02-02T13:33:18.000Z
lcs/agents/acs2/Effect.py
GodspeedYouBlackEmperor/pyalcs
9811bc5cde935e04e0fd87fb5930bd1b9170e73a
[ "MIT" ]
40
2017-09-07T07:15:43.000Z
2021-06-09T15:42:27.000Z
lcs/agents/acs2/Effect.py
GodspeedYouBlackEmperor/pyalcs
9811bc5cde935e04e0fd87fb5930bd1b9170e73a
[ "MIT" ]
14
2017-10-31T09:01:14.000Z
2022-01-02T09:38:29.000Z
from __future__ import annotations import lcs.agents.acs as acs from lcs import Perception from lcs.agents.acs2 import ProbabilityEnhancedAttribute from .. import ImmutableSequence DETAILED_PEE_PRINTING = True class Effect(acs.Effect): def __init__(self, observation): # Convert dict to ProbabilityEnhan...
34.862434
79
0.561997
660
6,589
5.492424
0.257576
0.014897
0.009931
0.022069
0.104552
0.067034
0.05269
0
0
0
0
0.010582
0.368948
6,589
188
80
35.047872
0.861231
0.265442
0
0.252427
0
0
0.001096
0
0
0
0
0.010638
0.019417
1
0.106796
false
0
0.048544
0
0.359223
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9e28fc42586ea324d5fae2e0ec611f60ed1da01d
756
py
Python
simkit/test/TestAdapter.py
ahbuss/SimPyKit
325fa4a8df3de551f0f5665d46d8e8fe7fa5d2cf
[ "Apache-2.0" ]
4
2018-12-14T23:55:09.000Z
2022-02-19T13:41:33.000Z
simkit/test/TestAdapter.py
PaulReiber/Python-Discrete-Event-Simulator
0d6b3817d2eba4bd7c9a047ff0ad95ea0fa31983
[ "Apache-2.0" ]
2
2019-07-28T02:35:40.000Z
2020-04-27T21:55:06.000Z
simkit/test/TestAdapter.py
PaulReiber/Python-Discrete-Event-Simulator
0d6b3817d2eba4bd7c9a047ff0ad95ea0fa31983
[ "Apache-2.0" ]
2
2019-07-28T00:52:05.000Z
2022-01-11T22:44:51.000Z
from simkit.examples.arrivalprocess import EntityCreator from simkit.examples.entityserver import EntityServer from simkit.base import EventList from simkit.rand import RandomVariate from simkit.base import Adapter entity_creator = EntityCreator(RandomVariate.instance('Constant', value=2.3)) entity_server = EntityServ...
31.5
78
0.796296
95
756
6.231579
0.431579
0.084459
0.060811
0.067568
0.118243
0
0
0
0
0
0
0.011577
0.085979
756
24
79
31.5
0.845152
0.207672
0
0
0
0
0.084317
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9e30bcb03d861ca177f1c965f3f142dd0bb78a54
523
py
Python
aizythfinder/setup.py
reymond-group/CASP-and-dataset-performance
ee335a955a42318da24f2a18d7a5709b5fa03c5c
[ "MIT" ]
18
2019-11-13T10:05:30.000Z
2022-03-22T09:58:43.000Z
aizythfinder/setup.py
reymond-group/CASP-and-dataset-performance
ee335a955a42318da24f2a18d7a5709b5fa03c5c
[ "MIT" ]
2
2020-02-24T10:54:45.000Z
2021-03-02T09:59:28.000Z
aizythfinder/setup.py
reymond-group/CASP-and-dataset-performance
ee335a955a42318da24f2a18d7a5709b5fa03c5c
[ "MIT" ]
11
2020-02-25T09:37:23.000Z
2021-05-24T08:27:14.000Z
from setuptools import setup, find_packages setup(name='aizynthfinder', version='0.1', description="""Retrosynthetic route finding using neural network guided Monte-Carlo tree search.""", author='Esben Jannik Bjerrum', author_email='esben.bjerrum@astrazeneca.com', license='proprietary', ...
32.6875
106
0.642447
53
523
6.245283
0.849057
0.072508
0
0
0
0
0
0
0
0
0
0.005076
0.246654
523
16
107
32.6875
0.835025
0.08413
0
0
0
0
0.36952
0.060543
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9e31e47e9a2178420daff06e5e1ac4c983da7a8d
2,480
py
Python
src/pyxplora_api/handler_gql.py
Ludy87/pyxplora_api
690b6b43cfa90ab37f8ee8c02b02e0a800328d1a
[ "MIT" ]
1
2022-01-14T13:31:20.000Z
2022-01-14T13:31:20.000Z
src/pyxplora_api/handler_gql.py
Ludy87/pyxplora_api
690b6b43cfa90ab37f8ee8c02b02e0a800328d1a
[ "MIT" ]
1
2022-01-16T19:49:21.000Z
2022-03-06T11:42:37.000Z
src/pyxplora_api/handler_gql.py
Ludy87/pyxplora_api
690b6b43cfa90ab37f8ee8c02b02e0a800328d1a
[ "MIT" ]
null
null
null
from __future__ import annotations import hashlib import math from time import time from datetime import datetime, timezone from typing import Any, Dict from .const import API_KEY, API_SECRET class HandlerGQL: def __init__( self, countryPhoneNumber: str, phoneNumber: str, passwor...
35.942029
101
0.632661
244
2,480
6.315574
0.336066
0.040883
0.033744
0.038936
0.096042
0.071382
0.029851
0
0
0
0
0.008924
0.277016
2,480
68
102
36.470588
0.85053
0.019758
0
0
0
0
0.140915
0.039143
0
0
0
0
0
1
0.050847
false
0.050847
0.118644
0.016949
0.220339
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9e32db7edad218210f833336ea31ff826d2ae5f7
391
py
Python
common/migrations/0011_submit_assigned_points.py
jakubhyza/kelvin
b06c0ed0594a3fb48df1e50ff30cee010ddeea5a
[ "MIT" ]
8
2020-01-11T15:25:25.000Z
2022-02-20T17:32:58.000Z
common/migrations/0011_submit_assigned_points.py
jakubhyza/kelvin
b06c0ed0594a3fb48df1e50ff30cee010ddeea5a
[ "MIT" ]
72
2020-01-13T21:07:26.000Z
2022-03-28T10:17:50.000Z
common/migrations/0011_submit_assigned_points.py
jakubhyza/kelvin
b06c0ed0594a3fb48df1e50ff30cee010ddeea5a
[ "MIT" ]
6
2020-01-11T16:50:04.000Z
2022-02-19T10:12:19.000Z
# Generated by Django 3.0.3 on 2020-03-17 11:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('common', '0010_auto_20200315_0908'), ] operations = [ migrations.AddField( model_name='submit', name='assigned_point...
20.578947
49
0.603581
42
391
5.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.110714
0.283887
391
18
50
21.722222
0.714286
0.11509
0
0
1
0
0.145349
0.06686
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9e36d54cf2ed8438977474d54ca12febcd93a50a
2,915
py
Python
croftair/management/commands/linkcontent.py
LorenDavie/croftair
4589d244efe684e66a7ddcd3b6fbd686f0189619
[ "MIT" ]
null
null
null
croftair/management/commands/linkcontent.py
LorenDavie/croftair
4589d244efe684e66a7ddcd3b6fbd686f0189619
[ "MIT" ]
3
2020-02-11T23:21:53.000Z
2021-06-10T20:58:12.000Z
croftair/management/commands/linkcontent.py
LorenDavie/croftair
4589d244efe684e66a7ddcd3b6fbd686f0189619
[ "MIT" ]
null
null
null
""" Links content subjects together. """ import re from django.core.management.base import BaseCommand, CommandError from croftair.models import Subject class Command(BaseCommand): """ Command class. """ def handle(self, *args, **kwargs): """ Handler method. """ for...
49.40678
133
0.52693
285
2,915
5.094737
0.182456
0.231405
0.082645
0.079201
0.459366
0.313361
0.280992
0.214876
0.14876
0.14876
0
0.003299
0.375986
2,915
58
134
50.258621
0.794942
0.021612
0
0
0
0
0.061363
0.024973
0
0
0
0
0
1
0.027027
false
0
0.081081
0
0.135135
0.054054
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9e402ec0c81a78ec15ba15355351ab2d4dbbc70a
728
py
Python
DataStructures/Tree/InorderTraversal.py
baby5/HackerRank
1e68a85f40499adb9b52a4da16936f85ac231233
[ "MIT" ]
null
null
null
DataStructures/Tree/InorderTraversal.py
baby5/HackerRank
1e68a85f40499adb9b52a4da16936f85ac231233
[ "MIT" ]
null
null
null
DataStructures/Tree/InorderTraversal.py
baby5/HackerRank
1e68a85f40499adb9b52a4da16936f85ac231233
[ "MIT" ]
null
null
null
#coding:utf-8 def inOrder(root): if root: inOrder(root.left) print root.data, inOrder(root.right) def inOrder_stupid(root): stack = [root] while stack: node = stack.pop() if node.left: stack.append(node) stack.append(node.left) ...
20.222222
36
0.51511
84
728
4.440476
0.261905
0.147453
0.160858
0.107239
0.117962
0
0
0
0
0
0
0.002237
0.385989
728
35
37
20.8
0.832215
0.016484
0
0.142857
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9e454d9e7199d54429f28691571ac1500abce9f9
805
py
Python
opennem/spiders/nem/dispatch_is.py
tourdownunder/opennem
deec3e2079db9d9d84171010fd0c239170d1e7ce
[ "MIT" ]
null
null
null
opennem/spiders/nem/dispatch_is.py
tourdownunder/opennem
deec3e2079db9d9d84171010fd0c239170d1e7ce
[ "MIT" ]
1
2020-09-06T04:17:59.000Z
2020-09-06T04:17:59.000Z
opennem/spiders/nem/dispatch_is.py
tourdownunder/opennem
deec3e2079db9d9d84171010fd0c239170d1e7ce
[ "MIT" ]
null
null
null
from opennem.pipelines.nem.opennem import NemwebUnitScadaOpenNEMStorePipeline from opennem.spiders.nemweb import NemwebSpider class NemwebCurrentDispatchIS(NemwebSpider): name = "au.nem.current.dispatch_is" start_url = "http://nemweb.com.au/Reports/Current/DispatchIS_Reports/" limit = 0 pipelines_ext...
30.961538
77
0.744099
86
805
6.837209
0.534884
0.037415
0.061224
0.071429
0.391156
0.391156
0.391156
0.391156
0.136054
0
0
0.005944
0.163975
805
25
78
32.2
0.867756
0.104348
0
0.25
0
0
0.277159
0.072423
0
0
0
0
0
1
0
false
0
0.125
0
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9e4e03290db8a0ce633be4fc29f9f3d7e0d6d0ff
3,803
py
Python
src/experiments/_data_posterior.py
PetrMokrov/Large-Scale-Wasserstein-Gradient-Flows
4947b00ebba3eb346e361cb30def83bdcaa0270b
[ "MIT" ]
10
2021-10-11T09:16:03.000Z
2022-03-31T05:39:47.000Z
src/experiments/_data_posterior.py
PetrMokrov/Large-Scale-Wasserstein-Gradient-Flows
4947b00ebba3eb346e361cb30def83bdcaa0270b
[ "MIT" ]
null
null
null
src/experiments/_data_posterior.py
PetrMokrov/Large-Scale-Wasserstein-Gradient-Flows
4947b00ebba3eb346e361cb30def83bdcaa0270b
[ "MIT" ]
2
2021-12-14T00:43:01.000Z
2021-12-16T09:16:38.000Z
import torch import numpy as np import torch.distributions as TD from torch.utils.data import DataLoader from ..utils import id_pretrain_model, train_diffusion_model from .manual_random import get_random_manager from ..icnn import DenseICNN from ..diffusion import Diffusion import time from ..data_posterior import LogR...
39.614583
111
0.697344
511
3,803
4.908023
0.315068
0.043062
0.023923
0.023923
0.14992
0.118022
0.118022
0.118022
0.118022
0.054226
0
0.008167
0.195109
3,803
95
112
40.031579
0.811173
0.08467
0
0.109589
0
0
0.140098
0.024214
0
0
0
0.010526
0
1
0.013699
false
0
0.164384
0
0.178082
0.054795
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9e543d509fb423503d2821c93c5cc9d7b789356f
604
py
Python
wintria/article/admin.py
codelucas/wintria.com
99c3f20d64e6ecf3d02cf0117233de349274a607
[ "MIT" ]
2
2017-10-04T20:53:09.000Z
2021-11-12T10:02:32.000Z
wintria/article/admin.py
codelucas/wintria.com
99c3f20d64e6ecf3d02cf0117233de349274a607
[ "MIT" ]
null
null
null
wintria/article/admin.py
codelucas/wintria.com
99c3f20d64e6ecf3d02cf0117233de349274a607
[ "MIT" ]
null
null
null
from django.contrib import admin from wintria.article.models import Article, Source class ArticleAdmin(admin.ModelAdmin): list_display = ('title', 'url', 'thumb_url', 'timestamp', 'click_count',) list_filter = ('source',) ordering = ('-click_count', '-timestamp',) search_fields = ('title', 'url'...
33.555556
78
0.673841
63
604
6.31746
0.460317
0.085427
0.095477
0.130653
0
0
0
0
0
0
0
0
0.167219
604
17
79
35.529412
0.791252
0
0
0
0
0
0.199319
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9e62cc4332c662da8d1a74cc98a0ecb7aa5b7423
934
py
Python
solutions/059_spiral_matrix_ii.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
solutions/059_spiral_matrix_ii.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
solutions/059_spiral_matrix_ii.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
# Given an integer n, generate a square matrix filled with elements from 1 to n^2 in spiral order. # For example, # Given n = 3, # You should return the following matrix: # [ # [ 1, 2, 3 ], # [ 8, 9, 4 ], # [ 7, 6, 5 ] # ] class Solution: # @param {integer} n # @return {integer[][]} def generateMatri...
23.35
98
0.438972
142
934
2.887324
0.380282
0.014634
0.029268
0.053659
0.058537
0
0
0
0
0
0
0.075306
0.388651
934
39
99
23.948718
0.642732
0.286938
0
0
1
0
0
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9e63e2e74b14378b2e7df9699761fedf9fd4fa97
1,923
py
Python
stt.py
fanta-mnix/speech-to-text-comparison
1e43b55edea2dd943f08b9277bd63e2551299e0c
[ "MIT" ]
null
null
null
stt.py
fanta-mnix/speech-to-text-comparison
1e43b55edea2dd943f08b9277bd63e2551299e0c
[ "MIT" ]
null
null
null
stt.py
fanta-mnix/speech-to-text-comparison
1e43b55edea2dd943f08b9277bd63e2551299e0c
[ "MIT" ]
null
null
null
import speech_recognition as sr import sys from os import path GOOGLE_CLOUD_SPEECH_CREDENTIALS = r"YOUR CREDENTIALS HERE" BING_KEY = r"YOUR BING KEY HERE" IBM_USERNAME = r"IBM BLUEMIX USERNAME" IBM_PASSWORD = r"IBM BLUEMIX PASSWORD" if __name__ == '__main__': AUDIO_FILE = sys.argv[1] assert path.isfile(AUDIO...
41.804348
118
0.654706
251
1,923
4.89243
0.270916
0.053746
0.069218
0.041531
0.419381
0.339577
0.305375
0.305375
0.305375
0.188111
0
0.002751
0.24389
1,923
45
119
42.733333
0.841816
0
0
0.236842
0
0
0.342694
0
0
0
0
0
0.026316
1
0
false
0.052632
0.078947
0
0.078947
0.342105
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9e6bbf4a35bf6e0eaeaa3e9c0099b654ce1f34fd
2,916
py
Python
algebra/fundamentals.py
gaosanyong/cp_algorithms
7fbcef202069998f4d2c7d63bc5fcf81138d4997
[ "MIT" ]
null
null
null
algebra/fundamentals.py
gaosanyong/cp_algorithms
7fbcef202069998f4d2c7d63bc5fcf81138d4997
[ "MIT" ]
null
null
null
algebra/fundamentals.py
gaosanyong/cp_algorithms
7fbcef202069998f4d2c7d63bc5fcf81138d4997
[ "MIT" ]
1
2021-12-05T12:47:32.000Z
2021-12-05T12:47:32.000Z
""" NAME - fundamentals DESCRIPTION This module implements below algorithms: * binary exponentiation * Euclidean algorithms for computing the greatest common divisor * extended Euclidean algorithm * linear Diophantine equations * Fibonacci Numbers o closed-form solution o fast doubling method FUNCTIONS ...
22.604651
114
0.624829
528
2,916
3.467803
0.255682
0.0142
0.011469
0.008738
0.178591
0.16166
0.043692
0.0284
0.0284
0.0284
0
0.023519
0.21262
2,916
129
115
22.604651
0.770035
0.378601
0
0.060606
0
0
0
0
0
0
0
0
0
1
0.212121
false
0
0.030303
0.030303
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9e6c918604aa7e29cf99210d7978c668d9756471
1,540
py
Python
models.py
cdepman/falcon_api
42d2ec646a8af5c4bd62460af5a227c805d0a825
[ "MIT" ]
null
null
null
models.py
cdepman/falcon_api
42d2ec646a8af5c4bd62460af5a227c805d0a825
[ "MIT" ]
null
null
null
models.py
cdepman/falcon_api
42d2ec646a8af5c4bd62460af5a227c805d0a825
[ "MIT" ]
null
null
null
{ event: { "display_title": "", "subtitle": "", "capacity": 0, "current_fill": 0, "attendee_min_age": 21, "lat": "", "lon": "", "point": "()", "venue_id": 3, "event_directions": "", "private": "", "date": DateTime, ...
18.333333
31
0.456494
127
1,540
5.173228
0.503937
0.074581
0.121766
0.085236
0.234399
0.12481
0.12481
0.12481
0
0
0
0.009193
0.364286
1,540
83
32
18.554217
0.6619
0
0
0.376623
0
0
0.314286
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9e78e1a2eb3e5baff39436f64d33ca5686bcd326
876
py
Python
app/core/migrations/0004_auto_20211014_1611.py
DBankx/taskr_api_py
64afa1b4ec58c69c628f0fd73ea702e65b32f02a
[ "MIT" ]
null
null
null
app/core/migrations/0004_auto_20211014_1611.py
DBankx/taskr_api_py
64afa1b4ec58c69c628f0fd73ea702e65b32f02a
[ "MIT" ]
null
null
null
app/core/migrations/0004_auto_20211014_1611.py
DBankx/taskr_api_py
64afa1b4ec58c69c628f0fd73ea702e65b32f02a
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-14 16:11 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20211014_1222'), ] operations = [ migrations.RemoveField( model_name='user', ...
30.206897
274
0.626712
84
876
6.428571
0.654762
0.05
0.072222
0.094444
0.140741
0.140741
0
0
0
0
0
0.051908
0.252283
876
28
275
31.285714
0.770992
0.05137
0
0.363636
1
0
0.240048
0.148372
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9e7902294fe9d08f87595eb27adb1f59ca303853
2,902
py
Python
misc/w2v.py
mowrilo/query-processing
e2b76403a41a9c28a9e59b61cf08ec9ce7c1a14c
[ "Apache-2.0" ]
null
null
null
misc/w2v.py
mowrilo/query-processing
e2b76403a41a9c28a9e59b61cf08ec9ce7c1a14c
[ "Apache-2.0" ]
null
null
null
misc/w2v.py
mowrilo/query-processing
e2b76403a41a9c28a9e59b61cf08ec9ce7c1a14c
[ "Apache-2.0" ]
null
null
null
import sys,os,codecs import lucene import gensim import numpy as np import pandas as pd import nltk import re import string from java.nio.file import Paths from org.apache.lucene.analysis.standard import StandardAnalyzer from org.apache.lucene.index import DirectoryReader from org.apache.lucene.index import IndexReade...
28.45098
78
0.694004
413
2,902
4.847458
0.331719
0.024476
0.045455
0.066434
0.412587
0.354645
0.294705
0.252747
0.252747
0.252747
0
0.026716
0.161613
2,902
101
79
28.732673
0.796136
0.257409
0
0.409091
0
0
0.043519
0
0
0
0
0
0
0
null
null
0
0.242424
null
null
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9e7e3819eac3af9ba27ee8deded09fd6f4d31e87
1,674
py
Python
test/codes/InterleavedEncoderTests.py
yonch/wireless
5e5a081fcf3cd49d901f25db6c4c1fabbfc921d5
[ "MIT" ]
29
2015-03-11T04:54:01.000Z
2021-09-20T06:07:59.000Z
test/codes/InterleavedEncoderTests.py
darksidelemm/wireless
5e5a081fcf3cd49d901f25db6c4c1fabbfc921d5
[ "MIT" ]
null
null
null
test/codes/InterleavedEncoderTests.py
darksidelemm/wireless
5e5a081fcf3cd49d901f25db6c4c1fabbfc921d5
[ "MIT" ]
16
2015-01-28T18:58:33.000Z
2021-08-29T02:00:24.000Z
import unittest import math import numpy import random import wireless as rf import wireless.codes.ldpc as ldpc class InterleavedEncoderTests(unittest.TestCase): def test_001_interleaving_works(self): NUM_TESTED_SYMBOLS = 2000 # randomize message msg = numpy.random.bytes(40) + c...
34.875
93
0.634409
181
1,674
5.762431
0.480663
0.034516
0.061361
0.023011
0.134228
0.134228
0.134228
0
0
0
0
0.031483
0.278973
1,674
47
94
35.617021
0.832643
0.113501
0
0
0
0
0.050102
0
0
0
0
0
0.030303
0
null
null
0
0.181818
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9e7e8e8090cff82cff64b52bf2cd857dd5cbb664
1,417
py
Python
Starter Apps/REST-APIs/03 - DB Intro/test.py
ProsperousHeart/flask-projects
9a25c5c589bdd0d57d6c84814d3306621cfce4cd
[ "MIT" ]
1
2020-06-01T20:57:20.000Z
2020-06-01T20:57:20.000Z
Starter Apps/REST-APIs/03 - DB Intro/test.py
ProsperousHeart/flask-projects
9a25c5c589bdd0d57d6c84814d3306621cfce4cd
[ "MIT" ]
20
2018-05-13T03:02:44.000Z
2022-03-11T23:24:35.000Z
Starter Apps/REST-APIs/03 - DB Intro/test.py
ProsperousHeart/flask-projects
9a25c5c589bdd0d57d6c84814d3306621cfce4cd
[ "MIT" ]
null
null
null
# sqlite3 is part of python base install, still must import import sqlite3 # create the sqlite connection - input param is the name of the DB connection = sqlite3.connect('data.db') # create cursor - think computer cursor # allows you to select & start things # responsible for executing queries # (selection from, ins...
28.918367
74
0.714891
216
1,417
4.657407
0.569444
0.032803
0
0
0
0
0
0
0
0
0
0.005181
0.182781
1,417
48
75
29.520833
0.863558
0.58645
0
0
0
0
0.248227
0
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.055556
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9e8210e3529e97dc89ca8c0aa315fdf3ff07df7a
776
py
Python
utils.py
guoxuxu/LOANT
b8cab86fb3ed422d5f1ed963d1eacc84fc38a52b
[ "MIT" ]
8
2021-04-10T07:30:38.000Z
2022-03-25T07:10:49.000Z
utils.py
guoxuxu/LOANT
b8cab86fb3ed422d5f1ed963d1eacc84fc38a52b
[ "MIT" ]
null
null
null
utils.py
guoxuxu/LOANT
b8cab86fb3ed422d5f1ed963d1eacc84fc38a52b
[ "MIT" ]
2
2022-01-05T07:30:39.000Z
2022-01-14T08:10:43.000Z
import os import argparse import torch import numpy import random from datetime import datetime def format_time(): now = datetime.now() # current date and time date_time = now.strftime("%m-%d-%H:%M:%S") return date_time def ensure_dir(path): if not os.path.exists(path): os.makedirs(path) ...
20.421053
77
0.658505
108
776
4.666667
0.5
0.079365
0.031746
0
0
0
0
0
0
0
0
0.001669
0.228093
776
37
78
20.972973
0.839733
0.117268
0
0
0
0
0.067747
0
0
0
0
0
0
1
0.148148
false
0
0.222222
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9e852940d1ccd8abbdfd3d5f9c556c9f2ad20c76
2,224
py
Python
peacedoon/uploader.py
ld100/peacedoon
4b99609b9060506200840cdd99021c99b1db5c1b
[ "MIT" ]
2
2018-01-21T09:42:51.000Z
2018-01-21T09:42:57.000Z
peacedoon/uploader.py
ld100/peacedoon
4b99609b9060506200840cdd99021c99b1db5c1b
[ "MIT" ]
null
null
null
peacedoon/uploader.py
ld100/peacedoon
4b99609b9060506200840cdd99021c99b1db5c1b
[ "MIT" ]
null
null
null
import os import boto3 from boto3.s3.transfer import S3Transfer import settings class Uploader(object): """Amazon S3 File Uploader""" def __init__(self, file_path, s3_filepath=None, s3_http_prefix=None, s3_bucket=None, s3_...
26.164706
78
0.575989
263
2,224
4.524715
0.178707
0.070588
0.080672
0.040336
0.128571
0
0
0
0
0
0
0.025052
0.353867
2,224
84
79
26.47619
0.803062
0.038219
0
0.126984
0
0
0.006567
0
0
0
0
0.011905
0
1
0.047619
false
0
0.063492
0
0.15873
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9e8f062040dca85e55d1b94a790e4d68be83a58f
1,593
py
Python
general_conversations.py
ahmed-mo2nis/Aida-VA
a84a2cfb9193ee821bc529eccc459c0fe942ddfc
[ "MIT" ]
null
null
null
general_conversations.py
ahmed-mo2nis/Aida-VA
a84a2cfb9193ee821bc529eccc459c0fe942ddfc
[ "MIT" ]
null
null
null
general_conversations.py
ahmed-mo2nis/Aida-VA
a84a2cfb9193ee821bc529eccc459c0fe942ddfc
[ "MIT" ]
null
null
null
import random from tts import tts def who_are_you(): messages = ["I'm Aida, your personal assistant", "Aida, I thought I told you before", "My Name is Aida and I'm a personal assistant"] tts(random.choice(messages)) def how_am_i(): replies = ["You Seem Nice", "A Good Person", "You Sound Kind"] tts(ran...
43.054054
251
0.700565
255
1,593
4.333333
0.513725
0.01267
0.095023
0
0
0
0
0
0
0
0
0
0.185185
1,593
36
252
44.25
0.85131
0
0
0
0
0.037037
0.596987
0
0
0
0
0
0
1
0.333333
false
0
0.074074
0
0.407407
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9e928952d13965ae6933a184402058f74bf8046f
613
py
Python
py-td3-cinema/gui/new.py
HuguesGuilleus/istyPOO
f460665799be2b2f34a1ebaa9878e06bb028a410
[ "BSD-3-Clause" ]
null
null
null
py-td3-cinema/gui/new.py
HuguesGuilleus/istyPOO
f460665799be2b2f34a1ebaa9878e06bb028a410
[ "BSD-3-Clause" ]
null
null
null
py-td3-cinema/gui/new.py
HuguesGuilleus/istyPOO
f460665799be2b2f34a1ebaa9878e06bb028a410
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from gi.repository import Gtk from . import edit db = None builder = None initialize = False def init(b, d): "Prépare la création d'un nouvel objet." global db, builder, initialize builder = b db = d builder.get_object("indexList").hide() builder.get_object("newZ...
19.774194
56
0.694943
91
613
4.593407
0.571429
0.119617
0.191388
0.110048
0
0
0
0
0
0
0
0.003824
0.146819
613
30
57
20.433333
0.795411
0.168026
0
0
0
0
0.179577
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.181818
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9e929cfb36d240683a509e28bfd90f4483dcbbeb
1,186
py
Python
j24/learn.py
juhi24/j24py
13d554b6b0990325c26c1870927bc5c4792b2a85
[ "MIT" ]
null
null
null
j24/learn.py
juhi24/j24py
13d554b6b0990325c26c1870927bc5c4792b2a85
[ "MIT" ]
null
null
null
j24/learn.py
juhi24/j24py
13d554b6b0990325c26c1870927bc5c4792b2a85
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import, division, print_function, unicode_literals __metaclass__ = type import pandas as pd import matplotlib.pyplot as plt def fit_predict(t, km): km.fit(t.T) classes = pd.Series(data=km.predict(t.T), index=t.columns) return classes def centroids(t, km):...
29.65
115
0.712479
156
1,186
5.237179
0.467949
0.104039
0.107711
0.091799
0.110159
0.110159
0.110159
0.110159
0
0
0
0.006073
0.166948
1,186
39
116
30.410256
0.82085
0.096965
0
0.083333
0
0
0.14218
0
0
0
0
0
0
1
0.208333
false
0
0.125
0
0.5
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
1
0
0
0
0
0
0
0
1
9ead18e45a88a17f981d77f3e8fc8878f7d7068b
6,985
py
Python
app_db/models.py
saoguang/hnist2
cac02dd1f9e860a24c99cdf10499307df33dad3b
[ "MIT" ]
null
null
null
app_db/models.py
saoguang/hnist2
cac02dd1f9e860a24c99cdf10499307df33dad3b
[ "MIT" ]
1
2020-11-30T01:23:53.000Z
2020-11-30T01:23:53.000Z
app_db/models.py
saoguang/hnist2
cac02dd1f9e860a24c99cdf10499307df33dad3b
[ "MIT" ]
null
null
null
from django.core.exceptions import ObjectDoesNotExist from django.db import models # Create your models here. class User(models.Model): sex_choice = ( (0, '男'), (1, '女'), ) id = models.AutoField(primary_key=True) # 用户ID role = models.ForeignKey('Role', on_delete=models.CASCADE, defaul...
35.100503
112
0.67015
872
6,985
5.116972
0.213303
0.041237
0.084715
0.100852
0.608247
0.580009
0.533169
0.508292
0.416629
0.384357
0
0.011287
0.213601
6,985
198
113
35.277778
0.801019
0.088332
0
0.423841
0
0
0.054664
0
0
0
0
0
0
1
0.072848
false
0.006623
0.013245
0.059603
0.721854
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9eb026771fd5e696ae154213eaa1dea81b0b62e9
3,201
py
Python
web_app/user_activity_log/serializers.py
mycyzs/fta
a50a3c498c39b14e7df4a0a960c2a1499b1ec6bb
[ "Apache-2.0" ]
null
null
null
web_app/user_activity_log/serializers.py
mycyzs/fta
a50a3c498c39b14e7df4a0a960c2a1499b1ec6bb
[ "Apache-2.0" ]
null
null
null
web_app/user_activity_log/serializers.py
mycyzs/fta
a50a3c498c39b14e7df4a0a960c2a1499b1ec6bb
[ "Apache-2.0" ]
2
2020-02-12T03:59:28.000Z
2021-05-27T05:34:01.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
43.849315
305
0.686036
412
3,201
5.126214
0.412621
0.046875
0.067708
0.037879
0.050663
0.04072
0.028409
0
0
0
0
0.004702
0.202749
3,201
72
306
44.458333
0.822884
0.237738
0
0
0
0
0.104132
0
0
0
0
0
0
1
0.081633
false
0
0.122449
0
0.55102
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9eb7f10092ded373c0868e8c45fc1d415fb5e6df
1,725
py
Python
main.py
nguyenanthonyw/Movie_Recomendation_Program
a7669720493927b3472244756621375f9a2ab421
[ "MIT", "Unlicense" ]
null
null
null
main.py
nguyenanthonyw/Movie_Recomendation_Program
a7669720493927b3472244756621375f9a2ab421
[ "MIT", "Unlicense" ]
null
null
null
main.py
nguyenanthonyw/Movie_Recomendation_Program
a7669720493927b3472244756621375f9a2ab421
[ "MIT", "Unlicense" ]
null
null
null
# movie recommendation program import pandas as pd import numpy as np from sklearn.metrics.pairwise import cosine_similarity from sklearn.feature_extraction.text import CountVectorizer # load data df = pd.read_csv('New.csv') print(df.head(3)) # df['id']=df.index # df.to_csv('New') # get count of movies in the data...
22.697368
108
0.69971
260
1,725
4.546154
0.388462
0.086294
0.048223
0.037225
0
0
0
0
0
0
0
0.010446
0.167536
1,725
75
109
23
0.812674
0.241159
0
0
0
0
0.138117
0
0
0
0
0
0
1
0.027778
false
0
0.305556
0
0.361111
0.194444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7b3694a5bdc32507242e46ebc0036e7bec9c4e1e
484
py
Python
setup.py
tkjacobsen/enote
b8150885733599016b2d0b1d36f03e62ca8e3cdc
[ "MIT" ]
16
2015-04-30T22:36:57.000Z
2021-04-29T16:38:17.000Z
setup.py
tkjacobsen/enote
b8150885733599016b2d0b1d36f03e62ca8e3cdc
[ "MIT" ]
1
2017-02-18T18:42:31.000Z
2017-02-18T18:48:47.000Z
setup.py
tkjacobsen/enote
b8150885733599016b2d0b1d36f03e62ca8e3cdc
[ "MIT" ]
2
2017-06-03T08:00:28.000Z
2017-07-15T16:50:47.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- # Copyright (c) 2015 Troels Kofoed Jacobsen #from distutils.core import setup from distutils.core import setup from enote import __version__, __description__ setup( name='enote', version=__version__, license='MIT', description=__description__, author=...
24.2
46
0.692149
56
484
5.678571
0.607143
0.081761
0.106918
0.144654
0.188679
0.188679
0
0
0
0
0
0.014888
0.167355
484
19
47
25.473684
0.774194
0.241736
0
0
0
0
0.253444
0
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
7b41f04e227f33a1d6102cfc19e445be45649393
2,121
py
Python
iotapy/storage/converter.py
aliciawyy/iota-python
b8d421acf94ccd9e7374f799fbe496f6d23e3cf3
[ "MIT" ]
34
2017-10-24T15:04:02.000Z
2021-09-05T17:46:43.000Z
iotapy/storage/converter.py
aliciawyy/iota-python
b8d421acf94ccd9e7374f799fbe496f6d23e3cf3
[ "MIT" ]
8
2017-12-18T21:53:08.000Z
2021-06-01T21:24:31.000Z
iotapy/storage/converter.py
aliciawyy/iota-python
b8d421acf94ccd9e7374f799fbe496f6d23e3cf3
[ "MIT" ]
11
2017-12-18T22:02:29.000Z
2020-11-10T17:58:22.000Z
# -*- coding: utf-8 -*- RADIX = 3 BYTE_RADIX = 256 MAX_TRIT_VALUE = (RADIX - 1) // 2 MIN_TRIT_VALUE = -MAX_TRIT_VALUE NUMBER_OF_TRITS_IN_A_BYTE = 5 NUMBER_OF_TRITS_IN_A_TRYTE = 3 HASH_LENGTH = 243 BYTE_TO_TRITS_MAPPINGS = [[]] * HASH_LENGTH TRYTE_TO_TRITS_MAPPINGS = [[]] * 27 HIGH_INTEGER_BITS = 0xFFFFFFFF HIGH_LON...
29.873239
150
0.687883
341
2,121
3.876833
0.217009
0.096823
0.157337
0.181543
0.37292
0.347201
0.301059
0.164145
0.126324
0.126324
0
0.025998
0.220179
2,121
70
151
30.3
0.773277
0.047148
0
0
0
0
0.013882
0.013386
0
0
0.013882
0
0
1
0.083333
false
0
0
0
0.125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7b47c59cda32c96efc07231b0f2d167863a91e5f
369
py
Python
Continue-ile-input-sayi-atlama.py
AhmetMustan/PythonDenemeKodlari
870747925daa711c889e0cf25d76e488e190d2d8
[ "MIT" ]
null
null
null
Continue-ile-input-sayi-atlama.py
AhmetMustan/PythonDenemeKodlari
870747925daa711c889e0cf25d76e488e190d2d8
[ "MIT" ]
null
null
null
Continue-ile-input-sayi-atlama.py
AhmetMustan/PythonDenemeKodlari
870747925daa711c889e0cf25d76e488e190d2d8
[ "MIT" ]
null
null
null
i=int(input("Değer giriniz:")) #Sayi kaça kadar sıralanacak. x=0 y=int(input("Atlanacak sayi")) #Hangi sayi atlansın. for x in range(i): #Döngü x i'ye gelene kadar dönsün. x+=1 # X her defasında 1 arttırılsın. if x==y: #Eğer x y'ye denk gelirse; continue #Bu sayıyı atla ve döngüye devam et. print(x)...
46.125
61
0.682927
67
369
3.761194
0.656716
0.063492
0.031746
0
0
0
0
0
0
0
0
0.010169
0.200542
369
8
61
46.125
0.844068
0.593496
0
0
0
0
0.194444
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7b49a76c9e60ac5e5a581de08e3832290e602978
294
py
Python
Krakatau-master/Krakatau/Krakatau/ssa/ssa_ops/convert.py
orneryhippo/saturdays
525ce086452e96a01d1762418c79d4c84fd605b5
[ "Apache-2.0" ]
null
null
null
Krakatau-master/Krakatau/Krakatau/ssa/ssa_ops/convert.py
orneryhippo/saturdays
525ce086452e96a01d1762418c79d4c84fd605b5
[ "Apache-2.0" ]
null
null
null
Krakatau-master/Krakatau/Krakatau/ssa/ssa_ops/convert.py
orneryhippo/saturdays
525ce086452e96a01d1762418c79d4c84fd605b5
[ "Apache-2.0" ]
null
null
null
from .base import BaseOp class Convert(BaseOp): def __init__(self, parent, arg, source_ssa, target_ssa): super(Convert, self).__init__(parent, [arg]) self.source = source_ssa self.target = target_ssa self.rval = parent.makeVariable(target_ssa, origin=self)
32.666667
64
0.683673
38
294
4.947368
0.473684
0.143617
0
0
0
0
0
0
0
0
0
0
0.210884
294
8
65
36.75
0.810345
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7b4a3025a462536dff3994592992b1286173660b
440
py
Python
server/chapters/migrations/0007_auto_20190622_0029.py
nickdotreid/opioid-mat-decision-aid
bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1
[ "MIT" ]
null
null
null
server/chapters/migrations/0007_auto_20190622_0029.py
nickdotreid/opioid-mat-decision-aid
bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1
[ "MIT" ]
27
2018-09-30T07:59:21.000Z
2020-11-05T19:25:41.000Z
server/chapters/migrations/0007_auto_20190622_0029.py
nickdotreid/opioid-mat-decision-aid
bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-06-22 00:29 import ckeditor_uploader.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('chapters', '0006_page_quiz'), ] operations = [ migrations.AlterField( model_name='page', nam...
22
89
0.636364
47
440
5.851064
0.744681
0.116364
0.16
0
0
0
0
0
0
0
0
0.058104
0.256818
440
19
90
23.157895
0.782875
0.102273
0
0
1
0
0.083969
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7b672caf7ce22eea3d51a72b0740afe0e0341abd
3,620
py
Python
siteblog/account/forms.py
Arius1404/Django-blog-app
c94ccd18da4ad0c24022b7eaaf1ab538e2f462a8
[ "BSD-3-Clause" ]
null
null
null
siteblog/account/forms.py
Arius1404/Django-blog-app
c94ccd18da4ad0c24022b7eaaf1ab538e2f462a8
[ "BSD-3-Clause" ]
null
null
null
siteblog/account/forms.py
Arius1404/Django-blog-app
c94ccd18da4ad0c24022b7eaaf1ab538e2f462a8
[ "BSD-3-Clause" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from django.forms import PasswordInput from django.contrib.auth import authenticate from account.models import Account class RegistrationForm(UserCreationForm): email_errors = { 'required': 'Обязательное поле.', 'inval...
41.609195
120
0.650276
361
3,620
6.426593
0.279778
0.055172
0.046552
0.059483
0.442241
0.364655
0.306466
0.271983
0.271983
0.159914
0
0.002882
0.233149
3,620
86
121
42.093023
0.832853
0
0
0.243243
0
0
0.196685
0
0
0
0
0
0
1
0.054054
false
0.121622
0.067568
0
0.337838
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7b6e50f0cb68fda8c5081ef35cfd309f9ccf12c1
10,257
py
Python
test_click/main.py
GeekerHua/gh_py_tools
cbcdf2efe3725478900cfab3a1aaf42ccd151ad9
[ "MIT" ]
1
2019-05-01T06:27:58.000Z
2019-05-01T06:27:58.000Z
test_click/main.py
GeekerHua/gh_py_tools
cbcdf2efe3725478900cfab3a1aaf42ccd151ad9
[ "MIT" ]
null
null
null
test_click/main.py
GeekerHua/gh_py_tools
cbcdf2efe3725478900cfab3a1aaf42ccd151ad9
[ "MIT" ]
null
null
null
# /usr/bin/python # encoding=utf-8 import os import sys import click import functools def singleton(cls): _instance = {} def inner(*args, **kwargs): if cls not in _instance: _instance[cls] = cls(*args, **kwargs) return _instance[cls] return inner # class singleton(object): # ...
32.769968
137
0.631861
1,376
10,257
4.614099
0.236919
0.090093
0.050402
0.053552
0.339739
0.29233
0.280044
0.195621
0.15908
0.137974
0
0.01443
0.162231
10,257
312
138
32.875
0.724427
0.134835
0
0.237864
0
0
0.208745
0.014083
0
0
0
0.003205
0
1
0.150485
false
0.082524
0.029126
0
0.223301
0.019417
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7b73620510947b62b7cfb1acbc9eec741861fc91
764
py
Python
crepes_bretonnes/crepes_bretonnes/svg_urls.py
Dominique21000/mooc-django_1-5
405489c48c1b79a625e3e0af16321ed3125ffc00
[ "BSD-3-Clause" ]
null
null
null
crepes_bretonnes/crepes_bretonnes/svg_urls.py
Dominique21000/mooc-django_1-5
405489c48c1b79a625e3e0af16321ed3125ffc00
[ "BSD-3-Clause" ]
null
null
null
crepes_bretonnes/crepes_bretonnes/svg_urls.py
Dominique21000/mooc-django_1-5
405489c48c1b79a625e3e0af16321ed3125ffc00
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import patterns, include, url from django.urls import path from blog import views # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() #urlpatterns = patterns('', # Examples: # url(r'^$', 'crepes_bretonnes.views.home', name='home'...
28.296296
71
0.683246
101
764
5.138614
0.356436
0.030829
0.061657
0.061657
0.127168
0.127168
0.127168
0
0
0
0
0
0.162304
764
27
72
28.296296
0.810938
0.712042
0
0
0
0
0.033981
0
0
0
0
0
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7b791438b813609689eabfa4ee6e5812bea50bf3
417
py
Python
AntShares/Core/TransactionType.py
OTCGO/sync_antshares
5724a5a820ec5f59e0c886a3c1646db2d07b4d78
[ "MIT" ]
10
2017-03-28T05:44:35.000Z
2021-02-17T03:51:39.000Z
AntShares/Core/TransactionType.py
OTCGO/sync_antshares
5724a5a820ec5f59e0c886a3c1646db2d07b4d78
[ "MIT" ]
2
2017-07-06T10:00:25.000Z
2017-08-09T10:14:34.000Z
AntShares/Core/TransactionType.py
OTCGO/sync_antshares
5724a5a820ec5f59e0c886a3c1646db2d07b4d78
[ "MIT" ]
3
2017-03-28T05:44:39.000Z
2018-02-09T09:56:03.000Z
# -*- coding:utf-8 -*- """ Description: Transaction Type in AntShares Usage: from AntShares.Core.TransactionType import TransactionType """ class TransactionType(object): MinerTransaction = 0x00 IssueTransaction = 0x01 ClaimTransaction = 0x02 EnrollmentTransaction = 0x20 VotingTransaction =...
23.166667
62
0.729017
34
417
8.941176
0.911765
0
0
0
0
0
0
0
0
0
0
0.071856
0.199041
417
17
63
24.529412
0.838323
0.330935
0
0
0
0
0
0
0
0
0.118081
0
0
1
0
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7b7a4dc86438f97fec9607abeaa037af8b875132
926
py
Python
failures/mapper2_try.py
ALaks96/MapReduce_Pyspark_Large_Matrix_Multiplication
1a37a4a66464e7f11295ebf55507853b959748ad
[ "MIT" ]
null
null
null
failures/mapper2_try.py
ALaks96/MapReduce_Pyspark_Large_Matrix_Multiplication
1a37a4a66464e7f11295ebf55507853b959748ad
[ "MIT" ]
null
null
null
failures/mapper2_try.py
ALaks96/MapReduce_Pyspark_Large_Matrix_Multiplication
1a37a4a66464e7f11295ebf55507853b959748ad
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys import numpy as np # We know the dimensions of A and B! length = int(200) + 1 width = int(200) + 1 # Initializing A_list and B_list to deal with sparsity A = [0]*(length*width) B = [0]*(length*width) for line in sys.stdin: # Retrieving elements of (key,value) pair of our map ou...
25.027027
73
0.573434
140
926
3.778571
0.485714
0.015123
0.026465
0.05293
0.098299
0.098299
0.098299
0.098299
0.098299
0
0
0.026398
0.304536
926
36
74
25.722222
0.795031
0.342333
0
0.105263
0
0
0.026578
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7b7c4d02fee6bd83a57e9bf483383f952ffcc0f3
5,418
py
Python
src/plant_costsse/ecn_offshore_opex/ecn_offshore_opex.py
WISDEM/Plant_CostsSE
c93c99fbb23a92c7222f15259bd3e204fb323407
[ "Apache-2.0" ]
1
2018-12-27T09:03:16.000Z
2018-12-27T09:03:16.000Z
src/plant_costsse/ecn_offshore_opex/ecn_offshore_opex.py
WISDEM/Plant_CostsSE
c93c99fbb23a92c7222f15259bd3e204fb323407
[ "Apache-2.0" ]
2
2015-07-08T19:53:35.000Z
2017-09-03T14:06:44.000Z
src/plant_costsse/ecn_offshore_opex/ecn_offshore_opex.py
WISDEM/Plant_CostsSE
c93c99fbb23a92c7222f15259bd3e204fb323407
[ "Apache-2.0" ]
5
2017-09-14T17:09:33.000Z
2021-04-19T18:39:55.000Z
""" om_ecn_offshore_component.py Created by NWTC Systems Engineering Sub-Task on 2012-08-01. Copyright (c) NREL. All rights reserved. """ from openmdao.main.api import Component, Assembly, VariableTree from openmdao.main.datatypes.api import Int, Bool, Float, Array, VarTree import numpy as np from fusedwind.plant_c...
38.7
168
0.684201
702
5,418
5.121083
0.260684
0.036161
0.026704
0.023366
0.353268
0.294576
0.294576
0.294576
0.294576
0.262031
0
0.025325
0.205611
5,418
140
169
38.7
0.809944
0.071798
0
0.225352
0
0
0.212655
0.004746
0
0
0
0
0
0
null
null
0
0.084507
null
null
0.098592
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7b81b5e410b3841bb953d8d201b88448e6e8aaea
6,294
py
Python
tests/test_cumulus.py
Apstra/aeon-venos
58d6fbb3f9694ae77e58e8ae369b12d87f170ddb
[ "Apache-2.0" ]
2
2018-04-05T06:28:53.000Z
2018-06-16T14:57:10.000Z
tests/test_cumulus.py
Apstra/aeon-venos
58d6fbb3f9694ae77e58e8ae369b12d87f170ddb
[ "Apache-2.0" ]
29
2017-02-14T15:53:48.000Z
2019-05-21T21:24:10.000Z
tests/test_cumulus.py
Apstra/aeon-venos
58d6fbb3f9694ae77e58e8ae369b12d87f170ddb
[ "Apache-2.0" ]
4
2018-06-16T14:38:27.000Z
2019-06-04T21:25:36.000Z
import mock import pytest from pylib.aeon.cumulus import connector, device from aeon.exceptions import LoginNotReadyError, ProbeError g_facts = { 'hw_version': '1', 'hw_part_number': '123ABC', 'hostname': 'cumulussw', 'serial_number': '0123456789ABCDEF1011', 'fqdn': 'cumulussw', 'os_version': ...
35.761364
126
0.579917
745
6,294
4.720805
0.244295
0.010236
0.009383
0.02559
0.34973
0.25391
0.184248
0.174012
0.153824
0.112596
0
0.041246
0.29123
6,294
175
127
35.965714
0.747142
0.031776
0
0.275168
0
0.013423
0.290222
0.046672
0
0
0.003944
0
0.087248
1
0.04698
false
0.067114
0.026846
0
0.09396
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7b823432c9e92d1d7d3427f92724579b6384dc6a
3,729
py
Python
Client/Controller/MainPanel.py
PythonSimon/CovertChat
63509966ae9354a43bdb1c74b1de3fc3a91611ad
[ "Apache-2.0" ]
null
null
null
Client/Controller/MainPanel.py
PythonSimon/CovertChat
63509966ae9354a43bdb1c74b1de3fc3a91611ad
[ "Apache-2.0" ]
null
null
null
Client/Controller/MainPanel.py
PythonSimon/CovertChat
63509966ae9354a43bdb1c74b1de3fc3a91611ad
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 from wx import * from wx.lib.buttons import * from wx.lib.scrolledpanel import * from .Base import BaseFrame from Client.Configure import * from .UserDetail import UserDetailFrame class MainPanelFrame(BaseFrame): USER_DETAIL = 31 def __init__(self, uid, email, status: Status, name, password,...
31.075
131
0.628587
392
3,729
5.864796
0.382653
0.017399
0.020879
0.013049
0.114833
0.095694
0.066986
0.035668
0
0
0
0.017029
0.259855
3,729
119
132
31.336134
0.815942
0.017967
0
0.0375
0
0
0.04892
0.028423
0
0
0
0
0
1
0.075
false
0.1375
0.075
0.0125
0.2125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7b8578581f9ffd80b9c0de56f1fb74dbfc6a75d2
3,149
py
Python
3cw.py
lisoleg/pybancor
bbec2b9eb650799f965dbc5981025907ecb9da37
[ "MIT" ]
null
null
null
3cw.py
lisoleg/pybancor
bbec2b9eb650799f965dbc5981025907ecb9da37
[ "MIT" ]
null
null
null
3cw.py
lisoleg/pybancor
bbec2b9eb650799f965dbc5981025907ecb9da37
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import random s0=4.96*10**8 mtop=5.04*10**8 oneday=24*60*60 oneyear=365 t=[i for i in range(1,oneyear*30)] bprice0=6.4669 bprice=bprice0 bnum0=1000000 b0=1.0*bnum0 cw0=0.065 cw1=0.075 cw2=0.08 cw3=0.1 realmine=0 p0list=[] b0list=[] s0list=[] p1list=[] b1list=[] s1lis...
23.676692
114
0.64973
513
3,149
3.974659
0.222222
0.029426
0.041197
0.070623
0.50564
0.423247
0.389897
0.305542
0.29181
0.29181
0
0.081905
0.166402
3,149
132
115
23.856061
0.694857
0
0
0.419847
0
0
0.045411
0
0
0
0
0
0
0
null
null
0
0.022901
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7b8ea2f8a4d8eed6aa204200fdca6bc301073200
790
py
Python
mods/youtube-upload/youtube_upload/auth/console.py
rbckman/Tarina
51926e4729e979ae697a44722416447c9b81e4f1
[ "Apache-2.0" ]
11
2016-11-06T03:01:10.000Z
2021-04-03T18:01:45.000Z
mods/youtube-upload/youtube_upload/auth/console.py
rbckman/Tarina
51926e4729e979ae697a44722416447c9b81e4f1
[ "Apache-2.0" ]
null
null
null
mods/youtube-upload/youtube_upload/auth/console.py
rbckman/Tarina
51926e4729e979ae697a44722416447c9b81e4f1
[ "Apache-2.0" ]
1
2021-01-24T09:17:26.000Z
2021-01-24T09:17:26.000Z
import sys import pyshorteners def shorten_url(url): s = pyshorteners.Shortener() short_url = s.tinyurl.short(url) return short_url def get_code(authorize_url): sys.stderr.write("\x1b[2J\x1b[H") short_url = shorten_url(authorize_url) """Show authorization URL and return the code the user wrote...
32.916667
68
0.689873
106
790
5.04717
0.509434
0.074766
0.130841
0.084112
0.082243
0.082243
0.082243
0
0
0
0
0.007974
0.206329
790
23
69
34.347826
0.845295
0.077215
0
0.105263
0
0
0.167421
0
0
0
0
0
0
1
0.105263
false
0.052632
0.210526
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7b940782b625698e750ab7a5328b0e9807b781ae
587
py
Python
cpgqls_client/queries.py
ShiftLeftSecurity/cpgqls-client-python
363832427b61a77cc8082e9f5a5393fceb9a5a97
[ "Apache-2.0" ]
5
2020-07-17T11:15:48.000Z
2020-12-23T13:13:19.000Z
cpgqls_client/queries.py
ShiftLeftSecurity/cpgqls-client-python
363832427b61a77cc8082e9f5a5393fceb9a5a97
[ "Apache-2.0" ]
null
null
null
cpgqls_client/queries.py
ShiftLeftSecurity/cpgqls-client-python
363832427b61a77cc8082e9f5a5393fceb9a5a97
[ "Apache-2.0" ]
5
2020-11-17T07:46:03.000Z
2021-12-03T02:04:10.000Z
def import_code_query(path, project_name=None, language=None): if not path: raise Exception('An importCode query requires a project path') if project_name and language: fmt_str = u"""importCode(inputPath=\"%s\", projectName=\"%s\", language=\"%s\")""" return fmt_str % (path, project_nam...
34.529412
73
0.643952
75
587
4.88
0.36
0.150273
0.122951
0.087432
0.494536
0.363388
0.363388
0.213115
0
0
0
0
0.197615
587
16
74
36.6875
0.77707
0
0
0
0
0
0.303754
0.095563
0
0
0
0
0
1
0.153846
false
0
0.384615
0.076923
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7b985fcaa958aef55a543bca6d6f73979417fef3
13,032
py
Python
voter/tests/test_fetch.py
NCVotes/voters-ingestor
af7bc9db151cc65eae85412f7c1d36d4d301b158
[ "MIT" ]
10
2018-02-15T16:40:03.000Z
2020-06-13T19:50:16.000Z
voter/tests/test_fetch.py
NCVotes/voters-ingestor
af7bc9db151cc65eae85412f7c1d36d4d301b158
[ "MIT" ]
17
2017-09-11T19:57:58.000Z
2018-06-19T13:31:09.000Z
voter/tests/test_fetch.py
NCVotes/voters-ingestor
af7bc9db151cc65eae85412f7c1d36d4d301b158
[ "MIT" ]
1
2017-11-02T23:42:16.000Z
2017-11-02T23:42:16.000Z
from unittest import mock from django.conf import settings from django.core.management import call_command from django.test import TestCase from django.utils import timezone from voter.models import FileTracker from voter import utils class VoterFetchUtilsTest(TestCase): def setUp(self): self.url = 'ht...
51.920319
123
0.712861
1,757
13,032
4.955037
0.114969
0.028946
0.057891
0.061107
0.757409
0.725132
0.697335
0.652538
0.640018
0.599931
0
0.00393
0.180018
13,032
250
124
52.128
0.81078
0.079573
0
0.452736
0
0
0.173981
0.101606
0
0
0
0
0.144279
1
0.119403
false
0
0.034826
0
0.179104
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7b99fae97725471ac3918a5ab6cf0fc44ead8c53
199
py
Python
tproxy/__init__.py
romabysen/tproxy
1f49bab2a1bef5387b2dfbbdf0a0b8f426413613
[ "MIT" ]
170
2015-01-30T07:43:29.000Z
2022-03-01T01:37:29.000Z
tproxy/__init__.py
romabysen/tproxy
1f49bab2a1bef5387b2dfbbdf0a0b8f426413613
[ "MIT" ]
1
2015-09-03T22:56:03.000Z
2015-09-08T09:08:18.000Z
tproxy/__init__.py
romabysen/tproxy
1f49bab2a1bef5387b2dfbbdf0a0b8f426413613
[ "MIT" ]
32
2015-01-09T22:16:50.000Z
2020-07-29T20:29:32.000Z
# -*- coding: utf-8 - # # This file is part of tproxy released under the MIT license. # See the NOTICE for more information. version_info = (0, 5, 4) __version__ = ".".join(map(str, version_info))
24.875
62
0.683417
31
199
4.193548
0.870968
0.169231
0
0
0
0
0
0
0
0
0
0.02454
0.180905
199
7
63
28.428571
0.773006
0.58794
0
0
0
0
0.012987
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7b9a6d73773c66a2ef9ae20b4351b5d633caed0b
1,551
py
Python
smilodon/commandaccess.py
darkwyrm/smilodon
f2858e8ac91c2784688e29b7d694d53e21d9e530
[ "MIT" ]
1
2020-10-04T17:20:14.000Z
2020-10-04T17:20:14.000Z
smilodon/commandaccess.py
darkwyrm/smilodon
f2858e8ac91c2784688e29b7d694d53e21d9e530
[ "MIT" ]
null
null
null
smilodon/commandaccess.py
darkwyrm/smilodon
f2858e8ac91c2784688e29b7d694d53e21d9e530
[ "MIT" ]
null
null
null
import sys import shellcommands class CommandAccess: '''The CommandAccess houses all available command objects''' def __init__(self): self.aliases = dict() self.all_names = list() self.add_command(shellcommands.CommandListDir()) self.add_command(shellcommands.CommandExit()) self.add_command(shellcommand...
29.264151
87
0.750484
192
1,551
5.9375
0.333333
0.078947
0.098246
0.189474
0
0
0
0
0
0
0
0.001494
0.136686
1,551
52
88
29.826923
0.849888
0.134752
0
0
0
0
0.035579
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.305556
0.027778
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7bac1e151eb49aafdc55317565aee2d860d230f5
312
py
Python
MoinMoin/widget/base.py
RealTimeWeb/wikisite
66a22c68c172f0ebb3c88a9885ccd33e2d59c3c5
[ "Apache-2.0" ]
null
null
null
MoinMoin/widget/base.py
RealTimeWeb/wikisite
66a22c68c172f0ebb3c88a9885ccd33e2d59c3c5
[ "Apache-2.0" ]
3
2020-06-26T21:21:32.000Z
2020-06-26T21:21:36.000Z
wiki/MoinMoin/widget/base.py
simtk/src
52086415ef60527e6556698c6e216e4217961d53
[ "BSD-2-Clause", "MIT" ]
2
2017-01-25T20:06:44.000Z
2021-03-25T18:39:55.000Z
# -*- coding: iso-8859-1 -*- """ MoinMoin - Widget base class @copyright: 2002 Juergen Hermann <jh@web.de> @license: GNU GPL, see COPYING for details. """ class Widget: def __init__(self, request, **kw): self.request = request def render(self): raise NotImplementedError
18.352941
48
0.621795
37
312
5.135135
0.810811
0.115789
0
0
0
0
0
0
0
0
0
0.038462
0.25
312
16
49
19.5
0.773504
0.467949
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7bae45cce6968bf8df85db59f01a36e19295db54
1,498
py
Python
listing.py
eduardorasgado/divide-and-conquer-algorithms
9821a0a75b62bcb4c3d636bc1f1b944771658d23
[ "MIT" ]
null
null
null
listing.py
eduardorasgado/divide-and-conquer-algorithms
9821a0a75b62bcb4c3d636bc1f1b944771658d23
[ "MIT" ]
null
null
null
listing.py
eduardorasgado/divide-and-conquer-algorithms
9821a0a75b62bcb4c3d636bc1f1b944771658d23
[ "MIT" ]
null
null
null
#listing #representacion de grafos a,b,c,d,e,f,g,h = range(8) N = [{b:2,c:1,d:3,e:9,f:4}, #a {c:4,e:3}, #b {d:8}, #c {e:7}, #d {f:5}, #e {c:2,g:2,h:2}, #f {f:1,h:6}...
24.966667
79
0.414553
287
1,498
2.013937
0.236934
0.103806
0.088235
0.055363
0.16436
0.148789
0.128028
0.076125
0.048443
0.048443
0
0.111782
0.337116
1,498
59
80
25.389831
0.470292
0.267023
0
0.131579
0
0
0.032967
0.02997
0
0
0
0
0
1
0
false
0
0
0
0
0.210526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7bb32bb6ad1df4ed3c1243c2e9e43204ff161a98
960
py
Python
magi/agents/pets/agent.py
akbir/magi
cff26ddb87165bb6e19796dc77521e3191afcffc
[ "Apache-2.0" ]
86
2021-11-24T21:53:29.000Z
2022-03-27T13:35:45.000Z
magi/agents/pets/agent.py
akbir/magi
cff26ddb87165bb6e19796dc77521e3191afcffc
[ "Apache-2.0" ]
7
2021-11-26T17:23:29.000Z
2022-03-07T21:49:44.000Z
magi/agents/pets/agent.py
akbir/magi
cff26ddb87165bb6e19796dc77521e3191afcffc
[ "Apache-2.0" ]
3
2021-11-27T11:13:18.000Z
2022-01-24T14:38:53.000Z
"""Generic model-based agent.""" from acme import core import dm_env import numpy as np class ModelBasedAgent(core.Actor): """Generic model-based agent.""" def __init__(self, actor: core.Actor, learner: core.Learner): self._actor = actor self._learner = learner self._last_timestep = ...
28.235294
74
0.678125
121
960
5.115702
0.305785
0.101777
0.103393
0.071082
0.119548
0.119548
0.119548
0
0
0
0
0
0.21875
960
33
75
29.090909
0.825333
0.055208
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.136364
0.045455
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7bc0a9533ff5a0811155f9bf215c07a5066038e8
1,733
py
Python
Verkefni/pithon/prof 1.py
gitmaus1/22V-s2
6bc482cf2b2c8f9972c1d202666bb7aa8d12c407
[ "CC0-1.0" ]
null
null
null
Verkefni/pithon/prof 1.py
gitmaus1/22V-s2
6bc482cf2b2c8f9972c1d202666bb7aa8d12c407
[ "CC0-1.0" ]
null
null
null
Verkefni/pithon/prof 1.py
gitmaus1/22V-s2
6bc482cf2b2c8f9972c1d202666bb7aa8d12c407
[ "CC0-1.0" ]
null
null
null
#nanan=input("nafn:") #arg=float(input("hæð 1 metrum:")) #print(arg) #if arg == 2: # print("þú ert 2 metra há 200cm") #elif arg >= 2: # print("þú ert",arg-2,"metrum hæri og",(arg*100)-200,"cm ifir") #elif arg <= 2: # print("þú ert",arg-2,"metrum lægri og",(arg*100)-200,"cm undir") ######################...
27.507937
114
0.448355
219
1,733
3.547945
0.273973
0.05148
0.069498
0.066924
0.496783
0.440154
0.440154
0.440154
0.406692
0.342342
0
0.050492
0.120023
1,733
63
115
27.507937
0.459016
0.197346
0
0
0
0
0.257019
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7bc243238f45499eaa2154d35b6cd4d03796ef1e
521
py
Python
backend/app/schemas/address.py
MyjJr/amechii
8f68acc568f252e491115b8b1ff468b2fcb4dc92
[ "MIT" ]
1
2021-08-31T15:06:59.000Z
2021-08-31T15:06:59.000Z
backend/app/schemas/address.py
MyjJr/Amechii
8f68acc568f252e491115b8b1ff468b2fcb4dc92
[ "MIT" ]
8
2021-09-03T02:02:45.000Z
2021-09-06T05:11:58.000Z
backend/app/schemas/address.py
MyjJr/amechii
8f68acc568f252e491115b8b1ff468b2fcb4dc92
[ "MIT" ]
null
null
null
from pydantic import BaseModel from typing import Optional class AddressBase(BaseModel): name: str phone_number: str zipcode: str address: str class AddressCreate(AddressBase): user_id: int class AddressUpdate(BaseModel): name: Optional[str] = None phone_number: Optional[str] = None ...
16.28125
38
0.696737
60
521
5.983333
0.433333
0.122563
0.167131
0
0
0
0
0
0
0
0
0
0.228407
521
31
39
16.806452
0.893035
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.05
0.1
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7bc665c86b0ead201e0b3ceded43127ad30cb4fe
596
py
Python
coding_intereview/1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K.py
Jahidul007/Python-Bootcamp
3c870587465ff66c2c1871c8d3c4eea72463abda
[ "MIT" ]
2
2020-12-07T16:07:07.000Z
2020-12-07T16:08:53.000Z
coding_intereview/1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K.py
purusharthmalik/Python-Bootcamp
2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1
[ "MIT" ]
null
null
null
coding_intereview/1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K.py
purusharthmalik/Python-Bootcamp
2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1
[ "MIT" ]
1
2020-10-03T16:38:02.000Z
2020-10-03T16:38:02.000Z
class Solution: def findMinFibonacciNumbers(self, k: int) -> int: fib = [] fib.extend([1, 1]) j = 1 i = 2 # calculate fibonacci number greater than k while j < k: x = fib[i - 1] + fib[i - 2] fib.append(x) i += 1 j = x ...
25.913043
53
0.372483
74
596
3
0.432432
0.108108
0.067568
0
0
0
0
0
0
0
0
0.044674
0.511745
596
22
54
27.090909
0.718213
0.068792
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0
0
0.142857
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7bc9d1213459f1d966881d706570465a19d2e1ee
837
py
Python
setup.py
servian/aws-service-roles-manager
117f5dd5bfb8cab703f13d5ea3152f64b98cb2ef
[ "MIT" ]
1
2020-11-12T21:15:03.000Z
2020-11-12T21:15:03.000Z
setup.py
servian/aws-service-roles-manager
117f5dd5bfb8cab703f13d5ea3152f64b98cb2ef
[ "MIT" ]
null
null
null
setup.py
servian/aws-service-roles-manager
117f5dd5bfb8cab703f13d5ea3152f64b98cb2ef
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages LONG_DESCRIPTION = open("README.md").read() INSTALL_REQUIRES = [ "boto==2.49.0", "Click==7.0", ] setup( name="aws-service-roles-manager", url="http://github.com/servian/aws-service-roles/", author="Marat Levit", author_email="marat.levit@servian.com...
28.862069
95
0.677419
105
837
5.219048
0.6
0.109489
0.136861
0.160584
0
0
0
0
0
0
0
0.011594
0.175627
837
29
96
28.862069
0.782609
0
0
0
0
0
0.399761
0.158711
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7bcd47ee082b52e2a6a0c26effa36eb8a68a42eb
724
py
Python
utility/auto_newline.py
C3RV1/LaytonEditor
51e1a9a372a8acdaa4183ae008235a721dc56cdc
[ "Unlicense" ]
6
2019-12-24T00:18:54.000Z
2022-02-28T17:09:22.000Z
utility/auto_newline.py
C3RV1/LaytonEditor
51e1a9a372a8acdaa4183ae008235a721dc56cdc
[ "Unlicense" ]
1
2021-08-18T11:10:35.000Z
2021-08-18T17:32:21.000Z
utility/auto_newline.py
C3RV1/LaytonEditor
51e1a9a372a8acdaa4183ae008235a721dc56cdc
[ "Unlicense" ]
2
2021-01-17T10:42:48.000Z
2021-08-18T11:10:54.000Z
def auto_newline(text: str, max_line_length: int): def wrap_line_helper(line: str): words = line.split(" ") wrapped_line = [] current_line = "" for word in words: current_line += word if len(current_line) > max_line_length: current_line = " ".j...
36.2
69
0.578729
86
724
4.581395
0.313953
0.251269
0.06599
0.121827
0.142132
0
0
0
0
0
0
0.007905
0.301105
724
19
70
38.105263
0.770751
0
0
0
0
0
0.013812
0
0
0
0
0
0
1
0.105263
false
0
0
0
0.210526
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c881f4ef1b2f7ea4a2d8240dbb8b686c36dac06d
2,077
py
Python
tests/test_bif/regression/406/conf.py
Xilinx/roast-xilinx
ce24becf31c90fb3c4562f4347bf0859af845c05
[ "MIT" ]
1
2021-09-01T15:29:08.000Z
2021-09-01T15:29:08.000Z
tests/test_bif/regression/406/conf.py
Xilinx/roast-xilinx
ce24becf31c90fb3c4562f4347bf0859af845c05
[ "MIT" ]
null
null
null
tests/test_bif/regression/406/conf.py
Xilinx/roast-xilinx
ce24becf31c90fb3c4562f4347bf0859af845c05
[ "MIT" ]
1
2021-11-18T13:11:21.000Z
2021-11-18T13:11:21.000Z
# # Copyright (c) 2020 Xilinx, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # Bif file format from roast.component.bif.generate import Header, Component, Block tcase_type = "copymem" result_msg = "Boot PDI Load: Done" id_load_list = ["0x1C000000"] bootheader = "image_config {{bh_auth_enable}}\n \ psk...
31.953846
105
0.603274
245
2,077
4.795918
0.379592
0.076596
0.102128
0.137872
0.494468
0.417872
0.37617
0.37617
0.37617
0.330213
0
0.020535
0.226288
2,077
64
106
32.453125
0.710641
0.046702
0
0.509434
1
0
0.255319
0
0
0
0.009119
0
0
1
0
false
0
0.018868
0
0.018868
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c88e165d766a4d92a8825bd73416b753819a7773
575
py
Python
setup.py
mwisslead/zigzag
99acc261ea180b2db0daf8da3f4f93d3ce70958a
[ "MIT" ]
null
null
null
setup.py
mwisslead/zigzag
99acc261ea180b2db0daf8da3f4f93d3ce70958a
[ "MIT" ]
null
null
null
setup.py
mwisslead/zigzag
99acc261ea180b2db0daf8da3f4f93d3ce70958a
[ "MIT" ]
null
null
null
from setuptools import setup VERSION='1.0.0' setup( name='zigzag', version=VERSION, description='Generate points zigzagging through space', author='Michael Wisslead', author_email='michael.wisslead@gmail.com', url='https://github.com/mwisslead', packages=['zigzag'], classifiers=[ ...
27.380952
71
0.638261
58
575
6.310345
0.793103
0.081967
0
0
0
0
0
0
0
0
0
0.008989
0.226087
575
20
72
28.75
0.813483
0
0
0
1
0
0.554783
0.045217
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c88e35462a7a517a3bb51c6aa0be1f56271caba2
558
py
Python
ProjectApplication/reporting/urls.py
code-review-doctor/project-application
d85b40b69572efbcda24ce9c40803f76d8ffd192
[ "MIT" ]
null
null
null
ProjectApplication/reporting/urls.py
code-review-doctor/project-application
d85b40b69572efbcda24ce9c40803f76d8ffd192
[ "MIT" ]
null
null
null
ProjectApplication/reporting/urls.py
code-review-doctor/project-application
d85b40b69572efbcda24ce9c40803f76d8ffd192
[ "MIT" ]
null
null
null
from django.urls import path import reporting.views urlpatterns = [ path('logged/reporting/', reporting.views.Reporting.as_view(), name='logged-reporting'), path('logged/reporting/excel/downloads/projects_balance', reporting.views.ProjectsBalanceExcel.as_view(), name='logged...
37.2
65
0.725806
57
558
6.982456
0.350877
0.226131
0.143216
0.120603
0.394472
0.20603
0
0
0
0
0
0
0.154122
558
14
66
39.857143
0.84322
0
0
0
0
0
0.403226
0.344086
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c89b9a97885e9e00a40975acdca3e29606ef7647
537
py
Python
jobs/migrations/0007_auto_20180709_2255.py
ianFraser858/portfolio_project_done
a5b253160f26358474f220e2636c4d90d01edaa0
[ "MIT" ]
null
null
null
jobs/migrations/0007_auto_20180709_2255.py
ianFraser858/portfolio_project_done
a5b253160f26358474f220e2636c4d90d01edaa0
[ "MIT" ]
null
null
null
jobs/migrations/0007_auto_20180709_2255.py
ianFraser858/portfolio_project_done
a5b253160f26358474f220e2636c4d90d01edaa0
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2018-07-10 03:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobs', '0006_auto_20180709_2246'), ] operations = [ migrations.RemoveField( model_name='job', name='summary', ...
22.375
71
0.569832
54
537
5.537037
0.777778
0.060201
0.080268
0.107023
0
0
0
0
0
0
0
0.095109
0.314711
537
23
72
23.347826
0.717391
0.083799
0
0.235294
1
0
0.110204
0.046939
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c89db7bba047f08154bf573a0b6e89cd693e6459
199
py
Python
Leetcode/189. Rotate Array/solution1.py
asanoviskhak/Outtalent
c500e8ad498f76d57eb87a9776a04af7bdda913d
[ "MIT" ]
51
2020-07-12T21:27:47.000Z
2022-02-11T19:25:36.000Z
Leetcode/189. Rotate Array/solution1.py
CrazySquirrel/Outtalent
8a10b23335d8e9f080e5c39715b38bcc2916ff00
[ "MIT" ]
null
null
null
Leetcode/189. Rotate Array/solution1.py
CrazySquirrel/Outtalent
8a10b23335d8e9f080e5c39715b38bcc2916ff00
[ "MIT" ]
32
2020-07-27T13:54:24.000Z
2021-12-25T18:12:50.000Z
class Solution: def rotate(self, nums: List[int], k: int) -> None: k %= len(nums) if k > 0: for i, v in enumerate(nums[-k:] + nums[0:-k]): nums[i] = v
28.428571
58
0.452261
30
199
3
0.6
0.044444
0
0
0
0
0
0
0
0
0
0.016129
0.376884
199
6
59
33.166667
0.709677
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c8ae13ead55cbc07f8d62b5b924423a910da1b80
266
py
Python
myproject/myproject/apps/sample_rest/urls.py
gabfl/sample-django
e71e37d58f24c86001d4c11b8e0f9a9202313811
[ "MIT" ]
1
2018-03-27T07:09:50.000Z
2018-03-27T07:09:50.000Z
myproject/myproject/apps/sample_rest/urls.py
gabfl/sample-django
e71e37d58f24c86001d4c11b8e0f9a9202313811
[ "MIT" ]
null
null
null
myproject/myproject/apps/sample_rest/urls.py
gabfl/sample-django
e71e37d58f24c86001d4c11b8e0f9a9202313811
[ "MIT" ]
1
2018-03-27T07:09:51.000Z
2018-03-27T07:09:51.000Z
from django.urls import path from rest_framework import routers, serializers, viewsets from . import views urlpatterns = [ path('', views.hello), path('users', views.users), path('user/<int:user_id>', views.user), path('parse', views.parseJson), ]
22.166667
57
0.68797
34
266
5.323529
0.558824
0
0
0
0
0
0
0
0
0
0
0
0.165414
266
11
58
24.181818
0.815315
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c8aeba1fc9e17a0c4c5b8f06300c78411841dff2
525
py
Python
tests/test_removing_elements.py
tylorschafer/code-katas
831fb6f37c1fa3ddb85f939b25ab4cea873ec6c6
[ "MIT" ]
5
2019-03-31T16:28:19.000Z
2021-02-19T09:33:04.000Z
tests/test_removing_elements.py
tylorschafer/code-katas
831fb6f37c1fa3ddb85f939b25ab4cea873ec6c6
[ "MIT" ]
2
2017-06-14T23:57:48.000Z
2017-06-22T20:21:32.000Z
tests/test_removing_elements.py
tylorschafer/code-katas
831fb6f37c1fa3ddb85f939b25ab4cea873ec6c6
[ "MIT" ]
6
2020-02-02T02:10:27.000Z
2022-01-27T16:34:13.000Z
"""Test remove every other element function.""" import pytest LIST = [ [['Hello', 'Goodbye', 'Hello Again'], ['Hello', 'Hello Again']], [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [1, 3, 5, 7, 9]], [[[1, 2]], [[1, 2]]], [[['Goodbye'], {'Great': 'Job'}], [['Goodbye']]], ] @pytest.mark.parametrize("n, result",...
27.631579
68
0.598095
73
525
4.191781
0.520548
0.143791
0.20915
0.130719
0
0
0
0
0
0
0
0.04662
0.182857
525
18
69
29.166667
0.666667
0.167619
0
0
0
0
0.164319
0
0
0
0
0
0.090909
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c8b941174c0611354a63981e37e20e4d1c46fab8
12,357
py
Python
code/solverFramework.py
qingzheli/partial-correlation-based-contrast-pattern-mining
44026ba840581a68ff2249e88e99c0c1d05d4209
[ "BSD-2-Clause" ]
1
2021-02-02T01:29:50.000Z
2021-02-02T01:29:50.000Z
code/solverFramework.py
qingzheli/partial-correlation-based-contrast-pattern-mining
44026ba840581a68ff2249e88e99c0c1d05d4209
[ "BSD-2-Clause" ]
null
null
null
code/solverFramework.py
qingzheli/partial-correlation-based-contrast-pattern-mining
44026ba840581a68ff2249e88e99c0c1d05d4209
[ "BSD-2-Clause" ]
null
null
null
#For ICDM review only, please do not distribute #ALL RIGHTS RESERVED import numpy as np import matplotlib.pyplot as plt from solverADMMmodel7 import myADMMSolver as ADMM7 from solverADMMmodel6 import myADMMSolver as ADMM6 from helper import computeF1Score,extractSlidingWindow,computeF1ScoreWithoutBestMatch,reassignY, u...
34.808451
209
0.51574
1,553
12,357
4
0.162911
0.007727
0.008049
0.010303
0.285254
0.230844
0.153413
0.120573
0.096587
0.069543
0
0.044694
0.351784
12,357
354
210
34.90678
0.730836
0.12147
0
0.214815
0
0
0.058474
0.013366
0
0
0
0
0
0
null
null
0
0.022222
null
null
0.125926
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c8e5d5f617840ab6c728a3f4cf4f22b2c8e2bfde
15,254
py
Python
utils.py
sunboy1975110/Sparsely-Grouped-Multi-task-GAN
649192db45411220a12a1922eb1ddcef93026b1d
[ "MIT" ]
1
2020-10-27T10:12:45.000Z
2020-10-27T10:12:45.000Z
utils.py
sunboy1975110/Sparsely-Grouped-Multi-task-GAN
649192db45411220a12a1922eb1ddcef93026b1d
[ "MIT" ]
null
null
null
utils.py
sunboy1975110/Sparsely-Grouped-Multi-task-GAN
649192db45411220a12a1922eb1ddcef93026b1d
[ "MIT" ]
null
null
null
import os import errno import numpy as np import scipy import scipy.misc def mkdir_p(path): try: os.makedirs(path) except OSError as exc: if exc.errno == errno.EEXIST and os.path.isdir(path): pass else: raise def get_image(image_path , image_size, is_crop= True,...
33.973274
168
0.616887
2,206
15,254
3.954216
0.088395
0.036685
0.037831
0.04918
0.626734
0.548206
0.507624
0.427376
0.404333
0.387137
0
0.036278
0.273568
15,254
449
169
33.973274
0.750925
0.024715
0
0.367742
0
0
0.012118
0
0
0
0
0
0
0
null
null
0.003226
0.016129
null
null
0.022581
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c8e6155ab79d614f795377f2b374c5ebba61ff18
828
py
Python
daemon/readFuses.py
jbaumann/attiny_daemon
f4e5deb29d0b4e02d4531bedd9312fd8d98cc53b
[ "Apache-2.0" ]
52
2019-08-28T08:04:01.000Z
2022-02-09T19:55:01.000Z
daemon/readFuses.py
jbaumann/attiny_daemon
f4e5deb29d0b4e02d4531bedd9312fd8d98cc53b
[ "Apache-2.0" ]
10
2019-08-31T03:58:32.000Z
2021-11-25T07:36:46.000Z
daemon/readFuses.py
jbaumann/attiny_daemon
f4e5deb29d0b4e02d4531bedd9312fd8d98cc53b
[ "Apache-2.0" ]
7
2019-08-28T09:22:22.000Z
2021-11-04T02:39:52.000Z
#!/usr/bin/env python3 import sys sys.path.append('/opt/attiny_daemon/') # add the path to our ATTiny module import time import smbus import logging from attiny_i2c import ATTiny _time_const = 1.0 # used as a pause between i2c communications, the ATTiny is slow _num_retries = 10 # the number of retries when r...
29.571429
93
0.758454
135
828
4.466667
0.459259
0.079602
0.074627
0.074627
0.109453
0.109453
0
0
0
0
0
0.019915
0.150966
828
27
94
30.666667
0.837838
0.375604
0
0
0
0
0.127701
0
0
0
0.007859
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c8e66396bd8c839c77815955fbc876e34fe135b5
2,142
py
Python
api/task.py
BrokenSwing/RoutineConfig
6adcbfc3ffc3c1c63c346fcf4483c5a67afb30a2
[ "Apache-2.0" ]
null
null
null
api/task.py
BrokenSwing/RoutineConfig
6adcbfc3ffc3c1c63c346fcf4483c5a67afb30a2
[ "Apache-2.0" ]
1
2021-03-20T02:07:12.000Z
2021-03-20T02:07:12.000Z
api/task.py
BrokenSwing/RoutineConfig
6adcbfc3ffc3c1c63c346fcf4483c5a67afb30a2
[ "Apache-2.0" ]
null
null
null
class Task: """ Abstract class defining a task. A task is an atomic action (i.e: switch on/off light, play music, etc ...) It can take arguments which will be defined by the user (i.e: turn off light between 9 am and 1 pm. 9 and 1 can be defined as parameters given by user). """ def __init__(se...
42.84
116
0.645658
312
2,142
4.36859
0.416667
0.041086
0.016141
0.023478
0.064563
0
0
0
0
0
0
0.003873
0.276844
2,142
49
117
43.714286
0.876049
0.551354
0
0
0
0
0.279487
0
0
0
0
0
0.133333
1
0.266667
false
0
0
0
0.4
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1