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
f478ee4f909aa0c8efff87625fc2a81d0f45ce6f
1,642
py
Python
maps/models.py
Mickey253/hyperbolic-space-graphs
f23b071cf07e2a85a8a23a0af3aa99455f26b3e3
[ "MIT" ]
null
null
null
maps/models.py
Mickey253/hyperbolic-space-graphs
f23b071cf07e2a85a8a23a0af3aa99455f26b3e3
[ "MIT" ]
null
null
null
maps/models.py
Mickey253/hyperbolic-space-graphs
f23b071cf07e2a85a8a23a0af3aa99455f26b3e3
[ "MIT" ]
null
null
null
from django.db import models from json import dumps class Task(models.Model): creation_date = models.CharField(null=True, max_length=64) creation_ip = models.CharField(null=True, max_length=64) input_dot = models.TextField() dot_rep = models.TextField() svg_rep = models.TextField() svg_rep0 ...
32.196078
69
0.654689
198
1,642
5.272727
0.272727
0.12931
0.094828
0.16092
0.403257
0.228927
0.065134
0
0
0
0
0.017282
0.224726
1,642
50
70
32.84
0.802828
0
0
0
0
0
0.070037
0
0
0
0
0
0
1
0.076923
false
0
0.051282
0.051282
0.717949
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
f4857105befdd46ac51f59a5bd8534f66e8012d3
1,439
py
Python
leaker/api/leakage_pattern.py
encryptogroup/LEAKER
b51324e0cdd80a499ac7d32f209ded1af81c32d2
[ "MIT" ]
8
2021-08-30T04:55:21.000Z
2022-03-20T16:14:33.000Z
leaker/api/leakage_pattern.py
encryptogroup/LEAKER
b51324e0cdd80a499ac7d32f209ded1af81c32d2
[ "MIT" ]
1
2021-08-09T09:22:00.000Z
2021-08-09T09:22:00.000Z
leaker/api/leakage_pattern.py
encryptogroup/LEAKER
b51324e0cdd80a499ac7d32f209ded1af81c32d2
[ "MIT" ]
null
null
null
""" For License information see the LICENSE file. Authors: Johannes Leupold """ from abc import ABC, abstractmethod from typing import Iterable, List, Generic, TypeVar, Union, Tuple from .range_database import RangeDatabase from .dataset import Dataset T = TypeVar("T", covariant=True) class LeakagePattern(ABC, Ge...
34.261905
117
0.589298
157
1,439
5.369427
0.401274
0.042705
0.067616
0.113879
0.285884
0.285884
0.285884
0.285884
0.285884
0.285884
0
0
0.312022
1,439
41
118
35.097561
0.851515
0.357887
0
0.153846
0
0
0.001239
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0.076923
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
be3ec900e1d28eb3207237bf92505c4cf718b945
1,054
py
Python
loss.py
qlwang25/CFBD
bec0bd449f832f4caa19c2cd8225d99522b7abbf
[ "Apache-2.0" ]
null
null
null
loss.py
qlwang25/CFBD
bec0bd449f832f4caa19c2cd8225d99522b7abbf
[ "Apache-2.0" ]
null
null
null
loss.py
qlwang25/CFBD
bec0bd449f832f4caa19c2cd8225d99522b7abbf
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn import models import data.dict as dict from torch.autograd import Variable def criterion(tgt_vocab_size, use_cuda): weight = torch.ones(tgt_vocab_size) weight[dict.PAD] = 0 crit = nn.CrossEntropyLoss(weight, size_average=False) if use_cuda: crit.c...
30.114286
105
0.63093
149
1,054
4.328859
0.422819
0.031008
0.037209
0.04031
0.04031
0
0
0
0
0
0
0.020757
0.22296
1,054
34
106
31
0.766789
0.618596
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
be51a737094e439bb7923057432082504a44d7ca
445
py
Python
djangocms_page_meta/settings.py
Bernardvdv/djangocms-page-meta
e8c5e2180819341bd7f5afd7ec3ef1046c1a7712
[ "BSD-3-Clause" ]
65
2015-01-01T18:29:53.000Z
2022-03-15T07:40:31.000Z
djangocms_page_meta/settings.py
Bernardvdv/djangocms-page-meta
e8c5e2180819341bd7f5afd7ec3ef1046c1a7712
[ "BSD-3-Clause" ]
109
2015-03-30T15:14:36.000Z
2021-06-25T15:24:06.000Z
djangocms_page_meta/settings.py
Bernardvdv/djangocms-page-meta
e8c5e2180819341bd7f5afd7ec3ef1046c1a7712
[ "BSD-3-Clause" ]
52
2015-01-15T01:48:35.000Z
2021-11-25T11:21:28.000Z
def get_setting(name): from django.conf import settings description_length = getattr(settings, "PAGE_META_DESCRIPTION_LENGTH", None) or 320 tw_description_length = getattr(settings, "PAGE_META_TWITTER_DESCRIPTION_LENGTH", None) or 320 default = { "PAGE_META_DESCRIPTION_LENGTH": description_le...
34.230769
98
0.752809
54
445
5.777778
0.407407
0.435897
0.153846
0.205128
0.548077
0.25641
0
0
0
0
0
0.016216
0.168539
445
12
99
37.083333
0.827027
0
0
0
0
0
0.314607
0.28764
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
be53788b3939b8fb16a1b2b0235f6a8dff4828c1
1,701
py
Python
tests/test_host_serial.py
Xilinx/roast-xilinx
ce24becf31c90fb3c4562f4347bf0859af845c05
[ "MIT" ]
1
2021-09-01T15:29:08.000Z
2021-09-01T15:29:08.000Z
tests/test_host_serial.py
Xilinx/roast-xilinx
ce24becf31c90fb3c4562f4347bf0859af845c05
[ "MIT" ]
null
null
null
tests/test_host_serial.py
Xilinx/roast-xilinx
ce24becf31c90fb3c4562f4347bf0859af845c05
[ "MIT" ]
1
2021-11-18T13:11:21.000Z
2021-11-18T13:11:21.000Z
# # Copyright (c) 2020 Xilinx, Inc. All rights reserved. # SPDX-License-Identifier: MIT # import pytest from roast.serial import SerialBase, Serial config = { "board_interface": "host_target", "remote_host": "remote_host", "com": "com", "baudrate": "baudrate", } def test_host_serial(mocker): mo...
36.978261
88
0.734274
216
1,701
5.527778
0.291667
0.119765
0.180905
0.20268
0.247906
0.120603
0.067002
0
0
0
0
0.002727
0.137566
1,701
45
89
37.8
0.811179
0.047619
0
0
0
0
0.204954
0.052632
0
0
0
0
0.117647
1
0.058824
false
0
0.058824
0
0.117647
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
be5d12811f1ee17e0834b41b649e7823d2165c41
3,991
py
Python
app/store/models.py
igndukwe/ecomm-app-api
c6e175c7b6036cc72b02c5e6fcba67eb3f0566c0
[ "MIT" ]
null
null
null
app/store/models.py
igndukwe/ecomm-app-api
c6e175c7b6036cc72b02c5e6fcba67eb3f0566c0
[ "MIT" ]
null
null
null
app/store/models.py
igndukwe/ecomm-app-api
c6e175c7b6036cc72b02c5e6fcba67eb3f0566c0
[ "MIT" ]
null
null
null
import uuid import os from django.db import models from django.contrib.auth.models import User def product_image_file_path(instance, filename): """Generate file path for new recipe image""" ext = filename.split('.')[-1] filename = f'{uuid.uuid4()}.{ext}' # path to store the file return os.path.jo...
28.304965
78
0.650965
503
3,991
5.031809
0.28827
0.034769
0.064006
0.085342
0.421968
0.356381
0.298301
0.227183
0.103121
0.103121
0
0.010771
0.255575
3,991
140
79
28.507143
0.841131
0.16437
0
0.347368
1
0
0.011212
0
0
0
0
0
0
1
0.105263
false
0
0.042105
0.042105
0.547368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
be66523c1fa4a345f8871077e1d11f170a08f1e0
419
py
Python
test/tests_without_spec/test_missing_spec.py
kovalewvladimir/falcon-openapi
8fd3af74bdbda200b5b201bb60da8546a57e434b
[ "MIT" ]
null
null
null
test/tests_without_spec/test_missing_spec.py
kovalewvladimir/falcon-openapi
8fd3af74bdbda200b5b201bb60da8546a57e434b
[ "MIT" ]
null
null
null
test/tests_without_spec/test_missing_spec.py
kovalewvladimir/falcon-openapi
8fd3af74bdbda200b5b201bb60da8546a57e434b
[ "MIT" ]
null
null
null
import json import os import sys from shutil import copytree import pytest sys.path.insert(0, '../..') from falcon_openapi import OpenApiRouter # isort:skip class TestRouter(): def test_missing_default(self): with pytest.raises(FileNotFoundError): OpenApiRouter() def test_bad_file(self...
20.95
54
0.701671
49
419
5.877551
0.612245
0.048611
0.097222
0.138889
0.347222
0.347222
0
0
0
0
0
0.003003
0.205251
419
19
55
22.052632
0.861862
0.023866
0
0.142857
0
0
0.034398
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
be71816ccc005bf3f913861ef24d9d5f00539d99
736
py
Python
app/models.py
edumorris/newser
c672e6e2a6efb3ae4c679c28f844dc7fd5b6e865
[ "MIT" ]
null
null
null
app/models.py
edumorris/newser
c672e6e2a6efb3ae4c679c28f844dc7fd5b6e865
[ "MIT" ]
null
null
null
app/models.py
edumorris/newser
c672e6e2a6efb3ae4c679c28f844dc7fd5b6e865
[ "MIT" ]
null
null
null
class newsArticles: ''' Class defining articles ''' def __init__(self, source, author, title, description, url, image_url, publish_time, content): self.source = source # Name of the source of news self.author = author # Author of the news article self.title = title # Title o...
36.8
98
0.660326
95
736
5.010526
0.305263
0.063025
0.176471
0.189076
0.168067
0
0
0
0
0
0
0
0.273098
736
20
99
36.8
0.88972
0.373641
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0.083333
0
0
0.25
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
1
0
0
0
0
0
2
be74cb5278563e2c0c727d6764696d19f41a4004
657
py
Python
Python/Courses/Python-Tutorials.Telusko/01.Object-Oriented-Programming/13.Types-of-Methods.py
shihab4t/Books-Code
b637b6b2ad42e11faf87d29047311160fe3b2490
[ "Unlicense" ]
null
null
null
Python/Courses/Python-Tutorials.Telusko/01.Object-Oriented-Programming/13.Types-of-Methods.py
shihab4t/Books-Code
b637b6b2ad42e11faf87d29047311160fe3b2490
[ "Unlicense" ]
null
null
null
Python/Courses/Python-Tutorials.Telusko/01.Object-Oriented-Programming/13.Types-of-Methods.py
shihab4t/Books-Code
b637b6b2ad42e11faf87d29047311160fe3b2490
[ "Unlicense" ]
null
null
null
# There are three type methods # Instance methods # Class methods # Static methods class Student: school = "Telusko" @classmethod def get_school(cls): return cls.school @staticmethod def info(): print("This is Student Class") def __init__(self, m1, m2, m3): self.m1 = ...
16.846154
48
0.585997
93
657
4.053763
0.397849
0.079576
0.04244
0.084881
0
0
0
0
0
0
0
0.070815
0.290715
657
38
49
17.289474
0.738197
0.112633
0
0
0
0
0.048443
0
0
0
0
0
0
1
0.26087
false
0
0
0.130435
0.478261
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
be7d3076f96338a9c4fb5a77f3606791b300827b
556
py
Python
app/university/migrations/0004_auto_20220121_1538.py
gbr-mendes/ead-courses-api
fd0fcc8aef996c4b671f34d51a8a74aafdf78480
[ "MIT" ]
1
2022-01-31T18:12:42.000Z
2022-01-31T18:12:42.000Z
app/university/migrations/0004_auto_20220121_1538.py
gbr-mendes/ead-courses-api
fd0fcc8aef996c4b671f34d51a8a74aafdf78480
[ "MIT" ]
null
null
null
app/university/migrations/0004_auto_20220121_1538.py
gbr-mendes/ead-courses-api
fd0fcc8aef996c4b671f34d51a8a74aafdf78480
[ "MIT" ]
null
null
null
# Generated by Django 3.2.11 on 2022-01-21 15:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('university', '0003_lesson'), ] operations = [ migrations.AlterField( model_name='employee', name='hired_date', ...
23.166667
57
0.571942
57
556
5.491228
0.596491
0.057508
0.076677
0.185304
0.306709
0.306709
0.306709
0.306709
0.306709
0.306709
0
0.092784
0.302158
556
23
58
24.173913
0.713918
0.082734
0
0.470588
1
0
0.149606
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
be7df4b1fdc26739ccb3963215d52453e8e38462
87,701
py
Python
dimensionality_reduction_functions.py
rebeccawalters95/PathReducer
b9e7b0dc924686a909cb95697a98e5b89e2f7d93
[ "MIT" ]
null
null
null
dimensionality_reduction_functions.py
rebeccawalters95/PathReducer
b9e7b0dc924686a909cb95697a98e5b89e2f7d93
[ "MIT" ]
null
null
null
dimensionality_reduction_functions.py
rebeccawalters95/PathReducer
b9e7b0dc924686a909cb95697a98e5b89e2f7d93
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 from typing import Tuple import numpy as np import PathReducer.calculate_rmsd as rmsd import pandas as pd import math import glob import os import sys import ntpath import MDAnalysis as mda import PathReducer.plotting_functions as plotting_functions from periodictabl...
48.994972
353
0.645945
10,973
87,701
4.901212
0.064157
0.02618
0.011658
0.014057
0.755806
0.726818
0.695394
0.67403
0.650527
0.635726
0
0.007223
0.278549
87,701
1,789
354
49.022359
0.842774
0.220704
0
0.545624
0
0.001862
0.075191
0.000826
0
0
0
0.001118
0.005587
1
0.044693
false
0
0.023277
0.001862
0.113594
0.080074
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
be9c0c3b21a9d11d639038ba19c85d53765d8191
9,226
py
Python
python/form_handler/business.py
jonathan-longe/RSBC-DataHub-API
90c3810a982a3f440673e8d4ea60973467eb335f
[ "Apache-2.0" ]
3
2020-02-18T20:54:13.000Z
2022-01-14T17:11:45.000Z
python/form_handler/business.py
jonathan-longe/RSBC-DataHub-API
90c3810a982a3f440673e8d4ea60973467eb335f
[ "Apache-2.0" ]
41
2020-03-19T19:00:51.000Z
2022-03-05T02:12:18.000Z
python/form_handler/business.py
jonathan-longe/RSBC-DataHub-API
90c3810a982a3f440673e8d4ea60973467eb335f
[ "Apache-2.0" ]
6
2020-02-20T20:05:24.000Z
2022-01-25T02:19:29.000Z
import python.common.middleware as middleware import python.common.actions as actions import python.common.rsi_email as rsi_email def process_incoming_form() -> dict: """ This function lists the business rules required when processing each form. The Orbeon form name is used as the key. For example, ...
55.915152
102
0.576848
932
9,226
5.309013
0.206009
0.130154
0.216451
0.064673
0.553557
0.496564
0.46059
0.46059
0.427648
0.409256
0
0.000742
0.269564
9,226
164
103
56.256098
0.733492
0.079775
0
0.489362
0
0
0.098202
0.002603
0
0
0
0
0
1
0.007092
true
0
0.021277
0
0.035461
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
bea3e45defad1dd317f95269761d590a4652739f
1,954
py
Python
school/views/school_category_views.py
tnemisteam/cdf-steps
78896eebd08ba9975a2dece97f73dca9aa781238
[ "MIT" ]
null
null
null
school/views/school_category_views.py
tnemisteam/cdf-steps
78896eebd08ba9975a2dece97f73dca9aa781238
[ "MIT" ]
null
null
null
school/views/school_category_views.py
tnemisteam/cdf-steps
78896eebd08ba9975a2dece97f73dca9aa781238
[ "MIT" ]
null
null
null
from django.views.generic import ListView, DetailView, CreateView, \ DeleteView, UpdateView from school.models import School_category class School_categoryView(object): model = School_category def get_template_names(self): """Nest templates within school_category di...
25.710526
74
0.725179
220
1,954
6.172727
0.25
0.113402
0.057437
0.070692
0.476436
0.476436
0.476436
0.476436
0.476436
0.476436
0
0.004467
0.198055
1,954
75
75
26.053333
0.862157
0.058342
0
0.55
0
0
0.105522
0.088573
0
0
0
0
0
1
0.175
false
0.1
0.2
0
0.775
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
bea7e0749083910778bf84282cd6d32a61239c71
94
py
Python
2752.py
kwondohun0308/Beakjoon
65e8c1015bcb3bb757d8056525034ee333ecb681
[ "MIT" ]
null
null
null
2752.py
kwondohun0308/Beakjoon
65e8c1015bcb3bb757d8056525034ee333ecb681
[ "MIT" ]
null
null
null
2752.py
kwondohun0308/Beakjoon
65e8c1015bcb3bb757d8056525034ee333ecb681
[ "MIT" ]
null
null
null
a,b,c=list(map(int, input().split())) arr=[a,b,c] arr=sorted(arr) print(arr[0],arr[1],arr[2])
18.8
37
0.617021
22
94
2.636364
0.636364
0.068966
0.103448
0
0
0
0
0
0
0
0
0.033708
0.053191
94
4
38
23.5
0.617978
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bea907795a8104e5b29890add4c5ec7adfd0ae58
5,824
py
Python
note_seq/chord_inference_test.py
tetromino/note-seq
a71716327619d9d995cce3ca1e0d8442ab2e0d73
[ "Apache-2.0" ]
113
2020-06-17T15:59:30.000Z
2022-03-15T08:01:05.000Z
note_seq/chord_inference_test.py
tetromino/note-seq
a71716327619d9d995cce3ca1e0d8442ab2e0d73
[ "Apache-2.0" ]
26
2020-06-17T18:04:40.000Z
2021-12-08T11:04:19.000Z
note_seq/chord_inference_test.py
tetromino/note-seq
a71716327619d9d995cce3ca1e0d8442ab2e0d73
[ "Apache-2.0" ]
45
2020-06-17T18:05:03.000Z
2022-02-11T17:07:14.000Z
# Copyright 2021 The Magenta Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
43.789474
79
0.577953
1,106
5,824
2.925859
0.137432
0.15822
0.20581
0.247219
0.605686
0.533993
0.522868
0.510507
0.507108
0.507108
0
0.198443
0.228194
5,824
132
80
44.121212
0.521468
0.106628
0
0.57732
0
0
0.003484
0
0
0
0
0
0.051546
1
0.051546
false
0
0.051546
0
0.113402
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
beb0dd2093b8980e64bedc2f82d6f3b1a74b310b
13,516
py
Python
bin/plot_diagnostics.py
mcnanna/obztak
fdbdac79348c207b13fdd2a9956fe349cc0e00ef
[ "MIT" ]
4
2019-01-18T20:34:29.000Z
2022-01-26T14:35:31.000Z
bin/plot_diagnostics.py
mcnanna/obztak
fdbdac79348c207b13fdd2a9956fe349cc0e00ef
[ "MIT" ]
8
2017-06-22T19:12:31.000Z
2020-01-27T03:52:59.000Z
bin/plot_diagnostics.py
mcnanna/obztak
fdbdac79348c207b13fdd2a9956fe349cc0e00ef
[ "MIT" ]
3
2017-12-15T21:51:23.000Z
2019-08-10T05:07:53.000Z
#!/usr/bin/env python """ Create diagnostic plots for a particular survey strategy. """ #import sys import os import numpy as np import matplotlib.pyplot as plt import ephem import obztak.utils.ortho import obztak.utils.fileio plt.ion() ############################################################ def movie(infile_...
45.816949
165
0.633619
1,672
13,516
4.958732
0.135167
0.219274
0.045592
0.015921
0.650103
0.601978
0.570378
0.494512
0.470751
0.414305
0
0.02213
0.180897
13,516
294
166
45.972789
0.726764
0.147677
0
0.348315
0
0
0.112025
0.010907
0
0
0
0
0
0
null
null
0
0.039326
null
null
0.033708
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
1
0
0
0
0
0
0
0
0
2
beba60e7ce5ced3f95fc8c00a67227e77fe7333d
263
py
Python
kernel/arch/arm/3ds11/config.py
MTGos/mtgos
270f4932565eb3fe074cacc8c55c41103fa0a371
[ "BSD-2-Clause" ]
2
2018-01-04T18:11:39.000Z
2020-03-12T17:54:13.000Z
kernel/arch/arm/3ds11/config.py
MTGos/kernel
270f4932565eb3fe074cacc8c55c41103fa0a371
[ "BSD-2-Clause" ]
10
2017-02-05T11:09:45.000Z
2017-02-08T13:42:14.000Z
kernel/arch/arm/3ds11/config.py
MTGos/kernel
270f4932565eb3fe074cacc8c55c41103fa0a371
[ "BSD-2-Clause" ]
null
null
null
config["LOWEST_CPU"] = "arm11mpcore" config["ENABLE_HARD"] = get_yes_no("Enable VFP ABI", True) if not config["ENABLE_HARD"]: config["ENABLE_THUMB"] = get_yes_no("Enable Thumb") import sys sys.argv=["","kernel/mmaps/3ds11.mc"] from buildtools import mmapcomp
32.875
58
0.73384
39
263
4.74359
0.641026
0.194595
0.172973
0.151351
0
0
0
0
0
0
0
0.021186
0.102662
263
7
59
37.571429
0.762712
0
0
0
0
0
0.387833
0.079848
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
0
0
0
0
0
2
bec82106e382dc058eb664c23253c64d2483ea1d
270
py
Python
catalog/bindings/wfs/property_is_nil.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/wfs/property_is_nil.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/wfs/property_is_nil.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from bindings.wfs.property_is_nil_type import PropertyIsNilType __NAMESPACE__ = "http://www.opengis.net/fes/2.0" @dataclass class PropertyIsNil(PropertyIsNilType): class Meta: namespace = "http://www.opengis.net/fes/2.0"
24.545455
63
0.766667
35
270
5.714286
0.628571
0.13
0.16
0.23
0.31
0.31
0.31
0.31
0
0
0
0.016949
0.125926
270
10
64
27
0.830508
0
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
fe22346511260dc06092829fa58a0969b5ba32c9
1,018
py
Python
textattack/goal_functions/classification/targeted_classification.py
heytitle/TextAttack
99fedba1046a1c99e01432f97f7fe5a768ae7817
[ "MIT" ]
2
2021-02-22T12:15:27.000Z
2021-05-02T15:22:05.000Z
textattack/goal_functions/classification/targeted_classification.py
heytitle/TextAttack
99fedba1046a1c99e01432f97f7fe5a768ae7817
[ "MIT" ]
null
null
null
textattack/goal_functions/classification/targeted_classification.py
heytitle/TextAttack
99fedba1046a1c99e01432f97f7fe5a768ae7817
[ "MIT" ]
null
null
null
from .classification_goal_function import ClassificationGoalFunction class TargetedClassification(ClassificationGoalFunction): """ A targeted attack on classification models which attempts to maximize the score of the target label. Complete when the arget label is the predicted label. """ def __...
35.103448
92
0.67387
121
1,018
5.363636
0.446281
0.186441
0.161787
0.064715
0.07396
0
0
0
0
0
0
0.002591
0.24165
1,018
28
93
36.357143
0.838083
0.152259
0
0
0
0
0.10083
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.111111
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
fe32ac639582423ff4c817ab5037f8d1f9bb2aec
1,200
py
Python
src/python/intensity/logging.py
kripken/intensityengine
9ae352b4f526ecb180004ae4968db7f64f140762
[ "MIT" ]
31
2015-01-18T20:27:31.000Z
2021-07-03T03:58:47.000Z
src/python/intensity/logging.py
JamesLinus/intensityengine
9ae352b4f526ecb180004ae4968db7f64f140762
[ "MIT" ]
4
2015-07-05T21:09:37.000Z
2019-09-06T14:34:59.000Z
src/python/intensity/logging.py
JamesLinus/intensityengine
9ae352b4f526ecb180004ae4968db7f64f140762
[ "MIT" ]
11
2015-02-03T19:24:10.000Z
2019-09-20T10:59:50.000Z
# Copyright 2010 Alon Zakai ('kripken'). All rights reserved. # This file is part of Syntensity/the Intensity Engine, an open source project. See COPYING.txt for licensing. """ A simple logging system with variable levels of logging detail. This module is a thin wrapper around our C++ Logging module. """ import c_mo...
33.333333
134
0.710833
182
1,200
4.659341
0.565934
0.007075
0.033019
0
0
0
0
0
0
0
0
0.009454
0.206667
1,200
35
135
34.285714
0.881303
0.673333
0
0
0
0
0.065574
0
0
0
0
0.028571
0
1
0.142857
false
0
0.071429
0.071429
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
fe36a9029163b1756d983adfae87b6e84cf7a692
1,499
py
Python
dev/scripts/clear_testing.py
rubik-ai/koku
3255d1c217b7b6685cb2e130bf4e025946e76fac
[ "Apache-2.0" ]
157
2018-04-30T16:27:53.000Z
2022-03-31T08:17:21.000Z
dev/scripts/clear_testing.py
rubik-ai/koku
3255d1c217b7b6685cb2e130bf4e025946e76fac
[ "Apache-2.0" ]
3,250
2018-04-26T14:14:25.000Z
2022-03-31T23:49:15.000Z
dev/scripts/clear_testing.py
rubik-ai/koku
3255d1c217b7b6685cb2e130bf4e025946e76fac
[ "Apache-2.0" ]
65
2018-05-10T14:11:50.000Z
2022-03-18T19:22:58.000Z
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """Clear out our local testing directories.""" import argparse import os import shutil TESTING_DIRS = [ "local_providers/aws_local", "local_providers/aws_local_0", "local_providers/aws_local_1", "local_providers/aws_local_2", "...
28.283019
117
0.675784
196
1,499
4.826531
0.372449
0.207188
0.125793
0.162791
0.051797
0
0
0
0
0
0
0.013412
0.204136
1,499
52
118
28.826923
0.779547
0.070047
0
0
0
0
0.406498
0.306859
0
0
0
0
0
1
0.025641
false
0
0.076923
0
0.102564
0.076923
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe3ed2563a0e3bbd250e9cb9fa7354200f7cfaea
1,676
py
Python
tests/search/chembl/test_indication_search.py
dmyersturnbull/chembler
b1b54a5f4fe7939e012c0cc8b227fcea60d6e744
[ "Apache-2.0" ]
null
null
null
tests/search/chembl/test_indication_search.py
dmyersturnbull/chembler
b1b54a5f4fe7939e012c0cc8b227fcea60d6e744
[ "Apache-2.0" ]
null
null
null
tests/search/chembl/test_indication_search.py
dmyersturnbull/chembler
b1b54a5f4fe7939e012c0cc8b227fcea60d6e744
[ "Apache-2.0" ]
null
null
null
from collections import Sequence import pytest from mandos.entry.api_singletons import Apis from mandos.model.hits import AbstractHit from mandos.search.chembl.indication_search import IndicationSearch """ class TestIndicationSearch: def test_find(self): search = IndicationSearch(key="indications", api=A...
32.862745
95
0.605609
183
1,676
5.409836
0.448087
0.065657
0.070707
0.039394
0
0
0
0
0
0
0
0.05551
0.269093
1,676
50
96
33.52
0.752653
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
fe4be27ff376cdc57b6d065ddffc53d93d345b80
147
py
Python
lucario_reasons/pokerank.py
Floozutter/lucario-reasons
7b75054e9ec27165d2e01186098a3b3736d25cc5
[ "Unlicense" ]
null
null
null
lucario_reasons/pokerank.py
Floozutter/lucario-reasons
7b75054e9ec27165d2e01186098a3b3736d25cc5
[ "Unlicense" ]
null
null
null
lucario_reasons/pokerank.py
Floozutter/lucario-reasons
7b75054e9ec27165d2e01186098a3b3736d25cc5
[ "Unlicense" ]
null
null
null
if __name__ == "__main__": with open("poketags.txt", "r", encoding = "utf-8") as ifile: poketags = tuple(ifile.read().strip().split())
36.75
64
0.605442
19
147
4.263158
0.894737
0
0
0
0
0
0
0
0
0
0
0.008333
0.183673
147
3
65
49
0.666667
0
0
0
0
0
0.176871
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe60f3bd27f42243cebbd24079a11ae3b3b832d5
341
py
Python
RPi_local_backup_sql/upload_test.py
LisaTsai/CF_2018
8e8b7fc66913e4da69a125ae6f8800da0b59b606
[ "MIT" ]
null
null
null
RPi_local_backup_sql/upload_test.py
LisaTsai/CF_2018
8e8b7fc66913e4da69a125ae6f8800da0b59b606
[ "MIT" ]
null
null
null
RPi_local_backup_sql/upload_test.py
LisaTsai/CF_2018
8e8b7fc66913e4da69a125ae6f8800da0b59b606
[ "MIT" ]
null
null
null
#!/usr/bin/env python import MySQLdb db=MySQLdb.connect(host="192.168.50.98",user="root",passwd="ntubime405",db="PN_CF", port=3306) cur=db.cursor() try: cur.execute("""DELETE FROM THI where 1""") cur.execute("""INSERT INTO THI values(CURRENT_TIMESTAMP,'22','33','44','9')""") db.commit() db.close() except: print "E...
26.230769
94
0.686217
55
341
4.218182
0.818182
0.086207
0
0
0
0
0
0
0
0
0
0.080128
0.085044
341
12
95
28.416667
0.663462
0.058651
0
0
0
0
0.375
0.1375
0
0
0
0
0
0
null
null
0.090909
0.090909
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
fe641ca1faefb23598f51039ce298c9dc9f46dd9
126
py
Python
output/models/ms_data/model_groups/mg_k009_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/model_groups/mg_k009_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/model_groups/mg_k009_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.model_groups.mg_k009_xsd.mg_k009 import ( Doc, Foo, ) __all__ = [ "Doc", "Foo", ]
12.6
68
0.619048
18
126
3.833333
0.777778
0.173913
0
0
0
0
0
0
0
0
0
0.0625
0.238095
126
9
69
14
0.65625
0
0
0
0
0
0.047619
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
2
fe6a2c23db6e93f48b4985882a2cfbcfb62ae91b
230
py
Python
gosling/examples/__init__.py
gosling-lang/gos
0099d51e03b1e27aba5fa7554770eb27078716ed
[ "MIT" ]
32
2021-09-08T18:18:49.000Z
2022-02-22T00:27:02.000Z
gosling/examples/__init__.py
gosling-lang/gos
0099d51e03b1e27aba5fa7554770eb27078716ed
[ "MIT" ]
18
2021-09-08T16:18:09.000Z
2022-03-25T19:25:28.000Z
gosling/examples/__init__.py
manzt/ipygosling
0099d51e03b1e27aba5fa7554770eb27078716ed
[ "MIT" ]
2
2022-02-18T13:43:55.000Z
2022-03-11T17:49:41.000Z
import pathlib def iter_examples(): example_dir = pathlib.Path(__file__).parent.absolute() for fp in example_dir.iterdir(): if fp.name.startswith("_") or fp.suffix != ".py": continue yield fp
23
58
0.626087
29
230
4.689655
0.793103
0.147059
0
0
0
0
0
0
0
0
0
0
0.252174
230
9
59
25.555556
0.790698
0
0
0
0
0
0.017391
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe784dc36933e3a2e1a717bf63310b644076de07
6,911
py
Python
tests/test_basics.py
roguextech/OpenRocket-pyjnius
1692c95099ca8eaf652ac24dbbcbf4eb08d8191f
[ "MIT" ]
908
2015-01-03T03:24:43.000Z
2022-03-29T14:05:16.000Z
tests/test_basics.py
roguextech/OpenRocket-pyjnius
1692c95099ca8eaf652ac24dbbcbf4eb08d8191f
[ "MIT" ]
465
2015-01-03T19:13:21.000Z
2022-03-15T23:32:23.000Z
tests/test_basics.py
roguextech/OpenRocket-pyjnius
1692c95099ca8eaf652ac24dbbcbf4eb08d8191f
[ "MIT" ]
244
2015-01-02T22:41:35.000Z
2022-03-12T13:16:30.000Z
from __future__ import print_function from __future__ import division from __future__ import absolute_import import sys import unittest from jnius.reflect import autoclass try: long except NameError: # Python 3 long = int def py2_encode(uni): if sys.version_info < (3, 0): uni = uni.encode('utf...
42.925466
116
0.677615
747
6,911
6.149933
0.198126
0.192643
0.235742
0.094036
0.43731
0.347192
0.328037
0.293644
0.231606
0.16108
0
0.100647
0.194907
6,911
160
117
43.19375
0.725018
0.001158
0
0.167883
0
0
0.068831
0
0
0
0
0
0.540146
1
0.116788
false
0
0.043796
0
0.175182
0.007299
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
1
0
0
0
0
0
0
0
0
0
2
fe7b34ae2583a471921d494e45be3e58e531ca00
22,176
py
Python
heat/core/tests/test_trigonometrics.py
sebimarkgraf/heat
9638e384f52c9bade75590963b9d57e080692da4
[ "MIT" ]
null
null
null
heat/core/tests/test_trigonometrics.py
sebimarkgraf/heat
9638e384f52c9bade75590963b9d57e080692da4
[ "MIT" ]
null
null
null
heat/core/tests/test_trigonometrics.py
sebimarkgraf/heat
9638e384f52c9bade75590963b9d57e080692da4
[ "MIT" ]
null
null
null
import math import torch import heat as ht from .test_suites.basic_test import TestCase class TestTrigonometrics(TestCase): def test_arccos(self): # base elements elements = [-1.0, -0.83, -0.12, 0.0, 0.24, 0.67, 1.0] comparison = torch.tensor( elements, dtype=torch.float64, de...
42.564299
90
0.668155
2,622
22,176
5.525553
0.041571
0.043484
0.044451
0.079376
0.857261
0.665447
0.624931
0.605052
0.44561
0.41386
0
0.070467
0.226326
22,176
520
91
42.646154
0.77397
0.088249
0
0.338753
0
0
0.007097
0
0
0
0
0
0.444444
1
0.03794
false
0
0.01084
0
0.051491
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
fe7c93136f5957abd1473539b48e2af055283e53
4,780
py
Python
src/sima/hydro/linearcurrentcoefficientitem.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/hydro/linearcurrentcoefficientitem.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/hydro/linearcurrentcoefficientitem.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# This an autogenerated file # # Generated with LinearCurrentCoefficientItem from typing import Dict,Sequence,List from dmt.entity import Entity from dmt.blueprint import Blueprint from .blueprints.linearcurrentcoefficientitem import LinearCurrentCoefficientItemBlueprint from typing import Dict from sima.sima.moao imp...
27.471264
136
0.602301
543
4,780
5.187845
0.145488
0.00994
0.076677
0.097977
0.27476
0.253461
0.234292
0.225772
0.225772
0.225772
0
0.046825
0.285146
4,780
173
137
27.630058
0.777583
0.279289
0
0.126316
1
0
0.008385
0
0
0
0
0
0
1
0.252632
false
0
0.073684
0
0.463158
0.042105
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
0
0
0
2
fe82b2e3ac7a0f9b999f223966b12a5a465ac4b3
3,129
py
Python
src/sims4communitylib/enums/skills_enum.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
src/sims4communitylib/enums/skills_enum.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
src/sims4communitylib/enums/skills_enum.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
""" The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode Copyright (c) COLONOLNUTTY """ from sims4communitylib.enums.enumtypes.common_int import Co...
45.347826
125
0.763183
324
3,129
7.033951
0.540123
0.136025
0.005265
0.007898
0.03247
0.03247
0.03247
0.03247
0.03247
0.03247
0
0.117069
0.153723
3,129
68
126
46.014706
0.74358
0.091403
0
0
0
0
0.248057
0
0
0
0
0
0
1
0
true
0
0.017857
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
0
0
1
0
0
2
fe8aa50bdb9069e13614b39415ae064abc64bf13
683
py
Python
final_project/machinetranslation/tests/tests.py
andylbarnes76/xzceb-flask_eng_fr
c7b5c6d24711436fbc058640a2be56c8aa6af2e4
[ "Apache-2.0" ]
null
null
null
final_project/machinetranslation/tests/tests.py
andylbarnes76/xzceb-flask_eng_fr
c7b5c6d24711436fbc058640a2be56c8aa6af2e4
[ "Apache-2.0" ]
null
null
null
final_project/machinetranslation/tests/tests.py
andylbarnes76/xzceb-flask_eng_fr
c7b5c6d24711436fbc058640a2be56c8aa6af2e4
[ "Apache-2.0" ]
null
null
null
import unittest from translator import english_to_french, french_to_english class TestFrenchtoEnglish (unittest.TestCase): def test1(self): self.assertEqual(french_to_english("NULL"),"NULL") #test that empty string returns empty string self.assertEqual(french_to_english("Bonjour"),"Hello") #test t...
45.533333
116
0.752562
87
683
5.770115
0.275862
0.119522
0.089641
0.155378
0.814741
0.695219
0.695219
0.695219
0.695219
0.533865
0
0.003472
0.156662
683
15
117
45.533333
0.868056
0.278184
0
0.363636
0
0
0.081633
0
0
0
0
0
0.363636
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
fe8cb2041205bbc149b2efc5d74bc031cd1a5a58
86
py
Python
config_example.py
ha107642/RoachFactsBot
8a6301b9afd117086d432df61495ae92e04cf0e7
[ "MIT" ]
null
null
null
config_example.py
ha107642/RoachFactsBot
8a6301b9afd117086d432df61495ae92e04cf0e7
[ "MIT" ]
null
null
null
config_example.py
ha107642/RoachFactsBot
8a6301b9afd117086d432df61495ae92e04cf0e7
[ "MIT" ]
null
null
null
username = u"TestBot" oauth = u"oauth:324ouinjsdfkj9234jf" channels = [u"testchannel"]
28.666667
36
0.767442
10
86
6.6
0.7
0
0
0
0
0
0
0
0
0
0
0.089744
0.093023
86
3
37
28.666667
0.75641
0
0
0
0
0
0.494253
0.287356
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe8d4ec1866188e680b374723197bb5810367c12
5,232
py
Python
gnosis/eth/contracts/__init__.py
gosuto-ai/gnosis-py
637ce5c92f208f0e1d4f5e0687c10f378cfdff56
[ "MIT" ]
1
2021-10-21T06:43:52.000Z
2021-10-21T06:43:52.000Z
gnosis/eth/contracts/__init__.py
HonzaDajc/gnosis-py
a2ab705f98479c4e46ca2b225a4bc75a773d69a7
[ "MIT" ]
null
null
null
gnosis/eth/contracts/__init__.py
HonzaDajc/gnosis-py
a2ab705f98479c4e46ca2b225a4bc75a773d69a7
[ "MIT" ]
2
2021-07-14T10:02:16.000Z
2021-08-02T22:04:41.000Z
import json import os import sys from typing import Any, Dict, Optional from eth_typing import ChecksumAddress from hexbytes import HexBytes from web3 import Web3 from web3.contract import Contract def load_contract_interface(file_name): return _load_json_file(_abi_file_path(file_name)) def _abi_file_path(file...
29.066667
97
0.741972
683
5,232
5.382138
0.18448
0.037541
0.077802
0.12568
0.438792
0.413493
0.413493
0.413493
0.383025
0.355277
0
0.07656
0.1487
5,232
179
98
29.22905
0.748765
0.035168
0
0.221053
0
0
0.181317
0.070002
0
0
0
0
0
1
0.294737
false
0.221053
0.084211
0.052632
0.452632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
fe8d90c0fe4107761de41ed38852a8d5cacb5ab0
758
py
Python
tests/pytest/utils.py
dzubke/speech-lite
65f83ac2b7551650820f079ce5152741f2a6fdb8
[ "Apache-2.0" ]
null
null
null
tests/pytest/utils.py
dzubke/speech-lite
65f83ac2b7551650820f079ce5152741f2a6fdb8
[ "Apache-2.0" ]
null
null
null
tests/pytest/utils.py
dzubke/speech-lite
65f83ac2b7551650820f079ce5152741f2a6fdb8
[ "Apache-2.0" ]
null
null
null
# standard libraries import glob import os import platform # project libraries from speech.utils.wave import array_from_wave from speech.utils.signal_augment import inject_noise_sample from speech.utils.compat import get_main_dir_path def check_length(audio_path:str, noise_path:str, noise_level:float=0.5): audio_d...
34.454545
73
0.770449
116
758
4.672414
0.387931
0.051661
0.083026
0.051661
0
0
0
0
0
0
0
0.003106
0.150396
758
21
74
36.095238
0.838509
0.047493
0
0
0
0
0.03338
0.031989
0
0
0
0
0
1
0.125
false
0
0.375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fe9ab7da55844d4a1fdd39cf799a850e990bc7bc
216
py
Python
mainwin.py
916958205/HanWei
66cd9d4495cd95145fe72de4cbcce5a0a76b716c
[ "MIT" ]
null
null
null
mainwin.py
916958205/HanWei
66cd9d4495cd95145fe72de4cbcce5a0a76b716c
[ "MIT" ]
null
null
null
mainwin.py
916958205/HanWei
66cd9d4495cd95145fe72de4cbcce5a0a76b716c
[ "MIT" ]
null
null
null
import sys from PyQt5.QtWidgets import * app = QApplication(sys.argv) mywidget = QWidget() mywidget.setGeometry(200,200,600,300) mywidget.setWindowTitle("Hello PyQt5") mywidget.show() sys.exit(app.exec_())
21.6
39
0.740741
28
216
5.678571
0.678571
0
0
0
0
0
0
0
0
0
0
0.074074
0.125
216
9
40
24
0.767196
0
0
0
0
0
0.053398
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fea331d72af939d00cabb8cbf36afb17d3ad1ab1
787
py
Python
rpc/RPyC/tutorials/services/registry_discovery/service01.py
2581676612/python
b309564a05838b23044bb8112fd4ef71307266b6
[ "MIT" ]
112
2017-09-19T17:38:38.000Z
2020-05-27T18:00:27.000Z
rpc/RPyC/tutorials/services/registry_discovery/service01.py
tomoncle/Python-notes
ce675486290c3d1c7c2e4890b57e3d0c8a1228cc
[ "MIT" ]
null
null
null
rpc/RPyC/tutorials/services/registry_discovery/service01.py
tomoncle/Python-notes
ce675486290c3d1c7c2e4890b57e3d0c8a1228cc
[ "MIT" ]
56
2017-09-20T01:24:12.000Z
2020-04-16T06:19:31.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 17-8-15 下午1:35 # @Author : Tom.Lee # @CopyRight : 2016-2017 OpenBridge by yihecloud # @File : service.py # @Product : PyCharm # @Docs : # @Source : import rpyc from rpyc.utils.server import ThreadedServe...
20.179487
69
0.590851
93
787
4.860215
0.741935
0.022124
0
0
0
0
0
0
0
0
0
0.052252
0.29479
787
38
70
20.710526
0.762162
0.311309
0
0.210526
0
0
0.18609
0
0
0
0
0
0
0
null
null
0.105263
0.105263
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
fea6f09ab23638e1620e4cd3a84fd26dec806269
886
py
Python
Python2/TestDrivenDevelopment/src/testadder.py
ceeblet/OST_PythonCertificationTrack
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
[ "MIT" ]
null
null
null
Python2/TestDrivenDevelopment/src/testadder.py
ceeblet/OST_PythonCertificationTrack
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
[ "MIT" ]
null
null
null
Python2/TestDrivenDevelopment/src/testadder.py
ceeblet/OST_PythonCertificationTrack
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
[ "MIT" ]
null
null
null
""" Demonstrates the fundamentals of unit test. adder() is a function that lets you 'add' integers, strings, and lists. """ from adder import adder # keep the tested code separate from the tests. import unittest class TestAdder(unittest.TestCase): def test_numbers(self): self.assertEqual(adder(3,4), 7, "3...
34.076923
92
0.603837
140
886
3.7
0.364286
0.030888
0.046332
0.046332
0.164093
0.069498
0.023166
0.023166
0
0
0
0.061493
0.22912
886
26
93
34.076923
0.696925
0.182844
0
0
0
0.066667
0.195258
0
0
0
0
0
0.333333
1
0.333333
false
0
0.133333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fead6377c7ce82420fb675cacf96d942b02e212a
850
py
Python
src/genie/libs/parser/iosxr/tests/ShowPceIPV4PeerPrefix/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/iosxr/tests/ShowPceIPV4PeerPrefix/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/iosxr/tests/ShowPceIPV4PeerPrefix/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { 'nodes': { 1: { 'te_router_id': '192.168.0.4', 'host_name': 'rtrD', 'isis_system_id': [ '1921.68ff.1004 level-1', '1921.68ff.1004 level-2', '1921.68ff.1004 level-2'], 'asn': [ ...
28.333333
73
0.358824
84
850
3.464286
0.369048
0.14433
0.168385
0.109966
0.632302
0.223368
0.106529
0.106529
0.106529
0.106529
0
0.294521
0.484706
850
29
74
29.310345
0.369863
0
0
0.259259
0
0
0.351415
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
feb86c300efea826ff83f4a7ca162a2abad92dad
1,193
py
Python
environment/cogment_verse_environment/utils/serialization_helpers.py
air-sara/cogment-verse
0adbab0c21da3d189e411e89621d1d11e7fffe12
[ "Apache-2.0" ]
null
null
null
environment/cogment_verse_environment/utils/serialization_helpers.py
air-sara/cogment-verse
0adbab0c21da3d189e411e89621d1d11e7fffe12
[ "Apache-2.0" ]
null
null
null
environment/cogment_verse_environment/utils/serialization_helpers.py
air-sara/cogment-verse
0adbab0c21da3d189e411e89621d1d11e7fffe12
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 AI Redefined Inc. <dev+cogment@ai-r.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
31.394737
92
0.746857
187
1,193
4.668449
0.545455
0.068729
0.029782
0.036655
0
0
0
0
0
0
0
0.015873
0.155071
1,193
37
93
32.243243
0.850198
0.502934
0
0
0
0
0.00692
0
0
0
0
0
0.076923
1
0.307692
false
0
0.230769
0.230769
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
22810781b4be08067014350be832d4706e14f0bd
9,959
py
Python
nova/tests/functional/api_sample_tests/test_cells.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/functional/api_sample_tests/test_cells.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/functional/api_sample_tests/test_cells.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2012 Nebula, Inc.' nl|'\n' comment|'# Copyright 2013 IBM Corp.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' commen...
12.984355
88
0.606185
1,502
9,959
3.903462
0.133156
0.118711
0.081869
0.06686
0.651032
0.584854
0.499574
0.403718
0.347092
0.28876
0
0.01189
0.10483
9,959
766
89
13.001305
0.645766
0
0
0.861619
0
0
0.379255
0.055829
0
0
0
0
0
0
null
null
0
0.010444
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
22a0144eab6cc372bbe6baa3e1ee14cd188fb313
2,233
py
Python
quantity/trader/api.py
wyjcpu/quantity
a53126a430f12b5bac81a52b2fe749cc497faf36
[ "MIT" ]
null
null
null
quantity/trader/api.py
wyjcpu/quantity
a53126a430f12b5bac81a52b2fe749cc497faf36
[ "MIT" ]
null
null
null
quantity/trader/api.py
wyjcpu/quantity
a53126a430f12b5bac81a52b2fe749cc497faf36
[ "MIT" ]
1
2021-05-11T09:33:59.000Z
2021-05-11T09:33:59.000Z
# coding=utf-8 import logging from .gftrader import GFTrader from .httrader import HTTrader from .joinquant_follower import JoinQuantFollower from .ricequant_follower import RiceQuantFollower from .log import log from .xq_follower import XueQiuFollower from .xqtrader import XueQiuTrader from .yhtrader import YHTrad...
28.265823
102
0.621137
260
2,233
5.288462
0.369231
0.045818
0.056727
0.065455
0.154182
0.055273
0
0
0
0
0
0.002316
0.226601
2,233
78
103
28.628205
0.793862
0.39588
0
0
0
0
0.057692
0
0
0
0
0
0
1
0.060606
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
22af578037baf99b23908b56812166ad8e98f173
483
py
Python
portfolio/views.py
AthmanZiri/django-site
04c6e0967b628b8ebef1ca1caae8cee83c1a2f07
[ "MIT" ]
null
null
null
portfolio/views.py
AthmanZiri/django-site
04c6e0967b628b8ebef1ca1caae8cee83c1a2f07
[ "MIT" ]
null
null
null
portfolio/views.py
AthmanZiri/django-site
04c6e0967b628b8ebef1ca1caae8cee83c1a2f07
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.shortcuts import render from django.utils import timezone from .models import Project def project_list(request): projects = Project.objects.all() return render(request, 'portfolio/project_list.html', {'projects': projects}) def project_detail(request): try: de...
30.1875
78
0.79089
62
483
6
0.5
0.053763
0.102151
0.150538
0
0
0
0
0
0
0
0.006961
0.10766
483
16
79
30.1875
0.856148
0
0
0
0
0
0.14876
0.119835
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
22afb6cae21fac551c61195ce7227d6545f3f74a
751
py
Python
gemynd/api/__init__.py
gemynd/gemynd
e2bca0dc48d19cb2aecf0921e2e5ae5be7a2e2f1
[ "Apache-2.0" ]
null
null
null
gemynd/api/__init__.py
gemynd/gemynd
e2bca0dc48d19cb2aecf0921e2e5ae5be7a2e2f1
[ "Apache-2.0" ]
null
null
null
gemynd/api/__init__.py
gemynd/gemynd
e2bca0dc48d19cb2aecf0921e2e5ae5be7a2e2f1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # A library that provides a Gemynd AI bot interface # Copyright (C) 2016 # Gemynd AI Team <devs@gemynd.ai> # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at http://www.a...
41.722222
81
0.764314
119
751
4.756303
0.680672
0.106007
0.042403
0.056537
0
0
0
0
0
0
0
0.015823
0.158455
751
17
82
44.176471
0.879747
0.850866
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
22b1e39819ca2b61399739e865325c973feac3a4
797
py
Python
src/main/util/strings_util.py
JetBrains-Research/codetracker-data
6fb3900bd3cfe44d900d7fa8e89c7c35818424ed
[ "MIT" ]
4
2020-05-12T10:29:15.000Z
2020-08-21T04:26:12.000Z
src/main/util/strings_util.py
JetBrains-Research/task-tracker-post-processing
6fb3900bd3cfe44d900d7fa8e89c7c35818424ed
[ "MIT" ]
15
2020-02-05T12:18:00.000Z
2020-05-08T09:22:50.000Z
src/main/util/strings_util.py
JetBrains-Research/task-tracker-post-processing
6fb3900bd3cfe44d900d7fa8e89c7c35818424ed
[ "MIT" ]
1
2020-06-21T06:50:11.000Z
2020-06-21T06:50:11.000Z
# Copyright (c) 2020 Anastasiia Birillo, Elena Lyulina import re from typing import List def add_symbol_to_begin(string: str, symbol: str) -> str: if not string.startswith(symbol): string = symbol + string return string def contains_any_of_substrings(string: str, substrings: List[str]) -> bool: ...
29.518519
94
0.663739
116
797
4.387931
0.465517
0.019646
0.017682
0.023576
0
0
0
0
0
0
0
0.007634
0.178168
797
26
95
30.653846
0.769466
0.065245
0
0
0
0.0625
0.084791
0.079408
0
0
0
0
0
1
0.25
false
0
0.125
0.0625
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
22b613d117a69506c4577119481b571781def79e
747
py
Python
cli/scaleout/auth.py
aitmlouk/fedn
d6b663554492464e4eaed391a7048ec09cb11f25
[ "Apache-2.0" ]
null
null
null
cli/scaleout/auth.py
aitmlouk/fedn
d6b663554492464e4eaed391a7048ec09cb11f25
[ "Apache-2.0" ]
null
null
null
cli/scaleout/auth.py
aitmlouk/fedn
d6b663554492464e4eaed391a7048ec09cb11f25
[ "Apache-2.0" ]
null
null
null
import requests from scaleout.errors import AuthenticationError import json def login(url,username,password): """ Login to Studio services. """ def get_bearer_token(url, username, password): """ Exchange username,password for an auth token. TODO: extend to get creds from keyring. """ data = { ...
26.678571
63
0.650602
86
747
5.604651
0.534884
0.13278
0.078838
0
0
0
0
0
0
0
0
0.005217
0.230254
747
27
64
27.666667
0.833043
0.149933
0
0
0
0
0.193126
0
0
0
0
0.037037
0
1
0.111111
false
0.166667
0.166667
0
0.333333
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
22c4abe6dfa164916e4496ade8f018aeda813111
889
py
Python
gtdb2td/Utils.py
dportik/gtdb_to_taxdump
9f0988882a5017fa18147fd45fe5dddba7a59c6a
[ "MIT" ]
null
null
null
gtdb2td/Utils.py
dportik/gtdb_to_taxdump
9f0988882a5017fa18147fd45fe5dddba7a59c6a
[ "MIT" ]
null
null
null
gtdb2td/Utils.py
dportik/gtdb_to_taxdump
9f0988882a5017fa18147fd45fe5dddba7a59c6a
[ "MIT" ]
null
null
null
import os import sys import gzip import bz2 import argparse import logging import csv import urllib.request import codecs from collections import OrderedDict def Decode(x): """ Decoding input, if needed """ try: x = x.decode('utf-8') except AttributeError: pass return x def Op...
20.674419
48
0.646794
110
889
5.2
0.509091
0.06993
0.097902
0
0
0
0
0
0
0
0
0.005935
0.241845
889
42
49
21.166667
0.84273
0.124859
0
0
0
0
0.045082
0
0
0
0
0
0
1
0.103448
false
0.034483
0.344828
0
0.62069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
22d279edff31ac868b1a2504c30b87127cb52517
1,576
py
Python
examples/plugin/custom_matcher.py
ymoch/preacher
ae68170d14c72791884e91b20054bd13a79b52d0
[ "MIT" ]
3
2019-08-01T03:14:49.000Z
2020-01-31T08:55:22.000Z
examples/plugin/custom_matcher.py
ymoch/preacher
ae68170d14c72791884e91b20054bd13a79b52d0
[ "MIT" ]
353
2019-04-14T14:53:28.000Z
2022-03-11T03:26:08.000Z
examples/plugin/custom_matcher.py
ymoch/preacher
ae68170d14c72791884e91b20054bd13a79b52d0
[ "MIT" ]
1
2020-08-01T06:23:08.000Z
2020-08-01T06:23:08.000Z
""" A custom matcher plugin example. """ from hamcrest.core.base_matcher import BaseMatcher from hamcrest.core.description import Description from preacher.compilation.verification import MatcherFactoryCompiler from preacher.plugin import hookimpl class IsEven(BaseMatcher[int]): """ A custom matcher example...
27.649123
96
0.68401
189
1,576
5.555556
0.349206
0.026667
0.026667
0.034286
0.253333
0.253333
0.253333
0.253333
0.253333
0.253333
0
0.002406
0.208756
1,576
56
97
28.142857
0.839615
0.234137
0
0.333333
0
0
0.063979
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
22f229783eaf5f71b56f3b25e8967436bdf68424
364
py
Python
tests/unit/test_mask_image_read.py
sqoshi/mask-imposer
d7eeae3403009c8991c9c5d5aa9fc80042a99a82
[ "MIT" ]
null
null
null
tests/unit/test_mask_image_read.py
sqoshi/mask-imposer
d7eeae3403009c8991c9c5d5aa9fc80042a99a82
[ "MIT" ]
9
2021-08-09T15:44:46.000Z
2021-12-19T13:06:21.000Z
tests/unit/test_mask_image_read.py
sqoshi/mask-imposer
d7eeae3403009c8991c9c5d5aa9fc80042a99a82
[ "MIT" ]
null
null
null
# from logging import getLogger # from unittest import TestCase # # from mask_imposer.imposer.mask_imposer import Imposer # # # class MaskImageReadTestCase(TestCase): # @classmethod # def setUp(cls) -> None: # cls.imposer = Imposer({}, getLogger("test")) # # # def test_should_read_mask_image(self): ...
26
55
0.68956
41
364
5.902439
0.487805
0.090909
0.107438
0
0
0
0
0
0
0
0
0
0.18956
364
13
56
28
0.820339
0.92033
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
22f50c09db9261f4a22e896afac164a323afcea3
605
py
Python
api/views/search.py
tavoxr/drf-ecommerce-api
61c6b84dc4e811987ca72c73dfdce08f99d7481d
[ "MIT" ]
null
null
null
api/views/search.py
tavoxr/drf-ecommerce-api
61c6b84dc4e811987ca72c73dfdce08f99d7481d
[ "MIT" ]
null
null
null
api/views/search.py
tavoxr/drf-ecommerce-api
61c6b84dc4e811987ca72c73dfdce08f99d7481d
[ "MIT" ]
null
null
null
from django.db.models import Q from rest_framework.decorators import api_view from rest_framework.response import Response from ..models import Product from ..serializers import ProductSerializer @api_view(['POST']) def search(request): query = request.data.get('query','') print('request.data', request.data)...
31.842105
105
0.707438
70
605
6
0.5
0.078571
0.080952
0
0
0
0
0
0
0
0
0
0.183471
605
19
106
31.842105
0.850202
0
0
0
0
0
0.047855
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.533333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fe01bd4cfd4f1c6329c31d57044fbdf30ec9de55
3,141
py
Python
other/demo_logic.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
null
null
null
other/demo_logic.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
2
2017-09-05T11:12:05.000Z
2017-09-07T19:23:15.000Z
other/demo_logic.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
null
null
null
# #!/usr/bin/python # -*- coding: utf-8 -*- """ Запуск: python ./demo_logic.py """ # pylint: disable=line-too-long,missing-docstring,bad-whitespace import sys import os import random import math import os from pyss.logic_object import LogicObject DIRNAME_MODULE = os.path.dirname(os.path.dirname(os.path.dirnam...
25.536585
123
0.658071
372
3,141
5.489247
0.330645
0.152791
0.025465
0.029383
0.126347
0.100881
0.057786
0.028404
0.028404
0.028404
0
0.008074
0.17192
3,141
122
124
25.745902
0.777009
0.171601
0
0.08
0
0
0.039704
0.028805
0
0
0
0
0
1
0.026667
false
0
0.586667
0
0.626667
0.026667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fe1644b47edbf6d9c3c8745a3d705eb77955dc7a
438
py
Python
blueprints/virtual/bin-base/bin-base.py
juergenhoetzel/craft
9d3fe6dc07f2307e8f8212c8981b980a9d2d28fd
[ "BSD-2-Clause" ]
55
2016-11-20T17:08:19.000Z
2022-03-11T22:19:43.000Z
blueprints/virtual/bin-base/bin-base.py
juergenhoetzel/craft
9d3fe6dc07f2307e8f8212c8981b980a9d2d28fd
[ "BSD-2-Clause" ]
17
2017-09-20T07:52:17.000Z
2021-12-03T10:03:00.000Z
blueprints/virtual/bin-base/bin-base.py
juergenhoetzel/craft
9d3fe6dc07f2307e8f8212c8981b980a9d2d28fd
[ "BSD-2-Clause" ]
29
2016-12-10T15:00:11.000Z
2021-12-02T12:54:05.000Z
import info class subinfo(info.infoclass): def setTargets(self): self.targets['0.2'] = "" self.defaultTarget = '0.2' self.description = "deprecated: use virtual/base instead" def setDependencies(self): self.runtimeDependencies["virtual/base"] = None from Package.VirtualPackag...
23.052632
65
0.684932
45
438
6.488889
0.555556
0.054795
0.041096
0
0
0
0
0
0
0
0
0.011494
0.205479
438
18
66
24.333333
0.827586
0
0
0
0
0
0.123288
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a3a6503d5f66597ef4dd411ed10aa366a283c98d
34,488
py
Python
pysnmp-with-texts/DLINK-3100-DHCP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/DLINK-3100-DHCP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/DLINK-3100-DHCP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module DLINK-3100-DHCP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DLINK-3100-DHCP-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:48:12 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
143.7
4,034
0.801293
3,869
34,488
7.142156
0.120186
0.063837
0.111714
0.010422
0.455759
0.32045
0.267542
0.239786
0.208953
0.205768
0
0.065677
0.087886
34,488
239
4,035
144.301255
0.81276
0.009627
0
0
0
0.099567
0.254049
0.008141
0
0
0.000293
0
0
1
0
false
0
0.038961
0
0.038961
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3a6941eba01b998c35fd677865c3888ba20cf12
1,943
py
Python
manage.py
PrynsTag/oneBarangay
6a8d56003d85b8385e91f5c5d81208619023c1ee
[ "Apache-2.0" ]
null
null
null
manage.py
PrynsTag/oneBarangay
6a8d56003d85b8385e91f5c5d81208619023c1ee
[ "Apache-2.0" ]
96
2021-08-28T12:37:02.000Z
2022-03-23T04:25:12.000Z
manage.py
PrynsTag/oneBarangay
6a8d56003d85b8385e91f5c5d81208619023c1ee
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys from google.auth.exceptions import DefaultCredentialsError from one_barangay.local_settings import logger def main(): """Run administrative tasks.""" # os.environ.setdefault("DJANGO_SETTINGS_MODULE", "on...
34.696429
98
0.629954
221
1,943
5.39819
0.502262
0.045264
0.07544
0.015088
0.147527
0.04694
0.04694
0.04694
0
0
0
0.022425
0.265569
1,943
55
99
35.327273
0.813595
0.287185
0
0.111111
0
0
0.267204
0.015373
0
0
0
0
0
1
0.027778
true
0
0.305556
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
a3a79deae39827f3055900cacc776a035ca14fc6
1,368
py
Python
setup.py
keans/powerstrip
fb5ba4d19b60d4404d68fd9b4af739afc64a161c
[ "MIT" ]
null
null
null
setup.py
keans/powerstrip
fb5ba4d19b60d4404d68fd9b4af739afc64a161c
[ "MIT" ]
null
null
null
setup.py
keans/powerstrip
fb5ba4d19b60d4404d68fd9b4af739afc64a161c
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages from pathlib import Path # get current directory current_directory = Path(__file__).resolve().parent def get_long_description(): """ get long description from README.rst file """ with current_directory.joinpath("README.rst").open() as f: return f.r...
27.36
62
0.613304
144
1,368
5.708333
0.583333
0.138686
0.182482
0.189781
0.080292
0
0
0
0
0
0
0.017341
0.241228
1,368
49
63
27.918367
0.774566
0.046784
0
0.051282
0
0
0.42236
0
0
0
0
0
0
1
0.025641
false
0
0.051282
0
0.102564
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3ac362f2924b954541be4eb3091dd3762f9ffa3
174
py
Python
src/dfm/about.py
centre-for-humanities-computing/danish-foundation-models
1cc0950fab55650fd92f56b4bad0b13a5be73061
[ "MIT" ]
8
2021-12-10T08:37:55.000Z
2022-02-08T14:42:01.000Z
src/dfm/about.py
centre-for-humanities-computing/danish-foundation-models
1cc0950fab55650fd92f56b4bad0b13a5be73061
[ "MIT" ]
47
2021-12-12T14:41:31.000Z
2022-03-31T08:57:56.000Z
src/dfm/about.py
centre-for-humanities-computing/danish-foundation-models
1cc0950fab55650fd92f56b4bad0b13a5be73061
[ "MIT" ]
null
null
null
__version__ = "0.0.3" # only source of version ID __title__ = "dfm" __download_url__ = ( "https://github.com/centre-for-humanities-computing/danish-foundation-models" )
29
81
0.729885
23
174
4.956522
0.913043
0
0
0
0
0
0
0
0
0
0
0.019737
0.126437
174
5
82
34.8
0.730263
0.143678
0
0
0
0
0.564626
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3b5cadb4532150557509114a58740b9592df49d
759
py
Python
pyeccodes/defs/grib1/12_table.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
7
2020-04-14T09:41:17.000Z
2021-08-06T09:38:19.000Z
pyeccodes/defs/grib1/12_table.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
null
null
null
pyeccodes/defs/grib1/12_table.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
3
2020-04-30T12:44:48.000Z
2020-12-15T08:40:26.000Z
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'Explicit co-ordinate values sent'}, {'abbr': 1, 'code': 1, 'title': 'Linear co-cordinates'}, {'abbr': 2, 'code': 2, 'title': 'Log co-ordinates'}, {'abbr': 3, 'code': 3, 'title': 'Reserved'}, {'abbr': 4, 'code': 4, ...
54.214286
80
0.450593
86
759
3.976744
0.348837
0.304094
0.397661
0
0
0
0
0
0
0
0
0.051661
0.285903
759
13
81
58.384615
0.579336
0
0
0
0
0
0.408432
0
0
0
0
0
0
1
0.076923
false
0
0
0.076923
0.153846
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
0
0
0
2
a3b74bced99dec7b2da3fad3b9fc0e7cf2d7ec0c
934
py
Python
igame_platform/accounts/views.py
jhonyavella90/igame_platform_test
1376535a994f67b503fcfef2cd49c82cbb42ffd5
[ "MIT" ]
null
null
null
igame_platform/accounts/views.py
jhonyavella90/igame_platform_test
1376535a994f67b503fcfef2cd49c82cbb42ffd5
[ "MIT" ]
null
null
null
igame_platform/accounts/views.py
jhonyavella90/igame_platform_test
1376535a994f67b503fcfef2cd49c82cbb42ffd5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.contrib.auth.decorators import login_required from django.contrib.auth import login, authenticate from django.shortcuts import render from django.views.generic.edit import FormView from igame_platform.accounts.forms import RegisterForm @login_required def home(request): retur...
31.133333
69
0.723769
116
934
5.724138
0.517241
0.060241
0.051205
0.063253
0
0
0
0
0
0
0
0.002621
0.183084
934
29
70
32.206897
0.867628
0.123126
0
0
0
0
0.077301
0.026994
0
0
0
0
0
1
0.105263
false
0.105263
0.263158
0.052632
0.684211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
a3d7a975a851bdcd7599ac9caef0e2d814599871
1,296
py
Python
data/test/python/a3d7a975a851bdcd7599ac9caef0e2d814599871test_decorators.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/python/a3d7a975a851bdcd7599ac9caef0e2d814599871test_decorators.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
13
2015-02-14T12:08:28.000Z
2021-03-29T20:44:50.000Z
data/test/python/a3d7a975a851bdcd7599ac9caef0e2d814599871test_decorators.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
# -*- coding: utf-8 -*- from watson.framework import views from watson.framework.views.decorators import view class MyController(object): @view(format='xml') def xml_action(self, *args, **kwargs): return {} @view(format='xml/text') def xml_full_mime_action(self): return {} @view(...
29.454545
69
0.679012
141
1,296
6.028369
0.269504
0.190588
0.112941
0.056471
0.44
0.378824
0.188235
0.188235
0.188235
0.188235
0
0.000982
0.214506
1,296
43
70
30.139535
0.833988
0.016204
0
0.25
0
0
0.038492
0
0
0
0
0
0.21875
1
0.21875
false
0
0.0625
0.125
0.46875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
a3ddbef96269a6702e6dbfd58c1118c43d0e570f
3,049
py
Python
bokeh/util/options.py
teresafds/bokeh
95b2a74ff463cfabdf9e3390951fa380166e6691
[ "BSD-3-Clause" ]
null
null
null
bokeh/util/options.py
teresafds/bokeh
95b2a74ff463cfabdf9e3390951fa380166e6691
[ "BSD-3-Clause" ]
null
null
null
bokeh/util/options.py
teresafds/bokeh
95b2a74ff463cfabdf9e3390951fa380166e6691
[ "BSD-3-Clause" ]
null
null
null
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2022, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
34.647727
78
0.401443
232
3,049
5.185345
0.556034
0.0665
0.021613
0
0
0
0
0
0
0
0
0.006865
0.140046
3,049
87
79
35.045977
0.451945
0.801902
0
0
0
0
0.014085
0
0
0
0
0
0
1
0.066667
false
0
0.266667
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3ff0f67daa7cbdca2ffe709e522082f6cc2f624
202
py
Python
horseradish/constants.py
havron/horseradish
0d2b2a87e3a4c4436a9f31e74313a67afc855461
[ "Apache-2.0" ]
null
null
null
horseradish/constants.py
havron/horseradish
0d2b2a87e3a4c4436a9f31e74313a67afc855461
[ "Apache-2.0" ]
null
null
null
horseradish/constants.py
havron/horseradish
0d2b2a87e3a4c4436a9f31e74313a67afc855461
[ "Apache-2.0" ]
null
null
null
""" .. module: horseradish.constants :copyright: (c) 2018 by Netflix Inc. :license: Apache, see LICENSE for more details. """ SUCCESS_METRIC_STATUS = "success" FAILURE_METRIC_STATUS = "failure"
25.25
51
0.717822
24
202
5.875
0.791667
0.170213
0
0
0
0
0
0
0
0
0
0.023529
0.158416
202
7
52
28.857143
0.805882
0.618812
0
0
0
0
0.202899
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
430a16984c314ff08cf84c870e581777455fca39
209
py
Python
desafio-013/aumento-de-salario.py
roberto-cardoso/desafios-python
524a5c723c3a85a441cd6bc226dff6009731d3f6
[ "MIT" ]
null
null
null
desafio-013/aumento-de-salario.py
roberto-cardoso/desafios-python
524a5c723c3a85a441cd6bc226dff6009731d3f6
[ "MIT" ]
null
null
null
desafio-013/aumento-de-salario.py
roberto-cardoso/desafios-python
524a5c723c3a85a441cd6bc226dff6009731d3f6
[ "MIT" ]
null
null
null
print('"Aumento"') print(':'*50) salario = float(input('Quanto recebe o funcionário? ')) novo_salario = salario+(salario*(15/100)) print('O novo salário dele é de R${}.'.format(novo_salario)) print(':'*50)
20.9
60
0.674641
30
209
4.633333
0.633333
0.100719
0
0
0
0
0
0
0
0
0
0.048387
0.110048
209
9
61
23.222222
0.698925
0
0
0.333333
0
0
0.334928
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
4315ef164a82a9b3082f7fc48c80f724fa5d757d
822
py
Python
packages/api-server/api_server/routes/building_map.py
mayman99/rmf-web
5670bd943567c6a866ec6345c972e6fb84d73476
[ "Apache-2.0" ]
23
2021-04-13T23:01:12.000Z
2022-03-21T02:15:24.000Z
packages/api-server/api_server/routes/building_map.py
mayman99/rmf-web
5670bd943567c6a866ec6345c972e6fb84d73476
[ "Apache-2.0" ]
326
2021-03-10T17:32:17.000Z
2022-03-30T04:42:14.000Z
packages/api-server/api_server/routes/building_map.py
mayman99/rmf-web
5670bd943567c6a866ec6345c972e6fb84d73476
[ "Apache-2.0" ]
13
2021-04-10T10:33:36.000Z
2022-02-22T15:39:58.000Z
from fastapi import Depends, HTTPException from rx import operators as rxops from api_server.fast_io import FastIORouter, SubscriptionRequest from api_server.models import BuildingMap from api_server.repositories import RmfRepository, rmf_repo_dep from api_server.rmf_io import rmf_events router = FastIORouter(tags=["...
31.615385
78
0.785888
113
822
5.469027
0.460177
0.106796
0.084142
0
0
0
0
0
0
0
0
0.004219
0.135037
822
25
79
32.88
0.864979
0
0
0
0
0
0.010204
0
0
0
0
0
0
1
0.0625
false
0
0.375
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
431b988bf183a914d452a2203ea253249e65b2a0
1,184
py
Python
wagtail/contrib/redirects/wagtail_hooks.py
Frojd/wagtail
df164a7e6938f7faf9d75efae31ee39e9ccce9c3
[ "BSD-3-Clause" ]
2
2019-05-23T01:31:18.000Z
2020-06-27T21:19:10.000Z
wagtail/contrib/redirects/wagtail_hooks.py
Frojd/wagtail
df164a7e6938f7faf9d75efae31ee39e9ccce9c3
[ "BSD-3-Clause" ]
1
2020-07-01T09:25:23.000Z
2020-07-01T09:25:23.000Z
wagtail/contrib/redirects/wagtail_hooks.py
Frojd/wagtail
df164a7e6938f7faf9d75efae31ee39e9ccce9c3
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import include, url from django.contrib.auth.models import Permission from django.urls import reverse from django.utils.translation import gettext_lazy as _ from wagtail.admin.menu import MenuItem from wagtail.contrib.redirects import urls from wagtail.contrib.redirects.permissions import permiss...
32
105
0.740709
135
1,184
6.266667
0.444444
0.047281
0.074468
0.06383
0
0
0
0
0
0
0
0.003012
0.158784
1,184
36
106
32.888889
0.846386
0
0
0
0
0
0.173142
0.041385
0
0
0
0
0
1
0.148148
false
0
0.296296
0.148148
0.62963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
4342a9d98e87bf951566e7f038ff70be4ba92a2a
634
py
Python
Data Structure/Array Or Vector/Convert Array into Zig-Zag Fashion/solutionByVaishnavi.py
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
261
2019-09-30T19:47:29.000Z
2022-03-29T18:20:07.000Z
Data Structure/Array Or Vector/Convert Array into Zig-Zag Fashion/solutionByVaishnavi.py
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
647
2019-10-01T16:51:29.000Z
2021-12-16T20:39:44.000Z
Data Structure/Array Or Vector/Convert Array into Zig-Zag Fashion/solutionByVaishnavi.py
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
383
2019-09-30T19:32:07.000Z
2022-03-24T16:18:26.000Z
def zigZag_Fashion(array, length): flag = True for i in range(length - 1): if flag is True: if array[i] > array[i+1]: array[i],array[i+1] = array[i+1],array[i] else: if array[i] < array[i+1]: array[i]...
22.642857
57
0.492114
83
634
3.73494
0.301205
0.232258
0.135484
0.232258
0.264516
0.264516
0.264516
0.264516
0.264516
0.264516
0
0.01995
0.367508
634
27
58
23.481481
0.753117
0
0
0.111111
0
0
0.061514
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.055556
0.111111
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4a286d18240424f533a224258982f95e5a71b826
831
py
Python
reverse_integer.py
tusharsadhwani/leetcode
a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8
[ "MIT" ]
6
2021-05-21T01:10:42.000Z
2021-12-16T16:12:30.000Z
reverse_integer.py
tusharsadhwani/leetcode
a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8
[ "MIT" ]
null
null
null
reverse_integer.py
tusharsadhwani/leetcode
a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8
[ "MIT" ]
null
null
null
class Solution: def reverse(self, x: int) -> int: x_str = str(abs(x)) reversed_str = x_str[::-1] int_max = (1 << 31) - 1 reversed_num = 0 for digit_str in reversed_str: digit = int(digit_str) if reversed_num > int_max // 10: return 0...
17.680851
45
0.380265
90
831
3.333333
0.333333
0.256667
0.086667
0.106667
0.14
0.14
0
0
0
0
0
0.09828
0.510229
831
46
46
18.065217
0.638821
0
0
0.184211
0
0
0
0
0
0
0
0
0
1
0.026316
false
0
0
0
0.157895
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4a29d74d1bc5d76c9c143f6cad15c941bcfaedf4
679
py
Python
django_client_framework/api/__init__.py
kaleido-public/django-client-framework
cd755261e001a0d446a85407550648563511f61b
[ "MIT" ]
null
null
null
django_client_framework/api/__init__.py
kaleido-public/django-client-framework
cd755261e001a0d446a85407550648563511f61b
[ "MIT" ]
3
2021-06-28T20:36:39.000Z
2021-11-11T02:12:35.000Z
django_client_framework/api/__init__.py
kaleido-public/django-client-framework
cd755261e001a0d446a85407550648563511f61b
[ "MIT" ]
null
null
null
from typing import Type, TypeVar from django_client_framework.models.abstract.serializable import ( ISerializable, Serializable, ) from .base_model_api import BaseModelAPI from .model_collection_api import ModelCollectionAPI from .model_object_api import ModelObjectAPI from .related_model_api import RelatedMo...
27.16
71
0.771723
83
679
6.120482
0.506024
0.070866
0.055118
0
0
0
0
0
0
0
0
0
0.154639
679
24
72
28.291667
0.885017
0
0
0
0
0
0.086892
0
0
0
0
0
0
1
0.117647
false
0
0.352941
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4a337bcd9e7dc7858500de3e7951d1a7a53aed40
4,765
py
Python
cvxpy/constraints/leq_constraint.py
quantopian/cvxpy
7deee4d172470aa8f629dab7fead50467afa75ff
[ "Apache-2.0" ]
5
2017-08-31T01:37:00.000Z
2022-03-24T04:23:09.000Z
cvxpy/constraints/leq_constraint.py
quantopian/cvxpy
7deee4d172470aa8f629dab7fead50467afa75ff
[ "Apache-2.0" ]
null
null
null
cvxpy/constraints/leq_constraint.py
quantopian/cvxpy
7deee4d172470aa8f629dab7fead50467afa75ff
[ "Apache-2.0" ]
6
2017-02-09T19:37:07.000Z
2021-01-07T00:17:54.000Z
""" Copyright 2017 Steven Diamond Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
28.029412
79
0.610073
571
4,765
4.964974
0.334501
0.038801
0.017637
0.010582
0.204233
0.189418
0.1806
0.093122
0.093122
0.093122
0
0.005399
0.300315
4,765
169
80
28.195266
0.844931
0.420777
0
0.117647
0
0
0.041513
0
0
0
0
0
0
1
0.279412
false
0
0.073529
0.058824
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4a353f79d760f086e4364fc26d546d9388db244f
275
py
Python
PV_ICE/__init__.py
NREL/PV-DEMICE
6e2938950ff10c37f176f46aeb76c78de609f535
[ "BSD-3-Clause" ]
12
2021-01-28T13:44:16.000Z
2022-03-20T07:28:48.000Z
PV_ICE/__init__.py
NREL/PV_DEMICE
6e2938950ff10c37f176f46aeb76c78de609f535
[ "BSD-3-Clause" ]
6
2020-12-22T21:12:54.000Z
2021-09-24T19:50:15.000Z
PV_ICE/__init__.py
NREL/PV_DEMICE
6e2938950ff10c37f176f46aeb76c78de609f535
[ "BSD-3-Clause" ]
1
2020-04-09T17:36:28.000Z
2020-04-09T17:36:28.000Z
from PV_ICE.main import Simulation, Scenario, Material, weibull_params, weibull_cdf, calculateLCA, weibull_cdf_vis from PV_ICE.main import sens_StageImprovement, sens_StageEfficiency from ._version import get_versions __version__ = get_versions()['version'] del get_versions
45.833333
114
0.850909
37
275
5.891892
0.540541
0.151376
0.082569
0.119266
0.174312
0
0
0
0
0
0
0
0.087273
275
5
115
55
0.868526
0
0
0
0
0
0.025455
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
4a40ad4cbbf8c50162703277b986c4699a2ab466
5,367
py
Python
spytest/spytest/env.py
macikgozwa/sonic-mgmt
86338be8b2e55fd03d4913037d0e641e443762b0
[ "Apache-2.0" ]
null
null
null
spytest/spytest/env.py
macikgozwa/sonic-mgmt
86338be8b2e55fd03d4913037d0e641e443762b0
[ "Apache-2.0" ]
1
2021-02-24T13:48:41.000Z
2021-02-24T13:48:41.000Z
spytest/spytest/env.py
macikgozwa/sonic-mgmt
86338be8b2e55fd03d4913037d0e641e443762b0
[ "Apache-2.0" ]
null
null
null
import os defaults = { "SPYTEST_LOGS_TIME_FMT_ELAPSED": "0", "SPYTEST_LOGS_MODULE_ONLY_SUPPORT" : "0", "SPYTEST_NO_CONSOLE_LOG": "0", "SPYTEST_PROMPTS_FILENAME": None, "SPYTEST_TEXTFSM_INDEX_FILENAME": "index", "SPYTEST_UI_POSITIVE_CASES_ONLY": "0", "SPYTEST_REPEAT_MODULE_SUPPORT": "0", ...
37.795775
108
0.701882
719
5,367
4.742698
0.367177
0.084457
0.02346
0.007038
0.011144
0.008211
0.008211
0
0
0
0
0.035247
0.159493
5,367
141
109
38.06383
0.720683
0
0
0
0
0.014815
0.625792
0.43552
0
0
0
0
0
1
0.022222
false
0.007407
0.007407
0.007407
0.051852
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4a4141fb002291e77dbef0111a645a7dbe8c8908
972
py
Python
deepr/layers/multi.py
criteo-dexter/deepr
4de9cb8afc09cb3d2f7c42da248a966bfea5fc83
[ "Apache-2.0" ]
50
2020-05-19T17:29:44.000Z
2022-01-15T20:50:50.000Z
deepr/layers/multi.py
criteo-dexter/deepr
4de9cb8afc09cb3d2f7c42da248a966bfea5fc83
[ "Apache-2.0" ]
75
2020-05-20T16:53:37.000Z
2022-01-12T15:53:46.000Z
deepr/layers/multi.py
criteo-dexter/deepr
4de9cb8afc09cb3d2f7c42da248a966bfea5fc83
[ "Apache-2.0" ]
17
2020-05-25T13:23:03.000Z
2022-02-21T11:22:08.000Z
# pylint: disable=no-value-for-parameter,invalid-name,unexpected-keyword-arg """Negative Multinomial Log Likelihood.""" import tensorflow as tf from deepr.layers import base class MultiLogLikelihood(base.Layer): """Negative Multinomial Log Likelihood.""" def __init__(self, **kwargs): super().__init...
29.454545
98
0.618313
113
972
5.168142
0.575221
0.09589
0.164384
0.164384
0.075342
0
0
0
0
0
0
0.012431
0.255144
972
32
99
30.375
0.794199
0.44856
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
1
0
0
0
0
0
0
0
2
4a4575e3340dd85040ef5921ec2db9b6e061a711
377
py
Python
tests/unit/method_test.py
cybergarage/round-py
fb9404835ad1eb3f4b63eac92a8de2a3e60aa38a
[ "BSD-3-Clause" ]
null
null
null
tests/unit/method_test.py
cybergarage/round-py
fb9404835ad1eb3f4b63eac92a8de2a3e60aa38a
[ "BSD-3-Clause" ]
null
null
null
tests/unit/method_test.py
cybergarage/round-py
fb9404835ad1eb3f4b63eac92a8de2a3e60aa38a
[ "BSD-3-Clause" ]
null
null
null
################################################################# # # Round for Python # # Copyright (C) Satoshi Konno 2016 # # This is licensed under BSD-style license, see file COPYING. # ################################################################## import pytest from round import Method def test_bad_method()...
20.944444
66
0.461538
35
377
4.885714
0.8
0.140351
0
0
0
0
0
0
0
0
0
0.01227
0.135279
377
17
67
22.176471
0.51227
0.289125
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4a4bbab8c66a7fe3189cc11bfb0170c08681d1fa
816
py
Python
mongo2json/cleaner.py
drunckoder/mongo2json
629e1ab81afb8621421e48dcf189663d8cb477b5
[ "MIT" ]
null
null
null
mongo2json/cleaner.py
drunckoder/mongo2json
629e1ab81afb8621421e48dcf189663d8cb477b5
[ "MIT" ]
null
null
null
mongo2json/cleaner.py
drunckoder/mongo2json
629e1ab81afb8621421e48dcf189663d8cb477b5
[ "MIT" ]
null
null
null
import re from functools import reduce from typing import Pattern, List, Iterable patterns: List[Pattern[str]] = [ re.compile(pattern=r'ObjectId\((.*)\)'), re.compile(pattern=r'ISODate\((.*)\)'), re.compile(pattern=r'NumberLong\((.*)\)'), re.compile(pattern=r'NumberInt\((.*)\)'), re.compile(pattern...
25.5
78
0.64951
101
816
5.188119
0.306931
0.085878
0.152672
0.162214
0
0
0
0
0
0
0
0.001468
0.165441
816
31
79
26.322581
0.767988
0
0
0
0
0
0.11152
0.028186
0
0
0
0
0
1
0.181818
false
0
0.136364
0.181818
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
4a61e6ea2a753f984b7b232b73f4635f477e2dc6
3,918
py
Python
examples/place_on_bristlecone.py
Saibaba-Alapati/Cirq
782efcd04c3bbf73a0d630306a3d1cfd9966521d
[ "Apache-2.0" ]
3,326
2018-07-18T23:17:21.000Z
2022-03-29T22:28:24.000Z
examples/place_on_bristlecone.py
resduo/Cirq
680f897345eb1c71c9242515edda8f04b8594319
[ "Apache-2.0" ]
3,443
2018-07-18T21:07:28.000Z
2022-03-31T20:23:21.000Z
examples/place_on_bristlecone.py
resduo/Cirq
680f897345eb1c71c9242515edda8f04b8594319
[ "Apache-2.0" ]
865
2018-07-18T23:30:24.000Z
2022-03-30T11:43:23.000Z
# pylint: disable=line-too-long """Create a circuit, optimize it, and map it onto a Bristlecone chip. ===EXAMPLE_OUTPUT=== Length 10 line on Bristlecone: (5, 0)━━(5, 1) ┃ (6, 1)━━(6, 2) ┃ (7, 2)━━(7, 3) ┃ (8, 3)━━(8, 4) ...
44.022472
127
0.217203
574
3,918
3.350174
0.130662
0.056162
0.114405
0.071763
0.665107
0.460738
0.460738
0.460738
0.460738
0.460738
0
0.073139
0.403267
3,918
88
128
44.522727
0.282293
0.809597
0
0
0
0
0.094723
0
0
0
0
0
0
1
0.041667
false
0
0.083333
0
0.125
0.291667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4a64343de17edb390dc61422f64d7be687a506aa
1,441
py
Python
Python/Matplotlib/01-Introduction/finished_code.py
sagarsaliya/code_snippets
692ccae54a47a16c8286d91b08707150c20531fc
[ "MIT" ]
9,588
2017-03-21T16:07:40.000Z
2022-03-31T08:43:39.000Z
Python/Matplotlib/01-Introduction/finished_code.py
JaredDelora/code_snippets
ed3c42ff06bb31da1f9f00689fa76d90babddc97
[ "MIT" ]
135
2017-04-29T15:28:11.000Z
2022-03-27T19:20:49.000Z
Python/Matplotlib/01-Introduction/finished_code.py
JaredDelora/code_snippets
ed3c42ff06bb31da1f9f00689fa76d90babddc97
[ "MIT" ]
20,939
2017-03-27T14:42:56.000Z
2022-03-31T16:41:14.000Z
from matplotlib import pyplot as plt plt.xkcd() ages_x = [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55] py_dev_y = [20046, 17100, 20000, 24744, 30500, 37732, 41247, 45372, 48876, 53850, 57287, 63016, ...
45.03125
154
0.668286
226
1,441
4.19469
0.778761
0.025316
0.03481
0.037975
0
0
0
0
0
0
0
0.56318
0.170715
1,441
31
155
46.483871
0.230126
0
0
0
0
0
0.0625
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4a6f606a01def5270d9ecb6b7505728ad6287b1e
325
py
Python
decorator/my_simple_decorator.py
mlobf/pythonOOP
49c6963cefda85b380635151829697e1dbf9e3c1
[ "BSD-3-Clause" ]
null
null
null
decorator/my_simple_decorator.py
mlobf/pythonOOP
49c6963cefda85b380635151829697e1dbf9e3c1
[ "BSD-3-Clause" ]
null
null
null
decorator/my_simple_decorator.py
mlobf/pythonOOP
49c6963cefda85b380635151829697e1dbf9e3c1
[ "BSD-3-Clause" ]
null
null
null
import time def timer(func): def wrapper(*args, **kwargs): start = time.time() rv = func() total = time.time() - start print("Time:", total) return rv return wrapper # how to implement a simple decorator @timer def test(): for _ in range(100000): pass te...
14.772727
37
0.556923
40
325
4.5
0.625
0.088889
0
0
0
0
0
0
0
0
0
0.027397
0.326154
325
21
38
15.47619
0.794521
0.107692
0
0
0
0
0.017361
0
0
0
0
0
0
1
0.214286
false
0.071429
0.071429
0
0.428571
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
4a965c5980c30c52cfdda06e8e52426a4f9d21f5
4,305
py
Python
infiniteremixer/segmentation/separator.py
nroldanf/infiniteremixer
5ffc2fc85e9cbebf6196d5baa374ba4630f2e3c0
[ "MIT" ]
null
null
null
infiniteremixer/segmentation/separator.py
nroldanf/infiniteremixer
5ffc2fc85e9cbebf6196d5baa374ba4630f2e3c0
[ "MIT" ]
null
null
null
infiniteremixer/segmentation/separator.py
nroldanf/infiniteremixer
5ffc2fc85e9cbebf6196d5baa374ba4630f2e3c0
[ "MIT" ]
null
null
null
# import math # import os # import numpy as np # # from spleeter.separator import Separator # from infiniteremixer.utils.io import load, write_wav # class SeparatorChunks: # """Separate a track into 4 different sources and save the # corresponding signals as audio files in different folders. # The sepa...
38.097345
113
0.617189
553
4,305
4.531646
0.253165
0.043895
0.044693
0.031923
0.181165
0.123703
0.105347
0
0
0
0
0.012129
0.272242
4,305
112
114
38.4375
0.787743
0.947735
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
4abd311698d91b195b7c8e08cf1aec887a6cb94d
684
py
Python
SBDM_Data.py
LiorArmon/Python-Hackathon
075056d8476c6144b2eaa826ff623cf828385c73
[ "Apache-2.0" ]
null
null
null
SBDM_Data.py
LiorArmon/Python-Hackathon
075056d8476c6144b2eaa826ff623cf828385c73
[ "Apache-2.0" ]
null
null
null
SBDM_Data.py
LiorArmon/Python-Hackathon
075056d8476c6144b2eaa826ff623cf828385c73
[ "Apache-2.0" ]
2
2018-06-26T08:40:17.000Z
2018-06-27T06:17:55.000Z
import psychopy.core import psychopy.event import psychopy.visual import pandas as pd import numpy as np import psychopy.gui import psychopy.sound import os import yaml import json from pathlib import Path import random from Stimulus import Stimulus class SBDM_Data: def __init__(self, df): self.df = df ...
23.586207
57
0.662281
94
684
4.712766
0.489362
0.158014
0
0
0
0
0
0
0
0
0
0
0.25731
684
28
58
24.428571
0.872047
0
0
0
0
0
0.011696
0
0
0
0
0
0
1
0.076923
false
0
0.5
0
0.653846
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
434f1248eb3156de43d3fb7802283874cffe5da9
1,274
py
Python
setup.py
transformify-plugins/warpify
82782b488d26ccc53978fbe6ba8bd65839dc6937
[ "BSD-3-Clause" ]
null
null
null
setup.py
transformify-plugins/warpify
82782b488d26ccc53978fbe6ba8bd65839dc6937
[ "BSD-3-Clause" ]
null
null
null
setup.py
transformify-plugins/warpify
82782b488d26ccc53978fbe6ba8bd65839dc6937
[ "BSD-3-Clause" ]
null
null
null
# !/usr/bin/env python from distutils.core import setup setup( name='warpify', packages=[], version='0.0.0', description='Python image warping plugin.', maintainer='Nicholas Sofroniew', maintainer_email='sofroniewn@gmail.com', license='BSD 3-Clause', url='https://github.com/transformify...
36.4
67
0.61303
115
1,274
6.782609
0.6
0.097436
0.128205
0.1
0
0
0
0
0
0
0
0.01032
0.239403
1,274
34
68
37.470588
0.794634
0.015699
0
0
0
0
0.638978
0.070288
0
0
0
0
0
1
0
true
0
0.03125
0
0.03125
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
0
0
0
0
0
0
2
435ac442fb161d63725aab8f9d700c5d48d7ad8d
4,017
py
Python
third_party/tests/BlackParrot/external/basejump_stl/bsg_noc/bsg_mesh_to_ring_stitch.py
bsp13/Surelog
3a04f7f59791390c69f1e3b69609db4ede7668b9
[ "Apache-2.0" ]
1
2021-05-13T06:43:24.000Z
2021-05-13T06:43:24.000Z
third_party/tests/BlackParrot/external/basejump_stl/bsg_noc/bsg_mesh_to_ring_stitch.py
bsp13/Surelog
3a04f7f59791390c69f1e3b69609db4ede7668b9
[ "Apache-2.0" ]
2
2020-05-13T06:06:49.000Z
2020-05-15T10:49:11.000Z
third_party/tests/BlackParrot/external/basejump_stl/bsg_noc/bsg_mesh_to_ring_stitch.py
bsp13/Surelog
3a04f7f59791390c69f1e3b69609db4ede7668b9
[ "Apache-2.0" ]
1
2020-05-02T03:11:56.000Z
2020-05-02T03:11:56.000Z
#!/usr/bin/python # # bsg_mesh_to_ring_stitch # # this module uses space filling curves to organize # a mesh of items into a ring of nearest-neighbor connections # # because of geometry, both X and Y coordinates cannot be odd # # # MBT 5-26-2016 # # topX = 8 topY = 8 print "// AUTOGENERATED FILE; DO NOT MODIFY." pri...
36.853211
255
0.485437
611
4,017
3.011457
0.180033
0.047826
0.022826
0.032609
0.436957
0.302174
0.188587
0.178804
0.139674
0.139674
0
0.043262
0.349764
4,017
108
256
37.194444
0.661179
0.066716
0
0.16
0
0.066667
0.337262
0.068578
0
0
0
0
0.013333
0
null
null
0
0
null
null
0.466667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
4360f2944d85e6781331cf09202edce05990a45e
26,182
py
Python
boa3/neo/vm/opcode/OpcodeInfo.py
DanPopa46/neo3-boa
e4ef340744b5bd25ade26f847eac50789b97f3e9
[ "Apache-2.0" ]
null
null
null
boa3/neo/vm/opcode/OpcodeInfo.py
DanPopa46/neo3-boa
e4ef340744b5bd25ade26f847eac50789b97f3e9
[ "Apache-2.0" ]
null
null
null
boa3/neo/vm/opcode/OpcodeInfo.py
DanPopa46/neo3-boa
e4ef340744b5bd25ade26f847eac50789b97f3e9
[ "Apache-2.0" ]
null
null
null
from typing import Optional from boa3 import constants from boa3.neo.vm.opcode.Opcode import Opcode from boa3.neo.vm.opcode.OpcodeInformation import OpcodeInformation class OpcodeInfo: @classmethod def get_info(cls, opcode: Opcode) -> Optional[OpcodeInformation]: """ Gets a binary operation g...
55.004202
117
0.732755
3,766
26,182
5.078598
0.119756
0.224877
0.045174
0.019868
0.496026
0.459741
0.428736
0.377183
0.36338
0.360033
0
0.018512
0.209801
26,182
475
118
55.12
0.90594
0.579979
0
0
0
0
0
0
0
0
0
0
0.005076
1
0.005076
false
0
0.020305
0
0.984772
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4368404d6e8e21bd92faf4ba8ac4c41f9c54053c
266
py
Python
utils/merge_json.py
mirfan899/rasa-qa-bot
5c3d6f295f4960e53d2106aa945a123bf940377f
[ "MIT" ]
3
2020-05-05T12:35:26.000Z
2020-10-11T04:12:32.000Z
utils/merge_json.py
mirfan899/rasa-qa-bot
5c3d6f295f4960e53d2106aa945a123bf940377f
[ "MIT" ]
null
null
null
utils/merge_json.py
mirfan899/rasa-qa-bot
5c3d6f295f4960e53d2106aa945a123bf940377f
[ "MIT" ]
null
null
null
import json questions = json.load(open("english_questions_answers.json", encoding="utf-8")) feedjson = json.load(open("data/nlu/qa.json", encoding='utf-8')) for obj in questions: feedjson.append(obj) json.dump(feedjson, open("data/nlu/qa.json", "w"), indent=4)
33.25
79
0.721805
42
266
4.52381
0.52381
0.084211
0.126316
0.168421
0.178947
0
0
0
0
0
0
0.012397
0.090226
266
8
80
33.25
0.772727
0
0
0
0
0
0.273408
0.11236
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4368ab34dd37ff7cff072f1d6269f09c97d052a3
268
py
Python
src/core/migrations/0076_merge_20190802_1454.py
metabolism-of-cities/ARCHIVED-metabolism-of-cities-platform-v3
c754d3b1b401906a21640b8eacb6b724a448b31c
[ "MIT" ]
null
null
null
src/core/migrations/0076_merge_20190802_1454.py
metabolism-of-cities/ARCHIVED-metabolism-of-cities-platform-v3
c754d3b1b401906a21640b8eacb6b724a448b31c
[ "MIT" ]
null
null
null
src/core/migrations/0076_merge_20190802_1454.py
metabolism-of-cities/ARCHIVED-metabolism-of-cities-platform-v3
c754d3b1b401906a21640b8eacb6b724a448b31c
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2019-08-02 14:54 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0075_auto_20190802_1420'), ('core', '0072_merge_20190802_1405'), ] operations = [ ]
17.866667
47
0.641791
33
268
5.030303
0.818182
0
0
0
0
0
0
0
0
0
0
0.229268
0.235075
268
14
48
19.142857
0.580488
0.16791
0
0
1
0
0.248869
0.21267
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4378901f6f642ffd2b679bb77e060f74ee15df1b
999
py
Python
gfg/arrays/smallest_missing_number.py
rrwt/daily-coding-challenge
b16fc365fd142ebab429e605cb146c8bb0bc97a2
[ "MIT" ]
1
2019-04-18T03:29:02.000Z
2019-04-18T03:29:02.000Z
gfg/arrays/smallest_missing_number.py
rrwt/daily-coding-challenge
b16fc365fd142ebab429e605cb146c8bb0bc97a2
[ "MIT" ]
null
null
null
gfg/arrays/smallest_missing_number.py
rrwt/daily-coding-challenge
b16fc365fd142ebab429e605cb146c8bb0bc97a2
[ "MIT" ]
null
null
null
""" Given a sorted array of n distinct integers where each integer is in the range from 0 to m-1 and m > n. Find the smallest number that is missing from the array. """ def smallest_missing(arr: list) -> int: """ A modified version of binary search can be applied. If the number mid index == value, then th...
27
81
0.55956
167
999
3.257485
0.407186
0.193015
0.220588
0.193015
0.227941
0.227941
0.161765
0.113971
0.113971
0.113971
0
0.075714
0.299299
999
36
82
27.75
0.701429
0.336336
0
0
0
0
0.012739
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.166667
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
439f4cc3d8266614f9169edaa95d3122e21c623b
837
py
Python
syllabot/src/bot.py
Hunter-Open-Source-Club/syllabase
7c9a23fddb1a8ff13326dc27c69f5a2b9a88694f
[ "MIT" ]
null
null
null
syllabot/src/bot.py
Hunter-Open-Source-Club/syllabase
7c9a23fddb1a8ff13326dc27c69f5a2b9a88694f
[ "MIT" ]
10
2021-01-02T08:22:46.000Z
2021-02-01T19:42:15.000Z
syllabot/src/bot.py
Hunter-Open-Source-Club/syllabase
7c9a23fddb1a8ff13326dc27c69f5a2b9a88694f
[ "MIT" ]
null
null
null
import asyncio import logging import socket import warnings import os import discord from discord.ext import commands class Bot(commands.Bot): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) async def on_connect(self): print('[LOGS] Connecting to discord!') async def on_disc...
25.363636
68
0.670251
115
837
4.756522
0.521739
0.082267
0.054845
0
0
0
0
0
0
0
0
0.004505
0.204301
837
33
69
25.363636
0.816817
0.056153
0
0
0
0
0.237009
0
0
0
0
0.030303
0
1
0.086957
false
0
0.304348
0
0.434783
0.217391
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
43a636d25b54b8569da313767876d319ebfb404f
2,176
py
Python
pybank/main.py
Damola-A/Python-challenge
37c3346ab782c221f38bc77691c927b4512f3f30
[ "ADSL" ]
null
null
null
pybank/main.py
Damola-A/Python-challenge
37c3346ab782c221f38bc77691c927b4512f3f30
[ "ADSL" ]
null
null
null
pybank/main.py
Damola-A/Python-challenge
37c3346ab782c221f38bc77691c927b4512f3f30
[ "ADSL" ]
null
null
null
import os import csv csvpath = os.path.join('Resources', 'budget_data.csv') date_count = 0 total_profit_loss = 0 total_profit_loss_change = 0 previous_profit_loss = 867884 average_profit_loss_change = 0 profit_loss_change_list = [] profit_loss_date_list = [] with open(csvpath) as csvfile: csvreader = csv.reader(...
37.517241
101
0.690717
300
2,176
4.65
0.196667
0.258065
0.183513
0.100358
0.237276
0.100358
0.067384
0.067384
0.067384
0.067384
0
0.009169
0.147978
2,176
57
102
38.175439
0.743258
0
0
0
0
0
0.232398
0.083755
0
0
0
0
0
1
0
false
0
0.046512
0
0.046512
0.162791
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
0
0
0
2
43b4687d1eb15e669a6b4ae313345ce173a5e48a
678
py
Python
PythonHelloWorld/HelloWorldFlask/hello_world.py
davidleonm/python-hello-world
e833ec69440d29cb40f8ef85f4888c0220a1ee1b
[ "MIT" ]
null
null
null
PythonHelloWorld/HelloWorldFlask/hello_world.py
davidleonm/python-hello-world
e833ec69440d29cb40f8ef85f4888c0220a1ee1b
[ "MIT" ]
null
null
null
PythonHelloWorld/HelloWorldFlask/hello_world.py
davidleonm/python-hello-world
e833ec69440d29cb40f8ef85f4888c0220a1ee1b
[ "MIT" ]
null
null
null
from flask import Flask class HelloWorldFlask(object): app = None def __init__(self, name): self.app = Flask(name) self.app.add_url_rule('/', 'index', self.forbidden) self.app.add_url_rule('/helloworld', 'helloworld', self.helloworld) def run(self): self.app.run(host='0.0...
21.870968
75
0.626844
82
678
4.939024
0.414634
0.103704
0.054321
0.064198
0.083951
0
0
0
0
0
0
0.015595
0.243363
678
30
76
22.6
0.773879
0
0
0.095238
0
0
0.116519
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.095238
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
43b7d7e9b290c6f228670d1f461e06b4183ed88a
267
py
Python
work6.py
panwuying/home-work2
ce6a73aeb5be2817f8b122897c6bff39125e608f
[ "Apache-2.0" ]
null
null
null
work6.py
panwuying/home-work2
ce6a73aeb5be2817f8b122897c6bff39125e608f
[ "Apache-2.0" ]
null
null
null
work6.py
panwuying/home-work2
ce6a73aeb5be2817f8b122897c6bff39125e608f
[ "Apache-2.0" ]
null
null
null
a=eval(raw_input("enter employee's name>>")) b=eval(raw_input("enter number in a week>>")) c=eval(raw_input("enter hourly>>")) d=eval(raw_input("d=>>")) print(a) print(b) print(a*b) print(a*b*0.2) print(a*b*0.09) print(a*b*0.2+a*b*0.09) print(a*b-a*b*0.2-a*b*0.09)
19.071429
45
0.644195
65
267
2.584615
0.292308
0.095238
0.107143
0.303571
0.261905
0.208333
0.208333
0.107143
0
0
0
0.060729
0.074906
267
13
46
20.538462
0.619433
0
0
0
0
0
0.245283
0
0
0
0
0
0
1
0
false
0
0
0
0
0.636364
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
43bb7299a50b1fc5e8de8279157b8c414ff392b1
1,830
py
Python
release/stubs.min/System/Security/AccessControl_parts/FileSystemAuditRule.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/System/Security/AccessControl_parts/FileSystemAuditRule.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/System/Security/AccessControl_parts/FileSystemAuditRule.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class FileSystemAuditRule(AuditRule): """ Represents an abstraction of an access control entry (ACE) that defines an audit rule for a file or directory. This class cannot be inherited. FileSystemAuditRule(identity: IdentityReference,fileSystemRights: FileSystemRights,flags: AuditFlags) FileSystemAuditR...
39.782609
173
0.800546
167
1,830
8.640719
0.335329
0.177408
0.113652
0.158004
0.701317
0.68815
0.625087
0.534304
0.494802
0.440748
0
0
0.114754
1,830
45
174
40.666667
0.890741
0.646448
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
43bcd0e910cee932f9a567880fedf261329f3421
2,726
py
Python
datacatalog/settings/__init__.py
SD2E/python-datacatalog
51ab366639505fb6e8a14cd6b446de37080cd20d
[ "CNRI-Python" ]
null
null
null
datacatalog/settings/__init__.py
SD2E/python-datacatalog
51ab366639505fb6e8a14cd6b446de37080cd20d
[ "CNRI-Python" ]
2
2019-07-25T15:39:04.000Z
2019-10-21T15:31:46.000Z
datacatalog/settings/__init__.py
SD2E/python-datacatalog
51ab366639505fb6e8a14cd6b446de37080cd20d
[ "CNRI-Python" ]
1
2019-10-15T14:33:44.000Z
2019-10-15T14:33:44.000Z
import os # from funcy import distinct, remove from .helpers import fix_assets_path, array_from_string, parse_boolean, int_or_none, set_from_string from .organization import * from .callbacks import * from .crypt import * from .debug import * from .identifiers import * from .jsonschema import * from .mongo import * de...
40.686567
100
0.786134
375
2,726
5.397333
0.338667
0.097826
0.130435
0.206522
0.3083
0.122036
0.08004
0
0
0
0
0.006563
0.105649
2,726
66
101
41.30303
0.823626
0.136464
0
0
0
0
0.247652
0.18275
0
0
0
0.015152
0
1
0.023256
false
0
0.232558
0
0.27907
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
1
0
0
0
0
0
0
0
0
0
0
2
43bd9030064a44a8a10c52e3bf2af4e1cd17ceb6
918
py
Python
utime/errors/__init__.py
amiyapatanaik/U-Time
a9ed4892da77d165a71dbfef1d069d782c909757
[ "MIT" ]
1
2022-03-15T12:31:30.000Z
2022-03-15T12:31:30.000Z
utime/errors/__init__.py
amiyapatanaik/U-Time
a9ed4892da77d165a71dbfef1d069d782c909757
[ "MIT" ]
null
null
null
utime/errors/__init__.py
amiyapatanaik/U-Time
a9ed4892da77d165a71dbfef1d069d782c909757
[ "MIT" ]
null
null
null
""" Small collection of custom objects. Sometimes used for their custom names only. """ class CouldNotLoadError(ResourceWarning): def __init__(self, *args, study_id=None): super(CouldNotLoadError, self).__init__(*args) self.study_id = study_id class ChannelNotFoundError(CouldNotLoadError): d...
21.348837
67
0.745098
93
918
7.064516
0.408602
0.09589
0.050228
0.068493
0
0
0
0
0
0
0
0.002571
0.152505
918
42
68
21.857143
0.841902
0.086057
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.388889
0
0
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
0
0
1
0
0
1
0
0
2
43c2b02bb218cd6c4f29e7642ac3a59bebf45484
2,271
py
Python
vscvs/utils/path.py
fcoclavero/vscvs
27fab0bc62fb68da044cf6f2516e3c1853f77533
[ "MIT" ]
1
2019-07-02T19:07:15.000Z
2019-07-02T19:07:15.000Z
vscvs/utils/path.py
fcoclavero/vscvs
27fab0bc62fb68da044cf6f2516e3c1853f77533
[ "MIT" ]
2
2019-10-23T18:05:37.000Z
2020-09-25T14:16:25.000Z
vscvs/utils/path.py
fcoclavero/vscvs
27fab0bc62fb68da044cf6f2516e3c1853f77533
[ "MIT" ]
null
null
null
__author__ = ["Francisco Clavero"] __email__ = ["fcoclavero32@gmail.com"] __status__ = "Prototype" """ Path handler. """ import os import shutil from datetime import datetime from vscvs.settings import CHECKPOINT_NAME_FORMAT from vscvs.settings import ROOT_DIR def get_path(*paths): """Get the path of a file...
25.516854
119
0.701453
308
2,271
5.038961
0.327922
0.022552
0.030928
0.029639
0.319588
0.319588
0.319588
0.319588
0.319588
0.260309
0
0.00169
0.218406
2,271
88
120
25.806818
0.872676
0.534126
0
0
0
0
0.084765
0.0252
0
0
0
0
0
1
0.263158
false
0
0.263158
0
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
43c833c872d65921ada8e3c10536a4fbc45a695a
678
py
Python
src/clims/migrations/0021_auto_20201110_0806.py
commonlims/commonlims
36a02ed244c7b59ee1f2523e64e4749e404ab0f7
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
src/clims/migrations/0021_auto_20201110_0806.py
commonlims/commonlims
36a02ed244c7b59ee1f2523e64e4749e404ab0f7
[ "BSD-3-Clause" ]
99
2019-05-20T14:16:33.000Z
2021-01-19T09:25:15.000Z
src/clims/migrations/0021_auto_20201110_0806.py
commonlims/commonlims
36a02ed244c7b59ee1f2523e64e4749e404ab0f7
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2020-11-10 08:06 from __future__ import unicode_literals from django.conf import settings from django.db import migrations import django.db.models.deletion import sentry.db.models.fields.foreignkey class Migration(migrations.Migration): dependencies = [ ...
28.25
185
0.69469
81
678
5.679012
0.617284
0.069565
0.06087
0.095652
0.130435
0
0
0
0
0
0
0.038321
0.19174
678
23
186
29.478261
0.801095
0.100295
0
0
1
0
0.074135
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
43d14d939b9c82d029e7b6175aec1be89456550d
75,226
py
Python
pysnmp/WYSE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/WYSE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/WYSE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module WYSE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WYSE-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:32:11 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:1...
140.347015
8,834
0.73246
9,316
75,226
5.914556
0.064298
0.012632
0.016116
0.020399
0.549002
0.533303
0.494973
0.485136
0.463521
0.412105
0
0.107061
0.088746
75,226
535
8,835
140.609346
0.696732
0.004121
0
0
0
0
0.103475
0.00239
0
0
0
0
0
1
0
false
0.026515
0.011364
0
0.011364
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
43d5ba18dada32e9f17e7195f9786c94db955fe4
1,324
py
Python
aes_ecb.py
tanupoo/lorawan-parser
5206a570be650ad3956b7a67f7a3fa244802a46b
[ "MIT" ]
3
2020-09-24T08:07:24.000Z
2021-12-30T02:40:51.000Z
aes_ecb.py
tanupoo/lorawan-parser
5206a570be650ad3956b7a67f7a3fa244802a46b
[ "MIT" ]
null
null
null
aes_ecb.py
tanupoo/lorawan-parser
5206a570be650ad3956b7a67f7a3fa244802a46b
[ "MIT" ]
1
2021-03-31T01:22:03.000Z
2021-03-31T01:22:03.000Z
# # a wrapper module for pycryptodome. # from Crypto.Cipher import AES class AES_ECB(): def __init__(self, key): """ key: 8 bytes of bytearray """ self.aes_ecb = AES.new(key, AES.MODE_ECB) def encrypt(self, data): """ data: any size of bytearray. expanded into 1...
24.981132
68
0.568731
186
1,324
3.897849
0.311828
0.049655
0.041379
0.030345
0.46069
0.46069
0.33931
0.33931
0.278621
0.278621
0
0.027263
0.307402
1,324
52
69
25.461538
0.763359
0.280967
0
0.272727
0
0
0.004848
0
0
0
0
0.019231
0
1
0.227273
false
0
0.045455
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
43ddb4c26f9437ccecebca8a585e26804aef4f1a
1,192
py
Python
mastering-flask/webapp/controllers/admin/__init__.py
zhchnchn/flask-repo
51aad8c9e80112d53a6455221bc94cc9a523e356
[ "Apache-2.0" ]
null
null
null
mastering-flask/webapp/controllers/admin/__init__.py
zhchnchn/flask-repo
51aad8c9e80112d53a6455221bc94cc9a523e356
[ "Apache-2.0" ]
null
null
null
mastering-flask/webapp/controllers/admin/__init__.py
zhchnchn/flask-repo
51aad8c9e80112d53a6455221bc94cc9a523e356
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from flask_admin import BaseView, expose from flask_admin.contrib.sqla import ModelView from flask_admin.contrib.fileadmin import FileAdmin from flask_login import login_required, current_user from ...extensions import admin_permission from .forms import CKTextAreaField class CustomView(BaseVi...
29.8
71
0.748322
144
1,192
5.965278
0.409722
0.087311
0.048894
0.048894
0.409779
0.293364
0.293364
0.293364
0.293364
0.167637
0
0.006938
0.153523
1,192
39
72
30.564103
0.8444
0.017617
0
0.275862
0
0
0.096664
0.01882
0
0
0
0
0
1
0.137931
false
0
0.206897
0.137931
0.793103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
43dff465b7cd67989ae57af385b438a9bf67ddce
558
py
Python
iadmin/shortcuts.py
saxix/django-iadmin
675317e8f0b4142eaf351595da27c065637a83ba
[ "BSD-1-Clause" ]
1
2015-06-23T09:24:12.000Z
2015-06-23T09:24:12.000Z
iadmin/shortcuts.py
saxix/django-iadmin
675317e8f0b4142eaf351595da27c065637a83ba
[ "BSD-1-Clause" ]
null
null
null
iadmin/shortcuts.py
saxix/django-iadmin
675317e8f0b4142eaf351595da27c065637a83ba
[ "BSD-1-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from guardian.admin import GuardedModelAdmin from iadmin.options import IModelAdmin, IModelAdminMixin class IGuardedModelAdmin(IModelAdminMixin, GuardedModelAdmin): change_form_template = 'iadmin/guardian/model/change_form.html' obj_perms_manage_template ='iadmin/guardian/model/obj_...
37.2
88
0.797491
69
558
6.115942
0.42029
0.113744
0.199052
0.255924
0.291469
0.291469
0.291469
0
0
0
0
0.002024
0.114695
558
14
89
39.857143
0.852227
0.103943
0
0
0
0
0.358871
0.358871
0
0
0
0
0
1
0
false
0
0.285714
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
0
0
0
2
78db5dd3de21bcde5ad6c34c0c3595232a4e33e2
311
py
Python
src/cmp/cool_lang/ast/binary_node.py
codestrange/cool-compiler-2020
30508965d75a1a1d1362d0b51bef8da3978fd0c2
[ "MIT" ]
3
2020-01-14T04:47:32.000Z
2020-09-10T17:57:20.000Z
src/cmp/cool_lang/ast/binary_node.py
codestrange/cool-compiler-2020
30508965d75a1a1d1362d0b51bef8da3978fd0c2
[ "MIT" ]
5
2020-01-14T06:06:35.000Z
2020-02-19T01:01:33.000Z
src/cmp/cool_lang/ast/binary_node.py
codestrange/cool-compiler-2020
30508965d75a1a1d1362d0b51bef8da3978fd0c2
[ "MIT" ]
3
2020-01-14T04:58:24.000Z
2020-01-14T16:23:41.000Z
from .expresion_node import ExpressionNode class BinaryNode(ExpressionNode): def __init__(self, left: ExpressionNode, right: ExpressionNode, line: int, column: int): super(BinaryNode, self).__init__(line, column) self.left: ExpressionNode = left self.right: ExpressionNode = right
34.555556
92
0.726688
33
311
6.575758
0.484848
0.073733
0.202765
0
0
0
0
0
0
0
0
0
0.18328
311
8
93
38.875
0.854331
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
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
0
0
0
0
0
0
0
0
0
2
78e1ab2a5fc5cc279195c6aeb608bab48268078c
1,703
py
Python
02-boggle-solver/python/trienode.py
SolangeUG/summer-of-code
93b47c0e0ca190d6d25f52584c6084a4feebf3b9
[ "Apache-2.0" ]
1
2018-08-17T11:30:19.000Z
2018-08-17T11:30:19.000Z
02-boggle-solver/python/trienode.py
SolangeUG/summer-of-code
93b47c0e0ca190d6d25f52584c6084a4feebf3b9
[ "Apache-2.0" ]
null
null
null
02-boggle-solver/python/trienode.py
SolangeUG/summer-of-code
93b47c0e0ca190d6d25f52584c6084a4feebf3b9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 class TrieNode(object): """ This class represents a node in a trie """ def __init__(self, text: str): """ Constructor: initialize a trie node with a given text string :param text: text string at this trie node """ self.__text = text ...
30.410714
98
0.588961
229
1,703
4.213974
0.296943
0.066321
0.049741
0.040415
0.05285
0
0
0
0
0
0
0.00089
0.340575
1,703
55
99
30.963636
0.858415
0.446858
0
0.190476
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
78e391e916d86d9e9f369d5ae195a6910458d4e2
230
py
Python
src/erpbrasil/edoc/pdf/__init__.py
rcbull/erpbrasil.edoc.pdf
9cea84efc1e3d0a2060753e4eecefffed97c77df
[ "MIT" ]
null
null
null
src/erpbrasil/edoc/pdf/__init__.py
rcbull/erpbrasil.edoc.pdf
9cea84efc1e3d0a2060753e4eecefffed97c77df
[ "MIT" ]
null
null
null
src/erpbrasil/edoc/pdf/__init__.py
rcbull/erpbrasil.edoc.pdf
9cea84efc1e3d0a2060753e4eecefffed97c77df
[ "MIT" ]
null
null
null
from lxml import etree from lxml import objectify __version__ = '0.1.1' lookup = etree.ElementNamespaceClassLookup( objectify.ObjectifyElementClassLookup()) parser = etree.XMLParser() parser.set_element_class_lookup(lookup)
23
44
0.808696
26
230
6.884615
0.615385
0.089385
0.156425
0
0
0
0
0
0
0
0
0.014634
0.108696
230
9
45
25.555556
0.858537
0
0
0
0
0
0.021739
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
600315aec52564237a9f33d04fe65f9de659ab4d
3,214
py
Python
pip_services3_components/count/ICounters.py
pip-services-python/pip-services-components-python
428ec7a9f0f0bdfa4d39cecb2541e87b1e5d33e0
[ "MIT" ]
null
null
null
pip_services3_components/count/ICounters.py
pip-services-python/pip-services-components-python
428ec7a9f0f0bdfa4d39cecb2541e87b1e5d33e0
[ "MIT" ]
null
null
null
pip_services3_components/count/ICounters.py
pip-services-python/pip-services-components-python
428ec7a9f0f0bdfa4d39cecb2541e87b1e5d33e0
[ "MIT" ]
1
2020-03-11T21:46:42.000Z
2020-03-11T21:46:42.000Z
# -*- coding: utf-8 -*- """ pip_services3_components.counters.ICounters ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Interface for performance counters components. :copyright: Conceptual Vision Consulting LLC 2018-2019, see AUTHORS for more details. :license: MIT, see LICENSE for more details. ...
33.831579
135
0.666459
373
3,214
5.710456
0.340483
0.026291
0.03615
0.055869
0.430516
0.400939
0.324883
0.2723
0.102347
0
0
0.005809
0.250156
3,214
94
136
34.191489
0.878008
0.573118
0
0.388889
0
0
0.21875
0
0
0
0
0
0
1
0.388889
false
0
0.166667
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2