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
73ca9ee0c7f79ea507a5b9a1431f7966adfb56f9
1,559
py
Python
pymnn/pip_package/MNN/tools/mnn_fb/SpaceBatch.py
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
3
2019-12-27T01:10:32.000Z
2021-05-14T08:10:40.000Z
pymnn/pip_package/MNN/tools/mnn_fb/SpaceBatch.py
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
10
2019-07-04T01:40:13.000Z
2019-10-30T02:38:42.000Z
pymnn/pip_package/MNN/tools/mnn_fb/SpaceBatch.py
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1
2020-03-10T02:17:47.000Z
2020-03-10T02:17:47.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: MNN import flatbuffers class SpaceBatch(object): __slots__ = ['_tab'] @classmethod def GetRootAsSpaceBatch(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = SpaceBat...
33.170213
151
0.65619
181
1,559
5.530387
0.342541
0.062937
0.087912
0.13986
0.38961
0.38961
0.307692
0.307692
0.307692
0.307692
0
0.007621
0.242463
1,559
46
152
33.891304
0.839966
0.073124
0
0.424242
1
0
0.00278
0
0
0
0
0
0
1
0.242424
false
0
0.090909
0.030303
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
73e6d1ce061af795d763b42ecca8a0be3c0daa6f
52
py
Python
discord_help/__init__.py
FrostiiWeeb/discord-help
4b1e3236d2c796b106bb845ed5c0d03fe296046a
[ "MIT" ]
null
null
null
discord_help/__init__.py
FrostiiWeeb/discord-help
4b1e3236d2c796b106bb845ed5c0d03fe296046a
[ "MIT" ]
null
null
null
discord_help/__init__.py
FrostiiWeeb/discord-help
4b1e3236d2c796b106bb845ed5c0d03fe296046a
[ "MIT" ]
null
null
null
from .discord_help import * __version__ = "0.0.8a"
13
27
0.711538
8
52
4
0.875
0
0
0
0
0
0
0
0
0
0
0.068182
0.153846
52
3
28
17.333333
0.659091
0
0
0
0
0
0.115385
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
fb53ab5f37dc5098ad8c5328632ce1046be3c2d2
4,266
py
Python
src/python/pants/backend/codegen/register.py
silverguo/pants
141510d03fbf2b7e1a0b54f66b54088697f6fa51
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/codegen/register.py
silverguo/pants
141510d03fbf2b7e1a0b54f66b54088697f6fa51
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/codegen/register.py
silverguo/pants
141510d03fbf2b7e1a0b54f66b54088697f6fa51
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). """Enable this backend to turn on every single codegen backend within `pants.backend.codegen`.""" from pants.backend.codegen.antlr.java.antlr_java_gen import AntlrJavaGen from pants.backe...
45.870968
98
0.788092
492
4,266
6.699187
0.184959
0.081917
0.167172
0.195388
0.312803
0.276092
0.024879
0
0
0
0
0.006697
0.124941
4,266
92
99
46.369565
0.876239
0.051336
0
0
0
0
0.068069
0.015594
0
0
0
0
0
1
0.037037
true
0
0.37037
0.024691
0.432099
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
fb63b3f31159fc3e0cde7b0da39c94197f065188
294
py
Python
meus_exercicios_py/ex012.py
MatheusPolidor/exercicios_py
084a96bf06b2d4763739181cae2f9871a2cfb551
[ "MIT" ]
null
null
null
meus_exercicios_py/ex012.py
MatheusPolidor/exercicios_py
084a96bf06b2d4763739181cae2f9871a2cfb551
[ "MIT" ]
null
null
null
meus_exercicios_py/ex012.py
MatheusPolidor/exercicios_py
084a96bf06b2d4763739181cae2f9871a2cfb551
[ "MIT" ]
null
null
null
print('{:=^100}'.format(' DESAFIO 12 ')) preço_produto = float(input('\nQual é o preço do produto?\nR$ ')) print('\nO produto custava R$ {:.2f}, na promoção com desconto de 5% vai custar R$ {:.2f}\n'.format(preço_produto, preço_produto * 95 / 100)) print('{:=^100}'.format(' FIM DESAFIO 12 '))
58.8
141
0.656463
46
294
4.130435
0.630435
0.189474
0.147368
0
0
0
0
0
0
0
0
0.070313
0.129252
294
4
142
73.5
0.671875
0
0
0
0
0.25
0.547619
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
fb6aac45db93d750f2e3e378a1574a173b54cddc
455
py
Python
piton/lib/inquirer/__init__.py
piton-package-manager/PPM
19015b76184befe1e2daa63189a13b039787868d
[ "MIT" ]
19
2016-04-08T04:00:07.000Z
2021-11-12T19:36:56.000Z
piton/lib/inquirer/__init__.py
LookLikeAPro/PPM
19015b76184befe1e2daa63189a13b039787868d
[ "MIT" ]
9
2017-01-03T13:39:47.000Z
2022-01-15T20:38:20.000Z
piton/lib/inquirer/__init__.py
LookLikeAPro/PPM
19015b76184befe1e2daa63189a13b039787868d
[ "MIT" ]
6
2017-04-01T03:38:45.000Z
2021-05-06T11:25:31.000Z
from __future__ import print_function __version__ = '2.1.7' try: from .prompt import prompt from .questions import Text, Password, Confirm, List, Checkbox, \ load_from_dict, load_from_json __all__ = ['prompt', 'Text', 'Password', 'Confirm', 'List', 'Checkbox', 'load_from_list', 'lo...
32.5
76
0.679121
61
455
4.688525
0.57377
0.13986
0.132867
0.160839
0.412587
0.412587
0.272727
0
0
0
0
0.008287
0.204396
455
13
77
35
0.781768
0
0
0
0
0
0.314286
0
0
0
0
0
0
1
0
false
0.2
0.4
0
0.4
0.2
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
1
1
0
0
0
0
3
fb6f885a83d0fe5b299ab11ef5f0aa2165d1c6d8
2,002
py
Python
Demos/AD_Demo.py
CSExponentials/cs207-FinalProject
304410a90ca6c016256615f280725a6babda2438
[ "MIT" ]
null
null
null
Demos/AD_Demo.py
CSExponentials/cs207-FinalProject
304410a90ca6c016256615f280725a6babda2438
[ "MIT" ]
null
null
null
Demos/AD_Demo.py
CSExponentials/cs207-FinalProject
304410a90ca6c016256615f280725a6babda2438
[ "MIT" ]
null
null
null
import AD import AD.ElemFunc as EF from AD.ADiff import ADiff import pprint as pp def myfunc1(x,y): f1=x*y f2=EF.sin(x) f3=10 f4=x+y+EF.sin(x*y)+10 return [f1+f2, -(f3-f4), f1,5] def myfunc2(x,y,z): f1=x*y return ((f1+10)/3)/z def myfunc3(x): f1=x**2 return f1 de...
15.51938
52
0.578422
368
2,002
3.092391
0.130435
0.070299
0.079086
0.140598
0.734622
0.713533
0.655536
0.635325
0.619508
0.557996
0
0.048665
0.158342
2,002
128
53
15.640625
0.626706
0
0
0.75
0
0
0.278222
0
0
0
0
0
0
1
0.05
false
0
0.04
0
0.14
0.41
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
fb76b869e410443164fefb3eb46ef5e5bc740e87
435
py
Python
stubs/loboris-esp32_lobo-3_2_24/curl.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
38
2020-10-18T21:59:44.000Z
2022-03-17T03:03:28.000Z
stubs/loboris-esp32_lobo-3_2_24/curl.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
176
2020-10-18T14:31:03.000Z
2022-03-30T23:22:39.000Z
stubs/loboris-esp32_lobo-3_2_24/curl.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
6
2020-12-28T21:11:12.000Z
2022-02-06T04:07:50.000Z
""" Module: 'curl' on esp32_LoBo MCU: (sysname='esp32_LoBo', nodename='esp32_LoBo', release='3.2.24', version='ESP32_LoBo_v3.2.24 on 2018-09-06', machine='ESP32 board with ESP32') Stubber: 1.0.0 """ SMTP = 1 SMTPS = 2 def ftp_get(): pass def ftp_list(): pass def ftp_put(): pass def get(): pass def g...
12.428571
146
0.618391
69
435
3.782609
0.521739
0.214559
0.076628
0
0
0
0
0
0
0
0
0.097633
0.222989
435
34
147
12.794118
0.674556
0.436782
0
0.45
0
0
0
0
0
0
0
0
0
1
0.45
false
0.45
0
0
0.45
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
fb7cdab4e1634d759ef6a76bf3f4d96f448cc493
391
py
Python
src/tentaclio_postgres/__init__.py
octoenergy/tentaclio-postgres
4c8ba003c7c61579ee431dcdf9f36a096ef0a26b
[ "MIT" ]
null
null
null
src/tentaclio_postgres/__init__.py
octoenergy/tentaclio-postgres
4c8ba003c7c61579ee431dcdf9f36a096ef0a26b
[ "MIT" ]
null
null
null
src/tentaclio_postgres/__init__.py
octoenergy/tentaclio-postgres
4c8ba003c7c61579ee431dcdf9f36a096ef0a26b
[ "MIT" ]
1
2022-01-14T00:33:21.000Z
2022-01-14T00:33:21.000Z
"""This package implements the tentaclio postgres client """ from tentaclio import * # noqa from .clients.postgres_client import PostgresClient from .streams.postgres_handler import PostgresURLHandler # Db registry DB_REGISTRY.register("postgresql", PostgresClient) # type: ignore # postgres handler STREAM_HANDLER...
30.076923
84
0.803069
42
391
7.357143
0.52381
0.090615
0.168285
0
0
0
0
0
0
0
0
0
0.11509
391
12
85
32.583333
0.893064
0.294118
0
0
0
0
0.075188
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
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
fb8b25b9049beb244bc44f500fa047ebe566fc5d
591
py
Python
Coding-Challenges/depthFirstSearch/depth_first_search.py
FergusDevelopmentLLC/Coders-Workshop
3513bd5f79eaa85b4d2a648c5f343a224842325d
[ "MIT" ]
33
2019-12-02T23:29:47.000Z
2022-03-24T02:40:36.000Z
Coding-Challenges/depthFirstSearch/depth_first_search.py
FergusDevelopmentLLC/Coders-Workshop
3513bd5f79eaa85b4d2a648c5f343a224842325d
[ "MIT" ]
39
2020-01-15T19:28:12.000Z
2021-11-26T05:13:29.000Z
Coding-Challenges/depthFirstSearch/depth_first_search.py
FergusDevelopmentLLC/Coders-Workshop
3513bd5f79eaa85b4d2a648c5f343a224842325d
[ "MIT" ]
49
2019-12-02T23:29:53.000Z
2022-03-03T01:11:37.000Z
#!/usr/bin/env node class Node: def __init__(self, name): self.name = name self.children = [] def add_child(self, name): self.children.append(Node(name)) return self def depth_first_search(array): pass # write your code here test1 = Node("A") test1.add_c...
22.730769
59
0.642978
91
591
3.967033
0.417582
0.243767
0.066482
0.094183
0
0
0
0
0
0
0
0.026639
0.174281
591
25
60
23.64
0.713115
0.06599
0
0
0
0
0.02
0
0
0
0
0.04
0
1
0.1875
false
0.0625
0
0
0.3125
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
1
0
0
0
0
1
0
0
0
0
0
3
fb932a972f8220b32ad5bd3e2ba8f05ff4a4b169
1,701
py
Python
hooks/pre_gen_project.py
cokelaer/sequana_pipeline_template
7d90031b992a146a7cb6fa3ad232606bb1e73cc0
[ "BSD-3-Clause" ]
null
null
null
hooks/pre_gen_project.py
cokelaer/sequana_pipeline_template
7d90031b992a146a7cb6fa3ad232606bb1e73cc0
[ "BSD-3-Clause" ]
null
null
null
hooks/pre_gen_project.py
cokelaer/sequana_pipeline_template
7d90031b992a146a7cb6fa3ad232606bb1e73cc0
[ "BSD-3-Clause" ]
2
2021-07-06T14:38:38.000Z
2021-07-20T09:23:46.000Z
import re import sys MODULE_REGEX = r'^[_a-zA-Z][_a-zA-Z0-9]+$' module_name = '{{ cookiecutter.name }}' project_slug = '{{ cookiecutter.project_slug }}' # THIS SHOUL REMAINS PURE PYTHON class Colors: """ :: color = Colors() print(color.failed("msg")) """ PURPLE = "\033[95m" ...
22.68
108
0.614932
234
1,701
4.405983
0.350427
0.061106
0.113482
0.1484
0.101843
0.101843
0.101843
0.101843
0.101843
0
0
0.032685
0.244562
1,701
74
109
22.986486
0.76965
0.074662
0
0.119048
0
0
0.232708
0.031674
0
0
0
0
0
1
0.214286
false
0
0.047619
0.214286
0.690476
0.095238
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
fbbd6915002bf8835506eb86dd9aed8c81480fc6
6,355
py
Python
datahub/dbmaintenance/test/commands/test_delete_investment_sector.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
6
2019-12-02T16:11:24.000Z
2022-03-18T10:02:02.000Z
datahub/dbmaintenance/test/commands/test_delete_investment_sector.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
1,696
2019-10-31T14:08:37.000Z
2022-03-29T12:35:57.000Z
datahub/dbmaintenance/test/commands/test_delete_investment_sector.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
9
2019-11-22T12:42:03.000Z
2021-09-03T14:25:05.000Z
from io import BytesIO import factory import pytest from django.core.management import call_command from reversion.models import Version from datahub.investment.project.models import FDISICGrouping, InvestmentSector from datahub.investment.project.test.factories import ( FDISICGroupingFactory, InvestmentSecto...
28.497758
81
0.639339
718
6,355
5.399721
0.168524
0.040237
0.050297
0.037142
0.7057
0.7057
0.7057
0.653856
0.641475
0.641475
0
0.01306
0.240913
6,355
222
82
28.626126
0.79063
0.037136
0
0.596591
0
0
0.105936
0.015743
0.022727
0
0
0
0.0625
1
0.022727
false
0
0.051136
0
0.073864
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
fbc595bec34794d8915c666c0460061a9b0dd4f3
6,026
py
Python
fragmenstein/victor/__init__.py
matteoferla/Fragmenstein
151bde01f4ebd930880cb7ad234bab68ac4a3e76
[ "MIT" ]
41
2020-04-09T14:11:39.000Z
2022-03-15T15:44:14.000Z
fragmenstein/victor/__init__.py
LaYeqa/Fragmenstein
151bde01f4ebd930880cb7ad234bab68ac4a3e76
[ "MIT" ]
13
2020-12-02T13:13:59.000Z
2022-01-14T11:29:46.000Z
fragmenstein/victor/__init__.py
LaYeqa/Fragmenstein
151bde01f4ebd930880cb7ad234bab68ac4a3e76
[ "MIT" ]
6
2020-09-07T10:47:51.000Z
2021-09-23T14:22:39.000Z
from __future__ import annotations ######################################################################################################################## __doc__ = \ """ ?? And can be called via the class method ``.laboratory`` where he can process multiple compounds at once. The class Victor is assembled via ...
38.382166
120
0.70229
752
6,026
5.474734
0.360372
0.018703
0.011659
0.00923
0.042264
0.013602
0.013602
0
0
0
0
0.00205
0.190342
6,026
156
121
38.628205
0.841771
0.719217
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.111111
0.666667
0
0.777778
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
fbcd33f32696e7cf4a1263f73ced99f23ead04e4
10,134
py
Python
ambari-agent/src/test/python/ambari_agent/TestAlertSchedulerHandler.py
Syndra/Ambari-source
717526b2bf3636622212b14de0d3d298a20c7370
[ "Apache-2.0" ]
5
2017-07-20T11:15:10.000Z
2020-04-16T15:42:55.000Z
ambari-agent/src/test/python/ambari_agent/TestAlertSchedulerHandler.py
Syndra/Ambari-source
717526b2bf3636622212b14de0d3d298a20c7370
[ "Apache-2.0" ]
8
2020-06-18T17:31:19.000Z
2022-03-02T08:32:03.000Z
ambari-agent/src/test/python/ambari_agent/TestAlertSchedulerHandler.py
Syndra/Ambari-source
717526b2bf3636622212b14de0d3d298a20c7370
[ "Apache-2.0" ]
12
2017-05-17T09:48:01.000Z
2021-08-05T19:01:25.000Z
#!/usr/bin/env python ''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License")...
36.850909
132
0.748273
1,157
10,134
6.216076
0.149525
0.080089
0.095106
0.124583
0.736652
0.712597
0.712597
0.69911
0.672414
0.672414
0
0.001991
0.157588
10,134
274
133
36.985401
0.840459
0.076574
0
0.551546
0
0
0.068449
0.005241
0
0
0
0
0.159794
1
0.082474
false
0
0.051546
0
0.139175
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
fbd48de8c64461e2bf85082fe6564c27d8910e1e
805
py
Python
build.py
christopher-roelofs/MiSTerDash
fcbbd56eb663210abe79e5f33d926e5f41f7c7e4
[ "MIT" ]
null
null
null
build.py
christopher-roelofs/MiSTerDash
fcbbd56eb663210abe79e5f33d926e5f41f7c7e4
[ "MIT" ]
null
null
null
build.py
christopher-roelofs/MiSTerDash
fcbbd56eb663210abe79e5f33d926e5f41f7c7e4
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import shutil try: shutil.rmtree('dist') except Exception as e: pass os.system('pyinstaller -i icon.ico -n test --clean -y --add-data "templates;templates" --add-data "cores.json;." --add-data "config.json;." --add-data "static;static" --add-data "openv...
42.368421
209
0.696894
118
805
4.737288
0.398305
0.087657
0.057245
0.071556
0.336315
0.336315
0.221825
0
0
0
0
0.00137
0.093168
805
18
210
44.722222
0.764384
0.052174
0
0.142857
0
0.142857
0.60184
0.055191
0
0
0
0
0
1
0
true
0.071429
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
fbdc8da82ed7dce9bed1e21fb284154712b14b0e
2,710
py
Python
src/python/pyqgl2/ast_qgl2.py
BBN-Q/pyqgl2
7acc8b244ee7799c21df03ecff8325e15cdb94d3
[ "Apache-2.0" ]
10
2017-09-30T14:31:42.000Z
2021-12-12T07:52:05.000Z
src/python/pyqgl2/ast_qgl2.py
BBN-Q/pyqgl2
7acc8b244ee7799c21df03ecff8325e15cdb94d3
[ "Apache-2.0" ]
56
2017-04-11T15:47:15.000Z
2019-10-11T15:50:35.000Z
src/python/pyqgl2/ast_qgl2.py
BBN-Q/pyqgl2
7acc8b244ee7799c21df03ecff8325e15cdb94d3
[ "Apache-2.0" ]
3
2019-06-20T07:08:39.000Z
2020-10-24T19:29:05.000Z
# Copyright 2016 by Raytheon BBN Technologies Corp. All Rights Reserved. """ AST utilities related to QGL2 nodes (primarily with-statements) """ import ast import os import sys from pyqgl2.debugmsg import DebugMsg from pyqgl2.lang import QGL2 def is_with_label(node, label): """ Return True if the given nod...
25.809524
73
0.674908
393
2,710
4.605598
0.274809
0.054696
0.024862
0.030387
0.718785
0.703315
0.648619
0.60442
0.60442
0.514917
0
0.007382
0.250185
2,710
104
74
26.057692
0.883366
0.505904
0
0.538462
0
0
0.034072
0
0
0
0
0.028846
0
1
0.128205
false
0
0.128205
0
0.615385
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
837366821fb46a2de4567ef7f49507371c39bd97
21
py
Python
redditcli/tests/unit/__init__.py
gobins/python-oauth2
2e486ef139569a1eca9275a8a7aa4447e210b29d
[ "Apache-2.0" ]
1
2015-07-31T03:05:52.000Z
2015-07-31T03:05:52.000Z
redditcli/tests/unit/__init__.py
gobins/python-oauth2
2e486ef139569a1eca9275a8a7aa4447e210b29d
[ "Apache-2.0" ]
null
null
null
redditcli/tests/unit/__init__.py
gobins/python-oauth2
2e486ef139569a1eca9275a8a7aa4447e210b29d
[ "Apache-2.0" ]
null
null
null
__author__ = 'Gobin'
10.5
20
0.714286
2
21
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.238095
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
837fcc017c1c5160c9b667178f5b1a4c30803f12
90
py
Python
chapter_3/helloFunc2.py
aaronmccollum/automate-the-boring-stuff-with-python
c2b38240800086c6a0c8d0f790904c1e3a0aa2a4
[ "MIT" ]
null
null
null
chapter_3/helloFunc2.py
aaronmccollum/automate-the-boring-stuff-with-python
c2b38240800086c6a0c8d0f790904c1e3a0aa2a4
[ "MIT" ]
null
null
null
chapter_3/helloFunc2.py
aaronmccollum/automate-the-boring-stuff-with-python
c2b38240800086c6a0c8d0f790904c1e3a0aa2a4
[ "MIT" ]
null
null
null
def hello(name): print("Hello " + name) hello("Aaron") hello("Steve") hello("Bruce")
12.857143
26
0.622222
12
90
4.666667
0.583333
0.321429
0
0
0
0
0
0
0
0
0
0
0.155556
90
6
27
15
0.736842
0
0
0
0
0
0.233333
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
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
83924cbb7690dfefae417de96757f0b97d5b2963
651
py
Python
aulas_secao_16_orientacao_ao_objeto.py
Romuloro/Curso_udemy_geek_academy_python
10d514874d913b7c2e3e4c30bd8a610973ffff3a
[ "MIT" ]
null
null
null
aulas_secao_16_orientacao_ao_objeto.py
Romuloro/Curso_udemy_geek_academy_python
10d514874d913b7c2e3e4c30bd8a610973ffff3a
[ "MIT" ]
null
null
null
aulas_secao_16_orientacao_ao_objeto.py
Romuloro/Curso_udemy_geek_academy_python
10d514874d913b7c2e3e4c30bd8a610973ffff3a
[ "MIT" ]
null
null
null
""" Programação orientada ao objeto - Programação orientado ao objeto é um paradigma da programação que utiliza mapeamento de objetos do mundo real para modelos computacionais. - Paradigma de programação é a forma/metodologia utilizada para pensar/desenvolver sistemas. Principais elementos da Orientação ao objeto: -...
25.038462
86
0.786482
82
651
6.243902
0.621951
0.046875
0.042969
0
0
0
0
0
0
0
0
0.005435
0.152074
651
25
87
26.04
0.922101
0.875576
0
0
0
0
0
0
0
0
0
0.12
0
1
0
false
0.2
0
0
0.2
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
3
83d454820a676f9ad40b148c01aa8d07ff5110a0
477
py
Python
loss_keras/dice_bce.py
ForrestPi/SegDL
56f2ff229dfa7540704d6de50292c724693aac75
[ "MIT" ]
1
2021-07-26T08:30:11.000Z
2021-07-26T08:30:11.000Z
loss_keras/dice_bce.py
ForrestPi/SegDL
56f2ff229dfa7540704d6de50292c724693aac75
[ "MIT" ]
null
null
null
loss_keras/dice_bce.py
ForrestPi/SegDL
56f2ff229dfa7540704d6de50292c724693aac75
[ "MIT" ]
1
2021-07-21T09:18:32.000Z
2021-07-21T09:18:32.000Z
import keras.backend as K from keras.losses import binary_crossentropy def dice_coef(y_true, y_pred, smooth=1): intersection = K.sum(y_true * y_pred, axis=[1,2,3]) ##y_true与y_pred都是矩阵!(Unet) union = K.sum(y_true, axis=[1,2,3]) + K.sum(y_pred, axis=[1,2,3]) return K.mean( (2. * intersection + smooth) / (un...
39.75
82
0.702306
90
477
3.5
0.411111
0.047619
0.047619
0.066667
0.07619
0.07619
0
0
0
0
0
0.039216
0.144654
477
12
83
39.75
0.732843
0.092243
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
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
83d978d0f8e3e3342021979b7243ed6d49137142
280
py
Python
computer_science/algoritms/sorting/bubblesort.py
kuzxnia/algoritms
eda3185f39d79a2657b7ef0da869fcc6b825889d
[ "MIT" ]
null
null
null
computer_science/algoritms/sorting/bubblesort.py
kuzxnia/algoritms
eda3185f39d79a2657b7ef0da869fcc6b825889d
[ "MIT" ]
null
null
null
computer_science/algoritms/sorting/bubblesort.py
kuzxnia/algoritms
eda3185f39d79a2657b7ef0da869fcc6b825889d
[ "MIT" ]
null
null
null
# Big O complexity # Average = O((1/2)*(n^2)) # Pessimistic = O((1/2)*(n^2)) def bubbleSort(array): for i in range(len(array)): for k in range(i, len(array) - 1): if array[i] > array[i + 1]: array[i], array[i + 1] = array[i + 1], array[i]
28
63
0.503571
48
280
2.9375
0.375
0.255319
0.148936
0.255319
0.347518
0.22695
0.22695
0
0
0
0
0.050251
0.289286
280
9
64
31.111111
0.658291
0.25
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
83f1d966d20a4df3a193a51ad96020135aec15bd
107
py
Python
redis_sessions/exceptions.py
ReznikovRoman/django-redis-sessions
c52e37fed3174deddca6cf59c33551ead3d513d3
[ "BSD-3-Clause" ]
null
null
null
redis_sessions/exceptions.py
ReznikovRoman/django-redis-sessions
c52e37fed3174deddca6cf59c33551ead3d513d3
[ "BSD-3-Clause" ]
null
null
null
redis_sessions/exceptions.py
ReznikovRoman/django-redis-sessions
c52e37fed3174deddca6cf59c33551ead3d513d3
[ "BSD-3-Clause" ]
null
null
null
class ImproperlyConfigured(Exception): """Django Sessions is somehow improperly configured.""" ...
26.75
59
0.719626
9
107
8.555556
1
0
0
0
0
0
0
0
0
0
0
0
0.158879
107
3
60
35.666667
0.855556
0.457944
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
83f5872476005e17533d49aeec70bbc81c7d47f9
32,454
py
Python
halotools/empirical_models/occupation_models/zheng07_components.py
syrte/halotools
73ecde657373deb61fc19cb16ec5be7f10df697d
[ "BSD-3-Clause" ]
null
null
null
halotools/empirical_models/occupation_models/zheng07_components.py
syrte/halotools
73ecde657373deb61fc19cb16ec5be7f10df697d
[ "BSD-3-Clause" ]
null
null
null
halotools/empirical_models/occupation_models/zheng07_components.py
syrte/halotools
73ecde657373deb61fc19cb16ec5be7f10df697d
[ "BSD-3-Clause" ]
null
null
null
r""" This module contains occupation components used by the Zheng07 composite model. """ import numpy as np from scipy.special import erf import warnings from .occupation_model_template import OccupationComponent from .. import model_defaults from ..assembias_models import HeavisideAssembias, PreservingNgalHeaviside...
45.075
156
0.637487
4,010
32,454
5.015711
0.117207
0.013176
0.017153
0.024064
0.775319
0.750062
0.702083
0.687416
0.680356
0.667031
0
0.037576
0.280027
32,454
719
157
45.137691
0.823205
0.591514
0
0.527638
0
0
0.188013
0.016504
0
0
0
0
0.01005
1
0.060302
false
0.01005
0.035176
0
0.155779
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
f7cae9a8404dfaa6c3131100313d742b6995ca85
1,050
py
Python
strings/hamming_distance.py
informramiz/data-structures-and-algorithms
7038c8becc4cbad82867c9c8bca42637ca27c8d7
[ "Apache-2.0" ]
null
null
null
strings/hamming_distance.py
informramiz/data-structures-and-algorithms
7038c8becc4cbad82867c9c8bca42637ca27c8d7
[ "Apache-2.0" ]
null
null
null
strings/hamming_distance.py
informramiz/data-structures-and-algorithms
7038c8becc4cbad82867c9c8bca42637ca27c8d7
[ "Apache-2.0" ]
1
2020-09-24T22:54:52.000Z
2020-09-24T22:54:52.000Z
""" In information theory, the Hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different. Calculate the Hamming distace for the following test cases. Calculate the hamming distance of the two strings Args: str1(string),str2(string): ...
36.206897
93
0.68381
145
1,050
4.910345
0.482759
0.210674
0.077247
0.095506
0.106742
0
0
0
0
0
0
0.060427
0.19619
1,050
28
94
37.5
0.783175
0.400952
0
0
0
0
0.247987
0
0
0
0
0
0
1
0.083333
false
0.416667
0
0
0.166667
0.416667
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
1
0
0
0
1
0
3
f7e2f980d1085adcee5e7924eb7d5bc067cb95d4
116
py
Python
setup.py
darenr/CommonRegex
47d94cb85d7c9468cc49403c26437d21b9fec701
[ "MIT" ]
null
null
null
setup.py
darenr/CommonRegex
47d94cb85d7c9468cc49403c26437d21b9fec701
[ "MIT" ]
null
null
null
setup.py
darenr/CommonRegex
47d94cb85d7c9468cc49403c26437d21b9fec701
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name='commonregex', version='1.6.0', py_modules=['commonregex'])
23.2
33
0.681034
15
116
5.2
0.866667
0
0
0
0
0
0
0
0
0
0
0.030928
0.163793
116
4
34
29
0.773196
0
0
0
0
0
0.232759
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
f7fd173e432d712db1bdcd59c7e0717652c20284
1,951
py
Python
Python/flask/pr1/main.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
null
null
null
Python/flask/pr1/main.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
3
2020-03-24T16:26:35.000Z
2020-04-15T19:40:41.000Z
Python/flask/pr1/main.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
null
null
null
from flask import Flask # flask server from flask import request # how the user requested a resource from flask import render_template # to use templates/layouts app = Flask(__name__) # Something i can do in templates: # {{ var_name }} # {% """kind of python code on flask""" %} # [@] signifies a decorator - way...
27.871429
80
0.686827
280
1,951
4.7
0.421429
0.06079
0.034195
0.038754
0.030395
0
0
0
0
0
0
0.003109
0.175807
1,951
69
81
28.275362
0.815299
0.372629
0
0
0
0
0.270989
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.179487
0.589744
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
79017262dd9a268afd502f5cc32e22c15e723371
154
py
Python
analysis/tools/count_histories.py
beykyle/omp-uq
7d9b720d874b634f3a56878ce34f29553441194e
[ "MIT" ]
null
null
null
analysis/tools/count_histories.py
beykyle/omp-uq
7d9b720d874b634f3a56878ce34f29553441194e
[ "MIT" ]
null
null
null
analysis/tools/count_histories.py
beykyle/omp-uq
7d9b720d874b634f3a56878ce34f29553441194e
[ "MIT" ]
null
null
null
import sys from CGMFtk import histories as fh if __name__ == "__main__": hist = fh.Histories(sys.argv[1]) print(len(hist.getFissionHistories()))
22
42
0.714286
21
154
4.857143
0.761905
0
0
0
0
0
0
0
0
0
0
0.007752
0.162338
154
6
43
25.666667
0.782946
0
0
0
0
0
0.051948
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
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
790211bfa017a8a2d1297cd673098bab535e254d
18,081
py
Python
src/main/resources/pydev_tunnel/tunnel_single_script.py
gdlg/k8s-debugger-pycharm-pluggin
30354f8e6ce3f979650c032e485137ec3f113a2c
[ "Apache-2.0" ]
null
null
null
src/main/resources/pydev_tunnel/tunnel_single_script.py
gdlg/k8s-debugger-pycharm-pluggin
30354f8e6ce3f979650c032e485137ec3f113a2c
[ "Apache-2.0" ]
null
null
null
src/main/resources/pydev_tunnel/tunnel_single_script.py
gdlg/k8s-debugger-pycharm-pluggin
30354f8e6ce3f979650c032e485137ec3f113a2c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import contextlib as __stickytape_contextlib @__stickytape_contextlib.contextmanager def __stickytape_temporary_dir(): import tempfile import shutil dir_path = tempfile.mkdtemp() try: yield dir_path finally: shutil.rmtree(dir_path) with __stickytape_temporary_...
182.636364
3,959
0.673027
2,576
18,081
4.535714
0.117236
0.015063
0.011554
0.013352
0.541938
0.470387
0.378038
0.345344
0.300839
0.253252
0
0.007082
0.219014
18,081
99
3,960
182.636364
0.820339
0.024777
0
0
0
0.119403
0.838402
0.218849
0
0
0
0
0.044776
1
0.044776
false
0.044776
0.268657
0
0.313433
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
f71451d02fba81b192946c47e4158536448a5bed
40
py
Python
test-django-project/testapp/urls.py
rhenter/django-utils
7e2901ac1efc3db47977b98e45754e40bfef6891
[ "MIT" ]
20
2021-01-21T13:04:44.000Z
2022-03-26T22:03:19.000Z
test-django-project/testapp/urls.py
rhenter/django-utils
7e2901ac1efc3db47977b98e45754e40bfef6891
[ "MIT" ]
4
2019-03-15T18:13:49.000Z
2019-03-20T00:06:46.000Z
test-django-project/testapp/urls.py
rhenter/django-utils
7e2901ac1efc3db47977b98e45754e40bfef6891
[ "MIT" ]
6
2021-01-21T13:27:45.000Z
2022-03-26T21:28:22.000Z
app_name = 'testapp' urlpatterns = [ ]
8
20
0.65
4
40
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.2
40
4
21
10
0.78125
0
0
0
0
0
0.179487
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
f72b88a082eaa6db2a20df009f1b14a4cabb69cb
355
py
Python
unified_api/utils/utils.py
campos537/deep-fashion-system
1de31dd6260cc967e1832cff63ae7e537a3a4e9d
[ "Unlicense" ]
1
2021-04-06T00:43:26.000Z
2021-04-06T00:43:26.000Z
unified_api/utils/utils.py
campos537/deep-fashion-system
1de31dd6260cc967e1832cff63ae7e537a3a4e9d
[ "Unlicense" ]
null
null
null
unified_api/utils/utils.py
campos537/deep-fashion-system
1de31dd6260cc967e1832cff63ae7e537a3a4e9d
[ "Unlicense" ]
null
null
null
def valid_pubsub(config): if (config.get("topic_id") is not None and config.get("project_id") is not None and config.get("subscription_id") is not None): return True return False def valid_kafka(config): if config.get("bootstrap_server") is not None and config.get("port") is not None: ...
35.5
85
0.673239
55
355
4.236364
0.381818
0.193133
0.193133
0.141631
0.545064
0.545064
0.454936
0
0
0
0
0
0.228169
355
10
86
35.5
0.850365
0
0
0.444444
0
0
0.148876
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.666667
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
1
0
0
0
0
1
0
0
3
f732bda9d958fb505e55bb197410b6a4a1479d11
4,093
py
Python
stubs.min/System/Windows/__init___parts/PresentationSource.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Windows/__init___parts/PresentationSource.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/__init___parts/PresentationSource.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class PresentationSource(DispatcherObject): """ Provides an abstract base for classes that present content from another technology as part of an interoperation scenario. In addition,this class provides static methods for working with these sources,as well as the basic visual-layer presentation architecture. """ def...
35.284483
270
0.73247
458
4,093
6.545852
0.259825
0.056371
0.036024
0.040027
0.310207
0.282188
0.232488
0.197799
0.197799
0.163109
0
0
0.194478
4,093
115
271
35.591304
0.909312
0.595162
0
0.464286
0
0
0
0
0
0
0
0
0
1
0.321429
false
0.321429
0
0
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
1
0
0
1
0
0
3
f73ac593c4c8b4927ec63131454d97584ada7dc4
250
py
Python
python--exercicios/ex034.py
Eliezer2000/python
12abb54c6536acb2f36b8f34bf51ec765857eb75
[ "MIT" ]
null
null
null
python--exercicios/ex034.py
Eliezer2000/python
12abb54c6536acb2f36b8f34bf51ec765857eb75
[ "MIT" ]
null
null
null
python--exercicios/ex034.py
Eliezer2000/python
12abb54c6536acb2f36b8f34bf51ec765857eb75
[ "MIT" ]
null
null
null
salário = float(input('Digite o valor do seu salário: R$')) if salário <= 1250: novo = salário + (salário * 15 / 100) else: novo = salário + (salário * 10 / 100) print('Quem ganhava R$ {:.2f} passou a ganhar R$ {:.2f}'.format(salário, novo))
35.714286
79
0.628
37
250
4.243243
0.648649
0.140127
0.229299
0
0
0
0
0
0
0
0
0.08
0.2
250
6
80
41.666667
0.705
0
0
0
0
0
0.324
0
0
0
0
0
0
1
0
false
0.166667
0
0
0
0.166667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
f74d3719939013bef66b6d791bc59048a670c2fc
146
py
Python
Projeto Django/contato/apps.py
yurimses/tp-cruzi-db
201c114b70c7dc3b7eaf549d1778689567499e22
[ "MIT" ]
1
2021-03-26T18:21:59.000Z
2021-03-26T18:21:59.000Z
Projeto Django/contato/apps.py
yurimses/tp-cruzi-db
201c114b70c7dc3b7eaf549d1778689567499e22
[ "MIT" ]
14
2021-03-26T20:54:22.000Z
2021-04-06T17:18:53.000Z
Projeto Django/contato/apps.py
yurimses/tp-cruzi-db
201c114b70c7dc3b7eaf549d1778689567499e22
[ "MIT" ]
2
2021-04-01T23:43:20.000Z
2021-04-27T13:35:28.000Z
from django.apps import AppConfig class ContatoConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'contato'
20.857143
56
0.760274
17
146
6.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.150685
146
6
57
24.333333
0.879032
0
0
0
0
0
0.246575
0.19863
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
f75825331bc88387482825963835c59f21daa975
423
py
Python
Mundo 1/ex006.py
judigunkel/judi-exercicios-python
c61bb75b1ae6141defcf42214194e141a70af15d
[ "MIT" ]
null
null
null
Mundo 1/ex006.py
judigunkel/judi-exercicios-python
c61bb75b1ae6141defcf42214194e141a70af15d
[ "MIT" ]
null
null
null
Mundo 1/ex006.py
judigunkel/judi-exercicios-python
c61bb75b1ae6141defcf42214194e141a70af15d
[ "MIT" ]
1
2021-03-06T02:41:36.000Z
2021-03-06T02:41:36.000Z
""" Crie um algoritmo que leia um número e mostre seu dobro, triplo e raíz quadrada """ # importando a função sqrt (raíz quadrada) da biblioteca math from math import sqrt n = int(input('Digite um número inteiro: ')) print(f'O dobro de \033[35m{n}\033[m é \033[31m{n * 2}\033[m') print(f'O triplo de \033[35m{n}\033[m ...
35.25
79
0.680851
88
423
3.272727
0.465909
0.083333
0.083333
0.09375
0.177083
0.177083
0.177083
0.177083
0
0
0
0.141667
0.148936
423
11
80
38.454545
0.658333
0.330969
0
0
0
0.6
0.716364
0.098182
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f75bf190b7686b3a06daf1bc1b03c5484898b3bb
288
py
Python
priv/python/qrcode.py
badubizzle/elixir_python_qrcode
1c592144ecc2a86f742dabe8b9712bcb3b6022a9
[ "MIT" ]
14
2018-04-03T01:36:26.000Z
2021-04-16T03:20:24.000Z
priv/python/qrcode.py
badubizzle/elixir_python_qrcode
1c592144ecc2a86f742dabe8b9712bcb3b6022a9
[ "MIT" ]
null
null
null
priv/python/qrcode.py
badubizzle/elixir_python_qrcode
1c592144ecc2a86f742dabe8b9712bcb3b6022a9
[ "MIT" ]
3
2018-11-25T14:15:00.000Z
2019-11-18T02:00:24.000Z
def decode(file_path): import qrtools qr = qrtools.QR() qr.decode(file_path) return qr.data def encode(data, file_path): import qrtools qr = qrtools.QR(data.encode("utf-8")) return qr.encode(filename=file_path) def greetings(name): return "Hello "+ name
20.571429
41
0.670139
42
288
4.5
0.380952
0.169312
0.148148
0.222222
0.338624
0.338624
0.338624
0
0
0
0
0.004386
0.208333
288
13
42
22.153846
0.824561
0
0
0.181818
0
0
0.038194
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.090909
0.727273
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
f75def10cf77b976555930c7f4afab03837779c6
100
py
Python
Colorizing-with-GANs-master/test-eval.py
adityajain28/Colorizing-with-GANs
7657da967ee29e53a8344b554b3d817bea215e69
[ "Apache-2.0" ]
262
2018-03-04T20:25:55.000Z
2022-03-17T11:31:07.000Z
Colorizing-with-GANs-master/test-eval.py
adityajain28/Colorizing-with-GANs
7657da967ee29e53a8344b554b3d817bea215e69
[ "Apache-2.0" ]
29
2018-05-03T15:30:15.000Z
2021-07-19T01:06:12.000Z
Colorizing-with-GANs-master/test-eval.py
adityajain28/Colorizing-with-GANs
7657da967ee29e53a8344b554b3d817bea215e69
[ "Apache-2.0" ]
92
2018-04-14T18:00:36.000Z
2022-01-27T22:08:24.000Z
from src import ModelOptions, main options = ModelOptions().parse() options.mode = 1 main(options)
16.666667
34
0.76
13
100
5.846154
0.692308
0.289474
0
0
0
0
0
0
0
0
0
0.011494
0.13
100
5
35
20
0.862069
0
0
0
0
0
0
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
f76e56a519eb8daba2d0d35f63804ba67d53b931
272
py
Python
setup.py
kennknowles/python-either
597fe546fc1aece4f6bed50dbf43a1217da549f9
[ "Apache-2.0" ]
13
2015-06-21T13:09:57.000Z
2021-04-22T07:34:35.000Z
setup.py
kennknowles/python-either
597fe546fc1aece4f6bed50dbf43a1217da549f9
[ "Apache-2.0" ]
null
null
null
setup.py
kennknowles/python-either
597fe546fc1aece4f6bed50dbf43a1217da549f9
[ "Apache-2.0" ]
1
2017-08-24T11:01:33.000Z
2017-08-24T11:01:33.000Z
import setuptools setuptools.setup( name = "either", version = "0.1", url = "https://github.com/kennknowles/python-either", maintainer = "Kenneth Knowles", maintainer_email = "kenn.knowles@gmail.com", packages = setuptools.find_packages())
27.2
57
0.661765
29
272
6.137931
0.758621
0
0
0
0
0
0
0
0
0
0
0.009174
0.198529
272
9
58
30.222222
0.807339
0
0
0
0
0
0.330882
0.080882
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
f77911f005ec631b7d74c39dcc9798612bf6f966
348
py
Python
api/assessments/serializers.py
xuanqiz/mhdb-tables2api
57deb06bc7c132135517c32a0708dcb38e8720e1
[ "Apache-2.0" ]
null
null
null
api/assessments/serializers.py
xuanqiz/mhdb-tables2api
57deb06bc7c132135517c32a0708dcb38e8720e1
[ "Apache-2.0" ]
null
null
null
api/assessments/serializers.py
xuanqiz/mhdb-tables2api
57deb06bc7c132135517c32a0708dcb38e8720e1
[ "Apache-2.0" ]
1
2021-03-24T12:51:20.000Z
2021-03-24T12:51:20.000Z
from rest_framework import serializers from assessments.models import Questionnaire, Author class AuthorSerializer(serializers.ModelSerializer): class Meta: model = Author fields = '__all__' class QuestionnaireSerializer(serializers.ModelSerializer): class Meta: model = Questionnaire ...
23.2
59
0.732759
31
348
7.935484
0.548387
0.211382
0.252033
0.284553
0.325203
0
0
0
0
0
0
0
0.20977
348
14
60
24.857143
0.894545
0
0
0.4
0
0
0.040346
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
f77944c41716b82d8fd4459e58166228a00ab96b
795
py
Python
prof/admin.py
nikhil-nk/IITG-Faculty-Portal
6d89b97cf44f7eb7c7778c79b3a3d9fda8d8fb0d
[ "MIT" ]
null
null
null
prof/admin.py
nikhil-nk/IITG-Faculty-Portal
6d89b97cf44f7eb7c7778c79b3a3d9fda8d8fb0d
[ "MIT" ]
null
null
null
prof/admin.py
nikhil-nk/IITG-Faculty-Portal
6d89b97cf44f7eb7c7778c79b3a3d9fda8d8fb0d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from .models import professor,department,education,award_fellowships,award_achievement,experience,project,publication_books,publication_conferences,publication_journals,publication_thesis,student_completed,student_ongoing from django.contrib import admin ...
41.842105
221
0.866667
97
795
6.886598
0.309278
0.17515
0.330838
0.167665
0
0
0
0
0
0
0
0.001309
0.038994
795
18
222
44.166667
0.873037
0.026415
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.1875
0
0.1875
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f785ec7d9fa2fc6969ccd808d2652504fed588da
94
py
Python
zeenode-selfbot/launch.py
PercyTheB/zeenode-fixed
d91750a8ef66ae92053aab16e7bc57457ddf71d4
[ "MIT" ]
null
null
null
zeenode-selfbot/launch.py
PercyTheB/zeenode-fixed
d91750a8ef66ae92053aab16e7bc57457ddf71d4
[ "MIT" ]
null
null
null
zeenode-selfbot/launch.py
PercyTheB/zeenode-fixed
d91750a8ef66ae92053aab16e7bc57457ddf71d4
[ "MIT" ]
null
null
null
import os from zeenode.load import load window = "mode 90,19" os.system(window) load()
13.428571
30
0.691489
15
94
4.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0.053333
0.202128
94
6
31
15.666667
0.813333
0
0
0
0
0
0.113636
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
f79ba60b7157c2a5f3ea2a061b86b2ca4cea7293
5,223
py
Python
mpf/tests/test_DataManager.py
cloudjor/mpf
1cf6bf18b0d81120383b0b128b0ebbfa1c62717c
[ "MIT" ]
null
null
null
mpf/tests/test_DataManager.py
cloudjor/mpf
1cf6bf18b0d81120383b0b128b0ebbfa1c62717c
[ "MIT" ]
null
null
null
mpf/tests/test_DataManager.py
cloudjor/mpf
1cf6bf18b0d81120383b0b128b0ebbfa1c62717c
[ "MIT" ]
null
null
null
"""Test the bonus mode.""" import os import time from unittest.mock import mock_open, patch from mpf.file_interfaces.yaml_interface import YamlInterface from mpf.core.data_manager import DataManager from mpf.tests.MpfTestCase import MpfTestCase class TestDataManager(MpfTestCase): def getConfigFile(self): ...
49.273585
116
0.645989
655
5,223
4.914504
0.137405
0.05219
0.063374
0.049705
0.756757
0.707673
0.70146
0.641814
0.629077
0.629077
0
0.005744
0.233391
5,223
105
117
49.742857
0.798202
0.003829
0
0.482353
0
0
0.206465
0.139696
0
0
0
0
0.329412
1
0.082353
false
0
0.070588
0.023529
0.188235
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
f79d829b5f8e5b0ff8facb96fb7e9e6b5be45fd3
112
py
Python
aldryn_categories/__init__.py
jmrivas86/aldryn-categories
eaab925f1333cd7af7ffa95a7b4f8d72c376e736
[ "BSD-3-Clause" ]
null
null
null
aldryn_categories/__init__.py
jmrivas86/aldryn-categories
eaab925f1333cd7af7ffa95a7b4f8d72c376e736
[ "BSD-3-Clause" ]
null
null
null
aldryn_categories/__init__.py
jmrivas86/aldryn-categories
eaab925f1333cd7af7ffa95a7b4f8d72c376e736
[ "BSD-3-Clause" ]
1
2020-01-08T20:18:46.000Z
2020-01-08T20:18:46.000Z
# -*- coding: utf-8 -*- __version__ = '1.0.4' default_app_config = 'aldryn_categories.apps.AldrynCategories'
16
62
0.705357
14
112
5.142857
1
0
0
0
0
0
0
0
0
0
0
0.040816
0.125
112
6
63
18.666667
0.693878
0.1875
0
0
0
0
0.494382
0.438202
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
e39488797eb335c666f0d25cf2ffd32254126c1d
233
py
Python
src/html/parser.py
listomx/python-future
e58042f7b86e05695a190b23bed0abcddafb4b92
[ "MIT" ]
908
2015-01-01T21:20:45.000Z
2022-03-29T20:47:16.000Z
src/html/parser.py
listomx/python-future
e58042f7b86e05695a190b23bed0abcddafb4b92
[ "MIT" ]
402
2015-01-04T01:30:19.000Z
2022-03-24T11:56:38.000Z
src/html/parser.py
listomx/python-future
e58042f7b86e05695a190b23bed0abcddafb4b92
[ "MIT" ]
305
2015-01-18T19:29:37.000Z
2022-03-24T09:40:09.000Z
from __future__ import absolute_import import sys __future_module__ = True if sys.version_info[0] >= 3: raise ImportError('Cannot import module from python-future source folder') else: from future.moves.html.parser import *
25.888889
78
0.776824
33
233
5.151515
0.666667
0.117647
0
0
0
0
0
0
0
0
0
0.010101
0.150215
233
8
79
29.125
0.848485
0
0
0
0
0
0.227468
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e3a5b31256c471d73dd0f3618e8954e5ba2e2991
2,194
py
Python
tests/fixtures/images/__init__.py
antoinebqain/thumbor3
cfa16e1557a33a245b053e8bc26cba82a945a952
[ "MIT" ]
null
null
null
tests/fixtures/images/__init__.py
antoinebqain/thumbor3
cfa16e1557a33a245b053e8bc26cba82a945a952
[ "MIT" ]
null
null
null
tests/fixtures/images/__init__.py
antoinebqain/thumbor3
cfa16e1557a33a245b053e8bc26cba82a945a952
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # thumbor imaging service # https://github.com/thumbor/thumbor/wiki # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license # Copyright (c) 2011 globo.com thumbor@googlegroups.com import unicodedata from os.path import abspath, join, dirname ## #...
24.651685
80
0.729717
329
2,194
4.534954
0.349544
0.120643
0.073727
0.100536
0.256702
0.172922
0.119303
0.048257
0
0
0
0.031659
0.164995
2,194
88
81
24.931818
0.782751
0.178669
0
0
0
0
0.123111
0.061556
0
0
0
0
0
1
0.26087
false
0.021739
0.043478
0.23913
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e3aab7e269c0af48f0865d5f3fcc879450e7f946
584
py
Python
core/__main__.py
otto-de/crystal-gazer
4ce83e02d72e7dda184b03378032c188ffa4f310
[ "Apache-2.0" ]
1
2018-06-18T10:16:26.000Z
2018-06-18T10:16:26.000Z
core/__main__.py
otto-de/crystal-gazer
4ce83e02d72e7dda184b03378032c188ffa4f310
[ "Apache-2.0" ]
null
null
null
core/__main__.py
otto-de/crystal-gazer
4ce83e02d72e7dda184b03378032c188ffa4f310
[ "Apache-2.0" ]
null
null
null
from core.config import Config from core.run import run if __name__ == '__main__': print("Load new data with smaller map and start training from beginning with random initialization (if output folder is empty).") run(Config(root_folder="./resources/first_step", output_folder="/.././output")) print("Load n...
53.090909
155
0.734589
85
584
4.882353
0.517647
0.043373
0.057831
0.077108
0.231325
0
0
0
0
0
0
0
0.148973
584
10
156
58.4
0.83501
0
0
0
0
0.25
0.625
0.077055
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e3b58193b164801229e0c7e20de48cde822abe23
231
py
Python
resources/examples/modules/modules/model_v1.py
fornaxai/pyparams
f0d70c06f7d3a4710dfa5fcafe5f2801491f19d0
[ "MIT" ]
3
2019-06-03T06:07:43.000Z
2020-06-13T19:07:17.000Z
resources/examples/modules/modules/model_v1.py
fornaxai/pyparams
f0d70c06f7d3a4710dfa5fcafe5f2801491f19d0
[ "MIT" ]
null
null
null
resources/examples/modules/modules/model_v1.py
fornaxai/pyparams
f0d70c06f7d3a4710dfa5fcafe5f2801491f19d0
[ "MIT" ]
null
null
null
from dataclasses import dataclass from pyparams import * @dataclass class Model: num_layers: int = PyParam(5) activation: str = PyParam("relu") def predict(self, inputs): pass def get(): return Model()
14.4375
37
0.662338
28
231
5.428571
0.785714
0.197368
0
0
0
0
0
0
0
0
0
0.005714
0.242424
231
15
38
15.4
0.862857
0
0
0
0
0
0.017316
0
0
0
0
0
0
1
0.2
false
0.1
0.2
0.1
0.8
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
e3c2e17046852c41bab88d95ddde22bd16695e7a
315
py
Python
neighbour_app/forms.py
Tracymbone/neighborhood
7a6f0ec2a73847d098e3525c90eb0f2c3e479f39
[ "MIT" ]
null
null
null
neighbour_app/forms.py
Tracymbone/neighborhood
7a6f0ec2a73847d098e3525c90eb0f2c3e479f39
[ "MIT" ]
null
null
null
neighbour_app/forms.py
Tracymbone/neighborhood
7a6f0ec2a73847d098e3525c90eb0f2c3e479f39
[ "MIT" ]
null
null
null
from django.forms import ModelForm from .models import Post,Business,Contact class ProjectUploadForm(ModelForm): class Meta: model = Post fields =[''] # class RatingForm(ModelForm): # class Meta: # model = Rating # fields =['design_rate','usability_rate','content_rate']
21
65
0.657143
33
315
6.181818
0.606061
0.137255
0.176471
0.22549
0
0
0
0
0
0
0
0
0.234921
315
14
66
22.5
0.846473
0.415873
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e3cc1666f62c8ca7eb3ea5a9976585e6a53c3223
998
py
Python
drive.py
markhenrick/binpackingsim
6e0e38c9225360fd663674de435e6b0427a01f03
[ "MIT" ]
null
null
null
drive.py
markhenrick/binpackingsim
6e0e38c9225360fd663674de435e6b0427a01f03
[ "MIT" ]
null
null
null
drive.py
markhenrick/binpackingsim
6e0e38c9225360fd663674de435e6b0427a01f03
[ "MIT" ]
null
null
null
class Drive: def __init__(self, size): assert size > 0 self._size = size self._graph = [ 0 ] def __str__(self): return f"Drive(size={self.size()}, graph={self.graph_absolute_usage()})" def graph_absolute_usage(self): return self._graph def graph_rel...
27.722222
80
0.596192
128
998
4.375
0.195313
0.144643
0.125
0.117857
0.266071
0.221429
0.135714
0
0
0
0
0.006944
0.278557
998
36
81
27.722222
0.770833
0
0
0
0
0
0.062062
0.061061
0
0
0
0
0.076923
1
0.423077
false
0
0
0.307692
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
540339178f8da217ceaf15cf4b6c2a318f17e084
46
py
Python
adabkb/surrogate/__init__.py
Akatsuki96/adabkb
50eeb50dc5af2347bebddc12c61d755d16361796
[ "MIT" ]
null
null
null
adabkb/surrogate/__init__.py
Akatsuki96/adabkb
50eeb50dc5af2347bebddc12c61d755d16361796
[ "MIT" ]
null
null
null
adabkb/surrogate/__init__.py
Akatsuki96/adabkb
50eeb50dc5af2347bebddc12c61d755d16361796
[ "MIT" ]
null
null
null
from .bkb import BKB __all__ = ( 'BKB', )
9.2
20
0.565217
6
46
3.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.282609
46
5
21
9.2
0.666667
0
0
0
0
0
0.06383
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
5413646bac58deb9f08439a2ea98bf6cb89c49c0
303
py
Python
src/__init__.py
NSBum/anki_asset_manager
055d8b6c7226ab0b4db4f4f279fae89dcd88da2a
[ "MIT" ]
2
2020-08-17T20:02:14.000Z
2021-12-18T10:31:49.000Z
src/__init__.py
hgiesel/anki_script_manager
6fe07c026dbecc2a27663990208cf3b5beedbf15
[ "MIT" ]
31
2020-05-30T09:37:54.000Z
2021-12-02T16:51:05.000Z
src/__init__.py
hgiesel/anki_script_manager
6fe07c026dbecc2a27663990208cf3b5beedbf15
[ "MIT" ]
1
2021-06-08T10:12:59.000Z
2021-06-08T10:12:59.000Z
from .webview import init_webview from .models import init_models_dialog from .addon_manager import init_addon_manager from .fields import init_fields from .editor import init_editor def setup(): init_webview() init_models_dialog() init_addon_manager() init_fields() init_editor()
21.642857
45
0.778878
42
303
5.261905
0.285714
0.226244
0.144796
0
0
0
0
0
0
0
0
0
0.161716
303
13
46
23.307692
0.870079
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
true
0
0.454545
0
0.545455
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
541fd388c427a304c831cd3003cc6f3ae640c191
253
py
Python
andromeda/modules/technical_support/apps.py
sango09/andromeda_api_rest
b4a3267146f4f9a985fb3f512e652d4ff354bba2
[ "MIT" ]
1
2021-09-08T18:58:16.000Z
2021-09-08T18:58:16.000Z
andromeda/modules/technical_support/apps.py
sango09/andromeda_api_rest
b4a3267146f4f9a985fb3f512e652d4ff354bba2
[ "MIT" ]
null
null
null
andromeda/modules/technical_support/apps.py
sango09/andromeda_api_rest
b4a3267146f4f9a985fb3f512e652d4ff354bba2
[ "MIT" ]
null
null
null
"""App de soporte tecnico.""" # Django from django.apps import AppConfig class TechnicalSupportAppConfig(AppConfig): """Config del app de soporte tecnico.""" name = 'andromeda.modules.technical_support' verbose_name = 'Technical Support'
23
48
0.735178
28
253
6.571429
0.678571
0.054348
0.130435
0.206522
0
0
0
0
0
0
0
0
0.158103
253
10
49
25.3
0.86385
0.26087
0
0
0
0
0.295455
0.198864
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
580b5e57f09331041813351c54a8e780969e6597
520
py
Python
accounts/tests.py
Osca-M/django-oauth2
15bdd5c39e013c9f390eb586e64367e98ff59c4c
[ "MIT" ]
null
null
null
accounts/tests.py
Osca-M/django-oauth2
15bdd5c39e013c9f390eb586e64367e98ff59c4c
[ "MIT" ]
null
null
null
accounts/tests.py
Osca-M/django-oauth2
15bdd5c39e013c9f390eb586e64367e98ff59c4c
[ "MIT" ]
null
null
null
from django.test import TestCase from .models import User, UserProfile from mixer.backend.django import mixer import pytest pytest_mark = pytest.mark.django_db # Create your tests here. class TestUserModel(TestCase): def setUp(self): self.user = mixer.blend(User, email="monique@wright.com") print...
26
65
0.717308
72
520
5.027778
0.458333
0.088398
0.132597
0.121547
0.138122
0
0
0
0
0
0
0
0.178846
520
19
66
27.368421
0.847775
0.044231
0
0
0
0
0.109091
0
0
0
0
0
0.153846
1
0.230769
false
0
0.307692
0
0.615385
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
580d363634fb295faee35fd0018e579375e1ddf7
219
py
Python
rlberry/spaces/__init__.py
antoine-moulin/rlberry
676af9d1bb9094a6790a9aa3ff7e67b13584a183
[ "MIT" ]
null
null
null
rlberry/spaces/__init__.py
antoine-moulin/rlberry
676af9d1bb9094a6790a9aa3ff7e67b13584a183
[ "MIT" ]
null
null
null
rlberry/spaces/__init__.py
antoine-moulin/rlberry
676af9d1bb9094a6790a9aa3ff7e67b13584a183
[ "MIT" ]
null
null
null
from .space_seeder import SpaceSeeder from .discrete import Discrete from .box import Box from .tuple import Tuple from .multi_discrete import MultiDiscrete from .multi_binary import MultiBinary from .dict import Dict
24.333333
41
0.835616
31
219
5.806452
0.419355
0.155556
0
0
0
0
0
0
0
0
0
0
0.13242
219
8
42
27.375
0.947368
0
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
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
580e0978233df71d8b691928a1460b2af31ef07d
69
py
Python
pulseviz/__init__.py
drzraf/pulseviz.py
25f7b4ab3466e98bca8b8e3cecd533c44837a76c
[ "MIT" ]
25
2017-06-08T18:06:30.000Z
2022-01-21T02:57:25.000Z
pulseviz/__init__.py
drzraf/pulseviz.py
25f7b4ab3466e98bca8b8e3cecd533c44837a76c
[ "MIT" ]
null
null
null
pulseviz/__init__.py
drzraf/pulseviz.py
25f7b4ab3466e98bca8b8e3cecd533c44837a76c
[ "MIT" ]
2
2021-04-01T02:04:51.000Z
2021-11-15T12:15:57.000Z
__version__ = '0.1.0' class PulsevizException(Exception): pass
11.5
35
0.710145
8
69
5.625
0.875
0
0
0
0
0
0
0
0
0
0
0.052632
0.173913
69
5
36
13.8
0.736842
0
0
0
0
0
0.072464
0
0
0
0
0
0
1
0
false
0.333333
0
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
1
0
0
0
0
0
3
5823c497352be8a15f743c471ed9700664728beb
231
py
Python
PySrc/5day/File05.py
Timmy-Oh/Adorable-Lab
c21454d011e6888fd28c41d1624721ea1826be40
[ "Apache-2.0" ]
null
null
null
PySrc/5day/File05.py
Timmy-Oh/Adorable-Lab
c21454d011e6888fd28c41d1624721ea1826be40
[ "Apache-2.0" ]
null
null
null
PySrc/5day/File05.py
Timmy-Oh/Adorable-Lab
c21454d011e6888fd28c41d1624721ea1826be40
[ "Apache-2.0" ]
null
null
null
# File05.py uList = ['Hong','James','Tom','Alice','Jane'] # /Users/users03.txt # open(w), write(), close() with open('./Users/users03.txt','w') as f1: [f1.write('{}: {}\n'.format(i+1, name)) for i, name in enumerate(uList)]
25.666667
76
0.588745
37
231
3.702703
0.72973
0.175182
0.218978
0
0
0
0
0
0
0
0
0.044554
0.125541
231
8
77
28.875
0.628713
0.233766
0
0
0
0
0.284884
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
583f1608f414ebaf12e9e1e0605217c4fcad37c0
1,279
py
Python
ggpy/cruft/autocode/JLabelHyperlink.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
1
2015-01-26T19:07:45.000Z
2015-01-26T19:07:45.000Z
ggpy/cruft/autocode/JLabelHyperlink.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
ggpy/cruft/autocode/JLabelHyperlink.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ generated source for module JLabelHyperlink """ # package: org.ggp.base.util.ui import java.awt.Cursor import java.awt.event.MouseEvent import java.awt.event.MouseListener import java.io.IOException import javax.swing.JLabel class JLabelHyperlink(JLabel, MouseListener): """ generated ...
28.422222
79
0.671618
139
1,279
6.086331
0.42446
0.141844
0.170213
0.170213
0.189125
0.189125
0
0
0
0
0
0.006012
0.219703
1,279
44
80
29.068182
0.841683
0.039093
0
0
1
0
0
0
0
0
0
0
0
0
null
null
0
0.227273
null
null
0.045455
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
583f2e420dae23af92e01c2741b6df822180cb8d
2,189
py
Python
src/spines/transforms/base.py
douglasdaly/spines
b7a9a8d7e6522344f7342385d44968ad7db1d3c3
[ "MIT" ]
null
null
null
src/spines/transforms/base.py
douglasdaly/spines
b7a9a8d7e6522344f7342385d44968ad7db1d3c3
[ "MIT" ]
3
2020-03-24T17:21:26.000Z
2021-02-02T22:10:57.000Z
src/spines/transforms/base.py
douglasdaly/spines
b7a9a8d7e6522344f7342385d44968ad7db1d3c3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Base classes for transforms subpackage. """ # # Imports # from abc import ABCMeta from abc import abstractmethod from typing import Dict from ..core.base import BaseObject # # Base class # class Transform(BaseObject, metaclass=ABCMeta): """ Base Transform class """ d...
22.336735
69
0.55048
218
2,189
5.472477
0.321101
0.067058
0.070411
0.053646
0.1886
0.182733
0.149204
0.078793
0
0
0
0.000696
0.343536
2,189
97
70
22.56701
0.829506
0.51302
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.055556
0.222222
0.111111
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
584db9a27afc16be158e30c26746df5ac32e4e70
471
py
Python
python/ct/client/sqlite_log_db_test.py
San3132308912/certificate-transparency
16bbaac317c6daff057ab7214852fc8d9d89dccd
[ "Apache-2.0" ]
null
null
null
python/ct/client/sqlite_log_db_test.py
San3132308912/certificate-transparency
16bbaac317c6daff057ab7214852fc8d9d89dccd
[ "Apache-2.0" ]
null
null
null
python/ct/client/sqlite_log_db_test.py
San3132308912/certificate-transparency
16bbaac317c6daff057ab7214852fc8d9d89dccd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import unittest from ct.client import sqlite_connection as sqlitecon from ct.client import sqlite_log_db from ct.client import log_db_test class SQLiteLogDBTest(unittest.TestCase, log_db_test.LogDBTest): def setUp(self): self.database = sqlite_log_db.SQLiteLogDB( sqlitec...
26.166667
74
0.73673
61
471
5.409836
0.540984
0.060606
0.109091
0.163636
0.145455
0
0
0
0
0
0
0
0.171975
471
17
75
27.705882
0.846154
0.042463
0
0
0
0
0.035556
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.083333
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5850468dd8ca5bd8542f59ec464bac19791a42e6
1,419
py
Python
RealEstate/authentication/models.py
alexdotis/DjangoRealEstate
a6b3c8d9dfbacfde7decfe1959d359930a67dae5
[ "MIT" ]
null
null
null
RealEstate/authentication/models.py
alexdotis/DjangoRealEstate
a6b3c8d9dfbacfde7decfe1959d359930a67dae5
[ "MIT" ]
null
null
null
RealEstate/authentication/models.py
alexdotis/DjangoRealEstate
a6b3c8d9dfbacfde7decfe1959d359930a67dae5
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser from django.core.validators import RegexValidator class User(AbstractUser): is_agent = models.BooleanField(verbose_name='Agent', default=False) def image_agent_path(instance,filename): return f'Agents/{instance.user.username}/{...
44.34375
88
0.720226
179
1,419
5.52514
0.368715
0.133468
0.200202
0.236603
0
0
0
0
0
0
0
0.016681
0.155039
1,419
31
89
45.774194
0.808173
0
0
0
0
0
0.109309
0.029619
0
0
0
0
0
1
0.083333
false
0
0.125
0.083333
0.916667
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
5854dbb7f2ba603b23e983dd626d23f1486f0d51
3,825
py
Python
Backend/src/reports/views.py
Valle1806/EnergyCorp
aba09105eedcb7dc694b201e50953e19e4e2936b
[ "MIT" ]
1
2021-01-21T08:30:57.000Z
2021-01-21T08:30:57.000Z
Backend/src/reports/views.py
ChristianTaborda/Energycorp
2447b5af211501450177b0b60852dcb31d6ca12d
[ "MIT" ]
null
null
null
Backend/src/reports/views.py
ChristianTaborda/Energycorp
2447b5af211501450177b0b60852dcb31d6ca12d
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework.views import View from users.models import Client from energytransfers.models import Counter from contract.models import Contract from rest_framework.response import Response import json from django.db.models import F from django.http import HttpResponse from ...
17.465753
79
0.595556
355
3,825
6.315493
0.24507
0.438894
0.650312
0.856378
0.44826
0.417484
0.330062
0.330062
0.330062
0.330062
0
0.004121
0.302222
3,825
219
80
17.465753
0.835894
0.006013
0
0.22619
0
0
0.15717
0
0
0
0
0
0
1
0.035714
false
0
0.130952
0
0.238095
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
585d9673bcd42a157078d96e80228256b3062462
1,046
py
Python
service/statistics.py
aliowka/autodl
5e0b07c81afbc61a62390a6bd8940c02c07849ad
[ "MIT" ]
2
2017-05-07T22:39:43.000Z
2017-05-07T22:39:44.000Z
service/statistics.py
aliowka/autodl
5e0b07c81afbc61a62390a6bd8940c02c07849ad
[ "MIT" ]
null
null
null
service/statistics.py
aliowka/autodl
5e0b07c81afbc61a62390a6bd8940c02c07849ad
[ "MIT" ]
null
null
null
import sys from expiringdict import ExpiringDict class DownloaderStatistics(object): """Based on ecxpiring dictionary this will hold last 10 minutes data""" expiring_dict = ExpiringDict( max_len=sys.maxint, max_age_seconds=600 ) expiring_dict["responses/total"] = 0 @staticmethod def ...
32.6875
78
0.695985
111
1,046
6.387387
0.405405
0.203103
0.45134
0.246827
0.431594
0.431594
0.431594
0.431594
0.431594
0.431594
0
0.019778
0.226577
1,046
31
79
33.741935
0.856613
0.062141
0
0.363636
0
0
0.084103
0.025641
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.272727
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
587a6165c5355dc645b44897494322f6c626fd2d
1,387
py
Python
Log.py
fossabot/Epic-Scraper-Bot
5d992fb09d2d6a512663ee840c2c7a8a010ebb29
[ "MIT" ]
null
null
null
Log.py
fossabot/Epic-Scraper-Bot
5d992fb09d2d6a512663ee840c2c7a8a010ebb29
[ "MIT" ]
null
null
null
Log.py
fossabot/Epic-Scraper-Bot
5d992fb09d2d6a512663ee840c2c7a8a010ebb29
[ "MIT" ]
null
null
null
from datetime import datetime ############################################################################################################# # Prints a message with a prefix containng the date, time & log level def Template(Message, Level): Message = "{0} - [{1}] - {2}".format(datetime.now(), Level, Message) p...
40.794118
109
0.372026
95
1,387
5.431579
0.347368
0.145349
0.124031
0.170543
0.348837
0.348837
0.348837
0.348837
0.348837
0
0
0.002396
0.097332
1,387
34
110
40.794118
0.409744
0.24297
0
0
0
0
0.102302
0
0
0
0
0
0
1
0.416667
false
0
0.083333
0
0.5
0.083333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
5899db14f0d3821197223d88d2a64f69fd4eaaa7
169
py
Python
tests/wd/app/extensions.py
amaozhao/sea
52a83337e1bf9d66dbc7d85beff3a20e33e4834c
[ "MIT" ]
null
null
null
tests/wd/app/extensions.py
amaozhao/sea
52a83337e1bf9d66dbc7d85beff3a20e33e4834c
[ "MIT" ]
null
null
null
tests/wd/app/extensions.py
amaozhao/sea
52a83337e1bf9d66dbc7d85beff3a20e33e4834c
[ "MIT" ]
null
null
null
from cachext.exts import Cache from peeweext.sea import Peeweext from sea.contrib.extensions.celery import Celery cache = Cache() pwx = Peeweext() celeryapp = Celery()
21.125
48
0.786982
23
169
5.782609
0.521739
0
0
0
0
0
0
0
0
0
0
0
0.130178
169
7
49
24.142857
0.904762
0
0
0
0
0
0
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
58a68cf0e2f9bf127a5498e9570f80871a618b1a
1,113
py
Python
idunn/places/admin.py
QwantResearch/idunn
88b6862f1036187855b5541bbb6758ddd4df33c1
[ "Apache-2.0" ]
26
2018-11-30T09:17:17.000Z
2020-11-07T01:53:07.000Z
idunn/places/admin.py
QwantResearch/idunn
88b6862f1036187855b5541bbb6758ddd4df33c1
[ "Apache-2.0" ]
38
2018-06-08T09:41:04.000Z
2020-12-07T17:39:12.000Z
idunn/places/admin.py
Qwant/idunn
65582dfed732093778bf7c2998db1e2cd78255b8
[ "Apache-2.0" ]
9
2018-05-18T13:07:00.000Z
2020-08-01T16:42:40.000Z
from functools import cached_property from idunn.api.constants import WIKIDATA_TO_BBOX_OVERRIDE from .base import BasePlace class Admin(BasePlace): PLACE_TYPE = "admin" def build_admin(self, lang=None): labels = self.get("labels", {}) return {"label": labels.get(lang) or self.get("label")} ...
28.538462
71
0.639712
147
1,113
4.653061
0.326531
0.092105
0.095029
0.096491
0.131579
0.084795
0.084795
0
0
0
0
0
0.251572
1,113
38
72
29.289474
0.821128
0.036837
0
0.137931
0
0
0.073832
0
0
0
0
0
0
1
0.241379
false
0
0.103448
0.137931
0.758621
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
58a9b9efeeaff319a29d886f4ded146ee1775902
465
py
Python
MangAdventure/tests/base.py
Kadantte/MangAdventure
0646617cb6376eaeb3142cbd1f266267518a149f
[ "MIT" ]
58
2019-03-04T09:22:42.000Z
2022-02-18T09:11:57.000Z
MangAdventure/tests/base.py
Kadantte/MangAdventure
0646617cb6376eaeb3142cbd1f266267518a149f
[ "MIT" ]
21
2019-03-07T19:34:53.000Z
2021-12-19T12:46:40.000Z
MangAdventure/tests/base.py
Kadantte/MangAdventure
0646617cb6376eaeb3142cbd1f266267518a149f
[ "MIT" ]
14
2019-06-06T09:53:13.000Z
2021-12-17T14:34:13.000Z
from os import makedirs from shutil import rmtree from django.conf import settings from django.test import Client from pytest import mark @mark.django_db class MangadvTestBase: @classmethod def setup_class(cls): makedirs(settings.MEDIA_ROOT, exist_ok=True) def setup_method(self): self.c...
18.6
52
0.711828
60
465
5.383333
0.483333
0.06192
0.105263
0
0
0
0
0
0
0
0
0
0.221505
465
24
53
19.375
0.892265
0
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.235294
false
0.058824
0.294118
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
5437f9bbf6b86faa28f2968953156a46939b3dd5
44
py
Python
__init__.py
vdamewood/loki
3aadec11b51dbefac37b908fe0cfdc0b3bee2fd2
[ "Apache-2.0" ]
null
null
null
__init__.py
vdamewood/loki
3aadec11b51dbefac37b908fe0cfdc0b3bee2fd2
[ "Apache-2.0" ]
null
null
null
__init__.py
vdamewood/loki
3aadec11b51dbefac37b908fe0cfdc0b3bee2fd2
[ "Apache-2.0" ]
null
null
null
default_app_config = 'tuli.apps.TuliConfig'
22
43
0.818182
6
44
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.068182
44
1
44
44
0.829268
0
0
0
0
0
0.454545
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
5441f4105614ab5f76257a0ce8dc5dc7b776db47
566
py
Python
mofchecker/checks/local_structure/__init__.py
ltalirz/mofchecker
ea0bc5a05cc951f40aeb42d54fd5e30af4db21d9
[ "MIT" ]
5
2020-11-03T19:26:14.000Z
2021-11-11T12:20:18.000Z
mofchecker/checks/local_structure/__init__.py
ltalirz/mofchecker
ea0bc5a05cc951f40aeb42d54fd5e30af4db21d9
[ "MIT" ]
114
2020-11-30T09:38:54.000Z
2022-03-25T04:02:25.000Z
mofchecker/checks/local_structure/__init__.py
ltalirz/mofchecker
ea0bc5a05cc951f40aeb42d54fd5e30af4db21d9
[ "MIT" ]
3
2020-12-08T10:44:31.000Z
2021-08-23T15:00:25.000Z
# -*- coding: utf-8 -*- """Checks on the local coordination environment.""" from .false_oxo import FalseOxoCheck from .overcoordinated_carbon import OverCoordinatedCarbonCheck from .overcoordinated_hydrogen import OverCoordinatedHydrogenCheck from .overcoordinated_nitrogen import OverCoordinatedNitrogenCheck from .over...
51.454545
71
0.881625
50
566
9.8
0.6
0.116327
0
0
0
0
0
0
0
0
0
0.001912
0.075972
566
10
72
56.6
0.93499
0.120141
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
54443ed68e114b412d1018ddc482c444db23e336
327
py
Python
app/uploads/forms.py
PsychedelicMonkey/Bloggy
b5178bab0522a85a8b725251c195807fb4322eda
[ "MIT" ]
null
null
null
app/uploads/forms.py
PsychedelicMonkey/Bloggy
b5178bab0522a85a8b725251c195807fb4322eda
[ "MIT" ]
null
null
null
app/uploads/forms.py
PsychedelicMonkey/Bloggy
b5178bab0522a85a8b725251c195807fb4322eda
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from flask_wtf.file import FileAllowed, FileRequired from wtforms import FileField, SubmitField from app import app class UploadFileForm(FlaskForm): file = FileField('File', validators=[FileRequired(), FileAllowed(app.config['ALLOWED_FILE_EXTENSIONS'])]) submit = SubmitField('U...
36.333333
109
0.795107
38
327
6.736842
0.526316
0.070313
0.09375
0
0
0
0
0
0
0
0
0
0.11315
327
9
110
36.333333
0.882759
0
0
0
0
0
0.10061
0.070122
0
0
0
0
0
1
0
false
0
0.571429
0
1
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
544ba41764019b3b794490b9522889b742893f13
904
py
Python
dataflowlauncher/parsers/cli_parsers/util_cli_parser.py
QubitProducts/dataflow_launcher
3378332483ca8a744c2990ce6ebdf76eb5f0d66f
[ "MIT" ]
14
2017-11-24T13:59:28.000Z
2019-11-02T13:33:12.000Z
dataflowlauncher/parsers/cli_parsers/util_cli_parser.py
QubitProducts/dataflow_launcher
3378332483ca8a744c2990ce6ebdf76eb5f0d66f
[ "MIT" ]
2
2017-12-05T11:15:44.000Z
2018-03-01T13:19:14.000Z
dataflowlauncher/parsers/cli_parsers/util_cli_parser.py
QubitProducts/dataflow_launcher
3378332483ca8a744c2990ce6ebdf76eb5f0d66f
[ "MIT" ]
5
2017-12-04T23:14:13.000Z
2020-02-29T16:57:13.000Z
"""Utility cli arguments""" from dataflowlauncher.parsers.cli_parsers.base_cli_parser import CliParser class UtilCliParser(CliParser): def add_arguments_group(self, parser): util_parsers = parser.add_argument_group( "util", description="Pass in the utility parameters for the datafl...
36.16
82
0.684735
111
904
5.297297
0.504505
0.056122
0.071429
0.086735
0.229592
0.229592
0.229592
0.229592
0.229592
0.14966
0
0
0.227876
904
24
83
37.666667
0.842407
0.02323
0
0.277778
0
0
0.236032
0
0
0
0
0
0
1
0.222222
false
0.111111
0.055556
0.166667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
5461aa1551e8aff06c72b510859b9055e67ad379
464
py
Python
masteranime_blocking.py
marios8543/pyMasteranime
b5a03e5fd0e219f396dc110cb8107164c167656e
[ "MIT" ]
null
null
null
masteranime_blocking.py
marios8543/pyMasteranime
b5a03e5fd0e219f396dc110cb8107164c167656e
[ "MIT" ]
null
null
null
masteranime_blocking.py
marios8543/pyMasteranime
b5a03e5fd0e219f396dc110cb8107164c167656e
[ "MIT" ]
null
null
null
import masteranime import asyncio loop = asyncio.get_event_loop() #Blocking implementations def Anime(id): return loop.run_until_complete(masteranime.Anime(id)) def Search(query,detailed=False): return loop.run_until_complete(masteranime.Search(query,detailed)) def Trending(detailed=False): return loop.run...
35.692308
70
0.8125
60
464
6.116667
0.35
0.108992
0.141689
0.196185
0.509537
0.509537
0.408719
0.408719
0
0
0
0
0.088362
464
13
71
35.692308
0.867612
0.051724
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
547aba0f509df6e2c496484568661a2834e21fcd
211
py
Python
wwt_api_client/tests/__init__.py
WorldWideTelescope/wwt_api_client
cfc42728eb2428f17e711f7527fd97150e629296
[ "BSD-3-Clause" ]
null
null
null
wwt_api_client/tests/__init__.py
WorldWideTelescope/wwt_api_client
cfc42728eb2428f17e711f7527fd97150e629296
[ "BSD-3-Clause" ]
8
2019-04-28T17:27:44.000Z
2020-11-05T20:24:21.000Z
wwt_api_client/tests/__init__.py
WorldWideTelescope/wwt_api_client
cfc42728eb2428f17e711f7527fd97150e629296
[ "BSD-3-Clause" ]
1
2019-04-28T17:25:06.000Z
2019-04-28T17:25:06.000Z
# -*- mode: python; coding: utf-8 -*- # Copyright 2019 the .Net Foundation # Distributed under the terms of the revised (3-clause) BSD license. """This module contains tests of the wwt_api_client package. """
26.375
68
0.71564
31
211
4.806452
0.870968
0.067114
0
0
0
0
0
0
0
0
0
0.034091
0.165877
211
7
69
30.142857
0.8125
0.92891
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
54839c2e9335836ecb4f9eaec2999a5adf34b752
226
py
Python
35_pr6_05.py
AmreshTripathy/Python
e86420fef7f52da393be5b50ac2f13bddfeb3306
[ "Apache-2.0" ]
4
2021-05-27T05:06:09.000Z
2021-06-12T17:12:47.000Z
35_pr6_05.py
AmreshTripathy/Python
e86420fef7f52da393be5b50ac2f13bddfeb3306
[ "Apache-2.0" ]
null
null
null
35_pr6_05.py
AmreshTripathy/Python
e86420fef7f52da393be5b50ac2f13bddfeb3306
[ "Apache-2.0" ]
null
null
null
names = ['harry', 'subham', 'rohit', 'Aditi', 'sipra'] name = input('Enter the name to check:\n') if (name in names): print ('Your name is present in the list') else: print ('Your name is not present in the list')
37.666667
55
0.628319
36
226
3.944444
0.611111
0.126761
0.183099
0.211268
0
0
0
0
0
0
0
0
0.212389
226
6
56
37.666667
0.797753
0
0
0
0
0
0.540541
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
548722b386579443ac1f8dd2ebe6d1a9186305ea
473
py
Python
exemplo_24_argumentos.py
alef123vinicius/Estudo_python
30b121d611f94eb5df9fbb41ef7279546143221b
[ "Apache-2.0" ]
null
null
null
exemplo_24_argumentos.py
alef123vinicius/Estudo_python
30b121d611f94eb5df9fbb41ef7279546143221b
[ "Apache-2.0" ]
null
null
null
exemplo_24_argumentos.py
alef123vinicius/Estudo_python
30b121d611f94eb5df9fbb41ef7279546143221b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Feb 11 12:25:28 2021 @author: alef """ # Exempo de como receber todos parâmetros # *args - argumentos sem nome (lista) # ** kargs - argumentos com nome (dicionário) def func(*args, **kargs): print(args) print(kargs) print(args[0]) fun...
20.565217
45
0.570825
75
473
3.6
0.56
0.118519
0.177778
0.207407
0.177778
0.177778
0.177778
0.177778
0.177778
0.177778
0
0.167959
0.181818
473
23
46
20.565217
0.529716
0.452431
0
0.222222
0
0
0.020161
0
0
0
0
0.043478
0
1
0.111111
true
0
0
0
0.111111
0.333333
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
1
0
0
0
1
0
0
0
0
0
0
3
54939090bc1f676edaba59db2cd5aa420e4fa36c
126
py
Python
sourcehold/maps/sections/section1004.py
J-T-de/sourcehold-maps
330ab1b3426dbd93b5de3b0c031419e54f6a1618
[ "MIT" ]
null
null
null
sourcehold/maps/sections/section1004.py
J-T-de/sourcehold-maps
330ab1b3426dbd93b5de3b0c031419e54f6a1618
[ "MIT" ]
null
null
null
sourcehold/maps/sections/section1004.py
J-T-de/sourcehold-maps
330ab1b3426dbd93b5de3b0c031419e54f6a1618
[ "MIT" ]
null
null
null
from .types import TileCompressedMapSection class Section1004(TileCompressedMapSection): _TYPE_ = "H" _CLASS_ = int
18
44
0.761905
11
126
8.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0.038462
0.174603
126
7
45
18
0.846154
0
0
0
0
0
0.007937
0
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
54a2e9454b0b483effdd0f40efaa0235d0b895a9
1,896
py
Python
Code/GraphMol/MolHash/Wrap/testMolHash.py
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
1,609
2015-01-05T02:41:13.000Z
2022-03-30T21:57:24.000Z
Code/GraphMol/MolHash/Wrap/testMolHash.py
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
3,412
2015-01-06T12:13:33.000Z
2022-03-31T17:25:41.000Z
Code/GraphMol/MolHash/Wrap/testMolHash.py
bp-kelley/rdkit
e0de7c9622ce73894b1e7d9568532f6d5638058a
[ "BSD-3-Clause" ]
811
2015-01-11T03:33:48.000Z
2022-03-28T11:57:49.000Z
from rdkit import RDConfig import os, sys import unittest from rdkit import Chem from rdkit.Chem import rdMolHash class TestCase(unittest.TestCase): def setUp(self): pass def test1(self): m = Chem.MolFromSmiles('C1CCCC(O)C1c1ccnc(OC)c1') self.assertEqual(rdMolHash.MolHash(m, rdMolHash.HashFunction.A...
46.243902
96
0.700422
197
1,896
6.695431
0.329949
0.159212
0.254738
0.329037
0.617134
0.617134
0.617134
0.295679
0.213798
0.213798
0
0.051965
0.167722
1,896
40
97
47.4
0.783904
0
0
0
0
0
0.137131
0.094937
0
0
0
0
0.411765
1
0.058824
false
0.029412
0.147059
0
0.235294
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
54a685c56a8098065ddf5c29c5ae8065f0a23b7f
150
py
Python
pyctogram/tests/user_info.py
RuzzyRullezz/pyctogram
b811c55dc1c74d57ef489810816322e7f2909f3d
[ "MIT" ]
1
2019-12-10T08:01:58.000Z
2019-12-10T08:01:58.000Z
pyctogram/tests/user_info.py
RuzzyRullezz/pyctogram
b811c55dc1c74d57ef489810816322e7f2909f3d
[ "MIT" ]
null
null
null
pyctogram/tests/user_info.py
RuzzyRullezz/pyctogram
b811c55dc1c74d57ef489810816322e7f2909f3d
[ "MIT" ]
null
null
null
from pyctogram.instagram_client import client, web if __name__ == '__main__': user_info = web.get_user_info('sova_timofei') print(user_info)
25
50
0.753333
21
150
4.714286
0.714286
0.242424
0
0
0
0
0
0
0
0
0
0
0.146667
150
5
51
30
0.773438
0
0
0
0
0
0.133333
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
54a967376cebe435c58afb5b16a7e5282a317062
1,236
py
Python
api/create_user.py
crtarsorg/istinomer-factchecker
eb0639f526fc2b75bf4628dcff9080a030f34f38
[ "CC0-1.0" ]
2
2016-07-20T17:49:22.000Z
2016-07-21T12:31:26.000Z
api/create_user.py
crtarsorg/istinomer-factchecker
eb0639f526fc2b75bf4628dcff9080a030f34f38
[ "CC0-1.0" ]
null
null
null
api/create_user.py
crtarsorg/istinomer-factchecker
eb0639f526fc2b75bf4628dcff9080a030f34f38
[ "CC0-1.0" ]
9
2016-07-08T08:56:29.000Z
2019-06-26T11:59:30.000Z
from flask.ext.scrypt import generate_random_salt, generate_password_hash from app import create_app, mongo_users_utils app = create_app() def create_user(): # Enter user name user_name = raw_input("Enter a username: ") while user_name == '': user_name = raw_input("Username can't be empty: ") ...
26.869565
73
0.631877
156
1,236
4.814103
0.429487
0.063915
0.079893
0.069241
0.165113
0.165113
0
0
0
0
0
0
0.279935
1,236
45
74
27.466667
0.84382
0.164239
0
0
1
0
0.176585
0
0
0
0
0
0
0
null
null
0.222222
0.074074
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
54c40fbe18e7ed5a0db50f55f1bfe319b62b9450
9,142
py
Python
eqOption.py
adrian-ha/pyOpt
382b09fe79c194a891d3b3f36257485fa14906b5
[ "MIT" ]
null
null
null
eqOption.py
adrian-ha/pyOpt
382b09fe79c194a891d3b3f36257485fa14906b5
[ "MIT" ]
null
null
null
eqOption.py
adrian-ha/pyOpt
382b09fe79c194a891d3b3f36257485fa14906b5
[ "MIT" ]
null
null
null
""" Author: Adrian Haerle Date: 17.06.2021 """ import numpy as np from scipy.stats import norm from datetime import date class EqOption(object): def __init__(self, option_type, strike, expiry, t0, spot, r, q, sigma): """ Basic vanilla equity option class with risk metrics. :param option_...
35.710938
319
0.604572
1,262
9,142
4.236926
0.118067
0.046007
0.092014
0.095755
0.532635
0.443426
0.373855
0.301852
0.259959
0.211146
0
0.023266
0.280683
9,142
255
320
35.85098
0.789842
0.273244
0
0.176056
0
0
0.031148
0
0
0
0
0
0
1
0.260563
false
0.007042
0.021127
0.126761
0.528169
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
49b4853e80c1a81649577e576c36864ba4979d2b
52
py
Python
Programs/string.py
iamsanidhya/Python-Basic-Tutorial
c4d75496a0ab6ebbea80c772ee051ffb73761080
[ "Apache-2.0" ]
1
2020-09-06T14:49:12.000Z
2020-09-06T14:49:12.000Z
Programs/string.py
iamsanidhya/Python-Basic-Tutorial
c4d75496a0ab6ebbea80c772ee051ffb73761080
[ "Apache-2.0" ]
null
null
null
Programs/string.py
iamsanidhya/Python-Basic-Tutorial
c4d75496a0ab6ebbea80c772ee051ffb73761080
[ "Apache-2.0" ]
null
null
null
phrase = "Sanidhya Academy" print(phrase.lower())
17.333333
28
0.711538
6
52
6.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.134615
52
2
29
26
0.822222
0
0
0
0
0
0.32
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
49cab1af494e9bd4283811ec5acb494851e8ba4f
925
py
Python
django-openstack/django_openstack/templatetags/templatetags/parse_date.py
anotherjesse/openstack-dashboard
fb748290426ce1c0696900a39f0e34ef72a5d049
[ "Apache-2.0" ]
3
2015-05-18T13:49:43.000Z
2015-05-18T14:38:13.000Z
django-openstack/src/django_openstack/templatetags/templatetags/parse_date.py
termie/openstack-dashboard
5272235e605bf7876642800eaf8e0a91484dc883
[ "Apache-2.0" ]
null
null
null
django-openstack/src/django_openstack/templatetags/templatetags/parse_date.py
termie/openstack-dashboard
5272235e605bf7876642800eaf8e0a91484dc883
[ "Apache-2.0" ]
2
2015-06-23T03:12:20.000Z
2015-11-08T12:12:14.000Z
""" Template tags for parsing date strings. """ import datetime from django import template register = template.Library() def _parse_datetime(dtstr): try: return datetime.datetime.strptime(dtstr, "%Y-%m-%dT%H:%M:%S.%f") except: return datetime.datetime.strptime(dtstr, "%Y-%m-%d %H:%M:%S.%f") ...
23.717949
72
0.663784
128
925
4.6875
0.382813
0.108333
0.02
0.1
0.176667
0.176667
0.176667
0.053333
0
0
0
0
0.180541
925
38
73
24.342105
0.791557
0.095135
0
0
0
0
0.144417
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0.130435
0.652174
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
49dc7784062e39c7f1a22003ff36800f0dbbad73
884
py
Python
src/test_workflow/test_result/test_result.py
rishabh6788/opensearch-build
f03a5848397a2758ea29a4edc0bb6b221c0fc2e3
[ "Apache-2.0" ]
null
null
null
src/test_workflow/test_result/test_result.py
rishabh6788/opensearch-build
f03a5848397a2758ea29a4edc0bb6b221c0fc2e3
[ "Apache-2.0" ]
null
null
null
src/test_workflow/test_result/test_result.py
rishabh6788/opensearch-build
f03a5848397a2758ea29a4edc0bb6b221c0fc2e3
[ "Apache-2.0" ]
null
null
null
import logging from typing import Callable class TestResult: component: str config: dict status: int def __init__(self, component: str, config: dict, status: int) -> None: self.component = component self.config = config self.status = status @property def __test_result...
25.257143
121
0.622172
109
884
4.844037
0.366972
0.094697
0.068182
0.073864
0.214015
0.117424
0
0
0
0
0
0.013761
0.260181
884
34
122
26
0.793578
0.012443
0
0.083333
0
0
0.049369
0
0
0
0
0
0
1
0.25
false
0.041667
0.083333
0.166667
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
49de0a305f40e4a33a6e0ce4dcbb24ce9a32d846
2,029
py
Python
sdk/python/pulumi_alicloud/adb/__init__.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
42
2019-03-18T06:34:37.000Z
2022-03-24T07:08:57.000Z
sdk/python/pulumi_alicloud/adb/__init__.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
152
2019-04-15T21:03:44.000Z
2022-03-29T18:00:57.000Z
sdk/python/pulumi_alicloud/adb/__init__.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Export this package's modules as members: from .account import * from .backup_policy import * from .cluster import * from .connection...
40.58
93
0.690488
233
2,029
5.849785
0.32618
0.080704
0.051357
0.102715
0.376376
0.353632
0.353632
0.319883
0.319883
0
0
0.000619
0.203549
2,029
49
94
41.408163
0.842822
0.107935
0
0
1
0
0.161773
0.088643
0
0
0
0
0
1
0.083333
false
0
0.305556
0.027778
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
49f7e1734ba5c01d6a7027e186ec834c39f42e70
51,443
py
Python
pandas/tseries/tests/test_period.py
takluyver/pandas
6c820b4b1a3b945d52cffbd9a4d40a582c077b5d
[ "BSD-3-Clause" ]
null
null
null
pandas/tseries/tests/test_period.py
takluyver/pandas
6c820b4b1a3b945d52cffbd9a4d40a582c077b5d
[ "BSD-3-Clause" ]
null
null
null
pandas/tseries/tests/test_period.py
takluyver/pandas
6c820b4b1a3b945d52cffbd9a4d40a582c077b5d
[ "BSD-3-Clause" ]
null
null
null
"""Tests suite for Period handling. Parts derived from scikits.timeseries code, original authors: - Pierre Gerard-Marchant & Matt Knox - pierregm_at_uga_dot_edu - mattknow_ca_at_hotmail_dot_com """ from unittest import TestCase from datetime import datetime, timedelta from numpy.ma.testutils import assert_equal fr...
45.767794
80
0.591004
8,060
51,443
3.497146
0.03995
0.104197
0.098982
0.066059
0.842232
0.743109
0.545925
0.519495
0.455068
0.425373
0
0.075566
0.251929
51,443
1,123
81
45.808549
0.656887
0.027059
0
0.179256
0
0
0.048858
0
0
0
0
0.00089
0.42841
1
0.042841
false
0.002255
0.012401
0.002255
0.062007
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
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
49f96a736992c65fc228de3e58779f49a6f7f78c
415
py
Python
src/account/admin.py
dawidhubicki97/BookMaker
d5975a19b3da8269e1e7d2191eb2f1db3da9acc4
[ "bzip2-1.0.6" ]
null
null
null
src/account/admin.py
dawidhubicki97/BookMaker
d5975a19b3da8269e1e7d2191eb2f1db3da9acc4
[ "bzip2-1.0.6" ]
null
null
null
src/account/admin.py
dawidhubicki97/BookMaker
d5975a19b3da8269e1e7d2191eb2f1db3da9acc4
[ "bzip2-1.0.6" ]
null
null
null
from django.contrib import admin from account.models import User from account.models import Customer from django.contrib.auth.admin import UserAdmin # Register your models here. class AccountAdmin(UserAdmin): list_display=('email','username','password','is_active') search_fields=('email','username') readonly_fields=...
27.666667
57
0.790361
52
415
6.192308
0.576923
0.062112
0.10559
0.142857
0
0
0
0
0
0
0
0
0.089157
415
14
58
29.642857
0.851852
0.062651
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0.083333
0.333333
0
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
49fd9201513e35a7ab82bebe24e065a1fabd3196
861
py
Python
saleor/payment/model_helpers.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
15,337
2015-01-12T02:11:52.000Z
2021-10-05T19:19:29.000Z
saleor/payment/model_helpers.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
7,486
2015-02-11T10:52:13.000Z
2021-10-06T09:37:15.000Z
saleor/payment/model_helpers.py
aminziadna/saleor
2e78fb5bcf8b83a6278af02551a104cfa555a1fb
[ "CC-BY-4.0" ]
5,864
2015-01-16T14:52:54.000Z
2021-10-05T23:01:15.000Z
from operator import attrgetter from typing import TYPE_CHECKING, List from ..core.taxes import zero_money, zero_taxed_money from .models import Payment if TYPE_CHECKING: from ..order.models import OrderLine def get_last_payment(payments: List[Payment]): return max(payments, default=None, key=attrgetter("pk...
33.115385
79
0.775842
117
861
5.452991
0.42735
0.086207
0.043887
0.068966
0
0
0
0
0
0
0
0
0.146341
861
25
80
34.44
0.868027
0.054588
0
0
0
0
0.013547
0
0
0
0
0.04
0
1
0.1875
false
0
0.3125
0.0625
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
1
0
0
0
0
0
1
0
1
0
0
3
b708040fcf7d3fdca712d38fa30f71bfe7311f4c
768
py
Python
pythoscope/inspector/file_system.py
jmikedupont2/pythoscope
58a1149f204897e8f789d93ee7e49b6db0bd346f
[ "MIT" ]
2
2020-04-06T11:02:46.000Z
2020-05-14T18:37:04.000Z
pythoscope/inspector/file_system.py
jmikedupont2/pythoscope
58a1149f204897e8f789d93ee7e49b6db0bd346f
[ "MIT" ]
null
null
null
pythoscope/inspector/file_system.py
jmikedupont2/pythoscope
58a1149f204897e8f789d93ee7e49b6db0bd346f
[ "MIT" ]
null
null
null
import os def python_modules_below(path): VCS_PATHS = set([".bzr", "CVS", "_darcs", ".git", ".hg", ".svn"]) def is_python_module(path): return path.endswith(".py") def not_vcs_file(path): return not set(path.split(os.path.sep)).intersection(VCS_PATHS) return list(filter(not_vcs_file, li...
32
85
0.636719
106
768
4.490566
0.518868
0.05042
0.058824
0
0
0
0
0
0
0
0
0
0.227865
768
23
86
33.391304
0.802698
0.139323
0
0
0
0
0.043344
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.117647
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b70cc5026749c15cfa3f5d79a83508739f26f542
783
py
Python
src/core/udf_function.py
pyajs/veronica
a1d8f2094413e89b180cafb8fe2cba816e8adf36
[ "MIT" ]
8
2018-09-06T20:03:54.000Z
2019-06-10T08:55:43.000Z
src/core/udf_function.py
pyajs/veronica
a1d8f2094413e89b180cafb8fe2cba816e8adf36
[ "MIT" ]
2
2018-09-09T15:50:55.000Z
2019-10-12T09:06:57.000Z
src/core/udf_function.py
pyajs/veronica
a1d8f2094413e89b180cafb8fe2cba816e8adf36
[ "MIT" ]
null
null
null
import time from datetime import datetime from pyspark.sql.types import StringType from pyspark.ml.linalg import Vectors, VectorUDT, SparseVector, DenseVector def get_time_today(): return datetime.fromtimestamp(int(time.time())).strftime('%Y-%m-%d') def vec_dense(l): return Vectors.dense(l) def vec_dense...
26.1
84
0.748404
110
783
5.163636
0.363636
0.035211
0.091549
0.056338
0.112676
0
0
0
0
0
0
0.00438
0.12516
783
29
85
27
0.824818
0
0
0
0
0
0.07152
0
0
0
0
0
0
1
0.277778
false
0
0.222222
0.222222
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
b73a255be5cfb7f1bc3e116dab012499f987c73d
1,650
py
Python
Testing/Applications/LDMM/LDMMVelShootingWarp/GenHTML.py
NIRALUser/AtlasWerks
a074ca208ab41a6ed89c1f0b70004998f7397681
[ "BSD-3-Clause" ]
3
2016-04-26T05:06:06.000Z
2020-08-01T09:46:54.000Z
Testing/Applications/LDMM/LDMMVelShootingWarp/GenHTML.py
scalphunters/AtlasWerks
9d224bf8db628805368fcb7973ac578937b6b595
[ "BSD-3-Clause" ]
1
2018-11-27T21:53:48.000Z
2019-05-13T15:21:31.000Z
Testing/Applications/LDMM/LDMMVelShootingWarp/GenHTML.py
scalphunters/AtlasWerks
9d224bf8db628805368fcb7973ac578937b6b595
[ "BSD-3-Clause" ]
2
2019-01-24T02:07:17.000Z
2019-12-11T17:27:42.000Z
#!/usr/bin/python from AtlasWerksTestUtils import * import os.path; imageDisplaySize = (128, 128); warpDir = "RegressionTemp/" imageDir = "images/" baselineDir = "Baseline/" parsedXML = warpDir + "LDMMWarpParsedOutput.xml" nTimeSteps = int(GetXMLElement(parsedXML, "NTimeSteps")[0]); sliceToExtract = 16 ErrorHtmlSe...
26.612903
95
0.71697
171
1,650
6.906433
0.479532
0.055885
0.050804
0.060965
0.104996
0.052498
0
0
0
0
0
0.01919
0.147273
1,650
61
96
27.04918
0.820185
0.038182
0
0
0
0
0.291219
0.075174
0
0
0
0
0
0
null
null
0.125
0.05
null
null
0.425
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
1
0
3
3f75902aa54032f9563f97d3f9f90a69472ee604
323
py
Python
mailers/transports/__init__.py
alex-oleshkevich/mailers
36836ae750cd190f75c96c5a78896d4ef830260e
[ "MIT" ]
17
2020-03-13T13:06:05.000Z
2022-03-06T00:17:45.000Z
mailers/transports/__init__.py
alex-oleshkevich/mailers
36836ae750cd190f75c96c5a78896d4ef830260e
[ "MIT" ]
null
null
null
mailers/transports/__init__.py
alex-oleshkevich/mailers
36836ae750cd190f75c96c5a78896d4ef830260e
[ "MIT" ]
null
null
null
from .base import Transport from .console import ConsoleTransport from .file import FileTransport from .memory import InMemoryTransport from .null import NullTransport from .stream import StreamTransport __all__ = ['Transport', "ConsoleTransport", "FileTransport", "InMemoryTransport", "StreamTransport", "NullTransport...
35.888889
117
0.817337
31
323
8.387097
0.483871
0
0
0
0
0
0
0
0
0
0
0
0.102167
323
8
118
40.375
0.896552
0
0
0
0
0
0.256966
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3f7ab4535d2ce7028e2407cfddb2eb8559cd272e
189
py
Python
Py15/01/main.py
xhexe/Py8R
44238c5403e7f76988760a040bf5c292824c22e7
[ "WTFPL" ]
null
null
null
Py15/01/main.py
xhexe/Py8R
44238c5403e7f76988760a040bf5c292824c22e7
[ "WTFPL" ]
null
null
null
Py15/01/main.py
xhexe/Py8R
44238c5403e7f76988760a040bf5c292824c22e7
[ "WTFPL" ]
null
null
null
def array_checker(values, v): for val in values: if v == val: return True else: return False print(array_checker([-1, 1, 3, 0, 9, 7, 11], -1))
18.9
49
0.502646
28
189
3.321429
0.714286
0.258065
0
0
0
0
0
0
0
0
0
0.07563
0.37037
189
9
50
21
0.705882
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3f7ec5f6879e387a3adb086a298479de2b963da6
71
py
Python
account/urls.py
sevenstar77/coin_dev
2dd898d15fcb5f7bf4cfd37d5601b23b36526f3f
[ "MIT" ]
null
null
null
account/urls.py
sevenstar77/coin_dev
2dd898d15fcb5f7bf4cfd37d5601b23b36526f3f
[ "MIT" ]
null
null
null
account/urls.py
sevenstar77/coin_dev
2dd898d15fcb5f7bf4cfd37d5601b23b36526f3f
[ "MIT" ]
null
null
null
from django.conf.urls import url, include urlpatterns = [ # url() ]
14.2
41
0.676056
9
71
5.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.197183
71
5
42
14.2
0.842105
0.070423
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
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
3f91da3ff3f7b1a2492996b6bdc532be9e27d9bd
87
py
Python
SRC/03_class/HelloApi/ApiApp/apps.py
archeranimesh/django-programink
ab5d7293e17c16f9cf391e9ca3b067340440d516
[ "MIT" ]
null
null
null
SRC/03_class/HelloApi/ApiApp/apps.py
archeranimesh/django-programink
ab5d7293e17c16f9cf391e9ca3b067340440d516
[ "MIT" ]
null
null
null
SRC/03_class/HelloApi/ApiApp/apps.py
archeranimesh/django-programink
ab5d7293e17c16f9cf391e9ca3b067340440d516
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ApiappConfig(AppConfig): name = 'ApiApp'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
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
3f9d7250e43378502981374a6130217dd2b156c5
1,382
py
Python
models/__init__.py
Janspiry/distributed-pytorch-template
8b612c8877d4ec3ffba28fcb3bc1ccfda44b6c10
[ "MIT" ]
3
2022-01-30T07:10:02.000Z
2022-02-11T10:16:43.000Z
models/__init__.py
Janspiry/A-Seed-Project-For-Deep-Learning-by-Pytorch
8b612c8877d4ec3ffba28fcb3bc1ccfda44b6c10
[ "MIT" ]
null
null
null
models/__init__.py
Janspiry/A-Seed-Project-For-Deep-Learning-by-Pytorch
8b612c8877d4ec3ffba28fcb3bc1ccfda44b6c10
[ "MIT" ]
null
null
null
import torch from core.praser import init_obj def create_model(**cfg_model): """ create_model """ opt = cfg_model['opt'] logger = cfg_model['logger'] model_opt = opt['model']['which_model'] model_opt['args'].update(cfg_model) model = init_obj(model_opt, logger, default_file_name='models.model'...
39.485714
155
0.733719
189
1,382
5.047619
0.259259
0.051363
0.067086
0.083857
0.125786
0.125786
0
0
0
0
0
0
0.132417
1,382
35
156
39.485714
0.795663
0.040521
0
0
0
0
0.153085
0
0
0
0
0
0
1
0.26087
false
0
0.086957
0.173913
0.608696
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
3fc916c9f48a85e716b9163b794374da5ea6d1af
114
py
Python
pyinstagram/constants.py
alessandrocucci/PyInstagram
cd8f30b8c470a8cdcd8da801af897e4d14f7a677
[ "MIT" ]
1
2019-05-03T17:46:02.000Z
2019-05-03T17:46:02.000Z
pyinstagram/constants.py
alessandrocucci/PyInstagram
cd8f30b8c470a8cdcd8da801af897e4d14f7a677
[ "MIT" ]
1
2021-06-01T21:51:23.000Z
2021-06-01T21:51:23.000Z
pyinstagram/constants.py
alessandrocucci/PyInstagram
cd8f30b8c470a8cdcd8da801af897e4d14f7a677
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __api_version__ = "v1" API_URL = "https://api.instagram.com/{}/".format(__api_version__)
22.8
65
0.657895
15
114
4.266667
0.733333
0.3125
0
0
0
0
0
0
0
0
0
0.019608
0.105263
114
4
66
28.5
0.607843
0.184211
0
0
0
0
0.340659
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
3fd0d3c6f42f37fbbc333ed2e19bba3f6f42ab91
1,351
py
Python
source/SourceA/python/server/model/model.py
rgualan/cloud-app-hmtool-2
8acf681d095c59de36fc275fc906b4ca754ba2c7
[ "Apache-2.0" ]
null
null
null
source/SourceA/python/server/model/model.py
rgualan/cloud-app-hmtool-2
8acf681d095c59de36fc275fc906b4ca754ba2c7
[ "Apache-2.0" ]
null
null
null
source/SourceA/python/server/model/model.py
rgualan/cloud-app-hmtool-2
8acf681d095c59de36fc275fc906b4ca754ba2c7
[ "Apache-2.0" ]
null
null
null
from google.appengine.ext import ndb class Station(ndb.Model): """Representation of a Remote Sensor Station.""" identity = ndb.StringProperty(indexed=True) description = ndb.StringProperty(indexed=False) lat = ndb.FloatProperty(indexed=False) lon = ndb.FloatProperty(indexed=False) class Hmrecord(n...
43.580645
76
0.750555
153
1,351
6.575163
0.366013
0.166998
0.274354
0.333996
0.427435
0.180915
0.10338
0
0
0
0
0.000871
0.150259
1,351
31
77
43.580645
0.875436
0.180607
0
0.173913
0
0
0
0
0
0
0
0
0
1
0
false
0
0.043478
0
1
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
3fde7725fd2c688f9e16639e0af28240da02882f
3,317
py
Python
fastapi_builder/templates/app/app_{{ cookiecutter.folder_name }}/api.py
fmw666/fastapi-cli
6a1b1827f2abd9490f4eeed8b4594634f0a08fd2
[ "MIT" ]
1
2022-02-16T12:27:53.000Z
2022-02-16T12:27:53.000Z
fastapi_builder/templates/app/app_{{ cookiecutter.folder_name }}/api.py
fmw666/fastapi-cli
6a1b1827f2abd9490f4eeed8b4594634f0a08fd2
[ "MIT" ]
null
null
null
fastapi_builder/templates/app/app_{{ cookiecutter.folder_name }}/api.py
fmw666/fastapi-cli
6a1b1827f2abd9490f4eeed8b4594634f0a08fd2
[ "MIT" ]
null
null
null
from typing import List, Any, Union from fastapi import APIRouter, Depends, HTTPException from sqlalchemy.orm import Session from db.database import get_db from .schema import {{ cookiecutter.pascal_name }}Create, {{ cookiecutter.pascal_name }}Info from .model import {{ cookiecutter.pascal_name }} router = APIRouter...
60.309091
202
0.690383
392
3,317
5.568878
0.163265
0.389372
0.480989
0.158039
0.582684
0.439762
0.369675
0.369675
0.348145
0.226294
0
0.002415
0.126017
3,317
54
203
61.425926
0.750604
0.053663
0
0
0
0
0.196871
0.120382
0
0
0
0
0
0
null
null
0
0.230769
null
null
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
3fe2352d4ae8a9d53285dfd161a8ef3cb5d9ee0f
33,350
py
Python
pyinjective/proto/ibc/core/connection/v1/tx_pb2.py
CtheSky/sdk-python
c1b1ae931f4970832466a004eb193027bdc1dea5
[ "Apache-2.0" ]
10
2021-09-07T08:03:52.000Z
2022-03-08T08:39:30.000Z
pyinjective/proto/ibc/core/connection/v1/tx_pb2.py
CtheSky/sdk-python
c1b1ae931f4970832466a004eb193027bdc1dea5
[ "Apache-2.0" ]
39
2021-08-19T20:09:35.000Z
2022-03-22T19:51:59.000Z
pyinjective/proto/ibc/core/connection/v1/tx_pb2.py
CtheSky/sdk-python
c1b1ae931f4970832466a004eb193027bdc1dea5
[ "Apache-2.0" ]
5
2021-11-02T16:23:48.000Z
2022-01-20T22:30:05.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ibc/core/connection/v1/tx.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection f...
54.227642
4,232
0.783238
4,224
33,350
5.85535
0.065814
0.032669
0.051753
0.05992
0.785792
0.729147
0.69947
0.626167
0.598472
0.585412
0
0.051924
0.092774
33,350
614
4,233
54.315961
0.765534
0.027646
0
0.605684
1
0.111901
0.264733
0.227522
0
0
0
0
0
1
0
false
0
0.01421
0
0.01421
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3fe560be36d14c58f046b80433e724c5c8ddb9ab
503
py
Python
dolor/packets/serverbound/play/misc.py
friedkeenan/dolor
3e099ece2271ea920d0c9c61f91cf8fa89bb5639
[ "0BSD" ]
2
2020-12-16T11:53:11.000Z
2020-12-17T10:17:47.000Z
dolor/packets/serverbound/play/misc.py
friedkeenan/dolor
3e099ece2271ea920d0c9c61f91cf8fa89bb5639
[ "0BSD" ]
null
null
null
dolor/packets/serverbound/play/misc.py
friedkeenan/dolor
3e099ece2271ea920d0c9c61f91cf8fa89bb5639
[ "0BSD" ]
null
null
null
from .... import enums from ....versions import VersionRange from ....types import * from ...packet import * class ChatMessagePacket(ServerboundPacket, PlayPacket): id = 0x03 message: String(256) class ClientStatusPacket(ServerboundPacket, PlayPacket): id = 0x04 action: Enum(VarInt, enums.Action) c...
21.869565
56
0.691849
50
503
6.92
0.58
0.234104
0.251445
0
0
0
0
0
0
0
0
0.054321
0.194831
503
22
57
22.863636
0.8
0
0
0
0
0
0.023857
0
0
0
0.031809
0
0
1
0
false
0
0.25
0
0.8125
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
0
0
0
0
1
0
0
3
3fe92b39252b5bb00a3cf7afa53d26183898e601
4,594
py
Python
tests/parsers/mac_keychain.py
jonathan-greig/plaso
b88a6e54c06a162295d09b016bddbfbfe7ca9070
[ "Apache-2.0" ]
6
2015-07-30T11:07:24.000Z
2021-07-23T07:12:30.000Z
tests/parsers/mac_keychain.py
jonathan-greig/plaso
b88a6e54c06a162295d09b016bddbfbfe7ca9070
[ "Apache-2.0" ]
null
null
null
tests/parsers/mac_keychain.py
jonathan-greig/plaso
b88a6e54c06a162295d09b016bddbfbfe7ca9070
[ "Apache-2.0" ]
1
2021-07-23T07:12:37.000Z
2021-07-23T07:12:37.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Tests for Keychain password database parser.""" import unittest from plaso.lib import definitions from plaso.parsers import mac_keychain from tests.parsers import test_lib class MacKeychainParserTest(test_lib.ParserTestCase): """Tests for keychain file parser."""...
41.763636
77
0.764911
302
4,594
11.364238
0.417219
0.034091
0.044289
0.022145
0.219114
0.115385
0.075758
0.05303
0.05303
0.05303
0
0.317149
0.157162
4,594
109
78
42.146789
0.569215
0.031781
0
0.209877
0
0
0.536448
0.432634
0
0
0
0
0.037037
1
0.012346
false
0
0.049383
0
0.074074
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
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
3fed2b950f0ca053239cc516ecaf2f27fcd5e61f
10,496
py
Python
h1/models/compute_project_vm_create.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
h1/models/compute_project_vm_create.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
h1/models/compute_project_vm_create.py
hyperonecom/h1-client-python
4ce355852ba3120ec1b8f509ab5894a5c08da730
[ "MIT" ]
null
null
null
# coding: utf-8 """ HyperOne HyperOne API # noqa: E501 The version of the OpenAPI document: 0.1.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from h1.configuration import Configuration class ComputeProjectVmCreate(object): """NOTE: This...
27.4047
213
0.590225
1,118
10,496
5.446333
0.113596
0.043357
0.202332
0.173427
0.464608
0.392183
0.383643
0.167023
0.11102
0.043357
0
0.01824
0.315739
10,496
382
214
27.47644
0.829574
0.364615
0
0.088757
1
0
0.079435
0.018358
0
0
0
0
0
1
0.16568
false
0
0.023669
0
0.313609
0.011834
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
b747fdee25758802061e1eb5466a42d54a35164a
237
py
Python
Crudapp/admin.py
snragund/Student_System
5daffb3163ce9b1b96d5439ed38afce254b28d02
[ "MIT" ]
null
null
null
Crudapp/admin.py
snragund/Student_System
5daffb3163ce9b1b96d5439ed38afce254b28d02
[ "MIT" ]
null
null
null
Crudapp/admin.py
snragund/Student_System
5daffb3163ce9b1b96d5439ed38afce254b28d02
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Student # Register your models here. class StudentAdmin(admin.ModelAdmin): list_display = ['No','Name','Maths','Physics','Biology'] admin.site.register(Student,StudentAdmin)
33.857143
61
0.751055
29
237
6.103448
0.724138
0
0
0
0
0
0
0
0
0
0
0
0.122363
237
7
62
33.857143
0.850962
0.109705
0
0
0
0
0.122549
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3