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
bcc96fa511527b793298c46728c49d298c5eb4ff
4,167
py
Python
davidgoliath/project/modelling/01_matrix.py
spideynolove/Other-repo
34066f177994415d031183ab9dd219d787e6e13a
[ "MIT" ]
null
null
null
davidgoliath/project/modelling/01_matrix.py
spideynolove/Other-repo
34066f177994415d031183ab9dd219d787e6e13a
[ "MIT" ]
null
null
null
davidgoliath/project/modelling/01_matrix.py
spideynolove/Other-repo
34066f177994415d031183ab9dd219d787e6e13a
[ "MIT" ]
null
null
null
# """ # matrix in python # https://www.google.com/search?q=matrix+in+python&oq=matrix&aqs=chrome.2.69i57j46i275i433j35i39l2j0i131i433l2j46j0j46i175i199j0.3453j0j9&sourceid=chrome&ie=UTF-8 import numpy as np import sys # ------------------- example 1-------------- def basic_matrix(): tmp = np.array([['Mon', 18, 2...
27.596026
162
0.37317
529
4,167
2.905482
0.200378
0.062459
0.029278
0.03123
0.37866
0.338972
0.310345
0.289525
0.289525
0.277814
0
0.108188
0.270218
4,167
150
163
27.78
0.397238
0.281258
0
0.535714
0
0
0.177233
0.148862
0
0
0
0
0
1
0.071429
false
0.02381
0.02381
0
0.095238
0.428571
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
1
0
2
bcd49184c3b2230e236294853035dd03fbc155c6
1,335
py
Python
kensu/utils/dsl/extractors/generic_datasource_info_support.py
vidma/kensu-py
aae1e04373f03c988d55772fde6563de3ca9f375
[ "Apache-2.0" ]
16
2021-04-28T13:22:41.000Z
2022-03-02T10:45:19.000Z
kensu/utils/dsl/extractors/generic_datasource_info_support.py
vidma/kensu-py
aae1e04373f03c988d55772fde6563de3ca9f375
[ "Apache-2.0" ]
12
2021-05-17T08:06:42.000Z
2022-02-28T22:43:04.000Z
kensu/utils/dsl/extractors/generic_datasource_info_support.py
vidma/kensu-py
aae1e04373f03c988d55772fde6563de3ca9f375
[ "Apache-2.0" ]
5
2021-04-27T15:02:16.000Z
2021-10-15T16:07:21.000Z
import logging from kensu.utils.dsl.extractors import ExtractorSupport from kensu.utils.helpers import singleton from kensu.utils.dsl.extractors.external_lineage_dtos import KensuDatasourceAndSchema @singleton class GenericDatasourceInfoSupport(ExtractorSupport): # should extends some DamSupport class def is_...
31.046512
93
0.649438
152
1,335
5.552632
0.394737
0.028436
0.049763
0.040284
0.156398
0.092417
0.092417
0.092417
0.092417
0
0
0
0.27191
1,335
42
94
31.785714
0.868313
0.128839
0
0
0
0
0.060501
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.133333
0.566667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
bce26cbeea0a5b00df660afe8a83c58b575ff5b3
3,897
py
Python
tests/scheduler_perf.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
2
2017-03-20T07:13:33.000Z
2017-05-03T03:39:53.000Z
tests/scheduler_perf.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
12
2017-07-10T07:04:06.000Z
2017-07-26T09:32:54.000Z
tests/scheduler_perf.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
2
2017-05-04T11:25:32.000Z
2017-07-11T09:10:01.000Z
"""Performance test for treadmill.scheduler """ import timeit # XXX(boysson): Test needs update to new Scheduler API # XXX: from treadmill import scheduler def schedule(sched): """Helper function to run the scheduler.""" def _schedule(): """Run the scheduler, output some stats.""" new_place...
39.363636
79
0.527072
461
3,897
4.340564
0.190889
0.029985
0.01999
0.021989
0.512244
0.512244
0.512244
0.452774
0.432284
0.432284
0
0.040016
0.339492
3,897
98
80
39.765306
0.737374
0.835771
0
0
0
0
0.066308
0
0
0
0
0
0
1
0.133333
false
0.066667
0.066667
0
0.2
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
bce44273fbafba0c45a7f5fb57bd3ef037cbf29d
77
py
Python
multimeter/globvar.py
tropi-frutti/facharbeit-fhg
e162014a9d12e60c616d78c14166c75414acda7b
[ "MIT" ]
null
null
null
multimeter/globvar.py
tropi-frutti/facharbeit-fhg
e162014a9d12e60c616d78c14166c75414acda7b
[ "MIT" ]
null
null
null
multimeter/globvar.py
tropi-frutti/facharbeit-fhg
e162014a9d12e60c616d78c14166c75414acda7b
[ "MIT" ]
null
null
null
''' Created on 15.02.2017 @author: emillokal ''' measure0=0 measure1=0
11
22
0.649351
11
77
4.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0.193548
0.194805
77
7
23
11
0.612903
0.532468
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bcea577b7cbfe745c18c1542b96b91ad1a76b743
2,412
py
Python
maldives/graphics/camera.py
filipecn/maldives
f20f17d817fc3dcad7f9674753744716d1d4c821
[ "MIT" ]
1
2021-09-17T18:04:33.000Z
2021-09-17T18:04:33.000Z
maldives/graphics/camera.py
filipecn/maldives
f20f17d817fc3dcad7f9674753744716d1d4c821
[ "MIT" ]
null
null
null
maldives/graphics/camera.py
filipecn/maldives
f20f17d817fc3dcad7f9674753744716d1d4c821
[ "MIT" ]
3
2021-09-17T18:04:43.000Z
2022-03-18T20:04:07.000Z
from pyrr import Matrix44 class OrthographicCamera: def __init__(self, pos, width, viewport): self.__pos = pos self.__width = width self.__aspect_ratio = viewport.width / viewport.height self.__left = -1 self.__right = 1 self.__top = 1 self.__bottom = -1 ...
33.971831
118
0.598673
322
2,412
4
0.167702
0.059783
0.074534
0.052795
0.34705
0.232143
0.178571
0.051242
0.051242
0
0
0.024432
0.270315
2,412
70
119
34.457143
0.707386
0
0
0.111111
0
0
0.000829
0
0
0
0
0
0
1
0.277778
false
0
0.018519
0.148148
0.462963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
bcecea1231caa03e7bbea8751ef42ea372cf7708
244
py
Python
django/gerenciador/agenda/forms.py
mstuttgart/plano-de-estudos
94310b8b3f97a702ffbb710029bffe4becc5a651
[ "MIT" ]
9
2018-05-30T12:44:45.000Z
2018-09-03T17:11:50.000Z
python/django/gerenciador/agenda/forms.py
midoriobana/estudos
a5d2cbb0944b20f650161ab1d251d2440c56bca1
[ "MIT" ]
157
2018-05-30T01:53:11.000Z
2019-04-22T13:09:05.000Z
django/gerenciador/agenda/forms.py
mstuttgart/my-study-workflow
94310b8b3f97a702ffbb710029bffe4becc5a651
[ "MIT" ]
13
2019-12-30T11:15:16.000Z
2021-10-07T00:54:10.000Z
# -*- encoding: utf-8 -*- from django import forms from models import ItemAgenda class FormItemAgenda(forms.ModelForm): class Meta: model = ItemAgenda fields = ('titulo', 'data', 'hora', 'descricao') exclude = ()
20.333333
56
0.622951
25
244
6.08
0.8
0
0
0
0
0
0
0
0
0
0
0.005435
0.245902
244
11
57
22.181818
0.820652
0.094262
0
0
0
0
0.105023
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
bceea5ab58a193623d5d4d2a71d6dfd96edf186c
376
py
Python
demos/HST/run_eureka_wfc3.py
sidelisle/Eureka
22eb8164107347258d617d8db280de5dbcac0b53
[ "MIT" ]
null
null
null
demos/HST/run_eureka_wfc3.py
sidelisle/Eureka
22eb8164107347258d617d8db280de5dbcac0b53
[ "MIT" ]
null
null
null
demos/HST/run_eureka_wfc3.py
sidelisle/Eureka
22eb8164107347258d617d8db280de5dbcac0b53
[ "MIT" ]
null
null
null
import sys sys.path.append('../../') import eureka.S3_data_reduction.s3_reduce as s3 import eureka.S4_generate_lightcurves.s4_genLC as s4 import eureka.S5_lightcurve_fitting.s5_fit as s5 eventlabel = 'wfc3' if __name__ == '__main__': s3_meta = s3.reduceJWST(eventlabel) s4_meta = s4.lcJWST(eventlabel, s3_meta=s3_me...
25.066667
52
0.781915
60
376
4.5
0.45
0.133333
0.059259
0.133333
0
0
0
0
0
0
0
0.059524
0.106383
376
14
53
26.857143
0.744048
0
0
0
1
0
0.047872
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
bcf36d936e760c171bee61a61eff688fa1d36869
763
py
Python
services/web/server/src/simcore_service_webserver/scicrunch/plugin.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
null
null
null
services/web/server/src/simcore_service_webserver/scicrunch/plugin.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
1
2021-11-29T13:38:09.000Z
2021-11-29T13:38:09.000Z
services/web/server/src/simcore_service_webserver/scicrunch/plugin.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
null
null
null
""" Notice that this is used as a submodule of groups'a app module """ import logging from aiohttp import web from servicelib.aiohttp.application_setup import ModuleCategory, app_module_setup from .service_client import SciCrunch from .settings import get_plugin_settings logger = logging.getLogger(__name__) @a...
27.25
81
0.768021
97
763
5.804124
0.484536
0.047957
0.049734
0
0
0
0
0
0
0
0
0
0.153342
763
27
82
28.259259
0.871517
0.211009
0
0
0
0
0.091837
0.059524
0
0
0
0.037037
0.0625
1
0.0625
false
0
0.3125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
bcf6cf8ba2974b44da160ab9640c3a3aee90551f
311
py
Python
covid_in_russia/example.py
anatoly-scherbakov/covid-in-russia
ff0a2b92098b369fd1b18a2b9370c993567963ab
[ "MIT" ]
null
null
null
covid_in_russia/example.py
anatoly-scherbakov/covid-in-russia
ff0a2b92098b369fd1b18a2b9370c993567963ab
[ "MIT" ]
null
null
null
covid_in_russia/example.py
anatoly-scherbakov/covid-in-russia
ff0a2b92098b369fd1b18a2b9370c993567963ab
[ "MIT" ]
null
null
null
import pywb def some_function(first: int, second: int) -> int: """ We use this function as an example for some real logic. This is how you can write a doctest: .. code:: python >>> some_function(2, 3) 5 Enjoy! """ return first + second def process(): pass
14.809524
59
0.578778
43
311
4.139535
0.767442
0.134831
0
0
0
0
0
0
0
0
0
0.014218
0.321543
311
20
60
15.55
0.829384
0.495177
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.2
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
1
0
1
0
0
0
0
0
2
bcf8be6da5beb1994f4f031d8ca01e6f88bfb24a
4,676
py
Python
crawler/items.py
hackrflov/BilibiliCrawler
52bb9f6f5cd5ba077c6f530d1a7aa35092dd89ed
[ "MIT" ]
1
2017-08-13T00:37:50.000Z
2017-08-13T00:37:50.000Z
crawler/items.py
hackrflov/BilibiliCrawler
52bb9f6f5cd5ba077c6f530d1a7aa35092dd89ed
[ "MIT" ]
null
null
null
crawler/items.py
hackrflov/BilibiliCrawler
52bb9f6f5cd5ba077c6f530d1a7aa35092dd89ed
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ File Name: items.py Date: 08/11/2017 Author: hackrflov Email: hackrflov@gmail.com Python Version: 2.7 """ import scrapy class BilibiliItem(scrapy.Item): def __init__(self, data={}, item_type='default'): super(BilibiliItem, self).__init...
32.472222
140
0.61142
588
4,676
4.80102
0.406463
0.272759
0.028339
0.035423
0.093518
0.061637
0.019129
0
0
0
0
0.007741
0.226476
4,676
143
141
32.699301
0.77274
0.302181
0
0.144578
0
0
0.016166
0
0
0
0
0
0
1
0.024096
false
0
0.012048
0
0.927711
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4c0c6a9313e6ab7e161fe3bd6fedac7c6ff23a0a
558
py
Python
frappe-bench/apps/erpnext/erpnext/patches/v7_0/update_maintenance_module_in_doctype.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
1
2021-04-29T14:55:29.000Z
2021-04-29T14:55:29.000Z
frappe-bench/apps/erpnext/erpnext/patches/v7_0/update_maintenance_module_in_doctype.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
null
null
null
frappe-bench/apps/erpnext/erpnext/patches/v7_0/update_maintenance_module_in_doctype.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
1
2021-04-29T14:39:01.000Z
2021-04-29T14:39:01.000Z
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors from __future__ import unicode_literals import frappe def execute(): frappe.db.set_value("DocType", "Maintenance Schedule", "module", "Maintenance") frappe.db.set_value("DocType", "Maintenance Schedule Detail", "module", "Maintenance") frappe.db....
50.727273
87
0.756272
66
558
6.242424
0.409091
0.097087
0.133495
0.194175
0.660194
0.660194
0.660194
0.558252
0.558252
0
0
0.007905
0.09319
558
11
88
50.727273
0.806324
0.11828
0
0
0
0
0.476578
0
0
0
0
0
0
1
0.125
true
0
0.25
0
0.375
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
1
0
0
0
0
0
0
2
4c1875ff891eec3bcbd364341f225f3814d1fa63
2,807
py
Python
third_party/blink/tools/blinkpy/common/net/git_cl_mock.py
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/tools/blinkpy/common/net/git_cl_mock.py
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/tools/blinkpy/common/net/git_cl_mock.py
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from blinkpy.common.net.git_cl import CLStatus, GitCL from blinkpy.common.system.executive import ScriptError # pylint: disable=unused-argument class Mock...
32.639535
79
0.640542
356
2,807
4.761236
0.325843
0.028319
0.061357
0.040118
0.161062
0.099705
0.099705
0.038938
0
0
0
0.003945
0.27752
2,807
85
80
33.023529
0.831854
0.195582
0
0.142857
0
0
0.025641
0
0
0
0
0
0
1
0.214286
false
0
0.035714
0.125
0.482143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
4c199743b323e5dfeaa33308c44262584ab8f023
939
py
Python
chibi_dl/site/nhentai/image.py
dem4ply/chibi_dl
c6783315460580e784b7ff7479c668e1097ae293
[ "WTFPL" ]
1
2020-01-30T03:59:08.000Z
2020-01-30T03:59:08.000Z
chibi_dl/site/nhentai/image.py
dem4ply/chibi_dl
c6783315460580e784b7ff7479c668e1097ae293
[ "WTFPL" ]
null
null
null
chibi_dl/site/nhentai/image.py
dem4ply/chibi_dl
c6783315460580e784b7ff7479c668e1097ae293
[ "WTFPL" ]
null
null
null
import logging import re import shutil from bs4 import BeautifulSoup from chibi.file import Chibi_path from chibi.atlas import Chibi_atlas from chibi_dl.site.base.site import Site from chibi_requests import Chibi_url from .regex import re_image logger = logging.getLogger( "chibi_dl.sites.ehentai.episode" ) class ...
24.710526
73
0.656017
128
939
4.679688
0.421875
0.0601
0
0
0
0
0
0
0
0
0
0.001418
0.249201
939
37
74
25.378378
0.848227
0
0
0
0
0
0.108626
0.031949
0
0
0
0
0
1
0.142857
false
0
0.321429
0.035714
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4c1c3bc9e3cbb4d23aed0bf2d30fdac7de57b519
1,280
py
Python
insights/parsers/ipaupgrade_log.py
mglantz/insights-core
6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4
[ "Apache-2.0" ]
121
2017-05-30T20:23:25.000Z
2022-03-23T12:52:15.000Z
insights/parsers/ipaupgrade_log.py
mglantz/insights-core
6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4
[ "Apache-2.0" ]
1,977
2017-05-26T14:36:03.000Z
2022-03-31T10:38:53.000Z
insights/parsers/ipaupgrade_log.py
mglantz/insights-core
6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4
[ "Apache-2.0" ]
244
2017-05-30T20:22:57.000Z
2022-03-26T10:09:39.000Z
""" IpaupgradeLog - file ``/var/log/ipaupgrade.log`` ================================================ This file records the information of IPA server upgrade process while executing command ``ipa-server-upgrade`` """ from .. import LogFileOutput, parser from insights.specs import Specs @parser(Specs.ipaupgrade_log)...
33.684211
138
0.65
170
1,280
4.876471
0.494118
0.078408
0.066345
0.062726
0.156815
0.101327
0
0
0
0
0
0.081395
0.19375
1,280
37
139
34.594595
0.721899
0.791406
0
0
0
0
0.097826
0
0
0
0
0
0
1
0
false
0
0.4
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
1
0
1
0
0
2
4c1f5c9c0b3abb317fc52aced25dc96330cfa1de
233
py
Python
src/data/data_utils.py
bsronald2/XRay_Object_Detection_DL
3bc1173913bffd1f12fd7816da80b02525055aeb
[ "MIT" ]
null
null
null
src/data/data_utils.py
bsronald2/XRay_Object_Detection_DL
3bc1173913bffd1f12fd7816da80b02525055aeb
[ "MIT" ]
null
null
null
src/data/data_utils.py
bsronald2/XRay_Object_Detection_DL
3bc1173913bffd1f12fd7816da80b02525055aeb
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt def show(image, label): plt.figure() plt.imshow(image) plt.title(label) plt.axis('off') plt.show() def create_chunk(l, n): return [l[i: i + n] for i in range(0, len(l), n)]
16.642857
53
0.60515
40
233
3.5
0.625
0.114286
0
0
0
0
0
0
0
0
0
0.005587
0.23176
233
13
54
17.923077
0.776536
0
0
0
0
0
0.012876
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
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
1
0
0
0
1
0
0
0
2
4c2418d7594dd161b5050984e565b3236697659f
54,632
py
Python
iroha/commands_pb2.py
vadimreutskiy/iroha-python
9470329b5fc0bcc73dd4d1415f3e57e1f297cc7a
[ "Apache-2.0" ]
3
2021-09-28T01:58:34.000Z
2021-10-04T09:06:58.000Z
iroha/commands_pb2.py
vadimreutskiy/iroha-python
9470329b5fc0bcc73dd4d1415f3e57e1f297cc7a
[ "Apache-2.0" ]
null
null
null
iroha/commands_pb2.py
vadimreutskiy/iroha-python
9470329b5fc0bcc73dd4d1415f3e57e1f297cc7a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: commands.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_...
41.992314
4,598
0.753935
6,887
54,632
5.66778
0.051692
0.047138
0.030973
0.050033
0.757673
0.688246
0.633781
0.608085
0.600835
0.592176
0
0.034453
0.116489
54,632
1,300
4,599
42.024615
0.77424
0.029086
0
0.662219
1
0.000834
0.224706
0.154765
0
0
0
0
0
1
0
false
0
0.00417
0
0.00417
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c2da06dd219a8a2c89b6c7b687c46fd175cc633
573
py
Python
2018-10-23-alt_proc_manager/main/db_lib.py
altyntsev/alt_proc
ad979b0298d00ca7d697f5ea2ec4505172163c52
[ "MIT" ]
null
null
null
2018-10-23-alt_proc_manager/main/db_lib.py
altyntsev/alt_proc
ad979b0298d00ca7d697f5ea2ec4505172163c52
[ "MIT" ]
null
null
null
2018-10-23-alt_proc_manager/main/db_lib.py
altyntsev/alt_proc
ad979b0298d00ca7d697f5ea2ec4505172163c52
[ "MIT" ]
null
null
null
import alt_path from _header import * def connect(): pwd_file = alt.cfg.read_global('alt_proc').pwd_file pwd = alt.cfg.read(pwd_file).db.pwd db = alt.pg.DB(db='alt_proc', user='alt_proc', pwd=pwd, schema='alt_proc') return db class Values: def __init__(self, db): self.db = db def ...
20.464286
78
0.636998
90
573
3.811111
0.377778
0.081633
0.058309
0
0
0
0
0
0
0
0
0.002247
0.223386
573
27
79
21.222222
0.768539
0
0
0
0
0
0.192308
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4c37765fce61d94d70c7d552470b1e8946d11cdd
1,682
py
Python
0-notes/job-search/SamplesDSAlgos/data structures/datastructures-stack.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
0-notes/job-search/SamplesDSAlgos/data structures/datastructures-stack.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
0-notes/job-search/SamplesDSAlgos/data structures/datastructures-stack.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
from singly_linked_list import LinkedList """ What is the difference between using an array vs. a linked list when implementing a Stack? Major difference is, arrays are index-based data structure and each element of the array is associated with an index. With a linked list, it re...
28.508475
74
0.595719
233
1,682
4.240343
0.476395
0.010121
0.022267
0.008097
0
0
0
0
0
0
0
0.007194
0.338882
1,682
58
75
29
0.881295
0.275268
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4c3c66ec231c00138eae09b45fde0adb9cf121db
1,223
py
Python
tests/__init__.py
golddevel12/nereid-webshop
988cf7e6bf7fc242b148d3f8f5ac9d170bededea
[ "BSD-3-Clause" ]
20
2015-04-18T14:41:06.000Z
2022-02-01T20:31:32.000Z
tests/__init__.py
dkodnik/nereid-webshop
c7bb02dacc1dc30328f5b0f25fb82c667d3792a3
[ "BSD-3-Clause" ]
111
2015-01-01T07:48:37.000Z
2015-08-07T12:40:47.000Z
tests/__init__.py
dkodnik/nereid-webshop
c7bb02dacc1dc30328f5b0f25fb82c667d3792a3
[ "BSD-3-Clause" ]
17
2015-01-15T11:35:22.000Z
2020-08-31T13:46:34.000Z
# -*- coding: utf-8 -*- """ __init__ Test Suite :copyright: (c) 2013 by Openlabs Technologies & Consulting (P) Limited :license: BSD, see LICENSE for more details. """ import unittest import trytond.tests.test_tryton from .test_views_depends import TestViewsDepends from .test_invoice import TestDown...
29.119048
74
0.743254
120
1,223
7.358333
0.466667
0.06342
0.309173
0.04983
0
0
0
0
0
0
0
0.005842
0.160262
1,223
41
75
29.829268
0.853944
0.141455
0
0
0
0
0.007913
0
0
0
0
0
0
1
0.043478
false
0
0.391304
0
0.478261
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
4c496d1724fc482d1ca64b5a0c7121a31b24b6a3
251
py
Python
profile.py
ccc1309834/rscoin
6c0983cf6f9dba3bbd77d245be5a4e02adf9560e
[ "BSD-2-Clause" ]
67
2015-07-22T22:32:13.000Z
2022-03-29T20:15:34.000Z
profile.py
ccc1309834/rscoin
6c0983cf6f9dba3bbd77d245be5a4e02adf9560e
[ "BSD-2-Clause" ]
1
2016-03-13T18:47:04.000Z
2016-12-19T09:37:19.000Z
profile.py
ccc1309834/rscoin
6c0983cf6f9dba3bbd77d245be5a4e02adf9560e
[ "BSD-2-Clause" ]
29
2016-03-11T10:09:15.000Z
2021-06-18T10:20:13.000Z
## Process profiling traces # exctracted with: python -m cProfile -o profile $(which py.test) # python -m cProfile -o profile c:\Python27\Scripts\py.test-2.7-script.py import pstats p = pstats.Stats('profile') p.sort_stats("tottime") p.print_stats()
31.375
73
0.741036
40
251
4.6
0.65
0.076087
0.163043
0.173913
0.25
0
0
0
0
0
0
0.018018
0.115538
251
8
74
31.375
0.810811
0.641434
0
0
0
0
0.162791
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c545e8a95416806a9621fc016b43a1cfc88f4b0
598
py
Python
domain/repository/repositories.py
wax911/anime-meta
5a707a75b277a9c0dc5b9d9447cea44a73d2f83c
[ "Apache-2.0" ]
2
2021-04-08T19:55:02.000Z
2021-04-08T19:57:07.000Z
domain/repository/repositories.py
wax911/anime-meta
5a707a75b277a9c0dc5b9d9447cea44a73d2f83c
[ "Apache-2.0" ]
null
null
null
domain/repository/repositories.py
wax911/anime-meta
5a707a75b277a9c0dc5b9d9447cea44a73d2f83c
[ "Apache-2.0" ]
null
null
null
from mongo_thingy import Thingy from uplink import Consumer from abc import ABC, abstractmethod from data import LoggingUtil class CommonRepository(ABC): """ Abstract repository """ def __init__(self, remote_source: Consumer, local_source: Thingy, logging_client: LoggingUtil) -> None: """ ...
26
107
0.697324
67
598
5.850746
0.447761
0.122449
0.081633
0
0
0
0
0
0
0
0
0
0.232441
598
22
108
27.181818
0.854031
0.182274
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4c5485740bc4992bbe12b0799ced1e5455451dde
193
py
Python
pythontraining/sockets.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
pythontraining/sockets.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
pythontraining/sockets.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
__author__ = 'talluri' import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind('localhost') s.listen(1) request, clientAddress = s.accept() print request, clientAddress
14.846154
53
0.756477
26
193
5.384615
0.653846
0.171429
0
0
0
0
0
0
0
0
0
0.005882
0.119171
193
12
54
16.083333
0.817647
0
0
0
0
0
0.082902
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
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
1
0
0
0
0
0
0
0
0
2
4c567d89cbfd07690ca299bb879ec1e1dc13cd2e
326
py
Python
laa_court_data_api_app/models/hearing_summaries/defendants.py
ministryofjustice/laa-court-data-api
2e79faac7469f0b31ecca0539906d281db08f86c
[ "MIT" ]
1
2022-01-27T14:28:40.000Z
2022-01-27T14:28:40.000Z
laa_court_data_api_app/models/hearing_summaries/defendants.py
ministryofjustice/laa-court-data-api
2e79faac7469f0b31ecca0539906d281db08f86c
[ "MIT" ]
16
2022-01-28T11:01:27.000Z
2022-03-30T14:01:11.000Z
laa_court_data_api_app/models/hearing_summaries/defendants.py
ministryofjustice/laa-court-data-api
2e79faac7469f0b31ecca0539906d281db08f86c
[ "MIT" ]
null
null
null
from uuid import UUID from pydantic import BaseModel class Defendants(BaseModel): id: UUID | None first_name: str | None middle_name: str | None last_name: str | None arrest_summons_number: str | None date_of_birth: str | None national_insurance_number: str | None maat_reference: str |...
23.285714
41
0.708589
45
326
4.911111
0.533333
0.221719
0.149321
0
0
0
0
0
0
0
0
0
0.233129
326
13
42
25.076923
0.884
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
1
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
1
0
0
0
0
0
0
2
4c5b85d7a822a09565aeb9ed697de481f7ca6a78
1,507
py
Python
test/integration/ggrc/converters/__init__.py
Smotko/ggrc-core
b3abb58b24e7559960d71a94ba79c75539e7fe29
[ "Apache-2.0" ]
null
null
null
test/integration/ggrc/converters/__init__.py
Smotko/ggrc-core
b3abb58b24e7559960d71a94ba79c75539e7fe29
[ "Apache-2.0" ]
12
2015-01-08T14:50:19.000Z
2017-11-29T19:37:53.000Z
test/integration/ggrc/converters/__init__.py
Smotko/ggrc-core
b3abb58b24e7559960d71a94ba79c75539e7fe29
[ "Apache-2.0" ]
1
2015-01-08T13:25:09.000Z
2015-01-08T13:25:09.000Z
# Copyright (C) 2015 Google Inc., authors, and contributors <see AUTHORS file> # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> # Created By: miha@reciprocitylabs.com # Maintained By: miha@reciprocitylabs.com from flask import json from os.path import abspath from os.path import dirname f...
30.755102
78
0.669542
197
1,507
4.954315
0.380711
0.036885
0.057377
0.04918
0.139344
0.139344
0.139344
0.07377
0
0
0
0.007557
0.209688
1,507
48
79
31.395833
0.811923
0.152621
0
0.117647
0
0
0.123428
0
0
0
0
0
0.058824
1
0.088235
false
0
0.323529
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4c67a68a5700fa6181c1fc5f40571d42e1cad8e5
1,889
py
Python
namingconventions.py
fic2/python-dokuwiki-export
3584c4cd146e1d8510504064c8c8094e41a5fc9e
[ "MIT" ]
null
null
null
namingconventions.py
fic2/python-dokuwiki-export
3584c4cd146e1d8510504064c8c8094e41a5fc9e
[ "MIT" ]
null
null
null
namingconventions.py
fic2/python-dokuwiki-export
3584c4cd146e1d8510504064c8c8094e41a5fc9e
[ "MIT" ]
null
null
null
import re class NamingConventions(object): def __init__(self, dw, se_spec): self.dw = dw self.name = se_spec.get('name') self.spec = se_spec self.group = None def fullname(self): return self.name def specpage(self): page = ':' + ':'.join(self.wikipath()) + ':meta' return page def nameparts(s...
21.712644
73
0.64955
238
1,889
5.12605
0.294118
0.039344
0.063934
0.102459
0.034426
0
0
0
0
0
0
0.004551
0.185813
1,889
86
74
21.965116
0.788687
0.030175
0
0.15625
0
0
0.099508
0.011482
0.015625
0
0
0
0
1
0.296875
false
0
0.015625
0.09375
0.65625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4c67f010da8a7d1aa2242455287b016fbeefbc2b
50,746
py
Python
stage/test_cdh_stages.py
anubandhan/datacollector-tests
301c024c66d68353735256b262b681dd05ba16cc
[ "Apache-2.0" ]
null
null
null
stage/test_cdh_stages.py
anubandhan/datacollector-tests
301c024c66d68353735256b262b681dd05ba16cc
[ "Apache-2.0" ]
1
2019-04-24T11:06:38.000Z
2019-04-24T11:06:38.000Z
stage/test_cdh_stages.py
anubandhan/datacollector-tests
301c024c66d68353735256b262b681dd05ba16cc
[ "Apache-2.0" ]
2
2019-05-24T06:34:37.000Z
2020-03-30T11:48:18.000Z
# Copyright 2017 StreamSets Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
53.360673
124
0.587317
5,429
50,746
5.227482
0.099466
0.022199
0.020085
0.032135
0.745208
0.720613
0.695842
0.669027
0.651656
0.622058
0
0.011333
0.321858
50,746
950
125
53.416842
0.813355
0.117546
0
0.679818
0
0.004552
0.117317
0.014003
0
0
0
0
0.048558
1
0.018209
false
0
0.015175
0
0.033384
0.001517
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c6d36f2cb1cbf79b140d2b0f3ac570fdf87ce48
2,006
py
Python
sigmapiweb/apps/PartyListV2/migrations/0008_auto_20181016_1123.py
sdmoran/sigmapi-web
f943ff0d3fcc757930b3210bd7566920732b1443
[ "MIT" ]
null
null
null
sigmapiweb/apps/PartyListV2/migrations/0008_auto_20181016_1123.py
sdmoran/sigmapi-web
f943ff0d3fcc757930b3210bd7566920732b1443
[ "MIT" ]
null
null
null
sigmapiweb/apps/PartyListV2/migrations/0008_auto_20181016_1123.py
sdmoran/sigmapi-web
f943ff0d3fcc757930b3210bd7566920732b1443
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-10-16 11:23 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('PartyListV2', '0007_auto_20180510_2347'), ] operations = [ migrations.AlterModelOpt...
31.34375
274
0.572283
179
2,006
6.111732
0.446927
0.07404
0.156307
0.219378
0.365631
0.365631
0.365631
0.150823
0.150823
0
0
0.024709
0.314058
2,006
63
275
31.84127
0.770349
0.033898
0
0.482143
1
0
0.283721
0.023256
0
0
0
0
0
1
0
false
0
0.035714
0
0.089286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c7352de9973ac3da472a77e0a9f9fb773b959b8
816
py
Python
astr-119-hw-2/operators.py
emabau/astr-119
e73c8598f8022e734fb94ed266caf3e25e7735d9
[ "MIT" ]
null
null
null
astr-119-hw-2/operators.py
emabau/astr-119
e73c8598f8022e734fb94ed266caf3e25e7735d9
[ "MIT" ]
5
2021-09-29T17:26:35.000Z
2021-12-08T18:25:15.000Z
astr-119-hw-2/operators.py
emabau/astr-119
e73c8598f8022e734fb94ed266caf3e25e7735d9
[ "MIT" ]
null
null
null
x = 9 y = 3 # Arithmetic Operators print(x+y) #Addition print(x-y) #Subtraction print(x*y) #Multiplication print(x/y) #Division print(x%y) #Modulus print(x**y) #Exponantiation x = 9.191823 print(x//y) #Floor Division #Assignment Operators x = 9 # set x = 9 x += 3 # x = x + 3 print(x) x = 9 x -= 3 # x = x - 3 ...
22.666667
66
0.626225
161
816
3.173913
0.198758
0.21135
0.178082
0.129159
0.506849
0.448141
0.420744
0.420744
0.420744
0.309198
0
0.038278
0.231618
816
36
67
22.666667
0.776715
0.582108
0
0.366667
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
1
0
2
d5c35782e49d16b936b4077fc9d483bc0c662f1d
4,653
py
Python
angular_site/angular_site/settings.py
dani4571/angular_tester
8ba86d352a7e905fd6e9df174410737c5f957179
[ "Apache-2.0" ]
null
null
null
angular_site/angular_site/settings.py
dani4571/angular_tester
8ba86d352a7e905fd6e9df174410737c5f957179
[ "Apache-2.0" ]
null
null
null
angular_site/angular_site/settings.py
dani4571/angular_tester
8ba86d352a7e905fd6e9df174410737c5f957179
[ "Apache-2.0" ]
null
null
null
""" Django settings for angular_site project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import da...
27.210526
101
0.70836
524
4,653
6.133588
0.416031
0.072806
0.042315
0.054449
0.157436
0.131612
0.083074
0.083074
0.037337
0
0
0.011711
0.155813
4,653
170
102
27.370588
0.806517
0.230174
0
0.018692
1
0.009346
0.547807
0.452475
0
0
0
0
0
1
0
false
0.046729
0.009346
0
0.009346
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d5c6cd2d437a7995895b0ce7d4ab1bd64699bd2a
221
py
Python
util.py
wayne315315/tic-tac-toe
1d50b892db3084ae3b6b9b27eee0974dcb64c6bb
[ "Apache-2.0" ]
null
null
null
util.py
wayne315315/tic-tac-toe
1d50b892db3084ae3b6b9b27eee0974dcb64c6bb
[ "Apache-2.0" ]
null
null
null
util.py
wayne315315/tic-tac-toe
1d50b892db3084ae3b6b9b27eee0974dcb64c6bb
[ "Apache-2.0" ]
null
null
null
import time __all__ = ['timefn'] def timefn(func): def new_func(*args, **kwargs): t1 = time.time() func(*args, **kwargs) t2= time.time() print("%s took %f seconds"%(func.__name__, t2-t1)) return new_func
13
52
0.628959
33
221
3.909091
0.545455
0.108527
0.217054
0
0
0
0
0
0
0
0
0.022222
0.18552
221
16
53
13.8125
0.694444
0
0
0
0
0
0.109091
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0.111111
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
d5c7f7d2afbcda2379fa9d4e61e8a6a1f6fc3cea
45,538
py
Python
cyctp/ctp_struct.py
xushenkun/cyctp
9089cd103774f0e176d19e204c73ba279abb57f0
[ "MIT" ]
4
2017-03-31T15:22:14.000Z
2020-12-05T13:12:39.000Z
cyctp/ctp_struct.py
xushenkun/cyctp
9089cd103774f0e176d19e204c73ba279abb57f0
[ "MIT" ]
1
2017-03-31T15:23:46.000Z
2017-07-06T01:35:45.000Z
cyctp/ctp_struct.py
xushenkun/cyctp
9089cd103774f0e176d19e204c73ba279abb57f0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from ctypes import * import inspect, sys class LoginUser(Structure): _fields_ = [('TradingDay', c_char * 9), ('LoginTime', c_char * 9), ('BrokerID', c_char * 11), ('UserID', ...
49.018299
163
0.361193
2,969
45,538
5.253621
0.171438
0.134312
0.028081
0.026927
0.48019
0.448391
0.386396
0.341518
0.304334
0.268175
0
0.036649
0.526637
45,538
929
164
49.018299
0.686955
0.000461
0
0.499421
0
0
0.18265
0.01561
0
0
0
0
0
0
null
null
0.002318
0.002318
null
null
0.006952
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
d5d04aa3a082a1c2d19f9e166dae90e36508b8db
345
py
Python
accounts/migrations/0019_merge_20170807_1545.py
enrobyn/lookit-api
621fbb8b25100a21fd94721d39003b5d4f651dc5
[ "MIT" ]
null
null
null
accounts/migrations/0019_merge_20170807_1545.py
enrobyn/lookit-api
621fbb8b25100a21fd94721d39003b5d4f651dc5
[ "MIT" ]
null
null
null
accounts/migrations/0019_merge_20170807_1545.py
enrobyn/lookit-api
621fbb8b25100a21fd94721d39003b5d4f651dc5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-07 15:45 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0017_create_mit_organization'), ('accounts', '0018_auto_20170805_2012'), ] ...
20.294118
53
0.669565
41
345
5.365854
0.853659
0
0
0
0
0
0
0
0
0
0
0.135531
0.208696
345
16
54
21.5625
0.67033
0.197101
0
0
1
0
0.244526
0.186131
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
d5d5636e59762bd0477b29e3b1d811af282542b0
553
py
Python
django_netjsongraph/tests/test_utils.py
r14r/Django_App-D3_NetJSONGraph
cf3d75fcb2438716e207e1b9c759429661a4659e
[ "MIT" ]
80
2017-03-22T13:45:48.000Z
2019-05-05T02:35:31.000Z
django_netjsongraph/tests/test_utils.py
r14r/Django_App-D3_NetJSONGraph
cf3d75fcb2438716e207e1b9c759429661a4659e
[ "MIT" ]
79
2017-03-22T16:42:14.000Z
2019-04-25T22:39:44.000Z
django_netjsongraph/tests/test_utils.py
r14r/Django_App-D3_NetJSONGraph
cf3d75fcb2438716e207e1b9c759429661a4659e
[ "MIT" ]
53
2017-03-20T22:20:59.000Z
2019-04-12T22:26:49.000Z
from django.test import TestCase from ..models import Link, Node, Snapshot, Topology from . import CreateGraphObjectsMixin from .utils import TestUtilsMixin class TestUtils(TestCase, TestUtilsMixin, CreateGraphObjectsMixin): topology_model = Topology node_model = Node link_model = Link snapshot_model...
30.722222
80
0.725136
67
553
5.835821
0.447761
0.076726
0.061381
0.097187
0
0
0
0
0
0
0
0.045752
0.169982
553
17
81
32.529412
0.8061
0
0
0
0
0
0.057866
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
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
1
0
1
0
0
2
d5d9e708560a9de9def4cb897ae94173df29c6fd
494
py
Python
gammapy/data/tests/test_observers.py
Rishank2610/gammapy
3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76
[ "BSD-3-Clause" ]
155
2015-02-25T12:38:02.000Z
2022-03-13T17:54:30.000Z
gammapy/data/tests/test_observers.py
Rishank2610/gammapy
3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76
[ "BSD-3-Clause" ]
3,131
2015-01-06T15:36:23.000Z
2022-03-31T17:30:57.000Z
gammapy/data/tests/test_observers.py
Rishank2610/gammapy
3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76
[ "BSD-3-Clause" ]
158
2015-03-16T20:36:44.000Z
2022-03-30T16:05:37.000Z
# Licensed under a 3-clause BSD style license - see LICENSE.rst from numpy.testing import assert_allclose from astropy.coordinates import Angle from gammapy.data import observatory_locations def test_observatory_locations(): location = observatory_locations["hess"] assert_allclose(location.lon.deg, Angle("16d...
38
64
0.775304
66
494
5.681818
0.606061
0.149333
0.176
0.133333
0
0
0
0
0
0
0
0.043779
0.121457
494
12
65
41.166667
0.820277
0.123482
0
0
0
0
0.064965
0
0
0
0
0
0.555556
1
0.111111
false
0
0.333333
0
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
1
0
0
0
0
1
0
0
0
0
2
d5eaeb98d34efd6b4026a6de636faab1ac1113a3
154
py
Python
c03/p051_same_name3.py
pkingpeng/-python-
f7c3269b6c13edf31449a3f21c3314c27095c984
[ "Apache-2.0" ]
null
null
null
c03/p051_same_name3.py
pkingpeng/-python-
f7c3269b6c13edf31449a3f21c3314c27095c984
[ "Apache-2.0" ]
null
null
null
c03/p051_same_name3.py
pkingpeng/-python-
f7c3269b6c13edf31449a3f21c3314c27095c984
[ "Apache-2.0" ]
null
null
null
def spam(): global eggs eggs = 'spam' def bacon(): eggs = 'bacon' def ham(): print(eggs) eggs = 12 spam() print(eggs) """ spam """
7.333333
18
0.519481
20
154
4
0.4
0.2
0
0
0
0
0
0
0
0
0
0.018519
0.298701
154
20
19
7.7
0.722222
0
0
0.2
0
0
0.06338
0
0
0
0
0
0
1
0.3
false
0
0
0
0.3
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
1
0
0
0
0
0
0
0
2
d5f8183057324d2ab5f0993aaffa589fca9fb80a
510
py
Python
awards/forms.py
mutheud/awards
1acbf8875b393c13c330fb73093d27b982d489e2
[ "MIT" ]
null
null
null
awards/forms.py
mutheud/awards
1acbf8875b393c13c330fb73093d27b982d489e2
[ "MIT" ]
6
2021-03-19T04:56:42.000Z
2021-06-10T19:38:35.000Z
awards/forms.py
mutheud/awards
1acbf8875b393c13c330fb73093d27b982d489e2
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from .models import Project, Profile, Rate class ProjectForm(forms.ModelForm): class Meta: model = Project exclude = ['user', 'pub_date', 'profile'] class ProfileForm(forms.M...
26.842105
54
0.678431
59
510
5.847458
0.372881
0.086957
0.165217
0.2
0.243478
0
0
0
0
0
0
0
0.215686
510
19
55
26.842105
0.8625
0
0
0.1875
0
0
0.074364
0
0
0
0
0
0
1
0
false
0
0.25
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
1
0
0
2
910618598747b5c17d8c0820ad76ffc664e58636
7,121
py
Python
barcodes/dxfwrite/dxfwrite/allplancfg.py
sbarton272/AcousticBarcodes-Explorations
73f019228988727575af7d67d1b7c7119f6c49a6
[ "MIT" ]
null
null
null
barcodes/dxfwrite/dxfwrite/allplancfg.py
sbarton272/AcousticBarcodes-Explorations
73f019228988727575af7d67d1b7c7119f6c49a6
[ "MIT" ]
null
null
null
barcodes/dxfwrite/dxfwrite/allplancfg.py
sbarton272/AcousticBarcodes-Explorations
73f019228988727575af7d67d1b7c7119f6c49a6
[ "MIT" ]
null
null
null
#!/usr/bin/env python #coding:utf-8 # Purpose: create and write allplan cfg files # Created: 24.03.2010 # Copyright (C) 2010, Manfred Moitzi # License: MIT License __author__ = "mozman <mozman@gmx.at>" from dxfwrite.std import DXFColorIndex allplan_default_color_table = [ (255, 255, 255), # 0 ( 0, 0, 0)...
25.894545
83
0.421851
1,093
7,121
2.729186
0.278134
0.01408
0.012739
0.016091
0
0
0
0
0
0
0
0.574417
0.355568
7,121
274
84
25.989051
0.075616
0.154332
0
0
0
0
0.00382
0
0
0
0
0
0
1
0.003788
false
0
0.003788
0
0.011364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
910d5fd9dcd8a62a714fda36f54180c5df54addd
8,409
py
Python
scripts/result.py
bhrt96/e-Learning-Portal
5ca4d7cc355999ddfcb2cfff18d9832d555cc081
[ "MIT" ]
null
null
null
scripts/result.py
bhrt96/e-Learning-Portal
5ca4d7cc355999ddfcb2cfff18d9832d555cc081
[ "MIT" ]
null
null
null
scripts/result.py
bhrt96/e-Learning-Portal
5ca4d7cc355999ddfcb2cfff18d9832d555cc081
[ "MIT" ]
null
null
null
#!/usr/bin/python import cgi import MySQLdb import Cookie import os print "Content-type:text/html\r\n\r\n" if 'HTTP_COOKIE' in os.environ : cookie = Cookie.SimpleCookie(os.environ["HTTP_COOKIE"]) else : print "Please login to continue" db = MySQLdb.connect('localhost','root','1315','quiz', unix_socket="/opt...
32.218391
178
0.577833
1,047
8,409
4.633238
0.253104
0.042878
0.022263
0.023088
0.332715
0.294578
0.269017
0.254999
0.239332
0.22449
0
0.022825
0.249732
8,409
261
179
32.218391
0.746077
0.122369
0
0.260606
0
0.084848
0.719504
0.164236
0
0
0
0
0
0
null
null
0.006061
0.024242
null
null
0.115152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
911e968d1cb74e59cff87d19908f48999fece065
2,691
py
Python
anime_cli/search/__init__.py
mulni342/anime-cli
ce6b359c045e05f626d389f61e713f66b0a2e5d8
[ "MIT" ]
23
2021-10-17T17:23:26.000Z
2022-03-09T09:41:02.000Z
anime_cli/search/__init__.py
chirag-droid/anicli
7810bf870888b8b6417ea4186752cc4990f2e5e0
[ "MIT" ]
13
2021-10-18T18:47:49.000Z
2022-02-06T19:23:58.000Z
anime_cli/search/__init__.py
chirag-droid/anicli
7810bf870888b8b6417ea4186752cc4990f2e5e0
[ "MIT" ]
11
2021-11-17T17:33:07.000Z
2022-03-03T16:09:19.000Z
from abc import ABCMeta, abstractmethod, abstractstaticmethod from typing import List import requests from bs4 import BeautifulSoup from anime_cli.anime import Anime class SearchApi(metaclass=ABCMeta): def __init__(self, mirror: str): self.url = f"https://example.{mirror}" self.request_headers =...
28.935484
159
0.61204
346
2,691
4.705202
0.349711
0.018428
0.051597
0.044226
0.168305
0.113022
0.052826
0.038084
0
0
0
0.021253
0.318097
2,691
92
160
29.25
0.86594
0.438499
0
0.310345
0
0.034483
0.162615
0.017603
0
0
0
0
0
1
0.241379
false
0.172414
0.172414
0
0.482759
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
912d1efddf1930c842badcf390f25f182d97b514
305
py
Python
degmo/vae/utils.py
IcarusWizard/Deep-Generative-Models
4117c11ad944bdeff106a80adbb3642a076af64e
[ "MIT" ]
2
2019-11-21T15:50:59.000Z
2019-12-17T02:44:19.000Z
degmo/vae/utils.py
IcarusWizard/Deep-Generative-Models
4117c11ad944bdeff106a80adbb3642a076af64e
[ "MIT" ]
null
null
null
degmo/vae/utils.py
IcarusWizard/Deep-Generative-Models
4117c11ad944bdeff106a80adbb3642a076af64e
[ "MIT" ]
1
2021-07-02T05:49:29.000Z
2021-07-02T05:49:29.000Z
import numpy as np import torch from torch.functional import F from ..utils import LOG2PI def get_kl(mu, logs): """ Compute the KL divergence between diagonal gauss """ return torch.sum(0.5 * (mu ** 2 + torch.exp(logs) ** 2 - 2 * logs - 1), dim=[i for i in range(1, len(mu.shape))])
25.416667
117
0.636066
51
305
3.784314
0.686275
0
0
0
0
0
0
0
0
0
0
0.034043
0.229508
305
11
118
27.727273
0.787234
0.157377
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.666667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
91332f07a86193a2dca4be3c3ae29c1333411b93
285
py
Python
GenerateSolution.py
int-Frank/DgEngine
aaec951a36c0c06540a14299b428e3f9ed1b5b20
[ "Apache-2.0" ]
1
2015-01-13T06:58:27.000Z
2015-01-13T06:58:27.000Z
GenerateSolution.py
int-Frank/DgEngine
aaec951a36c0c06540a14299b428e3f9ed1b5b20
[ "Apache-2.0" ]
null
null
null
GenerateSolution.py
int-Frank/DgEngine
aaec951a36c0c06540a14299b428e3f9ed1b5b20
[ "Apache-2.0" ]
null
null
null
import subprocess import sys sys.path.insert(0, '.\\Vendor\\BuildScripts') import DgBuild DgBuild.Make_vpaths("Vendor/DgLib/src", "Vendor/DgLib/DgLib_vpaths.lua") DgBuild.Make_vpaths("src", "DgEngine_vpaths.lua") subprocess.call("Vendor/DgLib/3rdParty/premake/premake5.exe vs2022")
25.909091
72
0.785965
39
285
5.641026
0.538462
0.15
0.154545
0
0
0
0
0
0
0
0
0.026119
0.059649
285
10
73
28.5
0.794776
0
0
0
0
0
0.487719
0.329825
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
91339ac23cf5cc807c45590d8d38601c9500a757
8,520
py
Python
python/cuxfilter/charts/core/core_chart.py
Anhmike/cuxfilter
a8b25b1c37ac0e5435acb7261f6fcbf677d96bfa
[ "Apache-2.0" ]
201
2018-12-21T18:32:40.000Z
2022-03-22T11:50:29.000Z
python/cuxfilter/charts/core/core_chart.py
Anhmike/cuxfilter
a8b25b1c37ac0e5435acb7261f6fcbf677d96bfa
[ "Apache-2.0" ]
258
2018-12-27T07:37:50.000Z
2022-03-31T20:01:32.000Z
python/cuxfilter/charts/core/core_chart.py
Anhmike/cuxfilter
a8b25b1c37ac0e5435acb7261f6fcbf677d96bfa
[ "Apache-2.0" ]
51
2019-01-10T19:03:09.000Z
2022-03-08T01:37:11.000Z
import functools import cudf import dask_cudf import logging import panel as pn from bokeh.models import ColumnDataSource from panel.config import panel_extension from panel.io import state from panel.util import edit_readonly from typing import Dict from ...assets import datetime as dt class BaseChart: chart_ty...
33.543307
79
0.607981
1,025
8,520
4.837073
0.163902
0.051432
0.059298
0.050424
0.581484
0.567366
0.549012
0.492739
0.462485
0.447156
0
0.00643
0.269836
8,520
253
80
33.675889
0.790548
0.191667
0
0.237805
0
0
0.119197
0.0167
0
0
0
0
0
1
0.207317
false
0
0.067073
0.030488
0.615854
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
9136663263a8695174c21575b43ec6841406006c
1,719
py
Python
hw/dendogram/distance.py
colonel8377/hkust_machine_learning
80d880a8bd6a0139d5d5409000f836900855b0ba
[ "MIT" ]
3
2021-09-14T11:45:08.000Z
2022-03-24T14:15:45.000Z
hw/dendogram/distance.py
colonel8377/hkust_machine_learning
80d880a8bd6a0139d5d5409000f836900855b0ba
[ "MIT" ]
1
2021-11-02T09:05:03.000Z
2021-11-02T09:05:03.000Z
hw/dendogram/distance.py
colonel8377/hkust_machine_learning
80d880a8bd6a0139d5d5409000f836900855b0ba
[ "MIT" ]
2
2021-09-04T12:04:47.000Z
2021-09-29T02:22:27.000Z
import numpy from numpy import dot, sqrt def binarize_vector(u): return u > 0 def cosine_distance(u, v, binary=False): """Return the cosine distance between two vectors.""" if binary: return cosine_distance_binary(u, v) return 1.0 - dot(u, v) / (sqrt(dot(u, u)) * sqrt(dot(v, v))) def cosin...
25.656716
78
0.591041
272
1,719
3.650735
0.158088
0.04431
0.072508
0.066465
0.360524
0.143001
0.12286
0.12286
0.080564
0.080564
0
0.014493
0.237347
1,719
66
79
26.045455
0.742944
0.225713
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0.026316
0.605263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
91393f5d817f7df71f31cc85a741d82667a6a608
6,866
py
Python
2020/2020_08b.py
davidxiao93/Advent-of-Code
29503100ae4eb46b048fc3ab68ff0181c6f00ee5
[ "MIT" ]
null
null
null
2020/2020_08b.py
davidxiao93/Advent-of-Code
29503100ae4eb46b048fc3ab68ff0181c6f00ee5
[ "MIT" ]
null
null
null
2020/2020_08b.py
davidxiao93/Advent-of-Code
29503100ae4eb46b048fc3ab68ff0181c6f00ee5
[ "MIT" ]
null
null
null
input = """jmp +336 jmp +593 jmp +121 acc -8 nop +459 jmp +451 acc -6 acc +23 acc +23 acc -2 jmp +113 acc -11 acc +25 jmp +529 acc +0 jmp +1 jmp +313 acc +30 nop +235 jmp +45 nop +195 acc -11 jmp +491 acc +6 nop +425 nop +68 acc +9 jmp -25 jmp +507 jmp +456 acc -1 acc +49 acc +5 jmp +31 acc +30 nop +513 jmp +499 nop +5...
9.850789
67
0.631955
1,453
6,866
2.958018
0.194769
0.015821
0.020475
0.004188
0.09074
0.040484
0.031177
0.031177
0
0
0
0.262266
0.251966
6,866
696
68
9.864943
0.574572
0.037431
0
0.636228
0
0
0.779416
0
0
0
0
0
0
1
0.001497
false
0
0
0
0.004491
0.004491
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
91439c0bf5a7cb9241c67997a7db9ebc438cbf8b
305
py
Python
falsy/utils/meta.py
marco-souza/falsy
0dd6f792061ee833f308372f0204dea0ad9bf2d1
[ "MIT" ]
127
2017-01-05T14:55:50.000Z
2022-02-01T06:02:49.000Z
falsy/utils/meta.py
marco-souza/falsy
0dd6f792061ee833f308372f0204dea0ad9bf2d1
[ "MIT" ]
9
2017-03-08T21:38:16.000Z
2022-02-01T06:44:09.000Z
falsy/utils/meta.py
marco-souza/falsy
0dd6f792061ee833f308372f0204dea0ad9bf2d1
[ "MIT" ]
26
2017-01-12T08:56:15.000Z
2022-02-01T06:02:52.000Z
class Meta(dict): def __getattr__(self, name): try: return self[name] except KeyError: raise AttributeError(name) def __setattr__(self, name, value): self[name] = value def bind(self, name, func): setattr(self.__class__, name, func)
20.333333
43
0.577049
34
305
4.823529
0.5
0.243902
0.158537
0
0
0
0
0
0
0
0
0
0.321311
305
14
44
21.785714
0.792271
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0
0.5
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
1
0
0
0
0
0
0
0
2
915231b6658f80f499a8f3adc1655248025ddb39
320
py
Python
snippets - numpy/scalar-math.py
bjfisica/MachineLearning
20349301ae7f82cd5048410b0cf1f7a5f7d7e5a2
[ "MIT" ]
52
2019-02-15T16:37:13.000Z
2022-02-17T18:34:30.000Z
snippets - numpy/scalar-math.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
null
null
null
snippets - numpy/scalar-math.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
22
2019-02-25T23:52:09.000Z
2021-09-21T03:09:35.000Z
import numpy as np #add 1 to each array element np.add(arr, 1) #subtract 2 from each array element np.subtract(arr, 2) #multiply each array element by 3 np.multiply(arr, 3) #divide each array element by 4 (returns np.nan for division by zero) np.divide(arr, 4) #raise each array element to 5th power np.power(arr, 5)
22.857143
69
0.74375
62
320
3.83871
0.451613
0.189076
0.336134
0.151261
0
0
0
0
0
0
0
0.037594
0.16875
320
13
70
24.615385
0.857143
0.61875
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
9153bb9ec49d479a53761856aac2e75ee1733f4b
252
py
Python
pscheduler-test-latencybg/tests/enumerate_test.py
igarny/pscheduler
0ab6e68bb3adb808e1116bab0eb7438bf4c31e2c
[ "Apache-2.0" ]
47
2016-09-28T14:19:10.000Z
2022-03-21T13:26:47.000Z
pscheduler-test-latencybg/tests/enumerate_test.py
igarny/pscheduler
0ab6e68bb3adb808e1116bab0eb7438bf4c31e2c
[ "Apache-2.0" ]
993
2016-07-07T19:30:32.000Z
2022-03-21T10:25:52.000Z
pscheduler-test-latencybg/tests/enumerate_test.py
mfeit-internet2/pscheduler-dev
d2cd4065a6fce88628b0ca63edc7a69f2672dad2
[ "Apache-2.0" ]
36
2016-09-15T09:39:45.000Z
2021-06-23T15:05:13.000Z
""" tests for the enumerate command """ import pscheduler import unittest class EnumerateTest(pscheduler.TestEnumerateUnitTest): name = 'latencybg' scheduling_class='background-multi' if __name__ == '__main__': unittest.main()
15.75
54
0.714286
24
252
7.125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.186508
252
15
55
16.8
0.834146
0.123016
0
0
0
0
0.156398
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e6774f3eede3d3f18ccc94a1f2ba43de825198d4
877
py
Python
MongoDB/Exercises/personal_finances/auth.py
CaioCavalcanti/big-data-course
287cada875ef80333889acedb01af0ecb6fb956b
[ "MIT" ]
15
2019-10-03T19:46:56.000Z
2019-10-16T01:35:45.000Z
MongoDB/Exercises/personal_finances/auth.py
CaioCavalcanti/big-data-course
287cada875ef80333889acedb01af0ecb6fb956b
[ "MIT" ]
null
null
null
MongoDB/Exercises/personal_finances/auth.py
CaioCavalcanti/big-data-course
287cada875ef80333889acedb01af0ecb6fb956b
[ "MIT" ]
null
null
null
from eve.auth import TokenAuth from werkzeug.security import check_password_hash import random import string from personal_finances.run import app class RolesAuth(TokenAuth): def check_auth(self, token, allowed_roles, resource, method): # use Eve's own db driver; no additional connections/resources are u...
38.130435
95
0.689852
118
877
5.033898
0.644068
0.080808
0
0
0
0
0
0
0
0
0
0.002924
0.220068
877
23
95
38.130435
0.865497
0.242873
0
0
0
0
0.039394
0
0
0
0
0
0
1
0.125
false
0.0625
0.3125
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
1
1
0
0
0
0
2
e6785aaa7378400b7d477c8b127f28f87656cdbd
2,013
py
Python
weibospider/settings.py
uglyghost/WeiboSpider
bc8f51a6eaeffd4e00de594491769d87e86d8aef
[ "MIT" ]
null
null
null
weibospider/settings.py
uglyghost/WeiboSpider
bc8f51a6eaeffd4e00de594491769d87e86d8aef
[ "MIT" ]
null
null
null
weibospider/settings.py
uglyghost/WeiboSpider
bc8f51a6eaeffd4e00de594491769d87e86d8aef
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- BOT_NAME = 'spider' SPIDER_MODULES = ['spiders'] NEWSPIDER_MODULE = 'spiders' ROBOTSTXT_OBEY = False # change cookie to yours #DEFAULT_REQUEST_HEADERS = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36', # '...
52.973684
477
0.811724
202
2,013
7.915842
0.638614
0.012508
0.0394
0.046904
0.219512
0.219512
0.219512
0.219512
0.195122
0.195122
0
0.152725
0.079483
2,013
38
478
52.973684
0.7102
0.537009
0
0
0
0.047619
0.62311
0.483801
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e681adf5345d3f985013d911c8c1835dd9879da7
231
py
Python
debug/addon.py
Kupoman/BlenderRealtimeEngineAddon
9de62689978ab81b63d9a51f7c4cdcf7301c7a05
[ "MIT" ]
49
2015-03-15T21:57:20.000Z
2021-12-11T19:56:13.000Z
debug/addon.py
theirishduck/BlenderRealtimeEngineAddon
9de62689978ab81b63d9a51f7c4cdcf7301c7a05
[ "MIT" ]
6
2015-04-18T02:36:28.000Z
2017-02-12T20:12:19.000Z
debug/addon.py
theirishduck/BlenderRealtimeEngineAddon
9de62689978ab81b63d9a51f7c4cdcf7301c7a05
[ "MIT" ]
12
2015-02-14T08:17:25.000Z
2020-07-19T05:40:38.000Z
if "bpy" in locals(): import imp imp.reload(engine) else: import bpy from brte import engine class DebugEngine(bpy.types.RenderEngine, engine.RealTimeEngine): bl_idname = 'RTE_DEBUG' bl_label = 'RTE Debug'
21
65
0.692641
31
231
5.064516
0.677419
0.101911
0
0
0
0
0
0
0
0
0
0
0.212121
231
10
66
23.1
0.862637
0
0
0
0
0
0.090909
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e68c53efab6adc534aa09971899986130a0896a1
471
py
Python
Python/912/p912_3.py
ArvinZJC/LeetCode-Entry2Abandonment
9f6e6cdaaf212bbd5b1d7eb3c9d2241265b37ddd
[ "MIT" ]
1
2022-02-10T14:05:40.000Z
2022-02-10T14:05:40.000Z
Python/912/p912_3.py
ArvinZJC/LeetCode-Entry2Abandonment
9f6e6cdaaf212bbd5b1d7eb3c9d2241265b37ddd
[ "MIT" ]
null
null
null
Python/912/p912_3.py
ArvinZJC/LeetCode-Entry2Abandonment
9f6e6cdaaf212bbd5b1d7eb3c9d2241265b37ddd
[ "MIT" ]
null
null
null
""" ''' Description: Problem 912 (Sort an Array) - Solution 3 Version: 1.0.0.20220322 Author: Arvin Zhao Date: 2022-03-19 13:47:36 Last Editors: Arvin Zhao LastEditTime: 2022-03-22 19:38:10 ''' """ from heapq import heapify, heappop from typing import List class Solution: def sortArray(self, nums: List[int]) -> ...
22.428571
60
0.673036
70
471
4.514286
0.728571
0.056962
0
0
0
0
0
0
0
0
0
0.112565
0.18896
471
20
61
23.55
0.71466
0.501062
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e69671970ae2143ec07a3a641a00e83120671d0e
235
py
Python
tests/test_unit_example.py
sheaffej/python-vscode-docker
3ea980d77f7ec8424d59fb72e25b34f7c077a125
[ "Apache-2.0" ]
null
null
null
tests/test_unit_example.py
sheaffej/python-vscode-docker
3ea980d77f7ec8424d59fb72e25b34f7c077a125
[ "Apache-2.0" ]
null
null
null
tests/test_unit_example.py
sheaffej/python-vscode-docker
3ea980d77f7ec8424d59fb72e25b34f7c077a125
[ "Apache-2.0" ]
null
null
null
import unittest class TestCase(unittest.TestCase): def __init__(self, *args, **kwargs): super(TestCase, self).__init__(*args, **kwargs) def test_sum(self): self.assertEqual(sum([1, 2, 3]), 6, "Should be 6")
21.363636
58
0.634043
31
235
4.516129
0.612903
0.142857
0
0
0
0
0
0
0
0
0
0.026738
0.204255
235
10
59
23.5
0.721925
0
0
0
0
0
0.046809
0
0
0
0
0
0.166667
1
0.333333
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e6a0759b062d25b8ca949c9cdf90ca531e454a30
1,270
py
Python
rxbp/multicast/flowables/flatmergenobackpressureflowable.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
24
2018-11-22T21:04:49.000Z
2021-11-08T11:18:09.000Z
rxbp/multicast/flowables/flatmergenobackpressureflowable.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2019-02-06T15:58:46.000Z
2019-02-12T20:31:50.000Z
rxbp/multicast/flowables/flatmergenobackpressureflowable.py
MichaelSchneeberger/rx_backpressure
16173827498bf1bbee3344933cb9efbfd19699f5
[ "Apache-2.0" ]
1
2021-01-26T12:41:37.000Z
2021-01-26T12:41:37.000Z
from dataclasses import dataclass from typing import Callable, Any from rxbp.mixins.flowablemixin import FlowableMixin from rxbp.multicast.observables.flatmergenobackpressureobservable import FlatMergeNoBackpressureObservable from rxbp.scheduler import Scheduler from rxbp.subscriber import Subscriber from rxbp.subscri...
39.6875
106
0.762992
114
1,270
8.412281
0.298246
0.04171
0.045881
0.072993
0
0
0
0
0
0
0
0
0.180315
1,270
32
107
39.6875
0.92123
0.028346
0
0
0
0
0
0
0
0
0
0.03125
0.04
1
0.08
false
0
0.28
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
e6a2f6f384198ad8825a7162b4c302b821344e8e
2,893
py
Python
oneview_redfish_toolkit/api/schemas.py
AgneshKumar/oneview-redfish-toolkit
f559ce795b43891a919dc431563c0d0c8000a2d9
[ "Apache-2.0" ]
19
2017-07-20T17:30:55.000Z
2022-02-14T11:46:16.000Z
oneview_redfish_toolkit/api/schemas.py
AgneshKumar/oneview-redfish-toolkit
f559ce795b43891a919dc431563c0d0c8000a2d9
[ "Apache-2.0" ]
421
2017-07-21T17:49:52.000Z
2021-02-08T21:47:00.000Z
oneview_redfish_toolkit/api/schemas.py
AgneshKumar/oneview-redfish-toolkit
f559ce795b43891a919dc431563c0d0c8000a2d9
[ "Apache-2.0" ]
20
2017-08-16T15:52:17.000Z
2022-02-18T07:16:49.000Z
# -*- coding: utf-8 -*- # Copyright (2018) Hewlett Packard Enterprise Development LP # # 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...
41.927536
78
0.737988
309
2,893
6.747573
0.398058
0.043165
0.020144
0.023022
0
0
0
0
0
0
0
0.034579
0.130315
2,893
68
79
42.544118
0.794118
0.222606
0
0
0
0
0.752693
0.490575
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e6aa577aee8a712c30268d86a9ecfcff2fc01169
3,372
py
Python
pylearn2/utils/general.py
capybaralet/pylearn2
78d78a99bc6114616a22a4d798c7fedfe4489c58
[ "BSD-3-Clause" ]
null
null
null
pylearn2/utils/general.py
capybaralet/pylearn2
78d78a99bc6114616a22a4d798c7fedfe4489c58
[ "BSD-3-Clause" ]
null
null
null
pylearn2/utils/general.py
capybaralet/pylearn2
78d78a99bc6114616a22a4d798c7fedfe4489c58
[ "BSD-3-Clause" ]
null
null
null
""" .. todo:: WRITEME """ import numpy as np def is_iterable(obj): """ Robustly test whether an object is iterable. Parameters ---------- obj : object The object to be checked. Returns ------- is_iterable : bool `True` if the object is iterable, `False` otherwise...
28.820513
78
0.642942
466
3,372
4.60515
0.315451
0.018639
0.030289
0.024231
0.513048
0.51165
0.489282
0.465517
0.363001
0.344362
0
0.000788
0.247331
3,372
116
79
29.068966
0.84476
0.789146
0
0
0
0
0
0
0
0
0
0.008621
0
1
0.307692
false
0
0.076923
0
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
1
0
0
0
0
1
0
0
2
e6bcce1baf5f98cafe7037c995caa6c703401bce
6,752
py
Python
src/adaptationengine_framework/utils.py
IntelLabsEurope/AdaptationEngineFramework
bbf7a2ca32b84c6208b43ee55c14bc5262fc51b2
[ "Apache-2.0" ]
1
2016-02-11T16:26:10.000Z
2016-02-11T16:26:10.000Z
src/adaptationengine_framework/utils.py
IntelLabsEurope/AdaptationEngineFramework
bbf7a2ca32b84c6208b43ee55c14bc5262fc51b2
[ "Apache-2.0" ]
null
null
null
src/adaptationengine_framework/utils.py
IntelLabsEurope/AdaptationEngineFramework
bbf7a2ca32b84c6208b43ee55c14bc5262fc51b2
[ "Apache-2.0" ]
null
null
null
""" Copyright 2015 INTEL RESEARCH AND INNOVATION IRELAND LIMITED 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...
37.303867
105
0.673578
823
6,752
5.222357
0.243013
0.030247
0.046533
0.060493
0.080503
0.063285
0.050721
0.042345
0.042345
0.042345
0
0.003802
0.220823
6,752
180
106
37.511111
0.813153
0.027696
0
0.084034
0
0
0.161037
0.008937
0
0
0
0
0
0
null
null
0.05042
0.058824
null
null
0.008403
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
e6c6ee9adc24b2dc8353377a4692dbe89101385a
446
py
Python
python-opencv/blog2-pixel/demo3.py
meteor1993/python-learning
4ee574c9360caf6e63bb6ee2ef31fa6a9918fa40
[ "MIT" ]
83
2019-10-15T06:54:06.000Z
2022-03-28T14:08:21.000Z
python-opencv/blog2-pixel/demo3.py
wenxuefeng3930/python-learning
4ee574c9360caf6e63bb6ee2ef31fa6a9918fa40
[ "MIT" ]
1
2020-04-16T08:13:19.000Z
2020-07-14T01:52:46.000Z
python-opencv/blog2-pixel/demo3.py
wenxuefeng3930/python-learning
4ee574c9360caf6e63bb6ee2ef31fa6a9918fa40
[ "MIT" ]
74
2019-11-02T08:10:36.000Z
2022-02-19T12:23:36.000Z
import cv2 as cv # 灰度图像读取 gray_img = cv.imread("maliao.jpg", cv.IMREAD_GRAYSCALE) print(gray_img[20, 30]) # 像素赋值 gray_img[20, 30] = 255 print(gray_img[20, 30]) # 彩色图像读取 color_img = cv.imread("maliao.jpg", cv.IMREAD_COLOR) print(color_img[20, 30]) # 像素依次赋值 color_img[20, 30, 0] = 255 color_img[20, 30, 1] ...
22.3
56
0.659193
82
446
3.414634
0.280488
0.178571
0.25
0.3
0.696429
0.2
0.2
0
0
0
0
0.159892
0.172646
446
20
57
22.3
0.598916
0.071749
0
0.384615
0
0
0.051282
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.384615
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e6cf664857a7fdea53ac2aac3267eea4497f94b0
2,782
py
Python
project1/task1c.py
fabiorodp/IN_STK5000_Adaptive_methods_for_data_based_decision_making
f8c049ceed6e3123e8676bcd9b29afaba9bd1f9b
[ "MIT" ]
null
null
null
project1/task1c.py
fabiorodp/IN_STK5000_Adaptive_methods_for_data_based_decision_making
f8c049ceed6e3123e8676bcd9b29afaba9bd1f9b
[ "MIT" ]
null
null
null
project1/task1c.py
fabiorodp/IN_STK5000_Adaptive_methods_for_data_based_decision_making
f8c049ceed6e3123e8676bcd9b29afaba9bd1f9b
[ "MIT" ]
1
2021-11-25T14:45:41.000Z
2021-11-25T14:45:41.000Z
try: from .helper.generate_data import Space from .helper.help_functions import balance_data, import_data, plot_heatmap_corr from .helper.help_functions import confidence_interval_plot from .helper.methodologies import methodology1, methodology2, methodology3 from .helper.help_functions import featu...
41.522388
91
0.634076
286
2,782
5.937063
0.29021
0.047114
0.089517
0.117786
0.763251
0.763251
0.687868
0.601885
0.277974
0.277974
0
0.023831
0.200575
2,782
66
92
42.151515
0.739658
0.009346
0
0.309091
1
0
0.200863
0
0
0
0
0
0
1
0.018182
false
0
0.254545
0
0.272727
0.145455
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e6d90f979b1af7e3bd64945353764953d1276e7d
4,602
py
Python
pyramid/tests/test_response.py
danielpronych/pyramid-doxygen
ad95a8c151c2c4e029e03aed2feda2993380f36f
[ "BSD-2-Clause" ]
null
null
null
pyramid/tests/test_response.py
danielpronych/pyramid-doxygen
ad95a8c151c2c4e029e03aed2feda2993380f36f
[ "BSD-2-Clause" ]
null
null
null
pyramid/tests/test_response.py
danielpronych/pyramid-doxygen
ad95a8c151c2c4e029e03aed2feda2993380f36f
[ "BSD-2-Clause" ]
null
null
null
import io import os import unittest from pyramid import testing class TestResponse(unittest.TestCase): def _getTargetClass(self): from pyramid.response import Response return Response def test_implements_IResponse(self): from pyramid.interfaces import IResponse cls = se...
29.883117
69
0.631465
518
4,602
5.432432
0.225869
0.029851
0.03376
0.044421
0.458067
0.336532
0.30135
0.266525
0.266525
0.221038
0
0.001186
0.267058
4,602
153
70
30.078431
0.833086
0
0
0.32
0
0
0.01608
0
0
0
0
0
0.112
1
0.224
false
0.072
0.112
0
0.496
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
e6dd9c04e34b03eb87fa274492de73cabefcd48b
502
py
Python
tests/test_projectmanager.py
Eleven-junichi2/runboxpy
333320f14954fff30365400807ac4d416d30e78c
[ "MIT" ]
1
2019-05-05T21:09:42.000Z
2019-05-05T21:09:42.000Z
tests/test_projectmanager.py
Eleven-junichi2/runboxpy
333320f14954fff30365400807ac4d416d30e78c
[ "MIT" ]
null
null
null
tests/test_projectmanager.py
Eleven-junichi2/runboxpy
333320f14954fff30365400807ac4d416d30e78c
[ "MIT" ]
null
null
null
import unittest from tsukushi.projectmanager import ProjectMaker class MockMkdir: pass class TestProjectMaker(unittest.TestCase): def test_generate_project(self): project_maker = ProjectMaker("~/Projects") project = project_maker.generate_project("test_project") self.assertEqual(str...
23.904762
64
0.695219
50
502
6.64
0.5
0.099398
0.090361
0.156627
0
0
0
0
0
0
0
0
0.207171
502
20
65
25.1
0.834171
0
0
0
1
0
0.129482
0.045817
0
0
0
0
0.153846
1
0.076923
false
0.076923
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
e6df8727a9112601c6b9369c3ba24b6e1711d121
743
py
Python
erica/erica_legacy/elster_xml/est_validation.py
digitalservice4germany/erica
7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2
[ "MIT" ]
3
2022-01-31T15:17:17.000Z
2022-03-01T16:15:47.000Z
erica/erica_legacy/elster_xml/est_validation.py
digitalservice4germany/erica
7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2
[ "MIT" ]
59
2022-01-31T14:04:20.000Z
2022-03-31T20:08:47.000Z
erica/erica_legacy/elster_xml/est_validation.py
digitalservice4germany/erica
7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2
[ "MIT" ]
1
2022-03-10T09:24:28.000Z
2022-03-10T09:24:28.000Z
from erica.config import get_settings from erica.erica_legacy.elster_xml.bufa_numbers import VALID_BUFA_NUMBERS, VALID_TEST_BUFA_NUMBERS def is_valid_bufa(bufa, use_testmerker=False): """ Checks whether a number is a valid bufa. For this it has to be checked against all the different tax offices in differ...
43.705882
119
0.786003
117
743
4.777778
0.478632
0.118068
0.085868
0.071556
0.100179
0.100179
0
0
0
0
0
0
0.176312
743
16
120
46.4375
0.913399
0.471063
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e6eb47c66befe52d838e06cd8cf3021de906f837
1,985
py
Python
tests/test_e01_link_options.py
simonvh/genomepy
b4a58a5db55fe89fc2d398abc8134220420bcea7
[ "MIT" ]
112
2017-04-20T00:36:41.000Z
2019-11-07T18:58:38.000Z
tests/test_e01_link_options.py
simonvh/genomepy
b4a58a5db55fe89fc2d398abc8134220420bcea7
[ "MIT" ]
51
2017-01-25T16:25:15.000Z
2019-11-19T08:29:58.000Z
tests/test_e01_link_options.py
simonvh/genomepy
b4a58a5db55fe89fc2d398abc8134220420bcea7
[ "MIT" ]
15
2017-04-28T07:18:36.000Z
2019-10-29T14:03:06.000Z
import pytest skip = False if not skip: @pytest.fixture(scope="module", params=["primary_assembly", "toplevel"]) def assembly(request): return request.param @pytest.fixture(scope="module", params=["98", None]) def release_version(request): return request.param @pytest.fixture(sco...
35.446429
88
0.665995
241
1,985
5.344398
0.302905
0.086957
0.059006
0.065217
0.402174
0.378882
0.257764
0.085404
0.085404
0
0
0.015122
0.233753
1,985
55
89
36.090909
0.83169
0.225693
0
0.172414
0
0
0.111724
0
0
0
0
0
0.137931
1
0.241379
false
0
0.034483
0.103448
0.37931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
e6f2c59d3dcb536918c91757f6baf0fa7c8073c4
1,949
py
Python
catnap/tests/api/views.py
aehlke/django-catnap
4272cff0de639a65f5cc0fe131370e1531fc2e11
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
catnap/tests/api/views.py
aehlke/django-catnap
4272cff0de639a65f5cc0fe131370e1531fc2e11
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
catnap/tests/api/views.py
aehlke/django-catnap
4272cff0de639a65f5cc0fe131370e1531fc2e11
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.db import transaction from django.forms import forms from django.forms.models import modelformset_factory, formset_factory from django.http import Http404, HttpResponseRedirect, HttpResponse from django.shortcuts import get_object_or_404, render_to_r...
27.842857
73
0.708568
234
1,949
5.777778
0.474359
0.066568
0.022189
0.02071
0
0
0
0
0
0
0
0.006427
0.201642
1,949
69
74
28.246377
0.862468
0.184197
0
0
0
0
0.053583
0.024113
0
0
0
0
0
1
0.125
false
0
0.375
0.09375
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e6f834755fddd4d98c7a3e4cf1896f7afcea3bc6
183
py
Python
mysite/myAPI/listdictAPI.py
wuchunlong0/Account_drf_Vue
00b5ffbfa947f25c9a24f7e2ef71fe635d378bf7
[ "Apache-2.0" ]
null
null
null
mysite/myAPI/listdictAPI.py
wuchunlong0/Account_drf_Vue
00b5ffbfa947f25c9a24f7e2ef71fe635d378bf7
[ "Apache-2.0" ]
null
null
null
mysite/myAPI/listdictAPI.py
wuchunlong0/Account_drf_Vue
00b5ffbfa947f25c9a24f7e2ef71fe635d378bf7
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- # 删除字典中value为空的键值对方法 def deldictNULL(mydict): for key in list(mydict.keys()): if not mydict.get(key): del mydict[key] return mydict
26.142857
35
0.606557
23
183
4.826087
0.73913
0
0
0
0
0
0
0
0
0
0
0.007353
0.256831
183
7
36
26.142857
0.808824
0.218579
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e6ff31380964dd41e78cdf67e554b2d2f76a26c7
41,193
py
Python
yandex/cloud/vpc/v1/route_table_service_pb2.py
kbespalov/python-sdk
e86563ee850e46a35b4c84053ecd4affdf66a963
[ "MIT" ]
null
null
null
yandex/cloud/vpc/v1/route_table_service_pb2.py
kbespalov/python-sdk
e86563ee850e46a35b4c84053ecd4affdf66a963
[ "MIT" ]
null
null
null
yandex/cloud/vpc/v1/route_table_service_pb2.py
kbespalov/python-sdk
e86563ee850e46a35b4c84053ecd4affdf66a963
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: yandex/cloud/vpc/v1/route_table_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _...
47.239679
5,170
0.769014
5,177
41,193
5.826734
0.066834
0.020885
0.037129
0.058876
0.738439
0.671938
0.644787
0.569468
0.536383
0.528758
0
0.059554
0.097104
41,193
871
5,171
47.293915
0.751485
0.035734
0
0.643577
1
0.016373
0.317859
0.278564
0
0
0
0
0
1
0
false
0
0.013854
0
0.013854
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fc00de36876906cc49d572bc81d8a7eeec901cb8
363
py
Python
src/petclaw/limiters/__init__.py
ketch/pyclaw
15ad4fb972e7540bde1670f7d924ae16e590237d
[ "BSD-3-Clause" ]
1
2017-08-18T19:53:22.000Z
2017-08-18T19:53:22.000Z
src/petclaw/limiters/__init__.py
ketch/pyclaw
15ad4fb972e7540bde1670f7d924ae16e590237d
[ "BSD-3-Clause" ]
2
2015-08-31T07:01:02.000Z
2017-03-07T22:54:21.000Z
src/petclaw/limiters/__init__.py
ketch/pyclaw
15ad4fb972e7540bde1670f7d924ae16e590237d
[ "BSD-3-Clause" ]
1
2017-11-15T11:29:22.000Z
2017-11-15T11:29:22.000Z
#!/usr/bin/env python # encoding: utf-8 """ __init__.py Created by Kyle Mandli on 2008-08-21. Copyright (c) 2008 University of Washington. All rights reserved. """ # This __init__ script only imports common utilities, most of the import # should be done depending on the solver needed from riemann import * __all__ ...
20.166667
73
0.743802
55
363
4.690909
0.818182
0
0
0
0
0
0
0
0
0
0
0.043046
0.168044
363
17
74
21.352941
0.811258
0.746556
0
0
0
0
0.0375
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fc1672809ba0e982c86ee6a3837a5c099744fbce
61
py
Python
configuration_overrider/__init__.py
jtviegas/configuration-overrider
d1ac550ea041938465a31d3236c85622aad7b798
[ "Unlicense" ]
null
null
null
configuration_overrider/__init__.py
jtviegas/configuration-overrider
d1ac550ea041938465a31d3236c85622aad7b798
[ "Unlicense" ]
null
null
null
configuration_overrider/__init__.py
jtviegas/configuration-overrider
d1ac550ea041938465a31d3236c85622aad7b798
[ "Unlicense" ]
null
null
null
"""package: configuration-overrider""" __version__ = '0.0.6'
20.333333
38
0.704918
7
61
5.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0.053571
0.081967
61
2
39
30.5
0.642857
0.52459
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fc17a055e647c74ddc24b722a54225a43044343e
714
py
Python
python-backend/app/api/variances/resources/variance_document_category_code.py
pdittaro/mds
ecec7f2d1ca91c702043475c615fcc727f287c9d
[ "Apache-2.0" ]
null
null
null
python-backend/app/api/variances/resources/variance_document_category_code.py
pdittaro/mds
ecec7f2d1ca91c702043475c615fcc727f287c9d
[ "Apache-2.0" ]
null
null
null
python-backend/app/api/variances/resources/variance_document_category_code.py
pdittaro/mds
ecec7f2d1ca91c702043475c615fcc727f287c9d
[ "Apache-2.0" ]
1
2020-01-22T14:19:16.000Z
2020-01-22T14:19:16.000Z
from flask_restplus import Resource from app.extensions import api from ..models.variance_document_category_code import VarianceDocumentCategoryCode from ..response_models import VARIANCE_DOCUMENT_CATEGORY_CODE from ...utils.access_decorators import requires_any_of, VIEW_ALL from ...utils.resources_mixins import UserM...
39.666667
84
0.795518
83
714
6.60241
0.542169
0.116788
0.175182
0.153285
0.072993
0
0
0
0
0
0
0.004823
0.128852
714
17
85
42
0.876206
0
0
0
0
0
0.081232
0
0
0
0
0
0
1
0.071429
false
0
0.428571
0.071429
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fc1bfb5e9ab47ff16706ac3666d50e3009555ee1
3,073
py
Python
ocempgui/widgets/Box.py
illume/eyestabs
9ce717743a6a4fe7b561c68599e9352da3acf080
[ "Unlicense" ]
null
null
null
ocempgui/widgets/Box.py
illume/eyestabs
9ce717743a6a4fe7b561c68599e9352da3acf080
[ "Unlicense" ]
null
null
null
ocempgui/widgets/Box.py
illume/eyestabs
9ce717743a6a4fe7b561c68599e9352da3acf080
[ "Unlicense" ]
null
null
null
# $Id: Box.py,v 1.1.2.1 2007/01/06 10:44:59 marcusva Exp $ # # Copyright (c) 2007, Marcus von Appen # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
37.024096
78
0.70615
429
3,073
5.02331
0.461538
0.016705
0.015777
0.021346
0.124362
0.102088
0.102088
0.063109
0.063109
0.063109
0
0.009298
0.230068
3,073
82
79
37.47561
0.901522
0.754963
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.1875
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fc1db4e806b193f5557e3ce7cc6c281d4bfb7ae8
580
py
Python
contrib/dev_faulthandler.py
leigh123linux/streamtuner2
43ded3a68bcf3d968a99c849d779fc8c3fb3d8d8
[ "MIT" ]
1
2019-03-03T19:58:01.000Z
2019-03-03T19:58:01.000Z
contrib/dev_faulthandler.py
leigh123linux/streamtuner2
43ded3a68bcf3d968a99c849d779fc8c3fb3d8d8
[ "MIT" ]
null
null
null
contrib/dev_faulthandler.py
leigh123linux/streamtuner2
43ded3a68bcf3d968a99c849d779fc8c3fb3d8d8
[ "MIT" ]
null
null
null
# api: python # title: faulthandler # description: capture fatal errors / memory fauls / Gtk and threading bugs # version: -1 # type: io # category: debug # priority: development # # Debug Gtk/glibs/python/threading crashes. # # * Gdk:ERROR:/build/buildd/gtk+2.0-2.24.23/gdk/gdkregion-generic.c:1110:miUnionNonO: # ass...
24.166667
85
0.696552
78
580
5.102564
0.871795
0
0
0
0
0
0
0
0
0
0
0.032653
0.155172
580
23
86
25.217391
0.779592
0.72931
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
fc23ace8942d8aebd0dd32297c80fa4c72a36cd3
224
py
Python
1528-shuffle-string/1528-shuffle-string.py
MayaScarlet/leetcode-python
8ef0c5cadf2e975957085c0ef84a8c3d90a64b6a
[ "MIT" ]
null
null
null
1528-shuffle-string/1528-shuffle-string.py
MayaScarlet/leetcode-python
8ef0c5cadf2e975957085c0ef84a8c3d90a64b6a
[ "MIT" ]
null
null
null
1528-shuffle-string/1528-shuffle-string.py
MayaScarlet/leetcode-python
8ef0c5cadf2e975957085c0ef84a8c3d90a64b6a
[ "MIT" ]
null
null
null
class Solution: def restoreString(self, s: str, indices: List[int]) -> str: res = [0] * len(indices) for i, j in zip(s, indices) : res[j] = i return "".join(res)
24.888889
63
0.464286
28
224
3.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0.007407
0.397321
224
8
64
28
0.762963
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fc2a6c9049df32fc2df04c325aeb94fda6c8f1a5
219
py
Python
ctypes/message_box_demo.py
t4d-classes/python_10042021
e2c28448ad66784c429655ab766f902b76d6ac79
[ "MIT" ]
1
2021-04-23T13:09:04.000Z
2021-04-23T13:09:04.000Z
ctypes/message_box_demo.py
t4d-classes/python_10042021
e2c28448ad66784c429655ab766f902b76d6ac79
[ "MIT" ]
null
null
null
ctypes/message_box_demo.py
t4d-classes/python_10042021
e2c28448ad66784c429655ab766f902b76d6ac79
[ "MIT" ]
1
2021-04-24T01:32:02.000Z
2021-04-24T01:32:02.000Z
from ctypes import windll, WinDLL, c_char_p, CDLL, cdll import ctypes, ctypes.util label = c_char_p(b'A Message Box') message = c_char_p(b'...with a message!') windll.user32.MessageBoxA(0, message, label, 0x00000000)
27.375
56
0.753425
37
219
4.297297
0.513514
0.09434
0.113208
0.08805
0
0
0
0
0
0
0
0.0625
0.123288
219
7
57
31.285714
0.765625
0
0
0
0
0
0.141553
0
0
0
0.045662
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
fc30c0150100b9a645c89d7478ae44cb9df1735b
3,794
py
Python
tpDcc/dccs/unreal/dcc.py
tpDcc/tpDcc-dccs-unreal
445757c5e0055cb47f09a0623dc21639969563ea
[ "MIT" ]
1
2021-03-03T03:04:43.000Z
2021-03-03T03:04:43.000Z
tpDcc/dccs/unreal/dcc.py
tpDcc/tpDcc-dccs-unreal
445757c5e0055cb47f09a0623dc21639969563ea
[ "MIT" ]
null
null
null
tpDcc/dccs/unreal/dcc.py
tpDcc/tpDcc-dccs-unreal
445757c5e0055cb47f09a0623dc21639969563ea
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- """ Module that contains Unreal DCC implementation """ import unreal from Qt.QtWidgets import QDialogButtonBox from tpDcc.core import dcc from tpDcc.libs.python import decorators from tpDcc.dccs.unreal.core import helpers # ===========================================...
19.658031
115
0.536373
376
3,794
5.295213
0.303191
0.024108
0.016072
0.028127
0.250126
0.1999
0.155701
0.09342
0.041185
0
0
0.001995
0.207169
3,794
192
116
19.760417
0.659907
0.493147
0
0.186047
0
0
0.005777
0
0
0
0
0
0
1
0.395349
false
0.023256
0.139535
0
0.860465
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fc3dd741920ebb8ca60d3dfe7ed2e62c27dcadfc
136
py
Python
projeto_Mercado/teste.py
thiagofreitascarneiro/Projetos_python
6057adbca8a2dd3658208749efd00abac4393375
[ "MIT" ]
1
2021-08-04T14:57:31.000Z
2021-08-04T14:57:31.000Z
MercadoPy/teste.py
hlruffo/exercicios_Python
614c5dbaaf553b7295af554c6f98b169758db645
[ "MIT" ]
null
null
null
MercadoPy/teste.py
hlruffo/exercicios_Python
614c5dbaaf553b7295af554c6f98b169758db645
[ "MIT" ]
null
null
null
from models.produto import Produto ps4 = Produto('Playstation 4', 1789.44) xbox = Produto('Xbox 360', 1699.00) print(ps4) print(xbox)
17
39
0.727941
21
136
4.714286
0.666667
0
0
0
0
0
0
0
0
0
0
0.152542
0.132353
136
7
40
19.428571
0.686441
0
0
0
0
0
0.154412
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fc4a46c12f15134517f1b4a87f04f62253db34b9
275
py
Python
kitsune/motidings/tests/__init__.py
AndrewDVXI/kitsune
84bd4fa60346681c3fc5a03b0b1540fd1335cee2
[ "BSD-3-Clause" ]
929
2015-01-04T08:08:51.000Z
2022-03-31T06:20:44.000Z
kitsune/motidings/tests/__init__.py
hafixo/kitsune
d7756872e16590eea1c6adaeb5bc78f83414d753
[ "BSD-3-Clause" ]
1,751
2015-01-02T00:04:37.000Z
2022-03-31T10:24:30.000Z
kitsune/motidings/tests/__init__.py
Whoerr/kitsune
2428573b4920a824c3e712b8a4870f8c1ada8f64
[ "BSD-3-Clause" ]
605
2015-01-01T14:08:36.000Z
2022-03-28T15:39:45.000Z
from factory import fuzzy from factory.django import DjangoModelFactory from tidings.models import Watch class WatchFactory(DjangoModelFactory): class Meta: model = Watch event_type = "fooevent" is_active = True secret = fuzzy.FuzzyText(length=10)
21.153846
45
0.741818
32
275
6.3125
0.71875
0.108911
0
0
0
0
0
0
0
0
0
0.009091
0.2
275
12
46
22.916667
0.909091
0
0
0
0
0
0.029091
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fc503f246d812312e3b3342b39c5375f2c8fdb28
260
py
Python
radius of the circle.py
sollarasu04/radius-of-the-circle
aa1768ba201823aa5bf3b9ebb8bf796b7dbe5f0d
[ "MIT" ]
null
null
null
radius of the circle.py
sollarasu04/radius-of-the-circle
aa1768ba201823aa5bf3b9ebb8bf796b7dbe5f0d
[ "MIT" ]
null
null
null
radius of the circle.py
sollarasu04/radius-of-the-circle
aa1768ba201823aa5bf3b9ebb8bf796b7dbe5f0d
[ "MIT" ]
null
null
null
"""write a Python program which accepts the radius of a circle from the user and computes area.""" from math import pi r = float(input ("Input the radius of the circle : ")) print ("The area of the circle with radius " + str(r) + " is: " + str(pi * r**2))
52
99
0.665385
45
260
3.844444
0.577778
0.104046
0.127168
0
0
0
0
0
0
0
0
0.004878
0.211538
260
4
100
65
0.839024
0.353846
0
0
0
0
0.462025
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
fc521e204a978b11e219b0fd2b91c08104a1854e
232
py
Python
app/__init__.py
CryptoSalamander/DeepFake-Detection-WebService
a58e973a928fdf474d9df9421108a0e79269c5c4
[ "Apache-2.0" ]
1
2021-02-03T08:40:21.000Z
2021-02-03T08:40:21.000Z
app/__init__.py
CryptoSalamander/DeepFake-Detection-Webservice
a58e973a928fdf474d9df9421108a0e79269c5c4
[ "Apache-2.0" ]
null
null
null
app/__init__.py
CryptoSalamander/DeepFake-Detection-Webservice
a58e973a928fdf474d9df9421108a0e79269c5c4
[ "Apache-2.0" ]
null
null
null
from flask import Flask import os import json with open('config.json') as f: config = json.load(f) app = Flask(__name__) app.config["SECRET_KEY"] = os.environ.get('SECRET_KEY') or config["SECRET_KEY"] from app import routes
17.846154
79
0.724138
38
232
4.236842
0.5
0.167702
0.186335
0
0
0
0
0
0
0
0
0
0.150862
232
12
80
19.333333
0.817259
0
0
0
0
0
0.176724
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
fc53b2a3a1cb5f36bca0dc068223394180664a01
704
py
Python
run_simulation_sybil_1.py
LiTrans/Sybil
bccd9f58dd3988f0af5cd1d4cef6bb4b6cd6ede8
[ "MIT" ]
null
null
null
run_simulation_sybil_1.py
LiTrans/Sybil
bccd9f58dd3988f0af5cd1d4cef6bb4b6cd6ede8
[ "MIT" ]
null
null
null
run_simulation_sybil_1.py
LiTrans/Sybil
bccd9f58dd3988f0af5cd1d4cef6bb4b6cd6ede8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import subprocess from optparse import OptionParser import os import time import sys #Batch that runs the simulation many times # python run_simulation_sybil_1.py -r 50 # Dedant il y a sumo_server_montreal_sybil_1.py OU sumo_server_montreal_sybil_1_A_1.py options = OptionParse...
23.466667
89
0.708807
107
704
4.448598
0.607477
0.05042
0.113445
0.144958
0.155462
0.105042
0
0
0
0
0
0.028961
0.166193
704
29
90
24.275862
0.781942
0.267045
0
0
0
0
0.305613
0.232848
0
0
0
0
0
0
null
null
0
0.384615
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
1
0
0
0
0
2
fc669cd80dd0633a73755029ebe3559397982548
1,123
py
Python
params_helpers.py
iitis/tsptw_code
9f0ed7d6786c80c6db79c0396534ea825156fb2b
[ "MIT" ]
5
2021-06-21T10:16:38.000Z
2022-03-09T15:25:24.000Z
params_helpers.py
iitis/tsptw_code
9f0ed7d6786c80c6db79c0396534ea825156fb2b
[ "MIT" ]
null
null
null
params_helpers.py
iitis/tsptw_code
9f0ed7d6786c80c6db79c0396534ea825156fb2b
[ "MIT" ]
2
2021-07-30T08:14:24.000Z
2021-12-16T04:26:27.000Z
# Finds the optmial cost def find_opt_cost(data): min_cost = data[data.A == -1]['cost'].values[0] return min_cost # Finds the energy corresponding to optimal route def find_opt_energy(data): opt_energy = data[data.A == -1]['energy'].values[0] return opt_energy # Returns true if optimal route is obs...
32.085714
116
0.674087
175
1,123
4.177143
0.234286
0.076607
0.060192
0.082079
0.4487
0.4487
0.4487
0.413133
0.268126
0.268126
0
0.014396
0.195904
1,123
34
117
33.029412
0.795127
0.256456
0
0.25
0
0
0.012077
0
0
0
0
0
0
1
0.25
false
0
0
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fc7d61385aaa387df7957fd7c6f0ea02de0451b0
195
py
Python
sparetheair/makevar.py
cmumford/sparetheair
de817be4f2ba9ab66460c1b0c61dc237fcf060ac
[ "Apache-2.0" ]
null
null
null
sparetheair/makevar.py
cmumford/sparetheair
de817be4f2ba9ab66460c1b0c61dc237fcf060ac
[ "Apache-2.0" ]
null
null
null
sparetheair/makevar.py
cmumford/sparetheair
de817be4f2ba9ab66460c1b0c61dc237fcf060ac
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import fileinput print('const char var[] =') for line in fileinput.input(): line = line.strip() line = line.replace('"', r'\"') print(r' "%s\n"' % line) print(';')
17.727273
33
0.6
28
195
4.178571
0.678571
0.136752
0
0
0
0
0
0
0
0
0
0.006135
0.164103
195
10
34
19.5
0.711656
0.107692
0
0
0
0
0.16763
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
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
1
0
2
5d760d56261f326f7763e1de75eddc853a93f8a7
3,497
py
Python
c7n/registry.py
fadiguezel/cloud-custodian
147fffcf9a109ffd4248a746775b55def5a727c5
[ "Apache-2.0" ]
null
null
null
c7n/registry.py
fadiguezel/cloud-custodian
147fffcf9a109ffd4248a746775b55def5a727c5
[ "Apache-2.0" ]
null
null
null
c7n/registry.py
fadiguezel/cloud-custodian
147fffcf9a109ffd4248a746775b55def5a727c5
[ "Apache-2.0" ]
1
2021-02-16T21:24:09.000Z
2021-02-16T21:24:09.000Z
# Copyright 2015-2017 Capital One Services, LLC # # 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 ...
31.223214
82
0.650844
433
3,497
5.12933
0.424942
0.046826
0.01891
0.014408
0.056731
0.038721
0.038721
0.038721
0
0
0
0.007492
0.274807
3,497
111
83
31.504505
0.868297
0.460109
0
0.170213
0
0
0.014245
0
0
0
0
0
0
1
0.234043
false
0
0.06383
0.085106
0.553191
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5d79b409a735dcd78fec8c064645479846b00b95
421
py
Python
config.py
edumorris/newser
c672e6e2a6efb3ae4c679c28f844dc7fd5b6e865
[ "MIT" ]
null
null
null
config.py
edumorris/newser
c672e6e2a6efb3ae4c679c28f844dc7fd5b6e865
[ "MIT" ]
null
null
null
config.py
edumorris/newser
c672e6e2a6efb3ae4c679c28f844dc7fd5b6e865
[ "MIT" ]
null
null
null
import os class Config: ''' General config ''' NEWS_BASE_URL = 'https://newsapi.org/v2/everything?q={}&apiKey={}' NEWS_API_KEY = os.environ.get('NEWS_API_KEY') #0ffd6c1788664312bcf394317d938e5e SECRET_KEY = os.environ.get('SECRET_KEY') class ProdConfig(Config): pass class DevConfig(Confi...
20.047619
83
0.68171
48
421
5.791667
0.604167
0.05036
0.071942
0.107914
0
0
0
0
0
0
0
0.067055
0.185273
421
21
84
20.047619
0.74344
0.111639
0
0
0
0
0.253482
0
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
5d8918a0d09473392f7558b74853dc42cc20add0
3,400
py
Python
benford/constants.py
milcent/benford-py
10026b7eae8f929269f879d86f3216975028e061
[ "BSD-3-Clause" ]
null
null
null
benford/constants.py
milcent/benford-py
10026b7eae8f929269f879d86f3216975028e061
[ "BSD-3-Clause" ]
null
null
null
benford/constants.py
milcent/benford-py
10026b7eae8f929269f879d86f3216975028e061
[ "BSD-3-Clause" ]
null
null
null
DIGS = {1: 'F1D', 2: 'F2D', 3: 'F3D', 22: 'SD', -2: 'L2D'} SEC_ORDER_DIGS = {key: f'{val}_sec' for key, val in DIGS.items()} REV_DIGS = {'F1D': 1, 'F2D': 2, 'F3D': 3, 'SD': 22, 'L2D': -2} LEN_TEST = {1: 9, 2: 90, 3: 900, 22: 10, -2: 100} TEST_NAMES = {'F1D': 'First Digit Test', 'F2D': 'First Two Digits Test', ...
48.571429
74
0.531471
561
3,400
3.188948
0.418895
0.035774
0.041923
0.035215
0.026831
0
0
0
0
0
0
0.340033
0.282941
3,400
69
75
49.275362
0.393765
0.104118
0
0
0
0
0.221856
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5da820bba41471cc5b3d835f43db6551f342d5db
5,324
py
Python
nuage_shim/base.py
txdev/nuage_shim
dab289fe2396bf85020beb36e227d4bffe088c28
[ "BSD-3-Clause" ]
null
null
null
nuage_shim/base.py
txdev/nuage_shim
dab289fe2396bf85020beb36e227d4bffe088c28
[ "BSD-3-Clause" ]
null
null
null
nuage_shim/base.py
txdev/nuage_shim
dab289fe2396bf85020beb36e227d4bffe088c28
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2016 Nokia, Inc. # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
30.774566
78
0.635237
667
5,324
5
0.241379
0.036282
0.044978
0.056672
0.587406
0.584408
0.573013
0.524138
0.492654
0.462369
0
0.002406
0.297521
5,324
172
79
30.953488
0.889305
0.610068
0
0.47619
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.261905
0.071429
0
0.404762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
5daacef493ffe5fce653966496d8392bb32d40ea
469
py
Python
v_0_1/migrations/0006_auto_20160404_2029.py
qamaruz/dfms
f091db9658718da1d72c429eb5740bd0f774d4bc
[ "MIT" ]
null
null
null
v_0_1/migrations/0006_auto_20160404_2029.py
qamaruz/dfms
f091db9658718da1d72c429eb5740bd0f774d4bc
[ "MIT" ]
null
null
null
v_0_1/migrations/0006_auto_20160404_2029.py
qamaruz/dfms
f091db9658718da1d72c429eb5740bd0f774d4bc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-04-04 12:29 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('v_0_1', '0005_data_arduinoid'), ] operations = [ migrations.AlterField( ...
22.333333
74
0.618337
53
469
5.264151
0.754717
0
0
0
0
0
0
0
0
0
0
0.095101
0.260128
469
20
75
23.45
0.708934
0.142857
0
0
1
0
0.095238
0
0
0
0
0
0
0
null
null
0
0.153846
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
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
5db3a7093da87c37733b0655933ac431efdc5fd0
2,102
py
Python
tests/test_core.py
cgrdn/medsrtqc
3e50201997a0aeeec4479af6b71646e729b42a58
[ "MIT" ]
null
null
null
tests/test_core.py
cgrdn/medsrtqc
3e50201997a0aeeec4479af6b71646e729b42a58
[ "MIT" ]
2
2021-07-09T19:12:55.000Z
2021-07-09T19:38:42.000Z
tests/test_core.py
cgrdn/medsrtqc
3e50201997a0aeeec4479af6b71646e729b42a58
[ "MIT" ]
1
2022-02-16T14:44:51.000Z
2022-02-16T14:44:51.000Z
import unittest import numpy as np from medsrtqc.core import Trace, Profile class TestCore(unittest.TestCase): def test_trace(self): trace = Trace([1, 2, 3]) self.assertTrue(np.all(trace.value == np.array([1, 2, 3]))) with self.assertRaises(ValueError): Trace([1, 2, 3], [1, 2...
36.877193
77
0.617031
248
2,102
5.120968
0.205645
0.050394
0.125984
0.214961
0.417323
0.340157
0.259843
0.097638
0.097638
0
0
0.01677
0.234063
2,102
56
78
37.535714
0.77205
0
0
0.2
0
0
0.12851
0.009995
0
0
0
0
0.444444
1
0.088889
false
0
0.066667
0
0.177778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
5dceee480f77bb116e5fe0a53d65f1b449262fed
1,090
py
Python
qiniu_ufop/web/dispatcher.py
Xavier-Lam/qiniu-ufop
02c6119c69637cb39e2b73a915e68b77afa07fe3
[ "MIT" ]
5
2019-06-10T12:53:41.000Z
2020-12-06T02:57:37.000Z
qiniu_ufop/web/dispatcher.py
Xavier-Lam/qiniu-ufop
02c6119c69637cb39e2b73a915e68b77afa07fe3
[ "MIT" ]
null
null
null
qiniu_ufop/web/dispatcher.py
Xavier-Lam/qiniu-ufop
02c6119c69637cb39e2b73a915e68b77afa07fe3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import re class AbstractDispatcher(object): def __init__(self, application, preserve_name=False): self.application = application self.preserve_name = preserve_name def dispatch(self, buffer, cmd, content_type, request): ...
28.684211
64
0.629358
119
1,090
5.613445
0.462185
0.08982
0.047904
0.062874
0.125749
0.125749
0.125749
0.125749
0
0
0
0.001244
0.262385
1,090
37
65
29.459459
0.829602
0.072477
0
0.16
0
0
0.006012
0
0
0
0
0
0
1
0.24
false
0
0.08
0.04
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5dd8cce7212ca7a27466cb1f34f3b544498a9a84
243
py
Python
tests/port_tests/point_tests/test_pickle.py
synapticarbors/wagyu
b98354611dceda8888f2951e9704f843a4e88c27
[ "MIT" ]
1
2021-01-20T05:49:13.000Z
2021-01-20T05:49:13.000Z
tests/port_tests/point_tests/test_pickle.py
synapticarbors/wagyu
b98354611dceda8888f2951e9704f843a4e88c27
[ "MIT" ]
1
2020-11-20T18:21:24.000Z
2020-11-20T18:21:37.000Z
tests/port_tests/point_tests/test_pickle.py
synapticarbors/wagyu
b98354611dceda8888f2951e9704f843a4e88c27
[ "MIT" ]
2
2020-11-20T18:17:31.000Z
2021-01-20T14:58:22.000Z
from hypothesis import given from tests.utils import pickle_round_trip from wagyu.point import Point from . import strategies @given(strategies.points) def test_round_trip(point: Point) -> None: assert pickle_round_trip(point) == point
22.090909
44
0.794239
35
243
5.342857
0.485714
0.144385
0.160428
0.203209
0
0
0
0
0
0
0
0
0.135802
243
10
45
24.3
0.890476
0
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.571429
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5deb6feb213f77519dc47b2362c10914a5fbf131
1,505
py
Python
Leak #5 - Lost In Translation/windows/Resources/Ops/PyScripts/lib/ops/data/audit.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
9
2019-11-22T04:58:40.000Z
2022-02-26T16:47:28.000Z
Python.Fuzzbunch/Resources/Ops/PyScripts/lib/ops/data/audit.py
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
null
null
null
Python.Fuzzbunch/Resources/Ops/PyScripts/lib/ops/data/audit.py
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
8
2017-09-27T10:31:18.000Z
2022-01-08T10:30:46.000Z
from ops.data import OpsClass, OpsField, DszObject, DszCommandObject, cmd_definitions import dsz class AuditingEventData(DszObject, ): def __init__(self, dszpath='', cmdid=None, opsclass=None, parent=None, debug=False): DszObject.__init__(self, dszpath, cmdid, dszauditevent, parent, debug) def __get...
71.666667
578
0.760133
163
1,505
6.717791
0.306748
0.063927
0.071233
0.03653
0.043836
0
0
0
0
0
0
0.00149
0.108306
1,505
21
579
71.666667
0.814456
0
0
0
0
0
0.214618
0
0
0
0
0
0
1
0.1875
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
5df3dcb328667dc27999277ee22ff0656b32ecec
295
py
Python
problemsets/Codeforces/Python/A557.py
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/Python/A557.py
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/Python/A557.py
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
""" * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * """ n=int(input()) a,b=map(int,input().split()) c,d=map(int,input().split()) e,f=map(int,input().split()) m=n-a-c-e x=max(0,min(m,b-a));m-=x y=max(0,min(m,d-c));m-=y z=max(0,min(m,f-e));m-=z print(a+x,c+y,e+z)
18.4375
38
0.586441
69
295
2.507246
0.376812
0.184971
0.190751
0.277457
0
0
0
0
0
0
0
0.011152
0.088136
295
15
39
19.666667
0.63197
0.254237
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b900043961c59e0ba4cce30c484584f40e7e9415
1,713
py
Python
tools/http_benchmark.py
kyranet/deno
86409eb8369107a4c4944d3db0090ffc79395823
[ "MIT" ]
1
2019-08-27T00:58:06.000Z
2019-08-27T00:58:06.000Z
tools/http_benchmark.py
kyranet/deno
86409eb8369107a4c4944d3db0090ffc79395823
[ "MIT" ]
null
null
null
tools/http_benchmark.py
kyranet/deno
86409eb8369107a4c4944d3db0090ffc79395823
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright 2018 the Deno authors. All rights reserved. MIT license. import os import sys import util import time import subprocess ADDR = "127.0.0.1:4544" DURATION = "10s" def deno_http_benchmark(deno_exe): deno_cmd = [deno_exe, "--allow-net", "tests/http_bench.ts", ADDR] print "http_b...
26.765625
75
0.649737
240
1,713
4.366667
0.379167
0.148855
0.049618
0.057252
0.171756
0.125954
0.066794
0
0
0
0
0.016845
0.237595
1,713
63
76
27.190476
0.785605
0.096906
0
0
0
0
0.17304
0.03046
0
0
0
0.015873
0
0
null
null
0
0.108696
null
null
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
b901e5c4a61814594b3000fbaaf2234b08355120
6,713
py
Python
ambari-metrics/ambari-metrics-timelineservice/src/main/python/amc_service.py
kennyballou/ambari
8985bcf11296d540a861a8634c17d6b9b1accd5a
[ "Apache-2.0" ]
1
2015-05-04T12:19:05.000Z
2015-05-04T12:19:05.000Z
ambari-metrics/ambari-metrics-timelineservice/src/main/python/amc_service.py
kennyballou/ambari
8985bcf11296d540a861a8634c17d6b9b1accd5a
[ "Apache-2.0" ]
null
null
null
ambari-metrics/ambari-metrics-timelineservice/src/main/python/amc_service.py
kennyballou/ambari
8985bcf11296d540a861a8634c17d6b9b1accd5a
[ "Apache-2.0" ]
1
2021-01-07T08:55:01.000Z
2021-01-07T08:55:01.000Z
#!/usr/bin/env python ''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License")...
38.36
123
0.756294
862
6,713
5.703016
0.320186
0.029089
0.049227
0.020342
0.098454
0.077299
0.04882
0.031326
0.031326
0.031326
0
0.001784
0.165053
6,713
174
124
38.58046
0.87529
0.158201
0
0.122449
0
0
0.131552
0.019322
0
0
0
0
0
0
null
null
0.102041
0.102041
null
null
0.010204
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
f8dafbe4fd5ef01cea45d6041abbc30c5a8abd23
2,745
py
Python
Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor_config.py
AhmedLeithy/Recognizers-Text
f5426e38a09d3974fc0979b7803a4cd17258ea62
[ "MIT" ]
688
2019-05-08T02:56:21.000Z
2022-03-30T07:26:15.000Z
Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor_config.py
AhmedLeithy/Recognizers-Text
f5426e38a09d3974fc0979b7803a4cd17258ea62
[ "MIT" ]
840
2019-05-07T07:00:02.000Z
2022-03-30T14:52:11.000Z
Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor_config.py
AhmedLeithy/Recognizers-Text
f5426e38a09d3974fc0979b7803a4cd17258ea62
[ "MIT" ]
283
2019-05-07T07:52:12.000Z
2022-03-27T02:27:58.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from typing import Pattern from recognizers_text import RegExpUtility from ...resources.chinese_date_time import ChineseDateTime from ..base_set import SetExtractorConfiguration from .duration_extractor import ChineseDura...
29.836957
69
0.725683
288
2,745
6.559028
0.211806
0.087348
0.041292
0.053997
0.409211
0.337215
0.303335
0.121758
0.076231
0.076231
0
0
0.213115
2,745
91
70
30.164835
0.874537
0.032787
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.231884
false
0
0.115942
0.217391
0.57971
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
f8de3e3f924a849c7b4dd0c2135c8a8c18eeef59
464
py
Python
tests/strategies/catalog.py
lycantropos/paradigm
a74cd885e2a07418425379099ddc090edc6e1772
[ "MIT" ]
3
2019-09-11T07:24:07.000Z
2020-11-27T04:09:06.000Z
tests/strategies/catalog.py
lycantropos/paradigm
a74cd885e2a07418425379099ddc090edc6e1772
[ "MIT" ]
21
2018-11-08T17:34:00.000Z
2019-12-14T13:57:29.000Z
tests/strategies/catalog.py
lycantropos/paradigm
a74cd885e2a07418425379099ddc090edc6e1772
[ "MIT" ]
1
2019-09-11T07:24:14.000Z
2019-09-11T07:24:14.000Z
from paradigm import catalog from tests.utils import pack from .utils import (identifiers, modules, to_homogeneous_tuples) objects_paths = to_homogeneous_tuples(identifiers).map(pack(catalog.Path)) non_empty_objects_paths = (to_homogeneous_tuples(identifiers, ...
38.666667
74
0.622845
49
464
5.632653
0.44898
0.141304
0.206522
0.181159
0.304348
0.304348
0
0
0
0
0
0.003106
0.306034
464
11
75
42.181818
0.854037
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f8e122983049a9f1eb9c8fc7ff322ad7c4bf4837
2,345
py
Python
tests/lib/bes/fs/test_file_checksum_db.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
tests/lib/bes/fs/test_file_checksum_db.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
tests/lib/bes/fs/test_file_checksum_db.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- import time from bes.testing.unit_test import unit_test import os, os.path as path, tempfile from bes.fs.file_checksum_db import file_checksum_db from bes.fs.file_util import file_util from bes.fs.temp_file...
41.140351
95
0.708742
358
2,345
4.391061
0.226257
0.080153
0.151399
0.187023
0.663486
0.644402
0.630407
0.630407
0.630407
0.630407
0
0.029904
0.158635
2,345
56
96
41.875
0.766853
0.062687
0
0.574468
0
0
0.068793
0
0
0
0
0
0.361702
1
0.085106
false
0
0.148936
0
0.255319
0
0
0
0
null
0
0
1
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
2
f8fe976f991d51efde488a65fc475eaaf0c7fa09
2,841
py
Python
uncertainties/unumpy/__init__.py
AdityaSavara/uncertainties
7fbe4713eb6088d53860a26f37f354f313800f5e
[ "BSD-3-Clause" ]
364
2015-03-21T23:48:05.000Z
2022-03-28T14:05:21.000Z
uncertainties/unumpy/__init__.py
AdityaSavara/uncertainties
7fbe4713eb6088d53860a26f37f354f313800f5e
[ "BSD-3-Clause" ]
119
2015-03-10T00:56:56.000Z
2022-03-29T21:06:01.000Z
uncertainties/unumpy/__init__.py
AdityaSavara/uncertainties
7fbe4713eb6088d53860a26f37f354f313800f5e
[ "BSD-3-Clause" ]
62
2015-01-14T16:25:26.000Z
2022-02-23T12:10:20.000Z
""" Utilities for NumPy arrays and matrices that contain numbers with uncertainties. This package contains: 1) utilities that help with the creation and manipulation of NumPy arrays and matrices of numbers with uncertainties; 2) generalizations of multiple NumPy functions so that they also work with arrays that cont...
35.074074
74
0.768743
427
2,841
5.0726
0.395785
0.050785
0.110803
0.084026
0.177747
0.11542
0.025854
0.025854
0
0
0
0.01764
0.161915
2,841
80
75
35.5125
0.892062
0.960225
0
0
0
0
0.068627
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5d08a41ad44c6a09dd59f75d23bdeae2df4e64aa
448
py
Python
tutorials/W3D1_RealNeurons/solutions/W3D1_Tutorial4_Solution_139e3e70.py
NinelK/course-content
317b4cf153a89afbddbd194e7fbb15c91588b3c5
[ "CC-BY-4.0" ]
26
2020-07-01T20:38:44.000Z
2021-06-20T06:37:27.000Z
tutorials/W3D1_RealNeurons/solutions/W3D1_Tutorial4_Solution_139e3e70.py
Andy-Dufrein/course-content
977f4ddaaa4f33746672930ae01d5ea592dbbba0
[ "CC-BY-4.0" ]
3
2020-06-23T03:46:36.000Z
2020-07-07T05:26:01.000Z
tutorials/W3D1_RealNeurons/solutions/W3D1_Tutorial4_Solution_139e3e70.py
Andy-Dufrein/course-content
977f4ddaaa4f33746672930ae01d5ea592dbbba0
[ "CC-BY-4.0" ]
16
2020-07-06T06:48:02.000Z
2021-07-30T08:18:52.000Z
""" Discussion: As we increase the input firing rate, more synapses move to the extreme values, either go to zero or to maximal conductance. Using 15Hz, the distribution of the weights at the end of the simulation is more like a bell-shaped, skewed, with more synapses to be potentiated. However, increasing the fir...
40.727273
83
0.776786
72
448
4.833333
0.736111
0.057471
0
0
0
0
0
0
0
0
0
0.00542
0.176339
448
11
84
40.727273
0.937669
0.977679
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5d09e78c24ac5928a01bd00979a105ffc6cf604c
1,431
py
Python
FunpySpiderSearch/items.py
searchlyf/FunpySpiderSearchEngine
bc7090c4a926576047dd2fe4bea7d1e04e72d5df
[ "Apache-2.0" ]
null
null
null
FunpySpiderSearch/items.py
searchlyf/FunpySpiderSearchEngine
bc7090c4a926576047dd2fe4bea7d1e04e72d5df
[ "Apache-2.0" ]
null
null
null
FunpySpiderSearch/items.py
searchlyf/FunpySpiderSearchEngine
bc7090c4a926576047dd2fe4bea7d1e04e72d5df
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy from abc import ABCMeta, abstractmethod class FunpyspidersearchItem(scrapy.Item): # define the fields for your item here like: # name = scrapy....
16.448276
52
0.561146
124
1,431
6.387097
0.604839
0.107323
0.037879
0.058081
0
0
0
0
0
0
0
0.001034
0.324249
1,431
86
53
16.639535
0.817994
0.366876
0
0.391304
0
0
0
0
0
0
0
0.011628
0
1
0.173913
false
0.217391
0.086957
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
5d0ef098e44473c1ef21e0df857d87895e3fb44b
45,932
py
Python
merlinepg/src/plugin.py
builder08/enigma2-plugins
45583c69b807ce26d756a51973c81d877afe3694
[ "OLDAP-2.3" ]
null
null
null
merlinepg/src/plugin.py
builder08/enigma2-plugins
45583c69b807ce26d756a51973c81d877afe3694
[ "OLDAP-2.3" ]
null
null
null
merlinepg/src/plugin.py
builder08/enigma2-plugins
45583c69b807ce26d756a51973c81d877afe3694
[ "OLDAP-2.3" ]
null
null
null
from __future__ import absolute_import ####################################################################### # # Merlin Programm Guide for Dreambox-Enigma2 # Coded by Vali (c)2010-2011 # # This plugin is licensed under the Creative Commons # Attribution-NonCommercial-ShareAlike 3.0 Unported License. # To vie...
43.413989
206
0.706457
5,752
45,932
5.579277
0.115438
0.020223
0.024866
0.011841
0.747819
0.727097
0.674093
0.643712
0.632993
0.613486
0
0.04682
0.128581
45,932
1,057
207
43.455061
0.754959
0.024667
0
0.598244
0
0.104281
0.353152
0.07678
0
0
0
0
0
1
0.094402
false
0.006586
0.02854
0.001098
0.150384
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5d0f13e794378f42ce0488c1c49c6d9f1716f0f0
371
py
Python
src/pycaptioner/test/system_test.py
scmmmh/pycaptioner
e16f5f3e7b17b1d312481735007bd65625404f39
[ "MIT" ]
null
null
null
src/pycaptioner/test/system_test.py
scmmmh/pycaptioner
e16f5f3e7b17b1d312481735007bd65625404f39
[ "MIT" ]
null
null
null
src/pycaptioner/test/system_test.py
scmmmh/pycaptioner
e16f5f3e7b17b1d312481735007bd65625404f39
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ .. moduleauthor:: Mark Hall <mark.hall@mail.room3b.eu> """ from csv import DictReader from io import TextIOWrapper from nose.tools import eq_ from pkg_resources import resource_stream def full_test(): reader = DictReader(TextIOWrapper(resource_stream('pycaptioner', 'test/data/points.c...
24.733333
94
0.716981
49
371
5.326531
0.673469
0.061303
0
0
0
0
0
0
0
0
0
0.00639
0.156334
371
15
95
24.733333
0.827476
0.207547
0
0
0
0
0.108392
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.625
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
0
0
0
0
1
0
1
0
0
2