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
8744bb3e64b04286013f99155a9d8703df12a0a6
8,798
py
Python
core/api/tests/test_unit_views.py
divinedeveloper/mini-quora
4465937c2a3cd35387f75f04b9e705a8504d9dab
[ "Apache-2.0" ]
null
null
null
core/api/tests/test_unit_views.py
divinedeveloper/mini-quora
4465937c2a3cd35387f75f04b9e705a8504d9dab
[ "Apache-2.0" ]
null
null
null
core/api/tests/test_unit_views.py
divinedeveloper/mini-quora
4465937c2a3cd35387f75f04b9e705a8504d9dab
[ "Apache-2.0" ]
null
null
null
from rest_framework.test import APIRequestFactory, APIClient from rest_framework import status from django.conf import settings from core.api.models import User, Question, Answer, Tenant from core.api.custom_exceptions import CustomApiException from core.api.services import Services from core.api.serializers import Us...
40.173516
132
0.78211
1,126
8,798
5.854352
0.120782
0.056887
0.04915
0.036408
0.781098
0.73665
0.706614
0.699484
0.682342
0.682342
0
0.017275
0.118322
8,798
218
133
40.357798
0.832538
0.094681
0
0.577778
0
0
0.115042
0.048613
0
0
0
0
0.266667
1
0.066667
false
0
0.103704
0
0.177778
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8758d143964928aa668be5d70ffddfee8938cfe8
1,166
py
Python
setup.py
acheamponge/ninsiiah
c7f7664f1a3831180ceda1f3befc9d5199f7c169
[ "MIT" ]
1
2019-07-04T15:00:23.000Z
2019-07-04T15:00:23.000Z
setup.py
acheamponge/ninsiiah
c7f7664f1a3831180ceda1f3befc9d5199f7c169
[ "MIT" ]
null
null
null
setup.py
acheamponge/ninsiiah
c7f7664f1a3831180ceda1f3befc9d5199f7c169
[ "MIT" ]
1
2020-09-18T21:13:58.000Z
2020-09-18T21:13:58.000Z
import io import os import re from setuptools import find_packages from setuptools import setup def read(filename): filename = os.path.join(os.path.dirname(__file__), filename) text_type = type(u"") with io.open(filename, mode="r", encoding='utf-8') as fd: return re.sub(text_type(r':[a-z]+:`~?(.*...
27.116279
87
0.623499
141
1,166
5.070922
0.553191
0.212587
0.27972
0.181818
0
0
0
0
0
0
0
0.018478
0.210978
1,166
42
88
27.761905
0.758696
0
0
0
0
0
0.41681
0.020583
0
0
0
0
0
1
0.03125
false
0
0.15625
0
0.21875
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
875bff5c89e6b3148b510280dc4930b871207258
1,295
py
Python
test/test_edit_api.py
Cloudmersive/Cloudmersive.APIClient.Python.ImageRecognition
280666acc0b34d905ff54fe2aaec1768a0a3d0e7
[ "Apache-2.0" ]
1
2018-06-24T01:33:50.000Z
2018-06-24T01:33:50.000Z
test/test_edit_api.py
Cloudmersive/Cloudmersive.APIClient.Python.ImageRecognition
280666acc0b34d905ff54fe2aaec1768a0a3d0e7
[ "Apache-2.0" ]
null
null
null
test/test_edit_api.py
Cloudmersive/Cloudmersive.APIClient.Python.ImageRecognition
280666acc0b34d905ff54fe2aaec1768a0a3d0e7
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ imageapi Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations. # noqa: E501 OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ fr...
23.125
172
0.685714
165
1,295
5.127273
0.448485
0.056738
0.094563
0.122931
0.306147
0.243499
0.148936
0
0
0
0
0.020346
0.240927
1,295
55
173
23.545455
0.840285
0.430116
0
0.222222
0
0
0.012559
0
0
0
0
0
0
1
0.277778
false
0.222222
0.277778
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
876816723e59820da15f88025d9b428f00d9e81c
9,374
py
Python
hybridbackend/tensorflow/data/parquet_dataset_ragged_test.py
alibaba/HybridBackend
498f74038fbc3be4ab1de6a8c3c2ef99f39af5e3
[ "Apache-2.0" ]
38
2021-12-01T06:54:36.000Z
2022-03-23T11:23:21.000Z
hybridbackend/tensorflow/data/parquet_dataset_ragged_test.py
alibaba/HybridBackend
498f74038fbc3be4ab1de6a8c3c2ef99f39af5e3
[ "Apache-2.0" ]
15
2021-12-01T09:15:26.000Z
2022-03-28T02:49:21.000Z
hybridbackend/tensorflow/data/parquet_dataset_ragged_test.py
alibaba/HybridBackend
498f74038fbc3be4ab1de6a8c3c2ef99f39af5e3
[ "Apache-2.0" ]
8
2021-12-02T01:16:14.000Z
2022-01-28T04:51:16.000Z
# Copyright 2021 Alibaba Group Holding Limited. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
35.778626
79
0.631747
1,239
9,374
4.566586
0.170299
0.04772
0.031813
0.028279
0.724461
0.708554
0.69795
0.693178
0.693178
0.687699
0
0.015746
0.241199
9,374
261
80
35.915709
0.779699
0.089183
0
0.73991
0
0
0.021964
0
0
0
0
0
0.053812
1
0.040359
false
0
0.053812
0.004484
0.103139
0.004484
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
876a9361ce74a5296ca91aaa83a22ed2d50ec116
267
py
Python
input/stsci/ps_cone.py
JohnGood/servicemon
a320033904ee86c710248e68f12de7da7959853c
[ "BSD-3-Clause" ]
null
null
null
input/stsci/ps_cone.py
JohnGood/servicemon
a320033904ee86c710248e68f12de7da7959853c
[ "BSD-3-Clause" ]
null
null
null
input/stsci/ps_cone.py
JohnGood/servicemon
a320033904ee86c710248e68f12de7da7959853c
[ "BSD-3-Clause" ]
null
null
null
[ {'base_name': 'PanSTARRS', 'service_type': 'xcone', 'adql': '', 'access_url': 'https://catalogs.mast.stsci.edu/api/v0.1/panstarrs/dr2/' 'mean.votable?flatten_response=false&raw=false&sort_by=distance' '&ra={}&dec={}&radius={}' } ]
26.7
76
0.59176
32
267
4.78125
0.9375
0
0
0
0
0
0
0
0
0
0
0.013636
0.17603
267
9
77
29.666667
0.681818
0
0
0
0
0
0.707865
0.318352
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
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
876c718e9f374053a0be56fb0f09ceebbd0dbb6c
539
py
Python
lab_02/math_v1.py
idsdlab/basicai_sp21
af9acba34c0417fed830de1b61753c50fd303169
[ "MIT" ]
1
2021-03-23T16:18:00.000Z
2021-03-23T16:18:00.000Z
lab_02/math_v1.py
idsdlab/basicai_sp21
af9acba34c0417fed830de1b61753c50fd303169
[ "MIT" ]
null
null
null
lab_02/math_v1.py
idsdlab/basicai_sp21
af9acba34c0417fed830de1b61753c50fd303169
[ "MIT" ]
null
null
null
# sin(x) import math def derivative_of_sin(x): return math.cos(x) if __name__ == '__main__': x = 2.0 y = derivative_of_sin(x) print('x is ', x, 'derivative of sin(x): ', y) x = math.pi / 2 y = derivative_of_sin(x) print('x is ', x, 'derivative of sin(x): ', y) x = 0 y = derivativ...
22.458333
54
0.534323
90
539
3
0.244444
0.148148
0.5
0.533333
0.651852
0.651852
0.651852
0.651852
0.651852
0.651852
0
0.010582
0.298701
539
24
54
22.458333
0.703704
0.011132
0
0.444444
0
0
0.234962
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0.055556
0.166667
0.222222
0
0
0
null
0
1
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
3
5e522fd7cc95bdb82c4dbda39acc5ac1ec5a29bf
3,174
py
Python
tests/fixtures/digests/medium_content_99999.py
elifesciences/elife-bot
d3a102c8030e4b7ec83cbd45e5f839dba4f9ffd9
[ "MIT" ]
17
2015-02-10T07:10:29.000Z
2021-05-14T22:24:45.000Z
tests/fixtures/digests/medium_content_99999.py
elifesciences/elife-bot
d3a102c8030e4b7ec83cbd45e5f839dba4f9ffd9
[ "MIT" ]
459
2015-03-31T18:24:23.000Z
2022-03-30T19:44:40.000Z
tests/fixtures/digests/medium_content_99999.py
elifesciences/elife-bot
d3a102c8030e4b7ec83cbd45e5f839dba4f9ffd9
[ "MIT" ]
9
2015-04-18T16:57:31.000Z
2020-10-30T11:49:13.000Z
# coding=utf-8 from collections import OrderedDict EXPECTED = OrderedDict( [ ("title", u"Fishing for errors in the\xa0tests"), ("contentFormat", "html"), ( "content", u'<figure><img src="https://iiif.elifesciences.org/digests/99999%2Fdigest-99999.jpg/full/full/0/def...
186.705882
2,846
0.772842
474
3,174
5.177215
0.561181
0.00326
0.028117
0.03423
0.05053
0.023635
0
0
0
0
0
0.01482
0.149653
3,174
16
2,847
198.375
0.894035
0.003781
0
0
0
0.153846
0.925633
0.074684
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5e58dbad8f548081ccf0ccbf5aeb2063834eb2c6
15
py
Python
bottery/conf/global_settings.py
Yusadolat/bottery
b239793709e68cc5036b6d2a31fc101190efba85
[ "MIT" ]
null
null
null
bottery/conf/global_settings.py
Yusadolat/bottery
b239793709e68cc5036b6d2a31fc101190efba85
[ "MIT" ]
null
null
null
bottery/conf/global_settings.py
Yusadolat/bottery
b239793709e68cc5036b6d2a31fc101190efba85
[ "MIT" ]
null
null
null
TEMPLATES = []
7.5
14
0.6
1
15
9
1
0
0
0
0
0
0
0
0
0
0
0
0.2
15
1
15
15
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5e5d2cc610a0b8821a1d7981e70dad68e016ae2f
255
py
Python
ui_tests/exporter/pages/sites_page.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
1
2021-10-16T16:36:58.000Z
2021-10-16T16:36:58.000Z
ui_tests/exporter/pages/sites_page.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
45
2020-08-11T14:37:46.000Z
2022-03-29T17:03:02.000Z
ui_tests/exporter/pages/sites_page.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
3
2021-02-01T06:26:19.000Z
2022-02-21T23:02:46.000Z
from ui_tests.exporter.pages.BasePage import BasePage class SitesPage(BasePage): SITES_CHECKBOX = ".govuk-checkboxes__input" def click_sites_checkbox(self, no): self.driver.find_elements_by_css_selector(self.SITES_CHECKBOX)[no].click()
28.333333
82
0.776471
34
255
5.5
0.705882
0.208556
0
0
0
0
0
0
0
0
0
0
0.12549
255
8
83
31.875
0.838565
0
0
0
0
0
0.094118
0.094118
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5e6019619bcae43680483c621f2acc3ce3130c31
159
py
Python
sj/utils.py
takluyver/sj
24dfc4938294eda70d5062a79d238542537a22f9
[ "MIT" ]
null
null
null
sj/utils.py
takluyver/sj
24dfc4938294eda70d5062a79d238542537a22f9
[ "MIT" ]
null
null
null
sj/utils.py
takluyver/sj
24dfc4938294eda70d5062a79d238542537a22f9
[ "MIT" ]
null
null
null
import os.path _home = os.path.expanduser('~') def compress_user(path): if path.startswith(_home): return '~' + path[len(_home):] return path
19.875
38
0.641509
21
159
4.666667
0.571429
0.122449
0.285714
0
0
0
0
0
0
0
0
0
0.201258
159
7
39
22.714286
0.771654
0
0
0
0
0
0.012579
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5e7252bd0dd005bd910347e2ace4387010f97dfb
277
py
Python
ticket/api/admin.py
neslisahgamze/seating
e51f2ef19e6378cc1aa74bcf4582023bf910d663
[ "MIT" ]
null
null
null
ticket/api/admin.py
neslisahgamze/seating
e51f2ef19e6378cc1aa74bcf4582023bf910d663
[ "MIT" ]
null
null
null
ticket/api/admin.py
neslisahgamze/seating
e51f2ef19e6378cc1aa74bcf4582023bf910d663
[ "MIT" ]
null
null
null
""" Admin """ from django.contrib import admin from .models import Ticket, Category, Seat, Section, Event # Register your models here. admin.site.register(Ticket) admin.site.register(Category) admin.site.register(Seat) admin.site.register(Section) admin.site.register(Event)
23.083333
58
0.779783
38
277
5.684211
0.394737
0.208333
0.393519
0
0
0
0
0
0
0
0
0
0.097473
277
11
59
25.181818
0.864
0.122744
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5e96b600eef409e3c235e8fefde4d51746b0f6ea
7,073
py
Python
main.py
JJSrra/Research-GroupRecommendersForMovies
5ff66865192e648a3f1d280f7fea671e5ea7f09a
[ "MIT" ]
1
2019-11-24T17:19:58.000Z
2019-11-24T17:19:58.000Z
main.py
JJSrra/Research-GroupRecommendersForMovies
5ff66865192e648a3f1d280f7fea671e5ea7f09a
[ "MIT" ]
null
null
null
main.py
JJSrra/Research-GroupRecommendersForMovies
5ff66865192e648a3f1d280f7fea671e5ea7f09a
[ "MIT" ]
1
2019-11-24T17:20:15.000Z
2019-11-24T17:20:15.000Z
import numpy as np import pandas as pd import evaluation import similarity if __name__ == "__main__": array = np.array random_groups = pd.read_csv("generated_data/random_groups.csv", header=None).to_numpy() read_dict = open('generated_data/random_evaluated_movies.txt', 'r').read() random_evaluated...
53.583333
162
0.767284
817
7,073
6.145655
0.066095
0.103565
0.083649
0.044015
0.860386
0.79765
0.429397
0.429397
0.429397
0.41904
0
0
0.115934
7,073
131
163
53.992366
0.802975
0.057401
0
0.157895
1
0
0.268652
0.262034
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
1
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
3
5ea73af6824ea2a0e6a3c96297a9bb355f0309ec
240
py
Python
tools/update_terms_main.py
AutuanLiu/Kalman-Filter
1f4b567fdf9b6465d27ffcaba8da8404f3f80c62
[ "MIT" ]
8
2019-01-13T06:41:56.000Z
2021-11-15T09:00:46.000Z
tools/update_terms_main.py
AutuanLiu/Kalman-Filter
1f4b567fdf9b6465d27ffcaba8da8404f3f80c62
[ "MIT" ]
null
null
null
tools/update_terms_main.py
AutuanLiu/Kalman-Filter
1f4b567fdf9b6465d27ffcaba8da8404f3f80c62
[ "MIT" ]
3
2019-07-24T07:40:22.000Z
2021-05-03T12:37:18.000Z
"""重要工具包之工具使用 Copyright: ---------- Author: AutuanLiu Date: 2019/1/14 """ from core_tools import update_terms # !更新候选项 update_terms(data_root='data/', data_type_set={'linear', 'nonlinear', 'longlag_linear', 'longlag_nonlinear'})
18.461538
109
0.691667
29
240
5.448276
0.758621
0.139241
0
0
0
0
0
0
0
0
0
0.033333
0.125
240
12
110
20
0.719048
0.345833
0
0
0
0
0.34
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
0d6064cb2c5d5627c75aa1e498478a24622679ea
537
py
Python
F29.BioEntity/RunTests.py
foundation29org/F29.BioEntity
531947fb85465f363e63e268b9e3ca17283d76dd
[ "MIT" ]
null
null
null
F29.BioEntity/RunTests.py
foundation29org/F29.BioEntity
531947fb85465f363e63e268b9e3ca17283d76dd
[ "MIT" ]
null
null
null
F29.BioEntity/RunTests.py
foundation29org/F29.BioEntity
531947fb85465f363e63e268b9e3ca17283d76dd
[ "MIT" ]
null
null
null
import unittest from BioEntityTests import * USE_CACHE = True suite = unittest.TestSuite() suite.addTest(HPOGraphTests('en', use_cache=USE_CACHE)) suite.addTest(MondoGraphTests('en', use_cache=USE_CACHE)) suite.addTest(BioPhensTests('en', use_cache=USE_CACHE)) suite.addTest(BioGenesTests(use_cache=USE_CACHE)) sui...
25.571429
57
0.800745
72
537
5.763889
0.277778
0.289157
0.185542
0.26988
0.607229
0.563855
0.496386
0
0
0
0
0.001988
0.063315
537
20
58
26.85
0.823062
0
0
0
0
0
0.022388
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d7ee4518600b49e06e13d744afa57a8d4da5585
6,705
py
Python
.test/test-usecase-5.py
ItWillBeBetter/data-protection
6db0f4c7089fe110af8065583959d7dc13dba45e
[ "MIT-0" ]
93
2019-01-02T16:51:45.000Z
2022-02-13T07:29:36.000Z
.test/test-usecase-5.py
mukhendra/data-protection
6a4629855b181a4e5fbfb690b9b22203ff7e1b2e
[ "MIT-0" ]
2
2019-10-16T07:37:23.000Z
2021-06-07T10:38:37.000Z
.test/test-usecase-5.py
mukhendra/data-protection
6a4629855b181a4e5fbfb690b9b22203ff7e1b2e
[ "MIT-0" ]
54
2019-01-06T21:39:57.000Z
2022-02-25T09:01:05.000Z
import unittest import subprocess import boto3 import os import time from botocore.exceptions import ClientError # Note: beware of the limit on number of PCA certificates that can be generated! class TestUseCase5(unittest.TestCase): def setUp(self): self.ddb_client = boto3.client('dynamodb') self...
43.258065
122
0.631767
812
6,705
5.051724
0.160099
0.051195
0.044369
0.037299
0.757192
0.711604
0.699171
0.69137
0.69137
0.582399
0
0.014717
0.23997
6,705
154
123
43.538961
0.790228
0.028188
0
0.416667
1
0
0.241167
0.12212
0
0
0
0
0.128788
0
null
null
0
0.045455
null
null
0.083333
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
1
0
0
0
0
0
0
0
0
3
0d8065ff4b5a1e13452a4d6db853c06988c8a31f
1,063
py
Python
swifpy/dictionary.py
koher/kollect
1e77541d22e8dac753fdcc5d0ac1f745c771fc89
[ "MIT" ]
1
2017-02-17T03:29:43.000Z
2017-02-17T03:29:43.000Z
swifpy/dictionary.py
koher/kollect
1e77541d22e8dac753fdcc5d0ac1f745c771fc89
[ "MIT" ]
null
null
null
swifpy/dictionary.py
koher/kollect
1e77541d22e8dac753fdcc5d0ac1f745c771fc89
[ "MIT" ]
null
null
null
import typing as tp import builtins as py from .optional import Optional, optional K = tp.TypeVar('K') V = tp.TypeVar('V') class Dictionary(tp.Generic[K, V], tp.Iterable[tp.Tuple[K, V]]): def __init__(self, entries: tp.Dict[K, V]) -> None: self._entries: tp.Dict[K, V] = py.dict(entries) def __getite...
26.575
64
0.614299
150
1,063
4.146667
0.3
0.176849
0.072347
0.028939
0.061093
0.061093
0
0
0
0
0
0
0.231421
1,063
39
65
27.25641
0.761322
0
0
0.107143
0
0
0.001881
0
0
0
0
0
0
1
0.321429
false
0
0.107143
0.178571
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
1
0
0
0
1
1
0
0
3
0d8540287377b95878451a908cc20410bcd2406e
293
py
Python
app/__init__.py
kelvzxu/Biometric_machine_connector
2d21823d4d30db8c2e21d649f8dec6bc6d6b7d96
[ "MIT" ]
null
null
null
app/__init__.py
kelvzxu/Biometric_machine_connector
2d21823d4d30db8c2e21d649f8dec6bc6d6b7d96
[ "MIT" ]
null
null
null
app/__init__.py
kelvzxu/Biometric_machine_connector
2d21823d4d30db8c2e21d649f8dec6bc6d6b7d96
[ "MIT" ]
null
null
null
from flask import Flask import logging app = Flask(__name__) from . import attendance from . import controller from . import user from . import base if __name__ == "__main__": logging.basicConfig(filename='error.log',level=logging.DEBUG) app.run(host='0.0.0.0', port=5000)
22.538462
65
0.709898
41
293
4.780488
0.560976
0.204082
0.030612
0
0
0
0
0
0
0
0
0.033195
0.177474
293
13
66
22.538462
0.780083
0
0
0
0
0
0.085106
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0d8cb5dd1121a6a3b914e4f84f48c99c33756d17
466
py
Python
backend/app/models/meme.py
jnana-cetana/XMeme
cb7d5e31c455dc3c7e751dff9e7c8e067090936b
[ "MIT" ]
19
2021-02-15T19:55:25.000Z
2022-02-01T09:05:07.000Z
backend/app/models/meme.py
jnana-cetana/XMeme
cb7d5e31c455dc3c7e751dff9e7c8e067090936b
[ "MIT" ]
null
null
null
backend/app/models/meme.py
jnana-cetana/XMeme
cb7d5e31c455dc3c7e751dff9e7c8e067090936b
[ "MIT" ]
null
null
null
from sqlalchemy import Column, DateTime, Index, Integer, String from sqlalchemy.sql import func from app.db.base_class import Base class Meme(Base): id = Column(Integer, primary_key=True) name = Column(String, nullable=False) url = Column(String, nullable=False) caption = Column(String, nullable=Fals...
27.411765
63
0.712446
61
466
5.245902
0.540984
0.1125
0.1875
0.234375
0
0
0
0
0
0
0
0
0.180258
466
16
64
29.125
0.837696
0
0
0
0
0
0.030043
0
0
0
0
0
0
1
0
false
0
0.25
0
0.833333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0d9eddf41da9c980c042e11a76962d009a925c7f
102
py
Python
PyGamesScripts/Sudoku/main.py
tanvi355/Awesome_Python_Scripts
dd906dff3c311e260851f8720cbce77d7398be43
[ "MIT" ]
3
2021-06-22T07:12:31.000Z
2022-02-27T18:40:16.000Z
PyGamesScripts/Sudoku/main.py
tanvi355/Awesome_Python_Scripts
dd906dff3c311e260851f8720cbce77d7398be43
[ "MIT" ]
1
2021-07-02T15:36:02.000Z
2021-07-02T15:37:25.000Z
PyGamesScripts/Sudoku/main.py
tanvi355/Awesome_Python_Scripts
dd906dff3c311e260851f8720cbce77d7398be43
[ "MIT" ]
2
2021-10-03T16:22:08.000Z
2021-10-03T17:35:14.000Z
from app_class import * # The main driver code if __name__=="__main__": app = App() app.run()
12.75
24
0.647059
15
102
3.8
0.733333
0.210526
0
0
0
0
0
0
0
0
0
0
0.22549
102
7
25
14.571429
0.721519
0.196078
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0de2565984e10cb4bf0a07ad6ba2fa3958be3a23
592
py
Python
tests/util/module_for_assert_has_decorator.py
emartech/ems-dataflow-testframework
c70b0768573e9c4af98173bb0b444dee442de53a
[ "MIT" ]
null
null
null
tests/util/module_for_assert_has_decorator.py
emartech/ems-dataflow-testframework
c70b0768573e9c4af98173bb0b444dee442de53a
[ "MIT" ]
null
null
null
tests/util/module_for_assert_has_decorator.py
emartech/ems-dataflow-testframework
c70b0768573e9c4af98173bb0b444dee442de53a
[ "MIT" ]
1
2022-02-17T19:56:44.000Z
2022-02-17T19:56:44.000Z
from tests.util.dummy_decorator import dummydec class DecoratorDummy: @dummydec(103, stop_max_delay=10000, wait_fixed=1000) def method_with_decorator(self): pass @staticmethod @dummydec(multiple_by=2) def return_one(): return 1 def method_without_decorator(self): pas...
20.413793
57
0.692568
74
592
5.216216
0.445946
0.11658
0.134715
0.170984
0.38342
0.38342
0.26943
0.26943
0.26943
0.26943
0
0.066079
0.233108
592
28
58
21.142857
0.784141
0
0
0.35
0
0
0
0
0
0
0
0
0
1
0.3
false
0.25
0.05
0.05
0.45
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
0df3bc3866506cba140bf15a4e7a7226f8c88e21
6,470
py
Python
OCAES/OCAES_rules.py
EnergyModels/OCAES
d848d9fa621767e036824110de87450d524b7687
[ "MIT" ]
null
null
null
OCAES/OCAES_rules.py
EnergyModels/OCAES
d848d9fa621767e036824110de87450d524b7687
[ "MIT" ]
null
null
null
OCAES/OCAES_rules.py
EnergyModels/OCAES
d848d9fa621767e036824110de87450d524b7687
[ "MIT" ]
null
null
null
from pyomo.environ import * def pwr_wind(model, t): return model.P_wind[t] == model.X_wind * model.P_wind_fr[t] # ---------------- # Variable capacities - X_wind and X_storage are optimized variables # ---------------- def capacity_well_var(model): return model.X_well == model.X_storage def capacity_cmp_v...
29.409091
128
0.659505
984
6,470
4.057927
0.097561
0.066116
0.092161
0.088154
0.624593
0.505635
0.4002
0.363386
0.293263
0.262209
0
0.008949
0.188253
6,470
219
129
29.543379
0.751333
0.097836
0
0.057692
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.009615
0.355769
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
1
1
0
0
3
21b45d0d9aff34a1e81f93915016e44c46a400c5
724
py
Python
2019/day_04/python/day04.py
josephroquedev/advent-of-code
bb217deb7a5f5ed5c8c04cb726ddadb5b042ee4d
[ "MIT" ]
null
null
null
2019/day_04/python/day04.py
josephroquedev/advent-of-code
bb217deb7a5f5ed5c8c04cb726ddadb5b042ee4d
[ "MIT" ]
2
2021-06-02T00:41:38.000Z
2021-11-30T10:05:29.000Z
2019/day_04/python/day04.py
autoreleasefool/advent-of-code
bb217deb7a5f5ed5c8c04cb726ddadb5b042ee4d
[ "MIT" ]
null
null
null
from aoc import AOC, chunk aoc = AOC(year=2019, day=4) password_range = range(256310, 732736 + 1) # Part 1 def has_pair(p): return any(x == y for x, y in zip(p[:-1], p[1:])) def never_decreases(p): return all(int(y) >= int(x) for x, y in zip(p[:-1], p[1:])) def is_valid(p): return has_pair(str(p)) a...
19.567568
63
0.603591
143
724
2.951049
0.307692
0.023697
0.042654
0.052133
0.317536
0.317536
0.317536
0.317536
0.317536
0.317536
0
0.060391
0.222376
724
36
64
20.111111
0.689165
0.017956
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.210526
false
0.263158
0.052632
0.157895
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
21b7ccf14041bc20009777d2f302a84cb3f7a469
146
py
Python
t20.py
tarunagarwal99/python
13dbf4c4226430a3436d91d60f234827a05a6e0e
[ "MIT" ]
null
null
null
t20.py
tarunagarwal99/python
13dbf4c4226430a3436d91d60f234827a05a6e0e
[ "MIT" ]
null
null
null
t20.py
tarunagarwal99/python
13dbf4c4226430a3436d91d60f234827a05a6e0e
[ "MIT" ]
null
null
null
a=int(input("enter first number:")) b=int(input("enter second number:")) sum=0 for i in range (a,b+1): sum=sum+i print(sum)
20.857143
37
0.575342
26
146
3.230769
0.615385
0.190476
0.309524
0
0
0
0
0
0
0
0
0.018182
0.246575
146
6
38
24.333333
0.745455
0
0
0
0
0
0.278571
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21ba91bfcfbcd8bf7711f61ba60acdb9aff1a4ec
549
py
Python
bad_pickle.py
xvitkov/pv080_test.py
63fd45ac01217d005a99ee123129a780bc35d825
[ "MIT" ]
null
null
null
bad_pickle.py
xvitkov/pv080_test.py
63fd45ac01217d005a99ee123129a780bc35d825
[ "MIT" ]
null
null
null
bad_pickle.py
xvitkov/pv080_test.py
63fd45ac01217d005a99ee123129a780bc35d825
[ "MIT" ]
null
null
null
# contains bunch of buggy examples # taken from https://hackernoon.com/10-common-security-gotchas-in-python # -and-how-to-avoid-them-e19fbe265e03 def transcode_file(filename): """Input injection""" command = 'ffmpeg -i "{source}" output_file.mpg'.format(source=filename) return command # a bad i...
24.954545
77
0.653916
67
549
5.238806
0.835821
0
0
0
0
0
0
0
0
0
0
0.020882
0.214936
549
21
78
26.142857
0.793503
0.380692
0
0
0
0
0.204013
0
0
0
0
0
0.125
1
0.375
false
0
0
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
21ca6e75553bcbfe8b235a7ece1bd934c9f2a013
1,157
py
Python
server/migrations/0006_auto_20201107_1031.py
valdergallo/dbuddy
19de984abcdf8d0a512f725be1aa9abef67b5c6f
[ "MIT" ]
2
2020-11-07T11:51:20.000Z
2021-08-16T11:19:20.000Z
server/migrations/0006_auto_20201107_1031.py
valdergallo/dbuddy
19de984abcdf8d0a512f725be1aa9abef67b5c6f
[ "MIT" ]
7
2020-11-07T11:26:36.000Z
2021-08-21T12:21:45.000Z
server/migrations/0006_auto_20201107_1031.py
valdergallo/dbuddy
19de984abcdf8d0a512f725be1aa9abef67b5c6f
[ "MIT" ]
2
2021-08-17T21:18:34.000Z
2021-08-21T16:42:46.000Z
# Generated by Django 3.1.3 on 2020-11-07 10:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('server', '0005_auto_20201107_1029'), ] operations = [ migrations.AlterField( model_name='server', name='databases', ...
29.666667
86
0.574762
116
1,157
5.603448
0.439655
0.153846
0.192308
0.223077
0.415385
0.415385
0.295385
0.295385
0.156923
0
0
0.045735
0.300778
1,157
38
87
30.447368
0.757726
0.038894
0
0.4375
1
0
0.133333
0.020721
0
0
0
0
0
1
0
false
0.03125
0.03125
0
0.125
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21d867c7cdac703a2de9cf0371f70433dff33583
46
py
Python
python/testData/inspections/PyUnboundLocalVariableInspection/WhileOneBreak.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyUnboundLocalVariableInspection/WhileOneBreak.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyUnboundLocalVariableInspection/WhileOneBreak.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
while 1: a = 1 break print(a) # pass
9.2
16
0.5
8
46
2.875
0.75
0
0
0
0
0
0
0
0
0
0
0.071429
0.391304
46
4
17
11.5
0.75
0.086957
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21ef4e538eea810b1056d007defd55429f80961a
8,650
py
Python
board.py
roukaour/sudoku
f405f627b49b7400c8b41c36194d99ef4b6b179e
[ "MIT" ]
7
2015-09-30T19:09:29.000Z
2022-03-26T05:51:18.000Z
board.py
roukaour/sudoku
f405f627b49b7400c8b41c36194d99ef4b6b179e
[ "MIT" ]
1
2018-07-10T18:31:45.000Z
2018-07-11T01:32:11.000Z
board.py
roukaour/sudoku
f405f627b49b7400c8b41c36194d99ef4b6b179e
[ "MIT" ]
2
2019-06-26T11:37:31.000Z
2020-06-27T07:55:08.000Z
from __future__ import print_function from utils import * from color import * from cell import * from collections import namedtuple from itertools import product from functools import wraps Strategy = namedtuple('Strategy', ('name', 'function')) class Sudoku(object): """A 9x9 Sudoku board.""" UNIT_TYPES = ['row'...
35.162602
98
0.536879
1,749
8,650
2.609491
0.096055
0.346626
0.50745
0.659947
0.307625
0.260736
0.256792
0.256792
0.231814
0.231814
0
0.009647
0.22104
8,650
245
99
35.306122
0.667706
0.03422
0
0.17561
0
0.17561
0.387015
0.032641
0
0
0
0
0
1
0.15122
false
0
0.034146
0.082927
0.356098
0.043902
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21f3eb917a7fe5419c3bebc125b7b3d54ac6bcd3
633
py
Python
casepro/profiles/models.py
praekelt/helpdesk
69a7242679c30d2f7cb30a433809e738b9756a3c
[ "BSD-3-Clause" ]
null
null
null
casepro/profiles/models.py
praekelt/helpdesk
69a7242679c30d2f7cb30a433809e738b9756a3c
[ "BSD-3-Clause" ]
null
null
null
casepro/profiles/models.py
praekelt/helpdesk
69a7242679c30d2f7cb30a433809e738b9756a3c
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import, unicode_literals from django.contrib.auth.models import User from django.db import models from django.utils.translation import ugettext_lazy as _ from casepro.cases.models import Partner class Profile(models.Model): """ Extension for the user class """ user = m...
31.65
112
0.767773
84
633
5.583333
0.595238
0.063966
0
0
0
0
0
0
0
0
0
0.005525
0.14218
633
19
113
33.315789
0.858195
0.044234
0
0
0
0
0.103565
0
0
0
0
0
0
1
0
false
0.1
0.5
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
1
1
0
1
0
0
3
1d011029f0027ca57a60b4fdb462f2a827799b63
74
bzl
Python
src/main/kotlin/nl/tulipsolutions/keyderivation/deps.bzl
TulipSolutions/bitcoin-tools
1a78849d243d2e2834eb2c80276863ed5746f6c8
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/nl/tulipsolutions/keyderivation/deps.bzl
TulipSolutions/bitcoin-tools
1a78849d243d2e2834eb2c80276863ed5746f6c8
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/nl/tulipsolutions/keyderivation/deps.bzl
TulipSolutions/bitcoin-tools
1a78849d243d2e2834eb2c80276863ed5746f6c8
[ "Apache-2.0" ]
null
null
null
KEYDERIVATION_ARTIFACTS = [ "org.bouncycastle:bcprov-jdk15on:1.64", ]
18.5
43
0.72973
8
74
6.625
1
0
0
0
0
0
0
0
0
0
0
0.076923
0.121622
74
3
44
24.666667
0.738462
0
0
0
0
0
0.486486
0.486486
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d03a637d6ea0605fc1d459f9aef0c352e6eb042
737
py
Python
esl/simulation/entity.py
fagan2888/ESL
24ffa903e8c5b9e725eed9861623d4b6a4a205a2
[ "Apache-2.0" ]
1
2020-04-17T18:18:08.000Z
2020-04-17T18:18:08.000Z
esl/simulation/entity.py
fagan2888/ESL
24ffa903e8c5b9e725eed9861623d4b6a4a205a2
[ "Apache-2.0" ]
null
null
null
esl/simulation/entity.py
fagan2888/ESL
24ffa903e8c5b9e725eed9861623d4b6a4a205a2
[ "Apache-2.0" ]
null
null
null
from typing import List, TypeVar, Generic from esl.simulation.identity import Identity class Entity():#Generic[E]): __slots__ = ["identifier", "children"] identifier: Identity#[E] children: Identity.Digit#[E].Digit def __init__(self, identifier: Identity = Identity()): self.identifier = iden...
26.321429
58
0.666214
83
737
5.385542
0.337349
0.187919
0.134228
0.09396
0.1566
0.1566
0
0
0
0
0
0.001724
0.213026
737
28
59
26.321429
0.768966
0.032564
0
0
0
0
0.080169
0
0
0
0
0
0
1
0.315789
false
0
0.105263
0.263158
0.894737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1d08fcec9ab16e44922b06fdb2f2a22af020eed8
496
py
Python
EXAMPLES/Generator [Yield]/return_example.py
nkpydev/Python-Learning
e571a6890f750aafde49d24d00cc57c52419b61a
[ "MIT" ]
null
null
null
EXAMPLES/Generator [Yield]/return_example.py
nkpydev/Python-Learning
e571a6890f750aafde49d24d00cc57c52419b61a
[ "MIT" ]
null
null
null
EXAMPLES/Generator [Yield]/return_example.py
nkpydev/Python-Learning
e571a6890f750aafde49d24d00cc57c52419b61a
[ "MIT" ]
null
null
null
#-----------------------------------------------------------------# #! Python3 # Author : NK # Month, Year : March, 2019 # Info : Program to get Squares of numbers upto 25, using return # Desc : An example program to show usage of return #--------------------------------------...
29.176471
77
0.405242
47
496
4.106383
0.702128
0.093264
0
0
0
0
0
0
0
0
0
0.02439
0.256048
496
17
78
29.176471
0.498645
0.671371
0
0
0
0
0.051613
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.428571
0.142857
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
1
0
0
0
1
0
0
0
3
0dff7e31184db53a05f8d08fac2443533fb9a275
175
py
Python
tests/roots/test-add_source_parser/source_parser.py
sephalon/sphinx
c892fe98f7a311dc51340f8d98e63d9790b7f820
[ "BSD-2-Clause" ]
1
2021-11-06T17:09:04.000Z
2021-11-06T17:09:04.000Z
tests/roots/test-add_source_parser/source_parser.py
sephalon/sphinx
c892fe98f7a311dc51340f8d98e63d9790b7f820
[ "BSD-2-Clause" ]
1
2017-07-15T22:46:50.000Z
2017-07-15T22:46:50.000Z
tests/roots/test-add_source_parser/source_parser.py
sephalon/sphinx
c892fe98f7a311dc51340f8d98e63d9790b7f820
[ "BSD-2-Clause" ]
1
2021-11-06T17:08:54.000Z
2021-11-06T17:08:54.000Z
# -*- coding: utf-8 -*- from docutils.parsers import Parser class TestSourceParser(Parser): pass def setup(app): app.add_source_parser('.test', TestSourceParser)
14.583333
52
0.702857
21
175
5.761905
0.809524
0
0
0
0
0
0
0
0
0
0
0.006849
0.165714
175
11
53
15.909091
0.821918
0.12
0
0
0
0
0.032895
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
df053021daeb4f423d824f9ece49d1dc9d864d19
1,171
py
Python
pygl/grid.py
andreevnick/robust-financial-portfolio-management-framework
9450a00c8d0e78a621afc08f29b17e20fbcb3592
[ "Apache-2.0", "MIT" ]
1
2021-10-30T14:06:59.000Z
2021-10-30T14:06:59.000Z
pygl/grid.py
doctormee/robust-fpm-cmc-msu-edu-2021
9450a00c8d0e78a621afc08f29b17e20fbcb3592
[ "Apache-2.0", "MIT" ]
5
2021-04-18T14:03:17.000Z
2021-05-15T10:42:05.000Z
pygl/grid.py
doctormee/robust-fpm-cmc-msu-edu-2021
9450a00c8d0e78a621afc08f29b17e20fbcb3592
[ "Apache-2.0", "MIT" ]
1
2021-04-18T14:03:43.000Z
2021-04-18T14:03:43.000Z
import numpy as np from .util import coalesce __all__ = ['Grid'] class Grid: def __init__(self, delta, logscale=False, center=None, dtype=None, dtype_p=None): self.dtype = coalesce(dtype, np.float64) self.dtype_p = coalesce(dtype_p, np.int64) self.delta = np.asarray(delta,...
24.914894
85
0.550811
151
1,171
4.13245
0.298013
0.086538
0.067308
0.038462
0.11859
0.11859
0.11859
0.11859
0.11859
0.11859
0
0.007813
0.34415
1,171
47
86
24.914894
0.804688
0.025619
0
0
0
0
0.003509
0
0
0
0
0
0
1
0.285714
false
0
0.095238
0.190476
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
1
1
0
0
3
df208397d6f78277ea06be9554421d3136521236
5,926
py
Python
sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
29
2021-09-30T19:32:07.000Z
2022-03-22T21:06:08.000Z
sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
232
2021-09-30T19:26:26.000Z
2022-03-31T23:22:06.000Z
sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
4
2021-11-10T19:42:01.000Z
2022-02-05T10:15:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
42.633094
169
0.716672
646
5,926
6.20743
0.176471
0.146633
0.240898
0.303741
0.490524
0.386284
0.292269
0.238404
0.237157
0.206234
0
0.000846
0.201822
5,926
138
170
42.942029
0.846934
0.139555
0
0.102273
1
0
0.178085
0.119333
0
0
0
0
0
1
0.113636
false
0
0.068182
0
0.295455
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
df208a63a9af272793b6ab835cfd826c19f14586
224
py
Python
While/While2.py
liyuanyuan11/Python
d94cc7ab39e56c6e24bfc741a30da77590d1d220
[ "MIT" ]
null
null
null
While/While2.py
liyuanyuan11/Python
d94cc7ab39e56c6e24bfc741a30da77590d1d220
[ "MIT" ]
null
null
null
While/While2.py
liyuanyuan11/Python
d94cc7ab39e56c6e24bfc741a30da77590d1d220
[ "MIT" ]
null
null
null
name=input("Please input my daughter's name:") while name!="Nina" and name!="Anime": print("I'm sorry, but the name is not valid.") name=input("Please input my daughter's name:") print("Yes."+name+"is my daughter.")
37.333333
50
0.674107
38
224
3.973684
0.526316
0.198676
0.198676
0.264901
0.463576
0.463576
0.463576
0.463576
0
0
0
0
0.147321
224
5
51
44.8
0.790576
0
0
0.4
0
0
0.575893
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
df235e8fe3be4e23a350204599e3a479a24f361d
801
py
Python
utils/middleware/globalrequestmiddleware.py
pwqbot/eoj3
46be6a6f192798e74eab7b327bb8df7ca73575d9
[ "MIT" ]
107
2017-03-15T11:53:45.000Z
2019-09-06T11:23:44.000Z
utils/middleware/globalrequestmiddleware.py
OS-EDU/eoj3
f117dcd4e3cea7d150c3e3794e7255e00d486c88
[ "MIT" ]
27
2019-09-24T12:44:48.000Z
2022-03-11T23:18:21.000Z
utils/middleware/globalrequestmiddleware.py
OS-EDU/eoj3
f117dcd4e3cea7d150c3e3794e7255e00d486c88
[ "MIT" ]
25
2019-10-11T10:39:12.000Z
2022-03-18T05:15:57.000Z
import threading class GlobalRequestMiddleware(object): _threadmap = {} def __init__(self, get_response): self.get_response = get_response def __call__(self, request): self.process_request(request) response = self.get_response(request) return self.process_response(request, response) @classm...
23.558824
52
0.722846
92
801
5.98913
0.271739
0.079855
0.15245
0.188748
0.250454
0.196007
0.196007
0.196007
0.196007
0.196007
0
0
0.184769
801
33
53
24.272727
0.843798
0
0
0.32
0
0
0
0
0
0
0
0
0
1
0.24
false
0.08
0.04
0.04
0.48
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
df486600be7faa70d817e9e4dbf08dfebc37cf4f
628
py
Python
apps/core/account/management/commands/set_default_db.py
GMNaim/Online-Exam-System
ed1e18cf0c0fa7f896bde261988982b49825e61f
[ "MIT" ]
null
null
null
apps/core/account/management/commands/set_default_db.py
GMNaim/Online-Exam-System
ed1e18cf0c0fa7f896bde261988982b49825e61f
[ "MIT" ]
null
null
null
apps/core/account/management/commands/set_default_db.py
GMNaim/Online-Exam-System
ed1e18cf0c0fa7f896bde261988982b49825e61f
[ "MIT" ]
null
null
null
from django.core.management.base import BaseCommand from django.core.management import call_command class Command(BaseCommand): help = 'Set all default models objects to setup default db.' def handle(self, *args, **kwargs): print('[+] Resource: ', end='') call_command('loaddata', 'import_sql/...
34.888889
64
0.63535
72
628
5.416667
0.458333
0.141026
0.14359
0.225641
0.317949
0.317949
0
0
0
0
0
0
0.199045
628
17
65
36.941176
0.775348
0
0
0
0
0
0.355662
0.079745
0
0
0
0
0
1
0.076923
false
0
0.461538
0
0.692308
0.307692
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
df66703db6fd7e4f83cfb9aadc3e08c228c6e3ef
2,022
py
Python
mongodbatlas/atlasresource.py
ozlevka-work/MongoDB-Atlas-API
781221653ea3956243c03670ab50a5308390a76f
[ "Apache-2.0" ]
null
null
null
mongodbatlas/atlasresource.py
ozlevka-work/MongoDB-Atlas-API
781221653ea3956243c03670ab50a5308390a76f
[ "Apache-2.0" ]
null
null
null
mongodbatlas/atlasresource.py
ozlevka-work/MongoDB-Atlas-API
781221653ea3956243c03670ab50a5308390a76f
[ "Apache-2.0" ]
null
null
null
import pprint import random import string import json from datetime import datetime from dateutil import parser from mongodbatlas.outputformat import OutputFormat def json_datetime_encoder(item:datetime): return str(item) class AtlasResource: """ Base class for Atlas Resources """ def __init__(...
24.361446
86
0.638971
234
2,022
5.299145
0.303419
0.164516
0.067742
0.08871
0.108065
0.066129
0.066129
0
0
0
0
0.004011
0.260138
2,022
82
87
24.658537
0.824866
0.055885
0
0.192982
0
0
0.077208
0.054997
0
0
0
0
0
1
0.245614
false
0
0.122807
0.140351
0.54386
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
df6eef552fa665a22aaeb2ff7fbb0a497b62dda4
245
wsgi
Python
web/zagg/zagg.wsgi
fahlmant/openshift-tools
dbb4f16ccde3404c36c23108c45ca7b67138ee12
[ "Apache-2.0" ]
164
2015-07-29T17:35:04.000Z
2021-12-16T16:38:04.000Z
web/zagg/zagg.wsgi
fahlmant/openshift-tools
dbb4f16ccde3404c36c23108c45ca7b67138ee12
[ "Apache-2.0" ]
3,634
2015-06-09T13:49:15.000Z
2022-03-23T20:55:44.000Z
web/zagg/zagg.wsgi
fahlmant/openshift-tools
dbb4f16ccde3404c36c23108c45ca7b67138ee12
[ "Apache-2.0" ]
250
2015-06-08T19:53:11.000Z
2022-03-01T04:51:23.000Z
# Force location of zagg-web handler into path import sys sys.path.insert(0, '/var/www/zagg') from zagg import flask_app as application # Allow logging/errors to show up in Apache logs import logging, sys logging.basicConfig(stream=sys.stderr)
27.222222
48
0.787755
41
245
4.682927
0.756098
0
0
0
0
0
0
0
0
0
0
0.004695
0.130612
245
8
49
30.625
0.896714
0.371429
0
0
0
0
0.086093
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
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
1
0
1
0
0
0
0
3
df70971d0fc42528b0d4cf44482d55e3bcdfb772
2,977
py
Python
setup.py
goetzk/python-nectarallocationclient
383165bdaa6e38a13b63398ae7099e94df68efcd
[ "Apache-2.0" ]
null
null
null
setup.py
goetzk/python-nectarallocationclient
383165bdaa6e38a13b63398ae7099e94df68efcd
[ "Apache-2.0" ]
null
null
null
setup.py
goetzk/python-nectarallocationclient
383165bdaa6e38a13b63398ae7099e94df68efcd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup try: # for pip >= 10 from pip._internal.req import parse_requirements except ImportError: # for pip <= 9.0.3 from pip.req import parse_requirements requirements = pars...
43.144928
102
0.715821
292
2,977
7.25
0.421233
0.224374
0.22957
0.12565
0.036845
0
0
0
0
0
0
0.014646
0.174337
2,977
68
103
43.779412
0.846623
0.024521
0
0.067797
0
0
0.668966
0.372759
0
0
0
0
0
1
0
false
0
0.101695
0
0.101695
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
10bfbb168ab5bde6d22553a17d54719ac2702563
263
py
Python
kolibri/core/tasks/exceptions.py
MBKayro/kolibri
0a38a5fb665503cf8f848b2f65938e73bfaa5989
[ "MIT" ]
545
2016-01-19T19:26:55.000Z
2022-03-20T00:13:04.000Z
kolibri/core/tasks/exceptions.py
MBKayro/kolibri
0a38a5fb665503cf8f848b2f65938e73bfaa5989
[ "MIT" ]
8,329
2016-01-19T19:32:02.000Z
2022-03-31T21:23:12.000Z
kolibri/core/tasks/exceptions.py
MBKayro/kolibri
0a38a5fb665503cf8f848b2f65938e73bfaa5989
[ "MIT" ]
493
2016-01-19T19:26:48.000Z
2022-03-28T14:35:05.000Z
from concurrent.futures import CancelledError class UserCancelledError(CancelledError): """ An error raised when the user cancels the current job. """ pass class JobNotFound(Exception): pass class JobNotRestartable(Exception): pass
14.611111
58
0.722433
27
263
7.037037
0.740741
0.094737
0
0
0
0
0
0
0
0
0
0
0.212928
263
17
59
15.470588
0.917874
0.205323
0
0.428571
0
0
0
0
0
0
0
0
0
1
0
true
0.428571
0.142857
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
1
1
0
0
0
0
0
3
10ca30de440dbc442bea680fc768b9006be4f079
216
py
Python
cq/management/commands/cq_clear_logs.py
furious-luke/django-cq
9e7debc293cd4bfe2ef674e0e44f1c9a8a240df5
[ "BSD-3-Clause" ]
31
2016-09-16T05:32:43.000Z
2018-03-08T12:41:30.000Z
cq/management/commands/cq_clear_logs.py
furious-luke/django-cq
9e7debc293cd4bfe2ef674e0e44f1c9a8a240df5
[ "BSD-3-Clause" ]
13
2017-01-12T15:04:50.000Z
2017-12-05T04:41:27.000Z
cq/management/commands/cq_clear_logs.py
furious-luke/django-cq
9e7debc293cd4bfe2ef674e0e44f1c9a8a240df5
[ "BSD-3-Clause" ]
6
2016-09-16T05:32:54.000Z
2017-12-03T18:08:35.000Z
from django.core.management.base import BaseCommand from cq.tasks import clear_logs class Command(BaseCommand): help = 'Clear all logs from REDIS.' def handle(self, *args, **options): clear_logs()
21.6
51
0.712963
29
216
5.241379
0.724138
0.118421
0
0
0
0
0
0
0
0
0
0
0.189815
216
9
52
24
0.868571
0
0
0
0
0
0.12037
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
10eb411d0070e6fd494578fce087a082caeb0162
59
py
Python
pywakit/__init__.py
y-agg/pywakit
6eacaf6881418fc5a7c1ebd5c0d1bc0164f3c990
[ "MIT" ]
3
2020-09-04T07:45:04.000Z
2021-02-14T01:44:40.000Z
pywakit/__init__.py
y-agg/pywakit
6eacaf6881418fc5a7c1ebd5c0d1bc0164f3c990
[ "MIT" ]
null
null
null
pywakit/__init__.py
y-agg/pywakit
6eacaf6881418fc5a7c1ebd5c0d1bc0164f3c990
[ "MIT" ]
null
null
null
from pywakit.whatsapp import WhatsApp __version__ = '0.0.6'
29.5
37
0.79661
9
59
4.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0.056604
0.101695
59
2
38
29.5
0.754717
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8012640a619323c6019672e61062c7ef821e69cd
223
py
Python
optimizer.py
mullerpeter/hashcode2022
a2b36a34d27b001d4be6ee30f0aae9d0ace38ee6
[ "MIT" ]
null
null
null
optimizer.py
mullerpeter/hashcode2022
a2b36a34d27b001d4be6ee30f0aae9d0ace38ee6
[ "MIT" ]
null
null
null
optimizer.py
mullerpeter/hashcode2022
a2b36a34d27b001d4be6ee30f0aae9d0ace38ee6
[ "MIT" ]
null
null
null
from dataparser import Data from tqdm import tqdm import random def run_optimisation(data: Data, num_steps=10): pbar = tqdm(range(num_steps)) for i in pbar: continue # TODO: Implement Random Swaps
20.272727
47
0.699552
32
223
4.78125
0.65625
0.130719
0
0
0
0
0
0
0
0
0
0.011765
0.237668
223
10
48
22.3
0.888235
0.125561
0
0
0
0
0
0
0
0
0
0.1
0
1
0.142857
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
8014cf829d480aa0017b71a091427dbd9664818d
1,450
py
Python
fluxcompensator/tests/test_pipeline.py
koepferl/FluxCompensator
751cac08971845069da8c962bc83459f091ba0f8
[ "BSD-2-Clause" ]
9
2017-06-22T15:29:01.000Z
2021-03-24T11:55:41.000Z
fluxcompensator/tests/test_pipeline.py
koepferl/FluxCompensator
751cac08971845069da8c962bc83459f091ba0f8
[ "BSD-2-Clause" ]
1
2020-06-16T21:01:51.000Z
2020-06-16T21:01:51.000Z
fluxcompensator/tests/test_pipeline.py
koepferl/FluxCompensator
751cac08971845069da8c962bc83459f091ba0f8
[ "BSD-2-Clause" ]
5
2017-06-22T14:57:24.000Z
2020-06-14T16:46:44.000Z
import pytest import numpy as np import os from ..database.compact_pipeline import CompactPipeline, IRAC1, IRAC2, IRAC3, IRAC4, MIPS1, MIPS2, MIPS3, PACS1, PACS2, PACS3, SPIRE1, SPIRE2, SPIRE3, GLIMPSE_IRAC1, GLIMPSE_IRAC2, GLIMPSE_IRAC3, GLIMPSE_IRAC4, MIPSGAL_MIPS1, MIPSGAL_MIPS2, HIGAL_PACS1, HIGAL_PACS3, HIGAL_SP...
40.277778
430
0.753103
204
1,450
5.073529
0.357843
0.185507
0.188406
0.200966
0
0
0
0
0
0
0
0.085246
0.158621
1,450
35
431
41.428571
0.763115
0
0
0
0
0
0.008276
0
0
0
0
0
0.541667
1
0.083333
false
0
0.25
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
33879b0382df18d933b17711b9d4d5d2dd0f346f
145
py
Python
src/apiCall/urls.py
Akash16s/youtube-video-fetch-api
a662a089c33efd0f7454f7e34b4f291ffdc8a9ff
[ "Apache-2.0" ]
1
2021-11-14T10:30:16.000Z
2021-11-14T10:30:16.000Z
src/apiCall/urls.py
Akash16s/youtube-video-fetch-api
a662a089c33efd0f7454f7e34b4f291ffdc8a9ff
[ "Apache-2.0" ]
5
2021-03-30T13:22:16.000Z
2021-09-22T18:57:04.000Z
src/apiCall/urls.py
Akash16s/youtube-video-fetch-api
a662a089c33efd0f7454f7e34b4f291ffdc8a9ff
[ "Apache-2.0" ]
2
2020-09-04T04:35:35.000Z
2021-12-19T15:56:21.000Z
from django.urls import path from .views import * urlpatterns = [ path("youtube/", getYoutubeDetails.as_view(), name="baseline Upload"), ]
29
74
0.710345
17
145
6
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.151724
145
5
75
29
0.829268
0
0
0
0
0
0.161972
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
33b974c613e670f81b154def7d425e812740f118
984
py
Python
amr2seq/span.py
masterkeywikz/seq2graph
745cb09f10c67a77c0ef517f5d58ac45f2ade09d
[ "MIT" ]
10
2017-02-25T17:26:15.000Z
2022-02-23T06:36:54.000Z
amr2seq/span.py
masterkeywikz/seq2graph
745cb09f10c67a77c0ef517f5d58ac45f2ade09d
[ "MIT" ]
null
null
null
amr2seq/span.py
masterkeywikz/seq2graph
745cb09f10c67a77c0ef517f5d58ac45f2ade09d
[ "MIT" ]
8
2016-12-22T00:36:33.000Z
2021-05-19T17:55:59.000Z
""" sentence span mapping to special concepts in amr like name,date-entity,etc. """ class Span(object): def __init__(self,start,end,words,entity_tag): self.start = start self.end = end self.entity_tag = entity_tag self.words = words def set_entity_tag(self,entity_tag): ...
30.75
145
0.628049
141
984
4.049645
0.255319
0.141856
0.113835
0.084063
0.556918
0.402802
0.402802
0.402802
0.402802
0.402802
0
0
0.247967
984
31
146
31.741935
0.771622
0.07622
0
0.210526
0
0
0.068889
0
0
0
0
0
0
1
0.315789
false
0
0
0.157895
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
33bdde4618568109b24c6a025dc322a1c25518cb
39
py
Python
azure-kusto-ingest/azure/kusto/ingest/_version.py
yaniv-ms/azure-kusto-python
b1c323c3c5b264725cede98d6f9b3ad0eb0e993d
[ "MIT" ]
null
null
null
azure-kusto-ingest/azure/kusto/ingest/_version.py
yaniv-ms/azure-kusto-python
b1c323c3c5b264725cede98d6f9b3ad0eb0e993d
[ "MIT" ]
null
null
null
azure-kusto-ingest/azure/kusto/ingest/_version.py
yaniv-ms/azure-kusto-python
b1c323c3c5b264725cede98d6f9b3ad0eb0e993d
[ "MIT" ]
null
null
null
"""Version file.""" VERSION = "0.0.21"
13
19
0.564103
6
39
3.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.117647
0.128205
39
2
20
19.5
0.529412
0.333333
0
0
0
0
0.3
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d1c12689f11c5a9358989b6bd9fa886df8f2d9d
498
py
Python
test/unit/tool_util/mulled/test_mulled_build.py
corburn/galaxy
850d483bf260cba969ddb21de2f5404c15e09d1c
[ "CC-BY-3.0" ]
2
2017-03-28T12:11:41.000Z
2017-04-22T02:58:25.000Z
test/unit/tool_util/mulled/test_mulled_build.py
bioinfo1992/galaxy
46690eb76f3a1987ea2ac5ff0d3386177cf2154f
[ "CC-BY-3.0" ]
1
2019-08-19T15:24:17.000Z
2019-08-19T15:24:17.000Z
test/unit/tool_util/mulled/test_mulled_build.py
bioinfo1992/galaxy
46690eb76f3a1987ea2ac5ff0d3386177cf2154f
[ "CC-BY-3.0" ]
null
null
null
import pytest from galaxy.tool_util.deps.mulled.mulled_build import ( any_target_requires_extended_base, build_target, ) from ..util import external_dependency_management @pytest.mark.parametrize("target,requires_extended", [ ('maker', True), ('samtools', False) ]) @external_dependency_management def...
27.666667
75
0.791165
60
498
6.166667
0.433333
0.227027
0.356757
0.202703
0.354054
0.275676
0.275676
0.275676
0
0
0
0
0.116466
498
17
76
29.294118
0.840909
0
0
0
0
0
0.074297
0.048193
0
0
0
0
0.071429
1
0.071429
false
0
0.214286
0
0.285714
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d22201a83a2bbf1c25941488f2a1acec09ad837
2,237
py
Python
output/models/nist_data/list_pkg/unsigned_byte/schema_instance/nistschema_sv_iv_list_unsigned_byte_enumeration_2_xsd/nistschema_sv_iv_list_unsigned_byte_enumeration_2.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/list_pkg/unsigned_byte/schema_instance/nistschema_sv_iv_list_unsigned_byte_enumeration_2_xsd/nistschema_sv_iv_list_unsigned_byte_enumeration_2.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/list_pkg/unsigned_byte/schema_instance/nistschema_sv_iv_list_unsigned_byte_enumeration_2_xsd/nistschema_sv_iv_list_unsigned_byte_enumeration_2.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from enum import Enum from typing import Optional __NAMESPACE__ = "NISTSchema-SV-IV-list-unsignedByte-enumeration-2-NS" class NistschemaSvIvListUnsignedByteEnumeration2Type(Enum): VALUE_255_40_95_70_30_41 = ( 255, 40, 95, 70...
19.284483
76
0.386679
212
2,237
3.716981
0.372642
0.025381
0.053299
0.068528
0.560914
0.560914
0.446701
0.393401
0.185279
0
0
0.294406
0.544479
2,237
115
77
19.452174
0.478901
0
0
0.284404
0
0
0.07063
0.067054
0
0
0
0
0
1
0
false
0
0.027523
0
0.155963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
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
3
1d265bebaac2c7621f87df69a587e32acddb1001
735
py
Python
solidity/python/FormulaNativePython/__init__.py
samuelpilcer/contracts
9e2857ea984fc07b3ef5a2bac8e64554c06b5c0e
[ "Apache-2.0" ]
null
null
null
solidity/python/FormulaNativePython/__init__.py
samuelpilcer/contracts
9e2857ea984fc07b3ef5a2bac8e64554c06b5c0e
[ "Apache-2.0" ]
null
null
null
solidity/python/FormulaNativePython/__init__.py
samuelpilcer/contracts
9e2857ea984fc07b3ef5a2bac8e64554c06b5c0e
[ "Apache-2.0" ]
1
2018-04-03T12:39:19.000Z
2018-04-03T12:39:19.000Z
from decimal import Decimal from decimal import getcontext getcontext().prec = 80 # 78 digits for a maximum of 2^256-1, and 2 more digits for after the decimal point def calculatePurchaseReturn(supply, balance, weight, amount): return Decimal(supply)*((1+Decimal(amount)/Decimal(balance))**(Decimal(weight)/10000...
33.409091
106
0.744218
96
735
5.697917
0.395833
0.095064
0.062157
0.091408
0.13894
0.13894
0
0
0
0
0
0.045942
0.111565
735
21
107
35
0.79173
0.110204
0
0
0
0
0
0
0
0
0
0
0
1
0.363636
false
0
0.181818
0.363636
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1d41d63637517a0d2ddc3e749959ee2bc22da517
1,162
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/WGL/ARB/create_context.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/WGL/ARB/create_context.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/WGL/ARB/create_context.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.WGL import _types as _cs # End users want this... from OpenGL.raw.WGL._types import * from OpenGL.raw.WGL import _errors from OpenGL.constant import Constant as _C imp...
48.416667
118
0.829604
179
1,162
4.882682
0.379888
0.1373
0.048055
0.09611
0.372998
0.075515
0
0
0
0
0
0.0403
0.081756
1,162
23
119
50.521739
0.778819
0.086059
0
0
1
0
0.23062
0.23062
0
0
0.04845
0
0
1
0.105263
false
0.052632
0.315789
0.052632
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
1d8643819b6fd2cc7279940e0eb8e114425632a1
465
py
Python
mayan/apps/ocr/runtime.py
Syunkolee9891/Mayan-EDMS
3759a9503a264a180b74cc8518388f15ca66ac1a
[ "Apache-2.0" ]
1
2021-06-17T18:24:25.000Z
2021-06-17T18:24:25.000Z
mayan/apps/ocr/runtime.py
Syunkolee9891/Mayan-EDMS
3759a9503a264a180b74cc8518388f15ca66ac1a
[ "Apache-2.0" ]
7
2020-06-06T00:01:04.000Z
2022-01-13T01:47:17.000Z
mayan/apps/ocr/runtime.py
Syunkolee9891/Mayan-EDMS
3759a9503a264a180b74cc8518388f15ca66ac1a
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals import yaml try: from yaml import CSafeLoader as SafeLoader except ImportError: from yaml import SafeLoader from django.utils.module_loading import import_string from .settings import setting_ocr_backend, setting_ocr_backend_arguments ocr_backend = import_string( ...
22.142857
77
0.787097
59
465
5.864407
0.491525
0.144509
0.196532
0.150289
0
0
0
0
0
0
0
0
0.156989
465
20
78
23.25
0.882653
0
0
0
0
0
0.004301
0
0
0
0
0
0
1
0
false
0
0.533333
0
0.533333
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
1
0
0
3
d5232e97d9442219eb60dd41c97e8ec769d65418
323
py
Python
python/run-report.py
nblair/team-stats
3d832aac1804a41f2277a05e5cec1397f5c8003d
[ "Apache-2.0" ]
null
null
null
python/run-report.py
nblair/team-stats
3d832aac1804a41f2277a05e5cec1397f5c8003d
[ "Apache-2.0" ]
1
2021-06-01T23:00:01.000Z
2021-06-01T23:00:01.000Z
python/run-report.py
nblair/team-stats
3d832aac1804a41f2277a05e5cec1397f5c8003d
[ "Apache-2.0" ]
1
2018-10-18T15:51:17.000Z
2018-10-18T15:51:17.000Z
#!/usr/local/bin/python3 from jira_report import print_jira_info from github_report import get_pull_request_information from util import get_settings settings = get_settings() print("---jira info---") issueKeys = print_jira_info(settings) print() print('---pr info---') get_pull_request_information(settings, issueKe...
23.071429
54
0.795666
45
323
5.4
0.422222
0.111111
0.160494
0.205761
0
0
0
0
0
0
0
0.003401
0.089783
323
14
55
23.071429
0.823129
0.071207
0
0
0
0
0.093333
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.555556
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
1
0
3
d52ab206e67e2796a6045d32ec7a361d591275c5
1,088
py
Python
info2021/aplicaciones/Quiz/migrations/0007_auto_20210901_0704.py
Nemo3003/Proyecto_Final_G_8
65bc0b74e5746801b373b8714fc6574f2de21f91
[ "Apache-2.0" ]
null
null
null
info2021/aplicaciones/Quiz/migrations/0007_auto_20210901_0704.py
Nemo3003/Proyecto_Final_G_8
65bc0b74e5746801b373b8714fc6574f2de21f91
[ "Apache-2.0" ]
null
null
null
info2021/aplicaciones/Quiz/migrations/0007_auto_20210901_0704.py
Nemo3003/Proyecto_Final_G_8
65bc0b74e5746801b373b8714fc6574f2de21f91
[ "Apache-2.0" ]
1
2021-09-05T23:42:46.000Z
2021-09-05T23:42:46.000Z
# Generated by Django 3.0.5 on 2021-09-01 10:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Quiz', '0006_auto_20210901_0043'), ] operations = [ migrations.AlterField( model_name='elegirrespuesta', name='id', ...
32
108
0.610294
113
1,088
5.707965
0.380531
0.074419
0.155039
0.179845
0.643411
0.643411
0.643411
0.643411
0.643411
0.643411
0
0.039043
0.270221
1,088
33
109
32.969697
0.7733
0.04136
0
0.592593
1
0
0.09318
0.022094
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d52df23dea66802565a0233d5e9eb68bf0c5278f
1,785
py
Python
jobya/blog/managers.py
xblzbjs/Jobya
b936ce37da86bfe8326a532dab3887fae6c65e45
[ "MIT" ]
null
null
null
jobya/blog/managers.py
xblzbjs/Jobya
b936ce37da86bfe8326a532dab3887fae6c65e45
[ "MIT" ]
2
2022-02-08T01:15:52.000Z
2022-03-31T04:24:15.000Z
jobya/blog/managers.py
xblzbjs/Jobya
b936ce37da86bfe8326a532dab3887fae6c65e45
[ "MIT" ]
null
null
null
from django.db import models from django.db.models.aggregates import Count from django.db.models.query import QuerySet class CategoryQuerySet(QuerySet): """Custom CategoryQuerySet for blog category""" def annotate_num_posts(self) -> QuerySet: return ( self.filter(posts__status="published"...
28.333333
79
0.682353
221
1,785
5.294118
0.20362
0.094017
0.077778
0.089744
0.450427
0.342735
0.136752
0.136752
0.136752
0
0
0.001404
0.202241
1,785
62
80
28.790323
0.820225
0.066667
0
0.263158
0
0
0.038298
0
0
0
0
0
0
1
0.315789
false
0
0.078947
0.289474
0.842105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d5396614672b74736003f2940ab104ec14c386a2
490
py
Python
src/credentialView.py
danslobodan/LibraryConsole
2ce35ddf17b960989a22940e69eadd69f936477a
[ "MIT" ]
null
null
null
src/credentialView.py
danslobodan/LibraryConsole
2ce35ddf17b960989a22940e69eadd69f936477a
[ "MIT" ]
null
null
null
src/credentialView.py
danslobodan/LibraryConsole
2ce35ddf17b960989a22940e69eadd69f936477a
[ "MIT" ]
1
2019-01-31T18:55:59.000Z
2019-01-31T18:55:59.000Z
import view def getUsername(credentials): username = view.assertInput("Username") if username in credentials: print("Username", username, "is already taken.") return "" return username def getCredentials(credentials): username = getUsername(credentials) while username == "": ...
21.304348
56
0.640816
42
490
7.47619
0.404762
0.210191
0.191083
0
0
0
0
0
0
0
0
0
0.257143
490
22
57
22.272727
0.862637
0
0
0.125
0
0
0.116327
0
0
0
0
0
0.125
1
0.125
false
0.125
0.0625
0
0.375
0.0625
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d53e70627944200373675908f8c14e9ce678b18e
69
py
Python
tests/__init__.py
arkottke/pybline
6174047e94573d058c5af9556ed8b1dc394d758e
[ "MIT" ]
null
null
null
tests/__init__.py
arkottke/pybline
6174047e94573d058c5af9556ed8b1dc394d758e
[ "MIT" ]
null
null
null
tests/__init__.py
arkottke/pybline
6174047e94573d058c5af9556ed8b1dc394d758e
[ "MIT" ]
1
2021-02-25T14:05:37.000Z
2021-02-25T14:05:37.000Z
import pathlib FPATH_DATA = pathlib.Path(__file__).parent / 'data'
13.8
51
0.753623
9
69
5.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.130435
69
4
52
17.25
0.783333
0
0
0
0
0
0.057971
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d5574f0cb29de333d5d417104903143f8f0cc93c
137
py
Python
codigos/Cap02/ex2.12.py
skunkworksdev/Ifes_Algoritmo
458ef73a304573c12b45d8afae38e13ae0f3354f
[ "MIT" ]
null
null
null
codigos/Cap02/ex2.12.py
skunkworksdev/Ifes_Algoritmo
458ef73a304573c12b45d8afae38e13ae0f3354f
[ "MIT" ]
null
null
null
codigos/Cap02/ex2.12.py
skunkworksdev/Ifes_Algoritmo
458ef73a304573c12b45d8afae38e13ae0f3354f
[ "MIT" ]
null
null
null
graus = [0,10,20,40,100] for T in graus: print("A temperatura é: ",T) print("a Lista de temperaturas tem ", len(graus), 'elementos')
19.571429
62
0.656934
24
137
3.75
0.791667
0.133333
0
0
0
0
0
0
0
0
0
0.087719
0.167883
137
6
63
22.833333
0.701754
0
0
0
0
0
0.394161
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
d55ef2d5d1d8ee68639ab6058c2ea5746cbf287f
80
py
Python
assignements/S4_queues_tools.py
Just1bridou/BachelorDIM-Lectures-Algorithms-2020
a2f23a3afff637bfa064cb83b3f18cecd069cb52
[ "MIT" ]
null
null
null
assignements/S4_queues_tools.py
Just1bridou/BachelorDIM-Lectures-Algorithms-2020
a2f23a3afff637bfa064cb83b3f18cecd069cb52
[ "MIT" ]
null
null
null
assignements/S4_queues_tools.py
Just1bridou/BachelorDIM-Lectures-Algorithms-2020
a2f23a3afff637bfa064cb83b3f18cecd069cb52
[ "MIT" ]
null
null
null
from keys import Keys key = Keys() AMQP_url = key.getAMQP_URL() print(AMQP_url)
16
28
0.75
14
80
4.071429
0.571429
0.245614
0
0
0
0
0
0
0
0
0
0
0.1375
80
5
29
16
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d5639f6316b2e6fe91a2dec0ab2844db72c24cb3
937
py
Python
django_falcon/system/models.py
Lukejo2/python-django-falcon
12ac52b6e241bc29a41cf4b6df66e7e2f85b1dd2
[ "MIT" ]
null
null
null
django_falcon/system/models.py
Lukejo2/python-django-falcon
12ac52b6e241bc29a41cf4b6df66e7e2f85b1dd2
[ "MIT" ]
null
null
null
django_falcon/system/models.py
Lukejo2/python-django-falcon
12ac52b6e241bc29a41cf4b6df66e7e2f85b1dd2
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone from rest_framework import serializers # Create your models here. class SensorEvent(models.Model): name = models.CharField(max_length=128) value = models.FloatField(null=True, blank=True) unit = models.CharField(max_length=16) status = ...
32.310345
68
0.75667
116
937
5.956897
0.37069
0.162084
0.202605
0.243126
0.541245
0.465991
0.418234
0.344428
0.212735
0
0
0.008794
0.15048
937
28
69
33.464286
0.859296
0.025614
0
0
0
0
0.007684
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.894737
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6352e3854520776cae288b1173b6c51a0774f089
160
py
Python
tutorials/assets/lrp_model/__init__.py
Christophe-Jia/InterpretDL
5736cb880d3c9bd79241d2ea6cb0490d9e8b089d
[ "Apache-2.0" ]
107
2020-07-02T14:25:01.000Z
2022-03-31T18:49:01.000Z
tutorials/assets/lrp_model/__init__.py
Christophe-Jia/InterpretDL
5736cb880d3c9bd79241d2ea6cb0490d9e8b089d
[ "Apache-2.0" ]
22
2020-07-28T01:57:21.000Z
2022-03-31T07:51:36.000Z
tutorials/assets/lrp_model/__init__.py
Christophe-Jia/InterpretDL
5736cb880d3c9bd79241d2ea6cb0490d9e8b089d
[ "Apache-2.0" ]
23
2020-07-10T05:08:39.000Z
2022-03-31T10:00:04.000Z
from .resnet_lrp import * from .vgg_lrp import * __all__ = [ 'ResNet', 'resnet18', 'resnet32', 'resnet50', 'resnet101', 'resnet152', 'VGG', 'vgg16' ]
17.777778
75
0.625
17
160
5.529412
0.705882
0.191489
0
0
0
0
0
0
0
0
0
0.107692
0.1875
160
8
76
20
0.615385
0
0
0
0
0
0.35
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
635444b1b5650e3c31fbd780002ce0e3df71654e
1,009
py
Python
student_lab2/tests/q1_2.py
ds-modules/DATA-198-SP21
eedff5e04a5fcb50032ff9f746b164bf8658030f
[ "BSD-3-Clause" ]
null
null
null
student_lab2/tests/q1_2.py
ds-modules/DATA-198-SP21
eedff5e04a5fcb50032ff9f746b164bf8658030f
[ "BSD-3-Clause" ]
1
2021-03-29T16:48:19.000Z
2021-03-29T16:48:19.000Z
student_lab2/tests/q1_2.py
ds-modules/DATA-198-SP21
eedff5e04a5fcb50032ff9f746b164bf8658030f
[ "BSD-3-Clause" ]
null
null
null
test = { 'name': 'q1_2', 'points': 1, 'suites': [ { 'cases': [ {'code': ">>> assert trending_vids.shape[0] == '40379'\n", 'hidden': False, 'locked': False}, {'code': ">>> assert trending_vids.iloc[0, 0] == '25231'\n", 'hidden': False, 'locked': False}, ...
77.615385
139
0.424182
95
1,009
4.431579
0.4
0.142518
0.256532
0.313539
0.64133
0.64133
0.584323
0.584323
0.584323
0.584323
0
0.059006
0.361744
1,009
12
140
84.083333
0.594721
0
0
0
0
0
0.45887
0.063429
0
0
0
0
0.5
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
6361a28b771de3507c3f04ed351dccd973635336
1,819
py
Python
quorra/models.py
bprinty/quorra-python
82b6583992c6db4f16ee0d74ea7b1fe5e84cf03c
[ "Apache-2.0" ]
null
null
null
quorra/models.py
bprinty/quorra-python
82b6583992c6db4f16ee0d74ea7b1fe5e84cf03c
[ "Apache-2.0" ]
null
null
null
quorra/models.py
bprinty/quorra-python
82b6583992c6db4f16ee0d74ea7b1fe5e84cf03c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Methods for generating quorra plot models. # # @author <bprinty@gmail.com> # ------------------------------------------------ # imports # ------- import json import pandas # models # ------ def line(): return Plot('line') def density(): return Plot('density') def scatter(): ...
21.4
99
0.498626
207
1,819
4.323672
0.352657
0.078212
0.040223
0.06257
0
0
0
0
0
0
0
0.001641
0.329852
1,819
84
100
21.654762
0.732568
0.102804
0
0.04
0
0
0.092032
0
0
0
0
0
0.02
1
0.24
false
0
0.04
0.14
0.54
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
63812e727bc4f343e752abde368afd8133a49c71
58,222
py
Python
malaya/path/__init__.py
illaiza115/malaya
002a885db0681ebf056f53b3b1b11fd99687eef1
[ "MIT" ]
1
2021-01-06T07:15:41.000Z
2021-01-06T07:15:41.000Z
malaya/path/__init__.py
illaiza115/malaya
002a885db0681ebf056f53b3b1b11fd99687eef1
[ "MIT" ]
null
null
null
malaya/path/__init__.py
illaiza115/malaya
002a885db0681ebf056f53b3b1b11fd99687eef1
[ "MIT" ]
null
null
null
from malaya import home MALAY_TEXT = home + '/dictionary/malay-text.txt' MALAY_TEXT_200K = home + '/dictionary-200k/malay-text.txt' # sorted based on modules, started from augmentation until toxic PATH_AUGMENTATION = { 'synonym': { 'model': home + '/synonym/synonym0.json', 'model2': home + '/syno...
36.919467
121
0.563361
6,118
58,222
5.34423
0.025989
0.07585
0.070896
0.052851
0.859157
0.735228
0.534653
0.470486
0.43932
0.434059
0
0.037482
0.240236
58,222
1,576
122
36.942893
0.701662
0.001065
0
0.430921
0
0.001316
0.586815
0.438598
0
0
0
0
0
1
0
false
0
0.000658
0
0.000658
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
63887f373bdf05383a23eb7964c78efcfe8c7e19
6,499
py
Python
math.py
ericpearl/python-skeletons
95ad24b666e475998e5d1cc02ed53a2188036167
[ "Apache-2.0" ]
93
2015-01-20T06:36:59.000Z
2021-11-08T09:49:59.000Z
math.py
ericpearl/python-skeletons
95ad24b666e475998e5d1cc02ed53a2188036167
[ "Apache-2.0" ]
14
2015-05-23T23:19:41.000Z
2021-12-01T01:02:36.000Z
math.py
ericpearl/python-skeletons
95ad24b666e475998e5d1cc02ed53a2188036167
[ "Apache-2.0" ]
62
2015-01-30T13:13:39.000Z
2022-03-19T08:26:45.000Z
"""Skeleton for 'math' stdlib module.""" import sys import math def ceil(x): """Return the ceiling of x as a float, the smallest integer value greater than or equal to x. :type x: numbers.Real :rtype: float """ return 0.0 if sys.version_info >= (2, 6): def copysign(x, y): """R...
17.013089
79
0.542083
933
6,499
3.767417
0.166131
0.140825
0.133144
0.172973
0.62845
0.569275
0.539403
0.520626
0.503272
0.481081
0
0.025191
0.334205
6,499
381
80
17.057743
0.78715
0.554393
0
0.511111
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0.022222
0
0.911111
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
638b5ce817706d65ba1787125a1fcd4bdbbbf074
332
py
Python
arcade/intro/a. 4. adjacent-elements-product/adjacent_elements_product.py
jeury301/code-fights
379dd541aed0f3918cf1659b635ec51368b0b349
[ "MIT" ]
null
null
null
arcade/intro/a. 4. adjacent-elements-product/adjacent_elements_product.py
jeury301/code-fights
379dd541aed0f3918cf1659b635ec51368b0b349
[ "MIT" ]
null
null
null
arcade/intro/a. 4. adjacent-elements-product/adjacent_elements_product.py
jeury301/code-fights
379dd541aed0f3918cf1659b635ec51368b0b349
[ "MIT" ]
null
null
null
def adjacentElementsProduct(inputArray): first, second = 0, 1 lp = inputArray[first]*inputArray[second] for index in range(2, len(inputArray)): first = second second = index new_lp = inputArray[first]*inputArray[second] if new_lp > lp: lp = new_lp ...
25.538462
53
0.590361
38
332
5.078947
0.447368
0.310881
0.217617
0.279793
0.341969
0
0
0
0
0
0
0.013333
0.322289
332
12
54
27.666667
0.844444
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
63972bb13121477bd416502e913baf2c007b0dd9
2,259
py
Python
src/nti/app/pyramid_zope/tests/test_traversal.py
NextThought/nti.app.pyramid_zope
7d2f2b1fa0a04e4973358820c1c777b6ad7e8a3c
[ "Apache-2.0" ]
1
2020-05-06T04:19:59.000Z
2020-05-06T04:19:59.000Z
src/nti/app/pyramid_zope/tests/test_traversal.py
NextThought/nti.app.pyramid_zope
7d2f2b1fa0a04e4973358820c1c777b6ad7e8a3c
[ "Apache-2.0" ]
18
2019-12-31T20:39:02.000Z
2021-04-09T16:00:15.000Z
src/nti/app/pyramid_zope/tests/test_traversal.py
NextThought/nti.app.pyramid_zope
7d2f2b1fa0a04e4973358820c1c777b6ad7e8a3c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Tests for traversal.py. """ from __future__ import print_function, unicode_literals import unittest from zope import interface from zope.traversing import interfaces as trv_interfaces from pyramid.testing import DummyRequest from hamcrest import assert_that from ham...
32.271429
84
0.666224
256
2,259
5.804688
0.535156
0.026245
0.036339
0.018843
0.144011
0.144011
0.076716
0.076716
0.076716
0
0
0.007071
0.248783
2,259
69
85
32.73913
0.868592
0.333333
0
0.121212
0
0
0.019191
0
0
0
0
0.014493
0.090909
1
0.121212
false
0
0.30303
0.030303
0.636364
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
63a9c06bef9e3c52d993175d16e6f40a7f3e4e4a
67
py
Python
tests/test_loop_3.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
108
2015-02-04T14:16:51.000Z
2022-03-06T13:52:45.000Z
tests/test_loop_3.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
92
2015-01-19T14:58:06.000Z
2021-04-19T17:28:50.000Z
tests/test_loop_3.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
31
2015-03-03T23:53:59.000Z
2021-11-11T04:23:44.000Z
def y(): pass def x(): y() for i in range(10): x()
6.090909
19
0.402985
12
67
2.25
0.75
0
0
0
0
0
0
0
0
0
0
0.05
0.402985
67
10
20
6.7
0.625
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
63abf18ee5311e15b0d4e04691d32fbb3e20e153
1,357
py
Python
epython/portfolio_management/portfolio/instrument.py
juggler99/epython-showcase
6f458ea67c6110f9ae311d2b0eac1dbbc29e5afa
[ "MIT" ]
null
null
null
epython/portfolio_management/portfolio/instrument.py
juggler99/epython-showcase
6f458ea67c6110f9ae311d2b0eac1dbbc29e5afa
[ "MIT" ]
null
null
null
epython/portfolio_management/portfolio/instrument.py
juggler99/epython-showcase
6f458ea67c6110f9ae311d2b0eac1dbbc29e5afa
[ "MIT" ]
null
null
null
import kydb from portfolio_management.common.base_item import BaseItem class InstrumentBase(BaseItem, kydb.DbObj): """ Represents a financial instrument There are different types The idea is to provide a symbol and the system will pick the fill instrument definition from a data source Still ne...
19.385714
89
0.599853
158
1,357
4.936709
0.392405
0.089744
0.116667
0.087179
0.270513
0.270513
0.137179
0.137179
0.137179
0.097436
0
0.00804
0.266765
1,357
69
90
19.666667
0.775879
0.179071
0
0.472222
0
0
0.037072
0
0
0
0
0
0
1
0.305556
false
0.027778
0.055556
0.277778
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
63c130324b5b8ef6537c111f2454f399f367ff01
196
py
Python
gnpy/tools/__init__.py
odd22/gnpy
d28c67143eb36b0516721b19643971edb0129331
[ "BSD-3-Clause" ]
98
2018-06-05T22:05:18.000Z
2022-03-21T18:38:28.000Z
gnpy/tools/__init__.py
odd22/gnpy
d28c67143eb36b0516721b19643971edb0129331
[ "BSD-3-Clause" ]
244
2018-06-07T14:08:22.000Z
2022-03-31T17:52:30.000Z
gnpy/tools/__init__.py
odd22/gnpy
d28c67143eb36b0516721b19643971edb0129331
[ "BSD-3-Clause" ]
69
2018-06-29T15:42:23.000Z
2022-03-24T20:43:56.000Z
''' Processing of data via :py:mod:`.json_io`. Utilities for Excel conversion in :py:mod:`.convert` and :py:mod:`.service_sheet`. Example code in :py:mod:`.cli_examples` and :py:mod:`.plots`. '''
32.666667
82
0.693878
32
196
4.15625
0.6875
0.18797
0.105263
0
0
0
0
0
0
0
0
0
0.107143
196
5
83
39.2
0.76
0.954082
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
63cb8d95a386fc3fa1dc715142c15b5337882445
207
py
Python
tests/resources/noxfile_pythons.py
ktbarrett/nox
bf1c226de1c14c576537cf81f629571e5015784f
[ "Apache-2.0" ]
41
2016-03-03T11:18:49.000Z
2018-04-09T09:58:13.000Z
tests/resources/noxfile_pythons.py
ktbarrett/nox
bf1c226de1c14c576537cf81f629571e5015784f
[ "Apache-2.0" ]
79
2016-03-03T17:02:53.000Z
2018-04-23T16:25:51.000Z
tests/resources/noxfile_pythons.py
ktbarrett/nox
bf1c226de1c14c576537cf81f629571e5015784f
[ "Apache-2.0" ]
14
2016-03-03T18:22:20.000Z
2018-01-18T15:55:10.000Z
from __future__ import annotations import nox @nox.session(python=["3.6"]) @nox.parametrize("cheese", ["cheddar", "jack", "brie"]) def snack(unused_session, cheese): print(f"Noms, {cheese} so good!")
20.7
55
0.690821
28
207
4.928571
0.785714
0
0
0
0
0
0
0
0
0
0
0.010989
0.120773
207
9
56
23
0.747253
0
0
0
0
0
0.227053
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
63cbe6e48fa63ec40b4bcc7fc7905950dae6a072
208
py
Python
modules/imports.py
williamcanin/pykernel
8196c5f311d8e4100164dfb8e2c694b72c716627
[ "MIT" ]
null
null
null
modules/imports.py
williamcanin/pykernel
8196c5f311d8e4100164dfb8e2c694b72c716627
[ "MIT" ]
null
null
null
modules/imports.py
williamcanin/pykernel
8196c5f311d8e4100164dfb8e2c694b72c716627
[ "MIT" ]
null
null
null
import requests import sys import os from argparse import ArgumentParser from pathlib import Path import json from tqdm import tqdm # Modules for next version. # import re # import platform # import tarfile
16
35
0.807692
30
208
5.6
0.6
0
0
0
0
0
0
0
0
0
0
0
0.168269
208
12
36
17.333333
0.971098
0.317308
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
892835d24a7155d168e8b2ab1cd52bd0d3a476d5
258
py
Python
setup.py
teristam/openephys-fileIO
8089e7c4aff829c13a79656b8812a3d3e68eb1eb
[ "MIT" ]
1
2020-08-16T21:52:10.000Z
2020-08-16T21:52:10.000Z
setup.py
teristam/openephys-fileIO
8089e7c4aff829c13a79656b8812a3d3e68eb1eb
[ "MIT" ]
null
null
null
setup.py
teristam/openephys-fileIO
8089e7c4aff829c13a79656b8812a3d3e68eb1eb
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='openephys_fileIO', version='0.1.0', author='Teris Tam', package=['openephys_fileIO'], install_requires=[ 'numpy', 'scipy', 'pytest', 'pytest-benchmark' ] )
18.428571
33
0.569767
26
258
5.538462
0.807692
0.208333
0
0
0
0
0
0
0
0
0
0.016216
0.282946
258
14
34
18.428571
0.762162
0
0
0
0
0
0.301158
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
89283821324389e9a99f615f400f664e2d780ab2
433
py
Python
tagdata/elk_index.py
madelinemccombe/parse_threat_data
a02a82479fe35ee26e7c7b1087b90d9e64609fbc
[ "MIT" ]
null
null
null
tagdata/elk_index.py
madelinemccombe/parse_threat_data
a02a82479fe35ee26e7c7b1087b90d9e64609fbc
[ "MIT" ]
null
null
null
tagdata/elk_index.py
madelinemccombe/parse_threat_data
a02a82479fe35ee26e7c7b1087b90d9e64609fbc
[ "MIT" ]
1
2022-02-14T14:28:59.000Z
2022-02-14T14:28:59.000Z
####!/usr/bin/env python3 """ Parse data files with json output for estack bulk load """ def elk_index(elk_index_name): """ Index setup for ELK Stack bulk install """ index_tag_full = {} index_tag_inner = {} index_tag_inner['_index'] = elk_index_name index_tag_inner['_type'] = elk_index_name ...
21.65
54
0.688222
63
433
4.222222
0.444444
0.210526
0.195489
0.191729
0.25188
0
0
0
0
0
0
0.002865
0.193995
433
19
55
22.789474
0.759312
0.267898
0
0
0
0
0.08
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
894d823b6b4aec8146f00c95504f05e1ddeb4a16
160
py
Python
src/flow/urls.py
OpenROAD-Cloud/flow-runner
1a9a22c8fa249d7fcd8d282d1c958033f64f25f3
[ "BSD-2-Clause" ]
null
null
null
src/flow/urls.py
OpenROAD-Cloud/flow-runner
1a9a22c8fa249d7fcd8d282d1c958033f64f25f3
[ "BSD-2-Clause" ]
2
2020-02-12T03:21:51.000Z
2020-02-12T03:24:13.000Z
src/flow/urls.py
OpenROAD-Cloud/flow-runner
1a9a22c8fa249d7fcd8d282d1c958033f64f25f3
[ "BSD-2-Clause" ]
null
null
null
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('', include(('runner.urls', 'runner'), namespace='runner')), ]
22.857143
69
0.7
19
160
5.894737
0.578947
0.178571
0
0
0
0
0
0
0
0
0
0
0.1375
160
6
70
26.666667
0.811594
0
0
0
0
0
0.14375
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
894eadf0b2e1956cbdeee439766cf9428c165d8b
135
py
Python
src/greedy.py
joezeng/pdc2014
d38f22c7c27f5d67e7522a417f42a93aaad0499b
[ "MIT" ]
null
null
null
src/greedy.py
joezeng/pdc2014
d38f22c7c27f5d67e7522a417f42a93aaad0499b
[ "MIT" ]
null
null
null
src/greedy.py
joezeng/pdc2014
d38f22c7c27f5d67e7522a417f42a93aaad0499b
[ "MIT" ]
1
2018-11-20T18:50:25.000Z
2018-11-20T18:50:25.000Z
import sys line1 = sys.stdin.readline() n = [int(i) for i in line1.split()] for i in range(n[0]): if i+1 != n[1]: print i+1, print
15
35
0.607407
29
135
2.827586
0.551724
0.097561
0.146341
0
0
0
0
0
0
0
0
0.055556
0.2
135
8
36
16.875
0.703704
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
895591ad0bb73ab96aefe3f4d86ed1066b83c51c
181
py
Python
searchapp/models.py
kaiocesar/django-algolia
b2105ca79a6fa7d72f4935caee86facc479b096f
[ "MIT" ]
null
null
null
searchapp/models.py
kaiocesar/django-algolia
b2105ca79a6fa7d72f4935caee86facc479b096f
[ "MIT" ]
null
null
null
searchapp/models.py
kaiocesar/django-algolia
b2105ca79a6fa7d72f4935caee86facc479b096f
[ "MIT" ]
null
null
null
from django.db import models class Posts(models.Model): title = models.CharField(max_length=200) content = models.TextField() create_at = models.DateTimeField(auto_now_add=True)
30.166667
52
0.79558
26
181
5.384615
0.846154
0
0
0
0
0
0
0
0
0
0
0.018405
0.099448
181
6
52
30.166667
0.840491
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
895b08ad25f5d233542bda8e03dbd18c2e40d28e
7,346
py
Python
api/wecubek8s/wecubek8s/common/k8s.py
zgyzgyhero/wecube-plugins-kubernetes
99982a7a21dff2e54653ecf61055c54e08065087
[ "Apache-2.0" ]
6
2020-12-07T01:32:40.000Z
2021-07-16T05:52:41.000Z
api/wecubek8s/wecubek8s/common/k8s.py
zgyzgyhero/wecube-plugins-kubernetes
99982a7a21dff2e54653ecf61055c54e08065087
[ "Apache-2.0" ]
1
2021-06-11T13:18:24.000Z
2021-06-11T13:18:24.000Z
api/wecubek8s/wecubek8s/common/k8s.py
zgyzgyhero/wecube-plugins-kubernetes
99982a7a21dff2e54653ecf61055c54e08065087
[ "Apache-2.0" ]
2
2020-12-23T08:17:13.000Z
2021-06-11T13:10:16.000Z
# coding=utf-8 # coding=utf-8 from __future__ import absolute_import import logging import json import base64 import urllib3 from kubernetes import client from kubernetes.client import exceptions as k8s_exceptions from talos.core import config from talos.core.i18n import _ from wecubek8s.common import exceptions url...
38.663158
108
0.659679
841
7,346
5.512485
0.142687
0.069888
0.086281
0.118637
0.55371
0.493529
0.415876
0.394737
0.353322
0.234254
0
0.005427
0.222434
7,346
190
109
38.663158
0.806197
0.01089
0
0.142857
0
0
0.110376
0.07262
0
0
0
0
0
1
0.242857
false
0.042857
0.071429
0.178571
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
1
1
0
0
3
897423d2dba4be5b162d342aa665872d0202128f
100
py
Python
bocadillo/sessions.py
sfermigier/bocadillo
c96842edf3657af2627cce0d8af30776916c1e30
[ "MIT" ]
null
null
null
bocadillo/sessions.py
sfermigier/bocadillo
c96842edf3657af2627cce0d8af30776916c1e30
[ "MIT" ]
null
null
null
bocadillo/sessions.py
sfermigier/bocadillo
c96842edf3657af2627cce0d8af30776916c1e30
[ "MIT" ]
null
null
null
class MissingSecretKey(Exception): """Raised when no cookie siggnature secret key was found."""
33.333333
64
0.75
12
100
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.15
100
2
65
50
0.882353
0.54
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8976fdd7b31eb78436423bf42c169d955b5a361b
560
py
Python
Python/mex1.py
chernyshov-dev/ideal-octo-waffle
c50f29795352766752dbbbcd46693ff54f23369b
[ "WTFPL" ]
3
2021-08-29T15:22:08.000Z
2021-08-29T17:12:01.000Z
Python/mex1.py
chernyshov-dev/ideal-octo-waffle
c50f29795352766752dbbbcd46693ff54f23369b
[ "WTFPL" ]
11
2021-09-07T19:24:15.000Z
2022-01-13T19:51:25.000Z
Python/mex1.py
chernyshov-dev/university-practice-heap
c50f29795352766752dbbbcd46693ff54f23369b
[ "WTFPL" ]
null
null
null
import math def foo(a,b,d): if a == 0 or b == 0 or d == 0: return 'Заданный треугольник не существует' s = 1/2 * a * b * math.sin(math.radians(d)) return round(s,3) def geron(a, b, c): if a == 0 or b == 0 or c == 0: return 'Заданный треугольник не существу...
21.538462
53
0.458929
91
560
2.824176
0.307692
0.038911
0.291829
0.315175
0.51751
0.373541
0.077821
0
0
0
0
0.032934
0.403571
560
25
54
22.4
0.736527
0
0
0.333333
0
0
0.19209
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.533333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
89823972b35e357fd974eb304c5d1f82b7d743c7
134
py
Python
dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/message/__init__.py
srcarter3/python-awips
d981062662968cf3fb105e8e23d955950ae2497e
[ "BSD-3-Clause" ]
33
2016-03-17T01:21:18.000Z
2022-02-08T10:41:06.000Z
dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/message/__init__.py
srcarter3/python-awips
d981062662968cf3fb105e8e23d955950ae2497e
[ "BSD-3-Clause" ]
15
2016-04-19T16:34:08.000Z
2020-09-09T19:57:54.000Z
dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/message/__init__.py
Unidata/python-awips
8459aa756816e5a45d2e5bea534d23d5b1dd1690
[ "BSD-3-Clause" ]
20
2016-03-12T01:46:58.000Z
2022-02-08T06:53:22.000Z
__all__ = [ 'DataURINotificationMessage' ] from .DataURINotificationMessage import DataURINotificationMessage
19.142857
66
0.708955
6
134
15.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.246269
134
6
67
22.333333
0.90099
0
0
0
0
0
0.195489
0.195489
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
899277ef9ccb15e267d4d35968db55615ee39955
151
py
Python
src/dbxdeploy/notebook/loader.py
DataSentics/dbx-deploy
c019d80a2b947b4f180071e97c3981daa3a2214a
[ "MIT" ]
null
null
null
src/dbxdeploy/notebook/loader.py
DataSentics/dbx-deploy
c019d80a2b947b4f180071e97c3981daa3a2214a
[ "MIT" ]
null
null
null
src/dbxdeploy/notebook/loader.py
DataSentics/dbx-deploy
c019d80a2b947b4f180071e97c3981daa3a2214a
[ "MIT" ]
null
null
null
from pathlib import Path def loadNotebook(notebookPath: Path) -> str: with notebookPath.open('r', encoding='utf-8') as f: return f.read()
25.166667
55
0.675497
21
151
4.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.008197
0.192053
151
5
56
30.2
0.827869
0
0
0
0
0
0.039735
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
1
0
0
0
0
0
0
0
3
89bce2483aa68780cb4056a30f34fb6ade97a146
349
py
Python
ee/models/__init__.py
dorucioclea/posthog
a7e792c3fc5c1abc70d8167e1ead12d4ea24f17a
[ "MIT" ]
null
null
null
ee/models/__init__.py
dorucioclea/posthog
a7e792c3fc5c1abc70d8167e1ead12d4ea24f17a
[ "MIT" ]
null
null
null
ee/models/__init__.py
dorucioclea/posthog
a7e792c3fc5c1abc70d8167e1ead12d4ea24f17a
[ "MIT" ]
null
null
null
from .event_definition import EnterpriseEventDefinition from .explicit_team_membership import ExplicitTeamMembership from .hook import Hook from .license import License from .property_definition import EnterprisePropertyDefinition __all__ = ["EnterpriseEventDefinition", "ExplicitTeamMembership", "Hook", "License", "En...
43.625
116
0.856734
30
349
9.7
0.466667
0.109966
0
0
0
0
0
0
0
0
0
0
0.080229
349
7
117
49.857143
0.906542
0
0
0
0
0
0.246418
0.2149
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
983abdd7991953edaa224ffc46bf5407d0ac0786
125
py
Python
testing-api/app/routes/router.py
Klavionik/BlackSheep-Examples
018bce8ac6023e47cbd4cd49784e260626c886bd
[ "MIT" ]
2
2021-06-21T09:34:50.000Z
2021-09-06T10:16:12.000Z
testing-api/app/routes/router.py
Klavionik/BlackSheep-Examples
018bce8ac6023e47cbd4cd49784e260626c886bd
[ "MIT" ]
1
2022-02-05T15:29:10.000Z
2022-02-05T15:29:10.000Z
testing-api/app/routes/router.py
Klavionik/BlackSheep-Examples
018bce8ac6023e47cbd4cd49784e260626c886bd
[ "MIT" ]
1
2022-02-01T21:38:43.000Z
2022-02-01T21:38:43.000Z
from blacksheep.server.routing import Router router = Router() get = router.get post = router.post delete = router.delete
13.888889
44
0.76
17
125
5.588235
0.529412
0.252632
0
0
0
0
0
0
0
0
0
0
0.152
125
8
45
15.625
0.896226
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
983b8d8c40f70ae03528fa94bc3742ca66010260
1,748
py
Python
packages/pyright-internal/src/tests/samples/operators1.py
Microsoft/pyright
adf7c3e92e4540d930e3652de3c1c335855af595
[ "MIT" ]
3,934
2019-03-22T09:26:41.000Z
2019-05-06T21:03:08.000Z
packages/pyright-internal/src/tests/samples/operators1.py
Microsoft/pyright
adf7c3e92e4540d930e3652de3c1c335855af595
[ "MIT" ]
107
2019-03-24T04:09:37.000Z
2019-05-06T17:00:04.000Z
packages/pyright-internal/src/tests/samples/operators1.py
Microsoft/pyright
adf7c3e92e4540d930e3652de3c1c335855af595
[ "MIT" ]
119
2019-03-23T10:48:04.000Z
2019-05-06T08:57:56.000Z
# This sample tests the type checker's ability to check # custom operator overrides. from typing import Union class A(object): def __eq__(self, Foo): return "equal" class B(object): def __ne__(self, Bar): return self def __lt__(self, Bar): return "string" def __gt__(self, ...
17.137255
72
0.608124
264
1,748
3.636364
0.30303
0.06875
0.1375
0.104167
0.4625
0.3375
0.263542
0.236458
0.182292
0.182292
0
0.001613
0.290618
1,748
101
73
17.306931
0.772581
0.303776
0
0.235294
0
0
0.035744
0
0
0
0
0
0
1
0.235294
false
0.039216
0.019608
0.117647
0.509804
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
98441054a2a227acc600614ec92ab528cd92c1ed
1,244
py
Python
CGAN/utils.py
aryanpanpalia/GANs
5fb25ec3757668c9ee2c5fa685354632fd5da007
[ "MIT" ]
1
2021-06-24T03:08:08.000Z
2021-06-24T03:08:08.000Z
CGAN/utils.py
aryanpanpalia/GANs
5fb25ec3757668c9ee2c5fa685354632fd5da007
[ "MIT" ]
null
null
null
CGAN/utils.py
aryanpanpalia/GANs
5fb25ec3757668c9ee2c5fa685354632fd5da007
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import torch from torchvision.utils import make_grid import torch.nn.functional as F from torch import nn torch.manual_seed(0) def get_noise(n_samples, input_dim, device='cpu'): return torch.randn(n_samples, input_dim, device=device) def show_tensor_images(image_ten...
28.930233
70
0.702572
194
1,244
4.257732
0.381443
0.048426
0.047216
0.038741
0.123487
0.070218
0.070218
0.070218
0.070218
0.070218
0
0.024655
0.184887
1,244
42
71
29.619048
0.789941
0
0
0.071429
0
0
0.002496
0
0
0
0
0
0
1
0.214286
false
0
0.178571
0.107143
0.535714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9877fde6709f051fb00d20d2e7ad73a2ebe1a8f9
3,117
py
Python
pyOCD/flash/flash_stm32l486.py
mesheven/mesh-pyocd-old
99ecfeeac95820dacab52a1280b0fba6d4f51fc9
[ "Apache-2.0" ]
null
null
null
pyOCD/flash/flash_stm32l486.py
mesheven/mesh-pyocd-old
99ecfeeac95820dacab52a1280b0fba6d4f51fc9
[ "Apache-2.0" ]
null
null
null
pyOCD/flash/flash_stm32l486.py
mesheven/mesh-pyocd-old
99ecfeeac95820dacab52a1280b0fba6d4f51fc9
[ "Apache-2.0" ]
null
null
null
""" mbed CMSIS-DAP debugger Copyright (c) 2006-2013 ARM 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 ...
57.722222
130
0.616939
274
3,117
6.919708
0.762774
0.031646
0.013713
0.016878
0
0
0
0
0
0
0
0.394195
0.314726
3,117
54
131
57.722222
0.493446
0.225537
0
0
0
0
0.070175
0
0
0
0.446951
0
0
1
0.032258
false
0
0.032258
0
0.096774
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
1
0
0
0
0
0
0
0
0
0
0
0
3
7f3f6cbfffcc0317e47e0a58461d84aeb462d4b2
119
py
Python
homeassistant/components/filter/__init__.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/filter/__init__.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
homeassistant/components/filter/__init__.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""The filter component.""" from homeassistant.const import Platform DOMAIN = "filter" PLATFORMS = [Platform.SENSOR]
17
40
0.747899
13
119
6.846154
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.12605
119
6
41
19.833333
0.855769
0.176471
0
0
0
0
0.065217
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7f4882c2d2287cde42e6aa73d9c6ab05ec059d72
45,170
py
Python
shenaniganfs/generated/rfc1813.py
JordanMilne/ShenaniganFS
fbe346881c89ed06ec5a8c3832d530d3704e0ed5
[ "MIT" ]
1
2021-03-03T14:17:39.000Z
2021-03-03T14:17:39.000Z
shenaniganfs/generated/rfc1813.py
JordanMilne/ShenaniganFS
fbe346881c89ed06ec5a8c3832d530d3704e0ed5
[ "MIT" ]
null
null
null
shenaniganfs/generated/rfc1813.py
JordanMilne/ShenaniganFS
fbe346881c89ed06ec5a8c3832d530d3704e0ed5
[ "MIT" ]
null
null
null
# Auto-generated from IDL file import abc import dataclasses import typing from dataclasses import dataclass from shenaniganfs import rpchelp TRUE = True FALSE = False NFS3_OK = 0 NFS3ERR_PERM = 1 NFS3ERR_NOENT = 2 NFS3ERR_IO = 5 NFS3ERR_NXIO = 6 NFS3ERR_ACCES = 13 NFS3ERR_EXIST = 17 NFS3ERR_XDEV = 18 NFS3ERR_NODEV =...
36.933769
3,317
0.731127
5,135
45,170
6.279065
0.087244
0.082188
0.123283
0.046336
0.565456
0.501287
0.430264
0.387185
0.360667
0.313867
0
0.042422
0.153531
45,170
1,222
3,318
36.963993
0.800863
0.030684
0
0.554098
1
0
0.071626
0.001008
0
0
0.001374
0
0
1
0
false
0
0.006557
0
0.554098
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
1
0
0
3
7f5c60a10d6639427097e82981665c3ad59a9a99
27,436
py
Python
pksampler/ControlPanelForm.py
patrickkidd/pksampler-0.3
ffe5f1fde1d86052da34d9ee9c44934461c441e2
[ "MIT" ]
null
null
null
pksampler/ControlPanelForm.py
patrickkidd/pksampler-0.3
ffe5f1fde1d86052da34d9ee9c44934461c441e2
[ "MIT" ]
null
null
null
pksampler/ControlPanelForm.py
patrickkidd/pksampler-0.3
ffe5f1fde1d86052da34d9ee9c44934461c441e2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/home/patrick/pksampler-0.3/pksampler/ControlPanelForm.ui' # # Created: Wed Jun 29 02:38:59 2005 # by: The PyQt User Interface Compiler (pyuic) 3.14.1 # # WARNING! All changes made in this file will be lost! import sys from qt import ...
49.256732
158
0.675135
4,139
27,436
4.434646
0.137714
0.015364
0.016562
0.009807
0.106293
0.029638
0.023427
0.013402
0.013402
0
0
0.157879
0.140035
27,436
556
159
49.345324
0.620073
0.01006
0
0
1
0.455319
0.453816
0.39673
0
0
0
0
0
0
null
null
0
0.004255
null
null
0.019149
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
1
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7f69edf35f8e4bcc9bc0a61151304a9e10c71491
3,419
py
Python
person/migrations/0002_driver_name.py
zhangpotato/kx_backmanage
5a484c19616a77a75698f63b8fa220ee027c0c17
[ "Apache-2.0" ]
null
null
null
person/migrations/0002_driver_name.py
zhangpotato/kx_backmanage
5a484c19616a77a75698f63b8fa220ee027c0c17
[ "Apache-2.0" ]
null
null
null
person/migrations/0002_driver_name.py
zhangpotato/kx_backmanage
5a484c19616a77a75698f63b8fa220ee027c0c17
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.5 on 2019-02-03 12:18 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('person', '0001_initial'), ] operations = [ migrations.CreateModel( name='Driver_name', fields=[ ...
57.949153
114
0.598713
388
3,419
5.118557
0.237113
0.149547
0.231621
0.277946
0.699899
0.699899
0.57855
0.437563
0.437563
0.176737
0
0.025331
0.249488
3,419
58
115
58.948276
0.748636
0.013162
0
0
1
0
0.126631
0.006228
0
0
0
0
0
1
0
false
0.019608
0.019608
0
0.098039
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f6f28798257d254df3d12c07dd2ddef60089cbd
205
py
Python
src/onceml/types/component_msg.py
lzmchina/OnceML
f30d9037d2e492d8d45b858f2be3b27fc5258356
[ "MIT" ]
1
2022-01-01T07:15:03.000Z
2022-01-01T07:15:03.000Z
src/onceml/types/component_msg.py
lzmchina/OnceML
f30d9037d2e492d8d45b858f2be3b27fc5258356
[ "MIT" ]
null
null
null
src/onceml/types/component_msg.py
lzmchina/OnceML
f30d9037d2e492d8d45b858f2be3b27fc5258356
[ "MIT" ]
null
null
null
from enum import Enum # component数据文件里具体的子目录划分 class Component_Data_URL(Enum): STATE = 'state.json' # 组件状态的文件 CHANNELS = 'result.json' # 组件的运行结果,轻量化数据 ARTIFACTS = 'artifact' # 组件产生的各种数据文件
22.777778
45
0.712195
22
205
6.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.195122
205
8
46
25.625
0.872727
0.273171
0
0
0
0
0.201389
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7f786ba3af87092f7b856f92aae67a384e2a54d8
106
py
Python
rwafake/data/emails/domains.py
knowbee/py-rwafaker
7ca4ba0538cc7536bfcb9a2147bc9a811bc4b1ed
[ "MIT" ]
1
2021-10-10T04:25:25.000Z
2021-10-10T04:25:25.000Z
rwafake/data/emails/domains.py
knowbee/py-rwafaker
7ca4ba0538cc7536bfcb9a2147bc9a811bc4b1ed
[ "MIT" ]
null
null
null
rwafake/data/emails/domains.py
knowbee/py-rwafaker
7ca4ba0538cc7536bfcb9a2147bc9a811bc4b1ed
[ "MIT" ]
null
null
null
email = [ "rwandaonline.rw", "rra.gov.rw", "ur.ac.rw", "gmail.com", "yahoo.com", "yahoo.fr" ]
11.777778
20
0.528302
15
106
3.733333
0.733333
0.285714
0
0
0
0
0
0
0
0
0
0
0.207547
106
8
21
13.25
0.666667
0
0
0
0
0
0.556604
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f9abff28b4e1dbb0769bc77184cfc5a507bbbc3
18,931
py
Python
contrib/addons/test/nagios/plugins/test_sys_logger.py
cglewis/ambari
e5d7e08e42baea2ad15784400c6f9e7ebb5f1608
[ "Apache-2.0" ]
2
2018-06-06T14:21:11.000Z
2018-06-06T14:22:50.000Z
contrib/addons/test/nagios/plugins/test_sys_logger.py
cglewis/ambari
e5d7e08e42baea2ad15784400c6f9e7ebb5f1608
[ "Apache-2.0" ]
null
null
null
contrib/addons/test/nagios/plugins/test_sys_logger.py
cglewis/ambari
e5d7e08e42baea2ad15784400c6f9e7ebb5f1608
[ "Apache-2.0" ]
2
2020-11-04T06:30:31.000Z
2020-11-06T11:02:33.000Z
#!/usr/bin/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")...
45.837772
171
0.72891
2,485
18,931
5.307445
0.080885
0.106149
0.074304
0.079612
0.80461
0.671999
0.534157
0.432557
0.348169
0.310713
0
0.012562
0.133749
18,931
412
172
45.949029
0.791695
0.096244
0
0.077206
0
0.066176
0.748945
0.291569
0
0
0
0
0
0
null
null
0.025735
0.007353
null
null
0.025735
0
0
0
null
0
0
0
1
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
3
7f9eb20f5bc91ea77309f8140fd5d90bc4af511e
611
py
Python
exercise/built_in_module_test.py
progzc/PythonDemo
0515fee3511bc132bfddf480014f61ce52080616
[ "Apache-2.0" ]
null
null
null
exercise/built_in_module_test.py
progzc/PythonDemo
0515fee3511bc132bfddf480014f61ce52080616
[ "Apache-2.0" ]
null
null
null
exercise/built_in_module_test.py
progzc/PythonDemo
0515fee3511bc132bfddf480014f61ce52080616
[ "Apache-2.0" ]
null
null
null
# python中的常用的内置模块 import sys import time # 文件输入输出 # import os # import calendar # 网络请求相关 import urllib.request # import json # 正则表达式 # import re # import math # import decimal # import logging print('----------------使用sys模块---------------------') # 获取整数24在python中占用的字节大小 print(sys.getsizeof(24)) print(sys.getsizeof(45...
19.709677
60
0.608838
66
611
5.636364
0.5
0.086022
0.182796
0
0
0
0
0
0
0
0
0.010753
0.086743
611
30
61
20.366667
0.655914
0.252046
0
0.153846
0
0
0.340858
0.295711
0
0
0
0
0
1
0
true
0
0.230769
0
0.230769
0.769231
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
1
0
3
7fb68fdf49ccda83376f335f667e9c17e2e632ef
706
py
Python
pytglib/api/types/message_scheduling_state_send_when_online.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/message_scheduling_state_send_when_online.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/message_scheduling_state_send_when_online.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class MessageSchedulingStateSendWhenOnline(Object): """ The message will be sent when the peer will be online. Applicable to private chats only and when the exact online status of the peer is known Attributes: ID (:obj:`str`): ``MessageSchedulingStateSendWhenOnline`` ...
22.774194
145
0.677054
64
706
7.40625
0.75
0.025316
0
0
0
0
0
0
0
0
0
0
0.246459
706
30
146
23.533333
0.890977
0.446176
0
0
0
0
0.208696
0.208696
0
0
0
0
0
1
0.25
false
0.125
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
7fb804f29021e56f60c86fed818a89e1258a5e19
133
py
Python
binalyzer_blsp/__init__.py
denisvasilik/binalyzer-blsp
8a329c62b3432c9ecc8c073febdd3975892defac
[ "MIT" ]
null
null
null
binalyzer_blsp/__init__.py
denisvasilik/binalyzer-blsp
8a329c62b3432c9ecc8c073febdd3975892defac
[ "MIT" ]
null
null
null
binalyzer_blsp/__init__.py
denisvasilik/binalyzer-blsp
8a329c62b3432c9ecc8c073febdd3975892defac
[ "MIT" ]
null
null
null
""" binalyzer_blsp ~~~~~~~~~~~~~~ Binalyzer BLSP extension. """ from .blsp import ( BLSPServer, JsonRPCParser, )
13.3
29
0.548872
10
133
7.2
0.7
0.361111
0
0
0
0
0
0
0
0
0
0
0.255639
133
10
30
13.3
0.727273
0.421053
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f69d1e0ccae8597a11c7f1d728ba18d1950c03ad
93
py
Python
SISTGEDIT/registropersonal/tipoturno/apps.py
Edwineverth/SISGEDIT
7d433d5e045b71ac087e40d95ec7d26f159e6453
[ "Apache-2.0" ]
null
null
null
SISTGEDIT/registropersonal/tipoturno/apps.py
Edwineverth/SISGEDIT
7d433d5e045b71ac087e40d95ec7d26f159e6453
[ "Apache-2.0" ]
null
null
null
SISTGEDIT/registropersonal/tipoturno/apps.py
Edwineverth/SISGEDIT
7d433d5e045b71ac087e40d95ec7d26f159e6453
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class TipoturnoConfig(AppConfig): name = 'tipoturno'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f69e8ae8265b7e97a387c1704c752b8f2f57e82a
159
py
Python
space_missions/apps.py
eferos93/ODMC_exam_implementation
14fd113b00dc45d2b99b2a83c662d6a70171b5e5
[ "CC-BY-4.0" ]
null
null
null
space_missions/apps.py
eferos93/ODMC_exam_implementation
14fd113b00dc45d2b99b2a83c662d6a70171b5e5
[ "CC-BY-4.0" ]
null
null
null
space_missions/apps.py
eferos93/ODMC_exam_implementation
14fd113b00dc45d2b99b2a83c662d6a70171b5e5
[ "CC-BY-4.0" ]
null
null
null
from django.apps import AppConfig class SpaceMissionsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'space_missions'
22.714286
56
0.779874
18
159
6.722222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.138365
159
6
57
26.5
0.883212
0
0
0
0
0
0.27044
0.18239
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3