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
8ed07a3409d0e714bb4dfd56e354ff0f6396ac95
2,394
py
Python
Important_data/Thesis figure scripts/arccos.py
haakonvt/LearningTensorFlow
6988a15af2ac916ae1a5e23b2c5bde9630cc0519
[ "MIT" ]
5
2018-09-06T12:52:12.000Z
2020-05-09T01:40:12.000Z
Important_data/Thesis figure scripts/arccos.py
haakonvt/LearningTensorFlow
6988a15af2ac916ae1a5e23b2c5bde9630cc0519
[ "MIT" ]
null
null
null
Important_data/Thesis figure scripts/arccos.py
haakonvt/LearningTensorFlow
6988a15af2ac916ae1a5e23b2c5bde9630cc0519
[ "MIT" ]
4
2018-02-06T08:42:06.000Z
2019-04-16T11:23:06.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from matplotlib import rc rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) rc('text', usetex=True) rc('lines', linewidth=2) rc('font', family='serif') rc('legend',**{'fontsize':14}) # Font size for legend # rc('text.latex', unicode=True) im...
31.090909
105
0.624478
336
2,394
4.395833
0.479167
0.027082
0.016249
0.016249
0.020311
0
0
0
0
0
0
0.028526
0.209273
2,394
76
106
31.5
0.751717
0.129908
0
0.103448
0
0
0.21267
0.031171
0
0
0
0
0
0
null
null
0
0.103448
null
null
0.051724
0
0
0
null
0
0
0
0
0
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
8ed0f8f6ac849f4f689b939cad24cf9545498937
1,957
py
Python
src/aws_environments/migrations/0019_environmentvariable.py
chiliseed/hub
83f29fbdd12e2260397e18e635f508459fa4990e
[ "Apache-2.0" ]
null
null
null
src/aws_environments/migrations/0019_environmentvariable.py
chiliseed/hub
83f29fbdd12e2260397e18e635f508459fa4990e
[ "Apache-2.0" ]
4
2021-04-08T20:10:15.000Z
2021-06-10T20:18:17.000Z
src/aws_environments/migrations/0019_environmentvariable.py
chiliseed/hub
83f29fbdd12e2260397e18e635f508459fa4990e
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.2 on 2020-03-18 18:28 from django.db import migrations, models import django.db.models.deletion import fernet_fields.fields class Migration(migrations.Migration): dependencies = [ ("organizations", "0001_initial"), ("aws_environments", "0018_auto_20200302_2128"), ] ...
34.333333
88
0.459888
151
1,957
5.754967
0.503311
0.036824
0.048331
0.075949
0.232451
0.168009
0.168009
0.168009
0.168009
0.168009
0
0.038844
0.434338
1,957
56
89
34.946429
0.746161
0.022994
0
0.28
1
0
0.133508
0.03822
0
0
0
0
0
1
0
false
0
0.06
0
0.12
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
8ed34f23fbe9ce6bd24aa540de5a5778018f11cc
916
py
Python
src/exploration.py
nikhilnrng/german-credit-risk
da535662f1531a6097696b8367e3d687155f0804
[ "MIT" ]
1
2020-12-07T10:32:08.000Z
2020-12-07T10:32:08.000Z
src/exploration.py
nikhilnrng/german-credit-risk
da535662f1531a6097696b8367e3d687155f0804
[ "MIT" ]
null
null
null
src/exploration.py
nikhilnrng/german-credit-risk
da535662f1531a6097696b8367e3d687155f0804
[ "MIT" ]
2
2019-05-25T18:35:31.000Z
2020-03-24T16:20:42.000Z
import pandas import preprocessing from defines import Types, Metadata def print_pivot_tables(data, metadata, numerical=False): for column in metadata.COLUMNS: if not numerical and column.TYPE is Types.NUMERICAL or column.CATEGORIES is None: continue df_column = pandas.DataFrame(data[c...
35.230769
89
0.70524
116
916
5.405172
0.396552
0.076555
0.051037
0.063796
0.414673
0.315789
0
0
0
0
0
0.001372
0.204148
916
25
90
36.64
0.858711
0
0
0.190476
0
0
0.0131
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.285714
0
0
0
null
0
0
0
0
0
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
8ed501444f9851627d8e7d9fa767659afb78f197
3,137
py
Python
src/python/search/search.py
adolphlwq/java-algorithms
43983a5583479e44e7a9b9d7fbeb495896e8f205
[ "Apache-2.0" ]
4
2017-07-07T04:38:41.000Z
2019-02-23T04:48:01.000Z
src/python/search/search.py
adolphlwq/java-algorithms
43983a5583479e44e7a9b9d7fbeb495896e8f205
[ "Apache-2.0" ]
13
2017-05-23T15:37:29.000Z
2020-02-24T14:12:28.000Z
src/python/search/search.py
adolphlwq/algorithms
43983a5583479e44e7a9b9d7fbeb495896e8f205
[ "Apache-2.0" ]
null
null
null
import pytest def sequence_search(alist, item): pos = 0 found = False while pos<len(alist) and not found: if item == alist[pos]: found = True break pos += 1 return found @pytest.mark.parametrize("test_input, item, expected", [ ([1,4,5,6,7], 1, True), ...
26.361345
66
0.59643
479
3,137
3.797495
0.110647
0.074217
0.107202
0.115448
0.788895
0.757559
0.683343
0.496976
0.396372
0.396372
0
0.059423
0.248964
3,137
118
67
26.584746
0.712649
0.007332
0
0.604167
0
0
0.048843
0
0
0
0
0
0.052083
1
0.104167
false
0
0.010417
0
0.239583
0.010417
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
8ed59c5d83f2b5cee099d13f26f97acdad78252a
5,352
py
Python
villaProductSdk/products.py
thanakijwanavit/villa-product-sdk
d30074daa08c4f9b0175df7578193bb802bd5dc3
[ "Apache-2.0" ]
2
2020-10-19T07:58:48.000Z
2020-10-29T02:30:07.000Z
villaProductSdk/products.py
thanakijwanavit/villa-product-sdk
d30074daa08c4f9b0175df7578193bb802bd5dc3
[ "Apache-2.0" ]
1
2020-10-22T11:10:14.000Z
2020-10-22T11:10:14.000Z
villaProductSdk/products.py
thanakijwanavit/villa-product-sdk
d30074daa08c4f9b0175df7578193bb802bd5dc3
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: product-sdk.ipynb (unless otherwise specified). __all__ = ['FunctionNames', 'ProductSdk', 'querySingleProduct', 'ProductsFromList', 'queryList'] # Cell from botocore.config import Config from s3bz.s3bz import S3, Requests from lambdasdk.lambdasdk import Lambda, InvocationTy...
34.980392
120
0.710949
587
5,352
6.449744
0.289608
0.040676
0.023244
0.033281
0.159007
0.091125
0.091125
0.03962
0
0
0
0.006904
0.188154
5,352
152
121
35.210526
0.864442
0.083333
0
0.184211
1
0
0.134101
0.05471
0
0
0
0
0
1
0.087719
false
0
0.105263
0.017544
0.377193
0.04386
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
8ed9836ae359b2eb9a17640f939c2e067533cf97
325
py
Python
temapi/api/loaders/loader.py
Leviosar/temapi
4db795d903f3840228e934aa53abecfd6db5f540
[ "MIT" ]
9
2020-02-01T12:55:41.000Z
2020-12-02T17:42:22.000Z
temapi/api/loaders/loader.py
Leviosar/temapi
4db795d903f3840228e934aa53abecfd6db5f540
[ "MIT" ]
11
2020-01-26T02:38:45.000Z
2020-01-26T21:07:31.000Z
temapi/api/loaders/loader.py
archipelagolabs/temtemapi
4db795d903f3840228e934aa53abecfd6db5f540
[ "MIT" ]
1
2020-01-26T16:43:51.000Z
2020-01-26T16:43:51.000Z
import json from temapi.commons.paths import OUTPUTS_DIR class Loader: file = None def __init__(self): assert self.file is not None _file = OUTPUTS_DIR / self.file with _file.open() as f: data = json.load(f) self.setup(data) def setup(self, data): ...
15.47619
44
0.590769
44
325
4.181818
0.590909
0.108696
0
0
0
0
0
0
0
0
0
0
0.329231
325
20
45
16.25
0.844037
0
0
0
0
0
0
0
0
0
0
0
0.083333
1
0.166667
false
0.083333
0.166667
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
1
0
0
0
0
0
1
8ed9875e81e8d637268c1cd0dee2cbf7907d4dd1
1,092
py
Python
virtual/lib/python3.6/site-packages/djreservation/migrations/0002_auto_20160903_0030.py
igihozo-stella/smart-parking
92c5dcd3eb08b8fccfddd34bb3291a240c563ec8
[ "MIT" ]
null
null
null
virtual/lib/python3.6/site-packages/djreservation/migrations/0002_auto_20160903_0030.py
igihozo-stella/smart-parking
92c5dcd3eb08b8fccfddd34bb3291a240c563ec8
[ "MIT" ]
null
null
null
virtual/lib/python3.6/site-packages/djreservation/migrations/0002_auto_20160903_0030.py
igihozo-stella/smart-parking
92c5dcd3eb08b8fccfddd34bb3291a240c563ec8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-03 06:30 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('djreservation', '0001_initial'), ] operations = [ ...
32.117647
164
0.589744
106
1,092
5.962264
0.660377
0.037975
0.044304
0.06962
0
0
0
0
0
0
0
0.033582
0.263736
1,092
33
165
33.090909
0.752488
0.06044
0
0.115385
1
0
0.150538
0.024438
0
0
0
0
0
1
0
false
0
0.115385
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8eddf6bf734a186f7506d4dcffbdd68420a33313
5,633
py
Python
bluebottle/bb_tasks/views.py
maykinmedia/bluebottle
355d4729662b5e9a03398efb4fe882e0f8cfa28d
[ "BSD-3-Clause" ]
null
null
null
bluebottle/bb_tasks/views.py
maykinmedia/bluebottle
355d4729662b5e9a03398efb4fe882e0f8cfa28d
[ "BSD-3-Clause" ]
null
null
null
bluebottle/bb_tasks/views.py
maykinmedia/bluebottle
355d4729662b5e9a03398efb4fe882e0f8cfa28d
[ "BSD-3-Clause" ]
null
null
null
from django.db.models.query_utils import Q from rest_framework import generics from rest_framework.permissions import IsAuthenticatedOrReadOnly from bluebottle.bluebottle_drf2.permissions import IsAuthorOrReadOnly from bluebottle.utils.serializers import DefaultSerializerMixin from bluebottle.bb_projects.permissions i...
33.730539
107
0.711699
613
5,633
6.293638
0.203915
0.025402
0.028512
0.039917
0.42846
0.384655
0.312079
0.223432
0.223432
0.205806
0
0.001783
0.203444
5,633
166
108
33.933735
0.858034
0.052015
0
0.512821
0
0
0.028679
0
0
0
0
0
0
1
0.068376
false
0
0.076923
0
0.589744
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
8ee090db50f40f1d36abd60d67541a1d01238621
664
py
Python
schema/Dimension1/Advection/equation_type.py
pylbm/pylbm_ui
0a7202ee6ee5424486ce6ade1d3b18d8139d4ffb
[ "BSD-3-Clause" ]
3
2021-05-17T20:38:32.000Z
2021-11-16T17:54:26.000Z
schema/Dimension1/Advection/equation_type.py
pylbm/pylbm_ui
0a7202ee6ee5424486ce6ade1d3b18d8139d4ffb
[ "BSD-3-Clause" ]
32
2021-04-29T13:27:13.000Z
2021-07-01T07:22:58.000Z
schema/Dimension1/Advection/equation_type.py
pylbm/pylbm_ui
0a7202ee6ee5424486ce6ade1d3b18d8139d4ffb
[ "BSD-3-Clause" ]
1
2021-04-30T06:40:21.000Z
2021-04-30T06:40:21.000Z
# Authors: # Loic Gouarin <loic.gouarin@polytechnique.edu> # Benjamin Graille <benjamin.graille@universite-paris-saclay.fr> # Thibaut Van Hoof <thibaut.vanhoof@cenaero.be> # # License: BSD 3 clause # from pydantic import BaseModel import sympy as sp from ...symbol import Symbol from ...equation_type import...
23.714286
68
0.668675
75
664
5.866667
0.666667
0.05
0
0
0
0
0
0
0
0
0
0.003906
0.228916
664
27
69
24.592593
0.855469
0.343373
0
0
0
0
0.173302
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8ee21dfaeee39762d5805013e154a52298242afc
499
py
Python
setup.py
nkzmsb/logtools
b091fe83eb0ed9010e85c865d23b47e093b12f4d
[ "MIT" ]
null
null
null
setup.py
nkzmsb/logtools
b091fe83eb0ed9010e85c865d23b47e093b12f4d
[ "MIT" ]
12
2022-01-04T12:32:48.000Z
2022-03-07T10:07:00.000Z
setup.py
nkzmsb/logtools
b091fe83eb0ed9010e85c865d23b47e093b12f4d
[ "MIT" ]
null
null
null
""" To make dist folder $ python setup.py sdist """ from setuptools import setup, find_packages setup( name = "logtools" , version = "0.0.12" , packages = find_packages() , zip_safe=False , author = "nkzmsb" , url = "https://github.com/nkzmsb/logtools" , description = "This is a wrapp...
22.681818
65
0.629259
61
499
5.016393
0.819672
0.078431
0
0
0
0
0
0
0
0
0
0.018182
0.228457
499
22
66
22.681818
0.776623
0.086172
0
0
0
0
0.256125
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
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
8ee799fdfce62783830341605039f1e6fa322831
301
py
Python
dd_invitation/admin.py
datadealer/dd_auth
5a183d64035059e88dd83c1ef5dfaf083faa362c
[ "Artistic-2.0" ]
null
null
null
dd_invitation/admin.py
datadealer/dd_auth
5a183d64035059e88dd83c1ef5dfaf083faa362c
[ "Artistic-2.0" ]
null
null
null
dd_invitation/admin.py
datadealer/dd_auth
5a183d64035059e88dd83c1ef5dfaf083faa362c
[ "Artistic-2.0" ]
1
2021-06-06T22:29:12.000Z
2021-06-06T22:29:12.000Z
# -*- coding: utf-8 -*- from dd_invitation import models from django.contrib import admin class TokenAdmin(admin.ModelAdmin): list_display = ('value', 'consumed', 'created') ordering = ('-created',) class Media: js = ('dd_invitation.js',) admin.site.register(models.Token, TokenAdmin)
20.066667
49
0.694352
36
301
5.722222
0.694444
0.116505
0
0
0
0
0
0
0
0
0
0.003922
0.152824
301
14
50
21.5
0.803922
0.069767
0
0
0
0
0.158273
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8eee82d2505a2e4ee34bd5c0db201a387b44f4cc
967
py
Python
util/undervolt/setup.py
haller218/MyDotFiles
81ab1604f97a7aeb38681a4f43ad5a2fed3677bf
[ "MIT" ]
2
2020-07-24T22:04:17.000Z
2020-08-29T23:46:44.000Z
util/undervolt/setup.py
haller33/MyDotFiles
81ab1604f97a7aeb38681a4f43ad5a2fed3677bf
[ "MIT" ]
null
null
null
util/undervolt/setup.py
haller33/MyDotFiles
81ab1604f97a7aeb38681a4f43ad5a2fed3677bf
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from os.path import dirname, join from setuptools import setup import doctest def test_suite(): return doctest.DocTestSuite('undervolt') setup( name='undervolt', version='0.2.9', description='Undervolt Intel CPUs under Linux', long_description=open( ...
26.135135
70
0.62151
104
967
5.663462
0.682692
0.04584
0.08489
0
0
0
0
0
0
0
0
0.009321
0.223371
967
36
71
26.861111
0.774967
0.043433
0
0.066667
0
0
0.416035
0.026002
0
0
0
0
0
1
0.033333
true
0
0.1
0.033333
0.166667
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
8eee92f6366b1b5c1894109454a732d12596d3d6
3,692
py
Python
tests/test_cli.py
jwilges/monocat
1f5debe505509f90f3cb948b8324b528614dd7b3
[ "BSD-3-Clause" ]
1
2020-08-16T00:04:40.000Z
2020-08-16T00:04:40.000Z
tests/test_cli.py
jwilges/monocat
1f5debe505509f90f3cb948b8324b528614dd7b3
[ "BSD-3-Clause" ]
5
2021-09-09T15:11:37.000Z
2021-09-09T15:11:39.000Z
tests/test_cli.py
jwilges/monocat
1f5debe505509f90f3cb948b8324b528614dd7b3
[ "BSD-3-Clause" ]
1
2020-06-17T12:01:01.000Z
2020-06-17T12:01:01.000Z
import logging import sys from contextlib import ExitStack from unittest import TestCase from unittest.mock import DEFAULT as DEFAULT_MOCK from unittest.mock import MagicMock, patch from monocat import cli class TestConfigureLogging(TestCase): # TODO: Reduce `_configure_logging` test complexity by decoupling pa...
42.436782
130
0.666306
388
3,692
6.028351
0.260309
0.087217
0.050876
0.06584
0.48183
0.441642
0.375374
0.375374
0.375374
0.375374
0
0.006198
0.257042
3,692
86
131
42.930233
0.846518
0.083153
0
0.358209
0
0
0.046746
0
0
0
0
0.011628
0.149254
1
0.044776
false
0
0.104478
0
0.179104
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
d9020898c1f7c0c64f68856e8924389487cbb16e
771
py
Python
python/toolkit.py
rjlasko/pst
1b2b4286524e12e13a3eacd0297272a3a2bfc4aa
[ "MIT" ]
null
null
null
python/toolkit.py
rjlasko/pst
1b2b4286524e12e13a3eacd0297272a3a2bfc4aa
[ "MIT" ]
null
null
null
python/toolkit.py
rjlasko/pst
1b2b4286524e12e13a3eacd0297272a3a2bfc4aa
[ "MIT" ]
null
null
null
#!/usr/bin/env python def wakeHost(hostname, nmap_file): from Hacks import nmap from wakeonlan import wol for mac in nmap.getMac(hostname, nmap_file): wol.send_magic_packet(mac) def getLocalIps(): d = getInterfaceIpDict() for (ifaceName, addresses) in d.iteritems(): for addy in addresses: if addy not ...
25.7
102
0.709468
106
771
5.103774
0.481132
0.066543
0.05915
0
0
0
0
0
0
0
0
0.010753
0.155642
771
29
103
26.586207
0.820277
0.02594
0
0
0
0
0.033333
0
0
0
0
0
0
0
null
null
0
0.15
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d906370ccd34943d6d1deac1511c603e61a66724
3,860
py
Python
src/xleapp/log/__init__.py
flamusdiu/xleapp
27379a0a617cb31f12fad63dabcefd8793116c67
[ "MIT" ]
10
2021-09-25T20:52:39.000Z
2022-02-24T15:29:09.000Z
src/xleapp/log/__init__.py
flamusdiu/xleapp
27379a0a617cb31f12fad63dabcefd8793116c67
[ "MIT" ]
1
2021-11-24T15:06:51.000Z
2021-11-24T15:10:16.000Z
src/xleapp/log/__init__.py
flamusdiu/xleapp
27379a0a617cb31f12fad63dabcefd8793116c67
[ "MIT" ]
null
null
null
import importlib.util import logging import logging.config import os import typing as t from pathlib import Path import yaml import xleapp.globals as g from ..helpers.utils import generate_program_header StrPath = t.Union[str, os.PathLike[str]] class ProcessFileFilter(logging.Filter): def filter(self, recor...
30.393701
90
0.621503
453
3,860
5.121413
0.249448
0.02069
0.036207
0.028017
0.417241
0.343534
0.222845
0.15
0.115517
0.115517
0
0.001746
0.25829
3,860
126
91
30.634921
0.808592
0
0
0.125
1
0
0.132124
0
0
0
0
0
0
1
0.09375
false
0
0.104167
0.03125
0.291667
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
d913b95c3ba94ba3e42c6be9063bb4fc4710f196
2,346
py
Python
secretupdater/secretupdater/config.py
matthope/k8s-secret-updater
cf2687079a25b4afdb19385457cf578dcea34431
[ "Apache-2.0" ]
5
2019-01-22T03:42:30.000Z
2021-04-10T02:32:58.000Z
secretupdater/secretupdater/config.py
matthope/k8s-secret-updater
cf2687079a25b4afdb19385457cf578dcea34431
[ "Apache-2.0" ]
2
2019-01-31T03:34:03.000Z
2021-12-13T11:29:48.000Z
secretupdater/secretupdater/config.py
matthope/k8s-secret-updater
cf2687079a25b4afdb19385457cf578dcea34431
[ "Apache-2.0" ]
2
2019-04-10T00:14:15.000Z
2021-08-19T01:34:07.000Z
# Copyright 2019 Nine Entertainment Co. # # 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 w...
31.28
104
0.693947
343
2,346
4.600583
0.408163
0.034221
0.070976
0.043093
0.140684
0.065273
0.065273
0
0
0
0
0.011834
0.207587
2,346
74
105
31.702703
0.837009
0.483376
0
0
0
0
0.183511
0.046099
0
0
0
0
0
1
0.16
false
0.04
0.04
0
0.84
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d914574a42c517f5d3aea0ddfc7d81cb3c43e9ec
253
py
Python
flask_demo/config.py
banzhuanl/full_stack
2b139a1602693a97f0eb8f8c6b9ab2fa74432156
[ "Apache-2.0" ]
null
null
null
flask_demo/config.py
banzhuanl/full_stack
2b139a1602693a97f0eb8f8c6b9ab2fa74432156
[ "Apache-2.0" ]
null
null
null
flask_demo/config.py
banzhuanl/full_stack
2b139a1602693a97f0eb8f8c6b9ab2fa74432156
[ "Apache-2.0" ]
null
null
null
import multiprocessing import tlib.conf as conf bind='0.0.0.0:%s' % conf.get("port") # workers=multiprocessing.cpu_count() * 2 + 1 # workers=multiprocessing.cpu_count() workers=10 backlog=2048 worker_class="gevent" debug=False daemon=False timeout=30
18.071429
45
0.762846
39
253
4.871795
0.666667
0.031579
0.031579
0.315789
0
0
0
0
0
0
0
0.061404
0.098814
253
13
46
19.461538
0.77193
0.312253
0
0
0
0
0.116959
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
d9265dcf81c41805c5f7a99bca81b0fb9dd04eb8
737
py
Python
hier/models.py
jtdub/prod2lab
054c922f731ad377b83714194ef806325f79336a
[ "MIT" ]
11
2019-11-20T02:05:30.000Z
2021-08-22T13:15:14.000Z
hier/models.py
jtdub/prod2lab
054c922f731ad377b83714194ef806325f79336a
[ "MIT" ]
12
2019-11-20T02:07:54.000Z
2019-12-11T14:57:59.000Z
hier/models.py
jtdub/prod2lab
054c922f731ad377b83714194ef806325f79336a
[ "MIT" ]
2
2019-11-20T02:05:33.000Z
2019-11-28T01:29:20.000Z
from django.db import models LINEAGE_CHOICES = ( ('startswith', 'startswith'), ('endswith', 'endswith'), ('contains', 'contains'), ('equals', 'equals') ) class Lineage(models.Model): parent = models.ForeignKey("self", blank=True, null=True, on_delete=models.CASCADE) key = models.CharField(ch...
32.043478
96
0.651289
93
737
5.053763
0.397849
0.095745
0.089362
0.121277
0.07234
0
0
0
0
0
0
0.014925
0.181818
737
22
97
33.5
0.764511
0
0
0
0
0.058824
0.238806
0.112619
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.529412
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
d9275745388d0b0a3a8bfd25bb03902760e66473
7,803
py
Python
tests/regressiontests/admin_validation/models.py
Smarsh/django
ffb738e0f56027e16564a79b709cbf44596c2335
[ "BSD-3-Clause" ]
19
2015-05-01T19:59:03.000Z
2021-12-09T08:03:16.000Z
tests/regressiontests/admin_validation/models.py
aprefontaine/TMScheduler
298a332532b9df1d3f6a80b1334630bc106d3b78
[ "BSD-3-Clause" ]
1
2018-01-03T15:26:49.000Z
2018-01-03T15:26:49.000Z
tests/regressiontests/admin_validation/models.py
aprefontaine/TMScheduler
298a332532b9df1d3f6a80b1334630bc106d3b78
[ "BSD-3-Clause" ]
30
2015-03-25T19:40:07.000Z
2021-05-28T22:59:26.000Z
""" Tests of ModelAdmin validation logic. """ from django.db import models class Album(models.Model): title = models.CharField(max_length=150) class Song(models.Model): title = models.CharField(max_length=150) album = models.ForeignKey(Album) original_release = models.DateField(editable=False) ...
29.445283
173
0.694605
856
7,803
6.26285
0.244159
0.050364
0.035441
0.042902
0.419511
0.361686
0.296586
0.211341
0.151091
0.127215
0
0.01154
0.167115
7,803
264
174
29.556818
0.813356
0.006536
0
0.413043
0
0.032609
0.86609
0.243673
0
0
0
0
0
1
0.01087
false
0.021739
0.021739
0.005435
0.152174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d9275eff44ff89f6a57123da99b8d5c5eef45359
3,284
py
Python
examples/firesat/manager/main_manager.py
code-lab-org/nost-tools
8b325eb8e7798b71e121de0d2bf6ffc09f7b0bc0
[ "BSD-3-Clause" ]
1
2022-01-28T15:20:58.000Z
2022-01-28T15:20:58.000Z
examples/firesat/manager/main_manager.py
code-lab-org/nost-tools
8b325eb8e7798b71e121de0d2bf6ffc09f7b0bc0
[ "BSD-3-Clause" ]
null
null
null
examples/firesat/manager/main_manager.py
code-lab-org/nost-tools
8b325eb8e7798b71e121de0d2bf6ffc09f7b0bc0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ *This application demonstrates a manager synchronizing a test case between disaggregated applications* This manager application leverages the manager template in the NOS-T tools library. The manager template is designed to publish information to specific topics, and any applicat...
51.3125
381
0.671133
398
3,284
5.429648
0.419598
0.01851
0.020824
0.019435
0.039796
0.025914
0
0
0
0
0
0.017442
0.266748
3,284
63
382
52.126984
0.879983
0.492692
0
0.057143
0
0
0.034675
0
0
0
0
0
0
1
0
false
0.057143
0.171429
0
0.171429
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
d93c452f540d6485a4e8b95f0fec1e2f27b16d74
753
py
Python
glyphrepository/comment/forms.py
BDAthlon/2017-Triple_Helix-1
3aa17be9a69af5d97e151a0be7ce7a1d8ad4f473
[ "BSD-3-Clause" ]
1
2018-04-15T14:33:58.000Z
2018-04-15T14:33:58.000Z
glyphrepository/comment/forms.py
BDAthlon/2017-Triple_Helix-1
3aa17be9a69af5d97e151a0be7ce7a1d8ad4f473
[ "BSD-3-Clause" ]
5
2017-08-16T16:40:32.000Z
2017-08-22T16:30:21.000Z
glyphrepository/comment/forms.py
BDAthlon/2017-Triple_Helix-1
3aa17be9a69af5d97e151a0be7ce7a1d8ad4f473
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Comment forms.""" from flask_wtf import Form from wtforms import StringField, SelectField, TextAreaField from wtforms.validators import DataRequired class CommentForm(Form): """Form to add a new glyph.""" name = StringField('Comment Title', validators=[DataRequired()]) options...
26.892857
68
0.63745
83
753
5.674699
0.566265
0.046709
0.084926
0
0
0
0
0
0
0
0
0.006634
0.199203
753
27
69
27.888889
0.774461
0.130146
0
0
0
0
0.045741
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.785714
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
d95084d6051673a22c55e7fcd3013695f902af6f
437
py
Python
settings/plugins_cfg.py
thitta/Someone.tw-Blog
b38669877f269006fcbeb5544ec3054acfef5128
[ "Apache-2.0" ]
3
2019-05-04T01:30:40.000Z
2019-10-15T03:21:29.000Z
settings/plugins_cfg.py
thitta/Someone.tw-Blog
b38669877f269006fcbeb5544ec3054acfef5128
[ "Apache-2.0" ]
8
2020-02-12T00:09:35.000Z
2022-02-10T08:40:10.000Z
settings/plugins_cfg.py
thitta/Someone.tw-Blog
b38669877f269006fcbeb5544ec3054acfef5128
[ "Apache-2.0" ]
null
null
null
class Author: enable = True name = "Someone" description = ( "台灣/台北/高雄人。現暫居美國,於伊利諾香檳大學(UIUC)就讀資管碩士。近年內的工作與興趣都是軟體工程。" ) image_url = "https://storage.googleapis.com/blog-someone-tw-static/post/author.png" url = "/post/1/about" class Facebook: enable = True app_id = "3441995197806...
19.863636
87
0.640732
51
437
5.431373
0.705882
0.144404
0.093863
0.108303
0
0
0
0
0
0
0
0.057229
0.240275
437
21
88
20.809524
0.777108
0
0
0.25
0
0.0625
0.384439
0.121281
0
0
0
0
0
1
0
false
0
0
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
d950aa076644a7239928f3f04ea00a67aa2acbf0
1,043
py
Python
python/model/webrequest_tor.py
fulanull/public_pentest
eab51332ffe579f5cf31d306d9bd2a13fe01ed0d
[ "MIT" ]
null
null
null
python/model/webrequest_tor.py
fulanull/public_pentest
eab51332ffe579f5cf31d306d9bd2a13fe01ed0d
[ "MIT" ]
null
null
null
python/model/webrequest_tor.py
fulanull/public_pentest
eab51332ffe579f5cf31d306d9bd2a13fe01ed0d
[ "MIT" ]
null
null
null
import requests import urllib3 adddress = "http://businesscorp.com.br" def webrequest( ): site = requests.get(adddress) site.content print (site.content) print ("Status code:", site.status_code) print ("Headers:", site.headers) print ("Server:", site.headers['Server']) site = requests.o...
24.255814
57
0.627996
125
1,043
5.224
0.28
0.101072
0.073507
0.064319
0.358346
0.294028
0.294028
0.294028
0.294028
0.294028
0
0.004673
0.179291
1,043
43
58
24.255814
0.758178
0.198466
0
0.086957
0
0
0.218335
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.173913
0.521739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d951c0cbb81063ca9c91afc7ee273fca6235590f
15,453
py
Python
src/api/comment.py
piwaniuk/critic
28ed20bb8032d7cc5aa23de98da51e619fd84164
[ "Apache-2.0" ]
216
2015-01-05T12:48:10.000Z
2022-03-08T00:12:23.000Z
src/api/comment.py
piwaniuk/critic
28ed20bb8032d7cc5aa23de98da51e619fd84164
[ "Apache-2.0" ]
55
2015-02-28T12:10:26.000Z
2020-11-18T17:45:16.000Z
src/api/comment.py
piwaniuk/critic
28ed20bb8032d7cc5aa23de98da51e619fd84164
[ "Apache-2.0" ]
34
2015-05-02T15:15:10.000Z
2020-06-15T19:20:37.000Z
# -*- mode: python; encoding: utf-8 -*- # # Copyright 2017 the Critic contributors, Opera Software ASA # # 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/LI...
36.020979
80
0.649583
2,043
15,453
4.832599
0.132159
0.035653
0.029778
0.014585
0.353489
0.267902
0.231338
0.187886
0.167831
0.135015
0
0.000894
0.276386
15,453
428
81
36.10514
0.882043
0.46237
0
0.336957
0
0
0.021103
0
0
0
0
0
0.130435
1
0.233696
false
0.021739
0.021739
0.027174
0.538043
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
d95b1747164effd126c842c9873588e37601ded6
4,401
py
Python
tools/misc/FixTestCasePlacement.py
v-weiguo/test262
a66c978c5f1faafebf90d1bb13774b7f0643e2c9
[ "BSD-3-Clause" ]
null
null
null
tools/misc/FixTestCasePlacement.py
v-weiguo/test262
a66c978c5f1faafebf90d1bb13774b7f0643e2c9
[ "BSD-3-Clause" ]
1
2020-07-28T04:46:04.000Z
2020-07-28T04:46:04.000Z
exhibitor/node_modules/6to5/vendor/test262/tools/misc/FixTestCasePlacement.py
scharissis/liberator
a5a65ec3254b638078470b72aadef928c09e8fdc
[ "MIT" ]
null
null
null
# Copyright (c) 2012 Ecma International. All rights reserved. # Ecma International makes this code available under the terms and conditions set # forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the # "Use Terms"). Any redistribution of this code must retain the above # copyright and this notice...
39.648649
118
0.547148
519
4,401
4.585742
0.354528
0.032773
0.018908
0.020168
0.10084
0.042017
0.018487
0
0
0
0
0.00812
0.24449
4,401
110
119
40.009091
0.707669
0.210407
0
0.025974
0
0.025974
0.167742
0.023167
0
0
0
0
0
0
null
null
0
0.051948
null
null
0.051948
0
0
0
null
0
0
0
0
0
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
d95d28ed8153e7a22c49ae9c8faab051f1c3f07a
2,308
py
Python
lib/_types.py
GaLaXy102/Vacationing
e476f1047deeca8f68897a497716319afab3e7f0
[ "MIT" ]
null
null
null
lib/_types.py
GaLaXy102/Vacationing
e476f1047deeca8f68897a497716319afab3e7f0
[ "MIT" ]
null
null
null
lib/_types.py
GaLaXy102/Vacationing
e476f1047deeca8f68897a497716319afab3e7f0
[ "MIT" ]
null
null
null
from enum import Enum, IntEnum from dataclasses import dataclass from typing import List, Dict, Tuple, Set class Importance(IntEnum): HIGH = 5 MHI = 4 MID = 3 MLO = 2 LOW = 1 NONE = 0 class Equipment(Enum): TREKKING_SHOES = "Trekking Shoes" CAMERA = "Camera" WATER_SHOES = "Water-...
22.407767
101
0.579289
267
2,308
4.838951
0.325843
0.065015
0.03096
0.037152
0.040248
0.040248
0.02322
0
0
0
0
0.007514
0.308059
2,308
102
102
22.627451
0.800877
0.016031
0
0.12987
0
0
0.065227
0
0
0
0
0
0
1
0.116883
false
0
0.090909
0.064935
0.688312
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
d9618cffcbe6a16a37c4558bb3fc6f6916594eba
7,713
py
Python
wikipedia_workload/de/uni-stuttgart/iaas/experiments_results/summaryFilePlotAnalysis.py
sgomezsaez/SCARF-Evaluation
a118039ddd62798ca93b78cb968d6ee8b15ec6f2
[ "Apache-2.0" ]
null
null
null
wikipedia_workload/de/uni-stuttgart/iaas/experiments_results/summaryFilePlotAnalysis.py
sgomezsaez/SCARF-Evaluation
a118039ddd62798ca93b78cb968d6ee8b15ec6f2
[ "Apache-2.0" ]
null
null
null
wikipedia_workload/de/uni-stuttgart/iaas/experiments_results/summaryFilePlotAnalysis.py
sgomezsaez/SCARF-Evaluation
a118039ddd62798ca93b78cb968d6ee8b15ec6f2
[ "Apache-2.0" ]
null
null
null
import pandas as pd import utils as ut import constants as cs import matplotlib.pyplot as plt import numpy as np import datetime import calendar import time import math # Create list of files to analyze def createFileList(results_path, scenario_list, scenario_file): fileList = [] for i in scenario_list: ...
38.758794
175
0.696227
1,129
7,713
4.360496
0.181577
0.032501
0.063376
0.057892
0.600244
0.550274
0.505992
0.424335
0.32013
0.270567
0
0.026651
0.207053
7,713
198
176
38.954545
0.778286
0.147802
0
0.239669
0
0
0.063196
0
0
0
0
0
0
0
null
null
0
0.07438
null
null
0.181818
0
0
0
null
0
0
0
0
0
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
d962c2acb32dee12eda10a25944b61b813dcd7d7
411
py
Python
market/migrations/0005_fiat_details_account_name.py
vuyelwadr/crypto_marketplace
cec2e61d5f7b409801b9f5751b75c12df0def750
[ "MIT" ]
null
null
null
market/migrations/0005_fiat_details_account_name.py
vuyelwadr/crypto_marketplace
cec2e61d5f7b409801b9f5751b75c12df0def750
[ "MIT" ]
null
null
null
market/migrations/0005_fiat_details_account_name.py
vuyelwadr/crypto_marketplace
cec2e61d5f7b409801b9f5751b75c12df0def750
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-30 10:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('market', '0004_auto_20211029_1856'), ] operations = [ migrations.AddField( model_name='fiat_details', name='account_...
21.631579
66
0.610706
46
411
5.304348
0.826087
0
0
0
0
0
0
0
0
0
0
0.110368
0.272506
411
18
67
22.833333
0.705686
0.109489
0
0
1
0
0.156593
0.063187
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
d965de8ac0f83fe2951978c50cee1e3f5ee3ffb3
391
py
Python
covid_19_review/format_data.py
jutzca/Corona-Virus-Meta-Analysis-2020
e8a44f354b0aa81bf42c12dfc95e4cd50fa21b29
[ "BSD-3-Clause" ]
1
2021-06-22T20:19:52.000Z
2021-06-22T20:19:52.000Z
covid_19_review/format_data.py
jutzca/Corona-Virus-Meta-Analysis-2020
e8a44f354b0aa81bf42c12dfc95e4cd50fa21b29
[ "BSD-3-Clause" ]
null
null
null
covid_19_review/format_data.py
jutzca/Corona-Virus-Meta-Analysis-2020
e8a44f354b0aa81bf42c12dfc95e4cd50fa21b29
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import pandas as pd df = pd.read_csv('../data/Corona_review_labor.csv') for col1 in df.columns: if col1.endswith('_Mean'): col2 = col1.replace('_Mean', '') + '_SD' means = df[col1] stds = df[col2] df[col1] = [f'{mean} (+- {std})' for mean, std in zip(means, st...
23
75
0.611253
60
391
3.816667
0.533333
0.061135
0.113537
0.165939
0.209607
0
0
0
0
0
0
0.022801
0.214834
391
16
76
24.4375
0.723127
0
0
0
0
0
0.253197
0.176471
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
d965e94766b0c827ffb3e210cf77299cf5db72e5
239
py
Python
sims/__init__.py
jsrehak/sims
b4aa956dcc1996334ba914763e97ebd346b5aefd
[ "BSD-3-Clause" ]
null
null
null
sims/__init__.py
jsrehak/sims
b4aa956dcc1996334ba914763e97ebd346b5aefd
[ "BSD-3-Clause" ]
null
null
null
sims/__init__.py
jsrehak/sims
b4aa956dcc1996334ba914763e97ebd346b5aefd
[ "BSD-3-Clause" ]
null
null
null
from sims.sims import * __version__ = '1.0.0' __name__ = 'sims' __author__ = 'Zan Peeters' __url__ = 'https://github.com/zanpeeters/sims' __license__ = 'BSD 3-Clause Clear' __copyright__ = '(c) 2018 Zan Peeters' __description__ = __doc__
23.9
46
0.732218
31
239
4.612903
0.806452
0.13986
0
0
0
0
0
0
0
0
0
0.038647
0.133891
239
9
47
26.555556
0.652174
0
0
0
0
0
0.384937
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
d9698cb3a0ac7d01d79e605cabcecf9b02767f8b
1,192
py
Python
BookExample/Chapter 08/python-shell-code_08.py
godong9/Spark-Study
a3faf6160164b4040f1a0db69d737757d56de4cd
[ "MIT" ]
55
2016-11-08T11:18:35.000Z
2022-02-19T20:45:56.000Z
BookExample/Chapter 08/python-shell-code_08.py
godong9/Spark-Study
a3faf6160164b4040f1a0db69d737757d56de4cd
[ "MIT" ]
null
null
null
BookExample/Chapter 08/python-shell-code_08.py
godong9/Spark-Study
a3faf6160164b4040f1a0db69d737757d56de4cd
[ "MIT" ]
66
2016-10-07T20:43:08.000Z
2022-03-08T07:48:58.000Z
''' This code is intended to be run in the IPython shell. You can enter each line in the shell and see the result immediately. The expected output in the Python console is presented as commented lines following the relevant code. ''' %pylab inline # Populating the interactive namespace from numpy and ...
29.8
91
0.661913
196
1,192
3.954082
0.586735
0.020645
0.023226
0.033548
0
0
0
0
0
0
0
0.036885
0.181208
1,192
40
92
29.8
0.757172
0.067114
0
0
0
0
0.122677
0.057001
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
d973628ab6ee40c22b58223cd9fd55fa2a4f5ffd
974
py
Python
GmailWrapper_JE/venv/Lib/site-packages/requests_oauthlib/compliance_fixes/instagram.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
GmailWrapper_JE/venv/Lib/site-packages/requests_oauthlib/compliance_fixes/instagram.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
GmailWrapper_JE/venv/Lib/site-packages/requests_oauthlib/compliance_fixes/instagram.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
try: from urlparse import urlparse, parse_qs except ImportError: from urllib.parse import urlparse, parse_qs from oauthlib.common import add_params_to_uri def instagram_compliance_fix(session): def _non_compliant_param_name(url, headers, data): # If the user has already specified the to...
36.074074
85
0.673511
128
974
4.90625
0.4375
0.08758
0.066879
0.066879
0
0
0
0
0
0
0
0
0.256674
974
26
86
37.461538
0.867403
0.240246
0
0.125
0
0
0.05791
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d98398329f8f48b015878503c75be7e53518e52e
1,390
py
Python
Python/sha256_file_readfile_chunk.py
Suraj-Rajesh/code
3d554c4d1d5cf4bd9d084b8034641c1f6c2a47c9
[ "MIT" ]
null
null
null
Python/sha256_file_readfile_chunk.py
Suraj-Rajesh/code
3d554c4d1d5cf4bd9d084b8034641c1f6c2a47c9
[ "MIT" ]
null
null
null
Python/sha256_file_readfile_chunk.py
Suraj-Rajesh/code
3d554c4d1d5cf4bd9d084b8034641c1f6c2a47c9
[ "MIT" ]
null
null
null
# # Pythonic way of iterating over a large file, by reading it chunk by chunk # from hashlib import sha256 from functools import partial # # KEY POINT # # To call 'iter' over a function, the function needs to take no args. # But, in our case, we need to iter over the function, f.read(block_size), # which takes one ...
21.060606
75
0.631655
201
1,390
4.278607
0.412935
0.104651
0.093023
0.130233
0.401163
0.306977
0.306977
0.306977
0.306977
0.306977
0
0.033557
0.24964
1,390
65
76
21.384615
0.790988
0.527338
0
0.5
0
0
0.03537
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
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
d9934b5b31dd1ab6a965f3c1c5def23d62e6d7e1
2,714
py
Python
iss.py
WesleySalesberry/q3-ISS_Location
fec7d8e3eda510ef3d9dadb671dae07faf3bbcfb
[ "MIT" ]
null
null
null
iss.py
WesleySalesberry/q3-ISS_Location
fec7d8e3eda510ef3d9dadb671dae07faf3bbcfb
[ "MIT" ]
null
null
null
iss.py
WesleySalesberry/q3-ISS_Location
fec7d8e3eda510ef3d9dadb671dae07faf3bbcfb
[ "MIT" ]
null
null
null
#!/usr/bin/env python __author__ = 'Wesley Salesberry' import turtle from datetime import datetime import requests import json # Cleans up the json so that it is readable def jprint(obj): text = json.dumps(obj, sort_keys=True, indent=4) print(text) # gets the number and name of each astronaught def get_as...
24.899083
78
0.653279
358
2,714
4.807263
0.354749
0.024404
0.03835
0.059268
0.156886
0.12086
0.107496
0.08774
0.08774
0.08774
0
0.017512
0.200442
2,714
108
79
25.12963
0.775576
0.104643
0
0.028169
0
0
0.165979
0.009083
0
0
0
0
0
1
0.112676
false
0.084507
0.056338
0
0.197183
0.056338
0
0
0
null
0
0
0
0
0
0
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
d994afeaeff45c52b68d6ecd1d3cab66dc88c2ae
6,414
py
Python
Cpy simplified/wiznet_simplify.py
ronpang/WIZnet-HK_Ron
d9df912ee9afe70c3aad17e0d703428afe2f2b4c
[ "Apache-2.0" ]
null
null
null
Cpy simplified/wiznet_simplify.py
ronpang/WIZnet-HK_Ron
d9df912ee9afe70c3aad17e0d703428afe2f2b4c
[ "Apache-2.0" ]
null
null
null
Cpy simplified/wiznet_simplify.py
ronpang/WIZnet-HK_Ron
d9df912ee9afe70c3aad17e0d703428afe2f2b4c
[ "Apache-2.0" ]
null
null
null
# SPDX-FileCopyrightText: 2010 WIZnet # # SPDX-License-Identifier: MIT import board import digitalio import time import busio from adafruit_wiznet5k.adafruit_wiznet5k import * #active WIZnet chip library import adafruit_wiznet5k.adafruit_wiznet5k_socket as socket #open socket from WIZnet library class netw...
44.234483
155
0.613814
844
6,414
4.552133
0.246446
0.024987
0.029151
0.020822
0.18558
0.160593
0.114003
0.084852
0.084852
0.048412
0
0.031475
0.306517
6,414
144
156
44.541667
0.832284
0
0
0.21875
0
0
0.031362
0
0
0
0.00617
0
0.020833
0
null
null
0
0.0625
null
null
0.03125
0
0
0
null
0
0
0
0
0
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
d9984a1eaa310ceffb4b0516dba9fa5c2cb26f67
3,116
py
Python
books/booksdatasourcetests.py
KristinA64/cs257
c6db0fbe7aeae4355b3f4ef77b722da0d21f233c
[ "MIT" ]
null
null
null
books/booksdatasourcetests.py
KristinA64/cs257
c6db0fbe7aeae4355b3f4ef77b722da0d21f233c
[ "MIT" ]
null
null
null
books/booksdatasourcetests.py
KristinA64/cs257
c6db0fbe7aeae4355b3f4ef77b722da0d21f233c
[ "MIT" ]
null
null
null
''' booksdatasourcetest.py Jeff Ondich, 24 September 2021 Jayti Arora, Kristin Albright, 11 October 2021 ''' import booksdatasource import unittest class BooksDataSourceTester(unittest.TestCase): def setUp(self): self.data_source = booksdatasource.BooksDataSource('books_medium.csv') def te...
31.795918
166
0.660783
357
3,116
5.627451
0.266106
0.132404
0.090592
0.067695
0.518666
0.503235
0.337979
0.1334
0
0
0
0.030961
0.201861
3,116
97
167
32.123711
0.77684
0.032413
0
0.109091
0
0
0.104202
0
0
0
0
0
0.381818
1
0.254545
false
0.018182
0.036364
0
0.309091
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
79429c3689c82a9d8ee2371c5c13aebcc653abca
147
py
Python
gitogether/__init__.py
nklapste/gitogether
9190ea4a1a32e62f985b3694d3a1b949f1fb819c
[ "MIT" ]
null
null
null
gitogether/__init__.py
nklapste/gitogether
9190ea4a1a32e62f985b3694d3a1b949f1fb819c
[ "MIT" ]
null
null
null
gitogether/__init__.py
nklapste/gitogether
9190ea4a1a32e62f985b3694d3a1b949f1fb819c
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """gitogether Scripts: + :mod:`.__main__` - argparse entry point Module: """ __version__ = (0, 0, 0)
12.25
42
0.598639
18
147
4.444444
0.888889
0.05
0
0
0
0
0
0
0
0
0
0.032787
0.170068
147
11
43
13.363636
0.622951
0.748299
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
794752ad248ac1e49d852f894df16c035754b838
294
py
Python
towers/monkey_village.py
56kyle/bloons_auto
419d55b51d1cddc49099593970adf1c67985b389
[ "MIT" ]
null
null
null
towers/monkey_village.py
56kyle/bloons_auto
419d55b51d1cddc49099593970adf1c67985b389
[ "MIT" ]
null
null
null
towers/monkey_village.py
56kyle/bloons_auto
419d55b51d1cddc49099593970adf1c67985b389
[ "MIT" ]
null
null
null
from tower import Tower from config import keybinds class MonkeyVillage(Tower): name = 'monkey_village' range = 215 width = 119 height = 103 size = 'xl' keybind = keybinds[name] aquatic = False def __init__(self, **kwargs): super().__init__(**kwargs)
18.375
34
0.636054
34
294
5.235294
0.764706
0
0
0
0
0
0
0
0
0
0
0.041667
0.265306
294
15
35
19.6
0.782407
0
0
0
0
0
0.054422
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.916667
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
795032bb0ecff99121df7274f4717f56ce7ae0ce
546
py
Python
leetcode/binary_tree_preorder_traversal.py
alexandru-dinu/competitive-programming
4515d221a649b3ab8bc012d01f38b9e4659e2e76
[ "MIT" ]
null
null
null
leetcode/binary_tree_preorder_traversal.py
alexandru-dinu/competitive-programming
4515d221a649b3ab8bc012d01f38b9e4659e2e76
[ "MIT" ]
6
2021-10-12T09:14:30.000Z
2021-10-16T19:29:08.000Z
leetcode/binary_tree_preorder_traversal.py
alexandru-dinu/competitive-programming
4515d221a649b3ab8bc012d01f38b9e4659e2e76
[ "MIT" ]
null
null
null
# https://leetcode.com/problems/binary-tree-preorder-traversal # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def preorderTraversal(self, root: Optional[T...
28.736842
71
0.626374
66
546
5.121212
0.5
0.059172
0.076923
0.177515
0.201183
0
0
0
0
0
0
0.002451
0.252747
546
18
72
30.333333
0.82598
0.43956
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
79624d1c639a3ad314464723a290c9f75da7a2e0
587
py
Python
tasks/serializers.py
rohitdwivedula/ultimate-task-manager
6ec2bc3ed0cadafb8ebe0015901d21d449d02920
[ "MIT" ]
null
null
null
tasks/serializers.py
rohitdwivedula/ultimate-task-manager
6ec2bc3ed0cadafb8ebe0015901d21d449d02920
[ "MIT" ]
8
2020-06-15T18:50:59.000Z
2021-09-22T19:11:12.000Z
tasks/serializers.py
rohitdwivedula/ultimate-task-manager
6ec2bc3ed0cadafb8ebe0015901d21d449d02920
[ "MIT" ]
null
null
null
from rest_framework import serializers from tasks.models import Label, Task, SubTask class LabelSerializer(serializers.ModelSerializer): class Meta: model = Label fields = ('uuid', 'name', 'description', 'created_at') class SubTaskSerializer(serializers.ModelSerializer): class Meta: m...
27.952381
62
0.686542
57
587
6.964912
0.508772
0.196474
0.105793
0.176322
0.201511
0
0
0
0
0
0
0
0.211244
587
21
63
27.952381
0.857451
0
0
0.1875
0
0
0.091837
0
0
0
0
0
0
1
0
false
0
0.125
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
796543711296bb20b3f8da4652f0c6abe79f2ea5
441
py
Python
open_astral_engine/effects/buff.py
I-dan-mi-I/Open-Astral-Engine
5f7c62521e852cde4ca0fb0668950ebb5b65dc2b
[ "MIT" ]
null
null
null
open_astral_engine/effects/buff.py
I-dan-mi-I/Open-Astral-Engine
5f7c62521e852cde4ca0fb0668950ebb5b65dc2b
[ "MIT" ]
null
null
null
open_astral_engine/effects/buff.py
I-dan-mi-I/Open-Astral-Engine
5f7c62521e852cde4ca0fb0668950ebb5b65dc2b
[ "MIT" ]
null
null
null
from .base_classes import EffectsDict effects = EffectsDict() @effects.append class BuffExample: __ename__ = "Название Бафф" __description__ = """Описание""" __fluttering__ = False __event__ = False __duration__ = 0 __eindex__ = -1 __type__ = "buff" __synergy__ = """Синергии""" ...
18.375
37
0.632653
43
441
5.627907
0.744186
0.14876
0
0
0
0
0
0
0
0
0
0.006192
0.267574
441
23
38
19.173913
0.743034
0
0
0
0
0
0.07483
0
0
0
0
0
0
1
0.117647
false
0.058824
0.058824
0
0.705882
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
79795b7289e3b3dff67cd5a4c9be0ff0f959ed6e
846
py
Python
jd/api/rest/SellerPromoSingleCreatePlummetedPromoRequest.py
jof2jc/jd
691bf22c68ed88fb3fb32bfb43dd6da75024994a
[ "MIT" ]
null
null
null
jd/api/rest/SellerPromoSingleCreatePlummetedPromoRequest.py
jof2jc/jd
691bf22c68ed88fb3fb32bfb43dd6da75024994a
[ "MIT" ]
null
null
null
jd/api/rest/SellerPromoSingleCreatePlummetedPromoRequest.py
jof2jc/jd
691bf22c68ed88fb3fb32bfb43dd6da75024994a
[ "MIT" ]
null
null
null
from jd.api.base import RestApi class SellerPromoSingleCreatePlummetedPromoRequest(RestApi): def __init__(self,domain,port=80): RestApi.__init__(self,domain, port) self.riskLevel = None self.promoChannel = None self.bindToken = None self.promoNum = None self.limitBuyType = None self.quota = None...
22.263158
60
0.712766
97
846
6.134021
0.453608
0.295798
0.047059
0.060504
0
0
0
0
0
0
0
0.002972
0.204492
846
37
61
22.864865
0.881129
0
0
0
0
0
0.057007
0.057007
0
0
0
0
0
1
0.068966
false
0
0.034483
0.034483
0.172414
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
797f69dc0b08f68ab44fb6dc29d14dc9c853d88f
275
py
Python
gsm/truc.py
BobcatSMS/Bobcat
044c390de949966810f2c74167b4d79b8431a886
[ "WTFPL" ]
null
null
null
gsm/truc.py
BobcatSMS/Bobcat
044c390de949966810f2c74167b4d79b8431a886
[ "WTFPL" ]
null
null
null
gsm/truc.py
BobcatSMS/Bobcat
044c390de949966810f2c74167b4d79b8431a886
[ "WTFPL" ]
1
2016-04-19T13:34:45.000Z
2016-04-19T13:34:45.000Z
text = "zeub" hexa = "" for i in text: hexa += str(hex(ord(i)))[2:].zfill(4) print(hexa) hexa = "002B00330033003600380039003000300034003000300030" #YOLOO hexa = [hexa[i:i+4] for i in range(0, len(hexa), 4)] text="" for i in hexa: text+=chr(int(i, 16)) print(text)
19.642857
64
0.64
45
275
3.911111
0.466667
0.068182
0.102273
0
0
0
0
0
0
0
0
0.234783
0.163636
275
14
65
19.642857
0.530435
0.018182
0
0
0
0
0.196296
0.177778
0
0
0
0
0
1
0
false
0
0
0
0
0.181818
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
7981ae680c524298eeeaec2bc8c1bdc01188d014
2,328
py
Python
otokon_archive/robotics/models.py
bilbeyt/otokon-archive
2a7e81c59f4489e94cc568661db56eeedcf63bb9
[ "MIT" ]
null
null
null
otokon_archive/robotics/models.py
bilbeyt/otokon-archive
2a7e81c59f4489e94cc568661db56eeedcf63bb9
[ "MIT" ]
null
null
null
otokon_archive/robotics/models.py
bilbeyt/otokon-archive
2a7e81c59f4489e94cc568661db56eeedcf63bb9
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db import models from ckeditor_uploader.fields import RichTextUploadingField from django.db.models.signals import pre_save from django.template.defaultfilters import slugify from django.dispatch import receiver class Season(models.Model): name = models.CharField...
29.468354
61
0.74957
276
2,328
6.123188
0.224638
0.047929
0.063905
0.06213
0.638462
0.626036
0.611834
0.611834
0.586982
0.586982
0
0.013623
0.148625
2,328
79
62
29.468354
0.839051
0
0
0.517241
0
0
0
0
0
0
0
0
0
1
0.172414
false
0
0.103448
0.086207
0.827586
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
798925517d561ff819d7176bdec9136a6f6fcaf9
3,320
py
Python
native/sta2dfft.py
julianmak/pydra
eee7dbd5fbb2c64ead9f732ed1475634606b035a
[ "MIT" ]
null
null
null
native/sta2dfft.py
julianmak/pydra
eee7dbd5fbb2c64ead9f732ed1475634606b035a
[ "MIT" ]
null
null
null
native/sta2dfft.py
julianmak/pydra
eee7dbd5fbb2c64ead9f732ed1475634606b035a
[ "MIT" ]
1
2020-10-09T09:54:52.000Z
2020-10-09T09:54:52.000Z
#/usr/bin/env python3 # # JM: 12 Apr 2018 # # the sta2dfft.f90 adapted for python # contains 2d spectral commands which uses stafft from stafft import * # This module performs FFTs in two directions on two dimensional arrays using # the stafft library module to actually compute the FFTs. If FFTs in one # direction ...
38.16092
80
0.632831
444
3,320
4.731982
0.38964
0.008567
0.029986
0.014279
0.193241
0.177059
0.148501
0.148501
0.111376
0.111376
0
0.010899
0.226205
3,320
86
81
38.604651
0.806929
0.696386
0
0.416667
0
0
0.411135
0.197002
0
0
0
0
0
1
0.041667
false
0
0.083333
0
0.166667
0.416667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
798e4ece70e0da7b973d0e06908a694c0669d736
869
py
Python
auto_ripper_daemon/main.py
puujam/auto_ripper_gui
bc181d15c7f1ee285b160ac2a71722b313c514f1
[ "MIT" ]
null
null
null
auto_ripper_daemon/main.py
puujam/auto_ripper_gui
bc181d15c7f1ee285b160ac2a71722b313c514f1
[ "MIT" ]
null
null
null
auto_ripper_daemon/main.py
puujam/auto_ripper_gui
bc181d15c7f1ee285b160ac2a71722b313c514f1
[ "MIT" ]
null
null
null
# Base modules import time import os import multiprocessing # Non-standard Installed modules from daemoniker import Daemonizer # Local modules import processing import communication pid_file_path = "pid_file" def main(): global processor processor = processing.Processor() server = communication...
21.725
69
0.651323
105
869
5.180952
0.504762
0.090074
0.080882
0.051471
0.066176
0
0
0
0
0
0
0
0.284235
869
40
70
21.725
0.874598
0.240506
0
0.086957
0
0
0.024502
0
0
0
0
0
0
1
0.043478
false
0.086957
0.26087
0
0.304348
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
798fadd02eeba69b476646bf36f8a9892607866d
189
py
Python
send_data.py
BiaChacon/weather-api
743e9552d1411be74594faf2b3c7ff7150b7b21c
[ "MIT" ]
null
null
null
send_data.py
BiaChacon/weather-api
743e9552d1411be74594faf2b3c7ff7150b7b21c
[ "MIT" ]
null
null
null
send_data.py
BiaChacon/weather-api
743e9552d1411be74594faf2b3c7ff7150b7b21c
[ "MIT" ]
null
null
null
import requests import time i = 0 while True: response = requests.get( "http://localhost:5000/send?idNode=ESP") print(i) i = i+1 print(response) time.sleep(60)
15.75
48
0.619048
27
189
4.333333
0.703704
0.034188
0
0
0
0
0
0
0
0
0
0.056738
0.253968
189
11
49
17.181818
0.77305
0
0
0
0
0
0.195767
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
79900f3db15534594b2074c86653a8ae7059a989
1,011
py
Python
setup.py
AdvancedThreatAnalytics/django-otp-sns
6fd8a5eb553cbd865ad0ac2155eee9bc7b792b7a
[ "BSD-2-Clause" ]
1
2020-03-23T09:49:45.000Z
2020-03-23T09:49:45.000Z
setup.py
vnagendra/django-otp-sns
6fd8a5eb553cbd865ad0ac2155eee9bc7b792b7a
[ "BSD-2-Clause" ]
1
2019-11-11T12:31:10.000Z
2019-11-12T12:10:39.000Z
setup.py
AdvancedThreatAnalytics/django-otp-sns
6fd8a5eb553cbd865ad0ac2155eee9bc7b792b7a
[ "BSD-2-Clause" ]
2
2019-11-11T11:47:18.000Z
2020-03-23T10:49:14.000Z
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-otp-sns', version='0.1.1', description="A django-otp plugin that delivers tokens via Amazon SNS.", long_description=open('README.rst').read(), author='Critical Start', author_email='pavel.yershov@criticalsta...
30.636364
75
0.607319
112
1,011
5.428571
0.678571
0.059211
0.039474
0
0
0
0
0
0
0
0
0.027027
0.231454
1,011
32
76
31.59375
0.75547
0.019782
0
0.071429
0
0
0.536364
0.054545
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
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
7996cc20bf78c96b1f8fe9b7d0d947a419d26d26
585
py
Python
calamari_ocr/test/test_data_pagexml.py
jacektl/calamari
980477aefe4e56f7fc373119c1b38649798d8686
[ "Apache-2.0" ]
922
2018-07-06T05:18:22.000Z
2022-03-22T12:38:32.000Z
calamari_ocr/test/test_data_pagexml.py
jacektl/calamari
980477aefe4e56f7fc373119c1b38649798d8686
[ "Apache-2.0" ]
267
2018-07-14T22:10:41.000Z
2022-03-28T18:38:43.000Z
calamari_ocr/test/test_data_pagexml.py
jacektl/calamari
980477aefe4e56f7fc373119c1b38649798d8686
[ "Apache-2.0" ]
227
2018-07-06T07:42:16.000Z
2022-02-27T05:29:59.000Z
import os import unittest this_dir = os.path.dirname(os.path.realpath(__file__)) class TestPageXML(unittest.TestCase): def run_dataset_viewer(self, add_args): from calamari_ocr.scripts.dataset_viewer import main main(add_args + ["--no_plot"]) def test_cut_modes(self): images = os.pa...
34.411765
102
0.664957
79
585
4.64557
0.506329
0.141689
0.13079
0.108992
0.299728
0.299728
0.299728
0.299728
0.299728
0.299728
0
0
0.157265
585
16
103
36.5625
0.744422
0
0
0
0
0
0.205128
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7999485ec51d2f7bb8175588fb675f238d46f4ae
1,452
py
Python
tests/test_cdn.py
datalogics-cgreen/server_core
4459314cd2cdb92b7cabeed8fd1125d8c5cb7941
[ "Apache-2.0" ]
null
null
null
tests/test_cdn.py
datalogics-cgreen/server_core
4459314cd2cdb92b7cabeed8fd1125d8c5cb7941
[ "Apache-2.0" ]
1
2017-05-12T22:14:16.000Z
2017-05-12T22:14:16.000Z
tests/test_cdn.py
datalogics-cgreen/server_core
4459314cd2cdb92b7cabeed8fd1125d8c5cb7941
[ "Apache-2.0" ]
2
2017-05-12T21:27:53.000Z
2021-08-04T12:27:25.000Z
# encoding: utf-8 from nose.tools import ( eq_, set_trace, ) from util.cdn import cdnify class TestCDN(object): def unchanged(self, url, cdns): self.ceq(url, url, cdns) def ceq(self, expect, url, cdns): eq_(expect, cdnify(url, cdns)) def test_no_cdns(self): url = "http:...
29.632653
69
0.552342
199
1,452
3.959799
0.356784
0.045685
0.083756
0.053299
0.303299
0.280457
0.280457
0.209391
0.142132
0.142132
0
0.005854
0.294077
1,452
48
70
30.25
0.762927
0.195592
0
0.129032
0
0
0.240517
0
0
0
0
0
0
1
0.225806
false
0
0.064516
0
0.322581
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
799f02b13d26f742b0afea123e7c0c48233aa0a0
724
py
Python
scripts/injection_studies/create_population.py
MoritzThomasHuebner/memestr
acac0af27272304000007ead581333bf91ea4dbc
[ "MIT" ]
null
null
null
scripts/injection_studies/create_population.py
MoritzThomasHuebner/memestr
acac0af27272304000007ead581333bf91ea4dbc
[ "MIT" ]
null
null
null
scripts/injection_studies/create_population.py
MoritzThomasHuebner/memestr
acac0af27272304000007ead581333bf91ea4dbc
[ "MIT" ]
null
null
null
import json import warnings from pathlib import Path import sys from bilby.core.utils import logger from bilby.core.result import BilbyJsonEncoder from memestr.injection import create_injection warnings.filterwarnings("ignore") if len(sys.argv) > 1: minimum_id = int(sys.argv[1]) maximum_id = int(sys.argv[2]...
26.814815
76
0.720994
108
724
4.712963
0.527778
0.041257
0.051081
0.047151
0
0
0
0
0
0
0
0.014851
0.162983
724
26
77
27.846154
0.825083
0
0
0
0
0
0.131215
0.098066
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
79a02b0fca8125acb8727a4f6b22e909b538ce44
4,751
py
Python
gallery/models.py
hzdg/feincms_gallery
60f7df8c3fbb03c5019ff95df07dbc39c25a1601
[ "BSD-3-Clause" ]
null
null
null
gallery/models.py
hzdg/feincms_gallery
60f7df8c3fbb03c5019ff95df07dbc39c25a1601
[ "BSD-3-Clause" ]
null
null
null
gallery/models.py
hzdg/feincms_gallery
60f7df8c3fbb03c5019ff95df07dbc39c25a1601
[ "BSD-3-Clause" ]
null
null
null
#coding=utf-8 from django import forms from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.core.paginator import Paginator, InvalidPage, EmptyPage from django.db import models from django.http import HttpResponse from django.template.context import RequestContext from dj...
35.192593
79
0.609556
506
4,751
5.547431
0.296443
0.032063
0.026719
0.02565
0
0
0
0
0
0
0
0.00447
0.293622
4,751
134
80
35.455224
0.831943
0.009051
0
0.096154
0
0
0.09116
0.01785
0
0
0
0
0
0
null
null
0
0.105769
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
79ae9a40818aa2d1c5227bb932c10ebe1099d2e8
2,214
py
Python
3 Facebook scraping.py
SajawalChopra/Facebook-Scraping
089dfd84a7caa255de75b3733deed5a1e3f10543
[ "MIT" ]
1
2021-07-02T20:52:31.000Z
2021-07-02T20:52:31.000Z
3 Facebook scraping.py
SajawalChopra/Facebook-Scraping
089dfd84a7caa255de75b3733deed5a1e3f10543
[ "MIT" ]
null
null
null
3 Facebook scraping.py
SajawalChopra/Facebook-Scraping
089dfd84a7caa255de75b3733deed5a1e3f10543
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup as Bs4 from time import sleep from selenium import webdriver from selenium.webdriver.common.keys import Keys import pandas as pd def scroll(driver, timeout): scroll_pause_time = timeout # Get scroll height last_height = driver.execute_script("return document.body.sc...
28.384615
276
0.719512
293
2,214
5.245734
0.450512
0.023422
0.037085
0.042941
0.208198
0.111906
0.071568
0.071568
0
0
0
0.035912
0.182475
2,214
77
277
28.753247
0.81326
0.077236
0
0.06383
0
0.021277
0.269388
0.056122
0
0
0
0
0
1
0.021277
false
0.106383
0.106383
0
0.12766
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
79b1ad5c60eb1d0ecc8ff6daaddcc644f4d0ba0f
2,183
py
Python
meiduo_mall/meiduo_mall/apps/users/views.py
yy12950906/meiduo_project
e49f9a784cfb2f35ff0cae6b947ce2eb178d7c29
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/users/views.py
yy12950906/meiduo_project
e49f9a784cfb2f35ff0cae6b947ce2eb178d7c29
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/users/views.py
yy12950906/meiduo_project
e49f9a784cfb2f35ff0cae6b947ce2eb178d7c29
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.views import View from django import http import re from .models import User from django.contrib.auth import login from meiduo_mall.utils.response_code import RETCODE class RegisterView(View): """用户注册""" def get(self, request): return render...
29.106667
92
0.628035
244
2,183
5.561475
0.377049
0.046426
0.053058
0.037583
0.145173
0.116433
0.116433
0.116433
0.116433
0.116433
0
0.016344
0.243243
2,183
75
93
29.106667
0.805085
0.070087
0
0.097561
0
0
0.09905
0.010505
0
0
0
0
0
1
0.097561
false
0.146341
0.170732
0.02439
0.560976
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
79b206ba2bda4a51ecdd46bef66e1c848691ce3b
1,377
py
Python
lists/longestMatchingParentheses.py
santoshmano/pybricks
bcb3ab80417e8e896280062494ce6c046329b7e8
[ "MIT" ]
null
null
null
lists/longestMatchingParentheses.py
santoshmano/pybricks
bcb3ab80417e8e896280062494ce6c046329b7e8
[ "MIT" ]
null
null
null
lists/longestMatchingParentheses.py
santoshmano/pybricks
bcb3ab80417e8e896280062494ce6c046329b7e8
[ "MIT" ]
null
null
null
class ArrayStack: def __init__(self): self.data = [] def isEmpty(self): return len(self.data) == 0 def push(self, val): return self.data.append(val) def pop(self): if self.isEmpty(): raise Empty("Stack underflow!") return self.data.pop() def ...
21.857143
56
0.480755
136
1,377
4.838235
0.272059
0.138298
0.079027
0.176292
0.407295
0.407295
0.407295
0.31003
0.176292
0.176292
0
0.008178
0.378359
1,377
62
57
22.209677
0.760514
0.10748
0
0.295455
0
0
0.04906
0
0
0
0
0
0
1
0.136364
false
0
0
0.045455
0.318182
0.113636
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
79c030f9209dc922a8506680c3d71338df012fb2
436
py
Python
tagger.py
medric49/NLTK_POS_tagging
401971dec4316985f81a2cb2191379d7f0104116
[ "MIT" ]
null
null
null
tagger.py
medric49/NLTK_POS_tagging
401971dec4316985f81a2cb2191379d7f0104116
[ "MIT" ]
null
null
null
tagger.py
medric49/NLTK_POS_tagging
401971dec4316985f81a2cb2191379d7f0104116
[ "MIT" ]
null
null
null
from nltk.tag import TaggerI import spacy.tokens class SpacyTagger(TaggerI): def __init__(self): super(SpacyTagger, self).__init__() self.nlp = spacy.load('en_core_web_sm', disable=['parser', 'ner']) def tag(self, tokens): doc = spacy.tokens.doc.Doc(self.nlp.vocab, words=tokens) ...
22.947368
74
0.623853
61
436
4.245902
0.52459
0.081081
0
0
0
0
0
0
0
0
0
0
0.243119
436
18
75
24.222222
0.784848
0
0
0
0
0
0.052752
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
79c0a3e2f36669a55f29c5710d3a1429b5bf727b
1,885
py
Python
exercises/exercise4_test_driven_development/tests/test_dna/test_dna.py
stijn-arends/programming2
b5ae59afdee80843ee8f893367beb1b794c45437
[ "MIT" ]
null
null
null
exercises/exercise4_test_driven_development/tests/test_dna/test_dna.py
stijn-arends/programming2
b5ae59afdee80843ee8f893367beb1b794c45437
[ "MIT" ]
null
null
null
exercises/exercise4_test_driven_development/tests/test_dna/test_dna.py
stijn-arends/programming2
b5ae59afdee80843ee8f893367beb1b794c45437
[ "MIT" ]
null
null
null
# from pytest import capfd import pytest from bin.dna import DNA from bin.dna import NotDNAError def test_init(): dna = DNA('ACTGACTGACTA') assert all(c in "ACGT" for c in dna.seq), 'DNA sequence does not exists only of ACTG' assert len(dna.seq) % 3 ==0, 'DNA sequence is not a multiple of three' def ...
22.710843
100
0.645093
267
1,885
4.404494
0.329588
0.061224
0.107143
0.040816
0.052721
0.052721
0
0
0
0
0
0.006203
0.230239
1,885
82
101
22.987805
0.804273
0.033952
0
0.195652
0
0
0.236784
0
0
0
0
0
0.152174
1
0.23913
false
0
0.065217
0
0.304348
0.065217
0
0
0
null
0
0
0
0
0
0
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
79ca0b37b9a48d6ddae9d9700364c147f1488354
2,717
py
Python
plugins/fakeaction.py
FastmoreCrak/Fantasmas
1ce7a55b956ccf84660ceb91fdc39fedd0384c2a
[ "CC0-1.0" ]
1
2021-10-04T08:02:29.000Z
2021-10-04T08:02:29.000Z
plugins/fakeaction.py
FastmoreCrak/Fantasmas
1ce7a55b956ccf84660ceb91fdc39fedd0384c2a
[ "CC0-1.0" ]
null
null
null
plugins/fakeaction.py
FastmoreCrak/Fantasmas
1ce7a55b956ccf84660ceb91fdc39fedd0384c2a
[ "CC0-1.0" ]
null
null
null
# Ultroid - UserBot # Copyright (C) 2020 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in # <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>. """ ✘ Commands Available - • `{i}ftyping <time/in secs>` `Show Fake ...
27.17
72
0.565329
372
2,717
4.067204
0.247312
0.010575
0.10575
0.037013
0.716457
0.658956
0.631196
0.561798
0.561798
0.561798
0
0.010995
0.297019
2,717
99
73
27.444444
0.778534
0.20979
0
0.787879
0
0
0.168229
0.022962
0
0
0
0
0
1
0
false
0
0.015152
0
0.075758
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
79cc1c3df6706b1c798c332d2a91bcea3ae91c3c
565
py
Python
whatthefood/train/sgd.py
lychanl/WhatTheFood
94b6eec2c306e7e55b19395cde207d6e6beec7fe
[ "MIT" ]
null
null
null
whatthefood/train/sgd.py
lychanl/WhatTheFood
94b6eec2c306e7e55b19395cde207d6e6beec7fe
[ "MIT" ]
null
null
null
whatthefood/train/sgd.py
lychanl/WhatTheFood
94b6eec2c306e7e55b19395cde207d6e6beec7fe
[ "MIT" ]
null
null
null
from whatthefood.train import Minimizer class SGD(Minimizer): def __init__(self, model, loss, lr=0.1, regularization=None): super(SGD, self).__init__(model, loss, regularization) self.lr = lr def _run(self, grads, lr_decay=1., *args, **kwargs): for v, g in zip(self.vars, grads): ...
29.736842
65
0.59823
83
565
3.891566
0.481928
0.055728
0.049536
0.043344
0.142415
0.142415
0.142415
0.142415
0
0
0
0.007194
0.261947
565
18
66
31.388889
0.767386
0
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.461538
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
79cf99d1fc1e21ceaecfd1eaade790f686337633
177
py
Python
static/test.py
phongchara/thesis
250e06fde3085d2aad50b32123cceb606a38e726
[ "MIT" ]
null
null
null
static/test.py
phongchara/thesis
250e06fde3085d2aad50b32123cceb606a38e726
[ "MIT" ]
null
null
null
static/test.py
phongchara/thesis
250e06fde3085d2aad50b32123cceb606a38e726
[ "MIT" ]
null
null
null
import cv2 import numpy as np cap = cv2.VideoCapture(0) while True: ret, frame = cap.read() cv2.imshow('frame', frame) cap.release() cv2.destroyAllWindows()
16.090909
31
0.655367
24
177
4.833333
0.666667
0.137931
0
0
0
0
0
0
0
0
0
0.036232
0.220339
177
11
32
16.090909
0.804348
0
0
0
0
0
0.029762
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
79d4894aebfcbab878602eae1f62eeb71a5eb0fe
613
py
Python
robustbench/model_zoo/models.py
flymin/robustbench
c51d44e5c9f9425d0a2146dbfd5c54d86ea11609
[ "Apache-2.0" ]
2
2021-06-21T18:57:53.000Z
2021-06-21T19:14:08.000Z
robustbench/model_zoo/models.py
flymin/robustbench
c51d44e5c9f9425d0a2146dbfd5c54d86ea11609
[ "Apache-2.0" ]
null
null
null
robustbench/model_zoo/models.py
flymin/robustbench
c51d44e5c9f9425d0a2146dbfd5c54d86ea11609
[ "Apache-2.0" ]
null
null
null
from collections import OrderedDict from typing import Any, Dict, OrderedDict as OrderedDictType from robustbench.model_zoo.cifar10 import cifar_10_models from robustbench.model_zoo.cifar100 import cifar_100_models from robustbench.model_zoo.enums import BenchmarkDataset, ThreatModel ModelsDict = OrderedDictType[str,...
38.3125
69
0.841762
68
613
7.382353
0.382353
0.089641
0.119522
0.13745
0.115538
0
0
0
0
0
0
0.036036
0.094617
613
15
70
40.866667
0.868468
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
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
79d6e83ac128c66234e3ec305f364613fe7a0ee6
763
py
Python
701-800/771.JewelsAndStones.py
Arrackisarookie/leetcode
2e98c81d50a6b4ae0373908fbf9fe2e2c89f43a3
[ "MIT" ]
null
null
null
701-800/771.JewelsAndStones.py
Arrackisarookie/leetcode
2e98c81d50a6b4ae0373908fbf9fe2e2c89f43a3
[ "MIT" ]
null
null
null
701-800/771.JewelsAndStones.py
Arrackisarookie/leetcode
2e98c81d50a6b4ae0373908fbf9fe2e2c89f43a3
[ "MIT" ]
null
null
null
# # 771. Jewels and Stone # # You're given strings J representing the types of stones that are jewels, and # S representing the stones you have. # # Each character in S is a type of stone you have. You want to know how many of # the stones you have are also jewels. # # The letters in J are guaranteed distinct, and all ...
29.346154
79
0.669725
133
763
3.842105
0.466165
0.029354
0.046967
0.062622
0
0
0
0
0
0
0
0.006861
0.235911
763
25
80
30.52
0.86964
0.6173
0
0
0
0
0.032609
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.714286
0.142857
0
0
0
null
0
0
0
0
0
0
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
79dcc934efbfd242b006bddf2a0ee81a25fcdfe9
1,713
py
Python
mdssdk/parsers/vsan/show_vsan.py
akshatha-s13/mdssdk
615a5528d0af1201e8fe8f305c62b258e5433990
[ "Apache-2.0" ]
4
2020-12-13T20:02:43.000Z
2022-02-27T23:36:58.000Z
mdssdk/parsers/vsan/show_vsan.py
akshatha-s13/mdssdk
615a5528d0af1201e8fe8f305c62b258e5433990
[ "Apache-2.0" ]
13
2020-09-23T07:30:15.000Z
2022-03-30T01:12:25.000Z
mdssdk/parsers/vsan/show_vsan.py
akshatha-s13/mdssdk
615a5528d0af1201e8fe8f305c62b258e5433990
[ "Apache-2.0" ]
12
2020-05-11T09:33:21.000Z
2022-03-18T11:11:28.000Z
import logging import re log = logging.getLogger(__name__) class ShowVsan(object): def __init__(self, outlines, vsan_id=None): self._all_vsans = [] self._group_dict = {} self.vsan_id = vsan_id self.process_all(outlines) def process_all(self, outlines): outlines = "".j...
30.052632
238
0.618214
228
1,713
4.390351
0.254386
0.080919
0.116883
0.095904
0.13986
0.13986
0.061938
0
0
0
0
0
0.24927
1,713
56
239
30.589286
0.778383
0
0
0.155556
0
0.022222
0.159953
0.122592
0
0
0
0
0
1
0.2
false
0
0.044444
0.133333
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
79e0555ac90dbd19cbb8156f73d726f47b43fd38
1,364
py
Python
sdk/python/pulumi_aws/elasticbeanstalk/get_solution_stack.py
lemonade-hq/pulumi-aws
9ee22c65c7bad42d38b16879ccd56526d856a01a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/elasticbeanstalk/get_solution_stack.py
lemonade-hq/pulumi-aws
9ee22c65c7bad42d38b16879ccd56526d856a01a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/elasticbeanstalk/get_solution_stack.py
lemonade-hq/pulumi-aws
9ee22c65c7bad42d38b16879ccd56526d856a01a
[ "ECL-2.0", "Apache-2.0" ]
1
2021-03-08T15:05:29.000Z
2021-03-08T15:05:29.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from .. import utilities, tables class GetSolutionStackResult: """...
32.47619
120
0.662757
173
1,364
4.936416
0.508671
0.045667
0.037471
0.058548
0.105386
0
0
0
0
0
0
0.000964
0.239736
1,364
41
121
33.268293
0.822565
0.169355
0
0
1
0
0.164586
0.061294
0
0
0
0
0
1
0.047619
false
0
0.238095
0
0.380952
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
8daeeb998fcc047c3c8326c959dd97aac46bcc95
3,291
py
Python
bsddb3/bsddb3-6.2.6/make3.py
mpwillson/spambayes3
b51d7bb9016066234ce88dad65faabed85f63d78
[ "PSF-2.0" ]
1
2020-03-21T15:17:22.000Z
2020-03-21T15:17:22.000Z
bsddb3/bsddb3-6.2.6/make3.py
mpwillson/spambayes3
b51d7bb9016066234ce88dad65faabed85f63d78
[ "PSF-2.0" ]
1
2022-02-22T22:23:55.000Z
2022-02-22T22:23:55.000Z
bsddb3/bsddb3-6.2.6/make3.py
mpwillson/spambayes3
b51d7bb9016066234ce88dad65faabed85f63d78
[ "PSF-2.0" ]
null
null
null
#!/usr/bin/env python """ Copyright (c) 2008-2018, Jesus Cea Avion <jcea@jcea.es> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notic...
32.264706
82
0.681252
465
3,291
4.707527
0.419355
0.052079
0.044769
0.031978
0.155322
0.110553
0.087711
0.062129
0.062129
0.062129
0
0.015379
0.229414
3,291
101
83
32.584158
0.847792
0.006077
0
0.358491
0
0
0.08234
0.014196
0
0
0
0
0
0
null
null
0.037736
0.037736
null
null
0.056604
0
0
0
null
0
0
0
0
0
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
8dafeef9b1315dcf1a385861d1a2b35927ccbd53
514
py
Python
tests/test_tree.py
Schoyen/arbitrary-woodland
927fe791bcbde733ea283b15de7921a3115b8578
[ "MIT" ]
null
null
null
tests/test_tree.py
Schoyen/arbitrary-woodland
927fe791bcbde733ea283b15de7921a3115b8578
[ "MIT" ]
null
null
null
tests/test_tree.py
Schoyen/arbitrary-woodland
927fe791bcbde733ea283b15de7921a3115b8578
[ "MIT" ]
null
null
null
import numpy as np import sklearn.datasets as skd import sklearn.model_selection as skms import sklearn.metrics as skm import sklearn.tree as skt from arbitrary_woodland.tree import DecisionTree def test_decision_tree(): X, y = skd.load_breast_cancer(return_X_y=True) X_train, X_test, y_train, y_test = skms....
22.347826
61
0.731518
85
514
4.188235
0.470588
0.146067
0
0
0
0
0
0
0
0
0
0.009569
0.18677
514
22
62
23.363636
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.4
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8db181ed61c9a3ae541faef9c9148c3595083f7c
2,600
py
Python
TestModel/migrations/0001_initial.py
WenGeYJ/Mail-Master-in-School
040585569e5fe0bea9b6f93d6e4f5ed14e78da62
[ "MIT" ]
null
null
null
TestModel/migrations/0001_initial.py
WenGeYJ/Mail-Master-in-School
040585569e5fe0bea9b6f93d6e4f5ed14e78da62
[ "MIT" ]
null
null
null
TestModel/migrations/0001_initial.py
WenGeYJ/Mail-Master-in-School
040585569e5fe0bea9b6f93d6e4f5ed14e78da62
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11a1 on 2017-05-11 08:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='allBoo...
37.142857
114
0.536538
238
2,600
5.680672
0.294118
0.076923
0.093195
0.12426
0.614645
0.595414
0.570266
0.570266
0.570266
0.570266
0
0.019263
0.321154
2,600
69
115
37.681159
0.746742
0.026154
0
0.622951
1
0
0.069988
0
0
0
0
0
0
1
0
false
0
0.032787
0
0.098361
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
8db22bddd1a7d85992cce67a92f1c7d93bd40095
6,564
py
Python
world_creator/objects.py
lilSpeedwagon/zaWRka-project
e40c6520183c802e9c61faabeaa079bced4e8b00
[ "MIT" ]
1
2019-12-11T17:18:42.000Z
2019-12-11T17:18:42.000Z
world_creator/objects.py
lilSpeedwagon/zaWRka-project
e40c6520183c802e9c61faabeaa079bced4e8b00
[ "MIT" ]
null
null
null
world_creator/objects.py
lilSpeedwagon/zaWRka-project
e40c6520183c802e9c61faabeaa079bced4e8b00
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from data_structures import * import copy import logging as log import converter import math as m from enum import Enum import os APP_VERSION = 1.0 class SignsTypes(Enum): STOP = "stop sign" ONLY_FORWARD = "only forward sign" ONLY_RIGHT = "only right sign" ONLY_LEFT = "only left...
29.044248
110
0.593693
849
6,564
4.391048
0.162544
0.033798
0.026288
0.022532
0.392167
0.263949
0.222908
0.141631
0.107833
0.107833
0
0.014139
0.288848
6,564
226
111
29.044248
0.78449
0.003199
0
0.271186
0
0
0.07764
0.013449
0
0
0
0
0
1
0.135593
false
0.011299
0.056497
0.039548
0.559322
0.00565
0
0
0
null
0
0
0
0
0
0
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
8db2a42c81a6be04ff526dac7fe7fcca39a3412e
1,968
py
Python
theano/tensor/io.py
jsalvatier/Theano-1
457bae18a0d3284841b9bcae5ce4ceee22f33132
[ "BSD-3-Clause" ]
null
null
null
theano/tensor/io.py
jsalvatier/Theano-1
457bae18a0d3284841b9bcae5ce4ceee22f33132
[ "BSD-3-Clause" ]
null
null
null
theano/tensor/io.py
jsalvatier/Theano-1
457bae18a0d3284841b9bcae5ce4ceee22f33132
[ "BSD-3-Clause" ]
null
null
null
import numpy import theano from theano import gof from theano.gof import Apply, Constant, Generic, Op, Type, Value, Variable from basic import tensor ########################## # Disk Access ########################## class LoadFromDisk(Op): """ An operation to load an array from disk See Also loa...
30.276923
75
0.582317
242
1,968
4.61157
0.338843
0.057348
0.078853
0.09319
0.053763
0
0
0
0
0
0
0.012371
0.260671
1,968
64
76
30.75
0.754639
0.188516
0
0
0
0
0.084918
0
0
0
0
0
0
1
0.212121
false
0
0.151515
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8db47e9494f2e9c57b0c17311001fa23717393a2
1,982
py
Python
file_path/proc_dup_files.py
daineseh/python_code
1c2c45a62329fbc87ed9a486b3382b112948ba73
[ "MIT" ]
null
null
null
file_path/proc_dup_files.py
daineseh/python_code
1c2c45a62329fbc87ed9a486b3382b112948ba73
[ "MIT" ]
null
null
null
file_path/proc_dup_files.py
daineseh/python_code
1c2c45a62329fbc87ed9a486b3382b112948ba73
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 import os import sys def convert_bytes(bytes): bytes = float(bytes) if bytes >= 1099511627776: terabytes = bytes / 1099511627776 size = '%.2fT' % terabytes elif bytes >= 1073741824: gigabytes = bytes / 1073741824 size = '%.2fG' % gigabytes elif by...
27.915493
101
0.553481
240
1,982
4.408333
0.370833
0.073724
0.022684
0
0
0
0
0
0
0
0
0.061644
0.337033
1,982
70
102
28.314286
0.743531
0.010595
0
0.035088
0
0
0.094946
0
0
0
0
0
0
0
null
null
0
0.035088
null
null
0.140351
0
0
0
null
0
0
0
0
0
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
8db775c0cc59f4c1a94f8619d4ddee6b13af06fa
2,459
py
Python
nomad/api/allocations.py
shinespb/python-nomad
d5dd6f89dc82a1a2ccc33858ace1257a1df0d29c
[ "MIT" ]
null
null
null
nomad/api/allocations.py
shinespb/python-nomad
d5dd6f89dc82a1a2ccc33858ace1257a1df0d29c
[ "MIT" ]
null
null
null
nomad/api/allocations.py
shinespb/python-nomad
d5dd6f89dc82a1a2ccc33858ace1257a1df0d29c
[ "MIT" ]
null
null
null
from nomad.api.base import Requester class Allocations(Requester): """ The allocations endpoint is used to query the status of allocations. By default, the agent's local region is used; another region can be specified using the ?region= query parameter. https://www.nomadproject.io/docs/http/allo...
34.633803
103
0.620171
270
2,459
5.481481
0.348148
0.027027
0.048649
0.044595
0.577703
0.577703
0.529054
0.442568
0.415541
0.415541
0
0.001141
0.287109
2,459
70
104
35.128571
0.843126
0.460756
0
0.222222
0
0
0.052336
0
0
0
0
0
0
1
0.296296
false
0
0.037037
0.074074
0.62963
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
8dba6df40271f493e222a50eeabc7aca8d53155d
752
py
Python
rvpvp/isa/rvv/vwmxxxx_vv.py
ultrafive/riscv-pvp
843e38422c3d545352b955764927d5e7847e5453
[ "Unlicense" ]
5
2021-05-10T09:57:00.000Z
2021-10-05T14:39:20.000Z
rvpvp/isa/rvv/vwmxxxx_vv.py
ultrafive/riscv-pvp
843e38422c3d545352b955764927d5e7847e5453
[ "Unlicense" ]
null
null
null
rvpvp/isa/rvv/vwmxxxx_vv.py
ultrafive/riscv-pvp
843e38422c3d545352b955764927d5e7847e5453
[ "Unlicense" ]
1
2021-05-14T20:24:11.000Z
2021-05-14T20:24:11.000Z
from ...isa.inst import * import numpy as np class Vwmacc_vv(Inst): name = 'vwmacc.vv' # vwmacc.vv vd, vs1, vs2, vm def golden(self): if self['vl']==0: return self['ori'] result = self['ori'].copy() maskflag = 1 if 'mask' in self else 0 vstart = self['v...
32.695652
109
0.56516
106
752
3.962264
0.40566
0.095238
0.071429
0.052381
0
0
0
0
0
0
0
0.018282
0.272606
752
22
110
34.181818
0.749543
0.034574
0
0
0
0
0.103878
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.611111
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
8dbd46d1ac00ab6d41e5be8b24f85f3d76541844
423
py
Python
support/cross/aio/atexit.py
pmp-p/python-wasm-plus
ccd34cf46fc00924e256a0ad1d8cf5061b9520ac
[ "MIT" ]
3
2022-03-11T22:02:39.000Z
2022-03-16T08:04:33.000Z
support/cross/aio/atexit.py
pmp-p/python-wasm-plus
ccd34cf46fc00924e256a0ad1d8cf5061b9520ac
[ "MIT" ]
null
null
null
support/cross/aio/atexit.py
pmp-p/python-wasm-plus
ccd34cf46fc00924e256a0ad1d8cf5061b9520ac
[ "MIT" ]
null
null
null
plan = [] def register(func, *args, **kwargs): global plan plan.append( (func,arg,kwargs,) ) def unregister(func): global plan todel = [] for i,elem in enumerate(plan) if elem[0] is func: todel.append(i) while len(todel): plan.pop( todel.pop() ) def exiting(): ...
16.92
50
0.593381
57
423
4.403509
0.54386
0.079681
0
0
0
0
0
0
0
0
0
0.003195
0.260047
423
24
51
17.625
0.798722
0.040189
0
0.125
0
0
0.039604
0
0
0
0
0
0
0
null
null
0
0.0625
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
8dc0455393c09deb7fec8d707856281119f0d40f
8,631
py
Python
amla/common/schedule.py
tremblerz/amla
6ab000d6e7703cc5591451e324c9882408943816
[ "Apache-2.0" ]
118
2018-06-25T05:01:22.000Z
2022-03-07T05:46:08.000Z
amla/common/schedule.py
tremblerz/amla
6ab000d6e7703cc5591451e324c9882408943816
[ "Apache-2.0" ]
22
2018-06-12T21:22:37.000Z
2020-04-08T07:59:49.000Z
amla/common/schedule.py
tremblerz/amla
6ab000d6e7703cc5591451e324c9882408943816
[ "Apache-2.0" ]
21
2018-07-20T22:01:30.000Z
2021-05-30T08:57:50.000Z
#Copyright 2018 Cisco Systems All Rights Reserved # #Licensed under the Apache License, Version 2.0 (the "License"); #you may not use this file except in compliance with the License. #You may obtain a copy of the License at # #http://www.apache.org/licenses/LICENSE-2.0 # #Unless required by applicable law or agreed to ...
34.25
103
0.526011
998
8,631
4.46493
0.233467
0.051167
0.031418
0.034111
0.319345
0.267729
0.225539
0.218582
0.144524
0.134874
0
0.008956
0.366122
8,631
251
104
34.386454
0.80552
0.202062
0
0.440476
0
0
0.121249
0.003301
0
0
0
0.023904
0
1
0.10119
false
0.011905
0.02381
0.011905
0.267857
0.005952
0
0
0
null
0
0
0
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
8dc3441aa92017412470a1748b4a4a47bc237d9a
1,783
py
Python
Exercise 7: More Printing.py
EarthBeLost/Learning.Python
a3d5e662082d5cb17502ca87a748e1940a4b6a6c
[ "CC-BY-4.0" ]
null
null
null
Exercise 7: More Printing.py
EarthBeLost/Learning.Python
a3d5e662082d5cb17502ca87a748e1940a4b6a6c
[ "CC-BY-4.0" ]
null
null
null
Exercise 7: More Printing.py
EarthBeLost/Learning.Python
a3d5e662082d5cb17502ca87a748e1940a4b6a6c
[ "CC-BY-4.0" ]
null
null
null
print "Mary had a little lamb." # Prints "Mary had a little lamb." print "It's fleece was white as %s." % 'snow' # Prints "It's fleece was white as snow." print "And everywhere that Mary went." # Prints "And everywhere that Mary went." print "." * 10 # What'd that do? I'm sure it prints full stop 10 times. end1 = "C" ...
55.71875
194
0.693775
317
1,783
3.902208
0.435331
0.077607
0.155214
0.054972
0.127728
0.058205
0
0
0
0
0
0.041903
0.21032
1,783
31
195
57.516129
0.836648
0.76332
0
0
0
0
0.248731
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8dc368a1afac94cd8daf10a5a2d880bfab5d58ef
1,173
py
Python
engine/manual_flappy_engine.py
OscarGarciaPeinado/flappy_bird
ceb254392e37ccc5ab24d888712f3dde8add1315
[ "Apache-2.0" ]
5
2019-01-27T00:05:03.000Z
2022-01-24T11:55:51.000Z
engine/manual_flappy_engine.py
JoanMartin/flappy_bird
ceb254392e37ccc5ab24d888712f3dde8add1315
[ "Apache-2.0" ]
null
null
null
engine/manual_flappy_engine.py
JoanMartin/flappy_bird
ceb254392e37ccc5ab24d888712f3dde8add1315
[ "Apache-2.0" ]
1
2019-01-27T19:39:31.000Z
2019-01-27T19:39:31.000Z
# coding: utf-8 import pygame from engine.flappy_engine import FlappyEngine from entities.bird import Bird class ManualFlappyEngine(FlappyEngine): def __init__(self): self.birds = [Bird(name="Manual")] def get_birds(self): return self.birds def on_update(self, next_pipe_x, next_pipe_y)...
27.27907
102
0.617221
158
1,173
4.436709
0.405063
0.089872
0.064194
0.092725
0.148359
0.148359
0
0
0
0
0
0.001199
0.289003
1,173
42
103
27.928571
0.839329
0.011083
0
0.233333
0
0
0.005181
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.033333
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8dc66bddfa66fadc0b4d769c980f9102881c7113
1,436
py
Python
pikos/monitors/api.py
enthought/pikos
21255028103a85a0b2761e6b54c74f9d066c2c4a
[ "PSF-2.0", "BSD-3-Clause" ]
3
2015-01-31T18:08:45.000Z
2017-05-20T18:19:59.000Z
pikos/monitors/api.py
enthought/pikos
21255028103a85a0b2761e6b54c74f9d066c2c4a
[ "PSF-2.0", "BSD-3-Clause" ]
7
2015-01-21T11:20:08.000Z
2015-03-20T14:20:46.000Z
pikos/monitors/api.py
enthought/pikos
21255028103a85a0b2761e6b54c74f9d066c2c4a
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- #---------------------------------------------------------------------------- # Package: Pikos toolkit # File: monitors/api.py # License: LICENSE.TXT # # Copyright (c) 2014, Enthought, Inc. # All rights reserved. #---------------------------------------------------------------------------- ...
34.190476
79
0.696379
128
1,436
7.640625
0.382813
0.092025
0.156442
0.09816
0.122699
0
0
0
0
0
0
0.004019
0.133705
1,436
41
80
35.02439
0.782154
0.20961
0
0
0
0
0.208
0.084444
0
0
0
0
0
1
0
false
0
0.466667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8dc9d4a24fcd5779bfcc0dce2b7599c6899d8ef2
399
py
Python
day01/part2.py
BaderSZ/adventofcode2020
dae705fd093bbd176021118f0898947cb4b02f84
[ "MIT" ]
null
null
null
day01/part2.py
BaderSZ/adventofcode2020
dae705fd093bbd176021118f0898947cb4b02f84
[ "MIT" ]
null
null
null
day01/part2.py
BaderSZ/adventofcode2020
dae705fd093bbd176021118f0898947cb4b02f84
[ "MIT" ]
null
null
null
arr = [] b = False with open("input","r") as f: for i in f.readlines(): arr = arr + [int(i.rstrip("\n"))] length = len(arr) for i in range(0,length): for j in range(0,length): for k in range(0,length): if (arr[i]+arr[j]+arr[k] == 2020): print("Result = ", arr...
19
56
0.448622
62
399
2.887097
0.451613
0.117318
0.134078
0.234637
0.324022
0.134078
0
0
0
0
0
0.027668
0.365915
399
20
57
19.95
0.679842
0
0
0
0
0
0.042714
0
0
0
0
0
0
1
0
false
0
0
0
0
0.071429
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
8dcdc79d68031ef6f71e208e23bc970ea8a6a950
1,102
py
Python
example_contests/fk_2014_beta/problems/rod/data/secret/gen.py
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
6
2016-03-28T13:57:54.000Z
2017-07-25T06:04:05.000Z
example_contests/fk_2014_beta/problems/rod/data/secret/gen.py
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
25
2015-01-23T18:02:35.000Z
2015-03-17T01:40:27.000Z
example_contests/fk_2014_beta/problems/rod/data/secret/gen.py
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
3
2016-06-28T00:48:38.000Z
2017-05-25T05:29:25.000Z
import random ts = [ (-1,-1), (-1,-1), (-1,-1), (3,3), (3,3), (3,3), (4,1), (4,5), (4,20), (10,100), (10,100), (10,100), (20,100), (26,100), (26,100), (26,100), (10, 'rev'), (26, 'rev'), ] for i, (n,k) in enumerate(ts): if n == -1: c...
19.678571
97
0.354809
184
1,102
2.119565
0.25
0.035897
0.030769
0.030769
0.217949
0.051282
0.051282
0
0
0
0
0.139183
0.400181
1,102
55
98
20.036364
0.450832
0
0
0.325581
0
0
0.030909
0
0
0
0
0
0
1
0
false
0
0.023256
0
0.023256
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
8dd05a0d491e4b246ec3227dbeb967e20dd2dced
832
py
Python
sponge-integration-tests/examples/core/unordered_rules_instances.py
mnpas/sponge
7190f23ae888bbef49d0fbb85157444d6ea48bcd
[ "Apache-2.0" ]
9
2017-12-16T21:48:57.000Z
2022-01-06T12:22:24.000Z
sponge-integration-tests/examples/core/unordered_rules_instances.py
mnpas/sponge
7190f23ae888bbef49d0fbb85157444d6ea48bcd
[ "Apache-2.0" ]
3
2020-12-18T11:56:46.000Z
2022-03-31T18:37:10.000Z
sponge-integration-tests/examples/core/unordered_rules_instances.py
mnpas/sponge
7190f23ae888bbef49d0fbb85157444d6ea48bcd
[ "Apache-2.0" ]
2
2019-12-29T16:08:32.000Z
2020-06-15T14:05:34.000Z
""" Sponge Knowledge Base Unordered rules - instances """ from java.util.concurrent.atomic import AtomicInteger def onInit(): # Variables for assertions only sponge.setVariable("countAB", AtomicInteger(0)) sponge.setVariable("countA", AtomicInteger(0)) sponge.setVariable("max", 100) clas...
27.733333
61
0.640625
92
832
5.793478
0.5
0.095685
0.075047
0.116323
0.326454
0.326454
0.326454
0.187617
0
0
0
0.010638
0.209135
832
29
62
28.689655
0.799392
0.096154
0
0.210526
0
0
0.061538
0
0
0
0
0
0
1
0.315789
false
0
0.052632
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8dd1df6bb043d055d6d1497f985228a20b9ff564
385
py
Python
callback/leehyunseob.py
SanghunOh/share_5GUAV_2021
bdcc272da4bce5e3e56ff7842bff7fb0c802f083
[ "Apache-2.0" ]
null
null
null
callback/leehyunseob.py
SanghunOh/share_5GUAV_2021
bdcc272da4bce5e3e56ff7842bff7fb0c802f083
[ "Apache-2.0" ]
null
null
null
callback/leehyunseob.py
SanghunOh/share_5GUAV_2021
bdcc272da4bce5e3e56ff7842bff7fb0c802f083
[ "Apache-2.0" ]
3
2021-11-30T07:49:08.000Z
2021-12-01T08:57:48.000Z
def func(): pass return #file length check if __name__ == '__main__': try: f = open('./testfile.txt', 'r') #1.file read -> open('') length = len(f.read()) #2.length 설정 f.close() #...
29.615385
67
0.392208
38
385
3.763158
0.763158
0
0
0
0
0
0
0
0
0
0
0.015306
0.490909
385
13
68
29.615385
0.714286
0.150649
0
0.181818
0
0
0.071207
0
0
0
0
0
0
1
0.090909
false
0.181818
0
0
0.181818
0.090909
0
0
0
null
0
0
0
0
0
0
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
8dd3201b418fde039b2259ab6bd540e0133bf398
16,162
py
Python
tkp.py
Robin-mlh/TKPass
69608ca0b4c2f7204b3ef86a34f76f57e4737d53
[ "MIT" ]
1
2022-01-30T17:55:45.000Z
2022-01-30T17:55:45.000Z
tkp.py
Robin-mlh/TKPass
69608ca0b4c2f7204b3ef86a34f76f57e4737d53
[ "MIT" ]
null
null
null
tkp.py
Robin-mlh/TKPass
69608ca0b4c2f7204b3ef86a34f76f57e4737d53
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """ Password toolkit. """ import sys import os import getpass import configparser from secrets import randbelow # To use random cryptography. import argparse # Module for the command line system. import pyperclip # To copy and get the clipboard. from modules import functions # Functions. from...
53.694352
144
0.579879
1,769
16,162
5.176371
0.174675
0.031233
0.03713
0.012449
0.366168
0.310582
0.260566
0.208038
0.171017
0.140221
0
0.004255
0.316483
16,162
300
145
53.873333
0.824658
0.060141
0
0.241667
0
0.008333
0.310279
0.036332
0
0
0
0
0
1
0.058333
false
0.3
0.041667
0.004167
0.120833
0.029167
0
0
0
null
0
0
0
0
0
0
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
8dd9c8d87549231b3a8663f8575c7fcb907b1f2e
1,328
py
Python
ControlSystem.py
towhidabsar/architecture-tactics
d1d22454558cb763c93c5cfa83ede60967d1fadd
[ "MIT" ]
null
null
null
ControlSystem.py
towhidabsar/architecture-tactics
d1d22454558cb763c93c5cfa83ede60967d1fadd
[ "MIT" ]
null
null
null
ControlSystem.py
towhidabsar/architecture-tactics
d1d22454558cb763c93c5cfa83ede60967d1fadd
[ "MIT" ]
null
null
null
import Reactor import multiprocessing import sys from Queue import Empty import random import os import time ''' Class representing the control system for the nuclear reactor. ''' class ControlSystem: def __init__(self, reactor, receiver): self.reactor = reactor self.receiver = receiver def ru...
26.039216
73
0.527861
130
1,328
5.330769
0.461538
0.047619
0.02886
0.034632
0
0
0
0
0
0
0
0.025926
0.39006
1,328
50
74
26.56
0.82963
0.024849
0
0.15
0
0
0.02457
0
0
0
0
0
0
0
null
null
0.025
0.175
null
null
0.025
0
0
0
null
0
0
0
0
0
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
8de55b924a4d6799ef0e5f21ddd9b96c893d36b5
711
py
Python
area/migrations/0004_alter_area_admin_alter_area_hoodimage.py
Lenus254/NeighbourHood-App
78e9ab01b67a410098b3173d8b392cfeede9731f
[ "MIT" ]
null
null
null
area/migrations/0004_alter_area_admin_alter_area_hoodimage.py
Lenus254/NeighbourHood-App
78e9ab01b67a410098b3173d8b392cfeede9731f
[ "MIT" ]
null
null
null
area/migrations/0004_alter_area_admin_alter_area_hoodimage.py
Lenus254/NeighbourHood-App
78e9ab01b67a410098b3173d8b392cfeede9731f
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-22 07:01 import cloudinary.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('area', '0003_alter_profile_profile_pic'), ] operations = [ migrations.AlterField( ...
27.346154
133
0.634318
79
711
5.594937
0.56962
0.054299
0.063348
0.099548
0.167421
0.167421
0
0
0
0
0
0.041122
0.247539
711
25
134
28.44
0.785047
0.063291
0
0.315789
1
0
0.10994
0.045181
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8df154a304faf7dff813111bb6142c7bc3b7ec80
3,134
py
Python
cs15211/MirrorReflection.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/MirrorReflection.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/MirrorReflection.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/mirror-reflection/' # Time: O(logP) # Space: O(1) # # Description: Leetcode # 858. Mirror Reflection # # There is a special square room with mirrors on each of the four walls. # Except for the southwest corner, there are receptors on each of the remaining corners, numbered 0...
27.734513
110
0.544352
486
3,134
3.483539
0.3107
0.012404
0.016539
0.025989
0.19492
0.122859
0.074424
0
0
0
0
0.03268
0.316528
3,134
112
111
27.982143
0.757703
0.238354
0
0.119403
0
0.089552
0.814384
0
0
0
0
0
0.014925
1
0.029851
false
0
0.029851
0
0.164179
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8df39b9e1c345522795d8812fdbf9cbdb7a3b688
3,188
py
Python
symjax/data/dclde.py
RandallBalestriero/TheanoXLA
d8778c2eb3254b478cef4f45d934bf921e695619
[ "Apache-2.0" ]
67
2020-02-21T21:26:46.000Z
2020-06-14T14:25:42.000Z
symjax/data/dclde.py
RandallBalestriero/TheanoXLA
d8778c2eb3254b478cef4f45d934bf921e695619
[ "Apache-2.0" ]
8
2020-02-22T14:45:56.000Z
2020-06-07T16:56:47.000Z
symjax/data/dclde.py
RandallBalestriero/TheanoXLA
d8778c2eb3254b478cef4f45d934bf921e695619
[ "Apache-2.0" ]
4
2020-02-21T17:34:46.000Z
2020-05-30T08:30:14.000Z
import io import os import time import urllib.request import zipfile import numpy as np from scipy.io.wavfile import read as wav_read from tqdm import tqdm class dclde: """ The high-frequency dataset consists of marked encounters with echolocation clicks of species commonly found along the US Atlantic Co...
37.505882
86
0.643664
407
3,188
4.995086
0.506143
0.026562
0.019675
0.025578
0.032464
0.032464
0
0
0
0
0
0.011188
0.271016
3,188
84
87
37.952381
0.863597
0.434442
0
0
0
0
0.157583
0.0391
0
0
0
0.011905
0
1
0.05
false
0
0.2
0
0.3
0.075
0
0
0
null
0
0
0
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
5c01a7f85b64aae6b1ef0f541d5bbcd7aadbba53
515
py
Python
okr/migrations/0045_auto_20210114_1812.py
wdr-data/wdr-okr
71c9e6e8d3521b1bb67d30310a93584389de2127
[ "MIT" ]
2
2021-07-28T08:46:13.000Z
2022-01-19T17:05:48.000Z
okr/migrations/0045_auto_20210114_1812.py
wdr-data/wdr-okr
71c9e6e8d3521b1bb67d30310a93584389de2127
[ "MIT" ]
3
2020-11-10T23:34:17.000Z
2021-03-31T16:19:21.000Z
okr/migrations/0045_auto_20210114_1812.py
wdr-data/wdr-okr
71c9e6e8d3521b1bb67d30310a93584389de2127
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-14 17:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("okr", "0044_auto_20210113_2354"), ] operations = [ migrations.AlterField( model_name="sophoraid", name="sophora_id",...
22.391304
53
0.549515
52
515
5.307692
0.788462
0.097826
0.094203
0
0
0
0
0
0
0
0
0.092262
0.347573
515
22
54
23.409091
0.729167
0.087379
0
0.125
1
0
0.168803
0.049145
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
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
5c0322e9fcbd97a7c07e00e86b4ec9ca80702fb7
5,006
py
Python
kivy-greeter.py
jegger/kivy-lightdm-greeter
f2c673bf690583262c6b9339f453236ec45de3b8
[ "MIT" ]
4
2015-06-30T10:13:46.000Z
2021-05-12T04:25:45.000Z
kivy-greeter.py
jegger/kivy-lightdm-greeter
f2c673bf690583262c6b9339f453236ec45de3b8
[ "MIT" ]
null
null
null
kivy-greeter.py
jegger/kivy-lightdm-greeter
f2c673bf690583262c6b9339f453236ec45de3b8
[ "MIT" ]
null
null
null
import sys from kivy.app import App from kivy.support import install_gobject_iteration from kivy.lang import Builder from kivy.core.window import Window from kivy.config import Config from gi.repository import LightDM kv = ''' FloatLayout: username_spinner: username_spinner session_spinner: session_spinner ...
34.287671
101
0.543548
514
5,006
5.085603
0.307393
0.027544
0.03749
0.025249
0.193573
0.149197
0.11821
0.11821
0.11821
0.11821
0
0.025224
0.374351
5,006
145
102
34.524138
0.809387
0.018777
0
0.258065
0
0
0.52313
0.043
0
0
0
0
0
1
0.040323
false
0.064516
0.056452
0.008065
0.112903
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
5c035e049d462ac6fb13d8a19589b38e798b40b0
1,660
py
Python
alipay/aop/api/response/AlipayPayAppSmartwearStatusQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/response/AlipayPayAppSmartwearStatusQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/response/AlipayPayAppSmartwearStatusQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayPayAppSmartwearStatusQueryResponse(AlipayResponse): def __init__(self): super(AlipayPayAppSmartwearStatusQueryResponse, self).__init__() self._device_model = No...
29.642857
113
0.683735
178
1,660
6.078652
0.207865
0.091497
0.055453
0.033272
0
0
0
0
0
0
0
0.000786
0.233735
1,660
55
114
30.181818
0.849843
0.025301
0
0.093023
0
0
0.058168
0
0
0
0
0
0
1
0.232558
false
0
0.046512
0.093023
0.395349
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
5c03af92ab300c1e67a6c327adc3b89e2c185616
36,983
py
Python
SAM.py
Tks4Fish/SAM
2a3a3177fd8eedad5f5728b83330ea3b86ee36dd
[ "MIT" ]
null
null
null
SAM.py
Tks4Fish/SAM
2a3a3177fd8eedad5f5728b83330ea3b86ee36dd
[ "MIT" ]
null
null
null
SAM.py
Tks4Fish/SAM
2a3a3177fd8eedad5f5728b83330ea3b86ee36dd
[ "MIT" ]
null
null
null
import requests import sqlite3 import json import re from requests_oauthlib import OAuth1 from sopel import module SAM_DB = "/home/ubuntu/.sopel/modules/SAM.db" CONTACT_OP = "You are not configured. Please contact Operator873." def addtomemory(user, payload): result = {} db = sqlite3.connect(SAM_D...
31.394737
193
0.531785
4,135
36,983
4.743168
0.085127
0.039464
0.012747
0.019936
0.725947
0.695355
0.675266
0.654056
0.628053
0.604242
0
0.004883
0.335451
36,983
1,177
194
31.42141
0.79314
0.036774
0
0.697137
0
0.019824
0.259461
0.004156
0
0
0
0
0
1
0.049559
false
0.004405
0.006608
0
0.143172
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5c0492449332d3db99f66e60d23603daa7ad18fa
1,717
py
Python
tests/cli_snippets/test_cli_versioning.py
shalevy1/DataFS
0d32c2b4e18d300a11b748a552f6adbc3dd8f59d
[ "MIT" ]
7
2017-01-27T16:41:26.000Z
2021-11-05T00:42:31.000Z
tests/cli_snippets/test_cli_versioning.py
ClimateImpactLab/DataFS
e37811d51e51c23f688909e59e74b67a8325ce27
[ "MIT" ]
522
2016-11-21T20:30:39.000Z
2021-11-15T17:47:11.000Z
tests/cli_snippets/test_cli_versioning.py
shalevy1/DataFS
0d32c2b4e18d300a11b748a552f6adbc3dd8f59d
[ "MIT" ]
3
2017-01-17T03:09:28.000Z
2019-06-28T21:08:40.000Z
import pytest import os @pytest.mark.examples @pytest.mark.cli_snippets def test_cli_versioning_snippets(cli_validator): cli_validator(r''' .. EXAMPLE-BLOCK-1-START .. code-block:: bash $ datafs create my_archive \ > --my_metadata_field 'useful metadata' created versioned archive <DataArchive l...
19.292135
79
0.687828
237
1,717
4.860759
0.308017
0.117188
0.067708
0.098958
0.452257
0.296875
0.290799
0.263021
0.195313
0.195313
0
0.030043
0.185789
1,717
88
80
19.511364
0.793991
0
0
0.12
0
0
0.900932
0.13986
0
0
0
0
0
1
0.02
false
0
0.04
0
0.06
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5c067aec8b07feba720d2a779edaf34ba9724469
1,320
py
Python
generateFunctions.py
yudasong/Reinforcement-Learning-Branch-and-Bound
052a64425ca969f421a079dc62049fb68b4957c5
[ "MIT" ]
14
2020-01-03T13:11:36.000Z
2022-01-14T04:13:34.000Z
generateFunctions.py
yudasong/Reinforcement-Learning-Branch-and-Bound
052a64425ca969f421a079dc62049fb68b4957c5
[ "MIT" ]
null
null
null
generateFunctions.py
yudasong/Reinforcement-Learning-Branch-and-Bound
052a64425ca969f421a079dc62049fb68b4957c5
[ "MIT" ]
5
2020-02-24T09:23:50.000Z
2021-10-10T10:33:50.000Z
#This file will generate functions in polynomials import numpy as np import random import matplotlib.pyplot as plt class generateFunctions(): #the initial function taking 4 inputs def __init__(self, x_vector, high_degree_vector, rangeLow, rangeHigh): #the input processing self.x_vector = x_vector self.hi...
29.333333
86
0.692424
185
1,320
4.832432
0.378378
0.03915
0.049217
0.049217
0.045861
0
0
0
0
0
0
0.009381
0.192424
1,320
44
87
30
0.829268
0.207576
0
0
1
0
0.002899
0
0
0
0
0
0
1
0.066667
false
0
0.1
0
0.233333
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
5c0db54dcf8f6e2ff5203af6d9e96256c8381459
1,833
py
Python
portfolio_project/guestbook/models.py
KimEunYeol/web-portfolio
cd56191bdf12c712b252015d3ecb31b037f922ed
[ "MIT" ]
null
null
null
portfolio_project/guestbook/models.py
KimEunYeol/web-portfolio
cd56191bdf12c712b252015d3ecb31b037f922ed
[ "MIT" ]
7
2021-03-19T03:41:33.000Z
2022-03-12T00:30:35.000Z
portfolio_project/guestbook/models.py
KimEunYeol/web-portfolio
cd56191bdf12c712b252015d3ecb31b037f922ed
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone from user.models import User class GuestBook(models.Model): username = models.ForeignKey(User, models.DO_NOTHING, verbose_name='username') title = models.CharField(verbose_name='Title', max_length=64, blank=False) content = models.TextField(verbose_nam...
35.25
111
0.758865
249
1,833
5.353414
0.228916
0.132033
0.056264
0.084021
0.642161
0.579895
0.540135
0.540135
0.540135
0.472618
0
0.006146
0.112384
1,833
52
112
35.25
0.813153
0
0
0.384615
0
0
0.10578
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0.076923
0.769231
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
5c1564960a1c44fb64e9e0e02b3642c32a4c08b0
6,348
py
Python
library/gcloud_accessor/rest_library/shared/gcloud_rest_lib_base.py
anchitarnav/gcloud-resource-cleanup
a3b220f406529df43ffd5afa8adb929c718caba5
[ "MIT" ]
null
null
null
library/gcloud_accessor/rest_library/shared/gcloud_rest_lib_base.py
anchitarnav/gcloud-resource-cleanup
a3b220f406529df43ffd5afa8adb929c718caba5
[ "MIT" ]
6
2020-04-29T09:09:48.000Z
2021-04-30T21:13:57.000Z
library/gcloud_accessor/rest_library/shared/gcloud_rest_lib_base.py
anchitarnav/gcloud-resource-cleanup
a3b220f406529df43ffd5afa8adb929c718caba5
[ "MIT" ]
null
null
null
from library.utilities.misc import parse_link, get_resource_type from library.utilities.logger import get_logger from google.auth.transport.requests import AuthorizedSession from google.auth import default from requests import codes, exceptions import time import re from json import JSONDecodeError class GcloudRestL...
48.090909
119
0.594833
685
6,348
5.334307
0.277372
0.068418
0.061576
0.026273
0.216475
0.143131
0.108374
0.083744
0.038314
0.038314
0
0.006962
0.321204
6,348
131
120
48.458015
0.84103
0.088689
0
0.212121
0
0
0.192382
0.028831
0
0
0
0.015267
0
1
0.030303
false
0.030303
0.080808
0
0.20202
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
5c16ce96d31342333f8d62c67e0396edc0906f37
907
py
Python
ObjectWrapper/GlyphsApp/UI/HTMLView.py
Mark2Mark/GlyphsSDK
810d98d09b4fea083dfcfdd743f56f8b8810d881
[ "Apache-2.0" ]
58
2015-02-03T05:15:30.000Z
2022-03-24T14:19:54.000Z
ObjectWrapper/GlyphsApp/UI/HTMLView.py
Mark2Mark/GlyphsSDK
810d98d09b4fea083dfcfdd743f56f8b8810d881
[ "Apache-2.0" ]
54
2015-07-11T00:43:07.000Z
2022-03-01T11:48:27.000Z
ObjectWrapper/GlyphsApp/UI/HTMLView.py
Mark2Mark/GlyphsSDK
810d98d09b4fea083dfcfdd743f56f8b8810d881
[ "Apache-2.0" ]
35
2015-02-13T19:59:03.000Z
2022-03-11T15:56:17.000Z
# -*- coding: utf-8 -*- from __future__ import print_function __all__ = ["HTMLView"] from WebKit import WebView from vanilla.vanillaBase import VanillaBaseObject class HTMLView(VanillaBaseObject): """ A view that allows for showing HTML from vanilla import * from objectsGS import HTMLView class HTMLViewDemo(...
27.484848
109
0.728776
115
907
5.556522
0.556522
0.031299
0.034429
0
0
0
0
0
0
0
0
0.014267
0.149945
907
33
110
27.484848
0.814527
0.649394
0
0
0
0
0.021448
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.636364
0.090909
0
0
0
null
0
0
0
0
0
0
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
5c282e74ecce40368a460659e8e3a9d347182392
1,313
py
Python
Web/Member/FunctionForPI/RoundAdd.py
tratitude/BridgeMaster
e3916b077d96f3520d0a8ed9bb548d614465aa2e
[ "Apache-2.0" ]
1
2021-01-05T14:40:08.000Z
2021-01-05T14:40:08.000Z
Web/Member/FunctionForPI/RoundAdd.py
fdmdkw/BridgeMaster
e3916b077d96f3520d0a8ed9bb548d614465aa2e
[ "Apache-2.0" ]
1
2021-10-19T08:05:06.000Z
2021-10-19T08:05:06.000Z
Web/Member/FunctionForPI/RoundAdd.py
fdmdkw/BridgeMaster
e3916b077d96f3520d0a8ed9bb548d614465aa2e
[ "Apache-2.0" ]
2
2019-10-21T15:25:37.000Z
2021-03-17T06:59:09.000Z
import time import json import requests def AddRound(T_id,bid,leader,contract,N,E,W,S,vulnerable,result,declarer,Rnum,score): Round = { 'T_id':T_id, 'bid':bid, 'leader':leader, 'contract':contract, 'N':N, 'E':E, 'W':W, 'S':S, 'vulnerable...
38.617647
374
0.609292
190
1,313
4.173684
0.594737
0.015132
0.015132
0
0
0
0
0
0
0
0
0.083022
0.183549
1,313
34
375
38.617647
0.656716
0.159939
0
0
0
0.208333
0.388889
0.176685
0
0
0
0
0
1
0.041667
false
0.041667
0.125
0
0.166667
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5c2fea83116630bc76f3571d183d0e91536cf935
420
py
Python
sabueso/_private_tools/molecular_system/guess_form.py
dprada/sabueso
14843cf3522b5b89db5b61c1541a7015f114dd53
[ "MIT" ]
null
null
null
sabueso/_private_tools/molecular_system/guess_form.py
dprada/sabueso
14843cf3522b5b89db5b61c1541a7015f114dd53
[ "MIT" ]
2
2022-01-31T21:22:17.000Z
2022-02-04T20:20:12.000Z
sabueso/_private_tools/molecular_system/guess_form.py
dprada/sabueso
14843cf3522b5b89db5b61c1541a7015f114dd53
[ "MIT" ]
1
2021-07-20T15:01:14.000Z
2021-07-20T15:01:14.000Z
from sabueso.tools.string_pdb_text import is_pdb_text from sabueso.tools.string_pdb_id import is_pdb_id from sabueso.tools.string_uniprot_id import is_uniprot_id def guess_form(string): output = None if is_pdb_text(string): output = 'string:pdb_text' elif is_pdb_id(string): output = 'stri...
23.333333
57
0.728571
65
420
4.369231
0.276923
0.126761
0.169014
0.232394
0.176056
0
0
0
0
0
0
0
0.197619
420
17
58
24.705882
0.84273
0
0
0
0
0
0.107399
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.416667
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
5c3acb7683f7efe48a90d90414bbddf6a6c1c411
13,182
py
Python
Pipeline/Fitting.py
riccardomarin/FARM-ZOSR
7d29469d7e1c08b4a1e5d13084435001f509bec3
[ "Python-2.0", "OLDAP-2.7" ]
2
2019-09-16T19:46:33.000Z
2021-04-11T14:51:37.000Z
Pipeline/Fitting.py
riccardomarin/FARM-ZOSR
7d29469d7e1c08b4a1e5d13084435001f509bec3
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
Pipeline/Fitting.py
riccardomarin/FARM-ZOSR
7d29469d7e1c08b4a1e5d13084435001f509bec3
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Jan 26 13:47:15 2018 %%%%% % Code for article: % Marin, R. and Melzi, S. and Rodolà, E. and Castellani, U., High-Resolution Augmentation for Automatic Template-Based Matching of Human Models, 3DV 2019 % Github: https://github.com/riccardomarin/FARM-ZOSR ...
34.781003
153
0.531937
1,971
13,182
3.420091
0.16692
0.024922
0.021362
0.019582
0.284676
0.214212
0.173713
0.151906
0.151906
0.119567
0
0.045713
0.2665
13,182
378
154
34.873016
0.651463
0.008345
0
0.128378
0
0
0.081917
0.003446
0
0
0
0
0
0
null
null
0
0.047297
null
null
0.02027
0
0
0
null
0
0
0
0
0
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
5c448a48693d658ba1ada5b6251627f69c54ad8f
1,250
py
Python
pmedapp/common/utilities.py
ibadkureshi/tnk-locationallocation
b06abcb7bf8675b13e4c2e4fe419afb5ee11018f
[ "MIT" ]
1
2021-02-07T10:37:52.000Z
2021-02-07T10:37:52.000Z
pmedapp/common/utilities.py
panosprotopapas/tnk-locationallocation
b06abcb7bf8675b13e4c2e4fe419afb5ee11018f
[ "MIT" ]
null
null
null
pmedapp/common/utilities.py
panosprotopapas/tnk-locationallocation
b06abcb7bf8675b13e4c2e4fe419afb5ee11018f
[ "MIT" ]
2
2020-10-23T13:14:53.000Z
2020-11-13T12:01:44.000Z
from pandas.api.types import is_numeric_dtype from celery.result import AsyncResult import json #import redis from django.http import HttpResponseBadRequest, HttpResponse import mimetypes def column_numeric(column): """ Ensure that the dataframe has only numeric values """ # numeric only data if n...
27.173913
87
0.6768
149
1,250
5.590604
0.530201
0.021609
0.033613
0.05042
0.067227
0.067227
0
0
0
0
0
0.001052
0.2392
1,250
45
88
27.777778
0.874869
0.1816
0
0.230769
0
0
0.095385
0
0
0
0
0
0
1
0.115385
false
0
0.192308
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
5c48ff59411a148dbbbee7b176f4ddde04d0287f
1,435
py
Python
json_conf.py
luhouxiang/UnitTestServer
296485fd9d80a215c52a41d9b07a9ef12dfaef29
[ "Apache-2.0" ]
null
null
null
json_conf.py
luhouxiang/UnitTestServer
296485fd9d80a215c52a41d9b07a9ef12dfaef29
[ "Apache-2.0" ]
null
null
null
json_conf.py
luhouxiang/UnitTestServer
296485fd9d80a215c52a41d9b07a9ef12dfaef29
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' json配置文件类,调用方法 data_dict = {"a":"1", "b":"2"} JsonConf.set(data_dict) 即可在当前目录下生成json文件:config.json ''' import json import os class JsonConf: """ json配置文件类 """ json_data = {} @staticmethod def store2(file_name, datas): ...
26.574074
70
0.568641
179
1,435
4.335196
0.346369
0.113402
0.082474
0.088918
0.268041
0.128866
0.100515
0.100515
0.100515
0.100515
0
0.01992
0.300348
1,435
53
71
27.075472
0.752988
0.160279
0
0.25
0
0
0.022202
0
0
0
0
0
0
1
0.125
false
0.0625
0.0625
0
0.28125
0.03125
0
0
0
null
0
0
0
0
0
0
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